@@ -55,6 +55,23 @@ export interface paths {
5555 patch ?: never ;
5656 trace ?: never ;
5757 } ;
58+ "/api/event" : {
59+ parameters : {
60+ query ?: never ;
61+ header ?: never ;
62+ path ?: never ;
63+ cookie ?: never ;
64+ } ;
65+ get ?: never ;
66+ put ?: never ;
67+ /** @description Create a new shared calendar event */
68+ post : operations [ "postApiEvent" ] ;
69+ delete ?: never ;
70+ options ?: never ;
71+ head ?: never ;
72+ patch ?: never ;
73+ trace ?: never ;
74+ } ;
5875 "/api/info/{id}" : {
5976 parameters : {
6077 query ?: never ;
@@ -119,10 +136,10 @@ export interface operations {
119136 } & {
120137 /**
121138 * @description Unix timestamp for when the item will expire in milliseconds. Must be between 0 and 1 year (31 days for files).
122- * @default 1760987919326
139+ * @default 1761000448906
123140 * @example 1735689600000
124141 */
125- expires : number | null ;
142+ expires ? : number | null ;
126143 /** @description An optional string that allows you to later delete the item before it expires. */
127144 deleteToken ?: string | null ;
128145 } ;
@@ -169,10 +186,10 @@ export interface operations {
169186 } & {
170187 /**
171188 * @description Unix timestamp for when the item will expire in milliseconds. Must be between 0 and 1 year (31 days for files).
172- * @default 1760987919327
189+ * @default 1761000448907
173190 * @example 1735689600000
174191 */
175- expires : number | null ;
192+ expires ? : number | null ;
176193 /** @description An optional string that allows you to later delete the item before it expires. */
177194 deleteToken ?: string | null ;
178195 } ;
@@ -214,19 +231,19 @@ export interface operations {
214231 } & {
215232 /**
216233 * @description Unix timestamp for when the item will expire in milliseconds. Must be between 0 and 1 year (31 days for files).
217- * @default 1760987919327
234+ * @default 1761000448907
218235 * @example 1735689600000
219236 */
220- expires : number | null ;
237+ expires ? : number | null ;
221238 /** @description An optional string that allows you to later delete the item before it expires. */
222239 deleteToken ?: string | null ;
223240 } & {
224241 /**
225242 * @description Unix timestamp for when the item will expire in milliseconds. Must be between 0 and 1 year (31 days for files).
226- * @default 1760987919327
243+ * @default 1761000448907
227244 * @example 1735689600000
228245 */
229- expires : number | null ;
246+ expires ? : number | null ;
230247 /** @description An optional string that allows you to later delete the item before it expires. */
231248 deleteToken ?: string | null ;
232249 } ;
@@ -254,6 +271,61 @@ export interface operations {
254271 } ;
255272 } ;
256273 } ;
274+ postApiEvent : {
275+ parameters : {
276+ query ?: never ;
277+ header ?: never ;
278+ path ?: never ;
279+ cookie ?: never ;
280+ } ;
281+ requestBody ?: {
282+ content : {
283+ "application/json" : {
284+ /** @example My event */
285+ title : string ;
286+ description ?: string | null ;
287+ location ?: string | null ;
288+ startDate : string ;
289+ endDate ?: string | null ;
290+ /** @default false */
291+ allDay ?: boolean ;
292+ } & {
293+ /**
294+ * @description Unix timestamp for when the item will expire in milliseconds. Must be between 0 and 1 year (31 days for files).
295+ * @default 1761000448908
296+ * @example 1735689600000
297+ */
298+ expires ?: number | null ;
299+ /** @description An optional string that allows you to later delete the item before it expires. */
300+ deleteToken ?: string | null ;
301+ } ;
302+ } ;
303+ } ;
304+ responses : {
305+ /** @description Successful response */
306+ 200 : {
307+ headers : {
308+ [ name : string ] : unknown ;
309+ } ;
310+ content : {
311+ "application/json" : {
312+ id : string ;
313+ title : string ;
314+ description : string | null ;
315+ location : string | null ;
316+ startDate : string ;
317+ endDate : string | null ;
318+ allDay : boolean ;
319+ createdAt : string ;
320+ updatedAt : string ;
321+ expiresAt : string | null ;
322+ /** @constant */
323+ type : "event" ;
324+ } ;
325+ } ;
326+ } ;
327+ } ;
328+ } ;
257329 getApiInfoById : {
258330 parameters : {
259331 query ?: never ;
@@ -298,6 +370,19 @@ export interface operations {
298370 expiresAt : string | null ;
299371 /** @constant */
300372 type : "upload" ;
373+ } | {
374+ id : string ;
375+ title : string ;
376+ description : string | null ;
377+ location : string | null ;
378+ startDate : string ;
379+ endDate : string | null ;
380+ allDay : boolean ;
381+ createdAt : string ;
382+ updatedAt : string ;
383+ expiresAt : string | null ;
384+ /** @constant */
385+ type : "event" ;
301386 } ;
302387 } ;
303388 } ;
0 commit comments