@onfleet/node-onfleet
Advanced tools
Comparing version 1.2.4 to 1.2.5
@@ -12,2 +12,6 @@ const Resource = require('../Resource'); | ||
this.endpoints({ | ||
create: { | ||
path: '/hubs', | ||
method: 'POST', | ||
}, | ||
get: { | ||
@@ -17,2 +21,6 @@ path: '/hubs', | ||
}, | ||
update: { | ||
path: '/hubs/:hubId', | ||
method: 'PUT', | ||
}, | ||
}); | ||
@@ -19,0 +27,0 @@ } |
{ | ||
"name": "@onfleet/node-onfleet", | ||
"version": "1.2.4", | ||
"version": "1.2.5", | ||
"description": "Official client library for accessing the Onfleet API", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -105,3 +105,3 @@ # Onfleet Node.js Wrapper | ||
| [Destinations](https://docs.onfleet.com/reference#destinations) | get(id) | create(obj), matchMetadata(obj) | x | x | | ||
| [Hubs](https://docs.onfleet.com/reference#hubs) | get() | x | x | x | | ||
| [Hubs](https://docs.onfleet.com/reference#hubs) | get() | create(obj) | update(id, obj) | x | | ||
| [Organization](https://docs.onfleet.com/reference#organizations) | get(), get(id) | x | insertTask(id, obj) | x | | ||
@@ -108,0 +108,0 @@ | [Recipients](https://docs.onfleet.com/reference#recipients) | get(id), get(name, 'name'), get(phone, 'phone') | create(obj), matchMetadata(obj) | update(id, obj) | x | |
@@ -116,3 +116,3 @@ # Onfleet Node.js Wrapper | ||
| [Destinations](https://docs.onfleet.com/reference#destinations) | get(id) | create(obj), matchMetadata(obj) | x | x | | ||
| [Hubs](https://docs.onfleet.com/reference#hubs) | get() | x | x | x | | ||
| [Hubs](https://docs.onfleet.com/reference#hubs) | get() | create(obj) | update(id, obj) | x | | ||
| [Organization](https://docs.onfleet.com/reference#organizations) | get(), get(id) | x | insertTask(id, obj) | x | | ||
@@ -119,0 +119,0 @@ | [Recipients](https://docs.onfleet.com/reference#recipients) | get(id), get(name, 'name'), get(phone, 'phone') | create(obj), matchMetadata(obj) | update(id, obj) | x | |
@@ -108,3 +108,3 @@ # Onfleet Node.js Wrapper | ||
| [Destinations](https://docs.onfleet.com/reference#destinations) | get(id) | create(obj), matchMetadata(obj) | x | x | | ||
| [Hubs](https://docs.onfleet.com/reference#hubs) | get() | x | x | x | | ||
| [Hubs](https://docs.onfleet.com/reference#hubs) | get() | create(obj) | update(id, obj) | x | | ||
| [Organization](https://docs.onfleet.com/reference#organizations) | get(), get(id) | x | insertTask(id, obj) | x | | ||
@@ -111,0 +111,0 @@ | [Recipients](https://docs.onfleet.com/reference#recipients) | get(id), get(name, 'name'), get(phone, 'phone') | create(obj), matchMetadata(obj) | update(id, obj) | x | |
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
75842
1084