@natch-the-storage/heathershaw-platform-types 1.16.0 → 1.16.1
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 +10 -2
- package/build/validators.js +1 -6
- package/package.json +1 -1
package/build/validators.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ export declare const orderFulfillmentValues: readonly ["PICKUP", "POST", "COURIE
|
|
|
4
4
|
export declare const orderStatusValues: readonly ["TO_REVIEW", "AWAITING_PICKUP", "POSTED", "IN_TRANSIT", "DELIVERED", "COLLECTED", "CANCELLED"];
|
|
5
5
|
export declare const patientRecordSubAccountRelationshipValues: readonly ["Child", "Spouse", "Parent", "Pet", "Other"];
|
|
6
6
|
export declare const paperScriptReminderStatusValues: readonly ["PENDING", "RECEIVED", "ESCALATED"];
|
|
7
|
-
export declare const quoteStatusValues: readonly ["PENDING", "
|
|
7
|
+
export declare const quoteStatusValues: readonly ["PENDING", "RESOLVED", "DECLINED"];
|
|
8
8
|
export declare const paymentModeAtOrderValues: readonly ["ONLINE", "INVOICE", "POS"];
|
|
9
9
|
export declare const partnerPharmacyPaymentModeValues: readonly ["INVOICE", "POS"];
|
|
10
10
|
export declare const paymentStatusValues: readonly ["UNPAID", "AWAITING_PAYMENT", "PENDING_INVOICE", "PAID"];
|
|
@@ -118,12 +118,20 @@ export interface Sms {
|
|
|
118
118
|
to: string;
|
|
119
119
|
}
|
|
120
120
|
export interface PaymentLinkCreate {
|
|
121
|
+
id: number;
|
|
121
122
|
partnerPharmacyProfileId?: number;
|
|
122
123
|
patientRecordId?: number;
|
|
123
124
|
directUserProfileId?: number;
|
|
124
125
|
phoneNumber?: string;
|
|
125
126
|
email?: string;
|
|
126
127
|
}
|
|
128
|
+
export interface PaymentLinkProcess {
|
|
129
|
+
token: string;
|
|
130
|
+
update: {
|
|
131
|
+
orderUpdate: Omit<OrderUpdate, 'id'>;
|
|
132
|
+
patientRecordUpdate: Omit<PatientRecordUpdate, 'id'>;
|
|
133
|
+
};
|
|
134
|
+
}
|
|
127
135
|
interface DashboardData {
|
|
128
136
|
label: string;
|
|
129
137
|
count: number;
|
|
@@ -131,7 +139,7 @@ interface DashboardData {
|
|
|
131
139
|
export interface AdminDashboardData {
|
|
132
140
|
pendingOrders: DashboardData;
|
|
133
141
|
ordersRequiringCounselling: DashboardData;
|
|
134
|
-
|
|
142
|
+
unpaidDrafts: DashboardData;
|
|
135
143
|
pendingQuotes: DashboardData;
|
|
136
144
|
unprocessedScripts: DashboardData;
|
|
137
145
|
unprocessedPaperScripts: DashboardData;
|
package/build/validators.js
CHANGED
|
@@ -33,12 +33,7 @@ export const paperScriptReminderStatusValues = [
|
|
|
33
33
|
'RECEIVED',
|
|
34
34
|
'ESCALATED',
|
|
35
35
|
];
|
|
36
|
-
export const quoteStatusValues = [
|
|
37
|
-
'PENDING',
|
|
38
|
-
'PROCESSING',
|
|
39
|
-
'RESOLVED',
|
|
40
|
-
'DECLINED',
|
|
41
|
-
];
|
|
36
|
+
export const quoteStatusValues = ['PENDING', 'RESOLVED', 'DECLINED'];
|
|
42
37
|
export const paymentModeAtOrderValues = ['ONLINE', 'INVOICE', 'POS'];
|
|
43
38
|
export const partnerPharmacyPaymentModeValues = ['INVOICE', 'POS'];
|
|
44
39
|
export const paymentStatusValues = [
|