@natch-the-storage/heathershaw-platform-types 1.15.1 → 1.15.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/validators.d.ts +2 -1
- package/build/validators.js +1 -0
- package/package.json +1 -1
package/build/validators.d.ts
CHANGED
|
@@ -690,7 +690,7 @@ export interface CDCustomerCreate {
|
|
|
690
690
|
/**
|
|
691
691
|
* Fields that can be updated on the portal for a CDCustomer
|
|
692
692
|
*/
|
|
693
|
-
export type CDCustomerUpdate =
|
|
693
|
+
export type CDCustomerUpdate = Omit<CDCustomerCreate, 'animalSpecies' | 'animalOwnerName'> & {
|
|
694
694
|
id: number;
|
|
695
695
|
};
|
|
696
696
|
export interface CDCustomerSearch {
|
|
@@ -842,6 +842,7 @@ export declare const ApiRoutes: {
|
|
|
842
842
|
};
|
|
843
843
|
compoundDirect: {
|
|
844
844
|
searchCustomers: string;
|
|
845
|
+
getCustomer: (id: number) => string;
|
|
845
846
|
createCustomer: string;
|
|
846
847
|
updateCustomer: string;
|
|
847
848
|
getDraftScripts: string;
|
package/build/validators.js
CHANGED
|
@@ -229,6 +229,7 @@ export const ApiRoutes = {
|
|
|
229
229
|
},
|
|
230
230
|
compoundDirect: {
|
|
231
231
|
searchCustomers: '/api/compound-direct/customers',
|
|
232
|
+
getCustomer: (id) => `/api/compound-direct/customers/${id}`,
|
|
232
233
|
createCustomer: '/api/compound-direct/new-customers',
|
|
233
234
|
updateCustomer: '/api/compound-direct/customers',
|
|
234
235
|
getDraftScripts: '/api/compound-direct/draft-scripts',
|