oro-sdk-apis 1.34.0 → 1.34.1-dev1
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/consult.d.ts +14 -0
- package/dist/models/practice.d.ts +1 -12
- package/dist/oro-sdk-apis.cjs.development.js +410 -818
- 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 +413 -819
- package/dist/oro-sdk-apis.esm.js.map +1 -1
- package/dist/services/consult.d.ts +3 -1
- package/dist/services/teller.d.ts +2 -2
- package/package.json +1 -1
- package/src/models/consult.ts +16 -0
- package/src/models/practice.ts +1 -17
- package/src/services/consult.ts +3 -0
- package/src/services/teller.ts +6 -1
- package/LICENSE +0 -21
package/dist/models/consult.d.ts
CHANGED
@@ -74,6 +74,19 @@ export declare enum TaskStatus {
|
|
74
74
|
Blocked = "Blocked",
|
75
75
|
Done = "Done"
|
76
76
|
}
|
77
|
+
export declare enum ClosedReasonType {
|
78
|
+
Completed = "Completed",
|
79
|
+
NotADisease = "NotADisease",
|
80
|
+
NotAppropriateForVirtual = "NotAppropriateForVirtual",
|
81
|
+
Other = "Other",
|
82
|
+
RequiresInPerson = "RequiresInPerson"
|
83
|
+
}
|
84
|
+
export interface ConsultClosedReason {
|
85
|
+
id?: number;
|
86
|
+
closedReasonType: ClosedReasonType;
|
87
|
+
closedReasonDescription: string;
|
88
|
+
createdAt?: string;
|
89
|
+
}
|
77
90
|
export interface ConsultRequest {
|
78
91
|
uuidPractice: string;
|
79
92
|
tagSpecialtyRequired: string;
|
@@ -96,6 +109,7 @@ export interface Consult {
|
|
96
109
|
statusTask?: TaskStatus;
|
97
110
|
hasTransmissions?: boolean;
|
98
111
|
assignedAssistant?: ConsultAssignedAssistant[];
|
112
|
+
closeConsultReason?: any;
|
99
113
|
shortId?: string;
|
100
114
|
createdAt?: string;
|
101
115
|
expiresAt?: string;
|
@@ -126,7 +126,6 @@ export declare enum PracticeConfigKind {
|
|
126
126
|
PracticeFontsLinks = "PracticeFontsLinks",
|
127
127
|
PracticeLocaleSwitcher = "PracticeLocaleSwitcher",
|
128
128
|
PracticePharmacyPicker = "PracticePharmacyPicker",
|
129
|
-
PracticePrescriptionFields = "PracticePrescriptionFields",
|
130
129
|
PractitionerChatbox = "PractitionerChatbox",
|
131
130
|
PractitionerConsultList = "PractitionerConsultList"
|
132
131
|
}
|
@@ -269,16 +268,7 @@ export declare type PracticeConfigPractitionerConsultList = PracticeConfig<Pract
|
|
269
268
|
*/
|
270
269
|
hideExpiresAt?: boolean;
|
271
270
|
}>;
|
272
|
-
|
273
|
-
* This config is used to configure the layout of the modular prescription fields
|
274
|
-
*/
|
275
|
-
export declare type PracticeConfigPracticePrescriptionFields = PracticeConfig<PracticeConfigKind.PracticePrescriptionFields, {
|
276
|
-
/**
|
277
|
-
* the y position in px of the first modular prescription
|
278
|
-
*/
|
279
|
-
yCoordinate?: number;
|
280
|
-
}>;
|
281
|
-
export declare type PracticeConfigs = PracticeConfigPractitionerConsultList | PracticeConfigPractitionerChatbox | PracticeConfigPracticeLocaleSwitcher | PracticeConfigPracticeCookieBanner | PracticeConfigPracticeOnlinePharmacy | PracticeConfigPracticeCssVariables | PracticeConfigPracticeFontsLinks | PracticeConfigPracticePrescriptionFields | PracticeConfigPracticeConfigExample;
|
271
|
+
export declare type PracticeConfigs = PracticeConfigPractitionerConsultList | PracticeConfigPractitionerChatbox | PracticeConfigPracticeLocaleSwitcher | PracticeConfigPracticeCookieBanner | PracticeConfigPracticeOnlinePharmacy | PracticeConfigPracticeCssVariables | PracticeConfigPracticeFontsLinks | PracticeConfigPracticeConfigExample;
|
282
272
|
export interface PracticeWorkflow {
|
283
273
|
id?: number;
|
284
274
|
uuidPractice: string;
|
@@ -464,7 +454,6 @@ export interface HydratedPracticeConfigs {
|
|
464
454
|
[PracticeConfigKind.PracticeFontsLinks]?: PracticeConfigPracticeFontsLinks;
|
465
455
|
[PracticeConfigKind.PracticeLocaleSwitcher]?: PracticeConfigPracticeLocaleSwitcher;
|
466
456
|
[PracticeConfigKind.PracticePharmacyPicker]?: PracticeConfigPracticeOnlinePharmacy;
|
467
|
-
[PracticeConfigKind.PracticePrescriptionFields]?: PracticeConfigPracticePrescriptionFields;
|
468
457
|
[PracticeConfigKind.PractitionerChatbox]?: PracticeConfigPractitionerChatbox;
|
469
458
|
[PracticeConfigKind.PractitionerConsultList]?: PracticeConfigPractitionerConsultList;
|
470
459
|
}
|