oro-sdk-apis 7.5.0 → 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.
@@ -1,5 +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
  }
7
+ export interface ResumeTransmissionEmailRequest {
8
+ consult: Consult;
9
+ patientEmail: string;
10
+ }
@@ -2393,6 +2393,14 @@ var TellerService = /*#__PURE__*/function () {
2393
2393
  */;
2394
2394
  _proto.sendResumeConsultEmail = function sendResumeConsultEmail(req) {
2395
2395
  return this.api.post(this.baseURL + "/v1/resume-consult-email", req);
2396
+ }
2397
+ /**
2398
+ * This function will send an email to patient to allow them to resume the transmission of their prescription.
2399
+ * @param req the body of the resume consult request
2400
+ * @returns void
2401
+ */;
2402
+ _proto.sendResumeTransmissionEmail = function sendResumeTransmissionEmail(req) {
2403
+ return this.api.post(this.baseURL + "/v1/resume-transmission-email", req);
2396
2404
  };
2397
2405
  return TellerService;
2398
2406
  }();
@@ -2404,18 +2412,18 @@ var VaultService = /*#__PURE__*/function () {
2404
2412
  }
2405
2413
  var _proto = VaultService.prototype;
2406
2414
  _proto.lockboxCreate = /*#__PURE__*/function () {
2407
- var _lockboxCreate = /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(lockboxMetadata) {
2415
+ var _lockboxCreate = /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
2408
2416
  return _regeneratorRuntime().wrap(function _callee$(_context) {
2409
2417
  while (1) switch (_context.prev = _context.next) {
2410
2418
  case 0:
2411
- return _context.abrupt("return", this.api.post(this.baseURL + "/v1/lockbox", lockboxMetadata));
2419
+ return _context.abrupt("return", this.api.post(this.baseURL + "/v1/lockboxes"));
2412
2420
  case 1:
2413
2421
  case "end":
2414
2422
  return _context.stop();
2415
2423
  }
2416
2424
  }, _callee, this);
2417
2425
  }));
2418
- function lockboxCreate(_x) {
2426
+ function lockboxCreate() {
2419
2427
  return _lockboxCreate.apply(this, arguments);
2420
2428
  }
2421
2429
  return lockboxCreate;
@@ -2436,7 +2444,7 @@ var VaultService = /*#__PURE__*/function () {
2436
2444
  }
2437
2445
  }, _callee2, this);
2438
2446
  }));
2439
- function lockboxMetadataAdd(_x2, _x3, _x4) {
2447
+ function lockboxMetadataAdd(_x, _x2, _x3) {
2440
2448
  return _lockboxMetadataAdd.apply(this, arguments);
2441
2449
  }
2442
2450
  return lockboxMetadataAdd;
@@ -2457,7 +2465,7 @@ var VaultService = /*#__PURE__*/function () {
2457
2465
  }
2458
2466
  }, _callee3, this);
2459
2467
  }));
2460
- function lockboxSecretGet(_x5, _x6) {
2468
+ function lockboxSecretGet(_x4, _x5) {
2461
2469
  return _lockboxSecretGet.apply(this, arguments);
2462
2470
  }
2463
2471
  return lockboxSecretGet;
@@ -2478,7 +2486,7 @@ var VaultService = /*#__PURE__*/function () {
2478
2486
  }
2479
2487
  }, _callee4, this);
2480
2488
  }));
2481
- function lockboxGrant(_x7, _x8, _x9) {
2489
+ function lockboxGrant(_x6, _x7, _x8) {
2482
2490
  return _lockboxGrant.apply(this, arguments);
2483
2491
  }
2484
2492
  return lockboxGrant;
@@ -2538,7 +2546,7 @@ var VaultService = /*#__PURE__*/function () {
2538
2546
  }
2539
2547
  }, _callee6, this);
2540
2548
  }));
2541
- function lockboxDataStore(_x10, _x11, _x12, _x13) {
2549
+ function lockboxDataStore(_x9, _x10, _x11, _x12) {
2542
2550
  return _lockboxDataStore.apply(this, arguments);
2543
2551
  }
2544
2552
  return lockboxDataStore;
@@ -2576,7 +2584,7 @@ var VaultService = /*#__PURE__*/function () {
2576
2584
  }
2577
2585
  }, _callee7, this);
2578
2586
  }));
2579
- function lockboxDataGet(_x14, _x15, _x16, _x17) {
2587
+ function lockboxDataGet(_x13, _x14, _x15, _x16) {
2580
2588
  return _lockboxDataGet.apply(this, arguments);
2581
2589
  }
2582
2590
  return lockboxDataGet;
@@ -2598,7 +2606,7 @@ var VaultService = /*#__PURE__*/function () {
2598
2606
  }
2599
2607
  }, _callee8, this);
2600
2608
  }));
2601
- function lockboxManifestGet(_x18, _x19, _x20) {
2609
+ function lockboxManifestGet(_x17, _x18, _x19) {
2602
2610
  return _lockboxManifestGet.apply(this, arguments);
2603
2611
  }
2604
2612
  return lockboxManifestGet;
@@ -2622,7 +2630,7 @@ var VaultService = /*#__PURE__*/function () {
2622
2630
  }
2623
2631
  }, _callee9, this);
2624
2632
  }));
2625
- function lockboxMetadataGet(_x21, _x22, _x23, _x24, _x25) {
2633
+ function lockboxMetadataGet(_x20, _x21, _x22, _x23, _x24) {
2626
2634
  return _lockboxMetadataGet.apply(this, arguments);
2627
2635
  }
2628
2636
  return lockboxMetadataGet;
@@ -2653,7 +2661,7 @@ var VaultService = /*#__PURE__*/function () {
2653
2661
  }
2654
2662
  }, _callee10, this);
2655
2663
  }));
2656
- function vaultIndexPut(_x26, _x27) {
2664
+ function vaultIndexPut(_x25, _x26) {
2657
2665
  return _vaultIndexPut.apply(this, arguments);
2658
2666
  }
2659
2667
  return vaultIndexPut;
@@ -2678,7 +2686,7 @@ var VaultService = /*#__PURE__*/function () {
2678
2686
  }
2679
2687
  }, _callee11, this);
2680
2688
  }));
2681
- function vaultIndexSnapshotPut(_x28) {
2689
+ function vaultIndexSnapshotPut(_x27) {
2682
2690
  return _vaultIndexSnapshotPut.apply(this, arguments);
2683
2691
  }
2684
2692
  return vaultIndexSnapshotPut;
@@ -2712,7 +2720,7 @@ var VaultService = /*#__PURE__*/function () {
2712
2720
  }
2713
2721
  }, _callee12, this);
2714
2722
  }));
2715
- function vaultIndexGet(_x29, _x30, _x31) {
2723
+ function vaultIndexGet(_x28, _x29, _x30) {
2716
2724
  return _vaultIndexGet.apply(this, arguments);
2717
2725
  }
2718
2726
  return vaultIndexGet;