vellum-ai 0.3.8 → 0.3.9

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 (163) hide show
  1. package/Client.d.ts +2 -2
  2. package/Client.js +10 -10
  3. package/api/resources/deployments/client/Client.d.ts +2 -2
  4. package/api/resources/deployments/client/Client.js +4 -4
  5. package/api/resources/documentIndexes/client/Client.d.ts +2 -2
  6. package/api/resources/documentIndexes/client/Client.js +3 -3
  7. package/api/resources/documents/client/Client.d.ts +2 -2
  8. package/api/resources/documents/client/Client.js +5 -5
  9. package/api/resources/folderEntities/client/Client.d.ts +2 -2
  10. package/api/resources/folderEntities/client/Client.js +2 -2
  11. package/api/resources/modelVersions/client/Client.d.ts +2 -2
  12. package/api/resources/modelVersions/client/Client.js +2 -2
  13. package/api/resources/registeredPrompts/client/Client.d.ts +2 -2
  14. package/api/resources/registeredPrompts/client/Client.js +2 -2
  15. package/api/resources/sandboxes/client/Client.d.ts +2 -2
  16. package/api/resources/sandboxes/client/Client.js +3 -3
  17. package/api/resources/testSuites/client/Client.d.ts +2 -2
  18. package/api/resources/testSuites/client/Client.js +3 -3
  19. package/api/resources/workflowDeployments/client/Client.d.ts +2 -2
  20. package/api/resources/workflowDeployments/client/Client.js +3 -3
  21. package/api/types/CodeExecutionNodeResultData.d.ts +1 -0
  22. package/api/types/NodeInputCompiledArrayValue.d.ts +1 -1
  23. package/api/types/NodeOutputCompiledArrayValue.d.ts +1 -1
  24. package/api/types/SubworkflowEnum.d.ts +4 -0
  25. package/api/types/SubworkflowEnum.js +5 -0
  26. package/api/types/SubworkflowNodeResult.d.ts +8 -0
  27. package/api/types/SubworkflowNodeResult.js +5 -0
  28. package/api/types/TerminalNodeArrayResult.d.ts +10 -0
  29. package/api/types/TerminalNodeArrayResult.js +5 -0
  30. package/api/types/TerminalNodeFunctionCallResult.d.ts +10 -0
  31. package/api/types/TerminalNodeFunctionCallResult.js +5 -0
  32. package/api/types/TerminalNodeResultOutput.d.ts +7 -1
  33. package/api/types/VellumErrorCodeEnum.d.ts +3 -1
  34. package/api/types/VellumErrorCodeEnum.js +1 -0
  35. package/api/types/WorkflowExecutionEventErrorCode.d.ts +3 -1
  36. package/api/types/WorkflowExecutionEventErrorCode.js +1 -0
  37. package/api/types/WorkflowNodeResultData.d.ts +4 -1
  38. package/api/types/WorkflowOutput.d.ts +4 -1
  39. package/api/types/WorkflowOutputArray.d.ts +13 -0
  40. package/api/types/WorkflowOutputArray.js +5 -0
  41. package/api/types/WorkflowResultEventOutputData.d.ts +7 -1
  42. package/api/types/WorkflowResultEventOutputDataArray.d.ts +16 -0
  43. package/api/types/WorkflowResultEventOutputDataArray.js +5 -0
  44. package/api/types/WorkflowResultEventOutputDataFunctionCall.d.ts +16 -0
  45. package/api/types/WorkflowResultEventOutputDataFunctionCall.js +5 -0
  46. package/api/types/index.d.ts +7 -0
  47. package/api/types/index.js +7 -0
  48. package/dist/Client.d.ts +2 -2
  49. package/dist/Client.js +10 -10
  50. package/dist/api/resources/deployments/client/Client.d.ts +2 -2
  51. package/dist/api/resources/deployments/client/Client.js +4 -4
  52. package/dist/api/resources/documentIndexes/client/Client.d.ts +2 -2
  53. package/dist/api/resources/documentIndexes/client/Client.js +3 -3
  54. package/dist/api/resources/documents/client/Client.d.ts +2 -2
  55. package/dist/api/resources/documents/client/Client.js +5 -5
  56. package/dist/api/resources/folderEntities/client/Client.d.ts +2 -2
  57. package/dist/api/resources/folderEntities/client/Client.js +2 -2
  58. package/dist/api/resources/modelVersions/client/Client.d.ts +2 -2
  59. package/dist/api/resources/modelVersions/client/Client.js +2 -2
  60. package/dist/api/resources/registeredPrompts/client/Client.d.ts +2 -2
  61. package/dist/api/resources/registeredPrompts/client/Client.js +2 -2
  62. package/dist/api/resources/sandboxes/client/Client.d.ts +2 -2
  63. package/dist/api/resources/sandboxes/client/Client.js +3 -3
  64. package/dist/api/resources/testSuites/client/Client.d.ts +2 -2
  65. package/dist/api/resources/testSuites/client/Client.js +3 -3
  66. package/dist/api/resources/workflowDeployments/client/Client.d.ts +2 -2
  67. package/dist/api/resources/workflowDeployments/client/Client.js +3 -3
  68. package/dist/api/types/CodeExecutionNodeResultData.d.ts +1 -0
  69. package/dist/api/types/NodeInputCompiledArrayValue.d.ts +1 -1
  70. package/dist/api/types/NodeOutputCompiledArrayValue.d.ts +1 -1
  71. package/dist/api/types/SubworkflowEnum.d.ts +4 -0
  72. package/dist/api/types/SubworkflowEnum.js +5 -0
  73. package/dist/api/types/SubworkflowNodeResult.d.ts +8 -0
  74. package/dist/api/types/SubworkflowNodeResult.js +5 -0
  75. package/dist/api/types/TerminalNodeArrayResult.d.ts +10 -0
  76. package/dist/api/types/TerminalNodeArrayResult.js +5 -0
  77. package/dist/api/types/TerminalNodeFunctionCallResult.d.ts +10 -0
  78. package/dist/api/types/TerminalNodeFunctionCallResult.js +5 -0
  79. package/dist/api/types/TerminalNodeResultOutput.d.ts +7 -1
  80. package/dist/api/types/VellumErrorCodeEnum.d.ts +3 -1
  81. package/dist/api/types/VellumErrorCodeEnum.js +1 -0
  82. package/dist/api/types/WorkflowExecutionEventErrorCode.d.ts +3 -1
  83. package/dist/api/types/WorkflowExecutionEventErrorCode.js +1 -0
  84. package/dist/api/types/WorkflowNodeResultData.d.ts +4 -1
  85. package/dist/api/types/WorkflowOutput.d.ts +4 -1
  86. package/dist/api/types/WorkflowOutputArray.d.ts +13 -0
  87. package/dist/api/types/WorkflowOutputArray.js +5 -0
  88. package/dist/api/types/WorkflowResultEventOutputData.d.ts +7 -1
  89. package/dist/api/types/WorkflowResultEventOutputDataArray.d.ts +16 -0
  90. package/dist/api/types/WorkflowResultEventOutputDataArray.js +5 -0
  91. package/dist/api/types/WorkflowResultEventOutputDataFunctionCall.d.ts +16 -0
  92. package/dist/api/types/WorkflowResultEventOutputDataFunctionCall.js +5 -0
  93. package/dist/api/types/index.d.ts +7 -0
  94. package/dist/api/types/index.js +7 -0
  95. package/dist/serialization/types/CodeExecutionNodeResultData.d.ts +1 -0
  96. package/dist/serialization/types/CodeExecutionNodeResultData.js +1 -0
  97. package/dist/serialization/types/NodeInputCompiledArrayValue.d.ts +1 -1
  98. package/dist/serialization/types/NodeInputCompiledArrayValue.js +3 -1
  99. package/dist/serialization/types/NodeOutputCompiledArrayValue.d.ts +1 -1
  100. package/dist/serialization/types/NodeOutputCompiledArrayValue.js +3 -1
  101. package/dist/serialization/types/SubworkflowEnum.d.ts +10 -0
  102. package/dist/serialization/types/SubworkflowEnum.js +31 -0
  103. package/dist/serialization/types/SubworkflowNodeResult.d.ts +11 -0
  104. package/dist/serialization/types/SubworkflowNodeResult.js +31 -0
  105. package/dist/serialization/types/TerminalNodeArrayResult.d.ts +14 -0
  106. package/dist/serialization/types/TerminalNodeArrayResult.js +46 -0
  107. package/dist/serialization/types/TerminalNodeFunctionCallResult.d.ts +14 -0
  108. package/dist/serialization/types/TerminalNodeFunctionCallResult.js +44 -0
  109. package/dist/serialization/types/TerminalNodeResultOutput.d.ts +7 -1
  110. package/dist/serialization/types/TerminalNodeResultOutput.js +2 -0
  111. package/dist/serialization/types/VellumErrorCodeEnum.d.ts +1 -1
  112. package/dist/serialization/types/VellumErrorCodeEnum.js +1 -1
  113. package/dist/serialization/types/WorkflowExecutionEventErrorCode.d.ts +1 -1
  114. package/dist/serialization/types/WorkflowExecutionEventErrorCode.js +1 -0
  115. package/dist/serialization/types/WorkflowNodeResultData.d.ts +4 -1
  116. package/dist/serialization/types/WorkflowNodeResultData.js +1 -0
  117. package/dist/serialization/types/WorkflowOutput.d.ts +4 -1
  118. package/dist/serialization/types/WorkflowOutput.js +1 -0
  119. package/dist/serialization/types/WorkflowOutputArray.d.ts +14 -0
  120. package/dist/serialization/types/WorkflowOutputArray.js +44 -0
  121. package/dist/serialization/types/WorkflowResultEventOutputData.d.ts +7 -1
  122. package/dist/serialization/types/WorkflowResultEventOutputData.js +2 -0
  123. package/dist/serialization/types/WorkflowResultEventOutputDataArray.d.ts +17 -0
  124. package/dist/serialization/types/WorkflowResultEventOutputDataArray.js +49 -0
  125. package/dist/serialization/types/WorkflowResultEventOutputDataFunctionCall.d.ts +17 -0
  126. package/dist/serialization/types/WorkflowResultEventOutputDataFunctionCall.js +47 -0
  127. package/dist/serialization/types/index.d.ts +7 -0
  128. package/dist/serialization/types/index.js +7 -0
  129. package/package.json +1 -1
  130. package/serialization/types/CodeExecutionNodeResultData.d.ts +1 -0
  131. package/serialization/types/CodeExecutionNodeResultData.js +1 -0
  132. package/serialization/types/NodeInputCompiledArrayValue.d.ts +1 -1
  133. package/serialization/types/NodeInputCompiledArrayValue.js +3 -1
  134. package/serialization/types/NodeOutputCompiledArrayValue.d.ts +1 -1
  135. package/serialization/types/NodeOutputCompiledArrayValue.js +3 -1
  136. package/serialization/types/SubworkflowEnum.d.ts +10 -0
  137. package/serialization/types/SubworkflowEnum.js +31 -0
  138. package/serialization/types/SubworkflowNodeResult.d.ts +11 -0
  139. package/serialization/types/SubworkflowNodeResult.js +31 -0
  140. package/serialization/types/TerminalNodeArrayResult.d.ts +14 -0
  141. package/serialization/types/TerminalNodeArrayResult.js +46 -0
  142. package/serialization/types/TerminalNodeFunctionCallResult.d.ts +14 -0
  143. package/serialization/types/TerminalNodeFunctionCallResult.js +44 -0
  144. package/serialization/types/TerminalNodeResultOutput.d.ts +7 -1
  145. package/serialization/types/TerminalNodeResultOutput.js +2 -0
  146. package/serialization/types/VellumErrorCodeEnum.d.ts +1 -1
  147. package/serialization/types/VellumErrorCodeEnum.js +1 -1
  148. package/serialization/types/WorkflowExecutionEventErrorCode.d.ts +1 -1
  149. package/serialization/types/WorkflowExecutionEventErrorCode.js +1 -0
  150. package/serialization/types/WorkflowNodeResultData.d.ts +4 -1
  151. package/serialization/types/WorkflowNodeResultData.js +1 -0
  152. package/serialization/types/WorkflowOutput.d.ts +4 -1
  153. package/serialization/types/WorkflowOutput.js +1 -0
  154. package/serialization/types/WorkflowOutputArray.d.ts +14 -0
  155. package/serialization/types/WorkflowOutputArray.js +44 -0
  156. package/serialization/types/WorkflowResultEventOutputData.d.ts +7 -1
  157. package/serialization/types/WorkflowResultEventOutputData.js +2 -0
  158. package/serialization/types/WorkflowResultEventOutputDataArray.d.ts +17 -0
  159. package/serialization/types/WorkflowResultEventOutputDataArray.js +49 -0
  160. package/serialization/types/WorkflowResultEventOutputDataFunctionCall.d.ts +17 -0
  161. package/serialization/types/WorkflowResultEventOutputDataFunctionCall.js +47 -0
  162. package/serialization/types/index.d.ts +7 -0
  163. package/serialization/types/index.js +7 -0
package/Client.d.ts CHANGED
@@ -16,7 +16,7 @@ import { WorkflowDeployments } from "./api/resources/workflowDeployments/client/
16
16
  export declare namespace VellumClient {
17
17
  interface Options {
18
18
  environment?: core.Supplier<environments.VellumEnvironment | environments.VellumEnvironmentUrls>;
19
- apiKey?: core.Supplier<string | undefined>;
19
+ apiKey: core.Supplier<string>;
20
20
  }
21
21
  interface RequestOptions {
22
22
  timeoutInSeconds?: number;
@@ -25,7 +25,7 @@ export declare namespace VellumClient {
25
25
  }
26
26
  export declare class VellumClient {
27
27
  protected readonly _options: VellumClient.Options;
28
- constructor(_options?: VellumClient.Options);
28
+ constructor(_options: VellumClient.Options);
29
29
  /**
30
30
  * Executes a deployed Prompt and returns the result.
31
31
  * @throws {@link Vellum.BadRequestError}
package/Client.js CHANGED
@@ -55,7 +55,7 @@ const Client_7 = require("./api/resources/sandboxes/client/Client");
55
55
  const Client_8 = require("./api/resources/testSuites/client/Client");
56
56
  const Client_9 = require("./api/resources/workflowDeployments/client/Client");
57
57
  class VellumClient {
58
- constructor(_options = {}) {
58
+ constructor(_options) {
59
59
  this._options = _options;
60
60
  }
61
61
  /**
@@ -76,7 +76,7 @@ class VellumClient {
76
76
  X_API_KEY: yield core.Supplier.get(this._options.apiKey),
77
77
  "X-Fern-Language": "JavaScript",
78
78
  "X-Fern-SDK-Name": "vellum-ai",
79
- "X-Fern-SDK-Version": "0.3.8",
79
+ "X-Fern-SDK-Version": "0.3.9",
80
80
  "X-Fern-Runtime": core.RUNTIME.type,
81
81
  "X-Fern-Runtime-Version": core.RUNTIME.version,
82
82
  },
@@ -139,7 +139,7 @@ class VellumClient {
139
139
  X_API_KEY: yield core.Supplier.get(this._options.apiKey),
140
140
  "X-Fern-Language": "JavaScript",
141
141
  "X-Fern-SDK-Name": "vellum-ai",
142
- "X-Fern-SDK-Version": "0.3.8",
142
+ "X-Fern-SDK-Version": "0.3.9",
143
143
  "X-Fern-Runtime": core.RUNTIME.type,
144
144
  "X-Fern-Runtime-Version": core.RUNTIME.version,
145
145
  },
@@ -214,7 +214,7 @@ class VellumClient {
214
214
  X_API_KEY: yield core.Supplier.get(this._options.apiKey),
215
215
  "X-Fern-Language": "JavaScript",
216
216
  "X-Fern-SDK-Name": "vellum-ai",
217
- "X-Fern-SDK-Version": "0.3.8",
217
+ "X-Fern-SDK-Version": "0.3.9",
218
218
  "X-Fern-Runtime": core.RUNTIME.type,
219
219
  "X-Fern-Runtime-Version": core.RUNTIME.version,
220
220
  },
@@ -275,7 +275,7 @@ class VellumClient {
275
275
  X_API_KEY: yield core.Supplier.get(this._options.apiKey),
276
276
  "X-Fern-Language": "JavaScript",
277
277
  "X-Fern-SDK-Name": "vellum-ai",
278
- "X-Fern-SDK-Version": "0.3.8",
278
+ "X-Fern-SDK-Version": "0.3.9",
279
279
  "X-Fern-Runtime": core.RUNTIME.type,
280
280
  "X-Fern-Runtime-Version": core.RUNTIME.version,
281
281
  },
@@ -358,7 +358,7 @@ class VellumClient {
358
358
  X_API_KEY: yield core.Supplier.get(this._options.apiKey),
359
359
  "X-Fern-Language": "JavaScript",
360
360
  "X-Fern-SDK-Name": "vellum-ai",
361
- "X-Fern-SDK-Version": "0.3.8",
361
+ "X-Fern-SDK-Version": "0.3.9",
362
362
  "X-Fern-Runtime": core.RUNTIME.type,
363
363
  "X-Fern-Runtime-Version": core.RUNTIME.version,
364
364
  },
@@ -423,7 +423,7 @@ class VellumClient {
423
423
  X_API_KEY: yield core.Supplier.get(this._options.apiKey),
424
424
  "X-Fern-Language": "JavaScript",
425
425
  "X-Fern-SDK-Name": "vellum-ai",
426
- "X-Fern-SDK-Version": "0.3.8",
426
+ "X-Fern-SDK-Version": "0.3.9",
427
427
  "X-Fern-Runtime": core.RUNTIME.type,
428
428
  "X-Fern-Runtime-Version": core.RUNTIME.version,
429
429
  },
@@ -503,7 +503,7 @@ class VellumClient {
503
503
  X_API_KEY: yield core.Supplier.get(this._options.apiKey),
504
504
  "X-Fern-Language": "JavaScript",
505
505
  "X-Fern-SDK-Name": "vellum-ai",
506
- "X-Fern-SDK-Version": "0.3.8",
506
+ "X-Fern-SDK-Version": "0.3.9",
507
507
  "X-Fern-Runtime": core.RUNTIME.type,
508
508
  "X-Fern-Runtime-Version": core.RUNTIME.version,
509
509
  },
@@ -574,7 +574,7 @@ class VellumClient {
574
574
  X_API_KEY: yield core.Supplier.get(this._options.apiKey),
575
575
  "X-Fern-Language": "JavaScript",
576
576
  "X-Fern-SDK-Name": "vellum-ai",
577
- "X-Fern-SDK-Version": "0.3.8",
577
+ "X-Fern-SDK-Version": "0.3.9",
578
578
  "X-Fern-Runtime": core.RUNTIME.type,
579
579
  "X-Fern-Runtime-Version": core.RUNTIME.version,
580
580
  },
@@ -639,7 +639,7 @@ class VellumClient {
639
639
  X_API_KEY: yield core.Supplier.get(this._options.apiKey),
640
640
  "X-Fern-Language": "JavaScript",
641
641
  "X-Fern-SDK-Name": "vellum-ai",
642
- "X-Fern-SDK-Version": "0.3.8",
642
+ "X-Fern-SDK-Version": "0.3.9",
643
643
  "X-Fern-Runtime": core.RUNTIME.type,
644
644
  "X-Fern-Runtime-Version": core.RUNTIME.version,
645
645
  },
@@ -7,7 +7,7 @@ import * as Vellum from "../../..";
7
7
  export declare namespace Deployments {
8
8
  interface Options {
9
9
  environment?: core.Supplier<environments.VellumEnvironment | environments.VellumEnvironmentUrls>;
10
- apiKey?: core.Supplier<string | undefined>;
10
+ apiKey: core.Supplier<string>;
11
11
  }
12
12
  interface RequestOptions {
13
13
  timeoutInSeconds?: number;
@@ -16,7 +16,7 @@ export declare namespace Deployments {
16
16
  }
17
17
  export declare class Deployments {
18
18
  protected readonly _options: Deployments.Options;
19
- constructor(_options?: Deployments.Options);
19
+ constructor(_options: Deployments.Options);
20
20
  list(request?: Vellum.DeploymentsListRequest, requestOptions?: Deployments.RequestOptions): Promise<Vellum.PaginatedSlimDeploymentReadList>;
21
21
  /**
22
22
  * Used to retrieve a deployment given its ID or name.
@@ -45,7 +45,7 @@ const url_join_1 = __importDefault(require("url-join"));
45
45
  const serializers = __importStar(require("../../../../serialization"));
46
46
  const errors = __importStar(require("../../../../errors"));
47
47
  class Deployments {
48
- constructor(_options = {}) {
48
+ constructor(_options) {
49
49
  this._options = _options;
50
50
  }
51
51
  list(request = {}, requestOptions) {
@@ -73,7 +73,7 @@ class Deployments {
73
73
  X_API_KEY: yield core.Supplier.get(this._options.apiKey),
74
74
  "X-Fern-Language": "JavaScript",
75
75
  "X-Fern-SDK-Name": "vellum-ai",
76
- "X-Fern-SDK-Version": "0.3.8",
76
+ "X-Fern-SDK-Version": "0.3.9",
77
77
  "X-Fern-Runtime": core.RUNTIME.type,
78
78
  "X-Fern-Runtime-Version": core.RUNTIME.version,
79
79
  },
@@ -128,7 +128,7 @@ class Deployments {
128
128
  X_API_KEY: yield core.Supplier.get(this._options.apiKey),
129
129
  "X-Fern-Language": "JavaScript",
130
130
  "X-Fern-SDK-Name": "vellum-ai",
131
- "X-Fern-SDK-Version": "0.3.8",
131
+ "X-Fern-SDK-Version": "0.3.9",
132
132
  "X-Fern-Runtime": core.RUNTIME.type,
133
133
  "X-Fern-Runtime-Version": core.RUNTIME.version,
134
134
  },
@@ -176,7 +176,7 @@ class Deployments {
176
176
  X_API_KEY: yield core.Supplier.get(this._options.apiKey),
177
177
  "X-Fern-Language": "JavaScript",
178
178
  "X-Fern-SDK-Name": "vellum-ai",
179
- "X-Fern-SDK-Version": "0.3.8",
179
+ "X-Fern-SDK-Version": "0.3.9",
180
180
  "X-Fern-Runtime": core.RUNTIME.type,
181
181
  "X-Fern-Runtime-Version": core.RUNTIME.version,
182
182
  },
@@ -7,7 +7,7 @@ import * as Vellum from "../../..";
7
7
  export declare namespace DocumentIndexes {
8
8
  interface Options {
9
9
  environment?: core.Supplier<environments.VellumEnvironment | environments.VellumEnvironmentUrls>;
10
- apiKey?: core.Supplier<string | undefined>;
10
+ apiKey: core.Supplier<string>;
11
11
  }
12
12
  interface RequestOptions {
13
13
  timeoutInSeconds?: number;
@@ -16,7 +16,7 @@ export declare namespace DocumentIndexes {
16
16
  }
17
17
  export declare class DocumentIndexes {
18
18
  protected readonly _options: DocumentIndexes.Options;
19
- constructor(_options?: DocumentIndexes.Options);
19
+ constructor(_options: DocumentIndexes.Options);
20
20
  /**
21
21
  * Creates a new document index.
22
22
  *
@@ -45,7 +45,7 @@ const serializers = __importStar(require("../../../../serialization"));
45
45
  const url_join_1 = __importDefault(require("url-join"));
46
46
  const errors = __importStar(require("../../../../errors"));
47
47
  class DocumentIndexes {
48
- constructor(_options = {}) {
48
+ constructor(_options) {
49
49
  this._options = _options;
50
50
  }
51
51
  /**
@@ -85,7 +85,7 @@ class DocumentIndexes {
85
85
  X_API_KEY: yield core.Supplier.get(this._options.apiKey),
86
86
  "X-Fern-Language": "JavaScript",
87
87
  "X-Fern-SDK-Name": "vellum-ai",
88
- "X-Fern-SDK-Version": "0.3.8",
88
+ "X-Fern-SDK-Version": "0.3.9",
89
89
  "X-Fern-Runtime": core.RUNTIME.type,
90
90
  "X-Fern-Runtime-Version": core.RUNTIME.version,
91
91
  },
@@ -142,7 +142,7 @@ class DocumentIndexes {
142
142
  X_API_KEY: yield core.Supplier.get(this._options.apiKey),
143
143
  "X-Fern-Language": "JavaScript",
144
144
  "X-Fern-SDK-Name": "vellum-ai",
145
- "X-Fern-SDK-Version": "0.3.8",
145
+ "X-Fern-SDK-Version": "0.3.9",
146
146
  "X-Fern-Runtime": core.RUNTIME.type,
147
147
  "X-Fern-Runtime-Version": core.RUNTIME.version,
148
148
  },
@@ -9,7 +9,7 @@ import * as fs from "fs";
9
9
  export declare namespace Documents {
10
10
  interface Options {
11
11
  environment?: core.Supplier<environments.VellumEnvironment | environments.VellumEnvironmentUrls>;
12
- apiKey?: core.Supplier<string | undefined>;
12
+ apiKey: core.Supplier<string>;
13
13
  }
14
14
  interface RequestOptions {
15
15
  timeoutInSeconds?: number;
@@ -18,7 +18,7 @@ export declare namespace Documents {
18
18
  }
19
19
  export declare class Documents {
20
20
  protected readonly _options: Documents.Options;
21
- constructor(_options?: Documents.Options);
21
+ constructor(_options: Documents.Options);
22
22
  /**
23
23
  * Used to list documents. Optionally filter on supported fields.
24
24
  *
@@ -47,7 +47,7 @@ const serializers = __importStar(require("../../../../serialization"));
47
47
  const errors = __importStar(require("../../../../errors"));
48
48
  const form_data_1 = __importDefault(require("form-data"));
49
49
  class Documents {
50
- constructor(_options = {}) {
50
+ constructor(_options) {
51
51
  this._options = _options;
52
52
  }
53
53
  /**
@@ -81,7 +81,7 @@ class Documents {
81
81
  X_API_KEY: yield core.Supplier.get(this._options.apiKey),
82
82
  "X-Fern-Language": "JavaScript",
83
83
  "X-Fern-SDK-Name": "vellum-ai",
84
- "X-Fern-SDK-Version": "0.3.8",
84
+ "X-Fern-SDK-Version": "0.3.9",
85
85
  "X-Fern-Runtime": core.RUNTIME.type,
86
86
  "X-Fern-Runtime-Version": core.RUNTIME.version,
87
87
  },
@@ -130,7 +130,7 @@ class Documents {
130
130
  X_API_KEY: yield core.Supplier.get(this._options.apiKey),
131
131
  "X-Fern-Language": "JavaScript",
132
132
  "X-Fern-SDK-Name": "vellum-ai",
133
- "X-Fern-SDK-Version": "0.3.8",
133
+ "X-Fern-SDK-Version": "0.3.9",
134
134
  "X-Fern-Runtime": core.RUNTIME.type,
135
135
  "X-Fern-Runtime-Version": core.RUNTIME.version,
136
136
  },
@@ -179,7 +179,7 @@ class Documents {
179
179
  X_API_KEY: yield core.Supplier.get(this._options.apiKey),
180
180
  "X-Fern-Language": "JavaScript",
181
181
  "X-Fern-SDK-Name": "vellum-ai",
182
- "X-Fern-SDK-Version": "0.3.8",
182
+ "X-Fern-SDK-Version": "0.3.9",
183
183
  "X-Fern-Runtime": core.RUNTIME.type,
184
184
  "X-Fern-Runtime-Version": core.RUNTIME.version,
185
185
  },
@@ -265,7 +265,7 @@ class Documents {
265
265
  X_API_KEY: yield core.Supplier.get(this._options.apiKey),
266
266
  "X-Fern-Language": "JavaScript",
267
267
  "X-Fern-SDK-Name": "vellum-ai",
268
- "X-Fern-SDK-Version": "0.3.8",
268
+ "X-Fern-SDK-Version": "0.3.9",
269
269
  "X-Fern-Runtime": core.RUNTIME.type,
270
270
  "X-Fern-Runtime-Version": core.RUNTIME.version,
271
271
  },
@@ -7,7 +7,7 @@ import * as Vellum from "../../..";
7
7
  export declare namespace FolderEntities {
8
8
  interface Options {
9
9
  environment?: core.Supplier<environments.VellumEnvironment | environments.VellumEnvironmentUrls>;
10
- apiKey?: core.Supplier<string | undefined>;
10
+ apiKey: core.Supplier<string>;
11
11
  }
12
12
  interface RequestOptions {
13
13
  timeoutInSeconds?: number;
@@ -16,7 +16,7 @@ export declare namespace FolderEntities {
16
16
  }
17
17
  export declare class FolderEntities {
18
18
  protected readonly _options: FolderEntities.Options;
19
- constructor(_options?: FolderEntities.Options);
19
+ constructor(_options: FolderEntities.Options);
20
20
  /**
21
21
  * Add an entity to a specific folder or root directory.
22
22
  *
@@ -45,7 +45,7 @@ const serializers = __importStar(require("../../../../serialization"));
45
45
  const url_join_1 = __importDefault(require("url-join"));
46
46
  const errors = __importStar(require("../../../../errors"));
47
47
  class FolderEntities {
48
- constructor(_options = {}) {
48
+ constructor(_options) {
49
49
  this._options = _options;
50
50
  }
51
51
  /**
@@ -69,7 +69,7 @@ class FolderEntities {
69
69
  X_API_KEY: yield core.Supplier.get(this._options.apiKey),
70
70
  "X-Fern-Language": "JavaScript",
71
71
  "X-Fern-SDK-Name": "vellum-ai",
72
- "X-Fern-SDK-Version": "0.3.8",
72
+ "X-Fern-SDK-Version": "0.3.9",
73
73
  "X-Fern-Runtime": core.RUNTIME.type,
74
74
  "X-Fern-Runtime-Version": core.RUNTIME.version,
75
75
  },
@@ -7,7 +7,7 @@ import * as Vellum from "../../..";
7
7
  export declare namespace ModelVersions {
8
8
  interface Options {
9
9
  environment?: core.Supplier<environments.VellumEnvironment | environments.VellumEnvironmentUrls>;
10
- apiKey?: core.Supplier<string | undefined>;
10
+ apiKey: core.Supplier<string>;
11
11
  }
12
12
  interface RequestOptions {
13
13
  timeoutInSeconds?: number;
@@ -16,7 +16,7 @@ export declare namespace ModelVersions {
16
16
  }
17
17
  export declare class ModelVersions {
18
18
  protected readonly _options: ModelVersions.Options;
19
- constructor(_options?: ModelVersions.Options);
19
+ constructor(_options: ModelVersions.Options);
20
20
  /**
21
21
  * Deprecated. Use the `deployments/provider-payload` endpoint to fetch information that we send to Model providers.
22
22
  *
@@ -45,7 +45,7 @@ const url_join_1 = __importDefault(require("url-join"));
45
45
  const serializers = __importStar(require("../../../../serialization"));
46
46
  const errors = __importStar(require("../../../../errors"));
47
47
  class ModelVersions {
48
- constructor(_options = {}) {
48
+ constructor(_options) {
49
49
  this._options = _options;
50
50
  }
51
51
  /**
@@ -65,7 +65,7 @@ class ModelVersions {
65
65
  X_API_KEY: yield core.Supplier.get(this._options.apiKey),
66
66
  "X-Fern-Language": "JavaScript",
67
67
  "X-Fern-SDK-Name": "vellum-ai",
68
- "X-Fern-SDK-Version": "0.3.8",
68
+ "X-Fern-SDK-Version": "0.3.9",
69
69
  "X-Fern-Runtime": core.RUNTIME.type,
70
70
  "X-Fern-Runtime-Version": core.RUNTIME.version,
71
71
  },
@@ -7,7 +7,7 @@ import * as Vellum from "../../..";
7
7
  export declare namespace RegisteredPrompts {
8
8
  interface Options {
9
9
  environment?: core.Supplier<environments.VellumEnvironment | environments.VellumEnvironmentUrls>;
10
- apiKey?: core.Supplier<string | undefined>;
10
+ apiKey: core.Supplier<string>;
11
11
  }
12
12
  interface RequestOptions {
13
13
  timeoutInSeconds?: number;
@@ -16,7 +16,7 @@ export declare namespace RegisteredPrompts {
16
16
  }
17
17
  export declare class RegisteredPrompts {
18
18
  protected readonly _options: RegisteredPrompts.Options;
19
- constructor(_options?: RegisteredPrompts.Options);
19
+ constructor(_options: RegisteredPrompts.Options);
20
20
  /**
21
21
  * Registers a prompt within Vellum and creates associated Vellum entities. Intended to be used by integration
22
22
  * partners, not directly by Vellum users.
@@ -46,7 +46,7 @@ const serializers = __importStar(require("../../../../serialization"));
46
46
  const url_join_1 = __importDefault(require("url-join"));
47
47
  const errors = __importStar(require("../../../../errors"));
48
48
  class RegisteredPrompts {
49
- constructor(_options = {}) {
49
+ constructor(_options) {
50
50
  this._options = _options;
51
51
  }
52
52
  /**
@@ -96,7 +96,7 @@ class RegisteredPrompts {
96
96
  X_API_KEY: yield core.Supplier.get(this._options.apiKey),
97
97
  "X-Fern-Language": "JavaScript",
98
98
  "X-Fern-SDK-Name": "vellum-ai",
99
- "X-Fern-SDK-Version": "0.3.8",
99
+ "X-Fern-SDK-Version": "0.3.9",
100
100
  "X-Fern-Runtime": core.RUNTIME.type,
101
101
  "X-Fern-Runtime-Version": core.RUNTIME.version,
102
102
  },
@@ -7,7 +7,7 @@ import * as Vellum from "../../..";
7
7
  export declare namespace Sandboxes {
8
8
  interface Options {
9
9
  environment?: core.Supplier<environments.VellumEnvironment | environments.VellumEnvironmentUrls>;
10
- apiKey?: core.Supplier<string | undefined>;
10
+ apiKey: core.Supplier<string>;
11
11
  }
12
12
  interface RequestOptions {
13
13
  timeoutInSeconds?: number;
@@ -16,7 +16,7 @@ export declare namespace Sandboxes {
16
16
  }
17
17
  export declare class Sandboxes {
18
18
  protected readonly _options: Sandboxes.Options;
19
- constructor(_options?: Sandboxes.Options);
19
+ constructor(_options: Sandboxes.Options);
20
20
  /**
21
21
  * Upserts a new scenario for a sandbox, keying off of the optionally provided scenario id.
22
22
  *
@@ -45,7 +45,7 @@ const serializers = __importStar(require("../../../../serialization"));
45
45
  const url_join_1 = __importDefault(require("url-join"));
46
46
  const errors = __importStar(require("../../../../errors"));
47
47
  class Sandboxes {
48
- constructor(_options = {}) {
48
+ constructor(_options) {
49
49
  this._options = _options;
50
50
  }
51
51
  /**
@@ -84,7 +84,7 @@ class Sandboxes {
84
84
  X_API_KEY: yield core.Supplier.get(this._options.apiKey),
85
85
  "X-Fern-Language": "JavaScript",
86
86
  "X-Fern-SDK-Name": "vellum-ai",
87
- "X-Fern-SDK-Version": "0.3.8",
87
+ "X-Fern-SDK-Version": "0.3.9",
88
88
  "X-Fern-Runtime": core.RUNTIME.type,
89
89
  "X-Fern-Runtime-Version": core.RUNTIME.version,
90
90
  },
@@ -141,7 +141,7 @@ class Sandboxes {
141
141
  X_API_KEY: yield core.Supplier.get(this._options.apiKey),
142
142
  "X-Fern-Language": "JavaScript",
143
143
  "X-Fern-SDK-Name": "vellum-ai",
144
- "X-Fern-SDK-Version": "0.3.8",
144
+ "X-Fern-SDK-Version": "0.3.9",
145
145
  "X-Fern-Runtime": core.RUNTIME.type,
146
146
  "X-Fern-Runtime-Version": core.RUNTIME.version,
147
147
  },
@@ -7,7 +7,7 @@ import * as Vellum from "../../..";
7
7
  export declare namespace TestSuites {
8
8
  interface Options {
9
9
  environment?: core.Supplier<environments.VellumEnvironment | environments.VellumEnvironmentUrls>;
10
- apiKey?: core.Supplier<string | undefined>;
10
+ apiKey: core.Supplier<string>;
11
11
  }
12
12
  interface RequestOptions {
13
13
  timeoutInSeconds?: number;
@@ -16,7 +16,7 @@ export declare namespace TestSuites {
16
16
  }
17
17
  export declare class TestSuites {
18
18
  protected readonly _options: TestSuites.Options;
19
- constructor(_options?: TestSuites.Options);
19
+ constructor(_options: TestSuites.Options);
20
20
  /**
21
21
  * Upserts a new test case for a test suite, keying off of the optionally provided test case id.
22
22
  *
@@ -45,7 +45,7 @@ const serializers = __importStar(require("../../../../serialization"));
45
45
  const url_join_1 = __importDefault(require("url-join"));
46
46
  const errors = __importStar(require("../../../../errors"));
47
47
  class TestSuites {
48
- constructor(_options = {}) {
48
+ constructor(_options) {
49
49
  this._options = _options;
50
50
  }
51
51
  /**
@@ -74,7 +74,7 @@ class TestSuites {
74
74
  X_API_KEY: yield core.Supplier.get(this._options.apiKey),
75
75
  "X-Fern-Language": "JavaScript",
76
76
  "X-Fern-SDK-Name": "vellum-ai",
77
- "X-Fern-SDK-Version": "0.3.8",
77
+ "X-Fern-SDK-Version": "0.3.9",
78
78
  "X-Fern-Runtime": core.RUNTIME.type,
79
79
  "X-Fern-Runtime-Version": core.RUNTIME.version,
80
80
  },
@@ -131,7 +131,7 @@ class TestSuites {
131
131
  X_API_KEY: yield core.Supplier.get(this._options.apiKey),
132
132
  "X-Fern-Language": "JavaScript",
133
133
  "X-Fern-SDK-Name": "vellum-ai",
134
- "X-Fern-SDK-Version": "0.3.8",
134
+ "X-Fern-SDK-Version": "0.3.9",
135
135
  "X-Fern-Runtime": core.RUNTIME.type,
136
136
  "X-Fern-Runtime-Version": core.RUNTIME.version,
137
137
  },
@@ -7,7 +7,7 @@ import * as Vellum from "../../..";
7
7
  export declare namespace WorkflowDeployments {
8
8
  interface Options {
9
9
  environment?: core.Supplier<environments.VellumEnvironment | environments.VellumEnvironmentUrls>;
10
- apiKey?: core.Supplier<string | undefined>;
10
+ apiKey: core.Supplier<string>;
11
11
  }
12
12
  interface RequestOptions {
13
13
  timeoutInSeconds?: number;
@@ -16,7 +16,7 @@ export declare namespace WorkflowDeployments {
16
16
  }
17
17
  export declare class WorkflowDeployments {
18
18
  protected readonly _options: WorkflowDeployments.Options;
19
- constructor(_options?: WorkflowDeployments.Options);
19
+ constructor(_options: WorkflowDeployments.Options);
20
20
  list(request?: Vellum.WorkflowDeploymentsListRequest, requestOptions?: WorkflowDeployments.RequestOptions): Promise<Vellum.PaginatedSlimWorkflowDeploymentList>;
21
21
  /**
22
22
  * Used to retrieve a workflow deployment given its ID or name.
@@ -45,7 +45,7 @@ const url_join_1 = __importDefault(require("url-join"));
45
45
  const serializers = __importStar(require("../../../../serialization"));
46
46
  const errors = __importStar(require("../../../../errors"));
47
47
  class WorkflowDeployments {
48
- constructor(_options = {}) {
48
+ constructor(_options) {
49
49
  this._options = _options;
50
50
  }
51
51
  list(request = {}, requestOptions) {
@@ -73,7 +73,7 @@ class WorkflowDeployments {
73
73
  X_API_KEY: yield core.Supplier.get(this._options.apiKey),
74
74
  "X-Fern-Language": "JavaScript",
75
75
  "X-Fern-SDK-Name": "vellum-ai",
76
- "X-Fern-SDK-Version": "0.3.8",
76
+ "X-Fern-SDK-Version": "0.3.9",
77
77
  "X-Fern-Runtime": core.RUNTIME.type,
78
78
  "X-Fern-Runtime-Version": core.RUNTIME.version,
79
79
  },
@@ -128,7 +128,7 @@ class WorkflowDeployments {
128
128
  X_API_KEY: yield core.Supplier.get(this._options.apiKey),
129
129
  "X-Fern-Language": "JavaScript",
130
130
  "X-Fern-SDK-Name": "vellum-ai",
131
- "X-Fern-SDK-Version": "0.3.8",
131
+ "X-Fern-SDK-Version": "0.3.9",
132
132
  "X-Fern-Runtime": core.RUNTIME.type,
133
133
  "X-Fern-Runtime-Version": core.RUNTIME.version,
134
134
  },
@@ -4,4 +4,5 @@
4
4
  import * as Vellum from "..";
5
5
  export interface CodeExecutionNodeResultData {
6
6
  output: Vellum.CodeExecutionNodeResultOutput;
7
+ logOutputId?: string;
7
8
  }
@@ -5,5 +5,5 @@ import * as Vellum from "..";
5
5
  export interface NodeInputCompiledArrayValue {
6
6
  nodeInputId: string;
7
7
  key: string;
8
- value: Vellum.ArrayVariableValueItem[];
8
+ value?: Vellum.ArrayVariableValueItem[];
9
9
  }
@@ -4,5 +4,5 @@
4
4
  import * as Vellum from "..";
5
5
  export interface NodeOutputCompiledArrayValue {
6
6
  nodeOutputId: string;
7
- value: Vellum.ArrayVariableValueItem[];
7
+ value?: Vellum.ArrayVariableValueItem[];
8
8
  }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export declare type SubworkflowEnum = "SUBWORKFLOW";
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * A Node Result Event emitted from a Subworkflow Node.
6
+ */
7
+ export interface SubworkflowNodeResult {
8
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vellum from "..";
5
+ export interface TerminalNodeArrayResult {
6
+ id?: string;
7
+ /** The unique name given to the terminal node that produced this output. */
8
+ name: string;
9
+ value?: Vellum.ArrayVariableValueItem[];
10
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vellum from "..";
5
+ export interface TerminalNodeFunctionCallResult {
6
+ id?: string;
7
+ /** The unique name given to the terminal node that produced this output. */
8
+ name: string;
9
+ value?: Vellum.FunctionCall;
10
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -2,7 +2,7 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  import * as Vellum from "..";
5
- export declare type TerminalNodeResultOutput = Vellum.TerminalNodeResultOutput.String | Vellum.TerminalNodeResultOutput.Number | Vellum.TerminalNodeResultOutput.Json | Vellum.TerminalNodeResultOutput.ChatHistory | Vellum.TerminalNodeResultOutput.SearchResults | Vellum.TerminalNodeResultOutput.Error_;
5
+ export declare type TerminalNodeResultOutput = Vellum.TerminalNodeResultOutput.String | Vellum.TerminalNodeResultOutput.Number | Vellum.TerminalNodeResultOutput.Json | Vellum.TerminalNodeResultOutput.ChatHistory | Vellum.TerminalNodeResultOutput.SearchResults | Vellum.TerminalNodeResultOutput.Array | Vellum.TerminalNodeResultOutput.FunctionCall | Vellum.TerminalNodeResultOutput.Error_;
6
6
  export declare namespace TerminalNodeResultOutput {
7
7
  interface String extends Vellum.TerminalNodeStringResult {
8
8
  type: "STRING";
@@ -19,6 +19,12 @@ export declare namespace TerminalNodeResultOutput {
19
19
  interface SearchResults extends Vellum.TerminalNodeSearchResultsResult {
20
20
  type: "SEARCH_RESULTS";
21
21
  }
22
+ interface Array extends Vellum.TerminalNodeArrayResult {
23
+ type: "ARRAY";
24
+ }
25
+ interface FunctionCall extends Vellum.TerminalNodeFunctionCallResult {
26
+ type: "FUNCTION_CALL";
27
+ }
22
28
  interface Error_ extends Vellum.TerminalNodeErrorResult {
23
29
  type: "ERROR";
24
30
  }