@natch-the-storage/heathershaw-platform-types 1.23.9 → 1.23.11
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 +3 -1
- package/build/validators.js +6 -1
- package/package.json +1 -1
package/build/validators.d.ts
CHANGED
|
@@ -19,7 +19,7 @@ export declare const scriptTypeValues: readonly ["ERX", "PAPER", "OTC"];
|
|
|
19
19
|
export declare const shippingTypeValues: readonly ["STANDARD", "COLD_CHAIN", "SAME_DAY_COURIER"];
|
|
20
20
|
export declare const staffProfileRoleValues: readonly ["STAFF", "ADMIN", "COUNSELLING", "SALES_REP", "ALT_THERAPIES", "COMPOUNDING"];
|
|
21
21
|
export declare const staffProfileStatusValues: readonly ["ACTIVE", "SUSPENDED"];
|
|
22
|
-
export declare const userRoleValues:
|
|
22
|
+
export declare const userRoleValues: readonly ["admin", "partner", "user", "internalPartner"];
|
|
23
23
|
export type AuStates = (typeof auStatesValues)[number];
|
|
24
24
|
export type CDProductCategoryId = (typeof cDProductCategoryIdValues)[number];
|
|
25
25
|
export type CDProductCategoryLabel = (typeof cDProductCategoryLabelValues)[number];
|
|
@@ -603,10 +603,12 @@ export type AdminScript = Script & {
|
|
|
603
603
|
};
|
|
604
604
|
export type EScriptCreate = Pick<Script, 'patientRecordId' | 'partnerPharmacyProfileId'> & {
|
|
605
605
|
token: string;
|
|
606
|
+
processed?: boolean;
|
|
606
607
|
};
|
|
607
608
|
export type PaperScriptCreate = Pick<Script, 'patientRecordId' | 'partnerPharmacyProfileId'> & {
|
|
608
609
|
fileKey: string;
|
|
609
610
|
fileName: string;
|
|
611
|
+
processed?: boolean;
|
|
610
612
|
};
|
|
611
613
|
export interface getScriptsQuery {
|
|
612
614
|
patientRecordId?: number;
|
package/build/validators.js
CHANGED
|
@@ -110,7 +110,12 @@ export const staffProfileRoleValues = [
|
|
|
110
110
|
'COMPOUNDING',
|
|
111
111
|
];
|
|
112
112
|
export const staffProfileStatusValues = ['ACTIVE', 'SUSPENDED'];
|
|
113
|
-
export const userRoleValues = [
|
|
113
|
+
export const userRoleValues = [
|
|
114
|
+
'admin',
|
|
115
|
+
'partner',
|
|
116
|
+
'user',
|
|
117
|
+
'internalPartner',
|
|
118
|
+
];
|
|
114
119
|
//#endregion ──────────────────────────────────────────────────────────────────────
|
|
115
120
|
//#region Constants ──────────────────────────────────────────────────────────────────
|
|
116
121
|
export const CHILD_AGE = 16;
|