/**
 * Centralized mutation key factory
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
// ============================================================================
// 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
// ============================================================================
export const 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],
};
export const 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],
};
export const 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],
};
export const 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],
};
export const 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],
};
export const 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],
};
export const 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],
};
export const 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],
};
export const 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],
};
export const 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],
};
export const 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],
};
export const 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],
};
export const 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],
};
export const 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],
};
export const 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],
};
export const 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],
};
export const 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],
};
export const 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],
};
export const 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],
};
export const 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],
};
export const 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],
};
export const 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],
};
export const 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],
};
export const 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],
};
export const 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],
};
export const 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],
};
export const 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],
};
export const 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],
};
export const 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],
};
export const 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],
};
export const 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],
};
export const 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],
};
export const 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],
};
export const 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
// ============================================================================
export const 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 confirmUpload */ confirmUpload: (identifier) => identifier
        ? ['mutation', 'confirmUpload', identifier]
        : ['mutation', 'confirmUpload'],
    /** 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) });
 * ```
 */
export const mutationKeys = {
    orgGetManagersRecord: orgGetManagersRecordMutationKeys,
    orgGetSubordinatesRecord: orgGetSubordinatesRecordMutationKeys,
    appPermission: appPermissionMutationKeys,
    orgPermission: orgPermissionMutationKeys,
    appLevelRequirement: appLevelRequirementMutationKeys,
    orgMember: orgMemberMutationKeys,
    appPermissionDefault: appPermissionDefaultMutationKeys,
    orgPermissionDefault: orgPermissionDefaultMutationKeys,
    appAdminGrant: appAdminGrantMutationKeys,
    appOwnerGrant: appOwnerGrantMutationKeys,
    appLimitDefault: appLimitDefaultMutationKeys,
    orgLimitDefault: orgLimitDefaultMutationKeys,
    orgAdminGrant: orgAdminGrantMutationKeys,
    orgOwnerGrant: orgOwnerGrantMutationKeys,
    appLimit: appLimitMutationKeys,
    appAchievement: appAchievementMutationKeys,
    appStep: appStepMutationKeys,
    appClaimedInvite: appClaimedInviteMutationKeys,
    orgChartEdgeGrant: orgChartEdgeGrantMutationKeys,
    orgLimit: orgLimitMutationKeys,
    membershipType: membershipTypeMutationKeys,
    appGrant: appGrantMutationKeys,
    appMembershipDefault: appMembershipDefaultMutationKeys,
    orgMembershipDefault: orgMembershipDefaultMutationKeys,
    orgClaimedInvite: orgClaimedInviteMutationKeys,
    orgGrant: orgGrantMutationKeys,
    orgChartEdge: orgChartEdgeMutationKeys,
    orgMemberProfile: orgMemberProfileMutationKeys,
    orgMembershipSetting: orgMembershipSettingMutationKeys,
    appLevel: appLevelMutationKeys,
    appInvite: appInviteMutationKeys,
    orgInvite: orgInviteMutationKeys,
    appMembership: appMembershipMutationKeys,
    orgMembership: orgMembershipMutationKeys,
    custom: customMutationKeys,
};
