-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmanifest.json
More file actions
104 lines (104 loc) · 2.39 KB
/
manifest.json
File metadata and controls
104 lines (104 loc) · 2.39 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
{
"display_information": {
"name": "bolt-python-search"
},
"features": {
"bot_user": {
"display_name": "bolt-python-search",
"always_online": true
},
"rich_previews": {
"is_active": true,
"entity_types": [
"slack#/entities/item"
]
},
"search": {
"search_function_callback_id": "search",
"search_filters_function_callback_id": "filters"
}
},
"oauth_config": {
"scopes": {
"bot": [
"chat:write"
]
}
},
"settings": {
"event_subscriptions": {
"bot_events": [
"function_executed",
"entity_details_requested"
]
},
"interactivity": {
"is_enabled": false
},
"org_deploy_enabled": true,
"socket_mode_enabled": true,
"token_rotation_enabled": false,
"hermes_app_type": "remote",
"function_runtime": "remote"
},
"functions": {
"filters": {
"title": "Sample filters",
"description": "Returns the filters for the search function",
"input_parameters": {
"user_context": {
"type": "slack#/types/user_context",
"title": "User Context",
"description": "The context of the user executing a search",
"is_required": true,
"name": "user_context"
}
},
"output_parameters": {
"filters": {
"type": "slack#/types/search_filters",
"title": "Search Filters",
"description": "An array containing the available filters for the search",
"is_required": true,
"name": "filters"
}
}
},
"search": {
"title": "Sample search",
"description": "Returns the available search result given the query and filter",
"input_parameters": {
"query": {
"type": "string",
"title": "Query",
"description": "The search query entered by the user",
"is_required": true,
"name": "query"
},
"filters": {
"type": "object",
"title": "Filters",
"description": "The filters selected by the user",
"is_required": true,
"name": "filters"
},
"user_context": {
"type": "slack#/types/user_context",
"title": "User Context",
"description": "The context of the user executing a search",
"is_required": true,
"name": "user_context"
}
},
"output_parameters": {
"search_results": {
"type": "slack#/types/search_results",
"title": "Search Result",
"description": "An array containing the search results based on the inputs",
"is_required": true,
"name": "search_results"
}
}
}
}
}