vellum-ai 0.14.40 → 0.14.41

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 (64) hide show
  1. package/Client.js +11 -11
  2. package/api/resources/adHoc/client/Client.d.ts +29 -0
  3. package/api/resources/adHoc/client/Client.js +82 -1
  4. package/api/resources/adHoc/client/requests/AdHocExecutePrompt.d.ts +35 -0
  5. package/api/resources/adHoc/client/requests/AdHocExecutePrompt.js +5 -0
  6. package/api/resources/adHoc/client/requests/index.d.ts +1 -0
  7. package/api/resources/containerImages/client/Client.js +4 -4
  8. package/api/resources/deployments/client/Client.js +7 -7
  9. package/api/resources/deployments/client/requests/PatchedDeploymentReleaseTagUpdateRequest.d.ts +1 -1
  10. package/api/resources/documentIndexes/client/Client.js +8 -8
  11. package/api/resources/documents/client/Client.js +5 -5
  12. package/api/resources/folderEntities/client/Client.js +2 -2
  13. package/api/resources/metricDefinitions/client/Client.js +2 -2
  14. package/api/resources/mlModels/client/Client.js +1 -1
  15. package/api/resources/organizations/client/Client.js +1 -1
  16. package/api/resources/prompts/client/Client.js +1 -1
  17. package/api/resources/releaseReviews/client/Client.js +2 -2
  18. package/api/resources/sandboxes/client/Client.js +3 -3
  19. package/api/resources/testSuiteRuns/client/Client.js +3 -3
  20. package/api/resources/testSuites/client/Client.js +4 -4
  21. package/api/resources/workflowDeployments/client/Client.js +8 -8
  22. package/api/resources/workflowSandboxes/client/Client.js +2 -2
  23. package/api/resources/workflows/client/Client.js +2 -2
  24. package/api/resources/workspaceSecrets/client/Client.js +2 -2
  25. package/api/resources/workspaces/client/Client.js +1 -1
  26. package/dist/Client.js +11 -11
  27. package/dist/api/resources/adHoc/client/Client.d.ts +29 -0
  28. package/dist/api/resources/adHoc/client/Client.js +82 -1
  29. package/dist/api/resources/adHoc/client/requests/AdHocExecutePrompt.d.ts +35 -0
  30. package/dist/api/resources/adHoc/client/requests/AdHocExecutePrompt.js +5 -0
  31. package/dist/api/resources/adHoc/client/requests/index.d.ts +1 -0
  32. package/dist/api/resources/containerImages/client/Client.js +4 -4
  33. package/dist/api/resources/deployments/client/Client.js +7 -7
  34. package/dist/api/resources/deployments/client/requests/PatchedDeploymentReleaseTagUpdateRequest.d.ts +1 -1
  35. package/dist/api/resources/documentIndexes/client/Client.js +8 -8
  36. package/dist/api/resources/documents/client/Client.js +5 -5
  37. package/dist/api/resources/folderEntities/client/Client.js +2 -2
  38. package/dist/api/resources/metricDefinitions/client/Client.js +2 -2
  39. package/dist/api/resources/mlModels/client/Client.js +1 -1
  40. package/dist/api/resources/organizations/client/Client.js +1 -1
  41. package/dist/api/resources/prompts/client/Client.js +1 -1
  42. package/dist/api/resources/releaseReviews/client/Client.js +2 -2
  43. package/dist/api/resources/sandboxes/client/Client.js +3 -3
  44. package/dist/api/resources/testSuiteRuns/client/Client.js +3 -3
  45. package/dist/api/resources/testSuites/client/Client.js +4 -4
  46. package/dist/api/resources/workflowDeployments/client/Client.js +8 -8
  47. package/dist/api/resources/workflowSandboxes/client/Client.js +2 -2
  48. package/dist/api/resources/workflows/client/Client.js +2 -2
  49. package/dist/api/resources/workspaceSecrets/client/Client.js +2 -2
  50. package/dist/api/resources/workspaces/client/Client.js +1 -1
  51. package/dist/serialization/resources/adHoc/client/requests/AdHocExecutePrompt.d.ts +25 -0
  52. package/dist/serialization/resources/adHoc/client/requests/AdHocExecutePrompt.js +57 -0
  53. package/dist/serialization/resources/adHoc/client/requests/index.d.ts +1 -0
  54. package/dist/serialization/resources/adHoc/client/requests/index.js +3 -1
  55. package/dist/version.d.ts +1 -1
  56. package/dist/version.js +1 -1
  57. package/package.json +1 -1
  58. package/reference.md +71 -0
  59. package/serialization/resources/adHoc/client/requests/AdHocExecutePrompt.d.ts +25 -0
  60. package/serialization/resources/adHoc/client/requests/AdHocExecutePrompt.js +57 -0
  61. package/serialization/resources/adHoc/client/requests/index.d.ts +1 -0
  62. package/serialization/resources/adHoc/client/requests/index.js +3 -1
  63. package/version.d.ts +1 -1
  64. package/version.js +1 -1
@@ -83,7 +83,7 @@ class TestSuites {
83
83
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
84
84
  .default, `v1/test-suites/${encodeURIComponent(id)}/test-cases`),
85
85
  method: "GET",
86
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.40", "User-Agent": "vellum-ai/0.14.40", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
86
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.41", "User-Agent": "vellum-ai/0.14.41", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
87
87
  contentType: "application/json",
88
88
  queryParameters: _queryParams,
89
89
  requestType: "json",
@@ -164,7 +164,7 @@ class TestSuites {
164
164
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
165
165
  .default, `v1/test-suites/${encodeURIComponent(id)}/test-cases`),
166
166
  method: "POST",
167
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.40", "User-Agent": "vellum-ai/0.14.40", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
167
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.41", "User-Agent": "vellum-ai/0.14.41", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
168
168
  contentType: "application/json",
169
169
  requestType: "json",
170
170
  body: serializers.UpsertTestSuiteTestCaseRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -211,7 +211,7 @@ class TestSuites {
211
211
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
212
212
  .default, `v1/test-suites/${encodeURIComponent(id)}/test-cases-bulk`),
213
213
  method: "POST",
214
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.40", "User-Agent": "vellum-ai/0.14.40", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
214
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.41", "User-Agent": "vellum-ai/0.14.41", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
215
215
  contentType: "application/x-ndjson",
216
216
  requestType: "json",
217
217
  body: serializers.testSuites.testSuiteTestCasesBulk.Request.jsonOrThrow(request, {
@@ -278,7 +278,7 @@ class TestSuites {
278
278
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
279
279
  .default, `v1/test-suites/${encodeURIComponent(id)}/test-cases/${encodeURIComponent(testCaseId)}`),
280
280
  method: "DELETE",
281
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.40", "User-Agent": "vellum-ai/0.14.40", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
281
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.41", "User-Agent": "vellum-ai/0.14.41", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
282
282
  contentType: "application/json",
283
283
  requestType: "json",
284
284
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -90,7 +90,7 @@ class WorkflowDeployments {
90
90
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
91
91
  .default, "v1/workflow-deployments"),
92
92
  method: "GET",
93
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.40", "User-Agent": "vellum-ai/0.14.40", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
93
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.41", "User-Agent": "vellum-ai/0.14.41", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
94
94
  contentType: "application/json",
95
95
  queryParameters: _queryParams,
96
96
  requestType: "json",
@@ -143,7 +143,7 @@ class WorkflowDeployments {
143
143
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
144
144
  .default, `v1/workflow-deployments/${encodeURIComponent(id)}`),
145
145
  method: "GET",
146
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.40", "User-Agent": "vellum-ai/0.14.40", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
146
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.41", "User-Agent": "vellum-ai/0.14.41", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
147
147
  contentType: "application/json",
148
148
  requestType: "json",
149
149
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -205,7 +205,7 @@ class WorkflowDeployments {
205
205
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
206
206
  .default, `v1/workflow-deployments/${encodeURIComponent(id)}/execution-events`),
207
207
  method: "GET",
208
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.40", "User-Agent": "vellum-ai/0.14.40", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
208
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.41", "User-Agent": "vellum-ai/0.14.41", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
209
209
  contentType: "application/json",
210
210
  queryParameters: _queryParams,
211
211
  requestType: "json",
@@ -257,7 +257,7 @@ class WorkflowDeployments {
257
257
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
258
258
  .default, `v1/workflow-deployments/${encodeURIComponent(id)}/execution-events/${encodeURIComponent(executionId)}`),
259
259
  method: "GET",
260
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.40", "User-Agent": "vellum-ai/0.14.40", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
260
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.41", "User-Agent": "vellum-ai/0.14.41", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
261
261
  contentType: "application/json",
262
262
  requestType: "json",
263
263
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -310,7 +310,7 @@ class WorkflowDeployments {
310
310
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
311
311
  .default, `v1/workflow-deployments/${encodeURIComponent(id)}/history/${encodeURIComponent(historyIdOrReleaseTag)}`),
312
312
  method: "GET",
313
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.40", "User-Agent": "vellum-ai/0.14.40", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
313
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.41", "User-Agent": "vellum-ai/0.14.41", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
314
314
  contentType: "application/json",
315
315
  requestType: "json",
316
316
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -379,7 +379,7 @@ class WorkflowDeployments {
379
379
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
380
380
  .default, `v1/workflow-deployments/${encodeURIComponent(id)}/release-tags`),
381
381
  method: "GET",
382
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.40", "User-Agent": "vellum-ai/0.14.40", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
382
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.41", "User-Agent": "vellum-ai/0.14.41", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
383
383
  contentType: "application/json",
384
384
  queryParameters: _queryParams,
385
385
  requestType: "json",
@@ -433,7 +433,7 @@ class WorkflowDeployments {
433
433
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
434
434
  .default, `v1/workflow-deployments/${encodeURIComponent(id)}/release-tags/${encodeURIComponent(name)}`),
435
435
  method: "GET",
436
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.40", "User-Agent": "vellum-ai/0.14.40", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
436
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.41", "User-Agent": "vellum-ai/0.14.41", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
437
437
  contentType: "application/json",
438
438
  requestType: "json",
439
439
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -487,7 +487,7 @@ class WorkflowDeployments {
487
487
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
488
488
  .default, `v1/workflow-deployments/${encodeURIComponent(id)}/release-tags/${encodeURIComponent(name)}`),
489
489
  method: "PATCH",
490
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.40", "User-Agent": "vellum-ai/0.14.40", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
490
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.41", "User-Agent": "vellum-ai/0.14.41", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
491
491
  contentType: "application/json",
492
492
  requestType: "json",
493
493
  body: serializers.PatchedWorkflowReleaseTagUpdateRequest.jsonOrThrow(request, {
@@ -74,7 +74,7 @@ class WorkflowSandboxes {
74
74
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
75
75
  .default, `v1/workflow-sandboxes/${encodeURIComponent(id)}/workflows/${encodeURIComponent(workflowId)}/deploy`),
76
76
  method: "POST",
77
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.40", "User-Agent": "vellum-ai/0.14.40", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
77
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.41", "User-Agent": "vellum-ai/0.14.41", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
78
78
  contentType: "application/json",
79
79
  requestType: "json",
80
80
  body: serializers.DeploySandboxWorkflowRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -143,7 +143,7 @@ class WorkflowSandboxes {
143
143
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
144
144
  .default, "v1/workflow-sandboxes/examples"),
145
145
  method: "GET",
146
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.40", "User-Agent": "vellum-ai/0.14.40", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
146
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.41", "User-Agent": "vellum-ai/0.14.41", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
147
147
  contentType: "application/json",
148
148
  queryParameters: _queryParams,
149
149
  requestType: "json",
@@ -84,7 +84,7 @@ class Workflows {
84
84
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
85
85
  .default, `v1/workflows/${encodeURIComponent(id)}/pull`),
86
86
  method: "GET",
87
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.40", "User-Agent": "vellum-ai/0.14.40", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
87
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.41", "User-Agent": "vellum-ai/0.14.41", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
88
88
  contentType: "application/json",
89
89
  queryParameters: _queryParams,
90
90
  requestType: "json",
@@ -159,7 +159,7 @@ class Workflows {
159
159
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
160
160
  .default, "v1/workflows/push"),
161
161
  method: "POST",
162
- headers: Object.assign(Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.40", "User-Agent": "vellum-ai/0.14.40", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), _maybeEncodedRequest.headers), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
162
+ headers: Object.assign(Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.41", "User-Agent": "vellum-ai/0.14.41", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), _maybeEncodedRequest.headers), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
163
163
  requestType: "file",
164
164
  duplex: _maybeEncodedRequest.duplex,
165
165
  body: _maybeEncodedRequest.body,
@@ -74,7 +74,7 @@ class WorkspaceSecrets {
74
74
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
75
75
  .default, `v1/workspace-secrets/${encodeURIComponent(id)}`),
76
76
  method: "GET",
77
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.40", "User-Agent": "vellum-ai/0.14.40", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
77
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.41", "User-Agent": "vellum-ai/0.14.41", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
78
78
  contentType: "application/json",
79
79
  requestType: "json",
80
80
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -127,7 +127,7 @@ class WorkspaceSecrets {
127
127
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
128
128
  .default, `v1/workspace-secrets/${encodeURIComponent(id)}`),
129
129
  method: "PATCH",
130
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.40", "User-Agent": "vellum-ai/0.14.40", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
130
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.41", "User-Agent": "vellum-ai/0.14.41", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
131
131
  contentType: "application/json",
132
132
  requestType: "json",
133
133
  body: serializers.PatchedWorkspaceSecretUpdateRequest.jsonOrThrow(request, {
@@ -73,7 +73,7 @@ class Workspaces {
73
73
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
74
74
  .default, "v1/workspaces/identity"),
75
75
  method: "GET",
76
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.40", "User-Agent": "vellum-ai/0.14.40", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
76
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.41", "User-Agent": "vellum-ai/0.14.41", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
77
77
  contentType: "application/json",
78
78
  requestType: "json",
79
79
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -0,0 +1,25 @@
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 { PromptRequestInput } from "../../../../types/PromptRequestInput";
8
+ import { VellumVariable } from "../../../../types/VellumVariable";
9
+ import { PromptParameters } from "../../../../types/PromptParameters";
10
+ import { PromptSettings } from "../../../../types/PromptSettings";
11
+ import { FunctionDefinition } from "../../../../types/FunctionDefinition";
12
+ import { AdHocExpandMeta } from "../../../../types/AdHocExpandMeta";
13
+ export declare const AdHocExecutePrompt: core.serialization.Schema<serializers.AdHocExecutePrompt.Raw, Vellum.AdHocExecutePrompt>;
14
+ export declare namespace AdHocExecutePrompt {
15
+ interface Raw {
16
+ ml_model: string;
17
+ input_values: PromptRequestInput.Raw[];
18
+ input_variables: VellumVariable.Raw[];
19
+ parameters: PromptParameters.Raw;
20
+ settings?: PromptSettings.Raw | null;
21
+ blocks: serializers.PromptBlock.Raw[];
22
+ functions?: FunctionDefinition.Raw[] | null;
23
+ expand_meta?: AdHocExpandMeta.Raw | null;
24
+ }
25
+ }
@@ -0,0 +1,57 @@
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 () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.AdHocExecutePrompt = void 0;
40
+ const serializers = __importStar(require("../../../../index"));
41
+ const core = __importStar(require("../../../../../core"));
42
+ const PromptRequestInput_1 = require("../../../../types/PromptRequestInput");
43
+ const VellumVariable_1 = require("../../../../types/VellumVariable");
44
+ const PromptParameters_1 = require("../../../../types/PromptParameters");
45
+ const PromptSettings_1 = require("../../../../types/PromptSettings");
46
+ const FunctionDefinition_1 = require("../../../../types/FunctionDefinition");
47
+ const AdHocExpandMeta_1 = require("../../../../types/AdHocExpandMeta");
48
+ exports.AdHocExecutePrompt = core.serialization.object({
49
+ mlModel: core.serialization.property("ml_model", core.serialization.string()),
50
+ inputValues: core.serialization.property("input_values", core.serialization.list(PromptRequestInput_1.PromptRequestInput)),
51
+ inputVariables: core.serialization.property("input_variables", core.serialization.list(VellumVariable_1.VellumVariable)),
52
+ parameters: PromptParameters_1.PromptParameters,
53
+ settings: PromptSettings_1.PromptSettings.optional(),
54
+ blocks: core.serialization.list(core.serialization.lazy(() => serializers.PromptBlock)),
55
+ functions: core.serialization.list(FunctionDefinition_1.FunctionDefinition).optional(),
56
+ expandMeta: core.serialization.property("expand_meta", AdHocExpandMeta_1.AdHocExpandMeta.optional()),
57
+ });
@@ -1 +1,2 @@
1
+ export { AdHocExecutePrompt } from "./AdHocExecutePrompt";
1
2
  export { AdHocExecutePromptStream } from "./AdHocExecutePromptStream";
@@ -1,5 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AdHocExecutePromptStream = void 0;
3
+ exports.AdHocExecutePromptStream = exports.AdHocExecutePrompt = void 0;
4
+ var AdHocExecutePrompt_1 = require("./AdHocExecutePrompt");
5
+ Object.defineProperty(exports, "AdHocExecutePrompt", { enumerable: true, get: function () { return AdHocExecutePrompt_1.AdHocExecutePrompt; } });
4
6
  var AdHocExecutePromptStream_1 = require("./AdHocExecutePromptStream");
5
7
  Object.defineProperty(exports, "AdHocExecutePromptStream", { enumerable: true, get: function () { return AdHocExecutePromptStream_1.AdHocExecutePromptStream; } });
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.14.40";
1
+ export declare const SDK_VERSION = "0.14.41";
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.14.40";
4
+ exports.SDK_VERSION = "0.14.41";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vellum-ai",
3
- "version": "0.14.40",
3
+ "version": "0.14.41",
4
4
  "private": false,
5
5
  "repository": "https://github.com/vellum-ai/vellum-client-node",
6
6
  "license": "MIT",
package/reference.md CHANGED
@@ -75,6 +75,77 @@ await client.submitWorkflowExecutionActuals({
75
75
 
76
76
  ## AdHoc
77
77
 
78
+ <details><summary><code>client.adHoc.<a href="/src/api/resources/adHoc/client/Client.ts">adhocExecutePrompt</a>({ ...params }) -> Vellum.AdHocExecutePromptEvent</code></summary>
79
+ <dl>
80
+ <dd>
81
+
82
+ #### 🔌 Usage
83
+
84
+ <dl>
85
+ <dd>
86
+
87
+ <dl>
88
+ <dd>
89
+
90
+ ```typescript
91
+ await client.adHoc.adhocExecutePrompt({
92
+ mlModel: "ml_model",
93
+ inputValues: [
94
+ {
95
+ key: "key",
96
+ type: "STRING",
97
+ value: "value",
98
+ },
99
+ ],
100
+ inputVariables: [
101
+ {
102
+ id: "id",
103
+ key: "key",
104
+ type: "STRING",
105
+ },
106
+ ],
107
+ parameters: {},
108
+ blocks: [
109
+ {
110
+ blockType: "JINJA",
111
+ template: "template",
112
+ },
113
+ ],
114
+ });
115
+ ```
116
+
117
+ </dd>
118
+ </dl>
119
+ </dd>
120
+ </dl>
121
+
122
+ #### ⚙️ Parameters
123
+
124
+ <dl>
125
+ <dd>
126
+
127
+ <dl>
128
+ <dd>
129
+
130
+ **request:** `Vellum.AdHocExecutePrompt`
131
+
132
+ </dd>
133
+ </dl>
134
+
135
+ <dl>
136
+ <dd>
137
+
138
+ **requestOptions:** `AdHoc.RequestOptions`
139
+
140
+ </dd>
141
+ </dl>
142
+ </dd>
143
+ </dl>
144
+
145
+ </dd>
146
+ </dl>
147
+ </details>
148
+
78
149
  <details><summary><code>client.adHoc.<a href="/src/api/resources/adHoc/client/Client.ts">adhocExecutePromptStream</a>({ ...params }) -> core.Stream<Vellum.AdHocExecutePromptEvent></code></summary>
79
150
  <dl>
80
151
  <dd>
@@ -0,0 +1,25 @@
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 { PromptRequestInput } from "../../../../types/PromptRequestInput";
8
+ import { VellumVariable } from "../../../../types/VellumVariable";
9
+ import { PromptParameters } from "../../../../types/PromptParameters";
10
+ import { PromptSettings } from "../../../../types/PromptSettings";
11
+ import { FunctionDefinition } from "../../../../types/FunctionDefinition";
12
+ import { AdHocExpandMeta } from "../../../../types/AdHocExpandMeta";
13
+ export declare const AdHocExecutePrompt: core.serialization.Schema<serializers.AdHocExecutePrompt.Raw, Vellum.AdHocExecutePrompt>;
14
+ export declare namespace AdHocExecutePrompt {
15
+ interface Raw {
16
+ ml_model: string;
17
+ input_values: PromptRequestInput.Raw[];
18
+ input_variables: VellumVariable.Raw[];
19
+ parameters: PromptParameters.Raw;
20
+ settings?: PromptSettings.Raw | null;
21
+ blocks: serializers.PromptBlock.Raw[];
22
+ functions?: FunctionDefinition.Raw[] | null;
23
+ expand_meta?: AdHocExpandMeta.Raw | null;
24
+ }
25
+ }
@@ -0,0 +1,57 @@
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 () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.AdHocExecutePrompt = void 0;
40
+ const serializers = __importStar(require("../../../../index"));
41
+ const core = __importStar(require("../../../../../core"));
42
+ const PromptRequestInput_1 = require("../../../../types/PromptRequestInput");
43
+ const VellumVariable_1 = require("../../../../types/VellumVariable");
44
+ const PromptParameters_1 = require("../../../../types/PromptParameters");
45
+ const PromptSettings_1 = require("../../../../types/PromptSettings");
46
+ const FunctionDefinition_1 = require("../../../../types/FunctionDefinition");
47
+ const AdHocExpandMeta_1 = require("../../../../types/AdHocExpandMeta");
48
+ exports.AdHocExecutePrompt = core.serialization.object({
49
+ mlModel: core.serialization.property("ml_model", core.serialization.string()),
50
+ inputValues: core.serialization.property("input_values", core.serialization.list(PromptRequestInput_1.PromptRequestInput)),
51
+ inputVariables: core.serialization.property("input_variables", core.serialization.list(VellumVariable_1.VellumVariable)),
52
+ parameters: PromptParameters_1.PromptParameters,
53
+ settings: PromptSettings_1.PromptSettings.optional(),
54
+ blocks: core.serialization.list(core.serialization.lazy(() => serializers.PromptBlock)),
55
+ functions: core.serialization.list(FunctionDefinition_1.FunctionDefinition).optional(),
56
+ expandMeta: core.serialization.property("expand_meta", AdHocExpandMeta_1.AdHocExpandMeta.optional()),
57
+ });
@@ -1 +1,2 @@
1
+ export { AdHocExecutePrompt } from "./AdHocExecutePrompt";
1
2
  export { AdHocExecutePromptStream } from "./AdHocExecutePromptStream";
@@ -1,5 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AdHocExecutePromptStream = void 0;
3
+ exports.AdHocExecutePromptStream = exports.AdHocExecutePrompt = void 0;
4
+ var AdHocExecutePrompt_1 = require("./AdHocExecutePrompt");
5
+ Object.defineProperty(exports, "AdHocExecutePrompt", { enumerable: true, get: function () { return AdHocExecutePrompt_1.AdHocExecutePrompt; } });
4
6
  var AdHocExecutePromptStream_1 = require("./AdHocExecutePromptStream");
5
7
  Object.defineProperty(exports, "AdHocExecutePromptStream", { enumerable: true, get: function () { return AdHocExecutePromptStream_1.AdHocExecutePromptStream; } });
package/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.14.40";
1
+ export declare const SDK_VERSION = "0.14.41";
package/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.14.40";
4
+ exports.SDK_VERSION = "0.14.41";