guildedapi-types.ts
Version:
Up to date Guilded API Typings. Contribution is welcome.
31 lines • 4.42 kB
TypeScript
import type * as OpenAPI from "../../schemas/v1";
export type POSTChannelBody = OpenAPI.operations["ChannelCreate"]["requestBody"]["content"]["application/json"];
export type POSTChannelResponse = OpenAPI.operations["ChannelCreate"]["responses"]["201"]["content"]["application/json"];
export type GETChannelResponse = OpenAPI.operations["ChannelRead"]["responses"]["200"]["content"]["application/json"];
export type PATCHChannelBody = OpenAPI.operations["ChannelUpdate"]["requestBody"]["content"]["application/json"];
export type PATCHChannelResponse = OpenAPI.operations["ChannelUpdate"]["responses"]["200"]["content"]["application/json"];
export type POSTChannelRolePermissionBody = OpenAPI.operations["ChannelRolePermissionCreate"]["requestBody"]["content"]["application/json"];
export type POSTChannelRolePermissionResponse = OpenAPI.operations["ChannelRolePermissionCreate"]["responses"]["200"]["content"]["application/json"];
export type GETChannelRolePermissionResponse = OpenAPI.operations["ChannelRolePermissionRead"]["responses"]["200"]["content"]["application/json"];
export type GETChannelRoleManyPermissionResponse = OpenAPI.operations["ChannelRolePermissionReadMany"]["responses"]["200"]["content"]["application/json"];
export type PATCHChannelRolePermissionBody = OpenAPI.operations["ChannelRolePermissionUpdate"]["requestBody"]["content"]["application/json"];
export type PATCHChannelRolePermissionResponse = OpenAPI.operations["ChannelRolePermissionUpdate"]["responses"]["200"]["content"]["application/json"];
export type POSTChannelUserPermissionBody = OpenAPI.operations["ChannelUserPermissionCreate"]["requestBody"]["content"]["application/json"];
export type POSTChannelUserPermissionResponse = OpenAPI.operations["ChannelUserPermissionCreate"]["responses"]["200"]["content"]["application/json"];
export type GETChannelUserPermissionResponse = OpenAPI.operations["ChannelUserPermissionRead"]["responses"]["200"]["content"]["application/json"];
export type GETChannelUserManyPermissionResponse = OpenAPI.operations["ChannelUserPermissionReadMany"]["responses"]["200"]["content"]["application/json"];
export type PATCHChannelUserPermissionBody = OpenAPI.operations["ChannelUserPermissionUpdate"]["requestBody"]["content"]["application/json"];
export type PATCHChannelUserPermissionResponse = OpenAPI.operations["ChannelUserPermissionUpdate"]["responses"]["200"]["content"]["application/json"];
export type POSTChannelCategoryUserPermissionBody = OpenAPI.operations["ChannelCategoryUserPermissionCreate"]["requestBody"]["content"]["application/json"];
export type POSTChannelCategoryUserPermissionResponse = OpenAPI.operations["ChannelCategoryUserPermissionCreate"]["responses"]["200"]["content"]["application/json"];
export type GETChannelCategoryUserPermissionResponse = OpenAPI.operations["ChannelCategoryUserPermissionRead"]["responses"]["200"]["content"]["application/json"];
export type GETChannelCategoryUserManyPermissionResponse = OpenAPI.operations["ChannelCategoryUserPermissionReadMany"]["responses"]["200"]["content"]["application/json"];
export type PATCHChannelCategoryUserPermissionBody = OpenAPI.operations["ChannelCategoryUserPermissionUpdate"]["requestBody"]["content"]["application/json"];
export type PATCHChannelCategoryUserPermissionResponse = OpenAPI.operations["ChannelCategoryUserPermissionUpdate"]["responses"]["200"]["content"]["application/json"];
export type POSTChannelCategoryRolePermissionBody = OpenAPI.operations["ChannelCategoryRolePermissionCreate"]["requestBody"]["content"]["application/json"];
export type POSTChannelCategoryRolePermissionResponse = OpenAPI.operations["ChannelCategoryRolePermissionCreate"]["responses"]["200"]["content"]["application/json"];
export type GETChannelCategoryRolePermissionResponse = OpenAPI.operations["ChannelCategoryRolePermissionRead"]["responses"]["200"]["content"]["application/json"];
export type GETChannelCategoryRoleManyPermissionResponse = OpenAPI.operations["ChannelCategoryRolePermissionReadMany"]["responses"]["200"]["content"]["application/json"];
export type PATCHChannelCategoryRolePermissionBody = OpenAPI.operations["ChannelCategoryRolePermissionUpdate"]["requestBody"]["content"]["application/json"];
export type PATCHChannelCategoryRolePermissionResponse = OpenAPI.operations["ChannelCategoryRolePermissionUpdate"]["responses"]["200"]["content"]["application/json"];
//# sourceMappingURL=Channels.d.ts.map