@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.
@@ -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 = Partial<CDCustomerCreate> & {
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;
@@ -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',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@natch-the-storage/heathershaw-platform-types",
3
- "version": "1.15.1",
3
+ "version": "1.15.3",
4
4
  "description": "Interfaces and routes to use on the client",
5
5
  "license": "ISC",
6
6
  "author": "Natch Surana",