@integraciones_doc24/sdk 1.16.24 → 1.16.25

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
@@ -133,9 +133,10 @@ export declare namespace Doc24 {
133
133
  type AppointmentStatusChangeEvent = {
134
134
  id: number;
135
135
  status: StatusChangeEventStatus;
136
- vcToken?: string;
136
+ vcTokens: {
137
+ vc_token: string;
138
+ }[];
137
139
  changeDate: Date;
138
- body: any;
139
140
  };
140
141
  type ChatUpdateEvent = {
141
142
  id: number;
@@ -52,9 +52,8 @@ const handleEvent = async (body, _baseSdk, eventHandlers) => {
52
52
  return (_c = eventHandlers.onAppointmentStatusChange) === null || _c === void 0 ? void 0 : _c.call(eventHandlers, {
53
53
  id: Number(body.id_turno),
54
54
  status: body.id_estado,
55
- vcToken: body.vc_token,
55
+ vcTokens: body.vc_tokens,
56
56
  changeDate: date,
57
- body: body,
58
57
  });
59
58
  if (body.tipo === 'chat')
60
59
  return (_d = eventHandlers.onChatUpdate) === null || _d === void 0 ? void 0 : _d.call(eventHandlers, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@integraciones_doc24/sdk",
3
- "version": "1.16.24",
3
+ "version": "1.16.25",
4
4
  "publishConfig": {
5
5
  "tag": "latest"
6
6
  },