Renamed and Reordered Status and Denial Reason Codes

Changes

  • No endpoint changes in this release.

Updated API definitions

  • The status_reason and denial_reason enums across multiple API models such as APIBorrower, APICreditLimit, APIInvoice, ApiBorrowerFinancialProduct, EligibilityDenialReason, LoanAPI, and MinimalLoanAPI have been extensively revised.
  • Key updates include:
    • Introduction of a new denial code: DEBT_ARREARS_PENDING_GRACE_PERIOD replacing the deprecated DEPRECATED_LATE_REPAYMENT.
    • The previous codes have been shifted down by one index, effectively renaming and reordering the status and denial reason enums.
    • A new <nil> value has been added to the enums for completeness.

These changes reflect enhanced classification of debt arrears in the system, aligning with the new debt arrears check and related business logic improvements described in the PR's summary.