Versions in this module Expand all Collapse all v0 v0.0.2 Feb 24, 2022 Changes in this version + const OpenapiErrorCode_IllegalToken + const OpenapiErrorCode_InternalError + const OpenapiErrorCode_MissingToken + const OpenapiErrorCode_NoTenantID + const OpenapiErrorCode_NoUserID + const OpenapiErrorCode_OpUnknownError + const OpenapiErrorCode_RateLimitError + const OpenapiErrorCode_SystemBusy + const OpenapiErrorCode_SystemError + const OpenapiErrorCode_TokenExpire + const OpenapiErrorCode_UnknownError + const OpenapiSuccessCode_FileDownload + const OpenapiSuccessCode_Success + func CreateRecord(objectApiName string, record interface{}) (*structs.RecordOnlyId, error) + func DeleteRecordById(objectApiName string, recordId int64) error + func DownloadFile(fileId string) ([]byte, error) + func GetRecordById(objectApiName string, recordId int64) (interface{}, error) + func GetRecords(objectApiName string, param *structs.GetRecordsParam) ([]interface{}, error) + func UpdateRecord(objectApiName string, recordId int64, record interface{}) (*structs.RecordOnlyId, error) + func UploadFile(fileName string, fileReader io.Reader) (*structs.FileUploadResult, error) v0.0.1 Jan 6, 2022