Skip to main content

TenantSettings

Tenant-level configuration exposed to the frontend. All values reflect the current authenticated tenant's settings.

type TenantSettings {
analyticsAvailable: Boolean!
employeeLendingAvailable: Boolean!
hrWorksAvailable: Boolean!
language: Language!
timezone: String!
}

Fields​

TenantSettings.analyticsAvailable ● Boolean! non-null scalar​

Whether Huskycare has unlocked the analytics (Auswertungen) for this tenant. While false, the backend refuses every analytics query with ANALYTICS_NOT_AVAILABLE_FOR_TENANT, even for a user holding analytics:report:view, and the frontend offers no analytics entry.

TenantSettings.employeeLendingAvailable ● Boolean! non-null scalar​

Whether Huskycare has unlocked the employee lending (Mitarbeiter-Entleihung) for this tenant. While false, the park settings offer no add-on and no park can switch it on. Whether a park has switched it on itself is ResidentialPark.employeeLendingEnabled, which is true only when this is true as well.

TenantSettings.hrWorksAvailable ● Boolean! non-null scalar​

Whether HR WORKS can be used on this tenant: the integration is switched on for the installation, and the tenant has it enabled with credentials set.

Clients ask this before offering anything HR WORKS related. While it is false, every other HR WORKS field and mutation fails with HRWORKS_INTEGRATION_DISABLED or HRWORKS_TENANT_NOT_CONNECTED.

Answered from configuration alone, without contacting HR WORKS, so true does not mean HR WORKS is reachable right now.

TenantSettings.language ● Language! non-null enum​

Display language configured for this tenant.

TenantSettings.timezone ● String! non-null scalar​

IANA timezone identifier for this tenant (e.g. "Europe/Berlin", "Asia/Bangkok"). All dates and times in the UI should be interpreted in this timezone.

Returned By​

tenantSettings query