@redonvn/redai-openapi-marketing 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 +38 -0
- package/dist/index.cjs +73013 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +73132 -0
- package/dist/index.d.ts +73132 -0
- package/dist/index.js +72987 -0
- package/dist/index.js.map +1 -0
- package/openclaw.plugin.json +84 -0
- package/package.json +52 -0
- package/tool-catalog.json +24699 -0
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "redai-openapi-marketing",
|
|
3
|
+
"name": "RedAI User API Export - Marketing",
|
|
4
|
+
"version": "0.1.0",
|
|
5
|
+
"description": "OpenAPI export cho nhóm API user đã chọn: Marketing.",
|
|
6
|
+
"configSchema": {
|
|
7
|
+
"type": "object",
|
|
8
|
+
"additionalProperties": false,
|
|
9
|
+
"properties": {
|
|
10
|
+
"baseUrl": {
|
|
11
|
+
"type": "string",
|
|
12
|
+
"description": "Base URL of the target HTTP API"
|
|
13
|
+
},
|
|
14
|
+
"bearerToken": {
|
|
15
|
+
"type": "string",
|
|
16
|
+
"description": "Bearer token used for Authorization header"
|
|
17
|
+
},
|
|
18
|
+
"apiKey": {
|
|
19
|
+
"type": "string",
|
|
20
|
+
"description": "Static API key for the upstream API"
|
|
21
|
+
},
|
|
22
|
+
"apiKeyHeader": {
|
|
23
|
+
"type": "string",
|
|
24
|
+
"description": "Header name used when apiKey is set",
|
|
25
|
+
"default": "x-api-key"
|
|
26
|
+
},
|
|
27
|
+
"timeoutMs": {
|
|
28
|
+
"type": "number",
|
|
29
|
+
"description": "Timeout in milliseconds for outbound tool calls"
|
|
30
|
+
},
|
|
31
|
+
"defaultHeaders": {
|
|
32
|
+
"type": "object",
|
|
33
|
+
"additionalProperties": {
|
|
34
|
+
"type": "string"
|
|
35
|
+
},
|
|
36
|
+
"description": "Additional headers added to every request"
|
|
37
|
+
},
|
|
38
|
+
"workspaceId": {
|
|
39
|
+
"type": "string",
|
|
40
|
+
"description": "Default workspace ID applied to x-workspace-id when the tool exposes tenant headers."
|
|
41
|
+
},
|
|
42
|
+
"baseId": {
|
|
43
|
+
"type": "string",
|
|
44
|
+
"description": "Default base ID applied to x-base-id when the tool exposes tenant headers."
|
|
45
|
+
},
|
|
46
|
+
"authStorePath": {
|
|
47
|
+
"type": "string",
|
|
48
|
+
"description": "Shared store path for per-user RedAI auth entries"
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
"uiHints": {
|
|
53
|
+
"baseUrl": {
|
|
54
|
+
"label": "Base URL",
|
|
55
|
+
"placeholder": "https://v2.redai.vn/api"
|
|
56
|
+
},
|
|
57
|
+
"bearerToken": {
|
|
58
|
+
"label": "Bearer Token",
|
|
59
|
+
"sensitive": true
|
|
60
|
+
},
|
|
61
|
+
"apiKey": {
|
|
62
|
+
"label": "API Key",
|
|
63
|
+
"sensitive": true
|
|
64
|
+
},
|
|
65
|
+
"apiKeyHeader": {
|
|
66
|
+
"label": "API Key Header"
|
|
67
|
+
},
|
|
68
|
+
"timeoutMs": {
|
|
69
|
+
"label": "Timeout (ms)"
|
|
70
|
+
},
|
|
71
|
+
"workspaceId": {
|
|
72
|
+
"label": "Workspace ID"
|
|
73
|
+
},
|
|
74
|
+
"baseId": {
|
|
75
|
+
"label": "Base ID"
|
|
76
|
+
},
|
|
77
|
+
"authStorePath": {
|
|
78
|
+
"label": "Auth Store Path"
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
"skills": [
|
|
82
|
+
"skills/redai-openapi-marketing"
|
|
83
|
+
]
|
|
84
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@redonvn/redai-openapi-marketing",
|
|
3
|
+
"version": "0.1.1",
|
|
4
|
+
"description": "OpenAPI export cho nhóm API user đã chọn: Marketing.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"openclaw",
|
|
7
|
+
"plugin",
|
|
8
|
+
"redai",
|
|
9
|
+
"openapi"
|
|
10
|
+
],
|
|
11
|
+
"license": "MIT",
|
|
12
|
+
"author": "Redon",
|
|
13
|
+
"type": "module",
|
|
14
|
+
"main": "dist/index.cjs",
|
|
15
|
+
"module": "dist/index.js",
|
|
16
|
+
"types": "dist/index.d.ts",
|
|
17
|
+
"exports": {
|
|
18
|
+
".": {
|
|
19
|
+
"types": "./dist/index.d.ts",
|
|
20
|
+
"import": "./dist/index.js",
|
|
21
|
+
"require": "./dist/index.cjs"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"files": [
|
|
25
|
+
"dist",
|
|
26
|
+
"openclaw.plugin.json",
|
|
27
|
+
"tool-catalog.json",
|
|
28
|
+
"README.md"
|
|
29
|
+
],
|
|
30
|
+
"engines": {
|
|
31
|
+
"node": ">=18"
|
|
32
|
+
},
|
|
33
|
+
"publishConfig": {
|
|
34
|
+
"access": "public"
|
|
35
|
+
},
|
|
36
|
+
"dependencies": {
|
|
37
|
+
"@redonvn/redai-agent-sdk": "^0.1.1"
|
|
38
|
+
},
|
|
39
|
+
"devDependencies": {
|
|
40
|
+
"@redonvn/open-claw-sdk": "^0.1.5"
|
|
41
|
+
},
|
|
42
|
+
"openclaw": {
|
|
43
|
+
"extensions": [
|
|
44
|
+
"./dist/index.js"
|
|
45
|
+
]
|
|
46
|
+
},
|
|
47
|
+
"scripts": {
|
|
48
|
+
"build": "tsup",
|
|
49
|
+
"clean": "tsup --clean",
|
|
50
|
+
"typecheck": "tsc -p tsconfig.json --noEmit"
|
|
51
|
+
}
|
|
52
|
+
}
|