balendar 0.0.29 → 0.0.30
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 +29 -3
- package/package.json +1 -1
package/dist/lib/client.d.ts
CHANGED
|
@@ -627,9 +627,35 @@ export declare function createBalendar(config: BalendarConfig): {
|
|
|
627
627
|
};
|
|
628
628
|
calendars: {
|
|
629
629
|
connections: ((params: {
|
|
630
|
-
userId: string | number;
|
|
631
630
|
provider: string | number;
|
|
632
|
-
}) => {}
|
|
631
|
+
}) => {} & ((params: {
|
|
632
|
+
userId: string | number;
|
|
633
|
+
}) => {
|
|
634
|
+
oauth: {
|
|
635
|
+
url: {
|
|
636
|
+
get: (options?: {
|
|
637
|
+
headers?: Record<string, unknown> | undefined;
|
|
638
|
+
query?: Record<string, unknown> | undefined;
|
|
639
|
+
fetch?: RequestInit | undefined;
|
|
640
|
+
} | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
|
641
|
+
500: {
|
|
642
|
+
error: string;
|
|
643
|
+
};
|
|
644
|
+
200: {
|
|
645
|
+
url: string;
|
|
646
|
+
};
|
|
647
|
+
422: {
|
|
648
|
+
type: "validation";
|
|
649
|
+
on: string;
|
|
650
|
+
summary?: string;
|
|
651
|
+
message?: string;
|
|
652
|
+
found?: unknown;
|
|
653
|
+
property?: string;
|
|
654
|
+
expected?: string;
|
|
655
|
+
};
|
|
656
|
+
}>>;
|
|
657
|
+
};
|
|
658
|
+
};
|
|
633
659
|
calendars: {
|
|
634
660
|
get: (options?: {
|
|
635
661
|
headers?: Record<string, unknown> | undefined;
|
|
@@ -686,7 +712,7 @@ export declare function createBalendar(config: BalendarConfig): {
|
|
|
686
712
|
};
|
|
687
713
|
}>>;
|
|
688
714
|
};
|
|
689
|
-
}) & {
|
|
715
|
+
})) & {
|
|
690
716
|
check: ((params: {
|
|
691
717
|
userId: string | number;
|
|
692
718
|
}) => {
|