/**
 * Cache invalidation helpers
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import { orgGetManagersRecordKeys, orgGetSubordinatesRecordKeys, appPermissionKeys, orgPermissionKeys, appLevelRequirementKeys, appLimitCreditRedemptionKeys, appLimitCreditCodeItemKeys, appLimitCreditKeys, orgMemberKeys, appPermissionDefaultKeys, appLimitCreditCodeKeys, orgPermissionDefaultKeys, appAdminGrantKeys, appOwnerGrantKeys, appAchievementKeys, appStepKeys, appLimitCapsDefaultKeys, orgLimitCapsDefaultKeys, appLimitCapKeys, orgLimitCapKeys, orgAdminGrantKeys, orgOwnerGrantKeys, membershipTypeKeys, appLimitDefaultKeys, orgLimitDefaultKeys, orgLimitCreditKeys, orgChartEdgeGrantKeys, appClaimedInviteKeys, appGrantKeys, appMembershipDefaultKeys, orgMembershipDefaultKeys, orgClaimedInviteKeys, appLimitEventKeys, orgLimitEventKeys, orgGrantKeys, orgChartEdgeKeys, usageSnapshotKeys, orgMemberProfileKeys, appLevelKeys, appLimitKeys, appInviteKeys, orgMembershipSettingKeys, orgLimitAggregateKeys, orgLimitKeys, appMembershipKeys, orgInviteKeys, orgMembershipKeys, } from './query-keys';
/**
// ============================================================================
// Invalidation Helpers
// ============================================================================

 * Type-safe query invalidation helpers
 *
 * @example
 * ```ts
 * // Invalidate all user queries
 * invalidate.user.all(queryClient);
 *
 * // Invalidate user lists
 * invalidate.user.lists(queryClient);
 *
 * // Invalidate specific user
 * invalidate.user.detail(queryClient, userId);
 * ```
 */
export const invalidate = {
    /** Invalidate orgGetManagersRecord queries */ orgGetManagersRecord: {
        /** Invalidate all orgGetManagersRecord queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: orgGetManagersRecordKeys.all,
        }),
        /** Invalidate orgGetManagersRecord list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: orgGetManagersRecordKeys.lists(),
        }),
        /** Invalidate a specific orgGetManagersRecord */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: orgGetManagersRecordKeys.detail(id),
        }),
    },
    /** Invalidate orgGetSubordinatesRecord queries */ orgGetSubordinatesRecord: {
        /** Invalidate all orgGetSubordinatesRecord queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: orgGetSubordinatesRecordKeys.all,
        }),
        /** Invalidate orgGetSubordinatesRecord list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: orgGetSubordinatesRecordKeys.lists(),
        }),
        /** Invalidate a specific orgGetSubordinatesRecord */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: orgGetSubordinatesRecordKeys.detail(id),
        }),
    },
    /** Invalidate appPermission queries */ appPermission: {
        /** Invalidate all appPermission queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: appPermissionKeys.all,
        }),
        /** Invalidate appPermission list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: appPermissionKeys.lists(),
        }),
        /** Invalidate a specific appPermission */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: appPermissionKeys.detail(id),
        }),
    },
    /** Invalidate orgPermission queries */ orgPermission: {
        /** Invalidate all orgPermission queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: orgPermissionKeys.all,
        }),
        /** Invalidate orgPermission list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: orgPermissionKeys.lists(),
        }),
        /** Invalidate a specific orgPermission */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: orgPermissionKeys.detail(id),
        }),
    },
    /** Invalidate appLevelRequirement queries */ appLevelRequirement: {
        /** Invalidate all appLevelRequirement queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: appLevelRequirementKeys.all,
        }),
        /** Invalidate appLevelRequirement list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: appLevelRequirementKeys.lists(),
        }),
        /** Invalidate a specific appLevelRequirement */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: appLevelRequirementKeys.detail(id),
        }),
    },
    /** Invalidate appLimitCreditRedemption queries */ appLimitCreditRedemption: {
        /** Invalidate all appLimitCreditRedemption queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: appLimitCreditRedemptionKeys.all,
        }),
        /** Invalidate appLimitCreditRedemption list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: appLimitCreditRedemptionKeys.lists(),
        }),
        /** Invalidate a specific appLimitCreditRedemption */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: appLimitCreditRedemptionKeys.detail(id),
        }),
    },
    /** Invalidate appLimitCreditCodeItem queries */ appLimitCreditCodeItem: {
        /** Invalidate all appLimitCreditCodeItem queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: appLimitCreditCodeItemKeys.all,
        }),
        /** Invalidate appLimitCreditCodeItem list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: appLimitCreditCodeItemKeys.lists(),
        }),
        /** Invalidate a specific appLimitCreditCodeItem */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: appLimitCreditCodeItemKeys.detail(id),
        }),
    },
    /** Invalidate appLimitCredit queries */ appLimitCredit: {
        /** Invalidate all appLimitCredit queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: appLimitCreditKeys.all,
        }),
        /** Invalidate appLimitCredit list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: appLimitCreditKeys.lists(),
        }),
        /** Invalidate a specific appLimitCredit */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: appLimitCreditKeys.detail(id),
        }),
    },
    /** Invalidate orgMember queries */ orgMember: {
        /** Invalidate all orgMember queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: orgMemberKeys.all,
        }),
        /** Invalidate orgMember list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: orgMemberKeys.lists(),
        }),
        /** Invalidate a specific orgMember */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: orgMemberKeys.detail(id),
        }),
    },
    /** Invalidate appPermissionDefault queries */ appPermissionDefault: {
        /** Invalidate all appPermissionDefault queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: appPermissionDefaultKeys.all,
        }),
        /** Invalidate appPermissionDefault list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: appPermissionDefaultKeys.lists(),
        }),
        /** Invalidate a specific appPermissionDefault */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: appPermissionDefaultKeys.detail(id),
        }),
    },
    /** Invalidate appLimitCreditCode queries */ appLimitCreditCode: {
        /** Invalidate all appLimitCreditCode queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: appLimitCreditCodeKeys.all,
        }),
        /** Invalidate appLimitCreditCode list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: appLimitCreditCodeKeys.lists(),
        }),
        /** Invalidate a specific appLimitCreditCode */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: appLimitCreditCodeKeys.detail(id),
        }),
    },
    /** Invalidate orgPermissionDefault queries */ orgPermissionDefault: {
        /** Invalidate all orgPermissionDefault queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: orgPermissionDefaultKeys.all,
        }),
        /** Invalidate orgPermissionDefault list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: orgPermissionDefaultKeys.lists(),
        }),
        /** Invalidate a specific orgPermissionDefault */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: orgPermissionDefaultKeys.detail(id),
        }),
    },
    /** Invalidate appAdminGrant queries */ appAdminGrant: {
        /** Invalidate all appAdminGrant queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: appAdminGrantKeys.all,
        }),
        /** Invalidate appAdminGrant list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: appAdminGrantKeys.lists(),
        }),
        /** Invalidate a specific appAdminGrant */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: appAdminGrantKeys.detail(id),
        }),
    },
    /** Invalidate appOwnerGrant queries */ appOwnerGrant: {
        /** Invalidate all appOwnerGrant queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: appOwnerGrantKeys.all,
        }),
        /** Invalidate appOwnerGrant list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: appOwnerGrantKeys.lists(),
        }),
        /** Invalidate a specific appOwnerGrant */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: appOwnerGrantKeys.detail(id),
        }),
    },
    /** Invalidate appAchievement queries */ appAchievement: {
        /** Invalidate all appAchievement queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: appAchievementKeys.all,
        }),
        /** Invalidate appAchievement list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: appAchievementKeys.lists(),
        }),
        /** Invalidate a specific appAchievement */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: appAchievementKeys.detail(id),
        }),
    },
    /** Invalidate appStep queries */ appStep: {
        /** Invalidate all appStep queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: appStepKeys.all,
        }),
        /** Invalidate appStep list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: appStepKeys.lists(),
        }),
        /** Invalidate a specific appStep */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: appStepKeys.detail(id),
        }),
    },
    /** Invalidate appLimitCapsDefault queries */ appLimitCapsDefault: {
        /** Invalidate all appLimitCapsDefault queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: appLimitCapsDefaultKeys.all,
        }),
        /** Invalidate appLimitCapsDefault list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: appLimitCapsDefaultKeys.lists(),
        }),
        /** Invalidate a specific appLimitCapsDefault */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: appLimitCapsDefaultKeys.detail(id),
        }),
    },
    /** Invalidate orgLimitCapsDefault queries */ orgLimitCapsDefault: {
        /** Invalidate all orgLimitCapsDefault queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: orgLimitCapsDefaultKeys.all,
        }),
        /** Invalidate orgLimitCapsDefault list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: orgLimitCapsDefaultKeys.lists(),
        }),
        /** Invalidate a specific orgLimitCapsDefault */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: orgLimitCapsDefaultKeys.detail(id),
        }),
    },
    /** Invalidate appLimitCap queries */ appLimitCap: {
        /** Invalidate all appLimitCap queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: appLimitCapKeys.all,
        }),
        /** Invalidate appLimitCap list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: appLimitCapKeys.lists(),
        }),
        /** Invalidate a specific appLimitCap */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: appLimitCapKeys.detail(id),
        }),
    },
    /** Invalidate orgLimitCap queries */ orgLimitCap: {
        /** Invalidate all orgLimitCap queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: orgLimitCapKeys.all,
        }),
        /** Invalidate orgLimitCap list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: orgLimitCapKeys.lists(),
        }),
        /** Invalidate a specific orgLimitCap */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: orgLimitCapKeys.detail(id),
        }),
    },
    /** Invalidate orgAdminGrant queries */ orgAdminGrant: {
        /** Invalidate all orgAdminGrant queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: orgAdminGrantKeys.all,
        }),
        /** Invalidate orgAdminGrant list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: orgAdminGrantKeys.lists(),
        }),
        /** Invalidate a specific orgAdminGrant */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: orgAdminGrantKeys.detail(id),
        }),
    },
    /** Invalidate orgOwnerGrant queries */ orgOwnerGrant: {
        /** Invalidate all orgOwnerGrant queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: orgOwnerGrantKeys.all,
        }),
        /** Invalidate orgOwnerGrant list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: orgOwnerGrantKeys.lists(),
        }),
        /** Invalidate a specific orgOwnerGrant */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: orgOwnerGrantKeys.detail(id),
        }),
    },
    /** Invalidate membershipType queries */ membershipType: {
        /** Invalidate all membershipType queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: membershipTypeKeys.all,
        }),
        /** Invalidate membershipType list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: membershipTypeKeys.lists(),
        }),
        /** Invalidate a specific membershipType */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: membershipTypeKeys.detail(id),
        }),
    },
    /** Invalidate appLimitDefault queries */ appLimitDefault: {
        /** Invalidate all appLimitDefault queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: appLimitDefaultKeys.all,
        }),
        /** Invalidate appLimitDefault list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: appLimitDefaultKeys.lists(),
        }),
        /** Invalidate a specific appLimitDefault */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: appLimitDefaultKeys.detail(id),
        }),
    },
    /** Invalidate orgLimitDefault queries */ orgLimitDefault: {
        /** Invalidate all orgLimitDefault queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: orgLimitDefaultKeys.all,
        }),
        /** Invalidate orgLimitDefault list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: orgLimitDefaultKeys.lists(),
        }),
        /** Invalidate a specific orgLimitDefault */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: orgLimitDefaultKeys.detail(id),
        }),
    },
    /** Invalidate orgLimitCredit queries */ orgLimitCredit: {
        /** Invalidate all orgLimitCredit queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: orgLimitCreditKeys.all,
        }),
        /** Invalidate orgLimitCredit list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: orgLimitCreditKeys.lists(),
        }),
        /** Invalidate a specific orgLimitCredit */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: orgLimitCreditKeys.detail(id),
        }),
    },
    /** Invalidate orgChartEdgeGrant queries */ orgChartEdgeGrant: {
        /** Invalidate all orgChartEdgeGrant queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: orgChartEdgeGrantKeys.all,
        }),
        /** Invalidate orgChartEdgeGrant list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: orgChartEdgeGrantKeys.lists(),
        }),
        /** Invalidate a specific orgChartEdgeGrant */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: orgChartEdgeGrantKeys.detail(id),
        }),
    },
    /** Invalidate appClaimedInvite queries */ appClaimedInvite: {
        /** Invalidate all appClaimedInvite queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: appClaimedInviteKeys.all,
        }),
        /** Invalidate appClaimedInvite list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: appClaimedInviteKeys.lists(),
        }),
        /** Invalidate a specific appClaimedInvite */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: appClaimedInviteKeys.detail(id),
        }),
    },
    /** Invalidate appGrant queries */ appGrant: {
        /** Invalidate all appGrant queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: appGrantKeys.all,
        }),
        /** Invalidate appGrant list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: appGrantKeys.lists(),
        }),
        /** Invalidate a specific appGrant */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: appGrantKeys.detail(id),
        }),
    },
    /** Invalidate appMembershipDefault queries */ appMembershipDefault: {
        /** Invalidate all appMembershipDefault queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: appMembershipDefaultKeys.all,
        }),
        /** Invalidate appMembershipDefault list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: appMembershipDefaultKeys.lists(),
        }),
        /** Invalidate a specific appMembershipDefault */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: appMembershipDefaultKeys.detail(id),
        }),
    },
    /** Invalidate orgMembershipDefault queries */ orgMembershipDefault: {
        /** Invalidate all orgMembershipDefault queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: orgMembershipDefaultKeys.all,
        }),
        /** Invalidate orgMembershipDefault list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: orgMembershipDefaultKeys.lists(),
        }),
        /** Invalidate a specific orgMembershipDefault */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: orgMembershipDefaultKeys.detail(id),
        }),
    },
    /** Invalidate orgClaimedInvite queries */ orgClaimedInvite: {
        /** Invalidate all orgClaimedInvite queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: orgClaimedInviteKeys.all,
        }),
        /** Invalidate orgClaimedInvite list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: orgClaimedInviteKeys.lists(),
        }),
        /** Invalidate a specific orgClaimedInvite */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: orgClaimedInviteKeys.detail(id),
        }),
    },
    /** Invalidate appLimitEvent queries */ appLimitEvent: {
        /** Invalidate all appLimitEvent queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: appLimitEventKeys.all,
        }),
        /** Invalidate appLimitEvent list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: appLimitEventKeys.lists(),
        }),
        /** Invalidate a specific appLimitEvent */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: appLimitEventKeys.detail(id),
        }),
    },
    /** Invalidate orgLimitEvent queries */ orgLimitEvent: {
        /** Invalidate all orgLimitEvent queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: orgLimitEventKeys.all,
        }),
        /** Invalidate orgLimitEvent list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: orgLimitEventKeys.lists(),
        }),
        /** Invalidate a specific orgLimitEvent */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: orgLimitEventKeys.detail(id),
        }),
    },
    /** Invalidate orgGrant queries */ orgGrant: {
        /** Invalidate all orgGrant queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: orgGrantKeys.all,
        }),
        /** Invalidate orgGrant list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: orgGrantKeys.lists(),
        }),
        /** Invalidate a specific orgGrant */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: orgGrantKeys.detail(id),
        }),
    },
    /** Invalidate orgChartEdge queries */ orgChartEdge: {
        /** Invalidate all orgChartEdge queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: orgChartEdgeKeys.all,
        }),
        /** Invalidate orgChartEdge list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: orgChartEdgeKeys.lists(),
        }),
        /** Invalidate a specific orgChartEdge */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: orgChartEdgeKeys.detail(id),
        }),
    },
    /** Invalidate usageSnapshot queries */ usageSnapshot: {
        /** Invalidate all usageSnapshot queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: usageSnapshotKeys.all,
        }),
        /** Invalidate usageSnapshot list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: usageSnapshotKeys.lists(),
        }),
        /** Invalidate a specific usageSnapshot */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: usageSnapshotKeys.detail(id),
        }),
    },
    /** Invalidate orgMemberProfile queries */ orgMemberProfile: {
        /** Invalidate all orgMemberProfile queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: orgMemberProfileKeys.all,
        }),
        /** Invalidate orgMemberProfile list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: orgMemberProfileKeys.lists(),
        }),
        /** Invalidate a specific orgMemberProfile */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: orgMemberProfileKeys.detail(id),
        }),
    },
    /** Invalidate appLevel queries */ appLevel: {
        /** Invalidate all appLevel queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: appLevelKeys.all,
        }),
        /** Invalidate appLevel list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: appLevelKeys.lists(),
        }),
        /** Invalidate a specific appLevel */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: appLevelKeys.detail(id),
        }),
    },
    /** Invalidate appLimit queries */ appLimit: {
        /** Invalidate all appLimit queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: appLimitKeys.all,
        }),
        /** Invalidate appLimit list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: appLimitKeys.lists(),
        }),
        /** Invalidate a specific appLimit */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: appLimitKeys.detail(id),
        }),
    },
    /** Invalidate appInvite queries */ appInvite: {
        /** Invalidate all appInvite queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: appInviteKeys.all,
        }),
        /** Invalidate appInvite list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: appInviteKeys.lists(),
        }),
        /** Invalidate a specific appInvite */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: appInviteKeys.detail(id),
        }),
    },
    /** Invalidate orgMembershipSetting queries */ orgMembershipSetting: {
        /** Invalidate all orgMembershipSetting queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: orgMembershipSettingKeys.all,
        }),
        /** Invalidate orgMembershipSetting list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: orgMembershipSettingKeys.lists(),
        }),
        /** Invalidate a specific orgMembershipSetting */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: orgMembershipSettingKeys.detail(id),
        }),
    },
    /** Invalidate orgLimitAggregate queries */ orgLimitAggregate: {
        /** Invalidate all orgLimitAggregate queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: orgLimitAggregateKeys.all,
        }),
        /** Invalidate orgLimitAggregate list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: orgLimitAggregateKeys.lists(),
        }),
        /** Invalidate a specific orgLimitAggregate */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: orgLimitAggregateKeys.detail(id),
        }),
    },
    /** Invalidate orgLimit queries */ orgLimit: {
        /** Invalidate all orgLimit queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: orgLimitKeys.all,
        }),
        /** Invalidate orgLimit list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: orgLimitKeys.lists(),
        }),
        /** Invalidate a specific orgLimit */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: orgLimitKeys.detail(id),
        }),
    },
    /** Invalidate appMembership queries */ appMembership: {
        /** Invalidate all appMembership queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: appMembershipKeys.all,
        }),
        /** Invalidate appMembership list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: appMembershipKeys.lists(),
        }),
        /** Invalidate a specific appMembership */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: appMembershipKeys.detail(id),
        }),
    },
    /** Invalidate orgInvite queries */ orgInvite: {
        /** Invalidate all orgInvite queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: orgInviteKeys.all,
        }),
        /** Invalidate orgInvite list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: orgInviteKeys.lists(),
        }),
        /** Invalidate a specific orgInvite */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: orgInviteKeys.detail(id),
        }),
    },
    /** Invalidate orgMembership queries */ orgMembership: {
        /** Invalidate all orgMembership queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: orgMembershipKeys.all,
        }),
        /** Invalidate orgMembership list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: orgMembershipKeys.lists(),
        }),
        /** Invalidate a specific orgMembership */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: orgMembershipKeys.detail(id),
        }),
    },
};
/**

// ============================================================================
// Remove Helpers (for delete operations)
// ============================================================================

 * Remove queries from cache (for delete operations)
 *
 * Use these when an entity is deleted to remove it from cache
 * instead of just invalidating (which would trigger a refetch).
 */
export const remove = {
    /** Remove orgGetManagersRecord from cache */ orgGetManagersRecord: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: orgGetManagersRecordKeys.detail(id),
        });
    },
    /** Remove orgGetSubordinatesRecord from cache */ orgGetSubordinatesRecord: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: orgGetSubordinatesRecordKeys.detail(id),
        });
    },
    /** Remove appPermission from cache */ appPermission: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: appPermissionKeys.detail(id),
        });
    },
    /** Remove orgPermission from cache */ orgPermission: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: orgPermissionKeys.detail(id),
        });
    },
    /** Remove appLevelRequirement from cache */ appLevelRequirement: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: appLevelRequirementKeys.detail(id),
        });
    },
    /** Remove appLimitCreditRedemption from cache */ appLimitCreditRedemption: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: appLimitCreditRedemptionKeys.detail(id),
        });
    },
    /** Remove appLimitCreditCodeItem from cache */ appLimitCreditCodeItem: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: appLimitCreditCodeItemKeys.detail(id),
        });
    },
    /** Remove appLimitCredit from cache */ appLimitCredit: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: appLimitCreditKeys.detail(id),
        });
    },
    /** Remove orgMember from cache */ orgMember: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: orgMemberKeys.detail(id),
        });
    },
    /** Remove appPermissionDefault from cache */ appPermissionDefault: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: appPermissionDefaultKeys.detail(id),
        });
    },
    /** Remove appLimitCreditCode from cache */ appLimitCreditCode: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: appLimitCreditCodeKeys.detail(id),
        });
    },
    /** Remove orgPermissionDefault from cache */ orgPermissionDefault: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: orgPermissionDefaultKeys.detail(id),
        });
    },
    /** Remove appAdminGrant from cache */ appAdminGrant: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: appAdminGrantKeys.detail(id),
        });
    },
    /** Remove appOwnerGrant from cache */ appOwnerGrant: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: appOwnerGrantKeys.detail(id),
        });
    },
    /** Remove appAchievement from cache */ appAchievement: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: appAchievementKeys.detail(id),
        });
    },
    /** Remove appStep from cache */ appStep: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: appStepKeys.detail(id),
        });
    },
    /** Remove appLimitCapsDefault from cache */ appLimitCapsDefault: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: appLimitCapsDefaultKeys.detail(id),
        });
    },
    /** Remove orgLimitCapsDefault from cache */ orgLimitCapsDefault: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: orgLimitCapsDefaultKeys.detail(id),
        });
    },
    /** Remove appLimitCap from cache */ appLimitCap: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: appLimitCapKeys.detail(id),
        });
    },
    /** Remove orgLimitCap from cache */ orgLimitCap: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: orgLimitCapKeys.detail(id),
        });
    },
    /** Remove orgAdminGrant from cache */ orgAdminGrant: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: orgAdminGrantKeys.detail(id),
        });
    },
    /** Remove orgOwnerGrant from cache */ orgOwnerGrant: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: orgOwnerGrantKeys.detail(id),
        });
    },
    /** Remove membershipType from cache */ membershipType: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: membershipTypeKeys.detail(id),
        });
    },
    /** Remove appLimitDefault from cache */ appLimitDefault: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: appLimitDefaultKeys.detail(id),
        });
    },
    /** Remove orgLimitDefault from cache */ orgLimitDefault: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: orgLimitDefaultKeys.detail(id),
        });
    },
    /** Remove orgLimitCredit from cache */ orgLimitCredit: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: orgLimitCreditKeys.detail(id),
        });
    },
    /** Remove orgChartEdgeGrant from cache */ orgChartEdgeGrant: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: orgChartEdgeGrantKeys.detail(id),
        });
    },
    /** Remove appClaimedInvite from cache */ appClaimedInvite: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: appClaimedInviteKeys.detail(id),
        });
    },
    /** Remove appGrant from cache */ appGrant: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: appGrantKeys.detail(id),
        });
    },
    /** Remove appMembershipDefault from cache */ appMembershipDefault: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: appMembershipDefaultKeys.detail(id),
        });
    },
    /** Remove orgMembershipDefault from cache */ orgMembershipDefault: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: orgMembershipDefaultKeys.detail(id),
        });
    },
    /** Remove orgClaimedInvite from cache */ orgClaimedInvite: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: orgClaimedInviteKeys.detail(id),
        });
    },
    /** Remove appLimitEvent from cache */ appLimitEvent: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: appLimitEventKeys.detail(id),
        });
    },
    /** Remove orgLimitEvent from cache */ orgLimitEvent: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: orgLimitEventKeys.detail(id),
        });
    },
    /** Remove orgGrant from cache */ orgGrant: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: orgGrantKeys.detail(id),
        });
    },
    /** Remove orgChartEdge from cache */ orgChartEdge: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: orgChartEdgeKeys.detail(id),
        });
    },
    /** Remove usageSnapshot from cache */ usageSnapshot: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: usageSnapshotKeys.detail(id),
        });
    },
    /** Remove orgMemberProfile from cache */ orgMemberProfile: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: orgMemberProfileKeys.detail(id),
        });
    },
    /** Remove appLevel from cache */ appLevel: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: appLevelKeys.detail(id),
        });
    },
    /** Remove appLimit from cache */ appLimit: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: appLimitKeys.detail(id),
        });
    },
    /** Remove appInvite from cache */ appInvite: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: appInviteKeys.detail(id),
        });
    },
    /** Remove orgMembershipSetting from cache */ orgMembershipSetting: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: orgMembershipSettingKeys.detail(id),
        });
    },
    /** Remove orgLimitAggregate from cache */ orgLimitAggregate: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: orgLimitAggregateKeys.detail(id),
        });
    },
    /** Remove orgLimit from cache */ orgLimit: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: orgLimitKeys.detail(id),
        });
    },
    /** Remove appMembership from cache */ appMembership: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: appMembershipKeys.detail(id),
        });
    },
    /** Remove orgInvite from cache */ orgInvite: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: orgInviteKeys.detail(id),
        });
    },
    /** Remove orgMembership from cache */ orgMembership: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: orgMembershipKeys.detail(id),
        });
    },
};
