@comfyorg/ingest-types 1.5.0 → 1.6.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 +1423 -74
- package/dist/zod.gen.d.ts +1741 -132
- package/dist/zod.gen.js +677 -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,10 @@ 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
|
+
}>;
|
|
7046
8019
|
capabilities: z.ZodObject<{
|
|
7047
8020
|
can_cancel: z.ZodBoolean;
|
|
7048
8021
|
can_change_seats: z.ZodBoolean;
|
|
@@ -7282,6 +8255,13 @@ export declare const zBillingCapabilitiesResponse: z.ZodObject<{
|
|
|
7282
8255
|
self_serve: "self_serve";
|
|
7283
8256
|
sales_managed: "sales_managed";
|
|
7284
8257
|
}>>;
|
|
8258
|
+
primary_billing_action: z.ZodOptional<z.ZodEnum<{
|
|
8259
|
+
none: "none";
|
|
8260
|
+
update_payment: "update_payment";
|
|
8261
|
+
subscribe: "subscribe";
|
|
8262
|
+
resubscribe: "resubscribe";
|
|
8263
|
+
add_credits: "add_credits";
|
|
8264
|
+
}>>;
|
|
7285
8265
|
recovery_route: z.ZodOptional<z.ZodEnum<{
|
|
7286
8266
|
none: "none";
|
|
7287
8267
|
resubscribe: "resubscribe";
|
|
@@ -7603,6 +8583,34 @@ export declare const zAssetCreatedWritable: z.ZodIntersection<z.ZodObject<{
|
|
|
7603
8583
|
}, z.core.$strip>, z.ZodObject<{
|
|
7604
8584
|
created_new: z.ZodBoolean;
|
|
7605
8585
|
}, z.core.$strip>>;
|
|
8586
|
+
/**
|
|
8587
|
+
* One immutable save: the flat CCCJSON read plus the status of the catalog revision that holds it and its save time.
|
|
8588
|
+
*/
|
|
8589
|
+
export declare const zCccHistoryItemWritable: z.ZodObject<{
|
|
8590
|
+
catalog_status: z.ZodEnum<{
|
|
8591
|
+
archived: "archived";
|
|
8592
|
+
draft: "draft";
|
|
8593
|
+
published: "published";
|
|
8594
|
+
reverted: "reverted";
|
|
8595
|
+
}>;
|
|
8596
|
+
saved_at: z.ZodISODateTime;
|
|
8597
|
+
}, z.core.$strip>;
|
|
8598
|
+
/**
|
|
8599
|
+
* One page of save history, newest edit_sequence first. next_cursor is present only when has_more is true. There is no total.
|
|
8600
|
+
*/
|
|
8601
|
+
export declare const zCccHistoryPageWritable: z.ZodObject<{
|
|
8602
|
+
has_more: z.ZodBoolean;
|
|
8603
|
+
items: z.ZodArray<z.ZodObject<{
|
|
8604
|
+
catalog_status: z.ZodEnum<{
|
|
8605
|
+
archived: "archived";
|
|
8606
|
+
draft: "draft";
|
|
8607
|
+
published: "published";
|
|
8608
|
+
reverted: "reverted";
|
|
8609
|
+
}>;
|
|
8610
|
+
saved_at: z.ZodISODateTime;
|
|
8611
|
+
}, z.core.$strip>>;
|
|
8612
|
+
next_cursor: z.ZodOptional<z.ZodString>;
|
|
8613
|
+
}, z.core.$strip>;
|
|
7606
8614
|
/**
|
|
7607
8615
|
* Paginated list of assets belonging to the authenticated user.
|
|
7608
8616
|
*/
|
|
@@ -7717,6 +8725,29 @@ export declare const zGetAgentEventsQuery: z.ZodObject<{
|
|
|
7717
8725
|
token: z.ZodOptional<z.ZodString>;
|
|
7718
8726
|
workspace_id: z.ZodOptional<z.ZodString>;
|
|
7719
8727
|
}, z.core.$strip>;
|
|
8728
|
+
export declare const zAgentGetExecutionsQuery: z.ZodObject<{
|
|
8729
|
+
thread_id: z.ZodOptional<z.ZodUUID>;
|
|
8730
|
+
message_id: z.ZodOptional<z.ZodUUID>;
|
|
8731
|
+
}, z.core.$strip>;
|
|
8732
|
+
/**
|
|
8733
|
+
* Contract probe or the complete uncapped submission snapshot
|
|
8734
|
+
*/
|
|
8735
|
+
export declare const zAgentGetExecutionsResponse: z.ZodObject<{
|
|
8736
|
+
complete: z.ZodOptional<z.ZodBoolean>;
|
|
8737
|
+
executions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8738
|
+
job_id: z.ZodString;
|
|
8739
|
+
paid: z.ZodNullable<z.ZodBoolean>;
|
|
8740
|
+
partner: z.ZodNullable<z.ZodBoolean>;
|
|
8741
|
+
status: z.ZodString;
|
|
8742
|
+
submitted_at: z.ZodISODateTime;
|
|
8743
|
+
}, z.core.$strip>>>;
|
|
8744
|
+
message_id: z.ZodOptional<z.ZodString>;
|
|
8745
|
+
schema_version: z.ZodEnum<{
|
|
8746
|
+
"agent-executions.v1": "agent-executions.v1";
|
|
8747
|
+
}>;
|
|
8748
|
+
thread_id: z.ZodOptional<z.ZodString>;
|
|
8749
|
+
turn_id: z.ZodOptional<z.ZodString>;
|
|
8750
|
+
}, z.core.$strip>;
|
|
7720
8751
|
/**
|
|
7721
8752
|
* The caller's agent identity.
|
|
7722
8753
|
*/
|
|
@@ -8084,6 +9115,10 @@ export declare const zAgentPostMessageBody: z.ZodObject<{
|
|
|
8084
9115
|
draft: z.ZodOptional<z.ZodObject<{
|
|
8085
9116
|
content: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
8086
9117
|
}, z.core.$strip>>;
|
|
9118
|
+
model_selection: z.ZodOptional<z.ZodObject<{
|
|
9119
|
+
model_id: z.ZodString;
|
|
9120
|
+
option_id: z.ZodOptional<z.ZodString>;
|
|
9121
|
+
}, z.core.$strip>>;
|
|
8087
9122
|
open_tabs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8088
9123
|
name: z.ZodOptional<z.ZodString>;
|
|
8089
9124
|
workflow_id: z.ZodString;
|
|
@@ -8103,6 +9138,28 @@ export declare const zAgentPostMessagePath: z.ZodObject<{
|
|
|
8103
9138
|
*/
|
|
8104
9139
|
export declare const zAgentPostMessageResponse: z.ZodObject<{
|
|
8105
9140
|
message_id: z.ZodString;
|
|
9141
|
+
model_selection: z.ZodOptional<z.ZodObject<{
|
|
9142
|
+
contract: z.ZodEnum<{
|
|
9143
|
+
v1: "v1";
|
|
9144
|
+
}>;
|
|
9145
|
+
model_id: z.ZodString;
|
|
9146
|
+
profile_revision: z.ZodString;
|
|
9147
|
+
requested: z.ZodNullable<z.ZodObject<{
|
|
9148
|
+
model_id: z.ZodString;
|
|
9149
|
+
option_id: z.ZodOptional<z.ZodString>;
|
|
9150
|
+
}, z.core.$strip>>;
|
|
9151
|
+
source: z.ZodEnum<{
|
|
9152
|
+
request: "request";
|
|
9153
|
+
deployment_default: "deployment_default";
|
|
9154
|
+
}>;
|
|
9155
|
+
strategy: z.ZodEnum<{
|
|
9156
|
+
anthropic: "anthropic";
|
|
9157
|
+
}>;
|
|
9158
|
+
wire: z.ZodEnum<{
|
|
9159
|
+
anthropic_messages: "anthropic_messages";
|
|
9160
|
+
openai_chat: "openai_chat";
|
|
9161
|
+
}>;
|
|
9162
|
+
}, z.core.$strip>>;
|
|
8106
9163
|
thread_id: z.ZodString;
|
|
8107
9164
|
}, z.core.$strip>;
|
|
8108
9165
|
export declare const zAgentCancelMessagePath: z.ZodObject<{
|
|
@@ -8541,25 +9598,42 @@ export declare const zGetAssetTagHistogramResponse: z.ZodObject<{
|
|
|
8541
9598
|
}, z.core.$strip>;
|
|
8542
9599
|
export declare const zStartModelUploadBody: z.ZodObject<{
|
|
8543
9600
|
filename: z.ZodString;
|
|
9601
|
+
resumable: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
8544
9602
|
size_bytes: z.ZodCoercedBigInt<unknown>;
|
|
8545
9603
|
tags: z.ZodArray<z.ZodString>;
|
|
9604
|
+
upload_analytics: z.ZodOptional<z.ZodObject<{
|
|
9605
|
+
client: z.ZodOptional<z.ZodString>;
|
|
9606
|
+
resumed: z.ZodOptional<z.ZodBoolean>;
|
|
9607
|
+
}, z.core.$strip>>;
|
|
9608
|
+
}, z.core.$strip>;
|
|
9609
|
+
export declare const zStartModelUploadHeaders: z.ZodObject<{
|
|
9610
|
+
Origin: z.ZodOptional<z.ZodString>;
|
|
8546
9611
|
}, z.core.$strip>;
|
|
8547
9612
|
/**
|
|
8548
|
-
* Signed upload URL for one staged object
|
|
9613
|
+
* Signed upload URL or resumable session for one staged object
|
|
8549
9614
|
*/
|
|
8550
9615
|
export declare const zStartModelUploadResponse: z.ZodObject<{
|
|
9616
|
+
chunk_size_bytes: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
|
|
8551
9617
|
expires_at: z.ZodISODateTime;
|
|
8552
9618
|
headers: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
8553
9619
|
max_size_bytes: z.ZodCoercedBigInt<unknown>;
|
|
8554
9620
|
method: z.ZodEnum<{
|
|
8555
9621
|
PUT: "PUT";
|
|
8556
9622
|
}>;
|
|
9623
|
+
upload_analytics_version: z.ZodOptional<z.ZodInt>;
|
|
8557
9624
|
upload_id: z.ZodUUID;
|
|
9625
|
+
upload_mode: z.ZodOptional<z.ZodEnum<{
|
|
9626
|
+
resumable: "resumable";
|
|
9627
|
+
}>>;
|
|
8558
9628
|
upload_url: z.ZodString;
|
|
8559
9629
|
}, z.core.$strip>;
|
|
8560
9630
|
export declare const zCompleteModelUploadBody: z.ZodObject<{
|
|
8561
9631
|
filename: z.ZodString;
|
|
8562
9632
|
tags: z.ZodArray<z.ZodString>;
|
|
9633
|
+
upload_analytics: z.ZodOptional<z.ZodObject<{
|
|
9634
|
+
client: z.ZodOptional<z.ZodString>;
|
|
9635
|
+
resumed: z.ZodOptional<z.ZodBoolean>;
|
|
9636
|
+
}, z.core.$strip>>;
|
|
8563
9637
|
}, z.core.$strip>;
|
|
8564
9638
|
export declare const zCompleteModelUploadPath: z.ZodObject<{
|
|
8565
9639
|
upload_id: z.ZodString;
|
|
@@ -8578,6 +9652,28 @@ export declare const zCompleteModelUploadResponse: z.ZodObject<{
|
|
|
8578
9652
|
}>;
|
|
8579
9653
|
task_id: z.ZodUUID;
|
|
8580
9654
|
}, z.core.$strip>;
|
|
9655
|
+
export declare const zReportModelUploadEventBody: z.ZodObject<{
|
|
9656
|
+
client: z.ZodString;
|
|
9657
|
+
model_folder: z.ZodString;
|
|
9658
|
+
reason: z.ZodEnum<{
|
|
9659
|
+
canceled: "canceled";
|
|
9660
|
+
unknown: "unknown";
|
|
9661
|
+
network: "network";
|
|
9662
|
+
http: "http";
|
|
9663
|
+
session_expired: "session_expired";
|
|
9664
|
+
file_changed: "file_changed";
|
|
9665
|
+
file_unreadable: "file_unreadable";
|
|
9666
|
+
}>;
|
|
9667
|
+
resumed: z.ZodOptional<z.ZodBoolean>;
|
|
9668
|
+
size_bytes: z.ZodCoercedBigInt<unknown>;
|
|
9669
|
+
}, z.core.$strip>;
|
|
9670
|
+
export declare const zReportModelUploadEventPath: z.ZodObject<{
|
|
9671
|
+
upload_id: z.ZodUUID;
|
|
9672
|
+
}, z.core.$strip>;
|
|
9673
|
+
/**
|
|
9674
|
+
* Report accepted; delivery is best effort
|
|
9675
|
+
*/
|
|
9676
|
+
export declare const zReportModelUploadEventResponse: z.ZodVoid;
|
|
8581
9677
|
export declare const zAuthenticateBody: z.ZodObject<{
|
|
8582
9678
|
email: z.ZodString;
|
|
8583
9679
|
password: z.ZodOptional<z.ZodString>;
|
|
@@ -8635,6 +9731,49 @@ export declare const zRedeemDesktopLoginCodeResponse: z.ZodObject<{
|
|
|
8635
9731
|
redeemed: "redeemed";
|
|
8636
9732
|
}>;
|
|
8637
9733
|
}, z.core.$strip>;
|
|
9734
|
+
export declare const zCreateBillingHandoffBody: z.ZodObject<{
|
|
9735
|
+
client_version: z.ZodString;
|
|
9736
|
+
receiver: z.ZodEnum<{
|
|
9737
|
+
billing_web: "billing_web";
|
|
9738
|
+
platform: "platform";
|
|
9739
|
+
}>;
|
|
9740
|
+
surface: z.ZodEnum<{
|
|
9741
|
+
local_web: "local_web";
|
|
9742
|
+
desktop: "desktop";
|
|
9743
|
+
}>;
|
|
9744
|
+
workspace_id: z.ZodString;
|
|
9745
|
+
}, z.core.$strip>;
|
|
9746
|
+
/**
|
|
9747
|
+
* Handoff issued
|
|
9748
|
+
*/
|
|
9749
|
+
export declare const zCreateBillingHandoffResponse: z.ZodObject<{
|
|
9750
|
+
entry_url: z.ZodString;
|
|
9751
|
+
expires_at: z.ZodISODateTime;
|
|
9752
|
+
request_id: z.ZodString;
|
|
9753
|
+
}, z.core.$strip>;
|
|
9754
|
+
export declare const zExchangeBillingHandoffBody: z.ZodObject<{
|
|
9755
|
+
token: z.ZodString;
|
|
9756
|
+
}, z.core.$strip>;
|
|
9757
|
+
/**
|
|
9758
|
+
* Scoped session created
|
|
9759
|
+
*/
|
|
9760
|
+
export declare const zExchangeBillingHandoffResponse: z.ZodObject<{
|
|
9761
|
+
expires_at: z.ZodISODateTime;
|
|
9762
|
+
role: z.ZodEnum<{
|
|
9763
|
+
owner: "owner";
|
|
9764
|
+
member: "member";
|
|
9765
|
+
}>;
|
|
9766
|
+
session_token: z.ZodString;
|
|
9767
|
+
user: z.ZodObject<{
|
|
9768
|
+
email: z.ZodString;
|
|
9769
|
+
id: z.ZodString;
|
|
9770
|
+
}, z.core.$strip>;
|
|
9771
|
+
workspace: z.ZodObject<{
|
|
9772
|
+
id: z.ZodString;
|
|
9773
|
+
name: z.ZodString;
|
|
9774
|
+
type: z.ZodString;
|
|
9775
|
+
}, z.core.$strip>;
|
|
9776
|
+
}, z.core.$strip>;
|
|
8638
9777
|
/**
|
|
8639
9778
|
* Session deleted successfully
|
|
8640
9779
|
*/
|
|
@@ -8927,6 +10066,10 @@ export declare const zGetBillingCapabilitiesResponse: z.ZodObject<{
|
|
|
8927
10066
|
team: "team";
|
|
8928
10067
|
personal: "personal";
|
|
8929
10068
|
}>>;
|
|
10069
|
+
billing_web_checkout_ui: z.ZodEnum<{
|
|
10070
|
+
embedded: "embedded";
|
|
10071
|
+
full_page: "full_page";
|
|
10072
|
+
}>;
|
|
8930
10073
|
capabilities: z.ZodObject<{
|
|
8931
10074
|
can_cancel: z.ZodBoolean;
|
|
8932
10075
|
can_change_seats: z.ZodBoolean;
|
|
@@ -9166,6 +10309,13 @@ export declare const zGetBillingCapabilitiesResponse: z.ZodObject<{
|
|
|
9166
10309
|
self_serve: "self_serve";
|
|
9167
10310
|
sales_managed: "sales_managed";
|
|
9168
10311
|
}>>;
|
|
10312
|
+
primary_billing_action: z.ZodOptional<z.ZodEnum<{
|
|
10313
|
+
none: "none";
|
|
10314
|
+
update_payment: "update_payment";
|
|
10315
|
+
subscribe: "subscribe";
|
|
10316
|
+
resubscribe: "resubscribe";
|
|
10317
|
+
add_credits: "add_credits";
|
|
10318
|
+
}>>;
|
|
9169
10319
|
recovery_route: z.ZodOptional<z.ZodEnum<{
|
|
9170
10320
|
none: "none";
|
|
9171
10321
|
resubscribe: "resubscribe";
|
|
@@ -9250,11 +10400,11 @@ export declare const zUpdateBillingCompanyDetailsResponse: z.ZodObject<{
|
|
|
9250
10400
|
export declare const zGetBillingEventsQuery: z.ZodObject<{
|
|
9251
10401
|
page: z.ZodDefault<z.ZodOptional<z.ZodInt>>;
|
|
9252
10402
|
limit: z.ZodDefault<z.ZodOptional<z.ZodInt>>;
|
|
9253
|
-
scope: z.
|
|
10403
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
9254
10404
|
user: "user";
|
|
9255
10405
|
self: "self";
|
|
9256
10406
|
workspace: "workspace";
|
|
9257
|
-
}
|
|
10407
|
+
}>>;
|
|
9258
10408
|
user_id: z.ZodOptional<z.ZodString>;
|
|
9259
10409
|
spend_source: z.ZodOptional<z.ZodString>;
|
|
9260
10410
|
filter: z.ZodOptional<z.ZodString>;
|
|
@@ -9304,6 +10454,19 @@ export declare const zGetBillingOpStatusResponse: z.ZodObject<{
|
|
|
9304
10454
|
succeeded: "succeeded";
|
|
9305
10455
|
reconciliation_needed: "reconciliation_needed";
|
|
9306
10456
|
}>>;
|
|
10457
|
+
auto_top_up: z.ZodOptional<z.ZodObject<{
|
|
10458
|
+
monthly_budget_cents: z.ZodCoercedBigInt<unknown>;
|
|
10459
|
+
monthly_budget_is_default: z.ZodBoolean;
|
|
10460
|
+
target_credits: z.ZodCoercedBigInt<unknown>;
|
|
10461
|
+
threshold_credits: z.ZodCoercedBigInt<unknown>;
|
|
10462
|
+
}, z.core.$strip>>;
|
|
10463
|
+
auto_top_up_activation: z.ZodOptional<z.ZodEnum<{
|
|
10464
|
+
failed: "failed";
|
|
10465
|
+
on: "on";
|
|
10466
|
+
pending: "pending";
|
|
10467
|
+
not_attempted: "not_attempted";
|
|
10468
|
+
}>>;
|
|
10469
|
+
auto_top_up_activation_reason: z.ZodOptional<z.ZodString>;
|
|
9307
10470
|
cancelable: z.ZodOptional<z.ZodBoolean>;
|
|
9308
10471
|
charge_breakdown: z.ZodOptional<z.ZodObject<{
|
|
9309
10472
|
amount_charged_cents: z.ZodCoercedBigInt<unknown>;
|
|
@@ -9399,9 +10562,9 @@ export declare const zGetBillingOpStatusResponse: z.ZodObject<{
|
|
|
9399
10562
|
started_at: z.ZodISODateTime;
|
|
9400
10563
|
status: z.ZodEnum<{
|
|
9401
10564
|
failed: "failed";
|
|
10565
|
+
pending: "pending";
|
|
9402
10566
|
succeeded: "succeeded";
|
|
9403
10567
|
reconciliation_needed: "reconciliation_needed";
|
|
9404
|
-
pending: "pending";
|
|
9405
10568
|
}>;
|
|
9406
10569
|
topup_purchase_amount: z.ZodOptional<z.ZodObject<{
|
|
9407
10570
|
amount_cents: z.ZodCoercedBigInt<unknown>;
|
|
@@ -9498,6 +10661,7 @@ export declare const zGetBillingPlansResponse: z.ZodObject<{
|
|
|
9498
10661
|
denied_reason_params: z.ZodOptional<z.ZodObject<{
|
|
9499
10662
|
effective_at: z.ZodOptional<z.ZodISODateTime>;
|
|
9500
10663
|
}, z.core.$strip>>;
|
|
10664
|
+
discount_percent: z.ZodOptional<z.ZodNumber>;
|
|
9501
10665
|
duration: z.ZodEnum<{
|
|
9502
10666
|
MONTHLY: "MONTHLY";
|
|
9503
10667
|
ANNUAL: "ANNUAL";
|
|
@@ -9525,6 +10689,7 @@ export declare const zGetBillingPlansResponse: z.ZodObject<{
|
|
|
9525
10689
|
text: z.ZodString;
|
|
9526
10690
|
}, z.core.$strip>>>;
|
|
9527
10691
|
features: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
10692
|
+
list_price_cents: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
|
|
9528
10693
|
max_seats: z.ZodCoercedBigInt<unknown>;
|
|
9529
10694
|
popular: z.ZodOptional<z.ZodBoolean>;
|
|
9530
10695
|
price_cents: z.ZodCoercedBigInt<unknown>;
|
|
@@ -9629,6 +10794,7 @@ export declare const zPreviewSubscribeResponse2: z.ZodObject<{
|
|
|
9629
10794
|
allowed: z.ZodBoolean;
|
|
9630
10795
|
amount_due_cents: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
|
|
9631
10796
|
balance_applied_cents: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
|
|
10797
|
+
cancel_at: z.ZodOptional<z.ZodISODateTime>;
|
|
9632
10798
|
cost_next_period_cents: z.ZodCoercedBigInt<unknown>;
|
|
9633
10799
|
cost_today_cents: z.ZodCoercedBigInt<unknown>;
|
|
9634
10800
|
credits_next_period: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
|
|
@@ -9745,8 +10911,8 @@ export declare const zAcceptRetentionOfferBody: z.ZodObject<{
|
|
|
9745
10911
|
export declare const zAcceptRetentionOfferResponse: z.ZodObject<{
|
|
9746
10912
|
billing_op_id: z.ZodString;
|
|
9747
10913
|
status: z.ZodEnum<{
|
|
9748
|
-
succeeded: "succeeded";
|
|
9749
10914
|
pending: "pending";
|
|
10915
|
+
succeeded: "succeeded";
|
|
9750
10916
|
}>;
|
|
9751
10917
|
}, z.core.$strip>;
|
|
9752
10918
|
export declare const zRecordRetentionFlowEventBody: z.ZodObject<{
|
|
@@ -9858,6 +11024,12 @@ export declare const zGetBillingStatusResponse: z.ZodObject<{
|
|
|
9858
11024
|
MONTHLY: "MONTHLY";
|
|
9859
11025
|
ANNUAL: "ANNUAL";
|
|
9860
11026
|
}>>;
|
|
11027
|
+
subscription_payment_recovery: z.ZodOptional<z.ZodObject<{
|
|
11028
|
+
billing_op_id: z.ZodString;
|
|
11029
|
+
reason: z.ZodEnum<{
|
|
11030
|
+
payment_required: "payment_required";
|
|
11031
|
+
}>;
|
|
11032
|
+
}, z.core.$strip>>;
|
|
9861
11033
|
subscription_state: z.ZodOptional<z.ZodEnum<{
|
|
9862
11034
|
paused: "paused";
|
|
9863
11035
|
active: "active";
|
|
@@ -9978,6 +11150,11 @@ export declare const zCreateTopupResponse2: z.ZodObject<{
|
|
|
9978
11150
|
}, z.core.$strip>;
|
|
9979
11151
|
export declare const zCreateTopupCheckoutBody: z.ZodObject<{
|
|
9980
11152
|
amount_cents: z.ZodCoercedBigInt<unknown>;
|
|
11153
|
+
auto_top_up: z.ZodOptional<z.ZodObject<{
|
|
11154
|
+
monthly_budget_cents: z.ZodOptional<z.ZodNullable<z.ZodCoercedBigInt<unknown>>>;
|
|
11155
|
+
target_credits: z.ZodCoercedBigInt<unknown>;
|
|
11156
|
+
threshold_credits: z.ZodCoercedBigInt<unknown>;
|
|
11157
|
+
}, z.core.$strip>>;
|
|
9981
11158
|
idempotency_key: z.ZodOptional<z.ZodString>;
|
|
9982
11159
|
return_url: z.ZodURL;
|
|
9983
11160
|
}, z.core.$strip>;
|
|
@@ -10010,6 +11187,19 @@ export declare const zGetTopupCheckoutPath: z.ZodObject<{
|
|
|
10010
11187
|
*/
|
|
10011
11188
|
export declare const zGetTopupCheckoutResponse: z.ZodObject<{
|
|
10012
11189
|
amount_cents: z.ZodCoercedBigInt<unknown>;
|
|
11190
|
+
auto_top_up: z.ZodOptional<z.ZodObject<{
|
|
11191
|
+
monthly_budget_cents: z.ZodCoercedBigInt<unknown>;
|
|
11192
|
+
monthly_budget_is_default: z.ZodBoolean;
|
|
11193
|
+
target_credits: z.ZodCoercedBigInt<unknown>;
|
|
11194
|
+
threshold_credits: z.ZodCoercedBigInt<unknown>;
|
|
11195
|
+
}, z.core.$strip>>;
|
|
11196
|
+
auto_top_up_activation: z.ZodOptional<z.ZodEnum<{
|
|
11197
|
+
failed: "failed";
|
|
11198
|
+
on: "on";
|
|
11199
|
+
pending: "pending";
|
|
11200
|
+
not_attempted: "not_attempted";
|
|
11201
|
+
}>>;
|
|
11202
|
+
auto_top_up_activation_reason: z.ZodOptional<z.ZodString>;
|
|
10013
11203
|
payment_amount_cents: z.ZodNullable<z.ZodCoercedBigInt<unknown>>;
|
|
10014
11204
|
session_id: z.ZodString;
|
|
10015
11205
|
state: z.ZodEnum<{
|
|
@@ -10023,6 +11213,11 @@ export declare const zGetTopupCheckoutResponse: z.ZodObject<{
|
|
|
10023
11213
|
}, z.core.$strip>;
|
|
10024
11214
|
export declare const zCreateInteractiveTopupBody: z.ZodObject<{
|
|
10025
11215
|
amount_cents: z.ZodCoercedBigInt<unknown>;
|
|
11216
|
+
auto_top_up: z.ZodOptional<z.ZodObject<{
|
|
11217
|
+
monthly_budget_cents: z.ZodOptional<z.ZodNullable<z.ZodCoercedBigInt<unknown>>>;
|
|
11218
|
+
target_credits: z.ZodCoercedBigInt<unknown>;
|
|
11219
|
+
threshold_credits: z.ZodCoercedBigInt<unknown>;
|
|
11220
|
+
}, z.core.$strip>>;
|
|
10026
11221
|
checkout_attempt_id: z.ZodOptional<z.ZodString>;
|
|
10027
11222
|
confirmation_token: z.ZodOptional<z.ZodString>;
|
|
10028
11223
|
idempotency_key: z.ZodString;
|
|
@@ -10893,8 +12088,8 @@ export declare const zGetJobStatusResponse: z.ZodObject<{
|
|
|
10893
12088
|
cancelled: "cancelled";
|
|
10894
12089
|
error: "error";
|
|
10895
12090
|
completed: "completed";
|
|
10896
|
-
in_progress: "in_progress";
|
|
10897
12091
|
pending: "pending";
|
|
12092
|
+
in_progress: "in_progress";
|
|
10898
12093
|
waiting_to_dispatch: "waiting_to_dispatch";
|
|
10899
12094
|
}>;
|
|
10900
12095
|
updated_at: z.ZodISODateTime;
|
|
@@ -10956,8 +12151,8 @@ export declare const zListJobsResponse: z.ZodObject<{
|
|
|
10956
12151
|
cancelled: "cancelled";
|
|
10957
12152
|
completed: "completed";
|
|
10958
12153
|
failed: "failed";
|
|
10959
|
-
in_progress: "in_progress";
|
|
10960
12154
|
pending: "pending";
|
|
12155
|
+
in_progress: "in_progress";
|
|
10961
12156
|
}>;
|
|
10962
12157
|
workflow_id: z.ZodOptional<z.ZodString>;
|
|
10963
12158
|
}, z.core.$strip>>;
|
|
@@ -11033,8 +12228,8 @@ export declare const zGetJobDetailResponse: z.ZodObject<{
|
|
|
11033
12228
|
cancelled: "cancelled";
|
|
11034
12229
|
completed: "completed";
|
|
11035
12230
|
failed: "failed";
|
|
11036
|
-
in_progress: "in_progress";
|
|
11037
12231
|
pending: "pending";
|
|
12232
|
+
in_progress: "in_progress";
|
|
11038
12233
|
}>;
|
|
11039
12234
|
update_time: z.ZodCoercedBigInt<unknown>;
|
|
11040
12235
|
user_id: z.ZodOptional<z.ZodString>;
|
|
@@ -11639,6 +12834,85 @@ export declare const zGetUsersInfoResponse: z.ZodObject<{
|
|
|
11639
12834
|
migrated: z.ZodBoolean;
|
|
11640
12835
|
storage: z.ZodString;
|
|
11641
12836
|
}, z.core.$strip>;
|
|
12837
|
+
export declare const zGetCccActivityQuery: z.ZodObject<{
|
|
12838
|
+
kind: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
12839
|
+
save: "save";
|
|
12840
|
+
publish: "publish";
|
|
12841
|
+
discard: "discard";
|
|
12842
|
+
revert: "revert";
|
|
12843
|
+
}>>>;
|
|
12844
|
+
actor_uid: z.ZodOptional<z.ZodString>;
|
|
12845
|
+
type: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
12846
|
+
model: "model";
|
|
12847
|
+
workflow: "workflow";
|
|
12848
|
+
app: "app";
|
|
12849
|
+
}>>>;
|
|
12850
|
+
since: z.ZodOptional<z.ZodISODateTime>;
|
|
12851
|
+
until: z.ZodOptional<z.ZodISODateTime>;
|
|
12852
|
+
limit: z.ZodDefault<z.ZodOptional<z.ZodInt>>;
|
|
12853
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
12854
|
+
}, z.core.$strip>;
|
|
12855
|
+
/**
|
|
12856
|
+
* One page of activity, has_more, optional next_cursor and the newest publication
|
|
12857
|
+
*/
|
|
12858
|
+
export declare const zGetCccActivityResponse: z.ZodObject<{
|
|
12859
|
+
has_more: z.ZodBoolean;
|
|
12860
|
+
items: z.ZodArray<z.ZodObject<{
|
|
12861
|
+
actor_uid: z.ZodString;
|
|
12862
|
+
at: z.ZodISODateTime;
|
|
12863
|
+
catalog_status: z.ZodOptional<z.ZodEnum<{
|
|
12864
|
+
archived: "archived";
|
|
12865
|
+
draft: "draft";
|
|
12866
|
+
published: "published";
|
|
12867
|
+
reverted: "reverted";
|
|
12868
|
+
}>>;
|
|
12869
|
+
changed_fields: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
12870
|
+
file_count: z.ZodOptional<z.ZodInt>;
|
|
12871
|
+
is_deleted: z.ZodOptional<z.ZodBoolean>;
|
|
12872
|
+
is_new: z.ZodOptional<z.ZodBoolean>;
|
|
12873
|
+
kind: z.ZodEnum<{
|
|
12874
|
+
save: "save";
|
|
12875
|
+
publish: "publish";
|
|
12876
|
+
discard: "discard";
|
|
12877
|
+
revert: "revert";
|
|
12878
|
+
}>;
|
|
12879
|
+
page: z.ZodOptional<z.ZodObject<{
|
|
12880
|
+
slug: z.ZodString;
|
|
12881
|
+
title: z.ZodString;
|
|
12882
|
+
type: z.ZodEnum<{
|
|
12883
|
+
model: "model";
|
|
12884
|
+
workflow: "workflow";
|
|
12885
|
+
app: "app";
|
|
12886
|
+
}>;
|
|
12887
|
+
uid: z.ZodUUID;
|
|
12888
|
+
}, z.core.$strip>>;
|
|
12889
|
+
page_count: z.ZodOptional<z.ZodInt>;
|
|
12890
|
+
pages: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
12891
|
+
slug: z.ZodString;
|
|
12892
|
+
title: z.ZodString;
|
|
12893
|
+
type: z.ZodEnum<{
|
|
12894
|
+
model: "model";
|
|
12895
|
+
workflow: "workflow";
|
|
12896
|
+
app: "app";
|
|
12897
|
+
}>;
|
|
12898
|
+
uid: z.ZodUUID;
|
|
12899
|
+
}, z.core.$strip>>>;
|
|
12900
|
+
previous_revision_uid: z.ZodOptional<z.ZodUUID>;
|
|
12901
|
+
restored_from: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
|
|
12902
|
+
restored_revision: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
|
|
12903
|
+
reverted: z.ZodOptional<z.ZodBoolean>;
|
|
12904
|
+
reverted_revision: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
|
|
12905
|
+
revision: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
|
|
12906
|
+
revision_uid: z.ZodOptional<z.ZodUUID>;
|
|
12907
|
+
}, z.core.$strip>>;
|
|
12908
|
+
last_publish: z.ZodNullable<z.ZodObject<{
|
|
12909
|
+
actor_uid: z.ZodString;
|
|
12910
|
+
at: z.ZodISODateTime;
|
|
12911
|
+
reverted: z.ZodBoolean;
|
|
12912
|
+
revision: z.ZodCoercedBigInt<unknown>;
|
|
12913
|
+
}, z.core.$strip>>;
|
|
12914
|
+
next_cursor: z.ZodOptional<z.ZodString>;
|
|
12915
|
+
}, z.core.$strip>;
|
|
11642
12916
|
/**
|
|
11643
12917
|
* Editing instructions from this deployed catalog API build
|
|
11644
12918
|
*/
|
|
@@ -11648,8 +12922,11 @@ export declare const zGetCatalogAgentInstructionsResponse: z.ZodString;
|
|
|
11648
12922
|
*/
|
|
11649
12923
|
export declare const zGetCccAuthoringContextResponse: z.ZodObject<{
|
|
11650
12924
|
actor_uid: z.ZodString;
|
|
12925
|
+
can_access_catalog: z.ZodBoolean;
|
|
11651
12926
|
can_apply: z.ZodBoolean;
|
|
11652
12927
|
can_edit: z.ZodBoolean;
|
|
12928
|
+
can_manage_users: z.ZodBoolean;
|
|
12929
|
+
can_transfer: z.ZodBoolean;
|
|
11653
12930
|
owner_uid: z.ZodString;
|
|
11654
12931
|
state: z.ZodObject<{
|
|
11655
12932
|
draft_generation: z.ZodCoercedBigInt<unknown>;
|
|
@@ -11673,6 +12950,7 @@ export declare const zListCccWebsiteCardsQuery: z.ZodObject<{
|
|
|
11673
12950
|
locale: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
11674
12951
|
en: "en";
|
|
11675
12952
|
"zh-CN": "zh-CN";
|
|
12953
|
+
ja: "ja";
|
|
11676
12954
|
}>>>;
|
|
11677
12955
|
q: z.ZodOptional<z.ZodString>;
|
|
11678
12956
|
sort: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
@@ -11728,6 +13006,7 @@ export declare const zListCccWebsiteCardsResponse: z.ZodObject<{
|
|
|
11728
13006
|
APP: "APP";
|
|
11729
13007
|
TEMPLATE_SET: "TEMPLATE_SET";
|
|
11730
13008
|
}>;
|
|
13009
|
+
last_modified: z.ZodOptional<z.ZodISODateTime>;
|
|
11731
13010
|
revision: z.ZodCoercedBigInt<unknown>;
|
|
11732
13011
|
slug: z.ZodString;
|
|
11733
13012
|
uid: z.ZodString;
|
|
@@ -12243,14 +13522,15 @@ export declare const zGetCccStagingQuery: z.ZodObject<{
|
|
|
12243
13522
|
uid: z.ZodOptional<z.ZodUUID>;
|
|
12244
13523
|
search: z.ZodOptional<z.ZodString>;
|
|
12245
13524
|
author_uid: z.ZodOptional<z.ZodString>;
|
|
13525
|
+
saved_by: z.ZodOptional<z.ZodString>;
|
|
12246
13526
|
change_id: z.ZodOptional<z.ZodString>;
|
|
12247
13527
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
12248
13528
|
types: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
13529
|
+
model: "model";
|
|
12249
13530
|
workflow: "workflow";
|
|
12250
13531
|
app: "app";
|
|
12251
|
-
model: "model";
|
|
12252
|
-
media: "media";
|
|
12253
13532
|
template_set: "template_set";
|
|
13533
|
+
media: "media";
|
|
12254
13534
|
}>>>;
|
|
12255
13535
|
statuses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
12256
13536
|
NEW: "NEW";
|
|
@@ -12263,17 +13543,111 @@ export declare const zGetCccStagingQuery: z.ZodObject<{
|
|
|
12263
13543
|
* Private review with exact Draft generation and optional sparse page metadata
|
|
12264
13544
|
*/
|
|
12265
13545
|
export declare const zGetCccStagingResponse: z.ZodObject<{
|
|
12266
|
-
|
|
12267
|
-
|
|
12268
|
-
|
|
12269
|
-
|
|
12270
|
-
|
|
12271
|
-
|
|
12272
|
-
|
|
12273
|
-
|
|
12274
|
-
|
|
12275
|
-
|
|
12276
|
-
|
|
13546
|
+
items: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
13547
|
+
before: z.ZodOptional<z.ZodObject<{
|
|
13548
|
+
author_uid: z.ZodString;
|
|
13549
|
+
document: z.ZodObject<{
|
|
13550
|
+
change_id: z.ZodOptional<z.ZodString>;
|
|
13551
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
13552
|
+
name: z.ZodOptional<z.ZodString>;
|
|
13553
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
13554
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
13555
|
+
title: z.ZodOptional<z.ZodString>;
|
|
13556
|
+
visibility: z.ZodOptional<z.ZodString>;
|
|
13557
|
+
visible_from: z.ZodOptional<z.ZodString>;
|
|
13558
|
+
}, z.core.$strip>;
|
|
13559
|
+
is_deleted: z.ZodBoolean;
|
|
13560
|
+
revision_uid: z.ZodUUID;
|
|
13561
|
+
saved_by_uid: z.ZodOptional<z.ZodString>;
|
|
13562
|
+
type: z.ZodEnum<{
|
|
13563
|
+
model: "model";
|
|
13564
|
+
workflow: "workflow";
|
|
13565
|
+
app: "app";
|
|
13566
|
+
template_set: "template_set";
|
|
13567
|
+
media: "media";
|
|
13568
|
+
}>;
|
|
13569
|
+
uid: z.ZodUUID;
|
|
13570
|
+
}, z.core.$strip>>;
|
|
13571
|
+
content: z.ZodObject<{
|
|
13572
|
+
author_uid: z.ZodString;
|
|
13573
|
+
document: z.ZodObject<{
|
|
13574
|
+
change_id: z.ZodOptional<z.ZodString>;
|
|
13575
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
13576
|
+
name: z.ZodOptional<z.ZodString>;
|
|
13577
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
13578
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
13579
|
+
title: z.ZodOptional<z.ZodString>;
|
|
13580
|
+
visibility: z.ZodOptional<z.ZodString>;
|
|
13581
|
+
visible_from: z.ZodOptional<z.ZodString>;
|
|
13582
|
+
}, z.core.$strip>;
|
|
13583
|
+
is_deleted: z.ZodBoolean;
|
|
13584
|
+
revision_uid: z.ZodUUID;
|
|
13585
|
+
saved_by_uid: z.ZodOptional<z.ZodString>;
|
|
13586
|
+
type: z.ZodEnum<{
|
|
13587
|
+
model: "model";
|
|
13588
|
+
workflow: "workflow";
|
|
13589
|
+
app: "app";
|
|
13590
|
+
template_set: "template_set";
|
|
13591
|
+
media: "media";
|
|
13592
|
+
}>;
|
|
13593
|
+
uid: z.ZodUUID;
|
|
13594
|
+
}, z.core.$strip>;
|
|
13595
|
+
decision: z.ZodEnum<{
|
|
13596
|
+
NEW: "NEW";
|
|
13597
|
+
APPROVED: "APPROVED";
|
|
13598
|
+
DEFERRED: "DEFERRED";
|
|
13599
|
+
DELETED: "DELETED";
|
|
13600
|
+
}>;
|
|
13601
|
+
presentation: z.ZodOptional<z.ZodObject<{
|
|
13602
|
+
media_name: z.ZodOptional<z.ZodString>;
|
|
13603
|
+
preview: z.ZodOptional<z.ZodObject<{
|
|
13604
|
+
kind: z.ZodEnum<{
|
|
13605
|
+
image: "image";
|
|
13606
|
+
video: "video";
|
|
13607
|
+
}>;
|
|
13608
|
+
src: z.ZodString;
|
|
13609
|
+
}, z.core.$strip>>;
|
|
13610
|
+
uses: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
13611
|
+
differs_from_head: z.ZodBoolean;
|
|
13612
|
+
file_version_uid: z.ZodOptional<z.ZodUUID>;
|
|
13613
|
+
is_deleted: z.ZodBoolean;
|
|
13614
|
+
mime_type: z.ZodOptional<z.ZodString>;
|
|
13615
|
+
name: z.ZodOptional<z.ZodString>;
|
|
13616
|
+
origin: z.ZodBoolean;
|
|
13617
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
13618
|
+
title: z.ZodString;
|
|
13619
|
+
type: z.ZodEnum<{
|
|
13620
|
+
model: "model";
|
|
13621
|
+
workflow: "workflow";
|
|
13622
|
+
app: "app";
|
|
13623
|
+
template_set: "template_set";
|
|
13624
|
+
}>;
|
|
13625
|
+
uid: z.ZodUUID;
|
|
13626
|
+
}, z.core.$strip>>>;
|
|
13627
|
+
}, z.core.$strip>>;
|
|
13628
|
+
saved_at: z.ZodOptional<z.ZodISODateTime>;
|
|
13629
|
+
status: z.ZodEnum<{
|
|
13630
|
+
NEW: "NEW";
|
|
13631
|
+
APPROVED: "APPROVED";
|
|
13632
|
+
DEFERRED: "DEFERRED";
|
|
13633
|
+
DELETED: "DELETED";
|
|
13634
|
+
}>;
|
|
13635
|
+
summary: z.ZodString;
|
|
13636
|
+
}, z.core.$strip>>>;
|
|
13637
|
+
representation: z.ZodOptional<z.ZodEnum<{
|
|
13638
|
+
page: "page";
|
|
13639
|
+
selection: "selection";
|
|
13640
|
+
detail: "detail";
|
|
13641
|
+
}>>;
|
|
13642
|
+
selection_digest: z.ZodOptional<z.ZodString>;
|
|
13643
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
13644
|
+
draft_generation: z.ZodCoercedBigInt<unknown>;
|
|
13645
|
+
draft_rev: z.ZodCoercedBigInt<unknown>;
|
|
13646
|
+
live_rev: z.ZodCoercedBigInt<unknown>;
|
|
13647
|
+
next_rev: z.ZodCoercedBigInt<unknown>;
|
|
13648
|
+
previous_live_rev: z.ZodNullable<z.ZodCoercedBigInt<unknown>>;
|
|
13649
|
+
}, z.core.$strip>>;
|
|
13650
|
+
unresolved_count: z.ZodOptional<z.ZodInt>;
|
|
12277
13651
|
}, z.core.$strip>;
|
|
12278
13652
|
export declare const zStageCccChangesBody: z.ZodObject<{
|
|
12279
13653
|
catalog_rev: z.ZodOptional<z.ZodReadonly<z.ZodCoercedBigInt<unknown>>>;
|
|
@@ -12319,9 +13693,9 @@ export declare const zListContentCatalogItemsQuery: z.ZodObject<{
|
|
|
12319
13693
|
APP: "APP";
|
|
12320
13694
|
}>>;
|
|
12321
13695
|
type: z.ZodOptional<z.ZodEnum<{
|
|
13696
|
+
model: "model";
|
|
12322
13697
|
workflow: "workflow";
|
|
12323
13698
|
app: "app";
|
|
12324
|
-
model: "model";
|
|
12325
13699
|
template_set: "template_set";
|
|
12326
13700
|
}>>;
|
|
12327
13701
|
surface: z.ZodOptional<z.ZodEnum<{
|
|
@@ -12334,8 +13708,8 @@ export declare const zListContentCatalogItemsQuery: z.ZodObject<{
|
|
|
12334
13708
|
tag: z.ZodOptional<z.ZodString>;
|
|
12335
13709
|
use_case: z.ZodOptional<z.ZodString>;
|
|
12336
13710
|
sort: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
12337
|
-
sort_order: "sort_order";
|
|
12338
13711
|
title: "title";
|
|
13712
|
+
sort_order: "sort_order";
|
|
12339
13713
|
}>>>;
|
|
12340
13714
|
limit: z.ZodDefault<z.ZodOptional<z.ZodInt>>;
|
|
12341
13715
|
cursor: z.ZodOptional<z.ZodString>;
|
|
@@ -12357,6 +13731,7 @@ export declare const zListContentCatalogItemsResponse: z.ZodIntersection<z.ZodOb
|
|
|
12357
13731
|
APP: "APP";
|
|
12358
13732
|
TEMPLATE_SET: "TEMPLATE_SET";
|
|
12359
13733
|
}>;
|
|
13734
|
+
last_modified: z.ZodOptional<z.ZodISODateTime>;
|
|
12360
13735
|
revision: z.ZodCoercedBigInt<unknown>;
|
|
12361
13736
|
slug: z.ZodString;
|
|
12362
13737
|
uid: z.ZodString;
|
|
@@ -12392,6 +13767,7 @@ export declare const zGetContentCatalogItemResponse: z.ZodObject<{
|
|
|
12392
13767
|
APP: "APP";
|
|
12393
13768
|
TEMPLATE_SET: "TEMPLATE_SET";
|
|
12394
13769
|
}>;
|
|
13770
|
+
last_modified: z.ZodOptional<z.ZodISODateTime>;
|
|
12395
13771
|
revision: z.ZodCoercedBigInt<unknown>;
|
|
12396
13772
|
slug: z.ZodString;
|
|
12397
13773
|
uid: z.ZodString;
|
|
@@ -12412,17 +13788,29 @@ export declare const zGetCccItemHistoryQuery: z.ZodObject<{
|
|
|
12412
13788
|
* Flat immutable items with catalog_status and saved_at, has_more and optional opaque next_cursor; no total
|
|
12413
13789
|
*/
|
|
12414
13790
|
export declare const zGetCccItemHistoryResponse: z.ZodObject<{
|
|
12415
|
-
|
|
12416
|
-
|
|
12417
|
-
|
|
12418
|
-
|
|
12419
|
-
|
|
12420
|
-
|
|
12421
|
-
|
|
12422
|
-
|
|
12423
|
-
|
|
12424
|
-
|
|
12425
|
-
|
|
13791
|
+
has_more: z.ZodBoolean;
|
|
13792
|
+
items: z.ZodArray<z.ZodIntersection<z.ZodObject<{
|
|
13793
|
+
catalog_rev: z.ZodOptional<z.ZodReadonly<z.ZodCoercedBigInt<unknown>>>;
|
|
13794
|
+
creator_uid: z.ZodOptional<z.ZodReadonly<z.ZodString>>;
|
|
13795
|
+
digest: z.ZodOptional<z.ZodReadonly<z.ZodString>>;
|
|
13796
|
+
draft_generation: z.ZodOptional<z.ZodReadonly<z.ZodCoercedBigInt<unknown>>>;
|
|
13797
|
+
edit_sequence: z.ZodOptional<z.ZodReadonly<z.ZodCoercedBigInt<unknown>>>;
|
|
13798
|
+
is_deleted: z.ZodOptional<z.ZodReadonly<z.ZodBoolean>>;
|
|
13799
|
+
owner_uid: z.ZodOptional<z.ZodReadonly<z.ZodString>>;
|
|
13800
|
+
revision_uid: z.ZodOptional<z.ZodReadonly<z.ZodUUID>>;
|
|
13801
|
+
saved_at: z.ZodOptional<z.ZodReadonly<z.ZodISODateTime>>;
|
|
13802
|
+
saved_by_uid: z.ZodOptional<z.ZodReadonly<z.ZodString>>;
|
|
13803
|
+
uid: z.ZodOptional<z.ZodReadonly<z.ZodUUID>>;
|
|
13804
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
13805
|
+
catalog_status: z.ZodEnum<{
|
|
13806
|
+
archived: "archived";
|
|
13807
|
+
draft: "draft";
|
|
13808
|
+
published: "published";
|
|
13809
|
+
reverted: "reverted";
|
|
13810
|
+
}>;
|
|
13811
|
+
saved_at: z.ZodISODateTime;
|
|
13812
|
+
}, z.core.$strip>>>;
|
|
13813
|
+
next_cursor: z.ZodOptional<z.ZodString>;
|
|
12426
13814
|
}, z.core.$strip>;
|
|
12427
13815
|
export declare const zGetCccLegacyTargetPath: z.ZodObject<{
|
|
12428
13816
|
source: z.ZodString;
|
|
@@ -12435,9 +13823,9 @@ export declare const zGetCccLegacyTargetResponse: z.ZodObject<{
|
|
|
12435
13823
|
path: z.ZodString;
|
|
12436
13824
|
slug: z.ZodString;
|
|
12437
13825
|
type: z.ZodEnum<{
|
|
13826
|
+
model: "model";
|
|
12438
13827
|
workflow: "workflow";
|
|
12439
13828
|
app: "app";
|
|
12440
|
-
model: "model";
|
|
12441
13829
|
}>;
|
|
12442
13830
|
}, z.core.$strip>;
|
|
12443
13831
|
export declare const zGetCccPublicMediaBytesPath: z.ZodObject<{
|
|
@@ -12459,6 +13847,7 @@ export declare const zListCccWebsiteModelDirectoryQuery: z.ZodObject<{
|
|
|
12459
13847
|
locale: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
12460
13848
|
en: "en";
|
|
12461
13849
|
"zh-CN": "zh-CN";
|
|
13850
|
+
ja: "ja";
|
|
12462
13851
|
}>>>;
|
|
12463
13852
|
}, z.core.$strip>;
|
|
12464
13853
|
/**
|
|
@@ -12490,6 +13879,156 @@ export declare const zGetCatalogOpenApiResponse: z.ZodObject<{
|
|
|
12490
13879
|
saved_by_uid: z.ZodOptional<z.ZodReadonly<z.ZodString>>;
|
|
12491
13880
|
uid: z.ZodOptional<z.ZodReadonly<z.ZodUUID>>;
|
|
12492
13881
|
}, z.core.$strip>;
|
|
13882
|
+
export declare const zListCccAdminItemsQuery: z.ZodObject<{
|
|
13883
|
+
types: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
13884
|
+
model: "model";
|
|
13885
|
+
workflow: "workflow";
|
|
13886
|
+
app: "app";
|
|
13887
|
+
}>>>;
|
|
13888
|
+
q: z.ZodOptional<z.ZodString>;
|
|
13889
|
+
status: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
13890
|
+
removed: "removed";
|
|
13891
|
+
not_live: "not_live";
|
|
13892
|
+
unpublished: "unpublished";
|
|
13893
|
+
hidden: "hidden";
|
|
13894
|
+
scheduled: "scheduled";
|
|
13895
|
+
live: "live";
|
|
13896
|
+
}>>>;
|
|
13897
|
+
saved_by: z.ZodOptional<z.ZodString>;
|
|
13898
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
13899
|
+
uid: z.ZodOptional<z.ZodArray<z.ZodUUID>>;
|
|
13900
|
+
missing: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
13901
|
+
cover: "cover";
|
|
13902
|
+
}>>>;
|
|
13903
|
+
sort: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
13904
|
+
saved_desc: "saved_desc";
|
|
13905
|
+
title_asc: "title_asc";
|
|
13906
|
+
}>>>;
|
|
13907
|
+
limit: z.ZodDefault<z.ZodOptional<z.ZodInt>>;
|
|
13908
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
13909
|
+
}, z.core.$strip>;
|
|
13910
|
+
/**
|
|
13911
|
+
* One page of staff page rows, the per-type counts and the optional opaque next_cursor
|
|
13912
|
+
*/
|
|
13913
|
+
export declare const zListCccAdminItemsResponse: z.ZodObject<{
|
|
13914
|
+
as_of: z.ZodISODateTime;
|
|
13915
|
+
counts: z.ZodObject<{
|
|
13916
|
+
app: z.ZodInt;
|
|
13917
|
+
model: z.ZodInt;
|
|
13918
|
+
workflow: z.ZodInt;
|
|
13919
|
+
}, z.core.$strip>;
|
|
13920
|
+
has_more: z.ZodBoolean;
|
|
13921
|
+
items: z.ZodArray<z.ZodObject<{
|
|
13922
|
+
author_uid: z.ZodString;
|
|
13923
|
+
description: z.ZodString;
|
|
13924
|
+
enabled: z.ZodBoolean;
|
|
13925
|
+
has_draft_edits: z.ZodBoolean;
|
|
13926
|
+
has_live: z.ZodBoolean;
|
|
13927
|
+
held_until_start: z.ZodBoolean;
|
|
13928
|
+
is_deleted: z.ZodBoolean;
|
|
13929
|
+
on_hub: z.ZodBoolean;
|
|
13930
|
+
presentation: z.ZodObject<{
|
|
13931
|
+
preview: z.ZodOptional<z.ZodObject<{
|
|
13932
|
+
kind: z.ZodEnum<{
|
|
13933
|
+
image: "image";
|
|
13934
|
+
video: "video";
|
|
13935
|
+
}>;
|
|
13936
|
+
src: z.ZodString;
|
|
13937
|
+
}, z.core.$strip>>;
|
|
13938
|
+
}, z.core.$strip>;
|
|
13939
|
+
revision_uid: z.ZodUUID;
|
|
13940
|
+
saved_at: z.ZodISODateTime;
|
|
13941
|
+
saved_by_uid: z.ZodString;
|
|
13942
|
+
slug: z.ZodString;
|
|
13943
|
+
status: z.ZodEnum<{
|
|
13944
|
+
removed: "removed";
|
|
13945
|
+
not_live: "not_live";
|
|
13946
|
+
unpublished: "unpublished";
|
|
13947
|
+
hidden: "hidden";
|
|
13948
|
+
scheduled: "scheduled";
|
|
13949
|
+
live: "live";
|
|
13950
|
+
}>;
|
|
13951
|
+
title: z.ZodString;
|
|
13952
|
+
type: z.ZodEnum<{
|
|
13953
|
+
model: "model";
|
|
13954
|
+
workflow: "workflow";
|
|
13955
|
+
app: "app";
|
|
13956
|
+
}>;
|
|
13957
|
+
uid: z.ZodUUID;
|
|
13958
|
+
visibility: z.ZodString;
|
|
13959
|
+
visible_from: z.ZodString;
|
|
13960
|
+
}, z.core.$strip>>;
|
|
13961
|
+
next_cursor: z.ZodOptional<z.ZodString>;
|
|
13962
|
+
state: z.ZodObject<{
|
|
13963
|
+
draft_generation: z.ZodCoercedBigInt<unknown>;
|
|
13964
|
+
draft_rev: z.ZodCoercedBigInt<unknown>;
|
|
13965
|
+
live_rev: z.ZodCoercedBigInt<unknown>;
|
|
13966
|
+
next_rev: z.ZodCoercedBigInt<unknown>;
|
|
13967
|
+
previous_live_rev: z.ZodNullable<z.ZodCoercedBigInt<unknown>>;
|
|
13968
|
+
}, z.core.$strip>;
|
|
13969
|
+
}, z.core.$strip>;
|
|
13970
|
+
/**
|
|
13971
|
+
* Current website permission records
|
|
13972
|
+
*/
|
|
13973
|
+
export declare const zListCccStaffPermissionsResponse: z.ZodObject<{
|
|
13974
|
+
items: z.ZodArray<z.ZodObject<{
|
|
13975
|
+
account_id: z.ZodString;
|
|
13976
|
+
avatar_url: z.ZodOptional<z.ZodString>;
|
|
13977
|
+
can_edit: z.ZodBoolean;
|
|
13978
|
+
can_manage_users: z.ZodBoolean;
|
|
13979
|
+
can_publish: z.ZodBoolean;
|
|
13980
|
+
can_transfer: z.ZodBoolean;
|
|
13981
|
+
display_name: z.ZodOptional<z.ZodString>;
|
|
13982
|
+
updated_at: z.ZodISODateTime;
|
|
13983
|
+
updated_by: z.ZodString;
|
|
13984
|
+
version: z.ZodCoercedBigInt<unknown>;
|
|
13985
|
+
}, z.core.$strip>>;
|
|
13986
|
+
}, z.core.$strip>;
|
|
13987
|
+
export declare const zDeleteCccStaffPermissionsPath: z.ZodObject<{
|
|
13988
|
+
account_id: z.ZodString;
|
|
13989
|
+
}, z.core.$strip>;
|
|
13990
|
+
export declare const zDeleteCccStaffPermissionsQuery: z.ZodObject<{
|
|
13991
|
+
expected_version: z.ZodCoercedBigInt<unknown>;
|
|
13992
|
+
}, z.core.$strip>;
|
|
13993
|
+
/**
|
|
13994
|
+
* Website access removed
|
|
13995
|
+
*/
|
|
13996
|
+
export declare const zDeleteCccStaffPermissionsResponse: z.ZodVoid;
|
|
13997
|
+
export declare const zPutCccStaffPermissionsBody: z.ZodObject<{
|
|
13998
|
+
can_edit: z.ZodBoolean;
|
|
13999
|
+
can_manage_users: z.ZodBoolean;
|
|
14000
|
+
can_publish: z.ZodBoolean;
|
|
14001
|
+
can_transfer: z.ZodBoolean;
|
|
14002
|
+
expected_version: z.ZodCoercedBigInt<unknown>;
|
|
14003
|
+
}, z.core.$strip>;
|
|
14004
|
+
export declare const zPutCccStaffPermissionsPath: z.ZodObject<{
|
|
14005
|
+
account_id: z.ZodString;
|
|
14006
|
+
}, z.core.$strip>;
|
|
14007
|
+
/**
|
|
14008
|
+
* Saved website permissions and the new version token
|
|
14009
|
+
*/
|
|
14010
|
+
export declare const zPutCccStaffPermissionsResponse: z.ZodObject<{
|
|
14011
|
+
account_id: z.ZodString;
|
|
14012
|
+
avatar_url: z.ZodOptional<z.ZodString>;
|
|
14013
|
+
can_edit: z.ZodBoolean;
|
|
14014
|
+
can_manage_users: z.ZodBoolean;
|
|
14015
|
+
can_publish: z.ZodBoolean;
|
|
14016
|
+
can_transfer: z.ZodBoolean;
|
|
14017
|
+
display_name: z.ZodOptional<z.ZodString>;
|
|
14018
|
+
updated_at: z.ZodISODateTime;
|
|
14019
|
+
updated_by: z.ZodString;
|
|
14020
|
+
version: z.ZodCoercedBigInt<unknown>;
|
|
14021
|
+
}, z.core.$strip>;
|
|
14022
|
+
export declare const zResolveCccStaffAccountBody: z.ZodObject<{
|
|
14023
|
+
email: z.ZodEmail;
|
|
14024
|
+
}, z.core.$strip>;
|
|
14025
|
+
/**
|
|
14026
|
+
* Verified active account, without granting access
|
|
14027
|
+
*/
|
|
14028
|
+
export declare const zResolveCccStaffAccountResponse: z.ZodObject<{
|
|
14029
|
+
account_id: z.ZodString;
|
|
14030
|
+
display_name: z.ZodOptional<z.ZodString>;
|
|
14031
|
+
}, z.core.$strip>;
|
|
12493
14032
|
export declare const zGetCccPreviewMediaBytesPath: z.ZodObject<{
|
|
12494
14033
|
rev: z.ZodInt;
|
|
12495
14034
|
uid: z.ZodUUID;
|
|
@@ -12546,6 +14085,7 @@ export declare const zGetCccWebsiteRootPresentationQuery: z.ZodObject<{
|
|
|
12546
14085
|
locale: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
12547
14086
|
en: "en";
|
|
12548
14087
|
"zh-CN": "zh-CN";
|
|
14088
|
+
ja: "ja";
|
|
12549
14089
|
}>>>;
|
|
12550
14090
|
revision_id: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
|
|
12551
14091
|
}, z.core.$strip>;
|
|
@@ -12565,6 +14105,7 @@ export declare const zGetCccWebsiteRootPresentationResponse: z.ZodObject<{
|
|
|
12565
14105
|
APP: "APP";
|
|
12566
14106
|
TEMPLATE_SET: "TEMPLATE_SET";
|
|
12567
14107
|
}>;
|
|
14108
|
+
last_modified: z.ZodOptional<z.ZodISODateTime>;
|
|
12568
14109
|
revision: z.ZodCoercedBigInt<unknown>;
|
|
12569
14110
|
slug: z.ZodString;
|
|
12570
14111
|
uid: z.ZodString;
|
|
@@ -12678,11 +14219,11 @@ export declare const zGetCccWebsiteRootPresentationResponse: z.ZodObject<{
|
|
|
12678
14219
|
}, z.core.$strip>;
|
|
12679
14220
|
export declare const zGetCccTypeSchemaPath: z.ZodObject<{
|
|
12680
14221
|
type: z.ZodEnum<{
|
|
14222
|
+
model: "model";
|
|
12681
14223
|
workflow: "workflow";
|
|
12682
14224
|
app: "app";
|
|
12683
|
-
model: "model";
|
|
12684
|
-
media: "media";
|
|
12685
14225
|
template_set: "template_set";
|
|
14226
|
+
media: "media";
|
|
12686
14227
|
}>;
|
|
12687
14228
|
schema_version: z.ZodInt;
|
|
12688
14229
|
}, z.core.$strip>;
|
|
@@ -12690,17 +14231,50 @@ export declare const zGetCccTypeSchemaPath: z.ZodObject<{
|
|
|
12690
14231
|
* Build-coupled OpenAPI 3.0 schema object, type, version and API environment
|
|
12691
14232
|
*/
|
|
12692
14233
|
export declare const zGetCccTypeSchemaResponse: z.ZodObject<{
|
|
12693
|
-
|
|
12694
|
-
|
|
12695
|
-
|
|
12696
|
-
|
|
12697
|
-
|
|
12698
|
-
|
|
12699
|
-
|
|
12700
|
-
|
|
12701
|
-
|
|
12702
|
-
|
|
12703
|
-
|
|
14234
|
+
contract_version: z.ZodString;
|
|
14235
|
+
environment: z.ZodString;
|
|
14236
|
+
format: z.ZodEnum<{
|
|
14237
|
+
"openapi-3.0-schema": "openapi-3.0-schema";
|
|
14238
|
+
}>;
|
|
14239
|
+
publication: z.ZodOptional<z.ZodObject<{
|
|
14240
|
+
rules: z.ZodArray<z.ZodObject<{
|
|
14241
|
+
fields: z.ZodArray<z.ZodString>;
|
|
14242
|
+
level: z.ZodOptional<z.ZodEnum<{
|
|
14243
|
+
required: "required";
|
|
14244
|
+
recommended: "recommended";
|
|
14245
|
+
}>>;
|
|
14246
|
+
media: z.ZodOptional<z.ZodObject<{
|
|
14247
|
+
max_bytes: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
|
|
14248
|
+
max_height: z.ZodOptional<z.ZodInt>;
|
|
14249
|
+
max_width: z.ZodOptional<z.ZodInt>;
|
|
14250
|
+
mime_type: z.ZodString;
|
|
14251
|
+
min_bytes: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
|
|
14252
|
+
}, z.core.$strip>>;
|
|
14253
|
+
message: z.ZodString;
|
|
14254
|
+
resolves_to: z.ZodOptional<z.ZodString>;
|
|
14255
|
+
types: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
14256
|
+
model: "model";
|
|
14257
|
+
workflow: "workflow";
|
|
14258
|
+
app: "app";
|
|
14259
|
+
template_set: "template_set";
|
|
14260
|
+
}>>>;
|
|
14261
|
+
when: z.ZodOptional<z.ZodObject<{
|
|
14262
|
+
equals: z.ZodUnknown;
|
|
14263
|
+
field: z.ZodString;
|
|
14264
|
+
if_absent: z.ZodOptional<z.ZodLazy<z.ZodType<CccPublicationCondition, unknown, z.core.$ZodTypeInternals<CccPublicationCondition, unknown>>>>;
|
|
14265
|
+
}, z.core.$strip>>;
|
|
14266
|
+
}, z.core.$strip>>;
|
|
14267
|
+
}, z.core.$strip>>;
|
|
14268
|
+
schema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
14269
|
+
schema_version: z.ZodInt;
|
|
14270
|
+
server_fields: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
14271
|
+
type: z.ZodEnum<{
|
|
14272
|
+
model: "model";
|
|
14273
|
+
workflow: "workflow";
|
|
14274
|
+
app: "app";
|
|
14275
|
+
template_set: "template_set";
|
|
14276
|
+
media: "media";
|
|
14277
|
+
}>;
|
|
12704
14278
|
}, z.core.$strip>;
|
|
12705
14279
|
/**
|
|
12706
14280
|
* Private state; never cacheable
|
|
@@ -12718,6 +14292,24 @@ export declare const zGetCccStateResponse: z.ZodObject<{
|
|
|
12718
14292
|
saved_by_uid: z.ZodOptional<z.ZodReadonly<z.ZodString>>;
|
|
12719
14293
|
uid: z.ZodOptional<z.ZodReadonly<z.ZodUUID>>;
|
|
12720
14294
|
}, z.core.$strip>;
|
|
14295
|
+
export declare const zGetCccSiteTagsQuery: z.ZodObject<{
|
|
14296
|
+
view: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
14297
|
+
LIVE: "LIVE";
|
|
14298
|
+
DRAFT: "DRAFT";
|
|
14299
|
+
}>>>;
|
|
14300
|
+
now: z.ZodOptional<z.ZodISODateTime>;
|
|
14301
|
+
}, z.core.$strip>;
|
|
14302
|
+
/**
|
|
14303
|
+
* Complete tag usage with Draft generation
|
|
14304
|
+
*/
|
|
14305
|
+
export declare const zGetCccSiteTagsResponse: z.ZodObject<{
|
|
14306
|
+
generation: z.ZodInt;
|
|
14307
|
+
revision_id: z.ZodInt;
|
|
14308
|
+
tags: z.ZodArray<z.ZodObject<{
|
|
14309
|
+
count: z.ZodInt;
|
|
14310
|
+
tag: z.ZodString;
|
|
14311
|
+
}, z.core.$strip>>;
|
|
14312
|
+
}, z.core.$strip>;
|
|
12721
14313
|
export declare const zGetVhsQueryVideoQuery: z.ZodObject<{
|
|
12722
14314
|
filename: z.ZodString;
|
|
12723
14315
|
workspace_id: z.ZodOptional<z.ZodString>;
|
|
@@ -12971,6 +14563,17 @@ export declare const zForkWorkflowResponse: z.ZodObject<{
|
|
|
12971
14563
|
name: z.ZodOptional<z.ZodString>;
|
|
12972
14564
|
updated_at: z.ZodISODateTime;
|
|
12973
14565
|
}, z.core.$strip>;
|
|
14566
|
+
export declare const zGetWorkflowSidebarFilePath: z.ZodObject<{
|
|
14567
|
+
workflow_id: z.ZodString;
|
|
14568
|
+
}, z.core.$strip>;
|
|
14569
|
+
/**
|
|
14570
|
+
* The workflow and its sidebar file agree.
|
|
14571
|
+
*/
|
|
14572
|
+
export declare const zGetWorkflowSidebarFileResponse: z.ZodObject<{
|
|
14573
|
+
modified: z.ZodCoercedBigInt<unknown>;
|
|
14574
|
+
path: z.ZodString;
|
|
14575
|
+
size: z.ZodInt;
|
|
14576
|
+
}, z.core.$strip>;
|
|
12974
14577
|
export declare const zCreateWorkflowVersionBody: z.ZodObject<{
|
|
12975
14578
|
base_version: z.ZodInt;
|
|
12976
14579
|
workflow_json: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
@@ -13614,6 +15217,12 @@ export declare const zPostOAuthRegisterResponse: z.ZodObject<{
|
|
|
13614
15217
|
none: "none";
|
|
13615
15218
|
}>;
|
|
13616
15219
|
}, z.core.$strip>;
|
|
15220
|
+
export declare const zPostOAuthRevokeBody: z.ZodObject<{
|
|
15221
|
+
client_id: z.ZodString;
|
|
15222
|
+
client_secret: z.ZodOptional<z.ZodString>;
|
|
15223
|
+
token: z.ZodString;
|
|
15224
|
+
token_type_hint: z.ZodOptional<z.ZodString>;
|
|
15225
|
+
}, z.core.$strip>;
|
|
13617
15226
|
export declare const zPostOAuthTokenBody: z.ZodObject<{
|
|
13618
15227
|
client_id: z.ZodString;
|
|
13619
15228
|
client_secret: z.ZodOptional<z.ZodString>;
|