oro-sdk-apis 7.4.2 → 8.0.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/dist/models/practice.d.ts +6 -1
- package/dist/models/teller.d.ts +2 -2
- package/dist/oro-sdk-apis.cjs.development.js +14 -13
- 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 +14 -13
- package/dist/oro-sdk-apis.esm.js.map +1 -1
- package/dist/services/vault.d.ts +2 -2
- package/package.json +2 -2
- package/src/models/practice.ts +8 -0
- package/src/models/teller.ts +3 -2
- package/src/services/vault.ts +6 -6
@@ -122,6 +122,7 @@ export interface PracticeAccount {
|
|
122
122
|
*/
|
123
123
|
export declare enum PracticeConfigKind {
|
124
124
|
PatientConsultCard = "PatientConsultCard",
|
125
|
+
PracticeChatSupport = "PracticeChatSupport",
|
125
126
|
PracticeCloseConsultationTypes = "PracticeCloseConsultationTypes",
|
126
127
|
PracticeConsultTabs = "PracticeConsultTabs",
|
127
128
|
PracticeConfigExample = "PracticeConfigExample",
|
@@ -189,6 +190,9 @@ export interface PracticeConfig<K, T> {
|
|
189
190
|
export declare type PracticeConfigPatientConsultCard = PracticeConfig<PracticeConfigKind.PatientConsultCard, {
|
190
191
|
hideDiagnosis?: boolean;
|
191
192
|
}>;
|
193
|
+
export declare type PracticeConfigPracticeChatSupport = PracticeConfig<PracticeConfigKind.PracticeChatSupport, {
|
194
|
+
enableChatSupport?: boolean;
|
195
|
+
}>;
|
192
196
|
export declare type PracticeConfigPracticeConsultTabs = PracticeConfig<PracticeConfigKind.PracticeConsultTabs, {
|
193
197
|
hideDxTx?: boolean;
|
194
198
|
}>;
|
@@ -379,7 +383,7 @@ export declare type PracticeConfigPracticeInfoLetterDiscount = PracticeConfig<Pr
|
|
379
383
|
*/
|
380
384
|
promptInfoLetterBeforeEmailConfirmed?: boolean;
|
381
385
|
}>;
|
382
|
-
export declare type PracticeConfigs = PracticeConfigPractitionerSearch | PracticeConfigPractitionerConsultList | PracticeConfigPractitionerChatbox | PracticeConfigPracticeLocaleSwitcher | PracticeConfigPracticeCookieBanner | PracticeConfigPracticeOnlinePharmacy | PracticeConfigPracticeCssVariables | PracticeConfigPracticeFontsLinks | PracticeConfigPracticePrescriptionFields | PracticeConfigPracticeConfigExample | PracticeConfigPracticeConsultTabs | PracticeConfigPatientConsultCard | PracticeConfigPracticeExamsAndResults | PracticeConfigPracticeLayout | PracticeConfigPracticeAddressField | PracticeConfigPracticeDiagnosisAndTreatment | PracticeConfigPracticeInfoLetterDiscount;
|
386
|
+
export declare type PracticeConfigs = PracticeConfigPractitionerSearch | PracticeConfigPractitionerConsultList | PracticeConfigPractitionerChatbox | PracticeConfigPracticeLocaleSwitcher | PracticeConfigPracticeCookieBanner | PracticeConfigPracticeOnlinePharmacy | PracticeConfigPracticeCssVariables | PracticeConfigPracticeFontsLinks | PracticeConfigPracticePrescriptionFields | PracticeConfigPracticeConfigExample | PracticeConfigPracticeConsultTabs | PracticeConfigPatientConsultCard | PracticeConfigPracticeChatSupport | PracticeConfigPracticeExamsAndResults | PracticeConfigPracticeLayout | PracticeConfigPracticeAddressField | PracticeConfigPracticeDiagnosisAndTreatment | PracticeConfigPracticeInfoLetterDiscount;
|
383
387
|
export interface PracticeWorkflow {
|
384
388
|
id?: number;
|
385
389
|
uuidPractice: string;
|
@@ -605,6 +609,7 @@ export interface Practitioner {
|
|
605
609
|
}
|
606
610
|
export interface HydratedPracticeConfigs {
|
607
611
|
[PracticeConfigKind.PatientConsultCard]?: PracticeConfigPatientConsultCard;
|
612
|
+
[PracticeConfigKind.PracticeChatSupport]?: PracticeConfigPracticeChatSupport;
|
608
613
|
[PracticeConfigKind.PracticeCloseConsultationTypes]?: PracticeConfigPracticeCloseConsultationTypes;
|
609
614
|
[PracticeConfigKind.PracticeConsultTabs]?: PracticeConfigPracticeConsultTabs;
|
610
615
|
[PracticeConfigKind.PracticeConfigExample]?: PracticeConfigPracticeConfigExample;
|
package/dist/models/teller.d.ts
CHANGED
@@ -1,10 +1,10 @@
|
|
1
|
+
import { Consult } from "./consult";
|
1
2
|
export interface ResumeConsultEmailRequest {
|
2
3
|
patientEmail: string;
|
3
4
|
locale: string;
|
4
5
|
resumeConsultUrl: string;
|
5
6
|
}
|
6
7
|
export interface ResumeTransmissionEmailRequest {
|
8
|
+
consult: Consult;
|
7
9
|
patientEmail: string;
|
8
|
-
locale: string;
|
9
|
-
resumeTransmissionConsultUrl: string;
|
10
10
|
}
|
@@ -1001,6 +1001,7 @@ var VaultDataMissing = /*#__PURE__*/function (_Error8) {
|
|
1001
1001
|
})(exports.PracticeEmailKind || (exports.PracticeEmailKind = {}));
|
1002
1002
|
(function (PracticeConfigKind) {
|
1003
1003
|
PracticeConfigKind["PatientConsultCard"] = "PatientConsultCard";
|
1004
|
+
PracticeConfigKind["PracticeChatSupport"] = "PracticeChatSupport";
|
1004
1005
|
PracticeConfigKind["PracticeCloseConsultationTypes"] = "PracticeCloseConsultationTypes";
|
1005
1006
|
PracticeConfigKind["PracticeConsultTabs"] = "PracticeConsultTabs";
|
1006
1007
|
PracticeConfigKind["PracticeConfigExample"] = "PracticeConfigExample";
|
@@ -2411,18 +2412,18 @@ var VaultService = /*#__PURE__*/function () {
|
|
2411
2412
|
}
|
2412
2413
|
var _proto = VaultService.prototype;
|
2413
2414
|
_proto.lockboxCreate = /*#__PURE__*/function () {
|
2414
|
-
var _lockboxCreate = /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(
|
2415
|
+
var _lockboxCreate = /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
2415
2416
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
2416
2417
|
while (1) switch (_context.prev = _context.next) {
|
2417
2418
|
case 0:
|
2418
|
-
return _context.abrupt("return", this.api.post(this.baseURL + "/v1/
|
2419
|
+
return _context.abrupt("return", this.api.post(this.baseURL + "/v1/lockboxes"));
|
2419
2420
|
case 1:
|
2420
2421
|
case "end":
|
2421
2422
|
return _context.stop();
|
2422
2423
|
}
|
2423
2424
|
}, _callee, this);
|
2424
2425
|
}));
|
2425
|
-
function lockboxCreate(
|
2426
|
+
function lockboxCreate() {
|
2426
2427
|
return _lockboxCreate.apply(this, arguments);
|
2427
2428
|
}
|
2428
2429
|
return lockboxCreate;
|
@@ -2443,7 +2444,7 @@ var VaultService = /*#__PURE__*/function () {
|
|
2443
2444
|
}
|
2444
2445
|
}, _callee2, this);
|
2445
2446
|
}));
|
2446
|
-
function lockboxMetadataAdd(_x2, _x3
|
2447
|
+
function lockboxMetadataAdd(_x, _x2, _x3) {
|
2447
2448
|
return _lockboxMetadataAdd.apply(this, arguments);
|
2448
2449
|
}
|
2449
2450
|
return lockboxMetadataAdd;
|
@@ -2464,7 +2465,7 @@ var VaultService = /*#__PURE__*/function () {
|
|
2464
2465
|
}
|
2465
2466
|
}, _callee3, this);
|
2466
2467
|
}));
|
2467
|
-
function lockboxSecretGet(
|
2468
|
+
function lockboxSecretGet(_x4, _x5) {
|
2468
2469
|
return _lockboxSecretGet.apply(this, arguments);
|
2469
2470
|
}
|
2470
2471
|
return lockboxSecretGet;
|
@@ -2485,7 +2486,7 @@ var VaultService = /*#__PURE__*/function () {
|
|
2485
2486
|
}
|
2486
2487
|
}, _callee4, this);
|
2487
2488
|
}));
|
2488
|
-
function lockboxGrant(_x7, _x8
|
2489
|
+
function lockboxGrant(_x6, _x7, _x8) {
|
2489
2490
|
return _lockboxGrant.apply(this, arguments);
|
2490
2491
|
}
|
2491
2492
|
return lockboxGrant;
|
@@ -2545,7 +2546,7 @@ var VaultService = /*#__PURE__*/function () {
|
|
2545
2546
|
}
|
2546
2547
|
}, _callee6, this);
|
2547
2548
|
}));
|
2548
|
-
function lockboxDataStore(_x10, _x11, _x12
|
2549
|
+
function lockboxDataStore(_x9, _x10, _x11, _x12) {
|
2549
2550
|
return _lockboxDataStore.apply(this, arguments);
|
2550
2551
|
}
|
2551
2552
|
return lockboxDataStore;
|
@@ -2583,7 +2584,7 @@ var VaultService = /*#__PURE__*/function () {
|
|
2583
2584
|
}
|
2584
2585
|
}, _callee7, this);
|
2585
2586
|
}));
|
2586
|
-
function lockboxDataGet(_x14, _x15, _x16
|
2587
|
+
function lockboxDataGet(_x13, _x14, _x15, _x16) {
|
2587
2588
|
return _lockboxDataGet.apply(this, arguments);
|
2588
2589
|
}
|
2589
2590
|
return lockboxDataGet;
|
@@ -2605,7 +2606,7 @@ var VaultService = /*#__PURE__*/function () {
|
|
2605
2606
|
}
|
2606
2607
|
}, _callee8, this);
|
2607
2608
|
}));
|
2608
|
-
function lockboxManifestGet(_x18, _x19
|
2609
|
+
function lockboxManifestGet(_x17, _x18, _x19) {
|
2609
2610
|
return _lockboxManifestGet.apply(this, arguments);
|
2610
2611
|
}
|
2611
2612
|
return lockboxManifestGet;
|
@@ -2629,7 +2630,7 @@ var VaultService = /*#__PURE__*/function () {
|
|
2629
2630
|
}
|
2630
2631
|
}, _callee9, this);
|
2631
2632
|
}));
|
2632
|
-
function lockboxMetadataGet(_x21, _x22, _x23, _x24
|
2633
|
+
function lockboxMetadataGet(_x20, _x21, _x22, _x23, _x24) {
|
2633
2634
|
return _lockboxMetadataGet.apply(this, arguments);
|
2634
2635
|
}
|
2635
2636
|
return lockboxMetadataGet;
|
@@ -2660,7 +2661,7 @@ var VaultService = /*#__PURE__*/function () {
|
|
2660
2661
|
}
|
2661
2662
|
}, _callee10, this);
|
2662
2663
|
}));
|
2663
|
-
function vaultIndexPut(
|
2664
|
+
function vaultIndexPut(_x25, _x26) {
|
2664
2665
|
return _vaultIndexPut.apply(this, arguments);
|
2665
2666
|
}
|
2666
2667
|
return vaultIndexPut;
|
@@ -2685,7 +2686,7 @@ var VaultService = /*#__PURE__*/function () {
|
|
2685
2686
|
}
|
2686
2687
|
}, _callee11, this);
|
2687
2688
|
}));
|
2688
|
-
function vaultIndexSnapshotPut(
|
2689
|
+
function vaultIndexSnapshotPut(_x27) {
|
2689
2690
|
return _vaultIndexSnapshotPut.apply(this, arguments);
|
2690
2691
|
}
|
2691
2692
|
return vaultIndexSnapshotPut;
|
@@ -2719,7 +2720,7 @@ var VaultService = /*#__PURE__*/function () {
|
|
2719
2720
|
}
|
2720
2721
|
}, _callee12, this);
|
2721
2722
|
}));
|
2722
|
-
function vaultIndexGet(_x29, _x30
|
2723
|
+
function vaultIndexGet(_x28, _x29, _x30) {
|
2723
2724
|
return _vaultIndexGet.apply(this, arguments);
|
2724
2725
|
}
|
2725
2726
|
return vaultIndexGet;
|