@integraciones_doc24/sdk 1.16.19 → 1.16.21

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/lib/types.d.ts CHANGED
@@ -112,6 +112,12 @@ export declare namespace Doc24 {
112
112
  patientId: number;
113
113
  professionalId: number;
114
114
  appointmentId: number;
115
+ docPatientId: number;
116
+ idSharedVc: number;
117
+ identificationType: string;
118
+ identificationValue: string;
119
+ specialtyId: number;
120
+ date: Date;
115
121
  };
116
122
  type ConsultationStatusChangeEvent = {
117
123
  id: number;
@@ -36,6 +36,12 @@ const handleEvent = async (body, _baseSdk, eventHandlers) => {
36
36
  appointmentId: Number(body.id_turno),
37
37
  patientId: Number(body.id_persona),
38
38
  professionalId: Number(body.id_profesional),
39
+ docPatientId: body.id_paciente,
40
+ identificationType: body.tipo_identificacion,
41
+ identificationValue: body.valor_identificacion,
42
+ idSharedVc: body.id_shared_vc,
43
+ specialtyId: body.id_especialidad,
44
+ date: utils_1.parseDateTime(`${body.fecha_turno} ${body.hora_turno}`, body.user_time_zone),
39
45
  });
40
46
  if (body.tipo === 'turno')
41
47
  return (_c = eventHandlers.onAppointmentStatusChange) === null || _c === void 0 ? void 0 : _c.call(eventHandlers, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@integraciones_doc24/sdk",
3
- "version": "1.16.19",
3
+ "version": "1.16.21",
4
4
  "publishConfig": {
5
5
  "tag": "latest"
6
6
  },