"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 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 appLevelRequirement queries */ appLevelRequirement: {
        /** Invalidate all appLevelRequirement queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: query_keys_1.appLevelRequirementKeys.all,
        }),
        /** Invalidate appLevelRequirement list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: query_keys_1.appLevelRequirementKeys.lists(),
        }),
        /** Invalidate a specific appLevelRequirement */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: query_keys_1.appLevelRequirementKeys.detail(id),
        }),
    },
    /** Invalidate appLimitCreditRedemption queries */ appLimitCreditRedemption: {
        /** Invalidate all appLimitCreditRedemption queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: query_keys_1.appLimitCreditRedemptionKeys.all,
        }),
        /** Invalidate appLimitCreditRedemption list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: query_keys_1.appLimitCreditRedemptionKeys.lists(),
        }),
        /** Invalidate a specific appLimitCreditRedemption */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: query_keys_1.appLimitCreditRedemptionKeys.detail(id),
        }),
    },
    /** Invalidate appLimitCreditCodeItem queries */ appLimitCreditCodeItem: {
        /** Invalidate all appLimitCreditCodeItem queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: query_keys_1.appLimitCreditCodeItemKeys.all,
        }),
        /** Invalidate appLimitCreditCodeItem list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: query_keys_1.appLimitCreditCodeItemKeys.lists(),
        }),
        /** Invalidate a specific appLimitCreditCodeItem */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: query_keys_1.appLimitCreditCodeItemKeys.detail(id),
        }),
    },
    /** Invalidate appLimitCredit queries */ appLimitCredit: {
        /** Invalidate all appLimitCredit queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: query_keys_1.appLimitCreditKeys.all,
        }),
        /** Invalidate appLimitCredit list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: query_keys_1.appLimitCreditKeys.lists(),
        }),
        /** Invalidate a specific appLimitCredit */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: query_keys_1.appLimitCreditKeys.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 appLimitCreditCode queries */ appLimitCreditCode: {
        /** Invalidate all appLimitCreditCode queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: query_keys_1.appLimitCreditCodeKeys.all,
        }),
        /** Invalidate appLimitCreditCode list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: query_keys_1.appLimitCreditCodeKeys.lists(),
        }),
        /** Invalidate a specific appLimitCreditCode */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: query_keys_1.appLimitCreditCodeKeys.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 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 appAchievement queries */ appAchievement: {
        /** Invalidate all appAchievement queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: query_keys_1.appAchievementKeys.all,
        }),
        /** Invalidate appAchievement list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: query_keys_1.appAchievementKeys.lists(),
        }),
        /** Invalidate a specific appAchievement */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: query_keys_1.appAchievementKeys.detail(id),
        }),
    },
    /** Invalidate appStep queries */ appStep: {
        /** Invalidate all appStep queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: query_keys_1.appStepKeys.all,
        }),
        /** Invalidate appStep list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: query_keys_1.appStepKeys.lists(),
        }),
        /** Invalidate a specific appStep */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: query_keys_1.appStepKeys.detail(id),
        }),
    },
    /** Invalidate appLimitCapsDefault queries */ appLimitCapsDefault: {
        /** Invalidate all appLimitCapsDefault queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: query_keys_1.appLimitCapsDefaultKeys.all,
        }),
        /** Invalidate appLimitCapsDefault list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: query_keys_1.appLimitCapsDefaultKeys.lists(),
        }),
        /** Invalidate a specific appLimitCapsDefault */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: query_keys_1.appLimitCapsDefaultKeys.detail(id),
        }),
    },
    /** Invalidate orgLimitCapsDefault queries */ orgLimitCapsDefault: {
        /** Invalidate all orgLimitCapsDefault queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: query_keys_1.orgLimitCapsDefaultKeys.all,
        }),
        /** Invalidate orgLimitCapsDefault list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: query_keys_1.orgLimitCapsDefaultKeys.lists(),
        }),
        /** Invalidate a specific orgLimitCapsDefault */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: query_keys_1.orgLimitCapsDefaultKeys.detail(id),
        }),
    },
    /** Invalidate appLimitCap queries */ appLimitCap: {
        /** Invalidate all appLimitCap queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: query_keys_1.appLimitCapKeys.all,
        }),
        /** Invalidate appLimitCap list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: query_keys_1.appLimitCapKeys.lists(),
        }),
        /** Invalidate a specific appLimitCap */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: query_keys_1.appLimitCapKeys.detail(id),
        }),
    },
    /** Invalidate orgLimitCap queries */ orgLimitCap: {
        /** Invalidate all orgLimitCap queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: query_keys_1.orgLimitCapKeys.all,
        }),
        /** Invalidate orgLimitCap list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: query_keys_1.orgLimitCapKeys.lists(),
        }),
        /** Invalidate a specific orgLimitCap */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: query_keys_1.orgLimitCapKeys.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 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 appLimitDefault queries */ appLimitDefault: {
        /** Invalidate all appLimitDefault queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: query_keys_1.appLimitDefaultKeys.all,
        }),
        /** Invalidate appLimitDefault list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: query_keys_1.appLimitDefaultKeys.lists(),
        }),
        /** Invalidate a specific appLimitDefault */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: query_keys_1.appLimitDefaultKeys.detail(id),
        }),
    },
    /** Invalidate orgLimitDefault queries */ orgLimitDefault: {
        /** Invalidate all orgLimitDefault queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: query_keys_1.orgLimitDefaultKeys.all,
        }),
        /** Invalidate orgLimitDefault list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: query_keys_1.orgLimitDefaultKeys.lists(),
        }),
        /** Invalidate a specific orgLimitDefault */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: query_keys_1.orgLimitDefaultKeys.detail(id),
        }),
    },
    /** Invalidate orgLimitCredit queries */ orgLimitCredit: {
        /** Invalidate all orgLimitCredit queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: query_keys_1.orgLimitCreditKeys.all,
        }),
        /** Invalidate orgLimitCredit list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: query_keys_1.orgLimitCreditKeys.lists(),
        }),
        /** Invalidate a specific orgLimitCredit */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: query_keys_1.orgLimitCreditKeys.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 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 appLimitEvent queries */ appLimitEvent: {
        /** Invalidate all appLimitEvent queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: query_keys_1.appLimitEventKeys.all,
        }),
        /** Invalidate appLimitEvent list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: query_keys_1.appLimitEventKeys.lists(),
        }),
        /** Invalidate a specific appLimitEvent */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: query_keys_1.appLimitEventKeys.detail(id),
        }),
    },
    /** Invalidate orgLimitEvent queries */ orgLimitEvent: {
        /** Invalidate all orgLimitEvent queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: query_keys_1.orgLimitEventKeys.all,
        }),
        /** Invalidate orgLimitEvent list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: query_keys_1.orgLimitEventKeys.lists(),
        }),
        /** Invalidate a specific orgLimitEvent */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: query_keys_1.orgLimitEventKeys.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 usageSnapshot queries */ usageSnapshot: {
        /** Invalidate all usageSnapshot queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: query_keys_1.usageSnapshotKeys.all,
        }),
        /** Invalidate usageSnapshot list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: query_keys_1.usageSnapshotKeys.lists(),
        }),
        /** Invalidate a specific usageSnapshot */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: query_keys_1.usageSnapshotKeys.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 appLevel queries */ appLevel: {
        /** Invalidate all appLevel queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: query_keys_1.appLevelKeys.all,
        }),
        /** Invalidate appLevel list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: query_keys_1.appLevelKeys.lists(),
        }),
        /** Invalidate a specific appLevel */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: query_keys_1.appLevelKeys.detail(id),
        }),
    },
    /** Invalidate appLimit queries */ appLimit: {
        /** Invalidate all appLimit queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: query_keys_1.appLimitKeys.all,
        }),
        /** Invalidate appLimit list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: query_keys_1.appLimitKeys.lists(),
        }),
        /** Invalidate a specific appLimit */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: query_keys_1.appLimitKeys.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 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 orgLimitAggregate queries */ orgLimitAggregate: {
        /** Invalidate all orgLimitAggregate queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: query_keys_1.orgLimitAggregateKeys.all,
        }),
        /** Invalidate orgLimitAggregate list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: query_keys_1.orgLimitAggregateKeys.lists(),
        }),
        /** Invalidate a specific orgLimitAggregate */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: query_keys_1.orgLimitAggregateKeys.detail(id),
        }),
    },
    /** Invalidate orgLimit queries */ orgLimit: {
        /** Invalidate all orgLimit queries */ all: (queryClient) => queryClient.invalidateQueries({
            queryKey: query_keys_1.orgLimitKeys.all,
        }),
        /** Invalidate orgLimit list queries */ lists: (queryClient) => queryClient.invalidateQueries({
            queryKey: query_keys_1.orgLimitKeys.lists(),
        }),
        /** Invalidate a specific orgLimit */ detail: (queryClient, id) => queryClient.invalidateQueries({
            queryKey: query_keys_1.orgLimitKeys.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 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),
        }),
    },
    /** 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),
        }),
    },
};
/**

// ============================================================================
// 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 orgPermission from cache */ orgPermission: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: query_keys_1.orgPermissionKeys.detail(id),
        });
    },
    /** Remove appLevelRequirement from cache */ appLevelRequirement: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: query_keys_1.appLevelRequirementKeys.detail(id),
        });
    },
    /** Remove appLimitCreditRedemption from cache */ appLimitCreditRedemption: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: query_keys_1.appLimitCreditRedemptionKeys.detail(id),
        });
    },
    /** Remove appLimitCreditCodeItem from cache */ appLimitCreditCodeItem: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: query_keys_1.appLimitCreditCodeItemKeys.detail(id),
        });
    },
    /** Remove appLimitCredit from cache */ appLimitCredit: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: query_keys_1.appLimitCreditKeys.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 appLimitCreditCode from cache */ appLimitCreditCode: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: query_keys_1.appLimitCreditCodeKeys.detail(id),
        });
    },
    /** Remove orgPermissionDefault from cache */ orgPermissionDefault: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: query_keys_1.orgPermissionDefaultKeys.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 appAchievement from cache */ appAchievement: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: query_keys_1.appAchievementKeys.detail(id),
        });
    },
    /** Remove appStep from cache */ appStep: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: query_keys_1.appStepKeys.detail(id),
        });
    },
    /** Remove appLimitCapsDefault from cache */ appLimitCapsDefault: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: query_keys_1.appLimitCapsDefaultKeys.detail(id),
        });
    },
    /** Remove orgLimitCapsDefault from cache */ orgLimitCapsDefault: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: query_keys_1.orgLimitCapsDefaultKeys.detail(id),
        });
    },
    /** Remove appLimitCap from cache */ appLimitCap: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: query_keys_1.appLimitCapKeys.detail(id),
        });
    },
    /** Remove orgLimitCap from cache */ orgLimitCap: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: query_keys_1.orgLimitCapKeys.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 membershipType from cache */ membershipType: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: query_keys_1.membershipTypeKeys.detail(id),
        });
    },
    /** Remove appLimitDefault from cache */ appLimitDefault: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: query_keys_1.appLimitDefaultKeys.detail(id),
        });
    },
    /** Remove orgLimitDefault from cache */ orgLimitDefault: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: query_keys_1.orgLimitDefaultKeys.detail(id),
        });
    },
    /** Remove orgLimitCredit from cache */ orgLimitCredit: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: query_keys_1.orgLimitCreditKeys.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 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 appLimitEvent from cache */ appLimitEvent: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: query_keys_1.appLimitEventKeys.detail(id),
        });
    },
    /** Remove orgLimitEvent from cache */ orgLimitEvent: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: query_keys_1.orgLimitEventKeys.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 usageSnapshot from cache */ usageSnapshot: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: query_keys_1.usageSnapshotKeys.detail(id),
        });
    },
    /** Remove orgMemberProfile from cache */ orgMemberProfile: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: query_keys_1.orgMemberProfileKeys.detail(id),
        });
    },
    /** Remove appLevel from cache */ appLevel: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: query_keys_1.appLevelKeys.detail(id),
        });
    },
    /** Remove appLimit from cache */ appLimit: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: query_keys_1.appLimitKeys.detail(id),
        });
    },
    /** Remove appInvite from cache */ appInvite: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: query_keys_1.appInviteKeys.detail(id),
        });
    },
    /** Remove orgMembershipSetting from cache */ orgMembershipSetting: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: query_keys_1.orgMembershipSettingKeys.detail(id),
        });
    },
    /** Remove orgLimitAggregate from cache */ orgLimitAggregate: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: query_keys_1.orgLimitAggregateKeys.detail(id),
        });
    },
    /** Remove orgLimit from cache */ orgLimit: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: query_keys_1.orgLimitKeys.detail(id),
        });
    },
    /** Remove appMembership from cache */ appMembership: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: query_keys_1.appMembershipKeys.detail(id),
        });
    },
    /** Remove orgInvite from cache */ orgInvite: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: query_keys_1.orgInviteKeys.detail(id),
        });
    },
    /** Remove orgMembership from cache */ orgMembership: (queryClient, id) => {
        queryClient.removeQueries({
            queryKey: query_keys_1.orgMembershipKeys.detail(id),
        });
    },
};
