oro-sdk 3.6.0 → 3.6.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -2830,6 +2830,7 @@ var OroClient = /*#__PURE__*/function () {
2830
2830
  * @param consult
2831
2831
  * @param workflow
2832
2832
  * @param recoveryQA
2833
+ * @param indexSearch create search index for the consultation if true
2833
2834
  * @returns
2834
2835
  */
2835
2836
  ;
@@ -2837,22 +2838,26 @@ var OroClient = /*#__PURE__*/function () {
2837
2838
  _proto.registerPatient =
2838
2839
  /*#__PURE__*/
2839
2840
  function () {
2840
- 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) {
2841
2842
  return runtime_1.wrap(function _callee7$(_context7) {
2842
2843
  while (1) {
2843
2844
  switch (_context7.prev = _context7.next) {
2844
2845
  case 0:
2846
+ if (indexSearch === void 0) {
2847
+ indexSearch = true;
2848
+ }
2849
+
2845
2850
  if (this.rsa) {
2846
- _context7.next = 2;
2851
+ _context7.next = 3;
2847
2852
  break;
2848
2853
  }
2849
2854
 
2850
2855
  throw IncompleteAuthentication;
2851
2856
 
2852
- case 2:
2853
- return _context7.abrupt("return", registerPatient(patientUuid, consult, workflow, this, this.toolbox.uuid(), recoveryQA));
2854
-
2855
2857
  case 3:
2858
+ return _context7.abrupt("return", registerPatient(patientUuid, consult, workflow, this, this.toolbox.uuid(), recoveryQA, indexSearch));
2859
+
2860
+ case 4:
2856
2861
  case "end":
2857
2862
  return _context7.stop();
2858
2863
  }
@@ -2860,7 +2865,7 @@ var OroClient = /*#__PURE__*/function () {
2860
2865
  }, _callee7, this);
2861
2866
  }));
2862
2867
 
2863
- function registerPatient$1(_x13, _x14, _x15, _x16) {
2868
+ function registerPatient$1(_x13, _x14, _x15, _x16, _x17) {
2864
2869
  return _registerPatient2.apply(this, arguments);
2865
2870
  }
2866
2871
 
@@ -2906,7 +2911,7 @@ var OroClient = /*#__PURE__*/function () {
2906
2911
  }, _callee8, this);
2907
2912
  }));
2908
2913
 
2909
- function buildVaultIndex(_x17) {
2914
+ function buildVaultIndex(_x18) {
2910
2915
  return _buildVaultIndex.apply(this, arguments);
2911
2916
  }
2912
2917
 
@@ -2983,7 +2988,7 @@ var OroClient = /*#__PURE__*/function () {
2983
2988
  }, _callee9);
2984
2989
  }));
2985
2990
 
2986
- return function (_x18) {
2991
+ return function (_x19) {
2987
2992
  return _ref2.apply(this, arguments);
2988
2993
  };
2989
2994
  }())).then(function (consults) {
@@ -3135,7 +3140,7 @@ var OroClient = /*#__PURE__*/function () {
3135
3140
  }, _callee11, this);
3136
3141
  }));
3137
3142
 
3138
- function vaultIndexAdd(_x19, _x20) {
3143
+ function vaultIndexAdd(_x20, _x21) {
3139
3144
  return _vaultIndexAdd.apply(this, arguments);
3140
3145
  }
3141
3146
 
@@ -3194,7 +3199,7 @@ var OroClient = /*#__PURE__*/function () {
3194
3199
  }, _callee12, this);
3195
3200
  }));
3196
3201
 
3197
- function indexSnapshotAdd(_x21) {
3202
+ function indexSnapshotAdd(_x22) {
3198
3203
  return _indexSnapshotAdd.apply(this, arguments);
3199
3204
  }
3200
3205
 
@@ -3253,7 +3258,7 @@ var OroClient = /*#__PURE__*/function () {
3253
3258
  }, _callee13, this);
3254
3259
  }));
3255
3260
 
3256
- function grantLockbox(_x22, _x23, _x24) {
3261
+ function grantLockbox(_x23, _x24, _x25) {
3257
3262
  return _grantLockbox.apply(this, arguments);
3258
3263
  }
3259
3264
 
@@ -3325,7 +3330,7 @@ var OroClient = /*#__PURE__*/function () {
3325
3330
  }, _callee14, this);
3326
3331
  }));
3327
3332
 
3328
- function createMessageData(_x25, _x26, _x27, _x28, _x29) {
3333
+ function createMessageData(_x26, _x27, _x28, _x29, _x30) {
3329
3334
  return _createMessageData.apply(this, arguments);
3330
3335
  }
3331
3336
 
@@ -3411,7 +3416,7 @@ var OroClient = /*#__PURE__*/function () {
3411
3416
  }, _callee15, this);
3412
3417
  }));
3413
3418
 
3414
- function createMessageAttachmentData(_x30, _x31, _x32, _x33, _x34) {
3419
+ function createMessageAttachmentData(_x31, _x32, _x33, _x34, _x35) {
3415
3420
  return _createMessageAttachmentData.apply(this, arguments);
3416
3421
  }
3417
3422
 
@@ -3483,7 +3488,7 @@ var OroClient = /*#__PURE__*/function () {
3483
3488
  }, _callee16, this);
3484
3489
  }));
3485
3490
 
3486
- function createConsultationAttachmentData(_x35, _x36, _x37, _x38, _x39, _x40) {
3491
+ function createConsultationAttachmentData(_x36, _x37, _x38, _x39, _x40, _x41) {
3487
3492
  return _createConsultationAttachmentData.apply(this, arguments);
3488
3493
  }
3489
3494
 
@@ -3541,7 +3546,7 @@ var OroClient = /*#__PURE__*/function () {
3541
3546
  }, _callee17, this);
3542
3547
  }));
3543
3548
 
3544
- function createJsonData(_x41, _x42, _x43, _x44, _x45, _x46) {
3549
+ function createJsonData(_x42, _x43, _x44, _x45, _x46, _x47) {
3545
3550
  return _createJsonData.apply(this, arguments);
3546
3551
  }
3547
3552
 
@@ -3604,7 +3609,7 @@ var OroClient = /*#__PURE__*/function () {
3604
3609
  }, _callee18, this);
3605
3610
  }));
3606
3611
 
3607
- function getOrInsertJsonData(_x47, _x48, _x49, _x50, _x51) {
3612
+ function getOrInsertJsonData(_x48, _x49, _x50, _x51, _x52) {
3608
3613
  return _getOrInsertJsonData.apply(this, arguments);
3609
3614
  }
3610
3615
 
@@ -3662,7 +3667,7 @@ var OroClient = /*#__PURE__*/function () {
3662
3667
  }, _callee19, this);
3663
3668
  }));
3664
3669
 
3665
- function createBytesData(_x52, _x53, _x54, _x55, _x56, _x57) {
3670
+ function createBytesData(_x53, _x54, _x55, _x56, _x57, _x58) {
3666
3671
  return _createBytesData.apply(this, arguments);
3667
3672
  }
3668
3673
 
@@ -3716,7 +3721,7 @@ var OroClient = /*#__PURE__*/function () {
3716
3721
  }, _callee20, this);
3717
3722
  }));
3718
3723
 
3719
- function getJsonData(_x58, _x59, _x60) {
3724
+ function getJsonData(_x59, _x60, _x61) {
3720
3725
  return _getJsonData.apply(this, arguments);
3721
3726
  }
3722
3727
 
@@ -3766,7 +3771,7 @@ var OroClient = /*#__PURE__*/function () {
3766
3771
  }, _callee21, this);
3767
3772
  }));
3768
3773
 
3769
- function getBytesData(_x61, _x62, _x63) {
3774
+ function getBytesData(_x62, _x63, _x64) {
3770
3775
  return _getBytesData.apply(this, arguments);
3771
3776
  }
3772
3777
 
@@ -3889,7 +3894,7 @@ var OroClient = /*#__PURE__*/function () {
3889
3894
  }, _callee22, this);
3890
3895
  }));
3891
3896
 
3892
- function getGrants(_x64, _x65) {
3897
+ function getGrants(_x65, _x66) {
3893
3898
  return _getGrants.apply(this, arguments);
3894
3899
  }
3895
3900
 
@@ -3954,7 +3959,7 @@ var OroClient = /*#__PURE__*/function () {
3954
3959
  }, _callee23, this);
3955
3960
  }));
3956
3961
 
3957
- function getCachedSecretCryptor(_x66, _x67) {
3962
+ function getCachedSecretCryptor(_x67, _x68) {
3958
3963
  return _getCachedSecretCryptor.apply(this, arguments);
3959
3964
  }
3960
3965
 
@@ -3993,7 +3998,7 @@ var OroClient = /*#__PURE__*/function () {
3993
3998
  }, _callee24, this);
3994
3999
  }));
3995
4000
 
3996
- function getPersonalInformationsFromConsultId(_x68, _x69, _x70) {
4001
+ function getPersonalInformationsFromConsultId(_x69, _x70, _x71) {
3997
4002
  return _getPersonalInformationsFromConsultId.apply(this, arguments);
3998
4003
  }
3999
4004
 
@@ -4031,7 +4036,7 @@ var OroClient = /*#__PURE__*/function () {
4031
4036
  }, _callee25, this);
4032
4037
  }));
4033
4038
 
4034
- function getMedicalDataFromConsultId(_x71, _x72) {
4039
+ function getMedicalDataFromConsultId(_x72, _x73) {
4035
4040
  return _getMedicalDataFromConsultId.apply(this, arguments);
4036
4041
  }
4037
4042
 
@@ -4124,7 +4129,7 @@ var OroClient = /*#__PURE__*/function () {
4124
4129
  }, _callee26);
4125
4130
  }));
4126
4131
 
4127
- return function (_x76) {
4132
+ return function (_x77) {
4128
4133
  return _ref3.apply(this, arguments);
4129
4134
  };
4130
4135
  }()));
@@ -4165,7 +4170,7 @@ var OroClient = /*#__PURE__*/function () {
4165
4170
  }, _callee27, this);
4166
4171
  }));
4167
4172
 
4168
- function getMetaCategoryFromConsultId(_x73, _x74, _x75) {
4173
+ function getMetaCategoryFromConsultId(_x74, _x75, _x76) {
4169
4174
  return _getMetaCategoryFromConsultId.apply(this, arguments);
4170
4175
  }
4171
4176
 
@@ -4252,7 +4257,7 @@ var OroClient = /*#__PURE__*/function () {
4252
4257
  }, _callee28, this);
4253
4258
  }));
4254
4259
 
4255
- function getPersonalInformations(_x77) {
4260
+ function getPersonalInformations(_x78) {
4256
4261
  return _getPersonalInformations.apply(this, arguments);
4257
4262
  }
4258
4263
 
@@ -4301,7 +4306,7 @@ var OroClient = /*#__PURE__*/function () {
4301
4306
  }, _callee29, this);
4302
4307
  }));
4303
4308
 
4304
- function getGrantFromConsultId(_x78) {
4309
+ function getGrantFromConsultId(_x79) {
4305
4310
  return _getGrantFromConsultId.apply(this, arguments);
4306
4311
  }
4307
4312
 
@@ -4351,7 +4356,7 @@ var OroClient = /*#__PURE__*/function () {
4351
4356
  }, _callee30, this);
4352
4357
  }));
4353
4358
 
4354
- function getIdentityFromConsultId(_x79) {
4359
+ function getIdentityFromConsultId(_x80) {
4355
4360
  return _getIdentityFromConsultId.apply(this, arguments);
4356
4361
  }
4357
4362
 
@@ -4430,7 +4435,7 @@ var OroClient = /*#__PURE__*/function () {
4430
4435
  }, _callee31);
4431
4436
  }));
4432
4437
 
4433
- return function (_x85) {
4438
+ return function (_x86) {
4434
4439
  return _ref4.apply(this, arguments);
4435
4440
  };
4436
4441
  }())).then(function (manifest) {
@@ -4446,7 +4451,7 @@ var OroClient = /*#__PURE__*/function () {
4446
4451
  }, _callee32, this);
4447
4452
  }));
4448
4453
 
4449
- function getLockboxManifest(_x80, _x81, _x82, _x83, _x84) {
4454
+ function getLockboxManifest(_x81, _x82, _x83, _x84, _x85) {
4450
4455
  return _getLockboxManifest.apply(this, arguments);
4451
4456
  }
4452
4457
 
@@ -4516,7 +4521,7 @@ var OroClient = /*#__PURE__*/function () {
4516
4521
  }, _callee33, this);
4517
4522
  }));
4518
4523
 
4519
- function createPersonalInformations(_x86, _x87, _x88) {
4524
+ function createPersonalInformations(_x87, _x88, _x89) {
4520
4525
  return _createPersonalInformations.apply(this, arguments);
4521
4526
  }
4522
4527
 
@@ -4586,7 +4591,7 @@ var OroClient = /*#__PURE__*/function () {
4586
4591
  }, _callee34, this);
4587
4592
  }));
4588
4593
 
4589
- function createUserPreference(_x89, _x90, _x91) {
4594
+ function createUserPreference(_x90, _x91, _x92) {
4590
4595
  return _createUserPreference.apply(this, arguments);
4591
4596
  }
4592
4597
 
@@ -4654,7 +4659,7 @@ var OroClient = /*#__PURE__*/function () {
4654
4659
  }, _callee35, this);
4655
4660
  }));
4656
4661
 
4657
- function getDataFromGrant(_x92, _x93) {
4662
+ function getDataFromGrant(_x93, _x94) {
4658
4663
  return _getDataFromGrant.apply(this, arguments);
4659
4664
  }
4660
4665
 
@@ -4703,7 +4708,7 @@ var OroClient = /*#__PURE__*/function () {
4703
4708
  }, _callee36, this);
4704
4709
  }));
4705
4710
 
4706
- function getUserPreferenceFromConsultId(_x94) {
4711
+ function getUserPreferenceFromConsultId(_x95) {
4707
4712
  return _getUserPreferenceFromConsultId.apply(this, arguments);
4708
4713
  }
4709
4714
 
@@ -4754,7 +4759,7 @@ var OroClient = /*#__PURE__*/function () {
4754
4759
  }, _callee37, this);
4755
4760
  }));
4756
4761
 
4757
- function getUserPreference(_x95) {
4762
+ function getUserPreference(_x96) {
4758
4763
  return _getUserPreference.apply(this, arguments);
4759
4764
  }
4760
4765
 
@@ -4803,7 +4808,7 @@ var OroClient = /*#__PURE__*/function () {
4803
4808
  }, _callee38, this);
4804
4809
  }));
4805
4810
 
4806
- function getRecoveryDataFromConsultId(_x96) {
4811
+ function getRecoveryDataFromConsultId(_x97) {
4807
4812
  return _getRecoveryDataFromConsultId.apply(this, arguments);
4808
4813
  }
4809
4814
 
@@ -4854,7 +4859,7 @@ var OroClient = /*#__PURE__*/function () {
4854
4859
  }, _callee39, this);
4855
4860
  }));
4856
4861
 
4857
- function getRecoveryData(_x97) {
4862
+ function getRecoveryData(_x98) {
4858
4863
  return _getRecoveryData.apply(this, arguments);
4859
4864
  }
4860
4865
 
@@ -4916,7 +4921,7 @@ var OroClient = /*#__PURE__*/function () {
4916
4921
  }, _callee40);
4917
4922
  }));
4918
4923
 
4919
- return function (_x100) {
4924
+ return function (_x101) {
4920
4925
  return _ref5.apply(this, arguments);
4921
4926
  };
4922
4927
  }())).then(function (promise) {
@@ -4936,7 +4941,7 @@ var OroClient = /*#__PURE__*/function () {
4936
4941
  }, _callee41, this);
4937
4942
  }));
4938
4943
 
4939
- function getAssignedConsultations(_x98, _x99) {
4944
+ function getAssignedConsultations(_x99, _x100) {
4940
4945
  return _getAssignedConsultations.apply(this, arguments);
4941
4946
  }
4942
4947
 
@@ -5014,7 +5019,7 @@ var OroClient = /*#__PURE__*/function () {
5014
5019
  }, _callee42);
5015
5020
  }));
5016
5021
 
5017
- return function (_x103) {
5022
+ return function (_x104) {
5018
5023
  return _ref6.apply(this, arguments);
5019
5024
  };
5020
5025
  }()));
@@ -5030,7 +5035,7 @@ var OroClient = /*#__PURE__*/function () {
5030
5035
  }, _callee43, this);
5031
5036
  }));
5032
5037
 
5033
- function getPastConsultationsFromConsultId(_x101, _x102) {
5038
+ function getPastConsultationsFromConsultId(_x102, _x103) {
5034
5039
  return _getPastConsultationsFromConsultId.apply(this, arguments);
5035
5040
  }
5036
5041
 
@@ -5088,7 +5093,7 @@ var OroClient = /*#__PURE__*/function () {
5088
5093
  }, _callee44, this);
5089
5094
  }));
5090
5095
 
5091
- function getPatientConsultationData(_x104, _x105) {
5096
+ function getPatientConsultationData(_x105, _x106) {
5092
5097
  return _getPatientConsultationData.apply(this, arguments);
5093
5098
  }
5094
5099
 
@@ -5122,7 +5127,7 @@ var OroClient = /*#__PURE__*/function () {
5122
5127
  }, _callee45, this);
5123
5128
  }));
5124
5129
 
5125
- function getPatientPrescriptionsList(_x106) {
5130
+ function getPatientPrescriptionsList(_x107) {
5126
5131
  return _getPatientPrescriptionsList.apply(this, arguments);
5127
5132
  }
5128
5133
 
@@ -5156,7 +5161,7 @@ var OroClient = /*#__PURE__*/function () {
5156
5161
  }, _callee46, this);
5157
5162
  }));
5158
5163
 
5159
- function getPatientResultsList(_x107) {
5164
+ function getPatientResultsList(_x108) {
5160
5165
  return _getPatientResultsList.apply(this, arguments);
5161
5166
  }
5162
5167
 
@@ -5190,7 +5195,7 @@ var OroClient = /*#__PURE__*/function () {
5190
5195
  }, _callee47, this);
5191
5196
  }));
5192
5197
 
5193
- function getPatientTreatmentPlans(_x108) {
5198
+ function getPatientTreatmentPlans(_x109) {
5194
5199
  return _getPatientTreatmentPlans.apply(this, arguments);
5195
5200
  }
5196
5201
 
@@ -5226,7 +5231,7 @@ var OroClient = /*#__PURE__*/function () {
5226
5231
  }, _callee48, this);
5227
5232
  }));
5228
5233
 
5229
- function getPatientTreatmentPlanByUuid(_x109, _x110) {
5234
+ function getPatientTreatmentPlanByUuid(_x110, _x111) {
5230
5235
  return _getPatientTreatmentPlanByUuid.apply(this, arguments);
5231
5236
  }
5232
5237
 
@@ -5283,7 +5288,7 @@ var OroClient = /*#__PURE__*/function () {
5283
5288
  }, _callee49);
5284
5289
  }));
5285
5290
 
5286
- return function (_x114) {
5291
+ return function (_x115) {
5287
5292
  return _ref7.apply(this, arguments);
5288
5293
  };
5289
5294
  }()));
@@ -5301,7 +5306,7 @@ var OroClient = /*#__PURE__*/function () {
5301
5306
  }, _callee50, this);
5302
5307
  }));
5303
5308
 
5304
- function getPatientDocumentsList(_x111, _x112, _x113) {
5309
+ function getPatientDocumentsList(_x112, _x113, _x114) {
5305
5310
  return _getPatientDocumentsList.apply(this, arguments);
5306
5311
  }
5307
5312
 
@@ -5363,7 +5368,7 @@ var OroClient = /*#__PURE__*/function () {
5363
5368
  }, _callee51, this);
5364
5369
  }));
5365
5370
 
5366
- function recoverPrivateKeyFromSecurityQuestions(_x115, _x116, _x117, _x118) {
5371
+ function recoverPrivateKeyFromSecurityQuestions(_x116, _x117, _x118, _x119) {
5367
5372
  return _recoverPrivateKeyFromSecurityQuestions.apply(this, arguments);
5368
5373
  }
5369
5374
 
@@ -5411,7 +5416,7 @@ var OroClient = /*#__PURE__*/function () {
5411
5416
  }, _callee52, this);
5412
5417
  }));
5413
5418
 
5414
- function recoverPrivateKeyFromPassword(_x119, _x120) {
5419
+ function recoverPrivateKeyFromPassword(_x120, _x121) {
5415
5420
  return _recoverPrivateKeyFromPassword.apply(this, arguments);
5416
5421
  }
5417
5422
 
@@ -5451,7 +5456,7 @@ var OroClient = /*#__PURE__*/function () {
5451
5456
  }, _callee53, this);
5452
5457
  }));
5453
5458
 
5454
- function recoverPrivateKeyFromMasterKey(_x121, _x122) {
5459
+ function recoverPrivateKeyFromMasterKey(_x122, _x123) {
5455
5460
  return _recoverPrivateKeyFromMasterKey.apply(this, arguments);
5456
5461
  }
5457
5462
 
@@ -5502,7 +5507,7 @@ var OroClient = /*#__PURE__*/function () {
5502
5507
  }, _callee54, this);
5503
5508
  }));
5504
5509
 
5505
- function updateSecurityQuestions(_x123, _x124, _x125, _x126) {
5510
+ function updateSecurityQuestions(_x124, _x125, _x126, _x127) {
5506
5511
  return _updateSecurityQuestions.apply(this, arguments);
5507
5512
  }
5508
5513
 
@@ -5567,7 +5572,7 @@ var OroClient = /*#__PURE__*/function () {
5567
5572
  }, _callee55, this);
5568
5573
  }));
5569
5574
 
5570
- function updatePassword(_x127, _x128, _x129) {
5575
+ function updatePassword(_x128, _x129, _x130) {
5571
5576
  return _updatePassword.apply(this, arguments);
5572
5577
  }
5573
5578
 
@@ -5629,7 +5634,7 @@ var OroClient = /*#__PURE__*/function () {
5629
5634
  }, _callee56, this);
5630
5635
  }));
5631
5636
 
5632
- function updateMasterKey(_x130, _x131, _x132) {
5637
+ function updateMasterKey(_x131, _x132, _x133) {
5633
5638
  return _updateMasterKey.apply(this, arguments);
5634
5639
  }
5635
5640