import PropTypes from 'prop-types'; const T = {}; T['io.flow.github.v0.models.error'] = PropTypes.exact({ resource: PropTypes.string.isRequired, field: PropTypes.string.isRequired, code: PropTypes.string.isRequired, }); T['io.flow.github.v0.models.unprocessable_entity'] = PropTypes.exact({ message: PropTypes.string.isRequired, errors: PropTypes.arrayOf(T['io.flow.github.v0.models.error']), }); T['io.flow.github.v0.models.tagger'] = PropTypes.exact({ name: PropTypes.string.isRequired, email: PropTypes.string.isRequired, date: PropTypes.string.isRequired, }); T['io.flow.github.v0.models.tag_form'] = PropTypes.exact({ tag: PropTypes.string.isRequired, message: PropTypes.string.isRequired, object: PropTypes.string.isRequired, type: PropTypes.string.isRequired, tagger: T['io.flow.github.v0.models.tagger'].isRequired, }); T['io.flow.github.v0.enums.owner_type'] = PropTypes.oneOf(['User']); T['io.flow.github.v0.models.user'] = PropTypes.exact({ id: PropTypes.number.isRequired, login: PropTypes.string.isRequired, name: PropTypes.string, email: PropTypes.string, avatar_url: PropTypes.string, gravatar_id: PropTypes.string, url: PropTypes.string.isRequired, html_url: PropTypes.string.isRequired, type: T['io.flow.github.v0.enums.owner_type'].isRequired, }); T['io.flow.github.v0.models.repository'] = PropTypes.exact({ id: PropTypes.number.isRequired, owner: T['io.flow.github.v0.models.user'].isRequired, name: PropTypes.string.isRequired, full_name: PropTypes.string.isRequired, 'private': PropTypes.bool.isRequired, description: PropTypes.string, url: PropTypes.string.isRequired, html_url: PropTypes.string.isRequired, default_branch: PropTypes.string.isRequired, }); T['io.flow.github.v0.models.github_object'] = PropTypes.exact({ type: PropTypes.string.isRequired, sha: PropTypes.string.isRequired, url: PropTypes.string.isRequired, }); T['io.flow.github.v0.models.tag'] = PropTypes.exact({ tag: PropTypes.string.isRequired, sha: PropTypes.string.isRequired, url: PropTypes.string.isRequired, message: PropTypes.string.isRequired, tagger: T['io.flow.github.v0.models.tagger'].isRequired, object: T['io.flow.github.v0.models.github_object'].isRequired, }); T['io.flow.github.v0.models.ref'] = PropTypes.exact({ ref: PropTypes.string.isRequired, url: PropTypes.string.isRequired, object: T['io.flow.github.v0.models.github_object'].isRequired, }); T['io.flow.github.v0.models.pull_request_head'] = PropTypes.exact({ ref: PropTypes.string.isRequired, }); T['io.flow.github.v0.models.pull_request'] = PropTypes.exact({ id: PropTypes.number.isRequired, url: PropTypes.string.isRequired, number: PropTypes.number.isRequired, html_url: PropTypes.string.isRequired, head: T['io.flow.github.v0.models.pull_request_head'].isRequired, }); T['io.flow.github.v0.models.hook_config'] = PropTypes.exact({ url: PropTypes.string, content_type: PropTypes.string, }); T['io.flow.github.v0.enums.hook_event'] = PropTypes.oneOf(['push', 'pull_request']); T['io.flow.github.v0.models.hook_form'] = PropTypes.exact({ name: PropTypes.string.isRequired, config: T['io.flow.github.v0.models.hook_config'].isRequired, events: PropTypes.arrayOf(T['io.flow.github.v0.enums.hook_event']).isRequired, active: PropTypes.bool.isRequired, }); T['io.flow.github.v0.models.hook'] = PropTypes.exact({ id: PropTypes.number.isRequired, url: PropTypes.string.isRequired, test_url: PropTypes.string.isRequired, ping_url: PropTypes.string.isRequired, name: PropTypes.string.isRequired, events: PropTypes.arrayOf(T['io.flow.github.v0.enums.hook_event']).isRequired, active: PropTypes.bool.isRequired, config: T['io.flow.github.v0.models.hook_config'].isRequired, updated_at: PropTypes.string.isRequired, created_at: PropTypes.string.isRequired, }); T['io.flow.github.v0.enums.node_type'] = PropTypes.oneOf(['blob', 'tree', 'commit']); T['io.flow.github.v0.models.tree_result'] = PropTypes.exact({ path: PropTypes.string.isRequired, mode: PropTypes.string.isRequired, type: T['io.flow.github.v0.enums.node_type'].isRequired, size: PropTypes.number.isRequired, sha: PropTypes.string.isRequired, url: PropTypes.string.isRequired, }); T['io.flow.github.v0.models.node_form'] = PropTypes.exact({ path: PropTypes.string.isRequired, mode: PropTypes.string.isRequired, type: T['io.flow.github.v0.enums.node_type'].isRequired, sha: PropTypes.string.isRequired, }); T['io.flow.github.v0.models.node'] = PropTypes.exact({ path: PropTypes.string.isRequired, mode: PropTypes.string.isRequired, type: T['io.flow.github.v0.enums.node_type'].isRequired, size: PropTypes.number.isRequired, sha: PropTypes.string.isRequired, url: PropTypes.string.isRequired, }); T['io.flow.github.v0.models.tree'] = PropTypes.exact({ sha: PropTypes.string.isRequired, url: PropTypes.string.isRequired, truncated: PropTypes.bool.isRequired, tree: PropTypes.arrayOf(T['io.flow.github.v0.models.node']).isRequired, }); T['io.flow.github.v0.models.create_tree_response'] = PropTypes.exact({ sha: PropTypes.string.isRequired, url: PropTypes.string.isRequired, tree_result: T['io.flow.github.v0.models.tree'].isRequired, }); T['io.flow.github.v0.models.tree_form'] = PropTypes.exact({ path: PropTypes.string.isRequired, mode: PropTypes.string.isRequired, type: T['io.flow.github.v0.enums.node_type'].isRequired, sha: PropTypes.string, content: PropTypes.string, }); T['io.flow.github.v0.models.create_tree_form'] = PropTypes.exact({ base_tree: PropTypes.string.isRequired, tree: PropTypes.arrayOf(T['io.flow.github.v0.models.tree_form']).isRequired, }); T['io.flow.github.v0.enums.contents_type'] = PropTypes.oneOf(['file', 'dir', 'symlink', 'submodule']); T['io.flow.github.v0.models.commit_summary'] = PropTypes.exact({ sha: PropTypes.string.isRequired, url: PropTypes.string.isRequired, }); T['io.flow.github.v0.models.tag_summary'] = PropTypes.exact({ name: PropTypes.string.isRequired, commit: T['io.flow.github.v0.models.commit_summary'].isRequired, }); T['io.flow.github.v0.models.tree_summary'] = PropTypes.exact({ url: PropTypes.string.isRequired, sha: PropTypes.string.isRequired, }); T['io.flow.github.v0.models.person'] = PropTypes.exact({ name: PropTypes.string.isRequired, email: PropTypes.string.isRequired, date: PropTypes.string.isRequired, }); T['io.flow.github.v0.models.commit_response'] = PropTypes.exact({ sha: PropTypes.string.isRequired, url: PropTypes.string.isRequired, author: T['io.flow.github.v0.models.person'].isRequired, committer: T['io.flow.github.v0.models.person'].isRequired, message: PropTypes.string.isRequired, tree: T['io.flow.github.v0.models.tree_summary'].isRequired, parents: PropTypes.arrayOf(T['io.flow.github.v0.models.tree_summary']).isRequired, }); T['io.flow.github.v0.models.commit_form'] = PropTypes.exact({ message: PropTypes.string.isRequired, tree: PropTypes.string.isRequired, parents: PropTypes.arrayOf(PropTypes.string).isRequired, author: T['io.flow.github.v0.models.person'].isRequired, committer: T['io.flow.github.v0.models.person'].isRequired, }); T['io.flow.github.v0.models.commit'] = PropTypes.exact({ sha: PropTypes.string.isRequired, url: PropTypes.string.isRequired, html_url: PropTypes.string.isRequired, author: T['io.flow.github.v0.models.person'].isRequired, committer: T['io.flow.github.v0.models.person'].isRequired, tree: T['io.flow.github.v0.models.tree_summary'].isRequired, message: PropTypes.string.isRequired, parents: PropTypes.arrayOf(T['io.flow.github.v0.models.commit_summary']).isRequired, }); T['io.flow.github.v0.enums.encoding'] = PropTypes.oneOf(['base64', 'utf-8']); T['io.flow.github.v0.models.contents'] = PropTypes.exact({ type: T['io.flow.github.v0.enums.contents_type'].isRequired, encoding: T['io.flow.github.v0.enums.encoding'].isRequired, size: PropTypes.number.isRequired, name: PropTypes.string.isRequired, path: PropTypes.string.isRequired, content: PropTypes.string, sha: PropTypes.string.isRequired, url: PropTypes.string.isRequired, git_url: PropTypes.string.isRequired, html_url: PropTypes.string.isRequired, download_url: PropTypes.string.isRequired, }); T['io.flow.github.v0.models.blob_form'] = PropTypes.exact({ content: PropTypes.string.isRequired, encoding: T['io.flow.github.v0.enums.encoding'].isRequired, }); T['io.flow.github.v0.models.blob'] = PropTypes.exact({ content: PropTypes.string.isRequired, encoding: T['io.flow.github.v0.enums.encoding'].isRequired, url: PropTypes.string.isRequired, sha: PropTypes.string.isRequired, size: PropTypes.number.isRequired, }); T['io.flow.github.v0.enums.visibility'] = PropTypes.oneOf(['all', 'public', 'private']); T['io.flow.github.v0.models.blob_created'] = PropTypes.exact({ url: PropTypes.string.isRequired, sha: PropTypes.string.isRequired, }); T['io.flow.github.v0.models.pull_request_form'] = PropTypes.exact({ title: PropTypes.string.isRequired, head: PropTypes.string.isRequired, base: PropTypes.string.isRequired, body: PropTypes.string, }); T['io.flow.github.v0.models.ref_form'] = PropTypes.exact({ ref: PropTypes.string.isRequired, sha: PropTypes.string.isRequired, }); T['io.flow.github.v0.models.ref_update_form'] = PropTypes.exact({ sha: PropTypes.string.isRequired, }); T['io.flow.github.v0.models.user_email'] = PropTypes.exact({ email: PropTypes.string.isRequired, verified: PropTypes.bool.isRequired, primary: PropTypes.bool.isRequired, }); T['io.flow.github.v0.models.user_org'] = PropTypes.exact({ login: PropTypes.string.isRequired, }); export const blob = T['io.flow.github.v0.models.blob']; export const blobCreated = T['io.flow.github.v0.models.blob_created']; export const blobForm = T['io.flow.github.v0.models.blob_form']; export const commit = T['io.flow.github.v0.models.commit']; export const commitForm = T['io.flow.github.v0.models.commit_form']; export const commitResponse = T['io.flow.github.v0.models.commit_response']; export const commitSummary = T['io.flow.github.v0.models.commit_summary']; export const contents = T['io.flow.github.v0.models.contents']; export const contentsType = T['io.flow.github.v0.enums.contents_type']; export const createTreeForm = T['io.flow.github.v0.models.create_tree_form']; export const createTreeResponse = T['io.flow.github.v0.models.create_tree_response']; export const encoding = T['io.flow.github.v0.enums.encoding']; export const error = T['io.flow.github.v0.models.error']; export const githubObject = T['io.flow.github.v0.models.github_object']; export const hook = T['io.flow.github.v0.models.hook']; export const hookConfig = T['io.flow.github.v0.models.hook_config']; export const hookEvent = T['io.flow.github.v0.enums.hook_event']; export const hookForm = T['io.flow.github.v0.models.hook_form']; export const node = T['io.flow.github.v0.models.node']; export const nodeForm = T['io.flow.github.v0.models.node_form']; export const nodeType = T['io.flow.github.v0.enums.node_type']; export const ownerType = T['io.flow.github.v0.enums.owner_type']; export const person = T['io.flow.github.v0.models.person']; export const pullRequest = T['io.flow.github.v0.models.pull_request']; export const pullRequestForm = T['io.flow.github.v0.models.pull_request_form']; export const pullRequestHead = T['io.flow.github.v0.models.pull_request_head']; export const ref = T['io.flow.github.v0.models.ref']; export const refForm = T['io.flow.github.v0.models.ref_form']; export const refUpdateForm = T['io.flow.github.v0.models.ref_update_form']; export const repository = T['io.flow.github.v0.models.repository']; export const tag = T['io.flow.github.v0.models.tag']; export const tagForm = T['io.flow.github.v0.models.tag_form']; export const tagSummary = T['io.flow.github.v0.models.tag_summary']; export const tagger = T['io.flow.github.v0.models.tagger']; export const tree = T['io.flow.github.v0.models.tree']; export const treeForm = T['io.flow.github.v0.models.tree_form']; export const treeResult = T['io.flow.github.v0.models.tree_result']; export const treeSummary = T['io.flow.github.v0.models.tree_summary']; export const unprocessableEntity = T['io.flow.github.v0.models.unprocessable_entity']; export const user = T['io.flow.github.v0.models.user']; export const userEmail = T['io.flow.github.v0.models.user_email']; export const userOrg = T['io.flow.github.v0.models.user_org']; export const visibility = T['io.flow.github.v0.enums.visibility'];