@onfleet/node-onfleet
Advanced tools
Comparing version 1.3.5 to 1.3.6
@@ -9,3 +9,3 @@ # Changelog | ||
## [1.3.5] - 2024-08-09 | ||
## [1.3.6] - 2024-08-23 | ||
### Added | ||
@@ -132,3 +132,3 @@ - Added Custom field support for node API wrapper | ||
[Unreleased]: https://github.com/onfleet/node-onfleet/compare/v1.3.0...HEAD | ||
[1.3.5]: https://github.com/onfleet/node-onfleet/compare/v1.3.4...v1.3.5 | ||
[1.3.6]: https://github.com/onfleet/node-onfleet/compare/v1.3.4...v1.3.6 | ||
[1.3.4]: https://github.com/onfleet/node-onfleet/compare/v1.3.3...v1.3.4 | ||
@@ -135,0 +135,0 @@ [1.3.3]: https://github.com/onfleet/node-onfleet/compare/v1.3.2...v1.3.3 |
@@ -14,2 +14,3 @@ const Resource = require('../Resource'); | ||
path: '/customFields', | ||
altPath: '/customFields', | ||
method: 'POST', | ||
@@ -19,7 +20,9 @@ }, | ||
path: '/customFields/:modelName', | ||
altPath: '/customFields/task', | ||
altPath: '/customFields/Task', | ||
method: 'GET', | ||
queryParams: true, | ||
}, | ||
update: { | ||
path: '/customFields', | ||
altPath: '/customFields', | ||
method: 'PUT', | ||
@@ -29,2 +32,3 @@ }, | ||
path: '/customFields', | ||
altPath: '/customFields', | ||
method: 'DELETE', | ||
@@ -31,0 +35,0 @@ }, |
{ | ||
"name": "@onfleet/node-onfleet", | ||
"version": "1.3.5", | ||
"version": "1.3.6", | ||
"description": "Onfleet's Node.js API Wrapper Package", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -76,3 +76,4 @@ /* eslint-disable no-unused-vars */ | ||
"value": "order 123" | ||
}] | ||
}], | ||
integration: "shopify" | ||
} | ||
@@ -315,3 +316,3 @@ | ||
it('Get custom fields', () => { | ||
return onfleet.customfields.get() | ||
return onfleet.customfields.get({ integration: "shopify" }) | ||
.then((res) => { | ||
@@ -318,0 +319,0 @@ expect(typeof res).to.equal('object'); |
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
106975
1388