@renai-labs/sdk 0.1.27 → 0.1.28
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/generated/@tanstack/react-query.gen.d.ts +164 -88
- package/dist/generated/@tanstack/react-query.gen.js +87 -55
- package/dist/generated/internal/types.gen.d.ts +249 -125
- package/dist/generated/sdk.gen.d.ts +39 -31
- package/dist/generated/sdk.gen.js +62 -61
- package/dist/generated/types.gen.d.ts +1250 -1084
- package/dist/generated/zod.gen.d.ts +1043 -442
- package/dist/generated/zod.gen.js +220 -122
- package/package.json +1 -1
|
@@ -89,6 +89,37 @@ export const zSpecInitialPrompt = z.object({
|
|
|
89
89
|
.regex(/^[a-z0-9][a-z0-9-]*$/)
|
|
90
90
|
.optional(),
|
|
91
91
|
});
|
|
92
|
+
export const zSpecTaskEntry = z.object({
|
|
93
|
+
slug: z.string().regex(/^[a-z0-9][a-z0-9-]*$/),
|
|
94
|
+
project: z
|
|
95
|
+
.string()
|
|
96
|
+
.regex(/^[a-z0-9][a-z0-9-]*$/)
|
|
97
|
+
.optional(),
|
|
98
|
+
title: z.string().min(1).max(256),
|
|
99
|
+
description: z.string().optional(),
|
|
100
|
+
priority: z.enum(["low", "medium", "high"]).optional(),
|
|
101
|
+
labels: z.array(z.string()).max(16).optional(),
|
|
102
|
+
});
|
|
103
|
+
export const zSpecArtifactEntry = z.object({
|
|
104
|
+
slug: z.string().regex(/^[a-z0-9][a-z0-9-]*$/),
|
|
105
|
+
pod: z
|
|
106
|
+
.string()
|
|
107
|
+
.regex(/^[a-z0-9][a-z0-9-]*$/)
|
|
108
|
+
.optional(),
|
|
109
|
+
title: z.string(),
|
|
110
|
+
description: z.string().optional(),
|
|
111
|
+
seed: z.url(),
|
|
112
|
+
});
|
|
113
|
+
export const zSpecDatabaseEntry = z.object({
|
|
114
|
+
slug: z.string().regex(/^[a-z0-9][a-z0-9-]*$/),
|
|
115
|
+
pod: z
|
|
116
|
+
.string()
|
|
117
|
+
.regex(/^[a-z0-9][a-z0-9-]*$/)
|
|
118
|
+
.optional(),
|
|
119
|
+
name: z.string(),
|
|
120
|
+
description: z.string().optional(),
|
|
121
|
+
seedSql: z.string().optional(),
|
|
122
|
+
});
|
|
92
123
|
/**
|
|
93
124
|
* Model this trigger's fires run on; absent inherits the agent/project default.
|
|
94
125
|
*/
|
|
@@ -222,7 +253,7 @@ export const zSpecMeta = z.object({
|
|
|
222
253
|
description: z.string().optional(),
|
|
223
254
|
});
|
|
224
255
|
export const zSpec = z.object({
|
|
225
|
-
schemaVersion: z.literal(
|
|
256
|
+
schemaVersion: z.literal(5),
|
|
226
257
|
meta: zSpecMeta,
|
|
227
258
|
org: zSpecOrg.optional(),
|
|
228
259
|
pods: z.array(zSpecPodEntry),
|
|
@@ -230,6 +261,9 @@ export const zSpec = z.object({
|
|
|
230
261
|
skills: z.array(zSpecSkillEntry),
|
|
231
262
|
mcps: z.array(zSpecMcpEntry),
|
|
232
263
|
triggers: z.array(zSpecCronTriggerEntry),
|
|
264
|
+
databases: z.array(zSpecDatabaseEntry),
|
|
265
|
+
artifacts: z.array(zSpecArtifactEntry),
|
|
266
|
+
tasks: z.array(zSpecTaskEntry),
|
|
233
267
|
channels: z.array(zSpecChannelBinding).optional(),
|
|
234
268
|
initialPrompt: zSpecInitialPrompt.optional(),
|
|
235
269
|
});
|
|
@@ -1023,6 +1057,7 @@ export const zTopology = z.object({
|
|
|
1023
1057
|
pod: z.string().regex(/^[a-z0-9][a-z0-9-]*$/),
|
|
1024
1058
|
agents: z
|
|
1025
1059
|
.array(z.object({
|
|
1060
|
+
projectAgentId: z.string().regex(/^[a-z]+_[A-Za-z0-9]+$/),
|
|
1026
1061
|
slug: z.string().regex(/^[a-z0-9][a-z0-9-]*$/),
|
|
1027
1062
|
mode: z.enum(["subagent", "all"]),
|
|
1028
1063
|
}))
|
|
@@ -1578,6 +1613,7 @@ export const zArtifact = z.object({
|
|
|
1578
1613
|
slug: z.string(),
|
|
1579
1614
|
title: z.string(),
|
|
1580
1615
|
description: z.string(),
|
|
1616
|
+
seedUrl: z.string().nullable(),
|
|
1581
1617
|
shareToken: z.string(),
|
|
1582
1618
|
createdAt: z.iso
|
|
1583
1619
|
.datetime()
|
|
@@ -1599,6 +1635,7 @@ export const zPodDatabase = z.object({
|
|
|
1599
1635
|
slug: z.string(),
|
|
1600
1636
|
name: z.string(),
|
|
1601
1637
|
description: z.string(),
|
|
1638
|
+
seedSql: z.string().nullable(),
|
|
1602
1639
|
createdAt: z.iso
|
|
1603
1640
|
.datetime()
|
|
1604
1641
|
.regex(/^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$/),
|
|
@@ -1918,6 +1955,10 @@ export const zOnboardingStart = z.object({
|
|
|
1918
1955
|
jobId: z.string(),
|
|
1919
1956
|
initialPrompt: z.string(),
|
|
1920
1957
|
});
|
|
1958
|
+
export const zOnboardingReward = z.object({
|
|
1959
|
+
granted: z.boolean(),
|
|
1960
|
+
amount: z.number(),
|
|
1961
|
+
});
|
|
1921
1962
|
export const zModelPricing = z.object({
|
|
1922
1963
|
input_usd_per_million_tokens: z.number(),
|
|
1923
1964
|
output_usd_per_million_tokens: z.number(),
|
|
@@ -2164,11 +2205,6 @@ export const zInferenceKey = z.object({
|
|
|
2164
2205
|
export const zInferenceSubscriptionRenameInput = z.object({
|
|
2165
2206
|
label: z.string().min(1).max(64),
|
|
2166
2207
|
});
|
|
2167
|
-
export const zInferenceConnectCodexInput = z.object({
|
|
2168
|
-
artifact: z.literal("access_token"),
|
|
2169
|
-
token: z.string().min(1).max(8192),
|
|
2170
|
-
label: z.string().min(1).max(64).optional(),
|
|
2171
|
-
});
|
|
2172
2208
|
export const zInferenceCodexModel = z.object({
|
|
2173
2209
|
slug: z.string(),
|
|
2174
2210
|
defaultEffort: z.string(),
|
|
@@ -2179,6 +2215,46 @@ export const zInferenceCodexModel = z.object({
|
|
|
2179
2215
|
export const zInferenceCodexCatalog = z.object({
|
|
2180
2216
|
models: z.array(zInferenceCodexModel),
|
|
2181
2217
|
});
|
|
2218
|
+
export const zInferenceProvider = z.enum(["anthropic", "openai"]);
|
|
2219
|
+
export const zInferenceUsageBudgetEstimate = z.object({
|
|
2220
|
+
unit: z.literal("normalized_provider_budget"),
|
|
2221
|
+
granularityMinutes: z.int().gt(0).lte(9007199254740991),
|
|
2222
|
+
reliableUntil: z.string(),
|
|
2223
|
+
points: z.array(z.object({
|
|
2224
|
+
capacity: z.number().gte(0),
|
|
2225
|
+
knownCapacity: z.number().gte(0),
|
|
2226
|
+
remaining: z.number().gte(0),
|
|
2227
|
+
remainingRatio: z.number().gte(0).lte(1).nullable(),
|
|
2228
|
+
unknownPlans: z.int().gte(0).lte(9007199254740991),
|
|
2229
|
+
at: z.string(),
|
|
2230
|
+
byProvider: z.record(z.string(), z.object({
|
|
2231
|
+
capacity: z.number().gte(0),
|
|
2232
|
+
knownCapacity: z.number().gte(0),
|
|
2233
|
+
remaining: z.number().gte(0),
|
|
2234
|
+
remainingRatio: z.number().gte(0).lte(1).nullable(),
|
|
2235
|
+
unknownPlans: z.int().gte(0).lte(9007199254740991),
|
|
2236
|
+
byClass: z.object({
|
|
2237
|
+
"5h": z.object({
|
|
2238
|
+
capacity: z.number().gte(0),
|
|
2239
|
+
knownCapacity: z.number().gte(0),
|
|
2240
|
+
remaining: z.number().gte(0),
|
|
2241
|
+
remainingRatio: z.number().gte(0).lte(1).nullable(),
|
|
2242
|
+
unknownPlans: z.int().gte(0).lte(9007199254740991),
|
|
2243
|
+
unlimitedCapacity: z.number().gte(0),
|
|
2244
|
+
}),
|
|
2245
|
+
"7d": z.object({
|
|
2246
|
+
capacity: z.number().gte(0),
|
|
2247
|
+
knownCapacity: z.number().gte(0),
|
|
2248
|
+
remaining: z.number().gte(0),
|
|
2249
|
+
remainingRatio: z.number().gte(0).lte(1).nullable(),
|
|
2250
|
+
unknownPlans: z.int().gte(0).lte(9007199254740991),
|
|
2251
|
+
unlimitedCapacity: z.number().gte(0),
|
|
2252
|
+
}),
|
|
2253
|
+
}),
|
|
2254
|
+
elasticPlans: z.int().gte(0).lte(9007199254740991),
|
|
2255
|
+
})),
|
|
2256
|
+
})),
|
|
2257
|
+
});
|
|
2182
2258
|
export const zInferenceProviderUsage = z.object({
|
|
2183
2259
|
windows: z.array(z.object({
|
|
2184
2260
|
key: z.string(),
|
|
@@ -2215,8 +2291,7 @@ export const zInferenceSeatHealth = z.enum([
|
|
|
2215
2291
|
"refresh_uncertain",
|
|
2216
2292
|
"disabled",
|
|
2217
2293
|
]);
|
|
2218
|
-
export const
|
|
2219
|
-
export const zInferenceSubscriptionSeat = z.object({
|
|
2294
|
+
export const zInferenceSubscription = z.object({
|
|
2220
2295
|
id: z.string(),
|
|
2221
2296
|
provider: zInferenceProvider,
|
|
2222
2297
|
label: z.string(),
|
|
@@ -2240,98 +2315,84 @@ export const zInferenceSubscriptionSeat = z.object({
|
|
|
2240
2315
|
lastSelectedAt: z.string().nullable(),
|
|
2241
2316
|
connectedAt: z.string(),
|
|
2242
2317
|
});
|
|
2243
|
-
export const
|
|
2244
|
-
|
|
2245
|
-
seat: zInferenceSubscriptionSeat.nullable(),
|
|
2246
|
-
reason: z.string().nullable(),
|
|
2318
|
+
export const zInferenceCompleteAuthorizationInput = z.object({
|
|
2319
|
+
code: z.string().min(1).max(4096),
|
|
2247
2320
|
});
|
|
2248
|
-
export const
|
|
2321
|
+
export const zInferenceBeginAuthorizationInput = z.object({
|
|
2322
|
+
serviceId: z.string().min(1),
|
|
2323
|
+
authenticationMethodId: z.string().min(1),
|
|
2249
2324
|
label: z.string().min(1).max(64).optional(),
|
|
2325
|
+
accessToken: z.string().min(1).max(8192).optional(),
|
|
2250
2326
|
});
|
|
2251
|
-
export const
|
|
2252
|
-
|
|
2253
|
-
|
|
2254
|
-
|
|
2255
|
-
|
|
2256
|
-
|
|
2257
|
-
|
|
2258
|
-
|
|
2259
|
-
|
|
2260
|
-
|
|
2327
|
+
export const zInferenceAuthorization = z.object({
|
|
2328
|
+
id: z.string().nullable(),
|
|
2329
|
+
serviceId: z.string(),
|
|
2330
|
+
providerId: zInferenceProvider,
|
|
2331
|
+
authenticationMethodId: z.string(),
|
|
2332
|
+
status: z.enum(["pending", "completed", "failed", "expired"]),
|
|
2333
|
+
step: z
|
|
2334
|
+
.union([
|
|
2335
|
+
z.object({
|
|
2336
|
+
kind: z.literal("open-url-and-paste-code"),
|
|
2337
|
+
authorizeUrl: z.url(),
|
|
2338
|
+
}),
|
|
2339
|
+
z.object({
|
|
2340
|
+
kind: z.literal("enter-user-code"),
|
|
2341
|
+
verificationUrl: z.url(),
|
|
2342
|
+
userCode: z.string(),
|
|
2343
|
+
pollIntervalMs: z.int().gt(0).lte(9007199254740991),
|
|
2344
|
+
}),
|
|
2345
|
+
z.object({
|
|
2346
|
+
kind: z.literal("submit-access-token"),
|
|
2347
|
+
}),
|
|
2348
|
+
])
|
|
2349
|
+
.nullable(),
|
|
2350
|
+
expiresAt: z.string().nullable(),
|
|
2351
|
+
connectionId: z.string().nullable(),
|
|
2352
|
+
failureReason: z.string().nullable(),
|
|
2261
2353
|
});
|
|
2262
|
-
export const
|
|
2263
|
-
|
|
2354
|
+
export const zInferenceSubscriptionAvailabilityStatus = z.enum([
|
|
2355
|
+
"available",
|
|
2356
|
+
"exhausted",
|
|
2357
|
+
"temporarily_unavailable",
|
|
2358
|
+
"blocked",
|
|
2359
|
+
"disabled",
|
|
2360
|
+
]);
|
|
2361
|
+
export const zInferenceConnectionSubscription = z.object({
|
|
2362
|
+
id: z.string(),
|
|
2363
|
+
serviceId: z.string(),
|
|
2364
|
+
providerSubscriptionTier: z.string().nullable(),
|
|
2365
|
+
providerSubscriptionStatus: z.string().nullable(),
|
|
2366
|
+
providerRateLimitTier: z.string().nullable(),
|
|
2367
|
+
availabilityStatus: zInferenceSubscriptionAvailabilityStatus,
|
|
2368
|
+
availabilityReason: z.string().nullable(),
|
|
2369
|
+
unavailableUntil: z.string().nullable(),
|
|
2370
|
+
supportedModels: z.array(z.string()).nullable(),
|
|
2371
|
+
supportedEfforts: z.record(z.string(), z.array(z.string())).nullable(),
|
|
2372
|
+
usage: zInferenceProviderUsage.nullable(),
|
|
2373
|
+
lastSelectedAt: z.string().nullable(),
|
|
2264
2374
|
});
|
|
2265
|
-
export const
|
|
2266
|
-
|
|
2267
|
-
|
|
2268
|
-
|
|
2375
|
+
export const zInferenceConnectionCredentialStatus = z.enum(["valid", "needs_reauth", "refresh_uncertain", "disabled"]);
|
|
2376
|
+
export const zInferenceConnection = z.object({
|
|
2377
|
+
id: z.string(),
|
|
2378
|
+
providerId: zInferenceProvider,
|
|
2379
|
+
authenticationMethodId: z.string(),
|
|
2380
|
+
label: z.string(),
|
|
2381
|
+
credentialStatus: zInferenceConnectionCredentialStatus,
|
|
2382
|
+
credentialStatusReason: z.string().nullable(),
|
|
2383
|
+
credentialExpiresAt: z.string().nullable(),
|
|
2384
|
+
subscriptions: z.array(zInferenceConnectionSubscription),
|
|
2385
|
+
connectedAt: z.string(),
|
|
2269
2386
|
});
|
|
2270
|
-
export const
|
|
2271
|
-
|
|
2272
|
-
|
|
2273
|
-
|
|
2274
|
-
|
|
2275
|
-
|
|
2276
|
-
|
|
2277
|
-
|
|
2278
|
-
|
|
2279
|
-
unknownPlans: z.int().gte(0).lte(9007199254740991),
|
|
2280
|
-
at: z.string(),
|
|
2281
|
-
byProvider: z.object({
|
|
2282
|
-
anthropic: z.object({
|
|
2283
|
-
capacity: z.number().gte(0),
|
|
2284
|
-
knownCapacity: z.number().gte(0),
|
|
2285
|
-
remaining: z.number().gte(0),
|
|
2286
|
-
remainingRatio: z.number().gte(0).lte(1).nullable(),
|
|
2287
|
-
unknownPlans: z.int().gte(0).lte(9007199254740991),
|
|
2288
|
-
byClass: z.object({
|
|
2289
|
-
"5h": z.object({
|
|
2290
|
-
capacity: z.number().gte(0),
|
|
2291
|
-
knownCapacity: z.number().gte(0),
|
|
2292
|
-
remaining: z.number().gte(0),
|
|
2293
|
-
remainingRatio: z.number().gte(0).lte(1).nullable(),
|
|
2294
|
-
unknownPlans: z.int().gte(0).lte(9007199254740991),
|
|
2295
|
-
unlimitedCapacity: z.number().gte(0),
|
|
2296
|
-
}),
|
|
2297
|
-
"7d": z.object({
|
|
2298
|
-
capacity: z.number().gte(0),
|
|
2299
|
-
knownCapacity: z.number().gte(0),
|
|
2300
|
-
remaining: z.number().gte(0),
|
|
2301
|
-
remainingRatio: z.number().gte(0).lte(1).nullable(),
|
|
2302
|
-
unknownPlans: z.int().gte(0).lte(9007199254740991),
|
|
2303
|
-
unlimitedCapacity: z.number().gte(0),
|
|
2304
|
-
}),
|
|
2305
|
-
}),
|
|
2306
|
-
elasticPlans: z.int().gte(0).lte(9007199254740991),
|
|
2307
|
-
}),
|
|
2308
|
-
openai: z.object({
|
|
2309
|
-
capacity: z.number().gte(0),
|
|
2310
|
-
knownCapacity: z.number().gte(0),
|
|
2311
|
-
remaining: z.number().gte(0),
|
|
2312
|
-
remainingRatio: z.number().gte(0).lte(1).nullable(),
|
|
2313
|
-
unknownPlans: z.int().gte(0).lte(9007199254740991),
|
|
2314
|
-
byClass: z.object({
|
|
2315
|
-
"5h": z.object({
|
|
2316
|
-
capacity: z.number().gte(0),
|
|
2317
|
-
knownCapacity: z.number().gte(0),
|
|
2318
|
-
remaining: z.number().gte(0),
|
|
2319
|
-
remainingRatio: z.number().gte(0).lte(1).nullable(),
|
|
2320
|
-
unknownPlans: z.int().gte(0).lte(9007199254740991),
|
|
2321
|
-
unlimitedCapacity: z.number().gte(0),
|
|
2322
|
-
}),
|
|
2323
|
-
"7d": z.object({
|
|
2324
|
-
capacity: z.number().gte(0),
|
|
2325
|
-
knownCapacity: z.number().gte(0),
|
|
2326
|
-
remaining: z.number().gte(0),
|
|
2327
|
-
remainingRatio: z.number().gte(0).lte(1).nullable(),
|
|
2328
|
-
unknownPlans: z.int().gte(0).lte(9007199254740991),
|
|
2329
|
-
unlimitedCapacity: z.number().gte(0),
|
|
2330
|
-
}),
|
|
2331
|
-
}),
|
|
2332
|
-
elasticPlans: z.int().gte(0).lte(9007199254740991),
|
|
2333
|
-
}),
|
|
2334
|
-
}),
|
|
2387
|
+
export const zAvailableInferenceService = z.object({
|
|
2388
|
+
id: z.string(),
|
|
2389
|
+
providerId: zInferenceProvider,
|
|
2390
|
+
authenticationMethods: z.array(z.object({
|
|
2391
|
+
id: z.string(),
|
|
2392
|
+
authorizationFlow: z.enum(["redirect-code", "device-code", "access-token"]),
|
|
2393
|
+
refreshable: z.boolean(),
|
|
2394
|
+
acceptsNewConnections: z.boolean(),
|
|
2395
|
+
label: z.string(),
|
|
2335
2396
|
})),
|
|
2336
2397
|
});
|
|
2337
2398
|
export const zGoogleWorkspaceOAuthStartResult = z.object({
|
|
@@ -2636,11 +2697,27 @@ export const zBlueprintAddReport = z.object({
|
|
|
2636
2697
|
skills: z.array(z.string()),
|
|
2637
2698
|
mcps: z.array(z.string()),
|
|
2638
2699
|
skipped: z.array(z.object({
|
|
2639
|
-
kind: z.enum(["skill", "mcp", "trigger", "environment"]),
|
|
2700
|
+
kind: z.enum(["skill", "mcp", "trigger", "environment", "database", "artifact", "task"]),
|
|
2640
2701
|
sourceId: z.string(),
|
|
2641
2702
|
reason: z.string(),
|
|
2642
2703
|
})),
|
|
2643
2704
|
requirements: z.array(zBlueprintAddRequirement),
|
|
2705
|
+
databases: z.array(z.object({
|
|
2706
|
+
slug: z.string(),
|
|
2707
|
+
id: z.string().regex(/^pdb_[0-9A-HJKMNP-TV-Z]{26}$/),
|
|
2708
|
+
podId: z.string().regex(/^pod_[0-9A-HJKMNP-TV-Z]{26}$/),
|
|
2709
|
+
})),
|
|
2710
|
+
artifacts: z.array(z.object({
|
|
2711
|
+
slug: z.string(),
|
|
2712
|
+
id: z.string().regex(/^art_[0-9A-HJKMNP-TV-Z]{26}$/),
|
|
2713
|
+
podId: z.string().regex(/^pod_[0-9A-HJKMNP-TV-Z]{26}$/),
|
|
2714
|
+
url: z.url(),
|
|
2715
|
+
})),
|
|
2716
|
+
tasks: z.array(z.object({
|
|
2717
|
+
slug: z.string(),
|
|
2718
|
+
id: z.string().regex(/^tsk_[0-9A-HJKMNP-TV-Z]{26}$/),
|
|
2719
|
+
projectId: z.string().regex(/^prj_[0-9A-HJKMNP-TV-Z]{26}$/),
|
|
2720
|
+
})),
|
|
2644
2721
|
podMappings: z.array(zBlueprintAddPodMapping),
|
|
2645
2722
|
projectMappings: z.array(zBlueprintAddProjectMapping),
|
|
2646
2723
|
initialPrompt: z
|
|
@@ -2841,6 +2918,16 @@ export const zAgent = z.object({
|
|
|
2841
2918
|
});
|
|
2842
2919
|
export const zActivation = z.object({
|
|
2843
2920
|
steps: z.array(z.enum(["member.invited", "slack.channel.connected", "client.used", "cron_trigger.created", "artifact.created"])),
|
|
2921
|
+
rewards: z.array(z.enum([
|
|
2922
|
+
"composer",
|
|
2923
|
+
"channel",
|
|
2924
|
+
"app",
|
|
2925
|
+
"activation.member.invited",
|
|
2926
|
+
"activation.client.used",
|
|
2927
|
+
"activation.cron_trigger.created",
|
|
2928
|
+
"activation.artifact.created",
|
|
2929
|
+
])),
|
|
2930
|
+
rewardAmounts: z.record(z.string(), z.number()),
|
|
2844
2931
|
complete: z.boolean(),
|
|
2845
2932
|
dismissed: z.boolean(),
|
|
2846
2933
|
});
|
|
@@ -3144,7 +3231,6 @@ export const zBillingGetResponse = z.object({
|
|
|
3144
3231
|
consumedCredits: z.string(),
|
|
3145
3232
|
consumedAmountCents: z.number(),
|
|
3146
3233
|
grantedCredits: z.string(),
|
|
3147
|
-
freeGrantCredits: z.string(),
|
|
3148
3234
|
plan: z.enum([
|
|
3149
3235
|
"free",
|
|
3150
3236
|
"plan_50",
|
|
@@ -3658,47 +3744,55 @@ export const zGoogleConnectQuery = z.object({
|
|
|
3658
3744
|
*/
|
|
3659
3745
|
export const zGoogleConnectResponse = zGoogleWorkspaceOAuthStartResult;
|
|
3660
3746
|
/**
|
|
3661
|
-
*
|
|
3747
|
+
* Services Ren can invoke and the authentication methods each accepts
|
|
3662
3748
|
*/
|
|
3663
|
-
export const
|
|
3664
|
-
export const zInferenceSubscriptionsBudgetQuery = z.object({
|
|
3665
|
-
horizon: z.enum(["5h", "7d"]).optional().default("5h"),
|
|
3666
|
-
});
|
|
3749
|
+
export const zInferenceProvidersListResponse = z.array(zAvailableInferenceService);
|
|
3667
3750
|
/**
|
|
3668
|
-
*
|
|
3751
|
+
* Credential state with nested service subscriptions
|
|
3669
3752
|
*/
|
|
3670
|
-
export const
|
|
3671
|
-
export const
|
|
3753
|
+
export const zInferenceConnectionsListResponse = z.array(zInferenceConnection);
|
|
3754
|
+
export const zInferenceConnectionsGetPath = z.object({
|
|
3755
|
+
id: z.string(),
|
|
3756
|
+
});
|
|
3672
3757
|
/**
|
|
3673
|
-
*
|
|
3758
|
+
* Credential state with nested service subscriptions
|
|
3674
3759
|
*/
|
|
3675
|
-
export const
|
|
3676
|
-
export const
|
|
3760
|
+
export const zInferenceConnectionsGetResponse = zInferenceConnection;
|
|
3761
|
+
export const zInferenceAuthorizationsBeginBody = zInferenceBeginAuthorizationInput;
|
|
3677
3762
|
/**
|
|
3678
|
-
*
|
|
3763
|
+
* What the person connecting has to do next, or the finished connection
|
|
3679
3764
|
*/
|
|
3680
|
-
export const
|
|
3681
|
-
export const
|
|
3765
|
+
export const zInferenceAuthorizationsBeginResponse = zInferenceAuthorization;
|
|
3766
|
+
export const zInferenceAuthorizationsPollPath = z.object({
|
|
3767
|
+
id: z.string(),
|
|
3768
|
+
});
|
|
3682
3769
|
/**
|
|
3683
|
-
*
|
|
3770
|
+
* Where the attempt has got to
|
|
3684
3771
|
*/
|
|
3685
|
-
export const
|
|
3686
|
-
export const
|
|
3772
|
+
export const zInferenceAuthorizationsPollResponse = zInferenceAuthorization;
|
|
3773
|
+
export const zInferenceAuthorizationsCompleteBody = zInferenceCompleteAuthorizationInput;
|
|
3774
|
+
export const zInferenceAuthorizationsCompletePath = z.object({
|
|
3687
3775
|
id: z.string(),
|
|
3688
3776
|
});
|
|
3689
3777
|
/**
|
|
3690
|
-
*
|
|
3778
|
+
* The finished connection
|
|
3691
3779
|
*/
|
|
3692
|
-
export const
|
|
3780
|
+
export const zInferenceAuthorizationsCompleteResponse = zInferenceAuthorization;
|
|
3693
3781
|
/**
|
|
3694
|
-
*
|
|
3782
|
+
* Subscription health and provider usage
|
|
3695
3783
|
*/
|
|
3696
|
-
export const
|
|
3697
|
-
export const
|
|
3784
|
+
export const zInferenceSubscriptionsListResponse = z.array(zInferenceSubscription);
|
|
3785
|
+
export const zInferenceSubscriptionsBudgetQuery = z.object({
|
|
3786
|
+
horizon: z.enum(["5h", "7d"]).optional().default("5h"),
|
|
3787
|
+
});
|
|
3698
3788
|
/**
|
|
3699
|
-
*
|
|
3789
|
+
* Remaining capacity through the requested horizon or last known reset
|
|
3700
3790
|
*/
|
|
3701
|
-
export const
|
|
3791
|
+
export const zInferenceSubscriptionsBudgetResponse = zInferenceUsageBudgetEstimate;
|
|
3792
|
+
/**
|
|
3793
|
+
* The published Codex models
|
|
3794
|
+
*/
|
|
3795
|
+
export const zInferenceHarnessesCodexCatalogResponse = zInferenceCodexCatalog;
|
|
3702
3796
|
export const zInferenceSubscriptionsRemovePath = z.object({
|
|
3703
3797
|
id: z.string(),
|
|
3704
3798
|
});
|
|
@@ -3711,9 +3805,9 @@ export const zInferenceSubscriptionsRenamePath = z.object({
|
|
|
3711
3805
|
id: z.string(),
|
|
3712
3806
|
});
|
|
3713
3807
|
/**
|
|
3714
|
-
* The renamed
|
|
3808
|
+
* The renamed subscription
|
|
3715
3809
|
*/
|
|
3716
|
-
export const zInferenceSubscriptionsRenameResponse =
|
|
3810
|
+
export const zInferenceSubscriptionsRenameResponse = zInferenceSubscription;
|
|
3717
3811
|
/**
|
|
3718
3812
|
* The caller's keys, or every key in the organization for admins
|
|
3719
3813
|
*/
|
|
@@ -4050,6 +4144,10 @@ export const zMemoryStoreFilesWriteContentResponse = zMemoryStoreFile;
|
|
|
4050
4144
|
* Grouped model list
|
|
4051
4145
|
*/
|
|
4052
4146
|
export const zModelListResponse = zModelsResponse;
|
|
4147
|
+
/**
|
|
4148
|
+
* Whether the composer reward was granted
|
|
4149
|
+
*/
|
|
4150
|
+
export const zOnboardingRewardResponse = zOnboardingReward;
|
|
4053
4151
|
export const zOnboardingStartBody = z.object({
|
|
4054
4152
|
prompt: z.string().min(1).max(8000),
|
|
4055
4153
|
skillIds: z.array(z.string()).max(64).optional().default([]),
|