dispatch-node-sdk
Advanced tools
Comparing version 2.3.0 to 2.4.0
@@ -13,2 +13,6 @@ 'use strict'; | ||
UNABLE_TO_ADD_TECH: 'add_tech_error', // 'Unable to add tech' | ||
APPOINTMENT_SCHEDULED: 'appointment_scheduled', // Appointment scheduled | ||
APPOINTMENT_ENROUTE: 'appointment_enroute', // en route to appointment | ||
APPOINTMENT_STARTED: 'appointment_started', // Appointment started | ||
APPOINTMENT_CANCELED: 'appointment_canceled', // Appointment started | ||
@@ -15,0 +19,0 @@ // Jobs |
@@ -23,2 +23,6 @@ 'use strict'; | ||
var _appointment = require('./entities/appointment'); | ||
var _appointment2 = _interopRequireDefault(_appointment); | ||
var _attachment = require('./entities/attachment'); | ||
@@ -132,2 +136,3 @@ | ||
accounts: new _Collection2.default(this, endpoints.ACCOUNTS), | ||
appointment: (0, _appointment2.default)(this), | ||
appointments: new _Collection2.default(this, endpoints.APPOINTMENTS), | ||
@@ -134,0 +139,0 @@ attachment: (0, _attachment2.default)(this), |
@@ -8,2 +8,6 @@ const Analytics = { | ||
UNABLE_TO_ADD_TECH: 'add_tech_error', // 'Unable to add tech' | ||
APPOINTMENT_SCHEDULED: 'appointment_scheduled', // Appointment scheduled | ||
APPOINTMENT_ENROUTE: 'appointment_enroute', // en route to appointment | ||
APPOINTMENT_STARTED: 'appointment_started', // Appointment started | ||
APPOINTMENT_CANCELED: 'appointment_canceled', // Appointment started | ||
@@ -10,0 +14,0 @@ // Jobs |
import * as endpoints from './endpoints'; | ||
import * as queryString from './queryString'; | ||
import _ from 'underscore'; | ||
import appointmentMethods from './entities/appointment'; | ||
import attachmentMethods from './entities/attachment'; | ||
@@ -52,2 +53,3 @@ import Collection from './entities/Collection'; | ||
accounts: new Collection(this, endpoints.ACCOUNTS), | ||
appointment: appointmentMethods(this), | ||
appointments: new Collection(this, endpoints.APPOINTMENTS), | ||
@@ -54,0 +56,0 @@ attachment: attachmentMethods(this), |
{ | ||
"name": "dispatch-node-sdk", | ||
"version": "2.3.0", | ||
"version": "2.4.0", | ||
"description": "High- and low-level libraries for interacting with the Dispatch API", | ||
@@ -5,0 +5,0 @@ "main": "dist/lib/index.js", |
@@ -283,1 +283,13 @@ Dispatch JavaScript SDK | ||
``` | ||
## Publishing | ||
Once you have commited all your changes and pushed to your respective branch, the steps to publishing to NPM are as follows: | ||
1. Update the package version in `package.json` | ||
2. Run `npm publish` | ||
3. Commit your changes with a comment describing the updated version eg. "Bumped version to 1.2.3" | ||
4. Tag the release with the respective version, eg. | ||
* `git tag 1.2.3` | ||
* `git push origin --tags` | ||
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
261434
83
6543
295