@natch-the-storage/heathershaw-platform-types 1.18.17 → 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 +7 -0
- package/build/validators.js +2 -0
- 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,6 +1011,7 @@ 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
|
};
|
|
@@ -1013,6 +1019,7 @@ export declare const ApiRoutes: {
|
|
|
1013
1019
|
createPaymentLink: string;
|
|
1014
1020
|
quoteReadyNotification: string;
|
|
1015
1021
|
contactFormNotification: string;
|
|
1022
|
+
portalInvite: string;
|
|
1016
1023
|
};
|
|
1017
1024
|
orders: {
|
|
1018
1025
|
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)}`,
|