UNPKG

@vertikalx/vtx-backend-client

Version:

GraphQL API generated client for VTX

12 lines (11 loc) 520 B
import { ValidatedToken } from "../client"; import { APICallHeaders } from "./api-call-headers"; import { ITypedBackendResponse } from "./backend-response"; import { VTXBaseAPI } from "./vtx-base-api"; export declare class VTXMobileAPI extends VTXBaseAPI { constructor(backendUrl: string, userToken?: string, requestConfig?: { fetch?: typeof fetch; }); static getDefaultHeaders(userToken?: string): APICallHeaders; getMobileToken(token: string): Promise<ITypedBackendResponse<ValidatedToken>>; }