@livechat/platform-workflows 0.0.68 → 0.0.70

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.js CHANGED
@@ -3320,6 +3320,7 @@ var bigcommerceTriggerTemplates = () => ({
3320
3320
  var import_developer_studio_api4 = require("@livechat/developer-studio-api");
3321
3321
  var helpdeskTicketResponse = {
3322
3322
  type: "object",
3323
+ title: "Ticket",
3323
3324
  properties: {
3324
3325
  ID: {
3325
3326
  type: "string",
@@ -3473,12 +3474,15 @@ var helpdeskTicketInput = {
3473
3474
  var webhookSpecsCommons = {
3474
3475
  outputs: {
3475
3476
  ticketBasedOutput: () => WORKFLOW_TRIGGER_OUTPUT_SCHEMA(helpdeskTicketResponse),
3476
- ticketEventBasedOutput: (event) => WORKFLOW_TRIGGER_OUTPUT_SCHEMA({
3477
+ ticketEventBasedOutput: () => WORKFLOW_TRIGGER_OUTPUT_SCHEMA({
3477
3478
  type: "object",
3478
3479
  required: ["ticket", "event"],
3479
3480
  properties: {
3480
3481
  ticket: helpdeskTicketResponse,
3481
- event
3482
+ event: {
3483
+ type: "object",
3484
+ title: "Event"
3485
+ }
3482
3486
  }
3483
3487
  })
3484
3488
  }
@@ -3494,27 +3498,27 @@ var webhookSpecs = {
3494
3498
  },
3495
3499
  ticket_status_changed: {
3496
3500
  input: {},
3497
- output: webhookSpecsCommons.outputs.ticketEventBasedOutput({})
3501
+ output: webhookSpecsCommons.outputs.ticketEventBasedOutput()
3498
3502
  },
3499
3503
  ticket_priority_changed: {
3500
3504
  input: {},
3501
- output: webhookSpecsCommons.outputs.ticketEventBasedOutput({})
3505
+ output: webhookSpecsCommons.outputs.ticketEventBasedOutput()
3502
3506
  },
3503
3507
  ticket_tags_changed: {
3504
3508
  input: {},
3505
- output: webhookSpecsCommons.outputs.ticketEventBasedOutput({})
3509
+ output: webhookSpecsCommons.outputs.ticketEventBasedOutput()
3506
3510
  },
3507
3511
  ticket_followers_changed: {
3508
3512
  input: {},
3509
- output: webhookSpecsCommons.outputs.ticketEventBasedOutput({})
3513
+ output: webhookSpecsCommons.outputs.ticketEventBasedOutput()
3510
3514
  },
3511
3515
  ticket_assignment_changed: {
3512
3516
  input: {},
3513
- output: webhookSpecsCommons.outputs.ticketEventBasedOutput({})
3517
+ output: webhookSpecsCommons.outputs.ticketEventBasedOutput()
3514
3518
  },
3515
3519
  ticket_message_added: {
3516
3520
  input: {},
3517
- output: webhookSpecsCommons.outputs.ticketEventBasedOutput({})
3521
+ output: webhookSpecsCommons.outputs.ticketEventBasedOutput()
3518
3522
  }
3519
3523
  };
3520
3524
  var helpdeskTaskConfigs = () => ({
@@ -23068,7 +23072,7 @@ function WorkflowListView() {
23068
23072
  if (isLoading) {
23069
23073
  return /* @__PURE__ */ jsx2(import_developer_studio_ui_react43.Loader, { stretch: true });
23070
23074
  }
23071
- return /* @__PURE__ */ jsxs2(import_developer_studio_ui_react43.View, { center: hasNoData, stretch: isLoading, children: [
23075
+ return /* @__PURE__ */ jsxs2(import_developer_studio_ui_react43.View, { center: hasNoData, noWrap: true, stretch: isLoading, children: [
23072
23076
  /* @__PURE__ */ jsxs2(import_developer_studio_ui_react43.Row, { topMargin: true, verticalCenter: hasNoData, children: [
23073
23077
  /* @__PURE__ */ jsx2(import_developer_studio_ui_react43.Column, { width: hasNoData ? 10 : 8, children: hasNoData ? /* @__PURE__ */ jsx2(import_developer_studio_ui_react43.Row, { notPadded: true, children: /* @__PURE__ */ jsx2(
23074
23078
  import_developer_studio_ui_react43.Intro,
package/dist/index.mjs CHANGED
@@ -3325,6 +3325,7 @@ import {
3325
3325
  } from "@livechat/developer-studio-api";
3326
3326
  var helpdeskTicketResponse = {
3327
3327
  type: "object",
3328
+ title: "Ticket",
3328
3329
  properties: {
3329
3330
  ID: {
3330
3331
  type: "string",
@@ -3478,12 +3479,15 @@ var helpdeskTicketInput = {
3478
3479
  var webhookSpecsCommons = {
3479
3480
  outputs: {
3480
3481
  ticketBasedOutput: () => WORKFLOW_TRIGGER_OUTPUT_SCHEMA(helpdeskTicketResponse),
3481
- ticketEventBasedOutput: (event) => WORKFLOW_TRIGGER_OUTPUT_SCHEMA({
3482
+ ticketEventBasedOutput: () => WORKFLOW_TRIGGER_OUTPUT_SCHEMA({
3482
3483
  type: "object",
3483
3484
  required: ["ticket", "event"],
3484
3485
  properties: {
3485
3486
  ticket: helpdeskTicketResponse,
3486
- event
3487
+ event: {
3488
+ type: "object",
3489
+ title: "Event"
3490
+ }
3487
3491
  }
3488
3492
  })
3489
3493
  }
@@ -3499,27 +3503,27 @@ var webhookSpecs = {
3499
3503
  },
3500
3504
  ticket_status_changed: {
3501
3505
  input: {},
3502
- output: webhookSpecsCommons.outputs.ticketEventBasedOutput({})
3506
+ output: webhookSpecsCommons.outputs.ticketEventBasedOutput()
3503
3507
  },
3504
3508
  ticket_priority_changed: {
3505
3509
  input: {},
3506
- output: webhookSpecsCommons.outputs.ticketEventBasedOutput({})
3510
+ output: webhookSpecsCommons.outputs.ticketEventBasedOutput()
3507
3511
  },
3508
3512
  ticket_tags_changed: {
3509
3513
  input: {},
3510
- output: webhookSpecsCommons.outputs.ticketEventBasedOutput({})
3514
+ output: webhookSpecsCommons.outputs.ticketEventBasedOutput()
3511
3515
  },
3512
3516
  ticket_followers_changed: {
3513
3517
  input: {},
3514
- output: webhookSpecsCommons.outputs.ticketEventBasedOutput({})
3518
+ output: webhookSpecsCommons.outputs.ticketEventBasedOutput()
3515
3519
  },
3516
3520
  ticket_assignment_changed: {
3517
3521
  input: {},
3518
- output: webhookSpecsCommons.outputs.ticketEventBasedOutput({})
3522
+ output: webhookSpecsCommons.outputs.ticketEventBasedOutput()
3519
3523
  },
3520
3524
  ticket_message_added: {
3521
3525
  input: {},
3522
- output: webhookSpecsCommons.outputs.ticketEventBasedOutput({})
3526
+ output: webhookSpecsCommons.outputs.ticketEventBasedOutput()
3523
3527
  }
3524
3528
  };
3525
3529
  var helpdeskTaskConfigs = () => ({
@@ -23563,7 +23567,7 @@ function WorkflowListView() {
23563
23567
  if (isLoading) {
23564
23568
  return /* @__PURE__ */ jsx2(Loader4, { stretch: true });
23565
23569
  }
23566
- return /* @__PURE__ */ jsxs2(View2, { center: hasNoData, stretch: isLoading, children: [
23570
+ return /* @__PURE__ */ jsxs2(View2, { center: hasNoData, noWrap: true, stretch: isLoading, children: [
23567
23571
  /* @__PURE__ */ jsxs2(Row23, { topMargin: true, verticalCenter: hasNoData, children: [
23568
23572
  /* @__PURE__ */ jsx2(Column19, { width: hasNoData ? 10 : 8, children: hasNoData ? /* @__PURE__ */ jsx2(Row23, { notPadded: true, children: /* @__PURE__ */ jsx2(
23569
23573
  Intro4,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@livechat/platform-workflows",
3
- "version": "0.0.68",
3
+ "version": "0.0.70",
4
4
  "description": "Text Platform | Workflows",
5
5
  "author": "Wojciech Dudek",
6
6
  "license": "MIT",
@@ -82,8 +82,8 @@
82
82
  "validator": "^13.12.0",
83
83
  "web-worker": "^1.3.0",
84
84
  "@livechat/developer-studio-api": "3.4.7",
85
- "@livechat/developer-studio-ui-react": "1.0.7",
86
- "@livechat/platform-integrations": "0.0.39"
85
+ "@livechat/developer-studio-ui-react": "1.0.8",
86
+ "@livechat/platform-integrations": "0.0.40"
87
87
  },
88
88
  "peerDependencies": {
89
89
  "@tanstack/react-query": "4.36.1",