@natch-the-storage/heathershaw-platform-types 1.18.16 → 1.18.18
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 -3
- package/build/validators.js +3 -3
- package/package.json +1 -1
package/build/validators.d.ts
CHANGED
|
@@ -211,6 +211,10 @@ export interface PaymentLinkProcess {
|
|
|
211
211
|
patientRecordUpdate: Omit<PatientRecordUpdate, 'id'>;
|
|
212
212
|
};
|
|
213
213
|
}
|
|
214
|
+
export interface PortalInviteProps {
|
|
215
|
+
partnerPharmacyProfileId: number;
|
|
216
|
+
directUserProfileId: number;
|
|
217
|
+
}
|
|
214
218
|
interface DashboardData {
|
|
215
219
|
label: string;
|
|
216
220
|
count: number;
|
|
@@ -841,6 +845,7 @@ export interface CDFormulation {
|
|
|
841
845
|
pricing: CDScriptPriceOption[];
|
|
842
846
|
properties: CDScriptProperties[];
|
|
843
847
|
}
|
|
848
|
+
/** The smaller interface used from ListFormulations */
|
|
844
849
|
export interface CDFormulationList {
|
|
845
850
|
formulationId: number;
|
|
846
851
|
name: string;
|
|
@@ -1006,15 +1011,15 @@ export declare const ApiRoutes: {
|
|
|
1006
1011
|
getByUser: (userId: string) => string;
|
|
1007
1012
|
create: string;
|
|
1008
1013
|
onboard: (userId: string) => string;
|
|
1014
|
+
invite: (userId: string) => string;
|
|
1009
1015
|
update: string;
|
|
1010
1016
|
delete: (id: number) => string;
|
|
1011
1017
|
};
|
|
1012
|
-
email: {
|
|
1013
|
-
contactFormInternal: string;
|
|
1014
|
-
};
|
|
1015
1018
|
notifications: {
|
|
1016
1019
|
createPaymentLink: string;
|
|
1017
1020
|
quoteReadyNotification: string;
|
|
1021
|
+
contactFormNotification: string;
|
|
1022
|
+
portalInvite: string;
|
|
1018
1023
|
};
|
|
1019
1024
|
orders: {
|
|
1020
1025
|
list: (filters?: ListParams & {
|
package/build/validators.js
CHANGED
|
@@ -437,15 +437,15 @@ export const ApiRoutes = {
|
|
|
437
437
|
getByUser: (userId) => `/api/profiles/direct-users/users/${userId}`,
|
|
438
438
|
create: '/api/profiles/direct-users',
|
|
439
439
|
onboard: (userId) => `/api/profiles/direct-users/${userId}`,
|
|
440
|
+
invite: (userId) => `/api/profiles/direct-users/invites/${userId}`,
|
|
440
441
|
update: '/api/profiles/direct-users',
|
|
441
442
|
delete: (id) => `/api/profiles/direct-users/${id}`,
|
|
442
443
|
},
|
|
443
|
-
email: {
|
|
444
|
-
contactFormInternal: '/api/emails/contact-requests',
|
|
445
|
-
},
|
|
446
444
|
notifications: {
|
|
447
445
|
createPaymentLink: '/api/notifications/payment-links',
|
|
448
446
|
quoteReadyNotification: '/api/notifications/quotes',
|
|
447
|
+
contactFormNotification: '/api/notifications/contact-requests',
|
|
448
|
+
portalInvite: '/api/notifications/portal-invites',
|
|
449
449
|
},
|
|
450
450
|
orders: {
|
|
451
451
|
list: (filters) => `/api/orders${handleParams(filters)}`,
|