propublica-nonprofit-explorer-sdk
Version:
SDK for ProPublica Nonprofit Explorer API
76 lines • 3.46 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.FilingSchema = void 0;
const zod_1 = require("zod");
exports.FilingSchema = zod_1.z.object({
ein: zod_1.z.number().optional(),
tax_prd: zod_1.z.number(),
tax_prd_yr: zod_1.z.number(),
formtype: zod_1.z.number(),
formtype_str: zod_1.z.string().optional(),
pdf_url: zod_1.z.string().nullable(),
updated: zod_1.z.coerce.date().optional(),
subseccd: zod_1.z.number().optional(),
totrevenue: zod_1.z.number().optional(),
totfuncexpns: zod_1.z.number().optional(),
totassetsend: zod_1.z.number().optional(),
totliabend: zod_1.z.number().optional(),
pct_compnsatncurrofcr: zod_1.z.number().optional(),
tax_pd: zod_1.z.string().nullable().optional(),
unrelbusinccd: zod_1.z.string().optional(),
initiationfees: zod_1.z.number().optional(),
grsrcptspublicuse: zod_1.z.number().optional(),
grsincmembers: zod_1.z.number().optional(),
grsincother: zod_1.z.number().optional(),
totcntrbgfts: zod_1.z.number().optional(),
totprgmrevnue: zod_1.z.number().optional(),
invstmntinc: zod_1.z.number().optional(),
txexmptbndsproceeds: zod_1.z.number().optional(),
royaltsinc: zod_1.z.number().optional(),
grsrntsreal: zod_1.z.number().optional(),
grsrntsprsnl: zod_1.z.number().optional(),
rntlexpnsreal: zod_1.z.number().optional(),
rntlexpnsprsnl: zod_1.z.number().optional(),
rntlincreal: zod_1.z.number().optional(),
rntlincprsnl: zod_1.z.number().optional(),
netrntlinc: zod_1.z.number().optional(),
grsalesecur: zod_1.z.number().optional(),
grsalesothr: zod_1.z.number().optional(),
cstbasisecur: zod_1.z.number().optional(),
cstbasisothr: zod_1.z.number().optional(),
gnlsecur: zod_1.z.number().optional(),
gnlsothr: zod_1.z.number().optional(),
netgnls: zod_1.z.number().optional(),
grsincfndrsng: zod_1.z.number().optional(),
lessdirfndrsng: zod_1.z.number().optional(),
netincfndrsng: zod_1.z.number().optional(),
grsincgaming: zod_1.z.number().optional(),
lessdirgaming: zod_1.z.number().optional(),
netincgaming: zod_1.z.number().optional(),
grsalesinvent: zod_1.z.number().optional(),
lesscstofgoods: zod_1.z.number().optional(),
netincsales: zod_1.z.number().optional(),
miscrevtot11e: zod_1.z.number().optional(),
compnsatncurrofcr: zod_1.z.number().optional(),
othrsalwages: zod_1.z.number().optional(),
payrolltx: zod_1.z.number().optional(),
profndraising: zod_1.z.number().optional(),
txexmptbndsend: zod_1.z.number().optional(),
secrdmrtgsend: zod_1.z.number().optional(),
unsecurednotesend: zod_1.z.number().optional(),
retainedearnend: zod_1.z.number().optional(),
totnetassetend: zod_1.z.number().optional(),
nonpfrea: zod_1.z.string().optional(),
gftgrntsrcvd170: zod_1.z.number().optional(),
txrevnuelevied170: zod_1.z.number().optional(),
srvcsval170: zod_1.z.number().optional(),
grsinc170: zod_1.z.number().optional(),
grsrcptsrelated170: zod_1.z.number().optional(),
totgftgrntrcvd509: zod_1.z.number().optional(),
grsrcptsadmissn509: zod_1.z.number().optional(),
txrevnuelevied509: zod_1.z.number().optional(),
srvcsval509: zod_1.z.number().optional(),
subtotsuppinc509: zod_1.z.number().optional(),
totsupp509: zod_1.z.number().optional(),
});
//# sourceMappingURL=filing.zod.js.map