@livechat/platform-workflows 0.0.90 → 0.0.91

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 +103 -93
  2. package/dist/index.mjs +100 -90
  3. package/package.json +4 -4
package/dist/index.js CHANGED
@@ -448,9 +448,9 @@ var require_hoist_non_react_statics_cjs = __commonJS({
448
448
  }
449
449
  });
450
450
 
451
- // ../../../node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/extends.js
451
+ // ../../../node_modules/.pnpm/@babel+runtime@7.26.9/node_modules/@babel/runtime/helpers/extends.js
452
452
  var require_extends = __commonJS({
453
- "../../../node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/extends.js"(exports2, module2) {
453
+ "../../../node_modules/.pnpm/@babel+runtime@7.26.9/node_modules/@babel/runtime/helpers/extends.js"(exports2, module2) {
454
454
  "use strict";
455
455
  function _extends2() {
456
456
  return module2.exports = _extends2 = Object.assign ? Object.assign.bind() : function(n) {
@@ -1408,7 +1408,7 @@ var createCache = function createCache2(options) {
1408
1408
  return cache;
1409
1409
  };
1410
1410
 
1411
- // ../../../node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/extends.js
1411
+ // ../../../node_modules/.pnpm/@babel+runtime@7.26.9/node_modules/@babel/runtime/helpers/esm/extends.js
1412
1412
  function _extends() {
1413
1413
  return _extends = Object.assign ? Object.assign.bind() : function(n) {
1414
1414
  for (var e = 1; e < arguments.length; e++) {
@@ -5492,9 +5492,7 @@ var webhookSpecs2 = {
5492
5492
  required: [],
5493
5493
  properties: {
5494
5494
  tag: {
5495
- type: "string",
5496
- title: "Tag",
5497
- description: "The name of the tag."
5495
+ $ref: "#/$defs/livechat_tag"
5498
5496
  },
5499
5497
  exact: {
5500
5498
  type: "boolean",
@@ -6153,7 +6151,7 @@ var livechatTriggerTemplates = () => ({
6153
6151
  source: import_developer_studio_api7.IntegrationNames.LiveChat,
6154
6152
  event: {
6155
6153
  name: import_developer_studio_api7.TextLivechatEventNames.ChatTagged,
6156
- tag: "tag",
6154
+ tag: void 0,
6157
6155
  exact: false
6158
6156
  },
6159
6157
  headers: {
@@ -9479,6 +9477,7 @@ var WORKFLOW_SCHEMA_DEFS = {
9479
9477
  type: "string",
9480
9478
  title: "Mailchimp audience ID",
9481
9479
  description: "The unique ID of your audience. <a href='https://mailchimp.com/help/find-audience-id/' target='_blank' rel='noreferrer nofollow'>Here's<a/> how to find it.",
9480
+ visible: true,
9482
9481
  "x-ref": {
9483
9482
  provider: "mailchimp",
9484
9483
  product: "mailchimp",
@@ -9490,7 +9489,8 @@ var WORKFLOW_SCHEMA_DEFS = {
9490
9489
  mailchimp_campaign: {
9491
9490
  type: "string",
9492
9491
  title: "Campaign ID",
9493
- description: `The unique ID for the campaign. You'll find it by going to the Campaigns page in Mailchimp and selecting View Email from the drop-down list for the campaign. The URL indicates the campaign ID by the prefix "id=".`
9492
+ description: `The unique ID for the campaign. You'll find it by going to the Campaigns page in Mailchimp and selecting View Email from the drop-down list for the campaign. The URL indicates the campaign ID by the prefix "id=".`,
9493
+ visible: true
9494
9494
  // TODO WD: it not ready yet, but WIP on BE side
9495
9495
  // 'x-ref': {
9496
9496
  // provider: 'mailchimp',
@@ -9503,6 +9503,7 @@ var WORKFLOW_SCHEMA_DEFS = {
9503
9503
  helpdesk_ticket: {
9504
9504
  title: "Ticket ID",
9505
9505
  type: "string",
9506
+ visible: true,
9506
9507
  "x-ref": {
9507
9508
  provider: "text",
9508
9509
  product: "helpdesk",
@@ -9514,6 +9515,7 @@ var WORKFLOW_SCHEMA_DEFS = {
9514
9515
  helpdesk_tag: {
9515
9516
  title: "Tag",
9516
9517
  type: "string",
9518
+ visible: true,
9517
9519
  "x-ref": {
9518
9520
  provider: "text",
9519
9521
  product: "helpdesk",
@@ -9525,6 +9527,7 @@ var WORKFLOW_SCHEMA_DEFS = {
9525
9527
  helpdesk_agent: {
9526
9528
  title: "Agent",
9527
9529
  type: "string",
9530
+ visible: true,
9528
9531
  "x-ref": {
9529
9532
  provider: "text",
9530
9533
  product: "helpdesk",
@@ -9535,11 +9538,13 @@ var WORKFLOW_SCHEMA_DEFS = {
9535
9538
  },
9536
9539
  livechat_chat_id: {
9537
9540
  title: "Chat ID",
9538
- type: "string"
9541
+ type: "string",
9542
+ visible: true
9539
9543
  },
9540
9544
  livechat_tag: {
9541
9545
  title: "Tag",
9542
9546
  type: "string",
9547
+ visible: true,
9543
9548
  "x-ref": {
9544
9549
  provider: "text",
9545
9550
  product: "livechat",
@@ -9552,6 +9557,7 @@ var WORKFLOW_SCHEMA_DEFS = {
9552
9557
  title: "Agent",
9553
9558
  type: "string",
9554
9559
  format: "email",
9560
+ visible: true,
9555
9561
  "x-ref": {
9556
9562
  provider: "text",
9557
9563
  product: "livechat",
@@ -9563,6 +9569,7 @@ var WORKFLOW_SCHEMA_DEFS = {
9563
9569
  livechat_group: {
9564
9570
  title: "Group",
9565
9571
  type: "number",
9572
+ visible: true,
9566
9573
  "x-ref": {
9567
9574
  provider: "text",
9568
9575
  product: "livechat",
@@ -13342,7 +13349,10 @@ function useReplaceWorkflowIdInUrl() {
13342
13349
  }, [location.pathname]);
13343
13350
  return (0, import_react8.useCallback)(
13344
13351
  (newId) => {
13345
- if (!id) return;
13352
+ if (!id) {
13353
+ navigate(`/workflow/${newId}`);
13354
+ return;
13355
+ }
13346
13356
  const latestPath = latestPathRef.current.replace(`/${id}`, `/${newId}`);
13347
13357
  navigate(latestPath, { replace: true });
13348
13358
  },
@@ -13674,10 +13684,55 @@ var flattenTasks = (tasks) => (Array.isArray(tasks) ? tasks : Object.values(task
13674
13684
  return [task2];
13675
13685
  });
13676
13686
 
13687
+ // src/views/Workflows/Creator/Provider/state/metadata/validation/hooks.ts
13688
+ var import_react10 = require("react");
13689
+
13690
+ // src/hooks/user.ts
13691
+ var import_react_query3 = require("@tanstack/react-query");
13692
+ var import_developer_studio_api17 = require("@livechat/developer-studio-api");
13693
+ var userQueryKeys = {
13694
+ accounts: {
13695
+ account: {
13696
+ getInfo: ["accounts.account.getInfo"]
13697
+ },
13698
+ products: {
13699
+ getOrganizationProducts: ["accounts.products.getOrganizationProducts"]
13700
+ }
13701
+ },
13702
+ dps: {
13703
+ getUser: ["dps.getUser"],
13704
+ getUserIntegrations: ["dps.getUserIntegrations"]
13705
+ }
13706
+ };
13707
+ var useFetchOrganizationProducts = () => {
13708
+ var _b;
13709
+ const _a = (0, import_react_query3.useQuery)(
13710
+ userQueryKeys.accounts.products.getOrganizationProducts,
13711
+ () => import_developer_studio_api17.api.platform.accounts.products.getOrganizationProducts()
13712
+ ), { data, isLoading } = _a, rest = __objRest(_a, ["data", "isLoading"]);
13713
+ return __spreadValues({ data: (_b = data == null ? void 0 : data.data) != null ? _b : [], isLoading }, rest);
13714
+ };
13715
+ var useUpdateOrganizationProducts = () => {
13716
+ const queryClient = (0, import_react_query3.useQueryClient)();
13717
+ const { mutateAsync: updateOrganizationProducts, isLoading } = (0, import_react_query3.useMutation)(
13718
+ ({ productName }) => import_developer_studio_api17.api.platform.accounts.products.updateOrganizationProducts({
13719
+ product: productName
13720
+ }),
13721
+ {
13722
+ onSuccess: (_2) => {
13723
+ void queryClient.refetchQueries({
13724
+ queryKey: userQueryKeys.accounts.products.getOrganizationProducts
13725
+ });
13726
+ }
13727
+ }
13728
+ );
13729
+ return { updateOrganizationProducts, isLoading };
13730
+ };
13731
+
13677
13732
  // src/views/Workflows/Creator/Provider/state/metadata/validation/utils.ts
13678
13733
  var import_ajv = __toESM(require("ajv"));
13679
13734
  var import_ajv_errors = __toESM(require("ajv-errors"));
13680
- var import_developer_studio_api17 = require("@livechat/developer-studio-api");
13735
+ var import_developer_studio_api18 = require("@livechat/developer-studio-api");
13681
13736
  var keywords = {
13682
13737
  urlWithQueryParams: {
13683
13738
  keyword: "queryParams",
@@ -13692,7 +13747,7 @@ var keywords = {
13692
13747
  }
13693
13748
  },
13694
13749
  error: {
13695
- message: () => `This field cannot be empty`,
13750
+ message: () => "This field cannot be empty",
13696
13751
  params: (cxt) => import_ajv._`{ param: ${cxt.params.param} }`
13697
13752
  },
13698
13753
  code(cxt) {
@@ -13824,7 +13879,7 @@ var validateTasks = (workflow, frames, products) => {
13824
13879
  params: {}
13825
13880
  };
13826
13881
  });
13827
- const activationError = (config2 == null ? void 0 : config2.customization.provider.startsWith(import_developer_studio_api17.IntegrationNames.Text)) && !products.find(({ product }) => product === config2.customization.product) ? {
13882
+ const activationError = (config2 == null ? void 0 : config2.customization.provider.startsWith(import_developer_studio_api18.IntegrationNames.Text)) && !products.find(({ product }) => product === config2.customization.product) ? {
13828
13883
  instancePath: baseInstancePath,
13829
13884
  keyword: "activation",
13830
13885
  message: `${config2.customization.product} not activated`,
@@ -13919,7 +13974,7 @@ var validateTrigger = (workflow, frames, products) => {
13919
13974
  params: {}
13920
13975
  };
13921
13976
  });
13922
- const activationError = config2 && config2.customization.provider.startsWith(import_developer_studio_api17.IntegrationNames.Text) && !products.find(({ product }) => product === config2.customization.product) ? {
13977
+ const activationError = config2 && config2.customization.provider.startsWith(import_developer_studio_api18.IntegrationNames.Text) && !products.find(({ product }) => product === config2.customization.product) ? {
13923
13978
  instancePath: "/trigger",
13924
13979
  keyword: "activation",
13925
13980
  message: `${config2.customization.product} not activated`,
@@ -14119,51 +14174,6 @@ var getWorkflowValidation = (workflow, internal, external, validator3) => {
14119
14174
  };
14120
14175
  };
14121
14176
 
14122
- // src/views/Workflows/Creator/Provider/state/metadata/validation/hooks.ts
14123
- var import_react10 = require("react");
14124
-
14125
- // src/hooks/user.ts
14126
- var import_react_query3 = require("@tanstack/react-query");
14127
- var import_developer_studio_api18 = require("@livechat/developer-studio-api");
14128
- var userQueryKeys = {
14129
- accounts: {
14130
- account: {
14131
- getInfo: ["accounts.account.getInfo"]
14132
- },
14133
- products: {
14134
- getOrganizationProducts: ["accounts.products.getOrganizationProducts"]
14135
- }
14136
- },
14137
- dps: {
14138
- getUser: ["dps.getUser"],
14139
- getUserIntegrations: ["dps.getUserIntegrations"]
14140
- }
14141
- };
14142
- var useFetchOrganizationProducts = () => {
14143
- var _b;
14144
- const _a = (0, import_react_query3.useQuery)(
14145
- userQueryKeys.accounts.products.getOrganizationProducts,
14146
- () => import_developer_studio_api18.api.platform.accounts.products.getOrganizationProducts()
14147
- ), { data, isLoading } = _a, rest = __objRest(_a, ["data", "isLoading"]);
14148
- return __spreadValues({ data: (_b = data == null ? void 0 : data.data) != null ? _b : [], isLoading }, rest);
14149
- };
14150
- var useUpdateOrganizationProducts = () => {
14151
- const queryClient = (0, import_react_query3.useQueryClient)();
14152
- const { mutateAsync: updateOrganizationProducts, isLoading } = (0, import_react_query3.useMutation)(
14153
- ({ productName }) => import_developer_studio_api18.api.platform.accounts.products.updateOrganizationProducts({
14154
- product: productName
14155
- }),
14156
- {
14157
- onSuccess: (_2) => {
14158
- void queryClient.refetchQueries({
14159
- queryKey: userQueryKeys.accounts.products.getOrganizationProducts
14160
- });
14161
- }
14162
- }
14163
- );
14164
- return { updateOrganizationProducts, isLoading };
14165
- };
14166
-
14167
14177
  // src/views/Workflows/Creator/Provider/state/metadata/validation/hooks.ts
14168
14178
  function useWorkflowValidator() {
14169
14179
  const organizationProducts = useFetchOrganizationProducts();
@@ -14897,10 +14907,10 @@ function ItemOption({ option, onClick, active }) {
14897
14907
  /* @__PURE__ */ jsx4(
14898
14908
  import_design_system_react_components3.Text,
14899
14909
  {
14900
- noMargin: true,
14901
14910
  "data-testid": WORKFLOWS_TEST_SELECTORS.views.workflows.creator.modals.addTask.taskCard(
14902
14911
  option.key
14903
14912
  ),
14913
+ noMargin: true,
14904
14914
  children: option.name
14905
14915
  }
14906
14916
  ),
@@ -15199,25 +15209,25 @@ function AddWorkflowTaskModal({ basePath, onClose }) {
15199
15209
  height: 500px;
15200
15210
  width: 650px;
15201
15211
  `,
15212
+ "data-testid": WORKFLOWS_TEST_SELECTORS.views.workflows.creator.modals.addTask.wrapper,
15202
15213
  footer: /* @__PURE__ */ jsxs2(import_developer_studio_ui_react7.Row, { flexEnd: true, gap: `var(${import_design_system_react_components4.SpacingToken.Spacing2})`, notPadded: true, children: [
15203
15214
  /* @__PURE__ */ jsx4(import_design_system_react_components4.Button, { kind: "secondary", onClick: onClose, size: "medium", children: "Cancel" }),
15204
15215
  /* @__PURE__ */ jsx4(
15205
15216
  import_design_system_react_components4.Button,
15206
15217
  {
15218
+ "data-testid": WORKFLOWS_TEST_SELECTORS.views.workflows.creator.modals.addTask.saveButton,
15207
15219
  disabled: !(state == null ? void 0 : state.task),
15208
15220
  kind: "primary",
15209
15221
  onClick: () => {
15210
15222
  handleAddTask(state == null ? void 0 : state.task);
15211
15223
  },
15212
15224
  size: "medium",
15213
- "data-testid": WORKFLOWS_TEST_SELECTORS.views.workflows.creator.modals.addTask.saveButton,
15214
15225
  children: "Add task"
15215
15226
  }
15216
15227
  )
15217
15228
  ] }),
15218
15229
  heading: /* @__PURE__ */ jsx4(import_design_system_react_components4.ModalHeader, { title: "Add task" }),
15219
15230
  onClose,
15220
- "data-testid": WORKFLOWS_TEST_SELECTORS.views.workflows.creator.modals.addTask.wrapper,
15221
15231
  children: /* @__PURE__ */ jsxs2(import_developer_studio_ui_react7.Row, { notPadded: true, children: [
15222
15232
  /* @__PURE__ */ jsxs2(
15223
15233
  import_developer_studio_ui_react7.Column,
@@ -15309,10 +15319,10 @@ function AddWorkflowTaskModal({ basePath, onClose }) {
15309
15319
  children: /* @__PURE__ */ jsx4(
15310
15320
  import_developer_studio_ui_react7.Text,
15311
15321
  {
15312
- size: "md",
15313
15322
  "data-testid": WORKFLOWS_TEST_SELECTORS.views.workflows.creator.modals.addTask.taskCategoryButton(
15314
15323
  name
15315
15324
  ),
15325
+ size: "md",
15316
15326
  children: displayName
15317
15327
  }
15318
15328
  )
@@ -15402,10 +15412,10 @@ function ItemOption2({ option, onClick, active }) {
15402
15412
  import_design_system_react_components5.Text,
15403
15413
  {
15404
15414
  bold: true,
15405
- noMargin: true,
15406
15415
  "data-testid": WORKFLOWS_TEST_SELECTORS.views.workflows.creator.modals.addTrigger.triggerCard(
15407
15416
  option.key
15408
15417
  ),
15418
+ noMargin: true,
15409
15419
  children: option.name
15410
15420
  }
15411
15421
  ),
@@ -15636,25 +15646,25 @@ function AddWorkflowTriggerModal({
15636
15646
  height: 500px;
15637
15647
  width: 650px;
15638
15648
  `,
15649
+ "data-testid": WORKFLOWS_TEST_SELECTORS.views.workflows.creator.modals.addTrigger.wrapper,
15639
15650
  footer: /* @__PURE__ */ jsxs2(import_developer_studio_ui_react9.Row, { flexEnd: true, gap: `var(${import_design_system_react_components6.SpacingToken.Spacing2})`, notPadded: true, children: [
15640
15651
  /* @__PURE__ */ jsx4(import_design_system_react_components6.Button, { kind: "secondary", onClick: onClose, size: "medium", children: "Cancel" }),
15641
15652
  /* @__PURE__ */ jsx4(
15642
15653
  import_design_system_react_components6.Button,
15643
15654
  {
15655
+ "data-testid": WORKFLOWS_TEST_SELECTORS.views.workflows.creator.modals.addTrigger.saveButton,
15644
15656
  disabled: !(state == null ? void 0 : state.trigger),
15645
15657
  kind: "primary",
15646
15658
  onClick: () => {
15647
15659
  handleAddTrigger(state == null ? void 0 : state.trigger);
15648
15660
  },
15649
15661
  size: "medium",
15650
- "data-testid": WORKFLOWS_TEST_SELECTORS.views.workflows.creator.modals.addTrigger.saveButton,
15651
15662
  children: "Add trigger"
15652
15663
  }
15653
15664
  )
15654
15665
  ] }),
15655
15666
  heading: /* @__PURE__ */ jsx4(import_design_system_react_components6.ModalHeader, { title: "Add trigger" }),
15656
15667
  onClose,
15657
- "data-testid": WORKFLOWS_TEST_SELECTORS.views.workflows.creator.modals.addTrigger.wrapper,
15658
15668
  children: /* @__PURE__ */ jsxs2(import_developer_studio_ui_react9.Row, { notPadded: true, children: [
15659
15669
  /* @__PURE__ */ jsxs2(
15660
15670
  import_developer_studio_ui_react9.Column,
@@ -15746,10 +15756,10 @@ function AddWorkflowTriggerModal({
15746
15756
  children: /* @__PURE__ */ jsx4(
15747
15757
  import_developer_studio_ui_react9.Text,
15748
15758
  {
15749
- size: "md",
15750
15759
  "data-testid": WORKFLOWS_TEST_SELECTORS.views.workflows.creator.modals.addTrigger.triggerCategoryButton(
15751
15760
  name
15752
15761
  ),
15762
+ size: "md",
15753
15763
  children: displayName
15754
15764
  }
15755
15765
  )
@@ -16028,7 +16038,7 @@ var Modal_default3 = ExecuteWorkflowModal;
16028
16038
  var import_react87 = require("react");
16029
16039
  var import_react_router_dom12 = require("react-router-dom");
16030
16040
 
16031
- // ../../../node_modules/.pnpm/@emotion+styled@11.14.0_@emotion+react@11.14.0_@types+react@18.3.18_react@18.3.1__@types+react@18.3.18_react@18.3.1/node_modules/@emotion/styled/base/dist/emotion-styled-base.esm.js
16041
+ // ../../../node_modules/.pnpm/@emotion+styled@11.14.0_@emotion+react@11.14.0_@types+react@18.3.18_react@18.3.1/node_modules/@emotion/styled/base/dist/emotion-styled-base.esm.js
16032
16042
  var React4 = __toESM(require("react"));
16033
16043
 
16034
16044
  // ../../../node_modules/.pnpm/@emotion+is-prop-valid@1.3.1/node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.js
@@ -16040,7 +16050,7 @@ var isPropValid = /* @__PURE__ */ memoize(
16040
16050
  /* Z+1 */
16041
16051
  );
16042
16052
 
16043
- // ../../../node_modules/.pnpm/@emotion+styled@11.14.0_@emotion+react@11.14.0_@types+react@18.3.18_react@18.3.1__@types+react@18.3.18_react@18.3.1/node_modules/@emotion/styled/base/dist/emotion-styled-base.esm.js
16053
+ // ../../../node_modules/.pnpm/@emotion+styled@11.14.0_@emotion+react@11.14.0_@types+react@18.3.18_react@18.3.1/node_modules/@emotion/styled/base/dist/emotion-styled-base.esm.js
16044
16054
  var isBrowser5 = typeof document !== "undefined";
16045
16055
  var isDevelopment4 = false;
16046
16056
  var testOmitPropsOnStringTag = isPropValid;
@@ -16179,7 +16189,7 @@ var createStyled = function createStyled2(tag, options) {
16179
16189
  };
16180
16190
  };
16181
16191
 
16182
- // ../../../node_modules/.pnpm/@emotion+styled@11.14.0_@emotion+react@11.14.0_@types+react@18.3.18_react@18.3.1__@types+react@18.3.18_react@18.3.1/node_modules/@emotion/styled/dist/emotion-styled.esm.js
16192
+ // ../../../node_modules/.pnpm/@emotion+styled@11.14.0_@emotion+react@11.14.0_@types+react@18.3.18_react@18.3.1/node_modules/@emotion/styled/dist/emotion-styled.esm.js
16183
16193
  var import_extends5 = __toESM(require_extends());
16184
16194
  var import_react22 = require("react");
16185
16195
  var tags = [
@@ -16351,6 +16361,7 @@ function AddTaskNode(node2) {
16351
16361
  /* @__PURE__ */ jsx4(
16352
16362
  import_design_system_react_components10.Button,
16353
16363
  {
16364
+ "data-testid": WORKFLOWS_TEST_SELECTORS.views.workflows.creator.builder.nodes.add.task.button,
16354
16365
  icon: /* @__PURE__ */ jsx4(import_design_system_react_components10.Icon, { size: "large", source: import_design_system_icons5.Add }),
16355
16366
  id: node2.id,
16356
16367
  kind: "secondary",
@@ -16363,7 +16374,6 @@ function AddTaskNode(node2) {
16363
16374
  node2.data.parentTaskReference
16364
16375
  );
16365
16376
  },
16366
- "data-testid": WORKFLOWS_TEST_SELECTORS.views.workflows.creator.builder.nodes.add.task.button,
16367
16377
  children: workflow.definition.tasks.length > 0 ? "" : "Add task"
16368
16378
  }
16369
16379
  ),
@@ -16384,13 +16394,13 @@ function AddTriggerNode(node2) {
16384
16394
  /* @__PURE__ */ jsx4(
16385
16395
  import_design_system_react_components11.Button,
16386
16396
  {
16397
+ "data-testid": WORKFLOWS_TEST_SELECTORS.views.workflows.creator.builder.nodes.add.trigger.button,
16387
16398
  icon: /* @__PURE__ */ jsx4(import_design_system_react_components11.Icon, { size: "large", source: import_design_system_icons6.Add }),
16388
16399
  id: node2.id,
16389
16400
  kind: "primary",
16390
16401
  onClick: () => {
16391
16402
  goToAddTrigger();
16392
16403
  },
16393
- "data-testid": WORKFLOWS_TEST_SELECTORS.views.workflows.creator.builder.nodes.add.trigger.button,
16394
16404
  children: "Add trigger"
16395
16405
  }
16396
16406
  ),
@@ -17861,12 +17871,12 @@ function CustomAddButton(props) {
17861
17871
  return /* @__PURE__ */ jsx4(
17862
17872
  import_design_system_react_components21.Button,
17863
17873
  {
17874
+ disabled: props.disabled,
17864
17875
  icon: /* @__PURE__ */ jsx4(import_design_system_react_components21.Icon, { source: import_design_system_icons11.Add }),
17865
17876
  kind: "secondary",
17866
17877
  onClick: (e) => {
17867
17878
  onClick && onClick(e);
17868
17879
  },
17869
- disabled: props.disabled,
17870
17880
  size: "medium",
17871
17881
  children: "Add property"
17872
17882
  }
@@ -17883,9 +17893,9 @@ function CustomRemoveButton(props) {
17883
17893
  width: var(${import_design_system_react_components21.SpacingToken.Spacing6}) !important;
17884
17894
  padding: 1px;
17885
17895
  `,
17896
+ disabled: props.disabled,
17886
17897
  icon: /* @__PURE__ */ jsx4(import_design_system_react_components21.Icon, { source: import_design_system_icons11.Delete }),
17887
17898
  kind: "text",
17888
- disabled: props.disabled,
17889
17899
  onClick: (e) => {
17890
17900
  onClick && onClick(e);
17891
17901
  }
@@ -17903,9 +17913,9 @@ function CustomMoveUpButton(props) {
17903
17913
  width: var(${import_design_system_react_components21.SpacingToken.Spacing6}) !important;
17904
17914
  padding: 1px;
17905
17915
  `,
17916
+ disabled: props.disabled,
17906
17917
  icon: /* @__PURE__ */ jsx4(import_design_system_react_components21.Icon, { source: import_design_system_icons11.ArrowUpward }),
17907
17918
  kind: "text",
17908
- disabled: props.disabled,
17909
17919
  onClick: (e) => {
17910
17920
  onClick && onClick(e);
17911
17921
  }
@@ -17923,9 +17933,9 @@ function CustomMoveDownButton(props) {
17923
17933
  width: var(${import_design_system_react_components21.SpacingToken.Spacing6}) !important;
17924
17934
  padding: 1px;
17925
17935
  `,
17936
+ disabled: props.disabled,
17926
17937
  icon: /* @__PURE__ */ jsx4(import_design_system_react_components21.Icon, { source: import_design_system_icons11.ArrowDownward }),
17927
17938
  kind: "text",
17928
- disabled: props.disabled,
17929
17939
  onClick: (e) => {
17930
17940
  onClick && onClick(e);
17931
17941
  }
@@ -18037,11 +18047,11 @@ function CustomArrayFieldTemplate(props) {
18037
18047
  uiSchema
18038
18048
  }
18039
18049
  ),
18040
- /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("div", { className: "row array-item-list", children: items == null ? void 0 : items.map((_a) => {
18050
+ /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("div", { className: "row array-item-list", children: items.map((_a) => {
18041
18051
  var _b = _a, { key } = _b, itemProps = __objRest(_b, ["key"]);
18042
18052
  return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(ArrayFieldItemTemplate, __spreadValues({}, itemProps), key);
18043
18053
  }) }),
18044
- canAdd && /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
18054
+ canAdd ? /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
18045
18055
  AddButton,
18046
18056
  {
18047
18057
  className: "array-item-add",
@@ -18050,7 +18060,7 @@ function CustomArrayFieldTemplate(props) {
18050
18060
  registry,
18051
18061
  uiSchema
18052
18062
  }
18053
- )
18063
+ ) : null
18054
18064
  ] });
18055
18065
  }
18056
18066
 
@@ -18322,7 +18332,7 @@ function CustomObjectFieldTemplate(props) {
18322
18332
  const [touched, setTouched] = (0, import_react43.useState)({});
18323
18333
  const newProperties = properties.map((prop) => {
18324
18334
  return __spreadProps(__spreadValues({}, prop), {
18325
- hidden: !(prop.content.props.required || touched[prop.name] || import_utils20.ADDITIONAL_PROPERTY_FLAG in prop.content.props.schema || (Array.isArray(prop.content.props.formData) ? prop.content.props.formData.length > 0 : prop.content.props.formData)),
18335
+ hidden: !(touched[prop.name] || prop.content.props.required || prop.content.props.schema.visible || import_utils20.ADDITIONAL_PROPERTY_FLAG in prop.content.props.schema || (Array.isArray(prop.content.props.formData) ? prop.content.props.formData.length > 0 : prop.content.props.formData)),
18326
18336
  content: __spreadProps(__spreadValues({}, prop.content), {
18327
18337
  props: __spreadProps(__spreadValues({}, prop.content.props), {
18328
18338
  onChange: (value, newErrorSchema, id) => {
@@ -19083,7 +19093,7 @@ function HttpNodeForm({
19083
19093
  onChange,
19084
19094
  readonly
19085
19095
  }) {
19086
- var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t;
19096
+ var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q;
19087
19097
  const spec = (_a = metadata.frame.__meta) == null ? void 0 : _a.config;
19088
19098
  if (data.name === "http") {
19089
19099
  return /* @__PURE__ */ jsx4(
@@ -19132,7 +19142,7 @@ function HttpNodeForm({
19132
19142
  data
19133
19143
  }),
19134
19144
  formData: queryParams,
19135
- formErrors: ((_l = (_k = (_j = metadata.errors) == null ? void 0 : _j.inputParameters) == null ? void 0 : _k.http_request) == null ? void 0 : _l.uri) ? (_o = (_n = (_m = metadata.errors) == null ? void 0 : _m.inputParameters) == null ? void 0 : _n.http_request) == null ? void 0 : _o.uri : void 0,
19145
+ formErrors: ((_l = (_k = (_j = metadata.errors) == null ? void 0 : _j.inputParameters) == null ? void 0 : _k.http_request) == null ? void 0 : _l.uri) ? metadata.errors.inputParameters.http_request.uri : void 0,
19136
19146
  onChange: (formData) => {
19137
19147
  onChange(__spreadProps(__spreadValues({}, data), {
19138
19148
  inputParameters: __spreadProps(__spreadValues({}, data.inputParameters), {
@@ -19146,14 +19156,14 @@ function HttpNodeForm({
19146
19156
  schema: spec.specification.input.properties.query
19147
19157
  }
19148
19158
  ) : void 0,
19149
- ((_q = (_p = spec == null ? void 0 : spec.specification.input) == null ? void 0 : _p.properties) == null ? void 0 : _q.body) ? /* @__PURE__ */ jsx4(
19159
+ ((_n = (_m = spec == null ? void 0 : spec.specification.input) == null ? void 0 : _m.properties) == null ? void 0 : _n.body) ? /* @__PURE__ */ jsx4(
19150
19160
  Form_default,
19151
19161
  {
19152
19162
  formContext: __spreadProps(__spreadValues({}, metadata), {
19153
19163
  data
19154
19164
  }),
19155
19165
  formData: data.inputParameters.http_request.body,
19156
- formErrors: (_t = (_s = (_r = metadata.errors) == null ? void 0 : _r.inputParameters) == null ? void 0 : _s.http_request) == null ? void 0 : _t.body,
19166
+ formErrors: (_q = (_p = (_o = metadata.errors) == null ? void 0 : _o.inputParameters) == null ? void 0 : _p.http_request) == null ? void 0 : _q.body,
19157
19167
  onChange: (formData) => {
19158
19168
  onChange(__spreadProps(__spreadValues({}, data), {
19159
19169
  inputParameters: __spreadProps(__spreadValues({}, data.inputParameters), {
@@ -22673,9 +22683,9 @@ function PublishWorkflowModal({
22673
22683
  return /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(
22674
22684
  import_design_system_react_components64.Modal,
22675
22685
  {
22686
+ "data-testid": WORKFLOWS_TEST_SELECTORS.views.workflows.creator.modals.publish.wrapper,
22676
22687
  heading: true,
22677
22688
  onClose,
22678
- "data-testid": WORKFLOWS_TEST_SELECTORS.views.workflows.creator.modals.publish.wrapper,
22679
22689
  children: /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(
22680
22690
  import_developer_studio_ui_react28.ActionModalContent,
22681
22691
  {
@@ -22683,21 +22693,21 @@ function PublishWorkflowModal({
22683
22693
  /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(
22684
22694
  import_design_system_react_components64.Button,
22685
22695
  {
22696
+ "data-testid": WORKFLOWS_TEST_SELECTORS.views.workflows.creator.modals.publish.cancelButton,
22686
22697
  kind: "secondary",
22687
22698
  onClick: onClose,
22688
- "data-testid": WORKFLOWS_TEST_SELECTORS.views.workflows.creator.modals.publish.cancelButton,
22689
22699
  children: "Cancel"
22690
22700
  }
22691
22701
  ),
22692
22702
  /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(
22693
22703
  import_design_system_react_components64.Button,
22694
22704
  {
22705
+ "data-testid": WORKFLOWS_TEST_SELECTORS.views.workflows.creator.modals.publish.saveButton,
22695
22706
  kind: "primary",
22696
22707
  loading: isPublishing,
22697
22708
  onClick: () => void publishDraft({
22698
22709
  confirmed: true
22699
22710
  }),
22700
- "data-testid": WORKFLOWS_TEST_SELECTORS.views.workflows.creator.modals.publish.saveButton,
22701
22711
  children: "Publish workflow"
22702
22712
  }
22703
22713
  )
@@ -22777,7 +22787,6 @@ function WorkflowExecutionList({
22777
22787
  /* @__PURE__ */ jsx4("td", { children: /* @__PURE__ */ jsx4(
22778
22788
  import_design_system_react_components65.Tag,
22779
22789
  {
22780
- size: "small",
22781
22790
  kind: execution.status === import_developer_studio_api27.WorkflowExecutionStatus.Completed ? "success" : "error",
22782
22791
  leftNode: /* @__PURE__ */ jsx4(
22783
22792
  import_design_system_react_components65.Icon,
@@ -22786,6 +22795,7 @@ function WorkflowExecutionList({
22786
22795
  source: execution.status === import_developer_studio_api27.WorkflowExecutionStatus.Completed ? import_design_system_icons28.CheckCircle : import_design_system_icons28.CloseCircle
22787
22796
  }
22788
22797
  ),
22798
+ size: "small",
22789
22799
  children: execution.status
22790
22800
  }
22791
22801
  ) })
@@ -23524,11 +23534,11 @@ function WorkflowCreatorNavbar() {
23524
23534
  triggerRenderer: /* @__PURE__ */ jsx4(
23525
23535
  import_design_system_react_components70.Switch,
23526
23536
  {
23537
+ "data-testid": WORKFLOWS_TEST_SELECTORS.views.workflows.creator.navbar.activateSwitch,
23527
23538
  on: workflow.active,
23528
23539
  onChange: () => void activate(),
23529
23540
  size: "medium",
23530
- state: isActivating ? "loading" : workflow.draft ? "locked" : "regular",
23531
- "data-testid": WORKFLOWS_TEST_SELECTORS.views.workflows.creator.navbar.activateSwitch
23541
+ state: isActivating ? "loading" : workflow.draft ? "locked" : "regular"
23532
23542
  }
23533
23543
  ),
23534
23544
  children: workflow.draft ? "Publish the draft to activate this workflow" : workflow.active ? "Deactivate flow" : "Activate flow"
@@ -23550,9 +23560,9 @@ function WorkflowCreatorNavbar() {
23550
23560
  triggerRenderer: /* @__PURE__ */ jsx4(
23551
23561
  import_design_system_react_components70.Button,
23552
23562
  {
23563
+ "data-testid": WORKFLOWS_TEST_SELECTORS.views.workflows.creator.navbar.publishButton,
23553
23564
  disabled: true,
23554
23565
  kind: "primary",
23555
- "data-testid": WORKFLOWS_TEST_SELECTORS.views.workflows.creator.navbar.publishButton,
23556
23566
  children: "Publish"
23557
23567
  }
23558
23568
  ),
@@ -23564,6 +23574,7 @@ function WorkflowCreatorNavbar() {
23564
23574
  ) : /* @__PURE__ */ jsx4(
23565
23575
  import_design_system_react_components70.Button,
23566
23576
  {
23577
+ "data-testid": WORKFLOWS_TEST_SELECTORS.views.workflows.creator.navbar.publishButton,
23567
23578
  disabled: !workflow.definition.tasks.length,
23568
23579
  kind: "primary",
23569
23580
  loading: isPublishing,
@@ -23573,12 +23584,12 @@ function WorkflowCreatorNavbar() {
23573
23584
  );
23574
23585
  void publishDraft();
23575
23586
  },
23576
- "data-testid": WORKFLOWS_TEST_SELECTORS.views.workflows.creator.navbar.publishButton,
23577
23587
  children: "Publish"
23578
23588
  }
23579
23589
  ) : /* @__PURE__ */ jsx4(
23580
23590
  import_design_system_react_components70.Button,
23581
23591
  {
23592
+ "data-testid": WORKFLOWS_TEST_SELECTORS.views.workflows.creator.navbar.editButton,
23582
23593
  kind: "primary",
23583
23594
  loading: isCreating,
23584
23595
  onClick: () => {
@@ -23589,7 +23600,6 @@ function WorkflowCreatorNavbar() {
23589
23600
  }
23590
23601
  void createDraft();
23591
23602
  },
23592
- "data-testid": WORKFLOWS_TEST_SELECTORS.views.workflows.creator.navbar.editButton,
23593
23603
  children: "Edit"
23594
23604
  }
23595
23605
  )
package/dist/index.mjs CHANGED
@@ -377,9 +377,9 @@ var require_hoist_non_react_statics_cjs = __commonJS({
377
377
  }
378
378
  });
379
379
 
380
- // ../../../node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/extends.js
380
+ // ../../../node_modules/.pnpm/@babel+runtime@7.26.9/node_modules/@babel/runtime/helpers/extends.js
381
381
  var require_extends = __commonJS({
382
- "../../../node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/extends.js"(exports, module) {
382
+ "../../../node_modules/.pnpm/@babel+runtime@7.26.9/node_modules/@babel/runtime/helpers/extends.js"(exports, module) {
383
383
  "use strict";
384
384
  function _extends2() {
385
385
  return module.exports = _extends2 = Object.assign ? Object.assign.bind() : function(n) {
@@ -1274,7 +1274,7 @@ var createCache = function createCache2(options) {
1274
1274
  return cache;
1275
1275
  };
1276
1276
 
1277
- // ../../../node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/extends.js
1277
+ // ../../../node_modules/.pnpm/@babel+runtime@7.26.9/node_modules/@babel/runtime/helpers/esm/extends.js
1278
1278
  function _extends() {
1279
1279
  return _extends = Object.assign ? Object.assign.bind() : function(n) {
1280
1280
  for (var e = 1; e < arguments.length; e++) {
@@ -5402,9 +5402,7 @@ var webhookSpecs2 = {
5402
5402
  required: [],
5403
5403
  properties: {
5404
5404
  tag: {
5405
- type: "string",
5406
- title: "Tag",
5407
- description: "The name of the tag."
5405
+ $ref: "#/$defs/livechat_tag"
5408
5406
  },
5409
5407
  exact: {
5410
5408
  type: "boolean",
@@ -6063,7 +6061,7 @@ var livechatTriggerTemplates = () => ({
6063
6061
  source: IntegrationNames5.LiveChat,
6064
6062
  event: {
6065
6063
  name: TextLivechatEventNames.ChatTagged,
6066
- tag: "tag",
6064
+ tag: void 0,
6067
6065
  exact: false
6068
6066
  },
6069
6067
  headers: {
@@ -9403,6 +9401,7 @@ var WORKFLOW_SCHEMA_DEFS = {
9403
9401
  type: "string",
9404
9402
  title: "Mailchimp audience ID",
9405
9403
  description: "The unique ID of your audience. <a href='https://mailchimp.com/help/find-audience-id/' target='_blank' rel='noreferrer nofollow'>Here's<a/> how to find it.",
9404
+ visible: true,
9406
9405
  "x-ref": {
9407
9406
  provider: "mailchimp",
9408
9407
  product: "mailchimp",
@@ -9414,7 +9413,8 @@ var WORKFLOW_SCHEMA_DEFS = {
9414
9413
  mailchimp_campaign: {
9415
9414
  type: "string",
9416
9415
  title: "Campaign ID",
9417
- description: `The unique ID for the campaign. You'll find it by going to the Campaigns page in Mailchimp and selecting View Email from the drop-down list for the campaign. The URL indicates the campaign ID by the prefix "id=".`
9416
+ description: `The unique ID for the campaign. You'll find it by going to the Campaigns page in Mailchimp and selecting View Email from the drop-down list for the campaign. The URL indicates the campaign ID by the prefix "id=".`,
9417
+ visible: true
9418
9418
  // TODO WD: it not ready yet, but WIP on BE side
9419
9419
  // 'x-ref': {
9420
9420
  // provider: 'mailchimp',
@@ -9427,6 +9427,7 @@ var WORKFLOW_SCHEMA_DEFS = {
9427
9427
  helpdesk_ticket: {
9428
9428
  title: "Ticket ID",
9429
9429
  type: "string",
9430
+ visible: true,
9430
9431
  "x-ref": {
9431
9432
  provider: "text",
9432
9433
  product: "helpdesk",
@@ -9438,6 +9439,7 @@ var WORKFLOW_SCHEMA_DEFS = {
9438
9439
  helpdesk_tag: {
9439
9440
  title: "Tag",
9440
9441
  type: "string",
9442
+ visible: true,
9441
9443
  "x-ref": {
9442
9444
  provider: "text",
9443
9445
  product: "helpdesk",
@@ -9449,6 +9451,7 @@ var WORKFLOW_SCHEMA_DEFS = {
9449
9451
  helpdesk_agent: {
9450
9452
  title: "Agent",
9451
9453
  type: "string",
9454
+ visible: true,
9452
9455
  "x-ref": {
9453
9456
  provider: "text",
9454
9457
  product: "helpdesk",
@@ -9459,11 +9462,13 @@ var WORKFLOW_SCHEMA_DEFS = {
9459
9462
  },
9460
9463
  livechat_chat_id: {
9461
9464
  title: "Chat ID",
9462
- type: "string"
9465
+ type: "string",
9466
+ visible: true
9463
9467
  },
9464
9468
  livechat_tag: {
9465
9469
  title: "Tag",
9466
9470
  type: "string",
9471
+ visible: true,
9467
9472
  "x-ref": {
9468
9473
  provider: "text",
9469
9474
  product: "livechat",
@@ -9476,6 +9481,7 @@ var WORKFLOW_SCHEMA_DEFS = {
9476
9481
  title: "Agent",
9477
9482
  type: "string",
9478
9483
  format: "email",
9484
+ visible: true,
9479
9485
  "x-ref": {
9480
9486
  provider: "text",
9481
9487
  product: "livechat",
@@ -9487,6 +9493,7 @@ var WORKFLOW_SCHEMA_DEFS = {
9487
9493
  livechat_group: {
9488
9494
  title: "Group",
9489
9495
  type: "number",
9496
+ visible: true,
9490
9497
  "x-ref": {
9491
9498
  provider: "text",
9492
9499
  product: "livechat",
@@ -13305,7 +13312,10 @@ function useReplaceWorkflowIdInUrl() {
13305
13312
  }, [location.pathname]);
13306
13313
  return useCallback(
13307
13314
  (newId) => {
13308
- if (!id) return;
13315
+ if (!id) {
13316
+ navigate(`/workflow/${newId}`);
13317
+ return;
13318
+ }
13309
13319
  const latestPath = latestPathRef.current.replace(`/${id}`, `/${newId}`);
13310
13320
  navigate(latestPath, { replace: true });
13311
13321
  },
@@ -13637,6 +13647,51 @@ var flattenTasks = (tasks) => (Array.isArray(tasks) ? tasks : Object.values(task
13637
13647
  return [task2];
13638
13648
  });
13639
13649
 
13650
+ // src/views/Workflows/Creator/Provider/state/metadata/validation/hooks.ts
13651
+ import { useCallback as useCallback3, useMemo as useMemo2 } from "react";
13652
+
13653
+ // src/hooks/user.ts
13654
+ import { useMutation as useMutation2, useQuery as useQuery3, useQueryClient as useQueryClient2 } from "@tanstack/react-query";
13655
+ import { api as api3 } from "@livechat/developer-studio-api";
13656
+ var userQueryKeys = {
13657
+ accounts: {
13658
+ account: {
13659
+ getInfo: ["accounts.account.getInfo"]
13660
+ },
13661
+ products: {
13662
+ getOrganizationProducts: ["accounts.products.getOrganizationProducts"]
13663
+ }
13664
+ },
13665
+ dps: {
13666
+ getUser: ["dps.getUser"],
13667
+ getUserIntegrations: ["dps.getUserIntegrations"]
13668
+ }
13669
+ };
13670
+ var useFetchOrganizationProducts = () => {
13671
+ var _b;
13672
+ const _a = useQuery3(
13673
+ userQueryKeys.accounts.products.getOrganizationProducts,
13674
+ () => api3.platform.accounts.products.getOrganizationProducts()
13675
+ ), { data, isLoading } = _a, rest = __objRest(_a, ["data", "isLoading"]);
13676
+ return __spreadValues({ data: (_b = data == null ? void 0 : data.data) != null ? _b : [], isLoading }, rest);
13677
+ };
13678
+ var useUpdateOrganizationProducts = () => {
13679
+ const queryClient = useQueryClient2();
13680
+ const { mutateAsync: updateOrganizationProducts, isLoading } = useMutation2(
13681
+ ({ productName }) => api3.platform.accounts.products.updateOrganizationProducts({
13682
+ product: productName
13683
+ }),
13684
+ {
13685
+ onSuccess: (_2) => {
13686
+ void queryClient.refetchQueries({
13687
+ queryKey: userQueryKeys.accounts.products.getOrganizationProducts
13688
+ });
13689
+ }
13690
+ }
13691
+ );
13692
+ return { updateOrganizationProducts, isLoading };
13693
+ };
13694
+
13640
13695
  // src/views/Workflows/Creator/Provider/state/metadata/validation/utils.ts
13641
13696
  import Ajv, { _ } from "ajv";
13642
13697
  import AjvWithErrors from "ajv-errors";
@@ -13655,7 +13710,7 @@ var keywords = {
13655
13710
  }
13656
13711
  },
13657
13712
  error: {
13658
- message: () => `This field cannot be empty`,
13713
+ message: () => "This field cannot be empty",
13659
13714
  params: (cxt) => _`{ param: ${cxt.params.param} }`
13660
13715
  },
13661
13716
  code(cxt) {
@@ -14082,51 +14137,6 @@ var getWorkflowValidation = (workflow, internal, external, validator3) => {
14082
14137
  };
14083
14138
  };
14084
14139
 
14085
- // src/views/Workflows/Creator/Provider/state/metadata/validation/hooks.ts
14086
- import { useCallback as useCallback3, useMemo as useMemo2 } from "react";
14087
-
14088
- // src/hooks/user.ts
14089
- import { useMutation as useMutation2, useQuery as useQuery3, useQueryClient as useQueryClient2 } from "@tanstack/react-query";
14090
- import { api as api3 } from "@livechat/developer-studio-api";
14091
- var userQueryKeys = {
14092
- accounts: {
14093
- account: {
14094
- getInfo: ["accounts.account.getInfo"]
14095
- },
14096
- products: {
14097
- getOrganizationProducts: ["accounts.products.getOrganizationProducts"]
14098
- }
14099
- },
14100
- dps: {
14101
- getUser: ["dps.getUser"],
14102
- getUserIntegrations: ["dps.getUserIntegrations"]
14103
- }
14104
- };
14105
- var useFetchOrganizationProducts = () => {
14106
- var _b;
14107
- const _a = useQuery3(
14108
- userQueryKeys.accounts.products.getOrganizationProducts,
14109
- () => api3.platform.accounts.products.getOrganizationProducts()
14110
- ), { data, isLoading } = _a, rest = __objRest(_a, ["data", "isLoading"]);
14111
- return __spreadValues({ data: (_b = data == null ? void 0 : data.data) != null ? _b : [], isLoading }, rest);
14112
- };
14113
- var useUpdateOrganizationProducts = () => {
14114
- const queryClient = useQueryClient2();
14115
- const { mutateAsync: updateOrganizationProducts, isLoading } = useMutation2(
14116
- ({ productName }) => api3.platform.accounts.products.updateOrganizationProducts({
14117
- product: productName
14118
- }),
14119
- {
14120
- onSuccess: (_2) => {
14121
- void queryClient.refetchQueries({
14122
- queryKey: userQueryKeys.accounts.products.getOrganizationProducts
14123
- });
14124
- }
14125
- }
14126
- );
14127
- return { updateOrganizationProducts, isLoading };
14128
- };
14129
-
14130
14140
  // src/views/Workflows/Creator/Provider/state/metadata/validation/hooks.ts
14131
14141
  function useWorkflowValidator() {
14132
14142
  const organizationProducts = useFetchOrganizationProducts();
@@ -14866,10 +14876,10 @@ function ItemOption({ option, onClick, active }) {
14866
14876
  /* @__PURE__ */ jsx4(
14867
14877
  Text2,
14868
14878
  {
14869
- noMargin: true,
14870
14879
  "data-testid": WORKFLOWS_TEST_SELECTORS.views.workflows.creator.modals.addTask.taskCard(
14871
14880
  option.key
14872
14881
  ),
14882
+ noMargin: true,
14873
14883
  children: option.name
14874
14884
  }
14875
14885
  ),
@@ -15168,25 +15178,25 @@ function AddWorkflowTaskModal({ basePath, onClose }) {
15168
15178
  height: 500px;
15169
15179
  width: 650px;
15170
15180
  `,
15181
+ "data-testid": WORKFLOWS_TEST_SELECTORS.views.workflows.creator.modals.addTask.wrapper,
15171
15182
  footer: /* @__PURE__ */ jsxs2(Row2, { flexEnd: true, gap: `var(${SpacingToken3.Spacing2})`, notPadded: true, children: [
15172
15183
  /* @__PURE__ */ jsx4(Button2, { kind: "secondary", onClick: onClose, size: "medium", children: "Cancel" }),
15173
15184
  /* @__PURE__ */ jsx4(
15174
15185
  Button2,
15175
15186
  {
15187
+ "data-testid": WORKFLOWS_TEST_SELECTORS.views.workflows.creator.modals.addTask.saveButton,
15176
15188
  disabled: !(state == null ? void 0 : state.task),
15177
15189
  kind: "primary",
15178
15190
  onClick: () => {
15179
15191
  handleAddTask(state == null ? void 0 : state.task);
15180
15192
  },
15181
15193
  size: "medium",
15182
- "data-testid": WORKFLOWS_TEST_SELECTORS.views.workflows.creator.modals.addTask.saveButton,
15183
15194
  children: "Add task"
15184
15195
  }
15185
15196
  )
15186
15197
  ] }),
15187
15198
  heading: /* @__PURE__ */ jsx4(ModalHeader, { title: "Add task" }),
15188
15199
  onClose,
15189
- "data-testid": WORKFLOWS_TEST_SELECTORS.views.workflows.creator.modals.addTask.wrapper,
15190
15200
  children: /* @__PURE__ */ jsxs2(Row2, { notPadded: true, children: [
15191
15201
  /* @__PURE__ */ jsxs2(
15192
15202
  Column3,
@@ -15278,10 +15288,10 @@ function AddWorkflowTaskModal({ basePath, onClose }) {
15278
15288
  children: /* @__PURE__ */ jsx4(
15279
15289
  Text3,
15280
15290
  {
15281
- size: "md",
15282
15291
  "data-testid": WORKFLOWS_TEST_SELECTORS.views.workflows.creator.modals.addTask.taskCategoryButton(
15283
15292
  name
15284
15293
  ),
15294
+ size: "md",
15285
15295
  children: displayName
15286
15296
  }
15287
15297
  )
@@ -15393,10 +15403,10 @@ function ItemOption2({ option, onClick, active }) {
15393
15403
  Text4,
15394
15404
  {
15395
15405
  bold: true,
15396
- noMargin: true,
15397
15406
  "data-testid": WORKFLOWS_TEST_SELECTORS.views.workflows.creator.modals.addTrigger.triggerCard(
15398
15407
  option.key
15399
15408
  ),
15409
+ noMargin: true,
15400
15410
  children: option.name
15401
15411
  }
15402
15412
  ),
@@ -15627,25 +15637,25 @@ function AddWorkflowTriggerModal({
15627
15637
  height: 500px;
15628
15638
  width: 650px;
15629
15639
  `,
15640
+ "data-testid": WORKFLOWS_TEST_SELECTORS.views.workflows.creator.modals.addTrigger.wrapper,
15630
15641
  footer: /* @__PURE__ */ jsxs2(Row3, { flexEnd: true, gap: `var(${SpacingToken5.Spacing2})`, notPadded: true, children: [
15631
15642
  /* @__PURE__ */ jsx4(Button3, { kind: "secondary", onClick: onClose, size: "medium", children: "Cancel" }),
15632
15643
  /* @__PURE__ */ jsx4(
15633
15644
  Button3,
15634
15645
  {
15646
+ "data-testid": WORKFLOWS_TEST_SELECTORS.views.workflows.creator.modals.addTrigger.saveButton,
15635
15647
  disabled: !(state == null ? void 0 : state.trigger),
15636
15648
  kind: "primary",
15637
15649
  onClick: () => {
15638
15650
  handleAddTrigger(state == null ? void 0 : state.trigger);
15639
15651
  },
15640
15652
  size: "medium",
15641
- "data-testid": WORKFLOWS_TEST_SELECTORS.views.workflows.creator.modals.addTrigger.saveButton,
15642
15653
  children: "Add trigger"
15643
15654
  }
15644
15655
  )
15645
15656
  ] }),
15646
15657
  heading: /* @__PURE__ */ jsx4(ModalHeader2, { title: "Add trigger" }),
15647
15658
  onClose,
15648
- "data-testid": WORKFLOWS_TEST_SELECTORS.views.workflows.creator.modals.addTrigger.wrapper,
15649
15659
  children: /* @__PURE__ */ jsxs2(Row3, { notPadded: true, children: [
15650
15660
  /* @__PURE__ */ jsxs2(
15651
15661
  Column5,
@@ -15737,10 +15747,10 @@ function AddWorkflowTriggerModal({
15737
15747
  children: /* @__PURE__ */ jsx4(
15738
15748
  Text5,
15739
15749
  {
15740
- size: "md",
15741
15750
  "data-testid": WORKFLOWS_TEST_SELECTORS.views.workflows.creator.modals.addTrigger.triggerCategoryButton(
15742
15751
  name
15743
15752
  ),
15753
+ size: "md",
15744
15754
  children: displayName
15745
15755
  }
15746
15756
  )
@@ -16044,7 +16054,7 @@ var Modal_default3 = ExecuteWorkflowModal;
16044
16054
  import { useCallback as useCallback16 } from "react";
16045
16055
  import { useNavigate as useNavigate10 } from "react-router-dom";
16046
16056
 
16047
- // ../../../node_modules/.pnpm/@emotion+styled@11.14.0_@emotion+react@11.14.0_@types+react@18.3.18_react@18.3.1__@types+react@18.3.18_react@18.3.1/node_modules/@emotion/styled/base/dist/emotion-styled-base.esm.js
16057
+ // ../../../node_modules/.pnpm/@emotion+styled@11.14.0_@emotion+react@11.14.0_@types+react@18.3.18_react@18.3.1/node_modules/@emotion/styled/base/dist/emotion-styled-base.esm.js
16048
16058
  import * as React4 from "react";
16049
16059
 
16050
16060
  // ../../../node_modules/.pnpm/@emotion+is-prop-valid@1.3.1/node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.js
@@ -16056,7 +16066,7 @@ var isPropValid = /* @__PURE__ */ memoize(
16056
16066
  /* Z+1 */
16057
16067
  );
16058
16068
 
16059
- // ../../../node_modules/.pnpm/@emotion+styled@11.14.0_@emotion+react@11.14.0_@types+react@18.3.18_react@18.3.1__@types+react@18.3.18_react@18.3.1/node_modules/@emotion/styled/base/dist/emotion-styled-base.esm.js
16069
+ // ../../../node_modules/.pnpm/@emotion+styled@11.14.0_@emotion+react@11.14.0_@types+react@18.3.18_react@18.3.1/node_modules/@emotion/styled/base/dist/emotion-styled-base.esm.js
16060
16070
  var isBrowser5 = typeof document !== "undefined";
16061
16071
  var isDevelopment4 = false;
16062
16072
  var testOmitPropsOnStringTag = isPropValid;
@@ -16195,7 +16205,7 @@ var createStyled = function createStyled2(tag, options) {
16195
16205
  };
16196
16206
  };
16197
16207
 
16198
- // ../../../node_modules/.pnpm/@emotion+styled@11.14.0_@emotion+react@11.14.0_@types+react@18.3.18_react@18.3.1__@types+react@18.3.18_react@18.3.1/node_modules/@emotion/styled/dist/emotion-styled.esm.js
16208
+ // ../../../node_modules/.pnpm/@emotion+styled@11.14.0_@emotion+react@11.14.0_@types+react@18.3.18_react@18.3.1/node_modules/@emotion/styled/dist/emotion-styled.esm.js
16199
16209
  var import_extends5 = __toESM(require_extends());
16200
16210
  import "react";
16201
16211
  var tags = [
@@ -16380,6 +16390,7 @@ function AddTaskNode(node2) {
16380
16390
  /* @__PURE__ */ jsx4(
16381
16391
  Button7,
16382
16392
  {
16393
+ "data-testid": WORKFLOWS_TEST_SELECTORS.views.workflows.creator.builder.nodes.add.task.button,
16383
16394
  icon: /* @__PURE__ */ jsx4(Icon4, { size: "large", source: Add }),
16384
16395
  id: node2.id,
16385
16396
  kind: "secondary",
@@ -16392,7 +16403,6 @@ function AddTaskNode(node2) {
16392
16403
  node2.data.parentTaskReference
16393
16404
  );
16394
16405
  },
16395
- "data-testid": WORKFLOWS_TEST_SELECTORS.views.workflows.creator.builder.nodes.add.task.button,
16396
16406
  children: workflow.definition.tasks.length > 0 ? "" : "Add task"
16397
16407
  }
16398
16408
  ),
@@ -16413,13 +16423,13 @@ function AddTriggerNode(node2) {
16413
16423
  /* @__PURE__ */ jsx4(
16414
16424
  Button8,
16415
16425
  {
16426
+ "data-testid": WORKFLOWS_TEST_SELECTORS.views.workflows.creator.builder.nodes.add.trigger.button,
16416
16427
  icon: /* @__PURE__ */ jsx4(Icon5, { size: "large", source: Add2 }),
16417
16428
  id: node2.id,
16418
16429
  kind: "primary",
16419
16430
  onClick: () => {
16420
16431
  goToAddTrigger();
16421
16432
  },
16422
- "data-testid": WORKFLOWS_TEST_SELECTORS.views.workflows.creator.builder.nodes.add.trigger.button,
16423
16433
  children: "Add trigger"
16424
16434
  }
16425
16435
  ),
@@ -17928,12 +17938,12 @@ function CustomAddButton(props) {
17928
17938
  return /* @__PURE__ */ jsx4(
17929
17939
  Button12,
17930
17940
  {
17941
+ disabled: props.disabled,
17931
17942
  icon: /* @__PURE__ */ jsx4(Icon10, { source: Add5 }),
17932
17943
  kind: "secondary",
17933
17944
  onClick: (e) => {
17934
17945
  onClick && onClick(e);
17935
17946
  },
17936
- disabled: props.disabled,
17937
17947
  size: "medium",
17938
17948
  children: "Add property"
17939
17949
  }
@@ -17950,9 +17960,9 @@ function CustomRemoveButton(props) {
17950
17960
  width: var(${SpacingToken12.Spacing6}) !important;
17951
17961
  padding: 1px;
17952
17962
  `,
17963
+ disabled: props.disabled,
17953
17964
  icon: /* @__PURE__ */ jsx4(Icon10, { source: Delete }),
17954
17965
  kind: "text",
17955
- disabled: props.disabled,
17956
17966
  onClick: (e) => {
17957
17967
  onClick && onClick(e);
17958
17968
  }
@@ -17970,9 +17980,9 @@ function CustomMoveUpButton(props) {
17970
17980
  width: var(${SpacingToken12.Spacing6}) !important;
17971
17981
  padding: 1px;
17972
17982
  `,
17983
+ disabled: props.disabled,
17973
17984
  icon: /* @__PURE__ */ jsx4(Icon10, { source: ArrowUpward }),
17974
17985
  kind: "text",
17975
- disabled: props.disabled,
17976
17986
  onClick: (e) => {
17977
17987
  onClick && onClick(e);
17978
17988
  }
@@ -17990,9 +18000,9 @@ function CustomMoveDownButton(props) {
17990
18000
  width: var(${SpacingToken12.Spacing6}) !important;
17991
18001
  padding: 1px;
17992
18002
  `,
18003
+ disabled: props.disabled,
17993
18004
  icon: /* @__PURE__ */ jsx4(Icon10, { source: ArrowDownward }),
17994
18005
  kind: "text",
17995
- disabled: props.disabled,
17996
18006
  onClick: (e) => {
17997
18007
  onClick && onClick(e);
17998
18008
  }
@@ -18107,11 +18117,11 @@ function CustomArrayFieldTemplate(props) {
18107
18117
  uiSchema
18108
18118
  }
18109
18119
  ),
18110
- /* @__PURE__ */ jsx10("div", { className: "row array-item-list", children: items == null ? void 0 : items.map((_a) => {
18120
+ /* @__PURE__ */ jsx10("div", { className: "row array-item-list", children: items.map((_a) => {
18111
18121
  var _b = _a, { key } = _b, itemProps = __objRest(_b, ["key"]);
18112
18122
  return /* @__PURE__ */ jsx10(ArrayFieldItemTemplate, __spreadValues({}, itemProps), key);
18113
18123
  }) }),
18114
- canAdd && /* @__PURE__ */ jsx10(
18124
+ canAdd ? /* @__PURE__ */ jsx10(
18115
18125
  AddButton,
18116
18126
  {
18117
18127
  className: "array-item-add",
@@ -18120,7 +18130,7 @@ function CustomArrayFieldTemplate(props) {
18120
18130
  registry,
18121
18131
  uiSchema
18122
18132
  }
18123
- )
18133
+ ) : null
18124
18134
  ] });
18125
18135
  }
18126
18136
 
@@ -18404,7 +18414,7 @@ function CustomObjectFieldTemplate(props) {
18404
18414
  const [touched, setTouched] = useState13({});
18405
18415
  const newProperties = properties.map((prop) => {
18406
18416
  return __spreadProps(__spreadValues({}, prop), {
18407
- hidden: !(prop.content.props.required || touched[prop.name] || ADDITIONAL_PROPERTY_FLAG3 in prop.content.props.schema || (Array.isArray(prop.content.props.formData) ? prop.content.props.formData.length > 0 : prop.content.props.formData)),
18417
+ hidden: !(touched[prop.name] || prop.content.props.required || prop.content.props.schema.visible || ADDITIONAL_PROPERTY_FLAG3 in prop.content.props.schema || (Array.isArray(prop.content.props.formData) ? prop.content.props.formData.length > 0 : prop.content.props.formData)),
18408
18418
  content: __spreadProps(__spreadValues({}, prop.content), {
18409
18419
  props: __spreadProps(__spreadValues({}, prop.content.props), {
18410
18420
  onChange: (value, newErrorSchema, id) => {
@@ -19197,7 +19207,7 @@ function HttpNodeForm({
19197
19207
  onChange,
19198
19208
  readonly
19199
19209
  }) {
19200
- var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t;
19210
+ var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q;
19201
19211
  const spec = (_a = metadata.frame.__meta) == null ? void 0 : _a.config;
19202
19212
  if (data.name === "http") {
19203
19213
  return /* @__PURE__ */ jsx4(
@@ -19246,7 +19256,7 @@ function HttpNodeForm({
19246
19256
  data
19247
19257
  }),
19248
19258
  formData: queryParams,
19249
- formErrors: ((_l = (_k = (_j = metadata.errors) == null ? void 0 : _j.inputParameters) == null ? void 0 : _k.http_request) == null ? void 0 : _l.uri) ? (_o = (_n = (_m = metadata.errors) == null ? void 0 : _m.inputParameters) == null ? void 0 : _n.http_request) == null ? void 0 : _o.uri : void 0,
19259
+ formErrors: ((_l = (_k = (_j = metadata.errors) == null ? void 0 : _j.inputParameters) == null ? void 0 : _k.http_request) == null ? void 0 : _l.uri) ? metadata.errors.inputParameters.http_request.uri : void 0,
19250
19260
  onChange: (formData) => {
19251
19261
  onChange(__spreadProps(__spreadValues({}, data), {
19252
19262
  inputParameters: __spreadProps(__spreadValues({}, data.inputParameters), {
@@ -19260,14 +19270,14 @@ function HttpNodeForm({
19260
19270
  schema: spec.specification.input.properties.query
19261
19271
  }
19262
19272
  ) : void 0,
19263
- ((_q = (_p = spec == null ? void 0 : spec.specification.input) == null ? void 0 : _p.properties) == null ? void 0 : _q.body) ? /* @__PURE__ */ jsx4(
19273
+ ((_n = (_m = spec == null ? void 0 : spec.specification.input) == null ? void 0 : _m.properties) == null ? void 0 : _n.body) ? /* @__PURE__ */ jsx4(
19264
19274
  Form_default,
19265
19275
  {
19266
19276
  formContext: __spreadProps(__spreadValues({}, metadata), {
19267
19277
  data
19268
19278
  }),
19269
19279
  formData: data.inputParameters.http_request.body,
19270
- formErrors: (_t = (_s = (_r = metadata.errors) == null ? void 0 : _r.inputParameters) == null ? void 0 : _s.http_request) == null ? void 0 : _t.body,
19280
+ formErrors: (_q = (_p = (_o = metadata.errors) == null ? void 0 : _o.inputParameters) == null ? void 0 : _p.http_request) == null ? void 0 : _q.body,
19271
19281
  onChange: (formData) => {
19272
19282
  onChange(__spreadProps(__spreadValues({}, data), {
19273
19283
  inputParameters: __spreadProps(__spreadValues({}, data.inputParameters), {
@@ -22875,9 +22885,9 @@ function PublishWorkflowModal({
22875
22885
  return /* @__PURE__ */ jsx15(
22876
22886
  Modal7,
22877
22887
  {
22888
+ "data-testid": WORKFLOWS_TEST_SELECTORS.views.workflows.creator.modals.publish.wrapper,
22878
22889
  heading: true,
22879
22890
  onClose,
22880
- "data-testid": WORKFLOWS_TEST_SELECTORS.views.workflows.creator.modals.publish.wrapper,
22881
22891
  children: /* @__PURE__ */ jsx15(
22882
22892
  ActionModalContent3,
22883
22893
  {
@@ -22885,21 +22895,21 @@ function PublishWorkflowModal({
22885
22895
  /* @__PURE__ */ jsx15(
22886
22896
  Button24,
22887
22897
  {
22898
+ "data-testid": WORKFLOWS_TEST_SELECTORS.views.workflows.creator.modals.publish.cancelButton,
22888
22899
  kind: "secondary",
22889
22900
  onClick: onClose,
22890
- "data-testid": WORKFLOWS_TEST_SELECTORS.views.workflows.creator.modals.publish.cancelButton,
22891
22901
  children: "Cancel"
22892
22902
  }
22893
22903
  ),
22894
22904
  /* @__PURE__ */ jsx15(
22895
22905
  Button24,
22896
22906
  {
22907
+ "data-testid": WORKFLOWS_TEST_SELECTORS.views.workflows.creator.modals.publish.saveButton,
22897
22908
  kind: "primary",
22898
22909
  loading: isPublishing,
22899
22910
  onClick: () => void publishDraft({
22900
22911
  confirmed: true
22901
22912
  }),
22902
- "data-testid": WORKFLOWS_TEST_SELECTORS.views.workflows.creator.modals.publish.saveButton,
22903
22913
  children: "Publish workflow"
22904
22914
  }
22905
22915
  )
@@ -23003,7 +23013,6 @@ function WorkflowExecutionList({
23003
23013
  /* @__PURE__ */ jsx4("td", { children: /* @__PURE__ */ jsx4(
23004
23014
  Tag2,
23005
23015
  {
23006
- size: "small",
23007
23016
  kind: execution.status === WorkflowExecutionStatus.Completed ? "success" : "error",
23008
23017
  leftNode: /* @__PURE__ */ jsx4(
23009
23018
  Icon27,
@@ -23012,6 +23021,7 @@ function WorkflowExecutionList({
23012
23021
  source: execution.status === WorkflowExecutionStatus.Completed ? CheckCircle2 : CloseCircle2
23013
23022
  }
23014
23023
  ),
23024
+ size: "small",
23015
23025
  children: execution.status
23016
23026
  }
23017
23027
  ) })
@@ -23784,11 +23794,11 @@ function WorkflowCreatorNavbar() {
23784
23794
  triggerRenderer: /* @__PURE__ */ jsx4(
23785
23795
  Switch,
23786
23796
  {
23797
+ "data-testid": WORKFLOWS_TEST_SELECTORS.views.workflows.creator.navbar.activateSwitch,
23787
23798
  on: workflow.active,
23788
23799
  onChange: () => void activate(),
23789
23800
  size: "medium",
23790
- state: isActivating ? "loading" : workflow.draft ? "locked" : "regular",
23791
- "data-testid": WORKFLOWS_TEST_SELECTORS.views.workflows.creator.navbar.activateSwitch
23801
+ state: isActivating ? "loading" : workflow.draft ? "locked" : "regular"
23792
23802
  }
23793
23803
  ),
23794
23804
  children: workflow.draft ? "Publish the draft to activate this workflow" : workflow.active ? "Deactivate flow" : "Activate flow"
@@ -23810,9 +23820,9 @@ function WorkflowCreatorNavbar() {
23810
23820
  triggerRenderer: /* @__PURE__ */ jsx4(
23811
23821
  Button28,
23812
23822
  {
23823
+ "data-testid": WORKFLOWS_TEST_SELECTORS.views.workflows.creator.navbar.publishButton,
23813
23824
  disabled: true,
23814
23825
  kind: "primary",
23815
- "data-testid": WORKFLOWS_TEST_SELECTORS.views.workflows.creator.navbar.publishButton,
23816
23826
  children: "Publish"
23817
23827
  }
23818
23828
  ),
@@ -23824,6 +23834,7 @@ function WorkflowCreatorNavbar() {
23824
23834
  ) : /* @__PURE__ */ jsx4(
23825
23835
  Button28,
23826
23836
  {
23837
+ "data-testid": WORKFLOWS_TEST_SELECTORS.views.workflows.creator.navbar.publishButton,
23827
23838
  disabled: !workflow.definition.tasks.length,
23828
23839
  kind: "primary",
23829
23840
  loading: isPublishing,
@@ -23833,12 +23844,12 @@ function WorkflowCreatorNavbar() {
23833
23844
  );
23834
23845
  void publishDraft();
23835
23846
  },
23836
- "data-testid": WORKFLOWS_TEST_SELECTORS.views.workflows.creator.navbar.publishButton,
23837
23847
  children: "Publish"
23838
23848
  }
23839
23849
  ) : /* @__PURE__ */ jsx4(
23840
23850
  Button28,
23841
23851
  {
23852
+ "data-testid": WORKFLOWS_TEST_SELECTORS.views.workflows.creator.navbar.editButton,
23842
23853
  kind: "primary",
23843
23854
  loading: isCreating,
23844
23855
  onClick: () => {
@@ -23849,7 +23860,6 @@ function WorkflowCreatorNavbar() {
23849
23860
  }
23850
23861
  void createDraft();
23851
23862
  },
23852
- "data-testid": WORKFLOWS_TEST_SELECTORS.views.workflows.creator.navbar.editButton,
23853
23863
  children: "Edit"
23854
23864
  }
23855
23865
  )
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@livechat/platform-workflows",
3
- "version": "0.0.90",
3
+ "version": "0.0.91",
4
4
  "description": "Text Platform | Workflows",
5
5
  "author": "Wojciech Dudek",
6
6
  "license": "MIT",
@@ -86,9 +86,9 @@
86
86
  "uuid": "^9.0.1",
87
87
  "validator": "^13.12.0",
88
88
  "web-worker": "^1.3.0",
89
- "@livechat/developer-studio-api": "3.4.15",
90
- "@livechat/developer-studio-ui-react": "1.1.6",
91
- "@livechat/platform-integrations": "0.0.53"
89
+ "@livechat/developer-studio-api": "3.4.16",
90
+ "@livechat/developer-studio-ui-react": "1.1.7",
91
+ "@livechat/platform-integrations": "0.0.54"
92
92
  },
93
93
  "peerDependencies": {
94
94
  "@tanstack/react-query": "4.36.1",