tenantKindconstno test imports itconst tenantKind: CodeList<"tenantKind", "business" | "consumerPool" | "platform" | "reseller">The kinds of tenant, from the vendor down to a pool of consumers.
Arca's tenancy model as a module (commons data 0029-arca-tenancy): the boundary that separates one customer's data from another's, and the hierarchy of boundaries a B2B or B2B2C business has (a platform, the resellers and businesses on it, the pools of consumers of a business). It requires the party model and nothing else, and is written to be required by others (identity, orders, billing, content) that want a scope without depending on each other.
tenantKindconstno test imports itconst tenantKind: CodeList<"tenantKind", "business" | "consumerPool" | "platform" | "reseller">The kinds of tenant, from the vendor down to a pool of consumers.
tenantStatusconstno test imports itconst tenantStatus: CodeList<"tenantStatus", "active" | "closed" | "suspended">Where a tenant is in its life.
isolationconstno test imports itconst isolation: CodeList<"isolation", "dedicated" | "shared">How much of the platform a tenant has to itself.
tenantconstconst tenant: AnyConceptA tenant: the boundary that separates one customer's data from another's. A WorkOS organization or an Okta org is a business tenant; the vendor is the root platform tenant; the consumers of a business are a consumerPool tenant whose parent is that business.
tenancyModuleconstconst tenancyModule: ModuleThe tenancy module: the party model's, plus tenants.