UNPKG

@accounter/server

Version:
18 lines (17 loc) 1.87 kB
import { Injector } from 'graphql-modules'; import { AccountingMethod, AccountingSystem, AuditOpinionType, BusinessType, CurrencyType, IFRSReportingOption, IndividualOrCompanyEnum, ReportData, ReportingMethod, YesNo } from '../../../../../shaam6111-generator/src/index.js'; import type * as SchemaTypes from '../../../__generated__/types.js'; export declare function getShaam6111Data(injector: Injector, businessId: string, year: number): Promise<SchemaTypes.Shaam6111Data>; export declare function accountingMethodSafeParser(accountingMethod: SchemaTypes.AccountingMethod): AccountingMethod; export declare function accountingSystemSafeParser(accountingSystem: SchemaTypes.AccountingSystem): AccountingSystem; export declare function auditOpinionTypeSafeParser(auditOpinionType?: SchemaTypes.AuditOpinionType | null): AuditOpinionType | undefined; export declare function businessTypeSafeParser(businessType: SchemaTypes.BusinessType): BusinessType; export declare function currencyTypeSafeParser(currencyType: SchemaTypes.CurrencyType): CurrencyType; export declare function ifrsReportingOptionSafeParser(ifrsReportingOption?: SchemaTypes.IfrsReportingOption): IFRSReportingOption | undefined; export declare function reportingMethodSafeParser(reportingMethod: SchemaTypes.ReportingMethod): ReportingMethod; export declare function yesNoSafeParser(yesNo: boolean): YesNo; export declare function yesNoOptionalSafeParser(yesNo?: boolean | null): YesNo | undefined; export declare function individualOrCompanySafeParser(individualOrCompany: SchemaTypes.IndividualOrCompany): IndividualOrCompanyEnum; export declare function yesNoToBoolean(yesNo: YesNo): boolean; export declare function yesNoToOptionalBoolean(yesNo?: YesNo): boolean | undefined; export declare function convertLocalReportDataToShaam6111ReportData(localReportData: SchemaTypes.Shaam6111Data): ReportData;