User

Date

2/1/2024 - 2:44:47 AM

Export

Constructors

Properties

api: API
sdkConfig: FilenSDKConfig

Methods

  • Lock a resource.

    Parameters

    • param0: {
          lockUUID: string;
          maxTries?: number;
          resource: string;
          tryTimeout?: number;
      }
      • lockUUID: string
      • Optional maxTries?: number
      • resource: string
      • Optional tryTimeout?: number

    Returns Promise<void>

    Async

  • Toggle appear offline status on/off.

    Parameters

    • param0: {
          enabled: boolean;
      }
      • enabled: boolean

    Returns Promise<void>

    Date

    2/20/2024 - 7:18:12 AM

    Async

  • Fetch the user's base folder UUID.

    Returns Promise<string>

    Date

    2/20/2024 - 6:40:17 AM

    Async

  • Cancel a subscription.

    Parameters

    • param0: {
          uuid: string;
      }
      • uuid: string

    Returns Promise<void>

    Date

    2/20/2024 - 7:12:09 AM

    Async

  • Change email.

    Parameters

    • param0: {
          email: string;
          password: string;
      }
      • email: string
      • password: string

    Returns Promise<void>

    Date

    2/20/2024 - 6:50:24 AM

    Async

  • Change password.

    Parameters

    • param0: {
          currentPassword: string;
          newPassword: string;
      }
      • currentPassword: string
      • newPassword: string

    Returns Promise<string>

    Date

    2/20/2024 - 7:03:26 AM

    Async

  • Check if the current API key is valid.

    Returns Promise<boolean>

    Async

  • Create a subscription payment flow. Returns the payment gateway URL.

    Parameters

    Returns Promise<string>

    Date

    2/20/2024 - 7:13:19 AM

    Async

  • Request account deletion.

    Parameters

    • param0: {
          twoFactorCode?: string;
      }
      • Optional twoFactorCode?: string

    Returns Promise<void>

    Date

    2/20/2024 - 6:54:22 AM

    Async

  • Delete all versioned files.

    Returns Promise<void>

    Date

    2/20/2024 - 6:54:57 AM

    Async

  • Delete all files and directories.

    Returns Promise<void>

    Date

    2/20/2024 - 6:55:20 AM

    Async

  • Mark the current master keys as exported.

    Returns Promise<void>

    Async

  • Disable two factor authentication.

    Parameters

    • param0: {
          twoFactorCode: string;
      }
      • twoFactorCode: string

    Returns Promise<void>

    Date

    2/20/2024 - 7:05:03 AM

    Async

  • Enable two factor authentication. Returns the recovery keys.

    Parameters

    • param0: {
          twoFactorCode: string;
      }
      • twoFactorCode: string

    Returns Promise<string>

    Date

    2/20/2024 - 7:04:35 AM

    Async

  • Fetch info about an event.

    Parameters

    • param0: {
          uuid: string;
      }
      • uuid: string

    Returns Promise<UserEvent>

    Date

    2/20/2024 - 7:10:44 AM

    Async

  • Fetch events based on timestamp and filter. Timestamp can be used for pagination.

    Parameters

    • Optional params: {
          filter?: "all";
          timestamp?: number;
      }
      • Optional filter?: "all"
      • Optional timestamp?: number

    Returns Promise<UserEvent[]>

    Async

  • Generate a PDF invoice. Returns PDF data as a Base64 encoded string.

    Parameters

    • param0: {
          uuid: string;
      }
      • uuid: string

    Returns Promise<string>

    Date

    2/20/2024 - 7:14:22 AM

    Async

  • Toggle login alerts on/off.

    Parameters

    • param0: {
          enabled: boolean;
      }
      • enabled: boolean

    Returns Promise<void>

    Date

    2/20/2024 - 7:16:54 AM

    Async

  • Get a user's public key.

    Parameters

    • param0: {
          email: string;
      }
      • email: string

    Returns Promise<string>

    Date

    2/20/2024 - 6:41:01 AM

    Async

  • Refresh a resource lock.

    Parameters

    • param0: {
          lockUUID: string;
          resource: string;
      }
      • lockUUID: string
      • resource: string

    Returns Promise<void>

    Async

  • Unlock a resource.

    Parameters

    • param0: {
          lockUUID: string;
          resource: string;
      }
      • lockUUID: string
      • resource: string

    Returns Promise<void>

    Async

  • Request an affiliate payout.

    Parameters

    • param0: {
          address: string;
          method: string;
      }
      • address: string
      • method: string

    Returns Promise<void>

    Date

    2/20/2024 - 7:15:26 AM

    Async

  • Fetch resource lock status.

    Parameters

    • param0: {
          resource: string;
      }
      • resource: string

    Returns Promise<"locked">

    Async

  • Update desktop last active timestamp.

    Parameters

    • param0: {
          timestamp: number;
      }
      • timestamp: number

    Returns Promise<void>

    Date

    2/20/2024 - 7:20:56 AM

    Async

  • Update account nickname.

    Parameters

    • param0: {
          nickname: string;
      }
      • nickname: string

    Returns Promise<void>

    Date

    2/20/2024 - 7:17:43 AM

    Async

  • Update personal information.

    Parameters

    • param0: {
          city?: string;
          companyName?: string;
          country?: string;
          firstName?: string;
          lastName?: string;
          postalCode?: string;
          street?: string;
          streetNumber?: string;
          vatId?: string;
      }
      • Optional city?: string
      • Optional companyName?: string
      • Optional country?: string
      • Optional firstName?: string
      • Optional lastName?: string
      • Optional postalCode?: string
      • Optional street?: string
      • Optional streetNumber?: string
      • Optional vatId?: string

    Returns Promise<void>

    Date

    2/20/2024 - 6:52:44 AM

    Async

  • Upload an avatar.

    Parameters

    Returns Promise<void>

    Date

    2/20/2024 - 6:46:44 AM

    Async

  • Toggle file versioning on/off.

    Parameters

    • param0: {
          enabled: boolean;
      }
      • enabled: boolean

    Returns Promise<void>

    Date

    2/20/2024 - 7:16:11 AM

    Async

Generated using TypeDoc