@comfyorg/ingest-types 1.7.1 → 1.7.3

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/zod.gen.d.ts CHANGED
@@ -17,21 +17,54 @@ export declare const zAcceptedAutoTopUpSettings: z.ZodObject<{
17
17
  threshold_credits: z.ZodCoercedBigInt<unknown>;
18
18
  }, z.core.$strip>;
19
19
  /**
20
- * Returned when a request to run the agent is declined before the turn starts, because of a billing or account condition on the workspace. The `error` object carries a `message` you can show the user, a `type` that matches the HTTP status, and a more specific `reason` you can branch on to offer the right next step.
20
+ * A person named in an access change.
21
21
  */
22
- export declare const zAgentAdmissionError: z.ZodObject<{
23
- error: z.ZodObject<{
24
- message: z.ZodString;
25
- reason: z.ZodEnum<{
26
- no_funds: "no_funds";
27
- manual_block: "manual_block";
28
- funds_unavailable: "funds_unavailable";
29
- }>;
30
- type: z.ZodEnum<{
31
- PAYMENT_REQUIRED: "PAYMENT_REQUIRED";
32
- SERVICE_UNAVAILABLE: "SERVICE_UNAVAILABLE";
33
- }>;
22
+ export declare const zAccessEventPerson: z.ZodObject<{
23
+ name: z.ZodString;
24
+ user_id: z.ZodString;
25
+ }, z.core.$strip>;
26
+ /**
27
+ * One change to who can access what in the workspace.
28
+ */
29
+ export declare const zAccessEvent: z.ZodObject<{
30
+ action: z.ZodString;
31
+ actor: z.ZodObject<{
32
+ name: z.ZodString;
33
+ user_id: z.ZodString;
34
34
  }, z.core.$strip>;
35
+ after: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
36
+ before: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
37
+ create_time: z.ZodISODateTime;
38
+ id: z.ZodUUID;
39
+ project_id: z.ZodOptional<z.ZodString>;
40
+ project_name: z.ZodOptional<z.ZodString>;
41
+ target: z.ZodOptional<z.ZodObject<{
42
+ name: z.ZodString;
43
+ user_id: z.ZodString;
44
+ }, z.core.$strip>>;
45
+ }, z.core.$strip>;
46
+ /**
47
+ * Where the next page of access changes starts.
48
+ */
49
+ export declare const zAccessEventsPagination: z.ZodObject<{
50
+ has_more: z.ZodBoolean;
51
+ next_cursor: z.ZodOptional<z.ZodString>;
52
+ }, z.core.$strip>;
53
+ /**
54
+ * The upload to add to the models of the deployment's Build.
55
+ */
56
+ export declare const zAddDeploymentBuildModelRequest: z.ZodObject<{
57
+ blobId: z.ZodString;
58
+ filename: z.ZodString;
59
+ type: z.ZodString;
60
+ }, z.core.$strip>;
61
+ /**
62
+ * The upload to add to the deployment, passed to comfy-deploy as written.
63
+ */
64
+ export declare const zAddDeploymentModelRequest: z.ZodObject<{
65
+ blobId: z.ZodString;
66
+ filename: z.ZodOptional<z.ZodString>;
67
+ type: z.ZodString;
35
68
  }, z.core.$strip>;
36
69
  /**
37
70
  * Acknowledgement that the ask is answered and the parked turn was woken; its continuation streams over the WebSocket. `selected` and `other_text` are the answer committed to the ask row. The first answer wins: when an earlier request already committed one (a retry, or another tab), this carries THAT answer, not the request body, so compare it with what you sent before showing it as the user's choice.
@@ -140,6 +173,22 @@ export declare const zAgentAttachmentBoundsExceeded: z.ZodObject<{
140
173
  ATTACHMENT_BOUNDS_EXCEEDED: "ATTACHMENT_BOUNDS_EXCEEDED";
141
174
  }>;
142
175
  }, z.core.$strip>;
176
+ /**
177
+ * One on-demand skill the agent itself ships.
178
+ */
179
+ export declare const zAgentBuiltinSkill: z.ZodObject<{
180
+ description: z.ZodString;
181
+ name: z.ZodString;
182
+ }, z.core.$strip>;
183
+ /**
184
+ * The on-demand skills the agent itself ships, ordered by name.
185
+ */
186
+ export declare const zAgentBuiltinSkillListResponse: z.ZodObject<{
187
+ skills: z.ZodArray<z.ZodObject<{
188
+ description: z.ZodString;
189
+ name: z.ZodString;
190
+ }, z.core.$strip>>;
191
+ }, z.core.$strip>;
143
192
  /**
144
193
  * Acknowledgement that a turn cancellation was requested. Cancellation is asynchronous; the terminal message state (status=error with stop copy) arrives over the WebSocket.
145
194
  */
@@ -255,6 +304,16 @@ export declare const zAgentLlmError: z.ZodObject<{
255
304
  error: "error";
256
305
  }>;
257
306
  }, z.core.$strip>;
307
+ /**
308
+ * OpenAI-shaped error envelope on POST /api/agent/llm/v1/chat/completions and POST /api/agent/llm/v1/responses, written by the LLM proxy or passed through from the provider.
309
+ */
310
+ export declare const zAgentLlmOpenAiError: z.ZodObject<{
311
+ error: z.ZodObject<{
312
+ code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
313
+ message: z.ZodString;
314
+ type: z.ZodString;
315
+ }, z.core.$strip>;
316
+ }, z.core.$strip>;
258
317
  /**
259
318
  * An explicit exact model selection. Unknown properties are refused with 400 so a newer intent is never silently ignored by an older server.
260
319
  */
@@ -262,6 +321,52 @@ export declare const zAgentModelSelection: z.ZodObject<{
262
321
  model_id: z.ZodString;
263
322
  option_id: z.ZodOptional<z.ZodString>;
264
323
  }, z.core.$strip>;
324
+ /**
325
+ * One entry of the model control.
326
+ */
327
+ export declare const zAgentFeatureSelection: z.ZodObject<{
328
+ cost_tier: z.ZodOptional<z.ZodInt>;
329
+ description: z.ZodOptional<z.ZodString>;
330
+ group: z.ZodOptional<z.ZodString>;
331
+ id: z.ZodString;
332
+ kind: z.ZodOptional<z.ZodString>;
333
+ label: z.ZodString;
334
+ model_label: z.ZodOptional<z.ZodString>;
335
+ send: z.ZodObject<{
336
+ model_id: z.ZodString;
337
+ option_id: z.ZodOptional<z.ZodString>;
338
+ }, z.core.$strip>;
339
+ show_model: z.ZodOptional<z.ZodBoolean>;
340
+ }, z.core.$strip>;
341
+ /**
342
+ * The model selections a caller may be shown (GET /api/agent/features). Clients ignore keys they do not know; more are added over time. It never carries an internal model configuration name or a profile revision.
343
+ */
344
+ export declare const zAgentFeatures: z.ZodObject<{
345
+ default_selection: z.ZodOptional<z.ZodString>;
346
+ enabled: z.ZodBoolean;
347
+ groups: z.ZodOptional<z.ZodArray<z.ZodObject<{
348
+ id: z.ZodString;
349
+ label: z.ZodString;
350
+ }, z.core.$strip>>>;
351
+ selected: z.ZodOptional<z.ZodObject<{
352
+ selection: z.ZodString;
353
+ source: z.ZodOptional<z.ZodString>;
354
+ }, z.core.$strip>>;
355
+ selections: z.ZodOptional<z.ZodArray<z.ZodObject<{
356
+ cost_tier: z.ZodOptional<z.ZodInt>;
357
+ description: z.ZodOptional<z.ZodString>;
358
+ group: z.ZodOptional<z.ZodString>;
359
+ id: z.ZodString;
360
+ kind: z.ZodOptional<z.ZodString>;
361
+ label: z.ZodString;
362
+ model_label: z.ZodOptional<z.ZodString>;
363
+ send: z.ZodObject<{
364
+ model_id: z.ZodString;
365
+ option_id: z.ZodOptional<z.ZodString>;
366
+ }, z.core.$strip>;
367
+ show_model: z.ZodOptional<z.ZodBoolean>;
368
+ }, z.core.$strip>>>;
369
+ }, z.core.$strip>;
265
370
  /**
266
371
  * The immutable model selection receipt for an accepted turn.
267
372
  */
@@ -270,7 +375,6 @@ export declare const zAgentModelReceipt: z.ZodObject<{
270
375
  v1: "v1";
271
376
  }>;
272
377
  model_id: z.ZodString;
273
- profile_revision: z.ZodString;
274
378
  requested: z.ZodNullable<z.ZodObject<{
275
379
  model_id: z.ZodString;
276
380
  option_id: z.ZodOptional<z.ZodString>;
@@ -285,7 +389,26 @@ export declare const zAgentModelReceipt: z.ZodObject<{
285
389
  wire: z.ZodEnum<{
286
390
  anthropic_messages: "anthropic_messages";
287
391
  openai_chat: "openai_chat";
392
+ openai_responses: "openai_responses";
393
+ }>;
394
+ }, z.core.$strip>;
395
+ export declare const zAgentModelSelectionDisabled: z.ZodIntersection<z.ZodObject<{
396
+ code: z.ZodOptional<z.ZodString>;
397
+ error: z.ZodString;
398
+ kind: z.ZodOptional<z.ZodEnum<{
399
+ unauthenticated: "unauthenticated";
400
+ not_provisioned: "not_provisioned";
401
+ }>>;
402
+ }, z.core.$strip>, z.ZodObject<{
403
+ code: z.ZodEnum<{
404
+ model_selection_disabled: "model_selection_disabled";
288
405
  }>;
406
+ }, z.core.$strip>>;
407
+ /**
408
+ * The selection a model-selection save committed.
409
+ */
410
+ export declare const zAgentModelSelectionSaved: z.ZodObject<{
411
+ selection: z.ZodString;
289
412
  }, z.core.$strip>;
290
413
  export declare const zAgentModelUnavailable: z.ZodIntersection<z.ZodObject<{
291
414
  code: z.ZodOptional<z.ZodString>;
@@ -313,6 +436,7 @@ export declare const zAgentPausedContext: z.ZodObject<{
313
436
  export declare const zAgentPendingAskBase: z.ZodObject<{
314
437
  allow_other: z.ZodBoolean;
315
438
  ask_id: z.ZodString;
439
+ expires_at: z.ZodOptional<z.ZodISODateTime>;
316
440
  kind: z.ZodEnum<{
317
441
  ask_user: "ask_user";
318
442
  run_approval: "run_approval";
@@ -335,6 +459,7 @@ export declare const zAgentPendingAskBase: z.ZodObject<{
335
459
  export declare const zAgentPendingAskUser: z.ZodIntersection<z.ZodObject<{
336
460
  allow_other: z.ZodBoolean;
337
461
  ask_id: z.ZodString;
462
+ expires_at: z.ZodOptional<z.ZodISODateTime>;
338
463
  kind: z.ZodEnum<{
339
464
  ask_user: "ask_user";
340
465
  run_approval: "run_approval";
@@ -361,6 +486,7 @@ export declare const zAgentPendingAskUser: z.ZodIntersection<z.ZodObject<{
361
486
  export declare const zAgentPendingDeleteApproval: z.ZodIntersection<z.ZodObject<{
362
487
  allow_other: z.ZodBoolean;
363
488
  ask_id: z.ZodString;
489
+ expires_at: z.ZodOptional<z.ZodISODateTime>;
364
490
  kind: z.ZodEnum<{
365
491
  ask_user: "ask_user";
366
492
  run_approval: "run_approval";
@@ -398,6 +524,7 @@ export declare const zAgentPendingDeleteApproval: z.ZodIntersection<z.ZodObject<
398
524
  export declare const zAgentPendingPaused: z.ZodIntersection<z.ZodObject<{
399
525
  allow_other: z.ZodBoolean;
400
526
  ask_id: z.ZodString;
527
+ expires_at: z.ZodOptional<z.ZodISODateTime>;
401
528
  kind: z.ZodEnum<{
402
529
  ask_user: "ask_user";
403
530
  run_approval: "run_approval";
@@ -434,6 +561,7 @@ export declare const zAgentPostMessageRequest: z.ZodObject<{
434
561
  delete_approval: "delete_approval";
435
562
  }>>>;
436
563
  attachments: z.ZodOptional<z.ZodArray<z.ZodString>>;
564
+ canvas_selection: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
437
565
  client_id: z.ZodOptional<z.ZodString>;
438
566
  client_message_id: z.ZodOptional<z.ZodString>;
439
567
  client_version: z.ZodOptional<z.ZodString>;
@@ -458,6 +586,20 @@ export declare const zAgentPostMessageRequest: z.ZodObject<{
458
586
  workflow_id: z.ZodString;
459
587
  }, z.core.$strip>>>;
460
588
  }, z.core.$strip>;
589
+ /**
590
+ * User-by-workspace assignment for the proactive greeting experiment.
591
+ */
592
+ export declare const zAgentProactiveGreetingAssignment: z.ZodObject<{
593
+ group_key: z.ZodString;
594
+ user_id: z.ZodString;
595
+ variant: z.ZodEnum<{
596
+ control: "control";
597
+ generic: "generic";
598
+ "canvas-prefill": "canvas-prefill";
599
+ "canvas-only": "canvas-only";
600
+ }>;
601
+ workspace_id: z.ZodString;
602
+ }, z.core.$strip>;
461
603
  /**
462
604
  * Attachment extensions the agent can only describe from metadata. A subset of the containers
463
605
  * ingest sorts into a load node's video/audio lists: that categoriser also accepts .wmv, .flv,
@@ -555,6 +697,7 @@ export declare const zAgentRunApprovalContext: z.ZodObject<{
555
697
  export declare const zAgentPendingRunApproval: z.ZodIntersection<z.ZodObject<{
556
698
  allow_other: z.ZodBoolean;
557
699
  ask_id: z.ZodString;
700
+ expires_at: z.ZodOptional<z.ZodISODateTime>;
558
701
  kind: z.ZodEnum<{
559
702
  ask_user: "ask_user";
560
703
  run_approval: "run_approval";
@@ -594,6 +737,7 @@ export declare const zAgentPendingAsk: z.ZodUnion<readonly [z.ZodIntersection<z.
594
737
  }, z.core.$strip>, z.ZodIntersection<z.ZodObject<{
595
738
  allow_other: z.ZodBoolean;
596
739
  ask_id: z.ZodString;
740
+ expires_at: z.ZodOptional<z.ZodISODateTime>;
597
741
  kind: z.ZodEnum<{
598
742
  ask_user: "ask_user";
599
743
  run_approval: "run_approval";
@@ -618,6 +762,7 @@ export declare const zAgentPendingAsk: z.ZodUnion<readonly [z.ZodIntersection<z.
618
762
  }, z.core.$strip>, z.ZodIntersection<z.ZodObject<{
619
763
  allow_other: z.ZodBoolean;
620
764
  ask_id: z.ZodString;
765
+ expires_at: z.ZodOptional<z.ZodISODateTime>;
621
766
  kind: z.ZodEnum<{
622
767
  ask_user: "ask_user";
623
768
  run_approval: "run_approval";
@@ -653,6 +798,7 @@ export declare const zAgentPendingAsk: z.ZodUnion<readonly [z.ZodIntersection<z.
653
798
  }, z.core.$strip>, z.ZodIntersection<z.ZodObject<{
654
799
  allow_other: z.ZodBoolean;
655
800
  ask_id: z.ZodString;
801
+ expires_at: z.ZodOptional<z.ZodISODateTime>;
656
802
  kind: z.ZodEnum<{
657
803
  ask_user: "ask_user";
658
804
  run_approval: "run_approval";
@@ -682,6 +828,7 @@ export declare const zAgentPendingAsk: z.ZodUnion<readonly [z.ZodIntersection<z.
682
828
  }, z.core.$strip>, z.ZodIntersection<z.ZodObject<{
683
829
  allow_other: z.ZodBoolean;
684
830
  ask_id: z.ZodString;
831
+ expires_at: z.ZodOptional<z.ZodISODateTime>;
685
832
  kind: z.ZodEnum<{
686
833
  ask_user: "ask_user";
687
834
  run_approval: "run_approval";
@@ -722,6 +869,7 @@ export declare const zAgentAskFrame: z.ZodObject<{
722
869
  }, z.core.$strip>, z.ZodIntersection<z.ZodObject<{
723
870
  allow_other: z.ZodBoolean;
724
871
  ask_id: z.ZodString;
872
+ expires_at: z.ZodOptional<z.ZodISODateTime>;
725
873
  kind: z.ZodEnum<{
726
874
  ask_user: "ask_user";
727
875
  run_approval: "run_approval";
@@ -746,6 +894,7 @@ export declare const zAgentAskFrame: z.ZodObject<{
746
894
  }, z.core.$strip>, z.ZodIntersection<z.ZodObject<{
747
895
  allow_other: z.ZodBoolean;
748
896
  ask_id: z.ZodString;
897
+ expires_at: z.ZodOptional<z.ZodISODateTime>;
749
898
  kind: z.ZodEnum<{
750
899
  ask_user: "ask_user";
751
900
  run_approval: "run_approval";
@@ -781,6 +930,7 @@ export declare const zAgentAskFrame: z.ZodObject<{
781
930
  }, z.core.$strip>, z.ZodIntersection<z.ZodObject<{
782
931
  allow_other: z.ZodBoolean;
783
932
  ask_id: z.ZodString;
933
+ expires_at: z.ZodOptional<z.ZodISODateTime>;
784
934
  kind: z.ZodEnum<{
785
935
  ask_user: "ask_user";
786
936
  run_approval: "run_approval";
@@ -810,6 +960,7 @@ export declare const zAgentAskFrame: z.ZodObject<{
810
960
  }, z.core.$strip>, z.ZodIntersection<z.ZodObject<{
811
961
  allow_other: z.ZodBoolean;
812
962
  ask_id: z.ZodString;
963
+ expires_at: z.ZodOptional<z.ZodISODateTime>;
813
964
  kind: z.ZodEnum<{
814
965
  ask_user: "ask_user";
815
966
  run_approval: "run_approval";
@@ -856,6 +1007,7 @@ export declare const zAgentAskServerFrame: z.ZodUnion<readonly [z.ZodObject<{
856
1007
  }, z.core.$strip>, z.ZodIntersection<z.ZodObject<{
857
1008
  allow_other: z.ZodBoolean;
858
1009
  ask_id: z.ZodString;
1010
+ expires_at: z.ZodOptional<z.ZodISODateTime>;
859
1011
  kind: z.ZodEnum<{
860
1012
  ask_user: "ask_user";
861
1013
  run_approval: "run_approval";
@@ -880,6 +1032,7 @@ export declare const zAgentAskServerFrame: z.ZodUnion<readonly [z.ZodObject<{
880
1032
  }, z.core.$strip>, z.ZodIntersection<z.ZodObject<{
881
1033
  allow_other: z.ZodBoolean;
882
1034
  ask_id: z.ZodString;
1035
+ expires_at: z.ZodOptional<z.ZodISODateTime>;
883
1036
  kind: z.ZodEnum<{
884
1037
  ask_user: "ask_user";
885
1038
  run_approval: "run_approval";
@@ -915,6 +1068,7 @@ export declare const zAgentAskServerFrame: z.ZodUnion<readonly [z.ZodObject<{
915
1068
  }, z.core.$strip>, z.ZodIntersection<z.ZodObject<{
916
1069
  allow_other: z.ZodBoolean;
917
1070
  ask_id: z.ZodString;
1071
+ expires_at: z.ZodOptional<z.ZodISODateTime>;
918
1072
  kind: z.ZodEnum<{
919
1073
  ask_user: "ask_user";
920
1074
  run_approval: "run_approval";
@@ -944,6 +1098,7 @@ export declare const zAgentAskServerFrame: z.ZodUnion<readonly [z.ZodObject<{
944
1098
  }, z.core.$strip>, z.ZodIntersection<z.ZodObject<{
945
1099
  allow_other: z.ZodBoolean;
946
1100
  ask_id: z.ZodString;
1101
+ expires_at: z.ZodOptional<z.ZodISODateTime>;
947
1102
  kind: z.ZodEnum<{
948
1103
  ask_user: "ask_user";
949
1104
  run_approval: "run_approval";
@@ -1097,6 +1252,7 @@ export declare const zAgentThreadSummary: z.ZodObject<{
1097
1252
  export declare const zAgentToolCallData: z.ZodObject<{
1098
1253
  doc_lineage_seq: z.ZodOptional<z.ZodInt>;
1099
1254
  doc_seq: z.ZodOptional<z.ZodInt>;
1255
+ download: z.ZodOptional<z.ZodString>;
1100
1256
  duration_ms: z.ZodOptional<z.ZodInt>;
1101
1257
  error_code: z.ZodOptional<z.ZodString>;
1102
1258
  job_id: z.ZodOptional<z.ZodString>;
@@ -1121,6 +1277,7 @@ export declare const zAgentToolCallFrame: z.ZodObject<{
1121
1277
  data: z.ZodObject<{
1122
1278
  doc_lineage_seq: z.ZodOptional<z.ZodInt>;
1123
1279
  doc_seq: z.ZodOptional<z.ZodInt>;
1280
+ download: z.ZodOptional<z.ZodString>;
1124
1281
  duration_ms: z.ZodOptional<z.ZodInt>;
1125
1282
  error_code: z.ZodOptional<z.ZodString>;
1126
1283
  job_id: z.ZodOptional<z.ZodString>;
@@ -1152,7 +1309,6 @@ export declare const zAgentTurnAccepted: z.ZodObject<{
1152
1309
  v1: "v1";
1153
1310
  }>;
1154
1311
  model_id: z.ZodString;
1155
- profile_revision: z.ZodString;
1156
1312
  requested: z.ZodNullable<z.ZodObject<{
1157
1313
  model_id: z.ZodString;
1158
1314
  option_id: z.ZodOptional<z.ZodString>;
@@ -1167,6 +1323,7 @@ export declare const zAgentTurnAccepted: z.ZodObject<{
1167
1323
  wire: z.ZodEnum<{
1168
1324
  anthropic_messages: "anthropic_messages";
1169
1325
  openai_chat: "openai_chat";
1326
+ openai_responses: "openai_responses";
1170
1327
  }>;
1171
1328
  }, z.core.$strip>>;
1172
1329
  thread_id: z.ZodString;
@@ -1261,6 +1418,9 @@ export declare const zAgentMessageDoneFrame: z.ZodObject<{
1261
1418
  }, z.core.$strip>;
1262
1419
  export declare const zAgentUsageStatusResponse: z.ZodObject<{
1263
1420
  has_used_agent: z.ZodBoolean;
1421
+ scope: z.ZodOptional<z.ZodEnum<{
1422
+ local_installation: "local_installation";
1423
+ }>>;
1264
1424
  }, z.core.$strip>;
1265
1425
  /**
1266
1426
  * Attachment extensions whose content the model can see: the raster formats Go's image
@@ -1506,6 +1666,7 @@ export declare const zAgentAttachmentError: z.ZodDiscriminatedUnion<[z.ZodObject
1506
1666
  * Represents a user-owned asset (image, video, or other generated output).
1507
1667
  */
1508
1668
  export declare const zAsset: z.ZodObject<{
1669
+ blocked_by_model_policy: z.ZodOptional<z.ZodBoolean>;
1509
1670
  created_at: z.ZodISODateTime;
1510
1671
  display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1511
1672
  file_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -1520,6 +1681,7 @@ export declare const zAsset: z.ZodObject<{
1520
1681
  name: z.ZodString;
1521
1682
  preview_id: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
1522
1683
  preview_url: z.ZodOptional<z.ZodURL>;
1684
+ project_id: z.ZodOptional<z.ZodString>;
1523
1685
  short_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1524
1686
  size: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
1525
1687
  tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -1530,6 +1692,7 @@ export declare const zAsset: z.ZodObject<{
1530
1692
  * Response returned when a new asset is successfully created.
1531
1693
  */
1532
1694
  export declare const zAssetCreated: z.ZodIntersection<z.ZodObject<{
1695
+ blocked_by_model_policy: z.ZodOptional<z.ZodBoolean>;
1533
1696
  created_at: z.ZodISODateTime;
1534
1697
  display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1535
1698
  file_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -1544,6 +1707,7 @@ export declare const zAssetCreated: z.ZodIntersection<z.ZodObject<{
1544
1707
  name: z.ZodString;
1545
1708
  preview_id: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
1546
1709
  preview_url: z.ZodOptional<z.ZodURL>;
1710
+ project_id: z.ZodOptional<z.ZodString>;
1547
1711
  short_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1548
1712
  size: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
1549
1713
  tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -1840,7 +2004,8 @@ export declare const zBillingAddress: z.ZodObject<{
1840
2004
  * every owner.
1841
2005
  *
1842
2006
  * When the deployment has billing disabled, this endpoint answers without
1843
- * consulting billing-api: can_top_up is true; can_manage_members,
2007
+ * consulting billing-api: can_top_up is true; can_view_workspace_usage
2008
+ * follows the same rule as with billing enabled; can_manage_members,
1844
2009
  * can_invite_members, can_manage_subscription, can_manage_auto_top_up and
1845
2010
  * can_view_auto_top_up follow the owner role, and
1846
2011
  * can_view_auto_top_up_member_notice is true for a non-owner. Other billing-action fields are false. These role
@@ -1874,6 +2039,8 @@ export declare const zBillingCapabilities: z.ZodObject<{
1874
2039
  can_view_own_usage: z.ZodOptional<z.ZodBoolean>;
1875
2040
  can_view_pending_invites: z.ZodBoolean;
1876
2041
  can_view_team_usage: z.ZodBoolean;
2042
+ can_view_unallocated_usage: z.ZodBoolean;
2043
+ can_view_workspace_usage: z.ZodBoolean;
1877
2044
  }, z.core.$strip>;
1878
2045
  /**
1879
2046
  * Why a capability resolved false, keyed by the capability. The value
@@ -2129,6 +2296,10 @@ export declare const zBillingCapabilityDenials: z.ZodObject<{
2129
2296
  not_workspace_owner: "not_workspace_owner";
2130
2297
  usage_attribution_unavailable: "usage_attribution_unavailable";
2131
2298
  }>>;
2299
+ can_view_workspace_usage: z.ZodOptional<z.ZodEnum<{
2300
+ not_a_member: "not_a_member";
2301
+ not_workspace_owner: "not_workspace_owner";
2302
+ }>>;
2132
2303
  }, z.core.$strip>;
2133
2304
  /**
2134
2305
  * Identifies capability values currently using safe rollout defaults
@@ -2197,26 +2368,6 @@ export declare const zBillingHandoffCheckoutRequest: z.ZodObject<{
2197
2368
  plan_slug: z.ZodString;
2198
2369
  team_credit_stop_id: z.ZodOptional<z.ZodString>;
2199
2370
  }, z.core.$strip>;
2200
- /**
2201
- * Asks for a one-time handoff that signs a billing receiver tab in as the caller.
2202
- */
2203
- export declare const zBillingHandoffCreateRequest: z.ZodObject<{
2204
- amount_cents: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
2205
- client_version: z.ZodString;
2206
- intent: z.ZodOptional<z.ZodEnum<{
2207
- "top-up": "top-up";
2208
- subscription: "subscription";
2209
- }>>;
2210
- receiver: z.ZodEnum<{
2211
- billing_web: "billing_web";
2212
- platform: "platform";
2213
- }>;
2214
- surface: z.ZodEnum<{
2215
- local_web: "local_web";
2216
- desktop: "desktop";
2217
- }>;
2218
- workspace_id: z.ZodString;
2219
- }, z.core.$strip>;
2220
2371
  /**
2221
2372
  * An issued handoff. The token is single use and expires within 60 seconds.
2222
2373
  */
@@ -2284,6 +2435,23 @@ export declare const zBillingOpOutcomeResponse: z.ZodObject<{
2284
2435
  reconciliation_needed: "reconciliation_needed";
2285
2436
  }>;
2286
2437
  }, z.core.$strip>;
2438
+ /**
2439
+ * Answers "should this client show and apply a promotion right now?". Non-null means yes: show the offer, put `promotion_code` on plan links and follow `auto_apply` at checkout. Null means no promotion is running, and clients show and apply nothing. It is not a statement about the caller: it does not say this visitor or workspace qualifies, and a code restricted to first-time customers is still refused at checkout for anyone else.
2440
+ */
2441
+ export declare const zBillingPromotion: z.ZodNullable<z.ZodObject<{
2442
+ auto_apply: z.ZodBoolean;
2443
+ ends_at: z.ZodNullable<z.ZodISODateTime>;
2444
+ percent_off: z.ZodNullable<z.ZodNumber>;
2445
+ promotion_code: z.ZodString;
2446
+ }, z.core.$strip>>;
2447
+ export declare const zBillingPromotionResponse: z.ZodObject<{
2448
+ promotion: z.ZodNullable<z.ZodObject<{
2449
+ auto_apply: z.ZodBoolean;
2450
+ ends_at: z.ZodNullable<z.ZodISODateTime>;
2451
+ percent_off: z.ZodNullable<z.ZodNumber>;
2452
+ promotion_code: z.ZodString;
2453
+ }, z.core.$strip>>;
2454
+ }, z.core.$strip>;
2287
2455
  /**
2288
2456
  * Payment lifecycle status
2289
2457
  */
@@ -2346,10 +2514,27 @@ export declare const zBillingCompanyDetailsUpdateRequest: z.ZodObject<{
2346
2514
  value: z.ZodString;
2347
2515
  }, z.core.$strip>>;
2348
2516
  }, z.core.$strip>;
2517
+ /**
2518
+ * What happened to a threshold alert's email. `sent`: the email provider accepted it for at least one recipient, which is not proof it was delivered or read. `failed`: no one was sent it and at least one send failed. `skipped`: there was nothing to send, for example no recipient has an email address. Show `failed` and `skipped` as "not sent"; neither means the threshold was not crossed.
2519
+ *
2520
+ */
2521
+ export declare const zBudgetAlertStatus: z.ZodEnum<{
2522
+ failed: "failed";
2523
+ sent: "sent";
2524
+ skipped: "skipped";
2525
+ }>;
2526
+ /**
2527
+ * The email outcome of one threshold alert in the current billing period. It records the email, not the crossing.
2528
+ *
2529
+ */
2349
2530
  export declare const zBudgetAlert: z.ZodObject<{
2350
2531
  percent: z.ZodInt;
2351
- sent_at: z.ZodISODateTime;
2352
- status: z.ZodString;
2532
+ sent_at: z.ZodNullable<z.ZodISODateTime>;
2533
+ status: z.ZodEnum<{
2534
+ failed: "failed";
2535
+ sent: "sent";
2536
+ skipped: "skipped";
2537
+ }>;
2353
2538
  }, z.core.$strip>;
2354
2539
  export declare const zBudgetChange: z.ZodObject<{
2355
2540
  action: z.ZodEnum<{
@@ -2363,6 +2548,52 @@ export declare const zBudgetChange: z.ZodObject<{
2363
2548
  before: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2364
2549
  changed_at: z.ZodISODateTime;
2365
2550
  }, z.core.$strip>;
2551
+ /**
2552
+ * A selected job that stayed where it was, and why.
2553
+ */
2554
+ export declare const zBudgetHeldJobNotResumed: z.ZodObject<{
2555
+ budget: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2556
+ denied_reason: z.ZodOptional<z.ZodString>;
2557
+ job_id: z.ZodUUID;
2558
+ reason: z.ZodEnum<{
2559
+ budget_exceeded: "budget_exceeded";
2560
+ failed: "failed";
2561
+ not_found: "not_found";
2562
+ not_held: "not_held";
2563
+ budget_check_unavailable: "budget_check_unavailable";
2564
+ spend_denied: "spend_denied";
2565
+ no_free_slot: "no_free_slot";
2566
+ }>;
2567
+ }, z.core.$strip>;
2568
+ /**
2569
+ * Which held jobs to resume. An empty body resumes every held job the caller may resume.
2570
+ */
2571
+ export declare const zBudgetHeldJobsResumeRequest: z.ZodObject<{
2572
+ cursor: z.ZodOptional<z.ZodString>;
2573
+ job_ids: z.ZodOptional<z.ZodArray<z.ZodUUID>>;
2574
+ }, z.core.$strip>;
2575
+ /**
2576
+ * The outcome of one resume call. Every selected job is in exactly one of the two lists.
2577
+ */
2578
+ export declare const zBudgetHeldJobsResumeResult: z.ZodObject<{
2579
+ more_held: z.ZodBoolean;
2580
+ next_cursor: z.ZodOptional<z.ZodString>;
2581
+ not_resumed: z.ZodArray<z.ZodObject<{
2582
+ budget: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2583
+ denied_reason: z.ZodOptional<z.ZodString>;
2584
+ job_id: z.ZodUUID;
2585
+ reason: z.ZodEnum<{
2586
+ budget_exceeded: "budget_exceeded";
2587
+ failed: "failed";
2588
+ not_found: "not_found";
2589
+ not_held: "not_held";
2590
+ budget_check_unavailable: "budget_check_unavailable";
2591
+ spend_denied: "spend_denied";
2592
+ no_free_slot: "no_free_slot";
2593
+ }>;
2594
+ }, z.core.$strip>>;
2595
+ resumed: z.ZodArray<z.ZodUUID>;
2596
+ }, z.core.$strip>;
2366
2597
  export declare const zBudgetHistory: z.ZodObject<{
2367
2598
  changes: z.ZodArray<z.ZodObject<{
2368
2599
  action: z.ZodEnum<{
@@ -2404,17 +2635,23 @@ export declare const zBudgetScopeKind: z.ZodEnum<{
2404
2635
  deployment: "deployment";
2405
2636
  }>;
2406
2637
  /**
2407
- * A budget with its spend in the workspace's current billing period. Amounts come in credits and in micro-USD; a client shows credits as received and never converts.
2638
+ * A budget with its spend in the workspace's current billing period. This is the subscription cycle or, when there is no cycle, the UTC calendar month. Only a workspace whose subscription is unresolved has no budget period. Amounts come in credits and in micro-USD; a client shows credits as received and never converts.
2408
2639
  *
2409
2640
  */
2410
2641
  export declare const zBudget: z.ZodObject<{
2411
2642
  alert_percents: z.ZodArray<z.ZodInt>;
2412
2643
  alerts: z.ZodArray<z.ZodObject<{
2413
2644
  percent: z.ZodInt;
2414
- sent_at: z.ZodISODateTime;
2415
- status: z.ZodString;
2645
+ sent_at: z.ZodNullable<z.ZodISODateTime>;
2646
+ status: z.ZodEnum<{
2647
+ failed: "failed";
2648
+ sent: "sent";
2649
+ skipped: "skipped";
2650
+ }>;
2416
2651
  }, z.core.$strip>>;
2652
+ alerts_available: z.ZodBoolean;
2417
2653
  created_by: z.ZodString;
2654
+ crossed_alert_percent: z.ZodNullable<z.ZodInt>;
2418
2655
  ends_at: z.ZodNullable<z.ZodISODateTime>;
2419
2656
  id: z.ZodString;
2420
2657
  limit_credits: z.ZodCoercedBigInt<unknown>;
@@ -2423,6 +2660,7 @@ export declare const zBudget: z.ZodObject<{
2423
2660
  hard: "hard";
2424
2661
  soft: "soft";
2425
2662
  }>;
2663
+ owner_email: z.ZodNullable<z.ZodString>;
2426
2664
  percent_used: z.ZodCoercedBigInt<unknown>;
2427
2665
  repeat: z.ZodEnum<{
2428
2666
  current_period: "current_period";
@@ -2470,10 +2708,16 @@ export declare const zBudgetList: z.ZodObject<{
2470
2708
  alert_percents: z.ZodArray<z.ZodInt>;
2471
2709
  alerts: z.ZodArray<z.ZodObject<{
2472
2710
  percent: z.ZodInt;
2473
- sent_at: z.ZodISODateTime;
2474
- status: z.ZodString;
2711
+ sent_at: z.ZodNullable<z.ZodISODateTime>;
2712
+ status: z.ZodEnum<{
2713
+ failed: "failed";
2714
+ sent: "sent";
2715
+ skipped: "skipped";
2716
+ }>;
2475
2717
  }, z.core.$strip>>;
2718
+ alerts_available: z.ZodBoolean;
2476
2719
  created_by: z.ZodString;
2720
+ crossed_alert_percent: z.ZodNullable<z.ZodInt>;
2477
2721
  ends_at: z.ZodNullable<z.ZodISODateTime>;
2478
2722
  id: z.ZodString;
2479
2723
  limit_credits: z.ZodCoercedBigInt<unknown>;
@@ -2482,6 +2726,7 @@ export declare const zBudgetList: z.ZodObject<{
2482
2726
  hard: "hard";
2483
2727
  soft: "soft";
2484
2728
  }>;
2729
+ owner_email: z.ZodNullable<z.ZodString>;
2485
2730
  percent_used: z.ZodCoercedBigInt<unknown>;
2486
2731
  repeat: z.ZodEnum<{
2487
2732
  current_period: "current_period";
@@ -2501,6 +2746,10 @@ export declare const zBudgetList: z.ZodObject<{
2501
2746
  spent_micro_usd: z.ZodCoercedBigInt<unknown>;
2502
2747
  updated_by: z.ZodString;
2503
2748
  }, z.core.$strip>>;
2749
+ viewer: z.ZodOptional<z.ZodEnum<{
2750
+ owner: "owner";
2751
+ member: "member";
2752
+ }>>;
2504
2753
  }, z.core.$strip>;
2505
2754
  export declare const zBudgetUpdateRequest: z.ZodObject<{
2506
2755
  alert_percents: z.ZodOptional<z.ZodArray<z.ZodInt>>;
@@ -2523,10 +2772,16 @@ export declare const zBudgetWriteResult: z.ZodObject<{
2523
2772
  alert_percents: z.ZodArray<z.ZodInt>;
2524
2773
  alerts: z.ZodArray<z.ZodObject<{
2525
2774
  percent: z.ZodInt;
2526
- sent_at: z.ZodISODateTime;
2527
- status: z.ZodString;
2775
+ sent_at: z.ZodNullable<z.ZodISODateTime>;
2776
+ status: z.ZodEnum<{
2777
+ failed: "failed";
2778
+ sent: "sent";
2779
+ skipped: "skipped";
2780
+ }>;
2528
2781
  }, z.core.$strip>>;
2782
+ alerts_available: z.ZodBoolean;
2529
2783
  created_by: z.ZodString;
2784
+ crossed_alert_percent: z.ZodNullable<z.ZodInt>;
2530
2785
  ends_at: z.ZodNullable<z.ZodISODateTime>;
2531
2786
  id: z.ZodString;
2532
2787
  limit_credits: z.ZodCoercedBigInt<unknown>;
@@ -2535,6 +2790,7 @@ export declare const zBudgetWriteResult: z.ZodObject<{
2535
2790
  hard: "hard";
2536
2791
  soft: "soft";
2537
2792
  }>;
2793
+ owner_email: z.ZodNullable<z.ZodString>;
2538
2794
  percent_used: z.ZodCoercedBigInt<unknown>;
2539
2795
  repeat: z.ZodEnum<{
2540
2796
  current_period: "current_period";
@@ -3032,6 +3288,54 @@ export declare const zCccSiteTagUsage: z.ZodObject<{
3032
3288
  tag: z.ZodString;
3033
3289
  }, z.core.$strip>>;
3034
3290
  }, z.core.$strip>;
3291
+ /**
3292
+ * One app page at its Draft head, with only what a Desktop card shows.
3293
+ */
3294
+ export declare const zCccStaffApp: z.ZodObject<{
3295
+ description: z.ZodString;
3296
+ draft_page: z.ZodOptional<z.ZodString>;
3297
+ enabled: z.ZodBoolean;
3298
+ hub_page: z.ZodOptional<z.ZodString>;
3299
+ on_desktop: z.ZodBoolean;
3300
+ on_hub: z.ZodBoolean;
3301
+ picture: z.ZodOptional<z.ZodString>;
3302
+ slug: z.ZodString;
3303
+ status: z.ZodEnum<{
3304
+ not_live: "not_live";
3305
+ unpublished: "unpublished";
3306
+ hidden: "hidden";
3307
+ scheduled: "scheduled";
3308
+ live: "live";
3309
+ }>;
3310
+ title: z.ZodString;
3311
+ uid: z.ZodUUID;
3312
+ }, z.core.$strip>;
3313
+ /**
3314
+ * One page of the comfy.org staff app list.
3315
+ */
3316
+ export declare const zCccStaffAppsPage: z.ZodObject<{
3317
+ has_more: z.ZodBoolean;
3318
+ items: z.ZodArray<z.ZodObject<{
3319
+ description: z.ZodString;
3320
+ draft_page: z.ZodOptional<z.ZodString>;
3321
+ enabled: z.ZodBoolean;
3322
+ hub_page: z.ZodOptional<z.ZodString>;
3323
+ on_desktop: z.ZodBoolean;
3324
+ on_hub: z.ZodBoolean;
3325
+ picture: z.ZodOptional<z.ZodString>;
3326
+ slug: z.ZodString;
3327
+ status: z.ZodEnum<{
3328
+ not_live: "not_live";
3329
+ unpublished: "unpublished";
3330
+ hidden: "hidden";
3331
+ scheduled: "scheduled";
3332
+ live: "live";
3333
+ }>;
3334
+ title: z.ZodString;
3335
+ uid: z.ZodUUID;
3336
+ }, z.core.$strip>>;
3337
+ next_cursor: z.ZodOptional<z.ZodString>;
3338
+ }, z.core.$strip>;
3035
3339
  export declare const zCccStaffPermissions: z.ZodObject<{
3036
3340
  account_id: z.ZodString;
3037
3341
  avatar_url: z.ZodOptional<z.ZodString>;
@@ -3299,8 +3603,8 @@ export declare const zCccStagingReview: z.ZodObject<{
3299
3603
  summary: z.ZodString;
3300
3604
  }, z.core.$strip>>>;
3301
3605
  representation: z.ZodOptional<z.ZodEnum<{
3302
- page: "page";
3303
3606
  selection: "selection";
3607
+ page: "page";
3304
3608
  detail: "detail";
3305
3609
  }>>;
3306
3610
  selection_digest: z.ZodOptional<z.ZodString>;
@@ -4090,6 +4394,7 @@ export declare const zBillingBalanceResponse: z.ZodObject<{
4090
4394
  pending_charges_micros: z.ZodOptional<z.ZodNumber>;
4091
4395
  prepaid_balance_cents: z.ZodOptional<z.ZodNumber>;
4092
4396
  prepaid_balance_micros: z.ZodOptional<z.ZodNumber>;
4397
+ scoped_balance_cents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
4093
4398
  suggested_topup_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodCoercedBigInt<unknown>>>;
4094
4399
  }, z.core.$strip>;
4095
4400
  /**
@@ -4134,23 +4439,128 @@ export declare const zDeployToCloudError: z.ZodObject<{
4134
4439
  }>;
4135
4440
  message: z.ZodOptional<z.ZodString>;
4136
4441
  }, z.core.$strip>;
4442
+ /**
4443
+ * The version cut with the model added.
4444
+ */
4445
+ export declare const zDeploymentBuildModelRelease: z.ZodObject<{
4446
+ releaseId: z.ZodString;
4447
+ }, z.core.$strip>;
4137
4448
  /**
4138
4449
  * The node types of the workflow open in the editor.
4139
4450
  */
4140
4451
  export declare const zDeploymentCompatibilityRequest: z.ZodObject<{
4141
4452
  node_types: z.ZodArray<z.ZodString>;
4142
4453
  }, z.core.$strip>;
4143
- export declare const zDeploymentNodeCompatibility: z.ZodObject<{
4144
- deployment_id: z.ZodString;
4145
- missing_node_types: z.ZodArray<z.ZodString>;
4146
- unknown: z.ZodBoolean;
4454
+ /**
4455
+ * One model file added to a deployment: comfy-deploy's DeploymentModel (an entry of its GET /v1/deployments/{id}/models, and its POST 202), passed through as written; the fields are comfy-deploy's.
4456
+ */
4457
+ export declare const zDeploymentModel: z.ZodObject<{
4458
+ failure: z.ZodOptional<z.ZodString>;
4459
+ filename: z.ZodString;
4460
+ id: z.ZodString;
4461
+ sizeBytes: z.ZodCoercedBigInt<unknown>;
4462
+ status: z.ZodEnum<{
4463
+ failed: "failed";
4464
+ ready: "ready";
4465
+ adding: "adding";
4466
+ removing: "removing";
4467
+ }>;
4468
+ type: z.ZodString;
4147
4469
  }, z.core.$strip>;
4148
4470
  /**
4149
- * Which of the posted node types each of the workspace's deployments, and Comfy Cloud, does not have.
4471
+ * comfy-deploy's DeploymentModelList (its GET /v1/deployments/{id}/models 200), passed through as written: every model file added to the deployment, oldest first.
4150
4472
  */
4151
- export declare const zDeploymentCompatibility: z.ZodObject<{
4152
- cloud: z.ZodObject<{
4153
- missing_node_types: z.ZodArray<z.ZodString>;
4473
+ export declare const zDeploymentModelList: z.ZodObject<{
4474
+ addEnabled: z.ZodBoolean;
4475
+ models: z.ZodArray<z.ZodObject<{
4476
+ failure: z.ZodOptional<z.ZodString>;
4477
+ filename: z.ZodString;
4478
+ id: z.ZodString;
4479
+ sizeBytes: z.ZodCoercedBigInt<unknown>;
4480
+ status: z.ZodEnum<{
4481
+ failed: "failed";
4482
+ ready: "ready";
4483
+ adding: "adding";
4484
+ removing: "removing";
4485
+ }>;
4486
+ type: z.ZodString;
4487
+ }, z.core.$strip>>;
4488
+ }, z.core.$strip>;
4489
+ /**
4490
+ * comfy-builder's BlobUploadComplete (its POST /v1/blobs/{id}/complete 200), passed through as written.
4491
+ */
4492
+ export declare const zDeploymentModelUploadComplete: z.ZodObject<{
4493
+ blobId: z.ZodString;
4494
+ sizeBytes: z.ZodCoercedBigInt<unknown>;
4495
+ }, z.core.$strip>;
4496
+ /**
4497
+ * comfy-builder's 409 on the parts and complete routes, passed through as written. It never carries `code`.
4498
+ */
4499
+ export declare const zDeploymentModelUploadConflict: z.ZodObject<{
4500
+ error: z.ZodString;
4501
+ message: z.ZodOptional<z.ZodString>;
4502
+ }, z.core.$strip>;
4503
+ /**
4504
+ * comfy-builder's BlobUploadPart, passed through as written.
4505
+ */
4506
+ export declare const zDeploymentModelUploadPart: z.ZodObject<{
4507
+ expiresAt: z.ZodISODateTime;
4508
+ offsetBytes: z.ZodCoercedBigInt<unknown>;
4509
+ partNumber: z.ZodInt;
4510
+ sizeBytes: z.ZodCoercedBigInt<unknown>;
4511
+ uploadUrl: z.ZodString;
4512
+ }, z.core.$strip>;
4513
+ /**
4514
+ * comfy-builder's BlobUpload (its POST /v1/blobs 201), passed through as written; the fields are comfy-builder's.
4515
+ */
4516
+ export declare const zDeploymentModelUpload: z.ZodObject<{
4517
+ blobId: z.ZodString;
4518
+ deduplicated: z.ZodBoolean;
4519
+ expiresAt: z.ZodOptional<z.ZodISODateTime>;
4520
+ parts: z.ZodOptional<z.ZodArray<z.ZodObject<{
4521
+ expiresAt: z.ZodISODateTime;
4522
+ offsetBytes: z.ZodCoercedBigInt<unknown>;
4523
+ partNumber: z.ZodInt;
4524
+ sizeBytes: z.ZodCoercedBigInt<unknown>;
4525
+ uploadUrl: z.ZodString;
4526
+ }, z.core.$strip>>>;
4527
+ uploadUrl: z.ZodOptional<z.ZodString>;
4528
+ }, z.core.$strip>;
4529
+ /**
4530
+ * comfy-builder's BlobUploadParts (its POST /v1/blobs/{id}/parts 200), passed through as written.
4531
+ */
4532
+ export declare const zDeploymentModelUploadParts: z.ZodObject<{
4533
+ blobId: z.ZodString;
4534
+ parts: z.ZodArray<z.ZodObject<{
4535
+ expiresAt: z.ZodISODateTime;
4536
+ offsetBytes: z.ZodCoercedBigInt<unknown>;
4537
+ partNumber: z.ZodInt;
4538
+ sizeBytes: z.ZodCoercedBigInt<unknown>;
4539
+ uploadUrl: z.ZodString;
4540
+ }, z.core.$strip>>;
4541
+ }, z.core.$strip>;
4542
+ /**
4543
+ * comfy-builder's CreateBlobRequest without `kind`, which ingest sets to `model`; the fields are passed on as written.
4544
+ */
4545
+ export declare const zDeploymentModelUploadRequest: z.ZodObject<{
4546
+ blake3: z.ZodOptional<z.ZodString>;
4547
+ filename: z.ZodString;
4548
+ parts: z.ZodOptional<z.ZodBoolean>;
4549
+ reuse: z.ZodOptional<z.ZodBoolean>;
4550
+ sha256: z.ZodString;
4551
+ sizeBytes: z.ZodCoercedBigInt<unknown>;
4552
+ }, z.core.$strip>;
4553
+ export declare const zDeploymentNodeCompatibility: z.ZodObject<{
4554
+ deployment_id: z.ZodString;
4555
+ missing_node_types: z.ZodArray<z.ZodString>;
4556
+ unknown: z.ZodBoolean;
4557
+ }, z.core.$strip>;
4558
+ /**
4559
+ * Which of the posted node types each of the workspace's deployments, and Comfy Cloud, does not have.
4560
+ */
4561
+ export declare const zDeploymentCompatibility: z.ZodObject<{
4562
+ cloud: z.ZodObject<{
4563
+ missing_node_types: z.ZodArray<z.ZodString>;
4154
4564
  }, z.core.$strip>;
4155
4565
  deployments: z.ZodArray<z.ZodObject<{
4156
4566
  deployment_id: z.ZodString;
@@ -4206,6 +4616,12 @@ export declare const zDesktopLoginCodeRedeemResponse: z.ZodObject<{
4206
4616
  redeemed: "redeemed";
4207
4617
  }>;
4208
4618
  }, z.core.$strip>;
4619
+ /**
4620
+ * A one-time Firebase custom token for the Desktop grant's user.
4621
+ */
4622
+ export declare const zDesktopWebSessionResponse: z.ZodObject<{
4623
+ custom_token: z.ZodString;
4624
+ }, z.core.$strip>;
4209
4625
  /**
4210
4626
  * First rejected op in an abort-remainder batch.
4211
4627
  */
@@ -4347,18 +4763,6 @@ export declare const zExchangeTokenRequest: z.ZodObject<{
4347
4763
  }>>;
4348
4764
  workspace_id: z.ZodOptional<z.ZodString>;
4349
4765
  }, z.core.$strip>;
4350
- /**
4351
- * Detailed execution error information from ComfyUI
4352
- */
4353
- export declare const zExecutionError: z.ZodObject<{
4354
- current_inputs: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4355
- current_outputs: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4356
- exception_message: z.ZodString;
4357
- exception_type: z.ZodString;
4358
- node_id: z.ZodString;
4359
- node_type: z.ZodString;
4360
- traceback: z.ZodArray<z.ZodString>;
4361
- }, z.core.$strip>;
4362
4766
  /**
4363
4767
  * Response containing a signed download URL for an exported asset archive.
4364
4768
  */
@@ -4752,46 +5156,6 @@ export declare const zJobDeployment: z.ZodObject<{
4752
5156
  release_id: z.ZodString;
4753
5157
  release_version: z.ZodOptional<z.ZodInt>;
4754
5158
  }, z.core.$strip>;
4755
- /**
4756
- * Lightweight job data for list views (workflow and full outputs excluded)
4757
- */
4758
- export declare const zJobEntry: z.ZodObject<{
4759
- create_time: z.ZodCoercedBigInt<unknown>;
4760
- deployment: z.ZodOptional<z.ZodObject<{
4761
- build_name: z.ZodOptional<z.ZodString>;
4762
- deployment_id: z.ZodString;
4763
- name: z.ZodOptional<z.ZodString>;
4764
- release_id: z.ZodString;
4765
- release_version: z.ZodOptional<z.ZodInt>;
4766
- }, z.core.$strip>>;
4767
- execution_end_time: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
4768
- execution_error: z.ZodOptional<z.ZodObject<{
4769
- current_inputs: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4770
- current_outputs: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4771
- exception_message: z.ZodString;
4772
- exception_type: z.ZodString;
4773
- node_id: z.ZodString;
4774
- node_type: z.ZodString;
4775
- traceback: z.ZodArray<z.ZodString>;
4776
- }, z.core.$strip>>;
4777
- execution_start_time: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
4778
- executor: z.ZodOptional<z.ZodEnum<{
4779
- cloud_inference: "cloud_inference";
4780
- platform_gateway: "platform_gateway";
4781
- }>>;
4782
- id: z.ZodUUID;
4783
- outputs_count: z.ZodOptional<z.ZodInt>;
4784
- preview_output: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
4785
- previewable_outputs_count: z.ZodOptional<z.ZodInt>;
4786
- status: z.ZodEnum<{
4787
- cancelled: "cancelled";
4788
- completed: "completed";
4789
- failed: "failed";
4790
- pending: "pending";
4791
- in_progress: "in_progress";
4792
- }>;
4793
- workflow_id: z.ZodOptional<z.ZodString>;
4794
- }, z.core.$strip>;
4795
5159
  /**
4796
5160
  * Where one executed node ran and where its output is shown, as ComfyUI
4797
5161
  * records it in the history `meta`. Live `executed` messages carry the
@@ -4805,62 +5169,38 @@ export declare const zJobExecutionMetaEntry: z.ZodObject<{
4805
5169
  real_node_id: z.ZodOptional<z.ZodString>;
4806
5170
  }, z.core.$strip>;
4807
5171
  /**
4808
- * Full job details including workflow and outputs
5172
+ * A budget as billing reported it when a job was held. Every caller who can read the job gets `scope_kind`, `resets_at` and `set_by`. The identifiers, the mode and the amounts are present only for an Owner of the job's workspace; their absence means the caller may not see them, never zero.
4809
5173
  */
4810
- export declare const zJobDetailResponse: z.ZodObject<{
4811
- create_time: z.ZodCoercedBigInt<unknown>;
4812
- deployment: z.ZodOptional<z.ZodObject<{
4813
- build_name: z.ZodOptional<z.ZodString>;
4814
- deployment_id: z.ZodString;
4815
- name: z.ZodOptional<z.ZodString>;
4816
- release_id: z.ZodString;
4817
- release_version: z.ZodOptional<z.ZodInt>;
4818
- }, z.core.$strip>>;
4819
- execution_end_time: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
4820
- execution_error: z.ZodOptional<z.ZodObject<{
4821
- current_inputs: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4822
- current_outputs: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4823
- exception_message: z.ZodString;
4824
- exception_type: z.ZodString;
4825
- node_id: z.ZodString;
4826
- node_type: z.ZodString;
4827
- traceback: z.ZodArray<z.ZodString>;
4828
- }, z.core.$strip>>;
4829
- execution_meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
4830
- display_node: z.ZodOptional<z.ZodString>;
4831
- node_id: z.ZodOptional<z.ZodString>;
4832
- parent_node: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4833
- real_node_id: z.ZodOptional<z.ZodString>;
4834
- }, z.core.$strip>>>;
4835
- execution_start_time: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
4836
- execution_status: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
4837
- executor: z.ZodOptional<z.ZodEnum<{
4838
- cloud_inference: "cloud_inference";
4839
- platform_gateway: "platform_gateway";
4840
- }>>;
4841
- id: z.ZodUUID;
4842
- outputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
4843
- outputs_count: z.ZodOptional<z.ZodInt>;
4844
- preview_output: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
4845
- previewable_outputs_count: z.ZodOptional<z.ZodInt>;
4846
- queue_position: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
4847
- queue_reason: z.ZodOptional<z.ZodEnum<{
4848
- concurrency_limit: "concurrency_limit";
4849
- capacity: "capacity";
4850
- }>>;
4851
- status: z.ZodEnum<{
4852
- cancelled: "cancelled";
4853
- completed: "completed";
4854
- failed: "failed";
4855
- pending: "pending";
4856
- in_progress: "in_progress";
4857
- }>;
4858
- update_time: z.ZodCoercedBigInt<unknown>;
4859
- user_id: z.ZodOptional<z.ZodString>;
4860
- workflow: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
4861
- workflow_id: z.ZodOptional<z.ZodString>;
4862
- workflow_version_id: z.ZodOptional<z.ZodString>;
4863
- workspace_id: z.ZodOptional<z.ZodString>;
5174
+ export declare const zJobHeldBudget: z.ZodObject<{
5175
+ id: z.ZodOptional<z.ZodString>;
5176
+ limit_credits: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
5177
+ limit_micro_usd: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
5178
+ mode: z.ZodOptional<z.ZodString>;
5179
+ resets_at: z.ZodISODateTime;
5180
+ scope_id: z.ZodOptional<z.ZodString>;
5181
+ scope_kind: z.ZodString;
5182
+ set_by: z.ZodString;
5183
+ spent_credits: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
5184
+ spent_micro_usd: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
5185
+ }, z.core.$strip>;
5186
+ /**
5187
+ * The facts the queue shows for a job held by a budget decision: why it is held, the budget that stopped it, and whether the caller may resume it. The client renders these as received and derives none of them from the caller's role.
5188
+ */
5189
+ export declare const zJobBudgetHold: z.ZodObject<{
5190
+ budget: z.ZodOptional<z.ZodObject<{
5191
+ id: z.ZodOptional<z.ZodString>;
5192
+ limit_credits: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
5193
+ limit_micro_usd: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
5194
+ mode: z.ZodOptional<z.ZodString>;
5195
+ resets_at: z.ZodISODateTime;
5196
+ scope_id: z.ZodOptional<z.ZodString>;
5197
+ scope_kind: z.ZodString;
5198
+ set_by: z.ZodString;
5199
+ spent_credits: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
5200
+ spent_micro_usd: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
5201
+ }, z.core.$strip>>;
5202
+ can_resume: z.ZodBoolean;
5203
+ reason: z.ZodString;
4864
5204
  }, z.core.$strip>;
4865
5205
  /**
4866
5206
  * An asset produced by a job, enriched with the per-output node context
@@ -4893,9 +5233,26 @@ export declare const zJobStatusResponse: z.ZodObject<{
4893
5233
  status: z.ZodEnum<{
4894
5234
  cancelled: "cancelled";
4895
5235
  error: "error";
5236
+ success: "success";
4896
5237
  completed: "completed";
4897
5238
  pending: "pending";
5239
+ cancel_requested: "cancel_requested";
4898
5240
  in_progress: "in_progress";
5241
+ held_budget: "held_budget";
5242
+ submitted: "submitted";
5243
+ preprocessing: "preprocessing";
5244
+ queued_limited: "queued_limited";
5245
+ queued_waiting: "queued_waiting";
5246
+ allocated: "allocated";
5247
+ preparing: "preparing";
5248
+ pending_execution: "pending_execution";
5249
+ executing: "executing";
5250
+ executed: "executed";
5251
+ cancel_pending: "cancel_pending";
5252
+ erroring: "erroring";
5253
+ cancelling_preparing: "cancelling_preparing";
5254
+ non_retryable_error: "non_retryable_error";
5255
+ lost: "lost";
4899
5256
  waiting_to_dispatch: "waiting_to_dispatch";
4900
5257
  }>;
4901
5258
  updated_at: z.ZodISODateTime;
@@ -5138,11 +5495,38 @@ export declare const zHubWorkflowListResponse: z.ZodObject<{
5138
5495
  workflow_json: z.ZodRecord<z.ZodString, z.ZodUnknown>;
5139
5496
  }, z.core.$strip>]>>;
5140
5497
  }, z.core.$strip>;
5498
+ /**
5499
+ * A page of access changes, newest first.
5500
+ */
5501
+ export declare const zListAccessEventsResponse: z.ZodObject<{
5502
+ events: z.ZodArray<z.ZodObject<{
5503
+ action: z.ZodString;
5504
+ actor: z.ZodObject<{
5505
+ name: z.ZodString;
5506
+ user_id: z.ZodString;
5507
+ }, z.core.$strip>;
5508
+ after: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
5509
+ before: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
5510
+ create_time: z.ZodISODateTime;
5511
+ id: z.ZodUUID;
5512
+ project_id: z.ZodOptional<z.ZodString>;
5513
+ project_name: z.ZodOptional<z.ZodString>;
5514
+ target: z.ZodOptional<z.ZodObject<{
5515
+ name: z.ZodString;
5516
+ user_id: z.ZodString;
5517
+ }, z.core.$strip>>;
5518
+ }, z.core.$strip>>;
5519
+ pagination: z.ZodObject<{
5520
+ has_more: z.ZodBoolean;
5521
+ next_cursor: z.ZodOptional<z.ZodString>;
5522
+ }, z.core.$strip>;
5523
+ }, z.core.$strip>;
5141
5524
  /**
5142
5525
  * Paginated list of assets belonging to the authenticated user.
5143
5526
  */
5144
5527
  export declare const zListAssetsResponse: z.ZodObject<{
5145
5528
  assets: z.ZodArray<z.ZodObject<{
5529
+ blocked_by_model_policy: z.ZodOptional<z.ZodBoolean>;
5146
5530
  created_at: z.ZodISODateTime;
5147
5531
  display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5148
5532
  file_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -5157,6 +5541,7 @@ export declare const zListAssetsResponse: z.ZodObject<{
5157
5541
  name: z.ZodString;
5158
5542
  preview_id: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
5159
5543
  preview_url: z.ZodOptional<z.ZodURL>;
5544
+ project_id: z.ZodOptional<z.ZodString>;
5160
5545
  short_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5161
5546
  size: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
5162
5547
  tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -5545,55 +5930,6 @@ export declare const zJobAssetsResponse: z.ZodObject<{
5545
5930
  total: z.ZodInt;
5546
5931
  }, z.core.$strip>;
5547
5932
  }, z.core.$strip>;
5548
- /**
5549
- * Paginated list of jobs for the authenticated user.
5550
- */
5551
- export declare const zJobsListResponse: z.ZodObject<{
5552
- jobs: z.ZodArray<z.ZodObject<{
5553
- create_time: z.ZodCoercedBigInt<unknown>;
5554
- deployment: z.ZodOptional<z.ZodObject<{
5555
- build_name: z.ZodOptional<z.ZodString>;
5556
- deployment_id: z.ZodString;
5557
- name: z.ZodOptional<z.ZodString>;
5558
- release_id: z.ZodString;
5559
- release_version: z.ZodOptional<z.ZodInt>;
5560
- }, z.core.$strip>>;
5561
- execution_end_time: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
5562
- execution_error: z.ZodOptional<z.ZodObject<{
5563
- current_inputs: z.ZodRecord<z.ZodString, z.ZodUnknown>;
5564
- current_outputs: z.ZodRecord<z.ZodString, z.ZodUnknown>;
5565
- exception_message: z.ZodString;
5566
- exception_type: z.ZodString;
5567
- node_id: z.ZodString;
5568
- node_type: z.ZodString;
5569
- traceback: z.ZodArray<z.ZodString>;
5570
- }, z.core.$strip>>;
5571
- execution_start_time: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
5572
- executor: z.ZodOptional<z.ZodEnum<{
5573
- cloud_inference: "cloud_inference";
5574
- platform_gateway: "platform_gateway";
5575
- }>>;
5576
- id: z.ZodUUID;
5577
- outputs_count: z.ZodOptional<z.ZodInt>;
5578
- preview_output: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
5579
- previewable_outputs_count: z.ZodOptional<z.ZodInt>;
5580
- status: z.ZodEnum<{
5581
- cancelled: "cancelled";
5582
- completed: "completed";
5583
- failed: "failed";
5584
- pending: "pending";
5585
- in_progress: "in_progress";
5586
- }>;
5587
- workflow_id: z.ZodOptional<z.ZodString>;
5588
- }, z.core.$strip>>;
5589
- pagination: z.ZodObject<{
5590
- has_more: z.ZodBoolean;
5591
- limit: z.ZodInt;
5592
- next_cursor: z.ZodOptional<z.ZodString>;
5593
- offset: z.ZodInt;
5594
- total: z.ZodInt;
5595
- }, z.core.$strip>;
5596
- }, z.core.$strip>;
5597
5933
  /**
5598
5934
  * Request body for generating a payment portal session URL.
5599
5935
  */
@@ -5736,6 +6072,10 @@ export declare const zPlanSeatSummary: z.ZodObject<{
5736
6072
  total_cost_cents: z.ZodCoercedBigInt<unknown>;
5737
6073
  total_credits_cents: z.ZodCoercedBigInt<unknown>;
5738
6074
  }, z.core.$strip>;
6075
+ /**
6076
+ * comfy-deploy's or comfy-builder's answer, passed through as written; its shape is that service's. Their refusals are `{error, message}` (Echo's own only `message`) and never carry `code`.
6077
+ */
6078
+ export declare const zPlatformPassthroughBody: z.ZodRecord<z.ZodString, z.ZodUnknown>;
5739
6079
  /**
5740
6080
  * Request body for previewing the cost of a plan subscription change.
5741
6081
  */
@@ -5752,6 +6092,317 @@ export declare const zPreviousPlan: z.ZodObject<{
5752
6092
  plan_slug: z.ZodString;
5753
6093
  team_credit_stop_id: z.ZodOptional<z.ZodString>;
5754
6094
  }, z.core.$strip>;
6095
+ /**
6096
+ * What the caller may do with one kind of thing in a project. `write` includes `read`. On things that belong to one person (runs, assets, usage) the level carries a scope: `_own` covers what the caller created and `_all` covers everyone's, and `_all` includes `_own`.
6097
+ */
6098
+ export declare const zProjectPermissionLevel: z.ZodEnum<{
6099
+ read: "read";
6100
+ write: "write";
6101
+ read_own: "read_own";
6102
+ read_all: "read_all";
6103
+ write_own: "write_own";
6104
+ write_all: "write_all";
6105
+ }>;
6106
+ /**
6107
+ * The caller's permissions in this project, for showing and hiding actions. Render each as received; do not rebuild them from `my_role` or the workspace role. An absent key means no access. Each write is checked again by the server.
6108
+ */
6109
+ export declare const zProjectPermissions: z.ZodObject<{
6110
+ project: z.ZodOptional<z.ZodEnum<{
6111
+ read: "read";
6112
+ write: "write";
6113
+ read_own: "read_own";
6114
+ read_all: "read_all";
6115
+ write_own: "write_own";
6116
+ write_all: "write_all";
6117
+ }>>;
6118
+ 'project.assets': z.ZodOptional<z.ZodEnum<{
6119
+ read: "read";
6120
+ write: "write";
6121
+ read_own: "read_own";
6122
+ read_all: "read_all";
6123
+ write_own: "write_own";
6124
+ write_all: "write_all";
6125
+ }>>;
6126
+ 'project.deployments': z.ZodOptional<z.ZodEnum<{
6127
+ read: "read";
6128
+ write: "write";
6129
+ read_own: "read_own";
6130
+ read_all: "read_all";
6131
+ write_own: "write_own";
6132
+ write_all: "write_all";
6133
+ }>>;
6134
+ 'project.members': z.ZodOptional<z.ZodEnum<{
6135
+ read: "read";
6136
+ write: "write";
6137
+ read_own: "read_own";
6138
+ read_all: "read_all";
6139
+ write_own: "write_own";
6140
+ write_all: "write_all";
6141
+ }>>;
6142
+ 'project.queue': z.ZodOptional<z.ZodEnum<{
6143
+ read: "read";
6144
+ write: "write";
6145
+ read_own: "read_own";
6146
+ read_all: "read_all";
6147
+ write_own: "write_own";
6148
+ write_all: "write_all";
6149
+ }>>;
6150
+ 'project.usage': z.ZodOptional<z.ZodEnum<{
6151
+ read: "read";
6152
+ write: "write";
6153
+ read_own: "read_own";
6154
+ read_all: "read_all";
6155
+ write_own: "write_own";
6156
+ write_all: "write_all";
6157
+ }>>;
6158
+ 'project.workflow': z.ZodOptional<z.ZodEnum<{
6159
+ read: "read";
6160
+ write: "write";
6161
+ read_own: "read_own";
6162
+ read_all: "read_all";
6163
+ write_own: "write_own";
6164
+ write_all: "write_all";
6165
+ }>>;
6166
+ }, z.core.$strip>;
6167
+ /**
6168
+ * How many projects the workspace may have and has.
6169
+ */
6170
+ export declare const zProjectQuota: z.ZodObject<{
6171
+ active: z.ZodInt;
6172
+ can_create: z.ZodBoolean;
6173
+ max_active: z.ZodInt;
6174
+ }, z.core.$strip>;
6175
+ /**
6176
+ * A person's role in one project. A Runner runs existing workflows. A Builder also creates and edits workflows. A Project admin also manages the project, its members and its deployments.
6177
+ */
6178
+ export declare const zProjectRole: z.ZodEnum<{
6179
+ runner: "runner";
6180
+ builder: "builder";
6181
+ project_admin: "project_admin";
6182
+ }>;
6183
+ /**
6184
+ * A private, invite-only space inside a workspace, or the workspace's default project.
6185
+ */
6186
+ export declare const zProject: z.ZodObject<{
6187
+ create_time: z.ZodISODateTime;
6188
+ created_by_user_id: z.ZodOptional<z.ZodString>;
6189
+ description: z.ZodOptional<z.ZodString>;
6190
+ id: z.ZodString;
6191
+ is_default: z.ZodBoolean;
6192
+ my_role: z.ZodOptional<z.ZodEnum<{
6193
+ runner: "runner";
6194
+ builder: "builder";
6195
+ project_admin: "project_admin";
6196
+ }>>;
6197
+ name: z.ZodString;
6198
+ permissions: z.ZodObject<{
6199
+ project: z.ZodOptional<z.ZodEnum<{
6200
+ read: "read";
6201
+ write: "write";
6202
+ read_own: "read_own";
6203
+ read_all: "read_all";
6204
+ write_own: "write_own";
6205
+ write_all: "write_all";
6206
+ }>>;
6207
+ 'project.assets': z.ZodOptional<z.ZodEnum<{
6208
+ read: "read";
6209
+ write: "write";
6210
+ read_own: "read_own";
6211
+ read_all: "read_all";
6212
+ write_own: "write_own";
6213
+ write_all: "write_all";
6214
+ }>>;
6215
+ 'project.deployments': z.ZodOptional<z.ZodEnum<{
6216
+ read: "read";
6217
+ write: "write";
6218
+ read_own: "read_own";
6219
+ read_all: "read_all";
6220
+ write_own: "write_own";
6221
+ write_all: "write_all";
6222
+ }>>;
6223
+ 'project.members': z.ZodOptional<z.ZodEnum<{
6224
+ read: "read";
6225
+ write: "write";
6226
+ read_own: "read_own";
6227
+ read_all: "read_all";
6228
+ write_own: "write_own";
6229
+ write_all: "write_all";
6230
+ }>>;
6231
+ 'project.queue': z.ZodOptional<z.ZodEnum<{
6232
+ read: "read";
6233
+ write: "write";
6234
+ read_own: "read_own";
6235
+ read_all: "read_all";
6236
+ write_own: "write_own";
6237
+ write_all: "write_all";
6238
+ }>>;
6239
+ 'project.usage': z.ZodOptional<z.ZodEnum<{
6240
+ read: "read";
6241
+ write: "write";
6242
+ read_own: "read_own";
6243
+ read_all: "read_all";
6244
+ write_own: "write_own";
6245
+ write_all: "write_all";
6246
+ }>>;
6247
+ 'project.workflow': z.ZodOptional<z.ZodEnum<{
6248
+ read: "read";
6249
+ write: "write";
6250
+ read_own: "read_own";
6251
+ read_all: "read_all";
6252
+ write_own: "write_own";
6253
+ write_all: "write_all";
6254
+ }>>;
6255
+ }, z.core.$strip>;
6256
+ shared_cloud_allowed: z.ZodBoolean;
6257
+ update_time: z.ZodISODateTime;
6258
+ workspace_id: z.ZodString;
6259
+ writable: z.ZodBoolean;
6260
+ }, z.core.$strip>;
6261
+ /**
6262
+ * The projects the caller can view, with the workspace's project quota.
6263
+ */
6264
+ export declare const zListProjectsResponse: z.ZodObject<{
6265
+ projects: z.ZodArray<z.ZodObject<{
6266
+ create_time: z.ZodISODateTime;
6267
+ created_by_user_id: z.ZodOptional<z.ZodString>;
6268
+ description: z.ZodOptional<z.ZodString>;
6269
+ id: z.ZodString;
6270
+ is_default: z.ZodBoolean;
6271
+ my_role: z.ZodOptional<z.ZodEnum<{
6272
+ runner: "runner";
6273
+ builder: "builder";
6274
+ project_admin: "project_admin";
6275
+ }>>;
6276
+ name: z.ZodString;
6277
+ permissions: z.ZodObject<{
6278
+ project: z.ZodOptional<z.ZodEnum<{
6279
+ read: "read";
6280
+ write: "write";
6281
+ read_own: "read_own";
6282
+ read_all: "read_all";
6283
+ write_own: "write_own";
6284
+ write_all: "write_all";
6285
+ }>>;
6286
+ 'project.assets': z.ZodOptional<z.ZodEnum<{
6287
+ read: "read";
6288
+ write: "write";
6289
+ read_own: "read_own";
6290
+ read_all: "read_all";
6291
+ write_own: "write_own";
6292
+ write_all: "write_all";
6293
+ }>>;
6294
+ 'project.deployments': z.ZodOptional<z.ZodEnum<{
6295
+ read: "read";
6296
+ write: "write";
6297
+ read_own: "read_own";
6298
+ read_all: "read_all";
6299
+ write_own: "write_own";
6300
+ write_all: "write_all";
6301
+ }>>;
6302
+ 'project.members': z.ZodOptional<z.ZodEnum<{
6303
+ read: "read";
6304
+ write: "write";
6305
+ read_own: "read_own";
6306
+ read_all: "read_all";
6307
+ write_own: "write_own";
6308
+ write_all: "write_all";
6309
+ }>>;
6310
+ 'project.queue': z.ZodOptional<z.ZodEnum<{
6311
+ read: "read";
6312
+ write: "write";
6313
+ read_own: "read_own";
6314
+ read_all: "read_all";
6315
+ write_own: "write_own";
6316
+ write_all: "write_all";
6317
+ }>>;
6318
+ 'project.usage': z.ZodOptional<z.ZodEnum<{
6319
+ read: "read";
6320
+ write: "write";
6321
+ read_own: "read_own";
6322
+ read_all: "read_all";
6323
+ write_own: "write_own";
6324
+ write_all: "write_all";
6325
+ }>>;
6326
+ 'project.workflow': z.ZodOptional<z.ZodEnum<{
6327
+ read: "read";
6328
+ write: "write";
6329
+ read_own: "read_own";
6330
+ read_all: "read_all";
6331
+ write_own: "write_own";
6332
+ write_all: "write_all";
6333
+ }>>;
6334
+ }, z.core.$strip>;
6335
+ shared_cloud_allowed: z.ZodBoolean;
6336
+ update_time: z.ZodISODateTime;
6337
+ workspace_id: z.ZodString;
6338
+ writable: z.ZodBoolean;
6339
+ }, z.core.$strip>>;
6340
+ projects_in_use: z.ZodBoolean;
6341
+ quota: z.ZodObject<{
6342
+ active: z.ZodInt;
6343
+ can_create: z.ZodBoolean;
6344
+ max_active: z.ZodInt;
6345
+ }, z.core.$strip>;
6346
+ }, z.core.$strip>;
6347
+ /**
6348
+ * A person in a project, with their project role.
6349
+ */
6350
+ export declare const zProjectMember: z.ZodObject<{
6351
+ added_by_user_id: z.ZodOptional<z.ZodString>;
6352
+ create_time: z.ZodISODateTime;
6353
+ email: z.ZodString;
6354
+ name: z.ZodString;
6355
+ role: z.ZodEnum<{
6356
+ runner: "runner";
6357
+ builder: "builder";
6358
+ project_admin: "project_admin";
6359
+ }>;
6360
+ user_id: z.ZodString;
6361
+ }, z.core.$strip>;
6362
+ /**
6363
+ * The people in a project.
6364
+ */
6365
+ export declare const zListProjectMembersResponse: z.ZodObject<{
6366
+ members: z.ZodArray<z.ZodObject<{
6367
+ added_by_user_id: z.ZodOptional<z.ZodString>;
6368
+ create_time: z.ZodISODateTime;
6369
+ email: z.ZodString;
6370
+ name: z.ZodString;
6371
+ role: z.ZodEnum<{
6372
+ runner: "runner";
6373
+ builder: "builder";
6374
+ project_admin: "project_admin";
6375
+ }>;
6376
+ user_id: z.ZodString;
6377
+ }, z.core.$strip>>;
6378
+ }, z.core.$strip>;
6379
+ /**
6380
+ * A workspace member to add to a project, with their project role.
6381
+ */
6382
+ export declare const zProjectMemberInput: z.ZodObject<{
6383
+ role: z.ZodEnum<{
6384
+ runner: "runner";
6385
+ builder: "builder";
6386
+ project_admin: "project_admin";
6387
+ }>;
6388
+ user_id: z.ZodString;
6389
+ }, z.core.$strip>;
6390
+ /**
6391
+ * Request body for creating a project.
6392
+ */
6393
+ export declare const zCreateProjectRequest: z.ZodObject<{
6394
+ description: z.ZodOptional<z.ZodString>;
6395
+ members: z.ZodOptional<z.ZodArray<z.ZodObject<{
6396
+ role: z.ZodEnum<{
6397
+ runner: "runner";
6398
+ builder: "builder";
6399
+ project_admin: "project_admin";
6400
+ }>;
6401
+ user_id: z.ZodString;
6402
+ }, z.core.$strip>>>;
6403
+ name: z.ZodString;
6404
+ shared_cloud_allowed: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
6405
+ }, z.core.$strip>;
5755
6406
  /**
5756
6407
  * Error response for ComfyUI prompt execution.
5757
6408
  */
@@ -5790,9 +6441,282 @@ export declare const zPromptOutputsSkippedNodeError: z.ZodObject<{
5790
6441
  received_type: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
5791
6442
  received_value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
5792
6443
  }, z.core.$strip>>;
5793
- message: z.ZodOptional<z.ZodString>;
5794
- type: z.ZodOptional<z.ZodString>;
5795
- }, z.core.$strip>]>>;
6444
+ message: z.ZodOptional<z.ZodString>;
6445
+ type: z.ZodOptional<z.ZodString>;
6446
+ }, z.core.$strip>]>>;
6447
+ }, z.core.$strip>;
6448
+ /**
6449
+ * Detailed execution error information from ComfyUI
6450
+ */
6451
+ export declare const zExecutionError: z.ZodObject<{
6452
+ catalog_id: z.ZodOptional<z.ZodString>;
6453
+ current_inputs: z.ZodRecord<z.ZodString, z.ZodUnknown>;
6454
+ current_outputs: z.ZodRecord<z.ZodString, z.ZodUnknown>;
6455
+ exception_message: z.ZodString;
6456
+ exception_type: z.ZodString;
6457
+ node_errors: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
6458
+ class_type: z.ZodString;
6459
+ dependent_outputs: z.ZodArray<z.ZodString>;
6460
+ errors: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
6461
+ details: z.ZodOptional<z.ZodString>;
6462
+ extra_info: z.ZodOptional<z.ZodObject<{
6463
+ input_name: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
6464
+ received_type: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
6465
+ received_value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
6466
+ }, z.core.$strip>>;
6467
+ message: z.ZodOptional<z.ZodString>;
6468
+ type: z.ZodOptional<z.ZodString>;
6469
+ }, z.core.$strip>]>>;
6470
+ }, z.core.$strip>>>;
6471
+ node_id: z.ZodString;
6472
+ node_type: z.ZodString;
6473
+ traceback: z.ZodArray<z.ZodString>;
6474
+ }, z.core.$strip>;
6475
+ /**
6476
+ * Full job details including workflow and outputs
6477
+ */
6478
+ export declare const zJobDetailResponse: z.ZodObject<{
6479
+ budget_hold: z.ZodOptional<z.ZodObject<{
6480
+ budget: z.ZodOptional<z.ZodObject<{
6481
+ id: z.ZodOptional<z.ZodString>;
6482
+ limit_credits: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
6483
+ limit_micro_usd: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
6484
+ mode: z.ZodOptional<z.ZodString>;
6485
+ resets_at: z.ZodISODateTime;
6486
+ scope_id: z.ZodOptional<z.ZodString>;
6487
+ scope_kind: z.ZodString;
6488
+ set_by: z.ZodString;
6489
+ spent_credits: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
6490
+ spent_micro_usd: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
6491
+ }, z.core.$strip>>;
6492
+ can_resume: z.ZodBoolean;
6493
+ reason: z.ZodString;
6494
+ }, z.core.$strip>>;
6495
+ create_time: z.ZodCoercedBigInt<unknown>;
6496
+ deployment: z.ZodOptional<z.ZodObject<{
6497
+ build_name: z.ZodOptional<z.ZodString>;
6498
+ deployment_id: z.ZodString;
6499
+ name: z.ZodOptional<z.ZodString>;
6500
+ release_id: z.ZodString;
6501
+ release_version: z.ZodOptional<z.ZodInt>;
6502
+ }, z.core.$strip>>;
6503
+ execution_end_time: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
6504
+ execution_error: z.ZodOptional<z.ZodObject<{
6505
+ catalog_id: z.ZodOptional<z.ZodString>;
6506
+ current_inputs: z.ZodRecord<z.ZodString, z.ZodUnknown>;
6507
+ current_outputs: z.ZodRecord<z.ZodString, z.ZodUnknown>;
6508
+ exception_message: z.ZodString;
6509
+ exception_type: z.ZodString;
6510
+ node_errors: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
6511
+ class_type: z.ZodString;
6512
+ dependent_outputs: z.ZodArray<z.ZodString>;
6513
+ errors: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
6514
+ details: z.ZodOptional<z.ZodString>;
6515
+ extra_info: z.ZodOptional<z.ZodObject<{
6516
+ input_name: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
6517
+ received_type: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
6518
+ received_value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
6519
+ }, z.core.$strip>>;
6520
+ message: z.ZodOptional<z.ZodString>;
6521
+ type: z.ZodOptional<z.ZodString>;
6522
+ }, z.core.$strip>]>>;
6523
+ }, z.core.$strip>>>;
6524
+ node_id: z.ZodString;
6525
+ node_type: z.ZodString;
6526
+ traceback: z.ZodArray<z.ZodString>;
6527
+ }, z.core.$strip>>;
6528
+ execution_meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
6529
+ display_node: z.ZodOptional<z.ZodString>;
6530
+ node_id: z.ZodOptional<z.ZodString>;
6531
+ parent_node: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6532
+ real_node_id: z.ZodOptional<z.ZodString>;
6533
+ }, z.core.$strip>>>;
6534
+ execution_start_time: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
6535
+ execution_status: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
6536
+ executor: z.ZodOptional<z.ZodEnum<{
6537
+ cloud_inference: "cloud_inference";
6538
+ platform_gateway: "platform_gateway";
6539
+ }>>;
6540
+ id: z.ZodUUID;
6541
+ outputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
6542
+ outputs_count: z.ZodOptional<z.ZodInt>;
6543
+ preview_output: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
6544
+ previewable_outputs_count: z.ZodOptional<z.ZodInt>;
6545
+ project_id: z.ZodOptional<z.ZodString>;
6546
+ queue_position: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
6547
+ queue_reason: z.ZodOptional<z.ZodEnum<{
6548
+ concurrency_limit: "concurrency_limit";
6549
+ capacity: "capacity";
6550
+ }>>;
6551
+ status: z.ZodEnum<{
6552
+ cancelled: "cancelled";
6553
+ completed: "completed";
6554
+ failed: "failed";
6555
+ pending: "pending";
6556
+ in_progress: "in_progress";
6557
+ held_budget: "held_budget";
6558
+ }>;
6559
+ update_time: z.ZodCoercedBigInt<unknown>;
6560
+ user_id: z.ZodOptional<z.ZodString>;
6561
+ workflow: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
6562
+ workflow_id: z.ZodOptional<z.ZodString>;
6563
+ workflow_version_id: z.ZodOptional<z.ZodString>;
6564
+ workspace_id: z.ZodOptional<z.ZodString>;
6565
+ }, z.core.$strip>;
6566
+ /**
6567
+ * Lightweight job data for list views (workflow and full outputs excluded)
6568
+ */
6569
+ export declare const zJobEntry: z.ZodObject<{
6570
+ budget_hold: z.ZodOptional<z.ZodObject<{
6571
+ budget: z.ZodOptional<z.ZodObject<{
6572
+ id: z.ZodOptional<z.ZodString>;
6573
+ limit_credits: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
6574
+ limit_micro_usd: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
6575
+ mode: z.ZodOptional<z.ZodString>;
6576
+ resets_at: z.ZodISODateTime;
6577
+ scope_id: z.ZodOptional<z.ZodString>;
6578
+ scope_kind: z.ZodString;
6579
+ set_by: z.ZodString;
6580
+ spent_credits: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
6581
+ spent_micro_usd: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
6582
+ }, z.core.$strip>>;
6583
+ can_resume: z.ZodBoolean;
6584
+ reason: z.ZodString;
6585
+ }, z.core.$strip>>;
6586
+ create_time: z.ZodCoercedBigInt<unknown>;
6587
+ deployment: z.ZodOptional<z.ZodObject<{
6588
+ build_name: z.ZodOptional<z.ZodString>;
6589
+ deployment_id: z.ZodString;
6590
+ name: z.ZodOptional<z.ZodString>;
6591
+ release_id: z.ZodString;
6592
+ release_version: z.ZodOptional<z.ZodInt>;
6593
+ }, z.core.$strip>>;
6594
+ execution_end_time: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
6595
+ execution_error: z.ZodOptional<z.ZodObject<{
6596
+ catalog_id: z.ZodOptional<z.ZodString>;
6597
+ current_inputs: z.ZodRecord<z.ZodString, z.ZodUnknown>;
6598
+ current_outputs: z.ZodRecord<z.ZodString, z.ZodUnknown>;
6599
+ exception_message: z.ZodString;
6600
+ exception_type: z.ZodString;
6601
+ node_errors: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
6602
+ class_type: z.ZodString;
6603
+ dependent_outputs: z.ZodArray<z.ZodString>;
6604
+ errors: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
6605
+ details: z.ZodOptional<z.ZodString>;
6606
+ extra_info: z.ZodOptional<z.ZodObject<{
6607
+ input_name: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
6608
+ received_type: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
6609
+ received_value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
6610
+ }, z.core.$strip>>;
6611
+ message: z.ZodOptional<z.ZodString>;
6612
+ type: z.ZodOptional<z.ZodString>;
6613
+ }, z.core.$strip>]>>;
6614
+ }, z.core.$strip>>>;
6615
+ node_id: z.ZodString;
6616
+ node_type: z.ZodString;
6617
+ traceback: z.ZodArray<z.ZodString>;
6618
+ }, z.core.$strip>>;
6619
+ execution_start_time: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
6620
+ executor: z.ZodOptional<z.ZodEnum<{
6621
+ cloud_inference: "cloud_inference";
6622
+ platform_gateway: "platform_gateway";
6623
+ }>>;
6624
+ id: z.ZodUUID;
6625
+ outputs_count: z.ZodOptional<z.ZodInt>;
6626
+ preview_output: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
6627
+ previewable_outputs_count: z.ZodOptional<z.ZodInt>;
6628
+ project_id: z.ZodOptional<z.ZodString>;
6629
+ status: z.ZodEnum<{
6630
+ cancelled: "cancelled";
6631
+ completed: "completed";
6632
+ failed: "failed";
6633
+ pending: "pending";
6634
+ in_progress: "in_progress";
6635
+ held_budget: "held_budget";
6636
+ }>;
6637
+ workflow_id: z.ZodOptional<z.ZodString>;
6638
+ }, z.core.$strip>;
6639
+ /**
6640
+ * Paginated list of jobs for the authenticated user.
6641
+ */
6642
+ export declare const zJobsListResponse: z.ZodObject<{
6643
+ jobs: z.ZodArray<z.ZodObject<{
6644
+ budget_hold: z.ZodOptional<z.ZodObject<{
6645
+ budget: z.ZodOptional<z.ZodObject<{
6646
+ id: z.ZodOptional<z.ZodString>;
6647
+ limit_credits: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
6648
+ limit_micro_usd: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
6649
+ mode: z.ZodOptional<z.ZodString>;
6650
+ resets_at: z.ZodISODateTime;
6651
+ scope_id: z.ZodOptional<z.ZodString>;
6652
+ scope_kind: z.ZodString;
6653
+ set_by: z.ZodString;
6654
+ spent_credits: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
6655
+ spent_micro_usd: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
6656
+ }, z.core.$strip>>;
6657
+ can_resume: z.ZodBoolean;
6658
+ reason: z.ZodString;
6659
+ }, z.core.$strip>>;
6660
+ create_time: z.ZodCoercedBigInt<unknown>;
6661
+ deployment: z.ZodOptional<z.ZodObject<{
6662
+ build_name: z.ZodOptional<z.ZodString>;
6663
+ deployment_id: z.ZodString;
6664
+ name: z.ZodOptional<z.ZodString>;
6665
+ release_id: z.ZodString;
6666
+ release_version: z.ZodOptional<z.ZodInt>;
6667
+ }, z.core.$strip>>;
6668
+ execution_end_time: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
6669
+ execution_error: z.ZodOptional<z.ZodObject<{
6670
+ catalog_id: z.ZodOptional<z.ZodString>;
6671
+ current_inputs: z.ZodRecord<z.ZodString, z.ZodUnknown>;
6672
+ current_outputs: z.ZodRecord<z.ZodString, z.ZodUnknown>;
6673
+ exception_message: z.ZodString;
6674
+ exception_type: z.ZodString;
6675
+ node_errors: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
6676
+ class_type: z.ZodString;
6677
+ dependent_outputs: z.ZodArray<z.ZodString>;
6678
+ errors: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
6679
+ details: z.ZodOptional<z.ZodString>;
6680
+ extra_info: z.ZodOptional<z.ZodObject<{
6681
+ input_name: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
6682
+ received_type: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
6683
+ received_value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
6684
+ }, z.core.$strip>>;
6685
+ message: z.ZodOptional<z.ZodString>;
6686
+ type: z.ZodOptional<z.ZodString>;
6687
+ }, z.core.$strip>]>>;
6688
+ }, z.core.$strip>>>;
6689
+ node_id: z.ZodString;
6690
+ node_type: z.ZodString;
6691
+ traceback: z.ZodArray<z.ZodString>;
6692
+ }, z.core.$strip>>;
6693
+ execution_start_time: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
6694
+ executor: z.ZodOptional<z.ZodEnum<{
6695
+ cloud_inference: "cloud_inference";
6696
+ platform_gateway: "platform_gateway";
6697
+ }>>;
6698
+ id: z.ZodUUID;
6699
+ outputs_count: z.ZodOptional<z.ZodInt>;
6700
+ preview_output: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
6701
+ previewable_outputs_count: z.ZodOptional<z.ZodInt>;
6702
+ project_id: z.ZodOptional<z.ZodString>;
6703
+ status: z.ZodEnum<{
6704
+ cancelled: "cancelled";
6705
+ completed: "completed";
6706
+ failed: "failed";
6707
+ pending: "pending";
6708
+ in_progress: "in_progress";
6709
+ held_budget: "held_budget";
6710
+ }>;
6711
+ workflow_id: z.ZodOptional<z.ZodString>;
6712
+ }, z.core.$strip>>;
6713
+ pagination: z.ZodObject<{
6714
+ has_more: z.ZodBoolean;
6715
+ limit: z.ZodInt;
6716
+ next_cursor: z.ZodOptional<z.ZodString>;
6717
+ offset: z.ZodInt;
6718
+ total: z.ZodInt;
6719
+ }, z.core.$strip>;
5796
6720
  }, z.core.$strip>;
5797
6721
  /**
5798
6722
  * The `data` of a prompt_outputs_skipped WebSocket event. Sent when ComfyUI accepts a Cloud job's prompt but rejects some nodes: ComfyUI skips the outputs that depend on them and runs the rest, and the job keeps running. The inference server sends it to the user's channel (services/inference/server/services/joborchestrator/prompt_validation.go). Every string taken from ComfyUI has its lists of allowed values or file names replaced ("is not a valid value", "[list omitted]") and is capped at 512 characters.
@@ -5886,6 +6810,24 @@ export declare const zProviderPolicy: z.ZodObject<{
5886
6810
  provider_id: z.ZodString;
5887
6811
  }, z.core.$strip>>;
5888
6812
  }, z.core.$strip>;
6813
+ export declare const zPublicModel: z.ZodObject<{
6814
+ file_path: z.ZodOptional<z.ZodString>;
6815
+ id: z.ZodUUID;
6816
+ name: z.ZodString;
6817
+ size: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
6818
+ source_url: z.ZodOptional<z.ZodString>;
6819
+ tags: z.ZodArray<z.ZodString>;
6820
+ }, z.core.$strip>;
6821
+ export declare const zPublicModelsResponse: z.ZodObject<{
6822
+ models: z.ZodArray<z.ZodObject<{
6823
+ file_path: z.ZodOptional<z.ZodString>;
6824
+ id: z.ZodUUID;
6825
+ name: z.ZodString;
6826
+ size: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
6827
+ source_url: z.ZodOptional<z.ZodString>;
6828
+ tags: z.ZodArray<z.ZodString>;
6829
+ }, z.core.$strip>>;
6830
+ }, z.core.$strip>;
5889
6831
  /**
5890
6832
  * Request body for publishing or updating a workflow on the Hub.
5891
6833
  */
@@ -6231,6 +7173,107 @@ export declare const zServerDocFrame: z.ZodUnion<readonly [z.ZodObject<{
6231
7173
  doc_ops_result: "doc_ops_result";
6232
7174
  }>;
6233
7175
  }, z.core.$strip>]>;
7176
+ /**
7177
+ * Request body for adding a project member or changing their role.
7178
+ */
7179
+ export declare const zSetProjectMemberRequest: z.ZodObject<{
7180
+ role: z.ZodEnum<{
7181
+ runner: "runner";
7182
+ builder: "builder";
7183
+ project_admin: "project_admin";
7184
+ }>;
7185
+ }, z.core.$strip>;
7186
+ /**
7187
+ * The exhausted budget. Workspace Owners also receive its ID, scope ID, mode, and amounts.
7188
+ */
7189
+ export declare const zSpendBudgetDetail: z.ZodObject<{
7190
+ id: z.ZodOptional<z.ZodString>;
7191
+ limit_credits: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
7192
+ limit_micro_usd: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
7193
+ mode: z.ZodOptional<z.ZodString>;
7194
+ resets_at: z.ZodISODateTime;
7195
+ scope_id: z.ZodOptional<z.ZodString>;
7196
+ scope_kind: z.ZodString;
7197
+ set_by: z.ZodString;
7198
+ spent_credits: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
7199
+ spent_micro_usd: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
7200
+ }, z.core.$strip>;
7201
+ /**
7202
+ * Returned when a request to run the agent is declined before the turn starts, because of a billing or account condition on the workspace. The `error` object carries a `message` you can show the user, a `type` that matches the HTTP status, and a more specific `reason` you can branch on to offer the right next step.
7203
+ */
7204
+ export declare const zAgentAdmissionError: z.ZodObject<{
7205
+ blocking_budgets: z.ZodOptional<z.ZodArray<z.ZodObject<{
7206
+ id: z.ZodOptional<z.ZodString>;
7207
+ limit_credits: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
7208
+ limit_micro_usd: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
7209
+ mode: z.ZodOptional<z.ZodString>;
7210
+ resets_at: z.ZodISODateTime;
7211
+ scope_id: z.ZodOptional<z.ZodString>;
7212
+ scope_kind: z.ZodString;
7213
+ set_by: z.ZodString;
7214
+ spent_credits: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
7215
+ spent_micro_usd: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
7216
+ }, z.core.$strip>>>;
7217
+ budget: z.ZodOptional<z.ZodObject<{
7218
+ id: z.ZodOptional<z.ZodString>;
7219
+ limit_credits: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
7220
+ limit_micro_usd: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
7221
+ mode: z.ZodOptional<z.ZodString>;
7222
+ resets_at: z.ZodISODateTime;
7223
+ scope_id: z.ZodOptional<z.ZodString>;
7224
+ scope_kind: z.ZodString;
7225
+ set_by: z.ZodString;
7226
+ spent_credits: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
7227
+ spent_micro_usd: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
7228
+ }, z.core.$strip>>;
7229
+ denied_reason: z.ZodOptional<z.ZodString>;
7230
+ error: z.ZodObject<{
7231
+ message: z.ZodString;
7232
+ reason: z.ZodEnum<{
7233
+ budget_exceeded: "budget_exceeded";
7234
+ no_funds: "no_funds";
7235
+ manual_block: "manual_block";
7236
+ funds_unavailable: "funds_unavailable";
7237
+ }>;
7238
+ type: z.ZodEnum<{
7239
+ PAYMENT_REQUIRED: "PAYMENT_REQUIRED";
7240
+ SERVICE_UNAVAILABLE: "SERVICE_UNAVAILABLE";
7241
+ }>;
7242
+ }, z.core.$strip>;
7243
+ error_type: z.ZodOptional<z.ZodString>;
7244
+ }, z.core.$strip>;
7245
+ /**
7246
+ * Payment or hard-budget refusal for ComfyUI prompt execution.
7247
+ */
7248
+ export declare const zPromptPaymentRequired: z.ZodObject<{
7249
+ blocking_budgets: z.ZodOptional<z.ZodArray<z.ZodObject<{
7250
+ id: z.ZodOptional<z.ZodString>;
7251
+ limit_credits: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
7252
+ limit_micro_usd: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
7253
+ mode: z.ZodOptional<z.ZodString>;
7254
+ resets_at: z.ZodISODateTime;
7255
+ scope_id: z.ZodOptional<z.ZodString>;
7256
+ scope_kind: z.ZodString;
7257
+ set_by: z.ZodString;
7258
+ spent_credits: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
7259
+ spent_micro_usd: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
7260
+ }, z.core.$strip>>>;
7261
+ budget: z.ZodOptional<z.ZodObject<{
7262
+ id: z.ZodOptional<z.ZodString>;
7263
+ limit_credits: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
7264
+ limit_micro_usd: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
7265
+ mode: z.ZodOptional<z.ZodString>;
7266
+ resets_at: z.ZodISODateTime;
7267
+ scope_id: z.ZodOptional<z.ZodString>;
7268
+ scope_kind: z.ZodString;
7269
+ set_by: z.ZodString;
7270
+ spent_credits: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
7271
+ spent_micro_usd: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
7272
+ }, z.core.$strip>>;
7273
+ denied_reason: z.ZodOptional<z.ZodString>;
7274
+ error: z.ZodOptional<z.ZodUnknown>;
7275
+ error_type: z.ZodOptional<z.ZodString>;
7276
+ }, z.core.$strip>;
6234
7277
  /**
6235
7278
  * The deployment a start was asked for, and its status after the ask.
6236
7279
  */
@@ -7387,6 +8430,7 @@ export declare const zAgentMessage: z.ZodObject<{
7387
8430
  }, z.core.$strip>, z.ZodIntersection<z.ZodObject<{
7388
8431
  allow_other: z.ZodBoolean;
7389
8432
  ask_id: z.ZodString;
8433
+ expires_at: z.ZodOptional<z.ZodISODateTime>;
7390
8434
  kind: z.ZodEnum<{
7391
8435
  ask_user: "ask_user";
7392
8436
  run_approval: "run_approval";
@@ -7411,6 +8455,7 @@ export declare const zAgentMessage: z.ZodObject<{
7411
8455
  }, z.core.$strip>, z.ZodIntersection<z.ZodObject<{
7412
8456
  allow_other: z.ZodBoolean;
7413
8457
  ask_id: z.ZodString;
8458
+ expires_at: z.ZodOptional<z.ZodISODateTime>;
7414
8459
  kind: z.ZodEnum<{
7415
8460
  ask_user: "ask_user";
7416
8461
  run_approval: "run_approval";
@@ -7446,6 +8491,7 @@ export declare const zAgentMessage: z.ZodObject<{
7446
8491
  }, z.core.$strip>, z.ZodIntersection<z.ZodObject<{
7447
8492
  allow_other: z.ZodBoolean;
7448
8493
  ask_id: z.ZodString;
8494
+ expires_at: z.ZodOptional<z.ZodISODateTime>;
7449
8495
  kind: z.ZodEnum<{
7450
8496
  ask_user: "ask_user";
7451
8497
  run_approval: "run_approval";
@@ -7475,6 +8521,7 @@ export declare const zAgentMessage: z.ZodObject<{
7475
8521
  }, z.core.$strip>, z.ZodIntersection<z.ZodObject<{
7476
8522
  allow_other: z.ZodBoolean;
7477
8523
  ask_id: z.ZodString;
8524
+ expires_at: z.ZodOptional<z.ZodISODateTime>;
7478
8525
  kind: z.ZodEnum<{
7479
8526
  ask_user: "ask_user";
7480
8527
  run_approval: "run_approval";
@@ -7607,6 +8654,7 @@ export declare const zBillingOpStatusResponse: z.ZodObject<{
7607
8654
  completed_at: z.ZodOptional<z.ZodISODateTime>;
7608
8655
  credits_added: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
7609
8656
  decline_reason: z.ZodOptional<z.ZodEnum<{
8657
+ generic: "generic";
7610
8658
  card_declined: "card_declined";
7611
8659
  insufficient_funds: "insufficient_funds";
7612
8660
  expired_card: "expired_card";
@@ -7615,7 +8663,6 @@ export declare const zBillingOpStatusResponse: z.ZodObject<{
7615
8663
  authentication_failed: "authentication_failed";
7616
8664
  processing_error: "processing_error";
7617
8665
  payment_not_completed: "payment_not_completed";
7618
- generic: "generic";
7619
8666
  }>>;
7620
8667
  error_message: z.ZodOptional<z.ZodString>;
7621
8668
  id: z.ZodString;
@@ -7678,6 +8725,31 @@ export declare const zTopupAutoTopUpSettings: z.ZodObject<{
7678
8725
  target_credits: z.ZodCoercedBigInt<unknown>;
7679
8726
  threshold_credits: z.ZodCoercedBigInt<unknown>;
7680
8727
  }, z.core.$strip>;
8728
+ /**
8729
+ * Asks for a one-time handoff that signs a billing receiver tab in as the caller.
8730
+ */
8731
+ export declare const zBillingHandoffCreateRequest: z.ZodObject<{
8732
+ amount_cents: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
8733
+ auto_top_up: z.ZodOptional<z.ZodObject<{
8734
+ monthly_budget_cents: z.ZodOptional<z.ZodNullable<z.ZodCoercedBigInt<unknown>>>;
8735
+ target_credits: z.ZodCoercedBigInt<unknown>;
8736
+ threshold_credits: z.ZodCoercedBigInt<unknown>;
8737
+ }, z.core.$strip>>;
8738
+ client_version: z.ZodString;
8739
+ intent: z.ZodOptional<z.ZodEnum<{
8740
+ "top-up": "top-up";
8741
+ subscription: "subscription";
8742
+ }>>;
8743
+ receiver: z.ZodEnum<{
8744
+ billing_web: "billing_web";
8745
+ platform: "platform";
8746
+ }>;
8747
+ surface: z.ZodEnum<{
8748
+ local_web: "local_web";
8749
+ desktop: "desktop";
8750
+ }>;
8751
+ workspace_id: z.ZodString;
8752
+ }, z.core.$strip>;
7681
8753
  /**
7682
8754
  * Request body for creating a hosted credit top-up checkout session.
7683
8755
  */
@@ -7691,6 +8763,14 @@ export declare const zCreateTopupCheckoutRequest: z.ZodObject<{
7691
8763
  idempotency_key: z.ZodOptional<z.ZodString>;
7692
8764
  return_url: z.ZodURL;
7693
8765
  }, z.core.$strip>;
8766
+ export declare const zCreateTopupPurchaseRequest: z.ZodObject<{
8767
+ amount_cents: z.ZodCoercedBigInt<unknown>;
8768
+ auto_top_up: z.ZodOptional<z.ZodObject<{
8769
+ monthly_budget_cents: z.ZodOptional<z.ZodNullable<z.ZodCoercedBigInt<unknown>>>;
8770
+ target_credits: z.ZodCoercedBigInt<unknown>;
8771
+ threshold_credits: z.ZodCoercedBigInt<unknown>;
8772
+ }, z.core.$strip>>;
8773
+ }, z.core.$strip>;
7694
8774
  /**
7695
8775
  * Pay once with exactly one new-card confirmation token or explicitly selected attached card. Keep the exact request and key on retry; never fall back to the on-file route.
7696
8776
  */
@@ -7705,18 +8785,41 @@ export declare const zInteractiveTopupRequest: z.ZodObject<{
7705
8785
  confirmation_token: z.ZodOptional<z.ZodString>;
7706
8786
  idempotency_key: z.ZodString;
7707
8787
  make_default: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
8788
+ purchase_id: z.ZodOptional<z.ZodString>;
7708
8789
  return_url: z.ZodOptional<z.ZodString>;
7709
8790
  save_payment_method: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
7710
8791
  saved_payment_method_id: z.ZodOptional<z.ZodString>;
7711
8792
  }, z.core.$strip>;
8793
+ export declare const zTopupPurchase: z.ZodObject<{
8794
+ amount_cents: z.ZodCoercedBigInt<unknown>;
8795
+ auto_top_up: z.ZodOptional<z.ZodObject<{
8796
+ monthly_budget_cents: z.ZodOptional<z.ZodNullable<z.ZodCoercedBigInt<unknown>>>;
8797
+ target_credits: z.ZodCoercedBigInt<unknown>;
8798
+ threshold_credits: z.ZodCoercedBigInt<unknown>;
8799
+ }, z.core.$strip>>;
8800
+ billing_op_id: z.ZodOptional<z.ZodString>;
8801
+ billing_op_status: z.ZodOptional<z.ZodString>;
8802
+ expires_at: z.ZodISODateTime;
8803
+ purchase_id: z.ZodString;
8804
+ status: z.ZodEnum<{
8805
+ expired: "expired";
8806
+ reconciliation_needed: "reconciliation_needed";
8807
+ processing: "processing";
8808
+ paid: "paid";
8809
+ open: "open";
8810
+ superseded: "superseded";
8811
+ }>;
8812
+ }, z.core.$strip>;
7712
8813
  /**
7713
8814
  * What a credit top-up of the requested amount would grant.
7714
8815
  */
7715
8816
  export declare const zTopupQuoteResponse: z.ZodObject<{
7716
8817
  amount_cents: z.ZodCoercedBigInt<unknown>;
8818
+ balance_after_credits: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
7717
8819
  credits: z.ZodCoercedBigInt<unknown>;
7718
8820
  expires_at: z.ZodISODateTime;
7719
8821
  payment_method_configuration_id: z.ZodOptional<z.ZodString>;
8822
+ runs_paused_after: z.ZodOptional<z.ZodBoolean>;
7720
8823
  }, z.core.$strip>;
7721
8824
  /**
7722
8825
  * Request body for updating an existing Hub profile.
@@ -7736,6 +8839,14 @@ export declare const zUpdateMemberRoleRequest: z.ZodObject<{
7736
8839
  member: "member";
7737
8840
  }>;
7738
8841
  }, z.core.$strip>;
8842
+ /**
8843
+ * Request body for changing a project. Only the fields sent are changed.
8844
+ */
8845
+ export declare const zUpdateProjectRequest: z.ZodObject<{
8846
+ description: z.ZodOptional<z.ZodString>;
8847
+ name: z.ZodOptional<z.ZodString>;
8848
+ shared_cloud_allowed: z.ZodOptional<z.ZodBoolean>;
8849
+ }, z.core.$strip>;
7739
8850
  /**
7740
8851
  * Request body for updating an existing user secret.
7741
8852
  */
@@ -7788,6 +8899,7 @@ export declare const zUsageBreakdownRow: z.ZodObject<{
7788
8899
  export declare const zUsageBucket: z.ZodObject<{
7789
8900
  cost_micros: z.ZodNumber;
7790
8901
  group_key: z.ZodString;
8902
+ pending: z.ZodOptional<z.ZodBoolean>;
7791
8903
  period_end: z.ZodISODateTime;
7792
8904
  period_start: z.ZodISODateTime;
7793
8905
  }, z.core.$strip>;
@@ -7823,10 +8935,12 @@ export declare const zUsageNotAvailable: z.ZodObject<{
7823
8935
  reason: z.ZodEnum<{
7824
8936
  no_attribution_source: "no_attribution_source";
7825
8937
  filter_needs_ledger: "filter_needs_ledger";
8938
+ too_many_deployments: "too_many_deployments";
8939
+ deployments_unavailable: "deployments_unavailable";
7826
8940
  }>;
7827
8941
  }, z.core.$strip>;
7828
8942
  /**
7829
- * Mixed units, deliberately. `spend_micros` here (and `cost_micros` on UsageBucket / UsageBreakdownRow) is genuinely MICROS -- 1/1,000,000 of the currency unit -- because it comes from Metronome's usage figures. The `balance` breakdown below is CENTS, and its `*_micros` names are a misnomer; use its `*_cents` fields.
8943
+ * Mixed units, deliberately. `spend_micros` here (and `cost_micros` on UsageBucket / UsageBreakdownRow) is genuinely MICROS -- 1/1,000,000 of the currency unit -- because it comes from Metronome's usage figures. The `balance` breakdown below is CENTS, and its `*_micros` names are a misnomer; use its `*_cents` fields. `balance` is omitted, never null, when it could not be read, the workspace has no billing account, or the caller may not see it (can_view_workspace_usage is false).
7830
8944
  */
7831
8945
  export declare const zUsageSummary: z.ZodObject<{
7832
8946
  balance: z.ZodOptional<z.ZodObject<{
@@ -7852,6 +8966,7 @@ export declare const zUsageTimeSeries: z.ZodObject<{
7852
8966
  buckets: z.ZodArray<z.ZodObject<{
7853
8967
  cost_micros: z.ZodNumber;
7854
8968
  group_key: z.ZodString;
8969
+ pending: z.ZodOptional<z.ZodBoolean>;
7855
8970
  period_end: z.ZodISODateTime;
7856
8971
  period_start: z.ZodISODateTime;
7857
8972
  }, z.core.$strip>>;
@@ -7862,12 +8977,12 @@ export declare const zUsageTimeSeries: z.ZodObject<{
7862
8977
  month: "month";
7863
8978
  }>;
7864
8979
  group_by: z.ZodEnum<{
8980
+ source: "source";
7865
8981
  model: "model";
7866
8982
  endpoint: "endpoint";
7867
8983
  product: "product";
7868
8984
  product_line: "product_line";
7869
8985
  person: "person";
7870
- source: "source";
7871
8986
  }>;
7872
8987
  group_labels: z.ZodOptional<z.ZodArray<z.ZodObject<{
7873
8988
  cost_kind: z.ZodOptional<z.ZodEnum<{
@@ -7899,6 +9014,8 @@ export declare const zUsageTimeSeries: z.ZodObject<{
7899
9014
  reason: z.ZodEnum<{
7900
9015
  no_attribution_source: "no_attribution_source";
7901
9016
  filter_needs_ledger: "filter_needs_ledger";
9017
+ too_many_deployments: "too_many_deployments";
9018
+ deployments_unavailable: "deployments_unavailable";
7902
9019
  }>;
7903
9020
  }, z.core.$strip>>;
7904
9021
  served_from: z.ZodOptional<z.ZodEnum<{
@@ -8077,6 +9194,7 @@ export declare const zWorkflowResponse: z.ZodObject<{
8077
9194
  id: z.ZodString;
8078
9195
  latest_version: z.ZodInt;
8079
9196
  name: z.ZodOptional<z.ZodString>;
9197
+ project_id: z.ZodOptional<z.ZodString>;
8080
9198
  updated_at: z.ZodISODateTime;
8081
9199
  }, z.core.$strip>;
8082
9200
  /**
@@ -8098,6 +9216,7 @@ export declare const zWorkflowListResponse: z.ZodObject<{
8098
9216
  id: z.ZodString;
8099
9217
  latest_version: z.ZodInt;
8100
9218
  name: z.ZodOptional<z.ZodString>;
9219
+ project_id: z.ZodOptional<z.ZodString>;
8101
9220
  updated_at: z.ZodISODateTime;
8102
9221
  }, z.core.$strip>>;
8103
9222
  pagination: z.ZodObject<{
@@ -8222,6 +9341,44 @@ export declare const zErrorResponse: z.ZodObject<{
8222
9341
  message: z.ZodString;
8223
9342
  organization_id: z.ZodOptional<z.ZodString>;
8224
9343
  }, z.core.$strip>;
9344
+ /**
9345
+ * A 403 on the deployment model routes. A body with `accepted` is ingest's authentication refusing the credential before any other check (AuthTypeNotAllowedError, `{error: {message, type: auth_type_not_allowed}, accepted}`, no `code`): a credential these routes never take, such as `X-ComfyAPI-Secret`, or the session while `web_session_enabled` is off for the user. Otherwise `code` tells them apart as in DeploymentModelsRefusalBody: a body with `code` is ingest's own refusal, and one with neither `code` nor `accepted` is the platform's 403, passed through as written.
9346
+ */
9347
+ export declare const zDeploymentModelsForbiddenBody: z.ZodUnion<readonly [z.ZodObject<{
9348
+ code: z.ZodString;
9349
+ denied_reasons: z.ZodOptional<z.ZodObject<{
9350
+ can_create_workspace: z.ZodOptional<z.ZodEnum<{
9351
+ organization_managed: "organization_managed";
9352
+ owned_workspace_limit: "owned_workspace_limit";
9353
+ }>>;
9354
+ }, z.core.$strip>>;
9355
+ details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
9356
+ message: z.ZodString;
9357
+ organization_id: z.ZodOptional<z.ZodString>;
9358
+ }, z.core.$strip>, z.ZodObject<{
9359
+ accepted: z.ZodArray<z.ZodString>;
9360
+ error: z.ZodObject<{
9361
+ message: z.ZodString;
9362
+ type: z.ZodEnum<{
9363
+ auth_type_not_allowed: "auth_type_not_allowed";
9364
+ }>;
9365
+ }, z.core.$strip>;
9366
+ }, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
9367
+ /**
9368
+ * A refusal on the deployment model routes: ingest's own (and the session's), as ErrorResponse `{code, message}`, or the platform's, passed through as written. One status can carry either; `code` tells them apart. A body with `code` is ingest's own refusal, made before or instead of the platform's answer; a body without it is the platform's, comfy-deploy's or comfy-builder's `{error, message}` (or only `message`), which never carries `code`. The one exception is a 403 with `accepted`, ingest's authentication refusal (see DeploymentModelsForbiddenBody).
9369
+ */
9370
+ export declare const zDeploymentModelsRefusalBody: z.ZodUnion<readonly [z.ZodObject<{
9371
+ code: z.ZodString;
9372
+ denied_reasons: z.ZodOptional<z.ZodObject<{
9373
+ can_create_workspace: z.ZodOptional<z.ZodEnum<{
9374
+ organization_managed: "organization_managed";
9375
+ owned_workspace_limit: "owned_workspace_limit";
9376
+ }>>;
9377
+ }, z.core.$strip>>;
9378
+ details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
9379
+ message: z.ZodString;
9380
+ organization_id: z.ZodOptional<z.ZodString>;
9381
+ }, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
8225
9382
  /**
8226
9383
  * A 403 body: ErrorResponse, or AuthTypeNotAllowedError for a credential the route does not take.
8227
9384
  */
@@ -8318,6 +9475,7 @@ export declare const zBillingCapabilityDenialParams: z.ZodObject<{
8318
9475
  * Effective billing UI guidance for one authenticated user and workspace.
8319
9476
  */
8320
9477
  export declare const zBillingCapabilitiesResponse: z.ZodObject<{
9478
+ billing_web_topup_hosted_methods: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
8321
9479
  auto_top_up_enabled: z.ZodBoolean;
8322
9480
  auto_top_up_member_view: z.ZodOptional<z.ZodObject<{
8323
9481
  cycle_resets_at: z.ZodNullable<z.ZodISODateTime>;
@@ -8397,6 +9555,8 @@ export declare const zBillingCapabilitiesResponse: z.ZodObject<{
8397
9555
  can_view_own_usage: z.ZodOptional<z.ZodBoolean>;
8398
9556
  can_view_pending_invites: z.ZodBoolean;
8399
9557
  can_view_team_usage: z.ZodBoolean;
9558
+ can_view_unallocated_usage: z.ZodBoolean;
9559
+ can_view_workspace_usage: z.ZodBoolean;
8400
9560
  }, z.core.$strip>;
8401
9561
  denied_reason_params: z.ZodOptional<z.ZodObject<{
8402
9562
  can_delete_workspace: z.ZodOptional<z.ZodObject<{
@@ -8622,6 +9782,10 @@ export declare const zBillingCapabilitiesResponse: z.ZodObject<{
8622
9782
  not_workspace_owner: "not_workspace_owner";
8623
9783
  usage_attribution_unavailable: "usage_attribution_unavailable";
8624
9784
  }>>;
9785
+ can_view_workspace_usage: z.ZodOptional<z.ZodEnum<{
9786
+ not_a_member: "not_a_member";
9787
+ not_workspace_owner: "not_workspace_owner";
9788
+ }>>;
8625
9789
  }, z.core.$strip>>;
8626
9790
  ending_notice_starts_at: z.ZodOptional<z.ZodISODateTime>;
8627
9791
  expires_at: z.ZodISODateTime;
@@ -8754,6 +9918,7 @@ export declare const zMember: z.ZodObject<{
8754
9918
  owner: "owner";
8755
9919
  member: "member";
8756
9920
  }>;
9921
+ workspace_admin: z.ZodOptional<z.ZodBoolean>;
8757
9922
  }, z.core.$strip>;
8758
9923
  /**
8759
9924
  * List of members in the current workspace.
@@ -8775,6 +9940,7 @@ export declare const zListMembersResponse: z.ZodObject<{
8775
9940
  owner: "owner";
8776
9941
  member: "member";
8777
9942
  }>;
9943
+ workspace_admin: z.ZodOptional<z.ZodBoolean>;
8778
9944
  }, z.core.$strip>>;
8779
9945
  pagination: z.ZodObject<{
8780
9946
  has_more: z.ZodBoolean;
@@ -8864,6 +10030,7 @@ export declare const zWorkspaceWithRole: z.ZodObject<{
8864
10030
  team: "team";
8865
10031
  personal: "personal";
8866
10032
  }>;
10033
+ workspace_admin: z.ZodOptional<z.ZodBoolean>;
8867
10034
  }, z.core.$strip>;
8868
10035
  /**
8869
10036
  * Paginated list of workspaces the authenticated user belongs to.
@@ -8910,12 +10077,14 @@ export declare const zListWorkspacesResponse: z.ZodObject<{
8910
10077
  team: "team";
8911
10078
  personal: "personal";
8912
10079
  }>;
10080
+ workspace_admin: z.ZodOptional<z.ZodBoolean>;
8913
10081
  }, z.core.$strip>>;
8914
10082
  }, z.core.$strip>;
8915
10083
  /**
8916
10084
  * Represents a user-owned asset (image, video, or other generated output).
8917
10085
  */
8918
10086
  export declare const zAssetWritable: z.ZodObject<{
10087
+ blocked_by_model_policy: z.ZodOptional<z.ZodBoolean>;
8919
10088
  created_at: z.ZodISODateTime;
8920
10089
  display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8921
10090
  file_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -8929,6 +10098,7 @@ export declare const zAssetWritable: z.ZodObject<{
8929
10098
  name: z.ZodString;
8930
10099
  preview_id: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
8931
10100
  preview_url: z.ZodOptional<z.ZodURL>;
10101
+ project_id: z.ZodOptional<z.ZodString>;
8932
10102
  short_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8933
10103
  size: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
8934
10104
  tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -8939,6 +10109,7 @@ export declare const zAssetWritable: z.ZodObject<{
8939
10109
  * Response returned when a new asset is successfully created.
8940
10110
  */
8941
10111
  export declare const zAssetCreatedWritable: z.ZodIntersection<z.ZodObject<{
10112
+ blocked_by_model_policy: z.ZodOptional<z.ZodBoolean>;
8942
10113
  created_at: z.ZodISODateTime;
8943
10114
  display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8944
10115
  file_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -8952,6 +10123,7 @@ export declare const zAssetCreatedWritable: z.ZodIntersection<z.ZodObject<{
8952
10123
  name: z.ZodString;
8953
10124
  preview_id: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
8954
10125
  preview_url: z.ZodOptional<z.ZodURL>;
10126
+ project_id: z.ZodOptional<z.ZodString>;
8955
10127
  short_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8956
10128
  size: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
8957
10129
  tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -8993,6 +10165,7 @@ export declare const zCccHistoryPageWritable: z.ZodObject<{
8993
10165
  */
8994
10166
  export declare const zListAssetsResponseWritable: z.ZodObject<{
8995
10167
  assets: z.ZodArray<z.ZodObject<{
10168
+ blocked_by_model_policy: z.ZodOptional<z.ZodBoolean>;
8996
10169
  created_at: z.ZodISODateTime;
8997
10170
  display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8998
10171
  file_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -9006,6 +10179,7 @@ export declare const zListAssetsResponseWritable: z.ZodObject<{
9006
10179
  name: z.ZodString;
9007
10180
  preview_id: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
9008
10181
  preview_url: z.ZodOptional<z.ZodURL>;
10182
+ project_id: z.ZodOptional<z.ZodString>;
9009
10183
  short_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9010
10184
  size: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
9011
10185
  tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -9016,6 +10190,18 @@ export declare const zListAssetsResponseWritable: z.ZodObject<{
9016
10190
  next_cursor: z.ZodOptional<z.ZodString>;
9017
10191
  total: z.ZodInt;
9018
10192
  }, z.core.$strip>;
10193
+ /**
10194
+ * The blobId the model upload route answered
10195
+ */
10196
+ export declare const zDeploymentModelUploadBlobId: z.ZodString;
10197
+ /**
10198
+ * One of the workspace's deployments (dep-{uuid} format)
10199
+ */
10200
+ export declare const zDeploymentModelsDeploymentId: z.ZodString;
10201
+ /**
10202
+ * Workspace ID (w-{uuid} format)
10203
+ */
10204
+ export declare const zDeploymentModelsWorkspaceId: z.ZodString;
9019
10205
  /**
9020
10206
  * The workspace a media request reads from, where a media tag cannot
9021
10207
  * send `X-Comfy-Workspace-ID`. It applies only while
@@ -9032,6 +10218,34 @@ export declare const zListAssetsResponseWritable: z.ZodObject<{
9032
10218
  *
9033
10219
  */
9034
10220
  export declare const zMediaWorkspaceId: z.ZodString;
10221
+ /**
10222
+ * The project a request acts in. The operations that list it are the
10223
+ * ones that read it: they list workflows, runs or assets, create one,
10224
+ * export assets, clear the caller's queue or History, pick the
10225
+ * deployment a browser runs on, or serve the editor that deployment
10226
+ * (the node, extension and model lists). Absent means
10227
+ * the workspace's default project, which is how existing clients keep
10228
+ * working.
10229
+ *
10230
+ * An operation on one existing workflow, run or asset does not take
10231
+ * it: the row's own project decides. Any other operation that creates
10232
+ * a workflow, run or asset acts in the default project until it lists
10233
+ * this parameter.
10234
+ *
10235
+ * The project must be in the workspace the request resolves to. A
10236
+ * project that does not exist, or that the caller may not view, is 404
10237
+ * `not_found`; the two look the same. Where Projects is not enabled for
10238
+ * the workspace the header is ignored.
10239
+ *
10240
+ * A Cloud JWT that carries a `project_id` claim acts only in that
10241
+ * project. Without the header such a request acts in the claimed
10242
+ * project; a header naming any other project, the default project
10243
+ * included, is 403 `permission_denied`, and so is any such request
10244
+ * where Projects is not enabled for the workspace. The refusal says the
10245
+ * token is bound to another project, not what the caller's role allows.
10246
+ *
10247
+ */
10248
+ export declare const zProjectId: z.ZodString;
9035
10249
  /**
9036
10250
  * JWKS response
9037
10251
  */
@@ -9102,6 +10316,9 @@ export declare const zGetAgentEventsQuery: z.ZodObject<{
9102
10316
  token: z.ZodOptional<z.ZodString>;
9103
10317
  workspace_id: z.ZodOptional<z.ZodString>;
9104
10318
  }, z.core.$strip>;
10319
+ export declare const zAgentGetExecutionsHeaders: z.ZodObject<{
10320
+ 'X-Comfy-Project-ID': z.ZodOptional<z.ZodString>;
10321
+ }, z.core.$strip>;
9105
10322
  export declare const zAgentGetExecutionsQuery: z.ZodObject<{
9106
10323
  thread_id: z.ZodOptional<z.ZodUUID>;
9107
10324
  message_id: z.ZodOptional<z.ZodUUID>;
@@ -9125,6 +10342,41 @@ export declare const zAgentGetExecutionsResponse: z.ZodObject<{
9125
10342
  thread_id: z.ZodOptional<z.ZodString>;
9126
10343
  turn_id: z.ZodOptional<z.ZodString>;
9127
10344
  }, z.core.$strip>;
10345
+ export declare const zAgentGetFeaturesHeaders: z.ZodObject<{
10346
+ 'X-Comfy-Project-ID': z.ZodOptional<z.ZodString>;
10347
+ }, z.core.$strip>;
10348
+ export declare const zAgentGetFeaturesQuery: z.ZodObject<{
10349
+ thread_id: z.ZodOptional<z.ZodUUID>;
10350
+ }, z.core.$strip>;
10351
+ /**
10352
+ * The caller's selections.
10353
+ */
10354
+ export declare const zAgentGetFeaturesResponse: z.ZodObject<{
10355
+ default_selection: z.ZodOptional<z.ZodString>;
10356
+ enabled: z.ZodBoolean;
10357
+ groups: z.ZodOptional<z.ZodArray<z.ZodObject<{
10358
+ id: z.ZodString;
10359
+ label: z.ZodString;
10360
+ }, z.core.$strip>>>;
10361
+ selected: z.ZodOptional<z.ZodObject<{
10362
+ selection: z.ZodString;
10363
+ source: z.ZodOptional<z.ZodString>;
10364
+ }, z.core.$strip>>;
10365
+ selections: z.ZodOptional<z.ZodArray<z.ZodObject<{
10366
+ cost_tier: z.ZodOptional<z.ZodInt>;
10367
+ description: z.ZodOptional<z.ZodString>;
10368
+ group: z.ZodOptional<z.ZodString>;
10369
+ id: z.ZodString;
10370
+ kind: z.ZodOptional<z.ZodString>;
10371
+ label: z.ZodString;
10372
+ model_label: z.ZodOptional<z.ZodString>;
10373
+ send: z.ZodObject<{
10374
+ model_id: z.ZodString;
10375
+ option_id: z.ZodOptional<z.ZodString>;
10376
+ }, z.core.$strip>;
10377
+ show_model: z.ZodOptional<z.ZodBoolean>;
10378
+ }, z.core.$strip>>>;
10379
+ }, z.core.$strip>;
9128
10380
  /**
9129
10381
  * The caller's agent identity.
9130
10382
  */
@@ -9152,6 +10404,18 @@ export declare const zAgentLlmAdmitResponse: z.ZodObject<{
9152
10404
  position: z.ZodOptional<z.ZodInt>;
9153
10405
  reason: z.ZodOptional<z.ZodString>;
9154
10406
  }, z.core.$strip>;
10407
+ /**
10408
+ * Opaque OpenAI Chat Completions request body, passed through to the upstream. Not modeled here — the LLM proxy owns the contract.
10409
+ */
10410
+ export declare const zAgentLlmChatCompletionsBody: z.ZodRecord<z.ZodString, z.ZodUnknown>;
10411
+ /**
10412
+ * The upstream response, streamed back chunk-by-chunk (Server-Sent Events for a streamed request).
10413
+ */
10414
+ export declare const zAgentLlmChatCompletionsResponse: z.ZodString;
10415
+ /**
10416
+ * Opaque features document, passed through from the LLM proxy. Not modeled here — the proxy owns the contract.
10417
+ */
10418
+ export declare const zAgentLlmFeaturesResponse: z.ZodRecord<z.ZodString, z.ZodUnknown>;
9155
10419
  /**
9156
10420
  * Opaque Anthropic Messages request body, passed through to the upstream. Not modeled here — the agent's LLM proxy owns the contract.
9157
10421
  */
@@ -9160,6 +10424,14 @@ export declare const zAgentLlmMessagesBody: z.ZodRecord<z.ZodString, z.ZodUnknow
9160
10424
  * The upstream LLM response, streamed back as Server-Sent Events (text/event-stream) chunk-by-chunk.
9161
10425
  */
9162
10426
  export declare const zAgentLlmMessagesResponse: z.ZodString;
10427
+ /**
10428
+ * Opaque OpenAI Responses request body, passed through to the upstream. Not modeled here — the LLM proxy owns the contract.
10429
+ */
10430
+ export declare const zAgentLlmResponsesBody: z.ZodRecord<z.ZodString, z.ZodUnknown>;
10431
+ /**
10432
+ * The upstream response, streamed back chunk-by-chunk (Server-Sent Events for a streamed request).
10433
+ */
10434
+ export declare const zAgentLlmResponsesResponse: z.ZodString;
9163
10435
  /**
9164
10436
  * An OTLP ExportTraceServiceRequest, optionally gzip-encoded (Content-Encoding gzip); at most 4 MiB encoded and decoded, and 4096 spans.
9165
10437
  */
@@ -9168,6 +10440,16 @@ export declare const zAgentLlmTracesBody: z.ZodString;
9168
10440
  * Accepted; the body is an empty OTLP ExportTraceServiceResponse.
9169
10441
  */
9170
10442
  export declare const zAgentLlmTracesResponse: z.ZodString;
10443
+ export declare const zAgentPutModelPreferenceBody: z.ZodObject<{
10444
+ model_id: z.ZodString;
10445
+ option_id: z.ZodOptional<z.ZodString>;
10446
+ }, z.core.$strip>;
10447
+ /**
10448
+ * The committed selection.
10449
+ */
10450
+ export declare const zAgentPutModelPreferenceResponse: z.ZodObject<{
10451
+ selection: z.ZodString;
10452
+ }, z.core.$strip>;
9171
10453
  /**
9172
10454
  * The caller's run mode (the saved choice, or the default).
9173
10455
  */
@@ -9237,6 +10519,18 @@ export declare const zAgentDeleteSkillPath: z.ZodObject<{
9237
10519
  * The pack was deleted.
9238
10520
  */
9239
10521
  export declare const zAgentDeleteSkillResponse: z.ZodVoid;
10522
+ /**
10523
+ * The skills the agent itself ships.
10524
+ */
10525
+ export declare const zAgentListBuiltinSkillsResponse: z.ZodObject<{
10526
+ skills: z.ZodArray<z.ZodObject<{
10527
+ description: z.ZodString;
10528
+ name: z.ZodString;
10529
+ }, z.core.$strip>>;
10530
+ }, z.core.$strip>;
10531
+ export declare const zAgentListThreadsHeaders: z.ZodObject<{
10532
+ 'X-Comfy-Project-ID': z.ZodOptional<z.ZodString>;
10533
+ }, z.core.$strip>;
9240
10534
  export declare const zAgentListThreadsQuery: z.ZodObject<{
9241
10535
  limit: z.ZodDefault<z.ZodOptional<z.ZodInt>>;
9242
10536
  after: z.ZodOptional<z.ZodString>;
@@ -9271,16 +10565,32 @@ export declare const zAgentListThreadsResponse: z.ZodObject<{
9271
10565
  export declare const zAgentCreateThreadBody: z.ZodObject<{
9272
10566
  workflow_id: z.ZodOptional<z.ZodString>;
9273
10567
  }, z.core.$strip>;
10568
+ export declare const zAgentCreateThreadHeaders: z.ZodObject<{
10569
+ 'X-Comfy-Project-ID': z.ZodOptional<z.ZodString>;
10570
+ }, z.core.$strip>;
9274
10571
  /**
9275
10572
  * Thread created
9276
10573
  */
9277
10574
  export declare const zAgentCreateThreadResponse: z.ZodObject<{
9278
10575
  thread_id: z.ZodString;
9279
10576
  }, z.core.$strip>;
10577
+ export declare const zAgentDeleteThreadHeaders: z.ZodObject<{
10578
+ 'X-Comfy-Project-ID': z.ZodOptional<z.ZodString>;
10579
+ }, z.core.$strip>;
10580
+ export declare const zAgentDeleteThreadPath: z.ZodObject<{
10581
+ id: z.ZodUUID;
10582
+ }, z.core.$strip>;
10583
+ /**
10584
+ * The thread was deleted.
10585
+ */
10586
+ export declare const zAgentDeleteThreadResponse: z.ZodVoid;
9280
10587
  export declare const zAgentAnswerAskBody: z.ZodObject<{
9281
10588
  other_text: z.ZodOptional<z.ZodString>;
9282
10589
  selected: z.ZodArray<z.ZodString>;
9283
10590
  }, z.core.$strip>;
10591
+ export declare const zAgentAnswerAskHeaders: z.ZodObject<{
10592
+ 'X-Comfy-Project-ID': z.ZodOptional<z.ZodString>;
10593
+ }, z.core.$strip>;
9284
10594
  export declare const zAgentAnswerAskPath: z.ZodObject<{
9285
10595
  id: z.ZodString;
9286
10596
  ask_id: z.ZodString;
@@ -9295,6 +10605,9 @@ export declare const zAgentAnswerAskResponse: z.ZodObject<{
9295
10605
  answered: "answered";
9296
10606
  }>;
9297
10607
  }, z.core.$strip>;
10608
+ export declare const zAgentGetMessagesHeaders: z.ZodObject<{
10609
+ 'X-Comfy-Project-ID': z.ZodOptional<z.ZodString>;
10610
+ }, z.core.$strip>;
9298
10611
  export declare const zAgentGetMessagesPath: z.ZodObject<{
9299
10612
  id: z.ZodString;
9300
10613
  }, z.core.$strip>;
@@ -9339,6 +10652,7 @@ export declare const zAgentGetMessagesResponse: z.ZodArray<z.ZodObject<{
9339
10652
  }, z.core.$strip>, z.ZodIntersection<z.ZodObject<{
9340
10653
  allow_other: z.ZodBoolean;
9341
10654
  ask_id: z.ZodString;
10655
+ expires_at: z.ZodOptional<z.ZodISODateTime>;
9342
10656
  kind: z.ZodEnum<{
9343
10657
  ask_user: "ask_user";
9344
10658
  run_approval: "run_approval";
@@ -9363,6 +10677,7 @@ export declare const zAgentGetMessagesResponse: z.ZodArray<z.ZodObject<{
9363
10677
  }, z.core.$strip>, z.ZodIntersection<z.ZodObject<{
9364
10678
  allow_other: z.ZodBoolean;
9365
10679
  ask_id: z.ZodString;
10680
+ expires_at: z.ZodOptional<z.ZodISODateTime>;
9366
10681
  kind: z.ZodEnum<{
9367
10682
  ask_user: "ask_user";
9368
10683
  run_approval: "run_approval";
@@ -9398,6 +10713,7 @@ export declare const zAgentGetMessagesResponse: z.ZodArray<z.ZodObject<{
9398
10713
  }, z.core.$strip>, z.ZodIntersection<z.ZodObject<{
9399
10714
  allow_other: z.ZodBoolean;
9400
10715
  ask_id: z.ZodString;
10716
+ expires_at: z.ZodOptional<z.ZodISODateTime>;
9401
10717
  kind: z.ZodEnum<{
9402
10718
  ask_user: "ask_user";
9403
10719
  run_approval: "run_approval";
@@ -9427,6 +10743,7 @@ export declare const zAgentGetMessagesResponse: z.ZodArray<z.ZodObject<{
9427
10743
  }, z.core.$strip>, z.ZodIntersection<z.ZodObject<{
9428
10744
  allow_other: z.ZodBoolean;
9429
10745
  ask_id: z.ZodString;
10746
+ expires_at: z.ZodOptional<z.ZodISODateTime>;
9430
10747
  kind: z.ZodEnum<{
9431
10748
  ask_user: "ask_user";
9432
10749
  run_approval: "run_approval";
@@ -9483,6 +10800,7 @@ export declare const zAgentPostMessageBody: z.ZodObject<{
9483
10800
  delete_approval: "delete_approval";
9484
10801
  }>>>;
9485
10802
  attachments: z.ZodOptional<z.ZodArray<z.ZodString>>;
10803
+ canvas_selection: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
9486
10804
  client_id: z.ZodOptional<z.ZodString>;
9487
10805
  client_message_id: z.ZodOptional<z.ZodString>;
9488
10806
  client_version: z.ZodOptional<z.ZodString>;
@@ -9507,6 +10825,9 @@ export declare const zAgentPostMessageBody: z.ZodObject<{
9507
10825
  workflow_id: z.ZodString;
9508
10826
  }, z.core.$strip>>>;
9509
10827
  }, z.core.$strip>;
10828
+ export declare const zAgentPostMessageHeaders: z.ZodObject<{
10829
+ 'X-Comfy-Project-ID': z.ZodOptional<z.ZodString>;
10830
+ }, z.core.$strip>;
9510
10831
  export declare const zAgentPostMessagePath: z.ZodObject<{
9511
10832
  id: z.ZodString;
9512
10833
  }, z.core.$strip>;
@@ -9520,7 +10841,6 @@ export declare const zAgentPostMessageResponse: z.ZodObject<{
9520
10841
  v1: "v1";
9521
10842
  }>;
9522
10843
  model_id: z.ZodString;
9523
- profile_revision: z.ZodString;
9524
10844
  requested: z.ZodNullable<z.ZodObject<{
9525
10845
  model_id: z.ZodString;
9526
10846
  option_id: z.ZodOptional<z.ZodString>;
@@ -9535,27 +10855,53 @@ export declare const zAgentPostMessageResponse: z.ZodObject<{
9535
10855
  wire: z.ZodEnum<{
9536
10856
  anthropic_messages: "anthropic_messages";
9537
10857
  openai_chat: "openai_chat";
10858
+ openai_responses: "openai_responses";
9538
10859
  }>;
9539
10860
  }, z.core.$strip>>;
9540
10861
  thread_id: z.ZodString;
9541
10862
  }, z.core.$strip>;
10863
+ export declare const zAgentCancelMessageHeaders: z.ZodObject<{
10864
+ 'X-Comfy-Project-ID': z.ZodOptional<z.ZodString>;
10865
+ }, z.core.$strip>;
9542
10866
  export declare const zAgentCancelMessagePath: z.ZodObject<{
9543
10867
  id: z.ZodString;
9544
10868
  message_id: z.ZodString;
9545
10869
  }, z.core.$strip>;
9546
10870
  /**
9547
- * Cancellation requested; the terminal state arrives over the WebSocket
10871
+ * Cancellation requested; the terminal state arrives over the WebSocket
10872
+ */
10873
+ export declare const zAgentCancelMessageResponse: z.ZodObject<{
10874
+ status: z.ZodEnum<{
10875
+ cancelling: "cancelling";
10876
+ }>;
10877
+ }, z.core.$strip>;
10878
+ export declare const zAgentPutThreadModelSelectionBody: z.ZodObject<{
10879
+ model_id: z.ZodString;
10880
+ option_id: z.ZodOptional<z.ZodString>;
10881
+ }, z.core.$strip>;
10882
+ export declare const zAgentPutThreadModelSelectionHeaders: z.ZodObject<{
10883
+ 'X-Comfy-Project-ID': z.ZodOptional<z.ZodString>;
10884
+ }, z.core.$strip>;
10885
+ export declare const zAgentPutThreadModelSelectionPath: z.ZodObject<{
10886
+ id: z.ZodUUID;
10887
+ }, z.core.$strip>;
10888
+ /**
10889
+ * The committed selection.
9548
10890
  */
9549
- export declare const zAgentCancelMessageResponse: z.ZodObject<{
9550
- status: z.ZodEnum<{
9551
- cancelling: "cancelling";
9552
- }>;
10891
+ export declare const zAgentPutThreadModelSelectionResponse: z.ZodObject<{
10892
+ selection: z.ZodString;
9553
10893
  }, z.core.$strip>;
9554
10894
  /**
9555
10895
  * Message usage for the authenticated user and workspace.
9556
10896
  */
9557
10897
  export declare const zAgentGetUsageStatusResponse: z.ZodObject<{
9558
10898
  has_used_agent: z.ZodBoolean;
10899
+ scope: z.ZodOptional<z.ZodEnum<{
10900
+ local_installation: "local_installation";
10901
+ }>>;
10902
+ }, z.core.$strip>;
10903
+ export declare const zListAssetsHeaders: z.ZodObject<{
10904
+ 'X-Comfy-Project-ID': z.ZodOptional<z.ZodString>;
9559
10905
  }, z.core.$strip>;
9560
10906
  export declare const zListAssetsQuery: z.ZodObject<{
9561
10907
  include_tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -9590,6 +10936,7 @@ export declare const zListAssetsQuery: z.ZodObject<{
9590
10936
  */
9591
10937
  export declare const zListAssetsResponse2: z.ZodObject<{
9592
10938
  assets: z.ZodArray<z.ZodObject<{
10939
+ blocked_by_model_policy: z.ZodOptional<z.ZodBoolean>;
9593
10940
  created_at: z.ZodISODateTime;
9594
10941
  display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9595
10942
  file_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -9604,6 +10951,7 @@ export declare const zListAssetsResponse2: z.ZodObject<{
9604
10951
  name: z.ZodString;
9605
10952
  preview_id: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
9606
10953
  preview_url: z.ZodOptional<z.ZodURL>;
10954
+ project_id: z.ZodOptional<z.ZodString>;
9607
10955
  short_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9608
10956
  size: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
9609
10957
  tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -9624,12 +10972,16 @@ export declare const zCreateAssetBody: z.ZodObject<{
9624
10972
  tags: z.ZodOptional<z.ZodString>;
9625
10973
  user_metadata: z.ZodOptional<z.ZodString>;
9626
10974
  }, z.core.$strip>;
10975
+ export declare const zCreateAssetHeaders: z.ZodObject<{
10976
+ 'X-Comfy-Project-ID': z.ZodOptional<z.ZodString>;
10977
+ }, z.core.$strip>;
9627
10978
  /**
9628
10979
  * Asset already existed for this user (deduplicated by content hash); the
9629
10980
  * existing asset is returned with created_new=false.
9630
10981
  *
9631
10982
  */
9632
10983
  export declare const zCreateAssetResponse: z.ZodIntersection<z.ZodObject<{
10984
+ blocked_by_model_policy: z.ZodOptional<z.ZodBoolean>;
9633
10985
  created_at: z.ZodISODateTime;
9634
10986
  display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9635
10987
  file_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -9644,6 +10996,7 @@ export declare const zCreateAssetResponse: z.ZodIntersection<z.ZodObject<{
9644
10996
  name: z.ZodString;
9645
10997
  preview_id: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
9646
10998
  preview_url: z.ZodOptional<z.ZodURL>;
10999
+ project_id: z.ZodOptional<z.ZodString>;
9647
11000
  short_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9648
11001
  size: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
9649
11002
  tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -9666,6 +11019,7 @@ export declare const zGetAssetByIdPath: z.ZodObject<{
9666
11019
  * Asset details retrieved successfully
9667
11020
  */
9668
11021
  export declare const zGetAssetByIdResponse: z.ZodObject<{
11022
+ blocked_by_model_policy: z.ZodOptional<z.ZodBoolean>;
9669
11023
  created_at: z.ZodISODateTime;
9670
11024
  display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9671
11025
  file_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -9680,6 +11034,7 @@ export declare const zGetAssetByIdResponse: z.ZodObject<{
9680
11034
  name: z.ZodString;
9681
11035
  preview_id: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
9682
11036
  preview_url: z.ZodOptional<z.ZodURL>;
11037
+ project_id: z.ZodOptional<z.ZodString>;
9683
11038
  short_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9684
11039
  size: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
9685
11040
  tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -9764,6 +11119,7 @@ export declare const zCreateAssetDownloadBody: z.ZodObject<{
9764
11119
  user_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
9765
11120
  }, z.core.$strip>;
9766
11121
  export declare const zCreateAssetDownloadResponse: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
11122
+ blocked_by_model_policy: z.ZodOptional<z.ZodBoolean>;
9767
11123
  created_at: z.ZodISODateTime;
9768
11124
  display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9769
11125
  file_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -9778,6 +11134,7 @@ export declare const zCreateAssetDownloadResponse: z.ZodUnion<readonly [z.ZodInt
9778
11134
  name: z.ZodString;
9779
11135
  preview_id: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
9780
11136
  preview_url: z.ZodOptional<z.ZodURL>;
11137
+ project_id: z.ZodOptional<z.ZodString>;
9781
11138
  short_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9782
11139
  size: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
9783
11140
  tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -9808,6 +11165,9 @@ export declare const zCreateAssetExportBody: z.ZodObject<{
9808
11165
  group_by_job_time: "group_by_job_time";
9809
11166
  }>>>;
9810
11167
  }, z.core.$strip>;
11168
+ export declare const zCreateAssetExportHeaders: z.ZodObject<{
11169
+ 'X-Comfy-Project-ID': z.ZodOptional<z.ZodString>;
11170
+ }, z.core.$strip>;
9811
11171
  /**
9812
11172
  * Accepted - Export task created and processing in background
9813
11173
  */
@@ -9839,12 +11199,16 @@ export declare const zCreateAssetFromHashBody: z.ZodObject<{
9839
11199
  tags: z.ZodArray<z.ZodString>;
9840
11200
  user_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
9841
11201
  }, z.core.$strip>;
11202
+ export declare const zCreateAssetFromHashHeaders: z.ZodObject<{
11203
+ 'X-Comfy-Project-ID': z.ZodOptional<z.ZodString>;
11204
+ }, z.core.$strip>;
9842
11205
  /**
9843
11206
  * Asset reference already existed for this user (deduplicated by content
9844
11207
  * hash); the existing asset is returned with created_new=false.
9845
11208
  *
9846
11209
  */
9847
11210
  export declare const zCreateAssetFromHashResponse: z.ZodIntersection<z.ZodObject<{
11211
+ blocked_by_model_policy: z.ZodOptional<z.ZodBoolean>;
9848
11212
  created_at: z.ZodISODateTime;
9849
11213
  display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9850
11214
  file_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -9859,6 +11223,7 @@ export declare const zCreateAssetFromHashResponse: z.ZodIntersection<z.ZodObject
9859
11223
  name: z.ZodString;
9860
11224
  preview_id: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
9861
11225
  preview_url: z.ZodOptional<z.ZodURL>;
11226
+ project_id: z.ZodOptional<z.ZodString>;
9862
11227
  short_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9863
11228
  size: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
9864
11229
  tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -10110,8 +11475,19 @@ export declare const zRedeemDesktopLoginCodeResponse: z.ZodObject<{
10110
11475
  redeemed: "redeemed";
10111
11476
  }>;
10112
11477
  }, z.core.$strip>;
11478
+ /**
11479
+ * Custom token minted
11480
+ */
11481
+ export declare const zCreateDesktopWebSessionResponse: z.ZodObject<{
11482
+ custom_token: z.ZodString;
11483
+ }, z.core.$strip>;
10113
11484
  export declare const zCreateBillingHandoffBody: z.ZodObject<{
10114
11485
  amount_cents: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
11486
+ auto_top_up: z.ZodOptional<z.ZodObject<{
11487
+ monthly_budget_cents: z.ZodOptional<z.ZodNullable<z.ZodCoercedBigInt<unknown>>>;
11488
+ target_credits: z.ZodCoercedBigInt<unknown>;
11489
+ threshold_credits: z.ZodCoercedBigInt<unknown>;
11490
+ }, z.core.$strip>>;
10115
11491
  client_version: z.ZodString;
10116
11492
  intent: z.ZodOptional<z.ZodEnum<{
10117
11493
  "top-up": "top-up";
@@ -10411,6 +11787,7 @@ export declare const zGetBillingBalanceResponse: z.ZodObject<{
10411
11787
  pending_charges_micros: z.ZodOptional<z.ZodNumber>;
10412
11788
  prepaid_balance_cents: z.ZodOptional<z.ZodNumber>;
10413
11789
  prepaid_balance_micros: z.ZodOptional<z.ZodNumber>;
11790
+ scoped_balance_cents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
10414
11791
  suggested_topup_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodCoercedBigInt<unknown>>>;
10415
11792
  }, z.core.$strip>;
10416
11793
  /**
@@ -10422,10 +11799,16 @@ export declare const zListBillingBudgetsResponse: z.ZodObject<{
10422
11799
  alert_percents: z.ZodArray<z.ZodInt>;
10423
11800
  alerts: z.ZodArray<z.ZodObject<{
10424
11801
  percent: z.ZodInt;
10425
- sent_at: z.ZodISODateTime;
10426
- status: z.ZodString;
11802
+ sent_at: z.ZodNullable<z.ZodISODateTime>;
11803
+ status: z.ZodEnum<{
11804
+ failed: "failed";
11805
+ sent: "sent";
11806
+ skipped: "skipped";
11807
+ }>;
10427
11808
  }, z.core.$strip>>;
11809
+ alerts_available: z.ZodBoolean;
10428
11810
  created_by: z.ZodString;
11811
+ crossed_alert_percent: z.ZodNullable<z.ZodInt>;
10429
11812
  ends_at: z.ZodNullable<z.ZodISODateTime>;
10430
11813
  id: z.ZodString;
10431
11814
  limit_credits: z.ZodCoercedBigInt<unknown>;
@@ -10434,6 +11817,7 @@ export declare const zListBillingBudgetsResponse: z.ZodObject<{
10434
11817
  hard: "hard";
10435
11818
  soft: "soft";
10436
11819
  }>;
11820
+ owner_email: z.ZodNullable<z.ZodString>;
10437
11821
  percent_used: z.ZodCoercedBigInt<unknown>;
10438
11822
  repeat: z.ZodEnum<{
10439
11823
  current_period: "current_period";
@@ -10453,6 +11837,10 @@ export declare const zListBillingBudgetsResponse: z.ZodObject<{
10453
11837
  spent_micro_usd: z.ZodCoercedBigInt<unknown>;
10454
11838
  updated_by: z.ZodString;
10455
11839
  }, z.core.$strip>>;
11840
+ viewer: z.ZodOptional<z.ZodEnum<{
11841
+ owner: "owner";
11842
+ member: "member";
11843
+ }>>;
10456
11844
  }, z.core.$strip>;
10457
11845
  export declare const zCreateBillingBudgetBody: z.ZodObject<{
10458
11846
  alert_percents: z.ZodOptional<z.ZodArray<z.ZodInt>>;
@@ -10485,10 +11873,16 @@ export declare const zCreateBillingBudgetResponse: z.ZodObject<{
10485
11873
  alert_percents: z.ZodArray<z.ZodInt>;
10486
11874
  alerts: z.ZodArray<z.ZodObject<{
10487
11875
  percent: z.ZodInt;
10488
- sent_at: z.ZodISODateTime;
10489
- status: z.ZodString;
11876
+ sent_at: z.ZodNullable<z.ZodISODateTime>;
11877
+ status: z.ZodEnum<{
11878
+ failed: "failed";
11879
+ sent: "sent";
11880
+ skipped: "skipped";
11881
+ }>;
10490
11882
  }, z.core.$strip>>;
11883
+ alerts_available: z.ZodBoolean;
10491
11884
  created_by: z.ZodString;
11885
+ crossed_alert_percent: z.ZodNullable<z.ZodInt>;
10492
11886
  ends_at: z.ZodNullable<z.ZodISODateTime>;
10493
11887
  id: z.ZodString;
10494
11888
  limit_credits: z.ZodCoercedBigInt<unknown>;
@@ -10497,6 +11891,7 @@ export declare const zCreateBillingBudgetResponse: z.ZodObject<{
10497
11891
  hard: "hard";
10498
11892
  soft: "soft";
10499
11893
  }>;
11894
+ owner_email: z.ZodNullable<z.ZodString>;
10500
11895
  percent_used: z.ZodCoercedBigInt<unknown>;
10501
11896
  repeat: z.ZodEnum<{
10502
11897
  current_period: "current_period";
@@ -10551,10 +11946,16 @@ export declare const zUpdateBillingBudgetResponse: z.ZodObject<{
10551
11946
  alert_percents: z.ZodArray<z.ZodInt>;
10552
11947
  alerts: z.ZodArray<z.ZodObject<{
10553
11948
  percent: z.ZodInt;
10554
- sent_at: z.ZodISODateTime;
10555
- status: z.ZodString;
11949
+ sent_at: z.ZodNullable<z.ZodISODateTime>;
11950
+ status: z.ZodEnum<{
11951
+ failed: "failed";
11952
+ sent: "sent";
11953
+ skipped: "skipped";
11954
+ }>;
10556
11955
  }, z.core.$strip>>;
11956
+ alerts_available: z.ZodBoolean;
10557
11957
  created_by: z.ZodString;
11958
+ crossed_alert_percent: z.ZodNullable<z.ZodInt>;
10558
11959
  ends_at: z.ZodNullable<z.ZodISODateTime>;
10559
11960
  id: z.ZodString;
10560
11961
  limit_credits: z.ZodCoercedBigInt<unknown>;
@@ -10563,6 +11964,7 @@ export declare const zUpdateBillingBudgetResponse: z.ZodObject<{
10563
11964
  hard: "hard";
10564
11965
  soft: "soft";
10565
11966
  }>;
11967
+ owner_email: z.ZodNullable<z.ZodString>;
10566
11968
  percent_used: z.ZodCoercedBigInt<unknown>;
10567
11969
  repeat: z.ZodEnum<{
10568
11970
  current_period: "current_period";
@@ -10603,10 +12005,37 @@ export declare const zGetBillingBudgetHistoryResponse: z.ZodObject<{
10603
12005
  changed_at: z.ZodISODateTime;
10604
12006
  }, z.core.$strip>>;
10605
12007
  }, z.core.$strip>;
12008
+ export declare const zResumeHeldBudgetJobsBody: z.ZodObject<{
12009
+ cursor: z.ZodOptional<z.ZodString>;
12010
+ job_ids: z.ZodOptional<z.ZodArray<z.ZodUUID>>;
12011
+ }, z.core.$strip>;
12012
+ /**
12013
+ * What happened to each selected job.
12014
+ */
12015
+ export declare const zResumeHeldBudgetJobsResponse: z.ZodObject<{
12016
+ more_held: z.ZodBoolean;
12017
+ next_cursor: z.ZodOptional<z.ZodString>;
12018
+ not_resumed: z.ZodArray<z.ZodObject<{
12019
+ budget: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
12020
+ denied_reason: z.ZodOptional<z.ZodString>;
12021
+ job_id: z.ZodUUID;
12022
+ reason: z.ZodEnum<{
12023
+ budget_exceeded: "budget_exceeded";
12024
+ failed: "failed";
12025
+ not_found: "not_found";
12026
+ not_held: "not_held";
12027
+ budget_check_unavailable: "budget_check_unavailable";
12028
+ spend_denied: "spend_denied";
12029
+ no_free_slot: "no_free_slot";
12030
+ }>;
12031
+ }, z.core.$strip>>;
12032
+ resumed: z.ZodArray<z.ZodUUID>;
12033
+ }, z.core.$strip>;
10606
12034
  /**
10607
12035
  * Effective billing capabilities
10608
12036
  */
10609
12037
  export declare const zGetBillingCapabilitiesResponse: z.ZodObject<{
12038
+ billing_web_topup_hosted_methods: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
10610
12039
  auto_top_up_enabled: z.ZodBoolean;
10611
12040
  auto_top_up_member_view: z.ZodOptional<z.ZodObject<{
10612
12041
  cycle_resets_at: z.ZodNullable<z.ZodISODateTime>;
@@ -10686,6 +12115,8 @@ export declare const zGetBillingCapabilitiesResponse: z.ZodObject<{
10686
12115
  can_view_own_usage: z.ZodOptional<z.ZodBoolean>;
10687
12116
  can_view_pending_invites: z.ZodBoolean;
10688
12117
  can_view_team_usage: z.ZodBoolean;
12118
+ can_view_unallocated_usage: z.ZodBoolean;
12119
+ can_view_workspace_usage: z.ZodBoolean;
10689
12120
  }, z.core.$strip>;
10690
12121
  denied_reason_params: z.ZodOptional<z.ZodObject<{
10691
12122
  can_delete_workspace: z.ZodOptional<z.ZodObject<{
@@ -10911,6 +12342,10 @@ export declare const zGetBillingCapabilitiesResponse: z.ZodObject<{
10911
12342
  not_workspace_owner: "not_workspace_owner";
10912
12343
  usage_attribution_unavailable: "usage_attribution_unavailable";
10913
12344
  }>>;
12345
+ can_view_workspace_usage: z.ZodOptional<z.ZodEnum<{
12346
+ not_a_member: "not_a_member";
12347
+ not_workspace_owner: "not_workspace_owner";
12348
+ }>>;
10914
12349
  }, z.core.$strip>>;
10915
12350
  ending_notice_starts_at: z.ZodOptional<z.ZodISODateTime>;
10916
12351
  expires_at: z.ZodISODateTime;
@@ -11126,6 +12561,7 @@ export declare const zGetBillingOpStatusResponse: z.ZodObject<{
11126
12561
  completed_at: z.ZodOptional<z.ZodISODateTime>;
11127
12562
  credits_added: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
11128
12563
  decline_reason: z.ZodOptional<z.ZodEnum<{
12564
+ generic: "generic";
11129
12565
  card_declined: "card_declined";
11130
12566
  insufficient_funds: "insufficient_funds";
11131
12567
  expired_card: "expired_card";
@@ -11134,7 +12570,6 @@ export declare const zGetBillingOpStatusResponse: z.ZodObject<{
11134
12570
  authentication_failed: "authentication_failed";
11135
12571
  processing_error: "processing_error";
11136
12572
  payment_not_completed: "payment_not_completed";
11137
- generic: "generic";
11138
12573
  }>>;
11139
12574
  error_message: z.ZodOptional<z.ZodString>;
11140
12575
  id: z.ZodString;
@@ -11528,6 +12963,17 @@ export declare const zPreviewSubscribeResponse2: z.ZodObject<{
11528
12963
  duration_change: "duration_change";
11529
12964
  }>;
11530
12965
  }, z.core.$strip>;
12966
+ /**
12967
+ * The promotion running right now, or null
12968
+ */
12969
+ export declare const zGetBillingPromotionResponse: z.ZodObject<{
12970
+ promotion: z.ZodNullable<z.ZodObject<{
12971
+ auto_apply: z.ZodBoolean;
12972
+ ends_at: z.ZodNullable<z.ZodISODateTime>;
12973
+ percent_off: z.ZodNullable<z.ZodNumber>;
12974
+ promotion_code: z.ZodString;
12975
+ }, z.core.$strip>>;
12976
+ }, z.core.$strip>;
11531
12977
  export declare const zAcceptRetentionOfferBody: z.ZodObject<{
11532
12978
  session_id: z.ZodUUID;
11533
12979
  }, z.core.$strip>;
@@ -11850,6 +13296,7 @@ export declare const zCreateInteractiveTopupBody: z.ZodObject<{
11850
13296
  confirmation_token: z.ZodOptional<z.ZodString>;
11851
13297
  idempotency_key: z.ZodString;
11852
13298
  make_default: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
13299
+ purchase_id: z.ZodOptional<z.ZodString>;
11853
13300
  return_url: z.ZodOptional<z.ZodString>;
11854
13301
  save_payment_method: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
11855
13302
  saved_payment_method_id: z.ZodOptional<z.ZodString>;
@@ -11867,6 +13314,63 @@ export declare const zCreateInteractiveTopupResponse: z.ZodObject<{
11867
13314
  }>;
11868
13315
  topup_id: z.ZodString;
11869
13316
  }, z.core.$strip>;
13317
+ export declare const zCreateTopupPurchaseBody: z.ZodObject<{
13318
+ amount_cents: z.ZodCoercedBigInt<unknown>;
13319
+ auto_top_up: z.ZodOptional<z.ZodObject<{
13320
+ monthly_budget_cents: z.ZodOptional<z.ZodNullable<z.ZodCoercedBigInt<unknown>>>;
13321
+ target_credits: z.ZodCoercedBigInt<unknown>;
13322
+ threshold_credits: z.ZodCoercedBigInt<unknown>;
13323
+ }, z.core.$strip>>;
13324
+ }, z.core.$strip>;
13325
+ /**
13326
+ * Purchase opened; Cache-Control no-store.
13327
+ */
13328
+ export declare const zCreateTopupPurchaseResponse: z.ZodObject<{
13329
+ amount_cents: z.ZodCoercedBigInt<unknown>;
13330
+ auto_top_up: z.ZodOptional<z.ZodObject<{
13331
+ monthly_budget_cents: z.ZodOptional<z.ZodNullable<z.ZodCoercedBigInt<unknown>>>;
13332
+ target_credits: z.ZodCoercedBigInt<unknown>;
13333
+ threshold_credits: z.ZodCoercedBigInt<unknown>;
13334
+ }, z.core.$strip>>;
13335
+ billing_op_id: z.ZodOptional<z.ZodString>;
13336
+ billing_op_status: z.ZodOptional<z.ZodString>;
13337
+ expires_at: z.ZodISODateTime;
13338
+ purchase_id: z.ZodString;
13339
+ status: z.ZodEnum<{
13340
+ expired: "expired";
13341
+ reconciliation_needed: "reconciliation_needed";
13342
+ processing: "processing";
13343
+ paid: "paid";
13344
+ open: "open";
13345
+ superseded: "superseded";
13346
+ }>;
13347
+ }, z.core.$strip>;
13348
+ export declare const zGetTopupPurchasePath: z.ZodObject<{
13349
+ id: z.ZodString;
13350
+ }, z.core.$strip>;
13351
+ /**
13352
+ * Current purchase facts; Cache-Control no-store.
13353
+ */
13354
+ export declare const zGetTopupPurchaseResponse: z.ZodObject<{
13355
+ amount_cents: z.ZodCoercedBigInt<unknown>;
13356
+ auto_top_up: z.ZodOptional<z.ZodObject<{
13357
+ monthly_budget_cents: z.ZodOptional<z.ZodNullable<z.ZodCoercedBigInt<unknown>>>;
13358
+ target_credits: z.ZodCoercedBigInt<unknown>;
13359
+ threshold_credits: z.ZodCoercedBigInt<unknown>;
13360
+ }, z.core.$strip>>;
13361
+ billing_op_id: z.ZodOptional<z.ZodString>;
13362
+ billing_op_status: z.ZodOptional<z.ZodString>;
13363
+ expires_at: z.ZodISODateTime;
13364
+ purchase_id: z.ZodString;
13365
+ status: z.ZodEnum<{
13366
+ expired: "expired";
13367
+ reconciliation_needed: "reconciliation_needed";
13368
+ processing: "processing";
13369
+ paid: "paid";
13370
+ open: "open";
13371
+ superseded: "superseded";
13372
+ }>;
13373
+ }, z.core.$strip>;
11870
13374
  export declare const zCreateTopupQuoteBody: z.ZodObject<{
11871
13375
  amount_cents: z.ZodCoercedBigInt<unknown>;
11872
13376
  }, z.core.$strip>;
@@ -11875,23 +13379,26 @@ export declare const zCreateTopupQuoteBody: z.ZodObject<{
11875
13379
  */
11876
13380
  export declare const zCreateTopupQuoteResponse: z.ZodObject<{
11877
13381
  amount_cents: z.ZodCoercedBigInt<unknown>;
13382
+ balance_after_credits: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
11878
13383
  credits: z.ZodCoercedBigInt<unknown>;
11879
13384
  expires_at: z.ZodISODateTime;
11880
13385
  payment_method_configuration_id: z.ZodOptional<z.ZodString>;
13386
+ runs_paused_after: z.ZodOptional<z.ZodBoolean>;
11881
13387
  }, z.core.$strip>;
11882
13388
  export declare const zGetBillingUsageTimeSeriesQuery: z.ZodObject<{
11883
13389
  group_by: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
13390
+ source: "source";
11884
13391
  model: "model";
11885
13392
  endpoint: "endpoint";
11886
13393
  product: "product";
11887
13394
  product_line: "product_line";
11888
13395
  person: "person";
11889
- source: "source";
11890
13396
  }>>>;
11891
13397
  filter_product_line: z.ZodOptional<z.ZodString>;
11892
13398
  filter_model: z.ZodOptional<z.ZodString>;
11893
13399
  filter_person: z.ZodOptional<z.ZodString>;
11894
13400
  filter_source: z.ZodOptional<z.ZodString>;
13401
+ project: z.ZodOptional<z.ZodString>;
11895
13402
  granularity: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
11896
13403
  hour: "hour";
11897
13404
  day: "day";
@@ -11916,6 +13423,7 @@ export declare const zGetBillingUsageTimeSeriesResponse: z.ZodObject<{
11916
13423
  buckets: z.ZodArray<z.ZodObject<{
11917
13424
  cost_micros: z.ZodNumber;
11918
13425
  group_key: z.ZodString;
13426
+ pending: z.ZodOptional<z.ZodBoolean>;
11919
13427
  period_end: z.ZodISODateTime;
11920
13428
  period_start: z.ZodISODateTime;
11921
13429
  }, z.core.$strip>>;
@@ -11926,12 +13434,12 @@ export declare const zGetBillingUsageTimeSeriesResponse: z.ZodObject<{
11926
13434
  month: "month";
11927
13435
  }>;
11928
13436
  group_by: z.ZodEnum<{
13437
+ source: "source";
11929
13438
  model: "model";
11930
13439
  endpoint: "endpoint";
11931
13440
  product: "product";
11932
13441
  product_line: "product_line";
11933
13442
  person: "person";
11934
- source: "source";
11935
13443
  }>;
11936
13444
  group_labels: z.ZodOptional<z.ZodArray<z.ZodObject<{
11937
13445
  cost_kind: z.ZodOptional<z.ZodEnum<{
@@ -11963,6 +13471,8 @@ export declare const zGetBillingUsageTimeSeriesResponse: z.ZodObject<{
11963
13471
  reason: z.ZodEnum<{
11964
13472
  no_attribution_source: "no_attribution_source";
11965
13473
  filter_needs_ledger: "filter_needs_ledger";
13474
+ too_many_deployments: "too_many_deployments";
13475
+ deployments_unavailable: "deployments_unavailable";
11966
13476
  }>;
11967
13477
  }, z.core.$strip>>;
11968
13478
  served_from: z.ZodOptional<z.ZodEnum<{
@@ -12033,6 +13543,9 @@ export declare const zGetDeploySummaryResponse: z.ZodObject<{
12033
13543
  * Embedding names
12034
13544
  */
12035
13545
  export declare const zGetEmbeddingsResponse: z.ZodArray<z.ZodString>;
13546
+ export declare const zGetModelFoldersHeaders: z.ZodObject<{
13547
+ 'X-Comfy-Project-ID': z.ZodOptional<z.ZodString>;
13548
+ }, z.core.$strip>;
12036
13549
  /**
12037
13550
  * Success - List of model folders
12038
13551
  */
@@ -12040,6 +13553,9 @@ export declare const zGetModelFoldersResponse: z.ZodArray<z.ZodObject<{
12040
13553
  folders: z.ZodArray<z.ZodString>;
12041
13554
  name: z.ZodString;
12042
13555
  }, z.core.$strip>>;
13556
+ export declare const zGetModelsInFolderHeaders: z.ZodObject<{
13557
+ 'X-Comfy-Project-ID': z.ZodOptional<z.ZodString>;
13558
+ }, z.core.$strip>;
12043
13559
  export declare const zGetModelsInFolderPath: z.ZodObject<{
12044
13560
  folder: z.ZodString;
12045
13561
  }, z.core.$strip>;
@@ -12058,6 +13574,9 @@ export declare const zGetModelPreviewPath: z.ZodObject<{
12058
13574
  export declare const zGetNodeByIdPath: z.ZodObject<{
12059
13575
  id: z.ZodString;
12060
13576
  }, z.core.$strip>;
13577
+ export declare const zGetExtensionsHeaders: z.ZodObject<{
13578
+ 'X-Comfy-Project-ID': z.ZodOptional<z.ZodString>;
13579
+ }, z.core.$strip>;
12061
13580
  /**
12062
13581
  * URL paths (relative to web root) of available extension JS files
12063
13582
  */
@@ -12071,10 +13590,10 @@ export declare const zGetFeaturesResponse: z.ZodObject<{
12071
13590
  ready: "ready";
12072
13591
  }>;
12073
13592
  }, z.core.$strip>>;
12074
- 'agent-credit-usage-summary': z.ZodDefault<z.ZodOptional<z.ZodEnum<{
13593
+ 'agent-credit-usage-summary': z.ZodOptional<z.ZodEnum<{
12075
13594
  control: "control";
12076
13595
  treatment: "treatment";
12077
- }>>>;
13596
+ }>>;
12078
13597
  'agent-free-use-message-placement': z.ZodDefault<z.ZodOptional<z.ZodEnum<{
12079
13598
  control: "control";
12080
13599
  "top-banner": "top-banner";
@@ -12082,14 +13601,21 @@ export declare const zGetFeaturesResponse: z.ZodObject<{
12082
13601
  "above-input": "above-input";
12083
13602
  "inside-input": "inside-input";
12084
13603
  }>>>;
12085
- 'agent-starter-prompt-set': z.ZodDefault<z.ZodOptional<z.ZodEnum<{
12086
- test: "test";
12087
- control: "control";
12088
- }>>>;
12089
13604
  agent_gratis_local_arm: z.ZodOptional<z.ZodEnum<{
12090
13605
  control: "control";
12091
13606
  treatment: "treatment";
12092
13607
  }>>;
13608
+ agent_proactive_greeting_assignment: z.ZodOptional<z.ZodObject<{
13609
+ group_key: z.ZodString;
13610
+ user_id: z.ZodString;
13611
+ variant: z.ZodEnum<{
13612
+ control: "control";
13613
+ generic: "generic";
13614
+ "canvas-prefill": "canvas-prefill";
13615
+ "canvas-only": "canvas-only";
13616
+ }>;
13617
+ workspace_id: z.ZodString;
13618
+ }, z.core.$strip>>;
12093
13619
  billing_web_url: z.ZodOptional<z.ZodString>;
12094
13620
  can_run_partner_nodes: z.ZodOptional<z.ZodBoolean>;
12095
13621
  deploy_to_cloud: z.ZodOptional<z.ZodBoolean>;
@@ -12106,8 +13632,14 @@ export declare const zGetFeaturesResponse: z.ZodObject<{
12106
13632
  model_upload_folders: z.ZodOptional<z.ZodArray<z.ZodString>>;
12107
13633
  new_free_tier_subscriptions: z.ZodOptional<z.ZodBoolean>;
12108
13634
  open_on_cloud_enabled: z.ZodOptional<z.ZodBoolean>;
13635
+ open_on_cloud_model_upload_enabled: z.ZodOptional<z.ZodBoolean>;
12109
13636
  open_on_cloud_use_local_agent_enabled: z.ZodOptional<z.ZodBoolean>;
12110
13637
  private_workflow_links_enabled: z.ZodOptional<z.ZodBoolean>;
13638
+ 'prompt-editor-surface': z.ZodOptional<z.ZodEnum<{
13639
+ control: "control";
13640
+ panel: "panel";
13641
+ }>>;
13642
+ server_boot_id: z.ZodOptional<z.ZodString>;
12111
13643
  sso_enabled: z.ZodOptional<z.ZodBoolean>;
12112
13644
  stripe_publishable_key: z.ZodOptional<z.ZodString>;
12113
13645
  supports_preview_metadata: z.ZodOptional<z.ZodBoolean>;
@@ -12214,6 +13746,9 @@ export declare const zManageHistoryBody: z.ZodObject<{
12214
13746
  clear: z.ZodOptional<z.ZodBoolean>;
12215
13747
  delete: z.ZodOptional<z.ZodArray<z.ZodString>>;
12216
13748
  }, z.core.$strip>;
13749
+ export declare const zManageHistoryHeaders: z.ZodObject<{
13750
+ 'X-Comfy-Project-ID': z.ZodOptional<z.ZodString>;
13751
+ }, z.core.$strip>;
12217
13752
  export declare const zGetLegacyHistoryByIdPath: z.ZodObject<{
12218
13753
  prompt_id: z.ZodString;
12219
13754
  }, z.core.$strip>;
@@ -12685,6 +14220,9 @@ export declare const zCreateInputUploadUrlResponse: z.ZodObject<{
12685
14220
  expires_in: z.ZodInt;
12686
14221
  upload_path: z.ZodString;
12687
14222
  }, z.core.$strip>;
14223
+ export declare const zInterruptJobHeaders: z.ZodObject<{
14224
+ 'X-Comfy-Project-ID': z.ZodOptional<z.ZodString>;
14225
+ }, z.core.$strip>;
12688
14226
  export declare const zAcceptWorkspaceInvitePath: z.ZodObject<{
12689
14227
  token: z.ZodString;
12690
14228
  }, z.core.$strip>;
@@ -12716,13 +14254,33 @@ export declare const zGetJobStatusResponse: z.ZodObject<{
12716
14254
  status: z.ZodEnum<{
12717
14255
  cancelled: "cancelled";
12718
14256
  error: "error";
14257
+ success: "success";
12719
14258
  completed: "completed";
12720
14259
  pending: "pending";
14260
+ cancel_requested: "cancel_requested";
12721
14261
  in_progress: "in_progress";
14262
+ held_budget: "held_budget";
14263
+ submitted: "submitted";
14264
+ preprocessing: "preprocessing";
14265
+ queued_limited: "queued_limited";
14266
+ queued_waiting: "queued_waiting";
14267
+ allocated: "allocated";
14268
+ preparing: "preparing";
14269
+ pending_execution: "pending_execution";
14270
+ executing: "executing";
14271
+ executed: "executed";
14272
+ cancel_pending: "cancel_pending";
14273
+ erroring: "erroring";
14274
+ cancelling_preparing: "cancelling_preparing";
14275
+ non_retryable_error: "non_retryable_error";
14276
+ lost: "lost";
12722
14277
  waiting_to_dispatch: "waiting_to_dispatch";
12723
14278
  }>;
12724
14279
  updated_at: z.ZodISODateTime;
12725
14280
  }, z.core.$strip>;
14281
+ export declare const zListJobsHeaders: z.ZodObject<{
14282
+ 'X-Comfy-Project-ID': z.ZodOptional<z.ZodString>;
14283
+ }, z.core.$strip>;
12726
14284
  export declare const zListJobsQuery: z.ZodObject<{
12727
14285
  status: z.ZodOptional<z.ZodString>;
12728
14286
  workflow_id: z.ZodOptional<z.ZodString>;
@@ -12750,6 +14308,22 @@ export declare const zListJobsQuery: z.ZodObject<{
12750
14308
  */
12751
14309
  export declare const zListJobsResponse: z.ZodObject<{
12752
14310
  jobs: z.ZodArray<z.ZodObject<{
14311
+ budget_hold: z.ZodOptional<z.ZodObject<{
14312
+ budget: z.ZodOptional<z.ZodObject<{
14313
+ id: z.ZodOptional<z.ZodString>;
14314
+ limit_credits: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
14315
+ limit_micro_usd: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
14316
+ mode: z.ZodOptional<z.ZodString>;
14317
+ resets_at: z.ZodISODateTime;
14318
+ scope_id: z.ZodOptional<z.ZodString>;
14319
+ scope_kind: z.ZodString;
14320
+ set_by: z.ZodString;
14321
+ spent_credits: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
14322
+ spent_micro_usd: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
14323
+ }, z.core.$strip>>;
14324
+ can_resume: z.ZodBoolean;
14325
+ reason: z.ZodString;
14326
+ }, z.core.$strip>>;
12753
14327
  create_time: z.ZodCoercedBigInt<unknown>;
12754
14328
  deployment: z.ZodOptional<z.ZodObject<{
12755
14329
  build_name: z.ZodOptional<z.ZodString>;
@@ -12760,10 +14334,25 @@ export declare const zListJobsResponse: z.ZodObject<{
12760
14334
  }, z.core.$strip>>;
12761
14335
  execution_end_time: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
12762
14336
  execution_error: z.ZodOptional<z.ZodObject<{
14337
+ catalog_id: z.ZodOptional<z.ZodString>;
12763
14338
  current_inputs: z.ZodRecord<z.ZodString, z.ZodUnknown>;
12764
14339
  current_outputs: z.ZodRecord<z.ZodString, z.ZodUnknown>;
12765
14340
  exception_message: z.ZodString;
12766
14341
  exception_type: z.ZodString;
14342
+ node_errors: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
14343
+ class_type: z.ZodString;
14344
+ dependent_outputs: z.ZodArray<z.ZodString>;
14345
+ errors: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
14346
+ details: z.ZodOptional<z.ZodString>;
14347
+ extra_info: z.ZodOptional<z.ZodObject<{
14348
+ input_name: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
14349
+ received_type: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
14350
+ received_value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
14351
+ }, z.core.$strip>>;
14352
+ message: z.ZodOptional<z.ZodString>;
14353
+ type: z.ZodOptional<z.ZodString>;
14354
+ }, z.core.$strip>]>>;
14355
+ }, z.core.$strip>>>;
12767
14356
  node_id: z.ZodString;
12768
14357
  node_type: z.ZodString;
12769
14358
  traceback: z.ZodArray<z.ZodString>;
@@ -12777,12 +14366,14 @@ export declare const zListJobsResponse: z.ZodObject<{
12777
14366
  outputs_count: z.ZodOptional<z.ZodInt>;
12778
14367
  preview_output: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
12779
14368
  previewable_outputs_count: z.ZodOptional<z.ZodInt>;
14369
+ project_id: z.ZodOptional<z.ZodString>;
12780
14370
  status: z.ZodEnum<{
12781
14371
  cancelled: "cancelled";
12782
14372
  completed: "completed";
12783
14373
  failed: "failed";
12784
14374
  pending: "pending";
12785
14375
  in_progress: "in_progress";
14376
+ held_budget: "held_budget";
12786
14377
  }>;
12787
14378
  workflow_id: z.ZodOptional<z.ZodString>;
12788
14379
  }, z.core.$strip>>;
@@ -12814,6 +14405,22 @@ export declare const zGetJobDetailQuery: z.ZodObject<{
12814
14405
  * Success - Job details retrieved
12815
14406
  */
12816
14407
  export declare const zGetJobDetailResponse: z.ZodObject<{
14408
+ budget_hold: z.ZodOptional<z.ZodObject<{
14409
+ budget: z.ZodOptional<z.ZodObject<{
14410
+ id: z.ZodOptional<z.ZodString>;
14411
+ limit_credits: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
14412
+ limit_micro_usd: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
14413
+ mode: z.ZodOptional<z.ZodString>;
14414
+ resets_at: z.ZodISODateTime;
14415
+ scope_id: z.ZodOptional<z.ZodString>;
14416
+ scope_kind: z.ZodString;
14417
+ set_by: z.ZodString;
14418
+ spent_credits: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
14419
+ spent_micro_usd: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
14420
+ }, z.core.$strip>>;
14421
+ can_resume: z.ZodBoolean;
14422
+ reason: z.ZodString;
14423
+ }, z.core.$strip>>;
12817
14424
  create_time: z.ZodCoercedBigInt<unknown>;
12818
14425
  deployment: z.ZodOptional<z.ZodObject<{
12819
14426
  build_name: z.ZodOptional<z.ZodString>;
@@ -12824,10 +14431,25 @@ export declare const zGetJobDetailResponse: z.ZodObject<{
12824
14431
  }, z.core.$strip>>;
12825
14432
  execution_end_time: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
12826
14433
  execution_error: z.ZodOptional<z.ZodObject<{
14434
+ catalog_id: z.ZodOptional<z.ZodString>;
12827
14435
  current_inputs: z.ZodRecord<z.ZodString, z.ZodUnknown>;
12828
14436
  current_outputs: z.ZodRecord<z.ZodString, z.ZodUnknown>;
12829
14437
  exception_message: z.ZodString;
12830
14438
  exception_type: z.ZodString;
14439
+ node_errors: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
14440
+ class_type: z.ZodString;
14441
+ dependent_outputs: z.ZodArray<z.ZodString>;
14442
+ errors: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
14443
+ details: z.ZodOptional<z.ZodString>;
14444
+ extra_info: z.ZodOptional<z.ZodObject<{
14445
+ input_name: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
14446
+ received_type: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
14447
+ received_value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
14448
+ }, z.core.$strip>>;
14449
+ message: z.ZodOptional<z.ZodString>;
14450
+ type: z.ZodOptional<z.ZodString>;
14451
+ }, z.core.$strip>]>>;
14452
+ }, z.core.$strip>>>;
12831
14453
  node_id: z.ZodString;
12832
14454
  node_type: z.ZodString;
12833
14455
  traceback: z.ZodArray<z.ZodString>;
@@ -12849,6 +14471,7 @@ export declare const zGetJobDetailResponse: z.ZodObject<{
12849
14471
  outputs_count: z.ZodOptional<z.ZodInt>;
12850
14472
  preview_output: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
12851
14473
  previewable_outputs_count: z.ZodOptional<z.ZodInt>;
14474
+ project_id: z.ZodOptional<z.ZodString>;
12852
14475
  queue_position: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
12853
14476
  queue_reason: z.ZodOptional<z.ZodEnum<{
12854
14477
  concurrency_limit: "concurrency_limit";
@@ -12860,6 +14483,7 @@ export declare const zGetJobDetailResponse: z.ZodObject<{
12860
14483
  failed: "failed";
12861
14484
  pending: "pending";
12862
14485
  in_progress: "in_progress";
14486
+ held_budget: "held_budget";
12863
14487
  }>;
12864
14488
  update_time: z.ZodCoercedBigInt<unknown>;
12865
14489
  user_id: z.ZodOptional<z.ZodString>;
@@ -12904,52 +14528,453 @@ export declare const zCancelJobPath: z.ZodObject<{
12904
14528
  job_id: z.ZodUUID;
12905
14529
  }, z.core.$strip>;
12906
14530
  /**
12907
- * Success - Cancel request accepted (or job was already terminal)
14531
+ * Success - Cancel request accepted (or job was already terminal)
14532
+ */
14533
+ export declare const zCancelJobResponse: z.ZodObject<{
14534
+ cancelled: z.ZodBoolean;
14535
+ }, z.core.$strip>;
14536
+ export declare const zCancelJobsBody: z.ZodObject<{
14537
+ job_ids: z.ZodArray<z.ZodUUID>;
14538
+ }, z.core.$strip>;
14539
+ /**
14540
+ * Success - cancel requests dispatched (or jobs were already terminal)
14541
+ */
14542
+ export declare const zCancelJobsResponse: z.ZodObject<{
14543
+ cancelled: z.ZodArray<z.ZodString>;
14544
+ }, z.core.$strip>;
14545
+ export declare const zGetLegacyModelsByFolderPath: z.ZodObject<{
14546
+ folder: z.ZodString;
14547
+ }, z.core.$strip>;
14548
+ /**
14549
+ * Success - Node replacement mappings
14550
+ */
14551
+ export declare const zGetNodeReplacementsResponse: z.ZodRecord<z.ZodString, z.ZodUnknown>;
14552
+ export declare const zGetNodeInfoHeaders: z.ZodObject<{
14553
+ 'X-Comfy-Project-ID': z.ZodOptional<z.ZodString>;
14554
+ }, z.core.$strip>;
14555
+ export declare const zGetNodeInfoQuery: z.ZodObject<{
14556
+ include_user_models: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
14557
+ }, z.core.$strip>;
14558
+ /**
14559
+ * Success
14560
+ */
14561
+ export declare const zGetNodeInfoResponse: z.ZodRecord<z.ZodString, z.ZodObject<{
14562
+ api_node: z.ZodOptional<z.ZodBoolean>;
14563
+ category: z.ZodOptional<z.ZodString>;
14564
+ deprecated: z.ZodOptional<z.ZodBoolean>;
14565
+ description: z.ZodOptional<z.ZodString>;
14566
+ display_name: z.ZodOptional<z.ZodString>;
14567
+ experimental: z.ZodOptional<z.ZodBoolean>;
14568
+ input: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
14569
+ input_order: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
14570
+ name: z.ZodOptional<z.ZodString>;
14571
+ output: z.ZodOptional<z.ZodArray<z.ZodString>>;
14572
+ output_is_list: z.ZodOptional<z.ZodArray<z.ZodBoolean>>;
14573
+ output_name: z.ZodOptional<z.ZodArray<z.ZodString>>;
14574
+ output_node: z.ZodOptional<z.ZodBoolean>;
14575
+ output_tooltips: z.ZodOptional<z.ZodArray<z.ZodString>>;
14576
+ python_module: z.ZodOptional<z.ZodString>;
14577
+ }, z.core.$strip>>;
14578
+ export declare const zGetLegacyObjectInfoByNodeClassPath: z.ZodObject<{
14579
+ node_class: z.ZodString;
14580
+ }, z.core.$strip>;
14581
+ /**
14582
+ * Projects the caller can view. Also answered to a workspace whose plan no longer includes Projects (a lapsed or downgraded plan) but that still has projects other than the default: those projects are frozen and read-only, each with `writable: false`, and the quota has `max_active: 0` and `can_create: false`. Do not read a 200 as the plan including Projects; read `writable` on each project and `quota.can_create`.
14583
+ */
14584
+ export declare const zListProjectsResponse2: z.ZodObject<{
14585
+ projects: z.ZodArray<z.ZodObject<{
14586
+ create_time: z.ZodISODateTime;
14587
+ created_by_user_id: z.ZodOptional<z.ZodString>;
14588
+ description: z.ZodOptional<z.ZodString>;
14589
+ id: z.ZodString;
14590
+ is_default: z.ZodBoolean;
14591
+ my_role: z.ZodOptional<z.ZodEnum<{
14592
+ runner: "runner";
14593
+ builder: "builder";
14594
+ project_admin: "project_admin";
14595
+ }>>;
14596
+ name: z.ZodString;
14597
+ permissions: z.ZodObject<{
14598
+ project: z.ZodOptional<z.ZodEnum<{
14599
+ read: "read";
14600
+ write: "write";
14601
+ read_own: "read_own";
14602
+ read_all: "read_all";
14603
+ write_own: "write_own";
14604
+ write_all: "write_all";
14605
+ }>>;
14606
+ 'project.assets': z.ZodOptional<z.ZodEnum<{
14607
+ read: "read";
14608
+ write: "write";
14609
+ read_own: "read_own";
14610
+ read_all: "read_all";
14611
+ write_own: "write_own";
14612
+ write_all: "write_all";
14613
+ }>>;
14614
+ 'project.deployments': z.ZodOptional<z.ZodEnum<{
14615
+ read: "read";
14616
+ write: "write";
14617
+ read_own: "read_own";
14618
+ read_all: "read_all";
14619
+ write_own: "write_own";
14620
+ write_all: "write_all";
14621
+ }>>;
14622
+ 'project.members': z.ZodOptional<z.ZodEnum<{
14623
+ read: "read";
14624
+ write: "write";
14625
+ read_own: "read_own";
14626
+ read_all: "read_all";
14627
+ write_own: "write_own";
14628
+ write_all: "write_all";
14629
+ }>>;
14630
+ 'project.queue': z.ZodOptional<z.ZodEnum<{
14631
+ read: "read";
14632
+ write: "write";
14633
+ read_own: "read_own";
14634
+ read_all: "read_all";
14635
+ write_own: "write_own";
14636
+ write_all: "write_all";
14637
+ }>>;
14638
+ 'project.usage': z.ZodOptional<z.ZodEnum<{
14639
+ read: "read";
14640
+ write: "write";
14641
+ read_own: "read_own";
14642
+ read_all: "read_all";
14643
+ write_own: "write_own";
14644
+ write_all: "write_all";
14645
+ }>>;
14646
+ 'project.workflow': z.ZodOptional<z.ZodEnum<{
14647
+ read: "read";
14648
+ write: "write";
14649
+ read_own: "read_own";
14650
+ read_all: "read_all";
14651
+ write_own: "write_own";
14652
+ write_all: "write_all";
14653
+ }>>;
14654
+ }, z.core.$strip>;
14655
+ shared_cloud_allowed: z.ZodBoolean;
14656
+ update_time: z.ZodISODateTime;
14657
+ workspace_id: z.ZodString;
14658
+ writable: z.ZodBoolean;
14659
+ }, z.core.$strip>>;
14660
+ projects_in_use: z.ZodBoolean;
14661
+ quota: z.ZodObject<{
14662
+ active: z.ZodInt;
14663
+ can_create: z.ZodBoolean;
14664
+ max_active: z.ZodInt;
14665
+ }, z.core.$strip>;
14666
+ }, z.core.$strip>;
14667
+ export declare const zCreateProjectBody: z.ZodObject<{
14668
+ description: z.ZodOptional<z.ZodString>;
14669
+ members: z.ZodOptional<z.ZodArray<z.ZodObject<{
14670
+ role: z.ZodEnum<{
14671
+ runner: "runner";
14672
+ builder: "builder";
14673
+ project_admin: "project_admin";
14674
+ }>;
14675
+ user_id: z.ZodString;
14676
+ }, z.core.$strip>>>;
14677
+ name: z.ZodString;
14678
+ shared_cloud_allowed: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
14679
+ }, z.core.$strip>;
14680
+ /**
14681
+ * Project created
14682
+ */
14683
+ export declare const zCreateProjectResponse: z.ZodObject<{
14684
+ create_time: z.ZodISODateTime;
14685
+ created_by_user_id: z.ZodOptional<z.ZodString>;
14686
+ description: z.ZodOptional<z.ZodString>;
14687
+ id: z.ZodString;
14688
+ is_default: z.ZodBoolean;
14689
+ my_role: z.ZodOptional<z.ZodEnum<{
14690
+ runner: "runner";
14691
+ builder: "builder";
14692
+ project_admin: "project_admin";
14693
+ }>>;
14694
+ name: z.ZodString;
14695
+ permissions: z.ZodObject<{
14696
+ project: z.ZodOptional<z.ZodEnum<{
14697
+ read: "read";
14698
+ write: "write";
14699
+ read_own: "read_own";
14700
+ read_all: "read_all";
14701
+ write_own: "write_own";
14702
+ write_all: "write_all";
14703
+ }>>;
14704
+ 'project.assets': z.ZodOptional<z.ZodEnum<{
14705
+ read: "read";
14706
+ write: "write";
14707
+ read_own: "read_own";
14708
+ read_all: "read_all";
14709
+ write_own: "write_own";
14710
+ write_all: "write_all";
14711
+ }>>;
14712
+ 'project.deployments': z.ZodOptional<z.ZodEnum<{
14713
+ read: "read";
14714
+ write: "write";
14715
+ read_own: "read_own";
14716
+ read_all: "read_all";
14717
+ write_own: "write_own";
14718
+ write_all: "write_all";
14719
+ }>>;
14720
+ 'project.members': z.ZodOptional<z.ZodEnum<{
14721
+ read: "read";
14722
+ write: "write";
14723
+ read_own: "read_own";
14724
+ read_all: "read_all";
14725
+ write_own: "write_own";
14726
+ write_all: "write_all";
14727
+ }>>;
14728
+ 'project.queue': z.ZodOptional<z.ZodEnum<{
14729
+ read: "read";
14730
+ write: "write";
14731
+ read_own: "read_own";
14732
+ read_all: "read_all";
14733
+ write_own: "write_own";
14734
+ write_all: "write_all";
14735
+ }>>;
14736
+ 'project.usage': z.ZodOptional<z.ZodEnum<{
14737
+ read: "read";
14738
+ write: "write";
14739
+ read_own: "read_own";
14740
+ read_all: "read_all";
14741
+ write_own: "write_own";
14742
+ write_all: "write_all";
14743
+ }>>;
14744
+ 'project.workflow': z.ZodOptional<z.ZodEnum<{
14745
+ read: "read";
14746
+ write: "write";
14747
+ read_own: "read_own";
14748
+ read_all: "read_all";
14749
+ write_own: "write_own";
14750
+ write_all: "write_all";
14751
+ }>>;
14752
+ }, z.core.$strip>;
14753
+ shared_cloud_allowed: z.ZodBoolean;
14754
+ update_time: z.ZodISODateTime;
14755
+ workspace_id: z.ZodString;
14756
+ writable: z.ZodBoolean;
14757
+ }, z.core.$strip>;
14758
+ export declare const zGetProjectPath: z.ZodObject<{
14759
+ id: z.ZodString;
14760
+ }, z.core.$strip>;
14761
+ /**
14762
+ * The project. In a workspace whose plan no longer includes Projects (a lapsed or downgraded plan), a project other than the default is still answered to whoever may view it, frozen, with `writable: false`. Do not read a 200 as the project taking writes, or as the plan including Projects; read `writable` and `permissions`.
14763
+ */
14764
+ export declare const zGetProjectResponse: z.ZodObject<{
14765
+ create_time: z.ZodISODateTime;
14766
+ created_by_user_id: z.ZodOptional<z.ZodString>;
14767
+ description: z.ZodOptional<z.ZodString>;
14768
+ id: z.ZodString;
14769
+ is_default: z.ZodBoolean;
14770
+ my_role: z.ZodOptional<z.ZodEnum<{
14771
+ runner: "runner";
14772
+ builder: "builder";
14773
+ project_admin: "project_admin";
14774
+ }>>;
14775
+ name: z.ZodString;
14776
+ permissions: z.ZodObject<{
14777
+ project: z.ZodOptional<z.ZodEnum<{
14778
+ read: "read";
14779
+ write: "write";
14780
+ read_own: "read_own";
14781
+ read_all: "read_all";
14782
+ write_own: "write_own";
14783
+ write_all: "write_all";
14784
+ }>>;
14785
+ 'project.assets': z.ZodOptional<z.ZodEnum<{
14786
+ read: "read";
14787
+ write: "write";
14788
+ read_own: "read_own";
14789
+ read_all: "read_all";
14790
+ write_own: "write_own";
14791
+ write_all: "write_all";
14792
+ }>>;
14793
+ 'project.deployments': z.ZodOptional<z.ZodEnum<{
14794
+ read: "read";
14795
+ write: "write";
14796
+ read_own: "read_own";
14797
+ read_all: "read_all";
14798
+ write_own: "write_own";
14799
+ write_all: "write_all";
14800
+ }>>;
14801
+ 'project.members': z.ZodOptional<z.ZodEnum<{
14802
+ read: "read";
14803
+ write: "write";
14804
+ read_own: "read_own";
14805
+ read_all: "read_all";
14806
+ write_own: "write_own";
14807
+ write_all: "write_all";
14808
+ }>>;
14809
+ 'project.queue': z.ZodOptional<z.ZodEnum<{
14810
+ read: "read";
14811
+ write: "write";
14812
+ read_own: "read_own";
14813
+ read_all: "read_all";
14814
+ write_own: "write_own";
14815
+ write_all: "write_all";
14816
+ }>>;
14817
+ 'project.usage': z.ZodOptional<z.ZodEnum<{
14818
+ read: "read";
14819
+ write: "write";
14820
+ read_own: "read_own";
14821
+ read_all: "read_all";
14822
+ write_own: "write_own";
14823
+ write_all: "write_all";
14824
+ }>>;
14825
+ 'project.workflow': z.ZodOptional<z.ZodEnum<{
14826
+ read: "read";
14827
+ write: "write";
14828
+ read_own: "read_own";
14829
+ read_all: "read_all";
14830
+ write_own: "write_own";
14831
+ write_all: "write_all";
14832
+ }>>;
14833
+ }, z.core.$strip>;
14834
+ shared_cloud_allowed: z.ZodBoolean;
14835
+ update_time: z.ZodISODateTime;
14836
+ workspace_id: z.ZodString;
14837
+ writable: z.ZodBoolean;
14838
+ }, z.core.$strip>;
14839
+ export declare const zUpdateProjectBody: z.ZodObject<{
14840
+ description: z.ZodOptional<z.ZodString>;
14841
+ name: z.ZodOptional<z.ZodString>;
14842
+ shared_cloud_allowed: z.ZodOptional<z.ZodBoolean>;
14843
+ }, z.core.$strip>;
14844
+ export declare const zUpdateProjectPath: z.ZodObject<{
14845
+ id: z.ZodString;
14846
+ }, z.core.$strip>;
14847
+ /**
14848
+ * Project updated
12908
14849
  */
12909
- export declare const zCancelJobResponse: z.ZodObject<{
12910
- cancelled: z.ZodBoolean;
14850
+ export declare const zUpdateProjectResponse: z.ZodObject<{
14851
+ create_time: z.ZodISODateTime;
14852
+ created_by_user_id: z.ZodOptional<z.ZodString>;
14853
+ description: z.ZodOptional<z.ZodString>;
14854
+ id: z.ZodString;
14855
+ is_default: z.ZodBoolean;
14856
+ my_role: z.ZodOptional<z.ZodEnum<{
14857
+ runner: "runner";
14858
+ builder: "builder";
14859
+ project_admin: "project_admin";
14860
+ }>>;
14861
+ name: z.ZodString;
14862
+ permissions: z.ZodObject<{
14863
+ project: z.ZodOptional<z.ZodEnum<{
14864
+ read: "read";
14865
+ write: "write";
14866
+ read_own: "read_own";
14867
+ read_all: "read_all";
14868
+ write_own: "write_own";
14869
+ write_all: "write_all";
14870
+ }>>;
14871
+ 'project.assets': z.ZodOptional<z.ZodEnum<{
14872
+ read: "read";
14873
+ write: "write";
14874
+ read_own: "read_own";
14875
+ read_all: "read_all";
14876
+ write_own: "write_own";
14877
+ write_all: "write_all";
14878
+ }>>;
14879
+ 'project.deployments': z.ZodOptional<z.ZodEnum<{
14880
+ read: "read";
14881
+ write: "write";
14882
+ read_own: "read_own";
14883
+ read_all: "read_all";
14884
+ write_own: "write_own";
14885
+ write_all: "write_all";
14886
+ }>>;
14887
+ 'project.members': z.ZodOptional<z.ZodEnum<{
14888
+ read: "read";
14889
+ write: "write";
14890
+ read_own: "read_own";
14891
+ read_all: "read_all";
14892
+ write_own: "write_own";
14893
+ write_all: "write_all";
14894
+ }>>;
14895
+ 'project.queue': z.ZodOptional<z.ZodEnum<{
14896
+ read: "read";
14897
+ write: "write";
14898
+ read_own: "read_own";
14899
+ read_all: "read_all";
14900
+ write_own: "write_own";
14901
+ write_all: "write_all";
14902
+ }>>;
14903
+ 'project.usage': z.ZodOptional<z.ZodEnum<{
14904
+ read: "read";
14905
+ write: "write";
14906
+ read_own: "read_own";
14907
+ read_all: "read_all";
14908
+ write_own: "write_own";
14909
+ write_all: "write_all";
14910
+ }>>;
14911
+ 'project.workflow': z.ZodOptional<z.ZodEnum<{
14912
+ read: "read";
14913
+ write: "write";
14914
+ read_own: "read_own";
14915
+ read_all: "read_all";
14916
+ write_own: "write_own";
14917
+ write_all: "write_all";
14918
+ }>>;
14919
+ }, z.core.$strip>;
14920
+ shared_cloud_allowed: z.ZodBoolean;
14921
+ update_time: z.ZodISODateTime;
14922
+ workspace_id: z.ZodString;
14923
+ writable: z.ZodBoolean;
12911
14924
  }, z.core.$strip>;
12912
- export declare const zCancelJobsBody: z.ZodObject<{
12913
- job_ids: z.ZodArray<z.ZodUUID>;
14925
+ export declare const zListProjectMembersPath: z.ZodObject<{
14926
+ id: z.ZodString;
12914
14927
  }, z.core.$strip>;
12915
14928
  /**
12916
- * Success - cancel requests dispatched (or jobs were already terminal)
14929
+ * Project members
12917
14930
  */
12918
- export declare const zCancelJobsResponse: z.ZodObject<{
12919
- cancelled: z.ZodArray<z.ZodString>;
14931
+ export declare const zListProjectMembersResponse2: z.ZodObject<{
14932
+ members: z.ZodArray<z.ZodObject<{
14933
+ added_by_user_id: z.ZodOptional<z.ZodString>;
14934
+ create_time: z.ZodISODateTime;
14935
+ email: z.ZodString;
14936
+ name: z.ZodString;
14937
+ role: z.ZodEnum<{
14938
+ runner: "runner";
14939
+ builder: "builder";
14940
+ project_admin: "project_admin";
14941
+ }>;
14942
+ user_id: z.ZodString;
14943
+ }, z.core.$strip>>;
12920
14944
  }, z.core.$strip>;
12921
- export declare const zGetLegacyModelsByFolderPath: z.ZodObject<{
12922
- folder: z.ZodString;
14945
+ export declare const zRemoveProjectMemberPath: z.ZodObject<{
14946
+ id: z.ZodString;
14947
+ userId: z.ZodString;
12923
14948
  }, z.core.$strip>;
12924
14949
  /**
12925
- * Success - Node replacement mappings
14950
+ * Member removed
12926
14951
  */
12927
- export declare const zGetNodeReplacementsResponse: z.ZodRecord<z.ZodString, z.ZodUnknown>;
12928
- export declare const zGetNodeInfoQuery: z.ZodObject<{
12929
- include_user_models: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
14952
+ export declare const zRemoveProjectMemberResponse: z.ZodVoid;
14953
+ export declare const zSetProjectMemberBody: z.ZodObject<{
14954
+ role: z.ZodEnum<{
14955
+ runner: "runner";
14956
+ builder: "builder";
14957
+ project_admin: "project_admin";
14958
+ }>;
14959
+ }, z.core.$strip>;
14960
+ export declare const zSetProjectMemberPath: z.ZodObject<{
14961
+ id: z.ZodString;
14962
+ userId: z.ZodString;
12930
14963
  }, z.core.$strip>;
12931
14964
  /**
12932
- * Success
14965
+ * The member, with the role now in effect
12933
14966
  */
12934
- export declare const zGetNodeInfoResponse: z.ZodRecord<z.ZodString, z.ZodObject<{
12935
- api_node: z.ZodOptional<z.ZodBoolean>;
12936
- category: z.ZodOptional<z.ZodString>;
12937
- deprecated: z.ZodOptional<z.ZodBoolean>;
12938
- description: z.ZodOptional<z.ZodString>;
12939
- display_name: z.ZodOptional<z.ZodString>;
12940
- experimental: z.ZodOptional<z.ZodBoolean>;
12941
- input: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
12942
- input_order: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
12943
- name: z.ZodOptional<z.ZodString>;
12944
- output: z.ZodOptional<z.ZodArray<z.ZodString>>;
12945
- output_is_list: z.ZodOptional<z.ZodArray<z.ZodBoolean>>;
12946
- output_name: z.ZodOptional<z.ZodArray<z.ZodString>>;
12947
- output_node: z.ZodOptional<z.ZodBoolean>;
12948
- output_tooltips: z.ZodOptional<z.ZodArray<z.ZodString>>;
12949
- python_module: z.ZodOptional<z.ZodString>;
12950
- }, z.core.$strip>>;
12951
- export declare const zGetLegacyObjectInfoByNodeClassPath: z.ZodObject<{
12952
- node_class: z.ZodString;
14967
+ export declare const zSetProjectMemberResponse: z.ZodObject<{
14968
+ added_by_user_id: z.ZodOptional<z.ZodString>;
14969
+ create_time: z.ZodISODateTime;
14970
+ email: z.ZodString;
14971
+ name: z.ZodString;
14972
+ role: z.ZodEnum<{
14973
+ runner: "runner";
14974
+ builder: "builder";
14975
+ project_admin: "project_admin";
14976
+ }>;
14977
+ user_id: z.ZodString;
12953
14978
  }, z.core.$strip>;
12954
14979
  /**
12955
14980
  * Success
@@ -12968,6 +14993,10 @@ export declare const zExecutePromptBody: z.ZodObject<{
12968
14993
  workflow_id: z.ZodOptional<z.ZodString>;
12969
14994
  workflow_version_id: z.ZodOptional<z.ZodString>;
12970
14995
  }, z.core.$strip>;
14996
+ export declare const zExecutePromptHeaders: z.ZodObject<{
14997
+ 'X-Comfy-Project-ID': z.ZodOptional<z.ZodString>;
14998
+ 'Comfy-Loaded-Release': z.ZodOptional<z.ZodString>;
14999
+ }, z.core.$strip>;
12971
15000
  /**
12972
15001
  * Success - Prompt accepted
12973
15002
  */
@@ -12989,6 +15018,19 @@ export declare const zGetProvidersResponse: z.ZodObject<{
12989
15018
  provider_id: z.ZodString;
12990
15019
  }, z.core.$strip>>;
12991
15020
  }, z.core.$strip>;
15021
+ /**
15022
+ * The public model catalog
15023
+ */
15024
+ export declare const zListPublicModelsResponse: z.ZodObject<{
15025
+ models: z.ZodArray<z.ZodObject<{
15026
+ file_path: z.ZodOptional<z.ZodString>;
15027
+ id: z.ZodUUID;
15028
+ name: z.ZodString;
15029
+ size: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
15030
+ source_url: z.ZodOptional<z.ZodString>;
15031
+ tags: z.ZodArray<z.ZodString>;
15032
+ }, z.core.$strip>>;
15033
+ }, z.core.$strip>;
12992
15034
  /**
12993
15035
  * Success
12994
15036
  */
@@ -13000,6 +15042,9 @@ export declare const zManageQueueBody: z.ZodObject<{
13000
15042
  clear: z.ZodOptional<z.ZodBoolean>;
13001
15043
  delete: z.ZodOptional<z.ZodArray<z.ZodString>>;
13002
15044
  }, z.core.$strip>;
15045
+ export declare const zManageQueueHeaders: z.ZodObject<{
15046
+ 'X-Comfy-Project-ID': z.ZodOptional<z.ZodString>;
15047
+ }, z.core.$strip>;
13003
15048
  /**
13004
15049
  * Success
13005
15050
  */
@@ -13007,6 +15052,9 @@ export declare const zManageQueueResponse: z.ZodObject<{
13007
15052
  cleared: z.ZodOptional<z.ZodBoolean>;
13008
15053
  deleted: z.ZodOptional<z.ZodArray<z.ZodString>>;
13009
15054
  }, z.core.$strip>;
15055
+ export declare const zGetReleaseUnsupportedPacksHeaders: z.ZodObject<{
15056
+ 'X-Comfy-Project-ID': z.ZodOptional<z.ZodString>;
15057
+ }, z.core.$strip>;
13010
15058
  /**
13011
15059
  * The packs the Release built without, in the order the build declared them
13012
15060
  */
@@ -13285,6 +15333,9 @@ export declare const zUploadImageBody: z.ZodObject<{
13285
15333
  subfolder: z.ZodOptional<z.ZodString>;
13286
15334
  type: z.ZodOptional<z.ZodString>;
13287
15335
  }, z.core.$strip>;
15336
+ export declare const zUploadImageHeaders: z.ZodObject<{
15337
+ 'X-Comfy-Project-ID': z.ZodOptional<z.ZodString>;
15338
+ }, z.core.$strip>;
13288
15339
  /**
13289
15340
  * Image uploaded successfully
13290
15341
  */
@@ -13297,6 +15348,9 @@ export declare const zUploadMaskBody: z.ZodObject<{
13297
15348
  image: z.ZodString;
13298
15349
  original_ref: z.ZodString;
13299
15350
  }, z.core.$strip>;
15351
+ export declare const zUploadMaskHeaders: z.ZodObject<{
15352
+ 'X-Comfy-Project-ID': z.ZodOptional<z.ZodString>;
15353
+ }, z.core.$strip>;
13300
15354
  /**
13301
15355
  * Mask uploaded successfully
13302
15356
  */
@@ -13328,6 +15382,7 @@ export declare const zUploadGrantPutResponse: z.ZodUnion<readonly [z.ZodObject<{
13328
15382
  id: z.ZodString;
13329
15383
  latest_version: z.ZodInt;
13330
15384
  name: z.ZodOptional<z.ZodString>;
15385
+ project_id: z.ZodOptional<z.ZodString>;
13331
15386
  updated_at: z.ZodISODateTime;
13332
15387
  }, z.core.$strip>]>;
13333
15388
  /**
@@ -13581,6 +15636,14 @@ export declare const zListCccWebsiteCardsQuery: z.ZodObject<{
13581
15636
  en: "en";
13582
15637
  "zh-CN": "zh-CN";
13583
15638
  ja: "ja";
15639
+ "zh-TW": "zh-TW";
15640
+ ko: "ko";
15641
+ es: "es";
15642
+ "pt-BR": "pt-BR";
15643
+ ru: "ru";
15644
+ fr: "fr";
15645
+ tr: "tr";
15646
+ ar: "ar";
13584
15647
  }>>>;
13585
15648
  q: z.ZodOptional<z.ZodString>;
13586
15649
  sort: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
@@ -14133,8 +16196,8 @@ export declare const zPublishCccDraftResponse: z.ZodObject<{
14133
16196
  }, z.core.$strip>;
14134
16197
  export declare const zGetCccStagingQuery: z.ZodObject<{
14135
16198
  representation: z.ZodOptional<z.ZodEnum<{
14136
- page: "page";
14137
16199
  selection: "selection";
16200
+ page: "page";
14138
16201
  detail: "detail";
14139
16202
  }>>;
14140
16203
  limit: z.ZodDefault<z.ZodOptional<z.ZodInt>>;
@@ -14263,8 +16326,8 @@ export declare const zGetCccStagingResponse: z.ZodObject<{
14263
16326
  summary: z.ZodString;
14264
16327
  }, z.core.$strip>>>;
14265
16328
  representation: z.ZodOptional<z.ZodEnum<{
14266
- page: "page";
14267
16329
  selection: "selection";
16330
+ page: "page";
14268
16331
  detail: "detail";
14269
16332
  }>>;
14270
16333
  selection_digest: z.ZodOptional<z.ZodString>;
@@ -14476,6 +16539,14 @@ export declare const zListCccWebsiteModelDirectoryQuery: z.ZodObject<{
14476
16539
  en: "en";
14477
16540
  "zh-CN": "zh-CN";
14478
16541
  ja: "ja";
16542
+ "zh-TW": "zh-TW";
16543
+ ko: "ko";
16544
+ es: "es";
16545
+ "pt-BR": "pt-BR";
16546
+ ru: "ru";
16547
+ fr: "fr";
16548
+ tr: "tr";
16549
+ ar: "ar";
14479
16550
  }>>>;
14480
16551
  }, z.core.$strip>;
14481
16552
  /**
@@ -14715,6 +16786,14 @@ export declare const zGetCccWebsiteRootPresentationQuery: z.ZodObject<{
14715
16786
  en: "en";
14716
16787
  "zh-CN": "zh-CN";
14717
16788
  ja: "ja";
16789
+ "zh-TW": "zh-TW";
16790
+ ko: "ko";
16791
+ es: "es";
16792
+ "pt-BR": "pt-BR";
16793
+ ru: "ru";
16794
+ fr: "fr";
16795
+ tr: "tr";
16796
+ ar: "ar";
14718
16797
  }>>>;
14719
16798
  revision_id: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
14720
16799
  }, z.core.$strip>;
@@ -14908,6 +16987,44 @@ export declare const zGetCccTypeSchemaResponse: z.ZodObject<{
14908
16987
  media: "media";
14909
16988
  }>;
14910
16989
  }, z.core.$strip>;
16990
+ export declare const zListCccStaffAppsQuery: z.ZodObject<{
16991
+ limit: z.ZodDefault<z.ZodOptional<z.ZodInt>>;
16992
+ cursor: z.ZodOptional<z.ZodString>;
16993
+ }, z.core.$strip>;
16994
+ /**
16995
+ * One page of app rows and the optional opaque next_cursor
16996
+ */
16997
+ export declare const zListCccStaffAppsResponse: z.ZodObject<{
16998
+ has_more: z.ZodBoolean;
16999
+ items: z.ZodArray<z.ZodObject<{
17000
+ description: z.ZodString;
17001
+ draft_page: z.ZodOptional<z.ZodString>;
17002
+ enabled: z.ZodBoolean;
17003
+ hub_page: z.ZodOptional<z.ZodString>;
17004
+ on_desktop: z.ZodBoolean;
17005
+ on_hub: z.ZodBoolean;
17006
+ picture: z.ZodOptional<z.ZodString>;
17007
+ slug: z.ZodString;
17008
+ status: z.ZodEnum<{
17009
+ not_live: "not_live";
17010
+ unpublished: "unpublished";
17011
+ hidden: "hidden";
17012
+ scheduled: "scheduled";
17013
+ live: "live";
17014
+ }>;
17015
+ title: z.ZodString;
17016
+ uid: z.ZodUUID;
17017
+ }, z.core.$strip>>;
17018
+ next_cursor: z.ZodOptional<z.ZodString>;
17019
+ }, z.core.$strip>;
17020
+ export declare const zGetCccStaffAppPicturePath: z.ZodObject<{
17021
+ uid: z.ZodUUID;
17022
+ version: z.ZodUUID;
17023
+ }, z.core.$strip>;
17024
+ /**
17025
+ * The picture bytes; private no-store
17026
+ */
17027
+ export declare const zGetCccStaffAppPictureResponse: z.ZodString;
14911
17028
  /**
14912
17029
  * Private state; never cacheable
14913
17030
  */
@@ -15018,6 +17135,9 @@ export declare const zGetApiViewVideoAliasResponse: z.ZodString;
15018
17135
  * Empty object for workflow templates
15019
17136
  */
15020
17137
  export declare const zGetWorkflowTemplatesResponse: z.ZodRecord<z.ZodString, z.ZodUnknown>;
17138
+ export declare const zListWorkflowsHeaders: z.ZodObject<{
17139
+ 'X-Comfy-Project-ID': z.ZodOptional<z.ZodString>;
17140
+ }, z.core.$strip>;
15021
17141
  export declare const zListWorkflowsQuery: z.ZodObject<{
15022
17142
  limit: z.ZodDefault<z.ZodOptional<z.ZodInt>>;
15023
17143
  offset: z.ZodDefault<z.ZodOptional<z.ZodInt>>;
@@ -15055,6 +17175,7 @@ export declare const zListWorkflowsResponse: z.ZodObject<{
15055
17175
  id: z.ZodString;
15056
17176
  latest_version: z.ZodInt;
15057
17177
  name: z.ZodOptional<z.ZodString>;
17178
+ project_id: z.ZodOptional<z.ZodString>;
15058
17179
  updated_at: z.ZodISODateTime;
15059
17180
  }, z.core.$strip>>;
15060
17181
  pagination: z.ZodObject<{
@@ -15076,6 +17197,9 @@ export declare const zCreateWorkflowBody: z.ZodObject<{
15076
17197
  name: z.ZodOptional<z.ZodString>;
15077
17198
  workflow_json: z.ZodRecord<z.ZodString, z.ZodUnknown>;
15078
17199
  }, z.core.$strip>;
17200
+ export declare const zCreateWorkflowHeaders: z.ZodObject<{
17201
+ 'X-Comfy-Project-ID': z.ZodOptional<z.ZodString>;
17202
+ }, z.core.$strip>;
15079
17203
  /**
15080
17204
  * Workflow created successfully
15081
17205
  */
@@ -15094,6 +17218,7 @@ export declare const zCreateWorkflowResponse: z.ZodObject<{
15094
17218
  id: z.ZodString;
15095
17219
  latest_version: z.ZodInt;
15096
17220
  name: z.ZodOptional<z.ZodString>;
17221
+ project_id: z.ZodOptional<z.ZodString>;
15097
17222
  updated_at: z.ZodISODateTime;
15098
17223
  }, z.core.$strip>;
15099
17224
  export declare const zDeleteWorkflowPath: z.ZodObject<{
@@ -15124,6 +17249,7 @@ export declare const zGetWorkflowResponse: z.ZodObject<{
15124
17249
  id: z.ZodString;
15125
17250
  latest_version: z.ZodInt;
15126
17251
  name: z.ZodOptional<z.ZodString>;
17252
+ project_id: z.ZodOptional<z.ZodString>;
15127
17253
  updated_at: z.ZodISODateTime;
15128
17254
  }, z.core.$strip>;
15129
17255
  export declare const zUpdateWorkflowBody: z.ZodObject<{
@@ -15155,6 +17281,7 @@ export declare const zUpdateWorkflowResponse: z.ZodObject<{
15155
17281
  id: z.ZodString;
15156
17282
  latest_version: z.ZodInt;
15157
17283
  name: z.ZodOptional<z.ZodString>;
17284
+ project_id: z.ZodOptional<z.ZodString>;
15158
17285
  updated_at: z.ZodISODateTime;
15159
17286
  }, z.core.$strip>;
15160
17287
  export declare const zGetWorkflowContentPath: z.ZodObject<{
@@ -15175,6 +17302,9 @@ export declare const zForkWorkflowBody: z.ZodObject<{
15175
17302
  name: z.ZodOptional<z.ZodString>;
15176
17303
  source_version: z.ZodInt;
15177
17304
  }, z.core.$strip>;
17305
+ export declare const zForkWorkflowHeaders: z.ZodObject<{
17306
+ 'X-Comfy-Project-ID': z.ZodOptional<z.ZodString>;
17307
+ }, z.core.$strip>;
15178
17308
  export declare const zForkWorkflowPath: z.ZodObject<{
15179
17309
  workflow_id: z.ZodString;
15180
17310
  }, z.core.$strip>;
@@ -15196,6 +17326,7 @@ export declare const zForkWorkflowResponse: z.ZodObject<{
15196
17326
  id: z.ZodString;
15197
17327
  latest_version: z.ZodInt;
15198
17328
  name: z.ZodOptional<z.ZodString>;
17329
+ project_id: z.ZodOptional<z.ZodString>;
15199
17330
  updated_at: z.ZodISODateTime;
15200
17331
  }, z.core.$strip>;
15201
17332
  export declare const zGetWorkflowSidebarFilePath: z.ZodObject<{
@@ -15266,6 +17397,37 @@ export declare const zCreateWorkflowUploadUrlResponse: z.ZodObject<{
15266
17397
  expires_in: z.ZodInt;
15267
17398
  upload_path: z.ZodString;
15268
17399
  }, z.core.$strip>;
17400
+ export declare const zListWorkspaceAccessEventsQuery: z.ZodObject<{
17401
+ project_id: z.ZodOptional<z.ZodString>;
17402
+ after: z.ZodOptional<z.ZodString>;
17403
+ limit: z.ZodDefault<z.ZodOptional<z.ZodInt>>;
17404
+ }, z.core.$strip>;
17405
+ /**
17406
+ * Access changes, newest first
17407
+ */
17408
+ export declare const zListWorkspaceAccessEventsResponse: z.ZodObject<{
17409
+ events: z.ZodArray<z.ZodObject<{
17410
+ action: z.ZodString;
17411
+ actor: z.ZodObject<{
17412
+ name: z.ZodString;
17413
+ user_id: z.ZodString;
17414
+ }, z.core.$strip>;
17415
+ after: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
17416
+ before: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
17417
+ create_time: z.ZodISODateTime;
17418
+ id: z.ZodUUID;
17419
+ project_id: z.ZodOptional<z.ZodString>;
17420
+ project_name: z.ZodOptional<z.ZodString>;
17421
+ target: z.ZodOptional<z.ZodObject<{
17422
+ name: z.ZodString;
17423
+ user_id: z.ZodString;
17424
+ }, z.core.$strip>>;
17425
+ }, z.core.$strip>>;
17426
+ pagination: z.ZodObject<{
17427
+ has_more: z.ZodBoolean;
17428
+ next_cursor: z.ZodOptional<z.ZodString>;
17429
+ }, z.core.$strip>;
17430
+ }, z.core.$strip>;
15269
17431
  export declare const zListWorkspaceApiKeysQuery: z.ZodObject<{
15270
17432
  include_revoked: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
15271
17433
  }, z.core.$strip>;
@@ -15383,6 +17545,7 @@ export declare const zListWorkspaceMembersResponse: z.ZodObject<{
15383
17545
  owner: "owner";
15384
17546
  member: "member";
15385
17547
  }>;
17548
+ workspace_admin: z.ZodOptional<z.ZodBoolean>;
15386
17549
  }, z.core.$strip>>;
15387
17550
  pagination: z.ZodObject<{
15388
17551
  has_more: z.ZodBoolean;
@@ -15436,6 +17599,55 @@ export declare const zUpdateWorkspaceMemberRoleResponse: z.ZodObject<{
15436
17599
  owner: "owner";
15437
17600
  member: "member";
15438
17601
  }>;
17602
+ workspace_admin: z.ZodOptional<z.ZodBoolean>;
17603
+ }, z.core.$strip>;
17604
+ export declare const zRevokeWorkspaceAdminPath: z.ZodObject<{
17605
+ userId: z.ZodString;
17606
+ }, z.core.$strip>;
17607
+ /**
17608
+ * The member, with `workspace_admin` false
17609
+ */
17610
+ export declare const zRevokeWorkspaceAdminResponse: z.ZodObject<{
17611
+ capabilities: z.ZodOptional<z.ZodObject<{
17612
+ can_change_role: z.ZodBoolean;
17613
+ can_remove: z.ZodBoolean;
17614
+ can_set_credit_limit: z.ZodBoolean;
17615
+ }, z.core.$strip>>;
17616
+ email: z.ZodString;
17617
+ id: z.ZodString;
17618
+ is_original_owner: z.ZodBoolean;
17619
+ joined_at: z.ZodISODateTime;
17620
+ managed_by_directory: z.ZodOptional<z.ZodBoolean>;
17621
+ name: z.ZodString;
17622
+ role: z.ZodEnum<{
17623
+ owner: "owner";
17624
+ member: "member";
17625
+ }>;
17626
+ workspace_admin: z.ZodOptional<z.ZodBoolean>;
17627
+ }, z.core.$strip>;
17628
+ export declare const zGrantWorkspaceAdminPath: z.ZodObject<{
17629
+ userId: z.ZodString;
17630
+ }, z.core.$strip>;
17631
+ /**
17632
+ * The member, with `workspace_admin` true
17633
+ */
17634
+ export declare const zGrantWorkspaceAdminResponse: z.ZodObject<{
17635
+ capabilities: z.ZodOptional<z.ZodObject<{
17636
+ can_change_role: z.ZodBoolean;
17637
+ can_remove: z.ZodBoolean;
17638
+ can_set_credit_limit: z.ZodBoolean;
17639
+ }, z.core.$strip>>;
17640
+ email: z.ZodString;
17641
+ id: z.ZodString;
17642
+ is_original_owner: z.ZodBoolean;
17643
+ joined_at: z.ZodISODateTime;
17644
+ managed_by_directory: z.ZodOptional<z.ZodBoolean>;
17645
+ name: z.ZodString;
17646
+ role: z.ZodEnum<{
17647
+ owner: "owner";
17648
+ member: "member";
17649
+ }>;
17650
+ workspace_admin: z.ZodOptional<z.ZodBoolean>;
15439
17651
  }, z.core.$strip>;
15440
17652
  /**
15441
17653
  * The policy document
@@ -15509,6 +17721,7 @@ export declare const zListWorkspacesResponse2: z.ZodObject<{
15509
17721
  team: "team";
15510
17722
  personal: "personal";
15511
17723
  }>;
17724
+ workspace_admin: z.ZodOptional<z.ZodBoolean>;
15512
17725
  }, z.core.$strip>>;
15513
17726
  }, z.core.$strip>;
15514
17727
  export declare const zCreateWorkspaceBody: z.ZodObject<{
@@ -15598,6 +17811,9 @@ export declare const zClearWorkspaceDeploymentResponse: z.ZodVoid;
15598
17811
  export declare const zPickWorkspaceDeploymentBody: z.ZodObject<{
15599
17812
  deployment_id: z.ZodString;
15600
17813
  }, z.core.$strip>;
17814
+ export declare const zPickWorkspaceDeploymentHeaders: z.ZodObject<{
17815
+ 'X-Comfy-Project-ID': z.ZodOptional<z.ZodString>;
17816
+ }, z.core.$strip>;
15601
17817
  export declare const zPickWorkspaceDeploymentPath: z.ZodObject<{
15602
17818
  id: z.ZodString;
15603
17819
  }, z.core.$strip>;
@@ -15605,6 +17821,9 @@ export declare const zPickWorkspaceDeploymentPath: z.ZodObject<{
15605
17821
  * Picked; the cookie on this response carries it
15606
17822
  */
15607
17823
  export declare const zPickWorkspaceDeploymentResponse: z.ZodVoid;
17824
+ export declare const zGetWorkspaceDeploymentCpuServerHeaders: z.ZodObject<{
17825
+ 'X-Comfy-Project-ID': z.ZodOptional<z.ZodString>;
17826
+ }, z.core.$strip>;
15608
17827
  export declare const zGetWorkspaceDeploymentCpuServerPath: z.ZodObject<{
15609
17828
  id: z.ZodString;
15610
17829
  }, z.core.$strip>;
@@ -15661,6 +17880,136 @@ export declare const zListWorkspaceDeploymentsResponse: z.ZodObject<{
15661
17880
  }>>;
15662
17881
  picked_deployment_id: z.ZodOptional<z.ZodString>;
15663
17882
  }, z.core.$strip>;
17883
+ export declare const zAddWorkspaceDeploymentBuildModelBody: z.ZodObject<{
17884
+ blobId: z.ZodString;
17885
+ filename: z.ZodString;
17886
+ type: z.ZodString;
17887
+ }, z.core.$strip>;
17888
+ export declare const zAddWorkspaceDeploymentBuildModelPath: z.ZodObject<{
17889
+ id: z.ZodString;
17890
+ deployment_id: z.ZodString;
17891
+ }, z.core.$strip>;
17892
+ /**
17893
+ * The new version was cut; poll it by its releaseId
17894
+ */
17895
+ export declare const zAddWorkspaceDeploymentBuildModelResponse: z.ZodObject<{
17896
+ releaseId: z.ZodString;
17897
+ }, z.core.$strip>;
17898
+ export declare const zCreateWorkspaceDeploymentModelUploadBody: z.ZodObject<{
17899
+ blake3: z.ZodOptional<z.ZodString>;
17900
+ filename: z.ZodString;
17901
+ parts: z.ZodOptional<z.ZodBoolean>;
17902
+ reuse: z.ZodOptional<z.ZodBoolean>;
17903
+ sha256: z.ZodString;
17904
+ sizeBytes: z.ZodCoercedBigInt<unknown>;
17905
+ }, z.core.$strip>;
17906
+ export declare const zCreateWorkspaceDeploymentModelUploadPath: z.ZodObject<{
17907
+ id: z.ZodString;
17908
+ deployment_id: z.ZodString;
17909
+ }, z.core.$strip>;
17910
+ /**
17911
+ * comfy-builder's BlobUpload, unchanged
17912
+ */
17913
+ export declare const zCreateWorkspaceDeploymentModelUploadResponse: z.ZodObject<{
17914
+ blobId: z.ZodString;
17915
+ deduplicated: z.ZodBoolean;
17916
+ expiresAt: z.ZodOptional<z.ZodISODateTime>;
17917
+ parts: z.ZodOptional<z.ZodArray<z.ZodObject<{
17918
+ expiresAt: z.ZodISODateTime;
17919
+ offsetBytes: z.ZodCoercedBigInt<unknown>;
17920
+ partNumber: z.ZodInt;
17921
+ sizeBytes: z.ZodCoercedBigInt<unknown>;
17922
+ uploadUrl: z.ZodString;
17923
+ }, z.core.$strip>>>;
17924
+ uploadUrl: z.ZodOptional<z.ZodString>;
17925
+ }, z.core.$strip>;
17926
+ export declare const zCompleteWorkspaceDeploymentModelUploadPath: z.ZodObject<{
17927
+ id: z.ZodString;
17928
+ deployment_id: z.ZodString;
17929
+ blob_id: z.ZodString;
17930
+ }, z.core.$strip>;
17931
+ /**
17932
+ * comfy-builder's BlobUploadComplete, unchanged
17933
+ */
17934
+ export declare const zCompleteWorkspaceDeploymentModelUploadResponse: z.ZodObject<{
17935
+ blobId: z.ZodString;
17936
+ sizeBytes: z.ZodCoercedBigInt<unknown>;
17937
+ }, z.core.$strip>;
17938
+ export declare const zRefreshWorkspaceDeploymentModelUploadPartsPath: z.ZodObject<{
17939
+ id: z.ZodString;
17940
+ deployment_id: z.ZodString;
17941
+ blob_id: z.ZodString;
17942
+ }, z.core.$strip>;
17943
+ /**
17944
+ * comfy-builder's BlobUploadParts, unchanged
17945
+ */
17946
+ export declare const zRefreshWorkspaceDeploymentModelUploadPartsResponse: z.ZodObject<{
17947
+ blobId: z.ZodString;
17948
+ parts: z.ZodArray<z.ZodObject<{
17949
+ expiresAt: z.ZodISODateTime;
17950
+ offsetBytes: z.ZodCoercedBigInt<unknown>;
17951
+ partNumber: z.ZodInt;
17952
+ sizeBytes: z.ZodCoercedBigInt<unknown>;
17953
+ uploadUrl: z.ZodString;
17954
+ }, z.core.$strip>>;
17955
+ }, z.core.$strip>;
17956
+ export declare const zListWorkspaceDeploymentModelsPath: z.ZodObject<{
17957
+ id: z.ZodString;
17958
+ deployment_id: z.ZodString;
17959
+ }, z.core.$strip>;
17960
+ /**
17961
+ * comfy-deploy's model list, unchanged
17962
+ */
17963
+ export declare const zListWorkspaceDeploymentModelsResponse: z.ZodObject<{
17964
+ addEnabled: z.ZodBoolean;
17965
+ models: z.ZodArray<z.ZodObject<{
17966
+ failure: z.ZodOptional<z.ZodString>;
17967
+ filename: z.ZodString;
17968
+ id: z.ZodString;
17969
+ sizeBytes: z.ZodCoercedBigInt<unknown>;
17970
+ status: z.ZodEnum<{
17971
+ failed: "failed";
17972
+ ready: "ready";
17973
+ adding: "adding";
17974
+ removing: "removing";
17975
+ }>;
17976
+ type: z.ZodString;
17977
+ }, z.core.$strip>>;
17978
+ }, z.core.$strip>;
17979
+ export declare const zAddWorkspaceDeploymentModelBody: z.ZodObject<{
17980
+ blobId: z.ZodString;
17981
+ filename: z.ZodOptional<z.ZodString>;
17982
+ type: z.ZodString;
17983
+ }, z.core.$strip>;
17984
+ export declare const zAddWorkspaceDeploymentModelPath: z.ZodObject<{
17985
+ id: z.ZodString;
17986
+ deployment_id: z.ZodString;
17987
+ }, z.core.$strip>;
17988
+ /**
17989
+ * comfy-deploy's new entry, unchanged
17990
+ */
17991
+ export declare const zAddWorkspaceDeploymentModelResponse: z.ZodObject<{
17992
+ failure: z.ZodOptional<z.ZodString>;
17993
+ filename: z.ZodString;
17994
+ id: z.ZodString;
17995
+ sizeBytes: z.ZodCoercedBigInt<unknown>;
17996
+ status: z.ZodEnum<{
17997
+ failed: "failed";
17998
+ ready: "ready";
17999
+ adding: "adding";
18000
+ removing: "removing";
18001
+ }>;
18002
+ type: z.ZodString;
18003
+ }, z.core.$strip>;
18004
+ export declare const zRemoveWorkspaceDeploymentModelPath: z.ZodObject<{
18005
+ id: z.ZodString;
18006
+ deployment_id: z.ZodString;
18007
+ model_id: z.ZodString;
18008
+ }, z.core.$strip>;
18009
+ /**
18010
+ * comfy-deploy's entry, now removing, unchanged
18011
+ */
18012
+ export declare const zRemoveWorkspaceDeploymentModelResponse: z.ZodRecord<z.ZodString, z.ZodUnknown>;
15664
18013
  export declare const zStartWorkspaceDeploymentPath: z.ZodObject<{
15665
18014
  id: z.ZodString;
15666
18015
  deployment_id: z.ZodString;
@@ -15718,6 +18067,19 @@ export declare const zRedirectExtensionScriptsPath: z.ZodObject<{
15718
18067
  * Service is healthy
15719
18068
  */
15720
18069
  export declare const zGetHealthResponse: z.ZodString;
18070
+ export declare const zAgentGetSupportReplayHeaders: z.ZodObject<{
18071
+ 'X-Comfy-Replay-Support-Secret': z.ZodString;
18072
+ 'X-Comfy-Workspace-ID': z.ZodString;
18073
+ 'X-Comfy-Replay-Requester': z.ZodString;
18074
+ 'X-Comfy-Replay-Reason': z.ZodString;
18075
+ }, z.core.$strip>;
18076
+ export declare const zAgentGetSupportReplayPath: z.ZodObject<{
18077
+ id: z.ZodUUID;
18078
+ }, z.core.$strip>;
18079
+ /**
18080
+ * A degraded or full AgentReplayBundleV1.
18081
+ */
18082
+ export declare const zAgentGetSupportReplayResponse: z.ZodRecord<z.ZodString, z.ZodUnknown>;
15721
18083
  /**
15722
18084
  * Map of folder type name to list of path entries
15723
18085
  */