Appearance
Documentation / @kizami/db
@kizami/db
Namespaces
Interfaces
- AcceptedInvitation
- AcceptInvitationInput
- AppendClosingEventInput
- AssignedPresetNameRow
- AssignUserWorkPolicyParams
- AuditLogListFilter
- AuditLogWithActor
- ClosingSnapshotGeneration
- ClosingState
- CountUnreadParams
- CreateAllowanceDefinitionParams
- CreateDepartmentInput
- CreatePresetInput
- DecideAutoBreakWaiverParams
- FindNotificationByTypeAndDateParams
- GetAllowanceDefinitionVersionsTimelineParams
- GetEffectiveSettingsVersionParams
- GetOrCreateTenantWorkPolicyByKindParams
- GetOrCreateTenantWorkPolicyParams
- GetSettingsTimelineParams
- GetValidPunchEventParams
- InsertAllowanceDefinitionVersionParams
- InsertShiftPatternParams
- InsertShiftPlanParams
- InsertSlackLinkTokenInput
- InsertTenantSettingVersionParams
- InsertWorkPolicyVersionParams
- LinkSlackUserInput
- ListApiKeysParams
- ListAssignedPresetGrantsParams
- ListAutoBreakWaiversParams
- ListCorrectionRequestsParams
- ListLeaveGrantProposalsParams
- ListLeaveRequestsParams
- ListNotificationsParams
- ListValidPunchesParams
- MarkNotificationReadParams
- MembershipDepartmentRow
- NewApiKeyInput
- NewAuditLogInput
- NewAutoBreakWaiverInput
- NewClosingSnapshotInput
- NewCorrectionRequestInput
- NewInvitationInput
- NewLeaveGrantInput
- NewLeaveGrantProposalInput
- NewLeaveRequestInput
- NewNotificationInput
- NewPasswordResetTokenInput
- NewUserInput
- RawPermissionGrant
- ReplacePresetAssignmentsInput
- RevokeApiKeyParams
- RevokeInvitationParams
- RevokePasswordResetTokenParams
- ShiftDayFields
- TouchApiKeyLastUsedParams
- UpdateCorrectionStatusParams
- UpdateDepartmentInput
- UpdateLeaveGrantProposalStatusParams
- UpdateLeaveRequestStatusParams
- UpdatePresetInput
- UpdateTenantLawProfileParams
- UpdateTenantPrivacyContactParams
- UpsertHelpOverrideInput
- UpsertMembershipInput
- UpsertNotificationSettingsInput
- UpsertTenantLeaveSettingsInput
- UpsertTenantSlackSettingsInput
- UpsertUserNotificationSettingsInput
- UsedPasswordResetToken
- UsePasswordResetTokenInput
- UserPolicyAssignmentHistoryRow
- WithdrawAutoBreakWaiverParams
Type Aliases
- AllowanceDefinition
- AllowanceDefinitionVersion
- ApiKey
- ApiKeySummary
- AuditLog
- AutoBreakWaiver
- AutoBreakWaiverStatus
- ClosingEvent
- ClosingEventKind
- ClosingSnapshot
- ClosingSnapshotCategory
- CorrectionRequest
- CorrectionStatus
- Database
- Department
- HelpOverride
- Invitation
- LeaveGrant
- LeaveGrantProposal
- LeaveGrantProposalStatus
- LeaveRequest
- LeaveRequestStatus
- Membership
- MemberUser
- NewPunchEvent
- Notification
- PasswordResetToken
- PermissionPreset
- PunchEvent
- ShiftDayRow
- ShiftPattern
- ShiftPlan
- SlackLinkToken
- SlackUserLink
- Tenant
- TenantLeaveSettings
- TenantNotificationSettings
- TenantSettingVersion
- TenantSlackSettings
- Transaction
- UserNotificationSettings
- WorkPolicy
- WorkPolicyVersion
Variables
- ALLOWANCE_CLOSING_SNAPSHOT_CATEGORY_PREFIX
- allowanceDefinitions
- allowanceDefinitionVersions
- apiKeys
- auditLogs
- authCredentials
- autoBreakWaivers
- CLOSING_SNAPSHOT_CATEGORIES
- closingEvents
- closingSnapshots
- correctionRequests
- departments
- helpOverrides
- invitations
- leaveGrantProposals
- leaveGrants
- leaveRequests
- memberships
- notifications
- passwordResetTokens
- permissionPresets
- presetAssignments
- punchEvents
- sessions
- shiftDays
- shiftPatterns
- shiftPlans
- slackLinkTokens
- slackUserLinks
- tenantLeaveSettings
- tenantNotificationSettings
- tenants
- tenantSettingVersions
- tenantSlackSettings
- userNotificationSettings
- userPolicyAssignments
- users
- workPolicies
- workPolicyVersions
Functions
- acceptInvitation
- appendClosingEvent
- archiveShiftPattern
- assignUserWorkPolicy
- countChildDepartments
- countMembershipsInDepartment
- countPresetAssignments
- countProposedLeaveGrantProposals
- countUnread
- createAllowanceDefinition
- createAutoBreakWaiver
- createCorrectionRequest
- createDb
- createDepartment
- createInvitation
- createInvitationInTx
- createLeaveRequest
- createNotificationIfAbsent
- createPasswordResetToken
- createPreset
- createUser
- deactivateUser
- decideAutoBreakWaiver
- deleteDepartment
- deleteHelpOverride
- deletePreset
- findActiveLeaveGrantProposal
- findApiKeyByHash
- findInvitationByTokenHash
- findNotificationByTypeAndDate
- findPasswordResetTokenByHash
- findValidSlackLinkTokenByHash
- getAllowanceDefinitionVersionsTimeline
- getApiKeyById
- getAutoBreakWaiverById
- getClosingSnapshotHistory
- getClosingSnapshots
- getClosingSnapshotsForUsers
- getClosingState
- getCorrectionRequest
- getDepartmentById
- getEffectiveSettingsVersion
- getHelpOverride
- getHelpOverrides
- getLatestInvitationForUser
- getLatestMembership
- getLatestPasswordResetTokenForUser
- getLeaveGrantProposal
- getLeaveRequest
- getNotificationSettings
- getOrCreateTenantWorkPolicy
- getOrCreateTenantWorkPolicyByKind
- getOriginalClosingSnapshots
- getOriginalClosingSnapshotsForUsers
- getPresetById
- getPunchEventById
- getSettingsTimeline
- getShiftPatternById
- getShiftPlanById
- getSlackUserLinkBySlackUserId
- getSlackUserLinkByUserId
- getTenantById
- getTenantLeaveSettings
- getTenantSlackSettings
- getTenantSlackSettingsByTeamId
- getTenantWorkPolicy
- getUserById
- getUserNotificationSettings
- getValidPunchEvent
- getValidShiftDayForDate
- insertAllowanceDefinitionVersion
- insertApiKey
- insertAuditLog
- insertLeaveGrant
- insertLeaveGrantProposal
- insertPunchEvent
- insertShiftPattern
- insertShiftPlan
- insertSlackLinkToken
- insertTenantSettingVersion
- insertWorkPolicyVersion
- isUniqueConstraintError
- linkSlackUser
- listActiveLeaveRequestsForDate
- listAllApprovedLeaveRequests
- listAllowanceDefinitions
- listAllowanceDefinitionVersions
- listApiKeys
- listApprovedLeaveRequestsInRange
- listApprovedWaiverDatesInRange
- listAssignedPresetGrants
- listAuditLogs
- listAutoBreakWaivers
- listClosingStates
- listConvertedFromGrantIds
- listCorrectionRequests
- listCurrentWorkPolicyKindsForTenant
- listDepartments
- listGrantedOnDates
- listInvitationsForTenant
- listLeaveGrantProposals
- listLeaveGrants
- listLeaveRequests
- listNotifications
- listPasswordResetTokensForTenant
- listPresets
- listShiftDayHistoryForPlan
- listShiftPatterns
- listShiftPlans
- listTenantAssignedPresetNames
- listTenantMembershipsWithDepartment
- listTenantPresetGrantsByUser
- listTenantSettingVersions
- listTenantUserIdsWithCredentials
- listTenantUsers
- listUserPolicyAssignments
- listValidPunches
- listValidShiftDaysForPlan
- listValidShiftDaysInRange
- listWorkPolicyVersions
- markNotificationRead
- markSlackLinkTokenUsed
- migrateDb
- publishShiftPlan
- reactivateUser
- replacePresetAssignmentsForUser
- revokeAllPasswordResetTokensForUser
- revokeAllSessionsForUser
- revokeApiKey
- revokeInvitation
- revokePasswordResetToken
- revokePendingInvitationForUser
- saveClosingSnapshots
- supersedeProposedLeaveGrantProposals
- touchApiKeyLastUsed
- updateCorrectionStatus
- updateDepartment
- updateLeaveGrantProposalStatus
- updateLeaveRequestStatus
- updatePreset
- updateTenantLawProfile
- updateTenantPrivacyContact
- updateTenantWorkRulesUrl
- updateUserHireDate
- updateUserLeaveGrantClass
- upsertHelpOverride
- upsertMembership
- upsertNotificationSettings
- upsertShiftDaysForPlan
- upsertTenantLeaveSettings
- upsertTenantSlackSettings
- upsertUserNotificationSettings
- usePasswordResetToken
- userHasCredential
- uuidv7
- withdrawAutoBreakWaiver