This commit is contained in:
Zeeshaun
2026-03-17 09:53:09 -05:00
parent cdcba54aa4
commit 1a0702a79a
590 changed files with 62058 additions and 0 deletions
@@ -0,0 +1,12 @@
namespace LCU.API.Internal.Operations.IncentiveApi.Configuration;
public class ApiConfiguration
{
public string AppName { get; set; }
public string SeqUrl { get; set; }
public string SeqKey { get; set; }
public string[] CorsAllowedOrigins { get; set; }
public string IncentiveManagerClientUrl { get; set; }
public FeatureFlags FeatureFlags { get; set; }
public string ApplicationDbIntegrityCronSchedule { get; set; }
}
@@ -0,0 +1,41 @@
using System.ComponentModel.DataAnnotations.Schema;
namespace LCU.API.Internal.Operations.IncentiveApi.Configuration;
public class CoreApiWrapperConfiguration
{
public string Url { get; set; }
public string GetNewCheckingAccountActivityEndpoint { get; set; }
public string GetNewDigitalBankingCheckingAccountActivityEndpoint { get; set; }
public string GetNewATMCheckCardActivityEndpoint { get; set; }
public string GetNewActivityManagerReferralsActivityEndpoint { get; set; }
public string GetNewMortgageAccountActivityEndpoint { get; set; }
public string GetNewVehicleSaleActivityEndpoint { get; set; }
public string GetNewDPEligibleAccountsActivityEndpoint { get; set; }
public string QueryActivityManagerActivityEndpoint { get; set; }
public string GetAccountActivityAccountDetailsEndpoint { get; set; }
public string GetTransactionHistoryEndpoint { get; set; }
public string GetEStatementDeliveryMethodsEndpoint { get; set; }
[NotMapped]
public string GetNewCheckingAccountActivityUrl => Url + GetNewCheckingAccountActivityEndpoint;
[NotMapped]
public string GetNewDigitalBankingCheckingAccountActivityUrl => Url + GetNewDigitalBankingCheckingAccountActivityEndpoint;
[NotMapped]
public string GetNewATMCheckCardActivityUrl => Url + GetNewATMCheckCardActivityEndpoint;
[NotMapped]
public string GetNewActivityManagerReferralsActivityUrl => Url + GetNewActivityManagerReferralsActivityEndpoint;
[NotMapped]
public string GetNewMortgageAccountActivityUrl => Url + GetNewMortgageAccountActivityEndpoint;
[NotMapped]
public string GetNewVehicleSaleActivityUrl => Url + GetNewVehicleSaleActivityEndpoint;
[NotMapped]
public string GetNewDPEligibleAccountsActivityUrl => Url + GetNewDPEligibleAccountsActivityEndpoint;
[NotMapped]
public string QueryActivityManagerActivityUrl => Url + QueryActivityManagerActivityEndpoint;
[NotMapped]
public string GetAccountActivityAccountDetailsUrl => Url + GetAccountActivityAccountDetailsEndpoint;
[NotMapped]
public string GetTransactionHistoryUrl => Url + GetTransactionHistoryEndpoint;
[NotMapped]
public string GetEStatementDeliveryMethodsUrl => Url + GetEStatementDeliveryMethodsEndpoint;
}
@@ -0,0 +1,13 @@
namespace LCU.API.Internal.Operations.IncentiveApi.Configuration;
public class DayForceConfiguration
{
public string Url { get; set; }
public string DayForceClientName { get; set; }
public string DayForceApiVersion { get; set; }
public string DayForceUsername { get; set; }
public string DayForcePassword { get; set; }
public string DayForceActiveUserReport { get; set; }
public string DayForceTerminatedUserReport { get; set; }
public List<string> DayForceManualReportRecipients { get; set; }
}
@@ -0,0 +1,7 @@
namespace LCU.API.Internal.Operations.IncentiveApi.Configuration;
public class EmailRecipientsConfiguration
{
public List<string> TransferRequestInitiatedNotification { get; set; }
public bool OverrideRecipients { get; set; }
}
@@ -0,0 +1,18 @@
namespace LCU.API.Internal.Operations.IncentiveApi.Configuration;
public class FeatureFlags
{
public const string EnableControllers = "EnableControllers";
public bool RunImportCreditCardSalesConsumer { get; set; }
public bool RunImportIndirectVehicleSalesConsumer { get; set; }
public bool RunReportingProcessConsumer { get; set; }
public bool RunGoalDispersalProcessConsumer { get; set; }
public bool RunPayoutIncentiveProcessConsumer { get; set; }
public bool RunDayforceSyncProcessConsumer { get; set; }
public bool RunGapMbpProcessConsumer { get; set; }
public bool RunActionCreditCardProcessConsumer { get; set; }
public bool RunActionVehicleProcessConsumer { get; set; }
public bool RunIncentiveProcessesConsumer { get; set; }
public bool RunNightlyIncentiveProcessesConsumer { get; set; }
public bool RunApplicationDbIntegrityHostedService { get; set; }
}
@@ -0,0 +1,20 @@
using System.ComponentModel.DataAnnotations.Schema;
namespace LCU.API.Internal.Operations.IncentiveApi.Configuration;
public class FileOperationsApiConfiguration
{
public string Url { get; set; }
public string GetFileContentEndpoint { get; set; }
public string WriteFileEndpoint { get; set; }
public string BuildDynamicFileListEndpoint { get; set; }
public int RetryCount { get; set; }
[NotMapped]
public Uri GetFileContentUri => new Uri(Url + GetFileContentEndpoint);
[NotMapped]
public Uri BuildDynamicFileListUri => new Uri(Url + BuildDynamicFileListEndpoint);
[NotMapped]
public Uri WriteFileEndpointUri => new Uri(Url + WriteFileEndpoint);
[NotMapped]
public Uri BuildDynamicFileListEndpointUri => new Uri(Url + BuildDynamicFileListEndpoint);
}
@@ -0,0 +1,12 @@
using System.ComponentModel.DataAnnotations.Schema;
namespace LCU.API.Internal.Operations.IncentiveApi.Configuration;
public class NotificationApiConfiguration
{
public string Url { get; set; }
public string Email { get; set; }
public int RetryCount { get; set; }
[NotMapped]
public string EmailUrl => Url + Email;
}
@@ -0,0 +1,19 @@
using LCU.Library.Internal.LcuMassTransitModels;
namespace LCU.API.Internal.Operations.IncentiveApi.Configuration;
public class ReceiveEndpointConfigurations
{
public ReceiveEndpointConfiguration ImportCreditCardSalesEndpoint { get; set; }
public ReceiveEndpointConfiguration ImportIndirectVehicleSalesEndpoint { get; set; }
public ReceiveEndpointConfiguration ReportingProcessEndpoint { get; set; }
public ReceiveEndpointConfiguration GoalDispersalProcessEndpoint { get; set; }
public ReceiveEndpointConfiguration PayoutIncentiveProcessEndpoint { get; set; }
public ReceiveEndpointConfiguration DayforceSyncProcessEndpoint { get; set; }
public ReceiveEndpointConfiguration GapMbpProcessEndpoint { get; set; }
public ReceiveEndpointConfiguration ActionCreditCardProcessEndpoint { get; set; }
public ReceiveEndpointConfiguration ActionVehicleProcessEndpoint { get; set; }
public ReceiveEndpointConfiguration IncentiveProcessesEndpoint { get; set; }
public ReceiveEndpointConfiguration NightlyIncentiveProcessesEndpoint { get; set; }
}
@@ -0,0 +1,8 @@
using LCU.API.Internal.Operations.IncentiveApi.Models;
namespace LCU.API.Internal.Operations.IncentiveApi.Configuration;
public class ReportConfiguration
{
public List<ReportSettings> ReportConfigs { get; set; }
}
@@ -0,0 +1,8 @@
namespace LCU.API.Internal.Operations.IncentiveApi.Configuration;
public class SqlConnectionConfiguration
{
public string ConnectionString { get; set; }
public int MaxRetryCount { get; set; }
public TimeSpan MaxRetryDelay { get; set; }
}