@nodetool-ai/protocol 0.8.13 → 0.8.14

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 (159) hide show
  1. package/dist/.nodetool-build-stamp +1 -1
  2. package/dist/agent-model-fit.d.ts +35 -0
  3. package/dist/agent-model-fit.d.ts.map +1 -0
  4. package/dist/agent-model-fit.js +62 -0
  5. package/dist/agent-model-fit.js.map +1 -0
  6. package/dist/api-schemas/agent-access.d.ts +40 -0
  7. package/dist/api-schemas/agent-access.d.ts.map +1 -1
  8. package/dist/api-schemas/agent-access.js +24 -1
  9. package/dist/api-schemas/agent-access.js.map +1 -1
  10. package/dist/api-schemas/api-error-code.d.ts +35 -1
  11. package/dist/api-schemas/api-error-code.d.ts.map +1 -1
  12. package/dist/api-schemas/api-error-code.js +34 -0
  13. package/dist/api-schemas/api-error-code.js.map +1 -1
  14. package/dist/api-schemas/assets.d.ts +79 -0
  15. package/dist/api-schemas/assets.d.ts.map +1 -1
  16. package/dist/api-schemas/assets.js +61 -7
  17. package/dist/api-schemas/assets.js.map +1 -1
  18. package/dist/api-schemas/cloud-local.d.ts +194 -0
  19. package/dist/api-schemas/cloud-local.d.ts.map +1 -0
  20. package/dist/api-schemas/cloud-local.js +88 -0
  21. package/dist/api-schemas/cloud-local.js.map +1 -0
  22. package/dist/api-schemas/cloud-transfer-local.d.ts +999 -0
  23. package/dist/api-schemas/cloud-transfer-local.d.ts.map +1 -0
  24. package/dist/api-schemas/cloud-transfer-local.js +189 -0
  25. package/dist/api-schemas/cloud-transfer-local.js.map +1 -0
  26. package/dist/api-schemas/deleted-documents.d.ts +45 -0
  27. package/dist/api-schemas/deleted-documents.d.ts.map +1 -0
  28. package/dist/api-schemas/deleted-documents.js +30 -0
  29. package/dist/api-schemas/deleted-documents.js.map +1 -0
  30. package/dist/api-schemas/document-sharing.d.ts +171 -1
  31. package/dist/api-schemas/document-sharing.d.ts.map +1 -1
  32. package/dist/api-schemas/document-sharing.js +37 -5
  33. package/dist/api-schemas/document-sharing.js.map +1 -1
  34. package/dist/api-schemas/index.d.ts +6 -0
  35. package/dist/api-schemas/index.d.ts.map +1 -1
  36. package/dist/api-schemas/index.js +6 -0
  37. package/dist/api-schemas/index.js.map +1 -1
  38. package/dist/api-schemas/messages.d.ts +30 -0
  39. package/dist/api-schemas/messages.d.ts.map +1 -1
  40. package/dist/api-schemas/messages.js +32 -1
  41. package/dist/api-schemas/messages.js.map +1 -1
  42. package/dist/api-schemas/openverse.d.ts +2 -0
  43. package/dist/api-schemas/openverse.d.ts.map +1 -1
  44. package/dist/api-schemas/projects.d.ts +412 -0
  45. package/dist/api-schemas/projects.d.ts.map +1 -1
  46. package/dist/api-schemas/projects.js +212 -2
  47. package/dist/api-schemas/projects.js.map +1 -1
  48. package/dist/api-schemas/receive.d.ts +95 -0
  49. package/dist/api-schemas/receive.d.ts.map +1 -0
  50. package/dist/api-schemas/receive.js +69 -0
  51. package/dist/api-schemas/receive.js.map +1 -0
  52. package/dist/api-schemas/sdk-execution-v1.d.ts +0 -2
  53. package/dist/api-schemas/sdk-execution-v1.d.ts.map +1 -1
  54. package/dist/api-schemas/settings.d.ts +125 -0
  55. package/dist/api-schemas/settings.d.ts.map +1 -1
  56. package/dist/api-schemas/settings.js +59 -0
  57. package/dist/api-schemas/settings.js.map +1 -1
  58. package/dist/api-schemas/storage.d.ts +96 -0
  59. package/dist/api-schemas/storage.d.ts.map +1 -1
  60. package/dist/api-schemas/storage.js +48 -0
  61. package/dist/api-schemas/storage.js.map +1 -1
  62. package/dist/api-schemas/storyboards.d.ts +55 -0
  63. package/dist/api-schemas/storyboards.d.ts.map +1 -1
  64. package/dist/api-schemas/storyboards.js +55 -8
  65. package/dist/api-schemas/storyboards.js.map +1 -1
  66. package/dist/api-schemas/sync.d.ts +78 -0
  67. package/dist/api-schemas/sync.d.ts.map +1 -0
  68. package/dist/api-schemas/sync.js +78 -0
  69. package/dist/api-schemas/sync.js.map +1 -0
  70. package/dist/api-schemas/timeline-tool-contracts.d.ts +42 -2
  71. package/dist/api-schemas/timeline-tool-contracts.d.ts.map +1 -1
  72. package/dist/api-schemas/timeline-tool-contracts.js +54 -3
  73. package/dist/api-schemas/timeline-tool-contracts.js.map +1 -1
  74. package/dist/api-schemas/timeline-tool-params.d.ts +1 -1
  75. package/dist/api-schemas/timeline-tool-params.d.ts.map +1 -1
  76. package/dist/api-schemas/timeline-tool-params.js +5 -0
  77. package/dist/api-schemas/timeline-tool-params.js.map +1 -1
  78. package/dist/api-schemas/timeline.d.ts +2 -0
  79. package/dist/api-schemas/timeline.d.ts.map +1 -1
  80. package/dist/api-schemas/timeline.js +7 -2
  81. package/dist/api-schemas/timeline.js.map +1 -1
  82. package/dist/api-schemas/transfer.d.ts +890 -0
  83. package/dist/api-schemas/transfer.d.ts.map +1 -0
  84. package/dist/api-schemas/transfer.js +297 -0
  85. package/dist/api-schemas/transfer.js.map +1 -0
  86. package/dist/api-schemas/workflows.d.ts +301 -1
  87. package/dist/api-schemas/workflows.d.ts.map +1 -1
  88. package/dist/api-schemas/workflows.js +110 -8
  89. package/dist/api-schemas/workflows.js.map +1 -1
  90. package/dist/api-schemas/workspace.d.ts +0 -22
  91. package/dist/api-schemas/workspace.d.ts.map +1 -1
  92. package/dist/api-schemas/workspace.js +0 -21
  93. package/dist/api-schemas/workspace.js.map +1 -1
  94. package/dist/api-types.d.ts +83 -24
  95. package/dist/api-types.d.ts.map +1 -1
  96. package/dist/api-types.js +48 -24
  97. package/dist/api-types.js.map +1 -1
  98. package/dist/chat-attachment.d.ts +28 -0
  99. package/dist/chat-attachment.d.ts.map +1 -0
  100. package/dist/chat-attachment.js +101 -0
  101. package/dist/chat-attachment.js.map +1 -0
  102. package/dist/closure.d.ts +33 -0
  103. package/dist/closure.d.ts.map +1 -0
  104. package/dist/closure.js +116 -0
  105. package/dist/closure.js.map +1 -0
  106. package/dist/cloud-profile.d.ts.map +1 -1
  107. package/dist/cloud-profile.js +9 -2
  108. package/dist/cloud-profile.js.map +1 -1
  109. package/dist/creative.d.ts +17 -0
  110. package/dist/creative.d.ts.map +1 -1
  111. package/dist/creative.js.map +1 -1
  112. package/dist/identity-encoding.d.ts +2 -0
  113. package/dist/identity-encoding.d.ts.map +1 -0
  114. package/dist/identity-encoding.js +56 -0
  115. package/dist/identity-encoding.js.map +1 -0
  116. package/dist/index.d.ts +6 -0
  117. package/dist/index.d.ts.map +1 -1
  118. package/dist/index.js +6 -0
  119. package/dist/index.js.map +1 -1
  120. package/dist/messages.d.ts +0 -8
  121. package/dist/messages.d.ts.map +1 -1
  122. package/dist/missing-runtime-package.d.ts +1 -3
  123. package/dist/missing-runtime-package.d.ts.map +1 -1
  124. package/dist/missing-runtime-package.js +1 -3
  125. package/dist/missing-runtime-package.js.map +1 -1
  126. package/dist/processing-messages.schema.json +0 -2
  127. package/dist/project-directories.d.ts +127 -0
  128. package/dist/project-directories.d.ts.map +1 -0
  129. package/dist/project-directories.js +208 -0
  130. package/dist/project-directories.js.map +1 -0
  131. package/dist/run-trace.js +1 -1
  132. package/dist/run-trace.js.map +1 -1
  133. package/dist/runtime-npm-packages.d.ts +3 -13
  134. package/dist/runtime-npm-packages.d.ts.map +1 -1
  135. package/dist/runtime-npm-packages.js +3 -37
  136. package/dist/runtime-npm-packages.js.map +1 -1
  137. package/dist/sandbox-host.d.ts +1 -1
  138. package/dist/sandbox-host.d.ts.map +1 -1
  139. package/dist/sandbox-host.js +1 -50
  140. package/dist/sandbox-host.js.map +1 -1
  141. package/dist/storyboard-markdown.d.ts +154 -0
  142. package/dist/storyboard-markdown.d.ts.map +1 -0
  143. package/dist/storyboard-markdown.js +905 -0
  144. package/dist/storyboard-markdown.js.map +1 -0
  145. package/dist/toolSchemas.d.ts +46 -0
  146. package/dist/toolSchemas.d.ts.map +1 -1
  147. package/dist/toolSchemas.js +87 -3
  148. package/dist/toolSchemas.js.map +1 -1
  149. package/dist/workflow-document-revision.d.ts +1 -1
  150. package/dist/workflow-document-revision.d.ts.map +1 -1
  151. package/dist/workflow-document-revision.js +2 -1
  152. package/dist/workflow-document-revision.js.map +1 -1
  153. package/dist/ws-commands.d.ts +3 -1
  154. package/dist/ws-commands.d.ts.map +1 -1
  155. package/dist/ws-commands.js +2 -0
  156. package/dist/ws-commands.js.map +1 -1
  157. package/package.json +7 -1
  158. package/schema/sdk-v1.execution.schema.json +0 -4
  159. package/schema/sdk-v1.manifest.json +1 -1
@@ -0,0 +1,999 @@
1
+ import { z } from "zod";
2
+ /** The cloud server and account a call acts for. */
3
+ export declare const cloudTransferAccount: z.ZodObject<{
4
+ origin: z.ZodString;
5
+ account_id: z.ZodString;
6
+ }, z.core.$strip>;
7
+ export type CloudTransferAccount = z.infer<typeof cloudTransferAccount>;
8
+ /** An account plus the access token for the calls that reach the cloud. */
9
+ export declare const cloudTransferSession: z.ZodObject<{
10
+ origin: z.ZodString;
11
+ account_id: z.ZodString;
12
+ access_token: z.ZodString;
13
+ }, z.core.$strip>;
14
+ export type CloudTransferSession = z.infer<typeof cloudTransferSession>;
15
+ export declare const captureSendInput: z.ZodObject<{
16
+ origin: z.ZodString;
17
+ account_id: z.ZodString;
18
+ project_id: z.ZodString;
19
+ project_name: z.ZodOptional<z.ZodString>;
20
+ device_name: z.ZodOptional<z.ZodString>;
21
+ }, z.core.$strip>;
22
+ export declare const capturedSend: z.ZodObject<{
23
+ status: z.ZodLiteral<"captured">;
24
+ transfer_id: z.ZodString;
25
+ first_publication: z.ZodBoolean;
26
+ operations: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
27
+ op: z.ZodLiteral<"create_document">;
28
+ kind: z.ZodEnum<{
29
+ timeline: "timeline";
30
+ workflow: "workflow";
31
+ }>;
32
+ document_id: z.ZodString;
33
+ captured_hash: z.ZodString;
34
+ }, z.core.$strip>, z.ZodObject<{
35
+ op: z.ZodLiteral<"replace_document">;
36
+ kind: z.ZodEnum<{
37
+ timeline: "timeline";
38
+ workflow: "workflow";
39
+ }>;
40
+ document_id: z.ZodString;
41
+ base_hash: z.ZodString;
42
+ captured_hash: z.ZodString;
43
+ }, z.core.$strip>, z.ZodObject<{
44
+ op: z.ZodLiteral<"rename_document">;
45
+ kind: z.ZodEnum<{
46
+ timeline: "timeline";
47
+ workflow: "workflow";
48
+ }>;
49
+ document_id: z.ZodString;
50
+ base_name: z.ZodString;
51
+ name: z.ZodString;
52
+ }, z.core.$strip>, z.ZodObject<{
53
+ op: z.ZodLiteral<"keep_both">;
54
+ kind: z.ZodEnum<{
55
+ timeline: "timeline";
56
+ workflow: "workflow";
57
+ }>;
58
+ document_id: z.ZodString;
59
+ new_document_id: z.ZodString;
60
+ captured_hash: z.ZodString;
61
+ }, z.core.$strip>, z.ZodObject<{
62
+ op: z.ZodLiteral<"add_versions">;
63
+ kind: z.ZodEnum<{
64
+ timeline: "timeline";
65
+ workflow: "workflow";
66
+ }>;
67
+ document_id: z.ZodString;
68
+ versions: z.ZodArray<z.ZodObject<{
69
+ version_id: z.ZodString;
70
+ hash: z.ZodString;
71
+ }, z.core.$strip>>;
72
+ }, z.core.$strip>, z.ZodObject<{
73
+ op: z.ZodLiteral<"move_document">;
74
+ kind: z.ZodEnum<{
75
+ timeline: "timeline";
76
+ workflow: "workflow";
77
+ }>;
78
+ document_id: z.ZodString;
79
+ base_project_id: z.ZodString;
80
+ target_project_id: z.ZodString;
81
+ }, z.core.$strip>, z.ZodObject<{
82
+ op: z.ZodLiteral<"delete_document">;
83
+ kind: z.ZodEnum<{
84
+ timeline: "timeline";
85
+ workflow: "workflow";
86
+ }>;
87
+ document_id: z.ZodString;
88
+ base_hash: z.ZodString;
89
+ confirmed: z.ZodLiteral<true>;
90
+ }, z.core.$strip>], "op">>;
91
+ documents: z.ZodArray<z.ZodObject<{
92
+ kind: z.ZodEnum<{
93
+ timeline: "timeline";
94
+ workflow: "workflow";
95
+ }>;
96
+ local_id: z.ZodString;
97
+ cloud_id: z.ZodString;
98
+ name: z.ZodString;
99
+ }, z.core.$strip>>;
100
+ file_operations: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
101
+ op: z.ZodLiteral<"put_asset_file">;
102
+ asset_id: z.ZodString;
103
+ path: z.ZodString;
104
+ hash: z.ZodString;
105
+ size: z.ZodNumber;
106
+ base_hash: z.ZodNullable<z.ZodString>;
107
+ name: z.ZodString;
108
+ content_type: z.ZodString;
109
+ }, z.core.$strip>, z.ZodObject<{
110
+ op: z.ZodLiteral<"put_workspace_file">;
111
+ path: z.ZodString;
112
+ hash: z.ZodString;
113
+ size: z.ZodNumber;
114
+ base_hash: z.ZodNullable<z.ZodString>;
115
+ }, z.core.$strip>, z.ZodObject<{
116
+ op: z.ZodLiteral<"delete_workspace_file">;
117
+ path: z.ZodString;
118
+ base_hash: z.ZodString;
119
+ }, z.core.$strip>], "op">>;
120
+ missing_files: z.ZodArray<z.ZodObject<{
121
+ asset_id: z.ZodString;
122
+ hash: z.ZodOptional<z.ZodString>;
123
+ size: z.ZodOptional<z.ZodNumber>;
124
+ reason: z.ZodEnum<{
125
+ missing_locally: "missing_locally";
126
+ over_allowance: "over_allowance";
127
+ too_large: "too_large";
128
+ }>;
129
+ documents: z.ZodArray<z.ZodObject<{
130
+ kind: z.ZodEnum<{
131
+ timeline: "timeline";
132
+ workflow: "workflow";
133
+ }>;
134
+ document_id: z.ZodString;
135
+ }, z.core.$strip>>;
136
+ }, z.core.$strip>>;
137
+ missing_document_files: z.ZodArray<z.ZodObject<{
138
+ kind: z.ZodEnum<{
139
+ timeline: "timeline";
140
+ workflow: "workflow";
141
+ }>;
142
+ id: z.ZodString;
143
+ name: z.ZodString;
144
+ }, z.core.$strip>>;
145
+ skipped: z.ZodArray<z.ZodObject<{
146
+ kind: z.ZodEnum<{
147
+ timeline: "timeline";
148
+ workflow: "workflow";
149
+ }>;
150
+ id: z.ZodString;
151
+ name: z.ZodString;
152
+ reason: z.ZodLiteral<"invalid_file">;
153
+ detail: z.ZodString;
154
+ }, z.core.$strip>>;
155
+ deleted_locally: z.ZodArray<z.ZodObject<{
156
+ kind: z.ZodEnum<{
157
+ timeline: "timeline";
158
+ workflow: "workflow";
159
+ }>;
160
+ local_id: z.ZodString;
161
+ cloud_id: z.ZodString;
162
+ base_hash: z.ZodString;
163
+ }, z.core.$strip>>;
164
+ }, z.core.$strip>;
165
+ /**
166
+ * The capture did not start: these assets have a file outside the project
167
+ * folder, which the Collect step must copy in first (CF6).
168
+ */
169
+ export declare const captureSendOutput: z.ZodDiscriminatedUnion<[z.ZodObject<{
170
+ status: z.ZodLiteral<"captured">;
171
+ transfer_id: z.ZodString;
172
+ first_publication: z.ZodBoolean;
173
+ operations: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
174
+ op: z.ZodLiteral<"create_document">;
175
+ kind: z.ZodEnum<{
176
+ timeline: "timeline";
177
+ workflow: "workflow";
178
+ }>;
179
+ document_id: z.ZodString;
180
+ captured_hash: z.ZodString;
181
+ }, z.core.$strip>, z.ZodObject<{
182
+ op: z.ZodLiteral<"replace_document">;
183
+ kind: z.ZodEnum<{
184
+ timeline: "timeline";
185
+ workflow: "workflow";
186
+ }>;
187
+ document_id: z.ZodString;
188
+ base_hash: z.ZodString;
189
+ captured_hash: z.ZodString;
190
+ }, z.core.$strip>, z.ZodObject<{
191
+ op: z.ZodLiteral<"rename_document">;
192
+ kind: z.ZodEnum<{
193
+ timeline: "timeline";
194
+ workflow: "workflow";
195
+ }>;
196
+ document_id: z.ZodString;
197
+ base_name: z.ZodString;
198
+ name: z.ZodString;
199
+ }, z.core.$strip>, z.ZodObject<{
200
+ op: z.ZodLiteral<"keep_both">;
201
+ kind: z.ZodEnum<{
202
+ timeline: "timeline";
203
+ workflow: "workflow";
204
+ }>;
205
+ document_id: z.ZodString;
206
+ new_document_id: z.ZodString;
207
+ captured_hash: z.ZodString;
208
+ }, z.core.$strip>, z.ZodObject<{
209
+ op: z.ZodLiteral<"add_versions">;
210
+ kind: z.ZodEnum<{
211
+ timeline: "timeline";
212
+ workflow: "workflow";
213
+ }>;
214
+ document_id: z.ZodString;
215
+ versions: z.ZodArray<z.ZodObject<{
216
+ version_id: z.ZodString;
217
+ hash: z.ZodString;
218
+ }, z.core.$strip>>;
219
+ }, z.core.$strip>, z.ZodObject<{
220
+ op: z.ZodLiteral<"move_document">;
221
+ kind: z.ZodEnum<{
222
+ timeline: "timeline";
223
+ workflow: "workflow";
224
+ }>;
225
+ document_id: z.ZodString;
226
+ base_project_id: z.ZodString;
227
+ target_project_id: z.ZodString;
228
+ }, z.core.$strip>, z.ZodObject<{
229
+ op: z.ZodLiteral<"delete_document">;
230
+ kind: z.ZodEnum<{
231
+ timeline: "timeline";
232
+ workflow: "workflow";
233
+ }>;
234
+ document_id: z.ZodString;
235
+ base_hash: z.ZodString;
236
+ confirmed: z.ZodLiteral<true>;
237
+ }, z.core.$strip>], "op">>;
238
+ documents: z.ZodArray<z.ZodObject<{
239
+ kind: z.ZodEnum<{
240
+ timeline: "timeline";
241
+ workflow: "workflow";
242
+ }>;
243
+ local_id: z.ZodString;
244
+ cloud_id: z.ZodString;
245
+ name: z.ZodString;
246
+ }, z.core.$strip>>;
247
+ file_operations: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
248
+ op: z.ZodLiteral<"put_asset_file">;
249
+ asset_id: z.ZodString;
250
+ path: z.ZodString;
251
+ hash: z.ZodString;
252
+ size: z.ZodNumber;
253
+ base_hash: z.ZodNullable<z.ZodString>;
254
+ name: z.ZodString;
255
+ content_type: z.ZodString;
256
+ }, z.core.$strip>, z.ZodObject<{
257
+ op: z.ZodLiteral<"put_workspace_file">;
258
+ path: z.ZodString;
259
+ hash: z.ZodString;
260
+ size: z.ZodNumber;
261
+ base_hash: z.ZodNullable<z.ZodString>;
262
+ }, z.core.$strip>, z.ZodObject<{
263
+ op: z.ZodLiteral<"delete_workspace_file">;
264
+ path: z.ZodString;
265
+ base_hash: z.ZodString;
266
+ }, z.core.$strip>], "op">>;
267
+ missing_files: z.ZodArray<z.ZodObject<{
268
+ asset_id: z.ZodString;
269
+ hash: z.ZodOptional<z.ZodString>;
270
+ size: z.ZodOptional<z.ZodNumber>;
271
+ reason: z.ZodEnum<{
272
+ missing_locally: "missing_locally";
273
+ over_allowance: "over_allowance";
274
+ too_large: "too_large";
275
+ }>;
276
+ documents: z.ZodArray<z.ZodObject<{
277
+ kind: z.ZodEnum<{
278
+ timeline: "timeline";
279
+ workflow: "workflow";
280
+ }>;
281
+ document_id: z.ZodString;
282
+ }, z.core.$strip>>;
283
+ }, z.core.$strip>>;
284
+ missing_document_files: z.ZodArray<z.ZodObject<{
285
+ kind: z.ZodEnum<{
286
+ timeline: "timeline";
287
+ workflow: "workflow";
288
+ }>;
289
+ id: z.ZodString;
290
+ name: z.ZodString;
291
+ }, z.core.$strip>>;
292
+ skipped: z.ZodArray<z.ZodObject<{
293
+ kind: z.ZodEnum<{
294
+ timeline: "timeline";
295
+ workflow: "workflow";
296
+ }>;
297
+ id: z.ZodString;
298
+ name: z.ZodString;
299
+ reason: z.ZodLiteral<"invalid_file">;
300
+ detail: z.ZodString;
301
+ }, z.core.$strip>>;
302
+ deleted_locally: z.ZodArray<z.ZodObject<{
303
+ kind: z.ZodEnum<{
304
+ timeline: "timeline";
305
+ workflow: "workflow";
306
+ }>;
307
+ local_id: z.ZodString;
308
+ cloud_id: z.ZodString;
309
+ base_hash: z.ZodString;
310
+ }, z.core.$strip>>;
311
+ }, z.core.$strip>, z.ZodObject<{
312
+ status: z.ZodLiteral<"collect_first">;
313
+ external: z.ZodArray<z.ZodString>;
314
+ message: z.ZodString;
315
+ }, z.core.$strip>], "status">;
316
+ export type CaptureSendOutput = z.infer<typeof captureSendOutput>;
317
+ export declare const runSendInput: z.ZodObject<{
318
+ origin: z.ZodString;
319
+ account_id: z.ZodString;
320
+ access_token: z.ZodString;
321
+ transfer_id: z.ZodString;
322
+ decisions: z.ZodOptional<z.ZodArray<z.ZodObject<{
323
+ kind: z.ZodEnum<{
324
+ timeline: "timeline";
325
+ workflow: "workflow";
326
+ }>;
327
+ document_id: z.ZodString;
328
+ choice: z.ZodLiteral<"keep_local">;
329
+ cloud_hash: z.ZodString;
330
+ }, z.core.$strip>>>;
331
+ confirm_deletes: z.ZodOptional<z.ZodArray<z.ZodObject<{
332
+ kind: z.ZodEnum<{
333
+ timeline: "timeline";
334
+ workflow: "workflow";
335
+ }>;
336
+ cloud_id: z.ZodString;
337
+ cloud_hash: z.ZodString;
338
+ }, z.core.$strip>>>;
339
+ confirm_missing_files: z.ZodOptional<z.ZodArray<z.ZodObject<{
340
+ asset_id: z.ZodString;
341
+ hash: z.ZodOptional<z.ZodString>;
342
+ size: z.ZodOptional<z.ZodNumber>;
343
+ reason: z.ZodEnum<{
344
+ missing_locally: "missing_locally";
345
+ over_allowance: "over_allowance";
346
+ too_large: "too_large";
347
+ }>;
348
+ documents: z.ZodArray<z.ZodObject<{
349
+ kind: z.ZodEnum<{
350
+ timeline: "timeline";
351
+ workflow: "workflow";
352
+ }>;
353
+ document_id: z.ZodString;
354
+ }, z.core.$strip>>;
355
+ }, z.core.$strip>>>;
356
+ }, z.core.$strip>;
357
+ export declare const runSendOutput: z.ZodDiscriminatedUnion<[z.ZodObject<{
358
+ status: z.ZodLiteral<"committed">;
359
+ transfer_id: z.ZodString;
360
+ result: z.ZodDiscriminatedUnion<[z.ZodObject<{
361
+ outcome: z.ZodLiteral<"committed">;
362
+ project_id: z.ZodString;
363
+ documents: z.ZodArray<z.ZodObject<{
364
+ kind: z.ZodEnum<{
365
+ timeline: "timeline";
366
+ workflow: "workflow";
367
+ }>;
368
+ document_id: z.ZodString;
369
+ hash: z.ZodString;
370
+ }, z.core.$strip>>;
371
+ kept_beside: z.ZodOptional<z.ZodArray<z.ZodObject<{
372
+ path: z.ZodString;
373
+ kept_path: z.ZodString;
374
+ asset_id: z.ZodOptional<z.ZodString>;
375
+ kept_asset_id: z.ZodOptional<z.ZodString>;
376
+ }, z.core.$strip>>>;
377
+ conversations: z.ZodOptional<z.ZodArray<z.ZodObject<{
378
+ source_thread_id: z.ZodString;
379
+ thread_id: z.ZodString;
380
+ }, z.core.$strip>>>;
381
+ }, z.core.$strip>, z.ZodObject<{
382
+ outcome: z.ZodLiteral<"refused">;
383
+ failures: z.ZodArray<z.ZodObject<{
384
+ code: z.ZodEnum<{
385
+ ACCESS_REMOVED: "ACCESS_REMOVED";
386
+ ALREADY_COMMITTED: "ALREADY_COMMITTED";
387
+ BASE_CHANGED: "BASE_CHANGED";
388
+ DECISION_REQUIRED: "DECISION_REQUIRED";
389
+ DOCUMENT_DELETED: "DOCUMENT_DELETED";
390
+ DOCUMENT_EXISTS: "DOCUMENT_EXISTS";
391
+ DOCUMENT_NOT_FOUND: "DOCUMENT_NOT_FOUND";
392
+ DOCUMENT_NOT_IN_PROJECT: "DOCUMENT_NOT_IN_PROJECT";
393
+ EDITOR_REQUIRED: "EDITOR_REQUIRED";
394
+ FILE_NOT_READABLE: "FILE_NOT_READABLE";
395
+ FILE_NOT_STAGED: "FILE_NOT_STAGED";
396
+ MANIFEST_INCOMPLETE: "MANIFEST_INCOMPLETE";
397
+ OWNER_REQUIRED: "OWNER_REQUIRED";
398
+ PAYLOAD_HASH_MISMATCH: "PAYLOAD_HASH_MISMATCH";
399
+ PAYLOAD_INVALID: "PAYLOAD_INVALID";
400
+ PAYLOAD_MISSING: "PAYLOAD_MISSING";
401
+ PROJECT_EDITOR_REQUIRED: "PROJECT_EDITOR_REQUIRED";
402
+ PROJECT_EXISTS: "PROJECT_EXISTS";
403
+ PROJECT_NOT_FOUND: "PROJECT_NOT_FOUND";
404
+ STORAGE_EXCEEDED: "STORAGE_EXCEEDED";
405
+ TRANSFER_CANCELLED: "TRANSFER_CANCELLED";
406
+ VERSION_CONFLICT: "VERSION_CONFLICT";
407
+ }>;
408
+ kind: z.ZodOptional<z.ZodEnum<{
409
+ timeline: "timeline";
410
+ workflow: "workflow";
411
+ }>>;
412
+ document_id: z.ZodOptional<z.ZodString>;
413
+ asset_id: z.ZodOptional<z.ZodString>;
414
+ hash: z.ZodOptional<z.ZodString>;
415
+ version_id: z.ZodOptional<z.ZodString>;
416
+ project_id: z.ZodOptional<z.ZodString>;
417
+ path: z.ZodOptional<z.ZodString>;
418
+ thread_id: z.ZodOptional<z.ZodString>;
419
+ stored_hash: z.ZodOptional<z.ZodString>;
420
+ message: z.ZodString;
421
+ }, z.core.$strip>>;
422
+ }, z.core.$strip>], "outcome">;
423
+ }, z.core.$strip>, z.ZodObject<{
424
+ status: z.ZodLiteral<"refused">;
425
+ transfer_id: z.ZodString;
426
+ failures: z.ZodArray<z.ZodObject<{
427
+ code: z.ZodEnum<{
428
+ ACCESS_REMOVED: "ACCESS_REMOVED";
429
+ ALREADY_COMMITTED: "ALREADY_COMMITTED";
430
+ BASE_CHANGED: "BASE_CHANGED";
431
+ DECISION_REQUIRED: "DECISION_REQUIRED";
432
+ DOCUMENT_DELETED: "DOCUMENT_DELETED";
433
+ DOCUMENT_EXISTS: "DOCUMENT_EXISTS";
434
+ DOCUMENT_NOT_FOUND: "DOCUMENT_NOT_FOUND";
435
+ DOCUMENT_NOT_IN_PROJECT: "DOCUMENT_NOT_IN_PROJECT";
436
+ EDITOR_REQUIRED: "EDITOR_REQUIRED";
437
+ FILE_NOT_READABLE: "FILE_NOT_READABLE";
438
+ FILE_NOT_STAGED: "FILE_NOT_STAGED";
439
+ MANIFEST_INCOMPLETE: "MANIFEST_INCOMPLETE";
440
+ OWNER_REQUIRED: "OWNER_REQUIRED";
441
+ PAYLOAD_HASH_MISMATCH: "PAYLOAD_HASH_MISMATCH";
442
+ PAYLOAD_INVALID: "PAYLOAD_INVALID";
443
+ PAYLOAD_MISSING: "PAYLOAD_MISSING";
444
+ PROJECT_EDITOR_REQUIRED: "PROJECT_EDITOR_REQUIRED";
445
+ PROJECT_EXISTS: "PROJECT_EXISTS";
446
+ PROJECT_NOT_FOUND: "PROJECT_NOT_FOUND";
447
+ STORAGE_EXCEEDED: "STORAGE_EXCEEDED";
448
+ TRANSFER_CANCELLED: "TRANSFER_CANCELLED";
449
+ VERSION_CONFLICT: "VERSION_CONFLICT";
450
+ }>;
451
+ kind: z.ZodOptional<z.ZodEnum<{
452
+ timeline: "timeline";
453
+ workflow: "workflow";
454
+ }>>;
455
+ document_id: z.ZodOptional<z.ZodString>;
456
+ asset_id: z.ZodOptional<z.ZodString>;
457
+ hash: z.ZodOptional<z.ZodString>;
458
+ version_id: z.ZodOptional<z.ZodString>;
459
+ project_id: z.ZodOptional<z.ZodString>;
460
+ path: z.ZodOptional<z.ZodString>;
461
+ thread_id: z.ZodOptional<z.ZodString>;
462
+ stored_hash: z.ZodOptional<z.ZodString>;
463
+ message: z.ZodString;
464
+ }, z.core.$strip>>;
465
+ }, z.core.$strip>, z.ZodObject<{
466
+ status: z.ZodLiteral<"missing_files_unconfirmed">;
467
+ transfer_id: z.ZodString;
468
+ missing_files: z.ZodArray<z.ZodObject<{
469
+ asset_id: z.ZodString;
470
+ hash: z.ZodOptional<z.ZodString>;
471
+ size: z.ZodOptional<z.ZodNumber>;
472
+ reason: z.ZodEnum<{
473
+ missing_locally: "missing_locally";
474
+ over_allowance: "over_allowance";
475
+ too_large: "too_large";
476
+ }>;
477
+ documents: z.ZodArray<z.ZodObject<{
478
+ kind: z.ZodEnum<{
479
+ timeline: "timeline";
480
+ workflow: "workflow";
481
+ }>;
482
+ document_id: z.ZodString;
483
+ }, z.core.$strip>>;
484
+ }, z.core.$strip>>;
485
+ }, z.core.$strip>], "status">;
486
+ export type RunSendOutput = z.infer<typeof runSendOutput>;
487
+ export declare const cancelSendInput: z.ZodObject<{
488
+ origin: z.ZodString;
489
+ account_id: z.ZodString;
490
+ access_token: z.ZodString;
491
+ transfer_id: z.ZodString;
492
+ }, z.core.$strip>;
493
+ export declare const cancelSendOutput: z.ZodObject<{
494
+ state: z.ZodEnum<{
495
+ cancelled: "cancelled";
496
+ committed: "committed";
497
+ }>;
498
+ }, z.core.$strip>;
499
+ export declare const receiveDocumentStatus: z.ZodEnum<{
500
+ both_changed: "both_changed";
501
+ cloud_changed: "cloud_changed";
502
+ local_changed: "local_changed";
503
+ local_deleted: "local_deleted";
504
+ new: "new";
505
+ same: "same";
506
+ }>;
507
+ export declare const receiveDecision: z.ZodEnum<{
508
+ keep_local: "keep_local";
509
+ receive: "receive";
510
+ }>;
511
+ export declare const captureReceiveInput: z.ZodObject<{
512
+ origin: z.ZodString;
513
+ account_id: z.ZodString;
514
+ access_token: z.ZodString;
515
+ project_id: z.ZodString;
516
+ }, z.core.$strip>;
517
+ /** A document of a receive's review. */
518
+ export declare const receiveReviewDocument: z.ZodObject<{
519
+ kind: z.ZodEnum<{
520
+ timeline: "timeline";
521
+ workflow: "workflow";
522
+ }>;
523
+ cloud_id: z.ZodString;
524
+ local_id: z.ZodString;
525
+ name: z.ZodString;
526
+ content_hash: z.ZodString;
527
+ local_hash: z.ZodNullable<z.ZodString>;
528
+ status: z.ZodEnum<{
529
+ both_changed: "both_changed";
530
+ cloud_changed: "cloud_changed";
531
+ local_changed: "local_changed";
532
+ local_deleted: "local_deleted";
533
+ new: "new";
534
+ same: "same";
535
+ }>;
536
+ changed_files: z.ZodNumber;
537
+ decision: z.ZodNullable<z.ZodEnum<{
538
+ keep_local: "keep_local";
539
+ receive: "receive";
540
+ }>>;
541
+ files: z.ZodArray<z.ZodObject<{
542
+ asset_id: z.ZodString;
543
+ hash: z.ZodString;
544
+ size: z.ZodNumber;
545
+ name: z.ZodString;
546
+ content_type: z.ZodString;
547
+ path: z.ZodNullable<z.ZodString>;
548
+ }, z.core.$strip>>;
549
+ missing_files: z.ZodArray<z.ZodString>;
550
+ }, z.core.$strip>;
551
+ export declare const captureReceiveOutput: z.ZodObject<{
552
+ set_id: z.ZodString;
553
+ documents: z.ZodArray<z.ZodObject<{
554
+ kind: z.ZodEnum<{
555
+ timeline: "timeline";
556
+ workflow: "workflow";
557
+ }>;
558
+ cloud_id: z.ZodString;
559
+ local_id: z.ZodString;
560
+ name: z.ZodString;
561
+ content_hash: z.ZodString;
562
+ local_hash: z.ZodNullable<z.ZodString>;
563
+ status: z.ZodEnum<{
564
+ both_changed: "both_changed";
565
+ cloud_changed: "cloud_changed";
566
+ local_changed: "local_changed";
567
+ local_deleted: "local_deleted";
568
+ new: "new";
569
+ same: "same";
570
+ }>;
571
+ changed_files: z.ZodNumber;
572
+ decision: z.ZodNullable<z.ZodEnum<{
573
+ keep_local: "keep_local";
574
+ receive: "receive";
575
+ }>>;
576
+ files: z.ZodArray<z.ZodObject<{
577
+ asset_id: z.ZodString;
578
+ hash: z.ZodString;
579
+ size: z.ZodNumber;
580
+ name: z.ZodString;
581
+ content_type: z.ZodString;
582
+ path: z.ZodNullable<z.ZodString>;
583
+ }, z.core.$strip>>;
584
+ missing_files: z.ZodArray<z.ZodString>;
585
+ }, z.core.$strip>>;
586
+ }, z.core.$strip>;
587
+ export type CaptureReceiveOutput = z.infer<typeof captureReceiveOutput>;
588
+ export declare const runReceiveInput: z.ZodObject<{
589
+ origin: z.ZodString;
590
+ account_id: z.ZodString;
591
+ access_token: z.ZodString;
592
+ set_id: z.ZodString;
593
+ decisions: z.ZodOptional<z.ZodArray<z.ZodObject<{
594
+ kind: z.ZodEnum<{
595
+ timeline: "timeline";
596
+ workflow: "workflow";
597
+ }>;
598
+ document_id: z.ZodString;
599
+ decision: z.ZodEnum<{
600
+ keep_local: "keep_local";
601
+ receive: "receive";
602
+ }>;
603
+ }, z.core.$strip>>>;
604
+ }, z.core.$strip>;
605
+ export declare const receiveResult: z.ZodObject<{
606
+ received: z.ZodArray<z.ZodObject<{
607
+ kind: z.ZodEnum<{
608
+ timeline: "timeline";
609
+ workflow: "workflow";
610
+ }>;
611
+ id: z.ZodString;
612
+ name: z.ZodString;
613
+ }, z.core.$strip>>;
614
+ changed_during_receive: z.ZodArray<z.ZodObject<{
615
+ kind: z.ZodEnum<{
616
+ timeline: "timeline";
617
+ workflow: "workflow";
618
+ }>;
619
+ id: z.ZodString;
620
+ name: z.ZodString;
621
+ }, z.core.$strip>>;
622
+ not_received: z.ZodArray<z.ZodObject<{
623
+ kind: z.ZodEnum<{
624
+ timeline: "timeline";
625
+ workflow: "workflow";
626
+ }>;
627
+ id: z.ZodString;
628
+ name: z.ZodString;
629
+ status: z.ZodEnum<{
630
+ both_changed: "both_changed";
631
+ cloud_changed: "cloud_changed";
632
+ local_changed: "local_changed";
633
+ local_deleted: "local_deleted";
634
+ new: "new";
635
+ same: "same";
636
+ }>;
637
+ }, z.core.$strip>>;
638
+ kept_beside: z.ZodArray<z.ZodObject<{
639
+ asset_id: z.ZodString;
640
+ path: z.ZodString;
641
+ kept_path: z.ZodString;
642
+ }, z.core.$strip>>;
643
+ missing_files: z.ZodArray<z.ZodString>;
644
+ file_kept: z.ZodArray<z.ZodObject<{
645
+ kind: z.ZodEnum<{
646
+ timeline: "timeline";
647
+ workflow: "workflow";
648
+ }>;
649
+ id: z.ZodString;
650
+ }, z.core.$strip>>;
651
+ }, z.core.$strip>;
652
+ export declare const runReceiveOutput: z.ZodDiscriminatedUnion<[z.ZodObject<{
653
+ status: z.ZodLiteral<"finished">;
654
+ set_id: z.ZodString;
655
+ result: z.ZodObject<{
656
+ received: z.ZodArray<z.ZodObject<{
657
+ kind: z.ZodEnum<{
658
+ timeline: "timeline";
659
+ workflow: "workflow";
660
+ }>;
661
+ id: z.ZodString;
662
+ name: z.ZodString;
663
+ }, z.core.$strip>>;
664
+ changed_during_receive: z.ZodArray<z.ZodObject<{
665
+ kind: z.ZodEnum<{
666
+ timeline: "timeline";
667
+ workflow: "workflow";
668
+ }>;
669
+ id: z.ZodString;
670
+ name: z.ZodString;
671
+ }, z.core.$strip>>;
672
+ not_received: z.ZodArray<z.ZodObject<{
673
+ kind: z.ZodEnum<{
674
+ timeline: "timeline";
675
+ workflow: "workflow";
676
+ }>;
677
+ id: z.ZodString;
678
+ name: z.ZodString;
679
+ status: z.ZodEnum<{
680
+ both_changed: "both_changed";
681
+ cloud_changed: "cloud_changed";
682
+ local_changed: "local_changed";
683
+ local_deleted: "local_deleted";
684
+ new: "new";
685
+ same: "same";
686
+ }>;
687
+ }, z.core.$strip>>;
688
+ kept_beside: z.ZodArray<z.ZodObject<{
689
+ asset_id: z.ZodString;
690
+ path: z.ZodString;
691
+ kept_path: z.ZodString;
692
+ }, z.core.$strip>>;
693
+ missing_files: z.ZodArray<z.ZodString>;
694
+ file_kept: z.ZodArray<z.ZodObject<{
695
+ kind: z.ZodEnum<{
696
+ timeline: "timeline";
697
+ workflow: "workflow";
698
+ }>;
699
+ id: z.ZodString;
700
+ }, z.core.$strip>>;
701
+ }, z.core.$strip>;
702
+ }, z.core.$strip>, z.ZodObject<{
703
+ status: z.ZodLiteral<"expired">;
704
+ set_id: z.ZodString;
705
+ }, z.core.$strip>, z.ZodObject<{
706
+ status: z.ZodLiteral<"waiting_for_review">;
707
+ set_id: z.ZodString;
708
+ documents: z.ZodOptional<z.ZodArray<z.ZodObject<{
709
+ kind: z.ZodEnum<{
710
+ timeline: "timeline";
711
+ workflow: "workflow";
712
+ }>;
713
+ cloud_id: z.ZodString;
714
+ local_id: z.ZodString;
715
+ name: z.ZodString;
716
+ content_hash: z.ZodString;
717
+ local_hash: z.ZodNullable<z.ZodString>;
718
+ status: z.ZodEnum<{
719
+ both_changed: "both_changed";
720
+ cloud_changed: "cloud_changed";
721
+ local_changed: "local_changed";
722
+ local_deleted: "local_deleted";
723
+ new: "new";
724
+ same: "same";
725
+ }>;
726
+ changed_files: z.ZodNumber;
727
+ decision: z.ZodNullable<z.ZodEnum<{
728
+ keep_local: "keep_local";
729
+ receive: "receive";
730
+ }>>;
731
+ files: z.ZodArray<z.ZodObject<{
732
+ asset_id: z.ZodString;
733
+ hash: z.ZodString;
734
+ size: z.ZodNumber;
735
+ name: z.ZodString;
736
+ content_type: z.ZodString;
737
+ path: z.ZodNullable<z.ZodString>;
738
+ }, z.core.$strip>>;
739
+ missing_files: z.ZodArray<z.ZodString>;
740
+ }, z.core.$strip>>>;
741
+ }, z.core.$strip>], "status">;
742
+ export type RunReceiveOutput = z.infer<typeof runReceiveOutput>;
743
+ /** Closes a receive's review: releases the set and clears the local receive (review F41). */
744
+ export declare const cancelReceiveInput: z.ZodObject<{
745
+ origin: z.ZodString;
746
+ account_id: z.ZodString;
747
+ access_token: z.ZodString;
748
+ set_id: z.ZodString;
749
+ }, z.core.$strip>;
750
+ /** `applied`: the receive committed already, and a resume finishes placing its files. */
751
+ export declare const cancelReceiveOutput: z.ZodObject<{
752
+ state: z.ZodEnum<{
753
+ applied: "applied";
754
+ cancelled: "cancelled";
755
+ }>;
756
+ }, z.core.$strip>;
757
+ /** Whether a local project is linked, so the app offers Publish to Cloud or Synchronize. */
758
+ export declare const linkStatusInput: z.ZodObject<{
759
+ origin: z.ZodString;
760
+ account_id: z.ZodString;
761
+ project_id: z.ZodString;
762
+ }, z.core.$strip>;
763
+ export declare const linkStatusOutput: z.ZodDiscriminatedUnion<[z.ZodObject<{
764
+ state: z.ZodLiteral<"unlinked">;
765
+ }, z.core.$strip>, z.ZodObject<{
766
+ state: z.ZodLiteral<"linked">;
767
+ cloud_project_id: z.ZodString;
768
+ }, z.core.$strip>, z.ZodObject<{
769
+ state: z.ZodLiteral<"linked_elsewhere">;
770
+ }, z.core.$strip>], "state">;
771
+ export type LinkStatusOutput = z.infer<typeof linkStatusOutput>;
772
+ /** Continues every send and receive of this account that a restart interrupted. */
773
+ export declare const resumeTransfersInput: z.ZodObject<{
774
+ origin: z.ZodString;
775
+ account_id: z.ZodString;
776
+ access_token: z.ZodString;
777
+ }, z.core.$strip>;
778
+ export declare const resumeTransfersOutput: z.ZodObject<{
779
+ sends: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
780
+ status: z.ZodLiteral<"committed">;
781
+ transfer_id: z.ZodString;
782
+ result: z.ZodDiscriminatedUnion<[z.ZodObject<{
783
+ outcome: z.ZodLiteral<"committed">;
784
+ project_id: z.ZodString;
785
+ documents: z.ZodArray<z.ZodObject<{
786
+ kind: z.ZodEnum<{
787
+ timeline: "timeline";
788
+ workflow: "workflow";
789
+ }>;
790
+ document_id: z.ZodString;
791
+ hash: z.ZodString;
792
+ }, z.core.$strip>>;
793
+ kept_beside: z.ZodOptional<z.ZodArray<z.ZodObject<{
794
+ path: z.ZodString;
795
+ kept_path: z.ZodString;
796
+ asset_id: z.ZodOptional<z.ZodString>;
797
+ kept_asset_id: z.ZodOptional<z.ZodString>;
798
+ }, z.core.$strip>>>;
799
+ conversations: z.ZodOptional<z.ZodArray<z.ZodObject<{
800
+ source_thread_id: z.ZodString;
801
+ thread_id: z.ZodString;
802
+ }, z.core.$strip>>>;
803
+ }, z.core.$strip>, z.ZodObject<{
804
+ outcome: z.ZodLiteral<"refused">;
805
+ failures: z.ZodArray<z.ZodObject<{
806
+ code: z.ZodEnum<{
807
+ ACCESS_REMOVED: "ACCESS_REMOVED";
808
+ ALREADY_COMMITTED: "ALREADY_COMMITTED";
809
+ BASE_CHANGED: "BASE_CHANGED";
810
+ DECISION_REQUIRED: "DECISION_REQUIRED";
811
+ DOCUMENT_DELETED: "DOCUMENT_DELETED";
812
+ DOCUMENT_EXISTS: "DOCUMENT_EXISTS";
813
+ DOCUMENT_NOT_FOUND: "DOCUMENT_NOT_FOUND";
814
+ DOCUMENT_NOT_IN_PROJECT: "DOCUMENT_NOT_IN_PROJECT";
815
+ EDITOR_REQUIRED: "EDITOR_REQUIRED";
816
+ FILE_NOT_READABLE: "FILE_NOT_READABLE";
817
+ FILE_NOT_STAGED: "FILE_NOT_STAGED";
818
+ MANIFEST_INCOMPLETE: "MANIFEST_INCOMPLETE";
819
+ OWNER_REQUIRED: "OWNER_REQUIRED";
820
+ PAYLOAD_HASH_MISMATCH: "PAYLOAD_HASH_MISMATCH";
821
+ PAYLOAD_INVALID: "PAYLOAD_INVALID";
822
+ PAYLOAD_MISSING: "PAYLOAD_MISSING";
823
+ PROJECT_EDITOR_REQUIRED: "PROJECT_EDITOR_REQUIRED";
824
+ PROJECT_EXISTS: "PROJECT_EXISTS";
825
+ PROJECT_NOT_FOUND: "PROJECT_NOT_FOUND";
826
+ STORAGE_EXCEEDED: "STORAGE_EXCEEDED";
827
+ TRANSFER_CANCELLED: "TRANSFER_CANCELLED";
828
+ VERSION_CONFLICT: "VERSION_CONFLICT";
829
+ }>;
830
+ kind: z.ZodOptional<z.ZodEnum<{
831
+ timeline: "timeline";
832
+ workflow: "workflow";
833
+ }>>;
834
+ document_id: z.ZodOptional<z.ZodString>;
835
+ asset_id: z.ZodOptional<z.ZodString>;
836
+ hash: z.ZodOptional<z.ZodString>;
837
+ version_id: z.ZodOptional<z.ZodString>;
838
+ project_id: z.ZodOptional<z.ZodString>;
839
+ path: z.ZodOptional<z.ZodString>;
840
+ thread_id: z.ZodOptional<z.ZodString>;
841
+ stored_hash: z.ZodOptional<z.ZodString>;
842
+ message: z.ZodString;
843
+ }, z.core.$strip>>;
844
+ }, z.core.$strip>], "outcome">;
845
+ }, z.core.$strip>, z.ZodObject<{
846
+ status: z.ZodLiteral<"refused">;
847
+ transfer_id: z.ZodString;
848
+ failures: z.ZodArray<z.ZodObject<{
849
+ code: z.ZodEnum<{
850
+ ACCESS_REMOVED: "ACCESS_REMOVED";
851
+ ALREADY_COMMITTED: "ALREADY_COMMITTED";
852
+ BASE_CHANGED: "BASE_CHANGED";
853
+ DECISION_REQUIRED: "DECISION_REQUIRED";
854
+ DOCUMENT_DELETED: "DOCUMENT_DELETED";
855
+ DOCUMENT_EXISTS: "DOCUMENT_EXISTS";
856
+ DOCUMENT_NOT_FOUND: "DOCUMENT_NOT_FOUND";
857
+ DOCUMENT_NOT_IN_PROJECT: "DOCUMENT_NOT_IN_PROJECT";
858
+ EDITOR_REQUIRED: "EDITOR_REQUIRED";
859
+ FILE_NOT_READABLE: "FILE_NOT_READABLE";
860
+ FILE_NOT_STAGED: "FILE_NOT_STAGED";
861
+ MANIFEST_INCOMPLETE: "MANIFEST_INCOMPLETE";
862
+ OWNER_REQUIRED: "OWNER_REQUIRED";
863
+ PAYLOAD_HASH_MISMATCH: "PAYLOAD_HASH_MISMATCH";
864
+ PAYLOAD_INVALID: "PAYLOAD_INVALID";
865
+ PAYLOAD_MISSING: "PAYLOAD_MISSING";
866
+ PROJECT_EDITOR_REQUIRED: "PROJECT_EDITOR_REQUIRED";
867
+ PROJECT_EXISTS: "PROJECT_EXISTS";
868
+ PROJECT_NOT_FOUND: "PROJECT_NOT_FOUND";
869
+ STORAGE_EXCEEDED: "STORAGE_EXCEEDED";
870
+ TRANSFER_CANCELLED: "TRANSFER_CANCELLED";
871
+ VERSION_CONFLICT: "VERSION_CONFLICT";
872
+ }>;
873
+ kind: z.ZodOptional<z.ZodEnum<{
874
+ timeline: "timeline";
875
+ workflow: "workflow";
876
+ }>>;
877
+ document_id: z.ZodOptional<z.ZodString>;
878
+ asset_id: z.ZodOptional<z.ZodString>;
879
+ hash: z.ZodOptional<z.ZodString>;
880
+ version_id: z.ZodOptional<z.ZodString>;
881
+ project_id: z.ZodOptional<z.ZodString>;
882
+ path: z.ZodOptional<z.ZodString>;
883
+ thread_id: z.ZodOptional<z.ZodString>;
884
+ stored_hash: z.ZodOptional<z.ZodString>;
885
+ message: z.ZodString;
886
+ }, z.core.$strip>>;
887
+ }, z.core.$strip>, z.ZodObject<{
888
+ status: z.ZodLiteral<"missing_files_unconfirmed">;
889
+ transfer_id: z.ZodString;
890
+ missing_files: z.ZodArray<z.ZodObject<{
891
+ asset_id: z.ZodString;
892
+ hash: z.ZodOptional<z.ZodString>;
893
+ size: z.ZodOptional<z.ZodNumber>;
894
+ reason: z.ZodEnum<{
895
+ missing_locally: "missing_locally";
896
+ over_allowance: "over_allowance";
897
+ too_large: "too_large";
898
+ }>;
899
+ documents: z.ZodArray<z.ZodObject<{
900
+ kind: z.ZodEnum<{
901
+ timeline: "timeline";
902
+ workflow: "workflow";
903
+ }>;
904
+ document_id: z.ZodString;
905
+ }, z.core.$strip>>;
906
+ }, z.core.$strip>>;
907
+ }, z.core.$strip>], "status">>;
908
+ receives: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
909
+ status: z.ZodLiteral<"finished">;
910
+ set_id: z.ZodString;
911
+ result: z.ZodObject<{
912
+ received: z.ZodArray<z.ZodObject<{
913
+ kind: z.ZodEnum<{
914
+ timeline: "timeline";
915
+ workflow: "workflow";
916
+ }>;
917
+ id: z.ZodString;
918
+ name: z.ZodString;
919
+ }, z.core.$strip>>;
920
+ changed_during_receive: z.ZodArray<z.ZodObject<{
921
+ kind: z.ZodEnum<{
922
+ timeline: "timeline";
923
+ workflow: "workflow";
924
+ }>;
925
+ id: z.ZodString;
926
+ name: z.ZodString;
927
+ }, z.core.$strip>>;
928
+ not_received: z.ZodArray<z.ZodObject<{
929
+ kind: z.ZodEnum<{
930
+ timeline: "timeline";
931
+ workflow: "workflow";
932
+ }>;
933
+ id: z.ZodString;
934
+ name: z.ZodString;
935
+ status: z.ZodEnum<{
936
+ both_changed: "both_changed";
937
+ cloud_changed: "cloud_changed";
938
+ local_changed: "local_changed";
939
+ local_deleted: "local_deleted";
940
+ new: "new";
941
+ same: "same";
942
+ }>;
943
+ }, z.core.$strip>>;
944
+ kept_beside: z.ZodArray<z.ZodObject<{
945
+ asset_id: z.ZodString;
946
+ path: z.ZodString;
947
+ kept_path: z.ZodString;
948
+ }, z.core.$strip>>;
949
+ missing_files: z.ZodArray<z.ZodString>;
950
+ file_kept: z.ZodArray<z.ZodObject<{
951
+ kind: z.ZodEnum<{
952
+ timeline: "timeline";
953
+ workflow: "workflow";
954
+ }>;
955
+ id: z.ZodString;
956
+ }, z.core.$strip>>;
957
+ }, z.core.$strip>;
958
+ }, z.core.$strip>, z.ZodObject<{
959
+ status: z.ZodLiteral<"expired">;
960
+ set_id: z.ZodString;
961
+ }, z.core.$strip>, z.ZodObject<{
962
+ status: z.ZodLiteral<"waiting_for_review">;
963
+ set_id: z.ZodString;
964
+ documents: z.ZodOptional<z.ZodArray<z.ZodObject<{
965
+ kind: z.ZodEnum<{
966
+ timeline: "timeline";
967
+ workflow: "workflow";
968
+ }>;
969
+ cloud_id: z.ZodString;
970
+ local_id: z.ZodString;
971
+ name: z.ZodString;
972
+ content_hash: z.ZodString;
973
+ local_hash: z.ZodNullable<z.ZodString>;
974
+ status: z.ZodEnum<{
975
+ both_changed: "both_changed";
976
+ cloud_changed: "cloud_changed";
977
+ local_changed: "local_changed";
978
+ local_deleted: "local_deleted";
979
+ new: "new";
980
+ same: "same";
981
+ }>;
982
+ changed_files: z.ZodNumber;
983
+ decision: z.ZodNullable<z.ZodEnum<{
984
+ keep_local: "keep_local";
985
+ receive: "receive";
986
+ }>>;
987
+ files: z.ZodArray<z.ZodObject<{
988
+ asset_id: z.ZodString;
989
+ hash: z.ZodString;
990
+ size: z.ZodNumber;
991
+ name: z.ZodString;
992
+ content_type: z.ZodString;
993
+ path: z.ZodNullable<z.ZodString>;
994
+ }, z.core.$strip>>;
995
+ missing_files: z.ZodArray<z.ZodString>;
996
+ }, z.core.$strip>>>;
997
+ }, z.core.$strip>], "status">>;
998
+ }, z.core.$strip>;
999
+ //# sourceMappingURL=cloud-transfer-local.d.ts.map