@natch-the-storage/heathershaw-platform-types 1.15.2 → 1.15.4
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 +4 -9
- package/build/validators.js +1 -1
- package/package.json +1 -1
package/build/validators.d.ts
CHANGED
|
@@ -239,8 +239,10 @@ export interface PartnerPharmacyProfile {
|
|
|
239
239
|
remindersEnabled?: boolean;
|
|
240
240
|
addresses: Address[];
|
|
241
241
|
xeroContactId?: string | null;
|
|
242
|
+
email: string;
|
|
243
|
+
phoneNumber: string;
|
|
242
244
|
}
|
|
243
|
-
export type PartnerPharmacyProfileCreate = Omit<PartnerPharmacyProfile, 'id' | 'priceMatches' | 'orders'>;
|
|
245
|
+
export type PartnerPharmacyProfileCreate = Omit<PartnerPharmacyProfile, 'id' | 'priceMatches' | 'orders' | 'phoneNumber' | 'email'>;
|
|
244
246
|
export type PartnerPharmacyProfileUpdate = Partial<PartnerPharmacyProfile> & {
|
|
245
247
|
id: number;
|
|
246
248
|
};
|
|
@@ -297,13 +299,6 @@ export type PatientRecordCreate = Omit<PatientRecord, 'id'>;
|
|
|
297
299
|
export type PatientRecordUpdate = Partial<PatientRecord> & {
|
|
298
300
|
id: number;
|
|
299
301
|
};
|
|
300
|
-
export type PatientRecordOnboard = {
|
|
301
|
-
firstName: string;
|
|
302
|
-
lastName: string;
|
|
303
|
-
dateOfBirth: string;
|
|
304
|
-
phoneNumber: string;
|
|
305
|
-
addresses: Address[];
|
|
306
|
-
};
|
|
307
302
|
export interface PriceMatch {
|
|
308
303
|
id: number;
|
|
309
304
|
partnerPharmacyProfileId: number;
|
|
@@ -842,7 +837,7 @@ export declare const ApiRoutes: {
|
|
|
842
837
|
};
|
|
843
838
|
compoundDirect: {
|
|
844
839
|
searchCustomers: string;
|
|
845
|
-
getCustomer: string;
|
|
840
|
+
getCustomer: (id: number) => string;
|
|
846
841
|
createCustomer: string;
|
|
847
842
|
updateCustomer: string;
|
|
848
843
|
getDraftScripts: string;
|
package/build/validators.js
CHANGED
|
@@ -229,7 +229,7 @@ export const ApiRoutes = {
|
|
|
229
229
|
},
|
|
230
230
|
compoundDirect: {
|
|
231
231
|
searchCustomers: '/api/compound-direct/customers',
|
|
232
|
-
getCustomer:
|
|
232
|
+
getCustomer: (id) => `/api/compound-direct/customers/${id}`,
|
|
233
233
|
createCustomer: '/api/compound-direct/new-customers',
|
|
234
234
|
updateCustomer: '/api/compound-direct/customers',
|
|
235
235
|
getDraftScripts: '/api/compound-direct/draft-scripts',
|