@zernio/node
Advanced tools
+298
-0
@@ -1403,2 +1403,236 @@ "use strict"; | ||
| }; | ||
| var listContacts = (options) => { | ||
| return (options?.client ?? client).get({ | ||
| ...options, | ||
| url: "/v1/contacts" | ||
| }); | ||
| }; | ||
| var createContact = (options) => { | ||
| return (options?.client ?? client).post({ | ||
| ...options, | ||
| url: "/v1/contacts" | ||
| }); | ||
| }; | ||
| var getContact = (options) => { | ||
| return (options?.client ?? client).get({ | ||
| ...options, | ||
| url: "/v1/contacts/{contactId}" | ||
| }); | ||
| }; | ||
| var updateContact = (options) => { | ||
| return (options?.client ?? client).patch({ | ||
| ...options, | ||
| url: "/v1/contacts/{contactId}" | ||
| }); | ||
| }; | ||
| var deleteContact = (options) => { | ||
| return (options?.client ?? client).delete({ | ||
| ...options, | ||
| url: "/v1/contacts/{contactId}" | ||
| }); | ||
| }; | ||
| var getContactChannels = (options) => { | ||
| return (options?.client ?? client).get({ | ||
| ...options, | ||
| url: "/v1/contacts/{contactId}/channels" | ||
| }); | ||
| }; | ||
| var bulkCreateContacts = (options) => { | ||
| return (options?.client ?? client).post({ | ||
| ...options, | ||
| url: "/v1/contacts/bulk" | ||
| }); | ||
| }; | ||
| var setContactFieldValue = (options) => { | ||
| return (options?.client ?? client).put({ | ||
| ...options, | ||
| url: "/v1/contacts/{contactId}/fields/{slug}" | ||
| }); | ||
| }; | ||
| var clearContactFieldValue = (options) => { | ||
| return (options?.client ?? client).delete({ | ||
| ...options, | ||
| url: "/v1/contacts/{contactId}/fields/{slug}" | ||
| }); | ||
| }; | ||
| var listCustomFields = (options) => { | ||
| return (options?.client ?? client).get({ | ||
| ...options, | ||
| url: "/v1/custom-fields" | ||
| }); | ||
| }; | ||
| var createCustomField = (options) => { | ||
| return (options?.client ?? client).post({ | ||
| ...options, | ||
| url: "/v1/custom-fields" | ||
| }); | ||
| }; | ||
| var updateCustomField = (options) => { | ||
| return (options?.client ?? client).patch({ | ||
| ...options, | ||
| url: "/v1/custom-fields/{fieldId}" | ||
| }); | ||
| }; | ||
| var deleteCustomField = (options) => { | ||
| return (options?.client ?? client).delete({ | ||
| ...options, | ||
| url: "/v1/custom-fields/{fieldId}" | ||
| }); | ||
| }; | ||
| var listBroadcasts = (options) => { | ||
| return (options?.client ?? client).get({ | ||
| ...options, | ||
| url: "/v1/broadcasts" | ||
| }); | ||
| }; | ||
| var createBroadcast = (options) => { | ||
| return (options?.client ?? client).post({ | ||
| ...options, | ||
| url: "/v1/broadcasts" | ||
| }); | ||
| }; | ||
| var getBroadcast = (options) => { | ||
| return (options?.client ?? client).get({ | ||
| ...options, | ||
| url: "/v1/broadcasts/{broadcastId}" | ||
| }); | ||
| }; | ||
| var updateBroadcast = (options) => { | ||
| return (options?.client ?? client).patch({ | ||
| ...options, | ||
| url: "/v1/broadcasts/{broadcastId}" | ||
| }); | ||
| }; | ||
| var deleteBroadcast = (options) => { | ||
| return (options?.client ?? client).delete({ | ||
| ...options, | ||
| url: "/v1/broadcasts/{broadcastId}" | ||
| }); | ||
| }; | ||
| var sendBroadcast = (options) => { | ||
| return (options?.client ?? client).post({ | ||
| ...options, | ||
| url: "/v1/broadcasts/{broadcastId}/send" | ||
| }); | ||
| }; | ||
| var scheduleBroadcast = (options) => { | ||
| return (options?.client ?? client).post({ | ||
| ...options, | ||
| url: "/v1/broadcasts/{broadcastId}/schedule" | ||
| }); | ||
| }; | ||
| var cancelBroadcast = (options) => { | ||
| return (options?.client ?? client).post({ | ||
| ...options, | ||
| url: "/v1/broadcasts/{broadcastId}/cancel" | ||
| }); | ||
| }; | ||
| var listBroadcastRecipients = (options) => { | ||
| return (options?.client ?? client).get({ | ||
| ...options, | ||
| url: "/v1/broadcasts/{broadcastId}/recipients" | ||
| }); | ||
| }; | ||
| var addBroadcastRecipients = (options) => { | ||
| return (options?.client ?? client).post({ | ||
| ...options, | ||
| url: "/v1/broadcasts/{broadcastId}/recipients" | ||
| }); | ||
| }; | ||
| var listSequences = (options) => { | ||
| return (options?.client ?? client).get({ | ||
| ...options, | ||
| url: "/v1/sequences" | ||
| }); | ||
| }; | ||
| var createSequence = (options) => { | ||
| return (options?.client ?? client).post({ | ||
| ...options, | ||
| url: "/v1/sequences" | ||
| }); | ||
| }; | ||
| var getSequence = (options) => { | ||
| return (options?.client ?? client).get({ | ||
| ...options, | ||
| url: "/v1/sequences/{sequenceId}" | ||
| }); | ||
| }; | ||
| var updateSequence = (options) => { | ||
| return (options?.client ?? client).patch({ | ||
| ...options, | ||
| url: "/v1/sequences/{sequenceId}" | ||
| }); | ||
| }; | ||
| var deleteSequence = (options) => { | ||
| return (options?.client ?? client).delete({ | ||
| ...options, | ||
| url: "/v1/sequences/{sequenceId}" | ||
| }); | ||
| }; | ||
| var activateSequence = (options) => { | ||
| return (options?.client ?? client).post({ | ||
| ...options, | ||
| url: "/v1/sequences/{sequenceId}/activate" | ||
| }); | ||
| }; | ||
| var pauseSequence = (options) => { | ||
| return (options?.client ?? client).post({ | ||
| ...options, | ||
| url: "/v1/sequences/{sequenceId}/pause" | ||
| }); | ||
| }; | ||
| var enrollContacts = (options) => { | ||
| return (options?.client ?? client).post({ | ||
| ...options, | ||
| url: "/v1/sequences/{sequenceId}/enroll" | ||
| }); | ||
| }; | ||
| var unenrollContact = (options) => { | ||
| return (options?.client ?? client).delete({ | ||
| ...options, | ||
| url: "/v1/sequences/{sequenceId}/enroll/{contactId}" | ||
| }); | ||
| }; | ||
| var listSequenceEnrollments = (options) => { | ||
| return (options?.client ?? client).get({ | ||
| ...options, | ||
| url: "/v1/sequences/{sequenceId}/enrollments" | ||
| }); | ||
| }; | ||
| var listCommentAutomations = (options) => { | ||
| return (options?.client ?? client).get({ | ||
| ...options, | ||
| url: "/v1/comment-automations" | ||
| }); | ||
| }; | ||
| var createCommentAutomation = (options) => { | ||
| return (options?.client ?? client).post({ | ||
| ...options, | ||
| url: "/v1/comment-automations" | ||
| }); | ||
| }; | ||
| var getCommentAutomation = (options) => { | ||
| return (options?.client ?? client).get({ | ||
| ...options, | ||
| url: "/v1/comment-automations/{automationId}" | ||
| }); | ||
| }; | ||
| var updateCommentAutomation = (options) => { | ||
| return (options?.client ?? client).patch({ | ||
| ...options, | ||
| url: "/v1/comment-automations/{automationId}" | ||
| }); | ||
| }; | ||
| var deleteCommentAutomation = (options) => { | ||
| return (options?.client ?? client).delete({ | ||
| ...options, | ||
| url: "/v1/comment-automations/{automationId}" | ||
| }); | ||
| }; | ||
| var listCommentAutomationLogs = (options) => { | ||
| return (options?.client ?? client).get({ | ||
| ...options, | ||
| url: "/v1/comment-automations/{automationId}/logs" | ||
| }); | ||
| }; | ||
@@ -1852,2 +2086,66 @@ // src/errors.ts | ||
| }; | ||
| /** | ||
| * contacts API | ||
| */ | ||
| this.contacts = { | ||
| listContacts, | ||
| createContact, | ||
| getContact, | ||
| updateContact, | ||
| deleteContact, | ||
| getContactChannels, | ||
| bulkCreateContacts | ||
| }; | ||
| /** | ||
| * customfields API | ||
| */ | ||
| this.customfields = { | ||
| setContactFieldValue, | ||
| clearContactFieldValue, | ||
| listCustomFields, | ||
| createCustomField, | ||
| updateCustomField, | ||
| deleteCustomField | ||
| }; | ||
| /** | ||
| * broadcasts API | ||
| */ | ||
| this.broadcasts = { | ||
| listBroadcasts, | ||
| createBroadcast, | ||
| getBroadcast, | ||
| updateBroadcast, | ||
| deleteBroadcast, | ||
| sendBroadcast, | ||
| scheduleBroadcast, | ||
| cancelBroadcast, | ||
| listBroadcastRecipients, | ||
| addBroadcastRecipients | ||
| }; | ||
| /** | ||
| * sequences API | ||
| */ | ||
| this.sequences = { | ||
| listSequences, | ||
| createSequence, | ||
| getSequence, | ||
| updateSequence, | ||
| deleteSequence, | ||
| activateSequence, | ||
| pauseSequence, | ||
| enrollContacts, | ||
| unenrollContact, | ||
| listSequenceEnrollments | ||
| }; | ||
| /** | ||
| * commentautomations API | ||
| */ | ||
| this.commentautomations = { | ||
| listCommentAutomations, | ||
| createCommentAutomation, | ||
| getCommentAutomation, | ||
| updateCommentAutomation, | ||
| deleteCommentAutomation, | ||
| listCommentAutomationLogs | ||
| }; | ||
| const apiKey = options.apiKey ?? process.env["ZERNIO_API_KEY"] ?? process.env["LATE_API_KEY"]; | ||
@@ -1854,0 +2152,0 @@ if (!apiKey) { |
+298
-0
@@ -1372,2 +1372,236 @@ var __defProp = Object.defineProperty; | ||
| }; | ||
| var listContacts = (options) => { | ||
| return (options?.client ?? client).get({ | ||
| ...options, | ||
| url: "/v1/contacts" | ||
| }); | ||
| }; | ||
| var createContact = (options) => { | ||
| return (options?.client ?? client).post({ | ||
| ...options, | ||
| url: "/v1/contacts" | ||
| }); | ||
| }; | ||
| var getContact = (options) => { | ||
| return (options?.client ?? client).get({ | ||
| ...options, | ||
| url: "/v1/contacts/{contactId}" | ||
| }); | ||
| }; | ||
| var updateContact = (options) => { | ||
| return (options?.client ?? client).patch({ | ||
| ...options, | ||
| url: "/v1/contacts/{contactId}" | ||
| }); | ||
| }; | ||
| var deleteContact = (options) => { | ||
| return (options?.client ?? client).delete({ | ||
| ...options, | ||
| url: "/v1/contacts/{contactId}" | ||
| }); | ||
| }; | ||
| var getContactChannels = (options) => { | ||
| return (options?.client ?? client).get({ | ||
| ...options, | ||
| url: "/v1/contacts/{contactId}/channels" | ||
| }); | ||
| }; | ||
| var bulkCreateContacts = (options) => { | ||
| return (options?.client ?? client).post({ | ||
| ...options, | ||
| url: "/v1/contacts/bulk" | ||
| }); | ||
| }; | ||
| var setContactFieldValue = (options) => { | ||
| return (options?.client ?? client).put({ | ||
| ...options, | ||
| url: "/v1/contacts/{contactId}/fields/{slug}" | ||
| }); | ||
| }; | ||
| var clearContactFieldValue = (options) => { | ||
| return (options?.client ?? client).delete({ | ||
| ...options, | ||
| url: "/v1/contacts/{contactId}/fields/{slug}" | ||
| }); | ||
| }; | ||
| var listCustomFields = (options) => { | ||
| return (options?.client ?? client).get({ | ||
| ...options, | ||
| url: "/v1/custom-fields" | ||
| }); | ||
| }; | ||
| var createCustomField = (options) => { | ||
| return (options?.client ?? client).post({ | ||
| ...options, | ||
| url: "/v1/custom-fields" | ||
| }); | ||
| }; | ||
| var updateCustomField = (options) => { | ||
| return (options?.client ?? client).patch({ | ||
| ...options, | ||
| url: "/v1/custom-fields/{fieldId}" | ||
| }); | ||
| }; | ||
| var deleteCustomField = (options) => { | ||
| return (options?.client ?? client).delete({ | ||
| ...options, | ||
| url: "/v1/custom-fields/{fieldId}" | ||
| }); | ||
| }; | ||
| var listBroadcasts = (options) => { | ||
| return (options?.client ?? client).get({ | ||
| ...options, | ||
| url: "/v1/broadcasts" | ||
| }); | ||
| }; | ||
| var createBroadcast = (options) => { | ||
| return (options?.client ?? client).post({ | ||
| ...options, | ||
| url: "/v1/broadcasts" | ||
| }); | ||
| }; | ||
| var getBroadcast = (options) => { | ||
| return (options?.client ?? client).get({ | ||
| ...options, | ||
| url: "/v1/broadcasts/{broadcastId}" | ||
| }); | ||
| }; | ||
| var updateBroadcast = (options) => { | ||
| return (options?.client ?? client).patch({ | ||
| ...options, | ||
| url: "/v1/broadcasts/{broadcastId}" | ||
| }); | ||
| }; | ||
| var deleteBroadcast = (options) => { | ||
| return (options?.client ?? client).delete({ | ||
| ...options, | ||
| url: "/v1/broadcasts/{broadcastId}" | ||
| }); | ||
| }; | ||
| var sendBroadcast = (options) => { | ||
| return (options?.client ?? client).post({ | ||
| ...options, | ||
| url: "/v1/broadcasts/{broadcastId}/send" | ||
| }); | ||
| }; | ||
| var scheduleBroadcast = (options) => { | ||
| return (options?.client ?? client).post({ | ||
| ...options, | ||
| url: "/v1/broadcasts/{broadcastId}/schedule" | ||
| }); | ||
| }; | ||
| var cancelBroadcast = (options) => { | ||
| return (options?.client ?? client).post({ | ||
| ...options, | ||
| url: "/v1/broadcasts/{broadcastId}/cancel" | ||
| }); | ||
| }; | ||
| var listBroadcastRecipients = (options) => { | ||
| return (options?.client ?? client).get({ | ||
| ...options, | ||
| url: "/v1/broadcasts/{broadcastId}/recipients" | ||
| }); | ||
| }; | ||
| var addBroadcastRecipients = (options) => { | ||
| return (options?.client ?? client).post({ | ||
| ...options, | ||
| url: "/v1/broadcasts/{broadcastId}/recipients" | ||
| }); | ||
| }; | ||
| var listSequences = (options) => { | ||
| return (options?.client ?? client).get({ | ||
| ...options, | ||
| url: "/v1/sequences" | ||
| }); | ||
| }; | ||
| var createSequence = (options) => { | ||
| return (options?.client ?? client).post({ | ||
| ...options, | ||
| url: "/v1/sequences" | ||
| }); | ||
| }; | ||
| var getSequence = (options) => { | ||
| return (options?.client ?? client).get({ | ||
| ...options, | ||
| url: "/v1/sequences/{sequenceId}" | ||
| }); | ||
| }; | ||
| var updateSequence = (options) => { | ||
| return (options?.client ?? client).patch({ | ||
| ...options, | ||
| url: "/v1/sequences/{sequenceId}" | ||
| }); | ||
| }; | ||
| var deleteSequence = (options) => { | ||
| return (options?.client ?? client).delete({ | ||
| ...options, | ||
| url: "/v1/sequences/{sequenceId}" | ||
| }); | ||
| }; | ||
| var activateSequence = (options) => { | ||
| return (options?.client ?? client).post({ | ||
| ...options, | ||
| url: "/v1/sequences/{sequenceId}/activate" | ||
| }); | ||
| }; | ||
| var pauseSequence = (options) => { | ||
| return (options?.client ?? client).post({ | ||
| ...options, | ||
| url: "/v1/sequences/{sequenceId}/pause" | ||
| }); | ||
| }; | ||
| var enrollContacts = (options) => { | ||
| return (options?.client ?? client).post({ | ||
| ...options, | ||
| url: "/v1/sequences/{sequenceId}/enroll" | ||
| }); | ||
| }; | ||
| var unenrollContact = (options) => { | ||
| return (options?.client ?? client).delete({ | ||
| ...options, | ||
| url: "/v1/sequences/{sequenceId}/enroll/{contactId}" | ||
| }); | ||
| }; | ||
| var listSequenceEnrollments = (options) => { | ||
| return (options?.client ?? client).get({ | ||
| ...options, | ||
| url: "/v1/sequences/{sequenceId}/enrollments" | ||
| }); | ||
| }; | ||
| var listCommentAutomations = (options) => { | ||
| return (options?.client ?? client).get({ | ||
| ...options, | ||
| url: "/v1/comment-automations" | ||
| }); | ||
| }; | ||
| var createCommentAutomation = (options) => { | ||
| return (options?.client ?? client).post({ | ||
| ...options, | ||
| url: "/v1/comment-automations" | ||
| }); | ||
| }; | ||
| var getCommentAutomation = (options) => { | ||
| return (options?.client ?? client).get({ | ||
| ...options, | ||
| url: "/v1/comment-automations/{automationId}" | ||
| }); | ||
| }; | ||
| var updateCommentAutomation = (options) => { | ||
| return (options?.client ?? client).patch({ | ||
| ...options, | ||
| url: "/v1/comment-automations/{automationId}" | ||
| }); | ||
| }; | ||
| var deleteCommentAutomation = (options) => { | ||
| return (options?.client ?? client).delete({ | ||
| ...options, | ||
| url: "/v1/comment-automations/{automationId}" | ||
| }); | ||
| }; | ||
| var listCommentAutomationLogs = (options) => { | ||
| return (options?.client ?? client).get({ | ||
| ...options, | ||
| url: "/v1/comment-automations/{automationId}/logs" | ||
| }); | ||
| }; | ||
@@ -1821,2 +2055,66 @@ // src/errors.ts | ||
| }; | ||
| /** | ||
| * contacts API | ||
| */ | ||
| this.contacts = { | ||
| listContacts, | ||
| createContact, | ||
| getContact, | ||
| updateContact, | ||
| deleteContact, | ||
| getContactChannels, | ||
| bulkCreateContacts | ||
| }; | ||
| /** | ||
| * customfields API | ||
| */ | ||
| this.customfields = { | ||
| setContactFieldValue, | ||
| clearContactFieldValue, | ||
| listCustomFields, | ||
| createCustomField, | ||
| updateCustomField, | ||
| deleteCustomField | ||
| }; | ||
| /** | ||
| * broadcasts API | ||
| */ | ||
| this.broadcasts = { | ||
| listBroadcasts, | ||
| createBroadcast, | ||
| getBroadcast, | ||
| updateBroadcast, | ||
| deleteBroadcast, | ||
| sendBroadcast, | ||
| scheduleBroadcast, | ||
| cancelBroadcast, | ||
| listBroadcastRecipients, | ||
| addBroadcastRecipients | ||
| }; | ||
| /** | ||
| * sequences API | ||
| */ | ||
| this.sequences = { | ||
| listSequences, | ||
| createSequence, | ||
| getSequence, | ||
| updateSequence, | ||
| deleteSequence, | ||
| activateSequence, | ||
| pauseSequence, | ||
| enrollContacts, | ||
| unenrollContact, | ||
| listSequenceEnrollments | ||
| }; | ||
| /** | ||
| * commentautomations API | ||
| */ | ||
| this.commentautomations = { | ||
| listCommentAutomations, | ||
| createCommentAutomation, | ||
| getCommentAutomation, | ||
| updateCommentAutomation, | ||
| deleteCommentAutomation, | ||
| listCommentAutomationLogs | ||
| }; | ||
| const apiKey = options.apiKey ?? process.env["ZERNIO_API_KEY"] ?? process.env["LATE_API_KEY"]; | ||
@@ -1823,0 +2121,0 @@ if (!apiKey) { |
+1
-1
| { | ||
| "name": "@zernio/node", | ||
| "version": "0.2.5", | ||
| "version": "0.2.6", | ||
| "description": "The official Node.js library for the Zernio API", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
+59
-0
@@ -342,2 +342,26 @@ <p align="center"> | ||
| ### Broadcasts | ||
| | Method | Description | | ||
| |--------|-------------| | ||
| | `broadcasts.listBroadcastRecipients()` | List broadcast recipients | | ||
| | `broadcasts.listBroadcasts()` | List broadcasts | | ||
| | `broadcasts.createBroadcast()` | Create a broadcast draft | | ||
| | `broadcasts.getBroadcast()` | Get broadcast details | | ||
| | `broadcasts.updateBroadcast()` | Update a broadcast | | ||
| | `broadcasts.deleteBroadcast()` | Delete a broadcast (draft only) | | ||
| | `broadcasts.addBroadcastRecipients()` | Add recipients to a broadcast | | ||
| | `broadcasts.cancelBroadcast()` | Cancel a broadcast | | ||
| | `broadcasts.scheduleBroadcast()` | Schedule broadcast for later | | ||
| | `broadcasts.sendBroadcast()` | Trigger immediate send | | ||
| ### Comment Automations | ||
| | Method | Description | | ||
| |--------|-------------| | ||
| | `commentAutomations.listCommentAutomationLogs()` | List trigger logs for an automation | | ||
| | `commentAutomations.listCommentAutomations()` | List comment-to-DM automations | | ||
| | `commentAutomations.createCommentAutomation()` | Create a comment-to-DM automation | | ||
| | `commentAutomations.getCommentAutomation()` | Get automation details with recent logs | | ||
| | `commentAutomations.updateCommentAutomation()` | Update automation settings | | ||
| | `commentAutomations.deleteCommentAutomation()` | Delete automation and all logs | | ||
| ### Comments (Inbox) | ||
@@ -356,2 +380,23 @@ | Method | Description | | ||
| ### Contacts | ||
| | Method | Description | | ||
| |--------|-------------| | ||
| | `contacts.listContacts()` | List contacts | | ||
| | `contacts.bulkCreateContacts()` | Bulk create contacts | | ||
| | `contacts.createContact()` | Create a contact | | ||
| | `contacts.getContact()` | Get contact with channels | | ||
| | `contacts.getContactChannels()` | List channels for a contact | | ||
| | `contacts.updateContact()` | Update a contact | | ||
| | `contacts.deleteContact()` | Delete a contact | | ||
| ### Custom Fields | ||
| | Method | Description | | ||
| |--------|-------------| | ||
| | `customFields.listCustomFields()` | List custom field definitions | | ||
| | `customFields.createCustomField()` | Create a custom field definition | | ||
| | `customFields.updateCustomField()` | Update a custom field definition | | ||
| | `customFields.deleteCustomField()` | Delete a custom field definition | | ||
| | `customFields.clearContactFieldValue()` | Clear a custom field value | | ||
| | `customFields.setContactFieldValue()` | Set a custom field value | | ||
| ### GMB Attributes | ||
@@ -406,2 +451,16 @@ | Method | Description | | ||
| ### Sequences | ||
| | Method | Description | | ||
| |--------|-------------| | ||
| | `sequences.listSequenceEnrollments()` | List enrollments for a sequence | | ||
| | `sequences.listSequences()` | List sequences | | ||
| | `sequences.createSequence()` | Create a sequence | | ||
| | `sequences.getSequence()` | Get sequence with steps | | ||
| | `sequences.updateSequence()` | Update a sequence | | ||
| | `sequences.deleteSequence()` | Delete a sequence | | ||
| | `sequences.activateSequence()` | Activate a sequence | | ||
| | `sequences.enrollContacts()` | Enroll contacts in a sequence | | ||
| | `sequences.pauseSequence()` | Pause a sequence | | ||
| | `sequences.unenrollContact()` | Unenroll a contact from a sequence | | ||
| ### Twitter Engagement | ||
@@ -408,0 +467,0 @@ | Method | Description | |
+108
-0
| import { | ||
| client, | ||
| activateSequence, | ||
| addBroadcastRecipients, | ||
| addWhatsAppBroadcastRecipients, | ||
| bookmarkPost, | ||
| bulkCreateContacts, | ||
| bulkDeleteWhatsAppContacts, | ||
| bulkUpdateWhatsAppContacts, | ||
| bulkUploadPosts, | ||
| cancelBroadcast, | ||
| cancelWhatsAppBroadcastSchedule, | ||
| checkInstagramHashtags, | ||
| clearContactFieldValue, | ||
| completeTelegramConnect, | ||
@@ -15,2 +20,6 @@ connectBlueskyCredentials, | ||
| createApiKey, | ||
| createBroadcast, | ||
| createCommentAutomation, | ||
| createContact, | ||
| createCustomField, | ||
| createGoogleBusinessMedia, | ||
@@ -22,2 +31,3 @@ createGoogleBusinessPlaceAction, | ||
| createQueueSlot, | ||
| createSequence, | ||
| createWebhookSettings, | ||
@@ -30,2 +40,6 @@ createWhatsAppBroadcast, | ||
| deleteApiKey, | ||
| deleteBroadcast, | ||
| deleteCommentAutomation, | ||
| deleteContact, | ||
| deleteCustomField, | ||
| deleteGoogleBusinessMedia, | ||
@@ -40,2 +54,3 @@ deleteGoogleBusinessPlaceAction, | ||
| deleteQueueSlot, | ||
| deleteSequence, | ||
| deleteTelegramCommands, | ||
@@ -55,2 +70,3 @@ deleteWebhookSettings, | ||
| editInboxMessage, | ||
| enrollContacts, | ||
| followUser, | ||
@@ -61,3 +77,7 @@ getAccountHealth, | ||
| getBestTimeToPost, | ||
| getBroadcast, | ||
| getCommentAutomation, | ||
| getConnectUrl, | ||
| getContact, | ||
| getContactChannels, | ||
| getContentDecay, | ||
@@ -96,2 +116,3 @@ getDailyMetrics, | ||
| getRedditSubreddits, | ||
| getSequence, | ||
| getTelegramCommands, | ||
@@ -126,3 +147,9 @@ getTelegramConnectStatus, | ||
| listApiKeys, | ||
| listBroadcastRecipients, | ||
| listBroadcasts, | ||
| listCommentAutomationLogs, | ||
| listCommentAutomations, | ||
| listConnectionLogs, | ||
| listContacts, | ||
| listCustomFields, | ||
| listFacebookPages, | ||
@@ -141,4 +168,7 @@ listGoogleBusinessLocations, | ||
| listQueueSlots, | ||
| listSequenceEnrollments, | ||
| listSequences, | ||
| listSnapchatProfiles, | ||
| listUsers, | ||
| pauseSequence, | ||
| previewQueue, | ||
@@ -154,2 +184,3 @@ purchaseWhatsAppPhoneNumber, | ||
| retweetPost, | ||
| scheduleBroadcast, | ||
| scheduleWhatsAppBroadcast, | ||
@@ -162,2 +193,3 @@ searchReddit, | ||
| selectSnapchatProfile, | ||
| sendBroadcast, | ||
| sendInboxMessage, | ||
@@ -167,2 +199,3 @@ sendPrivateReplyToComment, | ||
| sendWhatsAppBulk, | ||
| setContactFieldValue, | ||
| setInstagramIceBreakers, | ||
@@ -173,2 +206,3 @@ setMessengerMenu, | ||
| undoRetweet, | ||
| unenrollContact, | ||
| unfollowUser, | ||
@@ -180,2 +214,6 @@ unhideInboxComment, | ||
| updateAccountGroup, | ||
| updateBroadcast, | ||
| updateCommentAutomation, | ||
| updateContact, | ||
| updateCustomField, | ||
| updateFacebookPage, | ||
@@ -193,2 +231,3 @@ updateGmbLocation, | ||
| updateRedditSubreddits, | ||
| updateSequence, | ||
| updateWebhookSettings, | ||
@@ -643,2 +682,71 @@ updateWhatsAppBusinessProfile, | ||
| /** | ||
| * contacts API | ||
| */ | ||
| contacts = { | ||
| listContacts: listContacts, | ||
| createContact: createContact, | ||
| getContact: getContact, | ||
| updateContact: updateContact, | ||
| deleteContact: deleteContact, | ||
| getContactChannels: getContactChannels, | ||
| bulkCreateContacts: bulkCreateContacts, | ||
| }; | ||
| /** | ||
| * customfields API | ||
| */ | ||
| customfields = { | ||
| setContactFieldValue: setContactFieldValue, | ||
| clearContactFieldValue: clearContactFieldValue, | ||
| listCustomFields: listCustomFields, | ||
| createCustomField: createCustomField, | ||
| updateCustomField: updateCustomField, | ||
| deleteCustomField: deleteCustomField, | ||
| }; | ||
| /** | ||
| * broadcasts API | ||
| */ | ||
| broadcasts = { | ||
| listBroadcasts: listBroadcasts, | ||
| createBroadcast: createBroadcast, | ||
| getBroadcast: getBroadcast, | ||
| updateBroadcast: updateBroadcast, | ||
| deleteBroadcast: deleteBroadcast, | ||
| sendBroadcast: sendBroadcast, | ||
| scheduleBroadcast: scheduleBroadcast, | ||
| cancelBroadcast: cancelBroadcast, | ||
| listBroadcastRecipients: listBroadcastRecipients, | ||
| addBroadcastRecipients: addBroadcastRecipients, | ||
| }; | ||
| /** | ||
| * sequences API | ||
| */ | ||
| sequences = { | ||
| listSequences: listSequences, | ||
| createSequence: createSequence, | ||
| getSequence: getSequence, | ||
| updateSequence: updateSequence, | ||
| deleteSequence: deleteSequence, | ||
| activateSequence: activateSequence, | ||
| pauseSequence: pauseSequence, | ||
| enrollContacts: enrollContacts, | ||
| unenrollContact: unenrollContact, | ||
| listSequenceEnrollments: listSequenceEnrollments, | ||
| }; | ||
| /** | ||
| * commentautomations API | ||
| */ | ||
| commentautomations = { | ||
| listCommentAutomations: listCommentAutomations, | ||
| createCommentAutomation: createCommentAutomation, | ||
| getCommentAutomation: getCommentAutomation, | ||
| updateCommentAutomation: updateCommentAutomation, | ||
| deleteCommentAutomation: deleteCommentAutomation, | ||
| listCommentAutomationLogs: listCommentAutomationLogs, | ||
| }; | ||
| /** | ||
| * Create a new Zernio API client. | ||
@@ -645,0 +753,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
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 2 instances in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 2 instances in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
1166983
9.92%26205
9.77%544
12.16%