@rodrigobeber/patoai-dtos 3.19.30 → 3.20.1
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/dist/calendar/appointment-filter.dto.d.ts +1 -1
- package/dist/calendar/create-appointment.dto.d.ts +1 -1
- package/dist/calendar/create-bulk-availability.dto.d.ts +1 -1
- package/dist/calendar/index.d.ts +0 -1
- package/dist/calendar/index.js +0 -1
- package/dist/webchat/calendar/webchat-appointment.dto.d.ts +4 -16
- package/package.json +2 -2
|
@@ -2,7 +2,7 @@ import { DateRangeDto } from './date-range.dto';
|
|
|
2
2
|
import { TimeSlotDto } from './time-slot.dto';
|
|
3
3
|
export interface CreateBulkAvailabilityDto {
|
|
4
4
|
idProfessionals: number[];
|
|
5
|
-
|
|
5
|
+
idFacility: number;
|
|
6
6
|
dateRange: DateRangeDto;
|
|
7
7
|
timeSlots: TimeSlotDto[];
|
|
8
8
|
weekDays?: number[];
|
package/dist/calendar/index.d.ts
CHANGED
package/dist/calendar/index.js
CHANGED
|
@@ -16,7 +16,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./appointment-status.enum"), exports);
|
|
18
18
|
__exportStar(require("./appointment-filter.dto"), exports);
|
|
19
|
-
__exportStar(require("./availability-window.dto"), exports);
|
|
20
19
|
__exportStar(require("./calendar.dto"), exports);
|
|
21
20
|
__exportStar(require("./calendar-filter.dto"), exports);
|
|
22
21
|
__exportStar(require("./create-appointment.dto"), exports);
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { AppointmentStatusEnum } from "../../calendar/appointment-status.enum";
|
|
2
2
|
export interface WebChatCreateAppointmentDto {
|
|
3
3
|
idProfessional: number;
|
|
4
|
-
|
|
5
|
-
idCalendar: number;
|
|
4
|
+
idFacility: number;
|
|
6
5
|
idThread: string;
|
|
7
6
|
startAt: Date;
|
|
8
7
|
endAt: Date;
|
|
8
|
+
idHuman: number | null;
|
|
9
9
|
attendeeName?: string;
|
|
10
10
|
attendeePhone?: string;
|
|
11
11
|
attendeeEmail?: string;
|
|
@@ -14,7 +14,7 @@ export interface WebChatCreateAppointmentDto {
|
|
|
14
14
|
status?: AppointmentStatusEnum;
|
|
15
15
|
}
|
|
16
16
|
export interface WebChatUpdateAppointmentDto {
|
|
17
|
-
|
|
17
|
+
idHuman: number | null;
|
|
18
18
|
startAt?: Date;
|
|
19
19
|
endAt?: Date;
|
|
20
20
|
attendeeName?: string;
|
|
@@ -26,8 +26,7 @@ export interface WebChatUpdateAppointmentDto {
|
|
|
26
26
|
export interface WebChatAppointmentDto {
|
|
27
27
|
id: string;
|
|
28
28
|
idProfessional: number;
|
|
29
|
-
|
|
30
|
-
idCalendar: number;
|
|
29
|
+
idFacility: number;
|
|
31
30
|
idThread: string;
|
|
32
31
|
startAt: Date;
|
|
33
32
|
endAt: Date;
|
|
@@ -73,16 +72,10 @@ export interface WebChatUpdateAppointmentStatusDto {
|
|
|
73
72
|
status: AppointmentStatusEnum;
|
|
74
73
|
reason?: string;
|
|
75
74
|
}
|
|
76
|
-
export interface WebChatRescheduleAppointmentDto {
|
|
77
|
-
newStartAt: Date;
|
|
78
|
-
newEndAt: Date;
|
|
79
|
-
reason?: string;
|
|
80
|
-
}
|
|
81
75
|
export interface WebChatGetAvailableSlotsDto {
|
|
82
76
|
idCrew: number;
|
|
83
77
|
idFacility: number;
|
|
84
78
|
idProfessional?: number;
|
|
85
|
-
idService?: number;
|
|
86
79
|
startDate: Date;
|
|
87
80
|
endDate: Date;
|
|
88
81
|
}
|
|
@@ -109,11 +102,6 @@ export interface WebChatAppointmentDetailsDto extends WebChatAppointmentDto {
|
|
|
109
102
|
name: string;
|
|
110
103
|
idFacility: number;
|
|
111
104
|
};
|
|
112
|
-
service?: {
|
|
113
|
-
id: number;
|
|
114
|
-
name: string;
|
|
115
|
-
duration: number;
|
|
116
|
-
};
|
|
117
105
|
thread?: {
|
|
118
106
|
id: string;
|
|
119
107
|
name: string;
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rodrigobeber/patoai-dtos",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.20.1",
|
|
4
4
|
"description": "Data Transfer Objects for PatoAI",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"dependencies": {
|
|
9
|
-
"openai": "^6.
|
|
9
|
+
"openai": "^6.5.0"
|
|
10
10
|
},
|
|
11
11
|
"devDependencies": {
|
|
12
12
|
"@types/node": "^24.3.1",
|