@llm-dev-ops/agentics-cli 1.4.87 → 1.4.89

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.
Files changed (105) hide show
  1. package/dist/__tests__/api_gateway.test.d.ts +1 -0
  2. package/dist/__tests__/api_gateway.test.js +50 -0
  3. package/dist/__tests__/domain_enterprise_solution.test.d.ts +1 -0
  4. package/dist/__tests__/domain_enterprise_solution.test.js +50 -0
  5. package/dist/__tests__/health.test.d.ts +1 -0
  6. package/dist/__tests__/health.test.js +19 -0
  7. package/dist/__tests__/monitoring_alerts.test.d.ts +1 -0
  8. package/dist/__tests__/monitoring_alerts.test.js +50 -0
  9. package/dist/__tests__/ongoing_regular_stakeholder.test.d.ts +1 -0
  10. package/dist/__tests__/ongoing_regular_stakeholder.test.js +50 -0
  11. package/dist/__tests__/re_evaluate_risk.test.d.ts +1 -0
  12. package/dist/__tests__/re_evaluate_risk.test.js +50 -0
  13. package/dist/__tests__/recommendation.test.d.ts +1 -0
  14. package/dist/__tests__/recommendation.test.js +50 -0
  15. package/dist/__tests__/risk_mitigation_plan.test.d.ts +1 -0
  16. package/dist/__tests__/risk_mitigation_plan.test.js +50 -0
  17. package/dist/__tests__/scoped_pilot_reduce.test.d.ts +1 -0
  18. package/dist/__tests__/scoped_pilot_reduce.test.js +50 -0
  19. package/dist/__tests__/target_enterprise_system.test.d.ts +1 -0
  20. package/dist/__tests__/target_enterprise_system.test.js +50 -0
  21. package/dist/__tests__/underwriting.test.d.ts +1 -0
  22. package/dist/__tests__/underwriting.test.js +50 -0
  23. package/dist/api-gateway/infra/api-gateway-adapter.d.ts +27 -0
  24. package/dist/api-gateway/infra/api-gateway-adapter.js +54 -0
  25. package/dist/api-gateway/ports/api-gateway.d.ts +26 -0
  26. package/dist/api-gateway/ports/api-gateway.js +2 -0
  27. package/dist/contracts/contract-validation.d.ts +11 -0
  28. package/dist/contracts/contract-validation.js +21 -0
  29. package/dist/domain-enterprise-solution/infra/api-gateway-seam-adapter.d.ts +21 -0
  30. package/dist/domain-enterprise-solution/infra/api-gateway-seam-adapter.js +42 -0
  31. package/dist/domain-enterprise-solution/infra/domain-enterprise-solution-adapter.d.ts +25 -0
  32. package/dist/domain-enterprise-solution/infra/domain-enterprise-solution-adapter.js +47 -0
  33. package/dist/domain-enterprise-solution/ports/api-gateway-seam.d.ts +20 -0
  34. package/dist/domain-enterprise-solution/ports/api-gateway-seam.js +2 -0
  35. package/dist/domain-enterprise-solution/ports/domain-enterprise-solution.d.ts +24 -0
  36. package/dist/domain-enterprise-solution/ports/domain-enterprise-solution.js +2 -0
  37. package/dist/enterprise/index.d.ts +15 -0
  38. package/dist/enterprise/index.js +16 -0
  39. package/dist/erp-client/client.d.ts +42 -0
  40. package/dist/erp-client/client.js +235 -0
  41. package/dist/erp-client/mapper.d.ts +9 -0
  42. package/dist/erp-client/mapper.js +116 -0
  43. package/dist/erp-client/retry.d.ts +17 -0
  44. package/dist/erp-client/retry.js +74 -0
  45. package/dist/erp-client/types.d.ts +155 -0
  46. package/dist/erp-client/types.js +2 -0
  47. package/dist/infra/clients.d.ts +27 -0
  48. package/dist/infra/clients.js +16 -0
  49. package/dist/infra/connection-pool.d.ts +16 -0
  50. package/dist/infra/connection-pool.js +13 -0
  51. package/dist/infra/iam-helper.d.ts +1 -0
  52. package/dist/infra/iam-helper.js +138 -0
  53. package/dist/infra/telemetry.d.ts +26 -0
  54. package/dist/infra/telemetry.js +39 -0
  55. package/dist/monitoring-alerts/infra/monitoring-alerts-adapter.d.ts +25 -0
  56. package/dist/monitoring-alerts/infra/monitoring-alerts-adapter.js +47 -0
  57. package/dist/monitoring-alerts/ports/monitoring-alerts.d.ts +24 -0
  58. package/dist/monitoring-alerts/ports/monitoring-alerts.js +2 -0
  59. package/dist/ongoing-regular-stakeholder/infra/ongoing-regular-stakeholder-adapter.d.ts +25 -0
  60. package/dist/ongoing-regular-stakeholder/infra/ongoing-regular-stakeholder-adapter.js +47 -0
  61. package/dist/ongoing-regular-stakeholder/ports/ongoing-regular-stakeholder.d.ts +24 -0
  62. package/dist/ongoing-regular-stakeholder/ports/ongoing-regular-stakeholder.js +2 -0
  63. package/dist/pipeline/phase2/phase2-coordinator.d.ts.map +1 -1
  64. package/dist/pipeline/phase2/phase2-coordinator.js +7 -3
  65. package/dist/pipeline/phase2/phase2-coordinator.js.map +1 -1
  66. package/dist/pipeline/ruflo-phase-executor.js +1 -1
  67. package/dist/pipeline/ruflo-phase-executor.js.map +1 -1
  68. package/dist/re-evaluate-risk/infra/re-evaluate-risk-adapter.d.ts +25 -0
  69. package/dist/re-evaluate-risk/infra/re-evaluate-risk-adapter.js +47 -0
  70. package/dist/re-evaluate-risk/ports/re-evaluate-risk.d.ts +24 -0
  71. package/dist/re-evaluate-risk/ports/re-evaluate-risk.js +2 -0
  72. package/dist/recommendation/infra/recommendation-adapter.d.ts +25 -0
  73. package/dist/recommendation/infra/recommendation-adapter.js +47 -0
  74. package/dist/recommendation/ports/recommendation.d.ts +24 -0
  75. package/dist/recommendation/ports/recommendation.js +2 -0
  76. package/dist/risk-mitigation-plan/infra/risk-mitigation-plan-adapter.d.ts +25 -0
  77. package/dist/risk-mitigation-plan/infra/risk-mitigation-plan-adapter.js +47 -0
  78. package/dist/risk-mitigation-plan/ports/risk-mitigation-plan.d.ts +24 -0
  79. package/dist/risk-mitigation-plan/ports/risk-mitigation-plan.js +2 -0
  80. package/dist/scoped-pilot-reduce/infra/scoped-pilot-reduce-adapter.d.ts +25 -0
  81. package/dist/scoped-pilot-reduce/infra/scoped-pilot-reduce-adapter.js +47 -0
  82. package/dist/scoped-pilot-reduce/ports/scoped-pilot-reduce.d.ts +24 -0
  83. package/dist/scoped-pilot-reduce/ports/scoped-pilot-reduce.js +2 -0
  84. package/dist/server/dependencies.d.ts +178 -0
  85. package/dist/server/dependencies.js +321 -0
  86. package/dist/server/health.d.ts +2 -0
  87. package/dist/server/health.js +9 -0
  88. package/dist/server/main.d.ts +1 -0
  89. package/dist/server/main.js +21 -0
  90. package/dist/server/middleware.d.ts +4 -0
  91. package/dist/server/middleware.js +106 -0
  92. package/dist/server/routes.d.ts +5 -0
  93. package/dist/server/routes.js +1100 -0
  94. package/dist/server/schemas.d.ts +217 -0
  95. package/dist/server/schemas.js +185 -0
  96. package/dist/target-enterprise-system/infra/target-enterprise-system-adapter.d.ts +25 -0
  97. package/dist/target-enterprise-system/infra/target-enterprise-system-adapter.js +47 -0
  98. package/dist/target-enterprise-system/ports/target-enterprise-system.d.ts +24 -0
  99. package/dist/target-enterprise-system/ports/target-enterprise-system.js +2 -0
  100. package/dist/underwriting/infra/underwriting-adapter.d.ts +25 -0
  101. package/dist/underwriting/infra/underwriting-adapter.js +47 -0
  102. package/dist/underwriting/ports/underwriting.d.ts +24 -0
  103. package/dist/underwriting/ports/underwriting.js +2 -0
  104. package/docs/ecosystem.graph.json +295 -214
  105. package/package.json +1 -1
@@ -0,0 +1,2 @@
1
+ // Generated by Phase 4 pipeline — do not edit manually
2
+ export {};
@@ -0,0 +1,25 @@
1
+ import type { RecommendationPort, RecommendationInput, Recommendation } from '../ports/recommendation.js';
2
+ import type { Telemetry } from '../../infra/telemetry.js';
3
+ import type { DbClient, ErpClient } from '../../infra/clients.js';
4
+ /**
5
+ * Infrastructure adapter: RecommendationAdapter
6
+ * Bounded context: recommendation
7
+ * ERP system: infor
8
+ *
9
+ * Bridges the RecommendationPort port to the infor ERP system
10
+ * and the underlying database client.
11
+ */
12
+ export declare class RecommendationAdapter implements RecommendationPort {
13
+ private readonly db;
14
+ private readonly erp;
15
+ private readonly telemetry;
16
+ constructor(db: DbClient, erp: ErpClient, telemetry: Telemetry);
17
+ /** Creates or updates recommendation record */
18
+ manageRecommendation(input: RecommendationInput): Promise<Recommendation>;
19
+ /** Creates or updates recommendation record */
20
+ queryRecommendation(input: RecommendationInput): Promise<Recommendation>;
21
+ /** Returns recommendation data */
22
+ listRecommendation(input: Record<string, unknown>): Promise<Recommendation[]>;
23
+ /** Returns recommendation data */
24
+ id(input: Record<string, unknown>): Promise<Recommendation[]>;
25
+ }
@@ -0,0 +1,47 @@
1
+ // Generated by Phase 4 pipeline — do not edit manually
2
+ /**
3
+ * Infrastructure adapter: RecommendationAdapter
4
+ * Bounded context: recommendation
5
+ * ERP system: infor
6
+ *
7
+ * Bridges the RecommendationPort port to the infor ERP system
8
+ * and the underlying database client.
9
+ */
10
+ export class RecommendationAdapter {
11
+ db;
12
+ erp;
13
+ telemetry;
14
+ constructor(db, erp, telemetry) {
15
+ this.db = db;
16
+ this.erp = erp;
17
+ this.telemetry = telemetry;
18
+ }
19
+ /** Creates or updates recommendation record */
20
+ async manageRecommendation(input) {
21
+ return this.telemetry.withSpan('recommendation', 'manageRecommendation', {}, async () => {
22
+ const result = await this.erp.invoke('manageRecommendation', input);
23
+ return result;
24
+ });
25
+ }
26
+ /** Creates or updates recommendation record */
27
+ async queryRecommendation(input) {
28
+ return this.telemetry.withSpan('recommendation', 'queryRecommendation', {}, async () => {
29
+ const rows = await this.db.query('SELECT * FROM recommendation WHERE 1=1', []);
30
+ return rows;
31
+ });
32
+ }
33
+ /** Returns recommendation data */
34
+ async listRecommendation(input) {
35
+ return this.telemetry.withSpan('recommendation', 'listRecommendation', {}, async () => {
36
+ const rows = await this.db.query('SELECT * FROM recommendation WHERE 1=1', []);
37
+ return rows;
38
+ });
39
+ }
40
+ /** Returns recommendation data */
41
+ async id(input) {
42
+ return this.telemetry.withSpan('recommendation', 'id', {}, async () => {
43
+ const result = await this.erp.invoke('id', input);
44
+ return result;
45
+ });
46
+ }
47
+ }
@@ -0,0 +1,24 @@
1
+ /**
2
+ * Port interface for bounded context: recommendation
3
+ */
4
+ export interface RecommendationInput {
5
+ readonly id: string;
6
+ readonly recommendation_id: string;
7
+ }
8
+ export interface Recommendation {
9
+ readonly id: string;
10
+ readonly created_at: string;
11
+ readonly updated_at: string;
12
+ readonly status: 'active' | 'inactive' | 'pending' | 'completed' | 'error';
13
+ readonly recommendation_id: string;
14
+ }
15
+ export interface RecommendationPort {
16
+ /** Creates or updates recommendation record */
17
+ manageRecommendation(input: RecommendationInput): Promise<Recommendation>;
18
+ /** Creates or updates recommendation record */
19
+ queryRecommendation(input: RecommendationInput): Promise<Recommendation>;
20
+ /** Returns recommendation data */
21
+ listRecommendation(input: Record<string, unknown>): Promise<Recommendation[]>;
22
+ /** Returns recommendation data */
23
+ id(input: Record<string, unknown>): Promise<Recommendation[]>;
24
+ }
@@ -0,0 +1,2 @@
1
+ // Generated by Phase 4 pipeline — do not edit manually
2
+ export {};
@@ -0,0 +1,25 @@
1
+ import type { RiskMitigationPlanPort, RiskMitigationPlanInput, RiskMitigationPlan } from '../ports/risk-mitigation-plan.js';
2
+ import type { Telemetry } from '../../infra/telemetry.js';
3
+ import type { DbClient, ErpClient } from '../../infra/clients.js';
4
+ /**
5
+ * Infrastructure adapter: RiskMitigationPlanAdapter
6
+ * Bounded context: risk-mitigation-plan
7
+ * ERP system: infor
8
+ *
9
+ * Bridges the RiskMitigationPlanPort port to the infor ERP system
10
+ * and the underlying database client.
11
+ */
12
+ export declare class RiskMitigationPlanAdapter implements RiskMitigationPlanPort {
13
+ private readonly db;
14
+ private readonly erp;
15
+ private readonly telemetry;
16
+ constructor(db: DbClient, erp: ErpClient, telemetry: Telemetry);
17
+ /** Creates or updates risk-mitigation-plan record */
18
+ manageRiskMitigation(input: RiskMitigationPlanInput): Promise<RiskMitigationPlan>;
19
+ /** Creates or updates risk-mitigation-plan record */
20
+ queryRiskMitigation(input: RiskMitigationPlanInput): Promise<RiskMitigationPlan>;
21
+ /** Returns risk-mitigation-plan data */
22
+ listRiskMitigationPlan(input: Record<string, unknown>): Promise<RiskMitigationPlan[]>;
23
+ /** Returns risk-mitigation-plan data */
24
+ id(input: Record<string, unknown>): Promise<RiskMitigationPlan[]>;
25
+ }
@@ -0,0 +1,47 @@
1
+ // Generated by Phase 4 pipeline — do not edit manually
2
+ /**
3
+ * Infrastructure adapter: RiskMitigationPlanAdapter
4
+ * Bounded context: risk-mitigation-plan
5
+ * ERP system: infor
6
+ *
7
+ * Bridges the RiskMitigationPlanPort port to the infor ERP system
8
+ * and the underlying database client.
9
+ */
10
+ export class RiskMitigationPlanAdapter {
11
+ db;
12
+ erp;
13
+ telemetry;
14
+ constructor(db, erp, telemetry) {
15
+ this.db = db;
16
+ this.erp = erp;
17
+ this.telemetry = telemetry;
18
+ }
19
+ /** Creates or updates risk-mitigation-plan record */
20
+ async manageRiskMitigation(input) {
21
+ return this.telemetry.withSpan('risk_mitigation_plan', 'manageRiskMitigation', {}, async () => {
22
+ const result = await this.erp.invoke('manageRiskMitigation', input);
23
+ return result;
24
+ });
25
+ }
26
+ /** Creates or updates risk-mitigation-plan record */
27
+ async queryRiskMitigation(input) {
28
+ return this.telemetry.withSpan('risk_mitigation_plan', 'queryRiskMitigation', {}, async () => {
29
+ const rows = await this.db.query('SELECT * FROM risk_mitigation_plan WHERE 1=1', []);
30
+ return rows;
31
+ });
32
+ }
33
+ /** Returns risk-mitigation-plan data */
34
+ async listRiskMitigationPlan(input) {
35
+ return this.telemetry.withSpan('risk_mitigation_plan', 'listRiskMitigationPlan', {}, async () => {
36
+ const rows = await this.db.query('SELECT * FROM risk_mitigation_plan WHERE 1=1', []);
37
+ return rows;
38
+ });
39
+ }
40
+ /** Returns risk-mitigation-plan data */
41
+ async id(input) {
42
+ return this.telemetry.withSpan('risk_mitigation_plan', 'id', {}, async () => {
43
+ const result = await this.erp.invoke('id', input);
44
+ return result;
45
+ });
46
+ }
47
+ }
@@ -0,0 +1,24 @@
1
+ /**
2
+ * Port interface for bounded context: risk-mitigation-plan
3
+ */
4
+ export interface RiskMitigationPlanInput {
5
+ readonly id: string;
6
+ readonly risk_mitigation_plan_id: string;
7
+ }
8
+ export interface RiskMitigationPlan {
9
+ readonly id: string;
10
+ readonly created_at: string;
11
+ readonly updated_at: string;
12
+ readonly status: 'active' | 'inactive' | 'pending' | 'completed' | 'error';
13
+ readonly risk_mitigation_plan_id: string;
14
+ }
15
+ export interface RiskMitigationPlanPort {
16
+ /** Creates or updates risk-mitigation-plan record */
17
+ manageRiskMitigation(input: RiskMitigationPlanInput): Promise<RiskMitigationPlan>;
18
+ /** Creates or updates risk-mitigation-plan record */
19
+ queryRiskMitigation(input: RiskMitigationPlanInput): Promise<RiskMitigationPlan>;
20
+ /** Returns risk-mitigation-plan data */
21
+ listRiskMitigationPlan(input: Record<string, unknown>): Promise<RiskMitigationPlan[]>;
22
+ /** Returns risk-mitigation-plan data */
23
+ id(input: Record<string, unknown>): Promise<RiskMitigationPlan[]>;
24
+ }
@@ -0,0 +1,2 @@
1
+ // Generated by Phase 4 pipeline — do not edit manually
2
+ export {};
@@ -0,0 +1,25 @@
1
+ import type { ScopedPilotReducePort, ScopedPilotReduceInput, ScopedPilotReduce } from '../ports/scoped-pilot-reduce.js';
2
+ import type { Telemetry } from '../../infra/telemetry.js';
3
+ import type { DbClient, ErpClient } from '../../infra/clients.js';
4
+ /**
5
+ * Infrastructure adapter: ScopedPilotReduceAdapter
6
+ * Bounded context: scoped-pilot-reduce
7
+ * ERP system: infor
8
+ *
9
+ * Bridges the ScopedPilotReducePort port to the infor ERP system
10
+ * and the underlying database client.
11
+ */
12
+ export declare class ScopedPilotReduceAdapter implements ScopedPilotReducePort {
13
+ private readonly db;
14
+ private readonly erp;
15
+ private readonly telemetry;
16
+ constructor(db: DbClient, erp: ErpClient, telemetry: Telemetry);
17
+ /** Creates or updates scoped-pilot-reduce record */
18
+ manageScopedPilot(input: ScopedPilotReduceInput): Promise<ScopedPilotReduce>;
19
+ /** Creates or updates scoped-pilot-reduce record */
20
+ queryScopedPilot(input: ScopedPilotReduceInput): Promise<ScopedPilotReduce>;
21
+ /** Returns scoped-pilot-reduce data */
22
+ listScopedPilotReduce(input: Record<string, unknown>): Promise<ScopedPilotReduce[]>;
23
+ /** Returns scoped-pilot-reduce data */
24
+ id(input: Record<string, unknown>): Promise<ScopedPilotReduce[]>;
25
+ }
@@ -0,0 +1,47 @@
1
+ // Generated by Phase 4 pipeline — do not edit manually
2
+ /**
3
+ * Infrastructure adapter: ScopedPilotReduceAdapter
4
+ * Bounded context: scoped-pilot-reduce
5
+ * ERP system: infor
6
+ *
7
+ * Bridges the ScopedPilotReducePort port to the infor ERP system
8
+ * and the underlying database client.
9
+ */
10
+ export class ScopedPilotReduceAdapter {
11
+ db;
12
+ erp;
13
+ telemetry;
14
+ constructor(db, erp, telemetry) {
15
+ this.db = db;
16
+ this.erp = erp;
17
+ this.telemetry = telemetry;
18
+ }
19
+ /** Creates or updates scoped-pilot-reduce record */
20
+ async manageScopedPilot(input) {
21
+ return this.telemetry.withSpan('scoped_pilot_reduce', 'manageScopedPilot', {}, async () => {
22
+ const result = await this.erp.invoke('manageScopedPilot', input);
23
+ return result;
24
+ });
25
+ }
26
+ /** Creates or updates scoped-pilot-reduce record */
27
+ async queryScopedPilot(input) {
28
+ return this.telemetry.withSpan('scoped_pilot_reduce', 'queryScopedPilot', {}, async () => {
29
+ const rows = await this.db.query('SELECT * FROM scoped_pilot_reduce WHERE 1=1', []);
30
+ return rows;
31
+ });
32
+ }
33
+ /** Returns scoped-pilot-reduce data */
34
+ async listScopedPilotReduce(input) {
35
+ return this.telemetry.withSpan('scoped_pilot_reduce', 'listScopedPilotReduce', {}, async () => {
36
+ const rows = await this.db.query('SELECT * FROM scoped_pilot_reduce WHERE 1=1', []);
37
+ return rows;
38
+ });
39
+ }
40
+ /** Returns scoped-pilot-reduce data */
41
+ async id(input) {
42
+ return this.telemetry.withSpan('scoped_pilot_reduce', 'id', {}, async () => {
43
+ const result = await this.erp.invoke('id', input);
44
+ return result;
45
+ });
46
+ }
47
+ }
@@ -0,0 +1,24 @@
1
+ /**
2
+ * Port interface for bounded context: scoped-pilot-reduce
3
+ */
4
+ export interface ScopedPilotReduceInput {
5
+ readonly id: string;
6
+ readonly scoped_pilot_reduce_id: string;
7
+ }
8
+ export interface ScopedPilotReduce {
9
+ readonly id: string;
10
+ readonly created_at: string;
11
+ readonly updated_at: string;
12
+ readonly status: 'active' | 'inactive' | 'pending' | 'completed' | 'error';
13
+ readonly scoped_pilot_reduce_id: string;
14
+ }
15
+ export interface ScopedPilotReducePort {
16
+ /** Creates or updates scoped-pilot-reduce record */
17
+ manageScopedPilot(input: ScopedPilotReduceInput): Promise<ScopedPilotReduce>;
18
+ /** Creates or updates scoped-pilot-reduce record */
19
+ queryScopedPilot(input: ScopedPilotReduceInput): Promise<ScopedPilotReduce>;
20
+ /** Returns scoped-pilot-reduce data */
21
+ listScopedPilotReduce(input: Record<string, unknown>): Promise<ScopedPilotReduce[]>;
22
+ /** Returns scoped-pilot-reduce data */
23
+ id(input: Record<string, unknown>): Promise<ScopedPilotReduce[]>;
24
+ }
@@ -0,0 +1,2 @@
1
+ // Generated by Phase 4 pipeline — do not edit manually
2
+ export {};
@@ -0,0 +1,178 @@
1
+ import type { DbClient, ErpClient } from '../infra/clients.js';
2
+ export interface AuditEntry {
3
+ id: string;
4
+ entity_type: string;
5
+ entity_id: string;
6
+ action: string;
7
+ actor: string;
8
+ payload: unknown;
9
+ created_at: string;
10
+ }
11
+ export interface IAuditPort {
12
+ log(entityType: string, entityId: string, action: string, actor: string, payload: unknown): Promise<AuditEntry>;
13
+ }
14
+ export interface DomainEnterpriseSolutionRecord {
15
+ id: string;
16
+ status: string;
17
+ created_at: string;
18
+ updated_at: string;
19
+ data: Record<string, unknown>;
20
+ }
21
+ export interface IDomainEnterpriseSolutionPort {
22
+ execute(command: string, payload: Record<string, unknown>): Promise<DomainEnterpriseSolutionRecord>;
23
+ query(filters: Record<string, unknown>, limit: number, offset: number): Promise<{
24
+ rows: DomainEnterpriseSolutionRecord[];
25
+ total: number;
26
+ }>;
27
+ getById(id: string): Promise<DomainEnterpriseSolutionRecord | null>;
28
+ }
29
+ export interface MonitoringAlertsRecord {
30
+ id: string;
31
+ status: string;
32
+ created_at: string;
33
+ updated_at: string;
34
+ data: Record<string, unknown>;
35
+ }
36
+ export interface IMonitoringAlertsPort {
37
+ execute(command: string, payload: Record<string, unknown>): Promise<MonitoringAlertsRecord>;
38
+ query(filters: Record<string, unknown>, limit: number, offset: number): Promise<{
39
+ rows: MonitoringAlertsRecord[];
40
+ total: number;
41
+ }>;
42
+ getById(id: string): Promise<MonitoringAlertsRecord | null>;
43
+ }
44
+ export interface OngoingRegularStakeholderRecord {
45
+ id: string;
46
+ status: string;
47
+ created_at: string;
48
+ updated_at: string;
49
+ data: Record<string, unknown>;
50
+ }
51
+ export interface IOngoingRegularStakeholderPort {
52
+ execute(command: string, payload: Record<string, unknown>): Promise<OngoingRegularStakeholderRecord>;
53
+ query(filters: Record<string, unknown>, limit: number, offset: number): Promise<{
54
+ rows: OngoingRegularStakeholderRecord[];
55
+ total: number;
56
+ }>;
57
+ getById(id: string): Promise<OngoingRegularStakeholderRecord | null>;
58
+ }
59
+ export interface RiskMitigationPlanRecord {
60
+ id: string;
61
+ status: string;
62
+ created_at: string;
63
+ updated_at: string;
64
+ data: Record<string, unknown>;
65
+ }
66
+ export interface IRiskMitigationPlanPort {
67
+ execute(command: string, payload: Record<string, unknown>): Promise<RiskMitigationPlanRecord>;
68
+ query(filters: Record<string, unknown>, limit: number, offset: number): Promise<{
69
+ rows: RiskMitigationPlanRecord[];
70
+ total: number;
71
+ }>;
72
+ getById(id: string): Promise<RiskMitigationPlanRecord | null>;
73
+ }
74
+ export interface TargetEnterpriseSystemRecord {
75
+ id: string;
76
+ status: string;
77
+ created_at: string;
78
+ updated_at: string;
79
+ data: Record<string, unknown>;
80
+ }
81
+ export interface ITargetEnterpriseSystemPort {
82
+ execute(command: string, payload: Record<string, unknown>): Promise<TargetEnterpriseSystemRecord>;
83
+ query(filters: Record<string, unknown>, limit: number, offset: number): Promise<{
84
+ rows: TargetEnterpriseSystemRecord[];
85
+ total: number;
86
+ }>;
87
+ getById(id: string): Promise<TargetEnterpriseSystemRecord | null>;
88
+ }
89
+ export interface UnderwritingRecord {
90
+ id: string;
91
+ status: string;
92
+ created_at: string;
93
+ updated_at: string;
94
+ data: Record<string, unknown>;
95
+ }
96
+ export interface IUnderwritingPort {
97
+ execute(command: string, payload: Record<string, unknown>): Promise<UnderwritingRecord>;
98
+ query(filters: Record<string, unknown>, limit: number, offset: number): Promise<{
99
+ rows: UnderwritingRecord[];
100
+ total: number;
101
+ }>;
102
+ getById(id: string): Promise<UnderwritingRecord | null>;
103
+ }
104
+ export interface ScopedPilotReduceRecord {
105
+ id: string;
106
+ status: string;
107
+ created_at: string;
108
+ updated_at: string;
109
+ data: Record<string, unknown>;
110
+ }
111
+ export interface IScopedPilotReducePort {
112
+ execute(command: string, payload: Record<string, unknown>): Promise<ScopedPilotReduceRecord>;
113
+ query(filters: Record<string, unknown>, limit: number, offset: number): Promise<{
114
+ rows: ScopedPilotReduceRecord[];
115
+ total: number;
116
+ }>;
117
+ getById(id: string): Promise<ScopedPilotReduceRecord | null>;
118
+ }
119
+ export interface ReEvaluateRiskRecord {
120
+ id: string;
121
+ status: string;
122
+ created_at: string;
123
+ updated_at: string;
124
+ data: Record<string, unknown>;
125
+ }
126
+ export interface IReEvaluateRiskPort {
127
+ execute(command: string, payload: Record<string, unknown>): Promise<ReEvaluateRiskRecord>;
128
+ query(filters: Record<string, unknown>, limit: number, offset: number): Promise<{
129
+ rows: ReEvaluateRiskRecord[];
130
+ total: number;
131
+ }>;
132
+ getById(id: string): Promise<ReEvaluateRiskRecord | null>;
133
+ }
134
+ export interface RecommendationRecord {
135
+ id: string;
136
+ status: string;
137
+ created_at: string;
138
+ updated_at: string;
139
+ data: Record<string, unknown>;
140
+ }
141
+ export interface IRecommendationPort {
142
+ execute(command: string, payload: Record<string, unknown>): Promise<RecommendationRecord>;
143
+ query(filters: Record<string, unknown>, limit: number, offset: number): Promise<{
144
+ rows: RecommendationRecord[];
145
+ total: number;
146
+ }>;
147
+ getById(id: string): Promise<RecommendationRecord | null>;
148
+ }
149
+ export interface ApiGatewayRecord {
150
+ id: string;
151
+ status: string;
152
+ created_at: string;
153
+ updated_at: string;
154
+ data: Record<string, unknown>;
155
+ }
156
+ export interface IApiGatewayPort {
157
+ execute(command: string, payload: Record<string, unknown>): Promise<ApiGatewayRecord>;
158
+ query(filters: Record<string, unknown>, limit: number, offset: number): Promise<{
159
+ rows: ApiGatewayRecord[];
160
+ total: number;
161
+ }>;
162
+ getById(id: string): Promise<ApiGatewayRecord | null>;
163
+ }
164
+ export interface Dependencies {
165
+ readonly domainEnterpriseSolution: IDomainEnterpriseSolutionPort;
166
+ readonly monitoringAlerts: IMonitoringAlertsPort;
167
+ readonly ongoingRegularStakeholder: IOngoingRegularStakeholderPort;
168
+ readonly riskMitigationPlan: IRiskMitigationPlanPort;
169
+ readonly targetEnterpriseSystem: ITargetEnterpriseSystemPort;
170
+ readonly underwriting: IUnderwritingPort;
171
+ readonly scopedPilotReduce: IScopedPilotReducePort;
172
+ readonly reEvaluateRisk: IReEvaluateRiskPort;
173
+ readonly recommendation: IRecommendationPort;
174
+ readonly apiGateway: IApiGatewayPort;
175
+ readonly audit: IAuditPort;
176
+ readonly erp: ErpClient;
177
+ }
178
+ export declare function createDependencies(db: DbClient, erp: ErpClient): Dependencies;