vellum-ai 0.10.9 → 0.11.1

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 (123) hide show
  1. package/.mock/definition/__package__.yml +138 -0
  2. package/.mock/openapi/openapi.yml +156 -0
  3. package/Client.js +10 -10
  4. package/api/resources/adHoc/client/Client.js +1 -1
  5. package/api/resources/containerImages/client/Client.js +4 -4
  6. package/api/resources/deployments/client/Client.js +7 -7
  7. package/api/resources/documentIndexes/client/Client.js +8 -8
  8. package/api/resources/documents/client/Client.js +5 -5
  9. package/api/resources/folderEntities/client/Client.js +2 -2
  10. package/api/resources/metricDefinitions/client/Client.js +2 -2
  11. package/api/resources/mlModels/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 +6 -6
  16. package/api/resources/workflowSandboxes/client/Client.js +1 -1
  17. package/api/resources/workflows/client/Client.js +2 -2
  18. package/api/resources/workspaceSecrets/client/Client.js +2 -2
  19. package/api/types/TestSuiteRunExecConfig.d.ts +1 -1
  20. package/api/types/TestSuiteRunExecConfigRequest.d.ts +1 -1
  21. package/api/types/TestSuiteRunPromptSandboxHistoryItemExecConfig.d.ts +13 -0
  22. package/api/types/TestSuiteRunPromptSandboxHistoryItemExecConfig.js +5 -0
  23. package/api/types/TestSuiteRunPromptSandboxHistoryItemExecConfigData.d.ts +9 -0
  24. package/api/types/TestSuiteRunPromptSandboxHistoryItemExecConfigData.js +5 -0
  25. package/api/types/TestSuiteRunPromptSandboxHistoryItemExecConfigDataRequest.d.ts +9 -0
  26. package/api/types/TestSuiteRunPromptSandboxHistoryItemExecConfigDataRequest.js +5 -0
  27. package/api/types/TestSuiteRunPromptSandboxHistoryItemExecConfigRequest.d.ts +13 -0
  28. package/api/types/TestSuiteRunPromptSandboxHistoryItemExecConfigRequest.js +5 -0
  29. package/api/types/TestSuiteRunWorkflowSandboxHistoryItemExecConfig.d.ts +13 -0
  30. package/api/types/TestSuiteRunWorkflowSandboxHistoryItemExecConfig.js +5 -0
  31. package/api/types/TestSuiteRunWorkflowSandboxHistoryItemExecConfigData.d.ts +9 -0
  32. package/api/types/TestSuiteRunWorkflowSandboxHistoryItemExecConfigData.js +5 -0
  33. package/api/types/TestSuiteRunWorkflowSandboxHistoryItemExecConfigDataRequest.d.ts +9 -0
  34. package/api/types/TestSuiteRunWorkflowSandboxHistoryItemExecConfigDataRequest.js +5 -0
  35. package/api/types/TestSuiteRunWorkflowSandboxHistoryItemExecConfigRequest.d.ts +13 -0
  36. package/api/types/TestSuiteRunWorkflowSandboxHistoryItemExecConfigRequest.js +5 -0
  37. package/api/types/index.d.ts +8 -0
  38. package/api/types/index.js +8 -0
  39. package/dist/Client.js +10 -10
  40. package/dist/api/resources/adHoc/client/Client.js +1 -1
  41. package/dist/api/resources/containerImages/client/Client.js +4 -4
  42. package/dist/api/resources/deployments/client/Client.js +7 -7
  43. package/dist/api/resources/documentIndexes/client/Client.js +8 -8
  44. package/dist/api/resources/documents/client/Client.js +5 -5
  45. package/dist/api/resources/folderEntities/client/Client.js +2 -2
  46. package/dist/api/resources/metricDefinitions/client/Client.js +2 -2
  47. package/dist/api/resources/mlModels/client/Client.js +1 -1
  48. package/dist/api/resources/sandboxes/client/Client.js +3 -3
  49. package/dist/api/resources/testSuiteRuns/client/Client.js +3 -3
  50. package/dist/api/resources/testSuites/client/Client.js +4 -4
  51. package/dist/api/resources/workflowDeployments/client/Client.js +6 -6
  52. package/dist/api/resources/workflowSandboxes/client/Client.js +1 -1
  53. package/dist/api/resources/workflows/client/Client.js +2 -2
  54. package/dist/api/resources/workspaceSecrets/client/Client.js +2 -2
  55. package/dist/api/types/TestSuiteRunExecConfig.d.ts +1 -1
  56. package/dist/api/types/TestSuiteRunExecConfigRequest.d.ts +1 -1
  57. package/dist/api/types/TestSuiteRunPromptSandboxHistoryItemExecConfig.d.ts +13 -0
  58. package/dist/api/types/TestSuiteRunPromptSandboxHistoryItemExecConfig.js +5 -0
  59. package/dist/api/types/TestSuiteRunPromptSandboxHistoryItemExecConfigData.d.ts +9 -0
  60. package/dist/api/types/TestSuiteRunPromptSandboxHistoryItemExecConfigData.js +5 -0
  61. package/dist/api/types/TestSuiteRunPromptSandboxHistoryItemExecConfigDataRequest.d.ts +9 -0
  62. package/dist/api/types/TestSuiteRunPromptSandboxHistoryItemExecConfigDataRequest.js +5 -0
  63. package/dist/api/types/TestSuiteRunPromptSandboxHistoryItemExecConfigRequest.d.ts +13 -0
  64. package/dist/api/types/TestSuiteRunPromptSandboxHistoryItemExecConfigRequest.js +5 -0
  65. package/dist/api/types/TestSuiteRunWorkflowSandboxHistoryItemExecConfig.d.ts +13 -0
  66. package/dist/api/types/TestSuiteRunWorkflowSandboxHistoryItemExecConfig.js +5 -0
  67. package/dist/api/types/TestSuiteRunWorkflowSandboxHistoryItemExecConfigData.d.ts +9 -0
  68. package/dist/api/types/TestSuiteRunWorkflowSandboxHistoryItemExecConfigData.js +5 -0
  69. package/dist/api/types/TestSuiteRunWorkflowSandboxHistoryItemExecConfigDataRequest.d.ts +9 -0
  70. package/dist/api/types/TestSuiteRunWorkflowSandboxHistoryItemExecConfigDataRequest.js +5 -0
  71. package/dist/api/types/TestSuiteRunWorkflowSandboxHistoryItemExecConfigRequest.d.ts +13 -0
  72. package/dist/api/types/TestSuiteRunWorkflowSandboxHistoryItemExecConfigRequest.js +5 -0
  73. package/dist/api/types/index.d.ts +8 -0
  74. package/dist/api/types/index.js +8 -0
  75. package/dist/serialization/types/TestSuiteRunExecConfig.d.ts +3 -1
  76. package/dist/serialization/types/TestSuiteRunExecConfig.js +4 -0
  77. package/dist/serialization/types/TestSuiteRunExecConfigRequest.d.ts +3 -1
  78. package/dist/serialization/types/TestSuiteRunExecConfigRequest.js +4 -0
  79. package/dist/serialization/types/TestSuiteRunPromptSandboxHistoryItemExecConfig.d.ts +15 -0
  80. package/dist/serialization/types/TestSuiteRunPromptSandboxHistoryItemExecConfig.js +36 -0
  81. package/dist/serialization/types/TestSuiteRunPromptSandboxHistoryItemExecConfigData.d.ts +13 -0
  82. package/dist/serialization/types/TestSuiteRunPromptSandboxHistoryItemExecConfigData.js +34 -0
  83. package/dist/serialization/types/TestSuiteRunPromptSandboxHistoryItemExecConfigDataRequest.d.ts +13 -0
  84. package/dist/serialization/types/TestSuiteRunPromptSandboxHistoryItemExecConfigDataRequest.js +34 -0
  85. package/dist/serialization/types/TestSuiteRunPromptSandboxHistoryItemExecConfigRequest.d.ts +15 -0
  86. package/dist/serialization/types/TestSuiteRunPromptSandboxHistoryItemExecConfigRequest.js +36 -0
  87. package/dist/serialization/types/TestSuiteRunWorkflowSandboxHistoryItemExecConfig.d.ts +15 -0
  88. package/dist/serialization/types/TestSuiteRunWorkflowSandboxHistoryItemExecConfig.js +36 -0
  89. package/dist/serialization/types/TestSuiteRunWorkflowSandboxHistoryItemExecConfigData.d.ts +13 -0
  90. package/dist/serialization/types/TestSuiteRunWorkflowSandboxHistoryItemExecConfigData.js +34 -0
  91. package/dist/serialization/types/TestSuiteRunWorkflowSandboxHistoryItemExecConfigDataRequest.d.ts +13 -0
  92. package/dist/serialization/types/TestSuiteRunWorkflowSandboxHistoryItemExecConfigDataRequest.js +34 -0
  93. package/dist/serialization/types/TestSuiteRunWorkflowSandboxHistoryItemExecConfigRequest.d.ts +15 -0
  94. package/dist/serialization/types/TestSuiteRunWorkflowSandboxHistoryItemExecConfigRequest.js +36 -0
  95. package/dist/serialization/types/index.d.ts +8 -0
  96. package/dist/serialization/types/index.js +8 -0
  97. package/dist/version.d.ts +1 -1
  98. package/dist/version.js +1 -1
  99. package/package.json +1 -1
  100. package/serialization/types/TestSuiteRunExecConfig.d.ts +3 -1
  101. package/serialization/types/TestSuiteRunExecConfig.js +4 -0
  102. package/serialization/types/TestSuiteRunExecConfigRequest.d.ts +3 -1
  103. package/serialization/types/TestSuiteRunExecConfigRequest.js +4 -0
  104. package/serialization/types/TestSuiteRunPromptSandboxHistoryItemExecConfig.d.ts +15 -0
  105. package/serialization/types/TestSuiteRunPromptSandboxHistoryItemExecConfig.js +36 -0
  106. package/serialization/types/TestSuiteRunPromptSandboxHistoryItemExecConfigData.d.ts +13 -0
  107. package/serialization/types/TestSuiteRunPromptSandboxHistoryItemExecConfigData.js +34 -0
  108. package/serialization/types/TestSuiteRunPromptSandboxHistoryItemExecConfigDataRequest.d.ts +13 -0
  109. package/serialization/types/TestSuiteRunPromptSandboxHistoryItemExecConfigDataRequest.js +34 -0
  110. package/serialization/types/TestSuiteRunPromptSandboxHistoryItemExecConfigRequest.d.ts +15 -0
  111. package/serialization/types/TestSuiteRunPromptSandboxHistoryItemExecConfigRequest.js +36 -0
  112. package/serialization/types/TestSuiteRunWorkflowSandboxHistoryItemExecConfig.d.ts +15 -0
  113. package/serialization/types/TestSuiteRunWorkflowSandboxHistoryItemExecConfig.js +36 -0
  114. package/serialization/types/TestSuiteRunWorkflowSandboxHistoryItemExecConfigData.d.ts +13 -0
  115. package/serialization/types/TestSuiteRunWorkflowSandboxHistoryItemExecConfigData.js +34 -0
  116. package/serialization/types/TestSuiteRunWorkflowSandboxHistoryItemExecConfigDataRequest.d.ts +13 -0
  117. package/serialization/types/TestSuiteRunWorkflowSandboxHistoryItemExecConfigDataRequest.js +34 -0
  118. package/serialization/types/TestSuiteRunWorkflowSandboxHistoryItemExecConfigRequest.d.ts +15 -0
  119. package/serialization/types/TestSuiteRunWorkflowSandboxHistoryItemExecConfigRequest.js +36 -0
  120. package/serialization/types/index.d.ts +8 -0
  121. package/serialization/types/index.js +8 -0
  122. package/version.d.ts +1 -1
  123. package/version.js +1 -1
@@ -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.10.9", "User-Agent": "vellum-ai/v0.10.9", "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.11.1", "User-Agent": "vellum-ai/0.11.1", "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.10.9", "User-Agent": "vellum-ai/v0.10.9", "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.11.1", "User-Agent": "vellum-ai/0.11.1", "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)}/history/${encodeURIComponent(historyIdOrReleaseTag)}`),
186
186
  method: "GET",
187
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "v0.10.9", "User-Agent": "vellum-ai/v0.10.9", "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.11.1", "User-Agent": "vellum-ai/0.11.1", "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,
@@ -251,7 +251,7 @@ class WorkflowDeployments {
251
251
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
252
252
  .default, `v1/workflow-deployments/${encodeURIComponent(id)}/release-tags`),
253
253
  method: "GET",
254
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "v0.10.9", "User-Agent": "vellum-ai/v0.10.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
254
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.11.1", "User-Agent": "vellum-ai/0.11.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
255
255
  contentType: "application/json",
256
256
  queryParameters: _queryParams,
257
257
  requestType: "json",
@@ -305,7 +305,7 @@ class WorkflowDeployments {
305
305
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
306
306
  .default, `v1/workflow-deployments/${encodeURIComponent(id)}/release-tags/${encodeURIComponent(name)}`),
307
307
  method: "GET",
308
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "v0.10.9", "User-Agent": "vellum-ai/v0.10.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
308
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.11.1", "User-Agent": "vellum-ai/0.11.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
309
309
  contentType: "application/json",
310
310
  requestType: "json",
311
311
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -359,7 +359,7 @@ class WorkflowDeployments {
359
359
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
360
360
  .default, `v1/workflow-deployments/${encodeURIComponent(id)}/release-tags/${encodeURIComponent(name)}`),
361
361
  method: "PATCH",
362
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "v0.10.9", "User-Agent": "vellum-ai/v0.10.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
362
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.11.1", "User-Agent": "vellum-ai/0.11.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
363
363
  contentType: "application/json",
364
364
  requestType: "json",
365
365
  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.10.9", "User-Agent": "vellum-ai/v0.10.9", "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.11.1", "User-Agent": "vellum-ai/0.11.1", "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" }),
@@ -65,7 +65,7 @@ class Workflows {
65
65
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
66
66
  .default, `v1/workflows/${encodeURIComponent(id)}/pull`),
67
67
  method: "GET",
68
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "v0.10.9", "User-Agent": "vellum-ai/v0.10.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
68
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.11.1", "User-Agent": "vellum-ai/0.11.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
69
69
  contentType: "application/json",
70
70
  queryParameters: _queryParams,
71
71
  requestType: "json",
@@ -136,7 +136,7 @@ class Workflows {
136
136
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
137
137
  .default, "v1/workflows/push"),
138
138
  method: "POST",
139
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "v0.10.9", "User-Agent": "vellum-ai/v0.10.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), _maybeEncodedRequest.headers),
139
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.11.1", "User-Agent": "vellum-ai/0.11.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), _maybeEncodedRequest.headers),
140
140
  requestType: "file",
141
141
  duplex: _maybeEncodedRequest.duplex,
142
142
  body: _maybeEncodedRequest.body,
@@ -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.10.9", "User-Agent": "vellum-ai/v0.10.9", "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.11.1", "User-Agent": "vellum-ai/0.11.1", "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.10.9", "User-Agent": "vellum-ai/v0.10.9", "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.11.1", "User-Agent": "vellum-ai/0.11.1", "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 TestSuiteRunExecConfig = Vellum.TestSuiteRunDeploymentReleaseTagExecConfig | Vellum.TestSuiteRunWorkflowReleaseTagExecConfig | Vellum.TestSuiteRunExternalExecConfig;
5
+ export declare type TestSuiteRunExecConfig = Vellum.TestSuiteRunDeploymentReleaseTagExecConfig | Vellum.TestSuiteRunPromptSandboxHistoryItemExecConfig | Vellum.TestSuiteRunWorkflowReleaseTagExecConfig | Vellum.TestSuiteRunWorkflowSandboxHistoryItemExecConfig | Vellum.TestSuiteRunExternalExecConfig;
@@ -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 TestSuiteRunExecConfigRequest = Vellum.TestSuiteRunDeploymentReleaseTagExecConfigRequest | Vellum.TestSuiteRunWorkflowReleaseTagExecConfigRequest | Vellum.TestSuiteRunExternalExecConfigRequest;
5
+ export declare type TestSuiteRunExecConfigRequest = Vellum.TestSuiteRunDeploymentReleaseTagExecConfigRequest | Vellum.TestSuiteRunPromptSandboxHistoryItemExecConfigRequest | Vellum.TestSuiteRunWorkflowReleaseTagExecConfigRequest | Vellum.TestSuiteRunWorkflowSandboxHistoryItemExecConfigRequest | Vellum.TestSuiteRunExternalExecConfigRequest;
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vellum from "../index";
5
+ /**
6
+ * Execution configuration for running a Test Suite against a Prompt Sandbox History Item
7
+ */
8
+ export interface TestSuiteRunPromptSandboxHistoryItemExecConfig {
9
+ type: "PROMPT_SANDBOX_HISTORY_ITEM";
10
+ data: Vellum.TestSuiteRunPromptSandboxHistoryItemExecConfigData;
11
+ /** Optionally specify a subset of test case ids to run. If not provided, all test cases within the test suite will be run by default. */
12
+ testCaseIds?: string[];
13
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface TestSuiteRunPromptSandboxHistoryItemExecConfigData {
5
+ /** The ID of the Prompt Sandbox History Item that the Test Suite will run against. */
6
+ historyItemId: string;
7
+ /** The ID of the Prompt Variant within the Prompt Sandbox History Item that you'd like to run the Test Suite against. */
8
+ promptVariantId: string;
9
+ }
@@ -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,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface TestSuiteRunPromptSandboxHistoryItemExecConfigDataRequest {
5
+ /** The ID of the Prompt Sandbox History Item that the Test Suite will run against. */
6
+ historyItemId: string;
7
+ /** The ID of the Prompt Variant within the Prompt Sandbox History Item that you'd like to run the Test Suite against. */
8
+ promptVariantId: string;
9
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vellum from "../index";
5
+ /**
6
+ * Execution configuration for running a Test Suite against a Prompt Sandbox History Item
7
+ */
8
+ export interface TestSuiteRunPromptSandboxHistoryItemExecConfigRequest {
9
+ type: "PROMPT_SANDBOX_HISTORY_ITEM";
10
+ data: Vellum.TestSuiteRunPromptSandboxHistoryItemExecConfigDataRequest;
11
+ /** Optionally specify a subset of test case ids to run. If not provided, all test cases within the test suite will be run by default. */
12
+ testCaseIds?: string[];
13
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vellum from "../index";
5
+ /**
6
+ * Execution configuration for running a Test Suite against a Workflow Sandbox History Item
7
+ */
8
+ export interface TestSuiteRunWorkflowSandboxHistoryItemExecConfig {
9
+ type: "WORKFLOW_SANDBOX_HISTORY_ITEM";
10
+ data: Vellum.TestSuiteRunWorkflowSandboxHistoryItemExecConfigData;
11
+ /** Optionally specify a subset of test case ids to run. If not provided, all test cases within the test suite will be run by default. */
12
+ testCaseIds?: string[];
13
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface TestSuiteRunWorkflowSandboxHistoryItemExecConfigData {
5
+ /** The ID of the Workflow Sandbox History Item that the Test Suite will run against. */
6
+ historyItemId: string;
7
+ /** The ID of the Workflow Variant within the Workflow Sandbox History Item that you'd like to run the Test Suite against. */
8
+ workflowVariantId: string;
9
+ }
@@ -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,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface TestSuiteRunWorkflowSandboxHistoryItemExecConfigDataRequest {
5
+ /** The ID of the Workflow Sandbox History Item that the Test Suite will run against. */
6
+ historyItemId: string;
7
+ /** The ID of the Workflow Variant within the Workflow Sandbox History Item that you'd like to run the Test Suite against. */
8
+ workflowVariantId: string;
9
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vellum from "../index";
5
+ /**
6
+ * Execution configuration for running a Test Suite against a Workflow Sandbox History Item
7
+ */
8
+ export interface TestSuiteRunWorkflowSandboxHistoryItemExecConfigRequest {
9
+ type: "WORKFLOW_SANDBOX_HISTORY_ITEM";
10
+ data: Vellum.TestSuiteRunWorkflowSandboxHistoryItemExecConfigDataRequest;
11
+ /** Optionally specify a subset of test case ids to run. If not provided, all test cases within the test suite will be run by default. */
12
+ testCaseIds?: string[];
13
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -390,6 +390,10 @@ export * from "./TestSuiteRunMetricJsonOutput";
390
390
  export * from "./TestSuiteRunMetricNumberOutput";
391
391
  export * from "./TestSuiteRunMetricOutput";
392
392
  export * from "./TestSuiteRunMetricStringOutput";
393
+ export * from "./TestSuiteRunPromptSandboxHistoryItemExecConfig";
394
+ export * from "./TestSuiteRunPromptSandboxHistoryItemExecConfigData";
395
+ export * from "./TestSuiteRunPromptSandboxHistoryItemExecConfigDataRequest";
396
+ export * from "./TestSuiteRunPromptSandboxHistoryItemExecConfigRequest";
393
397
  export * from "./TestSuiteRunRead";
394
398
  export * from "./TestSuiteRunState";
395
399
  export * from "./TestSuiteRunTestSuite";
@@ -397,6 +401,10 @@ export * from "./TestSuiteRunWorkflowReleaseTagExecConfig";
397
401
  export * from "./TestSuiteRunWorkflowReleaseTagExecConfigData";
398
402
  export * from "./TestSuiteRunWorkflowReleaseTagExecConfigDataRequest";
399
403
  export * from "./TestSuiteRunWorkflowReleaseTagExecConfigRequest";
404
+ export * from "./TestSuiteRunWorkflowSandboxHistoryItemExecConfig";
405
+ export * from "./TestSuiteRunWorkflowSandboxHistoryItemExecConfigData";
406
+ export * from "./TestSuiteRunWorkflowSandboxHistoryItemExecConfigDataRequest";
407
+ export * from "./TestSuiteRunWorkflowSandboxHistoryItemExecConfigRequest";
400
408
  export * from "./TestSuiteTestCase";
401
409
  export * from "./TestSuiteTestCaseBulkOperationRequest";
402
410
  export * from "./TestSuiteTestCaseBulkResult";
@@ -406,6 +406,10 @@ __exportStar(require("./TestSuiteRunMetricJsonOutput"), exports);
406
406
  __exportStar(require("./TestSuiteRunMetricNumberOutput"), exports);
407
407
  __exportStar(require("./TestSuiteRunMetricOutput"), exports);
408
408
  __exportStar(require("./TestSuiteRunMetricStringOutput"), exports);
409
+ __exportStar(require("./TestSuiteRunPromptSandboxHistoryItemExecConfig"), exports);
410
+ __exportStar(require("./TestSuiteRunPromptSandboxHistoryItemExecConfigData"), exports);
411
+ __exportStar(require("./TestSuiteRunPromptSandboxHistoryItemExecConfigDataRequest"), exports);
412
+ __exportStar(require("./TestSuiteRunPromptSandboxHistoryItemExecConfigRequest"), exports);
409
413
  __exportStar(require("./TestSuiteRunRead"), exports);
410
414
  __exportStar(require("./TestSuiteRunState"), exports);
411
415
  __exportStar(require("./TestSuiteRunTestSuite"), exports);
@@ -413,6 +417,10 @@ __exportStar(require("./TestSuiteRunWorkflowReleaseTagExecConfig"), exports);
413
417
  __exportStar(require("./TestSuiteRunWorkflowReleaseTagExecConfigData"), exports);
414
418
  __exportStar(require("./TestSuiteRunWorkflowReleaseTagExecConfigDataRequest"), exports);
415
419
  __exportStar(require("./TestSuiteRunWorkflowReleaseTagExecConfigRequest"), exports);
420
+ __exportStar(require("./TestSuiteRunWorkflowSandboxHistoryItemExecConfig"), exports);
421
+ __exportStar(require("./TestSuiteRunWorkflowSandboxHistoryItemExecConfigData"), exports);
422
+ __exportStar(require("./TestSuiteRunWorkflowSandboxHistoryItemExecConfigDataRequest"), exports);
423
+ __exportStar(require("./TestSuiteRunWorkflowSandboxHistoryItemExecConfigRequest"), exports);
416
424
  __exportStar(require("./TestSuiteTestCase"), exports);
417
425
  __exportStar(require("./TestSuiteTestCaseBulkOperationRequest"), exports);
418
426
  __exportStar(require("./TestSuiteTestCaseBulkResult"), exports);
@@ -5,9 +5,11 @@ import * as serializers from "../index";
5
5
  import * as Vellum from "../../api/index";
6
6
  import * as core from "../../core";
7
7
  import { TestSuiteRunDeploymentReleaseTagExecConfig } from "./TestSuiteRunDeploymentReleaseTagExecConfig";
8
+ import { TestSuiteRunPromptSandboxHistoryItemExecConfig } from "./TestSuiteRunPromptSandboxHistoryItemExecConfig";
8
9
  import { TestSuiteRunWorkflowReleaseTagExecConfig } from "./TestSuiteRunWorkflowReleaseTagExecConfig";
10
+ import { TestSuiteRunWorkflowSandboxHistoryItemExecConfig } from "./TestSuiteRunWorkflowSandboxHistoryItemExecConfig";
9
11
  import { TestSuiteRunExternalExecConfig } from "./TestSuiteRunExternalExecConfig";
10
12
  export declare const TestSuiteRunExecConfig: core.serialization.Schema<serializers.TestSuiteRunExecConfig.Raw, Vellum.TestSuiteRunExecConfig>;
11
13
  export declare namespace TestSuiteRunExecConfig {
12
- type Raw = TestSuiteRunDeploymentReleaseTagExecConfig.Raw | TestSuiteRunWorkflowReleaseTagExecConfig.Raw | TestSuiteRunExternalExecConfig.Raw;
14
+ type Raw = TestSuiteRunDeploymentReleaseTagExecConfig.Raw | TestSuiteRunPromptSandboxHistoryItemExecConfig.Raw | TestSuiteRunWorkflowReleaseTagExecConfig.Raw | TestSuiteRunWorkflowSandboxHistoryItemExecConfig.Raw | TestSuiteRunExternalExecConfig.Raw;
13
15
  }
@@ -29,10 +29,14 @@ Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.TestSuiteRunExecConfig = void 0;
30
30
  const core = __importStar(require("../../core"));
31
31
  const TestSuiteRunDeploymentReleaseTagExecConfig_1 = require("./TestSuiteRunDeploymentReleaseTagExecConfig");
32
+ const TestSuiteRunPromptSandboxHistoryItemExecConfig_1 = require("./TestSuiteRunPromptSandboxHistoryItemExecConfig");
32
33
  const TestSuiteRunWorkflowReleaseTagExecConfig_1 = require("./TestSuiteRunWorkflowReleaseTagExecConfig");
34
+ const TestSuiteRunWorkflowSandboxHistoryItemExecConfig_1 = require("./TestSuiteRunWorkflowSandboxHistoryItemExecConfig");
33
35
  const TestSuiteRunExternalExecConfig_1 = require("./TestSuiteRunExternalExecConfig");
34
36
  exports.TestSuiteRunExecConfig = core.serialization.undiscriminatedUnion([
35
37
  TestSuiteRunDeploymentReleaseTagExecConfig_1.TestSuiteRunDeploymentReleaseTagExecConfig,
38
+ TestSuiteRunPromptSandboxHistoryItemExecConfig_1.TestSuiteRunPromptSandboxHistoryItemExecConfig,
36
39
  TestSuiteRunWorkflowReleaseTagExecConfig_1.TestSuiteRunWorkflowReleaseTagExecConfig,
40
+ TestSuiteRunWorkflowSandboxHistoryItemExecConfig_1.TestSuiteRunWorkflowSandboxHistoryItemExecConfig,
37
41
  TestSuiteRunExternalExecConfig_1.TestSuiteRunExternalExecConfig,
38
42
  ]);
@@ -5,9 +5,11 @@ import * as serializers from "../index";
5
5
  import * as Vellum from "../../api/index";
6
6
  import * as core from "../../core";
7
7
  import { TestSuiteRunDeploymentReleaseTagExecConfigRequest } from "./TestSuiteRunDeploymentReleaseTagExecConfigRequest";
8
+ import { TestSuiteRunPromptSandboxHistoryItemExecConfigRequest } from "./TestSuiteRunPromptSandboxHistoryItemExecConfigRequest";
8
9
  import { TestSuiteRunWorkflowReleaseTagExecConfigRequest } from "./TestSuiteRunWorkflowReleaseTagExecConfigRequest";
10
+ import { TestSuiteRunWorkflowSandboxHistoryItemExecConfigRequest } from "./TestSuiteRunWorkflowSandboxHistoryItemExecConfigRequest";
9
11
  import { TestSuiteRunExternalExecConfigRequest } from "./TestSuiteRunExternalExecConfigRequest";
10
12
  export declare const TestSuiteRunExecConfigRequest: core.serialization.Schema<serializers.TestSuiteRunExecConfigRequest.Raw, Vellum.TestSuiteRunExecConfigRequest>;
11
13
  export declare namespace TestSuiteRunExecConfigRequest {
12
- type Raw = TestSuiteRunDeploymentReleaseTagExecConfigRequest.Raw | TestSuiteRunWorkflowReleaseTagExecConfigRequest.Raw | TestSuiteRunExternalExecConfigRequest.Raw;
14
+ type Raw = TestSuiteRunDeploymentReleaseTagExecConfigRequest.Raw | TestSuiteRunPromptSandboxHistoryItemExecConfigRequest.Raw | TestSuiteRunWorkflowReleaseTagExecConfigRequest.Raw | TestSuiteRunWorkflowSandboxHistoryItemExecConfigRequest.Raw | TestSuiteRunExternalExecConfigRequest.Raw;
13
15
  }
@@ -29,10 +29,14 @@ Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.TestSuiteRunExecConfigRequest = void 0;
30
30
  const core = __importStar(require("../../core"));
31
31
  const TestSuiteRunDeploymentReleaseTagExecConfigRequest_1 = require("./TestSuiteRunDeploymentReleaseTagExecConfigRequest");
32
+ const TestSuiteRunPromptSandboxHistoryItemExecConfigRequest_1 = require("./TestSuiteRunPromptSandboxHistoryItemExecConfigRequest");
32
33
  const TestSuiteRunWorkflowReleaseTagExecConfigRequest_1 = require("./TestSuiteRunWorkflowReleaseTagExecConfigRequest");
34
+ const TestSuiteRunWorkflowSandboxHistoryItemExecConfigRequest_1 = require("./TestSuiteRunWorkflowSandboxHistoryItemExecConfigRequest");
33
35
  const TestSuiteRunExternalExecConfigRequest_1 = require("./TestSuiteRunExternalExecConfigRequest");
34
36
  exports.TestSuiteRunExecConfigRequest = core.serialization.undiscriminatedUnion([
35
37
  TestSuiteRunDeploymentReleaseTagExecConfigRequest_1.TestSuiteRunDeploymentReleaseTagExecConfigRequest,
38
+ TestSuiteRunPromptSandboxHistoryItemExecConfigRequest_1.TestSuiteRunPromptSandboxHistoryItemExecConfigRequest,
36
39
  TestSuiteRunWorkflowReleaseTagExecConfigRequest_1.TestSuiteRunWorkflowReleaseTagExecConfigRequest,
40
+ TestSuiteRunWorkflowSandboxHistoryItemExecConfigRequest_1.TestSuiteRunWorkflowSandboxHistoryItemExecConfigRequest,
37
41
  TestSuiteRunExternalExecConfigRequest_1.TestSuiteRunExternalExecConfigRequest,
38
42
  ]);
@@ -0,0 +1,15 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index";
5
+ import * as Vellum from "../../api/index";
6
+ import * as core from "../../core";
7
+ import { TestSuiteRunPromptSandboxHistoryItemExecConfigData } from "./TestSuiteRunPromptSandboxHistoryItemExecConfigData";
8
+ export declare const TestSuiteRunPromptSandboxHistoryItemExecConfig: core.serialization.ObjectSchema<serializers.TestSuiteRunPromptSandboxHistoryItemExecConfig.Raw, Vellum.TestSuiteRunPromptSandboxHistoryItemExecConfig>;
9
+ export declare namespace TestSuiteRunPromptSandboxHistoryItemExecConfig {
10
+ interface Raw {
11
+ type: "PROMPT_SANDBOX_HISTORY_ITEM";
12
+ data: TestSuiteRunPromptSandboxHistoryItemExecConfigData.Raw;
13
+ test_case_ids?: string[] | null;
14
+ }
15
+ }
@@ -0,0 +1,36 @@
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.TestSuiteRunPromptSandboxHistoryItemExecConfig = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ const TestSuiteRunPromptSandboxHistoryItemExecConfigData_1 = require("./TestSuiteRunPromptSandboxHistoryItemExecConfigData");
32
+ exports.TestSuiteRunPromptSandboxHistoryItemExecConfig = core.serialization.object({
33
+ type: core.serialization.stringLiteral("PROMPT_SANDBOX_HISTORY_ITEM"),
34
+ data: TestSuiteRunPromptSandboxHistoryItemExecConfigData_1.TestSuiteRunPromptSandboxHistoryItemExecConfigData,
35
+ testCaseIds: core.serialization.property("test_case_ids", core.serialization.list(core.serialization.string()).optional()),
36
+ });
@@ -0,0 +1,13 @@
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 TestSuiteRunPromptSandboxHistoryItemExecConfigData: core.serialization.ObjectSchema<serializers.TestSuiteRunPromptSandboxHistoryItemExecConfigData.Raw, Vellum.TestSuiteRunPromptSandboxHistoryItemExecConfigData>;
8
+ export declare namespace TestSuiteRunPromptSandboxHistoryItemExecConfigData {
9
+ interface Raw {
10
+ history_item_id: string;
11
+ prompt_variant_id: string;
12
+ }
13
+ }
@@ -0,0 +1,34 @@
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.TestSuiteRunPromptSandboxHistoryItemExecConfigData = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ exports.TestSuiteRunPromptSandboxHistoryItemExecConfigData = core.serialization.object({
32
+ historyItemId: core.serialization.property("history_item_id", core.serialization.string()),
33
+ promptVariantId: core.serialization.property("prompt_variant_id", core.serialization.string()),
34
+ });
@@ -0,0 +1,13 @@
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 TestSuiteRunPromptSandboxHistoryItemExecConfigDataRequest: core.serialization.ObjectSchema<serializers.TestSuiteRunPromptSandboxHistoryItemExecConfigDataRequest.Raw, Vellum.TestSuiteRunPromptSandboxHistoryItemExecConfigDataRequest>;
8
+ export declare namespace TestSuiteRunPromptSandboxHistoryItemExecConfigDataRequest {
9
+ interface Raw {
10
+ history_item_id: string;
11
+ prompt_variant_id: string;
12
+ }
13
+ }
@@ -0,0 +1,34 @@
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.TestSuiteRunPromptSandboxHistoryItemExecConfigDataRequest = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ exports.TestSuiteRunPromptSandboxHistoryItemExecConfigDataRequest = core.serialization.object({
32
+ historyItemId: core.serialization.property("history_item_id", core.serialization.string()),
33
+ promptVariantId: core.serialization.property("prompt_variant_id", core.serialization.string()),
34
+ });
@@ -0,0 +1,15 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index";
5
+ import * as Vellum from "../../api/index";
6
+ import * as core from "../../core";
7
+ import { TestSuiteRunPromptSandboxHistoryItemExecConfigDataRequest } from "./TestSuiteRunPromptSandboxHistoryItemExecConfigDataRequest";
8
+ export declare const TestSuiteRunPromptSandboxHistoryItemExecConfigRequest: core.serialization.ObjectSchema<serializers.TestSuiteRunPromptSandboxHistoryItemExecConfigRequest.Raw, Vellum.TestSuiteRunPromptSandboxHistoryItemExecConfigRequest>;
9
+ export declare namespace TestSuiteRunPromptSandboxHistoryItemExecConfigRequest {
10
+ interface Raw {
11
+ type: "PROMPT_SANDBOX_HISTORY_ITEM";
12
+ data: TestSuiteRunPromptSandboxHistoryItemExecConfigDataRequest.Raw;
13
+ test_case_ids?: string[] | null;
14
+ }
15
+ }
@@ -0,0 +1,36 @@
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.TestSuiteRunPromptSandboxHistoryItemExecConfigRequest = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ const TestSuiteRunPromptSandboxHistoryItemExecConfigDataRequest_1 = require("./TestSuiteRunPromptSandboxHistoryItemExecConfigDataRequest");
32
+ exports.TestSuiteRunPromptSandboxHistoryItemExecConfigRequest = core.serialization.object({
33
+ type: core.serialization.stringLiteral("PROMPT_SANDBOX_HISTORY_ITEM"),
34
+ data: TestSuiteRunPromptSandboxHistoryItemExecConfigDataRequest_1.TestSuiteRunPromptSandboxHistoryItemExecConfigDataRequest,
35
+ testCaseIds: core.serialization.property("test_case_ids", core.serialization.list(core.serialization.string()).optional()),
36
+ });