@comfyorg/ingest-types 1.7.3 → 1.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/zod.gen.d.ts CHANGED
@@ -315,7 +315,7 @@ export declare const zAgentLlmOpenAiError: z.ZodObject<{
315
315
  }, z.core.$strip>;
316
316
  }, z.core.$strip>;
317
317
  /**
318
- * An explicit exact model selection. Unknown properties are refused with 400 so a newer intent is never silently ignored by an older server.
318
+ * The model for this send. With `option_id` it is a selection's `send` object from GET /api/agent/features, posted verbatim; without it, an exact model id (an eval or a script). Unknown properties are refused with 400 so a newer intent is never silently ignored by an older server. The role name `title` is refused with 422 `model_unavailable`.
319
319
  */
320
320
  export declare const zAgentModelSelection: z.ZodObject<{
321
321
  model_id: z.ZodString;
@@ -368,7 +368,7 @@ export declare const zAgentFeatures: z.ZodObject<{
368
368
  }, z.core.$strip>>>;
369
369
  }, z.core.$strip>;
370
370
  /**
371
- * The immutable model selection receipt for an accepted turn.
371
+ * The immutable model selection receipt for an accepted exact-id turn (a `model_selection` with no `option_id`); no other send gets one.
372
372
  */
373
373
  export declare const zAgentModelReceipt: z.ZodObject<{
374
374
  contract: z.ZodEnum<{
@@ -1300,7 +1300,7 @@ export declare const zAgentToolCallFrame: z.ZodObject<{
1300
1300
  }>;
1301
1301
  }, z.core.$strip>;
1302
1302
  /**
1303
- * Acknowledgement that a turn was accepted. The agent runs asynchronously; output streams over the WebSocket (agent_message_delta, agent_tool_call, agent_message_done); canvas edits arrive as doc_update frames. The model selection receipt is present when the backend supports its configured wire. A client that requested selection must treat a missing receipt as selection not applied.
1303
+ * Acknowledgement that a turn was accepted. The agent runs asynchronously; output streams over the WebSocket (agent_message_delta, agent_tool_call, agent_message_done); canvas edits arrive as doc_update frames. `model_selection`, the receipt, answers an exact-id request (a `model_selection` with no `option_id`, as an eval sends) and nothing else: the 202 for a send with no `model_selection`, or with an `option_id` (a selection from GET /api/agent/features), has no `model_selection` key. A client that sent an exact-id request must treat a missing receipt as selection not applied (a backend that predates the contract). The frontend needs no receipt: the next features read shows the thread's selection.
1304
1304
  */
1305
1305
  export declare const zAgentTurnAccepted: z.ZodObject<{
1306
1306
  message_id: z.ZodString;
@@ -6042,6 +6042,13 @@ export declare const zPlanAvailability: z.ZodObject<{
6042
6042
  requires_personal: "requires_personal";
6043
6043
  }>>;
6044
6044
  }, z.core.$strip>;
6045
+ /**
6046
+ * A project named by a plan change.
6047
+ */
6048
+ export declare const zPlanChangeProject: z.ZodObject<{
6049
+ id: z.ZodString;
6050
+ name: z.ZodString;
6051
+ }, z.core.$strip>;
6045
6052
  export declare const zPlanFeatureItem: z.ZodObject<{
6046
6053
  key: z.ZodEnum<{
6047
6054
  shortRuntime: "shortRuntime";
@@ -6064,6 +6071,16 @@ export declare const zPlanFeatureItem: z.ZodObject<{
6064
6071
  }>;
6065
6072
  text: z.ZodString;
6066
6073
  }, z.core.$strip>;
6074
+ /**
6075
+ * What a plan change does to the workspace's projects, judged by the same rule that freezes them. It answers whether the downgrade confirmation must name projects that freeze, or say that nothing freezes and only new projects are blocked. The change applies when the plan change takes effect (effective_at on the preview, the end date for a cancellation). Both fields empty or false means the change does nothing to projects and needs no projects confirmation. It is not a permission: subscribe and cancel do not check it, and it does not say who may manage projects.
6076
+ */
6077
+ export declare const zPlanProjectChange: z.ZodObject<{
6078
+ freezes_projects: z.ZodArray<z.ZodObject<{
6079
+ id: z.ZodString;
6080
+ name: z.ZodString;
6081
+ }, z.core.$strip>>;
6082
+ over_project_limit: z.ZodBoolean;
6083
+ }, z.core.$strip>;
6067
6084
  /**
6068
6085
  * Summary of seat costs based on current workspace members
6069
6086
  */
@@ -6092,6 +6109,33 @@ export declare const zPreviousPlan: z.ZodObject<{
6092
6109
  plan_slug: z.ZodString;
6093
6110
  team_credit_stop_id: z.ZodOptional<z.ZodString>;
6094
6111
  }, z.core.$strip>;
6112
+ /**
6113
+ * What the caller may do to one project member, from the same checks the member routes make. Render each as received; do not rebuild them from `my_role`, `permissions` or the workspace role. Read them per row: a rule may depend on the member. Neither is permission to add someone; that is `GET /api/projects/{id}/member-candidates`.
6114
+ */
6115
+ export declare const zProjectMemberCapabilities: z.ZodObject<{
6116
+ can_change_role: z.ZodBoolean;
6117
+ can_remove: z.ZodBoolean;
6118
+ }, z.core.$strip>;
6119
+ /**
6120
+ * `permission_denied`: the caller does not manage the project's members (`project.members` write). `project_frozen`: the project is frozen and takes no role changes; it still takes removals. New values may be added.
6121
+ */
6122
+ export declare const zProjectMemberDenialReason: z.ZodEnum<{
6123
+ permission_denied: "permission_denied";
6124
+ project_frozen: "project_frozen";
6125
+ }>;
6126
+ /**
6127
+ * Why a capability is false, keyed by the capability. The value names the rule that refused, not wording: the client owns the message. A missing key is not a grant.
6128
+ */
6129
+ export declare const zProjectMemberDenials: z.ZodObject<{
6130
+ can_change_role: z.ZodOptional<z.ZodEnum<{
6131
+ permission_denied: "permission_denied";
6132
+ project_frozen: "project_frozen";
6133
+ }>>;
6134
+ can_remove: z.ZodOptional<z.ZodEnum<{
6135
+ permission_denied: "permission_denied";
6136
+ project_frozen: "project_frozen";
6137
+ }>>;
6138
+ }, z.core.$strip>;
6095
6139
  /**
6096
6140
  * 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
6141
  */
@@ -6164,12 +6208,37 @@ export declare const zProjectPermissions: z.ZodObject<{
6164
6208
  write_all: "write_all";
6165
6209
  }>>;
6166
6210
  }, z.core.$strip>;
6211
+ /**
6212
+ * Why the caller may not create a project. `permission_denied`: the caller does not hold `workspace.projects` write (only owners and Workspace admins do), whatever the workspace's limit; hide "New project" rather than show a limit. A create answers 403 `permission_denied`. `limit_reached`: the caller may create projects but the workspace has as many as its plan allows; show the project limit and a way to change plans. A create answers 409 `project_limit_reached`. `frozen`: the caller may create projects but the workspace's plan no longer includes Projects, so its projects are read-only and none can be created until the plan includes Projects again. A create answers 403 `projects_not_available`. A caller without permission is answered `permission_denied` even when the workspace is also at its limit or frozen. Treat a value not listed here as "may not create".
6213
+ */
6214
+ export declare const zProjectQuotaCreateDenialReason: z.ZodEnum<{
6215
+ frozen: "frozen";
6216
+ permission_denied: "permission_denied";
6217
+ limit_reached: "limit_reached";
6218
+ }>;
6219
+ /**
6220
+ * Why a quota fact is false, keyed by the fact. The value names the rule that refused, not wording: the client owns the message. A missing key is not a grant.
6221
+ */
6222
+ export declare const zProjectQuotaDenials: z.ZodObject<{
6223
+ can_create: z.ZodOptional<z.ZodEnum<{
6224
+ frozen: "frozen";
6225
+ permission_denied: "permission_denied";
6226
+ limit_reached: "limit_reached";
6227
+ }>>;
6228
+ }, z.core.$strip>;
6167
6229
  /**
6168
6230
  * How many projects the workspace may have and has.
6169
6231
  */
6170
6232
  export declare const zProjectQuota: z.ZodObject<{
6171
6233
  active: z.ZodInt;
6172
6234
  can_create: z.ZodBoolean;
6235
+ denied_reasons: z.ZodOptional<z.ZodObject<{
6236
+ can_create: z.ZodOptional<z.ZodEnum<{
6237
+ frozen: "frozen";
6238
+ permission_denied: "permission_denied";
6239
+ limit_reached: "limit_reached";
6240
+ }>>;
6241
+ }, z.core.$strip>>;
6173
6242
  max_active: z.ZodInt;
6174
6243
  }, z.core.$strip>;
6175
6244
  /**
@@ -6189,6 +6258,7 @@ export declare const zProject: z.ZodObject<{
6189
6258
  description: z.ZodOptional<z.ZodString>;
6190
6259
  id: z.ZodString;
6191
6260
  is_default: z.ZodBoolean;
6261
+ member_count: z.ZodOptional<z.ZodInt>;
6192
6262
  my_role: z.ZodOptional<z.ZodEnum<{
6193
6263
  runner: "runner";
6194
6264
  builder: "builder";
@@ -6268,6 +6338,7 @@ export declare const zListProjectsResponse: z.ZodObject<{
6268
6338
  description: z.ZodOptional<z.ZodString>;
6269
6339
  id: z.ZodString;
6270
6340
  is_default: z.ZodBoolean;
6341
+ member_count: z.ZodOptional<z.ZodInt>;
6271
6342
  my_role: z.ZodOptional<z.ZodEnum<{
6272
6343
  runner: "runner";
6273
6344
  builder: "builder";
@@ -6341,6 +6412,13 @@ export declare const zListProjectsResponse: z.ZodObject<{
6341
6412
  quota: z.ZodObject<{
6342
6413
  active: z.ZodInt;
6343
6414
  can_create: z.ZodBoolean;
6415
+ denied_reasons: z.ZodOptional<z.ZodObject<{
6416
+ can_create: z.ZodOptional<z.ZodEnum<{
6417
+ frozen: "frozen";
6418
+ permission_denied: "permission_denied";
6419
+ limit_reached: "limit_reached";
6420
+ }>>;
6421
+ }, z.core.$strip>>;
6344
6422
  max_active: z.ZodInt;
6345
6423
  }, z.core.$strip>;
6346
6424
  }, z.core.$strip>;
@@ -6349,7 +6427,21 @@ export declare const zListProjectsResponse: z.ZodObject<{
6349
6427
  */
6350
6428
  export declare const zProjectMember: z.ZodObject<{
6351
6429
  added_by_user_id: z.ZodOptional<z.ZodString>;
6430
+ capabilities: z.ZodOptional<z.ZodObject<{
6431
+ can_change_role: z.ZodBoolean;
6432
+ can_remove: z.ZodBoolean;
6433
+ }, z.core.$strip>>;
6352
6434
  create_time: z.ZodISODateTime;
6435
+ denied_reasons: z.ZodOptional<z.ZodObject<{
6436
+ can_change_role: z.ZodOptional<z.ZodEnum<{
6437
+ permission_denied: "permission_denied";
6438
+ project_frozen: "project_frozen";
6439
+ }>>;
6440
+ can_remove: z.ZodOptional<z.ZodEnum<{
6441
+ permission_denied: "permission_denied";
6442
+ project_frozen: "project_frozen";
6443
+ }>>;
6444
+ }, z.core.$strip>>;
6353
6445
  email: z.ZodString;
6354
6446
  name: z.ZodString;
6355
6447
  role: z.ZodEnum<{
@@ -6359,23 +6451,6 @@ export declare const zProjectMember: z.ZodObject<{
6359
6451
  }>;
6360
6452
  user_id: z.ZodString;
6361
6453
  }, 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
6454
  /**
6380
6455
  * A workspace member to add to a project, with their project role.
6381
6456
  */
@@ -6403,6 +6478,101 @@ export declare const zCreateProjectRequest: z.ZodObject<{
6403
6478
  name: z.ZodString;
6404
6479
  shared_cloud_allowed: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
6405
6480
  }, z.core.$strip>;
6481
+ /**
6482
+ * How someone reaches every project of the workspace through their workspace role: as an owner, or as a Workspace admin. Either acts as a Project admin in the project. Not a project role, and not a membership: they cannot be removed from the project or given a role there; that is a change to their workspace role.
6483
+ */
6484
+ export declare const zProjectWorkspaceAccess: z.ZodEnum<{
6485
+ workspace_owner: "workspace_owner";
6486
+ workspace_admin: "workspace_admin";
6487
+ }>;
6488
+ /**
6489
+ * A workspace member the caller may add to the project.
6490
+ */
6491
+ export declare const zProjectMemberCandidate: z.ZodObject<{
6492
+ email: z.ZodString;
6493
+ name: z.ZodString;
6494
+ roles: z.ZodArray<z.ZodEnum<{
6495
+ runner: "runner";
6496
+ builder: "builder";
6497
+ project_admin: "project_admin";
6498
+ }>>;
6499
+ user_id: z.ZodString;
6500
+ workspace_access: z.ZodOptional<z.ZodEnum<{
6501
+ workspace_owner: "workspace_owner";
6502
+ workspace_admin: "workspace_admin";
6503
+ }>>;
6504
+ }, z.core.$strip>;
6505
+ /**
6506
+ * The people the caller may add to a project.
6507
+ */
6508
+ export declare const zListProjectMemberCandidatesResponse: z.ZodObject<{
6509
+ candidates: z.ZodArray<z.ZodObject<{
6510
+ email: z.ZodString;
6511
+ name: z.ZodString;
6512
+ roles: z.ZodArray<z.ZodEnum<{
6513
+ runner: "runner";
6514
+ builder: "builder";
6515
+ project_admin: "project_admin";
6516
+ }>>;
6517
+ user_id: z.ZodString;
6518
+ workspace_access: z.ZodOptional<z.ZodEnum<{
6519
+ workspace_owner: "workspace_owner";
6520
+ workspace_admin: "workspace_admin";
6521
+ }>>;
6522
+ }, z.core.$strip>>;
6523
+ }, z.core.$strip>;
6524
+ /**
6525
+ * A person who reaches the project through their workspace role.
6526
+ */
6527
+ export declare const zProjectWorkspaceAccessMember: z.ZodObject<{
6528
+ access: z.ZodEnum<{
6529
+ workspace_owner: "workspace_owner";
6530
+ workspace_admin: "workspace_admin";
6531
+ }>;
6532
+ email: z.ZodString;
6533
+ name: z.ZodString;
6534
+ user_id: z.ZodString;
6535
+ }, z.core.$strip>;
6536
+ /**
6537
+ * The people in a project.
6538
+ */
6539
+ export declare const zListProjectMembersResponse: z.ZodObject<{
6540
+ members: z.ZodArray<z.ZodObject<{
6541
+ added_by_user_id: z.ZodOptional<z.ZodString>;
6542
+ capabilities: z.ZodOptional<z.ZodObject<{
6543
+ can_change_role: z.ZodBoolean;
6544
+ can_remove: z.ZodBoolean;
6545
+ }, z.core.$strip>>;
6546
+ create_time: z.ZodISODateTime;
6547
+ denied_reasons: z.ZodOptional<z.ZodObject<{
6548
+ can_change_role: z.ZodOptional<z.ZodEnum<{
6549
+ permission_denied: "permission_denied";
6550
+ project_frozen: "project_frozen";
6551
+ }>>;
6552
+ can_remove: z.ZodOptional<z.ZodEnum<{
6553
+ permission_denied: "permission_denied";
6554
+ project_frozen: "project_frozen";
6555
+ }>>;
6556
+ }, z.core.$strip>>;
6557
+ email: z.ZodString;
6558
+ name: z.ZodString;
6559
+ role: z.ZodEnum<{
6560
+ runner: "runner";
6561
+ builder: "builder";
6562
+ project_admin: "project_admin";
6563
+ }>;
6564
+ user_id: z.ZodString;
6565
+ }, z.core.$strip>>;
6566
+ workspace_access: z.ZodOptional<z.ZodArray<z.ZodObject<{
6567
+ access: z.ZodEnum<{
6568
+ workspace_owner: "workspace_owner";
6569
+ workspace_admin: "workspace_admin";
6570
+ }>;
6571
+ email: z.ZodString;
6572
+ name: z.ZodString;
6573
+ user_id: z.ZodString;
6574
+ }, z.core.$strip>>>;
6575
+ }, z.core.$strip>;
6406
6576
  /**
6407
6577
  * Error response for ComfyUI prompt execution.
6408
6578
  */
@@ -7612,6 +7782,13 @@ export declare const zPlan: z.ZodObject<{
7612
7782
  max_seats: z.ZodCoercedBigInt<unknown>;
7613
7783
  popular: z.ZodOptional<z.ZodBoolean>;
7614
7784
  price_cents: z.ZodCoercedBigInt<unknown>;
7785
+ project_change: z.ZodOptional<z.ZodObject<{
7786
+ freezes_projects: z.ZodArray<z.ZodObject<{
7787
+ id: z.ZodString;
7788
+ name: z.ZodString;
7789
+ }, z.core.$strip>>;
7790
+ over_project_limit: z.ZodBoolean;
7791
+ }, z.core.$strip>>;
7615
7792
  seat_summary: z.ZodObject<{
7616
7793
  seat_count: z.ZodInt;
7617
7794
  total_cost_cents: z.ZodCoercedBigInt<unknown>;
@@ -7755,6 +7932,13 @@ export declare const zPreviewSubscribeResponse: z.ZodObject<{
7755
7932
  }>;
7756
7933
  }, z.core.$strip>;
7757
7934
  payment_method_configuration_id: z.ZodOptional<z.ZodString>;
7935
+ project_change: z.ZodOptional<z.ZodObject<{
7936
+ freezes_projects: z.ZodArray<z.ZodObject<{
7937
+ id: z.ZodString;
7938
+ name: z.ZodString;
7939
+ }, z.core.$strip>>;
7940
+ over_project_limit: z.ZodBoolean;
7941
+ }, z.core.$strip>>;
7758
7942
  promotion_code: z.ZodOptional<z.ZodString>;
7759
7943
  proration_at: z.ZodOptional<z.ZodISODateTime>;
7760
7944
  proration_remaining_cents: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
@@ -7923,6 +8107,13 @@ export declare const zTeamCreditStopPrice: z.ZodObject<{
7923
8107
  list_price_cents: z.ZodCoercedBigInt<unknown>;
7924
8108
  period_charge_cents: z.ZodCoercedBigInt<unknown>;
7925
8109
  price_cents: z.ZodCoercedBigInt<unknown>;
8110
+ project_change: z.ZodOptional<z.ZodObject<{
8111
+ freezes_projects: z.ZodArray<z.ZodObject<{
8112
+ id: z.ZodString;
8113
+ name: z.ZodString;
8114
+ }, z.core.$strip>>;
8115
+ over_project_limit: z.ZodBoolean;
8116
+ }, z.core.$strip>>;
7926
8117
  }, z.core.$strip>;
7927
8118
  /**
7928
8119
  * A selectable preset on the team pricing slider. Echoed on subscribe via
@@ -7962,6 +8153,13 @@ export declare const zTeamCreditStop: z.ZodObject<{
7962
8153
  list_price_cents: z.ZodCoercedBigInt<unknown>;
7963
8154
  period_charge_cents: z.ZodCoercedBigInt<unknown>;
7964
8155
  price_cents: z.ZodCoercedBigInt<unknown>;
8156
+ project_change: z.ZodOptional<z.ZodObject<{
8157
+ freezes_projects: z.ZodArray<z.ZodObject<{
8158
+ id: z.ZodString;
8159
+ name: z.ZodString;
8160
+ }, z.core.$strip>>;
8161
+ over_project_limit: z.ZodBoolean;
8162
+ }, z.core.$strip>>;
7965
8163
  }, z.core.$strip>;
7966
8164
  yearly: z.ZodObject<{
7967
8165
  action: z.ZodEnum<{
@@ -7991,6 +8189,13 @@ export declare const zTeamCreditStop: z.ZodObject<{
7991
8189
  list_price_cents: z.ZodCoercedBigInt<unknown>;
7992
8190
  period_charge_cents: z.ZodCoercedBigInt<unknown>;
7993
8191
  price_cents: z.ZodCoercedBigInt<unknown>;
8192
+ project_change: z.ZodOptional<z.ZodObject<{
8193
+ freezes_projects: z.ZodArray<z.ZodObject<{
8194
+ id: z.ZodString;
8195
+ name: z.ZodString;
8196
+ }, z.core.$strip>>;
8197
+ over_project_limit: z.ZodBoolean;
8198
+ }, z.core.$strip>>;
7994
8199
  }, z.core.$strip>;
7995
8200
  }, z.core.$strip>;
7996
8201
  /**
@@ -8170,6 +8375,13 @@ export declare const zTeamCreditStops: z.ZodObject<{
8170
8375
  list_price_cents: z.ZodCoercedBigInt<unknown>;
8171
8376
  period_charge_cents: z.ZodCoercedBigInt<unknown>;
8172
8377
  price_cents: z.ZodCoercedBigInt<unknown>;
8378
+ project_change: z.ZodOptional<z.ZodObject<{
8379
+ freezes_projects: z.ZodArray<z.ZodObject<{
8380
+ id: z.ZodString;
8381
+ name: z.ZodString;
8382
+ }, z.core.$strip>>;
8383
+ over_project_limit: z.ZodBoolean;
8384
+ }, z.core.$strip>>;
8173
8385
  }, z.core.$strip>;
8174
8386
  yearly: z.ZodObject<{
8175
8387
  action: z.ZodEnum<{
@@ -8199,6 +8411,13 @@ export declare const zTeamCreditStops: z.ZodObject<{
8199
8411
  list_price_cents: z.ZodCoercedBigInt<unknown>;
8200
8412
  period_charge_cents: z.ZodCoercedBigInt<unknown>;
8201
8413
  price_cents: z.ZodCoercedBigInt<unknown>;
8414
+ project_change: z.ZodOptional<z.ZodObject<{
8415
+ freezes_projects: z.ZodArray<z.ZodObject<{
8416
+ id: z.ZodString;
8417
+ name: z.ZodString;
8418
+ }, z.core.$strip>>;
8419
+ over_project_limit: z.ZodBoolean;
8420
+ }, z.core.$strip>>;
8202
8421
  }, z.core.$strip>;
8203
8422
  }, z.core.$strip>>;
8204
8423
  }, z.core.$strip>;
@@ -8206,6 +8425,13 @@ export declare const zTeamCreditStops: z.ZodObject<{
8206
8425
  * List of available billing plans for subscription.
8207
8426
  */
8208
8427
  export declare const zBillingPlansResponse: z.ZodObject<{
8428
+ cancel_project_change: z.ZodOptional<z.ZodObject<{
8429
+ freezes_projects: z.ZodArray<z.ZodObject<{
8430
+ id: z.ZodString;
8431
+ name: z.ZodString;
8432
+ }, z.core.$strip>>;
8433
+ over_project_limit: z.ZodBoolean;
8434
+ }, z.core.$strip>>;
8209
8435
  current_plan_slug: z.ZodOptional<z.ZodString>;
8210
8436
  plans: z.ZodArray<z.ZodObject<{
8211
8437
  action: z.ZodEnum<{
@@ -8279,6 +8505,13 @@ export declare const zBillingPlansResponse: z.ZodObject<{
8279
8505
  max_seats: z.ZodCoercedBigInt<unknown>;
8280
8506
  popular: z.ZodOptional<z.ZodBoolean>;
8281
8507
  price_cents: z.ZodCoercedBigInt<unknown>;
8508
+ project_change: z.ZodOptional<z.ZodObject<{
8509
+ freezes_projects: z.ZodArray<z.ZodObject<{
8510
+ id: z.ZodString;
8511
+ name: z.ZodString;
8512
+ }, z.core.$strip>>;
8513
+ over_project_limit: z.ZodBoolean;
8514
+ }, z.core.$strip>>;
8282
8515
  seat_summary: z.ZodObject<{
8283
8516
  seat_count: z.ZodInt;
8284
8517
  total_cost_cents: z.ZodCoercedBigInt<unknown>;
@@ -8334,6 +8567,13 @@ export declare const zBillingPlansResponse: z.ZodObject<{
8334
8567
  list_price_cents: z.ZodCoercedBigInt<unknown>;
8335
8568
  period_charge_cents: z.ZodCoercedBigInt<unknown>;
8336
8569
  price_cents: z.ZodCoercedBigInt<unknown>;
8570
+ project_change: z.ZodOptional<z.ZodObject<{
8571
+ freezes_projects: z.ZodArray<z.ZodObject<{
8572
+ id: z.ZodString;
8573
+ name: z.ZodString;
8574
+ }, z.core.$strip>>;
8575
+ over_project_limit: z.ZodBoolean;
8576
+ }, z.core.$strip>>;
8337
8577
  }, z.core.$strip>;
8338
8578
  yearly: z.ZodObject<{
8339
8579
  action: z.ZodEnum<{
@@ -8363,6 +8603,13 @@ export declare const zBillingPlansResponse: z.ZodObject<{
8363
8603
  list_price_cents: z.ZodCoercedBigInt<unknown>;
8364
8604
  period_charge_cents: z.ZodCoercedBigInt<unknown>;
8365
8605
  price_cents: z.ZodCoercedBigInt<unknown>;
8606
+ project_change: z.ZodOptional<z.ZodObject<{
8607
+ freezes_projects: z.ZodArray<z.ZodObject<{
8608
+ id: z.ZodString;
8609
+ name: z.ZodString;
8610
+ }, z.core.$strip>>;
8611
+ over_project_limit: z.ZodBoolean;
8612
+ }, z.core.$strip>>;
8366
8613
  }, z.core.$strip>;
8367
8614
  }, z.core.$strip>>;
8368
8615
  }, z.core.$strip>>;
@@ -9475,7 +9722,6 @@ export declare const zBillingCapabilityDenialParams: z.ZodObject<{
9475
9722
  * Effective billing UI guidance for one authenticated user and workspace.
9476
9723
  */
9477
9724
  export declare const zBillingCapabilitiesResponse: z.ZodObject<{
9478
- billing_web_topup_hosted_methods: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
9479
9725
  auto_top_up_enabled: z.ZodBoolean;
9480
9726
  auto_top_up_member_view: z.ZodOptional<z.ZodObject<{
9481
9727
  cycle_resets_at: z.ZodNullable<z.ZodISODateTime>;
@@ -9527,6 +9773,7 @@ export declare const zBillingCapabilitiesResponse: z.ZodObject<{
9527
9773
  embedded: "embedded";
9528
9774
  full_page: "full_page";
9529
9775
  }>;
9776
+ billing_web_topup_hosted_methods: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
9530
9777
  cancel_takes_effect_immediately: z.ZodOptional<z.ZodBoolean>;
9531
9778
  capabilities: z.ZodObject<{
9532
9779
  can_cancel: z.ZodBoolean;
@@ -9790,6 +10037,7 @@ export declare const zBillingCapabilitiesResponse: z.ZodObject<{
9790
10037
  ending_notice_starts_at: z.ZodOptional<z.ZodISODateTime>;
9791
10038
  expires_at: z.ZodISODateTime;
9792
10039
  has_parked_billing_operation: z.ZodOptional<z.ZodBoolean>;
10040
+ has_resumable_held_jobs: z.ZodOptional<z.ZodBoolean>;
9793
10041
  payment_recovery_available: z.ZodOptional<z.ZodBoolean>;
9794
10042
  plan_kind: z.ZodOptional<z.ZodEnum<{
9795
10043
  none: "none";
@@ -12035,7 +12283,6 @@ export declare const zResumeHeldBudgetJobsResponse: z.ZodObject<{
12035
12283
  * Effective billing capabilities
12036
12284
  */
12037
12285
  export declare const zGetBillingCapabilitiesResponse: z.ZodObject<{
12038
- billing_web_topup_hosted_methods: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
12039
12286
  auto_top_up_enabled: z.ZodBoolean;
12040
12287
  auto_top_up_member_view: z.ZodOptional<z.ZodObject<{
12041
12288
  cycle_resets_at: z.ZodNullable<z.ZodISODateTime>;
@@ -12087,6 +12334,7 @@ export declare const zGetBillingCapabilitiesResponse: z.ZodObject<{
12087
12334
  embedded: "embedded";
12088
12335
  full_page: "full_page";
12089
12336
  }>;
12337
+ billing_web_topup_hosted_methods: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
12090
12338
  cancel_takes_effect_immediately: z.ZodOptional<z.ZodBoolean>;
12091
12339
  capabilities: z.ZodObject<{
12092
12340
  can_cancel: z.ZodBoolean;
@@ -12350,6 +12598,7 @@ export declare const zGetBillingCapabilitiesResponse: z.ZodObject<{
12350
12598
  ending_notice_starts_at: z.ZodOptional<z.ZodISODateTime>;
12351
12599
  expires_at: z.ZodISODateTime;
12352
12600
  has_parked_billing_operation: z.ZodOptional<z.ZodBoolean>;
12601
+ has_resumable_held_jobs: z.ZodOptional<z.ZodBoolean>;
12353
12602
  payment_recovery_available: z.ZodOptional<z.ZodBoolean>;
12354
12603
  plan_kind: z.ZodOptional<z.ZodEnum<{
12355
12604
  none: "none";
@@ -12681,6 +12930,13 @@ export declare const zGetPaymentPortalResponse: z.ZodObject<{
12681
12930
  * Available plans with pricing
12682
12931
  */
12683
12932
  export declare const zGetBillingPlansResponse: z.ZodObject<{
12933
+ cancel_project_change: z.ZodOptional<z.ZodObject<{
12934
+ freezes_projects: z.ZodArray<z.ZodObject<{
12935
+ id: z.ZodString;
12936
+ name: z.ZodString;
12937
+ }, z.core.$strip>>;
12938
+ over_project_limit: z.ZodBoolean;
12939
+ }, z.core.$strip>>;
12684
12940
  current_plan_slug: z.ZodOptional<z.ZodString>;
12685
12941
  plans: z.ZodArray<z.ZodObject<{
12686
12942
  action: z.ZodEnum<{
@@ -12754,6 +13010,13 @@ export declare const zGetBillingPlansResponse: z.ZodObject<{
12754
13010
  max_seats: z.ZodCoercedBigInt<unknown>;
12755
13011
  popular: z.ZodOptional<z.ZodBoolean>;
12756
13012
  price_cents: z.ZodCoercedBigInt<unknown>;
13013
+ project_change: z.ZodOptional<z.ZodObject<{
13014
+ freezes_projects: z.ZodArray<z.ZodObject<{
13015
+ id: z.ZodString;
13016
+ name: z.ZodString;
13017
+ }, z.core.$strip>>;
13018
+ over_project_limit: z.ZodBoolean;
13019
+ }, z.core.$strip>>;
12757
13020
  seat_summary: z.ZodObject<{
12758
13021
  seat_count: z.ZodInt;
12759
13022
  total_cost_cents: z.ZodCoercedBigInt<unknown>;
@@ -12809,6 +13072,13 @@ export declare const zGetBillingPlansResponse: z.ZodObject<{
12809
13072
  list_price_cents: z.ZodCoercedBigInt<unknown>;
12810
13073
  period_charge_cents: z.ZodCoercedBigInt<unknown>;
12811
13074
  price_cents: z.ZodCoercedBigInt<unknown>;
13075
+ project_change: z.ZodOptional<z.ZodObject<{
13076
+ freezes_projects: z.ZodArray<z.ZodObject<{
13077
+ id: z.ZodString;
13078
+ name: z.ZodString;
13079
+ }, z.core.$strip>>;
13080
+ over_project_limit: z.ZodBoolean;
13081
+ }, z.core.$strip>>;
12812
13082
  }, z.core.$strip>;
12813
13083
  yearly: z.ZodObject<{
12814
13084
  action: z.ZodEnum<{
@@ -12838,6 +13108,13 @@ export declare const zGetBillingPlansResponse: z.ZodObject<{
12838
13108
  list_price_cents: z.ZodCoercedBigInt<unknown>;
12839
13109
  period_charge_cents: z.ZodCoercedBigInt<unknown>;
12840
13110
  price_cents: z.ZodCoercedBigInt<unknown>;
13111
+ project_change: z.ZodOptional<z.ZodObject<{
13112
+ freezes_projects: z.ZodArray<z.ZodObject<{
13113
+ id: z.ZodString;
13114
+ name: z.ZodString;
13115
+ }, z.core.$strip>>;
13116
+ over_project_limit: z.ZodBoolean;
13117
+ }, z.core.$strip>>;
12841
13118
  }, z.core.$strip>;
12842
13119
  }, z.core.$strip>>;
12843
13120
  }, z.core.$strip>>;
@@ -12944,6 +13221,13 @@ export declare const zPreviewSubscribeResponse2: z.ZodObject<{
12944
13221
  }>;
12945
13222
  }, z.core.$strip>;
12946
13223
  payment_method_configuration_id: z.ZodOptional<z.ZodString>;
13224
+ project_change: z.ZodOptional<z.ZodObject<{
13225
+ freezes_projects: z.ZodArray<z.ZodObject<{
13226
+ id: z.ZodString;
13227
+ name: z.ZodString;
13228
+ }, z.core.$strip>>;
13229
+ over_project_limit: z.ZodBoolean;
13230
+ }, z.core.$strip>>;
12947
13231
  promotion_code: z.ZodOptional<z.ZodString>;
12948
13232
  proration_at: z.ZodOptional<z.ZodISODateTime>;
12949
13233
  proration_remaining_cents: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
@@ -14579,7 +14863,7 @@ export declare const zGetLegacyObjectInfoByNodeClassPath: z.ZodObject<{
14579
14863
  node_class: z.ZodString;
14580
14864
  }, z.core.$strip>;
14581
14865
  /**
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`.
14866
+ * 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`, `can_create: false` and, for a caller who could otherwise create, `denied_reasons: {can_create: frozen}`. Do not read a 200 as the plan including Projects; read `writable` on each project and `quota.can_create`.
14583
14867
  */
14584
14868
  export declare const zListProjectsResponse2: z.ZodObject<{
14585
14869
  projects: z.ZodArray<z.ZodObject<{
@@ -14588,6 +14872,7 @@ export declare const zListProjectsResponse2: z.ZodObject<{
14588
14872
  description: z.ZodOptional<z.ZodString>;
14589
14873
  id: z.ZodString;
14590
14874
  is_default: z.ZodBoolean;
14875
+ member_count: z.ZodOptional<z.ZodInt>;
14591
14876
  my_role: z.ZodOptional<z.ZodEnum<{
14592
14877
  runner: "runner";
14593
14878
  builder: "builder";
@@ -14661,6 +14946,13 @@ export declare const zListProjectsResponse2: z.ZodObject<{
14661
14946
  quota: z.ZodObject<{
14662
14947
  active: z.ZodInt;
14663
14948
  can_create: z.ZodBoolean;
14949
+ denied_reasons: z.ZodOptional<z.ZodObject<{
14950
+ can_create: z.ZodOptional<z.ZodEnum<{
14951
+ frozen: "frozen";
14952
+ permission_denied: "permission_denied";
14953
+ limit_reached: "limit_reached";
14954
+ }>>;
14955
+ }, z.core.$strip>>;
14664
14956
  max_active: z.ZodInt;
14665
14957
  }, z.core.$strip>;
14666
14958
  }, z.core.$strip>;
@@ -14686,6 +14978,7 @@ export declare const zCreateProjectResponse: z.ZodObject<{
14686
14978
  description: z.ZodOptional<z.ZodString>;
14687
14979
  id: z.ZodString;
14688
14980
  is_default: z.ZodBoolean;
14981
+ member_count: z.ZodOptional<z.ZodInt>;
14689
14982
  my_role: z.ZodOptional<z.ZodEnum<{
14690
14983
  runner: "runner";
14691
14984
  builder: "builder";
@@ -14767,6 +15060,7 @@ export declare const zGetProjectResponse: z.ZodObject<{
14767
15060
  description: z.ZodOptional<z.ZodString>;
14768
15061
  id: z.ZodString;
14769
15062
  is_default: z.ZodBoolean;
15063
+ member_count: z.ZodOptional<z.ZodInt>;
14770
15064
  my_role: z.ZodOptional<z.ZodEnum<{
14771
15065
  runner: "runner";
14772
15066
  builder: "builder";
@@ -14853,6 +15147,7 @@ export declare const zUpdateProjectResponse: z.ZodObject<{
14853
15147
  description: z.ZodOptional<z.ZodString>;
14854
15148
  id: z.ZodString;
14855
15149
  is_default: z.ZodBoolean;
15150
+ member_count: z.ZodOptional<z.ZodInt>;
14856
15151
  my_role: z.ZodOptional<z.ZodEnum<{
14857
15152
  runner: "runner";
14858
15153
  builder: "builder";
@@ -14922,6 +15217,28 @@ export declare const zUpdateProjectResponse: z.ZodObject<{
14922
15217
  workspace_id: z.ZodString;
14923
15218
  writable: z.ZodBoolean;
14924
15219
  }, z.core.$strip>;
15220
+ export declare const zListProjectMemberCandidatesPath: z.ZodObject<{
15221
+ id: z.ZodString;
15222
+ }, z.core.$strip>;
15223
+ /**
15224
+ * The people the caller may add
15225
+ */
15226
+ export declare const zListProjectMemberCandidatesResponse2: z.ZodObject<{
15227
+ candidates: z.ZodArray<z.ZodObject<{
15228
+ email: z.ZodString;
15229
+ name: z.ZodString;
15230
+ roles: z.ZodArray<z.ZodEnum<{
15231
+ runner: "runner";
15232
+ builder: "builder";
15233
+ project_admin: "project_admin";
15234
+ }>>;
15235
+ user_id: z.ZodString;
15236
+ workspace_access: z.ZodOptional<z.ZodEnum<{
15237
+ workspace_owner: "workspace_owner";
15238
+ workspace_admin: "workspace_admin";
15239
+ }>>;
15240
+ }, z.core.$strip>>;
15241
+ }, z.core.$strip>;
14925
15242
  export declare const zListProjectMembersPath: z.ZodObject<{
14926
15243
  id: z.ZodString;
14927
15244
  }, z.core.$strip>;
@@ -14931,7 +15248,21 @@ export declare const zListProjectMembersPath: z.ZodObject<{
14931
15248
  export declare const zListProjectMembersResponse2: z.ZodObject<{
14932
15249
  members: z.ZodArray<z.ZodObject<{
14933
15250
  added_by_user_id: z.ZodOptional<z.ZodString>;
15251
+ capabilities: z.ZodOptional<z.ZodObject<{
15252
+ can_change_role: z.ZodBoolean;
15253
+ can_remove: z.ZodBoolean;
15254
+ }, z.core.$strip>>;
14934
15255
  create_time: z.ZodISODateTime;
15256
+ denied_reasons: z.ZodOptional<z.ZodObject<{
15257
+ can_change_role: z.ZodOptional<z.ZodEnum<{
15258
+ permission_denied: "permission_denied";
15259
+ project_frozen: "project_frozen";
15260
+ }>>;
15261
+ can_remove: z.ZodOptional<z.ZodEnum<{
15262
+ permission_denied: "permission_denied";
15263
+ project_frozen: "project_frozen";
15264
+ }>>;
15265
+ }, z.core.$strip>>;
14935
15266
  email: z.ZodString;
14936
15267
  name: z.ZodString;
14937
15268
  role: z.ZodEnum<{
@@ -14941,6 +15272,15 @@ export declare const zListProjectMembersResponse2: z.ZodObject<{
14941
15272
  }>;
14942
15273
  user_id: z.ZodString;
14943
15274
  }, z.core.$strip>>;
15275
+ workspace_access: z.ZodOptional<z.ZodArray<z.ZodObject<{
15276
+ access: z.ZodEnum<{
15277
+ workspace_owner: "workspace_owner";
15278
+ workspace_admin: "workspace_admin";
15279
+ }>;
15280
+ email: z.ZodString;
15281
+ name: z.ZodString;
15282
+ user_id: z.ZodString;
15283
+ }, z.core.$strip>>>;
14944
15284
  }, z.core.$strip>;
14945
15285
  export declare const zRemoveProjectMemberPath: z.ZodObject<{
14946
15286
  id: z.ZodString;
@@ -14966,7 +15306,21 @@ export declare const zSetProjectMemberPath: z.ZodObject<{
14966
15306
  */
14967
15307
  export declare const zSetProjectMemberResponse: z.ZodObject<{
14968
15308
  added_by_user_id: z.ZodOptional<z.ZodString>;
15309
+ capabilities: z.ZodOptional<z.ZodObject<{
15310
+ can_change_role: z.ZodBoolean;
15311
+ can_remove: z.ZodBoolean;
15312
+ }, z.core.$strip>>;
14969
15313
  create_time: z.ZodISODateTime;
15314
+ denied_reasons: z.ZodOptional<z.ZodObject<{
15315
+ can_change_role: z.ZodOptional<z.ZodEnum<{
15316
+ permission_denied: "permission_denied";
15317
+ project_frozen: "project_frozen";
15318
+ }>>;
15319
+ can_remove: z.ZodOptional<z.ZodEnum<{
15320
+ permission_denied: "permission_denied";
15321
+ project_frozen: "project_frozen";
15322
+ }>>;
15323
+ }, z.core.$strip>>;
14970
15324
  email: z.ZodString;
14971
15325
  name: z.ZodString;
14972
15326
  role: z.ZodEnum<{
@@ -16928,6 +17282,13 @@ export declare const zGetCccWebsiteRootPresentationResponse: z.ZodObject<{
16928
17282
  }, z.core.$strip>;
16929
17283
  }, z.core.$strip>;
16930
17284
  }, z.core.$strip>;
17285
+ /**
17286
+ * Current Live revision and the public uids
17287
+ */
17288
+ export declare const zGetCccWebsiteRootPublicUidsResponse: z.ZodObject<{
17289
+ revision_id: z.ZodCoercedBigInt<unknown>;
17290
+ uids: z.ZodArray<z.ZodUUID>;
17291
+ }, z.core.$strip>;
16931
17292
  export declare const zGetCccTypeSchemaPath: z.ZodObject<{
16932
17293
  type: z.ZodEnum<{
16933
17294
  model: "model";