vellum-ai 0.9.3 → 0.9.5

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 (219) hide show
  1. package/.mock/definition/__package__.yml +77 -1
  2. package/.mock/definition/deployments.yml +50 -1
  3. package/.mock/definition/workflowDeployments.yml +49 -0
  4. package/.mock/definition/workflows.yml +17 -2
  5. package/.mock/openapi/openapi.yml +232 -1
  6. package/Client.js +10 -10
  7. package/api/resources/adHoc/client/Client.js +1 -1
  8. package/api/resources/containerImages/client/Client.js +4 -4
  9. package/api/resources/deployments/client/Client.d.ts +12 -1
  10. package/api/resources/deployments/client/Client.js +74 -6
  11. package/api/resources/deployments/client/requests/ListDeploymentReleaseTagsRequest.d.ts +23 -0
  12. package/api/resources/deployments/client/requests/ListDeploymentReleaseTagsRequest.js +5 -0
  13. package/api/resources/deployments/client/requests/index.d.ts +1 -0
  14. package/api/resources/deployments/types/ListDeploymentReleaseTagsRequestSource.d.ts +8 -0
  15. package/api/resources/deployments/types/ListDeploymentReleaseTagsRequestSource.js +10 -0
  16. package/api/resources/deployments/types/index.d.ts +1 -0
  17. package/api/resources/deployments/types/index.js +1 -0
  18. package/api/resources/documentIndexes/client/Client.js +8 -8
  19. package/api/resources/documents/client/Client.js +5 -5
  20. package/api/resources/folderEntities/client/Client.js +2 -2
  21. package/api/resources/index.d.ts +2 -1
  22. package/api/resources/index.js +3 -2
  23. package/api/resources/metricDefinitions/client/Client.js +1 -1
  24. package/api/resources/sandboxes/client/Client.js +3 -3
  25. package/api/resources/testSuiteRuns/client/Client.js +3 -3
  26. package/api/resources/testSuites/client/Client.js +4 -4
  27. package/api/resources/workflowDeployments/client/Client.d.ts +11 -0
  28. package/api/resources/workflowDeployments/client/Client.js +72 -4
  29. package/api/resources/workflowDeployments/client/requests/ListWorkflowReleaseTagsRequest.d.ts +23 -0
  30. package/api/resources/workflowDeployments/client/requests/ListWorkflowReleaseTagsRequest.js +5 -0
  31. package/api/resources/workflowDeployments/client/requests/index.d.ts +1 -0
  32. package/api/resources/workflowDeployments/types/ListWorkflowReleaseTagsRequestSource.d.ts +8 -0
  33. package/api/resources/workflowDeployments/types/ListWorkflowReleaseTagsRequestSource.js +10 -0
  34. package/api/resources/workflowDeployments/types/index.d.ts +1 -0
  35. package/api/resources/workflowDeployments/types/index.js +1 -0
  36. package/api/resources/workflowSandboxes/client/Client.js +1 -1
  37. package/api/resources/workflows/client/Client.d.ts +3 -2
  38. package/api/resources/workflows/client/Client.js +20 -7
  39. package/api/resources/workflows/client/requests/WorkflowPushRequest.d.ts +1 -0
  40. package/api/resources/workflows/client/requests/WorkflowsPullRequest.d.ts +13 -0
  41. package/api/resources/workflows/client/requests/WorkflowsPullRequest.js +5 -0
  42. package/api/resources/workflows/client/requests/index.d.ts +1 -0
  43. package/api/resources/workflows/index.d.ts +1 -0
  44. package/api/resources/workflows/index.js +1 -0
  45. package/api/resources/workflows/types/WorkflowsPullRequestFormat.d.ts +8 -0
  46. package/api/resources/workflows/types/WorkflowsPullRequestFormat.js +10 -0
  47. package/api/resources/workflows/types/index.d.ts +1 -0
  48. package/api/resources/workflows/types/index.js +17 -0
  49. package/api/resources/workspaceSecrets/client/Client.js +2 -2
  50. package/api/types/ArrayVariableValueItem.d.ts +1 -1
  51. package/api/types/AudioVariableValue.d.ts +11 -0
  52. package/api/types/AudioVariableValue.js +5 -0
  53. package/api/types/AudioVellumValue.d.ts +11 -0
  54. package/api/types/AudioVellumValue.js +5 -0
  55. package/api/types/AudioVellumValueRequest.d.ts +11 -0
  56. package/api/types/AudioVellumValueRequest.js +5 -0
  57. package/api/types/PaginatedDeploymentReleaseTagReadList.d.ts +10 -0
  58. package/api/types/PaginatedDeploymentReleaseTagReadList.js +5 -0
  59. package/api/types/PaginatedWorkflowReleaseTagReadList.d.ts +10 -0
  60. package/api/types/PaginatedWorkflowReleaseTagReadList.js +5 -0
  61. package/api/types/VellumAudio.d.ts +1 -0
  62. package/api/types/VellumAudioRequest.d.ts +1 -0
  63. package/api/types/VellumValue.d.ts +1 -1
  64. package/api/types/VellumValueRequest.d.ts +1 -1
  65. package/api/types/WorkflowPushDeploymentConfigRequest.d.ts +9 -0
  66. package/api/types/WorkflowPushDeploymentConfigRequest.js +5 -0
  67. package/api/types/WorkflowPushResponse.d.ts +1 -0
  68. package/api/types/index.d.ts +6 -0
  69. package/api/types/index.js +6 -0
  70. package/dist/Client.js +10 -10
  71. package/dist/api/resources/adHoc/client/Client.js +1 -1
  72. package/dist/api/resources/containerImages/client/Client.js +4 -4
  73. package/dist/api/resources/deployments/client/Client.d.ts +12 -1
  74. package/dist/api/resources/deployments/client/Client.js +74 -6
  75. package/dist/api/resources/deployments/client/requests/ListDeploymentReleaseTagsRequest.d.ts +23 -0
  76. package/dist/api/resources/deployments/client/requests/ListDeploymentReleaseTagsRequest.js +5 -0
  77. package/dist/api/resources/deployments/client/requests/index.d.ts +1 -0
  78. package/dist/api/resources/deployments/types/ListDeploymentReleaseTagsRequestSource.d.ts +8 -0
  79. package/dist/api/resources/deployments/types/ListDeploymentReleaseTagsRequestSource.js +10 -0
  80. package/dist/api/resources/deployments/types/index.d.ts +1 -0
  81. package/dist/api/resources/deployments/types/index.js +1 -0
  82. package/dist/api/resources/documentIndexes/client/Client.js +8 -8
  83. package/dist/api/resources/documents/client/Client.js +5 -5
  84. package/dist/api/resources/folderEntities/client/Client.js +2 -2
  85. package/dist/api/resources/index.d.ts +2 -1
  86. package/dist/api/resources/index.js +3 -2
  87. package/dist/api/resources/metricDefinitions/client/Client.js +1 -1
  88. package/dist/api/resources/sandboxes/client/Client.js +3 -3
  89. package/dist/api/resources/testSuiteRuns/client/Client.js +3 -3
  90. package/dist/api/resources/testSuites/client/Client.js +4 -4
  91. package/dist/api/resources/workflowDeployments/client/Client.d.ts +11 -0
  92. package/dist/api/resources/workflowDeployments/client/Client.js +72 -4
  93. package/dist/api/resources/workflowDeployments/client/requests/ListWorkflowReleaseTagsRequest.d.ts +23 -0
  94. package/dist/api/resources/workflowDeployments/client/requests/ListWorkflowReleaseTagsRequest.js +5 -0
  95. package/dist/api/resources/workflowDeployments/client/requests/index.d.ts +1 -0
  96. package/dist/api/resources/workflowDeployments/types/ListWorkflowReleaseTagsRequestSource.d.ts +8 -0
  97. package/dist/api/resources/workflowDeployments/types/ListWorkflowReleaseTagsRequestSource.js +10 -0
  98. package/dist/api/resources/workflowDeployments/types/index.d.ts +1 -0
  99. package/dist/api/resources/workflowDeployments/types/index.js +1 -0
  100. package/dist/api/resources/workflowSandboxes/client/Client.js +1 -1
  101. package/dist/api/resources/workflows/client/Client.d.ts +3 -2
  102. package/dist/api/resources/workflows/client/Client.js +20 -7
  103. package/dist/api/resources/workflows/client/requests/WorkflowPushRequest.d.ts +1 -0
  104. package/dist/api/resources/workflows/client/requests/WorkflowsPullRequest.d.ts +13 -0
  105. package/dist/api/resources/workflows/client/requests/WorkflowsPullRequest.js +5 -0
  106. package/dist/api/resources/workflows/client/requests/index.d.ts +1 -0
  107. package/dist/api/resources/workflows/index.d.ts +1 -0
  108. package/dist/api/resources/workflows/index.js +1 -0
  109. package/dist/api/resources/workflows/types/WorkflowsPullRequestFormat.d.ts +8 -0
  110. package/dist/api/resources/workflows/types/WorkflowsPullRequestFormat.js +10 -0
  111. package/dist/api/resources/workflows/types/index.d.ts +1 -0
  112. package/dist/api/resources/workflows/types/index.js +17 -0
  113. package/dist/api/resources/workspaceSecrets/client/Client.js +2 -2
  114. package/dist/api/types/ArrayVariableValueItem.d.ts +1 -1
  115. package/dist/api/types/AudioVariableValue.d.ts +11 -0
  116. package/dist/api/types/AudioVariableValue.js +5 -0
  117. package/dist/api/types/AudioVellumValue.d.ts +11 -0
  118. package/dist/api/types/AudioVellumValue.js +5 -0
  119. package/dist/api/types/AudioVellumValueRequest.d.ts +11 -0
  120. package/dist/api/types/AudioVellumValueRequest.js +5 -0
  121. package/dist/api/types/PaginatedDeploymentReleaseTagReadList.d.ts +10 -0
  122. package/dist/api/types/PaginatedDeploymentReleaseTagReadList.js +5 -0
  123. package/dist/api/types/PaginatedWorkflowReleaseTagReadList.d.ts +10 -0
  124. package/dist/api/types/PaginatedWorkflowReleaseTagReadList.js +5 -0
  125. package/dist/api/types/VellumAudio.d.ts +1 -0
  126. package/dist/api/types/VellumAudioRequest.d.ts +1 -0
  127. package/dist/api/types/VellumValue.d.ts +1 -1
  128. package/dist/api/types/VellumValueRequest.d.ts +1 -1
  129. package/dist/api/types/WorkflowPushDeploymentConfigRequest.d.ts +9 -0
  130. package/dist/api/types/WorkflowPushDeploymentConfigRequest.js +5 -0
  131. package/dist/api/types/WorkflowPushResponse.d.ts +1 -0
  132. package/dist/api/types/index.d.ts +6 -0
  133. package/dist/api/types/index.js +6 -0
  134. package/dist/serialization/resources/deployments/types/ListDeploymentReleaseTagsRequestSource.d.ts +10 -0
  135. package/dist/serialization/resources/deployments/types/ListDeploymentReleaseTagsRequestSource.js +31 -0
  136. package/dist/serialization/resources/deployments/types/index.d.ts +1 -0
  137. package/dist/serialization/resources/deployments/types/index.js +1 -0
  138. package/dist/serialization/resources/index.d.ts +2 -1
  139. package/dist/serialization/resources/index.js +3 -2
  140. package/dist/serialization/resources/workflowDeployments/types/ListWorkflowReleaseTagsRequestSource.d.ts +10 -0
  141. package/dist/serialization/resources/workflowDeployments/types/ListWorkflowReleaseTagsRequestSource.js +31 -0
  142. package/dist/serialization/resources/workflowDeployments/types/index.d.ts +1 -0
  143. package/dist/serialization/resources/workflowDeployments/types/index.js +1 -0
  144. package/dist/serialization/resources/workflows/client/requests/WorkflowPushRequest.d.ts +2 -0
  145. package/dist/serialization/resources/workflows/client/requests/WorkflowPushRequest.js +2 -0
  146. package/dist/serialization/resources/workflows/index.d.ts +1 -0
  147. package/dist/serialization/resources/workflows/index.js +1 -0
  148. package/dist/serialization/resources/workflows/types/WorkflowsPullRequestFormat.d.ts +10 -0
  149. package/dist/serialization/resources/workflows/types/WorkflowsPullRequestFormat.js +31 -0
  150. package/dist/serialization/resources/workflows/types/index.d.ts +1 -0
  151. package/dist/serialization/resources/workflows/types/index.js +17 -0
  152. package/dist/serialization/types/ArrayVariableValueItem.d.ts +2 -1
  153. package/dist/serialization/types/ArrayVariableValueItem.js +2 -0
  154. package/dist/serialization/types/AudioVariableValue.d.ts +14 -0
  155. package/dist/serialization/types/AudioVariableValue.js +35 -0
  156. package/dist/serialization/types/AudioVellumValue.d.ts +14 -0
  157. package/dist/serialization/types/AudioVellumValue.js +35 -0
  158. package/dist/serialization/types/AudioVellumValueRequest.d.ts +14 -0
  159. package/dist/serialization/types/AudioVellumValueRequest.js +35 -0
  160. package/dist/serialization/types/PaginatedDeploymentReleaseTagReadList.d.ts +16 -0
  161. package/dist/serialization/types/PaginatedDeploymentReleaseTagReadList.js +37 -0
  162. package/dist/serialization/types/PaginatedWorkflowReleaseTagReadList.d.ts +16 -0
  163. package/dist/serialization/types/PaginatedWorkflowReleaseTagReadList.js +37 -0
  164. package/dist/serialization/types/VellumValue.d.ts +2 -1
  165. package/dist/serialization/types/VellumValue.js +2 -0
  166. package/dist/serialization/types/VellumValueRequest.d.ts +2 -1
  167. package/dist/serialization/types/VellumValueRequest.js +2 -0
  168. package/dist/serialization/types/WorkflowPushDeploymentConfigRequest.d.ts +15 -0
  169. package/dist/serialization/types/WorkflowPushDeploymentConfigRequest.js +36 -0
  170. package/dist/serialization/types/WorkflowPushResponse.d.ts +1 -0
  171. package/dist/serialization/types/WorkflowPushResponse.js +1 -0
  172. package/dist/serialization/types/index.d.ts +6 -0
  173. package/dist/serialization/types/index.js +6 -0
  174. package/dist/version.d.ts +1 -1
  175. package/dist/version.js +1 -1
  176. package/package.json +1 -1
  177. package/reference.md +155 -3
  178. package/serialization/resources/deployments/types/ListDeploymentReleaseTagsRequestSource.d.ts +10 -0
  179. package/serialization/resources/deployments/types/ListDeploymentReleaseTagsRequestSource.js +31 -0
  180. package/serialization/resources/deployments/types/index.d.ts +1 -0
  181. package/serialization/resources/deployments/types/index.js +1 -0
  182. package/serialization/resources/index.d.ts +2 -1
  183. package/serialization/resources/index.js +3 -2
  184. package/serialization/resources/workflowDeployments/types/ListWorkflowReleaseTagsRequestSource.d.ts +10 -0
  185. package/serialization/resources/workflowDeployments/types/ListWorkflowReleaseTagsRequestSource.js +31 -0
  186. package/serialization/resources/workflowDeployments/types/index.d.ts +1 -0
  187. package/serialization/resources/workflowDeployments/types/index.js +1 -0
  188. package/serialization/resources/workflows/client/requests/WorkflowPushRequest.d.ts +2 -0
  189. package/serialization/resources/workflows/client/requests/WorkflowPushRequest.js +2 -0
  190. package/serialization/resources/workflows/index.d.ts +1 -0
  191. package/serialization/resources/workflows/index.js +1 -0
  192. package/serialization/resources/workflows/types/WorkflowsPullRequestFormat.d.ts +10 -0
  193. package/serialization/resources/workflows/types/WorkflowsPullRequestFormat.js +31 -0
  194. package/serialization/resources/workflows/types/index.d.ts +1 -0
  195. package/serialization/resources/workflows/types/index.js +17 -0
  196. package/serialization/types/ArrayVariableValueItem.d.ts +2 -1
  197. package/serialization/types/ArrayVariableValueItem.js +2 -0
  198. package/serialization/types/AudioVariableValue.d.ts +14 -0
  199. package/serialization/types/AudioVariableValue.js +35 -0
  200. package/serialization/types/AudioVellumValue.d.ts +14 -0
  201. package/serialization/types/AudioVellumValue.js +35 -0
  202. package/serialization/types/AudioVellumValueRequest.d.ts +14 -0
  203. package/serialization/types/AudioVellumValueRequest.js +35 -0
  204. package/serialization/types/PaginatedDeploymentReleaseTagReadList.d.ts +16 -0
  205. package/serialization/types/PaginatedDeploymentReleaseTagReadList.js +37 -0
  206. package/serialization/types/PaginatedWorkflowReleaseTagReadList.d.ts +16 -0
  207. package/serialization/types/PaginatedWorkflowReleaseTagReadList.js +37 -0
  208. package/serialization/types/VellumValue.d.ts +2 -1
  209. package/serialization/types/VellumValue.js +2 -0
  210. package/serialization/types/VellumValueRequest.d.ts +2 -1
  211. package/serialization/types/VellumValueRequest.js +2 -0
  212. package/serialization/types/WorkflowPushDeploymentConfigRequest.d.ts +15 -0
  213. package/serialization/types/WorkflowPushDeploymentConfigRequest.js +36 -0
  214. package/serialization/types/WorkflowPushResponse.d.ts +1 -0
  215. package/serialization/types/WorkflowPushResponse.js +1 -0
  216. package/serialization/types/index.d.ts +6 -0
  217. package/serialization/types/index.js +6 -0
  218. package/version.d.ts +1 -1
  219. package/version.js +1 -1
@@ -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("./WorkflowsPullRequestFormat"), exports);
@@ -64,7 +64,7 @@ class WorkspaceSecrets {
64
64
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
65
65
  .default, `v1/workspace-secrets/${encodeURIComponent(id)}`),
66
66
  method: "GET",
67
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "v0.9.3", "User-Agent": "vellum-ai/v0.9.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
67
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.5", "User-Agent": "vellum-ai/0.9.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
68
68
  contentType: "application/json",
69
69
  requestType: "json",
70
70
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -117,7 +117,7 @@ class WorkspaceSecrets {
117
117
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
118
118
  .default, `v1/workspace-secrets/${encodeURIComponent(id)}`),
119
119
  method: "PATCH",
120
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "v0.9.3", "User-Agent": "vellum-ai/v0.9.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
120
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.5", "User-Agent": "vellum-ai/0.9.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
121
121
  contentType: "application/json",
122
122
  requestType: "json",
123
123
  body: serializers.PatchedWorkspaceSecretUpdateRequest.jsonOrThrow(request, {
@@ -2,4 +2,4 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  import * as Vellum from "../index";
5
- export declare type ArrayVariableValueItem = Vellum.StringVariableValue | Vellum.NumberVariableValue | Vellum.JsonVariableValue | Vellum.ErrorVariableValue | Vellum.FunctionCallVariableValue | Vellum.ImageVariableValue | Vellum.ChatHistoryVariableValue | Vellum.SearchResultsVariableValue | Vellum.ArrayVariableValue;
5
+ export declare type ArrayVariableValueItem = Vellum.StringVariableValue | Vellum.NumberVariableValue | Vellum.JsonVariableValue | Vellum.ErrorVariableValue | Vellum.FunctionCallVariableValue | Vellum.ImageVariableValue | Vellum.AudioVariableValue | Vellum.ChatHistoryVariableValue | Vellum.SearchResultsVariableValue | Vellum.ArrayVariableValue;
@@ -0,0 +1,11 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vellum from "../index";
5
+ /**
6
+ * A base Vellum primitive value representing audio.
7
+ */
8
+ export interface AudioVariableValue {
9
+ type: "AUDIO";
10
+ value?: Vellum.VellumAudio;
11
+ }
@@ -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,11 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vellum from "../index";
5
+ /**
6
+ * A base Vellum primitive value representing audio.
7
+ */
8
+ export interface AudioVellumValue {
9
+ type: "AUDIO";
10
+ value?: Vellum.VellumAudio;
11
+ }
@@ -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,11 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vellum from "../index";
5
+ /**
6
+ * A base Vellum primitive value representing audio.
7
+ */
8
+ export interface AudioVellumValueRequest {
9
+ type: "AUDIO";
10
+ value?: Vellum.VellumAudioRequest;
11
+ }
@@ -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 "../index";
5
+ export interface PaginatedDeploymentReleaseTagReadList {
6
+ count?: number;
7
+ next?: string;
8
+ previous?: string;
9
+ results?: Vellum.DeploymentReleaseTagRead[];
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 "../index";
5
+ export interface PaginatedWorkflowReleaseTagReadList {
6
+ count?: number;
7
+ next?: string;
8
+ previous?: string;
9
+ results?: Vellum.WorkflowReleaseTagRead[];
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,6 +2,7 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  export interface VellumAudio {
5
+ /** A valid data URL containing the audio data. */
5
6
  src: string;
6
7
  metadata?: Record<string, unknown>;
7
8
  }
@@ -2,6 +2,7 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  export interface VellumAudioRequest {
5
+ /** A valid data URL containing the audio data. */
5
6
  src: string;
6
7
  metadata?: Record<string, unknown>;
7
8
  }
@@ -2,4 +2,4 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  import * as Vellum from "../index";
5
- export declare type VellumValue = Vellum.StringVellumValue | Vellum.NumberVellumValue | Vellum.JsonVellumValue | Vellum.ImageVellumValue | Vellum.FunctionCallVellumValue | Vellum.ErrorVellumValue | Vellum.ArrayVellumValue | Vellum.ChatHistoryVellumValue | Vellum.SearchResultsVellumValue;
5
+ export declare type VellumValue = Vellum.StringVellumValue | Vellum.NumberVellumValue | Vellum.JsonVellumValue | Vellum.ImageVellumValue | Vellum.AudioVellumValue | Vellum.FunctionCallVellumValue | Vellum.ErrorVellumValue | Vellum.ArrayVellumValue | Vellum.ChatHistoryVellumValue | Vellum.SearchResultsVellumValue;
@@ -2,4 +2,4 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  import * as Vellum from "../index";
5
- export declare type VellumValueRequest = Vellum.StringVellumValueRequest | Vellum.NumberVellumValueRequest | Vellum.JsonVellumValueRequest | Vellum.ImageVellumValueRequest | Vellum.FunctionCallVellumValueRequest | Vellum.ErrorVellumValueRequest | Vellum.ArrayVellumValueRequest | Vellum.ChatHistoryVellumValueRequest | Vellum.SearchResultsVellumValueRequest;
5
+ export declare type VellumValueRequest = Vellum.StringVellumValueRequest | Vellum.NumberVellumValueRequest | Vellum.JsonVellumValueRequest | Vellum.ImageVellumValueRequest | Vellum.AudioVellumValueRequest | Vellum.FunctionCallVellumValueRequest | Vellum.ErrorVellumValueRequest | Vellum.ArrayVellumValueRequest | Vellum.ChatHistoryVellumValueRequest | Vellum.SearchResultsVellumValueRequest;
@@ -0,0 +1,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface WorkflowPushDeploymentConfigRequest {
5
+ label?: string;
6
+ name?: string;
7
+ description?: string;
8
+ releaseTags?: string[];
9
+ }
@@ -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 });
@@ -3,4 +3,5 @@
3
3
  */
4
4
  export interface WorkflowPushResponse {
5
5
  workflowSandboxId: string;
6
+ workflowDeploymentId?: string;
6
7
  }
@@ -18,6 +18,9 @@ export * from "./ArrayVellumValue";
18
18
  export * from "./ArrayVellumValueRequest";
19
19
  export * from "./AudioChatMessageContent";
20
20
  export * from "./AudioChatMessageContentRequest";
21
+ export * from "./AudioVariableValue";
22
+ export * from "./AudioVellumValue";
23
+ export * from "./AudioVellumValueRequest";
21
24
  export * from "./BasicVectorizerIntfloatMultilingualE5Large";
22
25
  export * from "./BasicVectorizerIntfloatMultilingualE5LargeRequest";
23
26
  export * from "./BasicVectorizerSentenceTransformersMultiQaMpnetBaseCosV1";
@@ -235,6 +238,7 @@ export * from "./OpenAiVectorizerTextEmbedding3SmallRequest";
235
238
  export * from "./OpenAiVectorizerTextEmbeddingAda002";
236
239
  export * from "./OpenAiVectorizerTextEmbeddingAda002Request";
237
240
  export * from "./PaginatedContainerImageReadList";
241
+ export * from "./PaginatedDeploymentReleaseTagReadList";
238
242
  export * from "./PaginatedDocumentIndexReadList";
239
243
  export * from "./PaginatedFolderEntityList";
240
244
  export * from "./PaginatedSlimDeploymentReadList";
@@ -242,6 +246,7 @@ export * from "./PaginatedSlimDocumentList";
242
246
  export * from "./PaginatedSlimWorkflowDeploymentList";
243
247
  export * from "./PaginatedTestSuiteRunExecutionList";
244
248
  export * from "./PaginatedTestSuiteTestCaseList";
249
+ export * from "./PaginatedWorkflowReleaseTagReadList";
245
250
  export * from "./PdfSearchResultMetaSource";
246
251
  export * from "./PdfSearchResultMetaSourceRequest";
247
252
  export * from "./PlainTextPromptBlockRequest";
@@ -452,6 +457,7 @@ export * from "./WorkflowOutputJson";
452
457
  export * from "./WorkflowOutputNumber";
453
458
  export * from "./WorkflowOutputSearchResults";
454
459
  export * from "./WorkflowOutputString";
460
+ export * from "./WorkflowPushDeploymentConfigRequest";
455
461
  export * from "./WorkflowPushExecConfig";
456
462
  export * from "./WorkflowPushResponse";
457
463
  export * from "./WorkflowReleaseTagRead";
@@ -34,6 +34,9 @@ __exportStar(require("./ArrayVellumValue"), exports);
34
34
  __exportStar(require("./ArrayVellumValueRequest"), exports);
35
35
  __exportStar(require("./AudioChatMessageContent"), exports);
36
36
  __exportStar(require("./AudioChatMessageContentRequest"), exports);
37
+ __exportStar(require("./AudioVariableValue"), exports);
38
+ __exportStar(require("./AudioVellumValue"), exports);
39
+ __exportStar(require("./AudioVellumValueRequest"), exports);
37
40
  __exportStar(require("./BasicVectorizerIntfloatMultilingualE5Large"), exports);
38
41
  __exportStar(require("./BasicVectorizerIntfloatMultilingualE5LargeRequest"), exports);
39
42
  __exportStar(require("./BasicVectorizerSentenceTransformersMultiQaMpnetBaseCosV1"), exports);
@@ -251,6 +254,7 @@ __exportStar(require("./OpenAiVectorizerTextEmbedding3SmallRequest"), exports);
251
254
  __exportStar(require("./OpenAiVectorizerTextEmbeddingAda002"), exports);
252
255
  __exportStar(require("./OpenAiVectorizerTextEmbeddingAda002Request"), exports);
253
256
  __exportStar(require("./PaginatedContainerImageReadList"), exports);
257
+ __exportStar(require("./PaginatedDeploymentReleaseTagReadList"), exports);
254
258
  __exportStar(require("./PaginatedDocumentIndexReadList"), exports);
255
259
  __exportStar(require("./PaginatedFolderEntityList"), exports);
256
260
  __exportStar(require("./PaginatedSlimDeploymentReadList"), exports);
@@ -258,6 +262,7 @@ __exportStar(require("./PaginatedSlimDocumentList"), exports);
258
262
  __exportStar(require("./PaginatedSlimWorkflowDeploymentList"), exports);
259
263
  __exportStar(require("./PaginatedTestSuiteRunExecutionList"), exports);
260
264
  __exportStar(require("./PaginatedTestSuiteTestCaseList"), exports);
265
+ __exportStar(require("./PaginatedWorkflowReleaseTagReadList"), exports);
261
266
  __exportStar(require("./PdfSearchResultMetaSource"), exports);
262
267
  __exportStar(require("./PdfSearchResultMetaSourceRequest"), exports);
263
268
  __exportStar(require("./PlainTextPromptBlockRequest"), exports);
@@ -468,6 +473,7 @@ __exportStar(require("./WorkflowOutputJson"), exports);
468
473
  __exportStar(require("./WorkflowOutputNumber"), exports);
469
474
  __exportStar(require("./WorkflowOutputSearchResults"), exports);
470
475
  __exportStar(require("./WorkflowOutputString"), exports);
476
+ __exportStar(require("./WorkflowPushDeploymentConfigRequest"), exports);
471
477
  __exportStar(require("./WorkflowPushExecConfig"), exports);
472
478
  __exportStar(require("./WorkflowPushResponse"), exports);
473
479
  __exportStar(require("./WorkflowReleaseTagRead"), 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 ListDeploymentReleaseTagsRequestSource: core.serialization.Schema<serializers.ListDeploymentReleaseTagsRequestSource.Raw, Vellum.ListDeploymentReleaseTagsRequestSource>;
8
+ export declare namespace ListDeploymentReleaseTagsRequestSource {
9
+ type Raw = "SYSTEM" | "USER";
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.ListDeploymentReleaseTagsRequestSource = void 0;
30
+ const core = __importStar(require("../../../../core"));
31
+ exports.ListDeploymentReleaseTagsRequestSource = core.serialization.enum_(["SYSTEM", "USER"]);
@@ -1 +1,2 @@
1
1
  export * from "./DeploymentsListRequestStatus";
2
+ export * from "./ListDeploymentReleaseTagsRequestSource";
@@ -15,3 +15,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./DeploymentsListRequestStatus"), exports);
18
+ __exportStar(require("./ListDeploymentReleaseTagsRequestSource"), exports);
@@ -6,6 +6,8 @@ export * as folderEntities from "./folderEntities";
6
6
  export * from "./folderEntities/types";
7
7
  export * as workflowDeployments from "./workflowDeployments";
8
8
  export * from "./workflowDeployments/types";
9
+ export * as workflows from "./workflows";
10
+ export * from "./workflows/types";
9
11
  export * as testSuites from "./testSuites";
10
12
  export * as adHoc from "./adHoc";
11
13
  export * from "./adHoc/client/requests";
@@ -25,7 +27,6 @@ export * from "./testSuiteRuns/client/requests";
25
27
  export * from "./workflowDeployments/client/requests";
26
28
  export * as workflowSandboxes from "./workflowSandboxes";
27
29
  export * from "./workflowSandboxes/client/requests";
28
- export * as workflows from "./workflows";
29
30
  export * from "./workflows/client/requests";
30
31
  export * as workspaceSecrets from "./workspaceSecrets";
31
32
  export * from "./workspaceSecrets/client/requests";
@@ -26,7 +26,7 @@ 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.workspaceSecrets = exports.workflows = exports.workflowSandboxes = exports.testSuiteRuns = exports.sandboxes = exports.metricDefinitions = exports.documents = exports.containerImages = exports.adHoc = exports.testSuites = exports.workflowDeployments = exports.folderEntities = exports.documentIndexes = exports.deployments = void 0;
29
+ exports.workspaceSecrets = exports.workflowSandboxes = exports.testSuiteRuns = exports.sandboxes = exports.metricDefinitions = exports.documents = exports.containerImages = exports.adHoc = exports.testSuites = exports.workflows = 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"));
@@ -35,6 +35,8 @@ exports.folderEntities = __importStar(require("./folderEntities"));
35
35
  __exportStar(require("./folderEntities/types"), exports);
36
36
  exports.workflowDeployments = __importStar(require("./workflowDeployments"));
37
37
  __exportStar(require("./workflowDeployments/types"), exports);
38
+ exports.workflows = __importStar(require("./workflows"));
39
+ __exportStar(require("./workflows/types"), exports);
38
40
  exports.testSuites = __importStar(require("./testSuites"));
39
41
  exports.adHoc = __importStar(require("./adHoc"));
40
42
  __exportStar(require("./adHoc/client/requests"), exports);
@@ -54,7 +56,6 @@ __exportStar(require("./testSuiteRuns/client/requests"), exports);
54
56
  __exportStar(require("./workflowDeployments/client/requests"), exports);
55
57
  exports.workflowSandboxes = __importStar(require("./workflowSandboxes"));
56
58
  __exportStar(require("./workflowSandboxes/client/requests"), exports);
57
- exports.workflows = __importStar(require("./workflows"));
58
59
  __exportStar(require("./workflows/client/requests"), exports);
59
60
  exports.workspaceSecrets = __importStar(require("./workspaceSecrets"));
60
61
  __exportStar(require("./workspaceSecrets/client/requests"), 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 ListWorkflowReleaseTagsRequestSource: core.serialization.Schema<serializers.ListWorkflowReleaseTagsRequestSource.Raw, Vellum.ListWorkflowReleaseTagsRequestSource>;
8
+ export declare namespace ListWorkflowReleaseTagsRequestSource {
9
+ type Raw = "SYSTEM" | "USER";
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.ListWorkflowReleaseTagsRequestSource = void 0;
30
+ const core = __importStar(require("../../../../core"));
31
+ exports.ListWorkflowReleaseTagsRequestSource = core.serialization.enum_(["SYSTEM", "USER"]);
@@ -1 +1,2 @@
1
1
  export * from "./WorkflowDeploymentsListRequestStatus";
2
+ export * from "./ListWorkflowReleaseTagsRequestSource";
@@ -15,3 +15,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./WorkflowDeploymentsListRequestStatus"), exports);
18
+ __exportStar(require("./ListWorkflowReleaseTagsRequestSource"), exports);
@@ -5,11 +5,13 @@ import * as serializers from "../../../../index";
5
5
  import * as Vellum from "../../../../../api/index";
6
6
  import * as core from "../../../../../core";
7
7
  import { WorkflowPushExecConfig } from "../../../../types/WorkflowPushExecConfig";
8
+ import { WorkflowPushDeploymentConfigRequest } from "../../../../types/WorkflowPushDeploymentConfigRequest";
8
9
  export declare const WorkflowPushRequest: core.serialization.Schema<serializers.WorkflowPushRequest.Raw, Vellum.WorkflowPushRequest>;
9
10
  export declare namespace WorkflowPushRequest {
10
11
  interface Raw {
11
12
  exec_config: WorkflowPushExecConfig.Raw;
12
13
  label: string;
13
14
  workflow_sandbox_id?: string | null;
15
+ deployment_config?: WorkflowPushDeploymentConfigRequest.Raw | null;
14
16
  }
15
17
  }
@@ -29,8 +29,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.WorkflowPushRequest = void 0;
30
30
  const core = __importStar(require("../../../../../core"));
31
31
  const WorkflowPushExecConfig_1 = require("../../../../types/WorkflowPushExecConfig");
32
+ const WorkflowPushDeploymentConfigRequest_1 = require("../../../../types/WorkflowPushDeploymentConfigRequest");
32
33
  exports.WorkflowPushRequest = core.serialization.object({
33
34
  execConfig: core.serialization.property("exec_config", WorkflowPushExecConfig_1.WorkflowPushExecConfig),
34
35
  label: core.serialization.string(),
35
36
  workflowSandboxId: core.serialization.property("workflow_sandbox_id", core.serialization.string().optional()),
37
+ deploymentConfig: core.serialization.property("deployment_config", WorkflowPushDeploymentConfigRequest_1.WorkflowPushDeploymentConfigRequest.optional()),
36
38
  });
@@ -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 WorkflowsPullRequestFormat: core.serialization.Schema<serializers.WorkflowsPullRequestFormat.Raw, Vellum.WorkflowsPullRequestFormat>;
8
+ export declare namespace WorkflowsPullRequestFormat {
9
+ type Raw = "json" | "zip";
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.WorkflowsPullRequestFormat = void 0;
30
+ const core = __importStar(require("../../../../core"));
31
+ exports.WorkflowsPullRequestFormat = core.serialization.enum_(["json", "zip"]);
@@ -0,0 +1 @@
1
+ export * from "./WorkflowsPullRequestFormat";
@@ -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("./WorkflowsPullRequestFormat"), exports);
@@ -10,9 +10,10 @@ import { JsonVariableValue } from "./JsonVariableValue";
10
10
  import { ErrorVariableValue } from "./ErrorVariableValue";
11
11
  import { FunctionCallVariableValue } from "./FunctionCallVariableValue";
12
12
  import { ImageVariableValue } from "./ImageVariableValue";
13
+ import { AudioVariableValue } from "./AudioVariableValue";
13
14
  import { ChatHistoryVariableValue } from "./ChatHistoryVariableValue";
14
15
  import { SearchResultsVariableValue } from "./SearchResultsVariableValue";
15
16
  export declare const ArrayVariableValueItem: core.serialization.Schema<serializers.ArrayVariableValueItem.Raw, Vellum.ArrayVariableValueItem>;
16
17
  export declare namespace ArrayVariableValueItem {
17
- type Raw = StringVariableValue.Raw | NumberVariableValue.Raw | JsonVariableValue.Raw | ErrorVariableValue.Raw | FunctionCallVariableValue.Raw | ImageVariableValue.Raw | ChatHistoryVariableValue.Raw | SearchResultsVariableValue.Raw | serializers.ArrayVariableValue.Raw;
18
+ type Raw = StringVariableValue.Raw | NumberVariableValue.Raw | JsonVariableValue.Raw | ErrorVariableValue.Raw | FunctionCallVariableValue.Raw | ImageVariableValue.Raw | AudioVariableValue.Raw | ChatHistoryVariableValue.Raw | SearchResultsVariableValue.Raw | serializers.ArrayVariableValue.Raw;
18
19
  }
@@ -35,6 +35,7 @@ const JsonVariableValue_1 = require("./JsonVariableValue");
35
35
  const ErrorVariableValue_1 = require("./ErrorVariableValue");
36
36
  const FunctionCallVariableValue_1 = require("./FunctionCallVariableValue");
37
37
  const ImageVariableValue_1 = require("./ImageVariableValue");
38
+ const AudioVariableValue_1 = require("./AudioVariableValue");
38
39
  const ChatHistoryVariableValue_1 = require("./ChatHistoryVariableValue");
39
40
  const SearchResultsVariableValue_1 = require("./SearchResultsVariableValue");
40
41
  exports.ArrayVariableValueItem = core.serialization.undiscriminatedUnion([
@@ -44,6 +45,7 @@ exports.ArrayVariableValueItem = core.serialization.undiscriminatedUnion([
44
45
  ErrorVariableValue_1.ErrorVariableValue,
45
46
  FunctionCallVariableValue_1.FunctionCallVariableValue,
46
47
  ImageVariableValue_1.ImageVariableValue,
48
+ AudioVariableValue_1.AudioVariableValue,
47
49
  ChatHistoryVariableValue_1.ChatHistoryVariableValue,
48
50
  SearchResultsVariableValue_1.SearchResultsVariableValue,
49
51
  core.serialization.lazyObject(() => serializers.ArrayVariableValue),
@@ -0,0 +1,14 @@
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 { VellumAudio } from "./VellumAudio";
8
+ export declare const AudioVariableValue: core.serialization.ObjectSchema<serializers.AudioVariableValue.Raw, Vellum.AudioVariableValue>;
9
+ export declare namespace AudioVariableValue {
10
+ interface Raw {
11
+ type: "AUDIO";
12
+ value?: VellumAudio.Raw | null;
13
+ }
14
+ }
@@ -0,0 +1,35 @@
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.AudioVariableValue = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ const VellumAudio_1 = require("./VellumAudio");
32
+ exports.AudioVariableValue = core.serialization.object({
33
+ type: core.serialization.stringLiteral("AUDIO"),
34
+ value: VellumAudio_1.VellumAudio.optional(),
35
+ });