@wildo-ai/saas-models 1.1.5 → 1.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/applications/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.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.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.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.js +1 -1
- package/dist/esm/billing/invoice-ref.shared.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.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.js +8 -8
- package/dist/esm/billing/promotions.shared.resources-config.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-record.shared.schemas.js +5 -5
- package/dist/esm/billing/usage-record.shared.schemas.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/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/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/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.map +0 -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.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/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/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/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/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.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/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/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/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/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.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/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/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/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/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-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-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-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-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/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/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/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/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.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.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.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.shared.schemas.d.ts +15 -0
- package/dist/esm/flows-actors/flows.shared.schemas.d.ts.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/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/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/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-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/lifecycle-state.shared.schemas.js +6 -6
- package/dist/esm/guidance/lifecycle-state.shared.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.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/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/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/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.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/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/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-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/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.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/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/organization-features.shared.resources-config.schemas.d.ts +5 -5
- 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-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.schemas.js +9 -9
- package/dist/esm/organizations/organization-notifications.shared.schemas.js.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.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-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.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.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/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.schemas.d.ts +36 -8
- 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/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/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/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/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/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 +353 -12
- package/dist/esm/resources/resources-registry.shared.core.definitions.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/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/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/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/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/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.schemas.js +30 -4
- package/dist/esm/resources/utils/resource-polymorphism.schemas.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-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/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/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/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/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/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/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.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.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-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.js +1 -1
- package/dist/esm/security/authorizations/application-access-grants.shared.resources-config.schemas.js.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/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/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/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/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-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-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/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/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/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-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.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/package.json +4 -4
- package/dist/esm/compliance/privacy/data-retention.shared.schemas.js +0 -7
- package/dist/tsconfig.build.tsbuildinfo +0 -1
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
/**
|
|
3
|
+
* An npm package name, scoped or not, as npm itself accepts one: lower-case, no leading dot or underscore, and never
|
|
4
|
+
* a `.` or `..` segment. Checked here because discovery splices the name into a `node_modules` path and EXECUTES the
|
|
5
|
+
* package's companion entry, so a name that walks out of `node_modules` must be refused where it is authored.
|
|
6
|
+
*/
|
|
7
|
+
const NPM_PACKAGE_NAME_PATTERN = /^(?:@[a-z0-9-~][a-z0-9-._~]*\/)?[a-z0-9-~][a-z0-9-._~]*$/;
|
|
8
|
+
/** @wildo_source:part:start saas.config.providers.packages facet:layer:shared facet:family:provider-config facet:audience:app-developer */
|
|
9
|
+
/**
|
|
10
|
+
* Provider packages this application admits to discovery from OUTSIDE the names discovery walks by itself (#1676).
|
|
11
|
+
*
|
|
12
|
+
* ```ts
|
|
13
|
+
* providers: {
|
|
14
|
+
* scopes: { backend: { providers: { teams: { protocols: ['REST_API'] } } } },
|
|
15
|
+
* packages: ['@acme/wildo-provider-teams'],
|
|
16
|
+
* }
|
|
17
|
+
* ```
|
|
18
|
+
*
|
|
19
|
+
* Discovery walks, on its own, only the framework's names (`@wildo-ai/provider-*`, the engine's own provider barrel,
|
|
20
|
+
* the system-of-record facet library `@wildo-ai/systems-of-record`) and packages of the application's own scope named
|
|
21
|
+
* `<application-scope>/provider-*` — which is how a registry provider an install copied into the application is
|
|
22
|
+
* found. Any other
|
|
23
|
+
* package — from anybody else's scope, or an own-scope one not named `provider-*` — is never executed by the walk
|
|
24
|
+
* unless it is named here: a dependency cannot contribute providers merely by being installed.
|
|
25
|
+
*
|
|
26
|
+
* ## Admission is not activation
|
|
27
|
+
*
|
|
28
|
+
* A listed package is WALKED: its provider contributions, its browser facets and its provider augmentations are
|
|
29
|
+
* discovered exactly as a framework package's are. Nothing it ships is used until the application uses it in the
|
|
30
|
+
* ordinary way — a provider through `scopes`, an augmentation through `augmentations`. Its system-of-record facet
|
|
31
|
+
* module goes one step further: it is not even recorded until an instance names the package in `facetAugmentations`
|
|
32
|
+
* (#2013); only the framework's own facet library is recorded without being asked for.
|
|
33
|
+
*
|
|
34
|
+
* ## What `wildo config sync` refuses
|
|
35
|
+
*
|
|
36
|
+
* A listed package that no runtime owner (nor the application root) depends on, one that is declared but not
|
|
37
|
+
* installed, one whose companion entry cannot be read, one that ships nothing — no provider contribution, no
|
|
38
|
+
* augmentation and no `./systems-of-record` module — one discovery already walks by its name, and one of the
|
|
39
|
+
* application's own runtime packages. Each refusal names the package. Every admitted package is
|
|
40
|
+
* printed by `config sync` and recorded in the provider lock with its installed version, so a reviewer sees
|
|
41
|
+
* third-party code entering the application.
|
|
42
|
+
*
|
|
43
|
+
* Absent means none.
|
|
44
|
+
*/
|
|
45
|
+
export const ProviderPackageAllowListSchema = z
|
|
46
|
+
.array(z.string().regex(NPM_PACKAGE_NAME_PATTERN, 'A provider package is named by its npm package name.'))
|
|
47
|
+
.min(1)
|
|
48
|
+
.superRefine((packageNames, ctx) => {
|
|
49
|
+
const seen = new Set();
|
|
50
|
+
for (const [index, packageName] of packageNames.entries()) {
|
|
51
|
+
if (seen.has(packageName))
|
|
52
|
+
ctx.addIssue({ code: 'custom', path: [index], message: `"${packageName}" is listed twice.` });
|
|
53
|
+
seen.add(packageName);
|
|
54
|
+
}
|
|
55
|
+
});
|
|
56
|
+
/** @wildo_source:part:end saas.config.providers.packages */
|
|
57
|
+
//# sourceMappingURL=provider-package-allow-list.shared.schemas.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"provider-package-allow-list.shared.schemas.js","sourceRoot":"","sources":["../../../../src/external-providers/provider-package-allow-list.shared.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;GAIG;AACH,MAAM,wBAAwB,GAAG,0DAA0D,CAAC;AAE5F,2IAA2I;AAC3I;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,MAAM,CAAC,MAAM,8BAA8B,GAAG,CAAC;KAC5C,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,KAAK,CAAC,wBAAwB,EAAE,sDAAsD,CAAC,CAAC;KACzG,GAAG,CAAC,CAAC,CAAC;KACN,WAAW,CAAC,CAAC,YAAY,EAAE,GAAG,EAAE,EAAE;IACjC,MAAM,IAAI,GAAG,IAAI,GAAG,EAAU,CAAC;IAC/B,KAAK,MAAM,CAAC,KAAK,EAAE,WAAW,CAAC,IAAI,YAAY,CAAC,OAAO,EAAE,EAAE,CAAC;QAC1D,IAAI,IAAI,CAAC,GAAG,CAAC,WAAW,CAAC;YAAE,GAAG,CAAC,QAAQ,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,KAAK,CAAC,EAAE,OAAO,EAAE,IAAI,WAAW,oBAAoB,EAAE,CAAC,CAAC;QACzH,IAAI,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC;IACxB,CAAC;AACH,CAAC,CAAC,CAAC;AAEL,4DAA4D","sourcesContent":["import { z } from 'zod';\n\n/**\n * An npm package name, scoped or not, as npm itself accepts one: lower-case, no leading dot or underscore, and never\n * a `.` or `..` segment. Checked here because discovery splices the name into a `node_modules` path and EXECUTES the\n * package's companion entry, so a name that walks out of `node_modules` must be refused where it is authored.\n */\nconst NPM_PACKAGE_NAME_PATTERN = /^(?:@[a-z0-9-~][a-z0-9-._~]*\\/)?[a-z0-9-~][a-z0-9-._~]*$/;\n\n/** @wildo_source:part:start saas.config.providers.packages facet:layer:shared facet:family:provider-config facet:audience:app-developer */\n/**\n * Provider packages this application admits to discovery from OUTSIDE the names discovery walks by itself (#1676).\n *\n * ```ts\n * providers: {\n * scopes: { backend: { providers: { teams: { protocols: ['REST_API'] } } } },\n * packages: ['@acme/wildo-provider-teams'],\n * }\n * ```\n *\n * Discovery walks, on its own, only the framework's names (`@wildo-ai/provider-*`, the engine's own provider barrel,\n * the system-of-record facet library `@wildo-ai/systems-of-record`) and packages of the application's own scope named\n * `<application-scope>/provider-*` — which is how a registry provider an install copied into the application is\n * found. Any other\n * package — from anybody else's scope, or an own-scope one not named `provider-*` — is never executed by the walk\n * unless it is named here: a dependency cannot contribute providers merely by being installed.\n *\n * ## Admission is not activation\n *\n * A listed package is WALKED: its provider contributions, its browser facets and its provider augmentations are\n * discovered exactly as a framework package's are. Nothing it ships is used until the application uses it in the\n * ordinary way — a provider through `scopes`, an augmentation through `augmentations`. Its system-of-record facet\n * module goes one step further: it is not even recorded until an instance names the package in `facetAugmentations`\n * (#2013); only the framework's own facet library is recorded without being asked for.\n *\n * ## What `wildo config sync` refuses\n *\n * A listed package that no runtime owner (nor the application root) depends on, one that is declared but not\n * installed, one whose companion entry cannot be read, one that ships nothing — no provider contribution, no\n * augmentation and no `./systems-of-record` module — one discovery already walks by its name, and one of the\n * application's own runtime packages. Each refusal names the package. Every admitted package is\n * printed by `config sync` and recorded in the provider lock with its installed version, so a reviewer sees\n * third-party code entering the application.\n *\n * Absent means none.\n */\nexport const ProviderPackageAllowListSchema = z\n .array(z.string().regex(NPM_PACKAGE_NAME_PATTERN, 'A provider package is named by its npm package name.'))\n .min(1)\n .superRefine((packageNames, ctx) => {\n const seen = new Set<string>();\n for (const [index, packageName] of packageNames.entries()) {\n if (seen.has(packageName)) ctx.addIssue({ code: 'custom', path: [index], message: `\"${packageName}\" is listed twice.` });\n seen.add(packageName);\n }\n });\nexport type ProviderPackageAllowList = z.infer<typeof ProviderPackageAllowListSchema>;\n/** @wildo_source:part:end saas.config.providers.packages */\n"]}
|
|
@@ -57,6 +57,12 @@ export declare const BUILTIN_PROVIDER_PROTOCOL: {
|
|
|
57
57
|
*/
|
|
58
58
|
readonly DOCUMENT_EXTRACTION_PROVIDER: "DOCUMENT_EXTRACTION_PROVIDER";
|
|
59
59
|
readonly EMAIL_PROVIDER: "EMAIL_PROVIDER";
|
|
60
|
+
/**
|
|
61
|
+
* Receiving email (#1630): the provider hosts a receiving domain, announces each message through
|
|
62
|
+
* its `WEBHOOK_ORIGINATOR` endpoint and serves the message on request. Fills
|
|
63
|
+
* `EngineCapability.EMAIL_INBOUND`, selected independently of the sending provider.
|
|
64
|
+
*/
|
|
65
|
+
readonly EMAIL_INBOUND_PROVIDER: "EMAIL_INBOUND_PROVIDER";
|
|
60
66
|
readonly SSO_OAUTH2: "SSO_OAUTH2";
|
|
61
67
|
readonly BILLING_PROVIDER: "BILLING_PROVIDER";
|
|
62
68
|
readonly SMS_PROVIDER: "SMS_PROVIDER";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"provider-protocol.shared.schemas.d.ts","sourceRoot":"","sources":["../../../../src/external-providers/provider-protocol.shared.schemas.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,eAAO,MAAM,yBAAyB;;;;;IAKpC;;;OAGG;;IAEH;;;;;;OAMG;;IAEH;;;;OAIG
|
|
1
|
+
{"version":3,"file":"provider-protocol.shared.schemas.d.ts","sourceRoot":"","sources":["../../../../src/external-providers/provider-protocol.shared.schemas.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,eAAO,MAAM,yBAAyB;;;;;IAKpC;;;OAGG;;IAEH;;;;;;OAMG;;IAEH;;;;OAIG;;;IAGH;;;;OAIG;;;;;;CAMK,CAAC;AAEX,MAAM,MAAM,uBAAuB,GACjC,CAAC,OAAO,yBAAyB,CAAC,CAAC,MAAM,OAAO,yBAAyB,CAAC,CAAC;AAE7E,MAAM,MAAM,gBAAgB,GAAG,uBAAuB,CAAC"}
|
|
@@ -57,6 +57,12 @@ export const BUILTIN_PROVIDER_PROTOCOL = {
|
|
|
57
57
|
*/
|
|
58
58
|
DOCUMENT_EXTRACTION_PROVIDER: 'DOCUMENT_EXTRACTION_PROVIDER',
|
|
59
59
|
EMAIL_PROVIDER: 'EMAIL_PROVIDER',
|
|
60
|
+
/**
|
|
61
|
+
* Receiving email (#1630): the provider hosts a receiving domain, announces each message through
|
|
62
|
+
* its `WEBHOOK_ORIGINATOR` endpoint and serves the message on request. Fills
|
|
63
|
+
* `EngineCapability.EMAIL_INBOUND`, selected independently of the sending provider.
|
|
64
|
+
*/
|
|
65
|
+
EMAIL_INBOUND_PROVIDER: 'EMAIL_INBOUND_PROVIDER',
|
|
60
66
|
SSO_OAUTH2: 'SSO_OAUTH2',
|
|
61
67
|
BILLING_PROVIDER: 'BILLING_PROVIDER',
|
|
62
68
|
SMS_PROVIDER: 'SMS_PROVIDER',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"provider-protocol.shared.schemas.js","sourceRoot":"","sources":["../../../../src/external-providers/provider-protocol.shared.schemas.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAG;IACvC,QAAQ,EAAE,UAAU;IACpB,kBAAkB,EAAE,oBAAoB;IACxC,YAAY,EAAE,cAAc;IAC5B,qBAAqB,EAAE,uBAAuB;IAC9C;;;OAGG;IACH,cAAc,EAAE,gBAAgB;IAChC;;;;;;OAMG;IACH,mBAAmB,EAAE,qBAAqB;IAC1C;;;;OAIG;IACH,4BAA4B,EAAE,8BAA8B;IAC5D,cAAc,EAAE,gBAAgB;IAChC,UAAU,EAAE,YAAY;IACxB,gBAAgB,EAAE,kBAAkB;IACpC,YAAY,EAAE,cAAc;IAC5B,YAAY,EAAE,cAAc;CACpB,CAAC","sourcesContent":["/**\n * Closed built-in provider protocol vocabulary used by app authoring and\n * runtime-provider declarations.\n *\n * This is intentionally a pure `as const` object + union type so browser-bound\n * packages can consume it through `@wildo-ai/saas-models/public-runtime`\n * without pulling decorators or broader config-authoring seams. Do NOT add an\n * import here — not even an `import type` of the engine enum this list mirrors.\n *\n * ## Relationship to `ExternalProvider_ExchangeProtocol_Kind`\n *\n * This list re-states a population the engine owns: every member of\n * `ExternalProvider_ExchangeProtocol_Kind`\n * (`@wildo-ai/external-connectors-models`) that an application may legally\n * WRITE in `wildo.saas.config.ts > providers.scopes.<scope>.providers.<ref>`.\n * Two hand-maintained enumerations of one population is the shape that drifts,\n * and this one did: `IMAGE_PROVIDER` and `EMBEDDINGS_PROVIDER` shipped as live\n * engine protocols — a provider module declares them, discovery reports them,\n * the backend registry resolves them — while this list had no legal value for\n * either, so no application could declare what those transports speak.\n *\n * The keys are therefore checked against the engine enum by\n * `__tests__/provider-protocol-vocabulary.drift.test.ts`, which also owns the\n * documented allow-list of deliberate exclusions. **`AUDIO_PROVIDER` and\n * `VIDEO_PROVIDER` are deliberately absent** — see that file for the reason and\n * for the exact condition under which they are admitted.\n *\n * RETIRED 2026-09-05 (#327) together with the engine enum members: `MCP_CONNECTOR`,\n * `A2A_CONNECTOR`, `GIT_PROVIDER`, `GRPC`, `SSO_SAML` — authorable here, typed in the union,\n * declared by no provider module, resolvable by no runtime arm. An application that still\n * writes one is refused at config time by `ProviderProtocolSelectorSchema`, which now accepts\n * ONLY these keys (the engine's snake_case wire values were also accepted before, a second\n * spelling nothing else understood).\n */\nexport const BUILTIN_PROVIDER_PROTOCOL = {\n REST_API: 'REST_API',\n WEBHOOK_ORIGINATOR: 'WEBHOOK_ORIGINATOR',\n LLM_PROVIDER: 'LLM_PROVIDER',\n AGENT_CLIENT_PROTOCOL: 'AGENT_CLIENT_PROTOCOL',\n /**\n * Text-to-image generation (wired: gpt-image, via the OpenAI provider's\n * `IMAGE_PROVIDER` transport). Serves the IMAGE artifact modality.\n */\n IMAGE_PROVIDER: 'IMAGE_PROVIDER',\n /**\n * Text → vector embeddings (wired: OpenAI `text-embedding-3-*`). Serves the\n * RAG derived-data tier — corpus embedding in the `rag:embedding-drain`\n * worker, query-time embedding in retrieval. Its own protocol rather than an\n * `LLM_PROVIDER` operation so a provider can be selected for embeddings\n * independently of chat.\n */\n EMBEDDINGS_PROVIDER: 'EMBEDDINGS_PROVIDER',\n /**\n * Document bytes → text (wired: Mistral `mistral-ocr-latest`). Serves file text extraction and\n * the `.ragSource()` corpus built on it, and fills `EngineCapability.AI_DOCUMENT_EXTRACTION` so\n * an OCR provider is selected independently of chat and embeddings.\n */\n DOCUMENT_EXTRACTION_PROVIDER: 'DOCUMENT_EXTRACTION_PROVIDER',\n EMAIL_PROVIDER: 'EMAIL_PROVIDER',\n SSO_OAUTH2: 'SSO_OAUTH2',\n BILLING_PROVIDER: 'BILLING_PROVIDER',\n SMS_PROVIDER: 'SMS_PROVIDER',\n FRONTEND_SDK: 'FRONTEND_SDK',\n} as const;\n\nexport type BuiltinProviderProtocol =\n (typeof BUILTIN_PROVIDER_PROTOCOL)[keyof typeof BUILTIN_PROVIDER_PROTOCOL];\n\nexport type ProviderProtocol = BuiltinProviderProtocol;\n"]}
|
|
1
|
+
{"version":3,"file":"provider-protocol.shared.schemas.js","sourceRoot":"","sources":["../../../../src/external-providers/provider-protocol.shared.schemas.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAG;IACvC,QAAQ,EAAE,UAAU;IACpB,kBAAkB,EAAE,oBAAoB;IACxC,YAAY,EAAE,cAAc;IAC5B,qBAAqB,EAAE,uBAAuB;IAC9C;;;OAGG;IACH,cAAc,EAAE,gBAAgB;IAChC;;;;;;OAMG;IACH,mBAAmB,EAAE,qBAAqB;IAC1C;;;;OAIG;IACH,4BAA4B,EAAE,8BAA8B;IAC5D,cAAc,EAAE,gBAAgB;IAChC;;;;OAIG;IACH,sBAAsB,EAAE,wBAAwB;IAChD,UAAU,EAAE,YAAY;IACxB,gBAAgB,EAAE,kBAAkB;IACpC,YAAY,EAAE,cAAc;IAC5B,YAAY,EAAE,cAAc;CACpB,CAAC","sourcesContent":["/**\n * Closed built-in provider protocol vocabulary used by app authoring and\n * runtime-provider declarations.\n *\n * This is intentionally a pure `as const` object + union type so browser-bound\n * packages can consume it through `@wildo-ai/saas-models/public-runtime`\n * without pulling decorators or broader config-authoring seams. Do NOT add an\n * import here — not even an `import type` of the engine enum this list mirrors.\n *\n * ## Relationship to `ExternalProvider_ExchangeProtocol_Kind`\n *\n * This list re-states a population the engine owns: every member of\n * `ExternalProvider_ExchangeProtocol_Kind`\n * (`@wildo-ai/external-connectors-models`) that an application may legally\n * WRITE in `wildo.saas.config.ts > providers.scopes.<scope>.providers.<ref>`.\n * Two hand-maintained enumerations of one population is the shape that drifts,\n * and this one did: `IMAGE_PROVIDER` and `EMBEDDINGS_PROVIDER` shipped as live\n * engine protocols — a provider module declares them, discovery reports them,\n * the backend registry resolves them — while this list had no legal value for\n * either, so no application could declare what those transports speak.\n *\n * The keys are therefore checked against the engine enum by\n * `__tests__/provider-protocol-vocabulary.drift.test.ts`, which also owns the\n * documented allow-list of deliberate exclusions. **`AUDIO_PROVIDER` and\n * `VIDEO_PROVIDER` are deliberately absent** — see that file for the reason and\n * for the exact condition under which they are admitted.\n *\n * RETIRED 2026-09-05 (#327) together with the engine enum members: `MCP_CONNECTOR`,\n * `A2A_CONNECTOR`, `GIT_PROVIDER`, `GRPC`, `SSO_SAML` — authorable here, typed in the union,\n * declared by no provider module, resolvable by no runtime arm. An application that still\n * writes one is refused at config time by `ProviderProtocolSelectorSchema`, which now accepts\n * ONLY these keys (the engine's snake_case wire values were also accepted before, a second\n * spelling nothing else understood).\n */\nexport const BUILTIN_PROVIDER_PROTOCOL = {\n REST_API: 'REST_API',\n WEBHOOK_ORIGINATOR: 'WEBHOOK_ORIGINATOR',\n LLM_PROVIDER: 'LLM_PROVIDER',\n AGENT_CLIENT_PROTOCOL: 'AGENT_CLIENT_PROTOCOL',\n /**\n * Text-to-image generation (wired: gpt-image, via the OpenAI provider's\n * `IMAGE_PROVIDER` transport). Serves the IMAGE artifact modality.\n */\n IMAGE_PROVIDER: 'IMAGE_PROVIDER',\n /**\n * Text → vector embeddings (wired: OpenAI `text-embedding-3-*`). Serves the\n * RAG derived-data tier — corpus embedding in the `rag:embedding-drain`\n * worker, query-time embedding in retrieval. Its own protocol rather than an\n * `LLM_PROVIDER` operation so a provider can be selected for embeddings\n * independently of chat.\n */\n EMBEDDINGS_PROVIDER: 'EMBEDDINGS_PROVIDER',\n /**\n * Document bytes → text (wired: Mistral `mistral-ocr-latest`). Serves file text extraction and\n * the `.ragSource()` corpus built on it, and fills `EngineCapability.AI_DOCUMENT_EXTRACTION` so\n * an OCR provider is selected independently of chat and embeddings.\n */\n DOCUMENT_EXTRACTION_PROVIDER: 'DOCUMENT_EXTRACTION_PROVIDER',\n EMAIL_PROVIDER: 'EMAIL_PROVIDER',\n /**\n * Receiving email (#1630): the provider hosts a receiving domain, announces each message through\n * its `WEBHOOK_ORIGINATOR` endpoint and serves the message on request. Fills\n * `EngineCapability.EMAIL_INBOUND`, selected independently of the sending provider.\n */\n EMAIL_INBOUND_PROVIDER: 'EMAIL_INBOUND_PROVIDER',\n SSO_OAUTH2: 'SSO_OAUTH2',\n BILLING_PROVIDER: 'BILLING_PROVIDER',\n SMS_PROVIDER: 'SMS_PROVIDER',\n FRONTEND_SDK: 'FRONTEND_SDK',\n} as const;\n\nexport type BuiltinProviderProtocol =\n (typeof BUILTIN_PROVIDER_PROTOCOL)[keyof typeof BUILTIN_PROVIDER_PROTOCOL];\n\nexport type ProviderProtocol = BuiltinProviderProtocol;\n"]}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The re-authorization OFFER a provider operation refused for a missing scope carries, and why a scope may not be
|
|
3
|
+
* requestable on a connection (#1671) — shared, because the backend composes it and a frontend component acts on it
|
|
4
|
+
* (the browser door answers it in `409 PROVIDER_OPERATION_SCOPE_NOT_GRANTED`).
|
|
5
|
+
*
|
|
6
|
+
* How the ceiling behind it is computed is the backend's (`provider-connection-scope-ceiling.backend.ts`); this is the
|
|
7
|
+
* vocabulary both sides read.
|
|
8
|
+
*/
|
|
9
|
+
/** @wildo_source:part:start saas.models.providers.scope-reauthorization facet:layer:shared facet:family:provider facet:audience:app-developer */
|
|
10
|
+
/** Why a scope cannot be requested on a connection. */
|
|
11
|
+
export declare enum ProviderConnectionScopeRefusal {
|
|
12
|
+
/** No declared ref and no opted-in augmentation of the connection declares it. An author declares it first. */
|
|
13
|
+
NOT_DECLARED_BY_CONNECTION = "NOT_DECLARED_BY_CONNECTION",
|
|
14
|
+
/** It names a resource none of the connection's declared audiences covers. */
|
|
15
|
+
OUTSIDE_CONNECTION_AUDIENCES = "OUTSIDE_CONNECTION_AUDIENCES",
|
|
16
|
+
/**
|
|
17
|
+
* A member or augmentation scope carrying a `{placeholder}`: it can be resolved only against its own declaring ref's
|
|
18
|
+
* allowances, which are inert inside a connection, so it is never a value a request could carry.
|
|
19
|
+
*/
|
|
20
|
+
CARRIES_PLACEHOLDER = "CARRIES_PLACEHOLDER",
|
|
21
|
+
/** Only an administrator of the account can grant it; a person is never sent to consent to it. */
|
|
22
|
+
ADMINISTRATOR_CONSENT_REQUIRED = "ADMINISTRATOR_CONSENT_REQUIRED",
|
|
23
|
+
/**
|
|
24
|
+
* It names a declared audience OTHER than the primary one (a Dataverse environment, Business Central, Power BI on a
|
|
25
|
+
* Graph-primary Microsoft connection). A vendor that mints one resource per request answers an authorization with a
|
|
26
|
+
* token for the resource the request names, and the stored grant holds the PRIMARY audience's token — so growing the
|
|
27
|
+
* grant with another resource's scope would put that resource's token where every primary call reads it. Such a
|
|
28
|
+
* permission is consented statically (the operator lists it on the registration, and the person reconnects); the
|
|
29
|
+
* audience's token is then minted from the refresh token as before.
|
|
30
|
+
*/
|
|
31
|
+
NOT_PRIMARY_AUDIENCE = "NOT_PRIMARY_AUDIENCE"
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* What a refused call hands back so the person can grow the grant (#1671) — carried by `ProviderOperationScopeError`
|
|
35
|
+
* and the browser door's `409 PROVIDER_OPERATION_SCOPE_NOT_GRANTED`.
|
|
36
|
+
*
|
|
37
|
+
* `requestableScopes` is exactly what `POST /connections/:providerRef/start` accepts as `addScopes`; the other two
|
|
38
|
+
* lists are what no re-authorization can obtain, each with its own remedy.
|
|
39
|
+
*/
|
|
40
|
+
export interface ProviderScopeReauthorizationOffer {
|
|
41
|
+
/** The connection whose grant grows. */
|
|
42
|
+
readonly connectionRef: string;
|
|
43
|
+
/** The ref to start the re-authorization through — the one the refused call used. */
|
|
44
|
+
readonly providerRef: string;
|
|
45
|
+
/** The operation that needs them, echoed as `forOperationId` so the grant's audit row names its cause. */
|
|
46
|
+
readonly operationId: string;
|
|
47
|
+
/** The missing scopes a person may grant now. Empty when none can be. */
|
|
48
|
+
readonly requestableScopes: readonly string[];
|
|
49
|
+
/** Missing scopes only an administrator of the account can grant. */
|
|
50
|
+
readonly administratorConsentScopes: readonly string[];
|
|
51
|
+
/** Missing scopes no re-authorization of this connection can ask for, with why. */
|
|
52
|
+
readonly unrequestableScopes: readonly {
|
|
53
|
+
readonly scope: string;
|
|
54
|
+
readonly refusal: ProviderConnectionScopeRefusal;
|
|
55
|
+
}[];
|
|
56
|
+
}
|
|
57
|
+
/** @wildo_source:part:end saas.models.providers.scope-reauthorization */
|
|
58
|
+
//# sourceMappingURL=provider-scope-reauthorization.shared.schemas.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"provider-scope-reauthorization.shared.schemas.d.ts","sourceRoot":"","sources":["../../../../src/external-providers/provider-scope-reauthorization.shared.schemas.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,iJAAiJ;AACjJ,uDAAuD;AACvD,oBAAY,8BAA8B;IACxC,+GAA+G;IAC/G,0BAA0B,+BAA+B;IACzD,8EAA8E;IAC9E,4BAA4B,iCAAiC;IAC7D;;;OAGG;IACH,mBAAmB,wBAAwB;IAC3C,kGAAkG;IAClG,8BAA8B,mCAAmC;IACjE;;;;;;;OAOG;IACH,oBAAoB,yBAAyB;CAC9C;AAED;;;;;;GAMG;AACH,MAAM,WAAW,iCAAiC;IAChD,wCAAwC;IACxC,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;IAC/B,qFAAqF;IACrF,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,0GAA0G;IAC1G,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,yEAAyE;IACzE,QAAQ,CAAC,iBAAiB,EAAE,SAAS,MAAM,EAAE,CAAC;IAC9C,qEAAqE;IACrE,QAAQ,CAAC,0BAA0B,EAAE,SAAS,MAAM,EAAE,CAAC;IACvD,mFAAmF;IACnF,QAAQ,CAAC,mBAAmB,EAAE,SAAS;QAAE,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,OAAO,EAAE,8BAA8B,CAAA;KAAE,EAAE,CAAC;CACvH;AACD,yEAAyE"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The re-authorization OFFER a provider operation refused for a missing scope carries, and why a scope may not be
|
|
3
|
+
* requestable on a connection (#1671) — shared, because the backend composes it and a frontend component acts on it
|
|
4
|
+
* (the browser door answers it in `409 PROVIDER_OPERATION_SCOPE_NOT_GRANTED`).
|
|
5
|
+
*
|
|
6
|
+
* How the ceiling behind it is computed is the backend's (`provider-connection-scope-ceiling.backend.ts`); this is the
|
|
7
|
+
* vocabulary both sides read.
|
|
8
|
+
*/
|
|
9
|
+
/** @wildo_source:part:start saas.models.providers.scope-reauthorization facet:layer:shared facet:family:provider facet:audience:app-developer */
|
|
10
|
+
/** Why a scope cannot be requested on a connection. */
|
|
11
|
+
export var ProviderConnectionScopeRefusal;
|
|
12
|
+
(function (ProviderConnectionScopeRefusal) {
|
|
13
|
+
/** No declared ref and no opted-in augmentation of the connection declares it. An author declares it first. */
|
|
14
|
+
ProviderConnectionScopeRefusal["NOT_DECLARED_BY_CONNECTION"] = "NOT_DECLARED_BY_CONNECTION";
|
|
15
|
+
/** It names a resource none of the connection's declared audiences covers. */
|
|
16
|
+
ProviderConnectionScopeRefusal["OUTSIDE_CONNECTION_AUDIENCES"] = "OUTSIDE_CONNECTION_AUDIENCES";
|
|
17
|
+
/**
|
|
18
|
+
* A member or augmentation scope carrying a `{placeholder}`: it can be resolved only against its own declaring ref's
|
|
19
|
+
* allowances, which are inert inside a connection, so it is never a value a request could carry.
|
|
20
|
+
*/
|
|
21
|
+
ProviderConnectionScopeRefusal["CARRIES_PLACEHOLDER"] = "CARRIES_PLACEHOLDER";
|
|
22
|
+
/** Only an administrator of the account can grant it; a person is never sent to consent to it. */
|
|
23
|
+
ProviderConnectionScopeRefusal["ADMINISTRATOR_CONSENT_REQUIRED"] = "ADMINISTRATOR_CONSENT_REQUIRED";
|
|
24
|
+
/**
|
|
25
|
+
* It names a declared audience OTHER than the primary one (a Dataverse environment, Business Central, Power BI on a
|
|
26
|
+
* Graph-primary Microsoft connection). A vendor that mints one resource per request answers an authorization with a
|
|
27
|
+
* token for the resource the request names, and the stored grant holds the PRIMARY audience's token — so growing the
|
|
28
|
+
* grant with another resource's scope would put that resource's token where every primary call reads it. Such a
|
|
29
|
+
* permission is consented statically (the operator lists it on the registration, and the person reconnects); the
|
|
30
|
+
* audience's token is then minted from the refresh token as before.
|
|
31
|
+
*/
|
|
32
|
+
ProviderConnectionScopeRefusal["NOT_PRIMARY_AUDIENCE"] = "NOT_PRIMARY_AUDIENCE";
|
|
33
|
+
})(ProviderConnectionScopeRefusal || (ProviderConnectionScopeRefusal = {}));
|
|
34
|
+
/** @wildo_source:part:end saas.models.providers.scope-reauthorization */
|
|
35
|
+
//# sourceMappingURL=provider-scope-reauthorization.shared.schemas.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"provider-scope-reauthorization.shared.schemas.js","sourceRoot":"","sources":["../../../../src/external-providers/provider-scope-reauthorization.shared.schemas.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,iJAAiJ;AACjJ,uDAAuD;AACvD,MAAM,CAAN,IAAY,8BAqBX;AArBD,WAAY,8BAA8B;IACxC,+GAA+G;IAC/G,2FAAyD,CAAA;IACzD,8EAA8E;IAC9E,+FAA6D,CAAA;IAC7D;;;OAGG;IACH,6EAA2C,CAAA;IAC3C,kGAAkG;IAClG,mGAAiE,CAAA;IACjE;;;;;;;OAOG;IACH,+EAA6C,CAAA;AAC/C,CAAC,EArBW,8BAA8B,KAA9B,8BAA8B,QAqBzC;AAuBD,yEAAyE","sourcesContent":["/**\n * The re-authorization OFFER a provider operation refused for a missing scope carries, and why a scope may not be\n * requestable on a connection (#1671) — shared, because the backend composes it and a frontend component acts on it\n * (the browser door answers it in `409 PROVIDER_OPERATION_SCOPE_NOT_GRANTED`).\n *\n * How the ceiling behind it is computed is the backend's (`provider-connection-scope-ceiling.backend.ts`); this is the\n * vocabulary both sides read.\n */\n\n/** @wildo_source:part:start saas.models.providers.scope-reauthorization facet:layer:shared facet:family:provider facet:audience:app-developer */\n/** Why a scope cannot be requested on a connection. */\nexport enum ProviderConnectionScopeRefusal {\n /** No declared ref and no opted-in augmentation of the connection declares it. An author declares it first. */\n NOT_DECLARED_BY_CONNECTION = 'NOT_DECLARED_BY_CONNECTION',\n /** It names a resource none of the connection's declared audiences covers. */\n OUTSIDE_CONNECTION_AUDIENCES = 'OUTSIDE_CONNECTION_AUDIENCES',\n /**\n * A member or augmentation scope carrying a `{placeholder}`: it can be resolved only against its own declaring ref's\n * allowances, which are inert inside a connection, so it is never a value a request could carry.\n */\n CARRIES_PLACEHOLDER = 'CARRIES_PLACEHOLDER',\n /** Only an administrator of the account can grant it; a person is never sent to consent to it. */\n ADMINISTRATOR_CONSENT_REQUIRED = 'ADMINISTRATOR_CONSENT_REQUIRED',\n /**\n * It names a declared audience OTHER than the primary one (a Dataverse environment, Business Central, Power BI on a\n * Graph-primary Microsoft connection). A vendor that mints one resource per request answers an authorization with a\n * token for the resource the request names, and the stored grant holds the PRIMARY audience's token — so growing the\n * grant with another resource's scope would put that resource's token where every primary call reads it. Such a\n * permission is consented statically (the operator lists it on the registration, and the person reconnects); the\n * audience's token is then minted from the refresh token as before.\n */\n NOT_PRIMARY_AUDIENCE = 'NOT_PRIMARY_AUDIENCE',\n}\n\n/**\n * What a refused call hands back so the person can grow the grant (#1671) — carried by `ProviderOperationScopeError`\n * and the browser door's `409 PROVIDER_OPERATION_SCOPE_NOT_GRANTED`.\n *\n * `requestableScopes` is exactly what `POST /connections/:providerRef/start` accepts as `addScopes`; the other two\n * lists are what no re-authorization can obtain, each with its own remedy.\n */\nexport interface ProviderScopeReauthorizationOffer {\n /** The connection whose grant grows. */\n readonly connectionRef: string;\n /** The ref to start the re-authorization through — the one the refused call used. */\n readonly providerRef: string;\n /** The operation that needs them, echoed as `forOperationId` so the grant's audit row names its cause. */\n readonly operationId: string;\n /** The missing scopes a person may grant now. Empty when none can be. */\n readonly requestableScopes: readonly string[];\n /** Missing scopes only an administrator of the account can grant. */\n readonly administratorConsentScopes: readonly string[];\n /** Missing scopes no re-authorization of this connection can ask for, with why. */\n readonly unrequestableScopes: readonly { readonly scope: string; readonly refusal: ProviderConnectionScopeRefusal }[];\n}\n/** @wildo_source:part:end saas.models.providers.scope-reauthorization */\n"]}
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
/** @wildo_source:part:start saas.config.providers.shared-connections facet:layer:shared facet:family:provider-config facet:audience:app-developer */
|
|
3
|
+
/**
|
|
4
|
+
* One declared SHARED CONNECTION (#1725): the provider refs that spend ONE vendor grant, keyed in
|
|
5
|
+
* {@link ProviderSharedConnectionsSchema} by the BASE ref that owns the connection's OAuth client.
|
|
6
|
+
*
|
|
7
|
+
* ```ts
|
|
8
|
+
* providers: {
|
|
9
|
+
* scopes: { backend: { providers: { microsoft: {}, 'microsoft-teams': {}, 'microsoft-dataverse': {} } } },
|
|
10
|
+
* sharedConnections: {
|
|
11
|
+
* microsoft: { refs: ['microsoft-teams', 'microsoft-dataverse'] },
|
|
12
|
+
* },
|
|
13
|
+
* }
|
|
14
|
+
* ```
|
|
15
|
+
*
|
|
16
|
+
* A person connects Microsoft ONCE, through any of the three refs, and every one of them spends the same
|
|
17
|
+
* stored grant. Without a declaration every ref is its own connection — which is the default and changes
|
|
18
|
+
* nothing for an application that declares none.
|
|
19
|
+
*
|
|
20
|
+
* ## The base alone owns the client
|
|
21
|
+
*
|
|
22
|
+
* The BASE ref's OAuth2 block is the connection's: its authorize and token endpoints, its client-id and
|
|
23
|
+
* client-secret slots, its connection parameters (`{tenantId}`), and the AUDIENCES its tokens may be sent to.
|
|
24
|
+
* A member ref brings operations — never a client. A member's own OAuth2 block and client slots become inert
|
|
25
|
+
* while it is a member: they are reported by `wildo config sync`, never required.
|
|
26
|
+
*
|
|
27
|
+
* ## Membership is this LIST, never the vendor string
|
|
28
|
+
*
|
|
29
|
+
* `vendor` on a provider's metadata is display and compliance grouping only. Two refs that both say
|
|
30
|
+
* `vendor: 'microsoft'` are two connections until they are listed here, because spending one grant from a
|
|
31
|
+
* second package is a trust decision the application makes explicitly, never one inferred from a label.
|
|
32
|
+
*/
|
|
33
|
+
export declare const ProviderSharedConnectionSchema: z.ZodObject<{
|
|
34
|
+
/**
|
|
35
|
+
* The member refs, besides the base. Every runtime scope that declares a member must declare the base too,
|
|
36
|
+
* because the base's module is what connects, refreshes and revokes the grant.
|
|
37
|
+
*/
|
|
38
|
+
refs: z.ZodArray<z.ZodString>;
|
|
39
|
+
/**
|
|
40
|
+
* `true` makes the connection use the base's SIGN-IN registration (the `OAUTH2_SSO` client) instead of its
|
|
41
|
+
* own connected-account client. `false`, the default, keeps sign-in and data access on two registrations.
|
|
42
|
+
*
|
|
43
|
+
* Why separate is the default, stated where the choice is made:
|
|
44
|
+
* - one client secret then authorizes both sign-in and data access, so its compromise exposes both;
|
|
45
|
+
* - a tenant administrator's admin consent covers every permission statically configured on a registration,
|
|
46
|
+
* so data permissions listed statically on a sign-in registration would be granted at sign-in;
|
|
47
|
+
* - a vendor that reviews sensitive scopes (Google's app verification) reviews the sign-in client too once
|
|
48
|
+
* it carries them.
|
|
49
|
+
*
|
|
50
|
+
* With `true`, data permissions must be requested dynamically at connect time and never listed statically
|
|
51
|
+
* on the sign-in registration.
|
|
52
|
+
*/
|
|
53
|
+
sharedWithSignIn: z.ZodOptional<z.ZodBoolean>;
|
|
54
|
+
}, z.core.$strict>;
|
|
55
|
+
export type ProviderSharedConnection = z.infer<typeof ProviderSharedConnectionSchema>;
|
|
56
|
+
/**
|
|
57
|
+
* `providers.sharedConnections` — `baseRef` → the connection that ref owns (#1725). See
|
|
58
|
+
* {@link ProviderSharedConnectionSchema}.
|
|
59
|
+
*
|
|
60
|
+
* Refused at parse time, naming both sides: a ref listed in two connections (two bases would each own its
|
|
61
|
+
* client, so which grant it spends would depend on lookup order), a base listed as a member of its own or
|
|
62
|
+
* another connection, and a ref listed twice in one connection.
|
|
63
|
+
*
|
|
64
|
+
* assurance-control: WILDO.IDENTITY.DELEGATED_AUTHORIZATION — which refs may spend one delegated grant is the
|
|
65
|
+
* application's explicit, reviewable declaration, never inferred from a vendor label.
|
|
66
|
+
*/
|
|
67
|
+
export declare const ProviderSharedConnectionsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
68
|
+
/**
|
|
69
|
+
* The member refs, besides the base. Every runtime scope that declares a member must declare the base too,
|
|
70
|
+
* because the base's module is what connects, refreshes and revokes the grant.
|
|
71
|
+
*/
|
|
72
|
+
refs: z.ZodArray<z.ZodString>;
|
|
73
|
+
/**
|
|
74
|
+
* `true` makes the connection use the base's SIGN-IN registration (the `OAUTH2_SSO` client) instead of its
|
|
75
|
+
* own connected-account client. `false`, the default, keeps sign-in and data access on two registrations.
|
|
76
|
+
*
|
|
77
|
+
* Why separate is the default, stated where the choice is made:
|
|
78
|
+
* - one client secret then authorizes both sign-in and data access, so its compromise exposes both;
|
|
79
|
+
* - a tenant administrator's admin consent covers every permission statically configured on a registration,
|
|
80
|
+
* so data permissions listed statically on a sign-in registration would be granted at sign-in;
|
|
81
|
+
* - a vendor that reviews sensitive scopes (Google's app verification) reviews the sign-in client too once
|
|
82
|
+
* it carries them.
|
|
83
|
+
*
|
|
84
|
+
* With `true`, data permissions must be requested dynamically at connect time and never listed statically
|
|
85
|
+
* on the sign-in registration.
|
|
86
|
+
*/
|
|
87
|
+
sharedWithSignIn: z.ZodOptional<z.ZodBoolean>;
|
|
88
|
+
}, z.core.$strict>>;
|
|
89
|
+
export type ProviderSharedConnections = z.infer<typeof ProviderSharedConnectionsSchema>;
|
|
90
|
+
/** @wildo_source:part:end saas.config.providers.shared-connections */
|
|
91
|
+
/** One conflict {@link findProviderSharedConnectionConflicts} reports, located in the declaration. */
|
|
92
|
+
export interface ProviderSharedConnectionConflict {
|
|
93
|
+
readonly path: (string | number)[];
|
|
94
|
+
readonly message: string;
|
|
95
|
+
}
|
|
96
|
+
/**
|
|
97
|
+
* Every membership conflict in a declaration — empty when the declaration is coherent.
|
|
98
|
+
*
|
|
99
|
+
* Exported (rather than living only inside the schema) so the registry can assert the same predicate over a
|
|
100
|
+
* configuration that reached it without passing through this schema, and so a test pins the messages.
|
|
101
|
+
*/
|
|
102
|
+
export declare function findProviderSharedConnectionConflicts(connections: Readonly<Record<string, {
|
|
103
|
+
readonly refs: readonly string[];
|
|
104
|
+
}>>): ProviderSharedConnectionConflict[];
|
|
105
|
+
/**
|
|
106
|
+
* The CONNECTION each ref spends: a declared member → its base, a declared base → itself, and any other ref →
|
|
107
|
+
* itself (the #1670 default, where every undeclared ref is its own connection).
|
|
108
|
+
*
|
|
109
|
+
* ONE function, used by `wildo config sync` (lock entries, refusals) and by the running registry
|
|
110
|
+
* (`resolveCredentialConnectionRef`), so the two cannot disagree about which grant a ref spends.
|
|
111
|
+
*/
|
|
112
|
+
export declare function resolveProviderConnectionRef(connections: Readonly<Record<string, {
|
|
113
|
+
readonly refs: readonly string[];
|
|
114
|
+
}>> | undefined, providerRef: string): string;
|
|
115
|
+
//# sourceMappingURL=provider-shared-connections.shared.schemas.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"provider-shared-connections.shared.schemas.d.ts","sourceRoot":"","sources":["../../../../src/external-providers/provider-shared-connections.shared.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,qJAAqJ;AACrJ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,eAAO,MAAM,8BAA8B;IACzC;;;OAGG;;IAEH;;;;;;;;;;;;;OAaG;;kBAEH,CAAC;AACH,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,8BAA8B,CAAC,CAAC;AAEtF;;;;;;;;;;GAUG;AACH,eAAO,MAAM,+BAA+B;IAlC1C;;;OAGG;;IAEH;;;;;;;;;;;;;OAaG;;mBAqBD,CAAC;AACL,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,+BAA+B,CAAC,CAAC;AACxF,sEAAsE;AAEtE,sGAAsG;AACtG,MAAM,WAAW,gCAAgC;IAC/C,QAAQ,CAAC,IAAI,EAAE,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,CAAC;IACnC,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;CAC1B;AAED;;;;;GAKG;AACH,wBAAgB,qCAAqC,CACnD,WAAW,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE;IAAE,QAAQ,CAAC,IAAI,EAAE,SAAS,MAAM,EAAE,CAAA;CAAE,CAAC,CAAC,GAC1E,gCAAgC,EAAE,CAwCpC;AAED;;;;;;GAMG;AACH,wBAAgB,4BAA4B,CAC1C,WAAW,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE;IAAE,QAAQ,CAAC,IAAI,EAAE,SAAS,MAAM,EAAE,CAAA;CAAE,CAAC,CAAC,GAAG,SAAS,EACvF,WAAW,EAAE,MAAM,GAClB,MAAM,CAOR"}
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
/** @wildo_source:part:start saas.config.providers.shared-connections facet:layer:shared facet:family:provider-config facet:audience:app-developer */
|
|
3
|
+
/**
|
|
4
|
+
* One declared SHARED CONNECTION (#1725): the provider refs that spend ONE vendor grant, keyed in
|
|
5
|
+
* {@link ProviderSharedConnectionsSchema} by the BASE ref that owns the connection's OAuth client.
|
|
6
|
+
*
|
|
7
|
+
* ```ts
|
|
8
|
+
* providers: {
|
|
9
|
+
* scopes: { backend: { providers: { microsoft: {}, 'microsoft-teams': {}, 'microsoft-dataverse': {} } } },
|
|
10
|
+
* sharedConnections: {
|
|
11
|
+
* microsoft: { refs: ['microsoft-teams', 'microsoft-dataverse'] },
|
|
12
|
+
* },
|
|
13
|
+
* }
|
|
14
|
+
* ```
|
|
15
|
+
*
|
|
16
|
+
* A person connects Microsoft ONCE, through any of the three refs, and every one of them spends the same
|
|
17
|
+
* stored grant. Without a declaration every ref is its own connection — which is the default and changes
|
|
18
|
+
* nothing for an application that declares none.
|
|
19
|
+
*
|
|
20
|
+
* ## The base alone owns the client
|
|
21
|
+
*
|
|
22
|
+
* The BASE ref's OAuth2 block is the connection's: its authorize and token endpoints, its client-id and
|
|
23
|
+
* client-secret slots, its connection parameters (`{tenantId}`), and the AUDIENCES its tokens may be sent to.
|
|
24
|
+
* A member ref brings operations — never a client. A member's own OAuth2 block and client slots become inert
|
|
25
|
+
* while it is a member: they are reported by `wildo config sync`, never required.
|
|
26
|
+
*
|
|
27
|
+
* ## Membership is this LIST, never the vendor string
|
|
28
|
+
*
|
|
29
|
+
* `vendor` on a provider's metadata is display and compliance grouping only. Two refs that both say
|
|
30
|
+
* `vendor: 'microsoft'` are two connections until they are listed here, because spending one grant from a
|
|
31
|
+
* second package is a trust decision the application makes explicitly, never one inferred from a label.
|
|
32
|
+
*/
|
|
33
|
+
export const ProviderSharedConnectionSchema = z.strictObject({
|
|
34
|
+
/**
|
|
35
|
+
* The member refs, besides the base. Every runtime scope that declares a member must declare the base too,
|
|
36
|
+
* because the base's module is what connects, refreshes and revokes the grant.
|
|
37
|
+
*/
|
|
38
|
+
refs: z.array(z.string().min(1)).min(1),
|
|
39
|
+
/**
|
|
40
|
+
* `true` makes the connection use the base's SIGN-IN registration (the `OAUTH2_SSO` client) instead of its
|
|
41
|
+
* own connected-account client. `false`, the default, keeps sign-in and data access on two registrations.
|
|
42
|
+
*
|
|
43
|
+
* Why separate is the default, stated where the choice is made:
|
|
44
|
+
* - one client secret then authorizes both sign-in and data access, so its compromise exposes both;
|
|
45
|
+
* - a tenant administrator's admin consent covers every permission statically configured on a registration,
|
|
46
|
+
* so data permissions listed statically on a sign-in registration would be granted at sign-in;
|
|
47
|
+
* - a vendor that reviews sensitive scopes (Google's app verification) reviews the sign-in client too once
|
|
48
|
+
* it carries them.
|
|
49
|
+
*
|
|
50
|
+
* With `true`, data permissions must be requested dynamically at connect time and never listed statically
|
|
51
|
+
* on the sign-in registration.
|
|
52
|
+
*/
|
|
53
|
+
sharedWithSignIn: z.boolean().optional(),
|
|
54
|
+
});
|
|
55
|
+
/**
|
|
56
|
+
* `providers.sharedConnections` — `baseRef` → the connection that ref owns (#1725). See
|
|
57
|
+
* {@link ProviderSharedConnectionSchema}.
|
|
58
|
+
*
|
|
59
|
+
* Refused at parse time, naming both sides: a ref listed in two connections (two bases would each own its
|
|
60
|
+
* client, so which grant it spends would depend on lookup order), a base listed as a member of its own or
|
|
61
|
+
* another connection, and a ref listed twice in one connection.
|
|
62
|
+
*
|
|
63
|
+
* assurance-control: WILDO.IDENTITY.DELEGATED_AUTHORIZATION — which refs may spend one delegated grant is the
|
|
64
|
+
* application's explicit, reviewable declaration, never inferred from a vendor label.
|
|
65
|
+
*/
|
|
66
|
+
export const ProviderSharedConnectionsSchema = z.record(z.string().min(1), ProviderSharedConnectionSchema)
|
|
67
|
+
.superRefine((connections, ctx) => {
|
|
68
|
+
for (const problem of findProviderSharedConnectionConflicts(connections)) {
|
|
69
|
+
ctx.addIssue({ code: 'custom', path: problem.path, message: problem.message });
|
|
70
|
+
}
|
|
71
|
+
});
|
|
72
|
+
/**
|
|
73
|
+
* Every membership conflict in a declaration — empty when the declaration is coherent.
|
|
74
|
+
*
|
|
75
|
+
* Exported (rather than living only inside the schema) so the registry can assert the same predicate over a
|
|
76
|
+
* configuration that reached it without passing through this schema, and so a test pins the messages.
|
|
77
|
+
*/
|
|
78
|
+
export function findProviderSharedConnectionConflicts(connections) {
|
|
79
|
+
const problems = [];
|
|
80
|
+
const bases = new Set(Object.keys(connections));
|
|
81
|
+
const memberOf = new Map();
|
|
82
|
+
for (const [baseRef, connection] of Object.entries(connections).sort(([left], [right]) => left.localeCompare(right))) {
|
|
83
|
+
const seen = new Set();
|
|
84
|
+
for (const [index, ref] of connection.refs.entries()) {
|
|
85
|
+
if (seen.has(ref)) {
|
|
86
|
+
problems.push({ path: [baseRef, 'refs', index], message: `"${ref}" is listed twice in the shared connection "${baseRef}".` });
|
|
87
|
+
continue;
|
|
88
|
+
}
|
|
89
|
+
seen.add(ref);
|
|
90
|
+
if (ref === baseRef) {
|
|
91
|
+
problems.push({
|
|
92
|
+
path: [baseRef, 'refs', index],
|
|
93
|
+
message: `"${baseRef}" lists itself as a member. The base ref is the connection's owner already; list only the other refs.`,
|
|
94
|
+
});
|
|
95
|
+
continue;
|
|
96
|
+
}
|
|
97
|
+
if (bases.has(ref)) {
|
|
98
|
+
problems.push({
|
|
99
|
+
path: [baseRef, 'refs', index],
|
|
100
|
+
message: `"${ref}" is a member of the shared connection "${baseRef}" and also the base of its own shared connection. `
|
|
101
|
+
+ 'A ref spends exactly one grant; declare one connection that lists both.',
|
|
102
|
+
});
|
|
103
|
+
continue;
|
|
104
|
+
}
|
|
105
|
+
const earlier = memberOf.get(ref);
|
|
106
|
+
if (earlier !== undefined) {
|
|
107
|
+
problems.push({
|
|
108
|
+
path: [baseRef, 'refs', index],
|
|
109
|
+
message: `"${ref}" is listed in two shared connections, "${earlier}" and "${baseRef}". A ref spends exactly one grant; `
|
|
110
|
+
+ 'remove it from one of them.',
|
|
111
|
+
});
|
|
112
|
+
continue;
|
|
113
|
+
}
|
|
114
|
+
memberOf.set(ref, baseRef);
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
return problems;
|
|
118
|
+
}
|
|
119
|
+
/**
|
|
120
|
+
* The CONNECTION each ref spends: a declared member → its base, a declared base → itself, and any other ref →
|
|
121
|
+
* itself (the #1670 default, where every undeclared ref is its own connection).
|
|
122
|
+
*
|
|
123
|
+
* ONE function, used by `wildo config sync` (lock entries, refusals) and by the running registry
|
|
124
|
+
* (`resolveCredentialConnectionRef`), so the two cannot disagree about which grant a ref spends.
|
|
125
|
+
*/
|
|
126
|
+
export function resolveProviderConnectionRef(connections, providerRef) {
|
|
127
|
+
if (connections === undefined)
|
|
128
|
+
return providerRef;
|
|
129
|
+
if (Object.hasOwn(connections, providerRef))
|
|
130
|
+
return providerRef;
|
|
131
|
+
for (const [baseRef, connection] of Object.entries(connections)) {
|
|
132
|
+
if (connection.refs.includes(providerRef))
|
|
133
|
+
return baseRef;
|
|
134
|
+
}
|
|
135
|
+
return providerRef;
|
|
136
|
+
}
|
|
137
|
+
//# sourceMappingURL=provider-shared-connections.shared.schemas.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"provider-shared-connections.shared.schemas.js","sourceRoot":"","sources":["../../../../src/external-providers/provider-shared-connections.shared.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,qJAAqJ;AACrJ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,MAAM,CAAC,MAAM,8BAA8B,GAAG,CAAC,CAAC,YAAY,CAAC;IAC3D;;;OAGG;IACH,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;IACvC;;;;;;;;;;;;;OAaG;IACH,gBAAgB,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;CACzC,CAAC,CAAC;AAGH;;;;;;;;;;GAUG;AACH,MAAM,CAAC,MAAM,+BAA+B,GAAG,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,8BAA8B,CAAC;KACvG,WAAW,CAAC,CAAC,WAAW,EAAE,GAAG,EAAE,EAAE;IAChC,KAAK,MAAM,OAAO,IAAI,qCAAqC,CAAC,WAAW,CAAC,EAAE,CAAC;QACzE,GAAG,CAAC,QAAQ,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,CAAC,IAAI,EAAE,OAAO,EAAE,OAAO,CAAC,OAAO,EAAE,CAAC,CAAC;IACjF,CAAC;AACH,CAAC,CAAC,CAAC;AAUL;;;;;GAKG;AACH,MAAM,UAAU,qCAAqC,CACnD,WAA2E;IAE3E,MAAM,QAAQ,GAAuC,EAAE,CAAC;IACxD,MAAM,KAAK,GAAG,IAAI,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;IAChD,MAAM,QAAQ,GAAG,IAAI,GAAG,EAAkB,CAAC;IAC3C,KAAK,MAAM,CAAC,OAAO,EAAE,UAAU,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,EAAE,CAAC,IAAI,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC;QACrH,MAAM,IAAI,GAAG,IAAI,GAAG,EAAU,CAAC;QAC/B,KAAK,MAAM,CAAC,KAAK,EAAE,GAAG,CAAC,IAAI,UAAU,CAAC,IAAI,CAAC,OAAO,EAAE,EAAE,CAAC;YACrD,IAAI,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE,CAAC;gBAClB,QAAQ,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,OAAO,EAAE,IAAI,GAAG,+CAA+C,OAAO,IAAI,EAAE,CAAC,CAAC;gBAC9H,SAAS;YACX,CAAC;YACD,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;YACd,IAAI,GAAG,KAAK,OAAO,EAAE,CAAC;gBACpB,QAAQ,CAAC,IAAI,CAAC;oBACZ,IAAI,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,CAAC;oBAC9B,OAAO,EAAE,IAAI,OAAO,uGAAuG;iBAC5H,CAAC,CAAC;gBACH,SAAS;YACX,CAAC;YACD,IAAI,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE,CAAC;gBACnB,QAAQ,CAAC,IAAI,CAAC;oBACZ,IAAI,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,CAAC;oBAC9B,OAAO,EAAE,IAAI,GAAG,2CAA2C,OAAO,oDAAoD;0BAClH,yEAAyE;iBAC9E,CAAC,CAAC;gBACH,SAAS;YACX,CAAC;YACD,MAAM,OAAO,GAAG,QAAQ,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;YAClC,IAAI,OAAO,KAAK,SAAS,EAAE,CAAC;gBAC1B,QAAQ,CAAC,IAAI,CAAC;oBACZ,IAAI,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,CAAC;oBAC9B,OAAO,EAAE,IAAI,GAAG,2CAA2C,OAAO,UAAU,OAAO,qCAAqC;0BACpH,6BAA6B;iBAClC,CAAC,CAAC;gBACH,SAAS;YACX,CAAC;YACD,QAAQ,CAAC,GAAG,CAAC,GAAG,EAAE,OAAO,CAAC,CAAC;QAC7B,CAAC;IACH,CAAC;IACD,OAAO,QAAQ,CAAC;AAClB,CAAC;AAED;;;;;;GAMG;AACH,MAAM,UAAU,4BAA4B,CAC1C,WAAuF,EACvF,WAAmB;IAEnB,IAAI,WAAW,KAAK,SAAS;QAAE,OAAO,WAAW,CAAC;IAClD,IAAI,MAAM,CAAC,MAAM,CAAC,WAAW,EAAE,WAAW,CAAC;QAAE,OAAO,WAAW,CAAC;IAChE,KAAK,MAAM,CAAC,OAAO,EAAE,UAAU,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,WAAW,CAAC,EAAE,CAAC;QAChE,IAAI,UAAU,CAAC,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC;YAAE,OAAO,OAAO,CAAC;IAC5D,CAAC;IACD,OAAO,WAAW,CAAC;AACrB,CAAC","sourcesContent":["import { z } from 'zod';\n\n/** @wildo_source:part:start saas.config.providers.shared-connections facet:layer:shared facet:family:provider-config facet:audience:app-developer */\n/**\n * One declared SHARED CONNECTION (#1725): the provider refs that spend ONE vendor grant, keyed in\n * {@link ProviderSharedConnectionsSchema} by the BASE ref that owns the connection's OAuth client.\n *\n * ```ts\n * providers: {\n * scopes: { backend: { providers: { microsoft: {}, 'microsoft-teams': {}, 'microsoft-dataverse': {} } } },\n * sharedConnections: {\n * microsoft: { refs: ['microsoft-teams', 'microsoft-dataverse'] },\n * },\n * }\n * ```\n *\n * A person connects Microsoft ONCE, through any of the three refs, and every one of them spends the same\n * stored grant. Without a declaration every ref is its own connection — which is the default and changes\n * nothing for an application that declares none.\n *\n * ## The base alone owns the client\n *\n * The BASE ref's OAuth2 block is the connection's: its authorize and token endpoints, its client-id and\n * client-secret slots, its connection parameters (`{tenantId}`), and the AUDIENCES its tokens may be sent to.\n * A member ref brings operations — never a client. A member's own OAuth2 block and client slots become inert\n * while it is a member: they are reported by `wildo config sync`, never required.\n *\n * ## Membership is this LIST, never the vendor string\n *\n * `vendor` on a provider's metadata is display and compliance grouping only. Two refs that both say\n * `vendor: 'microsoft'` are two connections until they are listed here, because spending one grant from a\n * second package is a trust decision the application makes explicitly, never one inferred from a label.\n */\nexport const ProviderSharedConnectionSchema = z.strictObject({\n /**\n * The member refs, besides the base. Every runtime scope that declares a member must declare the base too,\n * because the base's module is what connects, refreshes and revokes the grant.\n */\n refs: z.array(z.string().min(1)).min(1),\n /**\n * `true` makes the connection use the base's SIGN-IN registration (the `OAUTH2_SSO` client) instead of its\n * own connected-account client. `false`, the default, keeps sign-in and data access on two registrations.\n *\n * Why separate is the default, stated where the choice is made:\n * - one client secret then authorizes both sign-in and data access, so its compromise exposes both;\n * - a tenant administrator's admin consent covers every permission statically configured on a registration,\n * so data permissions listed statically on a sign-in registration would be granted at sign-in;\n * - a vendor that reviews sensitive scopes (Google's app verification) reviews the sign-in client too once\n * it carries them.\n *\n * With `true`, data permissions must be requested dynamically at connect time and never listed statically\n * on the sign-in registration.\n */\n sharedWithSignIn: z.boolean().optional(),\n});\nexport type ProviderSharedConnection = z.infer<typeof ProviderSharedConnectionSchema>;\n\n/**\n * `providers.sharedConnections` — `baseRef` → the connection that ref owns (#1725). See\n * {@link ProviderSharedConnectionSchema}.\n *\n * Refused at parse time, naming both sides: a ref listed in two connections (two bases would each own its\n * client, so which grant it spends would depend on lookup order), a base listed as a member of its own or\n * another connection, and a ref listed twice in one connection.\n *\n * assurance-control: WILDO.IDENTITY.DELEGATED_AUTHORIZATION — which refs may spend one delegated grant is the\n * application's explicit, reviewable declaration, never inferred from a vendor label.\n */\nexport const ProviderSharedConnectionsSchema = z.record(z.string().min(1), ProviderSharedConnectionSchema)\n .superRefine((connections, ctx) => {\n for (const problem of findProviderSharedConnectionConflicts(connections)) {\n ctx.addIssue({ code: 'custom', path: problem.path, message: problem.message });\n }\n });\nexport type ProviderSharedConnections = z.infer<typeof ProviderSharedConnectionsSchema>;\n/** @wildo_source:part:end saas.config.providers.shared-connections */\n\n/** One conflict {@link findProviderSharedConnectionConflicts} reports, located in the declaration. */\nexport interface ProviderSharedConnectionConflict {\n readonly path: (string | number)[];\n readonly message: string;\n}\n\n/**\n * Every membership conflict in a declaration — empty when the declaration is coherent.\n *\n * Exported (rather than living only inside the schema) so the registry can assert the same predicate over a\n * configuration that reached it without passing through this schema, and so a test pins the messages.\n */\nexport function findProviderSharedConnectionConflicts(\n connections: Readonly<Record<string, { readonly refs: readonly string[] }>>,\n): ProviderSharedConnectionConflict[] {\n const problems: ProviderSharedConnectionConflict[] = [];\n const bases = new Set(Object.keys(connections));\n const memberOf = new Map<string, string>();\n for (const [baseRef, connection] of Object.entries(connections).sort(([left], [right]) => left.localeCompare(right))) {\n const seen = new Set<string>();\n for (const [index, ref] of connection.refs.entries()) {\n if (seen.has(ref)) {\n problems.push({ path: [baseRef, 'refs', index], message: `\"${ref}\" is listed twice in the shared connection \"${baseRef}\".` });\n continue;\n }\n seen.add(ref);\n if (ref === baseRef) {\n problems.push({\n path: [baseRef, 'refs', index],\n message: `\"${baseRef}\" lists itself as a member. The base ref is the connection's owner already; list only the other refs.`,\n });\n continue;\n }\n if (bases.has(ref)) {\n problems.push({\n path: [baseRef, 'refs', index],\n message: `\"${ref}\" is a member of the shared connection \"${baseRef}\" and also the base of its own shared connection. `\n + 'A ref spends exactly one grant; declare one connection that lists both.',\n });\n continue;\n }\n const earlier = memberOf.get(ref);\n if (earlier !== undefined) {\n problems.push({\n path: [baseRef, 'refs', index],\n message: `\"${ref}\" is listed in two shared connections, \"${earlier}\" and \"${baseRef}\". A ref spends exactly one grant; `\n + 'remove it from one of them.',\n });\n continue;\n }\n memberOf.set(ref, baseRef);\n }\n }\n return problems;\n}\n\n/**\n * The CONNECTION each ref spends: a declared member → its base, a declared base → itself, and any other ref →\n * itself (the #1670 default, where every undeclared ref is its own connection).\n *\n * ONE function, used by `wildo config sync` (lock entries, refusals) and by the running registry\n * (`resolveCredentialConnectionRef`), so the two cannot disagree about which grant a ref spends.\n */\nexport function resolveProviderConnectionRef(\n connections: Readonly<Record<string, { readonly refs: readonly string[] }>> | undefined,\n providerRef: string,\n): string {\n if (connections === undefined) return providerRef;\n if (Object.hasOwn(connections, providerRef)) return providerRef;\n for (const [baseRef, connection] of Object.entries(connections)) {\n if (connection.refs.includes(providerRef)) return baseRef;\n }\n return providerRef;\n}\n"]}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* # Provider-usage cost: pricing one call exactly, and rounding a total once
|
|
3
|
+
*
|
|
4
|
+
* The arithmetic half of #1598's cost calculator. Pure and adapter-free, so the backend recorder, the
|
|
5
|
+
* `summarize` read and the period close use ONE implementation and cannot disagree about a cost.
|
|
6
|
+
*
|
|
7
|
+
* ## Exact per call, rounded once per total (review F11)
|
|
8
|
+
*
|
|
9
|
+
* A call's cost is stored as an exact fraction of a minor currency unit
|
|
10
|
+
* (`callCostMinorNumerator / callCostUnitsDenominator`). A total is the exact sum of those fractions (each
|
|
11
|
+
* multiplied by its row's share), rounded UP to a whole minor unit once, at the moment a total is reported.
|
|
12
|
+
* Rounding each call would overstate a case made of many small embedding calls by up to one minor unit
|
|
13
|
+
* per call. Currencies are never converted and never mixed: an accumulator holds one currency.
|
|
14
|
+
*
|
|
15
|
+
* ## Quantities (#1598 §7)
|
|
16
|
+
*
|
|
17
|
+
* - Input: with a reported split, `noCacheTokens` → `INPUT_TOKEN`, `cacheReadTokens` →
|
|
18
|
+
* `CACHED_INPUT_TOKEN`, `cacheWriteTokens` → `CACHE_WRITE_INPUT_TOKEN`; without one, every prompt token is
|
|
19
|
+
* `INPUT_TOKEN`. A cache category the authority prices no rate for is priced at the input rate: a missing
|
|
20
|
+
* rate never makes tokens free.
|
|
21
|
+
* - Output: `completionTokens` → `OUTPUT_TOKEN`. When the authority declares a `REASONING_TOKEN` rate and the
|
|
22
|
+
* provider reported the reasoning split, the reasoning quantity is priced at that rate and SUBTRACTED from
|
|
23
|
+
* the output quantity, so it is never billed twice (Paul, Q3).
|
|
24
|
+
* - Tiers are per request: the highest threshold the call's whole input quantity exceeds applies its
|
|
25
|
+
* multipliers to the input categories and to output/reasoning respectively.
|
|
26
|
+
*/
|
|
27
|
+
import { type ProviderUsageCostResult, type ProviderUsagePricingAuthority } from './provider-usage-pricing.shared.schemas';
|
|
28
|
+
import { ReasoningUsageReporting } from '../flows-actors/work-attribution.shared.schemas';
|
|
29
|
+
/** The token counts one call reported, as the provider-call record stores them. Absent means not reported. */
|
|
30
|
+
export interface ProviderUsageQuantities {
|
|
31
|
+
readonly promptTokens?: number;
|
|
32
|
+
readonly completionTokens?: number;
|
|
33
|
+
readonly noCacheTokens?: number;
|
|
34
|
+
readonly cacheReadTokens?: number;
|
|
35
|
+
readonly cacheWriteTokens?: number;
|
|
36
|
+
readonly reasoningTokens?: number;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Pick the authority that prices a call: same provider and model, `effectiveFrom` not after the call, the
|
|
40
|
+
* highest version among those. `undefined` means the call is UNPRICED.
|
|
41
|
+
*/
|
|
42
|
+
export declare function selectProviderUsagePricingAuthority(authorities: readonly ProviderUsagePricingAuthority[], call: {
|
|
43
|
+
provider?: string | null;
|
|
44
|
+
model?: string | null;
|
|
45
|
+
calledAt: Date;
|
|
46
|
+
}): ProviderUsagePricingAuthority | undefined;
|
|
47
|
+
/**
|
|
48
|
+
* Refuse a registered list that names one `ref@version` twice (#1598 §7). Two entries under one identity
|
|
49
|
+
* would make "the price used" ambiguous in every row and aggregate that names it. Throws with every
|
|
50
|
+
* duplicated identity named.
|
|
51
|
+
*/
|
|
52
|
+
export declare function assertUniqueProviderUsagePricingAuthorities(authorities: readonly ProviderUsagePricingAuthority[]): void;
|
|
53
|
+
/** Whether a call's usage reports the reasoning split. */
|
|
54
|
+
export declare function reasoningUsageReportingOf(usage: ProviderUsageQuantities): ReasoningUsageReporting;
|
|
55
|
+
/**
|
|
56
|
+
* The exact cost of one call under `authority`, unrounded. See the file header for the quantity rules.
|
|
57
|
+
*/
|
|
58
|
+
export declare function computeProviderUsageCallCost(authority: ProviderUsagePricingAuthority, usage: ProviderUsageQuantities): ProviderUsageCostResult;
|
|
59
|
+
/**
|
|
60
|
+
* An exact running total of minor-unit fractions in ONE currency, rounded up once when read.
|
|
61
|
+
*
|
|
62
|
+
* `add` takes a call's exact cost and the attribution row's share of it (`shareNumerator / shareDenominator`,
|
|
63
|
+
* 1/1 for a whole call). The sum stays a reduced fraction of bigints, so no precision is lost however many
|
|
64
|
+
* rows are added.
|
|
65
|
+
*/
|
|
66
|
+
export declare class ExactMinorCostTotal {
|
|
67
|
+
private numerator;
|
|
68
|
+
private denominator;
|
|
69
|
+
add(callCostMinorNumerator: string, callCostUnitsDenominator: number, shareNumerator?: number, shareDenominator?: number): void;
|
|
70
|
+
/** The total, rounded UP to a whole minor unit: `CEILING_AGGREGATE_TO_MINOR_UNIT`, applied once. */
|
|
71
|
+
ceilMinor(): bigint;
|
|
72
|
+
}
|
|
73
|
+
//# sourceMappingURL=provider-usage-cost.shared.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"provider-usage-cost.shared.d.ts","sourceRoot":"","sources":["../../../../src/external-providers/provider-usage-cost.shared.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,OAAO,EAIL,KAAK,uBAAuB,EAC5B,KAAK,6BAA6B,EACnC,MAAM,yCAAyC,CAAC;AACjD,OAAO,EAAE,uBAAuB,EAAE,MAAM,iDAAiD,CAAC;AAE1F,8GAA8G;AAC9G,MAAM,WAAW,uBAAuB;IACtC,QAAQ,CAAC,YAAY,CAAC,EAAE,MAAM,CAAC;IAC/B,QAAQ,CAAC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IACnC,QAAQ,CAAC,aAAa,CAAC,EAAE,MAAM,CAAC;IAChC,QAAQ,CAAC,eAAe,CAAC,EAAE,MAAM,CAAC;IAClC,QAAQ,CAAC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IACnC,QAAQ,CAAC,eAAe,CAAC,EAAE,MAAM,CAAC;CACnC;AAoBD;;;GAGG;AACH,wBAAgB,mCAAmC,CACjD,WAAW,EAAE,SAAS,6BAA6B,EAAE,EACrD,IAAI,EAAE;IAAE,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAAC,QAAQ,EAAE,IAAI,CAAA;CAAE,GACxE,6BAA6B,GAAG,SAAS,CAS3C;AAED;;;;GAIG;AACH,wBAAgB,2CAA2C,CAAC,WAAW,EAAE,SAAS,6BAA6B,EAAE,GAAG,IAAI,CAcvH;AAED,0DAA0D;AAC1D,wBAAgB,yBAAyB,CAAC,KAAK,EAAE,uBAAuB,GAAG,uBAAuB,CAIjG;AAED;;GAEG;AACH,wBAAgB,4BAA4B,CAAC,SAAS,EAAE,6BAA6B,EAAE,KAAK,EAAE,uBAAuB,GAAG,uBAAuB,CAyD9I;AAED;;;;;;GAMG;AACH,qBAAa,mBAAmB;IAC9B,OAAO,CAAC,SAAS,CAAQ;IACzB,OAAO,CAAC,WAAW,CAAO;IAEnB,GAAG,CAAC,sBAAsB,EAAE,MAAM,EAAE,wBAAwB,EAAE,MAAM,EAAE,cAAc,SAAI,EAAE,gBAAgB,SAAI,GAAG,IAAI;IAW5H,oGAAoG;IAC7F,SAAS,IAAI,MAAM;CAI3B"}
|