@wildo-ai/saas-models 1.1.5 → 1.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/__tests__/setup.d.ts.map +1 -1
- package/dist/esm/__tests__/setup.js.map +1 -1
- package/dist/esm/_inspect.d.ts.map +1 -1
- package/dist/esm/_inspect.js.map +1 -1
- 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.map +1 -1
- package/dist/esm/applications/application-subject.shared.schemas.d.ts.map +1 -1
- package/dist/esm/applications/application-subject.shared.schemas.js.map +1 -1
- 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 +2 -1
- package/dist/esm/applications/application-versions.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/applications/applications-context.schemas.d.ts +176 -2
- package/dist/esm/applications/applications-context.schemas.d.ts.map +1 -1
- package/dist/esm/applications/applications-context.schemas.js.map +1 -1
- package/dist/esm/applications/applications.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/applications/applications.shared.resources-config.schemas.js +3 -2
- package/dist/esm/applications/applications.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/applications/applications.shared.schemas.d.ts +7 -5
- package/dist/esm/applications/applications.shared.schemas.d.ts.map +1 -1
- package/dist/esm/applications/applications.shared.schemas.js +6 -4
- package/dist/esm/applications/applications.shared.schemas.js.map +1 -1
- package/dist/esm/billing/billing-account.shared.resources-config.schemas.d.ts +10 -1
- 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 +49 -15
- package/dist/esm/billing/billing-account.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/billing/billing-account.shared.schemas.d.ts.map +1 -1
- package/dist/esm/billing/billing-account.shared.schemas.js +2 -2
- package/dist/esm/billing/billing-account.shared.schemas.js.map +1 -1
- package/dist/esm/billing/billing-configuration.shared.schemas.d.ts +25 -0
- package/dist/esm/billing/billing-configuration.shared.schemas.d.ts.map +1 -1
- package/dist/esm/billing/billing-configuration.shared.schemas.js +19 -0
- package/dist/esm/billing/billing-configuration.shared.schemas.js.map +1 -1
- package/dist/esm/billing/billing-enums.shared.schemas.d.ts +27 -5
- package/dist/esm/billing/billing-enums.shared.schemas.d.ts.map +1 -1
- package/dist/esm/billing/billing-enums.shared.schemas.js +30 -4
- package/dist/esm/billing/billing-enums.shared.schemas.js.map +1 -1
- package/dist/esm/billing/billing-types.shared.schemas.d.ts +37 -11
- package/dist/esm/billing/billing-types.shared.schemas.d.ts.map +1 -1
- package/dist/esm/billing/billing-types.shared.schemas.js +31 -19
- package/dist/esm/billing/billing-types.shared.schemas.js.map +1 -1
- package/dist/esm/billing/credit-pool.shared.resources-config.schemas.d.ts +2 -0
- 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 +18 -7
- package/dist/esm/billing/credit-pool.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/billing/credit-pool.shared.schemas.d.ts +2 -0
- package/dist/esm/billing/credit-pool.shared.schemas.d.ts.map +1 -1
- package/dist/esm/billing/credit-pool.shared.schemas.js +7 -1
- package/dist/esm/billing/credit-pool.shared.schemas.js.map +1 -1
- 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 +6 -6
- package/dist/esm/billing/invoice-ref.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/billing/invoice-ref.shared.schemas.d.ts.map +1 -1
- package/dist/esm/billing/invoice-ref.shared.schemas.js +1 -1
- package/dist/esm/billing/invoice-ref.shared.schemas.js.map +1 -1
- package/dist/esm/billing/price.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/billing/price.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/billing/price.shared.schemas.d.ts.map +1 -1
- package/dist/esm/billing/price.shared.schemas.js +5 -3
- package/dist/esm/billing/price.shared.schemas.js.map +1 -1
- package/dist/esm/billing/product-behavior-policy.shared.schemas.d.ts +11 -1
- package/dist/esm/billing/product-behavior-policy.shared.schemas.d.ts.map +1 -1
- package/dist/esm/billing/product-behavior-policy.shared.schemas.js +39 -23
- package/dist/esm/billing/product-behavior-policy.shared.schemas.js.map +1 -1
- package/dist/esm/billing/product-definition.shared.schemas.d.ts +30 -2
- package/dist/esm/billing/product-definition.shared.schemas.d.ts.map +1 -1
- package/dist/esm/billing/product-definition.shared.schemas.js +35 -0
- package/dist/esm/billing/product-definition.shared.schemas.js.map +1 -1
- package/dist/esm/billing/product.shared.resources-config.schemas.d.ts +6 -3
- package/dist/esm/billing/product.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/billing/product.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/billing/product.shared.schemas.d.ts +7 -3
- package/dist/esm/billing/product.shared.schemas.d.ts.map +1 -1
- package/dist/esm/billing/product.shared.schemas.js +22 -7
- package/dist/esm/billing/product.shared.schemas.js.map +1 -1
- package/dist/esm/billing/promotions.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/billing/promotions.shared.resources-config.schemas.js +8 -8
- package/dist/esm/billing/promotions.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/billing/promotions.shared.schemas.d.ts.map +1 -1
- package/dist/esm/billing/promotions.shared.schemas.js.map +1 -1
- package/dist/esm/billing/public-pricing-catalog.shared.atoms.d.ts +135 -0
- package/dist/esm/billing/public-pricing-catalog.shared.atoms.d.ts.map +1 -0
- package/dist/esm/billing/public-pricing-catalog.shared.atoms.js +112 -0
- package/dist/esm/billing/public-pricing-catalog.shared.atoms.js.map +1 -0
- package/dist/esm/billing/public-pricing-catalog.shared.d.ts +30 -0
- package/dist/esm/billing/public-pricing-catalog.shared.d.ts.map +1 -0
- package/dist/esm/billing/public-pricing-catalog.shared.js +53 -0
- package/dist/esm/billing/public-pricing-catalog.shared.js.map +1 -0
- package/dist/esm/billing/referral-reward.shared.schemas.d.ts +51 -0
- package/dist/esm/billing/referral-reward.shared.schemas.d.ts.map +1 -0
- package/dist/esm/billing/referral-reward.shared.schemas.js +92 -0
- package/dist/esm/billing/referral-reward.shared.schemas.js.map +1 -0
- package/dist/esm/billing/referral.shared.resources-config.schemas.d.ts +54 -33
- package/dist/esm/billing/referral.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/billing/referral.shared.resources-config.schemas.js +56 -2
- package/dist/esm/billing/referral.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/billing/referral.shared.schemas.d.ts +22 -37
- package/dist/esm/billing/referral.shared.schemas.d.ts.map +1 -1
- package/dist/esm/billing/referral.shared.schemas.js +24 -44
- package/dist/esm/billing/referral.shared.schemas.js.map +1 -1
- package/dist/esm/billing/subscription.shared.resources-config.schemas.d.ts +9 -1
- package/dist/esm/billing/subscription.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/billing/subscription.shared.resources-config.schemas.js +55 -22
- package/dist/esm/billing/subscription.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/billing/subscription.shared.schemas.d.ts +80 -5
- package/dist/esm/billing/subscription.shared.schemas.d.ts.map +1 -1
- package/dist/esm/billing/subscription.shared.schemas.js +85 -25
- package/dist/esm/billing/subscription.shared.schemas.js.map +1 -1
- package/dist/esm/billing/usage-flush-evidence.shared.schemas.d.ts.map +1 -1
- package/dist/esm/billing/usage-flush-evidence.shared.schemas.js.map +1 -1
- 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.map +1 -1
- package/dist/esm/billing/usage-record.shared.schemas.d.ts.map +1 -1
- package/dist/esm/billing/usage-record.shared.schemas.js +5 -5
- package/dist/esm/billing/usage-record.shared.schemas.js.map +1 -1
- package/dist/esm/charts/aggregation-query.shared.schemas.d.ts.map +1 -1
- 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.map +1 -1
- package/dist/esm/charts/chart-definition-builder.shared.d.ts.map +1 -1
- package/dist/esm/charts/chart-definition-builder.shared.js.map +1 -1
- package/dist/esm/companion/artifact-placement.shared.definitions.d.ts.map +1 -1
- package/dist/esm/companion/artifact-placement.shared.definitions.js.map +1 -1
- package/dist/esm/companion/provider-discovery.shared.schemas.d.ts +143 -2
- package/dist/esm/companion/provider-discovery.shared.schemas.d.ts.map +1 -1
- package/dist/esm/companion/provider-discovery.shared.schemas.js +84 -1
- package/dist/esm/companion/provider-discovery.shared.schemas.js.map +1 -1
- package/dist/esm/companion/shared-library-companion.shared.definitions.d.ts.map +1 -1
- package/dist/esm/companion/shared-library-companion.shared.definitions.js.map +1 -1
- package/dist/esm/companion-exports.d.ts.map +1 -1
- package/dist/esm/companion-exports.js.map +1 -1
- package/dist/esm/compliance/audit-trails/application-audit-logs.shared.resources-config.schemas.d.ts +14 -1
- package/dist/esm/compliance/audit-trails/application-audit-logs.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/audit-trails/application-audit-logs.shared.resources-config.schemas.js +4 -0
- package/dist/esm/compliance/audit-trails/application-audit-logs.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/compliance/audit-trails/audit-actor.shared.schemas.d.ts +70 -0
- package/dist/esm/compliance/audit-trails/audit-actor.shared.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/audit-trails/audit-actor.shared.schemas.js +87 -0
- package/dist/esm/compliance/audit-trails/audit-actor.shared.schemas.js.map +1 -1
- package/dist/esm/compliance/audit-trails/audit-export-projection.shared.schemas.d.ts +34 -0
- package/dist/esm/compliance/audit-trails/audit-export-projection.shared.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/audit-trails/audit-export-projection.shared.schemas.js +137 -3
- package/dist/esm/compliance/audit-trails/audit-export-projection.shared.schemas.js.map +1 -1
- package/dist/esm/compliance/audit-trails/audit-log-sink.shared.schemas.d.ts +7 -0
- package/dist/esm/compliance/audit-trails/audit-log-sink.shared.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/audit-trails/audit-log-sink.shared.schemas.js.map +1 -1
- package/dist/esm/compliance/audit-trails/audit-logs.shared.resources-config.schemas.d.ts +28 -2
- 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 +29 -8
- 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 +29 -6
- package/dist/esm/compliance/audit-trails/audit-trail-config.shared.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/audit-trails/audit-trail-config.shared.schemas.js +38 -9
- package/dist/esm/compliance/audit-trails/audit-trail-config.shared.schemas.js.map +1 -1
- package/dist/esm/compliance/audit-trails/auditable-events.shared.schema.d.ts +1822 -146
- 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 +1777 -87
- 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 +10 -0
- 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 +148 -7
- 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.map +1 -1
- package/dist/esm/compliance/data-classification/data-classification.shared.schemas.js.map +1 -1
- package/dist/esm/compliance/documents/governed-document-interactions.shared.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/documents/governed-document-interactions.shared.schemas.js.map +1 -1
- package/dist/esm/compliance/documents/governed-documents.shared.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/documents/governed-documents.shared.schemas.js.map +1 -1
- package/dist/esm/compliance/documents/user-governed-document-acceptances.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/documents/user-governed-document-acceptances.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/compliance/documents/user-governed-document-acceptances.shared.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/documents/user-governed-document-acceptances.shared.schemas.js.map +1 -1
- package/dist/esm/compliance/privacy/ai-use-posture.shared.schemas.d.ts +2 -0
- package/dist/esm/compliance/privacy/ai-use-posture.shared.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/privacy/ai-use-posture.shared.schemas.js +2 -0
- package/dist/esm/compliance/privacy/ai-use-posture.shared.schemas.js.map +1 -1
- package/dist/esm/compliance/privacy/capability-consent-purposes.shared.utils.d.ts.map +1 -1
- package/dist/esm/compliance/privacy/capability-consent-purposes.shared.utils.js.map +1 -1
- package/dist/esm/compliance/privacy/client-storage.shared.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/privacy/client-storage.shared.schemas.js.map +1 -1
- package/dist/esm/compliance/privacy/consent-gate-vocabulary.shared.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/privacy/consent-gate-vocabulary.shared.schemas.js.map +1 -1
- package/dist/esm/compliance/privacy/consent-purposes.shared.d.ts.map +1 -1
- package/dist/esm/compliance/privacy/consent-purposes.shared.js.map +1 -1
- package/dist/esm/compliance/privacy/data-subject-rights.shared.schemas.d.ts +17 -8
- package/dist/esm/compliance/privacy/data-subject-rights.shared.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/privacy/data-subject-rights.shared.schemas.js +43 -20
- package/dist/esm/compliance/privacy/data-subject-rights.shared.schemas.js.map +1 -1
- package/dist/esm/compliance/privacy/impersonalization-scrub.shared.utils.d.ts.map +1 -1
- package/dist/esm/compliance/privacy/impersonalization-scrub.shared.utils.js.map +1 -1
- package/dist/esm/compliance/privacy/impersonalization.shared.schemas.d.ts +38 -0
- package/dist/esm/compliance/privacy/impersonalization.shared.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/privacy/impersonalization.shared.schemas.js +39 -0
- package/dist/esm/compliance/privacy/impersonalization.shared.schemas.js.map +1 -1
- package/dist/esm/compliance/privacy/legal-hold-subject-attribution.shared.utils.d.ts +35 -0
- package/dist/esm/compliance/privacy/legal-hold-subject-attribution.shared.utils.d.ts.map +1 -0
- package/dist/esm/compliance/privacy/legal-hold-subject-attribution.shared.utils.js +82 -0
- package/dist/esm/compliance/privacy/legal-hold-subject-attribution.shared.utils.js.map +1 -0
- package/dist/esm/compliance/privacy/legal-holds.shared.resources-config.schemas.d.ts +37 -0
- package/dist/esm/compliance/privacy/legal-holds.shared.resources-config.schemas.d.ts.map +1 -0
- package/dist/esm/compliance/privacy/legal-holds.shared.resources-config.schemas.js +223 -0
- package/dist/esm/compliance/privacy/legal-holds.shared.resources-config.schemas.js.map +1 -0
- package/dist/esm/compliance/privacy/legal-holds.shared.schemas.d.ts +222 -0
- package/dist/esm/compliance/privacy/legal-holds.shared.schemas.d.ts.map +1 -0
- package/dist/esm/compliance/privacy/legal-holds.shared.schemas.js +331 -0
- package/dist/esm/compliance/privacy/legal-holds.shared.schemas.js.map +1 -0
- package/dist/esm/compliance/privacy/operating-jurisdictions.shared.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/privacy/operating-jurisdictions.shared.schemas.js.map +1 -1
- package/dist/esm/compliance/privacy/operator-compliance-identity.shared.schemas.d.ts +37 -3
- package/dist/esm/compliance/privacy/operator-compliance-identity.shared.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/privacy/operator-compliance-identity.shared.schemas.js +33 -4
- package/dist/esm/compliance/privacy/operator-compliance-identity.shared.schemas.js.map +1 -1
- package/dist/esm/compliance/privacy/personal-data-category.shared.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/privacy/personal-data-category.shared.schemas.js.map +1 -1
- package/dist/esm/compliance/privacy/personal-data-declaration.shared.utils.d.ts.map +1 -1
- package/dist/esm/compliance/privacy/personal-data-declaration.shared.utils.js.map +1 -1
- package/dist/esm/compliance/privacy/privacy.shared.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/privacy/privacy.shared.schemas.js.map +1 -1
- package/dist/esm/compliance/privacy/provider-capability-disclosure.shared.schemas.d.ts +52 -0
- package/dist/esm/compliance/privacy/provider-capability-disclosure.shared.schemas.d.ts.map +1 -0
- package/dist/esm/compliance/privacy/provider-capability-disclosure.shared.schemas.js +116 -0
- package/dist/esm/compliance/privacy/provider-capability-disclosure.shared.schemas.js.map +1 -0
- package/dist/esm/compliance/privacy/purpose-ref.shared.schemas.d.ts +11 -0
- package/dist/esm/compliance/privacy/purpose-ref.shared.schemas.d.ts.map +1 -0
- package/dist/esm/compliance/privacy/purpose-ref.shared.schemas.js +11 -0
- package/dist/esm/compliance/privacy/purpose-ref.shared.schemas.js.map +1 -0
- package/dist/esm/compliance/privacy/redaction.shared.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/privacy/redaction.shared.schemas.js.map +1 -1
- package/dist/esm/compliance/privacy/retention-binding.shared.utils.d.ts +93 -0
- package/dist/esm/compliance/privacy/retention-binding.shared.utils.d.ts.map +1 -0
- package/dist/esm/compliance/privacy/retention-binding.shared.utils.js +149 -0
- package/dist/esm/compliance/privacy/retention-binding.shared.utils.js.map +1 -0
- package/dist/esm/compliance/privacy/retention-enforcement-records.shared.resources-config.schemas.d.ts +43 -0
- package/dist/esm/compliance/privacy/retention-enforcement-records.shared.resources-config.schemas.d.ts.map +1 -0
- package/dist/esm/compliance/privacy/retention-enforcement-records.shared.resources-config.schemas.js +106 -0
- package/dist/esm/compliance/privacy/retention-enforcement-records.shared.resources-config.schemas.js.map +1 -0
- package/dist/esm/compliance/privacy/retention-enforcement-records.shared.schemas.d.ts +209 -0
- package/dist/esm/compliance/privacy/retention-enforcement-records.shared.schemas.d.ts.map +1 -0
- package/dist/esm/compliance/privacy/retention-enforcement-records.shared.schemas.js +226 -0
- package/dist/esm/compliance/privacy/retention-enforcement-records.shared.schemas.js.map +1 -0
- package/dist/esm/compliance/privacy/retention-schedule.shared.schemas.d.ts +129 -5
- package/dist/esm/compliance/privacy/retention-schedule.shared.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/privacy/retention-schedule.shared.schemas.js +128 -4
- package/dist/esm/compliance/privacy/retention-schedule.shared.schemas.js.map +1 -1
- package/dist/esm/compliance/privacy/retention-scope-deleted.shared.utils.d.ts +53 -0
- package/dist/esm/compliance/privacy/retention-scope-deleted.shared.utils.d.ts.map +1 -0
- package/dist/esm/compliance/privacy/retention-scope-deleted.shared.utils.js +74 -0
- package/dist/esm/compliance/privacy/retention-scope-deleted.shared.utils.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.map +1 -1
- package/dist/esm/compliance/privacy/subject-data-recipients.shared.schemas.d.ts +311 -0
- package/dist/esm/compliance/privacy/subject-data-recipients.shared.schemas.d.ts.map +1 -0
- package/dist/esm/compliance/privacy/subject-data-recipients.shared.schemas.js +355 -0
- package/dist/esm/compliance/privacy/subject-data-recipients.shared.schemas.js.map +1 -0
- package/dist/esm/compliance/privacy/subject-erasure-lane-evidence.shared.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/privacy/subject-erasure-lane-evidence.shared.schemas.js.map +1 -1
- package/dist/esm/compliance/privacy/subject-erasure.shared.schemas.d.ts +178 -39
- package/dist/esm/compliance/privacy/subject-erasure.shared.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/privacy/subject-erasure.shared.schemas.js +145 -35
- package/dist/esm/compliance/privacy/subject-erasure.shared.schemas.js.map +1 -1
- package/dist/esm/compliance/privacy/subject-export-render.shared.utils.d.ts.map +1 -1
- package/dist/esm/compliance/privacy/subject-export-render.shared.utils.js +26 -0
- package/dist/esm/compliance/privacy/subject-export-render.shared.utils.js.map +1 -1
- package/dist/esm/compliance/privacy/subject-export.shared.schemas.d.ts +9 -0
- package/dist/esm/compliance/privacy/subject-export.shared.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/privacy/subject-export.shared.schemas.js.map +1 -1
- package/dist/esm/compliance/review-cadence.shared.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/review-cadence.shared.schemas.js.map +1 -1
- package/dist/esm/compliance/risk-posture.shared.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/risk-posture.shared.schemas.js.map +1 -1
- package/dist/esm/config/analytics-value-moments.shared.schemas.d.ts.map +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 +109 -1
- package/dist/esm/config/app-configuration-shared.shared.schemas.d.ts.map +1 -1
- package/dist/esm/config/app-configuration-shared.shared.schemas.js +57 -0
- package/dist/esm/config/app-configuration-shared.shared.schemas.js.map +1 -1
- package/dist/esm/config/app-frontend-type.shared.schemas.d.ts.map +1 -1
- package/dist/esm/config/app-frontend-type.shared.schemas.js.map +1 -1
- package/dist/esm/config/auth-config-resolution.shared.utils.d.ts.map +1 -1
- package/dist/esm/config/auth-config-resolution.shared.utils.js.map +1 -1
- package/dist/esm/config/brand-assets.shared.schemas.d.ts.map +1 -1
- package/dist/esm/config/brand-assets.shared.schemas.js.map +1 -1
- package/dist/esm/config/configuration-validation.shared.schemas.d.ts.map +1 -1
- package/dist/esm/config/configuration-validation.shared.schemas.js.map +1 -1
- package/dist/esm/config/entity-identity-config.shared.schemas.d.ts +69 -0
- package/dist/esm/config/entity-identity-config.shared.schemas.d.ts.map +1 -1
- package/dist/esm/config/entity-identity-config.shared.schemas.js +93 -0
- package/dist/esm/config/entity-identity-config.shared.schemas.js.map +1 -1
- package/dist/esm/config/frontend/chart-definition.shared.schemas.d.ts +16 -16
- package/dist/esm/config/frontend/chart-definition.shared.schemas.d.ts.map +1 -1
- package/dist/esm/config/frontend/chart-definition.shared.schemas.js.map +1 -1
- package/dist/esm/config/frontend/chart-registration-alignment.shared.d.ts.map +1 -1
- package/dist/esm/config/frontend/chart-registration-alignment.shared.js.map +1 -1
- package/dist/esm/config/frontend/navigation.shared.schemas.d.ts +160 -61
- package/dist/esm/config/frontend/navigation.shared.schemas.d.ts.map +1 -1
- package/dist/esm/config/frontend/navigation.shared.schemas.js +297 -65
- package/dist/esm/config/frontend/navigation.shared.schemas.js.map +1 -1
- package/dist/esm/config/frontend/onboarding.shared.schemas.d.ts.map +1 -1
- 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.map +1 -1
- package/dist/esm/config/registration-acquisition-policy.shared.utils.d.ts.map +1 -1
- package/dist/esm/config/registration-acquisition-policy.shared.utils.js.map +1 -1
- package/dist/esm/config-authoring.entry.d.ts.map +1 -1
- package/dist/esm/config-authoring.entry.js.map +1 -1
- package/dist/esm/crdt/crdt-merge.shared.utils.d.ts.map +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.map +1 -1
- package/dist/esm/data-seeding/data-seeding-config.shared.schemas.js.map +1 -1
- package/dist/esm/errors/caught-error-description.shared.utils.d.ts +69 -0
- package/dist/esm/errors/caught-error-description.shared.utils.d.ts.map +1 -0
- package/dist/esm/errors/caught-error-description.shared.utils.js +77 -0
- package/dist/esm/errors/caught-error-description.shared.utils.js.map +1 -0
- package/dist/esm/errors/errors.custom-message-ref.shared.definitions.d.ts +76 -3
- 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 +76 -2
- package/dist/esm/errors/errors.custom-message-ref.shared.definitions.js.map +1 -1
- package/dist/esm/errors/errors.shared.definitions.d.ts.map +1 -1
- package/dist/esm/errors/errors.shared.definitions.js.map +1 -1
- package/dist/esm/errors/errors.shared.schemas.d.ts +20 -1
- package/dist/esm/errors/errors.shared.schemas.d.ts.map +1 -1
- package/dist/esm/errors/errors.shared.schemas.js +16 -9
- package/dist/esm/errors/errors.shared.schemas.js.map +1 -1
- package/dist/esm/errors/errors.shared.utils.d.ts +0 -24
- package/dist/esm/errors/errors.shared.utils.d.ts.map +1 -1
- package/dist/esm/errors/errors.shared.utils.js +0 -39
- package/dist/esm/errors/errors.shared.utils.js.map +1 -1
- package/dist/esm/errors/resource-access-forbidden.shared.error.d.ts.map +1 -1
- package/dist/esm/errors/resource-access-forbidden.shared.error.js.map +1 -1
- package/dist/esm/errors/thrown-value-description.shared.utils.d.ts +6 -7
- package/dist/esm/errors/thrown-value-description.shared.utils.d.ts.map +1 -1
- package/dist/esm/errors/thrown-value-description.shared.utils.js +6 -7
- package/dist/esm/errors/thrown-value-description.shared.utils.js.map +1 -1
- package/dist/esm/errors/zod-issue-formatting.shared.utils.d.ts.map +1 -1
- package/dist/esm/errors/zod-issue-formatting.shared.utils.js.map +1 -1
- package/dist/esm/exports/tabular-csv.shared.utils.d.ts.map +1 -1
- package/dist/esm/exports/tabular-csv.shared.utils.js.map +1 -1
- package/dist/esm/external-data/external-data-pipeline-description.shared.d.ts +70 -0
- package/dist/esm/external-data/external-data-pipeline-description.shared.d.ts.map +1 -0
- package/dist/esm/external-data/external-data-pipeline-description.shared.js +92 -0
- package/dist/esm/external-data/external-data-pipeline-description.shared.js.map +1 -0
- package/dist/esm/external-data/external-data-pipeline-pass-mode.shared.d.ts +154 -0
- package/dist/esm/external-data/external-data-pipeline-pass-mode.shared.d.ts.map +1 -0
- package/dist/esm/external-data/external-data-pipeline-pass-mode.shared.js +161 -0
- package/dist/esm/external-data/external-data-pipeline-pass-mode.shared.js.map +1 -0
- package/dist/esm/external-data/external-data-pipeline.shared.schemas.d.ts +1071 -23
- package/dist/esm/external-data/external-data-pipeline.shared.schemas.d.ts.map +1 -1
- package/dist/esm/external-data/external-data-pipeline.shared.schemas.js +1065 -17
- package/dist/esm/external-data/external-data-pipeline.shared.schemas.js.map +1 -1
- package/dist/esm/external-data/external-data-provenance.shared.d.ts +71 -0
- package/dist/esm/external-data/external-data-provenance.shared.d.ts.map +1 -0
- package/dist/esm/external-data/external-data-provenance.shared.js +88 -0
- package/dist/esm/external-data/external-data-provenance.shared.js.map +1 -0
- package/dist/esm/external-data.exports.d.ts +5 -0
- package/dist/esm/external-data.exports.d.ts.map +1 -1
- package/dist/esm/external-data.exports.js +11 -0
- package/dist/esm/external-data.exports.js.map +1 -1
- package/dist/esm/external-providers/compose-provider-registry.shared.d.ts.map +1 -1
- package/dist/esm/external-providers/compose-provider-registry.shared.js.map +1 -1
- package/dist/esm/external-providers/engine-capabilities.shared.schemas.d.ts +17 -2
- package/dist/esm/external-providers/engine-capabilities.shared.schemas.d.ts.map +1 -1
- package/dist/esm/external-providers/engine-capabilities.shared.schemas.js +22 -4
- package/dist/esm/external-providers/engine-capabilities.shared.schemas.js.map +1 -1
- package/dist/esm/external-providers/engine-capability-resolution-mode.shared.d.ts.map +1 -1
- package/dist/esm/external-providers/engine-capability-resolution-mode.shared.js +3 -0
- package/dist/esm/external-providers/engine-capability-resolution-mode.shared.js.map +1 -1
- package/dist/esm/external-providers/engine-capability-surface.shared.d.ts.map +1 -1
- package/dist/esm/external-providers/engine-capability-surface.shared.js +2 -0
- package/dist/esm/external-providers/engine-capability-surface.shared.js.map +1 -1
- package/dist/esm/external-providers/external-providers.shared.schemas.d.ts.map +1 -1
- package/dist/esm/external-providers/external-providers.shared.schemas.js.map +1 -1
- package/dist/esm/external-providers/frontend-bootstrap.shared.schemas.d.ts +152 -1
- package/dist/esm/external-providers/frontend-bootstrap.shared.schemas.d.ts.map +1 -1
- package/dist/esm/external-providers/frontend-bootstrap.shared.schemas.js.map +1 -1
- package/dist/esm/external-providers/frontend-capability-public-config.shared.schemas.d.ts +4 -3
- package/dist/esm/external-providers/frontend-capability-public-config.shared.schemas.d.ts.map +1 -1
- package/dist/esm/external-providers/frontend-capability-public-config.shared.schemas.js +4 -3
- package/dist/esm/external-providers/frontend-capability-public-config.shared.schemas.js.map +1 -1
- package/dist/esm/external-providers/frontend-capability-runtime.shared.types.d.ts +45 -0
- package/dist/esm/external-providers/frontend-capability-runtime.shared.types.d.ts.map +1 -1
- package/dist/esm/external-providers/frontend-capability-runtime.shared.types.js +14 -0
- package/dist/esm/external-providers/frontend-capability-runtime.shared.types.js.map +1 -1
- package/dist/esm/external-providers/frontend-provider-entry.shared.schemas.d.ts +188 -4
- package/dist/esm/external-providers/frontend-provider-entry.shared.schemas.d.ts.map +1 -1
- package/dist/esm/external-providers/frontend-provider-entry.shared.schemas.js +76 -9
- package/dist/esm/external-providers/frontend-provider-entry.shared.schemas.js.map +1 -1
- package/dist/esm/external-providers/frontend-provider-public-config.shared.d.ts +175 -33
- package/dist/esm/external-providers/frontend-provider-public-config.shared.d.ts.map +1 -1
- package/dist/esm/external-providers/frontend-provider-public-config.shared.js +247 -42
- package/dist/esm/external-providers/frontend-provider-public-config.shared.js.map +1 -1
- package/dist/esm/external-providers/model-cost-accounting-config.shared.schemas.d.ts +53 -0
- package/dist/esm/external-providers/model-cost-accounting-config.shared.schemas.d.ts.map +1 -0
- package/dist/esm/external-providers/model-cost-accounting-config.shared.schemas.js +41 -0
- package/dist/esm/external-providers/model-cost-accounting-config.shared.schemas.js.map +1 -0
- package/dist/esm/external-providers/provider-address-lookup-contract.shared.types.d.ts +150 -0
- package/dist/esm/external-providers/provider-address-lookup-contract.shared.types.d.ts.map +1 -0
- package/dist/esm/external-providers/provider-address-lookup-contract.shared.types.js +22 -0
- package/dist/esm/external-providers/provider-address-lookup-contract.shared.types.js.map +1 -0
- package/dist/esm/external-providers/provider-augmentation-opt-ins.shared.schemas.d.ts +42 -0
- package/dist/esm/external-providers/provider-augmentation-opt-ins.shared.schemas.d.ts.map +1 -0
- package/dist/esm/external-providers/provider-augmentation-opt-ins.shared.schemas.js +49 -0
- package/dist/esm/external-providers/provider-augmentation-opt-ins.shared.schemas.js.map +1 -0
- package/dist/esm/external-providers/provider-authentication-assurance.shared.schemas.d.ts.map +1 -1
- package/dist/esm/external-providers/provider-authentication-assurance.shared.schemas.js.map +1 -1
- package/dist/esm/external-providers/provider-browser-operations.shared.schemas.d.ts +53 -0
- package/dist/esm/external-providers/provider-browser-operations.shared.schemas.d.ts.map +1 -1
- package/dist/esm/external-providers/provider-browser-operations.shared.schemas.js +56 -0
- package/dist/esm/external-providers/provider-browser-operations.shared.schemas.js.map +1 -1
- package/dist/esm/external-providers/provider-capability.shared.schemas.d.ts +34 -0
- package/dist/esm/external-providers/provider-capability.shared.schemas.d.ts.map +1 -1
- package/dist/esm/external-providers/provider-capability.shared.schemas.js +34 -0
- package/dist/esm/external-providers/provider-capability.shared.schemas.js.map +1 -1
- package/dist/esm/external-providers/provider-compliance-profile.shared.schemas.d.ts +341 -4
- package/dist/esm/external-providers/provider-compliance-profile.shared.schemas.d.ts.map +1 -1
- package/dist/esm/external-providers/provider-compliance-profile.shared.schemas.js +270 -20
- package/dist/esm/external-providers/provider-compliance-profile.shared.schemas.js.map +1 -1
- package/dist/esm/external-providers/provider-frontend-component-contract.shared.types.d.ts +6 -2
- package/dist/esm/external-providers/provider-frontend-component-contract.shared.types.d.ts.map +1 -1
- package/dist/esm/external-providers/provider-frontend-component-contract.shared.types.js +6 -2
- package/dist/esm/external-providers/provider-frontend-component-contract.shared.types.js.map +1 -1
- package/dist/esm/external-providers/provider-frontend-surface.shared.schemas.d.ts +174 -1
- package/dist/esm/external-providers/provider-frontend-surface.shared.schemas.d.ts.map +1 -1
- package/dist/esm/external-providers/provider-frontend-surface.shared.schemas.js +125 -0
- package/dist/esm/external-providers/provider-frontend-surface.shared.schemas.js.map +1 -1
- package/dist/esm/external-providers/provider-metadata.shared.schemas.d.ts +3 -3
- package/dist/esm/external-providers/provider-metadata.shared.schemas.d.ts.map +1 -1
- package/dist/esm/external-providers/provider-metadata.shared.schemas.js.map +1 -1
- package/dist/esm/external-providers/provider-package-allow-list.shared.schemas.d.ts +42 -0
- package/dist/esm/external-providers/provider-package-allow-list.shared.schemas.d.ts.map +1 -0
- package/dist/esm/external-providers/provider-package-allow-list.shared.schemas.js +57 -0
- package/dist/esm/external-providers/provider-package-allow-list.shared.schemas.js.map +1 -0
- package/dist/esm/external-providers/provider-protocol.shared.schemas.d.ts +6 -0
- package/dist/esm/external-providers/provider-protocol.shared.schemas.d.ts.map +1 -1
- package/dist/esm/external-providers/provider-protocol.shared.schemas.js +6 -0
- package/dist/esm/external-providers/provider-protocol.shared.schemas.js.map +1 -1
- package/dist/esm/external-providers/provider-scope-reauthorization.shared.schemas.d.ts +58 -0
- package/dist/esm/external-providers/provider-scope-reauthorization.shared.schemas.d.ts.map +1 -0
- package/dist/esm/external-providers/provider-scope-reauthorization.shared.schemas.js +35 -0
- package/dist/esm/external-providers/provider-scope-reauthorization.shared.schemas.js.map +1 -0
- package/dist/esm/external-providers/provider-shared-connections.shared.schemas.d.ts +115 -0
- package/dist/esm/external-providers/provider-shared-connections.shared.schemas.d.ts.map +1 -0
- package/dist/esm/external-providers/provider-shared-connections.shared.schemas.js +137 -0
- package/dist/esm/external-providers/provider-shared-connections.shared.schemas.js.map +1 -0
- package/dist/esm/external-providers/provider-tier-rule.shared.utils.d.ts.map +1 -1
- package/dist/esm/external-providers/provider-tier-rule.shared.utils.js.map +1 -1
- package/dist/esm/external-providers/provider-usage-cost.shared.d.ts +73 -0
- package/dist/esm/external-providers/provider-usage-cost.shared.d.ts.map +1 -0
- package/dist/esm/external-providers/provider-usage-cost.shared.js +171 -0
- package/dist/esm/external-providers/provider-usage-cost.shared.js.map +1 -0
- package/dist/esm/external-providers/provider-usage-pricing.example.d.ts +12 -0
- package/dist/esm/external-providers/provider-usage-pricing.example.d.ts.map +1 -0
- package/dist/esm/external-providers/provider-usage-pricing.example.js +40 -0
- package/dist/esm/external-providers/provider-usage-pricing.example.js.map +1 -0
- package/dist/esm/external-providers/provider-usage-pricing.shared.schemas.d.ts +68 -32
- package/dist/esm/external-providers/provider-usage-pricing.shared.schemas.d.ts.map +1 -1
- package/dist/esm/external-providers/provider-usage-pricing.shared.schemas.js +63 -52
- package/dist/esm/external-providers/provider-usage-pricing.shared.schemas.js.map +1 -1
- package/dist/esm/features/application-features.shared.resources-config.schemas.d.ts +5 -5
- package/dist/esm/features/application-features.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/features/application-features.shared.resources-config.schemas.js +13 -5
- package/dist/esm/features/application-features.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/features/connected-feature.example.d.ts.map +1 -1
- package/dist/esm/features/connected-feature.example.js +2 -1
- package/dist/esm/features/connected-feature.example.js.map +1 -1
- package/dist/esm/features/core-feature-definitions.shared.d.ts.map +1 -1
- package/dist/esm/features/core-feature-definitions.shared.js +2 -1
- package/dist/esm/features/core-feature-definitions.shared.js.map +1 -1
- package/dist/esm/features/feature-builders.shared.d.ts.map +1 -1
- package/dist/esm/features/feature-builders.shared.js.map +1 -1
- package/dist/esm/features/feature-definition.shared.schemas.d.ts +2 -11
- package/dist/esm/features/feature-definition.shared.schemas.d.ts.map +1 -1
- package/dist/esm/features/feature-definition.shared.schemas.js +0 -12
- package/dist/esm/features/feature-definition.shared.schemas.js.map +1 -1
- package/dist/esm/features/feature-registry.shared.d.ts.map +1 -1
- package/dist/esm/features/feature-registry.shared.js.map +1 -1
- package/dist/esm/features/feature-resolution.shared.schemas.d.ts.map +1 -1
- package/dist/esm/features/feature-resolution.shared.schemas.js.map +1 -1
- package/dist/esm/features/scope-features.shared.schemas.d.ts +31 -17
- package/dist/esm/features/scope-features.shared.schemas.d.ts.map +1 -1
- package/dist/esm/features/scope-features.shared.schemas.js +27 -5
- package/dist/esm/features/scope-features.shared.schemas.js.map +1 -1
- package/dist/esm/features/user-features.shared.resources-config.schemas.d.ts +5 -5
- 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.map +1 -1
- package/dist/esm/files/file-remote-reference-link.shared.schemas.d.ts.map +1 -1
- package/dist/esm/files/file-remote-reference-link.shared.schemas.js.map +1 -1
- package/dist/esm/files/file-upload-grant.shared.schemas.d.ts.map +1 -1
- package/dist/esm/files/file-upload-grant.shared.schemas.js.map +1 -1
- package/dist/esm/files/files.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/files/files.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/files/files.shared.schemas.d.ts.map +1 -1
- package/dist/esm/files/files.shared.schemas.js.map +1 -1
- package/dist/esm/files/files.shared.utils.d.ts.map +1 -1
- 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.map +1 -1
- package/dist/esm/flows-actors/a2a-push-delivery-log.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/flows-actors/a2a-push-delivery-log.shared.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/a2a-push-delivery-log.shared.schemas.js.map +1 -1
- package/dist/esm/flows-actors/a2a-token-budget-state.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/a2a-token-budget-state.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/flows-actors/a2a-token-budget-state.shared.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/a2a-token-budget-state.shared.schemas.js.map +1 -1
- package/dist/esm/flows-actors/actors.shared.schemas.d.ts +127 -11
- package/dist/esm/flows-actors/actors.shared.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/actors.shared.schemas.js +32 -1
- package/dist/esm/flows-actors/actors.shared.schemas.js.map +1 -1
- package/dist/esm/flows-actors/agent-traceability.shared.schemas.d.ts +16 -0
- package/dist/esm/flows-actors/agent-traceability.shared.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/agent-traceability.shared.schemas.js +7 -0
- package/dist/esm/flows-actors/agent-traceability.shared.schemas.js.map +1 -1
- package/dist/esm/flows-actors/agent-work-decisions.shared.resources-config.schemas.d.ts +68 -0
- package/dist/esm/flows-actors/agent-work-decisions.shared.resources-config.schemas.d.ts.map +1 -0
- package/dist/esm/flows-actors/agent-work-decisions.shared.resources-config.schemas.js +276 -0
- package/dist/esm/flows-actors/agent-work-decisions.shared.resources-config.schemas.js.map +1 -0
- package/dist/esm/flows-actors/agent-work-decisions.shared.schemas.d.ts +468 -0
- package/dist/esm/flows-actors/agent-work-decisions.shared.schemas.d.ts.map +1 -0
- package/dist/esm/flows-actors/agent-work-decisions.shared.schemas.js +472 -0
- package/dist/esm/flows-actors/agent-work-decisions.shared.schemas.js.map +1 -0
- package/dist/esm/flows-actors/agents.shared.schemas.d.ts +2 -2
- package/dist/esm/flows-actors/agents.shared.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/agents.shared.schemas.js.map +1 -1
- package/dist/esm/flows-actors/autonomous-agents.shared.schemas.d.ts +118 -0
- package/dist/esm/flows-actors/autonomous-agents.shared.schemas.d.ts.map +1 -0
- package/dist/esm/flows-actors/autonomous-agents.shared.schemas.js +144 -0
- package/dist/esm/flows-actors/autonomous-agents.shared.schemas.js.map +1 -0
- package/dist/esm/flows-actors/deliberation.shared.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/deliberation.shared.schemas.js.map +1 -1
- package/dist/esm/flows-actors/execution-plan-readiness.shared.utils.d.ts.map +1 -1
- package/dist/esm/flows-actors/execution-plan-readiness.shared.utils.js.map +1 -1
- package/dist/esm/flows-actors/flows-actors-execution.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/flows-actors-execution.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/flows-actors/flows-actors-execution.shared.schemas.d.ts +142 -8
- package/dist/esm/flows-actors/flows-actors-execution.shared.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/flows-actors-execution.shared.schemas.js +209 -11
- package/dist/esm/flows-actors/flows-actors-execution.shared.schemas.js.map +1 -1
- package/dist/esm/flows-actors/flows-actors-task.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/flows-actors-task.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/flows-actors/flows-actors-task.shared.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/flows-actors-task.shared.schemas.js.map +1 -1
- package/dist/esm/flows-actors/flows-actors.commons.shared.schemas.d.ts +37 -2
- 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 +30 -2
- 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 +0 -11
- 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 +12 -5
- 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 +45 -6
- 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 +31 -5
- 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.map +1 -1
- package/dist/esm/flows-actors/flows-actors.io.shared.schemas.js +30 -30
- 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.map +1 -1
- package/dist/esm/flows-actors/flows-actors.system.shared.definitions.js.map +1 -1
- package/dist/esm/flows-actors/flows-actors.system.shared.schemas.d.ts +15 -7
- 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.map +1 -1
- package/dist/esm/flows-actors/flows.shared.schemas.d.ts +15 -0
- package/dist/esm/flows-actors/flows.shared.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/flows.shared.schemas.js.map +1 -1
- package/dist/esm/flows-actors/human-decision.shared.schemas.d.ts +506 -0
- package/dist/esm/flows-actors/human-decision.shared.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/human-decision.shared.schemas.js +502 -0
- package/dist/esm/flows-actors/human-decision.shared.schemas.js.map +1 -1
- package/dist/esm/flows-actors/mcp-servers.shared.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/mcp-servers.shared.schemas.js.map +1 -1
- package/dist/esm/flows-actors/model-call-attributions.shared.resources-config.schemas.d.ts +46 -0
- package/dist/esm/flows-actors/model-call-attributions.shared.resources-config.schemas.d.ts.map +1 -0
- package/dist/esm/flows-actors/model-call-attributions.shared.resources-config.schemas.js +65 -0
- package/dist/esm/flows-actors/model-call-attributions.shared.resources-config.schemas.js.map +1 -0
- package/dist/esm/flows-actors/model-call-attributions.shared.schemas.d.ts +120 -0
- package/dist/esm/flows-actors/model-call-attributions.shared.schemas.d.ts.map +1 -0
- package/dist/esm/flows-actors/model-call-attributions.shared.schemas.js +165 -0
- package/dist/esm/flows-actors/model-call-attributions.shared.schemas.js.map +1 -0
- package/dist/esm/flows-actors/model-cost-period-aggregates.shared.resources-config.schemas.d.ts +45 -0
- package/dist/esm/flows-actors/model-cost-period-aggregates.shared.resources-config.schemas.d.ts.map +1 -0
- package/dist/esm/flows-actors/model-cost-period-aggregates.shared.resources-config.schemas.js +127 -0
- package/dist/esm/flows-actors/model-cost-period-aggregates.shared.resources-config.schemas.js.map +1 -0
- package/dist/esm/flows-actors/model-cost-period-aggregates.shared.schemas.d.ts +83 -0
- package/dist/esm/flows-actors/model-cost-period-aggregates.shared.schemas.d.ts.map +1 -0
- package/dist/esm/flows-actors/model-cost-period-aggregates.shared.schemas.js +97 -0
- package/dist/esm/flows-actors/model-cost-period-aggregates.shared.schemas.js.map +1 -0
- package/dist/esm/flows-actors/model-cost-summary.shared.schemas.d.ts +136 -0
- package/dist/esm/flows-actors/model-cost-summary.shared.schemas.d.ts.map +1 -0
- package/dist/esm/flows-actors/model-cost-summary.shared.schemas.js +90 -0
- package/dist/esm/flows-actors/model-cost-summary.shared.schemas.js.map +1 -0
- package/dist/esm/flows-actors/prompt-ir.shared.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/prompt-ir.shared.schemas.js.map +1 -1
- package/dist/esm/flows-actors/provider-call-records.shared.resources-config.schemas.d.ts +5 -1
- package/dist/esm/flows-actors/provider-call-records.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/provider-call-records.shared.resources-config.schemas.js +19 -4
- package/dist/esm/flows-actors/provider-call-records.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/flows-actors/provider-call-records.shared.schemas.d.ts +13 -15
- package/dist/esm/flows-actors/provider-call-records.shared.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/provider-call-records.shared.schemas.js +30 -17
- package/dist/esm/flows-actors/provider-call-records.shared.schemas.js.map +1 -1
- package/dist/esm/flows-actors/review-deadlines.shared.schemas.d.ts +268 -0
- package/dist/esm/flows-actors/review-deadlines.shared.schemas.d.ts.map +1 -0
- package/dist/esm/flows-actors/review-deadlines.shared.schemas.js +576 -0
- package/dist/esm/flows-actors/review-deadlines.shared.schemas.js.map +1 -0
- package/dist/esm/flows-actors/tasks.actors.shared.schemas.d.ts +30 -0
- package/dist/esm/flows-actors/tasks.actors.shared.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/tasks.actors.shared.schemas.js.map +1 -1
- package/dist/esm/flows-actors/work-attribution.shared.schemas.d.ts +129 -0
- package/dist/esm/flows-actors/work-attribution.shared.schemas.d.ts.map +1 -0
- package/dist/esm/flows-actors/work-attribution.shared.schemas.js +141 -0
- package/dist/esm/flows-actors/work-attribution.shared.schemas.js.map +1 -0
- package/dist/esm/frontend-definitions/frontend-notification-custom-message-ref.definitions.d.ts +22 -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 +23 -0
- package/dist/esm/frontend-definitions/frontend-notification-custom-message-ref.definitions.js.map +1 -1
- package/dist/esm/frontend-definitions/settings-destination-ref.definitions.d.ts +61 -0
- package/dist/esm/frontend-definitions/settings-destination-ref.definitions.d.ts.map +1 -1
- package/dist/esm/frontend-definitions/settings-destination-ref.definitions.js +61 -0
- package/dist/esm/frontend-definitions/settings-destination-ref.definitions.js.map +1 -1
- package/dist/esm/guidance/guidance-flow.shared.schemas.d.ts.map +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.map +1 -1
- package/dist/esm/guidance/guidance-state.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/guidance/guidance-state.shared.schemas.d.ts.map +1 -1
- package/dist/esm/guidance/guidance-state.shared.schemas.js +11 -10
- package/dist/esm/guidance/guidance-state.shared.schemas.js.map +1 -1
- package/dist/esm/guidance/guidance-state.shared.utils.d.ts.map +1 -1
- package/dist/esm/guidance/guidance-state.shared.utils.js.map +1 -1
- package/dist/esm/guidance/lifecycle-config.shared.schemas.d.ts.map +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.map +1 -1
- package/dist/esm/guidance/lifecycle-state.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/guidance/lifecycle-state.shared.schemas.d.ts.map +1 -1
- package/dist/esm/guidance/lifecycle-state.shared.schemas.js +6 -6
- package/dist/esm/guidance/lifecycle-state.shared.schemas.js.map +1 -1
- package/dist/esm/guidance/milestone-builders.shared.d.ts.map +1 -1
- package/dist/esm/guidance/milestone-builders.shared.js.map +1 -1
- package/dist/esm/guidance/milestone-definition.shared.schemas.d.ts.map +1 -1
- package/dist/esm/guidance/milestone-definition.shared.schemas.js.map +1 -1
- package/dist/esm/guidance/progression-presentation.shared.schemas.d.ts.map +1 -1
- package/dist/esm/guidance/progression-presentation.shared.schemas.js.map +1 -1
- 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.map +1 -1
- package/dist/esm/guidance/progression-state.shared.schemas.d.ts.map +1 -1
- package/dist/esm/guidance/progression-state.shared.schemas.js +8 -7
- 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.map +1 -1
- package/dist/esm/http-api-binding/http-api-binding-id.shared.utils.js +1 -1
- package/dist/esm/http-api-binding/http-api-binding-id.shared.utils.js.map +1 -1
- package/dist/esm/http-api-binding/http-api-binding.shared.schemas.d.ts +550 -30
- package/dist/esm/http-api-binding/http-api-binding.shared.schemas.d.ts.map +1 -1
- package/dist/esm/http-api-binding/http-api-binding.shared.schemas.js +498 -34
- package/dist/esm/http-api-binding/http-api-binding.shared.schemas.js.map +1 -1
- package/dist/esm/http-api-binding/http-api-erasure-stance.shared.d.ts +62 -0
- package/dist/esm/http-api-binding/http-api-erasure-stance.shared.d.ts.map +1 -0
- package/dist/esm/http-api-binding/http-api-erasure-stance.shared.js +66 -0
- package/dist/esm/http-api-binding/http-api-erasure-stance.shared.js.map +1 -0
- package/dist/esm/http-api-binding/http-api-rest-write-operations.shared.schemas.d.ts +133 -0
- package/dist/esm/http-api-binding/http-api-rest-write-operations.shared.schemas.d.ts.map +1 -0
- package/dist/esm/http-api-binding/http-api-rest-write-operations.shared.schemas.js +191 -0
- package/dist/esm/http-api-binding/http-api-rest-write-operations.shared.schemas.js.map +1 -0
- package/dist/esm/http-api-binding/http-api-transport-dialect.shared.d.ts +37 -6
- package/dist/esm/http-api-binding/http-api-transport-dialect.shared.d.ts.map +1 -1
- package/dist/esm/http-api-binding/http-api-transport-dialect.shared.js +37 -6
- package/dist/esm/http-api-binding/http-api-transport-dialect.shared.js.map +1 -1
- package/dist/esm/http-api-binding/read-through-engine-anchors.shared.d.ts.map +1 -1
- package/dist/esm/http-api-binding/read-through-engine-anchors.shared.js.map +1 -1
- package/dist/esm/i18n/application-config-vocabulary.shared.d.ts +36 -0
- package/dist/esm/i18n/application-config-vocabulary.shared.d.ts.map +1 -0
- package/dist/esm/i18n/application-config-vocabulary.shared.js +39 -0
- package/dist/esm/i18n/application-config-vocabulary.shared.js.map +1 -0
- package/dist/esm/i18n/engine-open-vocabulary-values.shared.d.ts +11 -0
- package/dist/esm/i18n/engine-open-vocabulary-values.shared.d.ts.map +1 -0
- package/dist/esm/i18n/engine-open-vocabulary-values.shared.js +14 -0
- package/dist/esm/i18n/engine-open-vocabulary-values.shared.js.map +1 -0
- package/dist/esm/i18n/engine-open-vocabulary.shared.d.ts +20 -0
- package/dist/esm/i18n/engine-open-vocabulary.shared.d.ts.map +1 -0
- package/dist/esm/i18n/engine-open-vocabulary.shared.js +21 -0
- package/dist/esm/i18n/engine-open-vocabulary.shared.js.map +1 -0
- package/dist/esm/i18n/interpolate-label-params.shared.utils.d.ts.map +1 -1
- package/dist/esm/i18n/interpolate-label-params.shared.utils.js.map +1 -1
- package/dist/esm/i18n/labelling.dto.shared.schemas.d.ts.map +1 -1
- package/dist/esm/i18n/labelling.dto.shared.schemas.js.map +1 -1
- package/dist/esm/inbound/conversation-threads.shared.resources-config.schemas.d.ts +94 -0
- package/dist/esm/inbound/conversation-threads.shared.resources-config.schemas.d.ts.map +1 -0
- package/dist/esm/inbound/conversation-threads.shared.resources-config.schemas.js +206 -0
- package/dist/esm/inbound/conversation-threads.shared.resources-config.schemas.js.map +1 -0
- package/dist/esm/inbound/conversation-threads.shared.schemas.d.ts +169 -0
- package/dist/esm/inbound/conversation-threads.shared.schemas.d.ts.map +1 -0
- package/dist/esm/inbound/conversation-threads.shared.schemas.js +231 -0
- package/dist/esm/inbound/conversation-threads.shared.schemas.js.map +1 -0
- package/dist/esm/inbound/inbound-channels.shared.schemas.d.ts +195 -0
- package/dist/esm/inbound/inbound-channels.shared.schemas.d.ts.map +1 -0
- package/dist/esm/inbound/inbound-channels.shared.schemas.js +244 -0
- package/dist/esm/inbound/inbound-channels.shared.schemas.js.map +1 -0
- package/dist/esm/inbound/inbound-delivery.shared.resources-config.schemas.d.ts +36 -0
- package/dist/esm/inbound/inbound-delivery.shared.resources-config.schemas.d.ts.map +1 -0
- package/dist/esm/inbound/inbound-delivery.shared.resources-config.schemas.js +169 -0
- package/dist/esm/inbound/inbound-delivery.shared.resources-config.schemas.js.map +1 -0
- package/dist/esm/inbound/inbound-delivery.shared.schemas.d.ts +404 -0
- package/dist/esm/inbound/inbound-delivery.shared.schemas.d.ts.map +1 -0
- package/dist/esm/inbound/inbound-delivery.shared.schemas.js +449 -0
- package/dist/esm/inbound/inbound-delivery.shared.schemas.js.map +1 -0
- package/dist/esm/inbound/inbound-endpoint-env.shared.d.ts +46 -0
- package/dist/esm/inbound/inbound-endpoint-env.shared.d.ts.map +1 -0
- package/dist/esm/inbound/inbound-endpoint-env.shared.js +57 -0
- package/dist/esm/inbound/inbound-endpoint-env.shared.js.map +1 -0
- package/dist/esm/index.d.ts +58 -1
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +67 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/meta-workflows/actions.meta-workflows.shared.schemas.d.ts.map +1 -1
- package/dist/esm/meta-workflows/actions.meta-workflows.shared.schemas.js.map +1 -1
- package/dist/esm/meta-workflows/catalog.meta-workflows.shared.schemas.d.ts.map +1 -1
- package/dist/esm/meta-workflows/catalog.meta-workflows.shared.schemas.js.map +1 -1
- package/dist/esm/meta-workflows/coding-tasks.meta-workflows.shared.schemas.d.ts.map +1 -1
- package/dist/esm/meta-workflows/coding-tasks.meta-workflows.shared.schemas.js.map +1 -1
- package/dist/esm/meta-workflows/context-selection.meta-workflows.shared.schemas.d.ts.map +1 -1
- package/dist/esm/meta-workflows/context-selection.meta-workflows.shared.schemas.js.map +1 -1
- package/dist/esm/meta-workflows/decisions.meta-workflows.shared.schemas.d.ts +28 -0
- package/dist/esm/meta-workflows/decisions.meta-workflows.shared.schemas.d.ts.map +1 -1
- package/dist/esm/meta-workflows/decisions.meta-workflows.shared.schemas.js +29 -0
- package/dist/esm/meta-workflows/decisions.meta-workflows.shared.schemas.js.map +1 -1
- package/dist/esm/meta-workflows/orchestration.meta-workflows.shared.schemas.d.ts +95 -1
- package/dist/esm/meta-workflows/orchestration.meta-workflows.shared.schemas.d.ts.map +1 -1
- package/dist/esm/meta-workflows/orchestration.meta-workflows.shared.schemas.js +121 -0
- package/dist/esm/meta-workflows/orchestration.meta-workflows.shared.schemas.js.map +1 -1
- package/dist/esm/meta-workflows/portable-primitives.meta-workflows.shared.schemas.d.ts.map +1 -1
- package/dist/esm/meta-workflows/portable-primitives.meta-workflows.shared.schemas.js.map +1 -1
- package/dist/esm/meta-workflows.exports.d.ts +0 -1
- package/dist/esm/meta-workflows.exports.d.ts.map +1 -1
- package/dist/esm/meta-workflows.exports.js +0 -1
- package/dist/esm/meta-workflows.exports.js.map +1 -1
- package/dist/esm/monitoring/monitoring.shared.schemas.d.ts.map +1 -1
- package/dist/esm/monitoring/monitoring.shared.schemas.js.map +1 -1
- package/dist/esm/notifications/email/email-context.shared.schemas.d.ts.map +1 -1
- package/dist/esm/notifications/email/email-context.shared.schemas.js.map +1 -1
- package/dist/esm/notifications/email/email-submission.shared.enums.d.ts.map +1 -1
- package/dist/esm/notifications/email/email-submission.shared.enums.js.map +1 -1
- package/dist/esm/notifications/email/email-template-registry.shared.schemas.d.ts +7 -1
- 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 +35 -0
- 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.map +1 -1
- package/dist/esm/notifications/email/email-template.shared.enums.js.map +1 -1
- package/dist/esm/notifications/inbound-email/inbound-email.shared.resources-config.schemas.d.ts +131 -0
- package/dist/esm/notifications/inbound-email/inbound-email.shared.resources-config.schemas.d.ts.map +1 -0
- package/dist/esm/notifications/inbound-email/inbound-email.shared.resources-config.schemas.js +258 -0
- package/dist/esm/notifications/inbound-email/inbound-email.shared.resources-config.schemas.js.map +1 -0
- package/dist/esm/notifications/inbound-email/inbound-email.shared.schemas.d.ts +448 -0
- package/dist/esm/notifications/inbound-email/inbound-email.shared.schemas.d.ts.map +1 -0
- package/dist/esm/notifications/inbound-email/inbound-email.shared.schemas.js +530 -0
- package/dist/esm/notifications/inbound-email/inbound-email.shared.schemas.js.map +1 -0
- package/dist/esm/notifications/m2m/m2m-webhook-delivery-contract.shared.d.ts.map +1 -1
- package/dist/esm/notifications/m2m/m2m-webhook-delivery-contract.shared.js.map +1 -1
- package/dist/esm/notifications/m2m/m2m-webhook-delivery-log.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/notifications/m2m/m2m-webhook-delivery-log.shared.resources-config.schemas.js +4 -3
- package/dist/esm/notifications/m2m/m2m-webhook-delivery-log.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/notifications/m2m/m2m-webhook-delivery-log.shared.schemas.d.ts.map +1 -1
- package/dist/esm/notifications/m2m/m2m-webhook-delivery-log.shared.schemas.js.map +1 -1
- package/dist/esm/notifications/m2m/webhook-config.shared.resources-config.schemas.d.ts +16 -1
- package/dist/esm/notifications/m2m/webhook-config.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/notifications/m2m/webhook-config.shared.resources-config.schemas.js +46 -16
- package/dist/esm/notifications/m2m/webhook-config.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/notifications/m2m/webhook-config.shared.schemas.d.ts +19 -12
- package/dist/esm/notifications/m2m/webhook-config.shared.schemas.d.ts.map +1 -1
- package/dist/esm/notifications/m2m/webhook-config.shared.schemas.js +77 -12
- package/dist/esm/notifications/m2m/webhook-config.shared.schemas.js.map +1 -1
- package/dist/esm/notifications/notification-badges.core.definitions.d.ts.map +1 -1
- package/dist/esm/notifications/notification-badges.core.definitions.js.map +1 -1
- package/dist/esm/notifications/notification-badges.schemas.d.ts +35 -3
- package/dist/esm/notifications/notification-badges.schemas.d.ts.map +1 -1
- package/dist/esm/notifications/notification-badges.schemas.js +43 -3
- package/dist/esm/notifications/notification-badges.schemas.js.map +1 -1
- 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.map +1 -1
- package/dist/esm/notifications/notifications.shared.schemas.d.ts +66 -399
- package/dist/esm/notifications/notifications.shared.schemas.d.ts.map +1 -1
- package/dist/esm/notifications/notifications.shared.schemas.js +111 -58
- package/dist/esm/notifications/notifications.shared.schemas.js.map +1 -1
- package/dist/esm/organizations/application-owner-organization.shared.schemas.d.ts.map +1 -1
- package/dist/esm/organizations/application-owner-organization.shared.schemas.js.map +1 -1
- package/dist/esm/organizations/organization-features.shared.resources-config.schemas.d.ts +5 -5
- 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 +6 -6
- package/dist/esm/organizations/organization-features.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/organizations/organization-features.shared.schemas.d.ts.map +1 -1
- package/dist/esm/organizations/organization-features.shared.schemas.js.map +1 -1
- package/dist/esm/organizations/organization-members.shared.resources-config.schemas.d.ts +3 -0
- 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 +60 -14
- package/dist/esm/organizations/organization-members.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/organizations/organization-members.shared.schemas.d.ts +3 -0
- package/dist/esm/organizations/organization-members.shared.schemas.d.ts.map +1 -1
- package/dist/esm/organizations/organization-members.shared.schemas.js +30 -0
- package/dist/esm/organizations/organization-members.shared.schemas.js.map +1 -1
- 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.map +1 -1
- package/dist/esm/organizations/organization-notifications.shared.schemas.d.ts.map +1 -1
- package/dist/esm/organizations/organization-notifications.shared.schemas.js +9 -9
- package/dist/esm/organizations/organization-notifications.shared.schemas.js.map +1 -1
- 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.map +1 -1
- package/dist/esm/organizations/organization-preferences.shared.schemas.d.ts.map +1 -1
- package/dist/esm/organizations/organization-preferences.shared.schemas.js +4 -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 +0 -1
- 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.map +1 -1
- package/dist/esm/organizations/organization-profile.shared.schemas.d.ts +5 -5
- package/dist/esm/organizations/organization-profile.shared.schemas.d.ts.map +1 -1
- package/dist/esm/organizations/organization-profile.shared.schemas.js +15 -10
- package/dist/esm/organizations/organization-profile.shared.schemas.js.map +1 -1
- package/dist/esm/organizations/organization-unit-inheritance.shared.d.ts.map +1 -1
- package/dist/esm/organizations/organization-unit-inheritance.shared.js.map +1 -1
- package/dist/esm/organizations/organization-unit-members.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/organizations/organization-unit-members.shared.resources-config.schemas.js +1 -1
- package/dist/esm/organizations/organization-unit-members.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/organizations/organization-unit-members.shared.schemas.d.ts.map +1 -1
- package/dist/esm/organizations/organization-unit-members.shared.schemas.js +2 -1
- package/dist/esm/organizations/organization-unit-members.shared.schemas.js.map +1 -1
- package/dist/esm/organizations/organization-unit-narrowing-decision.shared.d.ts +63 -1
- package/dist/esm/organizations/organization-unit-narrowing-decision.shared.d.ts.map +1 -1
- package/dist/esm/organizations/organization-unit-narrowing-decision.shared.js +106 -5
- package/dist/esm/organizations/organization-unit-narrowing-decision.shared.js.map +1 -1
- package/dist/esm/organizations/organization-unit-narrowing.example.d.ts.map +1 -1
- package/dist/esm/organizations/organization-unit-narrowing.example.js.map +1 -1
- package/dist/esm/organizations/organization-unit-narrowing.shared.d.ts.map +1 -1
- package/dist/esm/organizations/organization-unit-narrowing.shared.js +9 -0
- package/dist/esm/organizations/organization-unit-narrowing.shared.js.map +1 -1
- package/dist/esm/organizations/organization-units.shared.path.d.ts.map +1 -1
- package/dist/esm/organizations/organization-units.shared.path.js.map +1 -1
- 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 +7 -2
- package/dist/esm/organizations/organization-units.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/organizations/organization-units.shared.schemas.d.ts.map +1 -1
- package/dist/esm/organizations/organization-units.shared.schemas.js.map +1 -1
- package/dist/esm/organizations/organizations.shared.resources-config.schemas.d.ts +3 -1
- package/dist/esm/organizations/organizations.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/organizations/organizations.shared.resources-config.schemas.js +12 -8
- package/dist/esm/organizations/organizations.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/organizations/organizations.shared.schemas.d.ts +7 -2
- package/dist/esm/organizations/organizations.shared.schemas.d.ts.map +1 -1
- package/dist/esm/organizations/organizations.shared.schemas.js +51 -1
- package/dist/esm/organizations/organizations.shared.schemas.js.map +1 -1
- package/dist/esm/organizations/service-provider-activity-feed.shared.resources-config.schemas.d.ts +58 -0
- package/dist/esm/organizations/service-provider-activity-feed.shared.resources-config.schemas.d.ts.map +1 -0
- package/dist/esm/organizations/service-provider-activity-feed.shared.resources-config.schemas.js +188 -0
- package/dist/esm/organizations/service-provider-activity-feed.shared.resources-config.schemas.js.map +1 -0
- package/dist/esm/organizations/service-provider-activity-feed.shared.schemas.d.ts +122 -0
- package/dist/esm/organizations/service-provider-activity-feed.shared.schemas.d.ts.map +1 -0
- package/dist/esm/organizations/service-provider-activity-feed.shared.schemas.js +136 -0
- package/dist/esm/organizations/service-provider-activity-feed.shared.schemas.js.map +1 -0
- package/dist/esm/organizations/service-provider-capability-grants.shared.resources-config.schemas.d.ts +36 -0
- package/dist/esm/organizations/service-provider-capability-grants.shared.resources-config.schemas.d.ts.map +1 -0
- package/dist/esm/organizations/service-provider-capability-grants.shared.resources-config.schemas.js +155 -0
- package/dist/esm/organizations/service-provider-capability-grants.shared.resources-config.schemas.js.map +1 -0
- package/dist/esm/organizations/service-provider-capability-grants.shared.schemas.d.ts +229 -0
- package/dist/esm/organizations/service-provider-capability-grants.shared.schemas.d.ts.map +1 -0
- package/dist/esm/organizations/service-provider-capability-grants.shared.schemas.js +290 -0
- package/dist/esm/organizations/service-provider-capability-grants.shared.schemas.js.map +1 -0
- package/dist/esm/organizations/service-provider-client-controls.shared.schemas.d.ts +48 -0
- package/dist/esm/organizations/service-provider-client-controls.shared.schemas.d.ts.map +1 -0
- package/dist/esm/organizations/service-provider-client-controls.shared.schemas.js +50 -0
- package/dist/esm/organizations/service-provider-client-controls.shared.schemas.js.map +1 -0
- package/dist/esm/organizations/service-provider-relationships.shared.resources-config.schemas.d.ts +97 -0
- package/dist/esm/organizations/service-provider-relationships.shared.resources-config.schemas.d.ts.map +1 -0
- package/dist/esm/organizations/service-provider-relationships.shared.resources-config.schemas.js +572 -0
- package/dist/esm/organizations/service-provider-relationships.shared.resources-config.schemas.js.map +1 -0
- package/dist/esm/organizations/service-provider-relationships.shared.schemas.d.ts +590 -0
- package/dist/esm/organizations/service-provider-relationships.shared.schemas.d.ts.map +1 -0
- package/dist/esm/organizations/service-provider-relationships.shared.schemas.js +869 -0
- package/dist/esm/organizations/service-provider-relationships.shared.schemas.js.map +1 -0
- package/dist/esm/organizations/tenant-teardown-config.shared.schemas.d.ts +36 -6
- package/dist/esm/organizations/tenant-teardown-config.shared.schemas.d.ts.map +1 -1
- package/dist/esm/organizations/tenant-teardown-config.shared.schemas.js +57 -16
- package/dist/esm/organizations/tenant-teardown-config.shared.schemas.js.map +1 -1
- package/dist/esm/provider-registration-runtime.exports.d.ts +0 -1
- package/dist/esm/provider-registration-runtime.exports.d.ts.map +1 -1
- package/dist/esm/provider-registration-runtime.exports.js +0 -1
- package/dist/esm/provider-registration-runtime.exports.js.map +1 -1
- package/dist/esm/public-runtime/index.d.ts +30 -11
- package/dist/esm/public-runtime/index.d.ts.map +1 -1
- package/dist/esm/public-runtime/index.js +30 -11
- package/dist/esm/public-runtime/index.js.map +1 -1
- package/dist/esm/queue/jobs.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/queue/jobs.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/queue/jobs.shared.schemas.d.ts +30 -2
- package/dist/esm/queue/jobs.shared.schemas.d.ts.map +1 -1
- package/dist/esm/queue/jobs.shared.schemas.js +12 -0
- package/dist/esm/queue/jobs.shared.schemas.js.map +1 -1
- package/dist/esm/queue/jobs.shared.utils.d.ts.map +1 -1
- package/dist/esm/queue/jobs.shared.utils.js.map +1 -1
- package/dist/esm/queue/queues.shared.schemas.d.ts.map +1 -1
- package/dist/esm/queue/queues.shared.schemas.js.map +1 -1
- package/dist/esm/queue/queues.shared.utils.d.ts.map +1 -1
- 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.map +1 -1
- package/dist/esm/rag/rag-retrieval-health.shared.d.ts.map +1 -1
- package/dist/esm/rag/rag-retrieval-health.shared.js.map +1 -1
- package/dist/esm/requests/header-keys.shared.d.ts +6 -0
- package/dist/esm/requests/header-keys.shared.d.ts.map +1 -1
- package/dist/esm/requests/header-keys.shared.js +7 -0
- package/dist/esm/requests/header-keys.shared.js.map +1 -1
- package/dist/esm/requests/http-requests.shared.d.ts.map +1 -1
- package/dist/esm/requests/http-requests.shared.js.map +1 -1
- package/dist/esm/requests/idempotency-key.shared.d.ts.map +1 -1
- package/dist/esm/requests/idempotency-key.shared.js.map +1 -1
- package/dist/esm/requests/manual-controllers-routes-documentation.d.ts.map +1 -1
- package/dist/esm/requests/manual-controllers-routes-documentation.js +147 -8
- package/dist/esm/requests/manual-controllers-routes-documentation.js.map +1 -1
- package/dist/esm/requests/manual-controllers-routes-urls.d.ts +51 -23
- package/dist/esm/requests/manual-controllers-routes-urls.d.ts.map +1 -1
- package/dist/esm/requests/manual-controllers-routes-urls.js +64 -0
- package/dist/esm/requests/manual-controllers-routes-urls.js.map +1 -1
- package/dist/esm/requests/rate-limits.shared.schemas.d.ts.map +1 -1
- package/dist/esm/requests/rate-limits.shared.schemas.js.map +1 -1
- package/dist/esm/requests/websocket.shared.schemas.d.ts +78 -13
- package/dist/esm/requests/websocket.shared.schemas.d.ts.map +1 -1
- package/dist/esm/requests/websocket.shared.schemas.js +91 -18
- package/dist/esm/requests/websocket.shared.schemas.js.map +1 -1
- package/dist/esm/resources/child-operations.shared.schemas.d.ts.map +1 -1
- package/dist/esm/resources/child-operations.shared.schemas.js.map +1 -1
- package/dist/esm/resources/collection-query-parameters.shared.d.ts.map +1 -1
- package/dist/esm/resources/collection-query-parameters.shared.js.map +1 -1
- package/dist/esm/resources/context-policy.shared.schemas.d.ts.map +1 -1
- package/dist/esm/resources/context-policy.shared.schemas.js.map +1 -1
- package/dist/esm/resources/embedded-resource-mark.shared.utils.d.ts +21 -0
- package/dist/esm/resources/embedded-resource-mark.shared.utils.d.ts.map +1 -0
- package/dist/esm/resources/embedded-resource-mark.shared.utils.js +22 -0
- package/dist/esm/resources/embedded-resource-mark.shared.utils.js.map +1 -0
- package/dist/esm/resources/relationship-display.shared.schemas.d.ts.map +1 -1
- package/dist/esm/resources/relationship-display.shared.schemas.js.map +1 -1
- package/dist/esm/resources/resources-config.shared.factory.d.ts.map +1 -1
- package/dist/esm/resources/resources-config.shared.factory.js +812 -32
- package/dist/esm/resources/resources-config.shared.factory.js.map +1 -1
- package/dist/esm/resources/resources-config.shared.schemas.d.ts +244 -48
- package/dist/esm/resources/resources-config.shared.schemas.d.ts.map +1 -1
- package/dist/esm/resources/resources-config.shared.schemas.js +151 -17
- package/dist/esm/resources/resources-config.shared.schemas.js.map +1 -1
- package/dist/esm/resources/resources-registry.shared.core.definitions.d.ts.map +1 -1
- package/dist/esm/resources/resources-registry.shared.core.definitions.js +369 -12
- package/dist/esm/resources/resources-registry.shared.core.definitions.js.map +1 -1
- package/dist/esm/resources/resources-relationships.shared.factory.d.ts.map +1 -1
- package/dist/esm/resources/resources-relationships.shared.factory.js.map +1 -1
- package/dist/esm/resources/resources-serialization.shared.schemas.d.ts.map +1 -1
- package/dist/esm/resources/resources-serialization.shared.schemas.js.map +1 -1
- package/dist/esm/resources/resources.shared.core.definitions.d.ts +45 -0
- package/dist/esm/resources/resources.shared.core.definitions.d.ts.map +1 -1
- package/dist/esm/resources/resources.shared.core.definitions.js +92 -0
- package/dist/esm/resources/resources.shared.core.definitions.js.map +1 -1
- package/dist/esm/resources/resources.shared.schemas.d.ts +2 -17
- package/dist/esm/resources/resources.shared.schemas.d.ts.map +1 -1
- package/dist/esm/resources/resources.shared.schemas.js +24 -20
- package/dist/esm/resources/resources.shared.schemas.js.map +1 -1
- package/dist/esm/resources/resources.shared.utils.d.ts +16 -8
- package/dist/esm/resources/resources.shared.utils.d.ts.map +1 -1
- package/dist/esm/resources/resources.shared.utils.js +16 -8
- package/dist/esm/resources/resources.shared.utils.js.map +1 -1
- package/dist/esm/resources/utils/collection-export.shared.utils.d.ts +2 -2
- package/dist/esm/resources/utils/collection-export.shared.utils.d.ts.map +1 -1
- package/dist/esm/resources/utils/collection-export.shared.utils.js +4 -2
- package/dist/esm/resources/utils/collection-export.shared.utils.js.map +1 -1
- package/dist/esm/resources/utils/composition-cascade-deletability.validation.d.ts.map +1 -1
- package/dist/esm/resources/utils/composition-cascade-deletability.validation.js.map +1 -1
- package/dist/esm/resources/utils/composition-seedability.validation.d.ts.map +1 -1
- package/dist/esm/resources/utils/composition-seedability.validation.js.map +1 -1
- package/dist/esm/resources/utils/context-addressed-composition-singleton.shared.utils.d.ts.map +1 -1
- package/dist/esm/resources/utils/context-addressed-composition-singleton.shared.utils.js.map +1 -1
- package/dist/esm/resources/utils/dependent-lifecycle-classification.validation.d.ts.map +1 -1
- package/dist/esm/resources/utils/dependent-lifecycle-classification.validation.js.map +1 -1
- package/dist/esm/resources/utils/duplicate-relationship-registration.validation.d.ts.map +1 -1
- package/dist/esm/resources/utils/duplicate-relationship-registration.validation.js.map +1 -1
- package/dist/esm/resources/utils/field-value-disclosure.utils.d.ts.map +1 -1
- package/dist/esm/resources/utils/field-value-disclosure.utils.js.map +1 -1
- package/dist/esm/resources/utils/http-api-write-declaration.shared.utils.d.ts +103 -0
- package/dist/esm/resources/utils/http-api-write-declaration.shared.utils.d.ts.map +1 -0
- package/dist/esm/resources/utils/http-api-write-declaration.shared.utils.js +275 -0
- package/dist/esm/resources/utils/http-api-write-declaration.shared.utils.js.map +1 -0
- package/dist/esm/resources/utils/initiator-stamped-field-satisfiability.validation.d.ts.map +1 -1
- package/dist/esm/resources/utils/initiator-stamped-field-satisfiability.validation.js.map +1 -1
- package/dist/esm/resources/utils/no-subject-data-stance-coherence.shared.utils.d.ts +51 -0
- package/dist/esm/resources/utils/no-subject-data-stance-coherence.shared.utils.d.ts.map +1 -0
- package/dist/esm/resources/utils/no-subject-data-stance-coherence.shared.utils.js +28 -0
- package/dist/esm/resources/utils/no-subject-data-stance-coherence.shared.utils.js.map +1 -0
- package/dist/esm/resources/utils/persistence-adapter-discrimination.shared.utils.d.ts.map +1 -1
- package/dist/esm/resources/utils/persistence-adapter-discrimination.shared.utils.js.map +1 -1
- package/dist/esm/resources/utils/populated-file-fields.shared.utils.d.ts.map +1 -1
- package/dist/esm/resources/utils/populated-file-fields.shared.utils.js +30 -19
- package/dist/esm/resources/utils/populated-file-fields.shared.utils.js.map +1 -1
- package/dist/esm/resources/utils/repository-dto-builder.utils.d.ts.map +1 -1
- package/dist/esm/resources/utils/repository-dto-builder.utils.js.map +1 -1
- package/dist/esm/resources/utils/request-schema-field-carriage.shared.utils.d.ts +2 -0
- package/dist/esm/resources/utils/request-schema-field-carriage.shared.utils.d.ts.map +1 -0
- package/dist/esm/resources/utils/request-schema-field-carriage.shared.utils.js +33 -0
- package/dist/esm/resources/utils/request-schema-field-carriage.shared.utils.js.map +1 -0
- package/dist/esm/resources/utils/required-fk-fillability.validation.d.ts.map +1 -1
- package/dist/esm/resources/utils/required-fk-fillability.validation.js.map +1 -1
- 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.map +1 -1
- package/dist/esm/resources/utils/resource-polymorphism.factory.d.ts +15 -0
- package/dist/esm/resources/utils/resource-polymorphism.factory.d.ts.map +1 -1
- package/dist/esm/resources/utils/resource-polymorphism.factory.js +6 -1
- package/dist/esm/resources/utils/resource-polymorphism.factory.js.map +1 -1
- package/dist/esm/resources/utils/resource-polymorphism.relationships.d.ts.map +1 -1
- package/dist/esm/resources/utils/resource-polymorphism.relationships.js.map +1 -1
- package/dist/esm/resources/utils/resource-polymorphism.schemas.d.ts.map +1 -1
- package/dist/esm/resources/utils/resource-polymorphism.schemas.js +30 -4
- package/dist/esm/resources/utils/resource-polymorphism.schemas.js.map +1 -1
- package/dist/esm/resources/utils/resource-polymorphism.utils.d.ts.map +1 -1
- package/dist/esm/resources/utils/resource-polymorphism.utils.js.map +1 -1
- package/dist/esm/resources/utils/resource-subtree.utils.d.ts.map +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.map +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.map +1 -1
- package/dist/esm/resources/utils/resources-config-operations.dtos-builder.utils.d.ts +46 -0
- 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 +205 -22
- 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.map +1 -1
- 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.map +1 -1
- 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.map +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 +19 -2
- package/dist/esm/resources/utils/resources-serialization.utils.d.ts.map +1 -1
- package/dist/esm/resources/utils/resources-serialization.utils.js +4 -0
- package/dist/esm/resources/utils/resources-serialization.utils.js.map +1 -1
- package/dist/esm/resources/utils/resources-summary.utils.d.ts.map +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.map +1 -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.map +1 -1
- package/dist/esm/resources/utils/schema-type-utils.d.ts.map +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.map +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.map +1 -1
- package/dist/esm/resources/utils/shared-persistence-collection.utils.js +15 -9
- package/dist/esm/resources/utils/shared-persistence-collection.utils.js.map +1 -1
- package/dist/esm/resources/utils/templatable-file-fields.shared.utils.d.ts.map +1 -1
- package/dist/esm/resources/utils/templatable-file-fields.shared.utils.js.map +1 -1
- package/dist/esm/resources/work-unit.shared.schemas.d.ts +20 -0
- package/dist/esm/resources/work-unit.shared.schemas.d.ts.map +1 -0
- package/dist/esm/resources/work-unit.shared.schemas.js +19 -0
- package/dist/esm/resources/work-unit.shared.schemas.js.map +1 -0
- package/dist/esm/runtime/domain-module.shared.definitions.d.ts.map +1 -1
- package/dist/esm/runtime/domain-module.shared.definitions.js.map +1 -1
- package/dist/esm/runtime/execution-context.shared.schemas.d.ts +48 -1
- package/dist/esm/runtime/execution-context.shared.schemas.d.ts.map +1 -1
- package/dist/esm/runtime/execution-context.shared.schemas.js +101 -9
- 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.map +1 -1
- package/dist/esm/security/api-keys/api-keys-application.shared.resources-config.schemas.d.ts +1 -0
- 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 +37 -20
- 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 +1 -0
- 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 +61 -48
- 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 +26 -0
- 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 +39 -5
- 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.map +1 -1
- package/dist/esm/security/authentications/anonymous-session/anonymous-session.shared.contract.js.map +1 -1
- package/dist/esm/security/authentications/authentication.shared.dto.schemas.d.ts +5 -3
- package/dist/esm/security/authentications/authentication.shared.dto.schemas.d.ts.map +1 -1
- package/dist/esm/security/authentications/authentication.shared.dto.schemas.js +6 -0
- package/dist/esm/security/authentications/authentication.shared.dto.schemas.js.map +1 -1
- package/dist/esm/security/authentications/authentication.shared.schemas.d.ts.map +1 -1
- package/dist/esm/security/authentications/authentication.shared.schemas.js.map +1 -1
- package/dist/esm/security/authentications/authentication.shared.utils.d.ts.map +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.map +1 -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.map +1 -1
- package/dist/esm/security/authentications/cross-frontend-handoff.shared.dto.schemas.js.map +1 -1
- package/dist/esm/security/authentications/mfa-backup-code-contract.shared.d.ts.map +1 -1
- package/dist/esm/security/authentications/mfa-backup-code-contract.shared.js.map +1 -1
- package/dist/esm/security/authentications/password-blocklist.shared.utils.d.ts.map +1 -1
- package/dist/esm/security/authentications/password-blocklist.shared.utils.js.map +1 -1
- 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.map +1 -1
- package/dist/esm/security/authentications/registration.shared.dto.schemas.d.ts.map +1 -1
- 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.map +1 -1
- package/dist/esm/security/authentications/same-origin-redirect-path.shared.js.map +1 -1
- package/dist/esm/security/authentications/scim/scim-organization-unit-mapping.shared.d.ts.map +1 -1
- package/dist/esm/security/authentications/scim/scim-organization-unit-mapping.shared.js +2 -2
- package/dist/esm/security/authentications/scim/scim-organization-unit-mapping.shared.js.map +1 -1
- package/dist/esm/security/authentications/scim/scim-provisioning-config.shared.resources-config.schemas.d.ts +11 -0
- 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 +19 -8
- 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 +1 -1
- 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 +5 -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.map +1 -1
- package/dist/esm/security/authentications/scim/scim-tokens.shared.resources-config.schemas.js +11 -11
- 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 +2 -0
- 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 +9 -0
- package/dist/esm/security/authentications/scim/scim-tokens.shared.schemas.js.map +1 -1
- package/dist/esm/security/authentications/service-provider-client-authentication.shared.schemas.d.ts +169 -0
- package/dist/esm/security/authentications/service-provider-client-authentication.shared.schemas.d.ts.map +1 -0
- package/dist/esm/security/authentications/service-provider-client-authentication.shared.schemas.js +162 -0
- package/dist/esm/security/authentications/service-provider-client-authentication.shared.schemas.js.map +1 -0
- 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 +10 -8
- 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.map +1 -1
- package/dist/esm/security/authentications/siem/siem-delivery-dlq.shared.schemas.js.map +1 -1
- package/dist/esm/security/authentications/siem/siem-delivery-outbox.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/security/authentications/siem/siem-delivery-outbox.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/security/authentications/siem/siem-delivery-outbox.shared.schemas.d.ts.map +1 -1
- package/dist/esm/security/authentications/siem/siem-delivery-outbox.shared.schemas.js.map +1 -1
- package/dist/esm/security/authentications/siem/siem-delivery-reliability-contract.shared.d.ts.map +1 -1
- package/dist/esm/security/authentications/siem/siem-delivery-reliability-contract.shared.js.map +1 -1
- 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.map +1 -1
- 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 +8 -8
- 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.map +1 -1
- package/dist/esm/security/authentications/sso/sso-config.shared.resources-config.schemas.js +17 -16
- 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.map +1 -1
- package/dist/esm/security/authentications/sso/sso-config.shared.schemas.js +28 -25
- 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 +17 -6
- 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 +90 -38
- 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 +0 -24
- 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 +79 -68
- 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 +8 -1
- package/dist/esm/security/authorizations/administrative-continuity.shared.schemas.d.ts.map +1 -1
- package/dist/esm/security/authorizations/administrative-continuity.shared.schemas.js +7 -0
- package/dist/esm/security/authorizations/administrative-continuity.shared.schemas.js.map +1 -1
- package/dist/esm/security/authorizations/application-access-grants.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/security/authorizations/application-access-grants.shared.resources-config.schemas.js +1 -1
- package/dist/esm/security/authorizations/application-access-grants.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/security/authorizations/application-access-grants.shared.schemas.d.ts.map +1 -1
- package/dist/esm/security/authorizations/application-access-grants.shared.schemas.js.map +1 -1
- package/dist/esm/security/authorizations/platform-access-grants.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/security/authorizations/platform-access-grants.shared.resources-config.schemas.js +7 -7
- package/dist/esm/security/authorizations/platform-access-grants.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/security/authorizations/platform-access-grants.shared.schemas.d.ts.map +1 -1
- package/dist/esm/security/authorizations/platform-access-grants.shared.schemas.js.map +1 -1
- package/dist/esm/security/authorizations/roles.shared.defaults.d.ts.map +1 -1
- package/dist/esm/security/authorizations/roles.shared.defaults.js +56 -0
- package/dist/esm/security/authorizations/roles.shared.defaults.js.map +1 -1
- package/dist/esm/security/authorizations/roles.shared.schemas.d.ts +77 -1
- package/dist/esm/security/authorizations/roles.shared.schemas.d.ts.map +1 -1
- package/dist/esm/security/authorizations/roles.shared.schemas.js +90 -0
- package/dist/esm/security/authorizations/roles.shared.schemas.js.map +1 -1
- package/dist/esm/security/authorizations/roles.shared.utils.d.ts.map +1 -1
- package/dist/esm/security/authorizations/roles.shared.utils.js.map +1 -1
- package/dist/esm/security/connected-accounts/provider-connection-listing.shared.schemas.d.ts +86 -0
- package/dist/esm/security/connected-accounts/provider-connection-listing.shared.schemas.d.ts.map +1 -0
- package/dist/esm/security/connected-accounts/provider-connection-listing.shared.schemas.js +40 -0
- package/dist/esm/security/connected-accounts/provider-connection-listing.shared.schemas.js.map +1 -0
- package/dist/esm/security/connected-accounts/provider-credentials-organization.shared.resources-config.schemas.d.ts +2 -1
- package/dist/esm/security/connected-accounts/provider-credentials-organization.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/security/connected-accounts/provider-credentials-organization.shared.resources-config.schemas.js +2 -1
- package/dist/esm/security/connected-accounts/provider-credentials-organization.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/security/connected-accounts/provider-credentials-user.shared.resources-config.schemas.d.ts +2 -1
- package/dist/esm/security/connected-accounts/provider-credentials-user.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/security/connected-accounts/provider-credentials-user.shared.resources-config.schemas.js +2 -1
- package/dist/esm/security/connected-accounts/provider-credentials-user.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/security/connected-accounts/provider-credentials.shared.schemas.d.ts +46 -14
- package/dist/esm/security/connected-accounts/provider-credentials.shared.schemas.d.ts.map +1 -1
- package/dist/esm/security/connected-accounts/provider-credentials.shared.schemas.js +81 -21
- package/dist/esm/security/connected-accounts/provider-credentials.shared.schemas.js.map +1 -1
- package/dist/esm/security/credential-rotation-grace.shared.utils.d.ts +69 -0
- package/dist/esm/security/credential-rotation-grace.shared.utils.d.ts.map +1 -0
- package/dist/esm/security/credential-rotation-grace.shared.utils.js +77 -0
- package/dist/esm/security/credential-rotation-grace.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.map +1 -1
- package/dist/esm/security/oauth-clients/oauth-clients-application.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/security/oauth-clients/oauth-clients-application.shared.resources-config.schemas.js +28 -8
- package/dist/esm/security/oauth-clients/oauth-clients-application.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/security/oauth-clients/oauth-clients-organization.shared.resources-config.schemas.d.ts +3 -1
- package/dist/esm/security/oauth-clients/oauth-clients-organization.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/security/oauth-clients/oauth-clients-organization.shared.resources-config.schemas.js +89 -14
- package/dist/esm/security/oauth-clients/oauth-clients-organization.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/security/oauth-clients/oauth-clients.shared.schemas.d.ts +1 -0
- package/dist/esm/security/oauth-clients/oauth-clients.shared.schemas.d.ts.map +1 -1
- package/dist/esm/security/oauth-clients/oauth-clients.shared.schemas.js +25 -4
- package/dist/esm/security/oauth-clients/oauth-clients.shared.schemas.js.map +1 -1
- package/dist/esm/security/oauth-clients/oauth-consent-grants.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/security/oauth-clients/oauth-consent-grants.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/security/oauth-clients/oauth-consent-grants.shared.schemas.d.ts.map +1 -1
- package/dist/esm/security/oauth-clients/oauth-consent-grants.shared.schemas.js.map +1 -1
- package/dist/esm/security/oauth-clients/oauth-resource-server.shared.schemas.d.ts.map +1 -1
- package/dist/esm/security/oauth-clients/oauth-resource-server.shared.schemas.js.map +1 -1
- package/dist/esm/security/outbound-target-control.shared.schemas.d.ts +7 -1
- package/dist/esm/security/outbound-target-control.shared.schemas.d.ts.map +1 -1
- package/dist/esm/security/outbound-target-control.shared.schemas.js +6 -0
- package/dist/esm/security/outbound-target-control.shared.schemas.js.map +1 -1
- package/dist/esm/security/submission-challenge/submission-challenge.shared.d.ts +143 -0
- package/dist/esm/security/submission-challenge/submission-challenge.shared.d.ts.map +1 -0
- package/dist/esm/security/submission-challenge/submission-challenge.shared.js +123 -0
- package/dist/esm/security/submission-challenge/submission-challenge.shared.js.map +1 -0
- package/dist/esm/systems-of-record/system-of-record-actions.shared.schemas.d.ts +384 -0
- package/dist/esm/systems-of-record/system-of-record-actions.shared.schemas.d.ts.map +1 -0
- package/dist/esm/systems-of-record/system-of-record-actions.shared.schemas.js +327 -0
- package/dist/esm/systems-of-record/system-of-record-actions.shared.schemas.js.map +1 -0
- package/dist/esm/systems-of-record/system-of-record-credential-kind.shared.d.ts.map +1 -1
- package/dist/esm/systems-of-record/system-of-record-credential-kind.shared.js.map +1 -1
- package/dist/esm/systems-of-record/system-of-record-declaration.shared.schemas.d.ts +121 -8
- package/dist/esm/systems-of-record/system-of-record-declaration.shared.schemas.d.ts.map +1 -1
- package/dist/esm/systems-of-record/system-of-record-declaration.shared.schemas.js +83 -4
- package/dist/esm/systems-of-record/system-of-record-declaration.shared.schemas.js.map +1 -1
- package/dist/esm/systems-of-record/system-of-record-env.shared.d.ts.map +1 -1
- package/dist/esm/systems-of-record/system-of-record-env.shared.js.map +1 -1
- package/dist/esm/systems-of-record/system-of-record-error-codes.shared.d.ts +266 -8
- package/dist/esm/systems-of-record/system-of-record-error-codes.shared.d.ts.map +1 -1
- package/dist/esm/systems-of-record/system-of-record-error-codes.shared.js +291 -7
- package/dist/esm/systems-of-record/system-of-record-error-codes.shared.js.map +1 -1
- package/dist/esm/systems-of-record/system-of-record-facet.shared.schemas.d.ts +313 -3
- package/dist/esm/systems-of-record/system-of-record-facet.shared.schemas.d.ts.map +1 -1
- package/dist/esm/systems-of-record/system-of-record-facet.shared.schemas.js +369 -3
- package/dist/esm/systems-of-record/system-of-record-facet.shared.schemas.js.map +1 -1
- package/dist/esm/systems-of-record/system-of-record-partition-assignments.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/systems-of-record/system-of-record-partition-assignments.shared.resources-config.schemas.js +2 -1
- package/dist/esm/systems-of-record/system-of-record-partition-assignments.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/systems-of-record/system-of-record-partition-assignments.shared.schemas.d.ts.map +1 -1
- package/dist/esm/systems-of-record/system-of-record-partition-assignments.shared.schemas.js.map +1 -1
- package/dist/esm/testing/resource-config-builders.d.ts.map +1 -1
- package/dist/esm/testing/resource-config-builders.js.map +1 -1
- package/dist/esm/testing.d.ts.map +1 -1
- package/dist/esm/testing.js.map +1 -1
- package/dist/esm/users/anonymous-user-marketing-metadata.shared.schemas.d.ts.map +1 -1
- package/dist/esm/users/anonymous-user-marketing-metadata.shared.schemas.js.map +1 -1
- package/dist/esm/users/anonymous-users.shared.resources-config.schemas.d.ts +5 -3
- 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 +19 -10
- package/dist/esm/users/anonymous-users.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/users/anonymous-users.shared.schema.d.ts.map +1 -1
- package/dist/esm/users/anonymous-users.shared.schema.js.map +1 -1
- package/dist/esm/users/inbound-contacts.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/users/inbound-contacts.shared.resources-config.schemas.js +6 -0
- package/dist/esm/users/inbound-contacts.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/users/inbound-contacts.shared.schemas.d.ts.map +1 -1
- package/dist/esm/users/inbound-contacts.shared.schemas.js.map +1 -1
- package/dist/esm/users/user-consent-decision.shared.utils.d.ts.map +1 -1
- package/dist/esm/users/user-consent-decision.shared.utils.js.map +1 -1
- 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.map +1 -1
- package/dist/esm/users/user-credentials.shared.schemas.d.ts.map +1 -1
- 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.map +1 -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.map +1 -1
- package/dist/esm/users/user-identity-links.shared.schemas.js.map +1 -1
- package/dist/esm/users/user-preferences-reset.shared.utils.d.ts.map +1 -1
- package/dist/esm/users/user-preferences-reset.shared.utils.js +2 -2
- package/dist/esm/users/user-preferences-reset.shared.utils.js.map +1 -1
- package/dist/esm/users/user-preferences.shared.resources-config.schemas.d.ts +0 -3
- 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.map +1 -1
- 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.map +1 -1
- package/dist/esm/users/user-self-preferences.shared.resources-config.schemas.d.ts +0 -3
- 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.map +1 -1
- 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.map +1 -1
- 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 +1 -1
- 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.map +1 -1
- package/dist/esm/users/users.shared.resources-config.schemas.js +82 -20
- package/dist/esm/users/users.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/users/users.shared.schemas.d.ts +12 -9
- package/dist/esm/users/users.shared.schemas.d.ts.map +1 -1
- package/dist/esm/users/users.shared.schemas.js +49 -18
- package/dist/esm/users/users.shared.schemas.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +4 -4
- package/dist/esm/compliance/privacy/data-retention.shared.schemas.d.ts +0 -8
- package/dist/esm/compliance/privacy/data-retention.shared.schemas.d.ts.map +0 -1
- package/dist/esm/compliance/privacy/data-retention.shared.schemas.js +0 -7
- package/dist/esm/compliance/privacy/data-retention.shared.schemas.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"work-attribution.shared.schemas.js","sourceRoot":"","sources":["../../../src/flows-actors/work-attribution.shared.schemas.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AACH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,wEAAwE;AACxE,OAAO,0BAA0B,CAAC;AAElC,OAAO,EAAE,iBAAiB,EAAE,MAAM,uCAAuC,CAAC;AAE1E;;;;GAIG;AACH,MAAM,CAAN,IAAY,gBAYX;AAZD,WAAY,gBAAgB;IAC1B,gHAAgH;IAChH,uDAAmC,CAAA;IACnC;;;OAGG;IACH,yEAAqD,CAAA;IACrD,yGAAyG;IACzG,2CAAuB,CAAA;IACvB,wFAAwF;IACxF,yDAAqC,CAAA;AACvC,CAAC,EAZW,gBAAgB,KAAhB,gBAAgB,QAY3B;AAED,uDAAuD;AACvD,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,CAAC,YAAY,CAAC;IAC/C,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC,UAAU,CAAC,kBAAkB,CAAC,CAAC,QAAQ,CAAC,kCAAkC,CAAC;IAC1G,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,QAAQ,CAAC,8CAA8C,CAAC;CACxF,CAAC,CAAC;AAGH,+DAA+D;AAC/D,MAAM,CAAN,IAAY,0BAOX;AAPD,WAAY,0BAA0B;IACpC,iGAAiG;IACjG,mDAAqB,CAAA;IACrB,0FAA0F;IAC1F,iDAAmB,CAAA;IACnB,oHAAoH;IACpH,2DAA6B,CAAA;AAC/B,C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,OAAO,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;KACrG,CAAC;IACF,MAAM,MAAM,GAAG,MAAM,CAAC,QAAQ,CAAC;QAC7B,CAAC,CAAC,0BAA0B,CAAC,QAAQ;QACrC,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC;YACf,CAAC,CAAC,0BAA0B,CAAC,OAAO;YACpC,CAAC,CAAC,0BAA0B,CAAC,YAAY,CAAC;IAC9C,OAAO,EAAE,WAAW,EAAE,MAAM,EAAE,CAAC;AACjC,CAAC","sourcesContent":["/**\n * # Work attribution: which tenant, which case and which execution a model call served\n *\n * The shared vocabulary of cost attribution (#1598) and of the expert-correction record (#1599). A model\n * call is attributed to a unit of work so an AI-native service firm can compute its cost per case:\n * inference plus the expert time spent on the same case.\n *\n * Three references travel together, and each answers a different question:\n *\n * - `organizationId` — WHOSE work it was. Derived by the engine from an authenticated owner field or\n * from the case row's own scope, never taken from a caller or a model (#1598 §5).\n * - `caseRef` — WHICH case (a {@link WorkUnitRef}: a row of a resource declared `workUnit: true`).\n * - `executionRef` — WHICH run spent it (a conversational turn, an actor execution, a batch run, the\n * processing of an inbound delivery). `taskRef` optionally narrows it to one actor task.\n *\n * None of these is authority. They are accounting facts: nothing may authorize on them, and the work\n * frame that carries them (`work-attribution.als.backend.ts`) is deliberately separate from the\n * `ExecutionContext`, which IS authority.\n */\nimport { z } from 'zod';\n// Side-effect import: this module calls `.systemEnum()` at load (#966).\nimport '@wildo-ai/zod-decorators';\n\nimport { WorkUnitRefSchema } from '../resources/work-unit.shared.schemas';\n\n/**\n * @wildo_source:part:start saas.models.work-attribution-vocabulary facet:layer:shared facet:family:flows-actors facet:audience:app-developer\n *\n * What kind of run spent a model call. One member per engine surface that opens a work frame.\n */\nexport enum ExecutionRefKind {\n /** An actor-system execution (`runActorExecution` / `resumeActorExecution`). `id` is the actor execution id. */\n ACTOR_EXECUTION = 'ACTOR_EXECUTION',\n /**\n * A conversational turn (WebSocket chat, A2A, or an autonomous agent's turn, which runs through the\n * same `startConversationalExecution`). `id` is the conversational execution id, which a resume keeps.\n */\n CONVERSATIONAL_EXECUTION = 'CONVERSATIONAL_EXECUTION',\n /** One run of a scheduled or queued batch (the RAG embedding drain, for example). `id` is the run id. */\n BATCH_RUN = 'BATCH_RUN',\n /** The processing of one inbound delivery (email, webhook). `id` is the delivery id. */\n INBOUND_DELIVERY = 'INBOUND_DELIVERY',\n}\n\n/** A reference to the run a model call was made in. */\nexport const ExecutionRefSchema = z.strictObject({\n kind: z.enum(ExecutionRefKind).systemEnum('ExecutionRefKind').describe('What kind of run spent the call.'),\n id: z.string().min(1).max(200).describe('Id of that run, in the store the kind names.'),\n});\nexport type ExecutionRef = z.infer<typeof ExecutionRefSchema>;\n\n/** How an attribution row learned which work a call served. */\nexport enum ModelCallAttributionSource {\n /** The engine call site passed the attribution explicitly with the call. Wins over any frame. */\n EXPLICIT = 'EXPLICIT',\n /** The recorder read it from the ambient work frame the engine opened around the call. */\n AMBIENT = 'AMBIENT',\n /** Neither: the call ran outside any work frame (platform tooling, the companion). Counted apart, never guessed. */\n UNATTRIBUTED = 'UNATTRIBUTED',\n}\n\n/** Which part of one provider call an attribution row accounts for. */\nexport enum ModelCallAttributionShare {\n /** The whole call served one unit of work: share 1/1. */\n WHOLE_CALL = 'WHOLE_CALL',\n /**\n * One call served several source rows of ONE tenant (an embedding batch). Each row gets\n * `shareNumerator` = its input length over `shareDenominator` = the call's total input length.\n */\n APPORTIONED_BY_INPUT_LENGTH = 'APPORTIONED_BY_INPUT_LENGTH',\n}\n\n/** Whether a registered pricing authority matched the call. */\nexport enum ModelCallPricingStatus {\n /** An application-registered authority for the provider and model was effective at the call. */\n PRICED = 'PRICED',\n /** No authority matched. Counted apart by every summary, never priced at zero. */\n UNPRICED = 'UNPRICED',\n}\n\n/**\n * Whether the provider reported how many of the output tokens were reasoning.\n *\n * OpenAI, Google, xAI and Perplexity report it; Anthropic and Mistral do not. An unreported count is\n * `UNREPORTED`, never 0: zero reasoning tokens is a claim, and the provider did not make it.\n */\nexport enum ReasoningUsageReporting {\n REPORTED = 'REPORTED',\n UNREPORTED = 'UNREPORTED',\n}\n\n/** The axis a cost summary groups by. */\nexport enum ModelCostGroupBy {\n CASE = 'CASE',\n ORGANIZATION = 'ORGANIZATION',\n AGENT = 'AGENT',\n MODEL = 'MODEL',\n}\n\n/**\n * Whether a case's expert time could be joined from the expert-decision records (#1599).\n *\n * `NOT_RECORDED` means no decision record exists to join, which is not the same as zero expert time:\n * a summary never reports 0 for time it cannot see.\n */\nexport enum ExpertTimeAvailability {\n JOINED = 'JOINED',\n NOT_RECORDED = 'NOT_RECORDED',\n}\n\n/**\n * Attribution a model call site passes EXPLICITLY (#1598 §4). When present it wins over the ambient work\n * frame, field by field for the fields it sets.\n *\n * Only engine code builds one. A `caseRef` from a client reaches it only after the boundary that accepted\n * it checked that the resource is a work unit and that the caller can READ that row.\n */\nexport const ModelCallAttributionInputSchema = z.strictObject({\n organizationId: z.string().min(1).optional().describe('The tenant, derived from an authenticated owner field or the case row; never from a caller or a model.'),\n caseRef: WorkUnitRefSchema.optional().describe('The case the call served: a row of a resource declared `workUnit: true`.'),\n executionRef: ExecutionRefSchema.optional().describe('The run the call was made in.'),\n taskRef: z.string().min(1).max(200).optional().describe('The actor task within that run, when there is one.'),\n});\nexport type ModelCallAttributionInput = z.infer<typeof ModelCallAttributionInputSchema>;\n/** @wildo_source:part:end saas.models.work-attribution-vocabulary */\n\n/**\n * Merge an explicit attribution over an ambient one, field by field (#1598 §4: explicit first, then the\n * frame). Returns the merged value and the source it will be recorded under: `EXPLICIT` when the call\n * site set any field, `AMBIENT` when only the frame did, `UNATTRIBUTED` when neither said anything.\n */\nexport function resolveModelCallAttribution(\n explicit: ModelCallAttributionInput | undefined,\n ambient: ModelCallAttributionInput | undefined,\n): { attribution: ModelCallAttributionInput; source: ModelCallAttributionSource } {\n const hasAny = (value: ModelCallAttributionInput | undefined): boolean =>\n value !== undefined && (value.organizationId !== undefined || value.caseRef !== undefined || value.executionRef !== undefined || value.taskRef !== undefined);\n const attribution: ModelCallAttributionInput = {\n ...(explicit?.organizationId ?? ambient?.organizationId ? { organizationId: explicit?.organizationId ?? ambient?.organizationId } : {}),\n ...(explicit?.caseRef ?? ambient?.caseRef ? { caseRef: explicit?.caseRef ?? ambient?.caseRef } : {}),\n ...(explicit?.executionRef ?? ambient?.executionRef ? { executionRef: explicit?.executionRef ?? ambient?.executionRef } : {}),\n ...(explicit?.taskRef ?? ambient?.taskRef ? { taskRef: explicit?.taskRef ?? ambient?.taskRef } : {}),\n };\n const source = hasAny(explicit)\n ? ModelCallAttributionSource.EXPLICIT\n : hasAny(ambient)\n ? ModelCallAttributionSource.AMBIENT\n : ModelCallAttributionSource.UNATTRIBUTED;\n return { attribution, source };\n}\n"]}
|
package/dist/esm/frontend-definitions/frontend-notification-custom-message-ref.definitions.d.ts
CHANGED
|
@@ -1,4 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The in-app notifications the ENGINE sends outside any resource operation, each by an identifier whose
|
|
3
|
+
* words live at `notifications_custom.<identifier>.msg`. The labelling planner derives a key for every
|
|
4
|
+
* member, so adding one is what gets its words authored; a notice sent with an identifier missing here
|
|
5
|
+
* would render its raw identifier.
|
|
6
|
+
*/
|
|
1
7
|
export declare enum FrontendNotificationCustomMessageRefs {
|
|
2
|
-
A_TEMP_REF = "A_TEMP_REF"
|
|
8
|
+
A_TEMP_REF = "A_TEMP_REF",
|
|
9
|
+
/** The CLAIM deadline is near and nobody has taken the decision. */
|
|
10
|
+
HUMAN_DECISION_CLAIM_WARNING = "human_decision_claim_warning",
|
|
11
|
+
/** The CLAIM deadline passed and nobody has taken the decision. */
|
|
12
|
+
HUMAN_DECISION_CLAIM_MISSED = "human_decision_claim_missed",
|
|
13
|
+
/** The DECISION deadline is near and nobody has answered. */
|
|
14
|
+
HUMAN_DECISION_DECISION_WARNING = "human_decision_decision_warning",
|
|
15
|
+
/** The DECISION deadline passed and nobody has answered; it still lapses at its original time. */
|
|
16
|
+
HUMAN_DECISION_DECISION_MISSED = "human_decision_decision_missed",
|
|
17
|
+
/** A deadline's escalation rule moved the decision to the recipient. */
|
|
18
|
+
HUMAN_DECISION_REASSIGNED_TO_YOU = "human_decision_reassigned_to_you",
|
|
19
|
+
/**
|
|
20
|
+
* Sent to the person whose request is waiting (the gate's owner) at a DECISION stage, when they are not
|
|
21
|
+
* the one who can answer it: their request is still waiting for a reviewer.
|
|
22
|
+
*/
|
|
23
|
+
HUMAN_DECISION_YOUR_REQUEST_WAITING = "human_decision_your_request_waiting"
|
|
3
24
|
}
|
|
4
25
|
//# sourceMappingURL=frontend-notification-custom-message-ref.definitions.d.ts.map
|
package/dist/esm/frontend-definitions/frontend-notification-custom-message-ref.definitions.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"frontend-notification-custom-message-ref.definitions.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"frontend-notification-custom-message-ref.definitions.d.ts","sourceRoot":"","sources":["../../../src/frontend-definitions/frontend-notification-custom-message-ref.definitions.ts"],"names":[],"mappings":"AACA;;;;;GAKG;AACH,oBAAY,qCAAqC;IAC/C,UAAU,eAAe;IAGzB,oEAAoE;IACpE,4BAA4B,iCAAiC;IAC7D,mEAAmE;IACnE,2BAA2B,gCAAgC;IAC3D,6DAA6D;IAC7D,+BAA+B,oCAAoC;IACnE,kGAAkG;IAClG,8BAA8B,mCAAmC;IACjE,wEAAwE;IACxE,gCAAgC,qCAAqC;IACrE;;;OAGG;IACH,mCAAmC,wCAAwC;CAC5E"}
|
package/dist/esm/frontend-definitions/frontend-notification-custom-message-ref.definitions.js
CHANGED
|
@@ -1,5 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The in-app notifications the ENGINE sends outside any resource operation, each by an identifier whose
|
|
3
|
+
* words live at `notifications_custom.<identifier>.msg`. The labelling planner derives a key for every
|
|
4
|
+
* member, so adding one is what gets its words authored; a notice sent with an identifier missing here
|
|
5
|
+
* would render its raw identifier.
|
|
6
|
+
*/
|
|
1
7
|
export var FrontendNotificationCustomMessageRefs;
|
|
2
8
|
(function (FrontendNotificationCustomMessageRefs) {
|
|
3
9
|
FrontendNotificationCustomMessageRefs["A_TEMP_REF"] = "A_TEMP_REF";
|
|
10
|
+
// #1628 — a pending decision's deadline stages, sent to the people who may answer it. Each names the
|
|
11
|
+
// decision in its `data`; none grants anything, so they are safe to send by default.
|
|
12
|
+
/** The CLAIM deadline is near and nobody has taken the decision. */
|
|
13
|
+
FrontendNotificationCustomMessageRefs["HUMAN_DECISION_CLAIM_WARNING"] = "human_decision_claim_warning";
|
|
14
|
+
/** The CLAIM deadline passed and nobody has taken the decision. */
|
|
15
|
+
FrontendNotificationCustomMessageRefs["HUMAN_DECISION_CLAIM_MISSED"] = "human_decision_claim_missed";
|
|
16
|
+
/** The DECISION deadline is near and nobody has answered. */
|
|
17
|
+
FrontendNotificationCustomMessageRefs["HUMAN_DECISION_DECISION_WARNING"] = "human_decision_decision_warning";
|
|
18
|
+
/** The DECISION deadline passed and nobody has answered; it still lapses at its original time. */
|
|
19
|
+
FrontendNotificationCustomMessageRefs["HUMAN_DECISION_DECISION_MISSED"] = "human_decision_decision_missed";
|
|
20
|
+
/** A deadline's escalation rule moved the decision to the recipient. */
|
|
21
|
+
FrontendNotificationCustomMessageRefs["HUMAN_DECISION_REASSIGNED_TO_YOU"] = "human_decision_reassigned_to_you";
|
|
22
|
+
/**
|
|
23
|
+
* Sent to the person whose request is waiting (the gate's owner) at a DECISION stage, when they are not
|
|
24
|
+
* the one who can answer it: their request is still waiting for a reviewer.
|
|
25
|
+
*/
|
|
26
|
+
FrontendNotificationCustomMessageRefs["HUMAN_DECISION_YOUR_REQUEST_WAITING"] = "human_decision_your_request_waiting";
|
|
4
27
|
})(FrontendNotificationCustomMessageRefs || (FrontendNotificationCustomMessageRefs = {}));
|
|
5
28
|
//# sourceMappingURL=frontend-notification-custom-message-ref.definitions.js.map
|
package/dist/esm/frontend-definitions/frontend-notification-custom-message-ref.definitions.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"frontend-notification-custom-message-ref.definitions.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"frontend-notification-custom-message-ref.definitions.js","sourceRoot":"","sources":["../../../src/frontend-definitions/frontend-notification-custom-message-ref.definitions.ts"],"names":[],"mappings":"AACA;;;;;GAKG;AACH,MAAM,CAAN,IAAY,qCAmBX;AAnBD,WAAY,qCAAqC;IAC/C,kEAAyB,CAAA;IACzB,qGAAqG;IACrG,qFAAqF;IACrF,oEAAoE;IACpE,sGAA6D,CAAA;IAC7D,mEAAmE;IACnE,oGAA2D,CAAA;IAC3D,6DAA6D;IAC7D,4GAAmE,CAAA;IACnE,kGAAkG;IAClG,0GAAiE,CAAA;IACjE,wEAAwE;IACxE,8GAAqE,CAAA;IACrE;;;OAGG;IACH,oHAA2E,CAAA;AAC7E,CAAC,EAnBW,qCAAqC,KAArC,qCAAqC,QAmBhD","sourcesContent":["\n/**\n * The in-app notifications the ENGINE sends outside any resource operation, each by an identifier whose\n * words live at `notifications_custom.<identifier>.msg`. The labelling planner derives a key for every\n * member, so adding one is what gets its words authored; a notice sent with an identifier missing here\n * would render its raw identifier.\n */\nexport enum FrontendNotificationCustomMessageRefs {\n A_TEMP_REF = \"A_TEMP_REF\",\n // #1628 — a pending decision's deadline stages, sent to the people who may answer it. Each names the\n // decision in its `data`; none grants anything, so they are safe to send by default.\n /** The CLAIM deadline is near and nobody has taken the decision. */\n HUMAN_DECISION_CLAIM_WARNING = \"human_decision_claim_warning\",\n /** The CLAIM deadline passed and nobody has taken the decision. */\n HUMAN_DECISION_CLAIM_MISSED = \"human_decision_claim_missed\",\n /** The DECISION deadline is near and nobody has answered. */\n HUMAN_DECISION_DECISION_WARNING = \"human_decision_decision_warning\",\n /** The DECISION deadline passed and nobody has answered; it still lapses at its original time. */\n HUMAN_DECISION_DECISION_MISSED = \"human_decision_decision_missed\",\n /** A deadline's escalation rule moved the decision to the recipient. */\n HUMAN_DECISION_REASSIGNED_TO_YOU = \"human_decision_reassigned_to_you\",\n /**\n * Sent to the person whose request is waiting (the gate's owner) at a DECISION stage, when they are not\n * the one who can answer it: their request is still waiting for a reviewer.\n */\n HUMAN_DECISION_YOUR_REQUEST_WAITING = \"human_decision_your_request_waiting\",\n}\n"]}
|
|
@@ -69,6 +69,15 @@ export declare enum EngineSettingsDestinationRef {
|
|
|
69
69
|
BILLING = "billing",
|
|
70
70
|
/** Organization API keys. Org owner/admin only. */
|
|
71
71
|
API_KEYS = "api-keys",
|
|
72
|
+
/**
|
|
73
|
+
* OAuth clients the ORGANIZATION registers — the machine credentials it issues for itself, and the ones an
|
|
74
|
+
* autonomous agent runs as (#1611). Org owner/admin only.
|
|
75
|
+
*
|
|
76
|
+
* The sibling of {@link API_KEYS} for the reason {@link APPLICATION_OAUTH_CLIENTS} is the sibling of the
|
|
77
|
+
* application's keys: under client-credentials both authenticate the organization's machine principal, so they
|
|
78
|
+
* are two credential types for one identity. Until #1812 this had no screen, and binding an agent was REST only.
|
|
79
|
+
*/
|
|
80
|
+
ORGANIZATION_OAUTH_CLIENTS = "organization-oauth-clients",
|
|
72
81
|
/**
|
|
73
82
|
* The tenant's OWN credentials toward third parties — its Slack workspace token, its CRM key.
|
|
74
83
|
*
|
|
@@ -97,6 +106,22 @@ export declare enum EngineSettingsDestinationRef {
|
|
|
97
106
|
SIEM = "siem",
|
|
98
107
|
/** Outbound webhook endpoints and delivery log. */
|
|
99
108
|
WEBHOOKS = "webhooks",
|
|
109
|
+
/**
|
|
110
|
+
* Messages other systems sent the application that belong to THIS organization (#1596): what
|
|
111
|
+
* arrived, whether the handler processed it, and REPLAY for one that died. Org owner/admin only.
|
|
112
|
+
*/
|
|
113
|
+
INBOUND_DELIVERIES = "inbound-deliveries",
|
|
114
|
+
/**
|
|
115
|
+
* The outside firms working in THIS organization (#1597): each relationship with its scope and term,
|
|
116
|
+
* and the verbs that accept, confine, pause and end it. The client's register of third parties with
|
|
117
|
+
* access to its data. Placed only by an application whose organization types declare `servesAsProvider`.
|
|
118
|
+
*/
|
|
119
|
+
SERVICE_PROVIDERS = "service-providers",
|
|
120
|
+
/**
|
|
121
|
+
* THIS organization's clients, when it is a service firm (#1597): its engagements, and which of its
|
|
122
|
+
* people serve which client. Placed only by an application whose organization types declare `servesAsProvider`.
|
|
123
|
+
*/
|
|
124
|
+
SERVICE_CLIENTS = "service-clients",
|
|
100
125
|
/** The organization's audit log. Org owner/admin only. */
|
|
101
126
|
AUDIT_LOGS = "audit-logs",
|
|
102
127
|
/**
|
|
@@ -115,6 +140,29 @@ export declare enum EngineSettingsDestinationRef {
|
|
|
115
140
|
ORGANIZATION_ENTITLEMENTS = "organization-entitlements",
|
|
116
141
|
/** Referral codes and their redemptions. Organization-scoped despite living in the billing domain. */
|
|
117
142
|
ORGANIZATION_REFERRALS = "organization-referrals",
|
|
143
|
+
/**
|
|
144
|
+
* The organization's legal holds (#1634): what is held from deletion, on what ground, placed and released by
|
|
145
|
+
* whom. `ORG_OWNER`, matching the resource's own READ / LIST roles.
|
|
146
|
+
*/
|
|
147
|
+
ORGANIZATION_LEGAL_HOLDS = "organization-legal-holds",
|
|
148
|
+
/**
|
|
149
|
+
* The domains THIS organization receives and sends mail on (#1600): claim one, publish its ownership TXT record
|
|
150
|
+
* and the provider's DNS records, verify, remove. Org owner/admin only, matching the resource's ORG_ADMIN verbs.
|
|
151
|
+
*/
|
|
152
|
+
EMAIL_DOMAINS = "email-domains",
|
|
153
|
+
/**
|
|
154
|
+
* The addresses THIS organization — a service firm — keeps on its own verified domain for the clients it serves;
|
|
155
|
+
* each routes its mail into that client's organization (#1600). Org owner/admin only. Placed only by an application
|
|
156
|
+
* whose organization types declare `servesAsProvider`.
|
|
157
|
+
*/
|
|
158
|
+
CLIENT_MAILBOXES = "client-mailboxes",
|
|
159
|
+
/**
|
|
160
|
+
* What THIS organization's experts decide about its agents' work (#1599): the override rate per agent, tool, case
|
|
161
|
+
* and reviewer; whether the content of their corrections is kept, why, and who else may read it; the authorisation
|
|
162
|
+
* to export them as evaluation data; and the ledger of every export. Org owner/admin only, matching the resources'
|
|
163
|
+
* ORG_ADMIN verbs and the override-rate route's organization-administrator check.
|
|
164
|
+
*/
|
|
165
|
+
AGENT_WORK_REVIEW = "agent-work-review",
|
|
118
166
|
/** The application's own descriptive record — name, description, the operator's identity. */
|
|
119
167
|
APPLICATION_GENERAL = "application-general",
|
|
120
168
|
/** Released versions of the application. */
|
|
@@ -166,6 +214,19 @@ export declare enum EngineSettingsDestinationRef {
|
|
|
166
214
|
APPLICATION_SIEM = "application-siem",
|
|
167
215
|
/** Application-wide outbound webhooks, and their delivery log. */
|
|
168
216
|
APPLICATION_WEBHOOKS = "application-webhooks",
|
|
217
|
+
/**
|
|
218
|
+
* Messages other systems sent the application that resolved to NO organization — application-scope
|
|
219
|
+
* and unroutable inbound deliveries (#1596) — with REPLAY for a dead one. The inbound mirror of
|
|
220
|
+
* {@link APPLICATION_WEBHOOKS}'s delivery log, kept separate because it is a different direction,
|
|
221
|
+
* a different entitlement and a different operator task.
|
|
222
|
+
*/
|
|
223
|
+
APPLICATION_INBOUND_DELIVERIES = "application-inbound-deliveries",
|
|
224
|
+
/**
|
|
225
|
+
* Whether each declared retention period is being enforced (#1636): one record per retention-sweep run and
|
|
226
|
+
* bound resource — what it deleted under which period, what a hold kept, and how the run ended. Read-only;
|
|
227
|
+
* the operator's view of the storage-limitation evidence.
|
|
228
|
+
*/
|
|
229
|
+
APPLICATION_RETENTION_ENFORCEMENT = "application-retention-enforcement",
|
|
169
230
|
/**
|
|
170
231
|
* The billing CATALOGUE the application sells — products, their prices, and promotions.
|
|
171
232
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"settings-destination-ref.definitions.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"settings-destination-ref.definitions.d.ts","sourceRoot":"","sources":["../../../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ACH,yBAAyB,8BAA8B;IACvD;;;;;;;;OAQG;IACH,yBAAyB,8BAA8B;IACvD;;;;;;;OAOG;IACH,sBAAsB,2BAA2B;IACjD,oFAAoF;IACpF,wBAAwB,6BAA6B;IACrD,+FAA+F;IAC/F,oBAAoB,yBAAyB;IAC7C,yFAAyF;IACzF,eAAe,oBAAoB;IACnC;;;;;;;OAOG;IACH,gBAAgB,qBAAqB;IACrC,8EAA8E;IAC9E,gBAAgB,qBAAqB;IACrC,kEAAkE;IAClE,oBAAoB,yBAAyB;IAC7C;;;;;OAKG;IACH,8BAA8B,mCAAmC;IACjE;;;;OAIG;IACH,iCAAiC,sCAAsC;IACvE;;;;;;OAMG;IACH,eAAe,oBAAoB;CACpC;AAED;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,4EAA4E;AAE5E;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,gCAAgC,EAAE,WAAW,CAAC,MAAM,CAAgE,CAAC"}
|
|
@@ -70,6 +70,15 @@ export var EngineSettingsDestinationRef;
|
|
|
70
70
|
EngineSettingsDestinationRef["BILLING"] = "billing";
|
|
71
71
|
/** Organization API keys. Org owner/admin only. */
|
|
72
72
|
EngineSettingsDestinationRef["API_KEYS"] = "api-keys";
|
|
73
|
+
/**
|
|
74
|
+
* OAuth clients the ORGANIZATION registers — the machine credentials it issues for itself, and the ones an
|
|
75
|
+
* autonomous agent runs as (#1611). Org owner/admin only.
|
|
76
|
+
*
|
|
77
|
+
* The sibling of {@link API_KEYS} for the reason {@link APPLICATION_OAUTH_CLIENTS} is the sibling of the
|
|
78
|
+
* application's keys: under client-credentials both authenticate the organization's machine principal, so they
|
|
79
|
+
* are two credential types for one identity. Until #1812 this had no screen, and binding an agent was REST only.
|
|
80
|
+
*/
|
|
81
|
+
EngineSettingsDestinationRef["ORGANIZATION_OAUTH_CLIENTS"] = "organization-oauth-clients";
|
|
73
82
|
/**
|
|
74
83
|
* The tenant's OWN credentials toward third parties — its Slack workspace token, its CRM key.
|
|
75
84
|
*
|
|
@@ -98,6 +107,22 @@ export var EngineSettingsDestinationRef;
|
|
|
98
107
|
EngineSettingsDestinationRef["SIEM"] = "siem";
|
|
99
108
|
/** Outbound webhook endpoints and delivery log. */
|
|
100
109
|
EngineSettingsDestinationRef["WEBHOOKS"] = "webhooks";
|
|
110
|
+
/**
|
|
111
|
+
* Messages other systems sent the application that belong to THIS organization (#1596): what
|
|
112
|
+
* arrived, whether the handler processed it, and REPLAY for one that died. Org owner/admin only.
|
|
113
|
+
*/
|
|
114
|
+
EngineSettingsDestinationRef["INBOUND_DELIVERIES"] = "inbound-deliveries";
|
|
115
|
+
/**
|
|
116
|
+
* The outside firms working in THIS organization (#1597): each relationship with its scope and term,
|
|
117
|
+
* and the verbs that accept, confine, pause and end it. The client's register of third parties with
|
|
118
|
+
* access to its data. Placed only by an application whose organization types declare `servesAsProvider`.
|
|
119
|
+
*/
|
|
120
|
+
EngineSettingsDestinationRef["SERVICE_PROVIDERS"] = "service-providers";
|
|
121
|
+
/**
|
|
122
|
+
* THIS organization's clients, when it is a service firm (#1597): its engagements, and which of its
|
|
123
|
+
* people serve which client. Placed only by an application whose organization types declare `servesAsProvider`.
|
|
124
|
+
*/
|
|
125
|
+
EngineSettingsDestinationRef["SERVICE_CLIENTS"] = "service-clients";
|
|
101
126
|
/** The organization's audit log. Org owner/admin only. */
|
|
102
127
|
EngineSettingsDestinationRef["AUDIT_LOGS"] = "audit-logs";
|
|
103
128
|
/**
|
|
@@ -116,6 +141,29 @@ export var EngineSettingsDestinationRef;
|
|
|
116
141
|
EngineSettingsDestinationRef["ORGANIZATION_ENTITLEMENTS"] = "organization-entitlements";
|
|
117
142
|
/** Referral codes and their redemptions. Organization-scoped despite living in the billing domain. */
|
|
118
143
|
EngineSettingsDestinationRef["ORGANIZATION_REFERRALS"] = "organization-referrals";
|
|
144
|
+
/**
|
|
145
|
+
* The organization's legal holds (#1634): what is held from deletion, on what ground, placed and released by
|
|
146
|
+
* whom. `ORG_OWNER`, matching the resource's own READ / LIST roles.
|
|
147
|
+
*/
|
|
148
|
+
EngineSettingsDestinationRef["ORGANIZATION_LEGAL_HOLDS"] = "organization-legal-holds";
|
|
149
|
+
/**
|
|
150
|
+
* The domains THIS organization receives and sends mail on (#1600): claim one, publish its ownership TXT record
|
|
151
|
+
* and the provider's DNS records, verify, remove. Org owner/admin only, matching the resource's ORG_ADMIN verbs.
|
|
152
|
+
*/
|
|
153
|
+
EngineSettingsDestinationRef["EMAIL_DOMAINS"] = "email-domains";
|
|
154
|
+
/**
|
|
155
|
+
* The addresses THIS organization — a service firm — keeps on its own verified domain for the clients it serves;
|
|
156
|
+
* each routes its mail into that client's organization (#1600). Org owner/admin only. Placed only by an application
|
|
157
|
+
* whose organization types declare `servesAsProvider`.
|
|
158
|
+
*/
|
|
159
|
+
EngineSettingsDestinationRef["CLIENT_MAILBOXES"] = "client-mailboxes";
|
|
160
|
+
/**
|
|
161
|
+
* What THIS organization's experts decide about its agents' work (#1599): the override rate per agent, tool, case
|
|
162
|
+
* and reviewer; whether the content of their corrections is kept, why, and who else may read it; the authorisation
|
|
163
|
+
* to export them as evaluation data; and the ledger of every export. Org owner/admin only, matching the resources'
|
|
164
|
+
* ORG_ADMIN verbs and the override-rate route's organization-administrator check.
|
|
165
|
+
*/
|
|
166
|
+
EngineSettingsDestinationRef["AGENT_WORK_REVIEW"] = "agent-work-review";
|
|
119
167
|
// ── Application administration ──────────────────────────────────────────────
|
|
120
168
|
//
|
|
121
169
|
// Everything below is `ResourcePrimaryScope.APPLICATION`: it configures the APPLICATION ITSELF
|
|
@@ -179,6 +227,19 @@ export var EngineSettingsDestinationRef;
|
|
|
179
227
|
EngineSettingsDestinationRef["APPLICATION_SIEM"] = "application-siem";
|
|
180
228
|
/** Application-wide outbound webhooks, and their delivery log. */
|
|
181
229
|
EngineSettingsDestinationRef["APPLICATION_WEBHOOKS"] = "application-webhooks";
|
|
230
|
+
/**
|
|
231
|
+
* Messages other systems sent the application that resolved to NO organization — application-scope
|
|
232
|
+
* and unroutable inbound deliveries (#1596) — with REPLAY for a dead one. The inbound mirror of
|
|
233
|
+
* {@link APPLICATION_WEBHOOKS}'s delivery log, kept separate because it is a different direction,
|
|
234
|
+
* a different entitlement and a different operator task.
|
|
235
|
+
*/
|
|
236
|
+
EngineSettingsDestinationRef["APPLICATION_INBOUND_DELIVERIES"] = "application-inbound-deliveries";
|
|
237
|
+
/**
|
|
238
|
+
* Whether each declared retention period is being enforced (#1636): one record per retention-sweep run and
|
|
239
|
+
* bound resource — what it deleted under which period, what a hold kept, and how the run ended. Read-only;
|
|
240
|
+
* the operator's view of the storage-limitation evidence.
|
|
241
|
+
*/
|
|
242
|
+
EngineSettingsDestinationRef["APPLICATION_RETENTION_ENFORCEMENT"] = "application-retention-enforcement";
|
|
182
243
|
/**
|
|
183
244
|
* The billing CATALOGUE the application sells — products, their prices, and promotions.
|
|
184
245
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"settings-destination-ref.definitions.js","sourceRoot":"","sources":["../../../../src/frontend-definitions/settings-destination-ref.definitions.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AAEH,oJAAoJ;AACpJ;;;;;;;;;;;;;;;GAeG;AACH,MAAM,CAAN,IAAY,4BAmJX;AAnJD,WAAY,4BAA4B;IACtC,+CAA+C;IAC/C,mDAAmB,CAAA;IACnB,wDAAwD;IACxD,qDAAqB,CAAA;IACrB,iEAAiE;IACjE,yDAAyB,CAAA;IACzB,kDAAkD;IAClD,2DAA2B,CAAA;IAC3B,8FAA8F;IAC9F,iEAAiC,CAAA;IACjC,mEAAmE;IACnE,6EAA6C,CAAA;IAC7C,kFAAkF;IAClF,mDAAmB,CAAA;IACnB;;;;;;;OAOG;IACH,yEAAyC,CAAA;IACzC,qGAAqG;IACrG,mDAAmB,CAAA;IACnB,mDAAmD;IACnD,qDAAqB,CAAA;IACrB;;;;;;OAMG;IACH,6EAA6C,CAAA;IAC7C;;;;;;;;;;OAUG;IACH,mFAAmD,CAAA;IACnD,oDAAoD;IACpD,2CAAW,CAAA;IACX,4DAA4D;IAC5D,6CAAa,CAAA;IACb,qEAAqE;IACrE,6CAAa,CAAA;IACb,mDAAmD;IACnD,qDAAqB,CAAA;IACrB,0DAA0D;IAC1D,yDAAyB,CAAA;IACzB;;;;;;;;;;;;OAYG;IACH,uFAAuD,CAAA;IACvD,sGAAsG;IACtG,iFAAiD,CAAA;IAEjD,+EAA+E;IAC/E,EAAE;IACF,+FAA+F;IAC/F,4FAA4F;IAC5F,2EAA2E;IAC3E,4FAA4F;IAC5F,4FAA4F;IAC5F,EAAE;IACF,wFAAwF;IACxF,gGAAgG;IAChG,+FAA+F;IAC/F,0EAA0E;IAE1E,6FAA6F;IAC7F,2EAA2C,CAAA;IAC3C,4CAA4C;IAC5C,6EAA6C,CAAA;IAC7C;;;;;;;OAOG;IACH,uFAAuD,CAAA;IACvD;;;;;;;;OAQG;IACH,uFAAuD,CAAA;IACvD;;;;;;;OAOG;IACH,iFAAiD,CAAA;IACjD,oFAAoF;IACpF,qFAAqD,CAAA;IACrD,+FAA+F;IAC/F,6EAA6C,CAAA;IAC7C,yFAAyF;IACzF,mEAAmC,CAAA;IACnC;;;;;;;OAOG;IACH,qEAAqC,CAAA;IACrC,8EAA8E;IAC9E,qEAAqC,CAAA;IACrC,kEAAkE;IAClE,6EAA6C,CAAA;IAC7C;;;;;;OAMG;IACH,mEAAmC,CAAA;AACrC,CAAC,EAnJW,4BAA4B,KAA5B,4BAA4B,QAmJvC;AAED;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,4EAA4E;AAE5E;;;;;;;;;;;;;;;GAeG;AACH,MAAM,CAAC,MAAM,gCAAgC,GAAwB,IAAI,GAAG,CAAS,MAAM,CAAC,MAAM,CAAC,4BAA4B,CAAC,CAAC,CAAC","sourcesContent":["/**\n * The IDENTITY half of the engine's settings-hub catalogue — the refs, and nothing else.\n *\n * ## Why the identity lives here and the catalogue does not\n *\n * A settings destination has two halves, and only one of them is a rendering concern:\n *\n * - **What a destination IS** — its `target` (a resource operation, a bespoke engine panel, a set\n * of sub-tabs), its role gating, its runtime-capability gating. That half names components and\n * panel refs, so it belongs to `@wildo-ai/saas-frontend-lib`, where `ENGINE_SETTINGS_DESTINATIONS`\n * declares it.\n * - **WHICH destinations exist** — a closed set of ids. That half names nothing renderable. It is\n * the vocabulary an application's `SettingsHubConfig` addresses by string, the vocabulary the\n * app-creation placement plan names in a `PlacementSubject`, and the vocabulary engine code\n * addresses by enum member. It is declared here.\n *\n * The split was made 2026-09-09 because the second half had a consumer the first half's package\n * could never serve. `validatePlacementPlan`'s `UNKNOWN_SUBJECT` finding is a HARD FLOOR — it\n * refuses a landing — and it can only fire when a caller supplies the universe of subjects that\n * exist. Its one production caller is the app-creation semantic authority, a backend-side package\n * that must not depend on `saas-frontend-lib`. So a declared refusal had no holder, for no reason\n * other than where a list of sixteen strings was written down.\n *\n * Nothing is re-exported across the boundary: `saas-frontend-lib` imports the enum from here and\n * declares only the catalogue.\n */\n\n/** @wildo_source:part:start saas.frontend.settings-hub.engine-destinations facet:layer:frontend facet:family:config facet:audience:app-developer */\n/**\n * Every settings destination the engine ships, as a named vocabulary.\n *\n * Imported from `@wildo-ai/saas-models`. Exists because these refs are a CLOSED\n * vocabulary that engine code addresses by name — the billing command-menu entry\n * opens `/settings/billing`, and any future engine launcher will do the same.\n * Before this enum, `'billing'` was a bare literal in `billing-launcher.ts` with\n * nothing tying it to the catalog entry it names: rename the destination and the\n * command silently resolves to the hub's DEFAULT section instead of failing, so a\n * menu item labelled \"Billing\" would open Profile.\n *\n * **Engine code must address a destination through this enum. Application\n * config addresses one by string**, deliberately: a placement is authored data,\n * an application should not import an engine enum to write its own rail, and a\n * typo there is caught at DEV startup by `verifySettingsHubContent`.\n */\nexport enum EngineSettingsDestinationRef {\n /** The signed-in user's own profile record. */\n PROFILE = 'profile',\n /** Password, MFA, sessions — a bespoke engine panel. */\n SECURITY = 'security',\n /** Theme and appearance preferences — a bespoke engine panel. */\n APPEARANCE = 'appearance',\n /** The signed-in user's own preference record. */\n PREFERENCES = 'preferences',\n /** Invitations addressed TO the signed-in user, across organizations they have not joined. */\n MY_INVITATIONS = 'my-invitations',\n /** The current organization's own record. Org owner/admin only. */\n ORGANIZATION_GENERAL = 'organization-general',\n /** Organization membership list, including INVITED rows. Org owner/admin only. */\n MEMBERS = 'members',\n /**\n * The organization's internal structure — teams, departments, the hierarchy under the tenant.\n *\n * Its own rail entry rather than a tab inside {@link ORGANIZATION_GENERAL}. The general pane is a\n * record — a column of decisions about the tenant itself — and a unit hierarchy is a population\n * you navigate, which is a different kind of surface and a different task. Nesting it there also\n * put it behind a pane a reader had no other reason to open.\n */\n ORGANIZATION_UNITS = 'organization-units',\n /** Billing home — subscription, plans, usage, invoices. Gated on the `billingEnabled` capability. */\n BILLING = 'billing',\n /** Organization API keys. Org owner/admin only. */\n API_KEYS = 'api-keys',\n /**\n * The tenant's OWN credentials toward third parties — its Slack workspace token, its CRM key.\n *\n * The mirror image of {@link API_KEYS} and easy to confuse with it: an API key is a credential\n * somebody uses to reach THIS application, and one of these is a credential this application uses\n * to reach somebody else ON THIS TENANT'S BEHALF. Same administrator, opposite direction.\n */\n PROVIDER_CREDENTIALS = 'provider-credentials',\n /**\n * The signed-in person's OWN credentials toward third parties — their personal API key, the\n * account they connected themselves.\n *\n * Distinct from {@link PROVIDER_CREDENTIALS} by OWNER, not by feature, and the two must never be\n * merged into one screen. A tenant's credential is a shared integration an administrator\n * configures for everyone; this one is an individual's own account, which nobody else may see,\n * spend or remove. Putting them on one page would put a colleague's personal vendor token in an\n * administrator's view — and the resource's authorization refuses that, so the screen would show\n * an empty list nobody could explain.\n */\n MY_PROVIDER_CREDENTIALS = 'my-provider-credentials',\n /** Single sign-on configuration and connections. */\n SSO = 'sso',\n /** SCIM directory provisioning configuration and tokens. */\n SCIM = 'scim',\n /** Audit-event streaming configuration and failed-delivery queue. */\n SIEM = 'siem',\n /** Outbound webhook endpoints and delivery log. */\n WEBHOOKS = 'webhooks',\n /** The organization's audit log. Org owner/admin only. */\n AUDIT_LOGS = 'audit-logs',\n /**\n * What THIS organization is currently entitled to — its features, its numeric limits, and the\n * application-administrator exceptions laid over them.\n *\n * Readable by any organization member (`organizationFeatures` READ is `ORG_MEMBER`), which is why\n * it carries no `requiredRoles`: a member who is told a surface needs an upgrade should be able to\n * see what their organization actually has. The operations that CHANGE it — enable, disable, reset\n * — are `APP_ADMIN_SUPER_ADMIN` on the resource itself, so the same screen is a read-only summary\n * for a member and the grant/withdraw console for a platform administrator.\n *\n * Until this existed there was no way to reach the entitlement state from anywhere in the product:\n * the resource had a table, an admin UI behaviour and three custom operations, and no door.\n */\n ORGANIZATION_ENTITLEMENTS = 'organization-entitlements',\n /** Referral codes and their redemptions. Organization-scoped despite living in the billing domain. */\n ORGANIZATION_REFERRALS = 'organization-referrals',\n\n // ── Application administration ──────────────────────────────────────────────\n //\n // Everything below is `ResourcePrimaryScope.APPLICATION`: it configures the APPLICATION ITSELF\n // rather than one tenant inside it, and it is the operator's surface, not a customer's. The\n // category an application places these in is what supplies that scope, and\n // `useVisibleSettingsHubConfig` resolves the application id from `appIdentity` — the access\n // token does not carry one, so a category scoped this way was unreachable until 2026-09-17.\n //\n // Each mirrors an organization-scope sibling above, and the pairs are NOT redundant: an\n // application-wide SSO connection authenticates everybody who is not covered by a tenant's own,\n // and an application-wide SIEM export carries the operator's own security events rather than a\n // customer's. Same mechanism, different principal, different consequence.\n\n /** The application's own descriptive record — name, description, the operator's identity. */\n APPLICATION_GENERAL = 'application-general',\n /** Released versions of the application. */\n APPLICATION_VERSIONS = 'application-versions',\n /**\n * OAuth clients registered against the APPLICATION — the credential a machine presents for a\n * client-credentials or authorization-code exchange.\n *\n * The sibling of {@link APPLICATION_API_KEYS} rather than a duplicate of it: under\n * client-credentials both authenticate the same `APPLICATION_MACHINE` principal, so they are two\n * credential TYPES for one identity and belong side by side.\n */\n APPLICATION_OAUTH_CLIENTS = 'application-oauth-clients',\n /**\n * The two-person rule, made reviewable — requested, signed, time-bound elevations over the\n * application-wide reads.\n *\n * Placed because a control of this kind is justified by VISIBILITY rather than by prevention:\n * it does not stop an operator reading across tenants, it makes a second administrator sign for\n * it and leaves a record. An elevation nobody can read makes nothing visible, so the mechanism\n * ran without its own justification until this had a door.\n */\n APPLICATION_ACCESS_GRANTS = 'application-access-grants',\n /**\n * The application-wide audit trail — every tenant's events plus the ones belonging to no tenant.\n *\n * Distinct from the organization {@link AUDIT_LOGS} by the question it answers, not by scope\n * alone: the tenant door answers \"what happened in my organization\", this one answers \"what\n * happened at all\", and only the second can support a deployment-level attestation. Every read\n * through it is a declared crossing and emits one event into each tenant it reached.\n */\n APPLICATION_AUDIT_LOGS = 'application-audit-logs',\n /** The application-scope feature and limit state, with administrator exceptions. */\n APPLICATION_ENTITLEMENTS = 'application-entitlements',\n /** API keys that authenticate a machine to the APPLICATION rather than to one organization. */\n APPLICATION_API_KEYS = 'application-api-keys',\n /** Application-wide single sign-on: the configuration, and the connections it admits. */\n APPLICATION_SSO = 'application-sso',\n /**\n * Application-wide SCIM directory provisioning.\n *\n * One target rather than the organization sibling's two tabs, and that asymmetry is real rather\n * than an omission: there is no `APPLICATION_SCIM_TOKENS` resource — only\n * `ORGANIZATION_SCIM_TOKENS` exists — so the application scope has a provisioning configuration\n * and nothing to tab to.\n */\n APPLICATION_SCIM = 'application-scim',\n /** Application-wide audit-event streaming, and the deliveries that failed. */\n APPLICATION_SIEM = 'application-siem',\n /** Application-wide outbound webhooks, and their delivery log. */\n APPLICATION_WEBHOOKS = 'application-webhooks',\n /**\n * The billing CATALOGUE the application sells — products, their prices, and promotions.\n *\n * Distinct from the organization `BILLING` destination, which is one tenant's subscription and\n * invoices. This is the operator editing what is on sale; that is a customer reading what they\n * bought.\n */\n BILLING_CATALOG = 'billing-catalog',\n}\n\n/**\n * ## Two administration surfaces that are DELIBERATELY absent, so neither is re-proposed\n *\n * **A tenant directory.** `organizations` LIST looks like one and is not: it is confined by\n * `assignScopeRootCollectionConfinementToFilter` to the tenants the caller holds an\n * organization-wide role entry for, so a platform super-administrator sees THEIR OWN organizations\n * and not every tenant. That confinement is deliberate — the resource's own banner says so, and\n * says explicitly that an operator who \"cannot find the tenant id\" should stop rather than widen\n * the operation, because widening it hands the full customer list to every platform administrator\n * as a standing privilege. A destination named \"Organizations\" under Administration would promise\n * the directory and deliver the memberships, which is worse than having no entry: the reader\n * cannot tell the difference, and the number looks authoritative.\n *\n * **A user directory.** Same shape one level down. The application-wide user read is gated on a\n * two-person `applicationAccessGrants` window precisely so that it is not a standing privilege, so\n * a permanently-placed rail entry would either sit there refusing or quietly bypass the control it\n * is supposed to pass through.\n *\n * Both become placeable when a governed cross-tenant read exists — an operation that requires the\n * grant and says so. Neither becomes placeable by widening the operation that is already there.\n */\n/** @wildo_source:part:end saas.frontend.settings-hub.engine-destinations */\n\n/**\n * Every destination ref the engine ships — the set an authored placement is validated against.\n *\n * **Derived from the enum, not from the catalogue, and that is the point.** It used to be\n * `ENGINE_SETTINGS_DESTINATIONS.map(d => d.ref)`, which made the set a statement about how many\n * catalogue entries had been written rather than about what the vocabulary contains: a member added\n * to the enum and not yet given a catalogue entry would have been silently absent from the universe\n * a hard floor is measured against, so a placement naming it would have been refused as UNKNOWN.\n * Deriving from the enum is TOTAL over the vocabulary — a member added tomorrow is in this set the\n * same day — and the reverse obligation (every ref has a catalogue entry) is pinned in\n * `saas-frontend-lib`, where the catalogue lives and where an omission is a rendering defect.\n *\n * Values are bare ids, the shape `placementSubjectLocalKey` publishes for\n * `ENGINE_SETTINGS_DESTINATION` subjects, so this set can be handed to `validatePlacementPlan`\n * without being re-spelled.\n */\nexport const ENGINE_SETTINGS_DESTINATION_REFS: ReadonlySet<string> = new Set<string>(Object.values(EngineSettingsDestinationRef));\n"]}
|
|
1
|
+
{"version":3,"file":"settings-destination-ref.definitions.js","sourceRoot":"","sources":["../../../src/frontend-definitions/settings-destination-ref.definitions.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5F,EAAE;IACF,wFAAwF;IACxF,gGAAgG;IAChG,+FAA+F;IAC/F,0EAA0E;IAE1E,6FAA6F;IAC7F,2EAA2C,CAAA;IAC3C,4CAA4C;IAC5C,6EAA6C,CAAA;IAC7C;;;;;;;OAOG;IACH,uFAAuD,CAAA;IACvD;;;;;;;;OAQG;IACH,uFAAuD,CAAA;IACvD;;;;;;;OAOG;IACH,iFAAiD,CAAA;IACjD,oFAAoF;IACpF,qFAAqD,CAAA;IACrD,+FAA+F;IAC/F,6EAA6C,CAAA;IAC7C,yFAAyF;IACzF,mEAAmC,CAAA;IACnC;;;;;;;OAOG;IACH,qEAAqC,CAAA;IACrC,8EAA8E;IAC9E,qEAAqC,CAAA;IACrC,kEAAkE;IAClE,6EAA6C,CAAA;IAC7C;;;;;OAKG;IACH,iGAAiE,CAAA;IACjE;;;;OAIG;IACH,uGAAuE,CAAA;IACvE;;;;;;OAMG;IACH,mEAAmC,CAAA;AACrC,CAAC,EAhNW,4BAA4B,KAA5B,4BAA4B,QAgNvC;AAED;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,4EAA4E;AAE5E;;;;;;;;;;;;;;;GAeG;AACH,MAAM,CAAC,MAAM,gCAAgC,GAAwB,IAAI,GAAG,CAAS,MAAM,CAAC,MAAM,CAAC,4BAA4B,CAAC,CAAC,CAAC","sourcesContent":["/**\n * The IDENTITY half of the engine's settings-hub catalogue — the refs, and nothing else.\n *\n * ## Why the identity lives here and the catalogue does not\n *\n * A settings destination has two halves, and only one of them is a rendering concern:\n *\n * - **What a destination IS** — its `target` (a resource operation, a bespoke engine panel, a set\n * of sub-tabs), its role gating, its runtime-capability gating. That half names components and\n * panel refs, so it belongs to `@wildo-ai/saas-frontend-lib`, where `ENGINE_SETTINGS_DESTINATIONS`\n * declares it.\n * - **WHICH destinations exist** — a closed set of ids. That half names nothing renderable. It is\n * the vocabulary an application's `SettingsHubConfig` addresses by string, the vocabulary the\n * app-creation placement plan names in a `PlacementSubject`, and the vocabulary engine code\n * addresses by enum member. It is declared here.\n *\n * The split was made 2026-09-09 because the second half had a consumer the first half's package\n * could never serve. `validatePlacementPlan`'s `UNKNOWN_SUBJECT` finding is a HARD FLOOR — it\n * refuses a landing — and it can only fire when a caller supplies the universe of subjects that\n * exist. Its one production caller is the app-creation semantic authority, a backend-side package\n * that must not depend on `saas-frontend-lib`. So a declared refusal had no holder, for no reason\n * other than where a list of sixteen strings was written down.\n *\n * Nothing is re-exported across the boundary: `saas-frontend-lib` imports the enum from here and\n * declares only the catalogue.\n */\n\n/** @wildo_source:part:start saas.frontend.settings-hub.engine-destinations facet:layer:frontend facet:family:config facet:audience:app-developer */\n/**\n * Every settings destination the engine ships, as a named vocabulary.\n *\n * Imported from `@wildo-ai/saas-models`. Exists because these refs are a CLOSED\n * vocabulary that engine code addresses by name — the billing command-menu entry\n * opens `/settings/billing`, and any future engine launcher will do the same.\n * Before this enum, `'billing'` was a bare literal in `billing-launcher.ts` with\n * nothing tying it to the catalog entry it names: rename the destination and the\n * command silently resolves to the hub's DEFAULT section instead of failing, so a\n * menu item labelled \"Billing\" would open Profile.\n *\n * **Engine code must address a destination through this enum. Application\n * config addresses one by string**, deliberately: a placement is authored data,\n * an application should not import an engine enum to write its own rail, and a\n * typo there is caught at DEV startup by `verifySettingsHubContent`.\n */\nexport enum EngineSettingsDestinationRef {\n /** The signed-in user's own profile record. */\n PROFILE = 'profile',\n /** Password, MFA, sessions — a bespoke engine panel. */\n SECURITY = 'security',\n /** Theme and appearance preferences — a bespoke engine panel. */\n APPEARANCE = 'appearance',\n /** The signed-in user's own preference record. */\n PREFERENCES = 'preferences',\n /** Invitations addressed TO the signed-in user, across organizations they have not joined. */\n MY_INVITATIONS = 'my-invitations',\n /** The current organization's own record. Org owner/admin only. */\n ORGANIZATION_GENERAL = 'organization-general',\n /** Organization membership list, including INVITED rows. Org owner/admin only. */\n MEMBERS = 'members',\n /**\n * The organization's internal structure — teams, departments, the hierarchy under the tenant.\n *\n * Its own rail entry rather than a tab inside {@link ORGANIZATION_GENERAL}. The general pane is a\n * record — a column of decisions about the tenant itself — and a unit hierarchy is a population\n * you navigate, which is a different kind of surface and a different task. Nesting it there also\n * put it behind a pane a reader had no other reason to open.\n */\n ORGANIZATION_UNITS = 'organization-units',\n /** Billing home — subscription, plans, usage, invoices. Gated on the `billingEnabled` capability. */\n BILLING = 'billing',\n /** Organization API keys. Org owner/admin only. */\n API_KEYS = 'api-keys',\n /**\n * OAuth clients the ORGANIZATION registers — the machine credentials it issues for itself, and the ones an\n * autonomous agent runs as (#1611). Org owner/admin only.\n *\n * The sibling of {@link API_KEYS} for the reason {@link APPLICATION_OAUTH_CLIENTS} is the sibling of the\n * application's keys: under client-credentials both authenticate the organization's machine principal, so they\n * are two credential types for one identity. Until #1812 this had no screen, and binding an agent was REST only.\n */\n ORGANIZATION_OAUTH_CLIENTS = 'organization-oauth-clients',\n /**\n * The tenant's OWN credentials toward third parties — its Slack workspace token, its CRM key.\n *\n * The mirror image of {@link API_KEYS} and easy to confuse with it: an API key is a credential\n * somebody uses to reach THIS application, and one of these is a credential this application uses\n * to reach somebody else ON THIS TENANT'S BEHALF. Same administrator, opposite direction.\n */\n PROVIDER_CREDENTIALS = 'provider-credentials',\n /**\n * The signed-in person's OWN credentials toward third parties — their personal API key, the\n * account they connected themselves.\n *\n * Distinct from {@link PROVIDER_CREDENTIALS} by OWNER, not by feature, and the two must never be\n * merged into one screen. A tenant's credential is a shared integration an administrator\n * configures for everyone; this one is an individual's own account, which nobody else may see,\n * spend or remove. Putting them on one page would put a colleague's personal vendor token in an\n * administrator's view — and the resource's authorization refuses that, so the screen would show\n * an empty list nobody could explain.\n */\n MY_PROVIDER_CREDENTIALS = 'my-provider-credentials',\n /** Single sign-on configuration and connections. */\n SSO = 'sso',\n /** SCIM directory provisioning configuration and tokens. */\n SCIM = 'scim',\n /** Audit-event streaming configuration and failed-delivery queue. */\n SIEM = 'siem',\n /** Outbound webhook endpoints and delivery log. */\n WEBHOOKS = 'webhooks',\n /**\n * Messages other systems sent the application that belong to THIS organization (#1596): what\n * arrived, whether the handler processed it, and REPLAY for one that died. Org owner/admin only.\n */\n INBOUND_DELIVERIES = 'inbound-deliveries',\n /**\n * The outside firms working in THIS organization (#1597): each relationship with its scope and term,\n * and the verbs that accept, confine, pause and end it. The client's register of third parties with\n * access to its data. Placed only by an application whose organization types declare `servesAsProvider`.\n */\n SERVICE_PROVIDERS = 'service-providers',\n /**\n * THIS organization's clients, when it is a service firm (#1597): its engagements, and which of its\n * people serve which client. Placed only by an application whose organization types declare `servesAsProvider`.\n */\n SERVICE_CLIENTS = 'service-clients',\n /** The organization's audit log. Org owner/admin only. */\n AUDIT_LOGS = 'audit-logs',\n /**\n * What THIS organization is currently entitled to — its features, its numeric limits, and the\n * application-administrator exceptions laid over them.\n *\n * Readable by any organization member (`organizationFeatures` READ is `ORG_MEMBER`), which is why\n * it carries no `requiredRoles`: a member who is told a surface needs an upgrade should be able to\n * see what their organization actually has. The operations that CHANGE it — enable, disable, reset\n * — are `APP_ADMIN_SUPER_ADMIN` on the resource itself, so the same screen is a read-only summary\n * for a member and the grant/withdraw console for a platform administrator.\n *\n * Until this existed there was no way to reach the entitlement state from anywhere in the product:\n * the resource had a table, an admin UI behaviour and three custom operations, and no door.\n */\n ORGANIZATION_ENTITLEMENTS = 'organization-entitlements',\n /** Referral codes and their redemptions. Organization-scoped despite living in the billing domain. */\n ORGANIZATION_REFERRALS = 'organization-referrals',\n /**\n * The organization's legal holds (#1634): what is held from deletion, on what ground, placed and released by\n * whom. `ORG_OWNER`, matching the resource's own READ / LIST roles.\n */\n ORGANIZATION_LEGAL_HOLDS = 'organization-legal-holds',\n /**\n * The domains THIS organization receives and sends mail on (#1600): claim one, publish its ownership TXT record\n * and the provider's DNS records, verify, remove. Org owner/admin only, matching the resource's ORG_ADMIN verbs.\n */\n EMAIL_DOMAINS = 'email-domains',\n /**\n * The addresses THIS organization — a service firm — keeps on its own verified domain for the clients it serves;\n * each routes its mail into that client's organization (#1600). Org owner/admin only. Placed only by an application\n * whose organization types declare `servesAsProvider`.\n */\n CLIENT_MAILBOXES = 'client-mailboxes',\n /**\n * What THIS organization's experts decide about its agents' work (#1599): the override rate per agent, tool, case\n * and reviewer; whether the content of their corrections is kept, why, and who else may read it; the authorisation\n * to export them as evaluation data; and the ledger of every export. Org owner/admin only, matching the resources'\n * ORG_ADMIN verbs and the override-rate route's organization-administrator check.\n */\n AGENT_WORK_REVIEW = 'agent-work-review',\n\n // ── Application administration ──────────────────────────────────────────────\n //\n // Everything below is `ResourcePrimaryScope.APPLICATION`: it configures the APPLICATION ITSELF\n // rather than one tenant inside it, and it is the operator's surface, not a customer's. The\n // category an application places these in is what supplies that scope, and\n // `useVisibleSettingsHubConfig` resolves the application id from `appIdentity` — the access\n // token does not carry one, so a category scoped this way was unreachable until 2026-09-17.\n //\n // Each mirrors an organization-scope sibling above, and the pairs are NOT redundant: an\n // application-wide SSO connection authenticates everybody who is not covered by a tenant's own,\n // and an application-wide SIEM export carries the operator's own security events rather than a\n // customer's. Same mechanism, different principal, different consequence.\n\n /** The application's own descriptive record — name, description, the operator's identity. */\n APPLICATION_GENERAL = 'application-general',\n /** Released versions of the application. */\n APPLICATION_VERSIONS = 'application-versions',\n /**\n * OAuth clients registered against the APPLICATION — the credential a machine presents for a\n * client-credentials or authorization-code exchange.\n *\n * The sibling of {@link APPLICATION_API_KEYS} rather than a duplicate of it: under\n * client-credentials both authenticate the same `APPLICATION_MACHINE` principal, so they are two\n * credential TYPES for one identity and belong side by side.\n */\n APPLICATION_OAUTH_CLIENTS = 'application-oauth-clients',\n /**\n * The two-person rule, made reviewable — requested, signed, time-bound elevations over the\n * application-wide reads.\n *\n * Placed because a control of this kind is justified by VISIBILITY rather than by prevention:\n * it does not stop an operator reading across tenants, it makes a second administrator sign for\n * it and leaves a record. An elevation nobody can read makes nothing visible, so the mechanism\n * ran without its own justification until this had a door.\n */\n APPLICATION_ACCESS_GRANTS = 'application-access-grants',\n /**\n * The application-wide audit trail — every tenant's events plus the ones belonging to no tenant.\n *\n * Distinct from the organization {@link AUDIT_LOGS} by the question it answers, not by scope\n * alone: the tenant door answers \"what happened in my organization\", this one answers \"what\n * happened at all\", and only the second can support a deployment-level attestation. Every read\n * through it is a declared crossing and emits one event into each tenant it reached.\n */\n APPLICATION_AUDIT_LOGS = 'application-audit-logs',\n /** The application-scope feature and limit state, with administrator exceptions. */\n APPLICATION_ENTITLEMENTS = 'application-entitlements',\n /** API keys that authenticate a machine to the APPLICATION rather than to one organization. */\n APPLICATION_API_KEYS = 'application-api-keys',\n /** Application-wide single sign-on: the configuration, and the connections it admits. */\n APPLICATION_SSO = 'application-sso',\n /**\n * Application-wide SCIM directory provisioning.\n *\n * One target rather than the organization sibling's two tabs, and that asymmetry is real rather\n * than an omission: there is no `APPLICATION_SCIM_TOKENS` resource — only\n * `ORGANIZATION_SCIM_TOKENS` exists — so the application scope has a provisioning configuration\n * and nothing to tab to.\n */\n APPLICATION_SCIM = 'application-scim',\n /** Application-wide audit-event streaming, and the deliveries that failed. */\n APPLICATION_SIEM = 'application-siem',\n /** Application-wide outbound webhooks, and their delivery log. */\n APPLICATION_WEBHOOKS = 'application-webhooks',\n /**\n * Messages other systems sent the application that resolved to NO organization — application-scope\n * and unroutable inbound deliveries (#1596) — with REPLAY for a dead one. The inbound mirror of\n * {@link APPLICATION_WEBHOOKS}'s delivery log, kept separate because it is a different direction,\n * a different entitlement and a different operator task.\n */\n APPLICATION_INBOUND_DELIVERIES = 'application-inbound-deliveries',\n /**\n * Whether each declared retention period is being enforced (#1636): one record per retention-sweep run and\n * bound resource — what it deleted under which period, what a hold kept, and how the run ended. Read-only;\n * the operator's view of the storage-limitation evidence.\n */\n APPLICATION_RETENTION_ENFORCEMENT = 'application-retention-enforcement',\n /**\n * The billing CATALOGUE the application sells — products, their prices, and promotions.\n *\n * Distinct from the organization `BILLING` destination, which is one tenant's subscription and\n * invoices. This is the operator editing what is on sale; that is a customer reading what they\n * bought.\n */\n BILLING_CATALOG = 'billing-catalog',\n}\n\n/**\n * ## Two administration surfaces that are DELIBERATELY absent, so neither is re-proposed\n *\n * **A tenant directory.** `organizations` LIST looks like one and is not: it is confined by\n * `assignScopeRootCollectionConfinementToFilter` to the tenants the caller holds an\n * organization-wide role entry for, so a platform super-administrator sees THEIR OWN organizations\n * and not every tenant. That confinement is deliberate — the resource's own banner says so, and\n * says explicitly that an operator who \"cannot find the tenant id\" should stop rather than widen\n * the operation, because widening it hands the full customer list to every platform administrator\n * as a standing privilege. A destination named \"Organizations\" under Administration would promise\n * the directory and deliver the memberships, which is worse than having no entry: the reader\n * cannot tell the difference, and the number looks authoritative.\n *\n * **A user directory.** Same shape one level down. The application-wide user read is gated on a\n * two-person `applicationAccessGrants` window precisely so that it is not a standing privilege, so\n * a permanently-placed rail entry would either sit there refusing or quietly bypass the control it\n * is supposed to pass through.\n *\n * Both become placeable when a governed cross-tenant read exists — an operation that requires the\n * grant and says so. Neither becomes placeable by widening the operation that is already there.\n */\n/** @wildo_source:part:end saas.frontend.settings-hub.engine-destinations */\n\n/**\n * Every destination ref the engine ships — the set an authored placement is validated against.\n *\n * **Derived from the enum, not from the catalogue, and that is the point.** It used to be\n * `ENGINE_SETTINGS_DESTINATIONS.map(d => d.ref)`, which made the set a statement about how many\n * catalogue entries had been written rather than about what the vocabulary contains: a member added\n * to the enum and not yet given a catalogue entry would have been silently absent from the universe\n * a hard floor is measured against, so a placement naming it would have been refused as UNKNOWN.\n * Deriving from the enum is TOTAL over the vocabulary — a member added tomorrow is in this set the\n * same day — and the reverse obligation (every ref has a catalogue entry) is pinned in\n * `saas-frontend-lib`, where the catalogue lives and where an omission is a rendering defect.\n *\n * Values are bare ids, the shape `placementSubjectLocalKey` publishes for\n * `ENGINE_SETTINGS_DESTINATION` subjects, so this set can be handed to `validatePlacementPlan`\n * without being re-spelled.\n */\nexport const ENGINE_SETTINGS_DESTINATION_REFS: ReadonlySet<string> = new Set<string>(Object.values(EngineSettingsDestinationRef));\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"guidance-flow.shared.schemas.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"guidance-flow.shared.schemas.d.ts","sourceRoot":"","sources":["../../../src/guidance/guidance-flow.shared.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAoD,qBAAqB,EAAE,MAAM,8CAA8C,CAAC;AACvI,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,8CAA8C,CAAC;AACtF,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAClF,OAAO,EAAE,gBAAgB,EAAE,MAAM,uCAAuC,CAAC;AAEzE,OAAO,EAAE,gBAAgB,EAAE,MAAM,gDAAgD,CAAC;AAElF;;oEAEoE;AAEpE;;;;;;;;;;;;GAYG;AAEH,oBAAY,kBAAkB;IAC5B,wEAAwE;IACxE,OAAO,YAAY;IACnB,wEAAwE;IACxE,MAAM,WAAW;IACjB,2DAA2D;IAC3D,SAAS,cAAc;CACxB;AAED;;oEAEoE;AAEpE,oDAAoD;AACpD,oBAAY,iBAAiB;IAC3B,qEAAqE;IACrE,IAAI,SAAS;IACb,sGAAsG;IACtG,YAAY,iBAAiB;CAC9B;AAED;;oEAEoE;AAEpE;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAkDjC,CAAC;AACH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAEtE;;oEAEoE;AAEpE,8DAA8D;AAC9D,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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,cAAc,CAAC,QAAQ,CAAC,aAAa,CAAC,EAAE,CAAC;QAC7D,QAAQ,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;IAC/B,CAAC;IACD,OAAO,QAAQ,CAAC;AAClB,CAAC","sourcesContent":["import { z } from 'zod';\nimport { OnboardingTriggerSchema, OnboardingElementSchema, OnboardingElementType } from '../config/frontend/onboarding.shared.schemas';\nimport type { OnboardingElement } from '../config/frontend/onboarding.shared.schemas';\nimport { LifecycleScope, LifecycleStage } from './lifecycle-state.shared.schemas';\nimport { ProgressionScope } from './milestone-definition.shared.schemas';\nimport { RequiredFeaturesConfigSchema } from '../features/feature-definition.shared.schemas';\nimport { CoreResourceType } from '../resources/resources.shared.core.definitions';\n\n/** ──────────────────────────────────────────────────────────────\n * Guidance Flow — Render Modes\n * ────────────────────────────────────────────────────────────── */\n\n/**\n * @wildo_source:part:start saas.models.guidance-flow facet:layer:shared facet:family:guidance facet:audience:app-developer\n *\n * A guidance flow is triggered chrome — a banner, a modal, a tour, a survey — that appears over\n * whatever the person is looking at when an event fires, remembers whether they finished with it,\n * and does not come back. Declare flows as `GuidanceFlowDefinition[]` on a frontend module's\n * `guidanceFlows`. Import from `@wildo-ai/saas-models`.\n *\n * Only ONE `OVERLAY` flow is shown at a time: of the active ones, the lowest `priority` number is\n * shown. The others WAIT — each appears once the one in front of it is completed, skipped or\n * dismissed in the same session. A flow that never got shown is not saved as started, so a page\n * reload drops it until its trigger fires again.\n */\n\nexport enum GuidanceRenderMode {\n /** Modal, banner, announcement — rendered on top of the current view */\n OVERLAY = 'overlay',\n /** Tooltip, spotlight — attached to DOM elements in the current view */\n INLINE = 'inline',\n /** Floating checklist panel — persistent sidebar/widget */\n CHECKLIST = 'checklist',\n}\n\n/** ──────────────────────────────────────────────────────────────\n * Guidance Flow — Scope\n * ────────────────────────────────────────────────────────────── */\n\n/** Which scope resource stores this flow's state */\nexport enum GuidanceFlowScope {\n /** State stored in USER_GUIDANCE_STATE — personal flows (default) */\n USER = 'user',\n /** State stored in ORGANIZATION_GUIDANCE_STATE — org-wide flows (completion shared across members) */\n ORGANIZATION = 'organization',\n}\n\n/** ──────────────────────────────────────────────────────────────\n * Guidance Flow — Audience\n * ────────────────────────────────────────────────────────────── */\n\n/**\n * Audience targeting — who sees this flow.\n *\n * ## What it may read, and why that boundary is where it is\n *\n * Everything here is answered from state the GUIDANCE CONTEXT ALREADY HOLDS: the subject's roles,\n * their resolved features, the flow states it loaded, and the progression and\n * lifecycle documents it loads beside them. No criterion reads an arbitrary resource row, and that\n * is the deliberate line: eligibility is computed on the frontend, synchronously, every time the\n * eligible set is recomputed. A criterion needing a row nobody has loaded would turn that into a\n * fetch, and an eligibility question that can be SLOW or FAIL is a different mechanism.\n *\n * ## Scope\n *\n * The progression and lifecycle criteria read the scope the FLOW declares — a USER flow asks about\n * the user's own milestones and stage, an ORGANIZATION flow about the organization's. Anything else\n * would make an org-wide flow gate on whichever member happened to load it.\n *\n * ## ANY vs ALL, stated per field because the two readings are both defensible\n *\n * A field answering \"who are you\" is ANY-of (`roles`, the two lifecycle fields): one match is\n * enough. A field answering \"what must already be true\" is ALL-of (`requireIfCompleted`,\n * `requiredMilestones`, `requiredSurveyAnswers`): a prerequisite list with one unmet entry is unmet.\n * `excludeIfCompleted` is ANY-of because it is a veto — one reason to suppress is enough.\n */\nexport const GuidanceAudienceSchema = z.object({\n /** Required user roles (any match = eligible). Empty/omitted = all roles. */\n roles: z.array(z.string()).optional(),\n /** Required features using the shared `RequiredFeaturesConfig` semantics. */\n requiredFeatures: RequiredFeaturesConfigSchema.optional(),\n /** Exclude users who have completed these flows (ANY match suppresses). */\n excludeIfCompleted: z.array(z.string()).optional(),\n /**\n * Show only once ALL of these flows have been COMPLETED — the positive counterpart of\n * `excludeIfCompleted`, and how a second flow follows a first.\n *\n * COMPLETED only. A flow that was dismissed or skipped has not met a prerequisite — the person\n * declined it — and treating those as satisfaction would show a follow-up to exactly the people\n * who opted out of its lead-in.\n */\n requireIfCompleted: z.array(z.string()).optional(),\n /** Show only once ALL of these milestones are achieved, in the flow's own progression scope. */\n requiredMilestones: z.array(z.string()).optional(),\n /**\n * Show only while the subject's CURRENT lifecycle stage is one of these.\n *\n * Distinct from `lifecycleStagesReached` on purpose, because the two answer opposite questions and\n * confusing them is the likeliest authoring mistake here. This one is \"who are you NOW\" — it stops\n * matching the moment the subject moves on, which is what a dormancy nudge wants and what an\n * \"already activated\" tip does not.\n */\n currentLifecycleStages: z.array(z.enum(LifecycleStage)).optional(),\n /**\n * Show once the subject has EVER been in one of these stages.\n *\n * Reads `stagesVisited`, which exists precisely so this question survives the stage-history cap.\n * This is what an onboarding tip usually wants: \"once they have activated\" stays true after they\n * go on to ENGAGED, where `currentLifecycleStages: [ACTIVATED]` would silently stop matching.\n */\n lifecycleStagesReached: z.array(z.enum(LifecycleStage)).optional(),\n /**\n * Show only when ALL of these recorded survey answers match.\n *\n * The answer is read from the guidance state the context already holds, so it addresses a\n * question by the flow, element and question that asked it. Equality only, against the scalar\n * kinds an answer can be — the point is branching on what somebody said, not a query language.\n */\n requiredSurveyAnswers: z.array(z.object({\n flowRef: z.string().min(1),\n elementRef: z.string().min(1),\n questionId: z.string().min(1),\n equals: z.union([z.string(), z.number(), z.boolean()]),\n })).optional(),\n /** Only show to users created after this date (for new-user flows) */\n createdAfter: z.coerce.date().optional(),\n});\nexport type GuidanceAudience = z.infer<typeof GuidanceAudienceSchema>;\n\n/** ──────────────────────────────────────────────────────────────\n * Guidance Flow — Definition\n * ────────────────────────────────────────────────────────────── */\n\n/** GuidanceFlowDefinition — declarative flow configuration */\nexport const GuidanceFlowDefinitionSchema = z.object({\n /** Unique flow reference (e.g., 'welcome-tour', 'org-setup-wizard') */\n ref: z.string().min(1),\n /** State scope — determines which resource stores this flow's state.\n * USER (default): personal guidance, each user has their own state.\n * ORGANIZATION: org-wide guidance, shared across all members. */\n scope: z.enum(GuidanceFlowScope).default(GuidanceFlowScope.USER),\n /** Rendering mode */\n renderMode: z.enum(GuidanceRenderMode),\n /** When/how to activate this flow */\n trigger: OnboardingTriggerSchema,\n /** Audience targeting */\n audience: GuidanceAudienceSchema.optional(),\n /** Priority for ordering when multiple flows are eligible (lower = higher priority) */\n priority: z.number().int().default(100),\n /** Elements in this flow — reuses existing OnboardingElement discriminated union */\n elements: z.array(OnboardingElementSchema),\n /*\n * There is no flow-level options block: dismissing, skipping and progress display are set on each\n * ELEMENT (`dismissible` on banner / modal / announcement / card, `allowSkip` on tour and survey,\n * `showProgress` on checklist), where the element's renderer reads them.\n */\n /** i18n: label configuration */\n labels: z.object({\n description: z.boolean().default(false),\n }).optional(),\n});\nexport type GuidanceFlowDefinition = z.infer<typeof GuidanceFlowDefinitionSchema>;\n/** @wildo_source:part:end saas.models.guidance-flow */\n\n/*\n * Maintainer note — kept OUTSIDE the anchor above because it is history, not guidance an application\n * needs. A flow-level `options` block (`OnboardingViewOptionsSchema`) was REMOVED rather than wired\n * (#1368): the guidance renderer read none of it. Three of its six members were a second spelling of\n * a per-element control already enforced where it is read (`dismissible`, `allowSkip`,\n * `showProgress`), so wiring them would have created two places to say one thing plus a precedence\n * rule; `persistState: false` named a mode that does not exist; `className` is the theme's; and\n * `autoStart` is read at neither level. Do not reintroduce it without a renderer that reads it.\n */\n\n/** ──────────────────────────────────────────────────────────────\n * Guidance — Scope to Resource Mapping\n * ────────────────────────────────────────────────────────────── */\n\n/**\n * The progression scope a flow of this scope asks about (#1373).\n *\n * Written as an explicit total map rather than a cast, even though the three scope enums currently\n * share their wire values. They are DISTINCT vocabularies — a guidance flow's storage scope, a\n * milestone's accrual scope and a subject's lifecycle scope — and collapsing them because the\n * strings line up today is what this repository's \"never merge semantically distinct concepts\n * merely because their wire values overlap\" rule exists to stop. Being total, a member added to\n * `GuidanceFlowScope` is a compile error here rather than a silent `undefined` lookup.\n */\nexport const GUIDANCE_SCOPE_TO_PROGRESSION_SCOPE: Record<GuidanceFlowScope, ProgressionScope> = {\n [GuidanceFlowScope.USER]: ProgressionScope.USER,\n [GuidanceFlowScope.ORGANIZATION]: ProgressionScope.ORGANIZATION,\n};\n\n/** The lifecycle scope a flow of this scope asks about. Total, for the reason above. */\nexport const GUIDANCE_SCOPE_TO_LIFECYCLE_SCOPE: Record<GuidanceFlowScope, LifecycleScope> = {\n [GuidanceFlowScope.USER]: LifecycleScope.USER,\n [GuidanceFlowScope.ORGANIZATION]: LifecycleScope.ORGANIZATION,\n};\n\n/** Maps GuidanceFlowScope to the CoreResourceType that stores its state */\nexport const GUIDANCE_SCOPE_TO_RESOURCE: Record<GuidanceFlowScope, CoreResourceType> = {\n [GuidanceFlowScope.USER]: CoreResourceType.USER_GUIDANCE_STATE,\n [GuidanceFlowScope.ORGANIZATION]: CoreResourceType.ORGANIZATION_GUIDANCE_STATE,\n};\n\n/** ──────────────────────────────────────────────────────────────\n * Guidance — Per-Element-Type i18n Field Map\n * ────────────────────────────────────────────────────────────── */\n\n/** Controls which i18n keys are generated per element type.\n * Follows the ERROR_GUIDANCE_REFS pattern — avoids wasteful cartesian product generation. */\nexport const GUIDANCE_ELEMENT_FIELDS: Record<OnboardingElementType, string[]> = {\n [OnboardingElementType.CHECKLIST]: ['title', 'description'],\n [OnboardingElementType.CHECKLIST_ITEM]: ['title', 'description', 'actionLabel'],\n [OnboardingElementType.TOUR]: ['title', 'description'],\n [OnboardingElementType.TOOLTIP]: ['title', 'description', 'content'],\n [OnboardingElementType.MODAL]: ['title', 'description', 'content', 'actionLabel'],\n [OnboardingElementType.BANNER]: ['title', 'description', 'content', 'actionLabel'],\n [OnboardingElementType.ANNOUNCEMENT]: ['title', 'description', 'content', 'actionLabel'],\n [OnboardingElementType.BADGE]: ['title', 'content'],\n [OnboardingElementType.CARD]: ['title', 'description', 'content', 'actionLabel'],\n [OnboardingElementType.SURVEY]: ['title', 'description'],\n};\n\n/**\n * The label fields an element CANNOT be presented without — the subset of\n * {@link GUIDANCE_ELEMENT_FIELDS} whose absence means the element's copy does not\n * exist yet, rather than that its author chose to omit an optional slot.\n *\n * - **`title`, for every element type.** The labelling pipeline generates EVERY\n * field `GUIDANCE_ELEMENT_FIELDS` lists, so a missing title is never an\n * authoring choice: it means copy has not been generated for this element at all.\n * - **`actionLabel`, only when the element declares an ACTION** (`actionRef`, or a\n * modal's `ctaAction`) and its type lists the field. A banner offering\n * navigation with no label renders no button, so the action the flow exists to\n * offer silently disappears (#539).\n *\n * `description` and `content` stay optional: an element with no body is legitimate.\n *\n * Two consumers act on the answer, and neither may re-derive it:\n * - the element translator renders the raw KEY for a required field, so a missing\n * label LOOKS missing (`.claude/rules/display-text-comes-from-i18n.md`) instead of\n * collapsing to an invisible card;\n * - the guidance renderer records a flow as PRESENTED — which is what spends its\n * once-per-user occasion — only when every required label of every element\n * resolves.\n *\n * Derived from the element's own type and declared action rather than listed per\n * type, so a new element type is covered the day it joins `GUIDANCE_ELEMENT_FIELDS`.\n */\nexport function resolveGuidanceElementRequiredLabelFields(element: OnboardingElement): string[] {\n const declaredFields = GUIDANCE_ELEMENT_FIELDS[element.type] ?? [];\n const required: string[] = declaredFields.includes('title') ? ['title'] : [];\n const declaresAction =\n ('actionRef' in element && typeof element.actionRef === 'string' && element.actionRef.length > 0)\n || ('ctaAction' in element && typeof element.ctaAction === 'string' && element.ctaAction.length > 0);\n if (declaresAction && declaredFields.includes('actionLabel')) {\n required.push('actionLabel');\n }\n return required;\n}\n"]}
|
|
1
|
+
{"version":3,"file":"guidance-flow.shared.schemas.js","sourceRoot":"","sources":["../../../src/guidance/guidance-flow.shared.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,uBAAuB,EAAE,uBAAuB,EAAE,qBAAqB,EAAE,MAAM,8CAA8C,CAAC;AAEvI,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAClF,OAAO,EAAE,gBAAgB,EAAE,MAAM,uCAAuC,CAAC;AACzE,OAAO,EAAE,4BAA4B,EAAE,MAA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SAAS,KAAK,QAAQ,IAAI,OAAO,CAAC,SAAS,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;IACvG,IAAI,cAAc,IAAI,cAAc,CAAC,QAAQ,CAAC,aAAa,CAAC,EAAE,CAAC;QAC7D,QAAQ,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;IAC/B,CAAC;IACD,OAAO,QAAQ,CAAC;AAClB,CAAC","sourcesContent":["import { z } from 'zod';\nimport { OnboardingTriggerSchema, OnboardingElementSchema, OnboardingElementType } from '../config/frontend/onboarding.shared.schemas';\nimport type { OnboardingElement } from '../config/frontend/onboarding.shared.schemas';\nimport { LifecycleScope, LifecycleStage } from './lifecycle-state.shared.schemas';\nimport { ProgressionScope } from './milestone-definition.shared.schemas';\nimport { RequiredFeaturesConfigSchema } from '../features/feature-definition.shared.schemas';\nimport { CoreResourceType } from '../resources/resources.shared.core.definitions';\n\n/** ──────────────────────────────────────────────────────────────\n * Guidance Flow — Render Modes\n * ────────────────────────────────────────────────────────────── */\n\n/**\n * @wildo_source:part:start saas.models.guidance-flow facet:layer:shared facet:family:guidance facet:audience:app-developer\n *\n * A guidance flow is triggered chrome — a banner, a modal, a tour, a survey — that appears over\n * whatever the person is looking at when an event fires, remembers whether they finished with it,\n * and does not come back. Declare flows as `GuidanceFlowDefinition[]` on a frontend module's\n * `guidanceFlows`. Import from `@wildo-ai/saas-models`.\n *\n * Only ONE `OVERLAY` flow is shown at a time: of the active ones, the lowest `priority` number is\n * shown. The others WAIT — each appears once the one in front of it is completed, skipped or\n * dismissed in the same session. A flow that never got shown is not saved as started, so a page\n * reload drops it until its trigger fires again.\n */\n\nexport enum GuidanceRenderMode {\n /** Modal, banner, announcement — rendered on top of the current view */\n OVERLAY = 'overlay',\n /** Tooltip, spotlight — attached to DOM elements in the current view */\n INLINE = 'inline',\n /** Floating checklist panel — persistent sidebar/widget */\n CHECKLIST = 'checklist',\n}\n\n/** ──────────────────────────────────────────────────────────────\n * Guidance Flow — Scope\n * ────────────────────────────────────────────────────────────── */\n\n/** Which scope resource stores this flow's state */\nexport enum GuidanceFlowScope {\n /** State stored in USER_GUIDANCE_STATE — personal flows (default) */\n USER = 'user',\n /** State stored in ORGANIZATION_GUIDANCE_STATE — org-wide flows (completion shared across members) */\n ORGANIZATION = 'organization',\n}\n\n/** ──────────────────────────────────────────────────────────────\n * Guidance Flow — Audience\n * ────────────────────────────────────────────────────────────── */\n\n/**\n * Audience targeting — who sees this flow.\n *\n * ## What it may read, and why that boundary is where it is\n *\n * Everything here is answered from state the GUIDANCE CONTEXT ALREADY HOLDS: the subject's roles,\n * their resolved features, the flow states it loaded, and the progression and\n * lifecycle documents it loads beside them. No criterion reads an arbitrary resource row, and that\n * is the deliberate line: eligibility is computed on the frontend, synchronously, every time the\n * eligible set is recomputed. A criterion needing a row nobody has loaded would turn that into a\n * fetch, and an eligibility question that can be SLOW or FAIL is a different mechanism.\n *\n * ## Scope\n *\n * The progression and lifecycle criteria read the scope the FLOW declares — a USER flow asks about\n * the user's own milestones and stage, an ORGANIZATION flow about the organization's. Anything else\n * would make an org-wide flow gate on whichever member happened to load it.\n *\n * ## ANY vs ALL, stated per field because the two readings are both defensible\n *\n * A field answering \"who are you\" is ANY-of (`roles`, the two lifecycle fields): one match is\n * enough. A field answering \"what must already be true\" is ALL-of (`requireIfCompleted`,\n * `requiredMilestones`, `requiredSurveyAnswers`): a prerequisite list with one unmet entry is unmet.\n * `excludeIfCompleted` is ANY-of because it is a veto — one reason to suppress is enough.\n */\nexport const GuidanceAudienceSchema = z.object({\n /** Required user roles (any match = eligible). Empty/omitted = all roles. */\n roles: z.array(z.string()).optional(),\n /** Required features using the shared `RequiredFeaturesConfig` semantics. */\n requiredFeatures: RequiredFeaturesConfigSchema.optional(),\n /** Exclude users who have completed these flows (ANY match suppresses). */\n excludeIfCompleted: z.array(z.string()).optional(),\n /**\n * Show only once ALL of these flows have been COMPLETED — the positive counterpart of\n * `excludeIfCompleted`, and how a second flow follows a first.\n *\n * COMPLETED only. A flow that was dismissed or skipped has not met a prerequisite — the person\n * declined it — and treating those as satisfaction would show a follow-up to exactly the people\n * who opted out of its lead-in.\n */\n requireIfCompleted: z.array(z.string()).optional(),\n /** Show only once ALL of these milestones are achieved, in the flow's own progression scope. */\n requiredMilestones: z.array(z.string()).optional(),\n /**\n * Show only while the subject's CURRENT lifecycle stage is one of these.\n *\n * Distinct from `lifecycleStagesReached` on purpose, because the two answer opposite questions and\n * confusing them is the likeliest authoring mistake here. This one is \"who are you NOW\" — it stops\n * matching the moment the subject moves on, which is what a dormancy nudge wants and what an\n * \"already activated\" tip does not.\n */\n currentLifecycleStages: z.array(z.enum(LifecycleStage)).optional(),\n /**\n * Show once the subject has EVER been in one of these stages.\n *\n * Reads `stagesVisited`, which exists precisely so this question survives the stage-history cap.\n * This is what an onboarding tip usually wants: \"once they have activated\" stays true after they\n * go on to ENGAGED, where `currentLifecycleStages: [ACTIVATED]` would silently stop matching.\n */\n lifecycleStagesReached: z.array(z.enum(LifecycleStage)).optional(),\n /**\n * Show only when ALL of these recorded survey answers match.\n *\n * The answer is read from the guidance state the context already holds, so it addresses a\n * question by the flow, element and question that asked it. Equality only, against the scalar\n * kinds an answer can be — the point is branching on what somebody said, not a query language.\n */\n requiredSurveyAnswers: z.array(z.object({\n flowRef: z.string().min(1),\n elementRef: z.string().min(1),\n questionId: z.string().min(1),\n equals: z.union([z.string(), z.number(), z.boolean()]),\n })).optional(),\n /** Only show to users created after this date (for new-user flows) */\n createdAfter: z.coerce.date().optional(),\n});\nexport type GuidanceAudience = z.infer<typeof GuidanceAudienceSchema>;\n\n/** ──────────────────────────────────────────────────────────────\n * Guidance Flow — Definition\n * ────────────────────────────────────────────────────────────── */\n\n/** GuidanceFlowDefinition — declarative flow configuration */\nexport const GuidanceFlowDefinitionSchema = z.object({\n /** Unique flow reference (e.g., 'welcome-tour', 'org-setup-wizard') */\n ref: z.string().min(1),\n /** State scope — determines which resource stores this flow's state.\n * USER (default): personal guidance, each user has their own state.\n * ORGANIZATION: org-wide guidance, shared across all members. */\n scope: z.enum(GuidanceFlowScope).default(GuidanceFlowScope.USER),\n /** Rendering mode */\n renderMode: z.enum(GuidanceRenderMode),\n /** When/how to activate this flow */\n trigger: OnboardingTriggerSchema,\n /** Audience targeting */\n audience: GuidanceAudienceSchema.optional(),\n /** Priority for ordering when multiple flows are eligible (lower = higher priority) */\n priority: z.number().int().default(100),\n /** Elements in this flow — reuses existing OnboardingElement discriminated union */\n elements: z.array(OnboardingElementSchema),\n /*\n * There is no flow-level options block: dismissing, skipping and progress display are set on each\n * ELEMENT (`dismissible` on banner / modal / announcement / card, `allowSkip` on tour and survey,\n * `showProgress` on checklist), where the element's renderer reads them.\n */\n /** i18n: label configuration */\n labels: z.object({\n description: z.boolean().default(false),\n }).optional(),\n});\nexport type GuidanceFlowDefinition = z.infer<typeof GuidanceFlowDefinitionSchema>;\n/** @wildo_source:part:end saas.models.guidance-flow */\n\n/*\n * Maintainer note — kept OUTSIDE the anchor above because it is history, not guidance an application\n * needs. A flow-level `options` block (`OnboardingViewOptionsSchema`) was REMOVED rather than wired\n * (#1368): the guidance renderer read none of it. Three of its six members were a second spelling of\n * a per-element control already enforced where it is read (`dismissible`, `allowSkip`,\n * `showProgress`), so wiring them would have created two places to say one thing plus a precedence\n * rule; `persistState: false` named a mode that does not exist; `className` is the theme's; and\n * `autoStart` is read at neither level. Do not reintroduce it without a renderer that reads it.\n */\n\n/** ──────────────────────────────────────────────────────────────\n * Guidance — Scope to Resource Mapping\n * ────────────────────────────────────────────────────────────── */\n\n/**\n * The progression scope a flow of this scope asks about (#1373).\n *\n * Written as an explicit total map rather than a cast, even though the three scope enums currently\n * share their wire values. They are DISTINCT vocabularies — a guidance flow's storage scope, a\n * milestone's accrual scope and a subject's lifecycle scope — and collapsing them because the\n * strings line up today is what this repository's \"never merge semantically distinct concepts\n * merely because their wire values overlap\" rule exists to stop. Being total, a member added to\n * `GuidanceFlowScope` is a compile error here rather than a silent `undefined` lookup.\n */\nexport const GUIDANCE_SCOPE_TO_PROGRESSION_SCOPE: Record<GuidanceFlowScope, ProgressionScope> = {\n [GuidanceFlowScope.USER]: ProgressionScope.USER,\n [GuidanceFlowScope.ORGANIZATION]: ProgressionScope.ORGANIZATION,\n};\n\n/** The lifecycle scope a flow of this scope asks about. Total, for the reason above. */\nexport const GUIDANCE_SCOPE_TO_LIFECYCLE_SCOPE: Record<GuidanceFlowScope, LifecycleScope> = {\n [GuidanceFlowScope.USER]: LifecycleScope.USER,\n [GuidanceFlowScope.ORGANIZATION]: LifecycleScope.ORGANIZATION,\n};\n\n/** Maps GuidanceFlowScope to the CoreResourceType that stores its state */\nexport const GUIDANCE_SCOPE_TO_RESOURCE: Record<GuidanceFlowScope, CoreResourceType> = {\n [GuidanceFlowScope.USER]: CoreResourceType.USER_GUIDANCE_STATE,\n [GuidanceFlowScope.ORGANIZATION]: CoreResourceType.ORGANIZATION_GUIDANCE_STATE,\n};\n\n/** ──────────────────────────────────────────────────────────────\n * Guidance — Per-Element-Type i18n Field Map\n * ────────────────────────────────────────────────────────────── */\n\n/** Controls which i18n keys are generated per element type.\n * Follows the ERROR_GUIDANCE_REFS pattern — avoids wasteful cartesian product generation. */\nexport const GUIDANCE_ELEMENT_FIELDS: Record<OnboardingElementType, string[]> = {\n [OnboardingElementType.CHECKLIST]: ['title', 'description'],\n [OnboardingElementType.CHECKLIST_ITEM]: ['title', 'description', 'actionLabel'],\n [OnboardingElementType.TOUR]: ['title', 'description'],\n [OnboardingElementType.TOOLTIP]: ['title', 'description', 'content'],\n [OnboardingElementType.MODAL]: ['title', 'description', 'content', 'actionLabel'],\n [OnboardingElementType.BANNER]: ['title', 'description', 'content', 'actionLabel'],\n [OnboardingElementType.ANNOUNCEMENT]: ['title', 'description', 'content', 'actionLabel'],\n [OnboardingElementType.BADGE]: ['title', 'content'],\n [OnboardingElementType.CARD]: ['title', 'description', 'content', 'actionLabel'],\n [OnboardingElementType.SURVEY]: ['title', 'description'],\n};\n\n/**\n * The label fields an element CANNOT be presented without — the subset of\n * {@link GUIDANCE_ELEMENT_FIELDS} whose absence means the element's copy does not\n * exist yet, rather than that its author chose to omit an optional slot.\n *\n * - **`title`, for every element type.** The labelling pipeline generates EVERY\n * field `GUIDANCE_ELEMENT_FIELDS` lists, so a missing title is never an\n * authoring choice: it means copy has not been generated for this element at all.\n * - **`actionLabel`, only when the element declares an ACTION** (`actionRef`, or a\n * modal's `ctaAction`) and its type lists the field. A banner offering\n * navigation with no label renders no button, so the action the flow exists to\n * offer silently disappears (#539).\n *\n * `description` and `content` stay optional: an element with no body is legitimate.\n *\n * Two consumers act on the answer, and neither may re-derive it:\n * - the element translator renders the raw KEY for a required field, so a missing\n * label LOOKS missing (`.claude/rules/display-text-comes-from-i18n.md`) instead of\n * collapsing to an invisible card;\n * - the guidance renderer records a flow as PRESENTED — which is what spends its\n * once-per-user occasion — only when every required label of every element\n * resolves.\n *\n * Derived from the element's own type and declared action rather than listed per\n * type, so a new element type is covered the day it joins `GUIDANCE_ELEMENT_FIELDS`.\n */\nexport function resolveGuidanceElementRequiredLabelFields(element: OnboardingElement): string[] {\n const declaredFields = GUIDANCE_ELEMENT_FIELDS[element.type] ?? [];\n const required: string[] = declaredFields.includes('title') ? ['title'] : [];\n const declaresAction =\n ('actionRef' in element && typeof element.actionRef === 'string' && element.actionRef.length > 0)\n || ('ctaAction' in element && typeof element.ctaAction === 'string' && element.ctaAction.length > 0);\n if (declaresAction && declaredFields.includes('actionLabel')) {\n required.push('actionLabel');\n }\n return required;\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"guidance-state.shared.resources-config.schemas.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"guidance-state.shared.resources-config.schemas.d.ts","sourceRoot":"","sources":["../../../src/guidance/guidance-state.shared.resources-config.schemas.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAOH,OAAO,EAAE,qBAAqB,EAAE,MAAM,gDAAgD,CAAC;AACvF,OAAO,EAA8B,oBAAoB,EAAE,MAAM,uCAAuC,CAAC;AAWzG,KAAK,+BAA+B,GAChC,qBAAqB,CAAC,IAAI,GAC1B,qBAAqB,CAAC,MAAM,GAC5B,qBAAqB,CAAC,MAAM,GAC5B,qBAAqB,CAAC,MAAM,GAC5B,qBAAqB,CAAC,MAAM,GAE5B,qBAAqB,CAAC,IAAI,GAC1B,qBAAqB,CAAC,WAAW,CAAC;AAEtC,eAAO,MAAM,4DAA4D,GAAI,wBAAwB,oBAAoB,EAAE;;;;;;;;;;;;;;;iCAyKzH,CAAC;AAIH,KAAK,uCAAuC,GACxC,qBAAqB,CAAC,IAAI,GAC1B,qBAAqB,CAAC,MAAM,GAC5B,qBAAqB,CAAC,MAAM,GAC5B,qBAAqB,CAAC,MAAM,GAC5B,qBAAqB,CAAC,MAAM,CAAC;AAEjC,eAAO,MAAM,oEAAoE,GAAI,wBAAwB,oBAAoB,EAAE;;;;;;;;;;;;;;;iCAiGjI,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"guidance-state.shared.resources-config.schemas.js","sourceRoot":"","sources":["../../../../src/guidance/guidance-state.shared.resources-config.schemas.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EACL,mBAAmB,EACnB,uBAAuB,EACvB,+BAA+B,GAChC,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,qBAAqB,EAAE,MAAM,gDAAgD,CAAC;AACvF,OAAO,EAAE,0BAA0B,EAAwB,MAAM,uCAAuC,CAAC;AACzG,OAAO,EAAE,gBAAgB,EAAE,kCAAkC,EAAE,MAAM,gDAAgD,CAAC;AACtH,OAAO,EAAE,4BAA4B,EAAE,MAAM,uCAAuC,CAAC;AACrF,OAAO,EAAE,0CAA0C,EAAE,MAAM,8CAA8C,CAAC;AAC1G,OAAO,EAAE,wBAAwB,EAAE,MAAM,8CAA8C,CAAC;AACxF,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM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oBAClC,SAAS,EAAE,0BAA0B,CAAC,GAAG;oBACzC,YAAY,EAAE,KAAK;oBACnB,gBAAgB,EAAE,EAAE;oBACpB,iBAAiB,EAAE,EAAE,aAAa,EAAE,KAAK,EAAE,aAAa,EAAE,KAAK,EAAE;oBACjE,YAAY,EAAE,EAAE;oBAChB,UAAU,EAAE,EAAE;oBACd,8BAA8B,EAAE,EAAE;iBACnC,CAAC;SACH;QAED,yEAAyE;QACzE,8EAA8E;QAC9E,2EAA2E;QAC3E,+EAA+E;QAC/E,+EAA+E;QAC/E,gFAAgF;QAChF,iEAAiE;QACjE,CAAC,qBAAqB,CAAC,MAAM,CAAC,EAAE;YAC9B,QAAQ,EAAE;gBACR;oBACE,WAAW,EAAE,4BAA4B,CAAC,eAAe;oBACzD,SAAS,EAAE,IAAI;oBACf,KAAK,EAAE,CAAC,cAAc,CAAC,SAAS,CAAC;oBACjC,SAAS,EAAE,0BAA0B,CAAC,IAAI;iBAC3C;aACF;SACF;KACF;CACF,CAAC,CAAC","sourcesContent":["/**\n * Guidance State Shared Resource Configurations\n *\n * Resource configurations for dual-scope guidance state management (USER / ORGANIZATION).\n * Each scope stores flow-level and element-level guidance progress.\n * The shared payload schema stays scope-agnostic, while the schema file also owns\n * the scope-aware persisted variants used by these resource configurations.\n */\n\nimport {\n GuidanceStateSchema,\n UserGuidanceStateSchema,\n OrganizationGuidanceStateSchema,\n} from './guidance-state.shared.schemas';\nimport { CoreResourceOperation } from '../resources/resources.shared.core.definitions';\nimport { ResourceOperationRiskLevel, ResourceRelationship } from '../resources/resources.shared.schemas';\nimport { CoreResourceType, coreResourceShared_FieldIdentifier } from '../resources/resources.shared.core.definitions';\nimport { ResourceOperationVariantType } from '../resources/resources.shared.schemas';\nimport { createResourceConfiguration_Initialization } from '../resources/resources-config.shared.factory';\nimport { ResourceSystemAccessMode } from '../resources/resources-config.shared.schemas';\nimport { CORE_APP_ROLES, CORE_ORG_ROLES } from '../security/authorizations/roles.shared.schemas';\nimport { DataPortabilityProvenance } from '../compliance/privacy/subject-export.shared.schemas';\nimport { ErasureRetentionMode, ResourceDataSubjectKind } from '../compliance/privacy/impersonalization.shared.schemas';\n\n// ─── USER GUIDANCE STATE ─────────────────────────────────────────────────────\n\ntype UserGuidanceStateCoreOperations =\n | CoreResourceOperation.READ\n | CoreResourceOperation.SEARCH\n | CoreResourceOperation.UPDATE\n | CoreResourceOperation.CREATE\n | CoreResourceOperation.DELETE\n // Route-less; `retentionPolicy` requires READ + LIST + UPDATE_MANY.\n | CoreResourceOperation.LIST\n | CoreResourceOperation.UPDATE_MANY;\n\nexport const userGuidanceStateResourceConfiguration_InitializationFactory = (resourcesRelationships: ResourceRelationship[]) => createResourceConfiguration_Initialization<\n Record<string, never>,\n UserGuidanceStateCoreOperations,\n typeof UserGuidanceStateSchema\n>({\n mainSchema: UserGuidanceStateSchema,\n resourceIdentifier: CoreResourceType.USER_GUIDANCE_STATE,\n resourceFieldIdentifier: coreResourceShared_FieldIdentifier[CoreResourceType.USER_GUIDANCE_STATE],\n resourceRelationships: resourcesRelationships,\n isSystemResource: true,\n // onParentCreate eager-seeding writes through createAsSystem → opt into the\n // fail-closed system-write policy (composition-oncreate-lifecycle plan).\n systemAccessPolicy: {\n exportSubject: ResourceSystemAccessMode.ALLOWED, create: ResourceSystemAccessMode.ALLOWED },\n portabilityPolicy: { defaultProvenance: DataPortabilityProvenance.OBSERVED },\n\n /**\n * Subject erasure RETAINS this row and RESETS the per-flow guidance progress map to the schema's own defaults.\n *\n * The USAGE categories on this resource are accurate — these are observations the product made about a\n * named person — so `RETAIN_ONLY` would be a false assertion and the factory refuses it. Until\n * `RedactionType.RESET` existed no treatment could reach these fields at all: they are non-nullable WITH\n * a `.default()`, so REMOVE (needs clearable) and MASK (needs a string) both refuse. RESET returns each\n * to what it is when nobody has set it, which for a behavioural record is exactly what erasure should\n * leave behind.\n *\n * The primary scope FK is preserved — severing it is refused outright, because it would leave the\n * retained row with no tenant anchor, unreachable even to the audited see-through read.\n */\n retentionPolicy: {\n mode: ErasureRetentionMode.RETAIN_AND_IMPERSONALIZE,\n },\n\n /**\n * Erasing one of these rows revokes NO session. The row is state ABOUT a person rather than the person,\n * and its primary scope FK anchors it — the enum prescribes `NO_PRINCIPAL` for that shape. The subject's\n * own session ends through the `USERS` row.\n */\n dataSubjectPolicy: { kind: ResourceDataSubjectKind.NO_PRINCIPAL },\n\n coreOperations: [\n CoreResourceOperation.READ,\n CoreResourceOperation.SEARCH,\n CoreResourceOperation.UPDATE,\n CoreResourceOperation.CREATE,\n // DELETE is REPOSITORY_ONLY (no HTTP route): powers the composition\n // onParentDelete cascade so the self-healing state row is physically removed\n // when its owning scope is deleted. Without it the cascade throws\n // ErrorType.CONFIGURATION on any scope that has a materialized row.\n CoreResourceOperation.DELETE,\n // Route-less; `retentionPolicy` requires READ + LIST + UPDATE_MANY (READ is above).\n CoreResourceOperation.LIST,\n CoreResourceOperation.UPDATE_MANY,\n ],\n\n customOperation: {} as Record<string, never>,\n\n operationsConfiguration: {\n\n /*\n\n * Route-less retention plumbing — INTERNAL_CALL registers no route and must not be REPOSITORY_ONLY:\n\n * the retention primitives resolve through `getServiceOperationPathDefault`, which matches only\n\n * INTERNAL_CALL / API_CALL. UPDATE_MANY is the verb the impersonalize writer uses.\n\n */\n\n [CoreResourceOperation.LIST]: {\n\n variants: [{\n\n variantType: ResourceOperationVariantType.INTERNAL_CALL,\n\n isDefault: true,\n\n roles: [CORE_APP_ROLES.APP_ADMIN_SUPER_ADMIN],\n\n riskLevel: ResourceOperationRiskLevel.LOW,\n\n }],\n\n },\n\n [CoreResourceOperation.UPDATE_MANY]: {\n\n variants: [{\n\n variantType: ResourceOperationVariantType.INTERNAL_CALL,\n\n isDefault: true,\n\n roles: [CORE_APP_ROLES.APP_ADMIN_SUPER_ADMIN],\n\n riskLevel: ResourceOperationRiskLevel.CRITICAL,\n\n }],\n\n },\n\n [CoreResourceOperation.READ]: {\n variants: [\n {\n variantType: ResourceOperationVariantType.API_CALL,\n isDefault: true,\n roles: [CORE_APP_ROLES.APP_USER],\n riskLevel: ResourceOperationRiskLevel.LOW,\n }\n ]\n },\n\n [CoreResourceOperation.UPDATE]: {\n variants: [\n {\n variantType: ResourceOperationVariantType.API_CALL,\n isDefault: true,\n roles: [CORE_APP_ROLES.APP_USER],\n riskLevel: ResourceOperationRiskLevel.LOW,\n requestDto: GuidanceStateSchema.partial(),\n }\n ],\n },\n\n [CoreResourceOperation.CREATE]: {\n variants: [\n {\n variantType: ResourceOperationVariantType.API_CALL,\n isDefault: true,\n roles: [CORE_APP_ROLES.APP_USER],\n riskLevel: ResourceOperationRiskLevel.LOW,\n requestDto: GuidanceStateSchema,\n }\n ],\n },\n\n [CoreResourceOperation.SEARCH]: {\n variants: [{\n variantType: ResourceOperationVariantType.API_CALL,\n isDefault: true,\n roles: [CORE_APP_ROLES.APP_USER],\n riskLevel: ResourceOperationRiskLevel.LOW,\n isSearchable: false,\n searchableFields: [],\n searchableOptions: { caseSensitive: false, fullMatchOnly: false },\n filterFields: {},\n sortFields: [],\n maxPaginatedResultPerPageLimit: 50,\n }],\n },\n\n // Internal-only (REPOSITORY_ONLY, no HTTP route): powers the composition\n // onParentDelete cascade so this self-healing state row is physically removed\n // when its owning user is deleted. Without a DELETE op the cascade\n // (deleteChildrenImmediate) throws ErrorType.CONFIGURATION on any user that\n // has a materialized row — these rows self-heal on first READ, so most active\n // users have one. Super-admin/HIGH: a privileged teardown, not the APP_USER\n // self-write. See composition-oncreate-lifecycle plan (systemic DELETE gap).\n [CoreResourceOperation.DELETE]: {\n variants: [\n {\n variantType: ResourceOperationVariantType.REPOSITORY_ONLY,\n isDefault: true,\n roles: [CORE_APP_ROLES.APP_ADMIN_SUPER_ADMIN],\n riskLevel: ResourceOperationRiskLevel.HIGH,\n }\n ],\n },\n },\n});\n\n// ─── ORGANIZATION GUIDANCE STATE ─────────────────────────────────────────────\n\ntype OrganizationGuidanceStateCoreOperations =\n | CoreResourceOperation.READ\n | CoreResourceOperation.SEARCH\n | CoreResourceOperation.UPDATE\n | CoreResourceOperation.CREATE\n | CoreResourceOperation.DELETE;\n\nexport const organizationGuidanceStateResourceConfiguration_InitializationFactory = (resourcesRelationships: ResourceRelationship[]) => createResourceConfiguration_Initialization<\n Record<string, never>,\n OrganizationGuidanceStateCoreOperations,\n typeof OrganizationGuidanceStateSchema\n>({\n mainSchema: OrganizationGuidanceStateSchema,\n resourceIdentifier: CoreResourceType.ORGANIZATION_GUIDANCE_STATE,\n resourceFieldIdentifier: coreResourceShared_FieldIdentifier[CoreResourceType.ORGANIZATION_GUIDANCE_STATE],\n resourceRelationships: resourcesRelationships,\n isSystemResource: true,\n // onParentCreate eager-seeding writes through createAsSystem → opt into the\n // fail-closed system-write policy (composition-oncreate-lifecycle plan).\n systemAccessPolicy: { create: ResourceSystemAccessMode.ALLOWED },\n\n coreOperations: [\n CoreResourceOperation.READ,\n CoreResourceOperation.SEARCH,\n CoreResourceOperation.UPDATE,\n CoreResourceOperation.CREATE,\n // DELETE is REPOSITORY_ONLY (no HTTP route): powers the composition\n // onParentDelete cascade so the self-healing state row is physically removed\n // when its owning scope is deleted. Without it the cascade throws\n // ErrorType.CONFIGURATION on any scope that has a materialized row.\n CoreResourceOperation.DELETE,\n ],\n\n customOperation: {} as Record<string, never>,\n\n operationsConfiguration: {\n [CoreResourceOperation.READ]: {\n variants: [\n {\n variantType: ResourceOperationVariantType.API_CALL,\n isDefault: true,\n roles: [CORE_ORG_ROLES.ORG_MEMBER],\n riskLevel: ResourceOperationRiskLevel.LOW,\n }\n ]\n },\n\n [CoreResourceOperation.UPDATE]: {\n variants: [\n {\n variantType: ResourceOperationVariantType.API_CALL,\n isDefault: true,\n roles: [CORE_ORG_ROLES.ORG_ADMIN, CORE_APP_ROLES.APP_ADMIN_SUPER_ADMIN],\n riskLevel: ResourceOperationRiskLevel.MEDIUM,\n requestDto: GuidanceStateSchema.partial(),\n }\n ],\n },\n\n [CoreResourceOperation.CREATE]: {\n variants: [\n {\n variantType: ResourceOperationVariantType.API_CALL,\n isDefault: true,\n roles: [CORE_ORG_ROLES.ORG_ADMIN, CORE_APP_ROLES.APP_ADMIN_SUPER_ADMIN],\n riskLevel: ResourceOperationRiskLevel.MEDIUM,\n requestDto: GuidanceStateSchema,\n }\n ],\n },\n\n [CoreResourceOperation.SEARCH]: {\n variants: [{\n variantType: ResourceOperationVariantType.API_CALL,\n isDefault: true,\n roles: [CORE_ORG_ROLES.ORG_MEMBER],\n riskLevel: ResourceOperationRiskLevel.LOW,\n isSearchable: false,\n searchableFields: [],\n searchableOptions: { caseSensitive: false, fullMatchOnly: false },\n filterFields: {},\n sortFields: [],\n maxPaginatedResultPerPageLimit: 50,\n }],\n },\n\n // Internal-only (REPOSITORY_ONLY, no HTTP route): powers the composition\n // onParentDelete cascade so this self-healing state row is physically removed\n // when its owning organization is deleted. Without a DELETE op the cascade\n // (deleteChildrenImmediate) throws ErrorType.CONFIGURATION on any org that has\n // a materialized row — these rows self-heal on first READ, so most active orgs\n // have one. ORG_ADMIN/HIGH: the org-scope admin tier for a privileged teardown.\n // See composition-oncreate-lifecycle plan (systemic DELETE gap).\n [CoreResourceOperation.DELETE]: {\n variants: [\n {\n variantType: ResourceOperationVariantType.REPOSITORY_ONLY,\n isDefault: true,\n roles: [CORE_ORG_ROLES.ORG_ADMIN],\n riskLevel: ResourceOperationRiskLevel.HIGH,\n }\n ],\n },\n },\n});\n"]}
|
|
1
|
+
{"version":3,"file":"guidance-state.shared.resources-config.schemas.js","sourceRoot":"","sources":["../../../src/guidance/guidance-state.shared.resources-config.schemas.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EACL,mBAAmB,EACnB,uBAAuB,EACvB,+BAA+B,GAChC,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,qBAAqB,EAAE,MAAM,gDAAgD,CAAC;AACvF,OAAO,EAAE,0BAA0B,EAAwB,MAAM,uCAAuC,CAAC;AACzG,OAAO,EAAE,gBAAgB,EAAE,kC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AAC,MAAM;oBAC5C,UAAU,EAAE,mBAAmB;iBAChC;aACF;SACF;QAED,CAAC,qBAAqB,CAAC,MAAM,CAAC,EAAE;YAC9B,QAAQ,EAAE,CAAC;oBACT,WAAW,EAAE,4BAA4B,CAAC,QAAQ;oBAClD,SAAS,EAAE,IAAI;oBACf,KAAK,EAAE,CAAC,cAAc,CAAC,UAAU,CAAC;oBAClC,SAAS,EAAE,0BAA0B,CAAC,GAAG;oBACzC,YAAY,EAAE,KAAK;oBACnB,gBAAgB,EAAE,EAAE;oBACpB,iBAAiB,EAAE,EAAE,aAAa,EAAE,KAAK,EAAE,aAAa,EAAE,KAAK,EAAE;oBACjE,YAAY,EAAE,EAAE;oBAChB,UAAU,EAAE,EAAE;oBACd,8BAA8B,EAAE,EAAE;iBACnC,CAAC;SACH;QAED,yEAAyE;QACzE,8EAA8E;QAC9E,2EAA2E;QAC3E,+EAA+E;QAC/E,+EAA+E;QAC/E,gFAAgF;QAChF,iEAAiE;QACjE,CAAC,qBAAqB,CAAC,MAAM,CAAC,EAAE;YAC9B,QAAQ,EAAE;gBACR;oBACE,WAAW,EAAE,4BAA4B,CAAC,eAAe;oBACzD,SAAS,EAAE,IAAI;oBACf,KAAK,EAAE,CAAC,cAAc,CAAC,SAAS,CAAC;oBACjC,SAAS,EAAE,0BAA0B,CAAC,IAAI;iBAC3C;aACF;SACF;KACF;CACF,CAAC,CAAC","sourcesContent":["/**\n * Guidance State Shared Resource Configurations\n *\n * Resource configurations for dual-scope guidance state management (USER / ORGANIZATION).\n * Each scope stores flow-level and element-level guidance progress.\n * The shared payload schema stays scope-agnostic, while the schema file also owns\n * the scope-aware persisted variants used by these resource configurations.\n */\n\nimport {\n GuidanceStateSchema,\n UserGuidanceStateSchema,\n OrganizationGuidanceStateSchema,\n} from './guidance-state.shared.schemas';\nimport { CoreResourceOperation } from '../resources/resources.shared.core.definitions';\nimport { ResourceOperationRiskLevel, ResourceRelationship } from '../resources/resources.shared.schemas';\nimport { CoreResourceType, coreResourceShared_FieldIdentifier } from '../resources/resources.shared.core.definitions';\nimport { ResourceOperationVariantType } from '../resources/resources.shared.schemas';\nimport { createResourceConfiguration_Initialization } from '../resources/resources-config.shared.factory';\nimport { ResourceSystemAccessMode } from '../resources/resources-config.shared.schemas';\nimport { CORE_APP_ROLES, CORE_ORG_ROLES } from '../security/authorizations/roles.shared.schemas';\nimport { DataPortabilityProvenance } from '../compliance/privacy/subject-export.shared.schemas';\nimport { ErasureRetentionMode, ResourceDataSubjectKind } from '../compliance/privacy/impersonalization.shared.schemas';\n\n// ─── USER GUIDANCE STATE ─────────────────────────────────────────────────────\n\ntype UserGuidanceStateCoreOperations =\n | CoreResourceOperation.READ\n | CoreResourceOperation.SEARCH\n | CoreResourceOperation.UPDATE\n | CoreResourceOperation.CREATE\n | CoreResourceOperation.DELETE\n // Route-less; `retentionPolicy` requires READ + LIST + UPDATE_MANY.\n | CoreResourceOperation.LIST\n | CoreResourceOperation.UPDATE_MANY;\n\nexport const userGuidanceStateResourceConfiguration_InitializationFactory = (resourcesRelationships: ResourceRelationship[]) => createResourceConfiguration_Initialization<\n Record<string, never>,\n UserGuidanceStateCoreOperations,\n typeof UserGuidanceStateSchema\n>({\n mainSchema: UserGuidanceStateSchema,\n resourceIdentifier: CoreResourceType.USER_GUIDANCE_STATE,\n resourceFieldIdentifier: coreResourceShared_FieldIdentifier[CoreResourceType.USER_GUIDANCE_STATE],\n resourceRelationships: resourcesRelationships,\n isSystemResource: true,\n // onParentCreate eager-seeding writes through createAsSystem → opt into the\n // fail-closed system-write policy (composition-oncreate-lifecycle plan).\n systemAccessPolicy: {\n exportSubject: ResourceSystemAccessMode.ALLOWED, create: ResourceSystemAccessMode.ALLOWED },\n portabilityPolicy: { defaultProvenance: DataPortabilityProvenance.OBSERVED },\n\n /**\n * Subject erasure RETAINS this row and RESETS the per-flow guidance progress map to the schema's own defaults.\n *\n * The USAGE categories on this resource are accurate — these are observations the product made about a\n * named person — so `RETAIN_ONLY` would be a false assertion and the factory refuses it. Until\n * `RedactionType.RESET` existed no treatment could reach these fields at all: they are non-nullable WITH\n * a `.default()`, so REMOVE (needs clearable) and MASK (needs a string) both refuse. RESET returns each\n * to what it is when nobody has set it, which for a behavioural record is exactly what erasure should\n * leave behind.\n *\n * The primary scope FK is preserved — severing it is refused outright, because it would leave the\n * retained row with no tenant anchor, unreachable even to the audited see-through read.\n */\n retentionPolicy: {\n mode: ErasureRetentionMode.RETAIN_AND_IMPERSONALIZE,\n },\n\n /**\n * Erasing one of these rows revokes NO session. The row is state ABOUT a person rather than the person,\n * and its primary scope FK anchors it — the enum prescribes `NO_PRINCIPAL` for that shape. The subject's\n * own session ends through the `USERS` row.\n */\n dataSubjectPolicy: { kind: ResourceDataSubjectKind.NO_PRINCIPAL },\n\n coreOperations: [\n CoreResourceOperation.READ,\n CoreResourceOperation.SEARCH,\n CoreResourceOperation.UPDATE,\n CoreResourceOperation.CREATE,\n // DELETE is REPOSITORY_ONLY (no HTTP route): powers the composition\n // onParentDelete cascade so the self-healing state row is physically removed\n // when its owning scope is deleted. Without it the cascade throws\n // ErrorType.CONFIGURATION on any scope that has a materialized row.\n CoreResourceOperation.DELETE,\n // Route-less; `retentionPolicy` requires READ + LIST + UPDATE_MANY (READ is above).\n CoreResourceOperation.LIST,\n CoreResourceOperation.UPDATE_MANY,\n ],\n\n customOperation: {} as Record<string, never>,\n\n operationsConfiguration: {\n\n /*\n\n * Route-less retention plumbing — INTERNAL_CALL registers no route and must not be REPOSITORY_ONLY:\n\n * the retention primitives resolve through `getServiceOperationPathDefault`, which matches only\n\n * INTERNAL_CALL / API_CALL. UPDATE_MANY is the verb the impersonalize writer uses.\n\n */\n\n [CoreResourceOperation.LIST]: {\n\n variants: [{\n\n variantType: ResourceOperationVariantType.INTERNAL_CALL,\n\n isDefault: true,\n\n roles: [CORE_APP_ROLES.APP_ADMIN_SUPER_ADMIN],\n\n riskLevel: ResourceOperationRiskLevel.LOW,\n\n }],\n\n },\n\n [CoreResourceOperation.UPDATE_MANY]: {\n\n variants: [{\n\n variantType: ResourceOperationVariantType.INTERNAL_CALL,\n\n isDefault: true,\n\n roles: [CORE_APP_ROLES.APP_ADMIN_SUPER_ADMIN],\n\n riskLevel: ResourceOperationRiskLevel.CRITICAL,\n\n }],\n\n },\n\n [CoreResourceOperation.READ]: {\n variants: [\n {\n variantType: ResourceOperationVariantType.API_CALL,\n isDefault: true,\n roles: [CORE_APP_ROLES.APP_USER],\n riskLevel: ResourceOperationRiskLevel.LOW,\n }\n ]\n },\n\n [CoreResourceOperation.UPDATE]: {\n variants: [\n {\n variantType: ResourceOperationVariantType.API_CALL,\n isDefault: true,\n roles: [CORE_APP_ROLES.APP_USER],\n riskLevel: ResourceOperationRiskLevel.LOW,\n requestDto: GuidanceStateSchema.partial(),\n }\n ],\n },\n\n [CoreResourceOperation.CREATE]: {\n variants: [\n {\n variantType: ResourceOperationVariantType.API_CALL,\n isDefault: true,\n roles: [CORE_APP_ROLES.APP_USER],\n riskLevel: ResourceOperationRiskLevel.LOW,\n requestDto: GuidanceStateSchema,\n }\n ],\n },\n\n [CoreResourceOperation.SEARCH]: {\n variants: [{\n variantType: ResourceOperationVariantType.API_CALL,\n isDefault: true,\n roles: [CORE_APP_ROLES.APP_USER],\n riskLevel: ResourceOperationRiskLevel.LOW,\n isSearchable: false,\n searchableFields: [],\n searchableOptions: { caseSensitive: false, fullMatchOnly: false },\n filterFields: {},\n sortFields: [],\n maxPaginatedResultPerPageLimit: 50,\n }],\n },\n\n // Internal-only (REPOSITORY_ONLY, no HTTP route): powers the composition\n // onParentDelete cascade so this self-healing state row is physically removed\n // when its owning user is deleted. Without a DELETE op the cascade\n // (deleteChildrenImmediate) throws ErrorType.CONFIGURATION on any user that\n // has a materialized row — these rows self-heal on first READ, so most active\n // users have one. Super-admin/HIGH: a privileged teardown, not the APP_USER\n // self-write. See composition-oncreate-lifecycle plan (systemic DELETE gap).\n [CoreResourceOperation.DELETE]: {\n variants: [\n {\n variantType: ResourceOperationVariantType.REPOSITORY_ONLY,\n isDefault: true,\n roles: [CORE_APP_ROLES.APP_ADMIN_SUPER_ADMIN],\n riskLevel: ResourceOperationRiskLevel.HIGH,\n }\n ],\n },\n },\n});\n\n// ─── ORGANIZATION GUIDANCE STATE ─────────────────────────────────────────────\n\ntype OrganizationGuidanceStateCoreOperations =\n | CoreResourceOperation.READ\n | CoreResourceOperation.SEARCH\n | CoreResourceOperation.UPDATE\n | CoreResourceOperation.CREATE\n | CoreResourceOperation.DELETE;\n\nexport const organizationGuidanceStateResourceConfiguration_InitializationFactory = (resourcesRelationships: ResourceRelationship[]) => createResourceConfiguration_Initialization<\n Record<string, never>,\n OrganizationGuidanceStateCoreOperations,\n typeof OrganizationGuidanceStateSchema\n>({\n mainSchema: OrganizationGuidanceStateSchema,\n resourceIdentifier: CoreResourceType.ORGANIZATION_GUIDANCE_STATE,\n resourceFieldIdentifier: coreResourceShared_FieldIdentifier[CoreResourceType.ORGANIZATION_GUIDANCE_STATE],\n resourceRelationships: resourcesRelationships,\n isSystemResource: true,\n // onParentCreate eager-seeding writes through createAsSystem → opt into the\n // fail-closed system-write policy (composition-oncreate-lifecycle plan).\n systemAccessPolicy: { create: ResourceSystemAccessMode.ALLOWED },\n\n coreOperations: [\n CoreResourceOperation.READ,\n CoreResourceOperation.SEARCH,\n CoreResourceOperation.UPDATE,\n CoreResourceOperation.CREATE,\n // DELETE is REPOSITORY_ONLY (no HTTP route): powers the composition\n // onParentDelete cascade so the self-healing state row is physically removed\n // when its owning scope is deleted. Without it the cascade throws\n // ErrorType.CONFIGURATION on any scope that has a materialized row.\n CoreResourceOperation.DELETE,\n ],\n\n customOperation: {} as Record<string, never>,\n\n operationsConfiguration: {\n [CoreResourceOperation.READ]: {\n variants: [\n {\n variantType: ResourceOperationVariantType.API_CALL,\n isDefault: true,\n roles: [CORE_ORG_ROLES.ORG_MEMBER],\n riskLevel: ResourceOperationRiskLevel.LOW,\n }\n ]\n },\n\n [CoreResourceOperation.UPDATE]: {\n variants: [\n {\n variantType: ResourceOperationVariantType.API_CALL,\n isDefault: true,\n roles: [CORE_ORG_ROLES.ORG_ADMIN, CORE_APP_ROLES.APP_ADMIN_SUPER_ADMIN],\n riskLevel: ResourceOperationRiskLevel.MEDIUM,\n requestDto: GuidanceStateSchema.partial(),\n }\n ],\n },\n\n [CoreResourceOperation.CREATE]: {\n variants: [\n {\n variantType: ResourceOperationVariantType.API_CALL,\n isDefault: true,\n roles: [CORE_ORG_ROLES.ORG_ADMIN, CORE_APP_ROLES.APP_ADMIN_SUPER_ADMIN],\n riskLevel: ResourceOperationRiskLevel.MEDIUM,\n requestDto: GuidanceStateSchema,\n }\n ],\n },\n\n [CoreResourceOperation.SEARCH]: {\n variants: [{\n variantType: ResourceOperationVariantType.API_CALL,\n isDefault: true,\n roles: [CORE_ORG_ROLES.ORG_MEMBER],\n riskLevel: ResourceOperationRiskLevel.LOW,\n isSearchable: false,\n searchableFields: [],\n searchableOptions: { caseSensitive: false, fullMatchOnly: false },\n filterFields: {},\n sortFields: [],\n maxPaginatedResultPerPageLimit: 50,\n }],\n },\n\n // Internal-only (REPOSITORY_ONLY, no HTTP route): powers the composition\n // onParentDelete cascade so this self-healing state row is physically removed\n // when its owning organization is deleted. Without a DELETE op the cascade\n // (deleteChildrenImmediate) throws ErrorType.CONFIGURATION on any org that has\n // a materialized row — these rows self-heal on first READ, so most active orgs\n // have one. ORG_ADMIN/HIGH: the org-scope admin tier for a privileged teardown.\n // See composition-oncreate-lifecycle plan (systemic DELETE gap).\n [CoreResourceOperation.DELETE]: {\n variants: [\n {\n variantType: ResourceOperationVariantType.REPOSITORY_ONLY,\n isDefault: true,\n roles: [CORE_ORG_ROLES.ORG_ADMIN],\n riskLevel: ResourceOperationRiskLevel.HIGH,\n }\n ],\n },\n },\n});\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"guidance-state.shared.schemas.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"guidance-state.shared.schemas.d.ts","sourceRoot":"","sources":["../../../src/guidance/guidance-state.shared.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,gBAAgB,EAAE,MAAM,8CAA8C,CAAC;AAIhF;;oEAEoE;AAEpE,mCAAmC;AACnC,eAAO,MAAM,0BAA0B;;;;;iBAUrC,CAAC;AACH,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAE9E;;oEAEoE;AAEpE,qBAAqB;AACrB,eAAO,MAAM,uBAAuB;;;;;;;;;;;;iBASlC,CAAC;AACH,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAExE;;oEAEoE;AAEpE;;wDAEwD;AACxD,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;iBAa9B,CAAC;AACH,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAEhE,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;iBAElC,CAAC;AACH,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAExE,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;iBAE1C,CAAC;AACH,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,+BAA+B,CAAC,CAAC;AAExF,MAAM,MAAM,sBAAsB,GAAG,iBAAiB,GAAG,yBAAyB,CAAC"}
|