@livechat/platform-workflows 0.1.2 → 0.1.4
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.
- package/dist/index.d.mts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +183 -184
- package/dist/index.mjs +183 -183
- package/package.json +5 -5
package/dist/index.mjs
CHANGED
|
@@ -3019,7 +3019,7 @@ var bigCommerceTaskConfigs = () => ({
|
|
|
3019
3019
|
key: "BIGCOMMERCE_CREATE_BLOG_POST" /* CreateBlogPost */,
|
|
3020
3020
|
type: WorkflowDefinitionTaskType2.http,
|
|
3021
3021
|
url: `${getWorkflowsEnv(
|
|
3022
|
-
"
|
|
3022
|
+
"workflowsFunctionsUrl"
|
|
3023
3023
|
)}/functions/create-bigcommerce-blog-post`,
|
|
3024
3024
|
customization: {
|
|
3025
3025
|
provider: IntegrationNames2.BigCommerce,
|
|
@@ -3143,7 +3143,7 @@ var bigCommerceTaskConfigs = () => ({
|
|
|
3143
3143
|
key: "BIGCOMMERCE_CREATE_CUSTOMER" /* CreateCustomer */,
|
|
3144
3144
|
type: WorkflowDefinitionTaskType2.http,
|
|
3145
3145
|
url: `${getWorkflowsEnv(
|
|
3146
|
-
"
|
|
3146
|
+
"workflowsFunctionsUrl"
|
|
3147
3147
|
)}/functions/create-bigcommerce-customer`,
|
|
3148
3148
|
customization: {
|
|
3149
3149
|
provider: IntegrationNames2.BigCommerce,
|
|
@@ -3177,7 +3177,7 @@ var bigCommerceTaskConfigs = () => ({
|
|
|
3177
3177
|
key: "BIGCOMMERCE_UPDATE_CUSTOMER" /* UpdateCustomer */,
|
|
3178
3178
|
type: WorkflowDefinitionTaskType2.http,
|
|
3179
3179
|
url: `${getWorkflowsEnv(
|
|
3180
|
-
"
|
|
3180
|
+
"workflowsFunctionsUrl"
|
|
3181
3181
|
)}/functions/update-bigcommerce-customer`,
|
|
3182
3182
|
customization: {
|
|
3183
3183
|
provider: IntegrationNames2.BigCommerce,
|
|
@@ -3209,7 +3209,7 @@ var bigCommerceTaskConfigs = () => ({
|
|
|
3209
3209
|
key: "BIGCOMMERCE_CREATE_PRODUCT" /* CreateProduct */,
|
|
3210
3210
|
type: WorkflowDefinitionTaskType2.http,
|
|
3211
3211
|
url: `${getWorkflowsEnv(
|
|
3212
|
-
"
|
|
3212
|
+
"workflowsFunctionsUrl"
|
|
3213
3213
|
)}/functions/create-bigcommerce-product`,
|
|
3214
3214
|
customization: {
|
|
3215
3215
|
provider: IntegrationNames2.BigCommerce,
|
|
@@ -3240,7 +3240,7 @@ var bigCommerceTaskConfigs = () => ({
|
|
|
3240
3240
|
key: "BIGCOMMERCE_CREATE_CUSTOMER_ADDRESS" /* CreateCustomerAddress */,
|
|
3241
3241
|
type: WorkflowDefinitionTaskType2.http,
|
|
3242
3242
|
url: `${getWorkflowsEnv(
|
|
3243
|
-
"
|
|
3243
|
+
"workflowsFunctionsUrl"
|
|
3244
3244
|
)}/functions/create-bigcommerce-customer-address`,
|
|
3245
3245
|
customization: {
|
|
3246
3246
|
provider: IntegrationNames2.BigCommerce,
|
|
@@ -3286,7 +3286,7 @@ var bigCommerceTaskConfigs = () => ({
|
|
|
3286
3286
|
key: "BIGCOMMERCE_GET_CUSTOMER" /* GetCustomer */,
|
|
3287
3287
|
type: WorkflowDefinitionTaskType2.http,
|
|
3288
3288
|
url: `${getWorkflowsEnv(
|
|
3289
|
-
"
|
|
3289
|
+
"workflowsFunctionsUrl"
|
|
3290
3290
|
)}/functions/get-bigcommerce-customer`,
|
|
3291
3291
|
customization: {
|
|
3292
3292
|
provider: IntegrationNames2.BigCommerce,
|
|
@@ -3320,7 +3320,7 @@ var bigCommerceTaskConfigs = () => ({
|
|
|
3320
3320
|
key: "BIGCOMMERCE_GET_CUSTOMER_ADDRESSES" /* GetCustomerAddresses */,
|
|
3321
3321
|
type: WorkflowDefinitionTaskType2.http,
|
|
3322
3322
|
url: `${getWorkflowsEnv(
|
|
3323
|
-
"
|
|
3323
|
+
"workflowsFunctionsUrl"
|
|
3324
3324
|
)}/functions/get-bigcommerce-customer-address`,
|
|
3325
3325
|
customization: {
|
|
3326
3326
|
provider: IntegrationNames2.BigCommerce,
|
|
@@ -3353,7 +3353,7 @@ var bigCommerceTaskConfigs = () => ({
|
|
|
3353
3353
|
key: "BIGCOMMERCE_GET_PRODUCTS" /* GetProducts */,
|
|
3354
3354
|
type: WorkflowDefinitionTaskType2.http,
|
|
3355
3355
|
url: `${getWorkflowsEnv(
|
|
3356
|
-
"
|
|
3356
|
+
"workflowsFunctionsUrl"
|
|
3357
3357
|
)}/functions/get-bigcommerce-products`,
|
|
3358
3358
|
customization: {
|
|
3359
3359
|
provider: IntegrationNames2.BigCommerce,
|
|
@@ -3380,7 +3380,7 @@ var bigCommerceTaskTemplates = () => ({
|
|
|
3380
3380
|
inputParameters: __spreadProps(__spreadValues({}, workflowHttpTask.inputParameters), {
|
|
3381
3381
|
http_request: __spreadProps(__spreadValues({}, workflowHttpTask.inputParameters.http_request), {
|
|
3382
3382
|
uri: `${getWorkflowsEnv(
|
|
3383
|
-
"
|
|
3383
|
+
"workflowsFunctionsUrl"
|
|
3384
3384
|
)}/functions/create-bigcommerce-blog-post`,
|
|
3385
3385
|
method: "POST",
|
|
3386
3386
|
body: {
|
|
@@ -3401,7 +3401,7 @@ var bigCommerceTaskTemplates = () => ({
|
|
|
3401
3401
|
inputParameters: __spreadProps(__spreadValues({}, workflowHttpTask.inputParameters), {
|
|
3402
3402
|
http_request: __spreadProps(__spreadValues({}, workflowHttpTask.inputParameters.http_request), {
|
|
3403
3403
|
uri: `${getWorkflowsEnv(
|
|
3404
|
-
"
|
|
3404
|
+
"workflowsFunctionsUrl"
|
|
3405
3405
|
)}/functions/create-bigcommerce-customer`,
|
|
3406
3406
|
method: "POST",
|
|
3407
3407
|
body: {
|
|
@@ -3423,7 +3423,7 @@ var bigCommerceTaskTemplates = () => ({
|
|
|
3423
3423
|
inputParameters: __spreadProps(__spreadValues({}, workflowHttpTask.inputParameters), {
|
|
3424
3424
|
http_request: __spreadProps(__spreadValues({}, workflowHttpTask.inputParameters.http_request), {
|
|
3425
3425
|
uri: `${getWorkflowsEnv(
|
|
3426
|
-
"
|
|
3426
|
+
"workflowsFunctionsUrl"
|
|
3427
3427
|
)}/functions/update-bigcommerce-customer`,
|
|
3428
3428
|
method: "PATCH",
|
|
3429
3429
|
body: {
|
|
@@ -3443,7 +3443,7 @@ var bigCommerceTaskTemplates = () => ({
|
|
|
3443
3443
|
inputParameters: __spreadProps(__spreadValues({}, workflowHttpTask.inputParameters), {
|
|
3444
3444
|
http_request: __spreadProps(__spreadValues({}, workflowHttpTask.inputParameters.http_request), {
|
|
3445
3445
|
uri: `${getWorkflowsEnv(
|
|
3446
|
-
"
|
|
3446
|
+
"workflowsFunctionsUrl"
|
|
3447
3447
|
)}/functions/create-bigcommerce-product`,
|
|
3448
3448
|
method: "POST",
|
|
3449
3449
|
body: {
|
|
@@ -3466,7 +3466,7 @@ var bigCommerceTaskTemplates = () => ({
|
|
|
3466
3466
|
inputParameters: __spreadProps(__spreadValues({}, workflowHttpTask.inputParameters), {
|
|
3467
3467
|
http_request: __spreadProps(__spreadValues({}, workflowHttpTask.inputParameters.http_request), {
|
|
3468
3468
|
uri: `${getWorkflowsEnv(
|
|
3469
|
-
"
|
|
3469
|
+
"workflowsFunctionsUrl"
|
|
3470
3470
|
)}/functions/create-bigcommerce-customer-address`,
|
|
3471
3471
|
method: "POST",
|
|
3472
3472
|
body: {
|
|
@@ -3496,7 +3496,7 @@ var bigCommerceTaskTemplates = () => ({
|
|
|
3496
3496
|
inputParameters: __spreadProps(__spreadValues({}, workflowHttpTask.inputParameters), {
|
|
3497
3497
|
http_request: __spreadProps(__spreadValues({}, workflowHttpTask.inputParameters.http_request), {
|
|
3498
3498
|
uri: `${getWorkflowsEnv(
|
|
3499
|
-
"
|
|
3499
|
+
"workflowsFunctionsUrl"
|
|
3500
3500
|
)}/functions/get-bigcommerce-customer?customer_id=#{customer_id}&customer_email=#{customer_email}`,
|
|
3501
3501
|
method: "GET",
|
|
3502
3502
|
headers: {
|
|
@@ -3513,7 +3513,7 @@ var bigCommerceTaskTemplates = () => ({
|
|
|
3513
3513
|
inputParameters: __spreadProps(__spreadValues({}, workflowHttpTask.inputParameters), {
|
|
3514
3514
|
http_request: __spreadProps(__spreadValues({}, workflowHttpTask.inputParameters.http_request), {
|
|
3515
3515
|
uri: `${getWorkflowsEnv(
|
|
3516
|
-
"
|
|
3516
|
+
"workflowsFunctionsUrl"
|
|
3517
3517
|
)}/functions/get-bigcommerce-customer-addresses?customer_id=#{customer_id}`,
|
|
3518
3518
|
method: "GET",
|
|
3519
3519
|
headers: {
|
|
@@ -3530,7 +3530,7 @@ var bigCommerceTaskTemplates = () => ({
|
|
|
3530
3530
|
inputParameters: __spreadProps(__spreadValues({}, workflowHttpTask.inputParameters), {
|
|
3531
3531
|
http_request: __spreadProps(__spreadValues({}, workflowHttpTask.inputParameters.http_request), {
|
|
3532
3532
|
uri: `${getWorkflowsEnv(
|
|
3533
|
-
"
|
|
3533
|
+
"workflowsFunctionsUrl"
|
|
3534
3534
|
)}/functions/get-bigcommerce-products?limit=200&page=1`,
|
|
3535
3535
|
method: "GET",
|
|
3536
3536
|
headers: {
|
|
@@ -4022,7 +4022,7 @@ var helpdeskTaskConfigs = () => ({
|
|
|
4022
4022
|
key: "HELPDESK_ADD_FOLLOWERS_TO_TICKET" /* AddFollowersToTicket */,
|
|
4023
4023
|
type: WorkflowDefinitionTaskType3.http,
|
|
4024
4024
|
url: `${getWorkflowsEnv(
|
|
4025
|
-
"
|
|
4025
|
+
"workflowsFunctionsUrl"
|
|
4026
4026
|
)}/functions/add-followers-to-helpdesk-ticket`,
|
|
4027
4027
|
customization: {
|
|
4028
4028
|
provider: IntegrationNames3.HelpDesk,
|
|
@@ -4065,7 +4065,7 @@ var helpdeskTaskConfigs = () => ({
|
|
|
4065
4065
|
key: "HELPDESK_ADD_TAGS_TO_TICKET" /* AddTagsToTicket */,
|
|
4066
4066
|
type: WorkflowDefinitionTaskType3.http,
|
|
4067
4067
|
url: `${getWorkflowsEnv(
|
|
4068
|
-
"
|
|
4068
|
+
"workflowsFunctionsUrl"
|
|
4069
4069
|
)}/functions/add-tags-to-helpdesk-ticket`,
|
|
4070
4070
|
customization: {
|
|
4071
4071
|
provider: IntegrationNames3.HelpDesk,
|
|
@@ -4107,7 +4107,7 @@ var helpdeskTaskConfigs = () => ({
|
|
|
4107
4107
|
key: "HELPDESK_CREATE_TICKET" /* CreateTicket */,
|
|
4108
4108
|
type: WorkflowDefinitionTaskType3.http,
|
|
4109
4109
|
url: `${getWorkflowsEnv(
|
|
4110
|
-
"
|
|
4110
|
+
"workflowsFunctionsUrl"
|
|
4111
4111
|
)}/functions/create-helpdesk-ticket`,
|
|
4112
4112
|
customization: {
|
|
4113
4113
|
provider: IntegrationNames3.HelpDesk,
|
|
@@ -4129,7 +4129,7 @@ var helpdeskTaskConfigs = () => ({
|
|
|
4129
4129
|
type: WorkflowDefinitionTaskType3.http,
|
|
4130
4130
|
key: "HELPDESK_CREATE_TRANSACTION" /* CreateTransaction */,
|
|
4131
4131
|
url: `${getWorkflowsEnv(
|
|
4132
|
-
"
|
|
4132
|
+
"workflowsFunctionsUrl"
|
|
4133
4133
|
)}/functions/create-helpdesk-transaction`,
|
|
4134
4134
|
customization: {
|
|
4135
4135
|
provider: IntegrationNames3.HelpDesk,
|
|
@@ -4214,7 +4214,7 @@ var helpdeskTaskConfigs = () => ({
|
|
|
4214
4214
|
["HELPDESK_FIND_TICKET" /* FindTicket */]: {
|
|
4215
4215
|
key: "HELPDESK_FIND_TICKET" /* FindTicket */,
|
|
4216
4216
|
type: WorkflowDefinitionTaskType3.http,
|
|
4217
|
-
url: `${getWorkflowsEnv("
|
|
4217
|
+
url: `${getWorkflowsEnv("workflowsFunctionsUrl")}/functions/find-helpdesk-ticket`,
|
|
4218
4218
|
customization: {
|
|
4219
4219
|
provider: IntegrationNames3.HelpDesk,
|
|
4220
4220
|
product: IntegrationDisplayNames2.HelpDesk,
|
|
@@ -4239,7 +4239,7 @@ var helpdeskTaskConfigs = () => ({
|
|
|
4239
4239
|
key: "HELPDESK_UPDATE_TICKET" /* UpdateTicket */,
|
|
4240
4240
|
type: WorkflowDefinitionTaskType3.http,
|
|
4241
4241
|
url: `${getWorkflowsEnv(
|
|
4242
|
-
"
|
|
4242
|
+
"workflowsFunctionsUrl"
|
|
4243
4243
|
)}/functions/update-helpdesk-ticket`,
|
|
4244
4244
|
customization: {
|
|
4245
4245
|
provider: IntegrationNames3.HelpDesk,
|
|
@@ -4276,7 +4276,7 @@ var helpdeskTaskTemplates = () => ({
|
|
|
4276
4276
|
inputParameters: __spreadProps(__spreadValues({}, workflowHttpTask.inputParameters), {
|
|
4277
4277
|
http_request: __spreadProps(__spreadValues({}, workflowHttpTask.inputParameters.http_request), {
|
|
4278
4278
|
uri: `${getWorkflowsEnv(
|
|
4279
|
-
"
|
|
4279
|
+
"workflowsFunctionsUrl"
|
|
4280
4280
|
)}/functions/create-helpdesk-ticket`,
|
|
4281
4281
|
method: "POST",
|
|
4282
4282
|
body: {
|
|
@@ -4302,7 +4302,7 @@ var helpdeskTaskTemplates = () => ({
|
|
|
4302
4302
|
inputParameters: __spreadProps(__spreadValues({}, workflowHttpTask.inputParameters), {
|
|
4303
4303
|
http_request: __spreadProps(__spreadValues({}, workflowHttpTask.inputParameters.http_request), {
|
|
4304
4304
|
uri: `${getWorkflowsEnv(
|
|
4305
|
-
"
|
|
4305
|
+
"workflowsFunctionsUrl"
|
|
4306
4306
|
)}/functions/update-helpdesk-ticket?id=#{ticket_id}`,
|
|
4307
4307
|
method: "PATCH",
|
|
4308
4308
|
headers: {
|
|
@@ -4318,7 +4318,7 @@ var helpdeskTaskTemplates = () => ({
|
|
|
4318
4318
|
inputParameters: __spreadProps(__spreadValues({}, workflowHttpTask.inputParameters), {
|
|
4319
4319
|
http_request: __spreadProps(__spreadValues({}, workflowHttpTask.inputParameters.http_request), {
|
|
4320
4320
|
uri: `${getWorkflowsEnv(
|
|
4321
|
-
"
|
|
4321
|
+
"workflowsFunctionsUrl"
|
|
4322
4322
|
)}/functions/add-followers-to-helpdesk-ticket?id=#{ticket_id}`,
|
|
4323
4323
|
method: "POST",
|
|
4324
4324
|
body: {
|
|
@@ -4337,7 +4337,7 @@ var helpdeskTaskTemplates = () => ({
|
|
|
4337
4337
|
inputParameters: __spreadProps(__spreadValues({}, workflowHttpTask.inputParameters), {
|
|
4338
4338
|
http_request: __spreadProps(__spreadValues({}, workflowHttpTask.inputParameters.http_request), {
|
|
4339
4339
|
uri: `${getWorkflowsEnv(
|
|
4340
|
-
"
|
|
4340
|
+
"workflowsFunctionsUrl"
|
|
4341
4341
|
)}/functions/add-tags-to-helpdesk-ticket?id=#{ticket_id}`,
|
|
4342
4342
|
method: "POST",
|
|
4343
4343
|
body: {
|
|
@@ -4356,7 +4356,7 @@ var helpdeskTaskTemplates = () => ({
|
|
|
4356
4356
|
inputParameters: __spreadProps(__spreadValues({}, workflowHttpTask.inputParameters), {
|
|
4357
4357
|
http_request: __spreadProps(__spreadValues({}, workflowHttpTask.inputParameters.http_request), {
|
|
4358
4358
|
uri: `${getWorkflowsEnv(
|
|
4359
|
-
"
|
|
4359
|
+
"workflowsFunctionsUrl"
|
|
4360
4360
|
)}/functions/create-helpdesk-transaction`,
|
|
4361
4361
|
method: "POST",
|
|
4362
4362
|
body: {
|
|
@@ -4376,7 +4376,7 @@ var helpdeskTaskTemplates = () => ({
|
|
|
4376
4376
|
inputParameters: __spreadProps(__spreadValues({}, workflowHttpTask.inputParameters), {
|
|
4377
4377
|
http_request: __spreadProps(__spreadValues({}, workflowHttpTask.inputParameters.http_request), {
|
|
4378
4378
|
uri: `${getWorkflowsEnv(
|
|
4379
|
-
"
|
|
4379
|
+
"workflowsFunctionsUrl"
|
|
4380
4380
|
)}/functions/find-helpdesk-ticket?id=#{ticket_id}`,
|
|
4381
4381
|
method: "GET",
|
|
4382
4382
|
headers: {
|
|
@@ -4663,7 +4663,7 @@ var hubspotTaskConfigs = () => ({
|
|
|
4663
4663
|
key: "HUBSPOT_CREATE_CONTACT" /* CreateContact */,
|
|
4664
4664
|
type: WorkflowDefinitionTaskType4.http,
|
|
4665
4665
|
url: `${getWorkflowsEnv(
|
|
4666
|
-
"
|
|
4666
|
+
"workflowsFunctionsUrl"
|
|
4667
4667
|
)}/functions/create-hubspot-contact`,
|
|
4668
4668
|
customization: {
|
|
4669
4669
|
provider: IntegrationNames4.HubSpot,
|
|
@@ -4688,7 +4688,7 @@ var hubspotTaskConfigs = () => ({
|
|
|
4688
4688
|
// [HubSpotTaskNames.DeleteContact]: {
|
|
4689
4689
|
// key: HubSpotTaskNames.DeleteContact,
|
|
4690
4690
|
// type: WorkflowDefinitionTaskType.http,
|
|
4691
|
-
// url: `${getWorkflowsEnv("
|
|
4691
|
+
// url: `${getWorkflowsEnv("workflowsFunctionsUrl")}/functions/delete-hubspot-contact`,
|
|
4692
4692
|
// customization: {
|
|
4693
4693
|
// provider: IntegrationNames.HubSpot,
|
|
4694
4694
|
// product: IntegrationDisplayNames.HubSpot,
|
|
@@ -4712,7 +4712,7 @@ var hubspotTaskConfigs = () => ({
|
|
|
4712
4712
|
["HUBSPOT_GET_CONTACT" /* GetContact */]: {
|
|
4713
4713
|
key: "HUBSPOT_GET_CONTACT" /* GetContact */,
|
|
4714
4714
|
type: WorkflowDefinitionTaskType4.http,
|
|
4715
|
-
url: `${getWorkflowsEnv("
|
|
4715
|
+
url: `${getWorkflowsEnv("workflowsFunctionsUrl")}/functions/get-hubspot-contact`,
|
|
4716
4716
|
customization: {
|
|
4717
4717
|
provider: IntegrationNames4.HubSpot,
|
|
4718
4718
|
product: IntegrationDisplayNames3.HubSpot,
|
|
@@ -4741,7 +4741,7 @@ var hubspotTaskConfigs = () => ({
|
|
|
4741
4741
|
key: "HUBSPOT_UPDATE_CONTACT" /* UpdateContact */,
|
|
4742
4742
|
type: WorkflowDefinitionTaskType4.http,
|
|
4743
4743
|
url: `${getWorkflowsEnv(
|
|
4744
|
-
"
|
|
4744
|
+
"workflowsFunctionsUrl"
|
|
4745
4745
|
)}/functions/update-hubspot-contact`,
|
|
4746
4746
|
customization: {
|
|
4747
4747
|
provider: IntegrationNames4.HubSpot,
|
|
@@ -4782,7 +4782,7 @@ var hubspotTaskTemplates = () => ({
|
|
|
4782
4782
|
inputParameters: __spreadProps(__spreadValues({}, workflowHttpTask.inputParameters), {
|
|
4783
4783
|
http_request: __spreadProps(__spreadValues({}, workflowHttpTask.inputParameters.http_request), {
|
|
4784
4784
|
uri: `${getWorkflowsEnv(
|
|
4785
|
-
"
|
|
4785
|
+
"workflowsFunctionsUrl"
|
|
4786
4786
|
)}/functions/create-hubspot-contact`,
|
|
4787
4787
|
method: "POST",
|
|
4788
4788
|
body: {
|
|
@@ -4807,7 +4807,7 @@ var hubspotTaskTemplates = () => ({
|
|
|
4807
4807
|
// ...workflowHttpTask.inputParameters,
|
|
4808
4808
|
// http_request: {
|
|
4809
4809
|
// ...workflowHttpTask.inputParameters.http_request,
|
|
4810
|
-
// uri: `${getWorkflowsEnv("
|
|
4810
|
+
// uri: `${getWorkflowsEnv("workflowsFunctionsUrl")}/functions/delete-hubspot-contact?contactId=#{contactId}`,
|
|
4811
4811
|
// method: 'DELETE',
|
|
4812
4812
|
// headers: {
|
|
4813
4813
|
// Accept: 'application/json',
|
|
@@ -4822,7 +4822,7 @@ var hubspotTaskTemplates = () => ({
|
|
|
4822
4822
|
inputParameters: __spreadProps(__spreadValues({}, workflowHttpTask.inputParameters), {
|
|
4823
4823
|
http_request: __spreadProps(__spreadValues({}, workflowHttpTask.inputParameters.http_request), {
|
|
4824
4824
|
uri: `${getWorkflowsEnv(
|
|
4825
|
-
"
|
|
4825
|
+
"workflowsFunctionsUrl"
|
|
4826
4826
|
)}/functions/get-hubspot-contact?contactId=#{contactId}`,
|
|
4827
4827
|
method: "GET",
|
|
4828
4828
|
headers: {
|
|
@@ -4838,7 +4838,7 @@ var hubspotTaskTemplates = () => ({
|
|
|
4838
4838
|
inputParameters: __spreadProps(__spreadValues({}, workflowHttpTask.inputParameters), {
|
|
4839
4839
|
http_request: __spreadProps(__spreadValues({}, workflowHttpTask.inputParameters.http_request), {
|
|
4840
4840
|
uri: `${getWorkflowsEnv(
|
|
4841
|
-
"
|
|
4841
|
+
"workflowsFunctionsUrl"
|
|
4842
4842
|
)}/functions/update-hubspot-contact?contactId=#{contactId}`,
|
|
4843
4843
|
method: "PATCH",
|
|
4844
4844
|
body: {
|
|
@@ -5507,7 +5507,7 @@ var livechatTaskConfigs = () => ({
|
|
|
5507
5507
|
key: "LIVECHAT_TRANSFER_CHAT" /* TransferChat */,
|
|
5508
5508
|
type: WorkflowDefinitionTaskType5.http,
|
|
5509
5509
|
url: `${getWorkflowsEnv(
|
|
5510
|
-
"
|
|
5510
|
+
"workflowsFunctionsUrl"
|
|
5511
5511
|
)}/functions/transfer-livechat-chat`,
|
|
5512
5512
|
customization: {
|
|
5513
5513
|
provider: IntegrationNames5.LiveChat,
|
|
@@ -5576,7 +5576,7 @@ var livechatTaskConfigs = () => ({
|
|
|
5576
5576
|
["LIVECHAT_TAG_CHAT" /* TagChat */]: {
|
|
5577
5577
|
key: "LIVECHAT_TAG_CHAT" /* TagChat */,
|
|
5578
5578
|
type: WorkflowDefinitionTaskType5.http,
|
|
5579
|
-
url: `${getWorkflowsEnv("
|
|
5579
|
+
url: `${getWorkflowsEnv("workflowsFunctionsUrl")}/functions/tag-livechat-chat`,
|
|
5580
5580
|
customization: {
|
|
5581
5581
|
provider: IntegrationNames5.LiveChat,
|
|
5582
5582
|
product: IntegrationDisplayNames4.LiveChat,
|
|
@@ -5608,7 +5608,7 @@ var livechatTaskConfigs = () => ({
|
|
|
5608
5608
|
key: "LIVECHAT_CHAT_TRANSCRIPT" /* GetChatTranscript */,
|
|
5609
5609
|
type: WorkflowDefinitionTaskType5.http,
|
|
5610
5610
|
url: `${getWorkflowsEnv(
|
|
5611
|
-
"
|
|
5611
|
+
"workflowsFunctionsUrl"
|
|
5612
5612
|
)}/functions/get-livechat-chat-transcript`,
|
|
5613
5613
|
customization: {
|
|
5614
5614
|
provider: IntegrationNames5.LiveChat,
|
|
@@ -5655,7 +5655,7 @@ var livechatTaskConfigs = () => ({
|
|
|
5655
5655
|
key: "LIVECHAT_SEND_MESSAGE" /* SendMessage */,
|
|
5656
5656
|
type: WorkflowDefinitionTaskType5.http,
|
|
5657
5657
|
url: `${getWorkflowsEnv(
|
|
5658
|
-
"
|
|
5658
|
+
"workflowsFunctionsUrl"
|
|
5659
5659
|
)}/functions/send-livechat-agent-message`,
|
|
5660
5660
|
customization: {
|
|
5661
5661
|
provider: IntegrationNames5.LiveChat,
|
|
@@ -5693,7 +5693,7 @@ var livechatTaskConfigs = () => ({
|
|
|
5693
5693
|
key: "LIVECHAT_SUPERVISE_CHAT" /* SuperviseChat */,
|
|
5694
5694
|
type: WorkflowDefinitionTaskType5.http,
|
|
5695
5695
|
url: `${getWorkflowsEnv(
|
|
5696
|
-
"
|
|
5696
|
+
"workflowsFunctionsUrl"
|
|
5697
5697
|
)}/functions/supervise-livechat-chat`,
|
|
5698
5698
|
customization: {
|
|
5699
5699
|
provider: IntegrationNames5.LiveChat,
|
|
@@ -5724,7 +5724,7 @@ var livechatTaskTemplates = () => ({
|
|
|
5724
5724
|
taskReferenceName: "livechat_tag_chat",
|
|
5725
5725
|
inputParameters: __spreadProps(__spreadValues({}, workflowHttpTask.inputParameters), {
|
|
5726
5726
|
http_request: __spreadProps(__spreadValues({}, workflowHttpTask.inputParameters.http_request), {
|
|
5727
|
-
uri: `${getWorkflowsEnv("
|
|
5727
|
+
uri: `${getWorkflowsEnv("workflowsFunctionsUrl")}/functions/tag-livechat-chat`,
|
|
5728
5728
|
method: "POST",
|
|
5729
5729
|
body: {
|
|
5730
5730
|
chat_id: "#{chat_id}",
|
|
@@ -5744,7 +5744,7 @@ var livechatTaskTemplates = () => ({
|
|
|
5744
5744
|
inputParameters: __spreadProps(__spreadValues({}, workflowHttpTask.inputParameters), {
|
|
5745
5745
|
http_request: __spreadProps(__spreadValues({}, workflowHttpTask.inputParameters.http_request), {
|
|
5746
5746
|
uri: `${getWorkflowsEnv(
|
|
5747
|
-
"
|
|
5747
|
+
"workflowsFunctionsUrl"
|
|
5748
5748
|
)}/functions/transfer-livechat-chat`,
|
|
5749
5749
|
method: "POST",
|
|
5750
5750
|
body: {
|
|
@@ -5765,7 +5765,7 @@ var livechatTaskTemplates = () => ({
|
|
|
5765
5765
|
inputParameters: __spreadProps(__spreadValues({}, workflowHttpTask.inputParameters), {
|
|
5766
5766
|
http_request: __spreadProps(__spreadValues({}, workflowHttpTask.inputParameters.http_request), {
|
|
5767
5767
|
uri: `${getWorkflowsEnv(
|
|
5768
|
-
"
|
|
5768
|
+
"workflowsFunctionsUrl"
|
|
5769
5769
|
)}/functions/get-livechat-chat-transcript?chat_id=#{chat_id}`,
|
|
5770
5770
|
method: "GET",
|
|
5771
5771
|
headers: {
|
|
@@ -5781,7 +5781,7 @@ var livechatTaskTemplates = () => ({
|
|
|
5781
5781
|
inputParameters: __spreadProps(__spreadValues({}, workflowHttpTask.inputParameters), {
|
|
5782
5782
|
http_request: __spreadProps(__spreadValues({}, workflowHttpTask.inputParameters.http_request), {
|
|
5783
5783
|
uri: `${getWorkflowsEnv(
|
|
5784
|
-
"
|
|
5784
|
+
"workflowsFunctionsUrl"
|
|
5785
5785
|
)}/functions/send-livechat-agent-message`,
|
|
5786
5786
|
method: "POST",
|
|
5787
5787
|
body: {
|
|
@@ -5802,7 +5802,7 @@ var livechatTaskTemplates = () => ({
|
|
|
5802
5802
|
inputParameters: __spreadProps(__spreadValues({}, workflowHttpTask.inputParameters), {
|
|
5803
5803
|
http_request: __spreadProps(__spreadValues({}, workflowHttpTask.inputParameters.http_request), {
|
|
5804
5804
|
uri: `${getWorkflowsEnv(
|
|
5805
|
-
"
|
|
5805
|
+
"workflowsFunctionsUrl"
|
|
5806
5806
|
)}/functions/supervise-livechat-chat`,
|
|
5807
5807
|
method: "POST",
|
|
5808
5808
|
body: {
|
|
@@ -6292,7 +6292,7 @@ var mailchimpTaskConfigs = () => ({
|
|
|
6292
6292
|
key: "MAILCHIMP_ADD_SUBSCRIBER" /* AddSubscriber */,
|
|
6293
6293
|
type: WorkflowDefinitionTaskType6.http,
|
|
6294
6294
|
url: `${getWorkflowsEnv(
|
|
6295
|
-
"
|
|
6295
|
+
"workflowsFunctionsUrl"
|
|
6296
6296
|
)}/functions/add-mailchimp-subscriber`,
|
|
6297
6297
|
customization: {
|
|
6298
6298
|
provider: IntegrationNames6.Mailchimp,
|
|
@@ -6333,7 +6333,7 @@ var mailchimpTaskConfigs = () => ({
|
|
|
6333
6333
|
key: "MAILCHIMP_ADD_CAMPAIGN" /* AddCampaign */,
|
|
6334
6334
|
type: WorkflowDefinitionTaskType6.http,
|
|
6335
6335
|
url: `${getWorkflowsEnv(
|
|
6336
|
-
"
|
|
6336
|
+
"workflowsFunctionsUrl"
|
|
6337
6337
|
)}/functions/add-mailchimp-campaign`,
|
|
6338
6338
|
customization: {
|
|
6339
6339
|
provider: IntegrationNames6.Mailchimp,
|
|
@@ -6376,7 +6376,7 @@ var mailchimpTaskConfigs = () => ({
|
|
|
6376
6376
|
key: "MAILCHIMP_SEND_CAMPAIGN" /* SendCampaign */,
|
|
6377
6377
|
type: WorkflowDefinitionTaskType6.http,
|
|
6378
6378
|
url: `${getWorkflowsEnv(
|
|
6379
|
-
"
|
|
6379
|
+
"workflowsFunctionsUrl"
|
|
6380
6380
|
)}/functions/send-mailchimp-campaign`,
|
|
6381
6381
|
customization: {
|
|
6382
6382
|
provider: IntegrationNames6.Mailchimp,
|
|
@@ -6405,7 +6405,7 @@ var mailchimpTaskConfigs = () => ({
|
|
|
6405
6405
|
key: "MAILCHIMP_ADD_OR_UPDATE_SUBSCRIBER" /* AddOrUpdateSubscriber */,
|
|
6406
6406
|
type: WorkflowDefinitionTaskType6.http,
|
|
6407
6407
|
url: `${getWorkflowsEnv(
|
|
6408
|
-
"
|
|
6408
|
+
"workflowsFunctionsUrl"
|
|
6409
6409
|
)}/functions/add-or-update-mailchimp-subscriber`,
|
|
6410
6410
|
customization: {
|
|
6411
6411
|
provider: IntegrationNames6.Mailchimp,
|
|
@@ -6451,7 +6451,7 @@ var mailchimpTaskConfigs = () => ({
|
|
|
6451
6451
|
key: "MAILCHIMP_UPDATE_SUBSCRIBER" /* UpdateSubscriber */,
|
|
6452
6452
|
type: WorkflowDefinitionTaskType6.http,
|
|
6453
6453
|
url: `${getWorkflowsEnv(
|
|
6454
|
-
"
|
|
6454
|
+
"workflowsFunctionsUrl"
|
|
6455
6455
|
)}/functions/update-mailchimp-subscriber`,
|
|
6456
6456
|
customization: {
|
|
6457
6457
|
provider: IntegrationNames6.Mailchimp,
|
|
@@ -6497,7 +6497,7 @@ var mailchimpTaskConfigs = () => ({
|
|
|
6497
6497
|
key: "MAILCHIMP_ARCHIVE_SUBSCRIBER" /* ArchiveSubscriber */,
|
|
6498
6498
|
type: WorkflowDefinitionTaskType6.http,
|
|
6499
6499
|
url: `${getWorkflowsEnv(
|
|
6500
|
-
"
|
|
6500
|
+
"workflowsFunctionsUrl"
|
|
6501
6501
|
)}/functions/archive-mailchimp-subscriber`,
|
|
6502
6502
|
customization: {
|
|
6503
6503
|
provider: IntegrationNames6.Mailchimp,
|
|
@@ -6530,7 +6530,7 @@ var mailchimpTaskConfigs = () => ({
|
|
|
6530
6530
|
key: "MAILCHIMP_DELETE_SUBSCRIBER" /* DeleteSubscriber */,
|
|
6531
6531
|
type: WorkflowDefinitionTaskType6.http,
|
|
6532
6532
|
url: `${getWorkflowsEnv(
|
|
6533
|
-
"
|
|
6533
|
+
"workflowsFunctionsUrl"
|
|
6534
6534
|
)}/functions/delete-mailchimp-subscriber`,
|
|
6535
6535
|
customization: {
|
|
6536
6536
|
provider: IntegrationNames6.Mailchimp,
|
|
@@ -6563,7 +6563,7 @@ var mailchimpTaskConfigs = () => ({
|
|
|
6563
6563
|
key: "MAILCHIMP_ADD_SUBSCRIBER_TAG" /* AddSubscriberTag */,
|
|
6564
6564
|
type: WorkflowDefinitionTaskType6.http,
|
|
6565
6565
|
url: `${getWorkflowsEnv(
|
|
6566
|
-
"
|
|
6566
|
+
"workflowsFunctionsUrl"
|
|
6567
6567
|
)}/functions/add-mailchimp-subscriber-tag`,
|
|
6568
6568
|
customization: {
|
|
6569
6569
|
provider: IntegrationNames6.Mailchimp,
|
|
@@ -6601,7 +6601,7 @@ var mailchimpTaskConfigs = () => ({
|
|
|
6601
6601
|
key: "MAILCHIMP_ADD_SUBSCRIBER_EVENT" /* AddSubscriberEvent */,
|
|
6602
6602
|
type: WorkflowDefinitionTaskType6.http,
|
|
6603
6603
|
url: `${getWorkflowsEnv(
|
|
6604
|
-
"
|
|
6604
|
+
"workflowsFunctionsUrl"
|
|
6605
6605
|
)}/functions/add-mailchimp-subscriber-event`,
|
|
6606
6606
|
customization: {
|
|
6607
6607
|
provider: IntegrationNames6.Mailchimp,
|
|
@@ -6655,7 +6655,7 @@ var mailchimpTaskConfigs = () => ({
|
|
|
6655
6655
|
key: "MAILCHIMP_ADD_SUBSCRIBER_NOTE" /* AddSubscriberNote */,
|
|
6656
6656
|
type: WorkflowDefinitionTaskType6.http,
|
|
6657
6657
|
url: `${getWorkflowsEnv(
|
|
6658
|
-
"
|
|
6658
|
+
"workflowsFunctionsUrl"
|
|
6659
6659
|
)}/functions/add-mailchimp-subscriber-note`,
|
|
6660
6660
|
customization: {
|
|
6661
6661
|
provider: IntegrationNames6.Mailchimp,
|
|
@@ -6693,7 +6693,7 @@ var mailchimpTaskConfigs = () => ({
|
|
|
6693
6693
|
key: "MAILCHIMP_DELETE_SUBSCRIBER_TAG" /* DeleteSubscriberTag */,
|
|
6694
6694
|
type: WorkflowDefinitionTaskType6.http,
|
|
6695
6695
|
url: `${getWorkflowsEnv(
|
|
6696
|
-
"
|
|
6696
|
+
"workflowsFunctionsUrl"
|
|
6697
6697
|
)}/functions/delete-mailchimp-subscriber-tag`,
|
|
6698
6698
|
customization: {
|
|
6699
6699
|
provider: IntegrationNames6.Mailchimp,
|
|
@@ -6730,7 +6730,7 @@ var mailchimpTaskConfigs = () => ({
|
|
|
6730
6730
|
key: "MAILCHIMP_GET_SUBSCRIBER_TAGS" /* GetSubscriberTags */,
|
|
6731
6731
|
type: WorkflowDefinitionTaskType6.http,
|
|
6732
6732
|
url: `${getWorkflowsEnv(
|
|
6733
|
-
"
|
|
6733
|
+
"workflowsFunctionsUrl"
|
|
6734
6734
|
)}/functions/get-mailchimp-subscriber-tags`,
|
|
6735
6735
|
customization: {
|
|
6736
6736
|
provider: IntegrationNames6.Mailchimp,
|
|
@@ -6793,7 +6793,7 @@ var mailchimpTaskConfigs = () => ({
|
|
|
6793
6793
|
key: "MAILCHIMP_GET_SUBSCRIBER" /* GetSubscriber */,
|
|
6794
6794
|
type: WorkflowDefinitionTaskType6.http,
|
|
6795
6795
|
url: `${getWorkflowsEnv(
|
|
6796
|
-
"
|
|
6796
|
+
"workflowsFunctionsUrl"
|
|
6797
6797
|
)}/functions/get-mailchimp-subscriber`,
|
|
6798
6798
|
customization: {
|
|
6799
6799
|
provider: IntegrationNames6.Mailchimp,
|
|
@@ -6966,7 +6966,7 @@ var mailchimpTaskConfigs = () => ({
|
|
|
6966
6966
|
key: "MAILCHIMP_GET_SUBSCRIBERS" /* GetSubscribers */,
|
|
6967
6967
|
type: WorkflowDefinitionTaskType6.http,
|
|
6968
6968
|
url: `${getWorkflowsEnv(
|
|
6969
|
-
"
|
|
6969
|
+
"workflowsFunctionsUrl"
|
|
6970
6970
|
)}/functions/find-mailchimp-subscribers`,
|
|
6971
6971
|
customization: {
|
|
6972
6972
|
provider: IntegrationNames6.Mailchimp,
|
|
@@ -7141,7 +7141,7 @@ var mailchimpTaskConfigs = () => ({
|
|
|
7141
7141
|
key: "MAILCHIMP_FIND_CAMPAIGN" /* FindCampaign */,
|
|
7142
7142
|
type: WorkflowDefinitionTaskType6.http,
|
|
7143
7143
|
url: `${getWorkflowsEnv(
|
|
7144
|
-
"
|
|
7144
|
+
"workflowsFunctionsUrl"
|
|
7145
7145
|
)}/functions/find-mailchimp-campaign`,
|
|
7146
7146
|
customization: {
|
|
7147
7147
|
provider: IntegrationNames6.Mailchimp,
|
|
@@ -7301,7 +7301,7 @@ var mailchimpTaskTemplates = () => ({
|
|
|
7301
7301
|
inputParameters: __spreadProps(__spreadValues({}, workflowHttpTask.inputParameters), {
|
|
7302
7302
|
http_request: __spreadProps(__spreadValues({}, workflowHttpTask.inputParameters.http_request), {
|
|
7303
7303
|
uri: `${getWorkflowsEnv(
|
|
7304
|
-
"
|
|
7304
|
+
"workflowsFunctionsUrl"
|
|
7305
7305
|
)}/functions/add-mailchimp-subscriber`,
|
|
7306
7306
|
method: "POST",
|
|
7307
7307
|
body: {
|
|
@@ -7323,7 +7323,7 @@ var mailchimpTaskTemplates = () => ({
|
|
|
7323
7323
|
inputParameters: __spreadProps(__spreadValues({}, workflowHttpTask.inputParameters), {
|
|
7324
7324
|
http_request: __spreadProps(__spreadValues({}, workflowHttpTask.inputParameters.http_request), {
|
|
7325
7325
|
uri: `${getWorkflowsEnv(
|
|
7326
|
-
"
|
|
7326
|
+
"workflowsFunctionsUrl"
|
|
7327
7327
|
)}/functions/add-mailchimp-campaign`,
|
|
7328
7328
|
method: "POST",
|
|
7329
7329
|
body: {
|
|
@@ -7356,7 +7356,7 @@ var mailchimpTaskTemplates = () => ({
|
|
|
7356
7356
|
inputParameters: __spreadProps(__spreadValues({}, workflowHttpTask.inputParameters), {
|
|
7357
7357
|
http_request: __spreadProps(__spreadValues({}, workflowHttpTask.inputParameters.http_request), {
|
|
7358
7358
|
uri: `${getWorkflowsEnv(
|
|
7359
|
-
"
|
|
7359
|
+
"workflowsFunctionsUrl"
|
|
7360
7360
|
)}/functions/send-mailchimp-campaign`,
|
|
7361
7361
|
method: "POST",
|
|
7362
7362
|
body: {
|
|
@@ -7375,7 +7375,7 @@ var mailchimpTaskTemplates = () => ({
|
|
|
7375
7375
|
inputParameters: __spreadProps(__spreadValues({}, workflowHttpTask.inputParameters), {
|
|
7376
7376
|
http_request: __spreadProps(__spreadValues({}, workflowHttpTask.inputParameters.http_request), {
|
|
7377
7377
|
uri: `${getWorkflowsEnv(
|
|
7378
|
-
"
|
|
7378
|
+
"workflowsFunctionsUrl"
|
|
7379
7379
|
)}/functions/add-or-update-mailchimp-subscriber`,
|
|
7380
7380
|
method: "POST",
|
|
7381
7381
|
body: {
|
|
@@ -7397,7 +7397,7 @@ var mailchimpTaskTemplates = () => ({
|
|
|
7397
7397
|
inputParameters: __spreadProps(__spreadValues({}, workflowHttpTask.inputParameters), {
|
|
7398
7398
|
http_request: __spreadProps(__spreadValues({}, workflowHttpTask.inputParameters.http_request), {
|
|
7399
7399
|
uri: `${getWorkflowsEnv(
|
|
7400
|
-
"
|
|
7400
|
+
"workflowsFunctionsUrl"
|
|
7401
7401
|
)}/functions/update-mailchimp-subscriber`,
|
|
7402
7402
|
method: "POST",
|
|
7403
7403
|
body: {
|
|
@@ -7419,7 +7419,7 @@ var mailchimpTaskTemplates = () => ({
|
|
|
7419
7419
|
inputParameters: __spreadProps(__spreadValues({}, workflowHttpTask.inputParameters), {
|
|
7420
7420
|
http_request: __spreadProps(__spreadValues({}, workflowHttpTask.inputParameters.http_request), {
|
|
7421
7421
|
uri: `${getWorkflowsEnv(
|
|
7422
|
-
"
|
|
7422
|
+
"workflowsFunctionsUrl"
|
|
7423
7423
|
)}/functions/archive-mailchimp-subscriber`,
|
|
7424
7424
|
method: "POST",
|
|
7425
7425
|
body: {
|
|
@@ -7439,7 +7439,7 @@ var mailchimpTaskTemplates = () => ({
|
|
|
7439
7439
|
inputParameters: __spreadProps(__spreadValues({}, workflowHttpTask.inputParameters), {
|
|
7440
7440
|
http_request: __spreadProps(__spreadValues({}, workflowHttpTask.inputParameters.http_request), {
|
|
7441
7441
|
uri: `${getWorkflowsEnv(
|
|
7442
|
-
"
|
|
7442
|
+
"workflowsFunctionsUrl"
|
|
7443
7443
|
)}/functions/delete-mailchimp-subscriber`,
|
|
7444
7444
|
method: "POST",
|
|
7445
7445
|
body: {
|
|
@@ -7459,7 +7459,7 @@ var mailchimpTaskTemplates = () => ({
|
|
|
7459
7459
|
inputParameters: __spreadProps(__spreadValues({}, workflowHttpTask.inputParameters), {
|
|
7460
7460
|
http_request: __spreadProps(__spreadValues({}, workflowHttpTask.inputParameters.http_request), {
|
|
7461
7461
|
uri: `${getWorkflowsEnv(
|
|
7462
|
-
"
|
|
7462
|
+
"workflowsFunctionsUrl"
|
|
7463
7463
|
)}/functions/add-mailchimp-subscriber-tag`,
|
|
7464
7464
|
method: "POST",
|
|
7465
7465
|
body: {
|
|
@@ -7480,7 +7480,7 @@ var mailchimpTaskTemplates = () => ({
|
|
|
7480
7480
|
inputParameters: __spreadProps(__spreadValues({}, workflowHttpTask.inputParameters), {
|
|
7481
7481
|
http_request: __spreadProps(__spreadValues({}, workflowHttpTask.inputParameters.http_request), {
|
|
7482
7482
|
uri: `${getWorkflowsEnv(
|
|
7483
|
-
"
|
|
7483
|
+
"workflowsFunctionsUrl"
|
|
7484
7484
|
)}/functions/add-mailchimp-subscriber-event`,
|
|
7485
7485
|
method: "POST",
|
|
7486
7486
|
body: {
|
|
@@ -7501,7 +7501,7 @@ var mailchimpTaskTemplates = () => ({
|
|
|
7501
7501
|
inputParameters: __spreadProps(__spreadValues({}, workflowHttpTask.inputParameters), {
|
|
7502
7502
|
http_request: __spreadProps(__spreadValues({}, workflowHttpTask.inputParameters.http_request), {
|
|
7503
7503
|
uri: `${getWorkflowsEnv(
|
|
7504
|
-
"
|
|
7504
|
+
"workflowsFunctionsUrl"
|
|
7505
7505
|
)}/functions/add-mailchimp-subscriber-note`,
|
|
7506
7506
|
method: "POST",
|
|
7507
7507
|
body: {
|
|
@@ -7522,7 +7522,7 @@ var mailchimpTaskTemplates = () => ({
|
|
|
7522
7522
|
inputParameters: __spreadProps(__spreadValues({}, workflowHttpTask.inputParameters), {
|
|
7523
7523
|
http_request: __spreadProps(__spreadValues({}, workflowHttpTask.inputParameters.http_request), {
|
|
7524
7524
|
uri: `${getWorkflowsEnv(
|
|
7525
|
-
"
|
|
7525
|
+
"workflowsFunctionsUrl"
|
|
7526
7526
|
)}/functions/delete-mailchimp-subscriber-tag`,
|
|
7527
7527
|
method: "POST",
|
|
7528
7528
|
body: {
|
|
@@ -7543,7 +7543,7 @@ var mailchimpTaskTemplates = () => ({
|
|
|
7543
7543
|
inputParameters: __spreadProps(__spreadValues({}, workflowHttpTask.inputParameters), {
|
|
7544
7544
|
http_request: __spreadProps(__spreadValues({}, workflowHttpTask.inputParameters.http_request), {
|
|
7545
7545
|
uri: `${getWorkflowsEnv(
|
|
7546
|
-
"
|
|
7546
|
+
"workflowsFunctionsUrl"
|
|
7547
7547
|
)}/functions/get-mailchimp-subscriber-tags?list_id=#{list_id}&email=#{email}`,
|
|
7548
7548
|
method: "GET",
|
|
7549
7549
|
body: {},
|
|
@@ -7560,7 +7560,7 @@ var mailchimpTaskTemplates = () => ({
|
|
|
7560
7560
|
inputParameters: __spreadProps(__spreadValues({}, workflowHttpTask.inputParameters), {
|
|
7561
7561
|
http_request: __spreadProps(__spreadValues({}, workflowHttpTask.inputParameters.http_request), {
|
|
7562
7562
|
uri: `${getWorkflowsEnv(
|
|
7563
|
-
"
|
|
7563
|
+
"workflowsFunctionsUrl"
|
|
7564
7564
|
)}/functions/get-mailchimp-subscriber?list_id=#{list_id}&email=#{email}`,
|
|
7565
7565
|
method: "GET",
|
|
7566
7566
|
body: {},
|
|
@@ -7577,7 +7577,7 @@ var mailchimpTaskTemplates = () => ({
|
|
|
7577
7577
|
inputParameters: __spreadProps(__spreadValues({}, workflowHttpTask.inputParameters), {
|
|
7578
7578
|
http_request: __spreadProps(__spreadValues({}, workflowHttpTask.inputParameters.http_request), {
|
|
7579
7579
|
uri: `${getWorkflowsEnv(
|
|
7580
|
-
"
|
|
7580
|
+
"workflowsFunctionsUrl"
|
|
7581
7581
|
)}/functions/find-mailchimp-subscribers?list_id=#{list_id}&query=#{query}`,
|
|
7582
7582
|
method: "GET",
|
|
7583
7583
|
body: {},
|
|
@@ -7594,7 +7594,7 @@ var mailchimpTaskTemplates = () => ({
|
|
|
7594
7594
|
inputParameters: __spreadProps(__spreadValues({}, workflowHttpTask.inputParameters), {
|
|
7595
7595
|
http_request: __spreadProps(__spreadValues({}, workflowHttpTask.inputParameters.http_request), {
|
|
7596
7596
|
uri: `${getWorkflowsEnv(
|
|
7597
|
-
"
|
|
7597
|
+
"workflowsFunctionsUrl"
|
|
7598
7598
|
)}/functions/find-mailchimp-campaign?campaign_id=#{campaign_id}`,
|
|
7599
7599
|
method: "POST",
|
|
7600
7600
|
body: {},
|
|
@@ -7716,7 +7716,7 @@ var openAiTaskConfigs = () => ({
|
|
|
7716
7716
|
key: "OPENAI_EXTRACT_ORDER_REQUEST" /* ExtractOrderRequest */,
|
|
7717
7717
|
type: WorkflowDefinitionTaskType7.http,
|
|
7718
7718
|
url: `${getWorkflowsEnv(
|
|
7719
|
-
"
|
|
7719
|
+
"workflowsFunctionsUrl"
|
|
7720
7720
|
)}/functions/extract-order-from-text`,
|
|
7721
7721
|
customization: {
|
|
7722
7722
|
provider: IntegrationNames7.OpenAI,
|
|
@@ -7806,7 +7806,7 @@ var openAiTaskConfigs = () => ({
|
|
|
7806
7806
|
key: "OPENAI_ANALYZE_TEXT_SENTIMENT" /* AnalyzeTextSentiment */,
|
|
7807
7807
|
type: WorkflowDefinitionTaskType7.http,
|
|
7808
7808
|
url: `${getWorkflowsEnv(
|
|
7809
|
-
"
|
|
7809
|
+
"workflowsFunctionsUrl"
|
|
7810
7810
|
)}/functions/analyze-text-sentiment`,
|
|
7811
7811
|
customization: {
|
|
7812
7812
|
provider: IntegrationNames7.OpenAI,
|
|
@@ -7841,7 +7841,7 @@ var openAiTaskConfigs = () => ({
|
|
|
7841
7841
|
["OPENAI_SUMMARIZE_TEXT" /* SummarizeText */]: {
|
|
7842
7842
|
key: "OPENAI_SUMMARIZE_TEXT" /* SummarizeText */,
|
|
7843
7843
|
type: WorkflowDefinitionTaskType7.http,
|
|
7844
|
-
url: `${getWorkflowsEnv("
|
|
7844
|
+
url: `${getWorkflowsEnv("workflowsFunctionsUrl")}/functions/summarize-text`,
|
|
7845
7845
|
customization: {
|
|
7846
7846
|
provider: IntegrationNames7.OpenAI,
|
|
7847
7847
|
product: IntegrationDisplayNames6.OpenAI,
|
|
@@ -7875,7 +7875,7 @@ var openAiTaskConfigs = () => ({
|
|
|
7875
7875
|
["OPENAI_MODERATE_TEXT" /* ModerateText */]: {
|
|
7876
7876
|
key: "OPENAI_MODERATE_TEXT" /* ModerateText */,
|
|
7877
7877
|
type: WorkflowDefinitionTaskType7.http,
|
|
7878
|
-
url: `${getWorkflowsEnv("
|
|
7878
|
+
url: `${getWorkflowsEnv("workflowsFunctionsUrl")}/functions/moderate-text`,
|
|
7879
7879
|
customization: {
|
|
7880
7880
|
provider: IntegrationNames7.OpenAI,
|
|
7881
7881
|
product: IntegrationDisplayNames6.OpenAI,
|
|
@@ -7908,7 +7908,7 @@ var openAiTaskConfigs = () => ({
|
|
|
7908
7908
|
["OPENAI_CATEGORIZE_TEXT" /* CategorizeText */]: {
|
|
7909
7909
|
key: "OPENAI_CATEGORIZE_TEXT" /* CategorizeText */,
|
|
7910
7910
|
type: WorkflowDefinitionTaskType7.http,
|
|
7911
|
-
url: `${getWorkflowsEnv("
|
|
7911
|
+
url: `${getWorkflowsEnv("workflowsFunctionsUrl")}/functions/categorize-text`,
|
|
7912
7912
|
customization: {
|
|
7913
7913
|
provider: IntegrationNames7.OpenAI,
|
|
7914
7914
|
product: IntegrationDisplayNames6.OpenAI,
|
|
@@ -7955,7 +7955,7 @@ var openAiTaskTemplates = () => ({
|
|
|
7955
7955
|
inputParameters: __spreadProps(__spreadValues({}, workflowHttpTask.inputParameters), {
|
|
7956
7956
|
http_request: __spreadProps(__spreadValues({}, workflowHttpTask.inputParameters.http_request), {
|
|
7957
7957
|
uri: `${getWorkflowsEnv(
|
|
7958
|
-
"
|
|
7958
|
+
"workflowsFunctionsUrl"
|
|
7959
7959
|
)}/functions/extract-order-from-text`,
|
|
7960
7960
|
method: "POST",
|
|
7961
7961
|
body: {
|
|
@@ -7974,7 +7974,7 @@ var openAiTaskTemplates = () => ({
|
|
|
7974
7974
|
inputParameters: __spreadProps(__spreadValues({}, workflowHttpTask.inputParameters), {
|
|
7975
7975
|
http_request: __spreadProps(__spreadValues({}, workflowHttpTask.inputParameters.http_request), {
|
|
7976
7976
|
uri: `${getWorkflowsEnv(
|
|
7977
|
-
"
|
|
7977
|
+
"workflowsFunctionsUrl"
|
|
7978
7978
|
)}/functions/analyze-text-sentiment`,
|
|
7979
7979
|
method: "POST",
|
|
7980
7980
|
body: {
|
|
@@ -7992,7 +7992,7 @@ var openAiTaskTemplates = () => ({
|
|
|
7992
7992
|
taskReferenceName: "openai_summarize_text",
|
|
7993
7993
|
inputParameters: __spreadProps(__spreadValues({}, workflowHttpTask.inputParameters), {
|
|
7994
7994
|
http_request: __spreadProps(__spreadValues({}, workflowHttpTask.inputParameters.http_request), {
|
|
7995
|
-
uri: `${getWorkflowsEnv("
|
|
7995
|
+
uri: `${getWorkflowsEnv("workflowsFunctionsUrl")}/functions/summarize-text`,
|
|
7996
7996
|
method: "POST",
|
|
7997
7997
|
body: {
|
|
7998
7998
|
text: "#{chat_transcript}"
|
|
@@ -8009,7 +8009,7 @@ var openAiTaskTemplates = () => ({
|
|
|
8009
8009
|
taskReferenceName: "openai_moderate_text",
|
|
8010
8010
|
inputParameters: __spreadProps(__spreadValues({}, workflowHttpTask.inputParameters), {
|
|
8011
8011
|
http_request: __spreadProps(__spreadValues({}, workflowHttpTask.inputParameters.http_request), {
|
|
8012
|
-
uri: `${getWorkflowsEnv("
|
|
8012
|
+
uri: `${getWorkflowsEnv("workflowsFunctionsUrl")}/functions/moderate-text`,
|
|
8013
8013
|
method: "POST",
|
|
8014
8014
|
body: {
|
|
8015
8015
|
text: "#{chat_transcript}"
|
|
@@ -8026,7 +8026,7 @@ var openAiTaskTemplates = () => ({
|
|
|
8026
8026
|
taskReferenceName: "openai_categorize_text",
|
|
8027
8027
|
inputParameters: __spreadProps(__spreadValues({}, workflowHttpTask.inputParameters), {
|
|
8028
8028
|
http_request: __spreadProps(__spreadValues({}, workflowHttpTask.inputParameters.http_request), {
|
|
8029
|
-
uri: `${getWorkflowsEnv("
|
|
8029
|
+
uri: `${getWorkflowsEnv("workflowsFunctionsUrl")}/functions/categorize-text`,
|
|
8030
8030
|
method: "POST",
|
|
8031
8031
|
body: {
|
|
8032
8032
|
text: "#{chat_transcript}"
|
|
@@ -8471,7 +8471,7 @@ var shopifyTaskConfigs = () => ({
|
|
|
8471
8471
|
key: "SHOPIFY_CREATE_CUSTOMER" /* CreateCustomer */,
|
|
8472
8472
|
type: WorkflowDefinitionTaskType8.http,
|
|
8473
8473
|
url: `${getWorkflowsEnv(
|
|
8474
|
-
"
|
|
8474
|
+
"workflowsFunctionsUrl"
|
|
8475
8475
|
)}/functions/create-shopify-customer`,
|
|
8476
8476
|
customization: {
|
|
8477
8477
|
provider: IntegrationNames8.Shopify,
|
|
@@ -8495,7 +8495,7 @@ var shopifyTaskConfigs = () => ({
|
|
|
8495
8495
|
["SHOPIFY_CREATE_ORDER" /* CreateOrder */]: {
|
|
8496
8496
|
key: "SHOPIFY_CREATE_ORDER" /* CreateOrder */,
|
|
8497
8497
|
type: WorkflowDefinitionTaskType8.http,
|
|
8498
|
-
url: `${getWorkflowsEnv("
|
|
8498
|
+
url: `${getWorkflowsEnv("workflowsFunctionsUrl")}/functions/create-shopify-order`,
|
|
8499
8499
|
customization: {
|
|
8500
8500
|
provider: IntegrationNames8.Shopify,
|
|
8501
8501
|
product: IntegrationDisplayNames7.Shopify,
|
|
@@ -8518,7 +8518,7 @@ var shopifyTaskConfigs = () => ({
|
|
|
8518
8518
|
key: "SHOPIFY_CREATE_DRAFT_ORDER" /* CreateDraftOrder */,
|
|
8519
8519
|
type: WorkflowDefinitionTaskType8.http,
|
|
8520
8520
|
url: `${getWorkflowsEnv(
|
|
8521
|
-
"
|
|
8521
|
+
"workflowsFunctionsUrl"
|
|
8522
8522
|
)}/functions/create-shopify-draft-order`,
|
|
8523
8523
|
customization: {
|
|
8524
8524
|
provider: IntegrationNames8.Shopify,
|
|
@@ -8542,7 +8542,7 @@ var shopifyTaskConfigs = () => ({
|
|
|
8542
8542
|
key: "SHOPIFY_CREATE_PRODUCT" /* CreateProduct */,
|
|
8543
8543
|
type: WorkflowDefinitionTaskType8.http,
|
|
8544
8544
|
url: `${getWorkflowsEnv(
|
|
8545
|
-
"
|
|
8545
|
+
"workflowsFunctionsUrl"
|
|
8546
8546
|
)}/functions/create-shopify-product`,
|
|
8547
8547
|
customization: {
|
|
8548
8548
|
provider: IntegrationNames8.Shopify,
|
|
@@ -8566,7 +8566,7 @@ var shopifyTaskConfigs = () => ({
|
|
|
8566
8566
|
type: WorkflowDefinitionTaskType8.http,
|
|
8567
8567
|
key: "SHOPIFY_CREATE_PRODUCT_VARIANT" /* CreateProductVariant */,
|
|
8568
8568
|
url: `${getWorkflowsEnv(
|
|
8569
|
-
"
|
|
8569
|
+
"workflowsFunctionsUrl"
|
|
8570
8570
|
)}/functions/create-shopify-product-variant`,
|
|
8571
8571
|
customization: {
|
|
8572
8572
|
provider: IntegrationNames8.Shopify,
|
|
@@ -8589,7 +8589,7 @@ var shopifyTaskConfigs = () => ({
|
|
|
8589
8589
|
["SHOPIFY_GET_CUSTOMER" /* GetCustomer */]: {
|
|
8590
8590
|
key: "SHOPIFY_GET_CUSTOMER" /* GetCustomer */,
|
|
8591
8591
|
type: WorkflowDefinitionTaskType8.http,
|
|
8592
|
-
url: `${getWorkflowsEnv("
|
|
8592
|
+
url: `${getWorkflowsEnv("workflowsFunctionsUrl")}/functions/get-shopify-customer`,
|
|
8593
8593
|
customization: {
|
|
8594
8594
|
provider: IntegrationNames8.Shopify,
|
|
8595
8595
|
product: IntegrationDisplayNames7.Shopify,
|
|
@@ -8618,7 +8618,7 @@ var shopifyTaskConfigs = () => ({
|
|
|
8618
8618
|
key: "SHOPIFY_GET_CUSTOMER_ORDERS" /* GetCustomerOrders */,
|
|
8619
8619
|
type: WorkflowDefinitionTaskType8.http,
|
|
8620
8620
|
url: `${getWorkflowsEnv(
|
|
8621
|
-
"
|
|
8621
|
+
"workflowsFunctionsUrl"
|
|
8622
8622
|
)}/functions/get-shopify-customer-orders`,
|
|
8623
8623
|
customization: {
|
|
8624
8624
|
provider: IntegrationNames8.Shopify,
|
|
@@ -8651,7 +8651,7 @@ var shopifyTaskConfigs = () => ({
|
|
|
8651
8651
|
key: "SHOPIFY_GET_CUSTOMER_LAST_ORDER" /* GetCustomerLastOrder */,
|
|
8652
8652
|
type: WorkflowDefinitionTaskType8.http,
|
|
8653
8653
|
url: `${getWorkflowsEnv(
|
|
8654
|
-
"
|
|
8654
|
+
"workflowsFunctionsUrl"
|
|
8655
8655
|
)}/functions/get-shopify-customer-last-order`,
|
|
8656
8656
|
customization: {
|
|
8657
8657
|
provider: IntegrationNames8.Shopify,
|
|
@@ -8680,7 +8680,7 @@ var shopifyTaskConfigs = () => ({
|
|
|
8680
8680
|
["SHOPIFY_GET_PRODUCT" /* GetProduct */]: {
|
|
8681
8681
|
type: WorkflowDefinitionTaskType8.http,
|
|
8682
8682
|
key: "SHOPIFY_GET_PRODUCT" /* GetProduct */,
|
|
8683
|
-
url: `${getWorkflowsEnv("
|
|
8683
|
+
url: `${getWorkflowsEnv("workflowsFunctionsUrl")}/functions/get-shopify-product`,
|
|
8684
8684
|
customization: {
|
|
8685
8685
|
provider: IntegrationNames8.Shopify,
|
|
8686
8686
|
product: IntegrationDisplayNames7.Shopify,
|
|
@@ -8710,7 +8710,7 @@ var shopifyTaskConfigs = () => ({
|
|
|
8710
8710
|
key: "SHOPIFY_GET_PRODUCT_VARIANT" /* GetProductVariant */,
|
|
8711
8711
|
type: WorkflowDefinitionTaskType8.http,
|
|
8712
8712
|
url: `${getWorkflowsEnv(
|
|
8713
|
-
"
|
|
8713
|
+
"workflowsFunctionsUrl"
|
|
8714
8714
|
)}/functions/get-shopify-product-variant`,
|
|
8715
8715
|
customization: {
|
|
8716
8716
|
provider: IntegrationNames8.Shopify,
|
|
@@ -8744,7 +8744,7 @@ var shopifyTaskConfigs = () => ({
|
|
|
8744
8744
|
key: "SHOPIFY_UPDATE_INVENTORY_QUANTITY" /* UpdateInventoryQuantity */,
|
|
8745
8745
|
type: WorkflowDefinitionTaskType8.http,
|
|
8746
8746
|
url: `${getWorkflowsEnv(
|
|
8747
|
-
"
|
|
8747
|
+
"workflowsFunctionsUrl"
|
|
8748
8748
|
)}/functions/update-shopify-inventory-quantity`,
|
|
8749
8749
|
customization: {
|
|
8750
8750
|
provider: IntegrationNames8.Shopify,
|
|
@@ -8810,7 +8810,7 @@ var shopifyTaskConfigs = () => ({
|
|
|
8810
8810
|
["SHOPIFY_UPDATE_ORDER" /* UpdateOrder */]: {
|
|
8811
8811
|
type: WorkflowDefinitionTaskType8.http,
|
|
8812
8812
|
key: "SHOPIFY_UPDATE_ORDER" /* UpdateOrder */,
|
|
8813
|
-
url: `${getWorkflowsEnv("
|
|
8813
|
+
url: `${getWorkflowsEnv("workflowsFunctionsUrl")}/functions/update-shopify-order`,
|
|
8814
8814
|
customization: {
|
|
8815
8815
|
provider: IntegrationNames8.Shopify,
|
|
8816
8816
|
product: IntegrationDisplayNames7.Shopify,
|
|
@@ -8833,7 +8833,7 @@ var shopifyTaskConfigs = () => ({
|
|
|
8833
8833
|
key: "SHOPIFY_UPDATE_PRODUCT" /* UpdateProduct */,
|
|
8834
8834
|
type: WorkflowDefinitionTaskType8.http,
|
|
8835
8835
|
url: `${getWorkflowsEnv(
|
|
8836
|
-
"
|
|
8836
|
+
"workflowsFunctionsUrl"
|
|
8837
8837
|
)}/functions/update-shopify-product`,
|
|
8838
8838
|
customization: {
|
|
8839
8839
|
provider: IntegrationNames8.Shopify,
|
|
@@ -8857,7 +8857,7 @@ var shopifyTaskConfigs = () => ({
|
|
|
8857
8857
|
key: "SHOPIFY_UPDATE_PRODUCT_VARIANT" /* UpdateProductVariant */,
|
|
8858
8858
|
type: WorkflowDefinitionTaskType8.http,
|
|
8859
8859
|
url: `${getWorkflowsEnv(
|
|
8860
|
-
"
|
|
8860
|
+
"workflowsFunctionsUrl"
|
|
8861
8861
|
)}/functions/update-shopify-product-variant`,
|
|
8862
8862
|
customization: {
|
|
8863
8863
|
provider: IntegrationNames8.Shopify,
|
|
@@ -8881,7 +8881,7 @@ var shopifyTaskConfigs = () => ({
|
|
|
8881
8881
|
key: "SHOPIFY_UPDATE_CUSTOMER" /* UpdateCustomer */,
|
|
8882
8882
|
type: WorkflowDefinitionTaskType8.http,
|
|
8883
8883
|
url: `${getWorkflowsEnv(
|
|
8884
|
-
"
|
|
8884
|
+
"workflowsFunctionsUrl"
|
|
8885
8885
|
)}/functions/update-shopify-customer`,
|
|
8886
8886
|
customization: {
|
|
8887
8887
|
provider: IntegrationNames8.Shopify,
|
|
@@ -8909,7 +8909,7 @@ var shopifyTaskTemplates = () => ({
|
|
|
8909
8909
|
inputParameters: __spreadProps(__spreadValues({}, workflowHttpTask.inputParameters), {
|
|
8910
8910
|
http_request: __spreadProps(__spreadValues({}, workflowHttpTask.inputParameters.http_request), {
|
|
8911
8911
|
uri: `${getWorkflowsEnv(
|
|
8912
|
-
"
|
|
8912
|
+
"workflowsFunctionsUrl"
|
|
8913
8913
|
)}/functions/create-shopify-customer`,
|
|
8914
8914
|
method: "POST",
|
|
8915
8915
|
body: {
|
|
@@ -8931,7 +8931,7 @@ var shopifyTaskTemplates = () => ({
|
|
|
8931
8931
|
inputParameters: __spreadProps(__spreadValues({}, workflowHttpTask.inputParameters), {
|
|
8932
8932
|
http_request: __spreadProps(__spreadValues({}, workflowHttpTask.inputParameters.http_request), {
|
|
8933
8933
|
uri: `${getWorkflowsEnv(
|
|
8934
|
-
"
|
|
8934
|
+
"workflowsFunctionsUrl"
|
|
8935
8935
|
)}/functions/create-shopify-order`,
|
|
8936
8936
|
method: "POST",
|
|
8937
8937
|
body: {},
|
|
@@ -8949,7 +8949,7 @@ var shopifyTaskTemplates = () => ({
|
|
|
8949
8949
|
inputParameters: __spreadProps(__spreadValues({}, workflowHttpTask.inputParameters), {
|
|
8950
8950
|
http_request: __spreadProps(__spreadValues({}, workflowHttpTask.inputParameters.http_request), {
|
|
8951
8951
|
uri: `${getWorkflowsEnv(
|
|
8952
|
-
"
|
|
8952
|
+
"workflowsFunctionsUrl"
|
|
8953
8953
|
)}/functions/create-shopify-draft-order`,
|
|
8954
8954
|
method: "POST",
|
|
8955
8955
|
body: {},
|
|
@@ -8967,7 +8967,7 @@ var shopifyTaskTemplates = () => ({
|
|
|
8967
8967
|
inputParameters: __spreadProps(__spreadValues({}, workflowHttpTask.inputParameters), {
|
|
8968
8968
|
http_request: __spreadProps(__spreadValues({}, workflowHttpTask.inputParameters.http_request), {
|
|
8969
8969
|
uri: `${getWorkflowsEnv(
|
|
8970
|
-
"
|
|
8970
|
+
"workflowsFunctionsUrl"
|
|
8971
8971
|
)}/functions/create-shopify-product`,
|
|
8972
8972
|
method: "POST",
|
|
8973
8973
|
body: {},
|
|
@@ -8985,7 +8985,7 @@ var shopifyTaskTemplates = () => ({
|
|
|
8985
8985
|
inputParameters: __spreadProps(__spreadValues({}, workflowHttpTask.inputParameters), {
|
|
8986
8986
|
http_request: __spreadProps(__spreadValues({}, workflowHttpTask.inputParameters.http_request), {
|
|
8987
8987
|
uri: `${getWorkflowsEnv(
|
|
8988
|
-
"
|
|
8988
|
+
"workflowsFunctionsUrl"
|
|
8989
8989
|
)}/functions/create-shopify-product-variant`,
|
|
8990
8990
|
method: "POST",
|
|
8991
8991
|
body: {},
|
|
@@ -9003,7 +9003,7 @@ var shopifyTaskTemplates = () => ({
|
|
|
9003
9003
|
inputParameters: __spreadProps(__spreadValues({}, workflowHttpTask.inputParameters), {
|
|
9004
9004
|
http_request: __spreadProps(__spreadValues({}, workflowHttpTask.inputParameters.http_request), {
|
|
9005
9005
|
uri: `${getWorkflowsEnv(
|
|
9006
|
-
"
|
|
9006
|
+
"workflowsFunctionsUrl"
|
|
9007
9007
|
)}/functions/get-shopify-customer?email=#{email}`,
|
|
9008
9008
|
method: "GET",
|
|
9009
9009
|
body: {},
|
|
@@ -9021,7 +9021,7 @@ var shopifyTaskTemplates = () => ({
|
|
|
9021
9021
|
inputParameters: __spreadProps(__spreadValues({}, workflowHttpTask.inputParameters), {
|
|
9022
9022
|
http_request: __spreadProps(__spreadValues({}, workflowHttpTask.inputParameters.http_request), {
|
|
9023
9023
|
uri: `${getWorkflowsEnv(
|
|
9024
|
-
"
|
|
9024
|
+
"workflowsFunctionsUrl"
|
|
9025
9025
|
)}/functions/get-shopify-customer-orders?email=#{email}`,
|
|
9026
9026
|
method: "GET",
|
|
9027
9027
|
body: {},
|
|
@@ -9039,7 +9039,7 @@ var shopifyTaskTemplates = () => ({
|
|
|
9039
9039
|
inputParameters: __spreadProps(__spreadValues({}, workflowHttpTask.inputParameters), {
|
|
9040
9040
|
http_request: __spreadProps(__spreadValues({}, workflowHttpTask.inputParameters.http_request), {
|
|
9041
9041
|
uri: `${getWorkflowsEnv(
|
|
9042
|
-
"
|
|
9042
|
+
"workflowsFunctionsUrl"
|
|
9043
9043
|
)}/functions/get-shopify-customer-last-order?email=#{email}`,
|
|
9044
9044
|
method: "GET",
|
|
9045
9045
|
body: {},
|
|
@@ -9057,7 +9057,7 @@ var shopifyTaskTemplates = () => ({
|
|
|
9057
9057
|
inputParameters: __spreadProps(__spreadValues({}, workflowHttpTask.inputParameters), {
|
|
9058
9058
|
http_request: __spreadProps(__spreadValues({}, workflowHttpTask.inputParameters.http_request), {
|
|
9059
9059
|
uri: `${getWorkflowsEnv(
|
|
9060
|
-
"
|
|
9060
|
+
"workflowsFunctionsUrl"
|
|
9061
9061
|
)}/functions/get-shopify-product?product_id=#{product_id}`,
|
|
9062
9062
|
method: "GET",
|
|
9063
9063
|
body: {},
|
|
@@ -9075,7 +9075,7 @@ var shopifyTaskTemplates = () => ({
|
|
|
9075
9075
|
inputParameters: __spreadProps(__spreadValues({}, workflowHttpTask.inputParameters), {
|
|
9076
9076
|
http_request: __spreadProps(__spreadValues({}, workflowHttpTask.inputParameters.http_request), {
|
|
9077
9077
|
uri: `${getWorkflowsEnv(
|
|
9078
|
-
"
|
|
9078
|
+
"workflowsFunctionsUrl"
|
|
9079
9079
|
)}/functions/get-shopify-product-variant?product_id=#{product_id}&title=#{title}`,
|
|
9080
9080
|
method: "GET",
|
|
9081
9081
|
body: {},
|
|
@@ -9093,7 +9093,7 @@ var shopifyTaskTemplates = () => ({
|
|
|
9093
9093
|
inputParameters: __spreadProps(__spreadValues({}, workflowHttpTask.inputParameters), {
|
|
9094
9094
|
http_request: __spreadProps(__spreadValues({}, workflowHttpTask.inputParameters.http_request), {
|
|
9095
9095
|
uri: `${getWorkflowsEnv(
|
|
9096
|
-
"
|
|
9096
|
+
"workflowsFunctionsUrl"
|
|
9097
9097
|
)}/functions/update-shopify-inventory-quantity`,
|
|
9098
9098
|
method: "PATCH",
|
|
9099
9099
|
body: {
|
|
@@ -9114,7 +9114,7 @@ var shopifyTaskTemplates = () => ({
|
|
|
9114
9114
|
inputParameters: __spreadProps(__spreadValues({}, workflowHttpTask.inputParameters), {
|
|
9115
9115
|
http_request: __spreadProps(__spreadValues({}, workflowHttpTask.inputParameters.http_request), {
|
|
9116
9116
|
uri: `${getWorkflowsEnv(
|
|
9117
|
-
"
|
|
9117
|
+
"workflowsFunctionsUrl"
|
|
9118
9118
|
)}/functions/update-shopify-order`,
|
|
9119
9119
|
method: "PATCH",
|
|
9120
9120
|
body: {},
|
|
@@ -9132,7 +9132,7 @@ var shopifyTaskTemplates = () => ({
|
|
|
9132
9132
|
inputParameters: __spreadProps(__spreadValues({}, workflowHttpTask.inputParameters), {
|
|
9133
9133
|
http_request: __spreadProps(__spreadValues({}, workflowHttpTask.inputParameters.http_request), {
|
|
9134
9134
|
uri: `${getWorkflowsEnv(
|
|
9135
|
-
"
|
|
9135
|
+
"workflowsFunctionsUrl"
|
|
9136
9136
|
)}/functions/update-shopify-product`,
|
|
9137
9137
|
method: "PATCH",
|
|
9138
9138
|
body: {},
|
|
@@ -9150,7 +9150,7 @@ var shopifyTaskTemplates = () => ({
|
|
|
9150
9150
|
inputParameters: __spreadProps(__spreadValues({}, workflowHttpTask.inputParameters), {
|
|
9151
9151
|
http_request: __spreadProps(__spreadValues({}, workflowHttpTask.inputParameters.http_request), {
|
|
9152
9152
|
uri: `${getWorkflowsEnv(
|
|
9153
|
-
"
|
|
9153
|
+
"workflowsFunctionsUrl"
|
|
9154
9154
|
)}/functions/update-shopify-product-variant`,
|
|
9155
9155
|
method: "PATCH",
|
|
9156
9156
|
body: {},
|
|
@@ -9168,7 +9168,7 @@ var shopifyTaskTemplates = () => ({
|
|
|
9168
9168
|
inputParameters: __spreadProps(__spreadValues({}, workflowHttpTask.inputParameters), {
|
|
9169
9169
|
http_request: __spreadProps(__spreadValues({}, workflowHttpTask.inputParameters.http_request), {
|
|
9170
9170
|
uri: `${getWorkflowsEnv(
|
|
9171
|
-
"
|
|
9171
|
+
"workflowsFunctionsUrl"
|
|
9172
9172
|
)}/functions/update-shopify-customer`,
|
|
9173
9173
|
method: "PATCH",
|
|
9174
9174
|
body: {},
|
|
@@ -9223,9 +9223,9 @@ var shopifyTriggerTemplates = () => ({
|
|
|
9223
9223
|
import {
|
|
9224
9224
|
IntegrationDisplayNames as IntegrationDisplayNames8,
|
|
9225
9225
|
IntegrationNames as IntegrationNames9,
|
|
9226
|
-
SlackEventNames
|
|
9226
|
+
SlackEventNames,
|
|
9227
|
+
WorkflowDefinitionTaskType as WorkflowDefinitionTaskType9
|
|
9227
9228
|
} from "@livechat/developer-studio-api";
|
|
9228
|
-
import { WorkflowDefinitionTaskType as WorkflowDefinitionTaskType9 } from "@livechat/developer-studio-api/src";
|
|
9229
9229
|
var SlackTriggerNames = {
|
|
9230
9230
|
ChannelNewMessagePosted: `${IntegrationNames9.Slack}-${SlackEventNames.ChannelNewMessagePosted}`,
|
|
9231
9231
|
MemberNewMention: `${IntegrationNames9.Slack}-${SlackEventNames.MemberNewMention}`
|
|
@@ -9234,7 +9234,7 @@ var slackTaskConfigs = () => ({
|
|
|
9234
9234
|
["SEND_MESSAGE" /* SendMessage */]: {
|
|
9235
9235
|
key: "SEND_MESSAGE" /* SendMessage */,
|
|
9236
9236
|
type: WorkflowDefinitionTaskType9.http,
|
|
9237
|
-
url: `${getWorkflowsEnv("
|
|
9237
|
+
url: `${getWorkflowsEnv("workflowsFunctionsUrl")}/functions/slack-send-message`,
|
|
9238
9238
|
customization: {
|
|
9239
9239
|
provider: IntegrationNames9.Slack,
|
|
9240
9240
|
product: IntegrationDisplayNames8.Slack,
|
|
@@ -9275,7 +9275,7 @@ var slackTaskConfigs = () => ({
|
|
|
9275
9275
|
["CREATE_CHANNEL" /* CreateChannel */]: {
|
|
9276
9276
|
key: "CREATE_CHANNEL" /* CreateChannel */,
|
|
9277
9277
|
type: WorkflowDefinitionTaskType9.http,
|
|
9278
|
-
url: `${getWorkflowsEnv("
|
|
9278
|
+
url: `${getWorkflowsEnv("workflowsFunctionsUrl")}/functions/slack-create_channel`,
|
|
9279
9279
|
customization: {
|
|
9280
9280
|
provider: IntegrationNames9.Slack,
|
|
9281
9281
|
product: IntegrationDisplayNames8.Slack,
|
|
@@ -9320,7 +9320,7 @@ var slackTaskTemplates = () => ({
|
|
|
9320
9320
|
inputParameters: __spreadProps(__spreadValues({}, workflowHttpTask.inputParameters), {
|
|
9321
9321
|
http_request: __spreadProps(__spreadValues({}, workflowHttpTask.inputParameters.http_request), {
|
|
9322
9322
|
uri: `${getWorkflowsEnv(
|
|
9323
|
-
"
|
|
9323
|
+
"workflowsFunctionsUrl"
|
|
9324
9324
|
)}/functions/slack-send-message`,
|
|
9325
9325
|
method: "POST",
|
|
9326
9326
|
body: {
|
|
@@ -9341,7 +9341,7 @@ var slackTaskTemplates = () => ({
|
|
|
9341
9341
|
inputParameters: __spreadProps(__spreadValues({}, workflowHttpTask.inputParameters), {
|
|
9342
9342
|
http_request: __spreadProps(__spreadValues({}, workflowHttpTask.inputParameters.http_request), {
|
|
9343
9343
|
uri: `${getWorkflowsEnv(
|
|
9344
|
-
"
|
|
9344
|
+
"workflowsFunctionsUrl"
|
|
9345
9345
|
)}/functions/slack-create-channel`,
|
|
9346
9346
|
method: "POST",
|
|
9347
9347
|
body: {
|
|
@@ -10126,7 +10126,7 @@ var getWorkflowTemplates = () => [
|
|
|
10126
10126
|
asyncComplete: false,
|
|
10127
10127
|
http_request: {
|
|
10128
10128
|
uri: `${getWorkflowsEnv(
|
|
10129
|
-
"
|
|
10129
|
+
"workflowsFunctionsUrl"
|
|
10130
10130
|
)}/functions/get-livechat-chat-transcript?chat_id=\${workflow.input.body.chat_id}`,
|
|
10131
10131
|
method: "GET",
|
|
10132
10132
|
headers: {
|
|
@@ -10142,7 +10142,7 @@ var getWorkflowTemplates = () => [
|
|
|
10142
10142
|
inputParameters: {
|
|
10143
10143
|
http_request: {
|
|
10144
10144
|
uri: `${getWorkflowsEnv(
|
|
10145
|
-
"
|
|
10145
|
+
"workflowsFunctionsUrl"
|
|
10146
10146
|
)}/functions/summarize-text`,
|
|
10147
10147
|
body: {
|
|
10148
10148
|
text: "${livechat_get_chat_transcript_1.output.response.body.chat_transcript}"
|
|
@@ -10163,7 +10163,7 @@ var getWorkflowTemplates = () => [
|
|
|
10163
10163
|
inputParameters: {
|
|
10164
10164
|
http_request: {
|
|
10165
10165
|
uri: `${getWorkflowsEnv(
|
|
10166
|
-
"
|
|
10166
|
+
"workflowsFunctionsUrl"
|
|
10167
10167
|
)}/functions/create-helpdesk-ticket`,
|
|
10168
10168
|
body: {
|
|
10169
10169
|
message: {
|
|
@@ -10249,7 +10249,7 @@ var getWorkflowTemplates = () => [
|
|
|
10249
10249
|
asyncComplete: false,
|
|
10250
10250
|
http_request: {
|
|
10251
10251
|
uri: `${getWorkflowsEnv(
|
|
10252
|
-
"
|
|
10252
|
+
"workflowsFunctionsUrl"
|
|
10253
10253
|
)}/functions/get-livechat-chat-transcript?chat_id=\${workflow.input.body.chat_id}`,
|
|
10254
10254
|
method: "GET",
|
|
10255
10255
|
headers: {
|
|
@@ -10265,7 +10265,7 @@ var getWorkflowTemplates = () => [
|
|
|
10265
10265
|
inputParameters: {
|
|
10266
10266
|
http_request: {
|
|
10267
10267
|
uri: `${getWorkflowsEnv(
|
|
10268
|
-
"
|
|
10268
|
+
"workflowsFunctionsUrl"
|
|
10269
10269
|
)}/functions/analyze-text-sentiment`,
|
|
10270
10270
|
body: {
|
|
10271
10271
|
text: "${livechat_get_chat_transcript_1.output.response.body.chat_transcript}"
|
|
@@ -10286,7 +10286,7 @@ var getWorkflowTemplates = () => [
|
|
|
10286
10286
|
inputParameters: {
|
|
10287
10287
|
http_request: {
|
|
10288
10288
|
uri: `${getWorkflowsEnv(
|
|
10289
|
-
"
|
|
10289
|
+
"workflowsFunctionsUrl"
|
|
10290
10290
|
)}/functions/create-helpdesk-ticket`,
|
|
10291
10291
|
body: {
|
|
10292
10292
|
message: {
|
|
@@ -10314,7 +10314,7 @@ var getWorkflowTemplates = () => [
|
|
|
10314
10314
|
inputParameters: {
|
|
10315
10315
|
http_request: {
|
|
10316
10316
|
uri: `${getWorkflowsEnv(
|
|
10317
|
-
"
|
|
10317
|
+
"workflowsFunctionsUrl"
|
|
10318
10318
|
)}/functions/add-mailchimp-subscriber-event`,
|
|
10319
10319
|
body: {
|
|
10320
10320
|
name: "Competitor Mention",
|
|
@@ -10411,7 +10411,7 @@ var getWorkflowTemplates = () => [
|
|
|
10411
10411
|
asyncComplete: false,
|
|
10412
10412
|
http_request: {
|
|
10413
10413
|
uri: `${getWorkflowsEnv(
|
|
10414
|
-
"
|
|
10414
|
+
"workflowsFunctionsUrl"
|
|
10415
10415
|
)}/functions/get-livechat-chat-transcript?chat_id=\${workflow.input.body.chat_id}`,
|
|
10416
10416
|
method: "GET",
|
|
10417
10417
|
headers: {
|
|
@@ -10430,7 +10430,7 @@ var getWorkflowTemplates = () => [
|
|
|
10430
10430
|
http_request: {
|
|
10431
10431
|
method: "POST",
|
|
10432
10432
|
uri: `${getWorkflowsEnv(
|
|
10433
|
-
"
|
|
10433
|
+
"workflowsFunctionsUrl"
|
|
10434
10434
|
)}/functions/summarize-text`,
|
|
10435
10435
|
body: {
|
|
10436
10436
|
text: "${livechat_get_chat_transcript_1.output.response.body.chat_transcript}"
|
|
@@ -10451,7 +10451,7 @@ var getWorkflowTemplates = () => [
|
|
|
10451
10451
|
http_request: {
|
|
10452
10452
|
method: "POST",
|
|
10453
10453
|
uri: `${getWorkflowsEnv(
|
|
10454
|
-
"
|
|
10454
|
+
"workflowsFunctionsUrl"
|
|
10455
10455
|
)}/functions/create-helpdesk-ticket`,
|
|
10456
10456
|
body: {
|
|
10457
10457
|
requester: {
|
|
@@ -10476,7 +10476,7 @@ var getWorkflowTemplates = () => [
|
|
|
10476
10476
|
inputParameters: {
|
|
10477
10477
|
http_request: {
|
|
10478
10478
|
uri: `${getWorkflowsEnv(
|
|
10479
|
-
"
|
|
10479
|
+
"workflowsFunctionsUrl"
|
|
10480
10480
|
)}/functions/add-mailchimp-subscriber-note`,
|
|
10481
10481
|
body: {
|
|
10482
10482
|
note: "Feedback from chat ID ${workflow.input.body.chat_id}",
|
|
@@ -10571,7 +10571,7 @@ var getWorkflowTemplates = () => [
|
|
|
10571
10571
|
asyncComplete: false,
|
|
10572
10572
|
http_request: {
|
|
10573
10573
|
uri: `${getWorkflowsEnv(
|
|
10574
|
-
"
|
|
10574
|
+
"workflowsFunctionsUrl"
|
|
10575
10575
|
)}/functions/get-livechat-chat-transcript?chat_id=\${workflow.input.body.chat_id}`,
|
|
10576
10576
|
method: "GET",
|
|
10577
10577
|
headers: {
|
|
@@ -10587,7 +10587,7 @@ var getWorkflowTemplates = () => [
|
|
|
10587
10587
|
inputParameters: {
|
|
10588
10588
|
http_request: {
|
|
10589
10589
|
uri: `${getWorkflowsEnv(
|
|
10590
|
-
"
|
|
10590
|
+
"workflowsFunctionsUrl"
|
|
10591
10591
|
)}/functions/get-shopify-customer?email=\${livechat_get_chat_transcript_1.output.response.body.customer_email}`,
|
|
10592
10592
|
method: "GET",
|
|
10593
10593
|
headers: {
|
|
@@ -10606,7 +10606,7 @@ var getWorkflowTemplates = () => [
|
|
|
10606
10606
|
inputParameters: {
|
|
10607
10607
|
http_request: {
|
|
10608
10608
|
uri: `${getWorkflowsEnv(
|
|
10609
|
-
"
|
|
10609
|
+
"workflowsFunctionsUrl"
|
|
10610
10610
|
)}/functions/analyze-text-sentiment`,
|
|
10611
10611
|
body: {
|
|
10612
10612
|
text: "${livechat_get_chat_transcript_1.output.response.body.chat_transcript}"
|
|
@@ -10627,7 +10627,7 @@ var getWorkflowTemplates = () => [
|
|
|
10627
10627
|
inputParameters: {
|
|
10628
10628
|
http_request: {
|
|
10629
10629
|
uri: `${getWorkflowsEnv(
|
|
10630
|
-
"
|
|
10630
|
+
"workflowsFunctionsUrl"
|
|
10631
10631
|
)}/functions/add-mailchimp-campaign`,
|
|
10632
10632
|
body: {
|
|
10633
10633
|
type: "regular",
|
|
@@ -10733,7 +10733,7 @@ var getWorkflowTemplates = () => [
|
|
|
10733
10733
|
asyncComplete: false,
|
|
10734
10734
|
http_request: {
|
|
10735
10735
|
uri: `${getWorkflowsEnv(
|
|
10736
|
-
"
|
|
10736
|
+
"workflowsFunctionsUrl"
|
|
10737
10737
|
)}/functions/get-livechat-chat-transcript?chat_id=\${workflow.input.body.chat_id}`,
|
|
10738
10738
|
method: "GET",
|
|
10739
10739
|
headers: {
|
|
@@ -10752,7 +10752,7 @@ var getWorkflowTemplates = () => [
|
|
|
10752
10752
|
http_request: {
|
|
10753
10753
|
method: "POST",
|
|
10754
10754
|
uri: `${getWorkflowsEnv(
|
|
10755
|
-
"
|
|
10755
|
+
"workflowsFunctionsUrl"
|
|
10756
10756
|
)}/functions/analyze-text-sentiment`,
|
|
10757
10757
|
body: {
|
|
10758
10758
|
text: "${livechat_get_chat_transcript_1.output.response.body.chat_transcript}"
|
|
@@ -10773,7 +10773,7 @@ var getWorkflowTemplates = () => [
|
|
|
10773
10773
|
http_request: {
|
|
10774
10774
|
method: "POST",
|
|
10775
10775
|
uri: `${getWorkflowsEnv(
|
|
10776
|
-
"
|
|
10776
|
+
"workflowsFunctionsUrl"
|
|
10777
10777
|
)}/functions/add-or-update-mailchimp-subscriber`,
|
|
10778
10778
|
body: {
|
|
10779
10779
|
list_id: null,
|
|
@@ -10797,7 +10797,7 @@ var getWorkflowTemplates = () => [
|
|
|
10797
10797
|
http_request: {
|
|
10798
10798
|
method: "POST",
|
|
10799
10799
|
uri: `${getWorkflowsEnv(
|
|
10800
|
-
"
|
|
10800
|
+
"workflowsFunctionsUrl"
|
|
10801
10801
|
)}/functions/add-mailchimp-subscriber-tag`,
|
|
10802
10802
|
body: {
|
|
10803
10803
|
list_id: null,
|
|
@@ -10870,7 +10870,7 @@ var getWorkflowTemplates = () => [
|
|
|
10870
10870
|
inputParameters: {
|
|
10871
10871
|
http_request: {
|
|
10872
10872
|
uri: `${getWorkflowsEnv(
|
|
10873
|
-
"
|
|
10873
|
+
"workflowsFunctionsUrl"
|
|
10874
10874
|
)}/functions/send-livechat-agent-message`,
|
|
10875
10875
|
body: {
|
|
10876
10876
|
chat_id: "${workflow.input.body.chat.id}",
|
|
@@ -10955,7 +10955,7 @@ var getWorkflowTemplates = () => [
|
|
|
10955
10955
|
asyncComplete: false,
|
|
10956
10956
|
http_request: {
|
|
10957
10957
|
uri: `${getWorkflowsEnv(
|
|
10958
|
-
"
|
|
10958
|
+
"workflowsFunctionsUrl"
|
|
10959
10959
|
)}/functions/get-livechat-chat-transcript?chat_id=\${workflow.input.body.chat_id}`,
|
|
10960
10960
|
method: "GET",
|
|
10961
10961
|
headers: {
|
|
@@ -10973,7 +10973,7 @@ var getWorkflowTemplates = () => [
|
|
|
10973
10973
|
asyncComplete: false,
|
|
10974
10974
|
http_request: {
|
|
10975
10975
|
uri: `${getWorkflowsEnv(
|
|
10976
|
-
"
|
|
10976
|
+
"workflowsFunctionsUrl"
|
|
10977
10977
|
)}/functions/summarize-text`,
|
|
10978
10978
|
body: {
|
|
10979
10979
|
text: "${livechat_get_chat_transcript_1.output.response.body.chat_transcript}"
|
|
@@ -10994,7 +10994,7 @@ var getWorkflowTemplates = () => [
|
|
|
10994
10994
|
asyncComplete: false,
|
|
10995
10995
|
http_request: {
|
|
10996
10996
|
uri: `${getWorkflowsEnv(
|
|
10997
|
-
"
|
|
10997
|
+
"workflowsFunctionsUrl"
|
|
10998
10998
|
)}/functions/create-helpdesk-ticket`,
|
|
10999
10999
|
body: {
|
|
11000
11000
|
message: {
|
|
@@ -11083,7 +11083,7 @@ var getWorkflowTemplates = () => [
|
|
|
11083
11083
|
asyncComplete: false,
|
|
11084
11084
|
http_request: {
|
|
11085
11085
|
uri: `${getWorkflowsEnv(
|
|
11086
|
-
"
|
|
11086
|
+
"workflowsFunctionsUrl"
|
|
11087
11087
|
)}/functions/get-livechat-chat-transcript?chat_id=\${workflow.input.body.chat.id}`,
|
|
11088
11088
|
method: "GET",
|
|
11089
11089
|
headers: {
|
|
@@ -11101,7 +11101,7 @@ var getWorkflowTemplates = () => [
|
|
|
11101
11101
|
asyncComplete: false,
|
|
11102
11102
|
http_request: {
|
|
11103
11103
|
uri: `${getWorkflowsEnv(
|
|
11104
|
-
"
|
|
11104
|
+
"workflowsFunctionsUrl"
|
|
11105
11105
|
)}/functions/get-shopify-customer-last-order?email=\${livechat_get_chat_transcript_1.output.response.body.customer_email}`,
|
|
11106
11106
|
body: {},
|
|
11107
11107
|
method: "GET",
|
|
@@ -11121,7 +11121,7 @@ var getWorkflowTemplates = () => [
|
|
|
11121
11121
|
asyncComplete: false,
|
|
11122
11122
|
http_request: {
|
|
11123
11123
|
uri: `${getWorkflowsEnv(
|
|
11124
|
-
"
|
|
11124
|
+
"workflowsFunctionsUrl"
|
|
11125
11125
|
)}/functions/send-livechat-agent-message`,
|
|
11126
11126
|
body: {
|
|
11127
11127
|
chat_id: "${workflow.input.body.chat.id}",
|
|
@@ -11199,7 +11199,7 @@ var getWorkflowTemplates = () => [
|
|
|
11199
11199
|
asyncComplete: false,
|
|
11200
11200
|
http_request: {
|
|
11201
11201
|
uri: `${getWorkflowsEnv(
|
|
11202
|
-
"
|
|
11202
|
+
"workflowsFunctionsUrl"
|
|
11203
11203
|
)}/functions/get-livechat-chat-transcript?chat_id=\${workflow.input.body.chat_id}`,
|
|
11204
11204
|
method: "GET",
|
|
11205
11205
|
headers: {
|
|
@@ -11217,7 +11217,7 @@ var getWorkflowTemplates = () => [
|
|
|
11217
11217
|
asyncComplete: false,
|
|
11218
11218
|
http_request: {
|
|
11219
11219
|
uri: `${getWorkflowsEnv(
|
|
11220
|
-
"
|
|
11220
|
+
"workflowsFunctionsUrl"
|
|
11221
11221
|
)}/functions/create-hubspot-contact`,
|
|
11222
11222
|
body: {
|
|
11223
11223
|
properties: {
|
|
@@ -11297,7 +11297,7 @@ var getWorkflowTemplates = () => [
|
|
|
11297
11297
|
asyncComplete: false,
|
|
11298
11298
|
http_request: {
|
|
11299
11299
|
uri: `${getWorkflowsEnv(
|
|
11300
|
-
"
|
|
11300
|
+
"workflowsFunctionsUrl"
|
|
11301
11301
|
)}/functions/get-livechat-chat-transcript?chat_id=\${workflow.input.body.chat.id}`,
|
|
11302
11302
|
method: "GET",
|
|
11303
11303
|
headers: {
|
|
@@ -11315,7 +11315,7 @@ var getWorkflowTemplates = () => [
|
|
|
11315
11315
|
asyncComplete: false,
|
|
11316
11316
|
http_request: {
|
|
11317
11317
|
uri: `${getWorkflowsEnv(
|
|
11318
|
-
"
|
|
11318
|
+
"workflowsFunctionsUrl"
|
|
11319
11319
|
)}/functions/create-helpdesk-ticket`,
|
|
11320
11320
|
body: {
|
|
11321
11321
|
message: {
|
|
@@ -11408,7 +11408,7 @@ var getWorkflowTemplates = () => [
|
|
|
11408
11408
|
asyncComplete: false,
|
|
11409
11409
|
http_request: {
|
|
11410
11410
|
uri: `${getWorkflowsEnv(
|
|
11411
|
-
"
|
|
11411
|
+
"workflowsFunctionsUrl"
|
|
11412
11412
|
)}/functions/get-livechat-chat-transcript?chat_id=\${workflow.input.body.chat_id}`,
|
|
11413
11413
|
method: "GET",
|
|
11414
11414
|
headers: {
|
|
@@ -11426,7 +11426,7 @@ var getWorkflowTemplates = () => [
|
|
|
11426
11426
|
asyncComplete: false,
|
|
11427
11427
|
http_request: {
|
|
11428
11428
|
uri: `${getWorkflowsEnv(
|
|
11429
|
-
"
|
|
11429
|
+
"workflowsFunctionsUrl"
|
|
11430
11430
|
)}/functions/create-hubspot-contact`,
|
|
11431
11431
|
body: {
|
|
11432
11432
|
properties: {
|
|
@@ -11452,7 +11452,7 @@ var getWorkflowTemplates = () => [
|
|
|
11452
11452
|
http_request: {
|
|
11453
11453
|
method: "POST",
|
|
11454
11454
|
uri: `${getWorkflowsEnv(
|
|
11455
|
-
"
|
|
11455
|
+
"workflowsFunctionsUrl"
|
|
11456
11456
|
)}/functions/add-or-update-mailchimp-subscriber`,
|
|
11457
11457
|
body: {
|
|
11458
11458
|
list_id: null,
|
|
@@ -11530,7 +11530,7 @@ var getWorkflowTemplates = () => [
|
|
|
11530
11530
|
asyncComplete: false,
|
|
11531
11531
|
http_request: {
|
|
11532
11532
|
uri: `${getWorkflowsEnv(
|
|
11533
|
-
"
|
|
11533
|
+
"workflowsFunctionsUrl"
|
|
11534
11534
|
)}/functions/supervise-livechat-chat`,
|
|
11535
11535
|
body: {
|
|
11536
11536
|
chat_id: "${workflow.input.body.chat_id}",
|
|
@@ -11552,7 +11552,7 @@ var getWorkflowTemplates = () => [
|
|
|
11552
11552
|
asyncComplete: false,
|
|
11553
11553
|
http_request: {
|
|
11554
11554
|
uri: `${getWorkflowsEnv(
|
|
11555
|
-
"
|
|
11555
|
+
"workflowsFunctionsUrl"
|
|
11556
11556
|
)}/functions/send-livechat-agent-message`,
|
|
11557
11557
|
body: {
|
|
11558
11558
|
chat_id: "${workflow.input.body.chat_id}",
|
|
@@ -11628,7 +11628,7 @@ var getWorkflowTemplates = () => [
|
|
|
11628
11628
|
asyncComplete: false,
|
|
11629
11629
|
http_request: {
|
|
11630
11630
|
uri: `${getWorkflowsEnv(
|
|
11631
|
-
"
|
|
11631
|
+
"workflowsFunctionsUrl"
|
|
11632
11632
|
)}/functions/get-livechat-chat-transcript?chat_id=\${workflow.input.body.chat_id}`,
|
|
11633
11633
|
method: "GET",
|
|
11634
11634
|
headers: {
|
|
@@ -11646,7 +11646,7 @@ var getWorkflowTemplates = () => [
|
|
|
11646
11646
|
asyncComplete: false,
|
|
11647
11647
|
http_request: {
|
|
11648
11648
|
uri: `${getWorkflowsEnv(
|
|
11649
|
-
"
|
|
11649
|
+
"workflowsFunctionsUrl"
|
|
11650
11650
|
)}/functions/create-helpdesk-ticket`,
|
|
11651
11651
|
body: {
|
|
11652
11652
|
message: {
|
|
@@ -11737,7 +11737,7 @@ var getWorkflowTemplates = () => [
|
|
|
11737
11737
|
http_request: {
|
|
11738
11738
|
method: "POST",
|
|
11739
11739
|
uri: `${getWorkflowsEnv(
|
|
11740
|
-
"
|
|
11740
|
+
"workflowsFunctionsUrl"
|
|
11741
11741
|
)}/functions/supervise-livechat-chat`,
|
|
11742
11742
|
body: {
|
|
11743
11743
|
chat_id: "${workflow.input.body.chat.id}",
|
|
@@ -11759,7 +11759,7 @@ var getWorkflowTemplates = () => [
|
|
|
11759
11759
|
http_request: {
|
|
11760
11760
|
method: "POST",
|
|
11761
11761
|
uri: `${getWorkflowsEnv(
|
|
11762
|
-
"
|
|
11762
|
+
"workflowsFunctionsUrl"
|
|
11763
11763
|
)}/functions/tag-livechat-chat`,
|
|
11764
11764
|
body: {
|
|
11765
11765
|
chat_id: "${workflow.input.body.chat.id}",
|
|
@@ -11855,7 +11855,7 @@ var getWorkflowTemplates = () => [
|
|
|
11855
11855
|
http_request: {
|
|
11856
11856
|
method: "POST",
|
|
11857
11857
|
uri: `${getWorkflowsEnv(
|
|
11858
|
-
"
|
|
11858
|
+
"workflowsFunctionsUrl"
|
|
11859
11859
|
)}/functions/tag-livechat-chat`,
|
|
11860
11860
|
body: {
|
|
11861
11861
|
chat_id: "${workflow.input.body.chat_id}",
|
|
@@ -11936,7 +11936,7 @@ var getWorkflowTemplates = () => [
|
|
|
11936
11936
|
http_request: {
|
|
11937
11937
|
method: "POST",
|
|
11938
11938
|
uri: `${getWorkflowsEnv(
|
|
11939
|
-
"
|
|
11939
|
+
"workflowsFunctionsUrl"
|
|
11940
11940
|
)}/functions/send-livechat-agent-message`,
|
|
11941
11941
|
body: {
|
|
11942
11942
|
visibility: "all",
|
|
@@ -11959,7 +11959,7 @@ var getWorkflowTemplates = () => [
|
|
|
11959
11959
|
http_request: {
|
|
11960
11960
|
method: "POST",
|
|
11961
11961
|
uri: `${getWorkflowsEnv(
|
|
11962
|
-
"
|
|
11962
|
+
"workflowsFunctionsUrl"
|
|
11963
11963
|
)}/functions/tag-livechat-chat`,
|
|
11964
11964
|
body: {
|
|
11965
11965
|
chat_id: "${workflow.input.body.chat_id}",
|
|
@@ -12037,7 +12037,7 @@ var getWorkflowTemplates = () => [
|
|
|
12037
12037
|
http_request: {
|
|
12038
12038
|
method: "POST",
|
|
12039
12039
|
uri: `${getWorkflowsEnv(
|
|
12040
|
-
"
|
|
12040
|
+
"workflowsFunctionsUrl"
|
|
12041
12041
|
)}/functions/send-livechat-agent-message`,
|
|
12042
12042
|
body: {
|
|
12043
12043
|
visibility: "all",
|
|
@@ -12119,7 +12119,7 @@ var getWorkflowTemplates = () => [
|
|
|
12119
12119
|
http_request: {
|
|
12120
12120
|
method: "POST",
|
|
12121
12121
|
uri: `${getWorkflowsEnv(
|
|
12122
|
-
"
|
|
12122
|
+
"workflowsFunctionsUrl"
|
|
12123
12123
|
)}/functions/tag-livechat-chat`,
|
|
12124
12124
|
body: {
|
|
12125
12125
|
chat_id: "${workflow.input.body.chat_id}",
|
|
@@ -12142,7 +12142,7 @@ var getWorkflowTemplates = () => [
|
|
|
12142
12142
|
http_request: {
|
|
12143
12143
|
method: "POST",
|
|
12144
12144
|
uri: `${getWorkflowsEnv(
|
|
12145
|
-
"
|
|
12145
|
+
"workflowsFunctionsUrl"
|
|
12146
12146
|
)}/functions/supervise-livechat-chat`,
|
|
12147
12147
|
body: {
|
|
12148
12148
|
chat_id: "${workflow.input.body.chat_id}",
|
|
@@ -12164,7 +12164,7 @@ var getWorkflowTemplates = () => [
|
|
|
12164
12164
|
http_request: {
|
|
12165
12165
|
method: "POST",
|
|
12166
12166
|
uri: `${getWorkflowsEnv(
|
|
12167
|
-
"
|
|
12167
|
+
"workflowsFunctionsUrl"
|
|
12168
12168
|
)}/functions/send-livechat-agent-message`,
|
|
12169
12169
|
body: {
|
|
12170
12170
|
visibility: "agents",
|
|
@@ -12240,7 +12240,7 @@ var getWorkflowTemplates = () => [
|
|
|
12240
12240
|
asyncComplete: false,
|
|
12241
12241
|
http_request: {
|
|
12242
12242
|
uri: `${getWorkflowsEnv(
|
|
12243
|
-
"
|
|
12243
|
+
"workflowsFunctionsUrl"
|
|
12244
12244
|
)}/functions/transfer-livechat-chat`,
|
|
12245
12245
|
method: "POST",
|
|
12246
12246
|
body: {
|
|
@@ -12263,7 +12263,7 @@ var getWorkflowTemplates = () => [
|
|
|
12263
12263
|
asyncComplete: false,
|
|
12264
12264
|
http_request: {
|
|
12265
12265
|
uri: `${getWorkflowsEnv(
|
|
12266
|
-
"
|
|
12266
|
+
"workflowsFunctionsUrl"
|
|
12267
12267
|
)}/functions/send-livechat-agent-message`,
|
|
12268
12268
|
method: "POST",
|
|
12269
12269
|
body: {
|
|
@@ -12351,7 +12351,7 @@ var getWorkflowTemplates = () => [
|
|
|
12351
12351
|
asyncComplete: false,
|
|
12352
12352
|
http_request: {
|
|
12353
12353
|
uri: `${getWorkflowsEnv(
|
|
12354
|
-
"
|
|
12354
|
+
"workflowsFunctionsUrl"
|
|
12355
12355
|
)}/functions/get-livechat-chat-transcript?chat_id=\${workflow.input.body.chat_id}`,
|
|
12356
12356
|
method: "GET",
|
|
12357
12357
|
headers: {
|
|
@@ -12369,7 +12369,7 @@ var getWorkflowTemplates = () => [
|
|
|
12369
12369
|
asyncComplete: false,
|
|
12370
12370
|
http_request: {
|
|
12371
12371
|
uri: `${getWorkflowsEnv(
|
|
12372
|
-
"
|
|
12372
|
+
"workflowsFunctionsUrl"
|
|
12373
12373
|
)}/functions/summarize-text`,
|
|
12374
12374
|
method: "POST",
|
|
12375
12375
|
body: {
|
|
@@ -12390,7 +12390,7 @@ var getWorkflowTemplates = () => [
|
|
|
12390
12390
|
asyncComplete: false,
|
|
12391
12391
|
http_request: {
|
|
12392
12392
|
uri: `${getWorkflowsEnv(
|
|
12393
|
-
"
|
|
12393
|
+
"workflowsFunctionsUrl"
|
|
12394
12394
|
)}/functions/send-livechat-agent-message`,
|
|
12395
12395
|
method: "POST",
|
|
12396
12396
|
body: {
|
|
@@ -12413,7 +12413,7 @@ var getWorkflowTemplates = () => [
|
|
|
12413
12413
|
asyncComplete: false,
|
|
12414
12414
|
http_request: {
|
|
12415
12415
|
uri: `${getWorkflowsEnv(
|
|
12416
|
-
"
|
|
12416
|
+
"workflowsFunctionsUrl"
|
|
12417
12417
|
)}/functions/tag-livechat-chat`,
|
|
12418
12418
|
method: "POST",
|
|
12419
12419
|
body: {
|
|
@@ -12495,7 +12495,7 @@ var getWorkflowTemplates = () => [
|
|
|
12495
12495
|
asyncComplete: false,
|
|
12496
12496
|
http_request: {
|
|
12497
12497
|
uri: `${getWorkflowsEnv(
|
|
12498
|
-
"
|
|
12498
|
+
"workflowsFunctionsUrl"
|
|
12499
12499
|
)}/functions/transfer-livechat-chat`,
|
|
12500
12500
|
method: "POST",
|
|
12501
12501
|
body: {
|
|
@@ -12518,7 +12518,7 @@ var getWorkflowTemplates = () => [
|
|
|
12518
12518
|
asyncComplete: false,
|
|
12519
12519
|
http_request: {
|
|
12520
12520
|
uri: `${getWorkflowsEnv(
|
|
12521
|
-
"
|
|
12521
|
+
"workflowsFunctionsUrl"
|
|
12522
12522
|
)}/functions/send-livechat-agent-message`,
|
|
12523
12523
|
method: "POST",
|
|
12524
12524
|
body: {
|
|
@@ -12541,7 +12541,7 @@ var getWorkflowTemplates = () => [
|
|
|
12541
12541
|
asyncComplete: false,
|
|
12542
12542
|
http_request: {
|
|
12543
12543
|
uri: `${getWorkflowsEnv(
|
|
12544
|
-
"
|
|
12544
|
+
"workflowsFunctionsUrl"
|
|
12545
12545
|
)}/functions/tag-livechat-chat`,
|
|
12546
12546
|
method: "POST",
|
|
12547
12547
|
body: {
|
|
@@ -12618,7 +12618,7 @@ var getWorkflowTemplates = () => [
|
|
|
12618
12618
|
asyncComplete: false,
|
|
12619
12619
|
http_request: {
|
|
12620
12620
|
uri: `${getWorkflowsEnv(
|
|
12621
|
-
"
|
|
12621
|
+
"workflowsFunctionsUrl"
|
|
12622
12622
|
)}/functions/get-livechat-chat-transcript?chat_id=\${workflow.input.body.chat_id}`,
|
|
12623
12623
|
method: "GET",
|
|
12624
12624
|
headers: {
|
|
@@ -12636,7 +12636,7 @@ var getWorkflowTemplates = () => [
|
|
|
12636
12636
|
asyncComplete: false,
|
|
12637
12637
|
http_request: {
|
|
12638
12638
|
uri: `${getWorkflowsEnv(
|
|
12639
|
-
"
|
|
12639
|
+
"workflowsFunctionsUrl"
|
|
12640
12640
|
)}/functions/send-livechat-agent-message`,
|
|
12641
12641
|
method: "POST",
|
|
12642
12642
|
body: {
|
|
@@ -12709,7 +12709,7 @@ var getWorkflowTemplates = () => [
|
|
|
12709
12709
|
asyncComplete: false,
|
|
12710
12710
|
http_request: {
|
|
12711
12711
|
uri: `${getWorkflowsEnv(
|
|
12712
|
-
"
|
|
12712
|
+
"workflowsFunctionsUrl"
|
|
12713
12713
|
)}/functions/send-livechat-agent-message`,
|
|
12714
12714
|
method: "POST",
|
|
12715
12715
|
body: {
|
|
@@ -12783,7 +12783,7 @@ var getWorkflowTemplates = () => [
|
|
|
12783
12783
|
asyncComplete: false,
|
|
12784
12784
|
http_request: {
|
|
12785
12785
|
uri: `${getWorkflowsEnv(
|
|
12786
|
-
"
|
|
12786
|
+
"workflowsFunctionsUrl"
|
|
12787
12787
|
)}/functions/tag-livechat-chat`,
|
|
12788
12788
|
method: "POST",
|
|
12789
12789
|
body: {
|
|
@@ -12857,7 +12857,7 @@ var getWorkflowTemplates = () => [
|
|
|
12857
12857
|
asyncComplete: false,
|
|
12858
12858
|
http_request: {
|
|
12859
12859
|
uri: `${getWorkflowsEnv(
|
|
12860
|
-
"
|
|
12860
|
+
"workflowsFunctionsUrl"
|
|
12861
12861
|
)}/functions/transfer-livechat-chat`,
|
|
12862
12862
|
method: "POST",
|
|
12863
12863
|
body: {
|
|
@@ -13551,7 +13551,7 @@ function OneMessagesProvider({ children }) {
|
|
|
13551
13551
|
]);
|
|
13552
13552
|
try {
|
|
13553
13553
|
const response = yield generateAiResponseMutation.mutateAsync({
|
|
13554
|
-
agent_id: getWorkflowsEnv("
|
|
13554
|
+
agent_id: getWorkflowsEnv("workflowAiAgentId"),
|
|
13555
13555
|
account_id: user == null ? void 0 : user.auth.account_id,
|
|
13556
13556
|
organization: user == null ? void 0 : user.auth.organization_id,
|
|
13557
13557
|
token: user == null ? void 0 : user.auth.access_token,
|