redai-automation-web-sdk 1.9.11 → 1.9.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +29 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +178 -2
- package/dist/index.d.ts +178 -2
- package/dist/index.mjs +29 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1374,6 +1374,21 @@ var MessagingService = class {
|
|
|
1374
1374
|
);
|
|
1375
1375
|
return response;
|
|
1376
1376
|
}
|
|
1377
|
+
async updateLabels(request) {
|
|
1378
|
+
const response = await this.httpClient.post(
|
|
1379
|
+
"/zalo-personal/messaging/labels/update",
|
|
1380
|
+
request
|
|
1381
|
+
);
|
|
1382
|
+
return response;
|
|
1383
|
+
}
|
|
1384
|
+
async assignConversationLabel(request) {
|
|
1385
|
+
const response = await this.httpClient.post("/zalo-personal/messaging/labels/assign-conversation", request);
|
|
1386
|
+
return response;
|
|
1387
|
+
}
|
|
1388
|
+
async unassignConversationLabel(request) {
|
|
1389
|
+
const response = await this.httpClient.post("/zalo-personal/messaging/labels/unassign-conversation", request);
|
|
1390
|
+
return response;
|
|
1391
|
+
}
|
|
1377
1392
|
async getMute(request) {
|
|
1378
1393
|
const response = await this.httpClient.post(
|
|
1379
1394
|
"/zalo-personal/messaging/mute/get",
|
|
@@ -2152,6 +2167,20 @@ var GroupService = class {
|
|
|
2152
2167
|
);
|
|
2153
2168
|
return response;
|
|
2154
2169
|
}
|
|
2170
|
+
/**
|
|
2171
|
+
* Gọi trực tiếp api.getGroupMembersInfo từ Zalo Web SDK mà không qua vòng lặp hay batching
|
|
2172
|
+
* POST /zalo-personal/groups/members-info-direct
|
|
2173
|
+
*/
|
|
2174
|
+
async getGroupMembersInfoDirect(request) {
|
|
2175
|
+
const response = await this.httpClient.post(
|
|
2176
|
+
"/zalo-personal/groups/members-info-direct",
|
|
2177
|
+
{
|
|
2178
|
+
sessionId: request.sessionId,
|
|
2179
|
+
memberIds: request.memberIds
|
|
2180
|
+
}
|
|
2181
|
+
);
|
|
2182
|
+
return response;
|
|
2183
|
+
}
|
|
2155
2184
|
};
|
|
2156
2185
|
|
|
2157
2186
|
// src/services/friends/friends.service.ts
|