@open-mercato/cli 0.6.7-develop.6795.1.8a3f27921c → 0.6.7-develop.6814.1.0627c7e9f1
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/.turbo/turbo-build.log +1 -1
- package/build.mjs +1 -1
- package/dist/agentic/guides/module-facts.json +90266 -20749
- package/dist/agentic/guides/modules/ai_assistant.md +170 -60
- package/dist/agentic/guides/modules/api_docs.md +26 -1
- package/dist/agentic/guides/modules/api_keys.md +57 -17
- package/dist/agentic/guides/modules/attachments.md +72 -19
- package/dist/agentic/guides/modules/audit_logs.md +95 -29
- package/dist/agentic/guides/modules/auth.md +218 -83
- package/dist/agentic/guides/modules/business_rules.md +108 -34
- package/dist/agentic/guides/modules/catalog.md +386 -157
- package/dist/agentic/guides/modules/channel_gmail.md +55 -6
- package/dist/agentic/guides/modules/channel_imap.md +55 -6
- package/dist/agentic/guides/modules/checkout.md +254 -129
- package/dist/agentic/guides/modules/communication_channels.md +280 -109
- package/dist/agentic/guides/modules/configs.md +68 -11
- package/dist/agentic/guides/modules/content.md +26 -1
- package/dist/agentic/guides/modules/currencies.md +109 -44
- package/dist/agentic/guides/modules/customer_accounts.md +350 -156
- package/dist/agentic/guides/modules/customers.md +642 -294
- package/dist/agentic/guides/modules/dashboards.md +122 -28
- package/dist/agentic/guides/modules/data_sync.md +117 -37
- package/dist/agentic/guides/modules/design_system.md +36 -2
- package/dist/agentic/guides/modules/dictionaries.md +78 -20
- package/dist/agentic/guides/modules/directory.md +110 -45
- package/dist/agentic/guides/modules/entities.md +95 -38
- package/dist/agentic/guides/modules/events.md +31 -1
- package/dist/agentic/guides/modules/feature_toggles.md +79 -12
- package/dist/agentic/guides/modules/gateway_stripe.md +61 -6
- package/dist/agentic/guides/modules/generators.md +17 -1
- package/dist/agentic/guides/modules/inbox_ops.md +171 -60
- package/dist/agentic/guides/modules/integrations.md +116 -30
- package/dist/agentic/guides/modules/messages.md +187 -66
- package/dist/agentic/guides/modules/notifications.md +64 -9
- package/dist/agentic/guides/modules/onboarding.md +47 -8
- package/dist/agentic/guides/modules/payment_gateways.md +133 -48
- package/dist/agentic/guides/modules/perspectives.md +50 -12
- package/dist/agentic/guides/modules/planner.md +102 -32
- package/dist/agentic/guides/modules/portal.md +58 -15
- package/dist/agentic/guides/modules/progress.md +78 -30
- package/dist/agentic/guides/modules/query_index.md +115 -53
- package/dist/agentic/guides/modules/record_locks.md +178 -59
- package/dist/agentic/guides/modules/resources.md +155 -78
- package/dist/agentic/guides/modules/sales.md +620 -257
- package/dist/agentic/guides/modules/scheduler.md +95 -19
- package/dist/agentic/guides/modules/search.md +124 -20
- package/dist/agentic/guides/modules/security.md +251 -105
- package/dist/agentic/guides/modules/shipping_carriers.md +106 -37
- package/dist/agentic/guides/modules/sso.md +121 -49
- package/dist/agentic/guides/modules/staff.md +314 -126
- package/dist/agentic/guides/modules/storage_s3.md +55 -6
- package/dist/agentic/guides/modules/sync_akeneo.md +54 -4
- package/dist/agentic/guides/modules/sync_excel.md +49 -11
- package/dist/agentic/guides/modules/system_status_overlays.md +33 -5
- package/dist/agentic/guides/modules/translations.md +76 -21
- package/dist/agentic/guides/modules/webhooks.md +166 -82
- package/dist/agentic/guides/modules/wms.md +383 -223
- package/dist/agentic/guides/modules/workflows.md +248 -112
- package/dist/agentic/guides/upstream/AGENTS.md +1 -1
- package/dist/agentic/guides/upstream/manifest.json +2 -2
- package/dist/agentic/shared/AGENTS.md.template +6 -5
- package/dist/agentic/shared/ai/harness/cases.json +3 -0
- package/dist/agentic/shared/ai/lessons/_template.md +16 -0
- package/dist/agentic/shared/ai/lessons.md +26 -3
- package/dist/agentic/shared/ai/skills/om-evolve-harness/SKILL.md +7 -6
- package/dist/agentic/shared/ai/skills/om-system-extension/references/unified-overrides.md +4 -2
- package/dist/agentic/shared/scripts/check-lessons.mjs +178 -0
- package/dist/lib/agentic-setup.js +2 -2
- package/dist/lib/agentic-setup.js.map +2 -2
- package/dist/lib/generators/module-extension-facts.js +652 -24
- package/dist/lib/generators/module-extension-facts.js.map +3 -3
- package/dist/lib/generators/module-fact-sources.js +70 -0
- package/dist/lib/generators/module-fact-sources.js.map +7 -0
- package/dist/lib/generators/module-facts.js +1001 -26
- package/dist/lib/generators/module-facts.js.map +3 -3
- package/dist/lib/generators/module-override-targets.js +688 -0
- package/dist/lib/generators/module-override-targets.js.map +7 -0
- package/dist/lib/testing/integration.js +5 -0
- package/dist/lib/testing/integration.js.map +2 -2
- package/package.json +5 -5
- package/src/lib/__tests__/agentic-setup.ownership.test.ts +6 -0
- package/src/lib/agentic-setup.ts +6 -2
- package/src/lib/generators/__tests__/activation-adapter-coverage.test.ts +92 -0
- package/src/lib/generators/__tests__/module-extension-activations.test.ts +762 -0
- package/src/lib/generators/__tests__/module-extension-facts.test.ts +4 -2
- package/src/lib/generators/__tests__/module-facts.bc-guard.test.ts +37 -3
- package/src/lib/generators/__tests__/module-facts.owned-contracts.test.ts +561 -0
- package/src/lib/generators/__tests__/module-override-targets.roundtrip.test.ts +149 -0
- package/src/lib/generators/__tests__/module-override-targets.test.ts +304 -0
- package/src/lib/generators/module-extension-facts.ts +923 -27
- package/src/lib/generators/module-fact-sources.ts +108 -0
- package/src/lib/generators/module-facts.ts +1360 -25
- package/src/lib/generators/module-override-targets.ts +863 -0
- package/src/lib/testing/__tests__/integration.test.ts +4 -0
- package/src/lib/testing/integration.ts +5 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
# notifications — module facts (generated, do not edit)
|
|
2
|
-
<!-- generated from @open-mercato/core 0.6.7-develop.
|
|
2
|
+
<!-- generated from @open-mercato/core 0.6.7-develop.6814.1.0627c7e9f1; core 0.6.7-develop.6814.1.0627c7e9f1 — R1 staleness stamp -->
|
|
3
3
|
Source root: [node_modules/@open-mercato/core/src/modules/notifications](../../../node_modules/@open-mercato/core/src/modules/notifications)
|
|
4
4
|
|
|
5
5
|
## Entities
|
|
6
6
|
|
|
7
|
-
| Entity ID | Class | Table | Editable | CustomFields |
|
|
8
|
-
|
|
9
|
-
| notifications:notification | Notification | notifications | no | no |
|
|
7
|
+
| Entity ID | Class | Table | Editable | CustomFields | Source |
|
|
8
|
+
|---|---|---|---|---|---|
|
|
9
|
+
| notifications:notification | Notification | notifications | no | no | [node_modules/@open-mercato/core/src/modules/notifications/data/entities.ts](../../../node_modules/@open-mercato/core/src/modules/notifications/data/entities.ts) |
|
|
10
10
|
|
|
11
11
|
## Events (0)
|
|
12
12
|
|
|
@@ -14,7 +14,11 @@ _none_
|
|
|
14
14
|
|
|
15
15
|
## ACL features (3)
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
| Feature | Source |
|
|
18
|
+
|---|---|
|
|
19
|
+
| notifications.view | [node_modules/@open-mercato/core/src/modules/notifications/acl.ts](../../../node_modules/@open-mercato/core/src/modules/notifications/acl.ts) |
|
|
20
|
+
| notifications.create | [node_modules/@open-mercato/core/src/modules/notifications/acl.ts](../../../node_modules/@open-mercato/core/src/modules/notifications/acl.ts) |
|
|
21
|
+
| notifications.manage | [node_modules/@open-mercato/core/src/modules/notifications/acl.ts](../../../node_modules/@open-mercato/core/src/modules/notifications/acl.ts) |
|
|
18
22
|
|
|
19
23
|
## API routes
|
|
20
24
|
|
|
@@ -32,7 +36,9 @@ _none_
|
|
|
32
36
|
|
|
33
37
|
## DI service tokens
|
|
34
38
|
|
|
35
|
-
|
|
39
|
+
| Token | Source |
|
|
40
|
+
|---|---|
|
|
41
|
+
| notificationService | [node_modules/@open-mercato/core/src/modules/notifications/di.ts:7](../../../node_modules/@open-mercato/core/src/modules/notifications/di.ts#L7) |
|
|
36
42
|
|
|
37
43
|
## Search entities
|
|
38
44
|
|
|
@@ -45,14 +51,26 @@ _none_
|
|
|
45
51
|
|
|
46
52
|
## UMES hosts
|
|
47
53
|
|
|
48
|
-
| ID / pattern | Family | Supports | Context | Stability |
|
|
49
|
-
|
|
50
|
-
| notifications:notification | entity | response-enricher, query-enricher, mutation-guard, entity-extension | tenant-and-organization | STABLE |
|
|
54
|
+
| ID / pattern | Family | Supports | Context | Stability | Source |
|
|
55
|
+
|---|---|---|---|---|---|
|
|
56
|
+
| notifications:notification | entity | response-enricher, query-enricher, mutation-guard, entity-extension | tenant-and-organization | STABLE | entities:notifications:notification |
|
|
51
57
|
|
|
52
58
|
## UMES contributions
|
|
53
59
|
|
|
54
60
|
_none_
|
|
55
61
|
|
|
62
|
+
## Active extension bindings
|
|
63
|
+
|
|
64
|
+
_none_
|
|
65
|
+
|
|
66
|
+
## Incoming installed contributions
|
|
67
|
+
|
|
68
|
+
_none_
|
|
69
|
+
|
|
70
|
+
## Contribution resolutions
|
|
71
|
+
|
|
72
|
+
_none_
|
|
73
|
+
|
|
56
74
|
|
|
57
75
|
|
|
58
76
|
## Notifications
|
|
@@ -72,3 +90,40 @@ _none_
|
|
|
72
90
|
## AI agents
|
|
73
91
|
|
|
74
92
|
_none_
|
|
93
|
+
|
|
94
|
+
## Exact override targets
|
|
95
|
+
|
|
96
|
+
| Domain | Path / key | Supported modes | Referenced fact | Source |
|
|
97
|
+
|---|---|---|---|---|
|
|
98
|
+
| acl | `overrides.acl.features["notifications.create"]` | disable-replace | aclFeatures:notifications.create | [node_modules/@open-mercato/core/src/modules/notifications/acl.ts](../../../node_modules/@open-mercato/core/src/modules/notifications/acl.ts) |
|
|
99
|
+
| acl | `overrides.acl.features["notifications.manage"]` | disable-replace | aclFeatures:notifications.manage | [node_modules/@open-mercato/core/src/modules/notifications/acl.ts](../../../node_modules/@open-mercato/core/src/modules/notifications/acl.ts) |
|
|
100
|
+
| acl | `overrides.acl.features["notifications.view"]` | disable-replace | aclFeatures:notifications.view | [node_modules/@open-mercato/core/src/modules/notifications/acl.ts](../../../node_modules/@open-mercato/core/src/modules/notifications/acl.ts) |
|
|
101
|
+
| cli | `overrides.cli["cleanup-expired"]` | disable-replace | cliCommands:cleanup-expired | [node_modules/@open-mercato/core/src/modules/notifications/cli.ts](../../../node_modules/@open-mercato/core/src/modules/notifications/cli.ts) |
|
|
102
|
+
| di | `overrides.di["notificationService"]` | disable-replace | ownedContracts.di-registration:notificationService | [node_modules/@open-mercato/core/src/modules/notifications/di.ts:7](../../../node_modules/@open-mercato/core/src/modules/notifications/di.ts#L7) |
|
|
103
|
+
| routes | `overrides.routes.pages["backend:/backend/config/notifications"]` | disable-replace | backendPages:/backend/config/notifications | [node_modules/@open-mercato/core/src/modules/notifications/backend/config/notifications/page.tsx](../../../node_modules/@open-mercato/core/src/modules/notifications/backend/config/notifications/page.tsx) |
|
|
104
|
+
| setup | `overrides.setup.defaultRoleFeatures` | replace | ownedContracts.setup:notifications:setup | [node_modules/@open-mercato/core/src/modules/notifications/setup.ts:3](../../../node_modules/@open-mercato/core/src/modules/notifications/setup.ts#L3) |
|
|
105
|
+
| workers | `overrides.workers["notifications:create"]` | disable-replace | ownedContracts.worker:notifications:create | [node_modules/@open-mercato/core/src/modules/notifications/workers/create-notification.worker.ts:42](../../../node_modules/@open-mercato/core/src/modules/notifications/workers/create-notification.worker.ts#L42) |
|
|
106
|
+
|
|
107
|
+
## Owned contract — module metadata
|
|
108
|
+
|
|
109
|
+
| ID | Metadata | Source |
|
|
110
|
+
|---|---|---|
|
|
111
|
+
| notifications | name=notifications; version=0.1.0 | [node_modules/@open-mercato/core/src/modules/notifications/index.ts:3](../../../node_modules/@open-mercato/core/src/modules/notifications/index.ts#L3) |
|
|
112
|
+
|
|
113
|
+
## Workers
|
|
114
|
+
|
|
115
|
+
| ID | Metadata | Source |
|
|
116
|
+
|---|---|---|
|
|
117
|
+
| notifications:create | concurrency=5; queue=notifications | [node_modules/@open-mercato/core/src/modules/notifications/workers/create-notification.worker.ts:42](../../../node_modules/@open-mercato/core/src/modules/notifications/workers/create-notification.worker.ts#L42) |
|
|
118
|
+
|
|
119
|
+
## Setup
|
|
120
|
+
|
|
121
|
+
| ID | Metadata | Source |
|
|
122
|
+
|---|---|---|
|
|
123
|
+
| notifications:setup | roles=admin, employee, superadmin | [node_modules/@open-mercato/core/src/modules/notifications/setup.ts:3](../../../node_modules/@open-mercato/core/src/modules/notifications/setup.ts#L3) |
|
|
124
|
+
|
|
125
|
+
## DI registrations (rich)
|
|
126
|
+
|
|
127
|
+
| Token | Kind | Lifetime | Injection | Provider | Source |
|
|
128
|
+
|---|---|---|---|---|---|
|
|
129
|
+
| notificationService | function | scoped | proxy | — | [node_modules/@open-mercato/core/src/modules/notifications/di.ts:7](../../../node_modules/@open-mercato/core/src/modules/notifications/di.ts#L7) |
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
# onboarding — module facts (generated, do not edit)
|
|
2
|
-
<!-- generated from @open-mercato/onboarding 0.6.7-develop.
|
|
2
|
+
<!-- generated from @open-mercato/onboarding 0.6.7-develop.6814.1.0627c7e9f1; core 0.6.7-develop.6814.1.0627c7e9f1 — R1 staleness stamp -->
|
|
3
3
|
Source root: [node_modules/@open-mercato/onboarding/src/modules/onboarding](../../../node_modules/@open-mercato/onboarding/src/modules/onboarding)
|
|
4
4
|
|
|
5
5
|
## Entities
|
|
6
6
|
|
|
7
|
-
| Entity ID | Class | Table | Editable | CustomFields |
|
|
8
|
-
|
|
9
|
-
| onboarding:onboarding_request | OnboardingRequest | onboarding_requests | yes | no |
|
|
7
|
+
| Entity ID | Class | Table | Editable | CustomFields | Source |
|
|
8
|
+
|---|---|---|---|---|---|
|
|
9
|
+
| onboarding:onboarding_request | OnboardingRequest | onboarding_requests | yes | no | [node_modules/@open-mercato/onboarding/src/modules/onboarding/data/entities.ts](../../../node_modules/@open-mercato/onboarding/src/modules/onboarding/data/entities.ts) |
|
|
10
10
|
|
|
11
11
|
## Events (0)
|
|
12
12
|
|
|
@@ -14,7 +14,11 @@ _none_
|
|
|
14
14
|
|
|
15
15
|
## ACL features (3)
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
| Feature | Source |
|
|
18
|
+
|---|---|
|
|
19
|
+
| onboarding.access | [node_modules/@open-mercato/onboarding/src/modules/onboarding/acl.ts](../../../node_modules/@open-mercato/onboarding/src/modules/onboarding/acl.ts) |
|
|
20
|
+
| onboarding.submit | [node_modules/@open-mercato/onboarding/src/modules/onboarding/acl.ts](../../../node_modules/@open-mercato/onboarding/src/modules/onboarding/acl.ts) |
|
|
21
|
+
| onboarding.verify | [node_modules/@open-mercato/onboarding/src/modules/onboarding/acl.ts](../../../node_modules/@open-mercato/onboarding/src/modules/onboarding/acl.ts) |
|
|
18
22
|
|
|
19
23
|
## API routes
|
|
20
24
|
|
|
@@ -46,14 +50,26 @@ _none_
|
|
|
46
50
|
|
|
47
51
|
## UMES hosts
|
|
48
52
|
|
|
49
|
-
| ID / pattern | Family | Supports | Context | Stability |
|
|
50
|
-
|
|
51
|
-
| onboarding:onboarding_request | entity | response-enricher, query-enricher, mutation-guard, entity-extension | tenant-and-organization | STABLE |
|
|
53
|
+
| ID / pattern | Family | Supports | Context | Stability | Source |
|
|
54
|
+
|---|---|---|---|---|---|
|
|
55
|
+
| onboarding:onboarding_request | entity | response-enricher, query-enricher, mutation-guard, entity-extension | tenant-and-organization | STABLE | entities:onboarding:onboarding_request |
|
|
52
56
|
|
|
53
57
|
## UMES contributions
|
|
54
58
|
|
|
55
59
|
_none_
|
|
56
60
|
|
|
61
|
+
## Active extension bindings
|
|
62
|
+
|
|
63
|
+
_none_
|
|
64
|
+
|
|
65
|
+
## Incoming installed contributions
|
|
66
|
+
|
|
67
|
+
_none_
|
|
68
|
+
|
|
69
|
+
## Contribution resolutions
|
|
70
|
+
|
|
71
|
+
_none_
|
|
72
|
+
|
|
57
73
|
|
|
58
74
|
|
|
59
75
|
## Notifications
|
|
@@ -71,3 +87,26 @@ _none_
|
|
|
71
87
|
## AI agents
|
|
72
88
|
|
|
73
89
|
_none_
|
|
90
|
+
|
|
91
|
+
## Exact override targets
|
|
92
|
+
|
|
93
|
+
| Domain | Path / key | Supported modes | Referenced fact | Source |
|
|
94
|
+
|---|---|---|---|---|
|
|
95
|
+
| acl | `overrides.acl.features["onboarding.access"]` | disable-replace | aclFeatures:onboarding.access | [node_modules/@open-mercato/onboarding/src/modules/onboarding/acl.ts](../../../node_modules/@open-mercato/onboarding/src/modules/onboarding/acl.ts) |
|
|
96
|
+
| acl | `overrides.acl.features["onboarding.submit"]` | disable-replace | aclFeatures:onboarding.submit | [node_modules/@open-mercato/onboarding/src/modules/onboarding/acl.ts](../../../node_modules/@open-mercato/onboarding/src/modules/onboarding/acl.ts) |
|
|
97
|
+
| acl | `overrides.acl.features["onboarding.verify"]` | disable-replace | aclFeatures:onboarding.verify | [node_modules/@open-mercato/onboarding/src/modules/onboarding/acl.ts](../../../node_modules/@open-mercato/onboarding/src/modules/onboarding/acl.ts) |
|
|
98
|
+
| encryption | `overrides.encryption.maps["onboarding:onboarding_request"]` | disable-replace | ownedContracts.encryption:onboarding:onboarding_request | [node_modules/@open-mercato/onboarding/src/modules/onboarding/encryption.ts:4](../../../node_modules/@open-mercato/onboarding/src/modules/onboarding/encryption.ts#L4) |
|
|
99
|
+
| routes | `overrides.routes.pages["frontend:/onboarding"]` | disable-replace | frontendPages:/onboarding | [node_modules/@open-mercato/onboarding/src/modules/onboarding/frontend/onboarding/page.tsx](../../../node_modules/@open-mercato/onboarding/src/modules/onboarding/frontend/onboarding/page.tsx) |
|
|
100
|
+
| routes | `overrides.routes.pages["frontend:/onboarding/preparing"]` | disable-replace | frontendPages:/onboarding/preparing | [node_modules/@open-mercato/onboarding/src/modules/onboarding/frontend/onboarding/preparing/page.tsx](../../../node_modules/@open-mercato/onboarding/src/modules/onboarding/frontend/onboarding/preparing/page.tsx) |
|
|
101
|
+
|
|
102
|
+
## Owned contract — module metadata
|
|
103
|
+
|
|
104
|
+
| ID | Metadata | Source |
|
|
105
|
+
|---|---|---|
|
|
106
|
+
| onboarding | name=onboarding; version=0.1.0 | [node_modules/@open-mercato/onboarding/src/modules/onboarding/index.ts:3](../../../node_modules/@open-mercato/onboarding/src/modules/onboarding/index.ts#L3) |
|
|
107
|
+
|
|
108
|
+
## Encryption
|
|
109
|
+
|
|
110
|
+
| ID | Metadata | Source |
|
|
111
|
+
|---|---|---|
|
|
112
|
+
| onboarding:onboarding_request | fields=email, first_name, last_name, organization_name | [node_modules/@open-mercato/onboarding/src/modules/onboarding/encryption.ts:4](../../../node_modules/@open-mercato/onboarding/src/modules/onboarding/encryption.ts#L4) |
|
|
@@ -1,33 +1,38 @@
|
|
|
1
1
|
# payment_gateways — module facts (generated, do not edit)
|
|
2
|
-
<!-- generated from @open-mercato/core 0.6.7-develop.
|
|
2
|
+
<!-- generated from @open-mercato/core 0.6.7-develop.6814.1.0627c7e9f1; core 0.6.7-develop.6814.1.0627c7e9f1 — R1 staleness stamp -->
|
|
3
3
|
Source root: [node_modules/@open-mercato/core/src/modules/payment_gateways](../../../node_modules/@open-mercato/core/src/modules/payment_gateways)
|
|
4
4
|
|
|
5
5
|
## Entities
|
|
6
6
|
|
|
7
|
-
| Entity ID | Class | Table | Editable | CustomFields |
|
|
8
|
-
|
|
9
|
-
| payment_gateways:gateway_transaction | GatewayTransaction | gateway_transactions | yes | no |
|
|
10
|
-
| payment_gateways:gateway_payment_operation | GatewayPaymentOperation | gateway_payment_operations | yes | no |
|
|
11
|
-
| payment_gateways:gateway_session_initialization | GatewaySessionInitialization | gateway_session_initializations | yes | no |
|
|
12
|
-
| payment_gateways:webhook_processed_event | WebhookProcessedEvent | gateway_webhook_events | no | no |
|
|
7
|
+
| Entity ID | Class | Table | Editable | CustomFields | Source |
|
|
8
|
+
|---|---|---|---|---|---|
|
|
9
|
+
| payment_gateways:gateway_transaction | GatewayTransaction | gateway_transactions | yes | no | [node_modules/@open-mercato/core/src/modules/payment_gateways/data/entities.ts](../../../node_modules/@open-mercato/core/src/modules/payment_gateways/data/entities.ts) |
|
|
10
|
+
| payment_gateways:gateway_payment_operation | GatewayPaymentOperation | gateway_payment_operations | yes | no | [node_modules/@open-mercato/core/src/modules/payment_gateways/data/entities.ts](../../../node_modules/@open-mercato/core/src/modules/payment_gateways/data/entities.ts) |
|
|
11
|
+
| payment_gateways:gateway_session_initialization | GatewaySessionInitialization | gateway_session_initializations | yes | no | [node_modules/@open-mercato/core/src/modules/payment_gateways/data/entities.ts](../../../node_modules/@open-mercato/core/src/modules/payment_gateways/data/entities.ts) |
|
|
12
|
+
| payment_gateways:webhook_processed_event | WebhookProcessedEvent | gateway_webhook_events | no | no | [node_modules/@open-mercato/core/src/modules/payment_gateways/data/entities.ts](../../../node_modules/@open-mercato/core/src/modules/payment_gateways/data/entities.ts) |
|
|
13
13
|
|
|
14
14
|
## Events (9)
|
|
15
15
|
|
|
16
|
-
| ID | Category | Entity | Browser transport |
|
|
17
|
-
|
|
18
|
-
| payment_gateways.session.created | lifecycle | session | — |
|
|
19
|
-
| payment_gateways.session.expired | lifecycle | session | — |
|
|
20
|
-
| payment_gateways.payment.authorized | lifecycle | payment | — |
|
|
21
|
-
| payment_gateways.payment.captured | lifecycle | payment | — |
|
|
22
|
-
| payment_gateways.payment.failed | lifecycle | payment | — |
|
|
23
|
-
| payment_gateways.payment.refunded | lifecycle | payment | — |
|
|
24
|
-
| payment_gateways.payment.cancelled | lifecycle | payment | — |
|
|
25
|
-
| payment_gateways.webhook.received | system | webhook | — |
|
|
26
|
-
| payment_gateways.webhook.failed | system | webhook | — |
|
|
16
|
+
| ID | Category | Entity | Browser transport | Source |
|
|
17
|
+
|---|---|---|---|---|
|
|
18
|
+
| payment_gateways.session.created | lifecycle | session | — | [node_modules/@open-mercato/core/src/modules/payment_gateways/events.ts](../../../node_modules/@open-mercato/core/src/modules/payment_gateways/events.ts) |
|
|
19
|
+
| payment_gateways.session.expired | lifecycle | session | — | [node_modules/@open-mercato/core/src/modules/payment_gateways/events.ts](../../../node_modules/@open-mercato/core/src/modules/payment_gateways/events.ts) |
|
|
20
|
+
| payment_gateways.payment.authorized | lifecycle | payment | — | [node_modules/@open-mercato/core/src/modules/payment_gateways/events.ts](../../../node_modules/@open-mercato/core/src/modules/payment_gateways/events.ts) |
|
|
21
|
+
| payment_gateways.payment.captured | lifecycle | payment | — | [node_modules/@open-mercato/core/src/modules/payment_gateways/events.ts](../../../node_modules/@open-mercato/core/src/modules/payment_gateways/events.ts) |
|
|
22
|
+
| payment_gateways.payment.failed | lifecycle | payment | — | [node_modules/@open-mercato/core/src/modules/payment_gateways/events.ts](../../../node_modules/@open-mercato/core/src/modules/payment_gateways/events.ts) |
|
|
23
|
+
| payment_gateways.payment.refunded | lifecycle | payment | — | [node_modules/@open-mercato/core/src/modules/payment_gateways/events.ts](../../../node_modules/@open-mercato/core/src/modules/payment_gateways/events.ts) |
|
|
24
|
+
| payment_gateways.payment.cancelled | lifecycle | payment | — | [node_modules/@open-mercato/core/src/modules/payment_gateways/events.ts](../../../node_modules/@open-mercato/core/src/modules/payment_gateways/events.ts) |
|
|
25
|
+
| payment_gateways.webhook.received | system | webhook | — | [node_modules/@open-mercato/core/src/modules/payment_gateways/events.ts](../../../node_modules/@open-mercato/core/src/modules/payment_gateways/events.ts) |
|
|
26
|
+
| payment_gateways.webhook.failed | system | webhook | — | [node_modules/@open-mercato/core/src/modules/payment_gateways/events.ts](../../../node_modules/@open-mercato/core/src/modules/payment_gateways/events.ts) |
|
|
27
27
|
|
|
28
28
|
## ACL features (4)
|
|
29
29
|
|
|
30
|
-
|
|
30
|
+
| Feature | Source |
|
|
31
|
+
|---|---|
|
|
32
|
+
| payment_gateways.view | [node_modules/@open-mercato/core/src/modules/payment_gateways/acl.ts](../../../node_modules/@open-mercato/core/src/modules/payment_gateways/acl.ts) |
|
|
33
|
+
| payment_gateways.manage | [node_modules/@open-mercato/core/src/modules/payment_gateways/acl.ts](../../../node_modules/@open-mercato/core/src/modules/payment_gateways/acl.ts) |
|
|
34
|
+
| payment_gateways.capture | [node_modules/@open-mercato/core/src/modules/payment_gateways/acl.ts](../../../node_modules/@open-mercato/core/src/modules/payment_gateways/acl.ts) |
|
|
35
|
+
| payment_gateways.refund | [node_modules/@open-mercato/core/src/modules/payment_gateways/acl.ts](../../../node_modules/@open-mercato/core/src/modules/payment_gateways/acl.ts) |
|
|
31
36
|
|
|
32
37
|
## API routes
|
|
33
38
|
|
|
@@ -45,7 +50,10 @@ _none_
|
|
|
45
50
|
|
|
46
51
|
## DI service tokens
|
|
47
52
|
|
|
48
|
-
|
|
53
|
+
| Token | Source |
|
|
54
|
+
|---|---|
|
|
55
|
+
| paymentGatewayService | [node_modules/@open-mercato/core/src/modules/payment_gateways/di.ts:40](../../../node_modules/@open-mercato/core/src/modules/payment_gateways/di.ts#L40) |
|
|
56
|
+
| paymentGatewayDescriptorService | [node_modules/@open-mercato/core/src/modules/payment_gateways/di.ts:49](../../../node_modules/@open-mercato/core/src/modules/payment_gateways/di.ts#L49) |
|
|
49
57
|
|
|
50
58
|
## Search entities
|
|
51
59
|
|
|
@@ -58,38 +66,59 @@ _none_
|
|
|
58
66
|
|
|
59
67
|
## UMES hosts
|
|
60
68
|
|
|
61
|
-
| ID / pattern | Family | Supports | Context | Stability |
|
|
62
|
-
|
|
63
|
-
| data-table:payment_gateways.transactions.list | data-table | component-replacement | — | FROZEN |
|
|
64
|
-
| data-table:payment_gateways.transactions.list:bulk-actions | data-table | bulk-action | — | FROZEN |
|
|
65
|
-
| data-table:payment_gateways.transactions.list:columns | data-table | column-widget | — | FROZEN |
|
|
66
|
-
| data-table:payment_gateways.transactions.list:filters | data-table | filter-widget | — | FROZEN |
|
|
67
|
-
| data-table:payment_gateways.transactions.list:footer | data-table | render-widget | — | FROZEN |
|
|
68
|
-
| data-table:payment_gateways.transactions.list:header | data-table | render-widget | — | FROZEN |
|
|
69
|
-
| data-table:payment_gateways.transactions.list:row-actions | data-table | row-action | — | FROZEN |
|
|
70
|
-
| data-table:payment_gateways.transactions.list:search-trailing | data-table | render-widget | — | FROZEN |
|
|
71
|
-
| data-table:payment_gateways.transactions.list:toolbar | data-table | toolbar-widget | — | FROZEN |
|
|
72
|
-
| admin.page:payment-gateways/transactions:after | detail | render-widget | — | FROZEN |
|
|
73
|
-
| payment_gateways:gateway_payment_operation | entity | response-enricher, query-enricher, mutation-guard, entity-extension | tenant-and-organization | STABLE |
|
|
74
|
-
| payment_gateways:gateway_session_initialization | entity | response-enricher, query-enricher, mutation-guard, entity-extension | tenant-and-organization | STABLE |
|
|
75
|
-
| payment_gateways:gateway_transaction | entity | response-enricher, query-enricher, mutation-guard, entity-extension | tenant-and-organization | STABLE |
|
|
76
|
-
| payment_gateways:webhook_processed_event | entity | response-enricher, query-enricher, mutation-guard, entity-extension | tenant-and-organization | STABLE |
|
|
77
|
-
| payment_gateways.gateway_transaction | entity | response-enricher, query-enricher, mutation-guard | tenant-and-organization | STABLE |
|
|
78
|
-
| payment_gateways.payment.authorized | event | async-subscriber, sync-subscriber | tenant-organization-and-audience | STABLE |
|
|
79
|
-
| payment_gateways.payment.cancelled | event | async-subscriber, sync-subscriber | tenant-organization-and-audience | STABLE |
|
|
80
|
-
| payment_gateways.payment.captured | event | async-subscriber, sync-subscriber | tenant-organization-and-audience | STABLE |
|
|
81
|
-
| payment_gateways.payment.failed | event | async-subscriber, sync-subscriber | tenant-organization-and-audience | STABLE |
|
|
82
|
-
| payment_gateways.payment.refunded | event | async-subscriber, sync-subscriber | tenant-organization-and-audience | STABLE |
|
|
83
|
-
| payment_gateways.session.created | event | async-subscriber, sync-subscriber | tenant-organization-and-audience | STABLE |
|
|
84
|
-
| payment_gateways.session.expired | event | async-subscriber, sync-subscriber | tenant-organization-and-audience | STABLE |
|
|
85
|
-
| payment_gateways.webhook.failed | event | async-subscriber, sync-subscriber | tenant-organization-and-audience | STABLE |
|
|
86
|
-
| payment_gateways.webhook.received | event | async-subscriber, sync-subscriber | tenant-organization-and-audience | STABLE |
|
|
69
|
+
| ID / pattern | Family | Supports | Context | Stability | Source |
|
|
70
|
+
|---|---|---|---|---|---|
|
|
71
|
+
| data-table:payment_gateways.transactions.list | data-table | component-replacement | — | FROZEN | [node_modules/@open-mercato/core/src/modules/payment_gateways/extension-points.ts](../../../node_modules/@open-mercato/core/src/modules/payment_gateways/extension-points.ts) |
|
|
72
|
+
| data-table:payment_gateways.transactions.list:bulk-actions | data-table | bulk-action | — | FROZEN | [node_modules/@open-mercato/core/src/modules/payment_gateways/extension-points.ts](../../../node_modules/@open-mercato/core/src/modules/payment_gateways/extension-points.ts) |
|
|
73
|
+
| data-table:payment_gateways.transactions.list:columns | data-table | column-widget | — | FROZEN | [node_modules/@open-mercato/core/src/modules/payment_gateways/extension-points.ts](../../../node_modules/@open-mercato/core/src/modules/payment_gateways/extension-points.ts) |
|
|
74
|
+
| data-table:payment_gateways.transactions.list:filters | data-table | filter-widget | — | FROZEN | [node_modules/@open-mercato/core/src/modules/payment_gateways/extension-points.ts](../../../node_modules/@open-mercato/core/src/modules/payment_gateways/extension-points.ts) |
|
|
75
|
+
| data-table:payment_gateways.transactions.list:footer | data-table | render-widget | — | FROZEN | [node_modules/@open-mercato/core/src/modules/payment_gateways/extension-points.ts](../../../node_modules/@open-mercato/core/src/modules/payment_gateways/extension-points.ts) |
|
|
76
|
+
| data-table:payment_gateways.transactions.list:header | data-table | render-widget | — | FROZEN | [node_modules/@open-mercato/core/src/modules/payment_gateways/extension-points.ts](../../../node_modules/@open-mercato/core/src/modules/payment_gateways/extension-points.ts) |
|
|
77
|
+
| data-table:payment_gateways.transactions.list:row-actions | data-table | row-action | — | FROZEN | [node_modules/@open-mercato/core/src/modules/payment_gateways/extension-points.ts](../../../node_modules/@open-mercato/core/src/modules/payment_gateways/extension-points.ts) |
|
|
78
|
+
| data-table:payment_gateways.transactions.list:search-trailing | data-table | render-widget | — | FROZEN | [node_modules/@open-mercato/core/src/modules/payment_gateways/extension-points.ts](../../../node_modules/@open-mercato/core/src/modules/payment_gateways/extension-points.ts) |
|
|
79
|
+
| data-table:payment_gateways.transactions.list:toolbar | data-table | toolbar-widget | — | FROZEN | [node_modules/@open-mercato/core/src/modules/payment_gateways/extension-points.ts](../../../node_modules/@open-mercato/core/src/modules/payment_gateways/extension-points.ts) |
|
|
80
|
+
| admin.page:payment-gateways/transactions:after | detail | render-widget | — | FROZEN | [node_modules/@open-mercato/core/src/modules/payment_gateways/extension-points.ts](../../../node_modules/@open-mercato/core/src/modules/payment_gateways/extension-points.ts) |
|
|
81
|
+
| payment_gateways:gateway_payment_operation | entity | response-enricher, query-enricher, mutation-guard, entity-extension | tenant-and-organization | STABLE | entities:payment_gateways:gateway_payment_operation |
|
|
82
|
+
| payment_gateways:gateway_session_initialization | entity | response-enricher, query-enricher, mutation-guard, entity-extension | tenant-and-organization | STABLE | entities:payment_gateways:gateway_session_initialization |
|
|
83
|
+
| payment_gateways:gateway_transaction | entity | response-enricher, query-enricher, mutation-guard, entity-extension | tenant-and-organization | STABLE | entities:payment_gateways:gateway_transaction |
|
|
84
|
+
| payment_gateways:webhook_processed_event | entity | response-enricher, query-enricher, mutation-guard, entity-extension | tenant-and-organization | STABLE | entities:payment_gateways:webhook_processed_event |
|
|
85
|
+
| payment_gateways.gateway_transaction | entity | response-enricher, query-enricher, mutation-guard | tenant-and-organization | STABLE | [node_modules/@open-mercato/core/src/modules/payment_gateways/api/status/route.ts](../../../node_modules/@open-mercato/core/src/modules/payment_gateways/api/status/route.ts) |
|
|
86
|
+
| payment_gateways.payment.authorized | event | async-subscriber, sync-subscriber | tenant-organization-and-audience | STABLE | events:payment_gateways.payment.authorized |
|
|
87
|
+
| payment_gateways.payment.cancelled | event | async-subscriber, sync-subscriber | tenant-organization-and-audience | STABLE | events:payment_gateways.payment.cancelled |
|
|
88
|
+
| payment_gateways.payment.captured | event | async-subscriber, sync-subscriber | tenant-organization-and-audience | STABLE | events:payment_gateways.payment.captured |
|
|
89
|
+
| payment_gateways.payment.failed | event | async-subscriber, sync-subscriber | tenant-organization-and-audience | STABLE | events:payment_gateways.payment.failed |
|
|
90
|
+
| payment_gateways.payment.refunded | event | async-subscriber, sync-subscriber | tenant-organization-and-audience | STABLE | events:payment_gateways.payment.refunded |
|
|
91
|
+
| payment_gateways.session.created | event | async-subscriber, sync-subscriber | tenant-organization-and-audience | STABLE | events:payment_gateways.session.created |
|
|
92
|
+
| payment_gateways.session.expired | event | async-subscriber, sync-subscriber | tenant-organization-and-audience | STABLE | events:payment_gateways.session.expired |
|
|
93
|
+
| payment_gateways.webhook.failed | event | async-subscriber, sync-subscriber | tenant-organization-and-audience | STABLE | events:payment_gateways.webhook.failed |
|
|
94
|
+
| payment_gateways.webhook.received | event | async-subscriber, sync-subscriber | tenant-organization-and-audience | STABLE | events:payment_gateways.webhook.received |
|
|
87
95
|
|
|
88
96
|
## UMES contributions
|
|
89
97
|
|
|
90
|
-
| ID | Kind | Target | Phase / operations | Contract | Resolution |
|
|
98
|
+
| ID | Kind | Target | Phase / operations | Contract | Resolution | Source |
|
|
99
|
+
|---|---|---|---|---|---|---|
|
|
100
|
+
| payment_gateways.validate-provider | api-interceptor | sessions | before | activation=crud-pipeline; failurePosture=fallback; methods=POST; phases=before; route=sessions; timeoutMs=2000 | fact-ref | [node_modules/@open-mercato/core/src/modules/payment_gateways/api/interceptors.ts](../../../node_modules/@open-mercato/core/src/modules/payment_gateways/api/interceptors.ts) |
|
|
101
|
+
|
|
102
|
+
## Active extension bindings
|
|
103
|
+
|
|
104
|
+
| Activation | Kind | Host | Contribution kinds | Phases | Bridge | Source |
|
|
105
|
+
|---|---|---|---|---|---|---|
|
|
106
|
+
| entity:payment_gateways.gateway_transaction:mutation-guard | mutation-guard | entity:payment_gateways.gateway_transaction @payment_gateways | mutation-guard | — | — | [node_modules/@open-mercato/core/src/modules/payment_gateways/api/status/route.ts:91](../../../node_modules/@open-mercato/core/src/modules/payment_gateways/api/status/route.ts#L91) |
|
|
107
|
+
|
|
108
|
+
## Incoming installed contributions
|
|
109
|
+
|
|
110
|
+
| Contributor | Kind | Target | Resolution | Activation | Contribution · Source |
|
|
91
111
|
|---|---|---|---|---|---|
|
|
92
|
-
|
|
|
112
|
+
| checkout | subscriber | event:payment_gateways.payment.authorized @payment_gateways | capability-only | — | checkout-gateway-payment-authorized · [node_modules/@open-mercato/checkout/src/modules/checkout/subscribers/gateway-payment-authorized.ts](../../../node_modules/@open-mercato/checkout/src/modules/checkout/subscribers/gateway-payment-authorized.ts) |
|
|
113
|
+
| checkout | subscriber | event:payment_gateways.payment.cancelled @payment_gateways | capability-only | — | checkout-gateway-payment-cancelled · [node_modules/@open-mercato/checkout/src/modules/checkout/subscribers/gateway-payment-cancelled.ts](../../../node_modules/@open-mercato/checkout/src/modules/checkout/subscribers/gateway-payment-cancelled.ts) |
|
|
114
|
+
| checkout | subscriber | event:payment_gateways.payment.captured @payment_gateways | capability-only | — | checkout-gateway-payment-captured · [node_modules/@open-mercato/checkout/src/modules/checkout/subscribers/gateway-payment-captured.ts](../../../node_modules/@open-mercato/checkout/src/modules/checkout/subscribers/gateway-payment-captured.ts) |
|
|
115
|
+
| checkout | subscriber | event:payment_gateways.payment.failed @payment_gateways | capability-only | — | checkout-gateway-payment-failed · [node_modules/@open-mercato/checkout/src/modules/checkout/subscribers/gateway-payment-failed.ts](../../../node_modules/@open-mercato/checkout/src/modules/checkout/subscribers/gateway-payment-failed.ts) |
|
|
116
|
+
|
|
117
|
+
## Contribution resolutions
|
|
118
|
+
|
|
119
|
+
| Contribution | Target | Resolution | Activations | Source |
|
|
120
|
+
|---|---|---|---|---|
|
|
121
|
+
| payment_gateways.validate-provider | api-route:sessions | capability-only | — | [node_modules/@open-mercato/core/src/modules/payment_gateways/api/interceptors.ts](../../../node_modules/@open-mercato/core/src/modules/payment_gateways/api/interceptors.ts) |
|
|
93
122
|
|
|
94
123
|
## UMES diagnostics
|
|
95
124
|
|
|
@@ -110,3 +139,59 @@ _none_
|
|
|
110
139
|
## AI agents
|
|
111
140
|
|
|
112
141
|
_none_
|
|
142
|
+
|
|
143
|
+
## Exact override targets
|
|
144
|
+
|
|
145
|
+
| Domain | Path / key | Supported modes | Referenced fact | Source |
|
|
146
|
+
|---|---|---|---|---|
|
|
147
|
+
| acl | `overrides.acl.features["payment_gateways.capture"]` | disable-replace | aclFeatures:payment_gateways.capture | [node_modules/@open-mercato/core/src/modules/payment_gateways/acl.ts](../../../node_modules/@open-mercato/core/src/modules/payment_gateways/acl.ts) |
|
|
148
|
+
| acl | `overrides.acl.features["payment_gateways.manage"]` | disable-replace | aclFeatures:payment_gateways.manage | [node_modules/@open-mercato/core/src/modules/payment_gateways/acl.ts](../../../node_modules/@open-mercato/core/src/modules/payment_gateways/acl.ts) |
|
|
149
|
+
| acl | `overrides.acl.features["payment_gateways.refund"]` | disable-replace | aclFeatures:payment_gateways.refund | [node_modules/@open-mercato/core/src/modules/payment_gateways/acl.ts](../../../node_modules/@open-mercato/core/src/modules/payment_gateways/acl.ts) |
|
|
150
|
+
| acl | `overrides.acl.features["payment_gateways.view"]` | disable-replace | aclFeatures:payment_gateways.view | [node_modules/@open-mercato/core/src/modules/payment_gateways/acl.ts](../../../node_modules/@open-mercato/core/src/modules/payment_gateways/acl.ts) |
|
|
151
|
+
| di | `overrides.di["GatewayTransaction"]` | disable-replace | ownedContracts.di-registration:GatewayTransaction | [node_modules/@open-mercato/core/src/modules/payment_gateways/di.ts:53](../../../node_modules/@open-mercato/core/src/modules/payment_gateways/di.ts#L53) |
|
|
152
|
+
| di | `overrides.di["paymentGatewayDescriptorService"]` | disable-replace | ownedContracts.di-registration:paymentGatewayDescriptorService | [node_modules/@open-mercato/core/src/modules/payment_gateways/di.ts:49](../../../node_modules/@open-mercato/core/src/modules/payment_gateways/di.ts#L49) |
|
|
153
|
+
| di | `overrides.di["paymentGatewayService"]` | disable-replace | ownedContracts.di-registration:paymentGatewayService | [node_modules/@open-mercato/core/src/modules/payment_gateways/di.ts:40](../../../node_modules/@open-mercato/core/src/modules/payment_gateways/di.ts#L40) |
|
|
154
|
+
| di | `overrides.di["WebhookProcessedEvent"]` | disable-replace | ownedContracts.di-registration:WebhookProcessedEvent | [node_modules/@open-mercato/core/src/modules/payment_gateways/di.ts:54](../../../node_modules/@open-mercato/core/src/modules/payment_gateways/di.ts#L54) |
|
|
155
|
+
| encryption | `overrides.encryption.maps["payment_gateways:gateway_transaction"]` | disable-replace | ownedContracts.encryption:payment_gateways:gateway_transaction | [node_modules/@open-mercato/core/src/modules/payment_gateways/encryption.ts:10](../../../node_modules/@open-mercato/core/src/modules/payment_gateways/encryption.ts#L10) |
|
|
156
|
+
| interceptors | `overrides.interceptors["payment_gateways.validate-provider"]` | disable-replace | extensionSurfaces.contributions:payment_gateways.validate-provider | [node_modules/@open-mercato/core/src/modules/payment_gateways/api/interceptors.ts](../../../node_modules/@open-mercato/core/src/modules/payment_gateways/api/interceptors.ts) |
|
|
157
|
+
| routes | `overrides.routes.pages["backend:/backend/payment-gateways"]` | disable-replace | backendPages:/backend/payment-gateways | [node_modules/@open-mercato/core/src/modules/payment_gateways/backend/payment-gateways/page.tsx](../../../node_modules/@open-mercato/core/src/modules/payment_gateways/backend/payment-gateways/page.tsx) |
|
|
158
|
+
| setup | `overrides.setup.defaultRoleFeatures` | replace | ownedContracts.setup:payment_gateways:setup | [node_modules/@open-mercato/core/src/modules/payment_gateways/setup.ts:61](../../../node_modules/@open-mercato/core/src/modules/payment_gateways/setup.ts#L61) |
|
|
159
|
+
| setup | `overrides.setup.seedDefaults` | replace | ownedContracts.setup:payment_gateways:setup | [node_modules/@open-mercato/core/src/modules/payment_gateways/setup.ts:61](../../../node_modules/@open-mercato/core/src/modules/payment_gateways/setup.ts#L61) |
|
|
160
|
+
| workers | `overrides.workers["payment_gateways:session-initialization-prune"]` | disable-replace | ownedContracts.worker:payment_gateways:session-initialization-prune | [node_modules/@open-mercato/core/src/modules/payment_gateways/workers/session-initialization-prune.ts:30](../../../node_modules/@open-mercato/core/src/modules/payment_gateways/workers/session-initialization-prune.ts#L30) |
|
|
161
|
+
| workers | `overrides.workers["payment-gateways:status-poller"]` | disable-replace | ownedContracts.worker:payment-gateways:status-poller | [node_modules/@open-mercato/core/src/modules/payment_gateways/workers/status-poller.ts:18](../../../node_modules/@open-mercato/core/src/modules/payment_gateways/workers/status-poller.ts#L18) |
|
|
162
|
+
| workers | `overrides.workers["payment-gateways:webhook-processor"]` | disable-replace | ownedContracts.worker:payment-gateways:webhook-processor | [node_modules/@open-mercato/core/src/modules/payment_gateways/workers/webhook-processor.ts:16](../../../node_modules/@open-mercato/core/src/modules/payment_gateways/workers/webhook-processor.ts#L16) |
|
|
163
|
+
|
|
164
|
+
## Owned contract — module metadata
|
|
165
|
+
|
|
166
|
+
| ID | Metadata | Source |
|
|
167
|
+
|---|---|---|
|
|
168
|
+
| payment_gateways | — | [node_modules/@open-mercato/core/src/modules/payment_gateways/index.ts:1](../../../node_modules/@open-mercato/core/src/modules/payment_gateways/index.ts#L1) |
|
|
169
|
+
|
|
170
|
+
## Workers
|
|
171
|
+
|
|
172
|
+
| ID | Metadata | Source |
|
|
173
|
+
|---|---|---|
|
|
174
|
+
| payment_gateways:session-initialization-prune | concurrency=1 | [node_modules/@open-mercato/core/src/modules/payment_gateways/workers/session-initialization-prune.ts:30](../../../node_modules/@open-mercato/core/src/modules/payment_gateways/workers/session-initialization-prune.ts#L30) |
|
|
175
|
+
| payment-gateways:status-poller | concurrency=2; queue=payment-gateways-status-poller | [node_modules/@open-mercato/core/src/modules/payment_gateways/workers/status-poller.ts:18](../../../node_modules/@open-mercato/core/src/modules/payment_gateways/workers/status-poller.ts#L18) |
|
|
176
|
+
| payment-gateways:webhook-processor | concurrency=5; queue=payment-gateways-webhook | [node_modules/@open-mercato/core/src/modules/payment_gateways/workers/webhook-processor.ts:16](../../../node_modules/@open-mercato/core/src/modules/payment_gateways/workers/webhook-processor.ts#L16) |
|
|
177
|
+
|
|
178
|
+
## Setup
|
|
179
|
+
|
|
180
|
+
| ID | Metadata | Source |
|
|
181
|
+
|---|---|---|
|
|
182
|
+
| payment_gateways:setup | hooks=seedDefaults; roles=admin, employee, superadmin | [node_modules/@open-mercato/core/src/modules/payment_gateways/setup.ts:61](../../../node_modules/@open-mercato/core/src/modules/payment_gateways/setup.ts#L61) |
|
|
183
|
+
|
|
184
|
+
## Encryption
|
|
185
|
+
|
|
186
|
+
| ID | Metadata | Source |
|
|
187
|
+
|---|---|---|
|
|
188
|
+
| payment_gateways:gateway_transaction | fields=client_secret, gateway_metadata, webhook_log | [node_modules/@open-mercato/core/src/modules/payment_gateways/encryption.ts:10](../../../node_modules/@open-mercato/core/src/modules/payment_gateways/encryption.ts#L10) |
|
|
189
|
+
|
|
190
|
+
## DI registrations (rich)
|
|
191
|
+
|
|
192
|
+
| Token | Kind | Lifetime | Injection | Provider | Source |
|
|
193
|
+
|---|---|---|---|---|---|
|
|
194
|
+
| GatewayTransaction | value | — | — | — | [node_modules/@open-mercato/core/src/modules/payment_gateways/di.ts:53](../../../node_modules/@open-mercato/core/src/modules/payment_gateways/di.ts#L53) |
|
|
195
|
+
| paymentGatewayDescriptorService | function | scoped | proxy | — | [node_modules/@open-mercato/core/src/modules/payment_gateways/di.ts:49](../../../node_modules/@open-mercato/core/src/modules/payment_gateways/di.ts#L49) |
|
|
196
|
+
| paymentGatewayService | function | scoped | proxy | — | [node_modules/@open-mercato/core/src/modules/payment_gateways/di.ts:40](../../../node_modules/@open-mercato/core/src/modules/payment_gateways/di.ts#L40) |
|
|
197
|
+
| WebhookProcessedEvent | value | — | — | — | [node_modules/@open-mercato/core/src/modules/payment_gateways/di.ts:54](../../../node_modules/@open-mercato/core/src/modules/payment_gateways/di.ts#L54) |
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
# perspectives — module facts (generated, do not edit)
|
|
2
|
-
<!-- generated from @open-mercato/core 0.6.7-develop.
|
|
2
|
+
<!-- generated from @open-mercato/core 0.6.7-develop.6814.1.0627c7e9f1; core 0.6.7-develop.6814.1.0627c7e9f1 — R1 staleness stamp -->
|
|
3
3
|
Source root: [node_modules/@open-mercato/core/src/modules/perspectives](../../../node_modules/@open-mercato/core/src/modules/perspectives)
|
|
4
4
|
|
|
5
5
|
## Entities
|
|
6
6
|
|
|
7
|
-
| Entity ID | Class | Table | Editable | CustomFields |
|
|
8
|
-
|
|
9
|
-
| perspectives:perspective | Perspective | perspectives | yes | no |
|
|
10
|
-
| perspectives:role_perspective | RolePerspective | role_perspectives | yes | no |
|
|
7
|
+
| Entity ID | Class | Table | Editable | CustomFields | Source |
|
|
8
|
+
|---|---|---|---|---|---|
|
|
9
|
+
| perspectives:perspective | Perspective | perspectives | yes | no | [node_modules/@open-mercato/core/src/modules/perspectives/data/entities.ts](../../../node_modules/@open-mercato/core/src/modules/perspectives/data/entities.ts) |
|
|
10
|
+
| perspectives:role_perspective | RolePerspective | role_perspectives | yes | no | [node_modules/@open-mercato/core/src/modules/perspectives/data/entities.ts](../../../node_modules/@open-mercato/core/src/modules/perspectives/data/entities.ts) |
|
|
11
11
|
|
|
12
12
|
## Events (0)
|
|
13
13
|
|
|
@@ -15,7 +15,10 @@ _none_
|
|
|
15
15
|
|
|
16
16
|
## ACL features (2)
|
|
17
17
|
|
|
18
|
-
|
|
18
|
+
| Feature | Source |
|
|
19
|
+
|---|---|
|
|
20
|
+
| perspectives.use | [node_modules/@open-mercato/core/src/modules/perspectives/acl.ts](../../../node_modules/@open-mercato/core/src/modules/perspectives/acl.ts) |
|
|
21
|
+
| perspectives.role_defaults | [node_modules/@open-mercato/core/src/modules/perspectives/acl.ts](../../../node_modules/@open-mercato/core/src/modules/perspectives/acl.ts) |
|
|
19
22
|
|
|
20
23
|
## API routes
|
|
21
24
|
|
|
@@ -44,17 +47,32 @@ _none_
|
|
|
44
47
|
|
|
45
48
|
## UMES hosts
|
|
46
49
|
|
|
47
|
-
| ID / pattern | Family | Supports | Context | Stability |
|
|
48
|
-
|
|
49
|
-
| perspectives:perspective | entity | response-enricher, query-enricher, mutation-guard, entity-extension | tenant-and-organization | STABLE |
|
|
50
|
-
| perspectives:role_perspective | entity | response-enricher, query-enricher, mutation-guard, entity-extension | tenant-and-organization | STABLE |
|
|
51
|
-
| perspectives.perspective | entity | response-enricher, query-enricher, mutation-guard | tenant-and-organization | STABLE |
|
|
52
|
-
| perspectives.role_perspective | entity | response-enricher, query-enricher, mutation-guard | tenant-and-organization | STABLE |
|
|
50
|
+
| ID / pattern | Family | Supports | Context | Stability | Source |
|
|
51
|
+
|---|---|---|---|---|---|
|
|
52
|
+
| perspectives:perspective | entity | response-enricher, query-enricher, mutation-guard, entity-extension | tenant-and-organization | STABLE | entities:perspectives:perspective |
|
|
53
|
+
| perspectives:role_perspective | entity | response-enricher, query-enricher, mutation-guard, entity-extension | tenant-and-organization | STABLE | entities:perspectives:role_perspective |
|
|
54
|
+
| perspectives.perspective | entity | response-enricher, query-enricher, mutation-guard | tenant-and-organization | STABLE | [node_modules/@open-mercato/core/src/modules/perspectives/api/[tableId]/[perspectiveId]/route.ts](../../../node_modules/@open-mercato/core/src/modules/perspectives/api/[tableId]/[perspectiveId]/route.ts) |
|
|
55
|
+
| perspectives.role_perspective | entity | response-enricher, query-enricher, mutation-guard | tenant-and-organization | STABLE | [node_modules/@open-mercato/core/src/modules/perspectives/api/[tableId]/roles/[roleId]/route.ts](../../../node_modules/@open-mercato/core/src/modules/perspectives/api/[tableId]/roles/[roleId]/route.ts) |
|
|
53
56
|
|
|
54
57
|
## UMES contributions
|
|
55
58
|
|
|
56
59
|
_none_
|
|
57
60
|
|
|
61
|
+
## Active extension bindings
|
|
62
|
+
|
|
63
|
+
| Activation | Kind | Host | Contribution kinds | Phases | Bridge | Source |
|
|
64
|
+
|---|---|---|---|---|---|---|
|
|
65
|
+
| entity:perspectives.perspective:mutation-guard | mutation-guard | entity:perspectives.perspective @perspectives | mutation-guard | — | — | [node_modules/@open-mercato/core/src/modules/perspectives/api/[tableId]/[perspectiveId]/route.ts:48](../../../node_modules/@open-mercato/core/src/modules/perspectives/api/[tableId]/[perspectiveId]/route.ts#L48) |
|
|
66
|
+
| entity:perspectives.role_perspective:mutation-guard | mutation-guard | entity:perspectives.role_perspective @perspectives | mutation-guard | — | — | [node_modules/@open-mercato/core/src/modules/perspectives/api/[tableId]/roles/[roleId]/route.ts:77](../../../node_modules/@open-mercato/core/src/modules/perspectives/api/[tableId]/roles/[roleId]/route.ts#L77) |
|
|
67
|
+
|
|
68
|
+
## Incoming installed contributions
|
|
69
|
+
|
|
70
|
+
_none_
|
|
71
|
+
|
|
72
|
+
## Contribution resolutions
|
|
73
|
+
|
|
74
|
+
_none_
|
|
75
|
+
|
|
58
76
|
|
|
59
77
|
|
|
60
78
|
## Notifications
|
|
@@ -72,3 +90,23 @@ _none_
|
|
|
72
90
|
## AI agents
|
|
73
91
|
|
|
74
92
|
_none_
|
|
93
|
+
|
|
94
|
+
## Exact override targets
|
|
95
|
+
|
|
96
|
+
| Domain | Path / key | Supported modes | Referenced fact | Source |
|
|
97
|
+
|---|---|---|---|---|
|
|
98
|
+
| acl | `overrides.acl.features["perspectives.role_defaults"]` | disable-replace | aclFeatures:perspectives.role_defaults | [node_modules/@open-mercato/core/src/modules/perspectives/acl.ts](../../../node_modules/@open-mercato/core/src/modules/perspectives/acl.ts) |
|
|
99
|
+
| acl | `overrides.acl.features["perspectives.use"]` | disable-replace | aclFeatures:perspectives.use | [node_modules/@open-mercato/core/src/modules/perspectives/acl.ts](../../../node_modules/@open-mercato/core/src/modules/perspectives/acl.ts) |
|
|
100
|
+
| setup | `overrides.setup.defaultRoleFeatures` | replace | ownedContracts.setup:perspectives:setup | [node_modules/@open-mercato/core/src/modules/perspectives/setup.ts:3](../../../node_modules/@open-mercato/core/src/modules/perspectives/setup.ts#L3) |
|
|
101
|
+
|
|
102
|
+
## Owned contract — module metadata
|
|
103
|
+
|
|
104
|
+
| ID | Metadata | Source |
|
|
105
|
+
|---|---|---|
|
|
106
|
+
| perspectives | ejectable=true; name=perspectives; version=0.1.0 | [node_modules/@open-mercato/core/src/modules/perspectives/index.ts:3](../../../node_modules/@open-mercato/core/src/modules/perspectives/index.ts#L3) |
|
|
107
|
+
|
|
108
|
+
## Setup
|
|
109
|
+
|
|
110
|
+
| ID | Metadata | Source |
|
|
111
|
+
|---|---|---|
|
|
112
|
+
| perspectives:setup | roles=admin, employee | [node_modules/@open-mercato/core/src/modules/perspectives/setup.ts:3](../../../node_modules/@open-mercato/core/src/modules/perspectives/setup.ts#L3) |
|