n8n-nodes-wecom 0.1.15 → 0.1.16
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/dist/nodes/WeCom/WeCom.node.js +12 -1
- package/dist/nodes/WeCom/WeCom.node.js.map +1 -1
- package/dist/nodes/WeCom/resources/wefile/addFileMembers.d.ts +2 -0
- package/dist/nodes/WeCom/resources/wefile/addFileMembers.js +19 -0
- package/dist/nodes/WeCom/resources/wefile/addFileMembers.js.map +1 -0
- package/dist/nodes/WeCom/resources/wefile/addSpaceMembers.d.ts +2 -0
- package/dist/nodes/WeCom/resources/wefile/addSpaceMembers.js +19 -0
- package/dist/nodes/WeCom/resources/wefile/addSpaceMembers.js.map +1 -0
- package/dist/nodes/WeCom/resources/wefile/createFolder.d.ts +2 -0
- package/dist/nodes/WeCom/resources/wefile/createFolder.js +19 -0
- package/dist/nodes/WeCom/resources/wefile/createFolder.js.map +1 -0
- package/dist/nodes/WeCom/resources/wefile/createSpace.d.ts +2 -0
- package/dist/nodes/WeCom/resources/wefile/createSpace.js +83 -0
- package/dist/nodes/WeCom/resources/wefile/createSpace.js.map +1 -0
- package/dist/nodes/WeCom/resources/wefile/deleteFile.d.ts +2 -0
- package/dist/nodes/WeCom/resources/wefile/deleteFile.js +19 -0
- package/dist/nodes/WeCom/resources/wefile/deleteFile.js.map +1 -0
- package/dist/nodes/WeCom/resources/wefile/deleteSpace.d.ts +2 -0
- package/dist/nodes/WeCom/resources/wefile/deleteSpace.js +19 -0
- package/dist/nodes/WeCom/resources/wefile/deleteSpace.js.map +1 -0
- package/dist/nodes/WeCom/resources/wefile/downloadFile.d.ts +2 -0
- package/dist/nodes/WeCom/resources/wefile/downloadFile.js +19 -0
- package/dist/nodes/WeCom/resources/wefile/downloadFile.js.map +1 -0
- package/dist/nodes/WeCom/resources/wefile/execute.d.ts +2 -0
- package/dist/nodes/WeCom/resources/wefile/execute.js +251 -0
- package/dist/nodes/WeCom/resources/wefile/execute.js.map +1 -0
- package/dist/nodes/WeCom/resources/wefile/fileSecuritySettings.d.ts +2 -0
- package/dist/nodes/WeCom/resources/wefile/fileSecuritySettings.js +19 -0
- package/dist/nodes/WeCom/resources/wefile/fileSecuritySettings.js.map +1 -0
- package/dist/nodes/WeCom/resources/wefile/fileShareSettings.d.ts +2 -0
- package/dist/nodes/WeCom/resources/wefile/fileShareSettings.js +19 -0
- package/dist/nodes/WeCom/resources/wefile/fileShareSettings.js.map +1 -0
- package/dist/nodes/WeCom/resources/wefile/getFileInfo.d.ts +2 -0
- package/dist/nodes/WeCom/resources/wefile/getFileInfo.js +19 -0
- package/dist/nodes/WeCom/resources/wefile/getFileInfo.js.map +1 -0
- package/dist/nodes/WeCom/resources/wefile/getFileList.d.ts +2 -0
- package/dist/nodes/WeCom/resources/wefile/getFileList.js +99 -0
- package/dist/nodes/WeCom/resources/wefile/getFileList.js.map +1 -0
- package/dist/nodes/WeCom/resources/wefile/getFilePermissions.d.ts +2 -0
- package/dist/nodes/WeCom/resources/wefile/getFilePermissions.js +19 -0
- package/dist/nodes/WeCom/resources/wefile/getFilePermissions.js.map +1 -0
- package/dist/nodes/WeCom/resources/wefile/getFileShareLink.d.ts +2 -0
- package/dist/nodes/WeCom/resources/wefile/getFileShareLink.js +19 -0
- package/dist/nodes/WeCom/resources/wefile/getFileShareLink.js.map +1 -0
- package/dist/nodes/WeCom/resources/wefile/getSpaceInfo.d.ts +2 -0
- package/dist/nodes/WeCom/resources/wefile/getSpaceInfo.js +19 -0
- package/dist/nodes/WeCom/resources/wefile/getSpaceInfo.js.map +1 -0
- package/dist/nodes/WeCom/resources/wefile/getSpaceInviteLink.d.ts +2 -0
- package/dist/nodes/WeCom/resources/wefile/getSpaceInviteLink.js +19 -0
- package/dist/nodes/WeCom/resources/wefile/getSpaceInviteLink.js.map +1 -0
- package/dist/nodes/WeCom/resources/wefile/index.d.ts +2 -0
- package/dist/nodes/WeCom/resources/wefile/index.js +197 -0
- package/dist/nodes/WeCom/resources/wefile/index.js.map +1 -0
- package/dist/nodes/WeCom/resources/wefile/moveFile.d.ts +2 -0
- package/dist/nodes/WeCom/resources/wefile/moveFile.js +19 -0
- package/dist/nodes/WeCom/resources/wefile/moveFile.js.map +1 -0
- package/dist/nodes/WeCom/resources/wefile/removeFileMembers.d.ts +2 -0
- package/dist/nodes/WeCom/resources/wefile/removeFileMembers.js +19 -0
- package/dist/nodes/WeCom/resources/wefile/removeFileMembers.js.map +1 -0
- package/dist/nodes/WeCom/resources/wefile/removeSpaceMembers.d.ts +2 -0
- package/dist/nodes/WeCom/resources/wefile/removeSpaceMembers.js +19 -0
- package/dist/nodes/WeCom/resources/wefile/removeSpaceMembers.js.map +1 -0
- package/dist/nodes/WeCom/resources/wefile/renameFile.d.ts +2 -0
- package/dist/nodes/WeCom/resources/wefile/renameFile.js +19 -0
- package/dist/nodes/WeCom/resources/wefile/renameFile.js.map +1 -0
- package/dist/nodes/WeCom/resources/wefile/renameSpace.d.ts +2 -0
- package/dist/nodes/WeCom/resources/wefile/renameSpace.js +19 -0
- package/dist/nodes/WeCom/resources/wefile/renameSpace.js.map +1 -0
- package/dist/nodes/WeCom/resources/wefile/spaceSecuritySettings.d.ts +2 -0
- package/dist/nodes/WeCom/resources/wefile/spaceSecuritySettings.js +19 -0
- package/dist/nodes/WeCom/resources/wefile/spaceSecuritySettings.js.map +1 -0
- package/dist/nodes/WeCom/resources/wefile/uploadFile.d.ts +2 -0
- package/dist/nodes/WeCom/resources/wefile/uploadFile.js +64 -0
- package/dist/nodes/WeCom/resources/wefile/uploadFile.js.map +1 -0
- package/dist/package.json +4 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +4 -1
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.renameSpaceDescription = void 0;
|
|
4
|
+
exports.renameSpaceDescription = [
|
|
5
|
+
{
|
|
6
|
+
displayName: '参数',
|
|
7
|
+
name: 'params',
|
|
8
|
+
type: 'string',
|
|
9
|
+
default: '',
|
|
10
|
+
description: 'RenameSpace操作的参数',
|
|
11
|
+
displayOptions: {
|
|
12
|
+
show: {
|
|
13
|
+
resource: ['wefile'],
|
|
14
|
+
operation: ['renameSpace'],
|
|
15
|
+
},
|
|
16
|
+
},
|
|
17
|
+
},
|
|
18
|
+
];
|
|
19
|
+
//# sourceMappingURL=renameSpace.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"renameSpace.js","sourceRoot":"","sources":["../../../../../nodes/WeCom/resources/wefile/renameSpace.ts"],"names":[],"mappings":";;;AAEa,QAAA,sBAAsB,GAAsB;IACxD;QACC,WAAW,EAAE,IAAI;QACjB,IAAI,EAAE,QAAQ;QACd,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,kBAAkB;QAC/B,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,QAAQ,CAAC;gBACpB,SAAS,EAAE,CAAC,aAAa,CAAC;aAC1B;SACD;KACD;CACD,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.spaceSecuritySettingsDescription = void 0;
|
|
4
|
+
exports.spaceSecuritySettingsDescription = [
|
|
5
|
+
{
|
|
6
|
+
displayName: '参数',
|
|
7
|
+
name: 'params',
|
|
8
|
+
type: 'string',
|
|
9
|
+
default: '',
|
|
10
|
+
description: 'SpaceSecuritySettings操作的参数',
|
|
11
|
+
displayOptions: {
|
|
12
|
+
show: {
|
|
13
|
+
resource: ['wefile'],
|
|
14
|
+
operation: ['spaceSecuritySettings'],
|
|
15
|
+
},
|
|
16
|
+
},
|
|
17
|
+
},
|
|
18
|
+
];
|
|
19
|
+
//# sourceMappingURL=spaceSecuritySettings.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"spaceSecuritySettings.js","sourceRoot":"","sources":["../../../../../nodes/WeCom/resources/wefile/spaceSecuritySettings.ts"],"names":[],"mappings":";;;AAEa,QAAA,gCAAgC,GAAsB;IAClE;QACC,WAAW,EAAE,IAAI;QACjB,IAAI,EAAE,QAAQ;QACd,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,4BAA4B;QACzC,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,QAAQ,CAAC;gBACpB,SAAS,EAAE,CAAC,uBAAuB,CAAC;aACpC;SACD;KACD;CACD,CAAC"}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.uploadFileDescription = void 0;
|
|
4
|
+
exports.uploadFileDescription = [
|
|
5
|
+
{
|
|
6
|
+
displayName: '空间ID',
|
|
7
|
+
name: 'spaceId',
|
|
8
|
+
type: 'string',
|
|
9
|
+
required: true,
|
|
10
|
+
default: '',
|
|
11
|
+
placeholder: 'space_id_123',
|
|
12
|
+
description: '微盘空间的ID',
|
|
13
|
+
displayOptions: {
|
|
14
|
+
show: {
|
|
15
|
+
resource: ['wefile'],
|
|
16
|
+
operation: ['uploadFile'],
|
|
17
|
+
},
|
|
18
|
+
},
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
displayName: '父文件夹ID',
|
|
22
|
+
name: 'fatherId',
|
|
23
|
+
type: 'string',
|
|
24
|
+
default: '',
|
|
25
|
+
placeholder: 'folder_id_123',
|
|
26
|
+
description: '父文件夹的ID,不填则上传到根目录',
|
|
27
|
+
displayOptions: {
|
|
28
|
+
show: {
|
|
29
|
+
resource: ['wefile'],
|
|
30
|
+
operation: ['uploadFile'],
|
|
31
|
+
},
|
|
32
|
+
},
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
displayName: '文件名',
|
|
36
|
+
name: 'fileName',
|
|
37
|
+
type: 'string',
|
|
38
|
+
required: true,
|
|
39
|
+
default: '',
|
|
40
|
+
placeholder: 'document.pdf',
|
|
41
|
+
description: '上传文件的名称',
|
|
42
|
+
displayOptions: {
|
|
43
|
+
show: {
|
|
44
|
+
resource: ['wefile'],
|
|
45
|
+
operation: ['uploadFile'],
|
|
46
|
+
},
|
|
47
|
+
},
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
displayName: '二进制数据',
|
|
51
|
+
name: 'binaryPropertyName',
|
|
52
|
+
type: 'string',
|
|
53
|
+
default: 'data',
|
|
54
|
+
required: true,
|
|
55
|
+
description: '包含文件数据的二进制属性名称',
|
|
56
|
+
displayOptions: {
|
|
57
|
+
show: {
|
|
58
|
+
resource: ['wefile'],
|
|
59
|
+
operation: ['uploadFile'],
|
|
60
|
+
},
|
|
61
|
+
},
|
|
62
|
+
},
|
|
63
|
+
];
|
|
64
|
+
//# sourceMappingURL=uploadFile.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"uploadFile.js","sourceRoot":"","sources":["../../../../../nodes/WeCom/resources/wefile/uploadFile.ts"],"names":[],"mappings":";;;AAEa,QAAA,qBAAqB,GAAsB;IACvD;QACC,WAAW,EAAE,MAAM;QACnB,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,cAAc;QAC3B,WAAW,EAAE,SAAS;QACtB,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,QAAQ,CAAC;gBACpB,SAAS,EAAE,CAAC,YAAY,CAAC;aACzB;SACD;KACD;IACD;QACC,WAAW,EAAE,QAAQ;QACrB,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,eAAe;QAC5B,WAAW,EAAE,mBAAmB;QAChC,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,QAAQ,CAAC;gBACpB,SAAS,EAAE,CAAC,YAAY,CAAC;aACzB;SACD;KACD;IACD;QACC,WAAW,EAAE,KAAK;QAClB,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,cAAc;QAC3B,WAAW,EAAE,SAAS;QACtB,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,QAAQ,CAAC;gBACpB,SAAS,EAAE,CAAC,YAAY,CAAC;aACzB;SACD;KACD;IACD;QACC,WAAW,EAAE,OAAO;QACpB,IAAI,EAAE,oBAAoB;QAC1B,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,MAAM;QACf,QAAQ,EAAE,IAAI;QACd,WAAW,EAAE,gBAAgB;QAC7B,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,QAAQ,CAAC;gBACpB,SAAS,EAAE,CAAC,YAAY,CAAC;aACzB;SACD;KACD;CACD,CAAC"}
|
package/dist/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "n8n-nodes-wecom",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.15",
|
|
4
4
|
"description": "n8n community node for WeCom (WeChat Work) integration. Send messages and manage contacts.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://github.com/funcodingdev/n8n-nodes-wecom",
|
|
@@ -46,6 +46,9 @@
|
|
|
46
46
|
"dist/nodes/WeComTrigger/WeComTrigger.node.js"
|
|
47
47
|
]
|
|
48
48
|
},
|
|
49
|
+
"dependencies": {
|
|
50
|
+
"@types/node": "^24.9.1"
|
|
51
|
+
},
|
|
49
52
|
"devDependencies": {
|
|
50
53
|
"@n8n/node-cli": "*",
|
|
51
54
|
"eslint": "9.32.0",
|