@webitel/api-services 1.0.7 → 1.0.9
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/package.json +1 -1
- package/src/api/clients/calendars/__tests__/calendars.spec.ts +71 -0
- package/src/api/clients/calendars/calendars.ts +2 -2
- package/src/validations/calendar/__tests__/calendar.validations.spec.ts +13 -0
- package/src/validations/calendar/calendar.validations.ts +3 -3
- package/types/.tsbuildinfo +1 -1
- package/types/validations/calendar/calendar.validations.d.ts +8 -0
|
@@ -14,6 +14,14 @@ export type CalendarDayRangeIssue = {
|
|
|
14
14
|
* so a row the user has not touched keeps a message that is no longer true.
|
|
15
15
|
*/
|
|
16
16
|
export declare const getCalendarDayRangeIssues: (items: unknown) => CalendarDayRangeIssue[];
|
|
17
|
+
export declare const calendarExceptSchema: z.ZodObject<{
|
|
18
|
+
name: z.ZodString;
|
|
19
|
+
date: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
20
|
+
repeat: z.ZodOptional<z.ZodBoolean>;
|
|
21
|
+
working: z.ZodOptional<z.ZodBoolean>;
|
|
22
|
+
workStart: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
23
|
+
workStop: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
24
|
+
}, z.core.$strip>;
|
|
17
25
|
export declare const calendarSchema: z.ZodObject<{
|
|
18
26
|
accepts?: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> | undefined;
|
|
19
27
|
createdAt?: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> | undefined;
|