@vertesia/common 1.5.0-dev.20260725.083715Z → 1.5.0-dev.20260804.124748Z
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/lib/access-control-values.d.ts +98 -0
- package/lib/access-control-values.d.ts.map +1 -0
- package/lib/access-control-values.js +101 -0
- package/lib/access-control-values.js.map +1 -0
- package/lib/access-control.d.ts +22 -119
- package/lib/access-control.d.ts.map +1 -1
- package/lib/access-control.js +6 -78
- package/lib/access-control.js.map +1 -1
- package/lib/account-values.d.ts +53 -0
- package/lib/account-values.d.ts.map +1 -0
- package/lib/account-values.js +91 -0
- package/lib/account-values.js.map +1 -0
- package/lib/analytics.d.ts +12 -38
- package/lib/analytics.d.ts.map +1 -1
- package/lib/api-schemas/access-control.d.ts +215 -0
- package/lib/api-schemas/access-control.d.ts.map +1 -0
- package/lib/api-schemas/access-control.js +165 -0
- package/lib/api-schemas/access-control.js.map +1 -0
- package/lib/api-schemas/account.d.ts +101 -0
- package/lib/api-schemas/account.d.ts.map +1 -0
- package/lib/api-schemas/account.js +136 -0
- package/lib/api-schemas/account.js.map +1 -0
- package/lib/api-schemas/adapter.d.ts +80 -0
- package/lib/api-schemas/adapter.d.ts.map +1 -0
- package/lib/api-schemas/adapter.js +726 -0
- package/lib/api-schemas/adapter.js.map +1 -0
- package/lib/api-schemas/agent-runs.d.ts +3781 -0
- package/lib/api-schemas/agent-runs.d.ts.map +1 -0
- package/lib/api-schemas/agent-runs.js +991 -0
- package/lib/api-schemas/agent-runs.js.map +1 -0
- package/lib/api-schemas/analytics.d.ts +86 -0
- package/lib/api-schemas/analytics.d.ts.map +1 -0
- package/lib/api-schemas/analytics.js +58 -0
- package/lib/api-schemas/analytics.js.map +1 -0
- package/lib/api-schemas/apikey.d.ts +231 -0
- package/lib/api-schemas/apikey.d.ts.map +1 -0
- package/lib/api-schemas/apikey.js +172 -0
- package/lib/api-schemas/apikey.js.map +1 -0
- package/lib/api-schemas/app-lifecycle.d.ts +1114 -0
- package/lib/api-schemas/app-lifecycle.d.ts.map +1 -0
- package/lib/api-schemas/app-lifecycle.js +750 -0
- package/lib/api-schemas/app-lifecycle.js.map +1 -0
- package/lib/api-schemas/app-runtime.d.ts +9056 -0
- package/lib/api-schemas/app-runtime.d.ts.map +1 -0
- package/lib/api-schemas/app-runtime.js +782 -0
- package/lib/api-schemas/app-runtime.js.map +1 -0
- package/lib/api-schemas/apps.d.ts +247 -0
- package/lib/api-schemas/apps.d.ts.map +1 -0
- package/lib/api-schemas/apps.js +366 -0
- package/lib/api-schemas/apps.js.map +1 -0
- package/lib/api-schemas/audit-trail.d.ts +465 -0
- package/lib/api-schemas/audit-trail.d.ts.map +1 -0
- package/lib/api-schemas/audit-trail.js +218 -0
- package/lib/api-schemas/audit-trail.js.map +1 -0
- package/lib/api-schemas/bulk-operation.d.ts +104 -0
- package/lib/api-schemas/bulk-operation.d.ts.map +1 -0
- package/lib/api-schemas/bulk-operation.js +66 -0
- package/lib/api-schemas/bulk-operation.js.map +1 -0
- package/lib/api-schemas/commands.d.ts +50 -0
- package/lib/api-schemas/commands.d.ts.map +1 -0
- package/lib/api-schemas/commands.js +58 -0
- package/lib/api-schemas/commands.js.map +1 -0
- package/lib/api-schemas/content.d.ts +3561 -0
- package/lib/api-schemas/content.d.ts.map +1 -0
- package/lib/api-schemas/content.js +842 -0
- package/lib/api-schemas/content.js.map +1 -0
- package/lib/api-schemas/cost-analytics.d.ts +300 -0
- package/lib/api-schemas/cost-analytics.d.ts.map +1 -0
- package/lib/api-schemas/cost-analytics.js +218 -0
- package/lib/api-schemas/cost-analytics.js.map +1 -0
- package/lib/api-schemas/dashboard.d.ts +408 -0
- package/lib/api-schemas/dashboard.d.ts.map +1 -0
- package/lib/api-schemas/dashboard.js +311 -0
- package/lib/api-schemas/dashboard.js.map +1 -0
- package/lib/api-schemas/data-store.d.ts +1650 -0
- package/lib/api-schemas/data-store.d.ts.map +1 -0
- package/lib/api-schemas/data-store.js +504 -0
- package/lib/api-schemas/data-store.js.map +1 -0
- package/lib/api-schemas/document-processing.d.ts +1501 -0
- package/lib/api-schemas/document-processing.d.ts.map +1 -0
- package/lib/api-schemas/document-processing.js +312 -0
- package/lib/api-schemas/document-processing.js.map +1 -0
- package/lib/api-schemas/embeddings.d.ts +184 -0
- package/lib/api-schemas/embeddings.d.ts.map +1 -0
- package/lib/api-schemas/embeddings.js +102 -0
- package/lib/api-schemas/embeddings.js.map +1 -0
- package/lib/api-schemas/environment.d.ts +412 -0
- package/lib/api-schemas/environment.d.ts.map +1 -0
- package/lib/api-schemas/environment.js +170 -0
- package/lib/api-schemas/environment.js.map +1 -0
- package/lib/api-schemas/events.d.ts +4880 -0
- package/lib/api-schemas/events.d.ts.map +1 -0
- package/lib/api-schemas/events.js +832 -0
- package/lib/api-schemas/events.js.map +1 -0
- package/lib/api-schemas/files.d.ts +107 -0
- package/lib/api-schemas/files.d.ts.map +1 -0
- package/lib/api-schemas/files.js +137 -0
- package/lib/api-schemas/files.js.map +1 -0
- package/lib/api-schemas/group.d.ts +122 -0
- package/lib/api-schemas/group.d.ts.map +1 -0
- package/lib/api-schemas/group.js +142 -0
- package/lib/api-schemas/group.js.map +1 -0
- package/lib/api-schemas/index.d.ts +36 -0
- package/lib/api-schemas/index.d.ts.map +1 -0
- package/lib/api-schemas/index.js +36 -0
- package/lib/api-schemas/index.js.map +1 -0
- package/lib/api-schemas/indexing.d.ts +144 -0
- package/lib/api-schemas/indexing.d.ts.map +1 -0
- package/lib/api-schemas/indexing.js +217 -0
- package/lib/api-schemas/indexing.js.map +1 -0
- package/lib/api-schemas/integrations.d.ts +269 -0
- package/lib/api-schemas/integrations.d.ts.map +1 -0
- package/lib/api-schemas/integrations.js +335 -0
- package/lib/api-schemas/integrations.js.map +1 -0
- package/lib/api-schemas/interaction.d.ts +22454 -0
- package/lib/api-schemas/interaction.d.ts.map +1 -0
- package/lib/api-schemas/interaction.js +2065 -0
- package/lib/api-schemas/interaction.js.map +1 -0
- package/lib/api-schemas/invites.d.ts +162 -0
- package/lib/api-schemas/invites.d.ts.map +1 -0
- package/lib/api-schemas/invites.js +106 -0
- package/lib/api-schemas/invites.js.map +1 -0
- package/lib/api-schemas/oauth-server.d.ts +415 -0
- package/lib/api-schemas/oauth-server.d.ts.map +1 -0
- package/lib/api-schemas/oauth-server.js +193 -0
- package/lib/api-schemas/oauth-server.js.map +1 -0
- package/lib/api-schemas/oauth.d.ts +150 -0
- package/lib/api-schemas/oauth.d.ts.map +1 -0
- package/lib/api-schemas/oauth.js +148 -0
- package/lib/api-schemas/oauth.js.map +1 -0
- package/lib/api-schemas/parameters.d.ts +64 -0
- package/lib/api-schemas/parameters.d.ts.map +1 -0
- package/lib/api-schemas/parameters.js +246 -0
- package/lib/api-schemas/parameters.js.map +1 -0
- package/lib/api-schemas/process.d.ts +499 -0
- package/lib/api-schemas/process.d.ts.map +1 -0
- package/lib/api-schemas/process.js +817 -0
- package/lib/api-schemas/process.js.map +1 -0
- package/lib/api-schemas/project-configuration.d.ts +4900 -0
- package/lib/api-schemas/project-configuration.d.ts.map +1 -0
- package/lib/api-schemas/project-configuration.js +425 -0
- package/lib/api-schemas/project-configuration.js.map +1 -0
- package/lib/api-schemas/project.d.ts +7247 -0
- package/lib/api-schemas/project.d.ts.map +1 -0
- package/lib/api-schemas/project.js +185 -0
- package/lib/api-schemas/project.js.map +1 -0
- package/lib/api-schemas/prompt.d.ts +70 -0
- package/lib/api-schemas/prompt.d.ts.map +1 -0
- package/lib/api-schemas/prompt.js +77 -0
- package/lib/api-schemas/prompt.js.map +1 -0
- package/lib/api-schemas/quota.d.ts +90 -0
- package/lib/api-schemas/quota.d.ts.map +1 -0
- package/lib/api-schemas/quota.js +95 -0
- package/lib/api-schemas/quota.js.map +1 -0
- package/lib/api-schemas/registry.d.ts +97458 -0
- package/lib/api-schemas/registry.d.ts.map +1 -0
- package/lib/api-schemas/registry.js +2586 -0
- package/lib/api-schemas/registry.js.map +1 -0
- package/lib/api-schemas/schema-primitives.d.ts +5 -0
- package/lib/api-schemas/schema-primitives.d.ts.map +1 -0
- package/lib/api-schemas/schema-primitives.js +11 -0
- package/lib/api-schemas/schema-primitives.js.map +1 -0
- package/lib/api-schemas/secrets.d.ts +497 -0
- package/lib/api-schemas/secrets.d.ts.map +1 -0
- package/lib/api-schemas/secrets.js +298 -0
- package/lib/api-schemas/secrets.js.map +1 -0
- package/lib/api-schemas/store.d.ts +22140 -0
- package/lib/api-schemas/store.d.ts.map +1 -0
- package/lib/api-schemas/store.js +557 -0
- package/lib/api-schemas/store.js.map +1 -0
- package/lib/api-schemas/sts.d.ts +156 -0
- package/lib/api-schemas/sts.d.ts.map +1 -0
- package/lib/api-schemas/sts.js +96 -0
- package/lib/api-schemas/sts.js.map +1 -0
- package/lib/api-schemas/task.d.ts +215 -0
- package/lib/api-schemas/task.d.ts.map +1 -0
- package/lib/api-schemas/task.js +95 -0
- package/lib/api-schemas/task.js.map +1 -0
- package/lib/api-schemas/tools.d.ts +111 -0
- package/lib/api-schemas/tools.d.ts.map +1 -0
- package/lib/api-schemas/tools.js +122 -0
- package/lib/api-schemas/tools.js.map +1 -0
- package/lib/api-schemas/user.d.ts +208 -0
- package/lib/api-schemas/user.d.ts.map +1 -0
- package/lib/api-schemas/user.js +180 -0
- package/lib/api-schemas/user.js.map +1 -0
- package/lib/api-schemas/view-execution.d.ts +3163 -0
- package/lib/api-schemas/view-execution.d.ts.map +1 -0
- package/lib/api-schemas/view-execution.js +172 -0
- package/lib/api-schemas/view-execution.js.map +1 -0
- package/lib/api-schemas/views.d.ts +5990 -0
- package/lib/api-schemas/views.d.ts.map +1 -0
- package/lib/api-schemas/views.js +396 -0
- package/lib/api-schemas/views.js.map +1 -0
- package/lib/api-schemas/workflow-runs.d.ts +2209 -0
- package/lib/api-schemas/workflow-runs.d.ts.map +1 -0
- package/lib/api-schemas/workflow-runs.js +589 -0
- package/lib/api-schemas/workflow-runs.js.map +1 -0
- package/lib/apikey-values.d.ts +10 -0
- package/lib/apikey-values.d.ts.map +1 -0
- package/lib/apikey-values.js +11 -0
- package/lib/apikey-values.js.map +1 -0
- package/lib/apikey.d.ts +37 -36
- package/lib/apikey.d.ts.map +1 -1
- package/lib/apikey.js +5 -4
- package/lib/apikey.js.map +1 -1
- package/lib/apps.d.ts +107 -1151
- package/lib/apps.d.ts.map +1 -1
- package/lib/apps.js.map +1 -1
- package/lib/ask-user.d.ts +8 -1
- package/lib/ask-user.d.ts.map +1 -1
- package/lib/audit-trail.d.ts +17 -128
- package/lib/audit-trail.d.ts.map +1 -1
- package/lib/audit-trail.js.map +1 -1
- package/lib/browser-credentials.d.ts +11 -106
- package/lib/browser-credentials.d.ts.map +1 -1
- package/lib/common.d.ts +59 -81
- package/lib/common.d.ts.map +1 -1
- package/lib/cost-analytics.d.ts +14 -167
- package/lib/cost-analytics.d.ts.map +1 -1
- package/lib/cost-analytics.js.map +1 -1
- package/lib/data-platform.d.ts +122 -786
- package/lib/data-platform.d.ts.map +1 -1
- package/lib/data-platform.js +41 -61
- package/lib/data-platform.js.map +1 -1
- package/lib/email.d.ts +5 -17
- package/lib/email.d.ts.map +1 -1
- package/lib/email.js +0 -3
- package/lib/email.js.map +1 -1
- package/lib/embeddings.d.ts +14 -56
- package/lib/embeddings.d.ts.map +1 -1
- package/lib/environment.d.ts +19 -115
- package/lib/environment.d.ts.map +1 -1
- package/lib/environment.js +3 -0
- package/lib/environment.js.map +1 -1
- package/lib/facets.d.ts +4 -7
- package/lib/facets.d.ts.map +1 -1
- package/lib/group.d.ts +33 -39
- package/lib/group.d.ts.map +1 -1
- package/lib/group.js +0 -1
- package/lib/group.js.map +1 -1
- package/lib/index.d.ts +7 -0
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js.map +1 -1
- package/lib/integrations.d.ts +20 -108
- package/lib/integrations.d.ts.map +1 -1
- package/lib/integrations.js.map +1 -1
- package/lib/interaction-values.d.ts +11 -0
- package/lib/interaction-values.d.ts.map +1 -0
- package/lib/interaction-values.js +24 -0
- package/lib/interaction-values.js.map +1 -0
- package/lib/interaction.d.ts +88 -778
- package/lib/interaction.d.ts.map +1 -1
- package/lib/interaction.js +8 -12
- package/lib/interaction.js.map +1 -1
- package/lib/meters.d.ts +11 -7
- package/lib/meters.d.ts.map +1 -1
- package/lib/meters.js.map +1 -1
- package/lib/oauth-server.d.ts +33 -119
- package/lib/oauth-server.d.ts.map +1 -1
- package/lib/oauth.d.ts +14 -96
- package/lib/oauth.d.ts.map +1 -1
- package/lib/oauth.js +0 -4
- package/lib/oauth.js.map +1 -1
- package/lib/payload.d.ts +15 -38
- package/lib/payload.d.ts.map +1 -1
- package/lib/platform-event.d.ts +49 -462
- package/lib/platform-event.d.ts.map +1 -1
- package/lib/platform-event.js.map +1 -1
- package/lib/principal-context.d.ts +10 -15
- package/lib/principal-context.d.ts.map +1 -1
- package/lib/project-values.d.ts +24 -0
- package/lib/project-values.d.ts.map +1 -0
- package/lib/project-values.js +42 -0
- package/lib/project-values.js.map +1 -0
- package/lib/project.d.ts +55 -503
- package/lib/project.d.ts.map +1 -1
- package/lib/project.js +6 -76
- package/lib/project.js.map +1 -1
- package/lib/prompt.d.ts +20 -51
- package/lib/prompt.d.ts.map +1 -1
- package/lib/prompt.js.map +1 -1
- package/lib/query.d.ts +27 -88
- package/lib/query.d.ts.map +1 -1
- package/lib/rate-limiter.d.ts +19 -70
- package/lib/rate-limiter.d.ts.map +1 -1
- package/lib/rate-limiter.js +0 -3
- package/lib/rate-limiter.js.map +1 -1
- package/lib/refs.d.ts +3 -11
- package/lib/refs.d.ts.map +1 -1
- package/lib/refs.js.map +1 -1
- package/lib/roles/types.d.ts +14 -20
- package/lib/roles/types.d.ts.map +1 -1
- package/lib/roles/types.js +5 -9
- package/lib/roles/types.js.map +1 -1
- package/lib/runs.d.ts +6 -25
- package/lib/runs.d.ts.map +1 -1
- package/lib/secrets.d.ts +20 -105
- package/lib/secrets.d.ts.map +1 -1
- package/lib/store/agent-approval.d.ts +5 -14
- package/lib/store/agent-approval.d.ts.map +1 -1
- package/lib/store/agent-approval.js.map +1 -1
- package/lib/store/agent-run.d.ts +57 -358
- package/lib/store/agent-run.d.ts.map +1 -1
- package/lib/store/collections.d.ts +11 -63
- package/lib/store/collections.d.ts.map +1 -1
- package/lib/store/collections.js.map +1 -1
- package/lib/store/conversation-state.d.ts +61 -61
- package/lib/store/conversation-state.d.ts.map +1 -1
- package/lib/store/conversation-state.js +2 -0
- package/lib/store/conversation-state.js.map +1 -1
- package/lib/store/doc-analyzer.d.ts +9 -32
- package/lib/store/doc-analyzer.d.ts.map +1 -1
- package/lib/store/dsl-workflow.d.ts +37 -151
- package/lib/store/dsl-workflow.d.ts.map +1 -1
- package/lib/store/dsl-workflow.js.map +1 -1
- package/lib/store/editing-policy-schema.generated.d.ts +3 -0
- package/lib/store/editing-policy-schema.generated.d.ts.map +1 -0
- package/lib/store/editing-policy-schema.generated.js +28 -0
- package/lib/store/editing-policy-schema.generated.js.map +1 -0
- package/lib/store/grounded-extraction.d.ts +7 -104
- package/lib/store/grounded-extraction.d.ts.map +1 -1
- package/lib/store/grounded-extraction.js.map +1 -1
- package/lib/store/index.d.ts +2 -0
- package/lib/store/index.d.ts.map +1 -1
- package/lib/store/index.js +3 -0
- package/lib/store/index.js.map +1 -1
- package/lib/store/intake-policy-schema.generated.d.ts +3 -0
- package/lib/store/intake-policy-schema.generated.d.ts.map +1 -0
- package/lib/store/intake-policy-schema.generated.js +1425 -0
- package/lib/store/intake-policy-schema.generated.js.map +1 -0
- package/lib/store/process-schema.d.ts +80 -0
- package/lib/store/process-schema.d.ts.map +1 -1
- package/lib/store/process-schema.js +79 -0
- package/lib/store/process-schema.js.map +1 -1
- package/lib/store/process-validation.d.ts.map +1 -1
- package/lib/store/process-validation.js +70 -2
- package/lib/store/process-validation.js.map +1 -1
- package/lib/store/process.d.ts +36 -125
- package/lib/store/process.d.ts.map +1 -1
- package/lib/store/process.js.map +1 -1
- package/lib/store/rendering.d.ts +9 -64
- package/lib/store/rendering.d.ts.map +1 -1
- package/lib/store/rendering.js.map +1 -1
- package/lib/store/store.d.ts +98 -700
- package/lib/store/store.d.ts.map +1 -1
- package/lib/store/store.js +4 -456
- package/lib/store/store.js.map +1 -1
- package/lib/store/task.d.ts +15 -59
- package/lib/store/task.d.ts.map +1 -1
- package/lib/store/task.js +0 -3
- package/lib/store/task.js.map +1 -1
- package/lib/store/workflow.d.ts +54 -518
- package/lib/store/workflow.d.ts.map +1 -1
- package/lib/store/workflow.js +23 -11
- package/lib/store/workflow.js.map +1 -1
- package/lib/sts-token-types.d.ts +12 -66
- package/lib/sts-token-types.d.ts.map +1 -1
- package/lib/sts-token-types.js.map +1 -1
- package/lib/tools.d.ts +8 -100
- package/lib/tools.d.ts.map +1 -1
- package/lib/transient-tokens-values.d.ts +11 -0
- package/lib/transient-tokens-values.d.ts.map +1 -0
- package/lib/transient-tokens-values.js +12 -0
- package/lib/transient-tokens-values.js.map +1 -0
- package/lib/transient-tokens.d.ts +15 -13
- package/lib/transient-tokens.d.ts.map +1 -1
- package/lib/transient-tokens.js +5 -5
- package/lib/transient-tokens.js.map +1 -1
- package/lib/user.d.ts +54 -155
- package/lib/user.d.ts.map +1 -1
- package/lib/user.js +1 -78
- package/lib/user.js.map +1 -1
- package/lib/versions.d.ts +24 -1
- package/lib/versions.d.ts.map +1 -1
- package/lib/versions.js +23 -0
- package/lib/versions.js.map +1 -1
- package/lib/vertesia-common.js +6 -2
- package/lib/vertesia-common.js.map +1 -1
- package/lib/views-schema.d.ts +4 -4
- package/lib/views.d.ts +56 -312
- package/lib/views.d.ts.map +1 -1
- package/lib/views.js.map +1 -1
- package/package.json +13 -4
- package/src/access-control-values.ts +113 -0
- package/src/access-control.ts +33 -138
- package/src/account-values.ts +95 -0
- package/src/analytics.ts +18 -42
- package/src/api-schemas/access-control.contract.test.ts +209 -0
- package/src/api-schemas/access-control.ts +208 -0
- package/src/api-schemas/account.contract.test.ts +318 -0
- package/src/api-schemas/account.ts +150 -0
- package/src/api-schemas/adapter-edge-cases.test.ts +480 -0
- package/src/api-schemas/adapter.ts +778 -0
- package/src/api-schemas/agent-runs.ts +1081 -0
- package/src/api-schemas/analytics.ts +65 -0
- package/src/api-schemas/apikey.contract.test.ts +270 -0
- package/src/api-schemas/apikey.ts +199 -0
- package/src/api-schemas/app-lifecycle.ts +841 -0
- package/src/api-schemas/app-runtime.ts +919 -0
- package/src/api-schemas/apps.ts +415 -0
- package/src/api-schemas/audit-trail.ts +243 -0
- package/src/api-schemas/bulk-operation.contract.test.ts +39 -0
- package/src/api-schemas/bulk-operation.ts +75 -0
- package/src/api-schemas/bundle-isolation.test.ts +80 -0
- package/src/api-schemas/commands.contract.test.ts +51 -0
- package/src/api-schemas/commands.ts +62 -0
- package/src/api-schemas/content.ts +939 -0
- package/src/api-schemas/cost-analytics.contract.test.ts +64 -0
- package/src/api-schemas/cost-analytics.ts +235 -0
- package/src/api-schemas/dashboard.contract.test.ts +127 -0
- package/src/api-schemas/dashboard.ts +351 -0
- package/src/api-schemas/data-store.contract.test.ts +91 -0
- package/src/api-schemas/data-store.ts +571 -0
- package/src/api-schemas/document-processing.contract.test.ts +76 -0
- package/src/api-schemas/document-processing.ts +344 -0
- package/src/api-schemas/embeddings.ts +113 -0
- package/src/api-schemas/environment.contract.test.ts +184 -0
- package/src/api-schemas/environment.ts +190 -0
- package/src/api-schemas/events.ts +921 -0
- package/src/api-schemas/files.ts +159 -0
- package/src/api-schemas/group.contract.test.ts +205 -0
- package/src/api-schemas/group.ts +155 -0
- package/src/api-schemas/index.ts +35 -0
- package/src/api-schemas/indexing.contract.test.ts +83 -0
- package/src/api-schemas/indexing.ts +234 -0
- package/src/api-schemas/integrations.ts +369 -0
- package/src/api-schemas/interaction.ts +2357 -0
- package/src/api-schemas/invites.contract.test.ts +268 -0
- package/src/api-schemas/invites.ts +127 -0
- package/src/api-schemas/llumiverse.contract.test.ts +108 -0
- package/src/api-schemas/oauth-server.ts +219 -0
- package/src/api-schemas/oauth.contract.test.ts +118 -0
- package/src/api-schemas/oauth.ts +166 -0
- package/src/api-schemas/parameters.test.ts +402 -0
- package/src/api-schemas/parameters.ts +310 -0
- package/src/api-schemas/process.ts +929 -0
- package/src/api-schemas/project-configuration.ts +478 -0
- package/src/api-schemas/project.contract.test.ts +365 -0
- package/src/api-schemas/project.ts +214 -0
- package/src/api-schemas/prompt.ts +88 -0
- package/src/api-schemas/pruning-limits.test.ts +189 -0
- package/src/api-schemas/quota.contract.test.ts +147 -0
- package/src/api-schemas/quota.ts +122 -0
- package/src/api-schemas/registry-groups.test.ts +91 -0
- package/src/api-schemas/registry.ts +3487 -0
- package/src/api-schemas/response-pruning.test.ts +260 -0
- package/src/api-schemas/schema-primitives.ts +12 -0
- package/src/api-schemas/secrets.ts +332 -0
- package/src/api-schemas/store.contract.test.ts +450 -0
- package/src/api-schemas/store.ts +604 -0
- package/src/api-schemas/sts.contract.test.ts +80 -0
- package/src/api-schemas/sts.ts +110 -0
- package/src/api-schemas/task.ts +104 -0
- package/src/api-schemas/tools.ts +140 -0
- package/src/api-schemas/user.contract.test.ts +191 -0
- package/src/api-schemas/user.ts +204 -0
- package/src/api-schemas/view-execution.ts +200 -0
- package/src/api-schemas/views.ts +437 -0
- package/src/api-schemas/workflow-runs.ts +653 -0
- package/src/apikey-values.ts +10 -0
- package/src/apikey.ts +49 -40
- package/src/apps.ts +234 -1213
- package/src/ask-user.ts +9 -1
- package/src/audit-trail.ts +45 -137
- package/src/browser-credentials.ts +21 -106
- package/src/common.ts +67 -78
- package/src/cost-analytics.ts +37 -176
- package/src/data-platform.ts +205 -776
- package/src/email.ts +5 -17
- package/src/embeddings.ts +22 -60
- package/src/environment.ts +52 -126
- package/src/facets.ts +4 -7
- package/src/group.ts +38 -42
- package/src/index.ts +11 -0
- package/src/integrations.ts +39 -129
- package/src/interaction-values.ts +23 -0
- package/src/interaction.ts +162 -902
- package/src/meters.ts +11 -7
- package/src/oauth-server.ts +58 -127
- package/src/oauth.ts +24 -108
- package/src/payload.ts +25 -40
- package/src/platform-event.ts +98 -484
- package/src/principal-context.ts +11 -15
- package/src/project-values.ts +41 -0
- package/src/project.ts +116 -588
- package/src/prompt.ts +34 -61
- package/src/query.ts +34 -93
- package/src/rate-limiter.ts +27 -75
- package/src/refs.ts +4 -11
- package/src/roles/types.ts +20 -20
- package/src/runs.ts +11 -24
- package/src/secrets.ts +38 -117
- package/src/store/agent-approval.ts +9 -14
- package/src/store/agent-run.ts +93 -450
- package/src/store/collections.ts +21 -63
- package/src/store/content-type-editing.test.ts +1 -1
- package/src/store/conversation-state.ts +75 -64
- package/src/store/doc-analyzer.ts +17 -33
- package/src/store/dsl-workflow.ts +62 -158
- package/src/store/editing-policy-schema.generated.ts +30 -0
- package/src/store/grounded-extraction.ts +13 -104
- package/src/store/index.ts +3 -0
- package/src/store/intake-policy-schema.generated.ts +1442 -0
- package/src/store/process-schema.test.ts +43 -0
- package/src/store/process-schema.ts +79 -0
- package/src/store/process-validation.test.ts +141 -0
- package/src/store/process-validation.ts +82 -2
- package/src/store/process.ts +70 -146
- package/src/store/rendering.ts +15 -64
- package/src/store/store.ts +197 -1204
- package/src/store/task.ts +25 -59
- package/src/store/workflow.ts +97 -557
- package/src/sts-token-types.ts +24 -75
- package/src/tools.ts +18 -97
- package/src/transient-tokens-values.ts +11 -0
- package/src/transient-tokens.ts +16 -13
- package/src/user.ts +74 -214
- package/src/versions.ts +24 -0
- package/src/views-schema.test.ts +9 -1
- package/src/views.ts +106 -329
package/lib/views-schema.d.ts
CHANGED
|
@@ -602,7 +602,7 @@ export declare const ViewExperienceConfigurationJsonSchema: {
|
|
|
602
602
|
};
|
|
603
603
|
format: {
|
|
604
604
|
type: string;
|
|
605
|
-
enum: ("number" | "user" | "date" | "text" | "
|
|
605
|
+
enum: ("number" | "user" | "date" | "text" | "content_type" | "badge" | "location")[];
|
|
606
606
|
};
|
|
607
607
|
fallback: {
|
|
608
608
|
type: string;
|
|
@@ -695,7 +695,7 @@ export declare const ViewExperienceConfigurationJsonSchema: {
|
|
|
695
695
|
};
|
|
696
696
|
format: {
|
|
697
697
|
type: string;
|
|
698
|
-
enum: ("number" | "user" | "date" | "text" | "
|
|
698
|
+
enum: ("number" | "user" | "date" | "text" | "content_type" | "badge" | "location")[];
|
|
699
699
|
};
|
|
700
700
|
fallback: {
|
|
701
701
|
type: string;
|
|
@@ -1597,7 +1597,7 @@ export declare const PersistedViewExperienceConfigurationJsonSchema: {
|
|
|
1597
1597
|
};
|
|
1598
1598
|
format: {
|
|
1599
1599
|
type: string;
|
|
1600
|
-
enum: ("number" | "user" | "date" | "text" | "
|
|
1600
|
+
enum: ("number" | "user" | "date" | "text" | "content_type" | "badge" | "location")[];
|
|
1601
1601
|
};
|
|
1602
1602
|
fallback: {
|
|
1603
1603
|
type: string;
|
|
@@ -1690,7 +1690,7 @@ export declare const PersistedViewExperienceConfigurationJsonSchema: {
|
|
|
1690
1690
|
};
|
|
1691
1691
|
format: {
|
|
1692
1692
|
type: string;
|
|
1693
|
-
enum: ("number" | "user" | "date" | "text" | "
|
|
1693
|
+
enum: ("number" | "user" | "date" | "text" | "content_type" | "badge" | "location")[];
|
|
1694
1694
|
};
|
|
1695
1695
|
fallback: {
|
|
1696
1696
|
type: string;
|
package/lib/views.d.ts
CHANGED
|
@@ -1,25 +1,15 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type {
|
|
1
|
+
import type { z } from 'zod';
|
|
2
|
+
import type { InCodeViewDefinitionSchema } from './api-schemas/app-runtime.js';
|
|
3
|
+
import type { ExecuteViewRequestSchema, PreviewViewExperienceRequestSchema, ViewExecutionDefinitionSchema, ViewExecutionQueryPlanSchema, ViewExecutionResultSchema, ViewExecutionSearchConfigurationSchema, ViewExecutionSearchResultSchema, ViewExecutionWarningSchema, ViewExperienceConfigurationSchema, ViewHitAnnotationSchema, ViewHitSchema, ViewQueryPlanningFailureCodeSchema } from './api-schemas/view-execution.js';
|
|
4
|
+
import type { AgenticViewSearchConfigurationSchema, CreateViewExperienceRequestSchema, UpdateViewExperienceRequestSchema, ViewBoardCardConfigurationSchema, ViewBoardColumnSchema, ViewBoardDisplaySchema, ViewCardsDisplaySchema, ViewCollectionNavigationSchema, ViewDisplayConfigurationSchema, ViewElasticsearchQuerySchema, ViewExperienceLayoutSchema, ViewExperienceListQuerySchema, ViewExperienceSchema, ViewExperienceScopeSchema, ViewGalleryDisplaySchema, ViewHierarchyLevelSchema, ViewHierarchyNavigationSchema, ViewKeyTermDefinitionSchema, ViewListDisplaySchema, ViewLocationNavigationSchema, ViewNavigationItemSchema, ViewRangeDefinitionSchema, ViewRangeNavigationSchema, ViewResultFieldFormatSchema, ViewResultFieldSchema, ViewResultMediaSchema, ViewResultsConfigurationSchema, ViewSearchConfigurationSchema, ViewSearchFieldDefinitionSchema, ViewSearchFieldTypeSchema, ViewSortClauseSchema, ViewSortOptionSchema, ViewTableColumnSchema, ViewTableDisplaySchema, ViewTermsNavigationSchema } from './api-schemas/views.js';
|
|
3
5
|
export declare const VIEW_EXPERIENCE_SCHEMA_VERSION: 1;
|
|
4
6
|
export type ViewExperienceSchemaVersion = typeof VIEW_EXPERIENCE_SCHEMA_VERSION;
|
|
5
7
|
/** Build the generic reusable client route for a persisted or app-contributed View. */
|
|
6
8
|
export declare function viewExperienceRoute(id: string): string;
|
|
7
9
|
/** An author-provided Elasticsearch query subtree validated by the View runtime. */
|
|
8
|
-
export
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
export interface ViewExperienceLayout {
|
|
12
|
-
mode?: 'browse' | 'worklist';
|
|
13
|
-
navigation_position?: 'sidebar' | 'top';
|
|
14
|
-
}
|
|
15
|
-
export interface ViewExperienceScope {
|
|
16
|
-
type_ids?: string[];
|
|
17
|
-
locations?: string[];
|
|
18
|
-
collection_ids?: string[];
|
|
19
|
-
include_collection_descendants?: boolean;
|
|
20
|
-
fixed_filter?: ViewElasticsearchQuery;
|
|
21
|
-
head_only?: boolean;
|
|
22
|
-
}
|
|
10
|
+
export type ViewElasticsearchQuery = z.infer<typeof ViewElasticsearchQuerySchema>;
|
|
11
|
+
export type ViewExperienceLayout = z.infer<typeof ViewExperienceLayoutSchema>;
|
|
12
|
+
export type ViewExperienceScope = z.infer<typeof ViewExperienceScopeSchema>;
|
|
23
13
|
export interface ViewNavigationBase {
|
|
24
14
|
id: string;
|
|
25
15
|
label: string;
|
|
@@ -28,195 +18,57 @@ export interface ViewNavigationBase {
|
|
|
28
18
|
order?: number;
|
|
29
19
|
renderer?: string;
|
|
30
20
|
}
|
|
31
|
-
export
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
}
|
|
36
|
-
export interface ViewCollectionNavigation extends ViewNavigationBase {
|
|
37
|
-
source: 'collection';
|
|
38
|
-
roots?: string[];
|
|
39
|
-
include_descendants?: boolean;
|
|
40
|
-
}
|
|
41
|
-
export interface ViewTermsNavigation extends ViewNavigationBase {
|
|
42
|
-
source: 'terms';
|
|
43
|
-
field: string;
|
|
44
|
-
size?: number;
|
|
45
|
-
sort?: 'count' | 'label';
|
|
46
|
-
}
|
|
47
|
-
export interface ViewHierarchyLevel {
|
|
48
|
-
id: string;
|
|
49
|
-
label: string;
|
|
50
|
-
field: string;
|
|
51
|
-
size?: number;
|
|
52
|
-
sort?: 'count' | 'label';
|
|
53
|
-
}
|
|
21
|
+
export type ViewLocationNavigation = z.infer<typeof ViewLocationNavigationSchema>;
|
|
22
|
+
export type ViewCollectionNavigation = z.infer<typeof ViewCollectionNavigationSchema>;
|
|
23
|
+
export type ViewTermsNavigation = z.infer<typeof ViewTermsNavigationSchema>;
|
|
24
|
+
export type ViewHierarchyLevel = z.infer<typeof ViewHierarchyLevelSchema>;
|
|
54
25
|
/**
|
|
55
26
|
* A drill-down hierarchy assembled from independently mapped properties.
|
|
56
27
|
*
|
|
57
28
|
* Hierarchies represent one selected path, so multi_select may only be false.
|
|
58
29
|
* Selection ids are opaque runtime values and must not be constructed by clients.
|
|
30
|
+
*
|
|
31
|
+
* `multi_select` widens from `false` to `boolean` here, matching the published component and what
|
|
32
|
+
* the endpoint has always accepted. The narrowing was an authoring hint with nothing behind it: the
|
|
33
|
+
* navigation runtime takes the first selection for `source === 'hierarchy'` whatever the flag says.
|
|
59
34
|
*/
|
|
60
|
-
export
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
export interface ViewRangeDefinition {
|
|
66
|
-
id: string;
|
|
67
|
-
label: string;
|
|
68
|
-
from?: number;
|
|
69
|
-
to?: number;
|
|
70
|
-
}
|
|
71
|
-
export interface ViewRangeNavigation extends ViewNavigationBase {
|
|
72
|
-
source: 'range';
|
|
73
|
-
field: string;
|
|
74
|
-
ranges: ViewRangeDefinition[];
|
|
75
|
-
}
|
|
76
|
-
export type ViewNavigationItem = ViewLocationNavigation | ViewCollectionNavigation | ViewTermsNavigation | ViewHierarchyNavigation | ViewRangeNavigation;
|
|
77
|
-
export interface ViewKeyTermDefinition {
|
|
78
|
-
id: string;
|
|
79
|
-
label: string;
|
|
80
|
-
field?: string;
|
|
81
|
-
type: ViewSearchFieldType;
|
|
82
|
-
multiple?: boolean;
|
|
83
|
-
operator?: 'match' | 'term' | 'range';
|
|
84
|
-
}
|
|
35
|
+
export type ViewHierarchyNavigation = z.infer<typeof ViewHierarchyNavigationSchema>;
|
|
36
|
+
export type ViewRangeDefinition = z.infer<typeof ViewRangeDefinitionSchema>;
|
|
37
|
+
export type ViewRangeNavigation = z.infer<typeof ViewRangeNavigationSchema>;
|
|
38
|
+
export type ViewNavigationItem = z.infer<typeof ViewNavigationItemSchema>;
|
|
39
|
+
export type ViewKeyTermDefinition = z.infer<typeof ViewKeyTermDefinitionSchema>;
|
|
85
40
|
export declare const VIEW_SEARCH_FIELD_TYPES: readonly ["text", "keyword", "number", "date", "boolean"];
|
|
86
|
-
export type ViewSearchFieldType =
|
|
41
|
+
export type ViewSearchFieldType = z.infer<typeof ViewSearchFieldTypeSchema>;
|
|
87
42
|
/**
|
|
88
43
|
* A mapped Elasticsearch field that a View may use for query planning and
|
|
89
44
|
* deterministic full-text fallback.
|
|
90
45
|
*/
|
|
91
|
-
export
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
type?: ViewSearchFieldType;
|
|
97
|
-
/**
|
|
98
|
-
* `full_text` enables scoring text queries, `exact` limits the field to
|
|
99
|
-
* structured operators, and `auto` derives behavior from the mapped type.
|
|
100
|
-
*/
|
|
101
|
-
mode?: 'auto' | 'full_text' | 'exact';
|
|
102
|
-
/** Relative boost when this field participates in multi-field text search. */
|
|
103
|
-
boost?: number;
|
|
104
|
-
}
|
|
105
|
-
export interface AgenticViewSearchConfiguration {
|
|
106
|
-
interaction?: string;
|
|
107
|
-
config?: InteractionExecutionConfiguration;
|
|
108
|
-
/** View-specific guidance for Elasticsearch query planning. */
|
|
109
|
-
instructions?: string;
|
|
110
|
-
mode?: 'query';
|
|
111
|
-
timeout_ms?: number;
|
|
112
|
-
minimum_confidence?: number;
|
|
113
|
-
}
|
|
114
|
-
export interface ViewSearchConfiguration {
|
|
115
|
-
renderer?: string;
|
|
116
|
-
mode?: 'deterministic' | 'agentic';
|
|
117
|
-
placeholder?: string;
|
|
118
|
-
fields?: ViewSearchFieldDefinition[];
|
|
119
|
-
key_terms?: ViewKeyTermDefinition[];
|
|
120
|
-
agentic?: AgenticViewSearchConfiguration;
|
|
121
|
-
}
|
|
122
|
-
export interface ViewSortClause {
|
|
123
|
-
field: string;
|
|
124
|
-
order: 'asc' | 'desc';
|
|
125
|
-
}
|
|
126
|
-
export interface ViewSortOption {
|
|
127
|
-
id: string;
|
|
128
|
-
label: string;
|
|
129
|
-
sort: ViewSortClause[];
|
|
130
|
-
}
|
|
46
|
+
export type ViewSearchFieldDefinition = z.infer<typeof ViewSearchFieldDefinitionSchema>;
|
|
47
|
+
export type AgenticViewSearchConfiguration = z.infer<typeof AgenticViewSearchConfigurationSchema>;
|
|
48
|
+
export type ViewSearchConfiguration = z.infer<typeof ViewSearchConfigurationSchema>;
|
|
49
|
+
export type ViewSortClause = z.infer<typeof ViewSortClauseSchema>;
|
|
50
|
+
export type ViewSortOption = z.infer<typeof ViewSortOptionSchema>;
|
|
131
51
|
export declare const VIEW_RESULT_FIELD_FORMATS: readonly ["text", "date", "number", "badge", "user", "content_type", "location"];
|
|
132
|
-
export type ViewResultFieldFormat =
|
|
133
|
-
export
|
|
134
|
-
|
|
135
|
-
label?: string;
|
|
136
|
-
format?: ViewResultFieldFormat;
|
|
137
|
-
fallback?: string;
|
|
138
|
-
}
|
|
139
|
-
export interface ViewResultMedia {
|
|
140
|
-
source: 'content_thumbnail' | 'property' | 'type_icon';
|
|
141
|
-
field?: string;
|
|
142
|
-
fit?: 'cover' | 'contain';
|
|
143
|
-
fallback?: 'type_icon' | 'placeholder' | 'none';
|
|
144
|
-
}
|
|
52
|
+
export type ViewResultFieldFormat = z.infer<typeof ViewResultFieldFormatSchema>;
|
|
53
|
+
export type ViewResultField = z.infer<typeof ViewResultFieldSchema>;
|
|
54
|
+
export type ViewResultMedia = z.infer<typeof ViewResultMediaSchema>;
|
|
145
55
|
export interface ViewDisplayBase {
|
|
146
56
|
id: string;
|
|
147
57
|
label: string;
|
|
148
58
|
renderer?: string;
|
|
149
59
|
page_size?: number;
|
|
150
60
|
}
|
|
151
|
-
export
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
export
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
sort_option?: string;
|
|
163
|
-
}
|
|
164
|
-
export interface ViewTableDisplay extends ViewDisplayBase {
|
|
165
|
-
type: 'table';
|
|
166
|
-
columns: ViewTableColumn[];
|
|
167
|
-
}
|
|
168
|
-
export interface ViewCardsDisplay extends ViewDisplayBase {
|
|
169
|
-
type: 'cards';
|
|
170
|
-
title: ViewResultField;
|
|
171
|
-
description?: ViewResultField;
|
|
172
|
-
media?: ViewResultMedia;
|
|
173
|
-
fields?: ViewResultField[];
|
|
174
|
-
badges?: ViewResultField[];
|
|
175
|
-
columns?: 2 | 3 | 4 | 5 | 6;
|
|
176
|
-
}
|
|
177
|
-
export interface ViewGalleryDisplay extends ViewDisplayBase {
|
|
178
|
-
type: 'gallery';
|
|
179
|
-
media: ViewResultMedia;
|
|
180
|
-
title: ViewResultField;
|
|
181
|
-
caption?: ViewResultField[];
|
|
182
|
-
columns?: 2 | 3 | 4 | 5 | 6;
|
|
183
|
-
}
|
|
184
|
-
export interface ViewBoardColumn {
|
|
185
|
-
value: string;
|
|
186
|
-
label: string;
|
|
187
|
-
order?: number;
|
|
188
|
-
}
|
|
189
|
-
export interface ViewBoardCardConfiguration {
|
|
190
|
-
title: ViewResultField;
|
|
191
|
-
description?: ViewResultField;
|
|
192
|
-
media?: ViewResultMedia;
|
|
193
|
-
fields?: ViewResultField[];
|
|
194
|
-
badges?: ViewResultField[];
|
|
195
|
-
}
|
|
196
|
-
export interface ViewBoardDisplay extends ViewDisplayBase {
|
|
197
|
-
type: 'board';
|
|
198
|
-
group_by: string;
|
|
199
|
-
columns?: ViewBoardColumn[];
|
|
200
|
-
card: ViewBoardCardConfiguration;
|
|
201
|
-
}
|
|
202
|
-
export type ViewDisplayConfiguration = ViewListDisplay | ViewTableDisplay | ViewCardsDisplay | ViewGalleryDisplay | ViewBoardDisplay;
|
|
203
|
-
export interface ViewResultsConfiguration {
|
|
204
|
-
default_display: string;
|
|
205
|
-
allow_display_switch?: boolean;
|
|
206
|
-
displays: ViewDisplayConfiguration[];
|
|
207
|
-
default_sort?: string;
|
|
208
|
-
sort_options?: ViewSortOption[];
|
|
209
|
-
}
|
|
210
|
-
export interface ViewExperienceConfiguration {
|
|
211
|
-
name: string;
|
|
212
|
-
description?: string;
|
|
213
|
-
enabled?: boolean;
|
|
214
|
-
layout?: ViewExperienceLayout;
|
|
215
|
-
scope?: ViewExperienceScope;
|
|
216
|
-
navigation?: ViewNavigationItem[];
|
|
217
|
-
search?: ViewSearchConfiguration;
|
|
218
|
-
results?: ViewResultsConfiguration;
|
|
219
|
-
}
|
|
61
|
+
export type ViewListDisplay = z.infer<typeof ViewListDisplaySchema>;
|
|
62
|
+
export type ViewTableColumn = z.infer<typeof ViewTableColumnSchema>;
|
|
63
|
+
export type ViewTableDisplay = z.infer<typeof ViewTableDisplaySchema>;
|
|
64
|
+
export type ViewCardsDisplay = z.infer<typeof ViewCardsDisplaySchema>;
|
|
65
|
+
export type ViewGalleryDisplay = z.infer<typeof ViewGalleryDisplaySchema>;
|
|
66
|
+
export type ViewBoardColumn = z.infer<typeof ViewBoardColumnSchema>;
|
|
67
|
+
export type ViewBoardCardConfiguration = z.infer<typeof ViewBoardCardConfigurationSchema>;
|
|
68
|
+
export type ViewBoardDisplay = z.infer<typeof ViewBoardDisplaySchema>;
|
|
69
|
+
export type ViewDisplayConfiguration = z.infer<typeof ViewDisplayConfigurationSchema>;
|
|
70
|
+
export type ViewResultsConfiguration = z.infer<typeof ViewResultsConfigurationSchema>;
|
|
71
|
+
export type ViewExperienceConfiguration = z.infer<typeof ViewExperienceConfigurationSchema>;
|
|
220
72
|
/**
|
|
221
73
|
* A View configuration stored as a project resource.
|
|
222
74
|
*
|
|
@@ -236,84 +88,19 @@ export declare function getViewExperienceConfiguration(value: ViewExperienceConf
|
|
|
236
88
|
/** Project a type-valid persisted View while preserving its required documentation field. */
|
|
237
89
|
export declare function getPersistedViewExperienceConfiguration(value: PersistedViewExperienceConfiguration): PersistedViewExperienceConfiguration;
|
|
238
90
|
/** A View definition contributed by application code through the app package endpoint. */
|
|
239
|
-
export
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
/** App-local name used for lookup and diagnostics. */
|
|
243
|
-
name: string;
|
|
244
|
-
title?: string;
|
|
245
|
-
description?: string;
|
|
246
|
-
tags?: string[];
|
|
247
|
-
definition: ViewExperienceConfiguration;
|
|
248
|
-
}
|
|
249
|
-
export interface ViewExperience extends PersistedViewExperienceConfiguration {
|
|
250
|
-
id: string;
|
|
251
|
-
version: ViewExperienceSchemaVersion;
|
|
252
|
-
revision: number;
|
|
253
|
-
created_by: string;
|
|
254
|
-
updated_by: string;
|
|
255
|
-
created_at: string;
|
|
256
|
-
updated_at: string;
|
|
257
|
-
}
|
|
258
|
-
export interface CreateViewExperienceRequest extends PersistedViewExperienceConfiguration {
|
|
259
|
-
id: string;
|
|
260
|
-
version?: ViewExperienceSchemaVersion;
|
|
261
|
-
}
|
|
91
|
+
export type InCodeViewDefinition = z.infer<typeof InCodeViewDefinitionSchema>;
|
|
92
|
+
export type ViewExperience = z.infer<typeof ViewExperienceSchema>;
|
|
93
|
+
export type CreateViewExperienceRequest = z.infer<typeof CreateViewExperienceRequestSchema>;
|
|
262
94
|
/** PUT uses full replacement so omitted optional configuration is removed. */
|
|
263
|
-
export
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
export
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
export
|
|
272
|
-
query?: string;
|
|
273
|
-
key_terms?: Record<string, string[]>;
|
|
274
|
-
navigation?: Record<string, string[]>;
|
|
275
|
-
display?: string;
|
|
276
|
-
sort?: string;
|
|
277
|
-
offset?: number;
|
|
278
|
-
limit?: number;
|
|
279
|
-
}
|
|
280
|
-
/**
|
|
281
|
-
* Execute an unsaved (draft) View configuration without persisting it. Combines
|
|
282
|
-
* the inline configuration with the same execution inputs as {@link ExecuteViewRequest}
|
|
283
|
-
* so authors can validate and preview results before calling create/update.
|
|
284
|
-
*/
|
|
285
|
-
export interface PreviewViewExperienceRequest extends ExecuteViewRequest {
|
|
286
|
-
/** The unsaved View configuration to validate and execute. */
|
|
287
|
-
configuration: ViewExperienceConfiguration;
|
|
288
|
-
}
|
|
289
|
-
export interface ViewExecutionWarning {
|
|
290
|
-
code: string;
|
|
291
|
-
message: string;
|
|
292
|
-
path?: string;
|
|
293
|
-
}
|
|
294
|
-
export type ViewQueryPlanningFailureCode = 'interaction_failed' | 'invalid_output' | 'invalid_query' | 'low_confidence' | 'timeout' | 'unknown';
|
|
295
|
-
/**
|
|
296
|
-
* Safe query-planning diagnostics. The query contains only the model-authored
|
|
297
|
-
* subtree; server-owned scope and content-security filters are never exposed.
|
|
298
|
-
*/
|
|
299
|
-
export interface ViewExecutionQueryPlan {
|
|
300
|
-
status: 'applied' | 'fallback';
|
|
301
|
-
query?: ViewElasticsearchQuery;
|
|
302
|
-
confidence?: number;
|
|
303
|
-
error_code?: ViewQueryPlanningFailureCode;
|
|
304
|
-
error_message?: string;
|
|
305
|
-
}
|
|
306
|
-
export interface ViewHitAnnotation {
|
|
307
|
-
why_match?: string;
|
|
308
|
-
answer?: string;
|
|
309
|
-
excerpt?: string;
|
|
310
|
-
}
|
|
311
|
-
export interface ViewHit {
|
|
312
|
-
id: string;
|
|
313
|
-
score?: number;
|
|
314
|
-
document: ContentObjectItemApiResponse;
|
|
315
|
-
annotation?: ViewHitAnnotation;
|
|
316
|
-
}
|
|
95
|
+
export type UpdateViewExperienceRequest = z.infer<typeof UpdateViewExperienceRequestSchema>;
|
|
96
|
+
export type ViewExperienceListQuery = z.infer<typeof ViewExperienceListQuerySchema>;
|
|
97
|
+
export type ExecuteViewRequest = z.infer<typeof ExecuteViewRequestSchema>;
|
|
98
|
+
export type PreviewViewExperienceRequest = z.infer<typeof PreviewViewExperienceRequestSchema>;
|
|
99
|
+
export type ViewExecutionWarning = z.infer<typeof ViewExecutionWarningSchema>;
|
|
100
|
+
export type ViewQueryPlanningFailureCode = z.infer<typeof ViewQueryPlanningFailureCodeSchema>;
|
|
101
|
+
export type ViewExecutionQueryPlan = z.infer<typeof ViewExecutionQueryPlanSchema>;
|
|
102
|
+
export type ViewHitAnnotation = z.infer<typeof ViewHitAnnotationSchema>;
|
|
103
|
+
export type ViewHit = z.infer<typeof ViewHitSchema>;
|
|
317
104
|
export interface ViewNavigationNode {
|
|
318
105
|
id: string;
|
|
319
106
|
label: string;
|
|
@@ -331,51 +118,8 @@ export interface ViewNavigationResult {
|
|
|
331
118
|
breadcrumbs?: ViewNavigationNode[];
|
|
332
119
|
truncated?: boolean;
|
|
333
120
|
}
|
|
334
|
-
export
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
plan?: ViewExecutionQueryPlan;
|
|
339
|
-
requested_mode: 'browse' | 'deterministic' | 'agentic';
|
|
340
|
-
applied_mode: 'browse' | 'deterministic' | 'query';
|
|
341
|
-
fallback_reason?: string;
|
|
342
|
-
warnings: ViewExecutionWarning[];
|
|
343
|
-
}
|
|
344
|
-
/**
|
|
345
|
-
* Client-visible search controls. Agentic planner instructions, interaction,
|
|
346
|
-
* and model configuration are intentionally omitted.
|
|
347
|
-
*/
|
|
348
|
-
export interface ViewExecutionSearchConfiguration {
|
|
349
|
-
renderer?: string;
|
|
350
|
-
mode?: 'deterministic' | 'agentic';
|
|
351
|
-
placeholder?: string;
|
|
352
|
-
fields?: ViewSearchFieldDefinition[];
|
|
353
|
-
key_terms?: ViewKeyTermDefinition[];
|
|
354
|
-
}
|
|
355
|
-
/**
|
|
356
|
-
* The reusable, client-visible part of the View definition used for an execution.
|
|
357
|
-
* Server-owned scope is intentionally omitted.
|
|
358
|
-
*/
|
|
359
|
-
export interface ViewExecutionDefinition {
|
|
360
|
-
name: string;
|
|
361
|
-
description?: string;
|
|
362
|
-
enabled?: boolean;
|
|
363
|
-
layout?: ViewExperienceLayout;
|
|
364
|
-
navigation?: ViewNavigationItem[];
|
|
365
|
-
search?: ViewExecutionSearchConfiguration;
|
|
366
|
-
results?: ViewResultsConfiguration;
|
|
367
|
-
}
|
|
368
|
-
export interface ViewExecutionResult {
|
|
369
|
-
view: string;
|
|
370
|
-
revision: number;
|
|
371
|
-
/** The runtime-safe rendering definition resolved by Zeno for this execution. */
|
|
372
|
-
definition: ViewExecutionDefinition;
|
|
373
|
-
display?: string;
|
|
374
|
-
sort?: string;
|
|
375
|
-
search: ViewExecutionSearchResult;
|
|
376
|
-
hits: ViewHit[];
|
|
377
|
-
total: number;
|
|
378
|
-
navigation: Record<string, ViewNavigationResult>;
|
|
379
|
-
took: number;
|
|
380
|
-
}
|
|
121
|
+
export type ViewExecutionSearchResult = z.infer<typeof ViewExecutionSearchResultSchema>;
|
|
122
|
+
export type ViewExecutionSearchConfiguration = z.infer<typeof ViewExecutionSearchConfigurationSchema>;
|
|
123
|
+
export type ViewExecutionDefinition = z.infer<typeof ViewExecutionDefinitionSchema>;
|
|
124
|
+
export type ViewExecutionResult = z.infer<typeof ViewExecutionResultSchema>;
|
|
381
125
|
//# sourceMappingURL=views.d.ts.map
|
package/lib/views.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"views.d.ts","sourceRoot":"","sources":["../src/views.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"views.d.ts","sourceRoot":"","sources":["../src/views.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAC7B,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAC;AAC/E,OAAO,KAAK,EACR,wBAAwB,EACxB,kCAAkC,EAClC,6BAA6B,EAC7B,4BAA4B,EAC5B,yBAAyB,EACzB,sCAAsC,EACtC,+BAA+B,EAC/B,0BAA0B,EAC1B,iCAAiC,EACjC,uBAAuB,EACvB,aAAa,EACb,kCAAkC,EACrC,MAAM,iCAAiC,CAAC;AACzC,OAAO,KAAK,EACR,oCAAoC,EACpC,iCAAiC,EACjC,iCAAiC,EACjC,gCAAgC,EAChC,qBAAqB,EACrB,sBAAsB,EACtB,sBAAsB,EACtB,8BAA8B,EAC9B,8BAA8B,EAC9B,4BAA4B,EAC5B,0BAA0B,EAC1B,6BAA6B,EAC7B,oBAAoB,EACpB,yBAAyB,EACzB,wBAAwB,EACxB,wBAAwB,EACxB,6BAA6B,EAC7B,2BAA2B,EAC3B,qBAAqB,EACrB,4BAA4B,EAC5B,wBAAwB,EACxB,yBAAyB,EACzB,yBAAy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AO,aAAa,CAAC,CAAC;AAEpD,MAAM,WAAW,kBAAkB;IAC/B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,QAAQ,CAAC,EAAE,kBAAkB,EAAE,CAAC;IAChC,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,oBAAoB;IACjC,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE,MAAM,EAAE,CAAC;IACnB,KAAK,EAAE,kBAAkB,EAAE,CAAC;IAC5B,uEAAuE;IACvE,WAAW,CAAC,EAAE,kBAAkB,EAAE,CAAC;IACnC,SAAS,CAAC,EAAE,OAAO,CAAC;CACvB;AAED,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,+BAA+B,CAAC,CAAC;AAExF,MAAM,MAAM,gCAAgC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sCAAsC,CAAC,CAAC;AAEtG,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAC;AAEpF,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC"}
|
package/lib/views.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"views.js","sourceRoot":"","sources":["../src/views.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"views.js","sourceRoot":"","sources":["../src/views.ts"],"names":[],"mappings":"AAsDA,MAAM,CAAC,MAAM,8BAA8B,GAAG,CAAU,CAAC;AAIzD,uFAAuF;AACvF,MAAM,UAAU,mBAAmB,CAAC,EAAU;IAC1C,OAAO,SAAS,kBAAkB,CAAC,EAAE,CAAC,EAAE,CAAC;AAC7C,CAAC;AA8CD,M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AAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,OAAO,EAAE,KAAK,CAAC,OAAO,EAAE,CAAC;KACrE,CAAC;AACN,CAAC;AAED,6FAA6F;AAC7F,MAAM,UAAU,uCAAuC,CACnD,KAA2C;IAE3C,OAAO;QACH,GAAG,8BAA8B,CAAC,KAAK,CAAC;QACxC,WAAW,EAAE,KAAK,CAAC,WAAW;KACjC,CAAC;AACN,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vertesia/common",
|
|
3
|
-
"version": "1.5.0-dev.
|
|
3
|
+
"version": "1.5.0-dev.20260804.124748Z",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./lib/index.js",
|
|
@@ -14,17 +14,25 @@
|
|
|
14
14
|
".": {
|
|
15
15
|
"types": "./lib/index.d.ts",
|
|
16
16
|
"default": "./lib/index.js"
|
|
17
|
+
},
|
|
18
|
+
"./api-schemas": {
|
|
19
|
+
"types": "./lib/api-schemas/index.d.ts",
|
|
20
|
+
"default": "./lib/api-schemas/index.js"
|
|
17
21
|
}
|
|
18
22
|
},
|
|
19
23
|
"devDependencies": {
|
|
24
|
+
"@types/node": "^24.13.3",
|
|
20
25
|
"rolldown": "1.2.0",
|
|
26
|
+
"tsx": "^4.23.1",
|
|
21
27
|
"typescript": "^6.0.3",
|
|
22
28
|
"vitest": "^4.1.10",
|
|
23
29
|
"@vertesia/tsconfig": "0.1.0"
|
|
24
30
|
},
|
|
25
31
|
"dependencies": {
|
|
26
32
|
"ajv": "^8.20.0",
|
|
27
|
-
"
|
|
33
|
+
"ajv-formats": "^3.0.1",
|
|
34
|
+
"zod": "^4.4.3",
|
|
35
|
+
"@llumiverse/common": "1.5.0-dev.20260804.122431Z"
|
|
28
36
|
},
|
|
29
37
|
"repository": {
|
|
30
38
|
"type": "git",
|
|
@@ -39,13 +47,14 @@
|
|
|
39
47
|
"ai",
|
|
40
48
|
"typescript"
|
|
41
49
|
],
|
|
42
|
-
"gitHead": "
|
|
50
|
+
"gitHead": "87ac9166db2b38bd1be6e37adf0414ea83e402ee",
|
|
43
51
|
"scripts": {
|
|
44
52
|
"lint": "biome lint src",
|
|
45
53
|
"test": "vitest run",
|
|
46
54
|
"typecheck:test": "tsc -p tsconfig.test.json --noEmit",
|
|
47
55
|
"clean:lib": "rimraf ./lib ./tsconfig.tsbuildinfo",
|
|
48
56
|
"build": "pnpm run clean:lib && tsc -p tsconfig.json && pnpm exec rolldown -c rolldown.config.js",
|
|
49
|
-
"clean": "rimraf ./node_modules ./lib ./tsconfig.tsbuildinfo"
|
|
57
|
+
"clean": "rimraf ./node_modules ./lib ./tsconfig.tsbuildinfo",
|
|
58
|
+
"gen:schemas": "tsx ./scripts/gen-intake-policy-schema.ts && pnpm exec biome format --write ./src/store/intake-policy-schema.generated.ts ./src/store/editing-policy-schema.generated.ts"
|
|
50
59
|
}
|
|
51
60
|
}
|