@orq-ai/node 4.18.0-rc.10 → 4.18.0-rc.11
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.
- package/README.md +66 -79
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/models/components/reasoningpart.js +1 -1
- package/models/operations/createeval.d.ts +4 -4
- package/models/operations/createeval.d.ts.map +1 -1
- package/models/operations/createeval.js +5 -5
- package/models/operations/createeval.js.map +1 -1
- package/models/operations/createtool.js +4 -4
- package/models/operations/getalltools.js +4 -4
- package/models/operations/index.d.ts +0 -5
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +0 -5
- package/models/operations/index.js.map +1 -1
- package/models/operations/listdeploymentversions.js +1 -1
- package/models/operations/retrievetool.js +4 -4
- package/models/operations/runagent.js +1 -1
- package/models/operations/streamrunagent.js +1 -1
- package/models/operations/updatetool.js +4 -4
- package/package.json +7 -7
- package/sdk/sdk.d.ts +0 -3
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +0 -4
- package/sdk/sdk.js.map +1 -1
- package/src/lib/config.ts +3 -3
- package/src/models/components/reasoningpart.ts +1 -1
- package/src/models/operations/createeval.ts +7 -11
- package/src/models/operations/createtool.ts +4 -4
- package/src/models/operations/getalltools.ts +4 -4
- package/src/models/operations/index.ts +0 -5
- package/src/models/operations/listdeploymentversions.ts +1 -1
- package/src/models/operations/retrievetool.ts +4 -4
- package/src/models/operations/runagent.ts +1 -1
- package/src/models/operations/streamrunagent.ts +1 -1
- package/src/models/operations/updatetool.ts +4 -4
- package/src/sdk/sdk.ts +0 -6
- package/funcs/humanReviewSetsCreate.d.ts +0 -20
- package/funcs/humanReviewSetsCreate.d.ts.map +0 -1
- package/funcs/humanReviewSetsCreate.js +0 -123
- package/funcs/humanReviewSetsCreate.js.map +0 -1
- package/funcs/humanReviewSetsDelete.d.ts +0 -20
- package/funcs/humanReviewSetsDelete.d.ts.map +0 -1
- package/funcs/humanReviewSetsDelete.js +0 -127
- package/funcs/humanReviewSetsDelete.js.map +0 -1
- package/funcs/humanReviewSetsGet.d.ts +0 -20
- package/funcs/humanReviewSetsGet.d.ts.map +0 -1
- package/funcs/humanReviewSetsGet.js +0 -126
- package/funcs/humanReviewSetsGet.js.map +0 -1
- package/funcs/humanReviewSetsList.d.ts +0 -20
- package/funcs/humanReviewSetsList.d.ts.map +0 -1
- package/funcs/humanReviewSetsList.js +0 -125
- package/funcs/humanReviewSetsList.js.map +0 -1
- package/funcs/humanReviewSetsUpdate.d.ts +0 -20
- package/funcs/humanReviewSetsUpdate.d.ts.map +0 -1
- package/funcs/humanReviewSetsUpdate.js +0 -127
- package/funcs/humanReviewSetsUpdate.js.map +0 -1
- package/models/operations/deletev2humanevalsetsid.d.ts +0 -15
- package/models/operations/deletev2humanevalsetsid.d.ts.map +0 -1
- package/models/operations/deletev2humanevalsetsid.js +0 -49
- package/models/operations/deletev2humanevalsetsid.js.map +0 -1
- package/models/operations/getv2humanevalsets.d.ts +0 -103
- package/models/operations/getv2humanevalsets.d.ts.map +0 -1
- package/models/operations/getv2humanevalsets.js +0 -128
- package/models/operations/getv2humanevalsets.js.map +0 -1
- package/models/operations/getv2humanevalsetsid.d.ts +0 -106
- package/models/operations/getv2humanevalsetsid.d.ts.map +0 -1
- package/models/operations/getv2humanevalsetsid.js +0 -124
- package/models/operations/getv2humanevalsetsid.js.map +0 -1
- package/models/operations/patchv2humanevalsetsid.d.ts +0 -184
- package/models/operations/patchv2humanevalsetsid.d.ts.map +0 -1
- package/models/operations/patchv2humanevalsetsid.js +0 -183
- package/models/operations/patchv2humanevalsetsid.js.map +0 -1
- package/models/operations/postv2humanevalsets.d.ts +0 -169
- package/models/operations/postv2humanevalsets.d.ts.map +0 -1
- package/models/operations/postv2humanevalsets.js +0 -167
- package/models/operations/postv2humanevalsets.js.map +0 -1
- package/sdk/humanreviewsets.d.ts +0 -50
- package/sdk/humanreviewsets.d.ts.map +0 -1
- package/sdk/humanreviewsets.js +0 -72
- package/sdk/humanreviewsets.js.map +0 -1
- package/src/funcs/humanReviewSetsCreate.ts +0 -178
- package/src/funcs/humanReviewSetsDelete.ts +0 -180
- package/src/funcs/humanReviewSetsGet.ts +0 -179
- package/src/funcs/humanReviewSetsList.ts +0 -181
- package/src/funcs/humanReviewSetsUpdate.ts +0 -180
- package/src/models/operations/deletev2humanevalsetsid.ts +0 -36
- package/src/models/operations/getv2humanevalsets.ts +0 -234
- package/src/models/operations/getv2humanevalsetsid.ts +0 -235
- package/src/models/operations/patchv2humanevalsetsid.ts +0 -415
- package/src/models/operations/postv2humanevalsets.ts +0 -351
- package/src/sdk/humanreviewsets.ts +0 -109
|
@@ -1,127 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*
|
|
3
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
-
*/
|
|
5
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
-
if (k2 === undefined) k2 = k;
|
|
7
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
-
}
|
|
11
|
-
Object.defineProperty(o, k2, desc);
|
|
12
|
-
}) : (function(o, m, k, k2) {
|
|
13
|
-
if (k2 === undefined) k2 = k;
|
|
14
|
-
o[k2] = m[k];
|
|
15
|
-
}));
|
|
16
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
-
}) : function(o, v) {
|
|
19
|
-
o["default"] = v;
|
|
20
|
-
});
|
|
21
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
-
var ownKeys = function(o) {
|
|
23
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
-
var ar = [];
|
|
25
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
-
return ar;
|
|
27
|
-
};
|
|
28
|
-
return ownKeys(o);
|
|
29
|
-
};
|
|
30
|
-
return function (mod) {
|
|
31
|
-
if (mod && mod.__esModule) return mod;
|
|
32
|
-
var result = {};
|
|
33
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
-
__setModuleDefault(result, mod);
|
|
35
|
-
return result;
|
|
36
|
-
};
|
|
37
|
-
})();
|
|
38
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.humanReviewSetsUpdate = humanReviewSetsUpdate;
|
|
40
|
-
const encodings_js_1 = require("../lib/encodings.js");
|
|
41
|
-
const http_js_1 = require("../lib/http.js");
|
|
42
|
-
const M = __importStar(require("../lib/matchers.js"));
|
|
43
|
-
const primitives_js_1 = require("../lib/primitives.js");
|
|
44
|
-
const schemas_js_1 = require("../lib/schemas.js");
|
|
45
|
-
const security_js_1 = require("../lib/security.js");
|
|
46
|
-
const url_js_1 = require("../lib/url.js");
|
|
47
|
-
const errors = __importStar(require("../models/errors/index.js"));
|
|
48
|
-
const operations = __importStar(require("../models/operations/index.js"));
|
|
49
|
-
const async_js_1 = require("../types/async.js");
|
|
50
|
-
/**
|
|
51
|
-
* Update a human review set
|
|
52
|
-
*
|
|
53
|
-
* @remarks
|
|
54
|
-
* Deprecated: Human Review Sets are replaced by project-level human reviews (Annotations) and will be removed in release 4.18.
|
|
55
|
-
*
|
|
56
|
-
* @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
57
|
-
*/
|
|
58
|
-
function humanReviewSetsUpdate(client, request, options) {
|
|
59
|
-
return new async_js_1.APIPromise($do(client, request, options));
|
|
60
|
-
}
|
|
61
|
-
async function $do(client, request, options) {
|
|
62
|
-
const parsed = (0, schemas_js_1.safeParse)(request, (value) => operations.PatchV2HumanEvalSetsIdRequest$outboundSchema.parse(value), "Input validation failed");
|
|
63
|
-
if (!parsed.ok) {
|
|
64
|
-
return [parsed, { status: "invalid" }];
|
|
65
|
-
}
|
|
66
|
-
const payload = parsed.value;
|
|
67
|
-
const body = (0, encodings_js_1.encodeJSON)("body", payload.RequestBody, { explode: true });
|
|
68
|
-
const pathParams = {
|
|
69
|
-
id: (0, encodings_js_1.encodeSimple)("id", payload.id, {
|
|
70
|
-
explode: false,
|
|
71
|
-
charEncoding: "percent",
|
|
72
|
-
}),
|
|
73
|
-
};
|
|
74
|
-
const path = (0, url_js_1.pathToFunc)("/v2/human-eval-sets/{id}")(pathParams);
|
|
75
|
-
const headers = new Headers((0, primitives_js_1.compactMap)({
|
|
76
|
-
"Content-Type": "application/json",
|
|
77
|
-
Accept: "application/json",
|
|
78
|
-
}));
|
|
79
|
-
const secConfig = await (0, security_js_1.extractSecurity)(client._options.apiKey);
|
|
80
|
-
const securityInput = secConfig == null ? {} : { apiKey: secConfig };
|
|
81
|
-
const requestSecurity = (0, security_js_1.resolveGlobalSecurity)(securityInput);
|
|
82
|
-
const context = {
|
|
83
|
-
options: client._options,
|
|
84
|
-
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
85
|
-
operationID: "patch_/v2/human-eval-sets/{id}",
|
|
86
|
-
oAuth2Scopes: null,
|
|
87
|
-
resolvedSecurity: requestSecurity,
|
|
88
|
-
securitySource: client._options.apiKey,
|
|
89
|
-
retryConfig: options?.retries
|
|
90
|
-
|| client._options.retryConfig
|
|
91
|
-
|| { strategy: "none" },
|
|
92
|
-
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
|
93
|
-
};
|
|
94
|
-
const requestRes = client._createRequest(context, {
|
|
95
|
-
security: requestSecurity,
|
|
96
|
-
method: "PATCH",
|
|
97
|
-
baseURL: options?.serverURL,
|
|
98
|
-
path: path,
|
|
99
|
-
headers: headers,
|
|
100
|
-
body: body,
|
|
101
|
-
userAgent: client._options.userAgent,
|
|
102
|
-
timeoutMs: options?.timeoutMs || client._options.timeoutMs || 600000,
|
|
103
|
-
}, options);
|
|
104
|
-
if (!requestRes.ok) {
|
|
105
|
-
return [requestRes, { status: "invalid" }];
|
|
106
|
-
}
|
|
107
|
-
const req = requestRes.value;
|
|
108
|
-
const doResult = await client._do(req, {
|
|
109
|
-
context,
|
|
110
|
-
isErrorStatusCode: (statusCode) => (0, http_js_1.matchStatusCode)({ status: statusCode }, ["4XX", "5XX"]),
|
|
111
|
-
retryConfig: context.retryConfig,
|
|
112
|
-
retryCodes: context.retryCodes,
|
|
113
|
-
});
|
|
114
|
-
if (!doResult.ok) {
|
|
115
|
-
return [doResult, { status: "request-error", request: req }];
|
|
116
|
-
}
|
|
117
|
-
const response = doResult.value;
|
|
118
|
-
const responseFields = {
|
|
119
|
-
HttpMeta: { Response: response, Request: req },
|
|
120
|
-
};
|
|
121
|
-
const [result] = await M.match(M.json(200, operations.PatchV2HumanEvalSetsIdResponseBody$inboundSchema), M.jsonErr(401, errors.ErrorResponse$inboundSchema), M.fail("4XX"), M.fail("5XX"))(response, req, { extraFields: responseFields });
|
|
122
|
-
if (!result.ok) {
|
|
123
|
-
return [result, { status: "complete", request: req, response }];
|
|
124
|
-
}
|
|
125
|
-
return [result, { status: "complete", request: req, response }];
|
|
126
|
-
}
|
|
127
|
-
//# sourceMappingURL=humanReviewSetsUpdate.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"humanReviewSetsUpdate.js","sourceRoot":"","sources":["../src/funcs/humanReviewSetsUpdate.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkCH,sDAuBC;AAtDD,sDAA+D;AAC/D,4CAAiD;AACjD,sDAAwC;AACxC,wDAAkD;AAClD,kDAA8C;AAE9C,oDAA4E;AAC5E,0CAA2C;AAQ3C,kEAAoD;AAIpD,0EAA4D;AAC5D,gDAA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C;AAClE,CAAC"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import * as z from "zod/v3";
|
|
2
|
-
export type DeleteV2HumanEvalSetsIdRequest = {
|
|
3
|
-
/**
|
|
4
|
-
* The ID of the human review set to retrieve
|
|
5
|
-
*/
|
|
6
|
-
id: string;
|
|
7
|
-
};
|
|
8
|
-
/** @internal */
|
|
9
|
-
export type DeleteV2HumanEvalSetsIdRequest$Outbound = {
|
|
10
|
-
id: string;
|
|
11
|
-
};
|
|
12
|
-
/** @internal */
|
|
13
|
-
export declare const DeleteV2HumanEvalSetsIdRequest$outboundSchema: z.ZodType<DeleteV2HumanEvalSetsIdRequest$Outbound, z.ZodTypeDef, DeleteV2HumanEvalSetsIdRequest>;
|
|
14
|
-
export declare function deleteV2HumanEvalSetsIdRequestToJSON(deleteV2HumanEvalSetsIdRequest: DeleteV2HumanEvalSetsIdRequest): string;
|
|
15
|
-
//# sourceMappingURL=deletev2humanevalsetsid.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"deletev2humanevalsetsid.d.ts","sourceRoot":"","sources":["../../src/models/operations/deletev2humanevalsetsid.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,MAAM,MAAM,8BAA8B,GAAG;IAC3C;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,uCAAuC,GAAG;IACpD,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,6CAA6C,EAAE,CAAC,CAAC,OAAO,CACnE,uCAAuC,EACvC,CAAC,CAAC,UAAU,EACZ,8BAA8B,CAG9B,CAAC;AAEH,wBAAgB,oCAAoC,CAClD,8BAA8B,EAAE,8BAA8B,GAC7D,MAAM,CAMR"}
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*
|
|
3
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
-
*/
|
|
5
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
-
if (k2 === undefined) k2 = k;
|
|
7
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
-
}
|
|
11
|
-
Object.defineProperty(o, k2, desc);
|
|
12
|
-
}) : (function(o, m, k, k2) {
|
|
13
|
-
if (k2 === undefined) k2 = k;
|
|
14
|
-
o[k2] = m[k];
|
|
15
|
-
}));
|
|
16
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
-
}) : function(o, v) {
|
|
19
|
-
o["default"] = v;
|
|
20
|
-
});
|
|
21
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
-
var ownKeys = function(o) {
|
|
23
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
-
var ar = [];
|
|
25
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
-
return ar;
|
|
27
|
-
};
|
|
28
|
-
return ownKeys(o);
|
|
29
|
-
};
|
|
30
|
-
return function (mod) {
|
|
31
|
-
if (mod && mod.__esModule) return mod;
|
|
32
|
-
var result = {};
|
|
33
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
-
__setModuleDefault(result, mod);
|
|
35
|
-
return result;
|
|
36
|
-
};
|
|
37
|
-
})();
|
|
38
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.DeleteV2HumanEvalSetsIdRequest$outboundSchema = void 0;
|
|
40
|
-
exports.deleteV2HumanEvalSetsIdRequestToJSON = deleteV2HumanEvalSetsIdRequestToJSON;
|
|
41
|
-
const z = __importStar(require("zod/v3"));
|
|
42
|
-
/** @internal */
|
|
43
|
-
exports.DeleteV2HumanEvalSetsIdRequest$outboundSchema = z.object({
|
|
44
|
-
id: z.string(),
|
|
45
|
-
});
|
|
46
|
-
function deleteV2HumanEvalSetsIdRequestToJSON(deleteV2HumanEvalSetsIdRequest) {
|
|
47
|
-
return JSON.stringify(exports.DeleteV2HumanEvalSetsIdRequest$outboundSchema.parse(deleteV2HumanEvalSetsIdRequest));
|
|
48
|
-
}
|
|
49
|
-
//# sourceMappingURL=deletev2humanevalsetsid.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"deletev2humanevalsetsid.js","sourceRoot":"","sources":["../../src/models/operations/deletev2humanevalsetsid.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyBH,oFAQC;AA/BD,0CAA4B;AAc5B,gBAAgB;AACH,QAAA,6CAA6C,GAItD,CAAC,CAAC,MAAM,CAAC;IACX,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;CACf,CAAC,CAAC;AAEH,SAAgB,oCAAoC,CAClD,8BAA8D;IAE9D,OAAO,IAAI,CAAC,SAAS,CACnB,qDAA6C,CAAC,KAAK,CACjD,8BAA8B,CAC/B,CACF,CAAC;AACJ,CAAC"}
|
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
import * as z from "zod/v3";
|
|
2
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
-
export type GetV2HumanEvalSetsRequest = {
|
|
5
|
-
/**
|
|
6
|
-
* Optional project ID to filter human review sets by project
|
|
7
|
-
*/
|
|
8
|
-
projectId?: string | undefined;
|
|
9
|
-
};
|
|
10
|
-
export type GetV2HumanEvalSetsResponseBody2 = {
|
|
11
|
-
/**
|
|
12
|
-
* The id of the resource
|
|
13
|
-
*/
|
|
14
|
-
id: string;
|
|
15
|
-
/**
|
|
16
|
-
* Display name of the human review set
|
|
17
|
-
*/
|
|
18
|
-
displayName: string;
|
|
19
|
-
/**
|
|
20
|
-
* Detailed description of the human review set
|
|
21
|
-
*/
|
|
22
|
-
description?: string | undefined;
|
|
23
|
-
/**
|
|
24
|
-
* Array of human review IDs to be applied to matching spans
|
|
25
|
-
*/
|
|
26
|
-
humanEvalIds: Array<string>;
|
|
27
|
-
workspaceId: string;
|
|
28
|
-
/**
|
|
29
|
-
* Optional project ID to scope this human review set to a specific project
|
|
30
|
-
*/
|
|
31
|
-
projectId?: string | undefined;
|
|
32
|
-
createdById?: string | undefined;
|
|
33
|
-
updatedById?: string | undefined;
|
|
34
|
-
/**
|
|
35
|
-
* The date and time the resource was created
|
|
36
|
-
*/
|
|
37
|
-
created?: Date | undefined;
|
|
38
|
-
/**
|
|
39
|
-
* The date and time the resource was last updated
|
|
40
|
-
*/
|
|
41
|
-
updated: Date;
|
|
42
|
-
filterType: "name";
|
|
43
|
-
/**
|
|
44
|
-
* Name pattern to match
|
|
45
|
-
*/
|
|
46
|
-
filterValue: string;
|
|
47
|
-
};
|
|
48
|
-
export type GetV2HumanEvalSetsResponseBody1 = {
|
|
49
|
-
/**
|
|
50
|
-
* The id of the resource
|
|
51
|
-
*/
|
|
52
|
-
id: string;
|
|
53
|
-
/**
|
|
54
|
-
* Display name of the human review set
|
|
55
|
-
*/
|
|
56
|
-
displayName: string;
|
|
57
|
-
/**
|
|
58
|
-
* Detailed description of the human review set
|
|
59
|
-
*/
|
|
60
|
-
description?: string | undefined;
|
|
61
|
-
/**
|
|
62
|
-
* Array of human review IDs to be applied to matching spans
|
|
63
|
-
*/
|
|
64
|
-
humanEvalIds: Array<string>;
|
|
65
|
-
workspaceId: string;
|
|
66
|
-
/**
|
|
67
|
-
* Optional project ID to scope this human review set to a specific project
|
|
68
|
-
*/
|
|
69
|
-
projectId?: string | undefined;
|
|
70
|
-
createdById?: string | undefined;
|
|
71
|
-
updatedById?: string | undefined;
|
|
72
|
-
/**
|
|
73
|
-
* The date and time the resource was created
|
|
74
|
-
*/
|
|
75
|
-
created?: Date | undefined;
|
|
76
|
-
/**
|
|
77
|
-
* The date and time the resource was last updated
|
|
78
|
-
*/
|
|
79
|
-
updated: Date;
|
|
80
|
-
filterType: "span_type";
|
|
81
|
-
/**
|
|
82
|
-
* Array of span types to match
|
|
83
|
-
*/
|
|
84
|
-
filterValues: Array<string>;
|
|
85
|
-
};
|
|
86
|
-
export type ResponseBody = GetV2HumanEvalSetsResponseBody1 | GetV2HumanEvalSetsResponseBody2;
|
|
87
|
-
/** @internal */
|
|
88
|
-
export type GetV2HumanEvalSetsRequest$Outbound = {
|
|
89
|
-
project_id?: string | undefined;
|
|
90
|
-
};
|
|
91
|
-
/** @internal */
|
|
92
|
-
export declare const GetV2HumanEvalSetsRequest$outboundSchema: z.ZodType<GetV2HumanEvalSetsRequest$Outbound, z.ZodTypeDef, GetV2HumanEvalSetsRequest>;
|
|
93
|
-
export declare function getV2HumanEvalSetsRequestToJSON(getV2HumanEvalSetsRequest: GetV2HumanEvalSetsRequest): string;
|
|
94
|
-
/** @internal */
|
|
95
|
-
export declare const GetV2HumanEvalSetsResponseBody2$inboundSchema: z.ZodType<GetV2HumanEvalSetsResponseBody2, z.ZodTypeDef, unknown>;
|
|
96
|
-
export declare function getV2HumanEvalSetsResponseBody2FromJSON(jsonString: string): SafeParseResult<GetV2HumanEvalSetsResponseBody2, SDKValidationError>;
|
|
97
|
-
/** @internal */
|
|
98
|
-
export declare const GetV2HumanEvalSetsResponseBody1$inboundSchema: z.ZodType<GetV2HumanEvalSetsResponseBody1, z.ZodTypeDef, unknown>;
|
|
99
|
-
export declare function getV2HumanEvalSetsResponseBody1FromJSON(jsonString: string): SafeParseResult<GetV2HumanEvalSetsResponseBody1, SDKValidationError>;
|
|
100
|
-
/** @internal */
|
|
101
|
-
export declare const ResponseBody$inboundSchema: z.ZodType<ResponseBody, z.ZodTypeDef, unknown>;
|
|
102
|
-
export declare function responseBodyFromJSON(jsonString: string): SafeParseResult<ResponseBody, SDKValidationError>;
|
|
103
|
-
//# sourceMappingURL=getv2humanevalsets.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getv2humanevalsets.d.ts","sourceRoot":"","sources":["../../src/models/operations/getv2humanevalsets.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,yBAAyB,GAAG;IACtC;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAChC,CAAC;AAEF,MAAM,MAAM,+BAA+B,GAAG;IAC5C;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC;;OAEG;IACH,YAAY,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC5B,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC;;OAEG;IACH,OAAO,CAAC,EAAE,IAAI,GAAG,SAAS,CAAC;IAC3B;;OAEG;IACH,OAAO,EAAE,IAAI,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,+BAA+B,GAAG;IAC5C;;OAEG;IACH,EAAE,E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,OAAO,CACnE,+BAA+B,EAC/B,CAAC,CAAC,UAAU,EACZ,OAAO,CA6BP,CAAC;AAEH,wBAAgB,uCAAuC,CACrD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,+BAA+B,EAAE,kBAAkB,CAAC,CAMtE;AAED,gBAAgB;AAChB,eAAO,MAAM,0BAA0B,EAAE,CAAC,CAAC,OAAO,CAChD,YAAY,EACZ,CAAC,CAAC,UAAU,EACZ,OAAO,CAIP,CAAC;AAEH,wBAAgB,oBAAoB,CAClC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,YAAY,EAAE,kBAAkB,CAAC,CAMnD"}
|
|
@@ -1,128 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*
|
|
3
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
-
*/
|
|
5
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
-
if (k2 === undefined) k2 = k;
|
|
7
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
-
}
|
|
11
|
-
Object.defineProperty(o, k2, desc);
|
|
12
|
-
}) : (function(o, m, k, k2) {
|
|
13
|
-
if (k2 === undefined) k2 = k;
|
|
14
|
-
o[k2] = m[k];
|
|
15
|
-
}));
|
|
16
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
-
}) : function(o, v) {
|
|
19
|
-
o["default"] = v;
|
|
20
|
-
});
|
|
21
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
-
var ownKeys = function(o) {
|
|
23
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
-
var ar = [];
|
|
25
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
-
return ar;
|
|
27
|
-
};
|
|
28
|
-
return ownKeys(o);
|
|
29
|
-
};
|
|
30
|
-
return function (mod) {
|
|
31
|
-
if (mod && mod.__esModule) return mod;
|
|
32
|
-
var result = {};
|
|
33
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
-
__setModuleDefault(result, mod);
|
|
35
|
-
return result;
|
|
36
|
-
};
|
|
37
|
-
})();
|
|
38
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.ResponseBody$inboundSchema = exports.GetV2HumanEvalSetsResponseBody1$inboundSchema = exports.GetV2HumanEvalSetsResponseBody2$inboundSchema = exports.GetV2HumanEvalSetsRequest$outboundSchema = void 0;
|
|
40
|
-
exports.getV2HumanEvalSetsRequestToJSON = getV2HumanEvalSetsRequestToJSON;
|
|
41
|
-
exports.getV2HumanEvalSetsResponseBody2FromJSON = getV2HumanEvalSetsResponseBody2FromJSON;
|
|
42
|
-
exports.getV2HumanEvalSetsResponseBody1FromJSON = getV2HumanEvalSetsResponseBody1FromJSON;
|
|
43
|
-
exports.responseBodyFromJSON = responseBodyFromJSON;
|
|
44
|
-
const z = __importStar(require("zod/v3"));
|
|
45
|
-
const primitives_js_1 = require("../../lib/primitives.js");
|
|
46
|
-
const schemas_js_1 = require("../../lib/schemas.js");
|
|
47
|
-
/** @internal */
|
|
48
|
-
exports.GetV2HumanEvalSetsRequest$outboundSchema = z.object({
|
|
49
|
-
projectId: z.string().optional(),
|
|
50
|
-
}).transform((v) => {
|
|
51
|
-
return (0, primitives_js_1.remap)(v, {
|
|
52
|
-
projectId: "project_id",
|
|
53
|
-
});
|
|
54
|
-
});
|
|
55
|
-
function getV2HumanEvalSetsRequestToJSON(getV2HumanEvalSetsRequest) {
|
|
56
|
-
return JSON.stringify(exports.GetV2HumanEvalSetsRequest$outboundSchema.parse(getV2HumanEvalSetsRequest));
|
|
57
|
-
}
|
|
58
|
-
/** @internal */
|
|
59
|
-
exports.GetV2HumanEvalSetsResponseBody2$inboundSchema = z.object({
|
|
60
|
-
_id: z.string(),
|
|
61
|
-
display_name: z.string(),
|
|
62
|
-
description: z.string().optional(),
|
|
63
|
-
human_eval_ids: z.array(z.string()),
|
|
64
|
-
workspace_id: z.string(),
|
|
65
|
-
project_id: z.string().optional(),
|
|
66
|
-
created_by_id: z.string().optional(),
|
|
67
|
-
updated_by_id: z.string().optional(),
|
|
68
|
-
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
69
|
-
.optional(),
|
|
70
|
-
updated: z.string().datetime({ offset: true }).default("2026-10-28T11:12:42.542Z").transform(v => new Date(v)),
|
|
71
|
-
filter_type: z.literal("name"),
|
|
72
|
-
filter_value: z.string(),
|
|
73
|
-
}).transform((v) => {
|
|
74
|
-
return (0, primitives_js_1.remap)(v, {
|
|
75
|
-
"_id": "id",
|
|
76
|
-
"display_name": "displayName",
|
|
77
|
-
"human_eval_ids": "humanEvalIds",
|
|
78
|
-
"workspace_id": "workspaceId",
|
|
79
|
-
"project_id": "projectId",
|
|
80
|
-
"created_by_id": "createdById",
|
|
81
|
-
"updated_by_id": "updatedById",
|
|
82
|
-
"filter_type": "filterType",
|
|
83
|
-
"filter_value": "filterValue",
|
|
84
|
-
});
|
|
85
|
-
});
|
|
86
|
-
function getV2HumanEvalSetsResponseBody2FromJSON(jsonString) {
|
|
87
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.GetV2HumanEvalSetsResponseBody2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetV2HumanEvalSetsResponseBody2' from JSON`);
|
|
88
|
-
}
|
|
89
|
-
/** @internal */
|
|
90
|
-
exports.GetV2HumanEvalSetsResponseBody1$inboundSchema = z.object({
|
|
91
|
-
_id: z.string(),
|
|
92
|
-
display_name: z.string(),
|
|
93
|
-
description: z.string().optional(),
|
|
94
|
-
human_eval_ids: z.array(z.string()),
|
|
95
|
-
workspace_id: z.string(),
|
|
96
|
-
project_id: z.string().optional(),
|
|
97
|
-
created_by_id: z.string().optional(),
|
|
98
|
-
updated_by_id: z.string().optional(),
|
|
99
|
-
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
100
|
-
.optional(),
|
|
101
|
-
updated: z.string().datetime({ offset: true }).default("2026-10-28T11:12:42.542Z").transform(v => new Date(v)),
|
|
102
|
-
filter_type: z.literal("span_type"),
|
|
103
|
-
filter_values: z.array(z.string()),
|
|
104
|
-
}).transform((v) => {
|
|
105
|
-
return (0, primitives_js_1.remap)(v, {
|
|
106
|
-
"_id": "id",
|
|
107
|
-
"display_name": "displayName",
|
|
108
|
-
"human_eval_ids": "humanEvalIds",
|
|
109
|
-
"workspace_id": "workspaceId",
|
|
110
|
-
"project_id": "projectId",
|
|
111
|
-
"created_by_id": "createdById",
|
|
112
|
-
"updated_by_id": "updatedById",
|
|
113
|
-
"filter_type": "filterType",
|
|
114
|
-
"filter_values": "filterValues",
|
|
115
|
-
});
|
|
116
|
-
});
|
|
117
|
-
function getV2HumanEvalSetsResponseBody1FromJSON(jsonString) {
|
|
118
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.GetV2HumanEvalSetsResponseBody1$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetV2HumanEvalSetsResponseBody1' from JSON`);
|
|
119
|
-
}
|
|
120
|
-
/** @internal */
|
|
121
|
-
exports.ResponseBody$inboundSchema = z.union([
|
|
122
|
-
z.lazy(() => exports.GetV2HumanEvalSetsResponseBody1$inboundSchema),
|
|
123
|
-
z.lazy(() => exports.GetV2HumanEvalSetsResponseBody2$inboundSchema),
|
|
124
|
-
]);
|
|
125
|
-
function responseBodyFromJSON(jsonString) {
|
|
126
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ResponseBody$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ResponseBody' from JSON`);
|
|
127
|
-
}
|
|
128
|
-
//# sourceMappingURL=getv2humanevalsets.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getv2humanevalsets.js","sourceRoot":"","sources":["../../src/models/operations/getv2humanevalsets.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmHH,0EAMC;AAqCD,0FAQC;AAqCD,0FAQC;AAYD,oDAQC;AArOD,0CAA4B;AAC5B,2DAA0D;AAC1D,qDAAiD;AAkGjD,gBAAgB;AACH,QAAA,wCAAwC,GAIjD,CAAC,CAAC,MAAM,CAAC;IACX,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACjC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,SAAS,EAAE,YAAY;KACxB,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,SAAgB,+BAA+B,CAC7C,yBAAoD;IAEpD,OAAO,IAAI,CAAC,SAAS,CACnB,gDAAwC,CAAC,KAAK,CAAC,yBAAyB,CAAC,CAC1E,CAAC;AACJ,CAAC;AAED,gBAAgB;AACH,QAAA,6CAA6C,GAItD,CAAC,CAAC,MAAM,CAAC;IACX,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE;IACf,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;IACxB,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAClC,cAAc,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IACnC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;IACxB,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACpC,aAAa,EAAE,CAAC,CAAC,MAAM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,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,SAAgB,uCAAuC,CACrD,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,qDAA6C,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACzE,6DAA6D,CAC9D,CAAC;AACJ,CAAC;AAED,gBAAgB;AACH,QAAA,0BAA0B,GAInC,CAAC,CAAC,KAAK,CAAC;IACV,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,qDAA6C,CAAC;IAC3D,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,qDAA6C,CAAC;CAC5D,CAAC,CAAC;AAEH,SAAgB,oBAAoB,CAClC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,kCAA0B,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACtD,0CAA0C,CAC3C,CAAC;AACJ,CAAC"}
|
|
@@ -1,106 +0,0 @@
|
|
|
1
|
-
import * as z from "zod/v3";
|
|
2
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
-
export type GetV2HumanEvalSetsIdRequest = {
|
|
5
|
-
/**
|
|
6
|
-
* The ID of the human review set to retrieve
|
|
7
|
-
*/
|
|
8
|
-
id: string;
|
|
9
|
-
};
|
|
10
|
-
export type GetV2HumanEvalSetsIdResponseBody2 = {
|
|
11
|
-
/**
|
|
12
|
-
* The id of the resource
|
|
13
|
-
*/
|
|
14
|
-
id: string;
|
|
15
|
-
/**
|
|
16
|
-
* Display name of the human review set
|
|
17
|
-
*/
|
|
18
|
-
displayName: string;
|
|
19
|
-
/**
|
|
20
|
-
* Detailed description of the human review set
|
|
21
|
-
*/
|
|
22
|
-
description?: string | undefined;
|
|
23
|
-
/**
|
|
24
|
-
* Array of human review IDs to be applied to matching spans
|
|
25
|
-
*/
|
|
26
|
-
humanEvalIds: Array<string>;
|
|
27
|
-
workspaceId: string;
|
|
28
|
-
/**
|
|
29
|
-
* Optional project ID to scope this human review set to a specific project
|
|
30
|
-
*/
|
|
31
|
-
projectId?: string | undefined;
|
|
32
|
-
createdById?: string | undefined;
|
|
33
|
-
updatedById?: string | undefined;
|
|
34
|
-
/**
|
|
35
|
-
* The date and time the resource was created
|
|
36
|
-
*/
|
|
37
|
-
created?: Date | undefined;
|
|
38
|
-
/**
|
|
39
|
-
* The date and time the resource was last updated
|
|
40
|
-
*/
|
|
41
|
-
updated: Date;
|
|
42
|
-
filterType: "name";
|
|
43
|
-
/**
|
|
44
|
-
* Name pattern to match
|
|
45
|
-
*/
|
|
46
|
-
filterValue: string;
|
|
47
|
-
};
|
|
48
|
-
export type GetV2HumanEvalSetsIdResponseBody1 = {
|
|
49
|
-
/**
|
|
50
|
-
* The id of the resource
|
|
51
|
-
*/
|
|
52
|
-
id: string;
|
|
53
|
-
/**
|
|
54
|
-
* Display name of the human review set
|
|
55
|
-
*/
|
|
56
|
-
displayName: string;
|
|
57
|
-
/**
|
|
58
|
-
* Detailed description of the human review set
|
|
59
|
-
*/
|
|
60
|
-
description?: string | undefined;
|
|
61
|
-
/**
|
|
62
|
-
* Array of human review IDs to be applied to matching spans
|
|
63
|
-
*/
|
|
64
|
-
humanEvalIds: Array<string>;
|
|
65
|
-
workspaceId: string;
|
|
66
|
-
/**
|
|
67
|
-
* Optional project ID to scope this human review set to a specific project
|
|
68
|
-
*/
|
|
69
|
-
projectId?: string | undefined;
|
|
70
|
-
createdById?: string | undefined;
|
|
71
|
-
updatedById?: string | undefined;
|
|
72
|
-
/**
|
|
73
|
-
* The date and time the resource was created
|
|
74
|
-
*/
|
|
75
|
-
created?: Date | undefined;
|
|
76
|
-
/**
|
|
77
|
-
* The date and time the resource was last updated
|
|
78
|
-
*/
|
|
79
|
-
updated: Date;
|
|
80
|
-
filterType: "span_type";
|
|
81
|
-
/**
|
|
82
|
-
* Array of span types to match
|
|
83
|
-
*/
|
|
84
|
-
filterValues: Array<string>;
|
|
85
|
-
};
|
|
86
|
-
/**
|
|
87
|
-
* Successfully retrieved the human review set
|
|
88
|
-
*/
|
|
89
|
-
export type GetV2HumanEvalSetsIdResponseBody = GetV2HumanEvalSetsIdResponseBody1 | GetV2HumanEvalSetsIdResponseBody2;
|
|
90
|
-
/** @internal */
|
|
91
|
-
export type GetV2HumanEvalSetsIdRequest$Outbound = {
|
|
92
|
-
id: string;
|
|
93
|
-
};
|
|
94
|
-
/** @internal */
|
|
95
|
-
export declare const GetV2HumanEvalSetsIdRequest$outboundSchema: z.ZodType<GetV2HumanEvalSetsIdRequest$Outbound, z.ZodTypeDef, GetV2HumanEvalSetsIdRequest>;
|
|
96
|
-
export declare function getV2HumanEvalSetsIdRequestToJSON(getV2HumanEvalSetsIdRequest: GetV2HumanEvalSetsIdRequest): string;
|
|
97
|
-
/** @internal */
|
|
98
|
-
export declare const GetV2HumanEvalSetsIdResponseBody2$inboundSchema: z.ZodType<GetV2HumanEvalSetsIdResponseBody2, z.ZodTypeDef, unknown>;
|
|
99
|
-
export declare function getV2HumanEvalSetsIdResponseBody2FromJSON(jsonString: string): SafeParseResult<GetV2HumanEvalSetsIdResponseBody2, SDKValidationError>;
|
|
100
|
-
/** @internal */
|
|
101
|
-
export declare const GetV2HumanEvalSetsIdResponseBody1$inboundSchema: z.ZodType<GetV2HumanEvalSetsIdResponseBody1, z.ZodTypeDef, unknown>;
|
|
102
|
-
export declare function getV2HumanEvalSetsIdResponseBody1FromJSON(jsonString: string): SafeParseResult<GetV2HumanEvalSetsIdResponseBody1, SDKValidationError>;
|
|
103
|
-
/** @internal */
|
|
104
|
-
export declare const GetV2HumanEvalSetsIdResponseBody$inboundSchema: z.ZodType<GetV2HumanEvalSetsIdResponseBody, z.ZodTypeDef, unknown>;
|
|
105
|
-
export declare function getV2HumanEvalSetsIdResponseBodyFromJSON(jsonString: string): SafeParseResult<GetV2HumanEvalSetsIdResponseBody, SDKValidationError>;
|
|
106
|
-
//# sourceMappingURL=getv2humanevalsetsid.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getv2humanevalsetsid.d.ts","sourceRoot":"","sources":["../../src/models/operations/getv2humanevalsetsid.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,2BAA2B,GAAG;IACxC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC;AAEF,MAAM,MAAM,iCAAiC,GAAG;IAC9C;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC;;OAEG;IACH,YAAY,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC5B,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC;;OAEG;IACH,OAAO,CAAC,EAAE,IAAI,GAAG,SAAS,CAAC;IAC3B;;OAEG;IACH,OAAO,EAAE,IAAI,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,iCAAiC,GAAG;IAC9C;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;O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