@llm-dev-ops/agentics-cli 1.4.94 → 1.5.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/agents/system-prompts.d.ts.map +1 -1
- package/dist/agents/system-prompts.js +25 -3
- package/dist/agents/system-prompts.js.map +1 -1
- package/dist/commands/export.d.ts.map +1 -1
- package/dist/commands/export.js +20 -1
- package/dist/commands/export.js.map +1 -1
- package/dist/infrastructure/db-adapter.d.ts +67 -0
- package/dist/infrastructure/db-adapter.d.ts.map +1 -0
- package/dist/infrastructure/db-adapter.js +151 -0
- package/dist/infrastructure/db-adapter.js.map +1 -0
- package/dist/infrastructure/sap-adapter.d.ts +95 -0
- package/dist/infrastructure/sap-adapter.d.ts.map +1 -0
- package/dist/infrastructure/sap-adapter.js +651 -0
- package/dist/infrastructure/sap-adapter.js.map +1 -0
- package/dist/routing/graph-loader.d.ts +1 -1
- package/dist/routing/graph-loader.d.ts.map +1 -1
- package/dist/routing/graph-loader.js +42 -38
- package/dist/routing/graph-loader.js.map +1 -1
- package/dist/server/routes/erpsurface.d.ts +3 -1
- package/dist/server/routes/erpsurface.d.ts.map +1 -1
- package/dist/server/routes/erpsurface.js +548 -7
- package/dist/server/routes/erpsurface.js.map +1 -1
- package/package.json +1 -1
- package/dist/__tests__/api_gateway.test.d.ts +0 -1
- package/dist/__tests__/api_gateway.test.js +0 -50
- package/dist/__tests__/domain_enterprise_solution.test.d.ts +0 -1
- package/dist/__tests__/domain_enterprise_solution.test.js +0 -50
- package/dist/__tests__/health.test.d.ts +0 -1
- package/dist/__tests__/health.test.js +0 -19
- package/dist/__tests__/monitoring_alerts.test.d.ts +0 -1
- package/dist/__tests__/monitoring_alerts.test.js +0 -50
- package/dist/__tests__/ongoing_regular_stakeholder.test.d.ts +0 -1
- package/dist/__tests__/ongoing_regular_stakeholder.test.js +0 -50
- package/dist/__tests__/re_evaluate_risk.test.d.ts +0 -1
- package/dist/__tests__/re_evaluate_risk.test.js +0 -50
- package/dist/__tests__/recommendation.test.d.ts +0 -1
- package/dist/__tests__/recommendation.test.js +0 -50
- package/dist/__tests__/risk_mitigation_plan.test.d.ts +0 -1
- package/dist/__tests__/risk_mitigation_plan.test.js +0 -50
- package/dist/__tests__/scoped_pilot_reduce.test.d.ts +0 -1
- package/dist/__tests__/scoped_pilot_reduce.test.js +0 -50
- package/dist/__tests__/target_enterprise_system.test.d.ts +0 -1
- package/dist/__tests__/target_enterprise_system.test.js +0 -50
- package/dist/__tests__/underwriting.test.d.ts +0 -1
- package/dist/__tests__/underwriting.test.js +0 -50
- package/dist/api-gateway/infra/api-gateway-adapter.d.ts +0 -27
- package/dist/api-gateway/infra/api-gateway-adapter.js +0 -54
- package/dist/api-gateway/ports/api-gateway.d.ts +0 -26
- package/dist/api-gateway/ports/api-gateway.js +0 -2
- package/dist/contracts/contract-validation.d.ts +0 -11
- package/dist/contracts/contract-validation.js +0 -21
- package/dist/domain-enterprise-solution/infra/api-gateway-seam-adapter.d.ts +0 -21
- package/dist/domain-enterprise-solution/infra/api-gateway-seam-adapter.js +0 -42
- package/dist/domain-enterprise-solution/infra/domain-enterprise-solution-adapter.d.ts +0 -25
- package/dist/domain-enterprise-solution/infra/domain-enterprise-solution-adapter.js +0 -47
- package/dist/domain-enterprise-solution/ports/api-gateway-seam.d.ts +0 -20
- package/dist/domain-enterprise-solution/ports/api-gateway-seam.js +0 -2
- package/dist/domain-enterprise-solution/ports/domain-enterprise-solution.d.ts +0 -24
- package/dist/domain-enterprise-solution/ports/domain-enterprise-solution.js +0 -2
- package/dist/enterprise/index.d.ts +0 -15
- package/dist/enterprise/index.js +0 -16
- package/dist/erp-client/client.d.ts +0 -42
- package/dist/erp-client/client.js +0 -235
- package/dist/erp-client/mapper.d.ts +0 -9
- package/dist/erp-client/mapper.js +0 -116
- package/dist/erp-client/retry.d.ts +0 -17
- package/dist/erp-client/retry.js +0 -74
- package/dist/erp-client/types.d.ts +0 -155
- package/dist/erp-client/types.js +0 -2
- package/dist/infra/clients.d.ts +0 -27
- package/dist/infra/clients.js +0 -16
- package/dist/infra/connection-pool.d.ts +0 -16
- package/dist/infra/connection-pool.js +0 -13
- package/dist/infra/iam-helper.d.ts +0 -1
- package/dist/infra/iam-helper.js +0 -138
- package/dist/infra/telemetry.d.ts +0 -26
- package/dist/infra/telemetry.js +0 -39
- package/dist/monitoring-alerts/infra/monitoring-alerts-adapter.d.ts +0 -25
- package/dist/monitoring-alerts/infra/monitoring-alerts-adapter.js +0 -47
- package/dist/monitoring-alerts/ports/monitoring-alerts.d.ts +0 -24
- package/dist/monitoring-alerts/ports/monitoring-alerts.js +0 -2
- package/dist/ongoing-regular-stakeholder/infra/ongoing-regular-stakeholder-adapter.d.ts +0 -25
- package/dist/ongoing-regular-stakeholder/infra/ongoing-regular-stakeholder-adapter.js +0 -47
- package/dist/ongoing-regular-stakeholder/ports/ongoing-regular-stakeholder.d.ts +0 -24
- package/dist/ongoing-regular-stakeholder/ports/ongoing-regular-stakeholder.js +0 -2
- package/dist/re-evaluate-risk/infra/re-evaluate-risk-adapter.d.ts +0 -25
- package/dist/re-evaluate-risk/infra/re-evaluate-risk-adapter.js +0 -47
- package/dist/re-evaluate-risk/ports/re-evaluate-risk.d.ts +0 -24
- package/dist/re-evaluate-risk/ports/re-evaluate-risk.js +0 -2
- package/dist/recommendation/infra/recommendation-adapter.d.ts +0 -25
- package/dist/recommendation/infra/recommendation-adapter.js +0 -47
- package/dist/recommendation/ports/recommendation.d.ts +0 -24
- package/dist/recommendation/ports/recommendation.js +0 -2
- package/dist/risk-mitigation-plan/infra/risk-mitigation-plan-adapter.d.ts +0 -25
- package/dist/risk-mitigation-plan/infra/risk-mitigation-plan-adapter.js +0 -47
- package/dist/risk-mitigation-plan/ports/risk-mitigation-plan.d.ts +0 -24
- package/dist/risk-mitigation-plan/ports/risk-mitigation-plan.js +0 -2
- package/dist/scoped-pilot-reduce/infra/scoped-pilot-reduce-adapter.d.ts +0 -25
- package/dist/scoped-pilot-reduce/infra/scoped-pilot-reduce-adapter.js +0 -47
- package/dist/scoped-pilot-reduce/ports/scoped-pilot-reduce.d.ts +0 -24
- package/dist/scoped-pilot-reduce/ports/scoped-pilot-reduce.js +0 -2
- package/dist/server/dependencies.d.ts +0 -178
- package/dist/server/dependencies.js +0 -321
- package/dist/server/health.d.ts +0 -2
- package/dist/server/health.js +0 -9
- package/dist/server/main.d.ts +0 -1
- package/dist/server/main.js +0 -21
- package/dist/server/middleware.d.ts +0 -4
- package/dist/server/middleware.js +0 -106
- package/dist/server/routes.d.ts +0 -5
- package/dist/server/routes.js +0 -1100
- package/dist/server/schemas.d.ts +0 -217
- package/dist/server/schemas.js +0 -185
- package/dist/target-enterprise-system/infra/target-enterprise-system-adapter.d.ts +0 -25
- package/dist/target-enterprise-system/infra/target-enterprise-system-adapter.js +0 -47
- package/dist/target-enterprise-system/ports/target-enterprise-system.d.ts +0 -24
- package/dist/target-enterprise-system/ports/target-enterprise-system.js +0 -2
- package/dist/underwriting/infra/underwriting-adapter.d.ts +0 -25
- package/dist/underwriting/infra/underwriting-adapter.js +0 -47
- package/dist/underwriting/ports/underwriting.d.ts +0 -24
- package/dist/underwriting/ports/underwriting.js +0 -2
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
// Generated by Phase 4 pipeline — do not edit manually
|
|
2
|
-
/**
|
|
3
|
-
* Infrastructure adapter: MonitoringAlertsAdapter
|
|
4
|
-
* Bounded context: monitoring-alerts
|
|
5
|
-
* ERP system: infor
|
|
6
|
-
*
|
|
7
|
-
* Bridges the MonitoringAlertsPort port to the infor ERP system
|
|
8
|
-
* and the underlying database client.
|
|
9
|
-
*/
|
|
10
|
-
export class MonitoringAlertsAdapter {
|
|
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 monitoring-alerts record */
|
|
20
|
-
async manageMonitoringAlerts(input) {
|
|
21
|
-
return this.telemetry.withSpan('monitoring_alerts', 'manageMonitoringAlerts', {}, async () => {
|
|
22
|
-
const result = await this.erp.invoke('manageMonitoringAlerts', input);
|
|
23
|
-
return result;
|
|
24
|
-
});
|
|
25
|
-
}
|
|
26
|
-
/** Creates or updates monitoring-alerts record */
|
|
27
|
-
async queryMonitoringAlerts(input) {
|
|
28
|
-
return this.telemetry.withSpan('monitoring_alerts', 'queryMonitoringAlerts', {}, async () => {
|
|
29
|
-
const rows = await this.db.query('SELECT * FROM monitoring_alerts WHERE 1=1', []);
|
|
30
|
-
return rows;
|
|
31
|
-
});
|
|
32
|
-
}
|
|
33
|
-
/** Returns monitoring-alerts data */
|
|
34
|
-
async listMonitoringAlerts(input) {
|
|
35
|
-
return this.telemetry.withSpan('monitoring_alerts', 'listMonitoringAlerts', {}, async () => {
|
|
36
|
-
const rows = await this.db.query('SELECT * FROM monitoring_alerts WHERE 1=1', []);
|
|
37
|
-
return rows;
|
|
38
|
-
});
|
|
39
|
-
}
|
|
40
|
-
/** Returns monitoring-alerts data */
|
|
41
|
-
async id(input) {
|
|
42
|
-
return this.telemetry.withSpan('monitoring_alerts', 'id', {}, async () => {
|
|
43
|
-
const result = await this.erp.invoke('id', input);
|
|
44
|
-
return result;
|
|
45
|
-
});
|
|
46
|
-
}
|
|
47
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Port interface for bounded context: monitoring-alerts
|
|
3
|
-
*/
|
|
4
|
-
export interface MonitoringAlertsInput {
|
|
5
|
-
readonly id: string;
|
|
6
|
-
readonly monitoring_alerts_id: string;
|
|
7
|
-
}
|
|
8
|
-
export interface MonitoringAlerts {
|
|
9
|
-
readonly id: string;
|
|
10
|
-
readonly created_at: string;
|
|
11
|
-
readonly updated_at: string;
|
|
12
|
-
readonly status: 'active' | 'inactive' | 'pending' | 'completed' | 'error';
|
|
13
|
-
readonly monitoring_alerts_id: string;
|
|
14
|
-
}
|
|
15
|
-
export interface MonitoringAlertsPort {
|
|
16
|
-
/** Creates or updates monitoring-alerts record */
|
|
17
|
-
manageMonitoringAlerts(input: MonitoringAlertsInput): Promise<MonitoringAlerts>;
|
|
18
|
-
/** Creates or updates monitoring-alerts record */
|
|
19
|
-
queryMonitoringAlerts(input: MonitoringAlertsInput): Promise<MonitoringAlerts>;
|
|
20
|
-
/** Returns monitoring-alerts data */
|
|
21
|
-
listMonitoringAlerts(input: Record<string, unknown>): Promise<MonitoringAlerts[]>;
|
|
22
|
-
/** Returns monitoring-alerts data */
|
|
23
|
-
id(input: Record<string, unknown>): Promise<MonitoringAlerts[]>;
|
|
24
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import type { OngoingRegularStakeholderPort, OngoingRegularStakeholderInput, OngoingRegularStakeholder } from '../ports/ongoing-regular-stakeholder.js';
|
|
2
|
-
import type { Telemetry } from '../../infra/telemetry.js';
|
|
3
|
-
import type { DbClient, ErpClient } from '../../infra/clients.js';
|
|
4
|
-
/**
|
|
5
|
-
* Infrastructure adapter: OngoingRegularStakeholderAdapter
|
|
6
|
-
* Bounded context: ongoing-regular-stakeholder
|
|
7
|
-
* ERP system: infor
|
|
8
|
-
*
|
|
9
|
-
* Bridges the OngoingRegularStakeholderPort port to the infor ERP system
|
|
10
|
-
* and the underlying database client.
|
|
11
|
-
*/
|
|
12
|
-
export declare class OngoingRegularStakeholderAdapter implements OngoingRegularStakeholderPort {
|
|
13
|
-
private readonly db;
|
|
14
|
-
private readonly erp;
|
|
15
|
-
private readonly telemetry;
|
|
16
|
-
constructor(db: DbClient, erp: ErpClient, telemetry: Telemetry);
|
|
17
|
-
/** Creates or updates ongoing-regular-stakeholder record */
|
|
18
|
-
manageOngoingRegular(input: OngoingRegularStakeholderInput): Promise<OngoingRegularStakeholder>;
|
|
19
|
-
/** Creates or updates ongoing-regular-stakeholder record */
|
|
20
|
-
queryOngoingRegular(input: OngoingRegularStakeholderInput): Promise<OngoingRegularStakeholder>;
|
|
21
|
-
/** Returns ongoing-regular-stakeholder data */
|
|
22
|
-
listOngoingRegularStakeholder(input: Record<string, unknown>): Promise<OngoingRegularStakeholder[]>;
|
|
23
|
-
/** Returns ongoing-regular-stakeholder data */
|
|
24
|
-
id(input: Record<string, unknown>): Promise<OngoingRegularStakeholder[]>;
|
|
25
|
-
}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
// Generated by Phase 4 pipeline — do not edit manually
|
|
2
|
-
/**
|
|
3
|
-
* Infrastructure adapter: OngoingRegularStakeholderAdapter
|
|
4
|
-
* Bounded context: ongoing-regular-stakeholder
|
|
5
|
-
* ERP system: infor
|
|
6
|
-
*
|
|
7
|
-
* Bridges the OngoingRegularStakeholderPort port to the infor ERP system
|
|
8
|
-
* and the underlying database client.
|
|
9
|
-
*/
|
|
10
|
-
export class OngoingRegularStakeholderAdapter {
|
|
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 ongoing-regular-stakeholder record */
|
|
20
|
-
async manageOngoingRegular(input) {
|
|
21
|
-
return this.telemetry.withSpan('ongoing_regular_stakeholder', 'manageOngoingRegular', {}, async () => {
|
|
22
|
-
const result = await this.erp.invoke('manageOngoingRegular', input);
|
|
23
|
-
return result;
|
|
24
|
-
});
|
|
25
|
-
}
|
|
26
|
-
/** Creates or updates ongoing-regular-stakeholder record */
|
|
27
|
-
async queryOngoingRegular(input) {
|
|
28
|
-
return this.telemetry.withSpan('ongoing_regular_stakeholder', 'queryOngoingRegular', {}, async () => {
|
|
29
|
-
const rows = await this.db.query('SELECT * FROM ongoing_regular_stakeholder WHERE 1=1', []);
|
|
30
|
-
return rows;
|
|
31
|
-
});
|
|
32
|
-
}
|
|
33
|
-
/** Returns ongoing-regular-stakeholder data */
|
|
34
|
-
async listOngoingRegularStakeholder(input) {
|
|
35
|
-
return this.telemetry.withSpan('ongoing_regular_stakeholder', 'listOngoingRegularStakeholder', {}, async () => {
|
|
36
|
-
const rows = await this.db.query('SELECT * FROM ongoing_regular_stakeholder WHERE 1=1', []);
|
|
37
|
-
return rows;
|
|
38
|
-
});
|
|
39
|
-
}
|
|
40
|
-
/** Returns ongoing-regular-stakeholder data */
|
|
41
|
-
async id(input) {
|
|
42
|
-
return this.telemetry.withSpan('ongoing_regular_stakeholder', 'id', {}, async () => {
|
|
43
|
-
const result = await this.erp.invoke('id', input);
|
|
44
|
-
return result;
|
|
45
|
-
});
|
|
46
|
-
}
|
|
47
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Port interface for bounded context: ongoing-regular-stakeholder
|
|
3
|
-
*/
|
|
4
|
-
export interface OngoingRegularStakeholderInput {
|
|
5
|
-
readonly id: string;
|
|
6
|
-
readonly ongoing_regular_stakeholder_id: string;
|
|
7
|
-
}
|
|
8
|
-
export interface OngoingRegularStakeholder {
|
|
9
|
-
readonly id: string;
|
|
10
|
-
readonly created_at: string;
|
|
11
|
-
readonly updated_at: string;
|
|
12
|
-
readonly status: 'active' | 'inactive' | 'pending' | 'completed' | 'error';
|
|
13
|
-
readonly ongoing_regular_stakeholder_id: string;
|
|
14
|
-
}
|
|
15
|
-
export interface OngoingRegularStakeholderPort {
|
|
16
|
-
/** Creates or updates ongoing-regular-stakeholder record */
|
|
17
|
-
manageOngoingRegular(input: OngoingRegularStakeholderInput): Promise<OngoingRegularStakeholder>;
|
|
18
|
-
/** Creates or updates ongoing-regular-stakeholder record */
|
|
19
|
-
queryOngoingRegular(input: OngoingRegularStakeholderInput): Promise<OngoingRegularStakeholder>;
|
|
20
|
-
/** Returns ongoing-regular-stakeholder data */
|
|
21
|
-
listOngoingRegularStakeholder(input: Record<string, unknown>): Promise<OngoingRegularStakeholder[]>;
|
|
22
|
-
/** Returns ongoing-regular-stakeholder data */
|
|
23
|
-
id(input: Record<string, unknown>): Promise<OngoingRegularStakeholder[]>;
|
|
24
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import type { ReEvaluateRiskPort, ReEvaluateRiskInput, ReEvaluateRisk } from '../ports/re-evaluate-risk.js';
|
|
2
|
-
import type { Telemetry } from '../../infra/telemetry.js';
|
|
3
|
-
import type { DbClient, ErpClient } from '../../infra/clients.js';
|
|
4
|
-
/**
|
|
5
|
-
* Infrastructure adapter: ReEvaluateRiskAdapter
|
|
6
|
-
* Bounded context: re-evaluate-risk
|
|
7
|
-
* ERP system: infor
|
|
8
|
-
*
|
|
9
|
-
* Bridges the ReEvaluateRiskPort port to the infor ERP system
|
|
10
|
-
* and the underlying database client.
|
|
11
|
-
*/
|
|
12
|
-
export declare class ReEvaluateRiskAdapter implements ReEvaluateRiskPort {
|
|
13
|
-
private readonly db;
|
|
14
|
-
private readonly erp;
|
|
15
|
-
private readonly telemetry;
|
|
16
|
-
constructor(db: DbClient, erp: ErpClient, telemetry: Telemetry);
|
|
17
|
-
/** Creates or updates re-evaluate-risk record */
|
|
18
|
-
manageReEvaluate(input: ReEvaluateRiskInput): Promise<ReEvaluateRisk>;
|
|
19
|
-
/** Creates or updates re-evaluate-risk record */
|
|
20
|
-
queryReEvaluate(input: ReEvaluateRiskInput): Promise<ReEvaluateRisk>;
|
|
21
|
-
/** Returns re-evaluate-risk data */
|
|
22
|
-
listReEvaluateRisk(input: Record<string, unknown>): Promise<ReEvaluateRisk[]>;
|
|
23
|
-
/** Returns re-evaluate-risk data */
|
|
24
|
-
id(input: Record<string, unknown>): Promise<ReEvaluateRisk[]>;
|
|
25
|
-
}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
// Generated by Phase 4 pipeline — do not edit manually
|
|
2
|
-
/**
|
|
3
|
-
* Infrastructure adapter: ReEvaluateRiskAdapter
|
|
4
|
-
* Bounded context: re-evaluate-risk
|
|
5
|
-
* ERP system: infor
|
|
6
|
-
*
|
|
7
|
-
* Bridges the ReEvaluateRiskPort port to the infor ERP system
|
|
8
|
-
* and the underlying database client.
|
|
9
|
-
*/
|
|
10
|
-
export class ReEvaluateRiskAdapter {
|
|
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 re-evaluate-risk record */
|
|
20
|
-
async manageReEvaluate(input) {
|
|
21
|
-
return this.telemetry.withSpan('re_evaluate_risk', 'manageReEvaluate', {}, async () => {
|
|
22
|
-
const result = await this.erp.invoke('manageReEvaluate', input);
|
|
23
|
-
return result;
|
|
24
|
-
});
|
|
25
|
-
}
|
|
26
|
-
/** Creates or updates re-evaluate-risk record */
|
|
27
|
-
async queryReEvaluate(input) {
|
|
28
|
-
return this.telemetry.withSpan('re_evaluate_risk', 'queryReEvaluate', {}, async () => {
|
|
29
|
-
const rows = await this.db.query('SELECT * FROM re_evaluate_risk WHERE 1=1', []);
|
|
30
|
-
return rows;
|
|
31
|
-
});
|
|
32
|
-
}
|
|
33
|
-
/** Returns re-evaluate-risk data */
|
|
34
|
-
async listReEvaluateRisk(input) {
|
|
35
|
-
return this.telemetry.withSpan('re_evaluate_risk', 'listReEvaluateRisk', {}, async () => {
|
|
36
|
-
const rows = await this.db.query('SELECT * FROM re_evaluate_risk WHERE 1=1', []);
|
|
37
|
-
return rows;
|
|
38
|
-
});
|
|
39
|
-
}
|
|
40
|
-
/** Returns re-evaluate-risk data */
|
|
41
|
-
async id(input) {
|
|
42
|
-
return this.telemetry.withSpan('re_evaluate_risk', 'id', {}, async () => {
|
|
43
|
-
const result = await this.erp.invoke('id', input);
|
|
44
|
-
return result;
|
|
45
|
-
});
|
|
46
|
-
}
|
|
47
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Port interface for bounded context: re-evaluate-risk
|
|
3
|
-
*/
|
|
4
|
-
export interface ReEvaluateRiskInput {
|
|
5
|
-
readonly id: string;
|
|
6
|
-
readonly re_evaluate_risk_id: string;
|
|
7
|
-
}
|
|
8
|
-
export interface ReEvaluateRisk {
|
|
9
|
-
readonly id: string;
|
|
10
|
-
readonly created_at: string;
|
|
11
|
-
readonly updated_at: string;
|
|
12
|
-
readonly status: 'active' | 'inactive' | 'pending' | 'completed' | 'error';
|
|
13
|
-
readonly re_evaluate_risk_id: string;
|
|
14
|
-
}
|
|
15
|
-
export interface ReEvaluateRiskPort {
|
|
16
|
-
/** Creates or updates re-evaluate-risk record */
|
|
17
|
-
manageReEvaluate(input: ReEvaluateRiskInput): Promise<ReEvaluateRisk>;
|
|
18
|
-
/** Creates or updates re-evaluate-risk record */
|
|
19
|
-
queryReEvaluate(input: ReEvaluateRiskInput): Promise<ReEvaluateRisk>;
|
|
20
|
-
/** Returns re-evaluate-risk data */
|
|
21
|
-
listReEvaluateRisk(input: Record<string, unknown>): Promise<ReEvaluateRisk[]>;
|
|
22
|
-
/** Returns re-evaluate-risk data */
|
|
23
|
-
id(input: Record<string, unknown>): Promise<ReEvaluateRisk[]>;
|
|
24
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,47 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,47 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,47 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
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
|
-
}
|