Comparing version 0.6.1 to 0.6.2
@@ -73,2 +73,3 @@ import { APIGroup, LinkedObject } from "./common"; | ||
search(params: CustomerSearchRequest): Promise<Array<Customer>>; | ||
find(id: number): Promise<Customer>; | ||
/** | ||
@@ -75,0 +76,0 @@ * Create a new customer |
@@ -30,2 +30,7 @@ "use strict"; | ||
} | ||
find(id) { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
return (yield this.axios.get(`/sales/customers/${id}`)).data; | ||
}); | ||
} | ||
/** | ||
@@ -32,0 +37,0 @@ * Create a new customer |
{ | ||
"name": "tigerbay", | ||
"version": "0.6.1", | ||
"version": "0.6.2", | ||
"description": "API Client library for TigerBay", | ||
@@ -5,0 +5,0 @@ "main": "lib/client.js", |
Sorry, the diff of this file is not supported yet
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
76139
1863