oro-sdk-apis 3.8.0 → 4.1.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/models/guard.d.ts +9 -1
- package/dist/models/practice.d.ts +13 -2
- package/dist/oro-sdk-apis.cjs.development.js +416 -1293
- 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 +417 -1329
- package/dist/oro-sdk-apis.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/models/guard.ts +10 -1
- package/src/models/practice.ts +16 -0
- package/LICENSE +0 -21
package/dist/models/guard.d.ts
CHANGED
@@ -52,7 +52,7 @@ export interface IdentityCreateRequest {
|
|
52
52
|
recoveryPassword: Base64String;
|
53
53
|
tosAndCpAcceptance: TosAndCpAcceptanceRequest;
|
54
54
|
tokenData?: TokenData;
|
55
|
-
|
55
|
+
subscriptionAcceptance?: SubscriptionAcceptanceRequest;
|
56
56
|
}
|
57
57
|
export interface TosAndCpAcceptanceRequest {
|
58
58
|
tosVersion: string;
|
@@ -86,6 +86,7 @@ export interface IdentityUpdateRequest {
|
|
86
86
|
tokenData?: TokenData;
|
87
87
|
epAcceptance?: EpAcceptanceRequest;
|
88
88
|
rpAcceptance?: RpAcceptanceRequest;
|
89
|
+
subscriptionAcceptance?: SubscriptionAcceptanceRequest;
|
89
90
|
}
|
90
91
|
export interface EpAcceptanceRequest {
|
91
92
|
epVersion: string;
|
@@ -93,6 +94,9 @@ export interface EpAcceptanceRequest {
|
|
93
94
|
export interface RpAcceptanceRequest {
|
94
95
|
rpVersion: string;
|
95
96
|
}
|
97
|
+
export interface SubscriptionAcceptanceRequest {
|
98
|
+
email: string;
|
99
|
+
}
|
96
100
|
export interface PasswordUpdateRequest {
|
97
101
|
oldPassword?: Base64String;
|
98
102
|
newPassword: Base64String;
|
@@ -128,6 +132,10 @@ export interface LegalData {
|
|
128
132
|
rpAcceptedAtTime?: RFC3339Date;
|
129
133
|
rpAcceptedVersion: Url;
|
130
134
|
rpAcceptedAtIP?: string;
|
135
|
+
subscribedAtTime?: RFC3339Date;
|
136
|
+
subscribedAtIP?: string;
|
137
|
+
subscribedEmail?: string;
|
138
|
+
subscribedAudience?: string;
|
131
139
|
}
|
132
140
|
export declare type RoleBasedScopes = AllRoleType;
|
133
141
|
export declare type PermissionBasedScopes = 'consult.consults.get' | 'consult.consults.post' | 'consult.consults.put' | 'practice.assignments.post' | 'practice.emails.get' | 'practice.configs.get' | 'practice.invoices.get' | 'practice.payments.get' | 'practice.secrets.get' | 'teller.emails.post';
|
@@ -136,7 +136,8 @@ export declare enum PracticeConfigKind {
|
|
136
136
|
PracticeExamsAndResults = "PracticeExamsAndResults",
|
137
137
|
PracticeLayout = "PracticeLayout",
|
138
138
|
PracticeAddressField = "PracticeAddressField",
|
139
|
-
PracticeDiagnosisAndTreatment = "PracticeDiagnosisAndTreatment"
|
139
|
+
PracticeDiagnosisAndTreatment = "PracticeDiagnosisAndTreatment",
|
140
|
+
PracticeInfoLetterDiscount = "PracticeInfoLetterDiscount"
|
140
141
|
}
|
141
142
|
/**
|
142
143
|
* Defines the close consultation types to hide in the close consultation modal of a practice
|
@@ -358,7 +359,16 @@ export declare type PracticeConfigPracticeDiagnosisAndTreatment = PracticeConfig
|
|
358
359
|
*/
|
359
360
|
enableRefill?: boolean;
|
360
361
|
}>;
|
361
|
-
|
362
|
+
/**
|
363
|
+
* This config is used to set a discount code in case the info letter is accepted by the patient
|
364
|
+
*/
|
365
|
+
export declare type PracticeConfigPracticeInfoLetterDiscount = PracticeConfig<PracticeConfigKind.PracticeInfoLetterDiscount, {
|
366
|
+
/**
|
367
|
+
* The discount code to be applied when the info letter is accepted
|
368
|
+
*/
|
369
|
+
discountCode?: string;
|
370
|
+
}>;
|
371
|
+
export declare type PracticeConfigs = PracticeConfigPractitionerSearch | PracticeConfigPractitionerConsultList | PracticeConfigPractitionerChatbox | PracticeConfigPracticeLocaleSwitcher | PracticeConfigPracticeCookieBanner | PracticeConfigPracticeOnlinePharmacy | PracticeConfigPracticeCssVariables | PracticeConfigPracticeFontsLinks | PracticeConfigPracticePrescriptionFields | PracticeConfigPracticeConfigExample | PracticeConfigPracticeConsultTabs | PracticeConfigPatientConsultCard | PracticeConfigPracticeExamsAndResults | PracticeConfigPracticeLayout | PracticeConfigPracticeAddressField | PracticeConfigPracticeDiagnosisAndTreatment | PracticeConfigPracticeInfoLetterDiscount;
|
362
372
|
export interface PracticeWorkflow {
|
363
373
|
id?: number;
|
364
374
|
uuidPractice: string;
|
@@ -599,6 +609,7 @@ export interface HydratedPracticeConfigs {
|
|
599
609
|
[PracticeConfigKind.PracticeLayout]?: PracticeConfigPracticeLayout;
|
600
610
|
[PracticeConfigKind.PracticeAddressField]?: PracticeConfigPracticeAddressField;
|
601
611
|
[PracticeConfigKind.PracticeDiagnosisAndTreatment]?: PracticeConfigPracticeDiagnosisAndTreatment;
|
612
|
+
[PracticeConfigKind.PracticeInfoLetterDiscount]?: PracticeConfigPracticeInfoLetterDiscount;
|
602
613
|
}
|
603
614
|
export interface Practice {
|
604
615
|
uuid: string;
|