[docs]
class PhoneType:
"""Enum for Phone Types"""
FAX = "Fax"
MOBILE = "Mobile"
PAGER = "Pager"
PERSONAL = "Home"
BUSINESS = "Business"
CELL = "Mobile"
PHONE_TYPE_MAPPING = {
"BUS": PhoneType.BUSINESS,
"CEL": PhoneType.CELL,
"FAX": PhoneType.FAX,
"PAG": PhoneType.PAGER,
"HOM": PhoneType.PERSONAL,
"MOB": PhoneType.MOBILE,
}
RM02_FIELDS = [
"CustomerName/AddrLine1",
"CustomerName/AddrLine2",
"CustomerName/AddrLine3",
"CustomerName/AddrLine4",
"CustomerName/AddrLine5",
"CustomerName/AddrLine6",
"Name/AddrLine1Type",
"Name/AddrLine2Type",
"Name/AddrLine3Type",
"Name/AddrLine4Type",
"Name/AddrLine5Type",
"Name/AddrLine6Type",
"ReturnedAlternateAddr",
"CustomerKey",
"CustomerType",
"CustomerSubType",
"UserNumber",
"HeadOfHousehold",
"HouseholdRelationship",
"HouseholdKey",
"TaxpayerIDNumberUnformatted",
"TaxpayerIDNumberFormatted",
"TINType",
"TINStatusCode",
"RecipientGIIN",
"NRAIndicator",
"Chapter3Status",
"Chapter4Status",
"USOwnersDocumented",
"IRSFFIListVerificationDate",
"ResidentAlien",
"NRAStatusCode",
"W8CertificationDate",
"W8NoticeDate",
"W8ExpirationDate",
"W8ReprintNoticeFlag",
"CitizenshipCountry",
"TaxReporting",
"TaxCountry",
"ShortName",
"FirstName",
"MiddleName",
"LastName",
"NonPersonalNameLine1",
"NonPersonalNameLine2",
"Prefix",
"Suffix",
"ProfessionalDesignation",
"FamiliarName",
"CustomerStatus",
"VIPCode",
"PrimaryOfficer",
"SecondaryOfficer1",
"SecondaryOfficer2",
"SecondaryOfficer3",
"OpeningBranch",
"SecondaryBranch1",
"SecondaryBranch2",
"RegionCode",
"DateCustomerAdded",
"InactiveDate",
"PurgeOption",
"LastCustContactDate",
"LastCustContactType",
"LostCustomerDate",
"LostCustomerReason",
"IdentificationType",
"IdentificationValue",
"IdentificationIssuer",
"RegORelationshipCode",
"RegOInstitutionCode",
"RegOCode",
"1stBNoticeDate",
"2ndBNoticeDate",
"CensusBlock",
"CensusTract",
"CensusCity",
"CensusCounty",
"CensusState",
"CensusZip",
"CreditBureauReportCode",
"MSACode",
"CommentLine",
"FollowAddressRelationshipKey",
"OldCIFKey",
"DateofBirth",
"DateofDeath",
"Race",
"Gender",
"MaritalStatus",
"EducationLevel",
"PreferredLanguage",
"OwnRentCode",
"DateofResidence",
"NumberofDependents",
"ProfessionCode",
"AnnualIncomeinThousands",
"MonthlyExpensesinThousands",
"TotalAssetsinThousands",
"TotalLiabilitiesinThousands",
"HomeValueinThousands",
"Ethnicity",
"Occupation",
"BusinessDescription",
"NumberOfEmployees",
"EstablishedDate",
"CorporateResolutionDate",
"SICCode",
"OwnershipType",
"SmallBusinessIndicator",
"AnnualSalesinThousands",
"TypeofBusiness",
"PhoneTypeCode1",
"CountryCode1",
"AreaCode1",
"PhoneNumber1",
"Extension1",
"CallTime1",
"TimeZone1",
"USEdit1",
"UseforEnterpriseAlerts-Phone1",
"PhoneTypeCode2",
"CountryCode2",
"AreaCode2",
"PhoneNumber2",
"Extension2",
"CallTime2",
"TimeZone2",
"USEdit2",
"UseforEnterpriseAlerts-Phone2",
"InternetAddressTypeCode",
"InternetAddress",
"UseforEnterpriseAlerts–E-mail",
"AddressSequence",
"HoldCode",
"Address1StreetNumber",
"Address1StreetName",
"Address2StreetNumber",
"Address2StreetName",
"Address3StreetNumber",
"Address3StreetName",
"City",
"State",
"ZipCode",
"ZipCode+4",
"ZipCode+2",
"USPostalControl",
"ForeignCountryName",
"ForeignPostalCode",
"BorrowerType",
"InternalCustomerClass",
"RegulatoryCustomerClass",
"LastCreditReviewDate",
"NextCreditReviewDate",
"ReviewPeriod",
"ReviewFrequency",
"NextCreditRateDate",
"CreditRating",
"CreditRatingDate",
"CollectionOfficer",
"LastFinancialStmtDate",
"NextFinancialStmtDate",
"BankruptcyDate",
"BankruptcyChapter",
"BankruptcyTrustee",
"BankruptcyTrusteeAreaCode",
"BankruptcyTrusteePhoneNo",
"BankruptcyTrusteeExtension",
"Bankruptcy1stMeetDate",
"BankruptcyDischargeDate",
"DaysOutofDebt",
"UserDefinedFieldDescription1",
"UserDefinedFieldValue1",
"UserDefinedFieldDescription2",
"UserDefinedFieldValue2",
"UserDefinedFieldDescription3",
"UserDefinedFieldValue3",
"UserDefinedFieldDescription4",
"UserDefinedFieldValue4",
"UserDefinedFieldDescription5",
"UserDefinedFieldValue5",
"InternetAccessCode",
"IVRAccessCode",
"EnterpriseAlertsAccessCode",
"DuplicateResolverOmitFlag",
"AnnualPrivacyDisclosureNotice",
"PrivacySharingOption",
"ReprintPrivacyDisclosureNotice",
"LastPrivacyDisclosureDate",
"CashManagementAccess1",
"CashManagementAccess2",
"IdentificationIssueDate",
"IdentificationExpirationDate",
"IDTheftAlert",
"IDTheftNoticeDate",
"DateofEmployment",
"EmployerName1",
"EmployerName2",
"EmployerAddress1",
"EmployerAddress2",
"EmployerCity",
"EmployerState",
"EmployerZipCode",
"EmployerZip+4",
"EmployerZip+2",
"FutureUse",
"EmployerPostalCode",
"EmployerForeignCountry",
"EmployerForeignPostalCode",
"EntityType",
"TaxProvince",
"AltElectronicAccessNumber",
"IDTypeDescription",
"ServiceMember",
"NewCustomerWelcomeLetterDate",
"RelInterestBonusProgram",
"RestrictedCustomer",
"ForeignTaxID",
"ISOCountryCode",
"FinCENCountry",
"FinCENState",
"FutureUse6",
"FutureUse7",
"FutureUse8",
]