export type BitbucketWorkspaceType = { workspace: string; repoSlug: string; hookUuid?: string; encryptedWebhookToken?: string; }; export type BitbucketOauthInstallationType = { authorizedByUserId: string; authorizedByUsername: string; encryptedAccessToken: string; encryptedRefreshToken: string; tokenExpiresAt: Date | string; scope: string; workspaces: BitbucketWorkspaceType[]; hostUrl?: string; };