Type Alias Stats

Stats: {
    conversion: string;
    createdInvoiceCount: number;
    endAt: Date;
    paidInvoiceCount: number;
    startAt: Date;
    uniqueUsersCount: number;
    volume: string;
}

Result type object for Client.getStats method

Type declaration

  • conversion: string

    Conversion of all created invoices

  • createdInvoiceCount: number

    Total created invoice count

  • endAt: Date

    The date on which the statistics calculation was ended

  • paidInvoiceCount: number

    Total paid invoice count

  • startAt: Date

    The date on which the statistics calculation was started

  • uniqueUsersCount: number

    The unique number of users who have paid the invoice

  • volume: string

    Total volume of paid invoices in USD