@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
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import { ResourceOperationIdempotencyKeyRequirement } from '../requests/idempotency-key.shared';
|
|
2
|
+
import type { ResourceConfiguration_QueueConfig, ResourceConfiguration_QueueConfigAuthored } from '../queue/queues.shared.schemas';
|
|
3
|
+
import type { ScheduledRecoveryPolicy } from '../queue/jobs.shared.schemas';
|
|
1
4
|
/**
|
|
2
5
|
* Operations Shared Schemas
|
|
3
6
|
*
|
|
@@ -7,12 +10,13 @@ import { z } from 'zod';
|
|
|
7
10
|
import { EnumLikeType, EnumValues, PrimitiveZodType } from '@wildo-ai/zod-decorators';
|
|
8
11
|
import { ErasureRetentionMode, ResourceDataSubjectKind } from '../compliance/privacy/impersonalization.shared.schemas';
|
|
9
12
|
import type { DataPortabilityProvenance } from '../compliance/privacy/subject-export.shared.schemas';
|
|
13
|
+
import type { ResourceOperationConsentGateDeclaration } from '../compliance/privacy/consent-gate-vocabulary.shared.schemas';
|
|
10
14
|
import type { HttpApiResourceBinding, HttpApiResourceBindingAuthored } from '../http-api-binding/http-api-binding.shared.schemas';
|
|
11
15
|
import type { ExternalDataPipelineDeclaration, ExternalDataPipelineDeclarationAuthored } from '../external-data/external-data-pipeline.shared.schemas';
|
|
12
16
|
import { HttpMethod } from '../requests/http-requests.shared';
|
|
13
17
|
import { Roles } from '../security/authorizations/roles.shared.schemas';
|
|
14
18
|
import { TokenAuthenticationConfig, TokenGenerationConfig, TokenRevocationConfig } from '../security/authentications/consumable-token.shared.schemas';
|
|
15
|
-
import { ResourceOperation_ServiceRuntimeMode, ResourceOperationVariantType, ResourceOperationRiskLevel, ResourceOperationFrontendSurface, ResourcePrimaryScope, ResourceTranspositionPolicy, ResourceOperation_CustomServiceImplementationMode, ResourceRelationship, ResourceRelationshipAccessScopeStrategy, ManyToManyScopeJunctionMap, type ReferenceConstraints } from './resources.shared.schemas';
|
|
19
|
+
import { ResourceOperation_ServiceRuntimeMode, ResourceOperationVariantType, ResourceOperationRiskLevel, ResourceOperationReversibility, ResourceOperationFrontendSurface, ResourcePrimaryScope, ResourceTranspositionPolicy, ResourceOperation_CustomServiceImplementationMode, ResourceRelationship, ResourceRelationshipAccessScopeStrategy, ManyToManyScopeJunctionMap, type ReferenceConstraints } from './resources.shared.schemas';
|
|
16
20
|
import { NotificationBadgeKey, NotificationBadgeOperation } from '../notifications/notification-badges.schemas';
|
|
17
21
|
import { M2MNotificationDefinition, UserNotificationDefinition } from '../notifications/notifications.shared.schemas';
|
|
18
22
|
import { NotificationBadgeDefinition } from '../notifications/notification-badges.schemas';
|
|
@@ -21,6 +25,20 @@ import type { OrganizationUnitNarrowingDeclaration } from '../organizations/orga
|
|
|
21
25
|
import { LimitCountingConfig } from '../features/feature-definition.shared.schemas';
|
|
22
26
|
import { MainSchemaInfer, SchemaArrayInfer } from './utils/schema-type-inference.utils';
|
|
23
27
|
import type { RateLimitConfiguration } from '../requests/rate-limits.shared.schemas';
|
|
28
|
+
/**
|
|
29
|
+
* The page ceiling a collection verb has when its operation declares none — ONE number per verb.
|
|
30
|
+
*
|
|
31
|
+
* The factory materializes these onto every resolved LIST / SEARCH operation, so the request schema,
|
|
32
|
+
* the three repository adapters and the response schemas all read the SAME value off the operation.
|
|
33
|
+
* The literals used to live at seven sites (the schema defaults, the factory's two branches, the
|
|
34
|
+
* DTO builder's data bound, and each adapter's `_doList` / `_doSearch`) — which held only while every
|
|
35
|
+
* site happened to be edited together, and did not hold for the MCP collection tool, which built its
|
|
36
|
+
* input schema with no ceiling at all (#983). The adapters keep a fallback for an operation that
|
|
37
|
+
* reached them without the materialized field, and that fallback is these constants too.
|
|
38
|
+
*/
|
|
39
|
+
export declare const DEFAULT_LIST_PAGE_CEILING = 100;
|
|
40
|
+
/** SEARCH ceilings are lower on purpose: a search page is scored and ranked, not scanned. */
|
|
41
|
+
export declare const DEFAULT_SEARCH_PAGE_CEILING = 50;
|
|
24
42
|
/**
|
|
25
43
|
* The pagination block a collection RESPONSE echoes back, bounded by the operation's ceiling.
|
|
26
44
|
*
|
|
@@ -126,12 +144,18 @@ export declare enum IntrospectionTenancyStance {
|
|
|
126
144
|
* design system, compliance declarations — and carry no tenant dimension, so there is nothing for
|
|
127
145
|
* a contextual scope predicate to filter on.
|
|
128
146
|
*
|
|
129
|
-
* This is the only stance implemented, and it is
|
|
130
|
-
*
|
|
131
|
-
*
|
|
132
|
-
*
|
|
133
|
-
*
|
|
134
|
-
*
|
|
147
|
+
* This is the only stance implemented, and it is DECLARED rather than inferred, because an
|
|
148
|
+
* unstated stance is indistinguishable from an overlooked one. Every other repository enforces
|
|
149
|
+
* scoping ITSELF — Mongo and PostgreSQL through `buildContextualFilter`, HTTP_API by STAMPING
|
|
150
|
+
* each projected row with the owner organization of the system of record it came from (#1055), so
|
|
151
|
+
* the ordinary per-row tenant gate decides it. A read-through adapter that simply returned
|
|
152
|
+
* whatever its source produced would be the one backing kind with no scoping story, and nobody
|
|
153
|
+
* would be asked to notice.
|
|
154
|
+
*
|
|
155
|
+
* (This paragraph cited `HttpApiTenancyStance` as the precedent until #1055 removed it. The
|
|
156
|
+
* argument it made — declare the stance, do not infer it — is why this enum still exists; what
|
|
157
|
+
* changed is that HTTP_API stopped needing a stance of its own, because the answer became the
|
|
158
|
+
* same for every system of record.)
|
|
135
159
|
*/
|
|
136
160
|
APPLICATION_STRUCTURE = "application-structure",
|
|
137
161
|
/**
|
|
@@ -340,9 +364,9 @@ export declare const DEFAULT_PERSISTENCE_ADAPTER: PersistenceAdapter;
|
|
|
340
364
|
*
|
|
341
365
|
* The refusal is right as a DEFAULT and wrong as an absolute — some resources provably never
|
|
342
366
|
* participate in such a boundary, and for those the blanket refusal forbids a legitimate,
|
|
343
|
-
* safe deployment (a retrieval corpus
|
|
344
|
-
* no way past it.
|
|
345
|
-
*
|
|
367
|
+
* safe deployment (a retrieval corpus kept on PostgreSQL in an application whose MongoDB runs no `mongot`, say) with
|
|
368
|
+
* no way past it. A construct that refuses must ship the door in the same change, or a correct
|
|
369
|
+
* refusal becomes a permanent lockout: this enum IS that door. Declaring a member is a positive claim
|
|
346
370
|
* about the resource's write topology, made by its author, recorded in the config, and logged
|
|
347
371
|
* at registration — never an ambient tolerance and never a flag that merely silences an error.
|
|
348
372
|
*
|
|
@@ -468,6 +492,59 @@ export declare const Resources_Filter_DateRangeSchema: z.ZodObject<{
|
|
|
468
492
|
startDate: z.ZodOptional<z.ZodDate>;
|
|
469
493
|
endDate: z.ZodOptional<z.ZodDate>;
|
|
470
494
|
}, z.core.$strip>;
|
|
495
|
+
/**
|
|
496
|
+
* A NUMERIC BOUND PAIR — the number sibling of {@link Resources_Filter_DateRangeSchema}, and the
|
|
497
|
+
* only way to express "cost under 500" in a collection filter.
|
|
498
|
+
*
|
|
499
|
+
* A `z.number()` filter field means EQUALITY, which is almost never the question anyone asks of a
|
|
500
|
+
* number: a price, a score, an age and a count are all read as thresholds. Until this existed the
|
|
501
|
+
* framework had a range vocabulary for dates and none for numbers, so a listing could be narrowed
|
|
502
|
+
* to "created this week" and not to "cheaper than this".
|
|
503
|
+
*
|
|
504
|
+
* ## Why it is OPT-IN, where the date range is automatic
|
|
505
|
+
*
|
|
506
|
+
* `z.ZodDate` converts to a range unconditionally, because a date EQUALITY filter is meaningless —
|
|
507
|
+
* nobody filters rows by an exact millisecond. A number equality filter is perfectly meaningful
|
|
508
|
+
* ("priority 3", "version 2"), so converting every `z.number()` would silently change what every
|
|
509
|
+
* existing numeric filter in every application means. The author asks for the range by writing
|
|
510
|
+
* this schema in `filterFields`, and a plain `z.number()` keeps equality.
|
|
511
|
+
*
|
|
512
|
+
* ## `min`/`max`, not `from`/`to`
|
|
513
|
+
*
|
|
514
|
+
* It matches the date range's habit of naming the bounds after what they BOUND rather than after
|
|
515
|
+
* their position, and it keeps this vocabulary distinct from `z_range('number')`, which is a
|
|
516
|
+
* stored FIELD of two values (`from`/`to`) rather than a filter over one.
|
|
517
|
+
*
|
|
518
|
+
* Both bounds are optional so an open-ended range ("under 500", with no floor) is expressible; a
|
|
519
|
+
* value carrying neither is dropped rather than compiled into a degenerate condition.
|
|
520
|
+
*/
|
|
521
|
+
export declare const Resources_Filter_NumberRangeSchema: z.ZodObject<{
|
|
522
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
523
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
524
|
+
}, z.core.$strip>;
|
|
525
|
+
/** The two sub-keys of a {@link Resources_Filter_NumberRangeSchema} value, as the wire carries them. */
|
|
526
|
+
export declare const RESOURCES_FILTER_NUMBER_RANGE_SUBKEYS: readonly string[];
|
|
527
|
+
/**
|
|
528
|
+
* What an author may write for one FILTER FIELD.
|
|
529
|
+
*
|
|
530
|
+
* The primitives mean equality (or, for a date, the range the factory converts it into), and
|
|
531
|
+
* {@link Resources_Filter_NumberRangeSchema} is the one structured shape a caller may send —
|
|
532
|
+
* deliberately a NAMED addition rather than a widening to "any object", because the collection
|
|
533
|
+
* controller's filter guard is an allow-list and every shape it admits has to be one somebody
|
|
534
|
+
* decided to admit.
|
|
535
|
+
*/
|
|
536
|
+
export type ResourceFilterFieldSchema = PrimitiveZodType | typeof Resources_Filter_NumberRangeSchema;
|
|
537
|
+
/** The two sub-keys of a {@link Resources_Filter_DateRangeSchema} value, as the wire carries them. */
|
|
538
|
+
export declare const RESOURCES_FILTER_DATE_RANGE_SUBKEYS: readonly string[];
|
|
539
|
+
/**
|
|
540
|
+
* Is this the numeric-range filter vocabulary?
|
|
541
|
+
*
|
|
542
|
+
* Structural rather than an identity check on the exported schema: an author may legitimately
|
|
543
|
+
* write `Resources_Filter_NumberRangeSchema.optional()` or attach decorators, both of which
|
|
544
|
+
* produce a different object. What identifies it is its shape — an object whose keys are exactly
|
|
545
|
+
* `min` and `max`.
|
|
546
|
+
*/
|
|
547
|
+
export declare function isResourcesFilterNumberRangeSchema(schema: unknown): boolean;
|
|
471
548
|
export declare const Resources_Filter_BaseSchema: z.ZodObject<{
|
|
472
549
|
searchRequest: z.ZodOptional<z.ZodString>;
|
|
473
550
|
createdAt: z.ZodOptional<z.ZodObject<{
|
|
@@ -671,7 +748,7 @@ export type ResourceCollectionExportConfig = {
|
|
|
671
748
|
};
|
|
672
749
|
export type CollectionViewFields_Shared = {
|
|
673
750
|
pageSize?: number;
|
|
674
|
-
filterFields?: Record<string,
|
|
751
|
+
filterFields?: Record<string, ResourceFilterFieldSchema | ((filterRef: PrimitiveZodType) => string)>;
|
|
675
752
|
sortFields?: readonly string[];
|
|
676
753
|
/**
|
|
677
754
|
* Opt this LIST/SEARCH operation into CSV/JSON export — see {@link ResourceCollectionExportConfig}.
|
|
@@ -829,9 +906,116 @@ export type CollectionViewFields_Search = CollectionViewFields_Shared & {
|
|
|
829
906
|
* validates away to nothing, and then fails as "`_ids` is required" — which is exactly what every
|
|
830
907
|
* frontend bulk surface did until 2026-08-29.
|
|
831
908
|
*/
|
|
909
|
+
/**
|
|
910
|
+
* How many rows one synchronous bulk request may name, unless the operation declares otherwise.
|
|
911
|
+
*
|
|
912
|
+
* A batch documents and ENFORCES its maximum — spec-cite: Google AIP-233 / AIP-234 ("The comment above
|
|
913
|
+
* the `requests` field should document the maximum number of requests allowed"),
|
|
914
|
+
* https://google.aip.dev/234 . Before this, `_ids` had a minimum and no maximum, so any client could
|
|
915
|
+
* name an unbounded list in one synchronous write.
|
|
916
|
+
*
|
|
917
|
+
* 100 is the default page ceiling of a listing (`DEFAULT_LIST_PAGE_CEILING`): the largest selection
|
|
918
|
+
* a person can make from one loaded page. Acting beyond a page is a different mechanism — a filter
|
|
919
|
+
* evaluated server-side, run in the background (issue #1461) — not a longer id list.
|
|
920
|
+
*/
|
|
921
|
+
export declare const BULK_OPERATION_SELECTOR_FIELD: "_ids";
|
|
922
|
+
/**
|
|
923
|
+
* The single named source for the MATCH selector's field name — the cross-page sibling of
|
|
924
|
+
* {@link BULK_OPERATION_SELECTOR_FIELD}, and a selector for the same reason: it names rows, it is
|
|
925
|
+
* never written.
|
|
926
|
+
*/
|
|
927
|
+
export declare const BULK_OPERATION_MATCH_FIELD: "_match";
|
|
928
|
+
export declare const BULK_OPERATION_DEFAULT_MAX_SELECTION: 100;
|
|
929
|
+
/**
|
|
930
|
+
* How many rows a BACKGROUND bulk run may be given, when the operation declares a non-inline runtime.
|
|
931
|
+
*
|
|
932
|
+
* The synchronous maximum exists because one request may not hold a client waiting on an unbounded
|
|
933
|
+
* write; a backgrounded run has no one waiting, so that reason does not apply to it. Capping the two
|
|
934
|
+
* lanes at the same number made the second lane unreachable — the whole point of "act on all 2,340
|
|
935
|
+
* matching" is that 2,340 is more than a page, and the controller refused it before the runtime mode
|
|
936
|
+
* was ever consulted.
|
|
937
|
+
*
|
|
938
|
+
* It is still BOUNDED, for a reason the synchronous cap does not have: the resolved ids travel in
|
|
939
|
+
* the job payload, and a payload is a message. 10,000 ids is roughly 250 KB, which the payload store
|
|
940
|
+
* already handles by reference — beyond that, the honest answer is not a longer list but a selector
|
|
941
|
+
* the WORKER re-evaluates as it pages, which is deliberately not built yet (a population read at
|
|
942
|
+
* enqueue and a population read during the run are different things, and the difference needs
|
|
943
|
+
* deciding rather than defaulting).
|
|
944
|
+
*/
|
|
945
|
+
export declare const BULK_OPERATION_BACKGROUND_MAX_SELECTION: 10000;
|
|
946
|
+
/** The effective limit for one bulk operation: its declared `bulkOperationMaxSelection`, else the default. */
|
|
947
|
+
export declare function resolveBulkOperationMaxSelection(operation: {
|
|
948
|
+
bulkOperationMaxSelection?: number;
|
|
949
|
+
}): number;
|
|
950
|
+
/**
|
|
951
|
+
* The MATCH selector: the rows a listing would return, named by the query that produced them.
|
|
952
|
+
*
|
|
953
|
+
* A selection that spans pages is a FILTER, never an id list — the client cannot enumerate a
|
|
954
|
+
* population it has not loaded, and an id list long enough to hold one would be the unbounded
|
|
955
|
+
* request the batch maximum exists to refuse. This is what "select all N matching" sends
|
|
956
|
+
* (spec-cite: N/A — the pattern is Gmail's "select all conversations that match this search"; the
|
|
957
|
+
* words here are this repository's).
|
|
958
|
+
*
|
|
959
|
+
* It is typed LOOSELY on the wire on purpose. Each resource declares its own `filterFields`, so the
|
|
960
|
+
* only schema that can say what a filter MEANS for this resource is the one its LIST operation was
|
|
961
|
+
* built with — and that schema lives in the registry, at the server. Embedding it in the bulk twin's
|
|
962
|
+
* request DTO would copy one contract into another and let the two drift; re-parsing the client's
|
|
963
|
+
* filter server-side against the LIST's own schema keeps one source, and makes the server the
|
|
964
|
+
* authority on what was asked for. A filter that does not parse there is refused.
|
|
965
|
+
*
|
|
966
|
+
* The population is then scoped exactly as the listing was — the same business filter — so a match
|
|
967
|
+
* selector can never reach a row its sender could not have listed.
|
|
968
|
+
*/
|
|
969
|
+
export declare const Resources_BulkOperationMatchSelectorSchema: z.ZodObject<{
|
|
970
|
+
filters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
971
|
+
search: z.ZodOptional<z.ZodString>;
|
|
972
|
+
}, z.core.$strip>;
|
|
973
|
+
export type Resources_BulkOperationMatchSelector = z.infer<typeof Resources_BulkOperationMatchSelectorSchema>;
|
|
832
974
|
export declare const Resources_BulkOperationBaseSchema: z.ZodObject<{
|
|
833
|
-
_ids: z.ZodArray<z.ZodString
|
|
975
|
+
_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
976
|
+
_match: z.ZodOptional<z.ZodObject<{
|
|
977
|
+
filters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
978
|
+
search: z.ZodOptional<z.ZodString>;
|
|
979
|
+
}, z.core.$strip>>;
|
|
834
980
|
}, z.core.$strip>;
|
|
981
|
+
/**
|
|
982
|
+
* The bulk selector schema for a given limit — what an operation declaring its own limit is built with.
|
|
983
|
+
*
|
|
984
|
+
* Both members are OPTIONAL here and the schema stays a plain object, deliberately. "Exactly one of
|
|
985
|
+
* them" is a rule a `.refine` would express perfectly and at the wrong tier: refining returns a
|
|
986
|
+
* wrapped schema, and `getZodObjectShape` answers `{}` for anything that is not a plain object — so
|
|
987
|
+
* the whole bulk request's fields would go invisible to field-spec extraction, form building and
|
|
988
|
+
* every other consumer that reads a DTO by shape. Measured: two DTO-builder pins went red the
|
|
989
|
+
* moment the selector was refined, both on `.shape` lookups.
|
|
990
|
+
*
|
|
991
|
+
* The rule therefore lives at the service chokepoint, in {@link readBulkOperationSelector}, which
|
|
992
|
+
* is also the only tier MCP, queue and programmatic callers pass through — they never meet a
|
|
993
|
+
* request DTO at all, so a DTO-tier rule would have covered the narrower population anyway.
|
|
994
|
+
*/
|
|
995
|
+
export declare function buildBulkOperationSelectorSchema(maxSelection: number): typeof Resources_BulkOperationBaseSchema;
|
|
996
|
+
/**
|
|
997
|
+
* The request a BULK twin accepts, built from its row variant's request and the batch limit — the one
|
|
998
|
+
* construction both the resource factory and the DTO builder use. They each built it themselves, and
|
|
999
|
+
* the builder (which runs later and wins) always used the fixed base schema, so a limit a variant
|
|
1000
|
+
* declared was silently replaced by the default.
|
|
1001
|
+
*
|
|
1002
|
+
* - a bulk CREATE takes `{ data: row[] }`, at most `maxSelection` rows;
|
|
1003
|
+
* - every other bulk verb takes the `_ids` selector (at most `maxSelection`) plus the row request's
|
|
1004
|
+
* own fields. `rowRequestDto` is `undefined` when the row variant takes no input.
|
|
1005
|
+
*/
|
|
1006
|
+
export declare function wrapRequestDtoAsBulk(params: {
|
|
1007
|
+
rowRequestDto: z.ZodTypeAny | undefined;
|
|
1008
|
+
maxSelection: number;
|
|
1009
|
+
isCreate: boolean;
|
|
1010
|
+
}): z.ZodTypeAny;
|
|
1011
|
+
/**
|
|
1012
|
+
* The ROW a batch-create request carries — the inverse of {@link wrapRequestDtoAsBulk} for `isCreate`.
|
|
1013
|
+
*
|
|
1014
|
+
* A batch create's request is `{ data: row[] }`, and a repository persists ROWS, so whatever validates
|
|
1015
|
+
* what is written needs the row schema back out of the envelope. Kept beside the construction so the
|
|
1016
|
+
* envelope's shape is known in one place; `undefined` when the DTO is not that envelope.
|
|
1017
|
+
*/
|
|
1018
|
+
export declare function readBatchCreateRowRequestDto(requestDto: z.ZodTypeAny | undefined): z.ZodTypeAny | undefined;
|
|
835
1019
|
/**
|
|
836
1020
|
* The single named source for the bulk selector's field name.
|
|
837
1021
|
*
|
|
@@ -839,7 +1023,6 @@ export declare const Resources_BulkOperationBaseSchema: z.ZodObject<{
|
|
|
839
1023
|
* the generated relationship-bulk selector) reads the name from here, so the two halves of the wire
|
|
840
1024
|
* contract cannot drift apart silently.
|
|
841
1025
|
*/
|
|
842
|
-
export declare const BULK_OPERATION_SELECTOR_FIELD: "_ids";
|
|
843
1026
|
/**
|
|
844
1027
|
* Read the bulk selector out of a request payload, or `undefined` when it carries none.
|
|
845
1028
|
*
|
|
@@ -850,6 +1033,27 @@ export declare const BULK_OPERATION_SELECTOR_FIELD: "_ids";
|
|
|
850
1033
|
* than a half-resolved selector reaching persistence.
|
|
851
1034
|
*/
|
|
852
1035
|
export declare function readBulkOperationSelectorIds(payload: unknown): string[] | undefined;
|
|
1036
|
+
/**
|
|
1037
|
+
* Read the bulk selector out of a request payload — WHICH selector it carries, and its content.
|
|
1038
|
+
*
|
|
1039
|
+
* `readBulkOperationSelectorIds` answers only the id list, which was the whole vocabulary until the
|
|
1040
|
+
* match selector existed. A caller that must distinguish "named these rows" from "named the query
|
|
1041
|
+
* that finds them" asks here: the two resolve differently (an id list is already a target; a match
|
|
1042
|
+
* has to be evaluated, scoped and capped) and nothing may treat one as the other by accident.
|
|
1043
|
+
*
|
|
1044
|
+
* Tolerant of an unparsed body for the same reason as its sibling: the service tier is reached both
|
|
1045
|
+
* through the HTTP controller, where the request DTO has already validated the shape, and by MCP /
|
|
1046
|
+
* batch / programmatic callers, where it has not. A payload naming BOTH is `undefined` — the
|
|
1047
|
+
* ambiguity is the request DTO's to refuse, and honouring one of them here would make the other
|
|
1048
|
+
* silently inert.
|
|
1049
|
+
*/
|
|
1050
|
+
export declare function readBulkOperationSelector(payload: unknown): {
|
|
1051
|
+
kind: 'ids';
|
|
1052
|
+
ids: string[];
|
|
1053
|
+
} | {
|
|
1054
|
+
kind: 'match';
|
|
1055
|
+
match: Resources_BulkOperationMatchSelector;
|
|
1056
|
+
} | undefined;
|
|
853
1057
|
/**
|
|
854
1058
|
* Strip the bulk selector from a request payload.
|
|
855
1059
|
*
|
|
@@ -1038,7 +1242,19 @@ export type ResourceConfiguration_GeneratedOperationMetadata = ResourceConfigura
|
|
|
1038
1242
|
export type ResourceOperation_UnimplementedAcknowledgement = {
|
|
1039
1243
|
/** Why the operation is declared without an implementation, in the author's own words. */
|
|
1040
1244
|
reason: string;
|
|
1041
|
-
/**
|
|
1245
|
+
/**
|
|
1246
|
+
* Where the gap is tracked, as an address a STRANGER can resolve.
|
|
1247
|
+
*
|
|
1248
|
+
* This value rides a runtime refusal: `services-registry-handler` throws a `CONFIGURATION` error
|
|
1249
|
+
* carrying it when the operation is called, so it is read by an operator holding a log line and
|
|
1250
|
+
* nothing else. A `.claude/plans/` path is therefore not an acceptable value however precise it
|
|
1251
|
+
* is — that tree is gitignored, so such a reference resolves on the machine that wrote it and
|
|
1252
|
+
* nowhere else. This doc used to offer "a plan path" as the first example and one was duly used,
|
|
1253
|
+
* reaching fourteen tracked files and every operator who hit the refusal.
|
|
1254
|
+
*
|
|
1255
|
+
* A tracker issue URL is the durable form. A commit sha works too; a path into an untracked tree
|
|
1256
|
+
* does not.
|
|
1257
|
+
*/
|
|
1042
1258
|
trackingRef: string;
|
|
1043
1259
|
};
|
|
1044
1260
|
/**
|
|
@@ -1102,11 +1318,70 @@ export declare enum ResourceOperationRequestContractBreadth {
|
|
|
1102
1318
|
OVERBROAD_INHERITED_FULL_CONTRACT = "overbroad_inherited_full_contract"
|
|
1103
1319
|
}
|
|
1104
1320
|
/**
|
|
1105
|
-
*
|
|
1106
|
-
*
|
|
1107
|
-
*
|
|
1108
|
-
|
|
1109
|
-
|
|
1321
|
+
* Whether an AUTHORED request contract re-admits a field its resource schema SEALED, without
|
|
1322
|
+
* naming who owns that field's value.
|
|
1323
|
+
*
|
|
1324
|
+
* The third verdict in this family, and the one whose two members are easiest to conflate: a sealed
|
|
1325
|
+
* field appearing in an authored contract is not by itself a defect. It is a defect when NOBODY
|
|
1326
|
+
* owns it.
|
|
1327
|
+
*
|
|
1328
|
+
* ## What "sealed" means, and why authoring a contract silently unseals it
|
|
1329
|
+
*
|
|
1330
|
+
* `.excludeFromCreate()` / `.excludeFromUpdate()` say what NOBODY may send. The DTO builder honours
|
|
1331
|
+
* them by OMITTING the field — `applyCreateOmissionsToSchema` and its update twin — but that pass
|
|
1332
|
+
* runs only for a SYNTHESIZED contract. An operation that authors a `requestDto` has it "preserved
|
|
1333
|
+
* verbatim, never rebuilt", so the omission pass never runs and every sealed field the authored
|
|
1334
|
+
* contract happens to name is back in the validated write.
|
|
1335
|
+
*
|
|
1336
|
+
* The two authorities are different and the precedence silently inverted: an author supplying a
|
|
1337
|
+
* narrow contract states what a caller MAY send, while a field-level seal states what NOBODY may.
|
|
1338
|
+
*
|
|
1339
|
+
* On CREATE the omission IS the entire protection — a client that sends a sealed field gets a
|
|
1340
|
+
* success and the value goes nowhere, deliberately, and there is no runtime guard behind it. So an
|
|
1341
|
+
* authored CREATE contract that re-admits a sealed field removes the only thing standing there.
|
|
1342
|
+
*
|
|
1343
|
+
* ## Why the answer is an OWNER rather than a subtraction (#109)
|
|
1344
|
+
*
|
|
1345
|
+
* Subtracting the seal from an authored contract — running the omission pass ON TOP of it — was
|
|
1346
|
+
* measured over the whole catalogue and refused, because what it removes depends on how the
|
|
1347
|
+
* contract was SPELLED rather than on the seal:
|
|
1348
|
+
*
|
|
1349
|
+
* - the access-grant decision verbs re-declare `decisionReason` as a fresh, UNDECORATED
|
|
1350
|
+
* `z.string().max(1000).optional()`, so a decorator-aware subtraction would not touch it, while
|
|
1351
|
+
* `consumableTokens | create` authors `MainSchema.omit({…})` and carries the decorated field, so
|
|
1352
|
+
* it would. Identical situations, opposite outcomes, decided by authoring style;
|
|
1353
|
+
* - the pass ALSO omits a hardcoded NAME list, and that half does bite: it would strip the audit
|
|
1354
|
+
* export's `createdAt` date-range filter, a different type meaning a different thing that merely
|
|
1355
|
+
* shares a name with the sealed timestamp — an unbounded export, silently.
|
|
1356
|
+
*
|
|
1357
|
+
* So subtraction enforces the seal unpredictably and breaks a legitimate contract while doing it.
|
|
1358
|
+
*
|
|
1359
|
+
* What distinguishes the legitimate cases is not the field; it is that something already answers
|
|
1360
|
+
* "who decides this value". Two answers exist in the model already, and both are what makes those
|
|
1361
|
+
* cases safe today:
|
|
1362
|
+
*
|
|
1363
|
+
* - the operation declares the field in `authoritativeFields` AND has a prefix hook that can own
|
|
1364
|
+
* it. The hook decides the value, and may legitimately derive it from the caller's input — the
|
|
1365
|
+
* access-grant verbs echo `decisionReason`, and should, because the tenant's stated reason is the
|
|
1366
|
+
* tenant's words. What the declaration buys is not an overwrite; it is a NAMED OWNER that
|
|
1367
|
+
* decided, in place of a field nobody claimed. The hook is required rather than assumed: an
|
|
1368
|
+
* unbacked declaration preserves the CALLER's value and additionally silences the read-only
|
|
1369
|
+
* runtime refusal, which would make the remediation a bypass;
|
|
1370
|
+
* - the operation SINGLE-OWNS its execution (`OVERRIDE_ALL` / `REPLACE_CORE_OPERARTIONS`) — the
|
|
1371
|
+
* generic core write never runs, so a decorator about the generic create/update contract has no
|
|
1372
|
+
* write to bar.
|
|
1373
|
+
*
|
|
1374
|
+
* Neither is new surface. What is new is that silence is no longer an answer.
|
|
1375
|
+
*
|
|
1376
|
+
* assurance-control: WILDO.ACCESS.LEAST_PRIVILEGE — a field the schema seals against every caller must
|
|
1377
|
+
* not become writable merely because an operation described its own request body.
|
|
1378
|
+
*/
|
|
1379
|
+
export declare enum ResourceOperationSealedRequestFieldAdmission {
|
|
1380
|
+
/** No sealed field is re-admitted, or every re-admitted one names an owner. */
|
|
1381
|
+
SEALED_FIELDS_OWNED = "sealed_fields_owned",
|
|
1382
|
+
/** The authored contract re-admits a sealed field that nothing claims. */
|
|
1383
|
+
UNOWNED_SEALED_FIELD_READMITTED = "unowned_sealed_field_readmitted"
|
|
1384
|
+
}
|
|
1110
1385
|
/**
|
|
1111
1386
|
* Acknowledge an engine operation as a known, fail-closed implementation gap.
|
|
1112
1387
|
*
|
|
@@ -1114,22 +1389,30 @@ export declare const UNIMPLEMENTED_ENGINE_OPERATION_BACKLOG_REF = ".claude/plans
|
|
|
1114
1389
|
* that adds nothing is a reason not worth reading during triage. State what the operation was
|
|
1115
1390
|
* meant to do, so whoever picks it up knows the target behaviour without re-deriving it.
|
|
1116
1391
|
*
|
|
1117
|
-
*
|
|
1392
|
+
* And requires the gap's OWN `trackingRef`, which used to be a module constant
|
|
1393
|
+
* (`UNIMPLEMENTED_ENGINE_OPERATION_BACKLOG_REF`) naming one shared backlog document — a path under
|
|
1394
|
+
* `.claude/plans/`, which is gitignored. One global address for every gap is what made a
|
|
1395
|
+
* machine-local one look reasonable: nobody chooses a bad address per gap, they inherit the one
|
|
1396
|
+
* that is already there. The field always varied in principle — this factory's own tests pass
|
|
1397
|
+
* literals — so parameterising it costs one argument and removes the shared default that rotted.
|
|
1398
|
+
*
|
|
1399
|
+
* @see ResourceOperation_UnimplementedAcknowledgement for the two effects this has, and for why the
|
|
1400
|
+
* ref must be resolvable by a stranger.
|
|
1118
1401
|
*/
|
|
1119
|
-
export declare const acknowledgeUnimplementedEngineOperation: (reason: string) => ResourceOperation_UnimplementedAcknowledgement;
|
|
1402
|
+
export declare const acknowledgeUnimplementedEngineOperation: (reason: string, trackingRef: string) => ResourceOperation_UnimplementedAcknowledgement;
|
|
1120
1403
|
/**
|
|
1121
1404
|
* @wildo_source:part:start saas.models.resource-config.operation-auditable-event facet:layer:shared facet:audience:app-developer
|
|
1122
1405
|
*
|
|
1123
1406
|
* Declarative control over this variant's audit emission.
|
|
1124
1407
|
*
|
|
1125
|
-
* **The baseline needs no declaration.** Every `HIGH` / `CRITICAL` variant emits
|
|
1408
|
+
* **The baseline needs no declaration.** Every framework-managed write-shaped `HIGH` / `CRITICAL` variant emits
|
|
1126
1409
|
* `RESOURCE_OPERATION_PERFORMED` automatically — `riskLevel` is already the framework's canonical
|
|
1127
1410
|
* danger axis (it drives MCP destructive hints, frontend danger-zone placement and CRITICAL typed
|
|
1128
1411
|
* confirmation), and a risk-driven floor is fail-closed by omission. A declarative-ONLY mechanism
|
|
1129
1412
|
* was rejected for exactly that reason: it fails OPEN when an author forgets, which is how 20 event
|
|
1130
1413
|
* types came to be declared in `CoreAuditableEventType` and wired to nothing.
|
|
1131
1414
|
*
|
|
1132
|
-
* This declaration
|
|
1415
|
+
* This declaration selects below-floor writes and explicit operator justification evidence.
|
|
1133
1416
|
*/
|
|
1134
1417
|
export type ResourceOperation_AuditableEvent = {
|
|
1135
1418
|
/**
|
|
@@ -1140,6 +1423,16 @@ export type ResourceOperation_AuditableEvent = {
|
|
|
1140
1423
|
* question to "is this evidence an auditor needs".
|
|
1141
1424
|
*/
|
|
1142
1425
|
auditBelowRiskFloor?: boolean;
|
|
1426
|
+
/**
|
|
1427
|
+
* Top-level request string carrying the operator's justification, e.g. `reasonField: 'reason'`.
|
|
1428
|
+
* Captured before custom input transformations and recorded as `eventData.reason` after commit.
|
|
1429
|
+
* This explicitly authorizes retaining that text in audit destinations; do not select a secret
|
|
1430
|
+
* or an unrestricted business-data field. Bound the text in the request DTO and tell callers
|
|
1431
|
+
* to supply an operational justification. Other request values are never copied by this option.
|
|
1432
|
+
* This does not change the risk floor: below-floor writes still need `auditBelowRiskFloor`.
|
|
1433
|
+
* OVERRIDE_ALL implementations own their persistence and must emit their committed audit event.
|
|
1434
|
+
*/
|
|
1435
|
+
reasonField?: string;
|
|
1143
1436
|
};
|
|
1144
1437
|
/** @wildo_source:part:end saas.models.resource-config.operation-auditable-event */
|
|
1145
1438
|
type ResourceConfiguration_OperationVariant_Base<TMainSchema extends z.ZodTypeAny = z.ZodAny> = {
|
|
@@ -1155,6 +1448,21 @@ type ResourceConfiguration_OperationVariant_Base<TMainSchema extends z.ZodTypeAn
|
|
|
1155
1448
|
isDefault?: boolean;
|
|
1156
1449
|
variantKey?: string;
|
|
1157
1450
|
riskLevel: ResourceOperationRiskLevel;
|
|
1451
|
+
/**
|
|
1452
|
+
* Whether a later operation can undo this one — see {@link ResourceOperationReversibility}.
|
|
1453
|
+
*
|
|
1454
|
+
* OMIT IT unless the verb's name does not carry the answer. The default is derived by
|
|
1455
|
+
* {@link resolveOperationReversibility}: DELETE-like is irreversible, everything else reversible.
|
|
1456
|
+
* Declare it only to correct that derivation — a custom verb that destroys something
|
|
1457
|
+
* (`ROTATE` replaces a secret, `PURGE_ALL` empties a queue, `RESET_FEATURES` clears a ledger), or,
|
|
1458
|
+
* rarely, a DELETE-like verb that is genuinely recoverable because it only marks a row and a
|
|
1459
|
+
* `RESTORE` exists to bring it back.
|
|
1460
|
+
*
|
|
1461
|
+
* This is the axis the DANGER ZONE is filtered on. It is deliberately NOT `riskLevel`: risk says
|
|
1462
|
+
* how much an act matters, reversibility says whether you can take it back, and a section headed
|
|
1463
|
+
* "Danger Zone" is a promise about the second.
|
|
1464
|
+
*/
|
|
1465
|
+
reversibility?: ResourceOperationReversibility;
|
|
1158
1466
|
/**
|
|
1159
1467
|
* @wildo_source:part:start saas.models.resource-config.operation-variant-client-timeout facet:layer:shared facet:family:resource-config
|
|
1160
1468
|
*
|
|
@@ -1222,6 +1530,22 @@ type ResourceConfiguration_OperationVariant_Base<TMainSchema extends z.ZodTypeAn
|
|
|
1222
1530
|
* automatically, and everything else is deliberately not.
|
|
1223
1531
|
*/
|
|
1224
1532
|
auditableEvent?: ResourceOperation_AuditableEvent;
|
|
1533
|
+
/**
|
|
1534
|
+
* @wildo_source:part:start saas.models.resource-config.operation-scope-admissions facet:layer:shared facet:audience:app-developer
|
|
1535
|
+
*
|
|
1536
|
+
* The two per-variant admissions that relax WHOSE row an operation may address. Both are empty by
|
|
1537
|
+
* default, both are declared on the VARIANT rather than the resource, and both are the seam a
|
|
1538
|
+
* security reviewer should read first.
|
|
1539
|
+
*
|
|
1540
|
+
* Neither touches WHO may call: the operation's `roles` gate runs independently and unchanged, so
|
|
1541
|
+
* an admitted variant is still reachable only by the roles it declares. Role decides who; these
|
|
1542
|
+
* decide whose.
|
|
1543
|
+
*
|
|
1544
|
+
* The trap is the generic verb. Declaring an admission on a general UPDATE opens every field of
|
|
1545
|
+
* every row it can reach — which is why the framework's own cross-tenant repair is authored as its
|
|
1546
|
+
* own verb that writes one field in one direction and overwrites whatever else the payload carried.
|
|
1547
|
+
* Give the crossing its own narrow operation.
|
|
1548
|
+
*/
|
|
1225
1549
|
/**
|
|
1226
1550
|
* Admits an APPLICATION-scope platform super-administrator to a resource whose primary scope is a
|
|
1227
1551
|
* PER-INSTANCE tenant scope (today: `ORGANIZATIONS`) without requiring membership of that tenant.
|
|
@@ -1234,7 +1558,7 @@ type ResourceConfiguration_OperationVariant_Base<TMainSchema extends z.ZodTypeAn
|
|
|
1234
1558
|
* they are denied on every org-scoped resource, INCLUDING the organization row itself. That is
|
|
1235
1559
|
* normally exactly right: it is what makes tenant isolation hold against the most privileged
|
|
1236
1560
|
* principal in the system, and it is pinned by
|
|
1237
|
-
* `cross-tenant-super-admin-reach.
|
|
1561
|
+
* `cross-tenant-super-admin-reach.integration.test.ts`.
|
|
1238
1562
|
*
|
|
1239
1563
|
* It also means a tenant that loses its last owner cannot be repaired by anyone, which is the other
|
|
1240
1564
|
* half of the administrative-continuity pattern: protect the tenant tier and
|
|
@@ -1253,6 +1577,11 @@ type ResourceConfiguration_OperationVariant_Base<TMainSchema extends z.ZodTypeAn
|
|
|
1253
1577
|
* two role tables, and membership `roles` is free-form (`OrgRolesSchema` admits any string), so
|
|
1254
1578
|
* without the scope qualifier a tenant admin could type their way into cross-tenant reach.
|
|
1255
1579
|
* - The variant must declare this flag. Absent, behaviour is unchanged and the caller is denied.
|
|
1580
|
+
* - The caller must hold a usable platform-access grant for the target organization. Platform
|
|
1581
|
+
* authority and this flag alone do not authorize ordinary cross-tenant operations.
|
|
1582
|
+
* The REQUEST_ACCESS operation is the bootstrap exception: it asks for the grant and therefore
|
|
1583
|
+
* cannot require one first. An ownerless-tenant recovery may auto-approve that request; recovery
|
|
1584
|
+
* operations still require the resulting usable grant.
|
|
1256
1585
|
*
|
|
1257
1586
|
* Declare it only on operations whose PURPOSE is cross-tenant administration, and expect each one
|
|
1258
1587
|
* to justify itself: this is the seam a reviewer should look at first.
|
|
@@ -1300,6 +1629,54 @@ type ResourceConfiguration_OperationVariant_Base<TMainSchema extends z.ZodTypeAn
|
|
|
1300
1629
|
* is authorized by the caller's ROLE, never by caller and subject being the same person.
|
|
1301
1630
|
*/
|
|
1302
1631
|
admitsCrossSubjectUserAdministration?: boolean;
|
|
1632
|
+
/**
|
|
1633
|
+
* Admits this variant to perform a COLLECTION-shaped write on a scope-ROOT resource that the
|
|
1634
|
+
* caller's own execution context confines — the ANONYMOUS-scope sibling of
|
|
1635
|
+
* {@link admitsCrossTenantPlatformAdministration} and {@link admitsCrossSubjectUserAdministration},
|
|
1636
|
+
* following the same doctrine: per-variant, empty by default, enumerable by grep.
|
|
1637
|
+
*
|
|
1638
|
+
* ## Why it is needed
|
|
1639
|
+
*
|
|
1640
|
+
* A collection-shaped operation on a scope root is classified by
|
|
1641
|
+
* `isUnconfinedScopeRootDirectoryRead` as an unconfined DIRECTORY write, and
|
|
1642
|
+
* `enforceApplicationWideReadAdmission` then demands a two-person application access grant. That
|
|
1643
|
+
* classification is right for the population it was written for — `SCOPE_ROOT_CONFINED_OPERATIONS`
|
|
1644
|
+
* deliberately includes `UPDATE_MANY` so that "a set-shaped write on the tenant resource" cannot
|
|
1645
|
+
* appear unconfined — and it is right because the gate reads the DECLARED shape and can know
|
|
1646
|
+
* nothing about the row a custom implementation will actually select.
|
|
1647
|
+
*
|
|
1648
|
+
* But a collection shape is also the only shape in which a request CANNOT NAME A ROW, which is
|
|
1649
|
+
* exactly what an anonymous self-write wants: `ANONYMOUS_USERS.record_consent` carries no entity id
|
|
1650
|
+
* precisely so a visitor cannot address another visitor's session, and its implementation selects
|
|
1651
|
+
* `{ uuidRef }` from the verified session JWT. Without this flag that operation answers 403 to the
|
|
1652
|
+
* only caller it exists for (#1267).
|
|
1653
|
+
*
|
|
1654
|
+
* ## Why the confinement authority was NOT extended instead
|
|
1655
|
+
*
|
|
1656
|
+
* `assignScopeRootCollectionConfinementToFilter` states on its own disposition enum that
|
|
1657
|
+
* `USER_SELF` / `ANONYMOUS` instances come from `initiatorIds`, *"which the request supplies about
|
|
1658
|
+
* ITSELF and which therefore cannot be an authority set"*. Teaching it to confine by
|
|
1659
|
+
* `anonymousUserId` would reverse that measured decision for every scope-root operation at once.
|
|
1660
|
+
* This flag changes nothing there: the tenant derivation, its disposition vocabulary and every
|
|
1661
|
+
* other operation are untouched.
|
|
1662
|
+
*
|
|
1663
|
+
* ## What the declaring operation owes
|
|
1664
|
+
*
|
|
1665
|
+
* The flag says "this write is confined by something the gate cannot see". The operation must
|
|
1666
|
+
* therefore CONFINE IT — from the execution context, never from the request — and say where. A
|
|
1667
|
+
* variant that declares this and then writes an unfiltered set has made the declaration a lie, and
|
|
1668
|
+
* the gate will not catch it. Declare it only where the operation's PURPOSE is a principal acting
|
|
1669
|
+
* on its own single row, and expect each one to justify itself: this is a seam a reviewer should
|
|
1670
|
+
* look at first.
|
|
1671
|
+
*
|
|
1672
|
+
* It relaxes only the DIRECTORY classification. The operation's `roles` gate, the parent-scope
|
|
1673
|
+
* check and the repository's own filters all run unchanged.
|
|
1674
|
+
*
|
|
1675
|
+
* assurance-control: WILDO.ACCESS.LEAST_PRIVILEGE — a collection-shaped write is admitted without a
|
|
1676
|
+
* platform elevation only where the acting principal is confined to its own row by construction.
|
|
1677
|
+
*/
|
|
1678
|
+
admitsSelfConfinedScopeRootWrite?: boolean;
|
|
1679
|
+
/** @wildo_source:part:end saas.models.resource-config.operation-scope-admissions */
|
|
1303
1680
|
/**
|
|
1304
1681
|
* @wildo_source:part:start saas.models.resource-config.operation-step-up facet:layer:shared facet:audience:app-developer
|
|
1305
1682
|
*
|
|
@@ -1336,24 +1713,24 @@ type ResourceConfiguration_OperationVariant_Base<TMainSchema extends z.ZodTypeAn
|
|
|
1336
1713
|
* (a code or a backup code, through the same anti-replay authority login uses) and `PASSKEY` (a
|
|
1337
1714
|
* WebAuthn assertion produced under {@link PasskeyAuthenticationCeremony.STEP_UP}, which pins user
|
|
1338
1715
|
* verification to REQUIRED and uses a challenge key a login assertion cannot redeem). A principal
|
|
1339
|
-
* satisfies this gate
|
|
1716
|
+
* satisfies this gate only by proving an enrolled factor accepted by the effective policy.
|
|
1717
|
+
* Holding a credential alone does not mean its method is currently permitted.
|
|
1340
1718
|
*
|
|
1341
|
-
*
|
|
1342
|
-
*
|
|
1343
|
-
*
|
|
1344
|
-
* perform. Both populations can satisfy it now.
|
|
1719
|
+
* A person who signs in through SSO can use an accepted local factor; a genuinely SSO-only
|
|
1720
|
+
* account without one cannot satisfy this gate with its upstream SSO session. Passkey-only
|
|
1721
|
+
* accounts can satisfy it when their passkey remains accepted by the effective policy.
|
|
1345
1722
|
*
|
|
1346
1723
|
* - **directory-managed (SCIM) users** in particular. The framework deliberately destroys their
|
|
1347
1724
|
* `passwordHash` AND passkeys as a compliance control
|
|
1348
1725
|
* (`_reconcileLocalCredentialsForDirectoryManaged` — a local first factor would survive IdP
|
|
1349
1726
|
* deprovisioning) and deliberately PRESERVES their TOTP, which sits on top of the IdP first
|
|
1350
1727
|
* factor. TOTP re-auth is what makes that preserved factor usable, and it is why an ORG_ADMIN
|
|
1351
|
-
* of a directory-managed tenant can
|
|
1728
|
+
* of a directory-managed tenant can start a teardown when enrolled TOTP is accepted by policy.
|
|
1352
1729
|
*
|
|
1353
1730
|
* A principal holding NONE of the three still cannot satisfy the gate, and is still refused
|
|
1354
|
-
* fail-closed with a diagnosable message. Check the
|
|
1355
|
-
*
|
|
1356
|
-
*
|
|
1731
|
+
* fail-closed with a diagnosable message. Check the effective `stepUpAuth` policy, including
|
|
1732
|
+
* organization overrides and its accepted `methods` when enabled, before declaring this flag
|
|
1733
|
+
* on an operation that population must perform. Login-method availability is a separate decision.
|
|
1357
1734
|
*
|
|
1358
1735
|
* This is also why the requirement is a per-operation flag rather than a hardcoded `password`
|
|
1359
1736
|
* field in a request DTO: the proof is negotiated by the auth policy, not frozen into the resource
|
|
@@ -1368,6 +1745,52 @@ type ResourceConfiguration_OperationVariant_Base<TMainSchema extends z.ZodTypeAn
|
|
|
1368
1745
|
*/
|
|
1369
1746
|
requiresStepUpAuthentication?: boolean;
|
|
1370
1747
|
/** @wildo_source:part:end saas.models.resource-config.operation-step-up */
|
|
1748
|
+
/**
|
|
1749
|
+
* @wildo_source:part:start saas.models.resource-config.operation-idempotency-key facet:layer:shared facet:audience:app-developer
|
|
1750
|
+
*
|
|
1751
|
+
* Whether this variant takes the `Idempotency-Key` request header, so a caller's retry receives the first request's
|
|
1752
|
+
* outcome instead of running the effect again.
|
|
1753
|
+
*
|
|
1754
|
+
* Declare it on a mutation whose effect happens OUTSIDE your database — a payment provider, an email, a third-party
|
|
1755
|
+
* write — where a retry after a lost response is the duplicate you cannot roll back. A pure database write already
|
|
1756
|
+
* gets optimistic locking from `If-Match`; this is for what a transaction cannot undo.
|
|
1757
|
+
*
|
|
1758
|
+
* - `ACCEPTED`: the header is honored when sent, and a request without it runs unkeyed. Right for an effect that
|
|
1759
|
+
* converges when repeated (cancelling something twice leaves it cancelled).
|
|
1760
|
+
* - `REQUIRED`: a request without the header is refused with 400 (`idempotency_key_required`). Right for an effect
|
|
1761
|
+
* whose repeat is a second, different effect (adding an item twice adds two).
|
|
1762
|
+
*
|
|
1763
|
+
* What the framework does for you: parses and bounds the header (a quoted String or a bare token of 1 to 200 printable
|
|
1764
|
+
* ASCII characters, otherwise 400 `idempotency_key_malformed`); refuses the header on a MUTATION that does not declare
|
|
1765
|
+
* this (400 `idempotency_key_not_accepted` — ignoring it would silently leave the caller's retry undeduplicated), while a
|
|
1766
|
+
* read ignores it; documents the header in the OpenAPI reference; makes the framework's own HTTP client send one key per
|
|
1767
|
+
* call and reuse it on its automatic retries; and hands the key to your implementation as `utils.requestIdempotencyKey`,
|
|
1768
|
+
* removing it from the options so that forwarding `utils.serviceOptions` to another operation never passes your caller's
|
|
1769
|
+
* key along.
|
|
1770
|
+
*
|
|
1771
|
+
* Honored on the `INLINE` runtime mode only: a key sent to a queued or background variant is refused, because those
|
|
1772
|
+
* paths cannot carry it to the implementation.
|
|
1773
|
+
*
|
|
1774
|
+
* Mutations only: a read-shaped variant (a read, list, search or count, or a custom operation borrowing one of those
|
|
1775
|
+
* verbs) that declares it stops the application from starting. A read-shaped variant claims that repeating it changes
|
|
1776
|
+
* nothing, so the key would protect no retry and `REQUIRED` would only refuse harmless repeats. A custom operation whose
|
|
1777
|
+
* effect must not run twice is not a read: borrow a mutation verb in `resourceOperationLike` and declare the key there.
|
|
1778
|
+
*
|
|
1779
|
+
* What it does NOT do: remember outcomes. Deciding that a key was seen, replaying its result and refusing the same key
|
|
1780
|
+
* sent with a different request (422, `ErrorCustomMessageReference.IDEMPOTENCY_KEY_REUSED`) is the implementation's
|
|
1781
|
+
* job, because only it knows what "the same request" and "its result" mean for its effect.
|
|
1782
|
+
*
|
|
1783
|
+
* @example a provider-backed mutation that must not run twice
|
|
1784
|
+
* variants: [{
|
|
1785
|
+
* variantType: ResourceOperationVariantType.API_CALL,
|
|
1786
|
+
* roles: [CORE_ORG_ROLES.ORG_OWNER],
|
|
1787
|
+
* riskLevel: ResourceOperationRiskLevel.HIGH,
|
|
1788
|
+
* idempotencyKey: ResourceOperationIdempotencyKeyRequirement.REQUIRED,
|
|
1789
|
+
* requestDto: AddSeatRequest_Schema,
|
|
1790
|
+
* }]
|
|
1791
|
+
*/
|
|
1792
|
+
idempotencyKey?: ResourceOperationIdempotencyKeyRequirement;
|
|
1793
|
+
/** @wildo_source:part:end saas.models.resource-config.operation-idempotency-key */
|
|
1371
1794
|
/**
|
|
1372
1795
|
* Default **frontend surface** for this operation when no app preset declares
|
|
1373
1796
|
* one (see {@link ResourceOperationFrontendSurface}). Lets the framework mark
|
|
@@ -1388,10 +1811,11 @@ type ResourceConfiguration_OperationVariant_Base<TMainSchema extends z.ZodTypeAn
|
|
|
1388
1811
|
* — this is a field on an operation variant inside a resource's `operations` config.
|
|
1389
1812
|
*
|
|
1390
1813
|
* Opt-in + FAIL-CLOSED: absent or `false` ⇒ the operation is NOT a tool. Only DEFAULT,
|
|
1391
|
-
* non-bulk, URL-bearing
|
|
1392
|
-
*
|
|
1393
|
-
*
|
|
1394
|
-
*
|
|
1814
|
+
* non-bulk, URL-bearing API_CALL or API_CALL_WITH_CALLBACK operations are eligible.
|
|
1815
|
+
* Machine principals reach ORGANIZATIONS / APPLICATION resources; user-delegated principals
|
|
1816
|
+
* additionally reach USER_SELF. The verified principal selects the discovery scope set;
|
|
1817
|
+
* anonymous discovery has no reachable tools. A USER_SELF opt-in therefore has no machine-callable
|
|
1818
|
+
* effect but can be listed for a delegated user, subject to the remaining eligibility gates.
|
|
1395
1819
|
*
|
|
1396
1820
|
* `description` is the agent-facing tool description — the prose the calling agent reads to
|
|
1397
1821
|
* decide when to use the tool. When omitted, the tool description falls back to the resource
|
|
@@ -1439,6 +1863,13 @@ type ResourceConfiguration_OperationVariant_Base<TMainSchema extends z.ZodTypeAn
|
|
|
1439
1863
|
* only the fields the verb changes is therefore both sufficient and safer than spreading the
|
|
1440
1864
|
* current object — a spread makes every field a server-injected key, which re-writes
|
|
1441
1865
|
* `.excludeFromUpdate()` fields such as an owning foreign key on every call.
|
|
1866
|
+
*
|
|
1867
|
+
* **To CLEAR a field, return it as `null` — never `undefined`.** The write is a merge patch: an
|
|
1868
|
+
* absent or `undefined` key means "leave the stored value", and only `null` means "no value"
|
|
1869
|
+
* (persisted as removal for an `.optional()` field). `{ assignedToUserId: undefined }` answers 200
|
|
1870
|
+
* and changes nothing — Wonder Todos' "unassign" and "set as one-time" verbs shipped that way.
|
|
1871
|
+
* `undefined` is deliberately NOT read as a clear: a patch like `{ title: inputDto.title }` would
|
|
1872
|
+
* then erase the stored title whenever the caller omitted it.
|
|
1442
1873
|
*/
|
|
1443
1874
|
basicPrefixOperation?: ResourceConfiguration_FunctionWithContextNeeds<(params: ResourceConfiguration_OperationVariant_CustomImplementation_FunctionParameters<TMainSchema>) => Partial<MainSchemaInfer<TMainSchema>>>;
|
|
1444
1875
|
/**
|
|
@@ -1453,9 +1884,24 @@ type ResourceConfiguration_OperationVariant_Base<TMainSchema extends z.ZodTypeAn
|
|
|
1453
1884
|
* operation answers success having written nothing.
|
|
1454
1885
|
*
|
|
1455
1886
|
* Declaring the field makes the ownership explicit: it is always preserved, always with the
|
|
1456
|
-
* POST-hook value
|
|
1457
|
-
*
|
|
1458
|
-
*
|
|
1887
|
+
* POST-hook value — so the HOOK decides it, in place of a field nobody claimed.
|
|
1888
|
+
*
|
|
1889
|
+
* ⚠️ **That is not the same as overwriting the caller** (corrected 2026-09-10, #109). A hook may
|
|
1890
|
+
* legitimately DERIVE the post-hook value from the caller's input, and the engine's own
|
|
1891
|
+
* access-grant decision verbs do exactly that: they return `input.decisionReason` unchanged,
|
|
1892
|
+
* because the tenant's stated reason for a decision is the tenant's words. What the declaration
|
|
1893
|
+
* buys is an accountable owner, not a guaranteed replacement — read it that way when reasoning
|
|
1894
|
+
* about what a caller can reach.
|
|
1895
|
+
*
|
|
1896
|
+
* ⚠️ **And declaring a field has a COST on the update side.** `preserveServerInjectedFields` is
|
|
1897
|
+
* also what `assertNoForbiddenReadOnlyFieldChange` skips, so declaring an `.excludeFromUpdate()`
|
|
1898
|
+
* field turns that guard's loud `4xx` into silence. With a hook that is right (the hook owns the
|
|
1899
|
+
* value); with NO hook the preserved value is the caller's own, which makes the field
|
|
1900
|
+
* client-writable and removes the refusal — so a declaration without a hook is a bypass, and
|
|
1901
|
+
* `collectUnownedSealedRequestFieldReadmissionIssues` refuses to accept one as an owner.
|
|
1902
|
+
*
|
|
1903
|
+
* Declaring does NOT by itself make the field client-writable — reachability stays governed by
|
|
1904
|
+
* {@link requestDto} and the schema decorators.
|
|
1459
1905
|
*
|
|
1460
1906
|
* Any hook that forces a server-owned lifecycle value (a `status` transition, an ownership
|
|
1461
1907
|
* stamp) should declare it. A hook that only derives a value from other authored input does not
|
|
@@ -1476,6 +1922,13 @@ type ResourceConfiguration_OperationVariant_ApiCall_BuilderParameters<TMainSchem
|
|
|
1476
1922
|
variantType: ResourceOperationVariantType.API_CALL;
|
|
1477
1923
|
isDefault?: boolean;
|
|
1478
1924
|
haveBulkOperation?: boolean;
|
|
1925
|
+
/**
|
|
1926
|
+
* How many rows one request of this operation's BULK twin may name. Omitted means
|
|
1927
|
+
* `BULK_OPERATION_DEFAULT_MAX_SELECTION` (100). Enforced by the bulk request schema and shown by
|
|
1928
|
+
* the collection bar before anyone clicks. Declare it only when the write genuinely cannot take a
|
|
1929
|
+
* page of rows at once (a heavy per-row side effect) — to act on more, see issue #1461.
|
|
1930
|
+
*/
|
|
1931
|
+
bulkOperationMaxSelection?: number;
|
|
1479
1932
|
isApiKeyAccessDisabled?: boolean;
|
|
1480
1933
|
/** Declares which consumable token types this operation accepts for authentication */
|
|
1481
1934
|
tokenAuthentication?: TokenAuthenticationConfig;
|
|
@@ -1533,6 +1986,13 @@ type ResourceConfiguration_OperationVariant_ApiCallWithCallback_BuilderParameter
|
|
|
1533
1986
|
variantType: ResourceOperationVariantType.API_CALL_WITH_CALLBACK;
|
|
1534
1987
|
isDefault?: boolean;
|
|
1535
1988
|
haveBulkOperation?: boolean;
|
|
1989
|
+
/**
|
|
1990
|
+
* How many rows one request of this operation's BULK twin may name. Omitted means
|
|
1991
|
+
* `BULK_OPERATION_DEFAULT_MAX_SELECTION` (100). Enforced by the bulk request schema and shown by
|
|
1992
|
+
* the collection bar before anyone clicks. Declare it only when the write genuinely cannot take a
|
|
1993
|
+
* page of rows at once (a heavy per-row side effect) — to act on more, see issue #1461.
|
|
1994
|
+
*/
|
|
1995
|
+
bulkOperationMaxSelection?: number;
|
|
1536
1996
|
isApiKeyAccessDisabled?: boolean;
|
|
1537
1997
|
/** Declares which consumable token types this operation accepts for authentication */
|
|
1538
1998
|
tokenAuthentication?: TokenAuthenticationConfig;
|
|
@@ -1562,8 +2022,41 @@ type ResourceConfiguration_OperationVariant_ApiCallWithCallback_BuilderParameter
|
|
|
1562
2022
|
callbackTimeout?: number;
|
|
1563
2023
|
callbackRetryAttempts?: number;
|
|
1564
2024
|
};
|
|
2025
|
+
/**
|
|
2026
|
+
* @wildo_source:part:start saas.models.resource-config.operation-cron-job facet:layer:shared facet:audience:app-developer
|
|
2027
|
+
*
|
|
2028
|
+
* A CRON_JOB variant — the declaration that makes an operation run on a schedule.
|
|
2029
|
+
*
|
|
2030
|
+
* The job does not run inside your application's own process on a timer. Your application PUBLISHES
|
|
2031
|
+
* its declared schedules to the platform scheduler at startup, and the scheduler later delivers a
|
|
2032
|
+
* signed tick back onto your application's queue. Four consequences follow, and none of them is
|
|
2033
|
+
* visible from this type:
|
|
2034
|
+
*
|
|
2035
|
+
* **This declaration is interpreted in UTC.** There is no timezone field here: automatic resource
|
|
2036
|
+
* schedule extraction sends `UTC`. `'0 3 * * *'` is 03:00 UTC wherever your users are. The lower-level
|
|
2037
|
+
* authenticated jobs-sync API supports an explicit timezone; that does not give this declaration
|
|
2038
|
+
* local-time or daylight-saving behavior.
|
|
2039
|
+
*
|
|
2040
|
+
* **Editing this declaration takes effect through startup synchronization.** There is no file watch
|
|
2041
|
+
* that retimes a running application's jobs when its source changes. The lower-level synchronization
|
|
2042
|
+
* API can update jobs while the application is running; its full replacement contract is distinct
|
|
2043
|
+
* from this declaration-driven startup path. Keep one owner for the complete submitted schedule set.
|
|
2044
|
+
*
|
|
2045
|
+
* **A failed sync does not fail startup.** The application boots, one capped in-process retry is kept
|
|
2046
|
+
* pending, and until it succeeds the scheduler keeps running the schedule it was last given. So a
|
|
2047
|
+
* retimed job that appears not to have moved is the expected shape of a sync that has not landed yet,
|
|
2048
|
+
* not a broken expression.
|
|
2049
|
+
*
|
|
2050
|
+
* **The scheduler records that it PUBLISHED the tick, never that your application ran it.** A tick
|
|
2051
|
+
* that reached the broker and then failed inside the application still reads as a successful run on
|
|
2052
|
+
* the scheduler's side, so verify a scheduled job by its effect in your own storage rather than by
|
|
2053
|
+
* the platform's execution record.
|
|
2054
|
+
*/
|
|
1565
2055
|
type ResourceConfiguration_OperationVariant_CronJob_BuilderParameters = ResourceConfiguration_OperationVariant_Base & {
|
|
2056
|
+
/** Recovery contract for this exact scheduled handler; undeclared effects require manual review after an unknown outcome. */
|
|
2057
|
+
scheduledRecovery?: Partial<ScheduledRecoveryPolicy>;
|
|
1566
2058
|
variantType: ResourceOperationVariantType.CRON_JOB;
|
|
2059
|
+
/** Standard five-field cron expression, interpreted in UTC. See the note above this type. */
|
|
1567
2060
|
cronExpression: string;
|
|
1568
2061
|
/**
|
|
1569
2062
|
* Explicit response contract for a CRON_JOB custom operation whose return shape
|
|
@@ -1578,7 +2071,9 @@ type ResourceConfiguration_OperationVariant_CronJob_BuilderParameters = Resource
|
|
|
1578
2071
|
*/
|
|
1579
2072
|
customResponseDto?: z.ZodSchema<any>;
|
|
1580
2073
|
};
|
|
2074
|
+
/** @wildo_source:part:end saas.models.resource-config.operation-cron-job */
|
|
1581
2075
|
type ResourceConfiguration_OperationVariant_BatchJob_BuilderParameters = ResourceConfiguration_OperationVariant_Base & {
|
|
2076
|
+
scheduledRecovery?: Partial<ScheduledRecoveryPolicy>;
|
|
1582
2077
|
variantType: ResourceOperationVariantType.BATCH_JOB;
|
|
1583
2078
|
};
|
|
1584
2079
|
type ResourceConfiguration_OperationVariant_InternalCall_BuilderParameters = ResourceConfiguration_OperationVariant_Base & {
|
|
@@ -1607,6 +2102,8 @@ export type ResourceConfiguration_Operation_Base<TCustomOperationEnum extends En
|
|
|
1607
2102
|
operationIdentifier: TCustomOperationEnum | TCoreOperationEnum;
|
|
1608
2103
|
isOperationDefault: boolean;
|
|
1609
2104
|
serviceRuntimeMode: ResourceOperation_ServiceRuntimeMode;
|
|
2105
|
+
/** Validated operation policy, shared by authored and generated variants. */
|
|
2106
|
+
queueConfig?: ResourceConfiguration_QueueConfig;
|
|
1610
2107
|
generatedOperation?: ResourceConfiguration_GeneratedOperationMetadata;
|
|
1611
2108
|
requestDto?: z.ZodSchema<any>;
|
|
1612
2109
|
responseDto?: z.ZodSchema<any>;
|
|
@@ -1665,6 +2162,12 @@ export type ResourceConfiguration_Operation_Base<TCustomOperationEnum extends En
|
|
|
1665
2162
|
m2mNotifications: M2MNotificationDefinitionWithoutIdentifier[];
|
|
1666
2163
|
/** Authored metered-usage recording for this operation; `undefined` when it consumes nothing. */
|
|
1667
2164
|
recordsUsage?: MeteredUsageRecordingDefinition;
|
|
2165
|
+
/**
|
|
2166
|
+
* The purpose this operation's own processing rests on, and what a missing grant costs (#1258
|
|
2167
|
+
* Step 3). `undefined` means this operation declares nothing beyond whatever
|
|
2168
|
+
* `serviceConsentRequirement` already requires application-wide.
|
|
2169
|
+
*/
|
|
2170
|
+
consentGate?: ResourceOperationConsentGateDeclaration;
|
|
1668
2171
|
};
|
|
1669
2172
|
/** @wildo_source:part:end saas.models.resource-config.operation-base */
|
|
1670
2173
|
/**
|
|
@@ -1675,10 +2178,12 @@ export type ResourceConfiguration_Operation_Base<TCustomOperationEnum extends En
|
|
|
1675
2178
|
export type ResourceConfiguration_Operation_BaseType<TCustomOperationEnum extends EnumLikeType | undefined, TCoreOperationEnum extends Partial<CoreResourceOperation> | undefined, TMainSchema extends z.ZodTypeAny = z.ZodAny> = ResourceConfiguration_Operation_Base<TCustomOperationEnum, TCoreOperationEnum, TMainSchema>;
|
|
1676
2179
|
export type ResourceConfiguration_Operation_CronJob<TCustomOperationEnum extends EnumLikeType | undefined, TCoreOperationEnum extends Partial<CoreResourceOperation> | undefined, TMainSchema extends z.ZodTypeAny = z.ZodAny> = ResourceConfiguration_Operation_Base<TCustomOperationEnum, TCoreOperationEnum, TMainSchema> & {
|
|
1677
2180
|
variantType: ResourceOperationVariantType.CRON_JOB;
|
|
2181
|
+
scheduledRecovery?: ScheduledRecoveryPolicy;
|
|
1678
2182
|
cronExpression: string;
|
|
1679
2183
|
};
|
|
1680
2184
|
export type ResourceConfiguration_Operation_BatchJob<TCustomOperationEnum extends EnumLikeType | undefined, TCoreOperationEnum extends Partial<CoreResourceOperation> | undefined, TMainSchema extends z.ZodTypeAny = z.ZodAny> = ResourceConfiguration_Operation_Base<TCustomOperationEnum, TCoreOperationEnum, TMainSchema> & {
|
|
1681
2185
|
variantType: ResourceOperationVariantType.BATCH_JOB;
|
|
2186
|
+
scheduledRecovery?: ScheduledRecoveryPolicy;
|
|
1682
2187
|
};
|
|
1683
2188
|
export type ResourceConfiguration_Operation_InternalCall<TCustomOperationEnum extends EnumLikeType | undefined, TCoreOperationEnum extends Partial<CoreResourceOperation> | undefined, TMainSchema extends z.ZodTypeAny = z.ZodAny> = ResourceConfiguration_Operation_Base<TCustomOperationEnum, TCoreOperationEnum, TMainSchema> & {
|
|
1684
2189
|
variantType: ResourceOperationVariantType.INTERNAL_CALL;
|
|
@@ -1725,6 +2230,8 @@ export type ResourceConfiguration_Operation_ApiCall<TCustomOperationEnum extends
|
|
|
1725
2230
|
httpVerb: HttpMethod;
|
|
1726
2231
|
isApiKeyAccessDisabled: boolean;
|
|
1727
2232
|
isBulkOperation: boolean;
|
|
2233
|
+
/** On a bulk twin: the resolved limit on rows per request (`resolveBulkOperationMaxSelection`). */
|
|
2234
|
+
bulkOperationMaxSelection?: number;
|
|
1728
2235
|
initiatorInfos?: ResourceConfiguration_Operation_UrlInitiatorInfo[];
|
|
1729
2236
|
tokenAuthentication?: TokenAuthenticationConfig;
|
|
1730
2237
|
tokenGeneration?: TokenGenerationConfig;
|
|
@@ -1771,6 +2278,8 @@ export type ResourceConfiguration_Operation_ApiCallWithCallback<TCustomOperation
|
|
|
1771
2278
|
httpVerb: HttpMethod;
|
|
1772
2279
|
isApiKeyAccessDisabled: boolean;
|
|
1773
2280
|
isBulkOperation: boolean;
|
|
2281
|
+
/** On a bulk twin: the resolved limit on rows per request (`resolveBulkOperationMaxSelection`). */
|
|
2282
|
+
bulkOperationMaxSelection?: number;
|
|
1774
2283
|
initiatorInfos?: ResourceConfiguration_Operation_UrlInitiatorInfo[];
|
|
1775
2284
|
tokenAuthentication?: TokenAuthenticationConfig;
|
|
1776
2285
|
tokenGeneration?: TokenGenerationConfig;
|
|
@@ -1822,6 +2331,8 @@ export type OperationVariant_ForKey<K, TMainSchema extends z.ZodTypeAny = z.ZodA
|
|
|
1822
2331
|
*/
|
|
1823
2332
|
export type OperationConfig_ForKey<K, TMainSchema extends z.ZodTypeAny = z.ZodAny> = {
|
|
1824
2333
|
variants: OperationVariant_ForKey<K, TMainSchema>[];
|
|
2334
|
+
/** Reply deadline, initial routing priority and failure retry budget/backoff. Does not cancel execution. */
|
|
2335
|
+
queueConfig?: ResourceConfiguration_QueueConfigAuthored;
|
|
1825
2336
|
serviceRuntimeMode?: ResourceOperation_ServiceRuntimeMode;
|
|
1826
2337
|
parentResourceAccessScopeStrategyOverrides?: {
|
|
1827
2338
|
resourceType: ResourceType;
|
|
@@ -1834,6 +2345,8 @@ export type OperationConfig_ForKey<K, TMainSchema extends z.ZodTypeAny = z.ZodAn
|
|
|
1834
2345
|
}[];
|
|
1835
2346
|
m2mNotifications?: M2MNotificationDefinitionWithoutIdentifier[];
|
|
1836
2347
|
recordsUsage?: MeteredUsageRecordingDefinition;
|
|
2348
|
+
/** See {@link ResourceOperationConsentGateDeclaration} (#1258 Step 3). */
|
|
2349
|
+
consentGate?: ResourceOperationConsentGateDeclaration;
|
|
1837
2350
|
};
|
|
1838
2351
|
/** @wildo_source:part:end saas.models.resource-config.operation-variant-for-key */
|
|
1839
2352
|
/**
|
|
@@ -1945,6 +2458,8 @@ export type ResourceConfiguration_InheritanceSchemaDefinition<TDiscriminationEnu
|
|
|
1945
2458
|
};
|
|
1946
2459
|
export type ResourceConfiguration_Operation_BuilderParameters<TMainSchema extends z.ZodTypeAny = z.ZodAny> = {
|
|
1947
2460
|
variants: ResourceConfiguration_OperationVariant_BuilderParameters<TMainSchema>[];
|
|
2461
|
+
/** Reply deadline, initial routing priority and failure retry budget/backoff. Does not cancel execution. */
|
|
2462
|
+
queueConfig?: ResourceConfiguration_QueueConfigAuthored;
|
|
1948
2463
|
serviceRuntimeMode?: ResourceOperation_ServiceRuntimeMode;
|
|
1949
2464
|
parentResourceAccessScopeStrategyOverrides?: {
|
|
1950
2465
|
resourceType: ResourceType;
|
|
@@ -1957,6 +2472,8 @@ export type ResourceConfiguration_Operation_BuilderParameters<TMainSchema extend
|
|
|
1957
2472
|
}[];
|
|
1958
2473
|
m2mNotifications?: M2MNotificationDefinitionWithoutIdentifier[];
|
|
1959
2474
|
recordsUsage?: MeteredUsageRecordingDefinition;
|
|
2475
|
+
/** See {@link ResourceOperationConsentGateDeclaration} (#1258 Step 3). */
|
|
2476
|
+
consentGate?: ResourceOperationConsentGateDeclaration;
|
|
1960
2477
|
};
|
|
1961
2478
|
/**
|
|
1962
2479
|
* @wildo_source:part:start saas.models.resource-config.builder-parameters facet:layer:shared facet:family:resource-config
|
|
@@ -2023,6 +2540,100 @@ export declare enum ResourceSystemAccessMode {
|
|
|
2023
2540
|
* framework infrastructure does NOT imply that an ACL bypass is acceptable
|
|
2024
2541
|
* for its data. Keep the two concepts separate.
|
|
2025
2542
|
*/
|
|
2543
|
+
/**
|
|
2544
|
+
* Declares that THIS resource is the application's subject-erasure request lane, and how to read it.
|
|
2545
|
+
*
|
|
2546
|
+
* ## Why the application declares it rather than the framework knowing it
|
|
2547
|
+
*
|
|
2548
|
+
* The erasure lane is application-owned — four of the five marked sites for
|
|
2549
|
+
* `WILDO.PRIVACY.SUBJECT_ERASURE` are in an application, not the engine — and its evidence demand
|
|
2550
|
+
* (`evidence-requirement:subject-erasure-execution-record`) says so in terms: *"the row's schema and
|
|
2551
|
+
* status vocabulary are the application's, so a collector queries it against that application's
|
|
2552
|
+
* specification"*, and its verification step adds *"do NOT assert a specific channel vocabulary:
|
|
2553
|
+
* that is one application's modelling choice"*.
|
|
2554
|
+
*
|
|
2555
|
+
* So a collector may not know that a request is raised through a field called `channel` carrying a
|
|
2556
|
+
* value called `SUBJECT`. It has to be TOLD, by the application, in a form it can read. Before this
|
|
2557
|
+
* existed, three clauses of that demand had a durable row holding every fact they wanted and no way
|
|
2558
|
+
* to find it (#1209): not a missing control, a control nobody could point at.
|
|
2559
|
+
*
|
|
2560
|
+
* ## It binds FIELDS, never values the framework invents
|
|
2561
|
+
*
|
|
2562
|
+
* Every member below names something the application already authored. The one value the
|
|
2563
|
+
* declaration carries — {@link ResourceSubjectErasureLane.raisedBy}`.subjectValue` — is the
|
|
2564
|
+
* application's OWN enum member, quoted back so a reader can tell the two populations apart. The
|
|
2565
|
+
* framework supplies no vocabulary here and must never grow one.
|
|
2566
|
+
*
|
|
2567
|
+
* ## What is deliberately NOT declared
|
|
2568
|
+
*
|
|
2569
|
+
* The SCHEDULE. C3 asks that requests be executed on the declared schedule, and that schedule is
|
|
2570
|
+
* already on the executing operation's `CRON_JOB` variant (`cronExpression`) — declaring it again
|
|
2571
|
+
* here would be a second copy that can only ever disagree with the one the scheduler reads.
|
|
2572
|
+
* `executionOperationIdentifier` names the operation; the schedule is read from it.
|
|
2573
|
+
*/
|
|
2574
|
+
export type ResourceSubjectErasureLane = {
|
|
2575
|
+
/**
|
|
2576
|
+
* How a row says WHO raised the request — the subject exercising their own right, or the
|
|
2577
|
+
* controller acting on their behalf. C1's whole obligation is that the two are distinguishable.
|
|
2578
|
+
*/
|
|
2579
|
+
raisedBy: {
|
|
2580
|
+
/** The field carrying it. Must be a persisted field of this resource. */
|
|
2581
|
+
fieldName: string;
|
|
2582
|
+
/**
|
|
2583
|
+
* The value of that field meaning the SUBJECT raised it themselves. Every other value is read as
|
|
2584
|
+
* controller-raised — stated this way round because a lane may grow a second controller channel
|
|
2585
|
+
* without the declaration going stale, whereas enumerating the controller values could not.
|
|
2586
|
+
*/
|
|
2587
|
+
subjectValue: string;
|
|
2588
|
+
};
|
|
2589
|
+
/**
|
|
2590
|
+
* The field carrying WHICH user raised a controller-raised request.
|
|
2591
|
+
*
|
|
2592
|
+
* Omitting it is a positive claim, not a gap: it says this lane admits no controller-raised
|
|
2593
|
+
* request at all. A collector reads it that way and a row carrying a non-subject value then
|
|
2594
|
+
* contradicts the declaration, which is a finding about the application rather than about the
|
|
2595
|
+
* evidence.
|
|
2596
|
+
*/
|
|
2597
|
+
requesterFieldName?: string;
|
|
2598
|
+
/** The field carrying the justification a controller-raised request was made on, where the lane records one. */
|
|
2599
|
+
justificationFieldName?: string;
|
|
2600
|
+
/** The field carrying the instant the request was executed or failed. C3 judges execution against it. */
|
|
2601
|
+
completedAtFieldName: string;
|
|
2602
|
+
/** The field carrying what the execution did. Its vocabulary is the application's. */
|
|
2603
|
+
outcomeFieldName: string;
|
|
2604
|
+
/**
|
|
2605
|
+
* The operation a SUBJECT uses to withdraw their own pending request (C2). Named rather than
|
|
2606
|
+
* inferred: "the operation that cancels" is not derivable from an operation vocabulary, and
|
|
2607
|
+
* guessing it would make the evidence depend on a naming convention no application agreed to.
|
|
2608
|
+
*/
|
|
2609
|
+
withdrawalOperationIdentifier: string;
|
|
2610
|
+
/**
|
|
2611
|
+
* How a WITHDRAWN row is recognisable afterwards — the same shape as {@link raisedBy}, and for the
|
|
2612
|
+
* same reason: the vocabulary is the application's.
|
|
2613
|
+
*
|
|
2614
|
+
* C2 asks for the withdrawal door AND for "any cancelled rows", and those are two different
|
|
2615
|
+
* questions. The door is answered from {@link withdrawalOperationIdentifier} — is the operation
|
|
2616
|
+
* reachable to a subject while the request is pending — and needs no data at all. The rows need a
|
|
2617
|
+
* marker, and there is nothing to derive one from: withdrawal and execution both leave a request in
|
|
2618
|
+
* a terminal state, so a reader that knows only `completedAtFieldName` cannot tell "the subject
|
|
2619
|
+
* changed their mind" from "the sweep ran".
|
|
2620
|
+
*
|
|
2621
|
+
* OPTIONAL, because an application may not model withdrawal as a value at all — it may delete the
|
|
2622
|
+
* row, or move it. Omitting it says the count is unavailable, and a collector reports that rather
|
|
2623
|
+
* than guessing; it never turns into a zero, which would read as "nobody withdrew anything".
|
|
2624
|
+
*
|
|
2625
|
+
* Note an EMPTY withdrawal set is explicitly not a deficiency in the demand — people do not have
|
|
2626
|
+
* to change their minds — so this exists to make the number REPORTABLE, never to make it a target.
|
|
2627
|
+
*/
|
|
2628
|
+
withdrawnMarker?: {
|
|
2629
|
+
/** The field carrying it. Must be a persisted field of this resource. */
|
|
2630
|
+
fieldName: string;
|
|
2631
|
+
/** The value of that field meaning the SUBJECT withdrew the request before it executed. */
|
|
2632
|
+
withdrawnValue: string;
|
|
2633
|
+
};
|
|
2634
|
+
/** The scheduled operation that executes due requests. Its `cronExpression` IS the declared schedule. */
|
|
2635
|
+
executionOperationIdentifier: string;
|
|
2636
|
+
};
|
|
2026
2637
|
export type ResourceSystemAccessPolicy = {
|
|
2027
2638
|
/** Governs `readAsSystem`. Omitted ⇒ FORBIDDEN. */
|
|
2028
2639
|
read?: ResourceSystemAccessMode;
|
|
@@ -2305,6 +2916,13 @@ export type ResourceConfiguration_BuilderParameters<TCustomOperationEnum extends
|
|
|
2305
2916
|
* explicit alternative authorization.
|
|
2306
2917
|
*/
|
|
2307
2918
|
systemAccessPolicy?: ResourceSystemAccessPolicy;
|
|
2919
|
+
/**
|
|
2920
|
+
* Declares this resource as the application's SUBJECT-ERASURE REQUEST LANE and binds the fields an
|
|
2921
|
+
* evidence collector reads. Omitted ⇒ this resource is not that lane, which is the honest default:
|
|
2922
|
+
* most resources are not, and an application that never built an erasure lane has declared none
|
|
2923
|
+
* rather than failed a control. See {@link ResourceSubjectErasureLane}.
|
|
2924
|
+
*/
|
|
2925
|
+
subjectErasureLane?: ResourceSubjectErasureLane;
|
|
2308
2926
|
coreOperations: TCoreOperationEnum[];
|
|
2309
2927
|
customOperation?: TCustomOperationEnum;
|
|
2310
2928
|
operationsConfiguration: {
|
|
@@ -2475,6 +3093,13 @@ export type ResourceConfiguration<TCustomOperationEnum extends EnumLikeType | un
|
|
|
2475
3093
|
* any verb not explicitly ALLOWED — as forbidden and throw.
|
|
2476
3094
|
*/
|
|
2477
3095
|
systemAccessPolicy?: ResourceSystemAccessPolicy;
|
|
3096
|
+
/**
|
|
3097
|
+
* Declares this resource as the application's SUBJECT-ERASURE REQUEST LANE and binds the fields an
|
|
3098
|
+
* evidence collector reads. Omitted ⇒ this resource is not that lane, which is the honest default:
|
|
3099
|
+
* most resources are not, and an application that never built an erasure lane has declared none
|
|
3100
|
+
* rather than failed a control. See {@link ResourceSubjectErasureLane}.
|
|
3101
|
+
*/
|
|
3102
|
+
subjectErasureLane?: ResourceSubjectErasureLane;
|
|
2478
3103
|
/**
|
|
2479
3104
|
* W7.3a: Marks this resource as accessible to anonymous sessions.
|
|
2480
3105
|
* When true, the engine generates dual URL paths and a STANDALONE relationship to ANONYMOUS_USERS.
|