🚨 Latest Research:Tanstack npm Packages Compromised in Ongoing Mini Shai-Hulud Supply-Chain Attack.Learn More
Socket
Book a DemoSign in
Socket

@zernio/node

Package Overview
Dependencies
Maintainers
2
Versions
142
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@zernio/node - npm Package Compare versions

Comparing version
0.2.24
to
0.2.25
+41
-1
dist/index.js

@@ -1026,2 +1026,37 @@ "use strict";

};
var deleteInboxMessage = (options) => {
return (options?.client ?? client).delete({
...options,
url: "/v1/inbox/conversations/{conversationId}/messages/{messageId}"
});
};
var sendTypingIndicator = (options) => {
return (options?.client ?? client).post({
...options,
url: "/v1/inbox/conversations/{conversationId}/typing"
});
};
var addMessageReaction = (options) => {
return (options?.client ?? client).post({
...options,
url: "/v1/inbox/conversations/{conversationId}/messages/{messageId}/reactions"
});
};
var removeMessageReaction = (options) => {
return (options?.client ?? client).delete({
...options,
url: "/v1/inbox/conversations/{conversationId}/messages/{messageId}/reactions"
});
};
var uploadMediaDirect = (options) => {
return (options?.client ?? client).post({
...options,
...W,
headers: {
"Content-Type": null,
...options?.headers
},
url: "/v1/media/upload-direct"
});
};
var getMessengerMenu = (options) => {

@@ -2064,3 +2099,8 @@ return (options?.client ?? client).get({

sendInboxMessage,
editInboxMessage
editInboxMessage,
deleteInboxMessage,
sendTypingIndicator,
addMessageReaction,
removeMessageReaction,
uploadMediaDirect
};

@@ -2067,0 +2107,0 @@ /**

@@ -995,2 +995,37 @@ var __defProp = Object.defineProperty;

};
var deleteInboxMessage = (options) => {
return (options?.client ?? client).delete({
...options,
url: "/v1/inbox/conversations/{conversationId}/messages/{messageId}"
});
};
var sendTypingIndicator = (options) => {
return (options?.client ?? client).post({
...options,
url: "/v1/inbox/conversations/{conversationId}/typing"
});
};
var addMessageReaction = (options) => {
return (options?.client ?? client).post({
...options,
url: "/v1/inbox/conversations/{conversationId}/messages/{messageId}/reactions"
});
};
var removeMessageReaction = (options) => {
return (options?.client ?? client).delete({
...options,
url: "/v1/inbox/conversations/{conversationId}/messages/{messageId}/reactions"
});
};
var uploadMediaDirect = (options) => {
return (options?.client ?? client).post({
...options,
...W,
headers: {
"Content-Type": null,
...options?.headers
},
url: "/v1/media/upload-direct"
});
};
var getMessengerMenu = (options) => {

@@ -2033,3 +2068,8 @@ return (options?.client ?? client).get({

sendInboxMessage,
editInboxMessage
editInboxMessage,
deleteInboxMessage,
sendTypingIndicator,
addMessageReaction,
removeMessageReaction,
uploadMediaDirect
};

@@ -2036,0 +2076,0 @@ /**

+1
-1
{
"name": "@zernio/node",
"version": "0.2.24",
"version": "0.2.25",
"description": "The official Node.js library for the Zernio API",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -440,4 +440,9 @@ <p align="center">

| `messages.updateInboxConversation()` | Update conversation status |
| `messages.deleteInboxMessage()` | Delete message |
| `messages.addMessageReaction()` | Add reaction |
| `messages.editInboxMessage()` | Edit message |
| `messages.removeMessageReaction()` | Remove reaction |
| `messages.sendInboxMessage()` | Send message |
| `messages.sendTypingIndicator()` | Send typing indicator |
| `messages.uploadMediaDirect()` | Upload media file |

@@ -444,0 +449,0 @@ ### Reviews (Inbox)

@@ -5,2 +5,3 @@ import {

addBroadcastRecipients,
addMessageReaction,
addWhatsAppBroadcastRecipients,

@@ -50,2 +51,3 @@ addWhatsAppGroupParticipants,

deleteInboxComment,
deleteInboxMessage,
deleteInboxReviewReply,

@@ -180,2 +182,3 @@ deleteInstagramIceBreakers,

removeBookmark,
removeMessageReaction,
removeWhatsAppBroadcastRecipients,

@@ -199,2 +202,3 @@ removeWhatsAppGroupParticipants,

sendPrivateReplyToComment,
sendTypingIndicator,
sendWhatsAppBroadcast,

@@ -239,2 +243,3 @@ sendWhatsAppBulk,

updateWhatsAppTemplate,
uploadMediaDirect,
uploadWhatsAppProfilePhoto,

@@ -583,2 +588,7 @@ validateMedia,

editInboxMessage: editInboxMessage,
deleteInboxMessage: deleteInboxMessage,
sendTypingIndicator: sendTypingIndicator,
addMessageReaction: addMessageReaction,
removeMessageReaction: removeMessageReaction,
uploadMediaDirect: uploadMediaDirect,
};

@@ -585,0 +595,0 @@

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display