This commit is contained in:
Zeeshaun
2026-03-17 11:20:00 -05:00
parent 6e7edcfe1b
commit de9ddd5001
130 changed files with 268474 additions and 0 deletions
@@ -0,0 +1,33 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
<Version>1.3.0</Version>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Description>1.11.0 Add Ineligible status</Description>
<PackageReleaseNotes>1.0.0 Initial release as library
1.1.0 Remove CORS and Intellect
1.2.0 Add custom fields for Temenos Account
1.3.0 Add additional fields for retitle, date last paid, and date first delinquent
1.4.0 Add History object
1.5.0 Improve history object
1.6.0 Add Configuration object
1.7.0 Add repossession data
1.8.0 lookup repo type
1.9.0 Use new repo type field
1.9.1 correct skipclaim to skip
1.10.0 Return repo account type
1.11.0 Add Ineligible status</PackageReleaseNotes>
<RepositoryUrl>https://landmarkcu.visualstudio.com/Repo/_git/LCU.API.Collections.CollectionsApi</RepositoryUrl>
<RepositoryType>Git</RepositoryType>
<AssemblyVersion>1.11.0.0</AssemblyVersion>
<FileVersion>1.11.0.0</FileVersion>
<PackageVersion>1.11.0</PackageVersion>
<Title>Collections API Lib</Title>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Hosting.Abstractions" Version="2.2.0" />
</ItemGroup>
</Project>
@@ -0,0 +1,9 @@
namespace LCU.API.Collections.CollectionsApiLib.Models
{
public enum HistoryType
{
Comment,
Workflow,
Letter
}
}
@@ -0,0 +1,14 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace LCU.API.Collections.CollectionsApiLib.Models
{
public class LookupItem
{
public int Id { get; set; } // 5
public string Description { get; set; } // George Frick
public string Code { get; set; } // might be null here
public string Type { get; set; } // "USER"
}
}
@@ -0,0 +1,10 @@
namespace LCU.API.Collections.CollectionsApiLib.Models
{
public class RepoAccountType
{
public int Id { get; set; }
public string Description { get; set; }
public string Code { get; set; }
}
}
@@ -0,0 +1,11 @@
namespace LCU.API.Collections.CollectionsApiLib.Models
{
public class RepoCaseRepoType
{
public string Id { get; set; }
public string Description { get; set; }
public string CodeName { get; set; }
public RepoType RepoType { get; set; }
}
}
@@ -0,0 +1,12 @@
namespace LCU.API.Collections.CollectionsApiLib.Models
{
public class RepoCaseStage
{
public int Id { get; set; }
public string CodeShort { get; set; }
public string CodeName { get; set; }
public string MiscCode1 { get; set; }
public RepoStatus RepoStatus { get; set; }
}
}
@@ -0,0 +1,17 @@
namespace LCU.API.Collections.CollectionsApiLib.Models
{
public enum RepoStatus
{
O4R = 100,
REPO = 200,
RECA = 300,
REHO = 400,
REDEEMED = 500,
PSKP = 600,
SOLD = 700,
NOTACTIVE = 800,
UNKNOWN = 0,
INELIGIBLE = 999
}
}
@@ -0,0 +1,11 @@
namespace LCU.API.Collections.CollectionsApiLib.Models
{
public enum RepoType
{
Unknown,
Involuntary,
Voluntary,
PreSkip,
Skip
}
}
@@ -0,0 +1,36 @@
using System;
using System.Collections.Generic;
namespace LCU.API.Collections.CollectionsApiLib.Models
{
public class TemenosAccount
{
public int AccountId { get; set; }
public string AccountIdentifier { get; set; }
public string AccountNumber { get; set; }
public string AccountStatus { get; set; }
public int AccountTypeId { get; set; }
public RepoAccountType AccountType { get; set; }
public bool ActiveFlag { get; set; }
public decimal? AmountLastPaid { get; set; }
public decimal? Balance { get; set; }
public bool BankruptcyFlag { get; set; }
public string Branch { get; set; }
public DateTime? DueDate { get; set; }
public DateTime? FirstPaymentDueDate { get; set; }
public string LoanOfficer { get; set; }
public decimal? OriginalLoanAmount { get; set; }
public DateTime? OriginalLoanDate { get; set; }
public decimal? DQAmount { get; set; }
public int? DaysDq { get; set; }
public string Suffix { get; set; }
public string LinkedAccount { get; set; }
public string ProductType { get; set; }
public string ClosedDate { get; set; }
public string DateLastPaid { get; set; }
public string DateFirstDelinquent { get; set; }
public IReadOnlyCollection<TemenosCase> Cases { get; set; }
public Dictionary<string,string> CustomFieldMap { get; set; }
}
}
@@ -0,0 +1,41 @@
using System;
using System.Collections.Generic;
namespace LCU.API.Collections.CollectionsApiLib.Models
{
public class TemenosCase
{
public int CaseId { get; set; }
public string CaseNumber { get; set; }
public string CaseDescription { get; set; }
public int CaseStageId { get; set; }
public RepoStatus RepoStatus { get; set; }
public int CaseStatusId { get; set; }
public string CaseTitle { get; set; }
public int CaseTypeBasisId { get; set; }
public int CaseTypeId { get; set; }
public DateTime? ClosedDate { get; set; }
public DateTime CreatedDate { get; set; }
public int CreatedUserId { get; set; }
public DateTime? CurrentStageDate { get; set; }
public DateTime? CurrentStatusDate { get; set; }
public DateTime? LastReviewDate { get; set; }
public DateTime? NextReviewDate { get; set; }
public DateTime? Stage1CompletionDate { get; set; }
public DateTime? Stage2CompletionDate { get; set; }
public DateTime? Stage3CompletionDate { get; set; }
public DateTime? Stage4CompletionDate { get; set; }
public DateTime? Stage5CompletionDate { get; set; }
public bool TitleOrdered { get; set; }
public DateTime? TitleOrderedDate { get; set; }
public DateTime? RedemptionExpiredDateIl { get; set; }
public DateTime? RedemptionExpiredDateWi { get; set; }
public Dictionary<string,string> CustomFieldMap { get; set; }
public DateTime? DateRepossessed { get; set; }
public string RepoTypeId { get; set; }
public RepoType? RepoType { get; set; }
public DateTime? DateRepoAssigned { get; set; }
public string RepoAgentId { get; set; }
}
}
@@ -0,0 +1,16 @@
using System.Collections.Generic;
namespace LCU.API.Collections.CollectionsApiLib.Models
{
public class TemenosConfiguration
{
public IReadOnlyCollection<LookupItem> Users { get; set; }
public IReadOnlyCollection<LookupItem> RepoAgents { get; set; }
public IReadOnlyCollection<LookupItem> RepoTypes { get; set; }
public IReadOnlyCollection<LookupItem> CaseStages { get; set; }
public IReadOnlyCollection<LookupItem> AccountTypes { get; set; }
public IReadOnlyCollection<LookupItem> CaseTypes { get; set; }
public IReadOnlyCollection<string> AvailableLookups { get; set; }
}
}
@@ -0,0 +1,11 @@
namespace LCU.API.Collections.CollectionsApiLib.Models
{
public class TemenosHistory
{
public string Name { get; set; }
public string Message { get; set; }
public int UserId { get; set; }
public System.DateTime Created { get; set; }
public HistoryType Type { get; set; }
}
}
@@ -0,0 +1,12 @@
{
"profiles": {
"LCU.API.Collections.CollectionsApiLib": {
"commandName": "Project",
"launchBrowser": true,
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
},
"applicationUrl": "https://localhost:59394;http://localhost:59395"
}
}
}