Skip to main content

IBaseUser

Base interface for all user types in the system.

Defines common properties shared across users, contacts, and customers. This interface provides a unified structure for user-related data while allowing for type-specific implementations.

interface IBaseUser {
userId: Int
debtorId: String
gender: Gender
firstName: String!
middleName: String
lastName: String!
phone: String
mobile: String
email: String!
login: String
iban: String
bankAccount: String
bic: String
notes: String
primaryLanguage: String
expires: DateTime
externalId: String
dateOfBirth: DateTime
mailingList: YesNo
isLoggedIn: Boolean
createdAt: DateTime
lastModifiedAt: DateTime
}

Fields

IBaseUser.userId ● Int scalar

Unique identifier for the user.

Primary key used to reference the user throughout the system and establish relationships with other entities.

IBaseUser.debtorId ● String scalar

Financial identifier for billing and accounting purposes.

Links the user to financial records and billing systems for transaction processing and account management.

IBaseUser.gender ● Gender enum

Gender identity of the user.

Used for personalization and communication preferences. Respects privacy preferences and is not required for account functionality.

IBaseUser.firstName ● String! non-null scalar

Given name of the user.

Primary name used for personal identification and communication. Required for account creation and user recognition.

IBaseUser.middleName ● String scalar

Middle name or initial of the user.

Additional name component used for formal identification and complete name display when available.

IBaseUser.lastName ● String! non-null scalar

Family name of the user.

Surname used for formal identification and complete name display. Required for account creation and user recognition.

IBaseUser.phone ● String scalar

Primary phone number for voice communication.

Landline or office phone number used for business communications and account verification.

IBaseUser.mobile ● String scalar

Mobile phone number for direct communication.

Cell phone number used for SMS notifications, two-factor authentication, and urgent communications.

IBaseUser.email ● String! non-null scalar

Primary email address for digital communication.

Main contact email used for account notifications, password resets, and business communications. Must be unique and in valid email format.

IBaseUser.login ● String scalar

Authentication email address for system access.

Email address used for login credentials and account authentication. When null, no account access has been configured. Usually matches the primary email address.

IBaseUser.iban ● String scalar

International Bank Account Number for financial transactions.

Standardized bank account identifier used for direct debits, payments, and financial processing. Must be in valid IBAN format.

IBaseUser.bankAccount ● String scalar

Local bank account number for financial transactions.

Domestic bank account identifier used for payments and financial processing in regions where IBAN is not standard.

IBaseUser.bic ● String scalar

Bank Identification Code for international transfers.

SWIFT/BIC code identifying the user's bank for international wire transfers and financial communications.

IBaseUser.notes ● String scalar

Additional notes and comments about the user.

Free-form text field for storing special instructions, preferences, or important information about the user account.

IBaseUser.primaryLanguage ● String scalar

Preferred language for user interface and communications.

Language code (e.g., 'NL', 'EN', 'DE') used for localizing the user interface and determining the language for automated communications.

IBaseUser.expires ● DateTime scalar

Account expiration date and time.

Date when the user's access expires and the account becomes inactive. After this date, the user cannot authenticate or access system resources.

IBaseUser.externalId ● String scalar

External system reference identifier.

Unique identifier used to link this user with records in external systems, legacy databases, or third-party integrations.

IBaseUser.dateOfBirth ● DateTime scalar

Date of birth for age verification and personalization.

Used for age-restricted features, birthday communications, and demographic analysis. Must be in the past and in YYYY-MM-DD format.

IBaseUser.mailingList ● YesNo enum

Marketing communication subscription preference.

Indicates whether the user has opted in to receive marketing emails, newsletters, and promotional communications.

IBaseUser.isLoggedIn ● Boolean scalar

Current authentication status indicator.

Shows whether the user is currently logged into the system. Updated automatically during login and logout processes.

IBaseUser.createdAt ● DateTime scalar

Timestamp when the user account was created.

Automatically set when the user is first created in the system. Used for auditing, analytics, and account age calculations.

IBaseUser.lastModifiedAt ● DateTime scalar

Timestamp when the user information was last updated.

Automatically updated whenever any user information is modified. Used for auditing, synchronization, and change tracking.

Returned By

user query ● viewer query

Member Of

Cart object ● Company object ● ICart interface ● Orderlist object ● RegisterContactResponse object ● RegisterCustomerResponse object ● Tender object ● UsersResponse object

Implemented By

Contact object ● Customer object ● User object