@wildo-ai/saas-models 1.0.1 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +34 -0
- package/dist/esm/.builder.pid +9 -0
- package/dist/esm/__tests__/setup.d.ts.map +1 -1
- package/dist/esm/__tests__/setup.js +18 -3
- package/dist/esm/__tests__/setup.js.map +1 -1
- package/dist/esm/_inspect.d.ts +2 -0
- package/dist/esm/_inspect.d.ts.map +1 -0
- package/dist/esm/_inspect.js +3 -0
- package/dist/esm/_inspect.js.map +1 -0
- package/dist/esm/applications/application-metadata.shared.resources-config.schemas.d.ts +6 -6
- package/dist/esm/applications/application-metadata.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/applications/application-metadata.shared.resources-config.schemas.js +5 -1
- package/dist/esm/applications/application-metadata.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/applications/application-subject.shared.schemas.d.ts +51 -0
- package/dist/esm/applications/application-subject.shared.schemas.d.ts.map +1 -0
- package/dist/esm/applications/application-subject.shared.schemas.js +56 -0
- package/dist/esm/applications/application-subject.shared.schemas.js.map +1 -0
- package/dist/esm/applications/application-versions.shared.resources-config.schemas.d.ts +9 -11
- package/dist/esm/applications/application-versions.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/applications/application-versions.shared.resources-config.schemas.js +42 -74
- package/dist/esm/applications/application-versions.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/applications/applications-context.schemas.d.ts +228 -200
- package/dist/esm/applications/applications-context.schemas.d.ts.map +1 -1
- package/dist/esm/applications/applications-context.schemas.js +1 -1
- package/dist/esm/applications/applications-context.schemas.js.map +1 -1
- package/dist/esm/applications/applications.shared.resources-config.schemas.d.ts +4 -9
- package/dist/esm/applications/applications.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/applications/applications.shared.resources-config.schemas.js +103 -87
- package/dist/esm/applications/applications.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/applications/applications.shared.schemas.d.ts +59 -5
- package/dist/esm/applications/applications.shared.schemas.d.ts.map +1 -1
- package/dist/esm/applications/applications.shared.schemas.js +80 -3
- package/dist/esm/applications/applications.shared.schemas.js.map +1 -1
- package/dist/esm/billing/billing-account.shared.resources-config.schemas.d.ts +4 -4
- package/dist/esm/billing/billing-account.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/billing/billing-account.shared.resources-config.schemas.js +98 -25
- package/dist/esm/billing/billing-account.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/billing/billing-account.shared.schemas.d.ts +32 -8
- package/dist/esm/billing/billing-account.shared.schemas.d.ts.map +1 -1
- package/dist/esm/billing/billing-account.shared.schemas.js +67 -2
- package/dist/esm/billing/billing-account.shared.schemas.js.map +1 -1
- package/dist/esm/billing/billing-configuration.shared.schemas.d.ts +8 -8
- package/dist/esm/billing/billing-configuration.shared.schemas.d.ts.map +1 -1
- package/dist/esm/billing/billing-configuration.shared.schemas.js +2 -3
- package/dist/esm/billing/billing-configuration.shared.schemas.js.map +1 -1
- package/dist/esm/billing/billing-enums.shared.schemas.d.ts +75 -0
- package/dist/esm/billing/billing-enums.shared.schemas.d.ts.map +1 -1
- package/dist/esm/billing/billing-enums.shared.schemas.js +78 -1
- package/dist/esm/billing/billing-enums.shared.schemas.js.map +1 -1
- package/dist/esm/billing/billing-types.shared.schemas.d.ts +204 -42
- package/dist/esm/billing/billing-types.shared.schemas.d.ts.map +1 -1
- package/dist/esm/billing/billing-types.shared.schemas.js +76 -1
- package/dist/esm/billing/billing-types.shared.schemas.js.map +1 -1
- package/dist/esm/billing/credit-pool.shared.resources-config.schemas.d.ts +8 -6
- package/dist/esm/billing/credit-pool.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/billing/credit-pool.shared.resources-config.schemas.js +48 -16
- package/dist/esm/billing/credit-pool.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/billing/credit-pool.shared.schemas.d.ts +9 -9
- package/dist/esm/billing/credit-pool.shared.schemas.d.ts.map +1 -1
- package/dist/esm/billing/credit-pool.shared.schemas.js +13 -6
- package/dist/esm/billing/credit-pool.shared.schemas.js.map +1 -1
- package/dist/esm/billing/invoice-ref.shared.resources-config.schemas.d.ts +2 -2
- package/dist/esm/billing/invoice-ref.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/billing/invoice-ref.shared.resources-config.schemas.js +26 -17
- package/dist/esm/billing/invoice-ref.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/billing/invoice-ref.shared.schemas.d.ts +10 -10
- package/dist/esm/billing/invoice-ref.shared.schemas.d.ts.map +1 -1
- package/dist/esm/billing/invoice-ref.shared.schemas.js +32 -7
- package/dist/esm/billing/invoice-ref.shared.schemas.js.map +1 -1
- package/dist/esm/billing/price.shared.resources-config.schemas.d.ts +7 -7
- package/dist/esm/billing/price.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/billing/price.shared.resources-config.schemas.js +23 -5
- package/dist/esm/billing/price.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/billing/price.shared.schemas.d.ts +4 -4
- package/dist/esm/billing/price.shared.schemas.d.ts.map +1 -1
- package/dist/esm/billing/price.shared.schemas.js +1 -1
- package/dist/esm/billing/price.shared.schemas.js.map +1 -1
- package/dist/esm/billing/product-behavior-policy.shared.schemas.d.ts +9 -9
- package/dist/esm/billing/product-behavior-policy.shared.schemas.d.ts.map +1 -1
- package/dist/esm/billing/product-behavior-policy.shared.schemas.js +10 -2
- package/dist/esm/billing/product-behavior-policy.shared.schemas.js.map +1 -1
- package/dist/esm/billing/product-definition.shared.schemas.d.ts +27 -27
- package/dist/esm/billing/product-definition.shared.schemas.d.ts.map +1 -1
- package/dist/esm/billing/product-definition.shared.schemas.js +39 -9
- package/dist/esm/billing/product-definition.shared.schemas.js.map +1 -1
- package/dist/esm/billing/product.shared.resources-config.schemas.d.ts +22 -22
- package/dist/esm/billing/product.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/billing/product.shared.resources-config.schemas.js +6 -6
- package/dist/esm/billing/product.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/billing/product.shared.schemas.d.ts +19 -19
- package/dist/esm/billing/product.shared.schemas.d.ts.map +1 -1
- package/dist/esm/billing/product.shared.schemas.js +1 -1
- package/dist/esm/billing/product.shared.schemas.js.map +1 -1
- package/dist/esm/billing/promotions.shared.resources-config.schemas.d.ts +7 -7
- package/dist/esm/billing/promotions.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/billing/promotions.shared.resources-config.schemas.js +34 -6
- package/dist/esm/billing/promotions.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/billing/promotions.shared.schemas.d.ts +2 -2
- package/dist/esm/billing/promotions.shared.schemas.d.ts.map +1 -1
- package/dist/esm/billing/promotions.shared.schemas.js +1 -1
- package/dist/esm/billing/promotions.shared.schemas.js.map +1 -1
- package/dist/esm/billing/referral.shared.resources-config.schemas.d.ts +12 -12
- package/dist/esm/billing/referral.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/billing/referral.shared.resources-config.schemas.js +5 -5
- package/dist/esm/billing/referral.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/billing/referral.shared.schemas.d.ts +7 -7
- package/dist/esm/billing/referral.shared.schemas.d.ts.map +1 -1
- package/dist/esm/billing/referral.shared.schemas.js +36 -8
- package/dist/esm/billing/referral.shared.schemas.js.map +1 -1
- package/dist/esm/billing/subscription.shared.resources-config.schemas.d.ts +6 -6
- package/dist/esm/billing/subscription.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/billing/subscription.shared.resources-config.schemas.js +51 -24
- package/dist/esm/billing/subscription.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/billing/subscription.shared.schemas.d.ts +13 -13
- package/dist/esm/billing/subscription.shared.schemas.d.ts.map +1 -1
- package/dist/esm/billing/subscription.shared.schemas.js +37 -5
- package/dist/esm/billing/subscription.shared.schemas.js.map +1 -1
- package/dist/esm/billing/usage-record.shared.resources-config.schemas.d.ts +2 -2
- package/dist/esm/billing/usage-record.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/billing/usage-record.shared.resources-config.schemas.js +23 -14
- package/dist/esm/billing/usage-record.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/billing/usage-record.shared.schemas.d.ts +15 -12
- package/dist/esm/billing/usage-record.shared.schemas.d.ts.map +1 -1
- package/dist/esm/billing/usage-record.shared.schemas.js +34 -7
- package/dist/esm/billing/usage-record.shared.schemas.js.map +1 -1
- package/dist/esm/charts/aggregation-query.shared.schemas.d.ts +36 -36
- package/dist/esm/charts/aggregation-query.shared.schemas.d.ts.map +1 -1
- package/dist/esm/charts/aggregation-query.shared.schemas.js +6 -6
- package/dist/esm/charts/aggregation-query.shared.schemas.js.map +1 -1
- package/dist/esm/charts/aggregation.shared.definitions.d.ts.map +1 -1
- package/dist/esm/charts/aggregation.shared.definitions.js +1 -1
- package/dist/esm/charts/aggregation.shared.definitions.js.map +1 -1
- package/dist/esm/charts/chart-definition-builder.shared.d.ts +5 -3
- package/dist/esm/charts/chart-definition-builder.shared.d.ts.map +1 -1
- package/dist/esm/charts/chart-definition-builder.shared.js +4 -2
- package/dist/esm/charts/chart-definition-builder.shared.js.map +1 -1
- package/dist/esm/{runtime/companion-artifact-placement.shared.definitions.d.ts → companion/artifact-placement.shared.definitions.d.ts} +2 -3
- package/dist/esm/companion/artifact-placement.shared.definitions.d.ts.map +1 -0
- package/dist/esm/{runtime/companion-artifact-placement.shared.definitions.js → companion/artifact-placement.shared.definitions.js} +1 -2
- package/dist/esm/companion/artifact-placement.shared.definitions.js.map +1 -0
- package/dist/esm/companion/provider-discovery.shared.schemas.d.ts +131 -0
- package/dist/esm/companion/provider-discovery.shared.schemas.d.ts.map +1 -0
- package/dist/esm/companion/provider-discovery.shared.schemas.js +122 -0
- package/dist/esm/companion/provider-discovery.shared.schemas.js.map +1 -0
- package/dist/esm/companion/shared-library-companion.shared.definitions.d.ts +6 -0
- package/dist/esm/companion/shared-library-companion.shared.definitions.d.ts.map +1 -0
- package/dist/esm/companion/shared-library-companion.shared.definitions.js +1 -0
- package/dist/esm/companion/shared-library-companion.shared.definitions.js.map +1 -0
- package/dist/esm/companion-exports.d.ts +4 -0
- package/dist/esm/companion-exports.d.ts.map +1 -0
- package/dist/esm/companion-exports.js +4 -0
- package/dist/esm/companion-exports.js.map +1 -0
- package/dist/esm/compliance/audit-trails/audit-actor.shared.schemas.d.ts +65 -0
- package/dist/esm/compliance/audit-trails/audit-actor.shared.schemas.d.ts.map +1 -0
- package/dist/esm/compliance/audit-trails/audit-actor.shared.schemas.js +68 -0
- package/dist/esm/compliance/audit-trails/audit-actor.shared.schemas.js.map +1 -0
- package/dist/esm/compliance/audit-trails/audit-log-sink.shared.schemas.d.ts +147 -0
- package/dist/esm/compliance/audit-trails/audit-log-sink.shared.schemas.d.ts.map +1 -0
- package/dist/esm/compliance/audit-trails/audit-log-sink.shared.schemas.js +20 -0
- package/dist/esm/compliance/audit-trails/audit-log-sink.shared.schemas.js.map +1 -0
- package/dist/esm/compliance/audit-trails/audit-logs.shared.resources-config.schemas.d.ts +60 -16
- package/dist/esm/compliance/audit-trails/audit-logs.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/audit-trails/audit-logs.shared.resources-config.schemas.js +77 -10
- package/dist/esm/compliance/audit-trails/audit-logs.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/compliance/audit-trails/audit-trail-config.shared.schemas.d.ts +58 -0
- package/dist/esm/compliance/audit-trails/audit-trail-config.shared.schemas.d.ts.map +1 -0
- package/dist/esm/compliance/audit-trails/audit-trail-config.shared.schemas.js +74 -0
- package/dist/esm/compliance/audit-trails/audit-trail-config.shared.schemas.js.map +1 -0
- package/dist/esm/compliance/audit-trails/auditable-events.shared.schema.d.ts +1949 -115
- package/dist/esm/compliance/audit-trails/auditable-events.shared.schema.d.ts.map +1 -1
- package/dist/esm/compliance/audit-trails/auditable-events.shared.schema.js +2229 -11
- package/dist/esm/compliance/audit-trails/auditable-events.shared.schema.js.map +1 -1
- package/dist/esm/compliance/audit-trails/security-audit-event-envelope.shared.schema.d.ts +25 -10
- package/dist/esm/compliance/audit-trails/security-audit-event-envelope.shared.schema.d.ts.map +1 -1
- package/dist/esm/compliance/audit-trails/security-audit-event-envelope.shared.schema.js +226 -3
- package/dist/esm/compliance/audit-trails/security-audit-event-envelope.shared.schema.js.map +1 -1
- package/dist/esm/compliance/data-classification/data-classification.shared.schemas.d.ts +8 -0
- package/dist/esm/compliance/data-classification/data-classification.shared.schemas.d.ts.map +1 -0
- package/dist/esm/compliance/data-classification/data-classification.shared.schemas.js +9 -0
- package/dist/esm/compliance/data-classification/data-classification.shared.schemas.js.map +1 -0
- package/dist/esm/compliance/documents/governed-documents.shared.schemas.d.ts +524 -0
- package/dist/esm/compliance/documents/governed-documents.shared.schemas.d.ts.map +1 -0
- package/dist/esm/compliance/documents/governed-documents.shared.schemas.js +482 -0
- package/dist/esm/compliance/documents/governed-documents.shared.schemas.js.map +1 -0
- package/dist/esm/compliance/privacy/ai-use-posture.shared.schemas.d.ts +112 -0
- package/dist/esm/compliance/privacy/ai-use-posture.shared.schemas.d.ts.map +1 -0
- package/dist/esm/compliance/privacy/ai-use-posture.shared.schemas.js +120 -0
- package/dist/esm/compliance/privacy/ai-use-posture.shared.schemas.js.map +1 -0
- package/dist/esm/compliance/privacy/client-storage.shared.schemas.d.ts +134 -0
- package/dist/esm/compliance/privacy/client-storage.shared.schemas.d.ts.map +1 -0
- package/dist/esm/compliance/privacy/client-storage.shared.schemas.js +129 -0
- package/dist/esm/compliance/privacy/client-storage.shared.schemas.js.map +1 -0
- package/dist/esm/compliance/privacy/data-retention.shared.schemas.d.ts +1 -1
- package/dist/esm/compliance/privacy/data-retention.shared.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/privacy/data-retention.shared.schemas.js +1 -1
- package/dist/esm/compliance/privacy/data-retention.shared.schemas.js.map +1 -1
- package/dist/esm/compliance/privacy/impersonalization-scrub.shared.utils.d.ts +50 -0
- package/dist/esm/compliance/privacy/impersonalization-scrub.shared.utils.d.ts.map +1 -0
- package/dist/esm/compliance/privacy/impersonalization-scrub.shared.utils.js +98 -0
- package/dist/esm/compliance/privacy/impersonalization-scrub.shared.utils.js.map +1 -0
- package/dist/esm/compliance/privacy/impersonalization.shared.schemas.d.ts +181 -0
- package/dist/esm/compliance/privacy/impersonalization.shared.schemas.d.ts.map +1 -0
- package/dist/esm/compliance/privacy/impersonalization.shared.schemas.js +184 -0
- package/dist/esm/compliance/privacy/impersonalization.shared.schemas.js.map +1 -0
- package/dist/esm/compliance/privacy/operator-compliance-identity.shared.schemas.d.ts +230 -0
- package/dist/esm/compliance/privacy/operator-compliance-identity.shared.schemas.d.ts.map +1 -0
- package/dist/esm/compliance/privacy/operator-compliance-identity.shared.schemas.js +232 -0
- package/dist/esm/compliance/privacy/operator-compliance-identity.shared.schemas.js.map +1 -0
- package/dist/esm/compliance/privacy/personal-data-category.shared.schemas.d.ts +220 -0
- package/dist/esm/compliance/privacy/personal-data-category.shared.schemas.d.ts.map +1 -0
- package/dist/esm/compliance/privacy/personal-data-category.shared.schemas.js +252 -0
- package/dist/esm/compliance/privacy/personal-data-category.shared.schemas.js.map +1 -0
- package/dist/esm/compliance/privacy/personal-data-declaration.shared.utils.d.ts +75 -0
- package/dist/esm/compliance/privacy/personal-data-declaration.shared.utils.d.ts.map +1 -0
- package/dist/esm/compliance/privacy/personal-data-declaration.shared.utils.js +43 -0
- package/dist/esm/compliance/privacy/personal-data-declaration.shared.utils.js.map +1 -0
- package/dist/esm/compliance/privacy/privacy.shared.schemas.d.ts +56 -43
- package/dist/esm/compliance/privacy/privacy.shared.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/privacy/privacy.shared.schemas.js +72 -18
- package/dist/esm/compliance/privacy/privacy.shared.schemas.js.map +1 -1
- package/dist/esm/compliance/privacy/redaction.shared.schemas.d.ts +21 -3
- package/dist/esm/compliance/privacy/redaction.shared.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/privacy/redaction.shared.schemas.js +19 -1
- package/dist/esm/compliance/privacy/redaction.shared.schemas.js.map +1 -1
- package/dist/esm/compliance/privacy/retention-schedule.shared.schemas.d.ts +124 -0
- package/dist/esm/compliance/privacy/retention-schedule.shared.schemas.d.ts.map +1 -0
- package/dist/esm/compliance/privacy/retention-schedule.shared.schemas.js +107 -0
- package/dist/esm/compliance/privacy/retention-schedule.shared.schemas.js.map +1 -0
- package/dist/esm/compliance/privacy/sharing.shared.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/privacy/sharing.shared.schemas.js +1 -1
- package/dist/esm/compliance/privacy/sharing.shared.schemas.js.map +1 -1
- package/dist/esm/compliance/privacy/subject-erasure.shared.schemas.d.ts +279 -0
- package/dist/esm/compliance/privacy/subject-erasure.shared.schemas.d.ts.map +1 -0
- package/dist/esm/compliance/privacy/subject-erasure.shared.schemas.js +238 -0
- package/dist/esm/compliance/privacy/subject-erasure.shared.schemas.js.map +1 -0
- package/dist/esm/compliance/privacy/subject-export-render.shared.utils.d.ts +74 -0
- package/dist/esm/compliance/privacy/subject-export-render.shared.utils.d.ts.map +1 -0
- package/dist/esm/compliance/privacy/subject-export-render.shared.utils.js +137 -0
- package/dist/esm/compliance/privacy/subject-export-render.shared.utils.js.map +1 -0
- package/dist/esm/compliance/privacy/subject-export.shared.schemas.d.ts +457 -0
- package/dist/esm/compliance/privacy/subject-export.shared.schemas.d.ts.map +1 -0
- package/dist/esm/compliance/privacy/subject-export.shared.schemas.js +549 -0
- package/dist/esm/compliance/privacy/subject-export.shared.schemas.js.map +1 -0
- package/dist/esm/config/analytics-value-moments.shared.schemas.d.ts +13 -13
- package/dist/esm/config/analytics-value-moments.shared.schemas.d.ts.map +1 -1
- package/dist/esm/config/analytics-value-moments.shared.schemas.js +1 -1
- package/dist/esm/config/analytics-value-moments.shared.schemas.js.map +1 -1
- package/dist/esm/config/app-configuration-shared.shared.schemas.d.ts +135 -125
- package/dist/esm/config/app-configuration-shared.shared.schemas.d.ts.map +1 -1
- package/dist/esm/config/app-configuration-shared.shared.schemas.js +74 -10
- package/dist/esm/config/app-configuration-shared.shared.schemas.js.map +1 -1
- package/dist/esm/config/app-frontend-type.shared.schemas.d.ts +94 -0
- package/dist/esm/config/app-frontend-type.shared.schemas.d.ts.map +1 -0
- package/dist/esm/config/app-frontend-type.shared.schemas.js +95 -0
- package/dist/esm/config/app-frontend-type.shared.schemas.js.map +1 -0
- package/dist/esm/config/auth-config-resolution.shared.utils.d.ts +35 -5
- package/dist/esm/config/auth-config-resolution.shared.utils.d.ts.map +1 -1
- package/dist/esm/config/auth-config-resolution.shared.utils.js +44 -2
- package/dist/esm/config/auth-config-resolution.shared.utils.js.map +1 -1
- package/dist/esm/config/brand-assets.shared.schemas.d.ts +89 -0
- package/dist/esm/config/brand-assets.shared.schemas.d.ts.map +1 -0
- package/dist/esm/config/brand-assets.shared.schemas.js +99 -0
- package/dist/esm/config/brand-assets.shared.schemas.js.map +1 -0
- package/dist/esm/config/configuration-validation.shared.schemas.d.ts +12 -1
- package/dist/esm/config/configuration-validation.shared.schemas.d.ts.map +1 -1
- package/dist/esm/config/configuration-validation.shared.schemas.js +12 -1
- package/dist/esm/config/configuration-validation.shared.schemas.js.map +1 -1
- package/dist/esm/config/entity-identity-config.shared.schemas.d.ts +170 -91
- package/dist/esm/config/entity-identity-config.shared.schemas.d.ts.map +1 -1
- package/dist/esm/config/entity-identity-config.shared.schemas.js +130 -19
- package/dist/esm/config/entity-identity-config.shared.schemas.js.map +1 -1
- package/dist/esm/config/frontend/chart-definition.shared.schemas.d.ts +167 -166
- package/dist/esm/config/frontend/chart-definition.shared.schemas.d.ts.map +1 -1
- package/dist/esm/config/frontend/chart-definition.shared.schemas.js +93 -9
- package/dist/esm/config/frontend/chart-definition.shared.schemas.js.map +1 -1
- package/dist/esm/config/frontend/chart-registration-alignment.shared.d.ts +69 -0
- package/dist/esm/config/frontend/chart-registration-alignment.shared.d.ts.map +1 -0
- package/dist/esm/config/frontend/chart-registration-alignment.shared.js +61 -0
- package/dist/esm/config/frontend/chart-registration-alignment.shared.js.map +1 -0
- package/dist/esm/config/frontend/navigation.shared.schemas.d.ts +110 -39
- package/dist/esm/config/frontend/navigation.shared.schemas.d.ts.map +1 -1
- package/dist/esm/config/frontend/navigation.shared.schemas.js +93 -9
- package/dist/esm/config/frontend/navigation.shared.schemas.js.map +1 -1
- package/dist/esm/config/frontend/onboarding.shared.schemas.d.ts +70 -134
- package/dist/esm/config/frontend/onboarding.shared.schemas.d.ts.map +1 -1
- package/dist/esm/config/frontend/onboarding.shared.schemas.js +27 -25
- package/dist/esm/config/frontend/onboarding.shared.schemas.js.map +1 -1
- package/dist/esm/config/postgresql.shared.schemas.d.ts.map +1 -1
- package/dist/esm/config/postgresql.shared.schemas.js +1 -1
- package/dist/esm/config/postgresql.shared.schemas.js.map +1 -1
- package/dist/esm/config/registration-acquisition-policy.shared.utils.d.ts +24 -0
- package/dist/esm/config/registration-acquisition-policy.shared.utils.d.ts.map +1 -0
- package/dist/esm/config/registration-acquisition-policy.shared.utils.js +62 -0
- package/dist/esm/config/registration-acquisition-policy.shared.utils.js.map +1 -0
- package/dist/esm/config-authoring.entry.d.ts +5 -0
- package/dist/esm/config-authoring.entry.d.ts.map +1 -0
- package/dist/esm/config-authoring.entry.js +7 -0
- package/dist/esm/config-authoring.entry.js.map +1 -0
- package/dist/esm/crdt/crdt-merge.shared.utils.d.ts +1 -1
- package/dist/esm/crdt/crdt-merge.shared.utils.d.ts.map +1 -1
- package/dist/esm/crdt/crdt-merge.shared.utils.js +1 -1
- package/dist/esm/crdt/crdt-merge.shared.utils.js.map +1 -1
- package/dist/esm/data-seeding/data-seeding-config.shared.schemas.d.ts +66 -0
- package/dist/esm/data-seeding/data-seeding-config.shared.schemas.d.ts.map +1 -0
- package/dist/esm/data-seeding/data-seeding-config.shared.schemas.js +118 -0
- package/dist/esm/data-seeding/data-seeding-config.shared.schemas.js.map +1 -0
- package/dist/esm/errors/errors.custom-message-ref.shared.definitions.d.ts +348 -1
- package/dist/esm/errors/errors.custom-message-ref.shared.definitions.d.ts.map +1 -1
- package/dist/esm/errors/errors.custom-message-ref.shared.definitions.js +357 -1
- package/dist/esm/errors/errors.custom-message-ref.shared.definitions.js.map +1 -1
- package/dist/esm/errors/errors.shared.definitions.d.ts +2 -2
- package/dist/esm/errors/errors.shared.definitions.d.ts.map +1 -1
- package/dist/esm/errors/errors.shared.definitions.js +12 -1
- package/dist/esm/errors/errors.shared.definitions.js.map +1 -1
- package/dist/esm/errors/errors.shared.schemas.d.ts +82 -36
- package/dist/esm/errors/errors.shared.schemas.d.ts.map +1 -1
- package/dist/esm/errors/errors.shared.schemas.js +100 -3
- package/dist/esm/errors/errors.shared.schemas.js.map +1 -1
- package/dist/esm/errors/errors.shared.utils.d.ts +1 -1
- package/dist/esm/errors/errors.shared.utils.d.ts.map +1 -1
- package/dist/esm/errors/errors.shared.utils.js +1 -1
- package/dist/esm/errors/errors.shared.utils.js.map +1 -1
- package/dist/esm/errors/resource-access-forbidden.shared.error.d.ts +16 -0
- package/dist/esm/errors/resource-access-forbidden.shared.error.d.ts.map +1 -0
- package/dist/esm/errors/resource-access-forbidden.shared.error.js +18 -0
- package/dist/esm/errors/resource-access-forbidden.shared.error.js.map +1 -0
- package/dist/esm/errors/zod-issue-formatting.shared.utils.d.ts +113 -0
- package/dist/esm/errors/zod-issue-formatting.shared.utils.d.ts.map +1 -0
- package/dist/esm/errors/zod-issue-formatting.shared.utils.js +102 -0
- package/dist/esm/errors/zod-issue-formatting.shared.utils.js.map +1 -0
- package/dist/esm/exports/tabular-csv.shared.utils.d.ts +42 -0
- package/dist/esm/exports/tabular-csv.shared.utils.d.ts.map +1 -0
- package/dist/esm/exports/tabular-csv.shared.utils.js +63 -0
- package/dist/esm/exports/tabular-csv.shared.utils.js.map +1 -0
- package/dist/esm/external-data/external-data-pipeline.shared.schemas.d.ts +347 -0
- package/dist/esm/external-data/external-data-pipeline.shared.schemas.d.ts.map +1 -0
- package/dist/esm/external-data/external-data-pipeline.shared.schemas.js +206 -0
- package/dist/esm/external-data/external-data-pipeline.shared.schemas.js.map +1 -0
- package/dist/esm/external-data.exports.d.ts +30 -0
- package/dist/esm/external-data.exports.d.ts.map +1 -0
- package/dist/esm/external-data.exports.js +30 -0
- package/dist/esm/external-data.exports.js.map +1 -0
- package/dist/esm/external-providers/compose-provider-registry.shared.d.ts +63 -0
- package/dist/esm/external-providers/compose-provider-registry.shared.d.ts.map +1 -0
- package/dist/esm/external-providers/compose-provider-registry.shared.js +102 -0
- package/dist/esm/external-providers/compose-provider-registry.shared.js.map +1 -0
- package/dist/esm/external-providers/engine-capabilities.shared.schemas.d.ts +164 -0
- package/dist/esm/external-providers/engine-capabilities.shared.schemas.d.ts.map +1 -0
- package/dist/esm/external-providers/engine-capabilities.shared.schemas.js +194 -0
- package/dist/esm/external-providers/engine-capabilities.shared.schemas.js.map +1 -0
- package/dist/esm/external-providers/engine-capability-resolution-mode.shared.d.ts +39 -0
- package/dist/esm/external-providers/engine-capability-resolution-mode.shared.d.ts.map +1 -0
- package/dist/esm/external-providers/engine-capability-resolution-mode.shared.js +85 -0
- package/dist/esm/external-providers/engine-capability-resolution-mode.shared.js.map +1 -0
- package/dist/esm/external-providers/external-providers.shared.schemas.d.ts +22 -22
- package/dist/esm/external-providers/external-providers.shared.schemas.d.ts.map +1 -1
- package/dist/esm/external-providers/external-providers.shared.schemas.js +5 -5
- package/dist/esm/external-providers/external-providers.shared.schemas.js.map +1 -1
- package/dist/esm/external-providers/frontend-bootstrap.shared.schemas.d.ts +319 -0
- package/dist/esm/external-providers/frontend-bootstrap.shared.schemas.d.ts.map +1 -0
- package/dist/esm/external-providers/frontend-bootstrap.shared.schemas.js +17 -0
- package/dist/esm/external-providers/frontend-bootstrap.shared.schemas.js.map +1 -0
- package/dist/esm/external-providers/frontend-provider-entry.shared.schemas.d.ts +35 -0
- package/dist/esm/external-providers/frontend-provider-entry.shared.schemas.d.ts.map +1 -0
- package/dist/esm/external-providers/frontend-provider-entry.shared.schemas.js +19 -0
- package/dist/esm/external-providers/frontend-provider-entry.shared.schemas.js.map +1 -0
- package/dist/esm/external-providers/provider-capability.shared.schemas.d.ts +135 -0
- package/dist/esm/external-providers/provider-capability.shared.schemas.d.ts.map +1 -0
- package/dist/esm/external-providers/provider-capability.shared.schemas.js +102 -0
- package/dist/esm/external-providers/provider-capability.shared.schemas.js.map +1 -0
- package/dist/esm/external-providers/provider-compliance-profile.shared.schemas.d.ts +175 -0
- package/dist/esm/external-providers/provider-compliance-profile.shared.schemas.d.ts.map +1 -0
- package/dist/esm/external-providers/provider-compliance-profile.shared.schemas.js +211 -0
- package/dist/esm/external-providers/provider-compliance-profile.shared.schemas.js.map +1 -0
- package/dist/esm/external-providers/provider-metadata.shared.schemas.d.ts +37 -0
- package/dist/esm/external-providers/provider-metadata.shared.schemas.d.ts.map +1 -0
- package/dist/esm/external-providers/provider-metadata.shared.schemas.js +58 -0
- package/dist/esm/external-providers/provider-metadata.shared.schemas.js.map +1 -0
- package/dist/esm/external-providers/provider-protocol.shared.schemas.d.ts +65 -0
- package/dist/esm/external-providers/provider-protocol.shared.schemas.d.ts.map +1 -0
- package/dist/esm/external-providers/provider-protocol.shared.schemas.js +63 -0
- package/dist/esm/external-providers/provider-protocol.shared.schemas.js.map +1 -0
- package/dist/esm/external-providers/provider-usage-pricing.shared.schemas.d.ts +99 -0
- package/dist/esm/external-providers/provider-usage-pricing.shared.schemas.d.ts.map +1 -0
- package/dist/esm/external-providers/provider-usage-pricing.shared.schemas.js +137 -0
- package/dist/esm/external-providers/provider-usage-pricing.shared.schemas.js.map +1 -0
- package/dist/esm/features/application-features.shared.resources-config.schemas.d.ts +39 -0
- package/dist/esm/features/application-features.shared.resources-config.schemas.d.ts.map +1 -0
- package/dist/esm/features/application-features.shared.resources-config.schemas.js +147 -0
- package/dist/esm/features/application-features.shared.resources-config.schemas.js.map +1 -0
- package/dist/esm/features/core-feature-definitions.shared.d.ts +17 -2
- package/dist/esm/features/core-feature-definitions.shared.d.ts.map +1 -1
- package/dist/esm/features/core-feature-definitions.shared.js +91 -3
- package/dist/esm/features/core-feature-definitions.shared.js.map +1 -1
- package/dist/esm/features/feature-builders.shared.d.ts +13 -2
- package/dist/esm/features/feature-builders.shared.d.ts.map +1 -1
- package/dist/esm/features/feature-builders.shared.js +3 -1
- package/dist/esm/features/feature-builders.shared.js.map +1 -1
- package/dist/esm/features/feature-definition.shared.schemas.d.ts +70 -24
- package/dist/esm/features/feature-definition.shared.schemas.d.ts.map +1 -1
- package/dist/esm/features/feature-definition.shared.schemas.js +84 -1
- package/dist/esm/features/feature-definition.shared.schemas.js.map +1 -1
- package/dist/esm/features/feature-registry.shared.d.ts +8 -9
- package/dist/esm/features/feature-registry.shared.d.ts.map +1 -1
- package/dist/esm/features/feature-registry.shared.js +5 -8
- package/dist/esm/features/feature-registry.shared.js.map +1 -1
- package/dist/esm/features/feature-resolution.shared.schemas.d.ts +1 -1
- package/dist/esm/features/feature-resolution.shared.schemas.d.ts.map +1 -1
- package/dist/esm/features/feature-resolution.shared.schemas.js +1 -1
- package/dist/esm/features/feature-resolution.shared.schemas.js.map +1 -1
- package/dist/esm/features/scope-features.shared.schemas.d.ts +9 -10
- package/dist/esm/features/scope-features.shared.schemas.d.ts.map +1 -1
- package/dist/esm/features/scope-features.shared.schemas.js +20 -6
- package/dist/esm/features/scope-features.shared.schemas.js.map +1 -1
- package/dist/esm/features/user-features.shared.resources-config.schemas.d.ts +9 -9
- package/dist/esm/features/user-features.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/features/user-features.shared.resources-config.schemas.js +35 -1
- package/dist/esm/features/user-features.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/files/files.shared.resources-config.schemas.d.ts +35 -9
- package/dist/esm/files/files.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/files/files.shared.resources-config.schemas.js +27 -5
- package/dist/esm/files/files.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/files/files.shared.schemas.d.ts +71 -13
- package/dist/esm/files/files.shared.schemas.d.ts.map +1 -1
- package/dist/esm/files/files.shared.schemas.js +110 -35
- package/dist/esm/files/files.shared.schemas.js.map +1 -1
- package/dist/esm/files/files.shared.utils.d.ts +9 -5
- package/dist/esm/files/files.shared.utils.d.ts.map +1 -1
- package/dist/esm/files/files.shared.utils.js +10 -6
- package/dist/esm/files/files.shared.utils.js.map +1 -1
- package/dist/esm/flows-actors/a2a-push-delivery-log.shared.resources-config.schemas.d.ts +40 -0
- package/dist/esm/flows-actors/a2a-push-delivery-log.shared.resources-config.schemas.d.ts.map +1 -0
- package/dist/esm/flows-actors/a2a-push-delivery-log.shared.resources-config.schemas.js +204 -0
- package/dist/esm/flows-actors/a2a-push-delivery-log.shared.resources-config.schemas.js.map +1 -0
- package/dist/esm/flows-actors/a2a-push-delivery-log.shared.schemas.d.ts +113 -0
- package/dist/esm/flows-actors/a2a-push-delivery-log.shared.schemas.d.ts.map +1 -0
- package/dist/esm/flows-actors/a2a-push-delivery-log.shared.schemas.js +153 -0
- package/dist/esm/flows-actors/a2a-push-delivery-log.shared.schemas.js.map +1 -0
- package/dist/esm/flows-actors/a2a-token-budget-state.shared.resources-config.schemas.d.ts +61 -0
- package/dist/esm/flows-actors/a2a-token-budget-state.shared.resources-config.schemas.d.ts.map +1 -0
- package/dist/esm/flows-actors/a2a-token-budget-state.shared.resources-config.schemas.js +143 -0
- package/dist/esm/flows-actors/a2a-token-budget-state.shared.resources-config.schemas.js.map +1 -0
- package/dist/esm/flows-actors/a2a-token-budget-state.shared.schemas.d.ts +77 -0
- package/dist/esm/flows-actors/a2a-token-budget-state.shared.schemas.d.ts.map +1 -0
- package/dist/esm/flows-actors/a2a-token-budget-state.shared.schemas.js +103 -0
- package/dist/esm/flows-actors/a2a-token-budget-state.shared.schemas.js.map +1 -0
- package/dist/esm/flows-actors/actors.shared.schemas.d.ts +339 -326
- package/dist/esm/flows-actors/actors.shared.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/actors.shared.schemas.js +29 -6
- package/dist/esm/flows-actors/actors.shared.schemas.js.map +1 -1
- package/dist/esm/flows-actors/agent-traceability.shared.schemas.d.ts +237 -0
- package/dist/esm/flows-actors/agent-traceability.shared.schemas.d.ts.map +1 -0
- package/dist/esm/flows-actors/agent-traceability.shared.schemas.js +152 -0
- package/dist/esm/flows-actors/agent-traceability.shared.schemas.js.map +1 -0
- package/dist/esm/flows-actors/agents.shared.schemas.d.ts +180 -23
- package/dist/esm/flows-actors/agents.shared.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/agents.shared.schemas.js +69 -2
- package/dist/esm/flows-actors/agents.shared.schemas.js.map +1 -1
- package/dist/esm/flows-actors/apps-blueprint/apps-blueprint-agent-personas.shared.enums.d.ts +19 -0
- package/dist/esm/flows-actors/apps-blueprint/apps-blueprint-agent-personas.shared.enums.d.ts.map +1 -0
- package/dist/esm/flows-actors/apps-blueprint/apps-blueprint-agent-personas.shared.enums.js +35 -0
- package/dist/esm/flows-actors/apps-blueprint/apps-blueprint-agent-personas.shared.enums.js.map +1 -0
- package/dist/esm/flows-actors/apps-blueprint/apps-blueprint.shared.schemas.d.ts +29 -45
- package/dist/esm/flows-actors/apps-blueprint/apps-blueprint.shared.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/apps-blueprint/apps-blueprint.shared.schemas.js +2 -34
- package/dist/esm/flows-actors/apps-blueprint/apps-blueprint.shared.schemas.js.map +1 -1
- package/dist/esm/flows-actors/apps-blueprint/artifacts.apps-blueprint.shared.schemas.d.ts +2 -2
- package/dist/esm/flows-actors/apps-blueprint/artifacts.apps-blueprint.shared.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/apps-blueprint/artifacts.apps-blueprint.shared.schemas.js +1 -1
- package/dist/esm/flows-actors/apps-blueprint/artifacts.apps-blueprint.shared.schemas.js.map +1 -1
- package/dist/esm/flows-actors/deliberation.shared.schemas.d.ts +642 -0
- package/dist/esm/flows-actors/deliberation.shared.schemas.d.ts.map +1 -0
- package/dist/esm/flows-actors/deliberation.shared.schemas.js +604 -0
- package/dist/esm/flows-actors/deliberation.shared.schemas.js.map +1 -0
- package/dist/esm/flows-actors/flows-actors-execution.shared.resources-config.schemas.d.ts +48 -0
- package/dist/esm/flows-actors/flows-actors-execution.shared.resources-config.schemas.d.ts.map +1 -0
- package/dist/esm/flows-actors/flows-actors-execution.shared.resources-config.schemas.js +179 -0
- package/dist/esm/flows-actors/flows-actors-execution.shared.resources-config.schemas.js.map +1 -0
- package/dist/esm/flows-actors/flows-actors-execution.shared.schemas.d.ts +200 -0
- package/dist/esm/flows-actors/flows-actors-execution.shared.schemas.d.ts.map +1 -0
- package/dist/esm/flows-actors/flows-actors-execution.shared.schemas.js +337 -0
- package/dist/esm/flows-actors/flows-actors-execution.shared.schemas.js.map +1 -0
- package/dist/esm/flows-actors/flows-actors-task.shared.resources-config.schemas.d.ts +59 -0
- package/dist/esm/flows-actors/flows-actors-task.shared.resources-config.schemas.d.ts.map +1 -0
- package/dist/esm/flows-actors/flows-actors-task.shared.resources-config.schemas.js +223 -0
- package/dist/esm/flows-actors/flows-actors-task.shared.resources-config.schemas.js.map +1 -0
- package/dist/esm/flows-actors/flows-actors-task.shared.schemas.d.ts +426 -0
- package/dist/esm/flows-actors/flows-actors-task.shared.schemas.d.ts.map +1 -0
- package/dist/esm/flows-actors/flows-actors-task.shared.schemas.js +317 -0
- package/dist/esm/flows-actors/flows-actors-task.shared.schemas.js.map +1 -0
- package/dist/esm/flows-actors/flows-actors.commons.shared.schemas.d.ts +109 -58
- package/dist/esm/flows-actors/flows-actors.commons.shared.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/flows-actors.commons.shared.schemas.js +48 -1
- package/dist/esm/flows-actors/flows-actors.commons.shared.schemas.js.map +1 -1
- package/dist/esm/flows-actors/flows-actors.configuration.shared.schemas.d.ts +62 -62
- package/dist/esm/flows-actors/flows-actors.configuration.shared.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/flows-actors.configuration.shared.schemas.js +2 -2
- package/dist/esm/flows-actors/flows-actors.configuration.shared.schemas.js.map +1 -1
- package/dist/esm/flows-actors/flows-actors.frontend.shared.schemas.d.ts +112 -11
- package/dist/esm/flows-actors/flows-actors.frontend.shared.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/flows-actors.frontend.shared.schemas.js +63 -1
- package/dist/esm/flows-actors/flows-actors.frontend.shared.schemas.js.map +1 -1
- package/dist/esm/flows-actors/flows-actors.io.shared.schemas.d.ts +60 -20
- package/dist/esm/flows-actors/flows-actors.io.shared.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/flows-actors.io.shared.schemas.js +36 -3
- package/dist/esm/flows-actors/flows-actors.io.shared.schemas.js.map +1 -1
- package/dist/esm/flows-actors/flows-actors.system.shared.definitions.d.ts +35 -0
- package/dist/esm/flows-actors/flows-actors.system.shared.definitions.d.ts.map +1 -0
- package/dist/esm/flows-actors/flows-actors.system.shared.definitions.js +1 -0
- package/dist/esm/flows-actors/flows-actors.system.shared.definitions.js.map +1 -0
- package/dist/esm/flows-actors/flows-actors.system.shared.schemas.d.ts +88 -63
- package/dist/esm/flows-actors/flows-actors.system.shared.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/flows-actors.system.shared.schemas.js +32 -5
- package/dist/esm/flows-actors/flows-actors.system.shared.schemas.js.map +1 -1
- package/dist/esm/flows-actors/flows.shared.schemas.d.ts +63 -49
- package/dist/esm/flows-actors/flows.shared.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/flows.shared.schemas.js +1 -1
- package/dist/esm/flows-actors/flows.shared.schemas.js.map +1 -1
- package/dist/esm/flows-actors/meta-workflows/actions.meta-workflows.shared.schemas.d.ts +73 -0
- package/dist/esm/flows-actors/meta-workflows/actions.meta-workflows.shared.schemas.d.ts.map +1 -0
- package/dist/esm/flows-actors/meta-workflows/actions.meta-workflows.shared.schemas.js +149 -0
- package/dist/esm/flows-actors/meta-workflows/actions.meta-workflows.shared.schemas.js.map +1 -0
- package/dist/esm/flows-actors/meta-workflows/budget-authority.meta-workflows.shared.schemas.d.ts +20 -0
- package/dist/esm/flows-actors/meta-workflows/budget-authority.meta-workflows.shared.schemas.d.ts.map +1 -0
- package/dist/esm/flows-actors/meta-workflows/budget-authority.meta-workflows.shared.schemas.js +34 -0
- package/dist/esm/flows-actors/meta-workflows/budget-authority.meta-workflows.shared.schemas.js.map +1 -0
- package/dist/esm/flows-actors/meta-workflows/catalog.meta-workflows.shared.schemas.d.ts +125 -0
- package/dist/esm/flows-actors/meta-workflows/catalog.meta-workflows.shared.schemas.d.ts.map +1 -0
- package/dist/esm/flows-actors/meta-workflows/catalog.meta-workflows.shared.schemas.js +136 -0
- package/dist/esm/flows-actors/meta-workflows/catalog.meta-workflows.shared.schemas.js.map +1 -0
- package/dist/esm/flows-actors/meta-workflows/context-selection.meta-workflows.shared.schemas.d.ts +180 -0
- package/dist/esm/flows-actors/meta-workflows/context-selection.meta-workflows.shared.schemas.d.ts.map +1 -0
- package/dist/esm/flows-actors/meta-workflows/context-selection.meta-workflows.shared.schemas.js +187 -0
- package/dist/esm/flows-actors/meta-workflows/context-selection.meta-workflows.shared.schemas.js.map +1 -0
- package/dist/esm/flows-actors/meta-workflows/continuity-identifiers.meta-workflows.shared.schemas.d.ts +28 -0
- package/dist/esm/flows-actors/meta-workflows/continuity-identifiers.meta-workflows.shared.schemas.d.ts.map +1 -0
- package/dist/esm/flows-actors/meta-workflows/continuity-identifiers.meta-workflows.shared.schemas.js +28 -0
- package/dist/esm/flows-actors/meta-workflows/continuity-identifiers.meta-workflows.shared.schemas.js.map +1 -0
- package/dist/esm/flows-actors/meta-workflows/decisions.meta-workflows.shared.schemas.d.ts +446 -0
- package/dist/esm/flows-actors/meta-workflows/decisions.meta-workflows.shared.schemas.d.ts.map +1 -0
- package/dist/esm/flows-actors/meta-workflows/decisions.meta-workflows.shared.schemas.js +678 -0
- package/dist/esm/flows-actors/meta-workflows/decisions.meta-workflows.shared.schemas.js.map +1 -0
- package/dist/esm/flows-actors/meta-workflows/execution-binding-common.meta-workflows.shared.schemas.d.ts +106 -0
- package/dist/esm/flows-actors/meta-workflows/execution-binding-common.meta-workflows.shared.schemas.d.ts.map +1 -0
- package/dist/esm/flows-actors/meta-workflows/execution-binding-common.meta-workflows.shared.schemas.js +243 -0
- package/dist/esm/flows-actors/meta-workflows/execution-binding-common.meta-workflows.shared.schemas.js.map +1 -0
- package/dist/esm/flows-actors/meta-workflows/execution-binding-vocabularies.meta-workflows.shared.schemas.d.ts +29 -0
- package/dist/esm/flows-actors/meta-workflows/execution-binding-vocabularies.meta-workflows.shared.schemas.d.ts.map +1 -0
- package/dist/esm/flows-actors/meta-workflows/execution-binding-vocabularies.meta-workflows.shared.schemas.js +58 -0
- package/dist/esm/flows-actors/meta-workflows/execution-binding-vocabularies.meta-workflows.shared.schemas.js.map +1 -0
- package/dist/esm/flows-actors/meta-workflows/portable-primitives.meta-workflows.shared.schemas.d.ts +61 -0
- package/dist/esm/flows-actors/meta-workflows/portable-primitives.meta-workflows.shared.schemas.d.ts.map +1 -0
- package/dist/esm/flows-actors/meta-workflows/portable-primitives.meta-workflows.shared.schemas.js +93 -0
- package/dist/esm/flows-actors/meta-workflows/portable-primitives.meta-workflows.shared.schemas.js.map +1 -0
- package/dist/esm/flows-actors/prompt-ir.shared.schemas.d.ts +5 -5
- package/dist/esm/flows-actors/prompt-ir.shared.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/prompt-ir.shared.schemas.js +2 -2
- package/dist/esm/flows-actors/prompt-ir.shared.schemas.js.map +1 -1
- package/dist/esm/flows-actors/task-continuity-binding.actors.shared.schemas.d.ts +81 -0
- package/dist/esm/flows-actors/task-continuity-binding.actors.shared.schemas.d.ts.map +1 -0
- package/dist/esm/flows-actors/task-continuity-binding.actors.shared.schemas.js +82 -0
- package/dist/esm/flows-actors/task-continuity-binding.actors.shared.schemas.js.map +1 -0
- package/dist/esm/flows-actors/tasks.actors.shared.schemas.d.ts +257 -194
- package/dist/esm/flows-actors/tasks.actors.shared.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/tasks.actors.shared.schemas.js +28 -2
- package/dist/esm/flows-actors/tasks.actors.shared.schemas.js.map +1 -1
- package/dist/esm/flows-actors/utils/flow-actors.context-builder.apps-context.shared.utils.d.ts.map +1 -1
- package/dist/esm/flows-actors/utils/flow-actors.context-builder.apps-context.shared.utils.js +1 -1
- package/dist/esm/flows-actors/utils/flow-actors.context-builder.apps-context.shared.utils.js.map +1 -1
- package/dist/esm/frontend-definitions/frontend-notification-custom-message-ref.definitions.d.ts.map +1 -1
- package/dist/esm/frontend-definitions/frontend-notification-custom-message-ref.definitions.js +1 -1
- package/dist/esm/frontend-definitions/frontend-notification-custom-message-ref.definitions.js.map +1 -1
- package/dist/esm/guidance/guidance-flow.shared.schemas.d.ts +51 -89
- package/dist/esm/guidance/guidance-flow.shared.schemas.d.ts.map +1 -1
- package/dist/esm/guidance/guidance-flow.shared.schemas.js +1 -1
- package/dist/esm/guidance/guidance-flow.shared.schemas.js.map +1 -1
- package/dist/esm/guidance/guidance-state.shared.resources-config.schemas.d.ts +22 -19
- package/dist/esm/guidance/guidance-state.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/guidance/guidance-state.shared.resources-config.schemas.js +61 -5
- package/dist/esm/guidance/guidance-state.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/guidance/guidance-state.shared.schemas.d.ts +46 -10
- package/dist/esm/guidance/guidance-state.shared.schemas.d.ts.map +1 -1
- package/dist/esm/guidance/guidance-state.shared.schemas.js +15 -4
- package/dist/esm/guidance/guidance-state.shared.schemas.js.map +1 -1
- package/dist/esm/guidance/guidance-state.shared.utils.d.ts +25 -0
- package/dist/esm/guidance/guidance-state.shared.utils.d.ts.map +1 -0
- package/dist/esm/guidance/guidance-state.shared.utils.js +72 -0
- package/dist/esm/guidance/guidance-state.shared.utils.js.map +1 -0
- package/dist/esm/guidance/lifecycle-config.shared.schemas.d.ts +11 -11
- package/dist/esm/guidance/lifecycle-config.shared.schemas.d.ts.map +1 -1
- package/dist/esm/guidance/lifecycle-config.shared.schemas.js +1 -1
- package/dist/esm/guidance/lifecycle-config.shared.schemas.js.map +1 -1
- package/dist/esm/guidance/lifecycle-state.shared.resources-config.schemas.d.ts +28 -25
- package/dist/esm/guidance/lifecycle-state.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/guidance/lifecycle-state.shared.resources-config.schemas.js +71 -7
- package/dist/esm/guidance/lifecycle-state.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/guidance/lifecycle-state.shared.schemas.d.ts +53 -14
- package/dist/esm/guidance/lifecycle-state.shared.schemas.d.ts.map +1 -1
- package/dist/esm/guidance/lifecycle-state.shared.schemas.js +26 -25
- package/dist/esm/guidance/lifecycle-state.shared.schemas.js.map +1 -1
- package/dist/esm/guidance/milestone-builders.shared.d.ts +2 -2
- package/dist/esm/guidance/milestone-builders.shared.d.ts.map +1 -1
- package/dist/esm/guidance/milestone-builders.shared.js +1 -1
- package/dist/esm/guidance/milestone-builders.shared.js.map +1 -1
- package/dist/esm/guidance/milestone-definition.shared.schemas.d.ts +2 -2
- package/dist/esm/guidance/milestone-definition.shared.schemas.d.ts.map +1 -1
- package/dist/esm/guidance/milestone-definition.shared.schemas.js +1 -1
- package/dist/esm/guidance/milestone-definition.shared.schemas.js.map +1 -1
- package/dist/esm/guidance/progression-state.shared.resources-config.schemas.d.ts +22 -19
- package/dist/esm/guidance/progression-state.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/guidance/progression-state.shared.resources-config.schemas.js +72 -7
- package/dist/esm/guidance/progression-state.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/guidance/progression-state.shared.schemas.d.ts +40 -10
- package/dist/esm/guidance/progression-state.shared.schemas.d.ts.map +1 -1
- package/dist/esm/guidance/progression-state.shared.schemas.js +16 -6
- package/dist/esm/guidance/progression-state.shared.schemas.js.map +1 -1
- package/dist/esm/http-api-binding/http-api-binding-id.shared.utils.d.ts +69 -0
- package/dist/esm/http-api-binding/http-api-binding-id.shared.utils.d.ts.map +1 -0
- package/dist/esm/http-api-binding/http-api-binding-id.shared.utils.js +232 -0
- package/dist/esm/http-api-binding/http-api-binding-id.shared.utils.js.map +1 -0
- package/dist/esm/http-api-binding/http-api-binding.shared.schemas.d.ts +566 -0
- package/dist/esm/http-api-binding/http-api-binding.shared.schemas.d.ts.map +1 -0
- package/dist/esm/http-api-binding/http-api-binding.shared.schemas.js +513 -0
- package/dist/esm/http-api-binding/http-api-binding.shared.schemas.js.map +1 -0
- package/dist/esm/i18n/interpolate-label-params.shared.utils.d.ts +52 -0
- package/dist/esm/i18n/interpolate-label-params.shared.utils.d.ts.map +1 -0
- package/dist/esm/i18n/interpolate-label-params.shared.utils.js +63 -0
- package/dist/esm/i18n/interpolate-label-params.shared.utils.js.map +1 -0
- package/dist/esm/i18n/labelling.dto.shared.schemas.d.ts +3 -3
- package/dist/esm/i18n/labelling.dto.shared.schemas.d.ts.map +1 -1
- package/dist/esm/i18n/labelling.dto.shared.schemas.js +1 -1
- package/dist/esm/i18n/labelling.dto.shared.schemas.js.map +1 -1
- package/dist/esm/index.d.ts +277 -200
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +122 -15
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/meta-workflows.exports.d.ts +51 -0
- package/dist/esm/meta-workflows.exports.d.ts.map +1 -0
- package/dist/esm/meta-workflows.exports.js +51 -0
- package/dist/esm/meta-workflows.exports.js.map +1 -0
- package/dist/esm/monitoring/monitoring.shared.schemas.d.ts +16 -16
- package/dist/esm/monitoring/monitoring.shared.schemas.d.ts.map +1 -1
- package/dist/esm/monitoring/monitoring.shared.schemas.js +1 -1
- package/dist/esm/monitoring/monitoring.shared.schemas.js.map +1 -1
- package/dist/esm/notifications/email/email-context.shared.schemas.d.ts +9 -9
- package/dist/esm/notifications/email/email-context.shared.schemas.d.ts.map +1 -1
- package/dist/esm/notifications/email/email-context.shared.schemas.js +8 -3
- package/dist/esm/notifications/email/email-context.shared.schemas.js.map +1 -1
- package/dist/esm/notifications/email/email-template-registry.shared.schemas.d.ts +33 -46
- package/dist/esm/notifications/email/email-template-registry.shared.schemas.d.ts.map +1 -1
- package/dist/esm/notifications/email/email-template-registry.shared.schemas.js +20 -140
- package/dist/esm/notifications/email/email-template-registry.shared.schemas.js.map +1 -1
- package/dist/esm/notifications/email/email-template.shared.enums.d.ts +145 -0
- package/dist/esm/notifications/email/email-template.shared.enums.d.ts.map +1 -0
- package/dist/esm/notifications/email/email-template.shared.enums.js +164 -0
- package/dist/esm/notifications/email/email-template.shared.enums.js.map +1 -0
- package/dist/esm/notifications/m2m/m2m-webhook-delivery-log.shared.resources-config.schemas.d.ts +43 -0
- package/dist/esm/notifications/m2m/m2m-webhook-delivery-log.shared.resources-config.schemas.d.ts.map +1 -0
- package/dist/esm/notifications/m2m/m2m-webhook-delivery-log.shared.resources-config.schemas.js +231 -0
- package/dist/esm/notifications/m2m/m2m-webhook-delivery-log.shared.resources-config.schemas.js.map +1 -0
- package/dist/esm/notifications/m2m/m2m-webhook-delivery-log.shared.schemas.d.ts +159 -0
- package/dist/esm/notifications/m2m/m2m-webhook-delivery-log.shared.schemas.d.ts.map +1 -0
- package/dist/esm/notifications/m2m/m2m-webhook-delivery-log.shared.schemas.js +191 -0
- package/dist/esm/notifications/m2m/m2m-webhook-delivery-log.shared.schemas.js.map +1 -0
- package/dist/esm/notifications/m2m/webhook-config.shared.resources-config.schemas.d.ts +62 -0
- package/dist/esm/notifications/m2m/webhook-config.shared.resources-config.schemas.d.ts.map +1 -0
- package/dist/esm/notifications/m2m/webhook-config.shared.resources-config.schemas.js +183 -0
- package/dist/esm/notifications/m2m/webhook-config.shared.resources-config.schemas.js.map +1 -0
- package/dist/esm/notifications/m2m/webhook-config.shared.schemas.d.ts +134 -0
- package/dist/esm/notifications/m2m/webhook-config.shared.schemas.d.ts.map +1 -0
- package/dist/esm/notifications/m2m/webhook-config.shared.schemas.js +159 -0
- package/dist/esm/notifications/m2m/webhook-config.shared.schemas.js.map +1 -0
- package/dist/esm/notifications/notification-badges.core.definitions.d.ts +10 -1
- package/dist/esm/notifications/notification-badges.core.definitions.d.ts.map +1 -1
- package/dist/esm/notifications/notification-badges.core.definitions.js +11 -13
- package/dist/esm/notifications/notification-badges.core.definitions.js.map +1 -1
- package/dist/esm/notifications/notification-badges.schemas.d.ts +147 -43
- package/dist/esm/notifications/notification-badges.schemas.d.ts.map +1 -1
- package/dist/esm/notifications/notification-badges.schemas.js +130 -23
- package/dist/esm/notifications/notification-badges.schemas.js.map +1 -1
- package/dist/esm/notifications/notification-badges.shared.resources-config.schemas.d.ts +40 -15
- package/dist/esm/notifications/notification-badges.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/notifications/notification-badges.shared.resources-config.schemas.js +149 -23
- package/dist/esm/notifications/notification-badges.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/notifications/notifications.shared.schemas.d.ts +352 -25
- package/dist/esm/notifications/notifications.shared.schemas.d.ts.map +1 -1
- package/dist/esm/notifications/notifications.shared.schemas.js +47 -2
- package/dist/esm/notifications/notifications.shared.schemas.js.map +1 -1
- package/dist/esm/organizations/organization-features.shared.resources-config.schemas.d.ts +21 -10
- package/dist/esm/organizations/organization-features.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/organizations/organization-features.shared.resources-config.schemas.js +54 -47
- package/dist/esm/organizations/organization-features.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/organizations/organization-features.shared.schemas.d.ts +10 -2
- package/dist/esm/organizations/organization-features.shared.schemas.d.ts.map +1 -1
- package/dist/esm/organizations/organization-features.shared.schemas.js +10 -2
- package/dist/esm/organizations/organization-features.shared.schemas.js.map +1 -1
- package/dist/esm/organizations/organization-members.shared.resources-config.schemas.d.ts +31 -17
- package/dist/esm/organizations/organization-members.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/organizations/organization-members.shared.resources-config.schemas.js +294 -54
- package/dist/esm/organizations/organization-members.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/organizations/organization-members.shared.schemas.d.ts +31 -41
- package/dist/esm/organizations/organization-members.shared.schemas.d.ts.map +1 -1
- package/dist/esm/organizations/organization-members.shared.schemas.js +181 -37
- package/dist/esm/organizations/organization-members.shared.schemas.js.map +1 -1
- package/dist/esm/organizations/organization-notifications.shared.resources-config.schemas.d.ts +8 -8
- package/dist/esm/organizations/organization-notifications.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/organizations/organization-notifications.shared.resources-config.schemas.js +43 -2
- package/dist/esm/organizations/organization-notifications.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/organizations/organization-notifications.shared.schemas.d.ts +25 -4
- package/dist/esm/organizations/organization-notifications.shared.schemas.d.ts.map +1 -1
- package/dist/esm/organizations/organization-notifications.shared.schemas.js +35 -15
- package/dist/esm/organizations/organization-notifications.shared.schemas.js.map +1 -1
- package/dist/esm/organizations/organization-preferences.shared.resources-config.schemas.d.ts +7 -7
- package/dist/esm/organizations/organization-preferences.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/organizations/organization-preferences.shared.resources-config.schemas.js +42 -3
- package/dist/esm/organizations/organization-preferences.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/organizations/organization-preferences.shared.schemas.d.ts +4 -4
- package/dist/esm/organizations/organization-preferences.shared.schemas.d.ts.map +1 -1
- package/dist/esm/organizations/organization-preferences.shared.schemas.js +17 -4
- package/dist/esm/organizations/organization-preferences.shared.schemas.js.map +1 -1
- package/dist/esm/organizations/organization-profile.shared.resources-config.schemas.d.ts +10 -10
- package/dist/esm/organizations/organization-profile.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/organizations/organization-profile.shared.resources-config.schemas.js +32 -2
- package/dist/esm/organizations/organization-profile.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/organizations/organization-profile.shared.schemas.d.ts +6 -6
- package/dist/esm/organizations/organization-profile.shared.schemas.d.ts.map +1 -1
- package/dist/esm/organizations/organization-profile.shared.schemas.js +28 -2
- package/dist/esm/organizations/organization-profile.shared.schemas.js.map +1 -1
- package/dist/esm/organizations/organization-unit-inheritance.shared.d.ts +94 -0
- package/dist/esm/organizations/organization-unit-inheritance.shared.d.ts.map +1 -0
- package/dist/esm/organizations/organization-unit-inheritance.shared.js +96 -0
- package/dist/esm/organizations/organization-unit-inheritance.shared.js.map +1 -0
- package/dist/esm/organizations/organization-unit-members.shared.resources-config.schemas.d.ts +30 -0
- package/dist/esm/organizations/organization-unit-members.shared.resources-config.schemas.d.ts.map +1 -0
- package/dist/esm/organizations/organization-unit-members.shared.resources-config.schemas.js +97 -0
- package/dist/esm/organizations/organization-unit-members.shared.resources-config.schemas.js.map +1 -0
- package/dist/esm/organizations/organization-unit-members.shared.schemas.d.ts +56 -0
- package/dist/esm/organizations/organization-unit-members.shared.schemas.d.ts.map +1 -0
- package/dist/esm/organizations/organization-unit-members.shared.schemas.js +92 -0
- package/dist/esm/organizations/organization-unit-members.shared.schemas.js.map +1 -0
- package/dist/esm/organizations/organization-unit-narrowing-decision.shared.d.ts +130 -0
- package/dist/esm/organizations/organization-unit-narrowing-decision.shared.d.ts.map +1 -0
- package/dist/esm/organizations/organization-unit-narrowing-decision.shared.js +139 -0
- package/dist/esm/organizations/organization-unit-narrowing-decision.shared.js.map +1 -0
- package/dist/esm/organizations/organization-unit-narrowing.example.d.ts +27 -0
- package/dist/esm/organizations/organization-unit-narrowing.example.d.ts.map +1 -0
- package/dist/esm/organizations/organization-unit-narrowing.example.js +29 -0
- package/dist/esm/organizations/organization-unit-narrowing.example.js.map +1 -0
- package/dist/esm/organizations/organization-unit-narrowing.shared.d.ts +137 -0
- package/dist/esm/organizations/organization-unit-narrowing.shared.d.ts.map +1 -0
- package/dist/esm/organizations/organization-unit-narrowing.shared.js +133 -0
- package/dist/esm/organizations/organization-unit-narrowing.shared.js.map +1 -0
- package/dist/esm/organizations/organization-units.shared.path.d.ts +103 -0
- package/dist/esm/organizations/organization-units.shared.path.d.ts.map +1 -0
- package/dist/esm/organizations/organization-units.shared.path.js +120 -0
- package/dist/esm/organizations/organization-units.shared.path.js.map +1 -0
- package/dist/esm/organizations/organization-units.shared.resources-config.schemas.d.ts +8 -8
- package/dist/esm/organizations/organization-units.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/organizations/organization-units.shared.resources-config.schemas.js +1 -1
- package/dist/esm/organizations/organization-units.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/organizations/organization-units.shared.schemas.d.ts +69 -8
- package/dist/esm/organizations/organization-units.shared.schemas.d.ts.map +1 -1
- package/dist/esm/organizations/organization-units.shared.schemas.js +89 -5
- package/dist/esm/organizations/organization-units.shared.schemas.js.map +1 -1
- package/dist/esm/organizations/organizations.shared.resources-config.schemas.d.ts +46 -11
- package/dist/esm/organizations/organizations.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/organizations/organizations.shared.resources-config.schemas.js +505 -34
- package/dist/esm/organizations/organizations.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/organizations/organizations.shared.schemas.d.ts +95 -39
- package/dist/esm/organizations/organizations.shared.schemas.d.ts.map +1 -1
- package/dist/esm/organizations/organizations.shared.schemas.js +228 -6
- package/dist/esm/organizations/organizations.shared.schemas.js.map +1 -1
- package/dist/esm/organizations/tenant-teardown-config.shared.schemas.d.ts +36 -0
- package/dist/esm/organizations/tenant-teardown-config.shared.schemas.d.ts.map +1 -0
- package/dist/esm/organizations/tenant-teardown-config.shared.schemas.js +66 -0
- package/dist/esm/organizations/tenant-teardown-config.shared.schemas.js.map +1 -0
- package/dist/esm/provider-registration-runtime.exports.d.ts +4 -0
- package/dist/esm/provider-registration-runtime.exports.d.ts.map +1 -0
- package/dist/esm/provider-registration-runtime.exports.js +4 -0
- package/dist/esm/provider-registration-runtime.exports.js.map +1 -0
- package/dist/esm/public-runtime/index.d.ts +164 -0
- package/dist/esm/public-runtime/index.d.ts.map +1 -0
- package/dist/esm/public-runtime/index.js +164 -0
- package/dist/esm/public-runtime/index.js.map +1 -0
- package/dist/esm/queue/jobs.shared.resources-config.schemas.d.ts +4 -4
- package/dist/esm/queue/jobs.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/queue/jobs.shared.resources-config.schemas.js +12 -1
- package/dist/esm/queue/jobs.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/queue/jobs.shared.schemas.d.ts +114 -42
- package/dist/esm/queue/jobs.shared.schemas.d.ts.map +1 -1
- package/dist/esm/queue/jobs.shared.schemas.js +114 -12
- package/dist/esm/queue/jobs.shared.schemas.js.map +1 -1
- package/dist/esm/queue/jobs.shared.utils.d.ts +3 -3
- package/dist/esm/queue/jobs.shared.utils.d.ts.map +1 -1
- package/dist/esm/queue/jobs.shared.utils.js +2 -2
- package/dist/esm/queue/jobs.shared.utils.js.map +1 -1
- package/dist/esm/queue/queues.shared.schemas.d.ts +17 -15
- package/dist/esm/queue/queues.shared.schemas.d.ts.map +1 -1
- package/dist/esm/queue/queues.shared.schemas.js +14 -5
- package/dist/esm/queue/queues.shared.schemas.js.map +1 -1
- package/dist/esm/queue/queues.shared.utils.d.ts +137 -6
- package/dist/esm/queue/queues.shared.utils.d.ts.map +1 -1
- package/dist/esm/queue/queues.shared.utils.js +161 -9
- package/dist/esm/queue/queues.shared.utils.js.map +1 -1
- package/dist/esm/queue/rabbitmq-queue-args.shared.d.ts.map +1 -1
- package/dist/esm/queue/rabbitmq-queue-args.shared.js +1 -1
- package/dist/esm/queue/rabbitmq-queue-args.shared.js.map +1 -1
- package/dist/esm/requests/header-keys.shared.d.ts +23 -1
- package/dist/esm/requests/header-keys.shared.d.ts.map +1 -1
- package/dist/esm/requests/header-keys.shared.js +45 -2
- package/dist/esm/requests/header-keys.shared.js.map +1 -1
- package/dist/esm/requests/http-requests.shared.d.ts +1 -0
- package/dist/esm/requests/http-requests.shared.d.ts.map +1 -1
- package/dist/esm/requests/http-requests.shared.js +2 -1
- package/dist/esm/requests/http-requests.shared.js.map +1 -1
- package/dist/esm/requests/manual-controllers-routes-urls.d.ts +189 -5
- package/dist/esm/requests/manual-controllers-routes-urls.d.ts.map +1 -1
- package/dist/esm/requests/manual-controllers-routes-urls.js +255 -6
- package/dist/esm/requests/manual-controllers-routes-urls.js.map +1 -1
- package/dist/esm/requests/rate-limits.shared.schemas.d.ts +75 -24
- package/dist/esm/requests/rate-limits.shared.schemas.d.ts.map +1 -1
- package/dist/esm/requests/rate-limits.shared.schemas.js +80 -18
- package/dist/esm/requests/rate-limits.shared.schemas.js.map +1 -1
- package/dist/esm/requests/websocket.shared.schemas.d.ts +248 -120
- package/dist/esm/requests/websocket.shared.schemas.d.ts.map +1 -1
- package/dist/esm/requests/websocket.shared.schemas.js +92 -2
- package/dist/esm/requests/websocket.shared.schemas.js.map +1 -1
- package/dist/esm/resources/child-operations.shared.schemas.d.ts +128 -23
- package/dist/esm/resources/child-operations.shared.schemas.d.ts.map +1 -1
- package/dist/esm/resources/child-operations.shared.schemas.js +147 -11
- package/dist/esm/resources/child-operations.shared.schemas.js.map +1 -1
- package/dist/esm/resources/context-policy.shared.schemas.d.ts +4 -4
- package/dist/esm/resources/context-policy.shared.schemas.d.ts.map +1 -1
- package/dist/esm/resources/context-policy.shared.schemas.js +1 -1
- package/dist/esm/resources/context-policy.shared.schemas.js.map +1 -1
- package/dist/esm/resources/relationship-display.shared.schemas.d.ts +31 -1352
- package/dist/esm/resources/relationship-display.shared.schemas.d.ts.map +1 -1
- package/dist/esm/resources/relationship-display.shared.schemas.js +13 -161
- package/dist/esm/resources/relationship-display.shared.schemas.js.map +1 -1
- package/dist/esm/resources/resources-config.shared.factory.d.ts +60 -5
- package/dist/esm/resources/resources-config.shared.factory.d.ts.map +1 -1
- package/dist/esm/resources/resources-config.shared.factory.js +1507 -87
- package/dist/esm/resources/resources-config.shared.factory.js.map +1 -1
- package/dist/esm/resources/resources-config.shared.schemas.d.ts +1638 -43
- package/dist/esm/resources/resources-config.shared.schemas.d.ts.map +1 -1
- package/dist/esm/resources/resources-config.shared.schemas.js +478 -13
- package/dist/esm/resources/resources-config.shared.schemas.js.map +1 -1
- package/dist/esm/resources/resources-registry.shared.core.definitions.d.ts +3 -3
- package/dist/esm/resources/resources-registry.shared.core.definitions.d.ts.map +1 -1
- package/dist/esm/resources/resources-registry.shared.core.definitions.js +782 -96
- package/dist/esm/resources/resources-registry.shared.core.definitions.js.map +1 -1
- package/dist/esm/resources/resources-relationships.shared.factory.d.ts +37 -7
- package/dist/esm/resources/resources-relationships.shared.factory.d.ts.map +1 -1
- package/dist/esm/resources/resources-relationships.shared.factory.js +76 -24
- package/dist/esm/resources/resources-relationships.shared.factory.js.map +1 -1
- package/dist/esm/resources/resources-serialization.shared.schemas.d.ts +19 -19
- package/dist/esm/resources/resources-serialization.shared.schemas.d.ts.map +1 -1
- package/dist/esm/resources/resources-serialization.shared.schemas.js +1 -1
- package/dist/esm/resources/resources-serialization.shared.schemas.js.map +1 -1
- package/dist/esm/resources/resources.shared.core.definitions.d.ts +84 -8
- package/dist/esm/resources/resources.shared.core.definitions.d.ts.map +1 -1
- package/dist/esm/resources/resources.shared.core.definitions.js +165 -19
- package/dist/esm/resources/resources.shared.core.definitions.js.map +1 -1
- package/dist/esm/resources/resources.shared.schemas.d.ts +582 -602
- package/dist/esm/resources/resources.shared.schemas.d.ts.map +1 -1
- package/dist/esm/resources/resources.shared.schemas.js +581 -5
- package/dist/esm/resources/resources.shared.schemas.js.map +1 -1
- package/dist/esm/resources/resources.shared.utils.d.ts +363 -15
- package/dist/esm/resources/resources.shared.utils.d.ts.map +1 -1
- package/dist/esm/resources/resources.shared.utils.js +569 -16
- package/dist/esm/resources/resources.shared.utils.js.map +1 -1
- package/dist/esm/resources/utils/collection-export.shared.utils.d.ts +65 -0
- package/dist/esm/resources/utils/collection-export.shared.utils.d.ts.map +1 -0
- package/dist/esm/resources/utils/collection-export.shared.utils.js +150 -0
- package/dist/esm/resources/utils/collection-export.shared.utils.js.map +1 -0
- package/dist/esm/resources/utils/composition-cascade-deletability.validation.d.ts +134 -0
- package/dist/esm/resources/utils/composition-cascade-deletability.validation.d.ts.map +1 -0
- package/dist/esm/resources/utils/composition-cascade-deletability.validation.js +167 -0
- package/dist/esm/resources/utils/composition-cascade-deletability.validation.js.map +1 -0
- package/dist/esm/resources/utils/composition-seedability.validation.d.ts +63 -0
- package/dist/esm/resources/utils/composition-seedability.validation.d.ts.map +1 -0
- package/dist/esm/resources/utils/composition-seedability.validation.js +75 -0
- package/dist/esm/resources/utils/composition-seedability.validation.js.map +1 -0
- package/dist/esm/resources/utils/context-addressed-composition-singleton.shared.utils.d.ts +10 -0
- package/dist/esm/resources/utils/context-addressed-composition-singleton.shared.utils.d.ts.map +1 -0
- package/dist/esm/resources/utils/context-addressed-composition-singleton.shared.utils.js +25 -0
- package/dist/esm/resources/utils/context-addressed-composition-singleton.shared.utils.js.map +1 -0
- package/dist/esm/resources/utils/duplicate-relationship-registration.validation.d.ts +111 -0
- package/dist/esm/resources/utils/duplicate-relationship-registration.validation.d.ts.map +1 -0
- package/dist/esm/resources/utils/duplicate-relationship-registration.validation.js +109 -0
- package/dist/esm/resources/utils/duplicate-relationship-registration.validation.js.map +1 -0
- package/dist/esm/resources/utils/persistence-adapter-discrimination.shared.utils.d.ts +52 -0
- package/dist/esm/resources/utils/persistence-adapter-discrimination.shared.utils.d.ts.map +1 -0
- package/dist/esm/resources/utils/persistence-adapter-discrimination.shared.utils.js +57 -0
- package/dist/esm/resources/utils/persistence-adapter-discrimination.shared.utils.js.map +1 -0
- package/dist/esm/resources/utils/repository-dto-builder.utils.d.ts.map +1 -1
- package/dist/esm/resources/utils/repository-dto-builder.utils.js +1 -1
- package/dist/esm/resources/utils/repository-dto-builder.utils.js.map +1 -1
- package/dist/esm/resources/utils/required-fk-fillability.validation.d.ts +108 -0
- package/dist/esm/resources/utils/required-fk-fillability.validation.d.ts.map +1 -0
- package/dist/esm/resources/utils/required-fk-fillability.validation.js +186 -0
- package/dist/esm/resources/utils/required-fk-fillability.validation.js.map +1 -0
- package/dist/esm/resources/utils/resource-operation-type-guards.utils.d.ts +107 -3
- package/dist/esm/resources/utils/resource-operation-type-guards.utils.d.ts.map +1 -1
- package/dist/esm/resources/utils/resource-operation-type-guards.utils.js +133 -2
- package/dist/esm/resources/utils/resource-operation-type-guards.utils.js.map +1 -1
- package/dist/esm/resources/utils/resource-polymorphism.factory.d.ts +39 -31
- package/dist/esm/resources/utils/resource-polymorphism.factory.d.ts.map +1 -1
- package/dist/esm/resources/utils/resource-polymorphism.factory.js +9 -9
- package/dist/esm/resources/utils/resource-polymorphism.factory.js.map +1 -1
- package/dist/esm/resources/utils/resource-polymorphism.relationships.d.ts +7 -7
- package/dist/esm/resources/utils/resource-polymorphism.relationships.d.ts.map +1 -1
- package/dist/esm/resources/utils/resource-polymorphism.relationships.js +1 -1
- package/dist/esm/resources/utils/resource-polymorphism.relationships.js.map +1 -1
- package/dist/esm/resources/utils/resource-polymorphism.schemas.d.ts +139 -5
- package/dist/esm/resources/utils/resource-polymorphism.schemas.d.ts.map +1 -1
- package/dist/esm/resources/utils/resource-polymorphism.schemas.js +301 -3
- package/dist/esm/resources/utils/resource-polymorphism.schemas.js.map +1 -1
- package/dist/esm/resources/utils/resource-polymorphism.utils.d.ts +1 -1
- package/dist/esm/resources/utils/resource-polymorphism.utils.d.ts.map +1 -1
- package/dist/esm/resources/utils/resource-polymorphism.utils.js +1 -1
- package/dist/esm/resources/utils/resource-polymorphism.utils.js.map +1 -1
- package/dist/esm/resources/utils/resource-subtree.utils.d.ts +1 -1
- package/dist/esm/resources/utils/resource-subtree.utils.d.ts.map +1 -1
- package/dist/esm/resources/utils/resource-subtree.utils.js +1 -1
- package/dist/esm/resources/utils/resource-subtree.utils.js.map +1 -1
- package/dist/esm/resources/utils/resources-config-context-needs.utils.d.ts +1 -1
- package/dist/esm/resources/utils/resources-config-context-needs.utils.d.ts.map +1 -1
- package/dist/esm/resources/utils/resources-config-context-needs.utils.js +1 -1
- package/dist/esm/resources/utils/resources-config-context-needs.utils.js.map +1 -1
- package/dist/esm/resources/utils/resources-config-naming.utils.d.ts.map +1 -1
- package/dist/esm/resources/utils/resources-config-naming.utils.js +1 -1
- package/dist/esm/resources/utils/resources-config-naming.utils.js.map +1 -1
- package/dist/esm/resources/utils/resources-config-operations.dtos-builder.utils.d.ts +256 -39
- package/dist/esm/resources/utils/resources-config-operations.dtos-builder.utils.d.ts.map +1 -1
- package/dist/esm/resources/utils/resources-config-operations.dtos-builder.utils.js +898 -233
- package/dist/esm/resources/utils/resources-config-operations.dtos-builder.utils.js.map +1 -1
- package/dist/esm/resources/utils/resources-config-operations.path.utils.d.ts +16 -6
- package/dist/esm/resources/utils/resources-config-operations.path.utils.d.ts.map +1 -1
- package/dist/esm/resources/utils/resources-config-operations.path.utils.js +35 -10
- package/dist/esm/resources/utils/resources-config-operations.path.utils.js.map +1 -1
- package/dist/esm/resources/utils/resources-config-operations.urls-builder.utils.d.ts +120 -20
- package/dist/esm/resources/utils/resources-config-operations.urls-builder.utils.d.ts.map +1 -1
- package/dist/esm/resources/utils/resources-config-operations.urls-builder.utils.js +394 -81
- package/dist/esm/resources/utils/resources-config-operations.urls-builder.utils.js.map +1 -1
- package/dist/esm/resources/utils/resources-config-operations.utils.d.ts +2 -2
- package/dist/esm/resources/utils/resources-config-operations.utils.d.ts.map +1 -1
- package/dist/esm/resources/utils/resources-config-operations.utils.js +1 -1
- package/dist/esm/resources/utils/resources-config-operations.utils.js.map +1 -1
- package/dist/esm/resources/utils/resources-serialization.utils.d.ts +77 -2
- package/dist/esm/resources/utils/resources-serialization.utils.d.ts.map +1 -1
- package/dist/esm/resources/utils/resources-serialization.utils.js +80 -1
- package/dist/esm/resources/utils/resources-serialization.utils.js.map +1 -1
- package/dist/esm/resources/utils/resources-summary.utils.d.ts +1 -1
- package/dist/esm/resources/utils/resources-summary.utils.d.ts.map +1 -1
- package/dist/esm/resources/utils/resources-summary.utils.js +1 -1
- package/dist/esm/resources/utils/resources-summary.utils.js.map +1 -1
- package/dist/esm/resources/utils/schema-family-builder.utils.d.ts +21 -3
- package/dist/esm/resources/utils/schema-family-builder.utils.d.ts.map +1 -1
- package/dist/esm/resources/utils/schema-family-builder.utils.js +7 -1
- package/dist/esm/resources/utils/schema-family-builder.utils.js.map +1 -1
- package/dist/esm/resources/utils/schema-type-inference.utils.d.ts.map +1 -1
- package/dist/esm/resources/utils/schema-type-inference.utils.js +1 -1
- package/dist/esm/resources/utils/schema-type-inference.utils.js.map +1 -1
- package/dist/esm/resources/utils/schema-type-utils.d.ts +1 -1
- package/dist/esm/resources/utils/schema-type-utils.d.ts.map +1 -1
- package/dist/esm/resources/utils/schema-type-utils.js +1 -1
- package/dist/esm/resources/utils/schema-type-utils.js.map +1 -1
- package/dist/esm/resources/utils/schema-variant-resolver.utils.d.ts +1 -1
- package/dist/esm/resources/utils/schema-variant-resolver.utils.d.ts.map +1 -1
- package/dist/esm/resources/utils/schema-variant-resolver.utils.js +1 -1
- package/dist/esm/resources/utils/schema-variant-resolver.utils.js.map +1 -1
- package/dist/esm/resources/utils/shared-persistence-collection.utils.d.ts +203 -0
- package/dist/esm/resources/utils/shared-persistence-collection.utils.d.ts.map +1 -0
- package/dist/esm/resources/utils/shared-persistence-collection.utils.js +284 -0
- package/dist/esm/resources/utils/shared-persistence-collection.utils.js.map +1 -0
- package/dist/esm/resources/utils/templatable-file-fields.shared.utils.d.ts +25 -0
- package/dist/esm/resources/utils/templatable-file-fields.shared.utils.d.ts.map +1 -0
- package/dist/esm/resources/utils/templatable-file-fields.shared.utils.js +322 -0
- package/dist/esm/resources/utils/templatable-file-fields.shared.utils.js.map +1 -0
- package/dist/esm/runtime/domain-module.shared.definitions.d.ts +32 -10
- package/dist/esm/runtime/domain-module.shared.definitions.d.ts.map +1 -1
- package/dist/esm/runtime/domain-module.shared.definitions.js +3 -2
- package/dist/esm/runtime/domain-module.shared.definitions.js.map +1 -1
- package/dist/esm/runtime/execution-context.shared.schemas.d.ts +93 -9
- package/dist/esm/runtime/execution-context.shared.schemas.d.ts.map +1 -1
- package/dist/esm/runtime/execution-context.shared.schemas.js +122 -7
- package/dist/esm/runtime/execution-context.shared.schemas.js.map +1 -1
- package/dist/esm/runtime/runtime.shared.schemas.d.ts.map +1 -1
- package/dist/esm/runtime/runtime.shared.schemas.js +1 -1
- package/dist/esm/runtime/runtime.shared.schemas.js.map +1 -1
- package/dist/esm/security/api-keys/api-keys-application.shared.resources-config.schemas.d.ts +14 -11
- package/dist/esm/security/api-keys/api-keys-application.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/security/api-keys/api-keys-application.shared.resources-config.schemas.js +65 -2
- package/dist/esm/security/api-keys/api-keys-application.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/security/api-keys/api-keys-organization.shared.resources-config.schemas.d.ts +14 -11
- package/dist/esm/security/api-keys/api-keys-organization.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/security/api-keys/api-keys-organization.shared.resources-config.schemas.js +162 -1
- package/dist/esm/security/api-keys/api-keys-organization.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/security/api-keys/api-keys.shared.schemas.d.ts +79 -29
- package/dist/esm/security/api-keys/api-keys.shared.schemas.d.ts.map +1 -1
- package/dist/esm/security/api-keys/api-keys.shared.schemas.js +87 -6
- package/dist/esm/security/api-keys/api-keys.shared.schemas.js.map +1 -1
- package/dist/esm/security/authentications/anonymous-session/anonymous-session.shared.contract.d.ts +185 -0
- package/dist/esm/security/authentications/anonymous-session/anonymous-session.shared.contract.d.ts.map +1 -0
- package/dist/esm/security/authentications/anonymous-session/anonymous-session.shared.contract.js +198 -0
- package/dist/esm/security/authentications/anonymous-session/anonymous-session.shared.contract.js.map +1 -0
- package/dist/esm/security/authentications/authentication.shared.dto.schemas.d.ts +307 -149
- package/dist/esm/security/authentications/authentication.shared.dto.schemas.d.ts.map +1 -1
- package/dist/esm/security/authentications/authentication.shared.dto.schemas.js +177 -27
- package/dist/esm/security/authentications/authentication.shared.dto.schemas.js.map +1 -1
- package/dist/esm/security/authentications/authentication.shared.schemas.d.ts +64 -8
- package/dist/esm/security/authentications/authentication.shared.schemas.d.ts.map +1 -1
- package/dist/esm/security/authentications/authentication.shared.schemas.js +56 -9
- package/dist/esm/security/authentications/authentication.shared.schemas.js.map +1 -1
- package/dist/esm/security/authentications/authentication.shared.utils.d.ts +3 -3
- package/dist/esm/security/authentications/authentication.shared.utils.d.ts.map +1 -1
- package/dist/esm/security/authentications/authentication.shared.utils.js +1 -1
- package/dist/esm/security/authentications/authentication.shared.utils.js.map +1 -1
- package/dist/esm/security/authentications/consumable-token.shared.schemas.d.ts +103 -5
- package/dist/esm/security/authentications/consumable-token.shared.schemas.d.ts.map +1 -1
- package/dist/esm/security/authentications/consumable-token.shared.schemas.js +31 -1
- package/dist/esm/security/authentications/consumable-token.shared.schemas.js.map +1 -1
- package/dist/esm/security/authentications/cross-frontend-handoff.shared.dto.schemas.d.ts +278 -0
- package/dist/esm/security/authentications/cross-frontend-handoff.shared.dto.schemas.d.ts.map +1 -0
- package/dist/esm/security/authentications/cross-frontend-handoff.shared.dto.schemas.js +335 -0
- package/dist/esm/security/authentications/cross-frontend-handoff.shared.dto.schemas.js.map +1 -0
- package/dist/esm/security/authentications/password-reset.shared.dto.schemas.d.ts +6 -6
- package/dist/esm/security/authentications/password-reset.shared.dto.schemas.d.ts.map +1 -1
- package/dist/esm/security/authentications/password-reset.shared.dto.schemas.js +11 -4
- package/dist/esm/security/authentications/password-reset.shared.dto.schemas.js.map +1 -1
- package/dist/esm/security/authentications/registration.shared.dto.schemas.d.ts +51 -18
- package/dist/esm/security/authentications/registration.shared.dto.schemas.d.ts.map +1 -1
- package/dist/esm/security/authentications/registration.shared.dto.schemas.js +70 -13
- package/dist/esm/security/authentications/registration.shared.dto.schemas.js.map +1 -1
- package/dist/esm/security/authentications/same-origin-redirect-path.shared.d.ts +69 -0
- package/dist/esm/security/authentications/same-origin-redirect-path.shared.d.ts.map +1 -0
- package/dist/esm/security/authentications/same-origin-redirect-path.shared.js +93 -0
- package/dist/esm/security/authentications/same-origin-redirect-path.shared.js.map +1 -0
- package/dist/esm/security/authentications/scim/scim-organization-unit-mapping.shared.d.ts +91 -0
- package/dist/esm/security/authentications/scim/scim-organization-unit-mapping.shared.d.ts.map +1 -0
- package/dist/esm/security/authentications/scim/scim-organization-unit-mapping.shared.js +91 -0
- package/dist/esm/security/authentications/scim/scim-organization-unit-mapping.shared.js.map +1 -0
- package/dist/esm/security/authentications/scim/scim-provisioning-config.shared.resources-config.schemas.d.ts +2 -9
- package/dist/esm/security/authentications/scim/scim-provisioning-config.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/security/authentications/scim/scim-provisioning-config.shared.resources-config.schemas.js +49 -33
- package/dist/esm/security/authentications/scim/scim-provisioning-config.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/security/authentications/scim/scim-provisioning-config.shared.schemas.d.ts +41 -14
- package/dist/esm/security/authentications/scim/scim-provisioning-config.shared.schemas.d.ts.map +1 -1
- package/dist/esm/security/authentications/scim/scim-provisioning-config.shared.schemas.js +158 -5
- package/dist/esm/security/authentications/scim/scim-provisioning-config.shared.schemas.js.map +1 -1
- package/dist/esm/security/authentications/scim/scim-tokens.shared.resources-config.schemas.d.ts +21 -9
- package/dist/esm/security/authentications/scim/scim-tokens.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/security/authentications/scim/scim-tokens.shared.resources-config.schemas.js +92 -18
- package/dist/esm/security/authentications/scim/scim-tokens.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/security/authentications/scim/scim-tokens.shared.schemas.d.ts +11 -10
- package/dist/esm/security/authentications/scim/scim-tokens.shared.schemas.d.ts.map +1 -1
- package/dist/esm/security/authentications/scim/scim-tokens.shared.schemas.js +29 -7
- package/dist/esm/security/authentications/scim/scim-tokens.shared.schemas.js.map +1 -1
- package/dist/esm/security/authentications/siem/siem-delivery-dlq.shared.resources-config.schemas.d.ts +12 -5
- package/dist/esm/security/authentications/siem/siem-delivery-dlq.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/security/authentications/siem/siem-delivery-dlq.shared.resources-config.schemas.js +81 -5
- package/dist/esm/security/authentications/siem/siem-delivery-dlq.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/security/authentications/siem/siem-delivery-dlq.shared.schemas.d.ts +17 -5
- package/dist/esm/security/authentications/siem/siem-delivery-dlq.shared.schemas.d.ts.map +1 -1
- package/dist/esm/security/authentications/siem/siem-delivery-dlq.shared.schemas.js +29 -5
- package/dist/esm/security/authentications/siem/siem-delivery-dlq.shared.schemas.js.map +1 -1
- package/dist/esm/security/authentications/siem/siem-export-config.shared.resources-config.schemas.d.ts +2 -9
- package/dist/esm/security/authentications/siem/siem-export-config.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/security/authentications/siem/siem-export-config.shared.resources-config.schemas.js +46 -33
- package/dist/esm/security/authentications/siem/siem-export-config.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/security/authentications/siem/siem-export-config.shared.schemas.d.ts +34 -9
- package/dist/esm/security/authentications/siem/siem-export-config.shared.schemas.d.ts.map +1 -1
- package/dist/esm/security/authentications/siem/siem-export-config.shared.schemas.js +47 -3
- package/dist/esm/security/authentications/siem/siem-export-config.shared.schemas.js.map +1 -1
- package/dist/esm/security/authentications/sso/sso-config.shared.resources-config.schemas.d.ts +2 -17
- package/dist/esm/security/authentications/sso/sso-config.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/security/authentications/sso/sso-config.shared.resources-config.schemas.js +55 -53
- package/dist/esm/security/authentications/sso/sso-config.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/security/authentications/sso/sso-config.shared.schemas.d.ts +37 -37
- package/dist/esm/security/authentications/sso/sso-config.shared.schemas.d.ts.map +1 -1
- package/dist/esm/security/authentications/sso/sso-config.shared.schemas.js +53 -13
- package/dist/esm/security/authentications/sso/sso-config.shared.schemas.js.map +1 -1
- package/dist/esm/security/authentications/sso/sso-connection.shared.resources-config.schemas.d.ts +79 -7
- package/dist/esm/security/authentications/sso/sso-connection.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/security/authentications/sso/sso-connection.shared.resources-config.schemas.js +157 -14
- package/dist/esm/security/authentications/sso/sso-connection.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/security/authentications/sso/sso-connection.shared.schemas.d.ts +113 -118
- package/dist/esm/security/authentications/sso/sso-connection.shared.schemas.d.ts.map +1 -1
- package/dist/esm/security/authentications/sso/sso-connection.shared.schemas.js +111 -49
- package/dist/esm/security/authentications/sso/sso-connection.shared.schemas.js.map +1 -1
- package/dist/esm/security/authorizations/administrative-continuity.shared.schemas.d.ts +57 -0
- package/dist/esm/security/authorizations/administrative-continuity.shared.schemas.d.ts.map +1 -0
- package/dist/esm/security/authorizations/administrative-continuity.shared.schemas.js +58 -0
- package/dist/esm/security/authorizations/administrative-continuity.shared.schemas.js.map +1 -0
- package/dist/esm/security/authorizations/platform-access-grants.shared.resources-config.schemas.d.ts +35 -0
- package/dist/esm/security/authorizations/platform-access-grants.shared.resources-config.schemas.d.ts.map +1 -0
- package/dist/esm/security/authorizations/platform-access-grants.shared.resources-config.schemas.js +252 -0
- package/dist/esm/security/authorizations/platform-access-grants.shared.resources-config.schemas.js.map +1 -0
- package/dist/esm/security/authorizations/platform-access-grants.shared.schemas.d.ts +171 -0
- package/dist/esm/security/authorizations/platform-access-grants.shared.schemas.d.ts.map +1 -0
- package/dist/esm/security/authorizations/platform-access-grants.shared.schemas.js +239 -0
- package/dist/esm/security/authorizations/platform-access-grants.shared.schemas.js.map +1 -0
- package/dist/esm/security/authorizations/roles.shared.defaults.d.ts +1 -1
- package/dist/esm/security/authorizations/roles.shared.defaults.d.ts.map +1 -1
- package/dist/esm/security/authorizations/roles.shared.defaults.js +6 -1
- package/dist/esm/security/authorizations/roles.shared.defaults.js.map +1 -1
- package/dist/esm/security/authorizations/roles.shared.schemas.d.ts +12 -3
- package/dist/esm/security/authorizations/roles.shared.schemas.d.ts.map +1 -1
- package/dist/esm/security/authorizations/roles.shared.schemas.js +15 -1
- package/dist/esm/security/authorizations/roles.shared.schemas.js.map +1 -1
- package/dist/esm/security/authorizations/roles.shared.utils.d.ts +133 -0
- package/dist/esm/security/authorizations/roles.shared.utils.d.ts.map +1 -0
- package/dist/esm/security/authorizations/roles.shared.utils.js +218 -0
- package/dist/esm/security/authorizations/roles.shared.utils.js.map +1 -0
- package/dist/esm/security/crypto-keys/crypto-keys.shared.schemas.d.ts.map +1 -1
- package/dist/esm/security/crypto-keys/crypto-keys.shared.schemas.js +1 -1
- package/dist/esm/security/crypto-keys/crypto-keys.shared.schemas.js.map +1 -1
- package/dist/esm/security/oauth-clients/oauth-clients-application.shared.resources-config.schemas.d.ts +47 -0
- package/dist/esm/security/oauth-clients/oauth-clients-application.shared.resources-config.schemas.d.ts.map +1 -0
- package/dist/esm/security/oauth-clients/oauth-clients-application.shared.resources-config.schemas.js +228 -0
- package/dist/esm/security/oauth-clients/oauth-clients-application.shared.resources-config.schemas.js.map +1 -0
- package/dist/esm/security/oauth-clients/oauth-clients-organization.shared.resources-config.schemas.d.ts +46 -0
- package/dist/esm/security/oauth-clients/oauth-clients-organization.shared.resources-config.schemas.d.ts.map +1 -0
- package/dist/esm/security/oauth-clients/oauth-clients-organization.shared.resources-config.schemas.js +365 -0
- package/dist/esm/security/oauth-clients/oauth-clients-organization.shared.resources-config.schemas.js.map +1 -0
- package/dist/esm/security/oauth-clients/oauth-clients.shared.schemas.d.ts +192 -0
- package/dist/esm/security/oauth-clients/oauth-clients.shared.schemas.d.ts.map +1 -0
- package/dist/esm/security/oauth-clients/oauth-clients.shared.schemas.js +401 -0
- package/dist/esm/security/oauth-clients/oauth-clients.shared.schemas.js.map +1 -0
- package/dist/esm/security/oauth-clients/oauth-consent-grants.shared.resources-config.schemas.d.ts +30 -0
- package/dist/esm/security/oauth-clients/oauth-consent-grants.shared.resources-config.schemas.d.ts.map +1 -0
- package/dist/esm/security/oauth-clients/oauth-consent-grants.shared.resources-config.schemas.js +83 -0
- package/dist/esm/security/oauth-clients/oauth-consent-grants.shared.resources-config.schemas.js.map +1 -0
- package/dist/esm/security/oauth-clients/oauth-consent-grants.shared.schemas.d.ts +29 -0
- package/dist/esm/security/oauth-clients/oauth-consent-grants.shared.schemas.d.ts.map +1 -0
- package/dist/esm/security/oauth-clients/oauth-consent-grants.shared.schemas.js +53 -0
- package/dist/esm/security/oauth-clients/oauth-consent-grants.shared.schemas.js.map +1 -0
- package/dist/esm/security/oauth-clients/oauth-resource-server.shared.schemas.d.ts +117 -0
- package/dist/esm/security/oauth-clients/oauth-resource-server.shared.schemas.d.ts.map +1 -0
- package/dist/esm/security/oauth-clients/oauth-resource-server.shared.schemas.js +180 -0
- package/dist/esm/security/oauth-clients/oauth-resource-server.shared.schemas.js.map +1 -0
- package/dist/esm/testing/resource-config-builders.d.ts +4 -4
- package/dist/esm/testing/resource-config-builders.d.ts.map +1 -1
- package/dist/esm/testing/resource-config-builders.js +9 -2
- package/dist/esm/testing/resource-config-builders.js.map +1 -1
- package/dist/esm/testing.d.ts +1 -1
- package/dist/esm/testing.d.ts.map +1 -1
- package/dist/esm/testing.js +1 -1
- package/dist/esm/testing.js.map +1 -1
- package/dist/esm/users/anonymous-user-marketing-metadata.shared.schemas.d.ts +76 -0
- package/dist/esm/users/anonymous-user-marketing-metadata.shared.schemas.d.ts.map +1 -0
- package/dist/esm/users/anonymous-user-marketing-metadata.shared.schemas.js +72 -0
- package/dist/esm/users/anonymous-user-marketing-metadata.shared.schemas.js.map +1 -0
- package/dist/esm/users/anonymous-users.shared.resources-config.schemas.d.ts +28 -17
- package/dist/esm/users/anonymous-users.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/users/anonymous-users.shared.resources-config.schemas.js +43 -4
- package/dist/esm/users/anonymous-users.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/users/anonymous-users.shared.schema.d.ts +19 -12
- package/dist/esm/users/anonymous-users.shared.schema.d.ts.map +1 -1
- package/dist/esm/users/anonymous-users.shared.schema.js +68 -4
- package/dist/esm/users/anonymous-users.shared.schema.js.map +1 -1
- package/dist/esm/users/inbound-contacts.shared.resources-config.schemas.d.ts +52 -0
- package/dist/esm/users/inbound-contacts.shared.resources-config.schemas.d.ts.map +1 -0
- package/dist/esm/users/inbound-contacts.shared.resources-config.schemas.js +153 -0
- package/dist/esm/users/inbound-contacts.shared.resources-config.schemas.js.map +1 -0
- package/dist/esm/users/inbound-contacts.shared.schemas.d.ts +47 -17
- package/dist/esm/users/inbound-contacts.shared.schemas.d.ts.map +1 -1
- package/dist/esm/users/inbound-contacts.shared.schemas.js +123 -9
- package/dist/esm/users/inbound-contacts.shared.schemas.js.map +1 -1
- package/dist/esm/users/user-credentials.shared.resources-config.schemas.d.ts +12 -12
- package/dist/esm/users/user-credentials.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/users/user-credentials.shared.resources-config.schemas.js +11 -1
- package/dist/esm/users/user-credentials.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/users/user-credentials.shared.schemas.d.ts +15 -10
- package/dist/esm/users/user-credentials.shared.schemas.d.ts.map +1 -1
- package/dist/esm/users/user-credentials.shared.schemas.js +53 -9
- package/dist/esm/users/user-credentials.shared.schemas.js.map +1 -1
- package/dist/esm/users/user-identity-links.shared.resources-config.schemas.d.ts +13 -11
- package/dist/esm/users/user-identity-links.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/users/user-identity-links.shared.resources-config.schemas.js +24 -1
- package/dist/esm/users/user-identity-links.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/users/user-identity-links.shared.schemas.d.ts +22 -19
- package/dist/esm/users/user-identity-links.shared.schemas.d.ts.map +1 -1
- package/dist/esm/users/user-identity-links.shared.schemas.js +107 -23
- package/dist/esm/users/user-identity-links.shared.schemas.js.map +1 -1
- package/dist/esm/users/user-preferences-reset.shared.utils.d.ts +78 -0
- package/dist/esm/users/user-preferences-reset.shared.utils.d.ts.map +1 -0
- package/dist/esm/users/user-preferences-reset.shared.utils.js +98 -0
- package/dist/esm/users/user-preferences-reset.shared.utils.js.map +1 -0
- package/dist/esm/users/user-preferences.shared.resources-config.schemas.d.ts +31 -61
- package/dist/esm/users/user-preferences.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/users/user-preferences.shared.resources-config.schemas.js +34 -203
- package/dist/esm/users/user-preferences.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/users/user-profiles.shared.resources-config.schemas.d.ts +13 -14
- package/dist/esm/users/user-profiles.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/users/user-profiles.shared.resources-config.schemas.js +66 -31
- package/dist/esm/users/user-profiles.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/users/user-self-preferences.shared.resources-config.schemas.d.ts +33 -60
- package/dist/esm/users/user-self-preferences.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/users/user-self-preferences.shared.resources-config.schemas.js +49 -175
- package/dist/esm/users/user-self-preferences.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/users/user-self-profiles.shared.resources-config.schemas.d.ts +13 -21
- package/dist/esm/users/user-self-profiles.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/users/user-self-profiles.shared.resources-config.schemas.js +12 -119
- package/dist/esm/users/user-self-profiles.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/users/user-self.shared.resources-config.schemas.d.ts +12 -16
- package/dist/esm/users/user-self.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/users/user-self.shared.resources-config.schemas.js +263 -115
- package/dist/esm/users/user-self.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/users/users.shared.resources-config.schemas.d.ts +13 -16
- package/dist/esm/users/users.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/users/users.shared.resources-config.schemas.js +376 -141
- package/dist/esm/users/users.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/users/users.shared.schemas.d.ts +110 -108
- package/dist/esm/users/users.shared.schemas.d.ts.map +1 -1
- package/dist/esm/users/users.shared.schemas.js +215 -19
- package/dist/esm/users/users.shared.schemas.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +54 -27
- package/dist/esm/compliance/compliance-framework/compliance-frameworks.shared.schemas.d.ts +0 -37
- package/dist/esm/compliance/compliance-framework/compliance-frameworks.shared.schemas.d.ts.map +0 -1
- package/dist/esm/compliance/compliance-framework/compliance-frameworks.shared.schemas.js +0 -38
- package/dist/esm/compliance/compliance-framework/compliance-frameworks.shared.schemas.js.map +0 -1
- package/dist/esm/external-providers/feature-bindings-policy.shared.schemas.d.ts +0 -27
- package/dist/esm/external-providers/feature-bindings-policy.shared.schemas.d.ts.map +0 -1
- package/dist/esm/external-providers/feature-bindings-policy.shared.schemas.js +0 -35
- package/dist/esm/external-providers/feature-bindings-policy.shared.schemas.js.map +0 -1
- package/dist/esm/external-providers/feature-mapping.shared.schemas.d.ts +0 -80
- package/dist/esm/external-providers/feature-mapping.shared.schemas.d.ts.map +0 -1
- package/dist/esm/external-providers/feature-mapping.shared.schemas.js +0 -159
- package/dist/esm/external-providers/feature-mapping.shared.schemas.js.map +0 -1
- package/dist/esm/external-providers/wildo-features.shared.schemas.d.ts +0 -102
- package/dist/esm/external-providers/wildo-features.shared.schemas.d.ts.map +0 -1
- package/dist/esm/external-providers/wildo-features.shared.schemas.js +0 -124
- package/dist/esm/external-providers/wildo-features.shared.schemas.js.map +0 -1
- package/dist/esm/features/platform-capability-definitions.shared.d.ts +0 -50
- package/dist/esm/features/platform-capability-definitions.shared.d.ts.map +0 -1
- package/dist/esm/features/platform-capability-definitions.shared.js +0 -30
- package/dist/esm/features/platform-capability-definitions.shared.js.map +0 -1
- package/dist/esm/flows-actors/agents-context.shared.schemas.d.ts +0 -181
- package/dist/esm/flows-actors/agents-context.shared.schemas.d.ts.map +0 -1
- package/dist/esm/flows-actors/agents-context.shared.schemas.js +0 -116
- package/dist/esm/flows-actors/agents-context.shared.schemas.js.map +0 -1
- package/dist/esm/notifications/email/email-header-footer-template.shared.resources-config.schemas.d.ts +0 -39
- package/dist/esm/notifications/email/email-header-footer-template.shared.resources-config.schemas.d.ts.map +0 -1
- package/dist/esm/notifications/email/email-header-footer-template.shared.resources-config.schemas.js +0 -113
- package/dist/esm/notifications/email/email-header-footer-template.shared.resources-config.schemas.js.map +0 -1
- package/dist/esm/notifications/email/email-header-footer-template.shared.schemas.d.ts +0 -63
- package/dist/esm/notifications/email/email-header-footer-template.shared.schemas.d.ts.map +0 -1
- package/dist/esm/notifications/email/email-header-footer-template.shared.schemas.js +0 -110
- package/dist/esm/notifications/email/email-header-footer-template.shared.schemas.js.map +0 -1
- package/dist/esm/notifications/email/email-template.shared.resources-config.schemas.d.ts +0 -62
- package/dist/esm/notifications/email/email-template.shared.resources-config.schemas.d.ts.map +0 -1
- package/dist/esm/notifications/email/email-template.shared.resources-config.schemas.js +0 -112
- package/dist/esm/notifications/email/email-template.shared.resources-config.schemas.js.map +0 -1
- package/dist/esm/notifications/email/email-template.shared.schemas.d.ts +0 -162
- package/dist/esm/notifications/email/email-template.shared.schemas.d.ts.map +0 -1
- package/dist/esm/notifications/email/email-template.shared.schemas.js +0 -189
- package/dist/esm/notifications/email/email-template.shared.schemas.js.map +0 -1
- package/dist/esm/organizations/organization-member-invitations.shared.resources-config.schemas.d.ts +0 -37
- package/dist/esm/organizations/organization-member-invitations.shared.resources-config.schemas.d.ts.map +0 -1
- package/dist/esm/organizations/organization-member-invitations.shared.resources-config.schemas.js +0 -207
- package/dist/esm/organizations/organization-member-invitations.shared.resources-config.schemas.js.map +0 -1
- package/dist/esm/resources/testing/SchemaDecoratorTestUtils.d.ts +0 -91
- package/dist/esm/resources/testing/SchemaDecoratorTestUtils.d.ts.map +0 -1
- package/dist/esm/resources/testing/SchemaDecoratorTestUtils.js +0 -325
- package/dist/esm/resources/testing/SchemaDecoratorTestUtils.js.map +0 -1
- package/dist/esm/runtime/companion-artifact-placement.shared.definitions.d.ts.map +0 -1
- package/dist/esm/runtime/companion-artifact-placement.shared.definitions.js.map +0 -1
- package/dist/esm/security/authentications/policy/auth-policy.shared.resources-config.schemas.d.ts +0 -10
- package/dist/esm/security/authentications/policy/auth-policy.shared.resources-config.schemas.d.ts.map +0 -1
- package/dist/esm/security/authentications/policy/auth-policy.shared.resources-config.schemas.js +0 -52
- package/dist/esm/security/authentications/policy/auth-policy.shared.resources-config.schemas.js.map +0 -1
- package/dist/esm/security/authentications/policy/auth-policy.shared.schemas.d.ts +0 -52
- package/dist/esm/security/authentications/policy/auth-policy.shared.schemas.d.ts.map +0 -1
- package/dist/esm/security/authentications/policy/auth-policy.shared.schemas.js +0 -40
- package/dist/esm/security/authentications/policy/auth-policy.shared.schemas.js.map +0 -1
- package/dist/esm/testing/schema-decorator-utils.d.ts +0 -91
- package/dist/esm/testing/schema-decorator-utils.d.ts.map +0 -1
- package/dist/esm/testing/schema-decorator-utils.js +0 -325
- package/dist/esm/testing/schema-decorator-utils.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resources-config-operations.urls-builder.utils.js","sourceRoot":"","sources":["../../../../src/resources/utils/resources-config-operations.urls-builder.utils.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8CG;AAEH,OAAO,EASL,+BAA+B,EAC/B,8BAA8B,GAC/B,MAAM,oCAAoC,CAAC;AAG5C,OAAO,EAGL,kBAAkB,EAClB,iCAAiC,EACjC,4BAA4B,EAC5B,uCAAuC,EAEvC,qBAAqB,EACtB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAGL,yBAAyB,EACzB,qBAAqB,EACtB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAAE,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kB,CAAC,SAAS;oBACpC,eAAe,EAAE,SAAS;oBAC1B,sEAAsE;oBACtE,qEAAqE;oBACrE,kEAAkE;oBAClE,iEAAiE;oBACjE,kEAAkE;oBAClE,oCAAoC;oBACpC,aAAa,EAAE,SAAS;oBACxB,SAAS,EAAE,SAAS;oBACpB,OAAO,EAAE,SAAS;iBACuB,CAAC,CAAC;gBAE7C,gBAAgB,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;YACzC,CAAC;QACH,CAAC;QAED,OAAO,gBAAgB,CAAC;IAC1B,CAAC;CACF"}
|
|
1
|
+
{"version":3,"file":"resources-config-operations.urls-builder.utils.js","sourceRoot":"","sources":["../../../../../src/resources/utils/resources-config-operations.urls-builder.utils.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsDG;AAEH,OAAO,EASL,8BAA8B,EAC9B,+BAA+B,EAC/B,8BAA8B,GAE/B,MAAM,oCAAoC,CAAC;AAG5C,OAAO,EAGL,kBAAkB,EAClB,iCAAiC,EACjC,4BAA4B,EAC5B,uCAAuC,EACvC,+BAA+B,EAC/B,qBAAqB,GACtB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAGL,yBAAyB,EACzB,qBAAqB,EACtB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAAE,0BAA0B,EAAE,MAAM,iCAAiC,CAAC;AAC7E,OAAO,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AAElE,OAAO,EAAE,kCAAkC,EAAE,MAAM,0CAA0C,CAAC;AAC9F,OAAO,EAAE,kBAAkB,EAAE,MAAM,+CAA+C,CAAC;AAsCnF,MAAM,OAAO,yCAAyC;IAG7C,MAAM,CAAC,iCAAiC,CAAE,cAAwC,EAAE,2BAAmD;QAE5I,MAAM,OAAO,GAAwC,EAAE,CAAC;QACxD,MAAM,iBAAiB,GAAG,cAAc,CAAC,UAAU,CAAC,MAAM,CAAE,CAAC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qBAAqB,CAAC,8BAA8B,CAAC;oBAC3E,2CAA2C;oBAC3C,aAAa,EAAE,GAAG,CAAC,aAAa,EAAG,+CAA+C;oBAClF,aAAa,EAAE,kBAAkB,EAAG,2CAA2C;oBAC/E,YAAY,EAAE,GAAG,CAAC,YAAY;oBAC9B,YAAY,EAAE,GAAG,CAAC,YAAY;oBAE9B,qDAAqD;oBACrD,cAAc,EAAE,KAAK;oBACrB,YAAY,EAAE,SAAS;oBAEvB,mDAAmD;oBACnD,yBAAyB,EAAE,iCAAiC,CAAC,QAAQ;oBAErE,iDAAiD;oBACjD,oEAAoE;oBACpE,mBAAmB,EAAE,uCAAuC,CAAC,gBAAgB;oBAE7E,cAAc;oBACd,UAAU,EAAE,KAAK;oBACjB,UAAU,EAAE,KAAK;oBACjB,iBAAiB,EAAE,SAAS;oBAE5B,iEAAiE;oBACjE,yDAAyD;oBACzD,eAAe,EAAE,GAAG,CAAC,eAAe;oBAEpC,wEAAwE;oBACxE,yDAAyD;oBACzD,aAAa,EAAE,SAAS;oBACxB,MAAM,EAAE,kBAAkB,CAAC,SAAS;oBACpC,eAAe,EAAE,SAAS;oBAC1B,sEAAsE;oBACtE,qEAAqE;oBACrE,kEAAkE;oBAClE,iEAAiE;oBACjE,kEAAkE;oBAClE,oCAAoC;oBACpC,aAAa,EAAE,SAAS;oBACxB,SAAS,EAAE,SAAS;oBACpB,OAAO,EAAE,SAAS;iBACuB,CAAC,CAAC;gBAE7C,gBAAgB,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;YACzC,CAAC;QACH,CAAC;QAED,OAAO,gBAAgB,CAAC;IAC1B,CAAC;CACF","sourcesContent":["/** URL Generation Examples:\n * \n * Collection-Level Operations (no entity ID):\n * - LIST: GET /api/v1/organizations/{organizationId}/organization-features \n * - CREATE: POST /api/v1/organizations/{organizationId}/organization-features\n * - CREATE_MANY: POST /api/v1/organizations/{organizationId}/organization-features (differentiated by request body)\n * - UPDATE_MANY: PUT /api/v1/organizations/{organizationId}/organization-features\n * - DELETE_MANY: DELETE /api/v1/organizations/{organizationId}/organization-features\n * - SEARCH: GET /api/v1/organizations/{organizationId}/organization-features/search\n * - COUNT: GET /api/v1/organizations/{organizationId}/organization-features/count\n * - Custom collection operations (with resourceOperationLike pointing to collection op): \n * PUT /api/v1/organizations/{organizationId}/organization-features/reset-features\n * \n * Entity-Level Operations:\n * - Regular resources include their entity ID in the route.\n * - Parent-owned composition singletons and complete M:N paths omit the child /\n * junction ID because the declared relationship path uniquely identifies it.\n * - READ: GET /api/v1/organizations/{organizationId}/organization-features\n * - UPDATE: PUT /api/v1/organizations/{organizationId}/organization-features\n * - DELETE: DELETE /api/v1/organizations/{organizationId}/organization-features\n * - Custom entity operations follow the same entity-id rule as their effective\n * core operation: regular entity resources include the id, while\n * parent-owned composition singletons and complete M:N paths omit it.\n * \n * Variant Keys (for role-based variants):\n * - LIST admin variant: GET /api/v1/organizations/{organizationId}/organization-features/admin\n * - READ admin variant on regular entity resources:\n * GET /api/v1/organizations/{organizationId}/organization-features/{id}/admin\n * - READ admin variant on parent-owned composition singletons or complete M:N\n * paths omits the child/junction ID:\n * GET /api/v1/organizations/{organizationId}/organization-features/admin\n * - SEARCH admin variant: GET /api/v1/organizations/{organizationId}/organization-features/search/admin\n * \n * Bulk Operations (collection-level, no entity ID):\n * - DELETE bulk: DELETE /api/v1/organizations/{organizationId}/organization-features/bulk\n * - DELETE bulk admin: DELETE /api/v1/organizations/{organizationId}/organization-features/bulk/admin\n * \n * Access Scope Strategy (determines URL path generation):\n * - REQUIRES_CONTEXT: Always in URL path (mandatory parent)\n * - OPTIONAL_CONTEXT: Generates multiple URLs with/without parent\n * - STANDALONE: NEVER in URL path - resource accessed independently (data relationship only)\n * Example: APPLICATION → ORGANIZATIONS with STANDALONE means /organizations not /applications/{id}/organizations\n * \n * Foreign Key Relationships (foreignKeyField):\n * - FK relationships like TODOS → USERS with assignedToUserId are transformed to parent relationships\n * - They use OPTIONAL_CONTEXT to generate alternative URL paths\n * - Example: /assigned-to-users/{assignedToUserId}/todos (prefix derived from FK field name)\n * \n * Many-to-Many Relationships (via junction table):\n * - Junction table (e.g., ORGANIZATION_MEMBERS) can be accessed from BOTH sides\n * - Both parents use OPTIONAL_CONTEXT to generate independent paths\n * - Example: /organizations/{orgId}/organization-members\n * - Example: /users/{userId}/organization-members\n * - Combined: /organizations/{orgId}/users/{userId}/organization-member (singular, unique record)\n */\n\nimport { \n ResourceConfiguration, \n AnyResourceConfiguration,\n ResourceConfiguration_Operation_ApiCall,\n ResourceConfiguration_Operation_ApiCallWithCallback,\n ResourcesRegistry,\n ResourceConfiguration_Operation_UrlParameterInfo,\n ResourceConfiguration_Operation_UrlInitiatorInfo,\n ResourceConfiguration_Operation,\n ResourceGeneratedOperationKind,\n getParentDirectionRelationships,\n getChildDirectionRelationships,\n type ResourceConfiguration_ResourceRelationships,\n} from '../resources-config.shared.schemas';\nimport { z } from 'zod';\n\nimport { \n ResourceRelationship,\n ResourceRelationshipDeclaration,\n RelationshipNature,\n ResourceParentResourceRequirement,\n ResourceOperationVariantType,\n ResourceRelationshipAccessScopeStrategy,\n ResourceRelationshipCardinality,\n isOneToOneCardinality,\n} from '../resources.shared.schemas';\nimport { \n ResourceType,\n ResourceFieldIdentifier,\n ALL_COLLECTION_OPERATIONS,\n CoreResourceOperation\n} from '../resources.shared.core.definitions';\nimport { ResourcesConfigNamingUtils } from './resources-config-naming.utils';\nimport { Resources_SharedUtils } from '../resources.shared.utils';\nimport { EnumLikeType } from '@wildo-ai/zod-decorators';\nimport { ResourcesConfig_OperationPathUtils } from './resources-config-operations.path.utils';\nimport { MAIN_API_BASE_PATH } from '../../requests/manual-controllers-routes-urls';\n\nexport interface URLGenerationResult {\n initiatorInfos: ResourceConfiguration_Operation_UrlInitiatorInfo[];\n metadata: {\n operation: string;\n variantKey?: string;\n isBulk: boolean;\n isSearch: boolean;\n isCount: boolean;\n parentCombinations: string[][];\n };\n}\n\nexport interface ParentResourceInfo {\n resourceType: ResourceType;\n fieldIdentifier: string;\n isPrimaryScope: boolean;\n isOptional: boolean;\n accessScopeStrategy: ResourceRelationshipAccessScopeStrategy;\n /** Foreign key field for disambiguation or non-standard naming */\n foreignKeyField?: string;\n /** Child-side FK proven by resolved persistence semantics for singleton URL omission. */\n childForeignKeyField?: string;\n relationshipNature?: RelationshipNature;\n jointResourceType?: ResourceType;\n /** Scope-via-junction tag (scope-required reference search) — propagated to the URL param. */\n scopeViaJunction?: ResourceType;\n cardinality1?: ResourceRelationshipCardinality;\n cardinality2: ResourceRelationshipCardinality; // Cardinality from parent to child\n order: number;\n}\n\nexport type ResourceConfiguration_Operation_Urlisable<TCustomOperationEnum extends EnumLikeType | undefined, TCoreOperationEnum extends Partial<CoreResourceOperation> | undefined> = \n ResourceConfiguration_Operation_ApiCall<TCustomOperationEnum, TCoreOperationEnum, z.ZodTypeAny> \n | ResourceConfiguration_Operation_ApiCallWithCallback<TCustomOperationEnum, TCoreOperationEnum, z.ZodTypeAny>;\n\n\nexport class ResourcesConfigOperationsUrlsBuilderUtils {\n \n \n public static buildUrlsForResourceConfiguration( resourceConfig: AnyResourceConfiguration, allResourceFieldIdentifiers: Record<string, string> ): Record<string, URLGenerationResult> {\n\n const results: Record<string, URLGenerationResult> = {};\n const apiCallOperations = resourceConfig.operations.filter( (op): op is ResourceConfiguration_Operation_Urlisable<any, any> => this.isUrlisable(op.variantType));\n \n for (const operation of apiCallOperations) {\n const operationKey = this.getOperationKey(operation);\n results[operationKey] = this.buildUrlsForOperation( operation, resourceConfig, allResourceFieldIdentifiers);\n }\n \n return results;\n }\n\n\n\n\n /**\n * Build URLs for all API_CALL and API_CALL_WITH_CALLBACK operations in a resource configuration\n */\n public static updateOperationUrls( resourceConfig: AnyResourceConfiguration, allResourceFieldIdentifiers: Record<string, string> ): void {\n const urlResults = this.buildUrlsForResourceConfiguration( resourceConfig, allResourceFieldIdentifiers);\n \n // Update URLs in API_CALL and API_CALL_WITH_CALLBACK operations\n for (const operation of resourceConfig.operations) {\n if (this.isUrlisable(operation.variantType)) {\n\n const apiCallOp = operation as ResourceConfiguration_Operation_Urlisable<any, any>;\n const operationKey = this.getOperationKey(apiCallOp);\n const urlResult = urlResults[operationKey];\n \n if (urlResult) {\n apiCallOp.initiatorInfos = urlResult.initiatorInfos;\n }\n }\n }\n }\n \n /**\n * Return the full parent edge set that can legitimately address a resource in URLs.\n *\n * This includes:\n * - real parent/self relationships from the active operation relationship\n * view, falling back to the compiled resource model\n * - synthetic FK-reference parents used to expose alternative nested paths for\n * non-standard FK fields without polluting the stored relationship graph\n *\n * Frontend navigation and form/runtime consumers should reuse this helper when\n * they need to stay aligned with URL addressability semantics.\n *\n * Note that URL parent addressability is intentionally broader than\n * context-addressed mutation eligibility: self relationships can contribute\n * navigable tree routes, but singleton mutation target resolution only trusts\n * compiled `parentRelationships`.\n */\n public static getUrlAddressableParentRelationships(\n resourceConfig: AnyResourceConfiguration,\n allResourceFieldIdentifiers: Record<string, string>,\n resourceRelationshipsOverride?: ResourceConfiguration_ResourceRelationships,\n ): ResourceRelationship[] {\n const realParents = getParentDirectionRelationships(\n resourceRelationshipsOverride ?? resourceConfig.resourceRelationships,\n ).filter(\n (relationship) =>\n !this.isInboundFkReferenceParent(relationship, allResourceFieldIdentifiers),\n );\n // The SAME inbound-FK guard must run over the synthetic parents, not only the real ones.\n //\n // {@link isInboundFkReferenceParent} was written to stop a resource being nested under something\n // that holds an FK pointing AT it — its JSDoc names the symptom exactly: \"phantom routes […]\n // that require an id the target has no notion of and that no controller registers — a guaranteed\n // 404 for every consumer of the target resource's own routes\". But it was applied only to\n // `realParents`, while {@link generateSyntheticFKParents} appends parents built by REVERSING a\n // child relationship — which is precisely how an inbound FK reference gets in.\n //\n // That gap took the whole `users` API surface off the air on 2026-08-06. Adding\n // `PLATFORM_ACCESS_GRANTS` with `foreignKeyField: 'operatorUserId'` (non-standard, since USERS'\n // identifier is `userId`) synthesised a reversed parent, and every users route became\n // `/operator-user-platform-access-grants/{operatorUserId}/users/{userId}` — the bare\n // `/users/{userId}` disappeared entirely and the resource 404'd. `applications` was already\n // broken the same way by `appId` on application-features/metadata/versions (7 phantom\n // combinations, no bare `/applications`); nobody had noticed because nothing called it.\n //\n // Measured over the full core catalogue, this filter changes 4 resources and removes ONLY\n // phantom shapes — `users` and `applications` regain their base paths, and the two\n // `referrer-billing-account-referrals/{referrerBillingAccountId}/…-billing-accounts` variants\n // (addressing a billing account under a billing-account id) go with them. None of the removed\n // shapes had ever been served: 0 occurrences across the last 8 dev logs.\n //\n // WHY THE GENERATOR IS KEPT, and why this filter cannot break its legitimate output.\n //\n // `generateSyntheticFKParents` assumes `resourceType1` is the FK HOLDER. Declared that way — the\n // header example `TODOS → USERS with assignedToUserId` — reversing it yields exactly the intended\n // `/assigned-to-users/{assignedToUserId}/todos`, and the cardinalities (TODOS MANY → USERS ONE)\n // make the synthetic's `cardinality2` MANY, so this guard KEEPS it.\n //\n // The broken cases declare the FK TARGET first instead (`USERS → PLATFORM_ACCESS_GRANTS`,\n // `APPLICATIONS → APPLICATION_FEATURES`). The generator cannot tell the difference from\n // declaration order, but the guard can: it reads FK ownership from CARDINALITY, so a synthetic\n // built from a target-first declaration comes out `cardinality1 === MANY` and is rejected.\n //\n // So the filter separates the two shapes on the only signal that is actually reliable — which is\n // the same reason `isInboundFkReferenceParent` reads cardinality rather than argument order.\n //\n // MEASURED, so the next reader need not guess who this affects: of 335 relationship declarations\n // repo-wide, the holder-first shape this generator serves has exactly EIGHT production\n // consumers, all in one app file (`tasks-manager.relationships.ts`) and all the same idea — a\n // \"who created / who is assigned\" pointer at USERS or ORGANIZATION_UNITS (`createdByUserId`,\n // `assignedToUserId`, `postedByUserId`, `organizationUnitId`). The engine declares ZERO; every\n // one of its 40 core relationships is parent-first.\n //\n // That asymmetry IS the failure story. This generator is an APP-AUTHORING feature the engine had\n // never exercised, so when engine relationships began carrying non-standard FKs\n // (`operatorUserId`, `appId`) they fell into machinery with no engine-side precedent and nothing\n // watching it. Keep that in mind before assuming a change here is engine-only.\n const syntheticFKParents = this.generateSyntheticFKParents(\n resourceConfig,\n allResourceFieldIdentifiers,\n resourceRelationshipsOverride,\n ).filter(\n (relationship) =>\n !this.isInboundFkReferenceParent(relationship, allResourceFieldIdentifiers),\n );\n\n return [...realParents, ...syntheticFKParents];\n }\n\n /**\n * Detect a parent-bucket entry that is actually an INBOUND FK reference —\n * i.e. the *other* resource holds an FK that points at the current resource,\n * so the current resource is the FK **target**, not a routable child.\n *\n * In the parent bucket the current resource is always `resourceType2`. A\n * relationship legitimately nests the current resource under `resourceType1`\n * only when the current resource **holds the foreign key** that references\n * `resourceType1` (e.g. `draftNotes.userId → users`, `userProfiles.userId →\n * users`). When the FK lives on `resourceType1` and points back at the\n * current resource (e.g. `todos.assignedToUserId → users`,\n * `tasks.assignedToUserId → users`), nesting the current resource under\n * `resourceType1` is semantically inverted: it yields phantom routes like\n * `/assigned-to-user-todos/{assignedToUserId}/users/search` that require an\n * id the target has no notion of and that no controller registers — a\n * guaranteed 404 for every consumer of the target resource's own routes.\n *\n * The correct holder-under-target route (`/assigned-to-users/{userId}/todos`)\n * is produced independently by {@link generateSyntheticFKParents} from the\n * FK-holder's child bucket, so excluding the inbound direction here loses no\n * legitimate addressability.\n *\n * FK ownership is read off the relationship shape (no schema access needed):\n * - `cardinality2 === MANY` → the current resource is the many side and holds\n * the FK → genuine child, keep.\n * - `cardinality1 === MANY` (so the current `one` side is referenced by a\n * many holder) → current is the FK target → inbound, drop.\n * - `1:1` → the current resource holds the FK only when the FK is\n * `resourceType1`'s standard identifier (a standard parent reference like\n * `userProfiles.userId`); a non-standard FK (`assignedToUserId`) on a 1:1\n * edge belongs to `resourceType1` and points back at current → inbound,\n * drop.\n *\n * Only `REFERENCE`-nature edges can be inbound; compositions/associations\n * always contain the current resource as a genuine child, and self\n * relationships (`resourceType1 === resourceType2`) are legitimate tree\n * routes — both are never treated as inbound.\n */\n private static isInboundFkReferenceParent(\n relationship: ResourceRelationship,\n allResourceFieldIdentifiers: Record<string, string>,\n ): boolean {\n if (relationship.resourceType1 === relationship.resourceType2) {\n return false;\n }\n if (relationship.nature !== RelationshipNature.REFERENCE) {\n return false;\n }\n\n const currentHoldsForeignKey =\n relationship.cardinality2 === ResourceRelationshipCardinality.MANY\n ? true\n : relationship.cardinality1 === ResourceRelationshipCardinality.MANY\n ? false\n : relationship.foreignKeyField != null\n && relationship.foreignKeyField === allResourceFieldIdentifiers[relationship.resourceType1];\n\n return !currentHoldsForeignKey;\n }\n\n /**\n * Build URLs for a specific operation\n */\n private static buildUrlsForOperation( operation: ResourceConfiguration_Operation_Urlisable<any, any>, resourceConfig: AnyResourceConfiguration, allResourceFieldIdentifiers: Record<string, string> ): URLGenerationResult {\n\n const initiatorInfos: ResourceConfiguration_Operation_UrlInitiatorInfo[] = [];\n \n const coreOperation = this.getCoreOperation(operation);\n\n // Scope-required reference search: an edge tagged with `urlOperationScope`\n // contributes its URL ONLY for the listed core operations (the scope-anchored\n // peer-under-scope edge restricts to SEARCH/LIST). Untagged edges (every\n // normal relationship) are unaffected.\n const allParentsForURLs = this.getUrlAddressableParentRelationships(\n resourceConfig,\n allResourceFieldIdentifiers,\n operation.resourceRelationships,\n ).filter((rel) => !rel.urlOperationScope || rel.urlOperationScope.includes(coreOperation));\n\n // Generate URL paths from all parent combinations\n const parentInfos = this.getParentResourceInfos(allParentsForURLs, allResourceFieldIdentifiers);\n const parentCombinations = this.generateParentCombinations(parentInfos).filter(\n (parentCombo) =>\n coreOperation !== CoreResourceOperation.LIST\n || !this.isCompleteManyToManyPath(parentCombo),\n );\n\n // A complete M:N parent path identifies one junction row: for example,\n // organization + user identifies THE organization-membership. That path is\n // therefore an entity address owned by READ. LIST remains available under\n // either individual parent (members by organization, memberships by user),\n // but must not also claim the complete path with the same GET method. Doing\n // so registers two different operation contracts on one HTTP route and\n // makes router ordering decide which contract is actually served.\n\n for (const parentCombo of parentCombinations) {\n const urlInfo = this.buildUrlForParentCombination( parentCombo, resourceConfig, operation, allResourceFieldIdentifiers, false);\n \n const initiatorInfo: ResourceConfiguration_Operation_UrlInitiatorInfo = {\n url: urlInfo.url,\n parameters: urlInfo.parameters,\n ...(operation.variantType === ResourceOperationVariantType.API_CALL_WITH_CALLBACK && {\n urlCallback: `${urlInfo.url}/callback`\n })\n };\n \n initiatorInfos.push(initiatorInfo);\n }\n\n // W7.3a: Dual initiatorInfos for isAnonymizable resources.\n // For operations that allow APP_ANONYMOUS, generate additional URL patterns\n // with the ANONYMOUS_USERS parent replacing the USER_SELF parent.\n if (resourceConfig.isAnonymizable && (operation as any).roles?.includes('APP_ANONYMOUS')) {\n for (const parentCombo of parentCombinations) {\n const userSelfParentIndex = parentCombo.findIndex(p =>\n p.isPrimaryScope && p.fieldIdentifier === 'userId'\n );\n\n if (userSelfParentIndex >= 0) {\n const anonymousCombo = parentCombo.map((p, i) => {\n if (i === userSelfParentIndex) {\n // Synthesize the ANONYMOUS_USERS parent that masks the USER_SELF\n // primary parent for the anonymous URL variant.\n //\n // `foreignKeyField` MUST become the anonymous user's own FK\n // (`anonymousUserId`), NOT the inherited `userId` from the\n // authenticated parent. `buildUrlForParentCombination` derives\n // BOTH the route param name (`foreignKeyField || fieldIdentifier`)\n // AND the param's `relationshipField` (the child-filter FK) from\n // `foreignKeyField`. Leaving it as `userId` was the W7.3a bug:\n // - the route param bound `req.params.userId`, which\n // `extractInitiatorIds` maps to `initiatorIds.userId` → the\n // ANONYMOUS_SESSION ExecutionContext constructor rejects any\n // authenticated identity field → 500 at\n // `handleAnonymousSessionInit`; and\n // - the nested-LIST child filter keyed on `userId` (null for\n // anonymous rows), never on the `anonymousUserId` column that\n // actually stores the session handle.\n // With `anonymousUserId`, the param is ignored by\n // `extractInitiatorIds` (the session id is set from the\n // `x-anonymous-session-init` header), the coherence check pins the\n // URL uuid to the session uuid (defense in depth), and the child\n // filter targets the correct column.\n //\n // The URL segment stays honest: `anonymousUserId` IS the standard\n // identifier of `anonymous_users`, so `extractRelationshipPrefix`\n // strips it → no redundant prefix → `/anonymous-users/…`, parallel\n // to the authenticated `/users/{userId}/…` route.\n return {\n ...p,\n resourceType: 'anonymous_users' as ResourceType,\n fieldIdentifier: 'anonymousUserId',\n foreignKeyField: 'anonymousUserId',\n };\n }\n return p;\n });\n\n const urlInfo = this.buildUrlForParentCombination(\n anonymousCombo, resourceConfig, operation, allResourceFieldIdentifiers, false\n );\n\n const anonInitiatorInfo: ResourceConfiguration_Operation_UrlInitiatorInfo = {\n url: urlInfo.url,\n parameters: urlInfo.parameters,\n ...(operation.variantType === ResourceOperationVariantType.API_CALL_WITH_CALLBACK && {\n urlCallback: `${urlInfo.url}/callback`\n })\n };\n\n initiatorInfos.push(anonInitiatorInfo);\n }\n }\n }\n \n return {\n initiatorInfos,\n metadata: {\n operation: String(operation.operationIdentifier),\n variantKey: operation.variantKey,\n isBulk: operation.isBulkOperation,\n isCount : coreOperation === CoreResourceOperation.COUNT,\n isSearch: coreOperation === CoreResourceOperation.SEARCH,\n // Informational only: initiatorInfos.parameters remain the canonical\n // source for FK/relationship-field route evidence.\n parentCombinations: parentCombinations.map(combo =>\n combo.map(parent => parent.resourceType)\n )\n }\n };\n }\n\n public static buildOperationFrontendRoutePaths( \n resourceConfig: AnyResourceConfiguration, \n operation: ResourceConfiguration_Operation_Urlisable<any, any>, \n allResourceFieldIdentifiers: Record<string, string>\n ): { url: string; parameters: ResourceConfiguration_Operation_UrlParameterInfo[] }[] {\n \n if (!this.isUrlisable(operation.variantType))\n return []; // other presets are not routable\n\n // Mirror buildUrlsForOperation's `urlOperationScope` filter so frontend route\n // generation and backend route registration stay in lock-step.\n const coreOperation = this.getCoreOperation(operation);\n const allParentsForURLs = this.getUrlAddressableParentRelationships(\n resourceConfig,\n allResourceFieldIdentifiers,\n operation.resourceRelationships,\n ).filter((rel) => !rel.urlOperationScope || rel.urlOperationScope.includes(coreOperation));\n\n const parentInfos = this.getParentResourceInfos(allParentsForURLs, allResourceFieldIdentifiers);\n const parentCombinations = this.generateParentCombinations(parentInfos);\n const frontendRoutePaths: { url: string; parameters: ResourceConfiguration_Operation_UrlParameterInfo[] }[] = [];\n \n for (const parentCombo of parentCombinations) {\n const routePath = this.buildUrlForParentCombination( parentCombo, resourceConfig, operation, allResourceFieldIdentifiers, true);\n frontendRoutePaths.push(routePath);\n }\n \n return frontendRoutePaths;\n }\n\n /**\n * Build a resource-integrated file upload route from a concrete operation route.\n *\n * File uploads should stay aligned with the operation route family they extend.\n * For CREATE-like uploads, the collection route is sufficient. For UPDATE-like\n * uploads, the target resource id must appear exactly once:\n * - if the operation route already addresses the entity, reuse it as-is\n * - if the operation route intentionally omits the entity id (for unique nested\n * addresses such as one-to-one or complete many-to-many paths), append the\n * target resource placeholder before the `/files/:field` suffix\n *\n * The returned `parameters` array mirrors the final route shape so backend\n * request-context extraction and frontend placeholder resolution stay in sync.\n */\n public static buildFileUploadRouteForOperation(params: {\n operationRouteUrl: string;\n operationParameters: ResourceConfiguration_Operation_UrlParameterInfo[];\n targetResourceType: ResourceType;\n targetResourceFieldIdentifier: ResourceFieldIdentifier;\n fieldName: string;\n requiresTargetResourceId: boolean;\n isFrontend: boolean;\n }): { url: string; parameters: ResourceConfiguration_Operation_UrlParameterInfo[] } {\n const parameters = [...params.operationParameters];\n const hasTargetResourceIdParameter = parameters.some(\n (parameter) => parameter.fieldIdentifier === params.targetResourceFieldIdentifier,\n );\n\n let url = params.operationRouteUrl;\n if (params.requiresTargetResourceId && !hasTargetResourceIdParameter) {\n const targetPlaceholder = params.isFrontend\n ? `:${params.targetResourceFieldIdentifier}`\n : `{${params.targetResourceFieldIdentifier}}`;\n url = `${url}/${targetPlaceholder}`;\n parameters.push({\n fieldIdentifier: params.targetResourceFieldIdentifier,\n resourceType: params.targetResourceType,\n });\n }\n\n const fileRouteSegment = ResourcesConfigNamingUtils.toKebabCase(params.fieldName.replace(/\\./g, '-'));\n return {\n url: `${url}/files/${fileRouteSegment}`,\n parameters,\n };\n }\n\n /**\n * Build the resource-integrated file **serve** (GET) route for an operation.\n *\n * Symmetric to `buildFileUploadRouteForOperation`, but always entity-addressed and\n * terminated by the specific `fileId`:\n * `{operationRoute}/{resourceId}/files/{fieldSegment}/{fileId}`.\n *\n * The serve route inherits authorization from the parent resource's READ\n * operation (the `{resourceId}` identifies the record whose access is checked),\n * so the URL is single-sourced here for BOTH the backend Express route\n * registration and the frontend fetch URL. The trailing `fileId` is a plain path\n * param resolved in the serve handler (NOT a resource-identifying parameter), so\n * it is intentionally not added to `parameters` — those stay the resource/parent\n * identifiers the execution context needs. Reuses the upload builder to append\n * the entity id + `/files/<field>`.\n */\n public static buildFileServeRouteForOperation(params: {\n operationRouteUrl: string;\n operationParameters: ResourceConfiguration_Operation_UrlParameterInfo[];\n targetResourceType: ResourceType;\n targetResourceFieldIdentifier: ResourceFieldIdentifier;\n fieldName: string;\n isFrontend: boolean;\n }): { url: string; parameters: ResourceConfiguration_Operation_UrlParameterInfo[] } {\n const base = this.buildFileUploadRouteForOperation({\n operationRouteUrl: params.operationRouteUrl,\n operationParameters: params.operationParameters,\n targetResourceType: params.targetResourceType,\n targetResourceFieldIdentifier: params.targetResourceFieldIdentifier,\n fieldName: params.fieldName,\n requiresTargetResourceId: true,\n isFrontend: params.isFrontend,\n });\n const fileIdPlaceholder = params.isFrontend ? ':fileId' : '{fileId}';\n return {\n url: `${base.url}/${fileIdPlaceholder}`,\n parameters: base.parameters,\n };\n }\n\n // ===========================================================================================\n // PARENT RELATIONSHIP MANAGEMENT\n // =========================================================================================\n \n /**\n * Build URL for a specific parent combination\n * \n * When a parent has a foreignKeyField (like assignedToUserId), the prefix\n * is applied to the PARENT resource name, not the child:\n * - /assigned-to-users/{assignedToUserId}/todos (prefix on parent)\n * - NOT /users/{userId}/assigned-to-todos (prefix on child)\n */\n public static buildUrlForParentCombination(\n parentCombo: ParentResourceInfo[],\n resourceConfig: AnyResourceConfiguration,\n operation: ResourceConfiguration_Operation_Urlisable<any, any>,\n allResourceFieldIdentifiers: Record<string, string>,\n isFrontend: boolean = false\n ): { url: string; parameters: ResourceConfiguration_Operation_UrlParameterInfo[] } {\n \n const segments: string[] = !isFrontend ? [MAIN_API_BASE_PATH] : [];\n const parameters: ResourceConfiguration_Operation_UrlParameterInfo[] = [];\n \n // For frontend routes (React Router), use :paramName format\n // For backend routes (Express), use {paramName} format\n const formatParam = (paramName: string) => isFrontend ? `:${paramName}` : `{${paramName}}`;\n \n // Add parent resource segments\n for (const parent of parentCombo) {\n let resourcePath = ResourcesConfigNamingUtils.toKebabCase(parent.resourceType);\n \n // For FK relationships, use the FK field as the parameter name (e.g., assignedToUserId)\n // For standard relationships, use the standard field identifier (e.g., userId)\n // This avoids confusion and makes URLs self-documenting\n const parameterName = parent.foreignKeyField || parent.fieldIdentifier;\n \n // If parent has a foreignKeyField, apply the prefix to the parent resource name\n // Example: assignedToUserId with parent=users → \"assigned-to-users\" instead of just \"users\"\n if (parent.foreignKeyField) {\n const relationshipPrefix = this.extractRelationshipPrefix(parent.foreignKeyField, parent.resourceType);\n if (relationshipPrefix) {\n resourcePath = `${relationshipPrefix}-${resourcePath}`;\n }\n }\n \n segments.push(resourcePath);\n segments.push(formatParam(parameterName));\n parameters.push({\n fieldIdentifier: parameterName,\n resourceType: parent.resourceType,\n relationshipField: parent.foreignKeyField,\n scopeViaJunction: parent.scopeViaJunction,\n });\n }\n \n // Add main resource segment (no longer modified by relationship context - prefix is on parent)\n const mainResourcePath = this.generateMainResourcePath(resourceConfig.resourceIdentifier, parentCombo);\n segments.push(mainResourcePath);\n \n // Add operation-specific segments\n const operationSegments = this.getOperationSegments(\n operation,\n resourceConfig,\n allResourceFieldIdentifiers,\n parentCombo,\n isFrontend,\n );\n segments.push(...operationSegments.segments);\n parameters.push(...operationSegments.parameterInfos);\n \n const prefix = isFrontend ? '/' : '';\n return {\n url: prefix + segments.join('/').replace(/\\/+/g, '/'),\n parameters\n };\n }\n \n \n /**\n * Get parent resource information with ordering\n */\n public static getParentResourceInfos(\n parentRelationships: ResourceRelationship[],\n allResourceFieldIdentifiers: Record<string, string>\n ): ParentResourceInfo[] {\n const parentInfos: ParentResourceInfo[] = [];\n \n for (const relationship of parentRelationships) {\n const compiledRelationship = Resources_SharedUtils.ensureCompiledRelationship(\n relationship,\n allResourceFieldIdentifiers,\n );\n const resourceType = relationship.resourceType1;\n const fieldIdentifier = allResourceFieldIdentifiers[resourceType] ?? relationship.foreignKeyField;\n if (!fieldIdentifier) {\n /*\n * A STANDALONE parent is NEVER part of a URL, so it cannot need a name in one.\n *\n * `generateParentCombinations` filters STANDALONE parents out before any segment is built,\n * and the only consumer of `fieldIdentifier` is the parameter name at that point — so\n * demanding one here refuses a configuration over data the URL provably discards. Skipping\n * changes nothing downstream: such a parent is dropped a few steps later regardless.\n *\n * What it fixes is severe and silent. `initializeResources` DELETES an excluded type's field\n * identifier, so a surviving resource anchored to an excluded parent threw here — and\n * `generateUrlsForApiCallOperations` CATCHES that and `console.error`s it, leaving the\n * registry \"built successfully\" with every operation carrying no url. Measured on the\n * application-creation workbench, whose resources anchor to APPLICATION through exactly this\n * STANDALONE shape: excluding every core type gave 1 resource, 1 logged error and\n * `listUrl: undefined`, while every unit test that stubbed the transport passed.\n *\n * A NON-standalone parent still throws: that URL genuinely needs the parent's name, so an\n * unresolvable one is a real configuration defect rather than a discarded input.\n */\n if (relationship.accessScopeStrategy === ResourceRelationshipAccessScopeStrategy.STANDALONE) {\n continue;\n }\n throw new Error(\n `Cannot generate URL parent info for \"${resourceType}\" without a registered field identifier or relationship foreignKeyField.`,\n );\n }\n \n parentInfos.push({\n resourceType,\n fieldIdentifier,\n isPrimaryScope: relationship.isPrimaryScope || false,\n isOptional: relationship.parentResourceRequirement === ResourceParentResourceRequirement.OPTIONAL,\n accessScopeStrategy: relationship.accessScopeStrategy,\n foreignKeyField: relationship.foreignKeyField,\n childForeignKeyField: compiledRelationship.resolvedSemantics.persistence.foreignKey?.fieldIdentifier,\n relationshipNature: relationship.nature,\n jointResourceType: relationship.jointResourceType,\n scopeViaJunction: relationship.scopeViaJunction,\n cardinality1: relationship.cardinality1,\n cardinality2: relationship.cardinality2,\n order: 0 // Will be calculated later\n });\n }\n \n // Collapse multiple parents that resolve to the SAME resourceType down to a\n // single URL parent, preferring the ROUTABLE one. A resource can carry both\n // a STANDALONE primary anchor (which declares `resourcePrimaryScope` but is\n // intentionally inert for URL routing — see the primary-scope derivation in\n // the config factory) AND a routable peer of the same type (e.g. an M:N\n // junction's OPTIONAL_CONTEXT side). Without this collapse,\n // `orderParentResourceInfos`' per-resourceType dedup keeps whichever sorts\n // first — the STANDALONE anchor (primary sorts first) — and then\n // `generateParentCombinations` drops it as STANDALONE, so the route is lost\n // entirely. That is the exact bug that left ORGANIZATION_MEMBERS unreachable\n // under `/organizations/{organizationId}/organization-members` while it still\n // routed under `/users/{userId}/...`. We keep the routable peer's OWN flags\n // (notably its non-primary, OPTIONAL_CONTEXT scope) so the route stays\n // optional — preserving BOTH the org-side and user-side URLs of the junction.\n const collapsedByResourceType = new Map<ResourceType, ParentResourceInfo>();\n for (const info of parentInfos) {\n const existing = collapsedByResourceType.get(info.resourceType);\n if (!existing || this.isMoreUrlRoutableParent(info, existing)) {\n collapsedByResourceType.set(info.resourceType, info);\n }\n }\n\n // Order by dependency chain, then alphabetically\n return this.orderParentResourceInfos([...collapsedByResourceType.values()], parentRelationships);\n }\n\n /**\n * Rank a candidate URL parent against the one currently kept for the same\n * resourceType. A routable (non-STANDALONE) parent always beats a STANDALONE\n * anchor — a STANDALONE relationship is by definition off the URL surface, so\n * it must never shadow a peer that DOES route. Two equally-routable (or two\n * equally-STANDALONE) parents keep the first encountered (stable).\n */\n private static isMoreUrlRoutableParent(candidate: ParentResourceInfo, existing: ParentResourceInfo): boolean {\n const candidateRoutable = candidate.accessScopeStrategy !== ResourceRelationshipAccessScopeStrategy.STANDALONE;\n const existingRoutable = existing.accessScopeStrategy !== ResourceRelationshipAccessScopeStrategy.STANDALONE;\n return candidateRoutable && !existingRoutable;\n }\n \n /**\n * Order parent resources by dependency chain and alphabetically\n */\n private static orderParentResourceInfos(\n parentInfos: ParentResourceInfo[],\n allRelationships: ResourceRelationship[]\n ): ParentResourceInfo[] {\n // Create dependency map\n const dependencyMap = new Map<ResourceType, Set<ResourceType>>();\n \n for (const info of parentInfos) {\n dependencyMap.set(info.resourceType, new Set());\n }\n \n // Build dependency chains\n for (const relationship of allRelationships) {\n if (dependencyMap.has(relationship.resourceType2) && \n dependencyMap.has(relationship.resourceType1)) {\n dependencyMap.get(relationship.resourceType2)!.add(relationship.resourceType1);\n }\n }\n \n // Topological sort with primary scope priority\n const sorted: ParentResourceInfo[] = [];\n const visited = new Set<ResourceType>();\n const visiting = new Set<ResourceType>();\n \n const visit = (info: ParentResourceInfo) => {\n if (visiting.has(info.resourceType)) {\n // Circular dependency, sort alphabetically\n return;\n }\n if (visited.has(info.resourceType)) {\n return;\n }\n \n visiting.add(info.resourceType);\n \n // Visit dependencies first\n const dependencies = dependencyMap.get(info.resourceType) || new Set();\n const depInfos = parentInfos.filter(p => dependencies.has(p.resourceType));\n depInfos.sort((a, b) => a.resourceType.localeCompare(b.resourceType));\n \n for (const depInfo of depInfos) {\n visit(depInfo);\n }\n \n visiting.delete(info.resourceType);\n visited.add(info.resourceType);\n sorted.push(info);\n };\n \n // Sort by priority: primary scope first, then alphabetically\n const sortedInfos = [...parentInfos].sort((a, b) => {\n if (a.isPrimaryScope && !b.isPrimaryScope) return -1;\n if (!a.isPrimaryScope && b.isPrimaryScope) return 1;\n return a.resourceType.localeCompare(b.resourceType);\n });\n \n for (const info of sortedInfos) {\n visit(info);\n }\n \n return sorted;\n }\n \n /**\n * Generate all possible parent combinations based on accessScopeStrategy\n * \n * Access Scope Strategy Rules:\n * - REQUIRES_CONTEXT: Always included in parent context (mandatory in URL path)\n * - OPTIONAL_CONTEXT: Can be included or not in parent context (generates multiple URL paths)\n * - STANDALONE: Never included in URL path - resource is accessed independently\n * (the relationship exists for data model purposes, but not for URL routing)\n */\n private static generateParentCombinations(\n parentInfos: ParentResourceInfo[]\n ): ParentResourceInfo[][] {\n \n // Filter out STANDALONE relationships - they are NEVER included in URL paths\n const urlParents = parentInfos.filter(p =>\n p.accessScopeStrategy !== ResourceRelationshipAccessScopeStrategy.STANDALONE\n );\n\n // Scope-anchored peer-under-scope edges (scope-required reference search) are\n // ADDITIVE access paths: each adds a single-parent scoped route (e.g.\n // /organizations/{org}/users/search) WITHOUT altering the target's normal\n // addressability — in particular it must NOT suppress the target's bare/global\n // route (the empty combination is skipped below whenever any parent exists, so\n // a scope-anchored edge folded into the normal powerset would silently drop\n // /users/search). Handle them separately, appended as their own routes.\n const scopeAnchoredParents = urlParents.filter(p => p.scopeViaJunction);\n const standardParents = urlParents.filter(p => !p.scopeViaJunction);\n\n const primaryScope = standardParents.filter(p => p.isPrimaryScope);\n const mandatoryContext = standardParents.filter(p =>\n !p.isPrimaryScope &&\n p.accessScopeStrategy === ResourceRelationshipAccessScopeStrategy.REQUIRES_CONTEXT\n );\n // OPTIONAL_CONTEXT generates optional URL paths (with and without parent)\n const optionalContext = standardParents.filter(p =>\n p.accessScopeStrategy === ResourceRelationshipAccessScopeStrategy.OPTIONAL_CONTEXT &&\n !p.isPrimaryScope\n );\n\n // Generate all combinations of optional context parents\n const optionalCombinations = this.generateOptionalCombinations(optionalContext);\n\n const allCombinations: ParentResourceInfo[][] = [];\n\n for (const optionalCombo of optionalCombinations) {\n const combination = [...primaryScope, ...mandatoryContext, ...optionalCombo];\n if (combination.length > 0) {\n allCombinations.push(combination);\n }\n }\n\n // If no standard combinations, at least return the empty (bare) combination.\n if (allCombinations.length === 0) {\n allCombinations.push([]);\n }\n\n // Append each scope-anchored edge as its OWN single-parent route, on top of\n // the normal addressability above (additive — never suppresses the bare).\n for (const scopeAnchoredParent of scopeAnchoredParents) {\n allCombinations.push([scopeAnchoredParent]);\n }\n\n return allCombinations;\n }\n \n /**\n * Generate all possible combinations of optional items\n */\n private static generateOptionalCombinations<T>(optionalItems: T[]): T[][] {\n const combinations: T[][] = [[]]; // Start with empty combination\n \n for (const item of optionalItems) {\n const currentLength = combinations.length;\n for (let i = 0; i < currentLength; i++) {\n combinations.push([...combinations[i], item]);\n }\n }\n \n return combinations;\n }\n \n\n /**\n * Get operation-specific URL segments\n * \n * URL Pattern Rules:\n * - Core collection operations (LIST, CREATE, etc.): No operation suffix, differentiated by HTTP method\n * - SEARCH: /search suffix (single occurrence)\n * - COUNT: /count suffix (single occurrence)\n * - Custom collection operations: Add operation name (e.g., /reset-features)\n * - Core entity operations (READ, UPDATE, DELETE): No suffix after the entity\n * target. Regular resources include an entity ID; relationship-unique\n * singleton and complete M:N paths omit it.\n * - Custom entity operations: Add the operation name after the entity target\n * (e.g., /{id}/rotate on regular resources, or /rotate on id-less\n * singleton / complete M:N paths).\n */\n \n private static getOperationSegments(\n operation: ResourceConfiguration_Operation_Urlisable<any, any>,\n resourceConfig: AnyResourceConfiguration,\n allResourceFieldIdentifiers: Record<string, string>,\n parentCombo: ParentResourceInfo[],\n isFrontend: boolean = false\n ): { segments: string[]; parameterInfos: ResourceConfiguration_Operation_UrlParameterInfo[] } {\n \n const segments: string[] = [];\n const parameterInfos: ResourceConfiguration_Operation_UrlParameterInfo[] = [];\n const operationName = String(operation.operationIdentifier);\n const isCollectionLevelOperation = this.isCollectionLevelOperation(operation, operationName);\n \n // For frontend routes (React Router), use :paramName format\n // For backend routes (Express), use {paramName} format\n const formatParam = (paramName: string) => isFrontend ? `:${paramName}` : `{${paramName}}`;\n const generatedRegenerate = operation.generatedOperation?.kind === ResourceGeneratedOperationKind.GENERATED_FILE_REGENERATE\n ? operation.generatedOperation\n : undefined;\n const generatedCollectionExport = operation.generatedOperation?.kind === ResourceGeneratedOperationKind.GENERATED_COLLECTION_EXPORT;\n \n // Determine if this is a custom operation (not a core operation)\n const isCustomOperation = !Object.values(CoreResourceOperation).includes(operationName as CoreResourceOperation);\n \n if (isCollectionLevelOperation) {\n // For custom collection operations, add the operation name segment\n if (isCustomOperation) {\n // The export companion is the one custom collection operation that must NOT be named here.\n // Its identifier (`collectionExport:list`) would kebab-case into a segment, and it needs the\n // `search` segment its SOURCE gets — which is appended further down, from\n // `resourceOperationLike`. So the literal `export` segment is pushed AFTER that, and this\n // branch contributes nothing.\n if (!generatedCollectionExport) {\n const operationSegment = ResourcesConfigNamingUtils.toKebabCase(operationName);\n segments.push(operationSegment);\n }\n }\n // Core collection operations (LIST, CREATE, etc.) don't add an operation\n // name on the BACKEND — they differentiate by HTTP method (GET for LIST,\n // POST for CREATE). FRONTEND routes carry no HTTP method, so an addressable\n // core CREATE must carry an explicit `create` segment or it resolves to the\n // bare collection path and collides with LIST — shadowing the listing on a\n // cold load / refresh. Mirrors the `search`/`count` disambiguation below.\n // (LIST stays at the bare collection path; SEARCH/COUNT/CREATE disambiguate.)\n else if (isFrontend && this.getCoreOperation(operation) === CoreResourceOperation.CREATE) {\n segments.push('create');\n }\n } else {\n // Entity-level operations\n // Skip resource ID when the parent combination uniquely identifies the resource:\n // - One-to-one: only one instance per parent (e.g., organization-preference)\n // - Complete many-to-many: both foreign keys specified (e.g., org + user = unique membership)\n if (generatedRegenerate || (!this.isOneToOneRelationship(parentCombo) && !this.isCompleteManyToManyPath(parentCombo))) {\n const resourceParam = allResourceFieldIdentifiers[resourceConfig.resourceIdentifier];\n segments.push(formatParam(resourceParam));\n\n parameterInfos.push({\n fieldIdentifier: resourceParam,\n resourceType: resourceConfig.resourceIdentifier as ResourceType\n });\n }\n \n // For custom entity operations, add the operation name after the entity target.\n if (isCustomOperation) {\n if (generatedRegenerate) {\n segments.push('files', ResourcesConfigNamingUtils.toKebabCase(generatedRegenerate.fieldName.replace(/\\./g, '-')), 'regenerate');\n } else {\n const operationSegment = ResourcesConfigNamingUtils.toKebabCase(operationName);\n segments.push(operationSegment);\n }\n }\n }\n \n // Add bulk suffix if needed\n if (operation.isBulkOperation) {\n segments.push('bulk');\n }\n\n const coreOperation = this.getCoreOperation(operation);\n\n // Add search segment when the operation carries SEARCH semantics.\n if (coreOperation === CoreResourceOperation.SEARCH) {\n segments.push('search');\n }\n\n // Add count segment when the operation carries COUNT semantics.\n if (coreOperation === CoreResourceOperation.COUNT) {\n segments.push('count');\n }\n\n // The export companion sits one segment BELOW the listing it exports, so it inherits that\n // listing's whole path — every parent combination, and the `search` disambiguator above:\n // LIST → /organizations/{org}/todos/export\n // SEARCH → /organizations/{org}/todos/search/export\n // A resource exporting both verbs therefore gets two distinct routes without a naming scheme,\n // and neither can shadow the listing itself (a literal segment, appended last).\n if (generatedCollectionExport) {\n segments.push('export');\n }\n \n // Add variant key if exists\n if (operation.variantKey) {\n segments.push(operation.variantKey);\n }\n \n return { segments, parameterInfos };\n }\n\n\n \n /**\n * Generate main resource path segment\n * \n * Note: The relationship prefix (like \"assigned-to\") is now applied to the PARENT resource\n * in buildUrlForParentCombination, not to the child resource here.\n * \n * Examples:\n * - /assigned-to-users/{userId}/todos (prefix on parent \"users\")\n * - /created-by-users/{userId}/todos (prefix on parent \"users\")\n * - /organizations/{orgId}/todos (no relationship field, no prefix)\n * - /organizations/{orgId}/organization-preference (singular for one-to-one)\n * - /organizations/{orgId}/users/{userId}/organization-member (singular for complete many-to-many)\n */\n private static generateMainResourcePath(mainResourceIdentifier: string, parentCombo: ParentResourceInfo[]): string {\n\n // Check if this is a one-to-one relationship OR a complete many-to-many path - use singular form\n const baseResourcePath = (this.isOneToOneRelationship(parentCombo) || this.isCompleteManyToManyPath(parentCombo)) \n ? ResourcesConfigNamingUtils.toKebabCase(ResourcesConfigNamingUtils.singularize(mainResourceIdentifier)) \n : ResourcesConfigNamingUtils.toKebabCase(mainResourceIdentifier);\n \n return baseResourcePath;\n }\n \n /**\n * Extract relationship prefix from a relationship field, excluding the parent resource type.\n * \n * Pattern: {relationshipDescriptor}{ParentResourceType}Id\n * - assignedToUserId with parentType=users → assignedTo → assigned-to\n * - createdByUserId with parentType=users → createdBy → created-by\n * \n * @param relationshipField - The relationship field name (e.g., assignedToUserId)\n * @param parentResourceType - The parent resource type (e.g., users) - optional, if provided will be stripped\n */\n public static extractRelationshipPrefix(relationshipField: string, parentResourceType?: ResourceType): string {\n // Get base name without Id/Ids suffix\n let baseName = ResourcesConfigNamingUtils.extractBaseName(relationshipField);\n \n // If parent resource type is provided, remove it from the end of base name\n // e.g., \"assignedToUser\" with parent \"users\" → \"assignedTo\"\n if (parentResourceType) {\n // Get singular form of parent resource type (e.g., \"users\" → \"user\").\n const parentSingular = ResourcesConfigNamingUtils.singularize(parentResourceType);\n // Compare using WORD-BOUNDARY-SAFE camelCase forms so that multi-word\n // snake_case resource types work identically to single-word ones. The FK\n // base name is always camelCase (e.g. \"anonymousUserId\" → \"anonymousUser\"),\n // while a snake_case parent singular is \"anonymous_user\"; comparing the raw\n // forms (\"Anonymous_user\" / \"anonymous_user\") misses the strip and emits a\n // redundant prefix (\"anonymous-user-anonymous-users\"). PascalCase folds both\n // to \"AnonymousUser\" so `endsWith` matches on the word boundary, and a\n // separator-stripped lowercase compare catches the exact standard-FK case.\n const parentSingularPascal = ResourcesConfigNamingUtils.toPascalCase(parentSingular);\n const stripSeparators = (value: string): string => value.replace(/[_\\-\\s]/g, '').toLowerCase();\n\n if (stripSeparators(baseName) === stripSeparators(parentSingular)) {\n // Exact match for a standard FK: the base name IS the parent's own\n // identifier (e.g. \"userId\"→\"users\", \"anonymousUserId\"→\"anonymous_users\")\n // → no prefix needed.\n baseName = '';\n } else if (baseName.endsWith(parentSingularPascal)) {\n // Non-standard FK carrying the parent type as a trailing word\n // (e.g. \"assignedToUser\"/\"approvedByManager\" end with \"User\"/\"Manager\").\n baseName = baseName.slice(0, -parentSingularPascal.length);\n }\n }\n \n // If baseName is empty after stripping, return empty (no prefix needed)\n if (!baseName) return '';\n \n return ResourcesConfigNamingUtils.toKebabCase(baseName);\n }\n\n private static getOperationKey(operation: ResourceConfiguration_Operation_Urlisable<any, any>): string {\n return ResourcesConfig_OperationPathUtils.createOperationPathKeyFromOperation(operation);\n }\n\n\n\n private static getCoreOperation(\n operation: ResourceConfiguration_Operation_Urlisable<any, any>)\n : CoreResourceOperation {\n if (operation.resourceOperationLike) {\n return operation.resourceOperationLike as CoreResourceOperation;\n } else {\n return operation.operationIdentifier as CoreResourceOperation;\n }\n }\n\n // ================================\n // CHECK HELPERS\n // ================================\n \n private static isUrlisable(variantType: ResourceOperationVariantType): boolean {\n return variantType === ResourceOperationVariantType.API_CALL || variantType === ResourceOperationVariantType.API_CALL_WITH_CALLBACK;\n }\n /**\n * Determines if an operation should be at collection level (no entity ID) or entity level\n * \n * Collection-level operations include:\n * - Core collection operations (LIST, CREATE, CREATE_MANY, UPDATE_MANY, DELETE_MANY, SEARCH, COUNT)\n * - Custom operations with resourceOperationLike pointing to a collection operation\n * - Bulk operations (isBulkOperation = true) - they operate on multiple entities\n */\n private static isCollectionLevelOperation(operation: ResourceConfiguration_Operation_Urlisable<any, any>, operationName: string ): boolean {\n\n // Bulk operations are always collection-level (no entity ID)\n if (operation.isBulkOperation) {\n return true;\n }\n\n if (ALL_COLLECTION_OPERATIONS.includes(operationName as any)) {\n return true;\n }\n \n if (operation.resourceOperationLike) {\n const resourceOperationLikeName = String(operation.resourceOperationLike);\n if (ALL_COLLECTION_OPERATIONS.includes(resourceOperationLikeName as any)) {\n return true;\n }\n }\n \n return false;\n }\n\n \n /**\n * Check if this resource has a one-to-one relationship with its parent\n * Used to determine if resource should use singular naming and no entity ID\n */\n private static isOneToOneRelationship(parentCombo: ParentResourceInfo[]): boolean {\n if (parentCombo.length === 1) {\n const parent = parentCombo[0];\n return parent.relationshipNature === RelationshipNature.COMPOSITION\n && parent.cardinality1 === ResourceRelationshipCardinality.ONE\n && isOneToOneCardinality(parent.cardinality2)\n && parent.accessScopeStrategy !== ResourceRelationshipAccessScopeStrategy.STANDALONE\n && Boolean(parent.childForeignKeyField);\n }\n \n return false;\n }\n \n /**\n * Check if this represents a complete many-to-many path (both entities specified)\n * For junction tables, when both foreign keys are specified in the path,\n * there can only be one matching record, so we use singular form and no entity ID\n * \n * Example: /organizations/{orgId}/users/{userId}/organization-member\n * This uniquely identifies THE membership between this org and user\n * \n * Important: This should NOT match hierarchical relationships with optional\n * parents. Factory-generated junction parents are OPTIONAL_CONTEXT so each\n * side can also expose an independent URL, but the complete path is proven by\n * the association semantics plus shared jointResourceType, not by requiredness.\n */\n private static isCompleteManyToManyPath(parentCombo: ParentResourceInfo[]): boolean {\n // For a complete many-to-many path, we need exactly two association parents\n // that both point at the same junction resource. Do not require\n // REQUIRES_CONTEXT here: factory-real M:N junction parents are intentionally\n // OPTIONAL_CONTEXT so each side can generate independent URLs as well.\n \n if (parentCombo.length === 2) {\n const jointResourceTypes = parentCombo\n .map((parent) => parent.jointResourceType)\n .filter((jointResourceType): jointResourceType is ResourceType => Boolean(jointResourceType));\n return jointResourceTypes.length === 2\n && new Set(jointResourceTypes).size === 1\n && new Set(parentCombo.map((parent) => parent.foreignKeyField || parent.fieldIdentifier)).size === parentCombo.length\n && parentCombo.every((parent) =>\n parent.relationshipNature === RelationshipNature.ASSOCIATION\n && parent.cardinality1 === ResourceRelationshipCardinality.ONE\n && parent.cardinality2 === ResourceRelationshipCardinality.MANY\n );\n }\n \n return false;\n }\n\n /**\n * Generate synthetic parent relationships for FK reference URL paths.\n * \n * These synthetic relationships are created ON-THE-FLY during URL generation\n * and do NOT pollute the data model's parentRelationships.\n * \n * Purpose: Enable alternative URL access patterns for resources with non-standard FK fields.\n * Example: TODOS → USERS with 'assignedToUserId' creates /assigned-to-users/{userId}/todos\n * \n * This method replaces the FK transformation that was previously done in the factory,\n * which incorrectly modified the relationship model and broke context fetching/population.\n * \n * Edge Cases Handled:\n * - M:N relationships: Excluded (not in childRelationships)\n * - Self-referencing: Filtered out before synthetic parent creation\n * - Missing standard FK: Skipped gracefully when the parent resource is unknown\n * - Standard FK (e.g., USER_SELF with userId): Correctly identified and skipped\n * \n * Known Minor Inefficiency:\n * - Multiple non-standard FKs to same resource type (e.g., assignedToUserId + createdByUserId)\n * creates extra URL combinations including both FKs in one path.\n * Not harmful, just generates unused URL patterns. Can be optimized later.\n * \n * @param resourceConfig - Resource configuration with clean relationship model\n * @param allResourceFieldIdentifiers - Map of resourceType → standard field identifier\n * @returns Array of synthetic parent relationships (for URL generation ONLY)\n */\n private static generateSyntheticFKParents(\n resourceConfig: AnyResourceConfiguration,\n allResourceFieldIdentifiers: Record<string, string>,\n resourceRelationshipsOverride?: ResourceConfiguration_ResourceRelationships,\n ): ResourceRelationship[] {\n const syntheticParents: ResourceRelationship[] = [];\n const resourceIdentifier = resourceConfig.resourceIdentifier;\n const childRelationships = getChildDirectionRelationships(\n resourceRelationshipsOverride ?? resourceConfig.resourceRelationships,\n );\n \n // Scan child relationships (where current resource is resourceType1/parent)\n for (const rel of childRelationships) {\n // Only process relationships with explicit FK field\n if (!rel.foreignKeyField) continue;\n \n // Skip self-referencing relationships\n if (rel.resourceType2 === resourceIdentifier) continue;\n \n // Get standard FK for the parent (current resource = resourceType1)\n const parentStandardFK = allResourceFieldIdentifiers[rel.resourceType1];\n if (!parentStandardFK) {\n // No standard FK defined - skip\n continue;\n }\n \n // Check if this FK is standard or non-standard\n // Standard: FK matches the parent's standard field identifier\n // Non-standard: FK differs (e.g., assignedToUserId instead of userId)\n const isStandardFK = rel.foreignKeyField === parentStandardFK;\n \n if (!isStandardFK) {\n // Non-standard FK found!\n // Original relationship: CURRENT → REFERENCED with non-standard FK\n // Create synthetic: REFERENCED → CURRENT for URL generation\n // This enables URL pattern: /fk-prefix-referenced/{fkValue}/current\n \n const syntheticParent = Resources_SharedUtils.compileRelationshipDeclaration({\n // Reverse the relationship for URL nesting\n resourceType1: rel.resourceType2, // Referenced resource becomes \"parent\" for URL\n resourceType2: resourceIdentifier, // Current resource becomes \"child\" for URL\n cardinality1: rel.cardinality2,\n cardinality2: rel.cardinality1,\n \n // FK reference relationships are never primary scope\n isPrimaryScope: false,\n primaryScope: undefined,\n \n // Optional parent - generates alternative URL path\n parentResourceRequirement: ResourceParentResourceRequirement.OPTIONAL,\n \n // OPTIONAL_CONTEXT ensures URL path is generated\n // (STANDALONE would skip, REQUIRES_CONTEXT would make it mandatory)\n accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.OPTIONAL_CONTEXT,\n \n // Basic flags\n isDisabled: false,\n allowCycle: false,\n jointResourceType: undefined,\n \n // Keep foreignKeyField - URL builder uses this for custom prefix\n // Example: assignedToUserId → /assigned-to-users/ prefix\n foreignKeyField: rel.foreignKeyField,\n \n // DO NOT copy contextPolicy/childOperations - these are for data model.\n // Synthetic relationships exist ONLY for URL generation.\n contextPolicy: undefined,\n nature: RelationshipNature.REFERENCE,\n childOperations: undefined,\n // discriminator and condition are explicitly set to undefined because\n // synthetic FK parents are structural (for URL path generation), not\n // data-dependent. They must not carry runtime conditions from the\n // original relationship — conditions are evaluated elsewhere (in\n // ResourceContext, ServicesRegistryHandler, ContainerNested) when\n // processing the real relationship.\n discriminator: undefined,\n condition: undefined,\n display: undefined,\n } satisfies ResourceRelationshipDeclaration);\n \n syntheticParents.push(syntheticParent);\n }\n }\n \n return syntheticParents;\n }\n}\n"]}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ResourceConfiguration_Operation, DataMode } from "../resources-config.shared.schemas
|
|
2
|
-
import { CoreResourceOperation } from "../resources.shared.core.definitions
|
|
1
|
+
import { ResourceConfiguration_Operation, DataMode } from "../resources-config.shared.schemas";
|
|
2
|
+
import { CoreResourceOperation } from "../resources.shared.core.definitions";
|
|
3
3
|
export declare class ResourceOperationsUtils {
|
|
4
4
|
static getCoreResourceOperationFromOperation(operation: ResourceConfiguration_Operation<any, any, any>): CoreResourceOperation | undefined;
|
|
5
5
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resources-config-operations.utils.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"resources-config-operations.utils.d.ts","sourceRoot":"","sources":["../../../../../src/resources/utils/resources-config-operations.utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,+BAA+B,EAA2C,QAAQ,EAAE,MAAM,oCAAoC,CAAC;AACxI,OAAO,EAAE,qBAAqB,EAAE,MAAM,sCAAsC,CAAC;AAG7E,qBAAa,uBAAuB;WAClB,qCAAqC,CAAC,SAAS,EAAE,+BAA+B,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,GAAG,qBAAqB,GAAG,SAAS;IAUjJ;;;;;;;;;OASG;IACH,MAAM,CAAC,uBAAuB,CAC5B,KAAK,EAAE,MAAM,GAAG,QAAQ,GAAG,SAAS,GACnC,QAAQ,GAAG,SAAS;IAcvB;;;;;;;;OAQG;IACH,MAAM,CAAC,eAAe,CACpB,MAAM,CAAC,EAAE;QAAE,QAAQ,CAAC,EAAE,QAAQ,GAAG,MAAM,CAAA;KAAE,GAAG,MAAM,GAAG,SAAS,EAC9D,YAAY,CAAC,EAAE,QAAQ,EACvB,eAAe,GAAE,QAAuB,GACvC,QAAQ;IAuBX;;;;OAIG;IACH,MAAM,CAAC,gBAAgB,CAAC,QAAQ,EAAE,QAAQ,GAAG,QAAQ;IAIrD;;;OAGG;IACH,MAAM,CAAC,gBAAgB,CAAC,KAAK,EAAE,MAAM,GAAG,QAAQ,GAAG,SAAS;CAG/D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resources-config-operations.utils.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"resources-config-operations.utils.js","sourceRoot":"","sources":["../../../../../src/resources/utils/resources-config-operations.utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAA4E,QAAQ,EAAE,MAAM,oCAAoC,CAAC;AACxI,OAAO,EAAE,qBAAqB,EAAE,MAAM,sCAAsC,CAAC;AAG7E,MAAM,OAAO,uBAAuB;IACzB,MAAM,CAAC,qCAAqC,CAAC,SAAyD;QACzG,IAAI,MAAM,CAAC,MAAM,CAAC,qBAAqB,CAAC,CAAC,QAAQ,CAAC,SAAS,CAAC,mBAA4C,CAAC,EAAE,CAAC;YACxG,OAAO,SAAS,CAAC,mBAA4C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gB,CAAC,QAAkB;QACxC,OAAO,QAAQ,CAAC;IAClB,CAAC;IAED;;;OAGG;IACH,MAAM,CAAC,gBAAgB,CAAC,KAAa;QACnC,OAAO,IAAI,CAAC,uBAAuB,CAAC,KAAK,CAAC,CAAC;IAC7C,CAAC;CACJ","sourcesContent":["import { ResourceConfiguration_Operation, ResourceConfiguration_Operation_ApiCall, DataMode } from \"../resources-config.shared.schemas\";\nimport { CoreResourceOperation } from \"../resources.shared.core.definitions\";\n\n\nexport class ResourceOperationsUtils {\n public static getCoreResourceOperationFromOperation(operation: ResourceConfiguration_Operation<any, any, any>): CoreResourceOperation | undefined {\n if (Object.values(CoreResourceOperation).includes(operation.operationIdentifier as CoreResourceOperation)) {\n return operation.operationIdentifier as CoreResourceOperation;\n\n } else if (operation.resourceOperationLike) {\n return operation.resourceOperationLike;\n }\n return undefined;\n }\n\n /**\n * Normalize a string value to DataMode enum.\n * Handles case-insensitive matching and both enum and string values.\n *\n * DataMode enum values are lowercase ('raw', 'summary', 'context'),\n * matching URL/serialization format directly.\n *\n * @param value - String or DataMode enum value to normalize\n * @returns Normalized DataMode enum, or undefined if value doesn't match\n */\n static normalizeDataModeString(\n value: string | DataMode | undefined\n ): DataMode | undefined {\n if (!value) {\n return undefined;\n }\n\n const normalized = String(value).toLowerCase();\n\n if (normalized === DataMode.RAW || normalized === DataMode.SUMMARY || normalized === DataMode.CONTEXT) {\n return normalized as DataMode;\n }\n\n return undefined;\n }\n\n /**\n * Extract DataMode from various sources (query params, payload, etc.).\n * Priority: propDataMode > source value > default\n *\n * @param source - Source object with optional dataMode property, or string value, or undefined\n * @param propDataMode - Explicit DataMode value (highest priority)\n * @param defaultDataMode - Default DataMode if no value found (defaults to RAW)\n * @returns Extracted DataMode enum value\n */\n static extractDataMode(\n source?: { dataMode?: DataMode | string } | string | undefined,\n propDataMode?: DataMode,\n defaultDataMode: DataMode = DataMode.RAW\n ): DataMode {\n // Priority 1: Explicit prop value\n if (propDataMode) {\n return propDataMode;\n }\n\n // Priority 2: Extract from source\n let sourceValue: string | DataMode | undefined;\n if (typeof source === 'string') {\n sourceValue = source;\n } else if (source && typeof source === 'object' && 'dataMode' in source) {\n sourceValue = source.dataMode;\n }\n\n const normalized = this.normalizeDataModeString(sourceValue);\n if (normalized) {\n return normalized;\n }\n\n // Priority 3: Default\n return defaultDataMode;\n }\n\n /**\n * Convert DataMode enum to string for serialization (WebSocket schemas, URLs).\n * Since DataMode values are already lowercase, this is an identity cast.\n * Kept for API compatibility and explicit intent at call sites.\n */\n static dataModeToString(dataMode: DataMode): DataMode {\n return dataMode;\n }\n\n /**\n * Convert string to DataMode enum (case-insensitive).\n * Inverse of dataModeToString().\n */\n static stringToDataMode(value: string): DataMode | undefined {\n return this.normalizeDataModeString(value);\n }\n}\n"]}
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
* Utilities for serializing/deserializing operation paths and execution contexts
|
|
5
5
|
* for queue/RPC transport. Uses plain JSON serialization.
|
|
6
6
|
*/
|
|
7
|
-
import { ResourceConfiguration_OperationPath } from '../resources-config.shared.schemas
|
|
8
|
-
import { ExecutionContext_ExecutionType, ExecutionContext_InitiatorIds, ExecutionContext_RoleInfo, ExecutionContext_RelationshipContext } from '../../runtime/execution-context.shared.schemas
|
|
7
|
+
import { ResourceConfiguration_OperationPath } from '../resources-config.shared.schemas';
|
|
8
|
+
import { ExecutionContext_ExecutionType, ExecutionContext_InitiatorIds, ExecutionContext_RoleInfo, ExecutionContext_RelationshipContext } from '../../runtime/execution-context.shared.schemas';
|
|
9
9
|
/**
|
|
10
10
|
* Serialized execution context data structure.
|
|
11
11
|
* This is the plain object representation used in queue messages.
|
|
@@ -22,6 +22,81 @@ export interface SerializedExecutionContextData {
|
|
|
22
22
|
* Uses JSON.stringify/parse - no Zod schemas needed.
|
|
23
23
|
*/
|
|
24
24
|
export declare class ResourceSerializationUtils {
|
|
25
|
+
/**
|
|
26
|
+
* JSON replacer that makes `bigint` values serializable.
|
|
27
|
+
*
|
|
28
|
+
* RELATIONSHIP TO THE PRIMARY MECHANISM: since `installBigIntJsonEncoding`
|
|
29
|
+
* (`@wildo-ai/zod-decorators`) installs `BigInt.prototype.toJSON` at bootstrap,
|
|
30
|
+
* a bare `JSON.stringify` already encodes bigint as a decimal string everywhere.
|
|
31
|
+
* This replacer (and `stringifyWithBigInt` below) are now DEFENSE-IN-DEPTH:
|
|
32
|
+
* explicit, greppable bigint-safety at named transport boundaries (queue,
|
|
33
|
+
* webhook) that keeps them safe even if that bootstrap has not run, and produces
|
|
34
|
+
* the identical decimal-string wire form. See the full network-boundary
|
|
35
|
+
* mechanism map in `zod-decorators/src/install-bigint-json-encoding.ts`.
|
|
36
|
+
*
|
|
37
|
+
* `JSON.stringify` throws `TypeError: Do not know how to serialize a BigInt`
|
|
38
|
+
* for any `bigint` value — it has no default JSON representation. This is a
|
|
39
|
+
* real problem for the resource pipeline because `z_money` (`MoneyValue`)
|
|
40
|
+
* stores its `amount` as a `bigint` (see `@wildo-ai/zod-decorators` →
|
|
41
|
+
* `z_money`), deliberately, to avoid the >2^53 precision loss that `number`
|
|
42
|
+
* would introduce for monetary amounts. Any resource payload carrying a money
|
|
43
|
+
* field (prices, invoices, promotions, subscriptions, …) therefore cannot be
|
|
44
|
+
* fed to a bare `JSON.stringify` at a transport / logging boundary.
|
|
45
|
+
*
|
|
46
|
+
* This replacer encodes `bigint` as a **decimal string**, NOT a `number`:
|
|
47
|
+
* a string round-trips losslessly (`BigInt("1999")`), whereas `Number(1999n)`
|
|
48
|
+
* reintroduces exactly the precision risk `bigint` exists to prevent. The
|
|
49
|
+
* provider-boundary `Number()` narrowing (e.g. Stripe's numeric amount API)
|
|
50
|
+
* stays a deliberate, provider-specific conversion and is intentionally NOT
|
|
51
|
+
* the framework default here.
|
|
52
|
+
*
|
|
53
|
+
* NOTE ON QUEUE ROUND-TRIP: worker-side re-hydration of a queued payload
|
|
54
|
+
* (`JSON.parse` → re-validate against the operation's `internalDto`) coerces a
|
|
55
|
+
* money `amount` string back to `bigint` because the DTO network boundary now
|
|
56
|
+
* performs BOTH date and money-bigint coercion (`applyNetworkBoundaryCoercion`
|
|
57
|
+
* rewrites `z.bigint()` leaves to accept the decimal-string form). So a queued
|
|
58
|
+
* `z_money` operation round-trips losslessly through this replacer + that input
|
|
59
|
+
* coercion. This replacer independently keeps the SERIALIZE boundary from
|
|
60
|
+
* crashing (strictly better than an un-catchable enqueue throw). No queued
|
|
61
|
+
* money operation exists today anyway (billing money ops are INTERNAL_CALL /
|
|
62
|
+
* INLINE), so the queue path is crash-safety hardening, not an exercised path.
|
|
63
|
+
*
|
|
64
|
+
* WHY NO EQUIVALENT FOR `Date` (the natural follow-up question): `Date` does
|
|
65
|
+
* NOT need a replacer, because the serialize/deserialize asymmetry runs the
|
|
66
|
+
* opposite way to `bigint`.
|
|
67
|
+
* - SERIALIZE: `JSON.stringify` throws on `bigint` (no `toJSON` on its
|
|
68
|
+
* prototype) — hence this replacer. `Date` has `Date.prototype.toJSON`, so
|
|
69
|
+
* `JSON.stringify` silently emits an ISO string (`"2026-07-10T…Z"`). No
|
|
70
|
+
* throw, nothing to guard.
|
|
71
|
+
* - DESERIALIZE: both types land as strings after `JSON.parse`, and both are
|
|
72
|
+
* coerced back to their runtime type by the SAME DTO network boundary
|
|
73
|
+
* (`applyNetworkBoundaryCoercion` rewrites `z.date()` → `z.coerce.date()`
|
|
74
|
+
* AND `z.bigint()` → a string-accepting bigint). A queued payload is
|
|
75
|
+
* re-validated against the operation's `internalDto`, so an ISO-string date
|
|
76
|
+
* becomes a `Date` and a decimal-string money amount becomes a `bigint`.
|
|
77
|
+
* The load-bearing invariant for BOTH types is that the payload is re-hydrated
|
|
78
|
+
* THROUGH that coercing DTO — a raw `JSON.parse` with no re-validation would
|
|
79
|
+
* hand back a string for a date field just as it would for a money bigint.
|
|
80
|
+
*
|
|
81
|
+
* @param _key JSON key (unused — bigint can appear at any depth)
|
|
82
|
+
* @param value Value being serialized
|
|
83
|
+
* @returns The value unchanged, or its decimal-string form when it is a bigint
|
|
84
|
+
*/
|
|
85
|
+
static bigIntSafeJsonReplacer(_key: string, value: unknown): unknown;
|
|
86
|
+
/**
|
|
87
|
+
* `JSON.stringify` variant that is safe for payloads containing `bigint`
|
|
88
|
+
* (notably `z_money` / `MoneyValue` amounts).
|
|
89
|
+
*
|
|
90
|
+
* Use this at every pipeline serialization boundary that may receive a
|
|
91
|
+
* resource `data` / payload object — queue job payloads, external payload
|
|
92
|
+
* storage, debug logging of resource data — instead of a bare
|
|
93
|
+
* `JSON.stringify`, which throws on the first `bigint` it encounters.
|
|
94
|
+
*
|
|
95
|
+
* @param value Value to serialize
|
|
96
|
+
* @param space Optional pretty-print indentation (as in `JSON.stringify`)
|
|
97
|
+
* @returns JSON string with bigint values encoded as decimal strings
|
|
98
|
+
*/
|
|
99
|
+
static stringifyWithBigInt(value: unknown, space?: number): string;
|
|
25
100
|
/**
|
|
26
101
|
* Serialize operation path for transport.
|
|
27
102
|
* Use operationPathKey for routing, full path for execution.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resources-serialization.utils.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"resources-serialization.utils.d.ts","sourceRoot":"","sources":["../../../../../src/resources/utils/resources-serialization.utils.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,mCAAmC,EAAE,MAAM,oCAAoC,CAAC;AACzF,OAAO,EACL,8BAA8B,EAC9B,6BAA6B,EAC7B,yBAAyB,EACzB,oCAAoC,EACrC,MAAM,gDAAgD,CAAC;AAExD;;;GAGG;AACH,MAAM,WAAW,8BAA8B;IAC7C,aAAa,EAAE,8BAA8B,CAAC;IAC9C,YAAY,EAAE,6BAA6B,GAAG,IAAI,CAAC;IACnD,cAAc,EAAE,yBAAyB,EAAE,CAAC;IAC5C,+BAA+B,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC,CAAC;IACnE,oBAAoB,CA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
12
|
+
/**
|
|
13
|
+
* JSON replacer that makes `bigint` values serializable.
|
|
14
|
+
*
|
|
15
|
+
* RELATIONSHIP TO THE PRIMARY MECHANISM: since `installBigIntJsonEncoding`
|
|
16
|
+
* (`@wildo-ai/zod-decorators`) installs `BigInt.prototype.toJSON` at bootstrap,
|
|
17
|
+
* a bare `JSON.stringify` already encodes bigint as a decimal string everywhere.
|
|
18
|
+
* This replacer (and `stringifyWithBigInt` below) are now DEFENSE-IN-DEPTH:
|
|
19
|
+
* explicit, greppable bigint-safety at named transport boundaries (queue,
|
|
20
|
+
* webhook) that keeps them safe even if that bootstrap has not run, and produces
|
|
21
|
+
* the identical decimal-string wire form. See the full network-boundary
|
|
22
|
+
* mechanism map in `zod-decorators/src/install-bigint-json-encoding.ts`.
|
|
23
|
+
*
|
|
24
|
+
* `JSON.stringify` throws `TypeError: Do not know how to serialize a BigInt`
|
|
25
|
+
* for any `bigint` value — it has no default JSON representation. This is a
|
|
26
|
+
* real problem for the resource pipeline because `z_money` (`MoneyValue`)
|
|
27
|
+
* stores its `amount` as a `bigint` (see `@wildo-ai/zod-decorators` →
|
|
28
|
+
* `z_money`), deliberately, to avoid the >2^53 precision loss that `number`
|
|
29
|
+
* would introduce for monetary amounts. Any resource payload carrying a money
|
|
30
|
+
* field (prices, invoices, promotions, subscriptions, …) therefore cannot be
|
|
31
|
+
* fed to a bare `JSON.stringify` at a transport / logging boundary.
|
|
32
|
+
*
|
|
33
|
+
* This replacer encodes `bigint` as a **decimal string**, NOT a `number`:
|
|
34
|
+
* a string round-trips losslessly (`BigInt("1999")`), whereas `Number(1999n)`
|
|
35
|
+
* reintroduces exactly the precision risk `bigint` exists to prevent. The
|
|
36
|
+
* provider-boundary `Number()` narrowing (e.g. Stripe's numeric amount API)
|
|
37
|
+
* stays a deliberate, provider-specific conversion and is intentionally NOT
|
|
38
|
+
* the framework default here.
|
|
39
|
+
*
|
|
40
|
+
* NOTE ON QUEUE ROUND-TRIP: worker-side re-hydration of a queued payload
|
|
41
|
+
* (`JSON.parse` → re-validate against the operation's `internalDto`) coerces a
|
|
42
|
+
* money `amount` string back to `bigint` because the DTO network boundary now
|
|
43
|
+
* performs BOTH date and money-bigint coercion (`applyNetworkBoundaryCoercion`
|
|
44
|
+
* rewrites `z.bigint()` leaves to accept the decimal-string form). So a queued
|
|
45
|
+
* `z_money` operation round-trips losslessly through this replacer + that input
|
|
46
|
+
* coercion. This replacer independently keeps the SERIALIZE boundary from
|
|
47
|
+
* crashing (strictly better than an un-catchable enqueue throw). No queued
|
|
48
|
+
* money operation exists today anyway (billing money ops are INTERNAL_CALL /
|
|
49
|
+
* INLINE), so the queue path is crash-safety hardening, not an exercised path.
|
|
50
|
+
*
|
|
51
|
+
* WHY NO EQUIVALENT FOR `Date` (the natural follow-up question): `Date` does
|
|
52
|
+
* NOT need a replacer, because the serialize/deserialize asymmetry runs the
|
|
53
|
+
* opposite way to `bigint`.
|
|
54
|
+
* - SERIALIZE: `JSON.stringify` throws on `bigint` (no `toJSON` on its
|
|
55
|
+
* prototype) — hence this replacer. `Date` has `Date.prototype.toJSON`, so
|
|
56
|
+
* `JSON.stringify` silently emits an ISO string (`"2026-07-10T…Z"`). No
|
|
57
|
+
* throw, nothing to guard.
|
|
58
|
+
* - DESERIALIZE: both types land as strings after `JSON.parse`, and both are
|
|
59
|
+
* coerced back to their runtime type by the SAME DTO network boundary
|
|
60
|
+
* (`applyNetworkBoundaryCoercion` rewrites `z.date()` → `z.coerce.date()`
|
|
61
|
+
* AND `z.bigint()` → a string-accepting bigint). A queued payload is
|
|
62
|
+
* re-validated against the operation's `internalDto`, so an ISO-string date
|
|
63
|
+
* becomes a `Date` and a decimal-string money amount becomes a `bigint`.
|
|
64
|
+
* The load-bearing invariant for BOTH types is that the payload is re-hydrated
|
|
65
|
+
* THROUGH that coercing DTO — a raw `JSON.parse` with no re-validation would
|
|
66
|
+
* hand back a string for a date field just as it would for a money bigint.
|
|
67
|
+
*
|
|
68
|
+
* @param _key JSON key (unused — bigint can appear at any depth)
|
|
69
|
+
* @param value Value being serialized
|
|
70
|
+
* @returns The value unchanged, or its decimal-string form when it is a bigint
|
|
71
|
+
*/
|
|
72
|
+
static bigIntSafeJsonReplacer(_key, value) {
|
|
73
|
+
return typeof value === 'bigint' ? value.toString() : value;
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* `JSON.stringify` variant that is safe for payloads containing `bigint`
|
|
77
|
+
* (notably `z_money` / `MoneyValue` amounts).
|
|
78
|
+
*
|
|
79
|
+
* Use this at every pipeline serialization boundary that may receive a
|
|
80
|
+
* resource `data` / payload object — queue job payloads, external payload
|
|
81
|
+
* storage, debug logging of resource data — instead of a bare
|
|
82
|
+
* `JSON.stringify`, which throws on the first `bigint` it encounters.
|
|
83
|
+
*
|
|
84
|
+
* @param value Value to serialize
|
|
85
|
+
* @param space Optional pretty-print indentation (as in `JSON.stringify`)
|
|
86
|
+
* @returns JSON string with bigint values encoded as decimal strings
|
|
87
|
+
*/
|
|
88
|
+
static stringifyWithBigInt(value, space) {
|
|
89
|
+
return JSON.stringify(value, ResourceSerializationUtils.bigIntSafeJsonReplacer, space);
|
|
90
|
+
}
|
|
12
91
|
/**
|
|
13
92
|
* Serialize operation path for transport.
|
|
14
93
|
* Use operationPathKey for routing, full path for execution.
|
|
@@ -89,4 +168,4 @@ export class ResourceSerializationUtils {
|
|
|
89
168
|
}
|
|
90
169
|
}
|
|
91
170
|
}
|
|
92
|
-
//# sourceMappingURL=resources-serialization.utils.js.map
|
|
171
|
+
//# sourceMappingURL=resources-serialization.utils.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resources-serialization.utils.js","sourceRoot":"","sources":["../../../../src/resources/utils/resources-serialization.utils.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAsBH;;;GAGG;AACH,MAAM,OAAO,0BAA0B;IAErC;;;;;;OAMG;IACH,MAAM,CAAC,sBAAsB,CAAC,aAA4D;QACxF,OAAO,IAAI,CAAC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AO,IAAI,CAAC,YAAY,IAAI,IAAI,CAAC;QACnC,CAAC;QAAC,MAAM,CAAC;YACP,OAAO,IAAI,CAAC;QACd,CAAC;IACH,CAAC;CACF"}
|
|
1
|
+
{"version":3,"file":"resources-serialization.utils.js","sourceRoot":"","sources":["../../../../../src/resources/utils/resources-serialization.utils.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAsBH;;;GAGG;AACH,MAAM,OAAO,0BAA0B;IAErC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA2DG;IACH,MAAM,CAAC,sBAAsB,CAAC,IAAY,EAAE,KAAc;QACxD,OAAO,OAAO,KAAK,KAAK,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC;IAC9D,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,MAAM,CAAC,mBAAmB,CAAC,KAAc,EAAE,KAAc;QACvD,OAAO,IAAI,CAAC,SAAS,CAAC,KAAK,EAAE,0BAA0B,CAAC,sBAAsB,EAAE,KAAK,CAAC,CAAC;IACzF,CAAC;IAED;;;;;;OAMG;IACH,MAAM,CAAC,sBAAsB,CAAC,aAA4D;QACxF,OAAO,IAAI,CAAC,SAAS,CAAC;YACpB,kBAAkB,EAAE,aAAa,CAAC,kBAAkB;YACpD,mBAAmB,EAAE,aAAa,CAAC,mBAAmB;YACtD,WAAW,EAAE,aAAa,CAAC,WAAW;YACtC,UAAU,EAAE,aAAa,CAAC,UAAU;YACpC,kBAAkB,EAAE,aAAa,CAAC,kBAAkB;YACpD,eAAe,EAAE,aAAa,CAAC,eAAe;SAC/C,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,MAAM,CAAC,wBAAwB,CAAC,IAAY;QAC1C,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;IAC1B,CAAC;IAED;;;;;;;;;OASG;IACH,MAAM,CAAC,yBAAyB,CAAC,GAMhC;QACC,qDAAqD;QACrD,MAAM,mBAAmB,GAAsC,EAAE,CAAC;QAClE,GAAG,CAAC,qBAAqB,EAAE,CAAC,OAAO,CAAC,CAAC,KAAK,EAAE,GAAG,EAAE,EAAE;YACjD,mBAAmB,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC;QACnC,CAAC,CAAC,CAAC;QAEH,OAAO,IAAI,CAAC,SAAS,CAAC;YACpB,aAAa,EAAE,GAAG,CAAC,aAAa;YAChC,YAAY,EAAE,GAAG,CAAC,YAAY;YAC9B,cAAc,EAAE,GAAG,CAAC,cAAc;YAClC,+BAA+B,EAAE,mBAAmB;YACpD,oBAAoB,EAAE,GAAG,CAAC,oBAAoB;SAC/C,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;OAOG;IACH,MAAM,CAAC,+BAA+B,CAAC,IAAY;QACjD,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;IAC1B,CAAC;IAED;;;;;;OAMG;IACH,MAAM,CAAC,mBAAmB,CAAC,IAAwB;QACjD,IAAI,CAAC,IAAI;YAAE,OAAO,IAAI,CAAC;QACvB,IAAI,CAAC;YACH,MAAM,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;YAC9B,OAAO,IAAI,CAAC,YAAY,IAAI,IAAI,CAAC;QACnC,CAAC;QAAC,MAAM,CAAC;YACP,OAAO,IAAI,CAAC;QACd,CAAC;IACH,CAAC;CACF","sourcesContent":["/**\n * Resource Serialization Utilities\n * \n * Utilities for serializing/deserializing operation paths and execution contexts\n * for queue/RPC transport. Uses plain JSON serialization.\n */\n\nimport { ResourceConfiguration_OperationPath } from '../resources-config.shared.schemas';\nimport { \n ExecutionContext_ExecutionType,\n ExecutionContext_InitiatorIds,\n ExecutionContext_RoleInfo,\n ExecutionContext_RelationshipContext,\n} from '../../runtime/execution-context.shared.schemas';\n\n/**\n * Serialized execution context data structure.\n * This is the plain object representation used in queue messages.\n */\nexport interface SerializedExecutionContextData {\n executionType: ExecutionContext_ExecutionType;\n initiatorIds: ExecutionContext_InitiatorIds | null;\n initiatorRoles: ExecutionContext_RoleInfo[];\n contextResourcesFieldIdentifier: Record<string, string | string[]>;\n relationshipContexts?: ExecutionContext_RelationshipContext[];\n}\n\n/**\n * Serialization utilities for queue/RPC transport.\n * Uses JSON.stringify/parse - no Zod schemas needed.\n */\nexport class ResourceSerializationUtils {\n\n /**\n * JSON replacer that makes `bigint` values serializable.\n *\n * RELATIONSHIP TO THE PRIMARY MECHANISM: since `installBigIntJsonEncoding`\n * (`@wildo-ai/zod-decorators`) installs `BigInt.prototype.toJSON` at bootstrap,\n * a bare `JSON.stringify` already encodes bigint as a decimal string everywhere.\n * This replacer (and `stringifyWithBigInt` below) are now DEFENSE-IN-DEPTH:\n * explicit, greppable bigint-safety at named transport boundaries (queue,\n * webhook) that keeps them safe even if that bootstrap has not run, and produces\n * the identical decimal-string wire form. See the full network-boundary\n * mechanism map in `zod-decorators/src/install-bigint-json-encoding.ts`.\n *\n * `JSON.stringify` throws `TypeError: Do not know how to serialize a BigInt`\n * for any `bigint` value — it has no default JSON representation. This is a\n * real problem for the resource pipeline because `z_money` (`MoneyValue`)\n * stores its `amount` as a `bigint` (see `@wildo-ai/zod-decorators` →\n * `z_money`), deliberately, to avoid the >2^53 precision loss that `number`\n * would introduce for monetary amounts. Any resource payload carrying a money\n * field (prices, invoices, promotions, subscriptions, …) therefore cannot be\n * fed to a bare `JSON.stringify` at a transport / logging boundary.\n *\n * This replacer encodes `bigint` as a **decimal string**, NOT a `number`:\n * a string round-trips losslessly (`BigInt(\"1999\")`), whereas `Number(1999n)`\n * reintroduces exactly the precision risk `bigint` exists to prevent. The\n * provider-boundary `Number()` narrowing (e.g. Stripe's numeric amount API)\n * stays a deliberate, provider-specific conversion and is intentionally NOT\n * the framework default here.\n *\n * NOTE ON QUEUE ROUND-TRIP: worker-side re-hydration of a queued payload\n * (`JSON.parse` → re-validate against the operation's `internalDto`) coerces a\n * money `amount` string back to `bigint` because the DTO network boundary now\n * performs BOTH date and money-bigint coercion (`applyNetworkBoundaryCoercion`\n * rewrites `z.bigint()` leaves to accept the decimal-string form). So a queued\n * `z_money` operation round-trips losslessly through this replacer + that input\n * coercion. This replacer independently keeps the SERIALIZE boundary from\n * crashing (strictly better than an un-catchable enqueue throw). No queued\n * money operation exists today anyway (billing money ops are INTERNAL_CALL /\n * INLINE), so the queue path is crash-safety hardening, not an exercised path.\n *\n * WHY NO EQUIVALENT FOR `Date` (the natural follow-up question): `Date` does\n * NOT need a replacer, because the serialize/deserialize asymmetry runs the\n * opposite way to `bigint`.\n * - SERIALIZE: `JSON.stringify` throws on `bigint` (no `toJSON` on its\n * prototype) — hence this replacer. `Date` has `Date.prototype.toJSON`, so\n * `JSON.stringify` silently emits an ISO string (`\"2026-07-10T…Z\"`). No\n * throw, nothing to guard.\n * - DESERIALIZE: both types land as strings after `JSON.parse`, and both are\n * coerced back to their runtime type by the SAME DTO network boundary\n * (`applyNetworkBoundaryCoercion` rewrites `z.date()` → `z.coerce.date()`\n * AND `z.bigint()` → a string-accepting bigint). A queued payload is\n * re-validated against the operation's `internalDto`, so an ISO-string date\n * becomes a `Date` and a decimal-string money amount becomes a `bigint`.\n * The load-bearing invariant for BOTH types is that the payload is re-hydrated\n * THROUGH that coercing DTO — a raw `JSON.parse` with no re-validation would\n * hand back a string for a date field just as it would for a money bigint.\n *\n * @param _key JSON key (unused — bigint can appear at any depth)\n * @param value Value being serialized\n * @returns The value unchanged, or its decimal-string form when it is a bigint\n */\n static bigIntSafeJsonReplacer(_key: string, value: unknown): unknown {\n return typeof value === 'bigint' ? value.toString() : value;\n }\n\n /**\n * `JSON.stringify` variant that is safe for payloads containing `bigint`\n * (notably `z_money` / `MoneyValue` amounts).\n *\n * Use this at every pipeline serialization boundary that may receive a\n * resource `data` / payload object — queue job payloads, external payload\n * storage, debug logging of resource data — instead of a bare\n * `JSON.stringify`, which throws on the first `bigint` it encounters.\n *\n * @param value Value to serialize\n * @param space Optional pretty-print indentation (as in `JSON.stringify`)\n * @returns JSON string with bigint values encoded as decimal strings\n */\n static stringifyWithBigInt(value: unknown, space?: number): string {\n return JSON.stringify(value, ResourceSerializationUtils.bigIntSafeJsonReplacer, space);\n }\n\n /**\n * Serialize operation path for transport.\n * Use operationPathKey for routing, full path for execution.\n * \n * @param operationPath The operation path to serialize\n * @returns JSON string representation\n */\n static serializeOperationPath(operationPath: ResourceConfiguration_OperationPath<any, any>): string {\n return JSON.stringify({\n resourceIdentifier: operationPath.resourceIdentifier,\n operationIdentifier: operationPath.operationIdentifier,\n variantType: operationPath.variantType,\n variantKey: operationPath.variantKey,\n isOperationDefault: operationPath.isOperationDefault,\n isBulkOperation: operationPath.isBulkOperation,\n });\n }\n \n /**\n * Deserialize operation path from JSON string.\n * \n * @param json JSON string representation\n * @returns Operation path object\n */\n static deserializeOperationPath(json: string): ResourceConfiguration_OperationPath<any, any> {\n return JSON.parse(json);\n }\n \n /**\n * Serialize execution context for transport.\n * Extracts serializable data from ExecutionContext instance.\n * \n * Note: This method accepts an object with the ExecutionContext interface.\n * The actual ExecutionContext class is in saas-backend-lib.\n * \n * @param ctx ExecutionContext-like object with required properties\n * @returns JSON string representation\n */\n static serializeExecutionContext(ctx: {\n executionType: ExecutionContext_ExecutionType;\n initiatorIds: ExecutionContext_InitiatorIds | null;\n initiatorRoles: ExecutionContext_RoleInfo[];\n getContextResourceIds: () => ReadonlyMap<string, string | string[]>;\n relationshipContexts: ExecutionContext_RelationshipContext[];\n }): string {\n // Convert Map to plain object for JSON serialization\n const contextResourcesObj: Record<string, string | string[]> = {};\n ctx.getContextResourceIds().forEach((value, key) => {\n contextResourcesObj[key] = value;\n });\n \n return JSON.stringify({\n executionType: ctx.executionType,\n initiatorIds: ctx.initiatorIds,\n initiatorRoles: ctx.initiatorRoles,\n contextResourcesFieldIdentifier: contextResourcesObj,\n relationshipContexts: ctx.relationshipContexts,\n });\n }\n \n /**\n * Deserialize to raw data.\n * Note: ExecutionContext reconstruction is backend-only and requires\n * ExecutionContextCreatorBackendService.reconstructFromSerializedData()\n * \n * @param json JSON string representation\n * @returns Plain object with execution context data\n */\n static deserializeExecutionContextData(json: string): SerializedExecutionContextData {\n return JSON.parse(json);\n }\n \n /**\n * Parse serialized execution context to extract initiator IDs for querying.\n * Useful for extracting org/user IDs without full reconstruction.\n * \n * @param json Serialized execution context JSON\n * @returns Initiator IDs object or null\n */\n static extractInitiatorIds(json: string | undefined): ExecutionContext_InitiatorIds | null {\n if (!json) return null;\n try {\n const data = JSON.parse(json);\n return data.initiatorIds ?? null;\n } catch {\n return null;\n }\n }\n}\n"]}
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* @see Section 4.3 of RESOURCE_DERIVED_OBJECTS_RATIONALIZATION.md
|
|
8
8
|
*/
|
|
9
9
|
import { z } from 'zod';
|
|
10
|
-
import { ResourceConfiguration_InheritanceSchemaDefinition } from '../resources-config.shared.schemas
|
|
10
|
+
import { ResourceConfiguration_InheritanceSchemaDefinition } from '../resources-config.shared.schemas';
|
|
11
11
|
/**
|
|
12
12
|
* Options for deriving a summary schema
|
|
13
13
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resources-summary.utils.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"resources-summary.utils.d.ts","sourceRoot":"","sources":["../../../../../src/resources/utils/resources-summary.utils.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,OAAO,EAAE,iDAAiD,EAAE,MAAM,oCAAoC,CAAC;AAEvG;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC,+CAA+C;IAC/C,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,gEAAgE;IAChE,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,4DAA4D;IAC5D,gBAAgB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC5B,iDAAiD;IACjD,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC;CAC1B;AAED;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACtC,KAAK,EAAE,OAAO,CAAC;IACf,MAAM,EAAE,MAAM,EAAE,CAAC;CAClB;AAiBD;;GAEG;AACH,qBAAa,qBAAqB;IAEhC;;;;;;;;;;;;;OAaG;IACH,MAAM,CAAC,mBAAmB,CACxB,UAAU,EAAE,CAAC,CAAC,UAAU,EACxB,OAAO,CAAC,EAAE,oBAAoB,GAC7B,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,WAAW,CAAC;IA0C7B;;;;;;OAMG;IACH,MAAM,CAAC,qBAAqB,CAC1B,aAAa,EAAE,CAAC,CAAC,UAAU,EAC3B,UAAU,EAAE,CAAC,CAAC,UAAU,GACvB,uBAAuB;IA0B1B;;;;;;;;;;;;OAYG;IACH,MAAM,CAAC,wCAAwC,CAC7C,WAAW,SAAS,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,WAAW,CAAC,EAE9C,UAAU,EAAE,WAAW,EACvB,qBAAqB,EAAE,iDAAiD,CAAC,GAAG,EAAE,WAAW,CAAC,EAC1F,OAAO,CAAC,EAAE,oBAAoB,GAC7B,CAAC,CAAC,UAAU;IA6Df;;OAEG;IACH,MAAM,CAAC,mBAAmB,CAAC,WAAW,EAAE,CAAC,CAAC,UAAU,GAAG,OAAO;IAI9D;;OAEG;IACH,MAAM,CAAC,oBAAoB,CAAC,MAAM,EAAE,CAAC,CAAC,UAAU,GAAG,MAAM,EAAE;CAoB5D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resources-summary.utils.js","sourceRoot":"","sources":["../../../../src/resources/utils/resources-summary.utils.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EACL,iBAAiB,EACjB,cAAc,EACd,kBAAkB,GACnB,MAAM,0BAA0B,CAAC;A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AAS,CAAC,CAAC;gBACzB,CAAC;YACH,CAAC;QACH,CAAC;QAAC,MAAM,CAAC;YACP,8BAA8B;QAChC,CAAC;QAED,OAAO,MAAM,CAAC;IAChB,CAAC;CAEF"}
|
|
1
|
+
{"version":3,"file":"resources-summary.utils.js","sourceRoot":"","sources":["../../../../../src/resources/utils/resources-summary.utils.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EACL,iBAAiB,EACjB,cAAc,EACd,kBAAkB,GACnB,MAAM,0BAA0B,CAAC;AAyBlC;;GAEG;AACH,MAAM,sBAAsB,GAAyB;IACnD,SAAS,EAAE,IAAI;IACf,kBAAkB,EAAE,KAAK;IACzB,gBAAgB,EAAE,EAAE;IACpB,aAAa,EAAE,EAAE;CAClB,CAAC;AAOF;;GAEG;AACH,MAAM,OAAO,qBAAqB;IAEhC;;;;;;;;;;;;;OAaG;IACH,MAAM,CAAC,mBAAmB,CACxB,UAAwB,EACxB,OAA8B;QAE9B,MAAM,IAAI,GAAG,EAAE,GAAG,sBAAsB,EAAE,GAAG,OAAO,EAAE,CAAC;QACvD,MAAM,KAAK,GAAG,iBAAiB,CAAC,UAAU,CAAC,CAAC;QAC5C,MAAM,YAAY,GAAoB,EAAE,CAAC;QAEzC,kCAAkC;QAClC,IAAI,IAAI,CAAC,SAAS,IAAI,KAAK,CAAC,GAAG,EAAE,CAAC;YAChC,YAAY,CAAC,GAAG,GAAG,KAAK,CAAC,GAAmB,CAAC;QAC/C,CAAC;QAED,iDAAiD;QACjD,KAAK,MAAM,KAAK,IAAI,IAAI,CAAC,gBAAgB,IAAI,EAAE,EAAE,CAAC;YAChD,IAAI,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,aAAa,EAAE,QAAQ,CAAC,KAAK,CAAC,EAAE,CAAC;gBACzD,YAAY,CAAC,KAAK,CAAC,GAAG,KAAK,CAAC,KAAK,CAAiB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AAoB;QAC9C,MAAM,MAAM,GAAa,EAAE,CAAC;QAE5B,IAAI,CAAC;YACH,MAAM,KAAK,GAAG,iBAAiB,CAAC,MAAM,CAAC,CAAC;YAExC,KAAK,MAAM,CAAC,SAAS,EAAE,WAAW,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC;gBAC7D,MAAM,WAAW,GAAG,WAA2B,CAAC;gBAEhD,IAAI,cAAc,CAAC,WAAW,CAAC,IAAI,CAAC,kBAAkB,CAAC,WAAW,CAAC,EAAE,CAAC;oBACpE,MAAM,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;gBACzB,CAAC;YACH,CAAC;QACH,CAAC;QAAC,MAAM,CAAC;YACP,8BAA8B;QAChC,CAAC;QAED,OAAO,MAAM,CAAC;IAChB,CAAC;CAEF","sourcesContent":["/**\n * Resource Summary Utilities\n *\n * Utilities for deriving summary schemas from main schemas using decorators.\n * Summary schemas are lighter versions used for list/search operations.\n *\n * @see Section 4.3 of RESOURCE_DERIVED_OBJECTS_RATIONALIZATION.md\n */\n\nimport { z } from 'zod';\nimport {\n getZodObjectShape,\n isSummaryField,\n isBackendOnlyField,\n} from '@wildo-ai/zod-decorators';\nimport { ResourceConfiguration_InheritanceSchemaDefinition } from '../resources-config.shared.schemas';\n\n/**\n * Options for deriving a summary schema\n */\nexport interface DeriveSummaryOptions {\n /** Always include _id field (default: true) */\n includeId?: boolean;\n /** Include foreign key fields automatically (default: false) */\n includeForeignKeys?: boolean;\n /** Additional fields to include regardless of decorators */\n additionalFields?: string[];\n /** Fields to exclude regardless of decorators */\n excludeFields?: string[];\n}\n\n/**\n * Result of summary schema validation\n */\nexport interface SummaryValidationResult {\n valid: boolean;\n issues: string[];\n}\n\n/**\n * Default summary derivation options\n */\nconst DEFAULT_DERIVE_OPTIONS: DeriveSummaryOptions = {\n includeId: true,\n includeForeignKeys: false,\n additionalFields: [],\n excludeFields: [],\n};\n\n/**\n * Mutable shape type for building schemas\n */\ntype MutableZodShape = Record<string, z.ZodTypeAny>;\n\n/**\n * Utility class for deriving and validating summary schemas.\n */\nexport class ResourcesSummaryUtils {\n\n /**\n * Derive a summary schema from a main schema using decorator metadata.\n *\n * Rules:\n * - Include fields with `isSummaryField` decorator\n * - Include virtual fields that have BOTH `isVirtual` AND `isSummaryField` decorators\n * - Skip `isBackendOnly` fields\n * - Always include `_id` (unless explicitly excluded)\n * - Do NOT auto-include `isForeignKey` fields (must be explicit)\n *\n * @param mainSchema - The main schema to derive from\n * @param options - Configuration options\n * @returns A new Zod schema containing only summary fields\n */\n static deriveSummarySchema(\n mainSchema: z.ZodTypeAny,\n options?: DeriveSummaryOptions\n ): z.ZodObject<z.ZodRawShape> {\n const opts = { ...DEFAULT_DERIVE_OPTIONS, ...options };\n const shape = getZodObjectShape(mainSchema);\n const summaryShape: MutableZodShape = {};\n\n // Always include _id if requested\n if (opts.includeId && shape._id) {\n summaryShape._id = shape._id as z.ZodTypeAny;\n }\n\n // Include additional explicitly requested fields\n for (const field of opts.additionalFields || []) {\n if (shape[field] && !opts.excludeFields?.includes(field)) {\n summaryShape[field] = shape[field] as z.ZodTypeAny;\n }\n }\n\n // Scan all fields for isSummaryField decorator\n for (const [fieldName, fieldSchema] of Object.entries(shape)) {\n // Skip if already added or excluded\n if (summaryShape[fieldName] || opts.excludeFields?.includes(fieldName)) {\n continue;\n }\n\n const typedSchema = fieldSchema as z.ZodTypeAny;\n\n // Skip backend-only fields\n if (isBackendOnlyField(typedSchema)) {\n continue;\n }\n\n // Include if has isSummaryField decorator\n if (isSummaryField(typedSchema)) {\n // Virtual fields with isSummaryField are also included\n // The virtual field computation happens at the service layer\n summaryShape[fieldName] = typedSchema;\n }\n }\n\n return z.object(summaryShape as z.ZodRawShape);\n }\n\n /**\n * Validate that a summary schema does not contain backend-only fields.\n *\n * @param summarySchema - The summary schema to validate\n * @param mainSchema - The main schema for reference\n * @returns Validation result with issues list\n */\n static validateSummarySchema(\n summarySchema: z.ZodTypeAny,\n mainSchema: z.ZodTypeAny\n ): SummaryValidationResult {\n const issues: string[] = [];\n\n try {\n const summaryShape = getZodObjectShape(summarySchema);\n const mainShape = getZodObjectShape(mainSchema);\n\n for (const [fieldName] of Object.entries(summaryShape)) {\n const mainFieldSchema = mainShape[fieldName];\n\n if (mainFieldSchema && isBackendOnlyField(mainFieldSchema as z.ZodTypeAny)) {\n issues.push(\n `Field '${fieldName}' has isBackendOnly decorator but is included in summary schema`\n );\n }\n }\n } catch (error) {\n issues.push(`Failed to validate summary schema: ${error}`);\n }\n\n return {\n valid: issues.length === 0,\n issues,\n };\n }\n\n /**\n * Derive summary schema for a discriminated union (inheritance).\n *\n * Creates a discriminated union of summary schemas where:\n * - Base summary fields apply to all variants\n * - Variant-specific summary fields apply only to that variant\n * - Discriminator field is always included in all variants\n *\n * @param mainSchema - The base schema\n * @param inheritanceDefinition - The inheritance schema definition\n * @param options - Derivation options\n * @returns A discriminated union summary schema or base summary\n */\n static deriveSummarySchemaForDiscriminatedUnion<\n TMainSchema extends z.ZodObject<z.ZodRawShape>\n >(\n mainSchema: TMainSchema,\n inheritanceDefinition: ResourceConfiguration_InheritanceSchemaDefinition<any, TMainSchema>,\n options?: DeriveSummaryOptions\n ): z.ZodTypeAny {\n\n const discriminatorField = inheritanceDefinition.discriminatorField;\n const baseSummary = this.deriveSummarySchema(mainSchema, options);\n const baseShape = getZodObjectShape(baseSummary);\n\n // Ensure discriminator field is included - create mutable copy\n const mainShape = getZodObjectShape(mainSchema);\n const mutableBaseShape: MutableZodShape = {};\n for (const [key, value] of Object.entries(baseShape)) {\n mutableBaseShape[key] = value as z.ZodTypeAny;\n }\n if (!mutableBaseShape[discriminatorField] && mainShape[discriminatorField]) {\n mutableBaseShape[discriminatorField] = mainShape[discriminatorField] as z.ZodTypeAny;\n }\n\n const variantSummaries: z.ZodObject<z.ZodRawShape>[] = [];\n\n // Add base variants (values without inheritance)\n const baseValues = inheritanceDefinition.withoutInheritanceDiscriminatorFieldValues || [];\n for (const value of baseValues) {\n variantSummaries.push(\n z.object({\n ...mutableBaseShape,\n [discriminatorField]: z.literal(value),\n } as z.ZodRawShape)\n );\n }\n\n // Add inherited variant summaries\n for (const inherited of inheritanceDefinition.inheritedSchemas || []) {\n const inheritedSummary = this.deriveSummarySchema(inherited.schema, options);\n const inheritedShape = getZodObjectShape(inheritedSummary);\n\n // Merge base summary with inherited summary\n const mergedShape: MutableZodShape = { ...mutableBaseShape };\n for (const [key, value] of Object.entries(inheritedShape)) {\n mergedShape[key] = value as z.ZodTypeAny;\n }\n mergedShape[discriminatorField] = z.literal(inherited.discriminatorFieldValue);\n\n variantSummaries.push(z.object(mergedShape as z.ZodRawShape));\n }\n\n // If only one variant, return it directly\n if (variantSummaries.length === 1) {\n return variantSummaries[0];\n }\n\n // Create discriminated union (use any to avoid Zod 4 type complexity)\n if (variantSummaries.length >= 2) {\n return z.discriminatedUnion(\n discriminatorField,\n variantSummaries as any\n );\n }\n\n // Fallback to base summary if no variants\n return baseSummary;\n }\n\n /**\n * Check if a field is a valid summary field (has decorator and is not backend-only).\n */\n static isValidSummaryField(fieldSchema: z.ZodTypeAny): boolean {\n return isSummaryField(fieldSchema) && !isBackendOnlyField(fieldSchema);\n }\n\n /**\n * Get all summary field names from a schema.\n */\n static getSummaryFieldNames(schema: z.ZodTypeAny): string[] {\n const result: string[] = [];\n\n try {\n const shape = getZodObjectShape(schema);\n\n for (const [fieldName, fieldSchema] of Object.entries(shape)) {\n const typedSchema = fieldSchema as z.ZodTypeAny;\n\n if (isSummaryField(typedSchema) && !isBackendOnlyField(typedSchema)) {\n result.push(fieldName);\n }\n }\n } catch {\n // Schema may not be an object\n }\n\n return result;\n }\n\n}\n"]}
|