@comfyorg/ingest-types 1.7.3 → 1.9.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/index.d.ts +1 -1
- package/dist/types.gen.d.ts +282 -16
- package/dist/zod.gen.d.ts +387 -23
- package/dist/zod.gen.js +108 -12
- package/package.json +1 -1
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
|
-
*
|
|
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.
|
|
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;
|
|
@@ -2810,6 +2810,7 @@ export declare const zBudgetWriteResult: z.ZodObject<{
|
|
|
2810
2810
|
spent_micro_usd: z.ZodCoercedBigInt<unknown>;
|
|
2811
2811
|
updated_by: z.ZodString;
|
|
2812
2812
|
}, z.core.$strip>;
|
|
2813
|
+
held_jobs_count: z.ZodOptional<z.ZodInt>;
|
|
2813
2814
|
}, z.core.$strip>;
|
|
2814
2815
|
/**
|
|
2815
2816
|
* Response after bulk-revoking API keys for a workspace member.
|
|
@@ -6042,6 +6043,13 @@ export declare const zPlanAvailability: z.ZodObject<{
|
|
|
6042
6043
|
requires_personal: "requires_personal";
|
|
6043
6044
|
}>>;
|
|
6044
6045
|
}, z.core.$strip>;
|
|
6046
|
+
/**
|
|
6047
|
+
* A project named by a plan change.
|
|
6048
|
+
*/
|
|
6049
|
+
export declare const zPlanChangeProject: z.ZodObject<{
|
|
6050
|
+
id: z.ZodString;
|
|
6051
|
+
name: z.ZodString;
|
|
6052
|
+
}, z.core.$strip>;
|
|
6045
6053
|
export declare const zPlanFeatureItem: z.ZodObject<{
|
|
6046
6054
|
key: z.ZodEnum<{
|
|
6047
6055
|
shortRuntime: "shortRuntime";
|
|
@@ -6064,6 +6072,16 @@ export declare const zPlanFeatureItem: z.ZodObject<{
|
|
|
6064
6072
|
}>;
|
|
6065
6073
|
text: z.ZodString;
|
|
6066
6074
|
}, z.core.$strip>;
|
|
6075
|
+
/**
|
|
6076
|
+
* 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.
|
|
6077
|
+
*/
|
|
6078
|
+
export declare const zPlanProjectChange: z.ZodObject<{
|
|
6079
|
+
freezes_projects: z.ZodArray<z.ZodObject<{
|
|
6080
|
+
id: z.ZodString;
|
|
6081
|
+
name: z.ZodString;
|
|
6082
|
+
}, z.core.$strip>>;
|
|
6083
|
+
over_project_limit: z.ZodBoolean;
|
|
6084
|
+
}, z.core.$strip>;
|
|
6067
6085
|
/**
|
|
6068
6086
|
* Summary of seat costs based on current workspace members
|
|
6069
6087
|
*/
|
|
@@ -6092,6 +6110,33 @@ export declare const zPreviousPlan: z.ZodObject<{
|
|
|
6092
6110
|
plan_slug: z.ZodString;
|
|
6093
6111
|
team_credit_stop_id: z.ZodOptional<z.ZodString>;
|
|
6094
6112
|
}, z.core.$strip>;
|
|
6113
|
+
/**
|
|
6114
|
+
* 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`.
|
|
6115
|
+
*/
|
|
6116
|
+
export declare const zProjectMemberCapabilities: z.ZodObject<{
|
|
6117
|
+
can_change_role: z.ZodBoolean;
|
|
6118
|
+
can_remove: z.ZodBoolean;
|
|
6119
|
+
}, z.core.$strip>;
|
|
6120
|
+
/**
|
|
6121
|
+
* `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.
|
|
6122
|
+
*/
|
|
6123
|
+
export declare const zProjectMemberDenialReason: z.ZodEnum<{
|
|
6124
|
+
permission_denied: "permission_denied";
|
|
6125
|
+
project_frozen: "project_frozen";
|
|
6126
|
+
}>;
|
|
6127
|
+
/**
|
|
6128
|
+
* 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.
|
|
6129
|
+
*/
|
|
6130
|
+
export declare const zProjectMemberDenials: z.ZodObject<{
|
|
6131
|
+
can_change_role: z.ZodOptional<z.ZodEnum<{
|
|
6132
|
+
permission_denied: "permission_denied";
|
|
6133
|
+
project_frozen: "project_frozen";
|
|
6134
|
+
}>>;
|
|
6135
|
+
can_remove: z.ZodOptional<z.ZodEnum<{
|
|
6136
|
+
permission_denied: "permission_denied";
|
|
6137
|
+
project_frozen: "project_frozen";
|
|
6138
|
+
}>>;
|
|
6139
|
+
}, z.core.$strip>;
|
|
6095
6140
|
/**
|
|
6096
6141
|
* 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
6142
|
*/
|
|
@@ -6164,12 +6209,37 @@ export declare const zProjectPermissions: z.ZodObject<{
|
|
|
6164
6209
|
write_all: "write_all";
|
|
6165
6210
|
}>>;
|
|
6166
6211
|
}, z.core.$strip>;
|
|
6212
|
+
/**
|
|
6213
|
+
* 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".
|
|
6214
|
+
*/
|
|
6215
|
+
export declare const zProjectQuotaCreateDenialReason: z.ZodEnum<{
|
|
6216
|
+
frozen: "frozen";
|
|
6217
|
+
permission_denied: "permission_denied";
|
|
6218
|
+
limit_reached: "limit_reached";
|
|
6219
|
+
}>;
|
|
6220
|
+
/**
|
|
6221
|
+
* 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.
|
|
6222
|
+
*/
|
|
6223
|
+
export declare const zProjectQuotaDenials: z.ZodObject<{
|
|
6224
|
+
can_create: z.ZodOptional<z.ZodEnum<{
|
|
6225
|
+
frozen: "frozen";
|
|
6226
|
+
permission_denied: "permission_denied";
|
|
6227
|
+
limit_reached: "limit_reached";
|
|
6228
|
+
}>>;
|
|
6229
|
+
}, z.core.$strip>;
|
|
6167
6230
|
/**
|
|
6168
6231
|
* How many projects the workspace may have and has.
|
|
6169
6232
|
*/
|
|
6170
6233
|
export declare const zProjectQuota: z.ZodObject<{
|
|
6171
6234
|
active: z.ZodInt;
|
|
6172
6235
|
can_create: z.ZodBoolean;
|
|
6236
|
+
denied_reasons: z.ZodOptional<z.ZodObject<{
|
|
6237
|
+
can_create: z.ZodOptional<z.ZodEnum<{
|
|
6238
|
+
frozen: "frozen";
|
|
6239
|
+
permission_denied: "permission_denied";
|
|
6240
|
+
limit_reached: "limit_reached";
|
|
6241
|
+
}>>;
|
|
6242
|
+
}, z.core.$strip>>;
|
|
6173
6243
|
max_active: z.ZodInt;
|
|
6174
6244
|
}, z.core.$strip>;
|
|
6175
6245
|
/**
|
|
@@ -6189,6 +6259,7 @@ export declare const zProject: z.ZodObject<{
|
|
|
6189
6259
|
description: z.ZodOptional<z.ZodString>;
|
|
6190
6260
|
id: z.ZodString;
|
|
6191
6261
|
is_default: z.ZodBoolean;
|
|
6262
|
+
member_count: z.ZodOptional<z.ZodInt>;
|
|
6192
6263
|
my_role: z.ZodOptional<z.ZodEnum<{
|
|
6193
6264
|
runner: "runner";
|
|
6194
6265
|
builder: "builder";
|
|
@@ -6268,6 +6339,7 @@ export declare const zListProjectsResponse: z.ZodObject<{
|
|
|
6268
6339
|
description: z.ZodOptional<z.ZodString>;
|
|
6269
6340
|
id: z.ZodString;
|
|
6270
6341
|
is_default: z.ZodBoolean;
|
|
6342
|
+
member_count: z.ZodOptional<z.ZodInt>;
|
|
6271
6343
|
my_role: z.ZodOptional<z.ZodEnum<{
|
|
6272
6344
|
runner: "runner";
|
|
6273
6345
|
builder: "builder";
|
|
@@ -6341,6 +6413,13 @@ export declare const zListProjectsResponse: z.ZodObject<{
|
|
|
6341
6413
|
quota: z.ZodObject<{
|
|
6342
6414
|
active: z.ZodInt;
|
|
6343
6415
|
can_create: z.ZodBoolean;
|
|
6416
|
+
denied_reasons: z.ZodOptional<z.ZodObject<{
|
|
6417
|
+
can_create: z.ZodOptional<z.ZodEnum<{
|
|
6418
|
+
frozen: "frozen";
|
|
6419
|
+
permission_denied: "permission_denied";
|
|
6420
|
+
limit_reached: "limit_reached";
|
|
6421
|
+
}>>;
|
|
6422
|
+
}, z.core.$strip>>;
|
|
6344
6423
|
max_active: z.ZodInt;
|
|
6345
6424
|
}, z.core.$strip>;
|
|
6346
6425
|
}, z.core.$strip>;
|
|
@@ -6349,7 +6428,21 @@ export declare const zListProjectsResponse: z.ZodObject<{
|
|
|
6349
6428
|
*/
|
|
6350
6429
|
export declare const zProjectMember: z.ZodObject<{
|
|
6351
6430
|
added_by_user_id: z.ZodOptional<z.ZodString>;
|
|
6431
|
+
capabilities: z.ZodOptional<z.ZodObject<{
|
|
6432
|
+
can_change_role: z.ZodBoolean;
|
|
6433
|
+
can_remove: z.ZodBoolean;
|
|
6434
|
+
}, z.core.$strip>>;
|
|
6352
6435
|
create_time: z.ZodISODateTime;
|
|
6436
|
+
denied_reasons: z.ZodOptional<z.ZodObject<{
|
|
6437
|
+
can_change_role: z.ZodOptional<z.ZodEnum<{
|
|
6438
|
+
permission_denied: "permission_denied";
|
|
6439
|
+
project_frozen: "project_frozen";
|
|
6440
|
+
}>>;
|
|
6441
|
+
can_remove: z.ZodOptional<z.ZodEnum<{
|
|
6442
|
+
permission_denied: "permission_denied";
|
|
6443
|
+
project_frozen: "project_frozen";
|
|
6444
|
+
}>>;
|
|
6445
|
+
}, z.core.$strip>>;
|
|
6353
6446
|
email: z.ZodString;
|
|
6354
6447
|
name: z.ZodString;
|
|
6355
6448
|
role: z.ZodEnum<{
|
|
@@ -6359,23 +6452,6 @@ export declare const zProjectMember: z.ZodObject<{
|
|
|
6359
6452
|
}>;
|
|
6360
6453
|
user_id: z.ZodString;
|
|
6361
6454
|
}, 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
6455
|
/**
|
|
6380
6456
|
* A workspace member to add to a project, with their project role.
|
|
6381
6457
|
*/
|
|
@@ -6403,6 +6479,101 @@ export declare const zCreateProjectRequest: z.ZodObject<{
|
|
|
6403
6479
|
name: z.ZodString;
|
|
6404
6480
|
shared_cloud_allowed: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
6405
6481
|
}, z.core.$strip>;
|
|
6482
|
+
/**
|
|
6483
|
+
* 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.
|
|
6484
|
+
*/
|
|
6485
|
+
export declare const zProjectWorkspaceAccess: z.ZodEnum<{
|
|
6486
|
+
workspace_owner: "workspace_owner";
|
|
6487
|
+
workspace_admin: "workspace_admin";
|
|
6488
|
+
}>;
|
|
6489
|
+
/**
|
|
6490
|
+
* A workspace member the caller may add to the project.
|
|
6491
|
+
*/
|
|
6492
|
+
export declare const zProjectMemberCandidate: z.ZodObject<{
|
|
6493
|
+
email: z.ZodString;
|
|
6494
|
+
name: z.ZodString;
|
|
6495
|
+
roles: z.ZodArray<z.ZodEnum<{
|
|
6496
|
+
runner: "runner";
|
|
6497
|
+
builder: "builder";
|
|
6498
|
+
project_admin: "project_admin";
|
|
6499
|
+
}>>;
|
|
6500
|
+
user_id: z.ZodString;
|
|
6501
|
+
workspace_access: z.ZodOptional<z.ZodEnum<{
|
|
6502
|
+
workspace_owner: "workspace_owner";
|
|
6503
|
+
workspace_admin: "workspace_admin";
|
|
6504
|
+
}>>;
|
|
6505
|
+
}, z.core.$strip>;
|
|
6506
|
+
/**
|
|
6507
|
+
* The people the caller may add to a project.
|
|
6508
|
+
*/
|
|
6509
|
+
export declare const zListProjectMemberCandidatesResponse: z.ZodObject<{
|
|
6510
|
+
candidates: z.ZodArray<z.ZodObject<{
|
|
6511
|
+
email: z.ZodString;
|
|
6512
|
+
name: z.ZodString;
|
|
6513
|
+
roles: z.ZodArray<z.ZodEnum<{
|
|
6514
|
+
runner: "runner";
|
|
6515
|
+
builder: "builder";
|
|
6516
|
+
project_admin: "project_admin";
|
|
6517
|
+
}>>;
|
|
6518
|
+
user_id: z.ZodString;
|
|
6519
|
+
workspace_access: z.ZodOptional<z.ZodEnum<{
|
|
6520
|
+
workspace_owner: "workspace_owner";
|
|
6521
|
+
workspace_admin: "workspace_admin";
|
|
6522
|
+
}>>;
|
|
6523
|
+
}, z.core.$strip>>;
|
|
6524
|
+
}, z.core.$strip>;
|
|
6525
|
+
/**
|
|
6526
|
+
* A person who reaches the project through their workspace role.
|
|
6527
|
+
*/
|
|
6528
|
+
export declare const zProjectWorkspaceAccessMember: z.ZodObject<{
|
|
6529
|
+
access: z.ZodEnum<{
|
|
6530
|
+
workspace_owner: "workspace_owner";
|
|
6531
|
+
workspace_admin: "workspace_admin";
|
|
6532
|
+
}>;
|
|
6533
|
+
email: z.ZodString;
|
|
6534
|
+
name: z.ZodString;
|
|
6535
|
+
user_id: z.ZodString;
|
|
6536
|
+
}, z.core.$strip>;
|
|
6537
|
+
/**
|
|
6538
|
+
* The people in a project.
|
|
6539
|
+
*/
|
|
6540
|
+
export declare const zListProjectMembersResponse: z.ZodObject<{
|
|
6541
|
+
members: z.ZodArray<z.ZodObject<{
|
|
6542
|
+
added_by_user_id: z.ZodOptional<z.ZodString>;
|
|
6543
|
+
capabilities: z.ZodOptional<z.ZodObject<{
|
|
6544
|
+
can_change_role: z.ZodBoolean;
|
|
6545
|
+
can_remove: z.ZodBoolean;
|
|
6546
|
+
}, z.core.$strip>>;
|
|
6547
|
+
create_time: z.ZodISODateTime;
|
|
6548
|
+
denied_reasons: z.ZodOptional<z.ZodObject<{
|
|
6549
|
+
can_change_role: z.ZodOptional<z.ZodEnum<{
|
|
6550
|
+
permission_denied: "permission_denied";
|
|
6551
|
+
project_frozen: "project_frozen";
|
|
6552
|
+
}>>;
|
|
6553
|
+
can_remove: z.ZodOptional<z.ZodEnum<{
|
|
6554
|
+
permission_denied: "permission_denied";
|
|
6555
|
+
project_frozen: "project_frozen";
|
|
6556
|
+
}>>;
|
|
6557
|
+
}, z.core.$strip>>;
|
|
6558
|
+
email: z.ZodString;
|
|
6559
|
+
name: z.ZodString;
|
|
6560
|
+
role: z.ZodEnum<{
|
|
6561
|
+
runner: "runner";
|
|
6562
|
+
builder: "builder";
|
|
6563
|
+
project_admin: "project_admin";
|
|
6564
|
+
}>;
|
|
6565
|
+
user_id: z.ZodString;
|
|
6566
|
+
}, z.core.$strip>>;
|
|
6567
|
+
workspace_access: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6568
|
+
access: z.ZodEnum<{
|
|
6569
|
+
workspace_owner: "workspace_owner";
|
|
6570
|
+
workspace_admin: "workspace_admin";
|
|
6571
|
+
}>;
|
|
6572
|
+
email: z.ZodString;
|
|
6573
|
+
name: z.ZodString;
|
|
6574
|
+
user_id: z.ZodString;
|
|
6575
|
+
}, z.core.$strip>>>;
|
|
6576
|
+
}, z.core.$strip>;
|
|
6406
6577
|
/**
|
|
6407
6578
|
* Error response for ComfyUI prompt execution.
|
|
6408
6579
|
*/
|
|
@@ -7612,6 +7783,13 @@ export declare const zPlan: z.ZodObject<{
|
|
|
7612
7783
|
max_seats: z.ZodCoercedBigInt<unknown>;
|
|
7613
7784
|
popular: z.ZodOptional<z.ZodBoolean>;
|
|
7614
7785
|
price_cents: z.ZodCoercedBigInt<unknown>;
|
|
7786
|
+
project_change: z.ZodOptional<z.ZodObject<{
|
|
7787
|
+
freezes_projects: z.ZodArray<z.ZodObject<{
|
|
7788
|
+
id: z.ZodString;
|
|
7789
|
+
name: z.ZodString;
|
|
7790
|
+
}, z.core.$strip>>;
|
|
7791
|
+
over_project_limit: z.ZodBoolean;
|
|
7792
|
+
}, z.core.$strip>>;
|
|
7615
7793
|
seat_summary: z.ZodObject<{
|
|
7616
7794
|
seat_count: z.ZodInt;
|
|
7617
7795
|
total_cost_cents: z.ZodCoercedBigInt<unknown>;
|
|
@@ -7755,6 +7933,13 @@ export declare const zPreviewSubscribeResponse: z.ZodObject<{
|
|
|
7755
7933
|
}>;
|
|
7756
7934
|
}, z.core.$strip>;
|
|
7757
7935
|
payment_method_configuration_id: z.ZodOptional<z.ZodString>;
|
|
7936
|
+
project_change: z.ZodOptional<z.ZodObject<{
|
|
7937
|
+
freezes_projects: z.ZodArray<z.ZodObject<{
|
|
7938
|
+
id: z.ZodString;
|
|
7939
|
+
name: z.ZodString;
|
|
7940
|
+
}, z.core.$strip>>;
|
|
7941
|
+
over_project_limit: z.ZodBoolean;
|
|
7942
|
+
}, z.core.$strip>>;
|
|
7758
7943
|
promotion_code: z.ZodOptional<z.ZodString>;
|
|
7759
7944
|
proration_at: z.ZodOptional<z.ZodISODateTime>;
|
|
7760
7945
|
proration_remaining_cents: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
|
|
@@ -7923,6 +8108,13 @@ export declare const zTeamCreditStopPrice: z.ZodObject<{
|
|
|
7923
8108
|
list_price_cents: z.ZodCoercedBigInt<unknown>;
|
|
7924
8109
|
period_charge_cents: z.ZodCoercedBigInt<unknown>;
|
|
7925
8110
|
price_cents: z.ZodCoercedBigInt<unknown>;
|
|
8111
|
+
project_change: z.ZodOptional<z.ZodObject<{
|
|
8112
|
+
freezes_projects: z.ZodArray<z.ZodObject<{
|
|
8113
|
+
id: z.ZodString;
|
|
8114
|
+
name: z.ZodString;
|
|
8115
|
+
}, z.core.$strip>>;
|
|
8116
|
+
over_project_limit: z.ZodBoolean;
|
|
8117
|
+
}, z.core.$strip>>;
|
|
7926
8118
|
}, z.core.$strip>;
|
|
7927
8119
|
/**
|
|
7928
8120
|
* A selectable preset on the team pricing slider. Echoed on subscribe via
|
|
@@ -7962,6 +8154,13 @@ export declare const zTeamCreditStop: z.ZodObject<{
|
|
|
7962
8154
|
list_price_cents: z.ZodCoercedBigInt<unknown>;
|
|
7963
8155
|
period_charge_cents: z.ZodCoercedBigInt<unknown>;
|
|
7964
8156
|
price_cents: z.ZodCoercedBigInt<unknown>;
|
|
8157
|
+
project_change: z.ZodOptional<z.ZodObject<{
|
|
8158
|
+
freezes_projects: z.ZodArray<z.ZodObject<{
|
|
8159
|
+
id: z.ZodString;
|
|
8160
|
+
name: z.ZodString;
|
|
8161
|
+
}, z.core.$strip>>;
|
|
8162
|
+
over_project_limit: z.ZodBoolean;
|
|
8163
|
+
}, z.core.$strip>>;
|
|
7965
8164
|
}, z.core.$strip>;
|
|
7966
8165
|
yearly: z.ZodObject<{
|
|
7967
8166
|
action: z.ZodEnum<{
|
|
@@ -7991,6 +8190,13 @@ export declare const zTeamCreditStop: z.ZodObject<{
|
|
|
7991
8190
|
list_price_cents: z.ZodCoercedBigInt<unknown>;
|
|
7992
8191
|
period_charge_cents: z.ZodCoercedBigInt<unknown>;
|
|
7993
8192
|
price_cents: z.ZodCoercedBigInt<unknown>;
|
|
8193
|
+
project_change: z.ZodOptional<z.ZodObject<{
|
|
8194
|
+
freezes_projects: z.ZodArray<z.ZodObject<{
|
|
8195
|
+
id: z.ZodString;
|
|
8196
|
+
name: z.ZodString;
|
|
8197
|
+
}, z.core.$strip>>;
|
|
8198
|
+
over_project_limit: z.ZodBoolean;
|
|
8199
|
+
}, z.core.$strip>>;
|
|
7994
8200
|
}, z.core.$strip>;
|
|
7995
8201
|
}, z.core.$strip>;
|
|
7996
8202
|
/**
|
|
@@ -8170,6 +8376,13 @@ export declare const zTeamCreditStops: z.ZodObject<{
|
|
|
8170
8376
|
list_price_cents: z.ZodCoercedBigInt<unknown>;
|
|
8171
8377
|
period_charge_cents: z.ZodCoercedBigInt<unknown>;
|
|
8172
8378
|
price_cents: z.ZodCoercedBigInt<unknown>;
|
|
8379
|
+
project_change: z.ZodOptional<z.ZodObject<{
|
|
8380
|
+
freezes_projects: z.ZodArray<z.ZodObject<{
|
|
8381
|
+
id: z.ZodString;
|
|
8382
|
+
name: z.ZodString;
|
|
8383
|
+
}, z.core.$strip>>;
|
|
8384
|
+
over_project_limit: z.ZodBoolean;
|
|
8385
|
+
}, z.core.$strip>>;
|
|
8173
8386
|
}, z.core.$strip>;
|
|
8174
8387
|
yearly: z.ZodObject<{
|
|
8175
8388
|
action: z.ZodEnum<{
|
|
@@ -8199,6 +8412,13 @@ export declare const zTeamCreditStops: z.ZodObject<{
|
|
|
8199
8412
|
list_price_cents: z.ZodCoercedBigInt<unknown>;
|
|
8200
8413
|
period_charge_cents: z.ZodCoercedBigInt<unknown>;
|
|
8201
8414
|
price_cents: z.ZodCoercedBigInt<unknown>;
|
|
8415
|
+
project_change: z.ZodOptional<z.ZodObject<{
|
|
8416
|
+
freezes_projects: z.ZodArray<z.ZodObject<{
|
|
8417
|
+
id: z.ZodString;
|
|
8418
|
+
name: z.ZodString;
|
|
8419
|
+
}, z.core.$strip>>;
|
|
8420
|
+
over_project_limit: z.ZodBoolean;
|
|
8421
|
+
}, z.core.$strip>>;
|
|
8202
8422
|
}, z.core.$strip>;
|
|
8203
8423
|
}, z.core.$strip>>;
|
|
8204
8424
|
}, z.core.$strip>;
|
|
@@ -8206,6 +8426,13 @@ export declare const zTeamCreditStops: z.ZodObject<{
|
|
|
8206
8426
|
* List of available billing plans for subscription.
|
|
8207
8427
|
*/
|
|
8208
8428
|
export declare const zBillingPlansResponse: z.ZodObject<{
|
|
8429
|
+
cancel_project_change: z.ZodOptional<z.ZodObject<{
|
|
8430
|
+
freezes_projects: z.ZodArray<z.ZodObject<{
|
|
8431
|
+
id: z.ZodString;
|
|
8432
|
+
name: z.ZodString;
|
|
8433
|
+
}, z.core.$strip>>;
|
|
8434
|
+
over_project_limit: z.ZodBoolean;
|
|
8435
|
+
}, z.core.$strip>>;
|
|
8209
8436
|
current_plan_slug: z.ZodOptional<z.ZodString>;
|
|
8210
8437
|
plans: z.ZodArray<z.ZodObject<{
|
|
8211
8438
|
action: z.ZodEnum<{
|
|
@@ -8279,6 +8506,13 @@ export declare const zBillingPlansResponse: z.ZodObject<{
|
|
|
8279
8506
|
max_seats: z.ZodCoercedBigInt<unknown>;
|
|
8280
8507
|
popular: z.ZodOptional<z.ZodBoolean>;
|
|
8281
8508
|
price_cents: z.ZodCoercedBigInt<unknown>;
|
|
8509
|
+
project_change: z.ZodOptional<z.ZodObject<{
|
|
8510
|
+
freezes_projects: z.ZodArray<z.ZodObject<{
|
|
8511
|
+
id: z.ZodString;
|
|
8512
|
+
name: z.ZodString;
|
|
8513
|
+
}, z.core.$strip>>;
|
|
8514
|
+
over_project_limit: z.ZodBoolean;
|
|
8515
|
+
}, z.core.$strip>>;
|
|
8282
8516
|
seat_summary: z.ZodObject<{
|
|
8283
8517
|
seat_count: z.ZodInt;
|
|
8284
8518
|
total_cost_cents: z.ZodCoercedBigInt<unknown>;
|
|
@@ -8334,6 +8568,13 @@ export declare const zBillingPlansResponse: z.ZodObject<{
|
|
|
8334
8568
|
list_price_cents: z.ZodCoercedBigInt<unknown>;
|
|
8335
8569
|
period_charge_cents: z.ZodCoercedBigInt<unknown>;
|
|
8336
8570
|
price_cents: z.ZodCoercedBigInt<unknown>;
|
|
8571
|
+
project_change: z.ZodOptional<z.ZodObject<{
|
|
8572
|
+
freezes_projects: z.ZodArray<z.ZodObject<{
|
|
8573
|
+
id: z.ZodString;
|
|
8574
|
+
name: z.ZodString;
|
|
8575
|
+
}, z.core.$strip>>;
|
|
8576
|
+
over_project_limit: z.ZodBoolean;
|
|
8577
|
+
}, z.core.$strip>>;
|
|
8337
8578
|
}, z.core.$strip>;
|
|
8338
8579
|
yearly: z.ZodObject<{
|
|
8339
8580
|
action: z.ZodEnum<{
|
|
@@ -8363,6 +8604,13 @@ export declare const zBillingPlansResponse: z.ZodObject<{
|
|
|
8363
8604
|
list_price_cents: z.ZodCoercedBigInt<unknown>;
|
|
8364
8605
|
period_charge_cents: z.ZodCoercedBigInt<unknown>;
|
|
8365
8606
|
price_cents: z.ZodCoercedBigInt<unknown>;
|
|
8607
|
+
project_change: z.ZodOptional<z.ZodObject<{
|
|
8608
|
+
freezes_projects: z.ZodArray<z.ZodObject<{
|
|
8609
|
+
id: z.ZodString;
|
|
8610
|
+
name: z.ZodString;
|
|
8611
|
+
}, z.core.$strip>>;
|
|
8612
|
+
over_project_limit: z.ZodBoolean;
|
|
8613
|
+
}, z.core.$strip>>;
|
|
8366
8614
|
}, z.core.$strip>;
|
|
8367
8615
|
}, z.core.$strip>>;
|
|
8368
8616
|
}, z.core.$strip>>;
|
|
@@ -9475,7 +9723,6 @@ export declare const zBillingCapabilityDenialParams: z.ZodObject<{
|
|
|
9475
9723
|
* Effective billing UI guidance for one authenticated user and workspace.
|
|
9476
9724
|
*/
|
|
9477
9725
|
export declare const zBillingCapabilitiesResponse: z.ZodObject<{
|
|
9478
|
-
billing_web_topup_hosted_methods: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
9479
9726
|
auto_top_up_enabled: z.ZodBoolean;
|
|
9480
9727
|
auto_top_up_member_view: z.ZodOptional<z.ZodObject<{
|
|
9481
9728
|
cycle_resets_at: z.ZodNullable<z.ZodISODateTime>;
|
|
@@ -9527,6 +9774,7 @@ export declare const zBillingCapabilitiesResponse: z.ZodObject<{
|
|
|
9527
9774
|
embedded: "embedded";
|
|
9528
9775
|
full_page: "full_page";
|
|
9529
9776
|
}>;
|
|
9777
|
+
billing_web_topup_hosted_methods: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
9530
9778
|
cancel_takes_effect_immediately: z.ZodOptional<z.ZodBoolean>;
|
|
9531
9779
|
capabilities: z.ZodObject<{
|
|
9532
9780
|
can_cancel: z.ZodBoolean;
|
|
@@ -9790,6 +10038,7 @@ export declare const zBillingCapabilitiesResponse: z.ZodObject<{
|
|
|
9790
10038
|
ending_notice_starts_at: z.ZodOptional<z.ZodISODateTime>;
|
|
9791
10039
|
expires_at: z.ZodISODateTime;
|
|
9792
10040
|
has_parked_billing_operation: z.ZodOptional<z.ZodBoolean>;
|
|
10041
|
+
has_resumable_held_jobs: z.ZodOptional<z.ZodBoolean>;
|
|
9793
10042
|
payment_recovery_available: z.ZodOptional<z.ZodBoolean>;
|
|
9794
10043
|
plan_kind: z.ZodOptional<z.ZodEnum<{
|
|
9795
10044
|
none: "none";
|
|
@@ -11911,6 +12160,7 @@ export declare const zCreateBillingBudgetResponse: z.ZodObject<{
|
|
|
11911
12160
|
spent_micro_usd: z.ZodCoercedBigInt<unknown>;
|
|
11912
12161
|
updated_by: z.ZodString;
|
|
11913
12162
|
}, z.core.$strip>;
|
|
12163
|
+
held_jobs_count: z.ZodOptional<z.ZodInt>;
|
|
11914
12164
|
}, z.core.$strip>;
|
|
11915
12165
|
export declare const zDeleteBillingBudgetPath: z.ZodObject<{
|
|
11916
12166
|
id: z.ZodString;
|
|
@@ -11984,6 +12234,7 @@ export declare const zUpdateBillingBudgetResponse: z.ZodObject<{
|
|
|
11984
12234
|
spent_micro_usd: z.ZodCoercedBigInt<unknown>;
|
|
11985
12235
|
updated_by: z.ZodString;
|
|
11986
12236
|
}, z.core.$strip>;
|
|
12237
|
+
held_jobs_count: z.ZodOptional<z.ZodInt>;
|
|
11987
12238
|
}, z.core.$strip>;
|
|
11988
12239
|
export declare const zGetBillingBudgetHistoryPath: z.ZodObject<{
|
|
11989
12240
|
id: z.ZodString;
|
|
@@ -12035,7 +12286,6 @@ export declare const zResumeHeldBudgetJobsResponse: z.ZodObject<{
|
|
|
12035
12286
|
* Effective billing capabilities
|
|
12036
12287
|
*/
|
|
12037
12288
|
export declare const zGetBillingCapabilitiesResponse: z.ZodObject<{
|
|
12038
|
-
billing_web_topup_hosted_methods: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
12039
12289
|
auto_top_up_enabled: z.ZodBoolean;
|
|
12040
12290
|
auto_top_up_member_view: z.ZodOptional<z.ZodObject<{
|
|
12041
12291
|
cycle_resets_at: z.ZodNullable<z.ZodISODateTime>;
|
|
@@ -12087,6 +12337,7 @@ export declare const zGetBillingCapabilitiesResponse: z.ZodObject<{
|
|
|
12087
12337
|
embedded: "embedded";
|
|
12088
12338
|
full_page: "full_page";
|
|
12089
12339
|
}>;
|
|
12340
|
+
billing_web_topup_hosted_methods: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
12090
12341
|
cancel_takes_effect_immediately: z.ZodOptional<z.ZodBoolean>;
|
|
12091
12342
|
capabilities: z.ZodObject<{
|
|
12092
12343
|
can_cancel: z.ZodBoolean;
|
|
@@ -12350,6 +12601,7 @@ export declare const zGetBillingCapabilitiesResponse: z.ZodObject<{
|
|
|
12350
12601
|
ending_notice_starts_at: z.ZodOptional<z.ZodISODateTime>;
|
|
12351
12602
|
expires_at: z.ZodISODateTime;
|
|
12352
12603
|
has_parked_billing_operation: z.ZodOptional<z.ZodBoolean>;
|
|
12604
|
+
has_resumable_held_jobs: z.ZodOptional<z.ZodBoolean>;
|
|
12353
12605
|
payment_recovery_available: z.ZodOptional<z.ZodBoolean>;
|
|
12354
12606
|
plan_kind: z.ZodOptional<z.ZodEnum<{
|
|
12355
12607
|
none: "none";
|
|
@@ -12681,6 +12933,13 @@ export declare const zGetPaymentPortalResponse: z.ZodObject<{
|
|
|
12681
12933
|
* Available plans with pricing
|
|
12682
12934
|
*/
|
|
12683
12935
|
export declare const zGetBillingPlansResponse: z.ZodObject<{
|
|
12936
|
+
cancel_project_change: z.ZodOptional<z.ZodObject<{
|
|
12937
|
+
freezes_projects: z.ZodArray<z.ZodObject<{
|
|
12938
|
+
id: z.ZodString;
|
|
12939
|
+
name: z.ZodString;
|
|
12940
|
+
}, z.core.$strip>>;
|
|
12941
|
+
over_project_limit: z.ZodBoolean;
|
|
12942
|
+
}, z.core.$strip>>;
|
|
12684
12943
|
current_plan_slug: z.ZodOptional<z.ZodString>;
|
|
12685
12944
|
plans: z.ZodArray<z.ZodObject<{
|
|
12686
12945
|
action: z.ZodEnum<{
|
|
@@ -12754,6 +13013,13 @@ export declare const zGetBillingPlansResponse: z.ZodObject<{
|
|
|
12754
13013
|
max_seats: z.ZodCoercedBigInt<unknown>;
|
|
12755
13014
|
popular: z.ZodOptional<z.ZodBoolean>;
|
|
12756
13015
|
price_cents: z.ZodCoercedBigInt<unknown>;
|
|
13016
|
+
project_change: z.ZodOptional<z.ZodObject<{
|
|
13017
|
+
freezes_projects: z.ZodArray<z.ZodObject<{
|
|
13018
|
+
id: z.ZodString;
|
|
13019
|
+
name: z.ZodString;
|
|
13020
|
+
}, z.core.$strip>>;
|
|
13021
|
+
over_project_limit: z.ZodBoolean;
|
|
13022
|
+
}, z.core.$strip>>;
|
|
12757
13023
|
seat_summary: z.ZodObject<{
|
|
12758
13024
|
seat_count: z.ZodInt;
|
|
12759
13025
|
total_cost_cents: z.ZodCoercedBigInt<unknown>;
|
|
@@ -12809,6 +13075,13 @@ export declare const zGetBillingPlansResponse: z.ZodObject<{
|
|
|
12809
13075
|
list_price_cents: z.ZodCoercedBigInt<unknown>;
|
|
12810
13076
|
period_charge_cents: z.ZodCoercedBigInt<unknown>;
|
|
12811
13077
|
price_cents: z.ZodCoercedBigInt<unknown>;
|
|
13078
|
+
project_change: z.ZodOptional<z.ZodObject<{
|
|
13079
|
+
freezes_projects: z.ZodArray<z.ZodObject<{
|
|
13080
|
+
id: z.ZodString;
|
|
13081
|
+
name: z.ZodString;
|
|
13082
|
+
}, z.core.$strip>>;
|
|
13083
|
+
over_project_limit: z.ZodBoolean;
|
|
13084
|
+
}, z.core.$strip>>;
|
|
12812
13085
|
}, z.core.$strip>;
|
|
12813
13086
|
yearly: z.ZodObject<{
|
|
12814
13087
|
action: z.ZodEnum<{
|
|
@@ -12838,6 +13111,13 @@ export declare const zGetBillingPlansResponse: z.ZodObject<{
|
|
|
12838
13111
|
list_price_cents: z.ZodCoercedBigInt<unknown>;
|
|
12839
13112
|
period_charge_cents: z.ZodCoercedBigInt<unknown>;
|
|
12840
13113
|
price_cents: z.ZodCoercedBigInt<unknown>;
|
|
13114
|
+
project_change: z.ZodOptional<z.ZodObject<{
|
|
13115
|
+
freezes_projects: z.ZodArray<z.ZodObject<{
|
|
13116
|
+
id: z.ZodString;
|
|
13117
|
+
name: z.ZodString;
|
|
13118
|
+
}, z.core.$strip>>;
|
|
13119
|
+
over_project_limit: z.ZodBoolean;
|
|
13120
|
+
}, z.core.$strip>>;
|
|
12841
13121
|
}, z.core.$strip>;
|
|
12842
13122
|
}, z.core.$strip>>;
|
|
12843
13123
|
}, z.core.$strip>>;
|
|
@@ -12944,6 +13224,13 @@ export declare const zPreviewSubscribeResponse2: z.ZodObject<{
|
|
|
12944
13224
|
}>;
|
|
12945
13225
|
}, z.core.$strip>;
|
|
12946
13226
|
payment_method_configuration_id: z.ZodOptional<z.ZodString>;
|
|
13227
|
+
project_change: z.ZodOptional<z.ZodObject<{
|
|
13228
|
+
freezes_projects: z.ZodArray<z.ZodObject<{
|
|
13229
|
+
id: z.ZodString;
|
|
13230
|
+
name: z.ZodString;
|
|
13231
|
+
}, z.core.$strip>>;
|
|
13232
|
+
over_project_limit: z.ZodBoolean;
|
|
13233
|
+
}, z.core.$strip>>;
|
|
12947
13234
|
promotion_code: z.ZodOptional<z.ZodString>;
|
|
12948
13235
|
proration_at: z.ZodOptional<z.ZodISODateTime>;
|
|
12949
13236
|
proration_remaining_cents: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
|
|
@@ -14579,7 +14866,7 @@ export declare const zGetLegacyObjectInfoByNodeClassPath: z.ZodObject<{
|
|
|
14579
14866
|
node_class: z.ZodString;
|
|
14580
14867
|
}, z.core.$strip>;
|
|
14581
14868
|
/**
|
|
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:
|
|
14869
|
+
* 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
14870
|
*/
|
|
14584
14871
|
export declare const zListProjectsResponse2: z.ZodObject<{
|
|
14585
14872
|
projects: z.ZodArray<z.ZodObject<{
|
|
@@ -14588,6 +14875,7 @@ export declare const zListProjectsResponse2: z.ZodObject<{
|
|
|
14588
14875
|
description: z.ZodOptional<z.ZodString>;
|
|
14589
14876
|
id: z.ZodString;
|
|
14590
14877
|
is_default: z.ZodBoolean;
|
|
14878
|
+
member_count: z.ZodOptional<z.ZodInt>;
|
|
14591
14879
|
my_role: z.ZodOptional<z.ZodEnum<{
|
|
14592
14880
|
runner: "runner";
|
|
14593
14881
|
builder: "builder";
|
|
@@ -14661,6 +14949,13 @@ export declare const zListProjectsResponse2: z.ZodObject<{
|
|
|
14661
14949
|
quota: z.ZodObject<{
|
|
14662
14950
|
active: z.ZodInt;
|
|
14663
14951
|
can_create: z.ZodBoolean;
|
|
14952
|
+
denied_reasons: z.ZodOptional<z.ZodObject<{
|
|
14953
|
+
can_create: z.ZodOptional<z.ZodEnum<{
|
|
14954
|
+
frozen: "frozen";
|
|
14955
|
+
permission_denied: "permission_denied";
|
|
14956
|
+
limit_reached: "limit_reached";
|
|
14957
|
+
}>>;
|
|
14958
|
+
}, z.core.$strip>>;
|
|
14664
14959
|
max_active: z.ZodInt;
|
|
14665
14960
|
}, z.core.$strip>;
|
|
14666
14961
|
}, z.core.$strip>;
|
|
@@ -14686,6 +14981,7 @@ export declare const zCreateProjectResponse: z.ZodObject<{
|
|
|
14686
14981
|
description: z.ZodOptional<z.ZodString>;
|
|
14687
14982
|
id: z.ZodString;
|
|
14688
14983
|
is_default: z.ZodBoolean;
|
|
14984
|
+
member_count: z.ZodOptional<z.ZodInt>;
|
|
14689
14985
|
my_role: z.ZodOptional<z.ZodEnum<{
|
|
14690
14986
|
runner: "runner";
|
|
14691
14987
|
builder: "builder";
|
|
@@ -14767,6 +15063,7 @@ export declare const zGetProjectResponse: z.ZodObject<{
|
|
|
14767
15063
|
description: z.ZodOptional<z.ZodString>;
|
|
14768
15064
|
id: z.ZodString;
|
|
14769
15065
|
is_default: z.ZodBoolean;
|
|
15066
|
+
member_count: z.ZodOptional<z.ZodInt>;
|
|
14770
15067
|
my_role: z.ZodOptional<z.ZodEnum<{
|
|
14771
15068
|
runner: "runner";
|
|
14772
15069
|
builder: "builder";
|
|
@@ -14853,6 +15150,7 @@ export declare const zUpdateProjectResponse: z.ZodObject<{
|
|
|
14853
15150
|
description: z.ZodOptional<z.ZodString>;
|
|
14854
15151
|
id: z.ZodString;
|
|
14855
15152
|
is_default: z.ZodBoolean;
|
|
15153
|
+
member_count: z.ZodOptional<z.ZodInt>;
|
|
14856
15154
|
my_role: z.ZodOptional<z.ZodEnum<{
|
|
14857
15155
|
runner: "runner";
|
|
14858
15156
|
builder: "builder";
|
|
@@ -14922,6 +15220,28 @@ export declare const zUpdateProjectResponse: z.ZodObject<{
|
|
|
14922
15220
|
workspace_id: z.ZodString;
|
|
14923
15221
|
writable: z.ZodBoolean;
|
|
14924
15222
|
}, z.core.$strip>;
|
|
15223
|
+
export declare const zListProjectMemberCandidatesPath: z.ZodObject<{
|
|
15224
|
+
id: z.ZodString;
|
|
15225
|
+
}, z.core.$strip>;
|
|
15226
|
+
/**
|
|
15227
|
+
* The people the caller may add
|
|
15228
|
+
*/
|
|
15229
|
+
export declare const zListProjectMemberCandidatesResponse2: z.ZodObject<{
|
|
15230
|
+
candidates: z.ZodArray<z.ZodObject<{
|
|
15231
|
+
email: z.ZodString;
|
|
15232
|
+
name: z.ZodString;
|
|
15233
|
+
roles: z.ZodArray<z.ZodEnum<{
|
|
15234
|
+
runner: "runner";
|
|
15235
|
+
builder: "builder";
|
|
15236
|
+
project_admin: "project_admin";
|
|
15237
|
+
}>>;
|
|
15238
|
+
user_id: z.ZodString;
|
|
15239
|
+
workspace_access: z.ZodOptional<z.ZodEnum<{
|
|
15240
|
+
workspace_owner: "workspace_owner";
|
|
15241
|
+
workspace_admin: "workspace_admin";
|
|
15242
|
+
}>>;
|
|
15243
|
+
}, z.core.$strip>>;
|
|
15244
|
+
}, z.core.$strip>;
|
|
14925
15245
|
export declare const zListProjectMembersPath: z.ZodObject<{
|
|
14926
15246
|
id: z.ZodString;
|
|
14927
15247
|
}, z.core.$strip>;
|
|
@@ -14931,7 +15251,21 @@ export declare const zListProjectMembersPath: z.ZodObject<{
|
|
|
14931
15251
|
export declare const zListProjectMembersResponse2: z.ZodObject<{
|
|
14932
15252
|
members: z.ZodArray<z.ZodObject<{
|
|
14933
15253
|
added_by_user_id: z.ZodOptional<z.ZodString>;
|
|
15254
|
+
capabilities: z.ZodOptional<z.ZodObject<{
|
|
15255
|
+
can_change_role: z.ZodBoolean;
|
|
15256
|
+
can_remove: z.ZodBoolean;
|
|
15257
|
+
}, z.core.$strip>>;
|
|
14934
15258
|
create_time: z.ZodISODateTime;
|
|
15259
|
+
denied_reasons: z.ZodOptional<z.ZodObject<{
|
|
15260
|
+
can_change_role: z.ZodOptional<z.ZodEnum<{
|
|
15261
|
+
permission_denied: "permission_denied";
|
|
15262
|
+
project_frozen: "project_frozen";
|
|
15263
|
+
}>>;
|
|
15264
|
+
can_remove: z.ZodOptional<z.ZodEnum<{
|
|
15265
|
+
permission_denied: "permission_denied";
|
|
15266
|
+
project_frozen: "project_frozen";
|
|
15267
|
+
}>>;
|
|
15268
|
+
}, z.core.$strip>>;
|
|
14935
15269
|
email: z.ZodString;
|
|
14936
15270
|
name: z.ZodString;
|
|
14937
15271
|
role: z.ZodEnum<{
|
|
@@ -14941,6 +15275,15 @@ export declare const zListProjectMembersResponse2: z.ZodObject<{
|
|
|
14941
15275
|
}>;
|
|
14942
15276
|
user_id: z.ZodString;
|
|
14943
15277
|
}, z.core.$strip>>;
|
|
15278
|
+
workspace_access: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
15279
|
+
access: z.ZodEnum<{
|
|
15280
|
+
workspace_owner: "workspace_owner";
|
|
15281
|
+
workspace_admin: "workspace_admin";
|
|
15282
|
+
}>;
|
|
15283
|
+
email: z.ZodString;
|
|
15284
|
+
name: z.ZodString;
|
|
15285
|
+
user_id: z.ZodString;
|
|
15286
|
+
}, z.core.$strip>>>;
|
|
14944
15287
|
}, z.core.$strip>;
|
|
14945
15288
|
export declare const zRemoveProjectMemberPath: z.ZodObject<{
|
|
14946
15289
|
id: z.ZodString;
|
|
@@ -14966,7 +15309,21 @@ export declare const zSetProjectMemberPath: z.ZodObject<{
|
|
|
14966
15309
|
*/
|
|
14967
15310
|
export declare const zSetProjectMemberResponse: z.ZodObject<{
|
|
14968
15311
|
added_by_user_id: z.ZodOptional<z.ZodString>;
|
|
15312
|
+
capabilities: z.ZodOptional<z.ZodObject<{
|
|
15313
|
+
can_change_role: z.ZodBoolean;
|
|
15314
|
+
can_remove: z.ZodBoolean;
|
|
15315
|
+
}, z.core.$strip>>;
|
|
14969
15316
|
create_time: z.ZodISODateTime;
|
|
15317
|
+
denied_reasons: z.ZodOptional<z.ZodObject<{
|
|
15318
|
+
can_change_role: z.ZodOptional<z.ZodEnum<{
|
|
15319
|
+
permission_denied: "permission_denied";
|
|
15320
|
+
project_frozen: "project_frozen";
|
|
15321
|
+
}>>;
|
|
15322
|
+
can_remove: z.ZodOptional<z.ZodEnum<{
|
|
15323
|
+
permission_denied: "permission_denied";
|
|
15324
|
+
project_frozen: "project_frozen";
|
|
15325
|
+
}>>;
|
|
15326
|
+
}, z.core.$strip>>;
|
|
14970
15327
|
email: z.ZodString;
|
|
14971
15328
|
name: z.ZodString;
|
|
14972
15329
|
role: z.ZodEnum<{
|
|
@@ -16928,6 +17285,13 @@ export declare const zGetCccWebsiteRootPresentationResponse: z.ZodObject<{
|
|
|
16928
17285
|
}, z.core.$strip>;
|
|
16929
17286
|
}, z.core.$strip>;
|
|
16930
17287
|
}, z.core.$strip>;
|
|
17288
|
+
/**
|
|
17289
|
+
* Current Live revision and the public uids
|
|
17290
|
+
*/
|
|
17291
|
+
export declare const zGetCccWebsiteRootPublicUidsResponse: z.ZodObject<{
|
|
17292
|
+
revision_id: z.ZodCoercedBigInt<unknown>;
|
|
17293
|
+
uids: z.ZodArray<z.ZodUUID>;
|
|
17294
|
+
}, z.core.$strip>;
|
|
16931
17295
|
export declare const zGetCccTypeSchemaPath: z.ZodObject<{
|
|
16932
17296
|
type: z.ZodEnum<{
|
|
16933
17297
|
model: "model";
|