oro-sdk 3.1.2-dev2 → 3.1.2-dev2.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -2216,14 +2216,16 @@ function _searchIndexConsultation() {
2216
2216
  switch (_context11.prev = _context11.next) {
2217
2217
  case 0:
2218
2218
  terms = [];
2219
- _context11.next = 3;
2219
+ console.log('here');
2220
+ _context11.next = 4;
2220
2221
  return extractPersonalInfoFromConsultId(consultUuid, oroClient);
2221
2222
 
2222
- case 3:
2223
+ case 4:
2223
2224
  _yield$extractPersona = _context11.sent;
2224
2225
  personalInformations = _yield$extractPersona.personalInformations;
2225
2226
  childPersonalInformations = _yield$extractPersona.childPersonalInformations;
2226
2227
  otherPersonalInformations = _yield$extractPersona.otherPersonalInformations;
2228
+ console.log('personal=', personalInformations, 'child=', childPersonalInformations, 'other=', otherPersonalInformations);
2227
2229
  personalInfo = identificationToPersonalInformations(toActualObject(personalInformations.data), initApis.MetadataCategory.Personal);
2228
2230
  terms.push({
2229
2231
  kind: 'first-name',
@@ -2255,10 +2257,10 @@ function _searchIndexConsultation() {
2255
2257
  });
2256
2258
  }
2257
2259
 
2258
- _context11.next = 13;
2260
+ _context11.next = 15;
2259
2261
  return oroClient.searchClient.index(consultUuid, terms);
2260
2262
 
2261
- case 13:
2263
+ case 15:
2262
2264
  case "end":
2263
2265
  return _context11.stop();
2264
2266
  }