UNPKG

guildedapi-types.ts

Version:

Up to date Guilded API Typings. Contribution is welcome.

22 lines 2.85 kB
import type * as OpenAPI from "../../schemas/v1"; export type POSTCalendarEventBody = OpenAPI.operations["CalendarEventCreate"]["requestBody"]["content"]["application/json"]; export type POSTCalendarEventResponse = OpenAPI.operations["CalendarEventCreate"]["responses"]["200"]["content"]["application/json"]; export type GETCalendarEventsQuery = OpenAPI.operations["CalendarEventReadMany"]["parameters"]["query"]; export type GETCalendarEventsResponse = OpenAPI.operations["CalendarEventReadMany"]["responses"]["200"]["content"]["application/json"]; export type GETCalendarEventResponse = OpenAPI.operations["CalendarEventRead"]["responses"]["200"]["content"]["application/json"]; export type PATCHCalendarEventBody = OpenAPI.operations["CalendarEventUpdate"]["requestBody"]["content"]["application/json"]; export type PATCHCalendarEventResponse = OpenAPI.operations["CalendarEventUpdate"]["responses"]["200"]["content"]["application/json"]; export type GETCalendarEventRSVPResponse = OpenAPI.operations["CalendarEventRsvpRead"]["responses"]["200"]["content"]["application/json"]; export type PUTCalendarEventRSVPBody = OpenAPI.operations["CalendarEventRsvpUpdate"]["requestBody"]["content"]["application/json"]; export type PUTCalendarEventRSVPResponse = OpenAPI.operations["CalendarEventRsvpUpdate"]["responses"]["200"]["content"]["application/json"]; export type GETCalendarEventRSVPSResponse = OpenAPI.operations["CalendarEventRsvpReadMany"]["responses"]["200"]["content"]["application/json"]; export type POSTCalendarEventCommentBody = OpenAPI.operations["CalendarEventCommentCreate"]["requestBody"]["content"]["application/json"]; export type POSTCalendarEventCommentResponse = OpenAPI.operations["CalendarEventCommentCreate"]["responses"]["200"]["content"]["application/json"]; export type GETCalendarEventCommentsResponse = OpenAPI.operations["CalendarEventCommentReadMany"]["responses"]["200"]["content"]["application/json"]; export type GETCalendarEventCommentResponse = OpenAPI.operations["CalendarEventCommentRead"]["responses"]["200"]["content"]["application/json"]; export type PATCHCalendarEventCommentBody = OpenAPI.operations["CalendarEventCommentUpdate"]["requestBody"]["content"]["application/json"]; export type PATCHCalendarEventCommentResponse = OpenAPI.operations["CalendarEventCommentUpdate"]["responses"]["200"]["content"]["application/json"]; export type PATCHCalendarEventSeriesBody = OpenAPI.operations["CalendarEventSeriesUpdate"]["requestBody"]["content"]["application/json"]; export type DELETECalendarEventSeriesBody = NonNullable<OpenAPI.operations["CalendarEventSeriesDelete"]["requestBody"]>["content"]["application/json"]; export type PUTCalendarEventRSVPBulkBody = NonNullable<OpenAPI.operations["CalendarEventRsvpUpdateMany"]["requestBody"]>["content"]["application/json"]; //# sourceMappingURL=Calendars.d.ts.map