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.
@@ -1567,10 +1567,11 @@ var MAX_RETRIES = 15;
1567
1567
  * @param oroClient
1568
1568
  * @param masterKey
1569
1569
  * @param recoveryQA
1570
+ * @param indexSearch create search index for the consultation if true
1570
1571
  * @returns the successful registration
1571
1572
  */
1572
1573
 
1573
- function registerPatient(_x, _x2, _x3, _x4, _x5, _x6) {
1574
+ function registerPatient(_x, _x2, _x3, _x4, _x5, _x6, _x7) {
1574
1575
  return _registerPatient.apply(this, arguments);
1575
1576
  }
1576
1577
  /**
@@ -1581,13 +1582,17 @@ function registerPatient(_x, _x2, _x3, _x4, _x5, _x6) {
1581
1582
  */
1582
1583
 
1583
1584
  function _registerPatient() {
1584
- _registerPatient = _asyncToGenerator( /*#__PURE__*/runtime_1.mark(function _callee4(patientUuid, consultRequest, workflow, oroClient, masterKey, recoveryQA) {
1585
+ _registerPatient = _asyncToGenerator( /*#__PURE__*/runtime_1.mark(function _callee4(patientUuid, consultRequest, workflow, oroClient, masterKey, recoveryQA, indexSearch) {
1585
1586
  var consult, lockboxUuid, practitionerAdmin, retry, identity, errorsThrown, _ret;
1586
1587
 
1587
1588
  return runtime_1.wrap(function _callee4$(_context4) {
1588
1589
  while (1) {
1589
1590
  switch (_context4.prev = _context4.next) {
1590
1591
  case 0:
1592
+ if (indexSearch === void 0) {
1593
+ indexSearch = true;
1594
+ }
1595
+
1591
1596
  consult = undefined;
1592
1597
  lockboxUuid = undefined;
1593
1598
  practitionerAdmin = undefined;
@@ -1595,13 +1600,13 @@ function _registerPatient() {
1595
1600
  identity = undefined;
1596
1601
  errorsThrown = [];
1597
1602
 
1598
- case 6:
1603
+ case 7:
1599
1604
  if (!(retry > 0)) {
1600
- _context4.next = 22;
1605
+ _context4.next = 23;
1601
1606
  break;
1602
1607
  }
1603
1608
 
1604
- _context4.prev = 7;
1609
+ _context4.prev = 8;
1605
1610
  return _context4.delegateYield( /*#__PURE__*/runtime_1.mark(function _callee3() {
1606
1611
  var _consultIndex, _identity, _identity2;
1607
1612
 
@@ -1707,7 +1712,7 @@ function _registerPatient() {
1707
1712
  }, _callee);
1708
1713
  }));
1709
1714
 
1710
- return function (_x28) {
1715
+ return function (_x29) {
1711
1716
  return _ref.apply(this, arguments);
1712
1717
  };
1713
1718
  }());
@@ -1740,7 +1745,7 @@ function _registerPatient() {
1740
1745
  }, _callee2);
1741
1746
  }));
1742
1747
 
1743
- return function (_x29) {
1748
+ return function (_x30) {
1744
1749
  return _ref2.apply(this, arguments);
1745
1750
  };
1746
1751
  }());
@@ -1808,88 +1813,103 @@ function _registerPatient() {
1808
1813
  return Promise.all([].concat(grantPromises, consultIndexPromises));
1809
1814
 
1810
1815
  case 43:
1816
+ if (!indexSearch) {
1817
+ _context3.next = 46;
1818
+ break;
1819
+ }
1820
+
1821
+ _context3.next = 46;
1822
+ return buildConsultSearchIndex(consult, workflow, oroClient)["catch"](function (err) {
1823
+ console.error('[SDK: registration] personal information not found or another error occured during search indexing', err);
1824
+ 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
1825
+
1826
+ // this statement is to avoid failing the registration due to the failure in search indexing the consult, this practically implements a soft retry
1827
+ errorsThrown.push(err);
1828
+ });
1829
+
1830
+ case 46:
1811
1831
  if (!(errorsThrown.length > 0)) {
1812
- _context3.next = 45;
1832
+ _context3.next = 48;
1813
1833
  break;
1814
1834
  }
1815
1835
 
1816
1836
  throw errorsThrown;
1817
1837
 
1818
- case 45:
1819
- _context3.next = 47;
1838
+ case 48:
1839
+ _context3.next = 50;
1820
1840
  return oroClient.consultClient.updateConsultByUUID(consult.uuid, {
1821
1841
  statusMedical: initApis.MedicalStatus.New
1822
1842
  });
1823
1843
 
1824
- case 47:
1844
+ case 50:
1825
1845
  return _context3.abrupt("return", "break");
1826
1846
 
1827
- case 48:
1847
+ case 51:
1828
1848
  case "end":
1829
1849
  return _context3.stop();
1830
1850
  }
1831
1851
  }
1832
1852
  }, _callee3);
1833
- })(), "t0", 9);
1853
+ })(), "t0", 10);
1834
1854
 
1835
- case 9:
1855
+ case 10:
1836
1856
  _ret = _context4.t0;
1837
1857
 
1838
1858
  if (!(_ret === "break")) {
1839
- _context4.next = 12;
1859
+ _context4.next = 13;
1840
1860
  break;
1841
1861
  }
1842
1862
 
1843
- return _context4.abrupt("break", 22);
1863
+ return _context4.abrupt("break", 23);
1844
1864
 
1845
- case 12:
1846
- _context4.next = 19;
1865
+ case 13:
1866
+ _context4.next = 20;
1847
1867
  break;
1848
1868
 
1849
- case 14:
1850
- _context4.prev = 14;
1851
- _context4.t1 = _context4["catch"](7);
1869
+ case 15:
1870
+ _context4.prev = 15;
1871
+ _context4.t1 = _context4["catch"](8);
1852
1872
  console.error("[SDK] Error occured during registration: " + _context4.t1 + ", retrying... Retries remaining: " + retry);
1853
1873
  errorsThrown = [];
1854
- return _context4.abrupt("continue", 19);
1874
+ return _context4.abrupt("continue", 20);
1855
1875
 
1856
- case 19:
1876
+ case 20:
1857
1877
  retry--;
1858
- _context4.next = 6;
1878
+ _context4.next = 7;
1859
1879
  break;
1860
1880
 
1861
- case 22:
1881
+ case 23:
1862
1882
  if (!(retry <= 0)) {
1863
- _context4.next = 25;
1883
+ _context4.next = 26;
1864
1884
  break;
1865
1885
  }
1866
1886
 
1867
1887
  console.error('[SDK] registration failed: MAX_RETRIES reached');
1868
1888
  throw 'RegistrationFailed';
1869
1889
 
1870
- case 25:
1890
+ case 26:
1871
1891
  console.log('Successfully Registered');
1872
- _context4.next = 28;
1892
+ _context4.next = 29;
1873
1893
  return oroClient.cleanIndex();
1874
1894
 
1875
- case 28:
1895
+ case 29:
1876
1896
  return _context4.abrupt("return", {
1877
1897
  masterKey: masterKey,
1878
1898
  consultationId: consult.uuid,
1879
1899
  lockboxUuid: lockboxUuid
1880
1900
  });
1881
1901
 
1882
- case 29:
1902
+ case 30:
1883
1903
  case "end":
1884
1904
  return _context4.stop();
1885
1905
  }
1886
1906
  }
1887
- }, _callee4, null, [[7, 14]]);
1907
+ }, _callee4, null, [[8, 15]]);
1888
1908
  }));
1889
1909
  return _registerPatient.apply(this, arguments);
1890
1910
  }
1891
1911
 
1892
- function getOrCreatePatientConsultationUuid(_x7, _x8) {
1912
+ function getOrCreatePatientConsultationUuid(_x8, _x9) {
1893
1913
  return _getOrCreatePatientConsultationUuid.apply(this, arguments);
1894
1914
  }
1895
1915
  /**
@@ -1942,7 +1962,7 @@ function _getOrCreatePatientConsultationUuid() {
1942
1962
  return _getOrCreatePatientConsultationUuid.apply(this, arguments);
1943
1963
  }
1944
1964
 
1945
- function getOrCreatePatientLockbox(_x9) {
1965
+ function getOrCreatePatientLockbox(_x10) {
1946
1966
  return _getOrCreatePatientLockbox.apply(this, arguments);
1947
1967
  }
1948
1968
  /**
@@ -1997,7 +2017,7 @@ function _getOrCreatePatientLockbox() {
1997
2017
  return _getOrCreatePatientLockbox.apply(this, arguments);
1998
2018
  }
1999
2019
 
2000
- function storePatientData(_x10, _x11, _x12, _x13, _x14) {
2020
+ function storePatientData(_x11, _x12, _x13, _x14, _x15) {
2001
2021
  return _storePatientData.apply(this, arguments);
2002
2022
  }
2003
2023
 
@@ -2045,7 +2065,7 @@ function _storePatientData() {
2045
2065
  return _storePatientData.apply(this, arguments);
2046
2066
  }
2047
2067
 
2048
- function storeImageAliases(_x15, _x16, _x17, _x18) {
2068
+ function storeImageAliases(_x16, _x17, _x18, _x19) {
2049
2069
  return _storeImageAliases.apply(this, arguments);
2050
2070
  }
2051
2071
  /**
@@ -2105,7 +2125,7 @@ function _storeImageAliases() {
2105
2125
  return _storeImageAliases.apply(this, arguments);
2106
2126
  }
2107
2127
 
2108
- function extractAndStorePersonalWorkflowData(_x19, _x20, _x21, _x22, _x23) {
2128
+ function extractAndStorePersonalWorkflowData(_x20, _x21, _x22, _x23, _x24) {
2109
2129
  return _extractAndStorePersonalWorkflowData.apply(this, arguments);
2110
2130
  }
2111
2131
  /**
@@ -2138,7 +2158,7 @@ function _extractAndStorePersonalWorkflowData() {
2138
2158
  return _extractAndStorePersonalWorkflowData.apply(this, arguments);
2139
2159
  }
2140
2160
 
2141
- function extractPersonalInfoFromWorkflowData(_x24) {
2161
+ function extractPersonalInfoFromWorkflowData(_x25) {
2142
2162
  return _extractPersonalInfoFromWorkflowData.apply(this, arguments);
2143
2163
  }
2144
2164
  /**
@@ -2175,7 +2195,7 @@ function _extractPersonalInfoFromWorkflowData() {
2175
2195
  return _extractPersonalInfoFromWorkflowData.apply(this, arguments);
2176
2196
  }
2177
2197
 
2178
- function buildConsultSearchIndex(_x25, _x26, _x27) {
2198
+ function buildConsultSearchIndex(_x26, _x27, _x28) {
2179
2199
  return _buildConsultSearchIndex.apply(this, arguments);
2180
2200
  }
2181
2201
 
@@ -2814,6 +2834,7 @@ var OroClient = /*#__PURE__*/function () {
2814
2834
  * @param consult
2815
2835
  * @param workflow
2816
2836
  * @param recoveryQA
2837
+ * @param indexSearch create search index for the consultation if true
2817
2838
  * @returns
2818
2839
  */
2819
2840
  ;
@@ -2821,22 +2842,26 @@ var OroClient = /*#__PURE__*/function () {
2821
2842
  _proto.registerPatient =
2822
2843
  /*#__PURE__*/
2823
2844
  function () {
2824
- var _registerPatient2 = /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/runtime_1.mark(function _callee7(patientUuid, consult, workflow, recoveryQA) {
2845
+ var _registerPatient2 = /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/runtime_1.mark(function _callee7(patientUuid, consult, workflow, recoveryQA, indexSearch) {
2825
2846
  return runtime_1.wrap(function _callee7$(_context7) {
2826
2847
  while (1) {
2827
2848
  switch (_context7.prev = _context7.next) {
2828
2849
  case 0:
2850
+ if (indexSearch === void 0) {
2851
+ indexSearch = true;
2852
+ }
2853
+
2829
2854
  if (this.rsa) {
2830
- _context7.next = 2;
2855
+ _context7.next = 3;
2831
2856
  break;
2832
2857
  }
2833
2858
 
2834
2859
  throw IncompleteAuthentication;
2835
2860
 
2836
- case 2:
2837
- return _context7.abrupt("return", registerPatient(patientUuid, consult, workflow, this, this.toolbox.uuid(), recoveryQA));
2838
-
2839
2861
  case 3:
2862
+ return _context7.abrupt("return", registerPatient(patientUuid, consult, workflow, this, this.toolbox.uuid(), recoveryQA, indexSearch));
2863
+
2864
+ case 4:
2840
2865
  case "end":
2841
2866
  return _context7.stop();
2842
2867
  }
@@ -2844,7 +2869,7 @@ var OroClient = /*#__PURE__*/function () {
2844
2869
  }, _callee7, this);
2845
2870
  }));
2846
2871
 
2847
- function registerPatient$1(_x13, _x14, _x15, _x16) {
2872
+ function registerPatient$1(_x13, _x14, _x15, _x16, _x17) {
2848
2873
  return _registerPatient2.apply(this, arguments);
2849
2874
  }
2850
2875
 
@@ -2890,7 +2915,7 @@ var OroClient = /*#__PURE__*/function () {
2890
2915
  }, _callee8, this);
2891
2916
  }));
2892
2917
 
2893
- function buildVaultIndex(_x17) {
2918
+ function buildVaultIndex(_x18) {
2894
2919
  return _buildVaultIndex.apply(this, arguments);
2895
2920
  }
2896
2921
 
@@ -2967,7 +2992,7 @@ var OroClient = /*#__PURE__*/function () {
2967
2992
  }, _callee9);
2968
2993
  }));
2969
2994
 
2970
- return function (_x18) {
2995
+ return function (_x19) {
2971
2996
  return _ref2.apply(this, arguments);
2972
2997
  };
2973
2998
  }())).then(function (consults) {
@@ -3119,7 +3144,7 @@ var OroClient = /*#__PURE__*/function () {
3119
3144
  }, _callee11, this);
3120
3145
  }));
3121
3146
 
3122
- function vaultIndexAdd(_x19, _x20) {
3147
+ function vaultIndexAdd(_x20, _x21) {
3123
3148
  return _vaultIndexAdd.apply(this, arguments);
3124
3149
  }
3125
3150
 
@@ -3178,7 +3203,7 @@ var OroClient = /*#__PURE__*/function () {
3178
3203
  }, _callee12, this);
3179
3204
  }));
3180
3205
 
3181
- function indexSnapshotAdd(_x21) {
3206
+ function indexSnapshotAdd(_x22) {
3182
3207
  return _indexSnapshotAdd.apply(this, arguments);
3183
3208
  }
3184
3209
 
@@ -3237,7 +3262,7 @@ var OroClient = /*#__PURE__*/function () {
3237
3262
  }, _callee13, this);
3238
3263
  }));
3239
3264
 
3240
- function grantLockbox(_x22, _x23, _x24) {
3265
+ function grantLockbox(_x23, _x24, _x25) {
3241
3266
  return _grantLockbox.apply(this, arguments);
3242
3267
  }
3243
3268
 
@@ -3309,7 +3334,7 @@ var OroClient = /*#__PURE__*/function () {
3309
3334
  }, _callee14, this);
3310
3335
  }));
3311
3336
 
3312
- function createMessageData(_x25, _x26, _x27, _x28, _x29) {
3337
+ function createMessageData(_x26, _x27, _x28, _x29, _x30) {
3313
3338
  return _createMessageData.apply(this, arguments);
3314
3339
  }
3315
3340
 
@@ -3395,7 +3420,7 @@ var OroClient = /*#__PURE__*/function () {
3395
3420
  }, _callee15, this);
3396
3421
  }));
3397
3422
 
3398
- function createMessageAttachmentData(_x30, _x31, _x32, _x33, _x34) {
3423
+ function createMessageAttachmentData(_x31, _x32, _x33, _x34, _x35) {
3399
3424
  return _createMessageAttachmentData.apply(this, arguments);
3400
3425
  }
3401
3426
 
@@ -3467,7 +3492,7 @@ var OroClient = /*#__PURE__*/function () {
3467
3492
  }, _callee16, this);
3468
3493
  }));
3469
3494
 
3470
- function createConsultationAttachmentData(_x35, _x36, _x37, _x38, _x39, _x40) {
3495
+ function createConsultationAttachmentData(_x36, _x37, _x38, _x39, _x40, _x41) {
3471
3496
  return _createConsultationAttachmentData.apply(this, arguments);
3472
3497
  }
3473
3498
 
@@ -3525,7 +3550,7 @@ var OroClient = /*#__PURE__*/function () {
3525
3550
  }, _callee17, this);
3526
3551
  }));
3527
3552
 
3528
- function createJsonData(_x41, _x42, _x43, _x44, _x45, _x46) {
3553
+ function createJsonData(_x42, _x43, _x44, _x45, _x46, _x47) {
3529
3554
  return _createJsonData.apply(this, arguments);
3530
3555
  }
3531
3556
 
@@ -3588,7 +3613,7 @@ var OroClient = /*#__PURE__*/function () {
3588
3613
  }, _callee18, this);
3589
3614
  }));
3590
3615
 
3591
- function getOrInsertJsonData(_x47, _x48, _x49, _x50, _x51) {
3616
+ function getOrInsertJsonData(_x48, _x49, _x50, _x51, _x52) {
3592
3617
  return _getOrInsertJsonData.apply(this, arguments);
3593
3618
  }
3594
3619
 
@@ -3646,7 +3671,7 @@ var OroClient = /*#__PURE__*/function () {
3646
3671
  }, _callee19, this);
3647
3672
  }));
3648
3673
 
3649
- function createBytesData(_x52, _x53, _x54, _x55, _x56, _x57) {
3674
+ function createBytesData(_x53, _x54, _x55, _x56, _x57, _x58) {
3650
3675
  return _createBytesData.apply(this, arguments);
3651
3676
  }
3652
3677
 
@@ -3700,7 +3725,7 @@ var OroClient = /*#__PURE__*/function () {
3700
3725
  }, _callee20, this);
3701
3726
  }));
3702
3727
 
3703
- function getJsonData(_x58, _x59, _x60) {
3728
+ function getJsonData(_x59, _x60, _x61) {
3704
3729
  return _getJsonData.apply(this, arguments);
3705
3730
  }
3706
3731
 
@@ -3750,7 +3775,7 @@ var OroClient = /*#__PURE__*/function () {
3750
3775
  }, _callee21, this);
3751
3776
  }));
3752
3777
 
3753
- function getBytesData(_x61, _x62, _x63) {
3778
+ function getBytesData(_x62, _x63, _x64) {
3754
3779
  return _getBytesData.apply(this, arguments);
3755
3780
  }
3756
3781
 
@@ -3873,7 +3898,7 @@ var OroClient = /*#__PURE__*/function () {
3873
3898
  }, _callee22, this);
3874
3899
  }));
3875
3900
 
3876
- function getGrants(_x64, _x65) {
3901
+ function getGrants(_x65, _x66) {
3877
3902
  return _getGrants.apply(this, arguments);
3878
3903
  }
3879
3904
 
@@ -3938,7 +3963,7 @@ var OroClient = /*#__PURE__*/function () {
3938
3963
  }, _callee23, this);
3939
3964
  }));
3940
3965
 
3941
- function getCachedSecretCryptor(_x66, _x67) {
3966
+ function getCachedSecretCryptor(_x67, _x68) {
3942
3967
  return _getCachedSecretCryptor.apply(this, arguments);
3943
3968
  }
3944
3969
 
@@ -3977,7 +4002,7 @@ var OroClient = /*#__PURE__*/function () {
3977
4002
  }, _callee24, this);
3978
4003
  }));
3979
4004
 
3980
- function getPersonalInformationsFromConsultId(_x68, _x69, _x70) {
4005
+ function getPersonalInformationsFromConsultId(_x69, _x70, _x71) {
3981
4006
  return _getPersonalInformationsFromConsultId.apply(this, arguments);
3982
4007
  }
3983
4008
 
@@ -4015,7 +4040,7 @@ var OroClient = /*#__PURE__*/function () {
4015
4040
  }, _callee25, this);
4016
4041
  }));
4017
4042
 
4018
- function getMedicalDataFromConsultId(_x71, _x72) {
4043
+ function getMedicalDataFromConsultId(_x72, _x73) {
4019
4044
  return _getMedicalDataFromConsultId.apply(this, arguments);
4020
4045
  }
4021
4046
 
@@ -4108,7 +4133,7 @@ var OroClient = /*#__PURE__*/function () {
4108
4133
  }, _callee26);
4109
4134
  }));
4110
4135
 
4111
- return function (_x76) {
4136
+ return function (_x77) {
4112
4137
  return _ref3.apply(this, arguments);
4113
4138
  };
4114
4139
  }()));
@@ -4149,7 +4174,7 @@ var OroClient = /*#__PURE__*/function () {
4149
4174
  }, _callee27, this);
4150
4175
  }));
4151
4176
 
4152
- function getMetaCategoryFromConsultId(_x73, _x74, _x75) {
4177
+ function getMetaCategoryFromConsultId(_x74, _x75, _x76) {
4153
4178
  return _getMetaCategoryFromConsultId.apply(this, arguments);
4154
4179
  }
4155
4180
 
@@ -4236,7 +4261,7 @@ var OroClient = /*#__PURE__*/function () {
4236
4261
  }, _callee28, this);
4237
4262
  }));
4238
4263
 
4239
- function getPersonalInformations(_x77) {
4264
+ function getPersonalInformations(_x78) {
4240
4265
  return _getPersonalInformations.apply(this, arguments);
4241
4266
  }
4242
4267
 
@@ -4285,7 +4310,7 @@ var OroClient = /*#__PURE__*/function () {
4285
4310
  }, _callee29, this);
4286
4311
  }));
4287
4312
 
4288
- function getGrantFromConsultId(_x78) {
4313
+ function getGrantFromConsultId(_x79) {
4289
4314
  return _getGrantFromConsultId.apply(this, arguments);
4290
4315
  }
4291
4316
 
@@ -4335,7 +4360,7 @@ var OroClient = /*#__PURE__*/function () {
4335
4360
  }, _callee30, this);
4336
4361
  }));
4337
4362
 
4338
- function getIdentityFromConsultId(_x79) {
4363
+ function getIdentityFromConsultId(_x80) {
4339
4364
  return _getIdentityFromConsultId.apply(this, arguments);
4340
4365
  }
4341
4366
 
@@ -4414,7 +4439,7 @@ var OroClient = /*#__PURE__*/function () {
4414
4439
  }, _callee31);
4415
4440
  }));
4416
4441
 
4417
- return function (_x85) {
4442
+ return function (_x86) {
4418
4443
  return _ref4.apply(this, arguments);
4419
4444
  };
4420
4445
  }())).then(function (manifest) {
@@ -4430,7 +4455,7 @@ var OroClient = /*#__PURE__*/function () {
4430
4455
  }, _callee32, this);
4431
4456
  }));
4432
4457
 
4433
- function getLockboxManifest(_x80, _x81, _x82, _x83, _x84) {
4458
+ function getLockboxManifest(_x81, _x82, _x83, _x84, _x85) {
4434
4459
  return _getLockboxManifest.apply(this, arguments);
4435
4460
  }
4436
4461
 
@@ -4500,7 +4525,7 @@ var OroClient = /*#__PURE__*/function () {
4500
4525
  }, _callee33, this);
4501
4526
  }));
4502
4527
 
4503
- function createPersonalInformations(_x86, _x87, _x88) {
4528
+ function createPersonalInformations(_x87, _x88, _x89) {
4504
4529
  return _createPersonalInformations.apply(this, arguments);
4505
4530
  }
4506
4531
 
@@ -4570,7 +4595,7 @@ var OroClient = /*#__PURE__*/function () {
4570
4595
  }, _callee34, this);
4571
4596
  }));
4572
4597
 
4573
- function createUserPreference(_x89, _x90, _x91) {
4598
+ function createUserPreference(_x90, _x91, _x92) {
4574
4599
  return _createUserPreference.apply(this, arguments);
4575
4600
  }
4576
4601
 
@@ -4638,7 +4663,7 @@ var OroClient = /*#__PURE__*/function () {
4638
4663
  }, _callee35, this);
4639
4664
  }));
4640
4665
 
4641
- function getDataFromGrant(_x92, _x93) {
4666
+ function getDataFromGrant(_x93, _x94) {
4642
4667
  return _getDataFromGrant.apply(this, arguments);
4643
4668
  }
4644
4669
 
@@ -4687,7 +4712,7 @@ var OroClient = /*#__PURE__*/function () {
4687
4712
  }, _callee36, this);
4688
4713
  }));
4689
4714
 
4690
- function getUserPreferenceFromConsultId(_x94) {
4715
+ function getUserPreferenceFromConsultId(_x95) {
4691
4716
  return _getUserPreferenceFromConsultId.apply(this, arguments);
4692
4717
  }
4693
4718
 
@@ -4738,7 +4763,7 @@ var OroClient = /*#__PURE__*/function () {
4738
4763
  }, _callee37, this);
4739
4764
  }));
4740
4765
 
4741
- function getUserPreference(_x95) {
4766
+ function getUserPreference(_x96) {
4742
4767
  return _getUserPreference.apply(this, arguments);
4743
4768
  }
4744
4769
 
@@ -4787,7 +4812,7 @@ var OroClient = /*#__PURE__*/function () {
4787
4812
  }, _callee38, this);
4788
4813
  }));
4789
4814
 
4790
- function getRecoveryDataFromConsultId(_x96) {
4815
+ function getRecoveryDataFromConsultId(_x97) {
4791
4816
  return _getRecoveryDataFromConsultId.apply(this, arguments);
4792
4817
  }
4793
4818
 
@@ -4838,7 +4863,7 @@ var OroClient = /*#__PURE__*/function () {
4838
4863
  }, _callee39, this);
4839
4864
  }));
4840
4865
 
4841
- function getRecoveryData(_x97) {
4866
+ function getRecoveryData(_x98) {
4842
4867
  return _getRecoveryData.apply(this, arguments);
4843
4868
  }
4844
4869
 
@@ -4900,7 +4925,7 @@ var OroClient = /*#__PURE__*/function () {
4900
4925
  }, _callee40);
4901
4926
  }));
4902
4927
 
4903
- return function (_x100) {
4928
+ return function (_x101) {
4904
4929
  return _ref5.apply(this, arguments);
4905
4930
  };
4906
4931
  }())).then(function (promise) {
@@ -4920,7 +4945,7 @@ var OroClient = /*#__PURE__*/function () {
4920
4945
  }, _callee41, this);
4921
4946
  }));
4922
4947
 
4923
- function getAssignedConsultations(_x98, _x99) {
4948
+ function getAssignedConsultations(_x99, _x100) {
4924
4949
  return _getAssignedConsultations.apply(this, arguments);
4925
4950
  }
4926
4951
 
@@ -4998,7 +5023,7 @@ var OroClient = /*#__PURE__*/function () {
4998
5023
  }, _callee42);
4999
5024
  }));
5000
5025
 
5001
- return function (_x103) {
5026
+ return function (_x104) {
5002
5027
  return _ref6.apply(this, arguments);
5003
5028
  };
5004
5029
  }()));
@@ -5014,7 +5039,7 @@ var OroClient = /*#__PURE__*/function () {
5014
5039
  }, _callee43, this);
5015
5040
  }));
5016
5041
 
5017
- function getPastConsultationsFromConsultId(_x101, _x102) {
5042
+ function getPastConsultationsFromConsultId(_x102, _x103) {
5018
5043
  return _getPastConsultationsFromConsultId.apply(this, arguments);
5019
5044
  }
5020
5045
 
@@ -5072,7 +5097,7 @@ var OroClient = /*#__PURE__*/function () {
5072
5097
  }, _callee44, this);
5073
5098
  }));
5074
5099
 
5075
- function getPatientConsultationData(_x104, _x105) {
5100
+ function getPatientConsultationData(_x105, _x106) {
5076
5101
  return _getPatientConsultationData.apply(this, arguments);
5077
5102
  }
5078
5103
 
@@ -5106,7 +5131,7 @@ var OroClient = /*#__PURE__*/function () {
5106
5131
  }, _callee45, this);
5107
5132
  }));
5108
5133
 
5109
- function getPatientPrescriptionsList(_x106) {
5134
+ function getPatientPrescriptionsList(_x107) {
5110
5135
  return _getPatientPrescriptionsList.apply(this, arguments);
5111
5136
  }
5112
5137
 
@@ -5140,7 +5165,7 @@ var OroClient = /*#__PURE__*/function () {
5140
5165
  }, _callee46, this);
5141
5166
  }));
5142
5167
 
5143
- function getPatientResultsList(_x107) {
5168
+ function getPatientResultsList(_x108) {
5144
5169
  return _getPatientResultsList.apply(this, arguments);
5145
5170
  }
5146
5171
 
@@ -5174,7 +5199,7 @@ var OroClient = /*#__PURE__*/function () {
5174
5199
  }, _callee47, this);
5175
5200
  }));
5176
5201
 
5177
- function getPatientTreatmentPlans(_x108) {
5202
+ function getPatientTreatmentPlans(_x109) {
5178
5203
  return _getPatientTreatmentPlans.apply(this, arguments);
5179
5204
  }
5180
5205
 
@@ -5210,7 +5235,7 @@ var OroClient = /*#__PURE__*/function () {
5210
5235
  }, _callee48, this);
5211
5236
  }));
5212
5237
 
5213
- function getPatientTreatmentPlanByUuid(_x109, _x110) {
5238
+ function getPatientTreatmentPlanByUuid(_x110, _x111) {
5214
5239
  return _getPatientTreatmentPlanByUuid.apply(this, arguments);
5215
5240
  }
5216
5241
 
@@ -5267,7 +5292,7 @@ var OroClient = /*#__PURE__*/function () {
5267
5292
  }, _callee49);
5268
5293
  }));
5269
5294
 
5270
- return function (_x114) {
5295
+ return function (_x115) {
5271
5296
  return _ref7.apply(this, arguments);
5272
5297
  };
5273
5298
  }()));
@@ -5285,7 +5310,7 @@ var OroClient = /*#__PURE__*/function () {
5285
5310
  }, _callee50, this);
5286
5311
  }));
5287
5312
 
5288
- function getPatientDocumentsList(_x111, _x112, _x113) {
5313
+ function getPatientDocumentsList(_x112, _x113, _x114) {
5289
5314
  return _getPatientDocumentsList.apply(this, arguments);
5290
5315
  }
5291
5316
 
@@ -5347,7 +5372,7 @@ var OroClient = /*#__PURE__*/function () {
5347
5372
  }, _callee51, this);
5348
5373
  }));
5349
5374
 
5350
- function recoverPrivateKeyFromSecurityQuestions(_x115, _x116, _x117, _x118) {
5375
+ function recoverPrivateKeyFromSecurityQuestions(_x116, _x117, _x118, _x119) {
5351
5376
  return _recoverPrivateKeyFromSecurityQuestions.apply(this, arguments);
5352
5377
  }
5353
5378
 
@@ -5395,7 +5420,7 @@ var OroClient = /*#__PURE__*/function () {
5395
5420
  }, _callee52, this);
5396
5421
  }));
5397
5422
 
5398
- function recoverPrivateKeyFromPassword(_x119, _x120) {
5423
+ function recoverPrivateKeyFromPassword(_x120, _x121) {
5399
5424
  return _recoverPrivateKeyFromPassword.apply(this, arguments);
5400
5425
  }
5401
5426
 
@@ -5435,7 +5460,7 @@ var OroClient = /*#__PURE__*/function () {
5435
5460
  }, _callee53, this);
5436
5461
  }));
5437
5462
 
5438
- function recoverPrivateKeyFromMasterKey(_x121, _x122) {
5463
+ function recoverPrivateKeyFromMasterKey(_x122, _x123) {
5439
5464
  return _recoverPrivateKeyFromMasterKey.apply(this, arguments);
5440
5465
  }
5441
5466
 
@@ -5486,7 +5511,7 @@ var OroClient = /*#__PURE__*/function () {
5486
5511
  }, _callee54, this);
5487
5512
  }));
5488
5513
 
5489
- function updateSecurityQuestions(_x123, _x124, _x125, _x126) {
5514
+ function updateSecurityQuestions(_x124, _x125, _x126, _x127) {
5490
5515
  return _updateSecurityQuestions.apply(this, arguments);
5491
5516
  }
5492
5517
 
@@ -5551,7 +5576,7 @@ var OroClient = /*#__PURE__*/function () {
5551
5576
  }, _callee55, this);
5552
5577
  }));
5553
5578
 
5554
- function updatePassword(_x127, _x128, _x129) {
5579
+ function updatePassword(_x128, _x129, _x130) {
5555
5580
  return _updatePassword.apply(this, arguments);
5556
5581
  }
5557
5582
 
@@ -5613,7 +5638,7 @@ var OroClient = /*#__PURE__*/function () {
5613
5638
  }, _callee56, this);
5614
5639
  }));
5615
5640
 
5616
- function updateMasterKey(_x130, _x131, _x132) {
5641
+ function updateMasterKey(_x131, _x132, _x133) {
5617
5642
  return _updateMasterKey.apply(this, arguments);
5618
5643
  }
5619
5644