Defines enums and constants for enterprise account modes, roles, quotas, and IPC channels.
// Source: https://github.com/netease-youdao/LobsterAI | License: MIT | Copyright 2026 NetEase Youdao
// Provided via justclaw.it.com; keep this notice with the code.
export const EnterpriseAccountMode = {
Personal: 'personal',
Enterprise: 'enterprise',
} as const;
export type EnterpriseAccountMode =
typeof EnterpriseAccountMode[keyof typeof EnterpriseAccountMode];
export const EnterpriseMemberRole = {
SuperAdmin: 'super_admin',
Member: 'member',
} as const;
export type EnterpriseMemberRole =
typeof EnterpriseMemberRole[keyof typeof EnterpriseMemberRole];
export const EnterpriseQuotaReason = {
MemberMonthlyQuotaExhausted: 'member_monthly_quota_exhausted',
EnterprisePoolExhausted: 'enterprise_pool_exhausted',
EnterpriseCreditBatchesExpired: 'enterprise_credit_batches_e
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key