vellum-ai 1.4.1 → 1.5.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 (142) hide show
  1. package/Client.d.ts +3 -0
  2. package/Client.js +56 -51
  3. package/api/resources/adHoc/client/Client.js +2 -2
  4. package/api/resources/containerImages/client/Client.js +4 -4
  5. package/api/resources/deployments/client/Client.js +8 -8
  6. package/api/resources/documentIndexes/client/Client.js +8 -8
  7. package/api/resources/documents/client/Client.js +5 -5
  8. package/api/resources/events/client/Client.js +1 -1
  9. package/api/resources/folderEntities/client/Client.js +2 -2
  10. package/api/resources/index.d.ts +1 -0
  11. package/api/resources/index.js +2 -1
  12. package/api/resources/integrations/client/Client.d.ts +67 -0
  13. package/api/resources/integrations/client/Client.js +217 -0
  14. package/api/resources/integrations/client/index.d.ts +1 -0
  15. package/api/resources/integrations/client/index.js +2 -0
  16. package/api/resources/integrations/index.d.ts +1 -0
  17. package/api/resources/integrations/index.js +17 -0
  18. package/api/resources/metricDefinitions/client/Client.js +2 -2
  19. package/api/resources/mlModels/client/Client.js +1 -1
  20. package/api/resources/organizations/client/Client.js +1 -1
  21. package/api/resources/prompts/client/Client.js +2 -2
  22. package/api/resources/sandboxes/client/Client.js +3 -3
  23. package/api/resources/testSuiteRuns/client/Client.js +3 -3
  24. package/api/resources/testSuites/client/Client.js +4 -4
  25. package/api/resources/workflowDeployments/client/Client.js +9 -9
  26. package/api/resources/workflowExecutions/client/Client.js +1 -1
  27. package/api/resources/workflowSandboxes/client/Client.js +2 -2
  28. package/api/resources/workflows/client/Client.js +3 -3
  29. package/api/resources/workspaceSecrets/client/Client.js +2 -2
  30. package/api/resources/workspaces/client/Client.js +1 -1
  31. package/api/types/ComponentsSchemasComposioExecuteToolRequest.d.ts +5 -0
  32. package/api/types/ComponentsSchemasComposioExecuteToolRequest.js +5 -0
  33. package/api/types/ComponentsSchemasComposioExecuteToolResponse.d.ts +5 -0
  34. package/api/types/ComponentsSchemasComposioExecuteToolResponse.js +5 -0
  35. package/api/types/ComponentsSchemasComposioToolDefinition.d.ts +5 -0
  36. package/api/types/ComponentsSchemasComposioToolDefinition.js +5 -0
  37. package/api/types/ComposioExecuteToolRequest.d.ts +10 -0
  38. package/api/types/ComposioExecuteToolRequest.js +5 -0
  39. package/api/types/ComposioExecuteToolResponse.d.ts +10 -0
  40. package/api/types/ComposioExecuteToolResponse.js +5 -0
  41. package/api/types/ComposioToolDefinition.d.ts +12 -0
  42. package/api/types/ComposioToolDefinition.js +5 -0
  43. package/api/types/VellumErrorCodeEnum.d.ts +5 -1
  44. package/api/types/VellumErrorCodeEnum.js +2 -0
  45. package/api/types/VellumSdkError.d.ts +1 -0
  46. package/api/types/WorkflowEventError.d.ts +1 -0
  47. package/api/types/index.d.ts +6 -0
  48. package/api/types/index.js +6 -0
  49. package/dist/Client.d.ts +3 -0
  50. package/dist/Client.js +56 -51
  51. package/dist/api/resources/adHoc/client/Client.js +2 -2
  52. package/dist/api/resources/containerImages/client/Client.js +4 -4
  53. package/dist/api/resources/deployments/client/Client.js +8 -8
  54. package/dist/api/resources/documentIndexes/client/Client.js +8 -8
  55. package/dist/api/resources/documents/client/Client.js +5 -5
  56. package/dist/api/resources/events/client/Client.js +1 -1
  57. package/dist/api/resources/folderEntities/client/Client.js +2 -2
  58. package/dist/api/resources/index.d.ts +1 -0
  59. package/dist/api/resources/index.js +2 -1
  60. package/dist/api/resources/integrations/client/Client.d.ts +67 -0
  61. package/dist/api/resources/integrations/client/Client.js +217 -0
  62. package/dist/api/resources/integrations/client/index.d.ts +1 -0
  63. package/dist/api/resources/integrations/client/index.js +2 -0
  64. package/dist/api/resources/integrations/index.d.ts +1 -0
  65. package/dist/api/resources/integrations/index.js +17 -0
  66. package/dist/api/resources/metricDefinitions/client/Client.js +2 -2
  67. package/dist/api/resources/mlModels/client/Client.js +1 -1
  68. package/dist/api/resources/organizations/client/Client.js +1 -1
  69. package/dist/api/resources/prompts/client/Client.js +2 -2
  70. package/dist/api/resources/sandboxes/client/Client.js +3 -3
  71. package/dist/api/resources/testSuiteRuns/client/Client.js +3 -3
  72. package/dist/api/resources/testSuites/client/Client.js +4 -4
  73. package/dist/api/resources/workflowDeployments/client/Client.js +9 -9
  74. package/dist/api/resources/workflowExecutions/client/Client.js +1 -1
  75. package/dist/api/resources/workflowSandboxes/client/Client.js +2 -2
  76. package/dist/api/resources/workflows/client/Client.js +3 -3
  77. package/dist/api/resources/workspaceSecrets/client/Client.js +2 -2
  78. package/dist/api/resources/workspaces/client/Client.js +1 -1
  79. package/dist/api/types/ComponentsSchemasComposioExecuteToolRequest.d.ts +5 -0
  80. package/dist/api/types/ComponentsSchemasComposioExecuteToolRequest.js +5 -0
  81. package/dist/api/types/ComponentsSchemasComposioExecuteToolResponse.d.ts +5 -0
  82. package/dist/api/types/ComponentsSchemasComposioExecuteToolResponse.js +5 -0
  83. package/dist/api/types/ComponentsSchemasComposioToolDefinition.d.ts +5 -0
  84. package/dist/api/types/ComponentsSchemasComposioToolDefinition.js +5 -0
  85. package/dist/api/types/ComposioExecuteToolRequest.d.ts +10 -0
  86. package/dist/api/types/ComposioExecuteToolRequest.js +5 -0
  87. package/dist/api/types/ComposioExecuteToolResponse.d.ts +10 -0
  88. package/dist/api/types/ComposioExecuteToolResponse.js +5 -0
  89. package/dist/api/types/ComposioToolDefinition.d.ts +12 -0
  90. package/dist/api/types/ComposioToolDefinition.js +5 -0
  91. package/dist/api/types/VellumErrorCodeEnum.d.ts +5 -1
  92. package/dist/api/types/VellumErrorCodeEnum.js +2 -0
  93. package/dist/api/types/VellumSdkError.d.ts +1 -0
  94. package/dist/api/types/WorkflowEventError.d.ts +1 -0
  95. package/dist/api/types/index.d.ts +6 -0
  96. package/dist/api/types/index.js +6 -0
  97. package/dist/serialization/types/ComponentsSchemasComposioExecuteToolRequest.d.ts +11 -0
  98. package/dist/serialization/types/ComponentsSchemasComposioExecuteToolRequest.js +8 -0
  99. package/dist/serialization/types/ComponentsSchemasComposioExecuteToolResponse.d.ts +11 -0
  100. package/dist/serialization/types/ComponentsSchemasComposioExecuteToolResponse.js +8 -0
  101. package/dist/serialization/types/ComponentsSchemasComposioToolDefinition.d.ts +11 -0
  102. package/dist/serialization/types/ComponentsSchemasComposioToolDefinition.js +8 -0
  103. package/dist/serialization/types/ComposioExecuteToolRequest.d.ts +13 -0
  104. package/dist/serialization/types/ComposioExecuteToolRequest.js +44 -0
  105. package/dist/serialization/types/ComposioExecuteToolResponse.d.ts +13 -0
  106. package/dist/serialization/types/ComposioExecuteToolResponse.js +44 -0
  107. package/dist/serialization/types/ComposioToolDefinition.d.ts +15 -0
  108. package/dist/serialization/types/ComposioToolDefinition.js +46 -0
  109. package/dist/serialization/types/VellumErrorCodeEnum.d.ts +1 -1
  110. package/dist/serialization/types/VellumErrorCodeEnum.js +2 -0
  111. package/dist/serialization/types/VellumSdkError.d.ts +1 -0
  112. package/dist/serialization/types/VellumSdkError.js +1 -0
  113. package/dist/serialization/types/WorkflowEventError.d.ts +1 -0
  114. package/dist/serialization/types/WorkflowEventError.js +1 -0
  115. package/dist/serialization/types/index.d.ts +6 -0
  116. package/dist/serialization/types/index.js +6 -0
  117. package/dist/version.d.ts +1 -1
  118. package/dist/version.js +1 -1
  119. package/package.json +1 -1
  120. package/reference.md +145 -0
  121. package/serialization/types/ComponentsSchemasComposioExecuteToolRequest.d.ts +11 -0
  122. package/serialization/types/ComponentsSchemasComposioExecuteToolRequest.js +8 -0
  123. package/serialization/types/ComponentsSchemasComposioExecuteToolResponse.d.ts +11 -0
  124. package/serialization/types/ComponentsSchemasComposioExecuteToolResponse.js +8 -0
  125. package/serialization/types/ComponentsSchemasComposioToolDefinition.d.ts +11 -0
  126. package/serialization/types/ComponentsSchemasComposioToolDefinition.js +8 -0
  127. package/serialization/types/ComposioExecuteToolRequest.d.ts +13 -0
  128. package/serialization/types/ComposioExecuteToolRequest.js +44 -0
  129. package/serialization/types/ComposioExecuteToolResponse.d.ts +13 -0
  130. package/serialization/types/ComposioExecuteToolResponse.js +44 -0
  131. package/serialization/types/ComposioToolDefinition.d.ts +15 -0
  132. package/serialization/types/ComposioToolDefinition.js +46 -0
  133. package/serialization/types/VellumErrorCodeEnum.d.ts +1 -1
  134. package/serialization/types/VellumErrorCodeEnum.js +2 -0
  135. package/serialization/types/VellumSdkError.d.ts +1 -0
  136. package/serialization/types/VellumSdkError.js +1 -0
  137. package/serialization/types/WorkflowEventError.d.ts +1 -0
  138. package/serialization/types/WorkflowEventError.js +1 -0
  139. package/serialization/types/index.d.ts +6 -0
  140. package/serialization/types/index.js +6 -0
  141. package/version.d.ts +1 -1
  142. package/version.js +1 -1
@@ -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.4.1", "User-Agent": "vellum-ai/1.4.1", "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.5.0", "User-Agent": "vellum-ai/1.5.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.4.1", "User-Agent": "vellum-ai/1.4.1", "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.5.0", "User-Agent": "vellum-ai/1.5.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.4.1", "User-Agent": "vellum-ai/1.4.1", "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.5.0", "User-Agent": "vellum-ai/1.5.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.4.1", "User-Agent": "vellum-ai/1.4.1", "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.5.0", "User-Agent": "vellum-ai/1.5.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.4.1", "User-Agent": "vellum-ai/1.4.1", "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.5.0", "User-Agent": "vellum-ai/1.5.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.4.1", "User-Agent": "vellum-ai/1.4.1", "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.5.0", "User-Agent": "vellum-ai/1.5.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.4.1", "User-Agent": "vellum-ai/1.4.1", "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.5.0", "User-Agent": "vellum-ai/1.5.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.4.1", "User-Agent": "vellum-ai/1.4.1", "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.5.0", "User-Agent": "vellum-ai/1.5.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.4.1", "User-Agent": "vellum-ai/1.4.1", "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.5.0", "User-Agent": "vellum-ai/1.5.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.4.1", "User-Agent": "vellum-ai/1.4.1", "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.5.0", "User-Agent": "vellum-ai/1.5.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",
@@ -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.4.1", "User-Agent": "vellum-ai/1.4.1", "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.5.0", "User-Agent": "vellum-ai/1.5.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
  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.4.1", "User-Agent": "vellum-ai/1.4.1", "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.5.0", "User-Agent": "vellum-ai/1.5.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),
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.4.1", "User-Agent": "vellum-ai/1.4.1", "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.5.0", "User-Agent": "vellum-ai/1.5.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.4.1", "User-Agent": "vellum-ai/1.4.1", "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.5.0", "User-Agent": "vellum-ai/1.5.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,
@@ -252,7 +252,7 @@ class Workflows {
252
252
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
253
253
  unrecognizedObjectKeys: "strip",
254
254
  })
255
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.4.1", "User-Agent": "vellum-ai/1.4.1", "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),
255
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.5.0", "User-Agent": "vellum-ai/1.5.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),
256
256
  contentType: "application/json",
257
257
  requestType: "json",
258
258
  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.4.1", "User-Agent": "vellum-ai/1.4.1", "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.5.0", "User-Agent": "vellum-ai/1.5.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.4.1", "User-Agent": "vellum-ai/1.4.1", "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.5.0", "User-Agent": "vellum-ai/1.5.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.4.1", "User-Agent": "vellum-ai/1.4.1", "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.5.0", "User-Agent": "vellum-ai/1.5.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,
@@ -0,0 +1,5 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vellum from "../index";
5
+ export type ComponentsSchemasComposioExecuteToolRequest = Vellum.ComposioExecuteToolRequest;
@@ -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,5 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vellum from "../index";
5
+ export type ComponentsSchemasComposioExecuteToolResponse = Vellum.ComposioExecuteToolResponse;
@@ -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,5 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vellum from "../index";
5
+ export type ComponentsSchemasComposioToolDefinition = Vellum.ComposioToolDefinition;
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * Payload for executing a Composio tool with provider id and tool arguments.
6
+ */
7
+ export interface ComposioExecuteToolRequest {
8
+ provider: "COMPOSIO";
9
+ arguments: Record<string, unknown>;
10
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * Response payload with provider id and execution output from a Composio tool.
6
+ */
7
+ export interface ComposioExecuteToolResponse {
8
+ provider: "COMPOSIO";
9
+ data: Record<string, unknown>;
10
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * Serializer for Composio tool definition response.
6
+ */
7
+ export interface ComposioToolDefinition {
8
+ provider: "COMPOSIO";
9
+ name: string;
10
+ description: string;
11
+ parameters: Record<string, unknown>;
12
+ }
@@ -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 });
@@ -5,16 +5,20 @@
5
5
  * * `INVALID_REQUEST` - INVALID_REQUEST
6
6
  * * `INVALID_INPUTS` - INVALID_INPUTS
7
7
  * * `PROVIDER_ERROR` - PROVIDER_ERROR
8
+ * * `PROVIDER_CREDENTIALS_AVAILABLE` - PROVIDER_CREDENTIALS_UNAVAILABLE
8
9
  * * `REQUEST_TIMEOUT` - REQUEST_TIMEOUT
9
10
  * * `INTERNAL_SERVER_ERROR` - INTERNAL_SERVER_ERROR
10
11
  * * `USER_DEFINED_ERROR` - USER_DEFINED_ERROR
12
+ * * `WORKFLOW_CANCELLED` - WORKFLOW_CANCELLED
11
13
  */
12
- export type VellumErrorCodeEnum = "INVALID_REQUEST" | "INVALID_INPUTS" | "PROVIDER_ERROR" | "REQUEST_TIMEOUT" | "INTERNAL_SERVER_ERROR" | "USER_DEFINED_ERROR";
14
+ export type VellumErrorCodeEnum = "INVALID_REQUEST" | "INVALID_INPUTS" | "PROVIDER_ERROR" | "PROVIDER_CREDENTIALS_AVAILABLE" | "REQUEST_TIMEOUT" | "INTERNAL_SERVER_ERROR" | "USER_DEFINED_ERROR" | "WORKFLOW_CANCELLED";
13
15
  export declare const VellumErrorCodeEnum: {
14
16
  readonly InvalidRequest: "INVALID_REQUEST";
15
17
  readonly InvalidInputs: "INVALID_INPUTS";
16
18
  readonly ProviderError: "PROVIDER_ERROR";
19
+ readonly ProviderCredentialsAvailable: "PROVIDER_CREDENTIALS_AVAILABLE";
17
20
  readonly RequestTimeout: "REQUEST_TIMEOUT";
18
21
  readonly InternalServerError: "INTERNAL_SERVER_ERROR";
19
22
  readonly UserDefinedError: "USER_DEFINED_ERROR";
23
+ readonly WorkflowCancelled: "WORKFLOW_CANCELLED";
20
24
  };
@@ -8,7 +8,9 @@ exports.VellumErrorCodeEnum = {
8
8
  InvalidRequest: "INVALID_REQUEST",
9
9
  InvalidInputs: "INVALID_INPUTS",
10
10
  ProviderError: "PROVIDER_ERROR",
11
+ ProviderCredentialsAvailable: "PROVIDER_CREDENTIALS_AVAILABLE",
11
12
  RequestTimeout: "REQUEST_TIMEOUT",
12
13
  InternalServerError: "INTERNAL_SERVER_ERROR",
13
14
  UserDefinedError: "USER_DEFINED_ERROR",
15
+ WorkflowCancelled: "WORKFLOW_CANCELLED",
14
16
  };
@@ -5,4 +5,5 @@ import * as Vellum from "../index";
5
5
  export interface VellumSdkError {
6
6
  message: string;
7
7
  code: Vellum.VellumSdkErrorCodeEnum;
8
+ rawData?: Record<string, unknown> | null;
8
9
  }
@@ -5,5 +5,6 @@ import * as Vellum from "../index";
5
5
  export interface WorkflowEventError {
6
6
  message: string;
7
7
  code: Vellum.WorkflowExecutionEventErrorCode;
8
+ rawData?: Record<string, unknown> | null;
8
9
  stacktrace?: string | null;
9
10
  }
@@ -63,6 +63,9 @@ export * from "./CodeExecutorSecretInput";
63
63
  export * from "./CodeResourceDefinition";
64
64
  export * from "./CompilePromptDeploymentExpandMetaRequest";
65
65
  export * from "./CompilePromptMeta";
66
+ export * from "./ComposioExecuteToolRequest";
67
+ export * from "./ComposioExecuteToolResponse";
68
+ export * from "./ComposioToolDefinition";
66
69
  export * from "./ConditionCombinator";
67
70
  export * from "./ConditionalNodeResult";
68
71
  export * from "./ConditionalNodeResultData";
@@ -114,6 +117,8 @@ export * from "./ExecuteApiResponseJson";
114
117
  export * from "./ExecuteApiResponse";
115
118
  export * from "./ExecutePromptEvent";
116
119
  export * from "./ExecutePromptResponse";
120
+ export * from "./ComponentsSchemasComposioExecuteToolRequest";
121
+ export * from "./ComponentsSchemasComposioExecuteToolResponse";
117
122
  export * from "./ExecuteWorkflowResponse";
118
123
  export * from "./ExecuteWorkflowWorkflowResultEvent";
119
124
  export * from "./ExecutionArrayVellumValue";
@@ -538,6 +543,7 @@ export * from "./TokenOverlappingWindowChunkerConfig";
538
543
  export * from "./TokenOverlappingWindowChunkerConfigRequest";
539
544
  export * from "./TokenOverlappingWindowChunking";
540
545
  export * from "./TokenOverlappingWindowChunkingRequest";
546
+ export * from "./ComponentsSchemasComposioToolDefinition";
541
547
  export * from "./UnitEnum";
542
548
  export * from "./UploadDocumentResponse";
543
549
  export * from "./UpsertTestSuiteTestCaseRequest";
@@ -79,6 +79,9 @@ __exportStar(require("./CodeExecutorSecretInput"), exports);
79
79
  __exportStar(require("./CodeResourceDefinition"), exports);
80
80
  __exportStar(require("./CompilePromptDeploymentExpandMetaRequest"), exports);
81
81
  __exportStar(require("./CompilePromptMeta"), exports);
82
+ __exportStar(require("./ComposioExecuteToolRequest"), exports);
83
+ __exportStar(require("./ComposioExecuteToolResponse"), exports);
84
+ __exportStar(require("./ComposioToolDefinition"), exports);
82
85
  __exportStar(require("./ConditionCombinator"), exports);
83
86
  __exportStar(require("./ConditionalNodeResult"), exports);
84
87
  __exportStar(require("./ConditionalNodeResultData"), exports);
@@ -130,6 +133,8 @@ __exportStar(require("./ExecuteApiResponseJson"), exports);
130
133
  __exportStar(require("./ExecuteApiResponse"), exports);
131
134
  __exportStar(require("./ExecutePromptEvent"), exports);
132
135
  __exportStar(require("./ExecutePromptResponse"), exports);
136
+ __exportStar(require("./ComponentsSchemasComposioExecuteToolRequest"), exports);
137
+ __exportStar(require("./ComponentsSchemasComposioExecuteToolResponse"), exports);
133
138
  __exportStar(require("./ExecuteWorkflowResponse"), exports);
134
139
  __exportStar(require("./ExecuteWorkflowWorkflowResultEvent"), exports);
135
140
  __exportStar(require("./ExecutionArrayVellumValue"), exports);
@@ -554,6 +559,7 @@ __exportStar(require("./TokenOverlappingWindowChunkerConfig"), exports);
554
559
  __exportStar(require("./TokenOverlappingWindowChunkerConfigRequest"), exports);
555
560
  __exportStar(require("./TokenOverlappingWindowChunking"), exports);
556
561
  __exportStar(require("./TokenOverlappingWindowChunkingRequest"), exports);
562
+ __exportStar(require("./ComponentsSchemasComposioToolDefinition"), exports);
557
563
  __exportStar(require("./UnitEnum"), exports);
558
564
  __exportStar(require("./UploadDocumentResponse"), exports);
559
565
  __exportStar(require("./UpsertTestSuiteTestCaseRequest"), exports);
package/dist/Client.d.ts CHANGED
@@ -4,6 +4,7 @@
4
4
  import * as environments from "./environments";
5
5
  import * as core from "./core";
6
6
  import * as Vellum from "./api/index";
7
+ import { Integrations } from "./api/resources/integrations/client/Client";
7
8
  import { Events } from "./api/resources/events/client/Client";
8
9
  import { AdHoc } from "./api/resources/adHoc/client/Client";
9
10
  import { ContainerImages } from "./api/resources/containerImages/client/Client";
@@ -48,6 +49,7 @@ export declare namespace VellumClient {
48
49
  }
49
50
  export declare class VellumClient {
50
51
  protected readonly _options: VellumClient.Options;
52
+ protected _integrations: Integrations | undefined;
51
53
  protected _events: Events | undefined;
52
54
  protected _adHoc: AdHoc | undefined;
53
55
  protected _containerImages: ContainerImages | undefined;
@@ -69,6 +71,7 @@ export declare class VellumClient {
69
71
  protected _workspaceSecrets: WorkspaceSecrets | undefined;
70
72
  protected _workspaces: Workspaces | undefined;
71
73
  constructor(_options: VellumClient.Options);
74
+ get integrations(): Integrations;
72
75
  get events(): Events;
73
76
  get adHoc(): AdHoc;
74
77
  get containerImages(): ContainerImages;