declare namespace io.flow.github.v0.enums { type ContentsType = 'file' | 'dir' | 'symlink' | 'submodule'; type Encoding = 'base64' | 'utf-8'; type HookEvent = 'push' | 'pull_request'; type NodeType = 'blob' | 'tree' | 'commit'; type OwnerType = 'User'; type Visibility = 'all' | 'public' | 'private'; } declare namespace io.flow.github.v0.models { interface Blob { readonly 'content': string; readonly 'encoding': io.flow.github.v0.enums.Encoding; readonly 'url': string; readonly 'sha': string; readonly 'size': number; } interface BlobCreated { readonly 'url': string; readonly 'sha': string; } interface BlobForm { readonly 'content': string; readonly 'encoding': io.flow.github.v0.enums.Encoding; } interface Commit { readonly 'sha': string; readonly 'url': string; readonly 'html_url': string; readonly 'author': io.flow.github.v0.models.Person; readonly 'committer': io.flow.github.v0.models.Person; readonly 'tree': io.flow.github.v0.models.TreeSummary; readonly 'message': string; readonly 'parents': io.flow.github.v0.models.CommitSummary[]; } interface CommitForm { readonly 'message': string; readonly 'tree': string; readonly 'parents': string[]; readonly 'author': io.flow.github.v0.models.Person; readonly 'committer': io.flow.github.v0.models.Person; } interface CommitResponse { readonly 'sha': string; readonly 'url': string; readonly 'author': io.flow.github.v0.models.Person; readonly 'committer': io.flow.github.v0.models.Person; readonly 'message': string; readonly 'tree': io.flow.github.v0.models.TreeSummary; readonly 'parents': io.flow.github.v0.models.TreeSummary[]; } interface CommitSummary { readonly 'sha': string; readonly 'url': string; } interface Contents { readonly 'type': io.flow.github.v0.enums.ContentsType; readonly 'encoding': io.flow.github.v0.enums.Encoding; readonly 'size': number; readonly 'name': string; readonly 'path': string; readonly 'content'?: string; readonly 'sha': string; readonly 'url': string; readonly 'git_url': string; readonly 'html_url': string; readonly 'download_url': string; } interface CreateTreeForm { readonly 'base_tree': string; readonly 'tree': io.flow.github.v0.models.TreeForm[]; } interface CreateTreeResponse { readonly 'sha': string; readonly 'url': string; readonly 'tree_result': io.flow.github.v0.models.Tree; } interface Error { readonly 'resource': string; readonly 'field': string; readonly 'code': string; } interface GithubObject { readonly 'type': string; readonly 'sha': string; readonly 'url': string; } interface Hook { readonly 'id': number; readonly 'url': string; readonly 'test_url': string; readonly 'ping_url': string; readonly 'name': string; readonly 'events': io.flow.github.v0.enums.HookEvent[]; readonly 'active': boolean; readonly 'config': io.flow.github.v0.models.HookConfig; readonly 'updated_at': string; readonly 'created_at': string; } interface HookConfig { readonly 'url'?: string; readonly 'content_type'?: string; } interface HookForm { readonly 'name': string; readonly 'config': io.flow.github.v0.models.HookConfig; readonly 'events': io.flow.github.v0.enums.HookEvent[]; readonly 'active': boolean; } interface Node { readonly 'path': string; readonly 'mode': string; readonly 'type': io.flow.github.v0.enums.NodeType; readonly 'size': number; readonly 'sha': string; readonly 'url': string; } interface NodeForm { readonly 'path': string; readonly 'mode': string; readonly 'type': io.flow.github.v0.enums.NodeType; readonly 'sha': string; } interface Person { readonly 'name': string; readonly 'email': string; readonly 'date': string; } interface PullRequest { readonly 'id': number; readonly 'url': string; readonly 'number': number; readonly 'html_url': string; readonly 'head': io.flow.github.v0.models.PullRequestHead; } interface PullRequestForm { readonly 'title': string; readonly 'head': string; readonly 'base': string; readonly 'body'?: string; } interface PullRequestHead { readonly 'ref': string; } interface Ref { readonly 'ref': string; readonly 'url': string; readonly 'object': io.flow.github.v0.models.GithubObject; } interface RefForm { readonly 'ref': string; readonly 'sha': string; } interface RefUpdateForm { readonly 'sha': string; } interface Repository { readonly 'id': number; readonly 'owner': io.flow.github.v0.models.User; readonly 'name': string; readonly 'full_name': string; readonly 'private': boolean; readonly 'description'?: string; readonly 'url': string; readonly 'html_url': string; readonly 'default_branch': string; } interface Tag { readonly 'tag': string; readonly 'sha': string; readonly 'url': string; readonly 'message': string; readonly 'tagger': io.flow.github.v0.models.Tagger; readonly 'object': io.flow.github.v0.models.GithubObject; } interface TagForm { readonly 'tag': string; readonly 'message': string; readonly 'object': string; readonly 'type': string; readonly 'tagger': io.flow.github.v0.models.Tagger; } interface TagSummary { readonly 'name': string; readonly 'commit': io.flow.github.v0.models.CommitSummary; } interface Tagger { readonly 'name': string; readonly 'email': string; readonly 'date': string; } interface Tree { readonly 'sha': string; readonly 'url': string; readonly 'truncated': boolean; readonly 'tree': io.flow.github.v0.models.Node[]; } interface TreeForm { readonly 'path': string; readonly 'mode': string; readonly 'type': io.flow.github.v0.enums.NodeType; readonly 'sha'?: string; readonly 'content'?: string; } interface TreeResult { readonly 'path': string; readonly 'mode': string; readonly 'type': io.flow.github.v0.enums.NodeType; readonly 'size': number; readonly 'sha': string; readonly 'url': string; } interface TreeSummary { readonly 'url': string; readonly 'sha': string; } interface UnprocessableEntity { readonly 'message': string; readonly 'errors'?: io.flow.github.v0.models.Error[]; } interface User { readonly 'id': number; readonly 'login': string; readonly 'name'?: string; readonly 'email'?: string; readonly 'avatar_url'?: string; readonly 'gravatar_id'?: string; readonly 'url': string; readonly 'html_url': string; readonly 'type': io.flow.github.v0.enums.OwnerType; } interface UserEmail { readonly 'email': string; readonly 'verified': boolean; readonly 'primary': boolean; } interface UserOrg { readonly 'login': string; } } export type Blob = io.flow.github.v0.models.Blob; export type BlobCreated = io.flow.github.v0.models.BlobCreated; export type BlobForm = io.flow.github.v0.models.BlobForm; export type Commit = io.flow.github.v0.models.Commit; export type CommitForm = io.flow.github.v0.models.CommitForm; export type CommitResponse = io.flow.github.v0.models.CommitResponse; export type CommitSummary = io.flow.github.v0.models.CommitSummary; export type Contents = io.flow.github.v0.models.Contents; export type ContentsType = io.flow.github.v0.enums.ContentsType; export type CreateTreeForm = io.flow.github.v0.models.CreateTreeForm; export type CreateTreeResponse = io.flow.github.v0.models.CreateTreeResponse; export type Encoding = io.flow.github.v0.enums.Encoding; export type Error = io.flow.github.v0.models.Error; export type GithubObject = io.flow.github.v0.models.GithubObject; export type Hook = io.flow.github.v0.models.Hook; export type HookConfig = io.flow.github.v0.models.HookConfig; export type HookEvent = io.flow.github.v0.enums.HookEvent; export type HookForm = io.flow.github.v0.models.HookForm; export type Node = io.flow.github.v0.models.Node; export type NodeForm = io.flow.github.v0.models.NodeForm; export type NodeType = io.flow.github.v0.enums.NodeType; export type OwnerType = io.flow.github.v0.enums.OwnerType; export type Person = io.flow.github.v0.models.Person; export type PullRequest = io.flow.github.v0.models.PullRequest; export type PullRequestForm = io.flow.github.v0.models.PullRequestForm; export type PullRequestHead = io.flow.github.v0.models.PullRequestHead; export type Ref = io.flow.github.v0.models.Ref; export type RefForm = io.flow.github.v0.models.RefForm; export type RefUpdateForm = io.flow.github.v0.models.RefUpdateForm; export type Repository = io.flow.github.v0.models.Repository; export type Tag = io.flow.github.v0.models.Tag; export type TagForm = io.flow.github.v0.models.TagForm; export type TagSummary = io.flow.github.v0.models.TagSummary; export type Tagger = io.flow.github.v0.models.Tagger; export type Tree = io.flow.github.v0.models.Tree; export type TreeForm = io.flow.github.v0.models.TreeForm; export type TreeResult = io.flow.github.v0.models.TreeResult; export type TreeSummary = io.flow.github.v0.models.TreeSummary; export type UnprocessableEntity = io.flow.github.v0.models.UnprocessableEntity; export type User = io.flow.github.v0.models.User; export type UserEmail = io.flow.github.v0.models.UserEmail; export type UserOrg = io.flow.github.v0.models.UserOrg; export type Visibility = io.flow.github.v0.enums.Visibility;