Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Copyleaks

Index

Constructors

constructor

Methods

deleteAsync

exportAsync

getCreditsBalanceAsync

getOCRSupportedLanguagesAsync

  • getOCRSupportedLanguagesAsync(): Promise<any>

getReleaseNotesAsync

  • getReleaseNotesAsync(): Promise<any>

getSupportedFileTypesAsync

  • getSupportedFileTypesAsync(): Promise<any>

getUsagesHistoryCsvAsync

  • getUsagesHistoryCsvAsync(authToken: CopyleaksAuthToken, startDate: string, endDate: string): Promise<any>
  • This endpoint allows you to export your usage history between two dates. The output results will be exported to a csv file and it will be attached to the response. For more info: https://api.copyleaks.com/documentation/v3/scans/usages/history

    • Exceptions:
    • CommandExceptions: Server reject the request. See response status code, headers and content for more info.
    • UnderMaintenanceException: Copyleaks servers are unavailable for maintenance. We recommend to implement exponential backoff algorithm as described here: https://api.copyleaks.com/documentation/v3/exponential-backoff
    • RateLimitException: Too many requests. Please wait before calling again.

    Parameters

    • authToken: CopyleaksAuthToken

      Copyleaks authentication token.

    • startDate: string

      The start date to collect usage history from. Date Format: dd-MM-yyyy.

    • endDate: string

      The end date to collect usage history from. Date Format: dd-MM-yyyy.

    Returns Promise<any>

loginAsync

resendWebhookAsync

startAsync

submitFileAsync

submitFileOcrAsync

submitUrlAsync

verifyAuthToken

  • Verify that Copyleaks authentication token is exists and not exipired.

    • Exceptions:
    • AuthExipredException: authentication expired. Need to login again.

    Parameters

    Returns void

Generated using TypeDoc