@rodrigobeber/patoai-dtos 3.22.13 → 3.22.14
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/agenda/index.d.ts +1 -1
- package/dist/agenda/index.js +1 -1
- package/dist/webchat/calendar/index.d.ts +0 -2
- package/dist/webchat/calendar/index.js +0 -2
- package/dist/webchat/calendar/webchat-create-appointment.dto.d.ts +2 -2
- package/package.json +1 -1
- package/dist/agenda/create-appointment.dto.d.ts +0 -18
- package/dist/agenda/create-appointment.dto.js +0 -2
- package/dist/calendar/appointment-filter.dto.d.ts +0 -12
- package/dist/calendar/appointment-filter.dto.js +0 -2
- package/dist/calendar/appointment-status.enum.d.ts +0 -7
- package/dist/calendar/appointment-status.enum.js +0 -11
- package/dist/calendar/availability-window.dto.d.ts +0 -5
- package/dist/calendar/availability-window.dto.js +0 -2
- package/dist/calendar/calendar-filter.dto.d.ts +0 -4
- package/dist/calendar/calendar-filter.dto.js +0 -2
- package/dist/calendar/calendar.dto.d.ts +0 -11
- package/dist/calendar/calendar.dto.js +0 -2
- package/dist/calendar/create-appointment.dto.d.ts +0 -15
- package/dist/calendar/create-appointment.dto.js +0 -2
- package/dist/calendar/create-availability.dto.d.ts +0 -9
- package/dist/calendar/create-availability.dto.js +0 -2
- package/dist/calendar/create-bulk-availability.dto.d.ts +0 -9
- package/dist/calendar/create-bulk-availability.dto.js +0 -2
- package/dist/calendar/create-calendar.dto.d.ts +0 -7
- package/dist/calendar/create-calendar.dto.js +0 -2
- package/dist/calendar/date-range.dto.d.ts +0 -4
- package/dist/calendar/date-range.dto.js +0 -2
- package/dist/calendar/index.d.ts +0 -17
- package/dist/calendar/index.js +0 -33
- package/dist/calendar/time-slot.dto.d.ts +0 -4
- package/dist/calendar/time-slot.dto.js +0 -2
- package/dist/calendar/update-appointment.dto.d.ts +0 -10
- package/dist/calendar/update-appointment.dto.js +0 -2
- package/dist/calendar/update-calendar.dto.d.ts +0 -7
- package/dist/calendar/update-calendar.dto.js +0 -2
- package/dist/calendar/upflows-appointment-response.dto.d.ts +0 -14
- package/dist/calendar/upflows-appointment-response.dto.js +0 -2
- package/dist/calendar/upflows-availability-response.dto.d.ts +0 -10
- package/dist/calendar/upflows-availability-response.dto.js +0 -2
- package/dist/calendar/upflows-available-slot.dto.d.ts +0 -6
- package/dist/calendar/upflows-available-slot.dto.js +0 -2
- package/dist/calendar/upflows-create-appointment.dto.d.ts +0 -17
- package/dist/calendar/upflows-create-appointment.dto.js +0 -2
- package/dist/calendar/upflows-delete-appointment.dto.d.ts +0 -6
- package/dist/calendar/upflows-delete-appointment.dto.js +0 -2
- package/dist/calendar/upflows-get-availability.dto.d.ts +0 -9
- package/dist/calendar/upflows-get-availability.dto.js +0 -2
- package/dist/webchat/calendar/webchat-calendar.dto.d.ts +0 -10
- package/dist/webchat/calendar/webchat-calendar.dto.js +0 -2
- package/dist/webchat/calendar/webchat-create-appointment.d.ts +0 -3
- package/dist/webchat/calendar/webchat-create-appointment.js +0 -2
- package/dist/webchat/calendar/webchat-delete-availability.dto.d.ts +0 -6
- package/dist/webchat/calendar/webchat-delete-availability.dto.js +0 -2
- package/dist/webchat/calendar/webchat-facility.dto.d.ts +0 -39
- package/dist/webchat/calendar/webchat-facility.dto.js +0 -2
- package/dist/webchat/calendar/webchat-service.dto.d.ts +0 -20
- package/dist/webchat/calendar/webchat-service.dto.js +0 -2
- package/dist/webchat/calendar/webchat-update-appointment.d.ts +0 -3
- package/dist/webchat/calendar/webchat-update-appointment.js +0 -2
package/dist/agenda/index.d.ts
CHANGED
package/dist/agenda/index.js
CHANGED
|
@@ -16,6 +16,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./available-slot.dto"), exports);
|
|
18
18
|
__exportStar(require("./cancel-appointments.dto"), exports);
|
|
19
|
-
__exportStar(require("./create-
|
|
19
|
+
__exportStar(require("./create-appointments.dto"), exports);
|
|
20
20
|
__exportStar(require("./get-availability.dto"), exports);
|
|
21
21
|
__exportStar(require("./update-appointment.dto"), exports);
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
export * from './webchat-appointment.dto';
|
|
2
2
|
export * from './webchat-availability.dto';
|
|
3
3
|
export * from './webchat-available-slot.dto';
|
|
4
|
-
export * from './webchat-calendar.dto';
|
|
5
4
|
export * from './webchat-cancel-appointment.dto';
|
|
6
5
|
export * from './webchat-create-appointment.dto';
|
|
7
6
|
export * from './webchat-create-availability.dto';
|
|
8
|
-
export * from './webchat-delete-availability.dto';
|
|
9
7
|
export * from './webchat-professional.dto';
|
|
10
8
|
export * from './webchat-update-appointment.dto';
|
|
@@ -17,10 +17,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
__exportStar(require("./webchat-appointment.dto"), exports);
|
|
18
18
|
__exportStar(require("./webchat-availability.dto"), exports);
|
|
19
19
|
__exportStar(require("./webchat-available-slot.dto"), exports);
|
|
20
|
-
__exportStar(require("./webchat-calendar.dto"), exports);
|
|
21
20
|
__exportStar(require("./webchat-cancel-appointment.dto"), exports);
|
|
22
21
|
__exportStar(require("./webchat-create-appointment.dto"), exports);
|
|
23
22
|
__exportStar(require("./webchat-create-availability.dto"), exports);
|
|
24
|
-
__exportStar(require("./webchat-delete-availability.dto"), exports);
|
|
25
23
|
__exportStar(require("./webchat-professional.dto"), exports);
|
|
26
24
|
__exportStar(require("./webchat-update-appointment.dto"), exports);
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export interface WebChatCreateAppointmentDto extends
|
|
1
|
+
import { CreateAppointmentDto } from "../../agenda";
|
|
2
|
+
export interface WebChatCreateAppointmentDto extends CreateAppointmentDto {
|
|
3
3
|
}
|
package/package.json
CHANGED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
export interface CreateAppointmentBaseDto {
|
|
2
|
-
idThread: string;
|
|
3
|
-
startAt: Date;
|
|
4
|
-
endAt: Date;
|
|
5
|
-
idHuman?: number;
|
|
6
|
-
title?: string;
|
|
7
|
-
note?: string;
|
|
8
|
-
attendeeName?: string;
|
|
9
|
-
attendeePhone?: string;
|
|
10
|
-
attendeeEmail?: string;
|
|
11
|
-
}
|
|
12
|
-
export interface CreateAppointmentForCalendarDto extends CreateAppointmentBaseDto {
|
|
13
|
-
calendarCode: string;
|
|
14
|
-
idCrew: number;
|
|
15
|
-
}
|
|
16
|
-
export interface CreateAppointmentForProfessionalDto extends CreateAppointmentBaseDto {
|
|
17
|
-
idProfessional: number;
|
|
18
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { AppointmentStatusEnum } from './appointment-status.enum';
|
|
2
|
-
export interface AppointmentFilterDto {
|
|
3
|
-
idProfessional?: number;
|
|
4
|
-
idFacility?: number;
|
|
5
|
-
idThread?: string;
|
|
6
|
-
startDate?: Date;
|
|
7
|
-
endDate?: Date;
|
|
8
|
-
statuses?: AppointmentStatusEnum[];
|
|
9
|
-
attendeePhone?: string;
|
|
10
|
-
attendeeEmail?: string;
|
|
11
|
-
limit?: number;
|
|
12
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AppointmentStatusEnum = void 0;
|
|
4
|
-
var AppointmentStatusEnum;
|
|
5
|
-
(function (AppointmentStatusEnum) {
|
|
6
|
-
AppointmentStatusEnum["SCHEDULED"] = "scheduled";
|
|
7
|
-
AppointmentStatusEnum["PENDING"] = "pending";
|
|
8
|
-
AppointmentStatusEnum["CANCELED"] = "canceled";
|
|
9
|
-
AppointmentStatusEnum["COMPLETED"] = "completed";
|
|
10
|
-
AppointmentStatusEnum["NO_SHOW"] = "no-show";
|
|
11
|
-
})(AppointmentStatusEnum || (exports.AppointmentStatusEnum = AppointmentStatusEnum = {}));
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { AppointmentStatusEnum } from './appointment-status.enum';
|
|
2
|
-
export interface CreateAppointmentDto {
|
|
3
|
-
idProfessional: number;
|
|
4
|
-
idService?: number;
|
|
5
|
-
idFacility: number;
|
|
6
|
-
idThread: string;
|
|
7
|
-
startAt: Date;
|
|
8
|
-
endAt: Date;
|
|
9
|
-
attendeeName?: string;
|
|
10
|
-
attendeePhone?: string;
|
|
11
|
-
attendeeEmail?: string;
|
|
12
|
-
title?: string;
|
|
13
|
-
note?: string;
|
|
14
|
-
status?: AppointmentStatusEnum;
|
|
15
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { DateRangeDto } from './date-range.dto';
|
|
2
|
-
import { TimeSlotDto } from './time-slot.dto';
|
|
3
|
-
export interface CreateBulkAvailabilityDto {
|
|
4
|
-
idProfessionals: number[];
|
|
5
|
-
idFacility: number;
|
|
6
|
-
dateRange: DateRangeDto;
|
|
7
|
-
timeSlots: TimeSlotDto[];
|
|
8
|
-
weekDays?: number[];
|
|
9
|
-
}
|
package/dist/calendar/index.d.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
export * from './appointment-status.enum';
|
|
2
|
-
export * from './appointment-filter.dto';
|
|
3
|
-
export * from './calendar.dto';
|
|
4
|
-
export * from './calendar-filter.dto';
|
|
5
|
-
export * from './create-appointment.dto';
|
|
6
|
-
export * from './create-availability.dto';
|
|
7
|
-
export * from './create-bulk-availability.dto';
|
|
8
|
-
export * from './create-calendar.dto';
|
|
9
|
-
export * from './date-range.dto';
|
|
10
|
-
export * from './time-slot.dto';
|
|
11
|
-
export * from './update-calendar.dto';
|
|
12
|
-
export * from './upflows-get-availability.dto';
|
|
13
|
-
export * from './upflows-available-slot.dto';
|
|
14
|
-
export * from './upflows-availability-response.dto';
|
|
15
|
-
export * from './upflows-create-appointment.dto';
|
|
16
|
-
export * from './upflows-appointment-response.dto';
|
|
17
|
-
export * from './upflows-delete-appointment.dto';
|
package/dist/calendar/index.js
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./appointment-status.enum"), exports);
|
|
18
|
-
__exportStar(require("./appointment-filter.dto"), exports);
|
|
19
|
-
__exportStar(require("./calendar.dto"), exports);
|
|
20
|
-
__exportStar(require("./calendar-filter.dto"), exports);
|
|
21
|
-
__exportStar(require("./create-appointment.dto"), exports);
|
|
22
|
-
__exportStar(require("./create-availability.dto"), exports);
|
|
23
|
-
__exportStar(require("./create-bulk-availability.dto"), exports);
|
|
24
|
-
__exportStar(require("./create-calendar.dto"), exports);
|
|
25
|
-
__exportStar(require("./date-range.dto"), exports);
|
|
26
|
-
__exportStar(require("./time-slot.dto"), exports);
|
|
27
|
-
__exportStar(require("./update-calendar.dto"), exports);
|
|
28
|
-
__exportStar(require("./upflows-get-availability.dto"), exports);
|
|
29
|
-
__exportStar(require("./upflows-available-slot.dto"), exports);
|
|
30
|
-
__exportStar(require("./upflows-availability-response.dto"), exports);
|
|
31
|
-
__exportStar(require("./upflows-create-appointment.dto"), exports);
|
|
32
|
-
__exportStar(require("./upflows-appointment-response.dto"), exports);
|
|
33
|
-
__exportStar(require("./upflows-delete-appointment.dto"), exports);
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export interface UpflowsAppointmentResponseDto {
|
|
2
|
-
instruction?: string;
|
|
3
|
-
error?: string;
|
|
4
|
-
event?: {
|
|
5
|
-
id: number;
|
|
6
|
-
uid?: string;
|
|
7
|
-
title?: string;
|
|
8
|
-
description?: string;
|
|
9
|
-
meetingUrl?: string;
|
|
10
|
-
location?: string;
|
|
11
|
-
start: string;
|
|
12
|
-
durationMinutes: number;
|
|
13
|
-
};
|
|
14
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { UpflowsAvailableSlotDto } from "./upflows-available-slot.dto";
|
|
2
|
-
export interface UpflowsAvailabilityDto {
|
|
3
|
-
nearestBefore: UpflowsAvailableSlotDto[];
|
|
4
|
-
daysResearch: UpflowsAvailableSlotDto[];
|
|
5
|
-
nearestAfter: UpflowsAvailableSlotDto[];
|
|
6
|
-
}
|
|
7
|
-
export interface UpflowsAvailabilityResponseDto {
|
|
8
|
-
availability: UpflowsAvailabilityDto;
|
|
9
|
-
timezone: string;
|
|
10
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
export interface UpflowsCreateAppointmentDto {
|
|
2
|
-
idCrew: number;
|
|
3
|
-
idThread: string;
|
|
4
|
-
idProfessional: number;
|
|
5
|
-
idFacilityRoom: number;
|
|
6
|
-
facilityCode: string;
|
|
7
|
-
serviceCode: string;
|
|
8
|
-
start: string;
|
|
9
|
-
duration: number;
|
|
10
|
-
title?: string;
|
|
11
|
-
note?: string;
|
|
12
|
-
attendeeName?: string;
|
|
13
|
-
attendeePhone?: string;
|
|
14
|
-
attendeeEmail?: string;
|
|
15
|
-
fixedLocation?: string;
|
|
16
|
-
idRescheduleOf?: number | null;
|
|
17
|
-
}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
export interface WebChatCreateFacilityDto {
|
|
2
|
-
name: string;
|
|
3
|
-
code: string;
|
|
4
|
-
color?: string;
|
|
5
|
-
active?: boolean;
|
|
6
|
-
}
|
|
7
|
-
export interface WebChatUpdateFacilityDto {
|
|
8
|
-
name?: string;
|
|
9
|
-
code?: string;
|
|
10
|
-
color?: string;
|
|
11
|
-
active?: boolean;
|
|
12
|
-
}
|
|
13
|
-
export interface WebChatFacilityDto {
|
|
14
|
-
id: number;
|
|
15
|
-
idCrew: number;
|
|
16
|
-
name: string;
|
|
17
|
-
code: string;
|
|
18
|
-
color?: string;
|
|
19
|
-
active: boolean;
|
|
20
|
-
rooms?: WebChatFacilityRoomDto[];
|
|
21
|
-
}
|
|
22
|
-
export interface WebChatCreateFacilityRoomDto {
|
|
23
|
-
name: string;
|
|
24
|
-
active?: boolean;
|
|
25
|
-
}
|
|
26
|
-
export interface WebChatUpdateFacilityRoomDto {
|
|
27
|
-
name?: string;
|
|
28
|
-
active?: boolean;
|
|
29
|
-
}
|
|
30
|
-
export interface WebChatFacilityRoomDto {
|
|
31
|
-
id: number;
|
|
32
|
-
idFacility: number;
|
|
33
|
-
name: string;
|
|
34
|
-
active: boolean;
|
|
35
|
-
facility?: {
|
|
36
|
-
id: number;
|
|
37
|
-
name: string;
|
|
38
|
-
};
|
|
39
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
export interface WebChatCreateServiceDto {
|
|
2
|
-
name: string;
|
|
3
|
-
code: string;
|
|
4
|
-
duration: number;
|
|
5
|
-
active?: boolean;
|
|
6
|
-
}
|
|
7
|
-
export interface WebChatUpdateServiceDto {
|
|
8
|
-
name?: string;
|
|
9
|
-
code?: string;
|
|
10
|
-
duration?: number;
|
|
11
|
-
active?: boolean;
|
|
12
|
-
}
|
|
13
|
-
export interface WebChatServiceDto {
|
|
14
|
-
id: number;
|
|
15
|
-
idCrew: number;
|
|
16
|
-
name: string;
|
|
17
|
-
code: string;
|
|
18
|
-
duration: number;
|
|
19
|
-
active: boolean;
|
|
20
|
-
}
|