scorecard-ai 0.1.10 → 0.1.12

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 (229) hide show
  1. package/Client.d.ts +3 -0
  2. package/Client.js +5 -0
  3. package/README.md +1 -0
  4. package/api/resources/index.d.ts +2 -0
  5. package/api/resources/index.js +3 -1
  6. package/api/resources/run/client/Client.d.ts +12 -1
  7. package/api/resources/run/client/Client.js +15 -4
  8. package/api/resources/run/client/requests/RunCreateParams.d.ts +16 -1
  9. package/api/resources/score/client/Client.d.ts +44 -0
  10. package/api/resources/score/client/Client.js +239 -0
  11. package/api/resources/score/client/index.d.ts +1 -0
  12. package/api/resources/score/client/index.js +17 -0
  13. package/api/resources/score/client/requests/ScoreCreateParams.d.ts +15 -0
  14. package/api/resources/score/client/requests/ScoreUpdateParams.d.ts +12 -0
  15. package/api/resources/score/client/requests/index.d.ts +2 -0
  16. package/api/resources/score/client/requests/index.js +2 -0
  17. package/api/resources/score/index.d.ts +1 -0
  18. package/api/resources/score/index.js +17 -0
  19. package/api/resources/testcase/client/Client.d.ts +11 -0
  20. package/api/resources/testcase/client/Client.js +14 -3
  21. package/api/resources/testcase/client/requests/TestcaseCreateParams.d.ts +6 -0
  22. package/api/resources/testrecord/client/Client.d.ts +7 -1
  23. package/api/resources/testrecord/client/Client.js +9 -3
  24. package/api/resources/testrecord/client/requests/TestrecordCreateParams.d.ts +10 -3
  25. package/api/resources/testrecord/types/TestrecordCreateParamsModelDebugInfoValue.d.ts +4 -0
  26. package/api/resources/testrecord/types/TestrecordCreateParamsModelParamsValue.d.ts +4 -0
  27. package/api/resources/testrecord/types/index.d.ts +2 -0
  28. package/api/resources/testrecord/types/index.js +2 -0
  29. package/api/resources/testset/client/Client.d.ts +12 -4
  30. package/api/resources/testset/client/Client.js +23 -15
  31. package/api/resources/testset/client/requests/TestsetCreateParams.d.ts +8 -2
  32. package/api/resources/testset/client/requests/TestsetGetTestcasesRequest.d.ts +6 -2
  33. package/api/types/{LibDtoTypesCreateRunParams.d.ts → CreateGithubWorkflowParams.d.ts} +1 -1
  34. package/api/types/CreateRunParams.d.ts +1 -6
  35. package/{dist/api/types/CustomSchemaInput.d.ts → api/types/CustomSchema.d.ts} +1 -1
  36. package/api/types/Grade.d.ts +14 -0
  37. package/api/types/RunStatus.d.ts +2 -1
  38. package/api/types/RunStatus.js +1 -0
  39. package/api/types/TestRecordCreate.d.ts +1 -13
  40. package/api/types/TestSetCreate.d.ts +1 -5
  41. package/api/types/Testrecord.d.ts +7 -2
  42. package/api/types/TestrecordModelDebugInfoValue.d.ts +4 -0
  43. package/api/types/TestrecordModelParamsValue.d.ts +4 -0
  44. package/api/types/Testset.d.ts +1 -1
  45. package/api/types/index.d.ts +5 -6
  46. package/api/types/index.js +5 -6
  47. package/dist/Client.d.ts +3 -0
  48. package/dist/Client.js +5 -0
  49. package/dist/api/resources/index.d.ts +2 -0
  50. package/dist/api/resources/index.js +3 -1
  51. package/dist/api/resources/run/client/Client.d.ts +12 -1
  52. package/dist/api/resources/run/client/Client.js +15 -4
  53. package/dist/api/resources/run/client/requests/RunCreateParams.d.ts +16 -1
  54. package/dist/api/resources/score/client/Client.d.ts +44 -0
  55. package/dist/api/resources/score/client/Client.js +239 -0
  56. package/dist/api/resources/score/client/index.d.ts +1 -0
  57. package/dist/api/resources/score/client/index.js +17 -0
  58. package/dist/api/resources/score/client/requests/ScoreCreateParams.d.ts +15 -0
  59. package/dist/api/resources/score/client/requests/ScoreUpdateParams.d.ts +12 -0
  60. package/dist/api/resources/score/client/requests/index.d.ts +2 -0
  61. package/dist/api/resources/score/client/requests/index.js +2 -0
  62. package/dist/api/resources/score/index.d.ts +1 -0
  63. package/dist/api/resources/score/index.js +17 -0
  64. package/dist/api/resources/testcase/client/Client.d.ts +11 -0
  65. package/dist/api/resources/testcase/client/Client.js +14 -3
  66. package/dist/api/resources/testcase/client/requests/TestcaseCreateParams.d.ts +6 -0
  67. package/dist/api/resources/testrecord/client/Client.d.ts +7 -1
  68. package/dist/api/resources/testrecord/client/Client.js +9 -3
  69. package/dist/api/resources/testrecord/client/requests/TestrecordCreateParams.d.ts +10 -3
  70. package/dist/api/resources/testrecord/types/TestrecordCreateParamsModelDebugInfoValue.d.ts +4 -0
  71. package/dist/api/resources/testrecord/types/TestrecordCreateParamsModelParamsValue.d.ts +4 -0
  72. package/dist/api/resources/testrecord/types/TestrecordCreateParamsModelParamsValue.js +5 -0
  73. package/dist/api/resources/testrecord/types/index.d.ts +2 -0
  74. package/dist/api/resources/testrecord/types/index.js +2 -0
  75. package/dist/api/resources/testset/client/Client.d.ts +12 -4
  76. package/dist/api/resources/testset/client/Client.js +23 -15
  77. package/dist/api/resources/testset/client/requests/TestsetCreateParams.d.ts +8 -2
  78. package/dist/api/resources/testset/client/requests/TestsetGetTestcasesRequest.d.ts +6 -2
  79. package/dist/api/types/{LibDtoTypesTestSetCreate.d.ts → CreateGithubWorkflowParams.d.ts} +1 -1
  80. package/dist/api/types/CreateGithubWorkflowParams.js +5 -0
  81. package/dist/api/types/CreateRunParams.d.ts +1 -6
  82. package/{api/types/CustomSchemaInput.d.ts → dist/api/types/CustomSchema.d.ts} +1 -1
  83. package/dist/api/types/CustomSchema.js +5 -0
  84. package/dist/api/types/Grade.d.ts +14 -0
  85. package/dist/api/types/Grade.js +5 -0
  86. package/dist/api/types/RunStatus.d.ts +2 -1
  87. package/dist/api/types/RunStatus.js +1 -0
  88. package/dist/api/types/TestRecordCreate.d.ts +1 -13
  89. package/dist/api/types/TestSetCreate.d.ts +1 -5
  90. package/dist/api/types/Testrecord.d.ts +7 -2
  91. package/dist/api/types/TestrecordModelDebugInfoValue.d.ts +4 -0
  92. package/dist/api/types/TestrecordModelDebugInfoValue.js +5 -0
  93. package/dist/api/types/TestrecordModelParamsValue.d.ts +4 -0
  94. package/dist/api/types/TestrecordModelParamsValue.js +5 -0
  95. package/dist/api/types/Testset.d.ts +1 -1
  96. package/dist/api/types/index.d.ts +5 -6
  97. package/dist/api/types/index.js +5 -6
  98. package/dist/serialization/resources/index.d.ts +2 -0
  99. package/dist/serialization/resources/index.js +3 -1
  100. package/dist/serialization/resources/run/client/requests/RunCreateParams.d.ts +4 -1
  101. package/dist/serialization/resources/run/client/requests/RunCreateParams.js +4 -1
  102. package/dist/serialization/resources/score/client/index.d.ts +1 -0
  103. package/dist/serialization/resources/score/client/index.js +17 -0
  104. package/dist/serialization/resources/score/client/requests/ScoreCreateParams.d.ts +15 -0
  105. package/dist/serialization/resources/score/client/requests/ScoreCreateParams.js +36 -0
  106. package/dist/serialization/resources/score/client/requests/ScoreUpdateParams.d.ts +14 -0
  107. package/dist/serialization/resources/score/client/requests/ScoreUpdateParams.js +35 -0
  108. package/dist/serialization/resources/score/client/requests/index.d.ts +2 -0
  109. package/dist/serialization/resources/score/client/requests/index.js +7 -0
  110. package/dist/serialization/resources/score/index.d.ts +1 -0
  111. package/dist/serialization/resources/score/index.js +17 -0
  112. package/dist/serialization/resources/testrecord/client/requests/TestrecordCreateParams.d.ts +6 -3
  113. package/dist/serialization/resources/testrecord/client/requests/TestrecordCreateParams.js +14 -3
  114. package/dist/serialization/resources/testrecord/types/TestrecordCreateParamsModelDebugInfoValue.d.ts +10 -0
  115. package/dist/serialization/resources/testrecord/types/TestrecordCreateParamsModelDebugInfoValue.js +35 -0
  116. package/dist/serialization/resources/testrecord/types/TestrecordCreateParamsModelParamsValue.d.ts +10 -0
  117. package/dist/serialization/resources/testrecord/types/TestrecordCreateParamsModelParamsValue.js +35 -0
  118. package/dist/serialization/resources/testrecord/types/index.d.ts +2 -0
  119. package/dist/serialization/resources/testrecord/types/index.js +2 -0
  120. package/dist/serialization/resources/testset/client/requests/TestsetCreateParams.d.ts +2 -2
  121. package/dist/serialization/resources/testset/client/requests/TestsetCreateParams.js +2 -2
  122. package/dist/serialization/types/CreateGithubWorkflowParams.d.ts +10 -0
  123. package/{serialization/types/LibDtoTypesCreateRunParams.js → dist/serialization/types/CreateGithubWorkflowParams.js} +2 -2
  124. package/dist/serialization/types/CreateRunParams.d.ts +2 -7
  125. package/dist/serialization/types/CreateRunParams.js +1 -6
  126. package/{serialization/types/CustomSchemaInput.d.ts → dist/serialization/types/CustomSchema.d.ts} +2 -2
  127. package/{serialization/types/CustomSchemaInput.js → dist/serialization/types/CustomSchema.js} +2 -2
  128. package/dist/serialization/types/Grade.d.ts +20 -0
  129. package/dist/serialization/types/Grade.js +41 -0
  130. package/dist/serialization/types/RunStatus.d.ts +1 -1
  131. package/dist/serialization/types/RunStatus.js +1 -0
  132. package/dist/serialization/types/TestRecordCreate.d.ts +2 -14
  133. package/dist/serialization/types/TestRecordCreate.js +1 -13
  134. package/dist/serialization/types/TestSetCreate.d.ts +2 -6
  135. package/dist/serialization/types/TestSetCreate.js +1 -5
  136. package/dist/serialization/types/Testrecord.d.ts +7 -2
  137. package/dist/serialization/types/Testrecord.js +11 -2
  138. package/dist/serialization/types/TestrecordModelDebugInfoValue.d.ts +10 -0
  139. package/dist/serialization/types/{LibDtoTypesTestRecordCreate.js → TestrecordModelDebugInfoValue.js} +6 -2
  140. package/dist/serialization/types/TestrecordModelParamsValue.d.ts +10 -0
  141. package/dist/serialization/types/{BodyStartGithubWorkflowStartGithubWorkflowPost.js → TestrecordModelParamsValue.js} +6 -2
  142. package/dist/serialization/types/Testset.d.ts +1 -1
  143. package/dist/serialization/types/Testset.js +1 -1
  144. package/dist/serialization/types/index.d.ts +5 -6
  145. package/dist/serialization/types/index.js +5 -6
  146. package/package.json +1 -1
  147. package/serialization/resources/index.d.ts +2 -0
  148. package/serialization/resources/index.js +3 -1
  149. package/serialization/resources/run/client/requests/RunCreateParams.d.ts +4 -1
  150. package/serialization/resources/run/client/requests/RunCreateParams.js +4 -1
  151. package/serialization/resources/score/client/index.d.ts +1 -0
  152. package/serialization/resources/score/client/index.js +17 -0
  153. package/serialization/resources/score/client/requests/ScoreCreateParams.d.ts +15 -0
  154. package/serialization/resources/score/client/requests/ScoreCreateParams.js +36 -0
  155. package/serialization/resources/score/client/requests/ScoreUpdateParams.d.ts +14 -0
  156. package/serialization/resources/score/client/requests/ScoreUpdateParams.js +35 -0
  157. package/serialization/resources/score/client/requests/index.d.ts +2 -0
  158. package/serialization/resources/score/client/requests/index.js +7 -0
  159. package/serialization/resources/score/index.d.ts +1 -0
  160. package/serialization/resources/score/index.js +17 -0
  161. package/serialization/resources/testrecord/client/requests/TestrecordCreateParams.d.ts +6 -3
  162. package/serialization/resources/testrecord/client/requests/TestrecordCreateParams.js +14 -3
  163. package/serialization/resources/testrecord/types/TestrecordCreateParamsModelDebugInfoValue.d.ts +10 -0
  164. package/serialization/resources/testrecord/types/TestrecordCreateParamsModelDebugInfoValue.js +35 -0
  165. package/serialization/resources/testrecord/types/TestrecordCreateParamsModelParamsValue.d.ts +10 -0
  166. package/serialization/resources/testrecord/types/TestrecordCreateParamsModelParamsValue.js +35 -0
  167. package/serialization/resources/testrecord/types/index.d.ts +2 -0
  168. package/serialization/resources/testrecord/types/index.js +2 -0
  169. package/serialization/resources/testset/client/requests/TestsetCreateParams.d.ts +2 -2
  170. package/serialization/resources/testset/client/requests/TestsetCreateParams.js +2 -2
  171. package/serialization/types/CreateGithubWorkflowParams.d.ts +10 -0
  172. package/{dist/serialization/types/LibDtoTypesCreateRunParams.js → serialization/types/CreateGithubWorkflowParams.js} +2 -2
  173. package/serialization/types/CreateRunParams.d.ts +2 -7
  174. package/serialization/types/CreateRunParams.js +1 -6
  175. package/{dist/serialization/types/CustomSchemaInput.d.ts → serialization/types/CustomSchema.d.ts} +2 -2
  176. package/{dist/serialization/types/CustomSchemaInput.js → serialization/types/CustomSchema.js} +2 -2
  177. package/serialization/types/Grade.d.ts +20 -0
  178. package/serialization/types/Grade.js +41 -0
  179. package/serialization/types/RunStatus.d.ts +1 -1
  180. package/serialization/types/RunStatus.js +1 -0
  181. package/serialization/types/TestRecordCreate.d.ts +2 -14
  182. package/serialization/types/TestRecordCreate.js +1 -13
  183. package/serialization/types/TestSetCreate.d.ts +2 -6
  184. package/serialization/types/TestSetCreate.js +1 -5
  185. package/serialization/types/Testrecord.d.ts +7 -2
  186. package/serialization/types/Testrecord.js +11 -2
  187. package/serialization/types/TestrecordModelDebugInfoValue.d.ts +10 -0
  188. package/serialization/types/TestrecordModelDebugInfoValue.js +35 -0
  189. package/serialization/types/TestrecordModelParamsValue.d.ts +10 -0
  190. package/{dist/serialization/types/LibDtoTypesTestSetCreate.js → serialization/types/TestrecordModelParamsValue.js} +6 -2
  191. package/serialization/types/Testset.d.ts +1 -1
  192. package/serialization/types/Testset.js +1 -1
  193. package/serialization/types/index.d.ts +5 -6
  194. package/serialization/types/index.js +5 -6
  195. package/api/types/BodyStartGithubWorkflowStartGithubWorkflowPost.d.ts +0 -4
  196. package/api/types/CustomSchemaOutput.d.ts +0 -11
  197. package/api/types/LibDtoTypesTestRecordCreate.d.ts +0 -4
  198. package/api/types/LibDtoTypesTestSetCreate.d.ts +0 -4
  199. package/dist/api/types/BodyStartGithubWorkflowStartGithubWorkflowPost.d.ts +0 -4
  200. package/dist/api/types/CustomSchemaOutput.d.ts +0 -11
  201. package/dist/api/types/LibDtoTypesCreateRunParams.d.ts +0 -4
  202. package/dist/api/types/LibDtoTypesTestRecordCreate.d.ts +0 -4
  203. package/dist/serialization/types/BodyStartGithubWorkflowStartGithubWorkflowPost.d.ts +0 -10
  204. package/dist/serialization/types/CustomSchemaOutput.d.ts +0 -12
  205. package/dist/serialization/types/CustomSchemaOutput.js +0 -44
  206. package/dist/serialization/types/LibDtoTypesCreateRunParams.d.ts +0 -10
  207. package/dist/serialization/types/LibDtoTypesTestRecordCreate.d.ts +0 -10
  208. package/dist/serialization/types/LibDtoTypesTestSetCreate.d.ts +0 -10
  209. package/serialization/types/BodyStartGithubWorkflowStartGithubWorkflowPost.d.ts +0 -10
  210. package/serialization/types/BodyStartGithubWorkflowStartGithubWorkflowPost.js +0 -31
  211. package/serialization/types/CustomSchemaOutput.d.ts +0 -12
  212. package/serialization/types/CustomSchemaOutput.js +0 -44
  213. package/serialization/types/LibDtoTypesCreateRunParams.d.ts +0 -10
  214. package/serialization/types/LibDtoTypesTestRecordCreate.d.ts +0 -10
  215. package/serialization/types/LibDtoTypesTestRecordCreate.js +0 -31
  216. package/serialization/types/LibDtoTypesTestSetCreate.d.ts +0 -10
  217. package/serialization/types/LibDtoTypesTestSetCreate.js +0 -31
  218. /package/api/{types/BodyStartGithubWorkflowStartGithubWorkflowPost.js → resources/score/client/requests/ScoreCreateParams.js} +0 -0
  219. /package/api/{types/CustomSchemaInput.js → resources/score/client/requests/ScoreUpdateParams.js} +0 -0
  220. /package/api/{types/CustomSchemaOutput.js → resources/testrecord/types/TestrecordCreateParamsModelDebugInfoValue.js} +0 -0
  221. /package/api/{types/LibDtoTypesCreateRunParams.js → resources/testrecord/types/TestrecordCreateParamsModelParamsValue.js} +0 -0
  222. /package/api/types/{LibDtoTypesTestRecordCreate.js → CreateGithubWorkflowParams.js} +0 -0
  223. /package/api/types/{LibDtoTypesTestSetCreate.js → CustomSchema.js} +0 -0
  224. /package/{dist/api/types/BodyStartGithubWorkflowStartGithubWorkflowPost.js → api/types/Grade.js} +0 -0
  225. /package/{dist/api/types/CustomSchemaInput.js → api/types/TestrecordModelDebugInfoValue.js} +0 -0
  226. /package/{dist/api/types/CustomSchemaOutput.js → api/types/TestrecordModelParamsValue.js} +0 -0
  227. /package/dist/api/{types/LibDtoTypesCreateRunParams.js → resources/score/client/requests/ScoreCreateParams.js} +0 -0
  228. /package/dist/api/{types/LibDtoTypesTestRecordCreate.js → resources/score/client/requests/ScoreUpdateParams.js} +0 -0
  229. /package/dist/api/{types/LibDtoTypesTestSetCreate.js → resources/testrecord/types/TestrecordCreateParamsModelDebugInfoValue.js} +0 -0
@@ -18,7 +18,7 @@ export declare class Testset {
18
18
  protected readonly _options: Testset.Options;
19
19
  constructor(_options: Testset.Options);
20
20
  /**
21
- * Retrieve Testset metadata without Testcase data.
21
+ * Retrieve Testset metadata without Testcase data
22
22
  * @throws {@link Scorecard.UnauthorizedError}
23
23
  * @throws {@link Scorecard.ForbiddenError}
24
24
  * @throws {@link Scorecard.NotFoundError}
@@ -45,25 +45,33 @@ export declare class Testset {
45
45
  * @throws {@link Scorecard.ForbiddenError}
46
46
  * @throws {@link Scorecard.NotFoundError}
47
47
  * @throws {@link Scorecard.UnprocessableEntityError}
48
+ *
49
+ * @example
50
+ * await scorecard.testset.create({
51
+ * name: "name"
52
+ * })
48
53
  */
49
54
  create(request: Scorecard.TestsetCreateParams, requestOptions?: Testset.RequestOptions): Promise<Scorecard.Testset>;
50
55
  /**
51
- * Read the schema of a Testset.
56
+ * Read the schema of a Testset
52
57
  * @throws {@link Scorecard.UnauthorizedError}
53
58
  * @throws {@link Scorecard.ForbiddenError}
54
59
  * @throws {@link Scorecard.NotFoundError}
55
60
  * @throws {@link Scorecard.UnprocessableEntityError}
56
61
  *
57
62
  * @example
58
- * await scorecard.testset.getSchema(1)
63
+ * await scorecard.testset.readSchema(1)
59
64
  */
60
- getSchema(testsetId: number, requestOptions?: Testset.RequestOptions): Promise<Scorecard.CustomSchemaOutput>;
65
+ readSchema(testsetId: number, requestOptions?: Testset.RequestOptions): Promise<Scorecard.CustomSchema>;
61
66
  /**
62
67
  * Retrieve all Testcases from a Testset
63
68
  * @throws {@link Scorecard.UnauthorizedError}
64
69
  * @throws {@link Scorecard.ForbiddenError}
65
70
  * @throws {@link Scorecard.NotFoundError}
66
71
  * @throws {@link Scorecard.UnprocessableEntityError}
72
+ *
73
+ * @example
74
+ * await scorecard.testset.getTestcases(1, {})
67
75
  */
68
76
  getTestcases(testsetId: number, request?: Scorecard.TestsetGetTestcasesRequest, requestOptions?: Testset.RequestOptions): Promise<Scorecard.PaginatedTestcaseResponse>;
69
77
  }
@@ -50,7 +50,7 @@ class Testset {
50
50
  this._options = _options;
51
51
  }
52
52
  /**
53
- * Retrieve Testset metadata without Testcase data.
53
+ * Retrieve Testset metadata without Testcase data
54
54
  * @throws {@link Scorecard.UnauthorizedError}
55
55
  * @throws {@link Scorecard.ForbiddenError}
56
56
  * @throws {@link Scorecard.NotFoundError}
@@ -69,7 +69,7 @@ class Testset {
69
69
  "X-API-Key": yield core.Supplier.get(this._options.apiKey),
70
70
  "X-Fern-Language": "JavaScript",
71
71
  "X-Fern-SDK-Name": "scorecard-ai",
72
- "X-Fern-SDK-Version": "0.1.10",
72
+ "X-Fern-SDK-Version": "0.1.12",
73
73
  },
74
74
  contentType: "application/json",
75
75
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -160,7 +160,7 @@ class Testset {
160
160
  "X-API-Key": yield core.Supplier.get(this._options.apiKey),
161
161
  "X-Fern-Language": "JavaScript",
162
162
  "X-Fern-SDK-Name": "scorecard-ai",
163
- "X-Fern-SDK-Version": "0.1.10",
163
+ "X-Fern-SDK-Version": "0.1.12",
164
164
  },
165
165
  contentType: "application/json",
166
166
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -237,6 +237,11 @@ class Testset {
237
237
  * @throws {@link Scorecard.ForbiddenError}
238
238
  * @throws {@link Scorecard.NotFoundError}
239
239
  * @throws {@link Scorecard.UnprocessableEntityError}
240
+ *
241
+ * @example
242
+ * await scorecard.testset.create({
243
+ * name: "name"
244
+ * })
240
245
  */
241
246
  create(request, requestOptions) {
242
247
  var _a;
@@ -248,7 +253,7 @@ class Testset {
248
253
  "X-API-Key": yield core.Supplier.get(this._options.apiKey),
249
254
  "X-Fern-Language": "JavaScript",
250
255
  "X-Fern-SDK-Name": "scorecard-ai",
251
- "X-Fern-SDK-Version": "0.1.10",
256
+ "X-Fern-SDK-Version": "0.1.12",
252
257
  },
253
258
  contentType: "application/json",
254
259
  body: yield serializers.TestsetCreateParams.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -321,16 +326,16 @@ class Testset {
321
326
  });
322
327
  }
323
328
  /**
324
- * Read the schema of a Testset.
329
+ * Read the schema of a Testset
325
330
  * @throws {@link Scorecard.UnauthorizedError}
326
331
  * @throws {@link Scorecard.ForbiddenError}
327
332
  * @throws {@link Scorecard.NotFoundError}
328
333
  * @throws {@link Scorecard.UnprocessableEntityError}
329
334
  *
330
335
  * @example
331
- * await scorecard.testset.getSchema(1)
336
+ * await scorecard.testset.readSchema(1)
332
337
  */
333
- getSchema(testsetId, requestOptions) {
338
+ readSchema(testsetId, requestOptions) {
334
339
  var _a;
335
340
  return __awaiter(this, void 0, void 0, function* () {
336
341
  const _response = yield core.fetcher({
@@ -340,14 +345,14 @@ class Testset {
340
345
  "X-API-Key": yield core.Supplier.get(this._options.apiKey),
341
346
  "X-Fern-Language": "JavaScript",
342
347
  "X-Fern-SDK-Name": "scorecard-ai",
343
- "X-Fern-SDK-Version": "0.1.10",
348
+ "X-Fern-SDK-Version": "0.1.12",
344
349
  },
345
350
  contentType: "application/json",
346
351
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
347
352
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
348
353
  });
349
354
  if (_response.ok) {
350
- return yield serializers.CustomSchemaOutput.parseOrThrow(_response.body, {
355
+ return yield serializers.CustomSchema.parseOrThrow(_response.body, {
351
356
  unrecognizedObjectKeys: "passthrough",
352
357
  allowUnrecognizedUnionMembers: true,
353
358
  allowUnrecognizedEnumValues: true,
@@ -417,17 +422,20 @@ class Testset {
417
422
  * @throws {@link Scorecard.ForbiddenError}
418
423
  * @throws {@link Scorecard.NotFoundError}
419
424
  * @throws {@link Scorecard.UnprocessableEntityError}
425
+ *
426
+ * @example
427
+ * await scorecard.testset.getTestcases(1, {})
420
428
  */
421
429
  getTestcases(testsetId, request = {}, requestOptions) {
422
430
  var _a;
423
431
  return __awaiter(this, void 0, void 0, function* () {
424
- const { page, pageSize } = request;
432
+ const { offset, limit } = request;
425
433
  const _queryParams = {};
426
- if (page != null) {
427
- _queryParams["page"] = page.toString();
434
+ if (offset != null) {
435
+ _queryParams["offset"] = offset.toString();
428
436
  }
429
- if (pageSize != null) {
430
- _queryParams["page_size"] = pageSize.toString();
437
+ if (limit != null) {
438
+ _queryParams["limit"] = limit.toString();
431
439
  }
432
440
  const _response = yield core.fetcher({
433
441
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.ScorecardEnvironment.Default, `v1/testset/${testsetId}/testcase`),
@@ -436,7 +444,7 @@ class Testset {
436
444
  "X-API-Key": yield core.Supplier.get(this._options.apiKey),
437
445
  "X-Fern-Language": "JavaScript",
438
446
  "X-Fern-SDK-Name": "scorecard-ai",
439
- "X-Fern-SDK-Version": "0.1.10",
447
+ "X-Fern-SDK-Version": "0.1.12",
440
448
  },
441
449
  contentType: "application/json",
442
450
  queryParameters: _queryParams,
@@ -2,9 +2,15 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  import * as Scorecard from "../../../..";
5
+ /**
6
+ * @example
7
+ * {
8
+ * name: "name"
9
+ * }
10
+ */
5
11
  export interface TestsetCreateParams {
6
12
  name: string;
7
13
  description?: string;
8
- usingRetrieval: boolean;
9
- customSchema?: Scorecard.CustomSchemaInput;
14
+ usingRetrieval?: boolean;
15
+ customSchema?: Scorecard.CustomSchema;
10
16
  }
@@ -1,7 +1,11 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
+ /**
5
+ * @example
6
+ * {}
7
+ */
4
8
  export interface TestsetGetTestcasesRequest {
5
- page?: number;
6
- pageSize?: number;
9
+ offset?: number;
10
+ limit?: number;
7
11
  }
@@ -1,4 +1,4 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- export declare type LibDtoTypesTestSetCreate = unknown;
4
+ export declare type CreateGithubWorkflowParams = unknown;
@@ -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 });
@@ -1,9 +1,4 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- export interface CreateRunParams {
5
- testsetId: number;
6
- scoringConfigId: number;
7
- status?: string;
8
- modelParams?: Record<string, unknown>;
9
- }
4
+ export declare type CreateRunParams = unknown;
@@ -5,7 +5,7 @@ import * as Scorecard from "..";
5
5
  /**
6
6
  * Custom schema model with an ordered list of custom variables.
7
7
  */
8
- export interface CustomSchemaInput {
8
+ export interface CustomSchema {
9
9
  /** Ordered list of custom variables */
10
10
  variables?: Scorecard.CustomVariable[];
11
11
  }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,14 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface Grade {
5
+ id?: number;
6
+ runId?: number;
7
+ testcaseId?: number;
8
+ testrecordId?: number;
9
+ metricId?: number;
10
+ binaryScore?: boolean;
11
+ intScore?: number;
12
+ reasoning?: string;
13
+ humanEval?: boolean;
14
+ }
@@ -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 });
@@ -1,12 +1,13 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- export declare type RunStatus = "pending" | "awaiting_execution" | "running_execution" | "awaiting_scoring" | "running_scoring" | "completed";
4
+ export declare type RunStatus = "pending" | "awaiting_execution" | "running_execution" | "awaiting_scoring" | "running_scoring" | "awaiting_human_scoring" | "completed";
5
5
  export declare const RunStatus: {
6
6
  readonly Pending: "pending";
7
7
  readonly AwaitingExecution: "awaiting_execution";
8
8
  readonly RunningExecution: "running_execution";
9
9
  readonly AwaitingScoring: "awaiting_scoring";
10
10
  readonly RunningScoring: "running_scoring";
11
+ readonly AwaitingHumanScoring: "awaiting_human_scoring";
11
12
  readonly Completed: "completed";
12
13
  };
@@ -10,5 +10,6 @@ exports.RunStatus = {
10
10
  RunningExecution: "running_execution",
11
11
  AwaitingScoring: "awaiting_scoring",
12
12
  RunningScoring: "running_scoring",
13
+ AwaitingHumanScoring: "awaiting_human_scoring",
13
14
  Completed: "completed",
14
15
  };
@@ -1,16 +1,4 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- export interface TestRecordCreate {
5
- runId: number;
6
- testcaseId: number;
7
- modelResponse: string;
8
- userQuery?: string;
9
- context?: string;
10
- prompt?: string;
11
- ideal?: string;
12
- debugOutput?: string;
13
- modelParams?: Record<string, unknown>;
14
- testsetId?: number;
15
- status?: string;
16
- }
4
+ export declare type TestRecordCreate = unknown;
@@ -1,8 +1,4 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- export interface TestSetCreate {
5
- name: string;
6
- description?: string;
7
- usingRetrieval: boolean;
8
- }
4
+ export declare type TestSetCreate = unknown;
@@ -6,8 +6,9 @@ export interface Testrecord {
6
6
  id?: number;
7
7
  createdAt?: Date;
8
8
  runId: number;
9
- testsetId: number;
10
- userQuery: string;
9
+ testsetId?: number;
10
+ testcaseId?: number;
11
+ userQuery?: string;
11
12
  context?: string;
12
13
  modelResponse?: string;
13
14
  ideal?: string;
@@ -15,4 +16,8 @@ export interface Testrecord {
15
16
  customInputs?: Record<string, Scorecard.TestrecordCustomInputsValue | undefined>;
16
17
  customLabels?: Record<string, Scorecard.TestrecordCustomLabelsValue | undefined>;
17
18
  customOutputs?: Record<string, Scorecard.TestrecordCustomOutputsValue | undefined>;
19
+ status?: string;
20
+ prompt?: string;
21
+ modelParams?: Record<string, Scorecard.TestrecordModelParamsValue | undefined>;
22
+ modelDebugInfo?: Record<string, Scorecard.TestrecordModelDebugInfoValue | undefined>;
18
23
  }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export declare type TestrecordModelDebugInfoValue = number | number | string;
@@ -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,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export declare type TestrecordModelParamsValue = number | number | string;
@@ -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 });
@@ -14,5 +14,5 @@ export interface Testset {
14
14
  updatedAt?: Date;
15
15
  isArchived?: boolean;
16
16
  projectId?: number;
17
- customSchema?: Scorecard.CustomSchemaOutput;
17
+ customSchema?: Scorecard.CustomSchema;
18
18
  }
@@ -1,9 +1,9 @@
1
1
  export * from "./CreateRunParams";
2
- export * from "./CustomSchemaInput";
3
- export * from "./CustomSchemaOutput";
2
+ export * from "./CustomSchema";
4
3
  export * from "./CustomVariable";
5
4
  export * from "./DataTypeEnum";
6
5
  export * from "./FileUrl";
6
+ export * from "./Grade";
7
7
  export * from "./HttpValidationError";
8
8
  export * from "./NotFoundErrorBody";
9
9
  export * from "./PaginatedTestcaseResponse";
@@ -19,13 +19,15 @@ export * from "./TestSetCreate";
19
19
  export * from "./TestrecordCustomInputsValue";
20
20
  export * from "./TestrecordCustomLabelsValue";
21
21
  export * from "./TestrecordCustomOutputsValue";
22
+ export * from "./TestrecordModelParamsValue";
23
+ export * from "./TestrecordModelDebugInfoValue";
22
24
  export * from "./Testrecord";
23
25
  export * from "./Testset";
24
26
  export * from "./UnauthenticatedError";
25
27
  export * from "./UnauthorizedErrorBody";
26
28
  export * from "./ValidationErrorLocItem";
27
29
  export * from "./ValidationError";
28
- export * from "./BodyStartGithubWorkflowStartGithubWorkflowPost";
30
+ export * from "./CreateGithubWorkflowParams";
29
31
  export * from "./ExecutionParams";
30
32
  export * from "./ModelParams";
31
33
  export * from "./ScoreExecutionParams";
@@ -34,6 +36,3 @@ export * from "./TestCaseCreateInput";
34
36
  export * from "./AppCreateRunParams";
35
37
  export * from "./AppTestRecordCreate";
36
38
  export * from "./AppTestSetCreate";
37
- export * from "./LibDtoTypesCreateRunParams";
38
- export * from "./LibDtoTypesTestRecordCreate";
39
- export * from "./LibDtoTypesTestSetCreate";
@@ -15,11 +15,11 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./CreateRunParams"), exports);
18
- __exportStar(require("./CustomSchemaInput"), exports);
19
- __exportStar(require("./CustomSchemaOutput"), exports);
18
+ __exportStar(require("./CustomSchema"), exports);
20
19
  __exportStar(require("./CustomVariable"), exports);
21
20
  __exportStar(require("./DataTypeEnum"), exports);
22
21
  __exportStar(require("./FileUrl"), exports);
22
+ __exportStar(require("./Grade"), exports);
23
23
  __exportStar(require("./HttpValidationError"), exports);
24
24
  __exportStar(require("./NotFoundErrorBody"), exports);
25
25
  __exportStar(require("./PaginatedTestcaseResponse"), exports);
@@ -35,13 +35,15 @@ __exportStar(require("./TestSetCreate"), exports);
35
35
  __exportStar(require("./TestrecordCustomInputsValue"), exports);
36
36
  __exportStar(require("./TestrecordCustomLabelsValue"), exports);
37
37
  __exportStar(require("./TestrecordCustomOutputsValue"), exports);
38
+ __exportStar(require("./TestrecordModelParamsValue"), exports);
39
+ __exportStar(require("./TestrecordModelDebugInfoValue"), exports);
38
40
  __exportStar(require("./Testrecord"), exports);
39
41
  __exportStar(require("./Testset"), exports);
40
42
  __exportStar(require("./UnauthenticatedError"), exports);
41
43
  __exportStar(require("./UnauthorizedErrorBody"), exports);
42
44
  __exportStar(require("./ValidationErrorLocItem"), exports);
43
45
  __exportStar(require("./ValidationError"), exports);
44
- __exportStar(require("./BodyStartGithubWorkflowStartGithubWorkflowPost"), exports);
46
+ __exportStar(require("./CreateGithubWorkflowParams"), exports);
45
47
  __exportStar(require("./ExecutionParams"), exports);
46
48
  __exportStar(require("./ModelParams"), exports);
47
49
  __exportStar(require("./ScoreExecutionParams"), exports);
@@ -50,6 +52,3 @@ __exportStar(require("./TestCaseCreateInput"), exports);
50
52
  __exportStar(require("./AppCreateRunParams"), exports);
51
53
  __exportStar(require("./AppTestRecordCreate"), exports);
52
54
  __exportStar(require("./AppTestSetCreate"), exports);
53
- __exportStar(require("./LibDtoTypesCreateRunParams"), exports);
54
- __exportStar(require("./LibDtoTypesTestRecordCreate"), exports);
55
- __exportStar(require("./LibDtoTypesTestSetCreate"), exports);
@@ -8,3 +8,5 @@ export * from "./testcase/client/requests";
8
8
  export * from "./testrecord/client/requests";
9
9
  export * as run from "./run";
10
10
  export * from "./run/client/requests";
11
+ export * as score from "./score";
12
+ export * from "./score/client/requests";
@@ -26,7 +26,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
26
26
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.run = exports.testset = exports.testrecord = exports.testcase = void 0;
29
+ exports.score = exports.run = exports.testset = exports.testrecord = exports.testcase = void 0;
30
30
  exports.testcase = __importStar(require("./testcase"));
31
31
  __exportStar(require("./testcase/types"), exports);
32
32
  exports.testrecord = __importStar(require("./testrecord"));
@@ -37,3 +37,5 @@ __exportStar(require("./testcase/client/requests"), exports);
37
37
  __exportStar(require("./testrecord/client/requests"), exports);
38
38
  exports.run = __importStar(require("./run"));
39
39
  __exportStar(require("./run/client/requests"), exports);
40
+ exports.score = __importStar(require("./score"));
41
+ __exportStar(require("./score/client/requests"), exports);
@@ -7,9 +7,12 @@ import * as core from "../../../../../core";
7
7
  export declare const RunCreateParams: core.serialization.Schema<serializers.RunCreateParams.Raw, Scorecard.RunCreateParams>;
8
8
  export declare namespace RunCreateParams {
9
9
  interface Raw {
10
- testset_id: number;
10
+ testset_id?: number | null;
11
11
  scoring_config_id?: number | null;
12
12
  status?: string | null;
13
13
  model_params?: Record<string, unknown> | null;
14
+ source?: string | null;
15
+ notes?: string | null;
16
+ prompt_template?: string | null;
14
17
  }
15
18
  }
@@ -29,8 +29,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.RunCreateParams = void 0;
30
30
  const core = __importStar(require("../../../../../core"));
31
31
  exports.RunCreateParams = core.serialization.object({
32
- testsetId: core.serialization.property("testset_id", core.serialization.number()),
32
+ testsetId: core.serialization.property("testset_id", core.serialization.number().optional()),
33
33
  scoringConfigId: core.serialization.property("scoring_config_id", core.serialization.number().optional()),
34
34
  status: core.serialization.string().optional(),
35
35
  modelParams: core.serialization.property("model_params", core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional()),
36
+ source: core.serialization.string().optional(),
37
+ notes: core.serialization.string().optional(),
38
+ promptTemplate: core.serialization.property("prompt_template", core.serialization.string().optional()),
36
39
  });
@@ -0,0 +1 @@
1
+ export * from "./requests";
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./requests"), exports);
@@ -0,0 +1,15 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../..";
5
+ import * as Scorecard from "../../../../../api";
6
+ import * as core from "../../../../../core";
7
+ export declare const ScoreCreateParams: core.serialization.Schema<serializers.ScoreCreateParams.Raw, Scorecard.ScoreCreateParams>;
8
+ export declare namespace ScoreCreateParams {
9
+ interface Raw {
10
+ metric_id: number;
11
+ int_score?: number | null;
12
+ binary_score?: boolean | null;
13
+ reasoning?: 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.ScoreCreateParams = void 0;
30
+ const core = __importStar(require("../../../../../core"));
31
+ exports.ScoreCreateParams = core.serialization.object({
32
+ metricId: core.serialization.property("metric_id", core.serialization.number()),
33
+ intScore: core.serialization.property("int_score", core.serialization.number().optional()),
34
+ binaryScore: core.serialization.property("binary_score", core.serialization.boolean().optional()),
35
+ reasoning: core.serialization.string().optional(),
36
+ });
@@ -0,0 +1,14 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../..";
5
+ import * as Scorecard from "../../../../../api";
6
+ import * as core from "../../../../../core";
7
+ export declare const ScoreUpdateParams: core.serialization.Schema<serializers.ScoreUpdateParams.Raw, Scorecard.ScoreUpdateParams>;
8
+ export declare namespace ScoreUpdateParams {
9
+ interface Raw {
10
+ int_score?: number | null;
11
+ binary_score?: boolean | null;
12
+ reasoning?: string | null;
13
+ }
14
+ }
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.ScoreUpdateParams = void 0;
30
+ const core = __importStar(require("../../../../../core"));
31
+ exports.ScoreUpdateParams = core.serialization.object({
32
+ intScore: core.serialization.property("int_score", core.serialization.number().optional()),
33
+ binaryScore: core.serialization.property("binary_score", core.serialization.boolean().optional()),
34
+ reasoning: core.serialization.string().optional(),
35
+ });
@@ -0,0 +1,2 @@
1
+ export { ScoreCreateParams } from "./ScoreCreateParams";
2
+ export { ScoreUpdateParams } from "./ScoreUpdateParams";
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ScoreUpdateParams = exports.ScoreCreateParams = void 0;
4
+ var ScoreCreateParams_1 = require("./ScoreCreateParams");
5
+ Object.defineProperty(exports, "ScoreCreateParams", { enumerable: true, get: function () { return ScoreCreateParams_1.ScoreCreateParams; } });
6
+ var ScoreUpdateParams_1 = require("./ScoreUpdateParams");
7
+ Object.defineProperty(exports, "ScoreUpdateParams", { enumerable: true, get: function () { return ScoreUpdateParams_1.ScoreUpdateParams; } });