import { describeNullContracts, NullContract, } from '../common/validation/null-contract.spec-helper'; import { UpdateAuthorityNoticeDto } from './dto/update-authority-notice.dto'; import { UpdateComplianceSettingsDto } from './dto/update-compliance-settings.dto'; const contracts: Record = { UpdateComplianceSettingsDto: { dto: UpdateComplianceSettingsDto, notNull: [ 'noticeOnColonyCountChange', 'noticeOnApiaryChange', 'tskReferenceDay', 'tskExcludedColonyTypes', 'netQuantityDigitRules', ], clearable: [ 'veterinaryOfficeName', 'veterinaryOfficeAddress', 'registrationNumber', 'tskReportDueDay', 'tskMemberNumber', ], }, UpdateAuthorityNoticeDto: { dto: UpdateAuthorityNoticeDto, notNull: ['totalColonies', 'referenceDate'], clearable: ['sentOn', 'sentVia', 'reference', 'notes'], }, }; describeNullContracts('Compliance DTO null contracts', contracts);