oro-sdk-apis 1.54.3 → 1.55.0

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.54.3",
2
+ "version": "1.55.0",
3
3
  "main": "dist/index.js",
4
4
  "typings": "dist/index.d.ts",
5
5
  "files": [
@@ -150,6 +150,7 @@ export enum PracticeConfigKind {
150
150
  PracticeRegisterWalkthrough = 'PracticeRegisterWalkthrough',
151
151
  PracticeExamsAndResults = 'PracticeExamsAndResults',
152
152
  PracticeLayout = 'PracticeLayout',
153
+ PracticeAddressField = 'PracticeAddressField',
153
154
  }
154
155
 
155
156
  /**
@@ -403,6 +404,19 @@ export type PracticeConfigPracticeLayout = PracticeConfig<
403
404
  }
404
405
  >
405
406
 
407
+ /**
408
+ * This config is used for all configs related to the Google Places address field
409
+ */
410
+ export type PracticeConfigPracticeAddressField = PracticeConfig<
411
+ PracticeConfigKind.PracticeAddressField,
412
+ {
413
+ /**
414
+ * If true, then show the long version of the address, otherwise, show the short version
415
+ */
416
+ longAddress?: boolean
417
+ }
418
+ >
419
+
406
420
  export type PracticeConfigs =
407
421
  | PracticeConfigPractitionerSearch
408
422
  | PracticeConfigPractitionerConsultList
@@ -418,6 +432,7 @@ export type PracticeConfigs =
418
432
  | PracticeConfigPatientConsultCard
419
433
  | PracticeConfigPracticeExamsAndResults
420
434
  | PracticeConfigPracticeLayout
435
+ | PracticeConfigPracticeAddressField
421
436
 
422
437
  export interface PracticeWorkflow {
423
438
  id?: number ///optional for insertion
@@ -679,6 +694,7 @@ export interface HydratedPracticeConfigs {
679
694
  [PracticeConfigKind.PracticeRegisterWalkthrough]?: PracticeConfigPracticeRegisterWalkthrough
680
695
  [PracticeConfigKind.PracticeExamsAndResults]?: PracticeConfigPracticeExamsAndResults
681
696
  [PracticeConfigKind.PracticeLayout]?: PracticeConfigPracticeLayout
697
+ [PracticeConfigKind.PracticeAddressField]?: PracticeConfigPracticeAddressField
682
698
  }
683
699
 
684
700
  export interface Practice {