@cfxlabsinc/b2b-services
    Preparing search index...

    Class RecurringFeeInvoiceAdminQueryService

    Read side, so a reader such as the email lambda needs only a database.

    Hierarchy (View Summary)

    Index
    db: B2bDatabase
    instance: (...args: []) => RecurringFeeInvoiceAdminQueryService = ...

    The process default: built from each dependency's own instance().

    • Parameters

      • __namedParameters: {
            customerIds?: string[];
            escalated?: boolean;
            ids?: string[];
            page?: number;
            pageSize?: number;
            paid?: boolean;
            periodKeys?: string[];
            voided?: boolean;
            waived?: boolean;
        }
        • OptionalcustomerIds?: string[]
        • Optionalescalated?: boolean

          Omit for both; true keeps only invoices escalated to ops.

        • Optionalids?: string[]
        • Optionalpage?: number
        • OptionalpageSize?: number
        • Optionalpaid?: boolean

          Omit for both; false keeps only months with no COMPLETED charge.

        • OptionalperiodKeys?: string[]
        • Optionalvoided?: boolean

          Omit for both; false keeps only the live invoice of each month.

        • Optionalwaived?: boolean

          Omit for both; false drops waived invoices.

      Returns Promise<
          {
              ok: true;
              value: { hasNext: boolean; items: RecurringFeeInvoice[]; total: number };
          },
      >