use std::fmt;
use std::str::FromStr;
use uuid::Uuid;
const ALPHABET: &[u8; 32] = b"0123456789abcdefghjkmnpqrstvwxyz";
const SUFFIX_LEN: usize = 26;
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
pub struct Prefix {
prefix: &'static str,
entity: &'static str,
service: &'static str,
collection: Option<&'static str>,
}
impl Prefix {
pub const fn new(
prefix: &'static str,
entity: &'static str,
service: &'static str,
collection: Option<&'static str>,
) -> Self {
Self {
prefix,
entity,
service,
collection,
}
}
pub const fn as_str(&self) -> &'static str {
self.prefix
}
pub const fn entity(&self) -> &'static str {
self.entity
}
pub const fn service(&self) -> &'static str {
self.service
}
pub const fn collection(&self) -> Option<&'static str> {
self.collection
}
pub fn of(prefix: &str) -> Option<Prefix> {
ALL.iter().copied().find(|p| p.prefix == prefix)
}
}
impl fmt::Display for Prefix {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
f.write_str(self.prefix)
}
}
#[derive(Debug, Clone, PartialEq, Eq)]
#[non_exhaustive]
pub enum IdError {
Malformed,
UnknownPrefix(String),
WrongPrefix {
expected: &'static str,
found: &'static str,
},
InvalidSuffix,
}
impl fmt::Display for IdError {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
match self {
Self::Malformed => f.write_str("not a TypeID: expected `<prefix>_<26 characters>`"),
Self::UnknownPrefix(p) => write!(f, "unknown id prefix `{p}`"),
Self::WrongPrefix { expected, found } => {
write!(f, "expected a `{expected}_` id, found `{found}_`")
}
Self::InvalidSuffix => {
f.write_str("invalid TypeID suffix: expected 26 lowercase base32 characters")
}
}
}
}
impl std::error::Error for IdError {}
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
pub struct TypeId {
prefix: Prefix,
uuid: Uuid,
}
impl TypeId {
pub const fn from_uuid(prefix: Prefix, uuid: Uuid) -> Self {
Self { prefix, uuid }
}
pub const fn prefix(&self) -> Prefix {
self.prefix
}
pub const fn uuid(&self) -> Uuid {
self.uuid
}
pub fn dns_form(&self) -> String {
format!("{}-{}", self.prefix, suffix(self.uuid.as_u128()))
}
}
impl fmt::Display for TypeId {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
write!(f, "{}_{}", self.prefix, suffix(self.uuid.as_u128()))
}
}
impl FromStr for TypeId {
type Err = IdError;
fn from_str(s: &str) -> Result<Self, IdError> {
parse(s)
}
}
pub fn mint(prefix: Prefix) -> TypeId {
TypeId::from_uuid(prefix, Uuid::now_v7())
}
pub fn parse(s: &str) -> Result<TypeId, IdError> {
let (prefix, suffix) = s.split_once('_').ok_or(IdError::Malformed)?;
if !(2..=5).contains(&prefix.len()) || !prefix.bytes().all(|b| b.is_ascii_lowercase()) {
return Err(IdError::Malformed);
}
let prefix = Prefix::of(prefix).ok_or_else(|| IdError::UnknownPrefix(prefix.to_string()))?;
Ok(TypeId::from_uuid(prefix, Uuid::from_u128(decode(suffix)?)))
}
pub fn validate(prefix: Prefix, s: &str) -> Result<TypeId, IdError> {
let id = parse(s)?;
if id.prefix == prefix {
Ok(id)
} else {
Err(IdError::WrongPrefix {
expected: prefix.as_str(),
found: id.prefix.as_str(),
})
}
}
fn suffix(value: u128) -> String {
(0..SUFFIX_LEN)
.map(|i| ALPHABET[((value >> (125 - 5 * i)) & 31) as usize] as char)
.collect()
}
fn decode(s: &str) -> Result<u128, IdError> {
let bytes = s.as_bytes();
if bytes.len() != SUFFIX_LEN || bytes[0] > b'7' {
return Err(IdError::InvalidSuffix);
}
let mut value: u128 = 0;
for &b in bytes {
let digit = ALPHABET
.iter()
.position(|&a| a == b)
.ok_or(IdError::InvalidSuffix)?;
value = (value << 5) | digit as u128;
}
Ok(value)
}
pub const ORG: Prefix = Prefix::new("org", "Org", "access", Some("orgs"));
pub const PRJ: Prefix = Prefix::new("prj", "Project", "access", Some("projects"));
pub const ENV: Prefix = Prefix::new("env", "Environment", "access", Some("envs"));
pub const KEY: Prefix = Prefix::new("key", "ApiKey", "access", Some("api_keys"));
pub const PRN: Prefix = Prefix::new("prn", "Principal", "access", None);
pub const DVG: Prefix = Prefix::new("dvg", "DeviceGrant", "access", None);
pub const OMB: Prefix = Prefix::new("omb", "OrgMember", "access", None);
pub const MBR: Prefix = Prefix::new("mbr", "Member", "auth", Some("memberships"));
pub const USR: Prefix = Prefix::new("usr", "User", "auth", Some("end_users"));
pub const SESS: Prefix = Prefix::new("sess", "Session", "auth", Some("sessions"));
pub const ACFG: Prefix = Prefix::new("acfg", "AuthConfig", "auth", Some("auth_configs"));
pub const AORG: Prefix = Prefix::new("aorg", "AuthOrganization", "auth", None);
pub const COR: Prefix = Prefix::new(
"cor",
"CustomerOrganization",
"auth",
Some("customer_organizations"),
);
pub const EDM: Prefix = Prefix::new("edm", "EmailDomain", "auth", Some("email_domains"));
pub const IVT: Prefix = Prefix::new("ivt", "Invitation", "auth", Some("invitations"));
pub const OAC: Prefix = Prefix::new("oac", "OauthClient", "auth", Some("oauth_clients"));
pub const ORL: Prefix = Prefix::new(
"orl",
"OrganizationRole",
"auth",
Some("organization_roles"),
);
pub const AGT: Prefix = Prefix::new("agt", "Agent", "agents", Some("agents"));
pub const AGV: Prefix = Prefix::new("agv", "AgentVersion", "agents", Some("agent_versions"));
pub const ASES: Prefix = Prefix::new("ases", "AgentSession", "agents", Some("agent_sessions"));
pub const SEVT: Prefix = Prefix::new("sevt", "SessionEvent", "agents", Some("session_events"));
pub const MST: Prefix = Prefix::new("mst", "MemoryStore", "agents", Some("memory_stores"));
pub const MEM: Prefix = Prefix::new("mem", "Memory", "agents", Some("memories"));
pub const MDL: Prefix = Prefix::new("mdl", "AiModel", "ai", Some("ai_models"));
pub const AI: Prefix = Prefix::new("ai", "AiUsage", "ai", None);
pub const LLM: Prefix = Prefix::new("llm", "LlmLog", "ai", None);
pub const ART: Prefix = Prefix::new("art", "Artifact", "artifacts", Some("artifacts"));
pub const BAC: Prefix = Prefix::new("bac", "BillingAccount", "billing", Some("billing_accounts"));
pub const BLS: Prefix = Prefix::new("bls", "BudgetLease", "billing", Some("budget_leases"));
pub const INV: Prefix = Prefix::new("inv", "Invoice", "billing", Some("invoices"));
pub const MET: Prefix = Prefix::new("met", "Meter", "billing", Some("meters"));
pub const PLAN: Prefix = Prefix::new("plan", "Plan", "billing", Some("plans"));
pub const URP: Prefix = Prefix::new("urp", "UsageReport", "billing", Some("usage_reports"));
pub const BSUB: Prefix = Prefix::new("bsub", "BillingSubscription", "billing", None);
pub const SITEM: Prefix = Prefix::new("sitem", "SubscriptionItem", "billing", None);
pub const AUSE: Prefix = Prefix::new("ause", "ApiUsage", "billing", None);
pub const ACC: Prefix = Prefix::new("acc", "LedgerAccount", "ledger", None);
pub const TXN: Prefix = Prefix::new("txn", "LedgerTransaction", "ledger", None);
pub const TPOL: Prefix = Prefix::new("tpol", "TrustPolicy", "broker", Some("trust_policies"));
pub const BLD: Prefix = Prefix::new("bld", "Build", "build", Some("builds"));
pub const BCC: Prefix = Prefix::new("bcc", "BuildCache", "build", Some("build_caches"));
pub const CHG: Prefix = Prefix::new("chg", "ConfigChange", "config", Some("config_changes"));
pub const FLAG: Prefix = Prefix::new("flag", "ConfigFlag", "config", Some("config_flags"));
pub const SEG: Prefix = Prefix::new("seg", "ConfigSegment", "config", Some("config_segments"));
pub const CONN: Prefix = Prefix::new("conn", "Connection", "connections", Some("connections"));
pub const CPRV: Prefix = Prefix::new(
"cprv",
"ConnectionProvider",
"connections",
Some("connection_providers"),
);
pub const BKT: Prefix = Prefix::new("bkt", "Bucket", "data", Some("buckets"));
pub const DB: Prefix = Prefix::new("db", "Database", "data", Some("databases"));
pub const KV: Prefix = Prefix::new("kv", "KvNamespace", "data", Some("kv_namespaces"));
pub const IDX: Prefix = Prefix::new("idx", "SearchIndex", "data", Some("search_indexes"));
pub const CUS: Prefix = Prefix::new("cus", "Customer", "data", None);
pub const ENT: Prefix = Prefix::new("ent", "Entitlement", "entitlement", Some("entitlements"));
pub const EVT: Prefix = Prefix::new("evt", "Event", "events", Some("events"));
pub const IBE: Prefix = Prefix::new(
"ibe",
"InboundEndpoint",
"events",
Some("inbound_endpoints"),
);
pub const QUE: Prefix = Prefix::new("que", "Queue", "events", Some("queues"));
pub const RTC: Prefix = Prefix::new(
"rtc",
"RealtimeChannel",
"events",
Some("realtime_channels"),
);
pub const RTM: Prefix = Prefix::new("rtm", "RealtimeMember", "events", Some("realtime_members"));
pub const RTG: Prefix = Prefix::new(
"rtg",
"RealtimeMessage",
"events",
Some("realtime_messages"),
);
pub const SUB: Prefix = Prefix::new("sub", "Subscription", "events", Some("subscriptions"));
pub const TOP: Prefix = Prefix::new("top", "Topic", "events", Some("topics"));
pub const WHD: Prefix = Prefix::new(
"whd",
"WebhookDelivery",
"events",
Some("webhook_deliveries"),
);
pub const WHK: Prefix = Prefix::new(
"whk",
"WebhookEndpoint",
"events",
Some("webhook_endpoints"),
);
pub const PRV: Prefix = Prefix::new("prv", "Preview", "hosting", Some("previews"));
pub const SRL: Prefix = Prefix::new("srl", "ServiceRollout", "hosting", Some("service_rollouts"));
pub const SVC: Prefix = Prefix::new("svc", "Service", "hosting", Some("services"));
pub const SLNK: Prefix = Prefix::new("slnk", "SourceLink", "hosting", Some("source_links"));
pub const KMS: Prefix = Prefix::new("kms", "Key", "keys", Some("keys"));
pub const KMSV: Prefix = Prefix::new("kmsv", "KeyVersion", "keys", Some("key_versions"));
pub const CERT: Prefix = Prefix::new("cert", "Certificate", "network", Some("certificates"));
pub const DOM: Prefix = Prefix::new("dom", "Domain", "network", Some("domains"));
pub const EGR: Prefix = Prefix::new(
"egr",
"EgressIdentity",
"network",
Some("egress_identities"),
);
pub const PLK: Prefix = Prefix::new("plk", "PrivateLink", "network", Some("private_links"));
pub const RT: Prefix = Prefix::new("rt", "Route", "network", Some("routes"));
pub const BCST: Prefix = Prefix::new("bcst", "Broadcast", "notify", Some("broadcasts"));
pub const IEM: Prefix = Prefix::new("iem", "InboundEmail", "notify", Some("inbound_emails"));
pub const INBX: Prefix = Prefix::new("inbx", "InboxItem", "notify", Some("inbox_items"));
pub const MBX: Prefix = Prefix::new("mbx", "Mailbox", "notify", Some("mailboxes"));
pub const MCL: Prefix = Prefix::new(
"mcl",
"MailboxConnectLink",
"notify",
Some("mailbox_connect_links"),
);
pub const MOA: Prefix = Prefix::new(
"moa",
"MailboxOauthApp",
"notify",
Some("mailbox_oauth_apps"),
);
pub const MSG: Prefix = Prefix::new("msg", "Message", "notify", Some("messages"));
pub const PRF: Prefix = Prefix::new("prf", "Preference", "notify", Some("preferences"));
pub const RCP: Prefix = Prefix::new("rcp", "Recipient", "notify", Some("recipients"));
pub const SND: Prefix = Prefix::new("snd", "Sender", "notify", Some("senders"));
pub const SDM: Prefix = Prefix::new("sdm", "EmailDomain", "notify", Some("mail_domains"));
pub const SUP: Prefix = Prefix::new("sup", "Suppression", "notify", Some("suppressions"));
pub const TMPL: Prefix = Prefix::new("tmpl", "Template", "notify", Some("templates"));
pub const EEV: Prefix = Prefix::new("eev", "ErrorEvent", "observability", Some("error_events"));
pub const EGRP: Prefix = Prefix::new("egrp", "ErrorGroup", "observability", Some("error_groups"));
pub const LOG: Prefix = Prefix::new("log", "LogEntry", "observability", Some("log_entries"));
pub const SCRP: Prefix = Prefix::new(
"scrp",
"ScrubbingPolicy",
"observability",
Some("scrubbing_policies"),
);
pub const SMAP: Prefix = Prefix::new("smap", "SourceMap", "observability", Some("source_maps"));
pub const TRC: Prefix = Prefix::new("trc", "Trace", "observability", Some("traces"));
pub const GEN: Prefix = Prefix::new("gen", "Generation", "observability", Some("generations"));
pub const ERR: Prefix = Prefix::new("err", "ErrorRecord", "observability", None);
pub const REL: Prefix = Prefix::new("rel", "Release", "release", Some("releases"));
pub const ROL: Prefix = Prefix::new("rol", "Rollout", "release", Some("rollouts"));
pub const RUN: Prefix = Prefix::new("run", "Runner", "runners", Some("runners"));
pub const SSET: Prefix = Prefix::new("sset", "ScaleSet", "runners", Some("scale_sets"));
pub const LSE: Prefix = Prefix::new("lse", "Lease", "sandboxes", Some("leases"));
pub const LEV: Prefix = Prefix::new("lev", "LeaseEvent", "sandboxes", Some("lease_events"));
pub const POOL: Prefix = Prefix::new("pool", "Pool", "sandboxes", Some("pools"));
pub const SHP: Prefix = Prefix::new("shp", "Shape", "sandboxes", Some("sandbox_shapes"));
pub const SNAP: Prefix = Prefix::new("snap", "Snapshot", "sandboxes", Some("snapshots"));
pub const VOL: Prefix = Prefix::new("vol", "Volume", "sandboxes", Some("volumes"));
pub const SBX: Prefix = Prefix::new("sbx", "Sandbox", "sandboxes", None);
pub const SEC: Prefix = Prefix::new("sec", "Secret", "secrets", Some("secrets"));
pub const SECV: Prefix = Prefix::new("secv", "SecretVersion", "secrets", Some("secret_versions"));
pub const SECB: Prefix = Prefix::new("secb", "SecretBinding", "secrets", Some("secret_bindings"));
pub const PFL: Prefix = Prefix::new("pfl", "Profile", "secrets", Some("profiles"));
pub const PFLV: Prefix = Prefix::new(
"pflv",
"ProfileVersion",
"secrets",
Some("profile_versions"),
);
pub const PFLA: Prefix = Prefix::new("pfla", "ProfileAttachment", "secrets", None);
pub const JOB: Prefix = Prefix::new("job", "Run", "workflows", Some("runs"));
pub const SCHED: Prefix = Prefix::new("sched", "Schedule", "workflows", Some("schedules"));
pub const WF: Prefix = Prefix::new("wf", "Workflow", "workflows", Some("workflows"));
pub const ESVC: Prefix = Prefix::new("esvc", "EnvService", "platform", None);
pub const DPL: Prefix = Prefix::new("dpl", "Deploy", "platform", None);
pub const TOK: Prefix = Prefix::new("tok", "Token", "platform", None);
pub const TASK: Prefix = Prefix::new("task", "Task", "platform", None);
pub const CEX: Prefix = Prefix::new("cex", "ContainerExecution", "platform", None);
pub const VMNT: Prefix = Prefix::new("vmnt", "VolumeMount", "platform", None);
pub const WKSP: Prefix = Prefix::new("wksp", "Workspace", "platform", None);
pub const MDT: Prefix = Prefix::new("mdt", "MobileDeviceTest", "platform", None);
pub const MDEV: Prefix = Prefix::new("mdev", "MobileDevice", "platform", None);
pub const CBT: Prefix = Prefix::new("cbt", "CallbackTarget", "platform", None);
pub const DVS: Prefix = Prefix::new("dvs", "DeviceSession", "platform", None);
pub const RES: Prefix = Prefix::new("res", "ManagedResource", "platform", None);
pub const DBBR: Prefix = Prefix::new("dbbr", "BranchDatabase", "platform", None);
pub const RSTR: Prefix = Prefix::new("rstr", "RestoreOperation", "platform", None);
pub const PRX: Prefix = Prefix::new("prx", "Proxy", "platform", None);
pub const PRULE: Prefix = Prefix::new("prule", "ProxyRule", "platform", None);
pub const WRK: Prefix = Prefix::new("wrk", "Worker", "platform", None);
pub const EXP: Prefix = Prefix::new("exp", "Experiment", "platform", None);
pub const NTF: Prefix = Prefix::new("ntf", "Notification", "platform", None);
pub const DISP: Prefix = Prefix::new("disp", "Dispatch", "platform", None);
pub const TDEF: Prefix = Prefix::new("tdef", "TaskDefinition", "platform", None);
pub const ALRT: Prefix = Prefix::new("alrt", "Alert", "platform", None);
pub const DOC: Prefix = Prefix::new("doc", "Document", "platform", None);
pub const FILE: Prefix = Prefix::new("file", "File", "platform", None);
pub const PSEG: Prefix = Prefix::new("pseg", "PushSegment", "platform", None);
pub const PCAM: Prefix = Prefix::new("pcam", "PushCampaign", "platform", None);
pub const PDLY: Prefix = Prefix::new("pdly", "PushDelivery", "platform", None);
pub const FVER: Prefix = Prefix::new("fver", "FileVersion", "platform", None);
pub const ACHV: Prefix = Prefix::new("achv", "Achievement", "platform", None);
pub const LDB: Prefix = Prefix::new("ldb", "Leaderboard", "platform", None);
pub const COH: Prefix = Prefix::new("coh", "Cohort", "platform", None);
pub const ADST: Prefix = Prefix::new("adst", "AnalyticsDestination", "platform", None);
pub const DLG: Prefix = Prefix::new("dlg", "DestinationLog", "platform", None);
pub const REF: Prefix = Prefix::new("ref", "Referral", "platform", None);
pub const PROMO: Prefix = Prefix::new("promo", "PromoCode", "platform", None);
pub const NSUB: Prefix = Prefix::new("nsub", "NewsletterSubscriber", "platform", None);
pub const NSEQ: Prefix = Prefix::new("nseq", "NewsletterSequence", "platform", None);
pub const NST: Prefix = Prefix::new("nst", "NewsletterStep", "platform", None);
pub const IDP: Prefix = Prefix::new("idp", "SamlProvider", "platform", None);
pub const SLOG: Prefix = Prefix::new("slog", "SamlLog", "platform", None);
pub const CFG: Prefix = Prefix::new("cfg", "ConfigFile", "platform", None);
pub const BND: Prefix = Prefix::new("bnd", "Binding", "platform", None);
pub const AUDT: Prefix = Prefix::new("audt", "AuditLog", "platform", None);
pub const PERM: Prefix = Prefix::new("perm", "Permission", "platform", None);
pub const ROLE: Prefix = Prefix::new("role", "Role", "platform", None);
pub const SA: Prefix = Prefix::new("sa", "ServiceAccount", "platform", None);
pub const REQ: Prefix = Prefix::new("req", "Request", "platform", None);
pub const CAT: Prefix = Prefix::new("cat", "PriceCatalog", "money", Some("price_catalogs"));
pub const CKS: Prefix = Prefix::new("cks", "CheckoutSession", "money", Some("checkout_sessions"));
pub const CPL: Prefix = Prefix::new("cpl", "CheckoutPolicy", "money", Some("checkout_policies"));
pub const CSUB: Prefix = Prefix::new(
"csub",
"CustomerSubscription",
"money",
Some("customer_subscriptions"),
);
pub const EGNT: Prefix = Prefix::new(
"egnt",
"EntitlementGrant",
"money",
Some("entitlement_grants"),
);
pub const LKEY: Prefix = Prefix::new("lkey", "LicenceKey", "money", Some("licence_keys"));
pub const LTOK: Prefix = Prefix::new("ltok", "LicenceToken", "money", Some("licence_tokens"));
pub const RVS: Prefix = Prefix::new("rvs", "RevenueSource", "money", Some("revenue_sources"));
pub const RVF: Prefix = Prefix::new("rvf", "RevenueFact", "money", Some("revenue_facts"));
pub const RVSUM: Prefix = Prefix::new("rvsum", "RevenueSummary", "money", Some("revenue"));
pub const FXR: Prefix = Prefix::new("fxr", "ExchangeRate", "money", Some("exchange_rates"));
pub const MACT: Prefix = Prefix::new(
"mact",
"MerchantAccount",
"money",
Some("merchant_accounts"),
);
pub const PSN: Prefix = Prefix::new("psn", "PortalSession", "money", Some("portal_sessions"));
pub const SCN: Prefix = Prefix::new("scn", "StoreConnection", "money", Some("store_connections"));
pub const SPU: Prefix = Prefix::new("spu", "StorePurchase", "money", Some("store_purchases"));
pub const URES: Prefix = Prefix::new(
"ures",
"UsageReservation",
"money",
Some("usage_reservations"),
);
pub const UEVT: Prefix = Prefix::new("uevt", "UsageEvent", "money", Some("usage_events"));
pub const CGRT: Prefix = Prefix::new("cgrt", "CreditGrant", "money", Some("credit_grants"));
pub const UINV: Prefix = Prefix::new("uinv", "UsageInvoice", "money", Some("usage_invoices"));
pub const USET: Prefix = Prefix::new("uset", "UsageSettings", "money", Some("usage_settings"));
pub const UTIER: Prefix = Prefix::new("utier", "UsageTier", "money", Some("usage_tiers"));
pub const UMTR: Prefix = Prefix::new("umtr", "UsageMeter", "money", Some("usage_meters"));
pub const UMPR: Prefix = Prefix::new(
"umpr",
"UsageMeterPrice",
"money",
Some("usage_meter_prices"),
);
pub const SPC: Prefix = Prefix::new("spc", "Space", "knowledge", Some("spaces"));
pub const EPI: Prefix = Prefix::new("epi", "Episode", "knowledge", Some("episodes"));
pub const KEN: Prefix = Prefix::new("ken", "Entity", "knowledge", Some("entities"));
pub const KREL: Prefix = Prefix::new("krel", "Relation", "knowledge", Some("relations"));
pub const KSCH: Prefix = Prefix::new(
"ksch",
"KnowledgeSchema",
"knowledge",
Some("knowledge_schemas"),
);
pub const ALL: &[Prefix] = &[
ORG, PRJ, ENV, KEY, PRN, DVG, OMB, MBR, USR, SESS, ACFG, AORG, COR, EDM, IVT, OAC, ORL, AGT,
AGV, ASES, SEVT, MST, MEM, MDL, AI, LLM, ART, BAC, BLS, INV, MET, PLAN, URP, BSUB, SITEM, AUSE,
ACC, TXN, TPOL, BLD, BCC, CHG, FLAG, SEG, CONN, CPRV, BKT, DB, KV, IDX, CUS, ENT, EVT, IBE,
QUE, RTC, RTM, RTG, SUB, TOP, WHD, WHK, PRV, SRL, SVC, SLNK, KMS, KMSV, CERT, DOM, EGR, PLK,
RT, BCST, IEM, INBX, MBX, MCL, MOA, MSG, PRF, RCP, SND, SDM, SUP, TMPL, EEV, EGRP, LOG, SCRP,
SMAP, TRC, GEN, ERR, REL, ROL, RUN, SSET, LSE, LEV, POOL, SHP, SNAP, VOL, SBX, SEC, SECV, SECB,
PFL, PFLV, PFLA, JOB, SCHED, WF, ESVC, DPL, TOK, TASK, CEX, VMNT, WKSP, MDT, MDEV, CBT, DVS,
RES, DBBR, RSTR, PRX, PRULE, WRK, EXP, NTF, DISP, TDEF, ALRT, DOC, FILE, PSEG, PCAM, PDLY,
FVER, ACHV, LDB, COH, ADST, DLG, REF, PROMO, NSUB, NSEQ, NST, IDP, SLOG, CFG, BND, AUDT, PERM,
ROLE, SA, REQ, CAT, CKS, CPL, CSUB, EGNT, LKEY, LTOK, RVS, RVF, RVSUM, FXR, MACT, PSN, SCN,
SPU, URES, UEVT, CGRT, UINV, USET, UTIER, UMTR, UMPR, SPC, EPI, KEN, KREL, KSCH,
];