vellum-ai 1.7.3 → 1.7.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (102) 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/integrationAuthConfigs/client/Client.js +1 -1
  10. package/api/resources/integrationProviders/client/Client.js +2 -2
  11. package/api/resources/integrations/client/Client.js +4 -4
  12. package/api/resources/metricDefinitions/client/Client.js +2 -2
  13. package/api/resources/mlModels/client/Client.js +1 -1
  14. package/api/resources/organizations/client/Client.js +1 -1
  15. package/api/resources/prompts/client/Client.js +2 -2
  16. package/api/resources/sandboxes/client/Client.js +3 -3
  17. package/api/resources/testSuiteRuns/client/Client.js +3 -3
  18. package/api/resources/testSuites/client/Client.js +4 -4
  19. package/api/resources/workflowDeployments/client/Client.d.ts +12 -0
  20. package/api/resources/workflowDeployments/client/Client.js +87 -9
  21. package/api/resources/workflowDeployments/client/requests/ListWorkflowDeploymentReleasesRequest.d.ts +21 -0
  22. package/api/resources/workflowDeployments/client/requests/ListWorkflowDeploymentReleasesRequest.js +5 -0
  23. package/api/resources/workflowDeployments/client/requests/index.d.ts +1 -0
  24. package/api/resources/workflowExecutions/client/Client.js +1 -1
  25. package/api/resources/workflowSandboxes/client/Client.js +2 -2
  26. package/api/resources/workflows/client/Client.js +4 -4
  27. package/api/resources/workspaceSecrets/client/Client.js +2 -2
  28. package/api/resources/workspaces/client/Client.js +1 -1
  29. package/api/types/PaginatedWorkflowDeploymentReleaseList.d.ts +10 -0
  30. package/api/types/PaginatedWorkflowDeploymentReleaseList.js +5 -0
  31. package/api/types/VellumErrorCodeEnum.d.ts +5 -1
  32. package/api/types/VellumErrorCodeEnum.js +2 -0
  33. package/api/types/VellumSdkErrorCodeEnum.d.ts +5 -1
  34. package/api/types/VellumSdkErrorCodeEnum.js +2 -0
  35. package/api/types/WorkflowExecutionEventErrorCode.d.ts +5 -1
  36. package/api/types/WorkflowExecutionEventErrorCode.js +2 -0
  37. package/api/types/index.d.ts +1 -0
  38. package/api/types/index.js +1 -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/integrationAuthConfigs/client/Client.js +1 -1
  48. package/dist/api/resources/integrationProviders/client/Client.js +2 -2
  49. package/dist/api/resources/integrations/client/Client.js +4 -4
  50. package/dist/api/resources/metricDefinitions/client/Client.js +2 -2
  51. package/dist/api/resources/mlModels/client/Client.js +1 -1
  52. package/dist/api/resources/organizations/client/Client.js +1 -1
  53. package/dist/api/resources/prompts/client/Client.js +2 -2
  54. package/dist/api/resources/sandboxes/client/Client.js +3 -3
  55. package/dist/api/resources/testSuiteRuns/client/Client.js +3 -3
  56. package/dist/api/resources/testSuites/client/Client.js +4 -4
  57. package/dist/api/resources/workflowDeployments/client/Client.d.ts +12 -0
  58. package/dist/api/resources/workflowDeployments/client/Client.js +87 -9
  59. package/dist/api/resources/workflowDeployments/client/requests/ListWorkflowDeploymentReleasesRequest.d.ts +21 -0
  60. package/dist/api/resources/workflowDeployments/client/requests/ListWorkflowDeploymentReleasesRequest.js +5 -0
  61. package/dist/api/resources/workflowDeployments/client/requests/index.d.ts +1 -0
  62. package/dist/api/resources/workflowExecutions/client/Client.js +1 -1
  63. package/dist/api/resources/workflowSandboxes/client/Client.js +2 -2
  64. package/dist/api/resources/workflows/client/Client.js +4 -4
  65. package/dist/api/resources/workspaceSecrets/client/Client.js +2 -2
  66. package/dist/api/resources/workspaces/client/Client.js +1 -1
  67. package/dist/api/types/PaginatedWorkflowDeploymentReleaseList.d.ts +10 -0
  68. package/dist/api/types/PaginatedWorkflowDeploymentReleaseList.js +5 -0
  69. package/dist/api/types/VellumErrorCodeEnum.d.ts +5 -1
  70. package/dist/api/types/VellumErrorCodeEnum.js +2 -0
  71. package/dist/api/types/VellumSdkErrorCodeEnum.d.ts +5 -1
  72. package/dist/api/types/VellumSdkErrorCodeEnum.js +2 -0
  73. package/dist/api/types/WorkflowExecutionEventErrorCode.d.ts +5 -1
  74. package/dist/api/types/WorkflowExecutionEventErrorCode.js +2 -0
  75. package/dist/api/types/index.d.ts +1 -0
  76. package/dist/api/types/index.js +1 -0
  77. package/dist/serialization/types/PaginatedWorkflowDeploymentReleaseList.d.ts +16 -0
  78. package/dist/serialization/types/PaginatedWorkflowDeploymentReleaseList.js +47 -0
  79. package/dist/serialization/types/VellumErrorCodeEnum.d.ts +1 -1
  80. package/dist/serialization/types/VellumErrorCodeEnum.js +2 -0
  81. package/dist/serialization/types/VellumSdkErrorCodeEnum.d.ts +1 -1
  82. package/dist/serialization/types/VellumSdkErrorCodeEnum.js +2 -0
  83. package/dist/serialization/types/WorkflowExecutionEventErrorCode.d.ts +1 -1
  84. package/dist/serialization/types/WorkflowExecutionEventErrorCode.js +2 -0
  85. package/dist/serialization/types/index.d.ts +1 -0
  86. package/dist/serialization/types/index.js +1 -0
  87. package/dist/version.d.ts +1 -1
  88. package/dist/version.js +1 -1
  89. package/package.json +1 -1
  90. package/reference.md +71 -0
  91. package/serialization/types/PaginatedWorkflowDeploymentReleaseList.d.ts +16 -0
  92. package/serialization/types/PaginatedWorkflowDeploymentReleaseList.js +47 -0
  93. package/serialization/types/VellumErrorCodeEnum.d.ts +1 -1
  94. package/serialization/types/VellumErrorCodeEnum.js +2 -0
  95. package/serialization/types/VellumSdkErrorCodeEnum.d.ts +1 -1
  96. package/serialization/types/VellumSdkErrorCodeEnum.js +2 -0
  97. package/serialization/types/WorkflowExecutionEventErrorCode.d.ts +1 -1
  98. package/serialization/types/WorkflowExecutionEventErrorCode.js +2 -0
  99. package/serialization/types/index.d.ts +1 -0
  100. package/serialization/types/index.js +1 -0
  101. package/version.d.ts +1 -1
  102. package/version.js +1 -1
@@ -81,7 +81,7 @@ class Sandboxes {
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.7.3", "User-Agent": "vellum-ai/1.7.3", "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.7.5", "User-Agent": "vellum-ai/1.7.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),
85
85
  contentType: "application/json",
86
86
  requestType: "json",
87
87
  body: serializers.DeploySandboxPromptRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -162,7 +162,7 @@ class Sandboxes {
162
162
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
163
163
  unrecognizedObjectKeys: "strip",
164
164
  })
165
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.3", "User-Agent": "vellum-ai/1.7.3", "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.7.5", "User-Agent": "vellum-ai/1.7.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
166
  contentType: "application/json",
167
167
  requestType: "json",
168
168
  body: serializers.UpsertSandboxScenarioRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -229,7 +229,7 @@ class Sandboxes {
229
229
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
230
230
  unrecognizedObjectKeys: "strip",
231
231
  })
232
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.3", "User-Agent": "vellum-ai/1.7.3", "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),
232
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.5", "User-Agent": "vellum-ai/1.7.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),
233
233
  contentType: "application/json",
234
234
  requestType: "json",
235
235
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -88,7 +88,7 @@ class TestSuiteRuns {
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.7.3", "User-Agent": "vellum-ai/1.7.3", "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.7.5", "User-Agent": "vellum-ai/1.7.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),
92
92
  contentType: "application/json",
93
93
  requestType: "json",
94
94
  body: serializers.TestSuiteRunCreateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -154,7 +154,7 @@ class TestSuiteRuns {
154
154
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
155
155
  unrecognizedObjectKeys: "strip",
156
156
  })
157
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.3", "User-Agent": "vellum-ai/1.7.3", "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),
157
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.5", "User-Agent": "vellum-ai/1.7.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),
158
158
  contentType: "application/json",
159
159
  requestType: "json",
160
160
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -234,7 +234,7 @@ class TestSuiteRuns {
234
234
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
235
235
  unrecognizedObjectKeys: "strip",
236
236
  })
237
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.3", "User-Agent": "vellum-ai/1.7.3", "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
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.5", "User-Agent": "vellum-ai/1.7.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),
238
238
  contentType: "application/json",
239
239
  queryParameters: _queryParams,
240
240
  requestType: "json",
@@ -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.7.3", "User-Agent": "vellum-ai/1.7.3", "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.7.5", "User-Agent": "vellum-ai/1.7.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),
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.7.3", "User-Agent": "vellum-ai/1.7.3", "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.7.5", "User-Agent": "vellum-ai/1.7.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),
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.7.3", "User-Agent": "vellum-ai/1.7.3", "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.7.5", "User-Agent": "vellum-ai/1.7.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),
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.7.3", "User-Agent": "vellum-ai/1.7.3", "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.7.5", "User-Agent": "vellum-ai/1.7.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),
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,
@@ -121,6 +121,18 @@ export declare class WorkflowDeployments {
121
121
  */
122
122
  updateWorkflowReleaseTag(id: string, name: string, request?: Vellum.PatchedWorkflowReleaseTagUpdateRequest, requestOptions?: WorkflowDeployments.RequestOptions): core.HttpResponsePromise<Vellum.WorkflowReleaseTagRead>;
123
123
  private __updateWorkflowReleaseTag;
124
+ /**
125
+ * List the Releases of the specified Workflow Deployment for the current Environment.
126
+ *
127
+ * @param {string} id - Either the Workflow Deployment's ID or its unique name
128
+ * @param {Vellum.ListWorkflowDeploymentReleasesRequest} request
129
+ * @param {WorkflowDeployments.RequestOptions} requestOptions - Request-specific configuration.
130
+ *
131
+ * @example
132
+ * await client.workflowDeployments.listWorkflowDeploymentReleases("id")
133
+ */
134
+ listWorkflowDeploymentReleases(id: string, request?: Vellum.ListWorkflowDeploymentReleasesRequest, requestOptions?: WorkflowDeployments.RequestOptions): core.HttpResponsePromise<Vellum.PaginatedWorkflowDeploymentReleaseList>;
135
+ private __listWorkflowDeploymentReleases;
124
136
  /**
125
137
  * Retrieve a specific Workflow Deployment Release by either its UUID or the name of a Release Tag that points to it.
126
138
  *
@@ -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.7.3", "User-Agent": "vellum-ai/1.7.3", "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.7.5", "User-Agent": "vellum-ai/1.7.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),
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.7.3", "User-Agent": "vellum-ai/1.7.3", "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.7.5", "User-Agent": "vellum-ai/1.7.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),
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,
@@ -241,7 +241,7 @@ class WorkflowDeployments {
241
241
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
242
242
  unrecognizedObjectKeys: "strip",
243
243
  })
244
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.3", "User-Agent": "vellum-ai/1.7.3", "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),
244
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.5", "User-Agent": "vellum-ai/1.7.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),
245
245
  contentType: "application/json",
246
246
  queryParameters: _queryParams,
247
247
  requestType: "json",
@@ -306,7 +306,7 @@ class WorkflowDeployments {
306
306
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
307
307
  unrecognizedObjectKeys: "strip",
308
308
  })
309
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.3", "User-Agent": "vellum-ai/1.7.3", "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),
309
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.5", "User-Agent": "vellum-ai/1.7.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),
310
310
  contentType: "application/json",
311
311
  requestType: "json",
312
312
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -373,7 +373,7 @@ class WorkflowDeployments {
373
373
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
374
374
  unrecognizedObjectKeys: "strip",
375
375
  })
376
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.3", "User-Agent": "vellum-ai/1.7.3", "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),
376
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.5", "User-Agent": "vellum-ai/1.7.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),
377
377
  contentType: "application/json",
378
378
  requestType: "json",
379
379
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -455,7 +455,7 @@ class WorkflowDeployments {
455
455
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
456
456
  unrecognizedObjectKeys: "strip",
457
457
  })
458
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.3", "User-Agent": "vellum-ai/1.7.3", "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),
458
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.5", "User-Agent": "vellum-ai/1.7.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),
459
459
  contentType: "application/json",
460
460
  queryParameters: _queryParams,
461
461
  requestType: "json",
@@ -522,7 +522,7 @@ class WorkflowDeployments {
522
522
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
523
523
  unrecognizedObjectKeys: "strip",
524
524
  })
525
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.3", "User-Agent": "vellum-ai/1.7.3", "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),
525
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.5", "User-Agent": "vellum-ai/1.7.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),
526
526
  contentType: "application/json",
527
527
  requestType: "json",
528
528
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -589,7 +589,7 @@ class WorkflowDeployments {
589
589
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
590
590
  unrecognizedObjectKeys: "strip",
591
591
  })
592
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.3", "User-Agent": "vellum-ai/1.7.3", "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),
592
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.5", "User-Agent": "vellum-ai/1.7.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),
593
593
  contentType: "application/json",
594
594
  requestType: "json",
595
595
  body: serializers.PatchedWorkflowReleaseTagUpdateRequest.jsonOrThrow(request, {
@@ -634,6 +634,84 @@ class WorkflowDeployments {
634
634
  }
635
635
  });
636
636
  }
637
+ /**
638
+ * List the Releases of the specified Workflow Deployment for the current Environment.
639
+ *
640
+ * @param {string} id - Either the Workflow Deployment's ID or its unique name
641
+ * @param {Vellum.ListWorkflowDeploymentReleasesRequest} request
642
+ * @param {WorkflowDeployments.RequestOptions} requestOptions - Request-specific configuration.
643
+ *
644
+ * @example
645
+ * await client.workflowDeployments.listWorkflowDeploymentReleases("id")
646
+ */
647
+ listWorkflowDeploymentReleases(id, request = {}, requestOptions) {
648
+ return core.HttpResponsePromise.fromPromise(this.__listWorkflowDeploymentReleases(id, request, requestOptions));
649
+ }
650
+ __listWorkflowDeploymentReleases(id_1) {
651
+ return __awaiter(this, arguments, void 0, function* (id, request = {}, requestOptions) {
652
+ var _a, _b, _c, _d;
653
+ const { limit, offset, ordering } = request;
654
+ const _queryParams = {};
655
+ if (limit !== undefined) {
656
+ _queryParams["limit"] = (_a = limit === null || limit === void 0 ? void 0 : limit.toString()) !== null && _a !== void 0 ? _a : null;
657
+ }
658
+ if (offset !== undefined) {
659
+ _queryParams["offset"] = (_b = offset === null || offset === void 0 ? void 0 : offset.toString()) !== null && _b !== void 0 ? _b : null;
660
+ }
661
+ if (ordering !== undefined) {
662
+ _queryParams["ordering"] = ordering;
663
+ }
664
+ const _response = yield core.fetcher({
665
+ 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)
666
+ .default, `v1/workflow-deployments/${encodeURIComponent(id)}/releases`),
667
+ method: "GET",
668
+ headers: Object.assign(Object.assign({ "X-API-Version": (yield core.Supplier.get(this._options.apiVersion)) != null
669
+ ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
670
+ unrecognizedObjectKeys: "strip",
671
+ })
672
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.5", "User-Agent": "vellum-ai/1.7.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),
673
+ contentType: "application/json",
674
+ queryParameters: _queryParams,
675
+ requestType: "json",
676
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
677
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
678
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
679
+ });
680
+ if (_response.ok) {
681
+ return {
682
+ data: serializers.PaginatedWorkflowDeploymentReleaseList.parseOrThrow(_response.body, {
683
+ unrecognizedObjectKeys: "passthrough",
684
+ allowUnrecognizedUnionMembers: true,
685
+ allowUnrecognizedEnumValues: true,
686
+ breadcrumbsPrefix: ["response"],
687
+ }),
688
+ rawResponse: _response.rawResponse,
689
+ };
690
+ }
691
+ if (_response.error.reason === "status-code") {
692
+ throw new errors.VellumError({
693
+ statusCode: _response.error.statusCode,
694
+ body: _response.error.body,
695
+ rawResponse: _response.rawResponse,
696
+ });
697
+ }
698
+ switch (_response.error.reason) {
699
+ case "non-json":
700
+ throw new errors.VellumError({
701
+ statusCode: _response.error.statusCode,
702
+ body: _response.error.rawBody,
703
+ rawResponse: _response.rawResponse,
704
+ });
705
+ case "timeout":
706
+ throw new errors.VellumTimeoutError("Timeout exceeded when calling GET /v1/workflow-deployments/{id}/releases.");
707
+ case "unknown":
708
+ throw new errors.VellumError({
709
+ message: _response.error.errorMessage,
710
+ rawResponse: _response.rawResponse,
711
+ });
712
+ }
713
+ });
714
+ }
637
715
  /**
638
716
  * Retrieve a specific Workflow Deployment Release by either its UUID or the name of a Release Tag that points to it.
639
717
  *
@@ -658,7 +736,7 @@ class WorkflowDeployments {
658
736
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
659
737
  unrecognizedObjectKeys: "strip",
660
738
  })
661
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.3", "User-Agent": "vellum-ai/1.7.3", "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),
739
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.5", "User-Agent": "vellum-ai/1.7.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),
662
740
  contentType: "application/json",
663
741
  requestType: "json",
664
742
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -0,0 +1,21 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * @example
6
+ * {}
7
+ */
8
+ export interface ListWorkflowDeploymentReleasesRequest {
9
+ /**
10
+ * Number of results to return per page.
11
+ */
12
+ limit?: number | null;
13
+ /**
14
+ * The initial index from which to return the results.
15
+ */
16
+ offset?: number | null;
17
+ /**
18
+ * Which field to use when ordering the results.
19
+ */
20
+ ordering?: string | null;
21
+ }
@@ -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,3 +2,4 @@ export { type WorkflowDeploymentsListRequest } from "./WorkflowDeploymentsListRe
2
2
  export { type ListWorkflowDeploymentEventExecutionsRequest } from "./ListWorkflowDeploymentEventExecutionsRequest";
3
3
  export { type ListWorkflowReleaseTagsRequest } from "./ListWorkflowReleaseTagsRequest";
4
4
  export { type PatchedWorkflowReleaseTagUpdateRequest } from "./PatchedWorkflowReleaseTagUpdateRequest";
5
+ export { type ListWorkflowDeploymentReleasesRequest } from "./ListWorkflowDeploymentReleasesRequest";
@@ -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.7.3", "User-Agent": "vellum-ai/1.7.3", "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.7.5", "User-Agent": "vellum-ai/1.7.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),
92
92
  contentType: "application/json",
93
93
  queryParameters: _queryParams,
94
94
  requestType: "json",
@@ -80,7 +80,7 @@ class WorkflowSandboxes {
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.7.3", "User-Agent": "vellum-ai/1.7.3", "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.7.5", "User-Agent": "vellum-ai/1.7.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
84
  contentType: "application/json",
85
85
  requestType: "json",
86
86
  body: serializers.DeploySandboxWorkflowRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -162,7 +162,7 @@ class WorkflowSandboxes {
162
162
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
163
163
  unrecognizedObjectKeys: "strip",
164
164
  })
165
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.3", "User-Agent": "vellum-ai/1.7.3", "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.7.5", "User-Agent": "vellum-ai/1.7.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
166
  contentType: "application/json",
167
167
  queryParameters: _queryParams,
168
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.7.3", "User-Agent": "vellum-ai/1.7.3", "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.7.5", "User-Agent": "vellum-ai/1.7.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),
104
104
  contentType: "application/json",
105
105
  queryParameters: _queryParams,
106
106
  requestType: "json",
@@ -166,7 +166,7 @@ class Workflows {
166
166
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
167
167
  unrecognizedObjectKeys: "strip",
168
168
  })
169
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.3", "User-Agent": "vellum-ai/1.7.3", "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),
169
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.5", "User-Agent": "vellum-ai/1.7.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),
170
170
  contentType: "application/json",
171
171
  requestType: "json",
172
172
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -247,7 +247,7 @@ class Workflows {
247
247
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
248
248
  unrecognizedObjectKeys: "strip",
249
249
  })
250
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.3", "User-Agent": "vellum-ai/1.7.3", "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),
250
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.5", "User-Agent": "vellum-ai/1.7.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),
251
251
  requestType: "file",
252
252
  duplex: _maybeEncodedRequest.duplex,
253
253
  body: _maybeEncodedRequest.body,
@@ -319,7 +319,7 @@ class Workflows {
319
319
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
320
320
  unrecognizedObjectKeys: "strip",
321
321
  })
322
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.3", "User-Agent": "vellum-ai/1.7.3", "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
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.5", "User-Agent": "vellum-ai/1.7.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),
323
323
  contentType: "application/json",
324
324
  requestType: "json",
325
325
  body: serializers.SerializeWorkflowFilesRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -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.7.3", "User-Agent": "vellum-ai/1.7.3", "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.7.5", "User-Agent": "vellum-ai/1.7.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),
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.7.3", "User-Agent": "vellum-ai/1.7.3", "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.7.5", "User-Agent": "vellum-ai/1.7.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),
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.7.3", "User-Agent": "vellum-ai/1.7.3", "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.7.5", "User-Agent": "vellum-ai/1.7.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
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,
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vellum from "../index";
5
+ export interface PaginatedWorkflowDeploymentReleaseList {
6
+ count?: number;
7
+ next?: string | null;
8
+ previous?: string | null;
9
+ results?: Vellum.WorkflowDeploymentRelease[];
10
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -6,19 +6,23 @@
6
6
  * * `INVALID_INPUTS` - INVALID_INPUTS
7
7
  * * `PROVIDER_ERROR` - PROVIDER_ERROR
8
8
  * * `PROVIDER_CREDENTIALS_UNAVAILABLE` - PROVIDER_CREDENTIALS_UNAVAILABLE
9
+ * * `INTEGRATION_CREDENTIALS_UNAVAILABLE` - INTEGRATION_CREDENTIALS_UNAVAILABLE
9
10
  * * `REQUEST_TIMEOUT` - REQUEST_TIMEOUT
10
11
  * * `INTERNAL_SERVER_ERROR` - INTERNAL_SERVER_ERROR
11
12
  * * `USER_DEFINED_ERROR` - USER_DEFINED_ERROR
12
13
  * * `WORKFLOW_CANCELLED` - WORKFLOW_CANCELLED
14
+ * * `NODE_CANCELLED` - NODE_CANCELLED
13
15
  */
14
- export type VellumErrorCodeEnum = "INVALID_REQUEST" | "INVALID_INPUTS" | "PROVIDER_ERROR" | "PROVIDER_CREDENTIALS_UNAVAILABLE" | "REQUEST_TIMEOUT" | "INTERNAL_SERVER_ERROR" | "USER_DEFINED_ERROR" | "WORKFLOW_CANCELLED";
16
+ export type VellumErrorCodeEnum = "INVALID_REQUEST" | "INVALID_INPUTS" | "PROVIDER_ERROR" | "PROVIDER_CREDENTIALS_UNAVAILABLE" | "INTEGRATION_CREDENTIALS_UNAVAILABLE" | "REQUEST_TIMEOUT" | "INTERNAL_SERVER_ERROR" | "USER_DEFINED_ERROR" | "WORKFLOW_CANCELLED" | "NODE_CANCELLED";
15
17
  export declare const VellumErrorCodeEnum: {
16
18
  readonly InvalidRequest: "INVALID_REQUEST";
17
19
  readonly InvalidInputs: "INVALID_INPUTS";
18
20
  readonly ProviderError: "PROVIDER_ERROR";
19
21
  readonly ProviderCredentialsUnavailable: "PROVIDER_CREDENTIALS_UNAVAILABLE";
22
+ readonly IntegrationCredentialsUnavailable: "INTEGRATION_CREDENTIALS_UNAVAILABLE";
20
23
  readonly RequestTimeout: "REQUEST_TIMEOUT";
21
24
  readonly InternalServerError: "INTERNAL_SERVER_ERROR";
22
25
  readonly UserDefinedError: "USER_DEFINED_ERROR";
23
26
  readonly WorkflowCancelled: "WORKFLOW_CANCELLED";
27
+ readonly NodeCancelled: "NODE_CANCELLED";
24
28
  };
@@ -9,8 +9,10 @@ exports.VellumErrorCodeEnum = {
9
9
  InvalidInputs: "INVALID_INPUTS",
10
10
  ProviderError: "PROVIDER_ERROR",
11
11
  ProviderCredentialsUnavailable: "PROVIDER_CREDENTIALS_UNAVAILABLE",
12
+ IntegrationCredentialsUnavailable: "INTEGRATION_CREDENTIALS_UNAVAILABLE",
12
13
  RequestTimeout: "REQUEST_TIMEOUT",
13
14
  InternalServerError: "INTERNAL_SERVER_ERROR",
14
15
  UserDefinedError: "USER_DEFINED_ERROR",
15
16
  WorkflowCancelled: "WORKFLOW_CANCELLED",
17
+ NodeCancelled: "NODE_CANCELLED",
16
18
  };
@@ -10,12 +10,14 @@
10
10
  * * `INVALID_TEMPLATE` - INVALID_TEMPLATE
11
11
  * * `INTERNAL_ERROR` - INTERNAL_ERROR
12
12
  * * `PROVIDER_CREDENTIALS_UNAVAILABLE` - PROVIDER_CREDENTIALS_UNAVAILABLE
13
+ * * `INTEGRATION_CREDENTIALS_UNAVAILABLE` - INTEGRATION_CREDENTIALS_UNAVAILABLE
13
14
  * * `PROVIDER_ERROR` - PROVIDER_ERROR
14
15
  * * `USER_DEFINED_ERROR` - USER_DEFINED_ERROR
15
16
  * * `WORKFLOW_CANCELLED` - WORKFLOW_CANCELLED
17
+ * * `NODE_CANCELLED` - NODE_CANCELLED
16
18
  * * `NODE_EXECUTION` - NODE_EXECUTION
17
19
  */
18
- export type VellumSdkErrorCodeEnum = "INVALID_WORKFLOW" | "INVALID_INPUTS" | "INVALID_OUTPUTS" | "INVALID_STATE" | "INVALID_CODE" | "INVALID_TEMPLATE" | "INTERNAL_ERROR" | "PROVIDER_CREDENTIALS_UNAVAILABLE" | "PROVIDER_ERROR" | "USER_DEFINED_ERROR" | "WORKFLOW_CANCELLED" | "NODE_EXECUTION";
20
+ export type VellumSdkErrorCodeEnum = "INVALID_WORKFLOW" | "INVALID_INPUTS" | "INVALID_OUTPUTS" | "INVALID_STATE" | "INVALID_CODE" | "INVALID_TEMPLATE" | "INTERNAL_ERROR" | "PROVIDER_CREDENTIALS_UNAVAILABLE" | "INTEGRATION_CREDENTIALS_UNAVAILABLE" | "PROVIDER_ERROR" | "USER_DEFINED_ERROR" | "WORKFLOW_CANCELLED" | "NODE_CANCELLED" | "NODE_EXECUTION";
19
21
  export declare const VellumSdkErrorCodeEnum: {
20
22
  readonly InvalidWorkflow: "INVALID_WORKFLOW";
21
23
  readonly InvalidInputs: "INVALID_INPUTS";
@@ -25,8 +27,10 @@ export declare const VellumSdkErrorCodeEnum: {
25
27
  readonly InvalidTemplate: "INVALID_TEMPLATE";
26
28
  readonly InternalError: "INTERNAL_ERROR";
27
29
  readonly ProviderCredentialsUnavailable: "PROVIDER_CREDENTIALS_UNAVAILABLE";
30
+ readonly IntegrationCredentialsUnavailable: "INTEGRATION_CREDENTIALS_UNAVAILABLE";
28
31
  readonly ProviderError: "PROVIDER_ERROR";
29
32
  readonly UserDefinedError: "USER_DEFINED_ERROR";
30
33
  readonly WorkflowCancelled: "WORKFLOW_CANCELLED";
34
+ readonly NodeCancelled: "NODE_CANCELLED";
31
35
  readonly NodeExecution: "NODE_EXECUTION";
32
36
  };
@@ -13,8 +13,10 @@ exports.VellumSdkErrorCodeEnum = {
13
13
  InvalidTemplate: "INVALID_TEMPLATE",
14
14
  InternalError: "INTERNAL_ERROR",
15
15
  ProviderCredentialsUnavailable: "PROVIDER_CREDENTIALS_UNAVAILABLE",
16
+ IntegrationCredentialsUnavailable: "INTEGRATION_CREDENTIALS_UNAVAILABLE",
16
17
  ProviderError: "PROVIDER_ERROR",
17
18
  UserDefinedError: "USER_DEFINED_ERROR",
18
19
  WorkflowCancelled: "WORKFLOW_CANCELLED",
20
+ NodeCancelled: "NODE_CANCELLED",
19
21
  NodeExecution: "NODE_EXECUTION",
20
22
  };
@@ -5,22 +5,26 @@
5
5
  * * `WORKFLOW_INITIALIZATION` - WORKFLOW_INITIALIZATION
6
6
  * * `WORKFLOW_CANCELLED` - WORKFLOW_CANCELLED
7
7
  * * `PROVIDER_CREDENTIALS_UNAVAILABLE` - PROVIDER_CREDENTIALS_UNAVAILABLE
8
+ * * `INTEGRATION_CREDENTIALS_UNAVAILABLE` - INTEGRATION_CREDENTIALS_UNAVAILABLE
8
9
  * * `NODE_EXECUTION_COUNT_LIMIT_REACHED` - NODE_EXECUTION_COUNT_LIMIT_REACHED
9
10
  * * `INTERNAL_SERVER_ERROR` - INTERNAL_SERVER_ERROR
10
11
  * * `NODE_EXECUTION` - NODE_EXECUTION
12
+ * * `NODE_CANCELLED` - NODE_CANCELLED
11
13
  * * `LLM_PROVIDER` - LLM_PROVIDER
12
14
  * * `INVALID_TEMPLATE` - INVALID_TEMPLATE
13
15
  * * `INVALID_INPUTS` - INVALID_INPUTS
14
16
  * * `USER_DEFINED_ERROR` - USER_DEFINED_ERROR
15
17
  */
16
- export type WorkflowExecutionEventErrorCode = "WORKFLOW_INITIALIZATION" | "WORKFLOW_CANCELLED" | "PROVIDER_CREDENTIALS_UNAVAILABLE" | "NODE_EXECUTION_COUNT_LIMIT_REACHED" | "INTERNAL_SERVER_ERROR" | "NODE_EXECUTION" | "LLM_PROVIDER" | "INVALID_TEMPLATE" | "INVALID_INPUTS" | "USER_DEFINED_ERROR";
18
+ export type WorkflowExecutionEventErrorCode = "WORKFLOW_INITIALIZATION" | "WORKFLOW_CANCELLED" | "PROVIDER_CREDENTIALS_UNAVAILABLE" | "INTEGRATION_CREDENTIALS_UNAVAILABLE" | "NODE_EXECUTION_COUNT_LIMIT_REACHED" | "INTERNAL_SERVER_ERROR" | "NODE_EXECUTION" | "NODE_CANCELLED" | "LLM_PROVIDER" | "INVALID_TEMPLATE" | "INVALID_INPUTS" | "USER_DEFINED_ERROR";
17
19
  export declare const WorkflowExecutionEventErrorCode: {
18
20
  readonly WorkflowInitialization: "WORKFLOW_INITIALIZATION";
19
21
  readonly WorkflowCancelled: "WORKFLOW_CANCELLED";
20
22
  readonly ProviderCredentialsUnavailable: "PROVIDER_CREDENTIALS_UNAVAILABLE";
23
+ readonly IntegrationCredentialsUnavailable: "INTEGRATION_CREDENTIALS_UNAVAILABLE";
21
24
  readonly NodeExecutionCountLimitReached: "NODE_EXECUTION_COUNT_LIMIT_REACHED";
22
25
  readonly InternalServerError: "INTERNAL_SERVER_ERROR";
23
26
  readonly NodeExecution: "NODE_EXECUTION";
27
+ readonly NodeCancelled: "NODE_CANCELLED";
24
28
  readonly LlmProvider: "LLM_PROVIDER";
25
29
  readonly InvalidTemplate: "INVALID_TEMPLATE";
26
30
  readonly InvalidInputs: "INVALID_INPUTS";
@@ -8,9 +8,11 @@ exports.WorkflowExecutionEventErrorCode = {
8
8
  WorkflowInitialization: "WORKFLOW_INITIALIZATION",
9
9
  WorkflowCancelled: "WORKFLOW_CANCELLED",
10
10
  ProviderCredentialsUnavailable: "PROVIDER_CREDENTIALS_UNAVAILABLE",
11
+ IntegrationCredentialsUnavailable: "INTEGRATION_CREDENTIALS_UNAVAILABLE",
11
12
  NodeExecutionCountLimitReached: "NODE_EXECUTION_COUNT_LIMIT_REACHED",
12
13
  InternalServerError: "INTERNAL_SERVER_ERROR",
13
14
  NodeExecution: "NODE_EXECUTION",
15
+ NodeCancelled: "NODE_CANCELLED",
14
16
  LlmProvider: "LLM_PROVIDER",
15
17
  InvalidTemplate: "INVALID_TEMPLATE",
16
18
  InvalidInputs: "INVALID_INPUTS",
@@ -340,6 +340,7 @@ export * from "./PaginatedSlimToolDefinitionList";
340
340
  export * from "./PaginatedSlimWorkflowDeploymentList";
341
341
  export * from "./PaginatedTestSuiteRunExecutionList";
342
342
  export * from "./PaginatedTestSuiteTestCaseList";
343
+ export * from "./PaginatedWorkflowDeploymentReleaseList";
343
344
  export * from "./PaginatedWorkflowReleaseTagReadList";
344
345
  export * from "./PaginatedWorkflowSandboxExampleList";
345
346
  export * from "./ParentContext";
@@ -356,6 +356,7 @@ __exportStar(require("./PaginatedSlimToolDefinitionList"), exports);
356
356
  __exportStar(require("./PaginatedSlimWorkflowDeploymentList"), exports);
357
357
  __exportStar(require("./PaginatedTestSuiteRunExecutionList"), exports);
358
358
  __exportStar(require("./PaginatedTestSuiteTestCaseList"), exports);
359
+ __exportStar(require("./PaginatedWorkflowDeploymentReleaseList"), exports);
359
360
  __exportStar(require("./PaginatedWorkflowReleaseTagReadList"), exports);
360
361
  __exportStar(require("./PaginatedWorkflowSandboxExampleList"), exports);
361
362
  __exportStar(require("./ParentContext"), exports);