import { AutoEncoder } from '@simonbackx/simple-encoding'; import { Address } from './addresses/Address.js'; import { STPackageStatus, STPackageType } from './billing/STPackage.js'; import { Company } from './Company.js'; import { Replacement } from './endpoints/EmailRequest.js'; import { File } from './files/File.js'; import { Image } from './files/Image.js'; import { GroupCategory } from './GroupCategory.js'; import { OrganizationRecordsConfiguration } from './members/OrganizationRecordsConfiguration.js'; import { OldGroupPrices } from './OldGroupPrices.js'; import { OrganizationGenderType } from './OrganizationGenderType.js'; import { OrganizationPrivateMetaData } from './OrganizationPrivateMetaData.js'; import { OrganizationType } from './OrganizationType.js'; import { PaymentConfiguration } from './PaymentConfiguration.js'; import { PaymentMethod } from './PaymentMethod.js'; import { UmbrellaOrganization } from './UmbrellaOrganization.js'; import { TransferSettings } from './webshops/TransferSettings.js'; import { UitpasClientCredentialsStatus } from './UitpasClientCredentialsStatus.js'; export declare class OrganizationPackages extends AutoEncoder { packages: Map; isActive(type: STPackageType): boolean; /** * Return amount of ms this package has been active for */ getActiveTime(type: STPackageType): number | null; wasActive(type: STPackageType): boolean; /** * Return amount of ms this package has been active for */ getDeactivatedTime(type: STPackageType): number | null; get useMembers(): boolean; set useMembers(_: boolean); get canStartMembersTrial(): boolean; get isMembersTrial(): boolean; get isActivitiesTrial(): boolean; get isWebshopsTrial(): boolean; get canStartWebshopsTrial(): boolean; get useWebshops(): boolean; set useWebshops(_: boolean); get webshopLimit(): 0 | 1 | 10; get disableActivities(): boolean; get useActivities(): boolean; get isPaid(): boolean; get wasPaid(): boolean; } /** * @deprecated */ export declare class OrganizationModules extends AutoEncoder { useMembers: boolean; useWebshops: boolean; /** * We use inverse property here because this can only be used in combination with useMembers == true */ disableActivities: boolean; get useActivities(): boolean; } export declare class OrganizationMetaData extends AutoEncoder { /** * Last time the organization signed the terms. Null means the creation date of the organization. */ lastSignedTerms: Date | null; get didAcceptLatestTerms(): boolean; get didAcceptEndToEndEncryptionRemoval(): boolean; type: OrganizationType; /** * Contains the ids of the tags */ tags: string[]; /** * Show beta features in this organization */ enableBetaFeatures: boolean; /** * @deprecated Only used for migrations */ modulesOld: OrganizationModules; /** * @deprecated * Use packages */ get modules(): OrganizationPackages; set modules(_: any); packages: OrganizationPackages; umbrellaOrganization: UmbrellaOrganization | null; /** * Set either file or url for the privacy policy. If both are set, the url has priority */ privacyPolicyFile: File | null; privacyPolicyUrl: string | null; /** * Logo used in a horizontal environment (e.g. menu bar) */ horizontalLogo: Image | null; /** * Logo to display (small) */ squareLogo: Image | null; expandLogo: boolean; horizontalLogoDark: Image | null; squareLogoDark: Image | null; color: string | null; /** * Only used for building the initial groups for some type of organizations */ genderType: OrganizationGenderType; /** * @deprecated */ defaultStartDate: Date; /** * @deprecated */ defaultEndDate: Date; /** * @deprecated */ defaultPrices: OldGroupPrices[]; /** * @deprecated * Use registrationPaymentConfiguration.transferSettings instead */ oldTransferSettings: TransferSettings; /** * @deprecated * Use registrationPaymentConfiguration.paymentMethods instead */ oldPaymentMethods: PaymentMethod[]; registrationPaymentConfiguration: PaymentConfiguration; /** * @deprecated * Use registrationPaymentConfiguration.paymentMethods instead */ get paymentMethods(): PaymentMethod[]; /** * @deprecated * Use registrationPaymentConfiguration.paymentMethods instead */ get transferSettings(): TransferSettings; recordsConfiguration: OrganizationRecordsConfiguration; /** * @deprecated Moved to companies */ companyName: string | null; /** * @deprecated Moved to companies */ VATNumber: string | null; /** * @deprecated Moved to companies */ companyNumber: string | null; /** * @deprecated Moved to companies */ companyAddress: Address | null; companies: Company[]; /** * @deprecated * Use OrganizationRegistrationPeriod instead * * All the available categories */ categories: GroupCategory[]; /** * @deprecated * Use OrganizationRegistrationPeriod instead * * We use one invisible root category to simplify the difference between non-root and root category */ rootCategoryId: string; uitpasOrganizerId: string | null; uitpasOrganizerName: string | null; uitpasClientCredentialsStatus: UitpasClientCredentialsStatus; /** * @deprecated * Use OrganizationRegistrationPeriod instead * * (todo) Contains the fully build hierarchy without the need for ID lookups. Try not to use this tree when modifying it. */ get rootCategory(): GroupCategory | undefined; getEmailReplacements(organization: { name: string; privateMeta: OrganizationPrivateMetaData | null; registerUrl: string; }): Replacement[]; /** * True if at least one id matches */ matchTags(ids: string[]): boolean; } //# sourceMappingURL=OrganizationMetaData.d.ts.map