namespace Swarmops.Common.Enums
{
public enum ObjectType
{
Unknown = 0,
Person,
FinancialAccount,
Organization,
OutboundInvoice,
InboundInvoice
}
public enum ObjectOptionalDataType
{
Unknown = 0,
///
/// The personal number (or equivalent) of somebody. In SE, this is a ten digit number.
///
PersonalNumber,
///
/// If a particular person is invisible to all officers.
///
Anonymous,
///
/// ?
///
CustomEmail,
///
/// If somebody should never ever be mailed for any reason.
///
NeverMail,
///
/// The account id of the (currently just Swedish) forum.
///
ForumAccountId,
///
/// Name of a bank.
///
BankName,
///
/// Clearing number of a bank, usually four digits.
///
BankClearing,
///
/// Account number of a bank. Does NOT include clearing number.
///
BankAccount,
///
/// The party email account of a person.
///
PartyEmail,
///
/// Whether this entity is unreachable by mail.
///
MailUnreachable,
///
/// Whether this entity wants mail in text-only format.
///
LimitMailToText,
///
/// Whether this entity wants mail in ISO-8859-1 (as opposed to UTF-8).
///
LimitMailToLatin1,
///
/// Ticket used to reset an account password. Format is {datetimeUtcExpires},{ticket}.
///
ResetPasswordTicket,
///
/// Not sure how this is used
///
EMailIsInvalid,
///
/// The name of the photographer, if the person has a photo (Document type)
///
PortraitPhotographer,
///
/// A flag that this Person should be manually inspected
///
AccountDetailsSuspect,
// ReSharper disable InconsistentNaming
///
/// T-shirt size as indicated by Person
///
TShirtSize,
// ReSharper restore InconsistentNaming
///
/// Name of a blog in cleartext
///
BlogName,
///
/// Url of a blog, including preceding http://
///
BlogUrl,
///
/// Public key in PGP Armor format.
///
CryptoPublicKey,
///
/// Secret AND public keypair in PGP Armor format.
///
CryptoSecretKey,
///
/// Revocation certificate for a public key. Do not use until time for revocation.
///
CryptoRevocation,
///
/// Fingerprint of a crypto key, in format "ABCD 0123 4567..."
///
CryptoFingerprint,
///
/// Geography of an account
///
GeographyId,
///
/// Transaction tag for a donation to go to a particular account
///
BankTransactionTag,
///
/// The account name of the (currently just Swedish) forum.
///
ForumAccountName,
///
/// The preferred culture (for translations etc) eg. sv-SE
///
PreferredCulture,
///
/// List of functional mail addresses for organization
///
OrgFunctionalMail,
///
/// A temporary place to store password hash until membership confirmed (for PPFI)
///
PersonTempPasswordStore,
///
/// Flag to indicate if officer notifications are allowed to contain member names (for PPFI)
///
OrgShowNamesInNotifications,
///
/// Flag to indicate if organisation is using PaymentStatus (for PPFI)
///
OrgUsePaymentStatus,
///
/// Organizations: If the org has PW do bookkeeping
///
OrgEconomyEnabled,
///
/// The highest year for which fiscal books are closed, or 0 for never
///
OrgBooksClosedForYear,
///
/// The last year for which fiscal books have been audited, or 0 for never
///
OrgBooksAuditedForYear,
///
/// Bank account for an organization's tax payments
///
OrgTaxAccount,
///
/// OCR sequence on tax payments (to the tax account) for an organization
///
OrgTaxOcr,
///
/// True if the organization declares inbound/outbound Value Added Tax
///
OrgValueAddedTaxEnabled,
OrgFinancialMailName,
OrgFinancialMailAddress,
///
/// If invoice is credited, this is the credit invoice id (normative)
///
OutboundInvoiceCreditedWithInvoice,
///
/// This is a credit invoice, crediting this other invoice (informative)
///
OutboundInvoiceCreditsInvoice,
///
/// If invoice is to a person id, this is the person id
///
OutboundInvoiceToPersonId,
///
/// If "1", this financial account may be charged for conferences
///
FinancialAccountEnabledForConferences,
///
/// If "1", this financial account may be charged with expenses
///
FinancialAccountEnabledForExpensing,
///
/// If "1", this financial account may be charged with invoices
///
FinancialAccountEnabledForInvoicing,
///
/// Organization's operations currency, stored as currency code
///
OrgCurrency,
///
/// First bookkeeping year of org in Swarmops (can set inbound balances for this year only)
///
OrgFirstFiscalYear,
///
/// Temporary mechanism for the Swarmops Red release: a coarse access list (read/write access)
///
OrgTemporaryAccessListWrite,
///
/// Temporary mechanism for the Swarmops Red release: a coarse access list (read-only access)
///
OrgTemporaryAccessListRead,
///
/// If defined, will autologin to read "open ledgers" when accessed through this domain
///
OrgOpenLedgersDomain,
///
/// If defined, will login to this organization when accessed through this domain (credentials still required)
///
OrgVanityDomain,
///
/// Free-text description of an inbound invoice (what's it for?)
///
InboundInvoiceDescription,
///
/// Geopos - longitude. Float in degrees. Positive is north.
///
Longitude,
///
/// Geopos - latitude. Float in degrees. Positive is east.
///
Latitude,
///
/// A National ID number, if any. Like US SSN.
/// untLockdownTicket
NationalIdNumber,
///
/// What are ordinary people called in this org?
///
OrgRegularLabel,
///
/// What are activists called in this org?
///
OrgActivistLabel,
///
/// For a person, the BitId address they use to login
///
BitIdLoginAddress,
///
/// For a person, the last logged-on organization id. Used to go back there on new login.
///
LastLoginOrganizationId,
///
/// Can be used to lock down a person's account. Format {datetimeUtcExpires},{ticket}.
///
AccountLockdownTicket,
///
/// The datetime UTC when the account was set under lockdown (or empty/null if it is not).
///
AccountUnderLockdownSince
}
}