@opengeni/contracts 5.5.0 → 5.5.2-canary.40656248492001
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/agent-authored-durable-text.d.ts +9 -9
- package/dist/agent-config.d.ts +148 -37
- package/dist/api-key-presets.d.ts +19 -0
- package/dist/app-action-catalog-types.d.ts +32 -0
- package/dist/app-action-catalog.gen.d.ts +2 -0
- package/dist/app-actions.d.ts +91 -0
- package/dist/app-actions.js +10130 -0
- package/dist/app-actions.js.map +1 -0
- package/dist/app-shot.d.ts +55 -0
- package/dist/artifact-catalog.d.ts +33 -0
- package/dist/artifacts.d.ts +166 -0
- package/dist/atlassian-native-retirement.d.ts +16 -0
- package/dist/atlassian-native-retirement.js +30 -0
- package/dist/atlassian-native-retirement.js.map +1 -0
- package/dist/atlassian.js +48 -23
- package/dist/automation-templates.d.ts +434 -0
- package/dist/automation-templates.js +31 -0
- package/dist/automation-templates.js.map +1 -0
- package/dist/billing-subscriptions.d.ts +61 -0
- package/dist/bots.d.ts +583 -0
- package/dist/bundled-skills.d.ts +58 -2
- package/dist/canonical-human-identities.js +3 -1
- package/dist/child-lifecycle-notice-protocol.d.ts +45 -0
- package/dist/chunk-2QKIEAGY.js +396 -0
- package/dist/chunk-2QKIEAGY.js.map +1 -0
- package/dist/chunk-2WOWEWXV.js +426 -0
- package/dist/chunk-2WOWEWXV.js.map +1 -0
- package/dist/chunk-2ZIHHL72.js +153 -0
- package/dist/chunk-2ZIHHL72.js.map +1 -0
- package/dist/chunk-32U6NKQQ.js +389 -0
- package/dist/chunk-32U6NKQQ.js.map +1 -0
- package/dist/chunk-4YDDHSO2.js +799 -0
- package/dist/chunk-4YDDHSO2.js.map +1 -0
- package/dist/chunk-56SNIMDO.js +9 -0
- package/dist/chunk-56SNIMDO.js.map +1 -0
- package/dist/chunk-5RWB6QVL.js +101 -0
- package/dist/chunk-5RWB6QVL.js.map +1 -0
- package/dist/chunk-5UGUOT3L.js +243 -0
- package/dist/chunk-5UGUOT3L.js.map +1 -0
- package/dist/chunk-6LAT33BH.js +130 -0
- package/dist/chunk-6LAT33BH.js.map +1 -0
- package/dist/chunk-7272KVWZ.js +60 -0
- package/dist/chunk-7272KVWZ.js.map +1 -0
- package/dist/chunk-72QC2GTL.js +36 -0
- package/dist/chunk-72QC2GTL.js.map +1 -0
- package/dist/chunk-7EQGGZBY.js +105 -0
- package/dist/chunk-7EQGGZBY.js.map +1 -0
- package/dist/chunk-A3LXWVYU.js +382 -0
- package/dist/chunk-A3LXWVYU.js.map +1 -0
- package/dist/chunk-AQYDZUJV.js +34 -0
- package/dist/chunk-AQYDZUJV.js.map +1 -0
- package/dist/chunk-BHCEVVUP.js +93 -0
- package/dist/chunk-BHCEVVUP.js.map +1 -0
- package/dist/chunk-BMUTAZX5.js +486 -0
- package/dist/chunk-BMUTAZX5.js.map +1 -0
- package/dist/chunk-DGG6IBBK.js +150 -0
- package/dist/chunk-DGG6IBBK.js.map +1 -0
- package/dist/{chunk-YBW5JSA3.js → chunk-FBCTUMHI.js} +123 -102
- package/dist/chunk-FBCTUMHI.js.map +1 -0
- package/dist/chunk-G2KJTFIC.js +97 -0
- package/dist/chunk-G2KJTFIC.js.map +1 -0
- package/dist/chunk-G4RKARXZ.js +1167 -0
- package/dist/chunk-G4RKARXZ.js.map +1 -0
- package/dist/chunk-H6UJJIUM.js +350 -0
- package/dist/chunk-H6UJJIUM.js.map +1 -0
- package/dist/chunk-JOTHDW4H.js +18 -0
- package/dist/chunk-JOTHDW4H.js.map +1 -0
- package/dist/chunk-L4GUEP7K.js +56480 -0
- package/dist/chunk-L4GUEP7K.js.map +1 -0
- package/dist/{chunk-SIOU2K4U.js → chunk-LJH2EYGT.js} +23 -23
- package/dist/chunk-MTJKSIGA.js +161 -0
- package/dist/chunk-MTJKSIGA.js.map +1 -0
- package/dist/chunk-MYHMB6GZ.js +202 -0
- package/dist/chunk-MYHMB6GZ.js.map +1 -0
- package/dist/chunk-PI5VIKJY.js +660 -0
- package/dist/chunk-PI5VIKJY.js.map +1 -0
- package/dist/{chunk-RIY7GYQS.js → chunk-PTSROVDG.js} +2 -2
- package/dist/chunk-PUIUXIOL.js +189 -0
- package/dist/chunk-PUIUXIOL.js.map +1 -0
- package/dist/chunk-R6VXJIMB.js +19 -0
- package/dist/chunk-R6VXJIMB.js.map +1 -0
- package/dist/chunk-RLJUNVAM.js +15 -0
- package/dist/chunk-RLJUNVAM.js.map +1 -0
- package/dist/chunk-RR6APCBK.js +213 -0
- package/dist/chunk-RR6APCBK.js.map +1 -0
- package/dist/{chunk-TXTQIYCV.js → chunk-RUQ4I6DO.js} +59 -13
- package/dist/chunk-RUQ4I6DO.js.map +1 -0
- package/dist/{chunk-WYBDERIY.js → chunk-RWEEUDHD.js} +53 -42
- package/dist/chunk-RWEEUDHD.js.map +1 -0
- package/dist/chunk-S7MSQQL6.js +158 -0
- package/dist/chunk-S7MSQQL6.js.map +1 -0
- package/dist/{chunk-5Q54VCCH.js → chunk-SHO4YO4B.js} +20 -36
- package/dist/chunk-SHO4YO4B.js.map +1 -0
- package/dist/{chunk-HHZSZYYF.js → chunk-T3HSWMA5.js} +20 -4
- package/dist/chunk-T3HSWMA5.js.map +1 -0
- package/dist/{chunk-YRKRZ6OF.js → chunk-TOOJIBJC.js} +2 -2
- package/dist/chunk-UCUOTRS6.js +431 -0
- package/dist/chunk-UCUOTRS6.js.map +1 -0
- package/dist/chunk-UH4K7GP7.js +424 -0
- package/dist/chunk-UH4K7GP7.js.map +1 -0
- package/dist/chunk-UIZWGPHV.js +120 -0
- package/dist/chunk-UIZWGPHV.js.map +1 -0
- package/dist/chunk-VLUKBV6Y.js +1170 -0
- package/dist/chunk-VLUKBV6Y.js.map +1 -0
- package/dist/chunk-W2QQ5Y6K.js +55 -0
- package/dist/chunk-W2QQ5Y6K.js.map +1 -0
- package/dist/{chunk-Y3KNXVTD.js → chunk-W3NBPR4E.js} +131 -31
- package/dist/chunk-W3NBPR4E.js.map +1 -0
- package/dist/{chunk-NRMCVHAU.js → chunk-WMGO4HJU.js} +11 -9
- package/dist/chunk-WMGO4HJU.js.map +1 -0
- package/dist/{chunk-MYBZRDTY.js → chunk-WQI7VNN4.js} +19 -9
- package/dist/chunk-WQI7VNN4.js.map +1 -0
- package/dist/{chunk-PX3VCKAU.js → chunk-WVCFSOUZ.js} +1 -1
- package/dist/{chunk-PX3VCKAU.js.map → chunk-WVCFSOUZ.js.map} +1 -1
- package/dist/chunk-XB6GQLBH.js +76 -0
- package/dist/chunk-XB6GQLBH.js.map +1 -0
- package/dist/{chunk-D2HKF2EF.js → chunk-XP5M3IKT.js} +2 -2
- package/dist/{chunk-O77VSFYZ.js → chunk-ZMPU5BWE.js} +12 -2
- package/dist/chunk-ZMPU5BWE.js.map +1 -0
- package/dist/{chunk-3SIZGL3O.js → chunk-ZYVEJFNU.js} +22 -18
- package/dist/chunk-ZYVEJFNU.js.map +1 -0
- package/dist/claude-provider-account-authority.d.ts +18 -0
- package/dist/claude-subscription-oauth.d.ts +25 -0
- package/dist/claude-subscription-usage.d.ts +95 -1
- package/dist/client-error-report.d.ts +154 -8
- package/dist/client-error-report.js +157 -2
- package/dist/client-error-report.js.map +1 -1
- package/dist/code-search.d.ts +1 -1
- package/dist/code-search.js.map +1 -1
- package/dist/codex-provider-account-authority.js +23 -12
- package/dist/codex-provider-account-authority.js.map +1 -1
- package/dist/company-profile.d.ts +144 -0
- package/dist/connect.d.ts +38 -0
- package/dist/connect.js +244 -164
- package/dist/connect.js.map +1 -1
- package/dist/connection-account-label.d.ts +2 -0
- package/dist/connection-account-label.js +34 -0
- package/dist/connection-account-label.js.map +1 -0
- package/dist/connection-authority.js +49 -24
- package/dist/connector-attachments.js +3 -1
- package/dist/connector-destinations.js +3 -1
- package/dist/connector-tool-permissions.d.ts +68 -4
- package/dist/credential-profiles.d.ts +166 -0
- package/dist/cua-desktop-tools.d.ts +19 -0
- package/dist/define-schema.d.ts +8 -0
- package/dist/desktop-app.d.ts +28 -0
- package/dist/direct-model-provider.d.ts +38 -0
- package/dist/document-artifact-commands.js +2 -2
- package/dist/document-artifact-query.js +2 -2
- package/dist/editable-artifact-binary.d.ts +7 -0
- package/dist/editable-artifact-causal-frontier.js +2 -2
- package/dist/editable-artifact-codec-registry.js +7 -7
- package/dist/editable-artifact-committed-transaction.js +4 -2
- package/dist/editable-artifact-live.js +8 -8
- package/dist/editable-artifact-serialized-commit.js +9 -9
- package/dist/editable-artifact-versions.d.ts +7 -1
- package/dist/editable-artifact-versions.js +1 -1
- package/dist/editable-artifacts.js +49 -43
- package/dist/event-preview.d.ts +22 -0
- package/dist/event-triggers.d.ts +1253 -0
- package/dist/event-triggers.js +148 -0
- package/dist/event-triggers.js.map +1 -0
- package/dist/external-identities.d.ts +34 -0
- package/dist/external-identities.js +4 -2
- package/dist/feedback.d.ts +181 -0
- package/dist/file-access.d.ts +23 -0
- package/dist/first-party-tool-authorization.d.ts +852 -0
- package/dist/github-repository-contracts.js +64 -43
- package/dist/github-repository-contracts.js.map +1 -1
- package/dist/google-drive-native-retirement.d.ts +12 -0
- package/dist/google-drive-native-retirement.js +20 -0
- package/dist/google-drive-native-retirement.js.map +1 -0
- package/dist/google-drive.d.ts +1 -1
- package/dist/google-drive.js +323 -239
- package/dist/google-drive.js.map +1 -1
- package/dist/host-mcp-bindings.js +250 -198
- package/dist/host-mcp-bindings.js.map +1 -1
- package/dist/index.d.ts +29072 -20593
- package/dist/index.js +2432 -366
- package/dist/inference-residency.d.ts +22 -0
- package/dist/insights-usage.d.ts +948 -0
- package/dist/insights-usage.js +608 -0
- package/dist/insights-usage.js.map +1 -0
- package/dist/integration-capability-id.d.ts +8 -0
- package/dist/interaction-action-deadline.d.ts +48 -0
- package/dist/interaction-driver-diagnostic.d.ts +28 -0
- package/dist/interaction.d.ts +2126 -881
- package/dist/knowledge-entries.d.ts +38 -0
- package/dist/knowledge-preparation.d.ts +4 -0
- package/dist/learning-refusal.d.ts +43 -0
- package/dist/learning-refusal.js +49 -0
- package/dist/learning-refusal.js.map +1 -0
- package/dist/managed-auth-session-sets.d.ts +1 -0
- package/dist/managed-auth-session-sets.js +207 -146
- package/dist/managed-auth-session-sets.js.map +1 -1
- package/dist/managed-sign-in-methods.d.ts +96 -0
- package/dist/managed-sign-in-methods.js +157 -35
- package/dist/managed-sign-in-methods.js.map +1 -1
- package/dist/mcp-structured-content.d.ts +25 -0
- package/dist/message-time-zone.d.ts +38 -0
- package/dist/message-time-zone.js +19 -0
- package/dist/message-time-zone.js.map +1 -0
- package/dist/modal-native-proof-v2.d.ts +587 -0
- package/dist/modal-native-proof-v2.js +39 -0
- package/dist/modal-native-proof-v2.js.map +1 -0
- package/dist/model-account-choice.d.ts +237 -0
- package/dist/model-account-settings.d.ts +422 -0
- package/dist/model-availability.d.ts +15 -0
- package/dist/model-connection-access.d.ts +13 -0
- package/dist/model-context-inspector.d.ts +8 -0
- package/dist/model-display.d.ts +43 -0
- package/dist/model-display.js +17 -0
- package/dist/model-display.js.map +1 -0
- package/dist/model-picker-order.js.map +1 -1
- package/dist/model-residency.d.ts +304 -0
- package/dist/organization-access.d.ts +416 -0
- package/dist/organization-access.js +40 -0
- package/dist/organization-access.js.map +1 -0
- package/dist/organization-integration-policy.d.ts +18 -0
- package/dist/organization-membership-lifecycle.d.ts +66 -0
- package/dist/organization-model-usage.d.ts +146 -0
- package/dist/organization-model-usage.js +87 -0
- package/dist/organization-model-usage.js.map +1 -0
- package/dist/organization-recovery.js +3 -1
- package/dist/organization-usage.d.ts +12 -0
- package/dist/passkey-only-account.d.ts +14 -0
- package/dist/passkey-only-account.js +13 -0
- package/dist/passkey-only-account.js.map +1 -0
- package/dist/permissions.d.ts +19 -0
- package/dist/personal-github.js +220 -148
- package/dist/personal-github.js.map +1 -1
- package/dist/personal-integration-setup.d.ts +81 -0
- package/dist/personal-integration-setup.js +42 -0
- package/dist/personal-integration-setup.js.map +1 -0
- package/dist/prepared-mcp-setup.d.ts +54 -0
- package/dist/prepared-mcp-setup.js +13 -0
- package/dist/prepared-mcp-setup.js.map +1 -0
- package/dist/presentation-artifact-commands.js +2 -2
- package/dist/presentation-artifact-query.js +2 -2
- package/dist/primitives.d.ts +18 -0
- package/dist/product-analytics.d.ts +27 -10
- package/dist/product-lifecycle-facts.d.ts +26 -3
- package/dist/prompt-cache-diagnostics.d.ts +92 -0
- package/dist/recordings.d.ts +1371 -0
- package/dist/remember.d.ts +98 -2
- package/dist/retained-output.d.ts +4 -2
- package/dist/sandbox-file-artifacts.d.ts +19 -2
- package/dist/sandbox-provider-command.d.ts +5 -44
- package/dist/sandbox-recovery.d.ts +139 -8
- package/dist/secret-generator.d.ts +44 -0
- package/dist/secret-mask-strings.d.ts +32 -0
- package/dist/secret-references.d.ts +90 -0
- package/dist/secret-resolution.d.ts +143 -0
- package/dist/secret-shape-masking.d.ts +52 -0
- package/dist/secret-shape-masking.js +19 -0
- package/dist/secret-shape-masking.js.map +1 -0
- package/dist/secret-totp.d.ts +41 -0
- package/dist/secret-use-approval-question.d.ts +11 -0
- package/dist/secret-use-approval-question.js +11 -0
- package/dist/secret-use-approval-question.js.map +1 -0
- package/dist/secret-use-approvals.d.ts +106 -0
- package/dist/secret-value-masking.d.ts +299 -0
- package/dist/secret-value-masking.js +62 -0
- package/dist/secret-value-masking.js.map +1 -0
- package/dist/secret-value.d.ts +19 -0
- package/dist/session-history-import.d.ts +444 -8
- package/dist/session-history.d.ts +111 -0
- package/dist/session-history.js +35 -0
- package/dist/session-history.js.map +1 -0
- package/dist/session-list-entries.d.ts +8 -0
- package/dist/session-list-entries.js +61 -0
- package/dist/session-list-entries.js.map +1 -0
- package/dist/session-mcp-projections.d.ts +13 -1
- package/dist/session-mcp-tool-permissions.d.ts +62 -0
- package/dist/session-target.d.ts +18 -0
- package/dist/session-titles.d.ts +8 -0
- package/dist/session-titles.js +5 -1
- package/dist/session-usage-limit-refusal.d.ts +34 -0
- package/dist/session-usage-limit-refusal.js +15 -0
- package/dist/session-usage-limit-refusal.js.map +1 -0
- package/dist/session-usage-limits.d.ts +127 -0
- package/dist/session-usage-limits.js +43 -0
- package/dist/session-usage-limits.js.map +1 -0
- package/dist/site-data.d.ts +286 -0
- package/dist/site-operations.d.ts +39 -0
- package/dist/site-publishing.d.ts +813 -0
- package/dist/site-session-http.d.ts +103 -4
- package/dist/site-session-http.js +27 -1
- package/dist/site-sql.d.ts +425 -0
- package/dist/skills.d.ts +38 -0
- package/dist/slack-bot-scopes.d.ts +9 -7
- package/dist/slack-bot-scopes.js +6 -3
- package/dist/slack-rest-mcp.d.ts +36 -0
- package/dist/slack-rest-mcp.js +25 -0
- package/dist/slack-rest-mcp.js.map +1 -0
- package/dist/spreadsheet-artifact-commands.d.ts +14 -1
- package/dist/spreadsheet-artifact-commands.js +9 -2
- package/dist/spreadsheet-artifact-query.d.ts +13 -6
- package/dist/spreadsheet-artifact-query.js +4 -3
- package/dist/subscription-account-actions.d.ts +83 -0
- package/dist/subscription-account-pools.d.ts +326 -0
- package/dist/subscription-personal-authority-v2.d.ts +28 -0
- package/dist/subscription-personal-authority-v2.js +13 -0
- package/dist/subscription-personal-authority-v2.js.map +1 -0
- package/dist/subscription-plans.d.ts +38 -0
- package/dist/subscription-usage-pool.d.ts +89 -0
- package/dist/tool-action-review.d.ts +141 -0
- package/dist/tool-catalog.d.ts +479 -0
- package/dist/tool-policy.d.ts +5 -0
- package/dist/tool-review-presentation.d.ts +29 -0
- package/dist/tool-review-presentation.js +21 -0
- package/dist/tool-review-presentation.js.map +1 -0
- package/dist/turn-serving-policy.d.ts +223 -0
- package/dist/usage-allowances.d.ts +30 -0
- package/dist/usage-allowances.js +5 -1
- package/dist/values.d.ts +11 -0
- package/dist/values.js +19 -0
- package/dist/values.js.map +1 -0
- package/dist/vault-provider-wire.d.ts +907 -0
- package/dist/vault-provider-wire.js +74 -0
- package/dist/vault-provider-wire.js.map +1 -0
- package/dist/vaults.d.ts +2185 -0
- package/dist/video-generation.d.ts +75 -0
- package/dist/video-generation.js +8 -1
- package/dist/workspace-control-event.d.ts +18 -0
- package/dist/workspace-control-event.js +18 -0
- package/dist/workspace-control-event.js.map +1 -0
- package/dist/workspace-governance-context.d.ts +18 -0
- package/dist/workspace-integration-wire.d.ts +1 -1
- package/dist/workspace-integration-wire.js +1 -1
- package/dist/workspace-integrations.d.ts +212 -12
- package/dist/xai-provider-account-authority.js +3 -1
- package/package.json +121 -4
- package/src/agent-authored-durable-text.ts +14 -11
- package/src/agent-config.ts +382 -203
- package/src/agent-instruction-changes.ts +94 -74
- package/src/agent-learning.ts +94 -66
- package/src/agent-topology.ts +58 -52
- package/src/api-key-presets.ts +28 -0
- package/src/app-action-catalog-types.ts +32 -0
- package/src/app-action-catalog.gen.ts +9905 -0
- package/src/app-actions.ts +365 -0
- package/src/app-shot.ts +176 -0
- package/src/artifact-catalog.ts +81 -46
- package/src/artifacts.ts +360 -227
- package/src/atlassian-native-retirement.ts +33 -0
- package/src/atlassian.ts +136 -108
- package/src/automation-templates.ts +201 -0
- package/src/billing-subscriptions.ts +48 -0
- package/src/bots.ts +238 -0
- package/src/bundled-skills.ts +79 -22
- package/src/canonical-human-identities.ts +65 -62
- package/src/child-lifecycle-notice-protocol.gen.json +1310 -0
- package/src/child-lifecycle-notice-protocol.ts +224 -0
- package/src/claude-provider-account-authority.ts +12 -0
- package/src/claude-subscription-oauth.ts +61 -19
- package/src/claude-subscription-usage.ts +64 -35
- package/src/client-error-report.ts +344 -9
- package/src/code-search.ts +1 -1
- package/src/codex-provider-account-authority.ts +22 -16
- package/src/company-brain-governed-writes.ts +265 -244
- package/src/company-brain.ts +165 -154
- package/src/company-profile.ts +362 -297
- package/src/connect.ts +222 -173
- package/src/connection-account-label.ts +45 -0
- package/src/connection-authority.ts +172 -152
- package/src/connector-attachments.ts +139 -123
- package/src/connector-destinations.ts +48 -43
- package/src/connector-tool-permissions.ts +104 -46
- package/src/credential-profiles.ts +161 -0
- package/src/cua-desktop-tools.gen.json +6722 -0
- package/src/cua-desktop-tools.linux.gen.json +6798 -0
- package/src/cua-desktop-tools.ts +42 -0
- package/src/cua-desktop-tools.windows.gen.json +6739 -0
- package/src/define-schema.ts +10 -0
- package/src/desktop-app.ts +50 -0
- package/src/direct-model-provider.ts +112 -0
- package/src/editable-artifact-binary.ts +29 -8
- package/src/editable-artifact-committed-transaction.ts +19 -18
- package/src/editable-artifact-serialized-commit.ts +8 -2
- package/src/editable-artifact-versions.ts +7 -1
- package/src/event-preview.ts +53 -3
- package/src/event-triggers.ts +891 -0
- package/src/external-identities.ts +239 -195
- package/src/feedback.ts +125 -30
- package/src/file-access.ts +26 -0
- package/src/first-party-tool-authorization.ts +383 -0
- package/src/github-repository-contracts.ts +78 -64
- package/src/google-drive-native-retirement.ts +20 -0
- package/src/google-drive.ts +286 -234
- package/src/governed-learning-activation.ts +159 -137
- package/src/governed-learning-evaluator.ts +141 -133
- package/src/host-mcp-bindings.ts +244 -221
- package/src/image-generation.ts +105 -95
- package/src/index.ts +13928 -9899
- package/src/inference-residency.ts +36 -0
- package/src/insights-usage.ts +774 -0
- package/src/integration-capability-id.ts +16 -0
- package/src/interaction-action-deadline.ts +143 -0
- package/src/interaction-driver-diagnostic.ts +89 -0
- package/src/interaction.ts +3527 -2427
- package/src/knowledge-entries.ts +386 -299
- package/src/knowledge-preparation.ts +49 -41
- package/src/knowledge.ts +242 -213
- package/src/learning-refusal.ts +90 -0
- package/src/managed-auth-session-sets.ts +180 -133
- package/src/managed-sign-in-methods.ts +156 -34
- package/src/mcp-oauth.ts +58 -46
- package/src/mcp-receipts.ts +199 -194
- package/src/mcp-structured-content.ts +81 -0
- package/src/memory-slack-delivery.ts +172 -142
- package/src/message-time-zone.ts +109 -0
- package/src/modal-native-proof-v2.ts +430 -0
- package/src/model-account-choice.ts +178 -0
- package/src/model-account-settings.ts +210 -0
- package/src/model-availability.ts +22 -0
- package/src/model-connection-access.ts +62 -14
- package/src/model-context-inspector.ts +130 -109
- package/src/model-display.ts +221 -0
- package/src/model-picker-order.ts +1 -1
- package/src/model-residency.ts +535 -0
- package/src/organization-access.ts +216 -0
- package/src/organization-integration-policy.ts +47 -28
- package/src/organization-membership-lifecycle.ts +558 -384
- package/src/organization-model-usage.ts +82 -0
- package/src/organization-recovery.ts +148 -135
- package/src/organization-usage.ts +84 -52
- package/src/passkey-only-account.ts +29 -0
- package/src/permissions.ts +94 -52
- package/src/personal-github.ts +211 -171
- package/src/personal-integration-setup.ts +150 -0
- package/src/preference-registry.ts +319 -263
- package/src/prepared-mcp-setup.ts +190 -0
- package/src/primitives.ts +22 -0
- package/src/product-analytics.ts +40 -15
- package/src/product-lifecycle-facts.ts +50 -20
- package/src/prompt-cache-diagnostics.ts +212 -0
- package/src/recordings.ts +1153 -0
- package/src/remember.ts +184 -172
- package/src/retained-output.ts +181 -168
- package/src/sandbox-file-artifacts.ts +78 -57
- package/src/sandbox-provider-command.ts +55 -72
- package/src/sandbox-recovery.ts +163 -77
- package/src/scoped-knowledge.ts +62 -43
- package/src/secret-generator.ts +156 -0
- package/src/secret-mask-strings.ts +175 -0
- package/src/secret-references.ts +414 -0
- package/src/secret-resolution.ts +322 -0
- package/src/secret-shape-masking.ts +573 -0
- package/src/secret-totp.ts +188 -0
- package/src/secret-use-approval-question.ts +22 -0
- package/src/secret-use-approvals.ts +219 -0
- package/src/secret-value-masking.ts +1283 -0
- package/src/secret-value.ts +22 -0
- package/src/session-goal-reports.ts +55 -49
- package/src/session-history-import.ts +84 -68
- package/src/session-history.ts +197 -0
- package/src/session-list-entries.ts +106 -0
- package/src/session-mcp-projections.ts +21 -3
- package/src/session-mcp-tool-permissions.ts +109 -0
- package/src/session-message-search.ts +46 -38
- package/src/session-target.ts +58 -0
- package/src/session-titles.ts +40 -4
- package/src/session-topology-primitives.ts +20 -12
- package/src/session-usage-limit-refusal.ts +101 -0
- package/src/session-usage-limits.ts +169 -0
- package/src/signup-attribution.ts +20 -15
- package/src/site-data.ts +337 -0
- package/src/site-operations.ts +154 -0
- package/src/site-publishing.ts +903 -0
- package/src/site-session-http.ts +344 -16
- package/src/site-sql.ts +1120 -0
- package/src/skill-use.ts +18 -17
- package/src/skills.ts +105 -50
- package/src/slack-bot-scopes.ts +18 -35
- package/src/slack-rest-mcp.ts +222 -0
- package/src/slack-task-policy.ts +97 -73
- package/src/spreadsheet-artifact-commands.ts +74 -13
- package/src/spreadsheet-artifact-query.ts +188 -50
- package/src/subscription-account-actions.ts +103 -0
- package/src/subscription-account-pools.ts +74 -0
- package/src/subscription-personal-authority-v2.ts +69 -0
- package/src/subscription-plans.ts +51 -0
- package/src/subscription-usage-pool.ts +44 -0
- package/src/task-notes.ts +70 -68
- package/src/tool-action-review.ts +271 -0
- package/src/tool-catalog.ts +694 -379
- package/src/tool-policy.ts +82 -0
- package/src/tool-result-spill.ts +13 -9
- package/src/tool-review-presentation.ts +643 -0
- package/src/turn-serving-policy.ts +167 -0
- package/src/usage-allowances.ts +212 -136
- package/src/values.ts +25 -0
- package/src/vault-provider-wire.ts +580 -0
- package/src/vaults.ts +1296 -0
- package/src/video-generation.ts +430 -361
- package/src/work-claims.ts +183 -166
- package/src/workspace-control-event.ts +134 -0
- package/src/workspace-governance-context.ts +63 -0
- package/src/workspace-instruction-policies.ts +346 -279
- package/src/workspace-integration-wire.ts +10 -0
- package/src/workspace-integrations.ts +488 -398
- package/src/workspace-learning-administration.ts +58 -44
- package/src/workspace-learning-policy.ts +126 -99
- package/src/workspace-state.ts +239 -220
- package/src/xai-provider-account-authority.ts +23 -17
- package/dist/chunk-3SIZGL3O.js.map +0 -1
- package/dist/chunk-566IFOVP.js +0 -26133
- package/dist/chunk-566IFOVP.js.map +0 -1
- package/dist/chunk-5IXYF6XN.js +0 -728
- package/dist/chunk-5IXYF6XN.js.map +0 -1
- package/dist/chunk-5Q54VCCH.js.map +0 -1
- package/dist/chunk-BCS7WHCK.js +0 -139
- package/dist/chunk-BCS7WHCK.js.map +0 -1
- package/dist/chunk-EK7NDGFR.js +0 -128
- package/dist/chunk-EK7NDGFR.js.map +0 -1
- package/dist/chunk-GRG7PHWQ.js +0 -25
- package/dist/chunk-GRG7PHWQ.js.map +0 -1
- package/dist/chunk-HHZSZYYF.js.map +0 -1
- package/dist/chunk-ICDZGUX2.js +0 -186
- package/dist/chunk-ICDZGUX2.js.map +0 -1
- package/dist/chunk-JUFK3T4Q.js +0 -80
- package/dist/chunk-JUFK3T4Q.js.map +0 -1
- package/dist/chunk-MYBZRDTY.js.map +0 -1
- package/dist/chunk-NRMCVHAU.js.map +0 -1
- package/dist/chunk-O77VSFYZ.js.map +0 -1
- package/dist/chunk-P3HLDT77.js +0 -59
- package/dist/chunk-P3HLDT77.js.map +0 -1
- package/dist/chunk-TXTQIYCV.js.map +0 -1
- package/dist/chunk-WYBDERIY.js.map +0 -1
- package/dist/chunk-Y3KNXVTD.js.map +0 -1
- package/dist/chunk-YBW5JSA3.js.map +0 -1
- package/dist/chunk-YRXAWWCU.js +0 -45
- package/dist/chunk-YRXAWWCU.js.map +0 -1
- package/dist/chunk-YWMOIZ6A.js +0 -185
- package/dist/chunk-YWMOIZ6A.js.map +0 -1
- package/dist/site-request-headers.test.d.ts +0 -1
- package/dist/transcription-recordings.d.ts +0 -300
- package/src/transcription-recordings.ts +0 -169
- /package/dist/{chunk-SIOU2K4U.js.map → chunk-LJH2EYGT.js.map} +0 -0
- /package/dist/{chunk-RIY7GYQS.js.map → chunk-PTSROVDG.js.map} +0 -0
- /package/dist/{chunk-YRKRZ6OF.js.map → chunk-TOOJIBJC.js.map} +0 -0
- /package/dist/{chunk-D2HKF2EF.js.map → chunk-XP5M3IKT.js.map} +0 -0
|
@@ -0,0 +1,1371 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
/**
|
|
3
|
+
* Recordings: captured conversations (meetings, interviews, site walks) with
|
|
4
|
+
* one or more audio tracks, versioned transcripts and editable speakers.
|
|
5
|
+
* Visibility matches chats: "private" is Only me, "workspace" is shared.
|
|
6
|
+
*/
|
|
7
|
+
export declare const RECORDING_MAX_TRACKS = 8;
|
|
8
|
+
export declare const RECORDING_MAX_CHUNK_BYTES: number;
|
|
9
|
+
export declare const RECORDING_MAX_DURATION_MILLISECONDS: number;
|
|
10
|
+
export declare const RECORDING_UPLOAD_BATCH_MAX = 50;
|
|
11
|
+
/**
|
|
12
|
+
* The audio containers a track can be captured in: WebM or Ogg Opus and MP4
|
|
13
|
+
* AAC from browsers, and an ADTS AAC stream from phones, whose frames
|
|
14
|
+
* concatenate across chunks the way WebM clusters do.
|
|
15
|
+
*/
|
|
16
|
+
export type RecordingAudioContainer = "webm" | "mp4" | "ogg" | "aac";
|
|
17
|
+
/** The container a track's MIME type names, or null when recordings cannot use it. */
|
|
18
|
+
export declare function recordingAudioContainer(mimeType: string): RecordingAudioContainer | null;
|
|
19
|
+
export declare const RecordingVisibility: z.ZodEnum<{
|
|
20
|
+
private: "private";
|
|
21
|
+
workspace: "workspace";
|
|
22
|
+
}>;
|
|
23
|
+
export type RecordingVisibility = z.infer<typeof RecordingVisibility>;
|
|
24
|
+
export declare const RecordingState: z.ZodEnum<{
|
|
25
|
+
capturing: "capturing";
|
|
26
|
+
failed: "failed";
|
|
27
|
+
processing: "processing";
|
|
28
|
+
ready: "ready";
|
|
29
|
+
}>;
|
|
30
|
+
export type RecordingState = z.infer<typeof RecordingState>;
|
|
31
|
+
/**
|
|
32
|
+
* What a recorder can capture into a track. microphone: the person
|
|
33
|
+
* recording; system: the computer's audio (the other side).
|
|
34
|
+
*/
|
|
35
|
+
export declare const RecordingCaptureSource: z.ZodEnum<{
|
|
36
|
+
microphone: "microphone";
|
|
37
|
+
mixed: "mixed";
|
|
38
|
+
system: "system";
|
|
39
|
+
upload: "upload";
|
|
40
|
+
}>;
|
|
41
|
+
export type RecordingCaptureSource = z.infer<typeof RecordingCaptureSource>;
|
|
42
|
+
/** Where a track came from: a recorder's capture, or a browser tab an agent recorded. */
|
|
43
|
+
export declare const RecordingTrackSource: z.ZodEnum<{
|
|
44
|
+
browser_tab: "browser_tab";
|
|
45
|
+
microphone: "microphone";
|
|
46
|
+
mixed: "mixed";
|
|
47
|
+
system: "system";
|
|
48
|
+
upload: "upload";
|
|
49
|
+
}>;
|
|
50
|
+
export type RecordingTrackSource = z.infer<typeof RecordingTrackSource>;
|
|
51
|
+
export declare const RecordingTrackKind: z.ZodEnum<{
|
|
52
|
+
audio: "audio";
|
|
53
|
+
video: "video";
|
|
54
|
+
}>;
|
|
55
|
+
export type RecordingTrackKind = z.infer<typeof RecordingTrackKind>;
|
|
56
|
+
/**
|
|
57
|
+
* meeting: a recorded conversation, listed in Meetings. browser: an agent's
|
|
58
|
+
* browser recording, a video of the tab with a log of what the agent did.
|
|
59
|
+
* dictation: speech someone records to type it, such as into the chat box;
|
|
60
|
+
* always private, never listed, and deleted a day after it is transcribed.
|
|
61
|
+
*/
|
|
62
|
+
export declare const RecordingPurpose: z.ZodEnum<{
|
|
63
|
+
browser: "browser";
|
|
64
|
+
dictation: "dictation";
|
|
65
|
+
meeting: "meeting";
|
|
66
|
+
}>;
|
|
67
|
+
export type RecordingPurpose = z.infer<typeof RecordingPurpose>;
|
|
68
|
+
/** What a client may record: browser recordings are made by the server. */
|
|
69
|
+
export declare const RecordingCapturePurpose: z.ZodEnum<{
|
|
70
|
+
dictation: "dictation";
|
|
71
|
+
meeting: "meeting";
|
|
72
|
+
}>;
|
|
73
|
+
export type RecordingCapturePurpose = z.infer<typeof RecordingCapturePurpose>;
|
|
74
|
+
/** How long a dictation is kept after it is transcribed, for the client to take its text. */
|
|
75
|
+
export declare const DICTATION_RETENTION_MILLISECONDS: number;
|
|
76
|
+
export declare const RecordingTranscriptVersionState: z.ZodEnum<{
|
|
77
|
+
complete: "complete";
|
|
78
|
+
failed: "failed";
|
|
79
|
+
processing: "processing";
|
|
80
|
+
queued: "queued";
|
|
81
|
+
}>;
|
|
82
|
+
export type RecordingTranscriptVersionState = z.infer<typeof RecordingTranscriptVersionState>;
|
|
83
|
+
export declare const RecordingSpeakerSource: z.ZodEnum<{
|
|
84
|
+
carried_over: "carried_over";
|
|
85
|
+
confirmed: "confirmed";
|
|
86
|
+
suggested: "suggested";
|
|
87
|
+
track: "track";
|
|
88
|
+
}>;
|
|
89
|
+
export type RecordingSpeakerSource = z.infer<typeof RecordingSpeakerSource>;
|
|
90
|
+
/**
|
|
91
|
+
* Who told the speakers apart in a version: the transcription provider, our
|
|
92
|
+
* own diarizer, the tracks alone (microphone versus system audio), or nobody.
|
|
93
|
+
*/
|
|
94
|
+
export declare const RecordingDiarization: z.ZodEnum<{
|
|
95
|
+
none: "none";
|
|
96
|
+
ours: "ours";
|
|
97
|
+
provider: "provider";
|
|
98
|
+
tracks: "tracks";
|
|
99
|
+
}>;
|
|
100
|
+
export type RecordingDiarization = z.infer<typeof RecordingDiarization>;
|
|
101
|
+
/**
|
|
102
|
+
* Who tells speakers apart: `auto` uses the model's own diarization when it
|
|
103
|
+
* has one and Opengeni's otherwise; `ours` always uses Opengeni's, for the
|
|
104
|
+
* same speakers whatever the model.
|
|
105
|
+
*/
|
|
106
|
+
export declare const RecordingDiarizer: z.ZodEnum<{
|
|
107
|
+
auto: "auto";
|
|
108
|
+
ours: "ours";
|
|
109
|
+
}>;
|
|
110
|
+
export type RecordingDiarizer = z.infer<typeof RecordingDiarizer>;
|
|
111
|
+
/** How to transcribe; every field is optional and falls back to workspace defaults. */
|
|
112
|
+
export declare const RecordingTranscriptionOptions: z.ZodObject<{
|
|
113
|
+
providerId: z.ZodOptional<z.ZodString>;
|
|
114
|
+
model: z.ZodOptional<z.ZodString>;
|
|
115
|
+
language: z.ZodOptional<z.ZodString>;
|
|
116
|
+
maxSpeakers: z.ZodOptional<z.ZodNumber>;
|
|
117
|
+
keyterms: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
118
|
+
diarizer: z.ZodOptional<z.ZodEnum<{
|
|
119
|
+
auto: "auto";
|
|
120
|
+
ours: "ours";
|
|
121
|
+
}>>;
|
|
122
|
+
}, z.core.$strict>;
|
|
123
|
+
export type RecordingTranscriptionOptions = z.infer<typeof RecordingTranscriptionOptions>;
|
|
124
|
+
/**
|
|
125
|
+
* How to transcribe, as asked for. A new recording that names no language
|
|
126
|
+
* takes the workspace's meeting language; `null` detects it even then.
|
|
127
|
+
*/
|
|
128
|
+
export declare const RecordingTranscriptionRequest: z.ZodObject<{
|
|
129
|
+
providerId: z.ZodOptional<z.ZodString>;
|
|
130
|
+
model: z.ZodOptional<z.ZodString>;
|
|
131
|
+
maxSpeakers: z.ZodOptional<z.ZodNumber>;
|
|
132
|
+
keyterms: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
133
|
+
diarizer: z.ZodOptional<z.ZodEnum<{
|
|
134
|
+
auto: "auto";
|
|
135
|
+
ours: "ours";
|
|
136
|
+
}>>;
|
|
137
|
+
language: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
138
|
+
}, z.core.$strict>;
|
|
139
|
+
export type RecordingTranscriptionRequest = z.infer<typeof RecordingTranscriptionRequest>;
|
|
140
|
+
/**
|
|
141
|
+
* How long a workspace keeps meetings, in days after they were recorded.
|
|
142
|
+
* Audio can go sooner than the transcript, never later.
|
|
143
|
+
*/
|
|
144
|
+
export declare const RecordingRetention: z.ZodObject<{
|
|
145
|
+
audioDays: z.ZodOptional<z.ZodNumber>;
|
|
146
|
+
transcriptDays: z.ZodOptional<z.ZodNumber>;
|
|
147
|
+
}, z.core.$strict>;
|
|
148
|
+
export type RecordingRetention = z.infer<typeof RecordingRetention>;
|
|
149
|
+
/**
|
|
150
|
+
* When retention deletes a meeting's audio and the meeting itself, counted
|
|
151
|
+
* from when it was recorded. Null where nothing is set. The sweep runs every
|
|
152
|
+
* few minutes, so deletion follows shortly after.
|
|
153
|
+
*/
|
|
154
|
+
export declare function recordingRetentionDates(retention: RecordingRetention | undefined, recordedAt: Date): {
|
|
155
|
+
audio: Date | null;
|
|
156
|
+
meeting: Date | null;
|
|
157
|
+
};
|
|
158
|
+
/**
|
|
159
|
+
* A workspace's recording defaults. New recordings are Only me unless the
|
|
160
|
+
* workspace says otherwise; products may always set visibility explicitly.
|
|
161
|
+
*/
|
|
162
|
+
export declare const WorkspaceRecordingSettings: z.ZodObject<{
|
|
163
|
+
defaultVisibility: z.ZodOptional<z.ZodEnum<{
|
|
164
|
+
private: "private";
|
|
165
|
+
workspace: "workspace";
|
|
166
|
+
}>>;
|
|
167
|
+
transcription: z.ZodOptional<z.ZodObject<{
|
|
168
|
+
providerId: z.ZodString;
|
|
169
|
+
model: z.ZodString;
|
|
170
|
+
}, z.core.$strict>>;
|
|
171
|
+
diarizer: z.ZodOptional<z.ZodEnum<{
|
|
172
|
+
auto: "auto";
|
|
173
|
+
ours: "ours";
|
|
174
|
+
}>>;
|
|
175
|
+
language: z.ZodOptional<z.ZodString>;
|
|
176
|
+
voiceprints: z.ZodOptional<z.ZodBoolean>;
|
|
177
|
+
liveTranscript: z.ZodOptional<z.ZodBoolean>;
|
|
178
|
+
autoSummary: z.ZodOptional<z.ZodBoolean>;
|
|
179
|
+
retention: z.ZodOptional<z.ZodObject<{
|
|
180
|
+
audioDays: z.ZodOptional<z.ZodNumber>;
|
|
181
|
+
transcriptDays: z.ZodOptional<z.ZodNumber>;
|
|
182
|
+
}, z.core.$strict>>;
|
|
183
|
+
}, z.core.$strict>;
|
|
184
|
+
export type WorkspaceRecordingSettings = z.infer<typeof WorkspaceRecordingSettings>;
|
|
185
|
+
/** Read a workspace's recording defaults leniently; a bad value means none. */
|
|
186
|
+
export declare function resolveWorkspaceRecordingSettings(settings: unknown): WorkspaceRecordingSettings;
|
|
187
|
+
export declare const CreateRecordingRequest: z.ZodObject<{
|
|
188
|
+
recordingId: z.ZodString;
|
|
189
|
+
purpose: z.ZodOptional<z.ZodEnum<{
|
|
190
|
+
dictation: "dictation";
|
|
191
|
+
meeting: "meeting";
|
|
192
|
+
}>>;
|
|
193
|
+
title: z.ZodOptional<z.ZodString>;
|
|
194
|
+
visibility: z.ZodOptional<z.ZodEnum<{
|
|
195
|
+
private: "private";
|
|
196
|
+
workspace: "workspace";
|
|
197
|
+
}>>;
|
|
198
|
+
startedAt: z.ZodOptional<z.ZodString>;
|
|
199
|
+
externalRef: z.ZodOptional<z.ZodString>;
|
|
200
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
201
|
+
tracks: z.ZodArray<z.ZodObject<{
|
|
202
|
+
trackNumber: z.ZodNumber;
|
|
203
|
+
source: z.ZodEnum<{
|
|
204
|
+
microphone: "microphone";
|
|
205
|
+
mixed: "mixed";
|
|
206
|
+
system: "system";
|
|
207
|
+
upload: "upload";
|
|
208
|
+
}>;
|
|
209
|
+
mimeType: z.ZodString;
|
|
210
|
+
}, z.core.$strict>>;
|
|
211
|
+
transcription: z.ZodOptional<z.ZodObject<{
|
|
212
|
+
providerId: z.ZodOptional<z.ZodString>;
|
|
213
|
+
model: z.ZodOptional<z.ZodString>;
|
|
214
|
+
maxSpeakers: z.ZodOptional<z.ZodNumber>;
|
|
215
|
+
keyterms: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
216
|
+
diarizer: z.ZodOptional<z.ZodEnum<{
|
|
217
|
+
auto: "auto";
|
|
218
|
+
ours: "ours";
|
|
219
|
+
}>>;
|
|
220
|
+
language: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
221
|
+
}, z.core.$strict>>;
|
|
222
|
+
ownerName: z.ZodOptional<z.ZodString>;
|
|
223
|
+
}, z.core.$strict>;
|
|
224
|
+
export type CreateRecordingRequest = z.infer<typeof CreateRecordingRequest>;
|
|
225
|
+
export declare const RecordingChunkDescriptor: z.ZodObject<{
|
|
226
|
+
chunkNumber: z.ZodNumber;
|
|
227
|
+
byteLength: z.ZodNumber;
|
|
228
|
+
sha256: z.ZodString;
|
|
229
|
+
startMilliseconds: z.ZodNumber;
|
|
230
|
+
durationMilliseconds: z.ZodNumber;
|
|
231
|
+
}, z.core.$strict>;
|
|
232
|
+
export type RecordingChunkDescriptor = z.infer<typeof RecordingChunkDescriptor>;
|
|
233
|
+
/** Reserve chunks and get presigned URLs to PUT their bytes straight to storage. */
|
|
234
|
+
export declare const CreateRecordingUploadsRequest: z.ZodObject<{
|
|
235
|
+
trackNumber: z.ZodNumber;
|
|
236
|
+
chunks: z.ZodArray<z.ZodObject<{
|
|
237
|
+
chunkNumber: z.ZodNumber;
|
|
238
|
+
byteLength: z.ZodNumber;
|
|
239
|
+
sha256: z.ZodString;
|
|
240
|
+
startMilliseconds: z.ZodNumber;
|
|
241
|
+
durationMilliseconds: z.ZodNumber;
|
|
242
|
+
}, z.core.$strict>>;
|
|
243
|
+
}, z.core.$strict>;
|
|
244
|
+
export type CreateRecordingUploadsRequest = z.infer<typeof CreateRecordingUploadsRequest>;
|
|
245
|
+
export declare const RecordingChunkUpload: z.ZodObject<{
|
|
246
|
+
chunkNumber: z.ZodNumber;
|
|
247
|
+
uploaded: z.ZodBoolean;
|
|
248
|
+
url: z.ZodNullable<z.ZodString>;
|
|
249
|
+
method: z.ZodLiteral<"PUT">;
|
|
250
|
+
headers: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
251
|
+
expiresAt: z.ZodNullable<z.ZodString>;
|
|
252
|
+
}, z.core.$strip>;
|
|
253
|
+
export type RecordingChunkUpload = z.infer<typeof RecordingChunkUpload>;
|
|
254
|
+
export declare const CreateRecordingUploadsResponse: z.ZodObject<{
|
|
255
|
+
uploads: z.ZodArray<z.ZodObject<{
|
|
256
|
+
chunkNumber: z.ZodNumber;
|
|
257
|
+
uploaded: z.ZodBoolean;
|
|
258
|
+
url: z.ZodNullable<z.ZodString>;
|
|
259
|
+
method: z.ZodLiteral<"PUT">;
|
|
260
|
+
headers: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
261
|
+
expiresAt: z.ZodNullable<z.ZodString>;
|
|
262
|
+
}, z.core.$strip>>;
|
|
263
|
+
}, z.core.$strip>;
|
|
264
|
+
export type CreateRecordingUploadsResponse = z.infer<typeof CreateRecordingUploadsResponse>;
|
|
265
|
+
/** Confirm chunks whose bytes were PUT; the server checks each object first. */
|
|
266
|
+
export declare const CompleteRecordingChunksRequest: z.ZodObject<{
|
|
267
|
+
trackNumber: z.ZodNumber;
|
|
268
|
+
chunkNumbers: z.ZodArray<z.ZodNumber>;
|
|
269
|
+
}, z.core.$strict>;
|
|
270
|
+
export type CompleteRecordingChunksRequest = z.infer<typeof CompleteRecordingChunksRequest>;
|
|
271
|
+
export declare const CompleteRecordingChunksResponse: z.ZodObject<{
|
|
272
|
+
uploaded: z.ZodArray<z.ZodNumber>;
|
|
273
|
+
missing: z.ZodArray<z.ZodNumber>;
|
|
274
|
+
}, z.core.$strip>;
|
|
275
|
+
export type CompleteRecordingChunksResponse = z.infer<typeof CompleteRecordingChunksResponse>;
|
|
276
|
+
/** Capture is over: every listed chunk must be uploaded. Starts transcription. */
|
|
277
|
+
export declare const FinalizeRecordingRequest: z.ZodObject<{
|
|
278
|
+
endedAt: z.ZodOptional<z.ZodString>;
|
|
279
|
+
tracks: z.ZodArray<z.ZodObject<{
|
|
280
|
+
trackNumber: z.ZodNumber;
|
|
281
|
+
chunkCount: z.ZodNumber;
|
|
282
|
+
}, z.core.$strict>>;
|
|
283
|
+
}, z.core.$strict>;
|
|
284
|
+
export type FinalizeRecordingRequest = z.infer<typeof FinalizeRecordingRequest>;
|
|
285
|
+
export declare const UpdateRecordingRequest: z.ZodObject<{
|
|
286
|
+
title: z.ZodOptional<z.ZodString>;
|
|
287
|
+
visibility: z.ZodOptional<z.ZodEnum<{
|
|
288
|
+
private: "private";
|
|
289
|
+
workspace: "workspace";
|
|
290
|
+
}>>;
|
|
291
|
+
externalRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
292
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
293
|
+
}, z.core.$strict>;
|
|
294
|
+
export type UpdateRecordingRequest = z.infer<typeof UpdateRecordingRequest>;
|
|
295
|
+
/** Start a new transcript version over the recording's audio. */
|
|
296
|
+
export declare const CreateRecordingTranscriptRequest: z.ZodObject<{
|
|
297
|
+
transcription: z.ZodOptional<z.ZodObject<{
|
|
298
|
+
providerId: z.ZodOptional<z.ZodString>;
|
|
299
|
+
model: z.ZodOptional<z.ZodString>;
|
|
300
|
+
maxSpeakers: z.ZodOptional<z.ZodNumber>;
|
|
301
|
+
keyterms: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
302
|
+
diarizer: z.ZodOptional<z.ZodEnum<{
|
|
303
|
+
auto: "auto";
|
|
304
|
+
ours: "ours";
|
|
305
|
+
}>>;
|
|
306
|
+
language: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
307
|
+
}, z.core.$strict>>;
|
|
308
|
+
}, z.core.$strict>;
|
|
309
|
+
export type CreateRecordingTranscriptRequest = z.infer<typeof CreateRecordingTranscriptRequest>;
|
|
310
|
+
/**
|
|
311
|
+
* Name speakers in one version. An assignment names a label (a person from
|
|
312
|
+
* the directory, or a plain name); a segment override moves one segment to
|
|
313
|
+
* another label. Assigning two labels to one person merges them.
|
|
314
|
+
*/
|
|
315
|
+
export declare const UpdateRecordingSpeakersRequest: z.ZodObject<{
|
|
316
|
+
assignments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
317
|
+
label: z.ZodString;
|
|
318
|
+
personId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
319
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
320
|
+
}, z.core.$strict>>>;
|
|
321
|
+
segmentOverrides: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
322
|
+
segmentIndex: z.ZodNumber;
|
|
323
|
+
label: z.ZodString;
|
|
324
|
+
}, z.core.$strict>>>;
|
|
325
|
+
rejectSuggestions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
326
|
+
label: z.ZodString;
|
|
327
|
+
}, z.core.$strict>>>;
|
|
328
|
+
}, z.core.$strict>;
|
|
329
|
+
export type UpdateRecordingSpeakersRequest = z.infer<typeof UpdateRecordingSpeakersRequest>;
|
|
330
|
+
/**
|
|
331
|
+
* Agree to have a person's voice remembered. `self` is a member agreeing
|
|
332
|
+
* for themselves; `attested` is someone confirming that a person outside
|
|
333
|
+
* the workspace agreed. Members can only agree for themselves.
|
|
334
|
+
*/
|
|
335
|
+
export declare const RecordingVoiceprintConsent: z.ZodEnum<{
|
|
336
|
+
attested: "attested";
|
|
337
|
+
self: "self";
|
|
338
|
+
}>;
|
|
339
|
+
export type RecordingVoiceprintConsent = z.infer<typeof RecordingVoiceprintConsent>;
|
|
340
|
+
export declare const RememberRecordingPersonVoiceRequest: z.ZodObject<{
|
|
341
|
+
consent: z.ZodEnum<{
|
|
342
|
+
attested: "attested";
|
|
343
|
+
self: "self";
|
|
344
|
+
}>;
|
|
345
|
+
}, z.core.$strict>;
|
|
346
|
+
export type RememberRecordingPersonVoiceRequest = z.infer<typeof RememberRecordingPersonVoiceRequest>;
|
|
347
|
+
/**
|
|
348
|
+
* Correct the text of segments in one version. The version itself never
|
|
349
|
+
* changes; edits are a layer on top. `text: null` reverts to the original.
|
|
350
|
+
*/
|
|
351
|
+
export declare const UpdateRecordingSegmentsRequest: z.ZodObject<{
|
|
352
|
+
edits: z.ZodArray<z.ZodObject<{
|
|
353
|
+
segmentIndex: z.ZodNumber;
|
|
354
|
+
text: z.ZodNullable<z.ZodString>;
|
|
355
|
+
}, z.core.$strict>>;
|
|
356
|
+
}, z.core.$strict>;
|
|
357
|
+
export type UpdateRecordingSegmentsRequest = z.infer<typeof UpdateRecordingSegmentsRequest>;
|
|
358
|
+
export declare const CreateRecordingPersonRequest: z.ZodObject<{
|
|
359
|
+
personId: z.ZodOptional<z.ZodString>;
|
|
360
|
+
displayName: z.ZodString;
|
|
361
|
+
email: z.ZodOptional<z.ZodString>;
|
|
362
|
+
memberSubjectId: z.ZodOptional<z.ZodString>;
|
|
363
|
+
externalRef: z.ZodOptional<z.ZodString>;
|
|
364
|
+
}, z.core.$strict>;
|
|
365
|
+
export type CreateRecordingPersonRequest = z.infer<typeof CreateRecordingPersonRequest>;
|
|
366
|
+
export declare const RecordingTrack: z.ZodObject<{
|
|
367
|
+
trackNumber: z.ZodNumber;
|
|
368
|
+
kind: z.ZodEnum<{
|
|
369
|
+
audio: "audio";
|
|
370
|
+
video: "video";
|
|
371
|
+
}>;
|
|
372
|
+
source: z.ZodEnum<{
|
|
373
|
+
browser_tab: "browser_tab";
|
|
374
|
+
microphone: "microphone";
|
|
375
|
+
mixed: "mixed";
|
|
376
|
+
system: "system";
|
|
377
|
+
upload: "upload";
|
|
378
|
+
}>;
|
|
379
|
+
mimeType: z.ZodString;
|
|
380
|
+
chunkCount: z.ZodNumber;
|
|
381
|
+
totalBytes: z.ZodNumber;
|
|
382
|
+
durationMilliseconds: z.ZodNumber;
|
|
383
|
+
playable: z.ZodBoolean;
|
|
384
|
+
video: z.ZodNullable<z.ZodObject<{
|
|
385
|
+
width: z.ZodNumber;
|
|
386
|
+
height: z.ZodNumber;
|
|
387
|
+
frameCount: z.ZodNumber;
|
|
388
|
+
}, z.core.$strip>>;
|
|
389
|
+
live: z.ZodNullable<z.ZodObject<{
|
|
390
|
+
providerId: z.ZodString;
|
|
391
|
+
model: z.ZodString;
|
|
392
|
+
streamedMilliseconds: z.ZodNumber;
|
|
393
|
+
costUsd: z.ZodNullable<z.ZodNumber>;
|
|
394
|
+
}, z.core.$strip>>;
|
|
395
|
+
}, z.core.$strip>;
|
|
396
|
+
export type RecordingTrack = z.infer<typeof RecordingTrack>;
|
|
397
|
+
export declare const RecordingTranscriptVersion: z.ZodObject<{
|
|
398
|
+
id: z.ZodString;
|
|
399
|
+
recordingId: z.ZodString;
|
|
400
|
+
versionNumber: z.ZodNumber;
|
|
401
|
+
providerId: z.ZodString;
|
|
402
|
+
model: z.ZodString;
|
|
403
|
+
options: z.ZodObject<{
|
|
404
|
+
providerId: z.ZodOptional<z.ZodString>;
|
|
405
|
+
model: z.ZodOptional<z.ZodString>;
|
|
406
|
+
language: z.ZodOptional<z.ZodString>;
|
|
407
|
+
maxSpeakers: z.ZodOptional<z.ZodNumber>;
|
|
408
|
+
keyterms: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
409
|
+
diarizer: z.ZodOptional<z.ZodEnum<{
|
|
410
|
+
auto: "auto";
|
|
411
|
+
ours: "ours";
|
|
412
|
+
}>>;
|
|
413
|
+
}, z.core.$strict>;
|
|
414
|
+
state: z.ZodEnum<{
|
|
415
|
+
complete: "complete";
|
|
416
|
+
failed: "failed";
|
|
417
|
+
processing: "processing";
|
|
418
|
+
queued: "queued";
|
|
419
|
+
}>;
|
|
420
|
+
isCurrent: z.ZodBoolean;
|
|
421
|
+
languages: z.ZodArray<z.ZodString>;
|
|
422
|
+
diarized: z.ZodBoolean;
|
|
423
|
+
diarization: z.ZodNullable<z.ZodEnum<{
|
|
424
|
+
none: "none";
|
|
425
|
+
ours: "ours";
|
|
426
|
+
provider: "provider";
|
|
427
|
+
tracks: "tracks";
|
|
428
|
+
}>>;
|
|
429
|
+
audioMilliseconds: z.ZodNumber;
|
|
430
|
+
segmentCount: z.ZodNumber;
|
|
431
|
+
costUsd: z.ZodNullable<z.ZodNumber>;
|
|
432
|
+
requestedBySubjectId: z.ZodString;
|
|
433
|
+
errorCode: z.ZodNullable<z.ZodString>;
|
|
434
|
+
createdAt: z.ZodString;
|
|
435
|
+
completedAt: z.ZodNullable<z.ZodString>;
|
|
436
|
+
}, z.core.$strip>;
|
|
437
|
+
export type RecordingTranscriptVersion = z.infer<typeof RecordingTranscriptVersion>;
|
|
438
|
+
export declare const Recording: z.ZodObject<{
|
|
439
|
+
id: z.ZodString;
|
|
440
|
+
workspaceId: z.ZodString;
|
|
441
|
+
ownerSubjectId: z.ZodString;
|
|
442
|
+
visibility: z.ZodEnum<{
|
|
443
|
+
private: "private";
|
|
444
|
+
workspace: "workspace";
|
|
445
|
+
}>;
|
|
446
|
+
title: z.ZodString;
|
|
447
|
+
purpose: z.ZodEnum<{
|
|
448
|
+
browser: "browser";
|
|
449
|
+
dictation: "dictation";
|
|
450
|
+
meeting: "meeting";
|
|
451
|
+
}>;
|
|
452
|
+
state: z.ZodEnum<{
|
|
453
|
+
capturing: "capturing";
|
|
454
|
+
failed: "failed";
|
|
455
|
+
processing: "processing";
|
|
456
|
+
ready: "ready";
|
|
457
|
+
}>;
|
|
458
|
+
errorCode: z.ZodNullable<z.ZodString>;
|
|
459
|
+
startedAt: z.ZodString;
|
|
460
|
+
captureEndedAt: z.ZodNullable<z.ZodString>;
|
|
461
|
+
durationMilliseconds: z.ZodNumber;
|
|
462
|
+
externalRef: z.ZodNullable<z.ZodString>;
|
|
463
|
+
metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
464
|
+
audioDeletedAt: z.ZodNullable<z.ZodString>;
|
|
465
|
+
transcription: z.ZodObject<{
|
|
466
|
+
providerId: z.ZodOptional<z.ZodString>;
|
|
467
|
+
model: z.ZodOptional<z.ZodString>;
|
|
468
|
+
language: z.ZodOptional<z.ZodString>;
|
|
469
|
+
maxSpeakers: z.ZodOptional<z.ZodNumber>;
|
|
470
|
+
keyterms: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
471
|
+
diarizer: z.ZodOptional<z.ZodEnum<{
|
|
472
|
+
auto: "auto";
|
|
473
|
+
ours: "ours";
|
|
474
|
+
}>>;
|
|
475
|
+
}, z.core.$strict>;
|
|
476
|
+
tracks: z.ZodArray<z.ZodObject<{
|
|
477
|
+
trackNumber: z.ZodNumber;
|
|
478
|
+
kind: z.ZodEnum<{
|
|
479
|
+
audio: "audio";
|
|
480
|
+
video: "video";
|
|
481
|
+
}>;
|
|
482
|
+
source: z.ZodEnum<{
|
|
483
|
+
browser_tab: "browser_tab";
|
|
484
|
+
microphone: "microphone";
|
|
485
|
+
mixed: "mixed";
|
|
486
|
+
system: "system";
|
|
487
|
+
upload: "upload";
|
|
488
|
+
}>;
|
|
489
|
+
mimeType: z.ZodString;
|
|
490
|
+
chunkCount: z.ZodNumber;
|
|
491
|
+
totalBytes: z.ZodNumber;
|
|
492
|
+
durationMilliseconds: z.ZodNumber;
|
|
493
|
+
playable: z.ZodBoolean;
|
|
494
|
+
video: z.ZodNullable<z.ZodObject<{
|
|
495
|
+
width: z.ZodNumber;
|
|
496
|
+
height: z.ZodNumber;
|
|
497
|
+
frameCount: z.ZodNumber;
|
|
498
|
+
}, z.core.$strip>>;
|
|
499
|
+
live: z.ZodNullable<z.ZodObject<{
|
|
500
|
+
providerId: z.ZodString;
|
|
501
|
+
model: z.ZodString;
|
|
502
|
+
streamedMilliseconds: z.ZodNumber;
|
|
503
|
+
costUsd: z.ZodNullable<z.ZodNumber>;
|
|
504
|
+
}, z.core.$strip>>;
|
|
505
|
+
}, z.core.$strip>>;
|
|
506
|
+
transcript: z.ZodNullable<z.ZodObject<{
|
|
507
|
+
id: z.ZodString;
|
|
508
|
+
recordingId: z.ZodString;
|
|
509
|
+
versionNumber: z.ZodNumber;
|
|
510
|
+
providerId: z.ZodString;
|
|
511
|
+
model: z.ZodString;
|
|
512
|
+
options: z.ZodObject<{
|
|
513
|
+
providerId: z.ZodOptional<z.ZodString>;
|
|
514
|
+
model: z.ZodOptional<z.ZodString>;
|
|
515
|
+
language: z.ZodOptional<z.ZodString>;
|
|
516
|
+
maxSpeakers: z.ZodOptional<z.ZodNumber>;
|
|
517
|
+
keyterms: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
518
|
+
diarizer: z.ZodOptional<z.ZodEnum<{
|
|
519
|
+
auto: "auto";
|
|
520
|
+
ours: "ours";
|
|
521
|
+
}>>;
|
|
522
|
+
}, z.core.$strict>;
|
|
523
|
+
state: z.ZodEnum<{
|
|
524
|
+
complete: "complete";
|
|
525
|
+
failed: "failed";
|
|
526
|
+
processing: "processing";
|
|
527
|
+
queued: "queued";
|
|
528
|
+
}>;
|
|
529
|
+
isCurrent: z.ZodBoolean;
|
|
530
|
+
languages: z.ZodArray<z.ZodString>;
|
|
531
|
+
diarized: z.ZodBoolean;
|
|
532
|
+
diarization: z.ZodNullable<z.ZodEnum<{
|
|
533
|
+
none: "none";
|
|
534
|
+
ours: "ours";
|
|
535
|
+
provider: "provider";
|
|
536
|
+
tracks: "tracks";
|
|
537
|
+
}>>;
|
|
538
|
+
audioMilliseconds: z.ZodNumber;
|
|
539
|
+
segmentCount: z.ZodNumber;
|
|
540
|
+
costUsd: z.ZodNullable<z.ZodNumber>;
|
|
541
|
+
requestedBySubjectId: z.ZodString;
|
|
542
|
+
errorCode: z.ZodNullable<z.ZodString>;
|
|
543
|
+
createdAt: z.ZodString;
|
|
544
|
+
completedAt: z.ZodNullable<z.ZodString>;
|
|
545
|
+
}, z.core.$strip>>;
|
|
546
|
+
createdAt: z.ZodString;
|
|
547
|
+
updatedAt: z.ZodString;
|
|
548
|
+
sourceWorkspace: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
549
|
+
id: z.ZodString;
|
|
550
|
+
name: z.ZodString;
|
|
551
|
+
}, z.core.$strip>>>;
|
|
552
|
+
}, z.core.$strip>;
|
|
553
|
+
export type Recording = z.infer<typeof Recording>;
|
|
554
|
+
export declare const ListRecordingsResponse: z.ZodObject<{
|
|
555
|
+
recordings: z.ZodArray<z.ZodObject<{
|
|
556
|
+
id: z.ZodString;
|
|
557
|
+
workspaceId: z.ZodString;
|
|
558
|
+
ownerSubjectId: z.ZodString;
|
|
559
|
+
visibility: z.ZodEnum<{
|
|
560
|
+
private: "private";
|
|
561
|
+
workspace: "workspace";
|
|
562
|
+
}>;
|
|
563
|
+
title: z.ZodString;
|
|
564
|
+
purpose: z.ZodEnum<{
|
|
565
|
+
browser: "browser";
|
|
566
|
+
dictation: "dictation";
|
|
567
|
+
meeting: "meeting";
|
|
568
|
+
}>;
|
|
569
|
+
state: z.ZodEnum<{
|
|
570
|
+
capturing: "capturing";
|
|
571
|
+
failed: "failed";
|
|
572
|
+
processing: "processing";
|
|
573
|
+
ready: "ready";
|
|
574
|
+
}>;
|
|
575
|
+
errorCode: z.ZodNullable<z.ZodString>;
|
|
576
|
+
startedAt: z.ZodString;
|
|
577
|
+
captureEndedAt: z.ZodNullable<z.ZodString>;
|
|
578
|
+
durationMilliseconds: z.ZodNumber;
|
|
579
|
+
externalRef: z.ZodNullable<z.ZodString>;
|
|
580
|
+
metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
581
|
+
audioDeletedAt: z.ZodNullable<z.ZodString>;
|
|
582
|
+
transcription: z.ZodObject<{
|
|
583
|
+
providerId: z.ZodOptional<z.ZodString>;
|
|
584
|
+
model: z.ZodOptional<z.ZodString>;
|
|
585
|
+
language: z.ZodOptional<z.ZodString>;
|
|
586
|
+
maxSpeakers: z.ZodOptional<z.ZodNumber>;
|
|
587
|
+
keyterms: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
588
|
+
diarizer: z.ZodOptional<z.ZodEnum<{
|
|
589
|
+
auto: "auto";
|
|
590
|
+
ours: "ours";
|
|
591
|
+
}>>;
|
|
592
|
+
}, z.core.$strict>;
|
|
593
|
+
tracks: z.ZodArray<z.ZodObject<{
|
|
594
|
+
trackNumber: z.ZodNumber;
|
|
595
|
+
kind: z.ZodEnum<{
|
|
596
|
+
audio: "audio";
|
|
597
|
+
video: "video";
|
|
598
|
+
}>;
|
|
599
|
+
source: z.ZodEnum<{
|
|
600
|
+
browser_tab: "browser_tab";
|
|
601
|
+
microphone: "microphone";
|
|
602
|
+
mixed: "mixed";
|
|
603
|
+
system: "system";
|
|
604
|
+
upload: "upload";
|
|
605
|
+
}>;
|
|
606
|
+
mimeType: z.ZodString;
|
|
607
|
+
chunkCount: z.ZodNumber;
|
|
608
|
+
totalBytes: z.ZodNumber;
|
|
609
|
+
durationMilliseconds: z.ZodNumber;
|
|
610
|
+
playable: z.ZodBoolean;
|
|
611
|
+
video: z.ZodNullable<z.ZodObject<{
|
|
612
|
+
width: z.ZodNumber;
|
|
613
|
+
height: z.ZodNumber;
|
|
614
|
+
frameCount: z.ZodNumber;
|
|
615
|
+
}, z.core.$strip>>;
|
|
616
|
+
live: z.ZodNullable<z.ZodObject<{
|
|
617
|
+
providerId: z.ZodString;
|
|
618
|
+
model: z.ZodString;
|
|
619
|
+
streamedMilliseconds: z.ZodNumber;
|
|
620
|
+
costUsd: z.ZodNullable<z.ZodNumber>;
|
|
621
|
+
}, z.core.$strip>>;
|
|
622
|
+
}, z.core.$strip>>;
|
|
623
|
+
transcript: z.ZodNullable<z.ZodObject<{
|
|
624
|
+
id: z.ZodString;
|
|
625
|
+
recordingId: z.ZodString;
|
|
626
|
+
versionNumber: z.ZodNumber;
|
|
627
|
+
providerId: z.ZodString;
|
|
628
|
+
model: z.ZodString;
|
|
629
|
+
options: z.ZodObject<{
|
|
630
|
+
providerId: z.ZodOptional<z.ZodString>;
|
|
631
|
+
model: z.ZodOptional<z.ZodString>;
|
|
632
|
+
language: z.ZodOptional<z.ZodString>;
|
|
633
|
+
maxSpeakers: z.ZodOptional<z.ZodNumber>;
|
|
634
|
+
keyterms: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
635
|
+
diarizer: z.ZodOptional<z.ZodEnum<{
|
|
636
|
+
auto: "auto";
|
|
637
|
+
ours: "ours";
|
|
638
|
+
}>>;
|
|
639
|
+
}, z.core.$strict>;
|
|
640
|
+
state: z.ZodEnum<{
|
|
641
|
+
complete: "complete";
|
|
642
|
+
failed: "failed";
|
|
643
|
+
processing: "processing";
|
|
644
|
+
queued: "queued";
|
|
645
|
+
}>;
|
|
646
|
+
isCurrent: z.ZodBoolean;
|
|
647
|
+
languages: z.ZodArray<z.ZodString>;
|
|
648
|
+
diarized: z.ZodBoolean;
|
|
649
|
+
diarization: z.ZodNullable<z.ZodEnum<{
|
|
650
|
+
none: "none";
|
|
651
|
+
ours: "ours";
|
|
652
|
+
provider: "provider";
|
|
653
|
+
tracks: "tracks";
|
|
654
|
+
}>>;
|
|
655
|
+
audioMilliseconds: z.ZodNumber;
|
|
656
|
+
segmentCount: z.ZodNumber;
|
|
657
|
+
costUsd: z.ZodNullable<z.ZodNumber>;
|
|
658
|
+
requestedBySubjectId: z.ZodString;
|
|
659
|
+
errorCode: z.ZodNullable<z.ZodString>;
|
|
660
|
+
createdAt: z.ZodString;
|
|
661
|
+
completedAt: z.ZodNullable<z.ZodString>;
|
|
662
|
+
}, z.core.$strip>>;
|
|
663
|
+
createdAt: z.ZodString;
|
|
664
|
+
updatedAt: z.ZodString;
|
|
665
|
+
sourceWorkspace: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
666
|
+
id: z.ZodString;
|
|
667
|
+
name: z.ZodString;
|
|
668
|
+
}, z.core.$strip>>>;
|
|
669
|
+
}, z.core.$strip>>;
|
|
670
|
+
nextBefore: z.ZodNullable<z.ZodObject<{
|
|
671
|
+
startedAt: z.ZodString;
|
|
672
|
+
id: z.ZodString;
|
|
673
|
+
}, z.core.$strip>>;
|
|
674
|
+
}, z.core.$strip>;
|
|
675
|
+
export type ListRecordingsResponse = z.infer<typeof ListRecordingsResponse>;
|
|
676
|
+
export declare const FinalizeRecordingResponse: z.ZodObject<{
|
|
677
|
+
recording: z.ZodObject<{
|
|
678
|
+
id: z.ZodString;
|
|
679
|
+
workspaceId: z.ZodString;
|
|
680
|
+
ownerSubjectId: z.ZodString;
|
|
681
|
+
visibility: z.ZodEnum<{
|
|
682
|
+
private: "private";
|
|
683
|
+
workspace: "workspace";
|
|
684
|
+
}>;
|
|
685
|
+
title: z.ZodString;
|
|
686
|
+
purpose: z.ZodEnum<{
|
|
687
|
+
browser: "browser";
|
|
688
|
+
dictation: "dictation";
|
|
689
|
+
meeting: "meeting";
|
|
690
|
+
}>;
|
|
691
|
+
state: z.ZodEnum<{
|
|
692
|
+
capturing: "capturing";
|
|
693
|
+
failed: "failed";
|
|
694
|
+
processing: "processing";
|
|
695
|
+
ready: "ready";
|
|
696
|
+
}>;
|
|
697
|
+
errorCode: z.ZodNullable<z.ZodString>;
|
|
698
|
+
startedAt: z.ZodString;
|
|
699
|
+
captureEndedAt: z.ZodNullable<z.ZodString>;
|
|
700
|
+
durationMilliseconds: z.ZodNumber;
|
|
701
|
+
externalRef: z.ZodNullable<z.ZodString>;
|
|
702
|
+
metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
703
|
+
audioDeletedAt: z.ZodNullable<z.ZodString>;
|
|
704
|
+
transcription: z.ZodObject<{
|
|
705
|
+
providerId: z.ZodOptional<z.ZodString>;
|
|
706
|
+
model: z.ZodOptional<z.ZodString>;
|
|
707
|
+
language: z.ZodOptional<z.ZodString>;
|
|
708
|
+
maxSpeakers: z.ZodOptional<z.ZodNumber>;
|
|
709
|
+
keyterms: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
710
|
+
diarizer: z.ZodOptional<z.ZodEnum<{
|
|
711
|
+
auto: "auto";
|
|
712
|
+
ours: "ours";
|
|
713
|
+
}>>;
|
|
714
|
+
}, z.core.$strict>;
|
|
715
|
+
tracks: z.ZodArray<z.ZodObject<{
|
|
716
|
+
trackNumber: z.ZodNumber;
|
|
717
|
+
kind: z.ZodEnum<{
|
|
718
|
+
audio: "audio";
|
|
719
|
+
video: "video";
|
|
720
|
+
}>;
|
|
721
|
+
source: z.ZodEnum<{
|
|
722
|
+
browser_tab: "browser_tab";
|
|
723
|
+
microphone: "microphone";
|
|
724
|
+
mixed: "mixed";
|
|
725
|
+
system: "system";
|
|
726
|
+
upload: "upload";
|
|
727
|
+
}>;
|
|
728
|
+
mimeType: z.ZodString;
|
|
729
|
+
chunkCount: z.ZodNumber;
|
|
730
|
+
totalBytes: z.ZodNumber;
|
|
731
|
+
durationMilliseconds: z.ZodNumber;
|
|
732
|
+
playable: z.ZodBoolean;
|
|
733
|
+
video: z.ZodNullable<z.ZodObject<{
|
|
734
|
+
width: z.ZodNumber;
|
|
735
|
+
height: z.ZodNumber;
|
|
736
|
+
frameCount: z.ZodNumber;
|
|
737
|
+
}, z.core.$strip>>;
|
|
738
|
+
live: z.ZodNullable<z.ZodObject<{
|
|
739
|
+
providerId: z.ZodString;
|
|
740
|
+
model: z.ZodString;
|
|
741
|
+
streamedMilliseconds: z.ZodNumber;
|
|
742
|
+
costUsd: z.ZodNullable<z.ZodNumber>;
|
|
743
|
+
}, z.core.$strip>>;
|
|
744
|
+
}, z.core.$strip>>;
|
|
745
|
+
transcript: z.ZodNullable<z.ZodObject<{
|
|
746
|
+
id: z.ZodString;
|
|
747
|
+
recordingId: z.ZodString;
|
|
748
|
+
versionNumber: z.ZodNumber;
|
|
749
|
+
providerId: z.ZodString;
|
|
750
|
+
model: z.ZodString;
|
|
751
|
+
options: z.ZodObject<{
|
|
752
|
+
providerId: z.ZodOptional<z.ZodString>;
|
|
753
|
+
model: z.ZodOptional<z.ZodString>;
|
|
754
|
+
language: z.ZodOptional<z.ZodString>;
|
|
755
|
+
maxSpeakers: z.ZodOptional<z.ZodNumber>;
|
|
756
|
+
keyterms: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
757
|
+
diarizer: z.ZodOptional<z.ZodEnum<{
|
|
758
|
+
auto: "auto";
|
|
759
|
+
ours: "ours";
|
|
760
|
+
}>>;
|
|
761
|
+
}, z.core.$strict>;
|
|
762
|
+
state: z.ZodEnum<{
|
|
763
|
+
complete: "complete";
|
|
764
|
+
failed: "failed";
|
|
765
|
+
processing: "processing";
|
|
766
|
+
queued: "queued";
|
|
767
|
+
}>;
|
|
768
|
+
isCurrent: z.ZodBoolean;
|
|
769
|
+
languages: z.ZodArray<z.ZodString>;
|
|
770
|
+
diarized: z.ZodBoolean;
|
|
771
|
+
diarization: z.ZodNullable<z.ZodEnum<{
|
|
772
|
+
none: "none";
|
|
773
|
+
ours: "ours";
|
|
774
|
+
provider: "provider";
|
|
775
|
+
tracks: "tracks";
|
|
776
|
+
}>>;
|
|
777
|
+
audioMilliseconds: z.ZodNumber;
|
|
778
|
+
segmentCount: z.ZodNumber;
|
|
779
|
+
costUsd: z.ZodNullable<z.ZodNumber>;
|
|
780
|
+
requestedBySubjectId: z.ZodString;
|
|
781
|
+
errorCode: z.ZodNullable<z.ZodString>;
|
|
782
|
+
createdAt: z.ZodString;
|
|
783
|
+
completedAt: z.ZodNullable<z.ZodString>;
|
|
784
|
+
}, z.core.$strip>>;
|
|
785
|
+
createdAt: z.ZodString;
|
|
786
|
+
updatedAt: z.ZodString;
|
|
787
|
+
sourceWorkspace: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
788
|
+
id: z.ZodString;
|
|
789
|
+
name: z.ZodString;
|
|
790
|
+
}, z.core.$strip>>>;
|
|
791
|
+
}, z.core.$strip>;
|
|
792
|
+
transcript: z.ZodObject<{
|
|
793
|
+
id: z.ZodString;
|
|
794
|
+
recordingId: z.ZodString;
|
|
795
|
+
versionNumber: z.ZodNumber;
|
|
796
|
+
providerId: z.ZodString;
|
|
797
|
+
model: z.ZodString;
|
|
798
|
+
options: z.ZodObject<{
|
|
799
|
+
providerId: z.ZodOptional<z.ZodString>;
|
|
800
|
+
model: z.ZodOptional<z.ZodString>;
|
|
801
|
+
language: z.ZodOptional<z.ZodString>;
|
|
802
|
+
maxSpeakers: z.ZodOptional<z.ZodNumber>;
|
|
803
|
+
keyterms: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
804
|
+
diarizer: z.ZodOptional<z.ZodEnum<{
|
|
805
|
+
auto: "auto";
|
|
806
|
+
ours: "ours";
|
|
807
|
+
}>>;
|
|
808
|
+
}, z.core.$strict>;
|
|
809
|
+
state: z.ZodEnum<{
|
|
810
|
+
complete: "complete";
|
|
811
|
+
failed: "failed";
|
|
812
|
+
processing: "processing";
|
|
813
|
+
queued: "queued";
|
|
814
|
+
}>;
|
|
815
|
+
isCurrent: z.ZodBoolean;
|
|
816
|
+
languages: z.ZodArray<z.ZodString>;
|
|
817
|
+
diarized: z.ZodBoolean;
|
|
818
|
+
diarization: z.ZodNullable<z.ZodEnum<{
|
|
819
|
+
none: "none";
|
|
820
|
+
ours: "ours";
|
|
821
|
+
provider: "provider";
|
|
822
|
+
tracks: "tracks";
|
|
823
|
+
}>>;
|
|
824
|
+
audioMilliseconds: z.ZodNumber;
|
|
825
|
+
segmentCount: z.ZodNumber;
|
|
826
|
+
costUsd: z.ZodNullable<z.ZodNumber>;
|
|
827
|
+
requestedBySubjectId: z.ZodString;
|
|
828
|
+
errorCode: z.ZodNullable<z.ZodString>;
|
|
829
|
+
createdAt: z.ZodString;
|
|
830
|
+
completedAt: z.ZodNullable<z.ZodString>;
|
|
831
|
+
}, z.core.$strip>;
|
|
832
|
+
}, z.core.$strip>;
|
|
833
|
+
export type FinalizeRecordingResponse = z.infer<typeof FinalizeRecordingResponse>;
|
|
834
|
+
export declare const ListRecordingTranscriptVersionsResponse: z.ZodObject<{
|
|
835
|
+
versions: z.ZodArray<z.ZodObject<{
|
|
836
|
+
id: z.ZodString;
|
|
837
|
+
recordingId: z.ZodString;
|
|
838
|
+
versionNumber: z.ZodNumber;
|
|
839
|
+
providerId: z.ZodString;
|
|
840
|
+
model: z.ZodString;
|
|
841
|
+
options: z.ZodObject<{
|
|
842
|
+
providerId: z.ZodOptional<z.ZodString>;
|
|
843
|
+
model: z.ZodOptional<z.ZodString>;
|
|
844
|
+
language: z.ZodOptional<z.ZodString>;
|
|
845
|
+
maxSpeakers: z.ZodOptional<z.ZodNumber>;
|
|
846
|
+
keyterms: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
847
|
+
diarizer: z.ZodOptional<z.ZodEnum<{
|
|
848
|
+
auto: "auto";
|
|
849
|
+
ours: "ours";
|
|
850
|
+
}>>;
|
|
851
|
+
}, z.core.$strict>;
|
|
852
|
+
state: z.ZodEnum<{
|
|
853
|
+
complete: "complete";
|
|
854
|
+
failed: "failed";
|
|
855
|
+
processing: "processing";
|
|
856
|
+
queued: "queued";
|
|
857
|
+
}>;
|
|
858
|
+
isCurrent: z.ZodBoolean;
|
|
859
|
+
languages: z.ZodArray<z.ZodString>;
|
|
860
|
+
diarized: z.ZodBoolean;
|
|
861
|
+
diarization: z.ZodNullable<z.ZodEnum<{
|
|
862
|
+
none: "none";
|
|
863
|
+
ours: "ours";
|
|
864
|
+
provider: "provider";
|
|
865
|
+
tracks: "tracks";
|
|
866
|
+
}>>;
|
|
867
|
+
audioMilliseconds: z.ZodNumber;
|
|
868
|
+
segmentCount: z.ZodNumber;
|
|
869
|
+
costUsd: z.ZodNullable<z.ZodNumber>;
|
|
870
|
+
requestedBySubjectId: z.ZodString;
|
|
871
|
+
errorCode: z.ZodNullable<z.ZodString>;
|
|
872
|
+
createdAt: z.ZodString;
|
|
873
|
+
completedAt: z.ZodNullable<z.ZodString>;
|
|
874
|
+
}, z.core.$strip>>;
|
|
875
|
+
}, z.core.$strip>;
|
|
876
|
+
export type ListRecordingTranscriptVersionsResponse = z.infer<typeof ListRecordingTranscriptVersionsResponse>;
|
|
877
|
+
export declare const RecordingPerson: z.ZodObject<{
|
|
878
|
+
id: z.ZodString;
|
|
879
|
+
displayName: z.ZodString;
|
|
880
|
+
memberSubjectId: z.ZodNullable<z.ZodString>;
|
|
881
|
+
email: z.ZodNullable<z.ZodString>;
|
|
882
|
+
externalRef: z.ZodNullable<z.ZodString>;
|
|
883
|
+
createdAt: z.ZodString;
|
|
884
|
+
voice: z.ZodNullable<z.ZodObject<{
|
|
885
|
+
consent: z.ZodEnum<{
|
|
886
|
+
attested: "attested";
|
|
887
|
+
self: "self";
|
|
888
|
+
}>;
|
|
889
|
+
consentedAt: z.ZodString;
|
|
890
|
+
learned: z.ZodBoolean;
|
|
891
|
+
updatedAt: z.ZodNullable<z.ZodString>;
|
|
892
|
+
}, z.core.$strip>>;
|
|
893
|
+
}, z.core.$strip>;
|
|
894
|
+
export type RecordingPerson = z.infer<typeof RecordingPerson>;
|
|
895
|
+
export declare const ListRecordingPeopleResponse: z.ZodObject<{
|
|
896
|
+
people: z.ZodArray<z.ZodObject<{
|
|
897
|
+
id: z.ZodString;
|
|
898
|
+
displayName: z.ZodString;
|
|
899
|
+
memberSubjectId: z.ZodNullable<z.ZodString>;
|
|
900
|
+
email: z.ZodNullable<z.ZodString>;
|
|
901
|
+
externalRef: z.ZodNullable<z.ZodString>;
|
|
902
|
+
createdAt: z.ZodString;
|
|
903
|
+
voice: z.ZodNullable<z.ZodObject<{
|
|
904
|
+
consent: z.ZodEnum<{
|
|
905
|
+
attested: "attested";
|
|
906
|
+
self: "self";
|
|
907
|
+
}>;
|
|
908
|
+
consentedAt: z.ZodString;
|
|
909
|
+
learned: z.ZodBoolean;
|
|
910
|
+
updatedAt: z.ZodNullable<z.ZodString>;
|
|
911
|
+
}, z.core.$strip>>;
|
|
912
|
+
}, z.core.$strip>>;
|
|
913
|
+
}, z.core.$strip>;
|
|
914
|
+
export type ListRecordingPeopleResponse = z.infer<typeof ListRecordingPeopleResponse>;
|
|
915
|
+
export declare const RecordingSpeaker: z.ZodObject<{
|
|
916
|
+
label: z.ZodString;
|
|
917
|
+
name: z.ZodString;
|
|
918
|
+
personId: z.ZodNullable<z.ZodString>;
|
|
919
|
+
source: z.ZodNullable<z.ZodEnum<{
|
|
920
|
+
carried_over: "carried_over";
|
|
921
|
+
confirmed: "confirmed";
|
|
922
|
+
suggested: "suggested";
|
|
923
|
+
track: "track";
|
|
924
|
+
}>>;
|
|
925
|
+
confidence: z.ZodNullable<z.ZodNumber>;
|
|
926
|
+
}, z.core.$strip>;
|
|
927
|
+
export type RecordingSpeaker = z.infer<typeof RecordingSpeaker>;
|
|
928
|
+
/**
|
|
929
|
+
* True when a recording's microphone is the person recording it: computer
|
|
930
|
+
* or tab audio sits beside it, so everyone else is on that track. A
|
|
931
|
+
* microphone alone (a phone, a room) may hear several people.
|
|
932
|
+
*/
|
|
933
|
+
export declare function recordingMicrophoneIsOwner(tracks: readonly {
|
|
934
|
+
source: RecordingTrackSource;
|
|
935
|
+
}[]): boolean;
|
|
936
|
+
/** What an unnamed speaker label stands for, for clients that word it in the reader's language. */
|
|
937
|
+
export type RecordingSpeakerDefault = {
|
|
938
|
+
kind: "speaker";
|
|
939
|
+
number: number;
|
|
940
|
+
} | {
|
|
941
|
+
kind: "microphone";
|
|
942
|
+
} | {
|
|
943
|
+
kind: "system";
|
|
944
|
+
} | {
|
|
945
|
+
kind: "track";
|
|
946
|
+
number: number;
|
|
947
|
+
} | {
|
|
948
|
+
kind: "label";
|
|
949
|
+
label: string;
|
|
950
|
+
};
|
|
951
|
+
/**
|
|
952
|
+
* What a speaker label stands for until someone names it: the diarizer's
|
|
953
|
+
* `speaker_1` (or `t0_speaker_1`) is speaker 2, and a whole-track label such as
|
|
954
|
+
* `track-0` is that track's microphone, shared audio or plain track number.
|
|
955
|
+
*/
|
|
956
|
+
export declare function recordingSpeakerDefault(label: string, tracks: readonly {
|
|
957
|
+
trackNumber: number;
|
|
958
|
+
source: RecordingTrackSource;
|
|
959
|
+
}[]): RecordingSpeakerDefault;
|
|
960
|
+
/**
|
|
961
|
+
* The name a speaker label has until someone names it: "Speaker 2" for a
|
|
962
|
+
* diarizer's `speaker_1` (or `t0_speaker_1` when several tracks were
|
|
963
|
+
* diarized), and the track's role for a whole-track label such as `track-0`.
|
|
964
|
+
* Servers and clients both use this, so the same voice reads the same
|
|
965
|
+
* everywhere.
|
|
966
|
+
*/
|
|
967
|
+
export declare function defaultRecordingSpeakerName(label: string, tracks: readonly {
|
|
968
|
+
trackNumber: number;
|
|
969
|
+
source: RecordingTrackSource;
|
|
970
|
+
}[]): string;
|
|
971
|
+
export declare const UpdateRecordingSpeakersResponse: z.ZodObject<{
|
|
972
|
+
speakers: z.ZodArray<z.ZodObject<{
|
|
973
|
+
label: z.ZodString;
|
|
974
|
+
name: z.ZodString;
|
|
975
|
+
personId: z.ZodNullable<z.ZodString>;
|
|
976
|
+
source: z.ZodNullable<z.ZodEnum<{
|
|
977
|
+
carried_over: "carried_over";
|
|
978
|
+
confirmed: "confirmed";
|
|
979
|
+
suggested: "suggested";
|
|
980
|
+
track: "track";
|
|
981
|
+
}>>;
|
|
982
|
+
confidence: z.ZodNullable<z.ZodNumber>;
|
|
983
|
+
}, z.core.$strip>>;
|
|
984
|
+
}, z.core.$strip>;
|
|
985
|
+
export type UpdateRecordingSpeakersResponse = z.infer<typeof UpdateRecordingSpeakersResponse>;
|
|
986
|
+
export declare const RecordingTranscriptSegment: z.ZodObject<{
|
|
987
|
+
index: z.ZodNumber;
|
|
988
|
+
startMilliseconds: z.ZodNumber;
|
|
989
|
+
endMilliseconds: z.ZodNumber;
|
|
990
|
+
trackNumber: z.ZodNullable<z.ZodNumber>;
|
|
991
|
+
speakerLabel: z.ZodNullable<z.ZodString>;
|
|
992
|
+
text: z.ZodString;
|
|
993
|
+
edited: z.ZodBoolean;
|
|
994
|
+
}, z.core.$strip>;
|
|
995
|
+
export type RecordingTranscriptSegment = z.infer<typeof RecordingTranscriptSegment>;
|
|
996
|
+
export declare const UpdateRecordingSegmentsResponse: z.ZodObject<{
|
|
997
|
+
segments: z.ZodArray<z.ZodObject<{
|
|
998
|
+
index: z.ZodNumber;
|
|
999
|
+
startMilliseconds: z.ZodNumber;
|
|
1000
|
+
endMilliseconds: z.ZodNumber;
|
|
1001
|
+
trackNumber: z.ZodNullable<z.ZodNumber>;
|
|
1002
|
+
speakerLabel: z.ZodNullable<z.ZodString>;
|
|
1003
|
+
text: z.ZodString;
|
|
1004
|
+
edited: z.ZodBoolean;
|
|
1005
|
+
}, z.core.$strip>>;
|
|
1006
|
+
}, z.core.$strip>;
|
|
1007
|
+
export type UpdateRecordingSegmentsResponse = z.infer<typeof UpdateRecordingSegmentsResponse>;
|
|
1008
|
+
export declare const RecordingTranscriptPage: z.ZodObject<{
|
|
1009
|
+
version: z.ZodObject<{
|
|
1010
|
+
id: z.ZodString;
|
|
1011
|
+
recordingId: z.ZodString;
|
|
1012
|
+
versionNumber: z.ZodNumber;
|
|
1013
|
+
providerId: z.ZodString;
|
|
1014
|
+
model: z.ZodString;
|
|
1015
|
+
options: z.ZodObject<{
|
|
1016
|
+
providerId: z.ZodOptional<z.ZodString>;
|
|
1017
|
+
model: z.ZodOptional<z.ZodString>;
|
|
1018
|
+
language: z.ZodOptional<z.ZodString>;
|
|
1019
|
+
maxSpeakers: z.ZodOptional<z.ZodNumber>;
|
|
1020
|
+
keyterms: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1021
|
+
diarizer: z.ZodOptional<z.ZodEnum<{
|
|
1022
|
+
auto: "auto";
|
|
1023
|
+
ours: "ours";
|
|
1024
|
+
}>>;
|
|
1025
|
+
}, z.core.$strict>;
|
|
1026
|
+
state: z.ZodEnum<{
|
|
1027
|
+
complete: "complete";
|
|
1028
|
+
failed: "failed";
|
|
1029
|
+
processing: "processing";
|
|
1030
|
+
queued: "queued";
|
|
1031
|
+
}>;
|
|
1032
|
+
isCurrent: z.ZodBoolean;
|
|
1033
|
+
languages: z.ZodArray<z.ZodString>;
|
|
1034
|
+
diarized: z.ZodBoolean;
|
|
1035
|
+
diarization: z.ZodNullable<z.ZodEnum<{
|
|
1036
|
+
none: "none";
|
|
1037
|
+
ours: "ours";
|
|
1038
|
+
provider: "provider";
|
|
1039
|
+
tracks: "tracks";
|
|
1040
|
+
}>>;
|
|
1041
|
+
audioMilliseconds: z.ZodNumber;
|
|
1042
|
+
segmentCount: z.ZodNumber;
|
|
1043
|
+
costUsd: z.ZodNullable<z.ZodNumber>;
|
|
1044
|
+
requestedBySubjectId: z.ZodString;
|
|
1045
|
+
errorCode: z.ZodNullable<z.ZodString>;
|
|
1046
|
+
createdAt: z.ZodString;
|
|
1047
|
+
completedAt: z.ZodNullable<z.ZodString>;
|
|
1048
|
+
}, z.core.$strip>;
|
|
1049
|
+
speakers: z.ZodArray<z.ZodObject<{
|
|
1050
|
+
label: z.ZodString;
|
|
1051
|
+
name: z.ZodString;
|
|
1052
|
+
personId: z.ZodNullable<z.ZodString>;
|
|
1053
|
+
source: z.ZodNullable<z.ZodEnum<{
|
|
1054
|
+
carried_over: "carried_over";
|
|
1055
|
+
confirmed: "confirmed";
|
|
1056
|
+
suggested: "suggested";
|
|
1057
|
+
track: "track";
|
|
1058
|
+
}>>;
|
|
1059
|
+
confidence: z.ZodNullable<z.ZodNumber>;
|
|
1060
|
+
}, z.core.$strip>>;
|
|
1061
|
+
segments: z.ZodArray<z.ZodObject<{
|
|
1062
|
+
index: z.ZodNumber;
|
|
1063
|
+
startMilliseconds: z.ZodNumber;
|
|
1064
|
+
endMilliseconds: z.ZodNumber;
|
|
1065
|
+
trackNumber: z.ZodNullable<z.ZodNumber>;
|
|
1066
|
+
speakerLabel: z.ZodNullable<z.ZodString>;
|
|
1067
|
+
text: z.ZodString;
|
|
1068
|
+
edited: z.ZodBoolean;
|
|
1069
|
+
}, z.core.$strip>>;
|
|
1070
|
+
nextAfter: z.ZodNullable<z.ZodNumber>;
|
|
1071
|
+
}, z.core.$strip>;
|
|
1072
|
+
export type RecordingTranscriptPage = z.infer<typeof RecordingTranscriptPage>;
|
|
1073
|
+
/** A short-lived link to one track's prepared audio, for playback. */
|
|
1074
|
+
export declare const RecordingTrackAudio: z.ZodObject<{
|
|
1075
|
+
url: z.ZodString;
|
|
1076
|
+
expiresAt: z.ZodString;
|
|
1077
|
+
mimeType: z.ZodString;
|
|
1078
|
+
bytes: z.ZodNumber;
|
|
1079
|
+
}, z.core.$strip>;
|
|
1080
|
+
export type RecordingTrackAudio = z.infer<typeof RecordingTrackAudio>;
|
|
1081
|
+
export declare const RecordingTranscriptionCapabilities: z.ZodObject<{
|
|
1082
|
+
batch: z.ZodBoolean;
|
|
1083
|
+
live: z.ZodBoolean;
|
|
1084
|
+
diarization: z.ZodBoolean;
|
|
1085
|
+
liveDiarization: z.ZodBoolean;
|
|
1086
|
+
multichannel: z.ZodBoolean;
|
|
1087
|
+
maxSpeakers: z.ZodNullable<z.ZodNumber>;
|
|
1088
|
+
wordTimestamps: z.ZodBoolean;
|
|
1089
|
+
languages: z.ZodArray<z.ZodString>;
|
|
1090
|
+
languageDetection: z.ZodBoolean;
|
|
1091
|
+
keyterms: z.ZodBoolean;
|
|
1092
|
+
speakerLibrary: z.ZodBoolean;
|
|
1093
|
+
maxDurationSeconds: z.ZodNullable<z.ZodNumber>;
|
|
1094
|
+
maxFileBytes: z.ZodNullable<z.ZodNumber>;
|
|
1095
|
+
}, z.core.$strip>;
|
|
1096
|
+
export type RecordingTranscriptionCapabilities = z.infer<typeof RecordingTranscriptionCapabilities>;
|
|
1097
|
+
/**
|
|
1098
|
+
* Who pays for a speech-to-text model: the workspace's own provider key
|
|
1099
|
+
* (`workspace_key`), a subscription the workspace signed in to, which
|
|
1100
|
+
* Opengeni never charges (`workspace_subscription`), or an account the
|
|
1101
|
+
* deployment holds, charged in Opengeni credits where credit billing is on
|
|
1102
|
+
* (`deployment`).
|
|
1103
|
+
*/
|
|
1104
|
+
export declare const RecordingTranscriptionFunding: z.ZodEnum<{
|
|
1105
|
+
deployment: "deployment";
|
|
1106
|
+
workspace_key: "workspace_key";
|
|
1107
|
+
workspace_subscription: "workspace_subscription";
|
|
1108
|
+
}>;
|
|
1109
|
+
export type RecordingTranscriptionFunding = z.infer<typeof RecordingTranscriptionFunding>;
|
|
1110
|
+
export declare const RecordingTranscriptionModel: z.ZodObject<{
|
|
1111
|
+
providerId: z.ZodString;
|
|
1112
|
+
providerName: z.ZodString;
|
|
1113
|
+
model: z.ZodString;
|
|
1114
|
+
name: z.ZodString;
|
|
1115
|
+
available: z.ZodBoolean;
|
|
1116
|
+
funding: z.ZodEnum<{
|
|
1117
|
+
deployment: "deployment";
|
|
1118
|
+
workspace_key: "workspace_key";
|
|
1119
|
+
workspace_subscription: "workspace_subscription";
|
|
1120
|
+
}>;
|
|
1121
|
+
capabilities: z.ZodObject<{
|
|
1122
|
+
batch: z.ZodBoolean;
|
|
1123
|
+
live: z.ZodBoolean;
|
|
1124
|
+
diarization: z.ZodBoolean;
|
|
1125
|
+
liveDiarization: z.ZodBoolean;
|
|
1126
|
+
multichannel: z.ZodBoolean;
|
|
1127
|
+
maxSpeakers: z.ZodNullable<z.ZodNumber>;
|
|
1128
|
+
wordTimestamps: z.ZodBoolean;
|
|
1129
|
+
languages: z.ZodArray<z.ZodString>;
|
|
1130
|
+
languageDetection: z.ZodBoolean;
|
|
1131
|
+
keyterms: z.ZodBoolean;
|
|
1132
|
+
speakerLibrary: z.ZodBoolean;
|
|
1133
|
+
maxDurationSeconds: z.ZodNullable<z.ZodNumber>;
|
|
1134
|
+
maxFileBytes: z.ZodNullable<z.ZodNumber>;
|
|
1135
|
+
}, z.core.$strip>;
|
|
1136
|
+
usdPerHour: z.ZodNullable<z.ZodNumber>;
|
|
1137
|
+
chargedInCredits: z.ZodOptional<z.ZodBoolean>;
|
|
1138
|
+
}, z.core.$strip>;
|
|
1139
|
+
export type RecordingTranscriptionModel = z.infer<typeof RecordingTranscriptionModel>;
|
|
1140
|
+
export declare const ListRecordingModelsResponse: z.ZodObject<{
|
|
1141
|
+
models: z.ZodArray<z.ZodObject<{
|
|
1142
|
+
providerId: z.ZodString;
|
|
1143
|
+
providerName: z.ZodString;
|
|
1144
|
+
model: z.ZodString;
|
|
1145
|
+
name: z.ZodString;
|
|
1146
|
+
available: z.ZodBoolean;
|
|
1147
|
+
funding: z.ZodEnum<{
|
|
1148
|
+
deployment: "deployment";
|
|
1149
|
+
workspace_key: "workspace_key";
|
|
1150
|
+
workspace_subscription: "workspace_subscription";
|
|
1151
|
+
}>;
|
|
1152
|
+
capabilities: z.ZodObject<{
|
|
1153
|
+
batch: z.ZodBoolean;
|
|
1154
|
+
live: z.ZodBoolean;
|
|
1155
|
+
diarization: z.ZodBoolean;
|
|
1156
|
+
liveDiarization: z.ZodBoolean;
|
|
1157
|
+
multichannel: z.ZodBoolean;
|
|
1158
|
+
maxSpeakers: z.ZodNullable<z.ZodNumber>;
|
|
1159
|
+
wordTimestamps: z.ZodBoolean;
|
|
1160
|
+
languages: z.ZodArray<z.ZodString>;
|
|
1161
|
+
languageDetection: z.ZodBoolean;
|
|
1162
|
+
keyterms: z.ZodBoolean;
|
|
1163
|
+
speakerLibrary: z.ZodBoolean;
|
|
1164
|
+
maxDurationSeconds: z.ZodNullable<z.ZodNumber>;
|
|
1165
|
+
maxFileBytes: z.ZodNullable<z.ZodNumber>;
|
|
1166
|
+
}, z.core.$strip>;
|
|
1167
|
+
usdPerHour: z.ZodNullable<z.ZodNumber>;
|
|
1168
|
+
chargedInCredits: z.ZodOptional<z.ZodBoolean>;
|
|
1169
|
+
}, z.core.$strip>>;
|
|
1170
|
+
default: z.ZodObject<{
|
|
1171
|
+
providerId: z.ZodString;
|
|
1172
|
+
model: z.ZodString;
|
|
1173
|
+
}, z.core.$strip>;
|
|
1174
|
+
dictationDefault: z.ZodNullable<z.ZodObject<{
|
|
1175
|
+
providerId: z.ZodString;
|
|
1176
|
+
model: z.ZodString;
|
|
1177
|
+
}, z.core.$strip>>;
|
|
1178
|
+
pinned: z.ZodBoolean;
|
|
1179
|
+
language: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1180
|
+
liveTranscript: z.ZodOptional<z.ZodBoolean>;
|
|
1181
|
+
}, z.core.$strip>;
|
|
1182
|
+
export type ListRecordingModelsResponse = z.infer<typeof ListRecordingModelsResponse>;
|
|
1183
|
+
/**
|
|
1184
|
+
* The wire protocols a live transcription session can speak. Clients connect
|
|
1185
|
+
* to the provider directly with a short-lived grant from the API, so the
|
|
1186
|
+
* workspace's provider key never leaves the server.
|
|
1187
|
+
*
|
|
1188
|
+
* `elevenlabs.scribe_realtime`: JSON over WebSocket. The client sends
|
|
1189
|
+
* `{"message_type":"input_audio_chunk","audio_base_64":…,"commit":false,"sample_rate":…}`
|
|
1190
|
+
* with little-endian 16-bit mono PCM; the provider answers with
|
|
1191
|
+
* `partial_transcript` and `committed_transcript_with_timestamps` messages.
|
|
1192
|
+
*
|
|
1193
|
+
* `openai.realtime`: an OpenAI Realtime transcription session (OpenAI or
|
|
1194
|
+
* Azure OpenAI), already configured. `token` is a short-lived client secret,
|
|
1195
|
+
* sent as `Authorization: Bearer <token>`. A browser posts its WebRTC offer
|
|
1196
|
+
* (`application/sdp`) to `webrtcUrl`, sends the track's audio as media and
|
|
1197
|
+
* reads events on a data channel named `oai-events`. A client that can set
|
|
1198
|
+
* headers on a WebSocket (React Native) opens `url` instead and sends
|
|
1199
|
+
* `{"type":"input_audio_buffer.append","audio":…}` with base64 PCM at
|
|
1200
|
+
* `audio.sampleRate`. Either way the provider answers with
|
|
1201
|
+
* `input_audio_buffer.speech_started`/`speech_stopped` (with `audio_start_ms`
|
|
1202
|
+
* and `audio_end_ms`) and
|
|
1203
|
+
* `conversation.item.input_audio_transcription.delta`/`completed` events.
|
|
1204
|
+
*/
|
|
1205
|
+
export declare const RecordingLiveProtocol: z.ZodEnum<{
|
|
1206
|
+
"elevenlabs.scribe_realtime": "elevenlabs.scribe_realtime";
|
|
1207
|
+
"openai.realtime": "openai.realtime";
|
|
1208
|
+
}>;
|
|
1209
|
+
export type RecordingLiveProtocol = z.infer<typeof RecordingLiveProtocol>;
|
|
1210
|
+
/** Ask for a live transcription session for one track of a recording being captured. */
|
|
1211
|
+
export declare const CreateRecordingLiveSessionRequest: z.ZodObject<{
|
|
1212
|
+
trackNumber: z.ZodNumber;
|
|
1213
|
+
providerId: z.ZodOptional<z.ZodString>;
|
|
1214
|
+
model: z.ZodOptional<z.ZodString>;
|
|
1215
|
+
}, z.core.$strict>;
|
|
1216
|
+
export type CreateRecordingLiveSessionRequest = z.infer<typeof CreateRecordingLiveSessionRequest>;
|
|
1217
|
+
/**
|
|
1218
|
+
* A grant to stream one track to a live model. Connect before `expiresAt`,
|
|
1219
|
+
* and ask for a new session to reconnect. For `elevenlabs.scribe_realtime`,
|
|
1220
|
+
* `url` carries the single-use credential and the audio format; for
|
|
1221
|
+
* `openai.realtime`, the credential is `token` (see {@link RecordingLiveProtocol}).
|
|
1222
|
+
*/
|
|
1223
|
+
export declare const RecordingLiveSession: z.ZodObject<{
|
|
1224
|
+
providerId: z.ZodString;
|
|
1225
|
+
model: z.ZodString;
|
|
1226
|
+
protocol: z.ZodEnum<{
|
|
1227
|
+
"elevenlabs.scribe_realtime": "elevenlabs.scribe_realtime";
|
|
1228
|
+
"openai.realtime": "openai.realtime";
|
|
1229
|
+
}>;
|
|
1230
|
+
url: z.ZodString;
|
|
1231
|
+
token: z.ZodOptional<z.ZodString>;
|
|
1232
|
+
webrtcUrl: z.ZodOptional<z.ZodString>;
|
|
1233
|
+
audio: z.ZodObject<{
|
|
1234
|
+
encoding: z.ZodLiteral<"pcm_s16le">;
|
|
1235
|
+
sampleRate: z.ZodNumber;
|
|
1236
|
+
}, z.core.$strip>;
|
|
1237
|
+
expiresAt: z.ZodString;
|
|
1238
|
+
}, z.core.$strip>;
|
|
1239
|
+
export type RecordingLiveSession = z.infer<typeof RecordingLiveSession>;
|
|
1240
|
+
/**
|
|
1241
|
+
* A finished stretch of live text on one track. Times are from the start of
|
|
1242
|
+
* the recording. Live segments are a preview: they are removed once the
|
|
1243
|
+
* recording's first transcript is ready.
|
|
1244
|
+
*/
|
|
1245
|
+
export declare const RecordingLiveSegment: z.ZodObject<{
|
|
1246
|
+
trackNumber: z.ZodNumber;
|
|
1247
|
+
segmentNumber: z.ZodNumber;
|
|
1248
|
+
startMilliseconds: z.ZodNumber;
|
|
1249
|
+
endMilliseconds: z.ZodNumber;
|
|
1250
|
+
text: z.ZodString;
|
|
1251
|
+
sequence: z.ZodNumber;
|
|
1252
|
+
}, z.core.$strip>;
|
|
1253
|
+
export type RecordingLiveSegment = z.infer<typeof RecordingLiveSegment>;
|
|
1254
|
+
/**
|
|
1255
|
+
* Save finished live text for one track. Sending a segment number again
|
|
1256
|
+
* keeps the first copy, so a recorder can retry freely.
|
|
1257
|
+
*/
|
|
1258
|
+
export declare const AppendRecordingLiveSegmentsRequest: z.ZodObject<{
|
|
1259
|
+
trackNumber: z.ZodNumber;
|
|
1260
|
+
streamedMilliseconds: z.ZodNumber;
|
|
1261
|
+
segments: z.ZodArray<z.ZodObject<{
|
|
1262
|
+
segmentNumber: z.ZodNumber;
|
|
1263
|
+
startMilliseconds: z.ZodNumber;
|
|
1264
|
+
endMilliseconds: z.ZodNumber;
|
|
1265
|
+
text: z.ZodString;
|
|
1266
|
+
}, z.core.$strict>>;
|
|
1267
|
+
}, z.core.$strict>;
|
|
1268
|
+
export type AppendRecordingLiveSegmentsRequest = z.infer<typeof AppendRecordingLiveSegmentsRequest>;
|
|
1269
|
+
export declare const ListRecordingLiveSegmentsResponse: z.ZodObject<{
|
|
1270
|
+
segments: z.ZodArray<z.ZodObject<{
|
|
1271
|
+
trackNumber: z.ZodNumber;
|
|
1272
|
+
segmentNumber: z.ZodNumber;
|
|
1273
|
+
startMilliseconds: z.ZodNumber;
|
|
1274
|
+
endMilliseconds: z.ZodNumber;
|
|
1275
|
+
text: z.ZodString;
|
|
1276
|
+
sequence: z.ZodNumber;
|
|
1277
|
+
}, z.core.$strip>>;
|
|
1278
|
+
after: z.ZodNumber;
|
|
1279
|
+
ended: z.ZodBoolean;
|
|
1280
|
+
}, z.core.$strip>;
|
|
1281
|
+
export type ListRecordingLiveSegmentsResponse = z.infer<typeof ListRecordingLiveSegmentsResponse>;
|
|
1282
|
+
/**
|
|
1283
|
+
* A meeting's two Markdown documents. `notepad` is what people jot down
|
|
1284
|
+
* while it is recorded; `notes` is the written-up summary, decisions and
|
|
1285
|
+
* action items, by a person or an agent, afterwards.
|
|
1286
|
+
*/
|
|
1287
|
+
export declare const RECORDING_NOTE_KINDS: readonly ["notepad", "notes"];
|
|
1288
|
+
export declare const RecordingNoteKind: z.ZodEnum<{
|
|
1289
|
+
notepad: "notepad";
|
|
1290
|
+
notes: "notes";
|
|
1291
|
+
}>;
|
|
1292
|
+
export type RecordingNoteKind = z.infer<typeof RecordingNoteKind>;
|
|
1293
|
+
/** Notes can hold about 50 pages of text. */
|
|
1294
|
+
export declare const RECORDING_NOTE_MAX_BYTES = 262144;
|
|
1295
|
+
export declare const RecordingNote: z.ZodObject<{
|
|
1296
|
+
kind: z.ZodEnum<{
|
|
1297
|
+
notepad: "notepad";
|
|
1298
|
+
notes: "notes";
|
|
1299
|
+
}>;
|
|
1300
|
+
body: z.ZodString;
|
|
1301
|
+
revision: z.ZodNumber;
|
|
1302
|
+
updatedAt: z.ZodString;
|
|
1303
|
+
updatedBy: z.ZodObject<{
|
|
1304
|
+
subjectId: z.ZodString;
|
|
1305
|
+
sessionId: z.ZodNullable<z.ZodString>;
|
|
1306
|
+
}, z.core.$strip>;
|
|
1307
|
+
}, z.core.$strip>;
|
|
1308
|
+
export type RecordingNote = z.infer<typeof RecordingNote>;
|
|
1309
|
+
export declare const ListRecordingNotesResponse: z.ZodObject<{
|
|
1310
|
+
notes: z.ZodArray<z.ZodObject<{
|
|
1311
|
+
kind: z.ZodEnum<{
|
|
1312
|
+
notepad: "notepad";
|
|
1313
|
+
notes: "notes";
|
|
1314
|
+
}>;
|
|
1315
|
+
body: z.ZodString;
|
|
1316
|
+
revision: z.ZodNumber;
|
|
1317
|
+
updatedAt: z.ZodString;
|
|
1318
|
+
updatedBy: z.ZodObject<{
|
|
1319
|
+
subjectId: z.ZodString;
|
|
1320
|
+
sessionId: z.ZodNullable<z.ZodString>;
|
|
1321
|
+
}, z.core.$strip>;
|
|
1322
|
+
}, z.core.$strip>>;
|
|
1323
|
+
}, z.core.$strip>;
|
|
1324
|
+
export type ListRecordingNotesResponse = z.infer<typeof ListRecordingNotesResponse>;
|
|
1325
|
+
/**
|
|
1326
|
+
* Replace one of a meeting's notes. With `expectedRevision`, the save is
|
|
1327
|
+
* refused (409 `notes_changed`) when someone saved a newer revision first;
|
|
1328
|
+
* 0 means "nobody has written it yet". Without it, the save always wins.
|
|
1329
|
+
*/
|
|
1330
|
+
export declare const SaveRecordingNoteRequest: z.ZodObject<{
|
|
1331
|
+
body: z.ZodString;
|
|
1332
|
+
expectedRevision: z.ZodOptional<z.ZodNumber>;
|
|
1333
|
+
}, z.core.$strict>;
|
|
1334
|
+
export type SaveRecordingNoteRequest = z.infer<typeof SaveRecordingNoteRequest>;
|
|
1335
|
+
export declare const RECORDING_EVENT_TYPES: readonly ["recording.started", "recording.finished", "recording.transcript.ready", "recording.transcript.failed", "recording.transcript.current_changed", "recording.speakers.updated", "recording.notes.updated", "recording.deleted"];
|
|
1336
|
+
export type RecordingEventType = (typeof RECORDING_EVENT_TYPES)[number];
|
|
1337
|
+
/**
|
|
1338
|
+
* The `data` of a recording webhook event. Events carry ids, states and
|
|
1339
|
+
* numbers only, never a title, audio or transcript text, so a receiver reads
|
|
1340
|
+
* the recording through the API with its own authority.
|
|
1341
|
+
*/
|
|
1342
|
+
export type RecordingEventData = {
|
|
1343
|
+
recordingId: string;
|
|
1344
|
+
ownerSubjectId: string;
|
|
1345
|
+
visibility: RecordingVisibility;
|
|
1346
|
+
externalRef: string | null;
|
|
1347
|
+
state: RecordingState;
|
|
1348
|
+
durationMilliseconds?: number;
|
|
1349
|
+
versionId?: string;
|
|
1350
|
+
versionNumber?: number;
|
|
1351
|
+
providerId?: string;
|
|
1352
|
+
model?: string;
|
|
1353
|
+
segmentCount?: number;
|
|
1354
|
+
languages?: string[];
|
|
1355
|
+
errorCode?: string | null;
|
|
1356
|
+
previousVersionId?: string | null;
|
|
1357
|
+
/** `recording.notes.updated`: which notes, their new revision, and the chat whose agent saved them. */
|
|
1358
|
+
noteKind?: RecordingNoteKind;
|
|
1359
|
+
noteRevision?: number;
|
|
1360
|
+
sessionId?: string | null;
|
|
1361
|
+
};
|
|
1362
|
+
/** Limits of durable (chunked, resumable) dictation, advertised in client config. */
|
|
1363
|
+
export declare const ClientResumableVoiceInputConfig: z.ZodObject<{
|
|
1364
|
+
maxDurationSeconds: z.ZodNumber;
|
|
1365
|
+
maxSizeBytes: z.ZodNumber;
|
|
1366
|
+
maxChunkSizeBytes: z.ZodNumber;
|
|
1367
|
+
providerSegmentSeconds: z.ZodNumber;
|
|
1368
|
+
}, z.core.$strict>;
|
|
1369
|
+
export type ClientResumableVoiceInputConfig = z.infer<typeof ClientResumableVoiceInputConfig>;
|
|
1370
|
+
/** Audio is sent to a transcription provider in segments of at most this length. */
|
|
1371
|
+
export declare const TRANSCRIPTION_PROVIDER_SEGMENT_SECONDS = 50;
|