@natch-the-storage/heathershaw-platform-types 1.23.3 → 1.23.5
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 -1
- package/build/validators.js +2 -1
- package/package.json +1 -1
package/build/validators.d.ts
CHANGED
|
@@ -1149,13 +1149,19 @@ export interface CDCompound {
|
|
|
1149
1149
|
dosageFormName: string;
|
|
1150
1150
|
}
|
|
1151
1151
|
export interface CDBulkCreatePricesResultList {
|
|
1152
|
-
|
|
1152
|
+
successfulInserts: CDPriceOptionUpdate[];
|
|
1153
1153
|
invalidFormulationPrices: Omit<CDPriceOptionUpdate, 'formulationPriceId'>[];
|
|
1154
1154
|
}
|
|
1155
1155
|
export interface CDBulkUpdateResultList {
|
|
1156
1156
|
invalidFormulationPrices: CDPriceOptionUpdate[];
|
|
1157
1157
|
successfulUpdates: CDPriceOptionUpdate[];
|
|
1158
1158
|
}
|
|
1159
|
+
export interface CDScriptPriceUpdate {
|
|
1160
|
+
scriptId: number;
|
|
1161
|
+
price: number;
|
|
1162
|
+
quantity: number;
|
|
1163
|
+
isDraft: boolean;
|
|
1164
|
+
}
|
|
1159
1165
|
export declare const CDProductForms: readonly [{
|
|
1160
1166
|
readonly id: "capsule";
|
|
1161
1167
|
readonly label: "Capsules";
|
|
@@ -1277,6 +1283,7 @@ export declare const ApiRoutes: {
|
|
|
1277
1283
|
listProductPrices: ({ limit, page, nextToken, query }: GetAll) => string;
|
|
1278
1284
|
createProductPriceOptions: string;
|
|
1279
1285
|
updateProductPriceOptions: string;
|
|
1286
|
+
updateScriptPrice: string;
|
|
1280
1287
|
};
|
|
1281
1288
|
directUserProfiles: {
|
|
1282
1289
|
list: string;
|
package/build/validators.js
CHANGED
|
@@ -467,13 +467,14 @@ export const ApiRoutes = {
|
|
|
467
467
|
getCustomerScripts: '/api/compound-direct/customer-scripts',
|
|
468
468
|
getHouseholdScripts: '/api/compound-direct/customer-scripts/households',
|
|
469
469
|
searchDispensedScripts: '/api/compound-direct/dispensed-scripts',
|
|
470
|
-
getDispensedScriptById: (id) => `/api/compound-direct/
|
|
470
|
+
getDispensedScriptById: (id) => `/api/compound-direct/dispensed-scripts/${id}`,
|
|
471
471
|
updateDispensedScriptById: (id) => `/api/compound-direct/script/${id}`,
|
|
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
475
|
createProductPriceOptions: '/api/compound-direct/products/prices',
|
|
476
476
|
updateProductPriceOptions: '/api/compound-direct/products/prices',
|
|
477
|
+
updateScriptPrice: '/api/compound-direct/scripts/prices',
|
|
477
478
|
},
|
|
478
479
|
directUserProfiles: {
|
|
479
480
|
list: '/api/profiles/direct-users',
|