@vertesia/common 1.6.0-dev.20260918.115658Z → 1.6.0-dev.20261004.085740Z
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 +2 -2
- package/lib/access-control-values.d.ts.map +1 -1
- package/lib/access-control-values.js +2 -2
- package/lib/access-control-values.js.map +1 -1
- package/lib/access-control.d.ts +7 -8
- package/lib/access-control.d.ts.map +1 -1
- package/lib/access-control.js +5 -0
- package/lib/access-control.js.map +1 -1
- package/lib/analytics.d.ts +6 -7
- package/lib/analytics.d.ts.map +1 -1
- package/lib/api-contract/components.generated.json +4500 -2720
- package/lib/api-schemas/access-control.d.ts +33 -10
- package/lib/api-schemas/access-control.d.ts.map +1 -1
- package/lib/api-schemas/access-control.js +7 -6
- package/lib/api-schemas/access-control.js.map +1 -1
- package/lib/api-schemas/account.d.ts +10 -4
- package/lib/api-schemas/account.d.ts.map +1 -1
- package/lib/api-schemas/account.js +7 -0
- package/lib/api-schemas/account.js.map +1 -1
- package/lib/api-schemas/agent-budget.d.ts +15 -0
- package/lib/api-schemas/agent-budget.d.ts.map +1 -0
- package/lib/api-schemas/agent-budget.js +55 -0
- package/lib/api-schemas/agent-budget.js.map +1 -0
- package/lib/api-schemas/agent-runs.d.ts +2459 -404
- package/lib/api-schemas/agent-runs.d.ts.map +1 -1
- package/lib/api-schemas/agent-runs.js +60 -28
- package/lib/api-schemas/agent-runs.js.map +1 -1
- package/lib/api-schemas/apikey.d.ts +11 -10
- package/lib/api-schemas/apikey.d.ts.map +1 -1
- package/lib/api-schemas/apikey.js.map +1 -1
- package/lib/api-schemas/app-lifecycle.d.ts +17 -0
- package/lib/api-schemas/app-lifecycle.d.ts.map +1 -1
- package/lib/api-schemas/app-lifecycle.js +14 -0
- package/lib/api-schemas/app-lifecycle.js.map +1 -1
- package/lib/api-schemas/app-runtime.d.ts +3174 -539
- package/lib/api-schemas/app-runtime.d.ts.map +1 -1
- package/lib/api-schemas/app-runtime.js +14 -0
- package/lib/api-schemas/app-runtime.js.map +1 -1
- package/lib/api-schemas/audit-trail.d.ts +20 -0
- package/lib/api-schemas/audit-trail.d.ts.map +1 -1
- package/lib/api-schemas/audit-trail.js +7 -1
- package/lib/api-schemas/audit-trail.js.map +1 -1
- package/lib/api-schemas/content.d.ts +1130 -180
- package/lib/api-schemas/content.d.ts.map +1 -1
- package/lib/api-schemas/content.js +47 -0
- package/lib/api-schemas/content.js.map +1 -1
- package/lib/api-schemas/cost-analytics.d.ts +18 -0
- package/lib/api-schemas/cost-analytics.d.ts.map +1 -1
- package/lib/api-schemas/cost-analytics.js +31 -2
- package/lib/api-schemas/cost-analytics.js.map +1 -1
- package/lib/api-schemas/document-processing.d.ts +660 -108
- package/lib/api-schemas/document-processing.d.ts.map +1 -1
- package/lib/api-schemas/environment.d.ts +2 -7
- package/lib/api-schemas/environment.d.ts.map +1 -1
- package/lib/api-schemas/environment.js +0 -1
- package/lib/api-schemas/environment.js.map +1 -1
- package/lib/api-schemas/events.d.ts +1980 -324
- package/lib/api-schemas/events.d.ts.map +1 -1
- package/lib/api-schemas/group.d.ts +2 -1
- package/lib/api-schemas/group.d.ts.map +1 -1
- package/lib/api-schemas/group.js.map +1 -1
- package/lib/api-schemas/index.d.ts +1 -0
- package/lib/api-schemas/index.d.ts.map +1 -1
- package/lib/api-schemas/index.js +1 -0
- package/lib/api-schemas/index.js.map +1 -1
- package/lib/api-schemas/inference-profile.d.ts +5017 -0
- package/lib/api-schemas/inference-profile.d.ts.map +1 -0
- package/lib/api-schemas/inference-profile.js +135 -0
- package/lib/api-schemas/inference-profile.js.map +1 -0
- package/lib/api-schemas/integrations.d.ts +6 -6
- package/lib/api-schemas/interaction.d.ts +39078 -2420
- package/lib/api-schemas/interaction.d.ts.map +1 -1
- package/lib/api-schemas/interaction.js +35 -1
- package/lib/api-schemas/interaction.js.map +1 -1
- package/lib/api-schemas/invites.d.ts +10 -9
- package/lib/api-schemas/invites.d.ts.map +1 -1
- package/lib/api-schemas/invites.js.map +1 -1
- package/lib/api-schemas/oauth-server.d.ts +27 -0
- package/lib/api-schemas/oauth-server.d.ts.map +1 -1
- package/lib/api-schemas/oauth-server.js +32 -0
- package/lib/api-schemas/oauth-server.js.map +1 -1
- package/lib/api-schemas/process.d.ts +839 -94
- package/lib/api-schemas/process.d.ts.map +1 -1
- package/lib/api-schemas/process.js +66 -0
- package/lib/api-schemas/process.js.map +1 -1
- package/lib/api-schemas/project-configuration.d.ts +2262 -364
- package/lib/api-schemas/project-configuration.d.ts.map +1 -1
- package/lib/api-schemas/project-configuration.js +21 -1
- package/lib/api-schemas/project-configuration.js.map +1 -1
- package/lib/api-schemas/project.d.ts +3450 -569
- package/lib/api-schemas/project.d.ts.map +1 -1
- package/lib/api-schemas/project.js +9 -1
- package/lib/api-schemas/project.js.map +1 -1
- package/lib/api-schemas/prompt.d.ts +1 -0
- package/lib/api-schemas/prompt.d.ts.map +1 -1
- package/lib/api-schemas/prompt.js +1 -0
- package/lib/api-schemas/prompt.js.map +1 -1
- package/lib/api-schemas/quota.d.ts +7 -6
- package/lib/api-schemas/quota.d.ts.map +1 -1
- package/lib/api-schemas/quota.js.map +1 -1
- package/lib/api-schemas/registry.d.ts +32375 -58756
- package/lib/api-schemas/registry.d.ts.map +1 -1
- package/lib/api-schemas/registry.js +97 -38
- package/lib/api-schemas/registry.js.map +1 -1
- package/lib/api-schemas/run-budget.d.ts +52 -0
- package/lib/api-schemas/run-budget.d.ts.map +1 -0
- package/lib/api-schemas/run-budget.js +55 -0
- package/lib/api-schemas/run-budget.js.map +1 -0
- package/lib/api-schemas/store.d.ts +11000 -1800
- package/lib/api-schemas/store.d.ts.map +1 -1
- package/lib/api-schemas/store.js +11 -0
- package/lib/api-schemas/store.js.map +1 -1
- package/lib/api-schemas/sts.d.ts +10 -0
- package/lib/api-schemas/sts.d.ts.map +1 -1
- package/lib/api-schemas/sts.js +14 -0
- package/lib/api-schemas/sts.js.map +1 -1
- package/lib/api-schemas/user.d.ts +36 -19
- package/lib/api-schemas/user.d.ts.map +1 -1
- package/lib/api-schemas/user.js +23 -17
- package/lib/api-schemas/user.js.map +1 -1
- package/lib/api-schemas/view-execution.d.ts +8 -0
- package/lib/api-schemas/view-execution.d.ts.map +1 -1
- package/lib/api-schemas/views.d.ts +14 -0
- package/lib/api-schemas/views.d.ts.map +1 -1
- package/lib/api-schemas/workflow-runs.d.ts +521 -72
- package/lib/api-schemas/workflow-runs.d.ts.map +1 -1
- package/lib/api-schemas/workflow-runs.js +2 -0
- package/lib/api-schemas/workflow-runs.js.map +1 -1
- package/lib/apikey.d.ts +30 -25
- package/lib/apikey.d.ts.map +1 -1
- package/lib/apikey.js.map +1 -1
- package/lib/apps.d.ts +116 -120
- package/lib/apps.d.ts.map +1 -1
- package/lib/apps.js.map +1 -1
- package/lib/audit-trail.d.ts +17 -18
- package/lib/audit-trail.d.ts.map +1 -1
- package/lib/audit-trail.js +2 -0
- package/lib/audit-trail.js.map +1 -1
- package/lib/browser-credentials.d.ts +11 -12
- package/lib/browser-credentials.d.ts.map +1 -1
- package/lib/common.d.ts +17 -24
- package/lib/common.d.ts.map +1 -1
- package/lib/content-query.d.ts +3 -4
- package/lib/content-query.d.ts.map +1 -1
- package/lib/cost-analytics.d.ts +13 -21
- package/lib/cost-analytics.d.ts.map +1 -1
- package/lib/cost-analytics.js +0 -7
- package/lib/cost-analytics.js.map +1 -1
- package/lib/data-platform.d.ts +79 -88
- package/lib/data-platform.d.ts.map +1 -1
- package/lib/data-platform.js.map +1 -1
- package/lib/delegation.d.ts +4 -5
- package/lib/delegation.d.ts.map +1 -1
- package/lib/email.d.ts +15 -17
- package/lib/email.d.ts.map +1 -1
- package/lib/email.js.map +1 -1
- package/lib/embeddings.d.ts +25 -26
- package/lib/embeddings.d.ts.map +1 -1
- package/lib/environment.d.ts +16 -17
- package/lib/environment.d.ts.map +1 -1
- package/lib/environment.js.map +1 -1
- package/lib/facets.d.ts +3 -4
- package/lib/facets.d.ts.map +1 -1
- package/lib/group.d.ts +6 -7
- package/lib/group.d.ts.map +1 -1
- package/lib/group.js.map +1 -1
- package/lib/index.d.ts +4 -2
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js.map +1 -1
- package/lib/inference-profile.d.ts +17 -0
- package/lib/inference-profile.d.ts.map +1 -0
- package/lib/inference-profile.js +2 -0
- package/lib/inference-profile.js.map +1 -0
- package/lib/integrations.d.ts +19 -20
- package/lib/integrations.d.ts.map +1 -1
- package/lib/integrations.js.map +1 -1
- package/lib/interaction.d.ts +68 -73
- package/lib/interaction.d.ts.map +1 -1
- package/lib/interaction.js.map +1 -1
- package/lib/meters.d.ts +4 -5
- package/lib/meters.d.ts.map +1 -1
- package/lib/oauth-server.d.ts +40 -37
- package/lib/oauth-server.d.ts.map +1 -1
- package/lib/oauth.d.ts +9 -10
- package/lib/oauth.d.ts.map +1 -1
- package/lib/payload.d.ts +11 -14
- package/lib/payload.d.ts.map +1 -1
- package/lib/pending-asks.d.ts +8 -13
- package/lib/pending-asks.d.ts.map +1 -1
- package/lib/pending-asks.js +0 -4
- package/lib/pending-asks.js.map +1 -1
- package/lib/platform-event.d.ts +48 -51
- package/lib/platform-event.d.ts.map +1 -1
- package/lib/platform-event.js.map +1 -1
- package/lib/principal-context.d.ts +23 -14
- package/lib/principal-context.d.ts.map +1 -1
- package/lib/project.d.ts +42 -43
- package/lib/project.d.ts.map +1 -1
- package/lib/project.js +10 -0
- package/lib/project.js.map +1 -1
- package/lib/prompt.d.ts +14 -16
- package/lib/prompt.d.ts.map +1 -1
- package/lib/prompt.js.map +1 -1
- package/lib/query.d.ts +10 -13
- package/lib/query.d.ts.map +1 -1
- package/lib/rate-limiter.d.ts +7 -11
- package/lib/rate-limiter.d.ts.map +1 -1
- package/lib/refs.d.ts +2 -3
- package/lib/refs.d.ts.map +1 -1
- package/lib/refs.js.map +1 -1
- package/lib/roles/types.d.ts +5 -6
- package/lib/roles/types.d.ts.map +1 -1
- package/lib/roles/types.js.map +1 -1
- package/lib/run-budget.d.ts +8 -0
- package/lib/run-budget.d.ts.map +1 -0
- package/lib/run-budget.js +2 -0
- package/lib/run-budget.js.map +1 -0
- package/lib/runs.d.ts +9 -10
- package/lib/runs.d.ts.map +1 -1
- package/lib/secrets.d.ts +20 -21
- package/lib/secrets.d.ts.map +1 -1
- package/lib/store/agent-approval.d.ts +4 -5
- 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 +50 -52
- package/lib/store/agent-run.d.ts.map +1 -1
- package/lib/store/agent-run.js.map +1 -1
- package/lib/store/collections.d.ts +11 -12
- package/lib/store/collections.d.ts.map +1 -1
- package/lib/store/collections.js.map +1 -1
- package/lib/store/conversation-state.d.ts +14 -8
- package/lib/store/conversation-state.d.ts.map +1 -1
- package/lib/store/doc-analyzer.d.ts +7 -8
- package/lib/store/doc-analyzer.d.ts.map +1 -1
- package/lib/store/dsl-workflow.d.ts +10 -12
- package/lib/store/dsl-workflow.d.ts.map +1 -1
- package/lib/store/dsl-workflow.js.map +1 -1
- package/lib/store/duration.d.ts +12 -0
- package/lib/store/duration.d.ts.map +1 -0
- package/lib/store/duration.js +2 -0
- package/lib/store/duration.js.map +1 -0
- package/lib/store/grounded-extraction.d.ts +6 -7
- package/lib/store/grounded-extraction.d.ts.map +1 -1
- package/lib/store/intake-policy-schema.generated.d.ts.map +1 -1
- package/lib/store/intake-policy-schema.generated.js +309 -34
- package/lib/store/intake-policy-schema.generated.js.map +1 -1
- package/lib/store/process.d.ts +70 -69
- package/lib/store/process.d.ts.map +1 -1
- package/lib/store/process.js.map +1 -1
- package/lib/store/rendering.d.ts +6 -12
- package/lib/store/rendering.d.ts.map +1 -1
- package/lib/store/rendering.js +0 -5
- package/lib/store/rendering.js.map +1 -1
- package/lib/store/signals.d.ts +43 -0
- package/lib/store/signals.d.ts.map +1 -1
- package/lib/store/signals.js +6 -1
- package/lib/store/signals.js.map +1 -1
- package/lib/store/store.d.ts +92 -91
- package/lib/store/store.d.ts.map +1 -1
- package/lib/store/store.js.map +1 -1
- package/lib/store/task.d.ts +10 -14
- package/lib/store/task.d.ts.map +1 -1
- package/lib/store/workflow.d.ts +35 -41
- package/lib/store/workflow.d.ts.map +1 -1
- package/lib/store/workflow.js.map +1 -1
- package/lib/sts-token-types.d.ts +14 -17
- package/lib/sts-token-types.d.ts.map +1 -1
- package/lib/tools.d.ts +12 -13
- package/lib/tools.d.ts.map +1 -1
- package/lib/transient-tokens.d.ts +3 -3
- package/lib/transient-tokens.d.ts.map +1 -1
- package/lib/user.d.ts +17 -19
- package/lib/user.d.ts.map +1 -1
- package/lib/user.js.map +1 -1
- package/lib/vertesia-common.js +2 -2
- package/lib/vertesia-common.js.map +1 -1
- package/lib/views.d.ts +61 -64
- package/lib/views.d.ts.map +1 -1
- package/lib/views.js.map +1 -1
- package/lib/wire-types.generated.d.ts +11231 -0
- package/lib/wire-types.generated.d.ts.map +1 -0
- package/lib/wire-types.generated.js +4 -0
- package/lib/wire-types.generated.js.map +1 -0
- package/lib/workflow-analytics.d.ts +21 -19
- package/lib/workflow-analytics.d.ts.map +1 -1
- package/lib/workflow-analytics.js +2 -2
- package/lib/workflow-analytics.js.map +1 -1
- package/package.json +17 -12
- package/src/access-control-values.ts +2 -2
- package/src/access-control.ts +7 -15
- package/src/analytics.ts +6 -13
- package/src/api-contract/components.generated.json +4500 -2720
- package/src/api-schemas/access-control.ts +18 -16
- package/src/api-schemas/account.ts +13 -4
- package/src/api-schemas/agent-budget.ts +60 -0
- package/src/api-schemas/agent-runs.ts +63 -27
- package/src/api-schemas/apikey.ts +11 -10
- package/src/api-schemas/app-lifecycle.ts +16 -0
- package/src/api-schemas/app-runtime.ts +15 -0
- package/src/api-schemas/audit-trail.ts +7 -1
- package/src/api-schemas/content.ts +55 -0
- package/src/api-schemas/cost-analytics.ts +34 -2
- package/src/api-schemas/environment.ts +0 -1
- package/src/api-schemas/group.ts +2 -1
- package/src/api-schemas/index.ts +1 -0
- package/src/api-schemas/inference-profile.ts +151 -0
- package/src/api-schemas/interaction.ts +41 -1
- package/src/api-schemas/invites.ts +10 -9
- package/src/api-schemas/oauth-server.ts +36 -0
- package/src/api-schemas/process.ts +78 -2
- package/src/api-schemas/project-configuration.ts +25 -1
- package/src/api-schemas/project.ts +19 -10
- package/src/api-schemas/prompt.ts +1 -0
- package/src/api-schemas/quota.ts +7 -6
- package/src/api-schemas/registry.ts +210 -44
- package/src/api-schemas/run-budget.ts +60 -0
- package/src/api-schemas/store.ts +12 -0
- package/src/api-schemas/sts.ts +16 -0
- package/src/api-schemas/user.ts +32 -25
- package/src/api-schemas/workflow-runs.ts +2 -0
- package/src/apikey.ts +30 -39
- package/src/apps.ts +117 -237
- package/src/audit-trail.ts +18 -33
- package/src/browser-credentials.ts +11 -23
- package/src/common.ts +17 -37
- package/src/content-query.ts +3 -4
- package/src/cost-analytics.ts +13 -35
- package/src/data-platform.ts +79 -168
- package/src/delegation.ts +4 -9
- package/src/email.ts +15 -29
- package/src/embeddings.ts +25 -51
- package/src/environment.ts +16 -33
- package/src/facets.ts +3 -4
- package/src/group.ts +6 -13
- package/src/index.ts +36 -2
- package/src/inference-profile.ts +20 -0
- package/src/integrations.ts +21 -41
- package/src/interaction.ts +68 -137
- package/src/meters.ts +4 -9
- package/src/oauth-server.ts +43 -73
- package/src/oauth.ts +9 -19
- package/src/payload.ts +11 -25
- package/src/pending-asks.ts +8 -22
- package/src/platform-event.ts +48 -97
- package/src/principal-context.ts +24 -14
- package/src/project.ts +53 -86
- package/src/prompt.ts +14 -31
- package/src/query.ts +10 -20
- package/src/rate-limiter.ts +7 -19
- package/src/refs.ts +2 -3
- package/src/roles/types.ts +5 -11
- package/src/run-budget.ts +8 -0
- package/src/runs.ts +9 -19
- package/src/secrets.ts +20 -41
- package/src/store/agent-approval.ts +4 -9
- package/src/store/agent-run.ts +53 -99
- package/src/store/collections.ts +11 -23
- package/src/store/conversation-state.ts +15 -15
- package/src/store/doc-analyzer.ts +7 -15
- package/src/store/dsl-workflow.ts +10 -23
- package/src/store/duration.ts +45 -0
- package/src/store/grounded-extraction.ts +6 -13
- package/src/store/intake-policy-schema.generated.ts +314 -34
- package/src/store/process.ts +70 -140
- package/src/store/rendering.ts +6 -19
- package/src/store/signals.ts +48 -0
- package/src/store/store.ts +92 -181
- package/src/store/task.ts +10 -24
- package/src/store/workflow.ts +35 -71
- package/src/sts-token-types.ts +15 -29
- package/src/tools.ts +12 -25
- package/src/transient-tokens.ts +3 -3
- package/src/user.ts +18 -33
- package/src/views.ts +61 -125
- package/src/wire-types.generated.ts +11889 -0
- package/src/workflow-analytics.ts +21 -19
- package/src/agent-resources.test.ts +0 -89
- package/src/api-contract/components.contract.test.ts +0 -99
- package/src/api-schemas/access-control.contract.test.ts +0 -209
- package/src/api-schemas/account-apikey.test.ts +0 -60
- package/src/api-schemas/account.contract.test.ts +0 -319
- package/src/api-schemas/adapter-edge-cases.test.ts +0 -499
- package/src/api-schemas/agent-communication.contract.test.ts +0 -90
- package/src/api-schemas/agent-history.contract.test.ts +0 -42
- package/src/api-schemas/agent-runs.contract.test.ts +0 -240
- package/src/api-schemas/api-discriminators.test.ts +0 -185
- package/src/api-schemas/apikey.contract.test.ts +0 -270
- package/src/api-schemas/app-delete-summary.contract.test.ts +0 -67
- package/src/api-schemas/bulk-operation.contract.test.ts +0 -39
- package/src/api-schemas/bundle-isolation.test.ts +0 -44
- package/src/api-schemas/commands.contract.test.ts +0 -51
- package/src/api-schemas/cost-analytics.contract.test.ts +0 -64
- package/src/api-schemas/dashboard.contract.test.ts +0 -138
- package/src/api-schemas/data-store.contract.test.ts +0 -97
- package/src/api-schemas/document-processing.contract.test.ts +0 -76
- package/src/api-schemas/emit-json-schema.test.ts +0 -36
- package/src/api-schemas/environment.contract.test.ts +0 -202
- package/src/api-schemas/group.contract.test.ts +0 -205
- package/src/api-schemas/indexing.contract.test.ts +0 -122
- package/src/api-schemas/interaction.contract.test.ts +0 -307
- package/src/api-schemas/invites.contract.test.ts +0 -268
- package/src/api-schemas/llumiverse.contract.test.ts +0 -149
- package/src/api-schemas/mcp-api-key.contract.test.ts +0 -125
- package/src/api-schemas/oauth.contract.test.ts +0 -181
- package/src/api-schemas/parameters.test.ts +0 -402
- package/src/api-schemas/process.contract.test.ts +0 -115
- package/src/api-schemas/project.contract.test.ts +0 -457
- package/src/api-schemas/pruning-limits.test.ts +0 -189
- package/src/api-schemas/quota.contract.test.ts +0 -147
- package/src/api-schemas/registry-groups.test.ts +0 -91
- package/src/api-schemas/response-pruning.test.ts +0 -260
- package/src/api-schemas/store.contract.test.ts +0 -378
- package/src/api-schemas/sts.contract.test.ts +0 -112
- package/src/api-schemas/user.contract.test.ts +0 -191
- package/src/api-schemas/views.contract.test.ts +0 -119
- package/src/api-schemas/zeno-response-contracts.test.ts +0 -380
- package/src/apps.test.ts +0 -89
- package/src/oauth-scopes.test.ts +0 -15
- package/src/roles.test.ts +0 -33
- package/src/schema-for-extraction.test.ts +0 -191
- package/src/store/agent-approval.test.ts +0 -18
- package/src/store/content-type-editing.test.ts +0 -17
- package/src/store/ms.d.ts +0 -42
- package/src/store/schedule.test.ts +0 -59
- package/src/store/workflow.test.ts +0 -640
- package/src/versions.test.ts +0 -13
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
// They have no local `./*.ts` module because there is nothing local to declare.
|
|
4
4
|
import { AIModelArraySchema, AIModelSchema, AIModelStatusSchema, CompletionResultSchema, DataSourceSchema, EmbeddingOutputSchema, EmbeddingResultItemSchema, EmbeddingsResultSchema, EmbeddingsTokenUsageSchema, EmbeddingTaskTypeSchema, ExecutionTokenUsageSchema, HttpTimeoutOptionsSchema, ImageResultSchema, JSONObjectSchema, JSONSchemaSchema, JSONValueSchema, JsonResultSchema, ModalitiesSchema, ModelOptionsSchema, ModelSearchPayloadSchema, ModelTypeSchema, PromptRoleSchema, PromptSegmentSchema, StatelessExecutionOptionsSchema, TextResultSchema, ToolDefinitionSchema, ToolUseSchema, VideoResultSchema, } from '@llumiverse/common/schemas';
|
|
5
5
|
import { ACECreatePayloadSchema, ACEUpdatePayloadSchema, AccessControlEntryArraySchema, AccessControlEntrySchema, RoleDefinitionArraySchema, SystemRoleDefinitionArraySchema, } from './access-control.js';
|
|
6
|
-
import { AccountSchema, StripeBillingStatusResponseSchema, UpdateAccountPayloadSchema } from './account.js';
|
|
6
|
+
import { AccountApiVersionPolicySchema, AccountSchema, StripeBillingStatusResponseSchema, UpdateAccountPayloadSchema, } from './account.js';
|
|
7
7
|
import { toOpenApiComponents } from './adapter.js';
|
|
8
8
|
import * as AgentCommunicationSchemas from './agent-communication.js';
|
|
9
9
|
import * as AgentRunSchemas from './agent-runs.js';
|
|
10
10
|
import { AnalyticsAxisSchema, RunAnalyticsGroupBySchema, RunAnalyticsQuerySchema, RunAnalyticsResultArraySchema, RunAnalyticsResultSchema, TimeResolutionSchema, } from './analytics.js';
|
|
11
11
|
import { AccountApiKeyArraySchema, AccountApiKeySchema, AccountApiKeyWithValueSchema, ApiKeyArraySchema, ApiKeyListQuerySchema, ApiKeyReadQuerySchema, ApiKeyReadResponseSchema, ApiKeySchema, ApiKeyWithValueSchema, AuthTokenResponseSchema, CreateAccountApiKeyPayloadSchema, CreateApiKeyPayloadSchema, DeleteOperationResultSchema, ProjectRefArraySchema, UpdateAccountApiKeyPayloadSchema, UpdateApiKeyPayloadSchema, } from './apikey.js';
|
|
12
|
-
import { AgentRunSearchHitSchema, AgentRunStatusSchema, AgentRunTypeSchema, AgentToolApprovalClassSchema, AgentToolDefinitionSchema, AppApiKeyCollectionParamsSchema, AppBuildProgressSchema, AppBuildProgressStatusSchema, AppBuildTriggerSchema, AppDeleteSummarySchema, AppDevelopmentTaskDetailsSchema, AppDevelopmentTaskListSchema, AppDevelopmentTaskSchema, AppInspectionCapabilityReportSchema, AppInspectionIssueSchema, AppInspectionResultSchema, AppInstallationKindSchema, AppInstallationOAuthBindingSchema, AppInstallationPayloadSchema, AppInstallationProjectsQuerySchema, AppInstallationProviderBindingSchema, AppInstallationsQuerySchema, AppListScopeSchema, AppOAuthCollectionParamsSchema, AppOAuthProviderParamsSchema, AppPackageScopeSchema, AppRepoBranchSchema, AppRepoCommitSchema, AppRepoCommitsSchema, AppRepoDocumentCommitSchema, AppRepoRefSchema, AppRepoRefsSchema, AppRepoTreeEntrySchema, AppRepoTreeSchema, AppScaffoldModuleSchema, AppScaffoldProgressSchema, AppScaffoldProgressStatusSchema, AppsQuerySchema, AppToolCollectionArraySchema, AppToolCollectionSchema, AppVersionGitRefTypeSchema, AppVersionGitSourceSchema, AppVersionKindSchema, AppVersionRecordArraySchema, AppVersionRecordSchema, AppVersionStateSchema, AppVersionStorageSchema, AppVersionTargetSchema, AppVersionUrlsSchema, ContentObjectTypeRefSchema, ConversationActivityStateSchema, DeleteAppVersionResponseSchema, EventRefSchema, Extract_AppVersionGitRefType_branch_tag_commitSchema, InCodeTypeRefSchema, McpApiKeyCredentialSchema, OAuthClientCredentialsMapSchema, OAuthClientCredentialsSchema, RunKindSchema, RunTypeSchema, StartAppBuildRequestSchema, StartAppBuildResponseSchema, StartAppDevelopmentTaskRequestSchema, StartAppScaffoldRequestSchema, StartAppScaffoldResponseSchema, StoredTypeRefSchema, SystemPackageQuerySchema, UpdateAppInstallationToolAllowlistPayloadSchema, UpsertAppVersionRequestSchema, ValidateUrlRequestSchema, ValidateUrlResponseSchema, } from './app-lifecycle.js';
|
|
12
|
+
import { AgentRunSearchHitSchema, AgentRunStatusSchema, AgentRunTypeSchema, AgentToolApprovalClassSchema, AgentToolDefinitionSchema, AppApiKeyCollectionParamsSchema, AppBuildProgressSchema, AppBuildProgressStatusSchema, AppBuildTriggerSchema, AppDeleteSummarySchema, AppDevelopmentTaskDetailsSchema, AppDevelopmentTaskListSchema, AppDevelopmentTaskSchema, AppInspectionCapabilityReportSchema, AppInspectionIssueSchema, AppInspectionResultSchema, AppInstallationKindSchema, AppInstallationOAuthBindingSchema, AppInstallationPayloadSchema, AppInstallationProjectsQuerySchema, AppInstallationProviderBindingSchema, AppInstallationsQuerySchema, AppListScopeSchema, AppOAuthCollectionParamsSchema, AppOAuthProviderParamsSchema, AppPackageScopeSchema, AppRepoBranchSchema, AppRepoCommitSchema, AppRepoCommitsSchema, AppRepoDocumentCommitSchema, AppRepoRefSchema, AppRepoRefsSchema, AppRepoTreeEntrySchema, AppRepoTreeSchema, AppScaffoldModuleSchema, AppScaffoldProgressSchema, AppScaffoldProgressStatusSchema, AppsQuerySchema, AppToolCollectionArraySchema, AppToolCollectionSchema, AppVersionGitRefTypeSchema, AppVersionGitSourceSchema, AppVersionKindSchema, AppVersionRecordArraySchema, AppVersionRecordSchema, AppVersionStateSchema, AppVersionStorageSchema, AppVersionTargetSchema, AppVersionUrlsSchema, ContentObjectTypeRefSchema, ConversationActivityStateSchema, DeleteAppVersionResponseSchema, EventRefSchema, Extract_AppVersionGitRefType_branch_tag_commitSchema, InCodeTypeRefSchema, McpApiKeyCredentialSchema, OAuthClientCredentialsMapSchema, OAuthClientCredentialsSchema, RunKindSchema, RunTypeSchema, StartAppBuildRequestSchema, StartAppBuildResponseSchema, StartAppDevelopmentTaskRequestSchema, StartAppScaffoldRequestSchema, StartAppScaffoldResponseSchema, StoredTypeRefSchema, SystemPackageQuerySchema, UpdateAppInstallationOAuthApprovalPayloadSchema, UpdateAppInstallationToolAllowlistPayloadSchema, UpsertAppVersionRequestSchema, ValidateUrlRequestSchema, ValidateUrlResponseSchema, } from './app-lifecycle.js';
|
|
13
13
|
import * as AppRuntimeSchemas from './app-runtime.js';
|
|
14
14
|
import { AppAccessControlSchema, AppCapabilitiesSchema, AppManifestSourceSchema, AppSourceConfigSchema, AppUIConfigSchema, MCPToolAnnotationsSchema, McpApiKeyStatusSchema, McpOAuthConnectResponseSchema, McpOAuthDisconnectResponseSchema, McpOAuthTokenRequestSchema, McpOAuthTokenResponseSchema, OAuthAuthorizeResponseSchema, OAuthAuthStatusArraySchema, OAuthAuthStatusSchema, OAuthMetadataResponseSchema, SetMcpApiKeyRequestSchema, ToolCollectionObjectSchema, } from './apps.js';
|
|
15
15
|
import { AuditActionSchema, AuditAggregationDetailFieldSchema, AuditAggregationDetailFilterSchema, AuditAggregationDimensionMapSchema, AuditAggregationDimensionSchema, AuditAggregationDistinctFieldSchema, AuditAggregationFilterSchema, AuditAggregationGroupSchema, AuditAggregationMetricSchema, AuditAggregationOperationSchema, AuditAggregationQuerySchema, AuditAggregationResolutionSchema, AuditAggregationResponseSchema, AuditAggregationRowSchema, AuditMeterSchema, AuditTrailEventSchema, AuditTrailQuerySchema, AuditTrailResponseSchema, EventCategorySchema, KnownAuditActionSchema, } from './audit-trail.js';
|
|
@@ -29,16 +29,18 @@ import * as EventSchemas from './events.js';
|
|
|
29
29
|
import { BucketCreateAccessQuerySchema, BucketCreateAccessStatusResponseSchema, BucketReadAccessQuerySchema, BucketReadAccessStatusResponseSchema, BulkUploadUrlsPayloadSchema, BulkUploadUrlsResponseSchema, CopyFilePayloadSchema, CopyFileResponseSchema, DeleteFileResultSchema, EnsureBucketCreateAccessPayloadSchema, EnsureBucketCreateAccessResponseSchema, EnsureBucketReadAccessPayloadSchema, EnsureBucketReadAccessResponseSchema, FileBucketResponseSchema, FileDeleteQuerySchema, FileListQuerySchema, FileListResponseSchema, FileMetadataQuerySchema, FileMetadataResponseSchema, FileMetadataUpdateResultSchema, GetFileUrlPayloadSchema, GetFileUrlResponseSchema, GetUploadUrlPayloadSchema, SetFileMetadataPayloadSchema, StringValueMapSchema, } from './files.js';
|
|
30
30
|
import { CreateUserGroupPayloadSchema, ListUserGroupsQuerySchema, UpdateUserGroupPayloadSchema, UserGroupArraySchema, UserGroupRefSchema, UserGroupSchema, } from './group.js';
|
|
31
31
|
import { DriftAnalysisProgressSchema, DriftAnalysisResultSchema, DriftAnalysisStatusResponseSchema, IndexingStatusResponseSchema, ReindexAgentRunsPayloadSchema, ReindexAgentRunsResponseSchema, StartProjectReindexPayloadSchema, } from './indexing.js';
|
|
32
|
+
import { CreateInferenceProfilePayloadSchema, InferenceProfileIdSchema, InferenceProfileNameSchema, InferenceProfileRecordArraySchema, InferenceProfileRecordSchema, InferenceProfileSchema, InferenceProfileSnapshotSchema, InferenceProfileUsageEntrySchema, InferenceProfileUsageQuerySchema, InferenceProfileUsageSchema, InteractionConfigurationRecordSchema, InteractionConfigurationResultSchema, ProjectInferenceProfilesSchema, UpdateInferenceProfilePayloadSchema, UpdateInteractionConfigurationPayloadSchema, } from './inference-profile.js';
|
|
32
33
|
import * as IntegrationSchemas from './integrations.js';
|
|
33
34
|
import { AgentResourceActionSchema, AgentResourceReferenceSchema, AgentResourceTypeSchema, AgentRunnerOptionsSchema, AgentSearchScope_CollectionSchema, AgentSearchScopeSchema, AgentToolApprovalModeSchema, AsyncCompletionModeSchema, AsyncCompletionOptionsSchema, AsyncConversationExecutionPayloadSchema, AsyncExecutionPayloadSchema, AsyncExecutionResultSchema, AsyncInteractionExecutionPayloadSchema, CachePolicySchema, CatalogInteractionRefArraySchema, CatalogInteractionRefSchema, CatalogTagQuerySchema, ComputedFacetResponseSchema, ComputeInteractionFacetPayloadSchema, ComputeRunFacetPayloadSchema, ComputeRunFacetsResponseSchema, ConversationStateSchema, ConversationStripOptionsSchema, ConversationVisibilitySchema, EmailChannelSchema, ExecuteInteractionByEndpointHeadersSchema, ExecuteInteractionByEndpointQuerySchema, ExecutionResponseSchema, ExecutionRunDocRefSchema, ExecutionRunInteractionSchema, ExecutionRunRefArraySchema, ExecutionRunRefSchema, ExecutionRunSchema, ExecutionRunStatusSchema, ExecutionRunWorkflowSchema, ExportedPromptTemplateRefSchema, ExternalizedToolInputRefSchema, ExternalizedToolInputRefsSchema, FacetSpecSchema, FindRunResultArraySchema, FindRunResultSchema, GeneratedInteractionDefinitionArraySchema, GeneratedInteractionDefinitionSchema, GeneratedInteractionPromptSegmentSchema, GeneratedInteractionPromptTemplateSchema, GeneratedTestDataRecordArraySchema, GeneratedTestDataRecordSchema, GenerateInteractionPayloadSchema, GenerateTestDataPayloadSchema, ImprovePromptPayloadConfigSchema, ImprovePromptPayloadSchema, InCodeInteractionSchema, InCodePromptSchema, InitialToolCallSchema, InteractionArraySchema, InteractionCreatePayloadSchema, InteractionEndpointArraySchema, InteractionEndpointQuerySchema, InteractionEndpointSchema, InteractionExecutionErrorSchema, InteractionExecutionPayloadSchema, InteractionExecutionResultSchema, InteractionForkPayloadSchema, InteractionNameArraySchema, InteractionNameSchema, InteractionPromptSegmentInputSchema, InteractionPromptTemplateInputSchema, InteractionPublishPayloadSchema, InteractionRefArraySchema, InteractionRefSchema, InteractionRefWithSchemaArraySchema, InteractionRefWithSchemaSchema, InteractionSchema, InteractionSearchQuerySchema, InteractionStatusSchema, InteractionsExportPayloadSchema, InteractionTagsArraySchema, InteractionTagsSchema, InteractionUpdatePayloadSchema, InteractionVisibilitySchema, InteractiveChannelSchema, LegacyExecutionRunResultSchema, LegacyPopulatedExecutionRunResultSchema, LlmCallTypeSchema, ModelSourceSchema, NamedInteractionExecutionPayloadSchema, NumberValueMapSchema, PendingMcpConnectionSchema, PendingToolApprovalResultsSchema, PlanSchema, PlanTaskSchema, PopulatedExecutionRunResultSchema, PromptImprovementResponseSchema, PromptModalitiesSchema, PromptSegmentDefSchema, PromptSegmentDefTypeSchema, PromptSegmentRef_ExportedPromptTemplateRefSchema, PromptSegmentRef_PromptTemplateRefSchema, PromptStatusSchema, PromptTemplateCreatePayloadSchema, PromptTemplateRefSchema, PromptTemplateSchema, PromptTemplateUpdatePayloadSchema, RateLimitRequestPayloadSchema, RateLimitRequestResponseSchema, ResolvedCatalogInteractionSchema, ResolvedEnvironmentInfoSchema, ResolvedInteractionExecutionInfoSchema, ResolvedRuntimeConfigSchema, ResolveInteractionQuerySchema, ResultStorageOptionsSchema, RunClonePayloadSchema, RunCreatePayloadSchema, RunListQuerySchema, RunSearchMetaResponseSchema, RunSearchPayloadSchema, RunSearchQuerySchema, RunSourceSchema, RunSourceTypesSchema, SchemaRefSchema, SkillContextTriggersSchema, SortOptionSchema, SortOrderSchema, StoredCatalogInteractionsQuerySchema, StreamingOptionsSchema, StreamingTelemetryContextSchema, TemplateTypeSchema, TextArtifactReferenceSchema, ToolApprovalGrantMapSchema, ToolApprovalGrantSchema, ToolReferenceSchema, ToolResultMetaSchema, ToolResultSchema, ToolResultsPayloadSchema, UpdateExecutionRunPayloadSchema, UsedSkillSchema, UserChannelSchema, UserMessagePayloadSchema, WorkflowAncestorSchema, } from './interaction.js';
|
|
34
35
|
import { AccountProjectsResponseSchema, InviteAcceptanceResponseSchema, InviteDeclineResponseSchema, InviteUserRequestPayloadSchema, InviteUserResponsePayloadSchema, OnboardingProgressSchema, UserInviteTokenArraySchema, } from './invites.js';
|
|
35
36
|
import { CreateOAuthProviderPayloadSchema, OAuthProviderAccessTokenResponseSchema, OAuthProviderArraySchema, OAuthProviderAuthorizeResponseSchema, OAuthProviderAuthStatusSchema, OAuthProviderExchangePayloadSchema, OAuthProviderSchema, SuccessResponseSchema, UpdateOAuthProviderPayloadSchema, } from './oauth.js';
|
|
36
|
-
import { ApproveOAuthAuthorizationRequestPayloadSchema, BulkRevokeOAuthGrantsPayloadSchema, CreateOAuthAuthorizationRequestPayloadSchema, CreateOAuthClientPayloadSchema, ListOAuthGrantsQuerySchema, OAuthAuthorizationDecisionResponseSchema, OAuthAuthorizationRequestSchema, OAuthAuthorizationRequestStatusSchema, OAuthAuthorizationServerMetadataSchema, OAuthAuthorizeQuerySchema, OAuthClientArraySchema, OAuthClientCreateResponseSchema, OAuthClientDisplayMetadataSchema, OAuthClientRegistrationModeSchema, OAuthClientSchema, OAuthClientScopeMetadataSchema, OAuthClientStatusSchema, OAuthClientTypeSchema, OAuthDeviceAuthorizationRequestSchema, OAuthDeviceAuthorizationResponseSchema, OAuthGrantableScopesResponseSchema, OAuthGrantListResponseSchema, OAuthGrantRevokeResponseSchema, OAuthGrantSchema, OAuthGrantSortFieldSchema, OAuthGrantSortOrderSchema, OAuthGrantStatusSchema, OAuthGrantTypeSchema, OAuthProjectBindingModeSchema, OAuthRegistrationSourceSchema, OAuthResponseTypeSchema, OAuthTokenEndpointAuthMethodSchema, OAuthTokenResponseSchema, RevokeOAuthGrantQuerySchema, UpdateOAuthClientPayloadSchema, } from './oauth-server.js';
|
|
37
|
+
import { ApproveOAuthAuthorizationRequestPayloadSchema, BulkRevokeOAuthGrantsPayloadSchema, CreateOAuthAuthorizationRequestPayloadSchema, CreateOAuthClientPayloadSchema, ListOAuthGrantsQuerySchema, OAuthAuthorizationDecisionResponseSchema, OAuthAuthorizationRequestGeneratedAppSchema, OAuthAuthorizationRequestSchema, OAuthAuthorizationRequestStatusSchema, OAuthAuthorizationServerMetadataSchema, OAuthAuthorizeQuerySchema, OAuthClientArraySchema, OAuthClientCreateResponseSchema, OAuthClientDisplayMetadataSchema, OAuthClientRegistrationModeSchema, OAuthClientSchema, OAuthClientScopeMetadataSchema, OAuthClientStatusSchema, OAuthClientTypeSchema, OAuthDeviceAuthorizationRequestSchema, OAuthDeviceAuthorizationResponseSchema, OAuthGrantableScopesResponseSchema, OAuthGrantListResponseSchema, OAuthGrantRevokeResponseSchema, OAuthGrantSchema, OAuthGrantSortFieldSchema, OAuthGrantSortOrderSchema, OAuthGrantStatusSchema, OAuthGrantTypeSchema, OAuthLoginDecisionResponseSchema, OAuthLoginPayloadSchema, OAuthLoginUserNotFoundResponseSchema, OAuthProjectBindingModeSchema, OAuthRegistrationSourceSchema, OAuthResponseTypeSchema, OAuthTokenEndpointAuthMethodSchema, OAuthTokenResponseSchema, RevokeOAuthGrantQuerySchema, UpdateOAuthClientPayloadSchema, } from './oauth-server.js';
|
|
37
38
|
import * as ProcessSchemas from './process.js';
|
|
38
39
|
import { CountResultSchema, CreateProjectPayloadSchema, ListProjectsQuerySchema, ProjectIntegrationListResponseSchema, ProjectPluginsUpdatePayloadSchema, ProjectSchema, ProjectTagQuerySchema, ProjectToolInfoArraySchema, ProjectToolInfoSchema, RenderingTemplateDefinitionRefSchema, RenderingTemplateDefinitionSchema, UpdateProjectConfigurationPayloadSchema, UpdateProjectPayloadSchema, } from './project.js';
|
|
39
40
|
import { BrowserUseProjectConfigurationSchema, ProjectConfigurationEmbeddingSchema, ProjectConfigurationSchema, ProjectIndexingConfigurationSchema, ProjectIntakeConfigurationSchema, ProjectIntakeSniffConfigurationSchema, ProjectModelDefaultsSchema, ResourceVisibilitySchema, } from './project-configuration.js';
|
|
40
41
|
import { ComputePromptFacetPayloadSchema, PromptSearchQuerySchema, PromptTemplateForkPayloadSchema, PromptTemplateInteractionsResponseSchema, PromptTemplateInteractionUsageSchema, PromptTemplateInteractionVersionSchema, PromptTemplateRefArraySchema, RenderPromptPayloadSchema, RenderPromptResponseSchema, } from './prompt.js';
|
|
41
42
|
import { QuotaStandingResponseSchema, QuotaTierResponseSchema } from './quota.js';
|
|
43
|
+
import * as RunBudgetSchemas from './run-budget.js';
|
|
42
44
|
import * as SecretSchemas from './secrets.js';
|
|
43
45
|
import { ColumnLayoutSchema, ContentObjectTypeCatalogEntryArraySchema, ContentObjectTypeCatalogEntrySchema, ContentObjectTypeCatalogQuerySchema, ContentObjectTypeItemArraySchema, ContentObjectTypeItemSchema, ContentObjectTypeListQuerySchema, ContentObjectTypeSchema, ContentObjectTypeStatusSchema, ContentTypeEditingPolicySchema, ContentTypeIntakePolicySchema, CreateContentObjectTypePayloadSchema, InCodeTypeDefinitionSchema, InteractionExecutionConfigurationSchema, UpdateContentObjectTypePayloadSchema, } from './store.js';
|
|
44
46
|
import * as StsSchemas from './sts.js';
|
|
@@ -75,6 +77,7 @@ import * as WorkflowRunSchemas from './workflow-runs.js';
|
|
|
75
77
|
* group approaches the proven-safe size.
|
|
76
78
|
*/
|
|
77
79
|
const IAM_AND_ACCOUNT_SCHEMAS = {
|
|
80
|
+
AccountApiVersionPolicy: AccountApiVersionPolicySchema,
|
|
78
81
|
Account: AccountSchema,
|
|
79
82
|
UpdateAccountPayload: UpdateAccountPayloadSchema,
|
|
80
83
|
StripeBillingStatusResponse: StripeBillingStatusResponseSchema,
|
|
@@ -214,6 +217,10 @@ const OAUTH_SCHEMAS = {
|
|
|
214
217
|
OAuthAuthorizeQuery: OAuthAuthorizeQuerySchema,
|
|
215
218
|
CreateOAuthAuthorizationRequestPayload: CreateOAuthAuthorizationRequestPayloadSchema,
|
|
216
219
|
OAuthAuthorizationRequest: OAuthAuthorizationRequestSchema,
|
|
220
|
+
OAuthAuthorizationRequestGeneratedApp: OAuthAuthorizationRequestGeneratedAppSchema,
|
|
221
|
+
OAuthLoginPayload: OAuthLoginPayloadSchema,
|
|
222
|
+
OAuthLoginUserNotFoundResponse: OAuthLoginUserNotFoundResponseSchema,
|
|
223
|
+
OAuthLoginDecisionResponse: OAuthLoginDecisionResponseSchema,
|
|
217
224
|
ApproveOAuthAuthorizationRequestPayload: ApproveOAuthAuthorizationRequestPayloadSchema,
|
|
218
225
|
OAuthGrantableScopesResponse: OAuthGrantableScopesResponseSchema,
|
|
219
226
|
OAuthAuthorizationDecisionResponse: OAuthAuthorizationDecisionResponseSchema,
|
|
@@ -336,6 +343,21 @@ const LLM_COMPLETION_SCHEMAS = {
|
|
|
336
343
|
StatelessExecutionOptions: StatelessExecutionOptionsSchema,
|
|
337
344
|
};
|
|
338
345
|
const INTERACTION_SCHEMAS = {
|
|
346
|
+
UpdateInteractionConfigurationPayload: UpdateInteractionConfigurationPayloadSchema,
|
|
347
|
+
InteractionConfigurationRecord: InteractionConfigurationRecordSchema,
|
|
348
|
+
InteractionConfigurationResult: InteractionConfigurationResultSchema,
|
|
349
|
+
CreateInferenceProfilePayload: CreateInferenceProfilePayloadSchema,
|
|
350
|
+
UpdateInferenceProfilePayload: UpdateInferenceProfilePayloadSchema,
|
|
351
|
+
InferenceProfileRecord: InferenceProfileRecordSchema,
|
|
352
|
+
InferenceProfileUsage: InferenceProfileUsageSchema,
|
|
353
|
+
InferenceProfileUsageEntry: InferenceProfileUsageEntrySchema,
|
|
354
|
+
InferenceProfileUsageQuery: InferenceProfileUsageQuerySchema,
|
|
355
|
+
InferenceProfileRecordArray: InferenceProfileRecordArraySchema,
|
|
356
|
+
InferenceProfileId: InferenceProfileIdSchema,
|
|
357
|
+
InferenceProfileName: InferenceProfileNameSchema,
|
|
358
|
+
InferenceProfile: InferenceProfileSchema,
|
|
359
|
+
InferenceProfileSnapshot: InferenceProfileSnapshotSchema,
|
|
360
|
+
ProjectInferenceProfiles: ProjectInferenceProfilesSchema,
|
|
339
361
|
// The interaction definition and the prompt tree under it.
|
|
340
362
|
InteractionStatus: InteractionStatusSchema,
|
|
341
363
|
InteractionVisibility: InteractionVisibilitySchema,
|
|
@@ -468,6 +490,8 @@ const EXECUTION_RUN_SCHEMAS = {
|
|
|
468
490
|
RunSearchQuery: RunSearchQuerySchema,
|
|
469
491
|
RunListQuery: RunListQuerySchema,
|
|
470
492
|
RunSearchPayload: RunSearchPayloadSchema,
|
|
493
|
+
};
|
|
494
|
+
const EXECUTION_REQUEST_SCHEMAS = {
|
|
471
495
|
// Executing an interaction, synchronously or as a workflow.
|
|
472
496
|
InteractionExecutionPayload: InteractionExecutionPayloadSchema,
|
|
473
497
|
NamedInteractionExecutionPayload: NamedInteractionExecutionPayloadSchema,
|
|
@@ -543,6 +567,7 @@ const DURABLE_TASK_SCHEMAS = {
|
|
|
543
567
|
CompleteTaskPayload: CompleteTaskPayloadSchema,
|
|
544
568
|
ListTasksQuery: ListTasksQuerySchema,
|
|
545
569
|
};
|
|
570
|
+
// Keep declaration emit from expanding the nested content-type schemas.
|
|
546
571
|
const CONTENT_TYPE_CATALOG_SCHEMAS = {
|
|
547
572
|
ColumnLayout: ColumnLayoutSchema,
|
|
548
573
|
ContentTypeEditingPolicy: ContentTypeEditingPolicySchema,
|
|
@@ -901,6 +926,9 @@ const PROCESS_RUNTIME_SCHEMAS = {
|
|
|
901
926
|
AnswerProcessTaskPayload: ProcessSchemas.AnswerProcessTaskPayloadSchema,
|
|
902
927
|
AdvanceProcessPayload: ProcessSchemas.AdvanceProcessPayloadSchema,
|
|
903
928
|
ProcessState: ProcessSchemas.ProcessStateSchema,
|
|
929
|
+
ProcessTerminalReason: ProcessSchemas.ProcessTerminalReasonSchema,
|
|
930
|
+
ProcessBudgetState: ProcessSchemas.ProcessBudgetStateSchema,
|
|
931
|
+
ProcessBudgetSummary: ProcessSchemas.ProcessBudgetSummarySchema,
|
|
904
932
|
WorkflowExecutionStartResultArray: ProcessSchemas.WorkflowExecutionStartResultArraySchema,
|
|
905
933
|
RecordProcessRunPayload: ProcessSchemas.RecordProcessRunPayloadSchema,
|
|
906
934
|
ProcessTestRunStatus: ProcessSchemas.ProcessTestRunStatusSchema,
|
|
@@ -1017,6 +1045,7 @@ const AGENT_RUN_SCHEMAS = {
|
|
|
1017
1045
|
AgentRunArchiveState: AgentRunSchemas.AgentRunArchiveStateSchema,
|
|
1018
1046
|
ResourceRef: AgentRunSchemas.ResourceRefSchema,
|
|
1019
1047
|
SignalAgentResponse: AgentRunSchemas.SignalAgentResponseSchema,
|
|
1048
|
+
AllocateAgentRunBudgetPayload: AgentRunSchemas.AllocateAgentRunBudgetPayloadSchema,
|
|
1020
1049
|
AutonomousRunResponse: AgentRunSchemas.AutonomousRunResponseSchema,
|
|
1021
1050
|
AgentRun: AgentRunSchemas.AgentRunSchema,
|
|
1022
1051
|
CreateAgentRunPayload: AgentRunSchemas.CreateAgentRunPayloadSchema,
|
|
@@ -1047,16 +1076,16 @@ const AGENT_RUN_SCHEMAS = {
|
|
|
1047
1076
|
AgentRunFeedbackResponse: AgentRunSchemas.AgentRunFeedbackResponseSchema,
|
|
1048
1077
|
AgentRunFeedbackEntry: AgentRunSchemas.AgentRunFeedbackEntrySchema,
|
|
1049
1078
|
AgentRunEvaluationRollup: AgentRunSchemas.AgentRunEvaluationRollupSchema,
|
|
1050
|
-
|
|
1079
|
+
AgentRunLlmEvaluationResult: AgentRunSchemas.AgentRunLlmEvaluationResultSchema,
|
|
1051
1080
|
AgentRunContradictionReason: AgentRunSchemas.AgentRunContradictionReasonSchema,
|
|
1052
1081
|
AgentRunEvaluation: AgentRunSchemas.AgentRunEvaluationSchema,
|
|
1053
1082
|
TurnTerminalType: AgentRunSchemas.TurnTerminalTypeSchema,
|
|
1054
1083
|
EvaluationSeverity: AgentRunSchemas.EvaluationSeveritySchema,
|
|
1055
1084
|
TurnEvaluationFlag: AgentRunSchemas.TurnEvaluationFlagSchema,
|
|
1056
1085
|
ToolErrorClass: AgentRunSchemas.ToolErrorClassSchema,
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1086
|
+
EvaluationGateReason: AgentRunSchemas.EvaluationGateReasonSchema,
|
|
1087
|
+
EvaluationOutcome: AgentRunSchemas.EvaluationOutcomeSchema,
|
|
1088
|
+
EvaluationVerdict: AgentRunSchemas.EvaluationVerdictSchema,
|
|
1060
1089
|
ListAgentRunsEvaluationSeverity: AgentRunSchemas.ListAgentRunsEvaluationSeveritySchema,
|
|
1061
1090
|
AgentEvent: AgentRunSchemas.AgentEventSchema,
|
|
1062
1091
|
IngestAgentEventsPayload: AgentRunSchemas.IngestAgentEventsPayloadSchema,
|
|
@@ -1277,6 +1306,7 @@ const VIEW_EXPERIENCE_SCHEMAS = {
|
|
|
1277
1306
|
const APP_LIFECYCLE_SCHEMAS = {
|
|
1278
1307
|
// What an app does once it exists: versions, builds, scaffolds, git repositories,
|
|
1279
1308
|
// development tasks, installations and inspection.
|
|
1309
|
+
UpdateAppInstallationOAuthApprovalPayload: UpdateAppInstallationOAuthApprovalPayloadSchema,
|
|
1280
1310
|
UpdateAppInstallationToolAllowlistPayload: UpdateAppInstallationToolAllowlistPayloadSchema,
|
|
1281
1311
|
ValidateUrlResponse: ValidateUrlResponseSchema,
|
|
1282
1312
|
ValidateUrlRequest: ValidateUrlRequestSchema,
|
|
@@ -1468,6 +1498,8 @@ const STS_SCHEMAS = {
|
|
|
1468
1498
|
EnvironmentTokenRequest: StsSchemas.EnvironmentTokenRequestSchema,
|
|
1469
1499
|
AgentTokenRequest: StsSchemas.AgentTokenRequestSchema,
|
|
1470
1500
|
ServiceAccountTokenRequest: StsSchemas.ServiceAccountTokenRequestSchema,
|
|
1501
|
+
AppSessionTokenRequest: StsSchemas.AppSessionTokenRequestSchema,
|
|
1502
|
+
AppSessionTokenResponse: StsSchemas.AppSessionTokenResponseSchema,
|
|
1471
1503
|
IssueTokenRequest: StsSchemas.IssueTokenRequestSchema,
|
|
1472
1504
|
IssueTokenResponse: StsSchemas.IssueTokenResponseSchema,
|
|
1473
1505
|
IssueTokenForbiddenResponse: StsSchemas.IssueTokenForbiddenResponseSchema,
|
|
@@ -1502,7 +1534,16 @@ const DELEGATION_SCHEMAS = {
|
|
|
1502
1534
|
DelegationGrant: DelegationGrantSchema,
|
|
1503
1535
|
DelegationGrantArray: DelegationGrantArraySchema,
|
|
1504
1536
|
};
|
|
1537
|
+
const RUN_BUDGET_SCHEMAS = {
|
|
1538
|
+
RunBudgetOwner: RunBudgetSchemas.RunBudgetOwnerSchema,
|
|
1539
|
+
RunBudgetUsage: RunBudgetSchemas.RunBudgetUsageSchema,
|
|
1540
|
+
ReadRunBudgetUsagePayload: RunBudgetSchemas.ReadRunBudgetUsagePayloadSchema,
|
|
1541
|
+
RunBudgetTotals: RunBudgetSchemas.RunBudgetTotalsSchema,
|
|
1542
|
+
RunBudgetCapability: RunBudgetSchemas.RunBudgetCapabilitySchema,
|
|
1543
|
+
RunBudgetCapabilityQuery: RunBudgetSchemas.RunBudgetCapabilityQuerySchema,
|
|
1544
|
+
};
|
|
1505
1545
|
const API_SCHEMA_GROUPS = [
|
|
1546
|
+
RUN_BUDGET_SCHEMAS,
|
|
1506
1547
|
DELEGATION_SCHEMAS,
|
|
1507
1548
|
IAM_AND_ACCOUNT_SCHEMAS,
|
|
1508
1549
|
PROJECT_AND_APP_SCHEMAS,
|
|
@@ -1513,6 +1554,7 @@ const API_SCHEMA_GROUPS = [
|
|
|
1513
1554
|
INTERACTION_AUTHORING_SCHEMAS,
|
|
1514
1555
|
AGENT_CONVERSATION_SCHEMAS,
|
|
1515
1556
|
EXECUTION_RUN_SCHEMAS,
|
|
1557
|
+
EXECUTION_REQUEST_SCHEMAS,
|
|
1516
1558
|
PROMPT_AUTHORING_SCHEMAS,
|
|
1517
1559
|
PROJECT_TOOL_SCHEMAS,
|
|
1518
1560
|
REMOTE_MCP_SCHEMAS,
|
|
@@ -1569,6 +1611,15 @@ const API_SCHEMAS = mergeComponentGroups(API_SCHEMA_GROUPS);
|
|
|
1569
1611
|
* objects, so a body carrying an undeclared property is rejected rather than quietly accepted.
|
|
1570
1612
|
*/
|
|
1571
1613
|
const STRICT_COMPONENTS = new Set([
|
|
1614
|
+
'UpdateInteractionConfigurationPayload',
|
|
1615
|
+
'InteractionConfigurationRecord',
|
|
1616
|
+
'InteractionConfigurationResult',
|
|
1617
|
+
'CreateInferenceProfilePayload',
|
|
1618
|
+
'UpdateInferenceProfilePayload',
|
|
1619
|
+
'InferenceProfileRecord',
|
|
1620
|
+
'InferenceProfile',
|
|
1621
|
+
'InferenceProfileSnapshot',
|
|
1622
|
+
'ProjectInferenceProfiles',
|
|
1572
1623
|
'AccountApiKey',
|
|
1573
1624
|
'AccountApiKeyWithValue',
|
|
1574
1625
|
'CreateAccountApiKeyPayload',
|
|
@@ -1615,6 +1666,8 @@ const STRICT_COMPONENTS = new Set([
|
|
|
1615
1666
|
'EnvironmentTokenRequest',
|
|
1616
1667
|
'AgentTokenRequest',
|
|
1617
1668
|
'ServiceAccountTokenRequest',
|
|
1669
|
+
'AppSessionTokenRequest',
|
|
1670
|
+
'AppSessionTokenResponse',
|
|
1618
1671
|
'IssueTokenResponse',
|
|
1619
1672
|
'IssueTokenForbiddenResponse',
|
|
1620
1673
|
'IssueTokenUnavailableResponse',
|
|
@@ -1630,7 +1683,7 @@ const STRICT_COMPONENTS = new Set([
|
|
|
1630
1683
|
'QuotaStandingWindow',
|
|
1631
1684
|
'QuotaStandingAdmissionClass',
|
|
1632
1685
|
'QuotaTierResponse',
|
|
1633
|
-
// The IAM closure.
|
|
1686
|
+
// The IAM closure. AbacPrincipalContext is composed into PrincipalIdentity rather than hoisted,
|
|
1634
1687
|
// so it has no component of its own to list.
|
|
1635
1688
|
'User',
|
|
1636
1689
|
'UpdateUserPayload',
|
|
@@ -1726,6 +1779,8 @@ const STRICT_COMPONENTS = new Set([
|
|
|
1726
1779
|
// The agent configuration block under `ProjectConfiguration`, published closed on both sides.
|
|
1727
1780
|
'AgentProjectConfiguration',
|
|
1728
1781
|
'AgentCheckpointConfiguration',
|
|
1782
|
+
'AgentBudgetConfiguration',
|
|
1783
|
+
...Object.keys(RUN_BUDGET_SCHEMAS),
|
|
1729
1784
|
// Declared in @llumiverse/common beside the type, like the ModelOptions members above.
|
|
1730
1785
|
'HttpTimeoutOptions',
|
|
1731
1786
|
// The intake policy tree. Every object in it is published closed today, including the inline
|
|
@@ -1753,34 +1808,15 @@ const STRICT_COMPONENTS = new Set([
|
|
|
1753
1808
|
//
|
|
1754
1809
|
// `JSONSchema` is deliberately absent: it is OPEN by design and by long-standing publication —
|
|
1755
1810
|
// a JSON Schema carries keywords the type never enumerated. `JSONSchemaProperties` is a map.
|
|
1756
|
-
|
|
1757
|
-
'
|
|
1758
|
-
'
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
'BedrockNovaOptions',
|
|
1766
|
-
'BedrockMistralOptions',
|
|
1767
|
-
'BedrockAI21Options',
|
|
1768
|
-
'BedrockCohereCommandOptions',
|
|
1769
|
-
'BedrockClaudeOptions',
|
|
1770
|
-
'BedrockPalmyraOptions',
|
|
1771
|
-
'BedrockGptOssOptions',
|
|
1772
|
-
'TwelvelabsPegasusOptions',
|
|
1773
|
-
'BedrockMantleResponsesOptions',
|
|
1774
|
-
'BedrockMantleChatCompletionsOptions',
|
|
1775
|
-
'BedrockMantleClaudeOptions',
|
|
1776
|
-
'OpenAiThinkingOptions',
|
|
1777
|
-
'OpenAiTextOptions',
|
|
1778
|
-
'OpenRouterTextOptions',
|
|
1779
|
-
'OpenAiDalleOptions',
|
|
1780
|
-
'OpenAiGptImageOptions',
|
|
1781
|
-
'XAIGrokImageOptions',
|
|
1782
|
-
'GroqOptions',
|
|
1783
|
-
'MistralTextOptions',
|
|
1811
|
+
// Derive membership so new provider schemas inherit this enforcement check automatically.
|
|
1812
|
+
'OpenAiImageGenerationOptions',
|
|
1813
|
+
'OpenAiImageGenerationMask',
|
|
1814
|
+
...ModelOptionsSchema.options.map((schema) => {
|
|
1815
|
+
const id = schema.meta()?.id;
|
|
1816
|
+
if (!id)
|
|
1817
|
+
throw new Error('Model option schemas must declare a component id');
|
|
1818
|
+
return id;
|
|
1819
|
+
}),
|
|
1784
1820
|
// The app-manifest leaves. Every object among them is published closed today, the nested `git`
|
|
1785
1821
|
// block included, and it is spelled `strictObject` so the emission carries it directly. The five
|
|
1786
1822
|
// enums take no `additionalProperties` at all.
|
|
@@ -1981,7 +2017,7 @@ const STRICT_COMPONENTS = new Set([
|
|
|
1981
2017
|
'AgentRunFeedbackCounts',
|
|
1982
2018
|
'AgentRunFeedbackEntry',
|
|
1983
2019
|
'AgentRunEvaluationRollup',
|
|
1984
|
-
'
|
|
2020
|
+
'AgentRunLlmEvaluationResult',
|
|
1985
2021
|
'AgentRunEvaluation',
|
|
1986
2022
|
'StartContentObjectExportResponse',
|
|
1987
2023
|
'ExportContentObjectsIncludeOptions',
|
|
@@ -2021,6 +2057,8 @@ const STRICT_COMPONENTS = new Set([
|
|
|
2021
2057
|
'ContentObjectExportArtifactFile',
|
|
2022
2058
|
'ProcessRunConfig',
|
|
2023
2059
|
'ProcessHistoryRef',
|
|
2060
|
+
'ProcessBudgetState',
|
|
2061
|
+
'ProcessBudgetSummary',
|
|
2024
2062
|
'NodeHistoryEntry',
|
|
2025
2063
|
'ResourceRef',
|
|
2026
2064
|
'WorkflowRun',
|
|
@@ -2055,6 +2093,7 @@ const STRICT_COMPONENTS = new Set([
|
|
|
2055
2093
|
'WorkflowActionResponse',
|
|
2056
2094
|
'AnswerProcessTaskPayload',
|
|
2057
2095
|
'SignalAgentResponse',
|
|
2096
|
+
'AllocateAgentRunBudgetPayload',
|
|
2058
2097
|
'AdvanceProcessPayload',
|
|
2059
2098
|
'BranchDefinition',
|
|
2060
2099
|
'ParallelCollectDefinition',
|
|
@@ -2191,6 +2230,10 @@ const STRICT_COMPONENTS = new Set([
|
|
|
2191
2230
|
'OAuthAuthorizeQuery',
|
|
2192
2231
|
'CreateOAuthAuthorizationRequestPayload',
|
|
2193
2232
|
'OAuthAuthorizationRequest',
|
|
2233
|
+
'OAuthAuthorizationRequestGeneratedApp',
|
|
2234
|
+
'OAuthLoginPayload',
|
|
2235
|
+
'OAuthLoginUserNotFoundResponse',
|
|
2236
|
+
'OAuthLoginDecisionResponse',
|
|
2194
2237
|
'ApproveOAuthAuthorizationRequestPayload',
|
|
2195
2238
|
'OAuthGrantableScopesResponse',
|
|
2196
2239
|
'OAuthAuthorizationDecisionResponse',
|
|
@@ -2431,6 +2474,7 @@ const STRICT_COMPONENTS = new Set([
|
|
|
2431
2474
|
'AuditTrailQuery',
|
|
2432
2475
|
'ViewExperienceListQuery',
|
|
2433
2476
|
'UpdateAppInstallationToolAllowlistPayload',
|
|
2477
|
+
'UpdateAppInstallationOAuthApprovalPayload',
|
|
2434
2478
|
'ValidateUrlResponse',
|
|
2435
2479
|
'ValidateUrlRequest',
|
|
2436
2480
|
'AppVersionUrls',
|
|
@@ -2588,8 +2632,23 @@ const STRICT_COMPONENTS = new Set([
|
|
|
2588
2632
|
* divergence. Note that `.refine()` is silently DROPPED rather than rejected, so refinements must
|
|
2589
2633
|
* not be used to express contract rules — they would be invisible to both the spec and AJV.
|
|
2590
2634
|
*/
|
|
2635
|
+
function emitSchema(name, schema) {
|
|
2636
|
+
const emitted = emitJsonSchema(schema);
|
|
2637
|
+
const rootRef = emitted.$ref;
|
|
2638
|
+
const defs = emitted.$defs;
|
|
2639
|
+
const expectedRef = `#/$defs/${name}`;
|
|
2640
|
+
if (rootRef !== expectedRef || !defs || typeof defs !== 'object' || Array.isArray(defs))
|
|
2641
|
+
return emitted;
|
|
2642
|
+
const root = defs[name];
|
|
2643
|
+
if (!root || typeof root !== 'object' || Array.isArray(root))
|
|
2644
|
+
return emitted;
|
|
2645
|
+
const remainingDefs = Object.fromEntries(Object.entries(defs).filter(([id]) => id !== name));
|
|
2646
|
+
return Object.keys(remainingDefs).length === 0
|
|
2647
|
+
? root
|
|
2648
|
+
: { ...root, $defs: remainingDefs };
|
|
2649
|
+
}
|
|
2591
2650
|
function emitRawSchemas() {
|
|
2592
|
-
return Object.fromEntries(Object.entries(API_SCHEMAS).map(([name, schema]) => [name,
|
|
2651
|
+
return Object.fromEntries(Object.entries(API_SCHEMAS).map(([name, schema]) => [name, emitSchema(name, schema)]));
|
|
2593
2652
|
}
|
|
2594
2653
|
/**
|
|
2595
2654
|
* Converts the whole Zod registry into the canonical `components.schemas`.
|