@natch-the-storage/heathershaw-platform-types 1.23.1 → 1.23.3
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 +6 -0
- package/build/validators.js +2 -0
- package/package.json +1 -1
package/build/validators.d.ts
CHANGED
|
@@ -1148,6 +1148,10 @@ export interface CDCompound {
|
|
|
1148
1148
|
dosageFormId: number;
|
|
1149
1149
|
dosageFormName: string;
|
|
1150
1150
|
}
|
|
1151
|
+
export interface CDBulkCreatePricesResultList {
|
|
1152
|
+
successfulInsertsRequired: CDPriceOptionUpdate[];
|
|
1153
|
+
invalidFormulationPrices: Omit<CDPriceOptionUpdate, 'formulationPriceId'>[];
|
|
1154
|
+
}
|
|
1151
1155
|
export interface CDBulkUpdateResultList {
|
|
1152
1156
|
invalidFormulationPrices: CDPriceOptionUpdate[];
|
|
1153
1157
|
successfulUpdates: CDPriceOptionUpdate[];
|
|
@@ -1271,6 +1275,7 @@ export declare const ApiRoutes: {
|
|
|
1271
1275
|
getFormulationById: (id: number) => string;
|
|
1272
1276
|
getProductById: (formulationId: number, pricingId: number) => string;
|
|
1273
1277
|
listProductPrices: ({ limit, page, nextToken, query }: GetAll) => string;
|
|
1278
|
+
createProductPriceOptions: string;
|
|
1274
1279
|
updateProductPriceOptions: string;
|
|
1275
1280
|
};
|
|
1276
1281
|
directUserProfiles: {
|
|
@@ -1337,6 +1342,7 @@ export declare const ApiRoutes: {
|
|
|
1337
1342
|
};
|
|
1338
1343
|
patientRecords: {
|
|
1339
1344
|
list: (id?: number, type?: "partner" | "direct") => string;
|
|
1345
|
+
listAll: string;
|
|
1340
1346
|
get: (id: number) => string;
|
|
1341
1347
|
getByUser: (userId: string) => string;
|
|
1342
1348
|
create: string;
|
package/build/validators.js
CHANGED
|
@@ -472,6 +472,7 @@ export const ApiRoutes = {
|
|
|
472
472
|
getFormulationById: (id) => `/api/compound-direct/formulations/${id}`,
|
|
473
473
|
getProductById: (formulationId, pricingId) => `/api/compound-direct/products/${formulationId}/${pricingId}`,
|
|
474
474
|
listProductPrices: ({ limit, page, nextToken, query }) => `/api/compound-direct/products/prices${handleParams({ limit, page, nextToken, query })}`,
|
|
475
|
+
createProductPriceOptions: '/api/compound-direct/products/prices',
|
|
475
476
|
updateProductPriceOptions: '/api/compound-direct/products/prices',
|
|
476
477
|
},
|
|
477
478
|
directUserProfiles: {
|
|
@@ -533,6 +534,7 @@ export const ApiRoutes = {
|
|
|
533
534
|
},
|
|
534
535
|
patientRecords: {
|
|
535
536
|
list: (id, type) => '/api/patient-records' + `${type ? '?' + type + '=' + id : ''}`,
|
|
537
|
+
listAll: '/api/patient-records/all',
|
|
536
538
|
get: (id) => `/api/patient-records/${id}`,
|
|
537
539
|
getByUser: (userId) => `/api/patient-records/users/${userId}`,
|
|
538
540
|
create: '/api/patient-records',
|