@wildo-ai/saas-models 1.1.3 → 1.1.5
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-metadata.shared.resources-config.schemas.d.ts +1 -1
- package/dist/esm/applications/application-versions.shared.resources-config.schemas.d.ts +1 -1
- package/dist/esm/applications/application-versions.shared.resources-config.schemas.js +2 -2
- package/dist/esm/applications/application-versions.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/applications/applications-context.schemas.d.ts +236 -18
- package/dist/esm/applications/applications-context.schemas.d.ts.map +1 -1
- package/dist/esm/applications/applications.shared.resources-config.schemas.d.ts +1 -0
- package/dist/esm/applications/applications.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/applications/applications.shared.resources-config.schemas.js +1 -1
- package/dist/esm/applications/applications.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/applications/applications.shared.schemas.d.ts +3 -2
- package/dist/esm/applications/applications.shared.schemas.d.ts.map +1 -1
- package/dist/esm/applications/applications.shared.schemas.js +40 -5
- package/dist/esm/applications/applications.shared.schemas.js.map +1 -1
- package/dist/esm/billing/billing-account.shared.resources-config.schemas.d.ts +1 -2
- 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 +1 -2
- package/dist/esm/billing/billing-account.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/billing/billing-enums.shared.schemas.d.ts +87 -5
- package/dist/esm/billing/billing-enums.shared.schemas.d.ts.map +1 -1
- package/dist/esm/billing/billing-enums.shared.schemas.js +91 -5
- package/dist/esm/billing/billing-enums.shared.schemas.js.map +1 -1
- package/dist/esm/billing/billing-types.shared.schemas.d.ts +25 -4
- package/dist/esm/billing/billing-types.shared.schemas.d.ts.map +1 -1
- package/dist/esm/billing/billing-types.shared.schemas.js +61 -0
- package/dist/esm/billing/billing-types.shared.schemas.js.map +1 -1
- package/dist/esm/billing/price.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/billing/price.shared.resources-config.schemas.js +32 -2
- package/dist/esm/billing/price.shared.resources-config.schemas.js.map +1 -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 +1 -1
- package/dist/esm/billing/product-behavior-policy.shared.schemas.js.map +1 -1
- package/dist/esm/billing/product.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/billing/product.shared.resources-config.schemas.js +32 -2
- package/dist/esm/billing/product.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/billing/product.shared.schemas.d.ts +1 -0
- package/dist/esm/billing/product.shared.schemas.d.ts.map +1 -1
- package/dist/esm/billing/product.shared.schemas.js +3 -0
- package/dist/esm/billing/product.shared.schemas.js.map +1 -1
- package/dist/esm/billing/promotions.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/billing/promotions.shared.resources-config.schemas.js +33 -3
- package/dist/esm/billing/promotions.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/billing/referral.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/billing/referral.shared.resources-config.schemas.js +22 -2
- package/dist/esm/billing/referral.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/billing/referral.shared.schemas.d.ts +1 -0
- package/dist/esm/billing/referral.shared.schemas.d.ts.map +1 -1
- package/dist/esm/billing/referral.shared.schemas.js +3 -0
- package/dist/esm/billing/referral.shared.schemas.js.map +1 -1
- package/dist/esm/billing/subscription.shared.resources-config.schemas.d.ts +23 -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 +48 -2
- package/dist/esm/billing/subscription.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/billing/subscription.shared.schemas.d.ts +1 -0
- package/dist/esm/billing/subscription.shared.schemas.d.ts.map +1 -1
- package/dist/esm/billing/subscription.shared.schemas.js +3 -0
- package/dist/esm/billing/subscription.shared.schemas.js.map +1 -1
- package/dist/esm/billing/usage-flush-evidence.shared.schemas.d.ts +49 -0
- package/dist/esm/billing/usage-flush-evidence.shared.schemas.d.ts.map +1 -0
- package/dist/esm/billing/usage-flush-evidence.shared.schemas.js +48 -0
- package/dist/esm/billing/usage-flush-evidence.shared.schemas.js.map +1 -0
- package/dist/esm/billing/usage-record.shared.schemas.d.ts +1 -0
- package/dist/esm/billing/usage-record.shared.schemas.d.ts.map +1 -1
- package/dist/esm/billing/usage-record.shared.schemas.js +3 -0
- package/dist/esm/billing/usage-record.shared.schemas.js.map +1 -1
- package/dist/esm/companion/provider-discovery.shared.schemas.d.ts +8 -0
- package/dist/esm/companion/provider-discovery.shared.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/audit-trails/application-audit-logs.shared.resources-config.schemas.d.ts +14 -3
- 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 +21 -7
- package/dist/esm/compliance/audit-trails/application-audit-logs.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/compliance/audit-trails/audit-export-projection.shared.schemas.d.ts +450 -0
- package/dist/esm/compliance/audit-trails/audit-export-projection.shared.schemas.d.ts.map +1 -0
- package/dist/esm/compliance/audit-trails/audit-export-projection.shared.schemas.js +723 -0
- package/dist/esm/compliance/audit-trails/audit-export-projection.shared.schemas.js.map +1 -0
- package/dist/esm/compliance/audit-trails/audit-logs.shared.resources-config.schemas.d.ts +2 -2
- package/dist/esm/compliance/audit-trails/audit-trail-config.shared.schemas.d.ts +8 -0
- 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 +15 -0
- 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 +787 -21
- 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 +1079 -26
- 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.map +1 -1
- package/dist/esm/compliance/audit-trails/security-audit-event-envelope.shared.schema.js +51 -0
- package/dist/esm/compliance/audit-trails/security-audit-event-envelope.shared.schema.js.map +1 -1
- package/dist/esm/compliance/documents/governed-document-interactions.shared.schemas.d.ts +463 -0
- package/dist/esm/compliance/documents/governed-document-interactions.shared.schemas.d.ts.map +1 -0
- package/dist/esm/compliance/documents/governed-document-interactions.shared.schemas.js +526 -0
- package/dist/esm/compliance/documents/governed-document-interactions.shared.schemas.js.map +1 -0
- package/dist/esm/compliance/documents/governed-documents.shared.schemas.d.ts +539 -15
- package/dist/esm/compliance/documents/governed-documents.shared.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/documents/governed-documents.shared.schemas.js +402 -14
- package/dist/esm/compliance/documents/governed-documents.shared.schemas.js.map +1 -1
- package/dist/esm/compliance/documents/user-governed-document-acceptances.shared.resources-config.schemas.d.ts +18 -0
- package/dist/esm/compliance/documents/user-governed-document-acceptances.shared.resources-config.schemas.d.ts.map +1 -0
- package/dist/esm/compliance/documents/user-governed-document-acceptances.shared.resources-config.schemas.js +89 -0
- package/dist/esm/compliance/documents/user-governed-document-acceptances.shared.resources-config.schemas.js.map +1 -0
- package/dist/esm/compliance/documents/user-governed-document-acceptances.shared.schemas.d.ts +47 -0
- package/dist/esm/compliance/documents/user-governed-document-acceptances.shared.schemas.d.ts.map +1 -0
- package/dist/esm/compliance/documents/user-governed-document-acceptances.shared.schemas.js +73 -0
- package/dist/esm/compliance/documents/user-governed-document-acceptances.shared.schemas.js.map +1 -0
- package/dist/esm/compliance/privacy/ai-use-posture.shared.schemas.d.ts +21 -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 +39 -1
- package/dist/esm/compliance/privacy/ai-use-posture.shared.schemas.js.map +1 -1
- package/dist/esm/compliance/privacy/capability-consent-purposes.shared.utils.d.ts +33 -0
- package/dist/esm/compliance/privacy/capability-consent-purposes.shared.utils.d.ts.map +1 -0
- package/dist/esm/compliance/privacy/capability-consent-purposes.shared.utils.js +30 -0
- package/dist/esm/compliance/privacy/capability-consent-purposes.shared.utils.js.map +1 -0
- package/dist/esm/compliance/privacy/client-storage.shared.schemas.d.ts +6 -5
- package/dist/esm/compliance/privacy/client-storage.shared.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/privacy/client-storage.shared.schemas.js +15 -5
- package/dist/esm/compliance/privacy/client-storage.shared.schemas.js.map +1 -1
- package/dist/esm/compliance/privacy/consent-gate-vocabulary.shared.schemas.d.ts +127 -0
- package/dist/esm/compliance/privacy/consent-gate-vocabulary.shared.schemas.d.ts.map +1 -0
- package/dist/esm/compliance/privacy/consent-gate-vocabulary.shared.schemas.js +94 -0
- package/dist/esm/compliance/privacy/consent-gate-vocabulary.shared.schemas.js.map +1 -0
- package/dist/esm/compliance/privacy/consent-purposes.shared.d.ts +125 -0
- package/dist/esm/compliance/privacy/consent-purposes.shared.d.ts.map +1 -0
- package/dist/esm/compliance/privacy/consent-purposes.shared.js +136 -0
- package/dist/esm/compliance/privacy/consent-purposes.shared.js.map +1 -0
- package/dist/esm/compliance/privacy/data-subject-rights.shared.schemas.d.ts +91 -0
- package/dist/esm/compliance/privacy/data-subject-rights.shared.schemas.d.ts.map +1 -0
- package/dist/esm/compliance/privacy/data-subject-rights.shared.schemas.js +123 -0
- package/dist/esm/compliance/privacy/data-subject-rights.shared.schemas.js.map +1 -0
- package/dist/esm/compliance/privacy/operating-jurisdictions.shared.schemas.d.ts +27 -0
- package/dist/esm/compliance/privacy/operating-jurisdictions.shared.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/privacy/operating-jurisdictions.shared.schemas.js +36 -2
- package/dist/esm/compliance/privacy/operating-jurisdictions.shared.schemas.js.map +1 -1
- package/dist/esm/compliance/privacy/operator-compliance-identity.shared.schemas.d.ts +68 -25
- 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 +74 -22
- package/dist/esm/compliance/privacy/operator-compliance-identity.shared.schemas.js.map +1 -1
- package/dist/esm/compliance/privacy/privacy.shared.schemas.d.ts +9 -17
- package/dist/esm/compliance/privacy/privacy.shared.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/privacy/privacy.shared.schemas.js +74 -31
- package/dist/esm/compliance/privacy/privacy.shared.schemas.js.map +1 -1
- package/dist/esm/compliance/privacy/subject-erasure-lane-evidence.shared.schemas.d.ts +47 -0
- package/dist/esm/compliance/privacy/subject-erasure-lane-evidence.shared.schemas.d.ts.map +1 -0
- package/dist/esm/compliance/privacy/subject-erasure-lane-evidence.shared.schemas.js +98 -0
- package/dist/esm/compliance/privacy/subject-erasure-lane-evidence.shared.schemas.js.map +1 -0
- package/dist/esm/compliance/privacy/subject-erasure.shared.schemas.d.ts +368 -35
- package/dist/esm/compliance/privacy/subject-erasure.shared.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/privacy/subject-erasure.shared.schemas.js +403 -17
- package/dist/esm/compliance/privacy/subject-erasure.shared.schemas.js.map +1 -1
- package/dist/esm/compliance/review-cadence.shared.schemas.d.ts +56 -0
- package/dist/esm/compliance/review-cadence.shared.schemas.d.ts.map +1 -0
- package/dist/esm/compliance/review-cadence.shared.schemas.js +71 -0
- package/dist/esm/compliance/review-cadence.shared.schemas.js.map +1 -0
- package/dist/esm/compliance/risk-posture.shared.schemas.d.ts +161 -0
- package/dist/esm/compliance/risk-posture.shared.schemas.d.ts.map +1 -0
- package/dist/esm/compliance/risk-posture.shared.schemas.js +166 -0
- package/dist/esm/compliance/risk-posture.shared.schemas.js.map +1 -0
- package/dist/esm/config/analytics-value-moments.shared.schemas.d.ts +4 -3
- package/dist/esm/config/analytics-value-moments.shared.schemas.d.ts.map +1 -1
- package/dist/esm/config/analytics-value-moments.shared.schemas.js +4 -3
- package/dist/esm/config/analytics-value-moments.shared.schemas.js.map +1 -1
- package/dist/esm/config/app-configuration-shared.shared.schemas.d.ts +222 -9
- package/dist/esm/config/app-configuration-shared.shared.schemas.d.ts.map +1 -1
- package/dist/esm/config/app-configuration-shared.shared.schemas.js +232 -9
- package/dist/esm/config/app-configuration-shared.shared.schemas.js.map +1 -1
- package/dist/esm/config/auth-config-resolution.shared.utils.d.ts +75 -3
- package/dist/esm/config/auth-config-resolution.shared.utils.d.ts.map +1 -1
- package/dist/esm/config/auth-config-resolution.shared.utils.js +93 -4
- package/dist/esm/config/auth-config-resolution.shared.utils.js.map +1 -1
- package/dist/esm/config/brand-assets.shared.schemas.d.ts +5 -4
- package/dist/esm/config/brand-assets.shared.schemas.d.ts.map +1 -1
- package/dist/esm/config/brand-assets.shared.schemas.js +14 -4
- package/dist/esm/config/brand-assets.shared.schemas.js.map +1 -1
- package/dist/esm/config/entity-identity-config.shared.schemas.d.ts +463 -19
- package/dist/esm/config/entity-identity-config.shared.schemas.d.ts.map +1 -1
- package/dist/esm/config/entity-identity-config.shared.schemas.js +535 -28
- package/dist/esm/config/entity-identity-config.shared.schemas.js.map +1 -1
- package/dist/esm/config/frontend/chart-definition.shared.schemas.d.ts +14 -14
- package/dist/esm/config/frontend/chart-registration-alignment.shared.d.ts +139 -3
- package/dist/esm/config/frontend/chart-registration-alignment.shared.d.ts.map +1 -1
- package/dist/esm/config/frontend/chart-registration-alignment.shared.js +151 -4
- package/dist/esm/config/frontend/chart-registration-alignment.shared.js.map +1 -1
- package/dist/esm/config/frontend/navigation.shared.schemas.d.ts +21 -17
- package/dist/esm/config/frontend/navigation.shared.schemas.d.ts.map +1 -1
- package/dist/esm/config/frontend/navigation.shared.schemas.js +58 -40
- package/dist/esm/config/frontend/navigation.shared.schemas.js.map +1 -1
- package/dist/esm/config/frontend/onboarding.shared.schemas.d.ts +90 -133
- package/dist/esm/config/frontend/onboarding.shared.schemas.d.ts.map +1 -1
- package/dist/esm/config/frontend/onboarding.shared.schemas.js +148 -100
- package/dist/esm/config/frontend/onboarding.shared.schemas.js.map +1 -1
- package/dist/esm/errors/errors.custom-message-ref.shared.definitions.d.ts +146 -43
- 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 +147 -42
- package/dist/esm/errors/errors.custom-message-ref.shared.definitions.js.map +1 -1
- package/dist/esm/errors/errors.shared.definitions.js +1 -1
- package/dist/esm/errors/errors.shared.definitions.js.map +1 -1
- package/dist/esm/errors/errors.shared.schemas.d.ts +29 -40
- package/dist/esm/errors/errors.shared.schemas.d.ts.map +1 -1
- package/dist/esm/errors/errors.shared.schemas.js +37 -54
- package/dist/esm/errors/errors.shared.schemas.js.map +1 -1
- package/dist/esm/errors/errors.shared.utils.d.ts +24 -0
- package/dist/esm/errors/errors.shared.utils.d.ts.map +1 -1
- package/dist/esm/errors/errors.shared.utils.js +39 -0
- package/dist/esm/errors/errors.shared.utils.js.map +1 -1
- package/dist/esm/errors/thrown-value-description.shared.utils.d.ts +27 -0
- package/dist/esm/errors/thrown-value-description.shared.utils.d.ts.map +1 -0
- package/dist/esm/errors/thrown-value-description.shared.utils.js +67 -0
- package/dist/esm/errors/thrown-value-description.shared.utils.js.map +1 -0
- package/dist/esm/external-data/external-data-pipeline.shared.schemas.d.ts +48 -73
- 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 +103 -9
- package/dist/esm/external-data/external-data-pipeline.shared.schemas.js.map +1 -1
- package/dist/esm/external-data.exports.d.ts +1 -0
- package/dist/esm/external-data.exports.d.ts.map +1 -1
- package/dist/esm/external-data.exports.js +1 -0
- package/dist/esm/external-data.exports.js.map +1 -1
- package/dist/esm/external-providers/engine-capabilities.shared.schemas.d.ts +18 -12
- package/dist/esm/external-providers/engine-capabilities.shared.schemas.d.ts.map +1 -1
- package/dist/esm/external-providers/engine-capabilities.shared.schemas.js +18 -12
- 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 +5 -3
- 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 +5 -3
- 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 +77 -0
- package/dist/esm/external-providers/engine-capability-surface.shared.d.ts.map +1 -0
- package/dist/esm/external-providers/engine-capability-surface.shared.js +173 -0
- package/dist/esm/external-providers/engine-capability-surface.shared.js.map +1 -0
- package/dist/esm/external-providers/external-providers.shared.schemas.d.ts +2 -0
- package/dist/esm/external-providers/external-providers.shared.schemas.d.ts.map +1 -1
- package/dist/esm/external-providers/external-providers.shared.schemas.js +21 -0
- package/dist/esm/external-providers/external-providers.shared.schemas.js.map +1 -1
- package/dist/esm/external-providers/frontend-bootstrap.shared.schemas.d.ts +131 -7
- 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 +114 -0
- 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 +148 -0
- package/dist/esm/external-providers/frontend-capability-public-config.shared.schemas.js.map +1 -1
- package/dist/esm/external-providers/frontend-provider-entry.shared.schemas.d.ts +108 -0
- 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 +86 -0
- 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 +184 -0
- package/dist/esm/external-providers/frontend-provider-public-config.shared.d.ts.map +1 -0
- package/dist/esm/external-providers/frontend-provider-public-config.shared.js +216 -0
- package/dist/esm/external-providers/frontend-provider-public-config.shared.js.map +1 -0
- package/dist/esm/external-providers/provider-authentication-assurance.shared.schemas.d.ts +30 -0
- package/dist/esm/external-providers/provider-authentication-assurance.shared.schemas.d.ts.map +1 -0
- package/dist/esm/external-providers/provider-authentication-assurance.shared.schemas.js +32 -0
- package/dist/esm/external-providers/provider-authentication-assurance.shared.schemas.js.map +1 -0
- package/dist/esm/external-providers/provider-browser-operations.shared.schemas.d.ts +86 -0
- package/dist/esm/external-providers/provider-browser-operations.shared.schemas.d.ts.map +1 -0
- package/dist/esm/external-providers/provider-browser-operations.shared.schemas.js +85 -0
- package/dist/esm/external-providers/provider-browser-operations.shared.schemas.js.map +1 -0
- package/dist/esm/external-providers/provider-capability.shared.schemas.d.ts +14 -13
- package/dist/esm/external-providers/provider-capability.shared.schemas.d.ts.map +1 -1
- package/dist/esm/external-providers/provider-capability.shared.schemas.js +10 -10
- 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 +18 -8
- 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 +10 -4
- 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 +165 -0
- package/dist/esm/external-providers/provider-frontend-component-contract.shared.types.d.ts.map +1 -0
- package/dist/esm/external-providers/provider-frontend-component-contract.shared.types.js +39 -0
- package/dist/esm/external-providers/provider-frontend-component-contract.shared.types.js.map +1 -0
- package/dist/esm/external-providers/provider-frontend-surface.shared.schemas.d.ts +7 -5
- 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 +7 -5
- 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 +8 -5
- package/dist/esm/external-providers/provider-metadata.shared.schemas.d.ts.map +1 -1
- package/dist/esm/external-providers/provider-metadata.shared.schemas.js +5 -2
- package/dist/esm/external-providers/provider-metadata.shared.schemas.js.map +1 -1
- package/dist/esm/features/application-features.shared.resources-config.schemas.d.ts +2 -0
- 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 +42 -3
- package/dist/esm/features/application-features.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/features/connected-feature.example.d.ts +64 -0
- package/dist/esm/features/connected-feature.example.d.ts.map +1 -0
- package/dist/esm/features/connected-feature.example.js +86 -0
- package/dist/esm/features/connected-feature.example.js.map +1 -0
- package/dist/esm/features/scope-features.shared.schemas.d.ts +53 -0
- package/dist/esm/features/scope-features.shared.schemas.d.ts.map +1 -1
- package/dist/esm/features/scope-features.shared.schemas.js +37 -0
- package/dist/esm/features/scope-features.shared.schemas.js.map +1 -1
- package/dist/esm/features/user-features.shared.resources-config.schemas.d.ts +1 -1
- package/dist/esm/features/user-features.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/features/user-features.shared.resources-config.schemas.js +42 -48
- package/dist/esm/features/user-features.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/files/file-remote-reference-link.shared.schemas.d.ts +73 -0
- package/dist/esm/files/file-remote-reference-link.shared.schemas.d.ts.map +1 -0
- package/dist/esm/files/file-remote-reference-link.shared.schemas.js +62 -0
- package/dist/esm/files/file-remote-reference-link.shared.schemas.js.map +1 -0
- package/dist/esm/files/files.shared.resources-config.schemas.d.ts +3 -3
- package/dist/esm/files/files.shared.resources-config.schemas.js +3 -3
- package/dist/esm/files/files.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/flows-actors/actors.shared.schemas.d.ts +152 -129
- package/dist/esm/flows-actors/actors.shared.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/actors.shared.schemas.js +99 -2
- package/dist/esm/flows-actors/actors.shared.schemas.js.map +1 -1
- package/dist/esm/flows-actors/agent-traceability.shared.schemas.d.ts +6 -0
- package/dist/esm/flows-actors/agent-traceability.shared.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/agents.shared.schemas.d.ts +3 -3
- package/dist/esm/flows-actors/agents.shared.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/agents.shared.schemas.js +11 -5
- package/dist/esm/flows-actors/agents.shared.schemas.js.map +1 -1
- package/dist/esm/flows-actors/deliberation.shared.schemas.d.ts +13 -0
- package/dist/esm/flows-actors/deliberation.shared.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/deliberation.shared.schemas.js.map +1 -1
- package/dist/esm/flows-actors/execution-plan-readiness.shared.utils.d.ts +45 -0
- package/dist/esm/flows-actors/execution-plan-readiness.shared.utils.d.ts.map +1 -0
- package/dist/esm/flows-actors/execution-plan-readiness.shared.utils.js +51 -0
- package/dist/esm/flows-actors/execution-plan-readiness.shared.utils.js.map +1 -0
- package/dist/esm/flows-actors/flows-actors-execution.shared.schemas.d.ts +31 -0
- 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 +61 -3
- package/dist/esm/flows-actors/flows-actors-execution.shared.schemas.js.map +1 -1
- package/dist/esm/flows-actors/flows-actors-task.shared.schemas.d.ts +2 -2
- package/dist/esm/flows-actors/flows-actors.commons.shared.schemas.d.ts +16 -8
- 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 +23 -11
- 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 -189
- 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 +14 -50
- 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 +0 -3
- 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 +0 -1
- package/dist/esm/flows-actors/flows-actors.frontend.shared.schemas.js.map +1 -1
- package/dist/esm/flows-actors/flows-actors.system.shared.schemas.d.ts +1 -67
- package/dist/esm/flows-actors/flows-actors.system.shared.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/flows-actors.system.shared.schemas.js +1 -2
- package/dist/esm/flows-actors/flows-actors.system.shared.schemas.js.map +1 -1
- package/dist/esm/flows-actors/flows.shared.schemas.d.ts +0 -1
- package/dist/esm/flows-actors/flows.shared.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/human-decision.shared.schemas.d.ts +121 -0
- package/dist/esm/flows-actors/human-decision.shared.schemas.d.ts.map +1 -0
- package/dist/esm/flows-actors/human-decision.shared.schemas.js +252 -0
- package/dist/esm/flows-actors/human-decision.shared.schemas.js.map +1 -0
- package/dist/esm/flows-actors/mcp-servers.shared.schemas.d.ts +2 -0
- package/dist/esm/flows-actors/mcp-servers.shared.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/mcp-servers.shared.schemas.js +13 -0
- package/dist/esm/flows-actors/mcp-servers.shared.schemas.js.map +1 -1
- package/dist/esm/flows-actors/provider-call-records.shared.resources-config.schemas.d.ts +24 -0
- package/dist/esm/flows-actors/provider-call-records.shared.resources-config.schemas.d.ts.map +1 -0
- package/dist/esm/flows-actors/provider-call-records.shared.resources-config.schemas.js +80 -0
- package/dist/esm/flows-actors/provider-call-records.shared.resources-config.schemas.js.map +1 -0
- package/dist/esm/flows-actors/provider-call-records.shared.schemas.d.ts +123 -0
- package/dist/esm/flows-actors/provider-call-records.shared.schemas.d.ts.map +1 -0
- package/dist/esm/flows-actors/provider-call-records.shared.schemas.js +181 -0
- package/dist/esm/flows-actors/provider-call-records.shared.schemas.js.map +1 -0
- package/dist/esm/flows-actors/tasks.actors.shared.schemas.d.ts +58 -81
- package/dist/esm/flows-actors/tasks.actors.shared.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/tasks.actors.shared.schemas.js +75 -38
- package/dist/esm/flows-actors/tasks.actors.shared.schemas.js.map +1 -1
- package/dist/esm/frontend-definitions/settings-destination-ref.definitions.d.ts +217 -0
- package/dist/esm/frontend-definitions/settings-destination-ref.definitions.d.ts.map +1 -0
- package/dist/esm/frontend-definitions/settings-destination-ref.definitions.js +230 -0
- package/dist/esm/frontend-definitions/settings-destination-ref.definitions.js.map +1 -0
- package/dist/esm/guidance/guidance-flow.shared.schemas.d.ts +106 -24
- package/dist/esm/guidance/guidance-flow.shared.schemas.d.ts.map +1 -1
- package/dist/esm/guidance/guidance-flow.shared.schemas.js +152 -14
- package/dist/esm/guidance/guidance-flow.shared.schemas.js.map +1 -1
- package/dist/esm/guidance/lifecycle-state.shared.schemas.d.ts +0 -6
- package/dist/esm/guidance/lifecycle-state.shared.schemas.d.ts.map +1 -1
- package/dist/esm/guidance/lifecycle-state.shared.schemas.js +0 -19
- package/dist/esm/guidance/lifecycle-state.shared.schemas.js.map +1 -1
- package/dist/esm/guidance/milestone-builders.shared.d.ts +4 -2
- package/dist/esm/guidance/milestone-builders.shared.d.ts.map +1 -1
- package/dist/esm/guidance/milestone-builders.shared.js +4 -2
- package/dist/esm/guidance/milestone-builders.shared.js.map +1 -1
- package/dist/esm/guidance/milestone-definition.shared.schemas.d.ts +66 -4
- package/dist/esm/guidance/milestone-definition.shared.schemas.d.ts.map +1 -1
- package/dist/esm/guidance/milestone-definition.shared.schemas.js +50 -0
- package/dist/esm/guidance/milestone-definition.shared.schemas.js.map +1 -1
- package/dist/esm/guidance/progression-presentation.shared.schemas.d.ts +71 -0
- package/dist/esm/guidance/progression-presentation.shared.schemas.d.ts.map +1 -0
- package/dist/esm/guidance/progression-presentation.shared.schemas.js +72 -0
- package/dist/esm/guidance/progression-presentation.shared.schemas.js.map +1 -0
- package/dist/esm/guidance/progression-state.shared.resources-config.schemas.d.ts +2 -0
- package/dist/esm/guidance/progression-state.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/guidance/progression-state.shared.schemas.d.ts +4 -0
- package/dist/esm/guidance/progression-state.shared.schemas.d.ts.map +1 -1
- package/dist/esm/guidance/progression-state.shared.schemas.js +5 -0
- package/dist/esm/guidance/progression-state.shared.schemas.js.map +1 -1
- package/dist/esm/http-api-binding/http-api-binding-id.shared.utils.d.ts.map +1 -1
- package/dist/esm/http-api-binding/http-api-binding-id.shared.utils.js +2 -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 +181 -412
- 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 +249 -199
- package/dist/esm/http-api-binding/http-api-binding.shared.schemas.js.map +1 -1
- package/dist/esm/http-api-binding/http-api-transport-dialect.shared.d.ts +107 -0
- package/dist/esm/http-api-binding/http-api-transport-dialect.shared.d.ts.map +1 -0
- package/dist/esm/http-api-binding/http-api-transport-dialect.shared.js +108 -0
- package/dist/esm/http-api-binding/http-api-transport-dialect.shared.js.map +1 -0
- package/dist/esm/http-api-binding/read-through-engine-anchors.shared.d.ts +38 -0
- package/dist/esm/http-api-binding/read-through-engine-anchors.shared.d.ts.map +1 -0
- package/dist/esm/http-api-binding/read-through-engine-anchors.shared.js +42 -0
- package/dist/esm/http-api-binding/read-through-engine-anchors.shared.js.map +1 -0
- package/dist/esm/index.d.ts +47 -4
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +77 -16
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/meta-workflows/actions.meta-workflows.shared.schemas.d.ts.map +1 -0
- package/dist/esm/meta-workflows/actions.meta-workflows.shared.schemas.js.map +1 -0
- package/dist/esm/meta-workflows/catalog.meta-workflows.shared.schemas.d.ts.map +1 -0
- package/dist/esm/meta-workflows/catalog.meta-workflows.shared.schemas.js.map +1 -0
- package/dist/esm/meta-workflows/coding-tasks.meta-workflows.shared.schemas.d.ts +130 -0
- package/dist/esm/meta-workflows/coding-tasks.meta-workflows.shared.schemas.d.ts.map +1 -0
- package/dist/esm/meta-workflows/coding-tasks.meta-workflows.shared.schemas.js +104 -0
- package/dist/esm/meta-workflows/coding-tasks.meta-workflows.shared.schemas.js.map +1 -0
- package/dist/esm/meta-workflows/context-selection.meta-workflows.shared.schemas.d.ts.map +1 -0
- package/dist/esm/meta-workflows/context-selection.meta-workflows.shared.schemas.js.map +1 -0
- package/dist/esm/{flows-actors/meta-workflows → meta-workflows}/decisions.meta-workflows.shared.schemas.d.ts +64 -0
- package/dist/esm/meta-workflows/decisions.meta-workflows.shared.schemas.d.ts.map +1 -0
- package/dist/esm/{flows-actors/meta-workflows → meta-workflows}/decisions.meta-workflows.shared.schemas.js +47 -0
- package/dist/esm/meta-workflows/decisions.meta-workflows.shared.schemas.js.map +1 -0
- package/dist/esm/meta-workflows/orchestration.meta-workflows.shared.schemas.d.ts +544 -0
- package/dist/esm/meta-workflows/orchestration.meta-workflows.shared.schemas.d.ts.map +1 -0
- package/dist/esm/meta-workflows/orchestration.meta-workflows.shared.schemas.js +638 -0
- package/dist/esm/meta-workflows/orchestration.meta-workflows.shared.schemas.js.map +1 -0
- package/dist/esm/{flows-actors/meta-workflows → meta-workflows}/portable-primitives.meta-workflows.shared.schemas.d.ts +15 -8
- package/dist/esm/meta-workflows/portable-primitives.meta-workflows.shared.schemas.d.ts.map +1 -0
- package/dist/esm/{flows-actors/meta-workflows → meta-workflows}/portable-primitives.meta-workflows.shared.schemas.js +15 -8
- package/dist/esm/meta-workflows/portable-primitives.meta-workflows.shared.schemas.js.map +1 -0
- package/dist/esm/meta-workflows.exports.d.ts +21 -25
- package/dist/esm/meta-workflows.exports.d.ts.map +1 -1
- package/dist/esm/meta-workflows.exports.js +21 -25
- package/dist/esm/meta-workflows.exports.js.map +1 -1
- package/dist/esm/notifications/email/email-submission.shared.enums.d.ts +16 -0
- package/dist/esm/notifications/email/email-submission.shared.enums.d.ts.map +1 -0
- package/dist/esm/notifications/email/email-submission.shared.enums.js +17 -0
- package/dist/esm/notifications/email/email-submission.shared.enums.js.map +1 -0
- package/dist/esm/notifications/email/email-template-registry.shared.schemas.d.ts +36 -0
- 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 +50 -3
- package/dist/esm/notifications/email/email-template-registry.shared.schemas.js.map +1 -1
- package/dist/esm/notifications/m2m/m2m-webhook-delivery-log.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/notifications/m2m/m2m-webhook-delivery-log.shared.resources-config.schemas.js +4 -1
- package/dist/esm/notifications/m2m/m2m-webhook-delivery-log.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/notifications/m2m/m2m-webhook-delivery-log.shared.schemas.d.ts +2 -1
- package/dist/esm/notifications/m2m/m2m-webhook-delivery-log.shared.schemas.d.ts.map +1 -1
- package/dist/esm/notifications/m2m/m2m-webhook-delivery-log.shared.schemas.js +3 -2
- package/dist/esm/notifications/m2m/m2m-webhook-delivery-log.shared.schemas.js.map +1 -1
- package/dist/esm/notifications/m2m/webhook-config.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/notifications/m2m/webhook-config.shared.resources-config.schemas.js +44 -3
- package/dist/esm/notifications/m2m/webhook-config.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/notifications/notification-badges.shared.resources-config.schemas.d.ts +1 -1
- package/dist/esm/notifications/notification-badges.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/notifications/notification-badges.shared.resources-config.schemas.js +12 -33
- package/dist/esm/notifications/notification-badges.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/notifications/notifications.shared.schemas.d.ts +68 -6
- package/dist/esm/notifications/notifications.shared.schemas.d.ts.map +1 -1
- package/dist/esm/notifications/notifications.shared.schemas.js +68 -6
- package/dist/esm/notifications/notifications.shared.schemas.js.map +1 -1
- package/dist/esm/organizations/application-owner-organization.shared.schemas.d.ts +145 -0
- package/dist/esm/organizations/application-owner-organization.shared.schemas.d.ts.map +1 -0
- package/dist/esm/organizations/application-owner-organization.shared.schemas.js +146 -0
- package/dist/esm/organizations/application-owner-organization.shared.schemas.js.map +1 -0
- package/dist/esm/organizations/organization-features.shared.resources-config.schemas.d.ts +2 -0
- package/dist/esm/organizations/organization-features.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/organizations/organization-features.shared.resources-config.schemas.js +39 -3
- 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 +1 -1
- 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 +18 -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 +1 -1
- package/dist/esm/organizations/organization-members.shared.schemas.d.ts.map +1 -1
- package/dist/esm/organizations/organization-members.shared.schemas.js +9 -1
- package/dist/esm/organizations/organization-members.shared.schemas.js.map +1 -1
- package/dist/esm/organizations/organization-preferences.shared.schemas.d.ts +2 -1
- package/dist/esm/organizations/organization-preferences.shared.schemas.d.ts.map +1 -1
- package/dist/esm/organizations/organization-preferences.shared.schemas.js +3 -0
- package/dist/esm/organizations/organization-preferences.shared.schemas.js.map +1 -1
- package/dist/esm/organizations/organization-profile.shared.schemas.d.ts +3 -1
- package/dist/esm/organizations/organization-profile.shared.schemas.d.ts.map +1 -1
- package/dist/esm/organizations/organization-profile.shared.schemas.js +4 -2
- package/dist/esm/organizations/organization-profile.shared.schemas.js.map +1 -1
- package/dist/esm/organizations/organization-unit-narrowing.shared.d.ts +29 -2
- package/dist/esm/organizations/organization-unit-narrowing.shared.d.ts.map +1 -1
- package/dist/esm/organizations/organization-unit-narrowing.shared.js +27 -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 +2 -0
- 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 +3 -0
- package/dist/esm/organizations/organization-units.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/organizations/organization-units.shared.schemas.d.ts +17 -5
- package/dist/esm/organizations/organization-units.shared.schemas.d.ts.map +1 -1
- package/dist/esm/organizations/organization-units.shared.schemas.js +65 -5
- package/dist/esm/organizations/organization-units.shared.schemas.js.map +1 -1
- package/dist/esm/organizations/organizations.shared.resources-config.schemas.d.ts +51 -7
- package/dist/esm/organizations/organizations.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/organizations/organizations.shared.resources-config.schemas.js +151 -7
- package/dist/esm/organizations/organizations.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/organizations/organizations.shared.schemas.d.ts +18 -83
- package/dist/esm/organizations/organizations.shared.schemas.d.ts.map +1 -1
- package/dist/esm/organizations/organizations.shared.schemas.js +37 -19
- package/dist/esm/organizations/organizations.shared.schemas.js.map +1 -1
- package/dist/esm/organizations/tenant-teardown-config.shared.schemas.d.ts +13 -0
- package/dist/esm/organizations/tenant-teardown-config.shared.schemas.d.ts.map +1 -1
- package/dist/esm/organizations/tenant-teardown-config.shared.schemas.js +13 -0
- package/dist/esm/organizations/tenant-teardown-config.shared.schemas.js.map +1 -1
- package/dist/esm/provider-registration-runtime.exports.d.ts +1 -0
- package/dist/esm/provider-registration-runtime.exports.d.ts.map +1 -1
- package/dist/esm/provider-registration-runtime.exports.js +1 -0
- package/dist/esm/provider-registration-runtime.exports.js.map +1 -1
- package/dist/esm/public-runtime/index.d.ts +53 -2
- package/dist/esm/public-runtime/index.d.ts.map +1 -1
- package/dist/esm/public-runtime/index.js +45 -2
- package/dist/esm/public-runtime/index.js.map +1 -1
- package/dist/esm/queue/jobs.shared.resources-config.schemas.d.ts +7 -8
- package/dist/esm/queue/jobs.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/queue/jobs.shared.resources-config.schemas.js +30 -6
- package/dist/esm/queue/jobs.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/queue/jobs.shared.schemas.d.ts +388 -2
- package/dist/esm/queue/jobs.shared.schemas.d.ts.map +1 -1
- package/dist/esm/queue/jobs.shared.schemas.js +315 -11
- package/dist/esm/queue/jobs.shared.schemas.js.map +1 -1
- package/dist/esm/queue/jobs.shared.utils.d.ts +6 -4
- package/dist/esm/queue/jobs.shared.utils.d.ts.map +1 -1
- package/dist/esm/queue/jobs.shared.utils.js +5 -4
- package/dist/esm/queue/jobs.shared.utils.js.map +1 -1
- package/dist/esm/queue/queues.shared.schemas.d.ts +20 -8
- package/dist/esm/queue/queues.shared.schemas.d.ts.map +1 -1
- package/dist/esm/queue/queues.shared.schemas.js +23 -18
- package/dist/esm/queue/queues.shared.schemas.js.map +1 -1
- package/dist/esm/queue/queues.shared.utils.d.ts +4 -2
- package/dist/esm/queue/queues.shared.utils.d.ts.map +1 -1
- package/dist/esm/queue/queues.shared.utils.js +4 -2
- package/dist/esm/queue/queues.shared.utils.js.map +1 -1
- package/dist/esm/rag/rag-retrieval-health.shared.d.ts +27 -0
- package/dist/esm/rag/rag-retrieval-health.shared.d.ts.map +1 -0
- package/dist/esm/rag/rag-retrieval-health.shared.js +29 -0
- package/dist/esm/rag/rag-retrieval-health.shared.js.map +1 -0
- 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/idempotency-key.shared.d.ts +76 -0
- package/dist/esm/requests/idempotency-key.shared.d.ts.map +1 -0
- package/dist/esm/requests/idempotency-key.shared.js +112 -0
- package/dist/esm/requests/idempotency-key.shared.js.map +1 -0
- package/dist/esm/requests/manual-controllers-routes-documentation.d.ts.map +1 -1
- package/dist/esm/requests/manual-controllers-routes-documentation.js +275 -20
- package/dist/esm/requests/manual-controllers-routes-documentation.js.map +1 -1
- package/dist/esm/requests/manual-controllers-routes-urls.d.ts +134 -0
- package/dist/esm/requests/manual-controllers-routes-urls.d.ts.map +1 -1
- package/dist/esm/requests/manual-controllers-routes-urls.js +153 -0
- package/dist/esm/requests/manual-controllers-routes-urls.js.map +1 -1
- package/dist/esm/requests/websocket.shared.schemas.d.ts +198 -20
- package/dist/esm/requests/websocket.shared.schemas.d.ts.map +1 -1
- package/dist/esm/requests/websocket.shared.schemas.js +236 -5
- package/dist/esm/requests/websocket.shared.schemas.js.map +1 -1
- package/dist/esm/resources/child-operations.shared.schemas.d.ts +56 -5
- package/dist/esm/resources/child-operations.shared.schemas.d.ts.map +1 -1
- package/dist/esm/resources/child-operations.shared.schemas.js +97 -5
- package/dist/esm/resources/child-operations.shared.schemas.js.map +1 -1
- package/dist/esm/resources/context-policy.shared.schemas.d.ts +20 -0
- package/dist/esm/resources/context-policy.shared.schemas.d.ts.map +1 -1
- package/dist/esm/resources/context-policy.shared.schemas.js +3 -0
- package/dist/esm/resources/context-policy.shared.schemas.js.map +1 -1
- package/dist/esm/resources/resources-config.shared.factory.d.ts.map +1 -1
- package/dist/esm/resources/resources-config.shared.factory.js +596 -34
- package/dist/esm/resources/resources-config.shared.factory.js.map +1 -1
- package/dist/esm/resources/resources-config.shared.schemas.d.ts +665 -40
- package/dist/esm/resources/resources-config.shared.schemas.d.ts.map +1 -1
- package/dist/esm/resources/resources-config.shared.schemas.js +315 -22
- 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 +431 -69
- package/dist/esm/resources/resources-registry.shared.core.definitions.js.map +1 -1
- package/dist/esm/resources/resources.shared.core.definitions.d.ts +36 -0
- package/dist/esm/resources/resources.shared.core.definitions.d.ts.map +1 -1
- package/dist/esm/resources/resources.shared.core.definitions.js +46 -0
- package/dist/esm/resources/resources.shared.core.definitions.js.map +1 -1
- package/dist/esm/resources/resources.shared.schemas.d.ts +256 -10
- package/dist/esm/resources/resources.shared.schemas.d.ts.map +1 -1
- package/dist/esm/resources/resources.shared.schemas.js +209 -9
- package/dist/esm/resources/resources.shared.schemas.js.map +1 -1
- package/dist/esm/resources/resources.shared.utils.d.ts +34 -8
- package/dist/esm/resources/resources.shared.utils.d.ts.map +1 -1
- package/dist/esm/resources/resources.shared.utils.js +69 -12
- package/dist/esm/resources/resources.shared.utils.js.map +1 -1
- package/dist/esm/resources/utils/composition-cascade-deletability.validation.d.ts +44 -12
- package/dist/esm/resources/utils/composition-cascade-deletability.validation.d.ts.map +1 -1
- package/dist/esm/resources/utils/composition-cascade-deletability.validation.js +46 -23
- package/dist/esm/resources/utils/composition-cascade-deletability.validation.js.map +1 -1
- package/dist/esm/resources/utils/dependent-lifecycle-classification.validation.d.ts +61 -0
- package/dist/esm/resources/utils/dependent-lifecycle-classification.validation.d.ts.map +1 -0
- package/dist/esm/resources/utils/dependent-lifecycle-classification.validation.js +79 -0
- package/dist/esm/resources/utils/dependent-lifecycle-classification.validation.js.map +1 -0
- package/dist/esm/resources/utils/initiator-stamped-field-satisfiability.validation.d.ts +60 -0
- package/dist/esm/resources/utils/initiator-stamped-field-satisfiability.validation.d.ts.map +1 -0
- package/dist/esm/resources/utils/initiator-stamped-field-satisfiability.validation.js +80 -0
- package/dist/esm/resources/utils/initiator-stamped-field-satisfiability.validation.js.map +1 -0
- package/dist/esm/resources/utils/populated-file-fields.shared.utils.d.ts +21 -0
- package/dist/esm/resources/utils/populated-file-fields.shared.utils.d.ts.map +1 -0
- package/dist/esm/resources/utils/populated-file-fields.shared.utils.js +159 -0
- package/dist/esm/resources/utils/populated-file-fields.shared.utils.js.map +1 -0
- package/dist/esm/resources/utils/resources-config-naming.utils.d.ts +15 -0
- package/dist/esm/resources/utils/resources-config-naming.utils.d.ts.map +1 -1
- package/dist/esm/resources/utils/resources-config-naming.utils.js +56 -11
- package/dist/esm/resources/utils/resources-config-naming.utils.js.map +1 -1
- package/dist/esm/resources/utils/resources-config-operations.dtos-builder.utils.d.ts +51 -1
- 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 +210 -51
- package/dist/esm/resources/utils/resources-config-operations.dtos-builder.utils.js.map +1 -1
- package/dist/esm/resources/utils/resources-config-operations.urls-builder.utils.d.ts +34 -0
- package/dist/esm/resources/utils/resources-config-operations.urls-builder.utils.d.ts.map +1 -1
- package/dist/esm/resources/utils/resources-config-operations.urls-builder.utils.js +45 -1
- package/dist/esm/resources/utils/resources-config-operations.urls-builder.utils.js.map +1 -1
- package/dist/esm/resources/utils/shared-persistence-collection.utils.d.ts +29 -0
- package/dist/esm/resources/utils/shared-persistence-collection.utils.d.ts.map +1 -1
- package/dist/esm/resources/utils/shared-persistence-collection.utils.js +30 -0
- package/dist/esm/resources/utils/shared-persistence-collection.utils.js.map +1 -1
- package/dist/esm/resources/utils/templatable-file-fields.shared.utils.d.ts.map +1 -1
- package/dist/esm/resources/utils/templatable-file-fields.shared.utils.js +49 -11
- package/dist/esm/resources/utils/templatable-file-fields.shared.utils.js.map +1 -1
- 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 +4 -1
- 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.map +1 -1
- package/dist/esm/security/api-keys/api-keys-organization.shared.resources-config.schemas.js +4 -1
- package/dist/esm/security/api-keys/api-keys-organization.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/security/authentications/authentication.shared.dto.schemas.d.ts +129 -17
- package/dist/esm/security/authentications/authentication.shared.dto.schemas.d.ts.map +1 -1
- package/dist/esm/security/authentications/authentication.shared.dto.schemas.js +160 -6
- package/dist/esm/security/authentications/authentication.shared.dto.schemas.js.map +1 -1
- package/dist/esm/security/authentications/authentication.shared.schemas.d.ts +324 -9
- package/dist/esm/security/authentications/authentication.shared.schemas.d.ts.map +1 -1
- package/dist/esm/security/authentications/authentication.shared.schemas.js +411 -8
- package/dist/esm/security/authentications/authentication.shared.schemas.js.map +1 -1
- package/dist/esm/security/authentications/authentication.shared.utils.d.ts +87 -4
- package/dist/esm/security/authentications/authentication.shared.utils.d.ts.map +1 -1
- package/dist/esm/security/authentications/authentication.shared.utils.js +95 -6
- package/dist/esm/security/authentications/authentication.shared.utils.js.map +1 -1
- package/dist/esm/security/authentications/consumable-token.shared.schemas.d.ts +23 -1
- package/dist/esm/security/authentications/consumable-token.shared.schemas.d.ts.map +1 -1
- package/dist/esm/security/authentications/consumable-token.shared.schemas.js +23 -1
- package/dist/esm/security/authentications/consumable-token.shared.schemas.js.map +1 -1
- package/dist/esm/security/authentications/cross-frontend-handoff.shared.dto.schemas.d.ts +7 -1
- package/dist/esm/security/authentications/cross-frontend-handoff.shared.dto.schemas.d.ts.map +1 -1
- package/dist/esm/security/authentications/cross-frontend-handoff.shared.dto.schemas.js +7 -1
- package/dist/esm/security/authentications/cross-frontend-handoff.shared.dto.schemas.js.map +1 -1
- package/dist/esm/security/authentications/password-blocklist.shared.utils.d.ts +74 -0
- package/dist/esm/security/authentications/password-blocklist.shared.utils.d.ts.map +1 -0
- package/dist/esm/security/authentications/password-blocklist.shared.utils.js +122 -0
- package/dist/esm/security/authentications/password-blocklist.shared.utils.js.map +1 -0
- package/dist/esm/security/authentications/registration.shared.dto.schemas.d.ts +88 -2
- package/dist/esm/security/authentications/registration.shared.dto.schemas.d.ts.map +1 -1
- package/dist/esm/security/authentications/registration.shared.dto.schemas.js +149 -2
- package/dist/esm/security/authentications/registration.shared.dto.schemas.js.map +1 -1
- package/dist/esm/security/authentications/scim/scim-organization-unit-mapping.shared.d.ts +57 -11
- package/dist/esm/security/authentications/scim/scim-organization-unit-mapping.shared.d.ts.map +1 -1
- package/dist/esm/security/authentications/scim/scim-organization-unit-mapping.shared.js +44 -11
- 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.map +1 -1
- package/dist/esm/security/authentications/scim/scim-provisioning-config.shared.resources-config.schemas.js +20 -7
- 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 +16 -2
- package/dist/esm/security/authentications/scim/scim-provisioning-config.shared.schemas.d.ts.map +1 -1
- package/dist/esm/security/authentications/scim/scim-provisioning-config.shared.schemas.js +32 -2
- package/dist/esm/security/authentications/scim/scim-provisioning-config.shared.schemas.js.map +1 -1
- package/dist/esm/security/authentications/scim/scim-tokens.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/security/authentications/scim/scim-tokens.shared.resources-config.schemas.js +7 -1
- package/dist/esm/security/authentications/scim/scim-tokens.shared.resources-config.schemas.js.map +1 -1
- 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 +4 -1
- package/dist/esm/security/authentications/siem/siem-delivery-dlq.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/security/authentications/siem/siem-delivery-outbox.shared.resources-config.schemas.d.ts +27 -0
- package/dist/esm/security/authentications/siem/siem-delivery-outbox.shared.resources-config.schemas.d.ts.map +1 -0
- package/dist/esm/security/authentications/siem/siem-delivery-outbox.shared.resources-config.schemas.js +109 -0
- package/dist/esm/security/authentications/siem/siem-delivery-outbox.shared.resources-config.schemas.js.map +1 -0
- package/dist/esm/security/authentications/siem/siem-delivery-outbox.shared.schemas.d.ts +66 -0
- package/dist/esm/security/authentications/siem/siem-delivery-outbox.shared.schemas.d.ts.map +1 -0
- package/dist/esm/security/authentications/siem/siem-delivery-outbox.shared.schemas.js +107 -0
- package/dist/esm/security/authentications/siem/siem-delivery-outbox.shared.schemas.js.map +1 -0
- package/dist/esm/security/authentications/siem/siem-export-config.shared.resources-config.schemas.d.ts +19 -0
- package/dist/esm/security/authentications/siem/siem-export-config.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/security/authentications/siem/siem-export-config.shared.resources-config.schemas.js +50 -13
- package/dist/esm/security/authentications/siem/siem-export-config.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/security/authentications/siem/siem-export-config.shared.schemas.d.ts +18 -6
- package/dist/esm/security/authentications/siem/siem-export-config.shared.schemas.d.ts.map +1 -1
- package/dist/esm/security/authentications/siem/siem-export-config.shared.schemas.js +133 -4
- 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 +29 -3
- 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 +81 -22
- 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 +0 -40
- 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 +100 -26
- 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 +9 -1
- 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 +9 -1
- 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 +8 -2
- 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 +91 -4
- 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 +50 -6
- package/dist/esm/security/authorizations/administrative-continuity.shared.schemas.d.ts.map +1 -1
- package/dist/esm/security/authorizations/administrative-continuity.shared.schemas.js +50 -6
- package/dist/esm/security/authorizations/administrative-continuity.shared.schemas.js.map +1 -1
- package/dist/esm/security/authorizations/application-access-grants.shared.resources-config.schemas.d.ts +39 -0
- package/dist/esm/security/authorizations/application-access-grants.shared.resources-config.schemas.d.ts.map +1 -0
- package/dist/esm/security/authorizations/application-access-grants.shared.resources-config.schemas.js +265 -0
- package/dist/esm/security/authorizations/application-access-grants.shared.resources-config.schemas.js.map +1 -0
- package/dist/esm/security/authorizations/application-access-grants.shared.schemas.d.ts +187 -0
- package/dist/esm/security/authorizations/application-access-grants.shared.schemas.d.ts.map +1 -0
- package/dist/esm/security/authorizations/application-access-grants.shared.schemas.js +271 -0
- package/dist/esm/security/authorizations/application-access-grants.shared.schemas.js.map +1 -0
- package/dist/esm/security/authorizations/platform-access-grants.shared.schemas.d.ts +23 -0
- package/dist/esm/security/authorizations/platform-access-grants.shared.schemas.d.ts.map +1 -1
- package/dist/esm/security/authorizations/platform-access-grants.shared.schemas.js +24 -0
- package/dist/esm/security/authorizations/platform-access-grants.shared.schemas.js.map +1 -1
- package/dist/esm/security/authorizations/roles.shared.defaults.d.ts.map +1 -1
- package/dist/esm/security/authorizations/roles.shared.defaults.js +6 -0
- package/dist/esm/security/authorizations/roles.shared.defaults.js.map +1 -1
- package/dist/esm/security/authorizations/roles.shared.schemas.d.ts +14 -0
- package/dist/esm/security/authorizations/roles.shared.schemas.d.ts.map +1 -1
- package/dist/esm/security/authorizations/roles.shared.schemas.js +19 -0
- package/dist/esm/security/authorizations/roles.shared.schemas.js.map +1 -1
- package/dist/esm/security/authorizations/roles.shared.utils.d.ts.map +1 -1
- package/dist/esm/security/authorizations/roles.shared.utils.js +2 -0
- package/dist/esm/security/authorizations/roles.shared.utils.js.map +1 -1
- package/dist/esm/security/connected-accounts/provider-credentials-organization.shared.resources-config.schemas.d.ts +4 -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-user.shared.resources-config.schemas.d.ts +5 -2
- 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 +13 -42
- 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 +257 -13
- 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 +281 -49
- package/dist/esm/security/connected-accounts/provider-credentials.shared.schemas.js.map +1 -1
- package/dist/esm/security/oauth-clients/oauth-clients-application.shared.resources-config.schemas.d.ts +6 -3
- 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 +74 -4
- 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 +5 -2
- 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 +105 -3
- package/dist/esm/security/oauth-clients/oauth-clients-organization.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/security/outbound-target-control.shared.schemas.d.ts +67 -0
- package/dist/esm/security/outbound-target-control.shared.schemas.d.ts.map +1 -0
- package/dist/esm/security/outbound-target-control.shared.schemas.js +69 -0
- package/dist/esm/security/outbound-target-control.shared.schemas.js.map +1 -0
- package/dist/esm/systems-of-record/system-of-record-credential-kind.shared.d.ts +159 -0
- package/dist/esm/systems-of-record/system-of-record-credential-kind.shared.d.ts.map +1 -0
- package/dist/esm/systems-of-record/system-of-record-credential-kind.shared.js +164 -0
- package/dist/esm/systems-of-record/system-of-record-credential-kind.shared.js.map +1 -0
- package/dist/esm/systems-of-record/system-of-record-declaration.shared.schemas.d.ts +209 -0
- package/dist/esm/systems-of-record/system-of-record-declaration.shared.schemas.d.ts.map +1 -0
- package/dist/esm/systems-of-record/system-of-record-declaration.shared.schemas.js +150 -0
- package/dist/esm/systems-of-record/system-of-record-declaration.shared.schemas.js.map +1 -0
- package/dist/esm/systems-of-record/system-of-record-env.shared.d.ts +79 -0
- package/dist/esm/systems-of-record/system-of-record-env.shared.d.ts.map +1 -0
- package/dist/esm/systems-of-record/system-of-record-env.shared.js +116 -0
- package/dist/esm/systems-of-record/system-of-record-env.shared.js.map +1 -0
- package/dist/esm/systems-of-record/system-of-record-error-codes.shared.d.ts +145 -0
- package/dist/esm/systems-of-record/system-of-record-error-codes.shared.d.ts.map +1 -0
- package/dist/esm/systems-of-record/system-of-record-error-codes.shared.js +146 -0
- package/dist/esm/systems-of-record/system-of-record-error-codes.shared.js.map +1 -0
- package/dist/esm/systems-of-record/system-of-record-facet.shared.schemas.d.ts +478 -0
- package/dist/esm/systems-of-record/system-of-record-facet.shared.schemas.d.ts.map +1 -0
- package/dist/esm/systems-of-record/system-of-record-facet.shared.schemas.js +619 -0
- package/dist/esm/systems-of-record/system-of-record-facet.shared.schemas.js.map +1 -0
- package/dist/esm/systems-of-record/system-of-record-partition-assignments.shared.resources-config.schemas.d.ts +31 -0
- package/dist/esm/systems-of-record/system-of-record-partition-assignments.shared.resources-config.schemas.d.ts.map +1 -0
- package/dist/esm/systems-of-record/system-of-record-partition-assignments.shared.resources-config.schemas.js +232 -0
- package/dist/esm/systems-of-record/system-of-record-partition-assignments.shared.resources-config.schemas.js.map +1 -0
- package/dist/esm/systems-of-record/system-of-record-partition-assignments.shared.schemas.d.ts +127 -0
- package/dist/esm/systems-of-record/system-of-record-partition-assignments.shared.schemas.d.ts.map +1 -0
- package/dist/esm/systems-of-record/system-of-record-partition-assignments.shared.schemas.js +204 -0
- package/dist/esm/systems-of-record/system-of-record-partition-assignments.shared.schemas.js.map +1 -0
- package/dist/esm/testing/resource-config-builders.d.ts.map +1 -1
- package/dist/esm/testing/resource-config-builders.js +10 -4
- package/dist/esm/testing/resource-config-builders.js.map +1 -1
- package/dist/esm/users/anonymous-user-marketing-metadata.shared.schemas.d.ts +2 -1
- package/dist/esm/users/anonymous-user-marketing-metadata.shared.schemas.d.ts.map +1 -1
- package/dist/esm/users/anonymous-user-marketing-metadata.shared.schemas.js +2 -1
- package/dist/esm/users/anonymous-user-marketing-metadata.shared.schemas.js.map +1 -1
- package/dist/esm/users/anonymous-users.shared.resources-config.schemas.d.ts +139 -24
- 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 +255 -0
- package/dist/esm/users/anonymous-users.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/users/anonymous-users.shared.schema.d.ts +5 -3
- package/dist/esm/users/anonymous-users.shared.schema.d.ts.map +1 -1
- package/dist/esm/users/anonymous-users.shared.schema.js +18 -1
- package/dist/esm/users/anonymous-users.shared.schema.js.map +1 -1
- package/dist/esm/users/inbound-contacts.shared.resources-config.schemas.d.ts +2 -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 +23 -0
- package/dist/esm/users/inbound-contacts.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/users/inbound-contacts.shared.schemas.d.ts +2 -1
- package/dist/esm/users/inbound-contacts.shared.schemas.d.ts.map +1 -1
- package/dist/esm/users/user-consent-decision.shared.utils.d.ts +127 -0
- package/dist/esm/users/user-consent-decision.shared.utils.d.ts.map +1 -0
- package/dist/esm/users/user-consent-decision.shared.utils.js +189 -0
- package/dist/esm/users/user-consent-decision.shared.utils.js.map +1 -0
- package/dist/esm/users/user-identity-links.shared.resources-config.schemas.d.ts +1 -0
- package/dist/esm/users/user-identity-links.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/users/user-identity-links.shared.schemas.d.ts +1 -0
- package/dist/esm/users/user-identity-links.shared.schemas.d.ts.map +1 -1
- package/dist/esm/users/user-identity-links.shared.schemas.js +30 -0
- package/dist/esm/users/user-identity-links.shared.schemas.js.map +1 -1
- package/dist/esm/users/user-preferences-reset.shared.utils.d.ts +6 -6
- package/dist/esm/users/user-preferences-reset.shared.utils.js +6 -6
- 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 +74 -29
- package/dist/esm/users/user-preferences.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/users/user-preferences.shared.resources-config.schemas.js +99 -0
- package/dist/esm/users/user-preferences.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/users/user-profiles.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/users/user-profiles.shared.resources-config.schemas.js +25 -9
- package/dist/esm/users/user-profiles.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/users/user-self-preferences.shared.resources-config.schemas.d.ts +4 -4
- package/dist/esm/users/user-self-preferences.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/users/user-self-preferences.shared.resources-config.schemas.js +12 -1
- package/dist/esm/users/user-self-preferences.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/users/user-self.shared.resources-config.schemas.d.ts +1 -0
- package/dist/esm/users/user-self.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/users/user-self.shared.resources-config.schemas.js +2 -2
- 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 +1 -0
- package/dist/esm/users/users.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/users/users.shared.resources-config.schemas.js +2 -2
- package/dist/esm/users/users.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/users/users.shared.schemas.d.ts +28 -10
- package/dist/esm/users/users.shared.schemas.d.ts.map +1 -1
- package/dist/esm/users/users.shared.schemas.js +86 -11
- package/dist/esm/users/users.shared.schemas.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +14 -35
- package/dist/esm/flows-actors/apps-blueprint/apps-blueprint-agent-personas.shared.enums.d.ts +0 -19
- package/dist/esm/flows-actors/apps-blueprint/apps-blueprint-agent-personas.shared.enums.d.ts.map +0 -1
- package/dist/esm/flows-actors/apps-blueprint/apps-blueprint-agent-personas.shared.enums.js +0 -35
- package/dist/esm/flows-actors/apps-blueprint/apps-blueprint-agent-personas.shared.enums.js.map +0 -1
- package/dist/esm/flows-actors/apps-blueprint/apps-blueprint.shared.schemas.d.ts +0 -213
- package/dist/esm/flows-actors/apps-blueprint/apps-blueprint.shared.schemas.d.ts.map +0 -1
- package/dist/esm/flows-actors/apps-blueprint/apps-blueprint.shared.schemas.js +0 -287
- package/dist/esm/flows-actors/apps-blueprint/apps-blueprint.shared.schemas.js.map +0 -1
- package/dist/esm/flows-actors/apps-blueprint/artifacts.apps-blueprint.shared.schemas.d.ts +0 -236
- package/dist/esm/flows-actors/apps-blueprint/artifacts.apps-blueprint.shared.schemas.d.ts.map +0 -1
- package/dist/esm/flows-actors/apps-blueprint/artifacts.apps-blueprint.shared.schemas.js +0 -212
- package/dist/esm/flows-actors/apps-blueprint/artifacts.apps-blueprint.shared.schemas.js.map +0 -1
- package/dist/esm/flows-actors/meta-workflows/actions.meta-workflows.shared.schemas.d.ts.map +0 -1
- package/dist/esm/flows-actors/meta-workflows/actions.meta-workflows.shared.schemas.js.map +0 -1
- package/dist/esm/flows-actors/meta-workflows/budget-authority.meta-workflows.shared.schemas.d.ts +0 -17
- package/dist/esm/flows-actors/meta-workflows/budget-authority.meta-workflows.shared.schemas.d.ts.map +0 -1
- package/dist/esm/flows-actors/meta-workflows/budget-authority.meta-workflows.shared.schemas.js +0 -31
- package/dist/esm/flows-actors/meta-workflows/budget-authority.meta-workflows.shared.schemas.js.map +0 -1
- package/dist/esm/flows-actors/meta-workflows/catalog.meta-workflows.shared.schemas.d.ts.map +0 -1
- package/dist/esm/flows-actors/meta-workflows/catalog.meta-workflows.shared.schemas.js.map +0 -1
- package/dist/esm/flows-actors/meta-workflows/context-selection.meta-workflows.shared.schemas.d.ts.map +0 -1
- package/dist/esm/flows-actors/meta-workflows/context-selection.meta-workflows.shared.schemas.js.map +0 -1
- package/dist/esm/flows-actors/meta-workflows/continuity-identifiers.meta-workflows.shared.schemas.d.ts +0 -28
- package/dist/esm/flows-actors/meta-workflows/continuity-identifiers.meta-workflows.shared.schemas.d.ts.map +0 -1
- package/dist/esm/flows-actors/meta-workflows/continuity-identifiers.meta-workflows.shared.schemas.js +0 -28
- package/dist/esm/flows-actors/meta-workflows/continuity-identifiers.meta-workflows.shared.schemas.js.map +0 -1
- package/dist/esm/flows-actors/meta-workflows/decisions.meta-workflows.shared.schemas.d.ts.map +0 -1
- package/dist/esm/flows-actors/meta-workflows/decisions.meta-workflows.shared.schemas.js.map +0 -1
- package/dist/esm/flows-actors/meta-workflows/execution-binding-common.meta-workflows.shared.schemas.d.ts +0 -100
- package/dist/esm/flows-actors/meta-workflows/execution-binding-common.meta-workflows.shared.schemas.d.ts.map +0 -1
- package/dist/esm/flows-actors/meta-workflows/execution-binding-common.meta-workflows.shared.schemas.js +0 -232
- package/dist/esm/flows-actors/meta-workflows/execution-binding-common.meta-workflows.shared.schemas.js.map +0 -1
- package/dist/esm/flows-actors/meta-workflows/execution-binding-vocabularies.meta-workflows.shared.schemas.d.ts +0 -29
- package/dist/esm/flows-actors/meta-workflows/execution-binding-vocabularies.meta-workflows.shared.schemas.d.ts.map +0 -1
- package/dist/esm/flows-actors/meta-workflows/execution-binding-vocabularies.meta-workflows.shared.schemas.js +0 -58
- package/dist/esm/flows-actors/meta-workflows/execution-binding-vocabularies.meta-workflows.shared.schemas.js.map +0 -1
- package/dist/esm/flows-actors/meta-workflows/portable-primitives.meta-workflows.shared.schemas.d.ts.map +0 -1
- package/dist/esm/flows-actors/meta-workflows/portable-primitives.meta-workflows.shared.schemas.js.map +0 -1
- package/dist/esm/flows-actors/task-continuity-binding.actors.shared.schemas.d.ts +0 -81
- package/dist/esm/flows-actors/task-continuity-binding.actors.shared.schemas.d.ts.map +0 -1
- package/dist/esm/flows-actors/task-continuity-binding.actors.shared.schemas.js +0 -82
- package/dist/esm/flows-actors/task-continuity-binding.actors.shared.schemas.js.map +0 -1
- package/dist/esm/flows-actors/utils/flow-actors.context-builder.apps-context.shared.utils.d.ts +0 -2
- package/dist/esm/flows-actors/utils/flow-actors.context-builder.apps-context.shared.utils.d.ts.map +0 -1
- package/dist/esm/flows-actors/utils/flow-actors.context-builder.apps-context.shared.utils.js +0 -1
- package/dist/esm/flows-actors/utils/flow-actors.context-builder.apps-context.shared.utils.js.map +0 -1
- /package/dist/esm/{flows-actors/meta-workflows → meta-workflows}/actions.meta-workflows.shared.schemas.d.ts +0 -0
- /package/dist/esm/{flows-actors/meta-workflows → meta-workflows}/actions.meta-workflows.shared.schemas.js +0 -0
- /package/dist/esm/{flows-actors/meta-workflows → meta-workflows}/catalog.meta-workflows.shared.schemas.d.ts +0 -0
- /package/dist/esm/{flows-actors/meta-workflows → meta-workflows}/catalog.meta-workflows.shared.schemas.js +0 -0
- /package/dist/esm/{flows-actors/meta-workflows → meta-workflows}/context-selection.meta-workflows.shared.schemas.d.ts +0 -0
- /package/dist/esm/{flows-actors/meta-workflows → meta-workflows}/context-selection.meta-workflows.shared.schemas.js +0 -0
|
@@ -0,0 +1,619 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `SystemOfRecordVendorFacet` — what a VENDOR is, as a system of record.
|
|
3
|
+
*
|
|
4
|
+
* Four concepts carry one job each in this lane (#1049 §4.1, #1055): the **external-data lane** (the
|
|
5
|
+
* engine runtime), a **dialect adapter** (how to speak — `HttpApiTransportDialect`), a **vendor
|
|
6
|
+
* facet** (this module: what the vendor needs to be addressed and believed), and a **system of
|
|
7
|
+
* record** — a named, declared INSTANCE that resources bind by name.
|
|
8
|
+
*
|
|
9
|
+
* ## What a facet is NOT
|
|
10
|
+
*
|
|
11
|
+
* It is not a provider. A provider is selected through a capability plane, may carry a person's
|
|
12
|
+
* lent credential, and has an operation catalogue; a system of record is a named deployment the
|
|
13
|
+
* application reads its own business rows out of, spending its own service identity (D10, D12).
|
|
14
|
+
* Nothing in this module may reach the provider registry, and the reverse import is what
|
|
15
|
+
* `pnpm check:systems-of-record-separation` refuses.
|
|
16
|
+
*
|
|
17
|
+
* It is also not an INSTANCE. The facet says "an Odoo needs a base URL, a database and a login, and
|
|
18
|
+
* offers the in-args API-key credential"; it never says WHICH Odoo. Two instances of one vendor
|
|
19
|
+
* (`odoo-fr`, `odoo-de`) share this facet and differ only in their addresses and secrets — which is
|
|
20
|
+
* the whole reason the instance is a separate concept from the vendor.
|
|
21
|
+
*
|
|
22
|
+
* ## Why this lives in `@wildo-ai/saas-models/external-data` (#1055 R2)
|
|
23
|
+
*
|
|
24
|
+
* The obvious home looks like `external-connectors-models`, beside the provider contracts. It
|
|
25
|
+
* cannot be: that package depends only on `zod-decorators` and its own header forbids reaching
|
|
26
|
+
* saas-models, while a facet is typed against `HttpApiTransportDialect`, which lives here. It is
|
|
27
|
+
* also not `ProviderMetadata`-shaped, which is bundle-fenced. So the facet sits beside the binding
|
|
28
|
+
* schema it serves, on the subpath whose two audiences — the app author and the backend — are
|
|
29
|
+
* exactly the audiences a facet has.
|
|
30
|
+
*
|
|
31
|
+
* Note the split with the two VOCABULARIES it names: `HttpApiTransportDialect` and
|
|
32
|
+
* `SystemOfRecordCredentialKind` are root-exported boundary modules, because the root-exported
|
|
33
|
+
* `systemsOfRecord` declaration names them. The SHAPES here are subpath-only, because nothing
|
|
34
|
+
* root-exported names a slot.
|
|
35
|
+
*
|
|
36
|
+
* ## Slots, and why their slugs are lowerCamelCase with nothing else in them
|
|
37
|
+
*
|
|
38
|
+
* A slot's slug becomes half of a derived environment-variable name, `WILDO_SOR_<NAME>__<SLOT>`
|
|
39
|
+
* (#1055 R4). The instance name admits `-` and the slug admits neither `-` nor `_`, so the DOUBLE
|
|
40
|
+
* underscore between them is a delimiter neither half can produce: the pair is recoverable from
|
|
41
|
+
* the variable name, and `odoo-api` + `key` can never collide with `odoo` + `apiKey`. That property
|
|
42
|
+
* is the reason for the regex, so widening it would silently reintroduce the collision.
|
|
43
|
+
*
|
|
44
|
+
* ## Partitioning LANDED in #1058, and was held back until it had a reader
|
|
45
|
+
*
|
|
46
|
+
* The facet is the single partition authority — which remote field carries the tenant, how it is
|
|
47
|
+
* encoded — and that vocabulary arrived with the slice that first READS it. It is `partition`
|
|
48
|
+
* below, and the INSTANCE-side opt-in is now honoured rather than refused at declaration.
|
|
49
|
+
*
|
|
50
|
+
* It was withheld until then on purpose, and the reasoning is kept because it is the general rule:
|
|
51
|
+
* shipping a four-member vocabulary with no reader is the "declared surface with nothing behind
|
|
52
|
+
* it" shape this repository keeps paying for. It landed additively, as an OPTIONAL field, so every
|
|
53
|
+
* facet written against the earlier shape still parses.
|
|
54
|
+
*/
|
|
55
|
+
// Side-effect import: this module calls `.systemEnum()` at load, so the decorators must be installed first —
|
|
56
|
+
// never by the importer's luck (#966). A named import used only as a type would be elided and install nothing.
|
|
57
|
+
import '@wildo-ai/zod-decorators';
|
|
58
|
+
import { z } from 'zod';
|
|
59
|
+
import { HttpApiTransportDialect } from '../http-api-binding/http-api-transport-dialect.shared.js';
|
|
60
|
+
import { HttpApiKeyComponentCodec } from '../http-api-binding/http-api-binding.shared.schemas.js';
|
|
61
|
+
import { SystemOfRecordCredentialKind } from './system-of-record-credential-kind.shared.js';
|
|
62
|
+
import { SYSTEM_OF_RECORD_ENABLED_SLOT, SYSTEM_OF_RECORD_SLOT_SLUG_PATTERN, deriveSystemOfRecordEnabledEnvVarName } from './system-of-record-env.shared.js';
|
|
63
|
+
/** @wildo_source:part:start saas.models.systems-of-record facet:layer:shared facet:audience:app-developer */
|
|
64
|
+
/**
|
|
65
|
+
* One input an instance must supply — an address slot (non-secret, authored in the infra env
|
|
66
|
+
* config) or a secret slot (authored in `secrets.json`). Both halves share this shape because both
|
|
67
|
+
* derive an environment-variable name the same way; what differs is WHERE the value is authored and
|
|
68
|
+
* whether it is ever printed.
|
|
69
|
+
*/
|
|
70
|
+
export const SystemOfRecordSlotSchema = z.strictObject({
|
|
71
|
+
/**
|
|
72
|
+
* lowerCamelCase, and nothing else — see the module header. Becomes the `<SLOT>` half of
|
|
73
|
+
* `WILDO_SOR_<NAME>__<SLOT>` by upper-snake-casing.
|
|
74
|
+
*/
|
|
75
|
+
slug: z
|
|
76
|
+
.string()
|
|
77
|
+
.regex(SYSTEM_OF_RECORD_SLOT_SLUG_PATTERN, 'A slot slug is lowerCamelCase with no separators.')
|
|
78
|
+
.max(40)
|
|
79
|
+
.refine((slug) => slug !== SYSTEM_OF_RECORD_ENABLED_SLOT, {
|
|
80
|
+
error: `"${SYSTEM_OF_RECORD_ENABLED_SLOT}" is reserved: the environment builder emits `
|
|
81
|
+
+ `${deriveSystemOfRecordEnabledEnvVarName('example')} itself to say an environment has no access to an instance. `
|
|
82
|
+
+ 'A slot of that name would make "declared absent" indistinguishable from an address whose value happens to be false.',
|
|
83
|
+
}),
|
|
84
|
+
/**
|
|
85
|
+
* Whether an instance MUST supply it. A missing required slot refuses at `wildo config sync` and
|
|
86
|
+
* again at boot (#1055 E4) — the remedy is authoring a value, which needs no running companion,
|
|
87
|
+
* so refusing is legitimate there.
|
|
88
|
+
*/
|
|
89
|
+
required: z.boolean(),
|
|
90
|
+
/** What an operator must put in it. Printed by sync and by the secrets report. */
|
|
91
|
+
description: z.string().min(1),
|
|
92
|
+
});
|
|
93
|
+
/**
|
|
94
|
+
* A slot list that cannot be order-dependent or ambiguous: sorted by slug, slugs unique.
|
|
95
|
+
*
|
|
96
|
+
* Mirrors `ProviderSecretContractShapeSchema`, and for the same reason — these lists are compared,
|
|
97
|
+
* reported and (once #1057 lands) contributed by independently-versioned packages, so two facets
|
|
98
|
+
* declaring the same slots in different orders must not be two different things.
|
|
99
|
+
*/
|
|
100
|
+
const systemOfRecordSlotListSchema = (label) => z.array(SystemOfRecordSlotSchema).superRefine((slots, context) => {
|
|
101
|
+
const seen = new Set();
|
|
102
|
+
for (const [index, slot] of slots.entries()) {
|
|
103
|
+
if (seen.has(slot.slug)) {
|
|
104
|
+
context.addIssue({ code: 'custom', path: [index, 'slug'], message: `Duplicate ${label} slot "${slot.slug}".` });
|
|
105
|
+
}
|
|
106
|
+
seen.add(slot.slug);
|
|
107
|
+
if (index > 0 && slots[index - 1].slug.localeCompare(slot.slug) >= 0) {
|
|
108
|
+
context.addIssue({ code: 'custom', path: [index, 'slug'], message: `${label} slots must be sorted by slug.` });
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
});
|
|
112
|
+
/**
|
|
113
|
+
* What ONE credential kind needs, independent of vendor (#1055 R15).
|
|
114
|
+
*
|
|
115
|
+
* The kind owns its secrets and any address slot that exists only because the kind was chosen — a
|
|
116
|
+
* future `OAUTH2_CLIENT_CREDENTIALS` owns `tokenUrl`, which no vendor would declare if it were
|
|
117
|
+
* reached with a static key. `ODOO_API_KEY_IN_ARGS` needs no address slot of its own, and that is
|
|
118
|
+
* the seam rather than an omission: its `database` and `login` inputs identify WHICH Odoo and WHICH
|
|
119
|
+
* user, so they belong to the vendor and would survive a second Odoo credential kind.
|
|
120
|
+
*/
|
|
121
|
+
export const SystemOfRecordCredentialKindContractSchema = z.strictObject({
|
|
122
|
+
addressSlots: systemOfRecordSlotListSchema('credential address'),
|
|
123
|
+
secretSlots: systemOfRecordSlotListSchema('credential secret'),
|
|
124
|
+
});
|
|
125
|
+
/**
|
|
126
|
+
* Every credential kind's inputs. Engine-owned and CLOSED, keyed by the enum so a member added
|
|
127
|
+
* without a contract is a compile error rather than a boot surprise.
|
|
128
|
+
*
|
|
129
|
+
* ## Which half a slot lands in, since the answer is not "is it secret"
|
|
130
|
+
*
|
|
131
|
+
* The split follows the precedent #1055 set with Odoo's `login`: **an identity slot is an ADDRESS
|
|
132
|
+
* slot and a proof slot is a SECRET slot.** A `clientId` and a BASIC `username` are not
|
|
133
|
+
* confidential — they name WHICH client and WHICH user — and putting them in `secrets.json` would
|
|
134
|
+
* hide, from every diff and every environment review, the one thing an operator most often needs to
|
|
135
|
+
* check. What must never be printed is the half that PROVES the identity.
|
|
136
|
+
*
|
|
137
|
+
* The consequence is that a credential's two halves are authored in two files. That is deliberate
|
|
138
|
+
* and it is the same shape Odoo already has (`login` in the infra config, `apiKey` in the secrets),
|
|
139
|
+
* so an operator meets one convention rather than two.
|
|
140
|
+
*
|
|
141
|
+
* ## Required-ness that a static list cannot express
|
|
142
|
+
*
|
|
143
|
+
* Three slots are declared `required: false` here and are made required by the FACET's offer, which
|
|
144
|
+
* is the only place that knows: `certificateKeyId` when the vendor's assertion header policy is
|
|
145
|
+
* {@link SystemOfRecordAssertionHeaderPolicy.KEY_ID_SUPPLIED}, `certificatePem` when it is
|
|
146
|
+
* `X509_THUMBPRINT_DERIVED`, and `subject` for the JWT-bearer grant's `sub`. The join is performed
|
|
147
|
+
* ONCE, in {@link resolveSystemOfRecordInstanceSlots}, rather than by each of the five readers of
|
|
148
|
+
* "what does this instance need" — which is the enumeration failure
|
|
149
|
+
* `invariant-call-site-enumeration.md` exists to stop.
|
|
150
|
+
*/
|
|
151
|
+
export const SYSTEM_OF_RECORD_CREDENTIAL_KIND_CONTRACTS = {
|
|
152
|
+
[SystemOfRecordCredentialKind.ODOO_API_KEY_IN_ARGS]: {
|
|
153
|
+
addressSlots: [],
|
|
154
|
+
secretSlots: [
|
|
155
|
+
{
|
|
156
|
+
slug: 'apiKey',
|
|
157
|
+
required: true,
|
|
158
|
+
description: 'Odoo external-API key (Settings → Users → API Keys). It replaces the password in '
|
|
159
|
+
+ '`common.authenticate` and rides as a positional argument of every `execute_kw` call.',
|
|
160
|
+
},
|
|
161
|
+
],
|
|
162
|
+
},
|
|
163
|
+
[SystemOfRecordCredentialKind.API_KEY_HEADER]: {
|
|
164
|
+
addressSlots: [],
|
|
165
|
+
secretSlots: [
|
|
166
|
+
{
|
|
167
|
+
slug: 'apiKey',
|
|
168
|
+
required: true,
|
|
169
|
+
description: 'The static key this deployment presents. It travels in the header the vendor facet names — '
|
|
170
|
+
+ 'the operator never chooses the header, only supplies the key.',
|
|
171
|
+
},
|
|
172
|
+
],
|
|
173
|
+
},
|
|
174
|
+
[SystemOfRecordCredentialKind.API_KEY_QUERY]: {
|
|
175
|
+
addressSlots: [],
|
|
176
|
+
secretSlots: [
|
|
177
|
+
{
|
|
178
|
+
slug: 'apiKey',
|
|
179
|
+
required: true,
|
|
180
|
+
description: 'The static key this deployment presents, appended as the query parameter the vendor facet '
|
|
181
|
+
+ 'names. Weaker than a header — a URL reaches access logs and proxy logs — so prefer a '
|
|
182
|
+
+ 'header kind when the vendor offers one.',
|
|
183
|
+
},
|
|
184
|
+
],
|
|
185
|
+
},
|
|
186
|
+
[SystemOfRecordCredentialKind.BASIC]: {
|
|
187
|
+
addressSlots: [
|
|
188
|
+
{
|
|
189
|
+
slug: 'username',
|
|
190
|
+
required: true,
|
|
191
|
+
description: 'The user this deployment authenticates as (SAP calls it a communication user). It names an '
|
|
192
|
+
+ 'identity rather than proving one, so it is authored in the environment config beside the '
|
|
193
|
+
+ 'base URL. It may not contain ":" — RFC 7617 makes the colon the delimiter.',
|
|
194
|
+
},
|
|
195
|
+
],
|
|
196
|
+
secretSlots: [
|
|
197
|
+
{ slug: 'password', required: true, description: "That user's password. Half of one credential; rotate it with the username only if the vendor requires." },
|
|
198
|
+
],
|
|
199
|
+
},
|
|
200
|
+
[SystemOfRecordCredentialKind.OAUTH2_CLIENT_CREDENTIALS_SECRET]: {
|
|
201
|
+
addressSlots: [
|
|
202
|
+
{ slug: 'audience', required: false, description: 'The `audience` / `resource` parameter, when the vendor requires one to scope the token (Entra names the resource; Salesforce does not).' },
|
|
203
|
+
{ slug: 'clientId', required: true, description: 'The registered application (client) id. Names WHICH client, so it is addressing rather than proof.' },
|
|
204
|
+
{ slug: 'scope', required: false, description: 'Space-delimited scopes to request. Omitted when the vendor derives them from the client registration.' },
|
|
205
|
+
{ slug: 'tokenUrl', required: true, description: "The token endpoint's absolute URL. Kind-owned: no vendor would declare it if the instance were reached with a static key." },
|
|
206
|
+
],
|
|
207
|
+
secretSlots: [
|
|
208
|
+
{ slug: 'clientSecret', required: true, description: 'The client secret issued with the client id. This is the half that proves the identity, and the only half that is never printed.' },
|
|
209
|
+
],
|
|
210
|
+
},
|
|
211
|
+
[SystemOfRecordCredentialKind.OAUTH2_CLIENT_CREDENTIALS_CERTIFICATE]: {
|
|
212
|
+
addressSlots: [
|
|
213
|
+
{ slug: 'audience', required: false, description: 'The `audience` / `resource` parameter when the vendor requires one.' },
|
|
214
|
+
{
|
|
215
|
+
slug: 'certificateKeyId',
|
|
216
|
+
required: false,
|
|
217
|
+
description: 'The key id the vendor assigned to this certificate, placed in the assertion\'s protected '
|
|
218
|
+
+ 'header as `kid` (NetSuite issues one at upload). REQUIRED when the vendor facet declares '
|
|
219
|
+
+ 'the key-id header policy; unused otherwise.',
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
slug: 'certificatePem',
|
|
223
|
+
required: false,
|
|
224
|
+
description: 'The PUBLIC certificate in PEM, used to derive the `x5t` thumbprint the assertion header '
|
|
225
|
+
+ 'carries. REQUIRED when the vendor facet declares the thumbprint header policy; unused '
|
|
226
|
+
+ 'otherwise. Public material, so it is an address slot rather than a secret.',
|
|
227
|
+
},
|
|
228
|
+
{ slug: 'clientId', required: true, description: 'The registered application (client) id — the assertion\'s `iss` and `sub`.' },
|
|
229
|
+
{ slug: 'scope', required: false, description: 'Space-delimited scopes to request.' },
|
|
230
|
+
{ slug: 'tokenUrl', required: true, description: "The token endpoint's absolute URL, and the assertion's `aud`." },
|
|
231
|
+
],
|
|
232
|
+
secretSlots: [
|
|
233
|
+
{
|
|
234
|
+
slug: 'privateKeyPem',
|
|
235
|
+
required: true,
|
|
236
|
+
description: 'The UNENCRYPTED PKCS#8 private key, in PEM, that signs the client assertion. An '
|
|
237
|
+
+ 'encrypted key is refused by name: the secret channel is the protection, and a passphrase '
|
|
238
|
+
+ 'stored beside the key it protects protects nothing.',
|
|
239
|
+
},
|
|
240
|
+
],
|
|
241
|
+
},
|
|
242
|
+
[SystemOfRecordCredentialKind.OAUTH2_JWT_BEARER]: {
|
|
243
|
+
addressSlots: [
|
|
244
|
+
{ slug: 'audience', required: false, description: 'The assertion\'s `aud`, when it differs from the token endpoint (Salesforce wants the login host).' },
|
|
245
|
+
{ slug: 'clientId', required: true, description: 'The connected app\'s consumer key — the assertion\'s `iss`.' },
|
|
246
|
+
{ slug: 'scope', required: false, description: 'Space-delimited scopes to request.' },
|
|
247
|
+
{
|
|
248
|
+
slug: 'subject',
|
|
249
|
+
required: false,
|
|
250
|
+
description: 'The user the assertion is made FOR — its `sub`. REQUIRED for this grant and declared '
|
|
251
|
+
+ 'optional here only because the facet\'s offer is what asserts it; a service account\'s '
|
|
252
|
+
+ 'username on the vendor side.',
|
|
253
|
+
},
|
|
254
|
+
{ slug: 'tokenUrl', required: true, description: "The token endpoint's absolute URL." },
|
|
255
|
+
],
|
|
256
|
+
secretSlots: [
|
|
257
|
+
{ slug: 'privateKeyPem', required: true, description: 'The UNENCRYPTED PKCS#8 private key, in PEM, that signs the assertion. An encrypted key is refused by name.' },
|
|
258
|
+
],
|
|
259
|
+
},
|
|
260
|
+
};
|
|
261
|
+
/**
|
|
262
|
+
* How a vendor wants a client assertion's PROTECTED HEADER built (#1056 R2).
|
|
263
|
+
*
|
|
264
|
+
* A generic "sign it with the private key" is rejected by both vendors that want an assertion, and
|
|
265
|
+
* they want DIFFERENT things — which is why this is a facet policy rather than an engine constant.
|
|
266
|
+
*/
|
|
267
|
+
export var SystemOfRecordAssertionHeaderPolicy;
|
|
268
|
+
(function (SystemOfRecordAssertionHeaderPolicy) {
|
|
269
|
+
/** `kid` carries a key id the VENDOR assigned when the certificate was uploaded (NetSuite). */
|
|
270
|
+
SystemOfRecordAssertionHeaderPolicy["KEY_ID_SUPPLIED"] = "key-id-supplied";
|
|
271
|
+
/**
|
|
272
|
+
* `x5t` carries the base64url SHA-1 thumbprint of the certificate, DERIVED by the engine from the
|
|
273
|
+
* supplied `certificatePem` (Microsoft Entra's certificate credential).
|
|
274
|
+
*
|
|
275
|
+
* SHA-1 is not a security choice here: `x5t` is defined as a SHA-1 thumbprint (RFC 7515 §4.1.7)
|
|
276
|
+
* and is an identifier for locating a key, never an integrity proof.
|
|
277
|
+
* spec-cite: RFC 7515 §4.1.7 ("x5t" (X.509 Certificate SHA-1 Thumbprint) Header Parameter).
|
|
278
|
+
*/
|
|
279
|
+
SystemOfRecordAssertionHeaderPolicy["X509_THUMBPRINT_DERIVED"] = "x509-thumbprint-derived";
|
|
280
|
+
})(SystemOfRecordAssertionHeaderPolicy || (SystemOfRecordAssertionHeaderPolicy = {}));
|
|
281
|
+
/**
|
|
282
|
+
* Where a client's id and secret travel on a client-credentials token request.
|
|
283
|
+
*
|
|
284
|
+
* RFC 6749 §2.3.1 permits BOTH and says a server MUST support the Basic header while it MAY support
|
|
285
|
+
* the body form — and real vendors differ, so the choice cannot be an engine default.
|
|
286
|
+
* spec-cite: RFC 6749 §2.3.1 (Client Password).
|
|
287
|
+
*/
|
|
288
|
+
export var SystemOfRecordClientAuthenticationPlacement;
|
|
289
|
+
(function (SystemOfRecordClientAuthenticationPlacement) {
|
|
290
|
+
/** `client_id` and `client_secret` as form fields in the request body. */
|
|
291
|
+
SystemOfRecordClientAuthenticationPlacement["REQUEST_BODY"] = "request-body";
|
|
292
|
+
/** `Authorization: Basic base64(client_id ":" client_secret)`. */
|
|
293
|
+
SystemOfRecordClientAuthenticationPlacement["BASIC_HEADER"] = "basic-header";
|
|
294
|
+
})(SystemOfRecordClientAuthenticationPlacement || (SystemOfRecordClientAuthenticationPlacement = {}));
|
|
295
|
+
/**
|
|
296
|
+
* The algorithms an assertion may be signed with. Asymmetric ONLY, and that is the point: a
|
|
297
|
+
* symmetric `HS*` assertion is signed with a shared secret, which makes the assertion no stronger
|
|
298
|
+
* than the secret it was supposed to replace, and `none` is not an algorithm.
|
|
299
|
+
*/
|
|
300
|
+
export var SystemOfRecordAssertionSigningAlgorithm;
|
|
301
|
+
(function (SystemOfRecordAssertionSigningAlgorithm) {
|
|
302
|
+
SystemOfRecordAssertionSigningAlgorithm["RS256"] = "RS256";
|
|
303
|
+
SystemOfRecordAssertionSigningAlgorithm["RS384"] = "RS384";
|
|
304
|
+
SystemOfRecordAssertionSigningAlgorithm["RS512"] = "RS512";
|
|
305
|
+
SystemOfRecordAssertionSigningAlgorithm["PS256"] = "PS256";
|
|
306
|
+
SystemOfRecordAssertionSigningAlgorithm["ES256"] = "ES256";
|
|
307
|
+
SystemOfRecordAssertionSigningAlgorithm["ES384"] = "ES384";
|
|
308
|
+
SystemOfRecordAssertionSigningAlgorithm["ES512"] = "ES512";
|
|
309
|
+
})(SystemOfRecordAssertionSigningAlgorithm || (SystemOfRecordAssertionSigningAlgorithm = {}));
|
|
310
|
+
/**
|
|
311
|
+
* How long to treat a token as valid when the answer carries no `expires_in` (#1056 R3).
|
|
312
|
+
*
|
|
313
|
+
* A FACET property rather than a per-kind engine constant, because two vendors of the SAME kind
|
|
314
|
+
* disagree: NetSuite's answer states `expires_in` is always 3600, while Salesforce's
|
|
315
|
+
* client-credentials answer is reported to omit it. A per-kind constant would have to be wrong for
|
|
316
|
+
* one of them.
|
|
317
|
+
*/
|
|
318
|
+
const tokenLifetimeFallbackSecondsSchema = z.number().int().min(30).max(86_400);
|
|
319
|
+
/**
|
|
320
|
+
* ONE credential kind as ONE vendor offers it — the kind, plus everything about it that varies by
|
|
321
|
+
* VENDOR and not by deployment.
|
|
322
|
+
*
|
|
323
|
+
* A discriminated union rather than a kind list beside a policy map, so a policy cannot exist
|
|
324
|
+
* without its kind and a kind cannot be offered without the policy it needs. `API_KEY_HEADER` with
|
|
325
|
+
* no header name is unrepresentable here; under a parallel map it would parse and fail at the first
|
|
326
|
+
* read.
|
|
327
|
+
*/
|
|
328
|
+
export const SystemOfRecordCredentialOfferSchema = z.discriminatedUnion('kind', [
|
|
329
|
+
z.strictObject({ kind: z.literal(SystemOfRecordCredentialKind.ODOO_API_KEY_IN_ARGS).systemEnum('SystemOfRecordCredentialKind') }),
|
|
330
|
+
z.strictObject({
|
|
331
|
+
kind: z.literal(SystemOfRecordCredentialKind.API_KEY_HEADER).systemEnum('SystemOfRecordCredentialKind'),
|
|
332
|
+
/** The header the key travels in — `Authorization`, `X-API-Key`, `apikey`, whatever the vendor reads. */
|
|
333
|
+
headerName: z.string().regex(/^[A-Za-z0-9!#$%&'*+.^_`|~-]+$/, 'A header name is an RFC 9110 token.').max(64),
|
|
334
|
+
/** What precedes the key in the header value, INCLUDING its trailing space (`"Bearer "`). Omitted when the key stands alone. */
|
|
335
|
+
valuePrefix: z.string().max(32).optional(),
|
|
336
|
+
}),
|
|
337
|
+
z.strictObject({
|
|
338
|
+
kind: z.literal(SystemOfRecordCredentialKind.API_KEY_QUERY).systemEnum('SystemOfRecordCredentialKind'),
|
|
339
|
+
/** The query parameter the key is appended as. */
|
|
340
|
+
parameterName: z.string().regex(/^[A-Za-z0-9_.-]+$/, 'A query parameter name is alphanumeric with -._').max(64),
|
|
341
|
+
}),
|
|
342
|
+
z.strictObject({ kind: z.literal(SystemOfRecordCredentialKind.BASIC).systemEnum('SystemOfRecordCredentialKind') }),
|
|
343
|
+
z.strictObject({
|
|
344
|
+
kind: z.literal(SystemOfRecordCredentialKind.OAUTH2_CLIENT_CREDENTIALS_SECRET).systemEnum('SystemOfRecordCredentialKind'),
|
|
345
|
+
clientAuthentication: z.enum(SystemOfRecordClientAuthenticationPlacement),
|
|
346
|
+
tokenLifetimeFallbackSeconds: tokenLifetimeFallbackSecondsSchema,
|
|
347
|
+
}),
|
|
348
|
+
z.strictObject({
|
|
349
|
+
kind: z.literal(SystemOfRecordCredentialKind.OAUTH2_CLIENT_CREDENTIALS_CERTIFICATE).systemEnum('SystemOfRecordCredentialKind'),
|
|
350
|
+
assertionHeaderPolicy: z.enum(SystemOfRecordAssertionHeaderPolicy),
|
|
351
|
+
assertionSigningAlgorithm: z.enum(SystemOfRecordAssertionSigningAlgorithm),
|
|
352
|
+
/** How long the ASSERTION is valid — minutes, not hours; it is consumed once at the token endpoint. */
|
|
353
|
+
assertionLifetimeSeconds: z.number().int().min(30).max(600),
|
|
354
|
+
tokenLifetimeFallbackSeconds: tokenLifetimeFallbackSecondsSchema,
|
|
355
|
+
}),
|
|
356
|
+
z.strictObject({
|
|
357
|
+
kind: z.literal(SystemOfRecordCredentialKind.OAUTH2_JWT_BEARER).systemEnum('SystemOfRecordCredentialKind'),
|
|
358
|
+
assertionSigningAlgorithm: z.enum(SystemOfRecordAssertionSigningAlgorithm),
|
|
359
|
+
assertionLifetimeSeconds: z.number().int().min(30).max(600),
|
|
360
|
+
tokenLifetimeFallbackSeconds: tokenLifetimeFallbackSecondsSchema,
|
|
361
|
+
}),
|
|
362
|
+
]);
|
|
363
|
+
/**
|
|
364
|
+
* How a vendor's OData service pages a COLLECTION READ (#1292).
|
|
365
|
+
*
|
|
366
|
+
* A vendor property rather than a dialect constant, and the reason is one large implementation: the
|
|
367
|
+
* Microsoft Dataverse Web API refuses `$skip` outright, while OData v4 defines it and a conformant
|
|
368
|
+
* service serves it. A per-dialect default would have to be wrong for one of them — the same
|
|
369
|
+
* argument #1056 R3 settled for the token-lifetime fallback.
|
|
370
|
+
*
|
|
371
|
+
* spec-cite: OData Version 4.01 Part 1: Protocol §11.2.6 ("$top and $skip") for the default; Microsoft
|
|
372
|
+
* Learn, "Query data using the Web API"
|
|
373
|
+
* (https://learn.microsoft.com/en-us/power-apps/developer/data-platform/webapi/query-data-web-api) for
|
|
374
|
+
* the refusal — that page enumerates the query options the Web API does not support.
|
|
375
|
+
*/
|
|
376
|
+
export var SystemOfRecordODataListPaging;
|
|
377
|
+
(function (SystemOfRecordODataListPaging) {
|
|
378
|
+
/**
|
|
379
|
+
* `$top` + `$skip` — one request for any page, which is what a page-numbered contract wants.
|
|
380
|
+
*
|
|
381
|
+
* The default, because it is what OData v4 defines and what an uncatalogued service serves.
|
|
382
|
+
*/
|
|
383
|
+
SystemOfRecordODataListPaging["SKIP"] = "skip";
|
|
384
|
+
/**
|
|
385
|
+
* `@odata.nextLink` only: the service hands back a continuation URL and refuses to be addressed by
|
|
386
|
+
* offset.
|
|
387
|
+
*
|
|
388
|
+
* The consequence is structural rather than a detail — a cursor has no page NUMBER, so page N costs
|
|
389
|
+
* N requests. The engine walks forward and refuses past a bound rather than pretending otherwise.
|
|
390
|
+
*/
|
|
391
|
+
SystemOfRecordODataListPaging["NEXT_LINK_ONLY"] = "next-link-only";
|
|
392
|
+
})(SystemOfRecordODataListPaging || (SystemOfRecordODataListPaging = {}));
|
|
393
|
+
/**
|
|
394
|
+
* HOW a vendor partitions the data one deployment holds (#1058).
|
|
395
|
+
*
|
|
396
|
+
* Inside ONE corporate, a system of record usually holds several partitions — Odoo companies, SAP
|
|
397
|
+
* company codes, Dynamics business units, NetSuite subsidiaries. They are not tenants: they all
|
|
398
|
+
* belong to the operator, which is why they map onto ORGANIZATION UNITS of the owner organization
|
|
399
|
+
* rather than onto organizations (#1049 Q3).
|
|
400
|
+
*/
|
|
401
|
+
export var SystemOfRecordPartitionKind;
|
|
402
|
+
(function (SystemOfRecordPartitionKind) {
|
|
403
|
+
/**
|
|
404
|
+
* A FIELD on every row carries the partition (Odoo `company_id`, NetSuite `subsidiary`). The only
|
|
405
|
+
* kind supported today: it is filterable, so the confinement can be PUSHED DOWN and a caller never
|
|
406
|
+
* receives rows of a partition they may not see.
|
|
407
|
+
*/
|
|
408
|
+
SystemOfRecordPartitionKind["FIELD"] = "field";
|
|
409
|
+
/**
|
|
410
|
+
* The partition is a PATH SEGMENT of the request (Business Central's `/companies({id})/customers`).
|
|
411
|
+
*
|
|
412
|
+
* Declared so a facet can be HONEST about a vendor this engine cannot confine yet, and refused by
|
|
413
|
+
* name where a partition is opted into. A path segment is chosen before the request is built, so it
|
|
414
|
+
* cannot express "these three companies" in one read — the confinement would have to fan out into
|
|
415
|
+
* one request per unit, which is a different mechanism rather than a different predicate.
|
|
416
|
+
*/
|
|
417
|
+
SystemOfRecordPartitionKind["PATH_SEGMENT"] = "path-segment";
|
|
418
|
+
})(SystemOfRecordPartitionKind || (SystemOfRecordPartitionKind = {}));
|
|
419
|
+
/**
|
|
420
|
+
* The SHAPE a partition value arrives in — the difference between a number and a pair.
|
|
421
|
+
*
|
|
422
|
+
* Odoo answers a many2one as `[id, display_name]`: `company_id: [10, "Acme"]` on a read, and `false`
|
|
423
|
+
* when unset. A reader that took the whole array as the key would match nothing, and one that took
|
|
424
|
+
* `row.company_id` as a scalar would stamp `"10,Acme"`. The shape is declared because the engine
|
|
425
|
+
* cannot tell a pair from a two-element list by looking.
|
|
426
|
+
*
|
|
427
|
+
* spec-cite: Odoo 18.0 developer documentation, "External API" — a many2one is returned as an
|
|
428
|
+
* `[id, display_name]` pair under both *Read records* and *Search and read*.
|
|
429
|
+
*/
|
|
430
|
+
export var SystemOfRecordPartitionValueShape;
|
|
431
|
+
(function (SystemOfRecordPartitionValueShape) {
|
|
432
|
+
/** The field holds the key directly (an integer, a GUID, a string). */
|
|
433
|
+
SystemOfRecordPartitionValueShape["SCALAR"] = "scalar";
|
|
434
|
+
/** Odoo's many2one: `[id, label]`, and `false` when unset. The id is the key. */
|
|
435
|
+
SystemOfRecordPartitionValueShape["MANY2ONE_PAIR"] = "many2one-pair";
|
|
436
|
+
})(SystemOfRecordPartitionValueShape || (SystemOfRecordPartitionValueShape = {}));
|
|
437
|
+
/**
|
|
438
|
+
* What a vendor's partitioning IS — declared by the FACET, opted into by the INSTANCE.
|
|
439
|
+
*
|
|
440
|
+
* The split is the same one every other vendor fact takes: how a vendor partitions is a property of
|
|
441
|
+
* the vendor, and WHETHER this deployment's data is partitioned is a property of the deployment. A
|
|
442
|
+
* single-company Odoo has a `company_id` on every row and nothing to confine.
|
|
443
|
+
*/
|
|
444
|
+
export const SystemOfRecordPartitionSupportSchema = z.strictObject({
|
|
445
|
+
kind: z.enum(SystemOfRecordPartitionKind),
|
|
446
|
+
/** The remote field carrying the partition key (`company_id`, `subsidiary`, `CompanyCode`). */
|
|
447
|
+
remoteField: z.string().min(1).max(120),
|
|
448
|
+
/**
|
|
449
|
+
* How a key is spelled on the wire. Reused from the KEY component vocabulary rather than given its
|
|
450
|
+
* own: a partition key is addressed exactly as a key component is — decoded from an operator's
|
|
451
|
+
* authored string, compiled into a remote predicate — and two vocabularies for one job would drift.
|
|
452
|
+
*/
|
|
453
|
+
codec: z.enum(HttpApiKeyComponentCodec),
|
|
454
|
+
valueShape: z.enum(SystemOfRecordPartitionValueShape),
|
|
455
|
+
});
|
|
456
|
+
/**
|
|
457
|
+
* What a vendor is, as a system of record. Parsed rather than trusted because #1057 lets a PACKAGE
|
|
458
|
+
* ship one — a record produced by one package version and read by another.
|
|
459
|
+
*/
|
|
460
|
+
export const SystemOfRecordVendorFacetSchema = z.strictObject({
|
|
461
|
+
/** The vendor's stable identifier, named by an instance's `vendor`. Same charset law as an instance name. */
|
|
462
|
+
vendor: z.string().regex(/^[a-z][a-z0-9-]*$/, 'A vendor id is lower-kebab-case.').max(40),
|
|
463
|
+
/**
|
|
464
|
+
* The dialects this vendor can be READ through. An instance's `dialect` must be one of them, and
|
|
465
|
+
* a binding's `dialect` must equal its instance's — both refused at boot registration, where the
|
|
466
|
+
* declaration and the facet are finally in the same scope.
|
|
467
|
+
*/
|
|
468
|
+
dialects: z.array(z.enum(HttpApiTransportDialect)).min(1),
|
|
469
|
+
/**
|
|
470
|
+
* The vendor's own address slots — non-secret, authored per instance in the infra env config. The
|
|
471
|
+
* base URL is registration-scoped and is never credential material.
|
|
472
|
+
*/
|
|
473
|
+
addressSlots: systemOfRecordSlotListSchema('vendor address'),
|
|
474
|
+
/**
|
|
475
|
+
* The credential kinds this vendor offers, each carrying THIS vendor's policy for it. The instance
|
|
476
|
+
* chooses one kind; a kind no offer names is refused.
|
|
477
|
+
*
|
|
478
|
+
* Reshaped from a bare `credentialKinds: Kind[]` in #1056. A list of kinds could say that a vendor
|
|
479
|
+
* accepts a header-borne API key and could not say WHICH header — so either the operator was asked
|
|
480
|
+
* (a question the vendor already answers, `derive-before-you-ask.md`) or the engine guessed. An
|
|
481
|
+
* offer is the kind and its vendor policy as one indivisible thing.
|
|
482
|
+
*/
|
|
483
|
+
credentialOffers: z.array(SystemOfRecordCredentialOfferSchema).min(1),
|
|
484
|
+
/**
|
|
485
|
+
* How a COLLECTION READ pages against this vendor (#1292). Meaningful only for the OData dialects.
|
|
486
|
+
*
|
|
487
|
+
* OPTIONAL rather than defaulted, and the difference is not cosmetic: `.default()` would make the
|
|
488
|
+
* field REQUIRED on the parsed type, so every facet — Odoo's JSON-RPC included — would have to
|
|
489
|
+
* state an answer to a question about a dialect it does not speak. Absent means "not an OData
|
|
490
|
+
* concern, or the conformant default", and {@link resolveSystemOfRecordODataListPaging} is the one
|
|
491
|
+
* place that turns absence into `SKIP`.
|
|
492
|
+
*/
|
|
493
|
+
odataListPaging: z.enum(SystemOfRecordODataListPaging).optional(),
|
|
494
|
+
/**
|
|
495
|
+
* How this vendor partitions one deployment's data (#1058), when it does.
|
|
496
|
+
*
|
|
497
|
+
* ABSENT means the vendor has no partition concept the engine can confine on — which is a real
|
|
498
|
+
* answer rather than an unfinished one, and the reason an instance opting into `partition` against
|
|
499
|
+
* such a facet is refused by name rather than silently doing nothing.
|
|
500
|
+
*/
|
|
501
|
+
partition: SystemOfRecordPartitionSupportSchema.optional(),
|
|
502
|
+
}).superRefine((facet, context) => {
|
|
503
|
+
const seenDialects = new Set();
|
|
504
|
+
for (const [index, dialect] of facet.dialects.entries()) {
|
|
505
|
+
if (seenDialects.has(dialect)) {
|
|
506
|
+
context.addIssue({ code: 'custom', path: ['dialects', index], message: `Duplicate dialects member "${dialect}".` });
|
|
507
|
+
}
|
|
508
|
+
seenDialects.add(dialect);
|
|
509
|
+
}
|
|
510
|
+
// One vendor may not offer the same kind twice: the instance names a KIND, so two offers of one
|
|
511
|
+
// kind would make the policy the engine reads depend on array order.
|
|
512
|
+
const seenKinds = new Set();
|
|
513
|
+
for (const [index, offer] of facet.credentialOffers.entries()) {
|
|
514
|
+
if (seenKinds.has(offer.kind)) {
|
|
515
|
+
context.addIssue({ code: 'custom', path: ['credentialOffers', index], message: `Duplicate credentialOffers member "${offer.kind}".` });
|
|
516
|
+
}
|
|
517
|
+
seenKinds.add(offer.kind);
|
|
518
|
+
}
|
|
519
|
+
// A vendor address slug that a kind also declares would make the derived environment variable
|
|
520
|
+
// ambiguous about who owns the value, so the two namespaces are checked against each other here
|
|
521
|
+
// rather than at the instance, where the failure would read as an authoring mistake.
|
|
522
|
+
const vendorSlugs = new Set(facet.addressSlots.map((slot) => slot.slug));
|
|
523
|
+
for (const offer of facet.credentialOffers) {
|
|
524
|
+
for (const slot of SYSTEM_OF_RECORD_CREDENTIAL_KIND_CONTRACTS[offer.kind].addressSlots) {
|
|
525
|
+
if (vendorSlugs.has(slot.slug)) {
|
|
526
|
+
context.addIssue({
|
|
527
|
+
code: 'custom',
|
|
528
|
+
path: ['addressSlots'],
|
|
529
|
+
message: `Address slot "${slot.slug}" is declared by this vendor AND by credential kind "${offer.kind}" — one slot has one owner.`,
|
|
530
|
+
});
|
|
531
|
+
}
|
|
532
|
+
}
|
|
533
|
+
}
|
|
534
|
+
});
|
|
535
|
+
/** @wildo_source:part:end saas.models.systems-of-record */
|
|
536
|
+
/**
|
|
537
|
+
* How this vendor pages an OData collection read — the ONE place an absent declaration becomes an
|
|
538
|
+
* answer (#1292).
|
|
539
|
+
*
|
|
540
|
+
* `$skip` is what OData v4 defines and what a conformant service serves, so silence means the
|
|
541
|
+
* conformant behaviour rather than an unknown. A second `?? SKIP` written at a consumer is how two
|
|
542
|
+
* readers come to disagree about what silence meant.
|
|
543
|
+
*/
|
|
544
|
+
export function resolveSystemOfRecordODataListPaging(facet) {
|
|
545
|
+
return facet.odataListPaging ?? SystemOfRecordODataListPaging.SKIP;
|
|
546
|
+
}
|
|
547
|
+
/**
|
|
548
|
+
* Find the offer a vendor makes for one kind, or `undefined`.
|
|
549
|
+
*
|
|
550
|
+
* Separate from {@link resolveSystemOfRecordInstanceSlots} because the two answer different
|
|
551
|
+
* questions: this one is "what is this vendor's POLICY for the kind I chose", which the minter needs
|
|
552
|
+
* at every call, while the slot union is a boot-time question asked once.
|
|
553
|
+
*/
|
|
554
|
+
export function findSystemOfRecordCredentialOffer(facet, credentialKind) {
|
|
555
|
+
return facet.credentialOffers.find((offer) => offer.kind === credentialKind);
|
|
556
|
+
}
|
|
557
|
+
/**
|
|
558
|
+
* The ONE place the vendor's slots and the credential kind's slots are joined.
|
|
559
|
+
*
|
|
560
|
+
* Every reader of "what does this instance need" goes through here — the environment-variable
|
|
561
|
+
* derivation, `wildo config sync`'s coherence check, the k8s secrets generator, the CI collector
|
|
562
|
+
* and the backend registry. Four of those five live in different packages, which is precisely why
|
|
563
|
+
* re-deriving the union at each of them would drift (`invariant-call-site-enumeration.md`).
|
|
564
|
+
*
|
|
565
|
+
* ## It also applies the offer's REQUIRED-NESS, which is why it takes a facet and not a contract
|
|
566
|
+
*
|
|
567
|
+
* Three slots are declared optional in the contract map and become required here, because only the
|
|
568
|
+
* vendor's offer knows: `certificateKeyId` under the key-id assertion header policy, `certificatePem`
|
|
569
|
+
* under the thumbprint policy, and `subject` for the JWT-bearer grant. Declaring them required in the
|
|
570
|
+
* contract would make every certificate vendor supply both halves of a choice only one of them makes;
|
|
571
|
+
* leaving them optional everywhere would let an instance boot with an assertion it cannot build, and
|
|
572
|
+
* fail at the first read instead of at configuration.
|
|
573
|
+
*
|
|
574
|
+
* Throws when the kind is not one the facet offers: that pairing is chosen by an instance and
|
|
575
|
+
* refused where the instance is validated, so reaching here with it means a caller skipped the
|
|
576
|
+
* check rather than an operator wrote something wrong.
|
|
577
|
+
*/
|
|
578
|
+
export function resolveSystemOfRecordInstanceSlots(facet, credentialKind) {
|
|
579
|
+
const offer = findSystemOfRecordCredentialOffer(facet, credentialKind);
|
|
580
|
+
if (offer === undefined) {
|
|
581
|
+
throw new Error(`Vendor "${facet.vendor}" does not offer credential kind "${credentialKind}" `
|
|
582
|
+
+ `(offers: ${facet.credentialOffers.map((candidate) => candidate.kind).join(', ')}).`);
|
|
583
|
+
}
|
|
584
|
+
const contract = SYSTEM_OF_RECORD_CREDENTIAL_KIND_CONTRACTS[credentialKind];
|
|
585
|
+
const requiredByOffer = slotSlugsTheOfferMakesRequired(offer);
|
|
586
|
+
const applyOffer = (slot) => (slot.required || !requiredByOffer.has(slot.slug) ? slot : { ...slot, required: true });
|
|
587
|
+
const bySlug = (left, right) => left.slug.localeCompare(right.slug);
|
|
588
|
+
return {
|
|
589
|
+
addressSlots: [...facet.addressSlots, ...contract.addressSlots.map(applyOffer)].sort(bySlug),
|
|
590
|
+
secretSlots: [...contract.secretSlots.map(applyOffer)].sort(bySlug),
|
|
591
|
+
};
|
|
592
|
+
}
|
|
593
|
+
/**
|
|
594
|
+
* Which otherwise-optional slugs THIS offer turns into obligations.
|
|
595
|
+
*
|
|
596
|
+
* A `switch` over the discriminated union rather than a lookup, so a member added to the union
|
|
597
|
+
* without a decision here is a compile error rather than a slot that silently stays optional.
|
|
598
|
+
*/
|
|
599
|
+
function slotSlugsTheOfferMakesRequired(offer) {
|
|
600
|
+
switch (offer.kind) {
|
|
601
|
+
case SystemOfRecordCredentialKind.ODOO_API_KEY_IN_ARGS:
|
|
602
|
+
case SystemOfRecordCredentialKind.API_KEY_HEADER:
|
|
603
|
+
case SystemOfRecordCredentialKind.API_KEY_QUERY:
|
|
604
|
+
case SystemOfRecordCredentialKind.BASIC:
|
|
605
|
+
case SystemOfRecordCredentialKind.OAUTH2_CLIENT_CREDENTIALS_SECRET:
|
|
606
|
+
return new Set();
|
|
607
|
+
case SystemOfRecordCredentialKind.OAUTH2_CLIENT_CREDENTIALS_CERTIFICATE:
|
|
608
|
+
return new Set([
|
|
609
|
+
offer.assertionHeaderPolicy === SystemOfRecordAssertionHeaderPolicy.KEY_ID_SUPPLIED
|
|
610
|
+
? 'certificateKeyId'
|
|
611
|
+
: 'certificatePem',
|
|
612
|
+
]);
|
|
613
|
+
case SystemOfRecordCredentialKind.OAUTH2_JWT_BEARER:
|
|
614
|
+
// The `sub` of an RFC 7523 §2.1 assertion. Optional in the contract only because the GRANT is
|
|
615
|
+
// what asserts it — no other kind has a subject at all.
|
|
616
|
+
return new Set(['subject']);
|
|
617
|
+
}
|
|
618
|
+
}
|
|
619
|
+
//# sourceMappingURL=system-of-record-facet.shared.schemas.js.map
|