@opengeni/contracts 0.44.1 → 1.0.0
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 +70 -0
- package/dist/agent-config.d.ts +869 -0
- package/dist/agent-instruction-changes.d.ts +110 -0
- package/dist/agent-learning.d.ts +243 -0
- package/dist/agent-topology.d.ts +292 -0
- package/dist/allowance-refusal.d.ts +9 -0
- package/dist/allowance-refusal.js +50 -0
- package/dist/allowance-refusal.js.map +1 -0
- package/dist/analytics-consent-report.d.ts +19 -0
- package/dist/analytics-consent-report.js +10 -0
- package/dist/analytics-consent-report.js.map +1 -0
- package/dist/api-key-presets.d.ts +19 -0
- package/dist/artifact-catalog.d.ts +161 -0
- package/dist/artifacts.d.ts +135 -11
- 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.d.ts +2 -0
- package/dist/atlassian.js +27 -11
- package/dist/browser-storage.d.ts +5 -0
- package/dist/browser-storage.js +9 -0
- package/dist/browser-storage.js.map +1 -0
- package/dist/bundled-skills.d.ts +40 -0
- package/dist/canonical-human-identities.d.ts +157 -0
- package/dist/canonical-human-identities.js +23 -0
- package/dist/canonical-human-identities.js.map +1 -0
- package/dist/chunk-2ACYHZFB.js +292 -0
- package/dist/chunk-2ACYHZFB.js.map +1 -0
- package/dist/chunk-2VORLN2R.js +353 -0
- package/dist/chunk-2VORLN2R.js.map +1 -0
- package/dist/{chunk-Y3MLSLB4.js → chunk-3SIZGL3O.js} +42 -30
- package/dist/chunk-3SIZGL3O.js.map +1 -0
- package/dist/chunk-46KLD2UH.js +186 -0
- package/dist/chunk-46KLD2UH.js.map +1 -0
- package/dist/chunk-4JGHSSB7.js +11 -0
- package/dist/chunk-4JGHSSB7.js.map +1 -0
- package/dist/{chunk-52SGB2QO.js → chunk-5IXYF6XN.js} +50 -10
- package/dist/chunk-5IXYF6XN.js.map +1 -0
- package/dist/chunk-BCS7WHCK.js +139 -0
- package/dist/chunk-BCS7WHCK.js.map +1 -0
- package/dist/chunk-EK7NDGFR.js +128 -0
- package/dist/chunk-EK7NDGFR.js.map +1 -0
- package/dist/{chunk-5UDNP7AO.js → chunk-FZ6BXQHL.js} +78 -38
- package/dist/chunk-FZ6BXQHL.js.map +1 -0
- package/dist/chunk-GRG7PHWQ.js +25 -0
- package/dist/chunk-GRG7PHWQ.js.map +1 -0
- package/dist/chunk-JUFK3T4Q.js +80 -0
- package/dist/chunk-JUFK3T4Q.js.map +1 -0
- package/dist/chunk-KHHZTBP7.js +11 -0
- package/dist/chunk-KHHZTBP7.js.map +1 -0
- package/dist/chunk-KR2V42UZ.js +187 -0
- package/dist/chunk-KR2V42UZ.js.map +1 -0
- package/dist/chunk-MZLBPKFE.js +168 -0
- package/dist/chunk-MZLBPKFE.js.map +1 -0
- package/dist/{chunk-H5BVCZKF.js → chunk-NRMCVHAU.js} +6 -5
- package/dist/chunk-NRMCVHAU.js.map +1 -0
- package/dist/{chunk-TZ6YEYN4.js → chunk-NVJMJWLL.js} +3 -1
- package/dist/chunk-NVJMJWLL.js.map +1 -0
- package/dist/chunk-O77VSFYZ.js +70 -0
- package/dist/chunk-O77VSFYZ.js.map +1 -0
- package/dist/chunk-PX3VCKAU.js +29 -0
- package/dist/chunk-PX3VCKAU.js.map +1 -0
- package/dist/chunk-QR5D2IQC.js +61 -0
- package/dist/chunk-QR5D2IQC.js.map +1 -0
- package/dist/chunk-RJ76DRPO.js +117 -0
- package/dist/chunk-RJ76DRPO.js.map +1 -0
- package/dist/chunk-RKX3NQYS.js +28 -0
- package/dist/chunk-RKX3NQYS.js.map +1 -0
- package/dist/{chunk-FJBG5E4O.js → chunk-SIOU2K4U.js} +45 -22
- package/dist/chunk-SIOU2K4U.js.map +1 -0
- package/dist/chunk-TSCDAGET.js +75 -0
- package/dist/chunk-TSCDAGET.js.map +1 -0
- package/dist/{chunk-LSB7GRLG.js → chunk-TXTQIYCV.js} +15 -11
- package/dist/chunk-TXTQIYCV.js.map +1 -0
- package/dist/chunk-X7ETVO4P.js +26544 -0
- package/dist/chunk-X7ETVO4P.js.map +1 -0
- package/dist/{chunk-CADSX6UN.js → chunk-Y3KNXVTD.js} +2 -2
- package/dist/chunk-YBW5JSA3.js +251 -0
- package/dist/chunk-YBW5JSA3.js.map +1 -0
- package/dist/chunk-YRXAWWCU.js +45 -0
- package/dist/chunk-YRXAWWCU.js.map +1 -0
- package/dist/claude-provider-account-authority.d.ts +18 -0
- package/dist/claude-subscription-oauth.d.ts +42 -0
- package/dist/claude-subscription-usage.d.ts +159 -0
- package/dist/client-error-report.d.ts +109 -0
- package/dist/client-error-report.js +87 -0
- package/dist/client-error-report.js.map +1 -0
- package/dist/code-search.d.ts +52 -0
- package/dist/code-search.js +40 -0
- package/dist/code-search.js.map +1 -0
- package/dist/codex-provider-account-authority.d.ts +23 -0
- package/dist/codex-provider-account-authority.js +23 -0
- package/dist/codex-provider-account-authority.js.map +1 -0
- package/dist/company-brain-governed-writes.d.ts +475 -0
- package/dist/company-brain.d.ts +336 -0
- package/dist/company-profile.d.ts +566 -0
- package/dist/connect.d.ts +325 -0
- package/dist/connect.js +191 -0
- package/dist/connect.js.map +1 -0
- package/dist/connection-account-label.d.ts +2 -0
- package/dist/connection-account-label.js +35 -0
- package/dist/connection-account-label.js.map +1 -0
- package/dist/connection-authority.d.ts +193 -0
- package/dist/connection-authority.js +50 -0
- package/dist/connection-authority.js.map +1 -0
- package/dist/connector-attachments.d.ts +95 -0
- package/dist/connector-attachments.js +51 -0
- package/dist/connector-attachments.js.map +1 -0
- package/dist/connector-tool-permissions.d.ts +73 -0
- package/dist/direct-model-provider.d.ts +36 -0
- package/dist/editable-artifact-codec-registry.d.ts +16 -7
- package/dist/editable-artifact-codec-registry.js +19 -9
- package/dist/editable-artifact-committed-transaction.d.ts +2 -2
- package/dist/editable-artifact-committed-transaction.js +2 -2
- package/dist/editable-artifact-live.d.ts +11 -12
- package/dist/editable-artifact-live.js +110 -45
- package/dist/editable-artifact-live.js.map +1 -1
- package/dist/editable-artifact-serialized-commit.d.ts +2 -1
- package/dist/editable-artifact-serialized-commit.js +8 -7
- package/dist/editable-artifact-versions.d.ts +20 -5
- package/dist/editable-artifact-versions.js +23 -5
- package/dist/editable-artifacts.d.ts +2 -0
- package/dist/editable-artifacts.js +48 -36
- package/dist/external-identities.d.ts +784 -0
- package/dist/external-identities.js +44 -0
- package/dist/external-identities.js.map +1 -0
- package/dist/feedback.d.ts +51 -0
- package/dist/github-repository-contracts.d.ts +36 -0
- package/dist/github-repository-contracts.js +59 -0
- package/dist/github-repository-contracts.js.map +1 -0
- package/dist/github-repository.d.ts +14 -0
- package/dist/github-repository.js +36 -0
- package/dist/github-repository.js.map +1 -0
- package/dist/google-drive.d.ts +90 -1
- package/dist/google-drive.js +91 -15
- package/dist/google-drive.js.map +1 -1
- package/dist/governed-learning-activation.d.ts +154 -0
- package/dist/governed-learning-evaluator.d.ts +152 -0
- package/dist/host-mcp-bindings.d.ts +326 -0
- package/dist/host-mcp-bindings.js +252 -0
- package/dist/host-mcp-bindings.js.map +1 -0
- package/dist/image-generation.d.ts +1 -0
- package/dist/index.d.ts +27574 -5374
- package/dist/index.js +2531 -177
- package/dist/insights-usage.d.ts +877 -0
- package/dist/insights-usage.js +509 -0
- package/dist/insights-usage.js.map +1 -0
- package/dist/interaction.d.ts +1752 -13
- package/dist/knowledge-entries.d.ts +982 -0
- package/dist/knowledge-preparation.d.ts +237 -0
- package/dist/knowledge.d.ts +740 -0
- package/dist/managed-auth-session-sets.d.ts +241 -0
- package/dist/managed-auth-session-sets.js +191 -0
- package/dist/managed-auth-session-sets.js.map +1 -0
- package/dist/managed-sign-in-methods.d.ts +56 -0
- package/dist/managed-sign-in-methods.js +46 -0
- package/dist/managed-sign-in-methods.js.map +1 -0
- package/dist/mcp-catalog-limits.d.ts +2 -0
- package/dist/mcp-endpoint.d.ts +7 -0
- package/dist/mcp-endpoint.js +9 -0
- package/dist/mcp-endpoint.js.map +1 -0
- package/dist/mcp-oauth.d.ts +71 -0
- package/dist/modal-native-proof-v2.d.ts +587 -0
- package/dist/modal-native-proof-v2.js +37 -0
- package/dist/modal-native-proof-v2.js.map +1 -0
- package/dist/model-availability.d.ts +15 -0
- package/dist/model-connection-access.d.ts +24 -0
- package/dist/model-context-inspector.d.ts +329 -0
- package/dist/model-display.d.ts +38 -0
- package/dist/model-display.js +134 -0
- package/dist/model-display.js.map +1 -0
- package/dist/model-picker-order.d.ts +25 -0
- package/dist/model-picker-order.js +42 -0
- package/dist/model-picker-order.js.map +1 -0
- package/dist/organization-access.d.ts +231 -0
- package/dist/organization-access.js +34 -0
- package/dist/organization-access.js.map +1 -0
- package/dist/organization-integration-policy.d.ts +27 -0
- package/dist/organization-membership-lifecycle.d.ts +1022 -0
- package/dist/organization-model-usage.d.ts +146 -0
- package/dist/organization-model-usage.js +67 -0
- package/dist/organization-model-usage.js.map +1 -0
- package/dist/organization-recovery.d.ts +337 -0
- package/dist/organization-recovery.js +37 -0
- package/dist/organization-recovery.js.map +1 -0
- package/dist/organization-usage.d.ts +138 -0
- package/dist/permissions.d.ts +54 -0
- package/dist/personal-github.d.ts +320 -0
- package/dist/personal-github.js +222 -0
- package/dist/personal-github.js.map +1 -0
- package/dist/plugin-discovery.d.ts +35 -0
- package/dist/plugin-discovery.js +7 -0
- package/dist/plugin-discovery.js.map +1 -0
- package/dist/preference-registry.d.ts +44 -1
- package/dist/product-analytics.d.ts +113 -0
- package/dist/product-lifecycle-facts.d.ts +73 -0
- package/dist/remember.d.ts +350 -0
- package/dist/retained-output.d.ts +8 -0
- package/dist/sandbox-file-artifacts.d.ts +57 -0
- package/dist/sandbox-provider-command.d.ts +113 -0
- package/dist/sandbox-recovery.d.ts +146 -0
- package/dist/sandbox-snapshots.d.ts +39 -0
- package/dist/session-final-reply.d.ts +6 -0
- package/dist/session-final-reply.js +9 -0
- package/dist/session-final-reply.js.map +1 -0
- package/dist/session-goal-reports.d.ts +21 -0
- package/dist/session-history-import.d.ts +947 -0
- package/dist/session-list-entries.d.ts +4 -0
- package/dist/session-list-entries.js +51 -0
- package/dist/session-list-entries.js.map +1 -0
- package/dist/session-mcp-projections.d.ts +215 -0
- package/dist/session-message-search.d.ts +68 -0
- package/dist/session-titles.d.ts +68 -0
- package/dist/session-titles.js +25 -0
- package/dist/session-titles.js.map +1 -0
- package/dist/session-topology-primitives.d.ts +22 -0
- package/dist/signup-attribution.d.ts +39 -0
- package/dist/site-request-headers.test.d.ts +1 -0
- package/dist/site-session-http.d.ts +11 -0
- package/dist/site-session-http.js +11 -0
- package/dist/site-session-http.js.map +1 -0
- package/dist/skill-catalog-context.d.ts +7 -0
- package/dist/skill-files.d.ts +12 -0
- package/dist/skill-metadata.d.ts +9 -0
- package/dist/skill-use.d.ts +61 -0
- package/dist/skills.d.ts +185 -0
- package/dist/slack-bot-scopes.d.ts +46 -21
- package/dist/slack-bot-scopes.js +14 -3
- package/dist/slack-rest-mcp.d.ts +31 -0
- package/dist/slack-rest-mcp.js +19 -0
- package/dist/slack-rest-mcp.js.map +1 -0
- package/dist/slack-task-policy.d.ts +294 -0
- package/dist/spreadsheet-artifact-commands.d.ts +2 -3
- package/dist/spreadsheet-artifact-commands.js +4 -2
- package/dist/spreadsheet-artifact-query.js +3 -2
- package/dist/subscription-account-pools.d.ts +292 -0
- package/dist/task-notes.d.ts +169 -0
- package/dist/tool-catalog.d.ts +286 -0
- package/dist/tool-result-spill.d.ts +16 -0
- package/dist/usage-allowances.d.ts +285 -0
- package/dist/usage-allowances.js +49 -0
- package/dist/usage-allowances.js.map +1 -0
- package/dist/video-generation.d.ts +51 -0
- package/dist/video-generation.js +9 -1
- package/dist/work-claims.d.ts +411 -0
- package/dist/workspace-instruction-policies.d.ts +94 -0
- package/dist/workspace-integration-wire.d.ts +36 -0
- package/dist/workspace-integration-wire.js +23 -0
- package/dist/workspace-integration-wire.js.map +1 -0
- package/dist/workspace-integrations.d.ts +948 -0
- package/dist/workspace-learning-administration.d.ts +289 -0
- package/dist/workspace-learning-policy.d.ts +1 -1
- package/dist/workspace-state.d.ts +85 -416
- package/dist/xai-provider-account-authority.d.ts +26 -0
- package/dist/xai-provider-account-authority.js +9 -0
- package/dist/xai-provider-account-authority.js.map +1 -0
- package/package.json +146 -1
- package/src/agent-authored-durable-text.ts +116 -0
- package/src/agent-config.ts +1527 -0
- package/src/agent-instruction-changes.ts +98 -0
- package/src/agent-learning.ts +161 -0
- package/src/agent-topology.ts +69 -0
- package/src/allowance-refusal.ts +81 -0
- package/src/analytics-consent-report.ts +20 -0
- package/src/api-key-presets.ts +25 -0
- package/src/artifact-catalog.ts +60 -0
- package/src/artifacts.ts +146 -18
- package/src/atlassian-native-retirement.ts +33 -0
- package/src/browser-storage.ts +10 -0
- package/src/bundled-skills.ts +73 -0
- package/src/canonical-human-identities.ts +93 -0
- package/src/claude-provider-account-authority.ts +12 -0
- package/src/claude-subscription-oauth.ts +62 -0
- package/src/claude-subscription-usage.ts +59 -0
- package/src/client-error-report.ts +184 -0
- package/src/code-search.ts +105 -0
- package/src/codex-provider-account-authority.ts +37 -0
- package/src/company-brain-governed-writes.ts +356 -0
- package/src/company-brain.ts +201 -0
- package/src/company-profile.ts +167 -1
- package/src/connect.ts +202 -0
- package/src/connection-account-label.ts +46 -0
- package/src/connection-authority.ts +213 -0
- package/src/connector-attachments.ts +327 -0
- package/src/connector-tool-permissions.ts +60 -0
- package/src/direct-model-provider.ts +98 -0
- package/src/editable-artifact-codec-registry.ts +55 -17
- package/src/editable-artifact-committed-transaction.ts +44 -31
- package/src/editable-artifact-live.ts +123 -57
- package/src/editable-artifact-serialized-commit.ts +2 -1
- package/src/editable-artifact-versions.ts +26 -5
- package/src/editable-artifacts.ts +2 -0
- package/src/external-identities.ts +285 -0
- package/src/feedback.ts +39 -0
- package/src/github-repository-contracts.ts +85 -0
- package/src/github-repository.ts +59 -0
- package/src/google-drive.ts +76 -4
- package/src/governed-learning-activation.ts +191 -0
- package/src/governed-learning-evaluator.ts +176 -0
- package/src/host-mcp-bindings.ts +298 -0
- package/src/image-generation.ts +8 -2
- package/src/index.ts +8019 -1799
- package/src/insights-usage.ts +679 -0
- package/src/interaction.ts +1102 -6
- package/src/knowledge-entries.ts +375 -0
- package/src/knowledge-preparation.ts +50 -0
- package/src/knowledge.ts +335 -0
- package/src/managed-auth-session-sets.ts +253 -0
- package/src/managed-sign-in-methods.ts +37 -0
- package/src/mcp-catalog-limits.ts +2 -0
- package/src/mcp-endpoint.ts +30 -0
- package/src/mcp-oauth.ts +66 -0
- package/src/modal-native-proof-v2.ts +398 -0
- package/src/model-availability.ts +22 -0
- package/src/model-connection-access.ts +17 -0
- package/src/model-context-inspector.ts +139 -0
- package/src/model-display.ts +195 -0
- package/src/model-picker-order.ts +97 -0
- package/src/organization-access.ts +176 -0
- package/src/organization-integration-policy.ts +54 -0
- package/src/organization-membership-lifecycle.ts +559 -0
- package/src/organization-model-usage.ts +72 -0
- package/src/organization-recovery.ts +186 -0
- package/src/organization-usage.ts +79 -0
- package/src/permissions.ts +58 -0
- package/src/personal-github.ts +267 -0
- package/src/plugin-discovery.ts +33 -0
- package/src/preference-registry.ts +20 -1
- package/src/product-analytics.ts +253 -0
- package/src/product-lifecycle-facts.ts +121 -0
- package/src/remember.ts +243 -0
- package/src/retained-output.ts +20 -3
- package/src/sandbox-file-artifacts.ts +73 -0
- package/src/sandbox-provider-command.ts +82 -0
- package/src/sandbox-recovery.ts +116 -0
- package/src/sandbox-snapshots.ts +142 -0
- package/src/session-final-reply.ts +16 -0
- package/src/session-goal-reports.ts +55 -0
- package/src/session-history-import.ts +159 -0
- package/src/session-list-entries.ts +91 -0
- package/src/session-mcp-projections.ts +273 -0
- package/src/session-message-search.ts +54 -0
- package/src/session-titles.ts +467 -0
- package/src/session-topology-primitives.ts +21 -0
- package/src/signup-attribution.ts +81 -0
- package/src/site-request-headers.test.ts +28 -0
- package/src/site-session-http.ts +63 -0
- package/src/skill-catalog-context.ts +50 -0
- package/src/skill-files.ts +52 -0
- package/src/skill-metadata.ts +40 -0
- package/src/skill-use.ts +77 -0
- package/src/skills.ts +136 -0
- package/src/slack-bot-scopes.ts +106 -42
- package/src/slack-rest-mcp.ts +194 -0
- package/src/slack-task-policy.ts +215 -0
- package/src/spreadsheet-artifact-commands.ts +12 -13
- package/src/subscription-account-pools.ts +44 -0
- package/src/task-notes.ts +105 -0
- package/src/tool-catalog.ts +155 -0
- package/src/tool-result-spill.ts +35 -0
- package/src/usage-allowances.ts +187 -0
- package/src/video-generation.ts +43 -6
- package/src/work-claims.ts +266 -0
- package/src/workspace-instruction-policies.ts +31 -0
- package/src/workspace-integration-wire.ts +99 -0
- package/src/workspace-integrations.ts +640 -0
- package/src/workspace-learning-administration.ts +88 -0
- package/src/workspace-learning-policy.ts +4 -3
- package/src/workspace-state.ts +16 -126
- package/src/xai-provider-account-authority.ts +38 -0
- package/dist/chunk-52SGB2QO.js.map +0 -1
- package/dist/chunk-5UDNP7AO.js.map +0 -1
- package/dist/chunk-BVGIYW7D.js +0 -11
- package/dist/chunk-BVGIYW7D.js.map +0 -1
- package/dist/chunk-FJBG5E4O.js.map +0 -1
- package/dist/chunk-H5BVCZKF.js.map +0 -1
- package/dist/chunk-LSB7GRLG.js.map +0 -1
- package/dist/chunk-TZ6YEYN4.js.map +0 -1
- package/dist/chunk-VA22KRHS.js +0 -15177
- package/dist/chunk-VA22KRHS.js.map +0 -1
- package/dist/chunk-Y3MLSLB4.js.map +0 -1
- /package/dist/{chunk-CADSX6UN.js.map → chunk-Y3KNXVTD.js.map} +0 -0
|
@@ -0,0 +1,285 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
/** Credit amounts are integer USD micros (1 USD = 1,000,000), never floating-point dollars. */
|
|
3
|
+
export declare const AllowanceCredits: z.ZodNumber;
|
|
4
|
+
/**
|
|
5
|
+
* A share scales with the current workspace pool, including unexpired grants.
|
|
6
|
+
* Shares may exceed 1 and their sum may exceed 1: they are ceilings, not reserved
|
|
7
|
+
* allocations. Concurrent/in-flight calls can overshoot a ceiling; enforcement
|
|
8
|
+
* happens before the next call, after actual usage is settled.
|
|
9
|
+
* null removes the override and uses the workspace's memberDefault.
|
|
10
|
+
*/
|
|
11
|
+
export declare const MemberAllowanceRule: z.ZodUnion<readonly [z.ZodObject<{
|
|
12
|
+
share: z.ZodNumber;
|
|
13
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
14
|
+
credits: z.ZodNumber;
|
|
15
|
+
}, z.core.$strict>, z.ZodNull]>;
|
|
16
|
+
export type MemberAllowanceRule = z.infer<typeof MemberAllowanceRule>;
|
|
17
|
+
export declare const MemberAllowanceDefault: z.ZodUnion<readonly [z.ZodEnum<{
|
|
18
|
+
equal_share: "equal_share";
|
|
19
|
+
none: "none";
|
|
20
|
+
}>, z.ZodObject<{
|
|
21
|
+
share: z.ZodNumber;
|
|
22
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
23
|
+
credits: z.ZodNumber;
|
|
24
|
+
}, z.core.$strict>]>;
|
|
25
|
+
export type MemberAllowanceDefault = z.infer<typeof MemberAllowanceDefault>;
|
|
26
|
+
/** Omitted threshold lists default to [0.8, 1]. Monthly boundaries are UTC. */
|
|
27
|
+
export declare const WorkspaceAllowanceConfig: z.ZodObject<{
|
|
28
|
+
includedCredits: z.ZodNumber;
|
|
29
|
+
period: z.ZodEnum<{
|
|
30
|
+
monthly: "monthly";
|
|
31
|
+
none: "none";
|
|
32
|
+
}>;
|
|
33
|
+
anchorDay: z.ZodOptional<z.ZodNumber>;
|
|
34
|
+
memberDefault: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
35
|
+
equal_share: "equal_share";
|
|
36
|
+
none: "none";
|
|
37
|
+
}>, z.ZodObject<{
|
|
38
|
+
share: z.ZodNumber;
|
|
39
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
40
|
+
credits: z.ZodNumber;
|
|
41
|
+
}, z.core.$strict>]>>;
|
|
42
|
+
thresholds: z.ZodOptional<z.ZodObject<{
|
|
43
|
+
workspace: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
44
|
+
member: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
45
|
+
}, z.core.$strict>>;
|
|
46
|
+
}, z.core.$strict>;
|
|
47
|
+
export type WorkspaceAllowanceConfig = z.infer<typeof WorkspaceAllowanceConfig>;
|
|
48
|
+
export declare const WorkspaceAllowance: z.ZodObject<{
|
|
49
|
+
includedCredits: z.ZodNumber;
|
|
50
|
+
period: z.ZodEnum<{
|
|
51
|
+
monthly: "monthly";
|
|
52
|
+
none: "none";
|
|
53
|
+
}>;
|
|
54
|
+
anchorDay: z.ZodOptional<z.ZodNumber>;
|
|
55
|
+
memberDefault: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
56
|
+
equal_share: "equal_share";
|
|
57
|
+
none: "none";
|
|
58
|
+
}>, z.ZodObject<{
|
|
59
|
+
share: z.ZodNumber;
|
|
60
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
61
|
+
credits: z.ZodNumber;
|
|
62
|
+
}, z.core.$strict>]>>;
|
|
63
|
+
thresholds: z.ZodOptional<z.ZodObject<{
|
|
64
|
+
workspace: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
65
|
+
member: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
66
|
+
}, z.core.$strict>>;
|
|
67
|
+
version: z.ZodNumber;
|
|
68
|
+
}, z.core.$strict>;
|
|
69
|
+
export type WorkspaceAllowance = z.infer<typeof WorkspaceAllowance>;
|
|
70
|
+
/**
|
|
71
|
+
* Lifecycle version survives clear. version=0 means never configured; a null
|
|
72
|
+
* config with a positive version is cleared. Use this version for recreation.
|
|
73
|
+
* The existing nullable configuration read remains unchanged.
|
|
74
|
+
*/
|
|
75
|
+
export declare const WorkspaceAllowanceState: z.ZodObject<{
|
|
76
|
+
version: z.ZodNumber;
|
|
77
|
+
config: z.ZodNullable<z.ZodObject<{
|
|
78
|
+
includedCredits: z.ZodNumber;
|
|
79
|
+
period: z.ZodEnum<{
|
|
80
|
+
monthly: "monthly";
|
|
81
|
+
none: "none";
|
|
82
|
+
}>;
|
|
83
|
+
anchorDay: z.ZodOptional<z.ZodNumber>;
|
|
84
|
+
memberDefault: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
85
|
+
equal_share: "equal_share";
|
|
86
|
+
none: "none";
|
|
87
|
+
}>, z.ZodObject<{
|
|
88
|
+
share: z.ZodNumber;
|
|
89
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
90
|
+
credits: z.ZodNumber;
|
|
91
|
+
}, z.core.$strict>]>>;
|
|
92
|
+
thresholds: z.ZodOptional<z.ZodObject<{
|
|
93
|
+
workspace: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
94
|
+
member: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
95
|
+
}, z.core.$strict>>;
|
|
96
|
+
version: z.ZodNumber;
|
|
97
|
+
}, z.core.$strict>>;
|
|
98
|
+
}, z.core.$strict>;
|
|
99
|
+
export type WorkspaceAllowanceState = z.infer<typeof WorkspaceAllowanceState>;
|
|
100
|
+
export declare const SetWorkspaceAllowanceRequest: z.ZodObject<{
|
|
101
|
+
includedCredits: z.ZodNumber;
|
|
102
|
+
period: z.ZodEnum<{
|
|
103
|
+
monthly: "monthly";
|
|
104
|
+
none: "none";
|
|
105
|
+
}>;
|
|
106
|
+
anchorDay: z.ZodOptional<z.ZodNumber>;
|
|
107
|
+
memberDefault: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
108
|
+
equal_share: "equal_share";
|
|
109
|
+
none: "none";
|
|
110
|
+
}>, z.ZodObject<{
|
|
111
|
+
share: z.ZodNumber;
|
|
112
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
113
|
+
credits: z.ZodNumber;
|
|
114
|
+
}, z.core.$strict>]>>;
|
|
115
|
+
thresholds: z.ZodOptional<z.ZodObject<{
|
|
116
|
+
workspace: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
117
|
+
member: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
118
|
+
}, z.core.$strict>>;
|
|
119
|
+
expectedVersion: z.ZodNumber;
|
|
120
|
+
}, z.core.$strict>;
|
|
121
|
+
export type SetWorkspaceAllowanceRequest = z.infer<typeof SetWorkspaceAllowanceRequest>;
|
|
122
|
+
/** Reuse operationId and the exact expectedVersion to recover a lost clear
|
|
123
|
+
* receipt. A later lifecycle change conflicts; read the state before deciding
|
|
124
|
+
* on a new mutation, never guess a version or change it for a retry. */
|
|
125
|
+
export declare const ClearWorkspaceAllowanceRequest: z.ZodObject<{
|
|
126
|
+
expectedVersion: z.ZodNumber;
|
|
127
|
+
operationId: z.ZodOptional<z.ZodString>;
|
|
128
|
+
}, z.core.$strict>;
|
|
129
|
+
export type ClearWorkspaceAllowanceRequest = z.infer<typeof ClearWorkspaceAllowanceRequest>;
|
|
130
|
+
export declare const ClearWorkspaceAllowanceResponse: z.ZodObject<{
|
|
131
|
+
version: z.ZodNumber;
|
|
132
|
+
}, z.core.$strict>;
|
|
133
|
+
export type ClearWorkspaceAllowanceResponse = z.infer<typeof ClearWorkspaceAllowanceResponse>;
|
|
134
|
+
/** Reuse the operationId and exact request to recover an uncertain grant response. */
|
|
135
|
+
export declare const GrantWorkspaceCreditsRequest: z.ZodObject<{
|
|
136
|
+
operationId: z.ZodString;
|
|
137
|
+
credits: z.ZodNumber;
|
|
138
|
+
expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
139
|
+
}, z.core.$strict>;
|
|
140
|
+
export type GrantWorkspaceCreditsRequest = z.infer<typeof GrantWorkspaceCreditsRequest>;
|
|
141
|
+
export declare const WorkspaceCreditGrant: z.ZodObject<{
|
|
142
|
+
operationId: z.ZodString;
|
|
143
|
+
credits: z.ZodNumber;
|
|
144
|
+
remaining: z.ZodNumber;
|
|
145
|
+
expiresAt: z.ZodNullable<z.ZodString>;
|
|
146
|
+
}, z.core.$strict>;
|
|
147
|
+
export type WorkspaceCreditGrant = z.infer<typeof WorkspaceCreditGrant>;
|
|
148
|
+
export declare const SetMemberAllowanceRequest: z.ZodObject<{
|
|
149
|
+
rule: z.ZodUnion<readonly [z.ZodObject<{
|
|
150
|
+
share: z.ZodNumber;
|
|
151
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
152
|
+
credits: z.ZodNumber;
|
|
153
|
+
}, z.core.$strict>, z.ZodNull]>;
|
|
154
|
+
expectedVersion: z.ZodNumber;
|
|
155
|
+
}, z.core.$strict>;
|
|
156
|
+
export type SetMemberAllowanceRequest = z.infer<typeof SetMemberAllowanceRequest>;
|
|
157
|
+
export declare const MemberAllowance: z.ZodObject<{
|
|
158
|
+
subjectId: z.ZodString;
|
|
159
|
+
rule: z.ZodUnion<readonly [z.ZodObject<{
|
|
160
|
+
share: z.ZodNumber;
|
|
161
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
162
|
+
credits: z.ZodNumber;
|
|
163
|
+
}, z.core.$strict>, z.ZodNull]>;
|
|
164
|
+
version: z.ZodNumber;
|
|
165
|
+
}, z.core.$strict>;
|
|
166
|
+
export type MemberAllowance = z.infer<typeof MemberAllowance>;
|
|
167
|
+
export declare const UsageAllowancePeriod: z.ZodUnion<readonly [z.ZodLiteral<"current">, z.ZodString]>;
|
|
168
|
+
export type UsageAllowancePeriod = z.infer<typeof UsageAllowancePeriod>;
|
|
169
|
+
export declare const GetUsageRequest: z.ZodObject<{
|
|
170
|
+
period: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"current">, z.ZodString]>>;
|
|
171
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
172
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
173
|
+
}, z.core.$strict>;
|
|
174
|
+
export type GetUsageRequest = z.infer<typeof GetUsageRequest>;
|
|
175
|
+
export declare const GetMyUsageRequest: z.ZodObject<{
|
|
176
|
+
period: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"current">, z.ZodString]>>;
|
|
177
|
+
}, z.core.$strict>;
|
|
178
|
+
export type GetMyUsageRequest = z.infer<typeof GetMyUsageRequest>;
|
|
179
|
+
export declare const UsageAllowanceStatus: z.ZodEnum<{
|
|
180
|
+
exhausted: "exhausted";
|
|
181
|
+
ok: "ok";
|
|
182
|
+
warning: "warning";
|
|
183
|
+
}>;
|
|
184
|
+
export type UsageAllowanceStatus = z.infer<typeof UsageAllowanceStatus>;
|
|
185
|
+
export declare const UsageAllowanceWindow: z.ZodObject<{
|
|
186
|
+
start: z.ZodNullable<z.ZodString>;
|
|
187
|
+
end: z.ZodNullable<z.ZodString>;
|
|
188
|
+
}, z.core.$strict>;
|
|
189
|
+
export type UsageAllowanceWindow = z.infer<typeof UsageAllowanceWindow>;
|
|
190
|
+
export declare const WorkspaceAllowanceUsage: z.ZodObject<{
|
|
191
|
+
limit: z.ZodNullable<z.ZodNumber>;
|
|
192
|
+
used: z.ZodNumber;
|
|
193
|
+
remaining: z.ZodNullable<z.ZodNumber>;
|
|
194
|
+
fraction: z.ZodNullable<z.ZodNumber>;
|
|
195
|
+
status: z.ZodEnum<{
|
|
196
|
+
exhausted: "exhausted";
|
|
197
|
+
ok: "ok";
|
|
198
|
+
warning: "warning";
|
|
199
|
+
}>;
|
|
200
|
+
resetsAt: z.ZodNullable<z.ZodString>;
|
|
201
|
+
includedCredits: z.ZodNumber;
|
|
202
|
+
grantsRemaining: z.ZodNumber;
|
|
203
|
+
}, z.core.$strict>;
|
|
204
|
+
export type WorkspaceAllowanceUsage = z.infer<typeof WorkspaceAllowanceUsage>;
|
|
205
|
+
export declare const MemberAllowanceUsage: z.ZodObject<{
|
|
206
|
+
limit: z.ZodNullable<z.ZodNumber>;
|
|
207
|
+
used: z.ZodNumber;
|
|
208
|
+
remaining: z.ZodNullable<z.ZodNumber>;
|
|
209
|
+
fraction: z.ZodNullable<z.ZodNumber>;
|
|
210
|
+
status: z.ZodEnum<{
|
|
211
|
+
exhausted: "exhausted";
|
|
212
|
+
ok: "ok";
|
|
213
|
+
warning: "warning";
|
|
214
|
+
}>;
|
|
215
|
+
resetsAt: z.ZodNullable<z.ZodString>;
|
|
216
|
+
subjectId: z.ZodString;
|
|
217
|
+
externalIdentity: z.ZodNullable<z.ZodObject<{
|
|
218
|
+
source: z.ZodString;
|
|
219
|
+
externalId: z.ZodString;
|
|
220
|
+
}, z.core.$strict>>;
|
|
221
|
+
rule: z.ZodUnion<readonly [z.ZodObject<{
|
|
222
|
+
share: z.ZodNumber;
|
|
223
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
224
|
+
credits: z.ZodNumber;
|
|
225
|
+
}, z.core.$strict>, z.ZodNull]>;
|
|
226
|
+
version: z.ZodNumber;
|
|
227
|
+
}, z.core.$strict>;
|
|
228
|
+
export type MemberAllowanceUsage = z.infer<typeof MemberAllowanceUsage>;
|
|
229
|
+
/** /usage/me returns only the authenticated subject's member row, never the roster. */
|
|
230
|
+
export declare const WorkspaceUsageResponse: z.ZodObject<{
|
|
231
|
+
period: z.ZodObject<{
|
|
232
|
+
start: z.ZodNullable<z.ZodString>;
|
|
233
|
+
end: z.ZodNullable<z.ZodString>;
|
|
234
|
+
}, z.core.$strict>;
|
|
235
|
+
workspace: z.ZodObject<{
|
|
236
|
+
limit: z.ZodNullable<z.ZodNumber>;
|
|
237
|
+
used: z.ZodNumber;
|
|
238
|
+
remaining: z.ZodNullable<z.ZodNumber>;
|
|
239
|
+
fraction: z.ZodNullable<z.ZodNumber>;
|
|
240
|
+
status: z.ZodEnum<{
|
|
241
|
+
exhausted: "exhausted";
|
|
242
|
+
ok: "ok";
|
|
243
|
+
warning: "warning";
|
|
244
|
+
}>;
|
|
245
|
+
resetsAt: z.ZodNullable<z.ZodString>;
|
|
246
|
+
includedCredits: z.ZodNumber;
|
|
247
|
+
grantsRemaining: z.ZodNumber;
|
|
248
|
+
}, z.core.$strict>;
|
|
249
|
+
members: z.ZodArray<z.ZodObject<{
|
|
250
|
+
limit: z.ZodNullable<z.ZodNumber>;
|
|
251
|
+
used: z.ZodNumber;
|
|
252
|
+
remaining: z.ZodNullable<z.ZodNumber>;
|
|
253
|
+
fraction: z.ZodNullable<z.ZodNumber>;
|
|
254
|
+
status: z.ZodEnum<{
|
|
255
|
+
exhausted: "exhausted";
|
|
256
|
+
ok: "ok";
|
|
257
|
+
warning: "warning";
|
|
258
|
+
}>;
|
|
259
|
+
resetsAt: z.ZodNullable<z.ZodString>;
|
|
260
|
+
subjectId: z.ZodString;
|
|
261
|
+
externalIdentity: z.ZodNullable<z.ZodObject<{
|
|
262
|
+
source: z.ZodString;
|
|
263
|
+
externalId: z.ZodString;
|
|
264
|
+
}, z.core.$strict>>;
|
|
265
|
+
rule: z.ZodUnion<readonly [z.ZodObject<{
|
|
266
|
+
share: z.ZodNumber;
|
|
267
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
268
|
+
credits: z.ZodNumber;
|
|
269
|
+
}, z.core.$strict>, z.ZodNull]>;
|
|
270
|
+
version: z.ZodNumber;
|
|
271
|
+
}, z.core.$strict>>;
|
|
272
|
+
nextCursor: z.ZodNullable<z.ZodString>;
|
|
273
|
+
}, z.core.$strict>;
|
|
274
|
+
export type WorkspaceUsageResponse = z.infer<typeof WorkspaceUsageResponse>;
|
|
275
|
+
export declare const AllowanceExhaustedRefusal: z.ZodObject<{
|
|
276
|
+
code: z.ZodLiteral<"allowance_exhausted">;
|
|
277
|
+
scope: z.ZodEnum<{
|
|
278
|
+
member: "member";
|
|
279
|
+
workspace: "workspace";
|
|
280
|
+
}>;
|
|
281
|
+
resetsAt: z.ZodNullable<z.ZodString>;
|
|
282
|
+
subjectId: z.ZodOptional<z.ZodString>;
|
|
283
|
+
message: z.ZodString;
|
|
284
|
+
}, z.core.$strict>;
|
|
285
|
+
export type AllowanceExhaustedRefusal = z.infer<typeof AllowanceExhaustedRefusal>;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import {
|
|
2
|
+
AllowanceCredits,
|
|
3
|
+
AllowanceExhaustedRefusal,
|
|
4
|
+
ClearWorkspaceAllowanceRequest,
|
|
5
|
+
ClearWorkspaceAllowanceResponse,
|
|
6
|
+
GetMyUsageRequest,
|
|
7
|
+
GetUsageRequest,
|
|
8
|
+
GrantWorkspaceCreditsRequest,
|
|
9
|
+
MemberAllowance,
|
|
10
|
+
MemberAllowanceDefault,
|
|
11
|
+
MemberAllowanceRule,
|
|
12
|
+
MemberAllowanceUsage,
|
|
13
|
+
SetMemberAllowanceRequest,
|
|
14
|
+
SetWorkspaceAllowanceRequest,
|
|
15
|
+
UsageAllowancePeriod,
|
|
16
|
+
UsageAllowanceStatus,
|
|
17
|
+
UsageAllowanceWindow,
|
|
18
|
+
WorkspaceAllowance,
|
|
19
|
+
WorkspaceAllowanceConfig,
|
|
20
|
+
WorkspaceAllowanceState,
|
|
21
|
+
WorkspaceAllowanceUsage,
|
|
22
|
+
WorkspaceCreditGrant,
|
|
23
|
+
WorkspaceUsageResponse
|
|
24
|
+
} from "./chunk-EK7NDGFR.js";
|
|
25
|
+
export {
|
|
26
|
+
AllowanceCredits,
|
|
27
|
+
AllowanceExhaustedRefusal,
|
|
28
|
+
ClearWorkspaceAllowanceRequest,
|
|
29
|
+
ClearWorkspaceAllowanceResponse,
|
|
30
|
+
GetMyUsageRequest,
|
|
31
|
+
GetUsageRequest,
|
|
32
|
+
GrantWorkspaceCreditsRequest,
|
|
33
|
+
MemberAllowance,
|
|
34
|
+
MemberAllowanceDefault,
|
|
35
|
+
MemberAllowanceRule,
|
|
36
|
+
MemberAllowanceUsage,
|
|
37
|
+
SetMemberAllowanceRequest,
|
|
38
|
+
SetWorkspaceAllowanceRequest,
|
|
39
|
+
UsageAllowancePeriod,
|
|
40
|
+
UsageAllowanceStatus,
|
|
41
|
+
UsageAllowanceWindow,
|
|
42
|
+
WorkspaceAllowance,
|
|
43
|
+
WorkspaceAllowanceConfig,
|
|
44
|
+
WorkspaceAllowanceState,
|
|
45
|
+
WorkspaceAllowanceUsage,
|
|
46
|
+
WorkspaceCreditGrant,
|
|
47
|
+
WorkspaceUsageResponse
|
|
48
|
+
};
|
|
49
|
+
//# sourceMappingURL=usage-allowances.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const VIDEO_GENERATION_SCHEMA_VERSION: 1;
|
|
3
3
|
export declare const SEEDANCE_2_5_MODEL_ID: "bytedance/seedance-2.5";
|
|
4
|
+
export declare const GROK_IMAGINE_VIDEO_1_5_MODEL_ID: "xai/grok-imagine-video-1.5";
|
|
4
5
|
export declare const VideoGenerationSourceMode: z.ZodEnum<{
|
|
5
6
|
first_and_last_frames: "first_and_last_frames";
|
|
6
7
|
first_frame: "first_frame";
|
|
@@ -16,6 +17,7 @@ export declare const VideoGenerationResolution: z.ZodEnum<{
|
|
|
16
17
|
export type VideoGenerationResolution = z.infer<typeof VideoGenerationResolution>;
|
|
17
18
|
export declare const VideoGenerationFundingSource: z.ZodEnum<{
|
|
18
19
|
opengeni_credits: "opengeni_credits";
|
|
20
|
+
supergrok_subscription: "supergrok_subscription";
|
|
19
21
|
workspace_gateway: "workspace_gateway";
|
|
20
22
|
}>;
|
|
21
23
|
export type VideoGenerationFundingSource = z.infer<typeof VideoGenerationFundingSource>;
|
|
@@ -159,6 +161,7 @@ export declare const VideoGenerationPolicy: z.ZodObject<{
|
|
|
159
161
|
revision: z.ZodNumber;
|
|
160
162
|
fundingSource: z.ZodEnum<{
|
|
161
163
|
opengeni_credits: "opengeni_credits";
|
|
164
|
+
supergrok_subscription: "supergrok_subscription";
|
|
162
165
|
workspace_gateway: "workspace_gateway";
|
|
163
166
|
}>;
|
|
164
167
|
enabledModelIds: z.ZodArray<z.ZodString>;
|
|
@@ -169,6 +172,7 @@ export declare const UpdateVideoGenerationPolicyRequest: z.ZodObject<{
|
|
|
169
172
|
expectedRevision: z.ZodNumber;
|
|
170
173
|
fundingSource: z.ZodEnum<{
|
|
171
174
|
opengeni_credits: "opengeni_credits";
|
|
175
|
+
supergrok_subscription: "supergrok_subscription";
|
|
172
176
|
workspace_gateway: "workspace_gateway";
|
|
173
177
|
}>;
|
|
174
178
|
enabledModelIds: z.ZodArray<z.ZodString>;
|
|
@@ -178,6 +182,7 @@ export type UpdateVideoGenerationPolicyRequest = z.infer<typeof UpdateVideoGener
|
|
|
178
182
|
export declare const VideoGenerationFundingOption: z.ZodObject<{
|
|
179
183
|
source: z.ZodEnum<{
|
|
180
184
|
opengeni_credits: "opengeni_credits";
|
|
185
|
+
supergrok_subscription: "supergrok_subscription";
|
|
181
186
|
workspace_gateway: "workspace_gateway";
|
|
182
187
|
}>;
|
|
183
188
|
label: z.ZodString;
|
|
@@ -193,6 +198,7 @@ export declare const WorkspaceVideoGenerationSettings: z.ZodObject<{
|
|
|
193
198
|
revision: z.ZodNumber;
|
|
194
199
|
fundingSource: z.ZodEnum<{
|
|
195
200
|
opengeni_credits: "opengeni_credits";
|
|
201
|
+
supergrok_subscription: "supergrok_subscription";
|
|
196
202
|
workspace_gateway: "workspace_gateway";
|
|
197
203
|
}>;
|
|
198
204
|
enabledModelIds: z.ZodArray<z.ZodString>;
|
|
@@ -201,6 +207,7 @@ export declare const WorkspaceVideoGenerationSettings: z.ZodObject<{
|
|
|
201
207
|
fundingOptions: z.ZodArray<z.ZodObject<{
|
|
202
208
|
source: z.ZodEnum<{
|
|
203
209
|
opengeni_credits: "opengeni_credits";
|
|
210
|
+
supergrok_subscription: "supergrok_subscription";
|
|
204
211
|
workspace_gateway: "workspace_gateway";
|
|
205
212
|
}>;
|
|
206
213
|
label: z.ZodString;
|
|
@@ -283,6 +290,47 @@ export declare const VideoGenerationAcceptedReceipt: z.ZodObject<{
|
|
|
283
290
|
operationId: z.ZodString;
|
|
284
291
|
}, z.core.$strict>;
|
|
285
292
|
export type VideoGenerationAcceptedReceipt = z.infer<typeof VideoGenerationAcceptedReceipt>;
|
|
293
|
+
export declare const VideoGenerationRejectedCode: z.ZodEnum<{
|
|
294
|
+
invalid_reference_path: "invalid_reference_path";
|
|
295
|
+
reference_media_type_mismatch: "reference_media_type_mismatch";
|
|
296
|
+
reference_not_stable: "reference_not_stable";
|
|
297
|
+
reference_too_large: "reference_too_large";
|
|
298
|
+
unsupported_reference_media: "unsupported_reference_media";
|
|
299
|
+
}>;
|
|
300
|
+
export type VideoGenerationRejectedCode = z.infer<typeof VideoGenerationRejectedCode>;
|
|
301
|
+
/** Deterministic pre-admission rejection: no provider request or durable operation was created. */
|
|
302
|
+
export declare const VideoGenerationRejectedResult: z.ZodObject<{
|
|
303
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
304
|
+
status: z.ZodLiteral<"rejected">;
|
|
305
|
+
code: z.ZodEnum<{
|
|
306
|
+
invalid_reference_path: "invalid_reference_path";
|
|
307
|
+
reference_media_type_mismatch: "reference_media_type_mismatch";
|
|
308
|
+
reference_not_stable: "reference_not_stable";
|
|
309
|
+
reference_too_large: "reference_too_large";
|
|
310
|
+
unsupported_reference_media: "unsupported_reference_media";
|
|
311
|
+
}>;
|
|
312
|
+
message: z.ZodString;
|
|
313
|
+
operationCreated: z.ZodLiteral<false>;
|
|
314
|
+
}, z.core.$strict>;
|
|
315
|
+
export type VideoGenerationRejectedResult = z.infer<typeof VideoGenerationRejectedResult>;
|
|
316
|
+
export declare const VideoGenerationToolResult: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
317
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
318
|
+
status: z.ZodLiteral<"accepted">;
|
|
319
|
+
operationId: z.ZodString;
|
|
320
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
321
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
322
|
+
status: z.ZodLiteral<"rejected">;
|
|
323
|
+
code: z.ZodEnum<{
|
|
324
|
+
invalid_reference_path: "invalid_reference_path";
|
|
325
|
+
reference_media_type_mismatch: "reference_media_type_mismatch";
|
|
326
|
+
reference_not_stable: "reference_not_stable";
|
|
327
|
+
reference_too_large: "reference_too_large";
|
|
328
|
+
unsupported_reference_media: "unsupported_reference_media";
|
|
329
|
+
}>;
|
|
330
|
+
message: z.ZodString;
|
|
331
|
+
operationCreated: z.ZodLiteral<false>;
|
|
332
|
+
}, z.core.$strict>], "status">;
|
|
333
|
+
export type VideoGenerationToolResult = z.infer<typeof VideoGenerationToolResult>;
|
|
286
334
|
export declare const GeneratedVideoFacts: z.ZodObject<{
|
|
287
335
|
durationSeconds: z.ZodNumber;
|
|
288
336
|
width: z.ZodNumber;
|
|
@@ -302,6 +350,7 @@ export declare const GeneratedVideoReceipt: z.ZodObject<{
|
|
|
302
350
|
artifactId: z.ZodString;
|
|
303
351
|
kind: z.ZodEnum<{
|
|
304
352
|
assistant_completion: "assistant_completion";
|
|
353
|
+
browser_screenshot: "browser_screenshot";
|
|
305
354
|
computer_screenshot: "computer_screenshot";
|
|
306
355
|
event_media: "event_media";
|
|
307
356
|
file: "file";
|
|
@@ -365,6 +414,7 @@ export declare const MediaGenerationResult: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
365
414
|
artifactId: z.ZodString;
|
|
366
415
|
kind: z.ZodEnum<{
|
|
367
416
|
assistant_completion: "assistant_completion";
|
|
417
|
+
browser_screenshot: "browser_screenshot";
|
|
368
418
|
computer_screenshot: "computer_screenshot";
|
|
369
419
|
event_media: "event_media";
|
|
370
420
|
file: "file";
|
|
@@ -464,6 +514,7 @@ export declare const VideoGenerationOperationSummary: z.ZodObject<{
|
|
|
464
514
|
artifactId: z.ZodString;
|
|
465
515
|
kind: z.ZodEnum<{
|
|
466
516
|
assistant_completion: "assistant_completion";
|
|
517
|
+
browser_screenshot: "browser_screenshot";
|
|
467
518
|
computer_screenshot: "computer_screenshot";
|
|
468
519
|
event_media: "event_media";
|
|
469
520
|
file: "file";
|
package/dist/video-generation.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import {
|
|
2
|
+
GROK_IMAGINE_VIDEO_1_5_MODEL_ID,
|
|
2
3
|
GenerateVideoToolInput,
|
|
3
4
|
GeneratedVideoFacts,
|
|
4
5
|
GeneratedVideoReceipt,
|
|
@@ -17,13 +18,17 @@ import {
|
|
|
17
18
|
VideoGenerationOperationSummary,
|
|
18
19
|
VideoGenerationPolicy,
|
|
19
20
|
VideoGenerationPublicStatus,
|
|
21
|
+
VideoGenerationRejectedCode,
|
|
22
|
+
VideoGenerationRejectedResult,
|
|
20
23
|
VideoGenerationResolution,
|
|
21
24
|
VideoGenerationSource,
|
|
22
25
|
VideoGenerationSourceMode,
|
|
23
26
|
VideoGenerationTerminalFailureStatus,
|
|
27
|
+
VideoGenerationToolResult,
|
|
24
28
|
WorkspaceVideoGenerationSettings
|
|
25
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-5IXYF6XN.js";
|
|
26
30
|
export {
|
|
31
|
+
GROK_IMAGINE_VIDEO_1_5_MODEL_ID,
|
|
27
32
|
GenerateVideoToolInput,
|
|
28
33
|
GeneratedVideoFacts,
|
|
29
34
|
GeneratedVideoReceipt,
|
|
@@ -42,10 +47,13 @@ export {
|
|
|
42
47
|
VideoGenerationOperationSummary,
|
|
43
48
|
VideoGenerationPolicy,
|
|
44
49
|
VideoGenerationPublicStatus,
|
|
50
|
+
VideoGenerationRejectedCode,
|
|
51
|
+
VideoGenerationRejectedResult,
|
|
45
52
|
VideoGenerationResolution,
|
|
46
53
|
VideoGenerationSource,
|
|
47
54
|
VideoGenerationSourceMode,
|
|
48
55
|
VideoGenerationTerminalFailureStatus,
|
|
56
|
+
VideoGenerationToolResult,
|
|
49
57
|
WorkspaceVideoGenerationSettings
|
|
50
58
|
};
|
|
51
59
|
//# sourceMappingURL=video-generation.js.map
|