@finsys/core 1.5.0 → 1.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -42,6 +42,7 @@ __export(index_exports, {
42
42
  FormFieldValidator: () => FormFieldValidator,
43
43
  FormSpec: () => FormSpec,
44
44
  IhsValueFormat: () => IhsValueFormat,
45
+ Role: () => Role,
45
46
  applyDynamicTitles: () => applyDynamicTitles,
46
47
  buildFileFieldTables: () => buildFileFieldTables,
47
48
  evaluateExpression: () => evaluateExpression,
@@ -9390,6 +9391,7 @@ var FIELD_GROUP_PREFIXES = [
9390
9391
  ["financials", "financials"],
9391
9392
  ["epf_statement", "epf_statements"],
9392
9393
  ["payslip_statement", "payslip_statements"],
9394
+ ["ssm_business_information", "ssm_company_profile"],
9393
9395
  ["ssm", "ssm_documents"],
9394
9396
  ["ic_", "ic_documents"]
9395
9397
  ];
@@ -9414,7 +9416,8 @@ var GROUP_DISPLAY_NAMES = {
9414
9416
  financials: "Audited Financial Statements",
9415
9417
  epf_statements: "EPF Statements",
9416
9418
  payslip_statements: "Payslip Statements",
9417
- ssm_documents: "SSM Company Information",
9419
+ ssm_documents: "Form 9 / Section 17 / Form D",
9420
+ ssm_company_profile: "SSM Company Profile",
9418
9421
  ic_documents: "Identification Card"
9419
9422
  };
9420
9423
  function isNumericField(fieldName) {
@@ -9606,6 +9609,14 @@ function groupDetailsByCategory(details) {
9606
9609
  }))
9607
9610
  }));
9608
9611
  }
9612
+
9613
+ // src/roles.ts
9614
+ var Role = /* @__PURE__ */ ((Role2) => {
9615
+ Role2["ADMIN"] = "Admin";
9616
+ Role2["BORROWER_AGENT"] = "Borrower Agent";
9617
+ Role2["LENDER_AGENT"] = "Lender Agent";
9618
+ return Role2;
9619
+ })(Role || {});
9609
9620
  // Annotate the CommonJS export names for ESM import in node:
9610
9621
  0 && (module.exports = {
9611
9622
  BASE_FIELD_SPECS,
@@ -9620,6 +9631,7 @@ function groupDetailsByCategory(details) {
9620
9631
  FormFieldValidator,
9621
9632
  FormSpec,
9622
9633
  IhsValueFormat,
9634
+ Role,
9623
9635
  applyDynamicTitles,
9624
9636
  buildFileFieldTables,
9625
9637
  evaluateExpression,