"use strict";
/**
 * Centralized mutation key factory
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
Object.defineProperty(exports, "__esModule", { value: true });
exports.mutationKeys = exports.customMutationKeys = exports.orgMembershipMutationKeys = exports.appMembershipMutationKeys = exports.orgInviteMutationKeys = exports.orgMembershipSettingMutationKeys = exports.appInviteMutationKeys = exports.appLevelMutationKeys = exports.orgLimitMutationKeys = exports.orgMemberProfileMutationKeys = exports.orgLimitAggregateMutationKeys = exports.appLimitMutationKeys = exports.orgChartEdgeMutationKeys = exports.orgGrantMutationKeys = exports.orgLimitEventMutationKeys = exports.appLimitEventMutationKeys = exports.orgClaimedInviteMutationKeys = exports.orgMembershipDefaultMutationKeys = exports.appMembershipDefaultMutationKeys = exports.appGrantMutationKeys = exports.appClaimedInviteMutationKeys = exports.orgChartEdgeGrantMutationKeys = exports.orgLimitDefaultMutationKeys = exports.appLimitDefaultMutationKeys = exports.membershipTypeMutationKeys = exports.orgOwnerGrantMutationKeys = exports.orgAdminGrantMutationKeys = exports.appStepMutationKeys = exports.appAchievementMutationKeys = exports.appOwnerGrantMutationKeys = exports.appAdminGrantMutationKeys = exports.orgPermissionDefaultMutationKeys = exports.appPermissionDefaultMutationKeys = exports.orgMemberMutationKeys = exports.appLevelRequirementMutationKeys = exports.orgPermissionMutationKeys = exports.appPermissionMutationKeys = exports.orgGetSubordinatesRecordMutationKeys = exports.orgGetManagersRecordMutationKeys = void 0;
// ============================================================================
// Mutation keys for tracking in-flight mutations
//
// Benefits:
// - Track mutation state with useIsMutating
// - Implement optimistic updates with proper rollback
// - Deduplicate identical mutations
// - Coordinate related mutations
// ============================================================================
// ============================================================================
// Entity Mutation Keys
// ============================================================================
exports.orgGetManagersRecordMutationKeys = {
    /** All orgGetManagersRecord mutation keys */ all: ['mutation', 'orggetmanagersrecord'],
    /** Create orgGetManagersRecord mutation key */ create: () => ['mutation', 'orggetmanagersrecord', 'create'],
    /** Update orgGetManagersRecord mutation key */ update: (id) => ['mutation', 'orggetmanagersrecord', 'update', id],
    /** Delete orgGetManagersRecord mutation key */ delete: (id) => ['mutation', 'orggetmanagersrecord', 'delete', id],
};
exports.orgGetSubordinatesRecordMutationKeys = {
    /** All orgGetSubordinatesRecord mutation keys */ all: [
        'mutation',
        'orggetsubordinatesrecord',
    ],
    /** Create orgGetSubordinatesRecord mutation key */ create: () => ['mutation', 'orggetsubordinatesrecord', 'create'],
    /** Update orgGetSubordinatesRecord mutation key */ update: (id) => ['mutation', 'orggetsubordinatesrecord', 'update', id],
    /** Delete orgGetSubordinatesRecord mutation key */ delete: (id) => ['mutation', 'orggetsubordinatesrecord', 'delete', id],
};
exports.appPermissionMutationKeys = {
    /** All appPermission mutation keys */ all: ['mutation', 'apppermission'],
    /** Create appPermission mutation key */ create: () => ['mutation', 'apppermission', 'create'],
    /** Update appPermission mutation key */ update: (id) => ['mutation', 'apppermission', 'update', id],
    /** Delete appPermission mutation key */ delete: (id) => ['mutation', 'apppermission', 'delete', id],
};
exports.orgPermissionMutationKeys = {
    /** All orgPermission mutation keys */ all: ['mutation', 'orgpermission'],
    /** Create orgPermission mutation key */ create: () => ['mutation', 'orgpermission', 'create'],
    /** Update orgPermission mutation key */ update: (id) => ['mutation', 'orgpermission', 'update', id],
    /** Delete orgPermission mutation key */ delete: (id) => ['mutation', 'orgpermission', 'delete', id],
};
exports.appLevelRequirementMutationKeys = {
    /** All appLevelRequirement mutation keys */ all: ['mutation', 'applevelrequirement'],
    /** Create appLevelRequirement mutation key */ create: () => ['mutation', 'applevelrequirement', 'create'],
    /** Update appLevelRequirement mutation key */ update: (id) => ['mutation', 'applevelrequirement', 'update', id],
    /** Delete appLevelRequirement mutation key */ delete: (id) => ['mutation', 'applevelrequirement', 'delete', id],
};
exports.orgMemberMutationKeys = {
    /** All orgMember mutation keys */ all: ['mutation', 'orgmember'],
    /** Create orgMember mutation key */ create: () => ['mutation', 'orgmember', 'create'],
    /** Update orgMember mutation key */ update: (id) => ['mutation', 'orgmember', 'update', id],
    /** Delete orgMember mutation key */ delete: (id) => ['mutation', 'orgmember', 'delete', id],
};
exports.appPermissionDefaultMutationKeys = {
    /** All appPermissionDefault mutation keys */ all: ['mutation', 'apppermissiondefault'],
    /** Create appPermissionDefault mutation key */ create: () => ['mutation', 'apppermissiondefault', 'create'],
    /** Update appPermissionDefault mutation key */ update: (id) => ['mutation', 'apppermissiondefault', 'update', id],
    /** Delete appPermissionDefault mutation key */ delete: (id) => ['mutation', 'apppermissiondefault', 'delete', id],
};
exports.orgPermissionDefaultMutationKeys = {
    /** All orgPermissionDefault mutation keys */ all: ['mutation', 'orgpermissiondefault'],
    /** Create orgPermissionDefault mutation key */ create: () => ['mutation', 'orgpermissiondefault', 'create'],
    /** Update orgPermissionDefault mutation key */ update: (id) => ['mutation', 'orgpermissiondefault', 'update', id],
    /** Delete orgPermissionDefault mutation key */ delete: (id) => ['mutation', 'orgpermissiondefault', 'delete', id],
};
exports.appAdminGrantMutationKeys = {
    /** All appAdminGrant mutation keys */ all: ['mutation', 'appadmingrant'],
    /** Create appAdminGrant mutation key */ create: () => ['mutation', 'appadmingrant', 'create'],
    /** Update appAdminGrant mutation key */ update: (id) => ['mutation', 'appadmingrant', 'update', id],
    /** Delete appAdminGrant mutation key */ delete: (id) => ['mutation', 'appadmingrant', 'delete', id],
};
exports.appOwnerGrantMutationKeys = {
    /** All appOwnerGrant mutation keys */ all: ['mutation', 'appownergrant'],
    /** Create appOwnerGrant mutation key */ create: () => ['mutation', 'appownergrant', 'create'],
    /** Update appOwnerGrant mutation key */ update: (id) => ['mutation', 'appownergrant', 'update', id],
    /** Delete appOwnerGrant mutation key */ delete: (id) => ['mutation', 'appownergrant', 'delete', id],
};
exports.appAchievementMutationKeys = {
    /** All appAchievement mutation keys */ all: ['mutation', 'appachievement'],
    /** Create appAchievement mutation key */ create: () => ['mutation', 'appachievement', 'create'],
    /** Update appAchievement mutation key */ update: (id) => ['mutation', 'appachievement', 'update', id],
    /** Delete appAchievement mutation key */ delete: (id) => ['mutation', 'appachievement', 'delete', id],
};
exports.appStepMutationKeys = {
    /** All appStep mutation keys */ all: ['mutation', 'appstep'],
    /** Create appStep mutation key */ create: () => ['mutation', 'appstep', 'create'],
    /** Update appStep mutation key */ update: (id) => ['mutation', 'appstep', 'update', id],
    /** Delete appStep mutation key */ delete: (id) => ['mutation', 'appstep', 'delete', id],
};
exports.orgAdminGrantMutationKeys = {
    /** All orgAdminGrant mutation keys */ all: ['mutation', 'orgadmingrant'],
    /** Create orgAdminGrant mutation key */ create: () => ['mutation', 'orgadmingrant', 'create'],
    /** Update orgAdminGrant mutation key */ update: (id) => ['mutation', 'orgadmingrant', 'update', id],
    /** Delete orgAdminGrant mutation key */ delete: (id) => ['mutation', 'orgadmingrant', 'delete', id],
};
exports.orgOwnerGrantMutationKeys = {
    /** All orgOwnerGrant mutation keys */ all: ['mutation', 'orgownergrant'],
    /** Create orgOwnerGrant mutation key */ create: () => ['mutation', 'orgownergrant', 'create'],
    /** Update orgOwnerGrant mutation key */ update: (id) => ['mutation', 'orgownergrant', 'update', id],
    /** Delete orgOwnerGrant mutation key */ delete: (id) => ['mutation', 'orgownergrant', 'delete', id],
};
exports.membershipTypeMutationKeys = {
    /** All membershipType mutation keys */ all: ['mutation', 'membershiptype'],
    /** Create membershipType mutation key */ create: () => ['mutation', 'membershiptype', 'create'],
    /** Update membershipType mutation key */ update: (id) => ['mutation', 'membershiptype', 'update', id],
    /** Delete membershipType mutation key */ delete: (id) => ['mutation', 'membershiptype', 'delete', id],
};
exports.appLimitDefaultMutationKeys = {
    /** All appLimitDefault mutation keys */ all: ['mutation', 'applimitdefault'],
    /** Create appLimitDefault mutation key */ create: () => ['mutation', 'applimitdefault', 'create'],
    /** Update appLimitDefault mutation key */ update: (id) => ['mutation', 'applimitdefault', 'update', id],
    /** Delete appLimitDefault mutation key */ delete: (id) => ['mutation', 'applimitdefault', 'delete', id],
};
exports.orgLimitDefaultMutationKeys = {
    /** All orgLimitDefault mutation keys */ all: ['mutation', 'orglimitdefault'],
    /** Create orgLimitDefault mutation key */ create: () => ['mutation', 'orglimitdefault', 'create'],
    /** Update orgLimitDefault mutation key */ update: (id) => ['mutation', 'orglimitdefault', 'update', id],
    /** Delete orgLimitDefault mutation key */ delete: (id) => ['mutation', 'orglimitdefault', 'delete', id],
};
exports.orgChartEdgeGrantMutationKeys = {
    /** All orgChartEdgeGrant mutation keys */ all: ['mutation', 'orgchartedgegrant'],
    /** Create orgChartEdgeGrant mutation key */ create: () => ['mutation', 'orgchartedgegrant', 'create'],
    /** Update orgChartEdgeGrant mutation key */ update: (id) => ['mutation', 'orgchartedgegrant', 'update', id],
    /** Delete orgChartEdgeGrant mutation key */ delete: (id) => ['mutation', 'orgchartedgegrant', 'delete', id],
};
exports.appClaimedInviteMutationKeys = {
    /** All appClaimedInvite mutation keys */ all: ['mutation', 'appclaimedinvite'],
    /** Create appClaimedInvite mutation key */ create: () => ['mutation', 'appclaimedinvite', 'create'],
    /** Update appClaimedInvite mutation key */ update: (id) => ['mutation', 'appclaimedinvite', 'update', id],
    /** Delete appClaimedInvite mutation key */ delete: (id) => ['mutation', 'appclaimedinvite', 'delete', id],
};
exports.appGrantMutationKeys = {
    /** All appGrant mutation keys */ all: ['mutation', 'appgrant'],
    /** Create appGrant mutation key */ create: () => ['mutation', 'appgrant', 'create'],
    /** Update appGrant mutation key */ update: (id) => ['mutation', 'appgrant', 'update', id],
    /** Delete appGrant mutation key */ delete: (id) => ['mutation', 'appgrant', 'delete', id],
};
exports.appMembershipDefaultMutationKeys = {
    /** All appMembershipDefault mutation keys */ all: ['mutation', 'appmembershipdefault'],
    /** Create appMembershipDefault mutation key */ create: () => ['mutation', 'appmembershipdefault', 'create'],
    /** Update appMembershipDefault mutation key */ update: (id) => ['mutation', 'appmembershipdefault', 'update', id],
    /** Delete appMembershipDefault mutation key */ delete: (id) => ['mutation', 'appmembershipdefault', 'delete', id],
};
exports.orgMembershipDefaultMutationKeys = {
    /** All orgMembershipDefault mutation keys */ all: ['mutation', 'orgmembershipdefault'],
    /** Create orgMembershipDefault mutation key */ create: () => ['mutation', 'orgmembershipdefault', 'create'],
    /** Update orgMembershipDefault mutation key */ update: (id) => ['mutation', 'orgmembershipdefault', 'update', id],
    /** Delete orgMembershipDefault mutation key */ delete: (id) => ['mutation', 'orgmembershipdefault', 'delete', id],
};
exports.orgClaimedInviteMutationKeys = {
    /** All orgClaimedInvite mutation keys */ all: ['mutation', 'orgclaimedinvite'],
    /** Create orgClaimedInvite mutation key */ create: () => ['mutation', 'orgclaimedinvite', 'create'],
    /** Update orgClaimedInvite mutation key */ update: (id) => ['mutation', 'orgclaimedinvite', 'update', id],
    /** Delete orgClaimedInvite mutation key */ delete: (id) => ['mutation', 'orgclaimedinvite', 'delete', id],
};
exports.appLimitEventMutationKeys = {
    /** All appLimitEvent mutation keys */ all: ['mutation', 'applimitevent'],
    /** Create appLimitEvent mutation key */ create: () => ['mutation', 'applimitevent', 'create'],
    /** Update appLimitEvent mutation key */ update: (id) => ['mutation', 'applimitevent', 'update', id],
    /** Delete appLimitEvent mutation key */ delete: (id) => ['mutation', 'applimitevent', 'delete', id],
};
exports.orgLimitEventMutationKeys = {
    /** All orgLimitEvent mutation keys */ all: ['mutation', 'orglimitevent'],
    /** Create orgLimitEvent mutation key */ create: () => ['mutation', 'orglimitevent', 'create'],
    /** Update orgLimitEvent mutation key */ update: (id) => ['mutation', 'orglimitevent', 'update', id],
    /** Delete orgLimitEvent mutation key */ delete: (id) => ['mutation', 'orglimitevent', 'delete', id],
};
exports.orgGrantMutationKeys = {
    /** All orgGrant mutation keys */ all: ['mutation', 'orggrant'],
    /** Create orgGrant mutation key */ create: () => ['mutation', 'orggrant', 'create'],
    /** Update orgGrant mutation key */ update: (id) => ['mutation', 'orggrant', 'update', id],
    /** Delete orgGrant mutation key */ delete: (id) => ['mutation', 'orggrant', 'delete', id],
};
exports.orgChartEdgeMutationKeys = {
    /** All orgChartEdge mutation keys */ all: ['mutation', 'orgchartedge'],
    /** Create orgChartEdge mutation key */ create: () => ['mutation', 'orgchartedge', 'create'],
    /** Update orgChartEdge mutation key */ update: (id) => ['mutation', 'orgchartedge', 'update', id],
    /** Delete orgChartEdge mutation key */ delete: (id) => ['mutation', 'orgchartedge', 'delete', id],
};
exports.appLimitMutationKeys = {
    /** All appLimit mutation keys */ all: ['mutation', 'applimit'],
    /** Create appLimit mutation key */ create: () => ['mutation', 'applimit', 'create'],
    /** Update appLimit mutation key */ update: (id) => ['mutation', 'applimit', 'update', id],
    /** Delete appLimit mutation key */ delete: (id) => ['mutation', 'applimit', 'delete', id],
};
exports.orgLimitAggregateMutationKeys = {
    /** All orgLimitAggregate mutation keys */ all: ['mutation', 'orglimitaggregate'],
    /** Create orgLimitAggregate mutation key */ create: () => ['mutation', 'orglimitaggregate', 'create'],
    /** Update orgLimitAggregate mutation key */ update: (id) => ['mutation', 'orglimitaggregate', 'update', id],
    /** Delete orgLimitAggregate mutation key */ delete: (id) => ['mutation', 'orglimitaggregate', 'delete', id],
};
exports.orgMemberProfileMutationKeys = {
    /** All orgMemberProfile mutation keys */ all: ['mutation', 'orgmemberprofile'],
    /** Create orgMemberProfile mutation key */ create: () => ['mutation', 'orgmemberprofile', 'create'],
    /** Update orgMemberProfile mutation key */ update: (id) => ['mutation', 'orgmemberprofile', 'update', id],
    /** Delete orgMemberProfile mutation key */ delete: (id) => ['mutation', 'orgmemberprofile', 'delete', id],
};
exports.orgLimitMutationKeys = {
    /** All orgLimit mutation keys */ all: ['mutation', 'orglimit'],
    /** Create orgLimit mutation key */ create: () => ['mutation', 'orglimit', 'create'],
    /** Update orgLimit mutation key */ update: (id) => ['mutation', 'orglimit', 'update', id],
    /** Delete orgLimit mutation key */ delete: (id) => ['mutation', 'orglimit', 'delete', id],
};
exports.appLevelMutationKeys = {
    /** All appLevel mutation keys */ all: ['mutation', 'applevel'],
    /** Create appLevel mutation key */ create: () => ['mutation', 'applevel', 'create'],
    /** Update appLevel mutation key */ update: (id) => ['mutation', 'applevel', 'update', id],
    /** Delete appLevel mutation key */ delete: (id) => ['mutation', 'applevel', 'delete', id],
};
exports.appInviteMutationKeys = {
    /** All appInvite mutation keys */ all: ['mutation', 'appinvite'],
    /** Create appInvite mutation key */ create: () => ['mutation', 'appinvite', 'create'],
    /** Update appInvite mutation key */ update: (id) => ['mutation', 'appinvite', 'update', id],
    /** Delete appInvite mutation key */ delete: (id) => ['mutation', 'appinvite', 'delete', id],
};
exports.orgMembershipSettingMutationKeys = {
    /** All orgMembershipSetting mutation keys */ all: ['mutation', 'orgmembershipsetting'],
    /** Create orgMembershipSetting mutation key */ create: () => ['mutation', 'orgmembershipsetting', 'create'],
    /** Update orgMembershipSetting mutation key */ update: (id) => ['mutation', 'orgmembershipsetting', 'update', id],
    /** Delete orgMembershipSetting mutation key */ delete: (id) => ['mutation', 'orgmembershipsetting', 'delete', id],
};
exports.orgInviteMutationKeys = {
    /** All orgInvite mutation keys */ all: ['mutation', 'orginvite'],
    /** Create orgInvite mutation key */ create: () => ['mutation', 'orginvite', 'create'],
    /** Update orgInvite mutation key */ update: (id) => ['mutation', 'orginvite', 'update', id],
    /** Delete orgInvite mutation key */ delete: (id) => ['mutation', 'orginvite', 'delete', id],
};
exports.appMembershipMutationKeys = {
    /** All appMembership mutation keys */ all: ['mutation', 'appmembership'],
    /** Create appMembership mutation key */ create: () => ['mutation', 'appmembership', 'create'],
    /** Update appMembership mutation key */ update: (id) => ['mutation', 'appmembership', 'update', id],
    /** Delete appMembership mutation key */ delete: (id) => ['mutation', 'appmembership', 'delete', id],
};
exports.orgMembershipMutationKeys = {
    /** All orgMembership mutation keys */ all: ['mutation', 'orgmembership'],
    /** Create orgMembership mutation key */ create: () => ['mutation', 'orgmembership', 'create'],
    /** Update orgMembership mutation key */ update: (id) => ['mutation', 'orgmembership', 'update', id],
    /** Delete orgMembership mutation key */ delete: (id) => ['mutation', 'orgmembership', 'delete', id],
};
// ============================================================================
// Custom Mutation Keys
// ============================================================================
exports.customMutationKeys = {
    /** Mutation key for submitAppInviteCode */ submitAppInviteCode: (identifier) => identifier
        ? ['mutation', 'submitAppInviteCode', identifier]
        : ['mutation', 'submitAppInviteCode'],
    /** Mutation key for submitOrgInviteCode */ submitOrgInviteCode: (identifier) => identifier
        ? ['mutation', 'submitOrgInviteCode', identifier]
        : ['mutation', 'submitOrgInviteCode'],
    /** Mutation key for requestUploadUrl */ requestUploadUrl: (identifier) => identifier
        ? ['mutation', 'requestUploadUrl', identifier]
        : ['mutation', 'requestUploadUrl'],
    /** Mutation key for provisionBucket */ provisionBucket: (identifier) => identifier
        ? ['mutation', 'provisionBucket', identifier]
        : ['mutation', 'provisionBucket'],
};
/**

// ============================================================================
// Unified Mutation Key Store
// ============================================================================

 * Unified mutation key store
 *
 * Use this for tracking in-flight mutations with useIsMutating.
 *
 * @example
 * ```ts
 * import { useIsMutating } from '@tanstack/react-query';
 * import { mutationKeys } from './generated';
 *
 * // Check if any user mutations are in progress
 * const isMutatingUser = useIsMutating({ mutationKey: mutationKeys.user.all });
 *
 * // Check if a specific user is being updated
 * const isUpdating = useIsMutating({ mutationKey: mutationKeys.user.update(userId) });
 * ```
 */
exports.mutationKeys = {
    orgGetManagersRecord: exports.orgGetManagersRecordMutationKeys,
    orgGetSubordinatesRecord: exports.orgGetSubordinatesRecordMutationKeys,
    appPermission: exports.appPermissionMutationKeys,
    orgPermission: exports.orgPermissionMutationKeys,
    appLevelRequirement: exports.appLevelRequirementMutationKeys,
    orgMember: exports.orgMemberMutationKeys,
    appPermissionDefault: exports.appPermissionDefaultMutationKeys,
    orgPermissionDefault: exports.orgPermissionDefaultMutationKeys,
    appAdminGrant: exports.appAdminGrantMutationKeys,
    appOwnerGrant: exports.appOwnerGrantMutationKeys,
    appAchievement: exports.appAchievementMutationKeys,
    appStep: exports.appStepMutationKeys,
    orgAdminGrant: exports.orgAdminGrantMutationKeys,
    orgOwnerGrant: exports.orgOwnerGrantMutationKeys,
    membershipType: exports.membershipTypeMutationKeys,
    appLimitDefault: exports.appLimitDefaultMutationKeys,
    orgLimitDefault: exports.orgLimitDefaultMutationKeys,
    orgChartEdgeGrant: exports.orgChartEdgeGrantMutationKeys,
    appClaimedInvite: exports.appClaimedInviteMutationKeys,
    appGrant: exports.appGrantMutationKeys,
    appMembershipDefault: exports.appMembershipDefaultMutationKeys,
    orgMembershipDefault: exports.orgMembershipDefaultMutationKeys,
    orgClaimedInvite: exports.orgClaimedInviteMutationKeys,
    appLimitEvent: exports.appLimitEventMutationKeys,
    orgLimitEvent: exports.orgLimitEventMutationKeys,
    orgGrant: exports.orgGrantMutationKeys,
    orgChartEdge: exports.orgChartEdgeMutationKeys,
    appLimit: exports.appLimitMutationKeys,
    orgLimitAggregate: exports.orgLimitAggregateMutationKeys,
    orgMemberProfile: exports.orgMemberProfileMutationKeys,
    orgLimit: exports.orgLimitMutationKeys,
    appLevel: exports.appLevelMutationKeys,
    appInvite: exports.appInviteMutationKeys,
    orgMembershipSetting: exports.orgMembershipSettingMutationKeys,
    orgInvite: exports.orgInviteMutationKeys,
    appMembership: exports.appMembershipMutationKeys,
    orgMembership: exports.orgMembershipMutationKeys,
    custom: exports.customMutationKeys,
};
