@peninsula-med/beisen-ehr-plugin 1.1.9 → 2.0.0
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 +14 -130
- package/dist/index.cjs.js +60 -128
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +3 -21
- package/dist/index.esm.js +60 -128
- package/dist/index.esm.js.map +1 -1
- package/openclaw.plugin.json +12 -47
- package/package.json +4 -27
package/openclaw.plugin.json
CHANGED
|
@@ -6,55 +6,20 @@
|
|
|
6
6
|
"type": "object",
|
|
7
7
|
"additionalProperties": false,
|
|
8
8
|
"properties": {
|
|
9
|
-
"apiUrl": {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
},
|
|
14
|
-
"
|
|
15
|
-
"type": "string",
|
|
16
|
-
"description": "App Key(从北森管理员获取)"
|
|
17
|
-
},
|
|
18
|
-
"appSecret": {
|
|
19
|
-
"type": "string",
|
|
20
|
-
"description": "App Secret(从北森管理员获取)"
|
|
21
|
-
},
|
|
22
|
-
"staffId": {
|
|
23
|
-
"type": "string",
|
|
24
|
-
"description": "员工 ID"
|
|
25
|
-
},
|
|
26
|
-
"tenantId": {
|
|
27
|
-
"type": "string",
|
|
28
|
-
"description": "企业租户 ID"
|
|
29
|
-
},
|
|
30
|
-
"email": {
|
|
31
|
-
"type": "string",
|
|
32
|
-
"description": "企业邮箱"
|
|
33
|
-
}
|
|
9
|
+
"apiUrl": { "type": "string", "description": "北森 API 地址", "default": "https://openapi.italent.cn" },
|
|
10
|
+
"appKey": { "type": "string", "description": "App Key" },
|
|
11
|
+
"appSecret": { "type": "string", "description": "App Secret" },
|
|
12
|
+
"staffId": { "type": "string", "description": "员工 ID" },
|
|
13
|
+
"tenantId": { "type": "string", "description": "企业租户 ID" },
|
|
14
|
+
"email": { "type": "string", "description": "企业邮箱" }
|
|
34
15
|
}
|
|
35
16
|
},
|
|
36
17
|
"uiHints": {
|
|
37
|
-
"apiUrl": {
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
},
|
|
41
|
-
"
|
|
42
|
-
|
|
43
|
-
"sensitive": true
|
|
44
|
-
},
|
|
45
|
-
"appSecret": {
|
|
46
|
-
"label": "App Secret",
|
|
47
|
-
"sensitive": true
|
|
48
|
-
},
|
|
49
|
-
"staffId": {
|
|
50
|
-
"label": "员工 ID"
|
|
51
|
-
},
|
|
52
|
-
"tenantId": {
|
|
53
|
-
"label": "企业租户 ID"
|
|
54
|
-
},
|
|
55
|
-
"email": {
|
|
56
|
-
"label": "企业邮箱",
|
|
57
|
-
"placeholder": "your-email@company.com"
|
|
58
|
-
}
|
|
18
|
+
"apiUrl": { "label": "API 地址", "placeholder": "https://openapi.italent.cn" },
|
|
19
|
+
"appKey": { "label": "App Key", "sensitive": true },
|
|
20
|
+
"appSecret": { "label": "App Secret", "sensitive": true },
|
|
21
|
+
"staffId": { "label": "员工 ID" },
|
|
22
|
+
"tenantId": { "label": "企业租户 ID" },
|
|
23
|
+
"email": { "label": "企业邮箱", "placeholder": "your-email@company.com" }
|
|
59
24
|
}
|
|
60
25
|
}
|
package/package.json
CHANGED
|
@@ -1,15 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@peninsula-med/beisen-ehr-plugin",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"module": "dist/index.esm.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
8
|
-
"files": [
|
|
9
|
-
"dist",
|
|
10
|
-
"openclaw.plugin.json",
|
|
11
|
-
"README.md"
|
|
12
|
-
],
|
|
8
|
+
"files": ["dist", "openclaw.plugin.json", "README.md"],
|
|
13
9
|
"scripts": {
|
|
14
10
|
"build": "rollup -c",
|
|
15
11
|
"dev": "rollup -c -w",
|
|
@@ -22,35 +18,16 @@
|
|
|
22
18
|
"bin": {
|
|
23
19
|
"beisen-ehr-configure": "./scripts/configure.js"
|
|
24
20
|
},
|
|
25
|
-
"keywords": [
|
|
26
|
-
"beisen",
|
|
27
|
-
"ehr",
|
|
28
|
-
"openclaw-plugin",
|
|
29
|
-
"加班申请",
|
|
30
|
-
"考勤"
|
|
31
|
-
],
|
|
21
|
+
"keywords": ["beisen", "ehr", "openclaw-plugin", "加班申请", "考勤"],
|
|
32
22
|
"author": "龙二 🐉",
|
|
33
23
|
"license": "MIT",
|
|
34
24
|
"repository": {
|
|
35
25
|
"type": "git",
|
|
36
26
|
"url": "https://github.com/your-org/beisen-ehr-plugin.git"
|
|
37
27
|
},
|
|
38
|
-
"homepage": "https://github.com/your-org/beisen-ehr-plugin#readme",
|
|
39
|
-
"bugs": {
|
|
40
|
-
"url": "https://github.com/your-org/beisen-ehr-plugin/issues"
|
|
41
|
-
},
|
|
42
28
|
"description": "北森 EHR 插件 - 加班申请、考勤查询、假期余额",
|
|
43
29
|
"openclaw": {
|
|
44
|
-
"extensions": [
|
|
45
|
-
"./dist/index.esm.js"
|
|
46
|
-
],
|
|
47
|
-
"mcp": {
|
|
48
|
-
"id": "beisen-ehr",
|
|
49
|
-
"label": "北森 EHR",
|
|
50
|
-
"blurb": "北森 EHR 系统集成,支持加班申请、考勤查询、假期余额等功能",
|
|
51
|
-
"order": 50,
|
|
52
|
-
"quickstartAllowFrom": false
|
|
53
|
-
},
|
|
30
|
+
"extensions": ["./dist/index.esm.js"],
|
|
54
31
|
"install": {
|
|
55
32
|
"npmSpec": "@peninsula-med/beisen-ehr-plugin",
|
|
56
33
|
"localPath": "extensions/beisen-ehr-plugin",
|