zcatalyst-cli 1.18.0-beta.9 → 1.18.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.
- package/README.md +11 -6
- package/docs/commands/slate/unlink.toml +9 -0
- package/docs/endpoints/lib/env.toml +3 -1
- package/docs/endpoints/lib/slate.toml +3 -0
- package/docs/serve/server/lib/slate/index.toml +14 -0
- package/docs/slate-utils.toml +4 -0
- package/docs/util_modules/config/lib/slate.toml +4 -0
- package/lib/archiver.js +18 -9
- package/lib/authentication/login.js +6 -5
- package/lib/code-deck.js +5 -6
- package/lib/command_needs/auth.js +1 -1
- package/lib/command_needs/rc.js +40 -3
- package/lib/commands/codelib/install.js +1 -0
- package/lib/commands/deploy/index.js +4 -0
- package/lib/commands/deploy/slate.js +58 -0
- package/lib/commands/index.js +2 -3
- package/lib/commands/init.js +0 -10
- package/lib/commands/slate/create.js +59 -0
- package/lib/commands/slate/link.js +59 -0
- package/lib/commands/slate/unlink.js +75 -0
- package/lib/commands/zest/generate/index.js +1 -6
- package/lib/config-store.js +2 -1
- package/lib/deploy/features/index.js +3 -0
- package/lib/deploy/features/slate.js +123 -0
- package/lib/endpoints/index.js +8 -1
- package/lib/endpoints/lib/env.js +2 -1
- package/lib/endpoints/lib/sdk.js +2 -2
- package/lib/endpoints/lib/slate.js +107 -0
- package/lib/fn-utils/lib/common.js +1 -1
- package/lib/iac/status/deploy.js +1 -5
- package/lib/index.js +1 -1
- package/lib/init/features/appsail/index.js +2 -3
- package/lib/init/features/index.js +13 -1
- package/lib/init/features/project.js +1 -1
- package/lib/init/features/slate/index.js +313 -0
- package/lib/internal/api.js +1 -1
- package/lib/internal/command.js +10 -6
- package/lib/port-resolver.js +7 -0
- package/lib/prompt/index.js +22 -6
- package/lib/prompt/types/file-path.js +10 -7
- package/lib/serve/features/index.js +8 -1
- package/lib/serve/features/slate.js +47 -0
- package/lib/serve/server/index.js +61 -1
- package/lib/serve/server/lib/appsail/index.js +1 -1
- package/lib/serve/server/lib/master/index.js +25 -21
- package/lib/serve/server/lib/master/slate.js +45 -0
- package/lib/serve/server/lib/master/utils.js +9 -3
- package/lib/serve/server/lib/slate/index.js +115 -0
- package/lib/serve/server/lib/slate/static-server.js +194 -0
- package/lib/serve/server/lib/web_client/server.js +2 -1
- package/lib/slate-utils.js +212 -0
- package/lib/util_modules/config/index.js +3 -1
- package/lib/util_modules/config/lib/slate.js +98 -0
- package/lib/util_modules/constants/lib/cliq-handlers.js +18 -10
- package/lib/util_modules/constants/lib/dc-type.js +8 -0
- package/lib/util_modules/constants/lib/default.js +4 -0
- package/lib/util_modules/constants/lib/file-names.js +7 -1
- package/lib/util_modules/constants/lib/folder-names.js +1 -0
- package/lib/util_modules/constants/lib/placeholders.js +2 -1
- package/lib/util_modules/constants/lib/scopes.js +1 -6
- package/lib/util_modules/context-help.js +2 -2
- package/lib/util_modules/fs/lib/async.js +14 -3
- package/lib/util_modules/fs/lib/sync.js +6 -1
- package/lib/util_modules/parser/toml.js +20 -5
- package/package.json +3 -3
- 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/client/react/react_js/template/src/index.js +3 -3
- package/templates/init/client/react/react_ts/template/src/index.tsx +3 -3
- package/templates/init/client/react/react_ts/template.json +3 -3
- package/templates/init/functions/java/event/sample.java +4 -0
- 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/aio/package.json +1 -1
- package/templates/init/functions/node/bio/package.json +1 -1
- package/templates/init/functions/node/cron/package.json +1 -1
- package/templates/init/functions/node/event/package.json +1 -1
- package/templates/init/functions/node/event/sample.js +1 -0
- package/templates/init/functions/node/event/types/event.d.ts +7 -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/node/integ/cliq/package.json +1 -1
- package/templates/init/functions/node/integ/convokraft/package.json +1 -1
- package/templates/init/functions/node/job/package.json +1 -1
- package/templates/init/functions/python/event/sample.py +9 -5
- 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.txt +2 -1
- 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
|
@@ -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
|
},
|
|
@@ -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",
|
|
@@ -3,15 +3,21 @@
|
|
|
3
3
|
"handler": {
|
|
4
4
|
"type": "form_values_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
|
},
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "Sample",
|
|
3
|
+
"handler": {
|
|
4
|
+
"type": "form_view_handler"
|
|
5
|
+
},
|
|
6
|
+
"type": "function",
|
|
7
|
+
"timestamp": 1569520690703,
|
|
8
|
+
"params" : {
|
|
9
|
+
"environment" : {
|
|
10
|
+
"tld": ".com",
|
|
11
|
+
"data_center": "US",
|
|
12
|
+
"base_url": "https://cliq.zoho.com/company/123456456"
|
|
13
|
+
},
|
|
14
|
+
"access": {
|
|
15
|
+
"user_id": "130720038",
|
|
16
|
+
"zoho_user_id": "130720038",
|
|
17
|
+
"organization": {
|
|
18
|
+
"type": "company",
|
|
19
|
+
"id": "123456456"
|
|
20
|
+
},
|
|
21
|
+
"user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:69.0) Gecko/20100101 Firefox/69.0",
|
|
22
|
+
"chat_id": "CT_2243226337559778047_661211447-B2"
|
|
23
|
+
},
|
|
24
|
+
"params": {}
|
|
25
|
+
}
|
|
26
|
+
}
|