import { type AdditionalDataHolder, type Parsable, type ParseNode, type SerializationWriter } from '@microsoft/kiota-abstractions'; /** * Creates a new instance of the appropriate class based on discriminator value * @param parseNode The parse node to use to read the discriminator value and create the object * @returns {User} */ export declare function createUserFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record void>); /** * The deserialization information for the current model * @returns {Record void>} */ export declare function deserializeIntoUser(user?: Partial | undefined): Record void>; /** * Serializes information the current object * @param writer Serialization writer to use to serialize this model */ export declare function serializeUser(writer: SerializationWriter, user?: Partial | undefined | null): void; export interface User extends AdditionalDataHolder, Parsable { /** * The Id of the user */ accountId?: string | null; /** * Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. */ additionalData?: Record; /** * The remaining balance on the user's account */ balance?: number | null; /** * The email where the invoices and billing messages will be sent */ billingEmail?: string | null; /** * The end date of the account's free trial. If this is in the past, the free trial has expired. */ billingFreeUntilDate?: Date | null; /** * The BillingType property */ billingType?: number | null; /** * The CardVerified property */ cardVerified?: boolean | null; /** * The city of the user */ city?: string | null; /** * The country name that the user is from */ companyName?: string | null; /** * The Alpha2 country code that the user is from */ country?: string | null; /** * The date when the user joined bunny.net */ dateJoined?: Date | null; /** * Determines if the DPA was accepted by the user or not */ dpaAccepted?: boolean | null; /** * Determines the date on which the DPA was accepted */ dpaDateAccepted?: Date | null; /** * Determines which version of the DPA was accepted */ dpaVersionAccepted?: number | null; /** * The email of the user */ email?: string | null; /** * Determines if the account's email has been successfully verified */ emailVerified?: boolean | null; /** * Contains the list of available payment types for this account */ enabledPaymentTypes?: string[] | null; /** * The list of features that the user has enabled */ featureFlags?: string[] | null; /** * The first name of the user */ firstName?: string | null; /** * The FreeTrialExtendedDate property */ freeTrialExtendedDate?: Date | null; /** * The HasCompleteBillingProfile property */ hasCompleteBillingProfile?: boolean | null; /** * The Id of the user */ id?: string | null; /** * Determines whether the user used a Single Sign On account */ isSsoAccount?: boolean | null; /** * The last name of the user */ lastName?: string | null; /** * Determines if the payments are disabled on this account */ paymentsDisabled?: boolean | null; /** * Determines if the account should receive notification emails from bunny.net */ receiveNotificationEmails?: boolean | null; /** * Determines if the account should receive promotional emails from bunny.net */ receivePromotionalEmails?: boolean | null; /** * Determines the roles that the user belongs to */ roles?: string[] | null; /** * The street address of the user */ streetAddress?: string | null; /** * Determines if the user's account is suspended */ suspended?: boolean | null; /** * The total bandwidth used by the account. */ totalBandwidthUsed?: number | null; /** * The TrialBalance property */ trialBalance?: number | null; /** * The total free trial bandwidth limit for this account */ trialBandwidthLimit?: number | null; /** * Determines if the account has 2FA enabled */ twoFactorAuthenticationEnabled?: boolean | null; /** * Returns the number of unread tickets on the user's account */ unreadSupportTicketCount?: number | null; /** * The billing VAT number of the account */ vATNumber?: string | null; /** * The address zip code of the user */ zipCode?: string | null; }