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