@natch-the-storage/heathershaw-platform-types 1.23.4 → 1.23.6
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 -1
- package/package.json +1 -1
package/build/validators.d.ts
CHANGED
|
@@ -1156,6 +1156,13 @@ export interface CDBulkUpdateResultList {
|
|
|
1156
1156
|
invalidFormulationPrices: CDPriceOptionUpdate[];
|
|
1157
1157
|
successfulUpdates: CDPriceOptionUpdate[];
|
|
1158
1158
|
}
|
|
1159
|
+
export interface CDScriptPriceUpdate {
|
|
1160
|
+
scriptId: number;
|
|
1161
|
+
formulationId: number;
|
|
1162
|
+
price: number;
|
|
1163
|
+
quantity: number;
|
|
1164
|
+
isDraft: boolean;
|
|
1165
|
+
}
|
|
1159
1166
|
export declare const CDProductForms: readonly [{
|
|
1160
1167
|
readonly id: "capsule";
|
|
1161
1168
|
readonly label: "Capsules";
|
|
@@ -1277,6 +1284,7 @@ export declare const ApiRoutes: {
|
|
|
1277
1284
|
listProductPrices: ({ limit, page, nextToken, query }: GetAll) => string;
|
|
1278
1285
|
createProductPriceOptions: string;
|
|
1279
1286
|
updateProductPriceOptions: string;
|
|
1287
|
+
updateScriptPrice: string;
|
|
1280
1288
|
};
|
|
1281
1289
|
directUserProfiles: {
|
|
1282
1290
|
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',
|