Options
All
  • Public
  • Public/Protected
  • All
Menu

Module utils/validator

Index

Functions

  • isObjectOwner(ain: default, objectId: string, address: string): Promise<boolean>
  • validateAssistant(ain: default, objectId: string, tokenId: string, assistantId?: string): Promise<any>
  • Parameters

    • ain: default
    • objectId: string
    • tokenId: string
    • Optional assistantId: string

    Returns Promise<any>

  • validateDuplicateAssistant(ain: default, objectId: string, tokenId: string): Promise<void>
  • validateMessage(ain: default, objectId: string, tokenId: string, address: string, threadId: string, messageId: string): Promise<void>
  • Parameters

    • ain: default
    • objectId: string
    • tokenId: string
    • address: string
    • threadId: string
    • messageId: string

    Returns Promise<void>

  • validateObject(ain: default, objectId: string): Promise<void>
  • validateObjectOwner(ain: default, objectId: string, address: string): Promise<void>
  • validateServerConfigurationForObject(ain: default, objectId: string, serviceName: string): Promise<void>
  • validateThread(ain: default, objectId: string, tokenId: string, address: string, threadId: string): Promise<void>
  • Parameters

    • ain: default
    • objectId: string
    • tokenId: string
    • address: string
    • threadId: string

    Returns Promise<void>

  • validateToken(ain: default, objectId: string, tokenId: string): Promise<any>

Generated using TypeDoc