@comfyorg/ingest-types 1.7.0 → 1.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/zod.gen.d.ts CHANGED
@@ -1673,6 +1673,7 @@ export declare const zAutoReloadPreview: z.ZodObject<{
1673
1673
  *
1674
1674
  */
1675
1675
  export declare const zAutoReloadSettings: z.ZodObject<{
1676
+ auto_top_up_conflict: z.ZodBoolean;
1676
1677
  card_expiring_soon: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1677
1678
  card_expiry: z.ZodNullable<z.ZodObject<{
1678
1679
  expired: z.ZodBoolean;
@@ -1863,6 +1864,8 @@ export declare const zBillingCapabilities: z.ZodObject<{
1863
1864
  can_reactivate: z.ZodBoolean;
1864
1865
  can_revert_scheduled_change: z.ZodBoolean;
1865
1866
  can_run_workflows: z.ZodBoolean;
1867
+ can_set_budgets: z.ZodBoolean;
1868
+ can_set_hard_caps: z.ZodBoolean;
1866
1869
  can_subscribe_self_serve: z.ZodBoolean;
1867
1870
  can_top_up: z.ZodBoolean;
1868
1871
  can_upgrade: z.ZodBoolean;
@@ -2035,6 +2038,27 @@ export declare const zBillingCapabilityDenials: z.ZodObject<{
2035
2038
  user_cap_exceeded: "user_cap_exceeded";
2036
2039
  free_tier_exhausted: "free_tier_exhausted";
2037
2040
  }>>;
2041
+ can_set_budgets: z.ZodOptional<z.ZodEnum<{
2042
+ subscription_status_unrecognized: "subscription_status_unrecognized";
2043
+ creator_only_provisioning: "creator_only_provisioning";
2044
+ not_a_member: "not_a_member";
2045
+ not_workspace_owner: "not_workspace_owner";
2046
+ free_plan: "free_plan";
2047
+ no_subscription: "no_subscription";
2048
+ subscription_ended: "subscription_ended";
2049
+ subscription_not_started: "subscription_not_started";
2050
+ }>>;
2051
+ can_set_hard_caps: z.ZodOptional<z.ZodEnum<{
2052
+ subscription_status_unrecognized: "subscription_status_unrecognized";
2053
+ creator_only_provisioning: "creator_only_provisioning";
2054
+ not_a_member: "not_a_member";
2055
+ not_workspace_owner: "not_workspace_owner";
2056
+ free_plan: "free_plan";
2057
+ no_subscription: "no_subscription";
2058
+ subscription_ended: "subscription_ended";
2059
+ subscription_not_started: "subscription_not_started";
2060
+ plan_not_enterprise: "plan_not_enterprise";
2061
+ }>>;
2038
2062
  can_subscribe_self_serve: z.ZodOptional<z.ZodEnum<{
2039
2063
  subscription_status_unrecognized: "subscription_status_unrecognized";
2040
2064
  creator_only_provisioning: "creator_only_provisioning";
@@ -2166,11 +2190,23 @@ export declare const zBillingEventsResponse: z.ZodObject<{
2166
2190
  total: z.ZodInt;
2167
2191
  totalPages: z.ZodInt;
2168
2192
  }, z.core.$strip>;
2193
+ /**
2194
+ * The plan a Platform billing tab continues to checkout with. Selections only; checkout prices them.
2195
+ */
2196
+ export declare const zBillingHandoffCheckoutRequest: z.ZodObject<{
2197
+ plan_slug: z.ZodString;
2198
+ team_credit_stop_id: z.ZodOptional<z.ZodString>;
2199
+ }, z.core.$strip>;
2169
2200
  /**
2170
2201
  * Asks for a one-time handoff that signs a billing receiver tab in as the caller.
2171
2202
  */
2172
2203
  export declare const zBillingHandoffCreateRequest: z.ZodObject<{
2204
+ amount_cents: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
2173
2205
  client_version: z.ZodString;
2206
+ intent: z.ZodOptional<z.ZodEnum<{
2207
+ "top-up": "top-up";
2208
+ subscription: "subscription";
2209
+ }>>;
2174
2210
  receiver: z.ZodEnum<{
2175
2211
  billing_web: "billing_web";
2176
2212
  platform: "platform";
@@ -2237,6 +2273,17 @@ export declare const zBillingOpCancelResponse: z.ZodObject<{
2237
2273
  cancel_requested: "cancel_requested";
2238
2274
  }>;
2239
2275
  }, z.core.$strip>;
2276
+ /**
2277
+ * How a billing operation ended, for a billing handoff tab whose scoped session has ended.
2278
+ */
2279
+ export declare const zBillingOpOutcomeResponse: z.ZodObject<{
2280
+ status: z.ZodEnum<{
2281
+ failed: "failed";
2282
+ pending: "pending";
2283
+ succeeded: "succeeded";
2284
+ reconciliation_needed: "reconciliation_needed";
2285
+ }>;
2286
+ }, z.core.$strip>;
2240
2287
  /**
2241
2288
  * Payment lifecycle status
2242
2289
  */
@@ -2299,6 +2346,215 @@ export declare const zBillingCompanyDetailsUpdateRequest: z.ZodObject<{
2299
2346
  value: z.ZodString;
2300
2347
  }, z.core.$strip>>;
2301
2348
  }, z.core.$strip>;
2349
+ export declare const zBudgetAlert: z.ZodObject<{
2350
+ percent: z.ZodInt;
2351
+ sent_at: z.ZodISODateTime;
2352
+ status: z.ZodString;
2353
+ }, z.core.$strip>;
2354
+ export declare const zBudgetChange: z.ZodObject<{
2355
+ action: z.ZodEnum<{
2356
+ archived: "archived";
2357
+ created: "created";
2358
+ updated: "updated";
2359
+ downgraded: "downgraded";
2360
+ }>;
2361
+ actor_user_id: z.ZodString;
2362
+ after: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2363
+ before: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2364
+ changed_at: z.ZodISODateTime;
2365
+ }, z.core.$strip>;
2366
+ export declare const zBudgetHistory: z.ZodObject<{
2367
+ changes: z.ZodArray<z.ZodObject<{
2368
+ action: z.ZodEnum<{
2369
+ archived: "archived";
2370
+ created: "created";
2371
+ updated: "updated";
2372
+ downgraded: "downgraded";
2373
+ }>;
2374
+ actor_user_id: z.ZodString;
2375
+ after: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2376
+ before: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2377
+ changed_at: z.ZodISODateTime;
2378
+ }, z.core.$strip>>;
2379
+ }, z.core.$strip>;
2380
+ /**
2381
+ * `soft` alerts at its thresholds and never refuses spend. `hard` also refuses spend once the limit is reached; Enterprise plans only.
2382
+ *
2383
+ */
2384
+ export declare const zBudgetMode: z.ZodEnum<{
2385
+ hard: "hard";
2386
+ soft: "soft";
2387
+ }>;
2388
+ /**
2389
+ * How long a budget applies. `current_period`: until the current billing period ends. `until`: through the period holding `ends_at`. `indefinitely`: every period, with no end.
2390
+ *
2391
+ */
2392
+ export declare const zBudgetRepeat: z.ZodEnum<{
2393
+ current_period: "current_period";
2394
+ until: "until";
2395
+ indefinitely: "indefinitely";
2396
+ }>;
2397
+ /**
2398
+ * What a budget limits.
2399
+ */
2400
+ export declare const zBudgetScopeKind: z.ZodEnum<{
2401
+ member: "member";
2402
+ workspace: "workspace";
2403
+ api_key: "api_key";
2404
+ deployment: "deployment";
2405
+ }>;
2406
+ /**
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.
2408
+ *
2409
+ */
2410
+ export declare const zBudget: z.ZodObject<{
2411
+ alert_percents: z.ZodArray<z.ZodInt>;
2412
+ alerts: z.ZodArray<z.ZodObject<{
2413
+ percent: z.ZodInt;
2414
+ sent_at: z.ZodISODateTime;
2415
+ status: z.ZodString;
2416
+ }, z.core.$strip>>;
2417
+ created_by: z.ZodString;
2418
+ ends_at: z.ZodNullable<z.ZodISODateTime>;
2419
+ id: z.ZodString;
2420
+ limit_credits: z.ZodCoercedBigInt<unknown>;
2421
+ limit_micro_usd: z.ZodCoercedBigInt<unknown>;
2422
+ mode: z.ZodEnum<{
2423
+ hard: "hard";
2424
+ soft: "soft";
2425
+ }>;
2426
+ percent_used: z.ZodCoercedBigInt<unknown>;
2427
+ repeat: z.ZodEnum<{
2428
+ current_period: "current_period";
2429
+ until: "until";
2430
+ indefinitely: "indefinitely";
2431
+ }>;
2432
+ resets_at: z.ZodNullable<z.ZodISODateTime>;
2433
+ scope_id: z.ZodString;
2434
+ scope_kind: z.ZodEnum<{
2435
+ member: "member";
2436
+ workspace: "workspace";
2437
+ api_key: "api_key";
2438
+ deployment: "deployment";
2439
+ }>;
2440
+ spend_updated_at: z.ZodNullable<z.ZodISODateTime>;
2441
+ spent_credits: z.ZodCoercedBigInt<unknown>;
2442
+ spent_micro_usd: z.ZodCoercedBigInt<unknown>;
2443
+ updated_by: z.ZodString;
2444
+ }, z.core.$strip>;
2445
+ export declare const zBudgetCreateRequest: z.ZodObject<{
2446
+ alert_percents: z.ZodOptional<z.ZodArray<z.ZodInt>>;
2447
+ ends_at: z.ZodOptional<z.ZodISODateTime>;
2448
+ limit_credits: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
2449
+ limit_micro_usd: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
2450
+ mode: z.ZodEnum<{
2451
+ hard: "hard";
2452
+ soft: "soft";
2453
+ }>;
2454
+ repeat: z.ZodOptional<z.ZodEnum<{
2455
+ current_period: "current_period";
2456
+ until: "until";
2457
+ indefinitely: "indefinitely";
2458
+ }>>;
2459
+ scope_id: z.ZodString;
2460
+ scope_kind: z.ZodEnum<{
2461
+ member: "member";
2462
+ workspace: "workspace";
2463
+ api_key: "api_key";
2464
+ deployment: "deployment";
2465
+ }>;
2466
+ }, z.core.$strip>;
2467
+ export declare const zBudgetList: z.ZodObject<{
2468
+ auto_top_up_conflict: z.ZodBoolean;
2469
+ budgets: z.ZodArray<z.ZodObject<{
2470
+ alert_percents: z.ZodArray<z.ZodInt>;
2471
+ alerts: z.ZodArray<z.ZodObject<{
2472
+ percent: z.ZodInt;
2473
+ sent_at: z.ZodISODateTime;
2474
+ status: z.ZodString;
2475
+ }, z.core.$strip>>;
2476
+ created_by: z.ZodString;
2477
+ ends_at: z.ZodNullable<z.ZodISODateTime>;
2478
+ id: z.ZodString;
2479
+ limit_credits: z.ZodCoercedBigInt<unknown>;
2480
+ limit_micro_usd: z.ZodCoercedBigInt<unknown>;
2481
+ mode: z.ZodEnum<{
2482
+ hard: "hard";
2483
+ soft: "soft";
2484
+ }>;
2485
+ percent_used: z.ZodCoercedBigInt<unknown>;
2486
+ repeat: z.ZodEnum<{
2487
+ current_period: "current_period";
2488
+ until: "until";
2489
+ indefinitely: "indefinitely";
2490
+ }>;
2491
+ resets_at: z.ZodNullable<z.ZodISODateTime>;
2492
+ scope_id: z.ZodString;
2493
+ scope_kind: z.ZodEnum<{
2494
+ member: "member";
2495
+ workspace: "workspace";
2496
+ api_key: "api_key";
2497
+ deployment: "deployment";
2498
+ }>;
2499
+ spend_updated_at: z.ZodNullable<z.ZodISODateTime>;
2500
+ spent_credits: z.ZodCoercedBigInt<unknown>;
2501
+ spent_micro_usd: z.ZodCoercedBigInt<unknown>;
2502
+ updated_by: z.ZodString;
2503
+ }, z.core.$strip>>;
2504
+ }, z.core.$strip>;
2505
+ export declare const zBudgetUpdateRequest: z.ZodObject<{
2506
+ alert_percents: z.ZodOptional<z.ZodArray<z.ZodInt>>;
2507
+ ends_at: z.ZodOptional<z.ZodISODateTime>;
2508
+ limit_credits: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
2509
+ limit_micro_usd: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
2510
+ mode: z.ZodOptional<z.ZodEnum<{
2511
+ hard: "hard";
2512
+ soft: "soft";
2513
+ }>>;
2514
+ repeat: z.ZodOptional<z.ZodEnum<{
2515
+ current_period: "current_period";
2516
+ until: "until";
2517
+ indefinitely: "indefinitely";
2518
+ }>>;
2519
+ }, z.core.$strip>;
2520
+ export declare const zBudgetWriteResult: z.ZodObject<{
2521
+ auto_top_up_conflict: z.ZodBoolean;
2522
+ budget: z.ZodObject<{
2523
+ alert_percents: z.ZodArray<z.ZodInt>;
2524
+ alerts: z.ZodArray<z.ZodObject<{
2525
+ percent: z.ZodInt;
2526
+ sent_at: z.ZodISODateTime;
2527
+ status: z.ZodString;
2528
+ }, z.core.$strip>>;
2529
+ created_by: z.ZodString;
2530
+ ends_at: z.ZodNullable<z.ZodISODateTime>;
2531
+ id: z.ZodString;
2532
+ limit_credits: z.ZodCoercedBigInt<unknown>;
2533
+ limit_micro_usd: z.ZodCoercedBigInt<unknown>;
2534
+ mode: z.ZodEnum<{
2535
+ hard: "hard";
2536
+ soft: "soft";
2537
+ }>;
2538
+ percent_used: z.ZodCoercedBigInt<unknown>;
2539
+ repeat: z.ZodEnum<{
2540
+ current_period: "current_period";
2541
+ until: "until";
2542
+ indefinitely: "indefinitely";
2543
+ }>;
2544
+ resets_at: z.ZodNullable<z.ZodISODateTime>;
2545
+ scope_id: z.ZodString;
2546
+ scope_kind: z.ZodEnum<{
2547
+ member: "member";
2548
+ workspace: "workspace";
2549
+ api_key: "api_key";
2550
+ deployment: "deployment";
2551
+ }>;
2552
+ spend_updated_at: z.ZodNullable<z.ZodISODateTime>;
2553
+ spent_credits: z.ZodCoercedBigInt<unknown>;
2554
+ spent_micro_usd: z.ZodCoercedBigInt<unknown>;
2555
+ updated_by: z.ZodString;
2556
+ }, z.core.$strip>;
2557
+ }, z.core.$strip>;
2302
2558
  /**
2303
2559
  * Response after bulk-revoking API keys for a workspace member.
2304
2560
  */
@@ -2616,6 +2872,7 @@ export declare const zCccPageRow: z.ZodObject<{
2616
2872
  has_live: z.ZodBoolean;
2617
2873
  held_until_start: z.ZodBoolean;
2618
2874
  is_deleted: z.ZodBoolean;
2875
+ on_desktop: z.ZodBoolean;
2619
2876
  on_hub: z.ZodBoolean;
2620
2877
  presentation: z.ZodObject<{
2621
2878
  preview: z.ZodOptional<z.ZodObject<{
@@ -2677,6 +2934,7 @@ export declare const zCccPagesPage: z.ZodObject<{
2677
2934
  has_live: z.ZodBoolean;
2678
2935
  held_until_start: z.ZodBoolean;
2679
2936
  is_deleted: z.ZodBoolean;
2937
+ on_desktop: z.ZodBoolean;
2680
2938
  on_hub: z.ZodBoolean;
2681
2939
  presentation: z.ZodObject<{
2682
2940
  preview: z.ZodOptional<z.ZodObject<{
@@ -3162,6 +3420,7 @@ export declare const zCccWebsiteRootTab: z.ZodObject<{
3162
3420
  sort_orders: z.ZodArray<z.ZodEnum<{
3163
3421
  name: "name";
3164
3422
  popular: "popular";
3423
+ newest: "newest";
3165
3424
  priceAsc: "priceAsc";
3166
3425
  priceDesc: "priceDesc";
3167
3426
  }>>;
@@ -3192,6 +3451,7 @@ export declare const zCccWebsiteRootTabs: z.ZodObject<{
3192
3451
  sort_orders: z.ZodArray<z.ZodEnum<{
3193
3452
  name: "name";
3194
3453
  popular: "popular";
3454
+ newest: "newest";
3195
3455
  priceAsc: "priceAsc";
3196
3456
  priceDesc: "priceDesc";
3197
3457
  }>>;
@@ -3221,6 +3481,7 @@ export declare const zCccWebsiteRootTabs: z.ZodObject<{
3221
3481
  sort_orders: z.ZodArray<z.ZodEnum<{
3222
3482
  name: "name";
3223
3483
  popular: "popular";
3484
+ newest: "newest";
3224
3485
  priceAsc: "priceAsc";
3225
3486
  priceDesc: "priceDesc";
3226
3487
  }>>;
@@ -3250,6 +3511,7 @@ export declare const zCccWebsiteRootTabs: z.ZodObject<{
3250
3511
  sort_orders: z.ZodArray<z.ZodEnum<{
3251
3512
  name: "name";
3252
3513
  popular: "popular";
3514
+ newest: "newest";
3253
3515
  priceAsc: "priceAsc";
3254
3516
  priceDesc: "priceDesc";
3255
3517
  }>>;
@@ -3415,6 +3677,7 @@ export declare const zCccWebsiteCardsPage: z.ZodObject<{
3415
3677
  sort_orders: z.ZodArray<z.ZodEnum<{
3416
3678
  name: "name";
3417
3679
  popular: "popular";
3680
+ newest: "newest";
3418
3681
  priceAsc: "priceAsc";
3419
3682
  priceDesc: "priceDesc";
3420
3683
  }>>;
@@ -3481,6 +3744,7 @@ export declare const zCccWebsiteRootPresentation: z.ZodObject<{
3481
3744
  sort_orders: z.ZodArray<z.ZodEnum<{
3482
3745
  name: "name";
3483
3746
  popular: "popular";
3747
+ newest: "newest";
3484
3748
  priceAsc: "priceAsc";
3485
3749
  priceDesc: "priceDesc";
3486
3750
  }>>;
@@ -3510,6 +3774,7 @@ export declare const zCccWebsiteRootPresentation: z.ZodObject<{
3510
3774
  sort_orders: z.ZodArray<z.ZodEnum<{
3511
3775
  name: "name";
3512
3776
  popular: "popular";
3777
+ newest: "newest";
3513
3778
  priceAsc: "priceAsc";
3514
3779
  priceDesc: "priceDesc";
3515
3780
  }>>;
@@ -3539,6 +3804,7 @@ export declare const zCccWebsiteRootPresentation: z.ZodObject<{
3539
3804
  sort_orders: z.ZodArray<z.ZodEnum<{
3540
3805
  name: "name";
3541
3806
  popular: "popular";
3807
+ newest: "newest";
3542
3808
  priceAsc: "priceAsc";
3543
3809
  priceDesc: "priceDesc";
3544
3810
  }>>;
@@ -5068,7 +5334,7 @@ export declare const zOAuthConsentChallengeWorkspace: z.ZodObject<{
5068
5334
  /**
5069
5335
  * The platform this authorization code will be delivered to, when the
5070
5336
  * request's validated redirect_uri is one of a known platform's own OAuth
5071
- * callbacks (ChatGPT, Claude). Derived server-side ONLY from the
5337
+ * callbacks (ChatGPT, Claude, Cursor). Derived server-side ONLY from the
5072
5338
  * redirect_uri this request was byte-matched against at GET time —
5073
5339
  * never from the registrant-supplied client_name — against a
5074
5340
  * version-controlled registry of exact callbacks and anchored callback
@@ -5076,8 +5342,10 @@ export declare const zOAuthConsentChallengeWorkspace: z.ZodObject<{
5076
5342
  * clients; omitted for first-party clients and for any redirect that is
5077
5343
  * not a registered platform callback. It verifies the destination
5078
5344
  * platform, NOT that the registrant is that platform's own app (any
5079
- * connector on the platform can hold such a callback), so consumers
5080
- * should label it by `display_name` and still show the redirect host.
5345
+ * connector on the platform can hold such a callback, and any local
5346
+ * process can listen on Cursor's loopback callback or claim its
5347
+ * `cursor://` scheme), so consumers should label it by `display_name`
5348
+ * and still show the redirect host.
5081
5349
  * `client_display_name` is unchanged and remains registrant-supplied.
5082
5350
  *
5083
5351
  */
@@ -5086,6 +5354,7 @@ export declare const zOAuthConsentVerifiedClient: z.ZodObject<{
5086
5354
  platform: z.ZodEnum<{
5087
5355
  chatgpt: "chatgpt";
5088
5356
  claude: "claude";
5357
+ cursor: "cursor";
5089
5358
  }>;
5090
5359
  }, z.core.$strip>;
5091
5360
  /**
@@ -5108,6 +5377,7 @@ export declare const zOAuthConsentChallenge: z.ZodObject<{
5108
5377
  platform: z.ZodEnum<{
5109
5378
  chatgpt: "chatgpt";
5110
5379
  claude: "claude";
5380
+ cursor: "cursor";
5111
5381
  }>;
5112
5382
  }, z.core.$strip>>;
5113
5383
  workspaces: z.ZodArray<z.ZodObject<{
@@ -5494,6 +5764,81 @@ export declare const zPromptInfo: z.ZodObject<{
5494
5764
  queue_remaining: z.ZodOptional<z.ZodInt>;
5495
5765
  }, z.core.$strip>>;
5496
5766
  }, z.core.$strip>;
5767
+ /**
5768
+ * One validation error as ComfyUI reports it, with tracebacks and every other field removed. type, message and details are each present only when ComfyUI sent them as strings.
5769
+ */
5770
+ export declare const zPromptOutputsSkippedValidationError: z.ZodObject<{
5771
+ details: z.ZodOptional<z.ZodString>;
5772
+ extra_info: z.ZodOptional<z.ZodObject<{
5773
+ input_name: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
5774
+ received_type: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
5775
+ received_value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
5776
+ }, z.core.$strip>>;
5777
+ message: z.ZodOptional<z.ZodString>;
5778
+ type: z.ZodOptional<z.ZodString>;
5779
+ }, z.core.$strip>;
5780
+ /**
5781
+ * One rejected node in a prompt_outputs_skipped event.
5782
+ */
5783
+ export declare const zPromptOutputsSkippedNodeError: z.ZodObject<{
5784
+ class_type: z.ZodString;
5785
+ dependent_outputs: z.ZodArray<z.ZodString>;
5786
+ errors: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
5787
+ details: z.ZodOptional<z.ZodString>;
5788
+ extra_info: z.ZodOptional<z.ZodObject<{
5789
+ input_name: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
5790
+ received_type: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
5791
+ received_value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
5792
+ }, z.core.$strip>>;
5793
+ message: z.ZodOptional<z.ZodString>;
5794
+ type: z.ZodOptional<z.ZodString>;
5795
+ }, z.core.$strip>]>>;
5796
+ }, z.core.$strip>;
5797
+ /**
5798
+ * 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.
5799
+ */
5800
+ export declare const zPromptOutputsSkippedData: z.ZodObject<{
5801
+ node_errors: z.ZodRecord<z.ZodString, z.ZodObject<{
5802
+ class_type: z.ZodString;
5803
+ dependent_outputs: z.ZodArray<z.ZodString>;
5804
+ errors: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
5805
+ details: z.ZodOptional<z.ZodString>;
5806
+ extra_info: z.ZodOptional<z.ZodObject<{
5807
+ input_name: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
5808
+ received_type: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
5809
+ received_value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
5810
+ }, z.core.$strip>>;
5811
+ message: z.ZodOptional<z.ZodString>;
5812
+ type: z.ZodOptional<z.ZodString>;
5813
+ }, z.core.$strip>]>>;
5814
+ }, z.core.$strip>>;
5815
+ prompt_id: z.ZodString;
5816
+ }, z.core.$strip>;
5817
+ /**
5818
+ * Server-to-client prompt_outputs_skipped frame on /ws. ComfyUI skipped some of a Cloud job's outputs because nodes failed validation.
5819
+ */
5820
+ export declare const zPromptOutputsSkippedFrame: z.ZodObject<{
5821
+ data: z.ZodObject<{
5822
+ node_errors: z.ZodRecord<z.ZodString, z.ZodObject<{
5823
+ class_type: z.ZodString;
5824
+ dependent_outputs: z.ZodArray<z.ZodString>;
5825
+ errors: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
5826
+ details: z.ZodOptional<z.ZodString>;
5827
+ extra_info: z.ZodOptional<z.ZodObject<{
5828
+ input_name: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
5829
+ received_type: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
5830
+ received_value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
5831
+ }, z.core.$strip>>;
5832
+ message: z.ZodOptional<z.ZodString>;
5833
+ type: z.ZodOptional<z.ZodString>;
5834
+ }, z.core.$strip>]>>;
5835
+ }, z.core.$strip>>;
5836
+ prompt_id: z.ZodString;
5837
+ }, z.core.$strip>;
5838
+ type: z.ZodEnum<{
5839
+ prompt_outputs_skipped: "prompt_outputs_skipped";
5840
+ }>;
5841
+ }, z.core.$strip>;
5497
5842
  /**
5498
5843
  * Request body for submitting a ComfyUI workflow prompt for execution.
5499
5844
  */
@@ -6743,6 +7088,8 @@ export declare const zBillingStatusResponse: z.ZodObject<{
6743
7088
  id: z.ZodString;
6744
7089
  stop_usd: z.ZodCoercedBigInt<unknown>;
6745
7090
  }, z.core.$strip>>;
7091
+ usage_period_end: z.ZodOptional<z.ZodISODateTime>;
7092
+ usage_period_start: z.ZodOptional<z.ZodISODateTime>;
6746
7093
  }, z.core.$strip>;
6747
7094
  /**
6748
7095
  * Credit-stop ladder for the pricing slider (BE-1254). Returned by GET /api/billing/plans for every workspace regardless of the caller's token or workspace type (the personal/team distinction was removed); omitted only when the catalog defines no stops.
@@ -7194,11 +7541,11 @@ export declare const zBillingOpStatusResponse: z.ZodObject<{
7194
7541
  amount_charged_cents: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
7195
7542
  authentication_deadline: z.ZodOptional<z.ZodISODateTime>;
7196
7543
  authentication_state: z.ZodOptional<z.ZodEnum<{
7544
+ succeeded: "succeeded";
7545
+ reconciliation_needed: "reconciliation_needed";
7197
7546
  requires_action: "requires_action";
7198
7547
  processing: "processing";
7199
7548
  failed_retryable: "failed_retryable";
7200
- succeeded: "succeeded";
7201
- reconciliation_needed: "reconciliation_needed";
7202
7549
  }>>;
7203
7550
  auto_top_up: z.ZodOptional<z.ZodObject<{
7204
7551
  monthly_budget_cents: z.ZodCoercedBigInt<unknown>;
@@ -7635,6 +7982,12 @@ export declare const zAssetMetadataResponse: z.ZodObject<{
7635
7982
  }, z.core.$strip>>>;
7636
7983
  }, z.core.$strip>>;
7637
7984
  }, z.core.$strip>;
7985
+ /**
7986
+ * The signed link `GET /api/view?redirect=false` answers with: the same link the 302 sends in `Location`, so it expires like that one.
7987
+ */
7988
+ export declare const zViewFileUrlResponse: z.ZodObject<{
7989
+ url: z.ZodString;
7990
+ }, z.core.$strip>;
7638
7991
  /**
7639
7992
  * The user a web session belongs to
7640
7993
  */
@@ -8034,6 +8387,8 @@ export declare const zBillingCapabilitiesResponse: z.ZodObject<{
8034
8387
  can_reactivate: z.ZodBoolean;
8035
8388
  can_revert_scheduled_change: z.ZodBoolean;
8036
8389
  can_run_workflows: z.ZodBoolean;
8390
+ can_set_budgets: z.ZodBoolean;
8391
+ can_set_hard_caps: z.ZodBoolean;
8037
8392
  can_subscribe_self_serve: z.ZodBoolean;
8038
8393
  can_top_up: z.ZodBoolean;
8039
8394
  can_upgrade: z.ZodBoolean;
@@ -8176,6 +8531,27 @@ export declare const zBillingCapabilitiesResponse: z.ZodObject<{
8176
8531
  user_cap_exceeded: "user_cap_exceeded";
8177
8532
  free_tier_exhausted: "free_tier_exhausted";
8178
8533
  }>>;
8534
+ can_set_budgets: z.ZodOptional<z.ZodEnum<{
8535
+ subscription_status_unrecognized: "subscription_status_unrecognized";
8536
+ creator_only_provisioning: "creator_only_provisioning";
8537
+ not_a_member: "not_a_member";
8538
+ not_workspace_owner: "not_workspace_owner";
8539
+ free_plan: "free_plan";
8540
+ no_subscription: "no_subscription";
8541
+ subscription_ended: "subscription_ended";
8542
+ subscription_not_started: "subscription_not_started";
8543
+ }>>;
8544
+ can_set_hard_caps: z.ZodOptional<z.ZodEnum<{
8545
+ subscription_status_unrecognized: "subscription_status_unrecognized";
8546
+ creator_only_provisioning: "creator_only_provisioning";
8547
+ not_a_member: "not_a_member";
8548
+ not_workspace_owner: "not_workspace_owner";
8549
+ free_plan: "free_plan";
8550
+ no_subscription: "no_subscription";
8551
+ subscription_ended: "subscription_ended";
8552
+ subscription_not_started: "subscription_not_started";
8553
+ plan_not_enterprise: "plan_not_enterprise";
8554
+ }>>;
8179
8555
  can_subscribe_self_serve: z.ZodOptional<z.ZodEnum<{
8180
8556
  subscription_status_unrecognized: "subscription_status_unrecognized";
8181
8557
  creator_only_provisioning: "creator_only_provisioning";
@@ -9206,6 +9582,8 @@ export declare const zListAssetsQuery: z.ZodObject<{
9206
9582
  workspace_library: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
9207
9583
  hash: z.ZodOptional<z.ZodString>;
9208
9584
  after: z.ZodOptional<z.ZodString>;
9585
+ capped_total: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
9586
+ include_total: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
9209
9587
  }, z.core.$strip>;
9210
9588
  /**
9211
9589
  * Success - Assets returned
@@ -9733,7 +10111,12 @@ export declare const zRedeemDesktopLoginCodeResponse: z.ZodObject<{
9733
10111
  }>;
9734
10112
  }, z.core.$strip>;
9735
10113
  export declare const zCreateBillingHandoffBody: z.ZodObject<{
10114
+ amount_cents: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
9736
10115
  client_version: z.ZodString;
10116
+ intent: z.ZodOptional<z.ZodEnum<{
10117
+ "top-up": "top-up";
10118
+ subscription: "subscription";
10119
+ }>>;
9737
10120
  receiver: z.ZodEnum<{
9738
10121
  billing_web: "billing_web";
9739
10122
  platform: "platform";
@@ -9752,6 +10135,18 @@ export declare const zCreateBillingHandoffResponse: z.ZodObject<{
9752
10135
  expires_at: z.ZodISODateTime;
9753
10136
  request_id: z.ZodString;
9754
10137
  }, z.core.$strip>;
10138
+ export declare const zCreateBillingHandoffCheckoutBody: z.ZodObject<{
10139
+ plan_slug: z.ZodString;
10140
+ team_credit_stop_id: z.ZodOptional<z.ZodString>;
10141
+ }, z.core.$strip>;
10142
+ /**
10143
+ * Handoff issued. `entry_url` is billing-web's handoff page with `intent=checkout`, `plan` and `team_credit_stop_id` (if any) in the query and the token in the fragment.
10144
+ */
10145
+ export declare const zCreateBillingHandoffCheckoutResponse: z.ZodObject<{
10146
+ entry_url: z.ZodString;
10147
+ expires_at: z.ZodISODateTime;
10148
+ request_id: z.ZodString;
10149
+ }, z.core.$strip>;
9755
10150
  export declare const zExchangeBillingHandoffBody: z.ZodObject<{
9756
10151
  token: z.ZodString;
9757
10152
  }, z.core.$strip>;
@@ -9856,6 +10251,7 @@ export declare const zRevokePartnerNodeSessionsResponse: z.ZodVoid;
9856
10251
  * Success
9857
10252
  */
9858
10253
  export declare const zGetBillingAutoReloadResponse: z.ZodObject<{
10254
+ auto_top_up_conflict: z.ZodBoolean;
9859
10255
  card_expiring_soon: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
9860
10256
  card_expiry: z.ZodNullable<z.ZodObject<{
9861
10257
  expired: z.ZodBoolean;
@@ -9905,6 +10301,7 @@ export declare const zPutBillingAutoReloadBody: z.ZodObject<{
9905
10301
  * The saved settings and current accounting
9906
10302
  */
9907
10303
  export declare const zPutBillingAutoReloadResponse: z.ZodObject<{
10304
+ auto_top_up_conflict: z.ZodBoolean;
9908
10305
  card_expiring_soon: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
9909
10306
  card_expiry: z.ZodNullable<z.ZodObject<{
9910
10307
  expired: z.ZodBoolean;
@@ -10016,6 +10413,196 @@ export declare const zGetBillingBalanceResponse: z.ZodObject<{
10016
10413
  prepaid_balance_micros: z.ZodOptional<z.ZodNumber>;
10017
10414
  suggested_topup_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodCoercedBigInt<unknown>>>;
10018
10415
  }, z.core.$strip>;
10416
+ /**
10417
+ * Success
10418
+ */
10419
+ export declare const zListBillingBudgetsResponse: z.ZodObject<{
10420
+ auto_top_up_conflict: z.ZodBoolean;
10421
+ budgets: z.ZodArray<z.ZodObject<{
10422
+ alert_percents: z.ZodArray<z.ZodInt>;
10423
+ alerts: z.ZodArray<z.ZodObject<{
10424
+ percent: z.ZodInt;
10425
+ sent_at: z.ZodISODateTime;
10426
+ status: z.ZodString;
10427
+ }, z.core.$strip>>;
10428
+ created_by: z.ZodString;
10429
+ ends_at: z.ZodNullable<z.ZodISODateTime>;
10430
+ id: z.ZodString;
10431
+ limit_credits: z.ZodCoercedBigInt<unknown>;
10432
+ limit_micro_usd: z.ZodCoercedBigInt<unknown>;
10433
+ mode: z.ZodEnum<{
10434
+ hard: "hard";
10435
+ soft: "soft";
10436
+ }>;
10437
+ percent_used: z.ZodCoercedBigInt<unknown>;
10438
+ repeat: z.ZodEnum<{
10439
+ current_period: "current_period";
10440
+ until: "until";
10441
+ indefinitely: "indefinitely";
10442
+ }>;
10443
+ resets_at: z.ZodNullable<z.ZodISODateTime>;
10444
+ scope_id: z.ZodString;
10445
+ scope_kind: z.ZodEnum<{
10446
+ member: "member";
10447
+ workspace: "workspace";
10448
+ api_key: "api_key";
10449
+ deployment: "deployment";
10450
+ }>;
10451
+ spend_updated_at: z.ZodNullable<z.ZodISODateTime>;
10452
+ spent_credits: z.ZodCoercedBigInt<unknown>;
10453
+ spent_micro_usd: z.ZodCoercedBigInt<unknown>;
10454
+ updated_by: z.ZodString;
10455
+ }, z.core.$strip>>;
10456
+ }, z.core.$strip>;
10457
+ export declare const zCreateBillingBudgetBody: z.ZodObject<{
10458
+ alert_percents: z.ZodOptional<z.ZodArray<z.ZodInt>>;
10459
+ ends_at: z.ZodOptional<z.ZodISODateTime>;
10460
+ limit_credits: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
10461
+ limit_micro_usd: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
10462
+ mode: z.ZodEnum<{
10463
+ hard: "hard";
10464
+ soft: "soft";
10465
+ }>;
10466
+ repeat: z.ZodOptional<z.ZodEnum<{
10467
+ current_period: "current_period";
10468
+ until: "until";
10469
+ indefinitely: "indefinitely";
10470
+ }>>;
10471
+ scope_id: z.ZodString;
10472
+ scope_kind: z.ZodEnum<{
10473
+ member: "member";
10474
+ workspace: "workspace";
10475
+ api_key: "api_key";
10476
+ deployment: "deployment";
10477
+ }>;
10478
+ }, z.core.$strip>;
10479
+ /**
10480
+ * The new budget
10481
+ */
10482
+ export declare const zCreateBillingBudgetResponse: z.ZodObject<{
10483
+ auto_top_up_conflict: z.ZodBoolean;
10484
+ budget: z.ZodObject<{
10485
+ alert_percents: z.ZodArray<z.ZodInt>;
10486
+ alerts: z.ZodArray<z.ZodObject<{
10487
+ percent: z.ZodInt;
10488
+ sent_at: z.ZodISODateTime;
10489
+ status: z.ZodString;
10490
+ }, z.core.$strip>>;
10491
+ created_by: z.ZodString;
10492
+ ends_at: z.ZodNullable<z.ZodISODateTime>;
10493
+ id: z.ZodString;
10494
+ limit_credits: z.ZodCoercedBigInt<unknown>;
10495
+ limit_micro_usd: z.ZodCoercedBigInt<unknown>;
10496
+ mode: z.ZodEnum<{
10497
+ hard: "hard";
10498
+ soft: "soft";
10499
+ }>;
10500
+ percent_used: z.ZodCoercedBigInt<unknown>;
10501
+ repeat: z.ZodEnum<{
10502
+ current_period: "current_period";
10503
+ until: "until";
10504
+ indefinitely: "indefinitely";
10505
+ }>;
10506
+ resets_at: z.ZodNullable<z.ZodISODateTime>;
10507
+ scope_id: z.ZodString;
10508
+ scope_kind: z.ZodEnum<{
10509
+ member: "member";
10510
+ workspace: "workspace";
10511
+ api_key: "api_key";
10512
+ deployment: "deployment";
10513
+ }>;
10514
+ spend_updated_at: z.ZodNullable<z.ZodISODateTime>;
10515
+ spent_credits: z.ZodCoercedBigInt<unknown>;
10516
+ spent_micro_usd: z.ZodCoercedBigInt<unknown>;
10517
+ updated_by: z.ZodString;
10518
+ }, z.core.$strip>;
10519
+ }, z.core.$strip>;
10520
+ export declare const zDeleteBillingBudgetPath: z.ZodObject<{
10521
+ id: z.ZodString;
10522
+ }, z.core.$strip>;
10523
+ /**
10524
+ * Archived
10525
+ */
10526
+ export declare const zDeleteBillingBudgetResponse: z.ZodVoid;
10527
+ export declare const zUpdateBillingBudgetBody: z.ZodObject<{
10528
+ alert_percents: z.ZodOptional<z.ZodArray<z.ZodInt>>;
10529
+ ends_at: z.ZodOptional<z.ZodISODateTime>;
10530
+ limit_credits: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
10531
+ limit_micro_usd: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
10532
+ mode: z.ZodOptional<z.ZodEnum<{
10533
+ hard: "hard";
10534
+ soft: "soft";
10535
+ }>>;
10536
+ repeat: z.ZodOptional<z.ZodEnum<{
10537
+ current_period: "current_period";
10538
+ until: "until";
10539
+ indefinitely: "indefinitely";
10540
+ }>>;
10541
+ }, z.core.$strip>;
10542
+ export declare const zUpdateBillingBudgetPath: z.ZodObject<{
10543
+ id: z.ZodString;
10544
+ }, z.core.$strip>;
10545
+ /**
10546
+ * The budget after the change
10547
+ */
10548
+ export declare const zUpdateBillingBudgetResponse: z.ZodObject<{
10549
+ auto_top_up_conflict: z.ZodBoolean;
10550
+ budget: z.ZodObject<{
10551
+ alert_percents: z.ZodArray<z.ZodInt>;
10552
+ alerts: z.ZodArray<z.ZodObject<{
10553
+ percent: z.ZodInt;
10554
+ sent_at: z.ZodISODateTime;
10555
+ status: z.ZodString;
10556
+ }, z.core.$strip>>;
10557
+ created_by: z.ZodString;
10558
+ ends_at: z.ZodNullable<z.ZodISODateTime>;
10559
+ id: z.ZodString;
10560
+ limit_credits: z.ZodCoercedBigInt<unknown>;
10561
+ limit_micro_usd: z.ZodCoercedBigInt<unknown>;
10562
+ mode: z.ZodEnum<{
10563
+ hard: "hard";
10564
+ soft: "soft";
10565
+ }>;
10566
+ percent_used: z.ZodCoercedBigInt<unknown>;
10567
+ repeat: z.ZodEnum<{
10568
+ current_period: "current_period";
10569
+ until: "until";
10570
+ indefinitely: "indefinitely";
10571
+ }>;
10572
+ resets_at: z.ZodNullable<z.ZodISODateTime>;
10573
+ scope_id: z.ZodString;
10574
+ scope_kind: z.ZodEnum<{
10575
+ member: "member";
10576
+ workspace: "workspace";
10577
+ api_key: "api_key";
10578
+ deployment: "deployment";
10579
+ }>;
10580
+ spend_updated_at: z.ZodNullable<z.ZodISODateTime>;
10581
+ spent_credits: z.ZodCoercedBigInt<unknown>;
10582
+ spent_micro_usd: z.ZodCoercedBigInt<unknown>;
10583
+ updated_by: z.ZodString;
10584
+ }, z.core.$strip>;
10585
+ }, z.core.$strip>;
10586
+ export declare const zGetBillingBudgetHistoryPath: z.ZodObject<{
10587
+ id: z.ZodString;
10588
+ }, z.core.$strip>;
10589
+ /**
10590
+ * Success
10591
+ */
10592
+ export declare const zGetBillingBudgetHistoryResponse: z.ZodObject<{
10593
+ changes: z.ZodArray<z.ZodObject<{
10594
+ action: z.ZodEnum<{
10595
+ archived: "archived";
10596
+ created: "created";
10597
+ updated: "updated";
10598
+ downgraded: "downgraded";
10599
+ }>;
10600
+ actor_user_id: z.ZodString;
10601
+ after: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
10602
+ before: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
10603
+ changed_at: z.ZodISODateTime;
10604
+ }, z.core.$strip>>;
10605
+ }, z.core.$strip>;
10019
10606
  /**
10020
10607
  * Effective billing capabilities
10021
10608
  */
@@ -10089,6 +10676,8 @@ export declare const zGetBillingCapabilitiesResponse: z.ZodObject<{
10089
10676
  can_reactivate: z.ZodBoolean;
10090
10677
  can_revert_scheduled_change: z.ZodBoolean;
10091
10678
  can_run_workflows: z.ZodBoolean;
10679
+ can_set_budgets: z.ZodBoolean;
10680
+ can_set_hard_caps: z.ZodBoolean;
10092
10681
  can_subscribe_self_serve: z.ZodBoolean;
10093
10682
  can_top_up: z.ZodBoolean;
10094
10683
  can_upgrade: z.ZodBoolean;
@@ -10231,6 +10820,27 @@ export declare const zGetBillingCapabilitiesResponse: z.ZodObject<{
10231
10820
  user_cap_exceeded: "user_cap_exceeded";
10232
10821
  free_tier_exhausted: "free_tier_exhausted";
10233
10822
  }>>;
10823
+ can_set_budgets: z.ZodOptional<z.ZodEnum<{
10824
+ subscription_status_unrecognized: "subscription_status_unrecognized";
10825
+ creator_only_provisioning: "creator_only_provisioning";
10826
+ not_a_member: "not_a_member";
10827
+ not_workspace_owner: "not_workspace_owner";
10828
+ free_plan: "free_plan";
10829
+ no_subscription: "no_subscription";
10830
+ subscription_ended: "subscription_ended";
10831
+ subscription_not_started: "subscription_not_started";
10832
+ }>>;
10833
+ can_set_hard_caps: z.ZodOptional<z.ZodEnum<{
10834
+ subscription_status_unrecognized: "subscription_status_unrecognized";
10835
+ creator_only_provisioning: "creator_only_provisioning";
10836
+ not_a_member: "not_a_member";
10837
+ not_workspace_owner: "not_workspace_owner";
10838
+ free_plan: "free_plan";
10839
+ no_subscription: "no_subscription";
10840
+ subscription_ended: "subscription_ended";
10841
+ subscription_not_started: "subscription_not_started";
10842
+ plan_not_enterprise: "plan_not_enterprise";
10843
+ }>>;
10234
10844
  can_subscribe_self_serve: z.ZodOptional<z.ZodEnum<{
10235
10845
  subscription_status_unrecognized: "subscription_status_unrecognized";
10236
10846
  creator_only_provisioning: "creator_only_provisioning";
@@ -10404,8 +11014,8 @@ export declare const zGetBillingEventsQuery: z.ZodObject<{
10404
11014
  limit: z.ZodDefault<z.ZodOptional<z.ZodInt>>;
10405
11015
  scope: z.ZodOptional<z.ZodEnum<{
10406
11016
  user: "user";
10407
- self: "self";
10408
11017
  workspace: "workspace";
11018
+ self: "self";
10409
11019
  }>>;
10410
11020
  user_id: z.ZodOptional<z.ZodString>;
10411
11021
  spend_source: z.ZodOptional<z.ZodString>;
@@ -10450,11 +11060,11 @@ export declare const zGetBillingOpStatusResponse: z.ZodObject<{
10450
11060
  amount_charged_cents: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
10451
11061
  authentication_deadline: z.ZodOptional<z.ZodISODateTime>;
10452
11062
  authentication_state: z.ZodOptional<z.ZodEnum<{
11063
+ succeeded: "succeeded";
11064
+ reconciliation_needed: "reconciliation_needed";
10453
11065
  requires_action: "requires_action";
10454
11066
  processing: "processing";
10455
11067
  failed_retryable: "failed_retryable";
10456
- succeeded: "succeeded";
10457
- reconciliation_needed: "reconciliation_needed";
10458
11068
  }>>;
10459
11069
  auto_top_up: z.ZodOptional<z.ZodObject<{
10460
11070
  monthly_budget_cents: z.ZodCoercedBigInt<unknown>;
@@ -10588,6 +11198,20 @@ export declare const zCancelBillingOpResponse: z.ZodObject<{
10588
11198
  cancel_requested: "cancel_requested";
10589
11199
  }>;
10590
11200
  }, z.core.$strip>;
11201
+ export declare const zGetBillingOpOutcomePath: z.ZodObject<{
11202
+ id: z.ZodString;
11203
+ }, z.core.$strip>;
11204
+ /**
11205
+ * Billing operation outcome
11206
+ */
11207
+ export declare const zGetBillingOpOutcomeResponse: z.ZodObject<{
11208
+ status: z.ZodEnum<{
11209
+ failed: "failed";
11210
+ pending: "pending";
11211
+ succeeded: "succeeded";
11212
+ reconciliation_needed: "reconciliation_needed";
11213
+ }>;
11214
+ }, z.core.$strip>;
10591
11215
  /**
10592
11216
  * Saved payment methods
10593
11217
  */
@@ -11060,6 +11684,8 @@ export declare const zGetBillingStatusResponse: z.ZodObject<{
11060
11684
  id: z.ZodString;
11061
11685
  stop_usd: z.ZodCoercedBigInt<unknown>;
11062
11686
  }, z.core.$strip>>;
11687
+ usage_period_end: z.ZodOptional<z.ZodISODateTime>;
11688
+ usage_period_start: z.ZodOptional<z.ZodISODateTime>;
11063
11689
  }, z.core.$strip>;
11064
11690
  export declare const zSubscribeBody: z.ZodObject<{
11065
11691
  billing_cycle: z.ZodOptional<z.ZodEnum<{
@@ -11480,6 +12106,7 @@ export declare const zGetFeaturesResponse: z.ZodObject<{
11480
12106
  model_upload_folders: z.ZodOptional<z.ZodArray<z.ZodString>>;
11481
12107
  new_free_tier_subscriptions: z.ZodOptional<z.ZodBoolean>;
11482
12108
  open_on_cloud_enabled: z.ZodOptional<z.ZodBoolean>;
12109
+ open_on_cloud_use_local_agent_enabled: z.ZodOptional<z.ZodBoolean>;
11483
12110
  private_workflow_links_enabled: z.ZodOptional<z.ZodBoolean>;
11484
12111
  sso_enabled: z.ZodOptional<z.ZodBoolean>;
11485
12112
  stripe_publishable_key: z.ZodOptional<z.ZodString>;
@@ -12116,6 +12743,7 @@ export declare const zListJobsQuery: z.ZodObject<{
12116
12743
  after: z.ZodOptional<z.ZodString>;
12117
12744
  offset: z.ZodDefault<z.ZodOptional<z.ZodInt>>;
12118
12745
  limit: z.ZodDefault<z.ZodOptional<z.ZodInt>>;
12746
+ capped_total: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
12119
12747
  }, z.core.$strip>;
12120
12748
  /**
12121
12749
  * Success - Jobs retrieved
@@ -12916,7 +13544,7 @@ export declare const zGetCccActivityResponse: z.ZodObject<{
12916
13544
  next_cursor: z.ZodOptional<z.ZodString>;
12917
13545
  }, z.core.$strip>;
12918
13546
  /**
12919
- * Editing instructions from this deployed catalog API build
13547
+ * Editing instructions from this deployed catalog API build; private no-store
12920
13548
  */
12921
13549
  export declare const zGetCatalogAgentInstructionsResponse: z.ZodString;
12922
13550
  /**
@@ -12958,6 +13586,7 @@ export declare const zListCccWebsiteCardsQuery: z.ZodObject<{
12958
13586
  sort: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
12959
13587
  name: "name";
12960
13588
  popular: "popular";
13589
+ newest: "newest";
12961
13590
  priceAsc: "priceAsc";
12962
13591
  priceDesc: "priceDesc";
12963
13592
  }>>>;
@@ -13025,6 +13654,7 @@ export declare const zListCccWebsiteCardsResponse: z.ZodObject<{
13025
13654
  sort_orders: z.ZodArray<z.ZodEnum<{
13026
13655
  name: "name";
13027
13656
  popular: "popular";
13657
+ newest: "newest";
13028
13658
  priceAsc: "priceAsc";
13029
13659
  priceDesc: "priceDesc";
13030
13660
  }>>;
@@ -13062,10 +13692,6 @@ export declare const zGetCccCreatorResponse: z.ZodObject<{
13062
13692
  }, z.core.$strip>>;
13063
13693
  username: z.ZodString;
13064
13694
  }, z.core.$strip>;
13065
- /**
13066
- * Build-coupled catalog instructions, permissions and endpoint contracts
13067
- */
13068
- export declare const zGetCatalogDocsResponse: z.ZodString;
13069
13695
  export declare const zBatchCccItemsBody: z.ZodObject<{
13070
13696
  expected_draft_rev: z.ZodCoercedBigInt<unknown>;
13071
13697
  items: z.ZodArray<z.ZodObject<{
@@ -13866,7 +14492,7 @@ export declare const zListCccWebsiteModelDirectoryResponse: z.ZodObject<{
13866
14492
  revision_id: z.ZodCoercedBigInt<unknown>;
13867
14493
  }, z.core.$strip>;
13868
14494
  /**
13869
- * Catalog OpenAPI with contract fingerprint and environment
14495
+ * Catalog OpenAPI with contract fingerprint and environment; private no-store
13870
14496
  */
13871
14497
  export declare const zGetCatalogOpenApiResponse: z.ZodObject<{
13872
14498
  catalog_rev: z.ZodOptional<z.ZodReadonly<z.ZodCoercedBigInt<unknown>>>;
@@ -13928,6 +14554,7 @@ export declare const zListCccAdminItemsResponse: z.ZodObject<{
13928
14554
  has_live: z.ZodBoolean;
13929
14555
  held_until_start: z.ZodBoolean;
13930
14556
  is_deleted: z.ZodBoolean;
14557
+ on_desktop: z.ZodBoolean;
13931
14558
  on_hub: z.ZodBoolean;
13932
14559
  presentation: z.ZodObject<{
13933
14560
  preview: z.ZodOptional<z.ZodObject<{
@@ -14155,6 +14782,7 @@ export declare const zGetCccWebsiteRootPresentationResponse: z.ZodObject<{
14155
14782
  sort_orders: z.ZodArray<z.ZodEnum<{
14156
14783
  name: "name";
14157
14784
  popular: "popular";
14785
+ newest: "newest";
14158
14786
  priceAsc: "priceAsc";
14159
14787
  priceDesc: "priceDesc";
14160
14788
  }>>;
@@ -14184,6 +14812,7 @@ export declare const zGetCccWebsiteRootPresentationResponse: z.ZodObject<{
14184
14812
  sort_orders: z.ZodArray<z.ZodEnum<{
14185
14813
  name: "name";
14186
14814
  popular: "popular";
14815
+ newest: "newest";
14187
14816
  priceAsc: "priceAsc";
14188
14817
  priceDesc: "priceDesc";
14189
14818
  }>>;
@@ -14213,6 +14842,7 @@ export declare const zGetCccWebsiteRootPresentationResponse: z.ZodObject<{
14213
14842
  sort_orders: z.ZodArray<z.ZodEnum<{
14214
14843
  name: "name";
14215
14844
  popular: "popular";
14845
+ newest: "newest";
14216
14846
  priceAsc: "priceAsc";
14217
14847
  priceDesc: "priceDesc";
14218
14848
  }>>;
@@ -14362,12 +14992,15 @@ export declare const zViewFileQuery: z.ZodObject<{
14362
14992
  timestamp: z.ZodOptional<z.ZodInt>;
14363
14993
  channel: z.ZodOptional<z.ZodString>;
14364
14994
  res: z.ZodOptional<z.ZodInt>;
14995
+ redirect: z.ZodOptional<z.ZodString>;
14365
14996
  workspace_id: z.ZodOptional<z.ZodString>;
14366
14997
  }, z.core.$strip>;
14367
14998
  /**
14368
- * Resized JPEG thumbnail (returned when res parameter is used)
14999
+ * Success - File content returned (used when channel or res parameter is present), or, with `redirect=false`, the signed link as JSON with `Cache-Control: no-store`.
14369
15000
  */
14370
- export declare const zViewFileResponse: z.ZodString;
15001
+ export declare const zViewFileResponse: z.ZodObject<{
15002
+ url: z.ZodString;
15003
+ }, z.core.$strip>;
14371
15004
  export declare const zGetLegacyViewMetadataPath: z.ZodObject<{
14372
15005
  folder_name: z.ZodString;
14373
15006
  }, z.core.$strip>;
@@ -15144,6 +15777,7 @@ export declare const zGetOAuthAuthorizeResponse: z.ZodObject<{
15144
15777
  platform: z.ZodEnum<{
15145
15778
  chatgpt: "chatgpt";
15146
15779
  claude: "claude";
15780
+ cursor: "cursor";
15147
15781
  }>;
15148
15782
  }, z.core.$strip>>;
15149
15783
  workspaces: z.ZodArray<z.ZodObject<{