@orq-ai/node 4.11.0-rc.27 → 4.11.0-rc.29
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/agentsInvoke.d.ts +1 -1
- package/funcs/agentsInvoke.d.ts.map +1 -1
- package/funcs/agentsInvoke.js.map +1 -1
- package/funcs/agentsResponsesCreate.d.ts +2 -1
- package/funcs/agentsResponsesCreate.d.ts.map +1 -1
- package/funcs/agentsResponsesCreate.js +7 -5
- package/funcs/agentsResponsesCreate.js.map +1 -1
- package/funcs/agentsStream.d.ts +1 -1
- package/funcs/agentsStream.d.ts.map +1 -1
- package/funcs/agentsStream.js.map +1 -1
- package/funcs/annotationsCreate.d.ts +1 -1
- package/funcs/annotationsCreate.js +1 -1
- package/funcs/annotationsDelete.d.ts +1 -1
- package/funcs/annotationsDelete.js +1 -1
- package/funcs/budgetsList.js +1 -0
- package/funcs/budgetsList.js.map +1 -1
- package/funcs/deploymentsInvoke.d.ts +2 -1
- package/funcs/deploymentsInvoke.d.ts.map +1 -1
- package/funcs/deploymentsInvoke.js +2 -1
- package/funcs/deploymentsInvoke.js.map +1 -1
- package/funcs/promptsCreate.d.ts +1 -1
- package/funcs/promptsCreate.d.ts.map +1 -1
- package/funcs/promptsCreate.js +2 -1
- package/funcs/promptsCreate.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/agentresponserequest.d.ts +336 -0
- package/models/components/agentresponserequest.d.ts.map +1 -0
- package/models/components/agentresponserequest.js +210 -0
- package/models/components/agentresponserequest.js.map +1 -0
- package/models/components/agentthoughtstreamingevent.d.ts +12 -12
- package/models/components/agentthoughtstreamingevent.d.ts.map +1 -1
- package/models/components/agentthoughtstreamingevent.js +17 -17
- package/models/components/agentthoughtstreamingevent.js.map +1 -1
- package/models/components/azurefoundrydeployment.d.ts +3 -0
- package/models/components/azurefoundrydeployment.d.ts.map +1 -1
- package/models/components/azurefoundrydeployment.js +4 -0
- package/models/components/azurefoundrydeployment.js.map +1 -1
- package/models/components/budgetsortfield.d.ts +12 -0
- package/models/components/budgetsortfield.d.ts.map +1 -0
- package/models/components/budgetsortfield.js +49 -0
- package/models/components/budgetsortfield.js.map +1 -0
- package/models/components/index.d.ts +3 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +3 -0
- package/models/components/index.js.map +1 -1
- package/models/components/invokedeploymentrequest.d.ts +1573 -0
- package/models/components/invokedeploymentrequest.d.ts.map +1 -0
- package/models/components/invokedeploymentrequest.js +1137 -0
- package/models/components/invokedeploymentrequest.js.map +1 -0
- package/models/components/reasoningpart.js +1 -1
- package/models/components/toolexecutionstartedstreamingevent.d.ts +4 -4
- package/models/components/toolexecutionstartedstreamingevent.d.ts.map +1 -1
- package/models/components/toolexecutionstartedstreamingevent.js +7 -7
- package/models/components/toolexecutionstartedstreamingevent.js.map +1 -1
- package/models/operations/budgetlist.d.ts +5 -0
- package/models/operations/budgetlist.d.ts.map +1 -1
- package/models/operations/budgetlist.js +2 -0
- package/models/operations/budgetlist.js.map +1 -1
- package/models/operations/createagentresponserequest.d.ts +2 -329
- package/models/operations/createagentresponserequest.d.ts.map +1 -1
- package/models/operations/createagentresponserequest.js +3 -166
- package/models/operations/createagentresponserequest.js.map +1 -1
- package/models/operations/createannotation.d.ts +48 -10
- package/models/operations/createannotation.d.ts.map +1 -1
- package/models/operations/createannotation.js +37 -5
- package/models/operations/createannotation.js.map +1 -1
- package/models/operations/createdataset.js +1 -1
- package/models/operations/createdatasetitem.d.ts +210 -12
- package/models/operations/createdatasetitem.d.ts.map +1 -1
- package/models/operations/createdatasetitem.js +136 -9
- package/models/operations/createdatasetitem.js.map +1 -1
- package/models/operations/createdatasource.d.ts +3 -0
- package/models/operations/createdatasource.d.ts.map +1 -1
- package/models/operations/createdatasource.js +1 -1
- package/models/operations/createdatasource.js.map +1 -1
- package/models/operations/createeval.js +16 -16
- package/models/operations/createprompt.d.ts +7 -4
- package/models/operations/createprompt.d.ts.map +1 -1
- package/models/operations/createprompt.js +5 -5
- package/models/operations/createprompt.js.map +1 -1
- package/models/operations/createtool.js +6 -6
- package/models/operations/deleteannotation.d.ts +19 -2
- package/models/operations/deleteannotation.d.ts.map +1 -1
- package/models/operations/deleteannotation.js +20 -2
- package/models/operations/deleteannotation.js.map +1 -1
- package/models/operations/deploymentgetconfig.d.ts +440 -440
- package/models/operations/deploymentgetconfig.d.ts.map +1 -1
- package/models/operations/deploymentgetconfig.js +484 -479
- package/models/operations/deploymentgetconfig.js.map +1 -1
- package/models/operations/deploymentinvoke.d.ts +0 -1560
- package/models/operations/deploymentinvoke.d.ts.map +1 -1
- package/models/operations/deploymentinvoke.js +1 -1126
- package/models/operations/deploymentinvoke.js.map +1 -1
- package/models/operations/deploymentstream.d.ts +56 -56
- package/models/operations/deploymentstream.d.ts.map +1 -1
- package/models/operations/deploymentstream.js +73 -72
- package/models/operations/deploymentstream.js.map +1 -1
- package/models/operations/getalltools.js +6 -6
- package/models/operations/getevals.js +16 -16
- package/models/operations/getv2humanevalsets.js +2 -2
- package/models/operations/getv2humanevalsetsid.js +2 -2
- package/models/operations/invokeagent.d.ts +51 -48
- package/models/operations/invokeagent.d.ts.map +1 -1
- package/models/operations/invokeagent.js +43 -46
- package/models/operations/invokeagent.js.map +1 -1
- package/models/operations/listdatasetdatapoints.d.ts +210 -12
- package/models/operations/listdatasetdatapoints.d.ts.map +1 -1
- package/models/operations/listdatasetdatapoints.js +138 -9
- package/models/operations/listdatasetdatapoints.js.map +1 -1
- package/models/operations/listdatasets.js +1 -1
- package/models/operations/listdatasources.js +1 -1
- package/models/operations/patchv2humanevalsetsid.js +2 -2
- package/models/operations/postv2feedbackevaluation.d.ts +33 -12
- package/models/operations/postv2feedbackevaluation.d.ts.map +1 -1
- package/models/operations/postv2feedbackevaluation.js +9 -6
- package/models/operations/postv2feedbackevaluation.js.map +1 -1
- package/models/operations/postv2humanevalsets.js +2 -2
- package/models/operations/retrievedatapoint.d.ts +210 -12
- package/models/operations/retrievedatapoint.d.ts.map +1 -1
- package/models/operations/retrievedatapoint.js +140 -8
- package/models/operations/retrievedatapoint.js.map +1 -1
- package/models/operations/retrievedataset.js +1 -1
- package/models/operations/retrievedatasource.js +1 -1
- package/models/operations/retrievetool.js +6 -6
- package/models/operations/runagent.js +1 -1
- package/models/operations/streamagent.d.ts +9 -6
- package/models/operations/streamagent.d.ts.map +1 -1
- package/models/operations/streamagent.js +6 -6
- package/models/operations/streamagent.js.map +1 -1
- package/models/operations/streamrunagent.js +1 -1
- package/models/operations/updatedatapoint.d.ts +210 -12
- package/models/operations/updatedatapoint.d.ts.map +1 -1
- package/models/operations/updatedatapoint.js +138 -9
- package/models/operations/updatedatapoint.js.map +1 -1
- package/models/operations/updatedataset.js +1 -1
- package/models/operations/updatedatasource.js +1 -1
- package/models/operations/updateeval.js +16 -16
- package/models/operations/updateprompt.d.ts +9 -6
- package/models/operations/updateprompt.d.ts.map +1 -1
- package/models/operations/updateprompt.js +7 -6
- package/models/operations/updateprompt.js.map +1 -1
- package/models/operations/updatetool.js +7 -7
- package/package.json +1 -1
- package/sdk/agents.d.ts +2 -2
- package/sdk/agents.d.ts.map +1 -1
- package/sdk/agents.js.map +1 -1
- package/sdk/annotations.d.ts +2 -2
- package/sdk/annotations.js +2 -2
- package/sdk/deployments.d.ts +2 -1
- package/sdk/deployments.d.ts.map +1 -1
- package/sdk/deployments.js.map +1 -1
- package/sdk/feedback.d.ts +1 -4
- package/sdk/feedback.d.ts.map +1 -1
- package/sdk/feedback.js +1 -4
- package/sdk/feedback.js.map +1 -1
- package/sdk/orqresponses.d.ts +1 -1
- package/sdk/orqresponses.d.ts.map +1 -1
- package/sdk/orqresponses.js +2 -2
- package/sdk/orqresponses.js.map +1 -1
- package/sdk/prompts.d.ts +1 -1
- package/sdk/prompts.d.ts.map +1 -1
- package/sdk/prompts.js.map +1 -1
- package/src/funcs/agentsInvoke.ts +2 -2
- package/src/funcs/agentsResponsesCreate.ts +8 -5
- package/src/funcs/agentsStream.ts +2 -2
- package/src/funcs/annotationsCreate.ts +1 -1
- package/src/funcs/annotationsDelete.ts +1 -1
- package/src/funcs/budgetsList.ts +1 -0
- package/src/funcs/deploymentsInvoke.ts +4 -4
- package/src/funcs/promptsCreate.ts +4 -3
- package/src/lib/config.ts +2 -2
- package/src/models/components/agentresponserequest.ts +565 -0
- package/src/models/components/agentthoughtstreamingevent.ts +55 -43
- package/src/models/components/azurefoundrydeployment.ts +7 -0
- package/src/models/components/budgetsortfield.ts +19 -0
- package/src/models/components/index.ts +3 -0
- package/src/models/components/invokedeploymentrequest.ts +3457 -0
- package/src/models/components/reasoningpart.ts +1 -1
- package/src/models/components/toolexecutionstartedstreamingevent.ts +24 -14
- package/src/models/operations/budgetlist.ts +7 -0
- package/src/models/operations/createagentresponserequest.ts +4 -550
- package/src/models/operations/createannotation.ts +110 -16
- package/src/models/operations/createdataset.ts +1 -1
- package/src/models/operations/createdatasetitem.ts +335 -19
- package/src/models/operations/createdatasource.ts +4 -1
- package/src/models/operations/createeval.ts +16 -16
- package/src/models/operations/createprompt.ts +13 -8
- package/src/models/operations/createtool.ts +6 -6
- package/src/models/operations/deleteannotation.ts +46 -3
- package/src/models/operations/deploymentgetconfig.ts +1156 -1606
- package/src/models/operations/deploymentinvoke.ts +222 -3675
- package/src/models/operations/deploymentstream.ts +244 -285
- package/src/models/operations/getalltools.ts +6 -6
- package/src/models/operations/getevals.ts +16 -16
- package/src/models/operations/getv2humanevalsets.ts +2 -2
- package/src/models/operations/getv2humanevalsetsid.ts +2 -2
- package/src/models/operations/invokeagent.ts +90 -116
- package/src/models/operations/listdatasetdatapoints.ts +378 -19
- package/src/models/operations/listdatasets.ts +1 -1
- package/src/models/operations/listdatasources.ts +1 -1
- package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
- package/src/models/operations/postv2feedbackevaluation.ts +42 -18
- package/src/models/operations/postv2humanevalsets.ts +2 -2
- package/src/models/operations/retrievedatapoint.ts +363 -19
- package/src/models/operations/retrievedataset.ts +1 -1
- package/src/models/operations/retrievedatasource.ts +1 -1
- package/src/models/operations/retrievetool.ts +6 -6
- package/src/models/operations/runagent.ts +1 -1
- package/src/models/operations/streamagent.ts +16 -11
- package/src/models/operations/streamrunagent.ts +1 -1
- package/src/models/operations/updatedatapoint.ts +366 -19
- package/src/models/operations/updatedataset.ts +1 -1
- package/src/models/operations/updatedatasource.ts +1 -1
- package/src/models/operations/updateeval.ts +16 -16
- package/src/models/operations/updateprompt.ts +17 -11
- package/src/models/operations/updatetool.ts +7 -7
- package/src/sdk/agents.ts +2 -2
- package/src/sdk/annotations.ts +2 -2
- package/src/sdk/deployments.ts +2 -1
- package/src/sdk/feedback.ts +1 -4
- package/src/sdk/orqresponses.ts +2 -2
- package/src/sdk/prompts.ts +1 -1
|
@@ -83,7 +83,7 @@ export type AgentThoughtStreamingEventFunction = {
|
|
|
83
83
|
arguments?: string | undefined;
|
|
84
84
|
};
|
|
85
85
|
|
|
86
|
-
export type
|
|
86
|
+
export type AgentThoughtStreamingEventToolCalls = {
|
|
87
87
|
index?: number | undefined;
|
|
88
88
|
id?: string | undefined;
|
|
89
89
|
type?: AgentThoughtStreamingEventDataType | undefined;
|
|
@@ -104,7 +104,7 @@ export type AgentThoughtStreamingEventDataRole = ClosedEnum<
|
|
|
104
104
|
/**
|
|
105
105
|
* If the audio output modality is requested, this object contains data about the audio response from the model.
|
|
106
106
|
*/
|
|
107
|
-
export type
|
|
107
|
+
export type AgentThoughtStreamingEventAudio = {
|
|
108
108
|
id: string;
|
|
109
109
|
expiresAt: number;
|
|
110
110
|
data: string;
|
|
@@ -117,7 +117,7 @@ export type Audio = {
|
|
|
117
117
|
export type AgentThoughtStreamingEventMessage = {
|
|
118
118
|
content?: string | null | undefined;
|
|
119
119
|
refusal?: string | null | undefined;
|
|
120
|
-
toolCalls?: Array<
|
|
120
|
+
toolCalls?: Array<AgentThoughtStreamingEventToolCalls> | undefined;
|
|
121
121
|
role?: AgentThoughtStreamingEventDataRole | undefined;
|
|
122
122
|
/**
|
|
123
123
|
* Internal thought process of the model
|
|
@@ -134,7 +134,7 @@ export type AgentThoughtStreamingEventMessage = {
|
|
|
134
134
|
/**
|
|
135
135
|
* If the audio output modality is requested, this object contains data about the audio response from the model.
|
|
136
136
|
*/
|
|
137
|
-
audio?:
|
|
137
|
+
audio?: AgentThoughtStreamingEventAudio | null | undefined;
|
|
138
138
|
};
|
|
139
139
|
|
|
140
140
|
export type TopLogprobs = {
|
|
@@ -152,7 +152,7 @@ export type TopLogprobs = {
|
|
|
152
152
|
bytes: Array<number> | null;
|
|
153
153
|
};
|
|
154
154
|
|
|
155
|
-
export type
|
|
155
|
+
export type AgentThoughtStreamingEventContent = {
|
|
156
156
|
/**
|
|
157
157
|
* The token.
|
|
158
158
|
*/
|
|
@@ -212,7 +212,7 @@ export type Logprobs = {
|
|
|
212
212
|
/**
|
|
213
213
|
* A list of message content tokens with log probability information.
|
|
214
214
|
*/
|
|
215
|
-
content: Array<
|
|
215
|
+
content: Array<AgentThoughtStreamingEventContent> | null;
|
|
216
216
|
/**
|
|
217
217
|
* A list of message refusal tokens with log probability information.
|
|
218
218
|
*/
|
|
@@ -411,8 +411,8 @@ export function agentThoughtStreamingEventFunctionFromJSON(
|
|
|
411
411
|
}
|
|
412
412
|
|
|
413
413
|
/** @internal */
|
|
414
|
-
export const
|
|
415
|
-
|
|
414
|
+
export const AgentThoughtStreamingEventToolCalls$inboundSchema: z.ZodType<
|
|
415
|
+
AgentThoughtStreamingEventToolCalls,
|
|
416
416
|
z.ZodTypeDef,
|
|
417
417
|
unknown
|
|
418
418
|
> = z.object({
|
|
@@ -428,13 +428,14 @@ export const ToolCalls$inboundSchema: z.ZodType<
|
|
|
428
428
|
});
|
|
429
429
|
});
|
|
430
430
|
|
|
431
|
-
export function
|
|
431
|
+
export function agentThoughtStreamingEventToolCallsFromJSON(
|
|
432
432
|
jsonString: string,
|
|
433
|
-
): SafeParseResult<
|
|
433
|
+
): SafeParseResult<AgentThoughtStreamingEventToolCalls, SDKValidationError> {
|
|
434
434
|
return safeParse(
|
|
435
435
|
jsonString,
|
|
436
|
-
(x) =>
|
|
437
|
-
|
|
436
|
+
(x) =>
|
|
437
|
+
AgentThoughtStreamingEventToolCalls$inboundSchema.parse(JSON.parse(x)),
|
|
438
|
+
`Failed to parse 'AgentThoughtStreamingEventToolCalls' from JSON`,
|
|
438
439
|
);
|
|
439
440
|
}
|
|
440
441
|
|
|
@@ -444,25 +445,28 @@ export const AgentThoughtStreamingEventDataRole$inboundSchema: z.ZodNativeEnum<
|
|
|
444
445
|
> = z.nativeEnum(AgentThoughtStreamingEventDataRole);
|
|
445
446
|
|
|
446
447
|
/** @internal */
|
|
447
|
-
export const
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
448
|
+
export const AgentThoughtStreamingEventAudio$inboundSchema: z.ZodType<
|
|
449
|
+
AgentThoughtStreamingEventAudio,
|
|
450
|
+
z.ZodTypeDef,
|
|
451
|
+
unknown
|
|
452
|
+
> = z.object({
|
|
453
|
+
id: z.string(),
|
|
454
|
+
expires_at: z.number().int(),
|
|
455
|
+
data: z.string(),
|
|
456
|
+
transcript: z.string(),
|
|
457
|
+
}).transform((v) => {
|
|
458
|
+
return remap$(v, {
|
|
459
|
+
"expires_at": "expiresAt",
|
|
457
460
|
});
|
|
461
|
+
});
|
|
458
462
|
|
|
459
|
-
export function
|
|
463
|
+
export function agentThoughtStreamingEventAudioFromJSON(
|
|
460
464
|
jsonString: string,
|
|
461
|
-
): SafeParseResult<
|
|
465
|
+
): SafeParseResult<AgentThoughtStreamingEventAudio, SDKValidationError> {
|
|
462
466
|
return safeParse(
|
|
463
467
|
jsonString,
|
|
464
|
-
(x) =>
|
|
465
|
-
`Failed to parse '
|
|
468
|
+
(x) => AgentThoughtStreamingEventAudio$inboundSchema.parse(JSON.parse(x)),
|
|
469
|
+
`Failed to parse 'AgentThoughtStreamingEventAudio' from JSON`,
|
|
466
470
|
);
|
|
467
471
|
}
|
|
468
472
|
|
|
@@ -474,12 +478,15 @@ export const AgentThoughtStreamingEventMessage$inboundSchema: z.ZodType<
|
|
|
474
478
|
> = z.object({
|
|
475
479
|
content: z.nullable(z.string()).optional(),
|
|
476
480
|
refusal: z.nullable(z.string()).optional(),
|
|
477
|
-
tool_calls: z.array(
|
|
481
|
+
tool_calls: z.array(
|
|
482
|
+
z.lazy(() => AgentThoughtStreamingEventToolCalls$inboundSchema),
|
|
483
|
+
).optional(),
|
|
478
484
|
role: AgentThoughtStreamingEventDataRole$inboundSchema.optional(),
|
|
479
485
|
reasoning: z.nullable(z.string()).optional(),
|
|
480
486
|
reasoning_signature: z.nullable(z.string()).optional(),
|
|
481
487
|
redacted_reasoning: z.string().optional(),
|
|
482
|
-
audio: z.nullable(z.lazy(() =>
|
|
488
|
+
audio: z.nullable(z.lazy(() => AgentThoughtStreamingEventAudio$inboundSchema))
|
|
489
|
+
.optional(),
|
|
483
490
|
}).transform((v) => {
|
|
484
491
|
return remap$(v, {
|
|
485
492
|
"tool_calls": "toolCalls",
|
|
@@ -520,25 +527,28 @@ export function topLogprobsFromJSON(
|
|
|
520
527
|
}
|
|
521
528
|
|
|
522
529
|
/** @internal */
|
|
523
|
-
export const
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
530
|
+
export const AgentThoughtStreamingEventContent$inboundSchema: z.ZodType<
|
|
531
|
+
AgentThoughtStreamingEventContent,
|
|
532
|
+
z.ZodTypeDef,
|
|
533
|
+
unknown
|
|
534
|
+
> = z.object({
|
|
535
|
+
token: z.string(),
|
|
536
|
+
logprob: z.number(),
|
|
537
|
+
bytes: z.nullable(z.array(z.number())),
|
|
538
|
+
top_logprobs: z.array(z.lazy(() => TopLogprobs$inboundSchema)),
|
|
539
|
+
}).transform((v) => {
|
|
540
|
+
return remap$(v, {
|
|
541
|
+
"top_logprobs": "topLogprobs",
|
|
533
542
|
});
|
|
543
|
+
});
|
|
534
544
|
|
|
535
|
-
export function
|
|
545
|
+
export function agentThoughtStreamingEventContentFromJSON(
|
|
536
546
|
jsonString: string,
|
|
537
|
-
): SafeParseResult<
|
|
547
|
+
): SafeParseResult<AgentThoughtStreamingEventContent, SDKValidationError> {
|
|
538
548
|
return safeParse(
|
|
539
549
|
jsonString,
|
|
540
|
-
(x) =>
|
|
541
|
-
`Failed to parse '
|
|
550
|
+
(x) => AgentThoughtStreamingEventContent$inboundSchema.parse(JSON.parse(x)),
|
|
551
|
+
`Failed to parse 'AgentThoughtStreamingEventContent' from JSON`,
|
|
542
552
|
);
|
|
543
553
|
}
|
|
544
554
|
|
|
@@ -595,7 +605,9 @@ export const Logprobs$inboundSchema: z.ZodType<
|
|
|
595
605
|
z.ZodTypeDef,
|
|
596
606
|
unknown
|
|
597
607
|
> = z.object({
|
|
598
|
-
content: z.nullable(
|
|
608
|
+
content: z.nullable(
|
|
609
|
+
z.array(z.lazy(() => AgentThoughtStreamingEventContent$inboundSchema)),
|
|
610
|
+
),
|
|
599
611
|
refusal: z.nullable(z.array(z.lazy(() => Refusal$inboundSchema))),
|
|
600
612
|
});
|
|
601
613
|
|
|
@@ -13,9 +13,12 @@ import {
|
|
|
13
13
|
} from "./azurefoundrydeploymentmasterdata.js";
|
|
14
14
|
|
|
15
15
|
export type AzureFoundryDeployment = {
|
|
16
|
+
baseUrl?: string | undefined;
|
|
16
17
|
id: string;
|
|
17
18
|
masterData?: AzureFoundryDeploymentMasterData | undefined;
|
|
18
19
|
model: string;
|
|
20
|
+
publisher?: string | undefined;
|
|
21
|
+
wire?: string | undefined;
|
|
19
22
|
};
|
|
20
23
|
|
|
21
24
|
/** @internal */
|
|
@@ -24,11 +27,15 @@ export const AzureFoundryDeployment$inboundSchema: z.ZodType<
|
|
|
24
27
|
z.ZodTypeDef,
|
|
25
28
|
unknown
|
|
26
29
|
> = z.object({
|
|
30
|
+
base_url: z.string().optional(),
|
|
27
31
|
id: z.string(),
|
|
28
32
|
master_data: AzureFoundryDeploymentMasterData$inboundSchema.optional(),
|
|
29
33
|
model: z.string(),
|
|
34
|
+
publisher: z.string().optional(),
|
|
35
|
+
wire: z.string().optional(),
|
|
30
36
|
}).transform((v) => {
|
|
31
37
|
return remap$(v, {
|
|
38
|
+
"base_url": "baseUrl",
|
|
32
39
|
"master_data": "masterData",
|
|
33
40
|
});
|
|
34
41
|
});
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
7
|
+
|
|
8
|
+
export const BudgetSortField = {
|
|
9
|
+
BudgetSortFieldUnspecified: "BUDGET_SORT_FIELD_UNSPECIFIED",
|
|
10
|
+
BudgetSortFieldExpiresAt: "BUDGET_SORT_FIELD_EXPIRES_AT",
|
|
11
|
+
BudgetSortFieldCreatedAt: "BUDGET_SORT_FIELD_CREATED_AT",
|
|
12
|
+
BudgetSortFieldUpdatedAt: "BUDGET_SORT_FIELD_UPDATED_AT",
|
|
13
|
+
} as const;
|
|
14
|
+
export type BudgetSortField = ClosedEnum<typeof BudgetSortField>;
|
|
15
|
+
|
|
16
|
+
/** @internal */
|
|
17
|
+
export const BudgetSortField$outboundSchema: z.ZodNativeEnum<
|
|
18
|
+
typeof BudgetSortField
|
|
19
|
+
> = z.nativeEnum(BudgetSortField);
|
|
@@ -10,6 +10,7 @@ export * from "./agenthandedoffstreamingevent.js";
|
|
|
10
10
|
export * from "./agentinactivestreamingevent.js";
|
|
11
11
|
export * from "./agentmessagecreatedstreamingevent.js";
|
|
12
12
|
export * from "./agentresponsemessage.js";
|
|
13
|
+
export * from "./agentresponserequest.js";
|
|
13
14
|
export * from "./agentstartedstreamingevent.js";
|
|
14
15
|
export * from "./agentthoughtstreamingevent.js";
|
|
15
16
|
export * from "./allprojects.js";
|
|
@@ -29,6 +30,7 @@ export * from "./budgetperiod.js";
|
|
|
29
30
|
export * from "./budgetrejection.js";
|
|
30
31
|
export * from "./budgetscope.js";
|
|
31
32
|
export * from "./budgetscopekind.js";
|
|
33
|
+
export * from "./budgetsortfield.js";
|
|
32
34
|
export * from "./checkbudgetsrequest.js";
|
|
33
35
|
export * from "./checkbudgetsresponse.js";
|
|
34
36
|
export * from "./conversationparam.js";
|
|
@@ -97,6 +99,7 @@ export * from "./identitysortfield.js";
|
|
|
97
99
|
export * from "./imagecontentpartschema.js";
|
|
98
100
|
export * from "./incompletedetails.js";
|
|
99
101
|
export * from "./inputtokensdetails.js";
|
|
102
|
+
export * from "./invokedeploymentrequest.js";
|
|
100
103
|
export * from "./legacytokenfamily.js";
|
|
101
104
|
export * from "./limits.js";
|
|
102
105
|
export * from "./listapikeysresponse.js";
|