balendar 0.0.16 → 0.0.20
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 +3 -6
- package/dist/lib/models.d.ts +1 -0
- package/dist/lib/models.js +5 -5
- package/dist/src/modules/availability-rules/availability-rules.domain.d.ts +1 -0
- package/dist/src/modules/calendar-mappings/calendar-mappings.domain.d.ts +6 -0
- package/dist/src/modules/event-mappings/event-mappings.domain.d.ts +7 -0
- package/dist/src/orchestrators/calendars/connections.domain.d.ts +10 -0
- package/package.json +1 -1
|
@@ -437,6 +437,7 @@ export declare const SearchAvailabilityRulesInputSchema: z.ZodObject<{
|
|
|
437
437
|
isAvailable: z.ZodOptional<z.ZodBoolean>;
|
|
438
438
|
dateFrom: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>>;
|
|
439
439
|
dateTo: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>>;
|
|
440
|
+
excludeExpiredBefore: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>>;
|
|
440
441
|
pagination: z.ZodDefault<z.ZodObject<{
|
|
441
442
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
442
443
|
offset: z.ZodDefault<z.ZodNumber>;
|
|
@@ -89,6 +89,12 @@ export declare const UpdateCalendarMappingInputSchema: z.ZodObject<{
|
|
|
89
89
|
expiresAt: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>>;
|
|
90
90
|
accessToken: z.ZodOptional<z.ZodString>;
|
|
91
91
|
refreshToken: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
92
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
93
|
+
error: "error";
|
|
94
|
+
active: "active";
|
|
95
|
+
expired: "expired";
|
|
96
|
+
revoked: "revoked";
|
|
97
|
+
}>>;
|
|
92
98
|
syncToken: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
93
99
|
webhookId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
94
100
|
webhookResourceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -6,6 +6,7 @@ export declare const CreateEventMappingInputSchema: z.ZodObject<{
|
|
|
6
6
|
eventId: z.ZodNumber;
|
|
7
7
|
calendarConnectionId: z.ZodString;
|
|
8
8
|
externalId: z.ZodNullable<z.ZodString>;
|
|
9
|
+
recurringEventId: z.ZodNullable<z.ZodString>;
|
|
9
10
|
externalProvider: z.ZodEnum<{
|
|
10
11
|
apple: "apple";
|
|
11
12
|
google: "google";
|
|
@@ -20,6 +21,7 @@ export declare const EventMappingSchema: z.ZodObject<{
|
|
|
20
21
|
eventId: z.ZodNumber;
|
|
21
22
|
calendarConnectionId: z.ZodString;
|
|
22
23
|
externalId: z.ZodNullable<z.ZodString>;
|
|
24
|
+
recurringEventId: z.ZodNullable<z.ZodString>;
|
|
23
25
|
externalProvider: z.ZodEnum<{
|
|
24
26
|
apple: "apple";
|
|
25
27
|
google: "google";
|
|
@@ -33,6 +35,7 @@ export declare const EventMappingsSchema: z.ZodArray<z.ZodObject<{
|
|
|
33
35
|
eventId: z.ZodNumber;
|
|
34
36
|
calendarConnectionId: z.ZodString;
|
|
35
37
|
externalId: z.ZodNullable<z.ZodString>;
|
|
38
|
+
recurringEventId: z.ZodNullable<z.ZodString>;
|
|
36
39
|
externalProvider: z.ZodEnum<{
|
|
37
40
|
apple: "apple";
|
|
38
41
|
google: "google";
|
|
@@ -49,6 +52,7 @@ export type EventMappings = z.infer<typeof EventMappingsSchema>;
|
|
|
49
52
|
*/
|
|
50
53
|
export declare const UpdateEventMappingInputSchema: z.ZodObject<{
|
|
51
54
|
externalId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
55
|
+
recurringEventId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
52
56
|
}, z.core.$strip>;
|
|
53
57
|
export type UpdateEventMappingInput = z.infer<typeof UpdateEventMappingInputSchema>;
|
|
54
58
|
/**
|
|
@@ -59,6 +63,7 @@ export declare const PaginatedEventMappingsSchema: z.ZodObject<{
|
|
|
59
63
|
eventId: z.ZodNumber;
|
|
60
64
|
calendarConnectionId: z.ZodString;
|
|
61
65
|
externalId: z.ZodNullable<z.ZodString>;
|
|
66
|
+
recurringEventId: z.ZodNullable<z.ZodString>;
|
|
62
67
|
externalProvider: z.ZodEnum<{
|
|
63
68
|
apple: "apple";
|
|
64
69
|
google: "google";
|
|
@@ -84,6 +89,7 @@ export declare const SearchEventMappingsInputSchema: z.ZodObject<{
|
|
|
84
89
|
eventMappingId: z.ZodOptional<z.ZodNumber>;
|
|
85
90
|
calendarConnectionId: z.ZodOptional<z.ZodString>;
|
|
86
91
|
externalId: z.ZodOptional<z.ZodString>;
|
|
92
|
+
recurringEventId: z.ZodOptional<z.ZodString>;
|
|
87
93
|
externalProvider: z.ZodOptional<z.ZodEnum<{
|
|
88
94
|
apple: "apple";
|
|
89
95
|
google: "google";
|
|
@@ -103,6 +109,7 @@ export declare const SearchEventMappingsOutputSchema: z.ZodObject<{
|
|
|
103
109
|
eventId: z.ZodNumber;
|
|
104
110
|
calendarConnectionId: z.ZodString;
|
|
105
111
|
externalId: z.ZodNullable<z.ZodString>;
|
|
112
|
+
recurringEventId: z.ZodNullable<z.ZodString>;
|
|
106
113
|
externalProvider: z.ZodEnum<{
|
|
107
114
|
apple: "apple";
|
|
108
115
|
google: "google";
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import z from 'zod';
|
|
2
|
+
export declare const ConnectionStatusSchema: z.ZodObject<{
|
|
3
|
+
connected: z.ZodBoolean;
|
|
4
|
+
provider: z.ZodNullable<z.ZodEnum<{
|
|
5
|
+
apple: "apple";
|
|
6
|
+
google: "google";
|
|
7
|
+
microsoft: "microsoft";
|
|
8
|
+
}>>;
|
|
9
|
+
}, z.core.$strip>;
|
|
10
|
+
export type ConnectionStatus = z.infer<typeof ConnectionStatusSchema>;
|