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