import type { ApiActionPayload, ApiInvitation, ApiMasterformat, ApiPipeline, ApiRunningProcess, ApiUserAction, DeprecatedApiPipeline, User, UserActionType } from "../models"; import type { AssociationIds } from "type_aliases"; export default class WebGatewayApi { static connectProjectToStructionSite({ projectId }: AssociationIds, structionSiteProjectUrl: string, token: string, user: User): Promise; /** * @deprecated Moved to PipelinesApi */ static checkPipelineStatus({ projectId }: AssociationIds, pipelineId: number, user: User): Promise; /** * @deprecated Moved to UserApi */ static createInvitation(inviteeEmail: string, role: string, organizationId: string, projectId: string, user: User): Promise; /** * @deprecated Moved to UserApi */ static getInvitation(invitationToken: string, user: User): Promise; static getPlannedElementsNewTsvUrl({ projectId, floorId }: AssociationIds, fileName: string, user: User): string; static getDeviationsReportTsvUrl({ projectId, floorId }: AssociationIds, fileName: string, user: User): string; /** @deprecated scan analysis tsv was removed when we removed the concept of scanned building elements */ static getScanAnalysisUrl({ projectId, floorId, scanDatasetId }: AssociationIds, fileName: string, user: User): string; static getUniformatSummaryTsvUrl({ projectId }: AssociationIds, projectName: string, user: User): string; static getScannedProjectMasterformatProgressUrl({ projectId }: AssociationIds, fileName: string, fileDate: string, user: User): string; static baseUrl(): string; static addAuthToDownloadUrl(url: string, user: User): string; /** * @deprecated Moved to AuthApi */ static getCustomFirebaseToken(user: User): Promise<{ headers: Headers; body: { storageToken: string; }; }>; /** * @deprecated Moved to AuthApi */ static login(username: string, password: string): Promise<{ headers: Headers; body: { storageToken: string; redirectUrl: string; }; }>; static acceptInvitation(token: string, password: string): Promise; static exportIfc({ projectId, floorId, scanDatasetId }: AssociationIds, type: string, user: User): Promise; static checkExportedIfc({ projectId, floorId, scanDatasetId }: AssociationIds, workflowName: string, type: string, user: User): Promise; /** @deprecated **/ static downsampleScan({ projectId, floorId, scanDatasetId }: AssociationIds, user: User): Promise; static getGcpBearerToken({ projectId }: AssociationIds, user: User): Promise<{ accessToken: string; expireTime: string; }>; static getMasterformat(version: number): Promise; static triggerArgoRunProgressAndDeviations({ projectId, floorId }: AssociationIds, deviationsFlag: string, bimSourceFileExtension: string, user: User): Promise; static triggerArgoRunNwdConvert({ projectId, floorId }: AssociationIds, user: User): Promise; static recordUserActions(type: UserActionType, userActions: ApiActionPayload[], user: User): Promise; static checkRunningProcess(processId: number, user: User): Promise; }