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

    Hierarchy (View Summary)

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

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

    • Parameters

      • __namedParameters: { id: string }

      Returns Promise<
          | Omit<
              {
                  addenda: string
                  | null;
                  amount: string;
                  bankAccountExternalId: string;
                  bankAccountId: number;
                  bankId: string;
                  companyDiscretionaryData: string | null;
                  companyId: string | null;
                  companyName: string | null;
                  createdAt: Date;
                  customerExternalId: string | null;
                  customerId: number | null;
                  decidedAt: Date | null;
                  decidedBy: string | null;
                  decidedByAdminUserId: string | null;
                  decisionSource: "ADMIN" | "DEFAULT" | "UNFUNDED" | null;
                  effectiveEntryDate: string | null;
                  entryDescription: string | null;
                  externalAccountNumber: string | null;
                  externalId: string;
                  fileExternalId: string | null;
                  fileId: number | null;
                  id: number;
                  identityExternalId: string | null;
                  identityId: number | null;
                  individualId: string | null;
                  ledgerAccountExternalId: string | null;
                  ledgerAccountId: number | null;
                  mismatchAt: Date | null;
                  organizationExternalId: string | null;
                  organizationId: number | null;
                  originatingAba: string | null;
                  originatorName: string | null;
                  postedOn: string;
                  presentedOn: string;
                  receiverName: string | null;
                  requestedAt: Date | null;
                  requestedDecision: "APPROVE" | "DENY" | null;
                  secCode: string | null;
                  settledAt: Date | null;
                  status: "PENDING" | "APPROVED" | "DENIED";
                  submittedAt: Date | null;
                  traceNumber: string | null;
                  transactionCode: string | null;
                  updatedAt: Date;
                  victorTraceId: string | null;
                  victorTransactionId: string;
                  virtualAccountExternalId: string | null;
                  virtualAccountId: number | null;
                  withdrawalExternalId: string | null;
                  withdrawalId: number | null;
              },
              | "id"
              | "externalId"
              | "organizationId"
              | "customerId"
              | "customerExternalId"
              | "identityId"
              | "identityExternalId"
              | "organizationExternalId"
              | "ledgerAccountId"
              | "ledgerAccountExternalId"
              | "bankAccountId"
              | "bankAccountExternalId"
              | "amount"
              | "withdrawalId"
              | "withdrawalExternalId"
              | "virtualAccountId"
              | "virtualAccountExternalId"
              | "fileId"
              | "fileExternalId",
          > & {
              amount: BigNumber;
              decisionDeadline: Date;
              entityId: string
              | null;
              fileId: string | null;
              id: string;
              identityId: string | null;
              ledgerAccountId: string | null;
              organizationId: string | null;
              statusDescription: string;
              victorAccountId: string;
              victorAccountName: string;
              virtualAccountId: string | null;
              withdrawalId: string | null;
          } & { customerId: string
          | null }
          | null,
      >

    • Parameters

      • __namedParameters: PositivePayDecisionSearchFilters & { customerIds?: string[] } = {}

      Returns Promise<
          {
              ok: true;
              value: {
                  hasNext: boolean;
                  items: (
                      Omit<
                          {
                              addenda: string
                              | null;
                              amount: string;
                              bankAccountExternalId: string;
                              bankAccountId: number;
                              bankId: string;
                              companyDiscretionaryData: string | null;
                              companyId: string | null;
                              companyName: string | null;
                              createdAt: Date;
                              customerExternalId: string | null;
                              customerId: number | null;
                              decidedAt: Date | null;
                              decidedBy: string | null;
                              decidedByAdminUserId: string | null;
                              decisionSource: "ADMIN" | "DEFAULT" | "UNFUNDED" | null;
                              effectiveEntryDate: string | null;
                              entryDescription: string | null;
                              externalAccountNumber: string | null;
                              externalId: string;
                              fileExternalId: string | null;
                              fileId: number | null;
                              id: number;
                              identityExternalId: string | null;
                              identityId: number | null;
                              individualId: string | null;
                              ledgerAccountExternalId: string | null;
                              ledgerAccountId: number | null;
                              mismatchAt: Date | null;
                              organizationExternalId: string | null;
                              organizationId: number | null;
                              originatingAba: string | null;
                              originatorName: string | null;
                              postedOn: string;
                              presentedOn: string;
                              receiverName: string | null;
                              requestedAt: Date | null;
                              requestedDecision: "APPROVE" | "DENY" | null;
                              secCode: string | null;
                              settledAt: Date | null;
                              status: "PENDING" | "APPROVED" | "DENIED";
                              submittedAt: Date | null;
                              traceNumber: string | null;
                              transactionCode: string | null;
                              updatedAt: Date;
                              victorTraceId: string | null;
                              victorTransactionId: string;
                              virtualAccountExternalId: string | null;
                              virtualAccountId: number | null;
                              withdrawalExternalId: string | null;
                              withdrawalId: number | null;
                          },
                          | "id"
                          | "externalId"
                          | "organizationId"
                          | "customerId"
                          | "customerExternalId"
                          | "identityId"
                          | "identityExternalId"
                          | "organizationExternalId"
                          | "ledgerAccountId"
                          | "ledgerAccountExternalId"
                          | "bankAccountId"
                          | "bankAccountExternalId"
                          | "amount"
                          | "withdrawalId"
                          | "withdrawalExternalId"
                          | "virtualAccountId"
                          | "virtualAccountExternalId"
                          | "fileId"
                          | "fileExternalId",
                      > & {
                          amount: BigNumber;
                          decisionDeadline: Date;
                          entityId: string
                          | null;
                          fileId: string | null;
                          id: string;
                          identityId: string | null;
                          ledgerAccountId: string | null;
                          organizationId: string | null;
                          statusDescription: string;
                          victorAccountId: string;
                          victorAccountName: string;
                          virtualAccountId: string | null;
                          withdrawalId: string | null;
                      } & { customerId: string
                      | null }
                  )[];
                  total: number;
              };
          },
      >