
Research
Security News
Lazarus Strikes npm Again with New Wave of Malicious Packages
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
@555platform/555-calendar-sdk
Advanced tools
Calendar Library provides API'S to create calendar,events and reminders. A calendar is a container for events. These events can be single instance or repeating events. Repeating events will have ending time. Multiple calendars can be created per domain, for example, work and personal calendars. Events are associated with calendar type. Events can have reminders set on them.
npm install Calendar
Calendar Library provides API's to Create,Read,Update and delete calendar for user.
init API is used to initialize server URL. init accepts a config parameter. config is of type object, which should have a property config.URL
import {Calendar} from 'Calendar';
Calendar.init("config")
createCalendar API is used to create calendar for user. we need to pass username and calendarname as parameters.
import {Calendar} from 'Calendar';
Calendar.createCalendar("username", "calendarname")
createCalendar API returns a promise. Response will have calendar deatils if call is successful otherwise error JSON with code and reason for error.
Calendar.createCalendar("Rahul","home").then(response => {
console.log(" Calendarlist Data ::",response)
}).catch(error => {
console.log("get calendarlist failed ::", error);
});
}
getCalendar API is used to get calendar details for user. we need to pass username as parameter.
import {Calendar} from 'Calendar';
Calendar.getCalendar("username")
getCalendar API returns a promise. Response will have calendar deatils if call is successful otherwise error JSON with code and reason for error.
Calendar.getCalendar("Rahul").then(response => {
console.log(" Calendarlist Data ::",response)
}).catch(error => {
console.log("get calendarlist failed ::", error);
});
}
updateCalendar API is used to update calendar details for user. we need to pass calendarId and calendarName as parameters.
import {Calendar} from 'Calendar';
Calendar.updateCalendar("calendarid","calendarname")
updateCalendar API returns a promise. Response will have calendar deatils if call is successful otherwise error JSON with code and reason for error.
Calendar.updateCalendar("1ea1f9d3b4a927b264c83c07", "home").then(response => {
console.log(" Calendarlist updateds ::",response)
}).catch(error => {
console.log("get calendarlist failed ::", error);
});
}
deleteCalendar API is used to delete calendar of user. we need to pass calendarId as parameter.
import {Calendar} from 'Calendar';
Calendar.deleteCalendar("calendarid")
deleteCalendar API returns a promise. Response will have calendar deatils if call is successful otherwise error JSON with code and reason for error.
Calendar.deleteCalendar("1ea1f9d3b4a927b264c83c07").then(response => {
console.log(" Calendarlist updateds ::",response)
}).catch(error => {
console.log("get calendarlist failed ::", error);
});
}
Calendar Library provides API's to create,update,cancel and delete events in calendar for user.
createEvent API is used to create event in calendar for user. we need to pass eventData as parameter.
Below is the eventdata need to be passed as parameter to createEvent API.
Property | Type | Description |
---|---|---|
calendar_id | string | Unique calendar id |
subject | json |
|
start | json | start date and time of event
|
end | json | end date and time of event
|
location | string | location of calendar |
allow_new_time_proposals | bool | allow time to change |
show_as | string | state of user |
import {Calendar} from 'Calendar';
Calendar.createEvent({eventData})
createCalendar API returns a promise. Response will have event deatils if call is successful otherwise error JSON with code and reason for error.
Calendar.createEvent(eventData).then((response) => {
console.log("create event response ::",response)
})
.catch(error => {
console.log(error);
})
updateEvent API is used to update event for user. we need to pass userid,eventid and update event info as parameter.
import {Calendar} from 'Calendar';
Calendar.updateEvent(userid,eventid,updatedEventInfo)
updateEvent API returns a promise. Response will have event deatils if call is successful otherwise error JSON with code and reason for error.
Calendar.updateEvent(userid,eventid,updatedEventInfo).then((response) => {
console.log("create event response ::",response)
})
.catch(error => {
console.log(error);
})
cancelEvent API is used to cancel event for user. we need to pass userid,eventid as parameter.
import {Calendar} from 'Calendar';
Calendar.cancelEvent(userid,eventid)
cancelEvent API returns a promise. Response will have event deatils if call is successful otherwise error JSON with code and reason for error.
Calendar.cancelEvent(userid,eventid).then((response) => {
console.log("create event response ::",response)
})
.catch(error => {
console.log(error);
})
deleteEvent API is used to delete event for user. we need to pass userid,eventid as parameter.
import {Calendar} from 'Calendar';
Calendar.deleteEvent(userid,eventid)
deleteEvent API returns a promise. Response will have event deatils if call is successful otherwise error JSON with code and reason for error.
Calendar.deleteEvent(userid,eventid).then((response) => {
console.log("create event response ::",response)
})
.catch(error => {
console.log(error);
})
FAQs
Calendar SDK for 555 Platform
The npm package @555platform/555-calendar-sdk receives a total of 2 weekly downloads. As such, @555platform/555-calendar-sdk popularity was classified as not popular.
We found that @555platform/555-calendar-sdk demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.
Security News
Opengrep continues building momentum with the alpha release of its Playground tool, demonstrating the project's rapid evolution just two months after its initial launch.