@natch-the-storage/heathershaw-platform-types 1.23.0 → 1.23.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 +2 -0
- package/build/validators.js +1 -0
- package/package.json +1 -1
package/build/validators.d.ts
CHANGED
|
@@ -442,6 +442,7 @@ export interface PartnerPharmacyProfile {
|
|
|
442
442
|
}
|
|
443
443
|
export type PartnerPharmacyProfileCreate = Omit<PartnerPharmacyProfile, 'id' | 'priceMatches' | 'orders' | 'phoneNumber' | 'email' | 'internal'> & {
|
|
444
444
|
internal?: boolean;
|
|
445
|
+
phoneNumber?: string;
|
|
445
446
|
};
|
|
446
447
|
export type PartnerPharmacyProfileUpdate = Partial<PartnerPharmacyProfile> & {
|
|
447
448
|
id: number;
|
|
@@ -1336,6 +1337,7 @@ export declare const ApiRoutes: {
|
|
|
1336
1337
|
};
|
|
1337
1338
|
patientRecords: {
|
|
1338
1339
|
list: (id?: number, type?: "partner" | "direct") => string;
|
|
1340
|
+
listAll: string;
|
|
1339
1341
|
get: (id: number) => string;
|
|
1340
1342
|
getByUser: (userId: string) => string;
|
|
1341
1343
|
create: string;
|
package/build/validators.js
CHANGED
|
@@ -533,6 +533,7 @@ export const ApiRoutes = {
|
|
|
533
533
|
},
|
|
534
534
|
patientRecords: {
|
|
535
535
|
list: (id, type) => '/api/patient-records' + `${type ? '?' + type + '=' + id : ''}`,
|
|
536
|
+
listAll: '/api/patient-records/all',
|
|
536
537
|
get: (id) => `/api/patient-records/${id}`,
|
|
537
538
|
getByUser: (userId) => `/api/patient-records/users/${userId}`,
|
|
538
539
|
create: '/api/patient-records',
|