Versions in this module Expand all Collapse all v2 v2.5.1 Nov 17, 2020 Changes in this version + const PlatformId + const PlatformVersion + type VoiceIt2 struct + APIKey string + APIToken string + BaseUrl string + NotificationUrl string + func NewClient(key string, tok string) VoiceIt2 + func (vi *VoiceIt2) AddNotificationUrl(notificationUrl string) + func (vi *VoiceIt2) RemoveNotificationUrl() + func (vi VoiceIt2) AddUserToGroup(groupId string, userId string) ([]byte, error) + func (vi VoiceIt2) CheckGroupExists(groupId string) ([]byte, error) + func (vi VoiceIt2) CheckUserExists(userId string) ([]byte, error) + func (vi VoiceIt2) CreateFaceEnrollment(userId string, filePath string) ([]byte, error) + func (vi VoiceIt2) CreateFaceEnrollmentByUrl(userId string, fileUrl string) ([]byte, error) + func (vi VoiceIt2) CreateGroup(description string) ([]byte, error) + func (vi VoiceIt2) CreateManagedSubAccount(params structs.CreateSubAccountRequest) ([]byte, error) + func (vi VoiceIt2) CreateUnmanagedSubAccount(params structs.CreateSubAccountRequest) ([]byte, error) + func (vi VoiceIt2) CreateUser() ([]byte, error) + func (vi VoiceIt2) CreateUserToken(userId string, timeout time.Duration) ([]byte, error) + func (vi VoiceIt2) CreateVideoEnrollment(userId string, contentLanguage string, phrase string, filePath string) ([]byte, error) + func (vi VoiceIt2) CreateVideoEnrollmentByUrl(userId string, contentLanguage string, phrase string, fileUrl string) ([]byte, error) + func (vi VoiceIt2) CreateVoiceEnrollment(userId string, contentLanguage string, phrase string, filePath string) ([]byte, error) + func (vi VoiceIt2) CreateVoiceEnrollmentByUrl(userId string, contentLanguage string, phrase string, fileUrl string) ([]byte, error) + func (vi VoiceIt2) DeleteAllEnrollments(userId string) ([]byte, error) + func (vi VoiceIt2) DeleteGroup(groupId string) ([]byte, error) + func (vi VoiceIt2) DeleteSubAccount(subAccountAPIKey string) ([]byte, error) + func (vi VoiceIt2) DeleteUser(userId string) ([]byte, error) + func (vi VoiceIt2) ExpireUserTokens(userId string) ([]byte, error) + func (vi VoiceIt2) FaceIdentification(groupId string, filePath string) ([]byte, error) + func (vi VoiceIt2) FaceIdentificationByUrl(groupId string, fileUrl string) ([]byte, error) + func (vi VoiceIt2) FaceVerification(userId string, filePath string) ([]byte, error) + func (vi VoiceIt2) FaceVerificationByUrl(userId string, fileUrl string) ([]byte, error) + func (vi VoiceIt2) GetAllFaceEnrollments(userId string) ([]byte, error) + func (vi VoiceIt2) GetAllGroups() ([]byte, error) + func (vi VoiceIt2) GetAllUsers() ([]byte, error) + func (vi VoiceIt2) GetAllVideoEnrollments(userId string) ([]byte, error) + func (vi VoiceIt2) GetAllVoiceEnrollments(userId string) ([]byte, error) + func (vi VoiceIt2) GetGroup(groupId string) ([]byte, error) + func (vi VoiceIt2) GetGroupsForUser(userId string) ([]byte, error) + func (vi VoiceIt2) GetPhrases(contentLanguage string) ([]byte, error) + func (vi VoiceIt2) RegenerateSubAccountAPIToken(subAccountAPIKey string) ([]byte, error) + func (vi VoiceIt2) RemoveUserFromGroup(groupId string, userId string) ([]byte, error) + func (vi VoiceIt2) SwitchSubAccountType(subAccountAPIKey string) ([]byte, error) + func (vi VoiceIt2) VideoIdentification(groupId string, contentLanguage string, phrase string, filePath string) ([]byte, error) + func (vi VoiceIt2) VideoIdentificationByUrl(groupId string, contentLanguage string, phrase string, fileUrl string) ([]byte, error) + func (vi VoiceIt2) VideoVerification(userId string, contentLanguage string, phrase string, filePath string) ([]byte, error) + func (vi VoiceIt2) VideoVerificationByUrl(userId string, contentLanguage string, phrase string, fileUrl string) ([]byte, error) + func (vi VoiceIt2) VoiceIdentification(groupId string, contentLanguage string, phrase string, filePath string) ([]byte, error) + func (vi VoiceIt2) VoiceIdentificationByUrl(groupId string, contentLanguage string, phrase string, fileUrl string) ([]byte, error) + func (vi VoiceIt2) VoiceVerification(userId string, contentLanguage string, phrase string, filePath string) ([]byte, error) + func (vi VoiceIt2) VoiceVerificationByUrl(userId string, contentLanguage string, phrase string, fileUrl string) ([]byte, error)