@redonvn/redai-openapi-router 0.1.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 -0
- package/data/modules/agent.json +12303 -0
- package/data/modules/marketing.json +39015 -0
- package/data/modules/models.json +4225 -0
- package/data/modules/user.json +3965 -0
- package/data/modules/workflow.json +8253 -0
- package/data/sitemap.json +268 -0
- package/dist/index.d.ts +37 -0
- package/dist/index.js +795 -0
- package/dist/index.js.map +1 -0
- package/openclaw.plugin.json +47 -0
- package/package.json +55 -0
- package/skills/redai-openapi-router/SKILL.md +28 -0
- package/skills/redai-openapi-router/agents/openai.yaml +7 -0
- package/tool-catalog.json +69 -0
|
@@ -0,0 +1,268 @@
|
|
|
1
|
+
{
|
|
2
|
+
"catalogVersion": "1.0.0",
|
|
3
|
+
"generatedAt": "2026-03-16T10:32:23.503Z",
|
|
4
|
+
"modules": [
|
|
5
|
+
{
|
|
6
|
+
"id": "marketing",
|
|
7
|
+
"pluginId": "redai-openapi-marketing",
|
|
8
|
+
"title": "Marketing",
|
|
9
|
+
"summary": "Audience, segment, email campaign, SMS/eSMS, tracking, ZNS va external templates.",
|
|
10
|
+
"whenToUse": [
|
|
11
|
+
"Khi user muon tao, xem, pause, resume hoac phan tich campaign marketing.",
|
|
12
|
+
"Khi user muon lam viec voi audience, segment, tracking, export, eSMS hoac ZNS."
|
|
13
|
+
],
|
|
14
|
+
"whenNotToUse": [
|
|
15
|
+
"Khong dung cho account settings.",
|
|
16
|
+
"Khong dung cho fine-tuning model.",
|
|
17
|
+
"Khong dung cho workflow runtime."
|
|
18
|
+
],
|
|
19
|
+
"keywords": [
|
|
20
|
+
"marketing",
|
|
21
|
+
"campaign",
|
|
22
|
+
"email",
|
|
23
|
+
"segment",
|
|
24
|
+
"audience",
|
|
25
|
+
"tracking",
|
|
26
|
+
"zns",
|
|
27
|
+
"esms"
|
|
28
|
+
],
|
|
29
|
+
"featureGroups": [
|
|
30
|
+
"marketing.campaign-actions",
|
|
31
|
+
"marketing.user-audience",
|
|
32
|
+
"marketing.user-email-campaign",
|
|
33
|
+
"marketing.user-email-tracking",
|
|
34
|
+
"marketing.marketing-esms",
|
|
35
|
+
"marketing.user-external-template",
|
|
36
|
+
"marketing.marketing-gmail",
|
|
37
|
+
"marketing.user-sms-campaign",
|
|
38
|
+
"marketing.user-sms-servers",
|
|
39
|
+
"marketing.user-sms-template",
|
|
40
|
+
"marketing.user-marketing",
|
|
41
|
+
"marketing.user-marketing-custom-field",
|
|
42
|
+
"marketing.user-marketing-custom-field-definition",
|
|
43
|
+
"marketing.user-segment",
|
|
44
|
+
"marketing.user-tag",
|
|
45
|
+
"marketing.user-template-email",
|
|
46
|
+
"marketing.user-marketing-twilio-email",
|
|
47
|
+
"marketing.user-marketing-twilio-sms",
|
|
48
|
+
"marketing.zalo-article",
|
|
49
|
+
"marketing.user-zalo-consultation",
|
|
50
|
+
"marketing.user-zalo-oa",
|
|
51
|
+
"marketing.user-zalo-conversation",
|
|
52
|
+
"marketing.user-zalo-group",
|
|
53
|
+
"marketing.user-zalo-campaign-oa",
|
|
54
|
+
"marketing.user-zalo-oa-marketing",
|
|
55
|
+
"marketing.zalo-group-management",
|
|
56
|
+
"marketing.zalo-group-message",
|
|
57
|
+
"marketing.user-zalo-personal-groups",
|
|
58
|
+
"marketing.user-zalo-personal-campaign",
|
|
59
|
+
"marketing.user-zalo-personal",
|
|
60
|
+
"marketing.user-zalo-campaign",
|
|
61
|
+
"marketing.zalo-upload",
|
|
62
|
+
"marketing.zalo-video-upload",
|
|
63
|
+
"marketing.zns-campaign",
|
|
64
|
+
"marketing.user-zalo-zns",
|
|
65
|
+
"marketing.user-zalo-zns-image"
|
|
66
|
+
],
|
|
67
|
+
"topOperations": [
|
|
68
|
+
"marketing:campaignactioncontroller_getactiontypes_v1",
|
|
69
|
+
"marketing:crmsynccontroller_createsyncjob_v1",
|
|
70
|
+
"marketing:emailcampaigncontroller_bulkdeleteemailcampaigns_v1",
|
|
71
|
+
"marketing:emailcampaigncontroller_createbatchemailcampaign_v1",
|
|
72
|
+
"marketing:emailcampaigncontroller_estimatecampaign_v1",
|
|
73
|
+
"marketing:emailcampaigncontroller_exportcampaigndata_v1",
|
|
74
|
+
"marketing:emailcampaigncontroller_exportcampaigneventlogs_v1",
|
|
75
|
+
"marketing:emailcampaigncontroller_exportcampaignhistory_v1",
|
|
76
|
+
"marketing:emailcampaigncontroller_getcampaigndetail_v1",
|
|
77
|
+
"marketing:emailcampaigncontroller_getcampaignhistory_v1"
|
|
78
|
+
],
|
|
79
|
+
"operationCount": 318,
|
|
80
|
+
"moduleFile": "modules/marketing.json"
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"id": "models",
|
|
84
|
+
"pluginId": "redai-openapi-models",
|
|
85
|
+
"title": "Models",
|
|
86
|
+
"summary": "Datasets fine-tuning, conversations, jobs va user models.",
|
|
87
|
+
"whenToUse": [
|
|
88
|
+
"Khi user muon tao dataset, them conversations, validate va chay fine-tuning.",
|
|
89
|
+
"Khi user muon xem jobs, timeline va models da train."
|
|
90
|
+
],
|
|
91
|
+
"whenNotToUse": [
|
|
92
|
+
"Khong dung cho campaign marketing.",
|
|
93
|
+
"Khong dung cho account settings.",
|
|
94
|
+
"Khong dung cho workflow editing."
|
|
95
|
+
],
|
|
96
|
+
"keywords": [
|
|
97
|
+
"models",
|
|
98
|
+
"fine-tuning",
|
|
99
|
+
"dataset",
|
|
100
|
+
"conversation",
|
|
101
|
+
"training",
|
|
102
|
+
"job",
|
|
103
|
+
"provider"
|
|
104
|
+
],
|
|
105
|
+
"featureGroups": [
|
|
106
|
+
"models.user-finetuning-data",
|
|
107
|
+
"models.user-finetuning-data-history",
|
|
108
|
+
"models.user-finetuning-jobs",
|
|
109
|
+
"models.user-models"
|
|
110
|
+
],
|
|
111
|
+
"topOperations": [
|
|
112
|
+
"models:userdatafinetunecontroller_bulkremove_v1",
|
|
113
|
+
"models:userdatafinetunecontroller_create_v1",
|
|
114
|
+
"models:userdatafinetunecontroller_createconversations_v1",
|
|
115
|
+
"models:userdatafinetunecontroller_createtemplate_v1",
|
|
116
|
+
"models:userdatafinetunecontroller_deleteconversations_v1",
|
|
117
|
+
"models:userdatafinetunecontroller_executefinetuning_v1",
|
|
118
|
+
"models:userdatafinetunecontroller_findall_v1",
|
|
119
|
+
"models:userdatafinetunecontroller_findone_v1",
|
|
120
|
+
"models:userdatafinetunecontroller_generatefiles_v1",
|
|
121
|
+
"models:userdatafinetunecontroller_getconversation_v1"
|
|
122
|
+
],
|
|
123
|
+
"operationCount": 36,
|
|
124
|
+
"moduleFile": "modules/models.json"
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
"id": "workflow",
|
|
128
|
+
"pluginId": "redai-openapi-workflow",
|
|
129
|
+
"title": "Workflow",
|
|
130
|
+
"summary": "Workflows, nodes, connections, triggers va executions.",
|
|
131
|
+
"whenToUse": [
|
|
132
|
+
"Khi user muon doc, sua, test hoac debug workflow.",
|
|
133
|
+
"Khi user muon lam viec voi nodes, connections, triggers va executions."
|
|
134
|
+
],
|
|
135
|
+
"whenNotToUse": [
|
|
136
|
+
"Khong dung cho account settings.",
|
|
137
|
+
"Khong dung cho email campaign.",
|
|
138
|
+
"Khong dung cho fine-tuning dataset."
|
|
139
|
+
],
|
|
140
|
+
"keywords": [
|
|
141
|
+
"workflow",
|
|
142
|
+
"nodes",
|
|
143
|
+
"connections",
|
|
144
|
+
"trigger",
|
|
145
|
+
"execution",
|
|
146
|
+
"custom node",
|
|
147
|
+
"automation"
|
|
148
|
+
],
|
|
149
|
+
"featureGroups": [
|
|
150
|
+
"workflow.user-workflow-connections",
|
|
151
|
+
"workflow.custom-nodes-user",
|
|
152
|
+
"workflow.custom-triggers",
|
|
153
|
+
"workflow.user-workflow",
|
|
154
|
+
"workflow.user-node-definition-groups",
|
|
155
|
+
"workflow.user-workflow-sse"
|
|
156
|
+
],
|
|
157
|
+
"topOperations": [
|
|
158
|
+
"workflow:connectionusercontroller_createconnection_v1",
|
|
159
|
+
"workflow:connectionusercontroller_deleteconnection_v1",
|
|
160
|
+
"workflow:connectionusercontroller_getconnectionsbynode_v1",
|
|
161
|
+
"workflow:connectionusercontroller_getconnectionsbyworkflow_v1",
|
|
162
|
+
"workflow:customnodeusercontroller_batchconverttoolstonodes_v1",
|
|
163
|
+
"workflow:customnodeusercontroller_bulkharddelete_v1",
|
|
164
|
+
"workflow:customnodeusercontroller_convertprojecttoolstonodes_v1",
|
|
165
|
+
"workflow:customnodeusercontroller_create_v1",
|
|
166
|
+
"workflow:customnodeusercontroller_getbyid_v1",
|
|
167
|
+
"workflow:customnodeusercontroller_harddelete_v1"
|
|
168
|
+
],
|
|
169
|
+
"operationCount": 70,
|
|
170
|
+
"moduleFile": "modules/workflow.json"
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
"id": "agent",
|
|
174
|
+
"pluginId": "redai-openapi-agent",
|
|
175
|
+
"title": "Agent",
|
|
176
|
+
"summary": "Agent memory, seeding, type agent va integrations Facebook/Zalo.",
|
|
177
|
+
"whenToUse": [
|
|
178
|
+
"Khi user muon quan ly agent, memory, seeding hoac integrations.",
|
|
179
|
+
"Khi user muon thao tac voi Facebook pages, catalogs, Zalo OA/bot/personal accounts."
|
|
180
|
+
],
|
|
181
|
+
"whenNotToUse": [
|
|
182
|
+
"Khong dung cho account settings.",
|
|
183
|
+
"Khong dung cho marketing campaign.",
|
|
184
|
+
"Khong dung cho workflow execution."
|
|
185
|
+
],
|
|
186
|
+
"keywords": [
|
|
187
|
+
"agent",
|
|
188
|
+
"memory",
|
|
189
|
+
"seeding",
|
|
190
|
+
"facebook",
|
|
191
|
+
"zalo",
|
|
192
|
+
"type agent",
|
|
193
|
+
"integration"
|
|
194
|
+
],
|
|
195
|
+
"featureGroups": [
|
|
196
|
+
"agent.user-integration-facebook-ads",
|
|
197
|
+
"agent.user-agent",
|
|
198
|
+
"agent.user-agent-memories",
|
|
199
|
+
"agent.user-agent-seeding",
|
|
200
|
+
"agent.agent-zalo-official-accounts",
|
|
201
|
+
"agent.user-type-agent",
|
|
202
|
+
"agent.user-memories"
|
|
203
|
+
],
|
|
204
|
+
"topOperations": [
|
|
205
|
+
"agent:agentfacebookcatalogcontroller_deleteproduct_v1",
|
|
206
|
+
"agent:agentfacebookcatalogcontroller_getcatalogproducts_v1",
|
|
207
|
+
"agent:agentfacebookcatalogcontroller_getcatalogs_v1",
|
|
208
|
+
"agent:agentfacebookcatalogcontroller_getproduct_v1",
|
|
209
|
+
"agent:agentfacebookcatalogcontroller_getproductfeeds_v1",
|
|
210
|
+
"agent:agentfacebookcatalogcontroller_getproductsets_v1",
|
|
211
|
+
"agent:agentfacebookcatalogcontroller_upsertproduct_v1",
|
|
212
|
+
"agent:agentfacebookpagecontroller_getfacebookpages_v1",
|
|
213
|
+
"agent:agentfacebookpagecontroller_integratefacebookpages_v1",
|
|
214
|
+
"agent:agentfacebookpagecontroller_removefacebookpage_v1"
|
|
215
|
+
],
|
|
216
|
+
"operationCount": 101,
|
|
217
|
+
"moduleFile": "modules/agent.json"
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
"id": "user",
|
|
221
|
+
"pluginId": "redai-openapi-user",
|
|
222
|
+
"title": "User",
|
|
223
|
+
"summary": "Account info, verification OTP, API keys, devices, banks va resources.",
|
|
224
|
+
"whenToUse": [
|
|
225
|
+
"Khi user muon xem hoac cap nhat account settings, business info, bank info.",
|
|
226
|
+
"Khi user muon quan ly OTP, API keys, devices hoac user resources."
|
|
227
|
+
],
|
|
228
|
+
"whenNotToUse": [
|
|
229
|
+
"Khong dung cho campaign marketing.",
|
|
230
|
+
"Khong dung cho fine-tuning model.",
|
|
231
|
+
"Khong dung cho workflow graph."
|
|
232
|
+
],
|
|
233
|
+
"keywords": [
|
|
234
|
+
"user",
|
|
235
|
+
"account",
|
|
236
|
+
"otp",
|
|
237
|
+
"api key",
|
|
238
|
+
"device",
|
|
239
|
+
"bank",
|
|
240
|
+
"resource",
|
|
241
|
+
"notification"
|
|
242
|
+
],
|
|
243
|
+
"featureGroups": [
|
|
244
|
+
"user.user-account",
|
|
245
|
+
"user.api-keys",
|
|
246
|
+
"user.user-auth-verification-log",
|
|
247
|
+
"user.user-device-info",
|
|
248
|
+
"user.user-banks",
|
|
249
|
+
"user.user-resources",
|
|
250
|
+
"user.users"
|
|
251
|
+
],
|
|
252
|
+
"topOperations": [
|
|
253
|
+
"user:accountcontroller_createavataruploadurl_v1",
|
|
254
|
+
"user:accountcontroller_createcoverimageuploadurl_v1",
|
|
255
|
+
"user:accountcontroller_getbankinfo_v1",
|
|
256
|
+
"user:accountcontroller_getbusinessinfo_v1",
|
|
257
|
+
"user:accountcontroller_getnotificationsettings_v1",
|
|
258
|
+
"user:accountcontroller_sendemailverificationotp_v1",
|
|
259
|
+
"user:accountcontroller_sendphoneverificationotp_v1",
|
|
260
|
+
"user:accountcontroller_updateavatar_v1",
|
|
261
|
+
"user:accountcontroller_updatebankinfo_v1",
|
|
262
|
+
"user:accountcontroller_updatebusinessinfo_v1"
|
|
263
|
+
],
|
|
264
|
+
"operationCount": 48,
|
|
265
|
+
"moduleFile": "modules/user.json"
|
|
266
|
+
}
|
|
267
|
+
]
|
|
268
|
+
}
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
type PluginRuntimeConfig = {
|
|
2
|
+
baseUrl?: string;
|
|
3
|
+
bearerToken?: string;
|
|
4
|
+
apiKey?: string;
|
|
5
|
+
apiKeyHeader?: string;
|
|
6
|
+
defaultHeaders?: Record<string, string>;
|
|
7
|
+
timeoutMs?: number;
|
|
8
|
+
workspaceId?: string;
|
|
9
|
+
baseId?: string;
|
|
10
|
+
authStorePath?: string;
|
|
11
|
+
};
|
|
12
|
+
type ToolResult = {
|
|
13
|
+
content: Array<{
|
|
14
|
+
type: "text";
|
|
15
|
+
text: string;
|
|
16
|
+
}>;
|
|
17
|
+
};
|
|
18
|
+
type OpenClawApiLike = {
|
|
19
|
+
config?: {
|
|
20
|
+
plugins?: {
|
|
21
|
+
entries?: Record<string, {
|
|
22
|
+
config?: PluginRuntimeConfig;
|
|
23
|
+
}>;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
registerTool: (definition: {
|
|
27
|
+
name: string;
|
|
28
|
+
description: string;
|
|
29
|
+
parameters: unknown;
|
|
30
|
+
execute: (id: string, params: unknown) => Promise<ToolResult>;
|
|
31
|
+
}, options?: {
|
|
32
|
+
optional?: boolean;
|
|
33
|
+
}) => void;
|
|
34
|
+
};
|
|
35
|
+
declare function register(api: OpenClawApiLike): void;
|
|
36
|
+
|
|
37
|
+
export { register as default };
|