import {
  gql
} from "../chunk-MOD44I3G.js";
import {
  init_cjs_shims
} from "../chunk-7GH3YGSC.js";

// src/queries/updateLedgerAccount.query.ts
init_cjs_shims();
var query = gql`
  mutation UpdateLedgerAccount(
    $ledgerAccount: LedgerAccountMatchInput!
    $update: UpdateLedgerAccountInput!
  ) {
    updateLedgerAccount(ledgerAccount: $ledgerAccount, update: $update) {
      __typename
      ... on UpdateLedgerAccountResult {
        ledgerAccount {
          ik
          id
          name
        }
      }
      ... on BadRequestError {
        code
        message
        retryable
      }
      ... on InternalError {
        code
        message
        retryable
      }
    }
  }
`;
export {
  query
};
