oro-sdk-apis 3.0.0 → 3.1.0
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/dist/models/practice.d.ts +4 -0
- package/dist/oro-sdk-apis.cjs.development.js +3 -2
- package/dist/oro-sdk-apis.cjs.development.js.map +1 -1
- package/dist/oro-sdk-apis.cjs.production.min.js +1 -1
- package/dist/oro-sdk-apis.cjs.production.min.js.map +1 -1
- package/dist/oro-sdk-apis.esm.js +3 -2
- package/dist/oro-sdk-apis.esm.js.map +1 -1
- package/dist/services/diagnosis.d.ts +1 -1
- package/package.json +2 -2
- package/src/models/practice.ts +4 -0
- package/src/services/diagnosis.ts +39 -73
| @@ -238,6 +238,10 @@ export declare type PracticeConfigPracticeOnlinePharmacy = PracticeConfig<Practi | |
| 238 238 | 
             
                 * The address of the online pharmacy
         | 
| 239 239 | 
             
                 */
         | 
| 240 240 | 
             
                onlinePharmacy?: PlaceData;
         | 
| 241 | 
            +
                /**
         | 
| 242 | 
            +
                 * Shows or hides the address input field in the treatment acceptance modal
         | 
| 243 | 
            +
                 */
         | 
| 244 | 
            +
                showTreatmentAcceptanceAddressInput: boolean;
         | 
| 241 245 | 
             
            }>;
         | 
| 242 246 | 
             
            /**
         | 
| 243 247 | 
             
             * Defines the consultation chatbox configs
         | 
| @@ -1903,11 +1903,12 @@ var DiagnosisService = /*#__PURE__*/function () { | |
| 1903 1903 | 
             
                return this.api.post(this.baseURL + "/v1/treatment-plans", plans);
         | 
| 1904 1904 | 
             
              };
         | 
| 1905 1905 |  | 
| 1906 | 
            -
              _proto.updateTreatmentPlan = function updateTreatmentPlan(uuidPlan, uuidConsult, diagnosisRequest, plan) {
         | 
| 1906 | 
            +
              _proto.updateTreatmentPlan = function updateTreatmentPlan(uuidPlan, uuidConsult, diagnosisRequest, plan, refill) {
         | 
| 1907 1907 | 
             
                return this.api.put(this.baseURL + "/v1/treatment-plans/" + uuidPlan, {
         | 
| 1908 1908 | 
             
                  uuidConsult: uuidConsult,
         | 
| 1909 1909 | 
             
                  diagnosis: diagnosisRequest,
         | 
| 1910 | 
            -
                  plan: plan
         | 
| 1910 | 
            +
                  plan: plan,
         | 
| 1911 | 
            +
                  refill: refill
         | 
| 1911 1912 | 
             
                });
         | 
| 1912 1913 | 
             
              };
         | 
| 1913 1914 |  |