@opengeni/contracts 0.39.0 → 0.44.1

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.
Files changed (130) hide show
  1. package/dist/atlassian.d.ts +278 -0
  2. package/dist/atlassian.js +55 -0
  3. package/dist/atlassian.js.map +1 -0
  4. package/dist/chunk-52SGB2QO.js +688 -0
  5. package/dist/chunk-52SGB2QO.js.map +1 -0
  6. package/dist/{chunk-7JZMI22I.js → chunk-5UDNP7AO.js} +34 -2
  7. package/dist/chunk-5UDNP7AO.js.map +1 -0
  8. package/dist/chunk-BVGIYW7D.js +11 -0
  9. package/dist/chunk-BVGIYW7D.js.map +1 -0
  10. package/dist/chunk-CADSX6UN.js +1145 -0
  11. package/dist/chunk-CADSX6UN.js.map +1 -0
  12. package/dist/chunk-D2HKF2EF.js +1460 -0
  13. package/dist/chunk-D2HKF2EF.js.map +1 -0
  14. package/dist/chunk-FJBG5E4O.js +194 -0
  15. package/dist/chunk-FJBG5E4O.js.map +1 -0
  16. package/dist/chunk-H5BVCZKF.js +382 -0
  17. package/dist/chunk-H5BVCZKF.js.map +1 -0
  18. package/dist/chunk-LSB7GRLG.js +779 -0
  19. package/dist/chunk-LSB7GRLG.js.map +1 -0
  20. package/dist/chunk-MYBZRDTY.js +340 -0
  21. package/dist/chunk-MYBZRDTY.js.map +1 -0
  22. package/dist/chunk-RIY7GYQS.js +1204 -0
  23. package/dist/chunk-RIY7GYQS.js.map +1 -0
  24. package/dist/chunk-TZ6YEYN4.js +386 -0
  25. package/dist/chunk-TZ6YEYN4.js.map +1 -0
  26. package/dist/chunk-VA22KRHS.js +15177 -0
  27. package/dist/chunk-VA22KRHS.js.map +1 -0
  28. package/dist/chunk-Y3MLSLB4.js +392 -0
  29. package/dist/chunk-Y3MLSLB4.js.map +1 -0
  30. package/dist/chunk-YRKRZ6OF.js +134 -0
  31. package/dist/chunk-YRKRZ6OF.js.map +1 -0
  32. package/dist/company-profile.d.ts +629 -0
  33. package/dist/document-artifact-commands.d.ts +282 -0
  34. package/dist/document-artifact-commands.js +54 -0
  35. package/dist/document-artifact-commands.js.map +1 -0
  36. package/dist/document-artifact-query.d.ts +2 -0
  37. package/dist/document-artifact-query.js +54 -0
  38. package/dist/document-artifact-query.js.map +1 -0
  39. package/dist/editable-artifact-binary.d.ts +56 -0
  40. package/dist/editable-artifact-causal-frontier.d.ts +12 -0
  41. package/dist/editable-artifact-causal-frontier.js +18 -0
  42. package/dist/editable-artifact-causal-frontier.js.map +1 -0
  43. package/dist/editable-artifact-codec-registry.d.ts +48 -0
  44. package/dist/editable-artifact-codec-registry.js +20 -0
  45. package/dist/editable-artifact-codec-registry.js.map +1 -0
  46. package/dist/editable-artifact-committed-transaction.d.ts +35 -0
  47. package/dist/editable-artifact-committed-transaction.js +19 -0
  48. package/dist/editable-artifact-committed-transaction.js.map +1 -0
  49. package/dist/editable-artifact-live.d.ts +276 -0
  50. package/dist/editable-artifact-live.js +907 -0
  51. package/dist/editable-artifact-live.js.map +1 -0
  52. package/dist/editable-artifact-serialized-commit.d.ts +53 -0
  53. package/dist/editable-artifact-serialized-commit.js +26 -0
  54. package/dist/editable-artifact-serialized-commit.js.map +1 -0
  55. package/dist/editable-artifact-versions.d.ts +6 -0
  56. package/dist/editable-artifact-versions.js +11 -0
  57. package/dist/editable-artifact-versions.js.map +1 -0
  58. package/dist/editable-artifacts.d.ts +46 -0
  59. package/dist/editable-artifacts.js +236 -0
  60. package/dist/editable-artifacts.js.map +1 -0
  61. package/dist/event-preview.d.ts +7 -7
  62. package/dist/google-drive.d.ts +114 -2
  63. package/dist/google-drive.js +70 -14
  64. package/dist/google-drive.js.map +1 -1
  65. package/dist/image-generation.d.ts +70 -0
  66. package/dist/index.d.ts +5180 -329
  67. package/dist/index.js +1173 -40
  68. package/dist/interaction.d.ts +6895 -0
  69. package/dist/mcp-receipts.d.ts +96 -0
  70. package/dist/memory-slack-delivery.d.ts +397 -0
  71. package/dist/presentation-artifact-commands.d.ts +349 -0
  72. package/dist/presentation-artifact-commands.js +66 -0
  73. package/dist/presentation-artifact-commands.js.map +1 -0
  74. package/dist/presentation-artifact-query.d.ts +2 -0
  75. package/dist/presentation-artifact-query.js +66 -0
  76. package/dist/presentation-artifact-query.js.map +1 -0
  77. package/dist/retained-output.d.ts +83 -6
  78. package/dist/sandbox-snapshots.d.ts +9 -0
  79. package/dist/scoped-knowledge.d.ts +14 -13
  80. package/dist/slack-bot-scopes.d.ts +4 -0
  81. package/dist/slack-bot-scopes.js +3 -1
  82. package/dist/spreadsheet-artifact-commands.d.ts +101 -0
  83. package/dist/spreadsheet-artifact-commands.js +27 -0
  84. package/dist/spreadsheet-artifact-commands.js.map +1 -0
  85. package/dist/spreadsheet-artifact-date.d.ts +4 -0
  86. package/dist/spreadsheet-artifact-query.d.ts +120 -0
  87. package/dist/spreadsheet-artifact-query.js +48 -0
  88. package/dist/spreadsheet-artifact-query.js.map +1 -0
  89. package/dist/tool-catalog.d.ts +576 -0
  90. package/dist/video-generation.d.ts +532 -0
  91. package/dist/video-generation.js +51 -0
  92. package/dist/video-generation.js.map +1 -0
  93. package/dist/workspace-learning-policy.d.ts +208 -0
  94. package/package.json +61 -1
  95. package/src/atlassian.ts +160 -0
  96. package/src/company-profile.ts +306 -0
  97. package/src/document-artifact-commands.ts +1709 -0
  98. package/src/document-artifact-query.ts +2 -0
  99. package/src/editable-artifact-binary.ts +396 -0
  100. package/src/editable-artifact-causal-frontier.ts +154 -0
  101. package/src/editable-artifact-codec-registry.ts +261 -0
  102. package/src/editable-artifact-committed-transaction.ts +478 -0
  103. package/src/editable-artifact-live.ts +1379 -0
  104. package/src/editable-artifact-serialized-commit.ts +494 -0
  105. package/src/editable-artifact-versions.ts +8 -0
  106. package/src/editable-artifacts.ts +473 -0
  107. package/src/event-preview.ts +6 -6
  108. package/src/google-drive.ts +68 -15
  109. package/src/image-generation.ts +106 -0
  110. package/src/index.ts +2535 -282
  111. package/src/interaction.ts +2292 -0
  112. package/src/mcp-receipts.ts +281 -0
  113. package/src/memory-slack-delivery.ts +183 -0
  114. package/src/presentation-artifact-commands.ts +2035 -0
  115. package/src/presentation-artifact-query.ts +2 -0
  116. package/src/retained-output.ts +248 -8
  117. package/src/sandbox-snapshots.ts +28 -1
  118. package/src/scoped-knowledge.ts +18 -4
  119. package/src/slack-bot-scopes.ts +34 -1
  120. package/src/spreadsheet-artifact-commands.ts +999 -0
  121. package/src/spreadsheet-artifact-date.ts +21 -0
  122. package/src/spreadsheet-artifact-query.ts +1411 -0
  123. package/src/tool-catalog.ts +334 -0
  124. package/src/video-generation.ts +394 -0
  125. package/src/workspace-learning-policy.ts +233 -0
  126. package/dist/chunk-7JZMI22I.js.map +0 -1
  127. package/dist/chunk-PCTCJEAF.js +0 -10799
  128. package/dist/chunk-PCTCJEAF.js.map +0 -1
  129. package/dist/secret-redaction.d.ts +0 -40
  130. package/src/secret-redaction.ts +0 -364
@@ -0,0 +1,532 @@
1
+ import { z } from "zod";
2
+ export declare const VIDEO_GENERATION_SCHEMA_VERSION: 1;
3
+ export declare const SEEDANCE_2_5_MODEL_ID: "bytedance/seedance-2.5";
4
+ export declare const VideoGenerationSourceMode: z.ZodEnum<{
5
+ first_and_last_frames: "first_and_last_frames";
6
+ first_frame: "first_frame";
7
+ image_reference: "image_reference";
8
+ text: "text";
9
+ video_reference: "video_reference";
10
+ }>;
11
+ export type VideoGenerationSourceMode = z.infer<typeof VideoGenerationSourceMode>;
12
+ export declare const VideoGenerationResolution: z.ZodEnum<{
13
+ "480p": "480p";
14
+ "720p": "720p";
15
+ }>;
16
+ export type VideoGenerationResolution = z.infer<typeof VideoGenerationResolution>;
17
+ export declare const VideoGenerationFundingSource: z.ZodEnum<{
18
+ opengeni_credits: "opengeni_credits";
19
+ workspace_gateway: "workspace_gateway";
20
+ }>;
21
+ export type VideoGenerationFundingSource = z.infer<typeof VideoGenerationFundingSource>;
22
+ export declare const VideoGenerationAspectRatio: z.ZodEnum<{
23
+ "16:9": "16:9";
24
+ "1:1": "1:1";
25
+ "21:9": "21:9";
26
+ "3:4": "3:4";
27
+ "4:3": "4:3";
28
+ "9:16": "9:16";
29
+ adaptive: "adaptive";
30
+ }>;
31
+ export type VideoGenerationAspectRatio = z.infer<typeof VideoGenerationAspectRatio>;
32
+ export declare const VideoGenerationSource: z.ZodDiscriminatedUnion<[z.ZodObject<{
33
+ mode: z.ZodLiteral<"text">;
34
+ }, z.core.$strict>, z.ZodObject<{
35
+ mode: z.ZodLiteral<"first_frame">;
36
+ imagePath: z.ZodString;
37
+ }, z.core.$strict>, z.ZodObject<{
38
+ mode: z.ZodLiteral<"first_and_last_frames">;
39
+ firstFramePath: z.ZodString;
40
+ lastFramePath: z.ZodString;
41
+ }, z.core.$strict>, z.ZodObject<{
42
+ mode: z.ZodLiteral<"image_reference">;
43
+ imagePath: z.ZodString;
44
+ }, z.core.$strict>, z.ZodObject<{
45
+ mode: z.ZodLiteral<"video_reference">;
46
+ videoPath: z.ZodString;
47
+ }, z.core.$strict>], "mode">;
48
+ export type VideoGenerationSource = z.infer<typeof VideoGenerationSource>;
49
+ /** Stable provider-neutral function-tool input. Dynamic capability facts never enter this schema. */
50
+ export declare const GenerateVideoToolInput: z.ZodObject<{
51
+ prompt: z.ZodString;
52
+ modelId: z.ZodOptional<z.ZodString>;
53
+ source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
54
+ mode: z.ZodLiteral<"text">;
55
+ }, z.core.$strict>, z.ZodObject<{
56
+ mode: z.ZodLiteral<"first_frame">;
57
+ imagePath: z.ZodString;
58
+ }, z.core.$strict>, z.ZodObject<{
59
+ mode: z.ZodLiteral<"first_and_last_frames">;
60
+ firstFramePath: z.ZodString;
61
+ lastFramePath: z.ZodString;
62
+ }, z.core.$strict>, z.ZodObject<{
63
+ mode: z.ZodLiteral<"image_reference">;
64
+ imagePath: z.ZodString;
65
+ }, z.core.$strict>, z.ZodObject<{
66
+ mode: z.ZodLiteral<"video_reference">;
67
+ videoPath: z.ZodString;
68
+ }, z.core.$strict>], "mode">>;
69
+ durationSeconds: z.ZodOptional<z.ZodNumber>;
70
+ aspectRatio: z.ZodOptional<z.ZodEnum<{
71
+ "16:9": "16:9";
72
+ "1:1": "1:1";
73
+ "21:9": "21:9";
74
+ "3:4": "3:4";
75
+ "4:3": "4:3";
76
+ "9:16": "9:16";
77
+ adaptive: "adaptive";
78
+ }>>;
79
+ resolution: z.ZodOptional<z.ZodEnum<{
80
+ "480p": "480p";
81
+ "720p": "720p";
82
+ }>>;
83
+ generateAudio: z.ZodOptional<z.ZodBoolean>;
84
+ }, z.core.$strict>;
85
+ export type GenerateVideoToolInput = z.infer<typeof GenerateVideoToolInput>;
86
+ export declare const GetVideoGenerationCapabilitiesToolInput: z.ZodObject<{}, z.core.$strict>;
87
+ export type GetVideoGenerationCapabilitiesToolInput = z.infer<typeof GetVideoGenerationCapabilitiesToolInput>;
88
+ export declare const VideoGenerationModelCapability: z.ZodObject<{
89
+ modelId: z.ZodString;
90
+ label: z.ZodString;
91
+ providerLabel: z.ZodString;
92
+ sourceModes: z.ZodArray<z.ZodEnum<{
93
+ first_and_last_frames: "first_and_last_frames";
94
+ first_frame: "first_frame";
95
+ image_reference: "image_reference";
96
+ text: "text";
97
+ video_reference: "video_reference";
98
+ }>>;
99
+ resolutions: z.ZodArray<z.ZodEnum<{
100
+ "480p": "480p";
101
+ "720p": "720p";
102
+ }>>;
103
+ aspectRatios: z.ZodArray<z.ZodEnum<{
104
+ "16:9": "16:9";
105
+ "1:1": "1:1";
106
+ "21:9": "21:9";
107
+ "3:4": "3:4";
108
+ "4:3": "4:3";
109
+ "9:16": "9:16";
110
+ adaptive: "adaptive";
111
+ }>>;
112
+ duration: z.ZodObject<{
113
+ minSeconds: z.ZodNumber;
114
+ maxSeconds: z.ZodNumber;
115
+ stepSeconds: z.ZodNumber;
116
+ }, z.core.$strict>;
117
+ supportsAudio: z.ZodBoolean;
118
+ }, z.core.$strict>;
119
+ export type VideoGenerationModelCapability = z.infer<typeof VideoGenerationModelCapability>;
120
+ export declare const VideoGenerationCapabilities: z.ZodObject<{
121
+ schemaVersion: z.ZodLiteral<1>;
122
+ capabilityRevision: z.ZodString;
123
+ defaultModelId: z.ZodString;
124
+ models: z.ZodArray<z.ZodObject<{
125
+ modelId: z.ZodString;
126
+ label: z.ZodString;
127
+ providerLabel: z.ZodString;
128
+ sourceModes: z.ZodArray<z.ZodEnum<{
129
+ first_and_last_frames: "first_and_last_frames";
130
+ first_frame: "first_frame";
131
+ image_reference: "image_reference";
132
+ text: "text";
133
+ video_reference: "video_reference";
134
+ }>>;
135
+ resolutions: z.ZodArray<z.ZodEnum<{
136
+ "480p": "480p";
137
+ "720p": "720p";
138
+ }>>;
139
+ aspectRatios: z.ZodArray<z.ZodEnum<{
140
+ "16:9": "16:9";
141
+ "1:1": "1:1";
142
+ "21:9": "21:9";
143
+ "3:4": "3:4";
144
+ "4:3": "4:3";
145
+ "9:16": "9:16";
146
+ adaptive: "adaptive";
147
+ }>>;
148
+ duration: z.ZodObject<{
149
+ minSeconds: z.ZodNumber;
150
+ maxSeconds: z.ZodNumber;
151
+ stepSeconds: z.ZodNumber;
152
+ }, z.core.$strict>;
153
+ supportsAudio: z.ZodBoolean;
154
+ }, z.core.$strict>>;
155
+ }, z.core.$strict>;
156
+ export type VideoGenerationCapabilities = z.infer<typeof VideoGenerationCapabilities>;
157
+ export declare const VideoGenerationPolicy: z.ZodObject<{
158
+ schemaVersion: z.ZodLiteral<1>;
159
+ revision: z.ZodNumber;
160
+ fundingSource: z.ZodEnum<{
161
+ opengeni_credits: "opengeni_credits";
162
+ workspace_gateway: "workspace_gateway";
163
+ }>;
164
+ enabledModelIds: z.ZodArray<z.ZodString>;
165
+ defaultModelId: z.ZodNullable<z.ZodString>;
166
+ }, z.core.$strict>;
167
+ export type VideoGenerationPolicy = z.infer<typeof VideoGenerationPolicy>;
168
+ export declare const UpdateVideoGenerationPolicyRequest: z.ZodObject<{
169
+ expectedRevision: z.ZodNumber;
170
+ fundingSource: z.ZodEnum<{
171
+ opengeni_credits: "opengeni_credits";
172
+ workspace_gateway: "workspace_gateway";
173
+ }>;
174
+ enabledModelIds: z.ZodArray<z.ZodString>;
175
+ defaultModelId: z.ZodNullable<z.ZodString>;
176
+ }, z.core.$strict>;
177
+ export type UpdateVideoGenerationPolicyRequest = z.infer<typeof UpdateVideoGenerationPolicyRequest>;
178
+ export declare const VideoGenerationFundingOption: z.ZodObject<{
179
+ source: z.ZodEnum<{
180
+ opengeni_credits: "opengeni_credits";
181
+ workspace_gateway: "workspace_gateway";
182
+ }>;
183
+ label: z.ZodString;
184
+ description: z.ZodString;
185
+ available: z.ZodBoolean;
186
+ unavailableReason: z.ZodNullable<z.ZodString>;
187
+ }, z.core.$strict>;
188
+ export type VideoGenerationFundingOption = z.infer<typeof VideoGenerationFundingOption>;
189
+ export declare const WorkspaceVideoGenerationSettings: z.ZodObject<{
190
+ schemaVersion: z.ZodLiteral<1>;
191
+ policy: z.ZodObject<{
192
+ schemaVersion: z.ZodLiteral<1>;
193
+ revision: z.ZodNumber;
194
+ fundingSource: z.ZodEnum<{
195
+ opengeni_credits: "opengeni_credits";
196
+ workspace_gateway: "workspace_gateway";
197
+ }>;
198
+ enabledModelIds: z.ZodArray<z.ZodString>;
199
+ defaultModelId: z.ZodNullable<z.ZodString>;
200
+ }, z.core.$strict>;
201
+ fundingOptions: z.ZodArray<z.ZodObject<{
202
+ source: z.ZodEnum<{
203
+ opengeni_credits: "opengeni_credits";
204
+ workspace_gateway: "workspace_gateway";
205
+ }>;
206
+ label: z.ZodString;
207
+ description: z.ZodString;
208
+ available: z.ZodBoolean;
209
+ unavailableReason: z.ZodNullable<z.ZodString>;
210
+ }, z.core.$strict>>;
211
+ availableModels: z.ZodArray<z.ZodObject<{
212
+ modelId: z.ZodString;
213
+ label: z.ZodString;
214
+ providerLabel: z.ZodString;
215
+ sourceModes: z.ZodArray<z.ZodEnum<{
216
+ first_and_last_frames: "first_and_last_frames";
217
+ first_frame: "first_frame";
218
+ image_reference: "image_reference";
219
+ text: "text";
220
+ video_reference: "video_reference";
221
+ }>>;
222
+ resolutions: z.ZodArray<z.ZodEnum<{
223
+ "480p": "480p";
224
+ "720p": "720p";
225
+ }>>;
226
+ aspectRatios: z.ZodArray<z.ZodEnum<{
227
+ "16:9": "16:9";
228
+ "1:1": "1:1";
229
+ "21:9": "21:9";
230
+ "3:4": "3:4";
231
+ "4:3": "4:3";
232
+ "9:16": "9:16";
233
+ adaptive: "adaptive";
234
+ }>>;
235
+ duration: z.ZodObject<{
236
+ minSeconds: z.ZodNumber;
237
+ maxSeconds: z.ZodNumber;
238
+ stepSeconds: z.ZodNumber;
239
+ }, z.core.$strict>;
240
+ supportsAudio: z.ZodBoolean;
241
+ }, z.core.$strict>>;
242
+ capabilities: z.ZodNullable<z.ZodObject<{
243
+ schemaVersion: z.ZodLiteral<1>;
244
+ capabilityRevision: z.ZodString;
245
+ defaultModelId: z.ZodString;
246
+ models: z.ZodArray<z.ZodObject<{
247
+ modelId: z.ZodString;
248
+ label: z.ZodString;
249
+ providerLabel: z.ZodString;
250
+ sourceModes: z.ZodArray<z.ZodEnum<{
251
+ first_and_last_frames: "first_and_last_frames";
252
+ first_frame: "first_frame";
253
+ image_reference: "image_reference";
254
+ text: "text";
255
+ video_reference: "video_reference";
256
+ }>>;
257
+ resolutions: z.ZodArray<z.ZodEnum<{
258
+ "480p": "480p";
259
+ "720p": "720p";
260
+ }>>;
261
+ aspectRatios: z.ZodArray<z.ZodEnum<{
262
+ "16:9": "16:9";
263
+ "1:1": "1:1";
264
+ "21:9": "21:9";
265
+ "3:4": "3:4";
266
+ "4:3": "4:3";
267
+ "9:16": "9:16";
268
+ adaptive: "adaptive";
269
+ }>>;
270
+ duration: z.ZodObject<{
271
+ minSeconds: z.ZodNumber;
272
+ maxSeconds: z.ZodNumber;
273
+ stepSeconds: z.ZodNumber;
274
+ }, z.core.$strict>;
275
+ supportsAudio: z.ZodBoolean;
276
+ }, z.core.$strict>>;
277
+ }, z.core.$strict>>;
278
+ }, z.core.$strict>;
279
+ export type WorkspaceVideoGenerationSettings = z.infer<typeof WorkspaceVideoGenerationSettings>;
280
+ export declare const VideoGenerationAcceptedReceipt: z.ZodObject<{
281
+ schemaVersion: z.ZodLiteral<1>;
282
+ status: z.ZodLiteral<"accepted">;
283
+ operationId: z.ZodString;
284
+ }, z.core.$strict>;
285
+ export type VideoGenerationAcceptedReceipt = z.infer<typeof VideoGenerationAcceptedReceipt>;
286
+ export declare const GeneratedVideoFacts: z.ZodObject<{
287
+ durationSeconds: z.ZodNumber;
288
+ width: z.ZodNumber;
289
+ height: z.ZodNumber;
290
+ fps: z.ZodNumber;
291
+ hasAudio: z.ZodBoolean;
292
+ videoCodec: z.ZodLiteral<"h264">;
293
+ audioCodec: z.ZodNullable<z.ZodLiteral<"aac">>;
294
+ }, z.core.$strict>;
295
+ export type GeneratedVideoFacts = z.infer<typeof GeneratedVideoFacts>;
296
+ export declare const GeneratedVideoReceipt: z.ZodObject<{
297
+ type: z.ZodLiteral<"generated_video">;
298
+ schemaVersion: z.ZodLiteral<1>;
299
+ operationId: z.ZodString;
300
+ artifact: z.ZodObject<{
301
+ available: z.ZodLiteral<true>;
302
+ artifactId: z.ZodString;
303
+ kind: z.ZodEnum<{
304
+ assistant_completion: "assistant_completion";
305
+ computer_screenshot: "computer_screenshot";
306
+ event_media: "event_media";
307
+ file: "file";
308
+ generated_image: "generated_image";
309
+ generated_video: "generated_video";
310
+ internal_update: "internal_update";
311
+ tool_result: "tool_result";
312
+ }>;
313
+ contentType: z.ZodString;
314
+ originalBytes: z.ZodNumber;
315
+ sha256: z.ZodString;
316
+ retainedAt: z.ZodString;
317
+ dimensions: z.ZodOptional<z.ZodObject<{
318
+ width: z.ZodNumber;
319
+ height: z.ZodNumber;
320
+ }, z.core.$strict>>;
321
+ retention: z.ZodUnion<readonly [z.ZodObject<{
322
+ policy: z.ZodLiteral<"workspace_file">;
323
+ expiresAt: z.ZodNull;
324
+ }, z.core.$strict>, z.ZodObject<{
325
+ policy: z.ZodLiteral<"session_screenshot">;
326
+ expiresAt: z.ZodString;
327
+ }, z.core.$strict>]>;
328
+ retrieval: z.ZodObject<{
329
+ method: z.ZodLiteral<"GET">;
330
+ path: z.ZodString;
331
+ acceptRanges: z.ZodLiteral<"bytes">;
332
+ maxRangeBytes: z.ZodNumber;
333
+ }, z.core.$strict>;
334
+ }, z.core.$strict>;
335
+ video: z.ZodObject<{
336
+ durationSeconds: z.ZodNumber;
337
+ width: z.ZodNumber;
338
+ height: z.ZodNumber;
339
+ fps: z.ZodNumber;
340
+ hasAudio: z.ZodBoolean;
341
+ videoCodec: z.ZodLiteral<"h264">;
342
+ audioCodec: z.ZodNullable<z.ZodLiteral<"aac">>;
343
+ }, z.core.$strict>;
344
+ sandboxPath: z.ZodString;
345
+ }, z.core.$strict>;
346
+ export type GeneratedVideoReceipt = z.infer<typeof GeneratedVideoReceipt>;
347
+ export declare const VideoGenerationTerminalFailureStatus: z.ZodEnum<{
348
+ cancelled_before_submit: "cancelled_before_submit";
349
+ outcome_unknown: "outcome_unknown";
350
+ provider_failed: "provider_failed";
351
+ retention_failed: "retention_failed";
352
+ }>;
353
+ export type VideoGenerationTerminalFailureStatus = z.infer<typeof VideoGenerationTerminalFailureStatus>;
354
+ export declare const MediaGenerationResult: z.ZodDiscriminatedUnion<[z.ZodObject<{
355
+ type: z.ZodLiteral<"media_generation_result">;
356
+ schemaVersion: z.ZodLiteral<1>;
357
+ status: z.ZodLiteral<"ready">;
358
+ operationId: z.ZodString;
359
+ receipt: z.ZodObject<{
360
+ type: z.ZodLiteral<"generated_video">;
361
+ schemaVersion: z.ZodLiteral<1>;
362
+ operationId: z.ZodString;
363
+ artifact: z.ZodObject<{
364
+ available: z.ZodLiteral<true>;
365
+ artifactId: z.ZodString;
366
+ kind: z.ZodEnum<{
367
+ assistant_completion: "assistant_completion";
368
+ computer_screenshot: "computer_screenshot";
369
+ event_media: "event_media";
370
+ file: "file";
371
+ generated_image: "generated_image";
372
+ generated_video: "generated_video";
373
+ internal_update: "internal_update";
374
+ tool_result: "tool_result";
375
+ }>;
376
+ contentType: z.ZodString;
377
+ originalBytes: z.ZodNumber;
378
+ sha256: z.ZodString;
379
+ retainedAt: z.ZodString;
380
+ dimensions: z.ZodOptional<z.ZodObject<{
381
+ width: z.ZodNumber;
382
+ height: z.ZodNumber;
383
+ }, z.core.$strict>>;
384
+ retention: z.ZodUnion<readonly [z.ZodObject<{
385
+ policy: z.ZodLiteral<"workspace_file">;
386
+ expiresAt: z.ZodNull;
387
+ }, z.core.$strict>, z.ZodObject<{
388
+ policy: z.ZodLiteral<"session_screenshot">;
389
+ expiresAt: z.ZodString;
390
+ }, z.core.$strict>]>;
391
+ retrieval: z.ZodObject<{
392
+ method: z.ZodLiteral<"GET">;
393
+ path: z.ZodString;
394
+ acceptRanges: z.ZodLiteral<"bytes">;
395
+ maxRangeBytes: z.ZodNumber;
396
+ }, z.core.$strict>;
397
+ }, z.core.$strict>;
398
+ video: z.ZodObject<{
399
+ durationSeconds: z.ZodNumber;
400
+ width: z.ZodNumber;
401
+ height: z.ZodNumber;
402
+ fps: z.ZodNumber;
403
+ hasAudio: z.ZodBoolean;
404
+ videoCodec: z.ZodLiteral<"h264">;
405
+ audioCodec: z.ZodNullable<z.ZodLiteral<"aac">>;
406
+ }, z.core.$strict>;
407
+ sandboxPath: z.ZodString;
408
+ }, z.core.$strict>;
409
+ }, z.core.$strict>, z.ZodObject<{
410
+ type: z.ZodLiteral<"media_generation_result">;
411
+ schemaVersion: z.ZodLiteral<1>;
412
+ status: z.ZodEnum<{
413
+ cancelled_before_submit: "cancelled_before_submit";
414
+ outcome_unknown: "outcome_unknown";
415
+ provider_failed: "provider_failed";
416
+ retention_failed: "retention_failed";
417
+ }>;
418
+ operationId: z.ZodString;
419
+ boundedPublicReason: z.ZodString;
420
+ }, z.core.$strict>], "status">;
421
+ export type MediaGenerationResult = z.infer<typeof MediaGenerationResult>;
422
+ export declare const VideoGenerationPublicStatus: z.ZodEnum<{
423
+ accepted: "accepted";
424
+ cancelled_before_submit: "cancelled_before_submit";
425
+ completed: "completed";
426
+ outcome_unknown: "outcome_unknown";
427
+ prepared: "prepared";
428
+ preparing: "preparing";
429
+ provider_failed: "provider_failed";
430
+ provider_started: "provider_started";
431
+ retaining: "retaining";
432
+ retention_failed: "retention_failed";
433
+ }>;
434
+ export type VideoGenerationPublicStatus = z.infer<typeof VideoGenerationPublicStatus>;
435
+ export declare const VideoGenerationOperationSummary: z.ZodObject<{
436
+ schemaVersion: z.ZodLiteral<1>;
437
+ operationId: z.ZodString;
438
+ modelId: z.ZodString;
439
+ status: z.ZodEnum<{
440
+ accepted: "accepted";
441
+ cancelled_before_submit: "cancelled_before_submit";
442
+ completed: "completed";
443
+ outcome_unknown: "outcome_unknown";
444
+ prepared: "prepared";
445
+ preparing: "preparing";
446
+ provider_failed: "provider_failed";
447
+ provider_started: "provider_started";
448
+ retaining: "retaining";
449
+ retention_failed: "retention_failed";
450
+ }>;
451
+ createdAt: z.ZodString;
452
+ updatedAt: z.ZodString;
453
+ terminal: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
454
+ type: z.ZodLiteral<"media_generation_result">;
455
+ schemaVersion: z.ZodLiteral<1>;
456
+ status: z.ZodLiteral<"ready">;
457
+ operationId: z.ZodString;
458
+ receipt: z.ZodObject<{
459
+ type: z.ZodLiteral<"generated_video">;
460
+ schemaVersion: z.ZodLiteral<1>;
461
+ operationId: z.ZodString;
462
+ artifact: z.ZodObject<{
463
+ available: z.ZodLiteral<true>;
464
+ artifactId: z.ZodString;
465
+ kind: z.ZodEnum<{
466
+ assistant_completion: "assistant_completion";
467
+ computer_screenshot: "computer_screenshot";
468
+ event_media: "event_media";
469
+ file: "file";
470
+ generated_image: "generated_image";
471
+ generated_video: "generated_video";
472
+ internal_update: "internal_update";
473
+ tool_result: "tool_result";
474
+ }>;
475
+ contentType: z.ZodString;
476
+ originalBytes: z.ZodNumber;
477
+ sha256: z.ZodString;
478
+ retainedAt: z.ZodString;
479
+ dimensions: z.ZodOptional<z.ZodObject<{
480
+ width: z.ZodNumber;
481
+ height: z.ZodNumber;
482
+ }, z.core.$strict>>;
483
+ retention: z.ZodUnion<readonly [z.ZodObject<{
484
+ policy: z.ZodLiteral<"workspace_file">;
485
+ expiresAt: z.ZodNull;
486
+ }, z.core.$strict>, z.ZodObject<{
487
+ policy: z.ZodLiteral<"session_screenshot">;
488
+ expiresAt: z.ZodString;
489
+ }, z.core.$strict>]>;
490
+ retrieval: z.ZodObject<{
491
+ method: z.ZodLiteral<"GET">;
492
+ path: z.ZodString;
493
+ acceptRanges: z.ZodLiteral<"bytes">;
494
+ maxRangeBytes: z.ZodNumber;
495
+ }, z.core.$strict>;
496
+ }, z.core.$strict>;
497
+ video: z.ZodObject<{
498
+ durationSeconds: z.ZodNumber;
499
+ width: z.ZodNumber;
500
+ height: z.ZodNumber;
501
+ fps: z.ZodNumber;
502
+ hasAudio: z.ZodBoolean;
503
+ videoCodec: z.ZodLiteral<"h264">;
504
+ audioCodec: z.ZodNullable<z.ZodLiteral<"aac">>;
505
+ }, z.core.$strict>;
506
+ sandboxPath: z.ZodString;
507
+ }, z.core.$strict>;
508
+ }, z.core.$strict>, z.ZodObject<{
509
+ type: z.ZodLiteral<"media_generation_result">;
510
+ schemaVersion: z.ZodLiteral<1>;
511
+ status: z.ZodEnum<{
512
+ cancelled_before_submit: "cancelled_before_submit";
513
+ outcome_unknown: "outcome_unknown";
514
+ provider_failed: "provider_failed";
515
+ retention_failed: "retention_failed";
516
+ }>;
517
+ operationId: z.ZodString;
518
+ boundedPublicReason: z.ZodString;
519
+ }, z.core.$strict>], "status">>;
520
+ }, z.core.$strict>;
521
+ export type VideoGenerationOperationSummary = z.infer<typeof VideoGenerationOperationSummary>;
522
+ export declare const VideoArtifactPlaybackSource: z.ZodObject<{
523
+ schemaVersion: z.ZodLiteral<1>;
524
+ artifactId: z.ZodString;
525
+ url: z.ZodString;
526
+ expiresAt: z.ZodString;
527
+ contentType: z.ZodLiteral<"video/mp4">;
528
+ sizeBytes: z.ZodNumber;
529
+ sha256: z.ZodString;
530
+ acceptRanges: z.ZodLiteral<"bytes">;
531
+ }, z.core.$strict>;
532
+ export type VideoArtifactPlaybackSource = z.infer<typeof VideoArtifactPlaybackSource>;
@@ -0,0 +1,51 @@
1
+ import {
2
+ GenerateVideoToolInput,
3
+ GeneratedVideoFacts,
4
+ GeneratedVideoReceipt,
5
+ GetVideoGenerationCapabilitiesToolInput,
6
+ MediaGenerationResult,
7
+ SEEDANCE_2_5_MODEL_ID,
8
+ UpdateVideoGenerationPolicyRequest,
9
+ VIDEO_GENERATION_SCHEMA_VERSION,
10
+ VideoArtifactPlaybackSource,
11
+ VideoGenerationAcceptedReceipt,
12
+ VideoGenerationAspectRatio,
13
+ VideoGenerationCapabilities,
14
+ VideoGenerationFundingOption,
15
+ VideoGenerationFundingSource,
16
+ VideoGenerationModelCapability,
17
+ VideoGenerationOperationSummary,
18
+ VideoGenerationPolicy,
19
+ VideoGenerationPublicStatus,
20
+ VideoGenerationResolution,
21
+ VideoGenerationSource,
22
+ VideoGenerationSourceMode,
23
+ VideoGenerationTerminalFailureStatus,
24
+ WorkspaceVideoGenerationSettings
25
+ } from "./chunk-52SGB2QO.js";
26
+ export {
27
+ GenerateVideoToolInput,
28
+ GeneratedVideoFacts,
29
+ GeneratedVideoReceipt,
30
+ GetVideoGenerationCapabilitiesToolInput,
31
+ MediaGenerationResult,
32
+ SEEDANCE_2_5_MODEL_ID,
33
+ UpdateVideoGenerationPolicyRequest,
34
+ VIDEO_GENERATION_SCHEMA_VERSION,
35
+ VideoArtifactPlaybackSource,
36
+ VideoGenerationAcceptedReceipt,
37
+ VideoGenerationAspectRatio,
38
+ VideoGenerationCapabilities,
39
+ VideoGenerationFundingOption,
40
+ VideoGenerationFundingSource,
41
+ VideoGenerationModelCapability,
42
+ VideoGenerationOperationSummary,
43
+ VideoGenerationPolicy,
44
+ VideoGenerationPublicStatus,
45
+ VideoGenerationResolution,
46
+ VideoGenerationSource,
47
+ VideoGenerationSourceMode,
48
+ VideoGenerationTerminalFailureStatus,
49
+ WorkspaceVideoGenerationSettings
50
+ };
51
+ //# sourceMappingURL=video-generation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}