tychat-contracts 1.0.132 → 1.0.134
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.
|
@@ -6,12 +6,12 @@ export declare class AppointmentCalendarItemDto {
|
|
|
6
6
|
/** Agendamentos agrupados por dia civil (UTC a partir do timestamp do agendamento). */
|
|
7
7
|
export declare class AppointmentCalendarDayDto {
|
|
8
8
|
date: string;
|
|
9
|
+
countAppointment: number;
|
|
9
10
|
appointments: AppointmentCalendarItemDto[];
|
|
10
11
|
}
|
|
11
12
|
export declare class AppointmentCalendarResponseDto {
|
|
12
13
|
startDate: string;
|
|
13
14
|
endDate: string;
|
|
14
|
-
countAppointment: number;
|
|
15
15
|
days: AppointmentCalendarDayDto[];
|
|
16
16
|
}
|
|
17
17
|
//# sourceMappingURL=appointment-calendar.dto.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"appointment-calendar.dto.d.ts","sourceRoot":"","sources":["../../src/appointments/appointment-calendar.dto.ts"],"names":[],"mappings":"AAEA,oCAAoC;AACpC,qBAAa,0BAA0B;IAErC,EAAE,EAAE,MAAM,CAAC;IAMX,IAAI,EAAE,MAAM,CAAC;CACd;AAED,uFAAuF;AACvF,qBAAa,yBAAyB;IAKpC,IAAI,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"appointment-calendar.dto.d.ts","sourceRoot":"","sources":["../../src/appointments/appointment-calendar.dto.ts"],"names":[],"mappings":"AAEA,oCAAoC;AACpC,qBAAa,0BAA0B;IAErC,EAAE,EAAE,MAAM,CAAC;IAMX,IAAI,EAAE,MAAM,CAAC;CACd;AAED,uFAAuF;AACvF,qBAAa,yBAAyB;IAKpC,IAAI,EAAE,MAAM,CAAC;IAMb,gBAAgB,EAAE,MAAM,CAAC;IAGzB,YAAY,EAAE,0BAA0B,EAAE,CAAC;CAC5C;AAED,qBAAa,8BAA8B;IAEzC,SAAS,EAAE,MAAM,CAAC;IAGlB,OAAO,EAAE,MAAM,CAAC;IAOhB,IAAI,EAAE,yBAAyB,EAAE,CAAC;CACnC"}
|
|
@@ -31,6 +31,7 @@ __decorate([
|
|
|
31
31
|
/** Agendamentos agrupados por dia civil (UTC a partir do timestamp do agendamento). */
|
|
32
32
|
class AppointmentCalendarDayDto {
|
|
33
33
|
date;
|
|
34
|
+
countAppointment;
|
|
34
35
|
appointments;
|
|
35
36
|
}
|
|
36
37
|
exports.AppointmentCalendarDayDto = AppointmentCalendarDayDto;
|
|
@@ -41,6 +42,12 @@ __decorate([
|
|
|
41
42
|
}),
|
|
42
43
|
__metadata("design:type", String)
|
|
43
44
|
], AppointmentCalendarDayDto.prototype, "date", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, swagger_1.ApiProperty)({
|
|
47
|
+
description: 'Quantidade de agendamentos neste dia (UTC) dentro do intervalo solicitado.',
|
|
48
|
+
}),
|
|
49
|
+
__metadata("design:type", Number)
|
|
50
|
+
], AppointmentCalendarDayDto.prototype, "countAppointment", void 0);
|
|
44
51
|
__decorate([
|
|
45
52
|
(0, swagger_1.ApiProperty)({ type: [AppointmentCalendarItemDto] }),
|
|
46
53
|
__metadata("design:type", Array)
|
|
@@ -48,7 +55,6 @@ __decorate([
|
|
|
48
55
|
class AppointmentCalendarResponseDto {
|
|
49
56
|
startDate;
|
|
50
57
|
endDate;
|
|
51
|
-
countAppointment;
|
|
52
58
|
days;
|
|
53
59
|
}
|
|
54
60
|
exports.AppointmentCalendarResponseDto = AppointmentCalendarResponseDto;
|
|
@@ -62,11 +68,8 @@ __decorate([
|
|
|
62
68
|
], AppointmentCalendarResponseDto.prototype, "endDate", void 0);
|
|
63
69
|
__decorate([
|
|
64
70
|
(0, swagger_1.ApiProperty)({
|
|
65
|
-
description: '
|
|
71
|
+
description: 'Um elemento por dia civil no intervalo (UTC). Em intervalos multi-dia, `appointments` traz no máximo 2 itens no total (pré-visualização global); `countAppointment` é sempre o total do dia.',
|
|
72
|
+
type: [AppointmentCalendarDayDto],
|
|
66
73
|
}),
|
|
67
|
-
__metadata("design:type", Number)
|
|
68
|
-
], AppointmentCalendarResponseDto.prototype, "countAppointment", void 0);
|
|
69
|
-
__decorate([
|
|
70
|
-
(0, swagger_1.ApiProperty)({ type: [AppointmentCalendarDayDto] }),
|
|
71
74
|
__metadata("design:type", Array)
|
|
72
75
|
], AppointmentCalendarResponseDto.prototype, "days", void 0);
|
package/package.json
CHANGED
|
@@ -20,6 +20,12 @@ export class AppointmentCalendarDayDto {
|
|
|
20
20
|
})
|
|
21
21
|
date: string;
|
|
22
22
|
|
|
23
|
+
@ApiProperty({
|
|
24
|
+
description:
|
|
25
|
+
'Quantidade de agendamentos neste dia (UTC) dentro do intervalo solicitado.',
|
|
26
|
+
})
|
|
27
|
+
countAppointment: number;
|
|
28
|
+
|
|
23
29
|
@ApiProperty({ type: [AppointmentCalendarItemDto] })
|
|
24
30
|
appointments: AppointmentCalendarItemDto[];
|
|
25
31
|
}
|
|
@@ -33,10 +39,8 @@ export class AppointmentCalendarResponseDto {
|
|
|
33
39
|
|
|
34
40
|
@ApiProperty({
|
|
35
41
|
description:
|
|
36
|
-
'
|
|
42
|
+
'Um elemento por dia civil no intervalo (UTC). Em intervalos multi-dia, `appointments` traz no máximo 2 itens no total (pré-visualização global); `countAppointment` é sempre o total do dia.',
|
|
43
|
+
type: [AppointmentCalendarDayDto],
|
|
37
44
|
})
|
|
38
|
-
countAppointment: number;
|
|
39
|
-
|
|
40
|
-
@ApiProperty({ type: [AppointmentCalendarDayDto] })
|
|
41
45
|
days: AppointmentCalendarDayDto[];
|
|
42
46
|
}
|