@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,869 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Service-provider relationships — a service firm's experts working inside CLIENT organizations,
|
|
3
|
+
* under a relationship the client declares, controls and can end on the next request.
|
|
4
|
+
*
|
|
5
|
+
* ## The shape (#1597)
|
|
6
|
+
*
|
|
7
|
+
* An AI-native service company is a firm whose experts work inside every client's tenant every day.
|
|
8
|
+
* Platform access grants cannot carry that: they are break-glass by design (time-boxed, justified,
|
|
9
|
+
* operator-only), and making them standing would be the standing privilege the zero-standing-privilege
|
|
10
|
+
* decision removed. So the firm↔client link is its own, customer-controlled relationship:
|
|
11
|
+
*
|
|
12
|
+
* | resource | lives in | written by |
|
|
13
|
+
* |---|---|---|
|
|
14
|
+
* | `SERVICE_PROVIDER_RELATIONSHIPS` | the CLIENT organization | the client's verbs; the firm's verbs through the mirror |
|
|
15
|
+
* | `SERVICE_ENGAGEMENTS` | the PROVIDER organization | system-written beside every relationship transition — the firm's view |
|
|
16
|
+
* | `SERVICE_ENGAGEMENT_ASSIGNMENTS` | the PROVIDER organization | the firm's administrators: which experts serve which client |
|
|
17
|
+
*
|
|
18
|
+
* An assigned expert receives a REAL membership in the client organization, marked with the
|
|
19
|
+
* relationship (`serviceProviderRelationshipId`, `providerOrganizationId`). The membership is what the
|
|
20
|
+
* rest of the framework already understands; the relationship is what decides whether it confers
|
|
21
|
+
* anything, re-checked on every request by the execution-context builder (the "live filter").
|
|
22
|
+
*
|
|
23
|
+
* ## Each side acts only inside its own tenant
|
|
24
|
+
*
|
|
25
|
+
* The client's verbs are on the relationship (client scope); the firm's verbs (`propose`, `accept` of a
|
|
26
|
+
* client's proposal, `withdraw`) are on the engagement (firm scope). The counterpart row is written by
|
|
27
|
+
* the system in the same transaction. Neither side ever reaches into the other's tenant through a
|
|
28
|
+
* request, so no cross-tenant admission exists here at all — that door belongs to platform operators.
|
|
29
|
+
*/
|
|
30
|
+
import { z } from 'zod';
|
|
31
|
+
import { addImpersonalizeWith } from '@wildo-ai/zod-decorators';
|
|
32
|
+
import { PersonalDataCategory } from '../compliance/privacy/personal-data-category.shared.schemas.js';
|
|
33
|
+
import { RedactionType } from '../compliance/privacy/redaction.shared.schemas.js';
|
|
34
|
+
import { ResourcePrimaryScope } from '../resources/resources.shared.schemas.js';
|
|
35
|
+
import { AUTONOMOUS_AGENT_REFS_PER_CLIENT_MAX, AutonomousAgentRefSchema } from '../flows-actors/autonomous-agents.shared.schemas.js';
|
|
36
|
+
import { ServiceProviderActivityFeedDisclosure, ServiceProviderMfaTrust } from './service-provider-client-controls.shared.schemas.js';
|
|
37
|
+
import { HumanDecision_Outcome, HumanDecision_ResponseIntent, HumanDecision_RouteKind, ReviewClockBasis, ReviewDeadlineStage, ReviewEscalationActionKind, } from '../flows-actors/human-decision.shared.schemas.js';
|
|
38
|
+
import { armReviewDeadlines, dueReviewDeadlineStages, nextReviewDeadlineDueAt, resolveReviewDeadlinePolicy, reviewDeadlinesDeclarationIssues, } from '../flows-actors/review-deadlines.shared.schemas.js';
|
|
39
|
+
import { CORE_ORG_ROLES } from '../security/authorizations/roles.shared.schemas.js';
|
|
40
|
+
import { ServiceEngagementDelegatedCapabilitySchema, isDelegatedCapabilityRole } from './service-provider-capability-grants.shared.schemas.js';
|
|
41
|
+
/** @wildo_source:part:start saas.models.organizations.service-provider-relationships facet:layer:shared facet:audience:app-developer */
|
|
42
|
+
/**
|
|
43
|
+
* Where a service-provider relationship stands. One member per distinct claim, so the record says WHO
|
|
44
|
+
* ended it and HOW.
|
|
45
|
+
*
|
|
46
|
+
* Only {@link ServiceProviderRelationshipStatus.ACTIVE} confers anything, and even then only while
|
|
47
|
+
* `endsAt` is absent or in the future — {@link isServiceProviderRelationshipConferring} is the one
|
|
48
|
+
* predicate, and it reads `endsAt` itself rather than trusting {@link EXPIRED}.
|
|
49
|
+
*/
|
|
50
|
+
export var ServiceProviderRelationshipStatus;
|
|
51
|
+
(function (ServiceProviderRelationshipStatus) {
|
|
52
|
+
/** Proposed by one side, awaiting the other. Confers nothing. */
|
|
53
|
+
ServiceProviderRelationshipStatus["PROPOSED"] = "PROPOSED";
|
|
54
|
+
/** Accepted by the non-proposing side. Confers, subject to the live filter. */
|
|
55
|
+
ServiceProviderRelationshipStatus["ACTIVE"] = "ACTIVE";
|
|
56
|
+
/** Paused by the client. Confers nothing; `resume` returns it to ACTIVE. */
|
|
57
|
+
ServiceProviderRelationshipStatus["SUSPENDED"] = "SUSPENDED";
|
|
58
|
+
/** The client refused the firm's proposal. Terminal. */
|
|
59
|
+
ServiceProviderRelationshipStatus["DECLINED"] = "DECLINED";
|
|
60
|
+
/**
|
|
61
|
+
* The firm ended it (or withdrew its proposal) — or the firm's ORGANIZATION was deleted (the purge after its retention
|
|
62
|
+
* window, or an operator's immediate delete), which ends every relationship it serves the same way. Terminal.
|
|
63
|
+
*/
|
|
64
|
+
ServiceProviderRelationshipStatus["WITHDRAWN"] = "WITHDRAWN";
|
|
65
|
+
/**
|
|
66
|
+
* The client ended it — or the client's ORGANIZATION was deleted (the purge, or an operator's immediate delete), which
|
|
67
|
+
* ends every relationship it holds the same way. Terminal.
|
|
68
|
+
*/
|
|
69
|
+
ServiceProviderRelationshipStatus["TERMINATED"] = "TERMINATED";
|
|
70
|
+
/** The sweep relabelled it after `endsAt`. Terminal bookkeeping — admission never reads this label. */
|
|
71
|
+
ServiceProviderRelationshipStatus["EXPIRED"] = "EXPIRED";
|
|
72
|
+
})(ServiceProviderRelationshipStatus || (ServiceProviderRelationshipStatus = {}));
|
|
73
|
+
/** Statuses from which a relationship can still move — at most one of these per (provider, client). */
|
|
74
|
+
export const SERVICE_PROVIDER_RELATIONSHIP_LIVE_STATUSES = [
|
|
75
|
+
ServiceProviderRelationshipStatus.PROPOSED,
|
|
76
|
+
ServiceProviderRelationshipStatus.ACTIVE,
|
|
77
|
+
ServiceProviderRelationshipStatus.SUSPENDED,
|
|
78
|
+
];
|
|
79
|
+
/** Statuses that end a relationship for good. Reaching one ends every assignment and provider membership. */
|
|
80
|
+
export const SERVICE_PROVIDER_RELATIONSHIP_TERMINAL_STATUSES = [
|
|
81
|
+
ServiceProviderRelationshipStatus.DECLINED,
|
|
82
|
+
ServiceProviderRelationshipStatus.WITHDRAWN,
|
|
83
|
+
ServiceProviderRelationshipStatus.TERMINATED,
|
|
84
|
+
ServiceProviderRelationshipStatus.EXPIRED,
|
|
85
|
+
];
|
|
86
|
+
/** One lifecycle audit row per transition, written to BOTH organizations' trails. */
|
|
87
|
+
export var ServiceProviderRelationshipTransition;
|
|
88
|
+
(function (ServiceProviderRelationshipTransition) {
|
|
89
|
+
ServiceProviderRelationshipTransition["PROPOSED"] = "PROPOSED";
|
|
90
|
+
ServiceProviderRelationshipTransition["ACCEPTED"] = "ACCEPTED";
|
|
91
|
+
ServiceProviderRelationshipTransition["DECLINED"] = "DECLINED";
|
|
92
|
+
ServiceProviderRelationshipTransition["SUSPENDED"] = "SUSPENDED";
|
|
93
|
+
ServiceProviderRelationshipTransition["RESUMED"] = "RESUMED";
|
|
94
|
+
ServiceProviderRelationshipTransition["SCOPE_AMENDED"] = "SCOPE_AMENDED";
|
|
95
|
+
ServiceProviderRelationshipTransition["TERMINATED"] = "TERMINATED";
|
|
96
|
+
ServiceProviderRelationshipTransition["WITHDRAWN"] = "WITHDRAWN";
|
|
97
|
+
ServiceProviderRelationshipTransition["EXPIRED"] = "EXPIRED";
|
|
98
|
+
/**
|
|
99
|
+
* The client changed how the firm's experts are admitted (#1612) — see
|
|
100
|
+
* {@link ServiceProviderExpertAdmissionPolicy}. Not retroactive: experts already admitted stay admitted.
|
|
101
|
+
*/
|
|
102
|
+
ServiceProviderRelationshipTransition["EXPERT_ADMISSION_POLICY_CHANGED"] = "EXPERT_ADMISSION_POLICY_CHANGED";
|
|
103
|
+
})(ServiceProviderRelationshipTransition || (ServiceProviderRelationshipTransition = {}));
|
|
104
|
+
/**
|
|
105
|
+
* How the firm's assigned experts are admitted into the CLIENT organization under one relationship (#1612).
|
|
106
|
+
*
|
|
107
|
+
* The CLIENT's choice, stored on the relationship it controls: set when the client proposes or accepts, and
|
|
108
|
+
* changed later only by a client administrator. The firm can never set or change it. An application may
|
|
109
|
+
* declare the default a client organization type starts from (`acceptsServiceProviders.defaultExpertAdmissionPolicy`),
|
|
110
|
+
* and the relationship's own value always wins.
|
|
111
|
+
*
|
|
112
|
+
* A change is NOT retroactive: experts already admitted stay admitted, and the client removes anyone through
|
|
113
|
+
* the ordinary member verbs.
|
|
114
|
+
*/
|
|
115
|
+
export var ServiceProviderExpertAdmissionPolicy;
|
|
116
|
+
(function (ServiceProviderExpertAdmissionPolicy) {
|
|
117
|
+
/** The relationship admits every expert the firm assigns (the #1597 behaviour, and the default). */
|
|
118
|
+
ServiceProviderExpertAdmissionPolicy["RELATIONSHIP_APPROVES_ASSIGNED_EXPERTS"] = "RELATIONSHIP_APPROVES_ASSIGNED_EXPERTS";
|
|
119
|
+
/**
|
|
120
|
+
* Each assigned expert waits for the client's own approval — a human decision routed to the client's
|
|
121
|
+
* administrators — and receives no membership until a client administrator approves them.
|
|
122
|
+
*/
|
|
123
|
+
ServiceProviderExpertAdmissionPolicy["CLIENT_APPROVES_EACH_EXPERT"] = "CLIENT_APPROVES_EACH_EXPERT";
|
|
124
|
+
})(ServiceProviderExpertAdmissionPolicy || (ServiceProviderExpertAdmissionPolicy = {}));
|
|
125
|
+
/** Whether a firm's expert currently serves an engagement. */
|
|
126
|
+
export var ServiceEngagementAssignmentStatus;
|
|
127
|
+
(function (ServiceEngagementAssignmentStatus) {
|
|
128
|
+
/** Designated by the firm; the expert holds a provider membership in the client organization. */
|
|
129
|
+
ServiceEngagementAssignmentStatus["ACTIVE"] = "ACTIVE";
|
|
130
|
+
/**
|
|
131
|
+
* Unassigned, ended with the relationship, or withdrawn while still awaiting the client's approval. The
|
|
132
|
+
* client membership (when one was ever created) is INACTIVE; the row is evidence.
|
|
133
|
+
*/
|
|
134
|
+
ServiceEngagementAssignmentStatus["ENDED"] = "ENDED";
|
|
135
|
+
/**
|
|
136
|
+
* The firm assigned the expert under a relationship whose client approves each expert (#1612), and the
|
|
137
|
+
* client has not answered yet. Confers NOTHING by construction: no membership row exists in the client,
|
|
138
|
+
* so there is no role entry, nothing in any membership consumer, and no (person, client) slot taken.
|
|
139
|
+
*/
|
|
140
|
+
ServiceEngagementAssignmentStatus["PENDING_CLIENT_APPROVAL"] = "PENDING_CLIENT_APPROVAL";
|
|
141
|
+
/**
|
|
142
|
+
* The client refused the expert — or approved, but the relationship, the expert's firm membership or the
|
|
143
|
+
* (person, client) slot no longer allowed admission when the approval was applied. Nothing was created.
|
|
144
|
+
* Terminal; `approvalDenialReason` says which.
|
|
145
|
+
*/
|
|
146
|
+
ServiceEngagementAssignmentStatus["DENIED"] = "DENIED";
|
|
147
|
+
/** Nobody in the client answered before the approval's lapse (decision deadlines, #1628). Nothing was created. Terminal. */
|
|
148
|
+
ServiceEngagementAssignmentStatus["LAPSED"] = "LAPSED";
|
|
149
|
+
})(ServiceEngagementAssignmentStatus || (ServiceEngagementAssignmentStatus = {}));
|
|
150
|
+
/** Assignment statuses that still hold, or still wait for, a place in the client — the ones a second assignment collides with. */
|
|
151
|
+
export const SERVICE_ENGAGEMENT_ASSIGNMENT_LIVE_STATUSES = [
|
|
152
|
+
ServiceEngagementAssignmentStatus.ACTIVE,
|
|
153
|
+
ServiceEngagementAssignmentStatus.PENDING_CLIENT_APPROVAL,
|
|
154
|
+
];
|
|
155
|
+
/**
|
|
156
|
+
* Why a per-expert approval ended without admitting the expert (#1612). Recorded on the assignment the firm
|
|
157
|
+
* reads, so it names a FACT the firm may know — never the client administrator who answered.
|
|
158
|
+
*/
|
|
159
|
+
export var ServiceProviderExpertApprovalDenialReason;
|
|
160
|
+
(function (ServiceProviderExpertApprovalDenialReason) {
|
|
161
|
+
/** A client administrator refused the expert. */
|
|
162
|
+
ServiceProviderExpertApprovalDenialReason["REFUSED_BY_CLIENT"] = "REFUSED_BY_CLIENT";
|
|
163
|
+
/** The client approved, but the relationship no longer confers (ended, suspended, or past its term). */
|
|
164
|
+
ServiceProviderExpertApprovalDenialReason["RELATIONSHIP_NO_LONGER_CONFERS"] = "RELATIONSHIP_NO_LONGER_CONFERS";
|
|
165
|
+
/** The client approved, but the expert is no longer an active, ordinary member of the firm, or the firm no longer confers authority. */
|
|
166
|
+
ServiceProviderExpertApprovalDenialReason["EXPERT_NO_LONGER_ELIGIBLE"] = "EXPERT_NO_LONGER_ELIGIBLE";
|
|
167
|
+
/** The client approved, but the person meanwhile holds another membership in the client (their own, a suspended one, or another firm's). */
|
|
168
|
+
ServiceProviderExpertApprovalDenialReason["CONFLICTS_WITH_CLIENT_MEMBERSHIP"] = "CONFLICTS_WITH_CLIENT_MEMBERSHIP";
|
|
169
|
+
})(ServiceProviderExpertApprovalDenialReason || (ServiceProviderExpertApprovalDenialReason = {}));
|
|
170
|
+
/**
|
|
171
|
+
* The two answers a per-expert approval offers (#1612), in the one answer shape (`HumanDecision_Answer.optionRef`).
|
|
172
|
+
* APPROVE proceeds (the expert is admitted, re-checked at that moment); REJECT ends the waiting assignment.
|
|
173
|
+
*/
|
|
174
|
+
export var ServiceProviderExpertApprovalOption;
|
|
175
|
+
(function (ServiceProviderExpertApprovalOption) {
|
|
176
|
+
ServiceProviderExpertApprovalOption["APPROVE"] = "approve";
|
|
177
|
+
ServiceProviderExpertApprovalOption["REJECT"] = "reject";
|
|
178
|
+
})(ServiceProviderExpertApprovalOption || (ServiceProviderExpertApprovalOption = {}));
|
|
179
|
+
/** @wildo_source:part:end saas.models.organizations.service-provider-relationships */
|
|
180
|
+
/**
|
|
181
|
+
* Does this relationship confer authority RIGHT NOW?
|
|
182
|
+
*
|
|
183
|
+
* The single predicate every consumer uses — the execution-context live filter, machine-client
|
|
184
|
+
* admission, the client-mailbox domain authorization, and any screen. `endsAt` is read here rather than
|
|
185
|
+
* trusting the EXPIRED label, so the term ends the moment it elapses with no writer involved: a
|
|
186
|
+
* relationship whose term passed must stop working whether or not the sweep has run.
|
|
187
|
+
*/
|
|
188
|
+
export function isServiceProviderRelationshipConferring(relationship, now) {
|
|
189
|
+
if (!relationship)
|
|
190
|
+
return false;
|
|
191
|
+
if (relationship.status !== ServiceProviderRelationshipStatus.ACTIVE)
|
|
192
|
+
return false;
|
|
193
|
+
if (relationship.endsAt === undefined || relationship.endsAt === null)
|
|
194
|
+
return true;
|
|
195
|
+
const endsAt = relationship.endsAt instanceof Date ? relationship.endsAt : new Date(relationship.endsAt);
|
|
196
|
+
return Number.isFinite(endsAt.getTime()) && endsAt.getTime() > now.getTime();
|
|
197
|
+
}
|
|
198
|
+
/**
|
|
199
|
+
* Is this membership row a PROVIDER membership — held through a service-provider relationship rather
|
|
200
|
+
* than as the organization's own member?
|
|
201
|
+
*
|
|
202
|
+
* The one definition, used by every membership consumer that must treat the two differently: the owner
|
|
203
|
+
* floor (never counts), `grantOwnership` (refuses), the generic member UPDATE (roles are owned by the
|
|
204
|
+
* relationship), SCIM `/Users` (not the client's directory), user-type revocation (grants none), and the
|
|
205
|
+
* execution-context live filter (confers only through a live relationship).
|
|
206
|
+
*/
|
|
207
|
+
export function isServiceProviderMembership(member) {
|
|
208
|
+
const row = member;
|
|
209
|
+
// ANY present marker classifies the row as a provider row — not only a well-formed string. The failure
|
|
210
|
+
// this rules out is fail-OPEN: a marker of another type (an ObjectId from a direct store write, a number)
|
|
211
|
+
// read as "ordinary member" would let the row's own `roles` confer authority the relationship never
|
|
212
|
+
// granted. Classified as a provider row, a malformed one confers nothing: the live filter needs a readable
|
|
213
|
+
// relationship id and skips it.
|
|
214
|
+
return isPresentMarker(row?.serviceProviderRelationshipId) || isPresentMarker(row?.providerOrganizationId);
|
|
215
|
+
}
|
|
216
|
+
function isPresentMarker(value) {
|
|
217
|
+
return value !== undefined && value !== null && value !== '';
|
|
218
|
+
}
|
|
219
|
+
/**
|
|
220
|
+
* The role entries a LIVE relationship confers on one of its experts (or admitted machine clients) in the
|
|
221
|
+
* client organization — the pure half of the execution-context live filter, so the emission rule has one
|
|
222
|
+
* definition that the builder and its tests share.
|
|
223
|
+
*
|
|
224
|
+
* - No `organizationUnitIds` ⇒ ONE organization-wide entry.
|
|
225
|
+
* - `organizationUnitIds` ⇒ one unit-scoped entry per unit and NO organization-wide entry. The expert is
|
|
226
|
+
* then a UNIT-ONLY principal, which is the whole of what a unit-scoped relationship means.
|
|
227
|
+
*
|
|
228
|
+
* The attribution fields are audit-only (see `ExecutionContext_RoleInfo.viaServiceProviderRelationshipId`).
|
|
229
|
+
*/
|
|
230
|
+
export function buildServiceProviderRoleEntries(relationship, relationshipId, providerOrganizationId,
|
|
231
|
+
/**
|
|
232
|
+
* The roles of the relationship's LIVE capability grants (#1631), added beside the relationship's role on its
|
|
233
|
+
* organization-wide entry. A unit-scoped relationship emits none of them (every capability needs an organization-wide
|
|
234
|
+
* relationship). The live filter decides which grants are live; this only places them.
|
|
235
|
+
*/
|
|
236
|
+
capabilityRoles = []) {
|
|
237
|
+
const attribution = { viaServiceProviderRelationshipId: relationshipId, viaProviderOrganizationId: providerOrganizationId };
|
|
238
|
+
const unitIds = [...new Set((relationship.organizationUnitIds ?? []).filter((unitId) => typeof unitId === 'string' && unitId.length > 0))];
|
|
239
|
+
if (unitIds.length === 0) {
|
|
240
|
+
return [{
|
|
241
|
+
roles: [relationship.role, ...capabilityRoles.filter((role) => role !== relationship.role)],
|
|
242
|
+
relatedPrimaryScope: ResourcePrimaryScope.ORGANIZATIONS,
|
|
243
|
+
relatedResourceId: relationship.organizationId,
|
|
244
|
+
...attribution,
|
|
245
|
+
}];
|
|
246
|
+
}
|
|
247
|
+
// A unit-scoped relationship carries NO capability role: every capability needs an organization-wide relationship
|
|
248
|
+
// (`ORGANIZATION_LEVEL_DELEGATED_CAPABILITIES`), so a grant surviving a narrowing confers nothing, by construction.
|
|
249
|
+
return unitIds.map((organizationUnitId) => ({
|
|
250
|
+
roles: [relationship.role],
|
|
251
|
+
relatedPrimaryScope: ResourcePrimaryScope.ORGANIZATIONS,
|
|
252
|
+
relatedResourceId: relationship.organizationId,
|
|
253
|
+
organizationUnitId,
|
|
254
|
+
...attribution,
|
|
255
|
+
}));
|
|
256
|
+
}
|
|
257
|
+
/**
|
|
258
|
+
* The service-provider attribution an audit row written in `organizationId` carries, read from the role
|
|
259
|
+
* entries the execution-context live filter emitted — THE ONLY reader of `viaServiceProviderRelationshipId`
|
|
260
|
+
* and `viaProviderOrganizationId` (invariant 18 of #1597): no authority decision may consult them.
|
|
261
|
+
*
|
|
262
|
+
* Only an entry for the ROW's organization counts. A firm member acting in their own firm carries no
|
|
263
|
+
* attribution there even while they hold a live client relationship elsewhere, and a row in the client
|
|
264
|
+
* organization names the relationship that admitted the principal into it. Every entry the live filter
|
|
265
|
+
* emits for one relationship carries the same pair, so the first attributed entry is the answer.
|
|
266
|
+
*/
|
|
267
|
+
export function resolveServiceProviderAuditAttribution(initiatorRoles, organizationId) {
|
|
268
|
+
if (!organizationId || !initiatorRoles)
|
|
269
|
+
return undefined;
|
|
270
|
+
const entry = initiatorRoles.find((roleInfo) => roleInfo.relatedPrimaryScope === ResourcePrimaryScope.ORGANIZATIONS
|
|
271
|
+
&& roleInfo.relatedResourceId === organizationId
|
|
272
|
+
&& typeof roleInfo.viaServiceProviderRelationshipId === 'string'
|
|
273
|
+
&& typeof roleInfo.viaProviderOrganizationId === 'string');
|
|
274
|
+
if (!entry)
|
|
275
|
+
return undefined;
|
|
276
|
+
return {
|
|
277
|
+
actingViaServiceProviderRelationshipId: entry.viaServiceProviderRelationshipId,
|
|
278
|
+
providerOrganizationId: entry.viaProviderOrganizationId,
|
|
279
|
+
};
|
|
280
|
+
}
|
|
281
|
+
/** Placeholder written over free text an erasure scrubs; non-empty because `purpose` is required. */
|
|
282
|
+
export const ERASED_SERVICE_PROVIDER_TEXT = '[erased]';
|
|
283
|
+
/**
|
|
284
|
+
* Free text written by a person at one of the two organizations — why the relationship exists, or why a
|
|
285
|
+
* side refused or ended it. The surface most likely to name a third party in passing, so it is scrubbed
|
|
286
|
+
* on erasure while the relationship's structural record (who, which tenants, when, which scope) survives.
|
|
287
|
+
*/
|
|
288
|
+
const purposeField = () => addImpersonalizeWith(z.string().min(1).max(1000).isSummaryField().excludeFromCreate().excludeFromUpdate()
|
|
289
|
+
.dataCategories(PersonalDataCategory.USER_CONTENT), RedactionType.MASK, { maskValue: ERASED_SERVICE_PROVIDER_TEXT });
|
|
290
|
+
const decisionReasonField = () => addImpersonalizeWith(z.string().max(1000).optional().excludeFromCreate().excludeFromUpdate()
|
|
291
|
+
.dataCategories(PersonalDataCategory.USER_CONTENT), RedactionType.REMOVE);
|
|
292
|
+
/** @wildo_source:part:start saas.models.organizations.service-provider-relationships */
|
|
293
|
+
/**
|
|
294
|
+
* One admitted client's agents, as the CLIENT organization chose them (#1611). See
|
|
295
|
+
* `ServiceProviderRelationship.admittedAutonomousAgents`.
|
|
296
|
+
*/
|
|
297
|
+
export const ServiceProviderAdmittedAutonomousAgentsSchema = z.object({
|
|
298
|
+
oauthClientId: z.string().min(1).describe('The firm\'s machine client this entry is for. It is always one of the relationship\'s `admittedMachineClientIds`.'),
|
|
299
|
+
autonomousAgentRefs: z
|
|
300
|
+
.array(AutonomousAgentRefSchema)
|
|
301
|
+
.max(AUTONOMOUS_AGENT_REFS_PER_CLIENT_MAX)
|
|
302
|
+
.describe('The agents of that client the client organization lets act inside it. An empty list admits none, even if the firm runs more agents on that client.'),
|
|
303
|
+
});
|
|
304
|
+
/**
|
|
305
|
+
* Does this relationship let this firm client run this autonomous agent in the client organization (#1611)?
|
|
306
|
+
* The client's consent only: whether the client is admitted at all, live, and with which role is
|
|
307
|
+
* `admitServiceProviderMachineClient`'s question, and whether the firm binds the agent to it is the client
|
|
308
|
+
* row's. The one predicate the principal resolver, the schedule's nomination and the admission audit share.
|
|
309
|
+
*/
|
|
310
|
+
export function serviceProviderAdmitsAutonomousAgent(relationship, oauthClientId, autonomousAgentRef) {
|
|
311
|
+
if (!relationship || !(relationship.admittedMachineClientIds ?? []).includes(oauthClientId))
|
|
312
|
+
return false;
|
|
313
|
+
return (relationship.admittedAutonomousAgents ?? [])
|
|
314
|
+
.some((entry) => entry.oauthClientId === oauthClientId && entry.autonomousAgentRefs.includes(autonomousAgentRef));
|
|
315
|
+
}
|
|
316
|
+
/**
|
|
317
|
+
* The relationship, stored in the CLIENT organization — the party that controls it.
|
|
318
|
+
*
|
|
319
|
+
* Every field is server-authored. There is no generic CREATE or UPDATE: each field changes only through
|
|
320
|
+
* the verb that owns its transition, which is what makes the record evidence rather than a form.
|
|
321
|
+
*/
|
|
322
|
+
export const ServiceProviderRelationshipSchema = z.object({
|
|
323
|
+
_id: z.string().min(1).isPrimaryKey().isSummaryField(),
|
|
324
|
+
/** The CLIENT organization — the scope anchor, and the only party that can widen or end the relationship. */
|
|
325
|
+
organizationId: z.string().min(1).isDBIndexed().isForeignKey().isSummaryField().excludeFromUpdate().isAuditEvidence(),
|
|
326
|
+
/**
|
|
327
|
+
* The service FIRM. A plain indexed id, not a foreign key: it names another tenant, and a navigable
|
|
328
|
+
* edge from one tenant's row into another tenant is exactly what this model refuses to create.
|
|
329
|
+
*/
|
|
330
|
+
providerOrganizationId: z.string().min(1).isDBIndexed().isSummaryField().excludeFromCreate().excludeFromUpdate().isAuditEvidence(),
|
|
331
|
+
/** The firm's name when the relationship was proposed — a snapshot, because the client cannot read the firm's row. */
|
|
332
|
+
providerOrganizationName: z.string().max(200).optional().isSummaryField().excludeFromCreate().excludeFromUpdate(),
|
|
333
|
+
status: z.enum(ServiceProviderRelationshipStatus)
|
|
334
|
+
.systemEnum('ServiceProviderRelationshipStatus')
|
|
335
|
+
.default(ServiceProviderRelationshipStatus.PROPOSED)
|
|
336
|
+
.isDBIndexed()
|
|
337
|
+
.isSummaryField()
|
|
338
|
+
.excludeFromCreate()
|
|
339
|
+
.excludeFromUpdate()
|
|
340
|
+
.isAuditEvidence(),
|
|
341
|
+
/**
|
|
342
|
+
* The role every assigned expert holds in the client organization. One of the provider organization
|
|
343
|
+
* type's `servesAsProvider.providerRoles`, never one leading up to `ORG_ADMIN` (refused at startup).
|
|
344
|
+
* The provider memberships' `roles` mirror it; the live filter emits THIS value.
|
|
345
|
+
*/
|
|
346
|
+
role: z.string().min(1).isSummaryField().excludeFromCreate().excludeFromUpdate().isAuditEvidence(),
|
|
347
|
+
/**
|
|
348
|
+
* Engagement scope. Absent or empty ⇒ organization-wide. Present ⇒ the experts reach ONLY these units:
|
|
349
|
+
* the live filter emits one unit-scoped role entry per id and NO organization-wide entry, so a
|
|
350
|
+
* resource that neither narrows by unit nor is declared organization-wide for providers is refused.
|
|
351
|
+
* Stored once, here — no `ORGANIZATION_UNIT_MEMBERS` rows mirror it.
|
|
352
|
+
*/
|
|
353
|
+
organizationUnitIds: z.array(z.string().min(1)).optional().excludeFromCreate().excludeFromUpdate().isAuditEvidence(),
|
|
354
|
+
/** The term. Absent ⇒ open-ended. Admission reads this, never the EXPIRED label. */
|
|
355
|
+
// Nullish: `amendScope` CLEARS a term by writing null, which means "no term".
|
|
356
|
+
endsAt: z.date().nullish().isDBIndexed().isSummaryField().excludeFromCreate().excludeFromUpdate().isAuditEvidence(),
|
|
357
|
+
/** Why the relationship exists — required, and the fact the client's processor register derives from. */
|
|
358
|
+
purpose: purposeField(),
|
|
359
|
+
/**
|
|
360
|
+
* Firm-owned OAuth clients the client admits into its organization under this relationship (S3). A
|
|
361
|
+
* listed client authenticating by client credentials receives the relationship's role in THIS
|
|
362
|
+
* organization, re-checked per request. What such a principal may do is decided elsewhere.
|
|
363
|
+
*/
|
|
364
|
+
admittedMachineClientIds: z.array(z.string().min(1)).optional().excludeFromCreate().excludeFromUpdate().isAuditEvidence(),
|
|
365
|
+
/**
|
|
366
|
+
* Which of the firm's autonomous agents the client lets each admitted client run HERE (#1611). The firm
|
|
367
|
+
* decides which agents its client runs (`autonomousAgentRefs` on the client); the CLIENT decides which of
|
|
368
|
+
* those may act in its organization, at the relationship's role and on its token budget. A turn needs both:
|
|
369
|
+
* see {@link serviceProviderAdmitsAutonomousAgent}. No entry for a client, or an empty list, admits none —
|
|
370
|
+
* a firm adding an agent to its own client never starts it in a client organization that did not choose it.
|
|
371
|
+
*
|
|
372
|
+
* Written only by `admitMachineClient` (which replaces the client's entry) and `removeMachineClient` (which
|
|
373
|
+
* drops it), so it can never name a client `admittedMachineClientIds` does not.
|
|
374
|
+
*/
|
|
375
|
+
admittedAutonomousAgents: z.array(ServiceProviderAdmittedAutonomousAgentsSchema).optional().excludeFromCreate().excludeFromUpdate().isAuditEvidence(),
|
|
376
|
+
/**
|
|
377
|
+
* Whether each expert the firm assigns waits for the client's own approval (#1612). The CLIENT's choice:
|
|
378
|
+
* written by the client's `propose`, `accept` and `setExpertAdmissionPolicy` only — a firm's proposal starts
|
|
379
|
+
* from the client organization type's declared default, and no firm verb reads a value for it.
|
|
380
|
+
*/
|
|
381
|
+
expertAdmissionPolicy: z.enum(ServiceProviderExpertAdmissionPolicy)
|
|
382
|
+
.systemEnum('ServiceProviderExpertAdmissionPolicy')
|
|
383
|
+
.default(ServiceProviderExpertAdmissionPolicy.RELATIONSHIP_APPROVES_ASSIGNED_EXPERTS)
|
|
384
|
+
.isSummaryField()
|
|
385
|
+
.excludeFromCreate()
|
|
386
|
+
.excludeFromUpdate()
|
|
387
|
+
.isAuditEvidence(),
|
|
388
|
+
/**
|
|
389
|
+
* Whether the client accepts the multi-factor proof the FIRM's own enterprise identity provider made (#1633). The
|
|
390
|
+
* client's choice, written only by its `setProviderMfaTrust` verb (ORG_OWNER, step-up); off by default. The client
|
|
391
|
+
* organization type's authentication policy governs the experts either way — this only decides whether a factor
|
|
392
|
+
* the firm's provider reported may satisfy it. See {@link ServiceProviderMfaTrust}.
|
|
393
|
+
*/
|
|
394
|
+
providerMfaTrust: z.enum(ServiceProviderMfaTrust)
|
|
395
|
+
.systemEnum('ServiceProviderMfaTrust')
|
|
396
|
+
.default(ServiceProviderMfaTrust.NOT_TRUSTED)
|
|
397
|
+
.isSummaryField()
|
|
398
|
+
.excludeFromCreate()
|
|
399
|
+
.excludeFromUpdate()
|
|
400
|
+
.isAuditEvidence(),
|
|
401
|
+
/**
|
|
402
|
+
* How much the firm's expert-activity feed may say about work done in this client (#1632). The client's choice,
|
|
403
|
+
* written only by its `setActivityFeedDisclosure` verb (ORG_ADMIN). Read LIVE by the feed writer, so a change takes
|
|
404
|
+
* effect on the expert's next action. Metadata only at every level. See {@link ServiceProviderActivityFeedDisclosure}.
|
|
405
|
+
*/
|
|
406
|
+
activityFeedDisclosure: z.enum(ServiceProviderActivityFeedDisclosure)
|
|
407
|
+
.systemEnum('ServiceProviderActivityFeedDisclosure')
|
|
408
|
+
.default(ServiceProviderActivityFeedDisclosure.OPERATION_AND_OUTCOME)
|
|
409
|
+
.isSummaryField()
|
|
410
|
+
.excludeFromCreate()
|
|
411
|
+
.excludeFromUpdate()
|
|
412
|
+
.isAuditEvidence(),
|
|
413
|
+
/** Which side proposed — the OTHER side accepts. */
|
|
414
|
+
proposedByOrganizationId: z.string().min(1).isDBIndexed().excludeFromCreate().excludeFromUpdate().isAuditEvidence(),
|
|
415
|
+
proposedByUserId: z.string().min(1).optional().excludeFromCreate().excludeFromUpdate().isAuditEvidence(),
|
|
416
|
+
acceptedByUserId: z.string().min(1).optional().excludeFromCreate().excludeFromUpdate().isAuditEvidence(),
|
|
417
|
+
acceptedAt: z.date().optional().excludeFromCreate().excludeFromUpdate(),
|
|
418
|
+
endedByUserId: z.string().min(1).optional().excludeFromCreate().excludeFromUpdate().isAuditEvidence(),
|
|
419
|
+
/** When a terminal status was reached — the retention clock's start point. */
|
|
420
|
+
endedAt: z.date().optional().isDBIndexed().excludeFromCreate().excludeFromUpdate().isAuditEvidence(),
|
|
421
|
+
decisionReason: decisionReasonField(),
|
|
422
|
+
createdAt: z.date().optional(),
|
|
423
|
+
updatedAt: z.date().optional(),
|
|
424
|
+
});
|
|
425
|
+
/**
|
|
426
|
+
* The firm's mirror of one relationship, stored in the PROVIDER organization.
|
|
427
|
+
*
|
|
428
|
+
* System-written in the same transaction as every relationship transition, and what the firm reads —
|
|
429
|
+
* its clients list, the expert assignment screen, the organization switcher's grouping. It carries only
|
|
430
|
+
* what the firm needs: the client's unit ids stay in the client's tenant (`scopedToOrganizationUnits`
|
|
431
|
+
* says whether a scope exists, not what it is).
|
|
432
|
+
*/
|
|
433
|
+
export const ServiceEngagementSchema = z.object({
|
|
434
|
+
_id: z.string().min(1).isPrimaryKey().isSummaryField(),
|
|
435
|
+
/** The PROVIDER organization — the firm. */
|
|
436
|
+
organizationId: z.string().min(1).isDBIndexed().isForeignKey().isSummaryField().excludeFromUpdate().isAuditEvidence(),
|
|
437
|
+
/** The client organization. A plain id for the same reason as `providerOrganizationId` on the relationship. */
|
|
438
|
+
clientOrganizationId: z.string().min(1).isDBIndexed().isSummaryField().excludeFromCreate().excludeFromUpdate().isAuditEvidence(),
|
|
439
|
+
/** The relationship this mirrors, in the client's tenant. Unique: one mirror per relationship. */
|
|
440
|
+
serviceProviderRelationshipId: z.string().min(1).isDBIndexed().isUnique().isSummaryField().excludeFromCreate().excludeFromUpdate().isAuditEvidence(),
|
|
441
|
+
status: z.enum(ServiceProviderRelationshipStatus)
|
|
442
|
+
.systemEnum('ServiceProviderRelationshipStatus')
|
|
443
|
+
.default(ServiceProviderRelationshipStatus.PROPOSED)
|
|
444
|
+
.isDBIndexed()
|
|
445
|
+
.isSummaryField()
|
|
446
|
+
.excludeFromCreate()
|
|
447
|
+
.excludeFromUpdate(),
|
|
448
|
+
role: z.string().min(1).isSummaryField().excludeFromCreate().excludeFromUpdate(),
|
|
449
|
+
scopedToOrganizationUnits: z.boolean().default(false).isSummaryField().excludeFromCreate().excludeFromUpdate(),
|
|
450
|
+
// Nullish, and always written by the mirror sync: a term the client cleared must clear here too.
|
|
451
|
+
endsAt: z.date().nullish().isSummaryField().excludeFromCreate().excludeFromUpdate(),
|
|
452
|
+
purpose: purposeField(),
|
|
453
|
+
proposedByOrganizationId: z.string().min(1).excludeFromCreate().excludeFromUpdate(),
|
|
454
|
+
/**
|
|
455
|
+
* Display copy of the client's name — the firm cannot read the client row. Written only once the client has
|
|
456
|
+
* consented to the firm knowing it (it proposed to this firm, or accepted the firm's proposal), then refreshed at each
|
|
457
|
+
* transition. Absent while a firm's proposal is pending and after a decline: a proposal must not be a way to learn a
|
|
458
|
+
* tenant's name.
|
|
459
|
+
*/
|
|
460
|
+
clientOrganizationName: z.string().max(200).optional().isSummaryField().excludeFromCreate().excludeFromUpdate(),
|
|
461
|
+
/**
|
|
462
|
+
* The client's admission policy, mirrored so the firm knows before assigning whether each expert will wait for
|
|
463
|
+
* the client's approval (#1612). Read-only here: the firm has no verb that writes it.
|
|
464
|
+
*/
|
|
465
|
+
expertAdmissionPolicy: z.enum(ServiceProviderExpertAdmissionPolicy)
|
|
466
|
+
.systemEnum('ServiceProviderExpertAdmissionPolicy')
|
|
467
|
+
.default(ServiceProviderExpertAdmissionPolicy.RELATIONSHIP_APPROVES_ASSIGNED_EXPERTS)
|
|
468
|
+
.isSummaryField()
|
|
469
|
+
.excludeFromCreate()
|
|
470
|
+
.excludeFromUpdate(),
|
|
471
|
+
/**
|
|
472
|
+
* The administrative capabilities the client currently lends this firm (#1631), with when each ends — mirrored so the
|
|
473
|
+
* firm knows what its experts may do there. System-written on every grant and revocation; read-only to the firm, which
|
|
474
|
+
* can never grant, widen or extend one.
|
|
475
|
+
*/
|
|
476
|
+
delegatedCapabilities: z.array(ServiceEngagementDelegatedCapabilitySchema).optional().excludeFromCreate().excludeFromUpdate(),
|
|
477
|
+
/** Mirrors the relationship's end — the retention clock's start point, so the sweep queries it (indexed). */
|
|
478
|
+
endedAt: z.date().optional().isDBIndexed().excludeFromCreate().excludeFromUpdate(),
|
|
479
|
+
decisionReason: decisionReasonField(),
|
|
480
|
+
createdAt: z.date().optional(),
|
|
481
|
+
updatedAt: z.date().optional(),
|
|
482
|
+
});
|
|
483
|
+
/**
|
|
484
|
+
* Which of the firm's members serve which engagement — stored in the PROVIDER organization, decided by
|
|
485
|
+
* the firm's administrators. Assigning creates (or reactivates) the expert's provider membership in the
|
|
486
|
+
* client organization; unassigning makes it INACTIVE. The live filter reads the ACTIVE assignment for
|
|
487
|
+
* `(serviceProviderRelationshipId, userId)` on every request.
|
|
488
|
+
*/
|
|
489
|
+
export const ServiceEngagementAssignmentSchema = z.object({
|
|
490
|
+
_id: z.string().min(1).isPrimaryKey().isSummaryField(),
|
|
491
|
+
/** The PROVIDER organization. */
|
|
492
|
+
organizationId: z.string().min(1).isDBIndexed().isForeignKey().isSummaryField().excludeFromUpdate().isAuditEvidence(),
|
|
493
|
+
/** The engagement (mirror) this assignment serves — same tenant, a real edge. */
|
|
494
|
+
serviceEngagementId: z.string().min(1).isDBIndexed().isForeignKey().isSummaryField().excludeFromUpdate().isAuditEvidence(),
|
|
495
|
+
/** The expert. Must be an ACTIVE, ordinary member of the firm when assigned. */
|
|
496
|
+
userId: z.string().min(1).isDBIndexed().isForeignKey().isSummaryField().excludeFromUpdate().isAuditEvidence(),
|
|
497
|
+
/** Copied from the engagement so the live filter reads one row by `(relationship, user)`. */
|
|
498
|
+
serviceProviderRelationshipId: z.string().min(1).isDBIndexed().excludeFromCreate().excludeFromUpdate().isAuditEvidence(),
|
|
499
|
+
clientOrganizationId: z.string().min(1).isDBIndexed().excludeFromCreate().excludeFromUpdate().isAuditEvidence(),
|
|
500
|
+
status: z.enum(ServiceEngagementAssignmentStatus)
|
|
501
|
+
.systemEnum('ServiceEngagementAssignmentStatus')
|
|
502
|
+
.default(ServiceEngagementAssignmentStatus.ACTIVE)
|
|
503
|
+
.isDBIndexed()
|
|
504
|
+
.isSummaryField()
|
|
505
|
+
.excludeFromCreate()
|
|
506
|
+
.excludeFromUpdate()
|
|
507
|
+
.isAuditEvidence(),
|
|
508
|
+
assignedByUserId: z.string().min(1).optional().excludeFromCreate().excludeFromUpdate().isAuditEvidence(),
|
|
509
|
+
assignedAt: z.date().optional().excludeFromCreate().excludeFromUpdate(),
|
|
510
|
+
/**
|
|
511
|
+
* The client's pending approval of this expert (#1612): the `HumanDecision_Request.decisionId` of the
|
|
512
|
+
* decision routed to the client's administrators, set when the assignment was made under a relationship
|
|
513
|
+
* whose client approves each expert. It is the ONE key the decision is read, listed and settled by, and the
|
|
514
|
+
* settle write matches on it, so an answer can only ever settle the request it was given.
|
|
515
|
+
*/
|
|
516
|
+
approvalDecisionId: z.string().min(1).optional().isDBIndexed().excludeFromCreate().excludeFromUpdate().isAuditEvidence(),
|
|
517
|
+
/** When the client's approval ended — approved, denied or lapsed. The client administrator who answered is NOT stored here: the firm reads this row. */
|
|
518
|
+
approvalResolvedAt: z.date().optional().excludeFromCreate().excludeFromUpdate(),
|
|
519
|
+
/** Why a DENIED assignment admitted nobody — a fact the firm may know, never who in the client decided. */
|
|
520
|
+
approvalDenialReason: z.enum(ServiceProviderExpertApprovalDenialReason)
|
|
521
|
+
.systemEnum('ServiceProviderExpertApprovalDenialReason')
|
|
522
|
+
.optional()
|
|
523
|
+
.excludeFromCreate()
|
|
524
|
+
.excludeFromUpdate(),
|
|
525
|
+
/**
|
|
526
|
+
* The clocks of a pending client approval (#1909), armed at `assign` from the client organization type's
|
|
527
|
+
* `acceptsServiceProviders.expertApprovalDeadlines` with #1628's model, and stored rather than recomputed so a
|
|
528
|
+
* deployment that changes the declaration never reshapes a clock already running.
|
|
529
|
+
*
|
|
530
|
+
* - `approvalLapseAt` — when the approval ends LAPSED, admitting nobody. The firm may see it: it is when its request
|
|
531
|
+
* stops waiting.
|
|
532
|
+
* - `approvalDecisionDeadlineAt` / `approvalDecisionWarningAt` — the DECISION service target and its optional
|
|
533
|
+
* warning, on `approvalDecisionClockBasis`. There is no CLAIM clock: this plane offers no claim.
|
|
534
|
+
* - `approvalDecisionWarningFiredAt` / `approvalDecisionMissedFiredAt` — each stage's fired marker, set by a
|
|
535
|
+
* compare-and-swap that requires it null, so a stage fires exactly once across hosts.
|
|
536
|
+
* - `approvalNextDueAt` — the earliest of the lapse and any stage still to fire: what the sweep selects by index.
|
|
537
|
+
*/
|
|
538
|
+
approvalLapseAt: z.date().nullish().isDBIndexed().excludeFromCreate().excludeFromUpdate()
|
|
539
|
+
.describe('While the client has not decided on this assignment: when the request lapses, admitting nobody. Empty once the client has decided.'),
|
|
540
|
+
approvalDecisionDeadlineAt: z.date().nullish().excludeFromCreate().excludeFromUpdate()
|
|
541
|
+
.describe('The service target by which the client is expected to decide on this assignment, counted on `approvalDecisionClockBasis`.'),
|
|
542
|
+
approvalDecisionWarningAt: z.date().nullish().excludeFromCreate().excludeFromUpdate()
|
|
543
|
+
.describe('When the client is warned that the decision target is near, when the client organization declares a warning. Empty otherwise.'),
|
|
544
|
+
approvalDecisionClockBasis: z.enum(ReviewClockBasis).systemEnum('ReviewClockBasis').nullish().excludeFromCreate().excludeFromUpdate()
|
|
545
|
+
.describe('How the decision target is counted: `elapsed` wall-clock time, or `calendar` working hours of the application\'s review calendar.'),
|
|
546
|
+
approvalDecisionWarningFiredAt: z.date().nullish().isBackendOnly().excludeFromCreate().excludeFromUpdate(),
|
|
547
|
+
approvalDecisionMissedFiredAt: z.date().nullish().isBackendOnly().excludeFromCreate().excludeFromUpdate(),
|
|
548
|
+
approvalNextDueAt: z.date().nullish().isDBIndexed().isBackendOnly().excludeFromCreate().excludeFromUpdate(),
|
|
549
|
+
endedByUserId: z.string().min(1).optional().excludeFromCreate().excludeFromUpdate().isAuditEvidence(),
|
|
550
|
+
/** When the assignment ended — the retention clock's start point. */
|
|
551
|
+
endedAt: z.date().optional().isDBIndexed().excludeFromCreate().excludeFromUpdate().isAuditEvidence(),
|
|
552
|
+
createdAt: z.date().optional(),
|
|
553
|
+
updatedAt: z.date().optional(),
|
|
554
|
+
});
|
|
555
|
+
/**
|
|
556
|
+
* The input of the INTERNAL `settleClientApproval` verb (#1612): which pending approval, and how the client answered.
|
|
557
|
+
*
|
|
558
|
+
* `outcome` is the one decision vocabulary (`HumanDecision_Outcome`). Only ACCEPTED, REJECTED and LAPSED settle an
|
|
559
|
+
* expert approval — the verb refuses the others rather than reading them as one of these.
|
|
560
|
+
*/
|
|
561
|
+
export const ServiceEngagementAssignmentSettleClientApprovalDtoSchema = z.object({
|
|
562
|
+
approvalDecisionId: z.string().min(1),
|
|
563
|
+
outcome: z.enum(HumanDecision_Outcome),
|
|
564
|
+
/** The client administrator who answered — recorded in the CLIENT's trail only, never on the assignment the firm reads. */
|
|
565
|
+
decidedByUserId: z.string().min(1).optional(),
|
|
566
|
+
});
|
|
567
|
+
/**
|
|
568
|
+
* The client-branchable codes a service-provider refusal carries (all answer 409 CONFLICT: the caller is
|
|
569
|
+
* authorized and the payload is valid; the current STATE forbids the write).
|
|
570
|
+
*/
|
|
571
|
+
export var ServiceProviderRelationshipErrorCode;
|
|
572
|
+
(function (ServiceProviderRelationshipErrorCode) {
|
|
573
|
+
/** A PROPOSED, ACTIVE or SUSPENDED relationship already links this firm and this client. */
|
|
574
|
+
ServiceProviderRelationshipErrorCode["SERVICE_PROVIDER_RELATIONSHIP_ALREADY_LIVE"] = "SERVICE_PROVIDER_RELATIONSHIP_ALREADY_LIVE";
|
|
575
|
+
/** The expert is one of the client's OWN members; a person is in an organization one way at a time. */
|
|
576
|
+
ServiceProviderRelationshipErrorCode["SERVICE_PROVIDER_ASSIGNMENT_CONFLICTS_WITH_MEMBERSHIP"] = "SERVICE_PROVIDER_ASSIGNMENT_CONFLICTS_WITH_MEMBERSHIP";
|
|
577
|
+
/** The expert already serves this client under another live relationship. */
|
|
578
|
+
ServiceProviderRelationshipErrorCode["SERVICE_PROVIDER_ASSIGNMENT_ALREADY_LIVE"] = "SERVICE_PROVIDER_ASSIGNMENT_ALREADY_LIVE";
|
|
579
|
+
/** A provider membership's roles belong to the relationship; change the relationship, not the membership. */
|
|
580
|
+
ServiceProviderRelationshipErrorCode["SERVICE_PROVIDER_MEMBERSHIP_ROLES_OWNED_BY_RELATIONSHIP"] = "SERVICE_PROVIDER_MEMBERSHIP_ROLES_OWNED_BY_RELATIONSHIP";
|
|
581
|
+
/**
|
|
582
|
+
* An invitation to a person who has a PROVIDER membership in this organization. A live one: the person is
|
|
583
|
+
* already here through a firm. An ended one (INACTIVE): remove that membership first, then invite.
|
|
584
|
+
*/
|
|
585
|
+
ServiceProviderRelationshipErrorCode["SERVICE_PROVIDER_MEMBERSHIP_CONFLICTS_WITH_INVITATION"] = "SERVICE_PROVIDER_MEMBERSHIP_CONFLICTS_WITH_INVITATION";
|
|
586
|
+
/** The other party's organization type is not one this relationship's provider type serves (or does not serve at all). */
|
|
587
|
+
ServiceProviderRelationshipErrorCode["SERVICE_PROVIDER_ORGANIZATION_TYPE_NOT_ELIGIBLE"] = "SERVICE_PROVIDER_ORGANIZATION_TYPE_NOT_ELIGIBLE";
|
|
588
|
+
/** The side that proposed tried to accept its own proposal. */
|
|
589
|
+
ServiceProviderRelationshipErrorCode["SERVICE_PROVIDER_PROPOSAL_ACCEPTED_BY_PROPOSER"] = "SERVICE_PROVIDER_PROPOSAL_ACCEPTED_BY_PROPOSER";
|
|
590
|
+
/** The requested role is not one of the provider type's `providerRoles`. */
|
|
591
|
+
ServiceProviderRelationshipErrorCode["SERVICE_PROVIDER_ROLE_NOT_DECLARED"] = "SERVICE_PROVIDER_ROLE_NOT_DECLARED";
|
|
592
|
+
/** A requested organization unit is not a unit of the client organization. */
|
|
593
|
+
ServiceProviderRelationshipErrorCode["SERVICE_PROVIDER_UNIT_NOT_IN_CLIENT"] = "SERVICE_PROVIDER_UNIT_NOT_IN_CLIENT";
|
|
594
|
+
/** Assignment needs an ACTIVE engagement and an ACTIVE, ordinary member of the firm. */
|
|
595
|
+
ServiceProviderRelationshipErrorCode["SERVICE_PROVIDER_ASSIGNMENT_NOT_ELIGIBLE"] = "SERVICE_PROVIDER_ASSIGNMENT_NOT_ELIGIBLE";
|
|
596
|
+
/**
|
|
597
|
+
* The client SUSPENDED this expert's membership. That is the client's decision about one person, and a
|
|
598
|
+
* firm's assignment may not undo it: the client reactivates the membership first.
|
|
599
|
+
*/
|
|
600
|
+
ServiceProviderRelationshipErrorCode["SERVICE_PROVIDER_EXPERT_SUSPENDED_BY_CLIENT"] = "SERVICE_PROVIDER_EXPERT_SUSPENDED_BY_CLIENT";
|
|
601
|
+
/** The OAuth client to admit is not an ACTIVE client owned by the provider organization. */
|
|
602
|
+
ServiceProviderRelationshipErrorCode["SERVICE_PROVIDER_MACHINE_CLIENT_NOT_ELIGIBLE"] = "SERVICE_PROVIDER_MACHINE_CLIENT_NOT_ELIGIBLE";
|
|
603
|
+
})(ServiceProviderRelationshipErrorCode || (ServiceProviderRelationshipErrorCode = {}));
|
|
604
|
+
/**
|
|
605
|
+
* May an organization of `providerType` enter a relationship with an organization of `clientType`, and
|
|
606
|
+
* with which role? The ONE rule both sides' verbs apply (propose, accept, amend) — so a relationship can
|
|
607
|
+
* never be accepted on terms that could not have been proposed.
|
|
608
|
+
*
|
|
609
|
+
* Returns the resolved role, or the refusal code. Fails closed on anything undeclared.
|
|
610
|
+
*/
|
|
611
|
+
export function resolveServiceProviderRelationshipTerms(input) {
|
|
612
|
+
const providerType = input.providerOrganizationType ? input.organizationTypes?.[input.providerOrganizationType] : undefined;
|
|
613
|
+
const clientType = input.clientOrganizationType ? input.organizationTypes?.[input.clientOrganizationType] : undefined;
|
|
614
|
+
const servesAsProvider = providerType?.servesAsProvider;
|
|
615
|
+
if (!servesAsProvider || !clientType || !input.clientOrganizationType
|
|
616
|
+
|| !servesAsProvider.clientOrganizationTypes.includes(input.clientOrganizationType)) {
|
|
617
|
+
return { allowed: false, code: ServiceProviderRelationshipErrorCode.SERVICE_PROVIDER_ORGANIZATION_TYPE_NOT_ELIGIBLE };
|
|
618
|
+
}
|
|
619
|
+
const role = input.requestedRole ?? servesAsProvider.defaultProviderRole;
|
|
620
|
+
const clientRoles = (clientType.availableOrgRoles ?? []).map(String);
|
|
621
|
+
if (!servesAsProvider.providerRoles.includes(role) || !clientRoles.includes(role)) {
|
|
622
|
+
return { allowed: false, code: ServiceProviderRelationshipErrorCode.SERVICE_PROVIDER_ROLE_NOT_DECLARED };
|
|
623
|
+
}
|
|
624
|
+
return { allowed: true, role };
|
|
625
|
+
}
|
|
626
|
+
/** Why a `servesAsProvider` declaration was refused at startup. */
|
|
627
|
+
export var ServiceProviderDeclarationViolationKind;
|
|
628
|
+
(function (ServiceProviderDeclarationViolationKind) {
|
|
629
|
+
/** A provider role whose `inheritFrom` chain reaches `ORG_ADMIN` — a relationship must never confer administration. */
|
|
630
|
+
ServiceProviderDeclarationViolationKind["PROVIDER_ROLE_REACHES_ADMINISTRATION"] = "PROVIDER_ROLE_REACHES_ADMINISTRATION";
|
|
631
|
+
/** A provider role unknown to the organization role table. */
|
|
632
|
+
ServiceProviderDeclarationViolationKind["PROVIDER_ROLE_UNDECLARED"] = "PROVIDER_ROLE_UNDECLARED";
|
|
633
|
+
/** A provider role a client type does not list in `availableOrgRoles`. */
|
|
634
|
+
ServiceProviderDeclarationViolationKind["PROVIDER_ROLE_UNAVAILABLE_IN_CLIENT_TYPE"] = "PROVIDER_ROLE_UNAVAILABLE_IN_CLIENT_TYPE";
|
|
635
|
+
/** `defaultProviderRole` is not one of `providerRoles`. */
|
|
636
|
+
ServiceProviderDeclarationViolationKind["DEFAULT_PROVIDER_ROLE_NOT_DECLARED"] = "DEFAULT_PROVIDER_ROLE_NOT_DECLARED";
|
|
637
|
+
/** A client organization type that is not declared. */
|
|
638
|
+
ServiceProviderDeclarationViolationKind["CLIENT_ORGANIZATION_TYPE_UNDECLARED"] = "CLIENT_ORGANIZATION_TYPE_UNDECLARED";
|
|
639
|
+
/**
|
|
640
|
+
* A provider role that is a delegated capability role (`ORG_DELEGATED_*`, #1631). A capability is conferred ONLY by a
|
|
641
|
+
* live, dated grant the client can revoke; as a provider role it would ride every assignment for the whole
|
|
642
|
+
* relationship, with no term, no owner-only verb and no grant row — the standing access the grant exists to prevent.
|
|
643
|
+
*/
|
|
644
|
+
ServiceProviderDeclarationViolationKind["PROVIDER_ROLE_IS_DELEGATED_CAPABILITY"] = "PROVIDER_ROLE_IS_DELEGATED_CAPABILITY";
|
|
645
|
+
})(ServiceProviderDeclarationViolationKind || (ServiceProviderDeclarationViolationKind = {}));
|
|
646
|
+
/**
|
|
647
|
+
* Validate every `servesAsProvider` declaration against the LIVE organization role table.
|
|
648
|
+
*
|
|
649
|
+
* `administrationAnchorRole` is `ORG_ADMIN`; a provider role reaches it when the hierarchy walk of that
|
|
650
|
+
* role (the one the authorization layer uses) includes it — so a custom role inheriting from `ORG_ADMIN`
|
|
651
|
+
* is refused exactly like `ORG_ADMIN` itself.
|
|
652
|
+
*/
|
|
653
|
+
export function collectServiceProviderDeclarationViolations(input) {
|
|
654
|
+
const violations = [];
|
|
655
|
+
for (const [providerOrganizationType, definition] of Object.entries(input.organizationTypes ?? {})) {
|
|
656
|
+
const declaration = definition?.servesAsProvider;
|
|
657
|
+
if (!declaration)
|
|
658
|
+
continue;
|
|
659
|
+
const push = (kind, subject) => violations.push({ providerOrganizationType, kind, subject });
|
|
660
|
+
if (!declaration.providerRoles.includes(declaration.defaultProviderRole)) {
|
|
661
|
+
push(ServiceProviderDeclarationViolationKind.DEFAULT_PROVIDER_ROLE_NOT_DECLARED, declaration.defaultProviderRole);
|
|
662
|
+
}
|
|
663
|
+
for (const role of declaration.providerRoles) {
|
|
664
|
+
const hierarchy = input.organizationRoleHierarchy(role);
|
|
665
|
+
if (hierarchy.length === 0)
|
|
666
|
+
push(ServiceProviderDeclarationViolationKind.PROVIDER_ROLE_UNDECLARED, role);
|
|
667
|
+
if (hierarchy.includes(input.administrationAnchorRole))
|
|
668
|
+
push(ServiceProviderDeclarationViolationKind.PROVIDER_ROLE_REACHES_ADMINISTRATION, role);
|
|
669
|
+
if (isDelegatedCapabilityRole(role))
|
|
670
|
+
push(ServiceProviderDeclarationViolationKind.PROVIDER_ROLE_IS_DELEGATED_CAPABILITY, role);
|
|
671
|
+
}
|
|
672
|
+
for (const clientType of declaration.clientOrganizationTypes) {
|
|
673
|
+
const clientDefinition = input.organizationTypes?.[clientType];
|
|
674
|
+
if (!clientDefinition) {
|
|
675
|
+
push(ServiceProviderDeclarationViolationKind.CLIENT_ORGANIZATION_TYPE_UNDECLARED, clientType);
|
|
676
|
+
continue;
|
|
677
|
+
}
|
|
678
|
+
const available = (clientDefinition.availableOrgRoles ?? []).map(String);
|
|
679
|
+
for (const role of declaration.providerRoles) {
|
|
680
|
+
if (!available.includes(role))
|
|
681
|
+
push(ServiceProviderDeclarationViolationKind.PROVIDER_ROLE_UNAVAILABLE_IN_CLIENT_TYPE, `${clientType}:${role}`);
|
|
682
|
+
}
|
|
683
|
+
}
|
|
684
|
+
}
|
|
685
|
+
return violations;
|
|
686
|
+
}
|
|
687
|
+
/** @wildo_source:part:start saas.models.organizations.service-provider-relationships */
|
|
688
|
+
/**
|
|
689
|
+
* The client's verbs. Kept with the vocabulary, not the resources-config, for the reason recorded on
|
|
690
|
+
* `PlatformAccessGrants_Operations`: authorization and batch code need the names without dragging
|
|
691
|
+
* resource-configuration evaluation into their module graph.
|
|
692
|
+
*
|
|
693
|
+
* No generic CREATE / UPDATE: every field's server authorship IS the control.
|
|
694
|
+
*/
|
|
695
|
+
export var ServiceProviderRelationships_Operations;
|
|
696
|
+
(function (ServiceProviderRelationships_Operations) {
|
|
697
|
+
/** Client ORG_OWNER proposes a relationship to a firm. The proposal is the client's consent. */
|
|
698
|
+
ServiceProviderRelationships_Operations["PROPOSE"] = "propose";
|
|
699
|
+
/** Client ORG_OWNER accepts a FIRM's proposal (step-up). Never available to the proposing side. */
|
|
700
|
+
ServiceProviderRelationships_Operations["ACCEPT"] = "accept";
|
|
701
|
+
/** Client ORG_ADMIN refuses a firm's proposal. */
|
|
702
|
+
ServiceProviderRelationships_Operations["DECLINE"] = "decline";
|
|
703
|
+
ServiceProviderRelationships_Operations["SUSPEND"] = "suspend";
|
|
704
|
+
ServiceProviderRelationships_Operations["RESUME"] = "resume";
|
|
705
|
+
ServiceProviderRelationships_Operations["TERMINATE"] = "terminate";
|
|
706
|
+
/** Client ORG_OWNER changes role, units or term (step-up). The firm cannot widen what the client granted. */
|
|
707
|
+
ServiceProviderRelationships_Operations["AMEND_SCOPE"] = "amendScope";
|
|
708
|
+
ServiceProviderRelationships_Operations["ADMIT_MACHINE_CLIENT"] = "admitMachineClient";
|
|
709
|
+
ServiceProviderRelationships_Operations["REMOVE_MACHINE_CLIENT"] = "removeMachineClient";
|
|
710
|
+
/** ACTIVE → EXPIRED past `endsAt`, dispatched by the credential-expiry sweep only. */
|
|
711
|
+
ServiceProviderRelationships_Operations["EXPIRE"] = "expire";
|
|
712
|
+
/** Client ORG_OWNER decides whether the firm's own identity provider's MFA counts here (#1633, step-up). */
|
|
713
|
+
ServiceProviderRelationships_Operations["SET_PROVIDER_MFA_TRUST"] = "setProviderMfaTrust";
|
|
714
|
+
/** Client ORG_ADMIN decides how much the firm's expert-activity feed may say about work here (#1632). */
|
|
715
|
+
ServiceProviderRelationships_Operations["SET_ACTIVITY_FEED_DISCLOSURE"] = "setActivityFeedDisclosure";
|
|
716
|
+
/** Client ORG_ADMIN changes how the firm's experts are admitted (#1612). Not retroactive. The firm has no such verb. */
|
|
717
|
+
ServiceProviderRelationships_Operations["SET_EXPERT_ADMISSION_POLICY"] = "setExpertAdmissionPolicy";
|
|
718
|
+
})(ServiceProviderRelationships_Operations || (ServiceProviderRelationships_Operations = {}));
|
|
719
|
+
/** The firm's verbs, on its own mirror. */
|
|
720
|
+
export var ServiceEngagements_Operations;
|
|
721
|
+
(function (ServiceEngagements_Operations) {
|
|
722
|
+
/** Firm ORG_ADMIN proposes a relationship to a client organization. */
|
|
723
|
+
ServiceEngagements_Operations["PROPOSE"] = "propose";
|
|
724
|
+
/** Firm ORG_ADMIN accepts a CLIENT's proposal. */
|
|
725
|
+
ServiceEngagements_Operations["ACCEPT"] = "accept";
|
|
726
|
+
/** Firm ORG_ADMIN ends the relationship, or withdraws its own pending proposal. */
|
|
727
|
+
ServiceEngagements_Operations["WITHDRAW"] = "withdraw";
|
|
728
|
+
})(ServiceEngagements_Operations || (ServiceEngagements_Operations = {}));
|
|
729
|
+
export var ServiceEngagementAssignments_Operations;
|
|
730
|
+
(function (ServiceEngagementAssignments_Operations) {
|
|
731
|
+
/** Firm ORG_ADMIN designates one of its members to serve an ACTIVE engagement. */
|
|
732
|
+
ServiceEngagementAssignments_Operations["ASSIGN"] = "assign";
|
|
733
|
+
/** Ends an ACTIVE assignment, or withdraws one still awaiting the client's approval (#1612). */
|
|
734
|
+
ServiceEngagementAssignments_Operations["UNASSIGN"] = "unassign";
|
|
735
|
+
/**
|
|
736
|
+
* Apply the client's answer to a per-expert approval (#1612) — INTERNAL only, reached through the human-decision
|
|
737
|
+
* answer path after the answerer was authorized there. Approval re-checks everything admission depends on,
|
|
738
|
+
* inside one transaction, before creating the membership.
|
|
739
|
+
*/
|
|
740
|
+
ServiceEngagementAssignments_Operations["SETTLE_CLIENT_APPROVAL"] = "settleClientApproval";
|
|
741
|
+
})(ServiceEngagementAssignments_Operations || (ServiceEngagementAssignments_Operations = {}));
|
|
742
|
+
/** @wildo_source:part:end saas.models.organizations.service-provider-relationships */
|
|
743
|
+
/**
|
|
744
|
+
* The admission policy a relationship starts with (#1612): the CLIENT's explicit choice when it made one, else the
|
|
745
|
+
* client organization type's declared default, else {@link ServiceProviderExpertAdmissionPolicy.RELATIONSHIP_APPROVES_ASSIGNED_EXPERTS}.
|
|
746
|
+
*
|
|
747
|
+
* The firm's type is never consulted: the choice belongs to the party whose tenant the experts enter.
|
|
748
|
+
*/
|
|
749
|
+
export function resolveServiceProviderExpertAdmissionPolicy(input) {
|
|
750
|
+
if (input.clientChoice)
|
|
751
|
+
return input.clientChoice;
|
|
752
|
+
const declared = input.clientOrganizationType
|
|
753
|
+
? input.organizationTypes?.[input.clientOrganizationType]?.acceptsServiceProviders?.defaultExpertAdmissionPolicy
|
|
754
|
+
: undefined;
|
|
755
|
+
return declared ?? ServiceProviderExpertAdmissionPolicy.RELATIONSHIP_APPROVES_ASSIGNED_EXPERTS;
|
|
756
|
+
}
|
|
757
|
+
/**
|
|
758
|
+
* Who may answer a per-expert approval (#1612): the CLIENT organization's administrator ROLE — ORG_ADMIN, which an
|
|
759
|
+
* ORG_OWNER holds through the role hierarchy — organization-wide, and never a named person. Derived from the
|
|
760
|
+
* assignment rather than stored beside it, so it cannot drift from the organization the expert would enter.
|
|
761
|
+
*
|
|
762
|
+
* A provider role never reaches ORG_ADMIN (refused at startup), so no firm's expert can answer for the client.
|
|
763
|
+
*/
|
|
764
|
+
export function serviceProviderExpertApprovalRoute(clientOrganizationId) {
|
|
765
|
+
return { kind: HumanDecision_RouteKind.ROLE, eligibleRole: CORE_ORG_ROLES.ORG_ADMIN, organizationId: clientOrganizationId };
|
|
766
|
+
}
|
|
767
|
+
/**
|
|
768
|
+
* The question a client's administrators are asked about one expert (#1612), in the one decision shape.
|
|
769
|
+
*
|
|
770
|
+
* The title and description are the host's authored account for readers with no screen (a trail, a CLI); an inbox
|
|
771
|
+
* renders its own translated words from the card's subject. Two options: APPROVE proceeds, REJECT ends the waiting
|
|
772
|
+
* assignment. Its lapse is armed on the assignment (#1909) and shown on the card; the request itself carries none.
|
|
773
|
+
*/
|
|
774
|
+
export function serviceProviderExpertApprovalRequest(input) {
|
|
775
|
+
const firm = input.providerOrganizationName ?? 'A service firm';
|
|
776
|
+
return {
|
|
777
|
+
decisionId: input.decisionId,
|
|
778
|
+
title: `Admit an expert from ${firm}`,
|
|
779
|
+
description: `${firm} assigned one of its experts to work in your organization with the ${input.role} role. `
|
|
780
|
+
+ 'Approving gives them a membership now, if the relationship still allows it; rejecting admits nobody.',
|
|
781
|
+
fields: [],
|
|
782
|
+
options: [
|
|
783
|
+
{ ref: ServiceProviderExpertApprovalOption.APPROVE, label: 'Approve', intent: HumanDecision_ResponseIntent.PROCEED_WITH_VALUES },
|
|
784
|
+
{ ref: ServiceProviderExpertApprovalOption.REJECT, label: 'Reject', intent: HumanDecision_ResponseIntent.ABORT },
|
|
785
|
+
],
|
|
786
|
+
requestedAt: input.requestedAt,
|
|
787
|
+
};
|
|
788
|
+
}
|
|
789
|
+
/**
|
|
790
|
+
* Everything wrong with a client organization type's `acceptsServiceProviders.expertApprovalDeadlines` (#1909), as
|
|
791
|
+
* sentences naming the fix. Startup refuses a type with any. On top of #1628's checks for a ROLE route:
|
|
792
|
+
*
|
|
793
|
+
* - no `claim` target and no CLAIM-stage rule — this plane offers no claim, so a CLAIM clock could only ever be missed;
|
|
794
|
+
* - no REASSIGN rule — the route is always the client's administrators, never a named person, so it cannot move;
|
|
795
|
+
* - no `pauseStates` — this plane offers no pause, so a declared pause state could never be entered.
|
|
796
|
+
*
|
|
797
|
+
* A declaration asking for something the plane cannot do is refused rather than half-honoured: a setting that looks
|
|
798
|
+
* like a control and does nothing is the defect this check exists to prevent.
|
|
799
|
+
*/
|
|
800
|
+
export function serviceProviderExpertApprovalDeadlinesIssues(declaration, context) {
|
|
801
|
+
if (!declaration)
|
|
802
|
+
return [];
|
|
803
|
+
const issues = reviewDeadlinesDeclarationIssues(declaration, { routeKind: HumanDecision_RouteKind.ROLE, calendarDeclared: context.calendarDeclared });
|
|
804
|
+
if (declaration.claim)
|
|
805
|
+
issues.push('expertApprovalDeadlines.claim is declared, but an expert approval offers no claim, so a CLAIM clock could only be missed. Remove it.');
|
|
806
|
+
for (const rule of declaration.rules ?? []) {
|
|
807
|
+
if (rule.stage === ReviewDeadlineStage.CLAIM_WARNING || rule.stage === ReviewDeadlineStage.CLAIM_MISSED) {
|
|
808
|
+
issues.push(`expertApprovalDeadlines.rules names ${rule.stage}, but an expert approval has no CLAIM clock. Remove the rule.`);
|
|
809
|
+
}
|
|
810
|
+
if (rule.action === ReviewEscalationActionKind.REASSIGN) {
|
|
811
|
+
issues.push(`expertApprovalDeadlines.rules REASSIGNs at ${rule.stage}, but an expert approval is routed to the client's administrators and cannot move. Use NOTIFY.`);
|
|
812
|
+
}
|
|
813
|
+
}
|
|
814
|
+
if ((declaration.pauseStates ?? []).length > 0)
|
|
815
|
+
issues.push('expertApprovalDeadlines.pauseStates is declared, but an expert approval offers no pause. Remove it.');
|
|
816
|
+
return issues;
|
|
817
|
+
}
|
|
818
|
+
/**
|
|
819
|
+
* Arm a pending approval's clocks at `assign` (#1909), with #1628's model. A type declaring nothing gets the
|
|
820
|
+
* framework's defaults — the same lapse window and DECISION reminder every human decision gets — so a pending
|
|
821
|
+
* approval no longer waits forever; the CLAIM target is never armed on this plane.
|
|
822
|
+
*/
|
|
823
|
+
export function armServiceProviderExpertApprovalClocks(input) {
|
|
824
|
+
const policy = resolveReviewDeadlinePolicy(input.declaration);
|
|
825
|
+
const armed = armReviewDeadlines({ requestedAt: input.requestedAt, policy, calendar: input.calendar });
|
|
826
|
+
const clocks = {
|
|
827
|
+
approvalLapseAt: armed.lapseAt,
|
|
828
|
+
approvalDecisionDeadlineAt: armed.decisionDeadlineAt,
|
|
829
|
+
approvalDecisionWarningAt: armed.decisionWarningAt ?? null,
|
|
830
|
+
approvalDecisionClockBasis: armed.decisionBasis,
|
|
831
|
+
};
|
|
832
|
+
return { ...clocks, approvalNextDueAt: serviceProviderExpertApprovalNextDueAt(clocks) };
|
|
833
|
+
}
|
|
834
|
+
const asDate = (value) => value === null || value === undefined ? undefined : (value instanceof Date ? value : new Date(value));
|
|
835
|
+
/** The row's DECISION stages as #1628's schedule. No CLAIM stage is ever due on this plane. */
|
|
836
|
+
function expertApprovalStageSchedule(row) {
|
|
837
|
+
const warning = asDate(row.approvalDecisionWarningAt);
|
|
838
|
+
const deadline = asDate(row.approvalDecisionDeadlineAt);
|
|
839
|
+
const warningFired = asDate(row.approvalDecisionWarningFiredAt);
|
|
840
|
+
const missedFired = asDate(row.approvalDecisionMissedFiredAt);
|
|
841
|
+
const lapseAt = asDate(row.approvalLapseAt);
|
|
842
|
+
return {
|
|
843
|
+
dueAt: {
|
|
844
|
+
...(warning ? { [ReviewDeadlineStage.DECISION_WARNING]: warning } : {}),
|
|
845
|
+
...(deadline ? { [ReviewDeadlineStage.DECISION_MISSED]: deadline } : {}),
|
|
846
|
+
},
|
|
847
|
+
firedAt: {
|
|
848
|
+
...(warningFired ? { [ReviewDeadlineStage.DECISION_WARNING]: warningFired } : {}),
|
|
849
|
+
...(missedFired ? { [ReviewDeadlineStage.DECISION_MISSED]: missedFired } : {}),
|
|
850
|
+
},
|
|
851
|
+
claimed: false,
|
|
852
|
+
...(lapseAt ? { lapseAt } : {}),
|
|
853
|
+
};
|
|
854
|
+
}
|
|
855
|
+
/** The DECISION stages due at `now`, in firing order (#1909). */
|
|
856
|
+
export function dueServiceProviderExpertApprovalStages(row, now) {
|
|
857
|
+
return dueReviewDeadlineStages(expertApprovalStageSchedule(row), now);
|
|
858
|
+
}
|
|
859
|
+
/**
|
|
860
|
+
* What the row's indexed `approvalNextDueAt` holds: the earliest of any stage still to fire and the lapse. The lapse
|
|
861
|
+
* is included because this plane's one sweep ends the approval too; `null` for a row with no clock.
|
|
862
|
+
*/
|
|
863
|
+
export function serviceProviderExpertApprovalNextDueAt(row) {
|
|
864
|
+
const stage = nextReviewDeadlineDueAt(expertApprovalStageSchedule(row));
|
|
865
|
+
const lapseAt = asDate(row.approvalLapseAt);
|
|
866
|
+
const candidates = [stage, lapseAt].filter((instant) => !!instant);
|
|
867
|
+
return candidates.length === 0 ? null : new Date(Math.min(...candidates.map((instant) => instant.getTime())));
|
|
868
|
+
}
|
|
869
|
+
//# sourceMappingURL=service-provider-relationships.shared.schemas.js.map
|