app-v3-scripts-editor 1.37.8 → 1.38.1

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.
@@ -2,13 +2,13 @@ import { Node, NodeProps } from '@xyflow/react';
2
2
  import { IFilterGroup, INodeBaseType } from '../../../../services';
3
3
  import { BlockTypeProps } from '../../../constants';
4
4
  export declare enum TRIGGER_CALLBOT_CUSTOMER_ACTION_TYPE {
5
- UPDATED_BY_CONDITION = "updated_by_condition"
5
+ UPDATED = "updated"
6
6
  }
7
7
  export declare const CallbotCustomerTypeLabel: {
8
- updated_by_condition: string;
8
+ updated: string;
9
9
  };
10
10
  export declare const CallbotCustomerTypeDescription: {
11
- updated_by_condition: string;
11
+ updated: string;
12
12
  };
13
13
  export declare const CallbotCustomerTypeList: TRIGGER_CALLBOT_CUSTOMER_ACTION_TYPE[];
14
14
  export interface CallbotCustomerNodeData extends INodeBaseType, Record<string, unknown> {
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Returns a function that generates a unique title for a new node.
3
+ * If `baseTitle` already exists among current nodes, appends "(1)", "(2)", ...
4
+ * Increments until a non-duplicate title is found.
5
+ *
6
+ * Usage:
7
+ * const getUniqueTitle = useUniqueTitle()
8
+ * const title = getUniqueTitle("Node nói") // → "Node nói" or "Node nói (1)", "Node nói (2)", ...
9
+ */
10
+ export declare function useUniqueTitle(): (baseTitle: string) => string;
11
+ export default useUniqueTitle;
@@ -442,6 +442,7 @@ export type IPropertyCallCampaignCustomer = {
442
442
  };
443
443
  slug?: string;
444
444
  type?: DATA_TYPE_PROPERTY;
445
+ is_trigger_automation?: boolean;
445
446
  };
446
447
  export interface IConnector {
447
448
  id?: number;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "app-v3-scripts-editor",
3
3
  "private": false,
4
- "version": "1.37.8",
4
+ "version": "1.38.1",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+https://github.com/ucall-asia/app-v3-scripts-editor.git"