@yoshteq/ti365-ts-sdk
    Preparing search index...

    Class Ti365

    Main entry point for the Ti365 SDK. Provides access to authentication and registration services. Implements the singleton pattern to ensure a single instance across the application.

    Index

    Constructors

    • Creates a new instance of Ti365.

      Parameters

      • baseUrl: string

        The base URL of the Ti365 backend

      Returns Ti365

    Methods

    • Initializes the Ti365 library for single backend mode. Must be called before any other Ti365 operations.

      Parameters

      • baseUrl: string

        The base URL of the Ti365 backend

      Returns void

      Error if initialization fails

    • Gets the singleton instance of Ti365.

      Returns Ti365

      The Ti365 singleton instance

      Error if Ti365 has not been initialized

    • Creates a new registration service instance with the provided JWT.

      Parameters

      • jwt: string

        The JSON Web Token for registration operations

      Returns RegistrationService

      A new RegistrationService instance

    • Gets the gateway client instance used for API communication.

      Returns Ti365GatewayClient

      The Ti365GatewayClient instance

    • Creates a new registration service instance with the provided JWT.

      Parameters

      • jwt: string

        The JSON Web Token for registration operations

      Returns RegistrationService

      A new RegistrationService instance