/** * Fetches the current user from the API and checks if the user is logged in. * If the authorization token is expired, it will attempt to refresh the token and retry the request. * If the refresh fails, it will throw the original exception. */ export function getCurrentUser(): Promise; export function getWellViewBha(options?: {}): Promise; export function getWells(options?: {}, getterFn?: typeof get): Promise; export function getWell(id: any, options?: {}): Promise; export function getRig(id: any, options?: {}): Promise; export function patchRig(id: any, data: any, fields?: any[]): Promise; export function getRigs(options?: {}, getterFn?: typeof get): Promise; export function getPrograms(options?: {}, getterFn?: typeof get): Promise; export function getInterventionUnits(options?: {}, getterFn?: typeof get): Promise; export function getInterventionUnit(interventionUnitId: any, options?: {}, getterFn?: typeof get): Promise; export function getInterventionUnitEvents(options?: {}): Promise; export function getAsset(id: any, options?: {}): Promise; export function getAssets(options?: {}, getterFn?: typeof get): Promise; export function getResolvedAssets(options?: {}): Promise; export function getPads(options?: {}, getterFn?: typeof get): Promise; export function getPad(id: any, options?: {}, getterFn?: typeof get): Promise; export function getFracFleet(id: any, options?: {}, getterFn?: typeof get): Promise; export function getFracFleets(options?: {}, getterFn?: typeof get): Promise; export function getDrilloutUnit(drilloutUnitId: any, options?: {}): Promise; export function getDrilloutUnits(options?: {}, getterFn?: typeof get): Promise; /** * @deprecated * @param provider * @param collection * @param queryParams * @returns {Promise<*>} */ export function deleteAppStorageRecords(provider: any, collection: any, queryParams: any): Promise; /** * @deprecated * @param provider * @param collection * @param id * @returns {Promise<*>} */ export function deleteAppStorage(provider: any, collection: any, id: any): Promise; /** * @deprecated * @param provider * @param collection * @param assetId * @param params * @returns {Promise<*>} */ export function getAppStorage(provider: any, collection: any, assetId: any, params?: {}): Promise; export function getDataAppStorage(provider: any, collection: any, params?: {}): Promise; export function getDataAppStorageAggregate(provider: any, collection: any, params?: {}): Promise; /** * @deprecated * @param provider * @param collection * @param id * @param item * @param queryParams * @returns {Promise<*>} */ export function putAppStorage(provider: any, collection: any, id: any, item: any, queryParams?: {}): Promise; export function putDataAppStorage(provider: any, collection: any, id: any, item: any, queryParams: any): Promise; /** * @deprecated * @param provider * @param collection * @param item * @returns {Promise<*>} */ export function postAppStorage(provider: any, collection: any, item: any): Promise; export function postDataAppStorage(provider: any, collection: any, item: any): Promise; export function getCompetitorAnalysisData(options: any): Promise; export function getCompanies(): Promise; export function getPicklist(name: any): Promise; export function getFavorites(): Promise; export function getCompanyGoals(companyId: any): Promise; /** higher order function that returns request function based on provided assetType * @param {string} assetType - any asset type currently supported in * @param {boolean} shouldFetchHeaders - if true, fetch headers object will be returned * ~/constants/assets * */ export function mapAssetGetRequest(assetType: string, shouldFetchHeaders?: boolean): (...params: any[]) => any; export function mapAssetByIdGetRequest(assetType: any): typeof getRig; export function postAnnotation(annotation: any, options?: {}): Promise; export function patchAnnotation(annotationId: any, annotation: any): Promise; export function deleteAnnotation(annotationId: any): Promise; export function getAnnotations(dashboardAppId: any, assetId: any, options?: {}): Promise; export function getDashboardLastAnnotations(dashboardId: any, assetId: any, parentAssetId: any): Promise; export function closeLastAnnotation(annotationId: any): Promise; export function postAnnotationComment(annotationId: any, comment: any): Promise; export function getAnnotationComments(annotationId: any, options?: {}): Promise; export function getFileDownloadLink(filename: any): string; export function patchFeedItemComment(feedItemId: any, commentId: any, comment: any): Promise; export function postFeedItemComment(feedItemId: any, comment: any): Promise; export function deleteFeedItemComment(feedItemId: any, commentId: any): Promise; export function toggleFeedItemLike(feedItemId: any): Promise; export function patchFeedItem(feedItemId: any, feedItem: any): Promise; export function deleteFeedItem(feedItemId: any): Promise; export function getUserAutocomplete(type: any, value: any, companyId: any): Promise; export function getS3SignedUrl(filename: any, contentType: any): Promise; export function getS3DownloadLink(filename: any, contentDisposition?: string): Promise; export function getFracFleetWells(options: any): Promise; export function getPadWells(padId: any, options: any): Promise; export function getTask(taskId: any): Promise; export function postTask(options?: {}): Promise; export function setCurrentUserSettings(userId: any, userSettings: any): Promise; export function getUserSetting(userId: any, settingKey: any): Promise; export function logout(): Promise; export function getPermissionCheck(options?: {}): Promise; export function getDashboards(params?: {}): Promise; export function loginWithAuth0Token(platform: any, token: any): Promise; export function getUserAuthSchemas(queryParams: any): Promise; export function getUserAuthPlatform(platform: any): Promise; export function postUserAuthTokenExchange(platform: any, code: any): Promise; export * from "./postTaskAndWaitResult"; export function getLASFileList(assetId: any): Promise; export function getLASMetadata(assetId: any, fileName: any): Promise; export function getLasFileDepthData(assetId: any, fileName: any, page: any, numberOfRows: any): Promise; export function getLasFileTimeData(assetId: any, fileName: any, page: any, numberOfRows: any): Promise; export function getAllLASFileData({ assetId, fileName, recordsCount, fileKind, }: { assetId: any; fileName: any; recordsCount: any; fileKind?: string | undefined; }): Promise; export function getStreams({ assetId, segment }: { assetId: any; segment?: string | undefined; }): Promise; export function getAppMedia(appId: any, queryParams: any): Promise; export function deleteAppMedia(appId: any, mediaId: any): Promise; export function uploadAppMedia(appId: any, { file, mediaType }: { file: any; mediaType: any; }): Promise; export function updateAppMedia(appId: any, mediaId: any, mediaFields: any): Promise; export function getAppHelpContent(appId: any, queryParams: any): Promise; export function deleteAppHelpContent(appId: any, helpContentId: any): Promise; export function uploadAppHelpContent(appId: any, { title, description, url }: { title: any; description: any; url: any; }): Promise; export function updateAppHelpContent(appId: any, helpContentId: any, { title, description, url, position }: { title: any; description: any; url: any; position: any; }): Promise; export function getAppPackages(appId: any, queryParams: any): Promise; export function getAppSettingsTemplates(appKey: any, params?: {}): Promise; export function getAppSettingsTemplate(appKey: any, id: any): Promise; export function patchAppSettingsTemplate(appKey: any, id: any, { name, settings, metadata }: { name: any; settings: any; metadata: any; }): Promise; export function postAppSettingsTemplate(appKey: any, { name, settings, metadata }: { name: any; settings: any; metadata: any; }): Promise; export function deleteAppSettingsTemplate(appKey: any, id: any): Promise; export function shareAppSettingsTemplate(appKey: any, id: any, userIds: any): Promise; export function unshareAppSettingsTemplate(appKey: any, id: any, userIds: any): Promise; export function publishAppSettingsTemplate(appKey: any, templateId: any, { name, metadata }: { name: any; metadata: any; }): Promise; export function getUsersWithHeaders(options: any): Promise<{ data: any; headers: any; }>; export function getUsers(options: any): Promise; import { get } from '../api/apiCore'; //# sourceMappingURL=index.d.ts.map