@natch-the-storage/heathershaw-platform-types 1.18.22 → 1.19.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 +2 -1
- package/build/validators.js +1 -0
- package/package.json +1 -1
package/build/validators.d.ts
CHANGED
|
@@ -207,7 +207,7 @@ export interface PaymentLinkCreate {
|
|
|
207
207
|
export interface PaymentLinkProcess {
|
|
208
208
|
token: string;
|
|
209
209
|
update: {
|
|
210
|
-
orderUpdate: Omit<OrderUpdate, 'id'>;
|
|
210
|
+
orderUpdate: Omit<OrderUpdate, 'id' | 'directUserProfileId' | 'partnerPharmacyProfileId' | 'patientRecordId'>;
|
|
211
211
|
patientRecordUpdate: Omit<PatientRecordUpdate, 'id'>;
|
|
212
212
|
};
|
|
213
213
|
}
|
|
@@ -1033,6 +1033,7 @@ export declare const ApiRoutes: {
|
|
|
1033
1033
|
createPaymentLinkToken: string;
|
|
1034
1034
|
getByPaymentLinkToken: (token: string) => string;
|
|
1035
1035
|
updateByPaymentLinkToken: (token: string) => string;
|
|
1036
|
+
chargeOrder: (token: string) => string;
|
|
1036
1037
|
};
|
|
1037
1038
|
paperScriptReminders: {
|
|
1038
1039
|
list: string;
|
package/build/validators.js
CHANGED
|
@@ -457,6 +457,7 @@ export const ApiRoutes = {
|
|
|
457
457
|
createPaymentLinkToken: '/api/orders/payment-links',
|
|
458
458
|
getByPaymentLinkToken: (token) => `/api/orders/payment-links/${token}`,
|
|
459
459
|
updateByPaymentLinkToken: (token) => `/api/orders/payment-links/${token}`,
|
|
460
|
+
chargeOrder: (token) => `/orders/payment-links/${token}/charge`,
|
|
460
461
|
},
|
|
461
462
|
paperScriptReminders: {
|
|
462
463
|
list: '/api/paper-script-reminders',
|