mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-23 08:08:45 +05:00
Implement export for other items
This commit is contained in:
committed by
Dan Christian Bogos
parent
44438a0884
commit
f1029faca0
502
utils/consts.go
502
utils/consts.go
@@ -207,6 +207,7 @@ const (
|
||||
PDD = "PDD"
|
||||
SUPPLIER = "Supplier"
|
||||
RunID = "RunID"
|
||||
AttributeIDs = "AttributeIDs"
|
||||
MetaReqRunID = "*req.RunID"
|
||||
COST = "Cost"
|
||||
CostDetails = "CostDetails"
|
||||
@@ -423,247 +424,266 @@ const (
|
||||
MetaEveryMinute = "*every_minute"
|
||||
MetaHourly = "*hourly"
|
||||
ID = "ID"
|
||||
Thresholds = "Thresholds"
|
||||
Suppliers = "Suppliers"
|
||||
Attributes = "Attributes"
|
||||
Chargers = "Chargers"
|
||||
Dispatchers = "Dispatchers"
|
||||
StatS = "Stats"
|
||||
LoadIDsVrs = "LoadIDs"
|
||||
RALService = "RALs"
|
||||
CostSource = "CostSource"
|
||||
ExtraInfo = "ExtraInfo"
|
||||
Meta = "*"
|
||||
MetaSysLog = "*syslog"
|
||||
MetaStdLog = "*stdout"
|
||||
EventType = "EventType"
|
||||
EventSource = "EventSource"
|
||||
AccountID = "AccountID"
|
||||
ResourceID = "ResourceID"
|
||||
TotalUsage = "TotalUsage"
|
||||
StatID = "StatID"
|
||||
BalanceType = "BalanceType"
|
||||
BalanceID = "BalanceID"
|
||||
BalanceDestinationIds = "BalanceDestinationIds"
|
||||
BalanceWeight = "BalanceWeight"
|
||||
BalanceExpirationDate = "BalanceExpirationDate"
|
||||
BalanceTimingTags = "BalanceTimingTags"
|
||||
BalanceRatingSubject = "BalanceRatingSubject"
|
||||
BalanceCategories = "BalanceCategories"
|
||||
BalanceSharedGroups = "BalanceSharedGroups"
|
||||
BalanceBlocker = "BalanceBlocker"
|
||||
BalanceDisabled = "BalanceDisabled"
|
||||
Units = "Units"
|
||||
AccountUpdate = "AccountUpdate"
|
||||
BalanceUpdate = "BalanceUpdate"
|
||||
StatUpdate = "StatUpdate"
|
||||
ResourceUpdate = "ResourceUpdate"
|
||||
CDR = "CDR"
|
||||
CDRs = "CDRs"
|
||||
ExpiryTime = "ExpiryTime"
|
||||
AllowNegative = "AllowNegative"
|
||||
Disabled = "Disabled"
|
||||
Action = "Action"
|
||||
MetaNow = "*now"
|
||||
SessionSCosts = "SessionSCosts"
|
||||
Timing = "Timing"
|
||||
RQF = "RQF"
|
||||
Resource = "Resource"
|
||||
User = "User"
|
||||
Subscribers = "Subscribers"
|
||||
DerivedChargersV = "DerivedChargers"
|
||||
Destinations = "Destinations"
|
||||
ReverseDestinations = "ReverseDestinations"
|
||||
RatingPlan = "RatingPlan"
|
||||
RatingProfile = "RatingProfile"
|
||||
MetaRatingPlans = "*rating_plans"
|
||||
MetaRatingProfiles = "*rating_profiles"
|
||||
MetaUsers = "*users"
|
||||
MetaSubscribers = "*subscribers"
|
||||
MetaDerivedChargersV = "*derivedchargers"
|
||||
MetaStorDB = "*stordb"
|
||||
MetaDataDB = "*datadb"
|
||||
MetaWeight = "*weight"
|
||||
MetaLC = "*lc"
|
||||
MetaHC = "*hc"
|
||||
MetaQOS = "*qos"
|
||||
MetaReas = "*reas"
|
||||
MetaReds = "*reds"
|
||||
Weight = "Weight"
|
||||
Cost = "Cost"
|
||||
DestinationIDs = "DestinationIDs"
|
||||
RatingSubject = "RatingSubject"
|
||||
Categories = "Categories"
|
||||
Blocker = "Blocker"
|
||||
RatingPlanID = "RatingPlanID"
|
||||
StartTime = "StartTime"
|
||||
AccountSummary = "AccountSummary"
|
||||
RatingFilters = "RatingFilters"
|
||||
RatingFilter = "RatingFilter"
|
||||
Accounting = "Accounting"
|
||||
Rating = "Rating"
|
||||
Charges = "Charges"
|
||||
CompressFactor = "CompressFactor"
|
||||
Increments = "Increments"
|
||||
Balance = "Balance"
|
||||
BalanceSummaries = "BalanceSummaries"
|
||||
Type = "Type"
|
||||
YearsFieldName = "Years"
|
||||
MonthsFieldName = "Months"
|
||||
MonthDaysFieldName = "MonthDays"
|
||||
WeekDaysFieldName = "WeekDays"
|
||||
GroupIntervalStart = "GroupIntervalStart"
|
||||
RateIncrement = "RateIncrement"
|
||||
RateUnit = "RateUnit"
|
||||
BalanceUUID = "BalanceUUID"
|
||||
RatingID = "RatingID"
|
||||
ExtraChargeID = "ExtraChargeID"
|
||||
ConnectFee = "ConnectFee"
|
||||
RoundingMethod = "RoundingMethod"
|
||||
RoundingDecimals = "RoundingDecimals"
|
||||
MaxCostStrategy = "MaxCostStrategy"
|
||||
TimingID = "TimingID"
|
||||
RatesID = "RatesID"
|
||||
RatingFiltersID = "RatingFiltersID"
|
||||
AccountingID = "AccountingID"
|
||||
MetaSessionS = "*sessions"
|
||||
MetaDefault = "*default"
|
||||
Error = "Error"
|
||||
MetaCgreq = "*cgreq"
|
||||
MetaCgrep = "*cgrep"
|
||||
MetaCGRAReq = "*cgrareq"
|
||||
CGR_ACD = "cgr_acd"
|
||||
FilterIDs = "FilterIDs"
|
||||
ActivationInternal = "ActivationInterval"
|
||||
AttributeFilterIDs = "AttributeFilterIDs"
|
||||
FieldName = "FieldName"
|
||||
Path = "Path"
|
||||
MetaRound = "*round"
|
||||
Pong = "Pong"
|
||||
MetaEventCost = "*event_cost"
|
||||
MetaSuppliersEventCost = "*suppliers_event_cost"
|
||||
MetaSuppliersIgnoreErrors = "*suppliers_ignore_errors"
|
||||
Freeswitch = "freeswitch"
|
||||
Kamailio = "kamailio"
|
||||
Opensips = "opensips"
|
||||
Asterisk = "asterisk"
|
||||
SchedulerS = "SchedulerS"
|
||||
MetaMultiply = "*multiply"
|
||||
MetaDivide = "*divide"
|
||||
MetaUrl = "*url"
|
||||
MetaXml = "*xml"
|
||||
ApiKey = "apikey"
|
||||
MetaReq = "*req"
|
||||
MetaVars = "*vars"
|
||||
MetaRep = "*rep"
|
||||
MetaExp = "*exp"
|
||||
MetaHdr = "*hdr"
|
||||
MetaTrl = "*trl"
|
||||
MetaTmp = "*tmp"
|
||||
CGROriginHost = "cgr_originhost"
|
||||
MetaInitiate = "*initiate"
|
||||
MetaUpdate = "*update"
|
||||
MetaTerminate = "*terminate"
|
||||
MetaEvent = "*event"
|
||||
MetaMessage = "*message"
|
||||
MetaDryRun = "*dryrun"
|
||||
Event = "Event"
|
||||
EmptyString = ""
|
||||
DynamicDataPrefix = "~"
|
||||
AttrValueSep = "="
|
||||
ANDSep = "&"
|
||||
PipeSep = "|"
|
||||
MetaApp = "*app"
|
||||
MetaAppID = "*appid"
|
||||
MetaCmd = "*cmd"
|
||||
MetaEnv = "*env:" // use in config for describing enviormant variables
|
||||
MetaTemplate = "*template"
|
||||
MetaCCA = "*cca"
|
||||
MetaErr = "*err"
|
||||
OriginRealm = "OriginRealm"
|
||||
ProductName = "ProductName"
|
||||
IdxStart = "["
|
||||
IdxEnd = "]"
|
||||
MetaLog = "*log"
|
||||
MetaRemoteHost = "*remote_host"
|
||||
RemoteHost = "RemoteHost"
|
||||
Local = "local"
|
||||
TCP = "tcp"
|
||||
CGRDebitInterval = "CGRDebitInterval"
|
||||
Version = "Version"
|
||||
MetaTenant = "*tenant"
|
||||
ResourceUsage = "ResourceUsage"
|
||||
MetaDuration = "*duration"
|
||||
MetaLibPhoneNumber = "*libphonenumber"
|
||||
MetaIP2Hex = "*ip2hex"
|
||||
MetaReload = "*reload"
|
||||
MetaLoad = "*load"
|
||||
MetaRemove = "*remove"
|
||||
MetaStore = "*store"
|
||||
MetaClear = "*clear"
|
||||
MetaExport = "*export"
|
||||
LoadIDs = "load_ids"
|
||||
DNSAgent = "DNSAgent"
|
||||
TLSNoCaps = "tls"
|
||||
MetaRouteID = "*route_id"
|
||||
MetaApiKey = "*api_key"
|
||||
UsageID = "UsageID"
|
||||
Rcode = "Rcode"
|
||||
Replacement = "Replacement"
|
||||
Regexp = "Regexp"
|
||||
Order = "Order"
|
||||
Preference = "Preference"
|
||||
Flags = "Flags"
|
||||
Service = "Service"
|
||||
MetaSuppliersLimit = "*suppliers_limit"
|
||||
MetaSuppliersOffset = "*suppliers_offset"
|
||||
ApierV = "ApierV"
|
||||
MetaApier = "*apier"
|
||||
MetaAnalyzer = "*analyzer"
|
||||
CGREventString = "CGREvent"
|
||||
MetaTextPlain = "*text_plain"
|
||||
MetaIgnoreErrors = "*ignore_errors"
|
||||
MetaRelease = "*release"
|
||||
MetaAllocate = "*allocate"
|
||||
MetaAuthorize = "*authorize"
|
||||
MetaInit = "*init"
|
||||
MetaRatingPlanCost = "*rating_plan_cost"
|
||||
RatingPlanIDs = "RatingPlanIDs"
|
||||
ERs = "ERs"
|
||||
Ratio = "Ratio"
|
||||
Load = "Load"
|
||||
Slash = "/"
|
||||
UUID = "UUID"
|
||||
ActionsID = "ActionsID"
|
||||
MetaAct = "*act"
|
||||
DestinationPrefix = "DestinationPrefix"
|
||||
DestinationID = "DestinationID"
|
||||
ExportTemplate = "ExportTemplate"
|
||||
ExportFormat = "ExportFormat"
|
||||
Synchronous = "Synchronous"
|
||||
Attempts = "Attempts"
|
||||
FieldSeparator = "FieldSeparator"
|
||||
ExportPath = "ExportPath"
|
||||
ExportID = "ExportID"
|
||||
ExportFileName = "ExportFileName"
|
||||
GroupID = "GroupID"
|
||||
ThresholdType = "ThresholdType"
|
||||
ThresholdValue = "ThresholdValue"
|
||||
Recurrent = "Recurrent"
|
||||
Executed = "Executed"
|
||||
MinSleep = "MinSleep"
|
||||
ActivationDate = "ActivationDate"
|
||||
ExpirationDate = "ExpirationDate"
|
||||
MinQueuedItems = "MinQueuedItems"
|
||||
OrderIDStart = "OrderIDStart"
|
||||
OrderIDEnd = "OrderIDEnd"
|
||||
MinCost = "MinCost"
|
||||
MaxCost = "MaxCost"
|
||||
MetaLoaders = "*loaders"
|
||||
TmpSuffix = ".tmp"
|
||||
MetaDiamreq = "*diamreq"
|
||||
MetaCost = "*cost"
|
||||
MetaGroup = "*group"
|
||||
Address = "Address"
|
||||
Transport = "Transport"
|
||||
TLS = "TLS"
|
||||
Subsystems = "Subsystems"
|
||||
Strategy = "Strategy"
|
||||
StrategyParameters = "StrategyParameters"
|
||||
ConnID = "ConnID"
|
||||
ConnFilterIDs = "ConnFilterIDs"
|
||||
ConnWeight = "ConnWeight"
|
||||
ConnBlocker = "ConnBlocker"
|
||||
ConnParameters = "ConnParameters"
|
||||
|
||||
Thresholds = "Thresholds"
|
||||
Suppliers = "Suppliers"
|
||||
Attributes = "Attributes"
|
||||
Chargers = "Chargers"
|
||||
Dispatchers = "Dispatchers"
|
||||
StatS = "Stats"
|
||||
LoadIDsVrs = "LoadIDs"
|
||||
RALService = "RALs"
|
||||
CostSource = "CostSource"
|
||||
ExtraInfo = "ExtraInfo"
|
||||
Meta = "*"
|
||||
MetaSysLog = "*syslog"
|
||||
MetaStdLog = "*stdout"
|
||||
EventType = "EventType"
|
||||
EventSource = "EventSource"
|
||||
AccountID = "AccountID"
|
||||
ResourceID = "ResourceID"
|
||||
TotalUsage = "TotalUsage"
|
||||
StatID = "StatID"
|
||||
BalanceType = "BalanceType"
|
||||
BalanceID = "BalanceID"
|
||||
BalanceDestinationIds = "BalanceDestinationIds"
|
||||
BalanceWeight = "BalanceWeight"
|
||||
BalanceExpirationDate = "BalanceExpirationDate"
|
||||
BalanceTimingTags = "BalanceTimingTags"
|
||||
BalanceRatingSubject = "BalanceRatingSubject"
|
||||
BalanceCategories = "BalanceCategories"
|
||||
BalanceSharedGroups = "BalanceSharedGroups"
|
||||
BalanceBlocker = "BalanceBlocker"
|
||||
BalanceDisabled = "BalanceDisabled"
|
||||
Units = "Units"
|
||||
AccountUpdate = "AccountUpdate"
|
||||
BalanceUpdate = "BalanceUpdate"
|
||||
StatUpdate = "StatUpdate"
|
||||
ResourceUpdate = "ResourceUpdate"
|
||||
CDR = "CDR"
|
||||
CDRs = "CDRs"
|
||||
ExpiryTime = "ExpiryTime"
|
||||
AllowNegative = "AllowNegative"
|
||||
Disabled = "Disabled"
|
||||
Action = "Action"
|
||||
MetaNow = "*now"
|
||||
SessionSCosts = "SessionSCosts"
|
||||
Timing = "Timing"
|
||||
RQF = "RQF"
|
||||
Resource = "Resource"
|
||||
User = "User"
|
||||
Subscribers = "Subscribers"
|
||||
DerivedChargersV = "DerivedChargers"
|
||||
Destinations = "Destinations"
|
||||
ReverseDestinations = "ReverseDestinations"
|
||||
RatingPlan = "RatingPlan"
|
||||
RatingProfile = "RatingProfile"
|
||||
MetaRatingPlans = "*rating_plans"
|
||||
MetaRatingProfiles = "*rating_profiles"
|
||||
MetaUsers = "*users"
|
||||
MetaSubscribers = "*subscribers"
|
||||
MetaDerivedChargersV = "*derivedchargers"
|
||||
MetaStorDB = "*stordb"
|
||||
MetaDataDB = "*datadb"
|
||||
MetaWeight = "*weight"
|
||||
MetaLC = "*lc"
|
||||
MetaHC = "*hc"
|
||||
MetaQOS = "*qos"
|
||||
MetaReas = "*reas"
|
||||
MetaReds = "*reds"
|
||||
Weight = "Weight"
|
||||
ThresholdIDs = "ThresholdIDs"
|
||||
Cost = "Cost"
|
||||
Limit = "Limit"
|
||||
UsageTTL = "UsageTTL"
|
||||
AllocationMessage = "AllocationMessage"
|
||||
Stored = "Stored"
|
||||
DestinationIDs = "DestinationIDs"
|
||||
RatingSubject = "RatingSubject"
|
||||
Categories = "Categories"
|
||||
Blocker = "Blocker"
|
||||
RatingPlanID = "RatingPlanID"
|
||||
StartTime = "StartTime"
|
||||
AccountSummary = "AccountSummary"
|
||||
RatingFilters = "RatingFilters"
|
||||
RatingFilter = "RatingFilter"
|
||||
Accounting = "Accounting"
|
||||
Rating = "Rating"
|
||||
Charges = "Charges"
|
||||
CompressFactor = "CompressFactor"
|
||||
Increments = "Increments"
|
||||
Balance = "Balance"
|
||||
BalanceSummaries = "BalanceSummaries"
|
||||
Type = "Type"
|
||||
Element = "Element"
|
||||
Values = "Values"
|
||||
YearsFieldName = "Years"
|
||||
MonthsFieldName = "Months"
|
||||
MonthDaysFieldName = "MonthDays"
|
||||
WeekDaysFieldName = "WeekDays"
|
||||
GroupIntervalStart = "GroupIntervalStart"
|
||||
RateIncrement = "RateIncrement"
|
||||
RateUnit = "RateUnit"
|
||||
BalanceUUID = "BalanceUUID"
|
||||
RatingID = "RatingID"
|
||||
ExtraChargeID = "ExtraChargeID"
|
||||
ConnectFee = "ConnectFee"
|
||||
RoundingMethod = "RoundingMethod"
|
||||
RoundingDecimals = "RoundingDecimals"
|
||||
MaxCostStrategy = "MaxCostStrategy"
|
||||
TimingID = "TimingID"
|
||||
RatesID = "RatesID"
|
||||
RatingFiltersID = "RatingFiltersID"
|
||||
AccountingID = "AccountingID"
|
||||
MetaSessionS = "*sessions"
|
||||
MetaDefault = "*default"
|
||||
Error = "Error"
|
||||
MetaCgreq = "*cgreq"
|
||||
MetaCgrep = "*cgrep"
|
||||
MetaCGRAReq = "*cgrareq"
|
||||
CGR_ACD = "cgr_acd"
|
||||
FilterIDs = "FilterIDs"
|
||||
ActivationIntervalString = "ActivationInterval"
|
||||
AttributeFilterIDs = "AttributeFilterIDs"
|
||||
FieldName = "FieldName"
|
||||
Path = "Path"
|
||||
MetaRound = "*round"
|
||||
Pong = "Pong"
|
||||
MetaEventCost = "*event_cost"
|
||||
MetaSuppliersEventCost = "*suppliers_event_cost"
|
||||
MetaSuppliersIgnoreErrors = "*suppliers_ignore_errors"
|
||||
Freeswitch = "freeswitch"
|
||||
Kamailio = "kamailio"
|
||||
Opensips = "opensips"
|
||||
Asterisk = "asterisk"
|
||||
SchedulerS = "SchedulerS"
|
||||
MetaMultiply = "*multiply"
|
||||
MetaDivide = "*divide"
|
||||
MetaUrl = "*url"
|
||||
MetaXml = "*xml"
|
||||
ApiKey = "apikey"
|
||||
MetaReq = "*req"
|
||||
MetaVars = "*vars"
|
||||
MetaRep = "*rep"
|
||||
MetaExp = "*exp"
|
||||
MetaHdr = "*hdr"
|
||||
MetaTrl = "*trl"
|
||||
MetaTmp = "*tmp"
|
||||
CGROriginHost = "cgr_originhost"
|
||||
MetaInitiate = "*initiate"
|
||||
MetaUpdate = "*update"
|
||||
MetaTerminate = "*terminate"
|
||||
MetaEvent = "*event"
|
||||
MetaMessage = "*message"
|
||||
MetaDryRun = "*dryrun"
|
||||
Event = "Event"
|
||||
EmptyString = ""
|
||||
DynamicDataPrefix = "~"
|
||||
AttrValueSep = "="
|
||||
ANDSep = "&"
|
||||
PipeSep = "|"
|
||||
MetaApp = "*app"
|
||||
MetaAppID = "*appid"
|
||||
MetaCmd = "*cmd"
|
||||
MetaEnv = "*env:" // use in config for describing enviormant variables
|
||||
MetaTemplate = "*template"
|
||||
MetaCCA = "*cca"
|
||||
MetaErr = "*err"
|
||||
OriginRealm = "OriginRealm"
|
||||
ProductName = "ProductName"
|
||||
IdxStart = "["
|
||||
IdxEnd = "]"
|
||||
MetaLog = "*log"
|
||||
MetaRemoteHost = "*remote_host"
|
||||
RemoteHost = "RemoteHost"
|
||||
Local = "local"
|
||||
TCP = "tcp"
|
||||
CGRDebitInterval = "CGRDebitInterval"
|
||||
Version = "Version"
|
||||
MetaTenant = "*tenant"
|
||||
ResourceUsage = "ResourceUsage"
|
||||
MetaDuration = "*duration"
|
||||
MetaLibPhoneNumber = "*libphonenumber"
|
||||
MetaIP2Hex = "*ip2hex"
|
||||
MetaReload = "*reload"
|
||||
MetaLoad = "*load"
|
||||
MetaRemove = "*remove"
|
||||
MetaStore = "*store"
|
||||
MetaClear = "*clear"
|
||||
MetaExport = "*export"
|
||||
LoadIDs = "load_ids"
|
||||
DNSAgent = "DNSAgent"
|
||||
TLSNoCaps = "tls"
|
||||
MetaRouteID = "*route_id"
|
||||
MetaApiKey = "*api_key"
|
||||
UsageID = "UsageID"
|
||||
Rcode = "Rcode"
|
||||
Replacement = "Replacement"
|
||||
Regexp = "Regexp"
|
||||
Order = "Order"
|
||||
Preference = "Preference"
|
||||
Flags = "Flags"
|
||||
Service = "Service"
|
||||
MetaSuppliersLimit = "*suppliers_limit"
|
||||
MetaSuppliersOffset = "*suppliers_offset"
|
||||
ApierV = "ApierV"
|
||||
MetaApier = "*apier"
|
||||
MetaAnalyzer = "*analyzer"
|
||||
CGREventString = "CGREvent"
|
||||
MetaTextPlain = "*text_plain"
|
||||
MetaIgnoreErrors = "*ignore_errors"
|
||||
MetaRelease = "*release"
|
||||
MetaAllocate = "*allocate"
|
||||
MetaAuthorize = "*authorize"
|
||||
MetaInit = "*init"
|
||||
MetaRatingPlanCost = "*rating_plan_cost"
|
||||
RatingPlanIDs = "RatingPlanIDs"
|
||||
ERs = "ERs"
|
||||
Ratio = "Ratio"
|
||||
Load = "Load"
|
||||
Slash = "/"
|
||||
UUID = "UUID"
|
||||
ActionsID = "ActionsID"
|
||||
MetaAct = "*act"
|
||||
DestinationPrefix = "DestinationPrefix"
|
||||
DestinationID = "DestinationID"
|
||||
ExportTemplate = "ExportTemplate"
|
||||
ExportFormat = "ExportFormat"
|
||||
Synchronous = "Synchronous"
|
||||
Attempts = "Attempts"
|
||||
FieldSeparator = "FieldSeparator"
|
||||
ExportPath = "ExportPath"
|
||||
ExportID = "ExportID"
|
||||
ExportFileName = "ExportFileName"
|
||||
GroupID = "GroupID"
|
||||
ThresholdType = "ThresholdType"
|
||||
ThresholdValue = "ThresholdValue"
|
||||
Recurrent = "Recurrent"
|
||||
Executed = "Executed"
|
||||
MinSleep = "MinSleep"
|
||||
ActivationDate = "ActivationDate"
|
||||
ExpirationDate = "ExpirationDate"
|
||||
MinQueuedItems = "MinQueuedItems"
|
||||
OrderIDStart = "OrderIDStart"
|
||||
OrderIDEnd = "OrderIDEnd"
|
||||
MinCost = "MinCost"
|
||||
MaxCost = "MaxCost"
|
||||
MetaLoaders = "*loaders"
|
||||
TmpSuffix = ".tmp"
|
||||
MetaDiamreq = "*diamreq"
|
||||
MetaCost = "*cost"
|
||||
MetaGroup = "*group"
|
||||
InternalRPCSet = "InternalRPCSet"
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user