@wildo-ai/saas-backend-lib 1.1.1 → 1.1.3
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/esm/applications/services/worker-remote-client-factory.backend.service.d.ts.map +1 -1
- package/dist/esm/applications/services/worker-remote-client-factory.backend.service.js +19 -1
- package/dist/esm/applications/services/worker-remote-client-factory.backend.service.js.map +1 -1
- package/dist/esm/base-classes/models/manual-controllers.backend.definition.d.ts.map +1 -1
- package/dist/esm/base-classes/models/manual-controllers.backend.definition.js +4 -0
- package/dist/esm/base-classes/models/manual-controllers.backend.definition.js.map +1 -1
- package/dist/esm/base-classes/services/batches/child-lifecycle-teardown.batch.backend.service.d.ts +35 -0
- package/dist/esm/base-classes/services/batches/child-lifecycle-teardown.batch.backend.service.d.ts.map +1 -0
- package/dist/esm/base-classes/services/batches/child-lifecycle-teardown.batch.backend.service.js +111 -0
- package/dist/esm/base-classes/services/batches/child-lifecycle-teardown.batch.backend.service.js.map +1 -0
- package/dist/esm/base-classes/services/batches/credential-expiry-sweep.batch.backend.service.d.ts +50 -0
- package/dist/esm/base-classes/services/batches/credential-expiry-sweep.batch.backend.service.d.ts.map +1 -0
- package/dist/esm/base-classes/services/batches/credential-expiry-sweep.batch.backend.service.js +199 -0
- package/dist/esm/base-classes/services/batches/credential-expiry-sweep.batch.backend.service.js.map +1 -0
- package/dist/esm/base-classes/services/batches/engine-custom-batch-manifests.d.ts +111 -0
- package/dist/esm/base-classes/services/batches/engine-custom-batch-manifests.d.ts.map +1 -1
- package/dist/esm/base-classes/services/batches/engine-custom-batch-manifests.js +140 -0
- package/dist/esm/base-classes/services/batches/engine-custom-batch-manifests.js.map +1 -1
- package/dist/esm/base-classes/services/controllers/controller-resource.backend.service.d.ts +14 -3
- package/dist/esm/base-classes/services/controllers/controller-resource.backend.service.d.ts.map +1 -1
- package/dist/esm/base-classes/services/controllers/controller-resource.backend.service.js +138 -24
- package/dist/esm/base-classes/services/controllers/controller-resource.backend.service.js.map +1 -1
- package/dist/esm/base-classes/services/controllers/controllers-registry-handler.backend.service.d.ts +3 -1
- package/dist/esm/base-classes/services/controllers/controllers-registry-handler.backend.service.d.ts.map +1 -1
- package/dist/esm/base-classes/services/controllers/controllers-registry-handler.backend.service.js +8 -3
- package/dist/esm/base-classes/services/controllers/controllers-registry-handler.backend.service.js.map +1 -1
- package/dist/esm/base-classes/services/repositories/field-clearing-partition.backend.d.ts +11 -0
- package/dist/esm/base-classes/services/repositories/field-clearing-partition.backend.d.ts.map +1 -1
- package/dist/esm/base-classes/services/repositories/field-clearing-partition.backend.js +11 -2
- package/dist/esm/base-classes/services/repositories/field-clearing-partition.backend.js.map +1 -1
- package/dist/esm/base-classes/services/repositories/http-api/http-api-provider-access.backend.d.ts +124 -13
- package/dist/esm/base-classes/services/repositories/http-api/http-api-provider-access.backend.d.ts.map +1 -1
- package/dist/esm/base-classes/services/repositories/http-api/http-api-provider-access.backend.js +207 -21
- package/dist/esm/base-classes/services/repositories/http-api/http-api-provider-access.backend.js.map +1 -1
- package/dist/esm/base-classes/services/repositories/http-api/http-api-read-client.backend.d.ts +60 -8
- package/dist/esm/base-classes/services/repositories/http-api/http-api-read-client.backend.d.ts.map +1 -1
- package/dist/esm/base-classes/services/repositories/http-api/http-api-read-client.backend.js +174 -26
- package/dist/esm/base-classes/services/repositories/http-api/http-api-read-client.backend.js.map +1 -1
- package/dist/esm/base-classes/services/repositories/http-api/http-api-resource-repository.backend.service.d.ts +48 -4
- package/dist/esm/base-classes/services/repositories/http-api/http-api-resource-repository.backend.service.d.ts.map +1 -1
- package/dist/esm/base-classes/services/repositories/http-api/http-api-resource-repository.backend.service.js +102 -30
- package/dist/esm/base-classes/services/repositories/http-api/http-api-resource-repository.backend.service.js.map +1 -1
- package/dist/esm/base-classes/services/repositories/http-api/http-api-rest-operation-reference.backend.d.ts +55 -0
- package/dist/esm/base-classes/services/repositories/http-api/http-api-rest-operation-reference.backend.d.ts.map +1 -0
- package/dist/esm/base-classes/services/repositories/http-api/http-api-rest-operation-reference.backend.js +114 -0
- package/dist/esm/base-classes/services/repositories/http-api/http-api-rest-operation-reference.backend.js.map +1 -0
- package/dist/esm/base-classes/services/repositories/http-api/http-api-transport.backend.d.ts +89 -14
- package/dist/esm/base-classes/services/repositories/http-api/http-api-transport.backend.d.ts.map +1 -1
- package/dist/esm/base-classes/services/repositories/http-api/http-api-transport.backend.js +84 -11
- package/dist/esm/base-classes/services/repositories/http-api/http-api-transport.backend.js.map +1 -1
- package/dist/esm/base-classes/services/repositories/http-api/odata-query-compiler.backend.d.ts.map +1 -1
- package/dist/esm/base-classes/services/repositories/http-api/odata-query-compiler.backend.js +16 -0
- package/dist/esm/base-classes/services/repositories/http-api/odata-query-compiler.backend.js.map +1 -1
- package/dist/esm/base-classes/services/repositories/infrastructure-tier-contract.backend.d.ts +20 -6
- package/dist/esm/base-classes/services/repositories/infrastructure-tier-contract.backend.d.ts.map +1 -1
- package/dist/esm/base-classes/services/repositories/infrastructure-tier-contract.backend.js +96 -32
- package/dist/esm/base-classes/services/repositories/infrastructure-tier-contract.backend.js.map +1 -1
- package/dist/esm/base-classes/services/repositories/introspection/introspection-resource-repository.backend.service.d.ts +3 -1
- package/dist/esm/base-classes/services/repositories/introspection/introspection-resource-repository.backend.service.d.ts.map +1 -1
- package/dist/esm/base-classes/services/repositories/introspection/introspection-resource-repository.backend.service.js +32 -7
- package/dist/esm/base-classes/services/repositories/introspection/introspection-resource-repository.backend.service.js.map +1 -1
- package/dist/esm/base-classes/services/repositories/introspection/introspection-resource-source.backend.port.d.ts +8 -5
- package/dist/esm/base-classes/services/repositories/introspection/introspection-resource-source.backend.port.d.ts.map +1 -1
- package/dist/esm/base-classes/services/repositories/introspection/introspection-resource-source.backend.port.js.map +1 -1
- package/dist/esm/base-classes/services/repositories/postgresql-resource-repository.backend.service.d.ts +80 -0
- package/dist/esm/base-classes/services/repositories/postgresql-resource-repository.backend.service.d.ts.map +1 -1
- package/dist/esm/base-classes/services/repositories/postgresql-resource-repository.backend.service.js +298 -23
- package/dist/esm/base-classes/services/repositories/postgresql-resource-repository.backend.service.js.map +1 -1
- package/dist/esm/base-classes/services/repositories/repositories-registry-handler.backend.service.d.ts +71 -1
- package/dist/esm/base-classes/services/repositories/repositories-registry-handler.backend.service.d.ts.map +1 -1
- package/dist/esm/base-classes/services/repositories/repositories-registry-handler.backend.service.js +85 -5
- package/dist/esm/base-classes/services/repositories/repositories-registry-handler.backend.service.js.map +1 -1
- package/dist/esm/base-classes/services/repositories/repository-resource.backend.service.d.ts +21 -0
- package/dist/esm/base-classes/services/repositories/repository-resource.backend.service.d.ts.map +1 -1
- package/dist/esm/base-classes/services/repositories/repository-resource.backend.service.js +146 -4
- package/dist/esm/base-classes/services/repositories/repository-resource.backend.service.js.map +1 -1
- package/dist/esm/base-classes/services/services/resource-operation-custom-implementation-base.backend.service.d.ts +22 -0
- package/dist/esm/base-classes/services/services/resource-operation-custom-implementation-base.backend.service.d.ts.map +1 -1
- package/dist/esm/base-classes/services/services/resource-operation-custom-implementation-base.backend.service.js.map +1 -1
- package/dist/esm/base-classes/services/services/resource-operation-implementation-coverage.backend.utils.d.ts +3 -26
- package/dist/esm/base-classes/services/services/resource-operation-implementation-coverage.backend.utils.d.ts.map +1 -1
- package/dist/esm/base-classes/services/services/resource-operation-implementation-coverage.backend.utils.js +3 -68
- package/dist/esm/base-classes/services/services/resource-operation-implementation-coverage.backend.utils.js.map +1 -1
- package/dist/esm/base-classes/services/services/resource-status-transition.custom-impl.backend.service.d.ts.map +1 -1
- package/dist/esm/base-classes/services/services/resource-status-transition.custom-impl.backend.service.js +4 -1
- package/dist/esm/base-classes/services/services/resource-status-transition.custom-impl.backend.service.js.map +1 -1
- package/dist/esm/base-classes/services/services/resource-status-transition.definitions.backend.d.ts +11 -0
- package/dist/esm/base-classes/services/services/resource-status-transition.definitions.backend.d.ts.map +1 -1
- package/dist/esm/base-classes/services/services/resource-status-transition.definitions.backend.js +39 -5
- package/dist/esm/base-classes/services/services/resource-status-transition.definitions.backend.js.map +1 -1
- package/dist/esm/base-classes/services/services/services-registry-handler.backend.service.d.ts +181 -2
- package/dist/esm/base-classes/services/services/services-registry-handler.backend.service.d.ts.map +1 -1
- package/dist/esm/base-classes/services/services/services-registry-handler.backend.service.js +533 -43
- package/dist/esm/base-classes/services/services/services-registry-handler.backend.service.js.map +1 -1
- package/dist/esm/base-classes/services/services/system-access.backend.service.d.ts +36 -3
- package/dist/esm/base-classes/services/services/system-access.backend.service.d.ts.map +1 -1
- package/dist/esm/base-classes/services/services/system-access.backend.service.js +70 -8
- package/dist/esm/base-classes/services/services/system-access.backend.service.js.map +1 -1
- package/dist/esm/billing/batches/billing-reconciliation.batch.backend.service.d.ts +28 -0
- package/dist/esm/billing/batches/billing-reconciliation.batch.backend.service.d.ts.map +1 -0
- package/dist/esm/billing/batches/billing-reconciliation.batch.backend.service.js +90 -0
- package/dist/esm/billing/batches/billing-reconciliation.batch.backend.service.js.map +1 -0
- package/dist/esm/billing/batches/usage-flush.batch.backend.service.d.ts +44 -0
- package/dist/esm/billing/batches/usage-flush.batch.backend.service.d.ts.map +1 -0
- package/dist/esm/billing/batches/usage-flush.batch.backend.service.js +99 -0
- package/dist/esm/billing/batches/usage-flush.batch.backend.service.js.map +1 -0
- package/dist/esm/billing/models/billing-provider-event-settlement.backend.schemas.d.ts +91 -0
- package/dist/esm/billing/models/billing-provider-event-settlement.backend.schemas.d.ts.map +1 -0
- package/dist/esm/billing/models/billing-provider-event-settlement.backend.schemas.js +152 -0
- package/dist/esm/billing/models/billing-provider-event-settlement.backend.schemas.js.map +1 -0
- package/dist/esm/billing/services/back-office/billing-reconciliation.backend.service.d.ts +186 -0
- package/dist/esm/billing/services/back-office/billing-reconciliation.backend.service.d.ts.map +1 -0
- package/dist/esm/billing/services/back-office/billing-reconciliation.backend.service.js +474 -0
- package/dist/esm/billing/services/back-office/billing-reconciliation.backend.service.js.map +1 -0
- package/dist/esm/billing/services/back-office/product-catalog-sync.backend.service.d.ts +100 -0
- package/dist/esm/billing/services/back-office/product-catalog-sync.backend.service.d.ts.map +1 -1
- package/dist/esm/billing/services/back-office/product-catalog-sync.backend.service.js +209 -6
- package/dist/esm/billing/services/back-office/product-catalog-sync.backend.service.js.map +1 -1
- package/dist/esm/billing/services/back-office/usage-metering.backend.service.d.ts +200 -4
- package/dist/esm/billing/services/back-office/usage-metering.backend.service.d.ts.map +1 -1
- package/dist/esm/billing/services/back-office/usage-metering.backend.service.js +593 -64
- package/dist/esm/billing/services/back-office/usage-metering.backend.service.js.map +1 -1
- package/dist/esm/billing/services/billing-adapter-registry.backend.d.ts +36 -0
- package/dist/esm/billing/services/billing-adapter-registry.backend.d.ts.map +1 -0
- package/dist/esm/billing/services/billing-adapter-registry.backend.js +83 -0
- package/dist/esm/billing/services/billing-adapter-registry.backend.js.map +1 -0
- package/dist/esm/billing/services/billing-checkout-metadata.backend.utils.d.ts +9 -0
- package/dist/esm/billing/services/billing-checkout-metadata.backend.utils.d.ts.map +1 -1
- package/dist/esm/billing/services/billing-checkout-metadata.backend.utils.js +11 -1
- package/dist/esm/billing/services/billing-checkout-metadata.backend.utils.js.map +1 -1
- package/dist/esm/billing/services/custom-impl/billing-account.mutations.custom-impl.backend.service.d.ts.map +1 -1
- package/dist/esm/billing/services/custom-impl/billing-account.mutations.custom-impl.backend.service.js +54 -13
- package/dist/esm/billing/services/custom-impl/billing-account.mutations.custom-impl.backend.service.js.map +1 -1
- package/dist/esm/billing/services/custom-impl/billing-custom-impl-utils.backend.d.ts +38 -1
- package/dist/esm/billing/services/custom-impl/billing-custom-impl-utils.backend.d.ts.map +1 -1
- package/dist/esm/billing/services/custom-impl/billing-custom-impl-utils.backend.js +67 -2
- package/dist/esm/billing/services/custom-impl/billing-custom-impl-utils.backend.js.map +1 -1
- package/dist/esm/billing/services/custom-impl/billing-custom-implementations.backend.d.ts +30 -1
- package/dist/esm/billing/services/custom-impl/billing-custom-implementations.backend.d.ts.map +1 -1
- package/dist/esm/billing/services/custom-impl/billing-custom-implementations.backend.js +43 -1
- package/dist/esm/billing/services/custom-impl/billing-custom-implementations.backend.js.map +1 -1
- package/dist/esm/billing/services/custom-impl/promotion.custom-ops.custom-impl.backend.service.d.ts +11 -3
- package/dist/esm/billing/services/custom-impl/promotion.custom-ops.custom-impl.backend.service.d.ts.map +1 -1
- package/dist/esm/billing/services/custom-impl/promotion.custom-ops.custom-impl.backend.service.js +30 -16
- package/dist/esm/billing/services/custom-impl/promotion.custom-ops.custom-impl.backend.service.js.map +1 -1
- package/dist/esm/billing/services/custom-impl/subscription.mutations.custom-impl.backend.service.d.ts.map +1 -1
- package/dist/esm/billing/services/custom-impl/subscription.mutations.custom-impl.backend.service.js +104 -25
- package/dist/esm/billing/services/custom-impl/subscription.mutations.custom-impl.backend.service.js.map +1 -1
- package/dist/esm/billing/services/stripe-standard-billing-provider.backend.service.d.ts +18 -1
- package/dist/esm/billing/services/stripe-standard-billing-provider.backend.service.d.ts.map +1 -1
- package/dist/esm/billing/services/stripe-standard-billing-provider.backend.service.js +106 -2
- package/dist/esm/billing/services/stripe-standard-billing-provider.backend.service.js.map +1 -1
- package/dist/esm/billing/services/webhooks/__tests__/settlement-ledger.test-double.d.ts +52 -0
- package/dist/esm/billing/services/webhooks/__tests__/settlement-ledger.test-double.d.ts.map +1 -0
- package/dist/esm/billing/services/webhooks/__tests__/settlement-ledger.test-double.js +74 -0
- package/dist/esm/billing/services/webhooks/__tests__/settlement-ledger.test-double.js.map +1 -0
- package/dist/esm/billing/services/webhooks/billing-webhook-event-router.backend.service.d.ts +104 -11
- package/dist/esm/billing/services/webhooks/billing-webhook-event-router.backend.service.d.ts.map +1 -1
- package/dist/esm/billing/services/webhooks/billing-webhook-event-router.backend.service.js +260 -26
- package/dist/esm/billing/services/webhooks/billing-webhook-event-router.backend.service.js.map +1 -1
- package/dist/esm/billing/testing/mock-billing-provider.d.ts +30 -1
- package/dist/esm/billing/testing/mock-billing-provider.d.ts.map +1 -1
- package/dist/esm/billing/testing/mock-billing-provider.js +25 -0
- package/dist/esm/billing/testing/mock-billing-provider.js.map +1 -1
- package/dist/esm/compliance/audit-trails/batches/audit-logs-archive.batch.backend.service.js +11 -4
- package/dist/esm/compliance/audit-trails/batches/audit-logs-archive.batch.backend.service.js.map +1 -1
- package/dist/esm/compliance/audit-trails/services/audit-event-dispatcher.backend.service.d.ts +263 -13
- package/dist/esm/compliance/audit-trails/services/audit-event-dispatcher.backend.service.d.ts.map +1 -1
- package/dist/esm/compliance/audit-trails/services/audit-event-dispatcher.backend.service.js +376 -58
- package/dist/esm/compliance/audit-trails/services/audit-event-dispatcher.backend.service.js.map +1 -1
- package/dist/esm/compliance/audit-trails/services/audit-logs.backend.service.d.ts +264 -7
- package/dist/esm/compliance/audit-trails/services/audit-logs.backend.service.d.ts.map +1 -1
- package/dist/esm/compliance/audit-trails/services/audit-logs.backend.service.js +414 -5
- package/dist/esm/compliance/audit-trails/services/audit-logs.backend.service.js.map +1 -1
- package/dist/esm/compliance/audit-trails/services/composite-audit-log-sink.backend.d.ts.map +1 -1
- package/dist/esm/compliance/audit-trails/services/composite-audit-log-sink.backend.js +7 -1
- package/dist/esm/compliance/audit-trails/services/composite-audit-log-sink.backend.js.map +1 -1
- package/dist/esm/compliance/audit-trails/services/siem-export-config-cache-invalidation.custom-impl.backend.service.d.ts +16 -0
- package/dist/esm/compliance/audit-trails/services/siem-export-config-cache-invalidation.custom-impl.backend.service.d.ts.map +1 -0
- package/dist/esm/compliance/audit-trails/services/siem-export-config-cache-invalidation.custom-impl.backend.service.js +140 -0
- package/dist/esm/compliance/audit-trails/services/siem-export-config-cache-invalidation.custom-impl.backend.service.js.map +1 -0
- package/dist/esm/compliance/audit-trails/services/siem-webhook-delivery.backend.service.d.ts +42 -0
- package/dist/esm/compliance/audit-trails/services/siem-webhook-delivery.backend.service.d.ts.map +1 -1
- package/dist/esm/compliance/audit-trails/services/siem-webhook-delivery.backend.service.js +65 -6
- package/dist/esm/compliance/audit-trails/services/siem-webhook-delivery.backend.service.js.map +1 -1
- package/dist/esm/compliance/audit-trails/services/utils/leased-value-cache.backend.utils.d.ts +110 -0
- package/dist/esm/compliance/audit-trails/services/utils/leased-value-cache.backend.utils.d.ts.map +1 -0
- package/dist/esm/compliance/audit-trails/services/utils/leased-value-cache.backend.utils.js +192 -0
- package/dist/esm/compliance/audit-trails/services/utils/leased-value-cache.backend.utils.js.map +1 -0
- package/dist/esm/compliance/audit-trails/services/utils/ocsf-activity-mapping.backend.utils.d.ts.map +1 -1
- package/dist/esm/compliance/audit-trails/services/utils/ocsf-activity-mapping.backend.utils.js +45 -0
- package/dist/esm/compliance/audit-trails/services/utils/ocsf-activity-mapping.backend.utils.js.map +1 -1
- package/dist/esm/config/bootstrap/application-runtime-profile.backend.d.ts +5 -0
- package/dist/esm/config/bootstrap/application-runtime-profile.backend.d.ts.map +1 -1
- package/dist/esm/config/bootstrap/application-runtime-profile.backend.js +6 -0
- package/dist/esm/config/bootstrap/application-runtime-profile.backend.js.map +1 -1
- package/dist/esm/config/custom/application-config-controller.backend.service.d.ts.map +1 -1
- package/dist/esm/config/custom/application-config-controller.backend.service.js +7 -1
- package/dist/esm/config/custom/application-config-controller.backend.service.js.map +1 -1
- package/dist/esm/config/models/app-config.backend.schemas.d.ts +146 -46
- package/dist/esm/config/models/app-config.backend.schemas.d.ts.map +1 -1
- package/dist/esm/config/models/app-config.backend.schemas.js +121 -12
- package/dist/esm/config/models/app-config.backend.schemas.js.map +1 -1
- package/dist/esm/config/models/provider-runtime-artifact.backend.schemas.d.ts +38 -15
- package/dist/esm/config/models/provider-runtime-artifact.backend.schemas.d.ts.map +1 -1
- package/dist/esm/config/models/provider-runtime-artifact.backend.schemas.js +17 -2
- package/dist/esm/config/models/provider-runtime-artifact.backend.schemas.js.map +1 -1
- package/dist/esm/config/services/app-configuration-loader.backend.service.d.ts +0 -1
- package/dist/esm/config/services/app-configuration-loader.backend.service.d.ts.map +1 -1
- package/dist/esm/config/services/app-configuration-loader.backend.service.js +68 -76
- package/dist/esm/config/services/app-configuration-loader.backend.service.js.map +1 -1
- package/dist/esm/config/services/app-configuration.backend.service.d.ts.map +1 -1
- package/dist/esm/config/services/app-configuration.backend.service.js +23 -1
- package/dist/esm/config/services/app-configuration.backend.service.js.map +1 -1
- package/dist/esm/config/services/app-configuration.backend.utils.d.ts +43 -1
- package/dist/esm/config/services/app-configuration.backend.utils.d.ts.map +1 -1
- package/dist/esm/config/services/app-configuration.backend.utils.js +52 -3
- package/dist/esm/config/services/app-configuration.backend.utils.js.map +1 -1
- package/dist/esm/config/services/application-startup-config-validator.backend.service.d.ts +25 -0
- package/dist/esm/config/services/application-startup-config-validator.backend.service.d.ts.map +1 -1
- package/dist/esm/config/services/application-startup-config-validator.backend.service.js +41 -1
- package/dist/esm/config/services/application-startup-config-validator.backend.service.js.map +1 -1
- package/dist/esm/data-seeding/services/shared/data-seed-scope-iteration.shared.utils.d.ts +2 -2
- package/dist/esm/data-seeding/services/shared/data-seed-scope-iteration.shared.utils.js +2 -2
- package/dist/esm/data-seeding/services/shared/data-seed-scope-iteration.shared.utils.js.map +1 -1
- package/dist/esm/databases/models/filter.backend.schemas.js +2 -2
- package/dist/esm/databases/models/filter.backend.schemas.js.map +1 -1
- package/dist/esm/databases/services/aggregation/aggregation-authorization.backend.service.d.ts.map +1 -1
- package/dist/esm/databases/services/aggregation/aggregation-authorization.backend.service.js +20 -1
- package/dist/esm/databases/services/aggregation/aggregation-authorization.backend.service.js.map +1 -1
- package/dist/esm/databases/services/postgresql-schema-plan-diff.backend.d.ts.map +1 -1
- package/dist/esm/databases/services/postgresql-schema-plan-diff.backend.js +48 -0
- package/dist/esm/databases/services/postgresql-schema-plan-diff.backend.js.map +1 -1
- package/dist/esm/databases/services/redis.service.d.ts +27 -0
- package/dist/esm/databases/services/redis.service.d.ts.map +1 -1
- package/dist/esm/databases/services/redis.service.js +29 -0
- package/dist/esm/databases/services/redis.service.js.map +1 -1
- package/dist/esm/errors/services/error-builder.backend.service.d.ts +13 -1
- package/dist/esm/errors/services/error-builder.backend.service.d.ts.map +1 -1
- package/dist/esm/errors/services/error-builder.backend.service.js +13 -1
- package/dist/esm/errors/services/error-builder.backend.service.js.map +1 -1
- package/dist/esm/errors/services/error-handler.backend.service.d.ts +70 -7
- package/dist/esm/errors/services/error-handler.backend.service.d.ts.map +1 -1
- package/dist/esm/errors/services/error-handler.backend.service.js +134 -8
- package/dist/esm/errors/services/error-handler.backend.service.js.map +1 -1
- package/dist/esm/errors/services/rate-limit.backend.service.d.ts +66 -0
- package/dist/esm/errors/services/rate-limit.backend.service.d.ts.map +1 -1
- package/dist/esm/errors/services/rate-limit.backend.service.js +102 -25
- package/dist/esm/errors/services/rate-limit.backend.service.js.map +1 -1
- package/dist/esm/errors/utils/error-log-level-classification.backend.utils.d.ts +5 -0
- package/dist/esm/errors/utils/error-log-level-classification.backend.utils.d.ts.map +1 -1
- package/dist/esm/errors/utils/error-log-level-classification.backend.utils.js +25 -0
- package/dist/esm/errors/utils/error-log-level-classification.backend.utils.js.map +1 -1
- package/dist/esm/errors/utils/rate-limit-environment-relaxation.backend.utils.d.ts +33 -0
- package/dist/esm/errors/utils/rate-limit-environment-relaxation.backend.utils.d.ts.map +1 -1
- package/dist/esm/errors/utils/rate-limit-environment-relaxation.backend.utils.js +40 -0
- package/dist/esm/errors/utils/rate-limit-environment-relaxation.backend.utils.js.map +1 -1
- package/dist/esm/external-data/controllers/external-data-admin.backend.contracts.d.ts +41 -0
- package/dist/esm/external-data/controllers/external-data-admin.backend.contracts.d.ts.map +1 -0
- package/dist/esm/external-data/controllers/external-data-admin.backend.contracts.js +40 -0
- package/dist/esm/external-data/controllers/external-data-admin.backend.contracts.js.map +1 -0
- package/dist/esm/external-data/controllers/external-data-admin.backend.controller.d.ts +64 -0
- package/dist/esm/external-data/controllers/external-data-admin.backend.controller.d.ts.map +1 -0
- package/dist/esm/external-data/controllers/external-data-admin.backend.controller.js +193 -0
- package/dist/esm/external-data/controllers/external-data-admin.backend.controller.js.map +1 -0
- package/dist/esm/external-data/external-data-pipeline-run.backend.service.d.ts +72 -4
- package/dist/esm/external-data/external-data-pipeline-run.backend.service.d.ts.map +1 -1
- package/dist/esm/external-data/external-data-pipeline-run.backend.service.js +60 -19
- package/dist/esm/external-data/external-data-pipeline-run.backend.service.js.map +1 -1
- package/dist/esm/external-data/external-data-transform.backend.d.ts.map +1 -1
- package/dist/esm/external-data/external-data-transform.backend.js +7 -1
- package/dist/esm/external-data/external-data-transform.backend.js.map +1 -1
- package/dist/esm/external-data/models/external-data-pipeline-state.backend.schemas.d.ts +2 -0
- package/dist/esm/external-data/models/external-data-pipeline-state.backend.schemas.d.ts.map +1 -1
- package/dist/esm/external-data/models/external-data-pipeline-state.backend.schemas.js +13 -0
- package/dist/esm/external-data/models/external-data-pipeline-state.backend.schemas.js.map +1 -1
- package/dist/esm/external-providers/models/provider-selection-resolution-evidence.backend.definitions.d.ts +4 -2
- package/dist/esm/external-providers/models/provider-selection-resolution-evidence.backend.definitions.d.ts.map +1 -1
- package/dist/esm/external-providers/models/provider-selection-resolution-evidence.backend.definitions.js.map +1 -1
- package/dist/esm/external-providers/operations/provider-operation-executor.backend.service.d.ts +256 -0
- package/dist/esm/external-providers/operations/provider-operation-executor.backend.service.d.ts.map +1 -0
- package/dist/esm/external-providers/operations/provider-operation-executor.backend.service.js +333 -0
- package/dist/esm/external-providers/operations/provider-operation-executor.backend.service.js.map +1 -0
- package/dist/esm/external-providers/operations/provider-operation-request.backend.d.ts +56 -0
- package/dist/esm/external-providers/operations/provider-operation-request.backend.d.ts.map +1 -0
- package/dist/esm/external-providers/operations/provider-operation-request.backend.js +211 -0
- package/dist/esm/external-providers/operations/provider-operation-request.backend.js.map +1 -0
- package/dist/esm/external-providers/operations/provider-request-signing.backend.d.ts +45 -0
- package/dist/esm/external-providers/operations/provider-request-signing.backend.d.ts.map +1 -0
- package/dist/esm/external-providers/operations/provider-request-signing.backend.js +216 -0
- package/dist/esm/external-providers/operations/provider-request-signing.backend.js.map +1 -0
- package/dist/esm/external-providers/operations/provider-rest-call-client.backend.d.ts +56 -0
- package/dist/esm/external-providers/operations/provider-rest-call-client.backend.d.ts.map +1 -0
- package/dist/esm/external-providers/operations/provider-rest-call-client.backend.js +78 -0
- package/dist/esm/external-providers/operations/provider-rest-call-client.backend.js.map +1 -0
- package/dist/esm/external-providers/services/__tests__/mock-external-providers-registry.service.d.ts +1 -1
- package/dist/esm/external-providers/services/__tests__/mock-external-providers-registry.service.d.ts.map +1 -1
- package/dist/esm/external-providers/services/__tests__/mock-external-providers-registry.service.js +2 -2
- package/dist/esm/external-providers/services/__tests__/mock-external-providers-registry.service.js.map +1 -1
- package/dist/esm/external-providers/services/backend-provider-loader.backend.service.d.ts +89 -0
- package/dist/esm/external-providers/services/backend-provider-loader.backend.service.d.ts.map +1 -0
- package/dist/esm/external-providers/services/backend-provider-loader.backend.service.js +164 -0
- package/dist/esm/external-providers/services/backend-provider-loader.backend.service.js.map +1 -0
- package/dist/esm/external-providers/services/backend-provider-registry.backend.service.d.ts +26 -27
- package/dist/esm/external-providers/services/backend-provider-registry.backend.service.d.ts.map +1 -1
- package/dist/esm/external-providers/services/backend-provider-registry.backend.service.js +50 -64
- package/dist/esm/external-providers/services/backend-provider-registry.backend.service.js.map +1 -1
- package/dist/esm/external-providers/services/document-extraction.backend.service.d.ts.map +1 -1
- package/dist/esm/external-providers/services/document-extraction.backend.service.js +3 -3
- package/dist/esm/external-providers/services/document-extraction.backend.service.js.map +1 -1
- package/dist/esm/external-providers/services/embeddings.backend.service.d.ts.map +1 -1
- package/dist/esm/external-providers/services/embeddings.backend.service.js +4 -4
- package/dist/esm/external-providers/services/embeddings.backend.service.js.map +1 -1
- package/dist/esm/external-providers/services/external-providers-registry.backend.service.d.ts +306 -7
- package/dist/esm/external-providers/services/external-providers-registry.backend.service.d.ts.map +1 -1
- package/dist/esm/external-providers/services/external-providers-registry.backend.service.js +539 -45
- package/dist/esm/external-providers/services/external-providers-registry.backend.service.js.map +1 -1
- package/dist/esm/external-providers/services/frontend-bootstrap.backend.service.d.ts.map +1 -1
- package/dist/esm/external-providers/services/frontend-bootstrap.backend.service.js +25 -2
- package/dist/esm/external-providers/services/frontend-bootstrap.backend.service.js.map +1 -1
- package/dist/esm/files/controllers/file.controller.d.ts +24 -1
- package/dist/esm/files/controllers/file.controller.d.ts.map +1 -1
- package/dist/esm/files/controllers/file.controller.js +83 -11
- package/dist/esm/files/controllers/file.controller.js.map +1 -1
- package/dist/esm/files/handlers/file-upload-route-locals.backend.types.d.ts +17 -0
- package/dist/esm/files/handlers/file-upload-route-locals.backend.types.d.ts.map +1 -0
- package/dist/esm/files/handlers/file-upload-route-locals.backend.types.js +1 -0
- package/dist/esm/files/handlers/file-upload-route-locals.backend.types.js.map +1 -0
- package/dist/esm/files/handlers/resource-file-upload-handler.backend.service.d.ts +5 -1
- package/dist/esm/files/handlers/resource-file-upload-handler.backend.service.d.ts.map +1 -1
- package/dist/esm/files/handlers/resource-file-upload-handler.backend.service.js +76 -13
- package/dist/esm/files/handlers/resource-file-upload-handler.backend.service.js.map +1 -1
- package/dist/esm/files/services/file-operation-handler.backend.service.d.ts +18 -0
- package/dist/esm/files/services/file-operation-handler.backend.service.d.ts.map +1 -1
- package/dist/esm/files/services/file-operation-handler.backend.service.js +36 -28
- package/dist/esm/files/services/file-operation-handler.backend.service.js.map +1 -1
- package/dist/esm/files/services/file-scanning.backend.service.d.ts +94 -9
- package/dist/esm/files/services/file-scanning.backend.service.d.ts.map +1 -1
- package/dist/esm/files/services/file-scanning.backend.service.js +197 -17
- package/dist/esm/files/services/file-scanning.backend.service.js.map +1 -1
- package/dist/esm/files/services/file-text-extraction.backend.service.d.ts +60 -1
- package/dist/esm/files/services/file-text-extraction.backend.service.d.ts.map +1 -1
- package/dist/esm/files/services/file-text-extraction.backend.service.js +167 -8
- package/dist/esm/files/services/file-text-extraction.backend.service.js.map +1 -1
- package/dist/esm/files/services/file-upload-grant.backend.service.d.ts +214 -0
- package/dist/esm/files/services/file-upload-grant.backend.service.d.ts.map +1 -0
- package/dist/esm/files/services/file-upload-grant.backend.service.js +566 -0
- package/dist/esm/files/services/file-upload-grant.backend.service.js.map +1 -0
- package/dist/esm/files/services/files.backend.service.d.ts +87 -0
- package/dist/esm/files/services/files.backend.service.d.ts.map +1 -1
- package/dist/esm/files/services/files.backend.service.js +252 -19
- package/dist/esm/files/services/files.backend.service.js.map +1 -1
- package/dist/esm/files/storage/application-storage-key.backend.utils.d.ts +109 -0
- package/dist/esm/files/storage/application-storage-key.backend.utils.d.ts.map +1 -0
- package/dist/esm/files/storage/application-storage-key.backend.utils.js +123 -0
- package/dist/esm/files/storage/application-storage-key.backend.utils.js.map +1 -0
- package/dist/esm/files/storage/file-storage-provider.types.d.ts +16 -10
- package/dist/esm/files/storage/file-storage-provider.types.d.ts.map +1 -1
- package/dist/esm/files/storage/file-storage-provider.types.js.map +1 -1
- package/dist/esm/files/storage/local-directory-storage-provider.backend.service.d.ts +67 -8
- package/dist/esm/files/storage/local-directory-storage-provider.backend.service.d.ts.map +1 -1
- package/dist/esm/files/storage/local-directory-storage-provider.backend.service.js +101 -28
- package/dist/esm/files/storage/local-directory-storage-provider.backend.service.js.map +1 -1
- package/dist/esm/files/storage/wildo-managed-storage-provider.backend.service.d.ts.map +1 -1
- package/dist/esm/files/storage/wildo-managed-storage-provider.backend.service.js +8 -55
- package/dist/esm/files/storage/wildo-managed-storage-provider.backend.service.js.map +1 -1
- package/dist/esm/files/utils/file-field-schema-path.backend.utils.d.ts.map +1 -1
- package/dist/esm/files/utils/file-field-schema-path.backend.utils.js +20 -0
- package/dist/esm/files/utils/file-field-schema-path.backend.utils.js.map +1 -1
- package/dist/esm/files/utils/file-uploader.utils.d.ts.map +1 -1
- package/dist/esm/files/utils/file-uploader.utils.js +12 -0
- package/dist/esm/files/utils/file-uploader.utils.js.map +1 -1
- package/dist/esm/files/utils/office-document-text-extraction.backend.utils.d.ts +86 -0
- package/dist/esm/files/utils/office-document-text-extraction.backend.utils.d.ts.map +1 -0
- package/dist/esm/files/utils/office-document-text-extraction.backend.utils.js +288 -0
- package/dist/esm/files/utils/office-document-text-extraction.backend.utils.js.map +1 -0
- package/dist/esm/flows-actors/a2a/batches/a2a-abandoned-task-sweep.batch.backend.service.d.ts +15 -0
- package/dist/esm/flows-actors/a2a/batches/a2a-abandoned-task-sweep.batch.backend.service.d.ts.map +1 -1
- package/dist/esm/flows-actors/a2a/batches/a2a-abandoned-task-sweep.batch.backend.service.js +76 -5
- package/dist/esm/flows-actors/a2a/batches/a2a-abandoned-task-sweep.batch.backend.service.js.map +1 -1
- package/dist/esm/flows-actors/a2a/controllers/a2a.controller.d.ts.map +1 -1
- package/dist/esm/flows-actors/a2a/controllers/a2a.controller.js +6 -1
- package/dist/esm/flows-actors/a2a/controllers/a2a.controller.js.map +1 -1
- package/dist/esm/flows-actors/a2a/models/a2a.backend.schemas.d.ts +60 -0
- package/dist/esm/flows-actors/a2a/models/a2a.backend.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/a2a/models/a2a.backend.schemas.js +63 -0
- package/dist/esm/flows-actors/a2a/models/a2a.backend.schemas.js.map +1 -1
- package/dist/esm/flows-actors/a2a/services/a2a-task-cancellation.backend.service.d.ts +74 -0
- package/dist/esm/flows-actors/a2a/services/a2a-task-cancellation.backend.service.d.ts.map +1 -1
- package/dist/esm/flows-actors/a2a/services/a2a-task-cancellation.backend.service.js +200 -44
- package/dist/esm/flows-actors/a2a/services/a2a-task-cancellation.backend.service.js.map +1 -1
- package/dist/esm/flows-actors/a2a/services/a2a-task.backend.service.d.ts +7 -1
- package/dist/esm/flows-actors/a2a/services/a2a-task.backend.service.d.ts.map +1 -1
- package/dist/esm/flows-actors/a2a/services/a2a-task.backend.service.js +53 -1
- package/dist/esm/flows-actors/a2a/services/a2a-task.backend.service.js.map +1 -1
- package/dist/esm/flows-actors/a2a/services/a2a-token-budget.backend.service.d.ts +18 -0
- package/dist/esm/flows-actors/a2a/services/a2a-token-budget.backend.service.d.ts.map +1 -1
- package/dist/esm/flows-actors/a2a/services/a2a-token-budget.backend.service.js +18 -0
- package/dist/esm/flows-actors/a2a/services/a2a-token-budget.backend.service.js.map +1 -1
- package/dist/esm/flows-actors/a2a/services/a2a.backend.service.d.ts +12 -7
- package/dist/esm/flows-actors/a2a/services/a2a.backend.service.d.ts.map +1 -1
- package/dist/esm/flows-actors/a2a/services/a2a.backend.service.js.map +1 -1
- package/dist/esm/flows-actors/models/agent-catalogs.backend.definitions.d.ts +0 -13
- package/dist/esm/flows-actors/models/agent-catalogs.backend.definitions.d.ts.map +1 -1
- package/dist/esm/flows-actors/models/agent-catalogs.backend.definitions.js +14 -22
- package/dist/esm/flows-actors/models/agent-catalogs.backend.definitions.js.map +1 -1
- package/dist/esm/flows-actors/models/core-facets.backend.definitions.d.ts +8 -3
- package/dist/esm/flows-actors/models/core-facets.backend.definitions.d.ts.map +1 -1
- package/dist/esm/flows-actors/models/core-facets.backend.definitions.js +25 -15
- package/dist/esm/flows-actors/models/core-facets.backend.definitions.js.map +1 -1
- package/dist/esm/flows-actors/models/flows-actors.backend.schemas.d.ts +13 -1
- package/dist/esm/flows-actors/models/flows-actors.backend.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/models/flows-actors.backend.schemas.js.map +1 -1
- package/dist/esm/flows-actors/models/function-tools.backend.definitions.d.ts +88 -8
- package/dist/esm/flows-actors/models/function-tools.backend.definitions.d.ts.map +1 -1
- package/dist/esm/flows-actors/models/function-tools.backend.definitions.js +333 -31
- package/dist/esm/flows-actors/models/function-tools.backend.definitions.js.map +1 -1
- package/dist/esm/flows-actors/models/market-generation.actors-system.backend.definitions.d.ts.map +1 -1
- package/dist/esm/flows-actors/models/market-generation.actors-system.backend.definitions.js +4 -2
- package/dist/esm/flows-actors/models/market-generation.actors-system.backend.definitions.js.map +1 -1
- package/dist/esm/flows-actors/models/mcp-client.backend.definitions.d.ts +113 -0
- package/dist/esm/flows-actors/models/mcp-client.backend.definitions.d.ts.map +1 -0
- package/dist/esm/flows-actors/models/mcp-client.backend.definitions.js +62 -0
- package/dist/esm/flows-actors/models/mcp-client.backend.definitions.js.map +1 -0
- package/dist/esm/flows-actors/services/actors-system.backend.service.d.ts.map +1 -1
- package/dist/esm/flows-actors/services/actors-system.backend.service.js +0 -2
- package/dist/esm/flows-actors/services/actors-system.backend.service.js.map +1 -1
- package/dist/esm/flows-actors/services/agents.backend.service.d.ts +107 -1
- package/dist/esm/flows-actors/services/agents.backend.service.d.ts.map +1 -1
- package/dist/esm/flows-actors/services/agents.backend.service.js +519 -56
- package/dist/esm/flows-actors/services/agents.backend.service.js.map +1 -1
- package/dist/esm/flows-actors/services/conversational-execution.backend.service.d.ts +5 -1
- package/dist/esm/flows-actors/services/conversational-execution.backend.service.d.ts.map +1 -1
- package/dist/esm/flows-actors/services/conversational-execution.backend.service.js +79 -16
- package/dist/esm/flows-actors/services/conversational-execution.backend.service.js.map +1 -1
- package/dist/esm/flows-actors/services/flows-actors-registry.service.d.ts +34 -5
- package/dist/esm/flows-actors/services/flows-actors-registry.service.d.ts.map +1 -1
- package/dist/esm/flows-actors/services/flows-actors-registry.service.js +154 -20
- package/dist/esm/flows-actors/services/flows-actors-registry.service.js.map +1 -1
- package/dist/esm/flows-actors/services/flows.backend.services.d.ts.map +1 -1
- package/dist/esm/flows-actors/services/flows.backend.services.js +27 -23
- package/dist/esm/flows-actors/services/flows.backend.services.js.map +1 -1
- package/dist/esm/flows-actors/services/llm-observability-agent-call-trace-sink.backend.d.ts.map +1 -1
- package/dist/esm/flows-actors/services/llm-observability-agent-call-trace-sink.backend.js +7 -1
- package/dist/esm/flows-actors/services/llm-observability-agent-call-trace-sink.backend.js.map +1 -1
- package/dist/esm/flows-actors/services/mcp-client.backend.service.d.ts +90 -0
- package/dist/esm/flows-actors/services/mcp-client.backend.service.d.ts.map +1 -0
- package/dist/esm/flows-actors/services/mcp-client.backend.service.js +368 -0
- package/dist/esm/flows-actors/services/mcp-client.backend.service.js.map +1 -0
- package/dist/esm/flows-actors/services/prompt-compiler.backend.service.d.ts +9 -5
- package/dist/esm/flows-actors/services/prompt-compiler.backend.service.d.ts.map +1 -1
- package/dist/esm/flows-actors/services/prompt-compiler.backend.service.js +12 -17
- package/dist/esm/flows-actors/services/prompt-compiler.backend.service.js.map +1 -1
- package/dist/esm/flows-actors/utils/acp-session-runner.backend.utils.d.ts +151 -41
- package/dist/esm/flows-actors/utils/acp-session-runner.backend.utils.d.ts.map +1 -1
- package/dist/esm/flows-actors/utils/acp-session-runner.backend.utils.js +308 -143
- package/dist/esm/flows-actors/utils/acp-session-runner.backend.utils.js.map +1 -1
- package/dist/esm/flows-actors/utils/meta-workflow-canonical-json.backend.utils.d.ts +0 -207
- package/dist/esm/flows-actors/utils/meta-workflow-canonical-json.backend.utils.d.ts.map +1 -1
- package/dist/esm/flows-actors/utils/meta-workflow-canonical-json.backend.utils.js +8 -243
- package/dist/esm/flows-actors/utils/meta-workflow-canonical-json.backend.utils.js.map +1 -1
- package/dist/esm/flows-actors/utils/meta-workflow-structured-generation-plan.backend.utils.d.ts.map +1 -1
- package/dist/esm/flows-actors/utils/meta-workflow-structured-generation-plan.backend.utils.js.map +1 -1
- package/dist/esm/guidance/services/milestone-evaluator.backend.service.d.ts +9 -14
- package/dist/esm/guidance/services/milestone-evaluator.backend.service.d.ts.map +1 -1
- package/dist/esm/guidance/services/milestone-evaluator.backend.service.js +18 -89
- package/dist/esm/guidance/services/milestone-evaluator.backend.service.js.map +1 -1
- package/dist/esm/guidance/services/progression-state-store.backend.service.d.ts +86 -0
- package/dist/esm/guidance/services/progression-state-store.backend.service.d.ts.map +1 -0
- package/dist/esm/guidance/services/progression-state-store.backend.service.js +155 -0
- package/dist/esm/guidance/services/progression-state-store.backend.service.js.map +1 -0
- package/dist/esm/i18n/controllers/i18n-controller.backend.service.d.ts +10 -0
- package/dist/esm/i18n/controllers/i18n-controller.backend.service.d.ts.map +1 -1
- package/dist/esm/i18n/controllers/i18n-controller.backend.service.js +55 -5
- package/dist/esm/i18n/controllers/i18n-controller.backend.service.js.map +1 -1
- package/dist/esm/index.d.ts +15 -5
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +45 -5
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/inject/models/container.d.ts.map +1 -1
- package/dist/esm/inject/models/container.js +82 -10
- package/dist/esm/inject/models/container.js.map +1 -1
- package/dist/esm/inject/models/service-types.d.ts +20 -3
- package/dist/esm/inject/models/service-types.d.ts.map +1 -1
- package/dist/esm/inject/models/service-types.js +21 -3
- package/dist/esm/inject/models/service-types.js.map +1 -1
- package/dist/esm/mcp/controllers/mcp.controller.d.ts.map +1 -1
- package/dist/esm/mcp/controllers/mcp.controller.js +32 -4
- package/dist/esm/mcp/controllers/mcp.controller.js.map +1 -1
- package/dist/esm/mcp/models/mcp-tool.backend.schemas.d.ts +34 -0
- package/dist/esm/mcp/models/mcp-tool.backend.schemas.d.ts.map +1 -1
- package/dist/esm/mcp/models/mcp-tool.backend.schemas.js +42 -0
- package/dist/esm/mcp/models/mcp-tool.backend.schemas.js.map +1 -1
- package/dist/esm/mcp/services/mcp-server.backend.service.d.ts +84 -1
- package/dist/esm/mcp/services/mcp-server.backend.service.d.ts.map +1 -1
- package/dist/esm/mcp/services/mcp-server.backend.service.js +235 -11
- package/dist/esm/mcp/services/mcp-server.backend.service.js.map +1 -1
- package/dist/esm/mcp/services/mcp-tool-adapter.backend.service.d.ts +64 -2
- package/dist/esm/mcp/services/mcp-tool-adapter.backend.service.d.ts.map +1 -1
- package/dist/esm/mcp/services/mcp-tool-adapter.backend.service.js +152 -6
- package/dist/esm/mcp/services/mcp-tool-adapter.backend.service.js.map +1 -1
- package/dist/esm/monitoring/analytics/controllers/analytics.backend.controller.d.ts.map +1 -1
- package/dist/esm/monitoring/analytics/controllers/analytics.backend.controller.js +49 -4
- package/dist/esm/monitoring/analytics/controllers/analytics.backend.controller.js.map +1 -1
- package/dist/esm/monitoring/analytics/services/value-moment-definition-registry.backend.service.d.ts +66 -0
- package/dist/esm/monitoring/analytics/services/value-moment-definition-registry.backend.service.d.ts.map +1 -0
- package/dist/esm/monitoring/analytics/services/value-moment-definition-registry.backend.service.js +199 -0
- package/dist/esm/monitoring/analytics/services/value-moment-definition-registry.backend.service.js.map +1 -0
- package/dist/esm/monitoring/analytics/services/value-moment-engine.backend.service.d.ts +149 -13
- package/dist/esm/monitoring/analytics/services/value-moment-engine.backend.service.d.ts.map +1 -1
- package/dist/esm/monitoring/analytics/services/value-moment-engine.backend.service.js +411 -19
- package/dist/esm/monitoring/analytics/services/value-moment-engine.backend.service.js.map +1 -1
- package/dist/esm/monitoring/analytics/services/value-moment-handler-registry.backend.service.d.ts +11 -2
- package/dist/esm/monitoring/analytics/services/value-moment-handler-registry.backend.service.d.ts.map +1 -1
- package/dist/esm/monitoring/analytics/services/value-moment-handler-registry.backend.service.js.map +1 -1
- package/dist/esm/monitoring/logger/models/logger.backend.schemas.d.ts +28 -9
- package/dist/esm/monitoring/logger/models/logger.backend.schemas.d.ts.map +1 -1
- package/dist/esm/monitoring/logger/models/logger.backend.schemas.js +30 -10
- package/dist/esm/monitoring/logger/models/logger.backend.schemas.js.map +1 -1
- package/dist/esm/monitoring/logger/services/logger.service.d.ts +12 -0
- package/dist/esm/monitoring/logger/services/logger.service.d.ts.map +1 -1
- package/dist/esm/monitoring/logger/services/logger.service.js +52 -11
- package/dist/esm/monitoring/logger/services/logger.service.js.map +1 -1
- package/dist/esm/monitoring/logger/utils/log-severity-floor.backend.utils.d.ts +62 -0
- package/dist/esm/monitoring/logger/utils/log-severity-floor.backend.utils.d.ts.map +1 -0
- package/dist/esm/monitoring/logger/utils/log-severity-floor.backend.utils.js +78 -0
- package/dist/esm/monitoring/logger/utils/log-severity-floor.backend.utils.js.map +1 -0
- package/dist/esm/monitoring/observability/audit-observation-emission.backend.d.ts +309 -0
- package/dist/esm/monitoring/observability/audit-observation-emission.backend.d.ts.map +1 -0
- package/dist/esm/monitoring/observability/audit-observation-emission.backend.js +385 -0
- package/dist/esm/monitoring/observability/audit-observation-emission.backend.js.map +1 -0
- package/dist/esm/monitoring/observability/models/observability.backend.schemas.d.ts +1 -0
- package/dist/esm/monitoring/observability/models/observability.backend.schemas.d.ts.map +1 -1
- package/dist/esm/monitoring/observability/models/observability.backend.schemas.js.map +1 -1
- package/dist/esm/monitoring/observability/services/metrics.service.d.ts +21 -0
- package/dist/esm/monitoring/observability/services/metrics.service.d.ts.map +1 -1
- package/dist/esm/monitoring/observability/services/metrics.service.js +38 -0
- package/dist/esm/monitoring/observability/services/metrics.service.js.map +1 -1
- package/dist/esm/notifications/email/models/email-context-provider.interface.d.ts +0 -80
- package/dist/esm/notifications/email/models/email-context-provider.interface.d.ts.map +0 -1
- package/dist/esm/notifications/email/models/email-context-provider.interface.js +0 -25
- package/dist/esm/notifications/email/models/email-context-provider.interface.js.map +0 -1
- package/dist/esm/notifications/email/services/email-context-provider-registry.backend.service.d.ts +0 -49
- package/dist/esm/notifications/email/services/email-context-provider-registry.backend.service.d.ts.map +0 -1
- package/dist/esm/notifications/email/services/email-context-provider-registry.backend.service.js +0 -141
- package/dist/esm/notifications/email/services/email-context-provider-registry.backend.service.js.map +0 -1
- package/dist/esm/notifications/email/services/email-template-compiler.backend.service.d.ts +0 -37
- package/dist/esm/notifications/email/services/email-template-compiler.backend.service.d.ts.map +0 -1
- package/dist/esm/notifications/email/services/email-template-compiler.backend.service.js +0 -121
- package/dist/esm/notifications/email/services/email-template-compiler.backend.service.js.map +0 -1
- package/dist/esm/notifications/email/services/email-template-registry.backend.service.d.ts +66 -1
- package/dist/esm/notifications/email/services/email-template-registry.backend.service.d.ts.map +1 -1
- package/dist/esm/notifications/email/services/email-template-registry.backend.service.js +105 -10
- package/dist/esm/notifications/email/services/email-template-registry.backend.service.js.map +1 -1
- package/dist/esm/notifications/email/services/email-template-sandbox.backend.service.d.ts +0 -58
- package/dist/esm/notifications/email/services/email-template-sandbox.backend.service.d.ts.map +0 -1
- package/dist/esm/notifications/email/services/email-template-sandbox.backend.service.js +0 -223
- package/dist/esm/notifications/email/services/email-template-sandbox.backend.service.js.map +0 -1
- package/dist/esm/notifications/email/services/email-template-validator.backend.service.d.ts.map +1 -1
- package/dist/esm/notifications/email/services/email-template-validator.backend.service.js +10 -1
- package/dist/esm/notifications/email/services/email-template-validator.backend.service.js.map +1 -1
- package/dist/esm/notifications/email/services/email.backend.service.d.ts +60 -4
- package/dist/esm/notifications/email/services/email.backend.service.d.ts.map +1 -1
- package/dist/esm/notifications/email/services/email.backend.service.js +145 -43
- package/dist/esm/notifications/email/services/email.backend.service.js.map +1 -1
- package/dist/esm/notifications/email/utils/color-conversion.utils.d.ts +0 -1
- package/dist/esm/notifications/email/utils/color-conversion.utils.d.ts.map +1 -1
- package/dist/esm/notifications/email/utils/color-conversion.utils.js.map +1 -1
- package/dist/esm/notifications/services/notification-badge.backend.service.d.ts +142 -21
- package/dist/esm/notifications/services/notification-badge.backend.service.d.ts.map +1 -1
- package/dist/esm/notifications/services/notification-badge.backend.service.js +283 -58
- package/dist/esm/notifications/services/notification-badge.backend.service.js.map +1 -1
- package/dist/esm/notifications/services/notifications-dispatcher.backend.service.d.ts +108 -13
- package/dist/esm/notifications/services/notifications-dispatcher.backend.service.d.ts.map +1 -1
- package/dist/esm/notifications/services/notifications-dispatcher.backend.service.js +432 -101
- package/dist/esm/notifications/services/notifications-dispatcher.backend.service.js.map +1 -1
- package/dist/esm/notifications/sms/services/sms.backend.service.d.ts +2 -2
- package/dist/esm/notifications/sms/services/sms.backend.service.d.ts.map +1 -1
- package/dist/esm/notifications/sms/services/sms.backend.service.js +5 -5
- package/dist/esm/notifications/sms/services/sms.backend.service.js.map +1 -1
- package/dist/esm/notifications/webhooks/controllers/webhook-auto-controller.backend.service.d.ts +117 -5
- package/dist/esm/notifications/webhooks/controllers/webhook-auto-controller.backend.service.d.ts.map +1 -1
- package/dist/esm/notifications/webhooks/controllers/webhook-auto-controller.backend.service.js +164 -6
- package/dist/esm/notifications/webhooks/controllers/webhook-auto-controller.backend.service.js.map +1 -1
- package/dist/esm/notifications/webhooks/outbound/batches/m2m-webhook-delivery.batch.backend.service.d.ts +0 -6
- package/dist/esm/notifications/webhooks/outbound/batches/m2m-webhook-delivery.batch.backend.service.d.ts.map +1 -1
- package/dist/esm/notifications/webhooks/outbound/batches/m2m-webhook-delivery.batch.backend.service.js +54 -7
- package/dist/esm/notifications/webhooks/outbound/batches/m2m-webhook-delivery.batch.backend.service.js.map +1 -1
- package/dist/esm/notifications/webhooks/outbound/batches/m2m-webhook-delivery.batch.utils.d.ts +5 -5
- package/dist/esm/notifications/webhooks/outbound/batches/m2m-webhook-delivery.batch.utils.d.ts.map +1 -1
- package/dist/esm/notifications/webhooks/outbound/batches/m2m-webhook-delivery.batch.utils.js +14 -13
- package/dist/esm/notifications/webhooks/outbound/batches/m2m-webhook-delivery.batch.utils.js.map +1 -1
- package/dist/esm/notifications/webhooks/outbound/m2m-webhook-signed-request.backend.utils.d.ts +2 -1
- package/dist/esm/notifications/webhooks/outbound/m2m-webhook-signed-request.backend.utils.d.ts.map +1 -1
- package/dist/esm/notifications/webhooks/outbound/m2m-webhook-signed-request.backend.utils.js +18 -8
- package/dist/esm/notifications/webhooks/outbound/m2m-webhook-signed-request.backend.utils.js.map +1 -1
- package/dist/esm/notifications/webhooks/outbound/services/webhook-config-test-endpoint.custom-impl.backend.service.d.ts.map +1 -1
- package/dist/esm/notifications/webhooks/outbound/services/webhook-config-test-endpoint.custom-impl.backend.service.js +20 -18
- package/dist/esm/notifications/webhooks/outbound/services/webhook-config-test-endpoint.custom-impl.backend.service.js.map +1 -1
- package/dist/esm/notifications/webhooks/services/webhook-handler.backend.service.d.ts +16 -0
- package/dist/esm/notifications/webhooks/services/webhook-handler.backend.service.d.ts.map +1 -1
- package/dist/esm/notifications/webhooks/services/webhook-handler.backend.service.js +18 -0
- package/dist/esm/notifications/webhooks/services/webhook-handler.backend.service.js.map +1 -1
- package/dist/esm/organizations/batches/organization-purge.batch.backend.service.d.ts +2 -2
- package/dist/esm/organizations/batches/organization-purge.batch.backend.service.js +2 -2
- package/dist/esm/organizations/batches/organization-purge.batch.backend.service.js.map +1 -1
- package/dist/esm/organizations/services/organization-custom-implementation.backend.service.d.ts.map +1 -1
- package/dist/esm/organizations/services/organization-custom-implementation.backend.service.js +63 -2
- package/dist/esm/organizations/services/organization-custom-implementation.backend.service.js.map +1 -1
- package/dist/esm/organizations/services/organization-unit-custom-implementation.backend.service.d.ts.map +1 -1
- package/dist/esm/organizations/services/organization-unit-custom-implementation.backend.service.js +4 -1
- package/dist/esm/organizations/services/organization-unit-custom-implementation.backend.service.js.map +1 -1
- package/dist/esm/queue/adapters/in-memory-queue-adapter.backend.service.d.ts +66 -0
- package/dist/esm/queue/adapters/in-memory-queue-adapter.backend.service.d.ts.map +1 -0
- package/dist/esm/queue/adapters/in-memory-queue-adapter.backend.service.js +257 -0
- package/dist/esm/queue/adapters/in-memory-queue-adapter.backend.service.js.map +1 -0
- package/dist/esm/queue/adapters/queue-adapter.backend.binding.d.ts +12 -0
- package/dist/esm/queue/adapters/queue-adapter.backend.binding.d.ts.map +1 -0
- package/dist/esm/queue/adapters/queue-adapter.backend.binding.js +47 -0
- package/dist/esm/queue/adapters/queue-adapter.backend.binding.js.map +1 -0
- package/dist/esm/queue/adapters/queue-adapter.backend.interface.d.ts +87 -0
- package/dist/esm/queue/adapters/queue-adapter.backend.interface.d.ts.map +1 -0
- package/dist/esm/queue/adapters/queue-adapter.backend.interface.js +1 -0
- package/dist/esm/queue/adapters/queue-adapter.backend.interface.js.map +1 -0
- package/dist/esm/queue/adapters/queue-adapter.backend.options.d.ts +31 -0
- package/dist/esm/queue/adapters/queue-adapter.backend.options.d.ts.map +1 -0
- package/dist/esm/queue/adapters/queue-adapter.backend.options.js +13 -0
- package/dist/esm/queue/adapters/queue-adapter.backend.options.js.map +1 -0
- package/dist/esm/queue/adapters/rabbitmq-adapter.backend.service.d.ts +19 -25
- package/dist/esm/queue/adapters/rabbitmq-adapter.backend.service.d.ts.map +1 -1
- package/dist/esm/queue/adapters/rabbitmq-adapter.backend.service.js +33 -0
- package/dist/esm/queue/adapters/rabbitmq-adapter.backend.service.js.map +1 -1
- package/dist/esm/queue/domain-queue-consumer.backend.service.d.ts +2 -2
- package/dist/esm/queue/domain-queue-consumer.backend.service.d.ts.map +1 -1
- package/dist/esm/queue/domain-queue-consumer.backend.service.js +1 -4
- package/dist/esm/queue/domain-queue-consumer.backend.service.js.map +1 -1
- package/dist/esm/queue/job-consumer.backend.service.d.ts +2 -2
- package/dist/esm/queue/job-consumer.backend.service.d.ts.map +1 -1
- package/dist/esm/queue/job-consumer.backend.service.js +1 -4
- package/dist/esm/queue/job-consumer.backend.service.js.map +1 -1
- package/dist/esm/queue/job-executor.backend.service.d.ts +2 -2
- package/dist/esm/queue/job-executor.backend.service.d.ts.map +1 -1
- package/dist/esm/queue/job-executor.backend.service.js +1 -4
- package/dist/esm/queue/job-executor.backend.service.js.map +1 -1
- package/dist/esm/queue/queue-monitoring.backend.service.d.ts +8 -4
- package/dist/esm/queue/queue-monitoring.backend.service.d.ts.map +1 -1
- package/dist/esm/queue/queue-monitoring.backend.service.js +25 -17
- package/dist/esm/queue/queue-monitoring.backend.service.js.map +1 -1
- package/dist/esm/queue/queue-worker-initializer.backend.service.d.ts +16 -1
- package/dist/esm/queue/queue-worker-initializer.backend.service.d.ts.map +1 -1
- package/dist/esm/queue/queue-worker-initializer.backend.service.js +16 -1
- package/dist/esm/queue/queue-worker-initializer.backend.service.js.map +1 -1
- package/dist/esm/queue/queue.backend.service.d.ts +3 -3
- package/dist/esm/queue/queue.backend.service.d.ts.map +1 -1
- package/dist/esm/queue/queue.backend.service.js +26 -4
- package/dist/esm/queue/queue.backend.service.js.map +1 -1
- package/dist/esm/queue/worker-shutdown-manager.backend.service.d.ts +2 -2
- package/dist/esm/queue/worker-shutdown-manager.backend.service.d.ts.map +1 -1
- package/dist/esm/queue/worker-shutdown-manager.backend.service.js +18 -3
- package/dist/esm/queue/worker-shutdown-manager.backend.service.js.map +1 -1
- package/dist/esm/rag/utils/rag-chunking.backend.utils.d.ts +50 -25
- package/dist/esm/rag/utils/rag-chunking.backend.utils.d.ts.map +1 -1
- package/dist/esm/rag/utils/rag-chunking.backend.utils.js +147 -39
- package/dist/esm/rag/utils/rag-chunking.backend.utils.js.map +1 -1
- package/dist/esm/rag/utils/rag-context-assembly.backend.utils.d.ts +12 -3
- package/dist/esm/rag/utils/rag-context-assembly.backend.utils.d.ts.map +1 -1
- package/dist/esm/rag/utils/rag-context-assembly.backend.utils.js +12 -3
- package/dist/esm/rag/utils/rag-context-assembly.backend.utils.js.map +1 -1
- package/dist/esm/requests/service/websocket.service.d.ts +9 -0
- package/dist/esm/requests/service/websocket.service.d.ts.map +1 -1
- package/dist/esm/requests/service/websocket.service.js +88 -15
- package/dist/esm/requests/service/websocket.service.js.map +1 -1
- package/dist/esm/resources/models/custom-service-implementations.backend.definition.d.ts.map +1 -1
- package/dist/esm/resources/models/custom-service-implementations.backend.definition.js +16 -2
- package/dist/esm/resources/models/custom-service-implementations.backend.definition.js.map +1 -1
- package/dist/esm/resources/models/resources-operations.backend.definitions.d.ts.map +1 -1
- package/dist/esm/resources/models/resources-operations.backend.definitions.js +2 -0
- package/dist/esm/resources/models/resources-operations.backend.definitions.js.map +1 -1
- package/dist/esm/resources/models/resources-relationships.backend.definitions.d.ts.map +1 -1
- package/dist/esm/resources/models/resources-relationships.backend.definitions.js +14 -0
- package/dist/esm/resources/models/resources-relationships.backend.definitions.js.map +1 -1
- package/dist/esm/resources/models/resources-types.backend.schemas.d.ts +2 -1
- package/dist/esm/resources/models/resources-types.backend.schemas.d.ts.map +1 -1
- package/dist/esm/resources/models/resources-types.backend.schemas.js +8 -0
- package/dist/esm/resources/models/resources-types.backend.schemas.js.map +1 -1
- package/dist/esm/resources/services/resource-id.backend.service.js +3 -3
- package/dist/esm/resources/services/resource-id.backend.service.js.map +1 -1
- package/dist/esm/resources/services/resources-registry.backend.service.d.ts +60 -5
- package/dist/esm/resources/services/resources-registry.backend.service.d.ts.map +1 -1
- package/dist/esm/resources/services/resources-registry.backend.service.js +91 -7
- package/dist/esm/resources/services/resources-registry.backend.service.js.map +1 -1
- package/dist/esm/runtime/controllers/health-controller.backend.service.d.ts +36 -3
- package/dist/esm/runtime/controllers/health-controller.backend.service.d.ts.map +1 -1
- package/dist/esm/runtime/controllers/health-controller.backend.service.js +32 -10
- package/dist/esm/runtime/controllers/health-controller.backend.service.js.map +1 -1
- package/dist/esm/runtime/domain-module.backend.definitions.d.ts +24 -0
- package/dist/esm/runtime/domain-module.backend.definitions.d.ts.map +1 -1
- package/dist/esm/runtime/domain-module.backend.definitions.js +24 -0
- package/dist/esm/runtime/domain-module.backend.definitions.js.map +1 -1
- package/dist/esm/runtime/services/execution-context-creator.backend.service.d.ts.map +1 -1
- package/dist/esm/runtime/services/execution-context-creator.backend.service.js +13 -7
- package/dist/esm/runtime/services/execution-context-creator.backend.service.js.map +1 -1
- package/dist/esm/runtime/services/health-readiness-contributor.backend.interface.d.ts +51 -0
- package/dist/esm/runtime/services/health-readiness-contributor.backend.interface.d.ts.map +1 -1
- package/dist/esm/runtime/services/health-readiness-contributor.backend.interface.js.map +1 -1
- package/dist/esm/runtime/services/http-server.backend.service.d.ts +26 -0
- package/dist/esm/runtime/services/http-server.backend.service.d.ts.map +1 -1
- package/dist/esm/runtime/services/http-server.backend.service.js +181 -1
- package/dist/esm/runtime/services/http-server.backend.service.js.map +1 -1
- package/dist/esm/runtime/services/start-application.backend.service.d.ts +47 -1
- package/dist/esm/runtime/services/start-application.backend.service.d.ts.map +1 -1
- package/dist/esm/runtime/services/start-application.backend.service.js +343 -77
- package/dist/esm/runtime/services/start-application.backend.service.js.map +1 -1
- package/dist/esm/security/api-keys/api-keys.custom-impl.backend.service.d.ts +15 -0
- package/dist/esm/security/api-keys/api-keys.custom-impl.backend.service.d.ts.map +1 -1
- package/dist/esm/security/api-keys/api-keys.custom-impl.backend.service.js +28 -0
- package/dist/esm/security/api-keys/api-keys.custom-impl.backend.service.js.map +1 -1
- package/dist/esm/security/authentications/batches/anonymous-session-cleanup.batch.backend.service.d.ts +5 -1
- package/dist/esm/security/authentications/batches/anonymous-session-cleanup.batch.backend.service.d.ts.map +1 -1
- package/dist/esm/security/authentications/batches/anonymous-session-cleanup.batch.backend.service.js +24 -4
- package/dist/esm/security/authentications/batches/anonymous-session-cleanup.batch.backend.service.js.map +1 -1
- package/dist/esm/security/authentications/controllers/authentication-controller.backend.service.d.ts.map +1 -1
- package/dist/esm/security/authentications/controllers/authentication-controller.backend.service.js +29 -4
- package/dist/esm/security/authentications/controllers/authentication-controller.backend.service.js.map +1 -1
- package/dist/esm/security/authentications/controllers/oauth-provider-controller.backend.service.d.ts +114 -0
- package/dist/esm/security/authentications/controllers/oauth-provider-controller.backend.service.d.ts.map +1 -1
- package/dist/esm/security/authentications/controllers/oauth-provider-controller.backend.service.js +354 -3
- package/dist/esm/security/authentications/controllers/oauth-provider-controller.backend.service.js.map +1 -1
- package/dist/esm/security/authentications/models/cimd.backend.schemas.d.ts +1 -0
- package/dist/esm/security/authentications/models/cimd.backend.schemas.d.ts.map +1 -1
- package/dist/esm/security/authentications/models/cimd.backend.schemas.js +22 -0
- package/dist/esm/security/authentications/models/cimd.backend.schemas.js.map +1 -1
- package/dist/esm/security/authentications/models/jwt.backend.schemas.d.ts +3 -23
- package/dist/esm/security/authentications/models/jwt.backend.schemas.d.ts.map +1 -1
- package/dist/esm/security/authentications/models/jwt.backend.schemas.js +20 -45
- package/dist/esm/security/authentications/models/jwt.backend.schemas.js.map +1 -1
- package/dist/esm/security/authentications/models/oauth2-connection.backend.schemas.d.ts +15 -0
- package/dist/esm/security/authentications/models/oauth2-connection.backend.schemas.d.ts.map +1 -1
- package/dist/esm/security/authentications/models/oauth2-connection.backend.schemas.js.map +1 -1
- package/dist/esm/security/authentications/services/admin-config/auth-organization-configuration.service.d.ts +0 -2
- package/dist/esm/security/authentications/services/admin-config/auth-organization-configuration.service.d.ts.map +1 -1
- package/dist/esm/security/authentications/services/admin-config/auth-organization-configuration.service.js +23 -14
- package/dist/esm/security/authentications/services/admin-config/auth-organization-configuration.service.js.map +1 -1
- package/dist/esm/security/authentications/services/admin-config/domain-to-org-lookup.backend.service.d.ts +0 -1
- package/dist/esm/security/authentications/services/admin-config/domain-to-org-lookup.backend.service.d.ts.map +1 -1
- package/dist/esm/security/authentications/services/admin-config/domain-to-org-lookup.backend.service.js +15 -12
- package/dist/esm/security/authentications/services/admin-config/domain-to-org-lookup.backend.service.js.map +1 -1
- package/dist/esm/security/authentications/services/admin-config/domain-verification.backend.service.d.ts +113 -3
- package/dist/esm/security/authentications/services/admin-config/domain-verification.backend.service.d.ts.map +1 -1
- package/dist/esm/security/authentications/services/admin-config/domain-verification.backend.service.js +207 -30
- package/dist/esm/security/authentications/services/admin-config/domain-verification.backend.service.js.map +1 -1
- package/dist/esm/security/authentications/services/admin-config/enterprise-user-provisioning.backend.service.d.ts +95 -2
- package/dist/esm/security/authentications/services/admin-config/enterprise-user-provisioning.backend.service.d.ts.map +1 -1
- package/dist/esm/security/authentications/services/admin-config/enterprise-user-provisioning.backend.service.js +153 -9
- package/dist/esm/security/authentications/services/admin-config/enterprise-user-provisioning.backend.service.js.map +1 -1
- package/dist/esm/security/authentications/services/anonymous-session.backend.service.d.ts +190 -0
- package/dist/esm/security/authentications/services/anonymous-session.backend.service.d.ts.map +1 -1
- package/dist/esm/security/authentications/services/anonymous-session.backend.service.js +377 -53
- package/dist/esm/security/authentications/services/anonymous-session.backend.service.js.map +1 -1
- package/dist/esm/security/authentications/services/auth-methods/auth-method-management.backend.service.d.ts +9 -1
- package/dist/esm/security/authentications/services/auth-methods/auth-method-management.backend.service.d.ts.map +1 -1
- package/dist/esm/security/authentications/services/auth-methods/auth-method-management.backend.service.js +77 -2
- package/dist/esm/security/authentications/services/auth-methods/auth-method-management.backend.service.js.map +1 -1
- package/dist/esm/security/authentications/services/auth-methods/auth-mfa.backend.service.d.ts.map +1 -1
- package/dist/esm/security/authentications/services/auth-methods/auth-mfa.backend.service.js +5 -3
- package/dist/esm/security/authentications/services/auth-methods/auth-mfa.backend.service.js.map +1 -1
- package/dist/esm/security/authentications/services/auth-methods/auth-registration.backend.service.d.ts +41 -0
- package/dist/esm/security/authentications/services/auth-methods/auth-registration.backend.service.d.ts.map +1 -1
- package/dist/esm/security/authentications/services/auth-methods/auth-registration.backend.service.js +202 -23
- package/dist/esm/security/authentications/services/auth-methods/auth-registration.backend.service.js.map +1 -1
- package/dist/esm/security/authentications/services/auth-methods/oauth2-authentication.backend.service.d.ts.map +1 -1
- package/dist/esm/security/authentications/services/auth-methods/oauth2-authentication.backend.service.js +42 -1
- package/dist/esm/security/authentications/services/auth-methods/oauth2-authentication.backend.service.js.map +1 -1
- package/dist/esm/security/authentications/services/auth-methods/oauth2-connection-resolver.backend.service.d.ts.map +1 -1
- package/dist/esm/security/authentications/services/auth-methods/oauth2-connection-resolver.backend.service.js +34 -4
- package/dist/esm/security/authentications/services/auth-methods/oauth2-connection-resolver.backend.service.js.map +1 -1
- package/dist/esm/security/authentications/services/auth-methods/webauthn.backend.service.d.ts +29 -5
- package/dist/esm/security/authentications/services/auth-methods/webauthn.backend.service.d.ts.map +1 -1
- package/dist/esm/security/authentications/services/auth-methods/webauthn.backend.service.js +77 -5
- package/dist/esm/security/authentications/services/auth-methods/webauthn.backend.service.js.map +1 -1
- package/dist/esm/security/authentications/services/auth-token-issuer.backend.service.d.ts +41 -1
- package/dist/esm/security/authentications/services/auth-token-issuer.backend.service.d.ts.map +1 -1
- package/dist/esm/security/authentications/services/auth-token-issuer.backend.service.js +87 -4
- package/dist/esm/security/authentications/services/auth-token-issuer.backend.service.js.map +1 -1
- package/dist/esm/security/authentications/services/authentication-orchestrator.backend.service.d.ts +43 -1
- package/dist/esm/security/authentications/services/authentication-orchestrator.backend.service.d.ts.map +1 -1
- package/dist/esm/security/authentications/services/authentication-orchestrator.backend.service.js +277 -97
- package/dist/esm/security/authentications/services/authentication-orchestrator.backend.service.js.map +1 -1
- package/dist/esm/security/authentications/services/cimd-client-metadata.backend.service.d.ts +28 -5
- package/dist/esm/security/authentications/services/cimd-client-metadata.backend.service.d.ts.map +1 -1
- package/dist/esm/security/authentications/services/cimd-client-metadata.backend.service.js +72 -12
- package/dist/esm/security/authentications/services/cimd-client-metadata.backend.service.js.map +1 -1
- package/dist/esm/security/authentications/services/custom-impls/auth-custom-implementations.backend.d.ts.map +1 -1
- package/dist/esm/security/authentications/services/custom-impls/auth-custom-implementations.backend.js +3 -0
- package/dist/esm/security/authentications/services/custom-impls/auth-custom-implementations.backend.js.map +1 -1
- package/dist/esm/security/authentications/services/custom-impls/sso-config-domain-verification.custom-impl.backend.service.d.ts +28 -0
- package/dist/esm/security/authentications/services/custom-impls/sso-config-domain-verification.custom-impl.backend.service.d.ts.map +1 -0
- package/dist/esm/security/authentications/services/custom-impls/sso-config-domain-verification.custom-impl.backend.service.js +283 -0
- package/dist/esm/security/authentications/services/custom-impls/sso-config-domain-verification.custom-impl.backend.service.js.map +1 -0
- package/dist/esm/security/authentications/services/custom-impls/sso-config.custom-impl.backend.service.d.ts +4 -3
- package/dist/esm/security/authentications/services/custom-impls/sso-config.custom-impl.backend.service.d.ts.map +1 -1
- package/dist/esm/security/authentications/services/custom-impls/sso-config.custom-impl.backend.service.js +4 -3
- package/dist/esm/security/authentications/services/custom-impls/sso-config.custom-impl.backend.service.js.map +1 -1
- package/dist/esm/security/authentications/services/oauth-provider-token.backend.service.d.ts +35 -0
- package/dist/esm/security/authentications/services/oauth-provider-token.backend.service.d.ts.map +1 -1
- package/dist/esm/security/authentications/services/oauth-provider-token.backend.service.js +111 -21
- package/dist/esm/security/authentications/services/oauth-provider-token.backend.service.js.map +1 -1
- package/dist/esm/security/authentications/services/oidc-authorization-code.backend.service.d.ts +14 -1
- package/dist/esm/security/authentications/services/oidc-authorization-code.backend.service.d.ts.map +1 -1
- package/dist/esm/security/authentications/services/oidc-authorization-code.backend.service.js +49 -8
- package/dist/esm/security/authentications/services/oidc-authorization-code.backend.service.js.map +1 -1
- package/dist/esm/security/authentications/services/utils/auth-policy-resolution.backend.utils.d.ts.map +1 -1
- package/dist/esm/security/authentications/services/utils/auth-policy-resolution.backend.utils.js +4 -0
- package/dist/esm/security/authentications/services/utils/auth-policy-resolution.backend.utils.js.map +1 -1
- package/dist/esm/security/authentications/services/utils/auth-user-lookup.backend.service.d.ts.map +1 -1
- package/dist/esm/security/authentications/services/utils/auth-user-lookup.backend.service.js +6 -0
- package/dist/esm/security/authentications/services/utils/auth-user-lookup.backend.service.js.map +1 -1
- package/dist/esm/security/authentications/services/utils/external-turn-rate-limit.backend.utils.d.ts +37 -1
- package/dist/esm/security/authentications/services/utils/external-turn-rate-limit.backend.utils.d.ts.map +1 -1
- package/dist/esm/security/authentications/services/utils/external-turn-rate-limit.backend.utils.js +51 -0
- package/dist/esm/security/authentications/services/utils/external-turn-rate-limit.backend.utils.js.map +1 -1
- package/dist/esm/security/authentications/utils/enterprise-sso-enforcement.backend.utils.d.ts +41 -0
- package/dist/esm/security/authentications/utils/enterprise-sso-enforcement.backend.utils.d.ts.map +1 -1
- package/dist/esm/security/authentications/utils/enterprise-sso-enforcement.backend.utils.js +45 -0
- package/dist/esm/security/authentications/utils/enterprise-sso-enforcement.backend.utils.js.map +1 -1
- package/dist/esm/security/authorizations/cross-tenant-read-observation.backend.d.ts +116 -0
- package/dist/esm/security/authorizations/cross-tenant-read-observation.backend.d.ts.map +1 -0
- package/dist/esm/security/authorizations/cross-tenant-read-observation.backend.js +162 -0
- package/dist/esm/security/authorizations/cross-tenant-read-observation.backend.js.map +1 -0
- package/dist/esm/security/authorizations/initiator-organization-confinement.backend.d.ts.map +1 -1
- package/dist/esm/security/authorizations/initiator-organization-confinement.backend.js +24 -1
- package/dist/esm/security/authorizations/initiator-organization-confinement.backend.js.map +1 -1
- package/dist/esm/security/authorizations/organization-owner-floor.backend.utils.d.ts +20 -20
- package/dist/esm/security/authorizations/organization-owner-floor.backend.utils.d.ts.map +1 -1
- package/dist/esm/security/authorizations/organization-owner-floor.backend.utils.js +27 -28
- package/dist/esm/security/authorizations/organization-owner-floor.backend.utils.js.map +1 -1
- package/dist/esm/security/authorizations/platform-access-grant-custom-implementation.backend.service.d.ts.map +1 -1
- package/dist/esm/security/authorizations/platform-access-grant-custom-implementation.backend.service.js +77 -3
- package/dist/esm/security/authorizations/platform-access-grant-custom-implementation.backend.service.js.map +1 -1
- package/dist/esm/security/authorizations/privileged-access-review.backend.utils.d.ts +117 -0
- package/dist/esm/security/authorizations/privileged-access-review.backend.utils.d.ts.map +1 -0
- package/dist/esm/security/authorizations/privileged-access-review.backend.utils.js +104 -0
- package/dist/esm/security/authorizations/privileged-access-review.backend.utils.js.map +1 -0
- package/dist/esm/security/authorizations/role-ceiling.backend.utils.d.ts +4 -0
- package/dist/esm/security/authorizations/role-ceiling.backend.utils.d.ts.map +1 -1
- package/dist/esm/security/authorizations/role-ceiling.backend.utils.js +4 -0
- package/dist/esm/security/authorizations/role-ceiling.backend.utils.js.map +1 -1
- package/dist/esm/security/authorizations/role-conferral.backend.utils.d.ts +93 -0
- package/dist/esm/security/authorizations/role-conferral.backend.utils.d.ts.map +1 -0
- package/dist/esm/security/authorizations/role-conferral.backend.utils.js +95 -0
- package/dist/esm/security/authorizations/role-conferral.backend.utils.js.map +1 -0
- package/dist/esm/security/authorizations/scope-root-collection-confinement.backend.d.ts +124 -1
- package/dist/esm/security/authorizations/scope-root-collection-confinement.backend.d.ts.map +1 -1
- package/dist/esm/security/authorizations/scope-root-collection-confinement.backend.js +142 -5
- package/dist/esm/security/authorizations/scope-root-collection-confinement.backend.js.map +1 -1
- package/dist/esm/security/authorizations/services/authorizations.backend.service.d.ts +175 -14
- package/dist/esm/security/authorizations/services/authorizations.backend.service.d.ts.map +1 -1
- package/dist/esm/security/authorizations/services/authorizations.backend.service.js +385 -49
- package/dist/esm/security/authorizations/services/authorizations.backend.service.js.map +1 -1
- package/dist/esm/security/authorizations/super-admin-floor.backend.utils.d.ts +6 -14
- package/dist/esm/security/authorizations/super-admin-floor.backend.utils.d.ts.map +1 -1
- package/dist/esm/security/authorizations/super-admin-floor.backend.utils.js +13 -22
- package/dist/esm/security/authorizations/super-admin-floor.backend.utils.js.map +1 -1
- package/dist/esm/security/connected-accounts/connection-target-authorization.backend.d.ts +60 -0
- package/dist/esm/security/connected-accounts/connection-target-authorization.backend.d.ts.map +1 -0
- package/dist/esm/security/connected-accounts/connection-target-authorization.backend.js +79 -0
- package/dist/esm/security/connected-accounts/connection-target-authorization.backend.js.map +1 -0
- package/dist/esm/security/connected-accounts/controllers/provider-connection.controller.backend.service.d.ts +161 -0
- package/dist/esm/security/connected-accounts/controllers/provider-connection.controller.backend.service.d.ts.map +1 -0
- package/dist/esm/security/connected-accounts/controllers/provider-connection.controller.backend.service.js +512 -0
- package/dist/esm/security/connected-accounts/controllers/provider-connection.controller.backend.service.js.map +1 -0
- package/dist/esm/security/connected-accounts/organization-provider-credential-resolver.port.d.ts +59 -0
- package/dist/esm/security/connected-accounts/organization-provider-credential-resolver.port.d.ts.map +1 -0
- package/dist/esm/security/connected-accounts/organization-provider-credential-resolver.port.js +22 -0
- package/dist/esm/security/connected-accounts/organization-provider-credential-resolver.port.js.map +1 -0
- package/dist/esm/security/connected-accounts/provider-oauth2-refresher.port.d.ts +44 -0
- package/dist/esm/security/connected-accounts/provider-oauth2-refresher.port.d.ts.map +1 -0
- package/dist/esm/security/connected-accounts/provider-oauth2-refresher.port.js +20 -0
- package/dist/esm/security/connected-accounts/provider-oauth2-refresher.port.js.map +1 -0
- package/dist/esm/security/connected-accounts/services/organization-provider-credential-store.backend.service.d.ts +191 -0
- package/dist/esm/security/connected-accounts/services/organization-provider-credential-store.backend.service.d.ts.map +1 -0
- package/dist/esm/security/connected-accounts/services/organization-provider-credential-store.backend.service.js +385 -0
- package/dist/esm/security/connected-accounts/services/organization-provider-credential-store.backend.service.js.map +1 -0
- package/dist/esm/security/connected-accounts/services/organization-provider-credentials.custom-impl.backend.service.d.ts +41 -0
- package/dist/esm/security/connected-accounts/services/organization-provider-credentials.custom-impl.backend.service.d.ts.map +1 -0
- package/dist/esm/security/connected-accounts/services/organization-provider-credentials.custom-impl.backend.service.js +358 -0
- package/dist/esm/security/connected-accounts/services/organization-provider-credentials.custom-impl.backend.service.js.map +1 -0
- package/dist/esm/security/connected-accounts/services/provider-oauth2-exchange.backend.d.ts +160 -0
- package/dist/esm/security/connected-accounts/services/provider-oauth2-exchange.backend.d.ts.map +1 -0
- package/dist/esm/security/connected-accounts/services/provider-oauth2-exchange.backend.js +266 -0
- package/dist/esm/security/connected-accounts/services/provider-oauth2-exchange.backend.js.map +1 -0
- package/dist/esm/security/connected-accounts/services/provider-oauth2-pending-authorization.backend.service.d.ts +111 -0
- package/dist/esm/security/connected-accounts/services/provider-oauth2-pending-authorization.backend.service.d.ts.map +1 -0
- package/dist/esm/security/connected-accounts/services/provider-oauth2-pending-authorization.backend.service.js +107 -0
- package/dist/esm/security/connected-accounts/services/provider-oauth2-pending-authorization.backend.service.js.map +1 -0
- package/dist/esm/security/connected-accounts/services/provider-oauth2-refresher.backend.service.d.ts +54 -0
- package/dist/esm/security/connected-accounts/services/provider-oauth2-refresher.backend.service.d.ts.map +1 -0
- package/dist/esm/security/connected-accounts/services/provider-oauth2-refresher.backend.service.js +153 -0
- package/dist/esm/security/connected-accounts/services/provider-oauth2-refresher.backend.service.js.map +1 -0
- package/dist/esm/security/connected-accounts/services/user-provider-credential-store.backend.service.d.ts +195 -0
- package/dist/esm/security/connected-accounts/services/user-provider-credential-store.backend.service.d.ts.map +1 -0
- package/dist/esm/security/connected-accounts/services/user-provider-credential-store.backend.service.js +387 -0
- package/dist/esm/security/connected-accounts/services/user-provider-credential-store.backend.service.js.map +1 -0
- package/dist/esm/security/connected-accounts/services/user-provider-credentials.custom-impl.backend.service.d.ts +45 -0
- package/dist/esm/security/connected-accounts/services/user-provider-credentials.custom-impl.backend.service.d.ts.map +1 -0
- package/dist/esm/security/connected-accounts/services/user-provider-credentials.custom-impl.backend.service.js +291 -0
- package/dist/esm/security/connected-accounts/services/user-provider-credentials.custom-impl.backend.service.js.map +1 -0
- package/dist/esm/security/connected-accounts/user-provider-credential-resolver.port.d.ts +62 -0
- package/dist/esm/security/connected-accounts/user-provider-credential-resolver.port.d.ts.map +1 -0
- package/dist/esm/security/connected-accounts/user-provider-credential-resolver.port.js +29 -0
- package/dist/esm/security/connected-accounts/user-provider-credential-resolver.port.js.map +1 -0
- package/dist/esm/security/connected-accounts/utils/provider-credential-envelope.backend.utils.d.ts +127 -0
- package/dist/esm/security/connected-accounts/utils/provider-credential-envelope.backend.utils.d.ts.map +1 -0
- package/dist/esm/security/connected-accounts/utils/provider-credential-envelope.backend.utils.js +277 -0
- package/dist/esm/security/connected-accounts/utils/provider-credential-envelope.backend.utils.js.map +1 -0
- package/dist/esm/security/connected-accounts/utils/stored-credential-value.backend.utils.d.ts +66 -0
- package/dist/esm/security/connected-accounts/utils/stored-credential-value.backend.utils.d.ts.map +1 -0
- package/dist/esm/security/connected-accounts/utils/stored-credential-value.backend.utils.js +75 -0
- package/dist/esm/security/connected-accounts/utils/stored-credential-value.backend.utils.js.map +1 -0
- package/dist/esm/security/consumable-tokens/batches/consumable-tokens-cleanup.batch.backend.service.d.ts +18 -1
- package/dist/esm/security/consumable-tokens/batches/consumable-tokens-cleanup.batch.backend.service.d.ts.map +1 -1
- package/dist/esm/security/consumable-tokens/batches/consumable-tokens-cleanup.batch.backend.service.js +110 -74
- package/dist/esm/security/consumable-tokens/batches/consumable-tokens-cleanup.batch.backend.service.js.map +1 -1
- package/dist/esm/security/consumable-tokens/consumable-token-models.exports.d.ts +22 -0
- package/dist/esm/security/consumable-tokens/consumable-token-models.exports.d.ts.map +1 -0
- package/dist/esm/security/consumable-tokens/consumable-token-models.exports.js +22 -0
- package/dist/esm/security/consumable-tokens/consumable-token-models.exports.js.map +1 -0
- package/dist/esm/security/consumable-tokens/models/consumable-tokens.backend.resources-config.schemas.d.ts +17 -3
- package/dist/esm/security/consumable-tokens/models/consumable-tokens.backend.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/security/consumable-tokens/models/consumable-tokens.backend.resources-config.schemas.js +12 -0
- package/dist/esm/security/consumable-tokens/models/consumable-tokens.backend.resources-config.schemas.js.map +1 -1
- package/dist/esm/security/consumable-tokens/services/consumable-token.backend.service.d.ts +41 -3
- package/dist/esm/security/consumable-tokens/services/consumable-token.backend.service.d.ts.map +1 -1
- package/dist/esm/security/consumable-tokens/services/consumable-token.backend.service.js +83 -20
- package/dist/esm/security/consumable-tokens/services/consumable-token.backend.service.js.map +1 -1
- package/dist/esm/security/credential-rotation-grace.backend.utils.d.ts +9 -4
- package/dist/esm/security/credential-rotation-grace.backend.utils.d.ts.map +1 -1
- package/dist/esm/security/credential-rotation-grace.backend.utils.js +9 -4
- package/dist/esm/security/credential-rotation-grace.backend.utils.js.map +1 -1
- package/dist/esm/security/jwt/services/jwt.backend.service.d.ts.map +1 -1
- package/dist/esm/security/jwt/services/jwt.backend.service.js +1 -18
- package/dist/esm/security/jwt/services/jwt.backend.service.js.map +1 -1
- package/dist/esm/security/oauth-clients/oauth-client-generation.backend.utils.d.ts +26 -0
- package/dist/esm/security/oauth-clients/oauth-client-generation.backend.utils.d.ts.map +1 -1
- package/dist/esm/security/oauth-clients/oauth-client-generation.backend.utils.js +43 -0
- package/dist/esm/security/oauth-clients/oauth-client-generation.backend.utils.js.map +1 -1
- package/dist/esm/security/oauth-clients/oauth-clients.custom-impl.backend.service.d.ts +8 -1
- package/dist/esm/security/oauth-clients/oauth-clients.custom-impl.backend.service.d.ts.map +1 -1
- package/dist/esm/security/oauth-clients/oauth-clients.custom-impl.backend.service.js +49 -0
- package/dist/esm/security/oauth-clients/oauth-clients.custom-impl.backend.service.js.map +1 -1
- package/dist/esm/security/scim/controllers/scim.backend.controller.d.ts.map +1 -1
- package/dist/esm/security/scim/controllers/scim.backend.controller.js +17 -5
- package/dist/esm/security/scim/controllers/scim.backend.controller.js.map +1 -1
- package/dist/esm/security/scim/models/scim-protocol.backend.schemas.d.ts +67 -29
- package/dist/esm/security/scim/models/scim-protocol.backend.schemas.d.ts.map +1 -1
- package/dist/esm/security/scim/models/scim-protocol.backend.schemas.js +47 -25
- package/dist/esm/security/scim/models/scim-protocol.backend.schemas.js.map +1 -1
- package/dist/esm/security/ssrf/outbound-target-guard.backend.utils.d.ts +10 -2
- package/dist/esm/security/ssrf/outbound-target-guard.backend.utils.d.ts.map +1 -1
- package/dist/esm/security/ssrf/outbound-target-guard.backend.utils.js +10 -2
- package/dist/esm/security/ssrf/outbound-target-guard.backend.utils.js.map +1 -1
- package/dist/esm/security/ssrf/pinned-outbound-fetch.backend.utils.d.ts +143 -0
- package/dist/esm/security/ssrf/pinned-outbound-fetch.backend.utils.d.ts.map +1 -0
- package/dist/esm/security/ssrf/pinned-outbound-fetch.backend.utils.js +258 -0
- package/dist/esm/security/ssrf/pinned-outbound-fetch.backend.utils.js.map +1 -0
- package/dist/esm/users/services/user-read-retained.custom-impl.backend.service.d.ts +39 -0
- package/dist/esm/users/services/user-read-retained.custom-impl.backend.service.d.ts.map +1 -0
- package/dist/esm/users/services/user-read-retained.custom-impl.backend.service.js +159 -0
- package/dist/esm/users/services/user-read-retained.custom-impl.backend.service.js.map +1 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +17 -9
- package/dist/esm/.builder.pid +0 -9
|
@@ -11,14 +11,15 @@ var __param = (this && this.__param) || function (paramIndex, decorator) {
|
|
|
11
11
|
return function (target, key) { decorator(target, key, paramIndex); }
|
|
12
12
|
};
|
|
13
13
|
import { inject, injectable, optional } from "inversify";
|
|
14
|
-
import { anyOrganizationUnitGrantInheritsDownward, CORE_APP_ROLES, expandOrganizationUnitGrantThroughInheritance, isOrganizationWideRoleInfo, OrganizationUnitNarrowingDecisionKind, resolveOrganizationUnitNarrowingDecision, isWildoBackendError, } from "@wildo-ai/saas-models";
|
|
14
|
+
import { anyOrganizationUnitGrantInheritsDownward, CORE_APP_ROLES, expandOrganizationUnitGrantThroughInheritance, isOrganizationWideRoleInfo, OrganizationUnitNarrowingDecisionKind, requiredRolesDeclarePublicAccess, resolveOrganizationUnitNarrowingDecision, isWildoBackendError, } from "@wildo-ai/saas-models";
|
|
15
15
|
import { SAAS_SERVICE_TYPES } from "../../../inject/models/service-types.js";
|
|
16
16
|
import { LoggerService } from "../../../monitoring/logger/services/logger.service.js";
|
|
17
17
|
import { ErrorBuilderBackendService } from "../../../errors/services/error-builder.backend.service.js";
|
|
18
18
|
import { describeCaughtError, projectCaughtErrorLogFields } from "../../../errors/utils/error-log-level-classification.backend.utils.js";
|
|
19
19
|
import { RepositoriesRegistryHandlerBackendService } from "../../../base-classes/services/repositories/repositories-registry-handler.backend.service.js";
|
|
20
|
-
import { CoreResourceType, coreResourceShared_FieldIdentifier, PlatformAccessGrantStatus, PlatformAccessGrants_Operations, ResourcePrimaryScope, isPlatformAccessGrantUsable, PRIMARY_SCOPE_TO_CORE_RESOURCE_TYPE, ErrorType, ErrorCustomMessageReference, DEFAULT_APP_ROLE_CONFIGURATION, DEFAULT_ORGANIZATION_ROLES, CoreResourceOperation,
|
|
20
|
+
import { CoreResourceType, IntrospectionTenancyStance, PersistenceAdapter, coreResourceShared_FieldIdentifier, PlatformAccessGrantStatus, PlatformAccessGrants_Operations, ResourcePrimaryScope, isPlatformAccessGrantUsable, PRIMARY_SCOPE_TO_CORE_RESOURCE_TYPE, ErrorType, ErrorCustomMessageReference, DEFAULT_APP_ROLE_CONFIGURATION, DEFAULT_ORGANIZATION_ROLES, CoreResourceOperation, ResourceOperationDenialReason, ResourceOperationRiskLevel } from "@wildo-ai/saas-models";
|
|
21
21
|
import { classifyAuthorizationDenial, resolveDenialAuditEmissionDecision } from "../../../security/authorizations/authorization-denial-audit.backend.utils.js";
|
|
22
|
+
import { AuditObservationKind, AuditObservationLossReason, emitAuditObservation, recordAuditObservationLoss, } from "../../../monitoring/observability/audit-observation-emission.backend.js";
|
|
22
23
|
import { isOwnScopeRootResource } from "../../../security/authorizations/scope-root-collection-confinement.backend.js";
|
|
23
24
|
let AuthorizationsBackendService = class AuthorizationsBackendService {
|
|
24
25
|
logger;
|
|
@@ -84,14 +85,25 @@ let AuthorizationsBackendService = class AuthorizationsBackendService {
|
|
|
84
85
|
orgRolesAdded++;
|
|
85
86
|
this.logDebug('Custom org role added', { roleKey, role: typedRoleDefinition.role, inheritFrom: typedRoleDefinition.inheritFrom, isSystemRole: typedRoleDefinition.isSystemRole });
|
|
86
87
|
break;
|
|
88
|
+
/*
|
|
89
|
+
* Skipped, not refused — and the author is told somewhere they will actually read (#425).
|
|
90
|
+
*
|
|
91
|
+
* Refusing here would turn a silently-inert role into a BOOT FAILURE for any application
|
|
92
|
+
* that already ships one, which is why this is a warning. But a warning on a startup path
|
|
93
|
+
* is read once and never again, so the role stayed inert with no surviving signal. The
|
|
94
|
+
* durable one is `wildo local doctor` → "custom role scopes", which reads
|
|
95
|
+
* `shared-lib/src/engine/roles.ts` and names every role this switch would drop, before
|
|
96
|
+
* the application is shipped rather than after.
|
|
97
|
+
*
|
|
98
|
+
* Keep the two log lines: they are what a runtime investigation reads, and they are the
|
|
99
|
+
* only evidence for a role table this process received some other way.
|
|
100
|
+
*/
|
|
87
101
|
case ResourcePrimaryScope.USER_SELF:
|
|
88
|
-
|
|
89
|
-
// Log a warning but don't add them
|
|
90
|
-
this.logger.warn('Custom role with unsupported scope ignored', { roleKey, scope: typedRoleDefinition.relatedPrimaryScope, message: 'USER_SELF scope does not support custom roles' });
|
|
102
|
+
this.logger.warn('Custom role with unsupported scope ignored — the role is INERT', { roleKey, scope: typedRoleDefinition.relatedPrimaryScope, message: 'USER_SELF scope does not support custom roles; `wildo local doctor` reports this before the application ships' });
|
|
91
103
|
invalidRoles.push(roleKey);
|
|
92
104
|
break;
|
|
93
105
|
default:
|
|
94
|
-
this.logger.warn('Custom role with unknown scope ignored', { roleKey, scope: typedRoleDefinition.relatedPrimaryScope });
|
|
106
|
+
this.logger.warn('Custom role with unknown scope ignored — the role is INERT', { roleKey, scope: typedRoleDefinition.relatedPrimaryScope, message: '`wildo local doctor` reports this before the application ships' });
|
|
95
107
|
invalidRoles.push(roleKey);
|
|
96
108
|
break;
|
|
97
109
|
}
|
|
@@ -352,10 +364,16 @@ let AuthorizationsBackendService = class AuthorizationsBackendService {
|
|
|
352
364
|
*
|
|
353
365
|
* Read from the OPERATION rather than inferred from the context, so the public carve-out above
|
|
354
366
|
* cannot be satisfied by the caller's side of the request alone.
|
|
367
|
+
*
|
|
368
|
+
* Delegates to {@link requiredRolesDeclarePublicAccess}, the ONE named source for what
|
|
369
|
+
* `APP_PUBLIC` means. This used to be a private re-derivation of the same two-line test, and it
|
|
370
|
+
* was one of FOUR such copies (this one, the authentication tier's `operationAdmitsPublicAccess`,
|
|
371
|
+
* and the two role gates that did not have one and therefore refused credentialed callers). A
|
|
372
|
+
* policy expressed as a module-private constant reaches exactly the sites that already agree with
|
|
373
|
+
* it — see `.claude/rules/invariant-call-site-enumeration.md` #13.
|
|
355
374
|
*/
|
|
356
375
|
operationDeclaresPublicAccess(operation) {
|
|
357
|
-
|
|
358
|
-
return Array.isArray(roles) && roles.includes(CORE_APP_ROLES.APP_PUBLIC);
|
|
376
|
+
return requiredRolesDeclarePublicAccess(operation.roles);
|
|
359
377
|
}
|
|
360
378
|
async authorizeInRepositoryAndService(id_or_ids, operation, executionContext) {
|
|
361
379
|
const { resourceIdentifier, operationIdentifier, variantType, resourcePrimaryScope, roles: operationRoles } = operation;
|
|
@@ -391,11 +409,22 @@ let AuthorizationsBackendService = class AuthorizationsBackendService {
|
|
|
391
409
|
* does not declare `APP_PUBLIC` cannot reach here, because `ExecutionContextCreator` only mints a
|
|
392
410
|
* public context for an operation that does.
|
|
393
411
|
*
|
|
394
|
-
* BOTH conditions are required on purpose
|
|
395
|
-
* public-context path reach a non-public
|
|
412
|
+
* BOTH conditions are required on purpose, and the reason has NARROWED since this was written.
|
|
413
|
+
* Keying on the context alone would let any future public-context path reach a non-public
|
|
414
|
+
* operation — that half is unchanged and is the security-relevant one.
|
|
415
|
+
*
|
|
416
|
+
* The other half used to be argued as "keying on the operation alone would admit a
|
|
396
417
|
* credentialed-but-unauthorized caller to a public operation's addressed form without their roles
|
|
397
|
-
* being examined.
|
|
398
|
-
*
|
|
418
|
+
* being examined". That framing is retired (#153): a credentialed caller IS now admitted to a
|
|
419
|
+
* publicly-declared operation — `validateOperationRoles` treats `APP_PUBLIC` as imposing no
|
|
420
|
+
* positive role requirement, because a declaration that reduced access for presenting a valid
|
|
421
|
+
* credential was the defect, not the design.
|
|
422
|
+
*
|
|
423
|
+
* What the `isPublicExecution()` half still buys is that the credentialed caller takes the FULL
|
|
424
|
+
* path rather than this shortcut: their row pre-fetch runs, their FK-path and parent-scope gates
|
|
425
|
+
* run, and their roles are examined and found to require nothing. This carve-out remains what it
|
|
426
|
+
* says — nobody claimed an identity, and none was required — and is not the mechanism by which an
|
|
427
|
+
* authenticated caller reaches a public operation.
|
|
399
428
|
*/
|
|
400
429
|
if (executionContext.isPublicExecution() && this.operationDeclaresPublicAccess(operation)) {
|
|
401
430
|
this.logDebug('Public execution of a publicly-declared operation — no principal to authorize; '
|
|
@@ -544,7 +573,49 @@ let AuthorizationsBackendService = class AuthorizationsBackendService {
|
|
|
544
573
|
resourceObjects = (idsArray.length === 1) ? [obj_s] : obj_s;
|
|
545
574
|
}
|
|
546
575
|
catch (error) {
|
|
547
|
-
|
|
576
|
+
/**
|
|
577
|
+
* "No rows" and "could not look" are DIFFERENT ANSWERS, and this catch used to
|
|
578
|
+
* destroy the difference.
|
|
579
|
+
*
|
|
580
|
+
* It classified every failure of the authorization pre-fetch as `NOT_FOUND`, so an
|
|
581
|
+
* infrastructure fault reached the client as a missing row. Measured on the dogfood
|
|
582
|
+
* stack 2026-09-01: **78 of 78** recent 404s carried
|
|
583
|
+
* `authorizations_validation_failed`, and NOT ONE of them was an absent record —
|
|
584
|
+
* every one was `introspection_derivation_failed`, the introspection repository
|
|
585
|
+
* refusing because the target application had not been built. That producer takes
|
|
586
|
+
* explicit care to distinguish the two ("This is reported rather than returned as an
|
|
587
|
+
* empty result, because 'no rows' and 'could not look' are different answers") and
|
|
588
|
+
* the distinction died here, four frames later.
|
|
589
|
+
*
|
|
590
|
+
* The cost is not cosmetic. It sends every reader to the database for a fault that is
|
|
591
|
+
* in the build; it reports a SERVER fault as a CLIENT error, so a 4xx/5xx alert split
|
|
592
|
+
* cannot see it; and it makes a broken deployment indistinguishable from an empty one.
|
|
593
|
+
*
|
|
594
|
+
* ## Why re-classifying here is safe for the existence oracle
|
|
595
|
+
*
|
|
596
|
+
* The anti-enumeration refusals are ELSEWHERE and are untouched: a row that is absent
|
|
597
|
+
* OR invisible is caught by the `resourceObjects.length !== idsArray.length` check
|
|
598
|
+
* below, which answers `NOT_FOUND` with this same message reference on purpose.
|
|
599
|
+
* Genuine absence never reaches THIS catch — it arrives as a successful read returning
|
|
600
|
+
* fewer rows, not as a throw.
|
|
601
|
+
*
|
|
602
|
+
* So this block only ever sees a fetch that FAILED, and a failure that is independent
|
|
603
|
+
* of the id (a broken build, a dead connection, a missing operation key) reveals
|
|
604
|
+
* nothing about any particular row. A cause that IS `NOT_FOUND` still answers
|
|
605
|
+
* `NOT_FOUND`, unchanged, so the repository's own filtered-out refusal keeps its
|
|
606
|
+
* indistinguishability.
|
|
607
|
+
*
|
|
608
|
+
* The `customMessageReference` is deliberately the SAME in every branch: the sibling
|
|
609
|
+
* refusal at `buildSubjectNotResolvableError` notes that a different reference would
|
|
610
|
+
* restore the oracle one field lower down, and that reasoning binds here too.
|
|
611
|
+
*/
|
|
612
|
+
const causeErrorType = isWildoBackendError(error) ? error.type : undefined;
|
|
613
|
+
const fetchFailureErrorType = causeErrorType === undefined
|
|
614
|
+
// Not one of ours — a driver error, a TypeError. A server fault by definition, and
|
|
615
|
+
// the one case where the old behavior was least defensible.
|
|
616
|
+
? ErrorType.INTERNAL
|
|
617
|
+
: causeErrorType;
|
|
618
|
+
const authError = this.errorBuilder.buildError(fetchFailureErrorType, executionContext, {
|
|
548
619
|
customMessageReference: ErrorCustomMessageReference.AUTHORIZATIONS_VALIDATION_FAILED,
|
|
549
620
|
context: {
|
|
550
621
|
message: `Failed to fetch resource objects for authorization: ${describeCaughtError(error)}`,
|
|
@@ -662,7 +733,7 @@ let AuthorizationsBackendService = class AuthorizationsBackendService {
|
|
|
662
733
|
* `USERS` is a self-anchor scope root, so its `resourcePrimaryScope` IS `USER_SELF` and every
|
|
663
734
|
* USERS operation lands here. Without an admission this check made the whole administrative
|
|
664
735
|
* surface self-only: `assign_roles`, `revoke_roles`, `suspend_user`, `unsuspend_user`,
|
|
665
|
-
* `force_password_reset`, the admin READ and the core UPDATE/DELETE all refused against another
|
|
736
|
+
* `reactivate_user`, `force_password_reset`, the admin READ and the core UPDATE/DELETE all refused against another
|
|
666
737
|
* user, contradicting both the resource specification and the admin UI that surfaces them as
|
|
667
738
|
* per-row actions.
|
|
668
739
|
*
|
|
@@ -912,9 +983,30 @@ let AuthorizationsBackendService = class AuthorizationsBackendService {
|
|
|
912
983
|
*
|
|
913
984
|
* Fire-and-forget by construction: no `await`, and the promise's rejection is swallowed. An
|
|
914
985
|
* operator's request must not fail because the audit sink is down, and a fail-closed variant would
|
|
915
|
-
* hand anyone a way to disable operator support by breaking the sink.
|
|
986
|
+
* hand anyone a way to disable operator support by breaking the sink. That contract is unchanged
|
|
987
|
+
* and must stay unchanged.
|
|
988
|
+
*
|
|
989
|
+
* ## The loss is COUNTED — added 2026-09-09
|
|
990
|
+
*
|
|
991
|
+
* Fire-and-forget was the right trade and it was shipped without the other half: nothing recorded
|
|
992
|
+
* the drops, so an empty operator-crossing trail read identically whether no operator crossed a
|
|
993
|
+
* boundary or the audit service had been unbound since boot. That is the property that makes the
|
|
994
|
+
* evidence worthless, and it is the shape
|
|
995
|
+
* `.claude/rules/negative-results-require-a-positive-probe.md` names — an empty result is evidence
|
|
996
|
+
* about the pipeline, never about the world.
|
|
997
|
+
*
|
|
998
|
+
* Every emission now goes through {@link emitAuditObservation}, which counts an unavailable
|
|
999
|
+
* service, a synchronous throw and a rejected promise into `audit_observation_dropped_total` and
|
|
1000
|
+
* logs one throttled `error` line per loss shape. It never throws and never awaits, so the
|
|
1001
|
+
* contract above is preserved exactly — read that seam's header before changing anything here.
|
|
1002
|
+
*
|
|
1003
|
+
* **Do not restore the "`audit_store_failure_total` covers this" reading.** It does not, and that
|
|
1004
|
+
* claim was carried at three sites in this package: that counter lives INSIDE
|
|
1005
|
+
* `AuditLogsBackendService._createAuditLog`, so it only ever sees an emission that reached the
|
|
1006
|
+
* audit service. The three shapes counted here never get that far.
|
|
916
1007
|
*
|
|
917
1008
|
* assurance-control: WILDO.ACCESS.CROSS_TENANT_ADMINISTRATION
|
|
1009
|
+
* assurance-control: WILDO.AUDIT.SECURITY_EVENT — the loss of this evidence is itself detectable.
|
|
918
1010
|
*/
|
|
919
1011
|
recordCrossTenantAdministrativeAccess(resourceObject, resourceIdentifier, executionContext) {
|
|
920
1012
|
const operation = executionContext.operation;
|
|
@@ -932,10 +1024,12 @@ let AuthorizationsBackendService = class AuthorizationsBackendService {
|
|
|
932
1024
|
// absent, so the CALL throws a TypeError synchronously — before any `.catch()` can make it
|
|
933
1025
|
// fire-and-forget. It is not a test-only concern either; a host binding an older audit service
|
|
934
1026
|
// takes the same throw. An observer must never be able to fail the request it observes.
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
1027
|
+
//
|
|
1028
|
+
// The detection now decides an ARGUMENT rather than an early return: handing the seam
|
|
1029
|
+
// `undefined` is how this site reports `SERVICE_UNAVAILABLE`, which is precisely the loss shape
|
|
1030
|
+
// that used to leave nothing behind at all. Returning early here would restore the silence.
|
|
1031
|
+
const emit = typeof auditLogsService?.logCrossTenantAdministrativeAccess === 'function'
|
|
1032
|
+
? () => auditLogsService.logCrossTenantAdministrativeAccess({
|
|
939
1033
|
operatorUserId: executionContext.initiatorIds?.userId,
|
|
940
1034
|
targetOrganizationId: rowOrganizationId,
|
|
941
1035
|
resourceType: resourceIdentifier,
|
|
@@ -947,11 +1041,23 @@ let AuthorizationsBackendService = class AuthorizationsBackendService {
|
|
|
947
1041
|
admissionDeclared: operation.admitsCrossTenantPlatformAdministration === true,
|
|
948
1042
|
initiatorRoles: initiatorRoles.flatMap(roleInfo => roleInfo.roles ?? []),
|
|
949
1043
|
executionType: executionContext.executionType,
|
|
950
|
-
})
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
1044
|
+
})
|
|
1045
|
+
: undefined;
|
|
1046
|
+
emitAuditObservation({
|
|
1047
|
+
observation: AuditObservationKind.CROSS_TENANT_ADMINISTRATIVE_ACCESS,
|
|
1048
|
+
emit,
|
|
1049
|
+
metricsService: this.resolveMetricsService(),
|
|
1050
|
+
logger: this.logger,
|
|
1051
|
+
// Enough to name WHICH crossing went unrecorded, so a reviewer can reconstruct it from the
|
|
1052
|
+
// application log rather than knowing only that "a crossing, somewhere" was lost. The operator
|
|
1053
|
+
// and the tenant are the two identities the audit row itself would have carried.
|
|
1054
|
+
context: {
|
|
1055
|
+
observedResourceType: resourceIdentifier,
|
|
1056
|
+
observedOperationIdentifier: String(operation.operationIdentifier ?? ''),
|
|
1057
|
+
observedTargetOrganizationId: rowOrganizationId,
|
|
1058
|
+
observedOperatorUserId: executionContext.initiatorIds?.userId,
|
|
1059
|
+
},
|
|
1060
|
+
});
|
|
955
1061
|
}
|
|
956
1062
|
/**
|
|
957
1063
|
* Refuse a per-instance tenant-boundary denial in a way that is INDISTINGUISHABLE from a row that
|
|
@@ -1074,10 +1180,65 @@ let AuthorizationsBackendService = class AuthorizationsBackendService {
|
|
|
1074
1180
|
}
|
|
1075
1181
|
}
|
|
1076
1182
|
}
|
|
1183
|
+
/**
|
|
1184
|
+
* Does this resource DERIVE tenant-anchorless rows rather than store rows under the application?
|
|
1185
|
+
*
|
|
1186
|
+
* An INTROSPECTION resource declaring {@link IntrospectionTenancyStance.APPLICATION_STRUCTURE} or
|
|
1187
|
+
* {@link IntrospectionTenancyStance.APPLICATION_RUNTIME} has no per-row application anchor, and
|
|
1188
|
+
* that is its contract rather than an omission: its rows are DERIVED per read (from a companion
|
|
1189
|
+
* behavior over the application's source, or from the companion's own runtime services), there is
|
|
1190
|
+
* no store to hold a foreign key, and both stances say outright that there is no tenant dimension
|
|
1191
|
+
* for a scope predicate to filter on. What separates the two stances is the READ POSTURE
|
|
1192
|
+
* (structure may be `APP_PUBLIC`; runtime must be role-gated), which is the operation variants'
|
|
1193
|
+
* job and ran before this method — not the anchor question answered here.
|
|
1194
|
+
*
|
|
1195
|
+
* Fails CLOSED in both directions that matter. With no registry bound the answer is `false`, so
|
|
1196
|
+
* the anchor check below still runs; and the stance must be one of the two enumerated anchorless
|
|
1197
|
+
* members, so an introspection resource that projects anything else — including a future scoped
|
|
1198
|
+
* stance — keeps the check.
|
|
1199
|
+
*/
|
|
1200
|
+
projectsAnchorlessIntrospection(resourceIdentifier) {
|
|
1201
|
+
const configuration = this.resourcesRegistry?.tryGetResourceConfiguration(resourceIdentifier);
|
|
1202
|
+
const tenancy = configuration?.introspectionBinding?.tenancy;
|
|
1203
|
+
return configuration?.persistenceAdapter === PersistenceAdapter.INTROSPECTION
|
|
1204
|
+
&& (tenancy === IntrospectionTenancyStance.APPLICATION_STRUCTURE
|
|
1205
|
+
|| tenancy === IntrospectionTenancyStance.APPLICATION_RUNTIME);
|
|
1206
|
+
}
|
|
1077
1207
|
/**
|
|
1078
1208
|
* Authorize APPLICATION scope
|
|
1209
|
+
*
|
|
1210
|
+
* ## What the per-row anchor check does, and what it cannot do
|
|
1211
|
+
*
|
|
1212
|
+
* The application is a SINGLETON per database — `ExecutionContextCreator.getApplicationId()` reads
|
|
1213
|
+
* the APPLICATION row with an empty filter, on the stated grounds that "there is one APPLICATION
|
|
1214
|
+
* row, so nothing can usefully narrow this read". So `appIdFromResource !== applicationId` cannot
|
|
1215
|
+
* discriminate between applications within a database: both sides resolve to the same row. It is a
|
|
1216
|
+
* consistency assertion about correctly-populated rows, not a cross-application isolation control.
|
|
1217
|
+
*
|
|
1218
|
+
* The `!appIdFromResource` branch is the one with teeth, and for a STORED resource it is right —
|
|
1219
|
+
* every `APPLICATION`-anchored resource in the engine declares
|
|
1220
|
+
* `parentFieldIdentifier: coreResourceShared_FieldIdentifier[CoreResourceType.APPLICATION]`, so its
|
|
1221
|
+
* rows carry the FK and a row without one is malformed.
|
|
1222
|
+
*
|
|
1223
|
+
* A projection cannot satisfy it at all, which is why the stance is consulted first. Measured
|
|
1224
|
+
* before the carve-out existed: an addressed READ on `workbenchApplicationModules` answered 200 to
|
|
1225
|
+
* an anonymous caller (the public-execution path returns before this method) and 403 to an
|
|
1226
|
+
* authenticated one, while LIST answered 200 to both (collection operations run no row check). The
|
|
1227
|
+
* resource could not be fixed from the application side without inventing a field its schema does
|
|
1228
|
+
* not declare.
|
|
1079
1229
|
*/
|
|
1080
1230
|
async authorizeApplication(resourceObject, resourceIdentifier, initiatorIds, executionContext) {
|
|
1231
|
+
/*
|
|
1232
|
+
* Read as: this resource's rows ARE the application, so there is no row-level membership left to
|
|
1233
|
+
* check. Deliberately NOT an opt-out flag an operation can declare — a stored resource that
|
|
1234
|
+
* simply forgot its FK must keep failing, and only a declared tenancy stance can tell the two
|
|
1235
|
+
* apart. Nothing else is relaxed: the operation's `roles` gate ran before this, and the
|
|
1236
|
+
* repository's contextual filter runs underneath.
|
|
1237
|
+
*/
|
|
1238
|
+
if (this.projectsAnchorlessIntrospection(resourceIdentifier)) {
|
|
1239
|
+
this.logDebug('Anchorless introspection projection — no per-row anchor to authorize', { resourceIdentifier });
|
|
1240
|
+
return;
|
|
1241
|
+
}
|
|
1081
1242
|
if (resourceIdentifier === CoreResourceType.APPLICATION) {
|
|
1082
1243
|
// For application resources, check that the resource _id matches the initiator applicationId
|
|
1083
1244
|
if (resourceObject._id !== initiatorIds.applicationId) {
|
|
@@ -1104,6 +1265,29 @@ let AuthorizationsBackendService = class AuthorizationsBackendService {
|
|
|
1104
1265
|
throw error;
|
|
1105
1266
|
}
|
|
1106
1267
|
}
|
|
1268
|
+
/*
|
|
1269
|
+
* An APPLICATION-scoped read can still cross a TENANT boundary, and until now nothing said so.
|
|
1270
|
+
*
|
|
1271
|
+
* `CROSS_TENANT_ADMINISTRATIVE_ACCESS` is emitted from `authorizeOrganizations`, so a row
|
|
1272
|
+
* carrying an `organizationId` that is reached through an APPLICATION-scoped resource — by a
|
|
1273
|
+
* caller holding no organization-wide entry for that tenant — was an unaudited crossing. The
|
|
1274
|
+
* application-scoped audit door (#317) is the case that forced this: its whole purpose is to
|
|
1275
|
+
* return rows from every tenant, and the audit trail is the worst possible surface on which to
|
|
1276
|
+
* make an operator read invisible. `administrative-continuity-floors.md` requires every crossing
|
|
1277
|
+
* to be NAMED in the trail.
|
|
1278
|
+
*
|
|
1279
|
+
* Placed at the SCOPE boundary rather than on that one resource on purpose. The invariant is
|
|
1280
|
+
* "a tenant-attributed row reached by a non-member is a crossing", which is a property of the
|
|
1281
|
+
* ROW and the CALLER, not of one resource — wiring it per-resource is the shape
|
|
1282
|
+
* `invariant-call-site-enumeration.md` exists to prevent, and the next application-scoped
|
|
1283
|
+
* resource carrying an `organizationId` would silently miss it.
|
|
1284
|
+
*
|
|
1285
|
+
* Cheap and non-invasive by construction: the emitter returns immediately when the row carries
|
|
1286
|
+
* no organization (the common case — an application-scoped row is not a crossing), and again
|
|
1287
|
+
* when the caller does hold an organization-wide entry for it. It is fire-and-forget and
|
|
1288
|
+
* feature-detected, so it can neither fail nor slow the request it observes.
|
|
1289
|
+
*/
|
|
1290
|
+
this.recordCrossTenantAdministrativeAccess(resourceObject, resourceIdentifier, executionContext);
|
|
1107
1291
|
}
|
|
1108
1292
|
/**
|
|
1109
1293
|
* Authorize ANONYMOUS scope — ownership check via anonymousUserId.
|
|
@@ -1130,6 +1314,29 @@ let AuthorizationsBackendService = class AuthorizationsBackendService {
|
|
|
1130
1314
|
*/
|
|
1131
1315
|
narrowableResourceIdentifier) {
|
|
1132
1316
|
const { initiatorRoles } = executionContext;
|
|
1317
|
+
/*
|
|
1318
|
+
* A PUBLICLY-DECLARED operation imposes no positive role requirement — on ANY caller.
|
|
1319
|
+
*
|
|
1320
|
+
* This is the ROLE half of `APP_PUBLIC`, and it is separate from the public-EXECUTION carve-out
|
|
1321
|
+
* at the top of `authorizeInRepositoryAndService`. That one answers "there is no principal to
|
|
1322
|
+
* authorize"; this one answers "there is a principal, and the operation asks nothing of them".
|
|
1323
|
+
* Both are needed, and having only the first is what produced the defect this closes: an
|
|
1324
|
+
* anonymous probe was admitted by the carve-out while the SAME request carrying a valid token
|
|
1325
|
+
* fell through to here and was refused, because `APP_PUBLIC` is in nobody's granted role set.
|
|
1326
|
+
*
|
|
1327
|
+
* Placed BEFORE the org-wide grant computation deliberately. A public declaration is a statement
|
|
1328
|
+
* about the OPERATION, so it cannot depend on which grants the caller happens to hold, on the
|
|
1329
|
+
* scope those grants resolve against, or on whether a unit-narrowing stamp exists — every one of
|
|
1330
|
+
* which is an input the computation below reads and none of which can change the answer.
|
|
1331
|
+
*
|
|
1332
|
+
* It relaxes the ROLE question only. `validateParentScopeAccess`, `validateFKRelationshipAccess`
|
|
1333
|
+
* and the repository's contextual filter all still run, so a public declaration never widens
|
|
1334
|
+
* WHICH ROWS a caller reaches — only whether they may ask.
|
|
1335
|
+
*/
|
|
1336
|
+
if (requiredRolesDeclarePublicAccess(operationRoles)) {
|
|
1337
|
+
this.logDebug('Operation declares APP_PUBLIC — no positive role requirement for any caller', { operationRoles });
|
|
1338
|
+
return;
|
|
1339
|
+
}
|
|
1133
1340
|
// ORGANIZATION-WIDE GRANTS ONLY in this computation. A unit-scoped entry (`organizationUnitId`
|
|
1134
1341
|
// present) confers authority inside ONE organization unit, so it must not satisfy an operation
|
|
1135
1342
|
// gate that asks an organization-wide question — otherwise "ORG_MANAGER of Sales" would pass every
|
|
@@ -1182,6 +1389,30 @@ let AuthorizationsBackendService = class AuthorizationsBackendService {
|
|
|
1182
1389
|
return undefined;
|
|
1183
1390
|
return this.container.get(SAAS_SERVICE_TYPES.AuditLogsService);
|
|
1184
1391
|
}
|
|
1392
|
+
/**
|
|
1393
|
+
* Lazy getter for the metrics recorder behind {@link emitAuditObservation}'s loss counter.
|
|
1394
|
+
*
|
|
1395
|
+
* Resolved from the container rather than constructor-injected for the SAME reason the audit
|
|
1396
|
+
* service is (see the `container` param's JSDoc) — but a weaker one: `MetricsService` has a
|
|
1397
|
+
* zero-argument constructor and closes no dependency cycle. What the lazy form actually buys is
|
|
1398
|
+
* that every partial-container test and every positional construction keeps working unchanged,
|
|
1399
|
+
* which is the property this class's whole optional-dependency tail is built around.
|
|
1400
|
+
*
|
|
1401
|
+
* Wrapped, because this runs on the observation path: a container that throws while resolving a
|
|
1402
|
+
* binding must not be able to fail the request the observation is about. Returning `undefined`
|
|
1403
|
+
* degrades the loss signal to its log channel, which is the correct direction — an observability
|
|
1404
|
+
* gap is never a reason to refuse.
|
|
1405
|
+
*/
|
|
1406
|
+
resolveMetricsService() {
|
|
1407
|
+
try {
|
|
1408
|
+
if (!this.container?.isBound(SAAS_SERVICE_TYPES.MetricsService))
|
|
1409
|
+
return undefined;
|
|
1410
|
+
return this.container.get(SAAS_SERVICE_TYPES.MetricsService);
|
|
1411
|
+
}
|
|
1412
|
+
catch {
|
|
1413
|
+
return undefined;
|
|
1414
|
+
}
|
|
1415
|
+
}
|
|
1185
1416
|
/**
|
|
1186
1417
|
* Record a refusal as a `RESOURCE_OPERATION_DENIED` audit event.
|
|
1187
1418
|
*
|
|
@@ -1211,15 +1442,32 @@ let AuthorizationsBackendService = class AuthorizationsBackendService {
|
|
|
1211
1442
|
* ## Never affects the outcome
|
|
1212
1443
|
*
|
|
1213
1444
|
* Every path here is swallowed. The caller has already been correctly refused; an audit-store
|
|
1214
|
-
* problem must not convert that clean refusal into a 500.
|
|
1215
|
-
*
|
|
1445
|
+
* problem must not convert that clean refusal into a 500. That stays true.
|
|
1446
|
+
*
|
|
1447
|
+
* ## But the swallow is now COUNTED — corrected 2026-09-09
|
|
1448
|
+
*
|
|
1449
|
+
* This paragraph used to end "detection of a lost row is the audit pipeline's own control
|
|
1450
|
+
* (`audit_store_failure_total`), not this gate's", and that was **false for the shape this method
|
|
1451
|
+
* loses most often**. That counter lives inside `AuditLogsBackendService._createAuditLog`, so it
|
|
1452
|
+
* only ever sees an emission that reached the audit service. When the service is unbound — a
|
|
1453
|
+
* partial DI binding, a host binding an older audit service — this method returned in silence and
|
|
1454
|
+
* NOTHING anywhere recorded that every refusal in the deployment was going unaudited.
|
|
1455
|
+
*
|
|
1456
|
+
* Both exits now report into `audit_observation_dropped_total` via `recordAuditObservationLoss`.
|
|
1457
|
+
* Three paths deliberately do NOT: an absent `operation` (nothing was owed), the `AUDIT_LOGS`
|
|
1458
|
+
* recursion guard, and a dedup decision of `shouldEmit: false`. Each is a suppression the design
|
|
1459
|
+
* asked for, and a loss counter that fires on correct behaviour is one operators learn to ignore.
|
|
1216
1460
|
*
|
|
1217
1461
|
* assurance-control: WILDO.ACCESS.AUTHORIZATION_DECISION_AUDIT — the negative access decision is
|
|
1218
1462
|
* recorded, attributable, and carries the authority context needed to review it.
|
|
1463
|
+
* assurance-control: WILDO.AUDIT.SECURITY_EVENT — and its LOSS is detectable rather than silent.
|
|
1219
1464
|
*/
|
|
1220
1465
|
async emitAuthorizationDenialAudit(denialReason, operation, executionContext, attemptedResourceIds) {
|
|
1221
|
-
|
|
1222
|
-
|
|
1466
|
+
// `!operation` is NOT a loss — there is nothing to record, so counting it would fire the loss
|
|
1467
|
+
// signal on a correct path and train a reader to skim past the lines that mean something. The
|
|
1468
|
+
// same reasoning excludes the recursion guard and the dedup decision below: both are DELIBERATE
|
|
1469
|
+
// suppressions of an emission that was never owed, not evidence that went missing.
|
|
1470
|
+
if (!operation)
|
|
1223
1471
|
return;
|
|
1224
1472
|
// Defence-in-depth against an emission loop. Structurally unreachable today — the audit write
|
|
1225
1473
|
// runs as a REPOSITORY_ONLY super-admin context and repository writes do not route through this
|
|
@@ -1227,8 +1475,33 @@ let AuthorizationsBackendService = class AuthorizationsBackendService {
|
|
|
1227
1475
|
// subsystem already carries a documented recursion hazard of exactly that shape (a per-org SIEM
|
|
1228
1476
|
// dispatch's own config load is a system read that re-enters the audit path). Stateless and
|
|
1229
1477
|
// concurrency-safe, unlike an in-flight instance flag.
|
|
1478
|
+
//
|
|
1479
|
+
// ORDER: this sits ABOVE the service resolution deliberately, and a first cut had it below —
|
|
1480
|
+
// caught by its own calibration pin. A refusal on the audit resource is owed NO emission, so
|
|
1481
|
+
// reaching the service resolution first would report a `SERVICE_UNAVAILABLE` loss for evidence
|
|
1482
|
+
// that was never going to be written. A loss counter that fires on correct behaviour is one
|
|
1483
|
+
// operators learn to ignore, which would defeat the counter's entire purpose.
|
|
1230
1484
|
if (operation.resourceIdentifier === CoreResourceType.AUDIT_LOGS)
|
|
1231
1485
|
return;
|
|
1486
|
+
const auditLogsService = this.resolveAuditLogsService();
|
|
1487
|
+
// Feature-detected for the same reason its cross-tenant sibling is (adding a `log*` method
|
|
1488
|
+
// breaks partially-mocked doubles), and reported for the same reason: an unbound service is the
|
|
1489
|
+
// loss shape that used to leave nothing behind — `_createAuditLog` is never reached, so
|
|
1490
|
+
// `audit_store_failure_total` never fires either.
|
|
1491
|
+
if (typeof auditLogsService?.logResourceOperationDenied !== 'function') {
|
|
1492
|
+
recordAuditObservationLoss({
|
|
1493
|
+
observation: AuditObservationKind.AUTHORIZATION_DENIAL,
|
|
1494
|
+
reason: AuditObservationLossReason.SERVICE_UNAVAILABLE,
|
|
1495
|
+
metricsService: this.resolveMetricsService(),
|
|
1496
|
+
logger: this.logger,
|
|
1497
|
+
context: {
|
|
1498
|
+
observedResourceType: String(operation.resourceIdentifier),
|
|
1499
|
+
observedOperationIdentifier: String(operation.operationIdentifier),
|
|
1500
|
+
observedDenialReason: denialReason,
|
|
1501
|
+
},
|
|
1502
|
+
});
|
|
1503
|
+
return;
|
|
1504
|
+
}
|
|
1232
1505
|
try {
|
|
1233
1506
|
const principalUserId = executionContext.initiatorIds?.userId;
|
|
1234
1507
|
const decision = await resolveDenialAuditEmissionDecision({ redisService: this.redisService, logger: this.logger }, {
|
|
@@ -1278,6 +1551,26 @@ let AuthorizationsBackendService = class AuthorizationsBackendService {
|
|
|
1278
1551
|
denialReason,
|
|
1279
1552
|
...projectCaughtErrorLogFields(error),
|
|
1280
1553
|
});
|
|
1554
|
+
// The warn line above names the ONE refusal whose evidence was lost; this names the RATE. A
|
|
1555
|
+
// per-occurrence line cannot answer "has this been happening all afternoon?" and is exactly
|
|
1556
|
+
// what an operator filters out once it repeats — which is how a swallowed emission stays
|
|
1557
|
+
// swallowed while looking observed.
|
|
1558
|
+
//
|
|
1559
|
+
// `EMISSION_THREW` rather than `EMISSION_REJECTED`: this path `await`s, so a rejected promise
|
|
1560
|
+
// and a synchronous throw arrive at the same `catch` and cannot be told apart here. Claiming
|
|
1561
|
+
// the more specific one would be a distinction the code cannot actually make.
|
|
1562
|
+
recordAuditObservationLoss({
|
|
1563
|
+
observation: AuditObservationKind.AUTHORIZATION_DENIAL,
|
|
1564
|
+
reason: AuditObservationLossReason.EMISSION_THREW,
|
|
1565
|
+
metricsService: this.resolveMetricsService(),
|
|
1566
|
+
logger: this.logger,
|
|
1567
|
+
error,
|
|
1568
|
+
context: {
|
|
1569
|
+
observedResourceType: String(operation.resourceIdentifier),
|
|
1570
|
+
observedOperationIdentifier: String(operation.operationIdentifier),
|
|
1571
|
+
observedDenialReason: denialReason,
|
|
1572
|
+
},
|
|
1573
|
+
});
|
|
1281
1574
|
}
|
|
1282
1575
|
}
|
|
1283
1576
|
/**
|
|
@@ -1313,6 +1606,32 @@ let AuthorizationsBackendService = class AuthorizationsBackendService {
|
|
|
1313
1606
|
* - id_or_ids must be a valid string or array
|
|
1314
1607
|
* - Authorization additionally verifies access to the specific resource(s)
|
|
1315
1608
|
*/
|
|
1609
|
+
/**
|
|
1610
|
+
* Authorize an operation on ROLES ALONE, with no row to fetch.
|
|
1611
|
+
*
|
|
1612
|
+
* ## Why this exists, and why it is deliberately narrow
|
|
1613
|
+
*
|
|
1614
|
+
* Every other entry point here authorizes an operation against ROWS — it pre-fetches them, checks
|
|
1615
|
+
* scope, checks FK reachability, then checks roles. That is right whenever there is a row.
|
|
1616
|
+
*
|
|
1617
|
+
* A WebSocket SCOPE subscription has none. It says "tell me when anything of this type changes
|
|
1618
|
+
* under this scope", which addresses no instance, so the row-shaped questions have no subject and
|
|
1619
|
+
* only the role question remains. Passing a scope id in the row's place is the trap this avoids:
|
|
1620
|
+
* it would authorize a READ of a row of the subscribed type whose id happens to be an application
|
|
1621
|
+
* id, which is not a question anyone asked and which fails for the wrong reason.
|
|
1622
|
+
*
|
|
1623
|
+
* **This is strictly WEAKER than `authorizeInController` and must never be substituted for it on a
|
|
1624
|
+
* path that has an id.** It answers "may this principal invoke this operation at all", not "may
|
|
1625
|
+
* this principal reach this row". Its only caller is the scope-subscription gate, where the
|
|
1626
|
+
* notification it admits carries row identities the caller could have listed anyway.
|
|
1627
|
+
*
|
|
1628
|
+
* Unit narrowing still applies: `resourceIdentifier` is forwarded, so a unit-scoped grant can
|
|
1629
|
+
* rescue a failing role check exactly as it does everywhere else.
|
|
1630
|
+
*/
|
|
1631
|
+
async authorizeOperationRolesOnly(operation, executionContext) {
|
|
1632
|
+
const { roles: operationRoles, resourceIdentifier } = operation;
|
|
1633
|
+
await this.validateOperationRoles(operationRoles, executionContext, resourceIdentifier);
|
|
1634
|
+
}
|
|
1316
1635
|
async authorizeInController(id_or_ids, executionContext) {
|
|
1317
1636
|
// Extract operation from execution context
|
|
1318
1637
|
const operation = executionContext.operation;
|
|
@@ -1498,11 +1817,24 @@ let AuthorizationsBackendService = class AuthorizationsBackendService {
|
|
|
1498
1817
|
* This prevents users from accessing resources assigned to or created by other users
|
|
1499
1818
|
* by manipulating the URL path.
|
|
1500
1819
|
*
|
|
1501
|
-
*
|
|
1502
|
-
*
|
|
1503
|
-
*
|
|
1504
|
-
* -
|
|
1505
|
-
* -
|
|
1820
|
+
* The gate is on IDENTITY, not on execution type (issue #321). A context is admitted on a user-FK
|
|
1821
|
+
* path when it carries a `userId` AND that id equals the one in the path — whatever established the
|
|
1822
|
+
* identity. Two execution types carry a `userId`:
|
|
1823
|
+
* - USER_REQUEST — the session's own user;
|
|
1824
|
+
* - CONSUMABLE_TOKEN — the `userId` the token was MINTED for (`createExecutionContextFromRequest`
|
|
1825
|
+
* copies `consumableTokenObject.userId` onto `initiatorIds`). It is server-minted, so a bearer can
|
|
1826
|
+
* only act as that subject on that path — the same trust a session confers.
|
|
1827
|
+
* Machine principals, INTERNAL, PUBLIC, WEBHOOK and ANONYMOUS_SESSION never reach the gate: the
|
|
1828
|
+
* early return below skips FK matching for them entirely (machine principals have broader access
|
|
1829
|
+
* within their scope; the others carry no person to match). So the identity gate is evaluated for
|
|
1830
|
+
* exactly two execution types — USER_REQUEST and CONSUMABLE_TOKEN — and a context of either kind
|
|
1831
|
+
* WITHOUT a `userId` is refused: a user-FK path names a person, and a caller with no person cannot
|
|
1832
|
+
* be that person.
|
|
1833
|
+
*
|
|
1834
|
+
* History: after the early return, this used to refuse every non-USER_REQUEST type — which, given
|
|
1835
|
+
* that return, meant exactly CONSUMABLE_TOKEN — on the stated premise that "only USER_REQUEST has a
|
|
1836
|
+
* userId". The premise was false when written (the token bridge already set it); the effect was
|
|
1837
|
+
* that no token could act on a user-FK path even for the very user it was minted for.
|
|
1506
1838
|
*/
|
|
1507
1839
|
async validateFKRelationshipAccess(executionContext) {
|
|
1508
1840
|
const { relationshipContexts, initiatorIds, executionType } = executionContext;
|
|
@@ -1538,21 +1870,9 @@ let AuthorizationsBackendService = class AuthorizationsBackendService {
|
|
|
1538
1870
|
}
|
|
1539
1871
|
// Validate based on the target resource type
|
|
1540
1872
|
if (resourceType === CoreResourceType.USERS || resourceType === CoreResourceType.USER_SELF) {
|
|
1541
|
-
//
|
|
1542
|
-
//
|
|
1543
|
-
|
|
1544
|
-
// Consumable tokens cannot access user FK paths
|
|
1545
|
-
throw this.errorBuilder.buildError(ErrorType.AUTHORIZATION, executionContext, {
|
|
1546
|
-
customMessageReference: ErrorCustomMessageReference.AUTHORIZATIONS_ACCESS_DENIED,
|
|
1547
|
-
context: {
|
|
1548
|
-
// diagnostic (log-only)
|
|
1549
|
-
relationshipField,
|
|
1550
|
-
resourceIdInUrl: resourceId,
|
|
1551
|
-
executionType
|
|
1552
|
-
}
|
|
1553
|
-
});
|
|
1554
|
-
}
|
|
1555
|
-
// User must be authenticated
|
|
1873
|
+
// A user-FK path names a person. Admission requires a `userId` on the context (USER_REQUEST
|
|
1874
|
+
// session or CONSUMABLE_TOKEN minted for that user) that EQUALS the one in the path. There is
|
|
1875
|
+
// deliberately no execution-type branch here — see the method JSDoc (issue #321).
|
|
1556
1876
|
if (!initiatorIds?.userId) {
|
|
1557
1877
|
throw this.errorBuilder.buildError(ErrorType.AUTHORIZATION, executionContext, {
|
|
1558
1878
|
customMessageReference: ErrorCustomMessageReference.AUTHORIZATIONS_ACCESS_DENIED,
|
|
@@ -1805,9 +2125,25 @@ let AuthorizationsBackendService = class AuthorizationsBackendService {
|
|
|
1805
2125
|
* Validate that user's roles satisfy the required operation roles
|
|
1806
2126
|
* Considers role hierarchy within the given scope
|
|
1807
2127
|
*
|
|
1808
|
-
*
|
|
2128
|
+
* The SECOND role gate in this class, and the reason the `APP_PUBLIC` admission below is repeated
|
|
2129
|
+
* rather than inherited: an ORGANIZATIONS-scoped operation resolves its roles HERE, inside
|
|
2130
|
+
* `validateParentScopeAccess`, and never reaches {@link validateOperationRoles} —
|
|
2131
|
+
* `authorizeCollectionOperation` skips that call for ORGANIZATIONS scope precisely because this
|
|
2132
|
+
* branch has already answered the question. A public declaration honoured at only one of the two
|
|
2133
|
+
* would mean `APP_PUBLIC` worked on APPLICATION-scoped resources and refused on organization-scoped
|
|
2134
|
+
* ones, which is the same defect one scope over.
|
|
2135
|
+
*
|
|
2136
|
+
* The caller has ALREADY proven tenancy by the time this runs — the ORGANIZATIONS branch resolves
|
|
2137
|
+
* an `orgRoleInfo` for this specific organization, and the scope-root branch confines the read
|
|
2138
|
+
* separately — so admitting on a public declaration here grants the right to ASK, never a wider
|
|
2139
|
+
* set of rows.
|
|
2140
|
+
*
|
|
2141
|
+
* @returns true if user has at least one of the required roles, or the operation declares public
|
|
2142
|
+
* access (in which case it requires none)
|
|
1809
2143
|
*/
|
|
1810
2144
|
validateRolesForScope(requiredRoles, userRoles, scope) {
|
|
2145
|
+
if (requiredRolesDeclarePublicAccess(requiredRoles))
|
|
2146
|
+
return true;
|
|
1811
2147
|
return requiredRoles.some(requiredRole => userRoles.some(userRole => {
|
|
1812
2148
|
const hierarchy = this.getRoleHierarchy(userRole, scope);
|
|
1813
2149
|
return hierarchy.includes(requiredRole);
|