import * as API from "@distilled.cloud/core/api"; import * as C from "@distilled.cloud/core/category"; // AUTO-GENERATED by scripts/generate.ts from .generated-specs (specs/spec-mirror-forgejo). Do not edit. import * as S from "@distilled.cloud/core/schema-lite"; import * as __L from "@distilled.cloud/core/schema-lite"; import type * as Redacted from "effect/Redacted"; import { ForgejoServiceErrors } from "../errors.ts"; import { ForgejoProtocol, type ForgejoOpError, type ForgejoOpContext } from "../protocol.ts"; import * as Retry from "../retry.ts"; import * as T from "../traits.ts"; // Schema table, filled on first reach (see __S at the end). const __s: any[] = []; export type { ForgejoOpError, ForgejoOpContext }; /** Span facts shared by every operation (com.distilled.telemetry#service). */ const TELEMETRY = { system: "forgejo-api", responseHeaders: [ { header: "x-request-id", name: "http.response.header.x-request-id", transform: "list" }, { header: "request-id", name: "http.response.header.request-id", transform: "list" }, ], prefix: "Forgejo", service: "ForgejoUser", labels: "forgejo", propagate: "w3c", } as const; export class BadRequest extends /*@__PURE__*/ T.applyErrorMatchers( /*@__PURE__*/ S.TaggedError()("BadRequest", { code: S.Number, message: S.String, body: /*@__PURE__*/ S.optional( /*@__PURE__*/ S.Union([/*@__PURE__*/ S.suspend(() => __S(0, __c0, 0)), S.String]), ), headers: /*@__PURE__*/ S.optional(/*@__PURE__*/ S.Record(S.String, S.String)), }).pipe(C.withBadRequestError), [{ status: 400 }], ) { declare readonly body?: APIError | string; } export class Forbidden extends /*@__PURE__*/ T.applyErrorMatchers( /*@__PURE__*/ S.TaggedError()("Forbidden", { code: S.Number, message: S.String, body: /*@__PURE__*/ S.optional( /*@__PURE__*/ S.Union([/*@__PURE__*/ S.suspend(() => __S(0, __c0, 0)), S.String]), ), headers: /*@__PURE__*/ S.optional(/*@__PURE__*/ S.Record(S.String, S.String)), }).pipe(C.withAuthError), [{ status: 403 }], ) { declare readonly body?: APIForbiddenError | string; } export class NotFound extends /*@__PURE__*/ T.applyErrorMatchers( /*@__PURE__*/ S.TaggedError()("NotFound", { code: S.Number, message: S.String, body: /*@__PURE__*/ S.optional( /*@__PURE__*/ S.Union([/*@__PURE__*/ S.suspend(() => __S(256, __c16, 0)), S.String]), ), headers: /*@__PURE__*/ S.optional(/*@__PURE__*/ S.Record(S.String, S.String)), }).pipe(C.withBadRequestError), [{ status: 404 }], ) { declare readonly body?: APINotFound | string; } export class UnprocessableEntity extends /*@__PURE__*/ T.applyErrorMatchers( /*@__PURE__*/ S.TaggedError()("UnprocessableEntity", { code: S.Number, message: S.String, body: /*@__PURE__*/ S.optional( /*@__PURE__*/ S.Union([ /*@__PURE__*/ S.suspend(() => __S(0, __c0, 0)), /*@__PURE__*/ S.suspend(() => __S(0, __c0, 0)), S.String, ]), ), headers: /*@__PURE__*/ S.optional(/*@__PURE__*/ S.Record(S.String, S.String)), }).pipe(C.withBadRequestError), [{ status: 422 }], ) { declare readonly body?: APIValidationError | APIError | string; } export interface CreateUserVariableRequest { /** name of the variable */ variablename: string; /** Value of the variable to create. Special characters will be retained. Line endings will be normalized to LF to match the behaviour of browsers. Encode the data with Base64 if line endings should be retained. */ value: string; } export interface CreateUserVariableResponse {} export interface DeleteUserRunnerRequest { /** ID of the runner */ runner_id: string; } export interface DeleteUserRunnerResponse {} export interface DeleteUserSecretRequest { /** name of the secret */ secretname: string; } export interface DeleteUserSecretResponse {} export interface DeleteUserVariableRequest { /** name of the variable */ variablename: string; } export interface DeleteUserVariableResponse {} export interface FollowUserCurrentActivityPubRequest { target?: string | undefined; } export interface FollowUserCurrentActivityPubResponse {} export interface GetUserRequest { /** username of user to get */ username: string; } /** User represents a user */ export interface User { /** Is user active */ active?: boolean | undefined; /** URL to the user's avatar */ avatar_url?: string | undefined; created?: string | undefined; /** the user's description */ description?: string | undefined; email?: string | undefined; /** user counts */ followers_count?: number | undefined; following_count?: number | undefined; /** the user's full name */ full_name?: string | undefined; /** URL to the user's profile page */ html_url?: string | undefined; /** the user's id */ id: number; /** Is the user an administrator */ is_admin?: boolean | undefined; /** User locale */ language?: string | undefined; last_login?: string | undefined; /** the user's location */ location?: string | undefined; /** the user's username */ login: string; /** the user's authentication sign-in name. */ login_name?: string | undefined; /** Is user login prohibited */ prohibit_login?: boolean | undefined; /** the user's pronouns */ pronouns?: string | undefined; /** Is user restricted */ restricted?: boolean | undefined; /** The ID of the user's Authentication Source */ source_id?: number | undefined; starred_repos_count?: number | undefined; /** User visibility level option: public, limited, private */ visibility?: string | undefined; /** the user's website */ website?: string | undefined; } export interface GetUserRunnerRequest { /** ID of the runner */ runner_id: string; } /** Labels is a list of labels attached to this runner. */ export type ActionRunnerLabelsList = Array; /** Status indicates whether this runner is offline, or active, for example. */ export type ActionRunnerStatus = "offline" | "idle" | "active"; /** ActionRunner represents a runner */ export interface ActionRunner { /** Description provides optional details about this runner. */ description?: string | undefined; /** Indicates if runner is ephemeral runner */ ephemeral?: boolean | undefined; /** ID uniquely identifies this runner. */ id?: number | undefined; /** Labels is a list of labels attached to this runner. */ labels?: ActionRunnerLabelsList | undefined; /** Name of the runner; not unique. */ name?: string | undefined; /** OwnerID is the identifier of the user or organization this runner belongs to. O if the runner is owned by a repository. */ owner_id?: number | undefined; /** RepoID is the identifier of the repository this runner belongs to. 0 if the runner belongs to a user or organization. */ repo_id?: number | undefined; /** Status indicates whether this runner is offline, or active, for example. */ status?: ActionRunnerStatus | undefined; /** UUID uniquely identifies this runner. */ uuid?: string | undefined; /** Version is the self-reported version string of Forgejo Runner. */ version?: string | undefined; } export interface GetUserRunnersRequest { /** whether to include all visible runners (true) or only those that are directly owned by the user (false) */ visible?: boolean | undefined; /** page number of results to return (1-based) */ page?: number | undefined; /** page size of results */ limit?: number | undefined; } export type GetUserRunnersResponseBodyList = Array; export type GetUserRunnersResponse = GetUserRunnersResponseBodyList; export interface GetUserSettingsRequest {} /** UserSettings represents user settings */ export interface UserSettings { description?: string | undefined; diff_view_style?: string | undefined; enable_repo_unit_hints?: boolean | undefined; full_name?: string | undefined; hide_activity?: boolean | undefined; /** Privacy */ hide_email?: boolean | undefined; hide_pronouns?: boolean | undefined; language?: string | undefined; location?: string | undefined; pronouns?: string | undefined; theme?: string | undefined; website?: string | undefined; } export interface GetUserVariableRequest { /** name of the variable */ variablename: string; } /** ActionVariable return value of the query API */ export interface ActionVariable { /** the value of the variable */ data: string; /** the name of the variable */ name: string; /** the owner to which the variable belongs */ owner_id?: number | undefined; /** the repository to which the variable belongs */ repo_id?: number | undefined; } export interface GetUserVariablesListRequest { /** page number of results to return (1-based) */ page?: number | undefined; /** page size of results */ limit?: number | undefined; } export type GetUserVariablesListResponseBodyList = Array; export type GetUserVariablesListResponse = GetUserVariablesListResponseBodyList; export interface GetVerificationTokenRequest {} export type GetVerificationTokenResponse = string; export interface RegisterUserRunnerRequest { /** Description of the runner to register. */ description?: string | undefined; /** Register as ephemeral runner https://forgejo.org/docs/latest/admin/actions/security/#ephemeral-runner */ ephemeral?: boolean | undefined; /** Name of the runner to register. The name of the runner does not have to be unique. */ name: string; } export interface RegisterRunnerResponse { id?: number | undefined; token?: string | Redacted.Redacted | undefined; uuid?: string | undefined; } export type SearchUserRequestSort = | "oldest" | "newest" | "alphabetically" | "reversealphabetically" | "recentupdate" | "leastupdate"; export interface SearchUserRequest { /** keyword */ q?: string | undefined; /** ID of the user to search for */ uid?: number | undefined; /** sort order of results */ sort?: SearchUserRequestSort | (string & {}) | undefined; /** page number of results to return (1-based) */ page?: number | undefined; /** page size of results */ limit?: number | undefined; } export type SearchUserResponseDataList = Array; export interface SearchUserResponse { data?: SearchUserResponseDataList | undefined; ok?: boolean | undefined; } export interface UnblockUserRequest { /** username of the user */ username: string; } export interface UnblockUserResponse {} export interface UpdateUserSecretRequest { /** name of the secret */ secretname: string; /** Data of the secret. Special characters will be retained. Line endings will be normalized to LF to match the behaviour of browsers. Encode the data with Base64 if line endings should be retained. */ data: string | Redacted.Redacted; } export interface UpdateUserSecretResponse {} export interface UpdateUserSettingsRequest { description?: string | undefined; diff_view_style?: string | undefined; enable_repo_unit_hints?: boolean | undefined; full_name?: string | undefined; hide_activity?: boolean | undefined; /** Privacy */ hide_email?: boolean | undefined; hide_pronouns?: boolean | undefined; language?: string | undefined; location?: string | undefined; pronouns?: string | undefined; theme?: string | undefined; website?: string | undefined; } export interface UpdateUserVariableRequest { /** name of the variable */ variablename: string; /** New name for the variable. If the field is empty, the variable name won't be updated. Forgejo will convert it to uppercase. */ name?: string | undefined; /** Value of the variable to update. Special characters will be retained. Line endings will be normalized to LF to match the behaviour of browsers. Encode the data with Base64 if line endings should be retained. */ value: string; } export interface UpdateUserVariableResponse {} /** email addresses to add */ export type UserAddEmailRequestEmailsList = Array; export interface UserAddEmailRequest { /** email addresses to add */ emails?: UserAddEmailRequestEmailsList | undefined; } /** Email an email address belonging to a user */ export interface Email { email?: string | undefined; primary?: boolean | undefined; user_id?: number | undefined; username?: string | undefined; verified?: boolean | undefined; } export type UserAddEmailResponseBodyList = Array; export type UserAddEmailResponse = UserAddEmailResponseBodyList; export interface UserBlockUserRequest { /** username of the user */ username: string; } export interface UserBlockUserResponse {} export interface UserCheckFollowingRequest { /** username of following user */ username: string; /** username of followed user */ target: string; } export interface UserCheckFollowingResponse {} export interface UserCheckQuotaRequest { /** subject of the quota */ subject: string; } export type UserCheckQuotaResponse = boolean; /** CreateHookOptionConfig has all config options in it required are "content_type" and "url" Required */ export type CreateHookOptionConfig = { [key: string]: string | undefined }; export type UserCreateHookRequestEventsList = Array; export type UserCreateHookRequestType = | "forgejo" | "dingtalk" | "discord" | "gitea" | "gogs" | "msteams" | "slack" | "telegram" | "feishu" | "wechatwork" | "packagist"; export interface UserCreateHookRequest { active?: boolean | undefined; authorization_header?: string | undefined; branch_filter?: string | undefined; config: CreateHookOptionConfig; events?: UserCreateHookRequestEventsList | undefined; type: UserCreateHookRequestType | (string & {}); } /** Deprecated: use Metadata instead */ export type HookConfigMap = { [key: string]: string | undefined }; export type HookEventsList = Array; /** Hook a hook is a web hook when one repository changed */ export interface Hook { active: boolean; authorization_header?: string | undefined; branch_filter?: string | undefined; /** Deprecated: use Metadata instead */ config?: HookConfigMap | undefined; content_type?: string | undefined; created_at: string; events?: HookEventsList | undefined; id: number; metadata?: unknown | undefined; type: string; updated_at: string; url: string; } export type UserCreateOAuth2ApplicationRequestRedirectUrisList = Array; export interface UserCreateOAuth2ApplicationRequest { confidential_client?: boolean | undefined; name?: string | undefined; redirect_uris?: UserCreateOAuth2ApplicationRequestRedirectUrisList | undefined; } export type OAuth2ApplicationRedirectUrisList = Array; export interface OAuth2Application { client_id?: string | undefined; client_secret?: string | Redacted.Redacted | undefined; confidential_client?: boolean | undefined; created?: string | undefined; id?: number | undefined; name?: string | undefined; redirect_uris?: OAuth2ApplicationRedirectUrisList | undefined; } export interface RepoTargetOption { /** Name of repository */ name: string; /** Name of user or organisation that owns the repository */ owner: string; } /** If provided and not-empty, creates an access token with access only to specified repositories. */ export type UserCreateTokenRequestRepositoriesList = Array; export type UserCreateTokenRequestScopesList = Array; export interface UserCreateTokenRequest { /** username of user */ username: string; name: string; /** If provided and not-empty, creates an access token with access only to specified repositories. */ repositories?: UserCreateTokenRequestRepositoriesList | undefined; scopes?: UserCreateTokenRequestScopesList | undefined; } /** RepositoryMeta basic repository information */ export interface RepositoryMeta { full_name?: string | undefined; id?: number | undefined; name?: string | undefined; owner?: string | undefined; } /** Indicates that an access token only has access to the specified repositories. Will be null if the access token is not limited to a set of specified repositories. */ export type AccessTokenRepositoriesList = Array; export type AccessTokenScopesList = Array; export interface AccessToken { created_at: string; id: number; name: string; /** Indicates that an access token only has access to the specified repositories. Will be null if the access token is not limited to a set of specified repositories. */ repositories?: AccessTokenRepositoriesList | undefined; scopes?: AccessTokenScopesList | undefined; sha1?: string | Redacted.Redacted | undefined; token_last_eight: string; } export interface UserCurrentCheckFollowingRequest { /** username of followed user */ username: string; } export interface UserCurrentCheckFollowingResponse {} export interface UserCurrentCheckStarringRequest { /** owner of the repo */ owner: string; /** name of the repo */ repo: string; } export interface UserCurrentCheckStarringResponse {} export interface UserCurrentDeleteFollowRequest { /** username of user to unfollow */ username: string; } export interface UserCurrentDeleteFollowResponse {} export interface UserCurrentDeleteGPGKeyRequest { /** id of key to delete */ id: number; } export interface UserCurrentDeleteGPGKeyResponse {} export interface UserCurrentDeleteKeyRequest { /** id of key to delete */ id: number; } export interface UserCurrentDeleteKeyResponse {} export interface UserCurrentDeleteStarRequest { /** owner of the repo to unstar */ owner: string; /** name of the repo to unstar */ repo: string; } export interface UserCurrentDeleteStarResponse {} export interface UserCurrentGetGPGKeyRequest { /** id of key to get */ id: number; } /** GPGKeyEmail an email attached to a GPGKey */ export interface GPGKeyEmail { email?: string | undefined; verified?: boolean | undefined; } export type GPGKeyEmailsList = Array; export type GPGKeySubkeysList = Array; /** GPGKey a user GPG key to sign commit and tag in repository */ export interface GPGKey { can_certify?: boolean | undefined; can_encrypt_comms?: boolean | undefined; can_encrypt_storage?: boolean | undefined; can_sign?: boolean | undefined; created_at?: string | undefined; emails?: GPGKeyEmailsList | undefined; expires_at?: string | undefined; id?: number | undefined; key_id?: string | undefined; primary_key_id?: string | undefined; public_key?: string | undefined; subkeys?: GPGKeySubkeysList | undefined; verified?: boolean | undefined; } export interface UserCurrentGetKeyRequest { /** id of key to get */ id: number; } /** PublicKey publickey is a user key to push code to repository */ export interface PublicKey { created_at?: string | undefined; fingerprint?: string | undefined; id?: number | undefined; key?: string | undefined; key_type?: string | undefined; read_only?: boolean | undefined; title?: string | undefined; updated_at?: string | undefined; url?: string | undefined; user?: User | undefined; verified?: boolean | undefined; } export interface UserCurrentListFollowersRequest { /** page number of results to return (1-based) */ page?: number | undefined; /** page size of results */ limit?: number | undefined; } export type UserCurrentListFollowersResponseBodyList = Array; export type UserCurrentListFollowersResponse = UserCurrentListFollowersResponseBodyList; export interface UserCurrentListFollowingRequest { /** page number of results to return (1-based) */ page?: number | undefined; /** page size of results */ limit?: number | undefined; } export type UserCurrentListFollowingResponseBodyList = Array; export type UserCurrentListFollowingResponse = UserCurrentListFollowingResponseBodyList; export interface UserCurrentListGPGKeysRequest { /** page number of results to return (1-based) */ page?: number | undefined; /** page size of results */ limit?: number | undefined; } export type UserCurrentListGPGKeysResponseBodyList = Array; export type UserCurrentListGPGKeysResponse = UserCurrentListGPGKeysResponseBodyList; export interface UserCurrentListKeysRequest { /** fingerprint of the key */ fingerprint?: string | undefined; /** page number of results to return (1-based) */ page?: number | undefined; /** page size of results */ limit?: number | undefined; } export type UserCurrentListKeysResponseBodyList = Array; export type UserCurrentListKeysResponse = UserCurrentListKeysResponseBodyList; export type UserCurrentListReposRequestOrderBy = | "name" | "id" | "newest" | "oldest" | "recentupdate" | "leastupdate" | "reversealphabetically" | "alphabetically" | "reversesize" | "size" | "reversegitsize" | "gitsize" | "reverselfssize" | "lfssize" | "moststars" | "feweststars" | "mostforks" | "fewestforks"; export interface UserCurrentListReposRequest { /** page number of results to return (1-based) */ page?: number | undefined; /** page size of results */ limit?: number | undefined; /** order the repositories */ order_by?: UserCurrentListReposRequestOrderBy | (string & {}) | undefined; } /** ExternalTracker represents settings for external tracker */ export interface ExternalTracker { /** External Issue Tracker URL Format. Use the placeholders {user}, {repo} and {index} for the username, repository name and issue index. */ external_tracker_format?: string | undefined; /** External Issue Tracker issue regular expression */ external_tracker_regexp_pattern?: string | undefined; /** External Issue Tracker Number Format, either `numeric`, `alphanumeric`, or `regexp` */ external_tracker_style?: string | undefined; /** URL of external issue tracker. */ external_tracker_url?: string | undefined; } /** ExternalWiki represents setting for external wiki */ export interface ExternalWiki { /** URL of external wiki. */ external_wiki_url?: string | undefined; } /** InternalTracker represents settings for internal tracker */ export interface InternalTracker { /** Let only contributors track time (Built-in issue tracker) */ allow_only_contributors_to_track_time?: boolean | undefined; /** Enable dependencies for issues and pull requests (Built-in issue tracker) */ enable_issue_dependencies?: boolean | undefined; /** Enable time tracking (Built-in issue tracker) */ enable_time_tracker?: boolean | undefined; } /** ObjectFormatName of the underlying git repository */ export type RepositoryObjectFormatName = "sha1" | "sha256"; /** Permission represents a set of permissions */ export interface Permission { admin?: boolean | undefined; pull?: boolean | undefined; push?: boolean | undefined; } /** Organization represents an organization */ export interface Organization { avatar_url?: string | undefined; created?: string | undefined; description?: string | undefined; email?: string | undefined; full_name?: string | undefined; id: number; location?: string | undefined; name?: string | undefined; repo_admin_change_team_access?: boolean | undefined; /** deprecated */ username: string; visibility?: string | undefined; website?: string | undefined; } export type TeamPermission = "none" | "read" | "write" | "admin" | "owner"; export type TeamUnitsList = Array; export type TeamUnitsMapMap = { [key: string]: string | undefined }; /** Team represents a team in an organization */ export interface Team { can_create_org_repo?: boolean | undefined; description?: string | undefined; id: number; includes_all_repositories?: boolean | undefined; name: string; organization?: Organization | undefined; permission?: TeamPermission | undefined; units?: TeamUnitsList | undefined; units_map?: TeamUnitsMapMap | undefined; } export type RepoTransferTeamsList = Array; /** RepoTransfer represents a pending repo transfer */ export interface RepoTransfer { doer?: User | undefined; recipient?: User | undefined; teams?: RepoTransferTeamsList | undefined; } export type RepositoryTopicsList = Array; /** Repository represents a repository */ export interface Repository { allow_fast_forward_only_merge?: boolean | undefined; allow_merge_commits?: boolean | undefined; allow_rebase?: boolean | undefined; allow_rebase_explicit?: boolean | undefined; allow_rebase_update?: boolean | undefined; allow_squash_merge?: boolean | undefined; archived?: boolean | undefined; archived_at?: string | undefined; avatar_url?: string | undefined; clone_url: string; created_at: string; default_allow_maintainer_edit?: boolean | undefined; default_branch: string; default_delete_branch_after_merge?: boolean | undefined; default_merge_style?: string | undefined; default_update_style?: string | undefined; description?: string | undefined; empty?: boolean | undefined; external_tracker?: ExternalTracker | undefined; external_wiki?: ExternalWiki | undefined; fork?: boolean | undefined; forks_count?: number | undefined; full_name: string; globally_editable_wiki?: boolean | undefined; has_actions?: boolean | undefined; has_issues?: boolean | undefined; has_packages?: boolean | undefined; has_projects?: boolean | undefined; has_pull_requests?: boolean | undefined; has_releases?: boolean | undefined; /** is the wiki enabled */ has_wiki?: boolean | undefined; /** have wiki pages ever been created */ has_wiki_contents?: boolean | undefined; html_url: string; id: number; ignore_whitespace_conflicts?: boolean | undefined; internal?: boolean | undefined; internal_tracker?: InternalTracker | undefined; language?: string | undefined; languages_url?: string | undefined; link?: string | undefined; mirror?: boolean | undefined; mirror_interval?: string | undefined; mirror_updated?: string | undefined; name: string; /** ObjectFormatName of the underlying git repository */ object_format_name?: RepositoryObjectFormatName | undefined; open_issues_count?: number | undefined; open_pr_counter?: number | undefined; original_url?: string | undefined; owner: User; parent?: Repository | undefined; permissions?: Permission | undefined; private?: boolean | undefined; release_counter?: number | undefined; repo_transfer?: RepoTransfer | undefined; size?: number | undefined; ssh_url: string; stars_count?: number | undefined; template?: boolean | undefined; topics?: RepositoryTopicsList | undefined; updated_at: string; url?: string | undefined; watchers_count?: number | undefined; website?: string | undefined; wiki_branch?: string | undefined; wiki_clone_url?: string | undefined; wiki_ssh_url?: string | undefined; } export type UserCurrentListReposResponseBodyList = Array; export type UserCurrentListReposResponse = UserCurrentListReposResponseBodyList; export interface UserCurrentListStarredRequest { /** page number of results to return (1-based) */ page?: number | undefined; /** page size of results */ limit?: number | undefined; } export type UserCurrentListStarredResponseBodyList = Array; export type UserCurrentListStarredResponse = UserCurrentListStarredResponseBodyList; export interface UserCurrentListSubscriptionsRequest { /** page number of results to return (1-based) */ page?: number | undefined; /** page size of results */ limit?: number | undefined; } export type UserCurrentListSubscriptionsResponseBodyList = Array; export type UserCurrentListSubscriptionsResponse = UserCurrentListSubscriptionsResponseBodyList; export interface UserCurrentPostGPGKeyRequest { /** An armored GPG key to add */ armored_public_key: string; armored_signature?: string | undefined; } export interface UserCurrentPostKeyRequest { /** An armored SSH key to add */ key: string; /** Describe if the key has only read access or read/write */ read_only?: boolean | undefined; /** Title of the key to add */ title: string; } export interface UserCurrentPutFollowRequest { /** username of user to follow */ username: string; } export interface UserCurrentPutFollowResponse {} export interface UserCurrentPutStarRequest { /** owner of the repo to star */ owner: string; /** name of the repo to star */ repo: string; } export interface UserCurrentPutStarResponse {} export interface UserCurrentTrackedTimesRequest { /** page number of results to return (1-based) */ page?: number | undefined; /** page size of results */ limit?: number | undefined; /** Only show times updated after the given time. This is a timestamp in RFC 3339 format */ since?: string | undefined; /** Only show times updated before the given time. This is a timestamp in RFC 3339 format */ before?: string | undefined; } export type AttachmentType = "attachment" | "external"; /** Attachment a generic attachment */ export interface Attachment { browser_download_url?: string | undefined; created_at?: string | undefined; download_count?: number | undefined; id?: number | undefined; name?: string | undefined; size?: number | undefined; type?: AttachmentType | undefined; uuid?: string | undefined; } export type IssueAssetsList = Array; export type IssueAssigneesList = Array; /** Label a label to an issue or a pr */ export interface Label { color: string; description?: string | undefined; exclusive?: boolean | undefined; id: number; is_archived?: boolean | undefined; name: string; url?: string | undefined; } export type IssueLabelsList = Array