oro-sdk 5.0.1 → 5.1.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/LICENSE +21 -0
- package/dist/client.d.ts +11 -7
- package/dist/oro-sdk.cjs.development.js +122 -86
- package/dist/oro-sdk.cjs.development.js.map +1 -1
- package/dist/oro-sdk.cjs.production.min.js +1 -1
- package/dist/oro-sdk.cjs.production.min.js.map +1 -1
- package/dist/oro-sdk.esm.js +122 -86
- package/dist/oro-sdk.esm.js.map +1 -1
- package/package.json +3 -3
- package/src/client.ts +57 -34
- package/src/helpers/patient-registration.ts +72 -52
@@ -372,13 +372,7 @@ function _wrapRegExp() {
|
|
372
372
|
var g = _groups.get(re);
|
373
373
|
|
374
374
|
return Object.keys(g).reduce(function (groups, name) {
|
375
|
-
|
376
|
-
if ("number" == typeof i) groups[name] = result[i];else {
|
377
|
-
for (var k = 0; void 0 === result[i[k]] && k + 1 < i.length;) k++;
|
378
|
-
|
379
|
-
groups[name] = result[i[k]];
|
380
|
-
}
|
381
|
-
return groups;
|
375
|
+
return groups[name] = result[g[name]], groups;
|
382
376
|
}, Object.create(null));
|
383
377
|
}
|
384
378
|
|
@@ -445,7 +439,7 @@ function _asyncToGenerator(fn) {
|
|
445
439
|
}
|
446
440
|
|
447
441
|
function _extends() {
|
448
|
-
_extends = Object.assign
|
442
|
+
_extends = Object.assign || function (target) {
|
449
443
|
for (var i = 1; i < arguments.length; i++) {
|
450
444
|
var source = arguments[i];
|
451
445
|
|
@@ -458,6 +452,7 @@ function _extends() {
|
|
458
452
|
|
459
453
|
return target;
|
460
454
|
};
|
455
|
+
|
461
456
|
return _extends.apply(this, arguments);
|
462
457
|
}
|
463
458
|
|
@@ -487,17 +482,18 @@ function _inheritsLoose(subClass, superClass) {
|
|
487
482
|
}
|
488
483
|
|
489
484
|
function _getPrototypeOf(o) {
|
490
|
-
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf
|
485
|
+
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
491
486
|
return o.__proto__ || Object.getPrototypeOf(o);
|
492
487
|
};
|
493
488
|
return _getPrototypeOf(o);
|
494
489
|
}
|
495
490
|
|
496
491
|
function _setPrototypeOf(o, p) {
|
497
|
-
_setPrototypeOf = Object.setPrototypeOf
|
492
|
+
_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
|
498
493
|
o.__proto__ = p;
|
499
494
|
return o;
|
500
495
|
};
|
496
|
+
|
501
497
|
return _setPrototypeOf(o, p);
|
502
498
|
}
|
503
499
|
|
@@ -516,7 +512,7 @@ function _isNativeReflectConstruct() {
|
|
516
512
|
|
517
513
|
function _construct(Parent, args, Class) {
|
518
514
|
if (_isNativeReflectConstruct()) {
|
519
|
-
_construct = Reflect.construct
|
515
|
+
_construct = Reflect.construct;
|
520
516
|
} else {
|
521
517
|
_construct = function _construct(Parent, args, Class) {
|
522
518
|
var a = [null];
|
@@ -631,7 +627,7 @@ var personalMetaToPrefix = (_personalMetaToPrefix = {}, _personalMetaToPrefix[in
|
|
631
627
|
*/
|
632
628
|
|
633
629
|
function identificationToPersonalInformations(data, category) {
|
634
|
-
var _data
|
630
|
+
var _data$;
|
635
631
|
|
636
632
|
var prefix = personalMetaToPrefix[category];
|
637
633
|
return {
|
@@ -641,7 +637,7 @@ function identificationToPersonalInformations(data, category) {
|
|
641
637
|
name: data[prefix + "Name"],
|
642
638
|
phone: data[prefix + "Phone"],
|
643
639
|
zip: data[prefix + "Zip"],
|
644
|
-
hid: (_data = data[prefix + "HID"]) != null ? _data : data[prefix + "ID"],
|
640
|
+
hid: (_data$ = data[prefix + "HID"]) != null ? _data$ : data[prefix + "ID"],
|
645
641
|
pharmacy: data[prefix + "Pharmacy"],
|
646
642
|
address: data[prefix + "Address"]
|
647
643
|
};
|
@@ -1732,7 +1728,8 @@ function _storePatientData() {
|
|
1732
1728
|
consultationId: consultationId
|
1733
1729
|
}, {
|
1734
1730
|
consultationId: consultationId
|
1735
|
-
}
|
1731
|
+
}, false, true // the only data that needs to include an email notification
|
1732
|
+
);
|
1736
1733
|
}), getWorkflowDataByCategory(workflow, initApis.MetadataCategory.Medical).then(function (data) {
|
1737
1734
|
return oroClient.getOrInsertJsonData(lockboxUuid, data, {
|
1738
1735
|
category: initApis.MetadataCategory.Medical,
|
@@ -2914,6 +2911,7 @@ var OroClient = /*#__PURE__*/function () {
|
|
2914
2911
|
* @param category the category for the attachment data
|
2915
2912
|
* @param lockboxOwnerUuid the lockbox owner (ignored if lockbox is owned by self)
|
2916
2913
|
* @param previousDataUuid if it's a revision of existing file, specify the previous data uuid
|
2914
|
+
* @param withNotification if the insertion of data requires notification
|
2917
2915
|
* @returns the data uuid
|
2918
2916
|
*/
|
2919
2917
|
;
|
@@ -2921,26 +2919,30 @@ var OroClient = /*#__PURE__*/function () {
|
|
2921
2919
|
_proto.createConsultationAttachmentData =
|
2922
2920
|
/*#__PURE__*/
|
2923
2921
|
function () {
|
2924
|
-
var _createConsultationAttachmentData = /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee14(lockboxUuid, data, consultationId, documentType, lockboxOwnerUuid, previousDataUuid) {
|
2922
|
+
var _createConsultationAttachmentData = /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee14(lockboxUuid, data, consultationId, documentType, lockboxOwnerUuid, previousDataUuid, withNotification) {
|
2925
2923
|
return _regeneratorRuntime().wrap(function _callee14$(_context14) {
|
2926
2924
|
while (1) {
|
2927
2925
|
switch (_context14.prev = _context14.next) {
|
2928
2926
|
case 0:
|
2927
|
+
if (withNotification === void 0) {
|
2928
|
+
withNotification = false;
|
2929
|
+
}
|
2930
|
+
|
2929
2931
|
if (this.rsa) {
|
2930
|
-
_context14.next =
|
2932
|
+
_context14.next = 3;
|
2931
2933
|
break;
|
2932
2934
|
}
|
2933
2935
|
|
2934
2936
|
throw IncompleteAuthentication;
|
2935
2937
|
|
2936
|
-
case
|
2938
|
+
case 3:
|
2937
2939
|
_context14.t0 = this;
|
2938
2940
|
_context14.t1 = lockboxUuid;
|
2939
2941
|
_context14.t2 = Uint8Array;
|
2940
|
-
_context14.next =
|
2942
|
+
_context14.next = 8;
|
2941
2943
|
return data.arrayBuffer();
|
2942
2944
|
|
2943
|
-
case
|
2945
|
+
case 8:
|
2944
2946
|
_context14.t3 = _context14.sent;
|
2945
2947
|
_context14.t4 = new _context14.t2(_context14.t3);
|
2946
2948
|
_context14.t5 = {
|
@@ -2949,10 +2951,10 @@ var OroClient = /*#__PURE__*/function () {
|
|
2949
2951
|
documentType: documentType,
|
2950
2952
|
contentType: data.type
|
2951
2953
|
};
|
2952
|
-
_context14.next =
|
2954
|
+
_context14.next = 13;
|
2953
2955
|
return this.guardClient.whoAmI();
|
2954
2956
|
|
2955
|
-
case
|
2957
|
+
case 13:
|
2956
2958
|
_context14.t6 = _context14.sent.sub;
|
2957
2959
|
_context14.t7 = data.name;
|
2958
2960
|
_context14.t8 = {
|
@@ -2961,9 +2963,10 @@ var OroClient = /*#__PURE__*/function () {
|
|
2961
2963
|
};
|
2962
2964
|
_context14.t9 = lockboxOwnerUuid;
|
2963
2965
|
_context14.t10 = previousDataUuid;
|
2964
|
-
|
2966
|
+
_context14.t11 = withNotification;
|
2967
|
+
return _context14.abrupt("return", _context14.t0.createBytesData.call(_context14.t0, _context14.t1, _context14.t4, _context14.t5, _context14.t8, _context14.t9, _context14.t10, _context14.t11));
|
2965
2968
|
|
2966
|
-
case
|
2969
|
+
case 20:
|
2967
2970
|
case "end":
|
2968
2971
|
return _context14.stop();
|
2969
2972
|
}
|
@@ -2971,7 +2974,7 @@ var OroClient = /*#__PURE__*/function () {
|
|
2971
2974
|
}, _callee14, this);
|
2972
2975
|
}));
|
2973
2976
|
|
2974
|
-
function createConsultationAttachmentData(_x35, _x36, _x37, _x38, _x39, _x40) {
|
2977
|
+
function createConsultationAttachmentData(_x35, _x36, _x37, _x38, _x39, _x40, _x41) {
|
2975
2978
|
return _createConsultationAttachmentData.apply(this, arguments);
|
2976
2979
|
}
|
2977
2980
|
|
@@ -2986,6 +2989,7 @@ var OroClient = /*#__PURE__*/function () {
|
|
2986
2989
|
* @param privateMeta the metadata that will be secured in the vault
|
2987
2990
|
* @param lockboxOwnerUuid the lockbox owner (ignored if lockbox is owned by self)
|
2988
2991
|
* @param previousDataUuid if it's a revision of existing data, specify the previous data uuid
|
2992
|
+
* @param withNotification if the insertion of data requires notification
|
2989
2993
|
* @returns the data uuid
|
2990
2994
|
*/
|
2991
2995
|
;
|
@@ -2993,24 +2997,28 @@ var OroClient = /*#__PURE__*/function () {
|
|
2993
2997
|
_proto.createJsonData =
|
2994
2998
|
/*#__PURE__*/
|
2995
2999
|
function () {
|
2996
|
-
var _createJsonData = /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee15(lockboxUuid, data, meta, privateMeta, lockboxOwnerUuid, previousDataUuid) {
|
3000
|
+
var _createJsonData = /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee15(lockboxUuid, data, meta, privateMeta, lockboxOwnerUuid, previousDataUuid, withNotification) {
|
2997
3001
|
var symmetricEncryptor, encryptedData, encryptedPrivateMeta, request;
|
2998
3002
|
return _regeneratorRuntime().wrap(function _callee15$(_context15) {
|
2999
3003
|
while (1) {
|
3000
3004
|
switch (_context15.prev = _context15.next) {
|
3001
3005
|
case 0:
|
3006
|
+
if (withNotification === void 0) {
|
3007
|
+
withNotification = false;
|
3008
|
+
}
|
3009
|
+
|
3002
3010
|
if (this.rsa) {
|
3003
|
-
_context15.next =
|
3011
|
+
_context15.next = 3;
|
3004
3012
|
break;
|
3005
3013
|
}
|
3006
3014
|
|
3007
3015
|
throw IncompleteAuthentication;
|
3008
3016
|
|
3009
|
-
case
|
3010
|
-
_context15.next =
|
3017
|
+
case 3:
|
3018
|
+
_context15.next = 5;
|
3011
3019
|
return this.getCachedSecretCryptor(lockboxUuid, lockboxOwnerUuid);
|
3012
3020
|
|
3013
|
-
case
|
3021
|
+
case 5:
|
3014
3022
|
symmetricEncryptor = _context15.sent;
|
3015
3023
|
encryptedData = symmetricEncryptor.jsonEncryptToBase64Payload(data);
|
3016
3024
|
encryptedPrivateMeta = symmetricEncryptor.jsonEncryptToBase64Payload(privateMeta);
|
@@ -3019,9 +3027,18 @@ var OroClient = /*#__PURE__*/function () {
|
|
3019
3027
|
publicMetadata: meta,
|
3020
3028
|
privateMetadata: encryptedPrivateMeta
|
3021
3029
|
};
|
3030
|
+
|
3031
|
+
if (!withNotification) {
|
3032
|
+
_context15.next = 13;
|
3033
|
+
break;
|
3034
|
+
}
|
3035
|
+
|
3022
3036
|
return _context15.abrupt("return", this.tellerClient.lockboxDataStore(lockboxUuid, request, lockboxOwnerUuid, previousDataUuid));
|
3023
3037
|
|
3024
|
-
case
|
3038
|
+
case 13:
|
3039
|
+
return _context15.abrupt("return", this.vaultClient.lockboxDataStore(lockboxUuid, request, lockboxOwnerUuid, previousDataUuid));
|
3040
|
+
|
3041
|
+
case 14:
|
3025
3042
|
case "end":
|
3026
3043
|
return _context15.stop();
|
3027
3044
|
}
|
@@ -3029,7 +3046,7 @@ var OroClient = /*#__PURE__*/function () {
|
|
3029
3046
|
}, _callee15, this);
|
3030
3047
|
}));
|
3031
3048
|
|
3032
|
-
function createJsonData(
|
3049
|
+
function createJsonData(_x42, _x43, _x44, _x45, _x46, _x47, _x48) {
|
3033
3050
|
return _createJsonData.apply(this, arguments);
|
3034
3051
|
}
|
3035
3052
|
|
@@ -3042,6 +3059,7 @@ var OroClient = /*#__PURE__*/function () {
|
|
3042
3059
|
* @param publicMetadata the public Metadata
|
3043
3060
|
* @param privateMetadata the private Metadata
|
3044
3061
|
* @param forceReplace set true when the insertion of data requires to replace the data when it exists already
|
3062
|
+
* @param withNotification if the insertion of data requires notification
|
3045
3063
|
* @returns the data uuid
|
3046
3064
|
*/
|
3047
3065
|
;
|
@@ -3049,7 +3067,7 @@ var OroClient = /*#__PURE__*/function () {
|
|
3049
3067
|
_proto.getOrInsertJsonData =
|
3050
3068
|
/*#__PURE__*/
|
3051
3069
|
function () {
|
3052
|
-
var _getOrInsertJsonData = /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee16(lockboxUuid, data, publicMetadata, privateMetadata, forceReplace) {
|
3070
|
+
var _getOrInsertJsonData = /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee16(lockboxUuid, data, publicMetadata, privateMetadata, forceReplace, withNotification) {
|
3053
3071
|
var manifest;
|
3054
3072
|
return _regeneratorRuntime().wrap(function _callee16$(_context16) {
|
3055
3073
|
while (1) {
|
@@ -3059,32 +3077,36 @@ var OroClient = /*#__PURE__*/function () {
|
|
3059
3077
|
forceReplace = false;
|
3060
3078
|
}
|
3061
3079
|
|
3062
|
-
|
3080
|
+
if (withNotification === void 0) {
|
3081
|
+
withNotification = false;
|
3082
|
+
}
|
3083
|
+
|
3084
|
+
_context16.next = 4;
|
3063
3085
|
return this.vaultClient.lockboxManifestGet(lockboxUuid, publicMetadata);
|
3064
3086
|
|
3065
|
-
case
|
3087
|
+
case 4:
|
3066
3088
|
manifest = _context16.sent;
|
3067
3089
|
|
3068
3090
|
if (!(!forceReplace && manifest.length > 0)) {
|
3069
|
-
_context16.next =
|
3091
|
+
_context16.next = 10;
|
3070
3092
|
break;
|
3071
3093
|
}
|
3072
3094
|
|
3073
3095
|
console.log("The data for " + JSON.stringify(publicMetadata) + " already exist");
|
3074
3096
|
return _context16.abrupt("return", manifest[0].dataUuid);
|
3075
3097
|
|
3076
|
-
case
|
3077
|
-
_context16.next =
|
3078
|
-
return this.createJsonData(lockboxUuid, data, publicMetadata, privateMetadata, undefined, forceReplace && manifest.length > 0 ? manifest[0].dataUuid : undefined // if forceReplace and data already exist, then replace data. Otherwise insert it
|
3079
|
-
)["catch"](function (err) {
|
3098
|
+
case 10:
|
3099
|
+
_context16.next = 12;
|
3100
|
+
return this.createJsonData(lockboxUuid, data, publicMetadata, privateMetadata, undefined, forceReplace && manifest.length > 0 ? manifest[0].dataUuid : undefined, // if forceReplace and data already exist, then replace data. Otherwise insert it
|
3101
|
+
withNotification)["catch"](function (err) {
|
3080
3102
|
console.error("Error while upserting data " + JSON.stringify(publicMetadata) + " data", err);
|
3081
3103
|
throw err;
|
3082
3104
|
});
|
3083
3105
|
|
3084
|
-
case
|
3106
|
+
case 12:
|
3085
3107
|
return _context16.abrupt("return", _context16.sent.dataUuid);
|
3086
3108
|
|
3087
|
-
case
|
3109
|
+
case 13:
|
3088
3110
|
case "end":
|
3089
3111
|
return _context16.stop();
|
3090
3112
|
}
|
@@ -3092,7 +3114,7 @@ var OroClient = /*#__PURE__*/function () {
|
|
3092
3114
|
}, _callee16, this);
|
3093
3115
|
}));
|
3094
3116
|
|
3095
|
-
function getOrInsertJsonData(
|
3117
|
+
function getOrInsertJsonData(_x49, _x50, _x51, _x52, _x53, _x54) {
|
3096
3118
|
return _getOrInsertJsonData.apply(this, arguments);
|
3097
3119
|
}
|
3098
3120
|
|
@@ -3107,6 +3129,7 @@ var OroClient = /*#__PURE__*/function () {
|
|
3107
3129
|
* @param privateMeta the metadata that will be secured in the vault
|
3108
3130
|
* @param lockboxOwnerUuid the lockbox owner (ignored if lockbox is owned by self)
|
3109
3131
|
* @param previousDataUuid if it's a revision of existing data, specify the previous data uuid
|
3132
|
+
* @param withNotification if the insertion of data requires notification
|
3110
3133
|
* @returns the data uuid
|
3111
3134
|
*/
|
3112
3135
|
;
|
@@ -3114,24 +3137,28 @@ var OroClient = /*#__PURE__*/function () {
|
|
3114
3137
|
_proto.createBytesData =
|
3115
3138
|
/*#__PURE__*/
|
3116
3139
|
function () {
|
3117
|
-
var _createBytesData = /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee17(lockboxUuid, data, meta, privateMeta, lockboxOwnerUuid, previousDataUuid) {
|
3140
|
+
var _createBytesData = /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee17(lockboxUuid, data, meta, privateMeta, lockboxOwnerUuid, previousDataUuid, withNotification) {
|
3118
3141
|
var symmetricEncryptor, encryptedData, encryptedPrivateMeta, request;
|
3119
3142
|
return _regeneratorRuntime().wrap(function _callee17$(_context17) {
|
3120
3143
|
while (1) {
|
3121
3144
|
switch (_context17.prev = _context17.next) {
|
3122
3145
|
case 0:
|
3146
|
+
if (withNotification === void 0) {
|
3147
|
+
withNotification = false;
|
3148
|
+
}
|
3149
|
+
|
3123
3150
|
if (this.rsa) {
|
3124
|
-
_context17.next =
|
3151
|
+
_context17.next = 3;
|
3125
3152
|
break;
|
3126
3153
|
}
|
3127
3154
|
|
3128
3155
|
throw IncompleteAuthentication;
|
3129
3156
|
|
3130
|
-
case
|
3131
|
-
_context17.next =
|
3157
|
+
case 3:
|
3158
|
+
_context17.next = 5;
|
3132
3159
|
return this.getCachedSecretCryptor(lockboxUuid, lockboxOwnerUuid);
|
3133
3160
|
|
3134
|
-
case
|
3161
|
+
case 5:
|
3135
3162
|
symmetricEncryptor = _context17.sent;
|
3136
3163
|
encryptedData = symmetricEncryptor.bytesEncryptToBase64Payload(data);
|
3137
3164
|
encryptedPrivateMeta = symmetricEncryptor.jsonEncryptToBase64Payload(privateMeta);
|
@@ -3140,9 +3167,18 @@ var OroClient = /*#__PURE__*/function () {
|
|
3140
3167
|
publicMetadata: meta,
|
3141
3168
|
privateMetadata: encryptedPrivateMeta
|
3142
3169
|
};
|
3170
|
+
|
3171
|
+
if (!withNotification) {
|
3172
|
+
_context17.next = 13;
|
3173
|
+
break;
|
3174
|
+
}
|
3175
|
+
|
3143
3176
|
return _context17.abrupt("return", this.tellerClient.lockboxDataStore(lockboxUuid, request, lockboxOwnerUuid, previousDataUuid));
|
3144
3177
|
|
3145
|
-
case
|
3178
|
+
case 13:
|
3179
|
+
return _context17.abrupt("return", this.vaultClient.lockboxDataStore(lockboxUuid, request, lockboxOwnerUuid, previousDataUuid));
|
3180
|
+
|
3181
|
+
case 14:
|
3146
3182
|
case "end":
|
3147
3183
|
return _context17.stop();
|
3148
3184
|
}
|
@@ -3150,7 +3186,7 @@ var OroClient = /*#__PURE__*/function () {
|
|
3150
3186
|
}, _callee17, this);
|
3151
3187
|
}));
|
3152
3188
|
|
3153
|
-
function createBytesData(
|
3189
|
+
function createBytesData(_x55, _x56, _x57, _x58, _x59, _x60, _x61) {
|
3154
3190
|
return _createBytesData.apply(this, arguments);
|
3155
3191
|
}
|
3156
3192
|
|
@@ -3204,7 +3240,7 @@ var OroClient = /*#__PURE__*/function () {
|
|
3204
3240
|
}, _callee18, this);
|
3205
3241
|
}));
|
3206
3242
|
|
3207
|
-
function getJsonData(
|
3243
|
+
function getJsonData(_x62, _x63, _x64) {
|
3208
3244
|
return _getJsonData.apply(this, arguments);
|
3209
3245
|
}
|
3210
3246
|
|
@@ -3254,7 +3290,7 @@ var OroClient = /*#__PURE__*/function () {
|
|
3254
3290
|
}, _callee19, this);
|
3255
3291
|
}));
|
3256
3292
|
|
3257
|
-
function getBytesData(
|
3293
|
+
function getBytesData(_x65, _x66, _x67) {
|
3258
3294
|
return _getBytesData.apply(this, arguments);
|
3259
3295
|
}
|
3260
3296
|
|
@@ -3392,7 +3428,7 @@ var OroClient = /*#__PURE__*/function () {
|
|
3392
3428
|
}, _callee20, this);
|
3393
3429
|
}));
|
3394
3430
|
|
3395
|
-
function getGrants(
|
3431
|
+
function getGrants(_x68) {
|
3396
3432
|
return _getGrants.apply(this, arguments);
|
3397
3433
|
}
|
3398
3434
|
|
@@ -3492,7 +3528,7 @@ var OroClient = /*#__PURE__*/function () {
|
|
3492
3528
|
}, _callee22, this);
|
3493
3529
|
}));
|
3494
3530
|
|
3495
|
-
function getCachedSecretCryptor(
|
3531
|
+
function getCachedSecretCryptor(_x69, _x70) {
|
3496
3532
|
return _getCachedSecretCryptor.apply(this, arguments);
|
3497
3533
|
}
|
3498
3534
|
|
@@ -3531,7 +3567,7 @@ var OroClient = /*#__PURE__*/function () {
|
|
3531
3567
|
}, _callee23, this);
|
3532
3568
|
}));
|
3533
3569
|
|
3534
|
-
function getPersonalInformationsFromConsultId(
|
3570
|
+
function getPersonalInformationsFromConsultId(_x71, _x72, _x73) {
|
3535
3571
|
return _getPersonalInformationsFromConsultId.apply(this, arguments);
|
3536
3572
|
}
|
3537
3573
|
|
@@ -3569,7 +3605,7 @@ var OroClient = /*#__PURE__*/function () {
|
|
3569
3605
|
}, _callee24, this);
|
3570
3606
|
}));
|
3571
3607
|
|
3572
|
-
function getMedicalDataFromConsultId(
|
3608
|
+
function getMedicalDataFromConsultId(_x74, _x75) {
|
3573
3609
|
return _getMedicalDataFromConsultId.apply(this, arguments);
|
3574
3610
|
}
|
3575
3611
|
|
@@ -3662,7 +3698,7 @@ var OroClient = /*#__PURE__*/function () {
|
|
3662
3698
|
}, _callee25);
|
3663
3699
|
}));
|
3664
3700
|
|
3665
|
-
return function (
|
3701
|
+
return function (_x79) {
|
3666
3702
|
return _ref3.apply(this, arguments);
|
3667
3703
|
};
|
3668
3704
|
}()));
|
@@ -3703,7 +3739,7 @@ var OroClient = /*#__PURE__*/function () {
|
|
3703
3739
|
}, _callee26, this);
|
3704
3740
|
}));
|
3705
3741
|
|
3706
|
-
function getMetaCategoryFromConsultId(
|
3742
|
+
function getMetaCategoryFromConsultId(_x76, _x77, _x78) {
|
3707
3743
|
return _getMetaCategoryFromConsultId.apply(this, arguments);
|
3708
3744
|
}
|
3709
3745
|
|
@@ -3790,7 +3826,7 @@ var OroClient = /*#__PURE__*/function () {
|
|
3790
3826
|
}, _callee27, this);
|
3791
3827
|
}));
|
3792
3828
|
|
3793
|
-
function getPersonalInformations(
|
3829
|
+
function getPersonalInformations(_x80) {
|
3794
3830
|
return _getPersonalInformations.apply(this, arguments);
|
3795
3831
|
}
|
3796
3832
|
|
@@ -3839,7 +3875,7 @@ var OroClient = /*#__PURE__*/function () {
|
|
3839
3875
|
}, _callee28, this);
|
3840
3876
|
}));
|
3841
3877
|
|
3842
|
-
function getGrantFromConsultId(
|
3878
|
+
function getGrantFromConsultId(_x81) {
|
3843
3879
|
return _getGrantFromConsultId.apply(this, arguments);
|
3844
3880
|
}
|
3845
3881
|
|
@@ -3889,7 +3925,7 @@ var OroClient = /*#__PURE__*/function () {
|
|
3889
3925
|
}, _callee29, this);
|
3890
3926
|
}));
|
3891
3927
|
|
3892
|
-
function getIdentityFromConsultId(
|
3928
|
+
function getIdentityFromConsultId(_x82) {
|
3893
3929
|
return _getIdentityFromConsultId.apply(this, arguments);
|
3894
3930
|
}
|
3895
3931
|
|
@@ -3968,7 +4004,7 @@ var OroClient = /*#__PURE__*/function () {
|
|
3968
4004
|
}, _callee30);
|
3969
4005
|
}));
|
3970
4006
|
|
3971
|
-
return function (
|
4007
|
+
return function (_x88) {
|
3972
4008
|
return _ref4.apply(this, arguments);
|
3973
4009
|
};
|
3974
4010
|
}())).then(function (manifest) {
|
@@ -3984,7 +4020,7 @@ var OroClient = /*#__PURE__*/function () {
|
|
3984
4020
|
}, _callee31, this);
|
3985
4021
|
}));
|
3986
4022
|
|
3987
|
-
function getLockboxManifest(
|
4023
|
+
function getLockboxManifest(_x83, _x84, _x85, _x86, _x87) {
|
3988
4024
|
return _getLockboxManifest.apply(this, arguments);
|
3989
4025
|
}
|
3990
4026
|
|
@@ -4054,7 +4090,7 @@ var OroClient = /*#__PURE__*/function () {
|
|
4054
4090
|
}, _callee32, this);
|
4055
4091
|
}));
|
4056
4092
|
|
4057
|
-
function createPersonalInformations(
|
4093
|
+
function createPersonalInformations(_x89, _x90, _x91) {
|
4058
4094
|
return _createPersonalInformations.apply(this, arguments);
|
4059
4095
|
}
|
4060
4096
|
|
@@ -4124,7 +4160,7 @@ var OroClient = /*#__PURE__*/function () {
|
|
4124
4160
|
}, _callee33, this);
|
4125
4161
|
}));
|
4126
4162
|
|
4127
|
-
function createUserPreference(
|
4163
|
+
function createUserPreference(_x92, _x93, _x94) {
|
4128
4164
|
return _createUserPreference.apply(this, arguments);
|
4129
4165
|
}
|
4130
4166
|
|
@@ -4192,7 +4228,7 @@ var OroClient = /*#__PURE__*/function () {
|
|
4192
4228
|
}, _callee34, this);
|
4193
4229
|
}));
|
4194
4230
|
|
4195
|
-
function getDataFromGrant(
|
4231
|
+
function getDataFromGrant(_x95, _x96) {
|
4196
4232
|
return _getDataFromGrant.apply(this, arguments);
|
4197
4233
|
}
|
4198
4234
|
|
@@ -4241,7 +4277,7 @@ var OroClient = /*#__PURE__*/function () {
|
|
4241
4277
|
}, _callee35, this);
|
4242
4278
|
}));
|
4243
4279
|
|
4244
|
-
function getUserPreferenceFromConsultId(
|
4280
|
+
function getUserPreferenceFromConsultId(_x97) {
|
4245
4281
|
return _getUserPreferenceFromConsultId.apply(this, arguments);
|
4246
4282
|
}
|
4247
4283
|
|
@@ -4292,7 +4328,7 @@ var OroClient = /*#__PURE__*/function () {
|
|
4292
4328
|
}, _callee36, this);
|
4293
4329
|
}));
|
4294
4330
|
|
4295
|
-
function getUserPreference(
|
4331
|
+
function getUserPreference(_x98) {
|
4296
4332
|
return _getUserPreference.apply(this, arguments);
|
4297
4333
|
}
|
4298
4334
|
|
@@ -4341,7 +4377,7 @@ var OroClient = /*#__PURE__*/function () {
|
|
4341
4377
|
}, _callee37, this);
|
4342
4378
|
}));
|
4343
4379
|
|
4344
|
-
function getRecoveryDataFromConsultId(
|
4380
|
+
function getRecoveryDataFromConsultId(_x99) {
|
4345
4381
|
return _getRecoveryDataFromConsultId.apply(this, arguments);
|
4346
4382
|
}
|
4347
4383
|
|
@@ -4392,7 +4428,7 @@ var OroClient = /*#__PURE__*/function () {
|
|
4392
4428
|
}, _callee38, this);
|
4393
4429
|
}));
|
4394
4430
|
|
4395
|
-
function getRecoveryData(
|
4431
|
+
function getRecoveryData(_x100) {
|
4396
4432
|
return _getRecoveryData.apply(this, arguments);
|
4397
4433
|
}
|
4398
4434
|
|
@@ -4450,7 +4486,7 @@ var OroClient = /*#__PURE__*/function () {
|
|
4450
4486
|
}, _callee39);
|
4451
4487
|
}));
|
4452
4488
|
|
4453
|
-
return function (
|
4489
|
+
return function (_x102) {
|
4454
4490
|
return _ref5.apply(this, arguments);
|
4455
4491
|
};
|
4456
4492
|
}())).then(function (promise) {
|
@@ -4470,7 +4506,7 @@ var OroClient = /*#__PURE__*/function () {
|
|
4470
4506
|
}, _callee40, this);
|
4471
4507
|
}));
|
4472
4508
|
|
4473
|
-
function getAssignedConsultations(
|
4509
|
+
function getAssignedConsultations(_x101) {
|
4474
4510
|
return _getAssignedConsultations.apply(this, arguments);
|
4475
4511
|
}
|
4476
4512
|
|
@@ -4548,7 +4584,7 @@ var OroClient = /*#__PURE__*/function () {
|
|
4548
4584
|
}, _callee41);
|
4549
4585
|
}));
|
4550
4586
|
|
4551
|
-
return function (
|
4587
|
+
return function (_x105) {
|
4552
4588
|
return _ref6.apply(this, arguments);
|
4553
4589
|
};
|
4554
4590
|
}()));
|
@@ -4564,7 +4600,7 @@ var OroClient = /*#__PURE__*/function () {
|
|
4564
4600
|
}, _callee42, this);
|
4565
4601
|
}));
|
4566
4602
|
|
4567
|
-
function getPastConsultationsFromConsultId(
|
4603
|
+
function getPastConsultationsFromConsultId(_x103, _x104) {
|
4568
4604
|
return _getPastConsultationsFromConsultId.apply(this, arguments);
|
4569
4605
|
}
|
4570
4606
|
|
@@ -4622,7 +4658,7 @@ var OroClient = /*#__PURE__*/function () {
|
|
4622
4658
|
}, _callee43, this);
|
4623
4659
|
}));
|
4624
4660
|
|
4625
|
-
function getPatientConsultationData(
|
4661
|
+
function getPatientConsultationData(_x106, _x107) {
|
4626
4662
|
return _getPatientConsultationData.apply(this, arguments);
|
4627
4663
|
}
|
4628
4664
|
|
@@ -4656,7 +4692,7 @@ var OroClient = /*#__PURE__*/function () {
|
|
4656
4692
|
}, _callee44, this);
|
4657
4693
|
}));
|
4658
4694
|
|
4659
|
-
function getPatientPrescriptionsList(
|
4695
|
+
function getPatientPrescriptionsList(_x108) {
|
4660
4696
|
return _getPatientPrescriptionsList.apply(this, arguments);
|
4661
4697
|
}
|
4662
4698
|
|
@@ -4690,7 +4726,7 @@ var OroClient = /*#__PURE__*/function () {
|
|
4690
4726
|
}, _callee45, this);
|
4691
4727
|
}));
|
4692
4728
|
|
4693
|
-
function getPatientResultsList(
|
4729
|
+
function getPatientResultsList(_x109) {
|
4694
4730
|
return _getPatientResultsList.apply(this, arguments);
|
4695
4731
|
}
|
4696
4732
|
|
@@ -4724,7 +4760,7 @@ var OroClient = /*#__PURE__*/function () {
|
|
4724
4760
|
}, _callee46, this);
|
4725
4761
|
}));
|
4726
4762
|
|
4727
|
-
function getPatientTreatmentPlans(
|
4763
|
+
function getPatientTreatmentPlans(_x110) {
|
4728
4764
|
return _getPatientTreatmentPlans.apply(this, arguments);
|
4729
4765
|
}
|
4730
4766
|
|
@@ -4760,7 +4796,7 @@ var OroClient = /*#__PURE__*/function () {
|
|
4760
4796
|
}, _callee47, this);
|
4761
4797
|
}));
|
4762
4798
|
|
4763
|
-
function getPatientTreatmentPlanByUuid(
|
4799
|
+
function getPatientTreatmentPlanByUuid(_x111, _x112) {
|
4764
4800
|
return _getPatientTreatmentPlanByUuid.apply(this, arguments);
|
4765
4801
|
}
|
4766
4802
|
|
@@ -4817,7 +4853,7 @@ var OroClient = /*#__PURE__*/function () {
|
|
4817
4853
|
}, _callee48);
|
4818
4854
|
}));
|
4819
4855
|
|
4820
|
-
return function (
|
4856
|
+
return function (_x116) {
|
4821
4857
|
return _ref7.apply(this, arguments);
|
4822
4858
|
};
|
4823
4859
|
}()));
|
@@ -4835,7 +4871,7 @@ var OroClient = /*#__PURE__*/function () {
|
|
4835
4871
|
}, _callee49, this);
|
4836
4872
|
}));
|
4837
4873
|
|
4838
|
-
function getPatientDocumentsList(
|
4874
|
+
function getPatientDocumentsList(_x113, _x114, _x115) {
|
4839
4875
|
return _getPatientDocumentsList.apply(this, arguments);
|
4840
4876
|
}
|
4841
4877
|
|
@@ -4897,7 +4933,7 @@ var OroClient = /*#__PURE__*/function () {
|
|
4897
4933
|
}, _callee50, this);
|
4898
4934
|
}));
|
4899
4935
|
|
4900
|
-
function recoverPrivateKeyFromSecurityQuestions(
|
4936
|
+
function recoverPrivateKeyFromSecurityQuestions(_x117, _x118, _x119, _x120) {
|
4901
4937
|
return _recoverPrivateKeyFromSecurityQuestions.apply(this, arguments);
|
4902
4938
|
}
|
4903
4939
|
|
@@ -4945,7 +4981,7 @@ var OroClient = /*#__PURE__*/function () {
|
|
4945
4981
|
}, _callee51, this);
|
4946
4982
|
}));
|
4947
4983
|
|
4948
|
-
function recoverPrivateKeyFromPassword(
|
4984
|
+
function recoverPrivateKeyFromPassword(_x121, _x122) {
|
4949
4985
|
return _recoverPrivateKeyFromPassword.apply(this, arguments);
|
4950
4986
|
}
|
4951
4987
|
|
@@ -4985,7 +5021,7 @@ var OroClient = /*#__PURE__*/function () {
|
|
4985
5021
|
}, _callee52, this);
|
4986
5022
|
}));
|
4987
5023
|
|
4988
|
-
function recoverPrivateKeyFromMasterKey(
|
5024
|
+
function recoverPrivateKeyFromMasterKey(_x123, _x124) {
|
4989
5025
|
return _recoverPrivateKeyFromMasterKey.apply(this, arguments);
|
4990
5026
|
}
|
4991
5027
|
|
@@ -5036,7 +5072,7 @@ var OroClient = /*#__PURE__*/function () {
|
|
5036
5072
|
}, _callee53, this);
|
5037
5073
|
}));
|
5038
5074
|
|
5039
|
-
function updateSecurityQuestions(
|
5075
|
+
function updateSecurityQuestions(_x125, _x126, _x127, _x128) {
|
5040
5076
|
return _updateSecurityQuestions.apply(this, arguments);
|
5041
5077
|
}
|
5042
5078
|
|
@@ -5101,7 +5137,7 @@ var OroClient = /*#__PURE__*/function () {
|
|
5101
5137
|
}, _callee54, this);
|
5102
5138
|
}));
|
5103
5139
|
|
5104
|
-
function updatePassword(
|
5140
|
+
function updatePassword(_x129, _x130, _x131) {
|
5105
5141
|
return _updatePassword.apply(this, arguments);
|
5106
5142
|
}
|
5107
5143
|
|
@@ -5163,7 +5199,7 @@ var OroClient = /*#__PURE__*/function () {
|
|
5163
5199
|
}, _callee55, this);
|
5164
5200
|
}));
|
5165
5201
|
|
5166
|
-
function updateMasterKey(
|
5202
|
+
function updateMasterKey(_x132, _x133, _x134) {
|
5167
5203
|
return _updateMasterKey.apply(this, arguments);
|
5168
5204
|
}
|
5169
5205
|
|