Ignore hail damage claims.
This commit is contained in:
@@ -79,7 +79,13 @@ async function DecodeEstimate(filePath, includeFilePathInReturnJob = false) {
|
||||
returnValue = {
|
||||
ERROR: "Job ignored. This is an -02 claim. Claim #. " + job.CLM_NO,
|
||||
};
|
||||
} else if (job.LOSS_TYPE.toLowerCase() === "h") {
|
||||
log.info("Job ignored. This is a hail damage claim. " + job.CLM_NO);
|
||||
returnValue = {
|
||||
ERROR: "Job ignored. This is a hail damage claim. " + job.CLM_NO,
|
||||
};
|
||||
} else {
|
||||
delete job.LOSS_TYPE;
|
||||
returnValue = _.transform(job, function (result, val, key) {
|
||||
result[key.toLowerCase()] = val;
|
||||
});
|
||||
@@ -163,7 +169,7 @@ async function DecodeAd1File(extensionlessFilePath) {
|
||||
// "AGT_EA",
|
||||
// "AGT_LIC_NO",
|
||||
"LOSS_DATE",
|
||||
// "LOSS_TYPE",
|
||||
"LOSS_TYPE",
|
||||
// "LOSS_DESC",
|
||||
// "THEFT_IND",
|
||||
// "CAT_NO",
|
||||
|
||||
20
hasura/config.yaml.prod
Normal file
20
hasura/config.yaml.prod
Normal file
@@ -0,0 +1,20 @@
|
||||
version: 3
|
||||
endpoint: https://db.rps.imex.online
|
||||
admin_secret: Production-ImEXOnlineRPSDataBase
|
||||
api_paths:
|
||||
v1_query: v1/query
|
||||
v2_query: v2/query
|
||||
v1_metadata: v1/metadata
|
||||
graphql: v1/graphql
|
||||
config: v1alpha1/config
|
||||
pg_dump: v1alpha1/pg_dump
|
||||
version: v1/version
|
||||
metadata_directory: metadata
|
||||
migrations_directory: migrations
|
||||
seeds_directory: seeds
|
||||
actions:
|
||||
kind: synchronous
|
||||
handler_webhook_baseurl: http://localhost:3000
|
||||
codegen:
|
||||
framework: ""
|
||||
output_dir: ""
|
||||
Reference in New Issue
Block a user