@wsapichat/mcp-server 2.0.0 → 3.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 +13 -9
- package/dist/client/index.d.ts +4 -0
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/index.js +47 -24
- package/dist/client/index.js.map +1 -1
- package/dist/config/index.d.ts +1 -1
- package/dist/config/index.d.ts.map +1 -1
- package/dist/config/index.js +55 -31
- package/dist/config/index.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +42 -36
- package/dist/index.js.map +1 -1
- package/dist/server.d.ts.map +1 -1
- package/dist/server.js +76 -54
- package/dist/server.js.map +1 -1
- package/dist/tools/calls.d.ts +1 -1
- package/dist/tools/calls.d.ts.map +1 -1
- package/dist/tools/calls.js +15 -13
- package/dist/tools/calls.js.map +1 -1
- package/dist/tools/chats.d.ts +1 -1
- package/dist/tools/chats.d.ts.map +1 -1
- package/dist/tools/chats.js +156 -101
- package/dist/tools/chats.js.map +1 -1
- package/dist/tools/communities.d.ts +1 -1
- package/dist/tools/communities.d.ts.map +1 -1
- package/dist/tools/communities.js +175 -120
- package/dist/tools/communities.js.map +1 -1
- package/dist/tools/contacts.d.ts +1 -1
- package/dist/tools/contacts.d.ts.map +1 -1
- package/dist/tools/contacts.js +68 -53
- package/dist/tools/contacts.js.map +1 -1
- package/dist/tools/groups.d.ts +1 -1
- package/dist/tools/groups.d.ts.map +1 -1
- package/dist/tools/groups.js +222 -149
- package/dist/tools/groups.js.map +1 -1
- package/dist/tools/media.d.ts +1 -1
- package/dist/tools/media.d.ts.map +1 -1
- package/dist/tools/media.js +28 -12
- package/dist/tools/media.js.map +1 -1
- package/dist/tools/messaging-advanced.d.ts +1 -1
- package/dist/tools/messaging-advanced.d.ts.map +1 -1
- package/dist/tools/messaging-advanced.js +177 -107
- package/dist/tools/messaging-advanced.js.map +1 -1
- package/dist/tools/messaging.d.ts +1 -1
- package/dist/tools/messaging.d.ts.map +1 -1
- package/dist/tools/messaging.js +262 -153
- package/dist/tools/messaging.js.map +1 -1
- package/dist/tools/newsletters.d.ts +1 -1
- package/dist/tools/newsletters.d.ts.map +1 -1
- package/dist/tools/newsletters.js +78 -49
- package/dist/tools/newsletters.js.map +1 -1
- package/dist/tools/session.d.ts +1 -1
- package/dist/tools/session.d.ts.map +1 -1
- package/dist/tools/session.js +67 -42
- package/dist/tools/session.js.map +1 -1
- package/dist/tools/status.d.ts +1 -1
- package/dist/tools/status.d.ts.map +1 -1
- package/dist/tools/status.js +65 -45
- package/dist/tools/status.js.map +1 -1
- package/dist/tools/users.d.ts +1 -1
- package/dist/tools/users.d.ts.map +1 -1
- package/dist/tools/users.js +106 -60
- package/dist/tools/users.js.map +1 -1
- package/dist/types/api.d.ts +5 -0
- package/dist/types/api.d.ts.map +1 -1
- package/dist/utils/errors.d.ts +1 -1
- package/dist/utils/errors.d.ts.map +1 -1
- package/dist/utils/errors.js +43 -42
- package/dist/utils/errors.js.map +1 -1
- package/dist/utils/logger.d.ts +1 -1
- package/dist/utils/logger.d.ts.map +1 -1
- package/dist/utils/logger.js +19 -19
- package/dist/utils/logger.js.map +1 -1
- package/dist/validation/schemas.d.ts +1 -1
- package/dist/validation/schemas.d.ts.map +1 -1
- package/dist/validation/schemas.js +50 -23
- package/dist/validation/schemas.js.map +1 -1
- package/package.json +2 -1
|
@@ -1,43 +1,51 @@
|
|
|
1
|
-
import { wsapiClient } from
|
|
2
|
-
import { createLogger } from
|
|
3
|
-
import { validateInput, createCommunitySchema, getCommunitySchema, updateGroupNameSchema, updateGroupDescriptionSchema, setGroupPictureSchema, setBoolSettingSchema, updateGroupParticipantsSchema, createCommunityGroupSchema, linkGroupToCommunitySchema, unlinkCommunityGroupSchema, } from
|
|
4
|
-
const logger = createLogger(
|
|
1
|
+
import { wsapiClient } from "../client/index.js";
|
|
2
|
+
import { createLogger } from "../utils/logger.js";
|
|
3
|
+
import { validateInput, createCommunitySchema, getCommunitySchema, updateGroupNameSchema, updateGroupDescriptionSchema, setGroupPictureSchema, setBoolSettingSchema, updateGroupParticipantsSchema, createCommunityGroupSchema, linkGroupToCommunitySchema, unlinkCommunityGroupSchema, } from "../validation/schemas.js";
|
|
4
|
+
const logger = createLogger("community-tools");
|
|
5
5
|
export const listCommunities = {
|
|
6
|
-
name:
|
|
7
|
-
description:
|
|
8
|
-
inputSchema: { type:
|
|
6
|
+
name: "whatsapp_list_communities",
|
|
7
|
+
description: "List all joined communities.",
|
|
8
|
+
inputSchema: { type: "object", properties: {} },
|
|
9
9
|
handler: async () => {
|
|
10
|
-
logger.info(
|
|
11
|
-
const result = await wsapiClient.get(
|
|
10
|
+
logger.info("Listing communities");
|
|
11
|
+
const result = await wsapiClient.get("/communities");
|
|
12
12
|
return { success: true, communities: result, count: result.length };
|
|
13
13
|
},
|
|
14
14
|
};
|
|
15
15
|
export const createCommunity = {
|
|
16
|
-
name:
|
|
17
|
-
description:
|
|
16
|
+
name: "whatsapp_create_community",
|
|
17
|
+
description: "Create a new WhatsApp community.",
|
|
18
18
|
inputSchema: {
|
|
19
|
-
type:
|
|
19
|
+
type: "object",
|
|
20
20
|
properties: {
|
|
21
|
-
name: { type:
|
|
22
|
-
participants: {
|
|
23
|
-
|
|
21
|
+
name: { type: "string", description: "Community name" },
|
|
22
|
+
participants: {
|
|
23
|
+
type: "array",
|
|
24
|
+
items: { type: "string" },
|
|
25
|
+
description: "Initial participant JIDs",
|
|
26
|
+
},
|
|
27
|
+
approvalMode: { type: "string", description: "Join approval mode" },
|
|
24
28
|
},
|
|
25
|
-
required: [
|
|
29
|
+
required: ["name"],
|
|
26
30
|
},
|
|
27
31
|
handler: async (args) => {
|
|
28
32
|
const input = validateInput(createCommunitySchema, args);
|
|
29
|
-
logger.info(
|
|
30
|
-
const result = await wsapiClient.post(
|
|
31
|
-
return {
|
|
33
|
+
logger.info("Creating community", { name: input.name });
|
|
34
|
+
const result = await wsapiClient.post("/communities", input);
|
|
35
|
+
return {
|
|
36
|
+
success: true,
|
|
37
|
+
communityId: result.id,
|
|
38
|
+
message: "Community created",
|
|
39
|
+
};
|
|
32
40
|
},
|
|
33
41
|
};
|
|
34
42
|
export const getCommunity = {
|
|
35
|
-
name:
|
|
36
|
-
description:
|
|
43
|
+
name: "whatsapp_get_community",
|
|
44
|
+
description: "Get community info.",
|
|
37
45
|
inputSchema: {
|
|
38
|
-
type:
|
|
39
|
-
properties: { id: { type:
|
|
40
|
-
required: [
|
|
46
|
+
type: "object",
|
|
47
|
+
properties: { id: { type: "string", description: "Community JID" } },
|
|
48
|
+
required: ["id"],
|
|
41
49
|
},
|
|
42
50
|
handler: async (args) => {
|
|
43
51
|
const input = validateInput(getCommunitySchema, args);
|
|
@@ -46,94 +54,106 @@ export const getCommunity = {
|
|
|
46
54
|
},
|
|
47
55
|
};
|
|
48
56
|
export const leaveCommunity = {
|
|
49
|
-
name:
|
|
50
|
-
description:
|
|
57
|
+
name: "whatsapp_leave_community",
|
|
58
|
+
description: "Leave a community.",
|
|
51
59
|
inputSchema: {
|
|
52
|
-
type:
|
|
53
|
-
properties: { id: { type:
|
|
54
|
-
required: [
|
|
60
|
+
type: "object",
|
|
61
|
+
properties: { id: { type: "string", description: "Community JID" } },
|
|
62
|
+
required: ["id"],
|
|
55
63
|
},
|
|
56
64
|
handler: async (args) => {
|
|
57
65
|
const input = validateInput(getCommunitySchema, args);
|
|
58
66
|
await wsapiClient.post(`/communities/${input.id}/leave`, {});
|
|
59
|
-
return { success: true, message:
|
|
67
|
+
return { success: true, message: "Left community" };
|
|
60
68
|
},
|
|
61
69
|
};
|
|
62
70
|
export const setCommunityName = {
|
|
63
|
-
name:
|
|
64
|
-
description:
|
|
71
|
+
name: "whatsapp_set_community_name",
|
|
72
|
+
description: "Set community name.",
|
|
65
73
|
inputSchema: {
|
|
66
|
-
type:
|
|
74
|
+
type: "object",
|
|
67
75
|
properties: {
|
|
68
|
-
id: { type:
|
|
69
|
-
name: { type:
|
|
76
|
+
id: { type: "string", description: "Community JID" },
|
|
77
|
+
name: { type: "string", description: "New name" },
|
|
70
78
|
},
|
|
71
|
-
required: [
|
|
79
|
+
required: ["id", "name"],
|
|
72
80
|
},
|
|
73
81
|
handler: async (args) => {
|
|
74
82
|
const input = validateInput(updateGroupNameSchema, args);
|
|
75
|
-
await wsapiClient.put(`/communities/${input.id}/name`, {
|
|
76
|
-
|
|
83
|
+
await wsapiClient.put(`/communities/${input.id}/name`, {
|
|
84
|
+
name: input.name,
|
|
85
|
+
});
|
|
86
|
+
return { success: true, message: "Community name updated" };
|
|
77
87
|
},
|
|
78
88
|
};
|
|
79
89
|
export const setCommunityDescription = {
|
|
80
|
-
name:
|
|
81
|
-
description:
|
|
90
|
+
name: "whatsapp_set_community_description",
|
|
91
|
+
description: "Set community description.",
|
|
82
92
|
inputSchema: {
|
|
83
|
-
type:
|
|
93
|
+
type: "object",
|
|
84
94
|
properties: {
|
|
85
|
-
id: { type:
|
|
86
|
-
description: { type:
|
|
95
|
+
id: { type: "string", description: "Community JID" },
|
|
96
|
+
description: { type: "string", description: "New description" },
|
|
87
97
|
},
|
|
88
|
-
required: [
|
|
98
|
+
required: ["id"],
|
|
89
99
|
},
|
|
90
100
|
handler: async (args) => {
|
|
91
101
|
const input = validateInput(updateGroupDescriptionSchema, args);
|
|
92
|
-
await wsapiClient.put(`/communities/${input.id}/description`, {
|
|
93
|
-
|
|
102
|
+
await wsapiClient.put(`/communities/${input.id}/description`, {
|
|
103
|
+
description: input.description,
|
|
104
|
+
});
|
|
105
|
+
return { success: true, message: "Community description updated" };
|
|
94
106
|
},
|
|
95
107
|
};
|
|
96
108
|
export const setCommunityPicture = {
|
|
97
|
-
name:
|
|
98
|
-
description:
|
|
109
|
+
name: "whatsapp_set_community_picture",
|
|
110
|
+
description: "Set community profile picture.",
|
|
99
111
|
inputSchema: {
|
|
100
|
-
type:
|
|
112
|
+
type: "object",
|
|
101
113
|
properties: {
|
|
102
|
-
id: { type:
|
|
103
|
-
data: { type:
|
|
114
|
+
id: { type: "string", description: "Community JID" },
|
|
115
|
+
data: { type: "string", description: "Base64-encoded JPEG image" },
|
|
104
116
|
},
|
|
105
|
-
required: [
|
|
117
|
+
required: ["id", "data"],
|
|
106
118
|
},
|
|
107
119
|
handler: async (args) => {
|
|
108
120
|
const input = validateInput(setGroupPictureSchema, args);
|
|
109
|
-
const result = await wsapiClient.post(`/communities/${input.id}/picture`, {
|
|
110
|
-
|
|
121
|
+
const result = await wsapiClient.post(`/communities/${input.id}/picture`, {
|
|
122
|
+
data: input.data,
|
|
123
|
+
});
|
|
124
|
+
return {
|
|
125
|
+
success: true,
|
|
126
|
+
pictureId: result.pictureId,
|
|
127
|
+
message: "Community picture updated",
|
|
128
|
+
};
|
|
111
129
|
},
|
|
112
130
|
};
|
|
113
131
|
export const setCommunityLocked = {
|
|
114
|
-
name:
|
|
115
|
-
description:
|
|
132
|
+
name: "whatsapp_set_community_locked",
|
|
133
|
+
description: "Set community locked mode (only admins can edit info).",
|
|
116
134
|
inputSchema: {
|
|
117
|
-
type:
|
|
135
|
+
type: "object",
|
|
118
136
|
properties: {
|
|
119
|
-
id: { type:
|
|
120
|
-
enabled: { type:
|
|
137
|
+
id: { type: "string", description: "Community JID" },
|
|
138
|
+
enabled: { type: "boolean", description: "Enable or disable" },
|
|
121
139
|
},
|
|
122
|
-
required: [
|
|
140
|
+
required: ["id", "enabled"],
|
|
123
141
|
},
|
|
124
142
|
handler: async (args) => {
|
|
125
143
|
const input = validateInput(setBoolSettingSchema, args);
|
|
126
|
-
await wsapiClient.put(`/communities/${input.id}/settings/locked`, {
|
|
127
|
-
|
|
144
|
+
await wsapiClient.put(`/communities/${input.id}/settings/locked`, {
|
|
145
|
+
enabled: input.enabled,
|
|
146
|
+
});
|
|
147
|
+
return { success: true, message: "Community locked mode updated" };
|
|
128
148
|
},
|
|
129
149
|
};
|
|
130
150
|
export const getCommunityParticipants = {
|
|
131
|
-
name:
|
|
132
|
-
description:
|
|
151
|
+
name: "whatsapp_get_community_participants",
|
|
152
|
+
description: "Get community participants.",
|
|
133
153
|
inputSchema: {
|
|
134
|
-
type:
|
|
135
|
-
properties: { id: { type:
|
|
136
|
-
required: [
|
|
154
|
+
type: "object",
|
|
155
|
+
properties: { id: { type: "string", description: "Community JID" } },
|
|
156
|
+
required: ["id"],
|
|
137
157
|
},
|
|
138
158
|
handler: async (args) => {
|
|
139
159
|
const input = validateInput(getCommunitySchema, args);
|
|
@@ -142,30 +162,41 @@ export const getCommunityParticipants = {
|
|
|
142
162
|
},
|
|
143
163
|
};
|
|
144
164
|
export const updateCommunityParticipants = {
|
|
145
|
-
name:
|
|
146
|
-
description:
|
|
165
|
+
name: "whatsapp_update_community_participants",
|
|
166
|
+
description: "Add, remove, promote, or demote community participants.",
|
|
147
167
|
inputSchema: {
|
|
148
|
-
type:
|
|
168
|
+
type: "object",
|
|
149
169
|
properties: {
|
|
150
|
-
id: { type:
|
|
151
|
-
participants: {
|
|
152
|
-
|
|
170
|
+
id: { type: "string", description: "Community JID" },
|
|
171
|
+
participants: {
|
|
172
|
+
type: "array",
|
|
173
|
+
items: { type: "string" },
|
|
174
|
+
description: "Participant JIDs",
|
|
175
|
+
},
|
|
176
|
+
action: {
|
|
177
|
+
type: "string",
|
|
178
|
+
enum: ["add", "remove", "promote", "demote"],
|
|
179
|
+
description: "Action",
|
|
180
|
+
},
|
|
153
181
|
},
|
|
154
|
-
required: [
|
|
182
|
+
required: ["id", "participants", "action"],
|
|
155
183
|
},
|
|
156
184
|
handler: async (args) => {
|
|
157
185
|
const input = validateInput(updateGroupParticipantsSchema, args);
|
|
158
|
-
await wsapiClient.put(`/communities/${input.id}/participants`, {
|
|
159
|
-
|
|
186
|
+
await wsapiClient.put(`/communities/${input.id}/participants`, {
|
|
187
|
+
participants: input.participants,
|
|
188
|
+
action: input.action,
|
|
189
|
+
});
|
|
190
|
+
return { success: true, message: "Community participants updated" };
|
|
160
191
|
},
|
|
161
192
|
};
|
|
162
193
|
export const getCommunityInviteLink = {
|
|
163
|
-
name:
|
|
164
|
-
description:
|
|
194
|
+
name: "whatsapp_get_community_invite_link",
|
|
195
|
+
description: "Get community invite link.",
|
|
165
196
|
inputSchema: {
|
|
166
|
-
type:
|
|
167
|
-
properties: { id: { type:
|
|
168
|
-
required: [
|
|
197
|
+
type: "object",
|
|
198
|
+
properties: { id: { type: "string", description: "Community JID" } },
|
|
199
|
+
required: ["id"],
|
|
169
200
|
},
|
|
170
201
|
handler: async (args) => {
|
|
171
202
|
const input = validateInput(getCommunitySchema, args);
|
|
@@ -174,12 +205,12 @@ export const getCommunityInviteLink = {
|
|
|
174
205
|
},
|
|
175
206
|
};
|
|
176
207
|
export const resetCommunityInviteLink = {
|
|
177
|
-
name:
|
|
178
|
-
description:
|
|
208
|
+
name: "whatsapp_reset_community_invite_link",
|
|
209
|
+
description: "Reset community invite link.",
|
|
179
210
|
inputSchema: {
|
|
180
|
-
type:
|
|
181
|
-
properties: { id: { type:
|
|
182
|
-
required: [
|
|
211
|
+
type: "object",
|
|
212
|
+
properties: { id: { type: "string", description: "Community JID" } },
|
|
213
|
+
required: ["id"],
|
|
183
214
|
},
|
|
184
215
|
handler: async (args) => {
|
|
185
216
|
const input = validateInput(getCommunitySchema, args);
|
|
@@ -188,12 +219,12 @@ export const resetCommunityInviteLink = {
|
|
|
188
219
|
},
|
|
189
220
|
};
|
|
190
221
|
export const getCommunitySubGroups = {
|
|
191
|
-
name:
|
|
192
|
-
description:
|
|
222
|
+
name: "whatsapp_get_community_sub_groups",
|
|
223
|
+
description: "Get community sub-groups.",
|
|
193
224
|
inputSchema: {
|
|
194
|
-
type:
|
|
195
|
-
properties: { id: { type:
|
|
196
|
-
required: [
|
|
225
|
+
type: "object",
|
|
226
|
+
properties: { id: { type: "string", description: "Community JID" } },
|
|
227
|
+
required: ["id"],
|
|
197
228
|
},
|
|
198
229
|
handler: async (args) => {
|
|
199
230
|
const input = validateInput(getCommunitySchema, args);
|
|
@@ -202,62 +233,86 @@ export const getCommunitySubGroups = {
|
|
|
202
233
|
},
|
|
203
234
|
};
|
|
204
235
|
export const createCommunityGroup = {
|
|
205
|
-
name:
|
|
206
|
-
description:
|
|
236
|
+
name: "whatsapp_create_community_group",
|
|
237
|
+
description: "Create a new sub-group inside a community.",
|
|
207
238
|
inputSchema: {
|
|
208
|
-
type:
|
|
239
|
+
type: "object",
|
|
209
240
|
properties: {
|
|
210
|
-
id: { type:
|
|
211
|
-
name: { type:
|
|
212
|
-
participants: {
|
|
241
|
+
id: { type: "string", description: "Community JID" },
|
|
242
|
+
name: { type: "string", description: "Group name" },
|
|
243
|
+
participants: {
|
|
244
|
+
type: "array",
|
|
245
|
+
items: { type: "string" },
|
|
246
|
+
description: "Participant JIDs",
|
|
247
|
+
},
|
|
213
248
|
},
|
|
214
|
-
required: [
|
|
249
|
+
required: ["id", "name"],
|
|
215
250
|
},
|
|
216
251
|
handler: async (args) => {
|
|
217
252
|
const input = validateInput(createCommunityGroupSchema, args);
|
|
218
|
-
const result = await wsapiClient.post(`/communities/${input.id}/groups`, {
|
|
219
|
-
|
|
253
|
+
const result = await wsapiClient.post(`/communities/${input.id}/groups`, {
|
|
254
|
+
name: input.name,
|
|
255
|
+
participants: input.participants,
|
|
256
|
+
});
|
|
257
|
+
return {
|
|
258
|
+
success: true,
|
|
259
|
+
groupId: result.id,
|
|
260
|
+
message: "Community group created",
|
|
261
|
+
};
|
|
220
262
|
},
|
|
221
263
|
};
|
|
222
264
|
export const linkGroupToCommunity = {
|
|
223
|
-
name:
|
|
224
|
-
description:
|
|
265
|
+
name: "whatsapp_link_group_to_community",
|
|
266
|
+
description: "Link an existing group to a community.",
|
|
225
267
|
inputSchema: {
|
|
226
|
-
type:
|
|
268
|
+
type: "object",
|
|
227
269
|
properties: {
|
|
228
|
-
id: { type:
|
|
229
|
-
groupId: { type:
|
|
270
|
+
id: { type: "string", description: "Community JID" },
|
|
271
|
+
groupId: { type: "string", description: "Group JID to link" },
|
|
230
272
|
},
|
|
231
|
-
required: [
|
|
273
|
+
required: ["id", "groupId"],
|
|
232
274
|
},
|
|
233
275
|
handler: async (args) => {
|
|
234
276
|
const input = validateInput(linkGroupToCommunitySchema, args);
|
|
235
|
-
await wsapiClient.post(`/communities/${input.id}/groups/link`, {
|
|
236
|
-
|
|
277
|
+
await wsapiClient.post(`/communities/${input.id}/groups/link`, {
|
|
278
|
+
groupId: input.groupId,
|
|
279
|
+
});
|
|
280
|
+
return { success: true, message: "Group linked to community" };
|
|
237
281
|
},
|
|
238
282
|
};
|
|
239
283
|
export const unlinkCommunityGroup = {
|
|
240
|
-
name:
|
|
241
|
-
description:
|
|
284
|
+
name: "whatsapp_unlink_community_group",
|
|
285
|
+
description: "Unlink a group from a community.",
|
|
242
286
|
inputSchema: {
|
|
243
|
-
type:
|
|
287
|
+
type: "object",
|
|
244
288
|
properties: {
|
|
245
|
-
id: { type:
|
|
246
|
-
groupId: { type:
|
|
289
|
+
id: { type: "string", description: "Community JID" },
|
|
290
|
+
groupId: { type: "string", description: "Group JID to unlink" },
|
|
247
291
|
},
|
|
248
|
-
required: [
|
|
292
|
+
required: ["id", "groupId"],
|
|
249
293
|
},
|
|
250
294
|
handler: async (args) => {
|
|
251
295
|
const input = validateInput(unlinkCommunityGroupSchema, args);
|
|
252
296
|
await wsapiClient.delete(`/communities/${input.id}/groups/${input.groupId}`);
|
|
253
|
-
return { success: true, message:
|
|
297
|
+
return { success: true, message: "Group unlinked from community" };
|
|
254
298
|
},
|
|
255
299
|
};
|
|
256
300
|
export const communityTools = {
|
|
257
|
-
listCommunities,
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
301
|
+
listCommunities,
|
|
302
|
+
createCommunity,
|
|
303
|
+
getCommunity,
|
|
304
|
+
leaveCommunity,
|
|
305
|
+
setCommunityName,
|
|
306
|
+
setCommunityDescription,
|
|
307
|
+
setCommunityPicture,
|
|
308
|
+
setCommunityLocked,
|
|
309
|
+
getCommunityParticipants,
|
|
310
|
+
updateCommunityParticipants,
|
|
311
|
+
getCommunityInviteLink,
|
|
312
|
+
resetCommunityInviteLink,
|
|
313
|
+
getCommunitySubGroups,
|
|
314
|
+
createCommunityGroup,
|
|
315
|
+
linkGroupToCommunity,
|
|
316
|
+
unlinkCommunityGroup,
|
|
262
317
|
};
|
|
263
318
|
//# sourceMappingURL=communities.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"communities.js","sourceRoot":"","sources":["../../src/tools/communities.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACjD,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EACL,aAAa,EACb,qBAAqB,EACrB,kBAAkB,EAClB,qBAAqB,EACrB,4BAA4B,EAC5B,qBAAqB,EACrB,oBAAoB,EACpB,6BAA6B,EAC7B,0BAA0B,EAC1B,0BAA0B,EAC1B,0BAA0B,GAC3B,MAAM,0BAA0B,CAAC;AAElC,MAAM,MAAM,GAAG,YAAY,CAAC,iBAAiB,CAAC,CAAC;AAE/C,MAAM,CAAC,MAAM,eAAe,GAAgB;IAC1C,IAAI,EAAE,2BAA2B;IACjC,WAAW,EAAE,8BAA8B;IAC3C,WAAW,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,UAAU,EAAE,EAAE,EAAE;IAC/C,OAAO,EAAE,KAAK,IAAI,EAAE;QAClB,MAAM,CAAC,IAAI,CAAC,qBAAqB,CAAC,CAAC;QACnC,MAAM,MAAM,GAAG,MAAM,WAAW,CAAC,GAAG,CAAC,cAAc,CAAC,CAAC;QACrD,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,CAAC;IACtE,CAAC;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,eAAe,GAAgB;IAC1C,IAAI,EAAE,2BAA2B;IACjC,WAAW,EAAE,kCAAkC;IAC/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EAAE,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,eAAe,EAAE;YACpD,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,qBAAqB,EAAE;SAChE;QACD,QAAQ,EAAE,CAAC,IAAI,EAAE,SAAS,CAAC;KAC5B;IACD,OAAO,EAAE,KAAK,EAAE,IAAS,EAAE,EAAE;QAC3B,MAAM,KAAK,GAAG,aAAa,CAAC,0BAA0B,EAAE,IAAI,CAAC,CAAC;QAC9D,MAAM,WAAW,CAAC,MAAM,CACtB,gBAAgB,KAAK,CAAC,EAAE,WAAW,KAAK,CAAC,OAAO,EAAE,CACnD,CAAC;QACF,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,+BAA+B,EAAE,CAAC;IACrE,CAAC;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,eAAe;IACf,eAAe;IACf,YAAY;IACZ,cAAc;IACd,gBAAgB;IAChB,uBAAuB;IACvB,mBAAmB;IACnB,kBAAkB;IAClB,wBAAwB;IACxB,2BAA2B;IAC3B,sBAAsB;IACtB,wBAAwB;IACxB,qBAAqB;IACrB,oBAAoB;IACpB,oBAAoB;IACpB,oBAAoB;CACrB,CAAC"}
|
package/dist/tools/contacts.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contacts.d.ts","sourceRoot":"","sources":["../../src/tools/contacts.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"contacts.d.ts","sourceRoot":"","sources":["../../src/tools/contacts.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAYhD,eAAO,MAAM,WAAW,EAAE,WAczB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,WAkBxB,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,WAkB3B,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,WAS1B,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,WAa1B,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,WAc1B,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,WAgB5B,CAAC;AAEF,eAAO,MAAM,YAAY;;;;;;;;CAQxB,CAAC"}
|