n8n-nodes-wecom 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.
Files changed (122) hide show
  1. package/LICENSE.md +19 -0
  2. package/README.md +89 -0
  3. package/dist/credentials/WeComApi.credentials.d.ts +10 -0
  4. package/dist/credentials/WeComApi.credentials.js +58 -0
  5. package/dist/credentials/WeComApi.credentials.js.map +1 -0
  6. package/dist/icons/wecom.dark.png +0 -0
  7. package/dist/icons/wecom.png +0 -0
  8. package/dist/nodes/WeCom/WeCom.node.d.ts +15 -0
  9. package/dist/nodes/WeCom/WeCom.node.js +156 -0
  10. package/dist/nodes/WeCom/WeCom.node.js.map +1 -0
  11. package/dist/nodes/WeCom/WeCom.node.json +19 -0
  12. package/dist/nodes/WeCom/resources/contact/convertToOpenid.d.ts +2 -0
  13. package/dist/nodes/WeCom/resources/contact/convertToOpenid.js +24 -0
  14. package/dist/nodes/WeCom/resources/contact/convertToOpenid.js.map +1 -0
  15. package/dist/nodes/WeCom/resources/contact/convertToUserid.d.ts +2 -0
  16. package/dist/nodes/WeCom/resources/contact/convertToUserid.js +21 -0
  17. package/dist/nodes/WeCom/resources/contact/convertToUserid.js.map +1 -0
  18. package/dist/nodes/WeCom/resources/contact/execute.d.ts +2 -0
  19. package/dist/nodes/WeCom/resources/contact/execute.js +89 -0
  20. package/dist/nodes/WeCom/resources/contact/execute.js.map +1 -0
  21. package/dist/nodes/WeCom/resources/contact/getDepartment.d.ts +2 -0
  22. package/dist/nodes/WeCom/resources/contact/getDepartment.js +23 -0
  23. package/dist/nodes/WeCom/resources/contact/getDepartment.js.map +1 -0
  24. package/dist/nodes/WeCom/resources/contact/getTag.d.ts +2 -0
  25. package/dist/nodes/WeCom/resources/contact/getTag.js +24 -0
  26. package/dist/nodes/WeCom/resources/contact/getTag.js.map +1 -0
  27. package/dist/nodes/WeCom/resources/contact/getTagList.d.ts +2 -0
  28. package/dist/nodes/WeCom/resources/contact/getTagList.js +34 -0
  29. package/dist/nodes/WeCom/resources/contact/getTagList.js.map +1 -0
  30. package/dist/nodes/WeCom/resources/contact/getUser.d.ts +2 -0
  31. package/dist/nodes/WeCom/resources/contact/getUser.js +24 -0
  32. package/dist/nodes/WeCom/resources/contact/getUser.js.map +1 -0
  33. package/dist/nodes/WeCom/resources/contact/index.d.ts +2 -0
  34. package/dist/nodes/WeCom/resources/contact/index.js +93 -0
  35. package/dist/nodes/WeCom/resources/contact/index.js.map +1 -0
  36. package/dist/nodes/WeCom/resources/contact/listUserIds.d.ts +2 -0
  37. package/dist/nodes/WeCom/resources/contact/listUserIds.js +35 -0
  38. package/dist/nodes/WeCom/resources/contact/listUserIds.js.map +1 -0
  39. package/dist/nodes/WeCom/resources/contact/listUsers.d.ts +2 -0
  40. package/dist/nodes/WeCom/resources/contact/listUsers.js +34 -0
  41. package/dist/nodes/WeCom/resources/contact/listUsers.js.map +1 -0
  42. package/dist/nodes/WeCom/resources/contact/listUsersDetail.d.ts +2 -0
  43. package/dist/nodes/WeCom/resources/contact/listUsersDetail.js +34 -0
  44. package/dist/nodes/WeCom/resources/contact/listUsersDetail.js.map +1 -0
  45. package/dist/nodes/WeCom/resources/material/execute.d.ts +2 -0
  46. package/dist/nodes/WeCom/resources/material/execute.js +129 -0
  47. package/dist/nodes/WeCom/resources/material/execute.js.map +1 -0
  48. package/dist/nodes/WeCom/resources/material/getPermanent.d.ts +2 -0
  49. package/dist/nodes/WeCom/resources/material/getPermanent.js +31 -0
  50. package/dist/nodes/WeCom/resources/material/getPermanent.js.map +1 -0
  51. package/dist/nodes/WeCom/resources/material/getTemp.d.ts +2 -0
  52. package/dist/nodes/WeCom/resources/material/getTemp.js +31 -0
  53. package/dist/nodes/WeCom/resources/material/getTemp.js.map +1 -0
  54. package/dist/nodes/WeCom/resources/material/index.d.ts +2 -0
  55. package/dist/nodes/WeCom/resources/material/index.js +52 -0
  56. package/dist/nodes/WeCom/resources/material/index.js.map +1 -0
  57. package/dist/nodes/WeCom/resources/material/uploadPermanent.d.ts +2 -0
  58. package/dist/nodes/WeCom/resources/material/uploadPermanent.js +49 -0
  59. package/dist/nodes/WeCom/resources/material/uploadPermanent.js.map +1 -0
  60. package/dist/nodes/WeCom/resources/material/uploadTemp.d.ts +2 -0
  61. package/dist/nodes/WeCom/resources/material/uploadTemp.js +49 -0
  62. package/dist/nodes/WeCom/resources/material/uploadTemp.js.map +1 -0
  63. package/dist/nodes/WeCom/resources/message/commonFields.d.ts +7 -0
  64. package/dist/nodes/WeCom/resources/message/commonFields.js +155 -0
  65. package/dist/nodes/WeCom/resources/message/commonFields.js.map +1 -0
  66. package/dist/nodes/WeCom/resources/message/execute.d.ts +2 -0
  67. package/dist/nodes/WeCom/resources/message/execute.js +615 -0
  68. package/dist/nodes/WeCom/resources/message/execute.js.map +1 -0
  69. package/dist/nodes/WeCom/resources/message/index.d.ts +2 -0
  70. package/dist/nodes/WeCom/resources/message/index.js +133 -0
  71. package/dist/nodes/WeCom/resources/message/index.js.map +1 -0
  72. package/dist/nodes/WeCom/resources/message/recallMessage.d.ts +2 -0
  73. package/dist/nodes/WeCom/resources/message/recallMessage.js +21 -0
  74. package/dist/nodes/WeCom/resources/message/recallMessage.js.map +1 -0
  75. package/dist/nodes/WeCom/resources/message/sendFile.d.ts +2 -0
  76. package/dist/nodes/WeCom/resources/message/sendFile.js +62 -0
  77. package/dist/nodes/WeCom/resources/message/sendFile.js.map +1 -0
  78. package/dist/nodes/WeCom/resources/message/sendImage.d.ts +2 -0
  79. package/dist/nodes/WeCom/resources/message/sendImage.js +62 -0
  80. package/dist/nodes/WeCom/resources/message/sendImage.js.map +1 -0
  81. package/dist/nodes/WeCom/resources/message/sendMarkdown.d.ts +2 -0
  82. package/dist/nodes/WeCom/resources/message/sendMarkdown.js +26 -0
  83. package/dist/nodes/WeCom/resources/message/sendMarkdown.js.map +1 -0
  84. package/dist/nodes/WeCom/resources/message/sendMiniprogramNotice.d.ts +2 -0
  85. package/dist/nodes/WeCom/resources/message/sendMiniprogramNotice.js +138 -0
  86. package/dist/nodes/WeCom/resources/message/sendMiniprogramNotice.js.map +1 -0
  87. package/dist/nodes/WeCom/resources/message/sendMpNews.d.ts +2 -0
  88. package/dist/nodes/WeCom/resources/message/sendMpNews.js +122 -0
  89. package/dist/nodes/WeCom/resources/message/sendMpNews.js.map +1 -0
  90. package/dist/nodes/WeCom/resources/message/sendNews.d.ts +2 -0
  91. package/dist/nodes/WeCom/resources/message/sendNews.js +101 -0
  92. package/dist/nodes/WeCom/resources/message/sendNews.js.map +1 -0
  93. package/dist/nodes/WeCom/resources/message/sendTaskCard.d.ts +2 -0
  94. package/dist/nodes/WeCom/resources/message/sendTaskCard.js +160 -0
  95. package/dist/nodes/WeCom/resources/message/sendTaskCard.js.map +1 -0
  96. package/dist/nodes/WeCom/resources/message/sendTemplateCard.d.ts +2 -0
  97. package/dist/nodes/WeCom/resources/message/sendTemplateCard.js +298 -0
  98. package/dist/nodes/WeCom/resources/message/sendTemplateCard.js.map +1 -0
  99. package/dist/nodes/WeCom/resources/message/sendText.d.ts +2 -0
  100. package/dist/nodes/WeCom/resources/message/sendText.js +69 -0
  101. package/dist/nodes/WeCom/resources/message/sendText.js.map +1 -0
  102. package/dist/nodes/WeCom/resources/message/sendTextCard.d.ts +2 -0
  103. package/dist/nodes/WeCom/resources/message/sendTextCard.js +91 -0
  104. package/dist/nodes/WeCom/resources/message/sendTextCard.js.map +1 -0
  105. package/dist/nodes/WeCom/resources/message/sendVideo.d.ts +2 -0
  106. package/dist/nodes/WeCom/resources/message/sendVideo.js +126 -0
  107. package/dist/nodes/WeCom/resources/message/sendVideo.js.map +1 -0
  108. package/dist/nodes/WeCom/resources/message/sendVoice.d.ts +2 -0
  109. package/dist/nodes/WeCom/resources/message/sendVoice.js +103 -0
  110. package/dist/nodes/WeCom/resources/message/sendVoice.js.map +1 -0
  111. package/dist/nodes/WeCom/resources/message/updateTemplateCard.d.ts +2 -0
  112. package/dist/nodes/WeCom/resources/message/updateTemplateCard.js +286 -0
  113. package/dist/nodes/WeCom/resources/message/updateTemplateCard.js.map +1 -0
  114. package/dist/nodes/WeCom/shared/transport.d.ts +6 -0
  115. package/dist/nodes/WeCom/shared/transport.js +150 -0
  116. package/dist/nodes/WeCom/shared/transport.js.map +1 -0
  117. package/dist/nodes/WeCom/shared/types.d.ts +21 -0
  118. package/dist/nodes/WeCom/shared/types.js +3 -0
  119. package/dist/nodes/WeCom/shared/types.js.map +1 -0
  120. package/dist/package.json +56 -0
  121. package/dist/tsconfig.tsbuildinfo +1 -0
  122. package/package.json +56 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"uploadPermanent.js","sourceRoot":"","sources":["../../../../../nodes/WeCom/resources/material/uploadPermanent.ts"],"names":[],"mappings":";;;AAEA,MAAM,uBAAuB,GAAG;IAC/B,QAAQ,EAAE,CAAC,UAAU,CAAC;IACtB,SAAS,EAAE,CAAC,iBAAiB,CAAC;CAC9B,CAAC;AAEW,QAAA,0BAA0B,GAAsB;IAC5D;QACC,WAAW,EAAE,MAAM;QACnB,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,SAAS;QACf,OAAO,EAAE;YACR;gBACC,IAAI,EAAE,IAAI;gBACV,KAAK,EAAE,OAAO;aACd;YACD;gBACC,IAAI,EAAE,IAAI;gBACV,KAAK,EAAE,OAAO;aACd;YACD;gBACC,IAAI,EAAE,IAAI;gBACV,KAAK,EAAE,OAAO;aACd;YACD;gBACC,IAAI,EAAE,IAAI;gBACV,KAAK,EAAE,MAAM;aACb;SACD;QACD,OAAO,EAAE,OAAO;QAChB,QAAQ,EAAE,IAAI;QACd,cAAc,EAAE;YACf,IAAI,EAAE,uBAAuB;SAC7B;KACD;IACD;QACC,WAAW,EAAE,IAAI;QACjB,IAAI,EAAE,gBAAgB;QACtB,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,MAAM;QACf,QAAQ,EAAE,IAAI;QACd,cAAc,EAAE;YACf,IAAI,EAAE,uBAAuB;SAC7B;QACD,WAAW,EAAE,eAAe;KAC5B;CACD,CAAC"}
@@ -0,0 +1,2 @@
1
+ import type { INodeProperties } from 'n8n-workflow';
2
+ export declare const uploadTempDescription: INodeProperties[];
@@ -0,0 +1,49 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.uploadTempDescription = void 0;
4
+ const showOnlyUploadTemp = {
5
+ resource: ['material'],
6
+ operation: ['uploadTemp'],
7
+ };
8
+ exports.uploadTempDescription = [
9
+ {
10
+ displayName: '素材类型',
11
+ name: 'type',
12
+ type: 'options',
13
+ options: [
14
+ {
15
+ name: '图片',
16
+ value: 'image',
17
+ },
18
+ {
19
+ name: '语音',
20
+ value: 'voice',
21
+ },
22
+ {
23
+ name: '视频',
24
+ value: 'video',
25
+ },
26
+ {
27
+ name: '文件',
28
+ value: 'file',
29
+ },
30
+ ],
31
+ default: 'image',
32
+ required: true,
33
+ displayOptions: {
34
+ show: showOnlyUploadTemp,
35
+ },
36
+ },
37
+ {
38
+ displayName: '文件',
39
+ name: 'binaryProperty',
40
+ type: 'string',
41
+ default: 'data',
42
+ required: true,
43
+ displayOptions: {
44
+ show: showOnlyUploadTemp,
45
+ },
46
+ description: '要上传的二进制文件属性名称',
47
+ },
48
+ ];
49
+ //# sourceMappingURL=uploadTemp.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"uploadTemp.js","sourceRoot":"","sources":["../../../../../nodes/WeCom/resources/material/uploadTemp.ts"],"names":[],"mappings":";;;AAEA,MAAM,kBAAkB,GAAG;IAC1B,QAAQ,EAAE,CAAC,UAAU,CAAC;IACtB,SAAS,EAAE,CAAC,YAAY,CAAC;CACzB,CAAC;AAEW,QAAA,qBAAqB,GAAsB;IACvD;QACC,WAAW,EAAE,MAAM;QACnB,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,SAAS;QACf,OAAO,EAAE;YACR;gBACC,IAAI,EAAE,IAAI;gBACV,KAAK,EAAE,OAAO;aACd;YACD;gBACC,IAAI,EAAE,IAAI;gBACV,KAAK,EAAE,OAAO;aACd;YACD;gBACC,IAAI,EAAE,IAAI;gBACV,KAAK,EAAE,OAAO;aACd;YACD;gBACC,IAAI,EAAE,IAAI;gBACV,KAAK,EAAE,MAAM;aACb;SACD;QACD,OAAO,EAAE,OAAO;QAChB,QAAQ,EAAE,IAAI;QACd,cAAc,EAAE;YACf,IAAI,EAAE,kBAAkB;SACxB;KACD;IACD;QACC,WAAW,EAAE,IAAI;QACjB,IAAI,EAAE,gBAAgB;QACtB,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,MAAM;QACf,QAAQ,EAAE,IAAI;QACd,cAAc,EAAE;YACf,IAAI,EAAE,kBAAkB;SACxB;QACD,WAAW,EAAE,eAAe;KAC5B;CACD,CAAC"}
@@ -0,0 +1,7 @@
1
+ import type { INodeProperties } from 'n8n-workflow';
2
+ export declare function getRecipientFields(operation: string): INodeProperties[];
3
+ export declare function extractRecipients(recipientType: string, touser: string | string[], toparty: string | string[], totag: string | string[], touser_manual?: string, toparty_manual?: string, totag_manual?: string): {
4
+ touser?: string;
5
+ toparty?: string;
6
+ totag?: string;
7
+ };
@@ -0,0 +1,155 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getRecipientFields = getRecipientFields;
4
+ exports.extractRecipients = extractRecipients;
5
+ function getRecipientFields(operation) {
6
+ const showCondition = {
7
+ resource: ['message'],
8
+ operation: [operation],
9
+ };
10
+ return [
11
+ {
12
+ displayName: '接收人类型',
13
+ name: 'recipientType',
14
+ type: 'options',
15
+ options: [
16
+ {
17
+ name: '全体成员',
18
+ value: 'all',
19
+ },
20
+ {
21
+ name: '手动输入',
22
+ value: 'manual',
23
+ },
24
+ {
25
+ name: '指定成员',
26
+ value: 'users',
27
+ },
28
+ {
29
+ name: '指定标签',
30
+ value: 'tags',
31
+ },
32
+ {
33
+ name: '指定部门',
34
+ value: 'departments',
35
+ },
36
+ ],
37
+ default: 'users',
38
+ displayOptions: {
39
+ show: showCondition,
40
+ },
41
+ description: '选择接收人的方式',
42
+ },
43
+ {
44
+ displayName: '成员 Names or IDs',
45
+ name: 'touser',
46
+ type: 'multiOptions',
47
+ typeOptions: {
48
+ loadOptionsMethod: 'getAllUsers',
49
+ },
50
+ default: [],
51
+ displayOptions: {
52
+ show: {
53
+ ...showCondition,
54
+ recipientType: ['users'],
55
+ },
56
+ },
57
+ description: '成员ID列表(最多支持1000个). Choose from the list, or specify IDs using an <a href="https://docs.n8n.io/code/expressions/">expression</a>.',
58
+ },
59
+ {
60
+ displayName: '部门 Names or IDs',
61
+ name: 'toparty',
62
+ type: 'multiOptions',
63
+ typeOptions: {
64
+ loadOptionsMethod: 'getDepartments',
65
+ },
66
+ default: [],
67
+ displayOptions: {
68
+ show: {
69
+ ...showCondition,
70
+ recipientType: ['departments'],
71
+ },
72
+ },
73
+ description: '部门ID列表(最多支持100个). Choose from the list, or specify IDs using an <a href="https://docs.n8n.io/code/expressions/">expression</a>.',
74
+ },
75
+ {
76
+ displayName: '标签 Names or IDs',
77
+ name: 'totag',
78
+ type: 'multiOptions',
79
+ typeOptions: {
80
+ loadOptionsMethod: 'getTags',
81
+ },
82
+ default: [],
83
+ displayOptions: {
84
+ show: {
85
+ ...showCondition,
86
+ recipientType: ['tags'],
87
+ },
88
+ },
89
+ description: '标签ID列表(最多支持100个). Choose from the list, or specify IDs using an <a href="https://docs.n8n.io/code/expressions/">expression</a>.',
90
+ },
91
+ {
92
+ displayName: '手动输入接收人',
93
+ name: 'touser_manual',
94
+ type: 'string',
95
+ default: '',
96
+ displayOptions: {
97
+ show: {
98
+ ...showCondition,
99
+ recipientType: ['manual'],
100
+ },
101
+ },
102
+ description: '成员ID列表(多个接收者用 | 分隔,最多支持1000个)。特殊情况:指定为 @all,则向该企业应用的全部成员发送',
103
+ },
104
+ {
105
+ displayName: '部门ID(手动输入)',
106
+ name: 'toparty_manual',
107
+ type: 'string',
108
+ default: '',
109
+ displayOptions: {
110
+ show: {
111
+ ...showCondition,
112
+ recipientType: ['manual'],
113
+ },
114
+ },
115
+ description: '部门ID列表,多个接收者用 | 分隔,最多支持100个',
116
+ },
117
+ {
118
+ displayName: '标签ID(手动输入)',
119
+ name: 'totag_manual',
120
+ type: 'string',
121
+ default: '',
122
+ displayOptions: {
123
+ show: {
124
+ ...showCondition,
125
+ recipientType: ['manual'],
126
+ },
127
+ },
128
+ description: '标签ID列表,多个接收者用 | 分隔,最多支持100个',
129
+ },
130
+ ];
131
+ }
132
+ function extractRecipients(recipientType, touser, toparty, totag, touser_manual, toparty_manual, totag_manual) {
133
+ if (recipientType === 'all') {
134
+ return { touser: '@all' };
135
+ }
136
+ if (recipientType === 'manual') {
137
+ return {
138
+ touser: touser_manual || undefined,
139
+ toparty: toparty_manual || undefined,
140
+ totag: totag_manual || undefined,
141
+ };
142
+ }
143
+ const result = {};
144
+ if (recipientType === 'users' && Array.isArray(touser) && touser.length > 0) {
145
+ result.touser = touser.join('|');
146
+ }
147
+ if (recipientType === 'departments' && Array.isArray(toparty) && toparty.length > 0) {
148
+ result.toparty = toparty.join('|');
149
+ }
150
+ if (recipientType === 'tags' && Array.isArray(totag) && totag.length > 0) {
151
+ result.totag = totag.join('|');
152
+ }
153
+ return result;
154
+ }
155
+ //# sourceMappingURL=commonFields.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"commonFields.js","sourceRoot":"","sources":["../../../../../nodes/WeCom/resources/message/commonFields.ts"],"names":[],"mappings":";;AAMA,gDA+HC;AAKD,8CAoCC;AAxKD,SAAgB,kBAAkB,CAAC,SAAiB;IACnD,MAAM,aAAa,GAAG;QACrB,QAAQ,EAAE,CAAC,SAAS,CAAC;QACrB,SAAS,EAAE,CAAC,SAAS,CAAC;KACtB,CAAC;IAEF,OAAO;QACN;YACC,WAAW,EAAE,OAAO;YACpB,IAAI,EAAE,eAAe;YACrB,IAAI,EAAE,SAAS;YAChB,OAAO,EAAE;gBACT;oBACC,IAAI,EAAE,MAAM;oBACZ,KAAK,EAAE,KA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MAAM,CAAC,IAAI,MAAM,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QAC7E,MAAM,CAAC,MAAM,GAAG,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IAClC,CAAC;IAED,IAAI,aAAa,KAAK,aAAa,IAAI,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,IAAI,OAAO,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QACrF,MAAM,CAAC,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IACpC,CAAC;IAED,IAAI,aAAa,KAAK,MAAM,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,KAAK,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QAC1E,MAAM,CAAC,KAAK,GAAG,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IAChC,CAAC;IAED,OAAO,MAAM,CAAC;AACf,CAAC"}
@@ -0,0 +1,2 @@
1
+ import type { IExecuteFunctions, INodeExecutionData } from 'n8n-workflow';
2
+ export declare function executeMessage(this: IExecuteFunctions, operation: string, items: INodeExecutionData[]): Promise<INodeExecutionData[]>;