@renai-labs/sdk 0.1.9 → 0.1.11
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 +131 -1
- package/dist/generated/@tanstack/react-query.gen.js +141 -0
- package/dist/generated/internal/types.gen.d.ts +90 -0
- package/dist/generated/sdk.gen.d.ts +47 -1
- package/dist/generated/sdk.gen.js +84 -0
- package/dist/generated/types.gen.d.ts +644 -42
- package/dist/generated/zod.gen.d.ts +709 -117
- package/dist/generated/zod.gen.js +326 -52
- package/package.json +1 -1
|
@@ -289,6 +289,27 @@ export const zVault = z.object({
|
|
|
289
289
|
.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))$/)
|
|
290
290
|
.nullable(),
|
|
291
291
|
});
|
|
292
|
+
export const zProjectEmailResponse = z.object({
|
|
293
|
+
id: z.string(),
|
|
294
|
+
orgId: z.string(),
|
|
295
|
+
podId: z.string(),
|
|
296
|
+
projectId: z.string(),
|
|
297
|
+
defaultProjectAgentId: z.string().nullable(),
|
|
298
|
+
fallbackSenderUserId: z.string().nullable(),
|
|
299
|
+
localPart: z.string(),
|
|
300
|
+
createdAt: z.iso
|
|
301
|
+
.datetime()
|
|
302
|
+
.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))$/),
|
|
303
|
+
updatedAt: z.iso
|
|
304
|
+
.datetime()
|
|
305
|
+
.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))$/),
|
|
306
|
+
archivedAt: z.iso
|
|
307
|
+
.datetime()
|
|
308
|
+
.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))$/)
|
|
309
|
+
.nullable(),
|
|
310
|
+
address: z.string(),
|
|
311
|
+
projectName: z.string().nullable(),
|
|
312
|
+
});
|
|
292
313
|
export const zSlackChannel = z.object({
|
|
293
314
|
id: z.string(),
|
|
294
315
|
name: z.string(),
|
|
@@ -376,69 +397,237 @@ export const zCronTrigger = z.object({
|
|
|
376
397
|
.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))$/)
|
|
377
398
|
.nullable(),
|
|
378
399
|
});
|
|
400
|
+
export const zTopologyShare = z.object({
|
|
401
|
+
id: z.string(),
|
|
402
|
+
shareToken: z.string(),
|
|
403
|
+
orgId: z.string(),
|
|
404
|
+
userId: z.string().nullable(),
|
|
405
|
+
createdAt: z.iso
|
|
406
|
+
.datetime()
|
|
407
|
+
.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))$/),
|
|
408
|
+
updatedAt: z.iso
|
|
409
|
+
.datetime()
|
|
410
|
+
.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))$/),
|
|
411
|
+
archivedAt: z.iso
|
|
412
|
+
.datetime()
|
|
413
|
+
.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))$/)
|
|
414
|
+
.nullable(),
|
|
415
|
+
});
|
|
379
416
|
export const zTopology = z.object({
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
417
|
+
meta: z.object({
|
|
418
|
+
org: z.string(),
|
|
419
|
+
orgId: z.string().regex(/^[a-z]+_[A-Za-z0-9]+$/),
|
|
420
|
+
ownerUserId: z
|
|
421
|
+
.string()
|
|
422
|
+
.regex(/^[a-z]+_[A-Za-z0-9]+$/)
|
|
423
|
+
.optional(),
|
|
424
|
+
specVersion: z.string().optional(),
|
|
425
|
+
snapshotDate: z.string().optional(),
|
|
426
|
+
notes: z.string().optional(),
|
|
427
|
+
}),
|
|
428
|
+
agents: z.array(z.object({
|
|
429
|
+
id: z.string().regex(/^[a-z]+_[A-Za-z0-9]+$/),
|
|
430
|
+
slug: z.string().regex(/^[a-z0-9][a-z0-9-]*$/),
|
|
383
431
|
name: z.string(),
|
|
432
|
+
model: z.string().optional(),
|
|
433
|
+
scope: z.enum(["org", "user", "registry"]).optional(),
|
|
384
434
|
icon: z.string().optional(),
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
targetProjectId: z.string(),
|
|
390
|
-
})),
|
|
391
|
-
vaultIds: z.array(z.string()),
|
|
435
|
+
promptRef: z.string().optional(),
|
|
436
|
+
skills: z.array(z.string().regex(/^[a-z0-9][a-z0-9-]*$/)).optional(),
|
|
437
|
+
mcps: z.array(z.string().regex(/^[a-z0-9][a-z0-9-]*$/)).optional(),
|
|
438
|
+
notes: z.string().optional(),
|
|
392
439
|
})),
|
|
440
|
+
mcps: z
|
|
441
|
+
.array(z.object({
|
|
442
|
+
id: z.string().regex(/^[a-z]+_[A-Za-z0-9]+$/),
|
|
443
|
+
slug: z.string().regex(/^[a-z0-9][a-z0-9-]*$/),
|
|
444
|
+
name: z.string(),
|
|
445
|
+
registrySlug: z.string().optional(),
|
|
446
|
+
remoteUrl: z.url().optional(),
|
|
447
|
+
auth: z.enum(["oauth", "basic", "api_key", "none"]).optional(),
|
|
448
|
+
credential: z
|
|
449
|
+
.string()
|
|
450
|
+
.regex(/^[a-z0-9][a-z0-9-]*$/)
|
|
451
|
+
.optional(),
|
|
452
|
+
icon: z.string().optional(),
|
|
453
|
+
tags: z.array(z.string()).optional(),
|
|
454
|
+
notes: z.string().optional(),
|
|
455
|
+
}))
|
|
456
|
+
.optional(),
|
|
457
|
+
skills: z
|
|
458
|
+
.array(z.object({
|
|
459
|
+
id: z.string().regex(/^[a-z]+_[A-Za-z0-9]+$/),
|
|
460
|
+
slug: z.string().regex(/^[a-z0-9][a-z0-9-]*$/),
|
|
461
|
+
source: z.enum(["registry", "org", "user"]).optional(),
|
|
462
|
+
notes: z.string().optional(),
|
|
463
|
+
}))
|
|
464
|
+
.optional(),
|
|
465
|
+
credentials: z
|
|
466
|
+
.array(z.object({
|
|
467
|
+
id: z.string().regex(/^[a-z]+_[A-Za-z0-9]+$/),
|
|
468
|
+
slug: z.string().regex(/^[a-z0-9][a-z0-9-]*$/),
|
|
469
|
+
provider: z.string(),
|
|
470
|
+
authType: z.enum(["oauth", "basic", "api_key", "env"]).optional(),
|
|
471
|
+
vault: z.string().regex(/^[a-z0-9][a-z0-9-]*$/),
|
|
472
|
+
notes: z.string().optional(),
|
|
473
|
+
}))
|
|
474
|
+
.optional(),
|
|
475
|
+
vaults: z
|
|
476
|
+
.array(z.object({
|
|
477
|
+
id: z.string().regex(/^[a-z]+_[A-Za-z0-9]+$/),
|
|
478
|
+
slug: z.string().regex(/^[a-z0-9][a-z0-9-]*$/),
|
|
479
|
+
name: z.string(),
|
|
480
|
+
scope: z.enum(["org", "user", "registry"]),
|
|
481
|
+
attachedPods: z.array(z.string().regex(/^[a-z0-9][a-z0-9-]*$/)).optional(),
|
|
482
|
+
notes: z.string().optional(),
|
|
483
|
+
}))
|
|
484
|
+
.optional(),
|
|
485
|
+
fileStores: z
|
|
486
|
+
.array(z.object({
|
|
487
|
+
id: z.string().regex(/^[a-z]+_[A-Za-z0-9]+$/),
|
|
488
|
+
slug: z.string().regex(/^[a-z0-9][a-z0-9-]*$/),
|
|
489
|
+
name: z.string(),
|
|
490
|
+
scope: z.enum(["org", "user", "registry"]),
|
|
491
|
+
notes: z.string().optional(),
|
|
492
|
+
}))
|
|
493
|
+
.optional(),
|
|
494
|
+
memoryStores: z
|
|
495
|
+
.array(z.object({
|
|
496
|
+
id: z.string().regex(/^[a-z]+_[A-Za-z0-9]+$/),
|
|
497
|
+
slug: z.string().regex(/^[a-z0-9][a-z0-9-]*$/),
|
|
498
|
+
name: z.string(),
|
|
499
|
+
scope: z.enum(["org", "user", "registry"]),
|
|
500
|
+
notes: z.string().optional(),
|
|
501
|
+
}))
|
|
502
|
+
.optional(),
|
|
393
503
|
pods: z.array(z.object({
|
|
394
|
-
id: z.string(),
|
|
504
|
+
id: z.string().regex(/^[a-z]+_[A-Za-z0-9]+$/),
|
|
505
|
+
slug: z.string().regex(/^[a-z0-9][a-z0-9-]*$/),
|
|
395
506
|
name: z.string(),
|
|
396
|
-
|
|
507
|
+
scope: z.enum(["org", "user", "registry"]).optional(),
|
|
508
|
+
vaults: z.array(z.string().regex(/^[a-z0-9][a-z0-9-]*$/)).optional(),
|
|
509
|
+
notes: z.string().optional(),
|
|
397
510
|
})),
|
|
398
511
|
projects: z.array(z.object({
|
|
399
|
-
id: z.string(),
|
|
400
|
-
|
|
401
|
-
name: z.string(),
|
|
402
|
-
agents: z.array(z.object({
|
|
403
|
-
id: z.string(),
|
|
404
|
-
name: z.string(),
|
|
405
|
-
icon: z.string().optional(),
|
|
406
|
-
model: z.string().optional(),
|
|
407
|
-
})),
|
|
408
|
-
skillsCount: z.number(),
|
|
409
|
-
})),
|
|
410
|
-
vaults: z.array(z.object({
|
|
411
|
-
id: z.string(),
|
|
512
|
+
id: z.string().regex(/^[a-z]+_[A-Za-z0-9]+$/),
|
|
513
|
+
slug: z.string().regex(/^[a-z0-9][a-z0-9-]*$/),
|
|
412
514
|
name: z.string(),
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
515
|
+
pod: z.string().regex(/^[a-z0-9][a-z0-9-]*$/),
|
|
516
|
+
buildOrder: z.int().gte(1).lte(9007199254740991).optional(),
|
|
517
|
+
slackChannel: z.string().optional(),
|
|
518
|
+
primaryAgent: z
|
|
519
|
+
.string()
|
|
520
|
+
.regex(/^[a-z0-9][a-z0-9-]*$/)
|
|
521
|
+
.optional(),
|
|
522
|
+
subAgents: z.array(z.string().regex(/^[a-z0-9][a-z0-9-]*$/)).optional(),
|
|
523
|
+
fileStores: z.array(z.string().regex(/^[a-z0-9][a-z0-9-]*$/)).optional(),
|
|
524
|
+
memoryStores: z.array(z.string().regex(/^[a-z0-9][a-z0-9-]*$/)).optional(),
|
|
525
|
+
restricted: z.boolean().optional(),
|
|
526
|
+
requirements: z
|
|
527
|
+
.array(z.object({
|
|
528
|
+
id: z.string().regex(/^[a-z0-9][a-z0-9-]*$/),
|
|
529
|
+
kind: z.enum([
|
|
530
|
+
"agent_attached",
|
|
531
|
+
"skill_attached",
|
|
532
|
+
"mcp_wired",
|
|
533
|
+
"credential_present",
|
|
534
|
+
"trigger_configured",
|
|
535
|
+
"slack_mapped",
|
|
536
|
+
"file_store_attached",
|
|
537
|
+
"memory_store_attached",
|
|
538
|
+
"vault_attached",
|
|
539
|
+
"capability",
|
|
540
|
+
"other",
|
|
541
|
+
]),
|
|
542
|
+
must: z.string(),
|
|
543
|
+
agent: z
|
|
544
|
+
.string()
|
|
545
|
+
.regex(/^[a-z0-9][a-z0-9-]*$/)
|
|
546
|
+
.optional(),
|
|
547
|
+
mcp: z
|
|
548
|
+
.string()
|
|
549
|
+
.regex(/^[a-z0-9][a-z0-9-]*$/)
|
|
550
|
+
.optional(),
|
|
551
|
+
skill: z
|
|
552
|
+
.string()
|
|
553
|
+
.regex(/^[a-z0-9][a-z0-9-]*$/)
|
|
554
|
+
.optional(),
|
|
555
|
+
credential: z
|
|
556
|
+
.string()
|
|
557
|
+
.regex(/^[a-z0-9][a-z0-9-]*$/)
|
|
558
|
+
.optional(),
|
|
559
|
+
trigger: z
|
|
560
|
+
.string()
|
|
561
|
+
.regex(/^[a-z0-9][a-z0-9-]*$/)
|
|
562
|
+
.optional(),
|
|
563
|
+
vault: z
|
|
564
|
+
.string()
|
|
565
|
+
.regex(/^[a-z0-9][a-z0-9-]*$/)
|
|
566
|
+
.optional(),
|
|
567
|
+
store: z
|
|
568
|
+
.string()
|
|
569
|
+
.regex(/^[a-z0-9][a-z0-9-]*$/)
|
|
570
|
+
.optional(),
|
|
571
|
+
channel: z.string().optional(),
|
|
572
|
+
blocking: z.boolean().optional(),
|
|
573
|
+
reason: z.string().optional(),
|
|
574
|
+
verify: z.string().optional(),
|
|
575
|
+
blockedBy: z.string().optional(),
|
|
576
|
+
}))
|
|
577
|
+
.optional(),
|
|
578
|
+
notes: z.string().optional(),
|
|
420
579
|
})),
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
580
|
+
slack: z
|
|
581
|
+
.object({
|
|
582
|
+
workspace: z.string().optional(),
|
|
583
|
+
teamId: z.string().optional(),
|
|
584
|
+
installationId: z.string().optional(),
|
|
585
|
+
botUserId: z.string().optional(),
|
|
586
|
+
channels: z.array(z.object({
|
|
587
|
+
name: z.string(),
|
|
588
|
+
id: z.string().optional(),
|
|
589
|
+
project: z
|
|
590
|
+
.string()
|
|
591
|
+
.regex(/^[a-z0-9][a-z0-9-]*$/)
|
|
592
|
+
.nullable(),
|
|
427
593
|
})),
|
|
428
|
-
})
|
|
429
|
-
|
|
594
|
+
})
|
|
595
|
+
.optional(),
|
|
596
|
+
github: z
|
|
430
597
|
.object({
|
|
431
|
-
|
|
598
|
+
installationId: z
|
|
599
|
+
.string()
|
|
600
|
+
.regex(/^[a-z]+_[A-Za-z0-9]+$/)
|
|
601
|
+
.optional(),
|
|
602
|
+
repos: z.array(z.object({
|
|
603
|
+
name: z.string(),
|
|
604
|
+
project: z.string().regex(/^[a-z0-9][a-z0-9-]*$/),
|
|
605
|
+
baseBranch: z.string().optional(),
|
|
606
|
+
})),
|
|
432
607
|
})
|
|
433
|
-
.
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
608
|
+
.optional(),
|
|
609
|
+
triggers: z
|
|
610
|
+
.array(z.object({
|
|
611
|
+
id: z.string().regex(/^[a-z]+_[A-Za-z0-9]+$/),
|
|
612
|
+
slug: z.string().regex(/^[a-z0-9][a-z0-9-]*$/),
|
|
613
|
+
project: z.string().regex(/^[a-z0-9][a-z0-9-]*$/),
|
|
614
|
+
schedule: z.string(),
|
|
615
|
+
timezone: z.string().optional(),
|
|
616
|
+
inputMessage: z.string(),
|
|
617
|
+
enabled: z.boolean().optional(),
|
|
618
|
+
notes: z.string().optional(),
|
|
619
|
+
}))
|
|
620
|
+
.optional(),
|
|
621
|
+
emails: z
|
|
622
|
+
.array(z.object({
|
|
623
|
+
id: z.string().regex(/^[a-z]+_[A-Za-z0-9]+$/),
|
|
624
|
+
project: z.string().regex(/^[a-z0-9][a-z0-9-]*$/),
|
|
625
|
+
localPart: z.string(),
|
|
626
|
+
address: z
|
|
627
|
+
.email()
|
|
628
|
+
.regex(/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/),
|
|
629
|
+
}))
|
|
630
|
+
.optional(),
|
|
442
631
|
});
|
|
443
632
|
export const zSkillVersion = z.object({
|
|
444
633
|
id: z.string(),
|
|
@@ -582,6 +771,9 @@ export const zSessionMessagesPage = z.object({
|
|
|
582
771
|
});
|
|
583
772
|
export const zSessionUrlResponse = z.object({
|
|
584
773
|
url: z.string(),
|
|
774
|
+
authedUrl: z.string(),
|
|
775
|
+
serverPassword: z.string(),
|
|
776
|
+
username: z.string(),
|
|
585
777
|
});
|
|
586
778
|
export const zOpencodeSession = z.object({
|
|
587
779
|
id: z.string(),
|
|
@@ -1316,6 +1508,7 @@ export const zAgentListQuery = z.object({
|
|
|
1316
1508
|
scope: z.enum(["user"]).optional(),
|
|
1317
1509
|
limit: z.number().gte(1).lte(1000).optional(),
|
|
1318
1510
|
offset: z.number().gte(0).optional(),
|
|
1511
|
+
includeDeprecated: z.boolean().optional(),
|
|
1319
1512
|
});
|
|
1320
1513
|
/**
|
|
1321
1514
|
* List of agents
|
|
@@ -1461,6 +1654,7 @@ export const zAgentVersionListQuery = z.object({
|
|
|
1461
1654
|
scope: z.enum(["user"]).optional(),
|
|
1462
1655
|
limit: z.number().gte(1).lte(1000).optional(),
|
|
1463
1656
|
offset: z.number().gte(0).optional(),
|
|
1657
|
+
includeDeprecated: z.boolean().optional(),
|
|
1464
1658
|
});
|
|
1465
1659
|
/**
|
|
1466
1660
|
* List of agent versions
|
|
@@ -1526,6 +1720,7 @@ export const zBlueprintListQuery = z.object({
|
|
|
1526
1720
|
scope: z.enum(["user"]).optional(),
|
|
1527
1721
|
limit: z.number().gte(1).lte(1000).optional(),
|
|
1528
1722
|
offset: z.number().gte(0).optional(),
|
|
1723
|
+
includeDeprecated: z.boolean().optional(),
|
|
1529
1724
|
});
|
|
1530
1725
|
/**
|
|
1531
1726
|
* List of blueprints
|
|
@@ -1705,6 +1900,7 @@ export const zEnvironmentListQuery = z.object({
|
|
|
1705
1900
|
orgId: z.string().optional(),
|
|
1706
1901
|
limit: z.number().gte(1).lte(1000).optional(),
|
|
1707
1902
|
offset: z.number().gte(0).optional(),
|
|
1903
|
+
includeDeprecated: z.boolean().optional(),
|
|
1708
1904
|
userId: z.string().nullish(),
|
|
1709
1905
|
});
|
|
1710
1906
|
/**
|
|
@@ -1776,6 +1972,7 @@ export const zFileStoreListQuery = z.object({
|
|
|
1776
1972
|
orgId: z.string().optional(),
|
|
1777
1973
|
limit: z.number().gte(1).lte(1000).optional(),
|
|
1778
1974
|
offset: z.number().gte(0).optional(),
|
|
1975
|
+
includeDeprecated: z.boolean().optional(),
|
|
1779
1976
|
userId: z.string().nullish(),
|
|
1780
1977
|
});
|
|
1781
1978
|
/**
|
|
@@ -1983,6 +2180,7 @@ export const zMcpListQuery = z.object({
|
|
|
1983
2180
|
scope: z.enum(["user"]).optional(),
|
|
1984
2181
|
limit: z.number().gte(1).lte(1000).optional(),
|
|
1985
2182
|
offset: z.number().gte(0).optional(),
|
|
2183
|
+
includeDeprecated: z.boolean().optional(),
|
|
1986
2184
|
sort: z.enum(["popular", "trending", "recent"]).optional(),
|
|
1987
2185
|
});
|
|
1988
2186
|
/**
|
|
@@ -2162,6 +2360,7 @@ export const zMemoryStoreListQuery = z.object({
|
|
|
2162
2360
|
orgId: z.string().optional(),
|
|
2163
2361
|
limit: z.number().gte(1).lte(1000).optional(),
|
|
2164
2362
|
offset: z.number().gte(0).optional(),
|
|
2363
|
+
includeDeprecated: z.boolean().optional(),
|
|
2165
2364
|
userId: z.string().nullish(),
|
|
2166
2365
|
});
|
|
2167
2366
|
/**
|
|
@@ -2340,6 +2539,7 @@ export const zPodListQuery = z.object({
|
|
|
2340
2539
|
orgId: z.string().optional(),
|
|
2341
2540
|
limit: z.number().gte(1).lte(1000).optional(),
|
|
2342
2541
|
offset: z.number().gte(0).optional(),
|
|
2542
|
+
includeDeprecated: z.boolean().optional(),
|
|
2343
2543
|
userId: z.string().nullish(),
|
|
2344
2544
|
});
|
|
2345
2545
|
/**
|
|
@@ -2490,6 +2690,7 @@ export const zProjectListQuery = z.object({
|
|
|
2490
2690
|
scope: z.enum(["user"]).optional(),
|
|
2491
2691
|
limit: z.number().gte(1).lte(1000).optional(),
|
|
2492
2692
|
offset: z.number().gte(0).optional(),
|
|
2693
|
+
includeDeprecated: z.boolean().optional(),
|
|
2493
2694
|
podId: z
|
|
2494
2695
|
.string()
|
|
2495
2696
|
.regex(/^pod_[0-9A-HJKMNP-TV-Z]{26}$/)
|
|
@@ -2726,6 +2927,7 @@ export const zReplayListQuery = z.object({
|
|
|
2726
2927
|
scope: z.enum(["user"]).optional(),
|
|
2727
2928
|
limit: z.number().gte(1).lte(1000).optional(),
|
|
2728
2929
|
offset: z.number().gte(0).optional(),
|
|
2930
|
+
includeDeprecated: z.boolean().optional(),
|
|
2729
2931
|
publisherId: z.string().optional(),
|
|
2730
2932
|
});
|
|
2731
2933
|
/**
|
|
@@ -2829,6 +3031,7 @@ export const zSessionListQuery = z.object({
|
|
|
2829
3031
|
createdById: z.string().optional(),
|
|
2830
3032
|
limit: z.number().gte(1).lte(1000).optional(),
|
|
2831
3033
|
offset: z.number().gte(0).optional(),
|
|
3034
|
+
includeDeprecated: z.boolean().optional(),
|
|
2832
3035
|
});
|
|
2833
3036
|
/**
|
|
2834
3037
|
* List of sessions
|
|
@@ -2954,6 +3157,7 @@ export const zSkillListQuery = z.object({
|
|
|
2954
3157
|
scope: z.enum(["user"]).optional(),
|
|
2955
3158
|
limit: z.number().gte(1).lte(1000).optional(),
|
|
2956
3159
|
offset: z.number().gte(0).optional(),
|
|
3160
|
+
includeDeprecated: z.boolean().optional(),
|
|
2957
3161
|
sort: z.enum(["popular", "trending", "recent"]).optional(),
|
|
2958
3162
|
});
|
|
2959
3163
|
/**
|
|
@@ -3101,6 +3305,7 @@ export const zSkillVersionListQuery = z.object({
|
|
|
3101
3305
|
scope: z.enum(["user"]).optional(),
|
|
3102
3306
|
limit: z.number().gte(1).lte(1000).optional(),
|
|
3103
3307
|
offset: z.number().gte(0).optional(),
|
|
3308
|
+
includeDeprecated: z.boolean().optional(),
|
|
3104
3309
|
});
|
|
3105
3310
|
/**
|
|
3106
3311
|
* List of skill versions
|
|
@@ -3177,10 +3382,38 @@ export const zSkillVersionArchiveResponse = zSkillVersion;
|
|
|
3177
3382
|
* Agent-stack topology
|
|
3178
3383
|
*/
|
|
3179
3384
|
export const zTopologyGetResponse = zTopology;
|
|
3385
|
+
export const zTopologyShareListQuery = z.object({
|
|
3386
|
+
scope: z.enum(["user"]).optional(),
|
|
3387
|
+
limit: z.number().gte(1).lte(1000).optional(),
|
|
3388
|
+
offset: z.number().gte(0).optional(),
|
|
3389
|
+
includeDeprecated: z.boolean().optional(),
|
|
3390
|
+
});
|
|
3391
|
+
/**
|
|
3392
|
+
* List of topology shares
|
|
3393
|
+
*/
|
|
3394
|
+
export const zTopologyShareListResponse = z.array(zTopologyShare);
|
|
3395
|
+
export const zTopologyShareCreateQuery = z.object({
|
|
3396
|
+
scope: z.enum(["user"]).optional(),
|
|
3397
|
+
});
|
|
3398
|
+
/**
|
|
3399
|
+
* Created topology share
|
|
3400
|
+
*/
|
|
3401
|
+
export const zTopologyShareCreateResponse = zTopologyShare;
|
|
3402
|
+
export const zTopologyShareArchivePath = z.object({
|
|
3403
|
+
id: z.string().regex(/^tps_[0-9A-HJKMNP-TV-Z]{26}$/),
|
|
3404
|
+
});
|
|
3405
|
+
export const zTopologyShareArchiveQuery = z.object({
|
|
3406
|
+
scope: z.enum(["user"]).optional(),
|
|
3407
|
+
});
|
|
3408
|
+
/**
|
|
3409
|
+
* Archived topology share
|
|
3410
|
+
*/
|
|
3411
|
+
export const zTopologyShareArchiveResponse = zTopologyShare;
|
|
3180
3412
|
export const zTriggerListQuery = z.object({
|
|
3181
3413
|
scope: z.enum(["user"]).optional(),
|
|
3182
3414
|
limit: z.number().gte(1).lte(1000).optional(),
|
|
3183
3415
|
offset: z.number().gte(0).optional(),
|
|
3416
|
+
includeDeprecated: z.boolean().optional(),
|
|
3184
3417
|
projectId: z.string().regex(/^prj_[0-9A-HJKMNP-TV-Z]{26}$/),
|
|
3185
3418
|
});
|
|
3186
3419
|
/**
|
|
@@ -3250,6 +3483,7 @@ export const zWebhookTriggerListQuery = z.object({
|
|
|
3250
3483
|
scope: z.enum(["user"]).optional(),
|
|
3251
3484
|
limit: z.number().gte(1).lte(1000).optional(),
|
|
3252
3485
|
offset: z.number().gte(0).optional(),
|
|
3486
|
+
includeDeprecated: z.boolean().optional(),
|
|
3253
3487
|
projectId: z.string().regex(/^prj_[0-9A-HJKMNP-TV-Z]{26}$/),
|
|
3254
3488
|
});
|
|
3255
3489
|
/**
|
|
@@ -3375,10 +3609,42 @@ export const zSlackChannelSetQuery = z.object({
|
|
|
3375
3609
|
* Updated installation
|
|
3376
3610
|
*/
|
|
3377
3611
|
export const zSlackChannelSetResponse = zSlackInstallationResponse;
|
|
3612
|
+
export const zEmailListQuery = z.object({
|
|
3613
|
+
scope: z.enum(["user"]).optional(),
|
|
3614
|
+
});
|
|
3615
|
+
/**
|
|
3616
|
+
* Email mailboxes
|
|
3617
|
+
*/
|
|
3618
|
+
export const zEmailListResponse = z.array(zProjectEmailResponse);
|
|
3619
|
+
export const zEmailUnsetPath = z.object({
|
|
3620
|
+
projectId: z.string().min(1),
|
|
3621
|
+
});
|
|
3622
|
+
export const zEmailUnsetQuery = z.object({
|
|
3623
|
+
scope: z.enum(["user"]).optional(),
|
|
3624
|
+
});
|
|
3625
|
+
/**
|
|
3626
|
+
* Removed
|
|
3627
|
+
*/
|
|
3628
|
+
export const zEmailUnsetResponse = z.void();
|
|
3629
|
+
export const zEmailSetBody = z.object({
|
|
3630
|
+
defaultProjectAgentId: z.string().nullish().default(null),
|
|
3631
|
+
fallbackSenderUserId: z.string().nullish().default(null),
|
|
3632
|
+
});
|
|
3633
|
+
export const zEmailSetPath = z.object({
|
|
3634
|
+
projectId: z.string().min(1),
|
|
3635
|
+
});
|
|
3636
|
+
export const zEmailSetQuery = z.object({
|
|
3637
|
+
scope: z.enum(["user"]).optional(),
|
|
3638
|
+
});
|
|
3639
|
+
/**
|
|
3640
|
+
* The project's email mailbox
|
|
3641
|
+
*/
|
|
3642
|
+
export const zEmailSetResponse = zProjectEmailResponse;
|
|
3378
3643
|
export const zVaultListQuery = z.object({
|
|
3379
3644
|
scope: z.enum(["user"]).optional(),
|
|
3380
3645
|
limit: z.number().gte(1).lte(1000).optional(),
|
|
3381
3646
|
offset: z.number().gte(0).optional(),
|
|
3647
|
+
includeDeprecated: z.boolean().optional(),
|
|
3382
3648
|
});
|
|
3383
3649
|
/**
|
|
3384
3650
|
* List of vaults
|
|
@@ -3447,6 +3713,7 @@ export const zCredentialListQuery = z.object({
|
|
|
3447
3713
|
scope: z.enum(["user"]).optional(),
|
|
3448
3714
|
limit: z.number().gte(1).lte(1000).optional(),
|
|
3449
3715
|
offset: z.number().gte(0).optional(),
|
|
3716
|
+
includeDeprecated: z.boolean().optional(),
|
|
3450
3717
|
});
|
|
3451
3718
|
/**
|
|
3452
3719
|
* List of credentials
|
|
@@ -3563,8 +3830,8 @@ export const zRegistryAgentGetResponse = zAgent;
|
|
|
3563
3830
|
export const zRegistrySkillListQuery = z.object({
|
|
3564
3831
|
limit: z.number().gte(1).lte(1000).optional(),
|
|
3565
3832
|
offset: z.number().gte(0).optional(),
|
|
3566
|
-
sort: z.enum(["popular", "trending", "recent"]).optional(),
|
|
3567
3833
|
includeDeprecated: z.boolean().optional(),
|
|
3834
|
+
sort: z.enum(["popular", "trending", "recent"]).optional(),
|
|
3568
3835
|
});
|
|
3569
3836
|
/**
|
|
3570
3837
|
* List of published skills
|
|
@@ -3580,8 +3847,8 @@ export const zRegistrySkillGetResponse = zSkill;
|
|
|
3580
3847
|
export const zRegistryMcpListQuery = z.object({
|
|
3581
3848
|
limit: z.number().gte(1).lte(1000).optional(),
|
|
3582
3849
|
offset: z.number().gte(0).optional(),
|
|
3583
|
-
sort: z.enum(["popular", "trending", "recent"]).optional(),
|
|
3584
3850
|
includeDeprecated: z.boolean().optional(),
|
|
3851
|
+
sort: z.enum(["popular", "trending", "recent"]).optional(),
|
|
3585
3852
|
});
|
|
3586
3853
|
/**
|
|
3587
3854
|
* List of published MCPs
|
|
@@ -3649,3 +3916,10 @@ export const zRegistryReplaySharedFilesPresignDownloadPath = z.object({
|
|
|
3649
3916
|
* Presigned download URL
|
|
3650
3917
|
*/
|
|
3651
3918
|
export const zRegistryReplaySharedFilesPresignDownloadResponse = zReplayPresignDownloadResponse;
|
|
3919
|
+
export const zRegistryTopologyShareGetPath = z.object({
|
|
3920
|
+
token: z.string().min(1),
|
|
3921
|
+
});
|
|
3922
|
+
/**
|
|
3923
|
+
* Live topology for the shared org
|
|
3924
|
+
*/
|
|
3925
|
+
export const zRegistryTopologyShareGetResponse = zTopology;
|