@natch-the-storage/heathershaw-platform-types 1.23.2 → 1.23.4
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 +5 -0
- package/build/validators.js +1 -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
|
+
successfulInserts: 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: {
|
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: {
|