/**
 * A user or organization
 */ export interface SwaggerTypeActorGeneratedDataContract { avatar_url ? : string ; bio ? : string ; /** The website URL from the profile page */ blog ? : string ; collaborators ? : number ; company ? : string ; /** ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ */ created_at ? : string ; disk_usage ? : number ; /** Note: The returned email is the user’s publicly visible email address (or null if the user has not specified a public email address in their profile). */ email ? : string ; followers ? : number ; followers_url ? : string ; following ? : number ; following_url ? : string ; gists_url ? : string ; gravatar_id ? : string ; hireable ? : boolean ; html_url ? : string ; id ? : number ; location ? : string ; /** The account username */ login ? : string ; /** The full account name */ name ? : string ; organizations_url ? : string ; owned_private_repos ? : number ; plan ? : { collaborators ? : number ; name ? : string ; private_repos ? : number ; space ? : number ; } ; private_gists ? : number ; public_gists ? : number ; public_repos ? : number ; starred_url ? : string ; subscriptions_url ? : string ; total_private_repos ? : number ; type ? : "User" | "Organization" ; /** ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ */ updated_at ? : string ; url ? : string ; } export interface SwaggerTypeAssetGeneratedDataContract { content_type ? : string ; created_at ? : string ; download_count ? : number ; id ? : number ; label ? : string ; name ? : string ; size ? : number ; state ? : string ; updated_at ? : string ; /** A GitHub user */ uploader ? : SwaggerTypeUserGeneratedDataContract ; url ? : string ; } export interface SwaggerTypeAssetPatchGeneratedDataContract { label ? : string ; name : string ; } export type SwaggerTypeAssetsGeneratedDataContract = SwaggerTypeAssetGeneratedDataContract [ ] ; export type SwaggerTypeAssigneesGeneratedDataContract = SwaggerTypeUserGeneratedDataContract [ ] ; export interface SwaggerTypeBlobGeneratedDataContract { content ? : string ; encoding ? : "utf-8" | "base64" ; sha ? : string ; size ? : number ; } export interface SwaggerTypeBlobsGeneratedDataContract { sha ? : string ; } export interface SwaggerTypeBranchGeneratedDataContract { _links ? : { html ? : string ; self ? : string ; } ; commit ? : { author ? : SwaggerTypeUserGeneratedDataContract ; commit ? : { author ? : { date ? : string ; email ? : string ; name ? : string ; } ; committer ? : { date ? : string ; email ? : string ; name ? : string ; } ; message ? : string ; tree ? : { sha ? : string ; url ? : string ; } ; url ? : string ; } ; committer ? : SwaggerTypeUserGeneratedDataContract ; parents ? : { sha ? : string ; url ? : string ; } [ ] ; sha ? : string ; url ? : string ; } ; name ? : string ; } export type SwaggerTypeBranchesGeneratedDataContract = { commit ? : { sha ? : string ; url ? : string ; } ; name ? : string ; } [ ] ; export type SwaggerTypeCodeFrequencyStatsGeneratedDataContract = number [ ] ; export interface SwaggerTypeCommentGeneratedDataContract { body ? : string ; } export interface SwaggerTypeCommentBodyGeneratedDataContract { body : string ; } export type SwaggerTypeCommentsGeneratedDataContract = { body ? : string ; created_at ? : string ; id ? : number ; url ? : string ; user ? : SwaggerTypeUserGeneratedDataContract ; } [ ] ; export interface SwaggerTypeCommitGeneratedDataContract { /** A GitHub user */ author ? : SwaggerTypeUserGeneratedDataContract ; commit ? : { author ? : { date ? : string ; email ? : string ; name ? : string ; } ; committer ? : { date ? : string ; email ? : string ; name ? : string ; } ; message ? : string ; tree ? : { sha ? : string ; url ? : string ; } ; url ? : string ; } ; /** A GitHub user */ committer ? : SwaggerTypeUserGeneratedDataContract ; files ? : { additions ? : number ; blob_url ? : string ; changes ? : number ; deletions ? : number ; filename ? : string ; patch ? : string ; raw_url ? : string ; status ? : string ; } [ ] ; parents ? : { sha ? : string ; url ? : string ; } [ ] ; sha ? : string ; stats ? : { additions ? : number ; deletions ? : number ; total ? : number ; } ; url ? : string ; } export type SwaggerTypeCommitActivityStatsGeneratedDataContract = { days ? : number [ ] ; total ? : number ; week ? : number ; } [ ] ; export interface SwaggerTypeCommitCommentGeneratedDataContract { body ? : string ; commit_id ? : string ; /** ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ */ created_at ? : string ; html_url ? : string ; id ? : number ; line ? : number ; path ? : string ; position ? : number ; /** ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ */ updated_at ? : string ; url ? : string ; /** A GitHub user */ user ? : SwaggerTypeUserGeneratedDataContract ; } export interface SwaggerTypeCommitCommentBodyGeneratedDataContract { body : string ; /** Deprecated - Use position parameter instead. */ line ? : string ; /** Line number in the file to comment on. Defaults to null. */ number ? : string ; /** Relative path of the file to comment on. */ path ? : string ; /** Line index in the diff to comment on. */ position ? : number ; /** SHA of the commit to comment on. */ sha : string ; } export type SwaggerTypeCommitsGeneratedDataContract = { author ? : SwaggerTypeUserGeneratedDataContract ; commit ? : { author ? : { date ? : string ; email ? : string ; name ? : string ; } ; committer ? : { date ? : string ; email ? : string ; name ? : string ; } ; message ? : string ; tree ? : { sha ? : string ; url ? : string ; } ; url ? : string ; } ; committer ? : SwaggerTypeUserGeneratedDataContract ; parents ? : { sha ? : string ; url ? : string ; } [ ] ; sha ? : string ; url ? : string ; } [ ] ; export interface SwaggerTypeCompareCommitsGeneratedDataContract { ahead_by ? : number ; base_commit ? : { author ? : SwaggerTypeUserGeneratedDataContract ; commit ? : { author ? : { date ? : string ; email ? : string ; name ? : string ; } ; committer ? : { date ? : string ; email ? : string ; name ? : string ; } ; message ? : string ; tree ? : { sha ? : string ; url ? : string ; } ; url ? : string ; } ; committer ? : SwaggerTypeUserGeneratedDataContract ; parents ? : { sha ? : string ; url ? : string ; } [ ] ; sha ? : string ; url ? : string ; } ; behind_by ? : number ; commits ? : { author ? : SwaggerTypeUserGeneratedDataContract ; commit ? : { author ? : { date ? : string ; email ? : string ; name ? : string ; } ; committer ? : { date ? : string ; email ? : string ; name ? : string ; } ; message ? : string ; tree ? : { sha ? : string ; url ? : string ; } ; url ? : string ; } ; committer ? : SwaggerTypeUserGeneratedDataContract ; parents ? : { sha ? : string ; url ? : string ; } [ ] ; sha ? : string ; url ? : string ; } [ ] ; diff_url ? : string ; files ? : { additions ? : number ; blob_url ? : string ; changes ? : number ; contents_url ? : string ; deletions ? : number ; filename ? : string ; patch ? : string ; raw_url ? : string ; sha ? : string ; status ? : string ; } [ ] ; html_url ? : string ; patch_url ? : string ; permalink_url ? : string ; status ? : string ; total_commits ? : number ; url ? : string ; } export interface SwaggerTypeContentsPathGeneratedDataContract { _links ? : { git ? : string ; html ? : string ; self ? : string ; } ; content ? : string ; encoding ? : string ; git_url ? : string ; html_url ? : string ; name ? : string ; path ? : string ; sha ? : string ; size ? : number ; type ? : string ; url ? : string ; } export type SwaggerTypeContributorsStatsGeneratedDataContract = { author ? : { avatar_url ? : string ; gravatar_id ? : string ; id ? : number ; login ? : string ; url ? : string ; } ; total ? : number ; weeks ? : { a ? : number ; c ? : number ; d ? : number ; w ? : string ; } [ ] ; } [ ] ; export interface SwaggerTypeCreateFileGeneratedDataContract { commit ? : { author ? : { date ? : string ; email ? : string ; name ? : string ; } ; committer ? : { date ? : string ; email ? : string ; name ? : string ; } ; html_url ? : string ; message ? : string ; parents ? : { html_url ? : string ; sha ? : string ; url ? : string ; } [ ] ; sha ? : string ; tree ? : { sha ? : string ; url ? : string ; } ; url ? : string ; } ; content ? : { _links ? : { git ? : string ; html ? : string ; self ? : string ; } ; git_url ? : string ; html_url ? : string ; name ? : string ; path ? : string ; sha ? : string ; size ? : number ; type ? : string ; url ? : string ; } ; } export interface SwaggerTypeCreateFileBodyGeneratedDataContract { committer ? : { email ? : string ; name ? : string ; } ; content ? : string ; message ? : string ; } export interface SwaggerTypeDeleteFileGeneratedDataContract { commit ? : { author ? : { date ? : string ; email ? : string ; name ? : string ; } ; committer ? : { date ? : string ; email ? : string ; name ? : string ; } ; html_url ? : string ; message ? : string ; parents ? : { html_url ? : string ; sha ? : string ; url ? : string ; } ; sha ? : string ; tree ? : { sha ? : string ; url ? : string ; } ; url ? : string ; } ; content ? : string ; } export interface SwaggerTypeDeleteFileBodyGeneratedDataContract { committer ? : { email ? : string ; name ? : string ; } ; message ? : string ; sha ? : string ; } export interface SwaggerTypeDeploymentGeneratedDataContract { description ? : string ; payload ? : { deploy_user ? : string ; environment ? : string ; room_id ? : number ; } ; ref ? : string ; } export interface SwaggerTypeDeploymentRespGeneratedDataContract { created_at ? : string ; /** A GitHub user */ creator ? : SwaggerTypeUserGeneratedDataContract ; description ? : string ; id ? : number ; payload ? : string ; sha ? : string ; statuses_url ? : string ; updated_at ? : string ; url ? : string ; } export type SwaggerTypeDeploymentStatusesGeneratedDataContract = { created_at ? : string ; creator ? : SwaggerTypeUserGeneratedDataContract ; description ? : string ; id ? : number ; payload ? : string ; state ? : string ; target_url ? : string ; updated_at ? : string ; url ? : string ; } [ ] ; export interface SwaggerTypeDeploymentStatusesCreateGeneratedDataContract { description ? : string ; state ? : string ; target_url ? : string ; } export interface SwaggerTypeDownloadGeneratedDataContract { content_type ? : string ; description ? : string ; download_count ? : number ; html_url ? : string ; id ? : number ; name ? : string ; size ? : number ; url ? : string ; } export type SwaggerTypeDownloadsGeneratedDataContract = SwaggerTypeDownloadGeneratedDataContract [ ] ; export interface SwaggerTypeEditTeamGeneratedDataContract { name : string ; permission ? : "pull" | "push" | "admin" ; } export type SwaggerTypeEmailsPostGeneratedDataContract = string [ ] ; export type SwaggerTypeEmojisGeneratedDataContract = Record < string , string > ; export interface SwaggerTypeEventGeneratedDataContract { /** A user or organization */ actor ? : SwaggerTypeActorGeneratedDataContract ; created_at ? : object ; id ? : number ; /** A GitHub organization */ org ? : SwaggerTypeOrganizationGeneratedDataContract ; payload ? : object ; public ? : boolean ; repo ? : { id ? : number ; name ? : string ; url ? : string ; } ; type ? : string ; } export type SwaggerTypeEventsGeneratedDataContract = SwaggerTypeEventGeneratedDataContract [ ] ; export interface SwaggerTypeFeedsGeneratedDataContract { _links ? : { current_user ? : { href ? : string ; type ? : string ; } ; current_user_actor ? : { href ? : string ; type ? : string ; } ; current_user_organization ? : { href ? : string ; type ? : string ; } ; current_user_public ? : { href ? : string ; type ? : string ; } ; timeline ? : { href ? : string ; type ? : string ; } ; user ? : { href ? : string ; type ? : string ; } ; } ; current_user_actor_url ? : string ; current_user_organization_url ? : string ; current_user_public ? : string ; current_user_url ? : string ; timeline_url ? : string ; user_url ? : string ; } export interface SwaggerTypeForkBodyGeneratedDataContract { organization ? : string ; } export type SwaggerTypeForksGeneratedDataContract = SwaggerTypeReposGeneratedDataContract ; export interface SwaggerTypeGistGeneratedDataContract { comments ? : number ; comments_url ? : string ; /** Timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ. */ created_at ? : string ; description ? : string ; files ? : { "ring.erl" ? : { filename ? : string ; raw_url ? : string ; size ? : number ; } ; } ; forks ? : { created_at ? : string ; url ? : string ; user ? : SwaggerTypeUserGeneratedDataContract ; } [ ] ; git_pull_url ? : string ; git_push_url ? : string ; history ? : { change_status ? : { additions ? : number ; deletions ? : number ; total ? : number ; } ; committed_at ? : string ; url ? : string ; user ? : SwaggerTypeUserGeneratedDataContract ; version ? : string ; } [ ] ; html_url ? : string ; id ? : string ; public ? : boolean ; url ? : string ; /** A GitHub user */ user ? : SwaggerTypeUserGeneratedDataContract ; } export type SwaggerTypeGistsGeneratedDataContract = { comments ? : number ; comments_url ? : string ; created_at ? : string ; description ? : string ; files ? : { "ring.erl" ? : { filename ? : string ; raw_url ? : string ; size ? : number ; } ; } ; git_pull_url ? : string ; git_push_url ? : string ; html_url ? : string ; id ? : string ; public ? : boolean ; url ? : string ; user ? : SwaggerTypeUserGeneratedDataContract ; } [ ] ; export interface SwaggerTypeGitCommitGeneratedDataContract { author ? : { date ? : string ; email ? : string ; name ? : string ; } ; message ? : string ; parents ? : string ; tree ? : string ; } export interface SwaggerTypeGitRefPatchGeneratedDataContract { force ? : boolean ; sha ? : string ; } export type SwaggerTypeGitignoreGeneratedDataContract = any [ ] ; export interface SwaggerTypeGitignoreLangGeneratedDataContract { name ? : string ; source ? : string ; } export interface SwaggerTypeHeadBranchGeneratedDataContract { object ? : { sha ? : string ; type ? : string ; url ? : string ; } ; ref ? : string ; url ? : string ; } export type SwaggerTypeHookGeneratedDataContract = { active ? : boolean ; config ? : { content_type ? : string ; url ? : string ; } ; created_at ? : string ; events ? : ( "push" | "issues" | "issue_comment" | "commit_comment" | "pull_request" | "pull_request_review_comment" | "gollum" | "watch" | "download" | "fork" | "fork_apply" | "member" | "public" | "team_add" | "status" ) [ ] ; id ? : number ; name ? : string ; updated_at ? : string ; url ? : string ; } [ ] ; export interface SwaggerTypeHookBodyGeneratedDataContract { active ? : boolean ; add_events ? : string [ ] ; } export interface SwaggerTypeIssueGeneratedDataContract { assignee ? : string ; body ? : string ; labels ? : string [ ] ; milestone ? : number ; title ? : string ; } export interface SwaggerTypeIssueEventGeneratedDataContract { /** A user or organization */ actor ? : SwaggerTypeActorGeneratedDataContract ; commit_id ? : string ; /** ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ */ created_at ? : string ; event ? : string ; issue ? : { assignee ? : SwaggerTypeUserGeneratedDataContract ; body ? : string ; closed_at ? : string ; comments ? : number ; created_at ? : string ; html_url ? : string ; labels ? : { color ? : string ; name ? : string ; url ? : string ; } [ ] ; milestone ? : { closed_issues ? : number ; created_at ? : string ; creator ? : SwaggerTypeUserGeneratedDataContract ; description ? : string ; due_on ? : string ; number ? : number ; open_issues ? : number ; state ? : "open" | "closed" ; title ? : string ; url ? : string ; } ; number ? : number ; pull_request ? : { diff_url ? : string ; html_url ? : string ; patch_url ? : string ; } ; state ? : "open" | "closed" ; title ? : string ; updated_at ? : string ; url ? : string ; user ? : SwaggerTypeUserGeneratedDataContract ; } ; url ? : string ; } export type SwaggerTypeIssueEventsGeneratedDataContract = SwaggerTypeIssueEventGeneratedDataContract [ ] ; export type SwaggerTypeIssuesGeneratedDataContract = { assignee ? : SwaggerTypeUserGeneratedDataContract ; body ? : string ; closed_at ? : string ; comments ? : number ; created_at ? : string ; html_url ? : string ; labels ? : { color ? : string ; name ? : string ; url ? : string ; } [ ] ; milestone ? : { closed_issues ? : number ; created_at ? : string ; creator ? : SwaggerTypeUserGeneratedDataContract ; description ? : string ; due_on ? : string ; number ? : number ; open_issues ? : number ; state ? : "open" | "closed" ; title ? : string ; url ? : string ; } ; number ? : number ; pull_request ? : { diff_url ? : string ; html_url ? : string ; patch_url ? : string ; } ; state ? : "open" | "closed" ; title ? : string ; updated_at ? : string ; url ? : string ; user ? : SwaggerTypeUserGeneratedDataContract ; } [ ] ; export interface SwaggerTypeIssuesCommentGeneratedDataContract { body ? : string ; /** ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ */ created_at ? : string ; html_url ? : string ; id ? : number ; /** ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ */ updated_at ? : string ; url ? : string ; /** A GitHub user */ user ? : SwaggerTypeUserGeneratedDataContract ; } export type SwaggerTypeIssuesCommentsGeneratedDataContract = { _links ? : { html ? : { href ? : string ; } ; pull_request ? : { href ? : string ; } ; self ? : { href ? : string ; } ; } ; body ? : string ; commit_id ? : string ; created_at ? : string ; id ? : number ; path ? : string ; position ? : number ; updated_at ? : string ; url ? : string ; user ? : SwaggerTypeUserGeneratedDataContract ; } [ ] ; export type SwaggerTypeKeysGeneratedDataContract = { id ? : number ; key ? : string ; title ? : string ; url ? : string ; } [ ] ; export interface SwaggerTypeLabelGeneratedDataContract { color ? : string ; name ? : string ; url ? : string ; } export type SwaggerTypeLabelsGeneratedDataContract = { color ? : string ; name ? : string ; url ? : string ; } [ ] ; export type SwaggerTypeLanguagesGeneratedDataContract = Record < string , number > ; export interface SwaggerTypeMarkdownGeneratedDataContract { context ? : string ; mode ? : string ; text ? : string ; } export interface SwaggerTypeMergeGeneratedDataContract { merged ? : boolean ; message ? : string ; sha ? : string ; } export interface SwaggerTypeMergePullBodyGeneratedDataContract { commit_message ? : string ; } export interface SwaggerTypeMergesBodyGeneratedDataContract { base ? : string ; commit_message ? : string ; head ? : string ; } export interface SwaggerTypeMergesConflictGeneratedDataContract { /** Error message */ message ? : string ; } export interface SwaggerTypeMergesSuccessfulGeneratedDataContract { /** A GitHub user */ author ? : SwaggerTypeUserGeneratedDataContract ; comments_url ? : string ; commit ? : { author ? : { date ? : string ; email ? : string ; name ? : string ; } ; comment_count ? : number ; committer ? : { date ? : string ; email ? : string ; name ? : string ; } ; message ? : string ; tree ? : { sha ? : string ; url ? : string ; } ; url ? : string ; } ; /** A GitHub user */ committer ? : SwaggerTypeUserGeneratedDataContract ; merged ? : boolean ; message ? : string ; parents ? : { sha ? : string ; url ? : string ; } [ ] ; sha ? : string ; url ? : string ; } export interface SwaggerTypeMetaGeneratedDataContract { git ? : string [ ] ; hooks ? : string [ ] ; } export interface SwaggerTypeMilestoneGeneratedDataContract { closed_issues ? : number ; /** ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ */ created_at ? : string ; /** A GitHub user */ creator ? : SwaggerTypeUserGeneratedDataContract ; description ? : string ; /** ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ */ due_on ? : string ; number ? : number ; open_issues ? : number ; state ? : "open" | "closed" ; title ? : string ; url ? : string ; } export interface SwaggerTypeMilestoneUpdateGeneratedDataContract { description ? : string ; due_on ? : string ; state ? : string ; title ? : string ; } export interface SwaggerTypeNotificationMarkReadGeneratedDataContract { last_read_at ? : string ; } export interface SwaggerTypeNotificationsGeneratedDataContract { id ? : number ; last_read_at ? : string ; reason ? : string ; repository ? : { description ? : string ; fork ? : boolean ; full_name ? : string ; html_url ? : string ; id ? : number ; name ? : string ; owner ? : SwaggerTypeActorGeneratedDataContract ; private ? : boolean ; url ? : string ; } ; subject ? : { latest_comment_url ? : string ; title ? : string ; type ? : string ; url ? : string ; } ; unread ? : boolean ; updated_at ? : string ; url ? : string ; } export interface SwaggerTypeOrgTeamsPostGeneratedDataContract { name : string ; permission ? : "pull" | "push" | "admin" ; repo_names ? : string [ ] ; } /**
 * A GitHub organization
 */ export type SwaggerTypeOrganizationGeneratedDataContract = SwaggerTypeActorGeneratedDataContract ; export interface SwaggerTypeOrganizationAsTeamMemberGeneratedDataContract { errors ? : { code ? : string ; field ? : string ; resource ? : string ; } [ ] ; message ? : string ; } export interface SwaggerTypeParticipationStatsGeneratedDataContract { all ? : number [ ] ; owner ? : number [ ] ; } export interface SwaggerTypePatchGistGeneratedDataContract { description ? : string ; files ? : { "delete_this_file.txt" ? : string ; "file1.txt" ? : { content ? : string ; } ; "new_file.txt" ? : { content ? : string ; } ; "old_name.txt" ? : { content ? : string ; filename ? : string ; } ; } ; } export interface SwaggerTypePatchOrgGeneratedDataContract { /** Billing email address. This address is not publicized. */ billing_email ? : string ; company ? : string ; /** Publicly visible email address. */ email ? : string ; location ? : string ; name ? : string ; } export interface SwaggerTypePostGistGeneratedDataContract { description ? : string ; files ? : { "file1.txt" ? : { content ? : string ; } ; } ; public ? : boolean ; } export interface SwaggerTypePostRepoGeneratedDataContract { /** True to create an initial commit with empty README. Default is false. */ auto_init ? : boolean ; description ? : string ; /** Desired language or platform .gitignore template to apply. Use the name of the template without the extension. For example, "Haskell" Ignored if auto_init parameter is not provided.  */ gitignore_template ? : string ; /** True to enable downloads for this repository, false to disable them. Default is true. */ has_downloads ? : boolean ; /** True to enable issues for this repository, false to disable them. Default is true. */ has_issues ? : boolean ; /** True to enable the wiki for this repository, false to disable it. Default is true. */ has_wiki ? : boolean ; homepage ? : string ; name : string ; /** True to create a private repository, false to create a public one. Creating private repositories requires a paid GitHub account. */ private ? : boolean ; /** The id of the team that will be granted access to this repository. This is only valid when creating a repo in an organization. */ team_id ? : number ; } export interface SwaggerTypePullRequestGeneratedDataContract { _links ? : { comments ? : { href ? : string ; } ; html ? : { href ? : string ; } ; review_comments ? : { href ? : string ; } ; self ? : { href ? : string ; } ; } ; additions ? : number ; base ? : { label ? : string ; ref ? : string ; repo ? : SwaggerTypeRepoGeneratedDataContract ; sha ? : string ; user ? : { avatar_url ? : string ; gravatar_id ? : string ; id ? : number ; login ? : string ; url ? : string ; } ; } ; body ? : string ; changed_files ? : number ; closed_at ? : string ; comments ? : number ; commits ? : number ; created_at ? : string ; deletions ? : number ; diff_url ? : string ; head ? : { label ? : string ; ref ? : string ; repo ? : SwaggerTypeRepoGeneratedDataContract ; sha ? : string ; user ? : { avatar_url ? : string ; gravatar_id ? : string ; id ? : number ; login ? : string ; url ? : string ; } ; } ; html_url ? : string ; issue_url ? : string ; merge_commit_sha ? : string ; mergeable ? : boolean ; merged ? : boolean ; merged_at ? : string ; merged_by ? : { avatar_url ? : string ; gravatar_id ? : string ; id ? : number ; login ? : string ; url ? : string ; } ; number ? : number ; patch_url ? : string ; state ? : string ; title ? : string ; updated_at ? : string ; url ? : string ; user ? : { avatar_url ? : string ; gravatar_id ? : string ; id ? : number ; login ? : string ; url ? : string ; } ; } export interface SwaggerTypePullUpdateGeneratedDataContract { body ? : string ; state ? : string ; title ? : string ; } export type SwaggerTypePullsGeneratedDataContract = { _links ? : { comments ? : { href ? : string ; } ; html ? : { href ? : string ; } ; review_comments ? : { href ? : string ; } ; self ? : { href ? : string ; } ; } ; base ? : { label ? : string ; ref ? : string ; repo ? : SwaggerTypeRepoGeneratedDataContract ; sha ? : string ; user ? : { avatar_url ? : string ; gravatar_id ? : string ; id ? : number ; login ? : string ; url ? : string ; } ; } ; body ? : string ; closed_at ? : string ; created_at ? : string ; diff_url ? : string ; head ? : { label ? : string ; ref ? : string ; repo ? : SwaggerTypeRepoGeneratedDataContract ; sha ? : string ; user ? : { avatar_url ? : string ; gravatar_id ? : string ; id ? : number ; login ? : string ; url ? : string ; } ; } ; html_url ? : string ; issue_url ? : string ; merged_at ? : string ; number ? : number ; patch_url ? : string ; state ? : "open" | "closed" ; title ? : string ; updated_at ? : string ; url ? : string ; user ? : { avatar_url ? : string ; gravatar_id ? : string ; id ? : number ; login ? : string ; url ? : string ; } ; } [ ] ; export interface SwaggerTypePullsCommentGeneratedDataContract { _links ? : { html ? : { href ? : string ; } ; pull_request ? : { href ? : string ; } ; self ? : { href ? : string ; } ; } ; body ? : string ; commit_id ? : string ; /** ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ */ created_at ? : string ; id ? : number ; path ? : string ; position ? : number ; /** ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ */ updated_at ? : string ; url ? : string ; user ? : { avatar_url ? : string ; gravatar_id ? : string ; id ? : number ; login ? : string ; url ? : string ; } ; } export interface SwaggerTypePullsCommentPostGeneratedDataContract { body ? : string ; commit_id ? : string ; path ? : string ; position ? : number ; } export type SwaggerTypePullsCommentsGeneratedDataContract = { _links ? : { html ? : { href ? : string ; } ; pull_request ? : { href ? : string ; } ; self ? : { href ? : string ; } ; } ; body ? : string ; commit_id ? : string ; created_at ? : string ; id ? : number ; path ? : string ; position ? : number ; updated_at ? : string ; url ? : string ; user ? : { avatar_url ? : string ; gravatar_id ? : string ; id ? : number ; login ? : string ; url ? : string ; } ; } [ ] ; export interface SwaggerTypePullsPostGeneratedDataContract { base ? : string ; body ? : string ; head ? : string ; title ? : string ; } export interface SwaggerTypePutSubscriptionGeneratedDataContract { created_at ? : string ; ignored ? : boolean ; reason ? : object ; subscribed ? : boolean ; thread_url ? : string ; url ? : string ; } export interface SwaggerTypeRateLimitGeneratedDataContract { rate ? : { limit ? : number ; remaining ? : number ; reset ? : number ; } ; } export type SwaggerTypeRefGeneratedDataContract = { created_at ? : string ; creator ? : { avatar_url ? : string ; gravatar_id ? : string ; id ? : number ; login ? : string ; url ? : string ; } ; description ? : string ; id ? : number ; state ? : string ; target_url ? : string ; updated_at ? : string ; url ? : string ; } [ ] ; export type SwaggerTypeRefStatusGeneratedDataContract = { commit_url ? : string ; name ? : string ; repository_url ? : string ; sha ? : string ; state ? : string ; statuses ? : { context ? : string ; created_at ? : string ; description ? : string ; id ? : number ; state ? : string ; target_url ? : string ; updated_at ? : string ; url ? : string ; } [ ] ; } [ ] ; export type SwaggerTypeRefsGeneratedDataContract = { object ? : { sha ? : string ; type ? : string ; url ? : string ; } ; ref ? : string ; url ? : string ; } [ ] ; export interface SwaggerTypeRefsBodyGeneratedDataContract { ref ? : string ; sha ? : string ; } export interface SwaggerTypeReleaseGeneratedDataContract { assets ? : { content_type ? : string ; created_at ? : string ; download_count ? : number ; id ? : number ; label ? : string ; name ? : string ; size ? : number ; state ? : string ; updated_at ? : string ; uploader ? : SwaggerTypeUserGeneratedDataContract ; url ? : string ; } [ ] ; assets_url ? : string ; /** A GitHub user */ author ? : SwaggerTypeUserGeneratedDataContract ; body ? : string ; created_at ? : string ; draft ? : boolean ; html_url ? : string ; id ? : number ; name ? : string ; prerelease ? : boolean ; published_at ? : string ; tag_name ? : string ; tarball_url ? : string ; target_commitish ? : string ; upload_url ? : string ; url ? : string ; zipball_url ? : string ; } export interface SwaggerTypeReleaseCreateGeneratedDataContract { body ? : string ; draft ? : boolean ; name ? : string ; prerelease ? : boolean ; tag_name ? : string ; target_commitish ? : string ; } export type SwaggerTypeReleasesGeneratedDataContract = { assets ? : { content_type ? : string ; created_at ? : string ; download_count ? : number ; id ? : number ; label ? : string ; name ? : string ; size ? : number ; state ? : string ; updated_at ? : string ; uploader ? : SwaggerTypeUserGeneratedDataContract ; url ? : string ; } [ ] ; assets_url ? : string ; author ? : SwaggerTypeUserGeneratedDataContract ; body ? : string ; created_at ? : string ; draft ? : boolean ; html_url ? : string ; id ? : number ; name ? : string ; prerelease ? : boolean ; published_at ? : string ; tag_name ? : string ; tarball_url ? : string ; target_commitish ? : string ; upload_url ? : string ; url ? : string ; zipball_url ? : string ; } [ ] ; export interface SwaggerTypeRepoGeneratedDataContract { clone_url ? : string ; /** ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ */ created_at ? : string ; description ? : string ; fork ? : boolean ; forks ? : number ; forks_count ? : number ; full_name ? : string ; git_url ? : string ; has_downloads ? : boolean ; has_issues ? : boolean ; has_wiki ? : boolean ; homepage ? : string ; html_url ? : string ; id ? : number ; language ? : string ; master_branch ? : string ; mirror_url ? : string ; name ? : string ; open_issues ? : number ; open_issues_count ? : number ; /** A GitHub organization */ organization ? : SwaggerTypeOrganizationGeneratedDataContract ; /** A user or organization */ owner ? : SwaggerTypeActorGeneratedDataContract ; /** Is present when the repo is a fork. Parent is the repo this repo was forked from. */ parent ? : SwaggerTypeRepoGeneratedDataContract ; private ? : boolean ; /** ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ */ pushed_at ? : string ; size ? : number ; /** Is present when the repo is a fork. Source is the ultimate source for the network. */ source ? : SwaggerTypeRepoGeneratedDataContract ; ssh_url ? : string ; svn_url ? : string ; /** ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ */ updated_at ? : string ; url ? : string ; watchers ? : number ; watchers_count ? : number ; } export type SwaggerTypeRepoDeploymentsGeneratedDataContract = { created_at ? : string ; creator ? : SwaggerTypeUserGeneratedDataContract ; description ? : string ; id ? : number ; payload ? : string ; sha ? : string ; statuses_url ? : string ; updated_at ? : string ; url ? : string ; } [ ] ; export type SwaggerTypeRepoCommentsGeneratedDataContract = { body ? : string ; commit_id ? : string ; created_at ? : string ; html_url ? : string ; id ? : number ; line ? : number ; path ? : string ; position ? : number ; updated_at ? : string ; url ? : string ; user ? : SwaggerTypeUserGeneratedDataContract ; } [ ] ; export interface SwaggerTypeRepoCommitGeneratedDataContract { author ? : { date ? : string ; email ? : string ; name ? : string ; } ; committer ? : { date ? : string ; email ? : string ; name ? : string ; } ; message ? : string ; parents ? : { sha ? : string ; url ? : string ; } [ ] ; sha ? : string ; tree ? : { sha ? : string ; url ? : string ; } ; url ? : string ; } export interface SwaggerTypeRepoCommitBodyGeneratedDataContract { author ? : { date ? : string ; email ? : string ; name ? : string ; } ; message : string ; parents : string [ ] ; tree : string ; } export interface SwaggerTypeRepoEditGeneratedDataContract { description ? : string ; has_downloads ? : boolean ; has_issues ? : boolean ; has_wiki ? : boolean ; homepage ? : string ; name ? : string ; private ? : boolean ; } export type SwaggerTypeReposGeneratedDataContract = SwaggerTypeRepoGeneratedDataContract [ ] ; export interface SwaggerTypeSearchCodeGeneratedDataContract { items ? : { git_url ? : string ; html_url ? : string ; name ? : string ; path ? : string ; repository ? : { archive_url ? : string ; assignees_url ? : string ; blobs_url ? : string ; branches_url ? : string ; collaborators_url ? : string ; comments_url ? : string ; commits_url ? : string ; compare_url ? : string ; contents_url ? : string ; contributors_url ? : string ; description ? : string ; downloads_url ? : string ; events_url ? : string ; fork ? : boolean ; forks_url ? : string ; full_name ? : string ; git_commits_url ? : string ; git_refs_url ? : string ; git_tags_url ? : string ; hooks_url ? : string ; html_url ? : string ; id ? : number ; issue_comment_url ? : string ; issue_events_url ? : string ; issues_url ? : string ; keys_url ? : string ; labels_url ? : string ; languages_url ? : string ; merges_url ? : string ; milestones_url ? : string ; name ? : string ; notifications_url ? : string ; owner ? : SwaggerTypeActorGeneratedDataContract ; private ? : boolean ; pulls_url ? : string ; stargazers_url ? : string ; statuses_url ? : string ; subscribers_url ? : string ; subscription_url ? : string ; tags_url ? : string ; teams_url ? : string ; trees_url ? : string ; url ? : string ; } ; score ? : number ; sha ? : string ; url ? : string ; } [ ] ; total_count ? : number ; } export interface SwaggerTypeSearchIssuesGeneratedDataContract { items ? : { assignee ? : any ; body ? : string ; closed_at ? : any ; comments ? : number ; comments_url ? : string ; created_at ? : string ; events_url ? : string ; html_url ? : string ; id ? : number ; labels ? : { color ? : string ; name ? : string ; url ? : string ; } [ ] ; labels_url ? : string ; milestone ? : any ; number ? : number ; pull_request ? : { diff_url ? : any ; html_url ? : any ; patch_url ? : any ; } ; score ? : number ; state ? : string ; title ? : string ; updated_at ? : string ; url ? : string ; user ? : SwaggerTypeUserGeneratedDataContract ; } [ ] ; total_count ? : number ; } export interface SwaggerTypeSearchIssuesByKeywordGeneratedDataContract { issues ? : { body ? : string ; comments ? : number ; created_at ? : string ; gravatar_id ? : string ; html_url ? : string ; labels ? : string [ ] ; number ? : number ; position ? : number ; state ? : string ; title ? : string ; updated_at ? : string ; user ? : string ; votes ? : number ; } [ ] ; } export interface SwaggerTypeSearchRepositoriesGeneratedDataContract { items ? : SwaggerTypeRepoGeneratedDataContract [ ] ; total_count ? : number ; } export interface SwaggerTypeSearchRepositoriesByKeywordGeneratedDataContract { repositories ? : SwaggerTypeRepoGeneratedDataContract [ ] ; } export interface SwaggerTypeSearchUserByEmailGeneratedDataContract { /** A GitHub user */ user ? : SwaggerTypeUserGeneratedDataContract ; } export interface SwaggerTypeSearchUsersGeneratedDataContract { items ? : SwaggerTypeUsersGeneratedDataContract ; total_count ? : number ; } export interface SwaggerTypeSearchUsersByKeywordGeneratedDataContract { users ? : SwaggerTypeUsersGeneratedDataContract ; } export interface SwaggerTypeSubscriptionGeneratedDataContract { /** ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ */ created_at ? : string ; ignored ? : boolean ; reason ? : string ; repository_url ? : string ; subscribed ? : boolean ; thread_url ? : string ; url ? : string ; } export interface SwaggerTypeSubscriptionBodyGeneratedDataContract { ignored ? : boolean ; subscribed ? : boolean ; } export interface SwaggerTypeTagGeneratedDataContract { /** String of the tag message. */ message ? : string ; object ? : { sha ? : string ; type ? : "commit" | "tree" | "blob" ; url ? : string ; } ; sha ? : string ; /** The tag's name. This is typically a version (e.g., "v0.0.1"). */ tag ? : string ; tagger ? : { date ? : string ; email ? : string ; name ? : string ; } ; url ? : string ; } export interface SwaggerTypeTagBodyGeneratedDataContract { /** String of the tag message. */ message : string ; /** String of the SHA of the git object this is tagging. */ object : string ; /** The tag's name. This is typically a version (e.g., "v0.0.1"). */ tag : string ; tagger : { date ? : string ; email ? : string ; name ? : string ; } ; /** String of the type of the object we’re tagging. Normally this is a commit but it can also be a tree or a blob. */ type : "commit" | "tree" | "blob" ; } export type SwaggerTypeTagsGeneratedDataContract = SwaggerTypeTagGeneratedDataContract [ ] ; export interface SwaggerTypeTeamGeneratedDataContract { id ? : number ; members_count ? : number ; name ? : string ; permission ? : string ; repos_count ? : number ; url ? : string ; } export interface SwaggerTypeTeamMembershipGeneratedDataContract { state ? : string ; url ? : string ; } export type SwaggerTypeTeamReposGeneratedDataContract = SwaggerTypeReposGeneratedDataContract ; export type SwaggerTypeTeamsGeneratedDataContract = { id ? : number ; name ? : string ; url ? : string ; } [ ] ; export type SwaggerTypeTeamsListGeneratedDataContract = { id ? : number ; members_count ? : number ; name ? : string ; organization ? : { avatar_url ? : string ; id ? : number ; login ? : string ; url ? : string ; } ; permission ? : string ; repos_count ? : number ; url ? : string ; } [ ] ; export interface SwaggerTypeTreeGeneratedDataContract { sha ? : string ; tree ? : { mode ? : "100644" | "100755" | "040000" | "160000" | "120000" ; path ? : string ; sha ? : string ; size ? : number ; type ? : "blob" | "tree" | "commit" ; url ? : string ; } [ ] ; url ? : string ; } export interface SwaggerTypeTreesGeneratedDataContract { base_tree ? : string ; /** SHA1 checksum ID of the object in the tree. */ sha ? : string ; tree ? : SwaggerTypeTreeGeneratedDataContract [ ] ; url ? : string ; } /**
 * A GitHub user
 */ export type SwaggerTypeUserGeneratedDataContract = SwaggerTypeActorGeneratedDataContract ; export type SwaggerTypeUserEmailsGeneratedDataContract = string [ ] ; export interface SwaggerTypeUserKeysKeyIdGeneratedDataContract { id ? : number ; key ? : string ; title ? : string ; url ? : string ; } export interface SwaggerTypeUserKeysPostGeneratedDataContract { key ? : string ; title ? : string ; } export interface SwaggerTypeUserUpdateGeneratedDataContract { bio ? : string ; blog ? : string ; company ? : string ; email ? : string ; hireable ? : boolean ; location ? : string ; name ? : string ; } export type SwaggerTypeUsersGeneratedDataContract = SwaggerTypeUserGeneratedDataContract [ ] ; export type QueryParamsType = Record < string | number , any > ; export type ResponseFormat = keyof Omit < Body , "body" | "bodyUsed" > ; export interface FullRequestParams extends Omit < RequestInit , "body" > { /** set parameter to `true` for call `securityWorker` for this request */ secure ? : boolean ; /** request path */ path : string ; /** content type of request body */ type ? : ContentType ; /** query params */ query ? : QueryParamsType ; /** format of response (i.e. response.json() -> format: "json") */ format ? : ResponseFormat ; /** request body */ body ? : unknown ; /** base url */ baseUrl ? : string ; /** request cancellation token */ cancelToken ? : CancelToken ; } export type RequestParams = Omit < FullRequestParams , "body" | "method" | "query" | "path" > ; export interface ApiConfig < SecurityDataType = unknown > { baseUrl ? : string ; baseApiParams ? : Omit < RequestParams , "baseUrl" | "cancelToken" | "signal" > ; securityWorker ? : ( securityData : SecurityDataType | null ) => Promise < RequestParams | void > | RequestParams | void ; customFetch ? : typeof fetch ; } export interface HttpResponse < D extends unknown , E extends unknown = unknown > extends Response { data : D ; error : E ; } type CancelToken = Symbol | string | number ; export enum ContentType { Json = "application/json" , FormData = "multipart/form-data" , UrlEncoded = "application/x-www-form-urlencoded" } export class HttpClient < SecurityDataType = unknown > { public baseUrl : string = "https://api.github.com" ; private securityData : SecurityDataType | null = null ; private securityWorker ? : ApiConfig < SecurityDataType > [ "securityWorker" ] ; private abortControllers = new Map < CancelToken , AbortController > ( ) ; private customFetch = ( ... fetchParams ) => fetch ( ... fetchParams ) ; private baseApiParams : RequestParams = { credentials : "same-origin" , headers : { } , redirect : "follow" , referrerPolicy : "no-referrer" , } ; constructor ( apiConfig = { } ) { Object . assign ( this , apiConfig ) ; } public setSecurityData = ( data ) => { this . securityData = data ; } ; private encodeQueryParam ( key , value ) { const encodedKey = encodeURIComponent ( key ) ; return `${ encodedKey }=${ encodeURIComponent ( typeof value === "number" ? value : `${ value }` ) }` ; } private addQueryParam ( query , key ) { return this . encodeQueryParam ( key , query [ key ] ) ; } private addArrayQueryParam ( query , key ) { const value = query [ key ] ; return value . map ( ( v ) => this . encodeQueryParam ( key , v ) ) . join ( "&" ) ; } protected toQueryString ( rawQuery ? ) { const query = rawQuery || { } ; const keys = Object . keys ( query ) . filter ( ( key ) => "undefined" !== typeof query [ key ] ) ; return keys . map ( ( key ) => ( Array . isArray ( query [ key ] ) ? this . addArrayQueryParam ( query , key ) : this . addQueryParam ( query , key ) ) ) . join ( "&" ) ; } protected addQueryParams ( rawQuery ? ) { const queryString = this . toQueryString ( rawQuery ) ; return queryString ? `?${ queryString }` : "" ; } private contentFormatters : Record < ContentType , ( input : any ) => any > = { [ ContentType . Json ] : ( input ) => input !== null && ( typeof input === "object" || typeof input === "string" ) ? JSON . stringify ( input ) : input , [ ContentType . FormData ] : ( input ) => Object . keys ( input || { } ) . reduce ( ( formData , key ) => { const property = input [ key ] ; formData . append ( key , property instanceof Blob ? property : typeof property === "object" && property !== null ? JSON . stringify ( property ) : `${ property }` ) ; return formData ; } , new FormData ( ) ) , [ ContentType . UrlEncoded ] : ( input ) => this . toQueryString ( input ) , } ; private mergeRequestParams ( params1 , params2 ? ) { return { ... this . baseApiParams , ... params1 , ... ( params2 || { } ) , headers : { ... ( this . baseApiParams . headers || { } ) , ... ( params1 . headers || { } ) , ... ( ( params2 && params2 . headers ) || { } ) , } , } ; } private createAbortSignal = ( cancelToken ) : AbortSignal | undefined => { if ( this . abortControllers . has ( cancelToken ) ) { const abortController = this . abortControllers . get ( cancelToken ) ; if ( abortController ) { return abortController . signal ; } return void 0 ; } const abortController = new AbortController ( ) ; this . abortControllers . set ( cancelToken , abortController ) ; return abortController . signal ; } ; public abortRequest = ( cancelToken ) => { const abortController = this . abortControllers . get ( cancelToken ) ; if ( abortController ) { abortController . abort ( ) ; this . abortControllers . delete ( cancelToken ) ; } } ; public request = async < T = any , E = any > ( { body , secure , path , type , query , format , baseUrl , cancelToken , ... params } ) : Promise < HttpResponse < T , E > > => { const secureParams = ( ( typeof secure === "boolean" ? secure : this . baseApiParams . secure ) && this . securityWorker && ( await this . securityWorker ( this . securityData ) ) ) || { } ; const requestParams = this . mergeRequestParams ( params , secureParams ) ; const queryString = query && this . toQueryString ( query ) ; const payloadFormatter = this . contentFormatters [ type || ContentType . Json ] ; const responseFormat = format || requestParams . format ; return this . customFetch ( `${ baseUrl || this . baseUrl || "" }${ path }${ queryString ? `?${ queryString }` : "" }` , { ... requestParams , headers : { ... ( type && type !== ContentType . FormData ? { "Content-Type" : type } : { } ) , ... ( requestParams . headers || { } ) , } , signal : cancelToken ? this . createAbortSignal ( cancelToken ) : void 0 , body : typeof body === "undefined" || body === null ? null : payloadFormatter ( body ) , } ) . then ( async ( response ) => { const r = response as HttpResponse < T , E > ; r . data = ( null as unknown ) as T ; r . error = ( null as unknown ) as E ; const data = ! responseFormat ? r : await response [ responseFormat ] ( ) . then ( ( data ) => { if ( r . ok ) { r . data = data ; } else { r . error = data ; } return r ; } ) . catch ( ( e ) => { r . error = e ; return r ; } ) ; if ( cancelToken ) { this . abortControllers . delete ( cancelToken ) ; } if ( ! response . ok ) throw data ; return data ; } ) ; } ; } title version termsOfService baseUrl externalDocs export class Api < SecurityDataType extends unknown > extends HttpClient < SecurityDataType > { someTest = { description name request response someTestList : ( params = { } ) => this . request < { user : { foo : number ; extra : { id : number ; extra : { foo : string ; bar : number ; baz : string ; bad : number ; extra : { foo : string ; bar : number ; baz : string ; bad : number ; extra : { foo : string ; bar : number ; baz : string ; bad : number ; extra : { foo : string ; bar : number ; baz : string ; bad : number ; } ; } ; } ; } ; } ; } ; } , any > ( { path : `/some-test` , method : "GET" , format : "json" , ... params , } ) , } ; pathParams = { description name request response response pathParamsList : ( petId , params = { } ) => this . request < SwaggerTypeEmojisGeneratedDataContract , void > ( { path : `/path-params` , method : "GET" , format : "json" , ... params , } ) , } ; events = { description name request response response eventsList : ( params = { } ) => this . request < SwaggerTypeEventsGeneratedDataContract , void > ( { path : `/events` , method : "GET" , format : "json" , ... params , } ) , } ; feeds = { description name request response response feedsList : ( params = { } ) => this . request < SwaggerTypeFeedsGeneratedDataContract , void > ( { path : `/feeds` , method : "GET" , format : "json" , ... params , } ) , } ; gists = { description name request response response gistsList : ( query ? , params = { } ) => this . request < SwaggerTypeGistsGeneratedDataContract , void > ( { path : `/gists` , method : "GET" , query : query , format : "json" , ... params , } ) , description name request response response gistsCreate : ( body , params = { } ) => this . request < SwaggerTypeGistGeneratedDataContract , void > ( { path : `/gists` , method : "POST" , body : body , type : ContentType . Json , format : "json" , ... params , } ) , description name request response response publicList : ( query ? , params = { } ) => this . request < SwaggerTypeGistsGeneratedDataContract , void > ( { path : `/gists/public` , method : "GET" , query : query , format : "json" , ... params , } ) , description name request response response starredList : ( query ? , params = { } ) => this . request < SwaggerTypeGistsGeneratedDataContract , void > ( { path : `/gists/starred` , method : "GET" , query : query , format : "json" , ... params , } ) , description name request response response gistsDelete : ( id , params = { } ) => this . request < void , void > ( { path : `/gists/${ id }` , method : "DELETE" , ... params , } ) , description name request response response gistsDetail : ( id , params = { } ) => this . request < SwaggerTypeGistGeneratedDataContract , void > ( { path : `/gists/${ id }` , method : "GET" , format : "json" , ... params , } ) , description name request response response gistsPartialUpdate : ( id , body , params = { } ) => this . request < SwaggerTypeGistGeneratedDataContract , void > ( { path : `/gists/${ id }` , method : "PATCH" , body : body , type : ContentType . Json , format : "json" , ... params , } ) , description name request response response commentsDetail : ( id , params = { } ) => this . request < SwaggerTypeCommentsGeneratedDataContract , void > ( { path : `/gists/${ id }/comments` , method : "GET" , format : "json" , ... params , } ) , description name request response response commentsCreate : ( id , body , params = { } ) => this . request < SwaggerTypeCommentGeneratedDataContract , void > ( { path : `/gists/${ id }/comments` , method : "POST" , body : body , format : "json" , ... params , } ) , description name request response response commentsDelete : ( id , commentId , params = { } ) => this . request < void , void > ( { path : `/gists/${ id }/comments/${ commentId }` , method : "DELETE" , ... params , } ) , description name request originalName duplicate response response commentsDetail2 : ( id , commentId , params = { } ) => this . request < SwaggerTypeCommentGeneratedDataContract , void > ( { path : `/gists/${ id }/comments/${ commentId }` , method : "GET" , format : "json" , ... params , } ) , description name request response response commentsPartialUpdate : ( id , commentId , body , params = { } ) => this . request < SwaggerTypeCommentGeneratedDataContract , void > ( { path : `/gists/${ id }/comments/${ commentId }` , method : "PATCH" , body : body , type : ContentType . Json , format : "json" , ... params , } ) , description name request response response response forksCreate : ( id , params = { } ) => this . request < void , void > ( { path : `/gists/${ id }/forks` , method : "POST" , ... params , } ) , description name request response response starDelete : ( id , params = { } ) => this . request < void , void > ( { path : `/gists/${ id }/star` , method : "DELETE" , ... params , } ) , description name request response response response starDetail : ( id , params = { } ) => this . request < void , void > ( { path : `/gists/${ id }/star` , method : "GET" , ... params , } ) , description name request response response starUpdate : ( id , params = { } ) => this . request < void , void > ( { path : `/gists/${ id }/star` , method : "PUT" , ... params , } ) , } ; gitignore = { description name request response response templatesList : ( params = { } ) => this . request < SwaggerTypeGitignoreGeneratedDataContract , void > ( { path : `/gitignore/templates` , method : "GET" , format : "json" , ... params , } ) , description name request response response templatesDetail : ( language , params = { } ) => this . request < SwaggerTypeGitignoreLangGeneratedDataContract , void > ( { path : `/gitignore/templates/${ language }` , method : "GET" , format : "json" , ... params , } ) , } ; issues = { description name request response response issuesList : ( query , params = { } ) => this . request < SwaggerTypeIssuesGeneratedDataContract , void > ( { path : `/issues` , method : "GET" , query : query , format : "json" , ... params , } ) , } ; legacy = { description name request deprecated response response issuesSearchDetail : ( keyword , state , owner , repository , params = { } ) => this . request < SwaggerTypeSearchIssuesByKeywordGeneratedDataContract , void > ( { path : `/legacy/issues/search/${ owner }/${ repository }/${ state }/${ keyword }` , method : "GET" , format : "json" , ... params , } ) , description name request deprecated response response reposSearchDetail : ( keyword , query ? , params = { } ) => this . request < SwaggerTypeSearchRepositoriesByKeywordGeneratedDataContract , void > ( { path : `/legacy/repos/search/${ keyword }` , method : "GET" , query : query , format : "json" , ... params , } ) , description name request deprecated response response userEmailDetail : ( email , params = { } ) => this . request < SwaggerTypeSearchUserByEmailGeneratedDataContract , void > ( { path : `/legacy/user/email/${ email }` , method : "GET" , format : "json" , ... params , } ) , description name request deprecated response response userSearchDetail : ( keyword , query ? , params = { } ) => this . request < SwaggerTypeSearchUsersByKeywordGeneratedDataContract , void > ( { path : `/legacy/user/search/${ keyword }` , method : "GET" , query : query , format : "json" , ... params , } ) , } ; markdown = { description name request response response markdownCreate : ( body , params = { } ) => this . request < void , void > ( { path : `/markdown` , method : "POST" , body : body , type : ContentType . Json , ... params , } ) , description name request response response postMarkdown : ( params = { } ) => this . request < void , void > ( { path : `/markdown/raw` , method : "POST" , ... params , } ) , } ; meta = { description name request response response metaList : ( params = { } ) => this . request < SwaggerTypeMetaGeneratedDataContract , void > ( { path : `/meta` , method : "GET" , format : "json" , ... params , } ) , } ; networks = { description name request response response eventsDetail : ( owner , repo , params = { } ) => this . request < SwaggerTypeEventsGeneratedDataContract , void > ( { path : `/networks/${ owner }/${ repo }/events` , method : "GET" , format : "json" , ... params , } ) , } ; notifications = { description name request response response notificationsList : ( query ? , params = { } ) => this . request < SwaggerTypeNotificationsGeneratedDataContract , void > ( { path : `/notifications` , method : "GET" , query : query , format : "json" , ... params , } ) , description name request response response notificationsUpdate : ( body , params = { } ) => this . request < void , void > ( { path : `/notifications` , method : "PUT" , body : body , ... params , } ) , description name request response response threadsDetail : ( id , params = { } ) => this . request < SwaggerTypeNotificationsGeneratedDataContract , void > ( { path : `/notifications/threads/${ id }` , method : "GET" , format : "json" , ... params , } ) , description name request response response threadsPartialUpdate : ( id , params = { } ) => this . request < void , void > ( { path : `/notifications/threads/${ id }` , method : "PATCH" , ... params , } ) , description name request response response threadsSubscriptionDelete : ( id , params = { } ) => this . request < void , void > ( { path : `/notifications/threads/${ id }/subscription` , method : "DELETE" , ... params , } ) , description name request response response threadsSubscriptionDetail : ( id , params = { } ) => this . request < SwaggerTypeSubscriptionGeneratedDataContract , void > ( { path : `/notifications/threads/${ id }/subscription` , method : "GET" , format : "json" , ... params , } ) , description mentioned name request response response threadsSubscriptionUpdate : ( id , body , params = { } ) => this . request < SwaggerTypeSubscriptionGeneratedDataContract , void > ( { path : `/notifications/threads/${ id }/subscription` , method : "PUT" , body : body , type : ContentType . Json , format : "json" , ... params , } ) , } ; orgs = { description name request response response orgsDetail : ( org , params = { } ) => this . request < SwaggerTypeOrganizationGeneratedDataContract , void > ( { path : `/orgs/${ org }` , method : "GET" , format : "json" , ... params , } ) , description name request response response orgsPartialUpdate : ( org , body , params = { } ) => this . request < SwaggerTypeOrganizationGeneratedDataContract , void > ( { path : `/orgs/${ org }` , method : "PATCH" , body : body , type : ContentType . Json , format : "json" , ... params , } ) , description name request response response eventsDetail : ( org , params = { } ) => this . request < SwaggerTypeEventsGeneratedDataContract , void > ( { path : `/orgs/${ org }/events` , method : "GET" , format : "json" , ... params , } ) , description name request response response issuesDetail : ( org , query , params = { } ) => this . request < SwaggerTypeIssuesGeneratedDataContract , void > ( { path : `/orgs/${ org }/issues` , method : "GET" , query : query , format : "json" , ... params , } ) , description name request response response response membersDetail : ( org , params = { } ) => this . request < SwaggerTypeUsersGeneratedDataContract , void > ( { path : `/orgs/${ org }/members` , method : "GET" , format : "json" , ... params , } ) , description name request response response membersDelete : ( org , username , params = { } ) => this . request < void , void > ( { path : `/orgs/${ org }/members/${ username }` , method : "DELETE" , ... params , } ) , description name request originalName duplicate response response response response membersDetail2 : ( org , username , params = { } ) => this . request < void , void > ( { path : `/orgs/${ org }/members/${ username }` , method : "GET" , ... params , } ) , description name request response response publicMembersDetail : ( org , params = { } ) => this . request < SwaggerTypeUsersGeneratedDataContract , void > ( { path : `/orgs/${ org }/public_members` , method : "GET" , format : "json" , ... params , } ) , description name request response response publicMembersDelete : ( org , username , params = { } ) => this . request < void , void > ( { path : `/orgs/${ org }/public_members/${ username }` , method : "DELETE" , ... params , } ) , description name request originalName duplicate response response response publicMembersDetail2 : ( org , username , params = { } ) => this . request < void , void > ( { path : `/orgs/${ org }/public_members/${ username }` , method : "GET" , ... params , } ) , description name request response response publicMembersUpdate : ( org , username , params = { } ) => this . request < void , void > ( { path : `/orgs/${ org }/public_members/${ username }` , method : "PUT" , ... params , } ) , description name request response response reposDetail : ( org , query ? , params = { } ) => this . request < SwaggerTypeReposGeneratedDataContract , void > ( { path : `/orgs/${ org }/repos` , method : "GET" , query : query , format : "json" , ... params , } ) , description name request response response reposCreate : ( org , body , params = { } ) => this . request < SwaggerTypeReposGeneratedDataContract , void > ( { path : `/orgs/${ org }/repos` , method : "POST" , body : body , format : "json" , ... params , } ) , description name request response response teamsDetail : ( org , params = { } ) => this . request < SwaggerTypeTeamsGeneratedDataContract , void > ( { path : `/orgs/${ org }/teams` , method : "GET" , format : "json" , ... params , } ) , description name request response response teamsCreate : ( org , body , params = { } ) => this . request < SwaggerTypeTeamGeneratedDataContract , void > ( { path : `/orgs/${ org }/teams` , method : "POST" , body : body , type : ContentType . Json , format : "json" , ... params , } ) , } ; rateLimit = { description name request response response rateLimitList : ( params = { } ) => this . request < SwaggerTypeRateLimitGeneratedDataContract , void > ( { path : `/rate_limit` , method : "GET" , format : "json" , ... params , } ) , } ; repos = { description name request response response reposDelete : ( owner , repo , params = { } ) => this . request < void , void > ( { path : `/repos/${ owner }/${ repo }` , method : "DELETE" , ... params , } ) , description name request response response reposDetail : ( owner , repo , params = { } ) => this . request < SwaggerTypeRepoGeneratedDataContract , void > ( { path : `/repos/${ owner }/${ repo }` , method : "GET" , format : "json" , ... params , } ) , description name request response response reposPartialUpdate : ( owner , repo , body , params = { } ) => this . request < SwaggerTypeRepoGeneratedDataContract , void > ( { path : `/repos/${ owner }/${ repo }` , method : "PATCH" , body : body , type : ContentType . Json , format : "json" , ... params , } ) , description name request response response assigneesDetail : ( owner , repo , params = { } ) => this . request < SwaggerTypeAssigneesGeneratedDataContract , void > ( { path : `/repos/${ owner }/${ repo }/assignees` , method : "GET" , format : "json" , ... params , } ) , description name request originalName duplicate response response response assigneesDetail2 : ( owner , repo , assignee , params = { } ) => this . request < void , void > ( { path : `/repos/${ owner }/${ repo }/assignees/${ assignee }` , method : "GET" , ... params , } ) , description name request response response branchesDetail : ( owner , repo , params = { } ) => this . request < SwaggerTypeBranchesGeneratedDataContract , void > ( { path : `/repos/${ owner }/${ repo }/branches` , method : "GET" , format : "json" , ... params , } ) , description name request originalName duplicate response response branchesDetail2 : ( owner , repo , branch , params = { } ) => this . request < SwaggerTypeBranchGeneratedDataContract , void > ( { path : `/repos/${ owner }/${ repo }/branches/${ branch }` , method : "GET" , format : "json" , ... params , } ) , description name request response response collaboratorsDetail : ( owner , repo , params = { } ) => this . request < SwaggerTypeUsersGeneratedDataContract , void > ( { path : `/repos/${ owner }/${ repo }/collaborators` , method : "GET" , format : "json" , ... params , } ) , description name request response response collaboratorsDelete : ( owner , repo , user , params = { } ) => this . request < void , void > ( { path : `/repos/${ owner }/${ repo }/collaborators/${ user }` , method : "DELETE" , ... params , } ) , description name request originalName duplicate response response response collaboratorsDetail2 : ( owner , repo , user , params = { } ) => this . request < void , void > ( { path : `/repos/${ owner }/${ repo }/collaborators/${ user }` , method : "GET" , ... params , } ) , description name request response response collaboratorsUpdate : ( owner , repo , user , params = { } ) => this . request < void , void > ( { path : `/repos/${ owner }/${ repo }/collaborators/${ user }` , method : "PUT" , ... params , } ) , description name request response response commentsDetail : ( owner , repo , params = { } ) => this . request < SwaggerTypeRepoCommentsGeneratedDataContract , void > ( { path : `/repos/${ owner }/${ repo }/comments` , method : "GET" , format : "json" , ... params , } ) , description name request response response commentsDelete : ( owner , repo , commentId , params = { } ) => this . request < void , void > ( { path : `/repos/${ owner }/${ repo }/comments/${ commentId }` , method : "DELETE" , ... params , } ) , description name request originalName duplicate response response commentsDetail2 : ( owner , repo , commentId , params = { } ) => this . request < SwaggerTypeCommitCommentGeneratedDataContract , void > ( { path : `/repos/${ owner }/${ repo }/comments/${ commentId }` , method : "GET" , format : "json" , ... params , } ) , description name request response response commentsPartialUpdate : ( owner , repo , commentId , body , params = { } ) => this . request < SwaggerTypeCommitCommentGeneratedDataContract , void > ( { path : `/repos/${ owner }/${ repo }/comments/${ commentId }` , method : "PATCH" , body : body , format : "json" , ... params , } ) , description name request response response commitsDetail : ( owner , repo , query ? , params = { } ) => this . request < SwaggerTypeCommitsGeneratedDataContract , void > ( { path : `/repos/${ owner }/${ repo }/commits` , method : "GET" , query : query , format : "json" , ... params , } ) , description name request response response commitsStatusDetail : ( owner , repo , ref , params = { } ) => this . request < SwaggerTypeRefStatusGeneratedDataContract , void > ( { path : `/repos/${ owner }/${ repo }/commits/${ ref }/status` , method : "GET" , format : "json" , ... params , } ) , description name request originalName duplicate response response commitsDetail2 : ( owner , repo , shaCode , params = { } ) => this . request < SwaggerTypeCommitGeneratedDataContract , void > ( { path : `/repos/${ owner }/${ repo }/commits/${ shaCode }` , method : "GET" , format : "json" , ... params , } ) , description name request response response commitsCommentsDetail : ( owner , repo , shaCode , params = { } ) => this . request < SwaggerTypeRepoCommentsGeneratedDataContract , void > ( { path : `/repos/${ owner }/${ repo }/commits/${ shaCode }/comments` , method : "GET" , format : "json" , ... params , } ) , description name request response response commitsCommentsCreate : ( owner , repo , shaCode , body , params = { } ) => this . request < SwaggerTypeCommitCommentGeneratedDataContract , void > ( { path : `/repos/${ owner }/${ repo }/commits/${ shaCode }/comments` , method : "POST" , body : body , type : ContentType . Json , format : "json" , ... params , } ) , description name request response response compareDetail : ( owner , repo , baseId , headId , params = { } ) => this . request < SwaggerTypeCompareCommitsGeneratedDataContract , void > ( { path : `/repos/${ owner }/${ repo }/compare/${ baseId }...${ headId }` , method : "GET" , format : "json" , ... params , } ) , description name request response response contentsDelete : ( owner , repo , path , body , params = { } ) => this . request < SwaggerTypeDeleteFileGeneratedDataContract , void > ( { path : `/repos/${ owner }/${ repo }/contents/${ path }` , method : "DELETE" , body : body , type : ContentType . Json , format : "json" , ... params , } ) , description name request response response contentsDetail : ( owner , repo , path , query ? , params = { } ) => this . request < SwaggerTypeContentsPathGeneratedDataContract , void > ( { path : `/repos/${ owner }/${ repo }/contents/${ path }` , method : "GET" , query : query , format : "json" , ... params , } ) , description name request response response contentsUpdate : ( owner , repo , path , body , params = { } ) => this . request < SwaggerTypeCreateFileGeneratedDataContract , void > ( { path : `/repos/${ owner }/${ repo }/contents/${ path }` , method : "PUT" , body : body , type : ContentType . Json , format : "json" , ... params , } ) , description name request response response contributorsDetail : ( owner , repo , query , params = { } ) => this . request < SwaggerTypeUsersGeneratedDataContract , void > ( { path : `/repos/${ owner }/${ repo }/contributors` , method : "GET" , query : query , format : "json" , ... params , } ) , description name request response response deploymentsDetail : ( owner , repo , params = { } ) => this . request < SwaggerTypeRepoDeploymentsGeneratedDataContract , void > ( { path : `/repos/${ owner }/${ repo }/deployments` , method : "GET" , format : "json" , ... params , } ) , description name request response response deploymentsCreate : ( owner , repo , body , params = { } ) => this . request < SwaggerTypeDeploymentRespGeneratedDataContract , void > ( { path : `/repos/${ owner }/${ repo }/deployments` , method : "POST" , body : body , type : ContentType . Json , format : "json" , ... params , } ) , description name request response response deploymentsStatusesDetail : ( owner , repo , id , params = { } ) => this . request < SwaggerTypeDeploymentStatusesGeneratedDataContract , void > ( { path : `/repos/${ owner }/${ repo }/deployments/${ id }/statuses` , method : "GET" , format : "json" , ... params , } ) , description name request response response deploymentsStatusesCreate : ( owner , repo , id , body , params = { } ) => this . request < void , void > ( { path : `/repos/${ owner }/${ repo }/deployments/${ id }/statuses` , method : "POST" , body : body , type : ContentType . Json , ... params , } ) , description name request deprecated response response downloadsDetail : ( owner , repo , params = { } ) => this . request < SwaggerTypeDownloadsGeneratedDataContract , void > ( { path : `/repos/${ owner }/${ repo }/downloads` , method : "GET" , format : "json" , ... params , } ) , description name request deprecated response response downloadsDelete : ( owner , repo , downloadId , params = { } ) => this . request < void , void > ( { path : `/repos/${ owner }/${ repo }/downloads/${ downloadId }` , method : "DELETE" , ... params , } ) , description name request deprecated originalName duplicate response response downloadsDetail2 : ( owner , repo , downloadId , params = { } ) => this . request < SwaggerTypeDownloadGeneratedDataContract , void > ( { path : `/repos/${ owner }/${ repo }/downloads/${ downloadId }` , method : "GET" , format : "json" , ... params , } ) , description name request response response eventsDetail : ( owner , repo , params = { } ) => this . request < SwaggerTypeEventsGeneratedDataContract , void > ( { path : `/repos/${ owner }/${ repo }/events` , method : "GET" , format : "json" , ... params , } ) , description name request response response forksDetail : ( owner , repo , query ? , params = { } ) => this . request < SwaggerTypeForksGeneratedDataContract , void > ( { path : `/repos/${ owner }/${ repo }/forks` , method : "GET" , query : query , format : "json" , ... params , } ) , description name request response response forksCreate : ( owner , repo , body , params = { } ) => this . request < SwaggerTypeRepoGeneratedDataContract , void > ( { path : `/repos/${ owner }/${ repo }/forks` , method : "POST" , body : body , type : ContentType . Json , format : "json" , ... params , } ) , description name request response response gitBlobsCreate : ( owner , repo , body , params = { } ) => this . request < SwaggerTypeBlobsGeneratedDataContract , void > ( { path : `/repos/${ owner }/${ repo }/git/blobs` , method : "POST" , body : body , type : ContentType . Json , format : "json" , ... params , } ) , description name request response response gitBlobsDetail : ( owner , repo , shaCode , params = { } ) => this . request < SwaggerTypeBlobGeneratedDataContract , void > ( { path : `/repos/${ owner }/${ repo }/git/blobs/${ shaCode }` , method : "GET" , format : "json" , ... params , } ) , description name request response response gitCommitsCreate : ( owner , repo , body , params = { } ) => this . request < SwaggerTypeGitCommitGeneratedDataContract , void > ( { path : `/repos/${ owner }/${ repo }/git/commits` , method : "POST" , body : body , type : ContentType . Json , format : "json" , ... params , } ) , description name request response response gitCommitsDetail : ( owner , repo , shaCode , params = { } ) => this . request < SwaggerTypeRepoCommitGeneratedDataContract , void > ( { path : `/repos/${ owner }/${ repo }/git/commits/${ shaCode }` , method : "GET" , format : "json" , ... params , } ) , description name request response response gitRefsDetail : ( owner , repo , params = { } ) => this . request < SwaggerTypeRefsGeneratedDataContract , void > ( { path : `/repos/${ owner }/${ repo }/git/refs` , method : "GET" , format : "json" , ... params , } ) , description name request response response gitRefsCreate : ( owner , repo , body , params = { } ) => this . request < SwaggerTypeHeadBranchGeneratedDataContract , void > ( { path : `/repos/${ owner }/${ repo }/git/refs` , method : "POST" , body : body , type : ContentType . Json , format : "json" , ... params , } ) , description name request response response gitRefsDelete : ( owner , repo , ref , params = { } ) => this . request < void , void > ( { path : `/repos/${ owner }/${ repo }/git/refs/${ ref }` , method : "DELETE" , ... params , } ) , description name request originalName duplicate response response gitRefsDetail2 : ( owner , repo , ref , params = { } ) => this . request < SwaggerTypeHeadBranchGeneratedDataContract , void > ( { path : `/repos/${ owner }/${ repo }/git/refs/${ ref }` , method : "GET" , format : "json" , ... params , } ) , description name request response response gitRefsPartialUpdate : ( owner , repo , ref , body , params = { } ) => this . request < SwaggerTypeHeadBranchGeneratedDataContract , void > ( { path : `/repos/${ owner }/${ repo }/git/refs/${ ref }` , method : "PATCH" , body : body , type : ContentType . Json , format : "json" , ... params , } ) , description name request response response gitTagsCreate : ( owner , repo , body , params = { } ) => this . request < SwaggerTypeTagGeneratedDataContract , void > ( { path : `/repos/${ owner }/${ repo }/git/tags` , method : "POST" , body : body , type : ContentType . Json , format : "json" , ... params , } ) , description name request response response gitTagsDetail : ( owner , repo , shaCode , params = { } ) => this . request < SwaggerTypeTagGeneratedDataContract , void > ( { path : `/repos/${ owner }/${ repo }/git/tags/${ shaCode }` , method : "GET" , format : "json" , ... params , } ) , description name request response response gitTreesCreate : ( owner , repo , body , params = { } ) => this . request < SwaggerTypeTreesGeneratedDataContract , void > ( { path : `/repos/${ owner }/${ repo }/git/trees` , method : "POST" , body : body , type : ContentType . Json , format : "json" , ... params , } ) , description name request response response gitTreesDetail : ( owner , repo , shaCode , query ? , params = { } ) => this . request < SwaggerTypeTreeGeneratedDataContract , void > ( { path : `/repos/${ owner }/${ repo }/git/trees/${ shaCode }` , method : "GET" , query : query , format : "json" , ... params , } ) , description name request response response hooksDetail : ( owner , repo , params = { } ) => this . request < SwaggerTypeHookGeneratedDataContract , void > ( { path : `/repos/${ owner }/${ repo }/hooks` , method : "GET" , format : "json" , ... params , } ) , description name request response response hooksCreate : ( owner , repo , body , params = { } ) => this . request < SwaggerTypeHookGeneratedDataContract , void > ( { path : `/repos/${ owner }/${ repo }/hooks` , method : "POST" , body : body , format : "json" , ... params , } ) , description name request response response hooksDelete : ( owner , repo , hookId , params = { } ) => this . request < void , void > ( { path : `/repos/${ owner }/${ repo }/hooks/${ hookId }` , method : "DELETE" , ... params , } ) , description name request originalName duplicate response response hooksDetail2 : ( owner , repo , hookId , params = { } ) => this . request < SwaggerTypeHookGeneratedDataContract , void > ( { path : `/repos/${ owner }/${ repo }/hooks/${ hookId }` , method : "GET" , format : "json" , ... params , } ) , description name request response response hooksPartialUpdate : ( owner , repo , hookId , body , params = { } ) => this . request < SwaggerTypeHookGeneratedDataContract , void > ( { path : `/repos/${ owner }/${ repo }/hooks/${ hookId }` , method : "PATCH" , body : body , format : "json" , ... params , } ) , description name request response response hooksTestsCreate : ( owner , repo , hookId , params = { } ) => this . request < void , void > ( { path : `/repos/${ owner }/${ repo }/hooks/${ hookId }/tests` , method : "POST" , ... params , } ) , description name request response response issuesDetail : ( owner , repo , query , params = { } ) => this . request < SwaggerTypeIssuesGeneratedDataContract , void > ( { path : `/repos/${ owner }/${ repo }/issues` , method : "GET" , query : query , format : "json" , ... params , } ) , description name request response response issuesCreate : ( owner , repo , body , params = { } ) => this . request < SwaggerTypeIssueGeneratedDataContract , void > ( { path : `/repos/${ owner }/${ repo }/issues` , method : "POST" , body : body , format : "json" , ... params , } ) , description name request response response issuesCommentsDetail : ( owner , repo , query ? , params = { } ) => this . request < SwaggerTypeIssuesCommentsGeneratedDataContract , void > ( { path : `/repos/${ owner }/${ repo }/issues/comments` , method : "GET" , query : query , format : "json" , ... params , } ) , description name request response response issuesCommentsDelete : ( owner , repo , commentId , params = { } ) => this . request < void , void > ( { path : `/repos/${ owner }/${ repo }/issues/comments/${ commentId }` , method : "DELETE" , ... params , } ) , description name request originalName duplicate response response issuesCommentsDetail2 : ( owner , repo , commentId , params = { } ) => this . request < SwaggerTypeIssuesCommentGeneratedDataContract , void > ( { path : `/repos/${ owner }/${ repo }/issues/comments/${ commentId }` , method : "GET" , format : "json" , ... params , } ) , description name request response response issuesCommentsPartialUpdate : ( owner , repo , commentId , body , params = { } ) => this . request < SwaggerTypeIssuesCommentGeneratedDataContract , void > ( { path : `/repos/${ owner }/${ repo }/issues/comments/${ commentId }` , method : "PATCH" , body : body , format : "json" , ... params , } ) , description name request response response issuesEventsDetail : ( owner , repo , params = { } ) => this . request < SwaggerTypeIssueEventsGeneratedDataContract , void > ( { path : `/repos/${ owner }/${ repo }/issues/events` , method : "GET" , format : "json" , ... params , } ) , description name request originalName duplicate response response issuesEventsDetail2 : ( owner , repo , eventId , params = { } ) => this . request < SwaggerTypeIssueEventGeneratedDataContract , void > ( { path : `/repos/${ owner }/${ repo }/issues/events/${ eventId }` , method : "GET" , format : "json" , ... params , } ) , description name request originalName duplicate response response issuesDetail2 : ( owner , repo , number , params = { } ) => this . request < SwaggerTypeIssueGeneratedDataContract , void > ( { path : `/repos/${ owner }/${ repo }/issues/${ number }` , method : "GET" , format : "json" , ... params , } ) , description name request response response issuesPartialUpdate : ( owner , repo , number , body , params = { } ) => this . request < SwaggerTypeIssueGeneratedDataContract , void > ( { path : `/repos/${ owner }/${ repo }/issues/${ number }` , method : "PATCH" , body : body , format : "json" , ... params , } ) , description name request originalName duplicate response response issuesCommentsDetail3 : ( owner , repo , number , params = { } ) => this . request < SwaggerTypeIssuesCommentsGeneratedDataContract , void > ( { path : `/repos/${ owner }/${ repo }/issues/${ number }/comments` , method : "GET" , format : "json" , ... params , } ) , description name request response response issuesCommentsCreate : ( owner , repo , number , body , params = { } ) => this . request < SwaggerTypeIssuesCommentGeneratedDataContract , void > ( { path : `/repos/${ owner }/${ repo }/issues/${ number }/comments` , method : "POST" , body : body , format : "json" , ... params , } ) , description name request originalName duplicate response response issuesEventsDetail3 : ( owner , repo , number , params = { } ) => this . request < SwaggerTypeIssueEventsGeneratedDataContract , void > ( { path : `/repos/${ owner }/${ repo }/issues/${ number }/events` , method : "GET" , format : "json" , ... params , } ) , description name request response response issuesLabelsDelete : ( owner , repo , number , params = { } ) => this . request < void , void > ( { path : `/repos/${ owner }/${ repo }/issues/${ number }/labels` , method : "DELETE" , ... params , } ) , description name request response response issuesLabelsDetail : ( owner , repo , number , params = { } ) => this . request < SwaggerTypeLabelsGeneratedDataContract , void > ( { path : `/repos/${ owner }/${ repo }/issues/${ number }/labels` , method : "GET" , format : "json" , ... params , } ) , description name request response response issuesLabelsCreate : ( owner , repo , number , body , params = { } ) => this . request < SwaggerTypeLabelGeneratedDataContract , void > ( { path : `/repos/${ owner }/${ repo }/issues/${ number }/labels` , method : "POST" , body : body , format : "json" , ... params , } ) , description name request response response issuesLabelsUpdate : ( owner , repo , number , body , params = { } ) => this . request < SwaggerTypeLabelGeneratedDataContract , void > ( { path : `/repos/${ owner }/${ repo }/issues/${ number }/labels` , method : "PUT" , body : body , format : "json" , ... params , } ) , description name request originalName duplicate response response issuesLabelsDelete2 : ( owner , repo , number , name , params = { } ) => this . request < void , void > ( { path : `/repos/${ owner }/${ repo }/issues/${ number }/labels/${ name }` , method : "DELETE" , ... params , } ) , description name request response response keysDetail : ( owner , repo , params = { } ) => this . request < SwaggerTypeKeysGeneratedDataContract , void > ( { path : `/repos/${ owner }/${ repo }/keys` , method : "GET" , format : "json" , ... params , } ) , description name request response response keysCreate : ( owner , repo , body , params = { } ) => this . request < SwaggerTypeUserKeysKeyIdGeneratedDataContract , void > ( { path : `/repos/${ owner }/${ repo }/keys` , method : "POST" , body : body , format : "json" , ... params , } ) , description name request response response keysDelete : ( owner , repo , keyId , params = { } ) => this . request < void , void > ( { path : `/repos/${ owner }/${ repo }/keys/${ keyId }` , method : "DELETE" , ... params , } ) , description name request originalName duplicate response response keysDetail2 : ( owner , repo , keyId , params = { } ) => this . request < SwaggerTypeUserKeysKeyIdGeneratedDataContract , void > ( { path : `/repos/${ owner }/${ repo }/keys/${ keyId }` , method : "GET" , format : "json" , ... params , } ) , description name request response response labelsDetail : ( owner , repo , params = { } ) => this . request < SwaggerTypeLabelsGeneratedDataContract , void > ( { path : `/repos/${ owner }/${ repo }/labels` , method : "GET" , format : "json" , ... params , } ) , description name request response response labelsCreate : ( owner , repo , body , params = { } ) => this . request < SwaggerTypeLabelGeneratedDataContract , void > ( { path : `/repos/${ owner }/${ repo }/labels` , method : "POST" , body : body , format : "json" , ... params , } ) , description name request response response labelsDelete : ( owner , repo , name , params = { } ) => this . request < void , void > ( { path : `/repos/${ owner }/${ repo }/labels/${ name }` , method : "DELETE" , ... params , } ) , description name request originalName duplicate response response labelsDetail2 : ( owner , repo , name , params = { } ) => this . request < SwaggerTypeLabelGeneratedDataContract , void > ( { path : `/repos/${ owner }/${ repo }/labels/${ name }` , method : "GET" , format : "json" , ... params , } ) , description name request response response labelsPartialUpdate : ( owner , repo , name , body , params = { } ) => this . request < SwaggerTypeLabelGeneratedDataContract , void > ( { path : `/repos/${ owner }/${ repo }/labels/${ name }` , method : "PATCH" , body : body , format : "json" , ... params , } ) , description name request response response languagesDetail : ( owner , repo , params = { } ) => this . request < SwaggerTypeLanguagesGeneratedDataContract , void > ( { path : `/repos/${ owner }/${ repo }/languages` , method : "GET" , format : "json" , ... params , } ) , description name request response response response response response mergesCreate : ( owner , repo , body , params = { } ) => this . request < SwaggerTypeMergesSuccessfulGeneratedDataContract , void | SwaggerTypeMergesConflictGeneratedDataContract > ( { path : `/repos/${ owner }/${ repo }/merges` , method : "POST" , body : body , type : ContentType . Json , format : "json" , ... params , } ) , description name request response response milestonesDetail : ( owner , repo , query ? , params = { } ) => this . request < SwaggerTypeMilestoneGeneratedDataContract , void > ( { path : `/repos/${ owner }/${ repo }/milestones` , method : "GET" , query : query , format : "json" , ... params , } ) , description name request response response milestonesCreate : ( owner , repo , body , params = { } ) => this . request < SwaggerTypeMilestoneGeneratedDataContract , void > ( { path : `/repos/${ owner }/${ repo }/milestones` , method : "POST" , body : body , format : "json" , ... params , } ) , description name request response response milestonesDelete : ( owner , repo , number , params = { } ) => this . request < void , void > ( { path : `/repos/${ owner }/${ repo }/milestones/${ number }` , method : "DELETE" , ... params , } ) , description name request originalName duplicate response response milestonesDetail2 : ( owner , repo , number , params = { } ) => this . request < SwaggerTypeMilestoneGeneratedDataContract , void > ( { path : `/repos/${ owner }/${ repo }/milestones/${ number }` , method : "GET" , format : "json" , ... params , } ) , description name request response response milestonesPartialUpdate : ( owner , repo , number , body , params = { } ) => this . request < SwaggerTypeMilestoneGeneratedDataContract , void > ( { path : `/repos/${ owner }/${ repo }/milestones/${ number }` , method : "PATCH" , body : body , format : "json" , ... params , } ) , description name request response response milestonesLabelsDetail : ( owner , repo , number , params = { } ) => this . request < SwaggerTypeLabelsGeneratedDataContract , void > ( { path : `/repos/${ owner }/${ repo }/milestones/${ number }/labels` , method : "GET" , format : "json" , ... params , } ) , description name request response response notificationsDetail : ( owner , repo , query ? , params = { } ) => this . request < SwaggerTypeNotificationsGeneratedDataContract , void > ( { path : `/repos/${ owner }/${ repo }/notifications` , method : "GET" , query : query , format : "json" , ... params , } ) , description name request response response notificationsUpdate : ( owner , repo , body , params = { } ) => this . request < void , void > ( { path : `/repos/${ owner }/${ repo }/notifications` , method : "PUT" , body : body , ... params , } ) , description name request response response pullsDetail : ( owner , repo , query ? , params = { } ) => this . request < SwaggerTypePullsGeneratedDataContract , void > ( { path : `/repos/${ owner }/${ repo }/pulls` , method : "GET" , query : query , format : "json" , ... params , } ) , description name request response response pullsCreate : ( owner , repo , body , params = { } ) => this . request < SwaggerTypePullsGeneratedDataContract , void > ( { path : `/repos/${ owner }/${ repo }/pulls` , method : "POST" , body : body , type : ContentType . Json , format : "json" , ... params , } ) , description name request response response pullsCommentsDetail : ( owner , repo , query ? , params = { } ) => this . request < SwaggerTypeIssuesCommentsGeneratedDataContract , void > ( { path : `/repos/${ owner }/${ repo }/pulls/comments` , method : "GET" , query : query , format : "json" , ... params , } ) , description name request response response pullsCommentsDelete : ( owner , repo , commentId , params = { } ) => this . request < void , void > ( { path : `/repos/${ owner }/${ repo }/pulls/comments/${ commentId }` , method : "DELETE" , ... params , } ) , description name request originalName duplicate response response pullsCommentsDetail2 : ( owner , repo , commentId , params = { } ) => this . request < SwaggerTypePullsCommentGeneratedDataContract , void > ( { path : `/repos/${ owner }/${ repo }/pulls/comments/${ commentId }` , method : "GET" , format : "json" , ... params , } ) , description name request response response pullsCommentsPartialUpdate : ( owner , repo , commentId , body , params = { } ) => this . request < SwaggerTypePullsCommentGeneratedDataContract , void > ( { path : `/repos/${ owner }/${ repo }/pulls/comments/${ commentId }` , method : "PATCH" , body : body , format : "json" , ... params , } ) , description name request originalName duplicate response response pullsDetail2 : ( owner , repo , number , params = { } ) => this . request < SwaggerTypePullRequestGeneratedDataContract , void > ( { path : `/repos/${ owner }/${ repo }/pulls/${ number }` , method : "GET" , format : "json" , ... params , } ) , description name request response response pullsPartialUpdate : ( owner , repo , number , body , params = { } ) => this . request < SwaggerTypeRepoGeneratedDataContract , void > ( { path : `/repos/${ owner }/${ repo }/pulls/${ number }` , method : "PATCH" , body : body , type : ContentType . Json , format : "json" , ... params , } ) , description name request originalName duplicate response response pullsCommentsDetail3 : ( owner , repo , number , params = { } ) => this . request < SwaggerTypePullsCommentGeneratedDataContract , void > ( { path : `/repos/${ owner }/${ repo }/pulls/${ number }/comments` , method : "GET" , format : "json" , ... params , } ) , description name request response response pullsCommentsCreate : ( owner , repo , number , body , params = { } ) => this . request < SwaggerTypePullsCommentGeneratedDataContract , void > ( { path : `/repos/${ owner }/${ repo }/pulls/${ number }/comments` , method : "POST" , body : body , type : ContentType . Json , format : "json" , ... params , } ) , description name request response response pullsCommitsDetail : ( owner , repo , number , params = { } ) => this . request < SwaggerTypeCommitsGeneratedDataContract , void > ( { path : `/repos/${ owner }/${ repo }/pulls/${ number }/commits` , method : "GET" , format : "json" , ... params , } ) , description name request response response pullsFilesDetail : ( owner , repo , number , params = { } ) => this . request < SwaggerTypePullsGeneratedDataContract , void > ( { path : `/repos/${ owner }/${ repo }/pulls/${ number }/files` , method : "GET" , format : "json" , ... params , } ) , description name request response response response pullsMergeDetail : ( owner , repo , number , params = { } ) => this . request < void , void > ( { path : `/repos/${ owner }/${ repo }/pulls/${ number }/merge` , method : "GET" , ... params , } ) , description name request response response response pullsMergeUpdate : ( owner , repo , number , body , params = { } ) => this . request < SwaggerTypeMergeGeneratedDataContract , void | SwaggerTypeMergeGeneratedDataContract > ( { path : `/repos/${ owner }/${ repo }/pulls/${ number }/merge` , method : "PUT" , body : body , type : ContentType . Json , format : "json" , ... params , } ) , description name request response response readmeDetail : ( owner , repo , query ? , params = { } ) => this . request < SwaggerTypeContentsPathGeneratedDataContract , void > ( { path : `/repos/${ owner }/${ repo }/readme` , method : "GET" , query : query , format : "json" , ... params , } ) , description name request response response releasesDetail : ( owner , repo , params = { } ) => this . request < SwaggerTypeReleasesGeneratedDataContract , void > ( { path : `/repos/${ owner }/${ repo }/releases` , method : "GET" , format : "json" , ... params , } ) , description name request response response releasesCreate : ( owner , repo , body , params = { } ) => this . request < SwaggerTypeReleaseGeneratedDataContract , void > ( { path : `/repos/${ owner }/${ repo }/releases` , method : "POST" , body : body , format : "json" , ... params , } ) , description name request response response releasesAssetsDelete : ( owner , repo , id , params = { } ) => this . request < void , void > ( { path : `/repos/${ owner }/${ repo }/releases/assets/${ id }` , method : "DELETE" , ... params , } ) , description name request response response releasesAssetsDetail : ( owner , repo , id , params = { } ) => this . request < SwaggerTypeAssetGeneratedDataContract , void > ( { path : `/repos/${ owner }/${ repo }/releases/assets/${ id }` , method : "GET" , format : "json" , ... params , } ) , description name request response response releasesAssetsPartialUpdate : ( owner , repo , id , body , params = { } ) => this . request < SwaggerTypeAssetGeneratedDataContract , void > ( { path : `/repos/${ owner }/${ repo }/releases/assets/${ id }` , method : "PATCH" , body : body , type : ContentType . Json , format : "json" , ... params , } ) , description name request response response releasesDelete : ( owner , repo , id , params = { } ) => this . request < void , void > ( { path : `/repos/${ owner }/${ repo }/releases/${ id }` , method : "DELETE" , ... params , } ) , description name request originalName duplicate response response releasesDetail2 : ( owner , repo , id , params = { } ) => this . request < SwaggerTypeReleaseGeneratedDataContract , void > ( { path : `/repos/${ owner }/${ repo }/releases/${ id }` , method : "GET" , format : "json" , ... params , } ) , description name request response response releasesPartialUpdate : ( owner , repo , id , body , params = { } ) => this . request < SwaggerTypeReleaseGeneratedDataContract , void > ( { path : `/repos/${ owner }/${ repo }/releases/${ id }` , method : "PATCH" , body : body , format : "json" , ... params , } ) , description name request originalName duplicate response response releasesAssetsDetail2 : ( owner , repo , id , params = { } ) => this . request < SwaggerTypeAssetsGeneratedDataContract , void > ( { path : `/repos/${ owner }/${ repo }/releases/${ id }/assets` , method : "GET" , format : "json" , ... params , } ) , description name request response response stargazersDetail : ( owner , repo , params = { } ) => this . request < SwaggerTypeUsersGeneratedDataContract , void > ( { path : `/repos/${ owner }/${ repo }/stargazers` , method : "GET" , format : "json" , ... params , } ) , description name request response response statsCodeFrequencyDetail : ( owner , repo , params = { } ) => this . request < SwaggerTypeCodeFrequencyStatsGeneratedDataContract , void > ( { path : `/repos/${ owner }/${ repo }/stats/code_frequency` , method : "GET" , format : "json" , ... params , } ) , description name request response response statsCommitActivityDetail : ( owner , repo , params = { } ) => this . request < SwaggerTypeCommitActivityStatsGeneratedDataContract , void > ( { path : `/repos/${ owner }/${ repo }/stats/commit_activity` , method : "GET" , format : "json" , ... params , } ) , description name request response response statsContributorsDetail : ( owner , repo , params = { } ) => this . request < SwaggerTypeContributorsStatsGeneratedDataContract , void > ( { path : `/repos/${ owner }/${ repo }/stats/contributors` , method : "GET" , format : "json" , ... params , } ) , description name request response response statsParticipationDetail : ( owner , repo , params = { } ) => this . request < SwaggerTypeParticipationStatsGeneratedDataContract , void > ( { path : `/repos/${ owner }/${ repo }/stats/participation` , method : "GET" , format : "json" , ... params , } ) , description name request response response statsPunchCardDetail : ( owner , repo , params = { } ) => this . request < SwaggerTypeCodeFrequencyStatsGeneratedDataContract , void > ( { path : `/repos/${ owner }/${ repo }/stats/punch_card` , method : "GET" , format : "json" , ... params , } ) , description name request response response statusesDetail : ( owner , repo , ref , params = { } ) => this . request < SwaggerTypeRefGeneratedDataContract , void > ( { path : `/repos/${ owner }/${ repo }/statuses/${ ref }` , method : "GET" , format : "json" , ... params , } ) , description name request response response statusesCreate : ( owner , repo , ref , body , params = { } ) => this . request < SwaggerTypeRefGeneratedDataContract , void > ( { path : `/repos/${ owner }/${ repo }/statuses/${ ref }` , method : "POST" , body : body , type : ContentType . Json , format : "json" , ... params , } ) , description name request response response subscribersDetail : ( owner , repo , params = { } ) => this . request < SwaggerTypeUsersGeneratedDataContract , void > ( { path : `/repos/${ owner }/${ repo }/subscribers` , method : "GET" , format : "json" , ... params , } ) , description name request response response subscriptionDelete : ( owner , repo , params = { } ) => this . request < void , void > ( { path : `/repos/${ owner }/${ repo }/subscription` , method : "DELETE" , ... params , } ) , description name request response response subscriptionDetail : ( owner , repo , params = { } ) => this . request < SwaggerTypeSubscriptionGeneratedDataContract , void > ( { path : `/repos/${ owner }/${ repo }/subscription` , method : "GET" , format : "json" , ... params , } ) , description name request response response subscriptionUpdate : ( owner , repo , body , params = { } ) => this . request < SwaggerTypeSubscriptionGeneratedDataContract , void > ( { path : `/repos/${ owner }/${ repo }/subscription` , method : "PUT" , body : body , type : ContentType . Json , format : "json" , ... params , } ) , description name request response response tagsDetail : ( owner , repo , params = { } ) => this . request < SwaggerTypeTagsGeneratedDataContract , void > ( { path : `/repos/${ owner }/${ repo }/tags` , method : "GET" , format : "json" , ... params , } ) , description name request response response teamsDetail : ( owner , repo , params = { } ) => this . request < SwaggerTypeTeamsGeneratedDataContract , void > ( { path : `/repos/${ owner }/${ repo }/teams` , method : "GET" , format : "json" , ... params , } ) , description name request response response watchersDetail : ( owner , repo , params = { } ) => this . request < SwaggerTypeUsersGeneratedDataContract , void > ( { path : `/repos/${ owner }/${ repo }/watchers` , method : "GET" , format : "json" , ... params , } ) , description name request originalName duplicate response response reposDetail2 : ( owner , repo , archiveFormat , path , params = { } ) => this . request < any , void > ( { path : `/repos/${ owner }/${ repo }/${ archiveFormat }/${ path }` , method : "GET" , ... params , } ) , } ; repositories = { description name request response response repositoriesList : ( query ? , params = { } ) => this . request < SwaggerTypeReposGeneratedDataContract , void > ( { path : `/repositories` , method : "GET" , query : query , format : "json" , ... params , } ) , } ; search = { description name request response response codeList : ( query , params = { } ) => this . request < SwaggerTypeSearchCodeGeneratedDataContract , void > ( { path : `/search/code` , method : "GET" , query : query , format : "json" , ... params , } ) , description name request response response issuesList : ( query , params = { } ) => this . request < SwaggerTypeSearchIssuesGeneratedDataContract , void > ( { path : `/search/issues` , method : "GET" , query : query , format : "json" , ... params , } ) , description name request response response repositoriesList : ( query , params = { } ) => this . request < SwaggerTypeSearchRepositoriesGeneratedDataContract , void > ( { path : `/search/repositories` , method : "GET" , query : query , format : "json" , ... params , } ) , description name request response response usersList : ( query , params = { } ) => this . request < SwaggerTypeSearchUsersGeneratedDataContract , void > ( { path : `/search/users` , method : "GET" , query : query , format : "json" , ... params , } ) , } ; teams = { description name request response response teamsDelete : ( teamId , params = { } ) => this . request < void , void > ( { path : `/teams/${ teamId }` , method : "DELETE" , ... params , } ) , description name request response response teamsDetail : ( teamId , params = { } ) => this . request < SwaggerTypeTeamGeneratedDataContract , void > ( { path : `/teams/${ teamId }` , method : "GET" , format : "json" , ... params , } ) , description name request response response teamsPartialUpdate : ( teamId , body , params = { } ) => this . request < SwaggerTypeTeamGeneratedDataContract , void > ( { path : `/teams/${ teamId }` , method : "PATCH" , body : body , type : ContentType . Json , format : "json" , ... params , } ) , description name request response response membersDetail : ( teamId , params = { } ) => this . request < SwaggerTypeUsersGeneratedDataContract , void > ( { path : `/teams/${ teamId }/members` , method : "GET" , format : "json" , ... params , } ) , description name request deprecated response response membersDelete : ( teamId , username , params = { } ) => this . request < void , void > ( { path : `/teams/${ teamId }/members/${ username }` , method : "DELETE" , ... params , } ) , description name request deprecated originalName duplicate response response response membersDetail2 : ( teamId , username , params = { } ) => this . request < void , void > ( { path : `/teams/${ teamId }/members/${ username }` , method : "GET" , ... params , } ) , description name request deprecated response response response membersUpdate : ( teamId , username , params = { } ) => this . request < void , void | SwaggerTypeOrganizationAsTeamMemberGeneratedDataContract > ( { path : `/teams/${ teamId }/members/${ username }` , method : "PUT" , ... params , } ) , description name request response response membershipsDelete : ( teamId , username , params = { } ) => this . request < void , void > ( { path : `/teams/${ teamId }/memberships/${ username }` , method : "DELETE" , ... params , } ) , description name request response response response membershipsDetail : ( teamId , username , params = { } ) => this . request < SwaggerTypeTeamMembershipGeneratedDataContract , void > ( { path : `/teams/${ teamId }/memberships/${ username }` , method : "GET" , format : "json" , ... params , } ) , description name request response response response membershipsUpdate : ( teamId , username , params = { } ) => this . request < SwaggerTypeTeamMembershipGeneratedDataContract , void | SwaggerTypeOrganizationAsTeamMemberGeneratedDataContract > ( { path : `/teams/${ teamId }/memberships/${ username }` , method : "PUT" , format : "json" , ... params , } ) , description name request response response reposDetail : ( teamId , params = { } ) => this . request < SwaggerTypeTeamReposGeneratedDataContract , void > ( { path : `/teams/${ teamId }/repos` , method : "GET" , format : "json" , ... params , } ) , description name request response response reposDelete : ( teamId , owner , repo , params = { } ) => this . request < void , void > ( { path : `/teams/${ teamId }/repos/${ owner }/${ repo }` , method : "DELETE" , ... params , } ) , description name request originalName duplicate response reposDetail2 : ( teamId , owner , repo , params = { } ) => this . request < any , void > ( { path : `/teams/${ teamId }/repos/${ owner }/${ repo }` , method : "GET" , ... params , } ) , description name request response reposUpdate : ( teamId , owner , repo , params = { } ) => this . request < any , void > ( { path : `/teams/${ teamId }/repos/${ owner }/${ repo }` , method : "PUT" , ... params , } ) , } ; user = { description name request response response userList : ( params = { } ) => this . request < SwaggerTypeUserGeneratedDataContract , void > ( { path : `/user` , method : "GET" , format : "json" , ... params , } ) , description name request response response userPartialUpdate : ( body , params = { } ) => this . request < SwaggerTypeUserGeneratedDataContract , void > ( { path : `/user` , method : "PATCH" , body : body , type : ContentType . Json , format : "json" , ... params , } ) , description name request response response emailsDelete : ( body , params = { } ) => this . request < void , void > ( { path : `/user/emails` , method : "DELETE" , body : body , type : ContentType . Json , ... params , } ) , description name request response response emailsList : ( params = { } ) => this . request < SwaggerTypeUserEmailsGeneratedDataContract , void > ( { path : `/user/emails` , method : "GET" , ... params , } ) , description name request response emailsCreate : ( body , params = { } ) => this . request < any , void > ( { path : `/user/emails` , method : "POST" , body : body , ... params , } ) , description name request response response followersList : ( params = { } ) => this . request < SwaggerTypeUsersGeneratedDataContract , void > ( { path : `/user/followers` , method : "GET" , format : "json" , ... params , } ) , description name request response response followingList : ( params = { } ) => this . request < SwaggerTypeUsersGeneratedDataContract , void > ( { path : `/user/following` , method : "GET" , format : "json" , ... params , } ) , description name request response response followingDelete : ( username , params = { } ) => this . request < void , void > ( { path : `/user/following/${ username }` , method : "DELETE" , ... params , } ) , description name request response response response followingDetail : ( username , params = { } ) => this . request < void , void > ( { path : `/user/following/${ username }` , method : "GET" , ... params , } ) , description name request response response followingUpdate : ( username , params = { } ) => this . request < void , void > ( { path : `/user/following/${ username }` , method : "PUT" , ... params , } ) , description name request response response issuesList : ( query , params = { } ) => this . request < SwaggerTypeIssuesGeneratedDataContract , void > ( { path : `/user/issues` , method : "GET" , query : query , format : "json" , ... params , } ) , description name request response response keysList : ( params = { } ) => this . request < SwaggerTypeGitignoreGeneratedDataContract , void > ( { path : `/user/keys` , method : "GET" , format : "json" , ... params , } ) , description name request response response keysCreate : ( body , params = { } ) => this . request < SwaggerTypeUserKeysKeyIdGeneratedDataContract , void > ( { path : `/user/keys` , method : "POST" , body : body , format : "json" , ... params , } ) , description name request response response keysDelete : ( keyId , params = { } ) => this . request < void , void > ( { path : `/user/keys/${ keyId }` , method : "DELETE" , ... params , } ) , description name request response response keysDetail : ( keyId , params = { } ) => this . request < SwaggerTypeUserKeysKeyIdGeneratedDataContract , void > ( { path : `/user/keys/${ keyId }` , method : "GET" , format : "json" , ... params , } ) , description name request response response orgsList : ( params = { } ) => this . request < SwaggerTypeGitignoreGeneratedDataContract , void > ( { path : `/user/orgs` , method : "GET" , format : "json" , ... params , } ) , description name request response response reposList : ( query ? , params = { } ) => this . request < SwaggerTypeReposGeneratedDataContract , void > ( { path : `/user/repos` , method : "GET" , query : query , format : "json" , ... params , } ) , description name request response response reposCreate : ( body , params = { } ) => this . request < SwaggerTypeReposGeneratedDataContract , void > ( { path : `/user/repos` , method : "POST" , body : body , format : "json" , ... params , } ) , description name request response response starredList : ( query ? , params = { } ) => this . request < SwaggerTypeGitignoreGeneratedDataContract , void > ( { path : `/user/starred` , method : "GET" , query : query , format : "json" , ... params , } ) , description name request response response starredDelete : ( owner , repo , params = { } ) => this . request < void , void > ( { path : `/user/starred/${ owner }/${ repo }` , method : "DELETE" , ... params , } ) , description name request response response response starredDetail : ( owner , repo , params = { } ) => this . request < void , void > ( { path : `/user/starred/${ owner }/${ repo }` , method : "GET" , ... params , } ) , description name request response response starredUpdate : ( owner , repo , params = { } ) => this . request < void , void > ( { path : `/user/starred/${ owner }/${ repo }` , method : "PUT" , ... params , } ) , description name request response response subscriptionsList : ( params = { } ) => this . request < SwaggerTypeReposGeneratedDataContract , void > ( { path : `/user/subscriptions` , method : "GET" , format : "json" , ... params , } ) , description name request deprecated response response subscriptionsDelete : ( owner , repo , params = { } ) => this . request < void , void > ( { path : `/user/subscriptions/${ owner }/${ repo }` , method : "DELETE" , ... params , } ) , description name request deprecated response response response subscriptionsDetail : ( owner , repo , params = { } ) => this . request < void , void > ( { path : `/user/subscriptions/${ owner }/${ repo }` , method : "GET" , ... params , } ) , description name request deprecated response response subscriptionsUpdate : ( owner , repo , params = { } ) => this . request < void , void > ( { path : `/user/subscriptions/${ owner }/${ repo }` , method : "PUT" , ... params , } ) , description name request response response teamsList : ( params = { } ) => this . request < SwaggerTypeTeamsListGeneratedDataContract , void > ( { path : `/user/teams` , method : "GET" , format : "json" , ... params , } ) , } ; users = { description name request response response usersList : ( query ? , params = { } ) => this . request < SwaggerTypeUsersGeneratedDataContract , void > ( { path : `/users` , method : "GET" , query : query , format : "json" , ... params , } ) , description name request response response usersDetail : ( username , params = { } ) => this . request < SwaggerTypeUserGeneratedDataContract , void > ( { path : `/users/${ username }` , method : "GET" , format : "json" , ... params , } ) , description name request response eventsDetail : ( username , params = { } ) => this . request < any , void > ( { path : `/users/${ username }/events` , method : "GET" , ... params , } ) , description name request response eventsOrgsDetail : ( username , org , params = { } ) => this . request < any , void > ( { path : `/users/${ username }/events/orgs/${ org }` , method : "GET" , ... params , } ) , description name request response response followersDetail : ( username , params = { } ) => this . request < SwaggerTypeUsersGeneratedDataContract , void > ( { path : `/users/${ username }/followers` , method : "GET" , format : "json" , ... params , } ) , description name request response response response followingDetail : ( username , targetUser , params = { } ) => this . request < void , void > ( { path : `/users/${ username }/following/${ targetUser }` , method : "GET" , ... params , } ) , description name request response response gistsDetail : ( username , query ? , params = { } ) => this . request < SwaggerTypeGistsGeneratedDataContract , void > ( { path : `/users/${ username }/gists` , method : "GET" , query : query , format : "json" , ... params , } ) , description name request response response keysDetail : ( username , params = { } ) => this . request < SwaggerTypeGitignoreGeneratedDataContract , void > ( { path : `/users/${ username }/keys` , method : "GET" , format : "json" , ... params , } ) , description name request response response orgsDetail : ( username , params = { } ) => this . request < SwaggerTypeGitignoreGeneratedDataContract , void > ( { path : `/users/${ username }/orgs` , method : "GET" , format : "json" , ... params , } ) , description name request response receivedEventsDetail : ( username , params = { } ) => this . request < any , void > ( { path : `/users/${ username }/received_events` , method : "GET" , ... params , } ) , description name request response receivedEventsPublicDetail : ( username , params = { } ) => this . request < any , void > ( { path : `/users/${ username }/received_events/public` , method : "GET" , ... params , } ) , description name request response response reposDetail : ( username , query ? , params = { } ) => this . request < SwaggerTypeReposGeneratedDataContract , void > ( { path : `/users/${ username }/repos` , method : "GET" , query : query , format : "json" , ... params , } ) , description name request response starredDetail : ( username , params = { } ) => this . request < any , void > ( { path : `/users/${ username }/starred` , method : "GET" , ... params , } ) , description name request response subscriptionsDetail : ( username , params = { } ) => this . request < any , void > ( { path : `/users/${ username }/subscriptions` , method : "GET" , ... params , } ) , } ; }