balendar 0.0.13 → 0.0.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/lib/client.d.ts +95 -93
- package/dist/lib/models.js +5 -5
- package/dist/src/modules/availability-rules/availability-rules.domain.d.ts +6 -6
- package/dist/src/modules/calendar-mappings/calendar-mappings.domain.d.ts +6 -6
- package/dist/src/modules/event-mappings/event-mappings.domain.d.ts +6 -6
- package/dist/src/modules/events/events.domain.d.ts +3 -3
- package/dist/src/shared/schemas/id.models.d.ts +1 -1
- package/dist/src/shared/schemas/pagination.models.d.ts +3 -3
- package/package.json +1 -1
package/dist/lib/client.d.ts
CHANGED
|
@@ -522,103 +522,105 @@ export declare function createBalendar(config: BalendarConfig): {
|
|
|
522
522
|
}>>;
|
|
523
523
|
};
|
|
524
524
|
};
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
bookingDurationMinutes: number;
|
|
539
|
-
slotGapMinutes: number;
|
|
540
|
-
timeZone: string;
|
|
541
|
-
};
|
|
542
|
-
}, options?: {
|
|
543
|
-
headers?: Record<string, unknown> | undefined;
|
|
544
|
-
query?: Record<string, unknown> | undefined;
|
|
545
|
-
fetch?: RequestInit | undefined;
|
|
546
|
-
} | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
|
547
|
-
200: {
|
|
548
|
-
userId: number;
|
|
549
|
-
timeZone: string;
|
|
550
|
-
bookingLocationAvailability: {
|
|
551
|
-
bookingLocationId: number;
|
|
552
|
-
timeSlotCount: number;
|
|
553
|
-
timeSlots: {
|
|
554
|
-
date: string;
|
|
555
|
-
time: string[];
|
|
525
|
+
availability: {
|
|
526
|
+
"user-time-slots": {
|
|
527
|
+
post: (body: {
|
|
528
|
+
filters: {
|
|
529
|
+
dateFrom: string;
|
|
530
|
+
dateTo: string;
|
|
531
|
+
timeFrom: string;
|
|
532
|
+
timeTo: string;
|
|
533
|
+
userId: number;
|
|
534
|
+
bookingLocations: {
|
|
535
|
+
bookingLocationId: number;
|
|
536
|
+
bufferMinutes: number;
|
|
537
|
+
leadMinutes: number;
|
|
556
538
|
}[];
|
|
539
|
+
bookingDurationMinutes: number;
|
|
540
|
+
slotGapMinutes: number;
|
|
541
|
+
timeZone: string;
|
|
542
|
+
};
|
|
543
|
+
}, options?: {
|
|
544
|
+
headers?: Record<string, unknown> | undefined;
|
|
545
|
+
query?: Record<string, unknown> | undefined;
|
|
546
|
+
fetch?: RequestInit | undefined;
|
|
547
|
+
} | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
|
548
|
+
200: {
|
|
549
|
+
userId: number;
|
|
550
|
+
timeZone: string;
|
|
551
|
+
bookingLocationAvailability: {
|
|
552
|
+
bookingLocationId: number;
|
|
553
|
+
timeSlotCount: number;
|
|
554
|
+
timeSlots: {
|
|
555
|
+
date: string;
|
|
556
|
+
time: string[];
|
|
557
|
+
}[];
|
|
558
|
+
}[];
|
|
559
|
+
};
|
|
560
|
+
400: {
|
|
561
|
+
error: string;
|
|
562
|
+
};
|
|
563
|
+
422: {
|
|
564
|
+
type: "validation";
|
|
565
|
+
on: string;
|
|
566
|
+
summary?: string;
|
|
567
|
+
message?: string;
|
|
568
|
+
found?: unknown;
|
|
569
|
+
property?: string;
|
|
570
|
+
expected?: string;
|
|
571
|
+
};
|
|
572
|
+
}>>;
|
|
573
|
+
};
|
|
574
|
+
"users-time-slots": {
|
|
575
|
+
post: (body: {
|
|
576
|
+
baseFilters: {
|
|
577
|
+
dateFrom: string;
|
|
578
|
+
dateTo: string;
|
|
579
|
+
timeFrom: string;
|
|
580
|
+
timeTo: string;
|
|
581
|
+
};
|
|
582
|
+
userFilters: {
|
|
583
|
+
userId: number;
|
|
584
|
+
bookingLocations: {
|
|
585
|
+
bookingLocationId: number;
|
|
586
|
+
bufferMinutes: number;
|
|
587
|
+
leadMinutes: number;
|
|
588
|
+
}[];
|
|
589
|
+
bookingDurationMinutes: number;
|
|
590
|
+
slotGapMinutes: number;
|
|
591
|
+
timeZone: string;
|
|
557
592
|
}[];
|
|
558
|
-
}
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
"users-time-slots": {
|
|
574
|
-
post: (body: {
|
|
575
|
-
baseFilters: {
|
|
576
|
-
dateFrom: string;
|
|
577
|
-
dateTo: string;
|
|
578
|
-
timeFrom: string;
|
|
579
|
-
timeTo: string;
|
|
580
|
-
};
|
|
581
|
-
userFilters: {
|
|
582
|
-
userId: number;
|
|
583
|
-
bookingLocations: {
|
|
584
|
-
bookingLocationId: number;
|
|
585
|
-
bufferMinutes: number;
|
|
586
|
-
leadMinutes: number;
|
|
587
|
-
}[];
|
|
588
|
-
bookingDurationMinutes: number;
|
|
589
|
-
slotGapMinutes: number;
|
|
590
|
-
timeZone: string;
|
|
591
|
-
}[];
|
|
592
|
-
}, options?: {
|
|
593
|
-
headers?: Record<string, unknown> | undefined;
|
|
594
|
-
query?: Record<string, unknown> | undefined;
|
|
595
|
-
fetch?: RequestInit | undefined;
|
|
596
|
-
} | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
|
597
|
-
200: {
|
|
598
|
-
userId: number;
|
|
599
|
-
timeZone: string;
|
|
600
|
-
bookingLocationAvailability: {
|
|
601
|
-
bookingLocationId: number;
|
|
602
|
-
timeSlotCount: number;
|
|
603
|
-
timeSlots: {
|
|
604
|
-
date: string;
|
|
605
|
-
time: string[];
|
|
593
|
+
}, options?: {
|
|
594
|
+
headers?: Record<string, unknown> | undefined;
|
|
595
|
+
query?: Record<string, unknown> | undefined;
|
|
596
|
+
fetch?: RequestInit | undefined;
|
|
597
|
+
} | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
|
598
|
+
200: {
|
|
599
|
+
userId: number;
|
|
600
|
+
timeZone: string;
|
|
601
|
+
bookingLocationAvailability: {
|
|
602
|
+
bookingLocationId: number;
|
|
603
|
+
timeSlotCount: number;
|
|
604
|
+
timeSlots: {
|
|
605
|
+
date: string;
|
|
606
|
+
time: string[];
|
|
607
|
+
}[];
|
|
606
608
|
}[];
|
|
607
609
|
}[];
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
}
|
|
621
|
-
}
|
|
610
|
+
400: {
|
|
611
|
+
error: string;
|
|
612
|
+
};
|
|
613
|
+
422: {
|
|
614
|
+
type: "validation";
|
|
615
|
+
on: string;
|
|
616
|
+
summary?: string;
|
|
617
|
+
message?: string;
|
|
618
|
+
found?: unknown;
|
|
619
|
+
property?: string;
|
|
620
|
+
expected?: string;
|
|
621
|
+
};
|
|
622
|
+
}>>;
|
|
623
|
+
};
|
|
622
624
|
};
|
|
623
625
|
calendars: {
|
|
624
626
|
connections: ((params: {
|