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

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 (107) 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/config/endpoints.js +30 -30
  28. package/dist/config/endpoints.js.map +1 -1
  29. package/dist/contracts/contract-validation.d.ts +11 -0
  30. package/dist/contracts/contract-validation.js +21 -0
  31. package/dist/domain-enterprise-solution/infra/api-gateway-seam-adapter.d.ts +21 -0
  32. package/dist/domain-enterprise-solution/infra/api-gateway-seam-adapter.js +42 -0
  33. package/dist/domain-enterprise-solution/infra/domain-enterprise-solution-adapter.d.ts +25 -0
  34. package/dist/domain-enterprise-solution/infra/domain-enterprise-solution-adapter.js +47 -0
  35. package/dist/domain-enterprise-solution/ports/api-gateway-seam.d.ts +20 -0
  36. package/dist/domain-enterprise-solution/ports/api-gateway-seam.js +2 -0
  37. package/dist/domain-enterprise-solution/ports/domain-enterprise-solution.d.ts +24 -0
  38. package/dist/domain-enterprise-solution/ports/domain-enterprise-solution.js +2 -0
  39. package/dist/enterprise/index.d.ts +15 -0
  40. package/dist/enterprise/index.js +16 -0
  41. package/dist/erp-client/client.d.ts +42 -0
  42. package/dist/erp-client/client.js +235 -0
  43. package/dist/erp-client/mapper.d.ts +9 -0
  44. package/dist/erp-client/mapper.js +116 -0
  45. package/dist/erp-client/retry.d.ts +17 -0
  46. package/dist/erp-client/retry.js +74 -0
  47. package/dist/erp-client/types.d.ts +155 -0
  48. package/dist/erp-client/types.js +2 -0
  49. package/dist/infra/clients.d.ts +27 -0
  50. package/dist/infra/clients.js +16 -0
  51. package/dist/infra/connection-pool.d.ts +16 -0
  52. package/dist/infra/connection-pool.js +13 -0
  53. package/dist/infra/iam-helper.d.ts +1 -0
  54. package/dist/infra/iam-helper.js +138 -0
  55. package/dist/infra/telemetry.d.ts +26 -0
  56. package/dist/infra/telemetry.js +39 -0
  57. package/dist/monitoring-alerts/infra/monitoring-alerts-adapter.d.ts +25 -0
  58. package/dist/monitoring-alerts/infra/monitoring-alerts-adapter.js +47 -0
  59. package/dist/monitoring-alerts/ports/monitoring-alerts.d.ts +24 -0
  60. package/dist/monitoring-alerts/ports/monitoring-alerts.js +2 -0
  61. package/dist/ongoing-regular-stakeholder/infra/ongoing-regular-stakeholder-adapter.d.ts +25 -0
  62. package/dist/ongoing-regular-stakeholder/infra/ongoing-regular-stakeholder-adapter.js +47 -0
  63. package/dist/ongoing-regular-stakeholder/ports/ongoing-regular-stakeholder.d.ts +24 -0
  64. package/dist/ongoing-regular-stakeholder/ports/ongoing-regular-stakeholder.js +2 -0
  65. package/dist/pipeline/phase2/phase2-coordinator.d.ts.map +1 -1
  66. package/dist/pipeline/phase2/phase2-coordinator.js +7 -3
  67. package/dist/pipeline/phase2/phase2-coordinator.js.map +1 -1
  68. package/dist/pipeline/ruflo-phase-executor.js +1 -1
  69. package/dist/pipeline/ruflo-phase-executor.js.map +1 -1
  70. package/dist/re-evaluate-risk/infra/re-evaluate-risk-adapter.d.ts +25 -0
  71. package/dist/re-evaluate-risk/infra/re-evaluate-risk-adapter.js +47 -0
  72. package/dist/re-evaluate-risk/ports/re-evaluate-risk.d.ts +24 -0
  73. package/dist/re-evaluate-risk/ports/re-evaluate-risk.js +2 -0
  74. package/dist/recommendation/infra/recommendation-adapter.d.ts +25 -0
  75. package/dist/recommendation/infra/recommendation-adapter.js +47 -0
  76. package/dist/recommendation/ports/recommendation.d.ts +24 -0
  77. package/dist/recommendation/ports/recommendation.js +2 -0
  78. package/dist/risk-mitigation-plan/infra/risk-mitigation-plan-adapter.d.ts +25 -0
  79. package/dist/risk-mitigation-plan/infra/risk-mitigation-plan-adapter.js +47 -0
  80. package/dist/risk-mitigation-plan/ports/risk-mitigation-plan.d.ts +24 -0
  81. package/dist/risk-mitigation-plan/ports/risk-mitigation-plan.js +2 -0
  82. package/dist/scoped-pilot-reduce/infra/scoped-pilot-reduce-adapter.d.ts +25 -0
  83. package/dist/scoped-pilot-reduce/infra/scoped-pilot-reduce-adapter.js +47 -0
  84. package/dist/scoped-pilot-reduce/ports/scoped-pilot-reduce.d.ts +24 -0
  85. package/dist/scoped-pilot-reduce/ports/scoped-pilot-reduce.js +2 -0
  86. package/dist/server/dependencies.d.ts +178 -0
  87. package/dist/server/dependencies.js +321 -0
  88. package/dist/server/health.d.ts +2 -0
  89. package/dist/server/health.js +9 -0
  90. package/dist/server/main.d.ts +1 -0
  91. package/dist/server/main.js +21 -0
  92. package/dist/server/middleware.d.ts +4 -0
  93. package/dist/server/middleware.js +106 -0
  94. package/dist/server/routes.d.ts +5 -0
  95. package/dist/server/routes.js +1100 -0
  96. package/dist/server/schemas.d.ts +217 -0
  97. package/dist/server/schemas.js +185 -0
  98. package/dist/target-enterprise-system/infra/target-enterprise-system-adapter.d.ts +25 -0
  99. package/dist/target-enterprise-system/infra/target-enterprise-system-adapter.js +47 -0
  100. package/dist/target-enterprise-system/ports/target-enterprise-system.d.ts +24 -0
  101. package/dist/target-enterprise-system/ports/target-enterprise-system.js +2 -0
  102. package/dist/underwriting/infra/underwriting-adapter.d.ts +25 -0
  103. package/dist/underwriting/infra/underwriting-adapter.js +47 -0
  104. package/dist/underwriting/ports/underwriting.d.ts +24 -0
  105. package/dist/underwriting/ports/underwriting.js +2 -0
  106. package/docs/ecosystem.graph.json +295 -214
  107. package/package.json +1 -1
@@ -0,0 +1,217 @@
1
+ import { z } from 'zod';
2
+ export declare const ManageDomainEnterpriseSchema: z.ZodObject<{
3
+ request_payload: z.ZodString;
4
+ }, z.core.$strip>;
5
+ export type ManageDomainEnterpriseInput = z.infer<typeof ManageDomainEnterpriseSchema>;
6
+ export declare const QueryDomainEnterpriseSchema: z.ZodObject<{
7
+ request_payload: z.ZodString;
8
+ }, z.core.$strip>;
9
+ export type QueryDomainEnterpriseInput = z.infer<typeof QueryDomainEnterpriseSchema>;
10
+ export declare const GetDomainEnterpriseSolutionSchema: z.ZodObject<{
11
+ filters: z.ZodOptional<z.ZodString>;
12
+ limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
13
+ offset: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
14
+ }, z.core.$strip>;
15
+ export type GetDomainEnterpriseSolutionParams = z.infer<typeof GetDomainEnterpriseSolutionSchema>;
16
+ export declare const GetDomainEnterpriseSolutionByIdSchema: z.ZodObject<{
17
+ filters: z.ZodOptional<z.ZodString>;
18
+ limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
19
+ offset: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
20
+ }, z.core.$strip>;
21
+ export type GetDomainEnterpriseSolutionByIdParams = z.infer<typeof GetDomainEnterpriseSolutionByIdSchema>;
22
+ export declare const ManageMonitoringAlertsSchema: z.ZodObject<{
23
+ request_payload: z.ZodString;
24
+ }, z.core.$strip>;
25
+ export type ManageMonitoringAlertsInput = z.infer<typeof ManageMonitoringAlertsSchema>;
26
+ export declare const QueryMonitoringAlertsSchema: z.ZodObject<{
27
+ request_payload: z.ZodString;
28
+ }, z.core.$strip>;
29
+ export type QueryMonitoringAlertsInput = z.infer<typeof QueryMonitoringAlertsSchema>;
30
+ export declare const GetMonitoringAlertsSchema: z.ZodObject<{
31
+ filters: z.ZodOptional<z.ZodString>;
32
+ limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
33
+ offset: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
34
+ }, z.core.$strip>;
35
+ export type GetMonitoringAlertsParams = z.infer<typeof GetMonitoringAlertsSchema>;
36
+ export declare const GetMonitoringAlertsByIdSchema: z.ZodObject<{
37
+ filters: z.ZodOptional<z.ZodString>;
38
+ limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
39
+ offset: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
40
+ }, z.core.$strip>;
41
+ export type GetMonitoringAlertsByIdParams = z.infer<typeof GetMonitoringAlertsByIdSchema>;
42
+ export declare const ManageOngoingRegularSchema: z.ZodObject<{
43
+ request_payload: z.ZodString;
44
+ }, z.core.$strip>;
45
+ export type ManageOngoingRegularInput = z.infer<typeof ManageOngoingRegularSchema>;
46
+ export declare const QueryOngoingRegularSchema: z.ZodObject<{
47
+ request_payload: z.ZodString;
48
+ }, z.core.$strip>;
49
+ export type QueryOngoingRegularInput = z.infer<typeof QueryOngoingRegularSchema>;
50
+ export declare const GetOngoingRegularStakeholderSchema: z.ZodObject<{
51
+ filters: z.ZodOptional<z.ZodString>;
52
+ limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
53
+ offset: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
54
+ }, z.core.$strip>;
55
+ export type GetOngoingRegularStakeholderParams = z.infer<typeof GetOngoingRegularStakeholderSchema>;
56
+ export declare const GetOngoingRegularStakeholderByIdSchema: z.ZodObject<{
57
+ filters: z.ZodOptional<z.ZodString>;
58
+ limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
59
+ offset: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
60
+ }, z.core.$strip>;
61
+ export type GetOngoingRegularStakeholderByIdParams = z.infer<typeof GetOngoingRegularStakeholderByIdSchema>;
62
+ export declare const ManageRiskMitigationSchema: z.ZodObject<{
63
+ request_payload: z.ZodString;
64
+ }, z.core.$strip>;
65
+ export type ManageRiskMitigationInput = z.infer<typeof ManageRiskMitigationSchema>;
66
+ export declare const QueryRiskMitigationSchema: z.ZodObject<{
67
+ request_payload: z.ZodString;
68
+ }, z.core.$strip>;
69
+ export type QueryRiskMitigationInput = z.infer<typeof QueryRiskMitigationSchema>;
70
+ export declare const GetRiskMitigationPlanSchema: z.ZodObject<{
71
+ filters: z.ZodOptional<z.ZodString>;
72
+ limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
73
+ offset: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
74
+ }, z.core.$strip>;
75
+ export type GetRiskMitigationPlanParams = z.infer<typeof GetRiskMitigationPlanSchema>;
76
+ export declare const GetRiskMitigationPlanByIdSchema: z.ZodObject<{
77
+ filters: z.ZodOptional<z.ZodString>;
78
+ limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
79
+ offset: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
80
+ }, z.core.$strip>;
81
+ export type GetRiskMitigationPlanByIdParams = z.infer<typeof GetRiskMitigationPlanByIdSchema>;
82
+ export declare const ManageTargetEnterpriseSchema: z.ZodObject<{
83
+ request_payload: z.ZodString;
84
+ }, z.core.$strip>;
85
+ export type ManageTargetEnterpriseInput = z.infer<typeof ManageTargetEnterpriseSchema>;
86
+ export declare const QueryTargetEnterpriseSchema: z.ZodObject<{
87
+ request_payload: z.ZodString;
88
+ }, z.core.$strip>;
89
+ export type QueryTargetEnterpriseInput = z.infer<typeof QueryTargetEnterpriseSchema>;
90
+ export declare const GetManageTargetEnterpriseSchema: z.ZodObject<{
91
+ filters: z.ZodOptional<z.ZodString>;
92
+ limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
93
+ offset: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
94
+ }, z.core.$strip>;
95
+ export type GetManageTargetEnterpriseParams = z.infer<typeof GetManageTargetEnterpriseSchema>;
96
+ export declare const GetQueryTargetEnterpriseSchema: z.ZodObject<{
97
+ filters: z.ZodOptional<z.ZodString>;
98
+ limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
99
+ offset: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
100
+ }, z.core.$strip>;
101
+ export type GetQueryTargetEnterpriseParams = z.infer<typeof GetQueryTargetEnterpriseSchema>;
102
+ export declare const GetTargetEnterpriseSystemSchema: z.ZodObject<{
103
+ filters: z.ZodOptional<z.ZodString>;
104
+ limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
105
+ offset: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
106
+ }, z.core.$strip>;
107
+ export type GetTargetEnterpriseSystemParams = z.infer<typeof GetTargetEnterpriseSystemSchema>;
108
+ export declare const GetTargetEnterpriseSystemByIdSchema: z.ZodObject<{
109
+ filters: z.ZodOptional<z.ZodString>;
110
+ limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
111
+ offset: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
112
+ }, z.core.$strip>;
113
+ export type GetTargetEnterpriseSystemByIdParams = z.infer<typeof GetTargetEnterpriseSystemByIdSchema>;
114
+ export declare const ManageUnderwritingSchema: z.ZodObject<{
115
+ request_payload: z.ZodString;
116
+ }, z.core.$strip>;
117
+ export type ManageUnderwritingInput = z.infer<typeof ManageUnderwritingSchema>;
118
+ export declare const QueryUnderwritingSchema: z.ZodObject<{
119
+ request_payload: z.ZodString;
120
+ }, z.core.$strip>;
121
+ export type QueryUnderwritingInput = z.infer<typeof QueryUnderwritingSchema>;
122
+ export declare const ListUnderwritingSchema: z.ZodObject<{
123
+ filters: z.ZodOptional<z.ZodString>;
124
+ limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
125
+ offset: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
126
+ }, z.core.$strip>;
127
+ export type ListUnderwritingParams = z.infer<typeof ListUnderwritingSchema>;
128
+ export declare const GetUnderwritingByIdSchema: z.ZodObject<{
129
+ filters: z.ZodOptional<z.ZodString>;
130
+ limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
131
+ offset: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
132
+ }, z.core.$strip>;
133
+ export type GetUnderwritingByIdParams = z.infer<typeof GetUnderwritingByIdSchema>;
134
+ export declare const ManageScopedPilotSchema: z.ZodObject<{
135
+ request_payload: z.ZodString;
136
+ }, z.core.$strip>;
137
+ export type ManageScopedPilotInput = z.infer<typeof ManageScopedPilotSchema>;
138
+ export declare const QueryScopedPilotSchema: z.ZodObject<{
139
+ request_payload: z.ZodString;
140
+ }, z.core.$strip>;
141
+ export type QueryScopedPilotInput = z.infer<typeof QueryScopedPilotSchema>;
142
+ export declare const GetScopedPilotReduceSchema: z.ZodObject<{
143
+ filters: z.ZodOptional<z.ZodString>;
144
+ limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
145
+ offset: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
146
+ }, z.core.$strip>;
147
+ export type GetScopedPilotReduceParams = z.infer<typeof GetScopedPilotReduceSchema>;
148
+ export declare const GetScopedPilotReduceByIdSchema: z.ZodObject<{
149
+ filters: z.ZodOptional<z.ZodString>;
150
+ limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
151
+ offset: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
152
+ }, z.core.$strip>;
153
+ export type GetScopedPilotReduceByIdParams = z.infer<typeof GetScopedPilotReduceByIdSchema>;
154
+ export declare const ManageReEvaluateSchema: z.ZodObject<{
155
+ request_payload: z.ZodString;
156
+ }, z.core.$strip>;
157
+ export type ManageReEvaluateInput = z.infer<typeof ManageReEvaluateSchema>;
158
+ export declare const QueryReEvaluateSchema: z.ZodObject<{
159
+ request_payload: z.ZodString;
160
+ }, z.core.$strip>;
161
+ export type QueryReEvaluateInput = z.infer<typeof QueryReEvaluateSchema>;
162
+ export declare const GetReEvaluateRiskSchema: z.ZodObject<{
163
+ filters: z.ZodOptional<z.ZodString>;
164
+ limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
165
+ offset: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
166
+ }, z.core.$strip>;
167
+ export type GetReEvaluateRiskParams = z.infer<typeof GetReEvaluateRiskSchema>;
168
+ export declare const GetReEvaluateRiskByIdSchema: z.ZodObject<{
169
+ filters: z.ZodOptional<z.ZodString>;
170
+ limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
171
+ offset: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
172
+ }, z.core.$strip>;
173
+ export type GetReEvaluateRiskByIdParams = z.infer<typeof GetReEvaluateRiskByIdSchema>;
174
+ export declare const ManageRecommendationSchema: z.ZodObject<{
175
+ request_payload: z.ZodString;
176
+ }, z.core.$strip>;
177
+ export type ManageRecommendationInput = z.infer<typeof ManageRecommendationSchema>;
178
+ export declare const QueryRecommendationSchema: z.ZodObject<{
179
+ request_payload: z.ZodString;
180
+ }, z.core.$strip>;
181
+ export type QueryRecommendationInput = z.infer<typeof QueryRecommendationSchema>;
182
+ export declare const ListRecommendationSchema: z.ZodObject<{
183
+ filters: z.ZodOptional<z.ZodString>;
184
+ limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
185
+ offset: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
186
+ }, z.core.$strip>;
187
+ export type ListRecommendationParams = z.infer<typeof ListRecommendationSchema>;
188
+ export declare const GetRecommendationByIdSchema: z.ZodObject<{
189
+ filters: z.ZodOptional<z.ZodString>;
190
+ limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
191
+ offset: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
192
+ }, z.core.$strip>;
193
+ export type GetRecommendationByIdParams = z.infer<typeof GetRecommendationByIdSchema>;
194
+ export declare const RouteRequestsSchema: z.ZodObject<{
195
+ request_payload: z.ZodString;
196
+ }, z.core.$strip>;
197
+ export type RouteRequestsInput = z.infer<typeof RouteRequestsSchema>;
198
+ export declare const AuthenticateSchema: z.ZodObject<{
199
+ request_payload: z.ZodString;
200
+ }, z.core.$strip>;
201
+ export type AuthenticateInput = z.infer<typeof AuthenticateSchema>;
202
+ export declare const RateLimitSchema: z.ZodObject<{
203
+ request_payload: z.ZodString;
204
+ }, z.core.$strip>;
205
+ export type RateLimitInput = z.infer<typeof RateLimitSchema>;
206
+ export declare const GetApiGatewaySchema: z.ZodObject<{
207
+ filters: z.ZodOptional<z.ZodString>;
208
+ limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
209
+ offset: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
210
+ }, z.core.$strip>;
211
+ export type GetApiGatewayParams = z.infer<typeof GetApiGatewaySchema>;
212
+ export declare const GetApiGatewayByIdSchema: z.ZodObject<{
213
+ filters: z.ZodOptional<z.ZodString>;
214
+ limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
215
+ offset: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
216
+ }, z.core.$strip>;
217
+ export type GetApiGatewayByIdParams = z.infer<typeof GetApiGatewayByIdSchema>;
@@ -0,0 +1,185 @@
1
+ // Generated by Phase 4 pipeline — do not edit manually
2
+ import { z } from 'zod';
3
+ // === DomainEnterpriseSolution Schemas ===
4
+ export const ManageDomainEnterpriseSchema = z.object({
5
+ request_payload: z.string().min(1),
6
+ });
7
+ export const QueryDomainEnterpriseSchema = z.object({
8
+ request_payload: z.string().min(1),
9
+ });
10
+ export const GetDomainEnterpriseSolutionSchema = z.object({
11
+ filters: z.string().optional(),
12
+ limit: z.coerce.number().int().positive().default(50),
13
+ offset: z.coerce.number().int().nonnegative().default(0),
14
+ });
15
+ export const GetDomainEnterpriseSolutionByIdSchema = z.object({
16
+ filters: z.string().optional(),
17
+ limit: z.coerce.number().int().positive().default(50),
18
+ offset: z.coerce.number().int().nonnegative().default(0),
19
+ });
20
+ // === MonitoringAlerts Schemas ===
21
+ export const ManageMonitoringAlertsSchema = z.object({
22
+ request_payload: z.string().min(1),
23
+ });
24
+ export const QueryMonitoringAlertsSchema = z.object({
25
+ request_payload: z.string().min(1),
26
+ });
27
+ export const GetMonitoringAlertsSchema = z.object({
28
+ filters: z.string().optional(),
29
+ limit: z.coerce.number().int().positive().default(50),
30
+ offset: z.coerce.number().int().nonnegative().default(0),
31
+ });
32
+ export const GetMonitoringAlertsByIdSchema = z.object({
33
+ filters: z.string().optional(),
34
+ limit: z.coerce.number().int().positive().default(50),
35
+ offset: z.coerce.number().int().nonnegative().default(0),
36
+ });
37
+ // === OngoingRegularStakeholder Schemas ===
38
+ export const ManageOngoingRegularSchema = z.object({
39
+ request_payload: z.string().min(1),
40
+ });
41
+ export const QueryOngoingRegularSchema = z.object({
42
+ request_payload: z.string().min(1),
43
+ });
44
+ export const GetOngoingRegularStakeholderSchema = z.object({
45
+ filters: z.string().optional(),
46
+ limit: z.coerce.number().int().positive().default(50),
47
+ offset: z.coerce.number().int().nonnegative().default(0),
48
+ });
49
+ export const GetOngoingRegularStakeholderByIdSchema = z.object({
50
+ filters: z.string().optional(),
51
+ limit: z.coerce.number().int().positive().default(50),
52
+ offset: z.coerce.number().int().nonnegative().default(0),
53
+ });
54
+ // === RiskMitigationPlan Schemas ===
55
+ export const ManageRiskMitigationSchema = z.object({
56
+ request_payload: z.string().min(1),
57
+ });
58
+ export const QueryRiskMitigationSchema = z.object({
59
+ request_payload: z.string().min(1),
60
+ });
61
+ export const GetRiskMitigationPlanSchema = z.object({
62
+ filters: z.string().optional(),
63
+ limit: z.coerce.number().int().positive().default(50),
64
+ offset: z.coerce.number().int().nonnegative().default(0),
65
+ });
66
+ export const GetRiskMitigationPlanByIdSchema = z.object({
67
+ filters: z.string().optional(),
68
+ limit: z.coerce.number().int().positive().default(50),
69
+ offset: z.coerce.number().int().nonnegative().default(0),
70
+ });
71
+ // === TargetEnterpriseSystem Schemas ===
72
+ export const ManageTargetEnterpriseSchema = z.object({
73
+ request_payload: z.string().min(1),
74
+ });
75
+ export const QueryTargetEnterpriseSchema = z.object({
76
+ request_payload: z.string().min(1),
77
+ });
78
+ export const GetManageTargetEnterpriseSchema = z.object({
79
+ filters: z.string().optional(),
80
+ limit: z.coerce.number().int().positive().default(50),
81
+ offset: z.coerce.number().int().nonnegative().default(0),
82
+ });
83
+ export const GetQueryTargetEnterpriseSchema = z.object({
84
+ filters: z.string().optional(),
85
+ limit: z.coerce.number().int().positive().default(50),
86
+ offset: z.coerce.number().int().nonnegative().default(0),
87
+ });
88
+ export const GetTargetEnterpriseSystemSchema = z.object({
89
+ filters: z.string().optional(),
90
+ limit: z.coerce.number().int().positive().default(50),
91
+ offset: z.coerce.number().int().nonnegative().default(0),
92
+ });
93
+ export const GetTargetEnterpriseSystemByIdSchema = z.object({
94
+ filters: z.string().optional(),
95
+ limit: z.coerce.number().int().positive().default(50),
96
+ offset: z.coerce.number().int().nonnegative().default(0),
97
+ });
98
+ // === Underwriting Schemas ===
99
+ export const ManageUnderwritingSchema = z.object({
100
+ request_payload: z.string().min(1),
101
+ });
102
+ export const QueryUnderwritingSchema = z.object({
103
+ request_payload: z.string().min(1),
104
+ });
105
+ export const ListUnderwritingSchema = z.object({
106
+ filters: z.string().optional(),
107
+ limit: z.coerce.number().int().positive().default(50),
108
+ offset: z.coerce.number().int().nonnegative().default(0),
109
+ });
110
+ export const GetUnderwritingByIdSchema = z.object({
111
+ filters: z.string().optional(),
112
+ limit: z.coerce.number().int().positive().default(50),
113
+ offset: z.coerce.number().int().nonnegative().default(0),
114
+ });
115
+ // === ScopedPilotReduce Schemas ===
116
+ export const ManageScopedPilotSchema = z.object({
117
+ request_payload: z.string().min(1),
118
+ });
119
+ export const QueryScopedPilotSchema = z.object({
120
+ request_payload: z.string().min(1),
121
+ });
122
+ export const GetScopedPilotReduceSchema = z.object({
123
+ filters: z.string().optional(),
124
+ limit: z.coerce.number().int().positive().default(50),
125
+ offset: z.coerce.number().int().nonnegative().default(0),
126
+ });
127
+ export const GetScopedPilotReduceByIdSchema = z.object({
128
+ filters: z.string().optional(),
129
+ limit: z.coerce.number().int().positive().default(50),
130
+ offset: z.coerce.number().int().nonnegative().default(0),
131
+ });
132
+ // === ReEvaluateRisk Schemas ===
133
+ export const ManageReEvaluateSchema = z.object({
134
+ request_payload: z.string().min(1),
135
+ });
136
+ export const QueryReEvaluateSchema = z.object({
137
+ request_payload: z.string().min(1),
138
+ });
139
+ export const GetReEvaluateRiskSchema = z.object({
140
+ filters: z.string().optional(),
141
+ limit: z.coerce.number().int().positive().default(50),
142
+ offset: z.coerce.number().int().nonnegative().default(0),
143
+ });
144
+ export const GetReEvaluateRiskByIdSchema = z.object({
145
+ filters: z.string().optional(),
146
+ limit: z.coerce.number().int().positive().default(50),
147
+ offset: z.coerce.number().int().nonnegative().default(0),
148
+ });
149
+ // === Recommendation Schemas ===
150
+ export const ManageRecommendationSchema = z.object({
151
+ request_payload: z.string().min(1),
152
+ });
153
+ export const QueryRecommendationSchema = z.object({
154
+ request_payload: z.string().min(1),
155
+ });
156
+ export const ListRecommendationSchema = z.object({
157
+ filters: z.string().optional(),
158
+ limit: z.coerce.number().int().positive().default(50),
159
+ offset: z.coerce.number().int().nonnegative().default(0),
160
+ });
161
+ export const GetRecommendationByIdSchema = z.object({
162
+ filters: z.string().optional(),
163
+ limit: z.coerce.number().int().positive().default(50),
164
+ offset: z.coerce.number().int().nonnegative().default(0),
165
+ });
166
+ // === ApiGateway Schemas ===
167
+ export const RouteRequestsSchema = z.object({
168
+ request_payload: z.string().min(1),
169
+ });
170
+ export const AuthenticateSchema = z.object({
171
+ request_payload: z.string().min(1),
172
+ });
173
+ export const RateLimitSchema = z.object({
174
+ request_payload: z.string().min(1),
175
+ });
176
+ export const GetApiGatewaySchema = z.object({
177
+ filters: z.string().optional(),
178
+ limit: z.coerce.number().int().positive().default(50),
179
+ offset: z.coerce.number().int().nonnegative().default(0),
180
+ });
181
+ export const GetApiGatewayByIdSchema = z.object({
182
+ filters: z.string().optional(),
183
+ limit: z.coerce.number().int().positive().default(50),
184
+ offset: z.coerce.number().int().nonnegative().default(0),
185
+ });
@@ -0,0 +1,25 @@
1
+ import type { TargetEnterpriseSystemPort, TargetEnterpriseSystemInput, TargetEnterpriseSystem } from '../ports/target-enterprise-system.js';
2
+ import type { Telemetry } from '../../infra/telemetry.js';
3
+ import type { DbClient, ErpClient } from '../../infra/clients.js';
4
+ /**
5
+ * Infrastructure adapter: TargetEnterpriseSystemAdapter
6
+ * Bounded context: target-enterprise-system
7
+ * ERP system: infor
8
+ *
9
+ * Bridges the TargetEnterpriseSystemPort port to the infor ERP system
10
+ * and the underlying database client.
11
+ */
12
+ export declare class TargetEnterpriseSystemAdapter implements TargetEnterpriseSystemPort {
13
+ private readonly db;
14
+ private readonly erp;
15
+ private readonly telemetry;
16
+ constructor(db: DbClient, erp: ErpClient, telemetry: Telemetry);
17
+ /** Creates or updates target-enterprise-system record */
18
+ manageTargetEnterprise(input: TargetEnterpriseSystemInput): Promise<TargetEnterpriseSystem>;
19
+ /** Creates or updates target-enterprise-system record */
20
+ queryTargetEnterprise(input: TargetEnterpriseSystemInput): Promise<TargetEnterpriseSystem>;
21
+ /** Returns target-enterprise-system data */
22
+ listTargetEnterpriseSystem(input: Record<string, unknown>): Promise<TargetEnterpriseSystem[]>;
23
+ /** Returns target-enterprise-system data */
24
+ id(input: Record<string, unknown>): Promise<TargetEnterpriseSystem[]>;
25
+ }
@@ -0,0 +1,47 @@
1
+ // Generated by Phase 4 pipeline — do not edit manually
2
+ /**
3
+ * Infrastructure adapter: TargetEnterpriseSystemAdapter
4
+ * Bounded context: target-enterprise-system
5
+ * ERP system: infor
6
+ *
7
+ * Bridges the TargetEnterpriseSystemPort port to the infor ERP system
8
+ * and the underlying database client.
9
+ */
10
+ export class TargetEnterpriseSystemAdapter {
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 target-enterprise-system record */
20
+ async manageTargetEnterprise(input) {
21
+ return this.telemetry.withSpan('target_enterprise_system', 'manageTargetEnterprise', {}, async () => {
22
+ const result = await this.erp.invoke('manageTargetEnterprise', input);
23
+ return result;
24
+ });
25
+ }
26
+ /** Creates or updates target-enterprise-system record */
27
+ async queryTargetEnterprise(input) {
28
+ return this.telemetry.withSpan('target_enterprise_system', 'queryTargetEnterprise', {}, async () => {
29
+ const rows = await this.db.query('SELECT * FROM target_enterprise_system WHERE 1=1', []);
30
+ return rows;
31
+ });
32
+ }
33
+ /** Returns target-enterprise-system data */
34
+ async listTargetEnterpriseSystem(input) {
35
+ return this.telemetry.withSpan('target_enterprise_system', 'listTargetEnterpriseSystem', {}, async () => {
36
+ const rows = await this.db.query('SELECT * FROM target_enterprise_system WHERE 1=1', []);
37
+ return rows;
38
+ });
39
+ }
40
+ /** Returns target-enterprise-system data */
41
+ async id(input) {
42
+ return this.telemetry.withSpan('target_enterprise_system', '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: target-enterprise-system
3
+ */
4
+ export interface TargetEnterpriseSystemInput {
5
+ readonly id: string;
6
+ readonly target_enterprise_system_id: string;
7
+ }
8
+ export interface TargetEnterpriseSystem {
9
+ readonly id: string;
10
+ readonly created_at: string;
11
+ readonly updated_at: string;
12
+ readonly status: 'active' | 'inactive' | 'pending' | 'completed' | 'error';
13
+ readonly target_enterprise_system_id: string;
14
+ }
15
+ export interface TargetEnterpriseSystemPort {
16
+ /** Creates or updates target-enterprise-system record */
17
+ manageTargetEnterprise(input: TargetEnterpriseSystemInput): Promise<TargetEnterpriseSystem>;
18
+ /** Creates or updates target-enterprise-system record */
19
+ queryTargetEnterprise(input: TargetEnterpriseSystemInput): Promise<TargetEnterpriseSystem>;
20
+ /** Returns target-enterprise-system data */
21
+ listTargetEnterpriseSystem(input: Record<string, unknown>): Promise<TargetEnterpriseSystem[]>;
22
+ /** Returns target-enterprise-system data */
23
+ id(input: Record<string, unknown>): Promise<TargetEnterpriseSystem[]>;
24
+ }
@@ -0,0 +1,2 @@
1
+ // Generated by Phase 4 pipeline — do not edit manually
2
+ export {};
@@ -0,0 +1,25 @@
1
+ import type { UnderwritingPort, UnderwritingInput, Underwriting } from '../ports/underwriting.js';
2
+ import type { Telemetry } from '../../infra/telemetry.js';
3
+ import type { DbClient, ErpClient } from '../../infra/clients.js';
4
+ /**
5
+ * Infrastructure adapter: UnderwritingAdapter
6
+ * Bounded context: underwriting
7
+ * ERP system: infor
8
+ *
9
+ * Bridges the UnderwritingPort port to the infor ERP system
10
+ * and the underlying database client.
11
+ */
12
+ export declare class UnderwritingAdapter implements UnderwritingPort {
13
+ private readonly db;
14
+ private readonly erp;
15
+ private readonly telemetry;
16
+ constructor(db: DbClient, erp: ErpClient, telemetry: Telemetry);
17
+ /** Creates or updates underwriting record */
18
+ manageUnderwriting(input: UnderwritingInput): Promise<Underwriting>;
19
+ /** Creates or updates underwriting record */
20
+ queryUnderwriting(input: UnderwritingInput): Promise<Underwriting>;
21
+ /** Returns underwriting data */
22
+ listUnderwriting(input: Record<string, unknown>): Promise<Underwriting[]>;
23
+ /** Returns underwriting data */
24
+ id(input: Record<string, unknown>): Promise<Underwriting[]>;
25
+ }
@@ -0,0 +1,47 @@
1
+ // Generated by Phase 4 pipeline — do not edit manually
2
+ /**
3
+ * Infrastructure adapter: UnderwritingAdapter
4
+ * Bounded context: underwriting
5
+ * ERP system: infor
6
+ *
7
+ * Bridges the UnderwritingPort port to the infor ERP system
8
+ * and the underlying database client.
9
+ */
10
+ export class UnderwritingAdapter {
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 underwriting record */
20
+ async manageUnderwriting(input) {
21
+ return this.telemetry.withSpan('underwriting', 'manageUnderwriting', {}, async () => {
22
+ const result = await this.erp.invoke('manageUnderwriting', input);
23
+ return result;
24
+ });
25
+ }
26
+ /** Creates or updates underwriting record */
27
+ async queryUnderwriting(input) {
28
+ return this.telemetry.withSpan('underwriting', 'queryUnderwriting', {}, async () => {
29
+ const rows = await this.db.query('SELECT * FROM underwriting WHERE 1=1', []);
30
+ return rows;
31
+ });
32
+ }
33
+ /** Returns underwriting data */
34
+ async listUnderwriting(input) {
35
+ return this.telemetry.withSpan('underwriting', 'listUnderwriting', {}, async () => {
36
+ const rows = await this.db.query('SELECT * FROM underwriting WHERE 1=1', []);
37
+ return rows;
38
+ });
39
+ }
40
+ /** Returns underwriting data */
41
+ async id(input) {
42
+ return this.telemetry.withSpan('underwriting', '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: underwriting
3
+ */
4
+ export interface UnderwritingInput {
5
+ readonly id: string;
6
+ readonly underwriting_id: string;
7
+ }
8
+ export interface Underwriting {
9
+ readonly id: string;
10
+ readonly created_at: string;
11
+ readonly updated_at: string;
12
+ readonly status: 'active' | 'inactive' | 'pending' | 'completed' | 'error';
13
+ readonly underwriting_id: string;
14
+ }
15
+ export interface UnderwritingPort {
16
+ /** Creates or updates underwriting record */
17
+ manageUnderwriting(input: UnderwritingInput): Promise<Underwriting>;
18
+ /** Creates or updates underwriting record */
19
+ queryUnderwriting(input: UnderwritingInput): Promise<Underwriting>;
20
+ /** Returns underwriting data */
21
+ listUnderwriting(input: Record<string, unknown>): Promise<Underwriting[]>;
22
+ /** Returns underwriting data */
23
+ id(input: Record<string, unknown>): Promise<Underwriting[]>;
24
+ }
@@ -0,0 +1,2 @@
1
+ // Generated by Phase 4 pipeline — do not edit manually
2
+ export {};