import { AutoEncoder } from '@simonbackx/simple-encoding'; import { PropertyFilter } from '../filters/PropertyFilter.js'; import { type Group } from '../Group.js'; import { Organization } from '../Organization.js'; import { Platform } from '../Platform.js'; import { RecordCategory } from './records/RecordCategory.js'; export declare enum AskRequirement { NotAsked = "NotAsked", Optional = "Optional", Required = "Required" } export declare class FreeContributionSettings extends AutoEncoder { description: string; amounts: number[]; } export declare class FinancialSupportSettings extends AutoEncoder { /** * E.g. 'financial support' */ title: string; /** * E.g. 'We provide financial support for families in financial difficulties. You can ask for this by checking this checkbox' */ description: string; /** * E.g. 'My family is in need of financial support' */ checkboxLabel: string; /** * E.g. 'SOMkort' */ priceName: string; /** * E.g. 'Uses financial support' */ warningText: string; /** * Whether a member can self assign financial support. * If false a member who chooses financial support cannot self subscribe. */ preventSelfAssignment: boolean; /** * The text that a member sees if he cannot inscribe with financial support. */ preventSelfAssignmentText: string | null; static get defaultDescription(): string; static get defaultTitle(): string; static get defaultPriceName(): string; static get defaultCheckboxLabel(): string; static get defaultWarningText(): string; static get defaultPreventSelfAssignmentText(): string; } export declare class DataPermissionsSettings extends AutoEncoder { /** * E.g. 'financial support' */ title: string; /** * E.g. 'We provide financial support for families in financial difficulties. You can ask for this by checking this checkbox' */ description: string; /** * E.g. 'My family is in need of financial support' */ checkboxLabel: string; /** * Warning that is shown if the checkbox is not checked * E.g. 'Without this information the group will not be able to offer a reduced price if you are eligible for financial support.' */ checkboxWarning: string | null; /** * Warning for administrators * E.g. 'Uses financial support' */ warningText: string; static get defaultDescription(): string; static get defaultTitle(): string; static get defaultCheckboxLabel(): string; static get defaultWarningText(): string; static get defaultCheckboxWarning(): string; } export declare class OrganizationRecordsConfiguration extends AutoEncoder { /** * If the organizations provides support for families in financial difficulties */ financialSupport: boolean; /** * Ask permissions to collect data */ dataPermission: boolean; emailAddress: PropertyFilter | null; phone: PropertyFilter | null; gender: PropertyFilter | null; birthDay: PropertyFilter | null; address: PropertyFilter | null; parents: PropertyFilter | null; emergencyContacts: PropertyFilter | null; uitpasNumber: PropertyFilter | null; nationalRegisterNumber: PropertyFilter | null; recordCategories: RecordCategory[]; /** * Defines if optional record categories in the parent are enabled, and when they are enabled (using a filter) */ inheritedRecordCategories: Map; freeContribution: FreeContributionSettings | null; static build(options: { platform: Platform; organization?: Organization | null; group?: Group | null; /** * When configuring default age groups, this has to be set to true so the platform record categories * that are enabled by default for default age groups, are not disabled */ forceDefaultAgeGroup?: boolean; /** * Whether the group itself should be included */ includeGroup?: boolean; }): OrganizationRecordsConfiguration; static mergeChildren(...configs: OrganizationRecordsConfiguration[]): OrganizationRecordsConfiguration; /** * Note: best to not use this visually */ static mergeChild(parent: OrganizationRecordsConfiguration, child: OrganizationRecordsConfiguration): OrganizationRecordsConfiguration; } //# sourceMappingURL=OrganizationRecordsConfiguration.d.ts.map