app-v3-scripts-editor 1.36.4 → 1.36.6
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/app-v3-scripts-editor.es.js +20914 -20820
- package/dist/app-v3-scripts-editor.umd.js +165 -165
- package/dist/src/lib/components/Blocks/Callbot/action/setting/CampaignSelect.d.ts +5 -0
- package/dist/src/lib/components/Blocks/Callbot/action/types.d.ts +1 -0
- package/dist/src/lib/components/Blocks/Contact/assign/types.d.ts +1 -0
- package/dist/src/lib/components/Selector/User/variable.d.ts +4 -0
- package/dist/src/lib/components/Shared/CallbotGroupCondition/ConditionPropertySelect.d.ts +2 -0
- package/dist/src/lib/components/Shared/FieldSetting/inputByType.d.ts +1 -0
- package/dist/src/lib/components/Shared/FieldSetting/item.d.ts +1 -0
- package/dist/src/lib/constants/initial-script.d.ts +1 -0
- package/dist/src/lib/constants/regex.d.ts +1 -0
- package/dist/src/services/types.d.ts +5 -0
- package/package.json +1 -1
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { default as CampaignSelector } from '../../../../Selector/Campaign';
|
|
3
|
+
type CampaignSelectProps = React.ComponentProps<typeof CampaignSelector>;
|
|
4
|
+
declare const CallbotCampaignSelect: React.FC<CampaignSelectProps>;
|
|
5
|
+
export default CallbotCampaignSelect;
|
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
import { IProfile } from '../../../../services';
|
|
2
2
|
import { VariableSuggestSelectProps } from '../../Shared/VariableSuggestSelect';
|
|
3
|
+
type UserVariableValueKey = {
|
|
4
|
+
[Key in keyof IProfile]: NonNullable<IProfile[Key]> extends string | number ? Key : never;
|
|
5
|
+
}[keyof IProfile];
|
|
3
6
|
type UserVariableSelectorProps = {
|
|
4
7
|
dataDefault?: IProfile | IProfile[];
|
|
5
8
|
exclusiveTabSelection?: boolean;
|
|
9
|
+
valueKey?: UserVariableValueKey;
|
|
6
10
|
} & Omit<VariableSuggestSelectProps, "options" | "defaultOptions" | "onSearch" | "tagRender">;
|
|
7
11
|
declare const UserVariableSelector: React.FC<UserVariableSelectorProps>;
|
|
8
12
|
export default UserVariableSelector;
|
|
@@ -8,6 +8,7 @@ type FieldSettingItemContainerProps = {
|
|
|
8
8
|
allProperty: IPropertyV2[];
|
|
9
9
|
formListName: string;
|
|
10
10
|
locked?: boolean;
|
|
11
|
+
objectType?: "CRM" | "CALLBOT";
|
|
11
12
|
};
|
|
12
13
|
declare const FieldSettingItemContainer: React.FC<FieldSettingItemContainerProps>;
|
|
13
14
|
export default FieldSettingItemContainer;
|
|
@@ -260,6 +260,10 @@ export interface ICompany {
|
|
|
260
260
|
}
|
|
261
261
|
export interface IProfile {
|
|
262
262
|
id: string;
|
|
263
|
+
profile: string;
|
|
264
|
+
user: string;
|
|
265
|
+
user_name?: string;
|
|
266
|
+
is_active?: boolean;
|
|
263
267
|
email: string;
|
|
264
268
|
phone_number: string;
|
|
265
269
|
company: ICompany;
|
|
@@ -313,6 +317,7 @@ export interface IOutput {
|
|
|
313
317
|
node_type?: BlockType;
|
|
314
318
|
order?: number;
|
|
315
319
|
output_mode?: string[];
|
|
320
|
+
is_updated?: boolean;
|
|
316
321
|
}[];
|
|
317
322
|
output_mode?: string[];
|
|
318
323
|
}
|