zcatalyst-cli 1.18.0-beta.10 → 1.18.0-beta.11
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/lib/util_modules/constants/lib/cliq-handlers.js +18 -10
- package/package.json +1 -1
- package/templates/event/integ/cliq/bot/action_handler.json +13 -4
- package/templates/event/integ/cliq/bot/call_handler.json +41 -0
- package/templates/event/integ/cliq/bot/context_handler.json +11 -3
- package/templates/event/integ/cliq/bot/incomingwebhook_handler.json +11 -3
- package/templates/event/integ/cliq/bot/mention_handler.json +12 -4
- package/templates/event/integ/cliq/bot/message_handler.json +13 -4
- package/templates/event/integ/cliq/bot/participation_handler.json +13 -3
- package/templates/event/integ/cliq/bot/welcome_handler.json +12 -8
- package/templates/event/integ/cliq/command/execution_handler.json +12 -3
- package/templates/event/integ/cliq/command/suggestion_handler.json +18 -4
- package/templates/event/integ/cliq/{installation → extension}/installation_handler.json +13 -4
- package/templates/event/integ/cliq/{installation → extension}/installation_validator.json +13 -5
- package/templates/event/integ/cliq/extension/uninstallation_handler.json +37 -0
- package/templates/event/integ/cliq/function/button_handler.json +13 -5
- package/templates/event/integ/cliq/function/form_change_handler.json +9 -3
- package/templates/event/integ/cliq/function/form_handler.json +11 -3
- package/templates/event/integ/cliq/function/form_values_handler.json +9 -3
- package/templates/event/integ/cliq/function/form_view_handler.json +26 -0
- package/templates/event/integ/cliq/function/widget_button_handler.json +14 -5
- package/templates/event/integ/cliq/link_preview/action_handler.json +54 -0
- package/templates/event/integ/cliq/link_preview/after_send_handler.json +47 -0
- package/templates/event/integ/cliq/link_preview/menu_handler.json +47 -0
- package/templates/event/integ/cliq/link_preview/preview_handler.json +47 -0
- package/templates/event/integ/cliq/messageaction/execution_handler.json +11 -3
- package/templates/event/integ/cliq/widget/view_handler.json +12 -4
- package/templates/init/functions/java/integ/cliq/com/handlers/BotHandler.java +29 -23
- package/templates/init/functions/java/integ/cliq/com/handlers/CommandHandler.java +14 -17
- package/templates/init/functions/java/integ/cliq/com/handlers/ExtensionHandler.java +41 -0
- package/templates/init/functions/java/integ/cliq/com/handlers/FunctionHandler.java +74 -22
- package/templates/init/functions/java/integ/cliq/com/handlers/LinkPreviewHandler.java +108 -0
- package/templates/init/functions/java/integ/cliq/com/handlers/MessageActionHandler.java +6 -8
- package/templates/init/functions/java/integ/cliq/sample.java +10 -0
- package/templates/init/functions/node/integ/cliq/handlers/bot-handler.js +4 -0
- package/templates/init/functions/node/integ/cliq/handlers/command-handler.js +3 -5
- package/templates/init/functions/node/integ/cliq/handlers/{installation-validator.js → extension-handler.js} +20 -3
- package/templates/init/functions/node/integ/cliq/handlers/function-handler.js +42 -0
- package/templates/init/functions/node/integ/cliq/handlers/link-preview-handler.js +73 -0
- package/templates/init/functions/python/integ/cliq/handlers/bot_handler.py +13 -3
- package/templates/init/functions/python/integ/cliq/handlers/command_handler.py +7 -7
- package/templates/init/functions/python/integ/cliq/handlers/extension_handler.py +25 -0
- package/templates/init/functions/python/integ/cliq/handlers/function_handler.py +54 -10
- package/templates/init/functions/python/integ/cliq/handlers/link_preview_handler.py +76 -0
- package/templates/init/functions/python/integ/cliq/handlers/widget_handler.py +10 -9
- package/templates/init/functions/python/integ/cliq/sample.py +2 -2
- package/templates/init/functions/java/integ/cliq/com/handlers/InstallationHandler.java +0 -20
- package/templates/init/functions/java/integ/cliq/com/handlers/InstallationValidator.java +0 -22
- package/templates/init/functions/node/integ/cliq/handlers/installation-handler.js +0 -15
- package/templates/init/functions/python/integ/cliq/handlers/installation_handler.py +0 -12
- package/templates/init/functions/python/integ/cliq/handlers/installation_validator.py +0 -16
|
@@ -13,8 +13,8 @@ const handlers = {
|
|
|
13
13
|
messageaction_handler: 'messageaction_handler',
|
|
14
14
|
widget_handler: 'widget_handler',
|
|
15
15
|
function_handler: 'function_handler',
|
|
16
|
-
|
|
17
|
-
|
|
16
|
+
extension_handler: 'extension_handler',
|
|
17
|
+
link_preview_handler: 'link_preview_handler'
|
|
18
18
|
};
|
|
19
19
|
exports.default = Object.freeze({
|
|
20
20
|
event_template_dir: (0, path_1.join)(template_root, './event/integ/cliq/'),
|
|
@@ -43,8 +43,8 @@ exports.default = Object.freeze({
|
|
|
43
43
|
[handlers.messageaction_handler]: 'message-action-handler.js',
|
|
44
44
|
[handlers.widget_handler]: 'widget-handler.js',
|
|
45
45
|
[handlers.function_handler]: 'function-handler.js',
|
|
46
|
-
[handlers.
|
|
47
|
-
[handlers.
|
|
46
|
+
[handlers.extension_handler]: 'extension-handler.js',
|
|
47
|
+
[handlers.link_preview_handler]: 'link-preview-handler.js'
|
|
48
48
|
},
|
|
49
49
|
java_handler_file_mapping: {
|
|
50
50
|
[handlers.bot_handler]: 'BotHandler.java',
|
|
@@ -52,8 +52,8 @@ exports.default = Object.freeze({
|
|
|
52
52
|
[handlers.messageaction_handler]: 'MessageActionHandler.java',
|
|
53
53
|
[handlers.widget_handler]: 'WidgetHandler.java',
|
|
54
54
|
[handlers.function_handler]: 'FunctionHandler.java',
|
|
55
|
-
[handlers.
|
|
56
|
-
[handlers.
|
|
55
|
+
[handlers.extension_handler]: 'ExtensionHandler.java',
|
|
56
|
+
[handlers.link_preview_handler]: 'LinkPreviewHandler.java'
|
|
57
57
|
},
|
|
58
58
|
python_handler_file_mapping: {
|
|
59
59
|
[handlers.bot_handler]: 'bot_handler.py',
|
|
@@ -61,8 +61,8 @@ exports.default = Object.freeze({
|
|
|
61
61
|
[handlers.messageaction_handler]: 'message_action_handler.py',
|
|
62
62
|
[handlers.widget_handler]: 'widget_handler.py',
|
|
63
63
|
[handlers.function_handler]: 'function_handler.py',
|
|
64
|
-
[handlers.
|
|
65
|
-
[handlers.
|
|
64
|
+
[handlers.extension_handler]: 'extension_handler.py',
|
|
65
|
+
[handlers.link_preview_handler]: 'link_preview_handler.py'
|
|
66
66
|
},
|
|
67
67
|
handlers_event_template: {
|
|
68
68
|
['bot']: [
|
|
@@ -72,7 +72,8 @@ exports.default = Object.freeze({
|
|
|
72
72
|
'mention_handler',
|
|
73
73
|
'action_handler',
|
|
74
74
|
'incomingwebhook_handler',
|
|
75
|
-
'participation_handler'
|
|
75
|
+
'participation_handler',
|
|
76
|
+
'call_handler'
|
|
76
77
|
],
|
|
77
78
|
['command']: ['execution_handler', 'suggestion_handler'],
|
|
78
79
|
['messageaction']: ['execution_handler'],
|
|
@@ -82,8 +83,15 @@ exports.default = Object.freeze({
|
|
|
82
83
|
'form_handler',
|
|
83
84
|
'form_change_handler',
|
|
84
85
|
'form_values_handler',
|
|
86
|
+
'form_view_handler',
|
|
85
87
|
'widget_button_handler'
|
|
86
88
|
],
|
|
87
|
-
['
|
|
89
|
+
['extension']: ['installation_handler', 'installation_validator', 'uninstallation_handler'],
|
|
90
|
+
['link_preview']: [
|
|
91
|
+
'preview_handler',
|
|
92
|
+
'action_handler',
|
|
93
|
+
'menu_handler',
|
|
94
|
+
'after_send_handler'
|
|
95
|
+
]
|
|
88
96
|
}
|
|
89
97
|
});
|
package/package.json
CHANGED
|
@@ -3,17 +3,25 @@
|
|
|
3
3
|
"unique_name": "sample_uniq",
|
|
4
4
|
"handler": {
|
|
5
5
|
"type": "action_handler",
|
|
6
|
-
"name": "
|
|
6
|
+
"name": "Say Hi"
|
|
7
7
|
},
|
|
8
|
+
"sub_action": "",
|
|
8
9
|
"response_url": "https://cliq.zoho.com/v2/extensions/2980/responses/17202823900615741410013820",
|
|
9
10
|
"type": "bot",
|
|
10
11
|
"timestamp": 1569520690703,
|
|
11
12
|
"params" : {
|
|
12
13
|
"environment" : {
|
|
13
|
-
|
|
14
|
+
"tld": ".com",
|
|
15
|
+
"data_center": "US",
|
|
16
|
+
"base_url": "https://cliq.zoho.com/company/123456456"
|
|
14
17
|
},
|
|
15
18
|
"access": {
|
|
16
|
-
"user_id": "
|
|
19
|
+
"user_id": "130720038",
|
|
20
|
+
"zoho_user_id": "130720038",
|
|
21
|
+
"organization": {
|
|
22
|
+
"type": "company",
|
|
23
|
+
"id": "123456456"
|
|
24
|
+
},
|
|
17
25
|
"user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:69.0) Gecko/20100101 Firefox/69.0",
|
|
18
26
|
"chat_id": "CT_2243226337559778047_661211447-B2"
|
|
19
27
|
},
|
|
@@ -26,7 +34,8 @@
|
|
|
26
34
|
"id": "123456",
|
|
27
35
|
"email": "scott.fisher@zylcal.com",
|
|
28
36
|
"admin" : true,
|
|
29
|
-
"organization_id" : "123456456"
|
|
37
|
+
"organization_id" : "123456456",
|
|
38
|
+
"zoho_user_id": "130720038"
|
|
30
39
|
},
|
|
31
40
|
"chat": {
|
|
32
41
|
"owner": "123456",
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "Sample",
|
|
3
|
+
"unique_name": "sample_uniq",
|
|
4
|
+
"handler": {
|
|
5
|
+
"type": "alert_handler"
|
|
6
|
+
},
|
|
7
|
+
"type": "bot",
|
|
8
|
+
"timestamp": 1738312467537,
|
|
9
|
+
"params" : {
|
|
10
|
+
"environment" : {
|
|
11
|
+
"tld": ".com",
|
|
12
|
+
"data_center": "US",
|
|
13
|
+
"base_url": "https://cliq.zoho.com/company/123456456"
|
|
14
|
+
},
|
|
15
|
+
"access": {
|
|
16
|
+
"user_id": "130720038",
|
|
17
|
+
"zoho_user_id": "130720038",
|
|
18
|
+
"organization": {
|
|
19
|
+
"type": "company",
|
|
20
|
+
"id": "123456456"
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
"operation": "ringing",
|
|
24
|
+
"user": {
|
|
25
|
+
"country": "us",
|
|
26
|
+
"timezone": "Asia/calcutta",
|
|
27
|
+
"last_name": "Fisher",
|
|
28
|
+
"first_name": "Scott",
|
|
29
|
+
"language": "en",
|
|
30
|
+
"id": "123456",
|
|
31
|
+
"email": "scott.fisher@zylcal.com",
|
|
32
|
+
"admin" : true,
|
|
33
|
+
"organization_id" : "123456456",
|
|
34
|
+
"zoho_user_id": "130720038"
|
|
35
|
+
},
|
|
36
|
+
"data": {
|
|
37
|
+
"call_id": "783719c0-54d1-423c-9033-588454522e9e",
|
|
38
|
+
"time": 1738312467509
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
@@ -9,10 +9,17 @@
|
|
|
9
9
|
"timestamp": 1569520690703,
|
|
10
10
|
"params" : {
|
|
11
11
|
"environment" : {
|
|
12
|
-
|
|
12
|
+
"tld": ".com",
|
|
13
|
+
"data_center": "US",
|
|
14
|
+
"base_url": "https://cliq.zoho.com/company/123456456"
|
|
13
15
|
},
|
|
14
16
|
"access": {
|
|
15
|
-
"user_id": "
|
|
17
|
+
"user_id": "130720038",
|
|
18
|
+
"zoho_user_id": "130720038",
|
|
19
|
+
"organization": {
|
|
20
|
+
"type": "company",
|
|
21
|
+
"id": "123456456"
|
|
22
|
+
},
|
|
16
23
|
"user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:69.0) Gecko/20100101 Firefox/69.0",
|
|
17
24
|
"chat_id": "CT_2243226337559778047_661211447-B2"
|
|
18
25
|
},
|
|
@@ -25,7 +32,8 @@
|
|
|
25
32
|
"id": "123456",
|
|
26
33
|
"email": "scott.fisher@zylcal.com",
|
|
27
34
|
"admin" : true,
|
|
28
|
-
"organization_id" : "123456456"
|
|
35
|
+
"organization_id" : "123456456",
|
|
36
|
+
"zoho_user_id": "130720038"
|
|
29
37
|
},
|
|
30
38
|
"chat": {
|
|
31
39
|
"owner": "123456",
|
|
@@ -9,10 +9,17 @@
|
|
|
9
9
|
"timestamp": 1569520690703,
|
|
10
10
|
"params" : {
|
|
11
11
|
"environment" : {
|
|
12
|
-
|
|
12
|
+
"tld": ".com",
|
|
13
|
+
"data_center": "US",
|
|
14
|
+
"base_url": "https://cliq.zoho.com/company/123456456"
|
|
13
15
|
},
|
|
14
16
|
"access": {
|
|
15
|
-
"user_id": "
|
|
17
|
+
"user_id": "130720038",
|
|
18
|
+
"zoho_user_id": "130720038",
|
|
19
|
+
"organization": {
|
|
20
|
+
"type": "company",
|
|
21
|
+
"id": "123456456"
|
|
22
|
+
},
|
|
16
23
|
"user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:69.0) Gecko/20100101 Firefox/69.0",
|
|
17
24
|
"chat_id": "CT_2243226337559778047_661211447-B2"
|
|
18
25
|
},
|
|
@@ -25,7 +32,8 @@
|
|
|
25
32
|
"id": "123456",
|
|
26
33
|
"email": "scott.fisher@zylcal.com",
|
|
27
34
|
"admin" : true,
|
|
28
|
-
"organization_id" : "123456456"
|
|
35
|
+
"organization_id" : "123456456",
|
|
36
|
+
"zoho_user_id": "130720038"
|
|
29
37
|
},
|
|
30
38
|
"headers": {},
|
|
31
39
|
"params": {},
|
|
@@ -9,10 +9,17 @@
|
|
|
9
9
|
"timestamp": 1569520690703,
|
|
10
10
|
"params" : {
|
|
11
11
|
"environment" : {
|
|
12
|
-
|
|
12
|
+
"tld": ".com",
|
|
13
|
+
"data_center": "US",
|
|
14
|
+
"base_url": "https://cliq.zoho.com/company/123456456"
|
|
13
15
|
},
|
|
14
16
|
"access": {
|
|
15
|
-
"user_id": "
|
|
17
|
+
"user_id": "130720038",
|
|
18
|
+
"zoho_user_id": "130720038",
|
|
19
|
+
"organization": {
|
|
20
|
+
"type": "company",
|
|
21
|
+
"id": "123456456"
|
|
22
|
+
},
|
|
16
23
|
"user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:69.0) Gecko/20100101 Firefox/69.0",
|
|
17
24
|
"chat_id": "CT_2243226337559778047_661211447-B2"
|
|
18
25
|
},
|
|
@@ -44,7 +51,8 @@
|
|
|
44
51
|
"id": "123456",
|
|
45
52
|
"email": "scott.fisher@zylcal.com",
|
|
46
53
|
"admin" : true,
|
|
47
|
-
"organization_id" : "123456456"
|
|
54
|
+
"organization_id" : "123456456",
|
|
55
|
+
"zoho_user_id": "130720038"
|
|
48
56
|
},
|
|
49
57
|
"chat": {
|
|
50
58
|
"owner": "123456",
|
|
@@ -66,7 +74,7 @@
|
|
|
66
74
|
],
|
|
67
75
|
"id": "CT_1256246524399772951_1741337",
|
|
68
76
|
"type": "channel",
|
|
69
|
-
"title": "",
|
|
77
|
+
"title": "Catalyst",
|
|
70
78
|
"recent_messages": []
|
|
71
79
|
},
|
|
72
80
|
"location": {
|
|
@@ -9,15 +9,22 @@
|
|
|
9
9
|
"timestamp": 1569520690703,
|
|
10
10
|
"params" : {
|
|
11
11
|
"environment" : {
|
|
12
|
-
|
|
12
|
+
"tld": ".com",
|
|
13
|
+
"data_center": "US",
|
|
14
|
+
"base_url": "https://cliq.zoho.com/company/123456456"
|
|
13
15
|
},
|
|
14
16
|
"access": {
|
|
15
|
-
"user_id": "
|
|
17
|
+
"user_id": "130720038",
|
|
18
|
+
"zoho_user_id": "130720038",
|
|
19
|
+
"organization": {
|
|
20
|
+
"type": "company",
|
|
21
|
+
"id": "123456456"
|
|
22
|
+
},
|
|
16
23
|
"user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:69.0) Gecko/20100101 Firefox/69.0",
|
|
17
24
|
"chat_id": "CT_2243226337559778047_661211447-B2"
|
|
18
25
|
},
|
|
19
26
|
"message_details": {
|
|
20
|
-
"message": { "mentions": [], "type": "text", "text": "Hi" },
|
|
27
|
+
"message": { "mentions": [], "type": "text", "text": "Hi", "comment":"Attached a file", "file": "File" },
|
|
21
28
|
"time": 1610351240458
|
|
22
29
|
},
|
|
23
30
|
"attachments": [],
|
|
@@ -41,7 +48,8 @@
|
|
|
41
48
|
"id": "123456",
|
|
42
49
|
"email": "scott.fisher@zylcal.com",
|
|
43
50
|
"admin" : true,
|
|
44
|
-
"organization_id" : "123456456"
|
|
51
|
+
"organization_id" : "123456456",
|
|
52
|
+
"zoho_user_id": "130720038"
|
|
45
53
|
},
|
|
46
54
|
"chat" : {
|
|
47
55
|
"owner": "123456",
|
|
@@ -63,6 +71,7 @@
|
|
|
63
71
|
],
|
|
64
72
|
"id": "CD_1256246524399772951_1741337",
|
|
65
73
|
"type": "channel",
|
|
74
|
+
"title": "Catalyst",
|
|
66
75
|
"recent_messages": []
|
|
67
76
|
},
|
|
68
77
|
"location": {
|
|
@@ -9,10 +9,17 @@
|
|
|
9
9
|
"timestamp": 1569520690703,
|
|
10
10
|
"params" : {
|
|
11
11
|
"environment" : {
|
|
12
|
-
|
|
12
|
+
"tld": ".com",
|
|
13
|
+
"data_center": "US",
|
|
14
|
+
"base_url": "https://cliq.zoho.com/company/123456456"
|
|
13
15
|
},
|
|
14
16
|
"access": {
|
|
15
|
-
"user_id": "
|
|
17
|
+
"user_id": "130720038",
|
|
18
|
+
"zoho_user_id": "130720038",
|
|
19
|
+
"organization": {
|
|
20
|
+
"type": "company",
|
|
21
|
+
"id": "123456456"
|
|
22
|
+
},
|
|
16
23
|
"user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:69.0) Gecko/20100101 Firefox/69.0",
|
|
17
24
|
"chat_id": "CT_2243226337559778047_661211447-B2"
|
|
18
25
|
},
|
|
@@ -25,7 +32,8 @@
|
|
|
25
32
|
"id": "123456",
|
|
26
33
|
"email": "scott.fisher@zylcal.com",
|
|
27
34
|
"admin" : true,
|
|
28
|
-
"organization_id" : "123456456"
|
|
35
|
+
"organization_id" : "123456456",
|
|
36
|
+
"zoho_user_id": "130720038"
|
|
29
37
|
},
|
|
30
38
|
"operation": "added",
|
|
31
39
|
"chat": {
|
|
@@ -48,9 +56,11 @@
|
|
|
48
56
|
],
|
|
49
57
|
"id": "CD_1256246524399772951_1741337",
|
|
50
58
|
"type": "channel",
|
|
59
|
+
"title": "Catalyst",
|
|
51
60
|
"recent_messages": []
|
|
52
61
|
},
|
|
53
62
|
"data": {
|
|
63
|
+
"message": { "mentions": [], "type": "text", "text": "Hi", "comment":"Attached a file" },
|
|
54
64
|
"time": 1569520690703
|
|
55
65
|
}
|
|
56
66
|
}
|
|
@@ -9,10 +9,17 @@
|
|
|
9
9
|
"timestamp": 1569520690703,
|
|
10
10
|
"params" : {
|
|
11
11
|
"environment" : {
|
|
12
|
-
|
|
12
|
+
"tld": ".com",
|
|
13
|
+
"data_center": "US",
|
|
14
|
+
"base_url": "https://cliq.zoho.com/company/123456456"
|
|
13
15
|
},
|
|
14
16
|
"access": {
|
|
15
|
-
"user_id": "
|
|
17
|
+
"user_id": "130720038",
|
|
18
|
+
"zoho_user_id": "130720038",
|
|
19
|
+
"organization": {
|
|
20
|
+
"type": "company",
|
|
21
|
+
"id": "123456456"
|
|
22
|
+
},
|
|
16
23
|
"user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:69.0) Gecko/20100101 Firefox/69.0",
|
|
17
24
|
"chat_id": "CT_2243226337559778047_661211447-B2"
|
|
18
25
|
},
|
|
@@ -25,12 +32,9 @@
|
|
|
25
32
|
"id": "123456",
|
|
26
33
|
"email": "scott.fisher@zylcal.com",
|
|
27
34
|
"admin" : true,
|
|
28
|
-
"organization_id" : "123456456"
|
|
35
|
+
"organization_id" : "123456456",
|
|
36
|
+
"zoho_user_id": "130720038"
|
|
29
37
|
},
|
|
30
|
-
"newuser": true
|
|
31
|
-
"mentions": [],
|
|
32
|
-
"options": {},
|
|
33
|
-
"selections": [],
|
|
34
|
-
"arguments": ""
|
|
38
|
+
"newuser": true
|
|
35
39
|
}
|
|
36
40
|
}
|
|
@@ -8,10 +8,17 @@
|
|
|
8
8
|
"timestamp": 1569520690703,
|
|
9
9
|
"params" : {
|
|
10
10
|
"environment" : {
|
|
11
|
-
|
|
11
|
+
"tld": ".com",
|
|
12
|
+
"data_center": "US",
|
|
13
|
+
"base_url": "https://cliq.zoho.com/company/123456456"
|
|
12
14
|
},
|
|
13
15
|
"access": {
|
|
14
|
-
"user_id": "
|
|
16
|
+
"user_id": "130720038",
|
|
17
|
+
"zoho_user_id": "130720038",
|
|
18
|
+
"organization": {
|
|
19
|
+
"type": "company",
|
|
20
|
+
"id": "123456456"
|
|
21
|
+
},
|
|
15
22
|
"user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:69.0) Gecko/20100101 Firefox/69.0",
|
|
16
23
|
"chat_id": "CT_2243226337559778047_661211447-B2"
|
|
17
24
|
},
|
|
@@ -24,7 +31,8 @@
|
|
|
24
31
|
"id": "123456",
|
|
25
32
|
"email": "scott.fisher@zylcal.com",
|
|
26
33
|
"admin" : true,
|
|
27
|
-
"organization_id" : "123456456"
|
|
34
|
+
"organization_id" : "123456456",
|
|
35
|
+
"zoho_user_id": "130720038"
|
|
28
36
|
},
|
|
29
37
|
"chat": {
|
|
30
38
|
"owner": "123456",
|
|
@@ -46,6 +54,7 @@
|
|
|
46
54
|
],
|
|
47
55
|
"id": "CD_1256246524399772951_1741337",
|
|
48
56
|
"type": "channel",
|
|
57
|
+
"channel_unique_name": "sample",
|
|
49
58
|
"title": "Sample"
|
|
50
59
|
},
|
|
51
60
|
"mentions": [],
|
|
@@ -8,10 +8,17 @@
|
|
|
8
8
|
"timestamp": 1569520690703,
|
|
9
9
|
"params" : {
|
|
10
10
|
"environment" : {
|
|
11
|
-
|
|
11
|
+
"tld": ".com",
|
|
12
|
+
"data_center": "US",
|
|
13
|
+
"base_url": "https://cliq.zoho.com/company/123456456"
|
|
12
14
|
},
|
|
13
15
|
"access": {
|
|
14
|
-
"user_id": "
|
|
16
|
+
"user_id": "130720038",
|
|
17
|
+
"zoho_user_id": "130720038",
|
|
18
|
+
"organization": {
|
|
19
|
+
"type": "company",
|
|
20
|
+
"id": "123456456"
|
|
21
|
+
},
|
|
15
22
|
"user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:69.0) Gecko/20100101 Firefox/69.0",
|
|
16
23
|
"chat_id": "CT_2243226337559778047_661211447-B2"
|
|
17
24
|
},
|
|
@@ -24,7 +31,8 @@
|
|
|
24
31
|
"id": "123456",
|
|
25
32
|
"email": "scott.fisher@zylcal.com",
|
|
26
33
|
"admin" : true,
|
|
27
|
-
"organization_id" : "123456456"
|
|
34
|
+
"organization_id" : "123456456",
|
|
35
|
+
"zoho_user_id": "130720038"
|
|
28
36
|
},
|
|
29
37
|
"chat": {
|
|
30
38
|
"owner": "123456",
|
|
@@ -51,7 +59,13 @@
|
|
|
51
59
|
"mentions": [],
|
|
52
60
|
"attachments": [],
|
|
53
61
|
"options": {},
|
|
54
|
-
"selections": [
|
|
62
|
+
"selections": [
|
|
63
|
+
{
|
|
64
|
+
"description": "Catalyst help documentation",
|
|
65
|
+
"imageurl": "https://www.zohowebstatic.com/sites/default/files/styles/product-home-page/public/catalyst-icon.png",
|
|
66
|
+
"title": "Help docs"
|
|
67
|
+
}
|
|
68
|
+
],
|
|
55
69
|
"arguments": "",
|
|
56
70
|
"location": {
|
|
57
71
|
"latitude": 12.8282472,
|
|
@@ -1,14 +1,22 @@
|
|
|
1
1
|
{
|
|
2
|
+
"type": "extension",
|
|
2
3
|
"handler": {
|
|
3
4
|
"type": "installation_handler"
|
|
4
5
|
},
|
|
5
6
|
"timestamp": 1569520690703,
|
|
6
7
|
"params" : {
|
|
7
8
|
"environment" : {
|
|
8
|
-
|
|
9
|
+
"tld": ".com",
|
|
10
|
+
"data_center": "US",
|
|
11
|
+
"base_url": "https://cliq.zoho.com/company/123456456"
|
|
9
12
|
},
|
|
10
|
-
"access":
|
|
11
|
-
"user_id": "
|
|
13
|
+
"access":{
|
|
14
|
+
"user_id": "130720038",
|
|
15
|
+
"zoho_user_id": "130720038",
|
|
16
|
+
"organization": {
|
|
17
|
+
"type": "company",
|
|
18
|
+
"id": "123456456"
|
|
19
|
+
},
|
|
12
20
|
"user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:69.0) Gecko/20100101 Firefox/69.0",
|
|
13
21
|
"chat_id": "CT_2243226337559778047_661211447-B2"
|
|
14
22
|
},
|
|
@@ -21,7 +29,8 @@
|
|
|
21
29
|
"id": "123456",
|
|
22
30
|
"email": "scott.fisher@zylcal.com",
|
|
23
31
|
"admin" : true,
|
|
24
|
-
"organization_id" : "123456456"
|
|
32
|
+
"organization_id" : "123456456",
|
|
33
|
+
"zoho_user_id": "130720038"
|
|
25
34
|
},
|
|
26
35
|
"app_info": {"current_version":"1.5", "type": "install"},
|
|
27
36
|
"form": {},
|
|
@@ -1,19 +1,26 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
2
|
+
"type": "extension",
|
|
3
3
|
"handler": {
|
|
4
4
|
"type": "installation_validator"
|
|
5
5
|
},
|
|
6
6
|
"timestamp": 1569520690703,
|
|
7
7
|
"params" : {
|
|
8
8
|
"environment" : {
|
|
9
|
-
|
|
9
|
+
"tld": ".com",
|
|
10
|
+
"data_center": "US",
|
|
11
|
+
"base_url": "https://cliq.zoho.com/company/123456456"
|
|
10
12
|
},
|
|
11
13
|
"access": {
|
|
12
|
-
"user_id": "
|
|
14
|
+
"user_id": "130720038",
|
|
15
|
+
"zoho_user_id": "130720038",
|
|
16
|
+
"organization": {
|
|
17
|
+
"type": "company",
|
|
18
|
+
"id": "123456456"
|
|
19
|
+
},
|
|
13
20
|
"user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:69.0) Gecko/20100101 Firefox/69.0",
|
|
14
21
|
"chat_id": "CT_2243226337559778047_661211447-B2"
|
|
15
22
|
},
|
|
16
|
-
"user":
|
|
23
|
+
"user":{
|
|
17
24
|
"country": "us",
|
|
18
25
|
"timezone": "Asia/calcutta",
|
|
19
26
|
"last_name": "Fisher",
|
|
@@ -22,7 +29,8 @@
|
|
|
22
29
|
"id": "123456",
|
|
23
30
|
"email": "scott.fisher@zylcal.com",
|
|
24
31
|
"admin" : true,
|
|
25
|
-
"organization_id" : "123456456"
|
|
32
|
+
"organization_id" : "123456456",
|
|
33
|
+
"zoho_user_id": "130720038"
|
|
26
34
|
},
|
|
27
35
|
"app_info": {"current_version":"1.5", "type": "install"}
|
|
28
36
|
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "extension",
|
|
3
|
+
"handler": {
|
|
4
|
+
"type": "uninstallation_handler"
|
|
5
|
+
},
|
|
6
|
+
"timestamp": 1569520690703,
|
|
7
|
+
"params" : {
|
|
8
|
+
"environment" : {
|
|
9
|
+
"tld": ".com",
|
|
10
|
+
"data_center": "US",
|
|
11
|
+
"base_url": "https://cliq.zoho.com/company/123456456"
|
|
12
|
+
},
|
|
13
|
+
"access":{
|
|
14
|
+
"user_id": "130720038",
|
|
15
|
+
"zoho_user_id": "130720038",
|
|
16
|
+
"organization": {
|
|
17
|
+
"type": "company",
|
|
18
|
+
"id": "123456456"
|
|
19
|
+
},
|
|
20
|
+
"user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:69.0) Gecko/20100101 Firefox/69.0",
|
|
21
|
+
"chat_id": "CT_2243226337559778047_661211447-B2"
|
|
22
|
+
},
|
|
23
|
+
"user": {
|
|
24
|
+
"country": "us",
|
|
25
|
+
"timezone": "Asia/calcutta",
|
|
26
|
+
"last_name": "Fisher",
|
|
27
|
+
"first_name": "Scott",
|
|
28
|
+
"language": "en",
|
|
29
|
+
"id": "123456",
|
|
30
|
+
"email": "scott.fisher@zylcal.com",
|
|
31
|
+
"admin" : true,
|
|
32
|
+
"organization_id" : "123456456",
|
|
33
|
+
"zoho_user_id": "130720038"
|
|
34
|
+
},
|
|
35
|
+
"app_info": {"current_version":"1.5", "type": "uninstall"}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
@@ -7,15 +7,22 @@
|
|
|
7
7
|
"type": "function",
|
|
8
8
|
"timestamp": 1569520690703,
|
|
9
9
|
"params" : {
|
|
10
|
-
"environment" :
|
|
11
|
-
|
|
10
|
+
"environment" :{
|
|
11
|
+
"tld": ".com",
|
|
12
|
+
"data_center": "US",
|
|
13
|
+
"base_url": "https://cliq.zoho.com/company/123456456"
|
|
12
14
|
},
|
|
13
15
|
"access": {
|
|
14
|
-
"user_id": "
|
|
16
|
+
"user_id": "130720038",
|
|
17
|
+
"zoho_user_id": "130720038",
|
|
18
|
+
"organization": {
|
|
19
|
+
"type": "company",
|
|
20
|
+
"id": "123456456"
|
|
21
|
+
},
|
|
15
22
|
"user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:69.0) Gecko/20100101 Firefox/69.0",
|
|
16
23
|
"chat_id": "CT_2243226337559778047_661211447-B2"
|
|
17
24
|
},
|
|
18
|
-
"user":
|
|
25
|
+
"user":{
|
|
19
26
|
"country": "us",
|
|
20
27
|
"timezone": "Asia/calcutta",
|
|
21
28
|
"last_name": "Fisher",
|
|
@@ -24,7 +31,8 @@
|
|
|
24
31
|
"id": "123456",
|
|
25
32
|
"email": "scott.fisher@zylcal.com",
|
|
26
33
|
"admin" : true,
|
|
27
|
-
"organization_id" : "123456456"
|
|
34
|
+
"organization_id" : "123456456",
|
|
35
|
+
"zoho_user_id": "130720038"
|
|
28
36
|
},
|
|
29
37
|
"message": {
|
|
30
38
|
"is_read": false,
|
|
@@ -3,15 +3,21 @@
|
|
|
3
3
|
"handler": {
|
|
4
4
|
"type": "form_change_handler"
|
|
5
5
|
},
|
|
6
|
-
"response_url": "https://cliq.zoho.com/v2/extensions/2980/responses/17202823900615741410013820",
|
|
7
6
|
"type": "function",
|
|
8
7
|
"timestamp": 1569520690703,
|
|
9
8
|
"params" : {
|
|
10
9
|
"environment" : {
|
|
11
|
-
|
|
10
|
+
"tld": ".com",
|
|
11
|
+
"data_center": "US",
|
|
12
|
+
"base_url": "https://cliq.zoho.com/company/123456456"
|
|
12
13
|
},
|
|
13
14
|
"access": {
|
|
14
|
-
"user_id": "
|
|
15
|
+
"user_id": "130720038",
|
|
16
|
+
"zoho_user_id": "130720038",
|
|
17
|
+
"organization": {
|
|
18
|
+
"type": "company",
|
|
19
|
+
"id": "123456456"
|
|
20
|
+
},
|
|
15
21
|
"user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:69.0) Gecko/20100101 Firefox/69.0",
|
|
16
22
|
"chat_id": "CT_2243226337559778047_661211447-B2"
|
|
17
23
|
},
|