@natch-the-storage/heathershaw-platform-types 1.22.11 → 1.23.0
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 +8 -2
- package/build/validators.js +0 -1
- package/package.json +1 -1
package/build/validators.d.ts
CHANGED
|
@@ -438,8 +438,11 @@ export interface PartnerPharmacyProfile {
|
|
|
438
438
|
bsb?: string;
|
|
439
439
|
email: string;
|
|
440
440
|
phoneNumber: string;
|
|
441
|
+
internal: boolean;
|
|
441
442
|
}
|
|
442
|
-
export type PartnerPharmacyProfileCreate = Omit<PartnerPharmacyProfile, 'id' | 'priceMatches' | 'orders' | 'phoneNumber' | 'email'
|
|
443
|
+
export type PartnerPharmacyProfileCreate = Omit<PartnerPharmacyProfile, 'id' | 'priceMatches' | 'orders' | 'phoneNumber' | 'email' | 'internal'> & {
|
|
444
|
+
internal?: boolean;
|
|
445
|
+
};
|
|
443
446
|
export type PartnerPharmacyProfileUpdate = Partial<PartnerPharmacyProfile> & {
|
|
444
447
|
id: number;
|
|
445
448
|
};
|
|
@@ -545,6 +548,9 @@ export interface Quote {
|
|
|
545
548
|
fileKey?: string;
|
|
546
549
|
formulationId?: number;
|
|
547
550
|
pricingId?: number;
|
|
551
|
+
patientName?: string;
|
|
552
|
+
patientPhoneNumber?: string;
|
|
553
|
+
patientEmail?: string;
|
|
548
554
|
created: string;
|
|
549
555
|
resolved: string;
|
|
550
556
|
}
|
|
@@ -951,6 +957,7 @@ export interface CDSearchScript {
|
|
|
951
957
|
/** ISO date - yyyy-mm-dd */
|
|
952
958
|
datePrescribed?: string;
|
|
953
959
|
formulationId?: number;
|
|
960
|
+
customer?: CDCustomer;
|
|
954
961
|
supplyNumber?: number;
|
|
955
962
|
totalQuantityPrescribed?: number;
|
|
956
963
|
totalQuantityRemaining?: number;
|
|
@@ -1256,7 +1263,6 @@ export declare const ApiRoutes: {
|
|
|
1256
1263
|
updateCustomer: string;
|
|
1257
1264
|
getCustomerScriptById: (id: number, dispensed: boolean) => string;
|
|
1258
1265
|
getCustomerScripts: string;
|
|
1259
|
-
getCustomerDetailedScripts: string;
|
|
1260
1266
|
getHouseholdScripts: string;
|
|
1261
1267
|
searchDispensedScripts: string;
|
|
1262
1268
|
getDispensedScriptById: (id: number) => string;
|
package/build/validators.js
CHANGED
|
@@ -465,7 +465,6 @@ export const ApiRoutes = {
|
|
|
465
465
|
updateCustomer: '/api/compound-direct/customers',
|
|
466
466
|
getCustomerScriptById: (id, dispensed) => `/api/compound-direct/customer-scripts${handleParams({ id, dispensed })}`,
|
|
467
467
|
getCustomerScripts: '/api/compound-direct/customer-scripts',
|
|
468
|
-
getCustomerDetailedScripts: '/api/compound-direct/customer-scripts/detailed',
|
|
469
468
|
getHouseholdScripts: '/api/compound-direct/customer-scripts/households',
|
|
470
469
|
searchDispensedScripts: '/api/compound-direct/dispensed-scripts',
|
|
471
470
|
getDispensedScriptById: (id) => `/api/compound-direct/script/${id}`,
|