UNPKG

@accounter/server

Version:
11 lines (10 loc) 647 B
import { Injector } from 'graphql-modules'; import type { UpdateBusinessInput } from '../../../__generated__/types.js'; import type { IGetBusinessesByIdsResult } from '../types.js'; /** * Update a single business' core financial-entity fields, business fields, suggestions and * tax-category match, then sync the green-invoice client. Throws on failure; returns the * refreshed business on success. Shared by the `updateBusiness` and `batchUpdateBusinesses` * mutations. */ export declare function updateSingleBusiness(injector: Injector, businessId: string, ownerId: string, fields: UpdateBusinessInput): Promise<IGetBusinessesByIdsResult>;