npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

swifter-api-sdk-nodejs

v0.0.2

Published

Home_healthcare_schduling_and_hiring_API

Downloads

1

Readme

swift_shift_api

SwiftShiftApi - JavaScript client for swift_shift_api Home healthcare schduling and hiring API This SDK is automatically generated by the OpenAPI Generator project:

  • API version: 4.0.0
  • Package version: 4.0.0
  • Build package: org.openapitools.codegen.languages.JavascriptClientCodegen For more information, please visit http://www.swiftshift.com

Installation

For Node.js

npm

To publish the library as a npm, please follow the procedure in "Publishing npm packages".

Then install it via:

npm install swift_shift_api --save

git

If the library is hosted at a git repository, e.g. https://github.com/GIT_USER_ID/GIT_REPO_ID then install it via:

    npm install GIT_USER_ID/GIT_REPO_ID --save

For browser

The library also works in the browser environment via npm and browserify. After following the above steps with Node.js and installing browserify with npm install -g browserify, perform the following (assuming main.js is your entry file):

browserify main.js > bundle.js

Then include bundle.js in the HTML pages.

Webpack Configuration

Using Webpack you may encounter the following error: "Module not found: Error: Cannot resolve module", most certainly you should disable AMD loader. Add/merge the following section to your webpack config:

module: {
  rules: [
    {
      parser: {
        amd: false
      }
    }
  ]
}

Getting Started

Please follow the installation instruction and execute the following JS code:

var SwiftShiftApi = require('swift_shift_api');


var api = new SwiftShiftApi.AccessLogApi()
var id = "id_example"; // {String} The id of the access log.
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getAccessLog(id, callback);

Documentation for API Endpoints

All URIs are relative to http://localhost:3000

Class | Method | HTTP request | Description ------------ | ------------- | ------------- | ------------- SwiftShiftApi.AccessLogApi | getAccessLog | GET /access_logs/{id} | Gets access log by id SwiftShiftApi.AccessLogApi | listAccessLogs | GET /access_logs | Gets list of all access logs SwiftShiftApi.AgencyApi | deleteOrganization | DELETE /organizations/{organization_id} | SwiftShiftApi.AgencyApi | deleteSite | DELETE /organizations/{organization_id}/sites/{site_id} | SwiftShiftApi.AgencyApi | getOrganization | GET /organizations/{organization_id} | SwiftShiftApi.AgencyApi | getSite | GET /organizations/{organization_id}/sites/{site_id} | SwiftShiftApi.AgencyApi | getSiteSettings | GET /organizations/{organization_id}/sites/{site_id}/settings | SwiftShiftApi.AgencyApi | getSiteStats | GET /organizations/{organization_id}/sites/{site_id}/statistics/{view_name} | SwiftShiftApi.AgencyApi | listOrganizations | GET /organizations | list organizations SwiftShiftApi.AgencyApi | listSites | GET /organizations/{organization_id}/sites | list sites SwiftShiftApi.AgencyApi | postOrganization | POST /organizations | creates an organization SwiftShiftApi.AgencyApi | postSite | POST /organizations/{organization_id}/sites | creates a site SwiftShiftApi.AgencyApi | putOrganization | PUT /organizations/{organization_id} | SwiftShiftApi.AgencyApi | putSite | PUT /organizations/{organization_id}/sites/{site_id} | SwiftShiftApi.ApplicationApi | applyToShift | POST /organizations/{organization_id}/sites/{site_id}/shifts/{shift_id}/applications/{caregiver_id} | Apply for shift SwiftShiftApi.ApplicationApi | deleteShiftApplication | DELETE /organizations/{organization_id}/sites/{site_id}/shifts/{shift_id}/applications/{caregiver_id} | delete shift application SwiftShiftApi.ApplicationApi | listShiftApplicationDetails | GET /organizations/{organization_id}/sites/{site_id}/shifts/{shift_id}/applications | List shift applications SwiftShiftApi.CalendarApi | getCalendar | GET /caregivers/{caregiver_id}/calendar | user's calendar SwiftShiftApi.CaregiverApi | deleteCaregiver | DELETE /caregivers/{caregiver_id} | SwiftShiftApi.CaregiverApi | deleteOrganizationCaregiver | DELETE /organizations/{organization_id}/caregivers/{caregiver_id} | SwiftShiftApi.CaregiverApi | deleteSiteCaregiver | DELETE /organizations/{organization_id}/sites/{site_id}/caregivers/{caregiver_id} | SwiftShiftApi.CaregiverApi | getCaregiver | GET /caregivers/{caregiver_id} | SwiftShiftApi.CaregiverApi | getCaregiverInterview | GET /caregivers/{caregiver_id}/interviews/{interview_id} | SwiftShiftApi.CaregiverApi | getOrganizationCaregiver | GET /organizations/{organization_id}/caregivers/{caregiver_id} | SwiftShiftApi.CaregiverApi | getSiteCaregiver | GET /organizations/{organization_id}/sites/{site_id}/caregivers/{caregiver_id} | SwiftShiftApi.CaregiverApi | listCaregiverInterviews | GET /caregivers/{caregiver_id}/interviews | List interviews. SwiftShiftApi.CaregiverApi | listCaregivers | GET /caregivers | List caregivers. SwiftShiftApi.CaregiverApi | listOrganizationCaregivers | GET /organizations/{organization_id}/caregivers | List organization caregivers. SwiftShiftApi.CaregiverApi | listSiteCaregivers | GET /organizations/{organization_id}/sites/{site_id}/caregivers | List site caregivers. SwiftShiftApi.CaregiverApi | postCaregiver | POST /caregivers | Creates a caregiver. SwiftShiftApi.CaregiverApi | postOrganizationCaregiver | POST /organizations/{organization_id}/caregivers | Creates a caregiver. SwiftShiftApi.CaregiverApi | postSiteCaregiver | POST /organizations/{organization_id}/sites/{site_id}/caregivers | Creates a caregiver. SwiftShiftApi.CaregiverApi | putCaregiver | PUT /caregivers/{caregiver_id} | SwiftShiftApi.CaregiverApi | putCaregiverInterview | PUT /caregivers/{caregiver_id}/interviews/{interview_id} | SwiftShiftApi.CaregiverApi | putOrganizationCaregiver | PUT /organizations/{organization_id}/caregivers/{caregiver_id} | SwiftShiftApi.CaregiverApi | putSiteCaregiver | PUT /organizations/{organization_id}/sites/{site_id}/caregivers/{caregiver_id} | SwiftShiftApi.CaregiverApi | registerUnverifiedCaregiver | POST /open/register_unverified | Register unverified caregiver. SwiftShiftApi.CaregiverApi | verifyCaregiver | POST /unverified/caregivers/{caregiver_id}/verify | SwiftShiftApi.CrtificateApi | deleteCertificate | DELETE /caregivers/{caregiver_id}/certificates/{certificate_id} | SwiftShiftApi.CrtificateApi | getCertificate | GET /caregivers/{caregiver_id}/certificates/{certificate_id} | Gets a certificate. SwiftShiftApi.CrtificateApi | postCertificate | POST /caregivers/{caregiver_id}/certificates | Creates a certificate. SwiftShiftApi.CrtificateApi | putCertificate | PUT /caregivers/{caregiver_id}/certificates/{certificate_id} | Updates a certificate. SwiftShiftApi.HealthCheckApi | deleteHealthCheck | DELETE /health_checks/{id} | Deletes health check by id SwiftShiftApi.HealthCheckApi | listHealthChecks | GET /health_checks | Gets list of all health checks SwiftShiftApi.HealthCheckApi | postHealthCheck | POST /health_checks | Creates a health check SwiftShiftApi.HealthCheckApi | putHealthCheck | PUT /health_checks/{id} | Updates health check by id SwiftShiftApi.InterviewApi | deleteSiteInterview | DELETE /organizations/{organization_id}/sites/{site_id}/interviews/{interview_id} | SwiftShiftApi.InterviewApi | getCaregiverInterview | GET /caregivers/{caregiver_id}/interviews/{interview_id} | SwiftShiftApi.InterviewApi | getSiteInterview | GET /organizations/{organization_id}/sites/{site_id}/interviews/{interview_id} | SwiftShiftApi.InterviewApi | listCaregiverInterviews | GET /caregivers/{caregiver_id}/interviews | List interviews. SwiftShiftApi.InterviewApi | listInterviews | GET /interviews | List interviews. SwiftShiftApi.InterviewApi | listOrganizationInterviews | GET /organizations/{organization_id}/interviews | List organization interviews. SwiftShiftApi.InterviewApi | listSiteInterviews | GET /organizations/{organization_id}/sites/{site_id}/interviews | List site interviews. SwiftShiftApi.InterviewApi | postSiteInterview | POST /organizations/{organization_id}/sites/{site_id}/interviews | Creates an interview SwiftShiftApi.InterviewApi | putCaregiverInterview | PUT /caregivers/{caregiver_id}/interviews/{interview_id} | SwiftShiftApi.InterviewApi | putSiteInterview | PUT /organizations/{organization_id}/sites/{site_id}/interviews/{interview_id} | SwiftShiftApi.JobroleApi | deleteJobrole | DELETE /jobroles/{id} | SwiftShiftApi.JobroleApi | deleteSiteJobrole | DELETE /organizations/{organization_id}/sites/{site_id}/jobroles/{jobrole_id} | SwiftShiftApi.JobroleApi | getJobrole | GET /jobroles/{id} | Gets jobrole by id SwiftShiftApi.JobroleApi | getSiteJobrole | GET /organizations/{organization_id}/sites/{site_id}/jobroles/{jobrole_id} | Gets site jobrole SwiftShiftApi.JobroleApi | listJobroles | GET /jobroles | Gets list of all jobroles SwiftShiftApi.JobroleApi | listSiteJobroles | GET /organizations/{organization_id}/sites/{site_id}/jobroles | Gets site jobroles SwiftShiftApi.JobroleApi | postJobrole | POST /jobroles | Creates a jobrole SwiftShiftApi.JobroleApi | postSiteJobrole | POST /organizations/{organization_id}/sites/{site_id}/jobroles | Creates site jobrole SwiftShiftApi.JobroleApi | putJobrole | PUT /jobroles/{id} | Updates jobrole by id SwiftShiftApi.JobroleApi | putSiteJobrole | PUT /organizations/{organization_id}/sites/{site_id}/jobroles/{jobrole_id} | Updates site jobrole SwiftShiftApi.JobroleVerificationApi | deleteJobroleVerification | DELETE /organizations/{organization_id}/sites/{site_id}/caregivers/{caregiver_id}/jobrole_verifications/{jobrole_id} | SwiftShiftApi.JobroleVerificationApi | getJobroleVerification | GET /organizations/{organization_id}/sites/{site_id}/caregivers/{caregiver_id}/jobrole_verifications/{jobrole_id} | SwiftShiftApi.JobroleVerificationApi | listJobroleVerifications | GET /organizations/{organization_id}/sites/{site_id}/caregivers/{caregiver_id}/jobrole_verifications | List Jobrole Verification. SwiftShiftApi.JobroleVerificationApi | postJobroleVerification | POST /organizations/{organization_id}/sites/{site_id}/caregivers/{caregiver_id}/jobrole_verifications | Creates a jobrole verification object. SwiftShiftApi.LogsApi | listShiftLogs | GET /organizations/{organization_id}/sites/{site_id}/shifts/{shift_id}/logs | List shift access logs SwiftShiftApi.ManagerApi | deleteSiteInterview | DELETE /organizations/{organization_id}/sites/{site_id}/interviews/{interview_id} | SwiftShiftApi.ManagerApi | getSiteInterview | GET /organizations/{organization_id}/sites/{site_id}/interviews/{interview_id} | SwiftShiftApi.ManagerApi | listInterviews | GET /interviews | List interviews. SwiftShiftApi.ManagerApi | listOrganizationInterviews | GET /organizations/{organization_id}/interviews | List organization interviews. SwiftShiftApi.ManagerApi | listSiteInterviews | GET /organizations/{organization_id}/sites/{site_id}/interviews | List site interviews. SwiftShiftApi.ManagerApi | postSiteInterview | POST /organizations/{organization_id}/sites/{site_id}/interviews | Creates an interview SwiftShiftApi.ManagerApi | putSiteInterview | PUT /organizations/{organization_id}/sites/{site_id}/interviews/{interview_id} | SwiftShiftApi.OrganizationApi | deleteOrganization | DELETE /organizations/{organization_id} | SwiftShiftApi.OrganizationApi | deleteOrganizationCaregiver | DELETE /organizations/{organization_id}/caregivers/{caregiver_id} | SwiftShiftApi.OrganizationApi | getOrganization | GET /organizations/{organization_id} | SwiftShiftApi.OrganizationApi | getOrganizationCaregiver | GET /organizations/{organization_id}/caregivers/{caregiver_id} | SwiftShiftApi.OrganizationApi | listOrganizationCaregivers | GET /organizations/{organization_id}/caregivers | List organization caregivers. SwiftShiftApi.OrganizationApi | listOrganizations | GET /organizations | list organizations SwiftShiftApi.OrganizationApi | postOrganization | POST /organizations | creates an organization SwiftShiftApi.OrganizationApi | postOrganizationCaregiver | POST /organizations/{organization_id}/caregivers | Creates a caregiver. SwiftShiftApi.OrganizationApi | putOrganization | PUT /organizations/{organization_id} | SwiftShiftApi.OrganizationApi | putOrganizationCaregiver | PUT /organizations/{organization_id}/caregivers/{caregiver_id} | SwiftShiftApi.PatientApi | deleteOrganizationPatient | DELETE /organizations/{organization_id}/patients/{patient_id} | SwiftShiftApi.PatientApi | deletePatient | DELETE /organizations/{organization_id}/sites/{site_id}/patients/{patient_id} | SwiftShiftApi.PatientApi | getPatient | GET /organizations/{organization_id}/sites/{site_id}/patients/{patient_id} | SwiftShiftApi.PatientApi | listOrganizationPatients | GET /organizations/{organization_id}/patients | List organization patients. SwiftShiftApi.PatientApi | listPatients | GET /patients | List patients. SwiftShiftApi.PatientApi | listSitePatients | GET /organizations/{organization_id}/sites/{site_id}/patients | List site patients. SwiftShiftApi.PatientApi | postPatient | POST /organizations/{organization_id}/sites/{site_id}/patients | Creates a patient. SwiftShiftApi.PatientApi | putPatient | PUT /organizations/{organization_id}/sites/{site_id}/patients/{patient_id} | SwiftShiftApi.ServiceApi | deleteService | DELETE /organizations/{organization_id}/sites/{site_id}/services/{id} | SwiftShiftApi.ServiceApi | getService | GET /organizations/{organization_id}/sites/{site_id}/services/{id} | Gets service by id SwiftShiftApi.ServiceApi | listServices | GET /organizations/{organization_id}/sites/{site_id}/services | Gets list of all services SwiftShiftApi.ServiceApi | postService | POST /organizations/{organization_id}/sites/{site_id}/services | Creates a service SwiftShiftApi.ServiceApi | putService | PUT /organizations/{organization_id}/sites/{site_id}/services/{id} | Updates service by id SwiftShiftApi.ShiftApi | applyToShift | POST /organizations/{organization_id}/sites/{site_id}/shifts/{shift_id}/applications/{caregiver_id} | Apply for shift SwiftShiftApi.ShiftApi | deleteShiftApplication | DELETE /organizations/{organization_id}/sites/{site_id}/shifts/{shift_id}/applications/{caregiver_id} | delete shift application SwiftShiftApi.ShiftApi | getShift | GET /organizations/{organization_id}/sites/{site_id}/shifts/{shift_id} | Get shift details SwiftShiftApi.ShiftApi | listOrganizationShifts | GET /organizations/{organization_id}/shifts | List shifts for an organization SwiftShiftApi.ShiftApi | listShiftApplicationDetails | GET /organizations/{organization_id}/sites/{site_id}/shifts/{shift_id}/applications | List shift applications SwiftShiftApi.ShiftApi | listShiftLogs | GET /organizations/{organization_id}/sites/{site_id}/shifts/{shift_id}/logs | List shift access logs SwiftShiftApi.ShiftApi | listShifts | GET /shifts | List all shifts SwiftShiftApi.ShiftApi | listSiteShifts | GET /organizations/{organization_id}/sites/{site_id}/shifts | List shifts for a site SwiftShiftApi.ShiftApi | organizationShiftDelete | DELETE /organizations/{organization_id}/shifts/{shift_id} | SwiftShiftApi.ShiftApi | postShift | POST /organizations/{organization_id}/sites/{site_id}/shifts | SwiftShiftApi.ShiftApi | putShift | PUT /organizations/{organization_id}/sites/{site_id}/shifts/{shift_id} | SwiftShiftApi.ShiftApi | shiftAssign | POST /organizations/{organization_id}/sites/{site_id}/shifts/{shift_id}/assign | SwiftShiftApi.ShiftApi | shiftCancel | DELETE /organizations/{organization_id}/sites/{site_id}/shifts/{shift_id}/cancel | SwiftShiftApi.ShiftApi | shiftCover | PUT /organizations/{organization_id}/sites/{site_id}/shifts/{shift_id}/cover | SwiftShiftApi.ShiftApi | shiftDelete | DELETE /organizations/{organization_id}/sites/{site_id}/shifts/{shift_id} | SwiftShiftApi.ShiftCaregiverApi | listShiftAvailableCaregivers | GET /organizations/{organization_id}/sites/{site_id}/caregivers/available | Get shift available caregivers SwiftShiftApi.SiteApi | deleteSite | DELETE /organizations/{organization_id}/sites/{site_id} | SwiftShiftApi.SiteApi | deleteSiteCaregiver | DELETE /organizations/{organization_id}/sites/{site_id}/caregivers/{caregiver_id} | SwiftShiftApi.SiteApi | deleteSiteJobrole | DELETE /organizations/{organization_id}/sites/{site_id}/jobroles/{jobrole_id} | SwiftShiftApi.SiteApi | deleteSiteSkill | DELETE /organizations/{organization_id}/sites/{site_id}/skills/{skill_id} | SwiftShiftApi.SiteApi | getSite | GET /organizations/{organization_id}/sites/{site_id} | SwiftShiftApi.SiteApi | getSiteCaregiver | GET /organizations/{organization_id}/sites/{site_id}/caregivers/{caregiver_id} | SwiftShiftApi.SiteApi | getSiteJobrole | GET /organizations/{organization_id}/sites/{site_id}/jobroles/{jobrole_id} | Gets site jobrole SwiftShiftApi.SiteApi | getSiteSettings | GET /organizations/{organization_id}/sites/{site_id}/settings | SwiftShiftApi.SiteApi | getSiteSkill | GET /organizations/{organization_id}/sites/{site_id}/skills/{skill_id} | Gets site skill SwiftShiftApi.SiteApi | getSiteStats | GET /organizations/{organization_id}/sites/{site_id}/statistics/{view_name} | SwiftShiftApi.SiteApi | getSiteUsers | GET /organizations/{organization_id}/sites/{site_id}/users | SwiftShiftApi.SiteApi | listSiteCaregivers | GET /organizations/{organization_id}/sites/{site_id}/caregivers | List site caregivers. SwiftShiftApi.SiteApi | listSiteJobroles | GET /organizations/{organization_id}/sites/{site_id}/jobroles | Gets site jobroles SwiftShiftApi.SiteApi | listSiteSkills | GET /organizations/{organization_id}/sites/{site_id}/skills | Gets site skills SwiftShiftApi.SiteApi | listSites | GET /organizations/{organization_id}/sites | list sites SwiftShiftApi.SiteApi | postSite | POST /organizations/{organization_id}/sites | creates a site SwiftShiftApi.SiteApi | postSiteCaregiver | POST /organizations/{organization_id}/sites/{site_id}/caregivers | Creates a caregiver. SwiftShiftApi.SiteApi | postSiteJobrole | POST /organizations/{organization_id}/sites/{site_id}/jobroles | Creates site jobrole SwiftShiftApi.SiteApi | postSiteSkill | POST /organizations/{organization_id}/sites/{site_id}/skills | Creates site skill SwiftShiftApi.SiteApi | putSite | PUT /organizations/{organization_id}/sites/{site_id} | SwiftShiftApi.SiteApi | putSiteCaregiver | PUT /organizations/{organization_id}/sites/{site_id}/caregivers/{caregiver_id} | SwiftShiftApi.SiteApi | putSiteJobrole | PUT /organizations/{organization_id}/sites/{site_id}/jobroles/{jobrole_id} | Updates site jobrole SwiftShiftApi.SiteApi | putSiteSkill | PUT /organizations/{organization_id}/sites/{site_id}/skills/{skill_id} | Updates site skill SwiftShiftApi.SkillApi | createSkill | POST /skills | Creates a skill SwiftShiftApi.SkillApi | deleteSiteSkill | DELETE /organizations/{organization_id}/sites/{site_id}/skills/{skill_id} | SwiftShiftApi.SkillApi | deleteSkill | DELETE /skills/{id} | SwiftShiftApi.SkillApi | getSiteSkill | GET /organizations/{organization_id}/sites/{site_id}/skills/{skill_id} | Gets site skill SwiftShiftApi.SkillApi | getSkill | GET /skills/{id} | Gets skill by id SwiftShiftApi.SkillApi | listSiteSkills | GET /organizations/{organization_id}/sites/{site_id}/skills | Gets site skills SwiftShiftApi.SkillApi | listSkills | GET /skills | Gets list of all skills SwiftShiftApi.SkillApi | postSiteSkill | POST /organizations/{organization_id}/sites/{site_id}/skills | Creates site skill SwiftShiftApi.SkillApi | putSiteSkill | PUT /organizations/{organization_id}/sites/{site_id}/skills/{skill_id} | Updates site skill SwiftShiftApi.SkillApi | putSkill | PUT /skills/{id} | Updates skill by id SwiftShiftApi.StatisticsApi | getSiteStats | GET /organizations/{organization_id}/sites/{site_id}/statistics/{view_name} | SwiftShiftApi.UserApi | forgotPassword | POST /open/forgot_password | init forgot password flow SwiftShiftApi.UserApi | getSiteUsers | GET /organizations/{organization_id}/sites/{site_id}/users | SwiftShiftApi.UserApi | getUserAccount | GET /users/{user_id}/account | SwiftShiftApi.UserApi | resetPassword | POST /open/reset_password | reset password SwiftShiftApi.UserApi | signUp | POST /open/sign_up | initialize sign up flow SwiftShiftApi.UserApi | signUpComplete | POST /open/sign_up/complete | complete sign up flow SwiftShiftApi.UserApi | verifyCode | POST /open/verify_code | verify code

Documentation for Models

Documentation for Authorization

All endpoints do not require authorization.