n8n-nodes-wecom 0.1.15 → 0.1.17

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 (109) hide show
  1. package/README.md +173 -130
  2. package/dist/credentials/WeComApi.credentials.js +20 -14
  3. package/dist/credentials/WeComApi.credentials.js.map +1 -1
  4. package/dist/nodes/WeCom/WeCom.node.js +41 -22
  5. package/dist/nodes/WeCom/WeCom.node.js.map +1 -1
  6. package/dist/nodes/WeCom/resources/appChat/index.js +16 -16
  7. package/dist/nodes/WeCom/resources/appChat/index.js.map +1 -1
  8. package/dist/nodes/WeCom/resources/appChat/updateAppChat.js +8 -8
  9. package/dist/nodes/WeCom/resources/appChat/updateAppChat.js.map +1 -1
  10. package/dist/nodes/WeCom/resources/contact/index.js +126 -126
  11. package/dist/nodes/WeCom/resources/contact/index.js.map +1 -1
  12. package/dist/nodes/WeCom/resources/linkedcorp/index.js +18 -2
  13. package/dist/nodes/WeCom/resources/linkedcorp/index.js.map +1 -1
  14. package/dist/nodes/WeCom/resources/material/index.js +10 -2
  15. package/dist/nodes/WeCom/resources/material/index.js.map +1 -1
  16. package/dist/nodes/WeCom/resources/message/commonFields.js +4 -4
  17. package/dist/nodes/WeCom/resources/message/commonFields.js.map +1 -1
  18. package/dist/nodes/WeCom/resources/message/index.js +18 -2
  19. package/dist/nodes/WeCom/resources/message/index.js.map +1 -1
  20. package/dist/nodes/WeCom/resources/message/sendMpNews.js +12 -12
  21. package/dist/nodes/WeCom/resources/message/sendMpNews.js.map +1 -1
  22. package/dist/nodes/WeCom/resources/message/sendTaskCard.js +8 -8
  23. package/dist/nodes/WeCom/resources/message/sendTaskCard.js.map +1 -1
  24. package/dist/nodes/WeCom/resources/message/sendTemplateCard.js +6 -6
  25. package/dist/nodes/WeCom/resources/message/sendTemplateCard.js.map +1 -1
  26. package/dist/nodes/WeCom/resources/message/updateTemplateCard.js +6 -6
  27. package/dist/nodes/WeCom/resources/message/updateTemplateCard.js.map +1 -1
  28. package/dist/nodes/WeCom/resources/pushMessage/index.js.map +1 -1
  29. package/dist/nodes/WeCom/resources/pushMessage/sendTemplateCard.js +22 -31
  30. package/dist/nodes/WeCom/resources/pushMessage/sendTemplateCard.js.map +1 -1
  31. package/dist/nodes/WeCom/resources/wedoc/index.js +146 -146
  32. package/dist/nodes/WeCom/resources/wedoc/index.js.map +1 -1
  33. package/dist/nodes/WeCom/resources/wefile/addFileMembers.d.ts +2 -0
  34. package/dist/nodes/WeCom/resources/wefile/addFileMembers.js +19 -0
  35. package/dist/nodes/WeCom/resources/wefile/addFileMembers.js.map +1 -0
  36. package/dist/nodes/WeCom/resources/wefile/addSpaceMembers.d.ts +2 -0
  37. package/dist/nodes/WeCom/resources/wefile/addSpaceMembers.js +19 -0
  38. package/dist/nodes/WeCom/resources/wefile/addSpaceMembers.js.map +1 -0
  39. package/dist/nodes/WeCom/resources/wefile/createFolder.d.ts +2 -0
  40. package/dist/nodes/WeCom/resources/wefile/createFolder.js +19 -0
  41. package/dist/nodes/WeCom/resources/wefile/createFolder.js.map +1 -0
  42. package/dist/nodes/WeCom/resources/wefile/createSpace.d.ts +2 -0
  43. package/dist/nodes/WeCom/resources/wefile/createSpace.js +83 -0
  44. package/dist/nodes/WeCom/resources/wefile/createSpace.js.map +1 -0
  45. package/dist/nodes/WeCom/resources/wefile/deleteFile.d.ts +2 -0
  46. package/dist/nodes/WeCom/resources/wefile/deleteFile.js +19 -0
  47. package/dist/nodes/WeCom/resources/wefile/deleteFile.js.map +1 -0
  48. package/dist/nodes/WeCom/resources/wefile/deleteSpace.d.ts +2 -0
  49. package/dist/nodes/WeCom/resources/wefile/deleteSpace.js +19 -0
  50. package/dist/nodes/WeCom/resources/wefile/deleteSpace.js.map +1 -0
  51. package/dist/nodes/WeCom/resources/wefile/downloadFile.d.ts +2 -0
  52. package/dist/nodes/WeCom/resources/wefile/downloadFile.js +19 -0
  53. package/dist/nodes/WeCom/resources/wefile/downloadFile.js.map +1 -0
  54. package/dist/nodes/WeCom/resources/wefile/execute.d.ts +2 -0
  55. package/dist/nodes/WeCom/resources/wefile/execute.js +251 -0
  56. package/dist/nodes/WeCom/resources/wefile/execute.js.map +1 -0
  57. package/dist/nodes/WeCom/resources/wefile/fileSecuritySettings.d.ts +2 -0
  58. package/dist/nodes/WeCom/resources/wefile/fileSecuritySettings.js +19 -0
  59. package/dist/nodes/WeCom/resources/wefile/fileSecuritySettings.js.map +1 -0
  60. package/dist/nodes/WeCom/resources/wefile/fileShareSettings.d.ts +2 -0
  61. package/dist/nodes/WeCom/resources/wefile/fileShareSettings.js +19 -0
  62. package/dist/nodes/WeCom/resources/wefile/fileShareSettings.js.map +1 -0
  63. package/dist/nodes/WeCom/resources/wefile/getFileInfo.d.ts +2 -0
  64. package/dist/nodes/WeCom/resources/wefile/getFileInfo.js +19 -0
  65. package/dist/nodes/WeCom/resources/wefile/getFileInfo.js.map +1 -0
  66. package/dist/nodes/WeCom/resources/wefile/getFileList.d.ts +2 -0
  67. package/dist/nodes/WeCom/resources/wefile/getFileList.js +99 -0
  68. package/dist/nodes/WeCom/resources/wefile/getFileList.js.map +1 -0
  69. package/dist/nodes/WeCom/resources/wefile/getFilePermissions.d.ts +2 -0
  70. package/dist/nodes/WeCom/resources/wefile/getFilePermissions.js +19 -0
  71. package/dist/nodes/WeCom/resources/wefile/getFilePermissions.js.map +1 -0
  72. package/dist/nodes/WeCom/resources/wefile/getFileShareLink.d.ts +2 -0
  73. package/dist/nodes/WeCom/resources/wefile/getFileShareLink.js +19 -0
  74. package/dist/nodes/WeCom/resources/wefile/getFileShareLink.js.map +1 -0
  75. package/dist/nodes/WeCom/resources/wefile/getSpaceInfo.d.ts +2 -0
  76. package/dist/nodes/WeCom/resources/wefile/getSpaceInfo.js +19 -0
  77. package/dist/nodes/WeCom/resources/wefile/getSpaceInfo.js.map +1 -0
  78. package/dist/nodes/WeCom/resources/wefile/getSpaceInviteLink.d.ts +2 -0
  79. package/dist/nodes/WeCom/resources/wefile/getSpaceInviteLink.js +19 -0
  80. package/dist/nodes/WeCom/resources/wefile/getSpaceInviteLink.js.map +1 -0
  81. package/dist/nodes/WeCom/resources/wefile/index.d.ts +2 -0
  82. package/dist/nodes/WeCom/resources/wefile/index.js +197 -0
  83. package/dist/nodes/WeCom/resources/wefile/index.js.map +1 -0
  84. package/dist/nodes/WeCom/resources/wefile/moveFile.d.ts +2 -0
  85. package/dist/nodes/WeCom/resources/wefile/moveFile.js +19 -0
  86. package/dist/nodes/WeCom/resources/wefile/moveFile.js.map +1 -0
  87. package/dist/nodes/WeCom/resources/wefile/removeFileMembers.d.ts +2 -0
  88. package/dist/nodes/WeCom/resources/wefile/removeFileMembers.js +19 -0
  89. package/dist/nodes/WeCom/resources/wefile/removeFileMembers.js.map +1 -0
  90. package/dist/nodes/WeCom/resources/wefile/removeSpaceMembers.d.ts +2 -0
  91. package/dist/nodes/WeCom/resources/wefile/removeSpaceMembers.js +19 -0
  92. package/dist/nodes/WeCom/resources/wefile/removeSpaceMembers.js.map +1 -0
  93. package/dist/nodes/WeCom/resources/wefile/renameFile.d.ts +2 -0
  94. package/dist/nodes/WeCom/resources/wefile/renameFile.js +19 -0
  95. package/dist/nodes/WeCom/resources/wefile/renameFile.js.map +1 -0
  96. package/dist/nodes/WeCom/resources/wefile/renameSpace.d.ts +2 -0
  97. package/dist/nodes/WeCom/resources/wefile/renameSpace.js +19 -0
  98. package/dist/nodes/WeCom/resources/wefile/renameSpace.js.map +1 -0
  99. package/dist/nodes/WeCom/resources/wefile/spaceSecuritySettings.d.ts +2 -0
  100. package/dist/nodes/WeCom/resources/wefile/spaceSecuritySettings.js +19 -0
  101. package/dist/nodes/WeCom/resources/wefile/spaceSecuritySettings.js.map +1 -0
  102. package/dist/nodes/WeCom/resources/wefile/uploadFile.d.ts +2 -0
  103. package/dist/nodes/WeCom/resources/wefile/uploadFile.js +64 -0
  104. package/dist/nodes/WeCom/resources/wefile/uploadFile.js.map +1 -0
  105. package/dist/nodes/WeComTrigger/WeComTrigger.node.js +5 -5
  106. package/dist/nodes/WeComTrigger/WeComTrigger.node.js.map +1 -1
  107. package/dist/package.json +4 -3
  108. package/dist/tsconfig.tsbuildinfo +1 -1
  109. package/package.json +4 -3
@@ -0,0 +1 @@
1
+ {"version":3,"file":"deleteSpace.js","sourceRoot":"","sources":["../../../../../nodes/WeCom/resources/wefile/deleteSpace.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 downloadFileDescription: INodeProperties[];
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.downloadFileDescription = void 0;
4
+ exports.downloadFileDescription = [
5
+ {
6
+ displayName: '参数',
7
+ name: 'params',
8
+ type: 'string',
9
+ default: '',
10
+ description: 'DownloadFile操作的参数',
11
+ displayOptions: {
12
+ show: {
13
+ resource: ['wefile'],
14
+ operation: ['downloadFile'],
15
+ },
16
+ },
17
+ },
18
+ ];
19
+ //# sourceMappingURL=downloadFile.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"downloadFile.js","sourceRoot":"","sources":["../../../../../nodes/WeCom/resources/wefile/downloadFile.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 { IExecuteFunctions, INodeExecutionData } from 'n8n-workflow';
2
+ export declare function executeWefile(this: IExecuteFunctions, operation: string, items: INodeExecutionData[]): Promise<INodeExecutionData[]>;
@@ -0,0 +1,251 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.executeWefile = executeWefile;
4
+ const transport_1 = require("../../shared/transport");
5
+ async function executeWefile(operation, items) {
6
+ const returnData = [];
7
+ for (let i = 0; i < items.length; i++) {
8
+ try {
9
+ let responseData;
10
+ if (operation === 'createSpace') {
11
+ const spaceName = this.getNodeParameter('spaceName', i);
12
+ const authInfo = this.getNodeParameter('authInfo', i);
13
+ const body = {
14
+ space_name: spaceName,
15
+ auth_info: authInfo,
16
+ };
17
+ responseData = await transport_1.weComApiRequest.call(this, 'POST', '/cgi-bin/wedrive/space_create', body);
18
+ }
19
+ else if (operation === 'renameSpace') {
20
+ const spaceId = this.getNodeParameter('spaceId', i);
21
+ const spaceName = this.getNodeParameter('spaceName', i);
22
+ const body = {
23
+ spaceid: spaceId,
24
+ space_name: spaceName,
25
+ };
26
+ responseData = await transport_1.weComApiRequest.call(this, 'POST', '/cgi-bin/wedrive/space_rename', body);
27
+ }
28
+ else if (operation === 'deleteSpace') {
29
+ const spaceId = this.getNodeParameter('spaceId', i);
30
+ const body = {
31
+ spaceid: spaceId,
32
+ };
33
+ responseData = await transport_1.weComApiRequest.call(this, 'POST', '/cgi-bin/wedrive/space_dismiss', body);
34
+ }
35
+ else if (operation === 'getSpaceInfo') {
36
+ const spaceId = this.getNodeParameter('spaceId', i);
37
+ const body = {
38
+ spaceid: spaceId,
39
+ };
40
+ responseData = await transport_1.weComApiRequest.call(this, 'POST', '/cgi-bin/wedrive/space_info', body);
41
+ }
42
+ else if (operation === 'addSpaceMembers') {
43
+ const spaceId = this.getNodeParameter('spaceId', i);
44
+ const authInfo = this.getNodeParameter('authInfo', i);
45
+ const body = {
46
+ spaceid: spaceId,
47
+ auth_info: authInfo,
48
+ };
49
+ responseData = await transport_1.weComApiRequest.call(this, 'POST', '/cgi-bin/wedrive/space_acl_add', body);
50
+ }
51
+ else if (operation === 'removeSpaceMembers') {
52
+ const spaceId = this.getNodeParameter('spaceId', i);
53
+ const authInfo = this.getNodeParameter('authInfo', i);
54
+ const body = {
55
+ spaceid: spaceId,
56
+ auth_info: authInfo,
57
+ };
58
+ responseData = await transport_1.weComApiRequest.call(this, 'POST', '/cgi-bin/wedrive/space_acl_del', body);
59
+ }
60
+ else if (operation === 'spaceSecuritySettings') {
61
+ const spaceId = this.getNodeParameter('spaceId', i);
62
+ const enableWatermark = this.getNodeParameter('enableWatermark', i);
63
+ const addMemberOnlyAdmin = this.getNodeParameter('addMemberOnlyAdmin', i);
64
+ const enableShareUrl = this.getNodeParameter('enableShareUrl', i);
65
+ const shareUrlNoApprove = this.getNodeParameter('shareUrlNoApprove', i);
66
+ const body = {
67
+ spaceid: spaceId,
68
+ enable_watermark: enableWatermark,
69
+ add_member_only_admin: addMemberOnlyAdmin,
70
+ enable_share_url: enableShareUrl,
71
+ share_url_no_approve: shareUrlNoApprove,
72
+ };
73
+ responseData = await transport_1.weComApiRequest.call(this, 'POST', '/cgi-bin/wedrive/space_setting', body);
74
+ }
75
+ else if (operation === 'getSpaceInviteLink') {
76
+ const spaceId = this.getNodeParameter('spaceId', i);
77
+ const body = {
78
+ spaceid: spaceId,
79
+ };
80
+ responseData = await transport_1.weComApiRequest.call(this, 'POST', '/cgi-bin/wedrive/space_share', body);
81
+ }
82
+ else if (operation === 'getFileList') {
83
+ const spaceId = this.getNodeParameter('spaceId', i);
84
+ const fatherId = this.getNodeParameter('fatherId', i, '');
85
+ const sortType = this.getNodeParameter('sortType', i, 0);
86
+ const start = this.getNodeParameter('start', i, 0);
87
+ const limit = this.getNodeParameter('limit', i, 100);
88
+ const body = {
89
+ spaceid: spaceId,
90
+ sort_type: sortType,
91
+ start: start,
92
+ limit: limit,
93
+ };
94
+ if (fatherId) {
95
+ body.fatherid = fatherId;
96
+ }
97
+ responseData = await transport_1.weComApiRequest.call(this, 'POST', '/cgi-bin/wedrive/file_list', body);
98
+ }
99
+ else if (operation === 'uploadFile') {
100
+ const spaceId = this.getNodeParameter('spaceId', i);
101
+ const fatherId = this.getNodeParameter('fatherId', i, '');
102
+ const fileName = this.getNodeParameter('fileName', i);
103
+ const binaryPropertyName = this.getNodeParameter('binaryPropertyName', i);
104
+ const dataBuffer = await this.helpers.getBinaryDataBuffer(i, binaryPropertyName);
105
+ const formData = {
106
+ spaceid: spaceId,
107
+ fatherid: fatherId || '',
108
+ file_name: fileName,
109
+ file: {
110
+ value: dataBuffer,
111
+ options: {
112
+ filename: fileName,
113
+ contentType: 'application/octet-stream',
114
+ },
115
+ },
116
+ };
117
+ responseData = await transport_1.weComApiRequest.call(this, 'POST', '/cgi-bin/wedrive/file_upload', formData, {}, { multipart: true });
118
+ }
119
+ else if (operation === 'downloadFile') {
120
+ const fileId = this.getNodeParameter('fileId', i);
121
+ const body = {
122
+ fileid: fileId,
123
+ };
124
+ responseData = await transport_1.weComApiRequest.call(this, 'POST', '/cgi-bin/wedrive/file_download', body);
125
+ }
126
+ else if (operation === 'createFolder') {
127
+ const spaceId = this.getNodeParameter('spaceId', i);
128
+ const fatherId = this.getNodeParameter('fatherId', i, '');
129
+ const folderName = this.getNodeParameter('folderName', i);
130
+ const body = {
131
+ spaceid: spaceId,
132
+ file_name: folderName,
133
+ };
134
+ if (fatherId) {
135
+ body.fatherid = fatherId;
136
+ }
137
+ responseData = await transport_1.weComApiRequest.call(this, 'POST', '/cgi-bin/wedrive/file_create', body);
138
+ }
139
+ else if (operation === 'renameFile') {
140
+ const fileId = this.getNodeParameter('fileId', i);
141
+ const newName = this.getNodeParameter('newName', i);
142
+ const body = {
143
+ fileid: fileId,
144
+ new_name: newName,
145
+ };
146
+ responseData = await transport_1.weComApiRequest.call(this, 'POST', '/cgi-bin/wedrive/file_rename', body);
147
+ }
148
+ else if (operation === 'moveFile') {
149
+ const fileIds = this.getNodeParameter('fileIds', i);
150
+ const fatherId = this.getNodeParameter('fatherId', i);
151
+ const replace = this.getNodeParameter('replace', i, false);
152
+ const body = {
153
+ fileid: fileIds,
154
+ fatherid: fatherId,
155
+ replace: replace,
156
+ };
157
+ responseData = await transport_1.weComApiRequest.call(this, 'POST', '/cgi-bin/wedrive/file_move', body);
158
+ }
159
+ else if (operation === 'deleteFile') {
160
+ const fileIds = this.getNodeParameter('fileIds', i);
161
+ const body = {
162
+ fileid: fileIds,
163
+ };
164
+ responseData = await transport_1.weComApiRequest.call(this, 'POST', '/cgi-bin/wedrive/file_delete', body);
165
+ }
166
+ else if (operation === 'getFileInfo') {
167
+ const fileId = this.getNodeParameter('fileId', i);
168
+ const body = {
169
+ fileid: fileId,
170
+ };
171
+ responseData = await transport_1.weComApiRequest.call(this, 'POST', '/cgi-bin/wedrive/file_info', body);
172
+ }
173
+ else if (operation === 'addFileMembers') {
174
+ const fileId = this.getNodeParameter('fileId', i);
175
+ const authInfo = this.getNodeParameter('authInfo', i);
176
+ const body = {
177
+ fileid: fileId,
178
+ auth_info: authInfo,
179
+ };
180
+ responseData = await transport_1.weComApiRequest.call(this, 'POST', '/cgi-bin/wedrive/file_acl_add', body);
181
+ }
182
+ else if (operation === 'removeFileMembers') {
183
+ const fileId = this.getNodeParameter('fileId', i);
184
+ const authInfo = this.getNodeParameter('authInfo', i);
185
+ const body = {
186
+ fileid: fileId,
187
+ auth_info: authInfo,
188
+ };
189
+ responseData = await transport_1.weComApiRequest.call(this, 'POST', '/cgi-bin/wedrive/file_acl_del', body);
190
+ }
191
+ else if (operation === 'fileShareSettings') {
192
+ const fileId = this.getNodeParameter('fileId', i);
193
+ const shareScope = this.getNodeParameter('shareScope', i);
194
+ const authScope = this.getNodeParameter('authScope', i);
195
+ const body = {
196
+ fileid: fileId,
197
+ share_scope: shareScope,
198
+ auth_scope: authScope,
199
+ };
200
+ responseData = await transport_1.weComApiRequest.call(this, 'POST', '/cgi-bin/wedrive/file_setting', body);
201
+ }
202
+ else if (operation === 'getFileShareLink') {
203
+ const fileId = this.getNodeParameter('fileId', i);
204
+ const body = {
205
+ fileid: fileId,
206
+ };
207
+ responseData = await transport_1.weComApiRequest.call(this, 'POST', '/cgi-bin/wedrive/file_share', body);
208
+ }
209
+ else if (operation === 'getFilePermissions') {
210
+ const fileId = this.getNodeParameter('fileId', i);
211
+ const body = {
212
+ fileid: fileId,
213
+ };
214
+ responseData = await transport_1.weComApiRequest.call(this, 'POST', '/cgi-bin/wedrive/file_acl_list', body);
215
+ }
216
+ else if (operation === 'fileSecuritySettings') {
217
+ const fileId = this.getNodeParameter('fileId', i);
218
+ const enableWatermark = this.getNodeParameter('enableWatermark', i);
219
+ const addMemberOnlyAdmin = this.getNodeParameter('addMemberOnlyAdmin', i);
220
+ const enableShareUrl = this.getNodeParameter('enableShareUrl', i);
221
+ const shareUrlNoApprove = this.getNodeParameter('shareUrlNoApprove', i);
222
+ const body = {
223
+ fileid: fileId,
224
+ enable_watermark: enableWatermark,
225
+ add_member_only_admin: addMemberOnlyAdmin,
226
+ enable_share_url: enableShareUrl,
227
+ share_url_no_approve: shareUrlNoApprove,
228
+ };
229
+ responseData = await transport_1.weComApiRequest.call(this, 'POST', '/cgi-bin/wedrive/file_secure_setting', body);
230
+ }
231
+ if (responseData) {
232
+ returnData.push({
233
+ json: responseData,
234
+ pairedItem: i,
235
+ });
236
+ }
237
+ }
238
+ catch (error) {
239
+ if (this.continueOnFail()) {
240
+ returnData.push({
241
+ json: { error: error.message },
242
+ pairedItem: i,
243
+ });
244
+ continue;
245
+ }
246
+ throw error;
247
+ }
248
+ }
249
+ return returnData;
250
+ }
251
+ //# sourceMappingURL=execute.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"execute.js","s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S;YACV,CAAC;YACD,MAAM,KAAK,CAAC;QACb,CAAC;IACF,CAAC;IAED,OAAO,UAAU,CAAC;AACnB,CAAC"}
@@ -0,0 +1,2 @@
1
+ import type { INodeProperties } from 'n8n-workflow';
2
+ export declare const fileSecuritySettingsDescription: INodeProperties[];
@@ -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[];