@integraciones_doc24/sdk 1.15.4 → 1.15.5

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
@@ -113,6 +113,7 @@ export declare namespace Doc24 {
113
113
  type AppointmentStatusChangeEvent = {
114
114
  id: number;
115
115
  status: StatusChangeEventStatus;
116
+ vcToken?: string;
116
117
  changeDate: Date;
117
118
  };
118
119
  type ChatUpdateEvent = {
@@ -41,6 +41,7 @@ const handleEvent = async (body, _baseSdk, eventHandlers) => {
41
41
  return (_c = eventHandlers.onAppointmentStatusChange) === null || _c === void 0 ? void 0 : _c.call(eventHandlers, {
42
42
  id: Number(body.id_turno),
43
43
  status: body.id_estado,
44
+ vcToken: body.vc_token,
44
45
  changeDate: date,
45
46
  });
46
47
  if (body.tipo === 'chat')
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@integraciones_doc24/sdk",
3
- "version": "1.15.4",
3
+ "version": "1.15.5",
4
4
  "publishConfig": {
5
5
  "tag": "latest"
6
6
  },