1
0
mirror of https://github.com/aclindsa/ofxgo.git synced 2024-12-25 22:43:21 -05:00

Add more leaf elements missed earlier

This commit is contained in:
Aaron Lindsay 2017-04-03 20:48:01 -04:00
parent 737d289b29
commit ea133999ee

View File

@ -7,9 +7,10 @@ package ofxgo
// element nesting.
//
// Generated using the following command with the 1.0.3 SPEC .dtd file:
// # sed -rn 's/^<!ELEMENT\s+([A-Z0-9]+)\s+-\s+o\s+%.*TYPE>.*$/\t"\1",/p' *.dtd | sort
// # sed -rn 's/^<!ELEMENT\s+([A-Z0-9]+)\s+-\s+[oO]\s+%.*TYPE\s*>.*$/\t"\1",/p' *.dtd | sort
var ofxLeafElements = []string{
"ACCESSKEY",
"ACCRDINT",
"ACCTID",
"ACCTKEY",
"ACCTREQUIRED",
@ -23,19 +24,29 @@ var ofxLeafElements = []string{
"ADJNO",
"APPID",
"APPVER",
"ASSETCLASS",
"AUCTION",
"AUTHTOKEN",
"AUTHTOKENFIRST",
"AUTHTOKENINFOURL",
"AUTHTOKENLABEL",
"AVAILACCTS",
"AVAILCASH",
"AVGCOSTBASIS",
"BALAMT",
"BALCLOSE",
"BALDNLD",
"BALMIN",
"BALOPEN",
"BALTYPE",
"BANKID",
"BILLREFINFO",
"BRANCHID",
"BROKERID",
"BUYPOWER",
"BUYTYPE",
"CALLPRICE",
"CALLTYPE",
"CANADDPAYEE",
"CANBILLPAY",
"CANCELWND",
@ -51,6 +62,7 @@ var ofxLeafElements = []string{
"CANUSERANGE",
"CASESEN",
"CHARTYPE",
"CHECKING",
"CHECKNUM",
"CHGPINFIRST",
"CHGUSERINFO",
@ -67,10 +79,13 @@ var ofxLeafElements = []string{
"CLOSINGAVAIL",
"CLTCOOKIE",
"CODE",
"COMMISSION",
"CONFMSG",
"CORRECTACTION",
"CORRECTFITID",
"COUNTRY",
"COUPONFREQ",
"COUPONRT",
"CREDITLIMIT",
"CSPHONE",
"CURDEF",
@ -81,6 +96,9 @@ var ofxLeafElements = []string{
"DAYSTOPAY",
"DAYSWITH",
"DEBADJ",
"DEBTCLASS",
"DEBTTYPE",
"DENOMINATOR",
"DEPANDCREDIT",
"DESC",
"DFLTDAYSTOPAY",
@ -93,29 +111,39 @@ var ofxLeafElements = []string{
"DSCRATE",
"DTACCTUP",
"DTASOF",
"DTAUCTION",
"DTAVAIL",
"DTCALL",
"DTCHANGED",
"DTCLIENT",
"DTCLOSE",
"DTCOUPON",
"DTCREATED",
"DTDUE",
"DTEND",
"DTEXPIRE",
"DTINFOCHG",
"DTMAT",
"DTNEXT",
"DTOPEN",
"DTPLACED",
"DTPMTDUE",
"DTPMTPRC",
"DTPOSTED",
"DTPOSTEND",
"DTPOSTSTART",
"DTPRICEASOF",
"DTPROFUP",
"DTPURCHASE",
"DTSERVER",
"DTSETTLE",
"DTSTART",
"DTTRADE",
"DTUSER",
"DTXFERPRC",
"DTXFERPRJ",
"DTYIELDASOF",
"DURATION",
"EMAIL",
"EVEPHONE",
"EXTDPMTCHK",
@ -123,22 +151,32 @@ var ofxLeafElements = []string{
"FAXPHONE",
"FEE",
"FEEMSG",
"FEES",
"FIASSETCLASS",
"FICERTID",
"FID",
"FIID",
"FINALAMT",
"FINAME",
"FINCHG",
"FIRSTNAME",
"FITID",
"FRACCASH",
"FREQ",
"FROM",
"GAIN",
"GENUSERKEY",
"GETMIMESUP",
"HASEXTDPMT",
"HELDINACCT",
"IDSCOPE",
"INCBAL",
"INCIMAGES",
"INCOMETYPE",
"INCOO",
"INITIALAMT",
"INTLXFERFEE",
"INVACCTTYPE",
"INVALIDACCTTYPE",
"INVDATE",
"INVDESC",
@ -147,10 +185,15 @@ var ofxLeafElements = []string{
"INVTOTALAMT",
"LANGUAGE",
"LASTNAME",
"LIMITPRICE",
"LITMAMT",
"LITMDESC",
"LOAD",
"LOSTSYNC",
"MAILSUP",
"MARGINBALANCE",
"MARKDOWN",
"MARKUP",
"MAX",
"MEMO",
"MESSAGE",
@ -159,43 +202,73 @@ var ofxLeafElements = []string{
"MFAPHRASEA",
"MFAPHRASEID",
"MFAPHRASELABEL",
"MFTYPE",
"MIDDLENAME",
"MIN",
"MINPMTDUE",
"MINUNITS",
"MKTGINFO",
"MKTVAL",
"MODELWND",
"MODPENDING",
"NAME",
"NEWUNITS",
"NEWUSERPASS",
"NINSTS",
"NONCE",
"NUMERATOR",
"OFXSEC",
"OLDUNITS",
"OODNLD",
"OPTACTION",
"OPTBUYTYPE",
"OPTIONLEVEL",
"OPTSELLTYPE",
"OPTTYPE",
"ORG",
"PARVALUE",
"PAYACCT",
"PAYANDCREDIT",
"PAYEEID",
"PAYEELSTID",
"PAYINSTRUCT",
"PERCENT",
"PHONE",
"PINCH",
"PMTBYADDR",
"PMTBYPAYEEID",
"PMTBYXFER",
"PMTPRCCODE",
"POSDNLD",
"POSTALCODE",
"POSTPROCWND",
"POSTYPE",
"PROCDAYSOFF",
"PROCENDTM",
"PURANDADV",
"RATING",
"RECSRVRTID",
"REFNUM",
"REFRESH",
"REFRESHSUPT",
"REINVCG",
"REINVDIV",
"REJECTIFMISSING",
"RELFITID",
"RELTYPE",
"RESPFILEER",
"RESTRICTION",
"SECLISTRQDNLD",
"SECNAME",
"SECURED",
"SECURITYNAME",
"SELLALL",
"SELLREASON",
"SELLTYPE",
"SESSCOOKIE",
"SEVERITY",
"SHORTBALANCE",
"SHPERCTRCT",
"SIC",
"SIGNONREALM",
"SPACES",
@ -203,27 +276,49 @@ var ofxLeafElements = []string{
"SPNAME",
"SRVRTID",
"STATE",
"STOCKTYPE",
"STOPPRICE",
"STPCHKFEE",
"STRIKEPRICE",
"STSVIAMODS",
"SUBACCT",
"SUBACCTFROM",
"SUBACCTSEC",
"SUBACCTTO",
"SUBJECT",
"SUPTXDL",
"SVC",
"SVCSTATUS",
"SWITCHALL",
"SYNCMODE",
"TAN",
"TAXES",
"TAXEXEMPT",
"TAXID",
"TEMPPASS",
"TFERACTION",
"TICKER",
"TO",
"TOKEN",
"TOKENONLY",
"TOTAL",
"TOTALFEES",
"TOTALINT",
"TRANDNLD",
"TRANSPSEC",
"TRNAMT",
"TRNTYPE",
"TRNUID",
"TSKEYEXPIRE",
"TSPHONE",
"TYPEDESC",
"UNIQUEID",
"UNIQUEIDTYPE",
"UNITPRICE",
"UNITS",
"UNITSSTREET",
"UNITSUSER",
"UNITTYPE",
"URL",
"USEHTML",
"USERCRED1",
@ -233,11 +328,16 @@ var ofxLeafElements = []string{
"USERID",
"USERKEY",
"USERPASS",
"USPRODUCTTYPE",
"VALUE",
"VER",
"WITHHOLDING",
"XFERDAYSWITH",
"XFERDEST",
"XFERDFLTDAYSTOPAY",
"XFERPRCCODE",
"XFERSRC",
"YIELD",
"YIELDTOCALL",
"YIELDTOMAT",
}