@bullhorn/bullhorn-types
TypeScript icon, indicating that this package has built-in type declarations

1.115.1 • Public • Published

Bullhorn-Types

Build Status npm version semantic-release

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 from Meta using the Bullhorn CLI

# Clone this repo
git clone git@github.com:bullhorn/bullhorn-types.git
cd bullhorn-types
npm install

# create directory where tool will generate file
mkdir typings 

# Login into the Bullhorn Environment
npx bullhorn config set environment http://<qabox>-backend.bh-bos2.bullhorn.com:8182
npx bullhorn auth login

# Generate the typings file
npx bullhorn typings generate

Deploy

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

Readme

Keywords

none

Package Sidebar

Install

npm i @bullhorn/bullhorn-types

Weekly Downloads

393

Version

1.115.1

License

MIT

Unpacked Size

599 kB

Total Files

5

Last publish

Collaborators

  • arajiv
  • bullhorn-dev
  • akurtovic
  • tgadre
  • hiqbal01
  • robslabarbera
  • trent-storch-bullhorn
  • adrian.ossi
  • dvoegelin