Variable ROUTESConst

ROUTES: {
    createMessage: ((baseUrl) => string);
    createPasswordResetCode: ((baseUrl) => string);
    createSession: ((baseUrl) => string);
    createUser: ((baseUrl) => string);
    deleteSession: ((baseUrl, sessionId) => string);
    deleteUser: ((baseUrl) => string);
    downloadAttachment: ((baseUrl, id) => string);
    downloadFile: ((baseUrl, bucket, id) => string);
    downloadStaticFile: ((baseUrl, name) => string);
    getAttachment: ((baseUrl, id) => string);
    getAttachmentData: ((baseUrl, id) => string);
    getFile: ((baseUrl, bucket, id) => string);
    getFileData: ((baseUrl, bucket, id) => string);
    getInstanceInfo: ((baseUrl, rateLimits) => string);
    getSelf: ((baseUrl) => string);
    getSessions: ((baseUrl) => string);
    getStaticFile: ((baseUrl, name) => string);
    getUser: ((baseUrl, userId) => string);
    getUserWithUsername: ((baseUrl, username) => string);
    resetPassword: ((baseUrl) => string);
    updateProfile: ((baseUrl) => string);
    updateUser: ((baseUrl) => string);
    uploadAttachment: ((baseUrl) => string);
    uploadFile: ((baseUrl, bucket) => string);
    verifyUser: ((baseUrl, code) => string);
} = ...

Type declaration

  • createMessage: ((baseUrl) => string)
      • (baseUrl): string
      • Parameters

        • baseUrl: string

        Returns string

  • createPasswordResetCode: ((baseUrl) => string)
      • (baseUrl): string
      • Parameters

        • baseUrl: string

        Returns string

  • createSession: ((baseUrl) => string)
      • (baseUrl): string
      • Parameters

        • baseUrl: string

        Returns string

  • createUser: ((baseUrl) => string)
      • (baseUrl): string
      • Parameters

        • baseUrl: string

        Returns string

  • deleteSession: ((baseUrl, sessionId) => string)
      • (baseUrl, sessionId): string
      • Parameters

        • baseUrl: string
        • sessionId: number

        Returns string

  • deleteUser: ((baseUrl) => string)
      • (baseUrl): string
      • Parameters

        • baseUrl: string

        Returns string

  • downloadAttachment: ((baseUrl, id) => string)
      • (baseUrl, id): string
      • Parameters

        • baseUrl: string
        • id: number

        Returns string

  • downloadFile: ((baseUrl, bucket, id) => string)
      • (baseUrl, bucket, id): string
      • Parameters

        • baseUrl: string
        • bucket: string
        • id: number

        Returns string

  • downloadStaticFile: ((baseUrl, name) => string)
      • (baseUrl, name): string
      • Parameters

        • baseUrl: string
        • name: string

        Returns string

  • getAttachment: ((baseUrl, id) => string)
      • (baseUrl, id): string
      • Parameters

        • baseUrl: string
        • id: number

        Returns string

  • getAttachmentData: ((baseUrl, id) => string)
      • (baseUrl, id): string
      • Parameters

        • baseUrl: string
        • id: number

        Returns string

  • getFile: ((baseUrl, bucket, id) => string)
      • (baseUrl, bucket, id): string
      • Parameters

        • baseUrl: string
        • bucket: string
        • id: number

        Returns string

  • getFileData: ((baseUrl, bucket, id) => string)
      • (baseUrl, bucket, id): string
      • Parameters

        • baseUrl: string
        • bucket: string
        • id: number

        Returns string

  • getInstanceInfo: ((baseUrl, rateLimits) => string)
      • (baseUrl, rateLimits): string
      • Parameters

        • baseUrl: string
        • rateLimits: boolean

        Returns string

  • getSelf: ((baseUrl) => string)
      • (baseUrl): string
      • Parameters

        • baseUrl: string

        Returns string

  • getSessions: ((baseUrl) => string)
      • (baseUrl): string
      • Parameters

        • baseUrl: string

        Returns string

  • getStaticFile: ((baseUrl, name) => string)
      • (baseUrl, name): string
      • Parameters

        • baseUrl: string
        • name: string

        Returns string

  • getUser: ((baseUrl, userId) => string)
      • (baseUrl, userId): string
      • Parameters

        • baseUrl: string
        • userId: number

        Returns string

  • getUserWithUsername: ((baseUrl, username) => string)
      • (baseUrl, username): string
      • Parameters

        • baseUrl: string
        • username: string

        Returns string

  • resetPassword: ((baseUrl) => string)
      • (baseUrl): string
      • Parameters

        • baseUrl: string

        Returns string

  • updateProfile: ((baseUrl) => string)
      • (baseUrl): string
      • Parameters

        • baseUrl: string

        Returns string

  • updateUser: ((baseUrl) => string)
      • (baseUrl): string
      • Parameters

        • baseUrl: string

        Returns string

  • uploadAttachment: ((baseUrl) => string)
      • (baseUrl): string
      • Parameters

        • baseUrl: string

        Returns string

  • uploadFile: ((baseUrl, bucket) => string)
      • (baseUrl, bucket): string
      • Parameters

        • baseUrl: string
        • bucket: string

        Returns string

  • verifyUser: ((baseUrl, code) => string)
      • (baseUrl, code): string
      • Parameters

        • baseUrl: string
        • code: number

        Returns string