@renai-labs/sdk 0.1.1 → 0.1.3

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.
@@ -68,6 +68,63 @@ export type PermissionConfig = {
68
68
  [key: string]: "allow" | "deny" | "ask";
69
69
  } | undefined;
70
70
  } | "allow" | "deny" | "ask";
71
+ export type BlueprintPublicView = {
72
+ id: string;
73
+ slug: string;
74
+ name: string;
75
+ description: string | null;
76
+ websiteMetadata: WebsiteMetadata | null;
77
+ publisherId: string;
78
+ template: BlueprintTemplate;
79
+ };
80
+ export type BlueprintReplayRef = {
81
+ replayId: string;
82
+ };
83
+ export type BlueprintMcpRef = {
84
+ mcpId: string;
85
+ };
86
+ export type BlueprintSkillRef = {
87
+ skillId: string;
88
+ versionId: string | null;
89
+ };
90
+ export type BlueprintAgentRef = {
91
+ agentId: string;
92
+ versionId: string | null;
93
+ };
94
+ export type BlueprintProjectEntry = {
95
+ name: string;
96
+ description: string | null;
97
+ permission: PermissionConfig;
98
+ parentId?: string | null;
99
+ agents: Array<{
100
+ agentId: string;
101
+ type: "primary" | "subagent" | "all";
102
+ }>;
103
+ cronTriggers: Array<{
104
+ inputMessage: string;
105
+ schedule: string;
106
+ timezone: string | null;
107
+ cronTriggerId: string;
108
+ agentId: string;
109
+ }>;
110
+ };
111
+ export type BlueprintTemplate = {
112
+ schemaVersion: 1;
113
+ projects: Array<BlueprintProjectEntry>;
114
+ agents: Array<BlueprintAgentRef>;
115
+ skills: Array<BlueprintSkillRef>;
116
+ mcps: Array<BlueprintMcpRef>;
117
+ replays: Array<BlueprintReplayRef>;
118
+ };
119
+ export type WebsiteMetadata = {
120
+ title?: string;
121
+ description?: string;
122
+ longDescription?: string;
123
+ image?: string;
124
+ favicon?: string;
125
+ supportUrl?: string;
126
+ privacyPolicyUrl?: string;
127
+ };
71
128
  export type ReplayPresignDownloadResponse = {
72
129
  url: string;
73
130
  expiresAt: string;
@@ -251,6 +308,7 @@ export type Skill = {
251
308
  orgId: string;
252
309
  userId: string | null;
253
310
  publisherId: string | null;
311
+ parentId: string | null;
254
312
  websiteMetadata: WebsiteMetadata | null;
255
313
  sortOrder: number | null;
256
314
  popularityScore: number | null;
@@ -260,17 +318,10 @@ export type Skill = {
260
318
  createdAt: string;
261
319
  updatedAt: string;
262
320
  archivedAt: string | null;
321
+ deprecatedAt: string | null;
322
+ deprecationMessage: string | null;
263
323
  tags?: Array<string>;
264
324
  };
265
- export type WebsiteMetadata = {
266
- title?: string;
267
- description?: string;
268
- longDescription?: string;
269
- image?: string;
270
- favicon?: string;
271
- supportUrl?: string;
272
- privacyPolicyUrl?: string;
273
- };
274
325
  export type Repository = {
275
326
  url?: string;
276
327
  source?: string;
@@ -332,6 +383,12 @@ export type AuthRequirementMcp = {
332
383
  satisfied: boolean;
333
384
  neededByAgentIds: Array<string>;
334
385
  };
386
+ export type SessionMessagesPage = {
387
+ items: Array<ReplayMessage>;
388
+ pageNumber: number;
389
+ pageSize: number;
390
+ total: number;
391
+ };
335
392
  export type OpencodeSession = {
336
393
  id: string;
337
394
  createdById: string;
@@ -382,10 +439,29 @@ export type Replay = {
382
439
  sessionId: string;
383
440
  publisherId: string | null;
384
441
  slug: string;
442
+ shareToken: string | null;
385
443
  websiteMetadata: WebsiteMetadata | null;
386
444
  createdAt: string;
387
445
  updatedAt: string;
388
446
  archivedAt: string | null;
447
+ deprecatedAt: string | null;
448
+ deprecationMessage: string | null;
449
+ };
450
+ export type PublisherMe = {
451
+ org: Publisher | null;
452
+ };
453
+ export type Publisher = {
454
+ id: string;
455
+ organizationId: string | null;
456
+ slug: string;
457
+ name: string;
458
+ description: string | null;
459
+ avatar: string | null;
460
+ url: string | null;
461
+ isVerified: boolean;
462
+ createdAt: string;
463
+ updatedAt: string;
464
+ archivedAt: string | null;
389
465
  };
390
466
  export type ProjectMemoryStore = {
391
467
  id: string;
@@ -427,6 +503,7 @@ export type Project = {
427
503
  export type PodSandboxStatusResponse = {
428
504
  status: "provisioning";
429
505
  workflowId: string;
506
+ phase: "loading" | "resuming" | "provisioning" | "bootstrapping" | "finalizing";
430
507
  } | {
431
508
  status: "ready";
432
509
  sandbox: Sandbox;
@@ -514,11 +591,16 @@ export type ModelsResponse = {
514
591
  default_model: string;
515
592
  providers: Array<ModelProvider>;
516
593
  };
594
+ export type ModelPricing = {
595
+ input_usd_per_million_tokens: number;
596
+ output_usd_per_million_tokens: number;
597
+ };
517
598
  export type ModelEntry = {
518
599
  key: string;
519
600
  name: string;
520
601
  description: string;
521
602
  size?: "large" | "medium" | "small";
603
+ pricing?: ModelPricing;
522
604
  };
523
605
  export type ModelProvider = {
524
606
  key: string;
@@ -607,6 +689,8 @@ export type Mcp = {
607
689
  createdAt: string;
608
690
  updatedAt: string;
609
691
  archivedAt: string | null;
692
+ deprecatedAt: string | null;
693
+ deprecationMessage: string | null;
610
694
  tags?: Array<string>;
611
695
  };
612
696
  export type GithubStatus = {
@@ -738,6 +822,41 @@ export type DashboardSummary = {
738
822
  success_rate: number;
739
823
  autonomy_score: number;
740
824
  };
825
+ export type BlueprintInstallReport = {
826
+ projects: Array<string>;
827
+ agents: Array<string>;
828
+ skills: Array<string>;
829
+ mcps: Array<string>;
830
+ skipped: Array<{
831
+ kind: "skill" | "agent" | "mcp";
832
+ sourceId: string;
833
+ reason: string;
834
+ }>;
835
+ };
836
+ export type BlueprintSelection = {
837
+ projectIds?: Array<string>;
838
+ agentIds?: Array<string>;
839
+ skillIds?: Array<string>;
840
+ mcpIds?: Array<string>;
841
+ replayIds?: Array<string>;
842
+ cronTriggerIds?: Array<string>;
843
+ };
844
+ export type Blueprint = {
845
+ id: string;
846
+ slug: string;
847
+ name: string;
848
+ description: string | null;
849
+ orgId: string;
850
+ userId: string | null;
851
+ publisherId: string | null;
852
+ template: BlueprintTemplate;
853
+ websiteMetadata: WebsiteMetadata | null;
854
+ createdAt: string;
855
+ updatedAt: string;
856
+ archivedAt: string | null;
857
+ deprecatedAt: string | null;
858
+ deprecationMessage: string | null;
859
+ };
741
860
  export type AgentVersion = {
742
861
  id: string;
743
862
  agentId: string;
@@ -768,11 +887,39 @@ export type Agent = {
768
887
  orgId: string;
769
888
  userId: string | null;
770
889
  publisherId: string | null;
890
+ parentId: string | null;
771
891
  websiteMetadata: WebsiteMetadata | null;
772
892
  latestVersionId: string | null;
773
893
  createdAt: string;
774
894
  updatedAt: string;
775
895
  archivedAt: string | null;
896
+ deprecatedAt: string | null;
897
+ deprecationMessage: string | null;
898
+ latestVersion?: AgentLatestVersion | null;
899
+ };
900
+ export type AgentLatestVersion = {
901
+ id: string;
902
+ agentId: string;
903
+ version: string;
904
+ skills: Array<{
905
+ skillId: string;
906
+ skillVersionId?: string | null;
907
+ skill: {
908
+ id: string;
909
+ slug: string;
910
+ name: string;
911
+ icon: string | null;
912
+ };
913
+ }>;
914
+ mcps: Array<{
915
+ mcpId: string;
916
+ mcp: {
917
+ id: string;
918
+ slug: string;
919
+ name: string;
920
+ icon: string | null;
921
+ };
922
+ }>;
776
923
  };
777
924
  /**
778
925
  * Pass 'user' to scope the operation to the authenticated user's private namespace. Omit for the org-wide namespace.
@@ -818,6 +965,19 @@ export type AgentCreateData = {
818
965
  name: string;
819
966
  icon?: string | null;
820
967
  tags?: Array<string>;
968
+ version?: string | "major" | "minor" | "patch";
969
+ description?: string;
970
+ prompt?: string;
971
+ model?: string | null;
972
+ permission?: PermissionConfig;
973
+ skills?: Array<{
974
+ skillId: string;
975
+ skillVersionId?: string | null;
976
+ }>;
977
+ mcps?: Array<{
978
+ mcpId: string;
979
+ }>;
980
+ releaseNotes?: string;
821
981
  };
822
982
  path?: never;
823
983
  query?: {
@@ -988,6 +1148,7 @@ export type AgentUpdateData = {
988
1148
  body?: {
989
1149
  name?: string;
990
1150
  icon?: string | null;
1151
+ websiteMetadata?: WebsiteMetadata | null;
991
1152
  tags?: Array<string>;
992
1153
  };
993
1154
  path: {
@@ -1076,6 +1237,131 @@ export type AgentArchiveResponses = {
1076
1237
  200: Agent;
1077
1238
  };
1078
1239
  export type AgentArchiveResponse = AgentArchiveResponses[keyof AgentArchiveResponses];
1240
+ export type AgentPublishData = {
1241
+ body?: never;
1242
+ path: {
1243
+ id: string;
1244
+ };
1245
+ query?: {
1246
+ /**
1247
+ * Pass 'user' to scope the operation to the authenticated user's private namespace. Omit for the org-wide namespace.
1248
+ */
1249
+ scope?: "user";
1250
+ };
1251
+ url: "/api/agents/{id}/publish";
1252
+ };
1253
+ export type AgentPublishErrors = {
1254
+ /**
1255
+ * Unauthorized
1256
+ */
1257
+ 401: {
1258
+ error: string;
1259
+ };
1260
+ /**
1261
+ * Forbidden
1262
+ */
1263
+ 403: {
1264
+ error: string;
1265
+ };
1266
+ /**
1267
+ * Not found
1268
+ */
1269
+ 404: {
1270
+ error: string;
1271
+ };
1272
+ };
1273
+ export type AgentPublishError = AgentPublishErrors[keyof AgentPublishErrors];
1274
+ export type AgentPublishResponses = {
1275
+ /**
1276
+ * Published agent
1277
+ */
1278
+ 200: Agent;
1279
+ };
1280
+ export type AgentPublishResponse = AgentPublishResponses[keyof AgentPublishResponses];
1281
+ export type AgentDeprecateData = {
1282
+ body?: {
1283
+ message?: string | null;
1284
+ };
1285
+ path: {
1286
+ id: string;
1287
+ };
1288
+ query?: {
1289
+ /**
1290
+ * Pass 'user' to scope the operation to the authenticated user's private namespace. Omit for the org-wide namespace.
1291
+ */
1292
+ scope?: "user";
1293
+ };
1294
+ url: "/api/agents/{id}/deprecate";
1295
+ };
1296
+ export type AgentDeprecateErrors = {
1297
+ /**
1298
+ * Unauthorized
1299
+ */
1300
+ 401: {
1301
+ error: string;
1302
+ };
1303
+ /**
1304
+ * Forbidden
1305
+ */
1306
+ 403: {
1307
+ error: string;
1308
+ };
1309
+ /**
1310
+ * Not found
1311
+ */
1312
+ 404: {
1313
+ error: string;
1314
+ };
1315
+ };
1316
+ export type AgentDeprecateError = AgentDeprecateErrors[keyof AgentDeprecateErrors];
1317
+ export type AgentDeprecateResponses = {
1318
+ /**
1319
+ * Deprecated agent
1320
+ */
1321
+ 200: Agent;
1322
+ };
1323
+ export type AgentDeprecateResponse = AgentDeprecateResponses[keyof AgentDeprecateResponses];
1324
+ export type AgentUndeprecateData = {
1325
+ body?: never;
1326
+ path: {
1327
+ id: string;
1328
+ };
1329
+ query?: {
1330
+ /**
1331
+ * Pass 'user' to scope the operation to the authenticated user's private namespace. Omit for the org-wide namespace.
1332
+ */
1333
+ scope?: "user";
1334
+ };
1335
+ url: "/api/agents/{id}/undeprecate";
1336
+ };
1337
+ export type AgentUndeprecateErrors = {
1338
+ /**
1339
+ * Unauthorized
1340
+ */
1341
+ 401: {
1342
+ error: string;
1343
+ };
1344
+ /**
1345
+ * Forbidden
1346
+ */
1347
+ 403: {
1348
+ error: string;
1349
+ };
1350
+ /**
1351
+ * Not found
1352
+ */
1353
+ 404: {
1354
+ error: string;
1355
+ };
1356
+ };
1357
+ export type AgentUndeprecateError = AgentUndeprecateErrors[keyof AgentUndeprecateErrors];
1358
+ export type AgentUndeprecateResponses = {
1359
+ /**
1360
+ * Undeprecated agent
1361
+ */
1362
+ 200: Agent;
1363
+ };
1364
+ export type AgentUndeprecateResponse = AgentUndeprecateResponses[keyof AgentUndeprecateResponses];
1079
1365
  export type AgentVersionListData = {
1080
1366
  body?: never;
1081
1367
  path: {
@@ -1264,13 +1550,20 @@ export type AgentVersionArchiveResponses = {
1264
1550
  200: AgentVersion;
1265
1551
  };
1266
1552
  export type AgentVersionArchiveResponse = AgentVersionArchiveResponses[keyof AgentVersionArchiveResponses];
1267
- export type BillingGetData = {
1553
+ export type BlueprintListData = {
1268
1554
  body?: never;
1269
1555
  path?: never;
1270
- query?: never;
1271
- url: "/api/billing";
1556
+ query?: {
1557
+ /**
1558
+ * Pass 'user' to scope the operation to the authenticated user's private namespace. Omit for the org-wide namespace.
1559
+ */
1560
+ scope?: "user";
1561
+ limit?: number;
1562
+ offset?: number;
1563
+ };
1564
+ url: "/api/blueprints";
1272
1565
  };
1273
- export type BillingGetErrors = {
1566
+ export type BlueprintListErrors = {
1274
1567
  /**
1275
1568
  * Unauthorized
1276
1569
  */
@@ -1283,38 +1576,38 @@ export type BillingGetErrors = {
1283
1576
  403: {
1284
1577
  error: string;
1285
1578
  };
1286
- /**
1287
- * Not found
1288
- */
1289
- 404: {
1290
- error: string;
1291
- };
1292
1579
  };
1293
- export type BillingGetError = BillingGetErrors[keyof BillingGetErrors];
1294
- export type BillingGetResponses = {
1580
+ export type BlueprintListError = BlueprintListErrors[keyof BlueprintListErrors];
1581
+ export type BlueprintListResponses = {
1295
1582
  /**
1296
- * Billing summary
1583
+ * List of blueprints
1297
1584
  */
1298
- 200: {
1299
- plan: string;
1300
- creditsBalance: string;
1301
- balanceCents: number;
1302
- consumedCredits: string;
1303
- consumedAmountCents: number;
1304
- grantedCredits: string;
1305
- };
1585
+ 200: Array<Blueprint>;
1306
1586
  };
1307
- export type BillingGetResponse = BillingGetResponses[keyof BillingGetResponses];
1308
- export type BillingInvoicesData = {
1309
- body?: never;
1587
+ export type BlueprintListResponse = BlueprintListResponses[keyof BlueprintListResponses];
1588
+ export type BlueprintCreateData = {
1589
+ body?: {
1590
+ name: string;
1591
+ description?: string;
1592
+ websiteMetadata?: WebsiteMetadata | null;
1593
+ selection: BlueprintSelection;
1594
+ };
1310
1595
  path?: never;
1311
1596
  query?: {
1312
- page?: number;
1313
- perPage?: number;
1597
+ /**
1598
+ * Pass 'user' to scope the operation to the authenticated user's private namespace. Omit for the org-wide namespace.
1599
+ */
1600
+ scope?: "user";
1314
1601
  };
1315
- url: "/api/billing/invoices";
1602
+ url: "/api/blueprints";
1316
1603
  };
1317
- export type BillingInvoicesErrors = {
1604
+ export type BlueprintCreateErrors = {
1605
+ /**
1606
+ * Bad request
1607
+ */
1608
+ 400: {
1609
+ error: string;
1610
+ };
1318
1611
  /**
1319
1612
  * Unauthorized
1320
1613
  */
@@ -1328,13 +1621,392 @@ export type BillingInvoicesErrors = {
1328
1621
  error: string;
1329
1622
  };
1330
1623
  };
1331
- export type BillingInvoicesError = BillingInvoicesErrors[keyof BillingInvoicesErrors];
1332
- export type BillingInvoicesResponses = {
1624
+ export type BlueprintCreateError = BlueprintCreateErrors[keyof BlueprintCreateErrors];
1625
+ export type BlueprintCreateResponses = {
1333
1626
  /**
1334
- * Paginated invoice list
1627
+ * Created blueprint
1335
1628
  */
1336
- 200: {
1337
- invoices: Array<{
1629
+ 200: Blueprint;
1630
+ };
1631
+ export type BlueprintCreateResponse = BlueprintCreateResponses[keyof BlueprintCreateResponses];
1632
+ export type BlueprintInstallData = {
1633
+ body?: {
1634
+ source: string;
1635
+ podId: string;
1636
+ };
1637
+ path?: never;
1638
+ query?: {
1639
+ /**
1640
+ * Pass 'user' to scope the operation to the authenticated user's private namespace. Omit for the org-wide namespace.
1641
+ */
1642
+ scope?: "user";
1643
+ };
1644
+ url: "/api/blueprints/install";
1645
+ };
1646
+ export type BlueprintInstallErrors = {
1647
+ /**
1648
+ * Bad request
1649
+ */
1650
+ 400: {
1651
+ error: string;
1652
+ };
1653
+ /**
1654
+ * Unauthorized
1655
+ */
1656
+ 401: {
1657
+ error: string;
1658
+ };
1659
+ /**
1660
+ * Forbidden
1661
+ */
1662
+ 403: {
1663
+ error: string;
1664
+ };
1665
+ /**
1666
+ * Not found
1667
+ */
1668
+ 404: {
1669
+ error: string;
1670
+ };
1671
+ };
1672
+ export type BlueprintInstallError = BlueprintInstallErrors[keyof BlueprintInstallErrors];
1673
+ export type BlueprintInstallResponses = {
1674
+ /**
1675
+ * Install report
1676
+ */
1677
+ 200: BlueprintInstallReport;
1678
+ };
1679
+ export type BlueprintInstallResponse = BlueprintInstallResponses[keyof BlueprintInstallResponses];
1680
+ export type BlueprintGetData = {
1681
+ body?: never;
1682
+ path: {
1683
+ id: string;
1684
+ };
1685
+ query?: {
1686
+ /**
1687
+ * Pass 'user' to scope the operation to the authenticated user's private namespace. Omit for the org-wide namespace.
1688
+ */
1689
+ scope?: "user";
1690
+ };
1691
+ url: "/api/blueprints/{id}";
1692
+ };
1693
+ export type BlueprintGetErrors = {
1694
+ /**
1695
+ * Unauthorized
1696
+ */
1697
+ 401: {
1698
+ error: string;
1699
+ };
1700
+ /**
1701
+ * Forbidden
1702
+ */
1703
+ 403: {
1704
+ error: string;
1705
+ };
1706
+ /**
1707
+ * Not found
1708
+ */
1709
+ 404: {
1710
+ error: string;
1711
+ };
1712
+ };
1713
+ export type BlueprintGetError = BlueprintGetErrors[keyof BlueprintGetErrors];
1714
+ export type BlueprintGetResponses = {
1715
+ /**
1716
+ * Blueprint details
1717
+ */
1718
+ 200: Blueprint;
1719
+ };
1720
+ export type BlueprintGetResponse = BlueprintGetResponses[keyof BlueprintGetResponses];
1721
+ export type BlueprintUpdateData = {
1722
+ body?: {
1723
+ name?: string;
1724
+ description?: string;
1725
+ websiteMetadata?: WebsiteMetadata | null;
1726
+ selection?: BlueprintSelection;
1727
+ };
1728
+ path: {
1729
+ id: string;
1730
+ };
1731
+ query?: {
1732
+ /**
1733
+ * Pass 'user' to scope the operation to the authenticated user's private namespace. Omit for the org-wide namespace.
1734
+ */
1735
+ scope?: "user";
1736
+ };
1737
+ url: "/api/blueprints/{id}";
1738
+ };
1739
+ export type BlueprintUpdateErrors = {
1740
+ /**
1741
+ * Bad request
1742
+ */
1743
+ 400: {
1744
+ error: string;
1745
+ };
1746
+ /**
1747
+ * Unauthorized
1748
+ */
1749
+ 401: {
1750
+ error: string;
1751
+ };
1752
+ /**
1753
+ * Forbidden
1754
+ */
1755
+ 403: {
1756
+ error: string;
1757
+ };
1758
+ /**
1759
+ * Not found
1760
+ */
1761
+ 404: {
1762
+ error: string;
1763
+ };
1764
+ };
1765
+ export type BlueprintUpdateError = BlueprintUpdateErrors[keyof BlueprintUpdateErrors];
1766
+ export type BlueprintUpdateResponses = {
1767
+ /**
1768
+ * Updated blueprint
1769
+ */
1770
+ 200: Blueprint;
1771
+ };
1772
+ export type BlueprintUpdateResponse = BlueprintUpdateResponses[keyof BlueprintUpdateResponses];
1773
+ export type BlueprintPublishData = {
1774
+ body?: never;
1775
+ path: {
1776
+ id: string;
1777
+ };
1778
+ query?: {
1779
+ /**
1780
+ * Pass 'user' to scope the operation to the authenticated user's private namespace. Omit for the org-wide namespace.
1781
+ */
1782
+ scope?: "user";
1783
+ };
1784
+ url: "/api/blueprints/{id}/publish";
1785
+ };
1786
+ export type BlueprintPublishErrors = {
1787
+ /**
1788
+ * Unauthorized
1789
+ */
1790
+ 401: {
1791
+ error: string;
1792
+ };
1793
+ /**
1794
+ * Forbidden
1795
+ */
1796
+ 403: {
1797
+ error: string;
1798
+ };
1799
+ /**
1800
+ * Not found
1801
+ */
1802
+ 404: {
1803
+ error: string;
1804
+ };
1805
+ };
1806
+ export type BlueprintPublishError = BlueprintPublishErrors[keyof BlueprintPublishErrors];
1807
+ export type BlueprintPublishResponses = {
1808
+ /**
1809
+ * Published blueprint
1810
+ */
1811
+ 200: Blueprint;
1812
+ };
1813
+ export type BlueprintPublishResponse = BlueprintPublishResponses[keyof BlueprintPublishResponses];
1814
+ export type BlueprintDeprecateData = {
1815
+ body?: {
1816
+ message?: string | null;
1817
+ };
1818
+ path: {
1819
+ id: string;
1820
+ };
1821
+ query?: {
1822
+ /**
1823
+ * Pass 'user' to scope the operation to the authenticated user's private namespace. Omit for the org-wide namespace.
1824
+ */
1825
+ scope?: "user";
1826
+ };
1827
+ url: "/api/blueprints/{id}/deprecate";
1828
+ };
1829
+ export type BlueprintDeprecateErrors = {
1830
+ /**
1831
+ * Unauthorized
1832
+ */
1833
+ 401: {
1834
+ error: string;
1835
+ };
1836
+ /**
1837
+ * Forbidden
1838
+ */
1839
+ 403: {
1840
+ error: string;
1841
+ };
1842
+ /**
1843
+ * Not found
1844
+ */
1845
+ 404: {
1846
+ error: string;
1847
+ };
1848
+ };
1849
+ export type BlueprintDeprecateError = BlueprintDeprecateErrors[keyof BlueprintDeprecateErrors];
1850
+ export type BlueprintDeprecateResponses = {
1851
+ /**
1852
+ * Deprecated blueprint
1853
+ */
1854
+ 200: Blueprint;
1855
+ };
1856
+ export type BlueprintDeprecateResponse = BlueprintDeprecateResponses[keyof BlueprintDeprecateResponses];
1857
+ export type BlueprintUndeprecateData = {
1858
+ body?: never;
1859
+ path: {
1860
+ id: string;
1861
+ };
1862
+ query?: {
1863
+ /**
1864
+ * Pass 'user' to scope the operation to the authenticated user's private namespace. Omit for the org-wide namespace.
1865
+ */
1866
+ scope?: "user";
1867
+ };
1868
+ url: "/api/blueprints/{id}/undeprecate";
1869
+ };
1870
+ export type BlueprintUndeprecateErrors = {
1871
+ /**
1872
+ * Unauthorized
1873
+ */
1874
+ 401: {
1875
+ error: string;
1876
+ };
1877
+ /**
1878
+ * Forbidden
1879
+ */
1880
+ 403: {
1881
+ error: string;
1882
+ };
1883
+ /**
1884
+ * Not found
1885
+ */
1886
+ 404: {
1887
+ error: string;
1888
+ };
1889
+ };
1890
+ export type BlueprintUndeprecateError = BlueprintUndeprecateErrors[keyof BlueprintUndeprecateErrors];
1891
+ export type BlueprintUndeprecateResponses = {
1892
+ /**
1893
+ * Undeprecated blueprint
1894
+ */
1895
+ 200: Blueprint;
1896
+ };
1897
+ export type BlueprintUndeprecateResponse = BlueprintUndeprecateResponses[keyof BlueprintUndeprecateResponses];
1898
+ export type BlueprintArchiveData = {
1899
+ body?: never;
1900
+ path: {
1901
+ id: string;
1902
+ };
1903
+ query?: {
1904
+ /**
1905
+ * Pass 'user' to scope the operation to the authenticated user's private namespace. Omit for the org-wide namespace.
1906
+ */
1907
+ scope?: "user";
1908
+ };
1909
+ url: "/api/blueprints/{id}/archive";
1910
+ };
1911
+ export type BlueprintArchiveErrors = {
1912
+ /**
1913
+ * Unauthorized
1914
+ */
1915
+ 401: {
1916
+ error: string;
1917
+ };
1918
+ /**
1919
+ * Forbidden
1920
+ */
1921
+ 403: {
1922
+ error: string;
1923
+ };
1924
+ /**
1925
+ * Not found
1926
+ */
1927
+ 404: {
1928
+ error: string;
1929
+ };
1930
+ };
1931
+ export type BlueprintArchiveError = BlueprintArchiveErrors[keyof BlueprintArchiveErrors];
1932
+ export type BlueprintArchiveResponses = {
1933
+ /**
1934
+ * Archived blueprint
1935
+ */
1936
+ 200: Blueprint;
1937
+ };
1938
+ export type BlueprintArchiveResponse = BlueprintArchiveResponses[keyof BlueprintArchiveResponses];
1939
+ export type BillingGetData = {
1940
+ body?: never;
1941
+ path?: never;
1942
+ query?: never;
1943
+ url: "/api/billing";
1944
+ };
1945
+ export type BillingGetErrors = {
1946
+ /**
1947
+ * Unauthorized
1948
+ */
1949
+ 401: {
1950
+ error: string;
1951
+ };
1952
+ /**
1953
+ * Forbidden
1954
+ */
1955
+ 403: {
1956
+ error: string;
1957
+ };
1958
+ /**
1959
+ * Not found
1960
+ */
1961
+ 404: {
1962
+ error: string;
1963
+ };
1964
+ };
1965
+ export type BillingGetError = BillingGetErrors[keyof BillingGetErrors];
1966
+ export type BillingGetResponses = {
1967
+ /**
1968
+ * Billing summary
1969
+ */
1970
+ 200: {
1971
+ plan: string;
1972
+ creditsBalance: string;
1973
+ balanceCents: number;
1974
+ consumedCredits: string;
1975
+ consumedAmountCents: number;
1976
+ grantedCredits: string;
1977
+ };
1978
+ };
1979
+ export type BillingGetResponse = BillingGetResponses[keyof BillingGetResponses];
1980
+ export type BillingInvoicesData = {
1981
+ body?: never;
1982
+ path?: never;
1983
+ query?: {
1984
+ page?: number;
1985
+ perPage?: number;
1986
+ };
1987
+ url: "/api/billing/invoices";
1988
+ };
1989
+ export type BillingInvoicesErrors = {
1990
+ /**
1991
+ * Unauthorized
1992
+ */
1993
+ 401: {
1994
+ error: string;
1995
+ };
1996
+ /**
1997
+ * Forbidden
1998
+ */
1999
+ 403: {
2000
+ error: string;
2001
+ };
2002
+ };
2003
+ export type BillingInvoicesError = BillingInvoicesErrors[keyof BillingInvoicesErrors];
2004
+ export type BillingInvoicesResponses = {
2005
+ /**
2006
+ * Paginated invoice list
2007
+ */
2008
+ 200: {
2009
+ invoices: Array<{
1338
2010
  id: string;
1339
2011
  number: string;
1340
2012
  status: string;
@@ -2654,6 +3326,7 @@ export type McpUpdateData = {
2654
3326
  prompts?: Array<string>;
2655
3327
  auth?: "none" | "oauth" | "api_key" | "basic";
2656
3328
  authConfig?: McpAuthConfig | null;
3329
+ websiteMetadata?: WebsiteMetadata | null;
2657
3330
  tags?: Array<string>;
2658
3331
  };
2659
3332
  path: {
@@ -2734,14 +3407,139 @@ export type McpArchiveErrors = {
2734
3407
  error: string;
2735
3408
  };
2736
3409
  };
2737
- export type McpArchiveError = McpArchiveErrors[keyof McpArchiveErrors];
2738
- export type McpArchiveResponses = {
3410
+ export type McpArchiveError = McpArchiveErrors[keyof McpArchiveErrors];
3411
+ export type McpArchiveResponses = {
3412
+ /**
3413
+ * Archived MCP
3414
+ */
3415
+ 200: Mcp;
3416
+ };
3417
+ export type McpArchiveResponse = McpArchiveResponses[keyof McpArchiveResponses];
3418
+ export type McpPublishData = {
3419
+ body?: never;
3420
+ path: {
3421
+ id: string;
3422
+ };
3423
+ query?: {
3424
+ /**
3425
+ * Pass 'user' to scope the operation to the authenticated user's private namespace. Omit for the org-wide namespace.
3426
+ */
3427
+ scope?: "user";
3428
+ };
3429
+ url: "/api/mcps/{id}/publish";
3430
+ };
3431
+ export type McpPublishErrors = {
3432
+ /**
3433
+ * Unauthorized
3434
+ */
3435
+ 401: {
3436
+ error: string;
3437
+ };
3438
+ /**
3439
+ * Forbidden
3440
+ */
3441
+ 403: {
3442
+ error: string;
3443
+ };
3444
+ /**
3445
+ * Not found
3446
+ */
3447
+ 404: {
3448
+ error: string;
3449
+ };
3450
+ };
3451
+ export type McpPublishError = McpPublishErrors[keyof McpPublishErrors];
3452
+ export type McpPublishResponses = {
3453
+ /**
3454
+ * Published MCP
3455
+ */
3456
+ 200: Mcp;
3457
+ };
3458
+ export type McpPublishResponse = McpPublishResponses[keyof McpPublishResponses];
3459
+ export type McpDeprecateData = {
3460
+ body?: {
3461
+ message?: string | null;
3462
+ };
3463
+ path: {
3464
+ id: string;
3465
+ };
3466
+ query?: {
3467
+ /**
3468
+ * Pass 'user' to scope the operation to the authenticated user's private namespace. Omit for the org-wide namespace.
3469
+ */
3470
+ scope?: "user";
3471
+ };
3472
+ url: "/api/mcps/{id}/deprecate";
3473
+ };
3474
+ export type McpDeprecateErrors = {
3475
+ /**
3476
+ * Unauthorized
3477
+ */
3478
+ 401: {
3479
+ error: string;
3480
+ };
3481
+ /**
3482
+ * Forbidden
3483
+ */
3484
+ 403: {
3485
+ error: string;
3486
+ };
3487
+ /**
3488
+ * Not found
3489
+ */
3490
+ 404: {
3491
+ error: string;
3492
+ };
3493
+ };
3494
+ export type McpDeprecateError = McpDeprecateErrors[keyof McpDeprecateErrors];
3495
+ export type McpDeprecateResponses = {
3496
+ /**
3497
+ * Deprecated MCP
3498
+ */
3499
+ 200: Mcp;
3500
+ };
3501
+ export type McpDeprecateResponse = McpDeprecateResponses[keyof McpDeprecateResponses];
3502
+ export type McpUndeprecateData = {
3503
+ body?: never;
3504
+ path: {
3505
+ id: string;
3506
+ };
3507
+ query?: {
3508
+ /**
3509
+ * Pass 'user' to scope the operation to the authenticated user's private namespace. Omit for the org-wide namespace.
3510
+ */
3511
+ scope?: "user";
3512
+ };
3513
+ url: "/api/mcps/{id}/undeprecate";
3514
+ };
3515
+ export type McpUndeprecateErrors = {
3516
+ /**
3517
+ * Unauthorized
3518
+ */
3519
+ 401: {
3520
+ error: string;
3521
+ };
3522
+ /**
3523
+ * Forbidden
3524
+ */
3525
+ 403: {
3526
+ error: string;
3527
+ };
3528
+ /**
3529
+ * Not found
3530
+ */
3531
+ 404: {
3532
+ error: string;
3533
+ };
3534
+ };
3535
+ export type McpUndeprecateError = McpUndeprecateErrors[keyof McpUndeprecateErrors];
3536
+ export type McpUndeprecateResponses = {
2739
3537
  /**
2740
- * Archived MCP
3538
+ * Undeprecated MCP
2741
3539
  */
2742
3540
  200: Mcp;
2743
3541
  };
2744
- export type McpArchiveResponse = McpArchiveResponses[keyof McpArchiveResponses];
3542
+ export type McpUndeprecateResponse = McpUndeprecateResponses[keyof McpUndeprecateResponses];
2745
3543
  export type McpOauthConnectData = {
2746
3544
  body?: McpOAuthConnectBody;
2747
3545
  path: {
@@ -3482,19 +4280,276 @@ export type PatCreateErrors = {
3482
4280
  403: {
3483
4281
  error: string;
3484
4282
  };
3485
- };
3486
- export type PatCreateError = PatCreateErrors[keyof PatCreateErrors];
3487
- export type PatCreateResponses = {
4283
+ };
4284
+ export type PatCreateError = PatCreateErrors[keyof PatCreateErrors];
4285
+ export type PatCreateResponses = {
4286
+ /**
4287
+ * Created PAT (token shown once)
4288
+ */
4289
+ 200: {
4290
+ pat: Pat;
4291
+ token: string;
4292
+ };
4293
+ };
4294
+ export type PatCreateResponse = PatCreateResponses[keyof PatCreateResponses];
4295
+ export type PatRevokeData = {
4296
+ body?: never;
4297
+ path: {
4298
+ id: string;
4299
+ };
4300
+ query?: {
4301
+ /**
4302
+ * Pass 'user' to scope the operation to the authenticated user's private namespace. Omit for the org-wide namespace.
4303
+ */
4304
+ scope?: "user";
4305
+ };
4306
+ url: "/api/pats/{id}/revoke";
4307
+ };
4308
+ export type PatRevokeErrors = {
4309
+ /**
4310
+ * Unauthorized
4311
+ */
4312
+ 401: {
4313
+ error: string;
4314
+ };
4315
+ /**
4316
+ * Forbidden
4317
+ */
4318
+ 403: {
4319
+ error: string;
4320
+ };
4321
+ /**
4322
+ * Not found
4323
+ */
4324
+ 404: {
4325
+ error: string;
4326
+ };
4327
+ };
4328
+ export type PatRevokeError = PatRevokeErrors[keyof PatRevokeErrors];
4329
+ export type PatRevokeResponses = {
4330
+ /**
4331
+ * Revoked PAT
4332
+ */
4333
+ 200: Pat;
4334
+ };
4335
+ export type PatRevokeResponse = PatRevokeResponses[keyof PatRevokeResponses];
4336
+ export type PodListData = {
4337
+ body?: never;
4338
+ path?: never;
4339
+ query?: {
4340
+ /**
4341
+ * Pass 'user' to scope the operation to the authenticated user's private namespace. Omit for the org-wide namespace.
4342
+ */
4343
+ scope?: "user";
4344
+ orgId?: string;
4345
+ limit?: number;
4346
+ offset?: number;
4347
+ userId?: string | null;
4348
+ };
4349
+ url: "/api/pods";
4350
+ };
4351
+ export type PodListErrors = {
4352
+ /**
4353
+ * Unauthorized
4354
+ */
4355
+ 401: {
4356
+ error: string;
4357
+ };
4358
+ /**
4359
+ * Forbidden
4360
+ */
4361
+ 403: {
4362
+ error: string;
4363
+ };
4364
+ };
4365
+ export type PodListError = PodListErrors[keyof PodListErrors];
4366
+ export type PodListResponses = {
4367
+ /**
4368
+ * List of pods
4369
+ */
4370
+ 200: Array<Pod>;
4371
+ };
4372
+ export type PodListResponse = PodListResponses[keyof PodListResponses];
4373
+ export type PodCreateData = {
4374
+ body?: {
4375
+ name: string;
4376
+ environmentId?: string | null;
4377
+ description?: string;
4378
+ isPrivate?: boolean;
4379
+ isDefault?: boolean;
4380
+ };
4381
+ path?: never;
4382
+ query?: {
4383
+ /**
4384
+ * Pass 'user' to scope the operation to the authenticated user's private namespace. Omit for the org-wide namespace.
4385
+ */
4386
+ scope?: "user";
4387
+ };
4388
+ url: "/api/pods";
4389
+ };
4390
+ export type PodCreateErrors = {
4391
+ /**
4392
+ * Bad request
4393
+ */
4394
+ 400: {
4395
+ error: string;
4396
+ };
4397
+ /**
4398
+ * Unauthorized
4399
+ */
4400
+ 401: {
4401
+ error: string;
4402
+ };
4403
+ /**
4404
+ * Forbidden
4405
+ */
4406
+ 403: {
4407
+ error: string;
4408
+ };
4409
+ };
4410
+ export type PodCreateError = PodCreateErrors[keyof PodCreateErrors];
4411
+ export type PodCreateResponses = {
4412
+ /**
4413
+ * Created pod with freshly provisioned sandbox
4414
+ */
4415
+ 200: PodWithSandbox;
4416
+ };
4417
+ export type PodCreateResponse = PodCreateResponses[keyof PodCreateResponses];
4418
+ export type PodGetData = {
4419
+ body?: never;
4420
+ path: {
4421
+ id: string;
4422
+ };
4423
+ query?: {
4424
+ /**
4425
+ * Pass 'user' to scope the operation to the authenticated user's private namespace. Omit for the org-wide namespace.
4426
+ */
4427
+ scope?: "user";
4428
+ };
4429
+ url: "/api/pods/{id}";
4430
+ };
4431
+ export type PodGetErrors = {
4432
+ /**
4433
+ * Unauthorized
4434
+ */
4435
+ 401: {
4436
+ error: string;
4437
+ };
4438
+ /**
4439
+ * Forbidden
4440
+ */
4441
+ 403: {
4442
+ error: string;
4443
+ };
4444
+ /**
4445
+ * Not found
4446
+ */
4447
+ 404: {
4448
+ error: string;
4449
+ };
4450
+ };
4451
+ export type PodGetError = PodGetErrors[keyof PodGetErrors];
4452
+ export type PodGetResponses = {
4453
+ /**
4454
+ * Pod details
4455
+ */
4456
+ 200: Pod;
4457
+ };
4458
+ export type PodGetResponse = PodGetResponses[keyof PodGetResponses];
4459
+ export type PodUpdateData = {
4460
+ body?: {
4461
+ name?: string;
4462
+ description?: string;
4463
+ isPrivate?: boolean;
4464
+ environmentId?: string | null;
4465
+ };
4466
+ path: {
4467
+ id: string;
4468
+ };
4469
+ query?: {
4470
+ /**
4471
+ * Pass 'user' to scope the operation to the authenticated user's private namespace. Omit for the org-wide namespace.
4472
+ */
4473
+ scope?: "user";
4474
+ };
4475
+ url: "/api/pods/{id}";
4476
+ };
4477
+ export type PodUpdateErrors = {
4478
+ /**
4479
+ * Bad request
4480
+ */
4481
+ 400: {
4482
+ error: string;
4483
+ };
4484
+ /**
4485
+ * Unauthorized
4486
+ */
4487
+ 401: {
4488
+ error: string;
4489
+ };
4490
+ /**
4491
+ * Forbidden
4492
+ */
4493
+ 403: {
4494
+ error: string;
4495
+ };
4496
+ /**
4497
+ * Not found
4498
+ */
4499
+ 404: {
4500
+ error: string;
4501
+ };
4502
+ };
4503
+ export type PodUpdateError = PodUpdateErrors[keyof PodUpdateErrors];
4504
+ export type PodUpdateResponses = {
4505
+ /**
4506
+ * Updated pod
4507
+ */
4508
+ 200: Pod;
4509
+ };
4510
+ export type PodUpdateResponse = PodUpdateResponses[keyof PodUpdateResponses];
4511
+ export type PodArchiveData = {
4512
+ body?: never;
4513
+ path: {
4514
+ id: string;
4515
+ };
4516
+ query?: {
4517
+ /**
4518
+ * Pass 'user' to scope the operation to the authenticated user's private namespace. Omit for the org-wide namespace.
4519
+ */
4520
+ scope?: "user";
4521
+ };
4522
+ url: "/api/pods/{id}/archive";
4523
+ };
4524
+ export type PodArchiveErrors = {
4525
+ /**
4526
+ * Unauthorized
4527
+ */
4528
+ 401: {
4529
+ error: string;
4530
+ };
4531
+ /**
4532
+ * Forbidden
4533
+ */
4534
+ 403: {
4535
+ error: string;
4536
+ };
3488
4537
  /**
3489
- * Created PAT (token shown once)
4538
+ * Not found
3490
4539
  */
3491
- 200: {
3492
- pat: Pat;
3493
- token: string;
4540
+ 404: {
4541
+ error: string;
3494
4542
  };
3495
4543
  };
3496
- export type PatCreateResponse = PatCreateResponses[keyof PatCreateResponses];
3497
- export type PatRevokeData = {
4544
+ export type PodArchiveError = PodArchiveErrors[keyof PodArchiveErrors];
4545
+ export type PodArchiveResponses = {
4546
+ /**
4547
+ * Archived pod
4548
+ */
4549
+ 200: Pod;
4550
+ };
4551
+ export type PodArchiveResponse = PodArchiveResponses[keyof PodArchiveResponses];
4552
+ export type PodMemberListData = {
3498
4553
  body?: never;
3499
4554
  path: {
3500
4555
  id: string;
@@ -3505,9 +4560,9 @@ export type PatRevokeData = {
3505
4560
  */
3506
4561
  scope?: "user";
3507
4562
  };
3508
- url: "/api/pats/{id}/revoke";
4563
+ url: "/api/pods/{id}/members";
3509
4564
  };
3510
- export type PatRevokeErrors = {
4565
+ export type PodMemberListErrors = {
3511
4566
  /**
3512
4567
  * Unauthorized
3513
4568
  */
@@ -3527,30 +4582,37 @@ export type PatRevokeErrors = {
3527
4582
  error: string;
3528
4583
  };
3529
4584
  };
3530
- export type PatRevokeError = PatRevokeErrors[keyof PatRevokeErrors];
3531
- export type PatRevokeResponses = {
4585
+ export type PodMemberListError = PodMemberListErrors[keyof PodMemberListErrors];
4586
+ export type PodMemberListResponses = {
3532
4587
  /**
3533
- * Revoked PAT
4588
+ * List of members
3534
4589
  */
3535
- 200: Pat;
4590
+ 200: Array<PodMember>;
3536
4591
  };
3537
- export type PatRevokeResponse = PatRevokeResponses[keyof PatRevokeResponses];
3538
- export type PodListData = {
3539
- body?: never;
3540
- path?: never;
4592
+ export type PodMemberListResponse = PodMemberListResponses[keyof PodMemberListResponses];
4593
+ export type PodMemberAddData = {
4594
+ body?: {
4595
+ userId: string;
4596
+ role?: "owner" | "member";
4597
+ };
4598
+ path: {
4599
+ id: string;
4600
+ };
3541
4601
  query?: {
3542
4602
  /**
3543
4603
  * Pass 'user' to scope the operation to the authenticated user's private namespace. Omit for the org-wide namespace.
3544
4604
  */
3545
4605
  scope?: "user";
3546
- orgId?: string;
3547
- limit?: number;
3548
- offset?: number;
3549
- userId?: string | null;
3550
4606
  };
3551
- url: "/api/pods";
4607
+ url: "/api/pods/{id}/members";
3552
4608
  };
3553
- export type PodListErrors = {
4609
+ export type PodMemberAddErrors = {
4610
+ /**
4611
+ * Bad request
4612
+ */
4613
+ 400: {
4614
+ error: string;
4615
+ };
3554
4616
  /**
3555
4617
  * Unauthorized
3556
4618
  */
@@ -3563,39 +4625,36 @@ export type PodListErrors = {
3563
4625
  403: {
3564
4626
  error: string;
3565
4627
  };
4628
+ /**
4629
+ * Not found
4630
+ */
4631
+ 404: {
4632
+ error: string;
4633
+ };
3566
4634
  };
3567
- export type PodListError = PodListErrors[keyof PodListErrors];
3568
- export type PodListResponses = {
4635
+ export type PodMemberAddError = PodMemberAddErrors[keyof PodMemberAddErrors];
4636
+ export type PodMemberAddResponses = {
3569
4637
  /**
3570
- * List of pods
4638
+ * Added member
3571
4639
  */
3572
- 200: Array<Pod>;
4640
+ 200: PodMember;
3573
4641
  };
3574
- export type PodListResponse = PodListResponses[keyof PodListResponses];
3575
- export type PodCreateData = {
3576
- body?: {
3577
- name: string;
3578
- environmentId?: string | null;
3579
- description?: string;
3580
- isPrivate?: boolean;
3581
- isDefault?: boolean;
4642
+ export type PodMemberAddResponse = PodMemberAddResponses[keyof PodMemberAddResponses];
4643
+ export type PodMemberRemoveData = {
4644
+ body?: never;
4645
+ path: {
4646
+ id: string;
4647
+ userId: string;
3582
4648
  };
3583
- path?: never;
3584
4649
  query?: {
3585
4650
  /**
3586
4651
  * Pass 'user' to scope the operation to the authenticated user's private namespace. Omit for the org-wide namespace.
3587
4652
  */
3588
4653
  scope?: "user";
3589
4654
  };
3590
- url: "/api/pods";
4655
+ url: "/api/pods/{id}/members/{userId}";
3591
4656
  };
3592
- export type PodCreateErrors = {
3593
- /**
3594
- * Bad request
3595
- */
3596
- 400: {
3597
- error: string;
3598
- };
4657
+ export type PodMemberRemoveErrors = {
3599
4658
  /**
3600
4659
  * Unauthorized
3601
4660
  */
@@ -3608,16 +4667,22 @@ export type PodCreateErrors = {
3608
4667
  403: {
3609
4668
  error: string;
3610
4669
  };
4670
+ /**
4671
+ * Not found
4672
+ */
4673
+ 404: {
4674
+ error: string;
4675
+ };
3611
4676
  };
3612
- export type PodCreateError = PodCreateErrors[keyof PodCreateErrors];
3613
- export type PodCreateResponses = {
4677
+ export type PodMemberRemoveError = PodMemberRemoveErrors[keyof PodMemberRemoveErrors];
4678
+ export type PodMemberRemoveResponses = {
3614
4679
  /**
3615
- * Created pod with freshly provisioned sandbox
4680
+ * Removed member
3616
4681
  */
3617
- 200: PodWithSandbox;
4682
+ 200: PodMember;
3618
4683
  };
3619
- export type PodCreateResponse = PodCreateResponses[keyof PodCreateResponses];
3620
- export type PodGetData = {
4684
+ export type PodMemberRemoveResponse = PodMemberRemoveResponses[keyof PodMemberRemoveResponses];
4685
+ export type PodVaultListData = {
3621
4686
  body?: never;
3622
4687
  path: {
3623
4688
  id: string;
@@ -3628,9 +4693,9 @@ export type PodGetData = {
3628
4693
  */
3629
4694
  scope?: "user";
3630
4695
  };
3631
- url: "/api/pods/{id}";
4696
+ url: "/api/pods/{id}/vaults";
3632
4697
  };
3633
- export type PodGetErrors = {
4698
+ export type PodVaultListErrors = {
3634
4699
  /**
3635
4700
  * Unauthorized
3636
4701
  */
@@ -3650,20 +4715,18 @@ export type PodGetErrors = {
3650
4715
  error: string;
3651
4716
  };
3652
4717
  };
3653
- export type PodGetError = PodGetErrors[keyof PodGetErrors];
3654
- export type PodGetResponses = {
4718
+ export type PodVaultListError = PodVaultListErrors[keyof PodVaultListErrors];
4719
+ export type PodVaultListResponses = {
3655
4720
  /**
3656
- * Pod details
4721
+ * List of vault associations
3657
4722
  */
3658
- 200: Pod;
4723
+ 200: Array<PodVault>;
3659
4724
  };
3660
- export type PodGetResponse = PodGetResponses[keyof PodGetResponses];
3661
- export type PodUpdateData = {
4725
+ export type PodVaultListResponse = PodVaultListResponses[keyof PodVaultListResponses];
4726
+ export type PodVaultAddData = {
3662
4727
  body?: {
3663
- name?: string;
3664
- description?: string;
3665
- isPrivate?: boolean;
3666
- environmentId?: string | null;
4728
+ vaultId: string;
4729
+ priority?: number;
3667
4730
  };
3668
4731
  path: {
3669
4732
  id: string;
@@ -3674,9 +4737,9 @@ export type PodUpdateData = {
3674
4737
  */
3675
4738
  scope?: "user";
3676
4739
  };
3677
- url: "/api/pods/{id}";
4740
+ url: "/api/pods/{id}/vaults";
3678
4741
  };
3679
- export type PodUpdateErrors = {
4742
+ export type PodVaultAddErrors = {
3680
4743
  /**
3681
4744
  * Bad request
3682
4745
  */
@@ -3702,18 +4765,19 @@ export type PodUpdateErrors = {
3702
4765
  error: string;
3703
4766
  };
3704
4767
  };
3705
- export type PodUpdateError = PodUpdateErrors[keyof PodUpdateErrors];
3706
- export type PodUpdateResponses = {
4768
+ export type PodVaultAddError = PodVaultAddErrors[keyof PodVaultAddErrors];
4769
+ export type PodVaultAddResponses = {
3707
4770
  /**
3708
- * Updated pod
4771
+ * Added vault
3709
4772
  */
3710
- 200: Pod;
4773
+ 200: PodVault;
3711
4774
  };
3712
- export type PodUpdateResponse = PodUpdateResponses[keyof PodUpdateResponses];
3713
- export type PodArchiveData = {
4775
+ export type PodVaultAddResponse = PodVaultAddResponses[keyof PodVaultAddResponses];
4776
+ export type PodVaultRemoveData = {
3714
4777
  body?: never;
3715
4778
  path: {
3716
4779
  id: string;
4780
+ vaultId: string;
3717
4781
  };
3718
4782
  query?: {
3719
4783
  /**
@@ -3721,9 +4785,9 @@ export type PodArchiveData = {
3721
4785
  */
3722
4786
  scope?: "user";
3723
4787
  };
3724
- url: "/api/pods/{id}/archive";
4788
+ url: "/api/pods/{id}/vaults/{vaultId}";
3725
4789
  };
3726
- export type PodArchiveErrors = {
4790
+ export type PodVaultRemoveErrors = {
3727
4791
  /**
3728
4792
  * Unauthorized
3729
4793
  */
@@ -3743,18 +4807,18 @@ export type PodArchiveErrors = {
3743
4807
  error: string;
3744
4808
  };
3745
4809
  };
3746
- export type PodArchiveError = PodArchiveErrors[keyof PodArchiveErrors];
3747
- export type PodArchiveResponses = {
4810
+ export type PodVaultRemoveError = PodVaultRemoveErrors[keyof PodVaultRemoveErrors];
4811
+ export type PodVaultRemoveResponses = {
3748
4812
  /**
3749
- * Archived pod
4813
+ * Removed vault
3750
4814
  */
3751
- 200: Pod;
4815
+ 200: PodVault;
3752
4816
  };
3753
- export type PodArchiveResponse = PodArchiveResponses[keyof PodArchiveResponses];
3754
- export type PodMemberListData = {
4817
+ export type PodVaultRemoveResponse = PodVaultRemoveResponses[keyof PodVaultRemoveResponses];
4818
+ export type PodSandboxProvisionData = {
3755
4819
  body?: never;
3756
4820
  path: {
3757
- id: string;
4821
+ podId: string;
3758
4822
  };
3759
4823
  query?: {
3760
4824
  /**
@@ -3762,9 +4826,15 @@ export type PodMemberListData = {
3762
4826
  */
3763
4827
  scope?: "user";
3764
4828
  };
3765
- url: "/api/pods/{id}/members";
4829
+ url: "/api/pods/{podId}/sandbox/provision";
3766
4830
  };
3767
- export type PodMemberListErrors = {
4831
+ export type PodSandboxProvisionErrors = {
4832
+ /**
4833
+ * Bad request
4834
+ */
4835
+ 400: {
4836
+ error: string;
4837
+ };
3768
4838
  /**
3769
4839
  * Unauthorized
3770
4840
  */
@@ -3784,21 +4854,18 @@ export type PodMemberListErrors = {
3784
4854
  error: string;
3785
4855
  };
3786
4856
  };
3787
- export type PodMemberListError = PodMemberListErrors[keyof PodMemberListErrors];
3788
- export type PodMemberListResponses = {
4857
+ export type PodSandboxProvisionError = PodSandboxProvisionErrors[keyof PodSandboxProvisionErrors];
4858
+ export type PodSandboxProvisionResponses = {
3789
4859
  /**
3790
- * List of members
4860
+ * Workflow started or joined
3791
4861
  */
3792
- 200: Array<PodMember>;
4862
+ 200: PodSandboxProvisionResponse;
3793
4863
  };
3794
- export type PodMemberListResponse = PodMemberListResponses[keyof PodMemberListResponses];
3795
- export type PodMemberAddData = {
3796
- body?: {
3797
- userId: string;
3798
- role?: "owner" | "member";
3799
- };
4864
+ export type PodSandboxProvisionResponse2 = PodSandboxProvisionResponses[keyof PodSandboxProvisionResponses];
4865
+ export type PodSandboxStatusData = {
4866
+ body?: never;
3800
4867
  path: {
3801
- id: string;
4868
+ podId: string;
3802
4869
  };
3803
4870
  query?: {
3804
4871
  /**
@@ -3806,9 +4873,9 @@ export type PodMemberAddData = {
3806
4873
  */
3807
4874
  scope?: "user";
3808
4875
  };
3809
- url: "/api/pods/{id}/members";
4876
+ url: "/api/pods/{podId}/sandbox/status";
3810
4877
  };
3811
- export type PodMemberAddErrors = {
4878
+ export type PodSandboxStatusErrors = {
3812
4879
  /**
3813
4880
  * Bad request
3814
4881
  */
@@ -3834,29 +4901,74 @@ export type PodMemberAddErrors = {
3834
4901
  error: string;
3835
4902
  };
3836
4903
  };
3837
- export type PodMemberAddError = PodMemberAddErrors[keyof PodMemberAddErrors];
3838
- export type PodMemberAddResponses = {
4904
+ export type PodSandboxStatusError = PodSandboxStatusErrors[keyof PodSandboxStatusErrors];
4905
+ export type PodSandboxStatusResponses = {
3839
4906
  /**
3840
- * Added member
4907
+ * Current sandbox state
3841
4908
  */
3842
- 200: PodMember;
4909
+ 200: PodSandboxStatusResponse;
3843
4910
  };
3844
- export type PodMemberAddResponse = PodMemberAddResponses[keyof PodMemberAddResponses];
3845
- export type PodMemberRemoveData = {
4911
+ export type PodSandboxStatusResponse2 = PodSandboxStatusResponses[keyof PodSandboxStatusResponses];
4912
+ export type ProjectListData = {
3846
4913
  body?: never;
3847
- path: {
3848
- id: string;
3849
- userId: string;
4914
+ path?: never;
4915
+ query?: {
4916
+ /**
4917
+ * Pass 'user' to scope the operation to the authenticated user's private namespace. Omit for the org-wide namespace.
4918
+ */
4919
+ scope?: "user";
4920
+ limit?: number;
4921
+ offset?: number;
4922
+ podId?: string;
4923
+ };
4924
+ url: "/api/projects";
4925
+ };
4926
+ export type ProjectListErrors = {
4927
+ /**
4928
+ * Unauthorized
4929
+ */
4930
+ 401: {
4931
+ error: string;
4932
+ };
4933
+ /**
4934
+ * Forbidden
4935
+ */
4936
+ 403: {
4937
+ error: string;
4938
+ };
4939
+ };
4940
+ export type ProjectListError = ProjectListErrors[keyof ProjectListErrors];
4941
+ export type ProjectListResponses = {
4942
+ /**
4943
+ * List of projects
4944
+ */
4945
+ 200: Array<Project>;
4946
+ };
4947
+ export type ProjectListResponse = ProjectListResponses[keyof ProjectListResponses];
4948
+ export type ProjectCreateData = {
4949
+ body?: {
4950
+ podId: string;
4951
+ name: string;
4952
+ description?: string;
4953
+ permission?: PermissionConfig;
4954
+ gitRepo?: ProjectGitRepo | null;
3850
4955
  };
4956
+ path?: never;
3851
4957
  query?: {
3852
4958
  /**
3853
4959
  * Pass 'user' to scope the operation to the authenticated user's private namespace. Omit for the org-wide namespace.
3854
4960
  */
3855
4961
  scope?: "user";
3856
4962
  };
3857
- url: "/api/pods/{id}/members/{userId}";
4963
+ url: "/api/projects";
3858
4964
  };
3859
- export type PodMemberRemoveErrors = {
4965
+ export type ProjectCreateErrors = {
4966
+ /**
4967
+ * Bad request
4968
+ */
4969
+ 400: {
4970
+ error: string;
4971
+ };
3860
4972
  /**
3861
4973
  * Unauthorized
3862
4974
  */
@@ -3870,21 +4982,21 @@ export type PodMemberRemoveErrors = {
3870
4982
  error: string;
3871
4983
  };
3872
4984
  /**
3873
- * Not found
4985
+ * Conflict
3874
4986
  */
3875
- 404: {
4987
+ 409: {
3876
4988
  error: string;
3877
4989
  };
3878
4990
  };
3879
- export type PodMemberRemoveError = PodMemberRemoveErrors[keyof PodMemberRemoveErrors];
3880
- export type PodMemberRemoveResponses = {
4991
+ export type ProjectCreateError = ProjectCreateErrors[keyof ProjectCreateErrors];
4992
+ export type ProjectCreateResponses = {
3881
4993
  /**
3882
- * Removed member
4994
+ * Created project
3883
4995
  */
3884
- 200: PodMember;
4996
+ 200: Project;
3885
4997
  };
3886
- export type PodMemberRemoveResponse = PodMemberRemoveResponses[keyof PodMemberRemoveResponses];
3887
- export type PodVaultListData = {
4998
+ export type ProjectCreateResponse = ProjectCreateResponses[keyof ProjectCreateResponses];
4999
+ export type ProjectGetData = {
3888
5000
  body?: never;
3889
5001
  path: {
3890
5002
  id: string;
@@ -3895,9 +5007,9 @@ export type PodVaultListData = {
3895
5007
  */
3896
5008
  scope?: "user";
3897
5009
  };
3898
- url: "/api/pods/{id}/vaults";
5010
+ url: "/api/projects/{id}";
3899
5011
  };
3900
- export type PodVaultListErrors = {
5012
+ export type ProjectGetErrors = {
3901
5013
  /**
3902
5014
  * Unauthorized
3903
5015
  */
@@ -3917,18 +5029,20 @@ export type PodVaultListErrors = {
3917
5029
  error: string;
3918
5030
  };
3919
5031
  };
3920
- export type PodVaultListError = PodVaultListErrors[keyof PodVaultListErrors];
3921
- export type PodVaultListResponses = {
5032
+ export type ProjectGetError = ProjectGetErrors[keyof ProjectGetErrors];
5033
+ export type ProjectGetResponses = {
3922
5034
  /**
3923
- * List of vault associations
5035
+ * Project details
3924
5036
  */
3925
- 200: Array<PodVault>;
5037
+ 200: Project;
3926
5038
  };
3927
- export type PodVaultListResponse = PodVaultListResponses[keyof PodVaultListResponses];
3928
- export type PodVaultAddData = {
5039
+ export type ProjectGetResponse = ProjectGetResponses[keyof ProjectGetResponses];
5040
+ export type ProjectUpdateData = {
3929
5041
  body?: {
3930
- vaultId: string;
3931
- priority?: number;
5042
+ name?: string;
5043
+ description?: string;
5044
+ permission?: PermissionConfig;
5045
+ gitRepo?: ProjectGitRepo | null;
3932
5046
  };
3933
5047
  path: {
3934
5048
  id: string;
@@ -3939,9 +5053,9 @@ export type PodVaultAddData = {
3939
5053
  */
3940
5054
  scope?: "user";
3941
5055
  };
3942
- url: "/api/pods/{id}/vaults";
5056
+ url: "/api/projects/{id}";
3943
5057
  };
3944
- export type PodVaultAddErrors = {
5058
+ export type ProjectUpdateErrors = {
3945
5059
  /**
3946
5060
  * Bad request
3947
5061
  */
@@ -3967,19 +5081,18 @@ export type PodVaultAddErrors = {
3967
5081
  error: string;
3968
5082
  };
3969
5083
  };
3970
- export type PodVaultAddError = PodVaultAddErrors[keyof PodVaultAddErrors];
3971
- export type PodVaultAddResponses = {
5084
+ export type ProjectUpdateError = ProjectUpdateErrors[keyof ProjectUpdateErrors];
5085
+ export type ProjectUpdateResponses = {
3972
5086
  /**
3973
- * Added vault
5087
+ * Updated project
3974
5088
  */
3975
- 200: PodVault;
5089
+ 200: Project;
3976
5090
  };
3977
- export type PodVaultAddResponse = PodVaultAddResponses[keyof PodVaultAddResponses];
3978
- export type PodVaultRemoveData = {
5091
+ export type ProjectUpdateResponse = ProjectUpdateResponses[keyof ProjectUpdateResponses];
5092
+ export type ProjectAgentListData = {
3979
5093
  body?: never;
3980
5094
  path: {
3981
5095
  id: string;
3982
- vaultId: string;
3983
5096
  };
3984
5097
  query?: {
3985
5098
  /**
@@ -3987,9 +5100,9 @@ export type PodVaultRemoveData = {
3987
5100
  */
3988
5101
  scope?: "user";
3989
5102
  };
3990
- url: "/api/pods/{id}/vaults/{vaultId}";
5103
+ url: "/api/projects/{id}/agents";
3991
5104
  };
3992
- export type PodVaultRemoveErrors = {
5105
+ export type ProjectAgentListErrors = {
3993
5106
  /**
3994
5107
  * Unauthorized
3995
5108
  */
@@ -4009,18 +5122,22 @@ export type PodVaultRemoveErrors = {
4009
5122
  error: string;
4010
5123
  };
4011
5124
  };
4012
- export type PodVaultRemoveError = PodVaultRemoveErrors[keyof PodVaultRemoveErrors];
4013
- export type PodVaultRemoveResponses = {
5125
+ export type ProjectAgentListError = ProjectAgentListErrors[keyof ProjectAgentListErrors];
5126
+ export type ProjectAgentListResponses = {
4014
5127
  /**
4015
- * Removed vault
5128
+ * List of agent memberships
4016
5129
  */
4017
- 200: PodVault;
5130
+ 200: Array<ProjectAgent>;
4018
5131
  };
4019
- export type PodVaultRemoveResponse = PodVaultRemoveResponses[keyof PodVaultRemoveResponses];
4020
- export type PodSandboxProvisionData = {
4021
- body?: never;
5132
+ export type ProjectAgentListResponse = ProjectAgentListResponses[keyof ProjectAgentListResponses];
5133
+ export type ProjectAgentAddData = {
5134
+ body?: {
5135
+ agentId: string;
5136
+ agentVersionId?: string | null;
5137
+ type?: "primary" | "subagent" | "all";
5138
+ };
4022
5139
  path: {
4023
- podId: string;
5140
+ id: string;
4024
5141
  };
4025
5142
  query?: {
4026
5143
  /**
@@ -4028,9 +5145,9 @@ export type PodSandboxProvisionData = {
4028
5145
  */
4029
5146
  scope?: "user";
4030
5147
  };
4031
- url: "/api/pods/{podId}/sandbox/provision";
5148
+ url: "/api/projects/{id}/agents";
4032
5149
  };
4033
- export type PodSandboxProvisionErrors = {
5150
+ export type ProjectAgentAddErrors = {
4034
5151
  /**
4035
5152
  * Bad request
4036
5153
  */
@@ -4056,18 +5173,19 @@ export type PodSandboxProvisionErrors = {
4056
5173
  error: string;
4057
5174
  };
4058
5175
  };
4059
- export type PodSandboxProvisionError = PodSandboxProvisionErrors[keyof PodSandboxProvisionErrors];
4060
- export type PodSandboxProvisionResponses = {
5176
+ export type ProjectAgentAddError = ProjectAgentAddErrors[keyof ProjectAgentAddErrors];
5177
+ export type ProjectAgentAddResponses = {
4061
5178
  /**
4062
- * Workflow started or joined
5179
+ * Attached agent
4063
5180
  */
4064
- 200: PodSandboxProvisionResponse;
5181
+ 200: ProjectAgent;
4065
5182
  };
4066
- export type PodSandboxProvisionResponse2 = PodSandboxProvisionResponses[keyof PodSandboxProvisionResponses];
4067
- export type PodSandboxStatusData = {
5183
+ export type ProjectAgentAddResponse = ProjectAgentAddResponses[keyof ProjectAgentAddResponses];
5184
+ export type ProjectAgentRemoveData = {
4068
5185
  body?: never;
4069
5186
  path: {
4070
- podId: string;
5187
+ id: string;
5188
+ agentId: string;
4071
5189
  };
4072
5190
  query?: {
4073
5191
  /**
@@ -4075,15 +5193,9 @@ export type PodSandboxStatusData = {
4075
5193
  */
4076
5194
  scope?: "user";
4077
5195
  };
4078
- url: "/api/pods/{podId}/sandbox/status";
5196
+ url: "/api/projects/{id}/agents/{agentId}";
4079
5197
  };
4080
- export type PodSandboxStatusErrors = {
4081
- /**
4082
- * Bad request
4083
- */
4084
- 400: {
4085
- error: string;
4086
- };
5198
+ export type ProjectAgentRemoveErrors = {
4087
5199
  /**
4088
5200
  * Unauthorized
4089
5201
  */
@@ -4103,29 +5215,28 @@ export type PodSandboxStatusErrors = {
4103
5215
  error: string;
4104
5216
  };
4105
5217
  };
4106
- export type PodSandboxStatusError = PodSandboxStatusErrors[keyof PodSandboxStatusErrors];
4107
- export type PodSandboxStatusResponses = {
5218
+ export type ProjectAgentRemoveError = ProjectAgentRemoveErrors[keyof ProjectAgentRemoveErrors];
5219
+ export type ProjectAgentRemoveResponses = {
4108
5220
  /**
4109
- * Current sandbox state
5221
+ * Detached agent
4110
5222
  */
4111
- 200: PodSandboxStatusResponse;
5223
+ 200: ProjectAgent;
4112
5224
  };
4113
- export type PodSandboxStatusResponse2 = PodSandboxStatusResponses[keyof PodSandboxStatusResponses];
4114
- export type ProjectListData = {
5225
+ export type ProjectAgentRemoveResponse = ProjectAgentRemoveResponses[keyof ProjectAgentRemoveResponses];
5226
+ export type ProjectFileStoreListData = {
4115
5227
  body?: never;
4116
- path?: never;
5228
+ path: {
5229
+ id: string;
5230
+ };
4117
5231
  query?: {
4118
5232
  /**
4119
5233
  * Pass 'user' to scope the operation to the authenticated user's private namespace. Omit for the org-wide namespace.
4120
5234
  */
4121
5235
  scope?: "user";
4122
- limit?: number;
4123
- offset?: number;
4124
- podId?: string;
4125
5236
  };
4126
- url: "/api/projects";
5237
+ url: "/api/projects/{id}/file-stores";
4127
5238
  };
4128
- export type ProjectListErrors = {
5239
+ export type ProjectFileStoreListErrors = {
4129
5240
  /**
4130
5241
  * Unauthorized
4131
5242
  */
@@ -4138,33 +5249,37 @@ export type ProjectListErrors = {
4138
5249
  403: {
4139
5250
  error: string;
4140
5251
  };
5252
+ /**
5253
+ * Not found
5254
+ */
5255
+ 404: {
5256
+ error: string;
5257
+ };
4141
5258
  };
4142
- export type ProjectListError = ProjectListErrors[keyof ProjectListErrors];
4143
- export type ProjectListResponses = {
5259
+ export type ProjectFileStoreListError = ProjectFileStoreListErrors[keyof ProjectFileStoreListErrors];
5260
+ export type ProjectFileStoreListResponses = {
4144
5261
  /**
4145
- * List of projects
5262
+ * List of file store attachments
4146
5263
  */
4147
- 200: Array<Project>;
5264
+ 200: Array<ProjectFileStore>;
4148
5265
  };
4149
- export type ProjectListResponse = ProjectListResponses[keyof ProjectListResponses];
4150
- export type ProjectCreateData = {
5266
+ export type ProjectFileStoreListResponse = ProjectFileStoreListResponses[keyof ProjectFileStoreListResponses];
5267
+ export type ProjectFileStoreAddData = {
4151
5268
  body?: {
4152
- podId: string;
4153
- name: string;
4154
- description?: string;
4155
- permission?: PermissionConfig;
4156
- gitRepo?: ProjectGitRepo | null;
5269
+ fileStoreId: string;
5270
+ };
5271
+ path: {
5272
+ id: string;
4157
5273
  };
4158
- path?: never;
4159
5274
  query?: {
4160
5275
  /**
4161
5276
  * Pass 'user' to scope the operation to the authenticated user's private namespace. Omit for the org-wide namespace.
4162
5277
  */
4163
5278
  scope?: "user";
4164
5279
  };
4165
- url: "/api/projects";
5280
+ url: "/api/projects/{id}/file-stores";
4166
5281
  };
4167
- export type ProjectCreateErrors = {
5282
+ export type ProjectFileStoreAddErrors = {
4168
5283
  /**
4169
5284
  * Bad request
4170
5285
  */
@@ -4184,24 +5299,25 @@ export type ProjectCreateErrors = {
4184
5299
  error: string;
4185
5300
  };
4186
5301
  /**
4187
- * Conflict
5302
+ * Not found
4188
5303
  */
4189
- 409: {
5304
+ 404: {
4190
5305
  error: string;
4191
5306
  };
4192
5307
  };
4193
- export type ProjectCreateError = ProjectCreateErrors[keyof ProjectCreateErrors];
4194
- export type ProjectCreateResponses = {
5308
+ export type ProjectFileStoreAddError = ProjectFileStoreAddErrors[keyof ProjectFileStoreAddErrors];
5309
+ export type ProjectFileStoreAddResponses = {
4195
5310
  /**
4196
- * Created project
5311
+ * Attached file store
4197
5312
  */
4198
- 200: Project;
5313
+ 200: ProjectFileStore;
4199
5314
  };
4200
- export type ProjectCreateResponse = ProjectCreateResponses[keyof ProjectCreateResponses];
4201
- export type ProjectGetData = {
5315
+ export type ProjectFileStoreAddResponse = ProjectFileStoreAddResponses[keyof ProjectFileStoreAddResponses];
5316
+ export type ProjectFileStoreRemoveData = {
4202
5317
  body?: never;
4203
5318
  path: {
4204
5319
  id: string;
5320
+ fileStoreId: string;
4205
5321
  };
4206
5322
  query?: {
4207
5323
  /**
@@ -4209,9 +5325,9 @@ export type ProjectGetData = {
4209
5325
  */
4210
5326
  scope?: "user";
4211
5327
  };
4212
- url: "/api/projects/{id}";
5328
+ url: "/api/projects/{id}/file-stores/{fileStoreId}";
4213
5329
  };
4214
- export type ProjectGetErrors = {
5330
+ export type ProjectFileStoreRemoveErrors = {
4215
5331
  /**
4216
5332
  * Unauthorized
4217
5333
  */
@@ -4231,21 +5347,16 @@ export type ProjectGetErrors = {
4231
5347
  error: string;
4232
5348
  };
4233
5349
  };
4234
- export type ProjectGetError = ProjectGetErrors[keyof ProjectGetErrors];
4235
- export type ProjectGetResponses = {
5350
+ export type ProjectFileStoreRemoveError = ProjectFileStoreRemoveErrors[keyof ProjectFileStoreRemoveErrors];
5351
+ export type ProjectFileStoreRemoveResponses = {
4236
5352
  /**
4237
- * Project details
5353
+ * Detached file store
4238
5354
  */
4239
- 200: Project;
5355
+ 200: ProjectFileStore;
4240
5356
  };
4241
- export type ProjectGetResponse = ProjectGetResponses[keyof ProjectGetResponses];
4242
- export type ProjectUpdateData = {
4243
- body?: {
4244
- name?: string;
4245
- description?: string;
4246
- permission?: PermissionConfig;
4247
- gitRepo?: ProjectGitRepo | null;
4248
- };
5357
+ export type ProjectFileStoreRemoveResponse = ProjectFileStoreRemoveResponses[keyof ProjectFileStoreRemoveResponses];
5358
+ export type ProjectMemoryStoreListData = {
5359
+ body?: never;
4249
5360
  path: {
4250
5361
  id: string;
4251
5362
  };
@@ -4255,15 +5366,9 @@ export type ProjectUpdateData = {
4255
5366
  */
4256
5367
  scope?: "user";
4257
5368
  };
4258
- url: "/api/projects/{id}";
5369
+ url: "/api/projects/{id}/memory-stores";
4259
5370
  };
4260
- export type ProjectUpdateErrors = {
4261
- /**
4262
- * Bad request
4263
- */
4264
- 400: {
4265
- error: string;
4266
- };
5371
+ export type ProjectMemoryStoreListErrors = {
4267
5372
  /**
4268
5373
  * Unauthorized
4269
5374
  */
@@ -4283,16 +5388,18 @@ export type ProjectUpdateErrors = {
4283
5388
  error: string;
4284
5389
  };
4285
5390
  };
4286
- export type ProjectUpdateError = ProjectUpdateErrors[keyof ProjectUpdateErrors];
4287
- export type ProjectUpdateResponses = {
5391
+ export type ProjectMemoryStoreListError = ProjectMemoryStoreListErrors[keyof ProjectMemoryStoreListErrors];
5392
+ export type ProjectMemoryStoreListResponses = {
4288
5393
  /**
4289
- * Updated project
5394
+ * List of memory store attachments
4290
5395
  */
4291
- 200: Project;
5396
+ 200: Array<ProjectMemoryStore>;
4292
5397
  };
4293
- export type ProjectUpdateResponse = ProjectUpdateResponses[keyof ProjectUpdateResponses];
4294
- export type ProjectAgentListData = {
4295
- body?: never;
5398
+ export type ProjectMemoryStoreListResponse = ProjectMemoryStoreListResponses[keyof ProjectMemoryStoreListResponses];
5399
+ export type ProjectMemoryStoreAddData = {
5400
+ body?: {
5401
+ memoryStoreId: string;
5402
+ };
4296
5403
  path: {
4297
5404
  id: string;
4298
5405
  };
@@ -4302,9 +5409,15 @@ export type ProjectAgentListData = {
4302
5409
  */
4303
5410
  scope?: "user";
4304
5411
  };
4305
- url: "/api/projects/{id}/agents";
4306
- };
4307
- export type ProjectAgentListErrors = {
5412
+ url: "/api/projects/{id}/memory-stores";
5413
+ };
5414
+ export type ProjectMemoryStoreAddErrors = {
5415
+ /**
5416
+ * Bad request
5417
+ */
5418
+ 400: {
5419
+ error: string;
5420
+ };
4308
5421
  /**
4309
5422
  * Unauthorized
4310
5423
  */
@@ -4324,22 +5437,19 @@ export type ProjectAgentListErrors = {
4324
5437
  error: string;
4325
5438
  };
4326
5439
  };
4327
- export type ProjectAgentListError = ProjectAgentListErrors[keyof ProjectAgentListErrors];
4328
- export type ProjectAgentListResponses = {
5440
+ export type ProjectMemoryStoreAddError = ProjectMemoryStoreAddErrors[keyof ProjectMemoryStoreAddErrors];
5441
+ export type ProjectMemoryStoreAddResponses = {
4329
5442
  /**
4330
- * List of agent memberships
5443
+ * Attached memory store
4331
5444
  */
4332
- 200: Array<ProjectAgent>;
5445
+ 200: ProjectMemoryStore;
4333
5446
  };
4334
- export type ProjectAgentListResponse = ProjectAgentListResponses[keyof ProjectAgentListResponses];
4335
- export type ProjectAgentAddData = {
4336
- body?: {
4337
- agentId: string;
4338
- agentVersionId?: string | null;
4339
- type?: "primary" | "subagent" | "all";
4340
- };
5447
+ export type ProjectMemoryStoreAddResponse = ProjectMemoryStoreAddResponses[keyof ProjectMemoryStoreAddResponses];
5448
+ export type ProjectMemoryStoreRemoveData = {
5449
+ body?: never;
4341
5450
  path: {
4342
5451
  id: string;
5452
+ memoryStoreId: string;
4343
5453
  };
4344
5454
  query?: {
4345
5455
  /**
@@ -4347,15 +5457,9 @@ export type ProjectAgentAddData = {
4347
5457
  */
4348
5458
  scope?: "user";
4349
5459
  };
4350
- url: "/api/projects/{id}/agents";
5460
+ url: "/api/projects/{id}/memory-stores/{memoryStoreId}";
4351
5461
  };
4352
- export type ProjectAgentAddErrors = {
4353
- /**
4354
- * Bad request
4355
- */
4356
- 400: {
4357
- error: string;
4358
- };
5462
+ export type ProjectMemoryStoreRemoveErrors = {
4359
5463
  /**
4360
5464
  * Unauthorized
4361
5465
  */
@@ -4375,19 +5479,18 @@ export type ProjectAgentAddErrors = {
4375
5479
  error: string;
4376
5480
  };
4377
5481
  };
4378
- export type ProjectAgentAddError = ProjectAgentAddErrors[keyof ProjectAgentAddErrors];
4379
- export type ProjectAgentAddResponses = {
5482
+ export type ProjectMemoryStoreRemoveError = ProjectMemoryStoreRemoveErrors[keyof ProjectMemoryStoreRemoveErrors];
5483
+ export type ProjectMemoryStoreRemoveResponses = {
4380
5484
  /**
4381
- * Attached agent
5485
+ * Detached memory store
4382
5486
  */
4383
- 200: ProjectAgent;
5487
+ 200: ProjectMemoryStore;
4384
5488
  };
4385
- export type ProjectAgentAddResponse = ProjectAgentAddResponses[keyof ProjectAgentAddResponses];
4386
- export type ProjectAgentRemoveData = {
5489
+ export type ProjectMemoryStoreRemoveResponse = ProjectMemoryStoreRemoveResponses[keyof ProjectMemoryStoreRemoveResponses];
5490
+ export type ProjectArchiveData = {
4387
5491
  body?: never;
4388
5492
  path: {
4389
5493
  id: string;
4390
- agentId: string;
4391
5494
  };
4392
5495
  query?: {
4393
5496
  /**
@@ -4395,9 +5498,9 @@ export type ProjectAgentRemoveData = {
4395
5498
  */
4396
5499
  scope?: "user";
4397
5500
  };
4398
- url: "/api/projects/{id}/agents/{agentId}";
5501
+ url: "/api/projects/{id}/archive";
4399
5502
  };
4400
- export type ProjectAgentRemoveErrors = {
5503
+ export type ProjectArchiveErrors = {
4401
5504
  /**
4402
5505
  * Unauthorized
4403
5506
  */
@@ -4417,28 +5520,26 @@ export type ProjectAgentRemoveErrors = {
4417
5520
  error: string;
4418
5521
  };
4419
5522
  };
4420
- export type ProjectAgentRemoveError = ProjectAgentRemoveErrors[keyof ProjectAgentRemoveErrors];
4421
- export type ProjectAgentRemoveResponses = {
5523
+ export type ProjectArchiveError = ProjectArchiveErrors[keyof ProjectArchiveErrors];
5524
+ export type ProjectArchiveResponses = {
4422
5525
  /**
4423
- * Detached agent
5526
+ * Archived project
4424
5527
  */
4425
- 200: ProjectAgent;
5528
+ 200: Project;
4426
5529
  };
4427
- export type ProjectAgentRemoveResponse = ProjectAgentRemoveResponses[keyof ProjectAgentRemoveResponses];
4428
- export type ProjectFileStoreListData = {
5530
+ export type ProjectArchiveResponse = ProjectArchiveResponses[keyof ProjectArchiveResponses];
5531
+ export type PublisherMeData = {
4429
5532
  body?: never;
4430
- path: {
4431
- id: string;
4432
- };
5533
+ path?: never;
4433
5534
  query?: {
4434
5535
  /**
4435
5536
  * Pass 'user' to scope the operation to the authenticated user's private namespace. Omit for the org-wide namespace.
4436
5537
  */
4437
5538
  scope?: "user";
4438
5539
  };
4439
- url: "/api/projects/{id}/file-stores";
5540
+ url: "/api/publishers/me";
4440
5541
  };
4441
- export type ProjectFileStoreListErrors = {
5542
+ export type PublisherMeErrors = {
4442
5543
  /**
4443
5544
  * Unauthorized
4444
5545
  */
@@ -4451,37 +5552,32 @@ export type ProjectFileStoreListErrors = {
4451
5552
  403: {
4452
5553
  error: string;
4453
5554
  };
4454
- /**
4455
- * Not found
4456
- */
4457
- 404: {
4458
- error: string;
4459
- };
4460
5555
  };
4461
- export type ProjectFileStoreListError = ProjectFileStoreListErrors[keyof ProjectFileStoreListErrors];
4462
- export type ProjectFileStoreListResponses = {
5556
+ export type PublisherMeError = PublisherMeErrors[keyof PublisherMeErrors];
5557
+ export type PublisherMeResponses = {
4463
5558
  /**
4464
- * List of file store attachments
5559
+ * Caller's org publisher
4465
5560
  */
4466
- 200: Array<ProjectFileStore>;
5561
+ 200: PublisherMe;
4467
5562
  };
4468
- export type ProjectFileStoreListResponse = ProjectFileStoreListResponses[keyof ProjectFileStoreListResponses];
4469
- export type ProjectFileStoreAddData = {
5563
+ export type PublisherMeResponse = PublisherMeResponses[keyof PublisherMeResponses];
5564
+ export type PublisherClaimOrgData = {
4470
5565
  body?: {
4471
- fileStoreId: string;
4472
- };
4473
- path: {
4474
- id: string;
5566
+ /**
5567
+ * URL-friendly identifier
5568
+ */
5569
+ slug?: string;
4475
5570
  };
5571
+ path?: never;
4476
5572
  query?: {
4477
5573
  /**
4478
5574
  * Pass 'user' to scope the operation to the authenticated user's private namespace. Omit for the org-wide namespace.
4479
5575
  */
4480
5576
  scope?: "user";
4481
5577
  };
4482
- url: "/api/projects/{id}/file-stores";
5578
+ url: "/api/publishers/org";
4483
5579
  };
4484
- export type ProjectFileStoreAddErrors = {
5580
+ export type PublisherClaimOrgErrors = {
4485
5581
  /**
4486
5582
  * Bad request
4487
5583
  */
@@ -4501,25 +5597,24 @@ export type ProjectFileStoreAddErrors = {
4501
5597
  error: string;
4502
5598
  };
4503
5599
  /**
4504
- * Not found
5600
+ * Conflict
4505
5601
  */
4506
- 404: {
5602
+ 409: {
4507
5603
  error: string;
4508
5604
  };
4509
5605
  };
4510
- export type ProjectFileStoreAddError = ProjectFileStoreAddErrors[keyof ProjectFileStoreAddErrors];
4511
- export type ProjectFileStoreAddResponses = {
5606
+ export type PublisherClaimOrgError = PublisherClaimOrgErrors[keyof PublisherClaimOrgErrors];
5607
+ export type PublisherClaimOrgResponses = {
4512
5608
  /**
4513
- * Attached file store
5609
+ * Org publisher
4514
5610
  */
4515
- 200: ProjectFileStore;
5611
+ 200: Publisher;
4516
5612
  };
4517
- export type ProjectFileStoreAddResponse = ProjectFileStoreAddResponses[keyof ProjectFileStoreAddResponses];
4518
- export type ProjectFileStoreRemoveData = {
5613
+ export type PublisherClaimOrgResponse = PublisherClaimOrgResponses[keyof PublisherClaimOrgResponses];
5614
+ export type PublisherGetData = {
4519
5615
  body?: never;
4520
5616
  path: {
4521
5617
  id: string;
4522
- fileStoreId: string;
4523
5618
  };
4524
5619
  query?: {
4525
5620
  /**
@@ -4527,9 +5622,9 @@ export type ProjectFileStoreRemoveData = {
4527
5622
  */
4528
5623
  scope?: "user";
4529
5624
  };
4530
- url: "/api/projects/{id}/file-stores/{fileStoreId}";
5625
+ url: "/api/publishers/{id}";
4531
5626
  };
4532
- export type ProjectFileStoreRemoveErrors = {
5627
+ export type PublisherGetErrors = {
4533
5628
  /**
4534
5629
  * Unauthorized
4535
5630
  */
@@ -4549,16 +5644,25 @@ export type ProjectFileStoreRemoveErrors = {
4549
5644
  error: string;
4550
5645
  };
4551
5646
  };
4552
- export type ProjectFileStoreRemoveError = ProjectFileStoreRemoveErrors[keyof ProjectFileStoreRemoveErrors];
4553
- export type ProjectFileStoreRemoveResponses = {
5647
+ export type PublisherGetError = PublisherGetErrors[keyof PublisherGetErrors];
5648
+ export type PublisherGetResponses = {
4554
5649
  /**
4555
- * Detached file store
5650
+ * Publisher
4556
5651
  */
4557
- 200: ProjectFileStore;
5652
+ 200: Publisher;
4558
5653
  };
4559
- export type ProjectFileStoreRemoveResponse = ProjectFileStoreRemoveResponses[keyof ProjectFileStoreRemoveResponses];
4560
- export type ProjectMemoryStoreListData = {
4561
- body?: never;
5654
+ export type PublisherGetResponse = PublisherGetResponses[keyof PublisherGetResponses];
5655
+ export type PublisherUpdateData = {
5656
+ body?: {
5657
+ name?: string;
5658
+ description?: string | null;
5659
+ avatar?: string | null;
5660
+ url?: string | null;
5661
+ /**
5662
+ * URL-friendly identifier
5663
+ */
5664
+ slug?: string;
5665
+ };
4562
5666
  path: {
4563
5667
  id: string;
4564
5668
  };
@@ -4568,9 +5672,15 @@ export type ProjectMemoryStoreListData = {
4568
5672
  */
4569
5673
  scope?: "user";
4570
5674
  };
4571
- url: "/api/projects/{id}/memory-stores";
5675
+ url: "/api/publishers/{id}";
4572
5676
  };
4573
- export type ProjectMemoryStoreListErrors = {
5677
+ export type PublisherUpdateErrors = {
5678
+ /**
5679
+ * Bad request
5680
+ */
5681
+ 400: {
5682
+ error: string;
5683
+ };
4574
5684
  /**
4575
5685
  * Unauthorized
4576
5686
  */
@@ -4590,30 +5700,67 @@ export type ProjectMemoryStoreListErrors = {
4590
5700
  error: string;
4591
5701
  };
4592
5702
  };
4593
- export type ProjectMemoryStoreListError = ProjectMemoryStoreListErrors[keyof ProjectMemoryStoreListErrors];
4594
- export type ProjectMemoryStoreListResponses = {
5703
+ export type PublisherUpdateError = PublisherUpdateErrors[keyof PublisherUpdateErrors];
5704
+ export type PublisherUpdateResponses = {
4595
5705
  /**
4596
- * List of memory store attachments
5706
+ * Updated publisher
4597
5707
  */
4598
- 200: Array<ProjectMemoryStore>;
5708
+ 200: Publisher;
4599
5709
  };
4600
- export type ProjectMemoryStoreListResponse = ProjectMemoryStoreListResponses[keyof ProjectMemoryStoreListResponses];
4601
- export type ProjectMemoryStoreAddData = {
4602
- body?: {
4603
- memoryStoreId: string;
5710
+ export type PublisherUpdateResponse = PublisherUpdateResponses[keyof PublisherUpdateResponses];
5711
+ export type ReplayListData = {
5712
+ body?: never;
5713
+ path?: never;
5714
+ query?: {
5715
+ /**
5716
+ * Pass 'user' to scope the operation to the authenticated user's private namespace. Omit for the org-wide namespace.
5717
+ */
5718
+ scope?: "user";
5719
+ limit?: number;
5720
+ offset?: number;
5721
+ publisherId?: string;
4604
5722
  };
4605
- path: {
4606
- id: string;
5723
+ url: "/api/replays";
5724
+ };
5725
+ export type ReplayListErrors = {
5726
+ /**
5727
+ * Unauthorized
5728
+ */
5729
+ 401: {
5730
+ error: string;
5731
+ };
5732
+ /**
5733
+ * Forbidden
5734
+ */
5735
+ 403: {
5736
+ error: string;
4607
5737
  };
5738
+ };
5739
+ export type ReplayListError = ReplayListErrors[keyof ReplayListErrors];
5740
+ export type ReplayListResponses = {
5741
+ /**
5742
+ * List
5743
+ */
5744
+ 200: Array<Replay>;
5745
+ };
5746
+ export type ReplayListResponse = ReplayListResponses[keyof ReplayListResponses];
5747
+ export type ReplayCreateData = {
5748
+ body?: {
5749
+ sessionId: string;
5750
+ publisherId?: string | null;
5751
+ websiteMetadata?: WebsiteMetadata | null;
5752
+ shareToken?: string | null;
5753
+ };
5754
+ path?: never;
4608
5755
  query?: {
4609
5756
  /**
4610
5757
  * Pass 'user' to scope the operation to the authenticated user's private namespace. Omit for the org-wide namespace.
4611
5758
  */
4612
5759
  scope?: "user";
4613
5760
  };
4614
- url: "/api/projects/{id}/memory-stores";
5761
+ url: "/api/replays";
4615
5762
  };
4616
- export type ProjectMemoryStoreAddErrors = {
5763
+ export type ReplayCreateErrors = {
4617
5764
  /**
4618
5765
  * Bad request
4619
5766
  */
@@ -4632,26 +5779,19 @@ export type ProjectMemoryStoreAddErrors = {
4632
5779
  403: {
4633
5780
  error: string;
4634
5781
  };
4635
- /**
4636
- * Not found
4637
- */
4638
- 404: {
4639
- error: string;
4640
- };
4641
5782
  };
4642
- export type ProjectMemoryStoreAddError = ProjectMemoryStoreAddErrors[keyof ProjectMemoryStoreAddErrors];
4643
- export type ProjectMemoryStoreAddResponses = {
5783
+ export type ReplayCreateError = ReplayCreateErrors[keyof ReplayCreateErrors];
5784
+ export type ReplayCreateResponses = {
4644
5785
  /**
4645
- * Attached memory store
5786
+ * Created
4646
5787
  */
4647
- 200: ProjectMemoryStore;
5788
+ 200: Replay;
4648
5789
  };
4649
- export type ProjectMemoryStoreAddResponse = ProjectMemoryStoreAddResponses[keyof ProjectMemoryStoreAddResponses];
4650
- export type ProjectMemoryStoreRemoveData = {
5790
+ export type ReplayCreateResponse = ReplayCreateResponses[keyof ReplayCreateResponses];
5791
+ export type ReplayGetData = {
4651
5792
  body?: never;
4652
5793
  path: {
4653
5794
  id: string;
4654
- memoryStoreId: string;
4655
5795
  };
4656
5796
  query?: {
4657
5797
  /**
@@ -4659,9 +5799,9 @@ export type ProjectMemoryStoreRemoveData = {
4659
5799
  */
4660
5800
  scope?: "user";
4661
5801
  };
4662
- url: "/api/projects/{id}/memory-stores/{memoryStoreId}";
5802
+ url: "/api/replays/{id}";
4663
5803
  };
4664
- export type ProjectMemoryStoreRemoveErrors = {
5804
+ export type ReplayGetErrors = {
4665
5805
  /**
4666
5806
  * Unauthorized
4667
5807
  */
@@ -4681,16 +5821,18 @@ export type ProjectMemoryStoreRemoveErrors = {
4681
5821
  error: string;
4682
5822
  };
4683
5823
  };
4684
- export type ProjectMemoryStoreRemoveError = ProjectMemoryStoreRemoveErrors[keyof ProjectMemoryStoreRemoveErrors];
4685
- export type ProjectMemoryStoreRemoveResponses = {
5824
+ export type ReplayGetError = ReplayGetErrors[keyof ReplayGetErrors];
5825
+ export type ReplayGetResponses = {
4686
5826
  /**
4687
- * Detached memory store
5827
+ * Details
4688
5828
  */
4689
- 200: ProjectMemoryStore;
5829
+ 200: Replay;
4690
5830
  };
4691
- export type ProjectMemoryStoreRemoveResponse = ProjectMemoryStoreRemoveResponses[keyof ProjectMemoryStoreRemoveResponses];
4692
- export type ProjectArchiveData = {
4693
- body?: never;
5831
+ export type ReplayGetResponse = ReplayGetResponses[keyof ReplayGetResponses];
5832
+ export type ReplayUpdateData = {
5833
+ body?: {
5834
+ websiteMetadata?: WebsiteMetadata | null;
5835
+ };
4694
5836
  path: {
4695
5837
  id: string;
4696
5838
  };
@@ -4700,9 +5842,15 @@ export type ProjectArchiveData = {
4700
5842
  */
4701
5843
  scope?: "user";
4702
5844
  };
4703
- url: "/api/projects/{id}/archive";
5845
+ url: "/api/replays/{id}";
4704
5846
  };
4705
- export type ProjectArchiveErrors = {
5847
+ export type ReplayUpdateErrors = {
5848
+ /**
5849
+ * Bad request
5850
+ */
5851
+ 400: {
5852
+ error: string;
5853
+ };
4706
5854
  /**
4707
5855
  * Unauthorized
4708
5856
  */
@@ -4722,29 +5870,28 @@ export type ProjectArchiveErrors = {
4722
5870
  error: string;
4723
5871
  };
4724
5872
  };
4725
- export type ProjectArchiveError = ProjectArchiveErrors[keyof ProjectArchiveErrors];
4726
- export type ProjectArchiveResponses = {
5873
+ export type ReplayUpdateError = ReplayUpdateErrors[keyof ReplayUpdateErrors];
5874
+ export type ReplayUpdateResponses = {
4727
5875
  /**
4728
- * Archived project
5876
+ * Updated
4729
5877
  */
4730
- 200: Project;
5878
+ 200: Replay;
4731
5879
  };
4732
- export type ProjectArchiveResponse = ProjectArchiveResponses[keyof ProjectArchiveResponses];
4733
- export type ReplayListData = {
5880
+ export type ReplayUpdateResponse = ReplayUpdateResponses[keyof ReplayUpdateResponses];
5881
+ export type ReplayArchiveData = {
4734
5882
  body?: never;
4735
- path?: never;
5883
+ path: {
5884
+ id: string;
5885
+ };
4736
5886
  query?: {
4737
5887
  /**
4738
5888
  * Pass 'user' to scope the operation to the authenticated user's private namespace. Omit for the org-wide namespace.
4739
5889
  */
4740
5890
  scope?: "user";
4741
- limit?: number;
4742
- offset?: number;
4743
- publisherId?: string;
4744
5891
  };
4745
- url: "/api/replays";
5892
+ url: "/api/replays/{id}/archive";
4746
5893
  };
4747
- export type ReplayListErrors = {
5894
+ export type ReplayArchiveErrors = {
4748
5895
  /**
4749
5896
  * Unauthorized
4750
5897
  */
@@ -4757,37 +5904,35 @@ export type ReplayListErrors = {
4757
5904
  403: {
4758
5905
  error: string;
4759
5906
  };
5907
+ /**
5908
+ * Not found
5909
+ */
5910
+ 404: {
5911
+ error: string;
5912
+ };
4760
5913
  };
4761
- export type ReplayListError = ReplayListErrors[keyof ReplayListErrors];
4762
- export type ReplayListResponses = {
5914
+ export type ReplayArchiveError = ReplayArchiveErrors[keyof ReplayArchiveErrors];
5915
+ export type ReplayArchiveResponses = {
4763
5916
  /**
4764
- * List
5917
+ * Archived
4765
5918
  */
4766
- 200: Array<Replay>;
5919
+ 200: Replay;
4767
5920
  };
4768
- export type ReplayListResponse = ReplayListResponses[keyof ReplayListResponses];
4769
- export type ReplayCreateData = {
4770
- body?: {
4771
- sessionId: string;
4772
- publisherId?: string | null;
4773
- websiteMetadata?: WebsiteMetadata | null;
5921
+ export type ReplayArchiveResponse = ReplayArchiveResponses[keyof ReplayArchiveResponses];
5922
+ export type ReplayPublishData = {
5923
+ body?: never;
5924
+ path: {
5925
+ id: string;
4774
5926
  };
4775
- path?: never;
4776
5927
  query?: {
4777
5928
  /**
4778
5929
  * Pass 'user' to scope the operation to the authenticated user's private namespace. Omit for the org-wide namespace.
4779
5930
  */
4780
5931
  scope?: "user";
4781
5932
  };
4782
- url: "/api/replays";
5933
+ url: "/api/replays/{id}/publish";
4783
5934
  };
4784
- export type ReplayCreateErrors = {
4785
- /**
4786
- * Bad request
4787
- */
4788
- 400: {
4789
- error: string;
4790
- };
5935
+ export type ReplayPublishErrors = {
4791
5936
  /**
4792
5937
  * Unauthorized
4793
5938
  */
@@ -4800,17 +5945,25 @@ export type ReplayCreateErrors = {
4800
5945
  403: {
4801
5946
  error: string;
4802
5947
  };
5948
+ /**
5949
+ * Not found
5950
+ */
5951
+ 404: {
5952
+ error: string;
5953
+ };
4803
5954
  };
4804
- export type ReplayCreateError = ReplayCreateErrors[keyof ReplayCreateErrors];
4805
- export type ReplayCreateResponses = {
5955
+ export type ReplayPublishError = ReplayPublishErrors[keyof ReplayPublishErrors];
5956
+ export type ReplayPublishResponses = {
4806
5957
  /**
4807
- * Created
5958
+ * Published replay
4808
5959
  */
4809
5960
  200: Replay;
4810
5961
  };
4811
- export type ReplayCreateResponse = ReplayCreateResponses[keyof ReplayCreateResponses];
4812
- export type ReplayGetData = {
4813
- body?: never;
5962
+ export type ReplayPublishResponse = ReplayPublishResponses[keyof ReplayPublishResponses];
5963
+ export type ReplayDeprecateData = {
5964
+ body?: {
5965
+ message?: string | null;
5966
+ };
4814
5967
  path: {
4815
5968
  id: string;
4816
5969
  };
@@ -4820,9 +5973,9 @@ export type ReplayGetData = {
4820
5973
  */
4821
5974
  scope?: "user";
4822
5975
  };
4823
- url: "/api/replays/{id}";
5976
+ url: "/api/replays/{id}/deprecate";
4824
5977
  };
4825
- export type ReplayGetErrors = {
5978
+ export type ReplayDeprecateErrors = {
4826
5979
  /**
4827
5980
  * Unauthorized
4828
5981
  */
@@ -4842,15 +5995,15 @@ export type ReplayGetErrors = {
4842
5995
  error: string;
4843
5996
  };
4844
5997
  };
4845
- export type ReplayGetError = ReplayGetErrors[keyof ReplayGetErrors];
4846
- export type ReplayGetResponses = {
5998
+ export type ReplayDeprecateError = ReplayDeprecateErrors[keyof ReplayDeprecateErrors];
5999
+ export type ReplayDeprecateResponses = {
4847
6000
  /**
4848
- * Details
6001
+ * Deprecated replay
4849
6002
  */
4850
6003
  200: Replay;
4851
6004
  };
4852
- export type ReplayGetResponse = ReplayGetResponses[keyof ReplayGetResponses];
4853
- export type ReplayArchiveData = {
6005
+ export type ReplayDeprecateResponse = ReplayDeprecateResponses[keyof ReplayDeprecateResponses];
6006
+ export type ReplayUndeprecateData = {
4854
6007
  body?: never;
4855
6008
  path: {
4856
6009
  id: string;
@@ -4861,9 +6014,9 @@ export type ReplayArchiveData = {
4861
6014
  */
4862
6015
  scope?: "user";
4863
6016
  };
4864
- url: "/api/replays/{id}/archive";
6017
+ url: "/api/replays/{id}/undeprecate";
4865
6018
  };
4866
- export type ReplayArchiveErrors = {
6019
+ export type ReplayUndeprecateErrors = {
4867
6020
  /**
4868
6021
  * Unauthorized
4869
6022
  */
@@ -4883,14 +6036,14 @@ export type ReplayArchiveErrors = {
4883
6036
  error: string;
4884
6037
  };
4885
6038
  };
4886
- export type ReplayArchiveError = ReplayArchiveErrors[keyof ReplayArchiveErrors];
4887
- export type ReplayArchiveResponses = {
6039
+ export type ReplayUndeprecateError = ReplayUndeprecateErrors[keyof ReplayUndeprecateErrors];
6040
+ export type ReplayUndeprecateResponses = {
4888
6041
  /**
4889
- * Archived
6042
+ * Undeprecated replay
4890
6043
  */
4891
6044
  200: Replay;
4892
6045
  };
4893
- export type ReplayArchiveResponse = ReplayArchiveResponses[keyof ReplayArchiveResponses];
6046
+ export type ReplayUndeprecateResponse = ReplayUndeprecateResponses[keyof ReplayUndeprecateResponses];
4894
6047
  export type ReplayShareData = {
4895
6048
  body?: {
4896
6049
  sessionId: string;
@@ -5123,6 +6276,49 @@ export type SessionUpdateResponses = {
5123
6276
  200: OpencodeSession;
5124
6277
  };
5125
6278
  export type SessionUpdateResponse = SessionUpdateResponses[keyof SessionUpdateResponses];
6279
+ export type SessionMessagesListData = {
6280
+ body?: never;
6281
+ path: {
6282
+ id: string;
6283
+ };
6284
+ query?: {
6285
+ /**
6286
+ * Pass 'user' to scope the operation to the authenticated user's private namespace. Omit for the org-wide namespace.
6287
+ */
6288
+ scope?: "user";
6289
+ pageNumber?: number;
6290
+ pageSize?: number;
6291
+ };
6292
+ url: "/api/sessions/{id}/messages";
6293
+ };
6294
+ export type SessionMessagesListErrors = {
6295
+ /**
6296
+ * Unauthorized
6297
+ */
6298
+ 401: {
6299
+ error: string;
6300
+ };
6301
+ /**
6302
+ * Forbidden
6303
+ */
6304
+ 403: {
6305
+ error: string;
6306
+ };
6307
+ /**
6308
+ * Not found
6309
+ */
6310
+ 404: {
6311
+ error: string;
6312
+ };
6313
+ };
6314
+ export type SessionMessagesListError = SessionMessagesListErrors[keyof SessionMessagesListErrors];
6315
+ export type SessionMessagesListResponses = {
6316
+ /**
6317
+ * Paginated session messages
6318
+ */
6319
+ 200: SessionMessagesPage;
6320
+ };
6321
+ export type SessionMessagesListResponse = SessionMessagesListResponses[keyof SessionMessagesListResponses];
5126
6322
  export type SessionAuthRequirementsData = {
5127
6323
  body?: never;
5128
6324
  path: {
@@ -5620,6 +6816,131 @@ export type SkillArchiveResponses = {
5620
6816
  200: Skill;
5621
6817
  };
5622
6818
  export type SkillArchiveResponse = SkillArchiveResponses[keyof SkillArchiveResponses];
6819
+ export type SkillPublishData = {
6820
+ body?: never;
6821
+ path: {
6822
+ id: string;
6823
+ };
6824
+ query?: {
6825
+ /**
6826
+ * Pass 'user' to scope the operation to the authenticated user's private namespace. Omit for the org-wide namespace.
6827
+ */
6828
+ scope?: "user";
6829
+ };
6830
+ url: "/api/skills/{id}/publish";
6831
+ };
6832
+ export type SkillPublishErrors = {
6833
+ /**
6834
+ * Unauthorized
6835
+ */
6836
+ 401: {
6837
+ error: string;
6838
+ };
6839
+ /**
6840
+ * Forbidden
6841
+ */
6842
+ 403: {
6843
+ error: string;
6844
+ };
6845
+ /**
6846
+ * Not found
6847
+ */
6848
+ 404: {
6849
+ error: string;
6850
+ };
6851
+ };
6852
+ export type SkillPublishError = SkillPublishErrors[keyof SkillPublishErrors];
6853
+ export type SkillPublishResponses = {
6854
+ /**
6855
+ * Published skill
6856
+ */
6857
+ 200: Skill;
6858
+ };
6859
+ export type SkillPublishResponse = SkillPublishResponses[keyof SkillPublishResponses];
6860
+ export type SkillDeprecateData = {
6861
+ body?: {
6862
+ message?: string | null;
6863
+ };
6864
+ path: {
6865
+ id: string;
6866
+ };
6867
+ query?: {
6868
+ /**
6869
+ * Pass 'user' to scope the operation to the authenticated user's private namespace. Omit for the org-wide namespace.
6870
+ */
6871
+ scope?: "user";
6872
+ };
6873
+ url: "/api/skills/{id}/deprecate";
6874
+ };
6875
+ export type SkillDeprecateErrors = {
6876
+ /**
6877
+ * Unauthorized
6878
+ */
6879
+ 401: {
6880
+ error: string;
6881
+ };
6882
+ /**
6883
+ * Forbidden
6884
+ */
6885
+ 403: {
6886
+ error: string;
6887
+ };
6888
+ /**
6889
+ * Not found
6890
+ */
6891
+ 404: {
6892
+ error: string;
6893
+ };
6894
+ };
6895
+ export type SkillDeprecateError = SkillDeprecateErrors[keyof SkillDeprecateErrors];
6896
+ export type SkillDeprecateResponses = {
6897
+ /**
6898
+ * Deprecated skill
6899
+ */
6900
+ 200: Skill;
6901
+ };
6902
+ export type SkillDeprecateResponse = SkillDeprecateResponses[keyof SkillDeprecateResponses];
6903
+ export type SkillUndeprecateData = {
6904
+ body?: never;
6905
+ path: {
6906
+ id: string;
6907
+ };
6908
+ query?: {
6909
+ /**
6910
+ * Pass 'user' to scope the operation to the authenticated user's private namespace. Omit for the org-wide namespace.
6911
+ */
6912
+ scope?: "user";
6913
+ };
6914
+ url: "/api/skills/{id}/undeprecate";
6915
+ };
6916
+ export type SkillUndeprecateErrors = {
6917
+ /**
6918
+ * Unauthorized
6919
+ */
6920
+ 401: {
6921
+ error: string;
6922
+ };
6923
+ /**
6924
+ * Forbidden
6925
+ */
6926
+ 403: {
6927
+ error: string;
6928
+ };
6929
+ /**
6930
+ * Not found
6931
+ */
6932
+ 404: {
6933
+ error: string;
6934
+ };
6935
+ };
6936
+ export type SkillUndeprecateError = SkillUndeprecateErrors[keyof SkillUndeprecateErrors];
6937
+ export type SkillUndeprecateResponses = {
6938
+ /**
6939
+ * Undeprecated skill
6940
+ */
6941
+ 200: Skill;
6942
+ };
6943
+ export type SkillUndeprecateResponse = SkillUndeprecateResponses[keyof SkillUndeprecateResponses];
5623
6944
  export type SkillCopyData = {
5624
6945
  body?: {
5625
6946
  name: string;
@@ -5766,6 +7087,12 @@ export type SkillVersionCreateErrors = {
5766
7087
  404: {
5767
7088
  error: string;
5768
7089
  };
7090
+ /**
7091
+ * Conflict
7092
+ */
7093
+ 409: {
7094
+ error: string;
7095
+ };
5769
7096
  };
5770
7097
  export type SkillVersionCreateError = SkillVersionCreateErrors[keyof SkillVersionCreateErrors];
5771
7098
  export type SkillVersionCreateResponses = {
@@ -7078,6 +8405,7 @@ export type RegistryAgentListData = {
7078
8405
  query?: {
7079
8406
  limit?: number;
7080
8407
  offset?: number;
8408
+ includeDeprecated?: boolean;
7081
8409
  };
7082
8410
  url: "/api/registry/agents";
7083
8411
  };
@@ -7128,6 +8456,7 @@ export type RegistrySkillListData = {
7128
8456
  limit?: number;
7129
8457
  offset?: number;
7130
8458
  sort?: "popular" | "trending" | "recent";
8459
+ includeDeprecated?: boolean;
7131
8460
  };
7132
8461
  url: "/api/registry/skills";
7133
8462
  };
@@ -7178,6 +8507,7 @@ export type RegistryMcpListData = {
7178
8507
  limit?: number;
7179
8508
  offset?: number;
7180
8509
  sort?: "popular" | "trending" | "recent";
8510
+ includeDeprecated?: boolean;
7181
8511
  };
7182
8512
  url: "/api/registry/mcps";
7183
8513
  };
@@ -7284,3 +8614,87 @@ export type RegistryReplayFilesPresignDownloadResponses = {
7284
8614
  200: ReplayPresignDownloadResponse;
7285
8615
  };
7286
8616
  export type RegistryReplayFilesPresignDownloadResponse = RegistryReplayFilesPresignDownloadResponses[keyof RegistryReplayFilesPresignDownloadResponses];
8617
+ export type RegistryReplaySharedGetData = {
8618
+ body?: never;
8619
+ path: {
8620
+ token: string;
8621
+ };
8622
+ query?: never;
8623
+ url: "/api/registry/replays/share/{token}";
8624
+ };
8625
+ export type RegistryReplaySharedGetErrors = {
8626
+ /**
8627
+ * Not found
8628
+ */
8629
+ 404: {
8630
+ error: string;
8631
+ };
8632
+ };
8633
+ export type RegistryReplaySharedGetError = RegistryReplaySharedGetErrors[keyof RegistryReplaySharedGetErrors];
8634
+ export type RegistryReplaySharedGetResponses = {
8635
+ /**
8636
+ * Public replay view
8637
+ */
8638
+ 200: ReplayPublicView;
8639
+ };
8640
+ export type RegistryReplaySharedGetResponse = RegistryReplaySharedGetResponses[keyof RegistryReplaySharedGetResponses];
8641
+ export type RegistryReplaySharedFilesPresignDownloadData = {
8642
+ body?: {
8643
+ kind: "outputs" | "uploads";
8644
+ filename: string;
8645
+ };
8646
+ path: {
8647
+ token: string;
8648
+ };
8649
+ query?: never;
8650
+ url: "/api/registry/replays/share/{token}/files/presign-download";
8651
+ };
8652
+ export type RegistryReplaySharedFilesPresignDownloadErrors = {
8653
+ /**
8654
+ * Bad request
8655
+ */
8656
+ 400: {
8657
+ error: string;
8658
+ };
8659
+ /**
8660
+ * Not found
8661
+ */
8662
+ 404: {
8663
+ error: string;
8664
+ };
8665
+ };
8666
+ export type RegistryReplaySharedFilesPresignDownloadError = RegistryReplaySharedFilesPresignDownloadErrors[keyof RegistryReplaySharedFilesPresignDownloadErrors];
8667
+ export type RegistryReplaySharedFilesPresignDownloadResponses = {
8668
+ /**
8669
+ * Presigned download URL
8670
+ */
8671
+ 200: ReplayPresignDownloadResponse;
8672
+ };
8673
+ export type RegistryReplaySharedFilesPresignDownloadResponse = RegistryReplaySharedFilesPresignDownloadResponses[keyof RegistryReplaySharedFilesPresignDownloadResponses];
8674
+ export type RegistryBlueprintGetData = {
8675
+ body?: never;
8676
+ path: {
8677
+ /**
8678
+ * URL-friendly identifier
8679
+ */
8680
+ slug: string;
8681
+ };
8682
+ query?: never;
8683
+ url: "/api/registry/blueprints/{slug}";
8684
+ };
8685
+ export type RegistryBlueprintGetErrors = {
8686
+ /**
8687
+ * Not found
8688
+ */
8689
+ 404: {
8690
+ error: string;
8691
+ };
8692
+ };
8693
+ export type RegistryBlueprintGetError = RegistryBlueprintGetErrors[keyof RegistryBlueprintGetErrors];
8694
+ export type RegistryBlueprintGetResponses = {
8695
+ /**
8696
+ * Public blueprint view
8697
+ */
8698
+ 200: BlueprintPublicView;
8699
+ };
8700
+ export type RegistryBlueprintGetResponse = RegistryBlueprintGetResponses[keyof RegistryBlueprintGetResponses];