n8n-nodes-wecom 0.1.14 → 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.
Files changed (77) hide show
  1. package/dist/nodes/WeCom/WeCom.node.js +12 -1
  2. package/dist/nodes/WeCom/WeCom.node.js.map +1 -1
  3. package/dist/nodes/WeCom/resources/wefile/addFileMembers.d.ts +2 -0
  4. package/dist/nodes/WeCom/resources/wefile/addFileMembers.js +19 -0
  5. package/dist/nodes/WeCom/resources/wefile/addFileMembers.js.map +1 -0
  6. package/dist/nodes/WeCom/resources/wefile/addSpaceMembers.d.ts +2 -0
  7. package/dist/nodes/WeCom/resources/wefile/addSpaceMembers.js +19 -0
  8. package/dist/nodes/WeCom/resources/wefile/addSpaceMembers.js.map +1 -0
  9. package/dist/nodes/WeCom/resources/wefile/createFolder.d.ts +2 -0
  10. package/dist/nodes/WeCom/resources/wefile/createFolder.js +19 -0
  11. package/dist/nodes/WeCom/resources/wefile/createFolder.js.map +1 -0
  12. package/dist/nodes/WeCom/resources/wefile/createSpace.d.ts +2 -0
  13. package/dist/nodes/WeCom/resources/wefile/createSpace.js +83 -0
  14. package/dist/nodes/WeCom/resources/wefile/createSpace.js.map +1 -0
  15. package/dist/nodes/WeCom/resources/wefile/deleteFile.d.ts +2 -0
  16. package/dist/nodes/WeCom/resources/wefile/deleteFile.js +19 -0
  17. package/dist/nodes/WeCom/resources/wefile/deleteFile.js.map +1 -0
  18. package/dist/nodes/WeCom/resources/wefile/deleteSpace.d.ts +2 -0
  19. package/dist/nodes/WeCom/resources/wefile/deleteSpace.js +19 -0
  20. package/dist/nodes/WeCom/resources/wefile/deleteSpace.js.map +1 -0
  21. package/dist/nodes/WeCom/resources/wefile/downloadFile.d.ts +2 -0
  22. package/dist/nodes/WeCom/resources/wefile/downloadFile.js +19 -0
  23. package/dist/nodes/WeCom/resources/wefile/downloadFile.js.map +1 -0
  24. package/dist/nodes/WeCom/resources/wefile/execute.d.ts +2 -0
  25. package/dist/nodes/WeCom/resources/wefile/execute.js +251 -0
  26. package/dist/nodes/WeCom/resources/wefile/execute.js.map +1 -0
  27. package/dist/nodes/WeCom/resources/wefile/fileSecuritySettings.d.ts +2 -0
  28. package/dist/nodes/WeCom/resources/wefile/fileSecuritySettings.js +19 -0
  29. package/dist/nodes/WeCom/resources/wefile/fileSecuritySettings.js.map +1 -0
  30. package/dist/nodes/WeCom/resources/wefile/fileShareSettings.d.ts +2 -0
  31. package/dist/nodes/WeCom/resources/wefile/fileShareSettings.js +19 -0
  32. package/dist/nodes/WeCom/resources/wefile/fileShareSettings.js.map +1 -0
  33. package/dist/nodes/WeCom/resources/wefile/getFileInfo.d.ts +2 -0
  34. package/dist/nodes/WeCom/resources/wefile/getFileInfo.js +19 -0
  35. package/dist/nodes/WeCom/resources/wefile/getFileInfo.js.map +1 -0
  36. package/dist/nodes/WeCom/resources/wefile/getFileList.d.ts +2 -0
  37. package/dist/nodes/WeCom/resources/wefile/getFileList.js +99 -0
  38. package/dist/nodes/WeCom/resources/wefile/getFileList.js.map +1 -0
  39. package/dist/nodes/WeCom/resources/wefile/getFilePermissions.d.ts +2 -0
  40. package/dist/nodes/WeCom/resources/wefile/getFilePermissions.js +19 -0
  41. package/dist/nodes/WeCom/resources/wefile/getFilePermissions.js.map +1 -0
  42. package/dist/nodes/WeCom/resources/wefile/getFileShareLink.d.ts +2 -0
  43. package/dist/nodes/WeCom/resources/wefile/getFileShareLink.js +19 -0
  44. package/dist/nodes/WeCom/resources/wefile/getFileShareLink.js.map +1 -0
  45. package/dist/nodes/WeCom/resources/wefile/getSpaceInfo.d.ts +2 -0
  46. package/dist/nodes/WeCom/resources/wefile/getSpaceInfo.js +19 -0
  47. package/dist/nodes/WeCom/resources/wefile/getSpaceInfo.js.map +1 -0
  48. package/dist/nodes/WeCom/resources/wefile/getSpaceInviteLink.d.ts +2 -0
  49. package/dist/nodes/WeCom/resources/wefile/getSpaceInviteLink.js +19 -0
  50. package/dist/nodes/WeCom/resources/wefile/getSpaceInviteLink.js.map +1 -0
  51. package/dist/nodes/WeCom/resources/wefile/index.d.ts +2 -0
  52. package/dist/nodes/WeCom/resources/wefile/index.js +197 -0
  53. package/dist/nodes/WeCom/resources/wefile/index.js.map +1 -0
  54. package/dist/nodes/WeCom/resources/wefile/moveFile.d.ts +2 -0
  55. package/dist/nodes/WeCom/resources/wefile/moveFile.js +19 -0
  56. package/dist/nodes/WeCom/resources/wefile/moveFile.js.map +1 -0
  57. package/dist/nodes/WeCom/resources/wefile/removeFileMembers.d.ts +2 -0
  58. package/dist/nodes/WeCom/resources/wefile/removeFileMembers.js +19 -0
  59. package/dist/nodes/WeCom/resources/wefile/removeFileMembers.js.map +1 -0
  60. package/dist/nodes/WeCom/resources/wefile/removeSpaceMembers.d.ts +2 -0
  61. package/dist/nodes/WeCom/resources/wefile/removeSpaceMembers.js +19 -0
  62. package/dist/nodes/WeCom/resources/wefile/removeSpaceMembers.js.map +1 -0
  63. package/dist/nodes/WeCom/resources/wefile/renameFile.d.ts +2 -0
  64. package/dist/nodes/WeCom/resources/wefile/renameFile.js +19 -0
  65. package/dist/nodes/WeCom/resources/wefile/renameFile.js.map +1 -0
  66. package/dist/nodes/WeCom/resources/wefile/renameSpace.d.ts +2 -0
  67. package/dist/nodes/WeCom/resources/wefile/renameSpace.js +19 -0
  68. package/dist/nodes/WeCom/resources/wefile/renameSpace.js.map +1 -0
  69. package/dist/nodes/WeCom/resources/wefile/spaceSecuritySettings.d.ts +2 -0
  70. package/dist/nodes/WeCom/resources/wefile/spaceSecuritySettings.js +19 -0
  71. package/dist/nodes/WeCom/resources/wefile/spaceSecuritySettings.js.map +1 -0
  72. package/dist/nodes/WeCom/resources/wefile/uploadFile.d.ts +2 -0
  73. package/dist/nodes/WeCom/resources/wefile/uploadFile.js +64 -0
  74. package/dist/nodes/WeCom/resources/wefile/uploadFile.js.map +1 -0
  75. package/dist/package.json +4 -2
  76. package/dist/tsconfig.tsbuildinfo +1 -1
  77. package/package.json +4 -2
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.fileSecuritySettingsDescription = void 0;
4
+ exports.fileSecuritySettingsDescription = [
5
+ {
6
+ displayName: '参数',
7
+ name: 'params',
8
+ type: 'string',
9
+ default: '',
10
+ description: 'FileSecuritySettings操作的参数',
11
+ displayOptions: {
12
+ show: {
13
+ resource: ['wefile'],
14
+ operation: ['fileSecuritySettings'],
15
+ },
16
+ },
17
+ },
18
+ ];
19
+ //# sourceMappingURL=fileSecuritySettings.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fileSecuritySettings.js","sourceRoot":"","sources":["../../../../../nodes/WeCom/resources/wefile/fileSecuritySettings.ts"],"names":[],"mappings":";;;AAEa,QAAA,+BAA+B,GAAsB;IACjE;QACC,WAAW,EAAE,IAAI;QACjB,IAAI,EAAE,QAAQ;QACd,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,2BAA2B;QACxC,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,QAAQ,CAAC;gBACpB,SAAS,EAAE,CAAC,sBAAsB,CAAC;aACnC;SACD;KACD;CACD,CAAC"}
@@ -0,0 +1,2 @@
1
+ import type { INodeProperties } from 'n8n-workflow';
2
+ export declare const fileShareSettingsDescription: INodeProperties[];
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.fileShareSettingsDescription = void 0;
4
+ exports.fileShareSettingsDescription = [
5
+ {
6
+ displayName: '参数',
7
+ name: 'params',
8
+ type: 'string',
9
+ default: '',
10
+ description: 'FileShareSettings操作的参数',
11
+ displayOptions: {
12
+ show: {
13
+ resource: ['wefile'],
14
+ operation: ['fileShareSettings'],
15
+ },
16
+ },
17
+ },
18
+ ];
19
+ //# sourceMappingURL=fileShareSettings.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fileShareSettings.js","sourceRoot":"","sources":["../../../../../nodes/WeCom/resources/wefile/fileShareSettings.ts"],"names":[],"mappings":";;;AAEa,QAAA,4BAA4B,GAAsB;IAC9D;QACC,WAAW,EAAE,IAAI;QACjB,IAAI,EAAE,QAAQ;QACd,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,wBAAwB;QACrC,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,QAAQ,CAAC;gBACpB,SAAS,EAAE,CAAC,mBAAmB,CAAC;aAChC;SACD;KACD;CACD,CAAC"}
@@ -0,0 +1,2 @@
1
+ import type { INodeProperties } from 'n8n-workflow';
2
+ export declare const getFileInfoDescription: INodeProperties[];
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getFileInfoDescription = void 0;
4
+ exports.getFileInfoDescription = [
5
+ {
6
+ displayName: '参数',
7
+ name: 'params',
8
+ type: 'string',
9
+ default: '',
10
+ description: 'GetFileInfo操作的参数',
11
+ displayOptions: {
12
+ show: {
13
+ resource: ['wefile'],
14
+ operation: ['getFileInfo'],
15
+ },
16
+ },
17
+ },
18
+ ];
19
+ //# sourceMappingURL=getFileInfo.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getFileInfo.js","sourceRoot":"","sources":["../../../../../nodes/WeCom/resources/wefile/getFileInfo.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,2 @@
1
+ import type { INodeProperties } from 'n8n-workflow';
2
+ export declare const getFileListDescription: INodeProperties[];
@@ -0,0 +1,99 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getFileListDescription = void 0;
4
+ exports.getFileListDescription = [
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: ['getFileList'],
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: ['getFileList'],
31
+ },
32
+ },
33
+ },
34
+ {
35
+ displayName: '排序方式',
36
+ name: 'sortType',
37
+ type: 'options',
38
+ default: 0,
39
+ options: [
40
+ {
41
+ name: '默认排序',
42
+ value: 0,
43
+ },
44
+ {
45
+ name: '文件名升序',
46
+ value: 1,
47
+ },
48
+ {
49
+ name: '文件名降序',
50
+ value: 2,
51
+ },
52
+ {
53
+ name: '修改时间升序',
54
+ value: 3,
55
+ },
56
+ {
57
+ name: '修改时间降序',
58
+ value: 4,
59
+ },
60
+ ],
61
+ description: '文件列表的排序方式',
62
+ displayOptions: {
63
+ show: {
64
+ resource: ['wefile'],
65
+ operation: ['getFileList'],
66
+ },
67
+ },
68
+ },
69
+ {
70
+ displayName: '起始位置',
71
+ name: 'start',
72
+ type: 'number',
73
+ default: 0,
74
+ description: '分页起始位置',
75
+ displayOptions: {
76
+ show: {
77
+ resource: ['wefile'],
78
+ operation: ['getFileList'],
79
+ },
80
+ },
81
+ },
82
+ {
83
+ displayName: '返回数量',
84
+ name: 'limit',
85
+ type: 'number',
86
+ typeOptions: {
87
+ minValue: 1,
88
+ },
89
+ default: 50,
90
+ description: 'Max number of results to return',
91
+ displayOptions: {
92
+ show: {
93
+ resource: ['wefile'],
94
+ operation: ['getFileList'],
95
+ },
96
+ },
97
+ },
98
+ ];
99
+ //# sourceMappingURL=getFileList.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getFileList.js","sourceRoot":"","sources":["../../../../../nodes/WeCom/resources/wefile/getFileList.ts"],"names":[],"mappings":";;;AAEa,QAAA,sBAAsB,GAAsB;IACxD;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,aAAa,CAAC;aAC1B;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,sBAAsB;QACnC,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,QAAQ,CAAC;gBACpB,SAAS,EAAE,CAAC,aAAa,CAAC;aAC1B;SACD;KACD;IACD;QACC,WAAW,EAAE,MAAM;QACnB,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,SAAS;QACf,OAAO,EAAE,CAAC;QACV,OAAO,EAAE;YACR;gBACC,IAAI,EAAE,MAAM;gBACZ,KAAK,EAAE,CAAC;aACR;YACD;gBACC,IAAI,EAAE,OAAO;gBACb,KAAK,EAAE,CAAC;aACR;YACD;gBACC,IAAI,EAAE,OAAO;gBACb,KAAK,EAAE,CAAC;aACR;YACD;gBACC,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,CAAC;aACR;YACD;gBACC,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,CAAC;aACR;SACD;QACD,WAAW,EAAE,WAAW;QACxB,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,QAAQ,CAAC;gBACpB,SAAS,EAAE,CAAC,aAAa,CAAC;aAC1B;SACD;KACD;IACD;QACC,WAAW,EAAE,MAAM;QACnB,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,CAAC;QACV,WAAW,EAAE,QAAQ;QACrB,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,QAAQ,CAAC;gBACpB,SAAS,EAAE,CAAC,aAAa,CAAC;aAC1B;SACD;KACD;IACD;QACC,WAAW,EAAE,MAAM;QACnB,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,QAAQ;QACd,WAAW,EAAE;YACZ,QAAQ,EAAE,CAAC;SACX;QACD,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,iCAAiC;QAC9C,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,2 @@
1
+ import type { INodeProperties } from 'n8n-workflow';
2
+ export declare const getFilePermissionsDescription: INodeProperties[];
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getFilePermissionsDescription = void 0;
4
+ exports.getFilePermissionsDescription = [
5
+ {
6
+ displayName: '参数',
7
+ name: 'params',
8
+ type: 'string',
9
+ default: '',
10
+ description: 'GetFilePermissions操作的参数',
11
+ displayOptions: {
12
+ show: {
13
+ resource: ['wefile'],
14
+ operation: ['getFilePermissions'],
15
+ },
16
+ },
17
+ },
18
+ ];
19
+ //# sourceMappingURL=getFilePermissions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getFilePermissions.js","sourceRoot":"","sources":["../../../../../nodes/WeCom/resources/wefile/getFilePermissions.ts"],"names":[],"mappings":";;;AAEa,QAAA,6BAA6B,GAAsB;IAC/D;QACC,WAAW,EAAE,IAAI;QACjB,IAAI,EAAE,QAAQ;QACd,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,yBAAyB;QACtC,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,QAAQ,CAAC;gBACpB,SAAS,EAAE,CAAC,oBAAoB,CAAC;aACjC;SACD;KACD;CACD,CAAC"}
@@ -0,0 +1,2 @@
1
+ import type { INodeProperties } from 'n8n-workflow';
2
+ export declare const getFileShareLinkDescription: INodeProperties[];
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getFileShareLinkDescription = void 0;
4
+ exports.getFileShareLinkDescription = [
5
+ {
6
+ displayName: '参数',
7
+ name: 'params',
8
+ type: 'string',
9
+ default: '',
10
+ description: 'GetFileShareLink操作的参数',
11
+ displayOptions: {
12
+ show: {
13
+ resource: ['wefile'],
14
+ operation: ['getFileShareLink'],
15
+ },
16
+ },
17
+ },
18
+ ];
19
+ //# sourceMappingURL=getFileShareLink.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getFileShareLink.js","sourceRoot":"","sources":["../../../../../nodes/WeCom/resources/wefile/getFileShareLink.ts"],"names":[],"mappings":";;;AAEa,QAAA,2BAA2B,GAAsB;IAC7D;QACC,WAAW,EAAE,IAAI;QACjB,IAAI,EAAE,QAAQ;QACd,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,uBAAuB;QACpC,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,QAAQ,CAAC;gBACpB,SAAS,EAAE,CAAC,kBAAkB,CAAC;aAC/B;SACD;KACD;CACD,CAAC"}
@@ -0,0 +1,2 @@
1
+ import type { INodeProperties } from 'n8n-workflow';
2
+ export declare const getSpaceInfoDescription: INodeProperties[];
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getSpaceInfoDescription = void 0;
4
+ exports.getSpaceInfoDescription = [
5
+ {
6
+ displayName: '参数',
7
+ name: 'params',
8
+ type: 'string',
9
+ default: '',
10
+ description: 'GetSpaceInfo操作的参数',
11
+ displayOptions: {
12
+ show: {
13
+ resource: ['wefile'],
14
+ operation: ['getSpaceInfo'],
15
+ },
16
+ },
17
+ },
18
+ ];
19
+ //# sourceMappingURL=getSpaceInfo.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getSpaceInfo.js","sourceRoot":"","sources":["../../../../../nodes/WeCom/resources/wefile/getSpaceInfo.ts"],"names":[],"mappings":";;;AAEa,QAAA,uBAAuB,GAAsB;IACzD;QACC,WAAW,EAAE,IAAI;QACjB,IAAI,EAAE,QAAQ;QACd,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,mBAAmB;QAChC,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,QAAQ,CAAC;gBACpB,SAAS,EAAE,CAAC,cAAc,CAAC;aAC3B;SACD;KACD;CACD,CAAC"}
@@ -0,0 +1,2 @@
1
+ import type { INodeProperties } from 'n8n-workflow';
2
+ export declare const getSpaceInviteLinkDescription: INodeProperties[];
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getSpaceInviteLinkDescription = void 0;
4
+ exports.getSpaceInviteLinkDescription = [
5
+ {
6
+ displayName: '参数',
7
+ name: 'params',
8
+ type: 'string',
9
+ default: '',
10
+ description: 'GetSpaceInviteLink操作的参数',
11
+ displayOptions: {
12
+ show: {
13
+ resource: ['wefile'],
14
+ operation: ['getSpaceInviteLink'],
15
+ },
16
+ },
17
+ },
18
+ ];
19
+ //# sourceMappingURL=getSpaceInviteLink.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getSpaceInviteLink.js","sourceRoot":"","sources":["../../../../../nodes/WeCom/resources/wefile/getSpaceInviteLink.ts"],"names":[],"mappings":";;;AAEa,QAAA,6BAA6B,GAAsB;IAC/D;QACC,WAAW,EAAE,IAAI;QACjB,IAAI,EAAE,QAAQ;QACd,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,yBAAyB;QACtC,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,QAAQ,CAAC;gBACpB,SAAS,EAAE,CAAC,oBAAoB,CAAC;aACjC;SACD;KACD;CACD,CAAC"}
@@ -0,0 +1,2 @@
1
+ import type { INodeProperties } from 'n8n-workflow';
2
+ export declare const wefileDescription: INodeProperties[];
@@ -0,0 +1,197 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.wefileDescription = void 0;
4
+ const createSpace_1 = require("./createSpace");
5
+ const renameSpace_1 = require("./renameSpace");
6
+ const deleteSpace_1 = require("./deleteSpace");
7
+ const getSpaceInfo_1 = require("./getSpaceInfo");
8
+ const addSpaceMembers_1 = require("./addSpaceMembers");
9
+ const removeSpaceMembers_1 = require("./removeSpaceMembers");
10
+ const spaceSecuritySettings_1 = require("./spaceSecuritySettings");
11
+ const getSpaceInviteLink_1 = require("./getSpaceInviteLink");
12
+ const getFileList_1 = require("./getFileList");
13
+ const uploadFile_1 = require("./uploadFile");
14
+ const downloadFile_1 = require("./downloadFile");
15
+ const createFolder_1 = require("./createFolder");
16
+ const renameFile_1 = require("./renameFile");
17
+ const moveFile_1 = require("./moveFile");
18
+ const deleteFile_1 = require("./deleteFile");
19
+ const getFileInfo_1 = require("./getFileInfo");
20
+ const addFileMembers_1 = require("./addFileMembers");
21
+ const removeFileMembers_1 = require("./removeFileMembers");
22
+ const fileShareSettings_1 = require("./fileShareSettings");
23
+ const getFileShareLink_1 = require("./getFileShareLink");
24
+ const getFilePermissions_1 = require("./getFilePermissions");
25
+ const fileSecuritySettings_1 = require("./fileSecuritySettings");
26
+ const showOnlyForWefile = {
27
+ resource: ['wefile'],
28
+ };
29
+ exports.wefileDescription = [
30
+ {
31
+ displayName: '操作',
32
+ name: 'operation',
33
+ type: 'options',
34
+ noDataExpression: true,
35
+ displayOptions: {
36
+ show: showOnlyForWefile,
37
+ },
38
+ options: [
39
+ {
40
+ name: '上传文件',
41
+ value: 'uploadFile',
42
+ description: '上传文件到微盘空间',
43
+ action: '上传文件',
44
+ },
45
+ {
46
+ name: '下载文件',
47
+ value: 'downloadFile',
48
+ description: '从微盘下载文件',
49
+ action: '下载文件',
50
+ },
51
+ {
52
+ name: '创建文件夹',
53
+ value: 'createFolder',
54
+ description: '在微盘空间中创建文件夹',
55
+ action: '创建文件夹',
56
+ },
57
+ {
58
+ name: '创建空间',
59
+ value: 'createSpace',
60
+ description: '创建一个新的微盘空间',
61
+ action: '创建空间',
62
+ },
63
+ {
64
+ name: '删除文件',
65
+ value: 'deleteFile',
66
+ description: '删除文件或文件夹',
67
+ action: '删除文件',
68
+ },
69
+ {
70
+ name: '删除空间',
71
+ value: 'deleteSpace',
72
+ description: '解散并删除微盘空间',
73
+ action: '删除空间',
74
+ },
75
+ {
76
+ name: '文件分享设置',
77
+ value: 'fileShareSettings',
78
+ description: '设置文件的分享配置',
79
+ action: '文件分享设置',
80
+ },
81
+ {
82
+ name: '文件安全设置',
83
+ value: 'fileSecuritySettings',
84
+ description: '修改文件的安全设置',
85
+ action: '文件安全设置',
86
+ },
87
+ {
88
+ name: '添加文件成员',
89
+ value: 'addFileMembers',
90
+ description: '向文件添加成员权限',
91
+ action: '添加文件成员',
92
+ },
93
+ {
94
+ name: '添加空间成员',
95
+ value: 'addSpaceMembers',
96
+ description: '向空间添加成员或部门',
97
+ action: '添加空间成员',
98
+ },
99
+ {
100
+ name: '移动文件',
101
+ value: 'moveFile',
102
+ description: '移动文件或文件夹到其他位置',
103
+ action: '移动文件',
104
+ },
105
+ {
106
+ name: '移除文件成员',
107
+ value: 'removeFileMembers',
108
+ description: '移除文件的成员权限',
109
+ action: '移除文件成员',
110
+ },
111
+ {
112
+ name: '移除空间成员',
113
+ value: 'removeSpaceMembers',
114
+ description: '从空间移除成员或部门',
115
+ action: '移除空间成员',
116
+ },
117
+ {
118
+ name: '空间安全设置',
119
+ value: 'spaceSecuritySettings',
120
+ description: '设置空间的安全配置',
121
+ action: '空间安全设置',
122
+ },
123
+ {
124
+ name: '获取文件信息',
125
+ value: 'getFileInfo',
126
+ description: '获取文件或文件夹的详细信息',
127
+ action: '获取文件信息',
128
+ },
129
+ {
130
+ name: '获取文件分享链接',
131
+ value: 'getFileShareLink',
132
+ description: '获取文件的分享链接',
133
+ action: '获取文件分享链接',
134
+ },
135
+ {
136
+ name: '获取文件列表',
137
+ value: 'getFileList',
138
+ description: '获取空间或文件夹中的文件列表',
139
+ action: '获取文件列表',
140
+ },
141
+ {
142
+ name: '获取文件权限信息',
143
+ value: 'getFilePermissions',
144
+ description: '获取文件的权限信息',
145
+ action: '获取文件权限信息',
146
+ },
147
+ {
148
+ name: '获取空间信息',
149
+ value: 'getSpaceInfo',
150
+ description: '获取微盘空间的详细信息',
151
+ action: '获取空间信息',
152
+ },
153
+ {
154
+ name: '获取空间邀请链接',
155
+ value: 'getSpaceInviteLink',
156
+ description: '获取空间的邀请链接',
157
+ action: '获取空间邀请链接',
158
+ },
159
+ {
160
+ name: '重命名文件',
161
+ value: 'renameFile',
162
+ description: '重命名文件或文件夹',
163
+ action: '重命名文件',
164
+ },
165
+ {
166
+ name: '重命名空间',
167
+ value: 'renameSpace',
168
+ description: '重命名已有的微盘空间',
169
+ action: '重命名空间',
170
+ },
171
+ ],
172
+ default: 'getFileList',
173
+ },
174
+ ...createSpace_1.createSpaceDescription,
175
+ ...renameSpace_1.renameSpaceDescription,
176
+ ...deleteSpace_1.deleteSpaceDescription,
177
+ ...getSpaceInfo_1.getSpaceInfoDescription,
178
+ ...addSpaceMembers_1.addSpaceMembersDescription,
179
+ ...removeSpaceMembers_1.removeSpaceMembersDescription,
180
+ ...spaceSecuritySettings_1.spaceSecuritySettingsDescription,
181
+ ...getSpaceInviteLink_1.getSpaceInviteLinkDescription,
182
+ ...getFileList_1.getFileListDescription,
183
+ ...uploadFile_1.uploadFileDescription,
184
+ ...downloadFile_1.downloadFileDescription,
185
+ ...createFolder_1.createFolderDescription,
186
+ ...renameFile_1.renameFileDescription,
187
+ ...moveFile_1.moveFileDescription,
188
+ ...deleteFile_1.deleteFileDescription,
189
+ ...getFileInfo_1.getFileInfoDescription,
190
+ ...addFileMembers_1.addFileMembersDescription,
191
+ ...removeFileMembers_1.removeFileMembersDescription,
192
+ ...fileShareSettings_1.fileShareSettingsDescription,
193
+ ...getFileShareLink_1.getFileShareLinkDescription,
194
+ ...getFilePermissions_1.getFilePermissionsDescription,
195
+ ...fileSecuritySettings_1.fileSecuritySettingsDescription,
196
+ ];
197
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/WeCom/resources/wefile/index.ts"],"names":[],"mappings":";;;AACA,+CAAuD;AACvD,+CAAuD;AACvD,+CAAuD;AACvD,iDAAyD;AACzD,uDAA+D;AAC/D,6DAAqE;AACrE,mEAA2E;AAC3E,6DAAqE;AACrE,+CAAuD;AACvD,6CAAqD;AACrD,iDAAyD;AACzD,iDAAyD;AACzD,6CAAqD;AACrD,yCAAiD;AACjD,6CAAqD;AACrD,+CAAuD;AACvD,qDAA6D;AAC7D,2DAAmE;AACnE,2DAAmE;AACnE,yDAAiE;AACjE,6DAAqE;AACrE,iEAAyE;AAEzE,MAAM,iBAAiB,GAAG;IACzB,QAAQ,EAAE,CAAC,QAAQ,CAAC;CACpB,CAAC;AAEW,QAAA,iBAAiB,GAAsB;IACnD;QACC,WAAW,EAAE,IAAI;QACjB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,g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AI,EAAE,OAAO;gBACb,KAAK,EAAE,aAAa;gBACpB,WAAW,EAAE,YAAY;gBACzB,MAAM,EAAE,OAAO;aACf;SACD;QACD,OAAO,EAAE,aAAa;KACtB;IACD,GAAG,oCAAsB;IACzB,GAAG,oCAAsB;IACzB,GAAG,oCAAsB;IACzB,GAAG,sCAAuB;IAC1B,GAAG,4CAA0B;IAC7B,GAAG,kDAA6B;IAChC,GAAG,wDAAgC;IACnC,GAAG,kDAA6B;IAChC,GAAG,oCAAsB;IACzB,GAAG,kCAAqB;IACxB,GAAG,sCAAuB;IAC1B,GAAG,sCAAuB;IAC1B,GAAG,kCAAqB;IACxB,GAAG,8BAAmB;IACtB,GAAG,kCAAqB;IACxB,GAAG,oCAAsB;IACzB,GAAG,0CAAyB;IAC5B,GAAG,gDAA4B;IAC/B,GAAG,gDAA4B;IAC/B,GAAG,8CAA2B;IAC9B,GAAG,kDAA6B;IAChC,GAAG,sDAA+B;CAClC,CAAC"}
@@ -0,0 +1,2 @@
1
+ import type { INodeProperties } from 'n8n-workflow';
2
+ export declare const moveFileDescription: INodeProperties[];
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.moveFileDescription = void 0;
4
+ exports.moveFileDescription = [
5
+ {
6
+ displayName: '参数',
7
+ name: 'params',
8
+ type: 'string',
9
+ default: '',
10
+ description: 'MoveFile操作的参数',
11
+ displayOptions: {
12
+ show: {
13
+ resource: ['wefile'],
14
+ operation: ['moveFile'],
15
+ },
16
+ },
17
+ },
18
+ ];
19
+ //# sourceMappingURL=moveFile.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"moveFile.js","sourceRoot":"","sources":["../../../../../nodes/WeCom/resources/wefile/moveFile.ts"],"names":[],"mappings":";;;AAEa,QAAA,mBAAmB,GAAsB;IACrD;QACC,WAAW,EAAE,IAAI;QACjB,IAAI,EAAE,QAAQ;QACd,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,eAAe;QAC5B,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,QAAQ,CAAC;gBACpB,SAAS,EAAE,CAAC,UAAU,CAAC;aACvB;SACD;KACD;CACD,CAAC"}
@@ -0,0 +1,2 @@
1
+ import type { INodeProperties } from 'n8n-workflow';
2
+ export declare const removeFileMembersDescription: INodeProperties[];
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.removeFileMembersDescription = void 0;
4
+ exports.removeFileMembersDescription = [
5
+ {
6
+ displayName: '参数',
7
+ name: 'params',
8
+ type: 'string',
9
+ default: '',
10
+ description: 'RemoveFileMembers操作的参数',
11
+ displayOptions: {
12
+ show: {
13
+ resource: ['wefile'],
14
+ operation: ['removeFileMembers'],
15
+ },
16
+ },
17
+ },
18
+ ];
19
+ //# sourceMappingURL=removeFileMembers.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"removeFileMembers.js","sourceRoot":"","sources":["../../../../../nodes/WeCom/resources/wefile/removeFileMembers.ts"],"names":[],"mappings":";;;AAEa,QAAA,4BAA4B,GAAsB;IAC9D;QACC,WAAW,EAAE,IAAI;QACjB,IAAI,EAAE,QAAQ;QACd,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,wBAAwB;QACrC,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,QAAQ,CAAC;gBACpB,SAAS,EAAE,CAAC,mBAAmB,CAAC;aAChC;SACD;KACD;CACD,CAAC"}
@@ -0,0 +1,2 @@
1
+ import type { INodeProperties } from 'n8n-workflow';
2
+ export declare const removeSpaceMembersDescription: INodeProperties[];
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.removeSpaceMembersDescription = void 0;
4
+ exports.removeSpaceMembersDescription = [
5
+ {
6
+ displayName: '参数',
7
+ name: 'params',
8
+ type: 'string',
9
+ default: '',
10
+ description: 'RemoveSpaceMembers操作的参数',
11
+ displayOptions: {
12
+ show: {
13
+ resource: ['wefile'],
14
+ operation: ['removeSpaceMembers'],
15
+ },
16
+ },
17
+ },
18
+ ];
19
+ //# sourceMappingURL=removeSpaceMembers.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"removeSpaceMembers.js","sourceRoot":"","sources":["../../../../../nodes/WeCom/resources/wefile/removeSpaceMembers.ts"],"names":[],"mappings":";;;AAEa,QAAA,6BAA6B,GAAsB;IAC/D;QACC,WAAW,EAAE,IAAI;QACjB,IAAI,EAAE,QAAQ;QACd,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,yBAAyB;QACtC,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,QAAQ,CAAC;gBACpB,SAAS,EAAE,CAAC,oBAAoB,CAAC;aACjC;SACD;KACD;CACD,CAAC"}
@@ -0,0 +1,2 @@
1
+ import type { INodeProperties } from 'n8n-workflow';
2
+ export declare const renameFileDescription: INodeProperties[];
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.renameFileDescription = void 0;
4
+ exports.renameFileDescription = [
5
+ {
6
+ displayName: '参数',
7
+ name: 'params',
8
+ type: 'string',
9
+ default: '',
10
+ description: 'RenameFile操作的参数',
11
+ displayOptions: {
12
+ show: {
13
+ resource: ['wefile'],
14
+ operation: ['renameFile'],
15
+ },
16
+ },
17
+ },
18
+ ];
19
+ //# sourceMappingURL=renameFile.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"renameFile.js","sourceRoot":"","sources":["../../../../../nodes/WeCom/resources/wefile/renameFile.ts"],"names":[],"mappings":";;;AAEa,QAAA,qBAAqB,GAAsB;IACvD;QACC,WAAW,EAAE,IAAI;QACjB,IAAI,EAAE,QAAQ;QACd,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,iBAAiB;QAC9B,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,QAAQ,CAAC;gBACpB,SAAS,EAAE,CAAC,YAAY,CAAC;aACzB;SACD;KACD;CACD,CAAC"}
@@ -0,0 +1,2 @@
1
+ import type { INodeProperties } from 'n8n-workflow';
2
+ export declare const renameSpaceDescription: INodeProperties[];