vellum-ai 0.8.24 → 0.8.25

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.
Files changed (199) hide show
  1. package/.mock/definition/__package__.yml +141 -0
  2. package/.mock/definition/folderEntities.yml +91 -2
  3. package/.mock/openapi/openapi.yml +300 -2
  4. package/Client.d.ts +3 -3
  5. package/Client.js +11 -11
  6. package/api/resources/adHoc/client/Client.d.ts +3 -3
  7. package/api/resources/adHoc/client/Client.js +2 -2
  8. package/api/resources/deployments/client/Client.d.ts +3 -3
  9. package/api/resources/deployments/client/Client.js +6 -6
  10. package/api/resources/documentIndexes/client/Client.d.ts +3 -3
  11. package/api/resources/documentIndexes/client/Client.js +9 -9
  12. package/api/resources/documents/client/Client.d.ts +3 -3
  13. package/api/resources/documents/client/Client.js +6 -6
  14. package/api/resources/folderEntities/client/Client.d.ts +22 -4
  15. package/api/resources/folderEntities/client/Client.js +80 -4
  16. package/api/resources/folderEntities/client/requests/FolderEntitiesListRequest.d.ts +43 -0
  17. package/api/resources/folderEntities/client/requests/FolderEntitiesListRequest.js +5 -0
  18. package/api/resources/folderEntities/client/requests/index.d.ts +1 -0
  19. package/api/resources/folderEntities/index.d.ts +1 -0
  20. package/api/resources/folderEntities/index.js +1 -0
  21. package/api/resources/folderEntities/types/FolderEntitiesListRequestEntityStatus.d.ts +8 -0
  22. package/api/resources/folderEntities/types/FolderEntitiesListRequestEntityStatus.js +10 -0
  23. package/api/resources/folderEntities/types/index.d.ts +1 -0
  24. package/api/resources/folderEntities/types/index.js +17 -0
  25. package/api/resources/index.d.ts +2 -1
  26. package/api/resources/index.js +3 -2
  27. package/api/resources/metricDefinitions/client/Client.d.ts +3 -3
  28. package/api/resources/metricDefinitions/client/Client.js +2 -2
  29. package/api/resources/sandboxes/client/Client.d.ts +3 -3
  30. package/api/resources/sandboxes/client/Client.js +4 -4
  31. package/api/resources/testSuiteRuns/client/Client.d.ts +3 -3
  32. package/api/resources/testSuiteRuns/client/Client.js +4 -4
  33. package/api/resources/testSuites/client/Client.d.ts +3 -3
  34. package/api/resources/testSuites/client/Client.js +5 -5
  35. package/api/resources/workflowDeployments/client/Client.d.ts +3 -3
  36. package/api/resources/workflowDeployments/client/Client.js +5 -5
  37. package/api/resources/workflowSandboxes/client/Client.d.ts +3 -3
  38. package/api/resources/workflowSandboxes/client/Client.js +2 -2
  39. package/api/types/FolderEntity.d.ts +5 -0
  40. package/api/types/FolderEntity.js +5 -0
  41. package/api/types/FolderEntityDocumentIndex.d.ts +12 -0
  42. package/api/types/FolderEntityDocumentIndex.js +5 -0
  43. package/api/types/FolderEntityDocumentIndexData.d.ts +11 -0
  44. package/api/types/FolderEntityDocumentIndexData.js +5 -0
  45. package/api/types/FolderEntityFolder.d.ts +12 -0
  46. package/api/types/FolderEntityFolder.js +5 -0
  47. package/api/types/FolderEntityFolderData.d.ts +10 -0
  48. package/api/types/FolderEntityFolderData.js +5 -0
  49. package/api/types/FolderEntityPromptSandbox.d.ts +12 -0
  50. package/api/types/FolderEntityPromptSandbox.js +5 -0
  51. package/api/types/FolderEntityPromptSandboxData.d.ts +12 -0
  52. package/api/types/FolderEntityPromptSandboxData.js +5 -0
  53. package/api/types/FolderEntityTestSuite.d.ts +12 -0
  54. package/api/types/FolderEntityTestSuite.js +5 -0
  55. package/api/types/FolderEntityTestSuiteData.d.ts +11 -0
  56. package/api/types/FolderEntityTestSuiteData.js +5 -0
  57. package/api/types/FolderEntityWorkflowSandbox.d.ts +12 -0
  58. package/api/types/FolderEntityWorkflowSandbox.js +5 -0
  59. package/api/types/FolderEntityWorkflowSandboxData.d.ts +12 -0
  60. package/api/types/FolderEntityWorkflowSandboxData.js +5 -0
  61. package/api/types/PaginatedFolderEntityList.d.ts +10 -0
  62. package/api/types/PaginatedFolderEntityList.js +5 -0
  63. package/api/types/index.d.ts +12 -0
  64. package/api/types/index.js +12 -0
  65. package/dist/Client.d.ts +3 -3
  66. package/dist/Client.js +11 -11
  67. package/dist/api/resources/adHoc/client/Client.d.ts +3 -3
  68. package/dist/api/resources/adHoc/client/Client.js +2 -2
  69. package/dist/api/resources/deployments/client/Client.d.ts +3 -3
  70. package/dist/api/resources/deployments/client/Client.js +6 -6
  71. package/dist/api/resources/documentIndexes/client/Client.d.ts +3 -3
  72. package/dist/api/resources/documentIndexes/client/Client.js +9 -9
  73. package/dist/api/resources/documents/client/Client.d.ts +3 -3
  74. package/dist/api/resources/documents/client/Client.js +6 -6
  75. package/dist/api/resources/folderEntities/client/Client.d.ts +22 -4
  76. package/dist/api/resources/folderEntities/client/Client.js +80 -4
  77. package/dist/api/resources/folderEntities/client/requests/FolderEntitiesListRequest.d.ts +43 -0
  78. package/dist/api/resources/folderEntities/client/requests/FolderEntitiesListRequest.js +5 -0
  79. package/dist/api/resources/folderEntities/client/requests/index.d.ts +1 -0
  80. package/dist/api/resources/folderEntities/index.d.ts +1 -0
  81. package/dist/api/resources/folderEntities/index.js +1 -0
  82. package/dist/api/resources/folderEntities/types/FolderEntitiesListRequestEntityStatus.d.ts +8 -0
  83. package/dist/api/resources/folderEntities/types/FolderEntitiesListRequestEntityStatus.js +10 -0
  84. package/dist/api/resources/folderEntities/types/index.d.ts +1 -0
  85. package/dist/api/resources/folderEntities/types/index.js +17 -0
  86. package/dist/api/resources/index.d.ts +2 -1
  87. package/dist/api/resources/index.js +3 -2
  88. package/dist/api/resources/metricDefinitions/client/Client.d.ts +3 -3
  89. package/dist/api/resources/metricDefinitions/client/Client.js +2 -2
  90. package/dist/api/resources/sandboxes/client/Client.d.ts +3 -3
  91. package/dist/api/resources/sandboxes/client/Client.js +4 -4
  92. package/dist/api/resources/testSuiteRuns/client/Client.d.ts +3 -3
  93. package/dist/api/resources/testSuiteRuns/client/Client.js +4 -4
  94. package/dist/api/resources/testSuites/client/Client.d.ts +3 -3
  95. package/dist/api/resources/testSuites/client/Client.js +5 -5
  96. package/dist/api/resources/workflowDeployments/client/Client.d.ts +3 -3
  97. package/dist/api/resources/workflowDeployments/client/Client.js +5 -5
  98. package/dist/api/resources/workflowSandboxes/client/Client.d.ts +3 -3
  99. package/dist/api/resources/workflowSandboxes/client/Client.js +2 -2
  100. package/dist/api/types/FolderEntity.d.ts +5 -0
  101. package/dist/api/types/FolderEntity.js +5 -0
  102. package/dist/api/types/FolderEntityDocumentIndex.d.ts +12 -0
  103. package/dist/api/types/FolderEntityDocumentIndex.js +5 -0
  104. package/dist/api/types/FolderEntityDocumentIndexData.d.ts +11 -0
  105. package/dist/api/types/FolderEntityDocumentIndexData.js +5 -0
  106. package/dist/api/types/FolderEntityFolder.d.ts +12 -0
  107. package/dist/api/types/FolderEntityFolder.js +5 -0
  108. package/dist/api/types/FolderEntityFolderData.d.ts +10 -0
  109. package/dist/api/types/FolderEntityFolderData.js +5 -0
  110. package/dist/api/types/FolderEntityPromptSandbox.d.ts +12 -0
  111. package/dist/api/types/FolderEntityPromptSandbox.js +5 -0
  112. package/dist/api/types/FolderEntityPromptSandboxData.d.ts +12 -0
  113. package/dist/api/types/FolderEntityPromptSandboxData.js +5 -0
  114. package/dist/api/types/FolderEntityTestSuite.d.ts +12 -0
  115. package/dist/api/types/FolderEntityTestSuite.js +5 -0
  116. package/dist/api/types/FolderEntityTestSuiteData.d.ts +11 -0
  117. package/dist/api/types/FolderEntityTestSuiteData.js +5 -0
  118. package/dist/api/types/FolderEntityWorkflowSandbox.d.ts +12 -0
  119. package/dist/api/types/FolderEntityWorkflowSandbox.js +5 -0
  120. package/dist/api/types/FolderEntityWorkflowSandboxData.d.ts +12 -0
  121. package/dist/api/types/FolderEntityWorkflowSandboxData.js +5 -0
  122. package/dist/api/types/PaginatedFolderEntityList.d.ts +10 -0
  123. package/dist/api/types/PaginatedFolderEntityList.js +5 -0
  124. package/dist/api/types/index.d.ts +12 -0
  125. package/dist/api/types/index.js +12 -0
  126. package/dist/serialization/resources/folderEntities/index.d.ts +1 -0
  127. package/dist/serialization/resources/folderEntities/index.js +1 -0
  128. package/dist/serialization/resources/folderEntities/types/FolderEntitiesListRequestEntityStatus.d.ts +10 -0
  129. package/dist/serialization/resources/folderEntities/types/FolderEntitiesListRequestEntityStatus.js +31 -0
  130. package/dist/serialization/resources/folderEntities/types/index.d.ts +1 -0
  131. package/dist/serialization/resources/folderEntities/types/index.js +17 -0
  132. package/dist/serialization/resources/index.d.ts +2 -1
  133. package/dist/serialization/resources/index.js +3 -2
  134. package/dist/serialization/types/FolderEntity.d.ts +15 -0
  135. package/dist/serialization/types/FolderEntity.js +42 -0
  136. package/dist/serialization/types/FolderEntityDocumentIndex.d.ts +15 -0
  137. package/dist/serialization/types/FolderEntityDocumentIndex.js +36 -0
  138. package/dist/serialization/types/FolderEntityDocumentIndexData.d.ts +17 -0
  139. package/dist/serialization/types/FolderEntityDocumentIndexData.js +38 -0
  140. package/dist/serialization/types/FolderEntityFolder.d.ts +15 -0
  141. package/dist/serialization/types/FolderEntityFolder.js +36 -0
  142. package/dist/serialization/types/FolderEntityFolderData.d.ts +16 -0
  143. package/dist/serialization/types/FolderEntityFolderData.js +37 -0
  144. package/dist/serialization/types/FolderEntityPromptSandbox.d.ts +15 -0
  145. package/dist/serialization/types/FolderEntityPromptSandbox.js +36 -0
  146. package/dist/serialization/types/FolderEntityPromptSandboxData.d.ts +18 -0
  147. package/dist/serialization/types/FolderEntityPromptSandboxData.js +39 -0
  148. package/dist/serialization/types/FolderEntityTestSuite.d.ts +15 -0
  149. package/dist/serialization/types/FolderEntityTestSuite.js +36 -0
  150. package/dist/serialization/types/FolderEntityTestSuiteData.d.ts +17 -0
  151. package/dist/serialization/types/FolderEntityTestSuiteData.js +38 -0
  152. package/dist/serialization/types/FolderEntityWorkflowSandbox.d.ts +15 -0
  153. package/dist/serialization/types/FolderEntityWorkflowSandbox.js +36 -0
  154. package/dist/serialization/types/FolderEntityWorkflowSandboxData.d.ts +18 -0
  155. package/dist/serialization/types/FolderEntityWorkflowSandboxData.js +39 -0
  156. package/dist/serialization/types/PaginatedFolderEntityList.d.ts +16 -0
  157. package/dist/serialization/types/PaginatedFolderEntityList.js +37 -0
  158. package/dist/serialization/types/index.d.ts +12 -0
  159. package/dist/serialization/types/index.js +12 -0
  160. package/dist/version.d.ts +1 -1
  161. package/dist/version.js +1 -1
  162. package/package.json +1 -1
  163. package/reference.md +74 -1
  164. package/serialization/resources/folderEntities/index.d.ts +1 -0
  165. package/serialization/resources/folderEntities/index.js +1 -0
  166. package/serialization/resources/folderEntities/types/FolderEntitiesListRequestEntityStatus.d.ts +10 -0
  167. package/serialization/resources/folderEntities/types/FolderEntitiesListRequestEntityStatus.js +31 -0
  168. package/serialization/resources/folderEntities/types/index.d.ts +1 -0
  169. package/serialization/resources/folderEntities/types/index.js +17 -0
  170. package/serialization/resources/index.d.ts +2 -1
  171. package/serialization/resources/index.js +3 -2
  172. package/serialization/types/FolderEntity.d.ts +15 -0
  173. package/serialization/types/FolderEntity.js +42 -0
  174. package/serialization/types/FolderEntityDocumentIndex.d.ts +15 -0
  175. package/serialization/types/FolderEntityDocumentIndex.js +36 -0
  176. package/serialization/types/FolderEntityDocumentIndexData.d.ts +17 -0
  177. package/serialization/types/FolderEntityDocumentIndexData.js +38 -0
  178. package/serialization/types/FolderEntityFolder.d.ts +15 -0
  179. package/serialization/types/FolderEntityFolder.js +36 -0
  180. package/serialization/types/FolderEntityFolderData.d.ts +16 -0
  181. package/serialization/types/FolderEntityFolderData.js +37 -0
  182. package/serialization/types/FolderEntityPromptSandbox.d.ts +15 -0
  183. package/serialization/types/FolderEntityPromptSandbox.js +36 -0
  184. package/serialization/types/FolderEntityPromptSandboxData.d.ts +18 -0
  185. package/serialization/types/FolderEntityPromptSandboxData.js +39 -0
  186. package/serialization/types/FolderEntityTestSuite.d.ts +15 -0
  187. package/serialization/types/FolderEntityTestSuite.js +36 -0
  188. package/serialization/types/FolderEntityTestSuiteData.d.ts +17 -0
  189. package/serialization/types/FolderEntityTestSuiteData.js +38 -0
  190. package/serialization/types/FolderEntityWorkflowSandbox.d.ts +15 -0
  191. package/serialization/types/FolderEntityWorkflowSandbox.js +36 -0
  192. package/serialization/types/FolderEntityWorkflowSandboxData.d.ts +18 -0
  193. package/serialization/types/FolderEntityWorkflowSandboxData.js +39 -0
  194. package/serialization/types/PaginatedFolderEntityList.d.ts +16 -0
  195. package/serialization/types/PaginatedFolderEntityList.js +37 -0
  196. package/serialization/types/index.d.ts +12 -0
  197. package/serialization/types/index.js +12 -0
  198. package/version.d.ts +1 -1
  199. package/version.js +1 -1
package/dist/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "0.8.24";
4
+ exports.SDK_VERSION = "0.8.25";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vellum-ai",
3
- "version": "0.8.24",
3
+ "version": "0.8.25",
4
4
  "private": false,
5
5
  "repository": "https://github.com/vellum-ai/vellum-client-node",
6
6
  "license": "MIT",
package/reference.md CHANGED
@@ -1467,6 +1467,71 @@ await client.documents.upload(fs.createReadStream("/path/to/your/file"), {
1467
1467
 
1468
1468
  ## FolderEntities
1469
1469
 
1470
+ <details><summary><code>client.folderEntities.<a href="/src/api/resources/folderEntities/client/Client.ts">list</a>({ ...params }) -> Vellum.PaginatedFolderEntityList</code></summary>
1471
+ <dl>
1472
+ <dd>
1473
+
1474
+ #### 📝 Description
1475
+
1476
+ <dl>
1477
+ <dd>
1478
+
1479
+ <dl>
1480
+ <dd>
1481
+
1482
+ List all folder entities within a specified folder.
1483
+
1484
+ </dd>
1485
+ </dl>
1486
+ </dd>
1487
+ </dl>
1488
+
1489
+ #### 🔌 Usage
1490
+
1491
+ <dl>
1492
+ <dd>
1493
+
1494
+ <dl>
1495
+ <dd>
1496
+
1497
+ ```typescript
1498
+ await client.folderEntities.list({
1499
+ parentFolderId: "parent_folder_id",
1500
+ });
1501
+ ```
1502
+
1503
+ </dd>
1504
+ </dl>
1505
+ </dd>
1506
+ </dl>
1507
+
1508
+ #### ⚙️ Parameters
1509
+
1510
+ <dl>
1511
+ <dd>
1512
+
1513
+ <dl>
1514
+ <dd>
1515
+
1516
+ **request:** `Vellum.FolderEntitiesListRequest`
1517
+
1518
+ </dd>
1519
+ </dl>
1520
+
1521
+ <dl>
1522
+ <dd>
1523
+
1524
+ **requestOptions:** `FolderEntities.RequestOptions`
1525
+
1526
+ </dd>
1527
+ </dl>
1528
+ </dd>
1529
+ </dl>
1530
+
1531
+ </dd>
1532
+ </dl>
1533
+ </details>
1534
+
1470
1535
  <details><summary><code>client.folderEntities.<a href="/src/api/resources/folderEntities/client/Client.ts">addEntityToFolder</a>(folderId, { ...params }) -> void</code></summary>
1471
1536
  <dl>
1472
1537
  <dd>
@@ -1515,7 +1580,15 @@ await client.folderEntities.addEntityToFolder("folder_id", {
1515
1580
  <dl>
1516
1581
  <dd>
1517
1582
 
1518
- **folderId:** `string` — The ID of the folder to which the entity should be added. This can be a UUID of a folder, or the name of a root directory (e.g. "PROMPT_SANDBOX").
1583
+ **folderId:** `string`
1584
+
1585
+ The ID of the folder to which the entity should be added. This can be a UUID of a folder, or the name of a root
1586
+ directory. Supported root directories include:
1587
+
1588
+ - PROMPT_SANDBOX
1589
+ - WORKFLOW_SANDBOX
1590
+ - DOCUMENT_INDEX
1591
+ - TEST_SUITE
1519
1592
 
1520
1593
  </dd>
1521
1594
  </dl>
@@ -1 +1,2 @@
1
+ export * from "./types";
1
2
  export * from "./client";
@@ -14,4 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./types"), exports);
17
18
  __exportStar(require("./client"), exports);
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../index";
5
+ import * as Vellum from "../../../../api/index";
6
+ import * as core from "../../../../core";
7
+ export declare const FolderEntitiesListRequestEntityStatus: core.serialization.Schema<serializers.FolderEntitiesListRequestEntityStatus.Raw, Vellum.FolderEntitiesListRequestEntityStatus>;
8
+ export declare namespace FolderEntitiesListRequestEntityStatus {
9
+ type Raw = "ACTIVE" | "ARCHIVED";
10
+ }
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.FolderEntitiesListRequestEntityStatus = void 0;
30
+ const core = __importStar(require("../../../../core"));
31
+ exports.FolderEntitiesListRequestEntityStatus = core.serialization.enum_(["ACTIVE", "ARCHIVED"]);
@@ -0,0 +1 @@
1
+ export * from "./FolderEntitiesListRequestEntityStatus";
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./FolderEntitiesListRequestEntityStatus"), exports);
@@ -2,6 +2,8 @@ export * as deployments from "./deployments";
2
2
  export * from "./deployments/types";
3
3
  export * as documentIndexes from "./documentIndexes";
4
4
  export * from "./documentIndexes/types";
5
+ export * as folderEntities from "./folderEntities";
6
+ export * from "./folderEntities/types";
5
7
  export * as workflowDeployments from "./workflowDeployments";
6
8
  export * from "./workflowDeployments/types";
7
9
  export * as testSuites from "./testSuites";
@@ -11,7 +13,6 @@ export * from "./deployments/client/requests";
11
13
  export * from "./documentIndexes/client/requests";
12
14
  export * as documents from "./documents";
13
15
  export * from "./documents/client/requests";
14
- export * as folderEntities from "./folderEntities";
15
16
  export * from "./folderEntities/client/requests";
16
17
  export * as metricDefinitions from "./metricDefinitions";
17
18
  export * from "./metricDefinitions/client/requests";
@@ -26,11 +26,13 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
26
26
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.workflowSandboxes = exports.testSuiteRuns = exports.sandboxes = exports.metricDefinitions = exports.folderEntities = exports.documents = exports.adHoc = exports.testSuites = exports.workflowDeployments = exports.documentIndexes = exports.deployments = void 0;
29
+ exports.workflowSandboxes = exports.testSuiteRuns = exports.sandboxes = exports.metricDefinitions = exports.documents = exports.adHoc = exports.testSuites = exports.workflowDeployments = exports.folderEntities = exports.documentIndexes = exports.deployments = void 0;
30
30
  exports.deployments = __importStar(require("./deployments"));
31
31
  __exportStar(require("./deployments/types"), exports);
32
32
  exports.documentIndexes = __importStar(require("./documentIndexes"));
33
33
  __exportStar(require("./documentIndexes/types"), exports);
34
+ exports.folderEntities = __importStar(require("./folderEntities"));
35
+ __exportStar(require("./folderEntities/types"), exports);
34
36
  exports.workflowDeployments = __importStar(require("./workflowDeployments"));
35
37
  __exportStar(require("./workflowDeployments/types"), exports);
36
38
  exports.testSuites = __importStar(require("./testSuites"));
@@ -40,7 +42,6 @@ __exportStar(require("./deployments/client/requests"), exports);
40
42
  __exportStar(require("./documentIndexes/client/requests"), exports);
41
43
  exports.documents = __importStar(require("./documents"));
42
44
  __exportStar(require("./documents/client/requests"), exports);
43
- exports.folderEntities = __importStar(require("./folderEntities"));
44
45
  __exportStar(require("./folderEntities/client/requests"), exports);
45
46
  exports.metricDefinitions = __importStar(require("./metricDefinitions"));
46
47
  __exportStar(require("./metricDefinitions/client/requests"), exports);
@@ -0,0 +1,15 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index";
5
+ import * as Vellum from "../../api/index";
6
+ import * as core from "../../core";
7
+ import { FolderEntityFolder } from "./FolderEntityFolder";
8
+ import { FolderEntityPromptSandbox } from "./FolderEntityPromptSandbox";
9
+ import { FolderEntityWorkflowSandbox } from "./FolderEntityWorkflowSandbox";
10
+ import { FolderEntityDocumentIndex } from "./FolderEntityDocumentIndex";
11
+ import { FolderEntityTestSuite } from "./FolderEntityTestSuite";
12
+ export declare const FolderEntity: core.serialization.Schema<serializers.FolderEntity.Raw, Vellum.FolderEntity>;
13
+ export declare namespace FolderEntity {
14
+ type Raw = FolderEntityFolder.Raw | FolderEntityPromptSandbox.Raw | FolderEntityWorkflowSandbox.Raw | FolderEntityDocumentIndex.Raw | FolderEntityTestSuite.Raw;
15
+ }
@@ -0,0 +1,42 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.FolderEntity = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ const FolderEntityFolder_1 = require("./FolderEntityFolder");
32
+ const FolderEntityPromptSandbox_1 = require("./FolderEntityPromptSandbox");
33
+ const FolderEntityWorkflowSandbox_1 = require("./FolderEntityWorkflowSandbox");
34
+ const FolderEntityDocumentIndex_1 = require("./FolderEntityDocumentIndex");
35
+ const FolderEntityTestSuite_1 = require("./FolderEntityTestSuite");
36
+ exports.FolderEntity = core.serialization.undiscriminatedUnion([
37
+ FolderEntityFolder_1.FolderEntityFolder,
38
+ FolderEntityPromptSandbox_1.FolderEntityPromptSandbox,
39
+ FolderEntityWorkflowSandbox_1.FolderEntityWorkflowSandbox,
40
+ FolderEntityDocumentIndex_1.FolderEntityDocumentIndex,
41
+ FolderEntityTestSuite_1.FolderEntityTestSuite,
42
+ ]);
@@ -0,0 +1,15 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index";
5
+ import * as Vellum from "../../api/index";
6
+ import * as core from "../../core";
7
+ import { FolderEntityDocumentIndexData } from "./FolderEntityDocumentIndexData";
8
+ export declare const FolderEntityDocumentIndex: core.serialization.ObjectSchema<serializers.FolderEntityDocumentIndex.Raw, Vellum.FolderEntityDocumentIndex>;
9
+ export declare namespace FolderEntityDocumentIndex {
10
+ interface Raw {
11
+ id: string;
12
+ type: "DOCUMENT_INDEX";
13
+ data: FolderEntityDocumentIndexData.Raw;
14
+ }
15
+ }
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.FolderEntityDocumentIndex = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ const FolderEntityDocumentIndexData_1 = require("./FolderEntityDocumentIndexData");
32
+ exports.FolderEntityDocumentIndex = core.serialization.object({
33
+ id: core.serialization.string(),
34
+ type: core.serialization.stringLiteral("DOCUMENT_INDEX"),
35
+ data: FolderEntityDocumentIndexData_1.FolderEntityDocumentIndexData,
36
+ });
@@ -0,0 +1,17 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index";
5
+ import * as Vellum from "../../api/index";
6
+ import * as core from "../../core";
7
+ import { EntityStatus } from "./EntityStatus";
8
+ export declare const FolderEntityDocumentIndexData: core.serialization.ObjectSchema<serializers.FolderEntityDocumentIndexData.Raw, Vellum.FolderEntityDocumentIndexData>;
9
+ export declare namespace FolderEntityDocumentIndexData {
10
+ interface Raw {
11
+ id: string;
12
+ label: string;
13
+ created: string;
14
+ modified: string;
15
+ status: EntityStatus.Raw;
16
+ }
17
+ }
@@ -0,0 +1,38 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.FolderEntityDocumentIndexData = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ const EntityStatus_1 = require("./EntityStatus");
32
+ exports.FolderEntityDocumentIndexData = core.serialization.object({
33
+ id: core.serialization.string(),
34
+ label: core.serialization.string(),
35
+ created: core.serialization.date(),
36
+ modified: core.serialization.date(),
37
+ status: EntityStatus_1.EntityStatus,
38
+ });
@@ -0,0 +1,15 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index";
5
+ import * as Vellum from "../../api/index";
6
+ import * as core from "../../core";
7
+ import { FolderEntityFolderData } from "./FolderEntityFolderData";
8
+ export declare const FolderEntityFolder: core.serialization.ObjectSchema<serializers.FolderEntityFolder.Raw, Vellum.FolderEntityFolder>;
9
+ export declare namespace FolderEntityFolder {
10
+ interface Raw {
11
+ id: string;
12
+ type: "FOLDER";
13
+ data: FolderEntityFolderData.Raw;
14
+ }
15
+ }
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.FolderEntityFolder = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ const FolderEntityFolderData_1 = require("./FolderEntityFolderData");
32
+ exports.FolderEntityFolder = core.serialization.object({
33
+ id: core.serialization.string(),
34
+ type: core.serialization.stringLiteral("FOLDER"),
35
+ data: FolderEntityFolderData_1.FolderEntityFolderData,
36
+ });
@@ -0,0 +1,16 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index";
5
+ import * as Vellum from "../../api/index";
6
+ import * as core from "../../core";
7
+ export declare const FolderEntityFolderData: core.serialization.ObjectSchema<serializers.FolderEntityFolderData.Raw, Vellum.FolderEntityFolderData>;
8
+ export declare namespace FolderEntityFolderData {
9
+ interface Raw {
10
+ id: string;
11
+ label: string;
12
+ created: string;
13
+ modified: string;
14
+ has_contents: boolean;
15
+ }
16
+ }
@@ -0,0 +1,37 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.FolderEntityFolderData = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ exports.FolderEntityFolderData = core.serialization.object({
32
+ id: core.serialization.string(),
33
+ label: core.serialization.string(),
34
+ created: core.serialization.date(),
35
+ modified: core.serialization.date(),
36
+ hasContents: core.serialization.property("has_contents", core.serialization.boolean()),
37
+ });
@@ -0,0 +1,15 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index";
5
+ import * as Vellum from "../../api/index";
6
+ import * as core from "../../core";
7
+ import { FolderEntityPromptSandboxData } from "./FolderEntityPromptSandboxData";
8
+ export declare const FolderEntityPromptSandbox: core.serialization.ObjectSchema<serializers.FolderEntityPromptSandbox.Raw, Vellum.FolderEntityPromptSandbox>;
9
+ export declare namespace FolderEntityPromptSandbox {
10
+ interface Raw {
11
+ id: string;
12
+ type: "PROMPT_SANDBOX";
13
+ data: FolderEntityPromptSandboxData.Raw;
14
+ }
15
+ }
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.FolderEntityPromptSandbox = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ const FolderEntityPromptSandboxData_1 = require("./FolderEntityPromptSandboxData");
32
+ exports.FolderEntityPromptSandbox = core.serialization.object({
33
+ id: core.serialization.string(),
34
+ type: core.serialization.stringLiteral("PROMPT_SANDBOX"),
35
+ data: FolderEntityPromptSandboxData_1.FolderEntityPromptSandboxData,
36
+ });
@@ -0,0 +1,18 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index";
5
+ import * as Vellum from "../../api/index";
6
+ import * as core from "../../core";
7
+ import { EntityStatus } from "./EntityStatus";
8
+ export declare const FolderEntityPromptSandboxData: core.serialization.ObjectSchema<serializers.FolderEntityPromptSandboxData.Raw, Vellum.FolderEntityPromptSandboxData>;
9
+ export declare namespace FolderEntityPromptSandboxData {
10
+ interface Raw {
11
+ id: string;
12
+ label: string;
13
+ created: string;
14
+ modified: string;
15
+ status: EntityStatus.Raw;
16
+ last_deployed_on?: string | null;
17
+ }
18
+ }
@@ -0,0 +1,39 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.FolderEntityPromptSandboxData = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ const EntityStatus_1 = require("./EntityStatus");
32
+ exports.FolderEntityPromptSandboxData = core.serialization.object({
33
+ id: core.serialization.string(),
34
+ label: core.serialization.string(),
35
+ created: core.serialization.date(),
36
+ modified: core.serialization.date(),
37
+ status: EntityStatus_1.EntityStatus,
38
+ lastDeployedOn: core.serialization.property("last_deployed_on", core.serialization.date().optional()),
39
+ });
@@ -0,0 +1,15 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index";
5
+ import * as Vellum from "../../api/index";
6
+ import * as core from "../../core";
7
+ import { FolderEntityTestSuiteData } from "./FolderEntityTestSuiteData";
8
+ export declare const FolderEntityTestSuite: core.serialization.ObjectSchema<serializers.FolderEntityTestSuite.Raw, Vellum.FolderEntityTestSuite>;
9
+ export declare namespace FolderEntityTestSuite {
10
+ interface Raw {
11
+ id: string;
12
+ type: "TEST_SUITE";
13
+ data: FolderEntityTestSuiteData.Raw;
14
+ }
15
+ }