@orq-ai/node 4.15.0-rc.25 → 4.15.0-rc.27
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/funcs/budgetsCreate.d.ts +1 -1
- package/funcs/budgetsCreate.js +1 -1
- package/funcs/budgetsDelete.d.ts +1 -1
- package/funcs/budgetsDelete.js +1 -1
- package/funcs/budgetsGet.d.ts +1 -1
- package/funcs/budgetsGet.js +1 -1
- package/funcs/budgetsList.d.ts +1 -1
- package/funcs/budgetsList.js +1 -1
- package/funcs/budgetsResetConsumption.d.ts +1 -1
- package/funcs/budgetsResetConsumption.js +1 -1
- package/funcs/budgetsUpdate.d.ts +1 -1
- package/funcs/budgetsUpdate.js +1 -1
- package/funcs/evalsCreate.d.ts +1 -2
- package/funcs/evalsCreate.d.ts.map +1 -1
- package/funcs/evalsCreate.js +2 -2
- package/funcs/evalsCreate.js.map +1 -1
- package/funcs/evalsGet.d.ts +1 -2
- package/funcs/evalsGet.d.ts.map +1 -1
- package/funcs/evalsGet.js +1 -2
- package/funcs/evalsGet.js.map +1 -1
- package/funcs/evalsGetVersion.d.ts +1 -2
- package/funcs/evalsGetVersion.d.ts.map +1 -1
- package/funcs/evalsGetVersion.js +1 -2
- package/funcs/evalsGetVersion.js.map +1 -1
- package/funcs/evalsInvoke.d.ts +1 -1
- package/funcs/evalsInvoke.d.ts.map +1 -1
- package/funcs/evalsInvoke.js +1 -1
- package/funcs/evalsInvoke.js.map +1 -1
- package/funcs/evalsUpdate.d.ts +1 -2
- package/funcs/evalsUpdate.d.ts.map +1 -1
- package/funcs/evalsUpdate.js +1 -2
- package/funcs/evalsUpdate.js.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/models/components/index.d.ts +0 -3
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +0 -3
- package/models/components/index.js.map +1 -1
- package/models/components/managementkey.d.ts +3 -4
- package/models/components/managementkey.d.ts.map +1 -1
- package/models/components/managementkey.js.map +1 -1
- package/models/components/reasoningpart.js +1 -1
- package/models/operations/createdataset.js +1 -1
- package/models/operations/createdatasetitem.js +5 -5
- package/models/operations/createeval.d.ts +9 -0
- package/models/operations/createeval.d.ts.map +1 -1
- package/models/operations/createeval.js +8 -1
- 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/geteval.d.ts +9 -0
- package/models/operations/geteval.d.ts.map +1 -1
- package/models/operations/geteval.js +8 -1
- package/models/operations/geteval.js.map +1 -1
- package/models/operations/getevalversion.d.ts +9 -0
- package/models/operations/getevalversion.d.ts.map +1 -1
- package/models/operations/getevalversion.js +8 -1
- package/models/operations/getevalversion.js.map +1 -1
- package/models/operations/getv2humanevalsets.js +2 -2
- package/models/operations/getv2humanevalsetsid.js +2 -2
- package/models/operations/listdatasetdatapoints.js +5 -5
- package/models/operations/listdatasets.js +1 -1
- package/models/operations/patchv2humanevalsetsid.js +2 -2
- package/models/operations/postv2feedbackevaluation.js +4 -4
- package/models/operations/postv2humanevalsets.js +2 -2
- package/models/operations/retrievedatapoint.js +5 -5
- package/models/operations/retrievedataset.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/updatedatapoint.js +5 -5
- package/models/operations/updatedataset.js +1 -1
- package/models/operations/updateeval.d.ts +9 -0
- package/models/operations/updateeval.d.ts.map +1 -1
- package/models/operations/updateeval.js +8 -1
- package/models/operations/updateeval.js.map +1 -1
- package/models/operations/updatetool.js +4 -4
- package/package.json +5 -5
- package/sdk/budgets.d.ts +6 -6
- package/sdk/budgets.js +6 -6
- package/sdk/evals.d.ts +5 -5
- package/sdk/evals.d.ts.map +1 -1
- package/src/funcs/budgetsCreate.ts +1 -1
- package/src/funcs/budgetsDelete.ts +1 -1
- package/src/funcs/budgetsGet.ts +1 -1
- package/src/funcs/budgetsList.ts +1 -1
- package/src/funcs/budgetsResetConsumption.ts +1 -1
- package/src/funcs/budgetsUpdate.ts +1 -1
- package/src/funcs/evalsCreate.ts +4 -5
- package/src/funcs/evalsGet.ts +4 -5
- package/src/funcs/evalsGetVersion.ts +4 -5
- package/src/funcs/evalsInvoke.ts +4 -4
- package/src/funcs/evalsUpdate.ts +4 -5
- package/src/lib/config.ts +2 -2
- package/src/models/components/index.ts +0 -3
- package/src/models/components/managementkey.ts +3 -4
- package/src/models/components/reasoningpart.ts +1 -1
- package/src/models/operations/createdataset.ts +1 -1
- package/src/models/operations/createdatasetitem.ts +5 -5
- package/src/models/operations/createeval.ts +25 -0
- package/src/models/operations/createtool.ts +4 -4
- package/src/models/operations/getalltools.ts +4 -4
- package/src/models/operations/geteval.ts +25 -0
- package/src/models/operations/getevalversion.ts +25 -0
- package/src/models/operations/getv2humanevalsets.ts +2 -2
- package/src/models/operations/getv2humanevalsetsid.ts +2 -2
- package/src/models/operations/listdatasetdatapoints.ts +5 -5
- package/src/models/operations/listdatasets.ts +1 -1
- package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
- package/src/models/operations/postv2feedbackevaluation.ts +4 -4
- package/src/models/operations/postv2humanevalsets.ts +2 -2
- package/src/models/operations/retrievedatapoint.ts +5 -5
- package/src/models/operations/retrievedataset.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/updatedatapoint.ts +5 -5
- package/src/models/operations/updatedataset.ts +1 -1
- package/src/models/operations/updateeval.ts +25 -0
- package/src/models/operations/updatetool.ts +4 -4
- package/src/sdk/budgets.ts +6 -6
- package/src/sdk/evals.ts +5 -5
- package/models/components/evaluatordocumentresponse.d.ts +0 -14
- package/models/components/evaluatordocumentresponse.d.ts.map +0 -1
- package/models/components/evaluatordocumentresponse.js +0 -56
- package/models/components/evaluatordocumentresponse.js.map +0 -1
- package/models/components/getevaluatorversionresponse.d.ts +0 -20
- package/models/components/getevaluatorversionresponse.d.ts.map +0 -1
- package/models/components/getevaluatorversionresponse.js +0 -57
- package/models/components/getevaluatorversionresponse.js.map +0 -1
- package/models/components/invokeevaluatorresponse.d.ts +0 -23
- package/models/components/invokeevaluatorresponse.d.ts.map +0 -1
- package/models/components/invokeevaluatorresponse.js +0 -51
- package/models/components/invokeevaluatorresponse.js.map +0 -1
- package/src/models/components/evaluatordocumentresponse.ts +0 -50
- package/src/models/components/getevaluatorversionresponse.ts +0 -58
- package/src/models/components/invokeevaluatorresponse.ts +0 -47
|
@@ -2760,7 +2760,7 @@ export const UpdateDatapointEvaluations4$inboundSchema: z.ZodType<
|
|
|
2760
2760
|
explanation: z.string().optional(),
|
|
2761
2761
|
reviewed_by_id: z.string(),
|
|
2762
2762
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2763
|
-
"2026-09-
|
|
2763
|
+
"2026-09-08T09:48:32.299Z",
|
|
2764
2764
|
).transform(v => new Date(v)),
|
|
2765
2765
|
type: z.literal("string_array"),
|
|
2766
2766
|
values: z.array(z.string()),
|
|
@@ -2860,7 +2860,7 @@ export const UpdateDatapointEvaluations3$inboundSchema: z.ZodType<
|
|
|
2860
2860
|
explanation: z.string().optional(),
|
|
2861
2861
|
reviewed_by_id: z.string(),
|
|
2862
2862
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2863
|
-
"2026-09-
|
|
2863
|
+
"2026-09-08T09:48:32.299Z",
|
|
2864
2864
|
).transform(v => new Date(v)),
|
|
2865
2865
|
type: z.literal("boolean"),
|
|
2866
2866
|
value: z.boolean(),
|
|
@@ -2957,7 +2957,7 @@ export const UpdateDatapointEvaluations2$inboundSchema: z.ZodType<
|
|
|
2957
2957
|
explanation: z.string().optional(),
|
|
2958
2958
|
reviewed_by_id: z.string(),
|
|
2959
2959
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2960
|
-
"2026-09-
|
|
2960
|
+
"2026-09-08T09:48:32.299Z",
|
|
2961
2961
|
).transform(v => new Date(v)),
|
|
2962
2962
|
type: z.literal("number"),
|
|
2963
2963
|
value: z.number(),
|
|
@@ -3046,7 +3046,7 @@ export const UpdateDatapointEvaluations1$inboundSchema: z.ZodType<
|
|
|
3046
3046
|
explanation: z.string().optional(),
|
|
3047
3047
|
reviewed_by_id: z.string(),
|
|
3048
3048
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
3049
|
-
"2026-09-
|
|
3049
|
+
"2026-09-08T09:48:32.298Z",
|
|
3050
3050
|
).transform(v => new Date(v)),
|
|
3051
3051
|
type: z.literal("string"),
|
|
3052
3052
|
value: z.string(),
|
|
@@ -3131,7 +3131,7 @@ export const UpdateDatapointResponseBody$inboundSchema: z.ZodType<
|
|
|
3131
3131
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
3132
3132
|
.optional(),
|
|
3133
3133
|
updated: z.string().datetime({ offset: true }).default(
|
|
3134
|
-
"2026-09-
|
|
3134
|
+
"2026-09-08T09:48:23.645Z",
|
|
3135
3135
|
).transform(v => new Date(v)),
|
|
3136
3136
|
}).transform((v) => {
|
|
3137
3137
|
return remap$(v, {
|
|
@@ -182,7 +182,7 @@ export const UpdateDatasetResponseBody$inboundSchema: z.ZodType<
|
|
|
182
182
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
183
183
|
.optional(),
|
|
184
184
|
updated: z.string().datetime({ offset: true }).default(
|
|
185
|
-
"2026-09-
|
|
185
|
+
"2026-09-08T09:48:23.645Z",
|
|
186
186
|
).transform(v => new Date(v)),
|
|
187
187
|
}).transform((v) => {
|
|
188
188
|
return remap$(v, {
|
|
@@ -4,6 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
import * as z from "zod/v3";
|
|
6
6
|
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
7
10
|
|
|
8
11
|
export type UpdateEvalRequestBody = {};
|
|
9
12
|
|
|
@@ -12,6 +15,11 @@ export type UpdateEvalRequest = {
|
|
|
12
15
|
requestBody: UpdateEvalRequestBody;
|
|
13
16
|
};
|
|
14
17
|
|
|
18
|
+
/**
|
|
19
|
+
* OK
|
|
20
|
+
*/
|
|
21
|
+
export type UpdateEvalResponseBody = {};
|
|
22
|
+
|
|
15
23
|
/** @internal */
|
|
16
24
|
export type UpdateEvalRequestBody$Outbound = {};
|
|
17
25
|
|
|
@@ -57,3 +65,20 @@ export function updateEvalRequestToJSON(
|
|
|
57
65
|
UpdateEvalRequest$outboundSchema.parse(updateEvalRequest),
|
|
58
66
|
);
|
|
59
67
|
}
|
|
68
|
+
|
|
69
|
+
/** @internal */
|
|
70
|
+
export const UpdateEvalResponseBody$inboundSchema: z.ZodType<
|
|
71
|
+
UpdateEvalResponseBody,
|
|
72
|
+
z.ZodTypeDef,
|
|
73
|
+
unknown
|
|
74
|
+
> = z.object({});
|
|
75
|
+
|
|
76
|
+
export function updateEvalResponseBodyFromJSON(
|
|
77
|
+
jsonString: string,
|
|
78
|
+
): SafeParseResult<UpdateEvalResponseBody, SDKValidationError> {
|
|
79
|
+
return safeParse(
|
|
80
|
+
jsonString,
|
|
81
|
+
(x) => UpdateEvalResponseBody$inboundSchema.parse(JSON.parse(x)),
|
|
82
|
+
`Failed to parse 'UpdateEvalResponseBody' from JSON`,
|
|
83
|
+
);
|
|
84
|
+
}
|
|
@@ -1764,7 +1764,7 @@ export const UpdateToolResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
1764
1764
|
z.ZodTypeDef,
|
|
1765
1765
|
unknown
|
|
1766
1766
|
> = z.object({
|
|
1767
|
-
_id: z.string().default("
|
|
1767
|
+
_id: z.string().default("tool_01M206PMM2CPFDTMF59P6SJ2N3"),
|
|
1768
1768
|
path: z.string(),
|
|
1769
1769
|
key: z.string(),
|
|
1770
1770
|
display_name: z.string().optional(),
|
|
@@ -1959,7 +1959,7 @@ export const UpdateToolResponseBodyHTTPTool$inboundSchema: z.ZodType<
|
|
|
1959
1959
|
z.ZodTypeDef,
|
|
1960
1960
|
unknown
|
|
1961
1961
|
> = z.object({
|
|
1962
|
-
_id: z.string().default("
|
|
1962
|
+
_id: z.string().default("tool_01M206PMM1BJ1347BZWV7NRFVA"),
|
|
1963
1963
|
path: z.string(),
|
|
1964
1964
|
key: z.string(),
|
|
1965
1965
|
display_name: z.string().optional(),
|
|
@@ -2054,7 +2054,7 @@ export const UpdateToolResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
|
|
|
2054
2054
|
z.ZodTypeDef,
|
|
2055
2055
|
unknown
|
|
2056
2056
|
> = z.object({
|
|
2057
|
-
_id: z.string().default("
|
|
2057
|
+
_id: z.string().default("tool_01M206PMM0Y0FQ7GT7VYHMNY61"),
|
|
2058
2058
|
path: z.string(),
|
|
2059
2059
|
key: z.string(),
|
|
2060
2060
|
display_name: z.string().optional(),
|
|
@@ -2157,7 +2157,7 @@ export const UpdateToolResponseBodyFunctionTool$inboundSchema: z.ZodType<
|
|
|
2157
2157
|
z.ZodTypeDef,
|
|
2158
2158
|
unknown
|
|
2159
2159
|
> = z.object({
|
|
2160
|
-
_id: z.string().default("
|
|
2160
|
+
_id: z.string().default("tool_01M206PMKZWWJWCX19977140G4"),
|
|
2161
2161
|
path: z.string(),
|
|
2162
2162
|
key: z.string(),
|
|
2163
2163
|
display_name: z.string().optional(),
|
package/src/sdk/budgets.ts
CHANGED
|
@@ -18,7 +18,7 @@ export class Budgets extends ClientSDK {
|
|
|
18
18
|
* List budgets
|
|
19
19
|
*
|
|
20
20
|
* @remarks
|
|
21
|
-
* Returns budgets visible to the current workspace, ordered by creation time with the newest first. Supports filtering by scope kind, scope target id, period, and active state, plus an optional free-text query that searches across denormalized target names via Typesense.
|
|
21
|
+
* Returns budgets visible to the current workspace, ordered by creation time with the newest first. Supports filtering by scope kind, scope target id, period, and active state, plus an optional free-text query that searches across denormalized target names via Typesense. Requires a Management Key with the Budgets permission; project-scoped API keys cannot manage budgets.
|
|
22
22
|
*/
|
|
23
23
|
async list(
|
|
24
24
|
request?: operations.BudgetListRequest | undefined,
|
|
@@ -35,7 +35,7 @@ export class Budgets extends ClientSDK {
|
|
|
35
35
|
* Create a new budget
|
|
36
36
|
*
|
|
37
37
|
* @remarks
|
|
38
|
-
* Creates a new budget in the workspace. Exactly one scope variant must be set (workspace / project / identity / api_key / provider / model). At least one of `limits.amount`, `limits.token_limit`, or `rate_limit.requests_per_minute` MUST be provided. Uniqueness is enforced across (workspace_id, scope_kind, scope_target_id).
|
|
38
|
+
* Creates a new budget in the workspace. Exactly one scope variant must be set (workspace / project / identity / api_key / provider / model). At least one of `limits.amount`, `limits.token_limit`, or `rate_limit.requests_per_minute` MUST be provided. Uniqueness is enforced across (workspace_id, scope_kind, scope_target_id). Requires a Management Key with the Budgets permission; project-scoped API keys cannot manage budgets.
|
|
39
39
|
*/
|
|
40
40
|
async create(
|
|
41
41
|
request: components.CreateBudgetRequest,
|
|
@@ -52,7 +52,7 @@ export class Budgets extends ClientSDK {
|
|
|
52
52
|
* Retrieve a budget
|
|
53
53
|
*
|
|
54
54
|
* @remarks
|
|
55
|
-
* Retrieves the metadata for an existing budget by its unique identifier. Returns `NotFound` when the budget does not exist in the caller's workspace.
|
|
55
|
+
* Retrieves the metadata for an existing budget by its unique identifier. Returns `NotFound` when the budget does not exist in the caller's workspace. Requires a Management Key with the Budgets permission; project-scoped API keys cannot manage budgets.
|
|
56
56
|
*/
|
|
57
57
|
async get(
|
|
58
58
|
request: operations.BudgetGetRequest,
|
|
@@ -69,7 +69,7 @@ export class Budgets extends ClientSDK {
|
|
|
69
69
|
* Delete a budget
|
|
70
70
|
*
|
|
71
71
|
* @remarks
|
|
72
|
-
* Permanently deletes a budget. Its consumption counters are cleared immediately. The response body is empty on success.
|
|
72
|
+
* Permanently deletes a budget. Its consumption counters are cleared immediately. The response body is empty on success. Requires a Management Key with the Budgets permission; project-scoped API keys cannot manage budgets.
|
|
73
73
|
*/
|
|
74
74
|
async delete(
|
|
75
75
|
request: operations.BudgetDeleteRequest,
|
|
@@ -86,7 +86,7 @@ export class Budgets extends ClientSDK {
|
|
|
86
86
|
* Update a budget
|
|
87
87
|
*
|
|
88
88
|
* @remarks
|
|
89
|
-
* Updates mutable fields of a budget: limits, rate limit, activation, and expiration. The scope is immutable — to change a budget's target, delete and recreate it. Omitted fields keep their current values.
|
|
89
|
+
* Updates mutable fields of a budget: limits, rate limit, activation, and expiration. The scope is immutable — to change a budget's target, delete and recreate it. Omitted fields keep their current values. Requires a Management Key with the Budgets permission; project-scoped API keys cannot manage budgets.
|
|
90
90
|
*/
|
|
91
91
|
async update(
|
|
92
92
|
request: operations.BudgetUpdateRequest,
|
|
@@ -103,7 +103,7 @@ export class Budgets extends ClientSDK {
|
|
|
103
103
|
* Reset budget consumption
|
|
104
104
|
*
|
|
105
105
|
* @remarks
|
|
106
|
-
* Clears the current-period cost, token, and request counters for the budget. The budget record itself is preserved.
|
|
106
|
+
* Clears the current-period cost, token, and request counters for the budget. The budget record itself is preserved. Requires a Management Key with the Budgets permission; project-scoped API keys cannot manage budgets.
|
|
107
107
|
*/
|
|
108
108
|
async resetConsumption(
|
|
109
109
|
request: operations.BudgetResetConsumptionRequest,
|
package/src/sdk/evals.ts
CHANGED
|
@@ -42,7 +42,7 @@ export class Evals extends ClientSDK {
|
|
|
42
42
|
async create(
|
|
43
43
|
request: operations.CreateEvalRequestBody,
|
|
44
44
|
options?: RequestOptions,
|
|
45
|
-
): Promise<
|
|
45
|
+
): Promise<operations.CreateEvalResponseBody> {
|
|
46
46
|
return unwrapAsync(evalsCreate(
|
|
47
47
|
this,
|
|
48
48
|
request,
|
|
@@ -59,7 +59,7 @@ export class Evals extends ClientSDK {
|
|
|
59
59
|
async get(
|
|
60
60
|
request: operations.GetEvalRequest,
|
|
61
61
|
options?: RequestOptions,
|
|
62
|
-
): Promise<
|
|
62
|
+
): Promise<operations.GetEvalResponseBody> {
|
|
63
63
|
return unwrapAsync(evalsGet(
|
|
64
64
|
this,
|
|
65
65
|
request,
|
|
@@ -93,7 +93,7 @@ export class Evals extends ClientSDK {
|
|
|
93
93
|
async update(
|
|
94
94
|
request: operations.UpdateEvalRequest,
|
|
95
95
|
options?: RequestOptions,
|
|
96
|
-
): Promise<
|
|
96
|
+
): Promise<operations.UpdateEvalResponseBody> {
|
|
97
97
|
return unwrapAsync(evalsUpdate(
|
|
98
98
|
this,
|
|
99
99
|
request,
|
|
@@ -127,7 +127,7 @@ export class Evals extends ClientSDK {
|
|
|
127
127
|
async getVersion(
|
|
128
128
|
request: operations.GetEvalVersionRequest,
|
|
129
129
|
options?: RequestOptions,
|
|
130
|
-
): Promise<
|
|
130
|
+
): Promise<operations.GetEvalVersionResponseBody> {
|
|
131
131
|
return unwrapAsync(evalsGetVersion(
|
|
132
132
|
this,
|
|
133
133
|
request,
|
|
@@ -144,7 +144,7 @@ export class Evals extends ClientSDK {
|
|
|
144
144
|
async invoke(
|
|
145
145
|
request: operations.InvokeEvalRequest,
|
|
146
146
|
options?: RequestOptions,
|
|
147
|
-
): Promise<components.
|
|
147
|
+
): Promise<components.EvaluationResult> {
|
|
148
148
|
return unwrapAsync(evalsInvoke(
|
|
149
149
|
this,
|
|
150
150
|
request,
|
|
@@ -1,14 +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 Document = {};
|
|
5
|
-
export type EvaluatorDocumentResponse = {
|
|
6
|
-
document?: Document | undefined;
|
|
7
|
-
};
|
|
8
|
-
/** @internal */
|
|
9
|
-
export declare const Document$inboundSchema: z.ZodType<Document, z.ZodTypeDef, unknown>;
|
|
10
|
-
export declare function documentFromJSON(jsonString: string): SafeParseResult<Document, SDKValidationError>;
|
|
11
|
-
/** @internal */
|
|
12
|
-
export declare const EvaluatorDocumentResponse$inboundSchema: z.ZodType<EvaluatorDocumentResponse, z.ZodTypeDef, unknown>;
|
|
13
|
-
export declare function evaluatorDocumentResponseFromJSON(jsonString: string): SafeParseResult<EvaluatorDocumentResponse, SDKValidationError>;
|
|
14
|
-
//# sourceMappingURL=evaluatordocumentresponse.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"evaluatordocumentresponse.d.ts","sourceRoot":"","sources":["../../src/models/components/evaluatordocumentresponse.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,QAAQ,GAAG,EAAE,CAAC;AAE1B,MAAM,MAAM,yBAAyB,GAAG;IACtC,QAAQ,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAC;CACjC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,sBAAsB,EAAE,CAAC,CAAC,OAAO,CAC5C,QAAQ,EACR,CAAC,CAAC,UAAU,EACZ,OAAO,CACO,CAAC;AAEjB,wBAAgB,gBAAgB,CAC9B,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,QAAQ,EAAE,kBAAkB,CAAC,CAM/C;AAED,gBAAgB;AAChB,eAAO,MAAM,uCAAuC,EAAE,CAAC,CAAC,OAAO,CAC7D,yBAAyB,EACzB,CAAC,CAAC,UAAU,EACZ,OAAO,CAGP,CAAC;AAEH,wBAAgB,iCAAiC,CAC/C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,yBAAyB,EAAE,kBAAkB,CAAC,CAMhE"}
|
|
@@ -1,56 +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.EvaluatorDocumentResponse$inboundSchema = exports.Document$inboundSchema = void 0;
|
|
40
|
-
exports.documentFromJSON = documentFromJSON;
|
|
41
|
-
exports.evaluatorDocumentResponseFromJSON = evaluatorDocumentResponseFromJSON;
|
|
42
|
-
const z = __importStar(require("zod/v3"));
|
|
43
|
-
const schemas_js_1 = require("../../lib/schemas.js");
|
|
44
|
-
/** @internal */
|
|
45
|
-
exports.Document$inboundSchema = z.object({});
|
|
46
|
-
function documentFromJSON(jsonString) {
|
|
47
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.Document$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Document' from JSON`);
|
|
48
|
-
}
|
|
49
|
-
/** @internal */
|
|
50
|
-
exports.EvaluatorDocumentResponse$inboundSchema = z.object({
|
|
51
|
-
document: z.lazy(() => exports.Document$inboundSchema).optional(),
|
|
52
|
-
});
|
|
53
|
-
function evaluatorDocumentResponseFromJSON(jsonString) {
|
|
54
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.EvaluatorDocumentResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'EvaluatorDocumentResponse' from JSON`);
|
|
55
|
-
}
|
|
56
|
-
//# sourceMappingURL=evaluatordocumentresponse.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"evaluatordocumentresponse.js","sourceRoot":"","sources":["../../src/models/components/evaluatordocumentresponse.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoBH,4CAQC;AAWD,8EAQC;AA7CD,0CAA4B;AAC5B,qDAAiD;AAUjD,gBAAgB;AACH,QAAA,sBAAsB,GAI/B,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;AAEjB,SAAgB,gBAAgB,CAC9B,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,8BAAsB,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAClD,sCAAsC,CACvC,CAAC;AACJ,CAAC;AAED,gBAAgB;AACH,QAAA,uCAAuC,GAIhD,CAAC,CAAC,MAAM,CAAC;IACX,QAAQ,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,8BAAsB,CAAC,CAAC,QAAQ,EAAE;CAC1D,CAAC,CAAC;AAEH,SAAgB,iCAAiC,CAC/C,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,+CAAuC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACnE,uDAAuD,CACxD,CAAC;AACJ,CAAC"}
|
|
@@ -1,20 +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 GetEvaluatorVersionResponseDocument = {};
|
|
5
|
-
/**
|
|
6
|
-
* A dedicated message (not a reuse of EvaluatorDocumentResponse): the field
|
|
7
|
-
*
|
|
8
|
-
* @remarks
|
|
9
|
-
* carries a version-activity envelope, not an evaluator document.
|
|
10
|
-
*/
|
|
11
|
-
export type GetEvaluatorVersionResponse = {
|
|
12
|
-
document?: GetEvaluatorVersionResponseDocument | undefined;
|
|
13
|
-
};
|
|
14
|
-
/** @internal */
|
|
15
|
-
export declare const GetEvaluatorVersionResponseDocument$inboundSchema: z.ZodType<GetEvaluatorVersionResponseDocument, z.ZodTypeDef, unknown>;
|
|
16
|
-
export declare function getEvaluatorVersionResponseDocumentFromJSON(jsonString: string): SafeParseResult<GetEvaluatorVersionResponseDocument, SDKValidationError>;
|
|
17
|
-
/** @internal */
|
|
18
|
-
export declare const GetEvaluatorVersionResponse$inboundSchema: z.ZodType<GetEvaluatorVersionResponse, z.ZodTypeDef, unknown>;
|
|
19
|
-
export declare function getEvaluatorVersionResponseFromJSON(jsonString: string): SafeParseResult<GetEvaluatorVersionResponse, SDKValidationError>;
|
|
20
|
-
//# sourceMappingURL=getevaluatorversionresponse.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getevaluatorversionresponse.d.ts","sourceRoot":"","sources":["../../src/models/components/getevaluatorversionresponse.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,mCAAmC,GAAG,EAAE,CAAC;AAErD;;;;;GAKG;AACH,MAAM,MAAM,2BAA2B,GAAG;IACxC,QAAQ,CAAC,EAAE,mCAAmC,GAAG,SAAS,CAAC;CAC5D,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,iDAAiD,EAAE,CAAC,CAAC,OAAO,CACvE,mCAAmC,EACnC,CAAC,CAAC,UAAU,EACZ,OAAO,CACO,CAAC;AAEjB,wBAAgB,2CAA2C,CACzD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,mCAAmC,EAAE,kBAAkB,CAAC,CAO1E;AAED,gBAAgB;AAChB,eAAO,MAAM,yCAAyC,EAAE,CAAC,CAAC,OAAO,CAC/D,2BAA2B,EAC3B,CAAC,CAAC,UAAU,EACZ,OAAO,CAIP,CAAC;AAEH,wBAAgB,mCAAmC,CACjD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,2BAA2B,EAAE,kBAAkB,CAAC,CAMlE"}
|
|
@@ -1,57 +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.GetEvaluatorVersionResponse$inboundSchema = exports.GetEvaluatorVersionResponseDocument$inboundSchema = void 0;
|
|
40
|
-
exports.getEvaluatorVersionResponseDocumentFromJSON = getEvaluatorVersionResponseDocumentFromJSON;
|
|
41
|
-
exports.getEvaluatorVersionResponseFromJSON = getEvaluatorVersionResponseFromJSON;
|
|
42
|
-
const z = __importStar(require("zod/v3"));
|
|
43
|
-
const schemas_js_1 = require("../../lib/schemas.js");
|
|
44
|
-
/** @internal */
|
|
45
|
-
exports.GetEvaluatorVersionResponseDocument$inboundSchema = z.object({});
|
|
46
|
-
function getEvaluatorVersionResponseDocumentFromJSON(jsonString) {
|
|
47
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.GetEvaluatorVersionResponseDocument$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetEvaluatorVersionResponseDocument' from JSON`);
|
|
48
|
-
}
|
|
49
|
-
/** @internal */
|
|
50
|
-
exports.GetEvaluatorVersionResponse$inboundSchema = z.object({
|
|
51
|
-
document: z.lazy(() => exports.GetEvaluatorVersionResponseDocument$inboundSchema)
|
|
52
|
-
.optional(),
|
|
53
|
-
});
|
|
54
|
-
function getEvaluatorVersionResponseFromJSON(jsonString) {
|
|
55
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.GetEvaluatorVersionResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetEvaluatorVersionResponse' from JSON`);
|
|
56
|
-
}
|
|
57
|
-
//# sourceMappingURL=getevaluatorversionresponse.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getevaluatorversionresponse.js","sourceRoot":"","sources":["../../src/models/components/getevaluatorversionresponse.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0BH,kGASC;AAYD,kFAQC;AArDD,0CAA4B;AAC5B,qDAAiD;AAgBjD,gBAAgB;AACH,QAAA,iDAAiD,GAI1D,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;AAEjB,SAAgB,2CAA2C,CACzD,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CACJ,yDAAiD,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACxE,iEAAiE,CAClE,CAAC;AACJ,CAAC;AAED,gBAAgB;AACH,QAAA,yCAAyC,GAIlD,CAAC,CAAC,MAAM,CAAC;IACX,QAAQ,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,yDAAiD,CAAC;SACtE,QAAQ,EAAE;CACd,CAAC,CAAC;AAEH,SAAgB,mCAAmC,CACjD,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,iDAAyC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACrE,yDAAyD,CAC1D,CAAC;AACJ,CAAC"}
|
|
@@ -1,23 +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
|
-
import { EvaluationResult } from "./evaluationresult.js";
|
|
5
|
-
/**
|
|
6
|
-
* Response wrappers keep each RPC's response type distinct, so a future field
|
|
7
|
-
*
|
|
8
|
-
* @remarks
|
|
9
|
-
* can be added to one without touching the other.
|
|
10
|
-
*/
|
|
11
|
-
export type InvokeEvaluatorResponse = {
|
|
12
|
-
/**
|
|
13
|
-
* The verdict. Shaped to match WorkflowRunMinifiedEvalSchema, the body the
|
|
14
|
-
*
|
|
15
|
-
* @remarks
|
|
16
|
-
* TypeScript route returned, so existing consumers read the same JSON.
|
|
17
|
-
*/
|
|
18
|
-
result?: EvaluationResult | undefined;
|
|
19
|
-
};
|
|
20
|
-
/** @internal */
|
|
21
|
-
export declare const InvokeEvaluatorResponse$inboundSchema: z.ZodType<InvokeEvaluatorResponse, z.ZodTypeDef, unknown>;
|
|
22
|
-
export declare function invokeEvaluatorResponseFromJSON(jsonString: string): SafeParseResult<InvokeEvaluatorResponse, SDKValidationError>;
|
|
23
|
-
//# sourceMappingURL=invokeevaluatorresponse.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"invokeevaluatorresponse.d.ts","sourceRoot":"","sources":["../../src/models/components/invokeevaluatorresponse.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,gBAAgB,EAEjB,MAAM,uBAAuB,CAAC;AAE/B;;;;;GAKG;AACH,MAAM,MAAM,uBAAuB,GAAG;IACpC;;;;;OAKG;IACH,MAAM,CAAC,EAAE,gBAAgB,GAAG,SAAS,CAAC;CACvC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,qCAAqC,EAAE,CAAC,CAAC,OAAO,CAC3D,uBAAuB,EACvB,CAAC,CAAC,UAAU,EACZ,OAAO,CAGP,CAAC;AAEH,wBAAgB,+BAA+B,CAC7C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,uBAAuB,EAAE,kBAAkB,CAAC,CAM9D"}
|
|
@@ -1,51 +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.InvokeEvaluatorResponse$inboundSchema = void 0;
|
|
40
|
-
exports.invokeEvaluatorResponseFromJSON = invokeEvaluatorResponseFromJSON;
|
|
41
|
-
const z = __importStar(require("zod/v3"));
|
|
42
|
-
const schemas_js_1 = require("../../lib/schemas.js");
|
|
43
|
-
const evaluationresult_js_1 = require("./evaluationresult.js");
|
|
44
|
-
/** @internal */
|
|
45
|
-
exports.InvokeEvaluatorResponse$inboundSchema = z.object({
|
|
46
|
-
result: evaluationresult_js_1.EvaluationResult$inboundSchema.optional(),
|
|
47
|
-
});
|
|
48
|
-
function invokeEvaluatorResponseFromJSON(jsonString) {
|
|
49
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.InvokeEvaluatorResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'InvokeEvaluatorResponse' from JSON`);
|
|
50
|
-
}
|
|
51
|
-
//# sourceMappingURL=invokeevaluatorresponse.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"invokeevaluatorresponse.js","sourceRoot":"","sources":["../../src/models/components/invokeevaluatorresponse.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoCH,0EAQC;AA1CD,0CAA4B;AAC5B,qDAAiD;AAGjD,+DAG+B;AAkB/B,gBAAgB;AACH,QAAA,qCAAqC,GAI9C,CAAC,CAAC,MAAM,CAAC;IACX,MAAM,EAAE,oDAA8B,CAAC,QAAQ,EAAE;CAClD,CAAC,CAAC;AAEH,SAAgB,+BAA+B,CAC7C,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,6CAAqC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACjE,qDAAqD,CACtD,CAAC;AACJ,CAAC"}
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
import * as z from "zod/v3";
|
|
6
|
-
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
-
|
|
10
|
-
export type Document = {};
|
|
11
|
-
|
|
12
|
-
export type EvaluatorDocumentResponse = {
|
|
13
|
-
document?: Document | undefined;
|
|
14
|
-
};
|
|
15
|
-
|
|
16
|
-
/** @internal */
|
|
17
|
-
export const Document$inboundSchema: z.ZodType<
|
|
18
|
-
Document,
|
|
19
|
-
z.ZodTypeDef,
|
|
20
|
-
unknown
|
|
21
|
-
> = z.object({});
|
|
22
|
-
|
|
23
|
-
export function documentFromJSON(
|
|
24
|
-
jsonString: string,
|
|
25
|
-
): SafeParseResult<Document, SDKValidationError> {
|
|
26
|
-
return safeParse(
|
|
27
|
-
jsonString,
|
|
28
|
-
(x) => Document$inboundSchema.parse(JSON.parse(x)),
|
|
29
|
-
`Failed to parse 'Document' from JSON`,
|
|
30
|
-
);
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
/** @internal */
|
|
34
|
-
export const EvaluatorDocumentResponse$inboundSchema: z.ZodType<
|
|
35
|
-
EvaluatorDocumentResponse,
|
|
36
|
-
z.ZodTypeDef,
|
|
37
|
-
unknown
|
|
38
|
-
> = z.object({
|
|
39
|
-
document: z.lazy(() => Document$inboundSchema).optional(),
|
|
40
|
-
});
|
|
41
|
-
|
|
42
|
-
export function evaluatorDocumentResponseFromJSON(
|
|
43
|
-
jsonString: string,
|
|
44
|
-
): SafeParseResult<EvaluatorDocumentResponse, SDKValidationError> {
|
|
45
|
-
return safeParse(
|
|
46
|
-
jsonString,
|
|
47
|
-
(x) => EvaluatorDocumentResponse$inboundSchema.parse(JSON.parse(x)),
|
|
48
|
-
`Failed to parse 'EvaluatorDocumentResponse' from JSON`,
|
|
49
|
-
);
|
|
50
|
-
}
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
import * as z from "zod/v3";
|
|
6
|
-
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
-
|
|
10
|
-
export type GetEvaluatorVersionResponseDocument = {};
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* A dedicated message (not a reuse of EvaluatorDocumentResponse): the field
|
|
14
|
-
*
|
|
15
|
-
* @remarks
|
|
16
|
-
* carries a version-activity envelope, not an evaluator document.
|
|
17
|
-
*/
|
|
18
|
-
export type GetEvaluatorVersionResponse = {
|
|
19
|
-
document?: GetEvaluatorVersionResponseDocument | undefined;
|
|
20
|
-
};
|
|
21
|
-
|
|
22
|
-
/** @internal */
|
|
23
|
-
export const GetEvaluatorVersionResponseDocument$inboundSchema: z.ZodType<
|
|
24
|
-
GetEvaluatorVersionResponseDocument,
|
|
25
|
-
z.ZodTypeDef,
|
|
26
|
-
unknown
|
|
27
|
-
> = z.object({});
|
|
28
|
-
|
|
29
|
-
export function getEvaluatorVersionResponseDocumentFromJSON(
|
|
30
|
-
jsonString: string,
|
|
31
|
-
): SafeParseResult<GetEvaluatorVersionResponseDocument, SDKValidationError> {
|
|
32
|
-
return safeParse(
|
|
33
|
-
jsonString,
|
|
34
|
-
(x) =>
|
|
35
|
-
GetEvaluatorVersionResponseDocument$inboundSchema.parse(JSON.parse(x)),
|
|
36
|
-
`Failed to parse 'GetEvaluatorVersionResponseDocument' from JSON`,
|
|
37
|
-
);
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
/** @internal */
|
|
41
|
-
export const GetEvaluatorVersionResponse$inboundSchema: z.ZodType<
|
|
42
|
-
GetEvaluatorVersionResponse,
|
|
43
|
-
z.ZodTypeDef,
|
|
44
|
-
unknown
|
|
45
|
-
> = z.object({
|
|
46
|
-
document: z.lazy(() => GetEvaluatorVersionResponseDocument$inboundSchema)
|
|
47
|
-
.optional(),
|
|
48
|
-
});
|
|
49
|
-
|
|
50
|
-
export function getEvaluatorVersionResponseFromJSON(
|
|
51
|
-
jsonString: string,
|
|
52
|
-
): SafeParseResult<GetEvaluatorVersionResponse, SDKValidationError> {
|
|
53
|
-
return safeParse(
|
|
54
|
-
jsonString,
|
|
55
|
-
(x) => GetEvaluatorVersionResponse$inboundSchema.parse(JSON.parse(x)),
|
|
56
|
-
`Failed to parse 'GetEvaluatorVersionResponse' from JSON`,
|
|
57
|
-
);
|
|
58
|
-
}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
import * as z from "zod/v3";
|
|
6
|
-
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
-
import {
|
|
10
|
-
EvaluationResult,
|
|
11
|
-
EvaluationResult$inboundSchema,
|
|
12
|
-
} from "./evaluationresult.js";
|
|
13
|
-
|
|
14
|
-
/**
|
|
15
|
-
* Response wrappers keep each RPC's response type distinct, so a future field
|
|
16
|
-
*
|
|
17
|
-
* @remarks
|
|
18
|
-
* can be added to one without touching the other.
|
|
19
|
-
*/
|
|
20
|
-
export type InvokeEvaluatorResponse = {
|
|
21
|
-
/**
|
|
22
|
-
* The verdict. Shaped to match WorkflowRunMinifiedEvalSchema, the body the
|
|
23
|
-
*
|
|
24
|
-
* @remarks
|
|
25
|
-
* TypeScript route returned, so existing consumers read the same JSON.
|
|
26
|
-
*/
|
|
27
|
-
result?: EvaluationResult | undefined;
|
|
28
|
-
};
|
|
29
|
-
|
|
30
|
-
/** @internal */
|
|
31
|
-
export const InvokeEvaluatorResponse$inboundSchema: z.ZodType<
|
|
32
|
-
InvokeEvaluatorResponse,
|
|
33
|
-
z.ZodTypeDef,
|
|
34
|
-
unknown
|
|
35
|
-
> = z.object({
|
|
36
|
-
result: EvaluationResult$inboundSchema.optional(),
|
|
37
|
-
});
|
|
38
|
-
|
|
39
|
-
export function invokeEvaluatorResponseFromJSON(
|
|
40
|
-
jsonString: string,
|
|
41
|
-
): SafeParseResult<InvokeEvaluatorResponse, SDKValidationError> {
|
|
42
|
-
return safeParse(
|
|
43
|
-
jsonString,
|
|
44
|
-
(x) => InvokeEvaluatorResponse$inboundSchema.parse(JSON.parse(x)),
|
|
45
|
-
`Failed to parse 'InvokeEvaluatorResponse' from JSON`,
|
|
46
|
-
);
|
|
47
|
-
}
|