midas/sdk/github

Types

pub type App {
  App(
    client_id: String,
    client_secret: String,
    redirect_uri: String,
  )
}

Constructors

  • App(
      client_id: String,
      client_secret: String,
      redirect_uri: String,
    )

Constants

pub const api_host: String

Functions

pub fn actions_add_custom_labels_to_self_hosted_runner_for_org(
  token: String,
  org: String,
  runner_id: Int,
  data: BitArray,
) -> Effect(Dynamic)
pub fn actions_add_custom_labels_to_self_hosted_runner_for_repo(
  token: String,
  owner: String,
  repo: String,
  runner_id: Int,
  data: BitArray,
) -> Effect(Dynamic)
pub fn actions_add_repo_access_to_self_hosted_runner_group_in_org(
  token: String,
  org: String,
  runner_group_id: Int,
  repository_id: Int,
) -> Effect(Nil)
pub fn actions_add_selected_repo_to_org_secret(
  token: String,
  org: String,
  secret_name: String,
  repository_id: Int,
) -> Effect(Nil)
pub fn actions_add_selected_repo_to_org_variable(
  token: String,
  org: String,
  name: String,
  repository_id: Int,
) -> Effect(Nil)
pub fn actions_add_self_hosted_runner_to_group_for_org(
  token: String,
  org: String,
  runner_group_id: Int,
  runner_id: Int,
) -> Effect(Nil)
pub fn actions_approve_workflow_run(
  token: String,
  owner: String,
  repo: String,
  run_id: Int,
) -> Effect(EmptyObject)
pub fn actions_cancel_workflow_run(
  token: String,
  owner: String,
  repo: String,
  run_id: Int,
) -> Effect(EmptyObject)
pub fn actions_create_environment_variable(
  token: String,
  owner: String,
  repo: String,
  environment_name: String,
  data: BitArray,
) -> Effect(EmptyObject)
pub fn actions_create_or_update_environment_secret(
  token: String,
  owner: String,
  repo: String,
  environment_name: String,
  secret_name: String,
  data: BitArray,
) -> Effect(Nil)
pub fn actions_create_or_update_org_secret(
  token: String,
  org: String,
  secret_name: String,
  data: BitArray,
) -> Effect(Nil)
pub fn actions_create_or_update_repo_secret(
  token: String,
  owner: String,
  repo: String,
  secret_name: String,
  data: BitArray,
) -> Effect(Nil)
pub fn actions_create_org_variable(
  token: String,
  org: String,
  data: BitArray,
) -> Effect(EmptyObject)
pub fn actions_create_registration_token_for_org(
  token: String,
  org: String,
) -> Effect(AuthenticationToken)
pub fn actions_create_registration_token_for_repo(
  token: String,
  owner: String,
  repo: String,
) -> Effect(AuthenticationToken)
pub fn actions_create_remove_token_for_org(
  token: String,
  org: String,
) -> Effect(AuthenticationToken)
pub fn actions_create_remove_token_for_repo(
  token: String,
  owner: String,
  repo: String,
) -> Effect(AuthenticationToken)
pub fn actions_create_repo_variable(
  token: String,
  owner: String,
  repo: String,
  data: BitArray,
) -> Effect(EmptyObject)
pub fn actions_create_self_hosted_runner_group_for_org(
  token: String,
  org: String,
  data: BitArray,
) -> Effect(RunnerGroupsOrg)
pub fn actions_create_workflow_dispatch(
  token: String,
  owner: String,
  repo: String,
  workflow_id: String,
  data: BitArray,
) -> Effect(Nil)
pub fn actions_delete_actions_cache_by_id(
  token: String,
  owner: String,
  repo: String,
  cache_id: Int,
) -> Effect(Nil)
pub fn actions_delete_actions_cache_by_key(
  token: String,
  owner: String,
  repo: String,
  key key: String,
  ref ref: Option(String),
) -> Effect(ActionsCacheList)
pub fn actions_delete_artifact(
  token: String,
  owner: String,
  repo: String,
  artifact_id: Int,
) -> Effect(Nil)
pub fn actions_delete_environment_secret(
  token: String,
  owner: String,
  repo: String,
  environment_name: String,
  secret_name: String,
) -> Effect(Nil)
pub fn actions_delete_environment_variable(
  token: String,
  owner: String,
  repo: String,
  environment_name: String,
  name: String,
) -> Effect(Nil)
pub fn actions_delete_org_secret(
  token: String,
  org: String,
  secret_name: String,
) -> Effect(Nil)
pub fn actions_delete_org_variable(
  token: String,
  org: String,
  name: String,
) -> Effect(Nil)
pub fn actions_delete_repo_secret(
  token: String,
  owner: String,
  repo: String,
  secret_name: String,
) -> Effect(Nil)
pub fn actions_delete_repo_variable(
  token: String,
  owner: String,
  repo: String,
  name: String,
) -> Effect(Nil)
pub fn actions_delete_self_hosted_runner_from_org(
  token: String,
  org: String,
  runner_id: Int,
) -> Effect(Nil)
pub fn actions_delete_self_hosted_runner_from_repo(
  token: String,
  owner: String,
  repo: String,
  runner_id: Int,
) -> Effect(Nil)
pub fn actions_delete_self_hosted_runner_group_from_org(
  token: String,
  org: String,
  runner_group_id: Int,
) -> Effect(Nil)
pub fn actions_delete_workflow_run(
  token: String,
  owner: String,
  repo: String,
  run_id: Int,
) -> Effect(Nil)
pub fn actions_delete_workflow_run_logs(
  token: String,
  owner: String,
  repo: String,
  run_id: Int,
) -> Effect(Nil)
pub fn actions_disable_selected_repository_github_actions_organization(
  token: String,
  org: String,
  repository_id: Int,
) -> Effect(Nil)
pub fn actions_disable_workflow(
  token: String,
  owner: String,
  repo: String,
  workflow_id: String,
) -> Effect(Nil)
pub fn actions_download_artifact(
  token: String,
  owner: String,
  repo: String,
  artifact_id: Int,
  archive_format: String,
) -> Effect(a)
pub fn actions_download_job_logs_for_workflow_run(
  token: String,
  owner: String,
  repo: String,
  job_id: Int,
) -> Effect(a)
pub fn actions_download_workflow_run_attempt_logs(
  token: String,
  owner: String,
  repo: String,
  run_id: Int,
  attempt_number: Int,
) -> Effect(a)
pub fn actions_download_workflow_run_logs(
  token: String,
  owner: String,
  repo: String,
  run_id: Int,
) -> Effect(a)
pub fn actions_enable_selected_repository_github_actions_organization(
  token: String,
  org: String,
  repository_id: Int,
) -> Effect(Nil)
pub fn actions_enable_workflow(
  token: String,
  owner: String,
  repo: String,
  workflow_id: String,
) -> Effect(Nil)
pub fn actions_force_cancel_workflow_run(
  token: String,
  owner: String,
  repo: String,
  run_id: Int,
) -> Effect(EmptyObject)
pub fn actions_generate_runner_jitconfig_for_org(
  token: String,
  org: String,
  data: BitArray,
) -> Effect(Dynamic)
pub fn actions_generate_runner_jitconfig_for_repo(
  token: String,
  owner: String,
  repo: String,
  data: BitArray,
) -> Effect(Dynamic)
pub fn actions_get_actions_cache_list(
  token: String,
  owner: String,
  repo: String,
  per_page per_page: Option(Int),
  page page: Option(Int),
  ref ref: Option(String),
  key key: Option(String),
  sort sort: Option(String),
  direction direction: Option(String),
) -> Effect(ActionsCacheList)
pub fn actions_get_actions_cache_usage(
  token: String,
  owner: String,
  repo: String,
) -> Effect(ActionsCacheUsageByRepository)
pub fn actions_get_actions_cache_usage_by_repo_for_org(
  token: String,
  org: String,
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(Dynamic)
pub fn actions_get_actions_cache_usage_for_org(
  token: String,
  org: String,
) -> Effect(ActionsCacheUsageOrgEnterprise)
pub fn actions_get_allowed_actions_organization(
  token: String,
  org: String,
) -> Effect(SelectedActions)
pub fn actions_get_allowed_actions_repository(
  token: String,
  owner: String,
  repo: String,
) -> Effect(SelectedActions)
pub fn actions_get_artifact(
  token: String,
  owner: String,
  repo: String,
  artifact_id: Int,
) -> Effect(Artifact)
pub fn actions_get_custom_oidc_sub_claim_for_repo(
  token: String,
  owner: String,
  repo: String,
) -> Effect(OidcCustomSubRepo)
pub fn actions_get_environment_public_key(
  token: String,
  owner: String,
  repo: String,
  environment_name: String,
) -> Effect(ActionsPublicKey)
pub fn actions_get_environment_secret(
  token: String,
  owner: String,
  repo: String,
  environment_name: String,
  secret_name: String,
) -> Effect(ActionsSecret)
pub fn actions_get_environment_variable(
  token: String,
  owner: String,
  repo: String,
  environment_name: String,
  name: String,
) -> Effect(ActionsVariable)
pub fn actions_get_github_actions_default_workflow_permissions_organization(
  token: String,
  org: String,
) -> Effect(ActionsGetDefaultWorkflowPermissions)
pub fn actions_get_github_actions_default_workflow_permissions_repository(
  token: String,
  owner: String,
  repo: String,
) -> Effect(ActionsGetDefaultWorkflowPermissions)
pub fn actions_get_github_actions_permissions_organization(
  token: String,
  org: String,
) -> Effect(ActionsOrganizationPermissions)
pub fn actions_get_github_actions_permissions_repository(
  token: String,
  owner: String,
  repo: String,
) -> Effect(ActionsRepositoryPermissions)
pub fn actions_get_job_for_workflow_run(
  token: String,
  owner: String,
  repo: String,
  job_id: Int,
) -> Effect(Job)
pub fn actions_get_org_public_key(
  token: String,
  org: String,
) -> Effect(ActionsPublicKey)
pub fn actions_get_org_secret(
  token: String,
  org: String,
  secret_name: String,
) -> Effect(OrganizationActionsSecret)
pub fn actions_get_org_variable(
  token: String,
  org: String,
  name: String,
) -> Effect(OrganizationActionsVariable)
pub fn actions_get_pending_deployments_for_run(
  token: String,
  owner: String,
  repo: String,
  run_id: Int,
) -> Effect(List(PendingDeployment))
pub fn actions_get_repo_public_key(
  token: String,
  owner: String,
  repo: String,
) -> Effect(ActionsPublicKey)
pub fn actions_get_repo_secret(
  token: String,
  owner: String,
  repo: String,
  secret_name: String,
) -> Effect(ActionsSecret)
pub fn actions_get_repo_variable(
  token: String,
  owner: String,
  repo: String,
  name: String,
) -> Effect(ActionsVariable)
pub fn actions_get_reviews_for_run(
  token: String,
  owner: String,
  repo: String,
  run_id: Int,
) -> Effect(List(EnvironmentApprovals))
pub fn actions_get_self_hosted_runner_for_org(
  token: String,
  org: String,
  runner_id: Int,
) -> Effect(Runner)
pub fn actions_get_self_hosted_runner_for_repo(
  token: String,
  owner: String,
  repo: String,
  runner_id: Int,
) -> Effect(Runner)
pub fn actions_get_self_hosted_runner_group_for_org(
  token: String,
  org: String,
  runner_group_id: Int,
) -> Effect(RunnerGroupsOrg)
pub fn actions_get_workflow(
  token: String,
  owner: String,
  repo: String,
  workflow_id: String,
) -> Effect(Workflow)
pub fn actions_get_workflow_access_to_repository(
  token: String,
  owner: String,
  repo: String,
) -> Effect(ActionsWorkflowAccessToRepository)
pub fn actions_get_workflow_run(
  token: String,
  owner: String,
  repo: String,
  run_id: Int,
  exclude_pull_requests exclude_pull_requests: Option(Bool),
) -> Effect(WorkflowRun)
pub fn actions_get_workflow_run_attempt(
  token: String,
  owner: String,
  repo: String,
  run_id: Int,
  attempt_number: Int,
  exclude_pull_requests exclude_pull_requests: Option(Bool),
) -> Effect(WorkflowRun)
pub fn actions_get_workflow_run_usage(
  token: String,
  owner: String,
  repo: String,
  run_id: Int,
) -> Effect(WorkflowRunUsage)
pub fn actions_get_workflow_usage(
  token: String,
  owner: String,
  repo: String,
  workflow_id: String,
) -> Effect(WorkflowUsage)
pub fn actions_list_artifacts_for_repo(
  token: String,
  owner: String,
  repo: String,
  per_page per_page: Option(Int),
  page page: Option(Int),
  name name: Option(String),
) -> Effect(Dynamic)
pub fn actions_list_environment_secrets(
  token: String,
  owner: String,
  repo: String,
  environment_name: String,
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(Dynamic)
pub fn actions_list_environment_variables(
  token: String,
  owner: String,
  repo: String,
  environment_name: String,
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(Dynamic)
pub fn actions_list_jobs_for_workflow_run(
  token: String,
  owner: String,
  repo: String,
  run_id: Int,
  filter filter: Option(String),
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(Dynamic)
pub fn actions_list_jobs_for_workflow_run_attempt(
  token: String,
  owner: String,
  repo: String,
  run_id: Int,
  attempt_number: Int,
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(Dynamic)
pub fn actions_list_labels_for_self_hosted_runner_for_org(
  token: String,
  org: String,
  runner_id: Int,
) -> Effect(Dynamic)
pub fn actions_list_labels_for_self_hosted_runner_for_repo(
  token: String,
  owner: String,
  repo: String,
  runner_id: Int,
) -> Effect(Dynamic)
pub fn actions_list_org_secrets(
  token: String,
  org: String,
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(Dynamic)
pub fn actions_list_org_variables(
  token: String,
  org: String,
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(Dynamic)
pub fn actions_list_repo_access_to_self_hosted_runner_group_in_org(
  token: String,
  org: String,
  runner_group_id: Int,
  page page: Option(Int),
  per_page per_page: Option(Int),
) -> Effect(Dynamic)
pub fn actions_list_repo_organization_secrets(
  token: String,
  owner: String,
  repo: String,
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(Dynamic)
pub fn actions_list_repo_organization_variables(
  token: String,
  owner: String,
  repo: String,
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(Dynamic)
pub fn actions_list_repo_secrets(
  token: String,
  owner: String,
  repo: String,
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(Dynamic)
pub fn actions_list_repo_variables(
  token: String,
  owner: String,
  repo: String,
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(Dynamic)
pub fn actions_list_repo_workflows(
  token: String,
  owner: String,
  repo: String,
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(Dynamic)
pub fn actions_list_runner_applications_for_org(
  token: String,
  org: String,
) -> Effect(List(RunnerApplication))
pub fn actions_list_runner_applications_for_repo(
  token: String,
  owner: String,
  repo: String,
) -> Effect(List(RunnerApplication))
pub fn actions_list_selected_repos_for_org_secret(
  token: String,
  org: String,
  secret_name: String,
  page page: Option(Int),
  per_page per_page: Option(Int),
) -> Effect(Dynamic)
pub fn actions_list_selected_repos_for_org_variable(
  token: String,
  org: String,
  name: String,
  page page: Option(Int),
  per_page per_page: Option(Int),
) -> Effect(Dynamic)
pub fn actions_list_selected_repositories_enabled_github_actions_organization(
  token: String,
  org: String,
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(Dynamic)
pub fn actions_list_self_hosted_runner_groups_for_org(
  token: String,
  org: String,
  per_page per_page: Option(Int),
  page page: Option(Int),
  visible_to_repository visible_to_repository: Option(String),
) -> Effect(Dynamic)
pub fn actions_list_self_hosted_runners_for_org(
  token: String,
  org: String,
  name name: Option(String),
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(Dynamic)
pub fn actions_list_self_hosted_runners_for_repo(
  token: String,
  owner: String,
  repo: String,
  name name: Option(String),
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(Dynamic)
pub fn actions_list_self_hosted_runners_in_group_for_org(
  token: String,
  org: String,
  runner_group_id: Int,
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(Dynamic)
pub fn actions_list_workflow_run_artifacts(
  token: String,
  owner: String,
  repo: String,
  run_id: Int,
  per_page per_page: Option(Int),
  page page: Option(Int),
  name name: Option(String),
) -> Effect(Dynamic)
pub fn actions_list_workflow_runs(
  token: String,
  owner: String,
  repo: String,
  workflow_id: String,
  actor actor: Option(String),
  branch branch: Option(String),
  event event: Option(String),
  status status: Option(String),
  per_page per_page: Option(Int),
  page page: Option(Int),
  created created: Option(String),
  exclude_pull_requests exclude_pull_requests: Option(Bool),
  check_suite_id check_suite_id: Option(Int),
  head_sha head_sha: Option(String),
) -> Effect(Dynamic)
pub fn actions_list_workflow_runs_for_repo(
  token: String,
  owner: String,
  repo: String,
  actor actor: Option(String),
  branch branch: Option(String),
  event event: Option(String),
  status status: Option(String),
  per_page per_page: Option(Int),
  page page: Option(Int),
  created created: Option(String),
  exclude_pull_requests exclude_pull_requests: Option(Bool),
  check_suite_id check_suite_id: Option(Int),
  head_sha head_sha: Option(String),
) -> Effect(Dynamic)
pub fn actions_re_run_job_for_workflow_run(
  token: String,
  owner: String,
  repo: String,
  job_id: Int,
  data: BitArray,
) -> Effect(EmptyObject)
pub fn actions_re_run_workflow(
  token: String,
  owner: String,
  repo: String,
  run_id: Int,
  data: BitArray,
) -> Effect(EmptyObject)
pub fn actions_re_run_workflow_failed_jobs(
  token: String,
  owner: String,
  repo: String,
  run_id: Int,
  data: BitArray,
) -> Effect(EmptyObject)
pub fn actions_remove_all_custom_labels_from_self_hosted_runner_for_org(
  token: String,
  org: String,
  runner_id: Int,
) -> Effect(Dynamic)
pub fn actions_remove_all_custom_labels_from_self_hosted_runner_for_repo(
  token: String,
  owner: String,
  repo: String,
  runner_id: Int,
) -> Effect(Dynamic)
pub fn actions_remove_custom_label_from_self_hosted_runner_for_org(
  token: String,
  org: String,
  runner_id: Int,
  name: String,
) -> Effect(Dynamic)
pub fn actions_remove_custom_label_from_self_hosted_runner_for_repo(
  token: String,
  owner: String,
  repo: String,
  runner_id: Int,
  name: String,
) -> Effect(Dynamic)
pub fn actions_remove_repo_access_to_self_hosted_runner_group_in_org(
  token: String,
  org: String,
  runner_group_id: Int,
  repository_id: Int,
) -> Effect(Nil)
pub fn actions_remove_selected_repo_from_org_secret(
  token: String,
  org: String,
  secret_name: String,
  repository_id: Int,
) -> Effect(Nil)
pub fn actions_remove_selected_repo_from_org_variable(
  token: String,
  org: String,
  name: String,
  repository_id: Int,
) -> Effect(Nil)
pub fn actions_remove_self_hosted_runner_from_group_for_org(
  token: String,
  org: String,
  runner_group_id: Int,
  runner_id: Int,
) -> Effect(Nil)
pub fn actions_review_custom_gates_for_run(
  token: String,
  owner: String,
  repo: String,
  run_id: Int,
) -> Effect(Nil)
pub fn actions_review_pending_deployments_for_run(
  token: String,
  owner: String,
  repo: String,
  run_id: Int,
  data: BitArray,
) -> Effect(List(Deployment))
pub fn actions_set_allowed_actions_organization(
  token: String,
  org: String,
  selected_actions: SelectedActions,
) -> Effect(Nil)
pub fn actions_set_allowed_actions_repository(
  token: String,
  owner: String,
  repo: String,
  selected_actions: SelectedActions,
) -> Effect(Nil)
pub fn actions_set_custom_labels_for_self_hosted_runner_for_org(
  token: String,
  org: String,
  runner_id: Int,
  data: BitArray,
) -> Effect(Dynamic)
pub fn actions_set_custom_labels_for_self_hosted_runner_for_repo(
  token: String,
  owner: String,
  repo: String,
  runner_id: Int,
  data: BitArray,
) -> Effect(Dynamic)
pub fn actions_set_custom_oidc_sub_claim_for_repo(
  token: String,
  owner: String,
  repo: String,
  data: BitArray,
) -> Effect(EmptyObject)
pub fn actions_set_github_actions_default_workflow_permissions_organization(
  token: String,
  org: String,
  actions_set_default_workflow_permissions: ActionsSetDefaultWorkflowPermissions,
) -> Effect(Nil)
pub fn actions_set_github_actions_default_workflow_permissions_repository(
  token: String,
  owner: String,
  repo: String,
  actions_set_default_workflow_permissions: ActionsSetDefaultWorkflowPermissions,
) -> Effect(Nil)
pub fn actions_set_github_actions_permissions_organization(
  token: String,
  org: String,
  data: BitArray,
) -> Effect(Nil)
pub fn actions_set_github_actions_permissions_repository(
  token: String,
  owner: String,
  repo: String,
  data: BitArray,
) -> Effect(Nil)
pub fn actions_set_repo_access_to_self_hosted_runner_group_in_org(
  token: String,
  org: String,
  runner_group_id: Int,
  data: BitArray,
) -> Effect(Nil)
pub fn actions_set_selected_repos_for_org_secret(
  token: String,
  org: String,
  secret_name: String,
  data: BitArray,
) -> Effect(Nil)
pub fn actions_set_selected_repos_for_org_variable(
  token: String,
  org: String,
  name: String,
  data: BitArray,
) -> Effect(Nil)
pub fn actions_set_selected_repositories_enabled_github_actions_organization(
  token: String,
  org: String,
  data: BitArray,
) -> Effect(Nil)
pub fn actions_set_self_hosted_runners_in_group_for_org(
  token: String,
  org: String,
  runner_group_id: Int,
  data: BitArray,
) -> Effect(Nil)
pub fn actions_set_workflow_access_to_repository(
  token: String,
  owner: String,
  repo: String,
  actions_workflow_access_to_repository: ActionsWorkflowAccessToRepository,
) -> Effect(Nil)
pub fn actions_update_environment_variable(
  token: String,
  owner: String,
  repo: String,
  environment_name: String,
  name: String,
  data: BitArray,
) -> Effect(Nil)
pub fn actions_update_org_variable(
  token: String,
  org: String,
  name: String,
  data: BitArray,
) -> Effect(Nil)
pub fn actions_update_repo_variable(
  token: String,
  owner: String,
  repo: String,
  name: String,
  data: BitArray,
) -> Effect(Nil)
pub fn actions_update_self_hosted_runner_group_for_org(
  token: String,
  org: String,
  runner_group_id: Int,
  data: BitArray,
) -> Effect(RunnerGroupsOrg)
pub fn activity_check_repo_is_starred_by_authenticated_user(
  token: String,
  owner: String,
  repo: String,
) -> Effect(Nil)
pub fn activity_delete_repo_subscription(
  token: String,
  owner: String,
  repo: String,
) -> Effect(Nil)
pub fn activity_delete_thread_subscription(
  token: String,
  thread_id: Int,
) -> Effect(Nil)
pub fn activity_get_feeds(token: String) -> Effect(Feed)
pub fn activity_get_repo_subscription(
  token: String,
  owner: String,
  repo: String,
) -> Effect(RepositorySubscription)
pub fn activity_get_thread(
  token: String,
  thread_id: Int,
) -> Effect(Thread)
pub fn activity_get_thread_subscription_for_authenticated_user(
  token: String,
  thread_id: Int,
) -> Effect(ThreadSubscription)
pub fn activity_list_events_for_authenticated_user(
  token: String,
  username: String,
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(Event))
pub fn activity_list_notifications_for_authenticated_user(
  token: String,
  all all: Option(Bool),
  participating participating: Option(Bool),
  since since: Option(String),
  before before: Option(String),
  page page: Option(Int),
  per_page per_page: Option(Int),
) -> Effect(List(Thread))
pub fn activity_list_org_events_for_authenticated_user(
  token: String,
  username: String,
  org: String,
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(Event))
pub fn activity_list_public_events(
  token: String,
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(Event))
pub fn activity_list_public_events_for_repo_network(
  token: String,
  owner: String,
  repo: String,
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(Event))
pub fn activity_list_public_events_for_user(
  token: String,
  username: String,
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(Event))
pub fn activity_list_public_org_events(
  token: String,
  org: String,
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(Event))
pub fn activity_list_received_events_for_user(
  token: String,
  username: String,
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(Event))
pub fn activity_list_received_public_events_for_user(
  token: String,
  username: String,
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(Event))
pub fn activity_list_repo_events(
  token: String,
  owner: String,
  repo: String,
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(Event))
pub fn activity_list_repo_notifications_for_authenticated_user(
  token: String,
  owner: String,
  repo: String,
  all all: Option(Bool),
  participating participating: Option(Bool),
  since since: Option(String),
  before before: Option(String),
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(Thread))
pub fn activity_list_repos_starred_by_authenticated_user(
  token: String,
  sort sort: Option(String),
  direction direction: Option(String),
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(Repository))
pub fn activity_list_repos_starred_by_user(
  token: String,
  username: String,
  sort sort: Option(String),
  direction direction: Option(String),
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(Nil)
pub fn activity_list_repos_watched_by_user(
  token: String,
  username: String,
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(MinimalRepository))
pub fn activity_list_stargazers_for_repo(
  token: String,
  owner: String,
  repo: String,
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(Nil)
pub fn activity_list_watched_repos_for_authenticated_user(
  token: String,
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(MinimalRepository))
pub fn activity_list_watchers_for_repo(
  token: String,
  owner: String,
  repo: String,
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(SimpleUser))
pub fn activity_mark_notifications_as_read(
  token: String,
  data: BitArray,
) -> Effect(Dynamic)
pub fn activity_mark_repo_notifications_as_read(
  token: String,
  owner: String,
  repo: String,
  data: BitArray,
) -> Effect(Dynamic)
pub fn activity_mark_thread_as_done(
  token: String,
  thread_id: Int,
) -> Effect(Nil)
pub fn activity_mark_thread_as_read(
  token: String,
  thread_id: Int,
) -> Effect(Nil)
pub fn activity_set_repo_subscription(
  token: String,
  owner: String,
  repo: String,
  data: BitArray,
) -> Effect(RepositorySubscription)
pub fn activity_set_thread_subscription(
  token: String,
  thread_id: Int,
  data: BitArray,
) -> Effect(ThreadSubscription)
pub fn activity_star_repo_for_authenticated_user(
  token: String,
  owner: String,
  repo: String,
) -> Effect(Nil)
pub fn activity_unstar_repo_for_authenticated_user(
  token: String,
  owner: String,
  repo: String,
) -> Effect(Nil)
pub fn api_insights_get_route_stats_by_actor(
  token: String,
  org: String,
  actor_type: String,
  actor_id: Int,
  min_timestamp min_timestamp: String,
  max_timestamp max_timestamp: String,
  page page: Option(Int),
  per_page per_page: Option(Int),
  direction direction: Option(String),
  sort sort: a,
) -> Effect(b)
pub fn api_insights_get_subject_stats(
  token: String,
  org: String,
  min_timestamp min_timestamp: String,
  max_timestamp max_timestamp: String,
  page page: Option(Int),
  per_page per_page: Option(Int),
  direction direction: Option(String),
  sort sort: a,
) -> Effect(b)
pub fn api_insights_get_summary_stats(
  token: String,
  org: String,
  min_timestamp min_timestamp: String,
  max_timestamp max_timestamp: String,
) -> Effect(ApiInsightsSummaryStats)
pub fn api_insights_get_summary_stats_by_actor(
  token: String,
  org: String,
  actor_type: String,
  actor_id: Int,
  min_timestamp min_timestamp: String,
  max_timestamp max_timestamp: String,
) -> Effect(ApiInsightsSummaryStats)
pub fn api_insights_get_summary_stats_by_user(
  token: String,
  org: String,
  user_id: String,
  min_timestamp min_timestamp: String,
  max_timestamp max_timestamp: String,
) -> Effect(ApiInsightsSummaryStats)
pub fn api_insights_get_time_stats(
  token: String,
  org: String,
  min_timestamp min_timestamp: String,
  max_timestamp max_timestamp: String,
  timestamp_increment timestamp_increment: String,
) -> Effect(a)
pub fn api_insights_get_time_stats_by_actor(
  token: String,
  org: String,
  actor_type: String,
  actor_id: Int,
  min_timestamp min_timestamp: String,
  max_timestamp max_timestamp: String,
  timestamp_increment timestamp_increment: String,
) -> Effect(a)
pub fn api_insights_get_time_stats_by_user(
  token: String,
  org: String,
  user_id: String,
  min_timestamp min_timestamp: String,
  max_timestamp max_timestamp: String,
  timestamp_increment timestamp_increment: String,
) -> Effect(a)
pub fn api_insights_get_user_stats(
  token: String,
  org: String,
  user_id: String,
  min_timestamp min_timestamp: String,
  max_timestamp max_timestamp: String,
  page page: Option(Int),
  per_page per_page: Option(Int),
  direction direction: Option(String),
  sort sort: a,
) -> Effect(b)
pub fn apps_add_repo_to_installation_for_authenticated_user(
  token: String,
  installation_id: Int,
  repository_id: Int,
) -> Effect(Nil)
pub fn apps_check_token(
  token: String,
  client_id: String,
  data: BitArray,
) -> Effect(Authorization)
pub fn apps_create_from_manifest(
  token: String,
  code: String,
) -> Effect(Nil)
pub fn apps_create_installation_access_token(
  token: String,
  installation_id: Int,
  data: BitArray,
) -> Effect(InstallationToken)
pub fn apps_delete_authorization(
  token: String,
  client_id: String,
  data: BitArray,
) -> Effect(Nil)
pub fn apps_delete_installation(
  token: String,
  installation_id: Int,
) -> Effect(Nil)
pub fn apps_delete_token(
  token: String,
  client_id: String,
  data: BitArray,
) -> Effect(Nil)
pub fn apps_get_authenticated(
  token: String,
) -> Effect(Integration)
pub fn apps_get_by_slug(
  token: String,
  app_slug: String,
) -> Effect(Integration)
pub fn apps_get_installation(
  token: String,
  installation_id: Int,
) -> Effect(Installation)
pub fn apps_get_org_installation(
  token: String,
  org: String,
) -> Effect(Installation)
pub fn apps_get_repo_installation(
  token: String,
  owner: String,
  repo: String,
) -> Effect(Installation)
pub fn apps_get_subscription_plan_for_account(
  token: String,
  account_id: Int,
) -> Effect(MarketplacePurchase)
pub fn apps_get_subscription_plan_for_account_stubbed(
  token: String,
  account_id: Int,
) -> Effect(MarketplacePurchase)
pub fn apps_get_user_installation(
  token: String,
  username: String,
) -> Effect(Installation)
pub fn apps_get_webhook_config_for_app(
  token: String,
) -> Effect(WebhookConfig)
pub fn apps_get_webhook_delivery(
  token: String,
  delivery_id: Int,
) -> Effect(HookDelivery)
pub fn apps_list_accounts_for_plan(
  token: String,
  plan_id: Int,
  sort sort: Option(String),
  direction direction: Option(String),
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(MarketplacePurchase))
pub fn apps_list_accounts_for_plan_stubbed(
  token: String,
  plan_id: Int,
  sort sort: Option(String),
  direction direction: Option(String),
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(MarketplacePurchase))
pub fn apps_list_installation_repos_for_authenticated_user(
  token: String,
  installation_id: Int,
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(Dynamic)
pub fn apps_list_installation_requests_for_authenticated_app(
  token: String,
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(IntegrationInstallationRequest))
pub fn apps_list_installations(
  token: String,
  per_page per_page: Option(Int),
  page page: Option(Int),
  since since: Option(String),
  outdated outdated: Option(String),
) -> Effect(List(Installation))
pub fn apps_list_installations_for_authenticated_user(
  token: String,
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(Dynamic)
pub fn apps_list_plans(
  token: String,
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(MarketplaceListingPlan))
pub fn apps_list_plans_stubbed(
  token: String,
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(MarketplaceListingPlan))
pub fn apps_list_repos_accessible_to_installation(
  token: String,
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(Dynamic)
pub fn apps_list_subscriptions_for_authenticated_user(
  token: String,
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(UserMarketplacePurchase))
pub fn apps_list_subscriptions_for_authenticated_user_stubbed(
  token: String,
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(UserMarketplacePurchase))
pub fn apps_list_webhook_deliveries(
  token: String,
  per_page per_page: Option(Int),
  cursor cursor: Option(String),
) -> Effect(List(HookDeliveryItem))
pub fn apps_redeliver_webhook_delivery(
  token: String,
  delivery_id: Int,
) -> Effect(Dynamic)
pub fn apps_remove_repo_from_installation_for_authenticated_user(
  token: String,
  installation_id: Int,
  repository_id: Int,
) -> Effect(Nil)
pub fn apps_reset_token(
  token: String,
  client_id: String,
  data: BitArray,
) -> Effect(Authorization)
pub fn apps_revoke_installation_access_token(
  token: String,
) -> Effect(Nil)
pub fn apps_scope_token(
  token: String,
  client_id: String,
  data: BitArray,
) -> Effect(Authorization)
pub fn apps_suspend_installation(
  token: String,
  installation_id: Int,
) -> Effect(Nil)
pub fn apps_unsuspend_installation(
  token: String,
  installation_id: Int,
) -> Effect(Nil)
pub fn apps_update_webhook_config_for_app(
  token: String,
  data: BitArray,
) -> Effect(WebhookConfig)
pub fn auth_redirect(
  redirect: Uri,
) -> Result(#(String, String), String)
pub fn authenticate(app: App) -> Effect(String)
pub fn billing_get_github_actions_billing_org(
  token: String,
  org: String,
) -> Effect(ActionsBillingUsage)
pub fn billing_get_github_actions_billing_user(
  token: String,
  username: String,
) -> Effect(ActionsBillingUsage)
pub fn billing_get_github_packages_billing_org(
  token: String,
  org: String,
) -> Effect(PackagesBillingUsage)
pub fn billing_get_github_packages_billing_user(
  token: String,
  username: String,
) -> Effect(PackagesBillingUsage)
pub fn billing_get_shared_storage_billing_org(
  token: String,
  org: String,
) -> Effect(CombinedBillingUsage)
pub fn billing_get_shared_storage_billing_user(
  token: String,
  username: String,
) -> Effect(CombinedBillingUsage)
pub fn checks_create(
  token: String,
  owner: String,
  repo: String,
  data: BitArray,
) -> Effect(CheckRun)
pub fn checks_create_suite(
  token: String,
  owner: String,
  repo: String,
  data: BitArray,
) -> Effect(CheckSuite)
pub fn checks_get(
  token: String,
  owner: String,
  repo: String,
  check_run_id: Int,
) -> Effect(CheckRun)
pub fn checks_get_suite(
  token: String,
  owner: String,
  repo: String,
  check_suite_id: Int,
) -> Effect(CheckSuite)
pub fn checks_list_annotations(
  token: String,
  owner: String,
  repo: String,
  check_run_id: Int,
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(CheckAnnotation))
pub fn checks_list_for_ref(
  token: String,
  owner: String,
  repo: String,
  ref: String,
  check_name check_name: Option(String),
  status status: Option(String),
  filter filter: Option(String),
  per_page per_page: Option(Int),
  page page: Option(Int),
  app_id app_id: Option(Int),
) -> Effect(Dynamic)
pub fn checks_list_for_suite(
  token: String,
  owner: String,
  repo: String,
  check_suite_id: Int,
  check_name check_name: Option(String),
  status status: Option(String),
  filter filter: Option(String),
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(Dynamic)
pub fn checks_list_suites_for_ref(
  token: String,
  owner: String,
  repo: String,
  ref: String,
  app_id app_id: Option(Int),
  check_name check_name: Option(String),
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(Dynamic)
pub fn checks_rerequest_run(
  token: String,
  owner: String,
  repo: String,
  check_run_id: Int,
) -> Effect(EmptyObject)
pub fn checks_rerequest_suite(
  token: String,
  owner: String,
  repo: String,
  check_suite_id: Int,
) -> Effect(EmptyObject)
pub fn checks_set_suites_preferences(
  token: String,
  owner: String,
  repo: String,
  data: BitArray,
) -> Effect(CheckSuitePreference)
pub fn checks_update(
  token: String,
  owner: String,
  repo: String,
  check_run_id: Int,
  data: BitArray,
) -> Effect(CheckRun)
pub fn classroom_get_a_classroom(
  token: String,
  classroom_id: Int,
) -> Effect(Classroom)
pub fn classroom_get_an_assignment(
  token: String,
  assignment_id: Int,
) -> Effect(ClassroomAssignment)
pub fn classroom_get_assignment_grades(
  token: String,
  assignment_id: Int,
) -> Effect(List(ClassroomAssignmentGrade))
pub fn classroom_list_accepted_assignments_for_an_assignment(
  token: String,
  assignment_id: Int,
  page page: Option(Int),
  per_page per_page: Option(Int),
) -> Effect(List(ClassroomAcceptedAssignment))
pub fn classroom_list_assignments_for_a_classroom(
  token: String,
  classroom_id: Int,
  page page: Option(Int),
  per_page per_page: Option(Int),
) -> Effect(List(SimpleClassroomAssignment))
pub fn classroom_list_classrooms(
  token: String,
  page page: Option(Int),
  per_page per_page: Option(Int),
) -> Effect(List(SimpleClassroom))
pub fn code_scanning_create_variant_analysis(
  token: String,
  owner: String,
  repo: String,
  data: BitArray,
) -> Effect(CodeScanningVariantAnalysis)
pub fn code_scanning_delete_analysis(
  token: String,
  owner: String,
  repo: String,
  analysis_id: Int,
  confirm_delete confirm_delete: Option(String),
) -> Effect(CodeScanningAnalysisDeletion)
pub fn code_scanning_delete_codeql_database(
  token: String,
  owner: String,
  repo: String,
  language: String,
) -> Effect(Nil)
pub fn code_scanning_get_alert(
  token: String,
  owner: String,
  repo: String,
  alert_number: Int,
) -> Effect(CodeScanningAlert)
pub fn code_scanning_get_analysis(
  token: String,
  owner: String,
  repo: String,
  analysis_id: Int,
) -> Effect(CodeScanningAnalysis)
pub fn code_scanning_get_codeql_database(
  token: String,
  owner: String,
  repo: String,
  language: String,
) -> Effect(CodeScanningCodeqlDatabase)
pub fn code_scanning_get_default_setup(
  token: String,
  owner: String,
  repo: String,
) -> Effect(CodeScanningDefaultSetup)
pub fn code_scanning_get_sarif(
  token: String,
  owner: String,
  repo: String,
  sarif_id: String,
) -> Effect(CodeScanningSarifsStatus)
pub fn code_scanning_get_variant_analysis(
  token: String,
  owner: String,
  repo: String,
  codeql_variant_analysis_id: Int,
) -> Effect(CodeScanningVariantAnalysis)
pub fn code_scanning_get_variant_analysis_repo_task(
  token: String,
  owner: String,
  repo: String,
  codeql_variant_analysis_id: Int,
  repo_owner: String,
  repo_name: String,
) -> Effect(CodeScanningVariantAnalysisRepoTask)
pub fn code_scanning_list_alert_instances(
  token: String,
  owner: String,
  repo: String,
  alert_number: Int,
  page page: Option(Int),
  per_page per_page: Option(Int),
  ref ref: Option(String),
  pr pr: Option(Int),
) -> Effect(List(CodeScanningAlertInstance))
pub fn code_scanning_list_alerts_for_org(
  token: String,
  org: String,
  tool_name tool_name: Option(String),
  tool_guid tool_guid: Option(String),
  before before: Option(String),
  after after: Option(String),
  page page: Option(Int),
  per_page per_page: Option(Int),
  direction direction: Option(String),
  state state: Option(String),
  sort sort: Option(String),
  severity severity: Option(String),
) -> Effect(List(CodeScanningOrganizationAlertItems))
pub fn code_scanning_list_alerts_for_repo(
  token: String,
  owner: String,
  repo: String,
  tool_name tool_name: Option(String),
  tool_guid tool_guid: Option(String),
  page page: Option(Int),
  per_page per_page: Option(Int),
  ref ref: Option(String),
  pr pr: Option(Int),
  direction direction: Option(String),
  before before: Option(String),
  after after: Option(String),
  sort sort: Option(String),
  state state: Option(String),
  severity severity: Option(String),
) -> Effect(List(CodeScanningAlertItems))
pub fn code_scanning_list_codeql_databases(
  token: String,
  owner: String,
  repo: String,
) -> Effect(List(CodeScanningCodeqlDatabase))
pub fn code_scanning_list_recent_analyses(
  token: String,
  owner: String,
  repo: String,
  tool_name tool_name: Option(String),
  tool_guid tool_guid: Option(String),
  page page: Option(Int),
  per_page per_page: Option(Int),
  pr pr: Option(Int),
  ref ref: Option(String),
  sarif_id sarif_id: Option(String),
  direction direction: Option(String),
  sort sort: Option(String),
) -> Effect(List(CodeScanningAnalysis))
pub fn code_scanning_update_alert(
  token: String,
  owner: String,
  repo: String,
  alert_number: Int,
  data: BitArray,
) -> Effect(CodeScanningAlert)
pub fn code_scanning_update_default_setup(
  token: String,
  owner: String,
  repo: String,
  code_scanning_default_setup_update: CodeScanningDefaultSetupUpdate,
) -> Effect(EmptyObject)
pub fn code_scanning_upload_sarif(
  token: String,
  owner: String,
  repo: String,
  data: BitArray,
) -> Effect(CodeScanningSarifsReceipt)
pub fn code_security_attach_configuration(
  token: String,
  org: String,
  configuration_id: Int,
  data: BitArray,
) -> Effect(Dynamic)
pub fn code_security_create_configuration(
  token: String,
  org: String,
  data: BitArray,
) -> Effect(CodeSecurityConfiguration)
pub fn code_security_delete_configuration(
  token: String,
  org: String,
  configuration_id: Int,
) -> Effect(Nil)
pub fn code_security_detach_configuration(
  token: String,
  org: String,
  data: BitArray,
) -> Effect(Nil)
pub fn code_security_get_configuration(
  token: String,
  org: String,
  configuration_id: Int,
) -> Effect(CodeSecurityConfiguration)
pub fn code_security_get_configuration_for_repository(
  token: String,
  owner: String,
  repo: String,
) -> Effect(Nil)
pub fn code_security_get_configurations_for_org(
  token: String,
  org: String,
  target_type target_type: Option(String),
  per_page per_page: Option(Int),
  before before: Option(String),
  after after: Option(String),
) -> Effect(List(CodeSecurityConfiguration))
pub fn code_security_get_default_configurations(
  token: String,
  org: String,
) -> Effect(a)
pub fn code_security_get_repositories_for_configuration(
  token: String,
  org: String,
  configuration_id: Int,
  per_page per_page: Option(Int),
  before before: Option(String),
  after after: Option(String),
  status status: Option(String),
) -> Effect(List(CodeSecurityConfigurationRepositories))
pub fn code_security_set_configuration_as_default(
  token: String,
  org: String,
  configuration_id: Int,
  data: BitArray,
) -> Effect(Dynamic)
pub fn code_security_update_configuration(
  token: String,
  org: String,
  configuration_id: Int,
  data: BitArray,
) -> Effect(Nil)
pub fn codes_of_conduct_get_all_codes_of_conduct(
  token: String,
) -> Effect(List(CodeOfConduct))
pub fn codes_of_conduct_get_conduct_code(
  token: String,
  key: String,
) -> Effect(CodeOfConduct)
pub fn codespaces_add_repository_for_secret_for_authenticated_user(
  token: String,
  secret_name: String,
  repository_id: Int,
) -> Effect(Nil)
pub fn codespaces_add_selected_repo_to_org_secret(
  token: String,
  org: String,
  secret_name: String,
  repository_id: Int,
) -> Effect(Nil)
pub fn codespaces_check_permissions_for_devcontainer(
  token: String,
  owner: String,
  repo: String,
  ref ref: String,
  devcontainer_path devcontainer_path: String,
) -> Effect(CodespacesPermissionsCheckForDevcontainer)
pub fn codespaces_codespace_machines_for_authenticated_user(
  token: String,
  codespace_name: String,
) -> Effect(Dynamic)
pub fn codespaces_create_for_authenticated_user(
  token: String,
) -> Effect(Codespace)
pub fn codespaces_create_or_update_org_secret(
  token: String,
  org: String,
  secret_name: String,
  data: BitArray,
) -> Effect(Nil)
pub fn codespaces_create_or_update_repo_secret(
  token: String,
  owner: String,
  repo: String,
  secret_name: String,
  data: BitArray,
) -> Effect(Nil)
pub fn codespaces_create_or_update_secret_for_authenticated_user(
  token: String,
  secret_name: String,
  data: BitArray,
) -> Effect(Nil)
pub fn codespaces_create_with_pr_for_authenticated_user(
  token: String,
  owner: String,
  repo: String,
  pull_number: Int,
  data: BitArray,
) -> Effect(Codespace)
pub fn codespaces_create_with_repo_for_authenticated_user(
  token: String,
  owner: String,
  repo: String,
  data: BitArray,
) -> Effect(Codespace)
pub fn codespaces_delete_codespaces_access_users(
  token: String,
  org: String,
  data: BitArray,
) -> Effect(Nil)
pub fn codespaces_delete_for_authenticated_user(
  token: String,
  codespace_name: String,
) -> Effect(Dynamic)
pub fn codespaces_delete_from_organization(
  token: String,
  org: String,
  username: String,
  codespace_name: String,
) -> Effect(Dynamic)
pub fn codespaces_delete_org_secret(
  token: String,
  org: String,
  secret_name: String,
) -> Effect(Nil)
pub fn codespaces_delete_repo_secret(
  token: String,
  owner: String,
  repo: String,
  secret_name: String,
) -> Effect(Nil)
pub fn codespaces_delete_secret_for_authenticated_user(
  token: String,
  secret_name: String,
) -> Effect(Nil)
pub fn codespaces_export_for_authenticated_user(
  token: String,
  codespace_name: String,
) -> Effect(CodespaceExportDetails)
pub fn codespaces_get_codespaces_for_user_in_org(
  token: String,
  org: String,
  username: String,
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(Dynamic)
pub fn codespaces_get_export_details_for_authenticated_user(
  token: String,
  codespace_name: String,
  export_id: String,
) -> Effect(CodespaceExportDetails)
pub fn codespaces_get_for_authenticated_user(
  token: String,
  codespace_name: String,
) -> Effect(Codespace)
pub fn codespaces_get_org_public_key(
  token: String,
  org: String,
) -> Effect(CodespacesPublicKey)
pub fn codespaces_get_org_secret(
  token: String,
  org: String,
  secret_name: String,
) -> Effect(CodespacesOrgSecret)
pub fn codespaces_get_public_key_for_authenticated_user(
  token: String,
) -> Effect(CodespacesUserPublicKey)
pub fn codespaces_get_repo_public_key(
  token: String,
  owner: String,
  repo: String,
) -> Effect(CodespacesPublicKey)
pub fn codespaces_get_repo_secret(
  token: String,
  owner: String,
  repo: String,
  secret_name: String,
) -> Effect(RepoCodespacesSecret)
pub fn codespaces_get_secret_for_authenticated_user(
  token: String,
  secret_name: String,
) -> Effect(CodespacesSecret)
pub fn codespaces_list_devcontainers_in_repository_for_authenticated_user(
  token: String,
  owner: String,
  repo: String,
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(Dynamic)
pub fn codespaces_list_for_authenticated_user(
  token: String,
  per_page per_page: Option(Int),
  page page: Option(Int),
  repository_id repository_id: Option(Int),
) -> Effect(Dynamic)
pub fn codespaces_list_in_organization(
  token: String,
  org: String,
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(Dynamic)
pub fn codespaces_list_in_repository_for_authenticated_user(
  token: String,
  owner: String,
  repo: String,
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(Dynamic)
pub fn codespaces_list_org_secrets(
  token: String,
  org: String,
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(Dynamic)
pub fn codespaces_list_repo_secrets(
  token: String,
  owner: String,
  repo: String,
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(Dynamic)
pub fn codespaces_list_repositories_for_secret_for_authenticated_user(
  token: String,
  secret_name: String,
) -> Effect(Dynamic)
pub fn codespaces_list_secrets_for_authenticated_user(
  token: String,
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(Dynamic)
pub fn codespaces_list_selected_repos_for_org_secret(
  token: String,
  org: String,
  secret_name: String,
  page page: Option(Int),
  per_page per_page: Option(Int),
) -> Effect(Dynamic)
pub fn codespaces_pre_flight_with_repo_for_authenticated_user(
  token: String,
  owner: String,
  repo: String,
  ref ref: Option(String),
  client_ip client_ip: Option(String),
) -> Effect(Dynamic)
pub fn codespaces_publish_for_authenticated_user(
  token: String,
  codespace_name: String,
  data: BitArray,
) -> Effect(CodespaceWithFullRepository)
pub fn codespaces_remove_repository_for_secret_for_authenticated_user(
  token: String,
  secret_name: String,
  repository_id: Int,
) -> Effect(Nil)
pub fn codespaces_remove_selected_repo_from_org_secret(
  token: String,
  org: String,
  secret_name: String,
  repository_id: Int,
) -> Effect(Nil)
pub fn codespaces_repo_machines_for_authenticated_user(
  token: String,
  owner: String,
  repo: String,
  location location: Option(String),
  client_ip client_ip: Option(String),
  ref ref: Option(String),
) -> Effect(Dynamic)
pub fn codespaces_set_codespaces_access(
  token: String,
  org: String,
  data: BitArray,
) -> Effect(Nil)
pub fn codespaces_set_codespaces_access_users(
  token: String,
  org: String,
  data: BitArray,
) -> Effect(Nil)
pub fn codespaces_set_repositories_for_secret_for_authenticated_user(
  token: String,
  secret_name: String,
  data: BitArray,
) -> Effect(Nil)
pub fn codespaces_set_selected_repos_for_org_secret(
  token: String,
  org: String,
  secret_name: String,
  data: BitArray,
) -> Effect(Nil)
pub fn codespaces_start_for_authenticated_user(
  token: String,
  codespace_name: String,
) -> Effect(Codespace)
pub fn codespaces_stop_for_authenticated_user(
  token: String,
  codespace_name: String,
) -> Effect(Codespace)
pub fn codespaces_stop_in_organization(
  token: String,
  org: String,
  username: String,
  codespace_name: String,
) -> Effect(Codespace)
pub fn codespaces_update_for_authenticated_user(
  token: String,
  codespace_name: String,
  data: BitArray,
) -> Effect(Codespace)
pub fn copilot_add_copilot_seats_for_teams(
  token: String,
  org: String,
  data: BitArray,
) -> Effect(Dynamic)
pub fn copilot_add_copilot_seats_for_users(
  token: String,
  org: String,
  data: BitArray,
) -> Effect(Dynamic)
pub fn copilot_cancel_copilot_seat_assignment_for_teams(
  token: String,
  org: String,
  data: BitArray,
) -> Effect(Dynamic)
pub fn copilot_cancel_copilot_seat_assignment_for_users(
  token: String,
  org: String,
  data: BitArray,
) -> Effect(Dynamic)
pub fn copilot_copilot_metrics_for_enterprise(
  token: String,
  enterprise: String,
  since since: Option(String),
  until until: Option(String),
  page page: Option(Int),
  per_page per_page: Option(Int),
) -> Effect(List(CopilotUsageMetricsDay))
pub fn copilot_copilot_metrics_for_enterprise_team(
  token: String,
  enterprise: String,
  team_slug: String,
  since since: Option(String),
  until until: Option(String),
  page page: Option(Int),
  per_page per_page: Option(Int),
) -> Effect(List(CopilotUsageMetricsDay))
pub fn copilot_copilot_metrics_for_organization(
  token: String,
  org: String,
  since since: Option(String),
  until until: Option(String),
  page page: Option(Int),
  per_page per_page: Option(Int),
) -> Effect(List(CopilotUsageMetricsDay))
pub fn copilot_copilot_metrics_for_team(
  token: String,
  org: String,
  team_slug: String,
  since since: Option(String),
  until until: Option(String),
  page page: Option(Int),
  per_page per_page: Option(Int),
) -> Effect(List(CopilotUsageMetricsDay))
pub fn copilot_get_copilot_organization_details(
  token: String,
  org: String,
) -> Effect(CopilotOrganizationDetails)
pub fn copilot_get_copilot_seat_details_for_user(
  token: String,
  org: String,
  username: String,
) -> Effect(CopilotSeatDetails)
pub fn copilot_list_copilot_seats(
  token: String,
  org: String,
  page page: Option(Int),
  per_page per_page: Option(Int),
) -> Effect(Dynamic)
pub fn copilot_list_copilot_seats_for_enterprise(
  token: String,
  enterprise: String,
  page page: Option(Int),
  per_page per_page: Option(Int),
) -> Effect(Dynamic)
pub fn copilot_usage_metrics_for_enterprise(
  token: String,
  enterprise: String,
  since since: Option(String),
  until until: Option(String),
  page page: Option(Int),
  per_page per_page: Option(Int),
) -> Effect(List(CopilotUsageMetrics))
pub fn copilot_usage_metrics_for_enterprise_team(
  token: String,
  enterprise: String,
  team_slug: String,
  since since: Option(String),
  until until: Option(String),
  page page: Option(Int),
  per_page per_page: Option(Int),
) -> Effect(List(CopilotUsageMetrics))
pub fn copilot_usage_metrics_for_org(
  token: String,
  org: String,
  since since: Option(String),
  until until: Option(String),
  page page: Option(Int),
  per_page per_page: Option(Int),
) -> Effect(List(CopilotUsageMetrics))
pub fn copilot_usage_metrics_for_team(
  token: String,
  org: String,
  team_slug: String,
  since since: Option(String),
  until until: Option(String),
  page page: Option(Int),
  per_page per_page: Option(Int),
) -> Effect(List(CopilotUsageMetrics))
pub fn dependabot_add_selected_repo_to_org_secret(
  token: String,
  org: String,
  secret_name: String,
  repository_id: Int,
) -> Effect(Nil)
pub fn dependabot_create_or_update_org_secret(
  token: String,
  org: String,
  secret_name: String,
  data: BitArray,
) -> Effect(Nil)
pub fn dependabot_create_or_update_repo_secret(
  token: String,
  owner: String,
  repo: String,
  secret_name: String,
  data: BitArray,
) -> Effect(Nil)
pub fn dependabot_delete_org_secret(
  token: String,
  org: String,
  secret_name: String,
) -> Effect(Nil)
pub fn dependabot_delete_repo_secret(
  token: String,
  owner: String,
  repo: String,
  secret_name: String,
) -> Effect(Nil)
pub fn dependabot_get_alert(
  token: String,
  owner: String,
  repo: String,
  alert_number: Int,
) -> Effect(DependabotAlert)
pub fn dependabot_get_org_public_key(
  token: String,
  org: String,
) -> Effect(DependabotPublicKey)
pub fn dependabot_get_org_secret(
  token: String,
  org: String,
  secret_name: String,
) -> Effect(OrganizationDependabotSecret)
pub fn dependabot_get_repo_public_key(
  token: String,
  owner: String,
  repo: String,
) -> Effect(DependabotPublicKey)
pub fn dependabot_get_repo_secret(
  token: String,
  owner: String,
  repo: String,
  secret_name: String,
) -> Effect(DependabotSecret)
pub fn dependabot_list_alerts_for_enterprise(
  token: String,
  enterprise: String,
  state state: Option(String),
  severity severity: Option(String),
  ecosystem ecosystem: Option(String),
  package package: Option(String),
  scope scope: Option(String),
  sort sort: Option(String),
  direction direction: Option(String),
  before before: Option(String),
  after after: Option(String),
  first first: Option(Int),
  last last: Option(Int),
  per_page per_page: Option(Int),
) -> Effect(List(DependabotAlertWithRepository))
pub fn dependabot_list_alerts_for_org(
  token: String,
  org: String,
  state state: Option(String),
  severity severity: Option(String),
  ecosystem ecosystem: Option(String),
  package package: Option(String),
  scope scope: Option(String),
  sort sort: Option(String),
  direction direction: Option(String),
  before before: Option(String),
  after after: Option(String),
  first first: Option(Int),
  last last: Option(Int),
  per_page per_page: Option(Int),
) -> Effect(List(DependabotAlertWithRepository))
pub fn dependabot_list_alerts_for_repo(
  token: String,
  owner: String,
  repo: String,
  state state: Option(String),
  severity severity: Option(String),
  ecosystem ecosystem: Option(String),
  package package: Option(String),
  manifest manifest: Option(String),
  scope scope: Option(String),
  sort sort: Option(String),
  direction direction: Option(String),
  page page: Option(Int),
  per_page per_page: Option(Int),
  before before: Option(String),
  after after: Option(String),
  first first: Option(Int),
  last last: Option(Int),
) -> Effect(List(DependabotAlert))
pub fn dependabot_list_org_secrets(
  token: String,
  org: String,
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(Dynamic)
pub fn dependabot_list_repo_secrets(
  token: String,
  owner: String,
  repo: String,
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(Dynamic)
pub fn dependabot_list_selected_repos_for_org_secret(
  token: String,
  org: String,
  secret_name: String,
  page page: Option(Int),
  per_page per_page: Option(Int),
) -> Effect(Dynamic)
pub fn dependabot_remove_selected_repo_from_org_secret(
  token: String,
  org: String,
  secret_name: String,
  repository_id: Int,
) -> Effect(Nil)
pub fn dependabot_set_selected_repos_for_org_secret(
  token: String,
  org: String,
  secret_name: String,
  data: BitArray,
) -> Effect(Nil)
pub fn dependabot_update_alert(
  token: String,
  owner: String,
  repo: String,
  alert_number: Int,
  data: BitArray,
) -> Effect(DependabotAlert)
pub fn dependency_graph_create_repository_snapshot(
  token: String,
  owner: String,
  repo: String,
  snapshot: Snapshot,
) -> Effect(Dynamic)
pub fn dependency_graph_diff_range(
  token: String,
  owner: String,
  repo: String,
  basehead: String,
  name name: Option(String),
) -> Effect(a)
pub fn dependency_graph_export_sbom(
  token: String,
  owner: String,
  repo: String,
) -> Effect(DependencyGraphSpdxSbom)
pub fn do_authenticate(app: App, state: String) -> Effect(String)
pub fn emojis_get(token: String) -> Effect(Dynamic)
pub fn gists_check_is_starred(
  token: String,
  gist_id: String,
) -> Effect(Nil)
pub fn gists_create(
  token: String,
  data: BitArray,
) -> Effect(GistSimple)
pub fn gists_create_comment(
  token: String,
  gist_id: String,
  data: BitArray,
) -> Effect(GistComment)
pub fn gists_delete(
  token: String,
  gist_id: String,
) -> Effect(Nil)
pub fn gists_delete_comment(
  token: String,
  gist_id: String,
  comment_id: Int,
) -> Effect(Nil)
pub fn gists_fork(
  token: String,
  gist_id: String,
) -> Effect(BaseGist)
pub fn gists_get(
  token: String,
  gist_id: String,
) -> Effect(GistSimple)
pub fn gists_get_comment(
  token: String,
  gist_id: String,
  comment_id: Int,
) -> Effect(GistComment)
pub fn gists_get_revision(
  token: String,
  gist_id: String,
  sha: String,
) -> Effect(GistSimple)
pub fn gists_list(
  token: String,
  since since: Option(String),
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(BaseGist))
pub fn gists_list_comments(
  token: String,
  gist_id: String,
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(GistComment))
pub fn gists_list_commits(
  token: String,
  gist_id: String,
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(GistCommit))
pub fn gists_list_for_user(
  token: String,
  username: String,
  since since: Option(String),
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(BaseGist))
pub fn gists_list_forks(
  token: String,
  gist_id: String,
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(GistSimple))
pub fn gists_list_public(
  token: String,
  since since: Option(String),
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(BaseGist))
pub fn gists_list_starred(
  token: String,
  since since: Option(String),
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(BaseGist))
pub fn gists_star(token: String, gist_id: String) -> Effect(Nil)
pub fn gists_unstar(
  token: String,
  gist_id: String,
) -> Effect(Nil)
pub fn gists_update(
  token: String,
  gist_id: String,
  data: BitArray,
) -> Effect(GistSimple)
pub fn gists_update_comment(
  token: String,
  gist_id: String,
  comment_id: Int,
  data: BitArray,
) -> Effect(GistComment)
pub fn git_create_blob(
  token: String,
  owner: String,
  repo: String,
  data: BitArray,
) -> Effect(ShortBlob)
pub fn git_create_commit(
  token: String,
  owner: String,
  repo: String,
  data: BitArray,
) -> Effect(GitCommit)
pub fn git_create_ref(
  token: String,
  owner: String,
  repo: String,
  data: BitArray,
) -> Effect(GitRef)
pub fn git_create_tag(
  token: String,
  owner: String,
  repo: String,
  data: BitArray,
) -> Effect(GitTag)
pub fn git_create_tree(
  token: String,
  owner: String,
  repo: String,
  data: BitArray,
) -> Effect(GitTree)
pub fn git_delete_ref(
  token: String,
  owner: String,
  repo: String,
  ref: String,
) -> Effect(Nil)
pub fn git_get_blob(
  token: String,
  owner: String,
  repo: String,
  file_sha: String,
) -> Effect(Blob)
pub fn git_get_commit(
  token: String,
  owner: String,
  repo: String,
  commit_sha: String,
) -> Effect(GitCommit)
pub fn git_get_ref(
  token: String,
  owner: String,
  repo: String,
  ref: String,
) -> Effect(GitRef)
pub fn git_get_tag(
  token: String,
  owner: String,
  repo: String,
  tag_sha: String,
) -> Effect(GitTag)
pub fn git_get_tree(
  token: String,
  owner: String,
  repo: String,
  tree_sha: String,
  recursive recursive: Option(String),
) -> Effect(GitTree)
pub fn git_list_matching_refs(
  token: String,
  owner: String,
  repo: String,
  ref: String,
) -> Effect(List(GitRef))
pub fn git_update_ref(
  token: String,
  owner: String,
  repo: String,
  ref: String,
  data: BitArray,
) -> Effect(GitRef)
pub fn gitignore_get_all_templates(token: String) -> Effect(Nil)
pub fn gitignore_get_template(
  token: String,
  name: String,
) -> Effect(GitignoreTemplate)
pub fn interactions_get_restrictions_for_authenticated_user(
  token: String,
) -> Effect(Nil)
pub fn interactions_get_restrictions_for_org(
  token: String,
  org: String,
) -> Effect(Nil)
pub fn interactions_get_restrictions_for_repo(
  token: String,
  owner: String,
  repo: String,
) -> Effect(Nil)
pub fn interactions_remove_restrictions_for_authenticated_user(
  token: String,
) -> Effect(Nil)
pub fn interactions_remove_restrictions_for_org(
  token: String,
  org: String,
) -> Effect(Nil)
pub fn interactions_remove_restrictions_for_repo(
  token: String,
  owner: String,
  repo: String,
) -> Effect(Nil)
pub fn interactions_set_restrictions_for_authenticated_user(
  token: String,
  interaction_limit: InteractionLimit,
) -> Effect(InteractionLimitResponse)
pub fn interactions_set_restrictions_for_org(
  token: String,
  org: String,
  interaction_limit: InteractionLimit,
) -> Effect(InteractionLimitResponse)
pub fn interactions_set_restrictions_for_repo(
  token: String,
  owner: String,
  repo: String,
  interaction_limit: InteractionLimit,
) -> Effect(InteractionLimitResponse)
pub fn issues_add_assignees(
  token: String,
  owner: String,
  repo: String,
  issue_number: Int,
  data: BitArray,
) -> Effect(Issue)
pub fn issues_add_labels(
  token: String,
  owner: String,
  repo: String,
  issue_number: Int,
) -> Effect(List(Label))
pub fn issues_check_user_can_be_assigned(
  token: String,
  owner: String,
  repo: String,
  assignee: String,
) -> Effect(Nil)
pub fn issues_check_user_can_be_assigned_to_issue(
  token: String,
  owner: String,
  repo: String,
  issue_number: Int,
  assignee: String,
) -> Effect(Nil)
pub fn issues_create(
  token: String,
  owner: String,
  repo: String,
  data: BitArray,
) -> Effect(Issue)
pub fn issues_create_comment(
  token: String,
  owner: String,
  repo: String,
  issue_number: Int,
  data: BitArray,
) -> Effect(IssueComment)
pub fn issues_create_label(
  token: String,
  owner: String,
  repo: String,
  data: BitArray,
) -> Effect(Label)
pub fn issues_create_milestone(
  token: String,
  owner: String,
  repo: String,
  data: BitArray,
) -> Effect(Milestone)
pub fn issues_delete_comment(
  token: String,
  owner: String,
  repo: String,
  comment_id: Int,
) -> Effect(Nil)
pub fn issues_delete_label(
  token: String,
  owner: String,
  repo: String,
  name: String,
) -> Effect(Nil)
pub fn issues_delete_milestone(
  token: String,
  owner: String,
  repo: String,
  milestone_number: Int,
) -> Effect(Nil)
pub fn issues_get(
  token: String,
  owner: String,
  repo: String,
  issue_number: Int,
) -> Effect(Issue)
pub fn issues_get_comment(
  token: String,
  owner: String,
  repo: String,
  comment_id: Int,
) -> Effect(IssueComment)
pub fn issues_get_event(
  token: String,
  owner: String,
  repo: String,
  event_id: Int,
) -> Effect(IssueEvent)
pub fn issues_get_label(
  token: String,
  owner: String,
  repo: String,
  name: String,
) -> Effect(Label)
pub fn issues_get_milestone(
  token: String,
  owner: String,
  repo: String,
  milestone_number: Int,
) -> Effect(Milestone)
pub fn issues_list(
  token: String,
  filter filter: Option(String),
  state state: Option(String),
  labels labels: Option(String),
  sort sort: Option(String),
  direction direction: Option(String),
  since since: Option(String),
  collab collab: Option(Bool),
  orgs orgs: Option(Bool),
  owned owned: Option(Bool),
  pulls pulls: Option(Bool),
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(Issue))
pub fn issues_list_assignees(
  token: String,
  owner: String,
  repo: String,
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(SimpleUser))
pub fn issues_list_comments(
  token: String,
  owner: String,
  repo: String,
  issue_number: Int,
  since since: Option(String),
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(IssueComment))
pub fn issues_list_comments_for_repo(
  token: String,
  owner: String,
  repo: String,
  sort sort: Option(String),
  direction direction: Option(String),
  since since: Option(String),
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(IssueComment))
pub fn issues_list_events(
  token: String,
  owner: String,
  repo: String,
  issue_number: Int,
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(a))
pub fn issues_list_events_for_repo(
  token: String,
  owner: String,
  repo: String,
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(IssueEvent))
pub fn issues_list_events_for_timeline(
  token: String,
  owner: String,
  repo: String,
  issue_number: Int,
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(TimelineIssueEvents))
pub fn issues_list_for_authenticated_user(
  token: String,
  filter filter: Option(String),
  state state: Option(String),
  labels labels: Option(String),
  sort sort: Option(String),
  direction direction: Option(String),
  since since: Option(String),
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(Issue))
pub fn issues_list_for_org(
  token: String,
  org: String,
  filter filter: Option(String),
  state state: Option(String),
  labels labels: Option(String),
  sort sort: Option(String),
  direction direction: Option(String),
  since since: Option(String),
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(Issue))
pub fn issues_list_for_repo(
  token: String,
  owner: String,
  repo: String,
  milestone milestone: Option(String),
  state state: Option(String),
  assignee assignee: Option(String),
  creator creator: Option(String),
  mentioned mentioned: Option(String),
  labels labels: Option(String),
  sort sort: Option(String),
  direction direction: Option(String),
  since since: Option(String),
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(Issue))
pub fn issues_list_labels_for_milestone(
  token: String,
  owner: String,
  repo: String,
  milestone_number: Int,
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(Label))
pub fn issues_list_labels_for_repo(
  token: String,
  owner: String,
  repo: String,
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(Label))
pub fn issues_list_labels_on_issue(
  token: String,
  owner: String,
  repo: String,
  issue_number: Int,
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(Label))
pub fn issues_list_milestones(
  token: String,
  owner: String,
  repo: String,
  state state: Option(String),
  sort sort: Option(String),
  direction direction: Option(String),
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(Milestone))
pub fn issues_lock(
  token: String,
  owner: String,
  repo: String,
  issue_number: Int,
  data: BitArray,
) -> Effect(Nil)
pub fn issues_remove_all_labels(
  token: String,
  owner: String,
  repo: String,
  issue_number: Int,
) -> Effect(Nil)
pub fn issues_remove_assignees(
  token: String,
  owner: String,
  repo: String,
  issue_number: Int,
  data: BitArray,
) -> Effect(Issue)
pub fn issues_remove_label(
  token: String,
  owner: String,
  repo: String,
  issue_number: Int,
  name: String,
) -> Effect(List(Label))
pub fn issues_set_labels(
  token: String,
  owner: String,
  repo: String,
  issue_number: Int,
) -> Effect(List(Label))
pub fn issues_unlock(
  token: String,
  owner: String,
  repo: String,
  issue_number: Int,
) -> Effect(Nil)
pub fn issues_update(
  token: String,
  owner: String,
  repo: String,
  issue_number: Int,
  data: BitArray,
) -> Effect(Issue)
pub fn issues_update_comment(
  token: String,
  owner: String,
  repo: String,
  comment_id: Int,
  data: BitArray,
) -> Effect(IssueComment)
pub fn issues_update_label(
  token: String,
  owner: String,
  repo: String,
  name: String,
  data: BitArray,
) -> Effect(Label)
pub fn issues_update_milestone(
  token: String,
  owner: String,
  repo: String,
  milestone_number: Int,
  data: BitArray,
) -> Effect(Milestone)
pub fn licenses_get(
  token: String,
  license: String,
) -> Effect(License)
pub fn licenses_get_all_commonly_used(
  token: String,
  featured featured: Option(Bool),
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(LicenseSimple))
pub fn licenses_get_for_repo(
  token: String,
  owner: String,
  repo: String,
  ref ref: Option(String),
) -> Effect(LicenseContent)
pub fn markdown_render(
  token: String,
  data: BitArray,
) -> Effect(Nil)
pub fn markdown_render_raw(token: String) -> Effect(Nil)
pub fn meta_get(token: String) -> Effect(ApiOverview)
pub fn meta_get_all_versions(token: String) -> Effect(Nil)
pub fn meta_get_octocat(
  token: String,
  s s: Option(String),
) -> Effect(Nil)
pub fn meta_get_zen(token: String) -> Effect(Nil)
pub fn meta_root(token: String) -> Effect(Root)
pub fn migrations_cancel_import(
  token: String,
  owner: String,
  repo: String,
) -> Effect(Nil)
pub fn migrations_delete_archive_for_authenticated_user(
  token: String,
  migration_id: Int,
) -> Effect(Nil)
pub fn migrations_delete_archive_for_org(
  token: String,
  org: String,
  migration_id: Int,
) -> Effect(Nil)
pub fn migrations_download_archive_for_org(
  token: String,
  org: String,
  migration_id: Int,
) -> Effect(a)
pub fn migrations_get_archive_for_authenticated_user(
  token: String,
  migration_id: Int,
) -> Effect(a)
pub fn migrations_get_commit_authors(
  token: String,
  owner: String,
  repo: String,
  since since: Option(Int),
) -> Effect(List(PorterAuthor))
pub fn migrations_get_import_status(
  token: String,
  owner: String,
  repo: String,
) -> Effect(Import)
pub fn migrations_get_large_files(
  token: String,
  owner: String,
  repo: String,
) -> Effect(List(PorterLargeFile))
pub fn migrations_get_status_for_authenticated_user(
  token: String,
  migration_id: Int,
  exclude exclude: a,
) -> Effect(Migration)
pub fn migrations_get_status_for_org(
  token: String,
  org: String,
  migration_id: Int,
  exclude exclude: a,
) -> Effect(Migration)
pub fn migrations_list_for_authenticated_user(
  token: String,
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(Migration))
pub fn migrations_list_for_org(
  token: String,
  org: String,
  per_page per_page: Option(Int),
  page page: Option(Int),
  exclude exclude: a,
) -> Effect(List(Migration))
pub fn migrations_list_repos_for_authenticated_user(
  token: String,
  migration_id: Int,
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(MinimalRepository))
pub fn migrations_list_repos_for_org(
  token: String,
  org: String,
  migration_id: Int,
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(MinimalRepository))
pub fn migrations_map_commit_author(
  token: String,
  owner: String,
  repo: String,
  author_id: Int,
  data: BitArray,
) -> Effect(PorterAuthor)
pub fn migrations_set_lfs_preference(
  token: String,
  owner: String,
  repo: String,
  data: BitArray,
) -> Effect(Import)
pub fn migrations_start_for_authenticated_user(
  token: String,
  data: BitArray,
) -> Effect(Migration)
pub fn migrations_start_for_org(
  token: String,
  org: String,
  data: BitArray,
) -> Effect(Migration)
pub fn migrations_start_import(
  token: String,
  owner: String,
  repo: String,
  data: BitArray,
) -> Effect(Import)
pub fn migrations_unlock_repo_for_authenticated_user(
  token: String,
  migration_id: Int,
  repo_name: String,
) -> Effect(Nil)
pub fn migrations_unlock_repo_for_org(
  token: String,
  org: String,
  migration_id: Int,
  repo_name: String,
) -> Effect(Nil)
pub fn migrations_update_import(
  token: String,
  owner: String,
  repo: String,
  data: BitArray,
) -> Effect(Import)
pub fn oidc_get_oidc_custom_sub_template_for_org(
  token: String,
  org: String,
) -> Effect(OidcCustomSub)
pub fn oidc_update_oidc_custom_sub_template_for_org(
  token: String,
  org: String,
  oidc_custom_sub: OidcCustomSub,
) -> Effect(EmptyObject)
pub fn orgs_add_security_manager_team(
  token: String,
  org: String,
  team_slug: String,
) -> Effect(Nil)
pub fn orgs_assign_team_to_org_role(
  token: String,
  org: String,
  team_slug: String,
  role_id: Int,
) -> Effect(Nil)
pub fn orgs_assign_user_to_org_role(
  token: String,
  org: String,
  username: String,
  role_id: Int,
) -> Effect(Nil)
pub fn orgs_block_user(
  token: String,
  org: String,
  username: String,
) -> Effect(Nil)
pub fn orgs_cancel_invitation(
  token: String,
  org: String,
  invitation_id: Int,
) -> Effect(Nil)
pub fn orgs_check_blocked_user(
  token: String,
  org: String,
  username: String,
) -> Effect(Nil)
pub fn orgs_check_membership_for_user(
  token: String,
  org: String,
  username: String,
) -> Effect(Nil)
pub fn orgs_check_public_membership_for_user(
  token: String,
  org: String,
  username: String,
) -> Effect(Nil)
pub fn orgs_convert_member_to_outside_collaborator(
  token: String,
  org: String,
  username: String,
  data: BitArray,
) -> Effect(Nil)
pub fn orgs_create_invitation(
  token: String,
  org: String,
  data: BitArray,
) -> Effect(OrganizationInvitation)
pub fn orgs_create_or_update_custom_properties(
  token: String,
  org: String,
  data: BitArray,
) -> Effect(List(CustomProperty))
pub fn orgs_create_or_update_custom_properties_values_for_repos(
  token: String,
  org: String,
  data: BitArray,
) -> Effect(Nil)
pub fn orgs_create_or_update_custom_property(
  token: String,
  org: String,
  custom_property_name: String,
  data: BitArray,
) -> Effect(CustomProperty)
pub fn orgs_create_webhook(
  token: String,
  org: String,
  data: BitArray,
) -> Effect(OrgHook)
pub fn orgs_delete(token: String, org: String) -> Effect(Dynamic)
pub fn orgs_delete_webhook(
  token: String,
  org: String,
  hook_id: Int,
) -> Effect(Nil)
pub fn orgs_enable_or_disable_security_product_on_all_org_repos(
  token: String,
  org: String,
  security_product: String,
  enablement: String,
  data: BitArray,
) -> Effect(Nil)
pub fn orgs_get(
  token: String,
  org: String,
) -> Effect(OrganizationFull)
pub fn orgs_get_all_custom_properties(
  token: String,
  org: String,
) -> Effect(List(CustomProperty))
pub fn orgs_get_custom_property(
  token: String,
  org: String,
  custom_property_name: String,
) -> Effect(CustomProperty)
pub fn orgs_get_membership_for_authenticated_user(
  token: String,
  org: String,
) -> Effect(OrgMembership)
pub fn orgs_get_membership_for_user(
  token: String,
  org: String,
  username: String,
) -> Effect(OrgMembership)
pub fn orgs_get_org_role(
  token: String,
  org: String,
  role_id: Int,
) -> Effect(OrganizationRole)
pub fn orgs_get_webhook(
  token: String,
  org: String,
  hook_id: Int,
) -> Effect(OrgHook)
pub fn orgs_get_webhook_config_for_org(
  token: String,
  org: String,
  hook_id: Int,
) -> Effect(WebhookConfig)
pub fn orgs_get_webhook_delivery(
  token: String,
  org: String,
  hook_id: Int,
  delivery_id: Int,
) -> Effect(HookDelivery)
pub fn orgs_list(
  token: String,
  since since: Option(Int),
  per_page per_page: Option(Int),
) -> Effect(List(OrganizationSimple))
pub fn orgs_list_app_installations(
  token: String,
  org: String,
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(Dynamic)
pub fn orgs_list_attestations(
  token: String,
  org: String,
  subject_digest: String,
  per_page per_page: Option(Int),
  before before: Option(String),
  after after: Option(String),
) -> Effect(Dynamic)
pub fn orgs_list_blocked_users(
  token: String,
  org: String,
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(SimpleUser))
pub fn orgs_list_custom_properties_values_for_repos(
  token: String,
  org: String,
  per_page per_page: Option(Int),
  page page: Option(Int),
  repository_query repository_query: Option(String),
) -> Effect(List(OrgRepoCustomPropertyValues))
pub fn orgs_list_failed_invitations(
  token: String,
  org: String,
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(OrganizationInvitation))
pub fn orgs_list_for_authenticated_user(
  token: String,
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(OrganizationSimple))
pub fn orgs_list_for_user(
  token: String,
  username: String,
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(OrganizationSimple))
pub fn orgs_list_invitation_teams(
  token: String,
  org: String,
  invitation_id: Int,
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(Team))
pub fn orgs_list_members(
  token: String,
  org: String,
  filter filter: Option(String),
  role role: Option(String),
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(SimpleUser))
pub fn orgs_list_memberships_for_authenticated_user(
  token: String,
  state state: Option(String),
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(OrgMembership))
pub fn orgs_list_org_role_teams(
  token: String,
  org: String,
  role_id: Int,
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(TeamRoleAssignment))
pub fn orgs_list_org_role_users(
  token: String,
  org: String,
  role_id: Int,
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(UserRoleAssignment))
pub fn orgs_list_org_roles(
  token: String,
  org: String,
) -> Effect(Dynamic)
pub fn orgs_list_outside_collaborators(
  token: String,
  org: String,
  filter filter: Option(String),
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(SimpleUser))
pub fn orgs_list_pat_grant_repositories(
  token: String,
  org: String,
  pat_id: Int,
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(MinimalRepository))
pub fn orgs_list_pat_grant_request_repositories(
  token: String,
  org: String,
  pat_request_id: Int,
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(MinimalRepository))
pub fn orgs_list_pat_grant_requests(
  token: String,
  org: String,
  per_page per_page: Option(Int),
  page page: Option(Int),
  sort sort: Option(String),
  direction direction: Option(String),
  owner owner: a,
  repository repository: Option(String),
  permission permission: Option(String),
  last_used_before last_used_before: Option(String),
  last_used_after last_used_after: Option(String),
) -> Effect(List(OrganizationProgrammaticAccessGrantRequest))
pub fn orgs_list_pat_grants(
  token: String,
  org: String,
  per_page per_page: Option(Int),
  page page: Option(Int),
  sort sort: Option(String),
  direction direction: Option(String),
  owner owner: a,
  repository repository: Option(String),
  permission permission: Option(String),
  last_used_before last_used_before: Option(String),
  last_used_after last_used_after: Option(String),
) -> Effect(List(OrganizationProgrammaticAccessGrant))
pub fn orgs_list_pending_invitations(
  token: String,
  org: String,
  per_page per_page: Option(Int),
  page page: Option(Int),
  role role: Option(String),
  invitation_source invitation_source: Option(String),
) -> Effect(List(OrganizationInvitation))
pub fn orgs_list_public_members(
  token: String,
  org: String,
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(SimpleUser))
pub fn orgs_list_security_manager_teams(
  token: String,
  org: String,
) -> Effect(List(TeamSimple))
pub fn orgs_list_webhook_deliveries(
  token: String,
  org: String,
  hook_id: Int,
  per_page per_page: Option(Int),
  cursor cursor: Option(String),
) -> Effect(List(HookDeliveryItem))
pub fn orgs_list_webhooks(
  token: String,
  org: String,
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(OrgHook))
pub fn orgs_ping_webhook(
  token: String,
  org: String,
  hook_id: Int,
) -> Effect(Nil)
pub fn orgs_redeliver_webhook_delivery(
  token: String,
  org: String,
  hook_id: Int,
  delivery_id: Int,
) -> Effect(Dynamic)
pub fn orgs_remove_custom_property(
  token: String,
  org: String,
  custom_property_name: String,
) -> Effect(Nil)
pub fn orgs_remove_member(
  token: String,
  org: String,
  username: String,
) -> Effect(Nil)
pub fn orgs_remove_membership_for_user(
  token: String,
  org: String,
  username: String,
) -> Effect(Nil)
pub fn orgs_remove_outside_collaborator(
  token: String,
  org: String,
  username: String,
) -> Effect(Nil)
pub fn orgs_remove_public_membership_for_authenticated_user(
  token: String,
  org: String,
  username: String,
) -> Effect(Nil)
pub fn orgs_remove_security_manager_team(
  token: String,
  org: String,
  team_slug: String,
) -> Effect(Nil)
pub fn orgs_review_pat_grant_request(
  token: String,
  org: String,
  pat_request_id: Int,
  data: BitArray,
) -> Effect(Nil)
pub fn orgs_review_pat_grant_requests_in_bulk(
  token: String,
  org: String,
  data: BitArray,
) -> Effect(Dynamic)
pub fn orgs_revoke_all_org_roles_team(
  token: String,
  org: String,
  team_slug: String,
) -> Effect(Nil)
pub fn orgs_revoke_all_org_roles_user(
  token: String,
  org: String,
  username: String,
) -> Effect(Nil)
pub fn orgs_revoke_org_role_team(
  token: String,
  org: String,
  team_slug: String,
  role_id: Int,
) -> Effect(Nil)
pub fn orgs_revoke_org_role_user(
  token: String,
  org: String,
  username: String,
  role_id: Int,
) -> Effect(Nil)
pub fn orgs_set_membership_for_user(
  token: String,
  org: String,
  username: String,
  data: BitArray,
) -> Effect(OrgMembership)
pub fn orgs_set_public_membership_for_authenticated_user(
  token: String,
  org: String,
  username: String,
) -> Effect(Nil)
pub fn orgs_unblock_user(
  token: String,
  org: String,
  username: String,
) -> Effect(Nil)
pub fn orgs_update(
  token: String,
  org: String,
  data: BitArray,
) -> Effect(OrganizationFull)
pub fn orgs_update_membership_for_authenticated_user(
  token: String,
  org: String,
  data: BitArray,
) -> Effect(OrgMembership)
pub fn orgs_update_pat_access(
  token: String,
  org: String,
  pat_id: Int,
  data: BitArray,
) -> Effect(Nil)
pub fn orgs_update_pat_accesses(
  token: String,
  org: String,
  data: BitArray,
) -> Effect(Dynamic)
pub fn orgs_update_webhook(
  token: String,
  org: String,
  hook_id: Int,
  data: BitArray,
) -> Effect(OrgHook)
pub fn orgs_update_webhook_config_for_org(
  token: String,
  org: String,
  hook_id: Int,
  data: BitArray,
) -> Effect(WebhookConfig)
pub fn packages_delete_package_for_authenticated_user(
  token: String,
  package_type: String,
  package_name: String,
) -> Effect(Nil)
pub fn packages_delete_package_for_org(
  token: String,
  org: String,
  package_type: String,
  package_name: String,
) -> Effect(Nil)
pub fn packages_delete_package_for_user(
  token: String,
  username: String,
  package_type: String,
  package_name: String,
) -> Effect(Nil)
pub fn packages_delete_package_version_for_authenticated_user(
  token: String,
  package_type: String,
  package_name: String,
  package_version_id: Int,
) -> Effect(Nil)
pub fn packages_delete_package_version_for_org(
  token: String,
  org: String,
  package_type: String,
  package_name: String,
  package_version_id: Int,
) -> Effect(Nil)
pub fn packages_delete_package_version_for_user(
  token: String,
  username: String,
  package_type: String,
  package_name: String,
  package_version_id: Int,
) -> Effect(Nil)
pub fn packages_get_all_package_versions_for_package_owned_by_authenticated_user(
  token: String,
  package_type: String,
  package_name: String,
  page page: Option(Int),
  per_page per_page: Option(Int),
  state state: Option(String),
) -> Effect(List(PackageVersion))
pub fn packages_get_all_package_versions_for_package_owned_by_org(
  token: String,
  org: String,
  package_type: String,
  package_name: String,
  page page: Option(Int),
  per_page per_page: Option(Int),
  state state: Option(String),
) -> Effect(List(PackageVersion))
pub fn packages_get_all_package_versions_for_package_owned_by_user(
  token: String,
  username: String,
  package_type: String,
  package_name: String,
) -> Effect(List(PackageVersion))
pub fn packages_get_package_for_authenticated_user(
  token: String,
  package_type: String,
  package_name: String,
) -> Effect(Package)
pub fn packages_get_package_for_organization(
  token: String,
  org: String,
  package_type: String,
  package_name: String,
) -> Effect(Package)
pub fn packages_get_package_for_user(
  token: String,
  username: String,
  package_type: String,
  package_name: String,
) -> Effect(Package)
pub fn packages_get_package_version_for_authenticated_user(
  token: String,
  package_type: String,
  package_name: String,
  package_version_id: Int,
) -> Effect(PackageVersion)
pub fn packages_get_package_version_for_organization(
  token: String,
  org: String,
  package_type: String,
  package_name: String,
  package_version_id: Int,
) -> Effect(PackageVersion)
pub fn packages_get_package_version_for_user(
  token: String,
  username: String,
  package_type: String,
  package_name: String,
  package_version_id: Int,
) -> Effect(PackageVersion)
pub fn packages_list_docker_migration_conflicting_packages_for_authenticated_user(
  token: String,
) -> Effect(List(Package))
pub fn packages_list_docker_migration_conflicting_packages_for_organization(
  token: String,
  org: String,
) -> Effect(List(Package))
pub fn packages_list_docker_migration_conflicting_packages_for_user(
  token: String,
  username: String,
) -> Effect(List(Package))
pub fn packages_list_packages_for_authenticated_user(
  token: String,
  package_type package_type: String,
  visibility visibility: Option(String),
  page page: Option(Int),
  per_page per_page: Option(Int),
) -> Effect(List(Package))
pub fn packages_list_packages_for_organization(
  token: String,
  org: String,
  package_type package_type: String,
  visibility visibility: Option(String),
  page page: Option(Int),
  per_page per_page: Option(Int),
) -> Effect(List(Package))
pub fn packages_list_packages_for_user(
  token: String,
  username: String,
  package_type package_type: String,
  visibility visibility: Option(String),
  page page: Option(Int),
  per_page per_page: Option(Int),
) -> Effect(List(Package))
pub fn packages_restore_package_for_authenticated_user(
  token: String,
  package_type: String,
  package_name: String,
  token_ token_: Option(String),
) -> Effect(Nil)
pub fn packages_restore_package_for_org(
  token: String,
  org: String,
  package_type: String,
  package_name: String,
  token_ token_: Option(String),
) -> Effect(Nil)
pub fn packages_restore_package_for_user(
  token: String,
  username: String,
  package_type: String,
  package_name: String,
  token_ token_: Option(String),
) -> Effect(Nil)
pub fn packages_restore_package_version_for_authenticated_user(
  token: String,
  package_type: String,
  package_name: String,
  package_version_id: Int,
) -> Effect(Nil)
pub fn packages_restore_package_version_for_org(
  token: String,
  org: String,
  package_type: String,
  package_name: String,
  package_version_id: Int,
) -> Effect(Nil)
pub fn packages_restore_package_version_for_user(
  token: String,
  username: String,
  package_type: String,
  package_name: String,
  package_version_id: Int,
) -> Effect(Nil)
pub fn projects_add_collaborator(
  token: String,
  project_id: Int,
  username: String,
  data: BitArray,
) -> Effect(Nil)
pub fn projects_create_card(
  token: String,
  column_id: Int,
) -> Effect(ProjectCard)
pub fn projects_create_column(
  token: String,
  project_id: Int,
  data: BitArray,
) -> Effect(ProjectColumn)
pub fn projects_create_for_authenticated_user(
  token: String,
  data: BitArray,
) -> Effect(Project)
pub fn projects_create_for_org(
  token: String,
  org: String,
  data: BitArray,
) -> Effect(Project)
pub fn projects_create_for_repo(
  token: String,
  owner: String,
  repo: String,
  data: BitArray,
) -> Effect(Project)
pub fn projects_delete(
  token: String,
  project_id: Int,
) -> Effect(Nil)
pub fn projects_delete_card(
  token: String,
  card_id: Int,
) -> Effect(Nil)
pub fn projects_delete_column(
  token: String,
  column_id: Int,
) -> Effect(Nil)
pub fn projects_get(
  token: String,
  project_id: Int,
) -> Effect(Project)
pub fn projects_get_card(
  token: String,
  card_id: Int,
) -> Effect(ProjectCard)
pub fn projects_get_column(
  token: String,
  column_id: Int,
) -> Effect(ProjectColumn)
pub fn projects_get_permission_for_user(
  token: String,
  project_id: Int,
  username: String,
) -> Effect(ProjectCollaboratorPermission)
pub fn projects_list_cards(
  token: String,
  column_id: Int,
  archived_state archived_state: Option(String),
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(ProjectCard))
pub fn projects_list_collaborators(
  token: String,
  project_id: Int,
  affiliation affiliation: Option(String),
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(SimpleUser))
pub fn projects_list_columns(
  token: String,
  project_id: Int,
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(ProjectColumn))
pub fn projects_list_for_org(
  token: String,
  org: String,
  state state: Option(String),
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(Project))
pub fn projects_list_for_repo(
  token: String,
  owner: String,
  repo: String,
  state state: Option(String),
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(Project))
pub fn projects_list_for_user(
  token: String,
  username: String,
  state state: Option(String),
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(Project))
pub fn projects_move_card(
  token: String,
  card_id: Int,
  data: BitArray,
) -> Effect(Dynamic)
pub fn projects_move_column(
  token: String,
  column_id: Int,
  data: BitArray,
) -> Effect(Dynamic)
pub fn projects_remove_collaborator(
  token: String,
  project_id: Int,
  username: String,
) -> Effect(Nil)
pub fn projects_update(
  token: String,
  project_id: Int,
  data: BitArray,
) -> Effect(Project)
pub fn projects_update_card(
  token: String,
  card_id: Int,
  data: BitArray,
) -> Effect(ProjectCard)
pub fn projects_update_column(
  token: String,
  column_id: Int,
  data: BitArray,
) -> Effect(ProjectColumn)
pub fn pulls_check_if_merged(
  token: String,
  owner: String,
  repo: String,
  pull_number: Int,
) -> Effect(Nil)
pub fn pulls_create(
  token: String,
  owner: String,
  repo: String,
  data: BitArray,
) -> Effect(PullRequest)
pub fn pulls_create_reply_for_review_comment(
  token: String,
  owner: String,
  repo: String,
  pull_number: Int,
  comment_id: Int,
  data: BitArray,
) -> Effect(PullRequestReviewComment)
pub fn pulls_create_review(
  token: String,
  owner: String,
  repo: String,
  pull_number: Int,
  data: BitArray,
) -> Effect(PullRequestReview)
pub fn pulls_create_review_comment(
  token: String,
  owner: String,
  repo: String,
  pull_number: Int,
  data: BitArray,
) -> Effect(PullRequestReviewComment)
pub fn pulls_delete_pending_review(
  token: String,
  owner: String,
  repo: String,
  pull_number: Int,
  review_id: Int,
) -> Effect(PullRequestReview)
pub fn pulls_delete_review_comment(
  token: String,
  owner: String,
  repo: String,
  comment_id: Int,
) -> Effect(Nil)
pub fn pulls_dismiss_review(
  token: String,
  owner: String,
  repo: String,
  pull_number: Int,
  review_id: Int,
  data: BitArray,
) -> Effect(PullRequestReview)
pub fn pulls_get(
  token: String,
  owner: String,
  repo: String,
  pull_number: Int,
) -> Effect(PullRequest)
pub fn pulls_get_review(
  token: String,
  owner: String,
  repo: String,
  pull_number: Int,
  review_id: Int,
) -> Effect(PullRequestReview)
pub fn pulls_get_review_comment(
  token: String,
  owner: String,
  repo: String,
  comment_id: Int,
) -> Effect(PullRequestReviewComment)
pub fn pulls_list(
  token: String,
  owner: String,
  repo: String,
  state state: Option(String),
  head head: Option(String),
  base_ base_: Option(String),
  sort sort: Option(String),
  direction direction: Option(String),
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(PullRequestSimple))
pub fn pulls_list_comments_for_review(
  token: String,
  owner: String,
  repo: String,
  pull_number: Int,
  review_id: Int,
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(ReviewComment))
pub fn pulls_list_commits(
  token: String,
  owner: String,
  repo: String,
  pull_number: Int,
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(Commit))
pub fn pulls_list_files(
  token: String,
  owner: String,
  repo: String,
  pull_number: Int,
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(DiffEntry))
pub fn pulls_list_requested_reviewers(
  token: String,
  owner: String,
  repo: String,
  pull_number: Int,
) -> Effect(PullRequestReviewRequest)
pub fn pulls_list_review_comments(
  token: String,
  owner: String,
  repo: String,
  pull_number: Int,
  sort sort: Option(String),
  direction direction: Option(String),
  since since: Option(String),
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(PullRequestReviewComment))
pub fn pulls_list_review_comments_for_repo(
  token: String,
  owner: String,
  repo: String,
  sort sort: Option(String),
  direction direction: Option(String),
  since since: Option(String),
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(PullRequestReviewComment))
pub fn pulls_list_reviews(
  token: String,
  owner: String,
  repo: String,
  pull_number: Int,
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(PullRequestReview))
pub fn pulls_merge(
  token: String,
  owner: String,
  repo: String,
  pull_number: Int,
  data: BitArray,
) -> Effect(PullRequestMergeResult)
pub fn pulls_remove_requested_reviewers(
  token: String,
  owner: String,
  repo: String,
  pull_number: Int,
  data: BitArray,
) -> Effect(PullRequestSimple)
pub fn pulls_request_reviewers(
  token: String,
  owner: String,
  repo: String,
  pull_number: Int,
  data: BitArray,
) -> Effect(PullRequestSimple)
pub fn pulls_submit_review(
  token: String,
  owner: String,
  repo: String,
  pull_number: Int,
  review_id: Int,
  data: BitArray,
) -> Effect(PullRequestReview)
pub fn pulls_update(
  token: String,
  owner: String,
  repo: String,
  pull_number: Int,
  data: BitArray,
) -> Effect(PullRequest)
pub fn pulls_update_branch(
  token: String,
  owner: String,
  repo: String,
  pull_number: Int,
  data: BitArray,
) -> Effect(Dynamic)
pub fn pulls_update_review(
  token: String,
  owner: String,
  repo: String,
  pull_number: Int,
  review_id: Int,
  data: BitArray,
) -> Effect(PullRequestReview)
pub fn pulls_update_review_comment(
  token: String,
  owner: String,
  repo: String,
  comment_id: Int,
  data: BitArray,
) -> Effect(PullRequestReviewComment)
pub fn rate_limit_get(token: String) -> Effect(RateLimitOverview)
pub fn reactions_create_for_commit_comment(
  token: String,
  owner: String,
  repo: String,
  comment_id: Int,
  data: BitArray,
) -> Effect(Reaction)
pub fn reactions_create_for_issue(
  token: String,
  owner: String,
  repo: String,
  issue_number: Int,
  data: BitArray,
) -> Effect(Reaction)
pub fn reactions_create_for_issue_comment(
  token: String,
  owner: String,
  repo: String,
  comment_id: Int,
  data: BitArray,
) -> Effect(Reaction)
pub fn reactions_create_for_pull_request_review_comment(
  token: String,
  owner: String,
  repo: String,
  comment_id: Int,
  data: BitArray,
) -> Effect(Reaction)
pub fn reactions_create_for_release(
  token: String,
  owner: String,
  repo: String,
  release_id: Int,
  data: BitArray,
) -> Effect(Reaction)
pub fn reactions_create_for_team_discussion_comment_in_org(
  token: String,
  org: String,
  team_slug: String,
  discussion_number: Int,
  comment_number: Int,
  data: BitArray,
) -> Effect(Reaction)
pub fn reactions_create_for_team_discussion_comment_legacy(
  token: String,
  team_id: Int,
  discussion_number: Int,
  comment_number: Int,
  data: BitArray,
) -> Effect(Reaction)
pub fn reactions_create_for_team_discussion_in_org(
  token: String,
  org: String,
  team_slug: String,
  discussion_number: Int,
  data: BitArray,
) -> Effect(Reaction)
pub fn reactions_create_for_team_discussion_legacy(
  token: String,
  team_id: Int,
  discussion_number: Int,
  data: BitArray,
) -> Effect(Reaction)
pub fn reactions_delete_for_commit_comment(
  token: String,
  owner: String,
  repo: String,
  comment_id: Int,
  reaction_id: Int,
) -> Effect(Nil)
pub fn reactions_delete_for_issue(
  token: String,
  owner: String,
  repo: String,
  issue_number: Int,
  reaction_id: Int,
) -> Effect(Nil)
pub fn reactions_delete_for_issue_comment(
  token: String,
  owner: String,
  repo: String,
  comment_id: Int,
  reaction_id: Int,
) -> Effect(Nil)
pub fn reactions_delete_for_pull_request_comment(
  token: String,
  owner: String,
  repo: String,
  comment_id: Int,
  reaction_id: Int,
) -> Effect(Nil)
pub fn reactions_delete_for_release(
  token: String,
  owner: String,
  repo: String,
  release_id: Int,
  reaction_id: Int,
) -> Effect(Nil)
pub fn reactions_delete_for_team_discussion(
  token: String,
  org: String,
  team_slug: String,
  discussion_number: Int,
  reaction_id: Int,
) -> Effect(Nil)
pub fn reactions_delete_for_team_discussion_comment(
  token: String,
  org: String,
  team_slug: String,
  discussion_number: Int,
  comment_number: Int,
  reaction_id: Int,
) -> Effect(Nil)
pub fn reactions_list_for_commit_comment(
  token: String,
  owner: String,
  repo: String,
  comment_id: Int,
  content content: Option(String),
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(Reaction))
pub fn reactions_list_for_issue(
  token: String,
  owner: String,
  repo: String,
  issue_number: Int,
  content content: Option(String),
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(Reaction))
pub fn reactions_list_for_issue_comment(
  token: String,
  owner: String,
  repo: String,
  comment_id: Int,
  content content: Option(String),
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(Reaction))
pub fn reactions_list_for_pull_request_review_comment(
  token: String,
  owner: String,
  repo: String,
  comment_id: Int,
  content content: Option(String),
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(Reaction))
pub fn reactions_list_for_release(
  token: String,
  owner: String,
  repo: String,
  release_id: Int,
  content content: Option(String),
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(Reaction))
pub fn reactions_list_for_team_discussion_comment_in_org(
  token: String,
  org: String,
  team_slug: String,
  discussion_number: Int,
  comment_number: Int,
  content content: Option(String),
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(Reaction))
pub fn reactions_list_for_team_discussion_comment_legacy(
  token: String,
  team_id: Int,
  discussion_number: Int,
  comment_number: Int,
  content content: Option(String),
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(Reaction))
pub fn reactions_list_for_team_discussion_in_org(
  token: String,
  org: String,
  team_slug: String,
  discussion_number: Int,
  content content: Option(String),
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(Reaction))
pub fn reactions_list_for_team_discussion_legacy(
  token: String,
  team_id: Int,
  discussion_number: Int,
  content content: Option(String),
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(Reaction))
pub fn repos_accept_invitation_for_authenticated_user(
  token: String,
  invitation_id: Int,
) -> Effect(Nil)
pub fn repos_add_app_access_restrictions(
  token: String,
  owner: String,
  repo: String,
  branch: String,
  data: BitArray,
) -> Effect(List(Integration))
pub fn repos_add_collaborator(
  token: String,
  owner: String,
  repo: String,
  username: String,
  data: BitArray,
) -> Effect(Nil)
pub fn repos_add_status_check_contexts(
  token: String,
  owner: String,
  repo: String,
  branch: String,
) -> Effect(Nil)
pub fn repos_add_team_access_restrictions(
  token: String,
  owner: String,
  repo: String,
  branch: String,
) -> Effect(List(Team))
pub fn repos_add_user_access_restrictions(
  token: String,
  owner: String,
  repo: String,
  branch: String,
  data: BitArray,
) -> Effect(List(SimpleUser))
pub fn repos_cancel_pages_deployment(
  token: String,
  owner: String,
  repo: String,
  pages_deployment_id: String,
) -> Effect(Nil)
pub fn repos_check_automated_security_fixes(
  token: String,
  owner: String,
  repo: String,
) -> Effect(CheckAutomatedSecurityFixes)
pub fn repos_check_collaborator(
  token: String,
  owner: String,
  repo: String,
  username: String,
) -> Effect(Nil)
pub fn repos_check_private_vulnerability_reporting(
  token: String,
  owner: String,
  repo: String,
) -> Effect(Dynamic)
pub fn repos_check_vulnerability_alerts(
  token: String,
  owner: String,
  repo: String,
) -> Effect(Nil)
pub fn repos_codeowners_errors(
  token: String,
  owner: String,
  repo: String,
  ref ref: Option(String),
) -> Effect(CodeownersErrors)
pub fn repos_compare_commits(
  token: String,
  owner: String,
  repo: String,
  basehead: String,
  page page: Option(Int),
  per_page per_page: Option(Int),
) -> Effect(CommitComparison)
pub fn repos_create_attestation(
  token: String,
  owner: String,
  repo: String,
  data: BitArray,
) -> Effect(Dynamic)
pub fn repos_create_autolink(
  token: String,
  owner: String,
  repo: String,
  data: BitArray,
) -> Effect(Autolink)
pub fn repos_create_commit_comment(
  token: String,
  owner: String,
  repo: String,
  commit_sha: String,
  data: BitArray,
) -> Effect(CommitComment)
pub fn repos_create_commit_signature_protection(
  token: String,
  owner: String,
  repo: String,
  branch: String,
) -> Effect(ProtectedBranchAdminEnforced)
pub fn repos_create_commit_status(
  token: String,
  owner: String,
  repo: String,
  sha: String,
  data: BitArray,
) -> Effect(Status)
pub fn repos_create_deploy_key(
  token: String,
  owner: String,
  repo: String,
  data: BitArray,
) -> Effect(DeployKey)
pub fn repos_create_deployment(
  token: String,
  owner: String,
  repo: String,
  data: BitArray,
) -> Effect(Deployment)
pub fn repos_create_deployment_branch_policy(
  token: String,
  owner: String,
  repo: String,
  environment_name: String,
  deployment_branch_policy_name_pattern_with_type: DeploymentBranchPolicyNamePatternWithType,
) -> Effect(DeploymentBranchPolicy)
pub fn repos_create_deployment_protection_rule(
  token: String,
  owner: String,
  repo: String,
  environment_name: String,
  data: BitArray,
) -> Effect(DeploymentProtectionRule)
pub fn repos_create_deployment_status(
  token: String,
  owner: String,
  repo: String,
  deployment_id: Int,
  data: BitArray,
) -> Effect(DeploymentStatus)
pub fn repos_create_dispatch_event(
  token: String,
  owner: String,
  repo: String,
  data: BitArray,
) -> Effect(Nil)
pub fn repos_create_for_authenticated_user(
  token: String,
  data: BitArray,
) -> Effect(FullRepository)
pub fn repos_create_fork(
  token: String,
  owner: String,
  repo: String,
  data: BitArray,
) -> Effect(FullRepository)
pub fn repos_create_in_org(
  token: String,
  org: String,
  data: BitArray,
) -> Effect(FullRepository)
pub fn repos_create_or_update_custom_properties_values(
  token: String,
  owner: String,
  repo: String,
  data: BitArray,
) -> Effect(Nil)
pub fn repos_create_or_update_environment(
  token: String,
  owner: String,
  repo: String,
  environment_name: String,
  data: BitArray,
) -> Effect(Environment)
pub fn repos_create_or_update_file_contents(
  token: String,
  owner: String,
  repo: String,
  path_: String,
  data: BitArray,
) -> Effect(FileCommit)
pub fn repos_create_org_ruleset(
  token: String,
  org: String,
  data: BitArray,
) -> Effect(RepositoryRuleset)
pub fn repos_create_pages_deployment(
  token: String,
  owner: String,
  repo: String,
  data: BitArray,
) -> Effect(PageDeployment)
pub fn repos_create_pages_site(
  token: String,
  owner: String,
  repo: String,
  data: BitArray,
) -> Effect(Page)
pub fn repos_create_release(
  token: String,
  owner: String,
  repo: String,
  data: BitArray,
) -> Effect(Release)
pub fn repos_create_repo_ruleset(
  token: String,
  owner: String,
  repo: String,
  data: BitArray,
) -> Effect(RepositoryRuleset)
pub fn repos_create_tag_protection(
  token: String,
  owner: String,
  repo: String,
  data: BitArray,
) -> Effect(TagProtection)
pub fn repos_create_using_template(
  token: String,
  template_owner: String,
  template_repo: String,
  data: BitArray,
) -> Effect(FullRepository)
pub fn repos_create_webhook(
  token: String,
  owner: String,
  repo: String,
  data: BitArray,
) -> Effect(Hook)
pub fn repos_decline_invitation_for_authenticated_user(
  token: String,
  invitation_id: Int,
) -> Effect(Nil)
pub fn repos_delete(
  token: String,
  owner: String,
  repo: String,
) -> Effect(Nil)
pub fn repos_delete_access_restrictions(
  token: String,
  owner: String,
  repo: String,
  branch: String,
) -> Effect(Nil)
pub fn repos_delete_admin_branch_protection(
  token: String,
  owner: String,
  repo: String,
  branch: String,
) -> Effect(Nil)
pub fn repos_delete_an_environment(
  token: String,
  owner: String,
  repo: String,
  environment_name: String,
) -> Effect(Nil)
pub fn repos_delete_autolink(
  token: String,
  owner: String,
  repo: String,
  autolink_id: Int,
) -> Effect(Nil)
pub fn repos_delete_branch_protection(
  token: String,
  owner: String,
  repo: String,
  branch: String,
) -> Effect(Nil)
pub fn repos_delete_commit_comment(
  token: String,
  owner: String,
  repo: String,
  comment_id: Int,
) -> Effect(Nil)
pub fn repos_delete_commit_signature_protection(
  token: String,
  owner: String,
  repo: String,
  branch: String,
) -> Effect(Nil)
pub fn repos_delete_deploy_key(
  token: String,
  owner: String,
  repo: String,
  key_id: Int,
) -> Effect(Nil)
pub fn repos_delete_deployment(
  token: String,
  owner: String,
  repo: String,
  deployment_id: Int,
) -> Effect(Nil)
pub fn repos_delete_deployment_branch_policy(
  token: String,
  owner: String,
  repo: String,
  environment_name: String,
  branch_policy_id: Int,
) -> Effect(Nil)
pub fn repos_delete_file(
  token: String,
  owner: String,
  repo: String,
  path_: String,
  data: BitArray,
) -> Effect(FileCommit)
pub fn repos_delete_invitation(
  token: String,
  owner: String,
  repo: String,
  invitation_id: Int,
) -> Effect(Nil)
pub fn repos_delete_org_ruleset(
  token: String,
  org: String,
  ruleset_id: Int,
) -> Effect(Nil)
pub fn repos_delete_pages_site(
  token: String,
  owner: String,
  repo: String,
) -> Effect(Nil)
pub fn repos_delete_pull_request_review_protection(
  token: String,
  owner: String,
  repo: String,
  branch: String,
) -> Effect(Nil)
pub fn repos_delete_release(
  token: String,
  owner: String,
  repo: String,
  release_id: Int,
) -> Effect(Nil)
pub fn repos_delete_release_asset(
  token: String,
  owner: String,
  repo: String,
  asset_id: Int,
) -> Effect(Nil)
pub fn repos_delete_repo_ruleset(
  token: String,
  owner: String,
  repo: String,
  ruleset_id: Int,
) -> Effect(Nil)
pub fn repos_delete_tag_protection(
  token: String,
  owner: String,
  repo: String,
  tag_protection_id: Int,
) -> Effect(Nil)
pub fn repos_delete_webhook(
  token: String,
  owner: String,
  repo: String,
  hook_id: Int,
) -> Effect(Nil)
pub fn repos_disable_automated_security_fixes(
  token: String,
  owner: String,
  repo: String,
) -> Effect(Nil)
pub fn repos_disable_deployment_protection_rule(
  token: String,
  owner: String,
  repo: String,
  environment_name: String,
  protection_rule_id: Int,
) -> Effect(Nil)
pub fn repos_disable_private_vulnerability_reporting(
  token: String,
  owner: String,
  repo: String,
) -> Effect(Nil)
pub fn repos_disable_vulnerability_alerts(
  token: String,
  owner: String,
  repo: String,
) -> Effect(Nil)
pub fn repos_download_tarball_archive(
  token: String,
  owner: String,
  repo: String,
  ref: String,
) -> Effect(a)
pub fn repos_download_zipball_archive(
  token: String,
  owner: String,
  repo: String,
  ref: String,
) -> Effect(a)
pub fn repos_enable_automated_security_fixes(
  token: String,
  owner: String,
  repo: String,
) -> Effect(Nil)
pub fn repos_enable_private_vulnerability_reporting(
  token: String,
  owner: String,
  repo: String,
) -> Effect(Nil)
pub fn repos_enable_vulnerability_alerts(
  token: String,
  owner: String,
  repo: String,
) -> Effect(Nil)
pub fn repos_generate_release_notes(
  token: String,
  owner: String,
  repo: String,
  data: BitArray,
) -> Effect(ReleaseNotesContent)
pub fn repos_get(
  token: String,
  owner: String,
  repo: String,
) -> Effect(FullRepository)
pub fn repos_get_access_restrictions(
  token: String,
  owner: String,
  repo: String,
  branch: String,
) -> Effect(BranchRestrictionPolicy)
pub fn repos_get_admin_branch_protection(
  token: String,
  owner: String,
  repo: String,
  branch: String,
) -> Effect(ProtectedBranchAdminEnforced)
pub fn repos_get_all_deployment_protection_rules(
  token: String,
  owner: String,
  repo: String,
  environment_name: String,
) -> Effect(Dynamic)
pub fn repos_get_all_environments(
  token: String,
  owner: String,
  repo: String,
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(Dynamic)
pub fn repos_get_all_status_check_contexts(
  token: String,
  owner: String,
  repo: String,
  branch: String,
) -> Effect(Nil)
pub fn repos_get_all_topics(
  token: String,
  owner: String,
  repo: String,
  page page: Option(Int),
  per_page per_page: Option(Int),
) -> Effect(Topic)
pub fn repos_get_apps_with_access_to_protected_branch(
  token: String,
  owner: String,
  repo: String,
  branch: String,
) -> Effect(List(Integration))
pub fn repos_get_autolink(
  token: String,
  owner: String,
  repo: String,
  autolink_id: Int,
) -> Effect(Autolink)
pub fn repos_get_branch(
  token: String,
  owner: String,
  repo: String,
  branch: String,
) -> Effect(BranchWithProtection)
pub fn repos_get_branch_protection(
  token: String,
  owner: String,
  repo: String,
  branch: String,
) -> Effect(BranchProtection)
pub fn repos_get_branch_rules(
  token: String,
  owner: String,
  repo: String,
  branch: String,
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(RepositoryRuleDetailed))
pub fn repos_get_clones(
  token: String,
  owner: String,
  repo: String,
  per per: Option(String),
) -> Effect(CloneTraffic)
pub fn repos_get_code_frequency_stats(
  token: String,
  owner: String,
  repo: String,
) -> Effect(Nil)
pub fn repos_get_collaborator_permission_level(
  token: String,
  owner: String,
  repo: String,
  username: String,
) -> Effect(RepositoryCollaboratorPermission)
pub fn repos_get_combined_status_for_ref(
  token: String,
  owner: String,
  repo: String,
  ref: String,
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(CombinedCommitStatus)
pub fn repos_get_commit(
  token: String,
  owner: String,
  repo: String,
  ref: String,
  page page: Option(Int),
  per_page per_page: Option(Int),
) -> Effect(Commit)
pub fn repos_get_commit_activity_stats(
  token: String,
  owner: String,
  repo: String,
) -> Effect(Nil)
pub fn repos_get_commit_comment(
  token: String,
  owner: String,
  repo: String,
  comment_id: Int,
) -> Effect(CommitComment)
pub fn repos_get_commit_signature_protection(
  token: String,
  owner: String,
  repo: String,
  branch: String,
) -> Effect(ProtectedBranchAdminEnforced)
pub fn repos_get_community_profile_metrics(
  token: String,
  owner: String,
  repo: String,
) -> Effect(CommunityProfile)
pub fn repos_get_content(
  token: String,
  owner: String,
  repo: String,
  path_: String,
  ref ref: Option(String),
) -> Effect(Nil)
pub fn repos_get_contributors_stats(
  token: String,
  owner: String,
  repo: String,
) -> Effect(Nil)
pub fn repos_get_custom_deployment_protection_rule(
  token: String,
  owner: String,
  repo: String,
  environment_name: String,
  protection_rule_id: Int,
) -> Effect(DeploymentProtectionRule)
pub fn repos_get_custom_properties_values(
  token: String,
  owner: String,
  repo: String,
) -> Effect(List(CustomPropertyValue))
pub fn repos_get_deploy_key(
  token: String,
  owner: String,
  repo: String,
  key_id: Int,
) -> Effect(DeployKey)
pub fn repos_get_deployment(
  token: String,
  owner: String,
  repo: String,
  deployment_id: Int,
) -> Effect(Deployment)
pub fn repos_get_deployment_branch_policy(
  token: String,
  owner: String,
  repo: String,
  environment_name: String,
  branch_policy_id: Int,
) -> Effect(DeploymentBranchPolicy)
pub fn repos_get_deployment_status(
  token: String,
  owner: String,
  repo: String,
  deployment_id: Int,
  status_id: Int,
) -> Effect(DeploymentStatus)
pub fn repos_get_environment(
  token: String,
  owner: String,
  repo: String,
  environment_name: String,
) -> Effect(Environment)
pub fn repos_get_latest_pages_build(
  token: String,
  owner: String,
  repo: String,
) -> Effect(PageBuild)
pub fn repos_get_latest_release(
  token: String,
  owner: String,
  repo: String,
) -> Effect(Release)
pub fn repos_get_org_rule_suite(
  token: String,
  org: String,
  rule_suite_id: Int,
) -> Effect(RuleSuite)
pub fn repos_get_org_rule_suites(
  token: String,
  org: String,
  ref ref: Option(String),
  repository_name repository_name: Option(Int),
  time_period time_period: Option(String),
  actor_name actor_name: Option(String),
  rule_suite_result rule_suite_result: Option(String),
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(a)
pub fn repos_get_org_ruleset(
  token: String,
  org: String,
  ruleset_id: Int,
) -> Effect(RepositoryRuleset)
pub fn repos_get_org_rulesets(
  token: String,
  org: String,
  per_page per_page: Option(Int),
  page page: Option(Int),
  targets targets: Option(String),
) -> Effect(List(RepositoryRuleset))
pub fn repos_get_pages(
  token: String,
  owner: String,
  repo: String,
) -> Effect(Page)
pub fn repos_get_pages_build(
  token: String,
  owner: String,
  repo: String,
  build_id: Int,
) -> Effect(PageBuild)
pub fn repos_get_pages_deployment(
  token: String,
  owner: String,
  repo: String,
  pages_deployment_id: String,
) -> Effect(PagesDeploymentStatus)
pub fn repos_get_pages_health_check(
  token: String,
  owner: String,
  repo: String,
) -> Effect(PagesHealthCheck)
pub fn repos_get_participation_stats(
  token: String,
  owner: String,
  repo: String,
) -> Effect(ParticipationStats)
pub fn repos_get_pull_request_review_protection(
  token: String,
  owner: String,
  repo: String,
  branch: String,
) -> Effect(ProtectedBranchPullRequestReview)
pub fn repos_get_punch_card_stats(
  token: String,
  owner: String,
  repo: String,
) -> Effect(Nil)
pub fn repos_get_readme(
  token: String,
  owner: String,
  repo: String,
  ref ref: Option(String),
) -> Effect(ContentFile)
pub fn repos_get_readme_in_directory(
  token: String,
  owner: String,
  repo: String,
  dir: String,
  ref ref: Option(String),
) -> Effect(ContentFile)
pub fn repos_get_release(
  token: String,
  owner: String,
  repo: String,
  release_id: Int,
) -> Effect(Release)
pub fn repos_get_release_asset(
  token: String,
  owner: String,
  repo: String,
  asset_id: Int,
) -> Effect(ReleaseAsset)
pub fn repos_get_release_by_tag(
  token: String,
  owner: String,
  repo: String,
  tag: String,
) -> Effect(Release)
pub fn repos_get_repo_rule_suite(
  token: String,
  owner: String,
  repo: String,
  rule_suite_id: Int,
) -> Effect(RuleSuite)
pub fn repos_get_repo_rule_suites(
  token: String,
  owner: String,
  repo: String,
  ref ref: Option(String),
  time_period time_period: Option(String),
  actor_name actor_name: Option(String),
  rule_suite_result rule_suite_result: Option(String),
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(a)
pub fn repos_get_repo_ruleset(
  token: String,
  owner: String,
  repo: String,
  ruleset_id: Int,
  includes_parents includes_parents: Option(Bool),
) -> Effect(RepositoryRuleset)
pub fn repos_get_repo_rulesets(
  token: String,
  owner: String,
  repo: String,
  per_page per_page: Option(Int),
  page page: Option(Int),
  includes_parents includes_parents: Option(Bool),
  targets targets: Option(String),
) -> Effect(List(RepositoryRuleset))
pub fn repos_get_status_checks_protection(
  token: String,
  owner: String,
  repo: String,
  branch: String,
) -> Effect(StatusCheckPolicy)
pub fn repos_get_teams_with_access_to_protected_branch(
  token: String,
  owner: String,
  repo: String,
  branch: String,
) -> Effect(List(Team))
pub fn repos_get_top_paths(
  token: String,
  owner: String,
  repo: String,
) -> Effect(List(ContentTraffic))
pub fn repos_get_top_referrers(
  token: String,
  owner: String,
  repo: String,
) -> Effect(List(ReferrerTraffic))
pub fn repos_get_users_with_access_to_protected_branch(
  token: String,
  owner: String,
  repo: String,
  branch: String,
) -> Effect(List(SimpleUser))
pub fn repos_get_views(
  token: String,
  owner: String,
  repo: String,
  per per: Option(String),
) -> Effect(ViewTraffic)
pub fn repos_get_webhook(
  token: String,
  owner: String,
  repo: String,
  hook_id: Int,
) -> Effect(Hook)
pub fn repos_get_webhook_config_for_repo(
  token: String,
  owner: String,
  repo: String,
  hook_id: Int,
) -> Effect(WebhookConfig)
pub fn repos_get_webhook_delivery(
  token: String,
  owner: String,
  repo: String,
  hook_id: Int,
  delivery_id: Int,
) -> Effect(HookDelivery)
pub fn repos_list_activities(
  token: String,
  owner: String,
  repo: String,
  direction direction: Option(String),
  per_page per_page: Option(Int),
  before before: Option(String),
  after after: Option(String),
  ref ref: Option(String),
  actor actor: Option(String),
  time_period time_period: Option(String),
  activity_type activity_type: Option(String),
) -> Effect(List(Activity))
pub fn repos_list_attestations(
  token: String,
  owner: String,
  repo: String,
  subject_digest: String,
  per_page per_page: Option(Int),
  before before: Option(String),
  after after: Option(String),
) -> Effect(Dynamic)
pub fn repos_list_autolinks(
  token: String,
  owner: String,
  repo: String,
) -> Effect(List(Autolink))
pub fn repos_list_branches(
  token: String,
  owner: String,
  repo: String,
  protected protected: Option(Bool),
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(ShortBranch))
pub fn repos_list_branches_for_head_commit(
  token: String,
  owner: String,
  repo: String,
  commit_sha: String,
) -> Effect(List(BranchShort))
pub fn repos_list_collaborators(
  token: String,
  owner: String,
  repo: String,
  affiliation affiliation: Option(String),
  permission permission: Option(String),
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(Collaborator))
pub fn repos_list_comments_for_commit(
  token: String,
  owner: String,
  repo: String,
  commit_sha: String,
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(CommitComment))
pub fn repos_list_commit_comments_for_repo(
  token: String,
  owner: String,
  repo: String,
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(CommitComment))
pub fn repos_list_commit_statuses_for_ref(
  token: String,
  owner: String,
  repo: String,
  ref: String,
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(Status))
pub fn repos_list_commits(
  token: String,
  owner: String,
  repo: String,
  sha sha: Option(String),
  path_ path_: Option(String),
  author author: Option(String),
  committer committer: Option(String),
  since since: Option(String),
  until until: Option(String),
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(Commit))
pub fn repos_list_contributors(
  token: String,
  owner: String,
  repo: String,
  anon anon: Option(String),
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(Nil)
pub fn repos_list_custom_deployment_rule_integrations(
  token: String,
  owner: String,
  repo: String,
  environment_name: String,
  page page: Option(Int),
  per_page per_page: Option(Int),
) -> Effect(Dynamic)
pub fn repos_list_deploy_keys(
  token: String,
  owner: String,
  repo: String,
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(DeployKey))
pub fn repos_list_deployment_branch_policies(
  token: String,
  owner: String,
  repo: String,
  environment_name: String,
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(Dynamic)
pub fn repos_list_deployment_statuses(
  token: String,
  owner: String,
  repo: String,
  deployment_id: Int,
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(DeploymentStatus))
pub fn repos_list_deployments(
  token: String,
  owner: String,
  repo: String,
  sha sha: Option(String),
  ref ref: Option(String),
  task task: Option(String),
  environment environment: Option(String),
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(Deployment))
pub fn repos_list_for_authenticated_user(
  token: String,
  visibility visibility: Option(String),
  affiliation affiliation: Option(String),
  type_ type_: Option(String),
  sort sort: Option(String),
  direction direction: Option(String),
  per_page per_page: Option(Int),
  page page: Option(Int),
  since since: Option(String),
  before before: Option(String),
) -> Effect(List(Repository))
pub fn repos_list_for_org(
  token: String,
  org: String,
  type_ type_: Option(String),
  sort sort: Option(String),
  direction direction: Option(String),
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(MinimalRepository))
pub fn repos_list_for_user(
  token: String,
  username: String,
  type_ type_: Option(String),
  sort sort: Option(String),
  direction direction: Option(String),
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(MinimalRepository))
pub fn repos_list_forks(
  token: String,
  owner: String,
  repo: String,
  sort sort: Option(String),
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(MinimalRepository))
pub fn repos_list_invitations(
  token: String,
  owner: String,
  repo: String,
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(RepositoryInvitation))
pub fn repos_list_invitations_for_authenticated_user(
  token: String,
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(RepositoryInvitation))
pub fn repos_list_languages(
  token: String,
  owner: String,
  repo: String,
) -> Effect(Language)
pub fn repos_list_pages_builds(
  token: String,
  owner: String,
  repo: String,
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(PageBuild))
pub fn repos_list_public(
  token: String,
  since since: Option(Int),
) -> Effect(List(MinimalRepository))
pub fn repos_list_pull_requests_associated_with_commit(
  token: String,
  owner: String,
  repo: String,
  commit_sha: String,
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(PullRequestSimple))
pub fn repos_list_release_assets(
  token: String,
  owner: String,
  repo: String,
  release_id: Int,
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(ReleaseAsset))
pub fn repos_list_releases(
  token: String,
  owner: String,
  repo: String,
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(Release))
pub fn repos_list_tag_protection(
  token: String,
  owner: String,
  repo: String,
) -> Effect(List(TagProtection))
pub fn repos_list_tags(
  token: String,
  owner: String,
  repo: String,
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(Tag))
pub fn repos_list_teams(
  token: String,
  owner: String,
  repo: String,
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(Team))
pub fn repos_list_webhook_deliveries(
  token: String,
  owner: String,
  repo: String,
  hook_id: Int,
  per_page per_page: Option(Int),
  cursor cursor: Option(String),
) -> Effect(List(HookDeliveryItem))
pub fn repos_list_webhooks(
  token: String,
  owner: String,
  repo: String,
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(Hook))
pub fn repos_merge(
  token: String,
  owner: String,
  repo: String,
  data: BitArray,
) -> Effect(Nil)
pub fn repos_merge_upstream(
  token: String,
  owner: String,
  repo: String,
  data: BitArray,
) -> Effect(MergedUpstream)
pub fn repos_ping_webhook(
  token: String,
  owner: String,
  repo: String,
  hook_id: Int,
) -> Effect(Nil)
pub fn repos_redeliver_webhook_delivery(
  token: String,
  owner: String,
  repo: String,
  hook_id: Int,
  delivery_id: Int,
) -> Effect(Dynamic)
pub fn repos_remove_app_access_restrictions(
  token: String,
  owner: String,
  repo: String,
  branch: String,
  data: BitArray,
) -> Effect(List(Integration))
pub fn repos_remove_collaborator(
  token: String,
  owner: String,
  repo: String,
  username: String,
) -> Effect(Nil)
pub fn repos_remove_status_check_contexts(
  token: String,
  owner: String,
  repo: String,
  branch: String,
) -> Effect(Nil)
pub fn repos_remove_status_check_protection(
  token: String,
  owner: String,
  repo: String,
  branch: String,
) -> Effect(Nil)
pub fn repos_remove_team_access_restrictions(
  token: String,
  owner: String,
  repo: String,
  branch: String,
) -> Effect(List(Team))
pub fn repos_remove_user_access_restrictions(
  token: String,
  owner: String,
  repo: String,
  branch: String,
  data: BitArray,
) -> Effect(List(SimpleUser))
pub fn repos_rename_branch(
  token: String,
  owner: String,
  repo: String,
  branch: String,
  data: BitArray,
) -> Effect(BranchWithProtection)
pub fn repos_replace_all_topics(
  token: String,
  owner: String,
  repo: String,
  data: BitArray,
) -> Effect(Topic)
pub fn repos_request_pages_build(
  token: String,
  owner: String,
  repo: String,
) -> Effect(PageBuildStatus)
pub fn repos_set_admin_branch_protection(
  token: String,
  owner: String,
  repo: String,
  branch: String,
) -> Effect(ProtectedBranchAdminEnforced)
pub fn repos_set_app_access_restrictions(
  token: String,
  owner: String,
  repo: String,
  branch: String,
  data: BitArray,
) -> Effect(List(Integration))
pub fn repos_set_status_check_contexts(
  token: String,
  owner: String,
  repo: String,
  branch: String,
) -> Effect(Nil)
pub fn repos_set_team_access_restrictions(
  token: String,
  owner: String,
  repo: String,
  branch: String,
) -> Effect(List(Team))
pub fn repos_set_user_access_restrictions(
  token: String,
  owner: String,
  repo: String,
  branch: String,
  data: BitArray,
) -> Effect(List(SimpleUser))
pub fn repos_test_push_webhook(
  token: String,
  owner: String,
  repo: String,
  hook_id: Int,
) -> Effect(Nil)
pub fn repos_transfer(
  token: String,
  owner: String,
  repo: String,
  data: BitArray,
) -> Effect(MinimalRepository)
pub fn repos_update(
  token: String,
  owner: String,
  repo: String,
  data: BitArray,
) -> Effect(FullRepository)
pub fn repos_update_branch_protection(
  token: String,
  owner: String,
  repo: String,
  branch: String,
  data: BitArray,
) -> Effect(ProtectedBranch)
pub fn repos_update_commit_comment(
  token: String,
  owner: String,
  repo: String,
  comment_id: Int,
  data: BitArray,
) -> Effect(CommitComment)
pub fn repos_update_deployment_branch_policy(
  token: String,
  owner: String,
  repo: String,
  environment_name: String,
  branch_policy_id: Int,
  deployment_branch_policy_name_pattern: DeploymentBranchPolicyNamePattern,
) -> Effect(DeploymentBranchPolicy)
pub fn repos_update_information_about_pages_site(
  token: String,
  owner: String,
  repo: String,
  data: BitArray,
) -> Effect(Nil)
pub fn repos_update_invitation(
  token: String,
  owner: String,
  repo: String,
  invitation_id: Int,
  data: BitArray,
) -> Effect(RepositoryInvitation)
pub fn repos_update_org_ruleset(
  token: String,
  org: String,
  ruleset_id: Int,
  data: BitArray,
) -> Effect(RepositoryRuleset)
pub fn repos_update_pull_request_review_protection(
  token: String,
  owner: String,
  repo: String,
  branch: String,
  data: BitArray,
) -> Effect(ProtectedBranchPullRequestReview)
pub fn repos_update_release(
  token: String,
  owner: String,
  repo: String,
  release_id: Int,
  data: BitArray,
) -> Effect(Release)
pub fn repos_update_release_asset(
  token: String,
  owner: String,
  repo: String,
  asset_id: Int,
  data: BitArray,
) -> Effect(ReleaseAsset)
pub fn repos_update_repo_ruleset(
  token: String,
  owner: String,
  repo: String,
  ruleset_id: Int,
  data: BitArray,
) -> Effect(RepositoryRuleset)
pub fn repos_update_status_check_protection(
  token: String,
  owner: String,
  repo: String,
  branch: String,
  data: BitArray,
) -> Effect(StatusCheckPolicy)
pub fn repos_update_webhook(
  token: String,
  owner: String,
  repo: String,
  hook_id: Int,
  data: BitArray,
) -> Effect(Hook)
pub fn repos_update_webhook_config_for_repo(
  token: String,
  owner: String,
  repo: String,
  hook_id: Int,
  data: BitArray,
) -> Effect(WebhookConfig)
pub fn repos_upload_release_asset(
  token: String,
  owner: String,
  repo: String,
  release_id: Int,
  name name: String,
  label label: Option(String),
) -> Effect(ReleaseAsset)
pub fn search_code(
  token: String,
  q q: String,
  sort sort: Option(String),
  order order: Option(String),
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(Dynamic)
pub fn search_commits(
  token: String,
  q q: String,
  sort sort: Option(String),
  order order: Option(String),
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(Dynamic)
pub fn search_issues_and_pull_requests(
  token: String,
  q q: String,
  sort sort: Option(String),
  order order: Option(String),
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(Dynamic)
pub fn search_labels(
  token: String,
  repository_id repository_id: Int,
  q q: String,
  sort sort: Option(String),
  order order: Option(String),
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(Dynamic)
pub fn search_repos(
  token: String,
  q q: String,
  sort sort: Option(String),
  order order: Option(String),
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(Dynamic)
pub fn search_topics(
  token: String,
  q q: String,
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(Dynamic)
pub fn search_users(
  token: String,
  q q: String,
  sort sort: Option(String),
  order order: Option(String),
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(Dynamic)
pub fn secret_scanning_create_push_protection_bypass(
  token: String,
  owner: String,
  repo: String,
  data: BitArray,
) -> Effect(SecretScanningPushProtectionBypass)
pub fn secret_scanning_get_alert(
  token: String,
  owner: String,
  repo: String,
  alert_number: Int,
) -> Effect(SecretScanningAlert)
pub fn secret_scanning_list_alerts_for_enterprise(
  token: String,
  enterprise: String,
  state state: Option(String),
  secret_type secret_type: Option(String),
  resolution resolution: Option(String),
  sort sort: Option(String),
  direction direction: Option(String),
  per_page per_page: Option(Int),
  before before: Option(String),
  after after: Option(String),
  validity validity: Option(String),
  is_publicly_leaked is_publicly_leaked: Option(Bool),
  is_multi_repo is_multi_repo: Option(Bool),
) -> Effect(List(OrganizationSecretScanningAlert))
pub fn secret_scanning_list_alerts_for_org(
  token: String,
  org: String,
  state state: Option(String),
  secret_type secret_type: Option(String),
  resolution resolution: Option(String),
  sort sort: Option(String),
  direction direction: Option(String),
  page page: Option(Int),
  per_page per_page: Option(Int),
  before before: Option(String),
  after after: Option(String),
  validity validity: Option(String),
  is_publicly_leaked is_publicly_leaked: Option(Bool),
  is_multi_repo is_multi_repo: Option(Bool),
) -> Effect(List(OrganizationSecretScanningAlert))
pub fn secret_scanning_list_alerts_for_repo(
  token: String,
  owner: String,
  repo: String,
  state state: Option(String),
  secret_type secret_type: Option(String),
  resolution resolution: Option(String),
  sort sort: Option(String),
  direction direction: Option(String),
  page page: Option(Int),
  per_page per_page: Option(Int),
  before before: Option(String),
  after after: Option(String),
  validity validity: Option(String),
  is_publicly_leaked is_publicly_leaked: Option(Bool),
  is_multi_repo is_multi_repo: Option(Bool),
) -> Effect(List(SecretScanningAlert))
pub fn secret_scanning_list_locations_for_alert(
  token: String,
  owner: String,
  repo: String,
  alert_number: Int,
  page page: Option(Int),
  per_page per_page: Option(Int),
) -> Effect(List(SecretScanningLocation))
pub fn secret_scanning_update_alert(
  token: String,
  owner: String,
  repo: String,
  alert_number: Int,
  data: BitArray,
) -> Effect(SecretScanningAlert)
pub fn security_advisories_create_fork(
  token: String,
  owner: String,
  repo: String,
  ghsa_id: String,
) -> Effect(FullRepository)
pub fn security_advisories_create_private_vulnerability_report(
  token: String,
  owner: String,
  repo: String,
  private_vulnerability_report_create: PrivateVulnerabilityReportCreate,
) -> Effect(RepositoryAdvisory)
pub fn security_advisories_create_repository_advisory(
  token: String,
  owner: String,
  repo: String,
  repository_advisory_create: RepositoryAdvisoryCreate,
) -> Effect(RepositoryAdvisory)
pub fn security_advisories_create_repository_advisory_cve_request(
  token: String,
  owner: String,
  repo: String,
  ghsa_id: String,
) -> Effect(Dynamic)
pub fn security_advisories_get_global_advisory(
  token: String,
  ghsa_id: String,
) -> Effect(GlobalAdvisory)
pub fn security_advisories_get_repository_advisory(
  token: String,
  owner: String,
  repo: String,
  ghsa_id: String,
) -> Effect(RepositoryAdvisory)
pub fn security_advisories_list_global_advisories(
  token: String,
  ghsa_id ghsa_id: Option(String),
  type_ type_: Option(String),
  cve_id cve_id: Option(String),
  ecosystem ecosystem: Option(String),
  severity severity: Option(String),
  cwes cwes: a,
  is_withdrawn is_withdrawn: Option(Bool),
  affects affects: b,
  published published: Option(String),
  updated updated: Option(String),
  modified modified: Option(String),
  epss_percentage epss_percentage: Option(String),
  epss_percentile epss_percentile: Option(String),
  before before: Option(String),
  after after: Option(String),
  direction direction: Option(String),
  per_page per_page: Option(Int),
  sort sort: Option(String),
) -> Effect(List(GlobalAdvisory))
pub fn security_advisories_list_org_repository_advisories(
  token: String,
  org: String,
  direction direction: Option(String),
  sort sort: Option(String),
  before before: Option(String),
  after after: Option(String),
  per_page per_page: Option(Int),
  state state: Option(String),
) -> Effect(List(RepositoryAdvisory))
pub fn security_advisories_list_repository_advisories(
  token: String,
  owner: String,
  repo: String,
  direction direction: Option(String),
  sort sort: Option(String),
  before before: Option(String),
  after after: Option(String),
  per_page per_page: Option(Int),
  state state: Option(String),
) -> Effect(List(RepositoryAdvisory))
pub fn security_advisories_update_repository_advisory(
  token: String,
  owner: String,
  repo: String,
  ghsa_id: String,
  repository_advisory_update: RepositoryAdvisoryUpdate,
) -> Effect(RepositoryAdvisory)
pub fn teams_add_member_legacy(
  token: String,
  team_id: Int,
  username: String,
) -> Effect(Nil)
pub fn teams_add_or_update_membership_for_user_in_org(
  token: String,
  org: String,
  team_slug: String,
  username: String,
  data: BitArray,
) -> Effect(TeamMembership)
pub fn teams_add_or_update_membership_for_user_legacy(
  token: String,
  team_id: Int,
  username: String,
  data: BitArray,
) -> Effect(TeamMembership)
pub fn teams_add_or_update_project_permissions_in_org(
  token: String,
  org: String,
  team_slug: String,
  project_id: Int,
  data: BitArray,
) -> Effect(Nil)
pub fn teams_add_or_update_project_permissions_legacy(
  token: String,
  team_id: Int,
  project_id: Int,
  data: BitArray,
) -> Effect(Nil)
pub fn teams_add_or_update_repo_permissions_in_org(
  token: String,
  org: String,
  team_slug: String,
  owner: String,
  repo: String,
  data: BitArray,
) -> Effect(Nil)
pub fn teams_add_or_update_repo_permissions_legacy(
  token: String,
  team_id: Int,
  owner: String,
  repo: String,
  data: BitArray,
) -> Effect(Nil)
pub fn teams_check_permissions_for_project_in_org(
  token: String,
  org: String,
  team_slug: String,
  project_id: Int,
) -> Effect(TeamProject)
pub fn teams_check_permissions_for_project_legacy(
  token: String,
  team_id: Int,
  project_id: Int,
) -> Effect(TeamProject)
pub fn teams_check_permissions_for_repo_in_org(
  token: String,
  org: String,
  team_slug: String,
  owner: String,
  repo: String,
) -> Effect(Nil)
pub fn teams_check_permissions_for_repo_legacy(
  token: String,
  team_id: Int,
  owner: String,
  repo: String,
) -> Effect(Nil)
pub fn teams_create(
  token: String,
  org: String,
  data: BitArray,
) -> Effect(TeamFull)
pub fn teams_create_discussion_comment_in_org(
  token: String,
  org: String,
  team_slug: String,
  discussion_number: Int,
  data: BitArray,
) -> Effect(TeamDiscussionComment)
pub fn teams_create_discussion_comment_legacy(
  token: String,
  team_id: Int,
  discussion_number: Int,
  data: BitArray,
) -> Effect(TeamDiscussionComment)
pub fn teams_create_discussion_in_org(
  token: String,
  org: String,
  team_slug: String,
  data: BitArray,
) -> Effect(TeamDiscussion)
pub fn teams_create_discussion_legacy(
  token: String,
  team_id: Int,
  data: BitArray,
) -> Effect(TeamDiscussion)
pub fn teams_delete_discussion_comment_in_org(
  token: String,
  org: String,
  team_slug: String,
  discussion_number: Int,
  comment_number: Int,
) -> Effect(Nil)
pub fn teams_delete_discussion_comment_legacy(
  token: String,
  team_id: Int,
  discussion_number: Int,
  comment_number: Int,
) -> Effect(Nil)
pub fn teams_delete_discussion_in_org(
  token: String,
  org: String,
  team_slug: String,
  discussion_number: Int,
) -> Effect(Nil)
pub fn teams_delete_discussion_legacy(
  token: String,
  team_id: Int,
  discussion_number: Int,
) -> Effect(Nil)
pub fn teams_delete_in_org(
  token: String,
  org: String,
  team_slug: String,
) -> Effect(Nil)
pub fn teams_delete_legacy(
  token: String,
  team_id: Int,
) -> Effect(Nil)
pub fn teams_get_by_name(
  token: String,
  org: String,
  team_slug: String,
) -> Effect(TeamFull)
pub fn teams_get_discussion_comment_in_org(
  token: String,
  org: String,
  team_slug: String,
  discussion_number: Int,
  comment_number: Int,
) -> Effect(TeamDiscussionComment)
pub fn teams_get_discussion_comment_legacy(
  token: String,
  team_id: Int,
  discussion_number: Int,
  comment_number: Int,
) -> Effect(TeamDiscussionComment)
pub fn teams_get_discussion_in_org(
  token: String,
  org: String,
  team_slug: String,
  discussion_number: Int,
) -> Effect(TeamDiscussion)
pub fn teams_get_discussion_legacy(
  token: String,
  team_id: Int,
  discussion_number: Int,
) -> Effect(TeamDiscussion)
pub fn teams_get_legacy(
  token: String,
  team_id: Int,
) -> Effect(TeamFull)
pub fn teams_get_member_legacy(
  token: String,
  team_id: Int,
  username: String,
) -> Effect(Nil)
pub fn teams_get_membership_for_user_in_org(
  token: String,
  org: String,
  team_slug: String,
  username: String,
) -> Effect(TeamMembership)
pub fn teams_get_membership_for_user_legacy(
  token: String,
  team_id: Int,
  username: String,
) -> Effect(TeamMembership)
pub fn teams_list(
  token: String,
  org: String,
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(Team))
pub fn teams_list_child_in_org(
  token: String,
  org: String,
  team_slug: String,
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(Team))
pub fn teams_list_child_legacy(
  token: String,
  team_id: Int,
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(Team))
pub fn teams_list_discussion_comments_in_org(
  token: String,
  org: String,
  team_slug: String,
  discussion_number: Int,
  direction direction: Option(String),
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(TeamDiscussionComment))
pub fn teams_list_discussion_comments_legacy(
  token: String,
  team_id: Int,
  discussion_number: Int,
  direction direction: Option(String),
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(TeamDiscussionComment))
pub fn teams_list_discussions_in_org(
  token: String,
  org: String,
  team_slug: String,
  direction direction: Option(String),
  per_page per_page: Option(Int),
  page page: Option(Int),
  pinned pinned: Option(String),
) -> Effect(List(TeamDiscussion))
pub fn teams_list_discussions_legacy(
  token: String,
  team_id: Int,
  direction direction: Option(String),
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(TeamDiscussion))
pub fn teams_list_for_authenticated_user(
  token: String,
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(TeamFull))
pub fn teams_list_members_in_org(
  token: String,
  org: String,
  team_slug: String,
  role role: Option(String),
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(SimpleUser))
pub fn teams_list_members_legacy(
  token: String,
  team_id: Int,
  role role: Option(String),
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(SimpleUser))
pub fn teams_list_pending_invitations_in_org(
  token: String,
  org: String,
  team_slug: String,
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(OrganizationInvitation))
pub fn teams_list_pending_invitations_legacy(
  token: String,
  team_id: Int,
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(OrganizationInvitation))
pub fn teams_list_projects_in_org(
  token: String,
  org: String,
  team_slug: String,
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(TeamProject))
pub fn teams_list_projects_legacy(
  token: String,
  team_id: Int,
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(TeamProject))
pub fn teams_list_repos_in_org(
  token: String,
  org: String,
  team_slug: String,
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(MinimalRepository))
pub fn teams_list_repos_legacy(
  token: String,
  team_id: Int,
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(MinimalRepository))
pub fn teams_remove_member_legacy(
  token: String,
  team_id: Int,
  username: String,
) -> Effect(Nil)
pub fn teams_remove_membership_for_user_in_org(
  token: String,
  org: String,
  team_slug: String,
  username: String,
) -> Effect(Nil)
pub fn teams_remove_membership_for_user_legacy(
  token: String,
  team_id: Int,
  username: String,
) -> Effect(Nil)
pub fn teams_remove_project_in_org(
  token: String,
  org: String,
  team_slug: String,
  project_id: Int,
) -> Effect(Nil)
pub fn teams_remove_project_legacy(
  token: String,
  team_id: Int,
  project_id: Int,
) -> Effect(Nil)
pub fn teams_remove_repo_in_org(
  token: String,
  org: String,
  team_slug: String,
  owner: String,
  repo: String,
) -> Effect(Nil)
pub fn teams_remove_repo_legacy(
  token: String,
  team_id: Int,
  owner: String,
  repo: String,
) -> Effect(Nil)
pub fn teams_update_discussion_comment_in_org(
  token: String,
  org: String,
  team_slug: String,
  discussion_number: Int,
  comment_number: Int,
  data: BitArray,
) -> Effect(TeamDiscussionComment)
pub fn teams_update_discussion_comment_legacy(
  token: String,
  team_id: Int,
  discussion_number: Int,
  comment_number: Int,
  data: BitArray,
) -> Effect(TeamDiscussionComment)
pub fn teams_update_discussion_in_org(
  token: String,
  org: String,
  team_slug: String,
  discussion_number: Int,
  data: BitArray,
) -> Effect(TeamDiscussion)
pub fn teams_update_discussion_legacy(
  token: String,
  team_id: Int,
  discussion_number: Int,
  data: BitArray,
) -> Effect(TeamDiscussion)
pub fn teams_update_in_org(
  token: String,
  org: String,
  team_slug: String,
  data: BitArray,
) -> Effect(TeamFull)
pub fn teams_update_legacy(
  token: String,
  team_id: Int,
  data: BitArray,
) -> Effect(TeamFull)
pub fn token_request(
  client_id: String,
  client_secret: String,
  redirect_uri: String,
  code: String,
  state: a,
) -> Request(BitArray)
pub fn token_response(
  response: Response(BitArray),
) -> Result(String, Snag)
pub fn users_add_email_for_authenticated_user(
  token: String,
) -> Effect(List(Email))
pub fn users_add_social_account_for_authenticated_user(
  token: String,
  data: BitArray,
) -> Effect(List(SocialAccount))
pub fn users_block(
  token: String,
  username: String,
) -> Effect(Nil)
pub fn users_check_blocked(
  token: String,
  username: String,
) -> Effect(Nil)
pub fn users_check_following_for_user(
  token: String,
  username: String,
  target_user: String,
) -> Effect(Nil)
pub fn users_check_person_is_followed_by_authenticated(
  token: String,
  username: String,
) -> Effect(Nil)
pub fn users_create_gpg_key_for_authenticated_user(
  token: String,
  data: BitArray,
) -> Effect(GpgKey)
pub fn users_create_public_ssh_key_for_authenticated_user(
  token: String,
  data: BitArray,
) -> Effect(Key)
pub fn users_create_ssh_signing_key_for_authenticated_user(
  token: String,
  data: BitArray,
) -> Effect(SshSigningKey)
pub fn users_delete_email_for_authenticated_user(
  token: String,
) -> Effect(Nil)
pub fn users_delete_gpg_key_for_authenticated_user(
  token: String,
  gpg_key_id: Int,
) -> Effect(Nil)
pub fn users_delete_public_ssh_key_for_authenticated_user(
  token: String,
  key_id: Int,
) -> Effect(Nil)
pub fn users_delete_social_account_for_authenticated_user(
  token: String,
  data: BitArray,
) -> Effect(Nil)
pub fn users_delete_ssh_signing_key_for_authenticated_user(
  token: String,
  ssh_signing_key_id: Int,
) -> Effect(Nil)
pub fn users_follow(
  token: String,
  username: String,
) -> Effect(Nil)
pub fn users_get_authenticated(token: String) -> Effect(Nil)
pub fn users_get_by_id(
  token: String,
  account_id: Int,
) -> Effect(Nil)
pub fn users_get_by_username(
  token: String,
  username: String,
) -> Effect(Nil)
pub fn users_get_context_for_user(
  token: String,
  username: String,
  subject_type subject_type: Option(String),
  subject_id subject_id: Option(String),
) -> Effect(Hovercard)
pub fn users_get_gpg_key_for_authenticated_user(
  token: String,
  gpg_key_id: Int,
) -> Effect(GpgKey)
pub fn users_get_public_ssh_key_for_authenticated_user(
  token: String,
  key_id: Int,
) -> Effect(Key)
pub fn users_get_ssh_signing_key_for_authenticated_user(
  token: String,
  ssh_signing_key_id: Int,
) -> Effect(SshSigningKey)
pub fn users_list(
  token: String,
  since since: Option(Int),
  per_page per_page: Option(Int),
) -> Effect(List(SimpleUser))
pub fn users_list_attestations(
  token: String,
  username: String,
  subject_digest: String,
  per_page per_page: Option(Int),
  before before: Option(String),
  after after: Option(String),
) -> Effect(Nil)
pub fn users_list_blocked_by_authenticated_user(
  token: String,
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(SimpleUser))
pub fn users_list_emails_for_authenticated_user(
  token: String,
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(Email))
pub fn users_list_followed_by_authenticated_user(
  token: String,
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(SimpleUser))
pub fn users_list_followers_for_authenticated_user(
  token: String,
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(SimpleUser))
pub fn users_list_followers_for_user(
  token: String,
  username: String,
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(SimpleUser))
pub fn users_list_following_for_user(
  token: String,
  username: String,
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(SimpleUser))
pub fn users_list_gpg_keys_for_authenticated_user(
  token: String,
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(GpgKey))
pub fn users_list_gpg_keys_for_user(
  token: String,
  username: String,
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(GpgKey))
pub fn users_list_public_emails_for_authenticated_user(
  token: String,
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(Email))
pub fn users_list_public_keys_for_user(
  token: String,
  username: String,
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(KeySimple))
pub fn users_list_public_ssh_keys_for_authenticated_user(
  token: String,
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(Key))
pub fn users_list_social_accounts_for_authenticated_user(
  token: String,
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(SocialAccount))
pub fn users_list_social_accounts_for_user(
  token: String,
  username: String,
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(SocialAccount))
pub fn users_list_ssh_signing_keys_for_authenticated_user(
  token: String,
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(SshSigningKey))
pub fn users_list_ssh_signing_keys_for_user(
  token: String,
  username: String,
  per_page per_page: Option(Int),
  page page: Option(Int),
) -> Effect(List(SshSigningKey))
pub fn users_set_primary_email_visibility_for_authenticated_user(
  token: String,
  data: BitArray,
) -> Effect(List(Email))
pub fn users_unblock(
  token: String,
  username: String,
) -> Effect(Nil)
pub fn users_unfollow(
  token: String,
  username: String,
) -> Effect(Nil)
pub fn users_update_authenticated(
  token: String,
  data: BitArray,
) -> Effect(PrivateUser)
Search Document