oro-sdk 3.4.0 → 3.6.1

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.
@@ -1563,10 +1563,11 @@ var MAX_RETRIES = 15;
1563
1563
  * @param oroClient
1564
1564
  * @param masterKey
1565
1565
  * @param recoveryQA
1566
+ * @param indexSearch create search index for the consultation if true
1566
1567
  * @returns the successful registration
1567
1568
  */
1568
1569
 
1569
- function registerPatient(_x, _x2, _x3, _x4, _x5, _x6) {
1570
+ function registerPatient(_x, _x2, _x3, _x4, _x5, _x6, _x7) {
1570
1571
  return _registerPatient.apply(this, arguments);
1571
1572
  }
1572
1573
  /**
@@ -1577,13 +1578,17 @@ function registerPatient(_x, _x2, _x3, _x4, _x5, _x6) {
1577
1578
  */
1578
1579
 
1579
1580
  function _registerPatient() {
1580
- _registerPatient = _asyncToGenerator( /*#__PURE__*/runtime_1.mark(function _callee4(patientUuid, consultRequest, workflow, oroClient, masterKey, recoveryQA) {
1581
+ _registerPatient = _asyncToGenerator( /*#__PURE__*/runtime_1.mark(function _callee4(patientUuid, consultRequest, workflow, oroClient, masterKey, recoveryQA, indexSearch) {
1581
1582
  var consult, lockboxUuid, practitionerAdmin, retry, identity, errorsThrown, _ret;
1582
1583
 
1583
1584
  return runtime_1.wrap(function _callee4$(_context4) {
1584
1585
  while (1) {
1585
1586
  switch (_context4.prev = _context4.next) {
1586
1587
  case 0:
1588
+ if (indexSearch === void 0) {
1589
+ indexSearch = true;
1590
+ }
1591
+
1587
1592
  consult = undefined;
1588
1593
  lockboxUuid = undefined;
1589
1594
  practitionerAdmin = undefined;
@@ -1591,13 +1596,13 @@ function _registerPatient() {
1591
1596
  identity = undefined;
1592
1597
  errorsThrown = [];
1593
1598
 
1594
- case 6:
1599
+ case 7:
1595
1600
  if (!(retry > 0)) {
1596
- _context4.next = 22;
1601
+ _context4.next = 23;
1597
1602
  break;
1598
1603
  }
1599
1604
 
1600
- _context4.prev = 7;
1605
+ _context4.prev = 8;
1601
1606
  return _context4.delegateYield( /*#__PURE__*/runtime_1.mark(function _callee3() {
1602
1607
  var _consultIndex, _identity, _identity2;
1603
1608
 
@@ -1703,7 +1708,7 @@ function _registerPatient() {
1703
1708
  }, _callee);
1704
1709
  }));
1705
1710
 
1706
- return function (_x28) {
1711
+ return function (_x29) {
1707
1712
  return _ref.apply(this, arguments);
1708
1713
  };
1709
1714
  }());
@@ -1736,7 +1741,7 @@ function _registerPatient() {
1736
1741
  }, _callee2);
1737
1742
  }));
1738
1743
 
1739
- return function (_x29) {
1744
+ return function (_x30) {
1740
1745
  return _ref2.apply(this, arguments);
1741
1746
  };
1742
1747
  }());
@@ -1804,88 +1809,103 @@ function _registerPatient() {
1804
1809
  return Promise.all([].concat(grantPromises, consultIndexPromises));
1805
1810
 
1806
1811
  case 43:
1812
+ if (!indexSearch) {
1813
+ _context3.next = 46;
1814
+ break;
1815
+ }
1816
+
1817
+ _context3.next = 46;
1818
+ return buildConsultSearchIndex(consult, workflow, oroClient)["catch"](function (err) {
1819
+ console.error('[SDK: registration] personal information not found or another error occured during search indexing', err);
1820
+ if (retry <= 1) return; // this statement is to avoid failing the registration due to the failure in search indexing the consult, this practically implements a soft retry
1821
+
1822
+ // this statement is to avoid failing the registration due to the failure in search indexing the consult, this practically implements a soft retry
1823
+ errorsThrown.push(err);
1824
+ });
1825
+
1826
+ case 46:
1807
1827
  if (!(errorsThrown.length > 0)) {
1808
- _context3.next = 45;
1828
+ _context3.next = 48;
1809
1829
  break;
1810
1830
  }
1811
1831
 
1812
1832
  throw errorsThrown;
1813
1833
 
1814
- case 45:
1815
- _context3.next = 47;
1834
+ case 48:
1835
+ _context3.next = 50;
1816
1836
  return oroClient.consultClient.updateConsultByUUID(consult.uuid, {
1817
1837
  statusMedical: MedicalStatus.New
1818
1838
  });
1819
1839
 
1820
- case 47:
1840
+ case 50:
1821
1841
  return _context3.abrupt("return", "break");
1822
1842
 
1823
- case 48:
1843
+ case 51:
1824
1844
  case "end":
1825
1845
  return _context3.stop();
1826
1846
  }
1827
1847
  }
1828
1848
  }, _callee3);
1829
- })(), "t0", 9);
1849
+ })(), "t0", 10);
1830
1850
 
1831
- case 9:
1851
+ case 10:
1832
1852
  _ret = _context4.t0;
1833
1853
 
1834
1854
  if (!(_ret === "break")) {
1835
- _context4.next = 12;
1855
+ _context4.next = 13;
1836
1856
  break;
1837
1857
  }
1838
1858
 
1839
- return _context4.abrupt("break", 22);
1859
+ return _context4.abrupt("break", 23);
1840
1860
 
1841
- case 12:
1842
- _context4.next = 19;
1861
+ case 13:
1862
+ _context4.next = 20;
1843
1863
  break;
1844
1864
 
1845
- case 14:
1846
- _context4.prev = 14;
1847
- _context4.t1 = _context4["catch"](7);
1865
+ case 15:
1866
+ _context4.prev = 15;
1867
+ _context4.t1 = _context4["catch"](8);
1848
1868
  console.error("[SDK] Error occured during registration: " + _context4.t1 + ", retrying... Retries remaining: " + retry);
1849
1869
  errorsThrown = [];
1850
- return _context4.abrupt("continue", 19);
1870
+ return _context4.abrupt("continue", 20);
1851
1871
 
1852
- case 19:
1872
+ case 20:
1853
1873
  retry--;
1854
- _context4.next = 6;
1874
+ _context4.next = 7;
1855
1875
  break;
1856
1876
 
1857
- case 22:
1877
+ case 23:
1858
1878
  if (!(retry <= 0)) {
1859
- _context4.next = 25;
1879
+ _context4.next = 26;
1860
1880
  break;
1861
1881
  }
1862
1882
 
1863
1883
  console.error('[SDK] registration failed: MAX_RETRIES reached');
1864
1884
  throw 'RegistrationFailed';
1865
1885
 
1866
- case 25:
1886
+ case 26:
1867
1887
  console.log('Successfully Registered');
1868
- _context4.next = 28;
1888
+ _context4.next = 29;
1869
1889
  return oroClient.cleanIndex();
1870
1890
 
1871
- case 28:
1891
+ case 29:
1872
1892
  return _context4.abrupt("return", {
1873
1893
  masterKey: masterKey,
1874
1894
  consultationId: consult.uuid,
1875
1895
  lockboxUuid: lockboxUuid
1876
1896
  });
1877
1897
 
1878
- case 29:
1898
+ case 30:
1879
1899
  case "end":
1880
1900
  return _context4.stop();
1881
1901
  }
1882
1902
  }
1883
- }, _callee4, null, [[7, 14]]);
1903
+ }, _callee4, null, [[8, 15]]);
1884
1904
  }));
1885
1905
  return _registerPatient.apply(this, arguments);
1886
1906
  }
1887
1907
 
1888
- function getOrCreatePatientConsultationUuid(_x7, _x8) {
1908
+ function getOrCreatePatientConsultationUuid(_x8, _x9) {
1889
1909
  return _getOrCreatePatientConsultationUuid.apply(this, arguments);
1890
1910
  }
1891
1911
  /**
@@ -1938,7 +1958,7 @@ function _getOrCreatePatientConsultationUuid() {
1938
1958
  return _getOrCreatePatientConsultationUuid.apply(this, arguments);
1939
1959
  }
1940
1960
 
1941
- function getOrCreatePatientLockbox(_x9) {
1961
+ function getOrCreatePatientLockbox(_x10) {
1942
1962
  return _getOrCreatePatientLockbox.apply(this, arguments);
1943
1963
  }
1944
1964
  /**
@@ -1993,7 +2013,7 @@ function _getOrCreatePatientLockbox() {
1993
2013
  return _getOrCreatePatientLockbox.apply(this, arguments);
1994
2014
  }
1995
2015
 
1996
- function storePatientData(_x10, _x11, _x12, _x13, _x14) {
2016
+ function storePatientData(_x11, _x12, _x13, _x14, _x15) {
1997
2017
  return _storePatientData.apply(this, arguments);
1998
2018
  }
1999
2019
 
@@ -2041,7 +2061,7 @@ function _storePatientData() {
2041
2061
  return _storePatientData.apply(this, arguments);
2042
2062
  }
2043
2063
 
2044
- function storeImageAliases(_x15, _x16, _x17, _x18) {
2064
+ function storeImageAliases(_x16, _x17, _x18, _x19) {
2045
2065
  return _storeImageAliases.apply(this, arguments);
2046
2066
  }
2047
2067
  /**
@@ -2101,7 +2121,7 @@ function _storeImageAliases() {
2101
2121
  return _storeImageAliases.apply(this, arguments);
2102
2122
  }
2103
2123
 
2104
- function extractAndStorePersonalWorkflowData(_x19, _x20, _x21, _x22, _x23) {
2124
+ function extractAndStorePersonalWorkflowData(_x20, _x21, _x22, _x23, _x24) {
2105
2125
  return _extractAndStorePersonalWorkflowData.apply(this, arguments);
2106
2126
  }
2107
2127
  /**
@@ -2134,7 +2154,7 @@ function _extractAndStorePersonalWorkflowData() {
2134
2154
  return _extractAndStorePersonalWorkflowData.apply(this, arguments);
2135
2155
  }
2136
2156
 
2137
- function extractPersonalInfoFromWorkflowData(_x24) {
2157
+ function extractPersonalInfoFromWorkflowData(_x25) {
2138
2158
  return _extractPersonalInfoFromWorkflowData.apply(this, arguments);
2139
2159
  }
2140
2160
  /**
@@ -2171,7 +2191,7 @@ function _extractPersonalInfoFromWorkflowData() {
2171
2191
  return _extractPersonalInfoFromWorkflowData.apply(this, arguments);
2172
2192
  }
2173
2193
 
2174
- function buildConsultSearchIndex(_x25, _x26, _x27) {
2194
+ function buildConsultSearchIndex(_x26, _x27, _x28) {
2175
2195
  return _buildConsultSearchIndex.apply(this, arguments);
2176
2196
  }
2177
2197
 
@@ -2810,6 +2830,7 @@ var OroClient = /*#__PURE__*/function () {
2810
2830
  * @param consult
2811
2831
  * @param workflow
2812
2832
  * @param recoveryQA
2833
+ * @param indexSearch create search index for the consultation if true
2813
2834
  * @returns
2814
2835
  */
2815
2836
  ;
@@ -2817,22 +2838,26 @@ var OroClient = /*#__PURE__*/function () {
2817
2838
  _proto.registerPatient =
2818
2839
  /*#__PURE__*/
2819
2840
  function () {
2820
- var _registerPatient2 = /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/runtime_1.mark(function _callee7(patientUuid, consult, workflow, recoveryQA) {
2841
+ var _registerPatient2 = /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/runtime_1.mark(function _callee7(patientUuid, consult, workflow, recoveryQA, indexSearch) {
2821
2842
  return runtime_1.wrap(function _callee7$(_context7) {
2822
2843
  while (1) {
2823
2844
  switch (_context7.prev = _context7.next) {
2824
2845
  case 0:
2846
+ if (indexSearch === void 0) {
2847
+ indexSearch = true;
2848
+ }
2849
+
2825
2850
  if (this.rsa) {
2826
- _context7.next = 2;
2851
+ _context7.next = 3;
2827
2852
  break;
2828
2853
  }
2829
2854
 
2830
2855
  throw IncompleteAuthentication;
2831
2856
 
2832
- case 2:
2833
- return _context7.abrupt("return", registerPatient(patientUuid, consult, workflow, this, this.toolbox.uuid(), recoveryQA));
2834
-
2835
2857
  case 3:
2858
+ return _context7.abrupt("return", registerPatient(patientUuid, consult, workflow, this, this.toolbox.uuid(), recoveryQA, indexSearch));
2859
+
2860
+ case 4:
2836
2861
  case "end":
2837
2862
  return _context7.stop();
2838
2863
  }
@@ -2840,7 +2865,7 @@ var OroClient = /*#__PURE__*/function () {
2840
2865
  }, _callee7, this);
2841
2866
  }));
2842
2867
 
2843
- function registerPatient$1(_x13, _x14, _x15, _x16) {
2868
+ function registerPatient$1(_x13, _x14, _x15, _x16, _x17) {
2844
2869
  return _registerPatient2.apply(this, arguments);
2845
2870
  }
2846
2871
 
@@ -2886,7 +2911,7 @@ var OroClient = /*#__PURE__*/function () {
2886
2911
  }, _callee8, this);
2887
2912
  }));
2888
2913
 
2889
- function buildVaultIndex(_x17) {
2914
+ function buildVaultIndex(_x18) {
2890
2915
  return _buildVaultIndex.apply(this, arguments);
2891
2916
  }
2892
2917
 
@@ -2963,7 +2988,7 @@ var OroClient = /*#__PURE__*/function () {
2963
2988
  }, _callee9);
2964
2989
  }));
2965
2990
 
2966
- return function (_x18) {
2991
+ return function (_x19) {
2967
2992
  return _ref2.apply(this, arguments);
2968
2993
  };
2969
2994
  }())).then(function (consults) {
@@ -3115,7 +3140,7 @@ var OroClient = /*#__PURE__*/function () {
3115
3140
  }, _callee11, this);
3116
3141
  }));
3117
3142
 
3118
- function vaultIndexAdd(_x19, _x20) {
3143
+ function vaultIndexAdd(_x20, _x21) {
3119
3144
  return _vaultIndexAdd.apply(this, arguments);
3120
3145
  }
3121
3146
 
@@ -3174,7 +3199,7 @@ var OroClient = /*#__PURE__*/function () {
3174
3199
  }, _callee12, this);
3175
3200
  }));
3176
3201
 
3177
- function indexSnapshotAdd(_x21) {
3202
+ function indexSnapshotAdd(_x22) {
3178
3203
  return _indexSnapshotAdd.apply(this, arguments);
3179
3204
  }
3180
3205
 
@@ -3233,7 +3258,7 @@ var OroClient = /*#__PURE__*/function () {
3233
3258
  }, _callee13, this);
3234
3259
  }));
3235
3260
 
3236
- function grantLockbox(_x22, _x23, _x24) {
3261
+ function grantLockbox(_x23, _x24, _x25) {
3237
3262
  return _grantLockbox.apply(this, arguments);
3238
3263
  }
3239
3264
 
@@ -3305,7 +3330,7 @@ var OroClient = /*#__PURE__*/function () {
3305
3330
  }, _callee14, this);
3306
3331
  }));
3307
3332
 
3308
- function createMessageData(_x25, _x26, _x27, _x28, _x29) {
3333
+ function createMessageData(_x26, _x27, _x28, _x29, _x30) {
3309
3334
  return _createMessageData.apply(this, arguments);
3310
3335
  }
3311
3336
 
@@ -3391,7 +3416,7 @@ var OroClient = /*#__PURE__*/function () {
3391
3416
  }, _callee15, this);
3392
3417
  }));
3393
3418
 
3394
- function createMessageAttachmentData(_x30, _x31, _x32, _x33, _x34) {
3419
+ function createMessageAttachmentData(_x31, _x32, _x33, _x34, _x35) {
3395
3420
  return _createMessageAttachmentData.apply(this, arguments);
3396
3421
  }
3397
3422
 
@@ -3463,7 +3488,7 @@ var OroClient = /*#__PURE__*/function () {
3463
3488
  }, _callee16, this);
3464
3489
  }));
3465
3490
 
3466
- function createConsultationAttachmentData(_x35, _x36, _x37, _x38, _x39, _x40) {
3491
+ function createConsultationAttachmentData(_x36, _x37, _x38, _x39, _x40, _x41) {
3467
3492
  return _createConsultationAttachmentData.apply(this, arguments);
3468
3493
  }
3469
3494
 
@@ -3521,7 +3546,7 @@ var OroClient = /*#__PURE__*/function () {
3521
3546
  }, _callee17, this);
3522
3547
  }));
3523
3548
 
3524
- function createJsonData(_x41, _x42, _x43, _x44, _x45, _x46) {
3549
+ function createJsonData(_x42, _x43, _x44, _x45, _x46, _x47) {
3525
3550
  return _createJsonData.apply(this, arguments);
3526
3551
  }
3527
3552
 
@@ -3584,7 +3609,7 @@ var OroClient = /*#__PURE__*/function () {
3584
3609
  }, _callee18, this);
3585
3610
  }));
3586
3611
 
3587
- function getOrInsertJsonData(_x47, _x48, _x49, _x50, _x51) {
3612
+ function getOrInsertJsonData(_x48, _x49, _x50, _x51, _x52) {
3588
3613
  return _getOrInsertJsonData.apply(this, arguments);
3589
3614
  }
3590
3615
 
@@ -3642,7 +3667,7 @@ var OroClient = /*#__PURE__*/function () {
3642
3667
  }, _callee19, this);
3643
3668
  }));
3644
3669
 
3645
- function createBytesData(_x52, _x53, _x54, _x55, _x56, _x57) {
3670
+ function createBytesData(_x53, _x54, _x55, _x56, _x57, _x58) {
3646
3671
  return _createBytesData.apply(this, arguments);
3647
3672
  }
3648
3673
 
@@ -3696,7 +3721,7 @@ var OroClient = /*#__PURE__*/function () {
3696
3721
  }, _callee20, this);
3697
3722
  }));
3698
3723
 
3699
- function getJsonData(_x58, _x59, _x60) {
3724
+ function getJsonData(_x59, _x60, _x61) {
3700
3725
  return _getJsonData.apply(this, arguments);
3701
3726
  }
3702
3727
 
@@ -3746,7 +3771,7 @@ var OroClient = /*#__PURE__*/function () {
3746
3771
  }, _callee21, this);
3747
3772
  }));
3748
3773
 
3749
- function getBytesData(_x61, _x62, _x63) {
3774
+ function getBytesData(_x62, _x63, _x64) {
3750
3775
  return _getBytesData.apply(this, arguments);
3751
3776
  }
3752
3777
 
@@ -3869,7 +3894,7 @@ var OroClient = /*#__PURE__*/function () {
3869
3894
  }, _callee22, this);
3870
3895
  }));
3871
3896
 
3872
- function getGrants(_x64, _x65) {
3897
+ function getGrants(_x65, _x66) {
3873
3898
  return _getGrants.apply(this, arguments);
3874
3899
  }
3875
3900
 
@@ -3934,7 +3959,7 @@ var OroClient = /*#__PURE__*/function () {
3934
3959
  }, _callee23, this);
3935
3960
  }));
3936
3961
 
3937
- function getCachedSecretCryptor(_x66, _x67) {
3962
+ function getCachedSecretCryptor(_x67, _x68) {
3938
3963
  return _getCachedSecretCryptor.apply(this, arguments);
3939
3964
  }
3940
3965
 
@@ -3973,7 +3998,7 @@ var OroClient = /*#__PURE__*/function () {
3973
3998
  }, _callee24, this);
3974
3999
  }));
3975
4000
 
3976
- function getPersonalInformationsFromConsultId(_x68, _x69, _x70) {
4001
+ function getPersonalInformationsFromConsultId(_x69, _x70, _x71) {
3977
4002
  return _getPersonalInformationsFromConsultId.apply(this, arguments);
3978
4003
  }
3979
4004
 
@@ -4011,7 +4036,7 @@ var OroClient = /*#__PURE__*/function () {
4011
4036
  }, _callee25, this);
4012
4037
  }));
4013
4038
 
4014
- function getMedicalDataFromConsultId(_x71, _x72) {
4039
+ function getMedicalDataFromConsultId(_x72, _x73) {
4015
4040
  return _getMedicalDataFromConsultId.apply(this, arguments);
4016
4041
  }
4017
4042
 
@@ -4104,7 +4129,7 @@ var OroClient = /*#__PURE__*/function () {
4104
4129
  }, _callee26);
4105
4130
  }));
4106
4131
 
4107
- return function (_x76) {
4132
+ return function (_x77) {
4108
4133
  return _ref3.apply(this, arguments);
4109
4134
  };
4110
4135
  }()));
@@ -4145,7 +4170,7 @@ var OroClient = /*#__PURE__*/function () {
4145
4170
  }, _callee27, this);
4146
4171
  }));
4147
4172
 
4148
- function getMetaCategoryFromConsultId(_x73, _x74, _x75) {
4173
+ function getMetaCategoryFromConsultId(_x74, _x75, _x76) {
4149
4174
  return _getMetaCategoryFromConsultId.apply(this, arguments);
4150
4175
  }
4151
4176
 
@@ -4232,7 +4257,7 @@ var OroClient = /*#__PURE__*/function () {
4232
4257
  }, _callee28, this);
4233
4258
  }));
4234
4259
 
4235
- function getPersonalInformations(_x77) {
4260
+ function getPersonalInformations(_x78) {
4236
4261
  return _getPersonalInformations.apply(this, arguments);
4237
4262
  }
4238
4263
 
@@ -4281,7 +4306,7 @@ var OroClient = /*#__PURE__*/function () {
4281
4306
  }, _callee29, this);
4282
4307
  }));
4283
4308
 
4284
- function getGrantFromConsultId(_x78) {
4309
+ function getGrantFromConsultId(_x79) {
4285
4310
  return _getGrantFromConsultId.apply(this, arguments);
4286
4311
  }
4287
4312
 
@@ -4331,7 +4356,7 @@ var OroClient = /*#__PURE__*/function () {
4331
4356
  }, _callee30, this);
4332
4357
  }));
4333
4358
 
4334
- function getIdentityFromConsultId(_x79) {
4359
+ function getIdentityFromConsultId(_x80) {
4335
4360
  return _getIdentityFromConsultId.apply(this, arguments);
4336
4361
  }
4337
4362
 
@@ -4410,7 +4435,7 @@ var OroClient = /*#__PURE__*/function () {
4410
4435
  }, _callee31);
4411
4436
  }));
4412
4437
 
4413
- return function (_x85) {
4438
+ return function (_x86) {
4414
4439
  return _ref4.apply(this, arguments);
4415
4440
  };
4416
4441
  }())).then(function (manifest) {
@@ -4426,7 +4451,7 @@ var OroClient = /*#__PURE__*/function () {
4426
4451
  }, _callee32, this);
4427
4452
  }));
4428
4453
 
4429
- function getLockboxManifest(_x80, _x81, _x82, _x83, _x84) {
4454
+ function getLockboxManifest(_x81, _x82, _x83, _x84, _x85) {
4430
4455
  return _getLockboxManifest.apply(this, arguments);
4431
4456
  }
4432
4457
 
@@ -4496,7 +4521,7 @@ var OroClient = /*#__PURE__*/function () {
4496
4521
  }, _callee33, this);
4497
4522
  }));
4498
4523
 
4499
- function createPersonalInformations(_x86, _x87, _x88) {
4524
+ function createPersonalInformations(_x87, _x88, _x89) {
4500
4525
  return _createPersonalInformations.apply(this, arguments);
4501
4526
  }
4502
4527
 
@@ -4566,7 +4591,7 @@ var OroClient = /*#__PURE__*/function () {
4566
4591
  }, _callee34, this);
4567
4592
  }));
4568
4593
 
4569
- function createUserPreference(_x89, _x90, _x91) {
4594
+ function createUserPreference(_x90, _x91, _x92) {
4570
4595
  return _createUserPreference.apply(this, arguments);
4571
4596
  }
4572
4597
 
@@ -4634,7 +4659,7 @@ var OroClient = /*#__PURE__*/function () {
4634
4659
  }, _callee35, this);
4635
4660
  }));
4636
4661
 
4637
- function getDataFromGrant(_x92, _x93) {
4662
+ function getDataFromGrant(_x93, _x94) {
4638
4663
  return _getDataFromGrant.apply(this, arguments);
4639
4664
  }
4640
4665
 
@@ -4683,7 +4708,7 @@ var OroClient = /*#__PURE__*/function () {
4683
4708
  }, _callee36, this);
4684
4709
  }));
4685
4710
 
4686
- function getUserPreferenceFromConsultId(_x94) {
4711
+ function getUserPreferenceFromConsultId(_x95) {
4687
4712
  return _getUserPreferenceFromConsultId.apply(this, arguments);
4688
4713
  }
4689
4714
 
@@ -4734,7 +4759,7 @@ var OroClient = /*#__PURE__*/function () {
4734
4759
  }, _callee37, this);
4735
4760
  }));
4736
4761
 
4737
- function getUserPreference(_x95) {
4762
+ function getUserPreference(_x96) {
4738
4763
  return _getUserPreference.apply(this, arguments);
4739
4764
  }
4740
4765
 
@@ -4783,7 +4808,7 @@ var OroClient = /*#__PURE__*/function () {
4783
4808
  }, _callee38, this);
4784
4809
  }));
4785
4810
 
4786
- function getRecoveryDataFromConsultId(_x96) {
4811
+ function getRecoveryDataFromConsultId(_x97) {
4787
4812
  return _getRecoveryDataFromConsultId.apply(this, arguments);
4788
4813
  }
4789
4814
 
@@ -4834,7 +4859,7 @@ var OroClient = /*#__PURE__*/function () {
4834
4859
  }, _callee39, this);
4835
4860
  }));
4836
4861
 
4837
- function getRecoveryData(_x97) {
4862
+ function getRecoveryData(_x98) {
4838
4863
  return _getRecoveryData.apply(this, arguments);
4839
4864
  }
4840
4865
 
@@ -4896,7 +4921,7 @@ var OroClient = /*#__PURE__*/function () {
4896
4921
  }, _callee40);
4897
4922
  }));
4898
4923
 
4899
- return function (_x100) {
4924
+ return function (_x101) {
4900
4925
  return _ref5.apply(this, arguments);
4901
4926
  };
4902
4927
  }())).then(function (promise) {
@@ -4916,7 +4941,7 @@ var OroClient = /*#__PURE__*/function () {
4916
4941
  }, _callee41, this);
4917
4942
  }));
4918
4943
 
4919
- function getAssignedConsultations(_x98, _x99) {
4944
+ function getAssignedConsultations(_x99, _x100) {
4920
4945
  return _getAssignedConsultations.apply(this, arguments);
4921
4946
  }
4922
4947
 
@@ -4994,7 +5019,7 @@ var OroClient = /*#__PURE__*/function () {
4994
5019
  }, _callee42);
4995
5020
  }));
4996
5021
 
4997
- return function (_x103) {
5022
+ return function (_x104) {
4998
5023
  return _ref6.apply(this, arguments);
4999
5024
  };
5000
5025
  }()));
@@ -5010,7 +5035,7 @@ var OroClient = /*#__PURE__*/function () {
5010
5035
  }, _callee43, this);
5011
5036
  }));
5012
5037
 
5013
- function getPastConsultationsFromConsultId(_x101, _x102) {
5038
+ function getPastConsultationsFromConsultId(_x102, _x103) {
5014
5039
  return _getPastConsultationsFromConsultId.apply(this, arguments);
5015
5040
  }
5016
5041
 
@@ -5068,7 +5093,7 @@ var OroClient = /*#__PURE__*/function () {
5068
5093
  }, _callee44, this);
5069
5094
  }));
5070
5095
 
5071
- function getPatientConsultationData(_x104, _x105) {
5096
+ function getPatientConsultationData(_x105, _x106) {
5072
5097
  return _getPatientConsultationData.apply(this, arguments);
5073
5098
  }
5074
5099
 
@@ -5102,7 +5127,7 @@ var OroClient = /*#__PURE__*/function () {
5102
5127
  }, _callee45, this);
5103
5128
  }));
5104
5129
 
5105
- function getPatientPrescriptionsList(_x106) {
5130
+ function getPatientPrescriptionsList(_x107) {
5106
5131
  return _getPatientPrescriptionsList.apply(this, arguments);
5107
5132
  }
5108
5133
 
@@ -5136,7 +5161,7 @@ var OroClient = /*#__PURE__*/function () {
5136
5161
  }, _callee46, this);
5137
5162
  }));
5138
5163
 
5139
- function getPatientResultsList(_x107) {
5164
+ function getPatientResultsList(_x108) {
5140
5165
  return _getPatientResultsList.apply(this, arguments);
5141
5166
  }
5142
5167
 
@@ -5170,7 +5195,7 @@ var OroClient = /*#__PURE__*/function () {
5170
5195
  }, _callee47, this);
5171
5196
  }));
5172
5197
 
5173
- function getPatientTreatmentPlans(_x108) {
5198
+ function getPatientTreatmentPlans(_x109) {
5174
5199
  return _getPatientTreatmentPlans.apply(this, arguments);
5175
5200
  }
5176
5201
 
@@ -5206,7 +5231,7 @@ var OroClient = /*#__PURE__*/function () {
5206
5231
  }, _callee48, this);
5207
5232
  }));
5208
5233
 
5209
- function getPatientTreatmentPlanByUuid(_x109, _x110) {
5234
+ function getPatientTreatmentPlanByUuid(_x110, _x111) {
5210
5235
  return _getPatientTreatmentPlanByUuid.apply(this, arguments);
5211
5236
  }
5212
5237
 
@@ -5263,7 +5288,7 @@ var OroClient = /*#__PURE__*/function () {
5263
5288
  }, _callee49);
5264
5289
  }));
5265
5290
 
5266
- return function (_x114) {
5291
+ return function (_x115) {
5267
5292
  return _ref7.apply(this, arguments);
5268
5293
  };
5269
5294
  }()));
@@ -5281,7 +5306,7 @@ var OroClient = /*#__PURE__*/function () {
5281
5306
  }, _callee50, this);
5282
5307
  }));
5283
5308
 
5284
- function getPatientDocumentsList(_x111, _x112, _x113) {
5309
+ function getPatientDocumentsList(_x112, _x113, _x114) {
5285
5310
  return _getPatientDocumentsList.apply(this, arguments);
5286
5311
  }
5287
5312
 
@@ -5343,7 +5368,7 @@ var OroClient = /*#__PURE__*/function () {
5343
5368
  }, _callee51, this);
5344
5369
  }));
5345
5370
 
5346
- function recoverPrivateKeyFromSecurityQuestions(_x115, _x116, _x117, _x118) {
5371
+ function recoverPrivateKeyFromSecurityQuestions(_x116, _x117, _x118, _x119) {
5347
5372
  return _recoverPrivateKeyFromSecurityQuestions.apply(this, arguments);
5348
5373
  }
5349
5374
 
@@ -5391,7 +5416,7 @@ var OroClient = /*#__PURE__*/function () {
5391
5416
  }, _callee52, this);
5392
5417
  }));
5393
5418
 
5394
- function recoverPrivateKeyFromPassword(_x119, _x120) {
5419
+ function recoverPrivateKeyFromPassword(_x120, _x121) {
5395
5420
  return _recoverPrivateKeyFromPassword.apply(this, arguments);
5396
5421
  }
5397
5422
 
@@ -5431,7 +5456,7 @@ var OroClient = /*#__PURE__*/function () {
5431
5456
  }, _callee53, this);
5432
5457
  }));
5433
5458
 
5434
- function recoverPrivateKeyFromMasterKey(_x121, _x122) {
5459
+ function recoverPrivateKeyFromMasterKey(_x122, _x123) {
5435
5460
  return _recoverPrivateKeyFromMasterKey.apply(this, arguments);
5436
5461
  }
5437
5462
 
@@ -5482,7 +5507,7 @@ var OroClient = /*#__PURE__*/function () {
5482
5507
  }, _callee54, this);
5483
5508
  }));
5484
5509
 
5485
- function updateSecurityQuestions(_x123, _x124, _x125, _x126) {
5510
+ function updateSecurityQuestions(_x124, _x125, _x126, _x127) {
5486
5511
  return _updateSecurityQuestions.apply(this, arguments);
5487
5512
  }
5488
5513
 
@@ -5547,7 +5572,7 @@ var OroClient = /*#__PURE__*/function () {
5547
5572
  }, _callee55, this);
5548
5573
  }));
5549
5574
 
5550
- function updatePassword(_x127, _x128, _x129) {
5575
+ function updatePassword(_x128, _x129, _x130) {
5551
5576
  return _updatePassword.apply(this, arguments);
5552
5577
  }
5553
5578
 
@@ -5609,7 +5634,7 @@ var OroClient = /*#__PURE__*/function () {
5609
5634
  }, _callee56, this);
5610
5635
  }));
5611
5636
 
5612
- function updateMasterKey(_x130, _x131, _x132) {
5637
+ function updateMasterKey(_x131, _x132, _x133) {
5613
5638
  return _updateMasterKey.apply(this, arguments);
5614
5639
  }
5615
5640