@renai-labs/sdk 0.1.9 → 0.1.10
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 +54 -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 +627 -43
- package/dist/generated/zod.gen.d.ts +693 -119
- package/dist/generated/zod.gen.js +316 -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,227 @@ 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
|
-
|
|
512
|
+
id: z.string().regex(/^[a-z]+_[A-Za-z0-9]+$/),
|
|
513
|
+
slug: z.string().regex(/^[a-z0-9][a-z0-9-]*$/),
|
|
401
514
|
name: z.string(),
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
id: z.string(),
|
|
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(),
|
|
442
621
|
});
|
|
443
622
|
export const zSkillVersion = z.object({
|
|
444
623
|
id: z.string(),
|
|
@@ -582,6 +761,9 @@ export const zSessionMessagesPage = z.object({
|
|
|
582
761
|
});
|
|
583
762
|
export const zSessionUrlResponse = z.object({
|
|
584
763
|
url: z.string(),
|
|
764
|
+
authedUrl: z.string(),
|
|
765
|
+
serverPassword: z.string(),
|
|
766
|
+
username: z.string(),
|
|
585
767
|
});
|
|
586
768
|
export const zOpencodeSession = z.object({
|
|
587
769
|
id: z.string(),
|
|
@@ -1316,6 +1498,7 @@ export const zAgentListQuery = z.object({
|
|
|
1316
1498
|
scope: z.enum(["user"]).optional(),
|
|
1317
1499
|
limit: z.number().gte(1).lte(1000).optional(),
|
|
1318
1500
|
offset: z.number().gte(0).optional(),
|
|
1501
|
+
includeDeprecated: z.boolean().optional(),
|
|
1319
1502
|
});
|
|
1320
1503
|
/**
|
|
1321
1504
|
* List of agents
|
|
@@ -1461,6 +1644,7 @@ export const zAgentVersionListQuery = z.object({
|
|
|
1461
1644
|
scope: z.enum(["user"]).optional(),
|
|
1462
1645
|
limit: z.number().gte(1).lte(1000).optional(),
|
|
1463
1646
|
offset: z.number().gte(0).optional(),
|
|
1647
|
+
includeDeprecated: z.boolean().optional(),
|
|
1464
1648
|
});
|
|
1465
1649
|
/**
|
|
1466
1650
|
* List of agent versions
|
|
@@ -1526,6 +1710,7 @@ export const zBlueprintListQuery = z.object({
|
|
|
1526
1710
|
scope: z.enum(["user"]).optional(),
|
|
1527
1711
|
limit: z.number().gte(1).lte(1000).optional(),
|
|
1528
1712
|
offset: z.number().gte(0).optional(),
|
|
1713
|
+
includeDeprecated: z.boolean().optional(),
|
|
1529
1714
|
});
|
|
1530
1715
|
/**
|
|
1531
1716
|
* List of blueprints
|
|
@@ -1705,6 +1890,7 @@ export const zEnvironmentListQuery = z.object({
|
|
|
1705
1890
|
orgId: z.string().optional(),
|
|
1706
1891
|
limit: z.number().gte(1).lte(1000).optional(),
|
|
1707
1892
|
offset: z.number().gte(0).optional(),
|
|
1893
|
+
includeDeprecated: z.boolean().optional(),
|
|
1708
1894
|
userId: z.string().nullish(),
|
|
1709
1895
|
});
|
|
1710
1896
|
/**
|
|
@@ -1776,6 +1962,7 @@ export const zFileStoreListQuery = z.object({
|
|
|
1776
1962
|
orgId: z.string().optional(),
|
|
1777
1963
|
limit: z.number().gte(1).lte(1000).optional(),
|
|
1778
1964
|
offset: z.number().gte(0).optional(),
|
|
1965
|
+
includeDeprecated: z.boolean().optional(),
|
|
1779
1966
|
userId: z.string().nullish(),
|
|
1780
1967
|
});
|
|
1781
1968
|
/**
|
|
@@ -1983,6 +2170,7 @@ export const zMcpListQuery = z.object({
|
|
|
1983
2170
|
scope: z.enum(["user"]).optional(),
|
|
1984
2171
|
limit: z.number().gte(1).lte(1000).optional(),
|
|
1985
2172
|
offset: z.number().gte(0).optional(),
|
|
2173
|
+
includeDeprecated: z.boolean().optional(),
|
|
1986
2174
|
sort: z.enum(["popular", "trending", "recent"]).optional(),
|
|
1987
2175
|
});
|
|
1988
2176
|
/**
|
|
@@ -2162,6 +2350,7 @@ export const zMemoryStoreListQuery = z.object({
|
|
|
2162
2350
|
orgId: z.string().optional(),
|
|
2163
2351
|
limit: z.number().gte(1).lte(1000).optional(),
|
|
2164
2352
|
offset: z.number().gte(0).optional(),
|
|
2353
|
+
includeDeprecated: z.boolean().optional(),
|
|
2165
2354
|
userId: z.string().nullish(),
|
|
2166
2355
|
});
|
|
2167
2356
|
/**
|
|
@@ -2340,6 +2529,7 @@ export const zPodListQuery = z.object({
|
|
|
2340
2529
|
orgId: z.string().optional(),
|
|
2341
2530
|
limit: z.number().gte(1).lte(1000).optional(),
|
|
2342
2531
|
offset: z.number().gte(0).optional(),
|
|
2532
|
+
includeDeprecated: z.boolean().optional(),
|
|
2343
2533
|
userId: z.string().nullish(),
|
|
2344
2534
|
});
|
|
2345
2535
|
/**
|
|
@@ -2490,6 +2680,7 @@ export const zProjectListQuery = z.object({
|
|
|
2490
2680
|
scope: z.enum(["user"]).optional(),
|
|
2491
2681
|
limit: z.number().gte(1).lte(1000).optional(),
|
|
2492
2682
|
offset: z.number().gte(0).optional(),
|
|
2683
|
+
includeDeprecated: z.boolean().optional(),
|
|
2493
2684
|
podId: z
|
|
2494
2685
|
.string()
|
|
2495
2686
|
.regex(/^pod_[0-9A-HJKMNP-TV-Z]{26}$/)
|
|
@@ -2726,6 +2917,7 @@ export const zReplayListQuery = z.object({
|
|
|
2726
2917
|
scope: z.enum(["user"]).optional(),
|
|
2727
2918
|
limit: z.number().gte(1).lte(1000).optional(),
|
|
2728
2919
|
offset: z.number().gte(0).optional(),
|
|
2920
|
+
includeDeprecated: z.boolean().optional(),
|
|
2729
2921
|
publisherId: z.string().optional(),
|
|
2730
2922
|
});
|
|
2731
2923
|
/**
|
|
@@ -2829,6 +3021,7 @@ export const zSessionListQuery = z.object({
|
|
|
2829
3021
|
createdById: z.string().optional(),
|
|
2830
3022
|
limit: z.number().gte(1).lte(1000).optional(),
|
|
2831
3023
|
offset: z.number().gte(0).optional(),
|
|
3024
|
+
includeDeprecated: z.boolean().optional(),
|
|
2832
3025
|
});
|
|
2833
3026
|
/**
|
|
2834
3027
|
* List of sessions
|
|
@@ -2954,6 +3147,7 @@ export const zSkillListQuery = z.object({
|
|
|
2954
3147
|
scope: z.enum(["user"]).optional(),
|
|
2955
3148
|
limit: z.number().gte(1).lte(1000).optional(),
|
|
2956
3149
|
offset: z.number().gte(0).optional(),
|
|
3150
|
+
includeDeprecated: z.boolean().optional(),
|
|
2957
3151
|
sort: z.enum(["popular", "trending", "recent"]).optional(),
|
|
2958
3152
|
});
|
|
2959
3153
|
/**
|
|
@@ -3101,6 +3295,7 @@ export const zSkillVersionListQuery = z.object({
|
|
|
3101
3295
|
scope: z.enum(["user"]).optional(),
|
|
3102
3296
|
limit: z.number().gte(1).lte(1000).optional(),
|
|
3103
3297
|
offset: z.number().gte(0).optional(),
|
|
3298
|
+
includeDeprecated: z.boolean().optional(),
|
|
3104
3299
|
});
|
|
3105
3300
|
/**
|
|
3106
3301
|
* List of skill versions
|
|
@@ -3177,10 +3372,38 @@ export const zSkillVersionArchiveResponse = zSkillVersion;
|
|
|
3177
3372
|
* Agent-stack topology
|
|
3178
3373
|
*/
|
|
3179
3374
|
export const zTopologyGetResponse = zTopology;
|
|
3375
|
+
export const zTopologyShareListQuery = z.object({
|
|
3376
|
+
scope: z.enum(["user"]).optional(),
|
|
3377
|
+
limit: z.number().gte(1).lte(1000).optional(),
|
|
3378
|
+
offset: z.number().gte(0).optional(),
|
|
3379
|
+
includeDeprecated: z.boolean().optional(),
|
|
3380
|
+
});
|
|
3381
|
+
/**
|
|
3382
|
+
* List of topology shares
|
|
3383
|
+
*/
|
|
3384
|
+
export const zTopologyShareListResponse = z.array(zTopologyShare);
|
|
3385
|
+
export const zTopologyShareCreateQuery = z.object({
|
|
3386
|
+
scope: z.enum(["user"]).optional(),
|
|
3387
|
+
});
|
|
3388
|
+
/**
|
|
3389
|
+
* Created topology share
|
|
3390
|
+
*/
|
|
3391
|
+
export const zTopologyShareCreateResponse = zTopologyShare;
|
|
3392
|
+
export const zTopologyShareArchivePath = z.object({
|
|
3393
|
+
id: z.string().regex(/^tps_[0-9A-HJKMNP-TV-Z]{26}$/),
|
|
3394
|
+
});
|
|
3395
|
+
export const zTopologyShareArchiveQuery = z.object({
|
|
3396
|
+
scope: z.enum(["user"]).optional(),
|
|
3397
|
+
});
|
|
3398
|
+
/**
|
|
3399
|
+
* Archived topology share
|
|
3400
|
+
*/
|
|
3401
|
+
export const zTopologyShareArchiveResponse = zTopologyShare;
|
|
3180
3402
|
export const zTriggerListQuery = z.object({
|
|
3181
3403
|
scope: z.enum(["user"]).optional(),
|
|
3182
3404
|
limit: z.number().gte(1).lte(1000).optional(),
|
|
3183
3405
|
offset: z.number().gte(0).optional(),
|
|
3406
|
+
includeDeprecated: z.boolean().optional(),
|
|
3184
3407
|
projectId: z.string().regex(/^prj_[0-9A-HJKMNP-TV-Z]{26}$/),
|
|
3185
3408
|
});
|
|
3186
3409
|
/**
|
|
@@ -3250,6 +3473,7 @@ export const zWebhookTriggerListQuery = z.object({
|
|
|
3250
3473
|
scope: z.enum(["user"]).optional(),
|
|
3251
3474
|
limit: z.number().gte(1).lte(1000).optional(),
|
|
3252
3475
|
offset: z.number().gte(0).optional(),
|
|
3476
|
+
includeDeprecated: z.boolean().optional(),
|
|
3253
3477
|
projectId: z.string().regex(/^prj_[0-9A-HJKMNP-TV-Z]{26}$/),
|
|
3254
3478
|
});
|
|
3255
3479
|
/**
|
|
@@ -3375,10 +3599,42 @@ export const zSlackChannelSetQuery = z.object({
|
|
|
3375
3599
|
* Updated installation
|
|
3376
3600
|
*/
|
|
3377
3601
|
export const zSlackChannelSetResponse = zSlackInstallationResponse;
|
|
3602
|
+
export const zEmailListQuery = z.object({
|
|
3603
|
+
scope: z.enum(["user"]).optional(),
|
|
3604
|
+
});
|
|
3605
|
+
/**
|
|
3606
|
+
* Email mailboxes
|
|
3607
|
+
*/
|
|
3608
|
+
export const zEmailListResponse = z.array(zProjectEmailResponse);
|
|
3609
|
+
export const zEmailUnsetPath = z.object({
|
|
3610
|
+
projectId: z.string().min(1),
|
|
3611
|
+
});
|
|
3612
|
+
export const zEmailUnsetQuery = z.object({
|
|
3613
|
+
scope: z.enum(["user"]).optional(),
|
|
3614
|
+
});
|
|
3615
|
+
/**
|
|
3616
|
+
* Removed
|
|
3617
|
+
*/
|
|
3618
|
+
export const zEmailUnsetResponse = z.void();
|
|
3619
|
+
export const zEmailSetBody = z.object({
|
|
3620
|
+
defaultProjectAgentId: z.string().nullish().default(null),
|
|
3621
|
+
fallbackSenderUserId: z.string().nullish().default(null),
|
|
3622
|
+
});
|
|
3623
|
+
export const zEmailSetPath = z.object({
|
|
3624
|
+
projectId: z.string().min(1),
|
|
3625
|
+
});
|
|
3626
|
+
export const zEmailSetQuery = z.object({
|
|
3627
|
+
scope: z.enum(["user"]).optional(),
|
|
3628
|
+
});
|
|
3629
|
+
/**
|
|
3630
|
+
* The project's email mailbox
|
|
3631
|
+
*/
|
|
3632
|
+
export const zEmailSetResponse = zProjectEmailResponse;
|
|
3378
3633
|
export const zVaultListQuery = z.object({
|
|
3379
3634
|
scope: z.enum(["user"]).optional(),
|
|
3380
3635
|
limit: z.number().gte(1).lte(1000).optional(),
|
|
3381
3636
|
offset: z.number().gte(0).optional(),
|
|
3637
|
+
includeDeprecated: z.boolean().optional(),
|
|
3382
3638
|
});
|
|
3383
3639
|
/**
|
|
3384
3640
|
* List of vaults
|
|
@@ -3447,6 +3703,7 @@ export const zCredentialListQuery = z.object({
|
|
|
3447
3703
|
scope: z.enum(["user"]).optional(),
|
|
3448
3704
|
limit: z.number().gte(1).lte(1000).optional(),
|
|
3449
3705
|
offset: z.number().gte(0).optional(),
|
|
3706
|
+
includeDeprecated: z.boolean().optional(),
|
|
3450
3707
|
});
|
|
3451
3708
|
/**
|
|
3452
3709
|
* List of credentials
|
|
@@ -3563,8 +3820,8 @@ export const zRegistryAgentGetResponse = zAgent;
|
|
|
3563
3820
|
export const zRegistrySkillListQuery = z.object({
|
|
3564
3821
|
limit: z.number().gte(1).lte(1000).optional(),
|
|
3565
3822
|
offset: z.number().gte(0).optional(),
|
|
3566
|
-
sort: z.enum(["popular", "trending", "recent"]).optional(),
|
|
3567
3823
|
includeDeprecated: z.boolean().optional(),
|
|
3824
|
+
sort: z.enum(["popular", "trending", "recent"]).optional(),
|
|
3568
3825
|
});
|
|
3569
3826
|
/**
|
|
3570
3827
|
* List of published skills
|
|
@@ -3580,8 +3837,8 @@ export const zRegistrySkillGetResponse = zSkill;
|
|
|
3580
3837
|
export const zRegistryMcpListQuery = z.object({
|
|
3581
3838
|
limit: z.number().gte(1).lte(1000).optional(),
|
|
3582
3839
|
offset: z.number().gte(0).optional(),
|
|
3583
|
-
sort: z.enum(["popular", "trending", "recent"]).optional(),
|
|
3584
3840
|
includeDeprecated: z.boolean().optional(),
|
|
3841
|
+
sort: z.enum(["popular", "trending", "recent"]).optional(),
|
|
3585
3842
|
});
|
|
3586
3843
|
/**
|
|
3587
3844
|
* List of published MCPs
|
|
@@ -3649,3 +3906,10 @@ export const zRegistryReplaySharedFilesPresignDownloadPath = z.object({
|
|
|
3649
3906
|
* Presigned download URL
|
|
3650
3907
|
*/
|
|
3651
3908
|
export const zRegistryReplaySharedFilesPresignDownloadResponse = zReplayPresignDownloadResponse;
|
|
3909
|
+
export const zRegistryTopologyShareGetPath = z.object({
|
|
3910
|
+
token: z.string().min(1),
|
|
3911
|
+
});
|
|
3912
|
+
/**
|
|
3913
|
+
* Live topology for the shared org
|
|
3914
|
+
*/
|
|
3915
|
+
export const zRegistryTopologyShareGetResponse = zTopology;
|