vellum-ai 1.2.5 → 1.3.0

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 (106) hide show
  1. package/Client.js +11 -11
  2. package/api/resources/adHoc/client/Client.js +2 -2
  3. package/api/resources/containerImages/client/Client.js +4 -4
  4. package/api/resources/deployments/client/Client.js +8 -8
  5. package/api/resources/documentIndexes/client/Client.js +8 -8
  6. package/api/resources/documents/client/Client.js +5 -5
  7. package/api/resources/events/client/Client.js +1 -1
  8. package/api/resources/folderEntities/client/Client.js +2 -2
  9. package/api/resources/metricDefinitions/client/Client.js +2 -2
  10. package/api/resources/mlModels/client/Client.js +1 -1
  11. package/api/resources/organizations/client/Client.js +1 -1
  12. package/api/resources/prompts/client/Client.js +2 -2
  13. package/api/resources/sandboxes/client/Client.js +3 -3
  14. package/api/resources/testSuiteRuns/client/Client.js +3 -3
  15. package/api/resources/testSuites/client/Client.js +4 -4
  16. package/api/resources/workflowDeployments/client/Client.js +9 -9
  17. package/api/resources/workflowExecutions/client/Client.js +1 -1
  18. package/api/resources/workflowSandboxes/client/Client.d.ts +2 -3
  19. package/api/resources/workflowSandboxes/client/Client.js +9 -10
  20. package/api/resources/workflows/client/Client.js +2 -2
  21. package/api/resources/workspaceSecrets/client/Client.js +2 -2
  22. package/api/resources/workspaces/client/Client.js +1 -1
  23. package/api/types/DeploymentRead.d.ts +4 -7
  24. package/api/types/EnvironmentEnum.d.ts +0 -5
  25. package/api/types/SlimDeploymentRead.d.ts +4 -7
  26. package/api/types/SlimWorkflowDeployment.d.ts +4 -7
  27. package/api/types/WorkflowDeploymentRead.d.ts +4 -7
  28. package/api/types/WorkflowRequestAudioInputRequest.d.ts +13 -0
  29. package/api/types/WorkflowRequestAudioInputRequest.js +5 -0
  30. package/api/types/WorkflowRequestDocumentInputRequest.d.ts +13 -0
  31. package/api/types/WorkflowRequestDocumentInputRequest.js +5 -0
  32. package/api/types/WorkflowRequestImageInputRequest.d.ts +13 -0
  33. package/api/types/WorkflowRequestImageInputRequest.js +5 -0
  34. package/api/types/WorkflowRequestInputRequest.d.ts +1 -1
  35. package/api/types/WorkflowRequestVideoInputRequest.d.ts +13 -0
  36. package/api/types/WorkflowRequestVideoInputRequest.js +5 -0
  37. package/api/types/index.d.ts +4 -0
  38. package/api/types/index.js +4 -0
  39. package/dist/Client.js +11 -11
  40. package/dist/api/resources/adHoc/client/Client.js +2 -2
  41. package/dist/api/resources/containerImages/client/Client.js +4 -4
  42. package/dist/api/resources/deployments/client/Client.js +8 -8
  43. package/dist/api/resources/documentIndexes/client/Client.js +8 -8
  44. package/dist/api/resources/documents/client/Client.js +5 -5
  45. package/dist/api/resources/events/client/Client.js +1 -1
  46. package/dist/api/resources/folderEntities/client/Client.js +2 -2
  47. package/dist/api/resources/metricDefinitions/client/Client.js +2 -2
  48. package/dist/api/resources/mlModels/client/Client.js +1 -1
  49. package/dist/api/resources/organizations/client/Client.js +1 -1
  50. package/dist/api/resources/prompts/client/Client.js +2 -2
  51. package/dist/api/resources/sandboxes/client/Client.js +3 -3
  52. package/dist/api/resources/testSuiteRuns/client/Client.js +3 -3
  53. package/dist/api/resources/testSuites/client/Client.js +4 -4
  54. package/dist/api/resources/workflowDeployments/client/Client.js +9 -9
  55. package/dist/api/resources/workflowExecutions/client/Client.js +1 -1
  56. package/dist/api/resources/workflowSandboxes/client/Client.d.ts +2 -3
  57. package/dist/api/resources/workflowSandboxes/client/Client.js +9 -10
  58. package/dist/api/resources/workflows/client/Client.js +2 -2
  59. package/dist/api/resources/workspaceSecrets/client/Client.js +2 -2
  60. package/dist/api/resources/workspaces/client/Client.js +1 -1
  61. package/dist/api/types/DeploymentRead.d.ts +4 -7
  62. package/dist/api/types/EnvironmentEnum.d.ts +0 -5
  63. package/dist/api/types/SlimDeploymentRead.d.ts +4 -7
  64. package/dist/api/types/SlimWorkflowDeployment.d.ts +4 -7
  65. package/dist/api/types/WorkflowDeploymentRead.d.ts +4 -7
  66. package/dist/api/types/WorkflowRequestAudioInputRequest.d.ts +13 -0
  67. package/dist/api/types/WorkflowRequestAudioInputRequest.js +5 -0
  68. package/dist/api/types/WorkflowRequestDocumentInputRequest.d.ts +13 -0
  69. package/dist/api/types/WorkflowRequestDocumentInputRequest.js +5 -0
  70. package/dist/api/types/WorkflowRequestImageInputRequest.d.ts +13 -0
  71. package/dist/api/types/WorkflowRequestImageInputRequest.js +5 -0
  72. package/dist/api/types/WorkflowRequestInputRequest.d.ts +1 -1
  73. package/dist/api/types/WorkflowRequestVideoInputRequest.d.ts +13 -0
  74. package/dist/api/types/WorkflowRequestVideoInputRequest.js +5 -0
  75. package/dist/api/types/index.d.ts +4 -0
  76. package/dist/api/types/index.js +4 -0
  77. package/dist/serialization/types/WorkflowRequestAudioInputRequest.d.ts +15 -0
  78. package/dist/serialization/types/WorkflowRequestAudioInputRequest.js +46 -0
  79. package/dist/serialization/types/WorkflowRequestDocumentInputRequest.d.ts +15 -0
  80. package/dist/serialization/types/WorkflowRequestDocumentInputRequest.js +46 -0
  81. package/dist/serialization/types/WorkflowRequestImageInputRequest.d.ts +15 -0
  82. package/dist/serialization/types/WorkflowRequestImageInputRequest.js +46 -0
  83. package/dist/serialization/types/WorkflowRequestInputRequest.d.ts +5 -1
  84. package/dist/serialization/types/WorkflowRequestInputRequest.js +8 -0
  85. package/dist/serialization/types/WorkflowRequestVideoInputRequest.d.ts +15 -0
  86. package/dist/serialization/types/WorkflowRequestVideoInputRequest.js +46 -0
  87. package/dist/serialization/types/index.d.ts +4 -0
  88. package/dist/serialization/types/index.js +4 -0
  89. package/dist/version.d.ts +1 -1
  90. package/dist/version.js +1 -1
  91. package/package.json +1 -1
  92. package/reference.md +2 -10
  93. package/serialization/types/WorkflowRequestAudioInputRequest.d.ts +15 -0
  94. package/serialization/types/WorkflowRequestAudioInputRequest.js +46 -0
  95. package/serialization/types/WorkflowRequestDocumentInputRequest.d.ts +15 -0
  96. package/serialization/types/WorkflowRequestDocumentInputRequest.js +46 -0
  97. package/serialization/types/WorkflowRequestImageInputRequest.d.ts +15 -0
  98. package/serialization/types/WorkflowRequestImageInputRequest.js +46 -0
  99. package/serialization/types/WorkflowRequestInputRequest.d.ts +5 -1
  100. package/serialization/types/WorkflowRequestInputRequest.js +8 -0
  101. package/serialization/types/WorkflowRequestVideoInputRequest.d.ts +15 -0
  102. package/serialization/types/WorkflowRequestVideoInputRequest.js +46 -0
  103. package/serialization/types/index.d.ts +4 -0
  104. package/serialization/types/index.js +4 -0
  105. package/version.d.ts +1 -1
  106. package/version.js +1 -1
@@ -90,7 +90,7 @@ class TestSuites {
90
90
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
91
91
  unrecognizedObjectKeys: "strip",
92
92
  })
93
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.5", "User-Agent": "vellum-ai/1.2.5", "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
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.0", "User-Agent": "vellum-ai/1.3.0", "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",
@@ -178,7 +178,7 @@ class TestSuites {
178
178
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
179
179
  unrecognizedObjectKeys: "strip",
180
180
  })
181
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.5", "User-Agent": "vellum-ai/1.2.5", "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),
181
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.0", "User-Agent": "vellum-ai/1.3.0", "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),
182
182
  contentType: "application/json",
183
183
  requestType: "json",
184
184
  body: serializers.UpsertTestSuiteTestCaseRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -238,7 +238,7 @@ class TestSuites {
238
238
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
239
239
  unrecognizedObjectKeys: "strip",
240
240
  })
241
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.5", "User-Agent": "vellum-ai/1.2.5", "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),
241
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.0", "User-Agent": "vellum-ai/1.3.0", "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),
242
242
  contentType: "application/x-ndjson",
243
243
  requestType: "json",
244
244
  body: serializers.testSuites.testSuiteTestCasesBulk.Request.jsonOrThrow(request, {
@@ -318,7 +318,7 @@ class TestSuites {
318
318
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
319
319
  unrecognizedObjectKeys: "strip",
320
320
  })
321
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.5", "User-Agent": "vellum-ai/1.2.5", "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),
321
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.0", "User-Agent": "vellum-ai/1.3.0", "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),
322
322
  contentType: "application/json",
323
323
  requestType: "json",
324
324
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -97,7 +97,7 @@ class WorkflowDeployments {
97
97
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
98
98
  unrecognizedObjectKeys: "strip",
99
99
  })
100
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.5", "User-Agent": "vellum-ai/1.2.5", "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),
100
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.0", "User-Agent": "vellum-ai/1.3.0", "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),
101
101
  contentType: "application/json",
102
102
  queryParameters: _queryParams,
103
103
  requestType: "json",
@@ -163,7 +163,7 @@ class WorkflowDeployments {
163
163
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
164
164
  unrecognizedObjectKeys: "strip",
165
165
  })
166
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.5", "User-Agent": "vellum-ai/1.2.5", "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),
166
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.0", "User-Agent": "vellum-ai/1.3.0", "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
167
  contentType: "application/json",
168
168
  requestType: "json",
169
169
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -238,7 +238,7 @@ class WorkflowDeployments {
238
238
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
239
239
  unrecognizedObjectKeys: "strip",
240
240
  })
241
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.5", "User-Agent": "vellum-ai/1.2.5", "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),
241
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.0", "User-Agent": "vellum-ai/1.3.0", "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),
242
242
  contentType: "application/json",
243
243
  queryParameters: _queryParams,
244
244
  requestType: "json",
@@ -303,7 +303,7 @@ class WorkflowDeployments {
303
303
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
304
304
  unrecognizedObjectKeys: "strip",
305
305
  })
306
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.5", "User-Agent": "vellum-ai/1.2.5", "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),
306
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.0", "User-Agent": "vellum-ai/1.3.0", "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),
307
307
  contentType: "application/json",
308
308
  requestType: "json",
309
309
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -370,7 +370,7 @@ class WorkflowDeployments {
370
370
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
371
371
  unrecognizedObjectKeys: "strip",
372
372
  })
373
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.5", "User-Agent": "vellum-ai/1.2.5", "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),
373
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.0", "User-Agent": "vellum-ai/1.3.0", "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),
374
374
  contentType: "application/json",
375
375
  requestType: "json",
376
376
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -452,7 +452,7 @@ class WorkflowDeployments {
452
452
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
453
453
  unrecognizedObjectKeys: "strip",
454
454
  })
455
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.5", "User-Agent": "vellum-ai/1.2.5", "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),
455
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.0", "User-Agent": "vellum-ai/1.3.0", "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),
456
456
  contentType: "application/json",
457
457
  queryParameters: _queryParams,
458
458
  requestType: "json",
@@ -519,7 +519,7 @@ class WorkflowDeployments {
519
519
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
520
520
  unrecognizedObjectKeys: "strip",
521
521
  })
522
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.5", "User-Agent": "vellum-ai/1.2.5", "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),
522
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.0", "User-Agent": "vellum-ai/1.3.0", "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),
523
523
  contentType: "application/json",
524
524
  requestType: "json",
525
525
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -586,7 +586,7 @@ class WorkflowDeployments {
586
586
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
587
587
  unrecognizedObjectKeys: "strip",
588
588
  })
589
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.5", "User-Agent": "vellum-ai/1.2.5", "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),
589
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.0", "User-Agent": "vellum-ai/1.3.0", "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),
590
590
  contentType: "application/json",
591
591
  requestType: "json",
592
592
  body: serializers.PatchedWorkflowReleaseTagUpdateRequest.jsonOrThrow(request, {
@@ -655,7 +655,7 @@ class WorkflowDeployments {
655
655
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
656
656
  unrecognizedObjectKeys: "strip",
657
657
  })
658
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.5", "User-Agent": "vellum-ai/1.2.5", "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),
658
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.0", "User-Agent": "vellum-ai/1.3.0", "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),
659
659
  contentType: "application/json",
660
660
  requestType: "json",
661
661
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -88,7 +88,7 @@ class WorkflowExecutions {
88
88
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
89
89
  unrecognizedObjectKeys: "strip",
90
90
  })
91
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.5", "User-Agent": "vellum-ai/1.2.5", "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
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.0", "User-Agent": "vellum-ai/1.3.0", "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),
92
92
  contentType: "application/json",
93
93
  queryParameters: _queryParams,
94
94
  requestType: "json",
@@ -31,14 +31,13 @@ export declare class WorkflowSandboxes {
31
31
  constructor(_options: WorkflowSandboxes.Options);
32
32
  /**
33
33
  * @param {string} id - A UUID string identifying this workflow sandbox.
34
- * @param {string} workflowId - An ID identifying the Workflow you'd like to deploy.
35
34
  * @param {Vellum.DeploySandboxWorkflowRequest} request
36
35
  * @param {WorkflowSandboxes.RequestOptions} requestOptions - Request-specific configuration.
37
36
  *
38
37
  * @example
39
- * await client.workflowSandboxes.deployWorkflow("id", "workflow_id")
38
+ * await client.workflowSandboxes.deployWorkflow("id")
40
39
  */
41
- deployWorkflow(id: string, workflowId: string, request?: Vellum.DeploySandboxWorkflowRequest, requestOptions?: WorkflowSandboxes.RequestOptions): core.HttpResponsePromise<Vellum.WorkflowDeploymentRead>;
40
+ deployWorkflow(id: string, request?: Vellum.DeploySandboxWorkflowRequest, requestOptions?: WorkflowSandboxes.RequestOptions): core.HttpResponsePromise<Vellum.WorkflowDeploymentRead>;
42
41
  private __deployWorkflow;
43
42
  /**
44
43
  * List Workflow Sandbox examples that were previously cloned into the User's Workspace
@@ -60,28 +60,27 @@ class WorkflowSandboxes {
60
60
  }
61
61
  /**
62
62
  * @param {string} id - A UUID string identifying this workflow sandbox.
63
- * @param {string} workflowId - An ID identifying the Workflow you'd like to deploy.
64
63
  * @param {Vellum.DeploySandboxWorkflowRequest} request
65
64
  * @param {WorkflowSandboxes.RequestOptions} requestOptions - Request-specific configuration.
66
65
  *
67
66
  * @example
68
- * await client.workflowSandboxes.deployWorkflow("id", "workflow_id")
67
+ * await client.workflowSandboxes.deployWorkflow("id")
69
68
  */
70
- deployWorkflow(id, workflowId, request = {}, requestOptions) {
71
- return core.HttpResponsePromise.fromPromise(this.__deployWorkflow(id, workflowId, request, requestOptions));
69
+ deployWorkflow(id, request = {}, requestOptions) {
70
+ return core.HttpResponsePromise.fromPromise(this.__deployWorkflow(id, request, requestOptions));
72
71
  }
73
- __deployWorkflow(id_1, workflowId_1) {
74
- return __awaiter(this, arguments, void 0, function* (id, workflowId, request = {}, requestOptions) {
72
+ __deployWorkflow(id_1) {
73
+ return __awaiter(this, arguments, void 0, function* (id, request = {}, requestOptions) {
75
74
  var _a, _b;
76
75
  const _response = yield core.fetcher({
77
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)
78
- .default, `v1/workflow-sandboxes/${encodeURIComponent(id)}/workflows/${encodeURIComponent(workflowId)}/deploy`),
77
+ .default, `v1/workflow-sandboxes/${encodeURIComponent(id)}/deploy`),
79
78
  method: "POST",
80
79
  headers: Object.assign(Object.assign({ "X-API-Version": (yield core.Supplier.get(this._options.apiVersion)) != null
81
80
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
82
81
  unrecognizedObjectKeys: "strip",
83
82
  })
84
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.5", "User-Agent": "vellum-ai/1.2.5", "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),
83
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.0", "User-Agent": "vellum-ai/1.3.0", "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),
85
84
  contentType: "application/json",
86
85
  requestType: "json",
87
86
  body: serializers.DeploySandboxWorkflowRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -115,7 +114,7 @@ class WorkflowSandboxes {
115
114
  rawResponse: _response.rawResponse,
116
115
  });
117
116
  case "timeout":
118
- throw new errors.VellumTimeoutError("Timeout exceeded when calling POST /v1/workflow-sandboxes/{id}/workflows/{workflow_id}/deploy.");
117
+ throw new errors.VellumTimeoutError("Timeout exceeded when calling POST /v1/workflow-sandboxes/{id}/deploy.");
119
118
  case "unknown":
120
119
  throw new errors.VellumError({
121
120
  message: _response.error.errorMessage,
@@ -163,7 +162,7 @@ class WorkflowSandboxes {
163
162
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
164
163
  unrecognizedObjectKeys: "strip",
165
164
  })
166
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.5", "User-Agent": "vellum-ai/1.2.5", "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),
165
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.0", "User-Agent": "vellum-ai/1.3.0", "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
166
  contentType: "application/json",
168
167
  queryParameters: _queryParams,
169
168
  requestType: "json",
@@ -100,7 +100,7 @@ class Workflows {
100
100
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
101
101
  unrecognizedObjectKeys: "strip",
102
102
  })
103
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.5", "User-Agent": "vellum-ai/1.2.5", "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),
103
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.0", "User-Agent": "vellum-ai/1.3.0", "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),
104
104
  contentType: "application/json",
105
105
  queryParameters: _queryParams,
106
106
  requestType: "json",
@@ -180,7 +180,7 @@ class Workflows {
180
180
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
181
181
  unrecognizedObjectKeys: "strip",
182
182
  })
183
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.5", "User-Agent": "vellum-ai/1.2.5", "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),
183
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.0", "User-Agent": "vellum-ai/1.3.0", "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),
184
184
  requestType: "file",
185
185
  duplex: _maybeEncodedRequest.duplex,
186
186
  body: _maybeEncodedRequest.body,
@@ -81,7 +81,7 @@ class WorkspaceSecrets {
81
81
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
82
82
  unrecognizedObjectKeys: "strip",
83
83
  })
84
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.5", "User-Agent": "vellum-ai/1.2.5", "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),
84
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.0", "User-Agent": "vellum-ai/1.3.0", "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),
85
85
  contentType: "application/json",
86
86
  requestType: "json",
87
87
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -147,7 +147,7 @@ class WorkspaceSecrets {
147
147
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
148
148
  unrecognizedObjectKeys: "strip",
149
149
  })
150
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.5", "User-Agent": "vellum-ai/1.2.5", "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),
150
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.0", "User-Agent": "vellum-ai/1.3.0", "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),
151
151
  contentType: "application/json",
152
152
  requestType: "json",
153
153
  body: serializers.PatchedWorkspaceSecretUpdateRequest.jsonOrThrow(request, {
@@ -80,7 +80,7 @@ class Workspaces {
80
80
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
81
81
  unrecognizedObjectKeys: "strip",
82
82
  })
83
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.5", "User-Agent": "vellum-ai/1.2.5", "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),
83
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.0", "User-Agent": "vellum-ai/1.3.0", "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),
84
84
  contentType: "application/json",
85
85
  requestType: "json",
86
86
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -2,6 +2,9 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  import * as Vellum from "../index";
5
+ /**
6
+ * A Prompt Deployment's full details.
7
+ */
5
8
  export interface DeploymentRead {
6
9
  id: string;
7
10
  created: Date;
@@ -16,13 +19,7 @@ export interface DeploymentRead {
16
19
  * * `ARCHIVED` - Archived
17
20
  */
18
21
  status?: Vellum.EntityStatus;
19
- /**
20
- * The environment this deployment is used in
21
- *
22
- * * `DEVELOPMENT` - Development
23
- * * `STAGING` - Staging
24
- * * `PRODUCTION` - Production
25
- */
22
+ /** Deprecated. The value returned will always be 'PRODUCTION'. */
26
23
  environment?: Vellum.EnvironmentEnum | null;
27
24
  lastDeployedOn: Date;
28
25
  inputVariables: Vellum.VellumVariable[];
@@ -1,11 +1,6 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- /**
5
- * * `DEVELOPMENT` - Development
6
- * * `STAGING` - Staging
7
- * * `PRODUCTION` - Production
8
- */
9
4
  export type EnvironmentEnum = "DEVELOPMENT" | "STAGING" | "PRODUCTION";
10
5
  export declare const EnvironmentEnum: {
11
6
  readonly Development: "DEVELOPMENT";
@@ -2,6 +2,9 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  import * as Vellum from "../index";
5
+ /**
6
+ * A subset of a Prompt Deployment's full details.
7
+ */
5
8
  export interface SlimDeploymentRead {
6
9
  id: string;
7
10
  created: Date;
@@ -16,13 +19,7 @@ export interface SlimDeploymentRead {
16
19
  * * `ARCHIVED` - Archived
17
20
  */
18
21
  status?: Vellum.EntityStatus;
19
- /**
20
- * The environment this deployment is used in
21
- *
22
- * * `DEVELOPMENT` - Development
23
- * * `STAGING` - Staging
24
- * * `PRODUCTION` - Production
25
- */
22
+ /** Deprecated. The value returned will always be 'PRODUCTION'. */
26
23
  environment?: Vellum.EnvironmentEnum | null;
27
24
  lastDeployedOn: Date;
28
25
  inputVariables: Vellum.VellumVariable[];
@@ -2,6 +2,9 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  import * as Vellum from "../index";
5
+ /**
6
+ * A subset of a Workflow Deployment's full details.
7
+ */
5
8
  export interface SlimWorkflowDeployment {
6
9
  id: string;
7
10
  /** A name that uniquely identifies this workflow deployment within its workspace */
@@ -15,13 +18,7 @@ export interface SlimWorkflowDeployment {
15
18
  * * `ARCHIVED` - Archived
16
19
  */
17
20
  status?: Vellum.EntityStatus;
18
- /**
19
- * The environment this workflow deployment is used in
20
- *
21
- * * `DEVELOPMENT` - Development
22
- * * `STAGING` - Staging
23
- * * `PRODUCTION` - Production
24
- */
21
+ /** Deprecated. The value returned will always be 'PRODUCTION'. */
25
22
  environment?: Vellum.EnvironmentEnum | null;
26
23
  created: Date;
27
24
  lastDeployedOn: Date;
@@ -2,6 +2,9 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  import * as Vellum from "../index";
5
+ /**
6
+ * A Workflow Deployment's full details.
7
+ */
5
8
  export interface WorkflowDeploymentRead {
6
9
  id: string;
7
10
  /** A name that uniquely identifies this workflow deployment within its workspace */
@@ -15,13 +18,7 @@ export interface WorkflowDeploymentRead {
15
18
  * * `ARCHIVED` - Archived
16
19
  */
17
20
  status?: Vellum.EntityStatus;
18
- /**
19
- * The environment this workflow deployment is used in
20
- *
21
- * * `DEVELOPMENT` - Development
22
- * * `STAGING` - Staging
23
- * * `PRODUCTION` - Production
24
- */
21
+ /** Deprecated. The value returned will always be 'PRODUCTION'. */
25
22
  environment?: Vellum.EnvironmentEnum | null;
26
23
  created: Date;
27
24
  lastDeployedOn: Date;
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vellum from "../index";
5
+ /**
6
+ * The input for an audio variable in a Workflow.
7
+ */
8
+ export interface WorkflowRequestAudioInputRequest {
9
+ /** The variable's name, as defined in the Workflow. */
10
+ name: string;
11
+ type: "AUDIO";
12
+ value: Vellum.VellumAudioRequest;
13
+ }
@@ -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,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vellum from "../index";
5
+ /**
6
+ * The input for a document variable in a Workflow.
7
+ */
8
+ export interface WorkflowRequestDocumentInputRequest {
9
+ /** The variable's name, as defined in the Workflow. */
10
+ name: string;
11
+ type: "DOCUMENT";
12
+ value: Vellum.VellumDocumentRequest;
13
+ }
@@ -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,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vellum from "../index";
5
+ /**
6
+ * The input for an image variable in a Workflow.
7
+ */
8
+ export interface WorkflowRequestImageInputRequest {
9
+ /** The variable's name, as defined in the Workflow. */
10
+ name: string;
11
+ type: "IMAGE";
12
+ value: Vellum.VellumImageRequest;
13
+ }
@@ -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,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 type WorkflowRequestInputRequest = Vellum.WorkflowRequestStringInputRequest | Vellum.WorkflowRequestJsonInputRequest | Vellum.WorkflowRequestChatHistoryInputRequest | Vellum.WorkflowRequestNumberInputRequest;
5
+ export type WorkflowRequestInputRequest = Vellum.WorkflowRequestStringInputRequest | Vellum.WorkflowRequestJsonInputRequest | Vellum.WorkflowRequestChatHistoryInputRequest | Vellum.WorkflowRequestNumberInputRequest | Vellum.WorkflowRequestAudioInputRequest | Vellum.WorkflowRequestVideoInputRequest | Vellum.WorkflowRequestImageInputRequest | Vellum.WorkflowRequestDocumentInputRequest;
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vellum from "../index";
5
+ /**
6
+ * The input for a video variable in a Workflow.
7
+ */
8
+ export interface WorkflowRequestVideoInputRequest {
9
+ /** The variable's name, as defined in the Workflow. */
10
+ name: string;
11
+ type: "VIDEO";
12
+ value: Vellum.VellumVideoRequest;
13
+ }
@@ -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 });
@@ -635,11 +635,15 @@ export * from "./WorkflowPushExecConfig";
635
635
  export * from "./WorkflowPushResponse";
636
636
  export * from "./WorkflowReleaseTagRead";
637
637
  export * from "./WorkflowReleaseTagWorkflowDeploymentHistoryItem";
638
+ export * from "./WorkflowRequestAudioInputRequest";
638
639
  export * from "./WorkflowRequestChatHistoryInputRequest";
640
+ export * from "./WorkflowRequestDocumentInputRequest";
641
+ export * from "./WorkflowRequestImageInputRequest";
639
642
  export * from "./WorkflowRequestInputRequest";
640
643
  export * from "./WorkflowRequestJsonInputRequest";
641
644
  export * from "./WorkflowRequestNumberInputRequest";
642
645
  export * from "./WorkflowRequestStringInputRequest";
646
+ export * from "./WorkflowRequestVideoInputRequest";
643
647
  export * from "./WorkflowResultEvent";
644
648
  export * from "./WorkflowResultEventOutputData";
645
649
  export * from "./WorkflowResultEventOutputDataArray";
@@ -651,11 +651,15 @@ __exportStar(require("./WorkflowPushExecConfig"), exports);
651
651
  __exportStar(require("./WorkflowPushResponse"), exports);
652
652
  __exportStar(require("./WorkflowReleaseTagRead"), exports);
653
653
  __exportStar(require("./WorkflowReleaseTagWorkflowDeploymentHistoryItem"), exports);
654
+ __exportStar(require("./WorkflowRequestAudioInputRequest"), exports);
654
655
  __exportStar(require("./WorkflowRequestChatHistoryInputRequest"), exports);
656
+ __exportStar(require("./WorkflowRequestDocumentInputRequest"), exports);
657
+ __exportStar(require("./WorkflowRequestImageInputRequest"), exports);
655
658
  __exportStar(require("./WorkflowRequestInputRequest"), exports);
656
659
  __exportStar(require("./WorkflowRequestJsonInputRequest"), exports);
657
660
  __exportStar(require("./WorkflowRequestNumberInputRequest"), exports);
658
661
  __exportStar(require("./WorkflowRequestStringInputRequest"), exports);
662
+ __exportStar(require("./WorkflowRequestVideoInputRequest"), exports);
659
663
  __exportStar(require("./WorkflowResultEvent"), exports);
660
664
  __exportStar(require("./WorkflowResultEventOutputData"), exports);
661
665
  __exportStar(require("./WorkflowResultEventOutputDataArray"), exports);
@@ -0,0 +1,15 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index";
5
+ import * as Vellum from "../../api/index";
6
+ import * as core from "../../core";
7
+ import { VellumAudioRequest } from "./VellumAudioRequest";
8
+ export declare const WorkflowRequestAudioInputRequest: core.serialization.ObjectSchema<serializers.WorkflowRequestAudioInputRequest.Raw, Vellum.WorkflowRequestAudioInputRequest>;
9
+ export declare namespace WorkflowRequestAudioInputRequest {
10
+ interface Raw {
11
+ name: string;
12
+ type: "AUDIO";
13
+ value: VellumAudioRequest.Raw;
14
+ }
15
+ }
@@ -0,0 +1,46 @@
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.WorkflowRequestAudioInputRequest = void 0;
40
+ const core = __importStar(require("../../core"));
41
+ const VellumAudioRequest_1 = require("./VellumAudioRequest");
42
+ exports.WorkflowRequestAudioInputRequest = core.serialization.object({
43
+ name: core.serialization.string(),
44
+ type: core.serialization.stringLiteral("AUDIO"),
45
+ value: VellumAudioRequest_1.VellumAudioRequest,
46
+ });
@@ -0,0 +1,15 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index";
5
+ import * as Vellum from "../../api/index";
6
+ import * as core from "../../core";
7
+ import { VellumDocumentRequest } from "./VellumDocumentRequest";
8
+ export declare const WorkflowRequestDocumentInputRequest: core.serialization.ObjectSchema<serializers.WorkflowRequestDocumentInputRequest.Raw, Vellum.WorkflowRequestDocumentInputRequest>;
9
+ export declare namespace WorkflowRequestDocumentInputRequest {
10
+ interface Raw {
11
+ name: string;
12
+ type: "DOCUMENT";
13
+ value: VellumDocumentRequest.Raw;
14
+ }
15
+ }