@clikvn/agent-widget-embedded 1.1.5-dev-06 → 1.1.5-dev-07
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Message.d.ts","sourceRoot":"","sources":["../../../src/components/Chat/Message.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,EAAE,EAAsB,MAAM,OAAO,CAAC;AAG/C,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAC/C,OAAO,EAAE,eAAe,EAAa,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"Message.d.ts","sourceRoot":"","sources":["../../../src/components/Chat/Message.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,EAAE,EAAsB,MAAM,OAAO,CAAC;AAG/C,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAC/C,OAAO,EAAE,eAAe,EAAa,MAAM,0BAA0B,CAAC;AAkCtE,KAAK,SAAS,GAAG;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,eAAe,CAAC;IACzB,SAAS,EAAE,OAAO,CAAC;IACnB,GAAG,EAAE,OAAO,GAAG,IAAI,CAAC;IACpB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,EAAE,CAAC,SAAS,CA8LxC,CAAC;AAEF,eAAO,MAAM,eAAe,YAAa;IAAE,GAAG,EAAE,OAAO,GAAG,IAAI,CAAA;CAAE,4CAyC/D,CAAC"}
|
|
@@ -5,16 +5,25 @@ export declare const LOCATION_TOOLS: {
|
|
|
5
5
|
readonly GET_ASSIGNED_LOCATION_DETAIL: "get_assigned_location_detail";
|
|
6
6
|
readonly SEARCH_TRAVELING_PLACES: "search-traveling-places";
|
|
7
7
|
};
|
|
8
|
-
export declare const
|
|
8
|
+
export declare const DISPLAY_PRODUCT_LIST_TOOL_PREFIXES: {
|
|
9
9
|
readonly RENDER_PRODUCTS: "render_products";
|
|
10
|
+
readonly DISPLAY_PRODUCTS: "display_products";
|
|
10
11
|
};
|
|
11
|
-
export declare const
|
|
12
|
+
export declare const DISPLAY_PRODUCT_DETAIL_TOOL_PREFIXES: {
|
|
12
13
|
readonly RENDER_PRODUCT: "render_product";
|
|
14
|
+
readonly DISPLAY_PRODUCT: "display_product";
|
|
13
15
|
};
|
|
14
|
-
export declare const
|
|
15
|
-
readonly
|
|
16
|
+
export declare const DISPLAY_SCENARIOS_LIST_TOOL_PREFIXES: {
|
|
17
|
+
readonly RENDER_SCENARIOS: "render_scenarios";
|
|
18
|
+
readonly DISPLAY_SCENARIOS: "display_scenarios";
|
|
16
19
|
};
|
|
17
|
-
export declare const
|
|
20
|
+
export declare const DISPLAY_BOOKING_FORM_TOOL_PREFIXES: {
|
|
21
|
+
readonly DISPLAY_BOOKING_FORM: "display_booking_form_on_ui";
|
|
22
|
+
};
|
|
23
|
+
export declare const DISPLAY_CONTACT_FORM_TOOL_PREFIXES: {
|
|
24
|
+
readonly DISPLAY_CONTACT_FORM: "display_contact_form_on_ui";
|
|
25
|
+
};
|
|
26
|
+
declare const PRODUCT_COMMAND_TOOLS: {
|
|
18
27
|
readonly SHOW_HOTSPOT_GUIDED_TOUR: "show_hotspot_guided_tour";
|
|
19
28
|
readonly SHOW_PRODUCT_AR: "show_product_AR";
|
|
20
29
|
readonly SHOW_PRODUCT_360_IMAGE: "show_product_360_image";
|
|
@@ -22,24 +31,26 @@ export declare const PRODUCT_COMMAND_TOOLS: {
|
|
|
22
31
|
readonly SHOW_PRODUCT_INFO: "show_product_info";
|
|
23
32
|
};
|
|
24
33
|
export declare const COMMAND_TOOLS: {
|
|
25
|
-
readonly
|
|
26
|
-
readonly
|
|
27
|
-
readonly
|
|
28
|
-
readonly
|
|
29
|
-
readonly
|
|
30
|
-
readonly
|
|
34
|
+
readonly UPDATE_SCENE_VIEW: string;
|
|
35
|
+
readonly CHANGE_ROOM_STYLE: string;
|
|
36
|
+
readonly SWAP_PRODUCT_MATERIAL: string;
|
|
37
|
+
readonly OPEN_CLOSE_DOOR: string;
|
|
38
|
+
readonly CHANGE_ROOM_LIGHTING: string;
|
|
39
|
+
readonly OPEN_SCENE_PRODUCT_LIST: string;
|
|
40
|
+
readonly PLAY_SCENE_GUIDED_TOUR: string;
|
|
31
41
|
readonly SHOW_HOTSPOT_GUIDED_TOUR: "show_hotspot_guided_tour";
|
|
32
42
|
readonly SHOW_PRODUCT_AR: "show_product_AR";
|
|
33
43
|
readonly SHOW_PRODUCT_360_IMAGE: "show_product_360_image";
|
|
34
44
|
readonly SHOW_PRODUCT_IMAGE_GALLERY: "show_product_image_gallery";
|
|
35
45
|
readonly SHOW_PRODUCT_INFO: "show_product_info";
|
|
36
46
|
readonly PLAY_SCENARIO: "play_scenario";
|
|
37
|
-
readonly
|
|
47
|
+
readonly START_GUIDED_TOUR: "start_guided_tour";
|
|
38
48
|
readonly MOVE_TO_SCENE: "move_to_scene";
|
|
49
|
+
readonly MOVE_TO_HOTSPOT: "move_to_hotspot";
|
|
39
50
|
};
|
|
40
51
|
export declare const WEATHER_TOOL_VALUES: "getWeather"[];
|
|
41
52
|
export declare const LOCATION_TOOL_VALUES: ("get_assigned_location_detail" | "search-traveling-places")[];
|
|
42
|
-
export declare const COMMAND_TOOL_VALUES:
|
|
53
|
+
export declare const COMMAND_TOOL_VALUES: string[];
|
|
43
54
|
export declare const PRODUCT_COMMAND_TOOL_VALUES: ("show_hotspot_guided_tour" | "show_product_AR" | "show_product_360_image" | "show_product_image_gallery" | "show_product_info")[];
|
|
44
55
|
export declare const ALL_TOOLS: {
|
|
45
56
|
readonly SHOW_HOTSPOT_GUIDED_TOUR: "show_hotspot_guided_tour";
|
|
@@ -47,15 +58,17 @@ export declare const ALL_TOOLS: {
|
|
|
47
58
|
readonly SHOW_PRODUCT_360_IMAGE: "show_product_360_image";
|
|
48
59
|
readonly SHOW_PRODUCT_IMAGE_GALLERY: "show_product_image_gallery";
|
|
49
60
|
readonly SHOW_PRODUCT_INFO: "show_product_info";
|
|
50
|
-
readonly
|
|
51
|
-
readonly
|
|
52
|
-
readonly
|
|
53
|
-
readonly
|
|
54
|
-
readonly
|
|
55
|
-
readonly
|
|
61
|
+
readonly UPDATE_SCENE_VIEW: string;
|
|
62
|
+
readonly CHANGE_ROOM_STYLE: string;
|
|
63
|
+
readonly SWAP_PRODUCT_MATERIAL: string;
|
|
64
|
+
readonly OPEN_CLOSE_DOOR: string;
|
|
65
|
+
readonly CHANGE_ROOM_LIGHTING: string;
|
|
66
|
+
readonly OPEN_SCENE_PRODUCT_LIST: string;
|
|
67
|
+
readonly PLAY_SCENE_GUIDED_TOUR: string;
|
|
56
68
|
readonly PLAY_SCENARIO: "play_scenario";
|
|
57
|
-
readonly
|
|
69
|
+
readonly START_GUIDED_TOUR: "start_guided_tour";
|
|
58
70
|
readonly MOVE_TO_SCENE: "move_to_scene";
|
|
71
|
+
readonly MOVE_TO_HOTSPOT: "move_to_hotspot";
|
|
59
72
|
readonly GET_ASSIGNED_LOCATION_DETAIL: "get_assigned_location_detail";
|
|
60
73
|
readonly SEARCH_TRAVELING_PLACES: "search-traveling-places";
|
|
61
74
|
readonly GET_WEATHER: "getWeather";
|
|
@@ -80,4 +93,5 @@ export declare enum GALLERY_TYPE {
|
|
|
80
93
|
WEB_ROTATE = "WEB_ROTATE",
|
|
81
94
|
AR = "AR"
|
|
82
95
|
}
|
|
96
|
+
export {};
|
|
83
97
|
//# sourceMappingURL=toolNames.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toolNames.d.ts","sourceRoot":"","sources":["../../src/constants/toolNames.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,aAAa;;CAEhB,CAAC;AAGX,eAAO,MAAM,cAAc;;;CAGjB,CAAC;AAGX,eAAO,MAAM,
|
|
1
|
+
{"version":3,"file":"toolNames.d.ts","sourceRoot":"","sources":["../../src/constants/tool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MAAM;CACZ;AAED,oBAAY,YAAY;IACtB,KAAK,UAAU;IACf,KAAK,UAAU;IACf,UAAU,eAAe;IACzB,EAAE,OAAO;CACV"}
|
|
@@ -17,49 +17,37 @@ export declare const hasToolPrefix: (toolName: string, prefix: string) => boolea
|
|
|
17
17
|
* @param toolName - Tool name to check
|
|
18
18
|
* @returns True if the tool is a product list tool
|
|
19
19
|
*/
|
|
20
|
-
export declare const
|
|
20
|
+
export declare const isDisplayProductListTool: (toolName: string) => boolean;
|
|
21
21
|
/**
|
|
22
22
|
* Check if a tool is a product detail tool by prefix
|
|
23
23
|
* @param toolName - Tool name to check
|
|
24
24
|
* @returns True if the tool is a product detail tool
|
|
25
25
|
*/
|
|
26
|
-
export declare const
|
|
26
|
+
export declare const isDisplayProductDetailTool: (toolName: string) => boolean;
|
|
27
27
|
/**
|
|
28
28
|
* Check if a tool is a scenarios tool by prefix
|
|
29
29
|
* @param toolName - Tool name to check
|
|
30
30
|
* @returns True if the tool is a scenarios tool
|
|
31
31
|
*/
|
|
32
|
-
export declare const
|
|
32
|
+
export declare const isDisplayScenariosTool: (toolName: string) => boolean;
|
|
33
33
|
/**
|
|
34
|
-
* Check if a tool is a
|
|
35
|
-
* @param
|
|
36
|
-
* @returns True if the tool is a
|
|
37
|
-
*/
|
|
38
|
-
export declare const isProductsTool: (tool: string) => boolean;
|
|
39
|
-
/**
|
|
40
|
-
* Check if a tool is a product detail tool
|
|
41
|
-
* @param tool - Tool name to check
|
|
42
|
-
* @returns True if the tool is a product detail tool
|
|
34
|
+
* Check if a tool is a display contact form tool by prefix
|
|
35
|
+
* @param toolName - Tool name to check
|
|
36
|
+
* @returns True if the tool is a display contact form tool
|
|
43
37
|
*/
|
|
44
|
-
export declare const
|
|
38
|
+
export declare const isDisplayContactFormTool: (toolName: string) => boolean;
|
|
45
39
|
/**
|
|
46
|
-
* Check if a tool is a
|
|
47
|
-
* @param
|
|
48
|
-
* @returns True if the
|
|
40
|
+
* Check if a tool is a display booking form tool by prefix
|
|
41
|
+
* @param toolName - Tool name to check
|
|
42
|
+
* @returns True if the is a display booking form tool
|
|
49
43
|
*/
|
|
50
|
-
export declare const
|
|
44
|
+
export declare const isDisplayBookingFormTool: (toolName: string) => boolean;
|
|
51
45
|
/**
|
|
52
46
|
* Check if a tool is a command tool
|
|
53
47
|
* @param tool - Tool name to check
|
|
54
48
|
* @returns True if the tool is a command tool
|
|
55
49
|
*/
|
|
56
50
|
export declare const isCommandTool: (tool: string) => boolean;
|
|
57
|
-
/**
|
|
58
|
-
* Check if a tool is a product command tool
|
|
59
|
-
* @param tool - Tool name to check
|
|
60
|
-
* @returns True if the tool is a product command tool
|
|
61
|
-
*/
|
|
62
|
-
export declare const isProductCommandTool: (tool: string) => boolean;
|
|
63
51
|
/**
|
|
64
52
|
* Check if a tool is a weather tool
|
|
65
53
|
* @param tool - Tool name to check
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toolUtils.d.ts","sourceRoot":"","sources":["../../src/utils/toolUtils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"toolUtils.d.ts","sourceRoot":"","sources":["../../src/utils/toolUtils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAalD;;;;GAIG;AACH,eAAO,MAAM,eAAe,eAAgB,GAAG,QAM9C,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,aAAa,aAAc,MAAM,UAAU,MAAM,KAAG,OAEhE,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,wBAAwB,aAAc,MAAM,KAAG,OAQ3D,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,0BAA0B,aAAc,MAAM,KAAG,OAW7D,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,sBAAsB,aAAc,MAAM,KAAG,OAWzD,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,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