vellum-ai 1.2.0 → 1.2.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 (126) hide show
  1. package/Client.d.ts +3 -0
  2. package/Client.js +54 -49
  3. package/api/errors/TooManyRequestsError.d.ts +9 -0
  4. package/api/errors/TooManyRequestsError.js +52 -0
  5. package/api/errors/UnauthorizedError.d.ts +9 -0
  6. package/api/errors/UnauthorizedError.js +52 -0
  7. package/api/errors/index.d.ts +2 -0
  8. package/api/errors/index.js +2 -0
  9. package/api/resources/adHoc/client/Client.js +2 -2
  10. package/api/resources/containerImages/client/Client.js +4 -4
  11. package/api/resources/deployments/client/Client.js +8 -8
  12. package/api/resources/documentIndexes/client/Client.js +8 -8
  13. package/api/resources/documents/client/Client.js +5 -5
  14. package/api/resources/events/client/Client.d.ts +69 -0
  15. package/api/resources/events/client/Client.js +179 -0
  16. package/api/resources/events/client/index.d.ts +1 -0
  17. package/api/resources/events/client/index.js +2 -0
  18. package/api/resources/events/index.d.ts +1 -0
  19. package/api/resources/events/index.js +17 -0
  20. package/api/resources/folderEntities/client/Client.js +2 -2
  21. package/api/resources/index.d.ts +1 -0
  22. package/api/resources/index.js +2 -1
  23. package/api/resources/metricDefinitions/client/Client.js +2 -2
  24. package/api/resources/mlModels/client/Client.js +1 -1
  25. package/api/resources/organizations/client/Client.js +1 -1
  26. package/api/resources/prompts/client/Client.js +2 -2
  27. package/api/resources/sandboxes/client/Client.js +3 -3
  28. package/api/resources/testSuiteRuns/client/Client.js +3 -3
  29. package/api/resources/testSuites/client/Client.js +4 -4
  30. package/api/resources/workflowDeployments/client/Client.js +9 -9
  31. package/api/resources/workflowExecutions/client/Client.js +1 -1
  32. package/api/resources/workflowSandboxes/client/Client.js +2 -2
  33. package/api/resources/workflows/client/Client.js +2 -2
  34. package/api/resources/workspaceSecrets/client/Client.js +2 -2
  35. package/api/resources/workspaces/client/Client.js +1 -1
  36. package/api/types/ErrorDetailResponse.d.ts +7 -0
  37. package/api/types/ErrorDetailResponse.js +5 -0
  38. package/api/types/EventCreateResponse.d.ts +10 -0
  39. package/api/types/EventCreateResponse.js +5 -0
  40. package/api/types/ExecutionThinkingVellumValue.d.ts +1 -1
  41. package/api/types/ThinkingVellumValue.d.ts +1 -1
  42. package/api/types/ThinkingVellumValueRequest.d.ts +1 -1
  43. package/api/types/WorkflowEvent.d.ts +5 -0
  44. package/api/types/WorkflowEvent.js +5 -0
  45. package/api/types/index.d.ts +3 -0
  46. package/api/types/index.js +3 -0
  47. package/dist/Client.d.ts +3 -0
  48. package/dist/Client.js +54 -49
  49. package/dist/api/errors/TooManyRequestsError.d.ts +9 -0
  50. package/dist/api/errors/TooManyRequestsError.js +52 -0
  51. package/dist/api/errors/UnauthorizedError.d.ts +9 -0
  52. package/dist/api/errors/UnauthorizedError.js +52 -0
  53. package/dist/api/errors/index.d.ts +2 -0
  54. package/dist/api/errors/index.js +2 -0
  55. package/dist/api/resources/adHoc/client/Client.js +2 -2
  56. package/dist/api/resources/containerImages/client/Client.js +4 -4
  57. package/dist/api/resources/deployments/client/Client.js +8 -8
  58. package/dist/api/resources/documentIndexes/client/Client.js +8 -8
  59. package/dist/api/resources/documents/client/Client.js +5 -5
  60. package/dist/api/resources/events/client/Client.d.ts +69 -0
  61. package/dist/api/resources/events/client/Client.js +179 -0
  62. package/dist/api/resources/events/client/index.d.ts +1 -0
  63. package/dist/api/resources/events/client/index.js +2 -0
  64. package/dist/api/resources/events/index.d.ts +1 -0
  65. package/dist/api/resources/events/index.js +17 -0
  66. package/dist/api/resources/folderEntities/client/Client.js +2 -2
  67. package/dist/api/resources/index.d.ts +1 -0
  68. package/dist/api/resources/index.js +2 -1
  69. package/dist/api/resources/metricDefinitions/client/Client.js +2 -2
  70. package/dist/api/resources/mlModels/client/Client.js +1 -1
  71. package/dist/api/resources/organizations/client/Client.js +1 -1
  72. package/dist/api/resources/prompts/client/Client.js +2 -2
  73. package/dist/api/resources/sandboxes/client/Client.js +3 -3
  74. package/dist/api/resources/testSuiteRuns/client/Client.js +3 -3
  75. package/dist/api/resources/testSuites/client/Client.js +4 -4
  76. package/dist/api/resources/workflowDeployments/client/Client.js +9 -9
  77. package/dist/api/resources/workflowExecutions/client/Client.js +1 -1
  78. package/dist/api/resources/workflowSandboxes/client/Client.js +2 -2
  79. package/dist/api/resources/workflows/client/Client.js +2 -2
  80. package/dist/api/resources/workspaceSecrets/client/Client.js +2 -2
  81. package/dist/api/resources/workspaces/client/Client.js +1 -1
  82. package/dist/api/types/ErrorDetailResponse.d.ts +7 -0
  83. package/dist/api/types/ErrorDetailResponse.js +5 -0
  84. package/dist/api/types/EventCreateResponse.d.ts +10 -0
  85. package/dist/api/types/EventCreateResponse.js +5 -0
  86. package/dist/api/types/ExecutionThinkingVellumValue.d.ts +1 -1
  87. package/dist/api/types/ThinkingVellumValue.d.ts +1 -1
  88. package/dist/api/types/ThinkingVellumValueRequest.d.ts +1 -1
  89. package/dist/api/types/WorkflowEvent.d.ts +5 -0
  90. package/dist/api/types/WorkflowEvent.js +5 -0
  91. package/dist/api/types/index.d.ts +3 -0
  92. package/dist/api/types/index.js +3 -0
  93. package/dist/serialization/types/ErrorDetailResponse.d.ts +12 -0
  94. package/dist/serialization/types/ErrorDetailResponse.js +43 -0
  95. package/dist/serialization/types/EventCreateResponse.d.ts +12 -0
  96. package/dist/serialization/types/EventCreateResponse.js +43 -0
  97. package/dist/serialization/types/ExecutionThinkingVellumValue.d.ts +1 -1
  98. package/dist/serialization/types/ExecutionThinkingVellumValue.js +1 -1
  99. package/dist/serialization/types/ThinkingVellumValue.d.ts +1 -1
  100. package/dist/serialization/types/ThinkingVellumValue.js +1 -1
  101. package/dist/serialization/types/ThinkingVellumValueRequest.d.ts +1 -1
  102. package/dist/serialization/types/ThinkingVellumValueRequest.js +1 -1
  103. package/dist/serialization/types/WorkflowEvent.d.ts +23 -0
  104. package/dist/serialization/types/WorkflowEvent.js +68 -0
  105. package/dist/serialization/types/index.d.ts +3 -0
  106. package/dist/serialization/types/index.js +3 -0
  107. package/dist/version.d.ts +1 -1
  108. package/dist/version.js +1 -1
  109. package/package.json +1 -1
  110. package/reference.md +83 -0
  111. package/serialization/types/ErrorDetailResponse.d.ts +12 -0
  112. package/serialization/types/ErrorDetailResponse.js +43 -0
  113. package/serialization/types/EventCreateResponse.d.ts +12 -0
  114. package/serialization/types/EventCreateResponse.js +43 -0
  115. package/serialization/types/ExecutionThinkingVellumValue.d.ts +1 -1
  116. package/serialization/types/ExecutionThinkingVellumValue.js +1 -1
  117. package/serialization/types/ThinkingVellumValue.d.ts +1 -1
  118. package/serialization/types/ThinkingVellumValue.js +1 -1
  119. package/serialization/types/ThinkingVellumValueRequest.d.ts +1 -1
  120. package/serialization/types/ThinkingVellumValueRequest.js +1 -1
  121. package/serialization/types/WorkflowEvent.d.ts +23 -0
  122. package/serialization/types/WorkflowEvent.js +68 -0
  123. package/serialization/types/index.d.ts +3 -0
  124. package/serialization/types/index.js +3 -0
  125. package/version.d.ts +1 -1
  126. package/version.js +1 -1
@@ -90,7 +90,7 @@ class TestSuites {
90
90
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
91
91
  unrecognizedObjectKeys: "strip",
92
92
  })
93
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.0", "User-Agent": "vellum-ai/1.2.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),
93
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.2", "User-Agent": "vellum-ai/1.2.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
94
94
  contentType: "application/json",
95
95
  queryParameters: _queryParams,
96
96
  requestType: "json",
@@ -178,7 +178,7 @@ class TestSuites {
178
178
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
179
179
  unrecognizedObjectKeys: "strip",
180
180
  })
181
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.0", "User-Agent": "vellum-ai/1.2.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),
181
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.2", "User-Agent": "vellum-ai/1.2.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
182
182
  contentType: "application/json",
183
183
  requestType: "json",
184
184
  body: serializers.UpsertTestSuiteTestCaseRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -238,7 +238,7 @@ class TestSuites {
238
238
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
239
239
  unrecognizedObjectKeys: "strip",
240
240
  })
241
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.0", "User-Agent": "vellum-ai/1.2.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),
241
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.2", "User-Agent": "vellum-ai/1.2.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
242
242
  contentType: "application/x-ndjson",
243
243
  requestType: "json",
244
244
  body: serializers.testSuites.testSuiteTestCasesBulk.Request.jsonOrThrow(request, {
@@ -318,7 +318,7 @@ class TestSuites {
318
318
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
319
319
  unrecognizedObjectKeys: "strip",
320
320
  })
321
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.0", "User-Agent": "vellum-ai/1.2.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),
321
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.2", "User-Agent": "vellum-ai/1.2.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
322
322
  contentType: "application/json",
323
323
  requestType: "json",
324
324
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -97,7 +97,7 @@ class WorkflowDeployments {
97
97
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
98
98
  unrecognizedObjectKeys: "strip",
99
99
  })
100
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.0", "User-Agent": "vellum-ai/1.2.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),
100
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.2", "User-Agent": "vellum-ai/1.2.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
101
101
  contentType: "application/json",
102
102
  queryParameters: _queryParams,
103
103
  requestType: "json",
@@ -163,7 +163,7 @@ class WorkflowDeployments {
163
163
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
164
164
  unrecognizedObjectKeys: "strip",
165
165
  })
166
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.0", "User-Agent": "vellum-ai/1.2.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
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.2", "User-Agent": "vellum-ai/1.2.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
167
167
  contentType: "application/json",
168
168
  requestType: "json",
169
169
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -238,7 +238,7 @@ class WorkflowDeployments {
238
238
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
239
239
  unrecognizedObjectKeys: "strip",
240
240
  })
241
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.0", "User-Agent": "vellum-ai/1.2.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),
241
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.2", "User-Agent": "vellum-ai/1.2.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
242
242
  contentType: "application/json",
243
243
  queryParameters: _queryParams,
244
244
  requestType: "json",
@@ -303,7 +303,7 @@ class WorkflowDeployments {
303
303
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
304
304
  unrecognizedObjectKeys: "strip",
305
305
  })
306
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.0", "User-Agent": "vellum-ai/1.2.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),
306
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.2", "User-Agent": "vellum-ai/1.2.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
307
307
  contentType: "application/json",
308
308
  requestType: "json",
309
309
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -370,7 +370,7 @@ class WorkflowDeployments {
370
370
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
371
371
  unrecognizedObjectKeys: "strip",
372
372
  })
373
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.0", "User-Agent": "vellum-ai/1.2.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),
373
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.2", "User-Agent": "vellum-ai/1.2.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
374
374
  contentType: "application/json",
375
375
  requestType: "json",
376
376
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -452,7 +452,7 @@ class WorkflowDeployments {
452
452
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
453
453
  unrecognizedObjectKeys: "strip",
454
454
  })
455
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.0", "User-Agent": "vellum-ai/1.2.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),
455
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.2", "User-Agent": "vellum-ai/1.2.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
456
456
  contentType: "application/json",
457
457
  queryParameters: _queryParams,
458
458
  requestType: "json",
@@ -519,7 +519,7 @@ class WorkflowDeployments {
519
519
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
520
520
  unrecognizedObjectKeys: "strip",
521
521
  })
522
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.0", "User-Agent": "vellum-ai/1.2.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),
522
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.2", "User-Agent": "vellum-ai/1.2.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
523
523
  contentType: "application/json",
524
524
  requestType: "json",
525
525
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -586,7 +586,7 @@ class WorkflowDeployments {
586
586
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
587
587
  unrecognizedObjectKeys: "strip",
588
588
  })
589
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.0", "User-Agent": "vellum-ai/1.2.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),
589
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.2", "User-Agent": "vellum-ai/1.2.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
590
590
  contentType: "application/json",
591
591
  requestType: "json",
592
592
  body: serializers.PatchedWorkflowReleaseTagUpdateRequest.jsonOrThrow(request, {
@@ -655,7 +655,7 @@ class WorkflowDeployments {
655
655
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
656
656
  unrecognizedObjectKeys: "strip",
657
657
  })
658
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.0", "User-Agent": "vellum-ai/1.2.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),
658
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.2", "User-Agent": "vellum-ai/1.2.2", "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,
@@ -79,7 +79,7 @@ class WorkflowExecutions {
79
79
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
80
80
  unrecognizedObjectKeys: "strip",
81
81
  })
82
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.0", "User-Agent": "vellum-ai/1.2.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),
82
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.2", "User-Agent": "vellum-ai/1.2.2", "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
83
  contentType: "application/json",
84
84
  requestType: "json",
85
85
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -81,7 +81,7 @@ class WorkflowSandboxes {
81
81
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
82
82
  unrecognizedObjectKeys: "strip",
83
83
  })
84
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.0", "User-Agent": "vellum-ai/1.2.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
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.2", "User-Agent": "vellum-ai/1.2.2", "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.DeploySandboxWorkflowRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -163,7 +163,7 @@ class WorkflowSandboxes {
163
163
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
164
164
  unrecognizedObjectKeys: "strip",
165
165
  })
166
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.0", "User-Agent": "vellum-ai/1.2.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
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.2", "User-Agent": "vellum-ai/1.2.2", "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
  queryParameters: _queryParams,
169
169
  requestType: "json",
@@ -94,7 +94,7 @@ class Workflows {
94
94
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
95
95
  unrecognizedObjectKeys: "strip",
96
96
  })
97
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.0", "User-Agent": "vellum-ai/1.2.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),
97
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.2", "User-Agent": "vellum-ai/1.2.2", "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),
98
98
  contentType: "application/json",
99
99
  queryParameters: _queryParams,
100
100
  requestType: "json",
@@ -174,7 +174,7 @@ class Workflows {
174
174
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
175
175
  unrecognizedObjectKeys: "strip",
176
176
  })
177
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.0", "User-Agent": "vellum-ai/1.2.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),
177
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.2", "User-Agent": "vellum-ai/1.2.2", "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),
178
178
  requestType: "file",
179
179
  duplex: _maybeEncodedRequest.duplex,
180
180
  body: _maybeEncodedRequest.body,
@@ -81,7 +81,7 @@ class WorkspaceSecrets {
81
81
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
82
82
  unrecognizedObjectKeys: "strip",
83
83
  })
84
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.0", "User-Agent": "vellum-ai/1.2.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
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.2", "User-Agent": "vellum-ai/1.2.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
85
85
  contentType: "application/json",
86
86
  requestType: "json",
87
87
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -147,7 +147,7 @@ class WorkspaceSecrets {
147
147
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
148
148
  unrecognizedObjectKeys: "strip",
149
149
  })
150
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.0", "User-Agent": "vellum-ai/1.2.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),
150
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.2", "User-Agent": "vellum-ai/1.2.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
151
151
  contentType: "application/json",
152
152
  requestType: "json",
153
153
  body: serializers.PatchedWorkspaceSecretUpdateRequest.jsonOrThrow(request, {
@@ -80,7 +80,7 @@ class Workspaces {
80
80
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
81
81
  unrecognizedObjectKeys: "strip",
82
82
  })
83
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.0", "User-Agent": "vellum-ai/1.2.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),
83
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.2", "User-Agent": "vellum-ai/1.2.2", "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,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface ErrorDetailResponse {
5
+ /** Message informing the user of the error. */
6
+ detail: string;
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,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * Response serializer for successful event creation.
6
+ */
7
+ export interface EventCreateResponse {
8
+ /** Indicates whether the event was published successfully. */
9
+ success?: boolean;
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 });
@@ -10,5 +10,5 @@ export interface ExecutionThinkingVellumValue {
10
10
  id: string;
11
11
  name: string;
12
12
  type: "THINKING";
13
- value: Vellum.StringVellumValue;
13
+ value?: Vellum.StringVellumValue | null;
14
14
  }
@@ -7,5 +7,5 @@ import * as Vellum from "../index";
7
7
  */
8
8
  export interface ThinkingVellumValue {
9
9
  type: "THINKING";
10
- value: Vellum.StringVellumValue;
10
+ value?: Vellum.StringVellumValue | null;
11
11
  }
@@ -7,5 +7,5 @@ import * as Vellum from "../index";
7
7
  */
8
8
  export interface ThinkingVellumValueRequest {
9
9
  type: "THINKING";
10
- value: Vellum.StringVellumValueRequest;
10
+ value?: Vellum.StringVellumValueRequest | null;
11
11
  }
@@ -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 WorkflowEvent = Vellum.NodeExecutionInitiatedEvent | Vellum.NodeExecutionStreamingEvent | Vellum.NodeExecutionFulfilledEvent | Vellum.NodeExecutionRejectedEvent | Vellum.NodeExecutionPausedEvent | Vellum.NodeExecutionResumedEvent | Vellum.WorkflowExecutionInitiatedEvent | Vellum.WorkflowExecutionStreamingEvent | Vellum.WorkflowExecutionRejectedEvent | Vellum.WorkflowExecutionFulfilledEvent | Vellum.WorkflowExecutionPausedEvent | Vellum.WorkflowExecutionResumedEvent | Vellum.WorkflowExecutionSnapshottedEvent;
@@ -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 });
@@ -95,9 +95,11 @@ export * from "./EntityVisibility";
95
95
  export * from "./EnvironmentEnum";
96
96
  export * from "./EphemeralPromptCacheConfig";
97
97
  export * from "./EphemeralPromptCacheConfigTypeEnum";
98
+ export * from "./ErrorDetailResponse";
98
99
  export * from "./ErrorInput";
99
100
  export * from "./ErrorVellumValue";
100
101
  export * from "./ErrorVellumValueRequest";
102
+ export * from "./EventCreateResponse";
101
103
  export * from "./ExecuteApiResponseJson";
102
104
  export * from "./ExecuteApiResponse";
103
105
  export * from "./ExecutePromptEvent";
@@ -535,6 +537,7 @@ export * from "./WorkflowDeploymentRelease";
535
537
  export * from "./WorkflowDeploymentReleaseWorkflowDeployment";
536
538
  export * from "./WorkflowDeploymentReleaseWorkflowVersion";
537
539
  export * from "./WorkflowError";
540
+ export * from "./WorkflowEvent";
538
541
  export * from "./WorkflowEventError";
539
542
  export * from "./WorkflowEventExecutionRead";
540
543
  export * from "./WorkflowExecutionActual";
@@ -111,9 +111,11 @@ __exportStar(require("./EntityVisibility"), exports);
111
111
  __exportStar(require("./EnvironmentEnum"), exports);
112
112
  __exportStar(require("./EphemeralPromptCacheConfig"), exports);
113
113
  __exportStar(require("./EphemeralPromptCacheConfigTypeEnum"), exports);
114
+ __exportStar(require("./ErrorDetailResponse"), exports);
114
115
  __exportStar(require("./ErrorInput"), exports);
115
116
  __exportStar(require("./ErrorVellumValue"), exports);
116
117
  __exportStar(require("./ErrorVellumValueRequest"), exports);
118
+ __exportStar(require("./EventCreateResponse"), exports);
117
119
  __exportStar(require("./ExecuteApiResponseJson"), exports);
118
120
  __exportStar(require("./ExecuteApiResponse"), exports);
119
121
  __exportStar(require("./ExecutePromptEvent"), exports);
@@ -551,6 +553,7 @@ __exportStar(require("./WorkflowDeploymentRelease"), exports);
551
553
  __exportStar(require("./WorkflowDeploymentReleaseWorkflowDeployment"), exports);
552
554
  __exportStar(require("./WorkflowDeploymentReleaseWorkflowVersion"), exports);
553
555
  __exportStar(require("./WorkflowError"), exports);
556
+ __exportStar(require("./WorkflowEvent"), exports);
554
557
  __exportStar(require("./WorkflowEventError"), exports);
555
558
  __exportStar(require("./WorkflowEventExecutionRead"), exports);
556
559
  __exportStar(require("./WorkflowExecutionActual"), exports);
@@ -0,0 +1,12 @@
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
+ export declare const ErrorDetailResponse: core.serialization.ObjectSchema<serializers.ErrorDetailResponse.Raw, Vellum.ErrorDetailResponse>;
8
+ export declare namespace ErrorDetailResponse {
9
+ interface Raw {
10
+ detail: string;
11
+ }
12
+ }
@@ -0,0 +1,43 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.ErrorDetailResponse = void 0;
40
+ const core = __importStar(require("../../core"));
41
+ exports.ErrorDetailResponse = core.serialization.object({
42
+ detail: core.serialization.string(),
43
+ });
@@ -0,0 +1,12 @@
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
+ export declare const EventCreateResponse: core.serialization.ObjectSchema<serializers.EventCreateResponse.Raw, Vellum.EventCreateResponse>;
8
+ export declare namespace EventCreateResponse {
9
+ interface Raw {
10
+ success?: boolean | null;
11
+ }
12
+ }
@@ -0,0 +1,43 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.EventCreateResponse = void 0;
40
+ const core = __importStar(require("../../core"));
41
+ exports.EventCreateResponse = core.serialization.object({
42
+ success: core.serialization.boolean().optional(),
43
+ });
@@ -11,6 +11,6 @@ export declare namespace ExecutionThinkingVellumValue {
11
11
  id: string;
12
12
  name: string;
13
13
  type: "THINKING";
14
- value: StringVellumValue.Raw;
14
+ value?: (StringVellumValue.Raw | null) | null;
15
15
  }
16
16
  }
@@ -43,5 +43,5 @@ exports.ExecutionThinkingVellumValue = core.serialization.object({
43
43
  id: core.serialization.string(),
44
44
  name: core.serialization.string(),
45
45
  type: core.serialization.stringLiteral("THINKING"),
46
- value: StringVellumValue_1.StringVellumValue,
46
+ value: StringVellumValue_1.StringVellumValue.optionalNullable(),
47
47
  });
@@ -9,6 +9,6 @@ export declare const ThinkingVellumValue: core.serialization.ObjectSchema<serial
9
9
  export declare namespace ThinkingVellumValue {
10
10
  interface Raw {
11
11
  type: "THINKING";
12
- value: StringVellumValue.Raw;
12
+ value?: (StringVellumValue.Raw | null) | null;
13
13
  }
14
14
  }
@@ -41,5 +41,5 @@ const core = __importStar(require("../../core"));
41
41
  const StringVellumValue_1 = require("./StringVellumValue");
42
42
  exports.ThinkingVellumValue = core.serialization.object({
43
43
  type: core.serialization.stringLiteral("THINKING"),
44
- value: StringVellumValue_1.StringVellumValue,
44
+ value: StringVellumValue_1.StringVellumValue.optionalNullable(),
45
45
  });
@@ -9,6 +9,6 @@ export declare const ThinkingVellumValueRequest: core.serialization.ObjectSchema
9
9
  export declare namespace ThinkingVellumValueRequest {
10
10
  interface Raw {
11
11
  type: "THINKING";
12
- value: StringVellumValueRequest.Raw;
12
+ value?: (StringVellumValueRequest.Raw | null) | null;
13
13
  }
14
14
  }
@@ -41,5 +41,5 @@ const core = __importStar(require("../../core"));
41
41
  const StringVellumValueRequest_1 = require("./StringVellumValueRequest");
42
42
  exports.ThinkingVellumValueRequest = core.serialization.object({
43
43
  type: core.serialization.stringLiteral("THINKING"),
44
- value: StringVellumValueRequest_1.StringVellumValueRequest,
44
+ value: StringVellumValueRequest_1.StringVellumValueRequest.optionalNullable(),
45
45
  });
@@ -0,0 +1,23 @@
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 { NodeExecutionInitiatedEvent } from "./NodeExecutionInitiatedEvent";
8
+ import { NodeExecutionStreamingEvent } from "./NodeExecutionStreamingEvent";
9
+ import { NodeExecutionFulfilledEvent } from "./NodeExecutionFulfilledEvent";
10
+ import { NodeExecutionRejectedEvent } from "./NodeExecutionRejectedEvent";
11
+ import { NodeExecutionPausedEvent } from "./NodeExecutionPausedEvent";
12
+ import { NodeExecutionResumedEvent } from "./NodeExecutionResumedEvent";
13
+ import { WorkflowExecutionInitiatedEvent } from "./WorkflowExecutionInitiatedEvent";
14
+ import { WorkflowExecutionStreamingEvent } from "./WorkflowExecutionStreamingEvent";
15
+ import { WorkflowExecutionRejectedEvent } from "./WorkflowExecutionRejectedEvent";
16
+ import { WorkflowExecutionFulfilledEvent } from "./WorkflowExecutionFulfilledEvent";
17
+ import { WorkflowExecutionPausedEvent } from "./WorkflowExecutionPausedEvent";
18
+ import { WorkflowExecutionResumedEvent } from "./WorkflowExecutionResumedEvent";
19
+ import { WorkflowExecutionSnapshottedEvent } from "./WorkflowExecutionSnapshottedEvent";
20
+ export declare const WorkflowEvent: core.serialization.Schema<serializers.WorkflowEvent.Raw, Vellum.WorkflowEvent>;
21
+ export declare namespace WorkflowEvent {
22
+ type Raw = NodeExecutionInitiatedEvent.Raw | NodeExecutionStreamingEvent.Raw | NodeExecutionFulfilledEvent.Raw | NodeExecutionRejectedEvent.Raw | NodeExecutionPausedEvent.Raw | NodeExecutionResumedEvent.Raw | WorkflowExecutionInitiatedEvent.Raw | WorkflowExecutionStreamingEvent.Raw | WorkflowExecutionRejectedEvent.Raw | WorkflowExecutionFulfilledEvent.Raw | WorkflowExecutionPausedEvent.Raw | WorkflowExecutionResumedEvent.Raw | WorkflowExecutionSnapshottedEvent.Raw;
23
+ }
@@ -0,0 +1,68 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.WorkflowEvent = void 0;
40
+ const core = __importStar(require("../../core"));
41
+ const NodeExecutionInitiatedEvent_1 = require("./NodeExecutionInitiatedEvent");
42
+ const NodeExecutionStreamingEvent_1 = require("./NodeExecutionStreamingEvent");
43
+ const NodeExecutionFulfilledEvent_1 = require("./NodeExecutionFulfilledEvent");
44
+ const NodeExecutionRejectedEvent_1 = require("./NodeExecutionRejectedEvent");
45
+ const NodeExecutionPausedEvent_1 = require("./NodeExecutionPausedEvent");
46
+ const NodeExecutionResumedEvent_1 = require("./NodeExecutionResumedEvent");
47
+ const WorkflowExecutionInitiatedEvent_1 = require("./WorkflowExecutionInitiatedEvent");
48
+ const WorkflowExecutionStreamingEvent_1 = require("./WorkflowExecutionStreamingEvent");
49
+ const WorkflowExecutionRejectedEvent_1 = require("./WorkflowExecutionRejectedEvent");
50
+ const WorkflowExecutionFulfilledEvent_1 = require("./WorkflowExecutionFulfilledEvent");
51
+ const WorkflowExecutionPausedEvent_1 = require("./WorkflowExecutionPausedEvent");
52
+ const WorkflowExecutionResumedEvent_1 = require("./WorkflowExecutionResumedEvent");
53
+ const WorkflowExecutionSnapshottedEvent_1 = require("./WorkflowExecutionSnapshottedEvent");
54
+ exports.WorkflowEvent = core.serialization.undiscriminatedUnion([
55
+ NodeExecutionInitiatedEvent_1.NodeExecutionInitiatedEvent,
56
+ NodeExecutionStreamingEvent_1.NodeExecutionStreamingEvent,
57
+ NodeExecutionFulfilledEvent_1.NodeExecutionFulfilledEvent,
58
+ NodeExecutionRejectedEvent_1.NodeExecutionRejectedEvent,
59
+ NodeExecutionPausedEvent_1.NodeExecutionPausedEvent,
60
+ NodeExecutionResumedEvent_1.NodeExecutionResumedEvent,
61
+ WorkflowExecutionInitiatedEvent_1.WorkflowExecutionInitiatedEvent,
62
+ WorkflowExecutionStreamingEvent_1.WorkflowExecutionStreamingEvent,
63
+ WorkflowExecutionRejectedEvent_1.WorkflowExecutionRejectedEvent,
64
+ WorkflowExecutionFulfilledEvent_1.WorkflowExecutionFulfilledEvent,
65
+ WorkflowExecutionPausedEvent_1.WorkflowExecutionPausedEvent,
66
+ WorkflowExecutionResumedEvent_1.WorkflowExecutionResumedEvent,
67
+ WorkflowExecutionSnapshottedEvent_1.WorkflowExecutionSnapshottedEvent,
68
+ ]);