Interface Bill

interface Bill {
    actions: ListLink;
    amendments: ListLink;
    cboCostEstimates?: CostEstimate[];
    committeeReports?: ItemLink[];
    committees: ListLink;
    congress: number;
    constitutionalAuthorityStatementText?: string;
    cosponsors?: ListLink & {
        countIncludingWithdrawnCosponsors: number;
    };
    introducedDate?: string;
    latestAction?: Record<"text" | "actionDate", string>;
    laws?: Record<"number" | "type", string>[];
    number: string;
    originChamber: string;
    originChamberCode: string;
    policyArea?: {
        name: string;
    };
    relatedBills: ListLink;
    sponsors?: Sponsor[];
    subjects: ListLink;
    summaries: ListLink;
    textVersions: ListLink;
    title: string;
    titles: ListLink;
    type:
        | "s"
        | "hres"
        | "hjres"
        | "hconres"
        | "sres"
        | "sjres"
        | "sconres"
        | "hr";
    updateDate: string;
    updateDateIncludingText: string;
    url?: string;
}

Hierarchy (view full)

  • Base
  • Record<
        | "number"
        | "title"
        | `originChamber${"" | "Code"}`
        | "updateDateIncludingText", string>
  • Partial<BillRelations>
    • Bill

Properties

actions: ListLink
amendments: ListLink
cboCostEstimates?: CostEstimate[]
committeeReports?: ItemLink[]
committees: ListLink
congress: number
constitutionalAuthorityStatementText?: string
cosponsors?: ListLink & {
    countIncludingWithdrawnCosponsors: number;
}
introducedDate?: string
latestAction?: Record<"text" | "actionDate", string>
laws?: Record<"number" | "type", string>[]
number: string
originChamber: string
originChamberCode: string
policyArea?: {
    name: string;
}
relatedBills: ListLink
sponsors?: Sponsor[]
subjects: ListLink
summaries: ListLink
textVersions: ListLink
title: string
titles: ListLink
type:
    | "s"
    | "hres"
    | "hjres"
    | "hconres"
    | "sres"
    | "sjres"
    | "sconres"
    | "hr"
updateDate: string
updateDateIncludingText: string
url?: string