@natch-the-storage/heathershaw-platform-types 1.15.0 → 1.15.2
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 +5 -2
- package/build/validators.js +1 -0
- package/package.json +1 -1
package/build/validators.d.ts
CHANGED
|
@@ -688,9 +688,11 @@ export interface CDCustomerCreate {
|
|
|
688
688
|
animalOwnerName?: string;
|
|
689
689
|
}
|
|
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
|
+
id: number;
|
|
695
|
+
};
|
|
694
696
|
export interface CDCustomerSearch {
|
|
695
697
|
query: string;
|
|
696
698
|
dobStartDate: string;
|
|
@@ -840,6 +842,7 @@ export declare const ApiRoutes: {
|
|
|
840
842
|
};
|
|
841
843
|
compoundDirect: {
|
|
842
844
|
searchCustomers: string;
|
|
845
|
+
getCustomer: string;
|
|
843
846
|
createCustomer: string;
|
|
844
847
|
updateCustomer: string;
|
|
845
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: '/api/compound-direct/customers',
|
|
232
233
|
createCustomer: '/api/compound-direct/new-customers',
|
|
233
234
|
updateCustomer: '/api/compound-direct/customers',
|
|
234
235
|
getDraftScripts: '/api/compound-direct/draft-scripts',
|