vellum-ai 0.9.1 → 0.9.2

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 (108) hide show
  1. package/.mock/definition/__package__.yml +34 -0
  2. package/.mock/definition/workflows.yml +4 -0
  3. package/.mock/openapi/openapi.yml +61 -0
  4. package/Client.js +10 -10
  5. package/api/resources/adHoc/client/Client.js +1 -1
  6. package/api/resources/containerImages/client/Client.js +3 -3
  7. package/api/resources/deployments/client/Client.js +5 -5
  8. package/api/resources/documentIndexes/client/Client.js +8 -8
  9. package/api/resources/documents/client/Client.js +5 -5
  10. package/api/resources/folderEntities/client/Client.js +2 -2
  11. package/api/resources/metricDefinitions/client/Client.js +1 -1
  12. package/api/resources/sandboxes/client/Client.js +3 -3
  13. package/api/resources/testSuiteRuns/client/Client.js +3 -3
  14. package/api/resources/testSuites/client/Client.js +4 -4
  15. package/api/resources/workflowDeployments/client/Client.js +4 -4
  16. package/api/resources/workflowSandboxes/client/Client.js +1 -1
  17. package/api/resources/workflows/client/Client.js +1 -1
  18. package/api/resources/workflows/client/requests/WorkflowPushRequest.d.ts +1 -0
  19. package/api/resources/workspaceSecrets/client/Client.js +2 -2
  20. package/api/types/ArrayChatMessageContentItem.d.ts +1 -1
  21. package/api/types/ArrayChatMessageContentItemRequest.d.ts +1 -1
  22. package/api/types/AudioChatMessageContent.d.ts +11 -0
  23. package/api/types/AudioChatMessageContent.js +5 -0
  24. package/api/types/AudioChatMessageContentRequest.d.ts +11 -0
  25. package/api/types/AudioChatMessageContentRequest.js +5 -0
  26. package/api/types/ChatMessageContent.d.ts +1 -1
  27. package/api/types/ChatMessageContentRequest.d.ts +1 -1
  28. package/api/types/VellumAudio.d.ts +7 -0
  29. package/api/types/VellumAudio.js +5 -0
  30. package/api/types/VellumAudioRequest.d.ts +7 -0
  31. package/api/types/VellumAudioRequest.js +5 -0
  32. package/api/types/index.d.ts +4 -0
  33. package/api/types/index.js +4 -0
  34. package/dist/Client.js +10 -10
  35. package/dist/api/resources/adHoc/client/Client.js +1 -1
  36. package/dist/api/resources/containerImages/client/Client.js +3 -3
  37. package/dist/api/resources/deployments/client/Client.js +5 -5
  38. package/dist/api/resources/documentIndexes/client/Client.js +8 -8
  39. package/dist/api/resources/documents/client/Client.js +5 -5
  40. package/dist/api/resources/folderEntities/client/Client.js +2 -2
  41. package/dist/api/resources/metricDefinitions/client/Client.js +1 -1
  42. package/dist/api/resources/sandboxes/client/Client.js +3 -3
  43. package/dist/api/resources/testSuiteRuns/client/Client.js +3 -3
  44. package/dist/api/resources/testSuites/client/Client.js +4 -4
  45. package/dist/api/resources/workflowDeployments/client/Client.js +4 -4
  46. package/dist/api/resources/workflowSandboxes/client/Client.js +1 -1
  47. package/dist/api/resources/workflows/client/Client.js +1 -1
  48. package/dist/api/resources/workflows/client/requests/WorkflowPushRequest.d.ts +1 -0
  49. package/dist/api/resources/workspaceSecrets/client/Client.js +2 -2
  50. package/dist/api/types/ArrayChatMessageContentItem.d.ts +1 -1
  51. package/dist/api/types/ArrayChatMessageContentItemRequest.d.ts +1 -1
  52. package/dist/api/types/AudioChatMessageContent.d.ts +11 -0
  53. package/dist/api/types/AudioChatMessageContent.js +5 -0
  54. package/dist/api/types/AudioChatMessageContentRequest.d.ts +11 -0
  55. package/dist/api/types/AudioChatMessageContentRequest.js +5 -0
  56. package/dist/api/types/ChatMessageContent.d.ts +1 -1
  57. package/dist/api/types/ChatMessageContentRequest.d.ts +1 -1
  58. package/dist/api/types/VellumAudio.d.ts +7 -0
  59. package/dist/api/types/VellumAudio.js +5 -0
  60. package/dist/api/types/VellumAudioRequest.d.ts +7 -0
  61. package/dist/api/types/VellumAudioRequest.js +5 -0
  62. package/dist/api/types/index.d.ts +4 -0
  63. package/dist/api/types/index.js +4 -0
  64. package/dist/serialization/resources/workflows/client/requests/WorkflowPushRequest.d.ts +1 -0
  65. package/dist/serialization/resources/workflows/client/requests/WorkflowPushRequest.js +1 -0
  66. package/dist/serialization/types/ArrayChatMessageContentItem.d.ts +2 -1
  67. package/dist/serialization/types/ArrayChatMessageContentItem.js +2 -0
  68. package/dist/serialization/types/ArrayChatMessageContentItemRequest.d.ts +2 -1
  69. package/dist/serialization/types/ArrayChatMessageContentItemRequest.js +2 -0
  70. package/dist/serialization/types/AudioChatMessageContent.d.ts +14 -0
  71. package/dist/serialization/types/AudioChatMessageContent.js +35 -0
  72. package/dist/serialization/types/AudioChatMessageContentRequest.d.ts +14 -0
  73. package/dist/serialization/types/AudioChatMessageContentRequest.js +35 -0
  74. package/dist/serialization/types/ChatMessageContent.d.ts +2 -1
  75. package/dist/serialization/types/ChatMessageContent.js +2 -0
  76. package/dist/serialization/types/ChatMessageContentRequest.d.ts +2 -1
  77. package/dist/serialization/types/ChatMessageContentRequest.js +2 -0
  78. package/dist/serialization/types/VellumAudio.d.ts +13 -0
  79. package/dist/serialization/types/VellumAudio.js +34 -0
  80. package/dist/serialization/types/VellumAudioRequest.d.ts +13 -0
  81. package/dist/serialization/types/VellumAudioRequest.js +34 -0
  82. package/dist/serialization/types/index.d.ts +4 -0
  83. package/dist/serialization/types/index.js +4 -0
  84. package/dist/version.d.ts +1 -1
  85. package/dist/version.js +1 -1
  86. package/package.json +1 -1
  87. package/serialization/resources/workflows/client/requests/WorkflowPushRequest.d.ts +1 -0
  88. package/serialization/resources/workflows/client/requests/WorkflowPushRequest.js +1 -0
  89. package/serialization/types/ArrayChatMessageContentItem.d.ts +2 -1
  90. package/serialization/types/ArrayChatMessageContentItem.js +2 -0
  91. package/serialization/types/ArrayChatMessageContentItemRequest.d.ts +2 -1
  92. package/serialization/types/ArrayChatMessageContentItemRequest.js +2 -0
  93. package/serialization/types/AudioChatMessageContent.d.ts +14 -0
  94. package/serialization/types/AudioChatMessageContent.js +35 -0
  95. package/serialization/types/AudioChatMessageContentRequest.d.ts +14 -0
  96. package/serialization/types/AudioChatMessageContentRequest.js +35 -0
  97. package/serialization/types/ChatMessageContent.d.ts +2 -1
  98. package/serialization/types/ChatMessageContent.js +2 -0
  99. package/serialization/types/ChatMessageContentRequest.d.ts +2 -1
  100. package/serialization/types/ChatMessageContentRequest.js +2 -0
  101. package/serialization/types/VellumAudio.d.ts +13 -0
  102. package/serialization/types/VellumAudio.js +34 -0
  103. package/serialization/types/VellumAudioRequest.d.ts +13 -0
  104. package/serialization/types/VellumAudioRequest.js +34 -0
  105. package/serialization/types/index.d.ts +4 -0
  106. package/serialization/types/index.js +4 -0
  107. package/version.d.ts +1 -1
  108. package/version.js +1 -1
@@ -79,7 +79,7 @@ class Documents {
79
79
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
80
80
  .default, "v1/documents"),
81
81
  method: "GET",
82
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "v0.9.1", "User-Agent": "vellum-ai/v0.9.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
82
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.2", "User-Agent": "vellum-ai/0.9.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
83
83
  contentType: "application/json",
84
84
  queryParameters: _queryParams,
85
85
  requestType: "json",
@@ -132,7 +132,7 @@ class Documents {
132
132
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
133
133
  .default, `v1/documents/${encodeURIComponent(id)}`),
134
134
  method: "GET",
135
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "v0.9.1", "User-Agent": "vellum-ai/v0.9.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
135
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.2", "User-Agent": "vellum-ai/0.9.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
136
136
  contentType: "application/json",
137
137
  requestType: "json",
138
138
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -184,7 +184,7 @@ class Documents {
184
184
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
185
185
  .documents, `v1/documents/${encodeURIComponent(id)}`),
186
186
  method: "DELETE",
187
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "v0.9.1", "User-Agent": "vellum-ai/v0.9.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
187
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.2", "User-Agent": "vellum-ai/0.9.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
188
188
  contentType: "application/json",
189
189
  requestType: "json",
190
190
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -232,7 +232,7 @@ class Documents {
232
232
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
233
233
  .default, `v1/documents/${encodeURIComponent(id)}`),
234
234
  method: "PATCH",
235
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "v0.9.1", "User-Agent": "vellum-ai/v0.9.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
235
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.2", "User-Agent": "vellum-ai/0.9.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
236
236
  contentType: "application/json",
237
237
  requestType: "json",
238
238
  body: serializers.PatchedDocumentUpdateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -322,7 +322,7 @@ class Documents {
322
322
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
323
323
  .documents, "v1/upload-document"),
324
324
  method: "POST",
325
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "v0.9.1", "User-Agent": "vellum-ai/v0.9.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), _maybeEncodedRequest.headers),
325
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.2", "User-Agent": "vellum-ai/0.9.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), _maybeEncodedRequest.headers),
326
326
  requestType: "file",
327
327
  duplex: _maybeEncodedRequest.duplex,
328
328
  body: _maybeEncodedRequest.body,
@@ -81,7 +81,7 @@ class FolderEntities {
81
81
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
82
82
  .default, "v1/folder-entities"),
83
83
  method: "GET",
84
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "v0.9.1", "User-Agent": "vellum-ai/v0.9.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
84
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.2", "User-Agent": "vellum-ai/0.9.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
85
85
  contentType: "application/json",
86
86
  queryParameters: _queryParams,
87
87
  requestType: "json",
@@ -145,7 +145,7 @@ class FolderEntities {
145
145
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
146
146
  .default, `v1/folders/${encodeURIComponent(folderId)}/add-entity`),
147
147
  method: "POST",
148
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "v0.9.1", "User-Agent": "vellum-ai/v0.9.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
148
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.2", "User-Agent": "vellum-ai/0.9.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
149
149
  contentType: "application/json",
150
150
  requestType: "json",
151
151
  body: serializers.AddEntityToFolderRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -71,7 +71,7 @@ class MetricDefinitions {
71
71
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
72
72
  .default, `v1/metric-definitions/${encodeURIComponent(id)}/execute`),
73
73
  method: "POST",
74
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "v0.9.1", "User-Agent": "vellum-ai/v0.9.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
74
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.2", "User-Agent": "vellum-ai/0.9.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
75
75
  contentType: "application/json",
76
76
  requestType: "json",
77
77
  body: serializers.ExecuteMetricDefinitionRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -64,7 +64,7 @@ class Sandboxes {
64
64
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
65
65
  .default, `v1/sandboxes/${encodeURIComponent(id)}/prompts/${encodeURIComponent(promptVariantId)}/deploy`),
66
66
  method: "POST",
67
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "v0.9.1", "User-Agent": "vellum-ai/v0.9.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
67
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.2", "User-Agent": "vellum-ai/0.9.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
68
68
  contentType: "application/json",
69
69
  requestType: "json",
70
70
  body: serializers.DeploySandboxPromptRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -151,7 +151,7 @@ class Sandboxes {
151
151
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
152
152
  .default, `v1/sandboxes/${encodeURIComponent(id)}/scenarios`),
153
153
  method: "POST",
154
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "v0.9.1", "User-Agent": "vellum-ai/v0.9.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
154
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.2", "User-Agent": "vellum-ai/0.9.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
155
155
  contentType: "application/json",
156
156
  requestType: "json",
157
157
  body: serializers.UpsertSandboxScenarioRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -205,7 +205,7 @@ class Sandboxes {
205
205
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
206
206
  .default, `v1/sandboxes/${encodeURIComponent(id)}/scenarios/${encodeURIComponent(scenarioId)}`),
207
207
  method: "DELETE",
208
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "v0.9.1", "User-Agent": "vellum-ai/v0.9.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
208
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.2", "User-Agent": "vellum-ai/0.9.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
209
209
  contentType: "application/json",
210
210
  requestType: "json",
211
211
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -71,7 +71,7 @@ class TestSuiteRuns {
71
71
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
72
72
  .default, "v1/test-suite-runs"),
73
73
  method: "POST",
74
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "v0.9.1", "User-Agent": "vellum-ai/v0.9.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
74
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.2", "User-Agent": "vellum-ai/0.9.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
75
75
  contentType: "application/json",
76
76
  requestType: "json",
77
77
  body: serializers.TestSuiteRunCreateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -124,7 +124,7 @@ class TestSuiteRuns {
124
124
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
125
125
  .default, `v1/test-suite-runs/${encodeURIComponent(id)}`),
126
126
  method: "GET",
127
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "v0.9.1", "User-Agent": "vellum-ai/v0.9.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
127
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.2", "User-Agent": "vellum-ai/0.9.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
128
128
  contentType: "application/json",
129
129
  requestType: "json",
130
130
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -191,7 +191,7 @@ class TestSuiteRuns {
191
191
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
192
192
  .default, `v1/test-suite-runs/${encodeURIComponent(id)}/executions`),
193
193
  method: "GET",
194
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "v0.9.1", "User-Agent": "vellum-ai/v0.9.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
194
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.2", "User-Agent": "vellum-ai/0.9.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
195
195
  contentType: "application/json",
196
196
  queryParameters: _queryParams,
197
197
  requestType: "json",
@@ -73,7 +73,7 @@ class TestSuites {
73
73
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
74
74
  .default, `v1/test-suites/${encodeURIComponent(id)}/test-cases`),
75
75
  method: "GET",
76
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "v0.9.1", "User-Agent": "vellum-ai/v0.9.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
76
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.2", "User-Agent": "vellum-ai/0.9.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
77
77
  contentType: "application/json",
78
78
  queryParameters: _queryParams,
79
79
  requestType: "json",
@@ -142,7 +142,7 @@ class TestSuites {
142
142
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
143
143
  .default, `v1/test-suites/${encodeURIComponent(id)}/test-cases`),
144
144
  method: "POST",
145
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "v0.9.1", "User-Agent": "vellum-ai/v0.9.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
145
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.2", "User-Agent": "vellum-ai/0.9.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
146
146
  contentType: "application/json",
147
147
  requestType: "json",
148
148
  body: serializers.UpsertTestSuiteTestCaseRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -189,7 +189,7 @@ class TestSuites {
189
189
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
190
190
  .default, `v1/test-suites/${encodeURIComponent(id)}/test-cases-bulk`),
191
191
  method: "POST",
192
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "v0.9.1", "User-Agent": "vellum-ai/v0.9.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
192
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.2", "User-Agent": "vellum-ai/0.9.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
193
193
  contentType: "application/json",
194
194
  requestType: "json",
195
195
  body: serializers.testSuites.testSuiteTestCasesBulk.Request.jsonOrThrow(request, {
@@ -256,7 +256,7 @@ class TestSuites {
256
256
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
257
257
  .default, `v1/test-suites/${encodeURIComponent(id)}/test-cases/${encodeURIComponent(testCaseId)}`),
258
258
  method: "DELETE",
259
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "v0.9.1", "User-Agent": "vellum-ai/v0.9.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
259
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.2", "User-Agent": "vellum-ai/0.9.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
260
260
  contentType: "application/json",
261
261
  requestType: "json",
262
262
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -78,7 +78,7 @@ class WorkflowDeployments {
78
78
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
79
79
  .default, "v1/workflow-deployments"),
80
80
  method: "GET",
81
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "v0.9.1", "User-Agent": "vellum-ai/v0.9.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
81
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.2", "User-Agent": "vellum-ai/0.9.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
82
82
  contentType: "application/json",
83
83
  queryParameters: _queryParams,
84
84
  requestType: "json",
@@ -131,7 +131,7 @@ class WorkflowDeployments {
131
131
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
132
132
  .default, `v1/workflow-deployments/${encodeURIComponent(id)}`),
133
133
  method: "GET",
134
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "v0.9.1", "User-Agent": "vellum-ai/v0.9.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
134
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.2", "User-Agent": "vellum-ai/0.9.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
135
135
  contentType: "application/json",
136
136
  requestType: "json",
137
137
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -184,7 +184,7 @@ class WorkflowDeployments {
184
184
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
185
185
  .default, `v1/workflow-deployments/${encodeURIComponent(id)}/release-tags/${encodeURIComponent(name)}`),
186
186
  method: "GET",
187
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "v0.9.1", "User-Agent": "vellum-ai/v0.9.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
187
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.2", "User-Agent": "vellum-ai/0.9.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
188
188
  contentType: "application/json",
189
189
  requestType: "json",
190
190
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -238,7 +238,7 @@ class WorkflowDeployments {
238
238
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
239
239
  .default, `v1/workflow-deployments/${encodeURIComponent(id)}/release-tags/${encodeURIComponent(name)}`),
240
240
  method: "PATCH",
241
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "v0.9.1", "User-Agent": "vellum-ai/v0.9.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
241
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.2", "User-Agent": "vellum-ai/0.9.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
242
242
  contentType: "application/json",
243
243
  requestType: "json",
244
244
  body: serializers.PatchedWorkflowReleaseTagUpdateRequest.jsonOrThrow(request, {
@@ -64,7 +64,7 @@ class WorkflowSandboxes {
64
64
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
65
65
  .default, `v1/workflow-sandboxes/${encodeURIComponent(id)}/workflows/${encodeURIComponent(workflowId)}/deploy`),
66
66
  method: "POST",
67
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "v0.9.1", "User-Agent": "vellum-ai/v0.9.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
67
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.2", "User-Agent": "vellum-ai/0.9.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
68
68
  contentType: "application/json",
69
69
  requestType: "json",
70
70
  body: serializers.DeploySandboxWorkflowRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -69,7 +69,7 @@ class Workflows {
69
69
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
70
70
  .default, "v1/workflows/push"),
71
71
  method: "POST",
72
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "v0.9.1", "User-Agent": "vellum-ai/v0.9.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
72
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.2", "User-Agent": "vellum-ai/0.9.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
73
73
  contentType: "application/json",
74
74
  requestType: "json",
75
75
  body: serializers.WorkflowPushRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -14,4 +14,5 @@ import * as Vellum from "../../../../index";
14
14
  export interface WorkflowPushRequest {
15
15
  execConfig: Vellum.WorkflowPushExecConfig;
16
16
  label: string;
17
+ workflowSandboxId?: string;
17
18
  }
@@ -64,7 +64,7 @@ class WorkspaceSecrets {
64
64
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
65
65
  .default, `v1/workspace-secrets/${encodeURIComponent(id)}`),
66
66
  method: "GET",
67
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "v0.9.1", "User-Agent": "vellum-ai/v0.9.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
67
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.2", "User-Agent": "vellum-ai/0.9.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
68
68
  contentType: "application/json",
69
69
  requestType: "json",
70
70
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -117,7 +117,7 @@ class WorkspaceSecrets {
117
117
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
118
118
  .default, `v1/workspace-secrets/${encodeURIComponent(id)}`),
119
119
  method: "PATCH",
120
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "v0.9.1", "User-Agent": "vellum-ai/v0.9.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
120
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.2", "User-Agent": "vellum-ai/0.9.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
121
121
  contentType: "application/json",
122
122
  requestType: "json",
123
123
  body: serializers.PatchedWorkspaceSecretUpdateRequest.jsonOrThrow(request, {
@@ -2,4 +2,4 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  import * as Vellum from "../index";
5
- export declare type ArrayChatMessageContentItem = Vellum.StringChatMessageContent | Vellum.FunctionCallChatMessageContent | Vellum.ImageChatMessageContent;
5
+ export declare type ArrayChatMessageContentItem = Vellum.StringChatMessageContent | Vellum.FunctionCallChatMessageContent | Vellum.ImageChatMessageContent | Vellum.AudioChatMessageContent;
@@ -2,4 +2,4 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  import * as Vellum from "../index";
5
- export declare type ArrayChatMessageContentItemRequest = Vellum.StringChatMessageContentRequest | Vellum.FunctionCallChatMessageContentRequest | Vellum.ImageChatMessageContentRequest;
5
+ export declare type ArrayChatMessageContentItemRequest = Vellum.StringChatMessageContentRequest | Vellum.FunctionCallChatMessageContentRequest | Vellum.ImageChatMessageContentRequest | Vellum.AudioChatMessageContentRequest;
@@ -0,0 +1,11 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vellum from "../index";
5
+ /**
6
+ * An audio value that is used in a chat message.
7
+ */
8
+ export interface AudioChatMessageContent {
9
+ type: "AUDIO";
10
+ value: Vellum.VellumAudio;
11
+ }
@@ -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,11 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vellum from "../index";
5
+ /**
6
+ * An audio value that is used in a chat message.
7
+ */
8
+ export interface AudioChatMessageContentRequest {
9
+ type: "AUDIO";
10
+ value: Vellum.VellumAudioRequest;
11
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -2,4 +2,4 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  import * as Vellum from "../index";
5
- export declare type ChatMessageContent = Vellum.StringChatMessageContent | Vellum.FunctionCallChatMessageContent | Vellum.ArrayChatMessageContent | Vellum.ImageChatMessageContent;
5
+ export declare type ChatMessageContent = Vellum.StringChatMessageContent | Vellum.FunctionCallChatMessageContent | Vellum.ArrayChatMessageContent | Vellum.ImageChatMessageContent | Vellum.AudioChatMessageContent;
@@ -2,4 +2,4 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  import * as Vellum from "../index";
5
- export declare type ChatMessageContentRequest = Vellum.StringChatMessageContentRequest | Vellum.FunctionCallChatMessageContentRequest | Vellum.ArrayChatMessageContentRequest | Vellum.ImageChatMessageContentRequest;
5
+ export declare type ChatMessageContentRequest = Vellum.StringChatMessageContentRequest | Vellum.FunctionCallChatMessageContentRequest | Vellum.ArrayChatMessageContentRequest | Vellum.ImageChatMessageContentRequest | Vellum.AudioChatMessageContentRequest;
@@ -0,0 +1,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface VellumAudio {
5
+ src: string;
6
+ metadata?: Record<string, unknown>;
7
+ }
@@ -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,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface VellumAudioRequest {
5
+ src: string;
6
+ metadata?: Record<string, unknown>;
7
+ }
@@ -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 });
@@ -16,6 +16,8 @@ export * from "./ArrayVariableValue";
16
16
  export * from "./ArrayVariableValueItem";
17
17
  export * from "./ArrayVellumValue";
18
18
  export * from "./ArrayVellumValueRequest";
19
+ export * from "./AudioChatMessageContent";
20
+ export * from "./AudioChatMessageContentRequest";
19
21
  export * from "./BasicVectorizerIntfloatMultilingualE5Large";
20
22
  export * from "./BasicVectorizerIntfloatMultilingualE5LargeRequest";
21
23
  export * from "./BasicVectorizerSentenceTransformersMultiQaMpnetBaseCosV1";
@@ -409,6 +411,8 @@ export * from "./UnitEnum";
409
411
  export * from "./UploadDocumentResponse";
410
412
  export * from "./UpsertTestSuiteTestCaseRequest";
411
413
  export * from "./VariablePromptBlockRequest";
414
+ export * from "./VellumAudio";
415
+ export * from "./VellumAudioRequest";
412
416
  export * from "./VellumError";
413
417
  export * from "./VellumErrorCodeEnum";
414
418
  export * from "./VellumErrorRequest";
@@ -32,6 +32,8 @@ __exportStar(require("./ArrayVariableValue"), exports);
32
32
  __exportStar(require("./ArrayVariableValueItem"), exports);
33
33
  __exportStar(require("./ArrayVellumValue"), exports);
34
34
  __exportStar(require("./ArrayVellumValueRequest"), exports);
35
+ __exportStar(require("./AudioChatMessageContent"), exports);
36
+ __exportStar(require("./AudioChatMessageContentRequest"), exports);
35
37
  __exportStar(require("./BasicVectorizerIntfloatMultilingualE5Large"), exports);
36
38
  __exportStar(require("./BasicVectorizerIntfloatMultilingualE5LargeRequest"), exports);
37
39
  __exportStar(require("./BasicVectorizerSentenceTransformersMultiQaMpnetBaseCosV1"), exports);
@@ -425,6 +427,8 @@ __exportStar(require("./UnitEnum"), exports);
425
427
  __exportStar(require("./UploadDocumentResponse"), exports);
426
428
  __exportStar(require("./UpsertTestSuiteTestCaseRequest"), exports);
427
429
  __exportStar(require("./VariablePromptBlockRequest"), exports);
430
+ __exportStar(require("./VellumAudio"), exports);
431
+ __exportStar(require("./VellumAudioRequest"), exports);
428
432
  __exportStar(require("./VellumError"), exports);
429
433
  __exportStar(require("./VellumErrorCodeEnum"), exports);
430
434
  __exportStar(require("./VellumErrorRequest"), exports);
@@ -10,5 +10,6 @@ export declare namespace WorkflowPushRequest {
10
10
  interface Raw {
11
11
  exec_config: WorkflowPushExecConfig.Raw;
12
12
  label: string;
13
+ workflow_sandbox_id?: string | null;
13
14
  }
14
15
  }
@@ -32,4 +32,5 @@ const WorkflowPushExecConfig_1 = require("../../../../types/WorkflowPushExecConf
32
32
  exports.WorkflowPushRequest = core.serialization.object({
33
33
  execConfig: core.serialization.property("exec_config", WorkflowPushExecConfig_1.WorkflowPushExecConfig),
34
34
  label: core.serialization.string(),
35
+ workflowSandboxId: core.serialization.property("workflow_sandbox_id", core.serialization.string().optional()),
35
36
  });
@@ -7,7 +7,8 @@ import * as core from "../../core";
7
7
  import { StringChatMessageContent } from "./StringChatMessageContent";
8
8
  import { FunctionCallChatMessageContent } from "./FunctionCallChatMessageContent";
9
9
  import { ImageChatMessageContent } from "./ImageChatMessageContent";
10
+ import { AudioChatMessageContent } from "./AudioChatMessageContent";
10
11
  export declare const ArrayChatMessageContentItem: core.serialization.Schema<serializers.ArrayChatMessageContentItem.Raw, Vellum.ArrayChatMessageContentItem>;
11
12
  export declare namespace ArrayChatMessageContentItem {
12
- type Raw = StringChatMessageContent.Raw | FunctionCallChatMessageContent.Raw | ImageChatMessageContent.Raw;
13
+ type Raw = StringChatMessageContent.Raw | FunctionCallChatMessageContent.Raw | ImageChatMessageContent.Raw | AudioChatMessageContent.Raw;
13
14
  }
@@ -31,8 +31,10 @@ const core = __importStar(require("../../core"));
31
31
  const StringChatMessageContent_1 = require("./StringChatMessageContent");
32
32
  const FunctionCallChatMessageContent_1 = require("./FunctionCallChatMessageContent");
33
33
  const ImageChatMessageContent_1 = require("./ImageChatMessageContent");
34
+ const AudioChatMessageContent_1 = require("./AudioChatMessageContent");
34
35
  exports.ArrayChatMessageContentItem = core.serialization.undiscriminatedUnion([
35
36
  StringChatMessageContent_1.StringChatMessageContent,
36
37
  FunctionCallChatMessageContent_1.FunctionCallChatMessageContent,
37
38
  ImageChatMessageContent_1.ImageChatMessageContent,
39
+ AudioChatMessageContent_1.AudioChatMessageContent,
38
40
  ]);
@@ -7,7 +7,8 @@ import * as core from "../../core";
7
7
  import { StringChatMessageContentRequest } from "./StringChatMessageContentRequest";
8
8
  import { FunctionCallChatMessageContentRequest } from "./FunctionCallChatMessageContentRequest";
9
9
  import { ImageChatMessageContentRequest } from "./ImageChatMessageContentRequest";
10
+ import { AudioChatMessageContentRequest } from "./AudioChatMessageContentRequest";
10
11
  export declare const ArrayChatMessageContentItemRequest: core.serialization.Schema<serializers.ArrayChatMessageContentItemRequest.Raw, Vellum.ArrayChatMessageContentItemRequest>;
11
12
  export declare namespace ArrayChatMessageContentItemRequest {
12
- type Raw = StringChatMessageContentRequest.Raw | FunctionCallChatMessageContentRequest.Raw | ImageChatMessageContentRequest.Raw;
13
+ type Raw = StringChatMessageContentRequest.Raw | FunctionCallChatMessageContentRequest.Raw | ImageChatMessageContentRequest.Raw | AudioChatMessageContentRequest.Raw;
13
14
  }
@@ -31,8 +31,10 @@ const core = __importStar(require("../../core"));
31
31
  const StringChatMessageContentRequest_1 = require("./StringChatMessageContentRequest");
32
32
  const FunctionCallChatMessageContentRequest_1 = require("./FunctionCallChatMessageContentRequest");
33
33
  const ImageChatMessageContentRequest_1 = require("./ImageChatMessageContentRequest");
34
+ const AudioChatMessageContentRequest_1 = require("./AudioChatMessageContentRequest");
34
35
  exports.ArrayChatMessageContentItemRequest = core.serialization.undiscriminatedUnion([
35
36
  StringChatMessageContentRequest_1.StringChatMessageContentRequest,
36
37
  FunctionCallChatMessageContentRequest_1.FunctionCallChatMessageContentRequest,
37
38
  ImageChatMessageContentRequest_1.ImageChatMessageContentRequest,
39
+ AudioChatMessageContentRequest_1.AudioChatMessageContentRequest,
38
40
  ]);
@@ -0,0 +1,14 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index";
5
+ import * as Vellum from "../../api/index";
6
+ import * as core from "../../core";
7
+ import { VellumAudio } from "./VellumAudio";
8
+ export declare const AudioChatMessageContent: core.serialization.ObjectSchema<serializers.AudioChatMessageContent.Raw, Vellum.AudioChatMessageContent>;
9
+ export declare namespace AudioChatMessageContent {
10
+ interface Raw {
11
+ type: "AUDIO";
12
+ value: VellumAudio.Raw;
13
+ }
14
+ }
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.AudioChatMessageContent = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ const VellumAudio_1 = require("./VellumAudio");
32
+ exports.AudioChatMessageContent = core.serialization.object({
33
+ type: core.serialization.stringLiteral("AUDIO"),
34
+ value: VellumAudio_1.VellumAudio,
35
+ });
@@ -0,0 +1,14 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index";
5
+ import * as Vellum from "../../api/index";
6
+ import * as core from "../../core";
7
+ import { VellumAudioRequest } from "./VellumAudioRequest";
8
+ export declare const AudioChatMessageContentRequest: core.serialization.ObjectSchema<serializers.AudioChatMessageContentRequest.Raw, Vellum.AudioChatMessageContentRequest>;
9
+ export declare namespace AudioChatMessageContentRequest {
10
+ interface Raw {
11
+ type: "AUDIO";
12
+ value: VellumAudioRequest.Raw;
13
+ }
14
+ }
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.AudioChatMessageContentRequest = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ const VellumAudioRequest_1 = require("./VellumAudioRequest");
32
+ exports.AudioChatMessageContentRequest = core.serialization.object({
33
+ type: core.serialization.stringLiteral("AUDIO"),
34
+ value: VellumAudioRequest_1.VellumAudioRequest,
35
+ });
@@ -8,7 +8,8 @@ import { StringChatMessageContent } from "./StringChatMessageContent";
8
8
  import { FunctionCallChatMessageContent } from "./FunctionCallChatMessageContent";
9
9
  import { ArrayChatMessageContent } from "./ArrayChatMessageContent";
10
10
  import { ImageChatMessageContent } from "./ImageChatMessageContent";
11
+ import { AudioChatMessageContent } from "./AudioChatMessageContent";
11
12
  export declare const ChatMessageContent: core.serialization.Schema<serializers.ChatMessageContent.Raw, Vellum.ChatMessageContent>;
12
13
  export declare namespace ChatMessageContent {
13
- type Raw = StringChatMessageContent.Raw | FunctionCallChatMessageContent.Raw | ArrayChatMessageContent.Raw | ImageChatMessageContent.Raw;
14
+ type Raw = StringChatMessageContent.Raw | FunctionCallChatMessageContent.Raw | ArrayChatMessageContent.Raw | ImageChatMessageContent.Raw | AudioChatMessageContent.Raw;
14
15
  }