@frogbotai/piece-google-calendar 0.26.0 → 0.28.0
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/actions/customApiCall.d.ts +17 -60
- package/dist/actions/customApiCall.d.ts.map +1 -1
- package/dist/actions/customApiCall.js +10 -8
- package/dist/actions/customApiCall.js.map +1 -1
- package/dist/actions/events.d.ts +427 -346
- package/dist/actions/events.d.ts.map +1 -1
- package/dist/actions/events.js +18 -16
- package/dist/actions/events.js.map +1 -1
- package/dist/actions/read.d.ts +244 -174
- package/dist/actions/read.d.ts.map +1 -1
- package/dist/actions/read.js +46 -42
- package/dist/actions/read.js.map +1 -1
- package/dist/define.d.ts +6 -0
- package/dist/define.d.ts.map +1 -0
- package/dist/define.js +3 -0
- package/dist/define.js.map +1 -0
- package/dist/index.d.ts +779 -652
- package/dist/index.d.ts.map +1 -1
- package/package.json +5 -5
package/dist/actions/events.d.ts
CHANGED
|
@@ -1,9 +1,6 @@
|
|
|
1
|
-
import type { PieceRunArgs } from 'frogbot/pieces';
|
|
2
1
|
import type { calendar_v3 } from 'googleapis';
|
|
3
2
|
import { z } from 'zod';
|
|
4
|
-
|
|
5
|
-
import { colors } from './options.js';
|
|
6
|
-
declare const createInput: z.ZodObject<{
|
|
3
|
+
export declare const createEvent: import("frogbot").PieceActionDefinition<z.ZodObject<{
|
|
7
4
|
endDateTime: z.ZodOptional<z.ZodISODateTime>;
|
|
8
5
|
location: z.ZodOptional<z.ZodString>;
|
|
9
6
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -21,92 +18,114 @@ declare const createInput: z.ZodObject<{
|
|
|
21
18
|
guestsCanModify: z.ZodDefault<z.ZodBoolean>;
|
|
22
19
|
guestsCanInviteOthers: z.ZodDefault<z.ZodBoolean>;
|
|
23
20
|
guestsCanSeeOtherGuests: z.ZodDefault<z.ZodBoolean>;
|
|
24
|
-
}, z.core.$strip
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
66
|
-
dateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
67
|
-
timeZone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
68
|
-
}, z.core.$loose>>;
|
|
69
|
-
recurrence: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
70
|
-
recurringEventId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
71
|
-
attendees: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
72
|
-
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
73
|
-
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
74
|
-
responseStatus: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
75
|
-
optional: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
76
|
-
organizer: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
77
|
-
self: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
78
|
-
}, z.core.$loose>>>;
|
|
79
|
-
guestsCanModify: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
80
|
-
guestsCanInviteOthers: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
81
|
-
guestsCanSeeOtherGuests: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
82
|
-
conferenceData: z.ZodOptional<z.ZodObject<{
|
|
83
|
-
conferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
84
|
-
createRequest: z.ZodOptional<z.ZodObject<{
|
|
85
|
-
requestId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
86
|
-
status: z.ZodOptional<z.ZodObject<{
|
|
87
|
-
statusCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
88
|
-
}, z.core.$loose>>;
|
|
21
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
22
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
+
kind: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
+
etag: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
|
+
summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
|
+
location: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
|
+
htmlLink: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
|
+
hangoutLink: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
|
+
colorId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
|
+
eventType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
|
+
start: z.ZodOptional<z.ZodObject<{
|
|
34
|
+
date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
|
+
dateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36
|
+
timeZone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
|
+
}, z.core.$loose>>;
|
|
38
|
+
end: z.ZodOptional<z.ZodObject<{
|
|
39
|
+
date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
40
|
+
dateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
41
|
+
timeZone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
42
|
+
}, z.core.$loose>>;
|
|
43
|
+
recurrence: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
44
|
+
recurringEventId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
45
|
+
attendees: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
46
|
+
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
47
|
+
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
48
|
+
responseStatus: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
49
|
+
optional: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
50
|
+
organizer: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
51
|
+
self: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
52
|
+
}, z.core.$loose>>>;
|
|
53
|
+
guestsCanModify: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
54
|
+
guestsCanInviteOthers: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
55
|
+
guestsCanSeeOtherGuests: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
56
|
+
conferenceData: z.ZodOptional<z.ZodObject<{
|
|
57
|
+
conferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
58
|
+
createRequest: z.ZodOptional<z.ZodObject<{
|
|
59
|
+
requestId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
60
|
+
status: z.ZodOptional<z.ZodObject<{
|
|
61
|
+
statusCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
89
62
|
}, z.core.$loose>>;
|
|
90
|
-
entryPoints: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
91
|
-
entryPointType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
92
|
-
uri: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
93
|
-
}, z.core.$loose>>>;
|
|
94
63
|
}, z.core.$loose>>;
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
64
|
+
entryPoints: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
65
|
+
entryPointType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
66
|
+
uri: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
67
|
+
}, z.core.$loose>>>;
|
|
68
|
+
}, z.core.$loose>>;
|
|
69
|
+
}, z.core.$loose>, Record<string, never>, calendar_v3.Calendar, {
|
|
70
|
+
[x: string]: unknown;
|
|
71
|
+
id?: string | null | undefined;
|
|
72
|
+
kind?: string | null | undefined;
|
|
73
|
+
etag?: string | null | undefined;
|
|
74
|
+
status?: string | null | undefined;
|
|
75
|
+
summary?: string | null | undefined;
|
|
76
|
+
description?: string | null | undefined;
|
|
77
|
+
location?: string | null | undefined;
|
|
78
|
+
htmlLink?: string | null | undefined;
|
|
79
|
+
hangoutLink?: string | null | undefined;
|
|
80
|
+
colorId?: string | null | undefined;
|
|
81
|
+
eventType?: string | null | undefined;
|
|
82
|
+
start?: {
|
|
83
|
+
[x: string]: unknown;
|
|
84
|
+
date?: string | null | undefined;
|
|
85
|
+
dateTime?: string | null | undefined;
|
|
86
|
+
timeZone?: string | null | undefined;
|
|
87
|
+
} | undefined;
|
|
88
|
+
end?: {
|
|
89
|
+
[x: string]: unknown;
|
|
90
|
+
date?: string | null | undefined;
|
|
91
|
+
dateTime?: string | null | undefined;
|
|
92
|
+
timeZone?: string | null | undefined;
|
|
93
|
+
} | undefined;
|
|
94
|
+
recurrence?: string[] | null | undefined;
|
|
95
|
+
recurringEventId?: string | null | undefined;
|
|
96
|
+
attendees?: {
|
|
97
|
+
[x: string]: unknown;
|
|
98
|
+
email?: string | null | undefined;
|
|
99
|
+
displayName?: string | null | undefined;
|
|
100
|
+
responseStatus?: string | null | undefined;
|
|
101
|
+
optional?: boolean | null | undefined;
|
|
102
|
+
organizer?: boolean | null | undefined;
|
|
103
|
+
self?: boolean | null | undefined;
|
|
104
|
+
}[] | undefined;
|
|
105
|
+
guestsCanModify?: boolean | null | undefined;
|
|
106
|
+
guestsCanInviteOthers?: boolean | null | undefined;
|
|
107
|
+
guestsCanSeeOtherGuests?: boolean | null | undefined;
|
|
108
|
+
conferenceData?: {
|
|
109
|
+
[x: string]: unknown;
|
|
110
|
+
conferenceId?: string | null | undefined;
|
|
111
|
+
createRequest?: {
|
|
112
|
+
[x: string]: unknown;
|
|
113
|
+
requestId?: string | null | undefined;
|
|
114
|
+
status?: {
|
|
115
|
+
[x: string]: unknown;
|
|
116
|
+
statusCode?: string | null | undefined;
|
|
117
|
+
} | undefined;
|
|
118
|
+
} | undefined;
|
|
119
|
+
entryPoints?: {
|
|
120
|
+
[x: string]: unknown;
|
|
121
|
+
entryPointType?: string | null | undefined;
|
|
122
|
+
uri?: string | null | undefined;
|
|
123
|
+
}[] | undefined;
|
|
124
|
+
} | undefined;
|
|
125
|
+
}> & {
|
|
126
|
+
slug: "createEvent";
|
|
108
127
|
};
|
|
109
|
-
declare const
|
|
128
|
+
export declare const updateEvent: import("frogbot").PieceActionDefinition<z.ZodObject<{
|
|
110
129
|
calendarId: z.ZodString;
|
|
111
130
|
eventId: z.ZodString;
|
|
112
131
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -125,93 +144,114 @@ declare const updateInput: z.ZodObject<{
|
|
|
125
144
|
none: "none";
|
|
126
145
|
}>>;
|
|
127
146
|
createMeetLink: z.ZodOptional<z.ZodBoolean>;
|
|
128
|
-
}, z.core.$strip
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
end: z.ZodOptional<z.ZodObject<{
|
|
170
|
-
date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
171
|
-
dateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
172
|
-
timeZone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
173
|
-
}, z.core.$loose>>;
|
|
174
|
-
recurrence: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
175
|
-
recurringEventId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
176
|
-
attendees: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
177
|
-
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
178
|
-
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
179
|
-
responseStatus: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
180
|
-
optional: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
181
|
-
organizer: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
182
|
-
self: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
183
|
-
}, z.core.$loose>>>;
|
|
184
|
-
guestsCanModify: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
185
|
-
guestsCanInviteOthers: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
186
|
-
guestsCanSeeOtherGuests: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
187
|
-
conferenceData: z.ZodOptional<z.ZodObject<{
|
|
188
|
-
conferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
189
|
-
createRequest: z.ZodOptional<z.ZodObject<{
|
|
190
|
-
requestId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
191
|
-
status: z.ZodOptional<z.ZodObject<{
|
|
192
|
-
statusCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
193
|
-
}, z.core.$loose>>;
|
|
147
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
148
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
149
|
+
kind: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
150
|
+
etag: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
151
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
152
|
+
summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
153
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
154
|
+
location: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
155
|
+
htmlLink: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
156
|
+
hangoutLink: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
157
|
+
colorId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
158
|
+
eventType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
159
|
+
start: z.ZodOptional<z.ZodObject<{
|
|
160
|
+
date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
161
|
+
dateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
162
|
+
timeZone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
163
|
+
}, z.core.$loose>>;
|
|
164
|
+
end: z.ZodOptional<z.ZodObject<{
|
|
165
|
+
date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
166
|
+
dateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
167
|
+
timeZone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
168
|
+
}, z.core.$loose>>;
|
|
169
|
+
recurrence: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
170
|
+
recurringEventId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
171
|
+
attendees: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
172
|
+
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
173
|
+
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
174
|
+
responseStatus: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
175
|
+
optional: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
176
|
+
organizer: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
177
|
+
self: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
178
|
+
}, z.core.$loose>>>;
|
|
179
|
+
guestsCanModify: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
180
|
+
guestsCanInviteOthers: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
181
|
+
guestsCanSeeOtherGuests: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
182
|
+
conferenceData: z.ZodOptional<z.ZodObject<{
|
|
183
|
+
conferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
184
|
+
createRequest: z.ZodOptional<z.ZodObject<{
|
|
185
|
+
requestId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
186
|
+
status: z.ZodOptional<z.ZodObject<{
|
|
187
|
+
statusCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
194
188
|
}, z.core.$loose>>;
|
|
195
|
-
entryPoints: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
196
|
-
entryPointType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
197
|
-
uri: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
198
|
-
}, z.core.$loose>>>;
|
|
199
189
|
}, z.core.$loose>>;
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
190
|
+
entryPoints: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
191
|
+
entryPointType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
192
|
+
uri: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
193
|
+
}, z.core.$loose>>>;
|
|
194
|
+
}, z.core.$loose>>;
|
|
195
|
+
}, z.core.$loose>, Record<string, never>, calendar_v3.Calendar, {
|
|
196
|
+
[x: string]: unknown;
|
|
197
|
+
id?: string | null | undefined;
|
|
198
|
+
kind?: string | null | undefined;
|
|
199
|
+
etag?: string | null | undefined;
|
|
200
|
+
status?: string | null | undefined;
|
|
201
|
+
summary?: string | null | undefined;
|
|
202
|
+
description?: string | null | undefined;
|
|
203
|
+
location?: string | null | undefined;
|
|
204
|
+
htmlLink?: string | null | undefined;
|
|
205
|
+
hangoutLink?: string | null | undefined;
|
|
206
|
+
colorId?: string | null | undefined;
|
|
207
|
+
eventType?: string | null | undefined;
|
|
208
|
+
start?: {
|
|
209
|
+
[x: string]: unknown;
|
|
210
|
+
date?: string | null | undefined;
|
|
211
|
+
dateTime?: string | null | undefined;
|
|
212
|
+
timeZone?: string | null | undefined;
|
|
213
|
+
} | undefined;
|
|
214
|
+
end?: {
|
|
215
|
+
[x: string]: unknown;
|
|
216
|
+
date?: string | null | undefined;
|
|
217
|
+
dateTime?: string | null | undefined;
|
|
218
|
+
timeZone?: string | null | undefined;
|
|
219
|
+
} | undefined;
|
|
220
|
+
recurrence?: string[] | null | undefined;
|
|
221
|
+
recurringEventId?: string | null | undefined;
|
|
222
|
+
attendees?: {
|
|
223
|
+
[x: string]: unknown;
|
|
224
|
+
email?: string | null | undefined;
|
|
225
|
+
displayName?: string | null | undefined;
|
|
226
|
+
responseStatus?: string | null | undefined;
|
|
227
|
+
optional?: boolean | null | undefined;
|
|
228
|
+
organizer?: boolean | null | undefined;
|
|
229
|
+
self?: boolean | null | undefined;
|
|
230
|
+
}[] | undefined;
|
|
231
|
+
guestsCanModify?: boolean | null | undefined;
|
|
232
|
+
guestsCanInviteOthers?: boolean | null | undefined;
|
|
233
|
+
guestsCanSeeOtherGuests?: boolean | null | undefined;
|
|
234
|
+
conferenceData?: {
|
|
235
|
+
[x: string]: unknown;
|
|
236
|
+
conferenceId?: string | null | undefined;
|
|
237
|
+
createRequest?: {
|
|
238
|
+
[x: string]: unknown;
|
|
239
|
+
requestId?: string | null | undefined;
|
|
240
|
+
status?: {
|
|
241
|
+
[x: string]: unknown;
|
|
242
|
+
statusCode?: string | null | undefined;
|
|
243
|
+
} | undefined;
|
|
244
|
+
} | undefined;
|
|
245
|
+
entryPoints?: {
|
|
246
|
+
[x: string]: unknown;
|
|
247
|
+
entryPointType?: string | null | undefined;
|
|
248
|
+
uri?: string | null | undefined;
|
|
249
|
+
}[] | undefined;
|
|
250
|
+
} | undefined;
|
|
251
|
+
}> & {
|
|
252
|
+
slug: "updateEvent";
|
|
213
253
|
};
|
|
214
|
-
declare const
|
|
254
|
+
export declare const addAttendees: import("frogbot").PieceActionDefinition<z.ZodObject<{
|
|
215
255
|
calendarId: z.ZodString;
|
|
216
256
|
eventId: z.ZodString;
|
|
217
257
|
attendees: z.ZodArray<z.ZodEmail>;
|
|
@@ -220,82 +260,114 @@ declare const attendeesInput: z.ZodObject<{
|
|
|
220
260
|
externalOnly: "externalOnly";
|
|
221
261
|
none: "none";
|
|
222
262
|
}>>;
|
|
223
|
-
}, z.core.$strip
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
responseStatus: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
265
|
-
optional: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
266
|
-
organizer: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
267
|
-
self: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
268
|
-
}, z.core.$loose>>>;
|
|
269
|
-
guestsCanModify: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
270
|
-
guestsCanInviteOthers: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
271
|
-
guestsCanSeeOtherGuests: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
272
|
-
conferenceData: z.ZodOptional<z.ZodObject<{
|
|
273
|
-
conferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
274
|
-
createRequest: z.ZodOptional<z.ZodObject<{
|
|
275
|
-
requestId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
276
|
-
status: z.ZodOptional<z.ZodObject<{
|
|
277
|
-
statusCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
278
|
-
}, z.core.$loose>>;
|
|
263
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
264
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
265
|
+
kind: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
266
|
+
etag: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
267
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
268
|
+
summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
269
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
270
|
+
location: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
271
|
+
htmlLink: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
272
|
+
hangoutLink: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
273
|
+
colorId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
274
|
+
eventType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
275
|
+
start: z.ZodOptional<z.ZodObject<{
|
|
276
|
+
date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
277
|
+
dateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
278
|
+
timeZone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
279
|
+
}, z.core.$loose>>;
|
|
280
|
+
end: z.ZodOptional<z.ZodObject<{
|
|
281
|
+
date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
282
|
+
dateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
283
|
+
timeZone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
284
|
+
}, z.core.$loose>>;
|
|
285
|
+
recurrence: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
286
|
+
recurringEventId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
287
|
+
attendees: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
288
|
+
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
289
|
+
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
290
|
+
responseStatus: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
291
|
+
optional: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
292
|
+
organizer: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
293
|
+
self: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
294
|
+
}, z.core.$loose>>>;
|
|
295
|
+
guestsCanModify: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
296
|
+
guestsCanInviteOthers: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
297
|
+
guestsCanSeeOtherGuests: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
298
|
+
conferenceData: z.ZodOptional<z.ZodObject<{
|
|
299
|
+
conferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
300
|
+
createRequest: z.ZodOptional<z.ZodObject<{
|
|
301
|
+
requestId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
302
|
+
status: z.ZodOptional<z.ZodObject<{
|
|
303
|
+
statusCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
279
304
|
}, z.core.$loose>>;
|
|
280
|
-
entryPoints: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
281
|
-
entryPointType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
282
|
-
uri: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
283
|
-
}, z.core.$loose>>>;
|
|
284
305
|
}, z.core.$loose>>;
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
306
|
+
entryPoints: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
307
|
+
entryPointType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
308
|
+
uri: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
309
|
+
}, z.core.$loose>>>;
|
|
310
|
+
}, z.core.$loose>>;
|
|
311
|
+
}, z.core.$loose>, Record<string, never>, calendar_v3.Calendar, {
|
|
312
|
+
[x: string]: unknown;
|
|
313
|
+
id?: string | null | undefined;
|
|
314
|
+
kind?: string | null | undefined;
|
|
315
|
+
etag?: string | null | undefined;
|
|
316
|
+
status?: string | null | undefined;
|
|
317
|
+
summary?: string | null | undefined;
|
|
318
|
+
description?: string | null | undefined;
|
|
319
|
+
location?: string | null | undefined;
|
|
320
|
+
htmlLink?: string | null | undefined;
|
|
321
|
+
hangoutLink?: string | null | undefined;
|
|
322
|
+
colorId?: string | null | undefined;
|
|
323
|
+
eventType?: string | null | undefined;
|
|
324
|
+
start?: {
|
|
325
|
+
[x: string]: unknown;
|
|
326
|
+
date?: string | null | undefined;
|
|
327
|
+
dateTime?: string | null | undefined;
|
|
328
|
+
timeZone?: string | null | undefined;
|
|
329
|
+
} | undefined;
|
|
330
|
+
end?: {
|
|
331
|
+
[x: string]: unknown;
|
|
332
|
+
date?: string | null | undefined;
|
|
333
|
+
dateTime?: string | null | undefined;
|
|
334
|
+
timeZone?: string | null | undefined;
|
|
335
|
+
} | undefined;
|
|
336
|
+
recurrence?: string[] | null | undefined;
|
|
337
|
+
recurringEventId?: string | null | undefined;
|
|
338
|
+
attendees?: {
|
|
339
|
+
[x: string]: unknown;
|
|
340
|
+
email?: string | null | undefined;
|
|
341
|
+
displayName?: string | null | undefined;
|
|
342
|
+
responseStatus?: string | null | undefined;
|
|
343
|
+
optional?: boolean | null | undefined;
|
|
344
|
+
organizer?: boolean | null | undefined;
|
|
345
|
+
self?: boolean | null | undefined;
|
|
346
|
+
}[] | undefined;
|
|
347
|
+
guestsCanModify?: boolean | null | undefined;
|
|
348
|
+
guestsCanInviteOthers?: boolean | null | undefined;
|
|
349
|
+
guestsCanSeeOtherGuests?: boolean | null | undefined;
|
|
350
|
+
conferenceData?: {
|
|
351
|
+
[x: string]: unknown;
|
|
352
|
+
conferenceId?: string | null | undefined;
|
|
353
|
+
createRequest?: {
|
|
354
|
+
[x: string]: unknown;
|
|
355
|
+
requestId?: string | null | undefined;
|
|
356
|
+
status?: {
|
|
357
|
+
[x: string]: unknown;
|
|
358
|
+
statusCode?: string | null | undefined;
|
|
359
|
+
} | undefined;
|
|
360
|
+
} | undefined;
|
|
361
|
+
entryPoints?: {
|
|
362
|
+
[x: string]: unknown;
|
|
363
|
+
entryPointType?: string | null | undefined;
|
|
364
|
+
uri?: string | null | undefined;
|
|
365
|
+
}[] | undefined;
|
|
366
|
+
} | undefined;
|
|
367
|
+
}> & {
|
|
368
|
+
slug: "addAttendees";
|
|
297
369
|
};
|
|
298
|
-
declare const
|
|
370
|
+
export declare const createQuickEvent: import("frogbot").PieceActionDefinition<z.ZodObject<{
|
|
299
371
|
calendarId: z.ZodString;
|
|
300
372
|
text: z.ZodString;
|
|
301
373
|
sendUpdates: z.ZodDefault<z.ZodEnum<{
|
|
@@ -303,81 +375,114 @@ declare const quickInput: z.ZodObject<{
|
|
|
303
375
|
externalOnly: "externalOnly";
|
|
304
376
|
none: "none";
|
|
305
377
|
}>>;
|
|
306
|
-
}, z.core.$strip
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
optional: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
348
|
-
organizer: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
349
|
-
self: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
350
|
-
}, z.core.$loose>>>;
|
|
351
|
-
guestsCanModify: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
352
|
-
guestsCanInviteOthers: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
353
|
-
guestsCanSeeOtherGuests: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
354
|
-
conferenceData: z.ZodOptional<z.ZodObject<{
|
|
355
|
-
conferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
356
|
-
createRequest: z.ZodOptional<z.ZodObject<{
|
|
357
|
-
requestId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
358
|
-
status: z.ZodOptional<z.ZodObject<{
|
|
359
|
-
statusCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
360
|
-
}, z.core.$loose>>;
|
|
378
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
379
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
380
|
+
kind: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
381
|
+
etag: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
382
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
383
|
+
summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
384
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
385
|
+
location: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
386
|
+
htmlLink: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
387
|
+
hangoutLink: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
388
|
+
colorId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
389
|
+
eventType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
390
|
+
start: z.ZodOptional<z.ZodObject<{
|
|
391
|
+
date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
392
|
+
dateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
393
|
+
timeZone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
394
|
+
}, z.core.$loose>>;
|
|
395
|
+
end: z.ZodOptional<z.ZodObject<{
|
|
396
|
+
date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
397
|
+
dateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
398
|
+
timeZone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
399
|
+
}, z.core.$loose>>;
|
|
400
|
+
recurrence: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
401
|
+
recurringEventId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
402
|
+
attendees: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
403
|
+
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
404
|
+
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
405
|
+
responseStatus: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
406
|
+
optional: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
407
|
+
organizer: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
408
|
+
self: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
409
|
+
}, z.core.$loose>>>;
|
|
410
|
+
guestsCanModify: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
411
|
+
guestsCanInviteOthers: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
412
|
+
guestsCanSeeOtherGuests: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
413
|
+
conferenceData: z.ZodOptional<z.ZodObject<{
|
|
414
|
+
conferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
415
|
+
createRequest: z.ZodOptional<z.ZodObject<{
|
|
416
|
+
requestId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
417
|
+
status: z.ZodOptional<z.ZodObject<{
|
|
418
|
+
statusCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
361
419
|
}, z.core.$loose>>;
|
|
362
|
-
entryPoints: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
363
|
-
entryPointType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
364
|
-
uri: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
365
|
-
}, z.core.$loose>>>;
|
|
366
420
|
}, z.core.$loose>>;
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
421
|
+
entryPoints: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
422
|
+
entryPointType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
423
|
+
uri: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
424
|
+
}, z.core.$loose>>>;
|
|
425
|
+
}, z.core.$loose>>;
|
|
426
|
+
}, z.core.$loose>, Record<string, never>, calendar_v3.Calendar, {
|
|
427
|
+
[x: string]: unknown;
|
|
428
|
+
id?: string | null | undefined;
|
|
429
|
+
kind?: string | null | undefined;
|
|
430
|
+
etag?: string | null | undefined;
|
|
431
|
+
status?: string | null | undefined;
|
|
432
|
+
summary?: string | null | undefined;
|
|
433
|
+
description?: string | null | undefined;
|
|
434
|
+
location?: string | null | undefined;
|
|
435
|
+
htmlLink?: string | null | undefined;
|
|
436
|
+
hangoutLink?: string | null | undefined;
|
|
437
|
+
colorId?: string | null | undefined;
|
|
438
|
+
eventType?: string | null | undefined;
|
|
439
|
+
start?: {
|
|
440
|
+
[x: string]: unknown;
|
|
441
|
+
date?: string | null | undefined;
|
|
442
|
+
dateTime?: string | null | undefined;
|
|
443
|
+
timeZone?: string | null | undefined;
|
|
444
|
+
} | undefined;
|
|
445
|
+
end?: {
|
|
446
|
+
[x: string]: unknown;
|
|
447
|
+
date?: string | null | undefined;
|
|
448
|
+
dateTime?: string | null | undefined;
|
|
449
|
+
timeZone?: string | null | undefined;
|
|
450
|
+
} | undefined;
|
|
451
|
+
recurrence?: string[] | null | undefined;
|
|
452
|
+
recurringEventId?: string | null | undefined;
|
|
453
|
+
attendees?: {
|
|
454
|
+
[x: string]: unknown;
|
|
455
|
+
email?: string | null | undefined;
|
|
456
|
+
displayName?: string | null | undefined;
|
|
457
|
+
responseStatus?: string | null | undefined;
|
|
458
|
+
optional?: boolean | null | undefined;
|
|
459
|
+
organizer?: boolean | null | undefined;
|
|
460
|
+
self?: boolean | null | undefined;
|
|
461
|
+
}[] | undefined;
|
|
462
|
+
guestsCanModify?: boolean | null | undefined;
|
|
463
|
+
guestsCanInviteOthers?: boolean | null | undefined;
|
|
464
|
+
guestsCanSeeOtherGuests?: boolean | null | undefined;
|
|
465
|
+
conferenceData?: {
|
|
466
|
+
[x: string]: unknown;
|
|
467
|
+
conferenceId?: string | null | undefined;
|
|
468
|
+
createRequest?: {
|
|
469
|
+
[x: string]: unknown;
|
|
470
|
+
requestId?: string | null | undefined;
|
|
471
|
+
status?: {
|
|
472
|
+
[x: string]: unknown;
|
|
473
|
+
statusCode?: string | null | undefined;
|
|
474
|
+
} | undefined;
|
|
475
|
+
} | undefined;
|
|
476
|
+
entryPoints?: {
|
|
477
|
+
[x: string]: unknown;
|
|
478
|
+
entryPointType?: string | null | undefined;
|
|
479
|
+
uri?: string | null | undefined;
|
|
480
|
+
}[] | undefined;
|
|
481
|
+
} | undefined;
|
|
482
|
+
}> & {
|
|
483
|
+
slug: "createQuickEvent";
|
|
379
484
|
};
|
|
380
|
-
declare const
|
|
485
|
+
export declare const deleteEvent: import("frogbot").PieceActionDefinition<z.ZodObject<{
|
|
381
486
|
calendarId: z.ZodString;
|
|
382
487
|
eventId: z.ZodString;
|
|
383
488
|
sendUpdates: z.ZodOptional<z.ZodEnum<{
|
|
@@ -385,35 +490,11 @@ declare const deleteInput: z.ZodObject<{
|
|
|
385
490
|
externalOnly: "externalOnly";
|
|
386
491
|
none: "none";
|
|
387
492
|
}>>;
|
|
388
|
-
}, z.core.$strip
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
eventId: z.ZodString;
|
|
395
|
-
sendUpdates: z.ZodOptional<z.ZodEnum<{
|
|
396
|
-
all: "all";
|
|
397
|
-
externalOnly: "externalOnly";
|
|
398
|
-
none: "none";
|
|
399
|
-
}>>;
|
|
400
|
-
}, z.core.$strip>;
|
|
401
|
-
output: z.ZodObject<{
|
|
402
|
-
deleted: z.ZodLiteral<true>;
|
|
403
|
-
}, z.core.$strip>;
|
|
404
|
-
idempotent: boolean;
|
|
405
|
-
options: {
|
|
406
|
-
calendarId: ({ client, req }: {
|
|
407
|
-
client: GoogleCalendar;
|
|
408
|
-
req: import("frogbot").FrogBotRequest;
|
|
409
|
-
}) => Promise<{
|
|
410
|
-
label: string;
|
|
411
|
-
value: string;
|
|
412
|
-
}[]>;
|
|
413
|
-
};
|
|
414
|
-
run({ client, input, req, }: PieceRunArgs<z.output<typeof deleteInput>, object, GoogleCalendar>): Promise<{
|
|
415
|
-
deleted: true;
|
|
416
|
-
}>;
|
|
493
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
494
|
+
deleted: z.ZodLiteral<true>;
|
|
495
|
+
}, z.core.$strip>, Record<string, never>, calendar_v3.Calendar, {
|
|
496
|
+
deleted: true;
|
|
497
|
+
}> & {
|
|
498
|
+
slug: "deleteEvent";
|
|
417
499
|
};
|
|
418
|
-
export {};
|
|
419
500
|
//# sourceMappingURL=events.d.ts.map
|