mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-25 09:08:45 +05:00
Implement ProcessStoredEvents API
This commit is contained in:
committed by
Dan Christian Bogos
parent
e218ca06a8
commit
f5d69cb41b
@@ -85,7 +85,7 @@ func GetUniqueCDRID(cgrEv *utils.CGREvent) string {
|
||||
return utils.UUIDSha1Prefix()
|
||||
}
|
||||
|
||||
func NewCGREventFromCDR(cdr *CDR) *utils.CGREvent {
|
||||
func (cdr *CDR) CGREvent() *utils.CGREvent {
|
||||
return &utils.CGREvent{
|
||||
Tenant: cdr.Tenant,
|
||||
ID: utils.Sha1(),
|
||||
@@ -107,3 +107,9 @@ func checkNestedFields(elem string, values []string) bool {
|
||||
return false
|
||||
|
||||
}
|
||||
|
||||
type CDRFilters struct {
|
||||
Tenant string
|
||||
FilterIDs []string
|
||||
APIOpts map[string]interface{}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user