@vertesia/common 1.5.0-dev.20260722.120446Z → 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 +116 -1121
- 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 -113
- 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 +116 -734
- package/lib/interaction.d.ts.map +1 -1
- package/lib/interaction.js +56 -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 +63 -342
- 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 +63 -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 -693
- package/lib/store/store.d.ts.map +1 -1
- package/lib/store/store.js +4 -443
- 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 +56 -516
- package/lib/store/workflow.d.ts.map +1 -1
- package/lib/store/workflow.js +28 -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 +14 -5
- package/src/access-control-values.ts +113 -0
- package/src/access-control.ts +33 -138
- package/src/account-values.ts +95 -0
- package/src/agent-resources.test.ts +100 -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 +249 -1179
- 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 -124
- 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 +231 -841
- 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 +106 -434
- package/src/store/collections.ts +21 -63
- package/src/store/content-type-editing.test.ts +17 -0
- package/src/store/conversation-state.ts +78 -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 -1182
- package/src/store/task.ts +25 -59
- package/src/store/workflow.ts +103 -554
- 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
|
@@ -0,0 +1,415 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
/**
|
|
3
|
+
* The contracts for Vertesia's OWN OAuth server: the clients registered against it and the grants
|
|
4
|
+
* their users have approved. Vertesia acting as a client of someone else's authorization server is
|
|
5
|
+
* `./oauth.js`.
|
|
6
|
+
*
|
|
7
|
+
* Only the three resources backed by the studio API have slots here. The token server's own surface
|
|
8
|
+
* — authorize, token, device code, consent — is still TypeScript-derived and has not been converted,
|
|
9
|
+
* so the types it uses stay declared in `../oauth-server.ts` rather than moving here.
|
|
10
|
+
*/
|
|
11
|
+
export declare const OAuthClientTypeSchema: z.ZodEnum<{
|
|
12
|
+
public: "public";
|
|
13
|
+
confidential: "confidential";
|
|
14
|
+
}>;
|
|
15
|
+
export declare const OAuthClientStatusSchema: z.ZodEnum<{
|
|
16
|
+
active: "active";
|
|
17
|
+
disabled: "disabled";
|
|
18
|
+
}>;
|
|
19
|
+
export declare const OAuthRegistrationSourceSchema: z.ZodEnum<{
|
|
20
|
+
admin: "admin";
|
|
21
|
+
dynamic: "dynamic";
|
|
22
|
+
}>;
|
|
23
|
+
export declare const OAuthProjectBindingModeSchema: z.ZodEnum<{
|
|
24
|
+
fixed: "fixed";
|
|
25
|
+
user_select: "user_select";
|
|
26
|
+
}>;
|
|
27
|
+
export declare const OAuthTokenEndpointAuthMethodSchema: z.ZodEnum<{
|
|
28
|
+
none: "none";
|
|
29
|
+
client_secret_post: "client_secret_post";
|
|
30
|
+
client_secret_basic: "client_secret_basic";
|
|
31
|
+
}>;
|
|
32
|
+
export declare const OAuthGrantTypeSchema: z.ZodEnum<{
|
|
33
|
+
authorization_code: "authorization_code";
|
|
34
|
+
refresh_token: "refresh_token";
|
|
35
|
+
"urn:ietf:params:oauth:grant-type:device_code": "urn:ietf:params:oauth:grant-type:device_code";
|
|
36
|
+
}>;
|
|
37
|
+
export declare const OAuthResponseTypeSchema: z.ZodLiteral<"code">;
|
|
38
|
+
export declare const OAuthGrantStatusSchema: z.ZodEnum<{
|
|
39
|
+
active: "active";
|
|
40
|
+
expired: "expired";
|
|
41
|
+
revoked: "revoked";
|
|
42
|
+
}>;
|
|
43
|
+
export declare const OAuthGrantSortFieldSchema: z.ZodEnum<{
|
|
44
|
+
resource: "resource";
|
|
45
|
+
expires_at: "expires_at";
|
|
46
|
+
status: "status";
|
|
47
|
+
granted_at: "granted_at";
|
|
48
|
+
client_name: "client_name";
|
|
49
|
+
user_name: "user_name";
|
|
50
|
+
last_used_at: "last_used_at";
|
|
51
|
+
}>;
|
|
52
|
+
export declare const OAuthGrantSortOrderSchema: z.ZodEnum<{
|
|
53
|
+
asc: "asc";
|
|
54
|
+
desc: "desc";
|
|
55
|
+
}>;
|
|
56
|
+
/**
|
|
57
|
+
* A client's registration, without its issued id.
|
|
58
|
+
*
|
|
59
|
+
* Split from {@link OAuthClientSchema} because `OAuthClient extends OAuthClientData` in the published
|
|
60
|
+
* types and both names are exported. No `id` in its meta, so it is never a component: the document
|
|
61
|
+
* publishes these properties inline under `OAuthClient`, with `client_id` last.
|
|
62
|
+
*/
|
|
63
|
+
export declare const OAuthClientDataSchema: z.ZodObject<{
|
|
64
|
+
client_name: z.ZodString;
|
|
65
|
+
client_type: z.ZodEnum<{
|
|
66
|
+
public: "public";
|
|
67
|
+
confidential: "confidential";
|
|
68
|
+
}>;
|
|
69
|
+
redirect_uris: z.ZodArray<z.ZodString>;
|
|
70
|
+
grant_types: z.ZodArray<z.ZodEnum<{
|
|
71
|
+
authorization_code: "authorization_code";
|
|
72
|
+
refresh_token: "refresh_token";
|
|
73
|
+
"urn:ietf:params:oauth:grant-type:device_code": "urn:ietf:params:oauth:grant-type:device_code";
|
|
74
|
+
}>>;
|
|
75
|
+
response_types: z.ZodArray<z.ZodLiteral<"code">>;
|
|
76
|
+
token_endpoint_auth_method: z.ZodEnum<{
|
|
77
|
+
none: "none";
|
|
78
|
+
client_secret_post: "client_secret_post";
|
|
79
|
+
client_secret_basic: "client_secret_basic";
|
|
80
|
+
}>;
|
|
81
|
+
allowed_scopes: z.ZodArray<z.ZodString>;
|
|
82
|
+
default_scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
83
|
+
registration_source: z.ZodEnum<{
|
|
84
|
+
admin: "admin";
|
|
85
|
+
dynamic: "dynamic";
|
|
86
|
+
}>;
|
|
87
|
+
status: z.ZodEnum<{
|
|
88
|
+
active: "active";
|
|
89
|
+
disabled: "disabled";
|
|
90
|
+
}>;
|
|
91
|
+
project_binding_mode: z.ZodEnum<{
|
|
92
|
+
fixed: "fixed";
|
|
93
|
+
user_select: "user_select";
|
|
94
|
+
}>;
|
|
95
|
+
fixed_project_id: z.ZodOptional<z.ZodString>;
|
|
96
|
+
restrict_to_owner_account: z.ZodOptional<z.ZodBoolean>;
|
|
97
|
+
metadata: z.ZodOptional<z.ZodObject<{}, z.core.$loose>>;
|
|
98
|
+
created_by: z.ZodOptional<z.ZodString>;
|
|
99
|
+
client_secret_configured: z.ZodOptional<z.ZodBoolean>;
|
|
100
|
+
created_at: z.ZodString;
|
|
101
|
+
updated_at: z.ZodString;
|
|
102
|
+
}, z.core.$strict>;
|
|
103
|
+
export declare const OAuthClientSchema: z.ZodObject<{
|
|
104
|
+
client_name: z.ZodString;
|
|
105
|
+
client_type: z.ZodEnum<{
|
|
106
|
+
public: "public";
|
|
107
|
+
confidential: "confidential";
|
|
108
|
+
}>;
|
|
109
|
+
redirect_uris: z.ZodArray<z.ZodString>;
|
|
110
|
+
grant_types: z.ZodArray<z.ZodEnum<{
|
|
111
|
+
authorization_code: "authorization_code";
|
|
112
|
+
refresh_token: "refresh_token";
|
|
113
|
+
"urn:ietf:params:oauth:grant-type:device_code": "urn:ietf:params:oauth:grant-type:device_code";
|
|
114
|
+
}>>;
|
|
115
|
+
response_types: z.ZodArray<z.ZodLiteral<"code">>;
|
|
116
|
+
token_endpoint_auth_method: z.ZodEnum<{
|
|
117
|
+
none: "none";
|
|
118
|
+
client_secret_post: "client_secret_post";
|
|
119
|
+
client_secret_basic: "client_secret_basic";
|
|
120
|
+
}>;
|
|
121
|
+
allowed_scopes: z.ZodArray<z.ZodString>;
|
|
122
|
+
default_scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
123
|
+
registration_source: z.ZodEnum<{
|
|
124
|
+
admin: "admin";
|
|
125
|
+
dynamic: "dynamic";
|
|
126
|
+
}>;
|
|
127
|
+
status: z.ZodEnum<{
|
|
128
|
+
active: "active";
|
|
129
|
+
disabled: "disabled";
|
|
130
|
+
}>;
|
|
131
|
+
project_binding_mode: z.ZodEnum<{
|
|
132
|
+
fixed: "fixed";
|
|
133
|
+
user_select: "user_select";
|
|
134
|
+
}>;
|
|
135
|
+
fixed_project_id: z.ZodOptional<z.ZodString>;
|
|
136
|
+
restrict_to_owner_account: z.ZodOptional<z.ZodBoolean>;
|
|
137
|
+
metadata: z.ZodOptional<z.ZodObject<{}, z.core.$loose>>;
|
|
138
|
+
created_by: z.ZodOptional<z.ZodString>;
|
|
139
|
+
client_secret_configured: z.ZodOptional<z.ZodBoolean>;
|
|
140
|
+
created_at: z.ZodString;
|
|
141
|
+
updated_at: z.ZodString;
|
|
142
|
+
client_id: z.ZodString;
|
|
143
|
+
}, z.core.$strict>;
|
|
144
|
+
export declare const OAuthClientArraySchema: z.ZodArray<z.ZodObject<{
|
|
145
|
+
client_name: z.ZodString;
|
|
146
|
+
client_type: z.ZodEnum<{
|
|
147
|
+
public: "public";
|
|
148
|
+
confidential: "confidential";
|
|
149
|
+
}>;
|
|
150
|
+
redirect_uris: z.ZodArray<z.ZodString>;
|
|
151
|
+
grant_types: z.ZodArray<z.ZodEnum<{
|
|
152
|
+
authorization_code: "authorization_code";
|
|
153
|
+
refresh_token: "refresh_token";
|
|
154
|
+
"urn:ietf:params:oauth:grant-type:device_code": "urn:ietf:params:oauth:grant-type:device_code";
|
|
155
|
+
}>>;
|
|
156
|
+
response_types: z.ZodArray<z.ZodLiteral<"code">>;
|
|
157
|
+
token_endpoint_auth_method: z.ZodEnum<{
|
|
158
|
+
none: "none";
|
|
159
|
+
client_secret_post: "client_secret_post";
|
|
160
|
+
client_secret_basic: "client_secret_basic";
|
|
161
|
+
}>;
|
|
162
|
+
allowed_scopes: z.ZodArray<z.ZodString>;
|
|
163
|
+
default_scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
164
|
+
registration_source: z.ZodEnum<{
|
|
165
|
+
admin: "admin";
|
|
166
|
+
dynamic: "dynamic";
|
|
167
|
+
}>;
|
|
168
|
+
status: z.ZodEnum<{
|
|
169
|
+
active: "active";
|
|
170
|
+
disabled: "disabled";
|
|
171
|
+
}>;
|
|
172
|
+
project_binding_mode: z.ZodEnum<{
|
|
173
|
+
fixed: "fixed";
|
|
174
|
+
user_select: "user_select";
|
|
175
|
+
}>;
|
|
176
|
+
fixed_project_id: z.ZodOptional<z.ZodString>;
|
|
177
|
+
restrict_to_owner_account: z.ZodOptional<z.ZodBoolean>;
|
|
178
|
+
metadata: z.ZodOptional<z.ZodObject<{}, z.core.$loose>>;
|
|
179
|
+
created_by: z.ZodOptional<z.ZodString>;
|
|
180
|
+
client_secret_configured: z.ZodOptional<z.ZodBoolean>;
|
|
181
|
+
created_at: z.ZodString;
|
|
182
|
+
updated_at: z.ZodString;
|
|
183
|
+
client_id: z.ZodString;
|
|
184
|
+
}, z.core.$strict>>;
|
|
185
|
+
/**
|
|
186
|
+
* The create response, which is the read shape plus the one field that is never readable again.
|
|
187
|
+
*
|
|
188
|
+
* `client_secret` is returned exactly once, by the call that generates it; every later read of the
|
|
189
|
+
* same client publishes `client_secret_configured` instead. Two components rather than one optional
|
|
190
|
+
* field on `OAuthClient` is what keeps that one-time disclosure visible in the document.
|
|
191
|
+
*/
|
|
192
|
+
export declare const OAuthClientCreateResponseSchema: z.ZodObject<{
|
|
193
|
+
client_name: z.ZodString;
|
|
194
|
+
client_type: z.ZodEnum<{
|
|
195
|
+
public: "public";
|
|
196
|
+
confidential: "confidential";
|
|
197
|
+
}>;
|
|
198
|
+
redirect_uris: z.ZodArray<z.ZodString>;
|
|
199
|
+
grant_types: z.ZodArray<z.ZodEnum<{
|
|
200
|
+
authorization_code: "authorization_code";
|
|
201
|
+
refresh_token: "refresh_token";
|
|
202
|
+
"urn:ietf:params:oauth:grant-type:device_code": "urn:ietf:params:oauth:grant-type:device_code";
|
|
203
|
+
}>>;
|
|
204
|
+
response_types: z.ZodArray<z.ZodLiteral<"code">>;
|
|
205
|
+
token_endpoint_auth_method: z.ZodEnum<{
|
|
206
|
+
none: "none";
|
|
207
|
+
client_secret_post: "client_secret_post";
|
|
208
|
+
client_secret_basic: "client_secret_basic";
|
|
209
|
+
}>;
|
|
210
|
+
allowed_scopes: z.ZodArray<z.ZodString>;
|
|
211
|
+
default_scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
212
|
+
registration_source: z.ZodEnum<{
|
|
213
|
+
admin: "admin";
|
|
214
|
+
dynamic: "dynamic";
|
|
215
|
+
}>;
|
|
216
|
+
status: z.ZodEnum<{
|
|
217
|
+
active: "active";
|
|
218
|
+
disabled: "disabled";
|
|
219
|
+
}>;
|
|
220
|
+
project_binding_mode: z.ZodEnum<{
|
|
221
|
+
fixed: "fixed";
|
|
222
|
+
user_select: "user_select";
|
|
223
|
+
}>;
|
|
224
|
+
fixed_project_id: z.ZodOptional<z.ZodString>;
|
|
225
|
+
restrict_to_owner_account: z.ZodOptional<z.ZodBoolean>;
|
|
226
|
+
metadata: z.ZodOptional<z.ZodObject<{}, z.core.$loose>>;
|
|
227
|
+
created_by: z.ZodOptional<z.ZodString>;
|
|
228
|
+
client_secret_configured: z.ZodOptional<z.ZodBoolean>;
|
|
229
|
+
created_at: z.ZodString;
|
|
230
|
+
updated_at: z.ZodString;
|
|
231
|
+
client_id: z.ZodString;
|
|
232
|
+
client_secret: z.ZodOptional<z.ZodString>;
|
|
233
|
+
}, z.core.$strict>;
|
|
234
|
+
export declare const OAuthClientScopeMetadataSchema: z.ZodObject<{
|
|
235
|
+
supported_scopes: z.ZodArray<z.ZodString>;
|
|
236
|
+
}, z.core.$strict>;
|
|
237
|
+
export declare const CreateOAuthClientPayloadSchema: z.ZodObject<{
|
|
238
|
+
client_name: z.ZodString;
|
|
239
|
+
client_type: z.ZodOptional<z.ZodEnum<{
|
|
240
|
+
public: "public";
|
|
241
|
+
confidential: "confidential";
|
|
242
|
+
}>>;
|
|
243
|
+
redirect_uris: z.ZodArray<z.ZodString>;
|
|
244
|
+
grant_types: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
245
|
+
authorization_code: "authorization_code";
|
|
246
|
+
refresh_token: "refresh_token";
|
|
247
|
+
"urn:ietf:params:oauth:grant-type:device_code": "urn:ietf:params:oauth:grant-type:device_code";
|
|
248
|
+
}>>>;
|
|
249
|
+
response_types: z.ZodOptional<z.ZodArray<z.ZodLiteral<"code">>>;
|
|
250
|
+
token_endpoint_auth_method: z.ZodOptional<z.ZodEnum<{
|
|
251
|
+
none: "none";
|
|
252
|
+
client_secret_post: "client_secret_post";
|
|
253
|
+
client_secret_basic: "client_secret_basic";
|
|
254
|
+
}>>;
|
|
255
|
+
allowed_scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
256
|
+
default_scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
257
|
+
project_binding_mode: z.ZodOptional<z.ZodEnum<{
|
|
258
|
+
fixed: "fixed";
|
|
259
|
+
user_select: "user_select";
|
|
260
|
+
}>>;
|
|
261
|
+
fixed_project_id: z.ZodOptional<z.ZodString>;
|
|
262
|
+
restrict_to_owner_account: z.ZodOptional<z.ZodBoolean>;
|
|
263
|
+
client_secret: z.ZodOptional<z.ZodString>;
|
|
264
|
+
metadata: z.ZodOptional<z.ZodObject<{}, z.core.$loose>>;
|
|
265
|
+
}, z.core.$strict>;
|
|
266
|
+
/**
|
|
267
|
+
* Not `.partial()` of the create payload, and the difference is deliberate rather than an oversight
|
|
268
|
+
* to tidy up: an update accepts `status`, which a create does not (a new client is always `active`),
|
|
269
|
+
* and cannot accept `client_type`, which is fixed at registration because the auth method and secret
|
|
270
|
+
* are decided from it. Deriving one from the other would publish both of those wrong.
|
|
271
|
+
*/
|
|
272
|
+
export declare const UpdateOAuthClientPayloadSchema: z.ZodObject<{
|
|
273
|
+
client_name: z.ZodOptional<z.ZodString>;
|
|
274
|
+
redirect_uris: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
275
|
+
grant_types: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
276
|
+
authorization_code: "authorization_code";
|
|
277
|
+
refresh_token: "refresh_token";
|
|
278
|
+
"urn:ietf:params:oauth:grant-type:device_code": "urn:ietf:params:oauth:grant-type:device_code";
|
|
279
|
+
}>>>;
|
|
280
|
+
response_types: z.ZodOptional<z.ZodArray<z.ZodLiteral<"code">>>;
|
|
281
|
+
token_endpoint_auth_method: z.ZodOptional<z.ZodEnum<{
|
|
282
|
+
none: "none";
|
|
283
|
+
client_secret_post: "client_secret_post";
|
|
284
|
+
client_secret_basic: "client_secret_basic";
|
|
285
|
+
}>>;
|
|
286
|
+
allowed_scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
287
|
+
default_scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
288
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
289
|
+
active: "active";
|
|
290
|
+
disabled: "disabled";
|
|
291
|
+
}>>;
|
|
292
|
+
project_binding_mode: z.ZodOptional<z.ZodEnum<{
|
|
293
|
+
fixed: "fixed";
|
|
294
|
+
user_select: "user_select";
|
|
295
|
+
}>>;
|
|
296
|
+
fixed_project_id: z.ZodOptional<z.ZodString>;
|
|
297
|
+
restrict_to_owner_account: z.ZodOptional<z.ZodBoolean>;
|
|
298
|
+
client_secret: z.ZodOptional<z.ZodString>;
|
|
299
|
+
metadata: z.ZodOptional<z.ZodObject<{}, z.core.$loose>>;
|
|
300
|
+
}, z.core.$strict>;
|
|
301
|
+
export declare const OAuthGrantSchema: z.ZodObject<{
|
|
302
|
+
grant_id: z.ZodString;
|
|
303
|
+
client_id: z.ZodString;
|
|
304
|
+
client_name: z.ZodString;
|
|
305
|
+
user_id: z.ZodString;
|
|
306
|
+
user_name: z.ZodOptional<z.ZodString>;
|
|
307
|
+
user_email: z.ZodOptional<z.ZodString>;
|
|
308
|
+
account_id: z.ZodString;
|
|
309
|
+
project_id: z.ZodString;
|
|
310
|
+
resource: z.ZodString;
|
|
311
|
+
scope: z.ZodArray<z.ZodString>;
|
|
312
|
+
status: z.ZodEnum<{
|
|
313
|
+
active: "active";
|
|
314
|
+
expired: "expired";
|
|
315
|
+
revoked: "revoked";
|
|
316
|
+
}>;
|
|
317
|
+
token_count: z.ZodNumber;
|
|
318
|
+
granted_at: z.ZodString;
|
|
319
|
+
created_at: z.ZodString;
|
|
320
|
+
last_used_at: z.ZodOptional<z.ZodString>;
|
|
321
|
+
expires_at: z.ZodOptional<z.ZodString>;
|
|
322
|
+
}, z.core.$strict>;
|
|
323
|
+
export declare const ListOAuthGrantsQuerySchema: z.ZodObject<{
|
|
324
|
+
account_id: z.ZodOptional<z.ZodString>;
|
|
325
|
+
project_id: z.ZodOptional<z.ZodString>;
|
|
326
|
+
user_id: z.ZodOptional<z.ZodString>;
|
|
327
|
+
client_id: z.ZodOptional<z.ZodString>;
|
|
328
|
+
resource: z.ZodOptional<z.ZodString>;
|
|
329
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
330
|
+
all: "all";
|
|
331
|
+
active: "active";
|
|
332
|
+
expired: "expired";
|
|
333
|
+
revoked: "revoked";
|
|
334
|
+
}>>;
|
|
335
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
336
|
+
offset: z.ZodOptional<z.ZodNumber>;
|
|
337
|
+
sort_by: z.ZodOptional<z.ZodEnum<{
|
|
338
|
+
resource: "resource";
|
|
339
|
+
expires_at: "expires_at";
|
|
340
|
+
status: "status";
|
|
341
|
+
granted_at: "granted_at";
|
|
342
|
+
client_name: "client_name";
|
|
343
|
+
user_name: "user_name";
|
|
344
|
+
last_used_at: "last_used_at";
|
|
345
|
+
}>>;
|
|
346
|
+
sort_order: z.ZodOptional<z.ZodEnum<{
|
|
347
|
+
asc: "asc";
|
|
348
|
+
desc: "desc";
|
|
349
|
+
}>>;
|
|
350
|
+
}, z.core.$strict>;
|
|
351
|
+
export declare const RevokeOAuthGrantQuerySchema: z.ZodObject<{
|
|
352
|
+
include_consent: z.ZodOptional<z.ZodBoolean>;
|
|
353
|
+
}, z.core.$strict>;
|
|
354
|
+
export declare const BulkRevokeOAuthGrantsPayloadSchema: z.ZodObject<{
|
|
355
|
+
grant_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
356
|
+
include_consent: z.ZodOptional<z.ZodBoolean>;
|
|
357
|
+
account_id: z.ZodOptional<z.ZodString>;
|
|
358
|
+
project_id: z.ZodOptional<z.ZodString>;
|
|
359
|
+
user_id: z.ZodOptional<z.ZodString>;
|
|
360
|
+
client_id: z.ZodOptional<z.ZodString>;
|
|
361
|
+
resource: z.ZodOptional<z.ZodString>;
|
|
362
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
363
|
+
all: "all";
|
|
364
|
+
active: "active";
|
|
365
|
+
expired: "expired";
|
|
366
|
+
revoked: "revoked";
|
|
367
|
+
}>>;
|
|
368
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
369
|
+
offset: z.ZodOptional<z.ZodNumber>;
|
|
370
|
+
sort_by: z.ZodOptional<z.ZodEnum<{
|
|
371
|
+
resource: "resource";
|
|
372
|
+
expires_at: "expires_at";
|
|
373
|
+
status: "status";
|
|
374
|
+
granted_at: "granted_at";
|
|
375
|
+
client_name: "client_name";
|
|
376
|
+
user_name: "user_name";
|
|
377
|
+
last_used_at: "last_used_at";
|
|
378
|
+
}>>;
|
|
379
|
+
sort_order: z.ZodOptional<z.ZodEnum<{
|
|
380
|
+
asc: "asc";
|
|
381
|
+
desc: "desc";
|
|
382
|
+
}>>;
|
|
383
|
+
}, z.core.$strict>;
|
|
384
|
+
export declare const OAuthGrantListResponseSchema: z.ZodObject<{
|
|
385
|
+
grants: z.ZodArray<z.ZodObject<{
|
|
386
|
+
grant_id: z.ZodString;
|
|
387
|
+
client_id: z.ZodString;
|
|
388
|
+
client_name: z.ZodString;
|
|
389
|
+
user_id: z.ZodString;
|
|
390
|
+
user_name: z.ZodOptional<z.ZodString>;
|
|
391
|
+
user_email: z.ZodOptional<z.ZodString>;
|
|
392
|
+
account_id: z.ZodString;
|
|
393
|
+
project_id: z.ZodString;
|
|
394
|
+
resource: z.ZodString;
|
|
395
|
+
scope: z.ZodArray<z.ZodString>;
|
|
396
|
+
status: z.ZodEnum<{
|
|
397
|
+
active: "active";
|
|
398
|
+
expired: "expired";
|
|
399
|
+
revoked: "revoked";
|
|
400
|
+
}>;
|
|
401
|
+
token_count: z.ZodNumber;
|
|
402
|
+
granted_at: z.ZodString;
|
|
403
|
+
created_at: z.ZodString;
|
|
404
|
+
last_used_at: z.ZodOptional<z.ZodString>;
|
|
405
|
+
expires_at: z.ZodOptional<z.ZodString>;
|
|
406
|
+
}, z.core.$strict>>;
|
|
407
|
+
total_count: z.ZodNumber;
|
|
408
|
+
limit: z.ZodNumber;
|
|
409
|
+
offset: z.ZodNumber;
|
|
410
|
+
}, z.core.$strict>;
|
|
411
|
+
export declare const OAuthGrantRevokeResponseSchema: z.ZodObject<{
|
|
412
|
+
revoked_tokens: z.ZodNumber;
|
|
413
|
+
revoked_consents: z.ZodNumber;
|
|
414
|
+
}, z.core.$strict>;
|
|
415
|
+
//# sourceMappingURL=oauth-server.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"oauth-server.d.ts","sourceRoot":"","sources":["../../src/api-schemas/oauth-server.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;;;;;GAQG;AAEH,eAAO,MAAM,qBAAqB;;;EAAqE,CAAC;AAExG,eAAO,MAAM,uBAAuB;;;EAAmE,CAAC;AAExG,eAAO,MAAM,6BAA6B;;;EAAuE,CAAC;AAElH,eAAO,MAAM,6BAA6B;;;EAA2E,CAAC;AAEtH,eAAO,MAAM,kCAAkC;;;;EAEE,CAAC;AAElD,eAAO,MAAM,oBAAoB;;;;EAEE,CAAC;AAEpC,eAAO,MAAM,uBAAuB,sBAAsD,CAAC;AAE3F,eAAO,MAAM,sBAAsB;;;;EAA4E,CAAC;AAEhH,eAAO,MAAM,yBAAyB;;;;;;;;EAEE,CAAC;AAEzC,eAAO,MAAM,yBAAyB;;;EAA8D,CAAC;AAErG;;;;;;GAMG;AACH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAyBhC,CAAC;AAEH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAEA,CAAC;AAE/B,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAA8D,CAAC;AAElG;;;;;;GAMG;AACH,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAEA,CAAC;AAE7C,eAAO,MAAM,8BAA8B;;kBAIE,CAAC;AAE9C,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAgBE,CAAC;AAE9C;;;;;GAKG;AACH,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAgBE,CAAC;AAE9C,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;kBAmBE,CAAC;AAgChC,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAA8E,CAAC;AAEtH,eAAO,MAAM,2BAA2B;;kBAIE,CAAC;AAE3C,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAME,CAAC;AAElD,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;kBAOE,CAAC;AAE5C,eAAO,MAAM,8BAA8B;;;kBAKE,CAAC"}
|
|
@@ -0,0 +1,193 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
/**
|
|
3
|
+
* The contracts for Vertesia's OWN OAuth server: the clients registered against it and the grants
|
|
4
|
+
* their users have approved. Vertesia acting as a client of someone else's authorization server is
|
|
5
|
+
* `./oauth.js`.
|
|
6
|
+
*
|
|
7
|
+
* Only the three resources backed by the studio API have slots here. The token server's own surface
|
|
8
|
+
* — authorize, token, device code, consent — is still TypeScript-derived and has not been converted,
|
|
9
|
+
* so the types it uses stay declared in `../oauth-server.ts` rather than moving here.
|
|
10
|
+
*/
|
|
11
|
+
export const OAuthClientTypeSchema = z.enum(['public', 'confidential']).meta({ id: 'OAuthClientType' });
|
|
12
|
+
export const OAuthClientStatusSchema = z.enum(['active', 'disabled']).meta({ id: 'OAuthClientStatus' });
|
|
13
|
+
export const OAuthRegistrationSourceSchema = z.enum(['admin', 'dynamic']).meta({ id: 'OAuthRegistrationSource' });
|
|
14
|
+
export const OAuthProjectBindingModeSchema = z.enum(['user_select', 'fixed']).meta({ id: 'OAuthProjectBindingMode' });
|
|
15
|
+
export const OAuthTokenEndpointAuthMethodSchema = z
|
|
16
|
+
.enum(['none', 'client_secret_post', 'client_secret_basic'])
|
|
17
|
+
.meta({ id: 'OAuthTokenEndpointAuthMethod' });
|
|
18
|
+
export const OAuthGrantTypeSchema = z
|
|
19
|
+
.enum(['authorization_code', 'refresh_token', 'urn:ietf:params:oauth:grant-type:device_code'])
|
|
20
|
+
.meta({ id: 'OAuthGrantType' });
|
|
21
|
+
export const OAuthResponseTypeSchema = z.literal('code').meta({ id: 'OAuthResponseType' });
|
|
22
|
+
export const OAuthGrantStatusSchema = z.enum(['active', 'revoked', 'expired']).meta({ id: 'OAuthGrantStatus' });
|
|
23
|
+
export const OAuthGrantSortFieldSchema = z
|
|
24
|
+
.enum(['granted_at', 'client_name', 'user_name', 'resource', 'last_used_at', 'expires_at', 'status'])
|
|
25
|
+
.meta({ id: 'OAuthGrantSortField' });
|
|
26
|
+
export const OAuthGrantSortOrderSchema = z.enum(['asc', 'desc']).meta({ id: 'OAuthGrantSortOrder' });
|
|
27
|
+
/**
|
|
28
|
+
* A client's registration, without its issued id.
|
|
29
|
+
*
|
|
30
|
+
* Split from {@link OAuthClientSchema} because `OAuthClient extends OAuthClientData` in the published
|
|
31
|
+
* types and both names are exported. No `id` in its meta, so it is never a component: the document
|
|
32
|
+
* publishes these properties inline under `OAuthClient`, with `client_id` last.
|
|
33
|
+
*/
|
|
34
|
+
export const OAuthClientDataSchema = z.strictObject({
|
|
35
|
+
client_name: z.string(),
|
|
36
|
+
client_type: OAuthClientTypeSchema,
|
|
37
|
+
redirect_uris: z.array(z.string()),
|
|
38
|
+
grant_types: z.array(OAuthGrantTypeSchema),
|
|
39
|
+
response_types: z.array(OAuthResponseTypeSchema),
|
|
40
|
+
token_endpoint_auth_method: OAuthTokenEndpointAuthMethodSchema,
|
|
41
|
+
allowed_scopes: z.array(z.string()),
|
|
42
|
+
default_scopes: z.array(z.string()).optional(),
|
|
43
|
+
registration_source: OAuthRegistrationSourceSchema,
|
|
44
|
+
status: OAuthClientStatusSchema,
|
|
45
|
+
project_binding_mode: OAuthProjectBindingModeSchema,
|
|
46
|
+
fixed_project_id: z.string().optional(),
|
|
47
|
+
restrict_to_owner_account: z
|
|
48
|
+
.boolean()
|
|
49
|
+
.meta({
|
|
50
|
+
description: 'When true (the default for new clients), the client may only be authorized for projects in its owning account/organization. Set to false to allow authorization for any project the approving user can access, regardless of account — required for OAuth/MCP clients used across organizations. The owning account itself is internal and not exposed here.',
|
|
51
|
+
})
|
|
52
|
+
.optional(),
|
|
53
|
+
metadata: z.looseObject({}).optional(),
|
|
54
|
+
created_by: z.string().optional(),
|
|
55
|
+
client_secret_configured: z.boolean().optional(),
|
|
56
|
+
created_at: z.string(),
|
|
57
|
+
updated_at: z.string(),
|
|
58
|
+
});
|
|
59
|
+
export const OAuthClientSchema = OAuthClientDataSchema.extend({
|
|
60
|
+
client_id: z.string(),
|
|
61
|
+
}).meta({ id: 'OAuthClient' });
|
|
62
|
+
export const OAuthClientArraySchema = z.array(OAuthClientSchema).meta({ id: 'OAuthClientArray' });
|
|
63
|
+
/**
|
|
64
|
+
* The create response, which is the read shape plus the one field that is never readable again.
|
|
65
|
+
*
|
|
66
|
+
* `client_secret` is returned exactly once, by the call that generates it; every later read of the
|
|
67
|
+
* same client publishes `client_secret_configured` instead. Two components rather than one optional
|
|
68
|
+
* field on `OAuthClient` is what keeps that one-time disclosure visible in the document.
|
|
69
|
+
*/
|
|
70
|
+
export const OAuthClientCreateResponseSchema = OAuthClientSchema.extend({
|
|
71
|
+
client_secret: z.string().optional(),
|
|
72
|
+
}).meta({ id: 'OAuthClientCreateResponse' });
|
|
73
|
+
export const OAuthClientScopeMetadataSchema = z
|
|
74
|
+
.strictObject({
|
|
75
|
+
supported_scopes: z.array(z.string()),
|
|
76
|
+
})
|
|
77
|
+
.meta({ id: 'OAuthClientScopeMetadata' });
|
|
78
|
+
export const CreateOAuthClientPayloadSchema = z
|
|
79
|
+
.strictObject({
|
|
80
|
+
client_name: z.string(),
|
|
81
|
+
client_type: OAuthClientTypeSchema.optional(),
|
|
82
|
+
redirect_uris: z.array(z.string()),
|
|
83
|
+
grant_types: z.array(OAuthGrantTypeSchema).optional(),
|
|
84
|
+
response_types: z.array(OAuthResponseTypeSchema).optional(),
|
|
85
|
+
token_endpoint_auth_method: OAuthTokenEndpointAuthMethodSchema.optional(),
|
|
86
|
+
allowed_scopes: z.array(z.string()).optional(),
|
|
87
|
+
default_scopes: z.array(z.string()).optional(),
|
|
88
|
+
project_binding_mode: OAuthProjectBindingModeSchema.optional(),
|
|
89
|
+
fixed_project_id: z.string().optional(),
|
|
90
|
+
restrict_to_owner_account: z.boolean().optional(),
|
|
91
|
+
client_secret: z.string().optional(),
|
|
92
|
+
metadata: z.looseObject({}).optional(),
|
|
93
|
+
})
|
|
94
|
+
.meta({ id: 'CreateOAuthClientPayload' });
|
|
95
|
+
/**
|
|
96
|
+
* Not `.partial()` of the create payload, and the difference is deliberate rather than an oversight
|
|
97
|
+
* to tidy up: an update accepts `status`, which a create does not (a new client is always `active`),
|
|
98
|
+
* and cannot accept `client_type`, which is fixed at registration because the auth method and secret
|
|
99
|
+
* are decided from it. Deriving one from the other would publish both of those wrong.
|
|
100
|
+
*/
|
|
101
|
+
export const UpdateOAuthClientPayloadSchema = z
|
|
102
|
+
.strictObject({
|
|
103
|
+
client_name: z.string().optional(),
|
|
104
|
+
redirect_uris: z.array(z.string()).optional(),
|
|
105
|
+
grant_types: z.array(OAuthGrantTypeSchema).optional(),
|
|
106
|
+
response_types: z.array(OAuthResponseTypeSchema).optional(),
|
|
107
|
+
token_endpoint_auth_method: OAuthTokenEndpointAuthMethodSchema.optional(),
|
|
108
|
+
allowed_scopes: z.array(z.string()).optional(),
|
|
109
|
+
default_scopes: z.array(z.string()).optional(),
|
|
110
|
+
status: OAuthClientStatusSchema.optional(),
|
|
111
|
+
project_binding_mode: OAuthProjectBindingModeSchema.optional(),
|
|
112
|
+
fixed_project_id: z.string().optional(),
|
|
113
|
+
restrict_to_owner_account: z.boolean().optional(),
|
|
114
|
+
client_secret: z.string().optional(),
|
|
115
|
+
metadata: z.looseObject({}).optional(),
|
|
116
|
+
})
|
|
117
|
+
.meta({ id: 'UpdateOAuthClientPayload' });
|
|
118
|
+
export const OAuthGrantSchema = z
|
|
119
|
+
.strictObject({
|
|
120
|
+
grant_id: z.string(),
|
|
121
|
+
client_id: z.string(),
|
|
122
|
+
client_name: z.string(),
|
|
123
|
+
user_id: z.string(),
|
|
124
|
+
user_name: z.string().optional(),
|
|
125
|
+
user_email: z.string().optional(),
|
|
126
|
+
account_id: z.string(),
|
|
127
|
+
project_id: z.string(),
|
|
128
|
+
resource: z.string(),
|
|
129
|
+
scope: z.array(z.string()),
|
|
130
|
+
status: OAuthGrantStatusSchema,
|
|
131
|
+
token_count: z.number(),
|
|
132
|
+
granted_at: z.string(),
|
|
133
|
+
created_at: z.string(),
|
|
134
|
+
last_used_at: z.string().optional(),
|
|
135
|
+
expires_at: z.string().optional(),
|
|
136
|
+
})
|
|
137
|
+
.meta({ id: 'OAuthGrant' });
|
|
138
|
+
/**
|
|
139
|
+
* What `?status=` accepts: every {@link OAuthGrantStatusSchema} member, plus `all` for "do not filter".
|
|
140
|
+
*
|
|
141
|
+
* Written out rather than composed from the status enum, because the two are published differently
|
|
142
|
+
* and have to be: a query parameter is expanded inline, so a union would reach the document as an
|
|
143
|
+
* `anyOf` of a `$ref` and a `const` — a shape no generator turns into a usable enum, and one this
|
|
144
|
+
* parameter has never had. `oauth-grant-status-filter.test.ts` pins the members to the status enum
|
|
145
|
+
* plus the sentinel so the two cannot drift apart silently.
|
|
146
|
+
*/
|
|
147
|
+
const OAuthGrantStatusFilterSchema = z.enum(['active', 'revoked', 'expired', 'all']);
|
|
148
|
+
/**
|
|
149
|
+
* The listing filters, shared with the bulk revoke body because `BulkRevokeOAuthGrantsPayload
|
|
150
|
+
* extends ListOAuthGrantsQuery` — selecting grants to revoke is selecting grants to list, and two
|
|
151
|
+
* copies of ten filters would be two chances for the selection to mean something different from the
|
|
152
|
+
* preview the caller looked at.
|
|
153
|
+
*/
|
|
154
|
+
const oauthGrantFilterFields = {
|
|
155
|
+
account_id: z.string().optional(),
|
|
156
|
+
project_id: z.string().optional(),
|
|
157
|
+
user_id: z.string().optional(),
|
|
158
|
+
client_id: z.string().optional(),
|
|
159
|
+
resource: z.string().optional(),
|
|
160
|
+
status: OAuthGrantStatusFilterSchema.optional(),
|
|
161
|
+
limit: z.number().optional(),
|
|
162
|
+
offset: z.number().optional(),
|
|
163
|
+
sort_by: OAuthGrantSortFieldSchema.optional(),
|
|
164
|
+
sort_order: OAuthGrantSortOrderSchema.optional(),
|
|
165
|
+
};
|
|
166
|
+
export const ListOAuthGrantsQuerySchema = z.strictObject(oauthGrantFilterFields).meta({ id: 'ListOAuthGrantsQuery' });
|
|
167
|
+
export const RevokeOAuthGrantQuerySchema = z
|
|
168
|
+
.strictObject({
|
|
169
|
+
include_consent: z.boolean().optional(),
|
|
170
|
+
})
|
|
171
|
+
.meta({ id: 'RevokeOAuthGrantQuery' });
|
|
172
|
+
export const BulkRevokeOAuthGrantsPayloadSchema = z
|
|
173
|
+
.strictObject({
|
|
174
|
+
...oauthGrantFilterFields,
|
|
175
|
+
grant_ids: z.array(z.string()).optional(),
|
|
176
|
+
include_consent: z.boolean().optional(),
|
|
177
|
+
})
|
|
178
|
+
.meta({ id: 'BulkRevokeOAuthGrantsPayload' });
|
|
179
|
+
export const OAuthGrantListResponseSchema = z
|
|
180
|
+
.strictObject({
|
|
181
|
+
grants: z.array(OAuthGrantSchema),
|
|
182
|
+
total_count: z.number(),
|
|
183
|
+
limit: z.number(),
|
|
184
|
+
offset: z.number(),
|
|
185
|
+
})
|
|
186
|
+
.meta({ id: 'OAuthGrantListResponse' });
|
|
187
|
+
export const OAuthGrantRevokeResponseSchema = z
|
|
188
|
+
.strictObject({
|
|
189
|
+
revoked_tokens: z.number(),
|
|
190
|
+
revoked_consents: z.number(),
|
|
191
|
+
})
|
|
192
|
+
.meta({ id: 'OAuthGrantRevokeResponse' });
|
|
193
|
+
//# sourceMappingURL=oauth-server.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"oauth-server.js","sourceRoot":"","sources":["../../src/api-schemas/oauth-server.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;;;;;GAQG;AAEH,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,cAAc,CAAC,CAAC,CAAC,IAAI,CAAC,EAAE,EAAE,EAAE,iBAAiB,EAAE,CAAC,CAAC;AAExG,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,UAAU,CAAC,CAAC,CAAC,IAAI,CAAC,EAAE,EAAE,EAAE,mBAAmB,EAAE,CAAC,CAAC;AAExG,MAAM,CAAC,MAAM,6BAA6B,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,EAAE,EAAE,EAAE,yBAAyB,EAAE,CAAC,CAAC;AAElH,MAAM,CAAC,MAAM,6BAA6B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