balendar 0.0.9 → 0.0.10

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.
@@ -118,7 +118,34 @@ export declare function createBalendar(config: BalendarConfig): {
118
118
  }>>;
119
119
  };
120
120
  };
121
- })) & {};
121
+ })) & {
122
+ check: ((params: {
123
+ userId: string | number;
124
+ }) => {
125
+ get: (options?: {
126
+ headers?: Record<string, unknown> | undefined;
127
+ query?: Record<string, unknown> | undefined;
128
+ fetch?: RequestInit | undefined;
129
+ } | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
130
+ 500: {
131
+ error: string;
132
+ };
133
+ 200: {
134
+ connected: boolean;
135
+ provider: "apple" | "google" | "microsoft" | null;
136
+ };
137
+ 422: {
138
+ type: "validation";
139
+ on: string;
140
+ summary?: string;
141
+ message?: string;
142
+ found?: unknown;
143
+ property?: string;
144
+ expected?: string;
145
+ };
146
+ }>>;
147
+ }) & {};
148
+ };
122
149
  webhooks: ((params: {
123
150
  userId: string | number;
124
151
  }) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "balendar",
3
- "version": "0.0.9",
3
+ "version": "0.0.10",
4
4
  "module": "client.ts",
5
5
  "type": "module",
6
6
  "private": false,