oro-sdk-apis 4.0.0 → 4.1.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/models/practice.d.ts +13 -2
- package/dist/oro-sdk-apis.cjs.development.js +1 -0
- 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 +1 -0
- package/dist/oro-sdk-apis.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/models/practice.ts +16 -0
package/package.json
CHANGED
package/src/models/practice.ts
CHANGED
@@ -152,6 +152,7 @@ export enum PracticeConfigKind {
|
|
152
152
|
PracticeLayout = 'PracticeLayout',
|
153
153
|
PracticeAddressField = 'PracticeAddressField',
|
154
154
|
PracticeDiagnosisAndTreatment = 'PracticeDiagnosisAndTreatment',
|
155
|
+
PracticeInfoLetterDiscount = 'PracticeInfoLetterDiscount',
|
155
156
|
}
|
156
157
|
|
157
158
|
/**
|
@@ -439,6 +440,19 @@ export type PracticeConfigPracticeDiagnosisAndTreatment = PracticeConfig<
|
|
439
440
|
}
|
440
441
|
>
|
441
442
|
|
443
|
+
/**
|
444
|
+
* This config is used to set a discount code in case the info letter is accepted by the patient
|
445
|
+
*/
|
446
|
+
export type PracticeConfigPracticeInfoLetterDiscount = PracticeConfig<
|
447
|
+
PracticeConfigKind.PracticeInfoLetterDiscount,
|
448
|
+
{
|
449
|
+
/**
|
450
|
+
* The discount code to be applied when the info letter is accepted
|
451
|
+
*/
|
452
|
+
discountCode?: string
|
453
|
+
}
|
454
|
+
>
|
455
|
+
|
442
456
|
export type PracticeConfigs =
|
443
457
|
| PracticeConfigPractitionerSearch
|
444
458
|
| PracticeConfigPractitionerConsultList
|
@@ -456,6 +470,7 @@ export type PracticeConfigs =
|
|
456
470
|
| PracticeConfigPracticeLayout
|
457
471
|
| PracticeConfigPracticeAddressField
|
458
472
|
| PracticeConfigPracticeDiagnosisAndTreatment
|
473
|
+
| PracticeConfigPracticeInfoLetterDiscount
|
459
474
|
|
460
475
|
export interface PracticeWorkflow {
|
461
476
|
id?: number ///optional for insertion
|
@@ -719,6 +734,7 @@ export interface HydratedPracticeConfigs {
|
|
719
734
|
[PracticeConfigKind.PracticeLayout]?: PracticeConfigPracticeLayout
|
720
735
|
[PracticeConfigKind.PracticeAddressField]?: PracticeConfigPracticeAddressField
|
721
736
|
[PracticeConfigKind.PracticeDiagnosisAndTreatment]?: PracticeConfigPracticeDiagnosisAndTreatment
|
737
|
+
[PracticeConfigKind.PracticeInfoLetterDiscount]?: PracticeConfigPracticeInfoLetterDiscount
|
722
738
|
}
|
723
739
|
|
724
740
|
export interface Practice {
|