Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including @bullhorn/bullhorn-types with all npm packages installed. Try it out:

var bullhornTypes = require("@bullhorn/bullhorn-types")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

@bullhorn/bullhorn-types v1.10.0

Entity Utils and Typescript Interfaces for the Bullhorn REST Api

Bullhorn-Types

Build Status npm version semantic-release

Entity Utils and Typescript Interfaces for the Bullhorn REST Api

Setup

npm install @bullhorn/bullhorn-types

Usage

import { EntityTypes, Candidate } from "@bullhorn/bullhorn-types";

console.log(EntityTypes.Candidate === "Candidate"); // outputs: true

let person: Candidate = {
  firstName: "John",
  lastName: "smith"
};

Build & Deploy

# Clone this repo
git clone git@github.com:bullhorn/bullhorn-types.git
cd bullhorn-types
# Install the Bullhorn CLI tool
npm install -g @bullhorn/bullhorn-cli
# Login into the Bullhorn Environment
bullhorn config set environment YOUR_API_ENDPOINT
# Login into the Bullhorn Environment
bullhorn auth login
# Generate the typings file
bullhorn typings generate

Travis will build a deploy to NPM when you push to master with appropriate Semantice Release messages.

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free