@comfyorg/ingest-types 1.5.0 → 1.7.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 +1438 -74
- package/dist/zod.gen.d.ts +1743 -132
- package/dist/zod.gen.js +678 -38
- package/package.json +1 -1
package/dist/zod.gen.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { CccPublicationCondition } from './types.gen.js';
|
|
1
2
|
import * as z from 'zod';
|
|
2
3
|
/**
|
|
3
4
|
* Response returned after successfully accepting a workspace invitation.
|
|
@@ -6,6 +7,15 @@ export declare const zAcceptInviteResponse: z.ZodObject<{
|
|
|
6
7
|
workspace_id: z.ZodString;
|
|
7
8
|
workspace_name: z.ZodString;
|
|
8
9
|
}, z.core.$strip>;
|
|
10
|
+
/**
|
|
11
|
+
* The auto top-up settings a purchase was accepted with, echoed so checkout and its done state show exactly what turns on. Present only on a purchase sent with auto_top_up.
|
|
12
|
+
*/
|
|
13
|
+
export declare const zAcceptedAutoTopUpSettings: z.ZodObject<{
|
|
14
|
+
monthly_budget_cents: z.ZodCoercedBigInt<unknown>;
|
|
15
|
+
monthly_budget_is_default: z.ZodBoolean;
|
|
16
|
+
target_credits: z.ZodCoercedBigInt<unknown>;
|
|
17
|
+
threshold_credits: z.ZodCoercedBigInt<unknown>;
|
|
18
|
+
}, z.core.$strip>;
|
|
9
19
|
/**
|
|
10
20
|
* Returned when a request to run the agent is declined before the turn starts, because of a billing or account condition on the workspace. The `error` object carries a `message` you can show the user, a `type` that matches the HTTP status, and a more specific `reason` you can branch on to offer the right next step.
|
|
11
21
|
*/
|
|
@@ -245,6 +255,50 @@ export declare const zAgentLlmError: z.ZodObject<{
|
|
|
245
255
|
error: "error";
|
|
246
256
|
}>;
|
|
247
257
|
}, z.core.$strip>;
|
|
258
|
+
/**
|
|
259
|
+
* An explicit exact model selection. Unknown properties are refused with 400 so a newer intent is never silently ignored by an older server.
|
|
260
|
+
*/
|
|
261
|
+
export declare const zAgentModelSelection: z.ZodObject<{
|
|
262
|
+
model_id: z.ZodString;
|
|
263
|
+
option_id: z.ZodOptional<z.ZodString>;
|
|
264
|
+
}, z.core.$strip>;
|
|
265
|
+
/**
|
|
266
|
+
* The immutable model selection receipt for an accepted turn.
|
|
267
|
+
*/
|
|
268
|
+
export declare const zAgentModelReceipt: z.ZodObject<{
|
|
269
|
+
contract: z.ZodEnum<{
|
|
270
|
+
v1: "v1";
|
|
271
|
+
}>;
|
|
272
|
+
model_id: z.ZodString;
|
|
273
|
+
profile_revision: z.ZodString;
|
|
274
|
+
requested: z.ZodNullable<z.ZodObject<{
|
|
275
|
+
model_id: z.ZodString;
|
|
276
|
+
option_id: z.ZodOptional<z.ZodString>;
|
|
277
|
+
}, z.core.$strip>>;
|
|
278
|
+
source: z.ZodEnum<{
|
|
279
|
+
request: "request";
|
|
280
|
+
deployment_default: "deployment_default";
|
|
281
|
+
}>;
|
|
282
|
+
strategy: z.ZodEnum<{
|
|
283
|
+
anthropic: "anthropic";
|
|
284
|
+
}>;
|
|
285
|
+
wire: z.ZodEnum<{
|
|
286
|
+
anthropic_messages: "anthropic_messages";
|
|
287
|
+
openai_chat: "openai_chat";
|
|
288
|
+
}>;
|
|
289
|
+
}, z.core.$strip>;
|
|
290
|
+
export declare const zAgentModelUnavailable: z.ZodIntersection<z.ZodObject<{
|
|
291
|
+
code: z.ZodOptional<z.ZodString>;
|
|
292
|
+
error: z.ZodString;
|
|
293
|
+
kind: z.ZodOptional<z.ZodEnum<{
|
|
294
|
+
unauthenticated: "unauthenticated";
|
|
295
|
+
not_provisioned: "not_provisioned";
|
|
296
|
+
}>>;
|
|
297
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
298
|
+
code: z.ZodEnum<{
|
|
299
|
+
model_unavailable: "model_unavailable";
|
|
300
|
+
}>;
|
|
301
|
+
}, z.core.$strip>>;
|
|
248
302
|
/**
|
|
249
303
|
* The `context` of a `paused` ask.
|
|
250
304
|
*/
|
|
@@ -389,6 +443,10 @@ export declare const zAgentPostMessageRequest: z.ZodObject<{
|
|
|
389
443
|
draft: z.ZodOptional<z.ZodObject<{
|
|
390
444
|
content: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
391
445
|
}, z.core.$strip>>;
|
|
446
|
+
model_selection: z.ZodOptional<z.ZodObject<{
|
|
447
|
+
model_id: z.ZodString;
|
|
448
|
+
option_id: z.ZodOptional<z.ZodString>;
|
|
449
|
+
}, z.core.$strip>>;
|
|
392
450
|
open_tabs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
393
451
|
name: z.ZodOptional<z.ZodString>;
|
|
394
452
|
workflow_id: z.ZodString;
|
|
@@ -1085,10 +1143,32 @@ export declare const zAgentToolCallFrame: z.ZodObject<{
|
|
|
1085
1143
|
}>;
|
|
1086
1144
|
}, z.core.$strip>;
|
|
1087
1145
|
/**
|
|
1088
|
-
* 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.
|
|
1146
|
+
* 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.
|
|
1089
1147
|
*/
|
|
1090
1148
|
export declare const zAgentTurnAccepted: z.ZodObject<{
|
|
1091
1149
|
message_id: z.ZodString;
|
|
1150
|
+
model_selection: z.ZodOptional<z.ZodObject<{
|
|
1151
|
+
contract: z.ZodEnum<{
|
|
1152
|
+
v1: "v1";
|
|
1153
|
+
}>;
|
|
1154
|
+
model_id: z.ZodString;
|
|
1155
|
+
profile_revision: z.ZodString;
|
|
1156
|
+
requested: z.ZodNullable<z.ZodObject<{
|
|
1157
|
+
model_id: z.ZodString;
|
|
1158
|
+
option_id: z.ZodOptional<z.ZodString>;
|
|
1159
|
+
}, z.core.$strip>>;
|
|
1160
|
+
source: z.ZodEnum<{
|
|
1161
|
+
request: "request";
|
|
1162
|
+
deployment_default: "deployment_default";
|
|
1163
|
+
}>;
|
|
1164
|
+
strategy: z.ZodEnum<{
|
|
1165
|
+
anthropic: "anthropic";
|
|
1166
|
+
}>;
|
|
1167
|
+
wire: z.ZodEnum<{
|
|
1168
|
+
anthropic_messages: "anthropic_messages";
|
|
1169
|
+
openai_chat: "openai_chat";
|
|
1170
|
+
}>;
|
|
1171
|
+
}, z.core.$strip>>;
|
|
1092
1172
|
thread_id: z.ZodString;
|
|
1093
1173
|
}, z.core.$strip>;
|
|
1094
1174
|
/**
|
|
@@ -1106,7 +1186,7 @@ export declare const zAgentTurnRefusal: z.ZodObject<{
|
|
|
1106
1186
|
reason: z.ZodOptional<z.ZodString>;
|
|
1107
1187
|
}, z.core.$strip>;
|
|
1108
1188
|
/**
|
|
1109
|
-
* Usage of a completed turn, as carried on agent_message_done. Mirrors `$defs.agent_message_done.data.usage` in services/agent/api/agent_events.schema.json; TestMessageDoneFrameMatchesContract holds the two definitions to the same fields and constraints. charge_micro_usd appears only when the server durably captured priced billing for at least one round. It is the exact charge in millionths of a US dollar; clients convert that denomination to catalog credits for display and must not read its absence as a zero charge.
|
|
1189
|
+
* Usage of a completed turn, as carried on agent_message_done. Mirrors `$defs.agent_message_done.data.usage` in services/agent/api/agent_events.schema.json; TestMessageDoneFrameMatchesContract holds the two definitions to the same fields and constraints. charge_micro_usd appears only when the server durably captured priced billing for at least one round. It is the exact charge in millionths of a US dollar; clients convert that denomination to catalog credits for display and must not read its absence as a zero charge. On a local-agent turn it is the proxy-reported lower bound, and priced_rounds / unpriced_rounds count the rounds that did and did not report a price.
|
|
1110
1190
|
*/
|
|
1111
1191
|
export declare const zAgentTurnUsage: z.ZodObject<{
|
|
1112
1192
|
cache_creation_input_tokens: z.ZodInt;
|
|
@@ -1114,7 +1194,9 @@ export declare const zAgentTurnUsage: z.ZodObject<{
|
|
|
1114
1194
|
charge_micro_usd: z.ZodOptional<z.ZodInt>;
|
|
1115
1195
|
input_tokens: z.ZodInt;
|
|
1116
1196
|
output_tokens: z.ZodInt;
|
|
1197
|
+
priced_rounds: z.ZodOptional<z.ZodInt>;
|
|
1117
1198
|
total_tokens: z.ZodInt;
|
|
1199
|
+
unpriced_rounds: z.ZodOptional<z.ZodInt>;
|
|
1118
1200
|
}, z.core.$strip>;
|
|
1119
1201
|
/**
|
|
1120
1202
|
* The `data` of an agent_message_done WebSocket event: the assistant message is complete. Mirrors `$defs.agent_message_done.data` in services/agent/api/agent_events.schema.json.
|
|
@@ -1139,7 +1221,9 @@ export declare const zAgentMessageDoneData: z.ZodObject<{
|
|
|
1139
1221
|
charge_micro_usd: z.ZodOptional<z.ZodInt>;
|
|
1140
1222
|
input_tokens: z.ZodInt;
|
|
1141
1223
|
output_tokens: z.ZodInt;
|
|
1224
|
+
priced_rounds: z.ZodOptional<z.ZodInt>;
|
|
1142
1225
|
total_tokens: z.ZodInt;
|
|
1226
|
+
unpriced_rounds: z.ZodOptional<z.ZodInt>;
|
|
1143
1227
|
}, z.core.$strip>>;
|
|
1144
1228
|
}, z.core.$strip>;
|
|
1145
1229
|
/**
|
|
@@ -1166,7 +1250,9 @@ export declare const zAgentMessageDoneFrame: z.ZodObject<{
|
|
|
1166
1250
|
charge_micro_usd: z.ZodOptional<z.ZodInt>;
|
|
1167
1251
|
input_tokens: z.ZodInt;
|
|
1168
1252
|
output_tokens: z.ZodInt;
|
|
1253
|
+
priced_rounds: z.ZodOptional<z.ZodInt>;
|
|
1169
1254
|
total_tokens: z.ZodInt;
|
|
1255
|
+
unpriced_rounds: z.ZodOptional<z.ZodInt>;
|
|
1170
1256
|
}, z.core.$strip>>;
|
|
1171
1257
|
}, z.core.$strip>;
|
|
1172
1258
|
type: z.ZodEnum<{
|
|
@@ -1654,6 +1740,19 @@ export declare const zAutoReloadSettingsRequest: z.ZodObject<{
|
|
|
1654
1740
|
target_credits: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
|
|
1655
1741
|
threshold_credits: z.ZodCoercedBigInt<unknown>;
|
|
1656
1742
|
}, z.core.$strip>;
|
|
1743
|
+
/**
|
|
1744
|
+
* Did auto top-up turn on with a purchase sent with auto_top_up; absent otherwise, so absence is not "off". pending: payment or activation has not finished; keep polling. on: on with auto_top_up's settings. failed: payment and credits stand but auto top-up did not turn on; send the owner to set it up in Billing. not_attempted: the payment did not succeed (or the checkout expired). Not the current status; read GET /api/billing/auto-reload.
|
|
1745
|
+
*/
|
|
1746
|
+
export declare const zAutoTopUpActivation: z.ZodEnum<{
|
|
1747
|
+
failed: "failed";
|
|
1748
|
+
on: "on";
|
|
1749
|
+
pending: "pending";
|
|
1750
|
+
not_attempted: "not_attempted";
|
|
1751
|
+
}>;
|
|
1752
|
+
/**
|
|
1753
|
+
* Only when auto_top_up_activation is failed. An auto_top_up_setup reason (GET /api/billing/capabilities) or activation_error. For support and analytics, not copy.
|
|
1754
|
+
*/
|
|
1755
|
+
export declare const zAutoTopUpActivationReason: z.ZodString;
|
|
1657
1756
|
/**
|
|
1658
1757
|
* Read-only auto top-up display for non-owner workspace members. Omitted when unavailable, hidden, or unsupported by an older server; keep the member discoverability notice as the fallback. Never grants management access and contains no limit amounts, spending or payment details.
|
|
1659
1758
|
*/
|
|
@@ -1679,8 +1778,8 @@ export declare const zAutoTopUpMemberView: z.ZodObject<{
|
|
|
1679
1778
|
* means setup is not available. Owner read/disable authority remains separate.
|
|
1680
1779
|
* These states do not determine surface visibility. Unified billing settings
|
|
1681
1780
|
* show the auto top-up card only when capabilities.can_view_auto_top_up is
|
|
1682
|
-
* true
|
|
1683
|
-
*
|
|
1781
|
+
* true. Paused or payment-failed billing hides it; the manual-purchase
|
|
1782
|
+
* switch does not.
|
|
1684
1783
|
* Ready does not authorize a charge or guarantee an off-session payment method.
|
|
1685
1784
|
* This fact ignores saved consent and monthly budget. An absent fact is unknown.
|
|
1686
1785
|
*
|
|
@@ -2067,6 +2166,70 @@ export declare const zBillingEventsResponse: z.ZodObject<{
|
|
|
2067
2166
|
total: z.ZodInt;
|
|
2068
2167
|
totalPages: z.ZodInt;
|
|
2069
2168
|
}, z.core.$strip>;
|
|
2169
|
+
/**
|
|
2170
|
+
* Asks for a one-time handoff that signs a billing receiver tab in as the caller.
|
|
2171
|
+
*/
|
|
2172
|
+
export declare const zBillingHandoffCreateRequest: z.ZodObject<{
|
|
2173
|
+
client_version: z.ZodString;
|
|
2174
|
+
receiver: z.ZodEnum<{
|
|
2175
|
+
billing_web: "billing_web";
|
|
2176
|
+
platform: "platform";
|
|
2177
|
+
}>;
|
|
2178
|
+
surface: z.ZodEnum<{
|
|
2179
|
+
local_web: "local_web";
|
|
2180
|
+
desktop: "desktop";
|
|
2181
|
+
}>;
|
|
2182
|
+
workspace_id: z.ZodString;
|
|
2183
|
+
}, z.core.$strip>;
|
|
2184
|
+
/**
|
|
2185
|
+
* An issued handoff. The token is single use and expires within 60 seconds.
|
|
2186
|
+
*/
|
|
2187
|
+
export declare const zBillingHandoffCreateResponse: z.ZodObject<{
|
|
2188
|
+
entry_url: z.ZodString;
|
|
2189
|
+
expires_at: z.ZodISODateTime;
|
|
2190
|
+
request_id: z.ZodString;
|
|
2191
|
+
}, z.core.$strip>;
|
|
2192
|
+
/**
|
|
2193
|
+
* The handoff token a receiver read from its URL fragment.
|
|
2194
|
+
*/
|
|
2195
|
+
export declare const zBillingHandoffExchangeRequest: z.ZodObject<{
|
|
2196
|
+
token: z.ZodString;
|
|
2197
|
+
}, z.core.$strip>;
|
|
2198
|
+
/**
|
|
2199
|
+
* The user a scoped billing session acts as.
|
|
2200
|
+
*/
|
|
2201
|
+
export declare const zBillingHandoffUser: z.ZodObject<{
|
|
2202
|
+
email: z.ZodString;
|
|
2203
|
+
id: z.ZodString;
|
|
2204
|
+
}, z.core.$strip>;
|
|
2205
|
+
/**
|
|
2206
|
+
* The workspace a scoped billing session is bound to.
|
|
2207
|
+
*/
|
|
2208
|
+
export declare const zBillingHandoffWorkspace: z.ZodObject<{
|
|
2209
|
+
id: z.ZodString;
|
|
2210
|
+
name: z.ZodString;
|
|
2211
|
+
type: z.ZodString;
|
|
2212
|
+
}, z.core.$strip>;
|
|
2213
|
+
/**
|
|
2214
|
+
* A scoped billing session for the handoff's user and workspace.
|
|
2215
|
+
*/
|
|
2216
|
+
export declare const zBillingHandoffExchangeResponse: z.ZodObject<{
|
|
2217
|
+
expires_at: z.ZodISODateTime;
|
|
2218
|
+
role: z.ZodEnum<{
|
|
2219
|
+
owner: "owner";
|
|
2220
|
+
member: "member";
|
|
2221
|
+
}>;
|
|
2222
|
+
session_token: z.ZodString;
|
|
2223
|
+
user: z.ZodObject<{
|
|
2224
|
+
email: z.ZodString;
|
|
2225
|
+
id: z.ZodString;
|
|
2226
|
+
}, z.core.$strip>;
|
|
2227
|
+
workspace: z.ZodObject<{
|
|
2228
|
+
id: z.ZodString;
|
|
2229
|
+
name: z.ZodString;
|
|
2230
|
+
type: z.ZodString;
|
|
2231
|
+
}, z.core.$strip>;
|
|
2232
|
+
}, z.core.$strip>;
|
|
2070
2233
|
export declare const zBillingOpCancelResponse: z.ZodObject<{
|
|
2071
2234
|
billing_op_id: z.ZodString;
|
|
2072
2235
|
status: z.ZodEnum<{
|
|
@@ -2142,6 +2305,122 @@ export declare const zBillingCompanyDetailsUpdateRequest: z.ZodObject<{
|
|
|
2142
2305
|
export declare const zBulkRevokeApiKeysResponse: z.ZodObject<{
|
|
2143
2306
|
revoked_count: z.ZodInt;
|
|
2144
2307
|
}, z.core.$strip>;
|
|
2308
|
+
export declare const zCccActivityPageRef: z.ZodObject<{
|
|
2309
|
+
slug: z.ZodString;
|
|
2310
|
+
title: z.ZodString;
|
|
2311
|
+
type: z.ZodEnum<{
|
|
2312
|
+
model: "model";
|
|
2313
|
+
workflow: "workflow";
|
|
2314
|
+
app: "app";
|
|
2315
|
+
}>;
|
|
2316
|
+
uid: z.ZodUUID;
|
|
2317
|
+
}, z.core.$strip>;
|
|
2318
|
+
export declare const zCccActivityItem: z.ZodObject<{
|
|
2319
|
+
actor_uid: z.ZodString;
|
|
2320
|
+
at: z.ZodISODateTime;
|
|
2321
|
+
catalog_status: z.ZodOptional<z.ZodEnum<{
|
|
2322
|
+
archived: "archived";
|
|
2323
|
+
draft: "draft";
|
|
2324
|
+
published: "published";
|
|
2325
|
+
reverted: "reverted";
|
|
2326
|
+
}>>;
|
|
2327
|
+
changed_fields: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2328
|
+
file_count: z.ZodOptional<z.ZodInt>;
|
|
2329
|
+
is_deleted: z.ZodOptional<z.ZodBoolean>;
|
|
2330
|
+
is_new: z.ZodOptional<z.ZodBoolean>;
|
|
2331
|
+
kind: z.ZodEnum<{
|
|
2332
|
+
save: "save";
|
|
2333
|
+
publish: "publish";
|
|
2334
|
+
discard: "discard";
|
|
2335
|
+
revert: "revert";
|
|
2336
|
+
}>;
|
|
2337
|
+
page: z.ZodOptional<z.ZodObject<{
|
|
2338
|
+
slug: z.ZodString;
|
|
2339
|
+
title: z.ZodString;
|
|
2340
|
+
type: z.ZodEnum<{
|
|
2341
|
+
model: "model";
|
|
2342
|
+
workflow: "workflow";
|
|
2343
|
+
app: "app";
|
|
2344
|
+
}>;
|
|
2345
|
+
uid: z.ZodUUID;
|
|
2346
|
+
}, z.core.$strip>>;
|
|
2347
|
+
page_count: z.ZodOptional<z.ZodInt>;
|
|
2348
|
+
pages: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2349
|
+
slug: z.ZodString;
|
|
2350
|
+
title: z.ZodString;
|
|
2351
|
+
type: z.ZodEnum<{
|
|
2352
|
+
model: "model";
|
|
2353
|
+
workflow: "workflow";
|
|
2354
|
+
app: "app";
|
|
2355
|
+
}>;
|
|
2356
|
+
uid: z.ZodUUID;
|
|
2357
|
+
}, z.core.$strip>>>;
|
|
2358
|
+
previous_revision_uid: z.ZodOptional<z.ZodUUID>;
|
|
2359
|
+
restored_from: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
|
|
2360
|
+
restored_revision: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
|
|
2361
|
+
reverted: z.ZodOptional<z.ZodBoolean>;
|
|
2362
|
+
reverted_revision: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
|
|
2363
|
+
revision: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
|
|
2364
|
+
revision_uid: z.ZodOptional<z.ZodUUID>;
|
|
2365
|
+
}, z.core.$strip>;
|
|
2366
|
+
export declare const zCccActivityPage: z.ZodObject<{
|
|
2367
|
+
has_more: z.ZodBoolean;
|
|
2368
|
+
items: z.ZodArray<z.ZodObject<{
|
|
2369
|
+
actor_uid: z.ZodString;
|
|
2370
|
+
at: z.ZodISODateTime;
|
|
2371
|
+
catalog_status: z.ZodOptional<z.ZodEnum<{
|
|
2372
|
+
archived: "archived";
|
|
2373
|
+
draft: "draft";
|
|
2374
|
+
published: "published";
|
|
2375
|
+
reverted: "reverted";
|
|
2376
|
+
}>>;
|
|
2377
|
+
changed_fields: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2378
|
+
file_count: z.ZodOptional<z.ZodInt>;
|
|
2379
|
+
is_deleted: z.ZodOptional<z.ZodBoolean>;
|
|
2380
|
+
is_new: z.ZodOptional<z.ZodBoolean>;
|
|
2381
|
+
kind: z.ZodEnum<{
|
|
2382
|
+
save: "save";
|
|
2383
|
+
publish: "publish";
|
|
2384
|
+
discard: "discard";
|
|
2385
|
+
revert: "revert";
|
|
2386
|
+
}>;
|
|
2387
|
+
page: z.ZodOptional<z.ZodObject<{
|
|
2388
|
+
slug: z.ZodString;
|
|
2389
|
+
title: z.ZodString;
|
|
2390
|
+
type: z.ZodEnum<{
|
|
2391
|
+
model: "model";
|
|
2392
|
+
workflow: "workflow";
|
|
2393
|
+
app: "app";
|
|
2394
|
+
}>;
|
|
2395
|
+
uid: z.ZodUUID;
|
|
2396
|
+
}, z.core.$strip>>;
|
|
2397
|
+
page_count: z.ZodOptional<z.ZodInt>;
|
|
2398
|
+
pages: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2399
|
+
slug: z.ZodString;
|
|
2400
|
+
title: z.ZodString;
|
|
2401
|
+
type: z.ZodEnum<{
|
|
2402
|
+
model: "model";
|
|
2403
|
+
workflow: "workflow";
|
|
2404
|
+
app: "app";
|
|
2405
|
+
}>;
|
|
2406
|
+
uid: z.ZodUUID;
|
|
2407
|
+
}, z.core.$strip>>>;
|
|
2408
|
+
previous_revision_uid: z.ZodOptional<z.ZodUUID>;
|
|
2409
|
+
restored_from: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
|
|
2410
|
+
restored_revision: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
|
|
2411
|
+
reverted: z.ZodOptional<z.ZodBoolean>;
|
|
2412
|
+
reverted_revision: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
|
|
2413
|
+
revision: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
|
|
2414
|
+
revision_uid: z.ZodOptional<z.ZodUUID>;
|
|
2415
|
+
}, z.core.$strip>>;
|
|
2416
|
+
last_publish: z.ZodNullable<z.ZodObject<{
|
|
2417
|
+
actor_uid: z.ZodString;
|
|
2418
|
+
at: z.ZodISODateTime;
|
|
2419
|
+
reverted: z.ZodBoolean;
|
|
2420
|
+
revision: z.ZodCoercedBigInt<unknown>;
|
|
2421
|
+
}, z.core.$strip>>;
|
|
2422
|
+
next_cursor: z.ZodOptional<z.ZodString>;
|
|
2423
|
+
}, z.core.$strip>;
|
|
2145
2424
|
export declare const zCccCatalogState: z.ZodObject<{
|
|
2146
2425
|
draft_generation: z.ZodCoercedBigInt<unknown>;
|
|
2147
2426
|
draft_rev: z.ZodCoercedBigInt<unknown>;
|
|
@@ -2151,8 +2430,11 @@ export declare const zCccCatalogState: z.ZodObject<{
|
|
|
2151
2430
|
}, z.core.$strip>;
|
|
2152
2431
|
export declare const zCccAuthoringContext: z.ZodObject<{
|
|
2153
2432
|
actor_uid: z.ZodString;
|
|
2433
|
+
can_access_catalog: z.ZodBoolean;
|
|
2154
2434
|
can_apply: z.ZodBoolean;
|
|
2155
2435
|
can_edit: z.ZodBoolean;
|
|
2436
|
+
can_manage_users: z.ZodBoolean;
|
|
2437
|
+
can_transfer: z.ZodBoolean;
|
|
2156
2438
|
owner_uid: z.ZodString;
|
|
2157
2439
|
state: z.ZodObject<{
|
|
2158
2440
|
draft_generation: z.ZodCoercedBigInt<unknown>;
|
|
@@ -2174,64 +2456,649 @@ export declare const zCccCheckedReviewReceipt: z.ZodObject<{
|
|
|
2174
2456
|
live_rev: z.ZodCoercedBigInt<unknown>;
|
|
2175
2457
|
next_rev: z.ZodCoercedBigInt<unknown>;
|
|
2176
2458
|
previous_live_rev: z.ZodNullable<z.ZodCoercedBigInt<unknown>>;
|
|
2177
|
-
}, z.core.$strip>;
|
|
2178
|
-
unchecked_count: z.ZodInt;
|
|
2179
|
-
}, z.core.$strip>;
|
|
2180
|
-
export declare const zCccCreatorLink: z.ZodObject<{
|
|
2181
|
-
label: z.ZodString;
|
|
2182
|
-
url: z.ZodURL;
|
|
2183
|
-
}, z.core.$strip>;
|
|
2184
|
-
export declare const zCccCreatorProfile: z.ZodObject<{
|
|
2185
|
-
avatar_url: z.ZodString;
|
|
2186
|
-
bio: z.ZodString;
|
|
2187
|
-
display_name: z.ZodString;
|
|
2188
|
-
links: z.ZodArray<z.ZodObject<{
|
|
2189
|
-
label: z.ZodString;
|
|
2190
|
-
url: z.ZodURL;
|
|
2459
|
+
}, z.core.$strip>;
|
|
2460
|
+
unchecked_count: z.ZodInt;
|
|
2461
|
+
}, z.core.$strip>;
|
|
2462
|
+
export declare const zCccCreatorLink: z.ZodObject<{
|
|
2463
|
+
label: z.ZodString;
|
|
2464
|
+
url: z.ZodURL;
|
|
2465
|
+
}, z.core.$strip>;
|
|
2466
|
+
export declare const zCccCreatorProfile: z.ZodObject<{
|
|
2467
|
+
avatar_url: z.ZodString;
|
|
2468
|
+
bio: z.ZodString;
|
|
2469
|
+
display_name: z.ZodString;
|
|
2470
|
+
links: z.ZodArray<z.ZodObject<{
|
|
2471
|
+
label: z.ZodString;
|
|
2472
|
+
url: z.ZodURL;
|
|
2473
|
+
}, z.core.$strip>>;
|
|
2474
|
+
username: z.ZodString;
|
|
2475
|
+
}, z.core.$strip>;
|
|
2476
|
+
export declare const zCccCreatorSummary: z.ZodObject<{
|
|
2477
|
+
avatar_url: z.ZodString;
|
|
2478
|
+
display_name: z.ZodString;
|
|
2479
|
+
username: z.ZodString;
|
|
2480
|
+
workflow_count: z.ZodInt;
|
|
2481
|
+
}, z.core.$strip>;
|
|
2482
|
+
export declare const zCccCreatorsPage: z.ZodObject<{
|
|
2483
|
+
items: z.ZodArray<z.ZodObject<{
|
|
2484
|
+
avatar_url: z.ZodString;
|
|
2485
|
+
display_name: z.ZodString;
|
|
2486
|
+
username: z.ZodString;
|
|
2487
|
+
workflow_count: z.ZodInt;
|
|
2488
|
+
}, z.core.$strip>>;
|
|
2489
|
+
next_cursor: z.ZodOptional<z.ZodString>;
|
|
2490
|
+
}, z.core.$strip>;
|
|
2491
|
+
/**
|
|
2492
|
+
* Flat type-versioned CCC JSON. Domain schemas (/api/v1/catalog/schemas/{type}/{version}) constrain authored fields. The readOnly properties are server metadata returned by reads; a save may send them back unchanged and they are ignored, never applied. expected_draft_rev and expected_revision_uid are the save concurrency tokens.
|
|
2493
|
+
*/
|
|
2494
|
+
export declare const zCccjson: z.ZodObject<{
|
|
2495
|
+
catalog_rev: z.ZodOptional<z.ZodReadonly<z.ZodCoercedBigInt<unknown>>>;
|
|
2496
|
+
creator_uid: z.ZodOptional<z.ZodReadonly<z.ZodString>>;
|
|
2497
|
+
digest: z.ZodOptional<z.ZodReadonly<z.ZodString>>;
|
|
2498
|
+
draft_generation: z.ZodOptional<z.ZodReadonly<z.ZodCoercedBigInt<unknown>>>;
|
|
2499
|
+
edit_sequence: z.ZodOptional<z.ZodReadonly<z.ZodCoercedBigInt<unknown>>>;
|
|
2500
|
+
is_deleted: z.ZodOptional<z.ZodReadonly<z.ZodBoolean>>;
|
|
2501
|
+
owner_uid: z.ZodOptional<z.ZodReadonly<z.ZodString>>;
|
|
2502
|
+
revision_uid: z.ZodOptional<z.ZodReadonly<z.ZodUUID>>;
|
|
2503
|
+
saved_at: z.ZodOptional<z.ZodReadonly<z.ZodISODateTime>>;
|
|
2504
|
+
saved_by_uid: z.ZodOptional<z.ZodReadonly<z.ZodString>>;
|
|
2505
|
+
uid: z.ZodOptional<z.ZodReadonly<z.ZodUUID>>;
|
|
2506
|
+
}, z.core.$strip>;
|
|
2507
|
+
/**
|
|
2508
|
+
* One immutable save: the flat CCCJSON read plus the status of the catalog revision that holds it and its save time.
|
|
2509
|
+
*/
|
|
2510
|
+
export declare const zCccHistoryItem: z.ZodIntersection<z.ZodObject<{
|
|
2511
|
+
catalog_rev: z.ZodOptional<z.ZodReadonly<z.ZodCoercedBigInt<unknown>>>;
|
|
2512
|
+
creator_uid: z.ZodOptional<z.ZodReadonly<z.ZodString>>;
|
|
2513
|
+
digest: z.ZodOptional<z.ZodReadonly<z.ZodString>>;
|
|
2514
|
+
draft_generation: z.ZodOptional<z.ZodReadonly<z.ZodCoercedBigInt<unknown>>>;
|
|
2515
|
+
edit_sequence: z.ZodOptional<z.ZodReadonly<z.ZodCoercedBigInt<unknown>>>;
|
|
2516
|
+
is_deleted: z.ZodOptional<z.ZodReadonly<z.ZodBoolean>>;
|
|
2517
|
+
owner_uid: z.ZodOptional<z.ZodReadonly<z.ZodString>>;
|
|
2518
|
+
revision_uid: z.ZodOptional<z.ZodReadonly<z.ZodUUID>>;
|
|
2519
|
+
saved_at: z.ZodOptional<z.ZodReadonly<z.ZodISODateTime>>;
|
|
2520
|
+
saved_by_uid: z.ZodOptional<z.ZodReadonly<z.ZodString>>;
|
|
2521
|
+
uid: z.ZodOptional<z.ZodReadonly<z.ZodUUID>>;
|
|
2522
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2523
|
+
catalog_status: z.ZodEnum<{
|
|
2524
|
+
archived: "archived";
|
|
2525
|
+
draft: "draft";
|
|
2526
|
+
published: "published";
|
|
2527
|
+
reverted: "reverted";
|
|
2528
|
+
}>;
|
|
2529
|
+
saved_at: z.ZodISODateTime;
|
|
2530
|
+
}, z.core.$strip>>;
|
|
2531
|
+
/**
|
|
2532
|
+
* One page of save history, newest edit_sequence first. next_cursor is present only when has_more is true. There is no total.
|
|
2533
|
+
*/
|
|
2534
|
+
export declare const zCccHistoryPage: z.ZodObject<{
|
|
2535
|
+
has_more: z.ZodBoolean;
|
|
2536
|
+
items: z.ZodArray<z.ZodIntersection<z.ZodObject<{
|
|
2537
|
+
catalog_rev: z.ZodOptional<z.ZodReadonly<z.ZodCoercedBigInt<unknown>>>;
|
|
2538
|
+
creator_uid: z.ZodOptional<z.ZodReadonly<z.ZodString>>;
|
|
2539
|
+
digest: z.ZodOptional<z.ZodReadonly<z.ZodString>>;
|
|
2540
|
+
draft_generation: z.ZodOptional<z.ZodReadonly<z.ZodCoercedBigInt<unknown>>>;
|
|
2541
|
+
edit_sequence: z.ZodOptional<z.ZodReadonly<z.ZodCoercedBigInt<unknown>>>;
|
|
2542
|
+
is_deleted: z.ZodOptional<z.ZodReadonly<z.ZodBoolean>>;
|
|
2543
|
+
owner_uid: z.ZodOptional<z.ZodReadonly<z.ZodString>>;
|
|
2544
|
+
revision_uid: z.ZodOptional<z.ZodReadonly<z.ZodUUID>>;
|
|
2545
|
+
saved_at: z.ZodOptional<z.ZodReadonly<z.ZodISODateTime>>;
|
|
2546
|
+
saved_by_uid: z.ZodOptional<z.ZodReadonly<z.ZodString>>;
|
|
2547
|
+
uid: z.ZodOptional<z.ZodReadonly<z.ZodUUID>>;
|
|
2548
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2549
|
+
catalog_status: z.ZodEnum<{
|
|
2550
|
+
archived: "archived";
|
|
2551
|
+
draft: "draft";
|
|
2552
|
+
published: "published";
|
|
2553
|
+
reverted: "reverted";
|
|
2554
|
+
}>;
|
|
2555
|
+
saved_at: z.ZodISODateTime;
|
|
2556
|
+
}, z.core.$strip>>>;
|
|
2557
|
+
next_cursor: z.ZodOptional<z.ZodString>;
|
|
2558
|
+
}, z.core.$strip>;
|
|
2559
|
+
/**
|
|
2560
|
+
* Current Hub page that replaces an old public URL
|
|
2561
|
+
*/
|
|
2562
|
+
export declare const zCccLegacyTarget: z.ZodObject<{
|
|
2563
|
+
path: z.ZodString;
|
|
2564
|
+
slug: z.ZodString;
|
|
2565
|
+
type: z.ZodEnum<{
|
|
2566
|
+
model: "model";
|
|
2567
|
+
workflow: "workflow";
|
|
2568
|
+
app: "app";
|
|
2569
|
+
}>;
|
|
2570
|
+
}, z.core.$strip>;
|
|
2571
|
+
export declare const zCccMediaConstraint: z.ZodObject<{
|
|
2572
|
+
max_bytes: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
|
|
2573
|
+
max_height: z.ZodOptional<z.ZodInt>;
|
|
2574
|
+
max_width: z.ZodOptional<z.ZodInt>;
|
|
2575
|
+
mime_type: z.ZodString;
|
|
2576
|
+
min_bytes: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
|
|
2577
|
+
}, z.core.$strip>;
|
|
2578
|
+
/**
|
|
2579
|
+
* Matching pages per type. Every filter applies except types.
|
|
2580
|
+
*/
|
|
2581
|
+
export declare const zCccPageCounts: z.ZodObject<{
|
|
2582
|
+
app: z.ZodInt;
|
|
2583
|
+
model: z.ZodInt;
|
|
2584
|
+
workflow: z.ZodInt;
|
|
2585
|
+
}, z.core.$strip>;
|
|
2586
|
+
/**
|
|
2587
|
+
* Card picture. Absent when the page has none, which is what missing=cover selects.
|
|
2588
|
+
*/
|
|
2589
|
+
export declare const zCccPagePreview: z.ZodObject<{
|
|
2590
|
+
kind: z.ZodEnum<{
|
|
2591
|
+
image: "image";
|
|
2592
|
+
video: "video";
|
|
2593
|
+
}>;
|
|
2594
|
+
src: z.ZodString;
|
|
2595
|
+
}, z.core.$strip>;
|
|
2596
|
+
/**
|
|
2597
|
+
* Display data for the row.
|
|
2598
|
+
*/
|
|
2599
|
+
export declare const zCccPagePresentation: z.ZodObject<{
|
|
2600
|
+
preview: z.ZodOptional<z.ZodObject<{
|
|
2601
|
+
kind: z.ZodEnum<{
|
|
2602
|
+
image: "image";
|
|
2603
|
+
video: "video";
|
|
2604
|
+
}>;
|
|
2605
|
+
src: z.ZodString;
|
|
2606
|
+
}, z.core.$strip>>;
|
|
2607
|
+
}, z.core.$strip>;
|
|
2608
|
+
/**
|
|
2609
|
+
* One model, workflow or app page at its Draft head.
|
|
2610
|
+
*/
|
|
2611
|
+
export declare const zCccPageRow: z.ZodObject<{
|
|
2612
|
+
author_uid: z.ZodString;
|
|
2613
|
+
description: z.ZodString;
|
|
2614
|
+
enabled: z.ZodBoolean;
|
|
2615
|
+
has_draft_edits: z.ZodBoolean;
|
|
2616
|
+
has_live: z.ZodBoolean;
|
|
2617
|
+
held_until_start: z.ZodBoolean;
|
|
2618
|
+
is_deleted: z.ZodBoolean;
|
|
2619
|
+
on_hub: z.ZodBoolean;
|
|
2620
|
+
presentation: z.ZodObject<{
|
|
2621
|
+
preview: z.ZodOptional<z.ZodObject<{
|
|
2622
|
+
kind: z.ZodEnum<{
|
|
2623
|
+
image: "image";
|
|
2624
|
+
video: "video";
|
|
2625
|
+
}>;
|
|
2626
|
+
src: z.ZodString;
|
|
2627
|
+
}, z.core.$strip>>;
|
|
2628
|
+
}, z.core.$strip>;
|
|
2629
|
+
revision_uid: z.ZodUUID;
|
|
2630
|
+
saved_at: z.ZodISODateTime;
|
|
2631
|
+
saved_by_uid: z.ZodString;
|
|
2632
|
+
slug: z.ZodString;
|
|
2633
|
+
status: z.ZodEnum<{
|
|
2634
|
+
removed: "removed";
|
|
2635
|
+
not_live: "not_live";
|
|
2636
|
+
unpublished: "unpublished";
|
|
2637
|
+
hidden: "hidden";
|
|
2638
|
+
scheduled: "scheduled";
|
|
2639
|
+
live: "live";
|
|
2640
|
+
}>;
|
|
2641
|
+
title: z.ZodString;
|
|
2642
|
+
type: z.ZodEnum<{
|
|
2643
|
+
model: "model";
|
|
2644
|
+
workflow: "workflow";
|
|
2645
|
+
app: "app";
|
|
2646
|
+
}>;
|
|
2647
|
+
uid: z.ZodUUID;
|
|
2648
|
+
visibility: z.ZodString;
|
|
2649
|
+
visible_from: z.ZodString;
|
|
2650
|
+
}, z.core.$strip>;
|
|
2651
|
+
/**
|
|
2652
|
+
* Live and Draft revisions this page was read from.
|
|
2653
|
+
*/
|
|
2654
|
+
export declare const zCccPagesState: z.ZodObject<{
|
|
2655
|
+
draft_generation: z.ZodCoercedBigInt<unknown>;
|
|
2656
|
+
draft_rev: z.ZodCoercedBigInt<unknown>;
|
|
2657
|
+
live_rev: z.ZodCoercedBigInt<unknown>;
|
|
2658
|
+
next_rev: z.ZodCoercedBigInt<unknown>;
|
|
2659
|
+
previous_live_rev: z.ZodNullable<z.ZodCoercedBigInt<unknown>>;
|
|
2660
|
+
}, z.core.$strip>;
|
|
2661
|
+
/**
|
|
2662
|
+
* One page of the staff page list.
|
|
2663
|
+
*/
|
|
2664
|
+
export declare const zCccPagesPage: z.ZodObject<{
|
|
2665
|
+
as_of: z.ZodISODateTime;
|
|
2666
|
+
counts: z.ZodObject<{
|
|
2667
|
+
app: z.ZodInt;
|
|
2668
|
+
model: z.ZodInt;
|
|
2669
|
+
workflow: z.ZodInt;
|
|
2670
|
+
}, z.core.$strip>;
|
|
2671
|
+
has_more: z.ZodBoolean;
|
|
2672
|
+
items: z.ZodArray<z.ZodObject<{
|
|
2673
|
+
author_uid: z.ZodString;
|
|
2674
|
+
description: z.ZodString;
|
|
2675
|
+
enabled: z.ZodBoolean;
|
|
2676
|
+
has_draft_edits: z.ZodBoolean;
|
|
2677
|
+
has_live: z.ZodBoolean;
|
|
2678
|
+
held_until_start: z.ZodBoolean;
|
|
2679
|
+
is_deleted: z.ZodBoolean;
|
|
2680
|
+
on_hub: z.ZodBoolean;
|
|
2681
|
+
presentation: z.ZodObject<{
|
|
2682
|
+
preview: z.ZodOptional<z.ZodObject<{
|
|
2683
|
+
kind: z.ZodEnum<{
|
|
2684
|
+
image: "image";
|
|
2685
|
+
video: "video";
|
|
2686
|
+
}>;
|
|
2687
|
+
src: z.ZodString;
|
|
2688
|
+
}, z.core.$strip>>;
|
|
2689
|
+
}, z.core.$strip>;
|
|
2690
|
+
revision_uid: z.ZodUUID;
|
|
2691
|
+
saved_at: z.ZodISODateTime;
|
|
2692
|
+
saved_by_uid: z.ZodString;
|
|
2693
|
+
slug: z.ZodString;
|
|
2694
|
+
status: z.ZodEnum<{
|
|
2695
|
+
removed: "removed";
|
|
2696
|
+
not_live: "not_live";
|
|
2697
|
+
unpublished: "unpublished";
|
|
2698
|
+
hidden: "hidden";
|
|
2699
|
+
scheduled: "scheduled";
|
|
2700
|
+
live: "live";
|
|
2701
|
+
}>;
|
|
2702
|
+
title: z.ZodString;
|
|
2703
|
+
type: z.ZodEnum<{
|
|
2704
|
+
model: "model";
|
|
2705
|
+
workflow: "workflow";
|
|
2706
|
+
app: "app";
|
|
2707
|
+
}>;
|
|
2708
|
+
uid: z.ZodUUID;
|
|
2709
|
+
visibility: z.ZodString;
|
|
2710
|
+
visible_from: z.ZodString;
|
|
2711
|
+
}, z.core.$strip>>;
|
|
2712
|
+
next_cursor: z.ZodOptional<z.ZodString>;
|
|
2713
|
+
state: z.ZodObject<{
|
|
2714
|
+
draft_generation: z.ZodCoercedBigInt<unknown>;
|
|
2715
|
+
draft_rev: z.ZodCoercedBigInt<unknown>;
|
|
2716
|
+
live_rev: z.ZodCoercedBigInt<unknown>;
|
|
2717
|
+
next_rev: z.ZodCoercedBigInt<unknown>;
|
|
2718
|
+
previous_live_rev: z.ZodNullable<z.ZodCoercedBigInt<unknown>>;
|
|
2719
|
+
}, z.core.$strip>;
|
|
2720
|
+
}, z.core.$strip>;
|
|
2721
|
+
/**
|
|
2722
|
+
* Holds when field equals equals (a bool or string). if_absent decides when field is absent or null; a value of another shape holds.
|
|
2723
|
+
*/
|
|
2724
|
+
export declare const zCccPublicationCondition: z.ZodObject<{
|
|
2725
|
+
equals: z.ZodUnknown;
|
|
2726
|
+
field: z.ZodString;
|
|
2727
|
+
if_absent: z.ZodOptional<z.ZodLazy<z.ZodType<CccPublicationCondition, unknown, z.core.$ZodTypeInternals<CccPublicationCondition, unknown>>>>;
|
|
2728
|
+
}, z.core.$strip>;
|
|
2729
|
+
/**
|
|
2730
|
+
* One publish-time field rule. Publish enforces required levels, media constraints and resolves_to references; recommended levels are advice only.
|
|
2731
|
+
*/
|
|
2732
|
+
export declare const zCccPublicationRule: z.ZodObject<{
|
|
2733
|
+
fields: z.ZodArray<z.ZodString>;
|
|
2734
|
+
level: z.ZodOptional<z.ZodEnum<{
|
|
2735
|
+
required: "required";
|
|
2736
|
+
recommended: "recommended";
|
|
2737
|
+
}>>;
|
|
2738
|
+
media: z.ZodOptional<z.ZodObject<{
|
|
2739
|
+
max_bytes: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
|
|
2740
|
+
max_height: z.ZodOptional<z.ZodInt>;
|
|
2741
|
+
max_width: z.ZodOptional<z.ZodInt>;
|
|
2742
|
+
mime_type: z.ZodString;
|
|
2743
|
+
min_bytes: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
|
|
2744
|
+
}, z.core.$strip>>;
|
|
2745
|
+
message: z.ZodString;
|
|
2746
|
+
resolves_to: z.ZodOptional<z.ZodString>;
|
|
2747
|
+
types: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
2748
|
+
model: "model";
|
|
2749
|
+
workflow: "workflow";
|
|
2750
|
+
app: "app";
|
|
2751
|
+
template_set: "template_set";
|
|
2752
|
+
}>>>;
|
|
2753
|
+
when: z.ZodOptional<z.ZodObject<{
|
|
2754
|
+
equals: z.ZodUnknown;
|
|
2755
|
+
field: z.ZodString;
|
|
2756
|
+
if_absent: z.ZodOptional<z.ZodLazy<z.ZodType<CccPublicationCondition, unknown, z.core.$ZodTypeInternals<CccPublicationCondition, unknown>>>>;
|
|
2757
|
+
}, z.core.$strip>>;
|
|
2758
|
+
}, z.core.$strip>;
|
|
2759
|
+
/**
|
|
2760
|
+
* One tag and the number of eligible model and workflow pages that carry it
|
|
2761
|
+
*/
|
|
2762
|
+
export declare const zCccSiteTagUsageItem: z.ZodObject<{
|
|
2763
|
+
count: z.ZodInt;
|
|
2764
|
+
tag: z.ZodString;
|
|
2765
|
+
}, z.core.$strip>;
|
|
2766
|
+
/**
|
|
2767
|
+
* Every tag on the eligible hub model and workflow pages, most used first
|
|
2768
|
+
*/
|
|
2769
|
+
export declare const zCccSiteTagUsage: z.ZodObject<{
|
|
2770
|
+
generation: z.ZodInt;
|
|
2771
|
+
revision_id: z.ZodInt;
|
|
2772
|
+
tags: z.ZodArray<z.ZodObject<{
|
|
2773
|
+
count: z.ZodInt;
|
|
2774
|
+
tag: z.ZodString;
|
|
2775
|
+
}, z.core.$strip>>;
|
|
2776
|
+
}, z.core.$strip>;
|
|
2777
|
+
export declare const zCccStaffPermissions: z.ZodObject<{
|
|
2778
|
+
account_id: z.ZodString;
|
|
2779
|
+
avatar_url: z.ZodOptional<z.ZodString>;
|
|
2780
|
+
can_edit: z.ZodBoolean;
|
|
2781
|
+
can_manage_users: z.ZodBoolean;
|
|
2782
|
+
can_publish: z.ZodBoolean;
|
|
2783
|
+
can_transfer: z.ZodBoolean;
|
|
2784
|
+
display_name: z.ZodOptional<z.ZodString>;
|
|
2785
|
+
updated_at: z.ZodISODateTime;
|
|
2786
|
+
updated_by: z.ZodString;
|
|
2787
|
+
version: z.ZodCoercedBigInt<unknown>;
|
|
2788
|
+
}, z.core.$strip>;
|
|
2789
|
+
export declare const zCccStagingMediaUse: z.ZodObject<{
|
|
2790
|
+
differs_from_head: z.ZodBoolean;
|
|
2791
|
+
file_version_uid: z.ZodOptional<z.ZodUUID>;
|
|
2792
|
+
is_deleted: z.ZodBoolean;
|
|
2793
|
+
mime_type: z.ZodOptional<z.ZodString>;
|
|
2794
|
+
name: z.ZodOptional<z.ZodString>;
|
|
2795
|
+
origin: z.ZodBoolean;
|
|
2796
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
2797
|
+
title: z.ZodString;
|
|
2798
|
+
type: z.ZodEnum<{
|
|
2799
|
+
model: "model";
|
|
2800
|
+
workflow: "workflow";
|
|
2801
|
+
app: "app";
|
|
2802
|
+
template_set: "template_set";
|
|
2803
|
+
}>;
|
|
2804
|
+
uid: z.ZodUUID;
|
|
2805
|
+
}, z.core.$strip>;
|
|
2806
|
+
export declare const zCccStagingPresentation: z.ZodObject<{
|
|
2807
|
+
media_name: z.ZodOptional<z.ZodString>;
|
|
2808
|
+
preview: z.ZodOptional<z.ZodObject<{
|
|
2809
|
+
kind: z.ZodEnum<{
|
|
2810
|
+
image: "image";
|
|
2811
|
+
video: "video";
|
|
2812
|
+
}>;
|
|
2813
|
+
src: z.ZodString;
|
|
2814
|
+
}, z.core.$strip>>;
|
|
2815
|
+
uses: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2816
|
+
differs_from_head: z.ZodBoolean;
|
|
2817
|
+
file_version_uid: z.ZodOptional<z.ZodUUID>;
|
|
2818
|
+
is_deleted: z.ZodBoolean;
|
|
2819
|
+
mime_type: z.ZodOptional<z.ZodString>;
|
|
2820
|
+
name: z.ZodOptional<z.ZodString>;
|
|
2821
|
+
origin: z.ZodBoolean;
|
|
2822
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
2823
|
+
title: z.ZodString;
|
|
2824
|
+
type: z.ZodEnum<{
|
|
2825
|
+
model: "model";
|
|
2826
|
+
workflow: "workflow";
|
|
2827
|
+
app: "app";
|
|
2828
|
+
template_set: "template_set";
|
|
2829
|
+
}>;
|
|
2830
|
+
uid: z.ZodUUID;
|
|
2831
|
+
}, z.core.$strip>>>;
|
|
2832
|
+
}, z.core.$strip>;
|
|
2833
|
+
export declare const zCccStagingResource: z.ZodObject<{
|
|
2834
|
+
author_uid: z.ZodString;
|
|
2835
|
+
document: z.ZodObject<{
|
|
2836
|
+
change_id: z.ZodOptional<z.ZodString>;
|
|
2837
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
2838
|
+
name: z.ZodOptional<z.ZodString>;
|
|
2839
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
2840
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
2841
|
+
title: z.ZodOptional<z.ZodString>;
|
|
2842
|
+
visibility: z.ZodOptional<z.ZodString>;
|
|
2843
|
+
visible_from: z.ZodOptional<z.ZodString>;
|
|
2844
|
+
}, z.core.$strip>;
|
|
2845
|
+
is_deleted: z.ZodBoolean;
|
|
2846
|
+
revision_uid: z.ZodUUID;
|
|
2847
|
+
saved_by_uid: z.ZodOptional<z.ZodString>;
|
|
2848
|
+
type: z.ZodEnum<{
|
|
2849
|
+
model: "model";
|
|
2850
|
+
workflow: "workflow";
|
|
2851
|
+
app: "app";
|
|
2852
|
+
template_set: "template_set";
|
|
2853
|
+
media: "media";
|
|
2854
|
+
}>;
|
|
2855
|
+
uid: z.ZodUUID;
|
|
2856
|
+
}, z.core.$strip>;
|
|
2857
|
+
export declare const zCccStagingRow: z.ZodObject<{
|
|
2858
|
+
before: z.ZodOptional<z.ZodObject<{
|
|
2859
|
+
author_uid: z.ZodString;
|
|
2860
|
+
document: z.ZodObject<{
|
|
2861
|
+
change_id: z.ZodOptional<z.ZodString>;
|
|
2862
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
2863
|
+
name: z.ZodOptional<z.ZodString>;
|
|
2864
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
2865
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
2866
|
+
title: z.ZodOptional<z.ZodString>;
|
|
2867
|
+
visibility: z.ZodOptional<z.ZodString>;
|
|
2868
|
+
visible_from: z.ZodOptional<z.ZodString>;
|
|
2869
|
+
}, z.core.$strip>;
|
|
2870
|
+
is_deleted: z.ZodBoolean;
|
|
2871
|
+
revision_uid: z.ZodUUID;
|
|
2872
|
+
saved_by_uid: z.ZodOptional<z.ZodString>;
|
|
2873
|
+
type: z.ZodEnum<{
|
|
2874
|
+
model: "model";
|
|
2875
|
+
workflow: "workflow";
|
|
2876
|
+
app: "app";
|
|
2877
|
+
template_set: "template_set";
|
|
2878
|
+
media: "media";
|
|
2879
|
+
}>;
|
|
2880
|
+
uid: z.ZodUUID;
|
|
2881
|
+
}, z.core.$strip>>;
|
|
2882
|
+
content: z.ZodObject<{
|
|
2883
|
+
author_uid: z.ZodString;
|
|
2884
|
+
document: z.ZodObject<{
|
|
2885
|
+
change_id: z.ZodOptional<z.ZodString>;
|
|
2886
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
2887
|
+
name: z.ZodOptional<z.ZodString>;
|
|
2888
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
2889
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
2890
|
+
title: z.ZodOptional<z.ZodString>;
|
|
2891
|
+
visibility: z.ZodOptional<z.ZodString>;
|
|
2892
|
+
visible_from: z.ZodOptional<z.ZodString>;
|
|
2893
|
+
}, z.core.$strip>;
|
|
2894
|
+
is_deleted: z.ZodBoolean;
|
|
2895
|
+
revision_uid: z.ZodUUID;
|
|
2896
|
+
saved_by_uid: z.ZodOptional<z.ZodString>;
|
|
2897
|
+
type: z.ZodEnum<{
|
|
2898
|
+
model: "model";
|
|
2899
|
+
workflow: "workflow";
|
|
2900
|
+
app: "app";
|
|
2901
|
+
template_set: "template_set";
|
|
2902
|
+
media: "media";
|
|
2903
|
+
}>;
|
|
2904
|
+
uid: z.ZodUUID;
|
|
2905
|
+
}, z.core.$strip>;
|
|
2906
|
+
decision: z.ZodEnum<{
|
|
2907
|
+
NEW: "NEW";
|
|
2908
|
+
APPROVED: "APPROVED";
|
|
2909
|
+
DEFERRED: "DEFERRED";
|
|
2910
|
+
DELETED: "DELETED";
|
|
2911
|
+
}>;
|
|
2912
|
+
presentation: z.ZodOptional<z.ZodObject<{
|
|
2913
|
+
media_name: z.ZodOptional<z.ZodString>;
|
|
2914
|
+
preview: z.ZodOptional<z.ZodObject<{
|
|
2915
|
+
kind: z.ZodEnum<{
|
|
2916
|
+
image: "image";
|
|
2917
|
+
video: "video";
|
|
2918
|
+
}>;
|
|
2919
|
+
src: z.ZodString;
|
|
2920
|
+
}, z.core.$strip>>;
|
|
2921
|
+
uses: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2922
|
+
differs_from_head: z.ZodBoolean;
|
|
2923
|
+
file_version_uid: z.ZodOptional<z.ZodUUID>;
|
|
2924
|
+
is_deleted: z.ZodBoolean;
|
|
2925
|
+
mime_type: z.ZodOptional<z.ZodString>;
|
|
2926
|
+
name: z.ZodOptional<z.ZodString>;
|
|
2927
|
+
origin: z.ZodBoolean;
|
|
2928
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
2929
|
+
title: z.ZodString;
|
|
2930
|
+
type: z.ZodEnum<{
|
|
2931
|
+
model: "model";
|
|
2932
|
+
workflow: "workflow";
|
|
2933
|
+
app: "app";
|
|
2934
|
+
template_set: "template_set";
|
|
2935
|
+
}>;
|
|
2936
|
+
uid: z.ZodUUID;
|
|
2937
|
+
}, z.core.$strip>>>;
|
|
2938
|
+
}, z.core.$strip>>;
|
|
2939
|
+
saved_at: z.ZodOptional<z.ZodISODateTime>;
|
|
2940
|
+
status: z.ZodEnum<{
|
|
2941
|
+
NEW: "NEW";
|
|
2942
|
+
APPROVED: "APPROVED";
|
|
2943
|
+
DEFERRED: "DEFERRED";
|
|
2944
|
+
DELETED: "DELETED";
|
|
2945
|
+
}>;
|
|
2946
|
+
summary: z.ZodString;
|
|
2947
|
+
}, z.core.$strip>;
|
|
2948
|
+
/**
|
|
2949
|
+
* Staging read. Page and selection rows are sparse; detail and the legacy read return full content.
|
|
2950
|
+
*/
|
|
2951
|
+
export declare const zCccStagingReview: z.ZodObject<{
|
|
2952
|
+
items: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2953
|
+
before: z.ZodOptional<z.ZodObject<{
|
|
2954
|
+
author_uid: z.ZodString;
|
|
2955
|
+
document: z.ZodObject<{
|
|
2956
|
+
change_id: z.ZodOptional<z.ZodString>;
|
|
2957
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
2958
|
+
name: z.ZodOptional<z.ZodString>;
|
|
2959
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
2960
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
2961
|
+
title: z.ZodOptional<z.ZodString>;
|
|
2962
|
+
visibility: z.ZodOptional<z.ZodString>;
|
|
2963
|
+
visible_from: z.ZodOptional<z.ZodString>;
|
|
2964
|
+
}, z.core.$strip>;
|
|
2965
|
+
is_deleted: z.ZodBoolean;
|
|
2966
|
+
revision_uid: z.ZodUUID;
|
|
2967
|
+
saved_by_uid: z.ZodOptional<z.ZodString>;
|
|
2968
|
+
type: z.ZodEnum<{
|
|
2969
|
+
model: "model";
|
|
2970
|
+
workflow: "workflow";
|
|
2971
|
+
app: "app";
|
|
2972
|
+
template_set: "template_set";
|
|
2973
|
+
media: "media";
|
|
2974
|
+
}>;
|
|
2975
|
+
uid: z.ZodUUID;
|
|
2976
|
+
}, z.core.$strip>>;
|
|
2977
|
+
content: z.ZodObject<{
|
|
2978
|
+
author_uid: z.ZodString;
|
|
2979
|
+
document: z.ZodObject<{
|
|
2980
|
+
change_id: z.ZodOptional<z.ZodString>;
|
|
2981
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
2982
|
+
name: z.ZodOptional<z.ZodString>;
|
|
2983
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
2984
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
2985
|
+
title: z.ZodOptional<z.ZodString>;
|
|
2986
|
+
visibility: z.ZodOptional<z.ZodString>;
|
|
2987
|
+
visible_from: z.ZodOptional<z.ZodString>;
|
|
2988
|
+
}, z.core.$strip>;
|
|
2989
|
+
is_deleted: z.ZodBoolean;
|
|
2990
|
+
revision_uid: z.ZodUUID;
|
|
2991
|
+
saved_by_uid: z.ZodOptional<z.ZodString>;
|
|
2992
|
+
type: z.ZodEnum<{
|
|
2993
|
+
model: "model";
|
|
2994
|
+
workflow: "workflow";
|
|
2995
|
+
app: "app";
|
|
2996
|
+
template_set: "template_set";
|
|
2997
|
+
media: "media";
|
|
2998
|
+
}>;
|
|
2999
|
+
uid: z.ZodUUID;
|
|
3000
|
+
}, z.core.$strip>;
|
|
3001
|
+
decision: z.ZodEnum<{
|
|
3002
|
+
NEW: "NEW";
|
|
3003
|
+
APPROVED: "APPROVED";
|
|
3004
|
+
DEFERRED: "DEFERRED";
|
|
3005
|
+
DELETED: "DELETED";
|
|
3006
|
+
}>;
|
|
3007
|
+
presentation: z.ZodOptional<z.ZodObject<{
|
|
3008
|
+
media_name: z.ZodOptional<z.ZodString>;
|
|
3009
|
+
preview: z.ZodOptional<z.ZodObject<{
|
|
3010
|
+
kind: z.ZodEnum<{
|
|
3011
|
+
image: "image";
|
|
3012
|
+
video: "video";
|
|
3013
|
+
}>;
|
|
3014
|
+
src: z.ZodString;
|
|
3015
|
+
}, z.core.$strip>>;
|
|
3016
|
+
uses: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3017
|
+
differs_from_head: z.ZodBoolean;
|
|
3018
|
+
file_version_uid: z.ZodOptional<z.ZodUUID>;
|
|
3019
|
+
is_deleted: z.ZodBoolean;
|
|
3020
|
+
mime_type: z.ZodOptional<z.ZodString>;
|
|
3021
|
+
name: z.ZodOptional<z.ZodString>;
|
|
3022
|
+
origin: z.ZodBoolean;
|
|
3023
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
3024
|
+
title: z.ZodString;
|
|
3025
|
+
type: z.ZodEnum<{
|
|
3026
|
+
model: "model";
|
|
3027
|
+
workflow: "workflow";
|
|
3028
|
+
app: "app";
|
|
3029
|
+
template_set: "template_set";
|
|
3030
|
+
}>;
|
|
3031
|
+
uid: z.ZodUUID;
|
|
3032
|
+
}, z.core.$strip>>>;
|
|
3033
|
+
}, z.core.$strip>>;
|
|
3034
|
+
saved_at: z.ZodOptional<z.ZodISODateTime>;
|
|
3035
|
+
status: z.ZodEnum<{
|
|
3036
|
+
NEW: "NEW";
|
|
3037
|
+
APPROVED: "APPROVED";
|
|
3038
|
+
DEFERRED: "DEFERRED";
|
|
3039
|
+
DELETED: "DELETED";
|
|
3040
|
+
}>;
|
|
3041
|
+
summary: z.ZodString;
|
|
3042
|
+
}, z.core.$strip>>>;
|
|
3043
|
+
representation: z.ZodOptional<z.ZodEnum<{
|
|
3044
|
+
page: "page";
|
|
3045
|
+
selection: "selection";
|
|
3046
|
+
detail: "detail";
|
|
3047
|
+
}>>;
|
|
3048
|
+
selection_digest: z.ZodOptional<z.ZodString>;
|
|
3049
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
3050
|
+
draft_generation: z.ZodCoercedBigInt<unknown>;
|
|
3051
|
+
draft_rev: z.ZodCoercedBigInt<unknown>;
|
|
3052
|
+
live_rev: z.ZodCoercedBigInt<unknown>;
|
|
3053
|
+
next_rev: z.ZodCoercedBigInt<unknown>;
|
|
3054
|
+
previous_live_rev: z.ZodNullable<z.ZodCoercedBigInt<unknown>>;
|
|
2191
3055
|
}, z.core.$strip>>;
|
|
2192
|
-
|
|
3056
|
+
unresolved_count: z.ZodOptional<z.ZodInt>;
|
|
2193
3057
|
}, z.core.$strip>;
|
|
2194
|
-
export declare const
|
|
2195
|
-
|
|
2196
|
-
|
|
2197
|
-
|
|
2198
|
-
|
|
2199
|
-
}
|
|
2200
|
-
|
|
2201
|
-
|
|
2202
|
-
|
|
2203
|
-
|
|
2204
|
-
|
|
2205
|
-
|
|
3058
|
+
export declare const zCccTypeSchema: z.ZodObject<{
|
|
3059
|
+
contract_version: z.ZodString;
|
|
3060
|
+
environment: z.ZodString;
|
|
3061
|
+
format: z.ZodEnum<{
|
|
3062
|
+
"openapi-3.0-schema": "openapi-3.0-schema";
|
|
3063
|
+
}>;
|
|
3064
|
+
publication: z.ZodOptional<z.ZodObject<{
|
|
3065
|
+
rules: z.ZodArray<z.ZodObject<{
|
|
3066
|
+
fields: z.ZodArray<z.ZodString>;
|
|
3067
|
+
level: z.ZodOptional<z.ZodEnum<{
|
|
3068
|
+
required: "required";
|
|
3069
|
+
recommended: "recommended";
|
|
3070
|
+
}>>;
|
|
3071
|
+
media: z.ZodOptional<z.ZodObject<{
|
|
3072
|
+
max_bytes: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
|
|
3073
|
+
max_height: z.ZodOptional<z.ZodInt>;
|
|
3074
|
+
max_width: z.ZodOptional<z.ZodInt>;
|
|
3075
|
+
mime_type: z.ZodString;
|
|
3076
|
+
min_bytes: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
|
|
3077
|
+
}, z.core.$strip>>;
|
|
3078
|
+
message: z.ZodString;
|
|
3079
|
+
resolves_to: z.ZodOptional<z.ZodString>;
|
|
3080
|
+
types: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
3081
|
+
model: "model";
|
|
3082
|
+
workflow: "workflow";
|
|
3083
|
+
app: "app";
|
|
3084
|
+
template_set: "template_set";
|
|
3085
|
+
}>>>;
|
|
3086
|
+
when: z.ZodOptional<z.ZodObject<{
|
|
3087
|
+
equals: z.ZodUnknown;
|
|
3088
|
+
field: z.ZodString;
|
|
3089
|
+
if_absent: z.ZodOptional<z.ZodLazy<z.ZodType<CccPublicationCondition, unknown, z.core.$ZodTypeInternals<CccPublicationCondition, unknown>>>>;
|
|
3090
|
+
}, z.core.$strip>>;
|
|
3091
|
+
}, z.core.$strip>>;
|
|
2206
3092
|
}, z.core.$strip>>;
|
|
2207
|
-
|
|
2208
|
-
|
|
2209
|
-
|
|
2210
|
-
* Flat type-versioned CCC JSON. Domain schemas (/api/v1/catalog/schemas/{type}/{version}) constrain authored fields. The readOnly properties are server metadata returned by reads; a save may send them back unchanged and they are ignored, never applied. expected_draft_rev and expected_revision_uid are the save concurrency tokens.
|
|
2211
|
-
*/
|
|
2212
|
-
export declare const zCccjson: z.ZodObject<{
|
|
2213
|
-
catalog_rev: z.ZodOptional<z.ZodReadonly<z.ZodCoercedBigInt<unknown>>>;
|
|
2214
|
-
creator_uid: z.ZodOptional<z.ZodReadonly<z.ZodString>>;
|
|
2215
|
-
digest: z.ZodOptional<z.ZodReadonly<z.ZodString>>;
|
|
2216
|
-
draft_generation: z.ZodOptional<z.ZodReadonly<z.ZodCoercedBigInt<unknown>>>;
|
|
2217
|
-
edit_sequence: z.ZodOptional<z.ZodReadonly<z.ZodCoercedBigInt<unknown>>>;
|
|
2218
|
-
is_deleted: z.ZodOptional<z.ZodReadonly<z.ZodBoolean>>;
|
|
2219
|
-
owner_uid: z.ZodOptional<z.ZodReadonly<z.ZodString>>;
|
|
2220
|
-
revision_uid: z.ZodOptional<z.ZodReadonly<z.ZodUUID>>;
|
|
2221
|
-
saved_at: z.ZodOptional<z.ZodReadonly<z.ZodISODateTime>>;
|
|
2222
|
-
saved_by_uid: z.ZodOptional<z.ZodReadonly<z.ZodString>>;
|
|
2223
|
-
uid: z.ZodOptional<z.ZodReadonly<z.ZodUUID>>;
|
|
2224
|
-
}, z.core.$strip>;
|
|
2225
|
-
/**
|
|
2226
|
-
* Current Hub page that replaces an old public URL
|
|
2227
|
-
*/
|
|
2228
|
-
export declare const zCccLegacyTarget: z.ZodObject<{
|
|
2229
|
-
path: z.ZodString;
|
|
2230
|
-
slug: z.ZodString;
|
|
3093
|
+
schema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3094
|
+
schema_version: z.ZodInt;
|
|
3095
|
+
server_fields: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2231
3096
|
type: z.ZodEnum<{
|
|
3097
|
+
model: "model";
|
|
2232
3098
|
workflow: "workflow";
|
|
2233
3099
|
app: "app";
|
|
2234
|
-
|
|
3100
|
+
template_set: "template_set";
|
|
3101
|
+
media: "media";
|
|
2235
3102
|
}>;
|
|
2236
3103
|
}, z.core.$strip>;
|
|
2237
3104
|
export declare const zCccWebsiteCardFacet: z.ZodObject<{
|
|
@@ -2485,6 +3352,7 @@ export declare const zContentCatalogRecord: z.ZodObject<{
|
|
|
2485
3352
|
APP: "APP";
|
|
2486
3353
|
TEMPLATE_SET: "TEMPLATE_SET";
|
|
2487
3354
|
}>;
|
|
3355
|
+
last_modified: z.ZodOptional<z.ZodISODateTime>;
|
|
2488
3356
|
revision: z.ZodCoercedBigInt<unknown>;
|
|
2489
3357
|
slug: z.ZodString;
|
|
2490
3358
|
uid: z.ZodString;
|
|
@@ -2530,6 +3398,7 @@ export declare const zCccWebsiteCardsPage: z.ZodObject<{
|
|
|
2530
3398
|
APP: "APP";
|
|
2531
3399
|
TEMPLATE_SET: "TEMPLATE_SET";
|
|
2532
3400
|
}>;
|
|
3401
|
+
last_modified: z.ZodOptional<z.ZodISODateTime>;
|
|
2533
3402
|
revision: z.ZodCoercedBigInt<unknown>;
|
|
2534
3403
|
slug: z.ZodString;
|
|
2535
3404
|
uid: z.ZodString;
|
|
@@ -2564,6 +3433,7 @@ export declare const zCccWebsiteRootPresentation: z.ZodObject<{
|
|
|
2564
3433
|
APP: "APP";
|
|
2565
3434
|
TEMPLATE_SET: "TEMPLATE_SET";
|
|
2566
3435
|
}>;
|
|
3436
|
+
last_modified: z.ZodOptional<z.ZodISODateTime>;
|
|
2567
3437
|
revision: z.ZodCoercedBigInt<unknown>;
|
|
2568
3438
|
slug: z.ZodString;
|
|
2569
3439
|
uid: z.ZodString;
|
|
@@ -2688,6 +3558,7 @@ export declare const zContentCatalogProjection: z.ZodObject<{
|
|
|
2688
3558
|
APP: "APP";
|
|
2689
3559
|
TEMPLATE_SET: "TEMPLATE_SET";
|
|
2690
3560
|
}>;
|
|
3561
|
+
last_modified: z.ZodOptional<z.ZodISODateTime>;
|
|
2691
3562
|
revision: z.ZodCoercedBigInt<unknown>;
|
|
2692
3563
|
slug: z.ZodString;
|
|
2693
3564
|
uid: z.ZodString;
|
|
@@ -2712,6 +3583,7 @@ export declare const zCccPublicItemsPage: z.ZodIntersection<z.ZodObject<{
|
|
|
2712
3583
|
APP: "APP";
|
|
2713
3584
|
TEMPLATE_SET: "TEMPLATE_SET";
|
|
2714
3585
|
}>;
|
|
3586
|
+
last_modified: z.ZodOptional<z.ZodISODateTime>;
|
|
2715
3587
|
revision: z.ZodCoercedBigInt<unknown>;
|
|
2716
3588
|
slug: z.ZodString;
|
|
2717
3589
|
uid: z.ZodString;
|
|
@@ -2763,14 +3635,6 @@ export declare const zCreateSessionResponse: z.ZodObject<{
|
|
|
2763
3635
|
expiresIn: z.ZodOptional<z.ZodInt>;
|
|
2764
3636
|
success: z.ZodBoolean;
|
|
2765
3637
|
}, z.core.$strip>;
|
|
2766
|
-
/**
|
|
2767
|
-
* Request body for creating a hosted credit top-up checkout session.
|
|
2768
|
-
*/
|
|
2769
|
-
export declare const zCreateTopupCheckoutRequest: z.ZodObject<{
|
|
2770
|
-
amount_cents: z.ZodCoercedBigInt<unknown>;
|
|
2771
|
-
idempotency_key: z.ZodOptional<z.ZodString>;
|
|
2772
|
-
return_url: z.ZodURL;
|
|
2773
|
-
}, z.core.$strip>;
|
|
2774
3638
|
/**
|
|
2775
3639
|
* A hosted Stripe Checkout session for a credit top-up.
|
|
2776
3640
|
*/
|
|
@@ -2785,7 +3649,7 @@ export declare const zCreateTopupQuoteRequest: z.ZodObject<{
|
|
|
2785
3649
|
amount_cents: z.ZodCoercedBigInt<unknown>;
|
|
2786
3650
|
}, z.core.$strip>;
|
|
2787
3651
|
/**
|
|
2788
|
-
* Legacy on-file top-up. Explicit payment authority
|
|
3652
|
+
* Legacy on-file top-up. Explicit payment authority, save/default fields and auto_top_up require the dedicated interactive route and are rejected here, including null or false values.
|
|
2789
3653
|
*/
|
|
2790
3654
|
export declare const zCreateTopupRequest: z.ZodObject<{
|
|
2791
3655
|
amount_cents: z.ZodCoercedBigInt<unknown>;
|
|
@@ -3397,6 +4261,19 @@ export declare const zHistoryResponse: z.ZodObject<{
|
|
|
3397
4261
|
}, z.core.$strip>;
|
|
3398
4262
|
export declare const zHostedTopupCheckout: z.ZodObject<{
|
|
3399
4263
|
amount_cents: z.ZodCoercedBigInt<unknown>;
|
|
4264
|
+
auto_top_up: z.ZodOptional<z.ZodObject<{
|
|
4265
|
+
monthly_budget_cents: z.ZodCoercedBigInt<unknown>;
|
|
4266
|
+
monthly_budget_is_default: z.ZodBoolean;
|
|
4267
|
+
target_credits: z.ZodCoercedBigInt<unknown>;
|
|
4268
|
+
threshold_credits: z.ZodCoercedBigInt<unknown>;
|
|
4269
|
+
}, z.core.$strip>>;
|
|
4270
|
+
auto_top_up_activation: z.ZodOptional<z.ZodEnum<{
|
|
4271
|
+
failed: "failed";
|
|
4272
|
+
on: "on";
|
|
4273
|
+
pending: "pending";
|
|
4274
|
+
not_attempted: "not_attempted";
|
|
4275
|
+
}>>;
|
|
4276
|
+
auto_top_up_activation_reason: z.ZodOptional<z.ZodString>;
|
|
3400
4277
|
payment_amount_cents: z.ZodNullable<z.ZodCoercedBigInt<unknown>>;
|
|
3401
4278
|
session_id: z.ZodString;
|
|
3402
4279
|
state: z.ZodEnum<{
|
|
@@ -3593,19 +4470,6 @@ export declare const zInputUploadResponse: z.ZodObject<{
|
|
|
3593
4470
|
export declare const zInputUploadUrlRequest: z.ZodObject<{
|
|
3594
4471
|
content_type: z.ZodString;
|
|
3595
4472
|
}, z.core.$strip>;
|
|
3596
|
-
/**
|
|
3597
|
-
* Pay once with exactly one new-card confirmation token or explicitly selected attached card. Keep the exact request and key on retry; never fall back to the on-file route.
|
|
3598
|
-
*/
|
|
3599
|
-
export declare const zInteractiveTopupRequest: z.ZodObject<{
|
|
3600
|
-
amount_cents: z.ZodCoercedBigInt<unknown>;
|
|
3601
|
-
checkout_attempt_id: z.ZodOptional<z.ZodString>;
|
|
3602
|
-
confirmation_token: z.ZodOptional<z.ZodString>;
|
|
3603
|
-
idempotency_key: z.ZodString;
|
|
3604
|
-
make_default: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
3605
|
-
return_url: z.ZodOptional<z.ZodString>;
|
|
3606
|
-
save_payment_method: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
3607
|
-
saved_payment_method_id: z.ZodOptional<z.ZodString>;
|
|
3608
|
-
}, z.core.$strip>;
|
|
3609
4473
|
/**
|
|
3610
4474
|
* Response for POST /api/jobs/{job_id}/cancel. Returned on both fresh cancels and idempotent no-ops.
|
|
3611
4475
|
*/
|
|
@@ -3657,8 +4521,8 @@ export declare const zJobEntry: z.ZodObject<{
|
|
|
3657
4521
|
cancelled: "cancelled";
|
|
3658
4522
|
completed: "completed";
|
|
3659
4523
|
failed: "failed";
|
|
3660
|
-
in_progress: "in_progress";
|
|
3661
4524
|
pending: "pending";
|
|
4525
|
+
in_progress: "in_progress";
|
|
3662
4526
|
}>;
|
|
3663
4527
|
workflow_id: z.ZodOptional<z.ZodString>;
|
|
3664
4528
|
}, z.core.$strip>;
|
|
@@ -3722,8 +4586,8 @@ export declare const zJobDetailResponse: z.ZodObject<{
|
|
|
3722
4586
|
cancelled: "cancelled";
|
|
3723
4587
|
completed: "completed";
|
|
3724
4588
|
failed: "failed";
|
|
3725
|
-
in_progress: "in_progress";
|
|
3726
4589
|
pending: "pending";
|
|
4590
|
+
in_progress: "in_progress";
|
|
3727
4591
|
}>;
|
|
3728
4592
|
update_time: z.ZodCoercedBigInt<unknown>;
|
|
3729
4593
|
user_id: z.ZodOptional<z.ZodString>;
|
|
@@ -3764,8 +4628,8 @@ export declare const zJobStatusResponse: z.ZodObject<{
|
|
|
3764
4628
|
cancelled: "cancelled";
|
|
3765
4629
|
error: "error";
|
|
3766
4630
|
completed: "completed";
|
|
3767
|
-
in_progress: "in_progress";
|
|
3768
4631
|
pending: "pending";
|
|
4632
|
+
in_progress: "in_progress";
|
|
3769
4633
|
waiting_to_dispatch: "waiting_to_dispatch";
|
|
3770
4634
|
}>;
|
|
3771
4635
|
updated_at: z.ZodISODateTime;
|
|
@@ -4092,19 +4956,49 @@ export declare const zModelFolder: z.ZodObject<{
|
|
|
4092
4956
|
folders: z.ZodArray<z.ZodString>;
|
|
4093
4957
|
name: z.ZodString;
|
|
4094
4958
|
}, z.core.$strip>;
|
|
4959
|
+
/**
|
|
4960
|
+
* Optional client observations. Invalid values are discarded without refusing the upload.
|
|
4961
|
+
* Unknown or absent client becomes unknown. Missing resumed stays unknown; choosing resumable mode
|
|
4962
|
+
* does not mean recovery. Start ignores resumed. Older servers ignore this entire object.
|
|
4963
|
+
*
|
|
4964
|
+
*/
|
|
4965
|
+
export declare const zModelUploadAnalytics: z.ZodObject<{
|
|
4966
|
+
client: z.ZodOptional<z.ZodString>;
|
|
4967
|
+
resumed: z.ZodOptional<z.ZodBoolean>;
|
|
4968
|
+
}, z.core.$strip>;
|
|
4095
4969
|
/**
|
|
4096
4970
|
* Where and how the browser sends a model file's bytes (POST /api/assets/uploads).
|
|
4097
4971
|
*/
|
|
4098
4972
|
export declare const zModelUploadStarted: z.ZodObject<{
|
|
4973
|
+
chunk_size_bytes: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
|
|
4099
4974
|
expires_at: z.ZodISODateTime;
|
|
4100
4975
|
headers: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
4101
4976
|
max_size_bytes: z.ZodCoercedBigInt<unknown>;
|
|
4102
4977
|
method: z.ZodEnum<{
|
|
4103
4978
|
PUT: "PUT";
|
|
4104
4979
|
}>;
|
|
4980
|
+
upload_analytics_version: z.ZodOptional<z.ZodInt>;
|
|
4105
4981
|
upload_id: z.ZodUUID;
|
|
4982
|
+
upload_mode: z.ZodOptional<z.ZodEnum<{
|
|
4983
|
+
resumable: "resumable";
|
|
4984
|
+
}>>;
|
|
4106
4985
|
upload_url: z.ZodString;
|
|
4107
4986
|
}, z.core.$strip>;
|
|
4987
|
+
export declare const zModelUploadTransferReport: z.ZodObject<{
|
|
4988
|
+
client: z.ZodString;
|
|
4989
|
+
model_folder: z.ZodString;
|
|
4990
|
+
reason: z.ZodEnum<{
|
|
4991
|
+
canceled: "canceled";
|
|
4992
|
+
unknown: "unknown";
|
|
4993
|
+
network: "network";
|
|
4994
|
+
http: "http";
|
|
4995
|
+
session_expired: "session_expired";
|
|
4996
|
+
file_changed: "file_changed";
|
|
4997
|
+
file_unreadable: "file_unreadable";
|
|
4998
|
+
}>;
|
|
4999
|
+
resumed: z.ZodOptional<z.ZodBoolean>;
|
|
5000
|
+
size_bytes: z.ZodCoercedBigInt<unknown>;
|
|
5001
|
+
}, z.core.$strip>;
|
|
4108
5002
|
/**
|
|
4109
5003
|
* The next charge to the card on file, as Stripe's invoice preview reported it, after proration, discounts, tax and account credit.
|
|
4110
5004
|
*/
|
|
@@ -4417,8 +5311,8 @@ export declare const zJobsListResponse: z.ZodObject<{
|
|
|
4417
5311
|
cancelled: "cancelled";
|
|
4418
5312
|
completed: "completed";
|
|
4419
5313
|
failed: "failed";
|
|
4420
|
-
in_progress: "in_progress";
|
|
4421
5314
|
pending: "pending";
|
|
5315
|
+
in_progress: "in_progress";
|
|
4422
5316
|
}>;
|
|
4423
5317
|
workflow_id: z.ZodOptional<z.ZodString>;
|
|
4424
5318
|
}, z.core.$strip>>;
|
|
@@ -4776,8 +5670,8 @@ export declare const zRetentionAcceptRequest: z.ZodObject<{
|
|
|
4776
5670
|
export declare const zRetentionAcceptance: z.ZodObject<{
|
|
4777
5671
|
billing_op_id: z.ZodString;
|
|
4778
5672
|
status: z.ZodEnum<{
|
|
4779
|
-
succeeded: "succeeded";
|
|
4780
5673
|
pending: "pending";
|
|
5674
|
+
succeeded: "succeeded";
|
|
4781
5675
|
}>;
|
|
4782
5676
|
}, z.core.$strip>;
|
|
4783
5677
|
export declare const zRetentionFlowEventRequest: z.ZodObject<{
|
|
@@ -5298,6 +6192,7 @@ export declare const zPlan: z.ZodObject<{
|
|
|
5298
6192
|
denied_reason_params: z.ZodOptional<z.ZodObject<{
|
|
5299
6193
|
effective_at: z.ZodOptional<z.ZodISODateTime>;
|
|
5300
6194
|
}, z.core.$strip>>;
|
|
6195
|
+
discount_percent: z.ZodOptional<z.ZodNumber>;
|
|
5301
6196
|
duration: z.ZodEnum<{
|
|
5302
6197
|
MONTHLY: "MONTHLY";
|
|
5303
6198
|
ANNUAL: "ANNUAL";
|
|
@@ -5325,6 +6220,7 @@ export declare const zPlan: z.ZodObject<{
|
|
|
5325
6220
|
text: z.ZodString;
|
|
5326
6221
|
}, z.core.$strip>>>;
|
|
5327
6222
|
features: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6223
|
+
list_price_cents: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
|
|
5328
6224
|
max_seats: z.ZodCoercedBigInt<unknown>;
|
|
5329
6225
|
popular: z.ZodOptional<z.ZodBoolean>;
|
|
5330
6226
|
price_cents: z.ZodCoercedBigInt<unknown>;
|
|
@@ -5382,6 +6278,7 @@ export declare const zPreviewSubscribeResponse: z.ZodObject<{
|
|
|
5382
6278
|
allowed: z.ZodBoolean;
|
|
5383
6279
|
amount_due_cents: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
|
|
5384
6280
|
balance_applied_cents: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
|
|
6281
|
+
cancel_at: z.ZodOptional<z.ZodISODateTime>;
|
|
5385
6282
|
cost_next_period_cents: z.ZodCoercedBigInt<unknown>;
|
|
5386
6283
|
cost_today_cents: z.ZodCoercedBigInt<unknown>;
|
|
5387
6284
|
credits_next_period: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
|
|
@@ -5812,6 +6709,12 @@ export declare const zBillingStatusResponse: z.ZodObject<{
|
|
|
5812
6709
|
MONTHLY: "MONTHLY";
|
|
5813
6710
|
ANNUAL: "ANNUAL";
|
|
5814
6711
|
}>>;
|
|
6712
|
+
subscription_payment_recovery: z.ZodOptional<z.ZodObject<{
|
|
6713
|
+
billing_op_id: z.ZodString;
|
|
6714
|
+
reason: z.ZodEnum<{
|
|
6715
|
+
payment_required: "payment_required";
|
|
6716
|
+
}>;
|
|
6717
|
+
}, z.core.$strip>>;
|
|
5815
6718
|
subscription_state: z.ZodOptional<z.ZodEnum<{
|
|
5816
6719
|
paused: "paused";
|
|
5817
6720
|
active: "active";
|
|
@@ -5954,6 +6857,7 @@ export declare const zBillingPlansResponse: z.ZodObject<{
|
|
|
5954
6857
|
denied_reason_params: z.ZodOptional<z.ZodObject<{
|
|
5955
6858
|
effective_at: z.ZodOptional<z.ZodISODateTime>;
|
|
5956
6859
|
}, z.core.$strip>>;
|
|
6860
|
+
discount_percent: z.ZodOptional<z.ZodNumber>;
|
|
5957
6861
|
duration: z.ZodEnum<{
|
|
5958
6862
|
MONTHLY: "MONTHLY";
|
|
5959
6863
|
ANNUAL: "ANNUAL";
|
|
@@ -5981,6 +6885,7 @@ export declare const zBillingPlansResponse: z.ZodObject<{
|
|
|
5981
6885
|
text: z.ZodString;
|
|
5982
6886
|
}, z.core.$strip>>>;
|
|
5983
6887
|
features: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6888
|
+
list_price_cents: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
|
|
5984
6889
|
max_seats: z.ZodCoercedBigInt<unknown>;
|
|
5985
6890
|
popular: z.ZodOptional<z.ZodBoolean>;
|
|
5986
6891
|
price_cents: z.ZodCoercedBigInt<unknown>;
|
|
@@ -6295,6 +7200,19 @@ export declare const zBillingOpStatusResponse: z.ZodObject<{
|
|
|
6295
7200
|
succeeded: "succeeded";
|
|
6296
7201
|
reconciliation_needed: "reconciliation_needed";
|
|
6297
7202
|
}>>;
|
|
7203
|
+
auto_top_up: z.ZodOptional<z.ZodObject<{
|
|
7204
|
+
monthly_budget_cents: z.ZodCoercedBigInt<unknown>;
|
|
7205
|
+
monthly_budget_is_default: z.ZodBoolean;
|
|
7206
|
+
target_credits: z.ZodCoercedBigInt<unknown>;
|
|
7207
|
+
threshold_credits: z.ZodCoercedBigInt<unknown>;
|
|
7208
|
+
}, z.core.$strip>>;
|
|
7209
|
+
auto_top_up_activation: z.ZodOptional<z.ZodEnum<{
|
|
7210
|
+
failed: "failed";
|
|
7211
|
+
on: "on";
|
|
7212
|
+
pending: "pending";
|
|
7213
|
+
not_attempted: "not_attempted";
|
|
7214
|
+
}>>;
|
|
7215
|
+
auto_top_up_activation_reason: z.ZodOptional<z.ZodString>;
|
|
6298
7216
|
cancelable: z.ZodOptional<z.ZodBoolean>;
|
|
6299
7217
|
charge_breakdown: z.ZodOptional<z.ZodObject<{
|
|
6300
7218
|
amount_charged_cents: z.ZodCoercedBigInt<unknown>;
|
|
@@ -6390,9 +7308,9 @@ export declare const zBillingOpStatusResponse: z.ZodObject<{
|
|
|
6390
7308
|
started_at: z.ZodISODateTime;
|
|
6391
7309
|
status: z.ZodEnum<{
|
|
6392
7310
|
failed: "failed";
|
|
7311
|
+
pending: "pending";
|
|
6393
7312
|
succeeded: "succeeded";
|
|
6394
7313
|
reconciliation_needed: "reconciliation_needed";
|
|
6395
|
-
pending: "pending";
|
|
6396
7314
|
}>;
|
|
6397
7315
|
topup_purchase_amount: z.ZodOptional<z.ZodObject<{
|
|
6398
7316
|
amount_cents: z.ZodCoercedBigInt<unknown>;
|
|
@@ -6401,6 +7319,49 @@ export declare const zBillingOpStatusResponse: z.ZodObject<{
|
|
|
6401
7319
|
}>;
|
|
6402
7320
|
}, z.core.$strip>>;
|
|
6403
7321
|
}, z.core.$strip>;
|
|
7322
|
+
/**
|
|
7323
|
+
* Turns auto top-up on after this purchase's payment succeeds; the server does it, so never follow with PUT /api/billing/auto-reload. Absent leaves auto top-up unchanged. Owner who may manage auto top-up only. Hosted checkout shows a $0.00 "Auto top-up" line and consent covering future top-ups.
|
|
7324
|
+
* PUT /api/billing/auto-reload's enabled-save rules apply before anything is charged (400 INVALID_AUTO_TOP_UP); 400 AUTO_TOP_UP_NOT_ELIGIBLE when setup is unavailable or frozen except for a missing default card; 400 AUTO_TOP_UP_NOT_AVAILABLE when first enrollment is outside the rollout.
|
|
7325
|
+
* Auto top-up charges the default card. With none, the paid card is saved off-session and becomes the default; an existing default is kept and a new card is not saved. On the interactive route a new card's confirmation token must use setup_future_usage off_session exactly when there is no default card.
|
|
7326
|
+
* A replay with other settings is refused. The outcome is auto_top_up_activation on the checkout read (hosted) or GET /api/billing/ops/{id} (interactive).
|
|
7327
|
+
*
|
|
7328
|
+
*/
|
|
7329
|
+
export declare const zTopupAutoTopUpSettings: z.ZodObject<{
|
|
7330
|
+
monthly_budget_cents: z.ZodOptional<z.ZodNullable<z.ZodCoercedBigInt<unknown>>>;
|
|
7331
|
+
target_credits: z.ZodCoercedBigInt<unknown>;
|
|
7332
|
+
threshold_credits: z.ZodCoercedBigInt<unknown>;
|
|
7333
|
+
}, z.core.$strip>;
|
|
7334
|
+
/**
|
|
7335
|
+
* Request body for creating a hosted credit top-up checkout session.
|
|
7336
|
+
*/
|
|
7337
|
+
export declare const zCreateTopupCheckoutRequest: z.ZodObject<{
|
|
7338
|
+
amount_cents: z.ZodCoercedBigInt<unknown>;
|
|
7339
|
+
auto_top_up: z.ZodOptional<z.ZodObject<{
|
|
7340
|
+
monthly_budget_cents: z.ZodOptional<z.ZodNullable<z.ZodCoercedBigInt<unknown>>>;
|
|
7341
|
+
target_credits: z.ZodCoercedBigInt<unknown>;
|
|
7342
|
+
threshold_credits: z.ZodCoercedBigInt<unknown>;
|
|
7343
|
+
}, z.core.$strip>>;
|
|
7344
|
+
idempotency_key: z.ZodOptional<z.ZodString>;
|
|
7345
|
+
return_url: z.ZodURL;
|
|
7346
|
+
}, z.core.$strip>;
|
|
7347
|
+
/**
|
|
7348
|
+
* Pay once with exactly one new-card confirmation token or explicitly selected attached card. Keep the exact request and key on retry; never fall back to the on-file route.
|
|
7349
|
+
*/
|
|
7350
|
+
export declare const zInteractiveTopupRequest: z.ZodObject<{
|
|
7351
|
+
amount_cents: z.ZodCoercedBigInt<unknown>;
|
|
7352
|
+
auto_top_up: z.ZodOptional<z.ZodObject<{
|
|
7353
|
+
monthly_budget_cents: z.ZodOptional<z.ZodNullable<z.ZodCoercedBigInt<unknown>>>;
|
|
7354
|
+
target_credits: z.ZodCoercedBigInt<unknown>;
|
|
7355
|
+
threshold_credits: z.ZodCoercedBigInt<unknown>;
|
|
7356
|
+
}, z.core.$strip>>;
|
|
7357
|
+
checkout_attempt_id: z.ZodOptional<z.ZodString>;
|
|
7358
|
+
confirmation_token: z.ZodOptional<z.ZodString>;
|
|
7359
|
+
idempotency_key: z.ZodString;
|
|
7360
|
+
make_default: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
7361
|
+
return_url: z.ZodOptional<z.ZodString>;
|
|
7362
|
+
save_payment_method: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
7363
|
+
saved_payment_method_id: z.ZodOptional<z.ZodString>;
|
|
7364
|
+
}, z.core.$strip>;
|
|
6404
7365
|
/**
|
|
6405
7366
|
* What a credit top-up of the requested amount would grant.
|
|
6406
7367
|
*/
|
|
@@ -6794,6 +7755,14 @@ export declare const zWorkflowListResponse: z.ZodObject<{
|
|
|
6794
7755
|
total: z.ZodInt;
|
|
6795
7756
|
}, z.core.$strip>;
|
|
6796
7757
|
}, z.core.$strip>;
|
|
7758
|
+
/**
|
|
7759
|
+
* The sidebar file a workflow was copied from, when the two agree. No content and no userdata id: open the path through the userdata API.
|
|
7760
|
+
*/
|
|
7761
|
+
export declare const zWorkflowSidebarFileResponse: z.ZodObject<{
|
|
7762
|
+
modified: z.ZodCoercedBigInt<unknown>;
|
|
7763
|
+
path: z.ZodString;
|
|
7764
|
+
size: z.ZodInt;
|
|
7765
|
+
}, z.core.$strip>;
|
|
6797
7766
|
/**
|
|
6798
7767
|
* Workflow metadata captured at mint time. The subsequent PUT body is the
|
|
6799
7768
|
* raw workflow JSON document and nothing else, so everything that would
|
|
@@ -7043,6 +8012,11 @@ export declare const zBillingCapabilitiesResponse: z.ZodObject<{
|
|
|
7043
8012
|
team: "team";
|
|
7044
8013
|
personal: "personal";
|
|
7045
8014
|
}>>;
|
|
8015
|
+
billing_web_checkout_ui: z.ZodEnum<{
|
|
8016
|
+
embedded: "embedded";
|
|
8017
|
+
full_page: "full_page";
|
|
8018
|
+
}>;
|
|
8019
|
+
cancel_takes_effect_immediately: z.ZodOptional<z.ZodBoolean>;
|
|
7046
8020
|
capabilities: z.ZodObject<{
|
|
7047
8021
|
can_cancel: z.ZodBoolean;
|
|
7048
8022
|
can_change_seats: z.ZodBoolean;
|
|
@@ -7282,6 +8256,13 @@ export declare const zBillingCapabilitiesResponse: z.ZodObject<{
|
|
|
7282
8256
|
self_serve: "self_serve";
|
|
7283
8257
|
sales_managed: "sales_managed";
|
|
7284
8258
|
}>>;
|
|
8259
|
+
primary_billing_action: z.ZodOptional<z.ZodEnum<{
|
|
8260
|
+
none: "none";
|
|
8261
|
+
update_payment: "update_payment";
|
|
8262
|
+
subscribe: "subscribe";
|
|
8263
|
+
resubscribe: "resubscribe";
|
|
8264
|
+
add_credits: "add_credits";
|
|
8265
|
+
}>>;
|
|
7285
8266
|
recovery_route: z.ZodOptional<z.ZodEnum<{
|
|
7286
8267
|
none: "none";
|
|
7287
8268
|
resubscribe: "resubscribe";
|
|
@@ -7603,6 +8584,34 @@ export declare const zAssetCreatedWritable: z.ZodIntersection<z.ZodObject<{
|
|
|
7603
8584
|
}, z.core.$strip>, z.ZodObject<{
|
|
7604
8585
|
created_new: z.ZodBoolean;
|
|
7605
8586
|
}, z.core.$strip>>;
|
|
8587
|
+
/**
|
|
8588
|
+
* One immutable save: the flat CCCJSON read plus the status of the catalog revision that holds it and its save time.
|
|
8589
|
+
*/
|
|
8590
|
+
export declare const zCccHistoryItemWritable: z.ZodObject<{
|
|
8591
|
+
catalog_status: z.ZodEnum<{
|
|
8592
|
+
archived: "archived";
|
|
8593
|
+
draft: "draft";
|
|
8594
|
+
published: "published";
|
|
8595
|
+
reverted: "reverted";
|
|
8596
|
+
}>;
|
|
8597
|
+
saved_at: z.ZodISODateTime;
|
|
8598
|
+
}, z.core.$strip>;
|
|
8599
|
+
/**
|
|
8600
|
+
* One page of save history, newest edit_sequence first. next_cursor is present only when has_more is true. There is no total.
|
|
8601
|
+
*/
|
|
8602
|
+
export declare const zCccHistoryPageWritable: z.ZodObject<{
|
|
8603
|
+
has_more: z.ZodBoolean;
|
|
8604
|
+
items: z.ZodArray<z.ZodObject<{
|
|
8605
|
+
catalog_status: z.ZodEnum<{
|
|
8606
|
+
archived: "archived";
|
|
8607
|
+
draft: "draft";
|
|
8608
|
+
published: "published";
|
|
8609
|
+
reverted: "reverted";
|
|
8610
|
+
}>;
|
|
8611
|
+
saved_at: z.ZodISODateTime;
|
|
8612
|
+
}, z.core.$strip>>;
|
|
8613
|
+
next_cursor: z.ZodOptional<z.ZodString>;
|
|
8614
|
+
}, z.core.$strip>;
|
|
7606
8615
|
/**
|
|
7607
8616
|
* Paginated list of assets belonging to the authenticated user.
|
|
7608
8617
|
*/
|
|
@@ -7717,6 +8726,29 @@ export declare const zGetAgentEventsQuery: z.ZodObject<{
|
|
|
7717
8726
|
token: z.ZodOptional<z.ZodString>;
|
|
7718
8727
|
workspace_id: z.ZodOptional<z.ZodString>;
|
|
7719
8728
|
}, z.core.$strip>;
|
|
8729
|
+
export declare const zAgentGetExecutionsQuery: z.ZodObject<{
|
|
8730
|
+
thread_id: z.ZodOptional<z.ZodUUID>;
|
|
8731
|
+
message_id: z.ZodOptional<z.ZodUUID>;
|
|
8732
|
+
}, z.core.$strip>;
|
|
8733
|
+
/**
|
|
8734
|
+
* Contract probe or the complete uncapped submission snapshot
|
|
8735
|
+
*/
|
|
8736
|
+
export declare const zAgentGetExecutionsResponse: z.ZodObject<{
|
|
8737
|
+
complete: z.ZodOptional<z.ZodBoolean>;
|
|
8738
|
+
executions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8739
|
+
job_id: z.ZodString;
|
|
8740
|
+
paid: z.ZodNullable<z.ZodBoolean>;
|
|
8741
|
+
partner: z.ZodNullable<z.ZodBoolean>;
|
|
8742
|
+
status: z.ZodString;
|
|
8743
|
+
submitted_at: z.ZodISODateTime;
|
|
8744
|
+
}, z.core.$strip>>>;
|
|
8745
|
+
message_id: z.ZodOptional<z.ZodString>;
|
|
8746
|
+
schema_version: z.ZodEnum<{
|
|
8747
|
+
"agent-executions.v1": "agent-executions.v1";
|
|
8748
|
+
}>;
|
|
8749
|
+
thread_id: z.ZodOptional<z.ZodString>;
|
|
8750
|
+
turn_id: z.ZodOptional<z.ZodString>;
|
|
8751
|
+
}, z.core.$strip>;
|
|
7720
8752
|
/**
|
|
7721
8753
|
* The caller's agent identity.
|
|
7722
8754
|
*/
|
|
@@ -8084,6 +9116,10 @@ export declare const zAgentPostMessageBody: z.ZodObject<{
|
|
|
8084
9116
|
draft: z.ZodOptional<z.ZodObject<{
|
|
8085
9117
|
content: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
8086
9118
|
}, z.core.$strip>>;
|
|
9119
|
+
model_selection: z.ZodOptional<z.ZodObject<{
|
|
9120
|
+
model_id: z.ZodString;
|
|
9121
|
+
option_id: z.ZodOptional<z.ZodString>;
|
|
9122
|
+
}, z.core.$strip>>;
|
|
8087
9123
|
open_tabs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8088
9124
|
name: z.ZodOptional<z.ZodString>;
|
|
8089
9125
|
workflow_id: z.ZodString;
|
|
@@ -8103,6 +9139,28 @@ export declare const zAgentPostMessagePath: z.ZodObject<{
|
|
|
8103
9139
|
*/
|
|
8104
9140
|
export declare const zAgentPostMessageResponse: z.ZodObject<{
|
|
8105
9141
|
message_id: z.ZodString;
|
|
9142
|
+
model_selection: z.ZodOptional<z.ZodObject<{
|
|
9143
|
+
contract: z.ZodEnum<{
|
|
9144
|
+
v1: "v1";
|
|
9145
|
+
}>;
|
|
9146
|
+
model_id: z.ZodString;
|
|
9147
|
+
profile_revision: z.ZodString;
|
|
9148
|
+
requested: z.ZodNullable<z.ZodObject<{
|
|
9149
|
+
model_id: z.ZodString;
|
|
9150
|
+
option_id: z.ZodOptional<z.ZodString>;
|
|
9151
|
+
}, z.core.$strip>>;
|
|
9152
|
+
source: z.ZodEnum<{
|
|
9153
|
+
request: "request";
|
|
9154
|
+
deployment_default: "deployment_default";
|
|
9155
|
+
}>;
|
|
9156
|
+
strategy: z.ZodEnum<{
|
|
9157
|
+
anthropic: "anthropic";
|
|
9158
|
+
}>;
|
|
9159
|
+
wire: z.ZodEnum<{
|
|
9160
|
+
anthropic_messages: "anthropic_messages";
|
|
9161
|
+
openai_chat: "openai_chat";
|
|
9162
|
+
}>;
|
|
9163
|
+
}, z.core.$strip>>;
|
|
8106
9164
|
thread_id: z.ZodString;
|
|
8107
9165
|
}, z.core.$strip>;
|
|
8108
9166
|
export declare const zAgentCancelMessagePath: z.ZodObject<{
|
|
@@ -8541,25 +9599,42 @@ export declare const zGetAssetTagHistogramResponse: z.ZodObject<{
|
|
|
8541
9599
|
}, z.core.$strip>;
|
|
8542
9600
|
export declare const zStartModelUploadBody: z.ZodObject<{
|
|
8543
9601
|
filename: z.ZodString;
|
|
9602
|
+
resumable: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
8544
9603
|
size_bytes: z.ZodCoercedBigInt<unknown>;
|
|
8545
9604
|
tags: z.ZodArray<z.ZodString>;
|
|
9605
|
+
upload_analytics: z.ZodOptional<z.ZodObject<{
|
|
9606
|
+
client: z.ZodOptional<z.ZodString>;
|
|
9607
|
+
resumed: z.ZodOptional<z.ZodBoolean>;
|
|
9608
|
+
}, z.core.$strip>>;
|
|
9609
|
+
}, z.core.$strip>;
|
|
9610
|
+
export declare const zStartModelUploadHeaders: z.ZodObject<{
|
|
9611
|
+
Origin: z.ZodOptional<z.ZodString>;
|
|
8546
9612
|
}, z.core.$strip>;
|
|
8547
9613
|
/**
|
|
8548
|
-
* Signed upload URL for one staged object
|
|
9614
|
+
* Signed upload URL or resumable session for one staged object
|
|
8549
9615
|
*/
|
|
8550
9616
|
export declare const zStartModelUploadResponse: z.ZodObject<{
|
|
9617
|
+
chunk_size_bytes: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
|
|
8551
9618
|
expires_at: z.ZodISODateTime;
|
|
8552
9619
|
headers: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
8553
9620
|
max_size_bytes: z.ZodCoercedBigInt<unknown>;
|
|
8554
9621
|
method: z.ZodEnum<{
|
|
8555
9622
|
PUT: "PUT";
|
|
8556
9623
|
}>;
|
|
9624
|
+
upload_analytics_version: z.ZodOptional<z.ZodInt>;
|
|
8557
9625
|
upload_id: z.ZodUUID;
|
|
9626
|
+
upload_mode: z.ZodOptional<z.ZodEnum<{
|
|
9627
|
+
resumable: "resumable";
|
|
9628
|
+
}>>;
|
|
8558
9629
|
upload_url: z.ZodString;
|
|
8559
9630
|
}, z.core.$strip>;
|
|
8560
9631
|
export declare const zCompleteModelUploadBody: z.ZodObject<{
|
|
8561
9632
|
filename: z.ZodString;
|
|
8562
9633
|
tags: z.ZodArray<z.ZodString>;
|
|
9634
|
+
upload_analytics: z.ZodOptional<z.ZodObject<{
|
|
9635
|
+
client: z.ZodOptional<z.ZodString>;
|
|
9636
|
+
resumed: z.ZodOptional<z.ZodBoolean>;
|
|
9637
|
+
}, z.core.$strip>>;
|
|
8563
9638
|
}, z.core.$strip>;
|
|
8564
9639
|
export declare const zCompleteModelUploadPath: z.ZodObject<{
|
|
8565
9640
|
upload_id: z.ZodString;
|
|
@@ -8578,6 +9653,28 @@ export declare const zCompleteModelUploadResponse: z.ZodObject<{
|
|
|
8578
9653
|
}>;
|
|
8579
9654
|
task_id: z.ZodUUID;
|
|
8580
9655
|
}, z.core.$strip>;
|
|
9656
|
+
export declare const zReportModelUploadEventBody: z.ZodObject<{
|
|
9657
|
+
client: z.ZodString;
|
|
9658
|
+
model_folder: z.ZodString;
|
|
9659
|
+
reason: z.ZodEnum<{
|
|
9660
|
+
canceled: "canceled";
|
|
9661
|
+
unknown: "unknown";
|
|
9662
|
+
network: "network";
|
|
9663
|
+
http: "http";
|
|
9664
|
+
session_expired: "session_expired";
|
|
9665
|
+
file_changed: "file_changed";
|
|
9666
|
+
file_unreadable: "file_unreadable";
|
|
9667
|
+
}>;
|
|
9668
|
+
resumed: z.ZodOptional<z.ZodBoolean>;
|
|
9669
|
+
size_bytes: z.ZodCoercedBigInt<unknown>;
|
|
9670
|
+
}, z.core.$strip>;
|
|
9671
|
+
export declare const zReportModelUploadEventPath: z.ZodObject<{
|
|
9672
|
+
upload_id: z.ZodUUID;
|
|
9673
|
+
}, z.core.$strip>;
|
|
9674
|
+
/**
|
|
9675
|
+
* Report accepted; delivery is best effort
|
|
9676
|
+
*/
|
|
9677
|
+
export declare const zReportModelUploadEventResponse: z.ZodVoid;
|
|
8581
9678
|
export declare const zAuthenticateBody: z.ZodObject<{
|
|
8582
9679
|
email: z.ZodString;
|
|
8583
9680
|
password: z.ZodOptional<z.ZodString>;
|
|
@@ -8635,6 +9732,49 @@ export declare const zRedeemDesktopLoginCodeResponse: z.ZodObject<{
|
|
|
8635
9732
|
redeemed: "redeemed";
|
|
8636
9733
|
}>;
|
|
8637
9734
|
}, z.core.$strip>;
|
|
9735
|
+
export declare const zCreateBillingHandoffBody: z.ZodObject<{
|
|
9736
|
+
client_version: z.ZodString;
|
|
9737
|
+
receiver: z.ZodEnum<{
|
|
9738
|
+
billing_web: "billing_web";
|
|
9739
|
+
platform: "platform";
|
|
9740
|
+
}>;
|
|
9741
|
+
surface: z.ZodEnum<{
|
|
9742
|
+
local_web: "local_web";
|
|
9743
|
+
desktop: "desktop";
|
|
9744
|
+
}>;
|
|
9745
|
+
workspace_id: z.ZodString;
|
|
9746
|
+
}, z.core.$strip>;
|
|
9747
|
+
/**
|
|
9748
|
+
* Handoff issued
|
|
9749
|
+
*/
|
|
9750
|
+
export declare const zCreateBillingHandoffResponse: z.ZodObject<{
|
|
9751
|
+
entry_url: z.ZodString;
|
|
9752
|
+
expires_at: z.ZodISODateTime;
|
|
9753
|
+
request_id: z.ZodString;
|
|
9754
|
+
}, z.core.$strip>;
|
|
9755
|
+
export declare const zExchangeBillingHandoffBody: z.ZodObject<{
|
|
9756
|
+
token: z.ZodString;
|
|
9757
|
+
}, z.core.$strip>;
|
|
9758
|
+
/**
|
|
9759
|
+
* Scoped session created
|
|
9760
|
+
*/
|
|
9761
|
+
export declare const zExchangeBillingHandoffResponse: z.ZodObject<{
|
|
9762
|
+
expires_at: z.ZodISODateTime;
|
|
9763
|
+
role: z.ZodEnum<{
|
|
9764
|
+
owner: "owner";
|
|
9765
|
+
member: "member";
|
|
9766
|
+
}>;
|
|
9767
|
+
session_token: z.ZodString;
|
|
9768
|
+
user: z.ZodObject<{
|
|
9769
|
+
email: z.ZodString;
|
|
9770
|
+
id: z.ZodString;
|
|
9771
|
+
}, z.core.$strip>;
|
|
9772
|
+
workspace: z.ZodObject<{
|
|
9773
|
+
id: z.ZodString;
|
|
9774
|
+
name: z.ZodString;
|
|
9775
|
+
type: z.ZodString;
|
|
9776
|
+
}, z.core.$strip>;
|
|
9777
|
+
}, z.core.$strip>;
|
|
8638
9778
|
/**
|
|
8639
9779
|
* Session deleted successfully
|
|
8640
9780
|
*/
|
|
@@ -8927,6 +10067,11 @@ export declare const zGetBillingCapabilitiesResponse: z.ZodObject<{
|
|
|
8927
10067
|
team: "team";
|
|
8928
10068
|
personal: "personal";
|
|
8929
10069
|
}>>;
|
|
10070
|
+
billing_web_checkout_ui: z.ZodEnum<{
|
|
10071
|
+
embedded: "embedded";
|
|
10072
|
+
full_page: "full_page";
|
|
10073
|
+
}>;
|
|
10074
|
+
cancel_takes_effect_immediately: z.ZodOptional<z.ZodBoolean>;
|
|
8930
10075
|
capabilities: z.ZodObject<{
|
|
8931
10076
|
can_cancel: z.ZodBoolean;
|
|
8932
10077
|
can_change_seats: z.ZodBoolean;
|
|
@@ -9166,6 +10311,13 @@ export declare const zGetBillingCapabilitiesResponse: z.ZodObject<{
|
|
|
9166
10311
|
self_serve: "self_serve";
|
|
9167
10312
|
sales_managed: "sales_managed";
|
|
9168
10313
|
}>>;
|
|
10314
|
+
primary_billing_action: z.ZodOptional<z.ZodEnum<{
|
|
10315
|
+
none: "none";
|
|
10316
|
+
update_payment: "update_payment";
|
|
10317
|
+
subscribe: "subscribe";
|
|
10318
|
+
resubscribe: "resubscribe";
|
|
10319
|
+
add_credits: "add_credits";
|
|
10320
|
+
}>>;
|
|
9169
10321
|
recovery_route: z.ZodOptional<z.ZodEnum<{
|
|
9170
10322
|
none: "none";
|
|
9171
10323
|
resubscribe: "resubscribe";
|
|
@@ -9250,11 +10402,11 @@ export declare const zUpdateBillingCompanyDetailsResponse: z.ZodObject<{
|
|
|
9250
10402
|
export declare const zGetBillingEventsQuery: z.ZodObject<{
|
|
9251
10403
|
page: z.ZodDefault<z.ZodOptional<z.ZodInt>>;
|
|
9252
10404
|
limit: z.ZodDefault<z.ZodOptional<z.ZodInt>>;
|
|
9253
|
-
scope: z.
|
|
10405
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
9254
10406
|
user: "user";
|
|
9255
10407
|
self: "self";
|
|
9256
10408
|
workspace: "workspace";
|
|
9257
|
-
}
|
|
10409
|
+
}>>;
|
|
9258
10410
|
user_id: z.ZodOptional<z.ZodString>;
|
|
9259
10411
|
spend_source: z.ZodOptional<z.ZodString>;
|
|
9260
10412
|
filter: z.ZodOptional<z.ZodString>;
|
|
@@ -9304,6 +10456,19 @@ export declare const zGetBillingOpStatusResponse: z.ZodObject<{
|
|
|
9304
10456
|
succeeded: "succeeded";
|
|
9305
10457
|
reconciliation_needed: "reconciliation_needed";
|
|
9306
10458
|
}>>;
|
|
10459
|
+
auto_top_up: z.ZodOptional<z.ZodObject<{
|
|
10460
|
+
monthly_budget_cents: z.ZodCoercedBigInt<unknown>;
|
|
10461
|
+
monthly_budget_is_default: z.ZodBoolean;
|
|
10462
|
+
target_credits: z.ZodCoercedBigInt<unknown>;
|
|
10463
|
+
threshold_credits: z.ZodCoercedBigInt<unknown>;
|
|
10464
|
+
}, z.core.$strip>>;
|
|
10465
|
+
auto_top_up_activation: z.ZodOptional<z.ZodEnum<{
|
|
10466
|
+
failed: "failed";
|
|
10467
|
+
on: "on";
|
|
10468
|
+
pending: "pending";
|
|
10469
|
+
not_attempted: "not_attempted";
|
|
10470
|
+
}>>;
|
|
10471
|
+
auto_top_up_activation_reason: z.ZodOptional<z.ZodString>;
|
|
9307
10472
|
cancelable: z.ZodOptional<z.ZodBoolean>;
|
|
9308
10473
|
charge_breakdown: z.ZodOptional<z.ZodObject<{
|
|
9309
10474
|
amount_charged_cents: z.ZodCoercedBigInt<unknown>;
|
|
@@ -9399,9 +10564,9 @@ export declare const zGetBillingOpStatusResponse: z.ZodObject<{
|
|
|
9399
10564
|
started_at: z.ZodISODateTime;
|
|
9400
10565
|
status: z.ZodEnum<{
|
|
9401
10566
|
failed: "failed";
|
|
10567
|
+
pending: "pending";
|
|
9402
10568
|
succeeded: "succeeded";
|
|
9403
10569
|
reconciliation_needed: "reconciliation_needed";
|
|
9404
|
-
pending: "pending";
|
|
9405
10570
|
}>;
|
|
9406
10571
|
topup_purchase_amount: z.ZodOptional<z.ZodObject<{
|
|
9407
10572
|
amount_cents: z.ZodCoercedBigInt<unknown>;
|
|
@@ -9498,6 +10663,7 @@ export declare const zGetBillingPlansResponse: z.ZodObject<{
|
|
|
9498
10663
|
denied_reason_params: z.ZodOptional<z.ZodObject<{
|
|
9499
10664
|
effective_at: z.ZodOptional<z.ZodISODateTime>;
|
|
9500
10665
|
}, z.core.$strip>>;
|
|
10666
|
+
discount_percent: z.ZodOptional<z.ZodNumber>;
|
|
9501
10667
|
duration: z.ZodEnum<{
|
|
9502
10668
|
MONTHLY: "MONTHLY";
|
|
9503
10669
|
ANNUAL: "ANNUAL";
|
|
@@ -9525,6 +10691,7 @@ export declare const zGetBillingPlansResponse: z.ZodObject<{
|
|
|
9525
10691
|
text: z.ZodString;
|
|
9526
10692
|
}, z.core.$strip>>>;
|
|
9527
10693
|
features: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
10694
|
+
list_price_cents: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
|
|
9528
10695
|
max_seats: z.ZodCoercedBigInt<unknown>;
|
|
9529
10696
|
popular: z.ZodOptional<z.ZodBoolean>;
|
|
9530
10697
|
price_cents: z.ZodCoercedBigInt<unknown>;
|
|
@@ -9629,6 +10796,7 @@ export declare const zPreviewSubscribeResponse2: z.ZodObject<{
|
|
|
9629
10796
|
allowed: z.ZodBoolean;
|
|
9630
10797
|
amount_due_cents: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
|
|
9631
10798
|
balance_applied_cents: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
|
|
10799
|
+
cancel_at: z.ZodOptional<z.ZodISODateTime>;
|
|
9632
10800
|
cost_next_period_cents: z.ZodCoercedBigInt<unknown>;
|
|
9633
10801
|
cost_today_cents: z.ZodCoercedBigInt<unknown>;
|
|
9634
10802
|
credits_next_period: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
|
|
@@ -9745,8 +10913,8 @@ export declare const zAcceptRetentionOfferBody: z.ZodObject<{
|
|
|
9745
10913
|
export declare const zAcceptRetentionOfferResponse: z.ZodObject<{
|
|
9746
10914
|
billing_op_id: z.ZodString;
|
|
9747
10915
|
status: z.ZodEnum<{
|
|
9748
|
-
succeeded: "succeeded";
|
|
9749
10916
|
pending: "pending";
|
|
10917
|
+
succeeded: "succeeded";
|
|
9750
10918
|
}>;
|
|
9751
10919
|
}, z.core.$strip>;
|
|
9752
10920
|
export declare const zRecordRetentionFlowEventBody: z.ZodObject<{
|
|
@@ -9858,6 +11026,12 @@ export declare const zGetBillingStatusResponse: z.ZodObject<{
|
|
|
9858
11026
|
MONTHLY: "MONTHLY";
|
|
9859
11027
|
ANNUAL: "ANNUAL";
|
|
9860
11028
|
}>>;
|
|
11029
|
+
subscription_payment_recovery: z.ZodOptional<z.ZodObject<{
|
|
11030
|
+
billing_op_id: z.ZodString;
|
|
11031
|
+
reason: z.ZodEnum<{
|
|
11032
|
+
payment_required: "payment_required";
|
|
11033
|
+
}>;
|
|
11034
|
+
}, z.core.$strip>>;
|
|
9861
11035
|
subscription_state: z.ZodOptional<z.ZodEnum<{
|
|
9862
11036
|
paused: "paused";
|
|
9863
11037
|
active: "active";
|
|
@@ -9978,6 +11152,11 @@ export declare const zCreateTopupResponse2: z.ZodObject<{
|
|
|
9978
11152
|
}, z.core.$strip>;
|
|
9979
11153
|
export declare const zCreateTopupCheckoutBody: z.ZodObject<{
|
|
9980
11154
|
amount_cents: z.ZodCoercedBigInt<unknown>;
|
|
11155
|
+
auto_top_up: z.ZodOptional<z.ZodObject<{
|
|
11156
|
+
monthly_budget_cents: z.ZodOptional<z.ZodNullable<z.ZodCoercedBigInt<unknown>>>;
|
|
11157
|
+
target_credits: z.ZodCoercedBigInt<unknown>;
|
|
11158
|
+
threshold_credits: z.ZodCoercedBigInt<unknown>;
|
|
11159
|
+
}, z.core.$strip>>;
|
|
9981
11160
|
idempotency_key: z.ZodOptional<z.ZodString>;
|
|
9982
11161
|
return_url: z.ZodURL;
|
|
9983
11162
|
}, z.core.$strip>;
|
|
@@ -10010,6 +11189,19 @@ export declare const zGetTopupCheckoutPath: z.ZodObject<{
|
|
|
10010
11189
|
*/
|
|
10011
11190
|
export declare const zGetTopupCheckoutResponse: z.ZodObject<{
|
|
10012
11191
|
amount_cents: z.ZodCoercedBigInt<unknown>;
|
|
11192
|
+
auto_top_up: z.ZodOptional<z.ZodObject<{
|
|
11193
|
+
monthly_budget_cents: z.ZodCoercedBigInt<unknown>;
|
|
11194
|
+
monthly_budget_is_default: z.ZodBoolean;
|
|
11195
|
+
target_credits: z.ZodCoercedBigInt<unknown>;
|
|
11196
|
+
threshold_credits: z.ZodCoercedBigInt<unknown>;
|
|
11197
|
+
}, z.core.$strip>>;
|
|
11198
|
+
auto_top_up_activation: z.ZodOptional<z.ZodEnum<{
|
|
11199
|
+
failed: "failed";
|
|
11200
|
+
on: "on";
|
|
11201
|
+
pending: "pending";
|
|
11202
|
+
not_attempted: "not_attempted";
|
|
11203
|
+
}>>;
|
|
11204
|
+
auto_top_up_activation_reason: z.ZodOptional<z.ZodString>;
|
|
10013
11205
|
payment_amount_cents: z.ZodNullable<z.ZodCoercedBigInt<unknown>>;
|
|
10014
11206
|
session_id: z.ZodString;
|
|
10015
11207
|
state: z.ZodEnum<{
|
|
@@ -10023,6 +11215,11 @@ export declare const zGetTopupCheckoutResponse: z.ZodObject<{
|
|
|
10023
11215
|
}, z.core.$strip>;
|
|
10024
11216
|
export declare const zCreateInteractiveTopupBody: z.ZodObject<{
|
|
10025
11217
|
amount_cents: z.ZodCoercedBigInt<unknown>;
|
|
11218
|
+
auto_top_up: z.ZodOptional<z.ZodObject<{
|
|
11219
|
+
monthly_budget_cents: z.ZodOptional<z.ZodNullable<z.ZodCoercedBigInt<unknown>>>;
|
|
11220
|
+
target_credits: z.ZodCoercedBigInt<unknown>;
|
|
11221
|
+
threshold_credits: z.ZodCoercedBigInt<unknown>;
|
|
11222
|
+
}, z.core.$strip>>;
|
|
10026
11223
|
checkout_attempt_id: z.ZodOptional<z.ZodString>;
|
|
10027
11224
|
confirmation_token: z.ZodOptional<z.ZodString>;
|
|
10028
11225
|
idempotency_key: z.ZodString;
|
|
@@ -10893,8 +12090,8 @@ export declare const zGetJobStatusResponse: z.ZodObject<{
|
|
|
10893
12090
|
cancelled: "cancelled";
|
|
10894
12091
|
error: "error";
|
|
10895
12092
|
completed: "completed";
|
|
10896
|
-
in_progress: "in_progress";
|
|
10897
12093
|
pending: "pending";
|
|
12094
|
+
in_progress: "in_progress";
|
|
10898
12095
|
waiting_to_dispatch: "waiting_to_dispatch";
|
|
10899
12096
|
}>;
|
|
10900
12097
|
updated_at: z.ZodISODateTime;
|
|
@@ -10956,8 +12153,8 @@ export declare const zListJobsResponse: z.ZodObject<{
|
|
|
10956
12153
|
cancelled: "cancelled";
|
|
10957
12154
|
completed: "completed";
|
|
10958
12155
|
failed: "failed";
|
|
10959
|
-
in_progress: "in_progress";
|
|
10960
12156
|
pending: "pending";
|
|
12157
|
+
in_progress: "in_progress";
|
|
10961
12158
|
}>;
|
|
10962
12159
|
workflow_id: z.ZodOptional<z.ZodString>;
|
|
10963
12160
|
}, z.core.$strip>>;
|
|
@@ -11033,8 +12230,8 @@ export declare const zGetJobDetailResponse: z.ZodObject<{
|
|
|
11033
12230
|
cancelled: "cancelled";
|
|
11034
12231
|
completed: "completed";
|
|
11035
12232
|
failed: "failed";
|
|
11036
|
-
in_progress: "in_progress";
|
|
11037
12233
|
pending: "pending";
|
|
12234
|
+
in_progress: "in_progress";
|
|
11038
12235
|
}>;
|
|
11039
12236
|
update_time: z.ZodCoercedBigInt<unknown>;
|
|
11040
12237
|
user_id: z.ZodOptional<z.ZodString>;
|
|
@@ -11639,6 +12836,85 @@ export declare const zGetUsersInfoResponse: z.ZodObject<{
|
|
|
11639
12836
|
migrated: z.ZodBoolean;
|
|
11640
12837
|
storage: z.ZodString;
|
|
11641
12838
|
}, z.core.$strip>;
|
|
12839
|
+
export declare const zGetCccActivityQuery: z.ZodObject<{
|
|
12840
|
+
kind: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
12841
|
+
save: "save";
|
|
12842
|
+
publish: "publish";
|
|
12843
|
+
discard: "discard";
|
|
12844
|
+
revert: "revert";
|
|
12845
|
+
}>>>;
|
|
12846
|
+
actor_uid: z.ZodOptional<z.ZodString>;
|
|
12847
|
+
type: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
12848
|
+
model: "model";
|
|
12849
|
+
workflow: "workflow";
|
|
12850
|
+
app: "app";
|
|
12851
|
+
}>>>;
|
|
12852
|
+
since: z.ZodOptional<z.ZodISODateTime>;
|
|
12853
|
+
until: z.ZodOptional<z.ZodISODateTime>;
|
|
12854
|
+
limit: z.ZodDefault<z.ZodOptional<z.ZodInt>>;
|
|
12855
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
12856
|
+
}, z.core.$strip>;
|
|
12857
|
+
/**
|
|
12858
|
+
* One page of activity, has_more, optional next_cursor and the newest publication
|
|
12859
|
+
*/
|
|
12860
|
+
export declare const zGetCccActivityResponse: z.ZodObject<{
|
|
12861
|
+
has_more: z.ZodBoolean;
|
|
12862
|
+
items: z.ZodArray<z.ZodObject<{
|
|
12863
|
+
actor_uid: z.ZodString;
|
|
12864
|
+
at: z.ZodISODateTime;
|
|
12865
|
+
catalog_status: z.ZodOptional<z.ZodEnum<{
|
|
12866
|
+
archived: "archived";
|
|
12867
|
+
draft: "draft";
|
|
12868
|
+
published: "published";
|
|
12869
|
+
reverted: "reverted";
|
|
12870
|
+
}>>;
|
|
12871
|
+
changed_fields: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
12872
|
+
file_count: z.ZodOptional<z.ZodInt>;
|
|
12873
|
+
is_deleted: z.ZodOptional<z.ZodBoolean>;
|
|
12874
|
+
is_new: z.ZodOptional<z.ZodBoolean>;
|
|
12875
|
+
kind: z.ZodEnum<{
|
|
12876
|
+
save: "save";
|
|
12877
|
+
publish: "publish";
|
|
12878
|
+
discard: "discard";
|
|
12879
|
+
revert: "revert";
|
|
12880
|
+
}>;
|
|
12881
|
+
page: z.ZodOptional<z.ZodObject<{
|
|
12882
|
+
slug: z.ZodString;
|
|
12883
|
+
title: z.ZodString;
|
|
12884
|
+
type: z.ZodEnum<{
|
|
12885
|
+
model: "model";
|
|
12886
|
+
workflow: "workflow";
|
|
12887
|
+
app: "app";
|
|
12888
|
+
}>;
|
|
12889
|
+
uid: z.ZodUUID;
|
|
12890
|
+
}, z.core.$strip>>;
|
|
12891
|
+
page_count: z.ZodOptional<z.ZodInt>;
|
|
12892
|
+
pages: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
12893
|
+
slug: z.ZodString;
|
|
12894
|
+
title: z.ZodString;
|
|
12895
|
+
type: z.ZodEnum<{
|
|
12896
|
+
model: "model";
|
|
12897
|
+
workflow: "workflow";
|
|
12898
|
+
app: "app";
|
|
12899
|
+
}>;
|
|
12900
|
+
uid: z.ZodUUID;
|
|
12901
|
+
}, z.core.$strip>>>;
|
|
12902
|
+
previous_revision_uid: z.ZodOptional<z.ZodUUID>;
|
|
12903
|
+
restored_from: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
|
|
12904
|
+
restored_revision: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
|
|
12905
|
+
reverted: z.ZodOptional<z.ZodBoolean>;
|
|
12906
|
+
reverted_revision: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
|
|
12907
|
+
revision: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
|
|
12908
|
+
revision_uid: z.ZodOptional<z.ZodUUID>;
|
|
12909
|
+
}, z.core.$strip>>;
|
|
12910
|
+
last_publish: z.ZodNullable<z.ZodObject<{
|
|
12911
|
+
actor_uid: z.ZodString;
|
|
12912
|
+
at: z.ZodISODateTime;
|
|
12913
|
+
reverted: z.ZodBoolean;
|
|
12914
|
+
revision: z.ZodCoercedBigInt<unknown>;
|
|
12915
|
+
}, z.core.$strip>>;
|
|
12916
|
+
next_cursor: z.ZodOptional<z.ZodString>;
|
|
12917
|
+
}, z.core.$strip>;
|
|
11642
12918
|
/**
|
|
11643
12919
|
* Editing instructions from this deployed catalog API build
|
|
11644
12920
|
*/
|
|
@@ -11648,8 +12924,11 @@ export declare const zGetCatalogAgentInstructionsResponse: z.ZodString;
|
|
|
11648
12924
|
*/
|
|
11649
12925
|
export declare const zGetCccAuthoringContextResponse: z.ZodObject<{
|
|
11650
12926
|
actor_uid: z.ZodString;
|
|
12927
|
+
can_access_catalog: z.ZodBoolean;
|
|
11651
12928
|
can_apply: z.ZodBoolean;
|
|
11652
12929
|
can_edit: z.ZodBoolean;
|
|
12930
|
+
can_manage_users: z.ZodBoolean;
|
|
12931
|
+
can_transfer: z.ZodBoolean;
|
|
11653
12932
|
owner_uid: z.ZodString;
|
|
11654
12933
|
state: z.ZodObject<{
|
|
11655
12934
|
draft_generation: z.ZodCoercedBigInt<unknown>;
|
|
@@ -11673,6 +12952,7 @@ export declare const zListCccWebsiteCardsQuery: z.ZodObject<{
|
|
|
11673
12952
|
locale: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
11674
12953
|
en: "en";
|
|
11675
12954
|
"zh-CN": "zh-CN";
|
|
12955
|
+
ja: "ja";
|
|
11676
12956
|
}>>>;
|
|
11677
12957
|
q: z.ZodOptional<z.ZodString>;
|
|
11678
12958
|
sort: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
@@ -11728,6 +13008,7 @@ export declare const zListCccWebsiteCardsResponse: z.ZodObject<{
|
|
|
11728
13008
|
APP: "APP";
|
|
11729
13009
|
TEMPLATE_SET: "TEMPLATE_SET";
|
|
11730
13010
|
}>;
|
|
13011
|
+
last_modified: z.ZodOptional<z.ZodISODateTime>;
|
|
11731
13012
|
revision: z.ZodCoercedBigInt<unknown>;
|
|
11732
13013
|
slug: z.ZodString;
|
|
11733
13014
|
uid: z.ZodString;
|
|
@@ -12243,14 +13524,15 @@ export declare const zGetCccStagingQuery: z.ZodObject<{
|
|
|
12243
13524
|
uid: z.ZodOptional<z.ZodUUID>;
|
|
12244
13525
|
search: z.ZodOptional<z.ZodString>;
|
|
12245
13526
|
author_uid: z.ZodOptional<z.ZodString>;
|
|
13527
|
+
saved_by: z.ZodOptional<z.ZodString>;
|
|
12246
13528
|
change_id: z.ZodOptional<z.ZodString>;
|
|
12247
13529
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
12248
13530
|
types: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
13531
|
+
model: "model";
|
|
12249
13532
|
workflow: "workflow";
|
|
12250
13533
|
app: "app";
|
|
12251
|
-
model: "model";
|
|
12252
|
-
media: "media";
|
|
12253
13534
|
template_set: "template_set";
|
|
13535
|
+
media: "media";
|
|
12254
13536
|
}>>>;
|
|
12255
13537
|
statuses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
12256
13538
|
NEW: "NEW";
|
|
@@ -12263,17 +13545,111 @@ export declare const zGetCccStagingQuery: z.ZodObject<{
|
|
|
12263
13545
|
* Private review with exact Draft generation and optional sparse page metadata
|
|
12264
13546
|
*/
|
|
12265
13547
|
export declare const zGetCccStagingResponse: z.ZodObject<{
|
|
12266
|
-
|
|
12267
|
-
|
|
12268
|
-
|
|
12269
|
-
|
|
12270
|
-
|
|
12271
|
-
|
|
12272
|
-
|
|
12273
|
-
|
|
12274
|
-
|
|
12275
|
-
|
|
12276
|
-
|
|
13548
|
+
items: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
13549
|
+
before: z.ZodOptional<z.ZodObject<{
|
|
13550
|
+
author_uid: z.ZodString;
|
|
13551
|
+
document: z.ZodObject<{
|
|
13552
|
+
change_id: z.ZodOptional<z.ZodString>;
|
|
13553
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
13554
|
+
name: z.ZodOptional<z.ZodString>;
|
|
13555
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
13556
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
13557
|
+
title: z.ZodOptional<z.ZodString>;
|
|
13558
|
+
visibility: z.ZodOptional<z.ZodString>;
|
|
13559
|
+
visible_from: z.ZodOptional<z.ZodString>;
|
|
13560
|
+
}, z.core.$strip>;
|
|
13561
|
+
is_deleted: z.ZodBoolean;
|
|
13562
|
+
revision_uid: z.ZodUUID;
|
|
13563
|
+
saved_by_uid: z.ZodOptional<z.ZodString>;
|
|
13564
|
+
type: z.ZodEnum<{
|
|
13565
|
+
model: "model";
|
|
13566
|
+
workflow: "workflow";
|
|
13567
|
+
app: "app";
|
|
13568
|
+
template_set: "template_set";
|
|
13569
|
+
media: "media";
|
|
13570
|
+
}>;
|
|
13571
|
+
uid: z.ZodUUID;
|
|
13572
|
+
}, z.core.$strip>>;
|
|
13573
|
+
content: z.ZodObject<{
|
|
13574
|
+
author_uid: z.ZodString;
|
|
13575
|
+
document: z.ZodObject<{
|
|
13576
|
+
change_id: z.ZodOptional<z.ZodString>;
|
|
13577
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
13578
|
+
name: z.ZodOptional<z.ZodString>;
|
|
13579
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
13580
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
13581
|
+
title: z.ZodOptional<z.ZodString>;
|
|
13582
|
+
visibility: z.ZodOptional<z.ZodString>;
|
|
13583
|
+
visible_from: z.ZodOptional<z.ZodString>;
|
|
13584
|
+
}, z.core.$strip>;
|
|
13585
|
+
is_deleted: z.ZodBoolean;
|
|
13586
|
+
revision_uid: z.ZodUUID;
|
|
13587
|
+
saved_by_uid: z.ZodOptional<z.ZodString>;
|
|
13588
|
+
type: z.ZodEnum<{
|
|
13589
|
+
model: "model";
|
|
13590
|
+
workflow: "workflow";
|
|
13591
|
+
app: "app";
|
|
13592
|
+
template_set: "template_set";
|
|
13593
|
+
media: "media";
|
|
13594
|
+
}>;
|
|
13595
|
+
uid: z.ZodUUID;
|
|
13596
|
+
}, z.core.$strip>;
|
|
13597
|
+
decision: z.ZodEnum<{
|
|
13598
|
+
NEW: "NEW";
|
|
13599
|
+
APPROVED: "APPROVED";
|
|
13600
|
+
DEFERRED: "DEFERRED";
|
|
13601
|
+
DELETED: "DELETED";
|
|
13602
|
+
}>;
|
|
13603
|
+
presentation: z.ZodOptional<z.ZodObject<{
|
|
13604
|
+
media_name: z.ZodOptional<z.ZodString>;
|
|
13605
|
+
preview: z.ZodOptional<z.ZodObject<{
|
|
13606
|
+
kind: z.ZodEnum<{
|
|
13607
|
+
image: "image";
|
|
13608
|
+
video: "video";
|
|
13609
|
+
}>;
|
|
13610
|
+
src: z.ZodString;
|
|
13611
|
+
}, z.core.$strip>>;
|
|
13612
|
+
uses: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
13613
|
+
differs_from_head: z.ZodBoolean;
|
|
13614
|
+
file_version_uid: z.ZodOptional<z.ZodUUID>;
|
|
13615
|
+
is_deleted: z.ZodBoolean;
|
|
13616
|
+
mime_type: z.ZodOptional<z.ZodString>;
|
|
13617
|
+
name: z.ZodOptional<z.ZodString>;
|
|
13618
|
+
origin: z.ZodBoolean;
|
|
13619
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
13620
|
+
title: z.ZodString;
|
|
13621
|
+
type: z.ZodEnum<{
|
|
13622
|
+
model: "model";
|
|
13623
|
+
workflow: "workflow";
|
|
13624
|
+
app: "app";
|
|
13625
|
+
template_set: "template_set";
|
|
13626
|
+
}>;
|
|
13627
|
+
uid: z.ZodUUID;
|
|
13628
|
+
}, z.core.$strip>>>;
|
|
13629
|
+
}, z.core.$strip>>;
|
|
13630
|
+
saved_at: z.ZodOptional<z.ZodISODateTime>;
|
|
13631
|
+
status: z.ZodEnum<{
|
|
13632
|
+
NEW: "NEW";
|
|
13633
|
+
APPROVED: "APPROVED";
|
|
13634
|
+
DEFERRED: "DEFERRED";
|
|
13635
|
+
DELETED: "DELETED";
|
|
13636
|
+
}>;
|
|
13637
|
+
summary: z.ZodString;
|
|
13638
|
+
}, z.core.$strip>>>;
|
|
13639
|
+
representation: z.ZodOptional<z.ZodEnum<{
|
|
13640
|
+
page: "page";
|
|
13641
|
+
selection: "selection";
|
|
13642
|
+
detail: "detail";
|
|
13643
|
+
}>>;
|
|
13644
|
+
selection_digest: z.ZodOptional<z.ZodString>;
|
|
13645
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
13646
|
+
draft_generation: z.ZodCoercedBigInt<unknown>;
|
|
13647
|
+
draft_rev: z.ZodCoercedBigInt<unknown>;
|
|
13648
|
+
live_rev: z.ZodCoercedBigInt<unknown>;
|
|
13649
|
+
next_rev: z.ZodCoercedBigInt<unknown>;
|
|
13650
|
+
previous_live_rev: z.ZodNullable<z.ZodCoercedBigInt<unknown>>;
|
|
13651
|
+
}, z.core.$strip>>;
|
|
13652
|
+
unresolved_count: z.ZodOptional<z.ZodInt>;
|
|
12277
13653
|
}, z.core.$strip>;
|
|
12278
13654
|
export declare const zStageCccChangesBody: z.ZodObject<{
|
|
12279
13655
|
catalog_rev: z.ZodOptional<z.ZodReadonly<z.ZodCoercedBigInt<unknown>>>;
|
|
@@ -12319,9 +13695,9 @@ export declare const zListContentCatalogItemsQuery: z.ZodObject<{
|
|
|
12319
13695
|
APP: "APP";
|
|
12320
13696
|
}>>;
|
|
12321
13697
|
type: z.ZodOptional<z.ZodEnum<{
|
|
13698
|
+
model: "model";
|
|
12322
13699
|
workflow: "workflow";
|
|
12323
13700
|
app: "app";
|
|
12324
|
-
model: "model";
|
|
12325
13701
|
template_set: "template_set";
|
|
12326
13702
|
}>>;
|
|
12327
13703
|
surface: z.ZodOptional<z.ZodEnum<{
|
|
@@ -12334,8 +13710,8 @@ export declare const zListContentCatalogItemsQuery: z.ZodObject<{
|
|
|
12334
13710
|
tag: z.ZodOptional<z.ZodString>;
|
|
12335
13711
|
use_case: z.ZodOptional<z.ZodString>;
|
|
12336
13712
|
sort: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
12337
|
-
sort_order: "sort_order";
|
|
12338
13713
|
title: "title";
|
|
13714
|
+
sort_order: "sort_order";
|
|
12339
13715
|
}>>>;
|
|
12340
13716
|
limit: z.ZodDefault<z.ZodOptional<z.ZodInt>>;
|
|
12341
13717
|
cursor: z.ZodOptional<z.ZodString>;
|
|
@@ -12357,6 +13733,7 @@ export declare const zListContentCatalogItemsResponse: z.ZodIntersection<z.ZodOb
|
|
|
12357
13733
|
APP: "APP";
|
|
12358
13734
|
TEMPLATE_SET: "TEMPLATE_SET";
|
|
12359
13735
|
}>;
|
|
13736
|
+
last_modified: z.ZodOptional<z.ZodISODateTime>;
|
|
12360
13737
|
revision: z.ZodCoercedBigInt<unknown>;
|
|
12361
13738
|
slug: z.ZodString;
|
|
12362
13739
|
uid: z.ZodString;
|
|
@@ -12392,6 +13769,7 @@ export declare const zGetContentCatalogItemResponse: z.ZodObject<{
|
|
|
12392
13769
|
APP: "APP";
|
|
12393
13770
|
TEMPLATE_SET: "TEMPLATE_SET";
|
|
12394
13771
|
}>;
|
|
13772
|
+
last_modified: z.ZodOptional<z.ZodISODateTime>;
|
|
12395
13773
|
revision: z.ZodCoercedBigInt<unknown>;
|
|
12396
13774
|
slug: z.ZodString;
|
|
12397
13775
|
uid: z.ZodString;
|
|
@@ -12412,17 +13790,29 @@ export declare const zGetCccItemHistoryQuery: z.ZodObject<{
|
|
|
12412
13790
|
* Flat immutable items with catalog_status and saved_at, has_more and optional opaque next_cursor; no total
|
|
12413
13791
|
*/
|
|
12414
13792
|
export declare const zGetCccItemHistoryResponse: z.ZodObject<{
|
|
12415
|
-
|
|
12416
|
-
|
|
12417
|
-
|
|
12418
|
-
|
|
12419
|
-
|
|
12420
|
-
|
|
12421
|
-
|
|
12422
|
-
|
|
12423
|
-
|
|
12424
|
-
|
|
12425
|
-
|
|
13793
|
+
has_more: z.ZodBoolean;
|
|
13794
|
+
items: z.ZodArray<z.ZodIntersection<z.ZodObject<{
|
|
13795
|
+
catalog_rev: z.ZodOptional<z.ZodReadonly<z.ZodCoercedBigInt<unknown>>>;
|
|
13796
|
+
creator_uid: z.ZodOptional<z.ZodReadonly<z.ZodString>>;
|
|
13797
|
+
digest: z.ZodOptional<z.ZodReadonly<z.ZodString>>;
|
|
13798
|
+
draft_generation: z.ZodOptional<z.ZodReadonly<z.ZodCoercedBigInt<unknown>>>;
|
|
13799
|
+
edit_sequence: z.ZodOptional<z.ZodReadonly<z.ZodCoercedBigInt<unknown>>>;
|
|
13800
|
+
is_deleted: z.ZodOptional<z.ZodReadonly<z.ZodBoolean>>;
|
|
13801
|
+
owner_uid: z.ZodOptional<z.ZodReadonly<z.ZodString>>;
|
|
13802
|
+
revision_uid: z.ZodOptional<z.ZodReadonly<z.ZodUUID>>;
|
|
13803
|
+
saved_at: z.ZodOptional<z.ZodReadonly<z.ZodISODateTime>>;
|
|
13804
|
+
saved_by_uid: z.ZodOptional<z.ZodReadonly<z.ZodString>>;
|
|
13805
|
+
uid: z.ZodOptional<z.ZodReadonly<z.ZodUUID>>;
|
|
13806
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
13807
|
+
catalog_status: z.ZodEnum<{
|
|
13808
|
+
archived: "archived";
|
|
13809
|
+
draft: "draft";
|
|
13810
|
+
published: "published";
|
|
13811
|
+
reverted: "reverted";
|
|
13812
|
+
}>;
|
|
13813
|
+
saved_at: z.ZodISODateTime;
|
|
13814
|
+
}, z.core.$strip>>>;
|
|
13815
|
+
next_cursor: z.ZodOptional<z.ZodString>;
|
|
12426
13816
|
}, z.core.$strip>;
|
|
12427
13817
|
export declare const zGetCccLegacyTargetPath: z.ZodObject<{
|
|
12428
13818
|
source: z.ZodString;
|
|
@@ -12435,9 +13825,9 @@ export declare const zGetCccLegacyTargetResponse: z.ZodObject<{
|
|
|
12435
13825
|
path: z.ZodString;
|
|
12436
13826
|
slug: z.ZodString;
|
|
12437
13827
|
type: z.ZodEnum<{
|
|
13828
|
+
model: "model";
|
|
12438
13829
|
workflow: "workflow";
|
|
12439
13830
|
app: "app";
|
|
12440
|
-
model: "model";
|
|
12441
13831
|
}>;
|
|
12442
13832
|
}, z.core.$strip>;
|
|
12443
13833
|
export declare const zGetCccPublicMediaBytesPath: z.ZodObject<{
|
|
@@ -12459,6 +13849,7 @@ export declare const zListCccWebsiteModelDirectoryQuery: z.ZodObject<{
|
|
|
12459
13849
|
locale: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
12460
13850
|
en: "en";
|
|
12461
13851
|
"zh-CN": "zh-CN";
|
|
13852
|
+
ja: "ja";
|
|
12462
13853
|
}>>>;
|
|
12463
13854
|
}, z.core.$strip>;
|
|
12464
13855
|
/**
|
|
@@ -12490,6 +13881,156 @@ export declare const zGetCatalogOpenApiResponse: z.ZodObject<{
|
|
|
12490
13881
|
saved_by_uid: z.ZodOptional<z.ZodReadonly<z.ZodString>>;
|
|
12491
13882
|
uid: z.ZodOptional<z.ZodReadonly<z.ZodUUID>>;
|
|
12492
13883
|
}, z.core.$strip>;
|
|
13884
|
+
export declare const zListCccAdminItemsQuery: z.ZodObject<{
|
|
13885
|
+
types: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
13886
|
+
model: "model";
|
|
13887
|
+
workflow: "workflow";
|
|
13888
|
+
app: "app";
|
|
13889
|
+
}>>>;
|
|
13890
|
+
q: z.ZodOptional<z.ZodString>;
|
|
13891
|
+
status: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
13892
|
+
removed: "removed";
|
|
13893
|
+
not_live: "not_live";
|
|
13894
|
+
unpublished: "unpublished";
|
|
13895
|
+
hidden: "hidden";
|
|
13896
|
+
scheduled: "scheduled";
|
|
13897
|
+
live: "live";
|
|
13898
|
+
}>>>;
|
|
13899
|
+
saved_by: z.ZodOptional<z.ZodString>;
|
|
13900
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
13901
|
+
uid: z.ZodOptional<z.ZodArray<z.ZodUUID>>;
|
|
13902
|
+
missing: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
13903
|
+
cover: "cover";
|
|
13904
|
+
}>>>;
|
|
13905
|
+
sort: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
13906
|
+
saved_desc: "saved_desc";
|
|
13907
|
+
title_asc: "title_asc";
|
|
13908
|
+
}>>>;
|
|
13909
|
+
limit: z.ZodDefault<z.ZodOptional<z.ZodInt>>;
|
|
13910
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
13911
|
+
}, z.core.$strip>;
|
|
13912
|
+
/**
|
|
13913
|
+
* One page of staff page rows, the per-type counts and the optional opaque next_cursor
|
|
13914
|
+
*/
|
|
13915
|
+
export declare const zListCccAdminItemsResponse: z.ZodObject<{
|
|
13916
|
+
as_of: z.ZodISODateTime;
|
|
13917
|
+
counts: z.ZodObject<{
|
|
13918
|
+
app: z.ZodInt;
|
|
13919
|
+
model: z.ZodInt;
|
|
13920
|
+
workflow: z.ZodInt;
|
|
13921
|
+
}, z.core.$strip>;
|
|
13922
|
+
has_more: z.ZodBoolean;
|
|
13923
|
+
items: z.ZodArray<z.ZodObject<{
|
|
13924
|
+
author_uid: z.ZodString;
|
|
13925
|
+
description: z.ZodString;
|
|
13926
|
+
enabled: z.ZodBoolean;
|
|
13927
|
+
has_draft_edits: z.ZodBoolean;
|
|
13928
|
+
has_live: z.ZodBoolean;
|
|
13929
|
+
held_until_start: z.ZodBoolean;
|
|
13930
|
+
is_deleted: z.ZodBoolean;
|
|
13931
|
+
on_hub: z.ZodBoolean;
|
|
13932
|
+
presentation: z.ZodObject<{
|
|
13933
|
+
preview: z.ZodOptional<z.ZodObject<{
|
|
13934
|
+
kind: z.ZodEnum<{
|
|
13935
|
+
image: "image";
|
|
13936
|
+
video: "video";
|
|
13937
|
+
}>;
|
|
13938
|
+
src: z.ZodString;
|
|
13939
|
+
}, z.core.$strip>>;
|
|
13940
|
+
}, z.core.$strip>;
|
|
13941
|
+
revision_uid: z.ZodUUID;
|
|
13942
|
+
saved_at: z.ZodISODateTime;
|
|
13943
|
+
saved_by_uid: z.ZodString;
|
|
13944
|
+
slug: z.ZodString;
|
|
13945
|
+
status: z.ZodEnum<{
|
|
13946
|
+
removed: "removed";
|
|
13947
|
+
not_live: "not_live";
|
|
13948
|
+
unpublished: "unpublished";
|
|
13949
|
+
hidden: "hidden";
|
|
13950
|
+
scheduled: "scheduled";
|
|
13951
|
+
live: "live";
|
|
13952
|
+
}>;
|
|
13953
|
+
title: z.ZodString;
|
|
13954
|
+
type: z.ZodEnum<{
|
|
13955
|
+
model: "model";
|
|
13956
|
+
workflow: "workflow";
|
|
13957
|
+
app: "app";
|
|
13958
|
+
}>;
|
|
13959
|
+
uid: z.ZodUUID;
|
|
13960
|
+
visibility: z.ZodString;
|
|
13961
|
+
visible_from: z.ZodString;
|
|
13962
|
+
}, z.core.$strip>>;
|
|
13963
|
+
next_cursor: z.ZodOptional<z.ZodString>;
|
|
13964
|
+
state: z.ZodObject<{
|
|
13965
|
+
draft_generation: z.ZodCoercedBigInt<unknown>;
|
|
13966
|
+
draft_rev: z.ZodCoercedBigInt<unknown>;
|
|
13967
|
+
live_rev: z.ZodCoercedBigInt<unknown>;
|
|
13968
|
+
next_rev: z.ZodCoercedBigInt<unknown>;
|
|
13969
|
+
previous_live_rev: z.ZodNullable<z.ZodCoercedBigInt<unknown>>;
|
|
13970
|
+
}, z.core.$strip>;
|
|
13971
|
+
}, z.core.$strip>;
|
|
13972
|
+
/**
|
|
13973
|
+
* Current website permission records
|
|
13974
|
+
*/
|
|
13975
|
+
export declare const zListCccStaffPermissionsResponse: z.ZodObject<{
|
|
13976
|
+
items: z.ZodArray<z.ZodObject<{
|
|
13977
|
+
account_id: z.ZodString;
|
|
13978
|
+
avatar_url: z.ZodOptional<z.ZodString>;
|
|
13979
|
+
can_edit: z.ZodBoolean;
|
|
13980
|
+
can_manage_users: z.ZodBoolean;
|
|
13981
|
+
can_publish: z.ZodBoolean;
|
|
13982
|
+
can_transfer: z.ZodBoolean;
|
|
13983
|
+
display_name: z.ZodOptional<z.ZodString>;
|
|
13984
|
+
updated_at: z.ZodISODateTime;
|
|
13985
|
+
updated_by: z.ZodString;
|
|
13986
|
+
version: z.ZodCoercedBigInt<unknown>;
|
|
13987
|
+
}, z.core.$strip>>;
|
|
13988
|
+
}, z.core.$strip>;
|
|
13989
|
+
export declare const zDeleteCccStaffPermissionsPath: z.ZodObject<{
|
|
13990
|
+
account_id: z.ZodString;
|
|
13991
|
+
}, z.core.$strip>;
|
|
13992
|
+
export declare const zDeleteCccStaffPermissionsQuery: z.ZodObject<{
|
|
13993
|
+
expected_version: z.ZodCoercedBigInt<unknown>;
|
|
13994
|
+
}, z.core.$strip>;
|
|
13995
|
+
/**
|
|
13996
|
+
* Website access removed
|
|
13997
|
+
*/
|
|
13998
|
+
export declare const zDeleteCccStaffPermissionsResponse: z.ZodVoid;
|
|
13999
|
+
export declare const zPutCccStaffPermissionsBody: z.ZodObject<{
|
|
14000
|
+
can_edit: z.ZodBoolean;
|
|
14001
|
+
can_manage_users: z.ZodBoolean;
|
|
14002
|
+
can_publish: z.ZodBoolean;
|
|
14003
|
+
can_transfer: z.ZodBoolean;
|
|
14004
|
+
expected_version: z.ZodCoercedBigInt<unknown>;
|
|
14005
|
+
}, z.core.$strip>;
|
|
14006
|
+
export declare const zPutCccStaffPermissionsPath: z.ZodObject<{
|
|
14007
|
+
account_id: z.ZodString;
|
|
14008
|
+
}, z.core.$strip>;
|
|
14009
|
+
/**
|
|
14010
|
+
* Saved website permissions and the new version token
|
|
14011
|
+
*/
|
|
14012
|
+
export declare const zPutCccStaffPermissionsResponse: z.ZodObject<{
|
|
14013
|
+
account_id: z.ZodString;
|
|
14014
|
+
avatar_url: z.ZodOptional<z.ZodString>;
|
|
14015
|
+
can_edit: z.ZodBoolean;
|
|
14016
|
+
can_manage_users: z.ZodBoolean;
|
|
14017
|
+
can_publish: z.ZodBoolean;
|
|
14018
|
+
can_transfer: z.ZodBoolean;
|
|
14019
|
+
display_name: z.ZodOptional<z.ZodString>;
|
|
14020
|
+
updated_at: z.ZodISODateTime;
|
|
14021
|
+
updated_by: z.ZodString;
|
|
14022
|
+
version: z.ZodCoercedBigInt<unknown>;
|
|
14023
|
+
}, z.core.$strip>;
|
|
14024
|
+
export declare const zResolveCccStaffAccountBody: z.ZodObject<{
|
|
14025
|
+
email: z.ZodEmail;
|
|
14026
|
+
}, z.core.$strip>;
|
|
14027
|
+
/**
|
|
14028
|
+
* Verified active account, without granting access
|
|
14029
|
+
*/
|
|
14030
|
+
export declare const zResolveCccStaffAccountResponse: z.ZodObject<{
|
|
14031
|
+
account_id: z.ZodString;
|
|
14032
|
+
display_name: z.ZodOptional<z.ZodString>;
|
|
14033
|
+
}, z.core.$strip>;
|
|
12493
14034
|
export declare const zGetCccPreviewMediaBytesPath: z.ZodObject<{
|
|
12494
14035
|
rev: z.ZodInt;
|
|
12495
14036
|
uid: z.ZodUUID;
|
|
@@ -12546,6 +14087,7 @@ export declare const zGetCccWebsiteRootPresentationQuery: z.ZodObject<{
|
|
|
12546
14087
|
locale: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
12547
14088
|
en: "en";
|
|
12548
14089
|
"zh-CN": "zh-CN";
|
|
14090
|
+
ja: "ja";
|
|
12549
14091
|
}>>>;
|
|
12550
14092
|
revision_id: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
|
|
12551
14093
|
}, z.core.$strip>;
|
|
@@ -12565,6 +14107,7 @@ export declare const zGetCccWebsiteRootPresentationResponse: z.ZodObject<{
|
|
|
12565
14107
|
APP: "APP";
|
|
12566
14108
|
TEMPLATE_SET: "TEMPLATE_SET";
|
|
12567
14109
|
}>;
|
|
14110
|
+
last_modified: z.ZodOptional<z.ZodISODateTime>;
|
|
12568
14111
|
revision: z.ZodCoercedBigInt<unknown>;
|
|
12569
14112
|
slug: z.ZodString;
|
|
12570
14113
|
uid: z.ZodString;
|
|
@@ -12678,11 +14221,11 @@ export declare const zGetCccWebsiteRootPresentationResponse: z.ZodObject<{
|
|
|
12678
14221
|
}, z.core.$strip>;
|
|
12679
14222
|
export declare const zGetCccTypeSchemaPath: z.ZodObject<{
|
|
12680
14223
|
type: z.ZodEnum<{
|
|
14224
|
+
model: "model";
|
|
12681
14225
|
workflow: "workflow";
|
|
12682
14226
|
app: "app";
|
|
12683
|
-
model: "model";
|
|
12684
|
-
media: "media";
|
|
12685
14227
|
template_set: "template_set";
|
|
14228
|
+
media: "media";
|
|
12686
14229
|
}>;
|
|
12687
14230
|
schema_version: z.ZodInt;
|
|
12688
14231
|
}, z.core.$strip>;
|
|
@@ -12690,17 +14233,50 @@ export declare const zGetCccTypeSchemaPath: z.ZodObject<{
|
|
|
12690
14233
|
* Build-coupled OpenAPI 3.0 schema object, type, version and API environment
|
|
12691
14234
|
*/
|
|
12692
14235
|
export declare const zGetCccTypeSchemaResponse: z.ZodObject<{
|
|
12693
|
-
|
|
12694
|
-
|
|
12695
|
-
|
|
12696
|
-
|
|
12697
|
-
|
|
12698
|
-
|
|
12699
|
-
|
|
12700
|
-
|
|
12701
|
-
|
|
12702
|
-
|
|
12703
|
-
|
|
14236
|
+
contract_version: z.ZodString;
|
|
14237
|
+
environment: z.ZodString;
|
|
14238
|
+
format: z.ZodEnum<{
|
|
14239
|
+
"openapi-3.0-schema": "openapi-3.0-schema";
|
|
14240
|
+
}>;
|
|
14241
|
+
publication: z.ZodOptional<z.ZodObject<{
|
|
14242
|
+
rules: z.ZodArray<z.ZodObject<{
|
|
14243
|
+
fields: z.ZodArray<z.ZodString>;
|
|
14244
|
+
level: z.ZodOptional<z.ZodEnum<{
|
|
14245
|
+
required: "required";
|
|
14246
|
+
recommended: "recommended";
|
|
14247
|
+
}>>;
|
|
14248
|
+
media: z.ZodOptional<z.ZodObject<{
|
|
14249
|
+
max_bytes: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
|
|
14250
|
+
max_height: z.ZodOptional<z.ZodInt>;
|
|
14251
|
+
max_width: z.ZodOptional<z.ZodInt>;
|
|
14252
|
+
mime_type: z.ZodString;
|
|
14253
|
+
min_bytes: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
|
|
14254
|
+
}, z.core.$strip>>;
|
|
14255
|
+
message: z.ZodString;
|
|
14256
|
+
resolves_to: z.ZodOptional<z.ZodString>;
|
|
14257
|
+
types: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
14258
|
+
model: "model";
|
|
14259
|
+
workflow: "workflow";
|
|
14260
|
+
app: "app";
|
|
14261
|
+
template_set: "template_set";
|
|
14262
|
+
}>>>;
|
|
14263
|
+
when: z.ZodOptional<z.ZodObject<{
|
|
14264
|
+
equals: z.ZodUnknown;
|
|
14265
|
+
field: z.ZodString;
|
|
14266
|
+
if_absent: z.ZodOptional<z.ZodLazy<z.ZodType<CccPublicationCondition, unknown, z.core.$ZodTypeInternals<CccPublicationCondition, unknown>>>>;
|
|
14267
|
+
}, z.core.$strip>>;
|
|
14268
|
+
}, z.core.$strip>>;
|
|
14269
|
+
}, z.core.$strip>>;
|
|
14270
|
+
schema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
14271
|
+
schema_version: z.ZodInt;
|
|
14272
|
+
server_fields: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
14273
|
+
type: z.ZodEnum<{
|
|
14274
|
+
model: "model";
|
|
14275
|
+
workflow: "workflow";
|
|
14276
|
+
app: "app";
|
|
14277
|
+
template_set: "template_set";
|
|
14278
|
+
media: "media";
|
|
14279
|
+
}>;
|
|
12704
14280
|
}, z.core.$strip>;
|
|
12705
14281
|
/**
|
|
12706
14282
|
* Private state; never cacheable
|
|
@@ -12718,6 +14294,24 @@ export declare const zGetCccStateResponse: z.ZodObject<{
|
|
|
12718
14294
|
saved_by_uid: z.ZodOptional<z.ZodReadonly<z.ZodString>>;
|
|
12719
14295
|
uid: z.ZodOptional<z.ZodReadonly<z.ZodUUID>>;
|
|
12720
14296
|
}, z.core.$strip>;
|
|
14297
|
+
export declare const zGetCccSiteTagsQuery: z.ZodObject<{
|
|
14298
|
+
view: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
14299
|
+
LIVE: "LIVE";
|
|
14300
|
+
DRAFT: "DRAFT";
|
|
14301
|
+
}>>>;
|
|
14302
|
+
now: z.ZodOptional<z.ZodISODateTime>;
|
|
14303
|
+
}, z.core.$strip>;
|
|
14304
|
+
/**
|
|
14305
|
+
* Complete tag usage with Draft generation
|
|
14306
|
+
*/
|
|
14307
|
+
export declare const zGetCccSiteTagsResponse: z.ZodObject<{
|
|
14308
|
+
generation: z.ZodInt;
|
|
14309
|
+
revision_id: z.ZodInt;
|
|
14310
|
+
tags: z.ZodArray<z.ZodObject<{
|
|
14311
|
+
count: z.ZodInt;
|
|
14312
|
+
tag: z.ZodString;
|
|
14313
|
+
}, z.core.$strip>>;
|
|
14314
|
+
}, z.core.$strip>;
|
|
12721
14315
|
export declare const zGetVhsQueryVideoQuery: z.ZodObject<{
|
|
12722
14316
|
filename: z.ZodString;
|
|
12723
14317
|
workspace_id: z.ZodOptional<z.ZodString>;
|
|
@@ -12971,6 +14565,17 @@ export declare const zForkWorkflowResponse: z.ZodObject<{
|
|
|
12971
14565
|
name: z.ZodOptional<z.ZodString>;
|
|
12972
14566
|
updated_at: z.ZodISODateTime;
|
|
12973
14567
|
}, z.core.$strip>;
|
|
14568
|
+
export declare const zGetWorkflowSidebarFilePath: z.ZodObject<{
|
|
14569
|
+
workflow_id: z.ZodString;
|
|
14570
|
+
}, z.core.$strip>;
|
|
14571
|
+
/**
|
|
14572
|
+
* The workflow and its sidebar file agree.
|
|
14573
|
+
*/
|
|
14574
|
+
export declare const zGetWorkflowSidebarFileResponse: z.ZodObject<{
|
|
14575
|
+
modified: z.ZodCoercedBigInt<unknown>;
|
|
14576
|
+
path: z.ZodString;
|
|
14577
|
+
size: z.ZodInt;
|
|
14578
|
+
}, z.core.$strip>;
|
|
12974
14579
|
export declare const zCreateWorkflowVersionBody: z.ZodObject<{
|
|
12975
14580
|
base_version: z.ZodInt;
|
|
12976
14581
|
workflow_json: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
@@ -13614,6 +15219,12 @@ export declare const zPostOAuthRegisterResponse: z.ZodObject<{
|
|
|
13614
15219
|
none: "none";
|
|
13615
15220
|
}>;
|
|
13616
15221
|
}, z.core.$strip>;
|
|
15222
|
+
export declare const zPostOAuthRevokeBody: z.ZodObject<{
|
|
15223
|
+
client_id: z.ZodString;
|
|
15224
|
+
client_secret: z.ZodOptional<z.ZodString>;
|
|
15225
|
+
token: z.ZodString;
|
|
15226
|
+
token_type_hint: z.ZodOptional<z.ZodString>;
|
|
15227
|
+
}, z.core.$strip>;
|
|
13617
15228
|
export declare const zPostOAuthTokenBody: z.ZodObject<{
|
|
13618
15229
|
client_id: z.ZodString;
|
|
13619
15230
|
client_secret: z.ZodOptional<z.ZodString>;
|