vellum-ai 0.14.88 → 0.14.89

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 (130) hide show
  1. package/Client.d.ts +37 -8
  2. package/Client.js +88 -19
  3. package/api/client/requests/CodeExecutor.d.ts +9 -2
  4. package/api/client/requests/ExecuteApiRequest.d.ts +1 -1
  5. package/api/client/requests/ExecutePromptRequest.d.ts +5 -1
  6. package/api/client/requests/ExecutePromptStreamRequest.d.ts +5 -1
  7. package/api/client/requests/ExecuteWorkflowRequest.d.ts +5 -1
  8. package/api/client/requests/ExecuteWorkflowStreamRequest.d.ts +5 -1
  9. package/api/client/requests/GenerateBodyRequest.d.ts +9 -1
  10. package/api/client/requests/GenerateStreamBodyRequest.d.ts +9 -1
  11. package/api/client/requests/SearchRequestBodyRequest.d.ts +1 -1
  12. package/api/client/requests/SubmitCompletionActualsRequest.d.ts +1 -1
  13. package/api/client/requests/SubmitWorkflowExecutionActualsRequest.d.ts +2 -0
  14. package/api/resources/adHoc/client/Client.d.ts +18 -3
  15. package/api/resources/adHoc/client/Client.js +24 -5
  16. package/api/resources/adHoc/client/requests/AdHocExecutePrompt.d.ts +14 -3
  17. package/api/resources/adHoc/client/requests/AdHocExecutePromptStream.d.ts +14 -3
  18. package/api/resources/containerImages/client/Client.d.ts +7 -3
  19. package/api/resources/containerImages/client/Client.js +24 -8
  20. package/api/resources/containerImages/client/requests/PushContainerImageRequest.d.ts +3 -3
  21. package/api/resources/deployments/client/Client.d.ts +9 -1
  22. package/api/resources/deployments/client/Client.js +45 -9
  23. package/api/resources/deployments/client/requests/DeploymentProviderPayloadRequest.d.ts +5 -1
  24. package/api/resources/documentIndexes/client/Client.d.ts +9 -58
  25. package/api/resources/documentIndexes/client/Client.js +45 -66
  26. package/api/resources/documentIndexes/client/requests/DocumentIndexCreateRequest.d.ts +4 -57
  27. package/api/resources/documentIndexes/client/requests/DocumentIndexUpdateRequest.d.ts +1 -1
  28. package/api/resources/documents/client/Client.d.ts +4 -5
  29. package/api/resources/documents/client/Client.js +26 -11
  30. package/api/resources/documents/client/requests/UploadDocumentBodyRequest.d.ts +0 -6
  31. package/api/resources/folderEntities/client/Client.d.ts +4 -0
  32. package/api/resources/folderEntities/client/Client.js +10 -2
  33. package/api/resources/metricDefinitions/client/Client.d.ts +9 -1
  34. package/api/resources/metricDefinitions/client/Client.js +15 -3
  35. package/api/resources/metricDefinitions/client/requests/ExecuteMetricDefinition.d.ts +5 -1
  36. package/api/resources/mlModels/client/Client.d.ts +4 -0
  37. package/api/resources/mlModels/client/Client.js +6 -2
  38. package/api/resources/organizations/client/Client.d.ts +4 -0
  39. package/api/resources/organizations/client/Client.js +6 -2
  40. package/api/resources/prompts/client/Client.d.ts +12 -1
  41. package/api/resources/prompts/client/Client.js +19 -4
  42. package/api/resources/prompts/client/requests/PromptPush.d.ts +8 -1
  43. package/api/resources/releaseReviews/client/Client.d.ts +4 -0
  44. package/api/resources/releaseReviews/client/Client.js +6 -2
  45. package/api/resources/sandboxes/client/Client.d.ts +6 -21
  46. package/api/resources/sandboxes/client/Client.js +17 -24
  47. package/api/resources/sandboxes/client/requests/UpsertSandboxScenarioRequest.d.ts +2 -21
  48. package/api/resources/testSuiteRuns/client/Client.d.ts +4 -0
  49. package/api/resources/testSuiteRuns/client/Client.js +15 -3
  50. package/api/resources/testSuites/client/Client.d.ts +13 -15
  51. package/api/resources/testSuites/client/Client.js +30 -20
  52. package/api/resources/workflowDeployments/client/Client.d.ts +4 -0
  53. package/api/resources/workflowDeployments/client/Client.js +40 -8
  54. package/api/resources/workflowSandboxes/client/Client.d.ts +4 -0
  55. package/api/resources/workflowSandboxes/client/Client.js +10 -2
  56. package/api/resources/workflows/client/Client.d.ts +4 -5
  57. package/api/resources/workflows/client/Client.js +11 -8
  58. package/api/resources/workflows/client/requests/WorkflowPushRequest.d.ts +0 -6
  59. package/api/resources/workspaceSecrets/client/Client.d.ts +4 -0
  60. package/api/resources/workspaceSecrets/client/Client.js +11 -3
  61. package/api/resources/workspaces/client/Client.d.ts +4 -0
  62. package/api/resources/workspaces/client/Client.js +6 -2
  63. package/dist/Client.d.ts +37 -8
  64. package/dist/Client.js +88 -19
  65. package/dist/api/client/requests/CodeExecutor.d.ts +9 -2
  66. package/dist/api/client/requests/ExecuteApiRequest.d.ts +1 -1
  67. package/dist/api/client/requests/ExecutePromptRequest.d.ts +5 -1
  68. package/dist/api/client/requests/ExecutePromptStreamRequest.d.ts +5 -1
  69. package/dist/api/client/requests/ExecuteWorkflowRequest.d.ts +5 -1
  70. package/dist/api/client/requests/ExecuteWorkflowStreamRequest.d.ts +5 -1
  71. package/dist/api/client/requests/GenerateBodyRequest.d.ts +9 -1
  72. package/dist/api/client/requests/GenerateStreamBodyRequest.d.ts +9 -1
  73. package/dist/api/client/requests/SearchRequestBodyRequest.d.ts +1 -1
  74. package/dist/api/client/requests/SubmitCompletionActualsRequest.d.ts +1 -1
  75. package/dist/api/client/requests/SubmitWorkflowExecutionActualsRequest.d.ts +2 -0
  76. package/dist/api/resources/adHoc/client/Client.d.ts +18 -3
  77. package/dist/api/resources/adHoc/client/Client.js +24 -5
  78. package/dist/api/resources/adHoc/client/requests/AdHocExecutePrompt.d.ts +14 -3
  79. package/dist/api/resources/adHoc/client/requests/AdHocExecutePromptStream.d.ts +14 -3
  80. package/dist/api/resources/containerImages/client/Client.d.ts +7 -3
  81. package/dist/api/resources/containerImages/client/Client.js +24 -8
  82. package/dist/api/resources/containerImages/client/requests/PushContainerImageRequest.d.ts +3 -3
  83. package/dist/api/resources/deployments/client/Client.d.ts +9 -1
  84. package/dist/api/resources/deployments/client/Client.js +45 -9
  85. package/dist/api/resources/deployments/client/requests/DeploymentProviderPayloadRequest.d.ts +5 -1
  86. package/dist/api/resources/documentIndexes/client/Client.d.ts +9 -58
  87. package/dist/api/resources/documentIndexes/client/Client.js +45 -66
  88. package/dist/api/resources/documentIndexes/client/requests/DocumentIndexCreateRequest.d.ts +4 -57
  89. package/dist/api/resources/documentIndexes/client/requests/DocumentIndexUpdateRequest.d.ts +1 -1
  90. package/dist/api/resources/documents/client/Client.d.ts +4 -5
  91. package/dist/api/resources/documents/client/Client.js +26 -11
  92. package/dist/api/resources/documents/client/requests/UploadDocumentBodyRequest.d.ts +0 -6
  93. package/dist/api/resources/folderEntities/client/Client.d.ts +4 -0
  94. package/dist/api/resources/folderEntities/client/Client.js +10 -2
  95. package/dist/api/resources/metricDefinitions/client/Client.d.ts +9 -1
  96. package/dist/api/resources/metricDefinitions/client/Client.js +15 -3
  97. package/dist/api/resources/metricDefinitions/client/requests/ExecuteMetricDefinition.d.ts +5 -1
  98. package/dist/api/resources/mlModels/client/Client.d.ts +4 -0
  99. package/dist/api/resources/mlModels/client/Client.js +6 -2
  100. package/dist/api/resources/organizations/client/Client.d.ts +4 -0
  101. package/dist/api/resources/organizations/client/Client.js +6 -2
  102. package/dist/api/resources/prompts/client/Client.d.ts +12 -1
  103. package/dist/api/resources/prompts/client/Client.js +19 -4
  104. package/dist/api/resources/prompts/client/requests/PromptPush.d.ts +8 -1
  105. package/dist/api/resources/releaseReviews/client/Client.d.ts +4 -0
  106. package/dist/api/resources/releaseReviews/client/Client.js +6 -2
  107. package/dist/api/resources/sandboxes/client/Client.d.ts +6 -21
  108. package/dist/api/resources/sandboxes/client/Client.js +17 -24
  109. package/dist/api/resources/sandboxes/client/requests/UpsertSandboxScenarioRequest.d.ts +2 -21
  110. package/dist/api/resources/testSuiteRuns/client/Client.d.ts +4 -0
  111. package/dist/api/resources/testSuiteRuns/client/Client.js +15 -3
  112. package/dist/api/resources/testSuites/client/Client.d.ts +13 -15
  113. package/dist/api/resources/testSuites/client/Client.js +30 -20
  114. package/dist/api/resources/workflowDeployments/client/Client.d.ts +4 -0
  115. package/dist/api/resources/workflowDeployments/client/Client.js +40 -8
  116. package/dist/api/resources/workflowSandboxes/client/Client.d.ts +4 -0
  117. package/dist/api/resources/workflowSandboxes/client/Client.js +10 -2
  118. package/dist/api/resources/workflows/client/Client.d.ts +4 -5
  119. package/dist/api/resources/workflows/client/Client.js +11 -8
  120. package/dist/api/resources/workflows/client/requests/WorkflowPushRequest.d.ts +0 -6
  121. package/dist/api/resources/workspaceSecrets/client/Client.d.ts +4 -0
  122. package/dist/api/resources/workspaceSecrets/client/Client.js +11 -3
  123. package/dist/api/resources/workspaces/client/Client.d.ts +4 -0
  124. package/dist/api/resources/workspaces/client/Client.js +6 -2
  125. package/dist/version.d.ts +1 -1
  126. package/dist/version.js +1 -1
  127. package/package.json +1 -1
  128. package/reference.md +116 -187
  129. package/version.d.ts +1 -1
  130. package/version.js +1 -1
@@ -93,7 +93,11 @@ class WorkflowDeployments {
93
93
  url: (0, url_join_1.default)((_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : ((_d = (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.VellumEnvironment.Production)
94
94
  .default, "v1/workflow-deployments"),
95
95
  method: "GET",
96
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.88", "User-Agent": "vellum-ai/0.14.88", "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),
96
+ headers: Object.assign(Object.assign({ "X-API-Version": (yield core.Supplier.get(this._options.apiVersion)) != null
97
+ ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
98
+ unrecognizedObjectKeys: "strip",
99
+ })
100
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.89", "User-Agent": "vellum-ai/0.14.89", "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),
97
101
  contentType: "application/json",
98
102
  queryParameters: _queryParams,
99
103
  requestType: "json",
@@ -155,7 +159,11 @@ class WorkflowDeployments {
155
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)
156
160
  .default, `v1/workflow-deployments/${encodeURIComponent(id)}`),
157
161
  method: "GET",
158
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.88", "User-Agent": "vellum-ai/0.14.88", "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),
162
+ headers: Object.assign(Object.assign({ "X-API-Version": (yield core.Supplier.get(this._options.apiVersion)) != null
163
+ ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
164
+ unrecognizedObjectKeys: "strip",
165
+ })
166
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.89", "User-Agent": "vellum-ai/0.14.89", "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),
159
167
  contentType: "application/json",
160
168
  requestType: "json",
161
169
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -226,7 +234,11 @@ class WorkflowDeployments {
226
234
  url: (0, url_join_1.default)((_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : ((_d = (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.VellumEnvironment.Production)
227
235
  .default, `v1/workflow-deployments/${encodeURIComponent(id)}/execution-events`),
228
236
  method: "GET",
229
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.88", "User-Agent": "vellum-ai/0.14.88", "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),
237
+ headers: Object.assign(Object.assign({ "X-API-Version": (yield core.Supplier.get(this._options.apiVersion)) != null
238
+ ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
239
+ unrecognizedObjectKeys: "strip",
240
+ })
241
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.89", "User-Agent": "vellum-ai/0.14.89", "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),
230
242
  contentType: "application/json",
231
243
  queryParameters: _queryParams,
232
244
  requestType: "json",
@@ -287,7 +299,11 @@ class WorkflowDeployments {
287
299
  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)
288
300
  .default, `v1/workflow-deployments/${encodeURIComponent(id)}/execution-events/${encodeURIComponent(executionId)}`),
289
301
  method: "GET",
290
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.88", "User-Agent": "vellum-ai/0.14.88", "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),
302
+ headers: Object.assign(Object.assign({ "X-API-Version": (yield core.Supplier.get(this._options.apiVersion)) != null
303
+ ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
304
+ unrecognizedObjectKeys: "strip",
305
+ })
306
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.89", "User-Agent": "vellum-ai/0.14.89", "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),
291
307
  contentType: "application/json",
292
308
  requestType: "json",
293
309
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -350,7 +366,11 @@ class WorkflowDeployments {
350
366
  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)
351
367
  .default, `v1/workflow-deployments/${encodeURIComponent(id)}/history/${encodeURIComponent(historyIdOrReleaseTag)}`),
352
368
  method: "GET",
353
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.88", "User-Agent": "vellum-ai/0.14.88", "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),
369
+ headers: Object.assign(Object.assign({ "X-API-Version": (yield core.Supplier.get(this._options.apiVersion)) != null
370
+ ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
371
+ unrecognizedObjectKeys: "strip",
372
+ })
373
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.89", "User-Agent": "vellum-ai/0.14.89", "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),
354
374
  contentType: "application/json",
355
375
  requestType: "json",
356
376
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -428,7 +448,11 @@ class WorkflowDeployments {
428
448
  url: (0, url_join_1.default)((_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : ((_d = (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.VellumEnvironment.Production)
429
449
  .default, `v1/workflow-deployments/${encodeURIComponent(id)}/release-tags`),
430
450
  method: "GET",
431
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.88", "User-Agent": "vellum-ai/0.14.88", "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),
451
+ headers: Object.assign(Object.assign({ "X-API-Version": (yield core.Supplier.get(this._options.apiVersion)) != null
452
+ ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
453
+ unrecognizedObjectKeys: "strip",
454
+ })
455
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.89", "User-Agent": "vellum-ai/0.14.89", "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),
432
456
  contentType: "application/json",
433
457
  queryParameters: _queryParams,
434
458
  requestType: "json",
@@ -491,7 +515,11 @@ class WorkflowDeployments {
491
515
  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)
492
516
  .default, `v1/workflow-deployments/${encodeURIComponent(id)}/release-tags/${encodeURIComponent(name)}`),
493
517
  method: "GET",
494
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.88", "User-Agent": "vellum-ai/0.14.88", "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),
518
+ headers: Object.assign(Object.assign({ "X-API-Version": (yield core.Supplier.get(this._options.apiVersion)) != null
519
+ ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
520
+ unrecognizedObjectKeys: "strip",
521
+ })
522
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.89", "User-Agent": "vellum-ai/0.14.89", "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),
495
523
  contentType: "application/json",
496
524
  requestType: "json",
497
525
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -554,7 +582,11 @@ class WorkflowDeployments {
554
582
  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)
555
583
  .default, `v1/workflow-deployments/${encodeURIComponent(id)}/release-tags/${encodeURIComponent(name)}`),
556
584
  method: "PATCH",
557
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.88", "User-Agent": "vellum-ai/0.14.88", "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),
585
+ headers: Object.assign(Object.assign({ "X-API-Version": (yield core.Supplier.get(this._options.apiVersion)) != null
586
+ ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
587
+ unrecognizedObjectKeys: "strip",
588
+ })
589
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.89", "User-Agent": "vellum-ai/0.14.89", "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),
558
590
  contentType: "application/json",
559
591
  requestType: "json",
560
592
  body: serializers.PatchedWorkflowReleaseTagUpdateRequest.jsonOrThrow(request, {
@@ -10,6 +10,8 @@ export declare namespace WorkflowSandboxes {
10
10
  /** Specify a custom URL to connect the client to. */
11
11
  baseUrl?: core.Supplier<string>;
12
12
  apiKey: core.Supplier<string>;
13
+ /** Override the X-API-Version header */
14
+ apiVersion?: core.Supplier<Vellum.ApiVersionEnum | undefined>;
13
15
  }
14
16
  interface RequestOptions {
15
17
  /** The maximum time to wait for a response in seconds. */
@@ -18,6 +20,8 @@ export declare namespace WorkflowSandboxes {
18
20
  maxRetries?: number;
19
21
  /** A hook to abort the request. */
20
22
  abortSignal?: AbortSignal;
23
+ /** Override the X-API-Version header */
24
+ apiVersion?: Vellum.ApiVersionEnum | undefined;
21
25
  /** Additional headers to include in the request. */
22
26
  headers?: Record<string, string>;
23
27
  }
@@ -77,7 +77,11 @@ class WorkflowSandboxes {
77
77
  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)
78
78
  .default, `v1/workflow-sandboxes/${encodeURIComponent(id)}/workflows/${encodeURIComponent(workflowId)}/deploy`),
79
79
  method: "POST",
80
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.88", "User-Agent": "vellum-ai/0.14.88", "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),
80
+ headers: Object.assign(Object.assign({ "X-API-Version": (yield core.Supplier.get(this._options.apiVersion)) != null
81
+ ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
82
+ unrecognizedObjectKeys: "strip",
83
+ })
84
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.89", "User-Agent": "vellum-ai/0.14.89", "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),
81
85
  contentType: "application/json",
82
86
  requestType: "json",
83
87
  body: serializers.DeploySandboxWorkflowRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -155,7 +159,11 @@ class WorkflowSandboxes {
155
159
  url: (0, url_join_1.default)((_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : ((_d = (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.VellumEnvironment.Production)
156
160
  .default, "v1/workflow-sandboxes/examples"),
157
161
  method: "GET",
158
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.88", "User-Agent": "vellum-ai/0.14.88", "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),
162
+ headers: Object.assign(Object.assign({ "X-API-Version": (yield core.Supplier.get(this._options.apiVersion)) != null
163
+ ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
164
+ unrecognizedObjectKeys: "strip",
165
+ })
166
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.89", "User-Agent": "vellum-ai/0.14.89", "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),
159
167
  contentType: "application/json",
160
168
  queryParameters: _queryParams,
161
169
  requestType: "json",
@@ -13,6 +13,8 @@ export declare namespace Workflows {
13
13
  /** Specify a custom URL to connect the client to. */
14
14
  baseUrl?: core.Supplier<string>;
15
15
  apiKey: core.Supplier<string>;
16
+ /** Override the X-API-Version header */
17
+ apiVersion?: core.Supplier<Vellum.ApiVersionEnum | undefined>;
16
18
  }
17
19
  interface RequestOptions {
18
20
  /** The maximum time to wait for a response in seconds. */
@@ -21,6 +23,8 @@ export declare namespace Workflows {
21
23
  maxRetries?: number;
22
24
  /** A hook to abort the request. */
23
25
  abortSignal?: AbortSignal;
26
+ /** Override the X-API-Version header */
27
+ apiVersion?: Vellum.ApiVersionEnum | undefined;
24
28
  /** Additional headers to include in the request. */
25
29
  headers?: Record<string, string>;
26
30
  }
@@ -37,11 +41,6 @@ export declare class Workflows {
37
41
  * @param {File | fs.ReadStream | Blob | undefined} artifact
38
42
  * @param {Vellum.WorkflowPushRequest} request
39
43
  * @param {Workflows.RequestOptions} requestOptions - Request-specific configuration.
40
- *
41
- * @example
42
- * await client.workflows.push(fs.createReadStream("/path/to/your/file"), {
43
- * execConfig: "exec_config"
44
- * })
45
44
  */
46
45
  push(artifact: File | fs.ReadStream | Blob | undefined, request: Vellum.WorkflowPushRequest, requestOptions?: Workflows.RequestOptions): core.HttpResponsePromise<Vellum.WorkflowPushResponse>;
47
46
  private __push;
@@ -52,9 +52,9 @@ exports.Workflows = void 0;
52
52
  const environments = __importStar(require("../../../../environments"));
53
53
  const core = __importStar(require("../../../../core"));
54
54
  const Vellum = __importStar(require("../../../index"));
55
+ const serializers = __importStar(require("../../../../serialization/index"));
55
56
  const url_join_1 = __importDefault(require("url-join"));
56
57
  const errors = __importStar(require("../../../../errors/index"));
57
- const serializers = __importStar(require("../../../../serialization/index"));
58
58
  const json_1 = require("../../../../core/json");
59
59
  class Workflows {
60
60
  constructor(_options) {
@@ -87,7 +87,11 @@ class Workflows {
87
87
  url: (0, url_join_1.default)((_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : ((_f = (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.VellumEnvironment.Production)
88
88
  .default, `v1/workflows/${encodeURIComponent(id)}/pull`),
89
89
  method: "GET",
90
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.88", "User-Agent": "vellum-ai/0.14.88", "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),
90
+ headers: Object.assign(Object.assign({ "X-API-Version": (yield core.Supplier.get(this._options.apiVersion)) != null
91
+ ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
92
+ unrecognizedObjectKeys: "strip",
93
+ })
94
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.89", "User-Agent": "vellum-ai/0.14.89", "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),
91
95
  contentType: "application/json",
92
96
  queryParameters: _queryParams,
93
97
  requestType: "json",
@@ -132,11 +136,6 @@ class Workflows {
132
136
  * @param {File | fs.ReadStream | Blob | undefined} artifact
133
137
  * @param {Vellum.WorkflowPushRequest} request
134
138
  * @param {Workflows.RequestOptions} requestOptions - Request-specific configuration.
135
- *
136
- * @example
137
- * await client.workflows.push(fs.createReadStream("/path/to/your/file"), {
138
- * execConfig: "exec_config"
139
- * })
140
139
  */
141
140
  push(artifact, request, requestOptions) {
142
141
  return core.HttpResponsePromise.fromPromise(this.__push(artifact, request, requestOptions));
@@ -168,7 +167,11 @@ class Workflows {
168
167
  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)
169
168
  .default, "v1/workflows/push"),
170
169
  method: "POST",
171
- headers: Object.assign(Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.88", "User-Agent": "vellum-ai/0.14.88", "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),
170
+ headers: Object.assign(Object.assign(Object.assign({ "X-API-Version": (yield core.Supplier.get(this._options.apiVersion)) != null
171
+ ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
172
+ unrecognizedObjectKeys: "strip",
173
+ })
174
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.89", "User-Agent": "vellum-ai/0.14.89", "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),
172
175
  requestType: "file",
173
176
  duplex: _maybeEncodedRequest.duplex,
174
177
  body: _maybeEncodedRequest.body,
@@ -2,12 +2,6 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  import * as Vellum from "../../../../index";
5
- /**
6
- * @example
7
- * {
8
- * execConfig: "exec_config"
9
- * }
10
- */
11
5
  export interface WorkflowPushRequest {
12
6
  /** The execution configuration of the workflow. */
13
7
  execConfig: Vellum.WorkflowPushExecConfig;
@@ -10,6 +10,8 @@ export declare namespace WorkspaceSecrets {
10
10
  /** Specify a custom URL to connect the client to. */
11
11
  baseUrl?: core.Supplier<string>;
12
12
  apiKey: core.Supplier<string>;
13
+ /** Override the X-API-Version header */
14
+ apiVersion?: core.Supplier<Vellum.ApiVersionEnum | undefined>;
13
15
  }
14
16
  interface RequestOptions {
15
17
  /** The maximum time to wait for a response in seconds. */
@@ -18,6 +20,8 @@ export declare namespace WorkspaceSecrets {
18
20
  maxRetries?: number;
19
21
  /** A hook to abort the request. */
20
22
  abortSignal?: AbortSignal;
23
+ /** Override the X-API-Version header */
24
+ apiVersion?: Vellum.ApiVersionEnum | undefined;
21
25
  /** Additional headers to include in the request. */
22
26
  headers?: Record<string, string>;
23
27
  }
@@ -51,8 +51,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
51
51
  exports.WorkspaceSecrets = void 0;
52
52
  const environments = __importStar(require("../../../../environments"));
53
53
  const core = __importStar(require("../../../../core"));
54
- const url_join_1 = __importDefault(require("url-join"));
55
54
  const serializers = __importStar(require("../../../../serialization/index"));
55
+ const url_join_1 = __importDefault(require("url-join"));
56
56
  const errors = __importStar(require("../../../../errors/index"));
57
57
  class WorkspaceSecrets {
58
58
  constructor(_options) {
@@ -77,7 +77,11 @@ class WorkspaceSecrets {
77
77
  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)
78
78
  .default, `v1/workspace-secrets/${encodeURIComponent(id)}`),
79
79
  method: "GET",
80
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.88", "User-Agent": "vellum-ai/0.14.88", "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),
80
+ headers: Object.assign(Object.assign({ "X-API-Version": (yield core.Supplier.get(this._options.apiVersion)) != null
81
+ ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
82
+ unrecognizedObjectKeys: "strip",
83
+ })
84
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.89", "User-Agent": "vellum-ai/0.14.89", "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),
81
85
  contentType: "application/json",
82
86
  requestType: "json",
83
87
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -139,7 +143,11 @@ class WorkspaceSecrets {
139
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)
140
144
  .default, `v1/workspace-secrets/${encodeURIComponent(id)}`),
141
145
  method: "PATCH",
142
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.88", "User-Agent": "vellum-ai/0.14.88", "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-API-Version": (yield core.Supplier.get(this._options.apiVersion)) != null
147
+ ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
148
+ unrecognizedObjectKeys: "strip",
149
+ })
150
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.89", "User-Agent": "vellum-ai/0.14.89", "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),
143
151
  contentType: "application/json",
144
152
  requestType: "json",
145
153
  body: serializers.PatchedWorkspaceSecretUpdateRequest.jsonOrThrow(request, {
@@ -10,6 +10,8 @@ export declare namespace Workspaces {
10
10
  /** Specify a custom URL to connect the client to. */
11
11
  baseUrl?: core.Supplier<string>;
12
12
  apiKey: core.Supplier<string>;
13
+ /** Override the X-API-Version header */
14
+ apiVersion?: core.Supplier<Vellum.ApiVersionEnum | undefined>;
13
15
  }
14
16
  interface RequestOptions {
15
17
  /** The maximum time to wait for a response in seconds. */
@@ -18,6 +20,8 @@ export declare namespace Workspaces {
18
20
  maxRetries?: number;
19
21
  /** A hook to abort the request. */
20
22
  abortSignal?: AbortSignal;
23
+ /** Override the X-API-Version header */
24
+ apiVersion?: Vellum.ApiVersionEnum | undefined;
21
25
  /** Additional headers to include in the request. */
22
26
  headers?: Record<string, string>;
23
27
  }
@@ -51,8 +51,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
51
51
  exports.Workspaces = void 0;
52
52
  const environments = __importStar(require("../../../../environments"));
53
53
  const core = __importStar(require("../../../../core"));
54
- const url_join_1 = __importDefault(require("url-join"));
55
54
  const serializers = __importStar(require("../../../../serialization/index"));
55
+ const url_join_1 = __importDefault(require("url-join"));
56
56
  const errors = __importStar(require("../../../../errors/index"));
57
57
  class Workspaces {
58
58
  constructor(_options) {
@@ -76,7 +76,11 @@ class Workspaces {
76
76
  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)
77
77
  .default, "v1/workspaces/identity"),
78
78
  method: "GET",
79
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.88", "User-Agent": "vellum-ai/0.14.88", "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),
79
+ headers: Object.assign(Object.assign({ "X-API-Version": (yield core.Supplier.get(this._options.apiVersion)) != null
80
+ ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
81
+ unrecognizedObjectKeys: "strip",
82
+ })
83
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.89", "User-Agent": "vellum-ai/0.14.89", "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),
80
84
  contentType: "application/json",
81
85
  requestType: "json",
82
86
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
package/dist/Client.d.ts CHANGED
@@ -29,6 +29,8 @@ export declare namespace VellumClient {
29
29
  /** Specify a custom URL to connect the client to. */
30
30
  baseUrl?: core.Supplier<string>;
31
31
  apiKey: core.Supplier<string>;
32
+ /** Override the X-API-Version header */
33
+ apiVersion?: core.Supplier<Vellum.ApiVersionEnum | undefined>;
32
34
  }
33
35
  interface RequestOptions {
34
36
  /** The maximum time to wait for a response in seconds. */
@@ -37,6 +39,8 @@ export declare namespace VellumClient {
37
39
  maxRetries?: number;
38
40
  /** A hook to abort the request. */
39
41
  abortSignal?: AbortSignal;
42
+ /** Override the X-API-Version header */
43
+ apiVersion?: Vellum.ApiVersionEnum | undefined;
40
44
  /** Additional headers to include in the request. */
41
45
  headers?: Record<string, string>;
42
46
  }
@@ -88,7 +92,7 @@ export declare class VellumClient {
88
92
  *
89
93
  * @example
90
94
  * await client.executeApi({
91
- * url: "url"
95
+ * url: "x"
92
96
  * })
93
97
  */
94
98
  executeApi(request: Vellum.ExecuteApiRequest, requestOptions?: VellumClient.RequestOptions): core.HttpResponsePromise<Vellum.ExecuteApiResponse>;
@@ -101,16 +105,23 @@ export declare class VellumClient {
101
105
  *
102
106
  * @example
103
107
  * await client.executeCode({
104
- * code: "code",
108
+ * code: "x",
105
109
  * runtime: "PYTHON_3_11_6",
106
110
  * inputValues: [{
107
- * name: "name",
111
+ * name: "x",
112
+ * type: "STRING",
113
+ * value: "value"
114
+ * }, {
115
+ * name: "x",
108
116
  * type: "STRING",
109
117
  * value: "value"
110
118
  * }],
111
119
  * packages: [{
112
120
  * version: "version",
113
121
  * name: "name"
122
+ * }, {
123
+ * version: "version",
124
+ * name: "name"
114
125
  * }],
115
126
  * outputType: "STRING"
116
127
  * })
@@ -131,7 +142,11 @@ export declare class VellumClient {
131
142
  * @example
132
143
  * await client.executePrompt({
133
144
  * inputs: [{
134
- * name: "name",
145
+ * name: "x",
146
+ * type: "STRING",
147
+ * value: "value"
148
+ * }, {
149
+ * name: "x",
135
150
  * type: "STRING",
136
151
  * value: "value"
137
152
  * }]
@@ -157,7 +172,11 @@ export declare class VellumClient {
157
172
  * @example
158
173
  * await client.executeWorkflow({
159
174
  * inputs: [{
160
- * name: "name",
175
+ * name: "x",
176
+ * type: "STRING",
177
+ * value: "value"
178
+ * }, {
179
+ * name: "x",
161
180
  * type: "STRING",
162
181
  * value: "value"
163
182
  * }]
@@ -188,7 +207,15 @@ export declare class VellumClient {
188
207
  * await client.generate({
189
208
  * requests: [{
190
209
  * inputValues: {
191
- * "key": "value"
210
+ * "input_values": {
211
+ * "key": "value"
212
+ * }
213
+ * }
214
+ * }, {
215
+ * inputValues: {
216
+ * "input_values": {
217
+ * "key": "value"
218
+ * }
192
219
  * }
193
220
  * }]
194
221
  * })
@@ -215,7 +242,7 @@ export declare class VellumClient {
215
242
  *
216
243
  * @example
217
244
  * await client.search({
218
- * query: "query"
245
+ * query: "x"
219
246
  * })
220
247
  */
221
248
  search(request: Vellum.SearchRequestBodyRequest, requestOptions?: VellumClient.RequestOptions): core.HttpResponsePromise<Vellum.SearchResponse>;
@@ -232,7 +259,7 @@ export declare class VellumClient {
232
259
  *
233
260
  * @example
234
261
  * await client.submitCompletionActuals({
235
- * actuals: [{}]
262
+ * actuals: [{}, {}]
236
263
  * })
237
264
  */
238
265
  submitCompletionActuals(request: Vellum.SubmitCompletionActualsRequest, requestOptions?: VellumClient.RequestOptions): core.HttpResponsePromise<void>;
@@ -249,6 +276,8 @@ export declare class VellumClient {
249
276
  * await client.submitWorkflowExecutionActuals({
250
277
  * actuals: [{
251
278
  * outputType: "STRING"
279
+ * }, {
280
+ * outputType: "STRING"
252
281
  * }]
253
282
  * })
254
283
  */