"use strict";
/**
 * Cache invalidation helpers
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
Object.defineProperty(exports, "__esModule", { value: true });
exports.remove = exports.invalidate = void 0;
const query_keys_1 = require("./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);
 * ```
 */
exports.invalidate = {
    /** Invalidate orgGetManagersRecord queries */ orgGetManagersRecord: {
        /** Invalidate all orgGetManagersRecord queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: query_keys_1.orgGetManagersRecordKeys.all,
        }),
        /** Invalidate orgGetManagersRecord list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: query_keys_1.orgGetManagersRecordKeys.lists(),
        }),
        /** Invalidate a specific orgGetManagersRecord */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: query_keys_1.orgGetManagersRecordKeys.detail(id),
        }),
    },
    /** Invalidate orgGetSubordinatesRecord queries */ orgGetSubordinatesRecord: {
        /** Invalidate all orgGetSubordinatesRecord queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: query_keys_1.orgGetSubordinatesRecordKeys.all,
        }),
        /** Invalidate orgGetSubordinatesRecord list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: query_keys_1.orgGetSubordinatesRecordKeys.lists(),
        }),
        /** Invalidate a specific orgGetSubordinatesRecord */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: query_keys_1.orgGetSubordinatesRecordKeys.detail(id),
        }),
    },
    /** Invalidate appPermission queries */ appPermission: {
        /** Invalidate all appPermission queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: query_keys_1.appPermissionKeys.all,
        }),
        /** Invalidate appPermission list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: query_keys_1.appPermissionKeys.lists(),
        }),
        /** Invalidate a specific appPermission */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: query_keys_1.appPermissionKeys.detail(id),
        }),
    },
    /** Invalidate appPermissionDefaultGrant queries */ appPermissionDefaultGrant: {
        /** Invalidate all appPermissionDefaultGrant queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: query_keys_1.appPermissionDefaultGrantKeys.all,
        }),
        /** Invalidate appPermissionDefaultGrant list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: query_keys_1.appPermissionDefaultGrantKeys.lists(),
        }),
        /** Invalidate a specific appPermissionDefaultGrant */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: query_keys_1.appPermissionDefaultGrantKeys.detail(id),
        }),
    },
    /** Invalidate orgPermission queries */ orgPermission: {
        /** Invalidate all orgPermission queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: query_keys_1.orgPermissionKeys.all,
        }),
        /** Invalidate orgPermission list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: query_keys_1.orgPermissionKeys.lists(),
        }),
        /** Invalidate a specific orgPermission */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: query_keys_1.orgPermissionKeys.detail(id),
        }),
    },
    /** Invalidate orgPermissionDefaultPermission queries */ orgPermissionDefaultPermission: {
        /** Invalidate all orgPermissionDefaultPermission queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: query_keys_1.orgPermissionDefaultPermissionKeys.all,
        }),
        /** Invalidate orgPermissionDefaultPermission list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: query_keys_1.orgPermissionDefaultPermissionKeys.lists(),
        }),
        /** Invalidate a specific orgPermissionDefaultPermission */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: query_keys_1.orgPermissionDefaultPermissionKeys.detail(id),
        }),
    },
    /** Invalidate orgPermissionDefaultGrant queries */ orgPermissionDefaultGrant: {
        /** Invalidate all orgPermissionDefaultGrant queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: query_keys_1.orgPermissionDefaultGrantKeys.all,
        }),
        /** Invalidate orgPermissionDefaultGrant list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: query_keys_1.orgPermissionDefaultGrantKeys.lists(),
        }),
        /** Invalidate a specific orgPermissionDefaultGrant */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: query_keys_1.orgPermissionDefaultGrantKeys.detail(id),
        }),
    },
    /** Invalidate orgMember queries */ orgMember: {
        /** Invalidate all orgMember queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: query_keys_1.orgMemberKeys.all,
        }),
        /** Invalidate orgMember list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: query_keys_1.orgMemberKeys.lists(),
        }),
        /** Invalidate a specific orgMember */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: query_keys_1.orgMemberKeys.detail(id),
        }),
    },
    /** Invalidate appPermissionDefault queries */ appPermissionDefault: {
        /** Invalidate all appPermissionDefault queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: query_keys_1.appPermissionDefaultKeys.all,
        }),
        /** Invalidate appPermissionDefault list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: query_keys_1.appPermissionDefaultKeys.lists(),
        }),
        /** Invalidate a specific appPermissionDefault */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: query_keys_1.appPermissionDefaultKeys.detail(id),
        }),
    },
    /** Invalidate orgPermissionDefault queries */ orgPermissionDefault: {
        /** Invalidate all orgPermissionDefault queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: query_keys_1.orgPermissionDefaultKeys.all,
        }),
        /** Invalidate orgPermissionDefault list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: query_keys_1.orgPermissionDefaultKeys.lists(),
        }),
        /** Invalidate a specific orgPermissionDefault */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: query_keys_1.orgPermissionDefaultKeys.detail(id),
        }),
    },
    /** Invalidate appPermissionDefaultPermission queries */ appPermissionDefaultPermission: {
        /** Invalidate all appPermissionDefaultPermission queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: query_keys_1.appPermissionDefaultPermissionKeys.all,
        }),
        /** Invalidate appPermissionDefaultPermission list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: query_keys_1.appPermissionDefaultPermissionKeys.lists(),
        }),
        /** Invalidate a specific appPermissionDefaultPermission */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: query_keys_1.appPermissionDefaultPermissionKeys.detail(id),
        }),
    },
    /** Invalidate appAdminGrant queries */ appAdminGrant: {
        /** Invalidate all appAdminGrant queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: query_keys_1.appAdminGrantKeys.all,
        }),
        /** Invalidate appAdminGrant list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: query_keys_1.appAdminGrantKeys.lists(),
        }),
        /** Invalidate a specific appAdminGrant */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: query_keys_1.appAdminGrantKeys.detail(id),
        }),
    },
    /** Invalidate appOwnerGrant queries */ appOwnerGrant: {
        /** Invalidate all appOwnerGrant queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: query_keys_1.appOwnerGrantKeys.all,
        }),
        /** Invalidate appOwnerGrant list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: query_keys_1.appOwnerGrantKeys.lists(),
        }),
        /** Invalidate a specific appOwnerGrant */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: query_keys_1.appOwnerGrantKeys.detail(id),
        }),
    },
    /** Invalidate orgAdminGrant queries */ orgAdminGrant: {
        /** Invalidate all orgAdminGrant queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: query_keys_1.orgAdminGrantKeys.all,
        }),
        /** Invalidate orgAdminGrant list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: query_keys_1.orgAdminGrantKeys.lists(),
        }),
        /** Invalidate a specific orgAdminGrant */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: query_keys_1.orgAdminGrantKeys.detail(id),
        }),
    },
    /** Invalidate orgOwnerGrant queries */ orgOwnerGrant: {
        /** Invalidate all orgOwnerGrant queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: query_keys_1.orgOwnerGrantKeys.all,
        }),
        /** Invalidate orgOwnerGrant list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: query_keys_1.orgOwnerGrantKeys.lists(),
        }),
        /** Invalidate a specific orgOwnerGrant */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: query_keys_1.orgOwnerGrantKeys.detail(id),
        }),
    },
    /** Invalidate orgChartEdgeGrant queries */ orgChartEdgeGrant: {
        /** Invalidate all orgChartEdgeGrant queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: query_keys_1.orgChartEdgeGrantKeys.all,
        }),
        /** Invalidate orgChartEdgeGrant list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: query_keys_1.orgChartEdgeGrantKeys.lists(),
        }),
        /** Invalidate a specific orgChartEdgeGrant */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: query_keys_1.orgChartEdgeGrantKeys.detail(id),
        }),
    },
    /** Invalidate appClaimedInvite queries */ appClaimedInvite: {
        /** Invalidate all appClaimedInvite queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: query_keys_1.appClaimedInviteKeys.all,
        }),
        /** Invalidate appClaimedInvite list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: query_keys_1.appClaimedInviteKeys.lists(),
        }),
        /** Invalidate a specific appClaimedInvite */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: query_keys_1.appClaimedInviteKeys.detail(id),
        }),
    },
    /** Invalidate membershipType queries */ membershipType: {
        /** Invalidate all membershipType queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: query_keys_1.membershipTypeKeys.all,
        }),
        /** Invalidate membershipType list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: query_keys_1.membershipTypeKeys.lists(),
        }),
        /** Invalidate a specific membershipType */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: query_keys_1.membershipTypeKeys.detail(id),
        }),
    },
    /** Invalidate appGrant queries */ appGrant: {
        /** Invalidate all appGrant queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: query_keys_1.appGrantKeys.all,
        }),
        /** Invalidate appGrant list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: query_keys_1.appGrantKeys.lists(),
        }),
        /** Invalidate a specific appGrant */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: query_keys_1.appGrantKeys.detail(id),
        }),
    },
    /** Invalidate appMembershipDefault queries */ appMembershipDefault: {
        /** Invalidate all appMembershipDefault queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: query_keys_1.appMembershipDefaultKeys.all,
        }),
        /** Invalidate appMembershipDefault list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: query_keys_1.appMembershipDefaultKeys.lists(),
        }),
        /** Invalidate a specific appMembershipDefault */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: query_keys_1.appMembershipDefaultKeys.detail(id),
        }),
    },
    /** Invalidate orgMembershipDefault queries */ orgMembershipDefault: {
        /** Invalidate all orgMembershipDefault queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: query_keys_1.orgMembershipDefaultKeys.all,
        }),
        /** Invalidate orgMembershipDefault list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: query_keys_1.orgMembershipDefaultKeys.lists(),
        }),
        /** Invalidate a specific orgMembershipDefault */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: query_keys_1.orgMembershipDefaultKeys.detail(id),
        }),
    },
    /** Invalidate orgClaimedInvite queries */ orgClaimedInvite: {
        /** Invalidate all orgClaimedInvite queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: query_keys_1.orgClaimedInviteKeys.all,
        }),
        /** Invalidate orgClaimedInvite list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: query_keys_1.orgClaimedInviteKeys.lists(),
        }),
        /** Invalidate a specific orgClaimedInvite */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: query_keys_1.orgClaimedInviteKeys.detail(id),
        }),
    },
    /** Invalidate orgGrant queries */ orgGrant: {
        /** Invalidate all orgGrant queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: query_keys_1.orgGrantKeys.all,
        }),
        /** Invalidate orgGrant list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: query_keys_1.orgGrantKeys.lists(),
        }),
        /** Invalidate a specific orgGrant */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: query_keys_1.orgGrantKeys.detail(id),
        }),
    },
    /** Invalidate orgChartEdge queries */ orgChartEdge: {
        /** Invalidate all orgChartEdge queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: query_keys_1.orgChartEdgeKeys.all,
        }),
        /** Invalidate orgChartEdge list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: query_keys_1.orgChartEdgeKeys.lists(),
        }),
        /** Invalidate a specific orgChartEdge */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: query_keys_1.orgChartEdgeKeys.detail(id),
        }),
    },
    /** Invalidate orgMembershipSetting queries */ orgMembershipSetting: {
        /** Invalidate all orgMembershipSetting queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: query_keys_1.orgMembershipSettingKeys.all,
        }),
        /** Invalidate orgMembershipSetting list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: query_keys_1.orgMembershipSettingKeys.lists(),
        }),
        /** Invalidate a specific orgMembershipSetting */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: query_keys_1.orgMembershipSettingKeys.detail(id),
        }),
    },
    /** Invalidate appMembership queries */ appMembership: {
        /** Invalidate all appMembership queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: query_keys_1.appMembershipKeys.all,
        }),
        /** Invalidate appMembership list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: query_keys_1.appMembershipKeys.lists(),
        }),
        /** Invalidate a specific appMembership */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: query_keys_1.appMembershipKeys.detail(id),
        }),
    },
    /** Invalidate orgMembership queries */ orgMembership: {
        /** Invalidate all orgMembership queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: query_keys_1.orgMembershipKeys.all,
        }),
        /** Invalidate orgMembership list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: query_keys_1.orgMembershipKeys.lists(),
        }),
        /** Invalidate a specific orgMembership */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: query_keys_1.orgMembershipKeys.detail(id),
        }),
    },
    /** Invalidate orgMemberProfile queries */ orgMemberProfile: {
        /** Invalidate all orgMemberProfile queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: query_keys_1.orgMemberProfileKeys.all,
        }),
        /** Invalidate orgMemberProfile list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: query_keys_1.orgMemberProfileKeys.lists(),
        }),
        /** Invalidate a specific orgMemberProfile */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: query_keys_1.orgMemberProfileKeys.detail(id),
        }),
    },
    /** Invalidate appInvite queries */ appInvite: {
        /** Invalidate all appInvite queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: query_keys_1.appInviteKeys.all,
        }),
        /** Invalidate appInvite list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: query_keys_1.appInviteKeys.lists(),
        }),
        /** Invalidate a specific appInvite */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: query_keys_1.appInviteKeys.detail(id),
        }),
    },
    /** Invalidate orgInvite queries */ orgInvite: {
        /** Invalidate all orgInvite queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: query_keys_1.orgInviteKeys.all,
        }),
        /** Invalidate orgInvite list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: query_keys_1.orgInviteKeys.lists(),
        }),
        /** Invalidate a specific orgInvite */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: query_keys_1.orgInviteKeys.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).
 */
exports.remove = {
    /** Remove orgGetManagersRecord from cache */ orgGetManagersRecord: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: query_keys_1.orgGetManagersRecordKeys.detail(id),
        });
    },
    /** Remove orgGetSubordinatesRecord from cache */ orgGetSubordinatesRecord: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: query_keys_1.orgGetSubordinatesRecordKeys.detail(id),
        });
    },
    /** Remove appPermission from cache */ appPermission: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: query_keys_1.appPermissionKeys.detail(id),
        });
    },
    /** Remove appPermissionDefaultGrant from cache */ appPermissionDefaultGrant: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: query_keys_1.appPermissionDefaultGrantKeys.detail(id),
        });
    },
    /** Remove orgPermission from cache */ orgPermission: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: query_keys_1.orgPermissionKeys.detail(id),
        });
    },
    /** Remove orgPermissionDefaultPermission from cache */ orgPermissionDefaultPermission: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: query_keys_1.orgPermissionDefaultPermissionKeys.detail(id),
        });
    },
    /** Remove orgPermissionDefaultGrant from cache */ orgPermissionDefaultGrant: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: query_keys_1.orgPermissionDefaultGrantKeys.detail(id),
        });
    },
    /** Remove orgMember from cache */ orgMember: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: query_keys_1.orgMemberKeys.detail(id),
        });
    },
    /** Remove appPermissionDefault from cache */ appPermissionDefault: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: query_keys_1.appPermissionDefaultKeys.detail(id),
        });
    },
    /** Remove orgPermissionDefault from cache */ orgPermissionDefault: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: query_keys_1.orgPermissionDefaultKeys.detail(id),
        });
    },
    /** Remove appPermissionDefaultPermission from cache */ appPermissionDefaultPermission: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: query_keys_1.appPermissionDefaultPermissionKeys.detail(id),
        });
    },
    /** Remove appAdminGrant from cache */ appAdminGrant: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: query_keys_1.appAdminGrantKeys.detail(id),
        });
    },
    /** Remove appOwnerGrant from cache */ appOwnerGrant: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: query_keys_1.appOwnerGrantKeys.detail(id),
        });
    },
    /** Remove orgAdminGrant from cache */ orgAdminGrant: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: query_keys_1.orgAdminGrantKeys.detail(id),
        });
    },
    /** Remove orgOwnerGrant from cache */ orgOwnerGrant: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: query_keys_1.orgOwnerGrantKeys.detail(id),
        });
    },
    /** Remove orgChartEdgeGrant from cache */ orgChartEdgeGrant: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: query_keys_1.orgChartEdgeGrantKeys.detail(id),
        });
    },
    /** Remove appClaimedInvite from cache */ appClaimedInvite: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: query_keys_1.appClaimedInviteKeys.detail(id),
        });
    },
    /** Remove membershipType from cache */ membershipType: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: query_keys_1.membershipTypeKeys.detail(id),
        });
    },
    /** Remove appGrant from cache */ appGrant: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: query_keys_1.appGrantKeys.detail(id),
        });
    },
    /** Remove appMembershipDefault from cache */ appMembershipDefault: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: query_keys_1.appMembershipDefaultKeys.detail(id),
        });
    },
    /** Remove orgMembershipDefault from cache */ orgMembershipDefault: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: query_keys_1.orgMembershipDefaultKeys.detail(id),
        });
    },
    /** Remove orgClaimedInvite from cache */ orgClaimedInvite: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: query_keys_1.orgClaimedInviteKeys.detail(id),
        });
    },
    /** Remove orgGrant from cache */ orgGrant: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: query_keys_1.orgGrantKeys.detail(id),
        });
    },
    /** Remove orgChartEdge from cache */ orgChartEdge: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: query_keys_1.orgChartEdgeKeys.detail(id),
        });
    },
    /** Remove orgMembershipSetting from cache */ orgMembershipSetting: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: query_keys_1.orgMembershipSettingKeys.detail(id),
        });
    },
    /** Remove appMembership from cache */ appMembership: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: query_keys_1.appMembershipKeys.detail(id),
        });
    },
    /** Remove orgMembership from cache */ orgMembership: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: query_keys_1.orgMembershipKeys.detail(id),
        });
    },
    /** Remove orgMemberProfile from cache */ orgMemberProfile: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: query_keys_1.orgMemberProfileKeys.detail(id),
        });
    },
    /** Remove appInvite from cache */ appInvite: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: query_keys_1.appInviteKeys.detail(id),
        });
    },
    /** Remove orgInvite from cache */ orgInvite: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: query_keys_1.orgInviteKeys.detail(id),
        });
    },
};
