oro-sdk-apis 1.32.0 → 1.33.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/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.32.0",
2
+ "version": "1.33.0",
3
3
  "main": "dist/index.js",
4
4
  "typings": "dist/index.d.ts",
5
5
  "files": [
@@ -141,8 +141,9 @@ export enum PracticeConfigKind {
141
141
  PracticeFontsLinks = 'PracticeFontsLinks',
142
142
  PracticeLocaleSwitcher = 'PracticeLocaleSwitcher',
143
143
  PracticePharmacyPicker = 'PracticePharmacyPicker',
144
+ PracticePrescriptionFields = 'PracticePrescriptionFields',
144
145
  PractitionerChatbox = 'PractitionerChatbox',
145
- PractitionerConsultList = 'PractitionerConsultList',
146
+ PractitionerConsultList = 'PractitionerConsultList'
146
147
  }
147
148
 
148
149
  /**
@@ -317,6 +318,19 @@ export type PracticeConfigPractitionerConsultList = PracticeConfig<
317
318
  }
318
319
  >
319
320
 
321
+ /**
322
+ * This config is used to configure the layout of the modular prescription fields
323
+ */
324
+ export type PracticeConfigPracticePrescriptionFields = PracticeConfig<
325
+ PracticeConfigKind.PracticePrescriptionFields,
326
+ {
327
+ /**
328
+ * the y position in px of the first modular prescription
329
+ */
330
+ yCoordinate?: number
331
+ }
332
+ >
333
+
320
334
  export type PracticeConfigs =
321
335
  | PracticeConfigPractitionerConsultList
322
336
  | PracticeConfigPractitionerChatbox
@@ -325,6 +339,7 @@ export type PracticeConfigs =
325
339
  | PracticeConfigPracticeOnlinePharmacy
326
340
  | PracticeConfigPracticeCssVariables
327
341
  | PracticeConfigPracticeFontsLinks
342
+ | PracticeConfigPracticePrescriptionFields
328
343
  | PracticeConfigPracticeConfigExample // Here for integration tests only
329
344
 
330
345
  export interface PracticeWorkflow {