@openrouter/sdk 0.0.1-beta.5 → 0.0.1-beta.7
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/jsr.json +1 -1
- package/lib/base64.d.ts +3 -3
- package/lib/base64.js +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/lib/env.d.ts +2 -2
- package/lib/env.js +1 -1
- package/lib/schemas.d.ts +6 -4
- package/lib/schemas.js +1 -1
- package/models/activityitem.d.ts +5 -5
- package/models/activityitem.js +3 -2
- package/models/assistantmessage.d.ts +9 -9
- package/models/assistantmessage.js +1 -1
- package/models/chatcompletionfinishreason.d.ts +5 -5
- package/models/chatcompletionfinishreason.js +3 -3
- package/models/chaterror.d.ts +9 -9
- package/models/chaterror.js +9 -4
- package/models/chatgenerationparams.d.ts +33 -33
- package/models/chatgenerationparams.js +7 -7
- package/models/chatgenerationtokenusage.d.ts +13 -13
- package/models/chatgenerationtokenusage.js +1 -1
- package/models/chatmessagecontentitem.d.ts +5 -5
- package/models/chatmessagecontentitem.js +1 -1
- package/models/chatmessagecontentitemaudio.d.ts +13 -13
- package/models/chatmessagecontentitemaudio.js +5 -4
- package/models/chatmessagecontentitemimage.d.ts +13 -13
- package/models/chatmessagecontentitemimage.js +5 -4
- package/models/chatmessagecontentitemtext.d.ts +5 -5
- package/models/chatmessagecontentitemtext.js +1 -1
- package/models/chatmessagetokenlogprob.d.ts +9 -9
- package/models/chatmessagetokenlogprob.js +1 -1
- package/models/chatmessagetokenlogprobs.d.ts +5 -5
- package/models/chatmessagetokenlogprobs.js +1 -1
- package/models/chatmessagetoolcall.d.ts +9 -9
- package/models/chatmessagetoolcall.js +1 -1
- package/models/chatresponse.d.ts +5 -5
- package/models/chatresponse.js +3 -2
- package/models/chatresponsechoice.d.ts +5 -5
- package/models/chatresponsechoice.js +1 -1
- package/models/chatstreamingchoice.d.ts +5 -5
- package/models/chatstreamingchoice.js +1 -1
- package/models/chatstreamingmessagechunk.d.ts +9 -9
- package/models/chatstreamingmessagechunk.js +2 -2
- package/models/chatstreamingmessagetoolcall.d.ts +9 -9
- package/models/chatstreamingmessagetoolcall.js +1 -1
- package/models/chatstreamingresponsechunk.d.ts +13 -13
- package/models/chatstreamingresponsechunk.js +3 -5
- package/models/chatstreamoptions.d.ts +5 -5
- package/models/chatstreamoptions.js +1 -1
- package/models/completionchoice.d.ts +9 -9
- package/models/completionchoice.js +3 -3
- package/models/completioncreateparams.d.ts +33 -33
- package/models/completioncreateparams.js +10 -9
- package/models/completionlogprobs.d.ts +5 -5
- package/models/completionlogprobs.js +3 -3
- package/models/completionresponse.d.ts +5 -5
- package/models/completionresponse.js +1 -1
- package/models/completionusage.d.ts +5 -5
- package/models/completionusage.js +1 -1
- package/models/createchargerequest.d.ts +5 -5
- package/models/createchargerequest.js +1 -1
- package/models/errorresponse.d.ts +13 -13
- package/models/errorresponse.js +7 -6
- package/models/errors/chaterror.d.ts +5 -5
- package/models/errors/chaterror.js +4 -4
- package/models/errors/errorresponse.d.ts +5 -5
- package/models/errors/errorresponse.js +6 -5
- package/models/errors/listproviders.d.ts +5 -5
- package/models/errors/listproviders.js +4 -4
- package/models/errors/responsevalidationerror.js +1 -1
- package/models/errors/sdkvalidationerror.d.ts +2 -2
- package/models/errors/sdkvalidationerror.js +3 -50
- package/models/filecitationannotation.d.ts +9 -9
- package/models/filecitationannotation.js +2 -2
- package/models/filepathannotation.d.ts +9 -9
- package/models/filepathannotation.js +2 -2
- package/models/imagegenerationstatus.d.ts +5 -5
- package/models/imagegenerationstatus.js +3 -3
- package/models/index.d.ts +7 -0
- package/models/index.js +7 -0
- package/models/jsonschemaconfig.d.ts +5 -5
- package/models/jsonschemaconfig.js +3 -3
- package/models/listendpointsresponse.d.ts +5 -5
- package/models/listendpointsresponse.js +1 -1
- package/models/message.d.ts +13 -13
- package/models/message.js +3 -2
- package/models/modelscountresponse.d.ts +5 -5
- package/models/modelscountresponse.js +1 -1
- package/models/modelslistresponse.d.ts +5 -5
- package/models/modelslistresponse.js +1 -1
- package/models/namedtoolchoice.d.ts +9 -9
- package/models/namedtoolchoice.js +1 -1
- package/models/openresponseseasyinputmessage.d.ts +33 -33
- package/models/openresponseseasyinputmessage.js +6 -9
- package/models/openresponsesformatjsonobject.d.ts +9 -9
- package/models/openresponsesformatjsonobject.js +2 -2
- package/models/openresponsesformatjsonschema.d.ts +9 -9
- package/models/openresponsesformatjsonschema.js +4 -4
- package/models/openresponsesformattext.d.ts +9 -9
- package/models/openresponsesformattext.js +2 -2
- package/models/openresponsesformattextconfig.d.ts +5 -5
- package/models/openresponsesformattextconfig.js +1 -1
- package/models/openresponsesfunctioncalloutput.d.ts +9 -9
- package/models/openresponsesfunctioncalloutput.js +2 -2
- package/models/openresponsesfunctiontoolcall.d.ts +9 -9
- package/models/openresponsesfunctiontoolcall.js +2 -2
- package/models/openresponsesinput.d.ts +5 -5
- package/models/openresponsesinput.js +1 -1
- package/models/openresponsesinputcontent.d.ts +5 -5
- package/models/openresponsesinputcontent.js +1 -1
- package/models/openresponsesinputfile.d.ts +9 -9
- package/models/openresponsesinputfile.js +2 -2
- package/models/openresponsesinputimage.d.ts +13 -13
- package/models/openresponsesinputimage.js +4 -4
- package/models/openresponsesinputitem.d.ts +13 -466
- package/models/openresponsesinputitem.js +19 -467
- package/models/openresponsesinputmessageitem.d.ts +25 -25
- package/models/openresponsesinputmessageitem.js +5 -7
- package/models/openresponsesinputtext.d.ts +9 -9
- package/models/openresponsesinputtext.js +2 -2
- package/models/openresponseslogprobs.d.ts +9 -9
- package/models/openresponseslogprobs.js +1 -1
- package/models/openresponsesnonstreamingresponse.d.ts +29 -29
- package/models/openresponsesnonstreamingresponse.js +17 -17
- package/models/openresponsesoutputtext.d.ts +13 -13
- package/models/openresponsesoutputtext.js +2 -2
- package/models/openresponsesprompt.d.ts +5 -5
- package/models/openresponsesprompt.js +3 -5
- package/models/openresponsesreasoning.d.ts +13 -13
- package/models/openresponsesreasoning.js +4 -4
- package/models/openresponsesreasoningconfig.d.ts +9 -9
- package/models/openresponsesreasoningconfig.js +3 -3
- package/models/openresponsesrefusalcontent.d.ts +9 -9
- package/models/openresponsesrefusalcontent.js +2 -2
- package/models/openresponsesrequest.d.ts +5 -5
- package/models/openresponsesrequest.js +1 -1
- package/models/openresponsesstreamevent.d.ts +233 -233
- package/models/openresponsesstreamevent.js +42 -43
- package/models/openresponsestextconfig.d.ts +9 -9
- package/models/openresponsestextconfig.js +5 -4
- package/models/openresponsestoolchoice.d.ts +25 -25
- package/models/openresponsestoolchoice.js +5 -5
- package/models/openresponsestoolunion.d.ts +13 -13
- package/models/openresponsestoolunion.js +4 -4
- package/models/openresponseswebsearch20250826tool.d.ts +13 -13
- package/models/openresponseswebsearch20250826tool.js +2 -2
- package/models/openresponseswebsearchpreview20250311tool.d.ts +18 -72
- package/models/openresponseswebsearchpreview20250311tool.js +18 -66
- package/models/openresponseswebsearchpreviewtool.d.ts +18 -72
- package/models/openresponseswebsearchpreviewtool.js +18 -67
- package/models/openresponseswebsearchtool.d.ts +13 -13
- package/models/openresponseswebsearchtool.js +2 -2
- package/models/operations/createapialpharesponses.d.ts +9 -9
- package/models/operations/createapialpharesponses.js +2 -3
- package/models/operations/createcoinbasecharge.d.ts +29 -29
- package/models/operations/createcoinbasecharge.js +7 -4
- package/models/operations/createkeys.d.ts +17 -17
- package/models/operations/createkeys.js +3 -3
- package/models/operations/deletekeys.d.ts +9 -9
- package/models/operations/deletekeys.js +1 -1
- package/models/operations/getcredits.d.ts +5 -5
- package/models/operations/getcredits.js +1 -1
- package/models/operations/getcurrentkey.d.ts +13 -13
- package/models/operations/getcurrentkey.js +1 -1
- package/models/operations/getgeneration.d.ts +17 -17
- package/models/operations/getgeneration.js +3 -3
- package/models/operations/getkey.d.ts +13 -13
- package/models/operations/getkey.js +5 -3
- package/models/operations/getmodels.d.ts +9 -9
- package/models/operations/getmodels.js +1 -1
- package/models/operations/getparameters.d.ts +25 -25
- package/models/operations/getparameters.js +5 -5
- package/models/operations/getuseractivity.d.ts +9 -9
- package/models/operations/getuseractivity.js +1 -1
- package/models/operations/list.d.ts +13 -13
- package/models/operations/list.js +7 -4
- package/models/operations/listendpoints.d.ts +9 -9
- package/models/operations/listendpoints.js +1 -1
- package/models/operations/listendpointszdr.d.ts +9 -9
- package/models/operations/listendpointszdr.js +1 -1
- package/models/operations/listmodelscount.d.ts +5 -5
- package/models/operations/listmodelscount.js +1 -1
- package/models/operations/listmodelsuser.d.ts +9 -9
- package/models/operations/listmodelsuser.js +1 -1
- package/models/operations/listproviders.d.ts +13 -13
- package/models/operations/listproviders.js +4 -4
- package/models/operations/sendchatcompletionrequest.d.ts +5 -5
- package/models/operations/sendchatcompletionrequest.js +2 -3
- package/models/operations/updatekeys.d.ts +21 -21
- package/models/operations/updatekeys.js +3 -3
- package/models/outputtextcontent.d.ts +13 -13
- package/models/outputtextcontent.js +2 -2
- package/models/publicendpoint.d.ts +5 -5
- package/models/publicendpoint.js +1 -1
- package/models/reasoningsummarytext.d.ts +9 -9
- package/models/reasoningsummarytext.js +2 -2
- package/models/reasoningsummaryverbosity.d.ts +5 -5
- package/models/reasoningsummaryverbosity.js +3 -3
- package/models/reasoningtextcontent.d.ts +9 -9
- package/models/reasoningtextcontent.js +2 -2
- package/models/refusalcontent.d.ts +9 -9
- package/models/refusalcontent.js +2 -2
- package/models/responseformatjsonschema.d.ts +5 -5
- package/models/responseformatjsonschema.js +1 -1
- package/models/responseformattextgrammar.d.ts +5 -5
- package/models/responseformattextgrammar.js +1 -1
- package/models/responseserrorfield.d.ts +9 -9
- package/models/responseserrorfield.js +3 -3
- package/models/responsesimagegenerationcall.d.ts +58 -0
- package/models/responsesimagegenerationcall.js +55 -0
- package/models/responsesoutputitem.d.ts +13 -466
- package/models/responsesoutputitem.js +19 -465
- package/models/responsesoutputitemfilesearchcall.d.ts +58 -0
- package/models/responsesoutputitemfilesearchcall.js +55 -0
- package/models/responsesoutputitemfunctioncall.d.ts +59 -0
- package/models/responsesoutputitemfunctioncall.js +65 -0
- package/models/responsesoutputitemreasoning.d.ts +61 -0
- package/models/responsesoutputitemreasoning.js +67 -0
- package/models/responsesoutputmessage.d.ts +191 -0
- package/models/responsesoutputmessage.js +189 -0
- package/models/responsessearchcontextsize.d.ts +5 -5
- package/models/responsessearchcontextsize.js +3 -3
- package/models/responsesusage.d.ts +17 -17
- package/models/responsesusage.js +3 -2
- package/models/responseswebsearchcalloutput.d.ts +56 -0
- package/models/responseswebsearchcalloutput.js +53 -0
- package/models/responseswebsearchuserlocation.d.ts +9 -9
- package/models/responseswebsearchuserlocation.js +2 -2
- package/models/security.d.ts +5 -5
- package/models/security.js +3 -2
- package/models/systemmessage.d.ts +9 -9
- package/models/systemmessage.js +3 -2
- package/models/tool.d.ts +9 -9
- package/models/tool.js +6 -6
- package/models/toolcallstatus.d.ts +5 -5
- package/models/toolcallstatus.js +3 -3
- package/models/toolchoicetypes.d.ts +29 -29
- package/models/toolchoicetypes.js +8 -9
- package/models/toolresponsemessage.d.ts +9 -9
- package/models/toolresponsemessage.js +1 -1
- package/models/urlcitationannotation.d.ts +9 -9
- package/models/urlcitationannotation.js +2 -2
- package/models/usermessage.d.ts +9 -9
- package/models/usermessage.js +7 -3
- package/models/websearchpreviewtooluserlocation.d.ts +59 -0
- package/models/websearchpreviewtooluserlocation.js +56 -0
- package/models/websearchstatus.d.ts +5 -5
- package/models/websearchstatus.js +3 -3
- package/package.json +1 -1
- package/types/blobs.d.ts +2 -2
- package/types/blobs.js +2 -2
- package/types/constdatetime.d.ts +2 -2
- package/types/constdatetime.js +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as z from "zod/
|
|
1
|
+
import * as z from "zod/v4";
|
|
2
2
|
import { ClosedEnum } from "../types/enums.js";
|
|
3
3
|
import { Result as SafeParseResult } from "../types/fp.js";
|
|
4
4
|
import { SDKValidationError } from "./errors/sdkvalidationerror.js";
|
|
@@ -16,45 +16,45 @@ export type OpenResponsesOutputText = {
|
|
|
16
16
|
annotations?: Array<URLCitationAnnotation | FileCitationAnnotation | FilePathAnnotation> | undefined;
|
|
17
17
|
};
|
|
18
18
|
/** @internal */
|
|
19
|
-
export declare const OpenResponsesOutputTextType$inboundSchema: z.
|
|
19
|
+
export declare const OpenResponsesOutputTextType$inboundSchema: z.ZodEnum<typeof OpenResponsesOutputTextType>;
|
|
20
20
|
/** @internal */
|
|
21
|
-
export declare const OpenResponsesOutputTextType$outboundSchema: z.
|
|
21
|
+
export declare const OpenResponsesOutputTextType$outboundSchema: z.ZodEnum<typeof OpenResponsesOutputTextType>;
|
|
22
22
|
/**
|
|
23
23
|
* @internal
|
|
24
24
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
25
25
|
*/
|
|
26
26
|
export declare namespace OpenResponsesOutputTextType$ {
|
|
27
27
|
/** @deprecated use `OpenResponsesOutputTextType$inboundSchema` instead. */
|
|
28
|
-
const inboundSchema: z.
|
|
28
|
+
const inboundSchema: z.ZodEnum<{
|
|
29
29
|
readonly OutputText: "output_text";
|
|
30
30
|
}>;
|
|
31
31
|
/** @deprecated use `OpenResponsesOutputTextType$outboundSchema` instead. */
|
|
32
|
-
const outboundSchema: z.
|
|
32
|
+
const outboundSchema: z.ZodEnum<{
|
|
33
33
|
readonly OutputText: "output_text";
|
|
34
34
|
}>;
|
|
35
35
|
}
|
|
36
36
|
/** @internal */
|
|
37
|
-
export declare const OpenResponsesOutputTextAnnotation$inboundSchema: z.ZodType<OpenResponsesOutputTextAnnotation,
|
|
37
|
+
export declare const OpenResponsesOutputTextAnnotation$inboundSchema: z.ZodType<OpenResponsesOutputTextAnnotation, unknown>;
|
|
38
38
|
/** @internal */
|
|
39
39
|
export type OpenResponsesOutputTextAnnotation$Outbound = URLCitationAnnotation$Outbound | FileCitationAnnotation$Outbound | FilePathAnnotation$Outbound;
|
|
40
40
|
/** @internal */
|
|
41
|
-
export declare const OpenResponsesOutputTextAnnotation$outboundSchema: z.ZodType<OpenResponsesOutputTextAnnotation$Outbound,
|
|
41
|
+
export declare const OpenResponsesOutputTextAnnotation$outboundSchema: z.ZodType<OpenResponsesOutputTextAnnotation$Outbound, OpenResponsesOutputTextAnnotation>;
|
|
42
42
|
/**
|
|
43
43
|
* @internal
|
|
44
44
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
45
45
|
*/
|
|
46
46
|
export declare namespace OpenResponsesOutputTextAnnotation$ {
|
|
47
47
|
/** @deprecated use `OpenResponsesOutputTextAnnotation$inboundSchema` instead. */
|
|
48
|
-
const inboundSchema: z.ZodType<OpenResponsesOutputTextAnnotation, z.
|
|
48
|
+
const inboundSchema: z.ZodType<OpenResponsesOutputTextAnnotation, unknown, z.core.$ZodTypeInternals<OpenResponsesOutputTextAnnotation, unknown>>;
|
|
49
49
|
/** @deprecated use `OpenResponsesOutputTextAnnotation$outboundSchema` instead. */
|
|
50
|
-
const outboundSchema: z.ZodType<OpenResponsesOutputTextAnnotation$Outbound, z.
|
|
50
|
+
const outboundSchema: z.ZodType<OpenResponsesOutputTextAnnotation$Outbound, OpenResponsesOutputTextAnnotation, z.core.$ZodTypeInternals<OpenResponsesOutputTextAnnotation$Outbound, OpenResponsesOutputTextAnnotation>>;
|
|
51
51
|
/** @deprecated use `OpenResponsesOutputTextAnnotation$Outbound` instead. */
|
|
52
52
|
type Outbound = OpenResponsesOutputTextAnnotation$Outbound;
|
|
53
53
|
}
|
|
54
54
|
export declare function openResponsesOutputTextAnnotationToJSON(openResponsesOutputTextAnnotation: OpenResponsesOutputTextAnnotation): string;
|
|
55
55
|
export declare function openResponsesOutputTextAnnotationFromJSON(jsonString: string): SafeParseResult<OpenResponsesOutputTextAnnotation, SDKValidationError>;
|
|
56
56
|
/** @internal */
|
|
57
|
-
export declare const OpenResponsesOutputText$inboundSchema: z.ZodType<OpenResponsesOutputText,
|
|
57
|
+
export declare const OpenResponsesOutputText$inboundSchema: z.ZodType<OpenResponsesOutputText, unknown>;
|
|
58
58
|
/** @internal */
|
|
59
59
|
export type OpenResponsesOutputText$Outbound = {
|
|
60
60
|
type: string;
|
|
@@ -62,16 +62,16 @@ export type OpenResponsesOutputText$Outbound = {
|
|
|
62
62
|
annotations?: Array<URLCitationAnnotation$Outbound | FileCitationAnnotation$Outbound | FilePathAnnotation$Outbound> | undefined;
|
|
63
63
|
};
|
|
64
64
|
/** @internal */
|
|
65
|
-
export declare const OpenResponsesOutputText$outboundSchema: z.ZodType<OpenResponsesOutputText$Outbound,
|
|
65
|
+
export declare const OpenResponsesOutputText$outboundSchema: z.ZodType<OpenResponsesOutputText$Outbound, OpenResponsesOutputText>;
|
|
66
66
|
/**
|
|
67
67
|
* @internal
|
|
68
68
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
69
69
|
*/
|
|
70
70
|
export declare namespace OpenResponsesOutputText$ {
|
|
71
71
|
/** @deprecated use `OpenResponsesOutputText$inboundSchema` instead. */
|
|
72
|
-
const inboundSchema: z.ZodType<OpenResponsesOutputText, z.
|
|
72
|
+
const inboundSchema: z.ZodType<OpenResponsesOutputText, unknown, z.core.$ZodTypeInternals<OpenResponsesOutputText, unknown>>;
|
|
73
73
|
/** @deprecated use `OpenResponsesOutputText$outboundSchema` instead. */
|
|
74
|
-
const outboundSchema: z.ZodType<OpenResponsesOutputText$Outbound, z.
|
|
74
|
+
const outboundSchema: z.ZodType<OpenResponsesOutputText$Outbound, OpenResponsesOutputText, z.core.$ZodTypeInternals<OpenResponsesOutputText$Outbound, OpenResponsesOutputText>>;
|
|
75
75
|
/** @deprecated use `OpenResponsesOutputText$Outbound` instead. */
|
|
76
76
|
type Outbound = OpenResponsesOutputText$Outbound;
|
|
77
77
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
|
-
import * as z from "zod/
|
|
4
|
+
import * as z from "zod/v4";
|
|
5
5
|
import { safeParse } from "../lib/schemas.js";
|
|
6
6
|
import { FileCitationAnnotation$inboundSchema, FileCitationAnnotation$outboundSchema, } from "./filecitationannotation.js";
|
|
7
7
|
import { FilePathAnnotation$inboundSchema, FilePathAnnotation$outboundSchema, } from "./filepathannotation.js";
|
|
@@ -10,7 +10,7 @@ export const OpenResponsesOutputTextType = {
|
|
|
10
10
|
OutputText: "output_text",
|
|
11
11
|
};
|
|
12
12
|
/** @internal */
|
|
13
|
-
export const OpenResponsesOutputTextType$inboundSchema = z.
|
|
13
|
+
export const OpenResponsesOutputTextType$inboundSchema = z.enum(OpenResponsesOutputTextType);
|
|
14
14
|
/** @internal */
|
|
15
15
|
export const OpenResponsesOutputTextType$outboundSchema = OpenResponsesOutputTextType$inboundSchema;
|
|
16
16
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as z from "zod/
|
|
1
|
+
import * as z from "zod/v4";
|
|
2
2
|
import { Result as SafeParseResult } from "../types/fp.js";
|
|
3
3
|
import { SDKValidationError } from "./errors/sdkvalidationerror.js";
|
|
4
4
|
import { OpenResponsesInputContent, OpenResponsesInputContent$Outbound } from "./openresponsesinputcontent.js";
|
|
@@ -12,7 +12,7 @@ export type OpenResponsesPrompt = {
|
|
|
12
12
|
} | null | undefined;
|
|
13
13
|
};
|
|
14
14
|
/** @internal */
|
|
15
|
-
export declare const OpenResponsesPrompt$inboundSchema: z.ZodType<OpenResponsesPrompt,
|
|
15
|
+
export declare const OpenResponsesPrompt$inboundSchema: z.ZodType<OpenResponsesPrompt, unknown>;
|
|
16
16
|
/** @internal */
|
|
17
17
|
export type OpenResponsesPrompt$Outbound = {
|
|
18
18
|
id: string;
|
|
@@ -21,16 +21,16 @@ export type OpenResponsesPrompt$Outbound = {
|
|
|
21
21
|
} | null | undefined;
|
|
22
22
|
};
|
|
23
23
|
/** @internal */
|
|
24
|
-
export declare const OpenResponsesPrompt$outboundSchema: z.ZodType<OpenResponsesPrompt$Outbound,
|
|
24
|
+
export declare const OpenResponsesPrompt$outboundSchema: z.ZodType<OpenResponsesPrompt$Outbound, OpenResponsesPrompt>;
|
|
25
25
|
/**
|
|
26
26
|
* @internal
|
|
27
27
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
28
28
|
*/
|
|
29
29
|
export declare namespace OpenResponsesPrompt$ {
|
|
30
30
|
/** @deprecated use `OpenResponsesPrompt$inboundSchema` instead. */
|
|
31
|
-
const inboundSchema: z.ZodType<OpenResponsesPrompt, z.
|
|
31
|
+
const inboundSchema: z.ZodType<OpenResponsesPrompt, unknown, z.core.$ZodTypeInternals<OpenResponsesPrompt, unknown>>;
|
|
32
32
|
/** @deprecated use `OpenResponsesPrompt$outboundSchema` instead. */
|
|
33
|
-
const outboundSchema: z.ZodType<OpenResponsesPrompt$Outbound, z.
|
|
33
|
+
const outboundSchema: z.ZodType<OpenResponsesPrompt$Outbound, OpenResponsesPrompt, z.core.$ZodTypeInternals<OpenResponsesPrompt$Outbound, OpenResponsesPrompt>>;
|
|
34
34
|
/** @deprecated use `OpenResponsesPrompt$Outbound` instead. */
|
|
35
35
|
type Outbound = OpenResponsesPrompt$Outbound;
|
|
36
36
|
}
|
|
@@ -1,20 +1,18 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
|
-
import * as z from "zod/
|
|
4
|
+
import * as z from "zod/v4";
|
|
5
5
|
import { safeParse } from "../lib/schemas.js";
|
|
6
6
|
import { OpenResponsesInputContent$inboundSchema, OpenResponsesInputContent$outboundSchema, } from "./openresponsesinputcontent.js";
|
|
7
7
|
/** @internal */
|
|
8
8
|
export const OpenResponsesPrompt$inboundSchema = z.object({
|
|
9
9
|
id: z.string(),
|
|
10
|
-
variables: z.nullable(z.record(OpenResponsesInputContent$inboundSchema))
|
|
11
|
-
.optional(),
|
|
10
|
+
variables: z.nullable(z.record(z.string(), OpenResponsesInputContent$inboundSchema)).optional(),
|
|
12
11
|
});
|
|
13
12
|
/** @internal */
|
|
14
13
|
export const OpenResponsesPrompt$outboundSchema = z.object({
|
|
15
14
|
id: z.string(),
|
|
16
|
-
variables: z.nullable(z.record(OpenResponsesInputContent$outboundSchema))
|
|
17
|
-
.optional(),
|
|
15
|
+
variables: z.nullable(z.record(z.string(), OpenResponsesInputContent$outboundSchema)).optional(),
|
|
18
16
|
});
|
|
19
17
|
/**
|
|
20
18
|
* @internal
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as z from "zod/
|
|
1
|
+
import * as z from "zod/v4";
|
|
2
2
|
import { ClosedEnum, OpenEnum } from "../types/enums.js";
|
|
3
3
|
import { Result as SafeParseResult } from "../types/fp.js";
|
|
4
4
|
import { SDKValidationError } from "./errors/sdkvalidationerror.js";
|
|
@@ -28,39 +28,39 @@ export type OpenResponsesReasoning = {
|
|
|
28
28
|
format?: OpenResponsesReasoningFormat | null | undefined;
|
|
29
29
|
};
|
|
30
30
|
/** @internal */
|
|
31
|
-
export declare const OpenResponsesReasoningType$inboundSchema: z.
|
|
31
|
+
export declare const OpenResponsesReasoningType$inboundSchema: z.ZodEnum<typeof OpenResponsesReasoningType>;
|
|
32
32
|
/** @internal */
|
|
33
|
-
export declare const OpenResponsesReasoningType$outboundSchema: z.
|
|
33
|
+
export declare const OpenResponsesReasoningType$outboundSchema: z.ZodEnum<typeof OpenResponsesReasoningType>;
|
|
34
34
|
/**
|
|
35
35
|
* @internal
|
|
36
36
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
37
37
|
*/
|
|
38
38
|
export declare namespace OpenResponsesReasoningType$ {
|
|
39
39
|
/** @deprecated use `OpenResponsesReasoningType$inboundSchema` instead. */
|
|
40
|
-
const inboundSchema: z.
|
|
40
|
+
const inboundSchema: z.ZodEnum<{
|
|
41
41
|
readonly Reasoning: "reasoning";
|
|
42
42
|
}>;
|
|
43
43
|
/** @deprecated use `OpenResponsesReasoningType$outboundSchema` instead. */
|
|
44
|
-
const outboundSchema: z.
|
|
44
|
+
const outboundSchema: z.ZodEnum<{
|
|
45
45
|
readonly Reasoning: "reasoning";
|
|
46
46
|
}>;
|
|
47
47
|
}
|
|
48
48
|
/** @internal */
|
|
49
|
-
export declare const OpenResponsesReasoningFormat$inboundSchema: z.ZodType<OpenResponsesReasoningFormat,
|
|
49
|
+
export declare const OpenResponsesReasoningFormat$inboundSchema: z.ZodType<OpenResponsesReasoningFormat, unknown>;
|
|
50
50
|
/** @internal */
|
|
51
|
-
export declare const OpenResponsesReasoningFormat$outboundSchema: z.ZodType<OpenResponsesReasoningFormat,
|
|
51
|
+
export declare const OpenResponsesReasoningFormat$outboundSchema: z.ZodType<OpenResponsesReasoningFormat, OpenResponsesReasoningFormat>;
|
|
52
52
|
/**
|
|
53
53
|
* @internal
|
|
54
54
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
55
55
|
*/
|
|
56
56
|
export declare namespace OpenResponsesReasoningFormat$ {
|
|
57
57
|
/** @deprecated use `OpenResponsesReasoningFormat$inboundSchema` instead. */
|
|
58
|
-
const inboundSchema: z.ZodType<OpenResponsesReasoningFormat, z.
|
|
58
|
+
const inboundSchema: z.ZodType<OpenResponsesReasoningFormat, unknown, z.core.$ZodTypeInternals<OpenResponsesReasoningFormat, unknown>>;
|
|
59
59
|
/** @deprecated use `OpenResponsesReasoningFormat$outboundSchema` instead. */
|
|
60
|
-
const outboundSchema: z.ZodType<OpenResponsesReasoningFormat, z.
|
|
60
|
+
const outboundSchema: z.ZodType<OpenResponsesReasoningFormat, OpenResponsesReasoningFormat, z.core.$ZodTypeInternals<OpenResponsesReasoningFormat, OpenResponsesReasoningFormat>>;
|
|
61
61
|
}
|
|
62
62
|
/** @internal */
|
|
63
|
-
export declare const OpenResponsesReasoning$inboundSchema: z.ZodType<OpenResponsesReasoning,
|
|
63
|
+
export declare const OpenResponsesReasoning$inboundSchema: z.ZodType<OpenResponsesReasoning, unknown>;
|
|
64
64
|
/** @internal */
|
|
65
65
|
export type OpenResponsesReasoning$Outbound = {
|
|
66
66
|
type: string;
|
|
@@ -72,16 +72,16 @@ export type OpenResponsesReasoning$Outbound = {
|
|
|
72
72
|
format?: string | null | undefined;
|
|
73
73
|
};
|
|
74
74
|
/** @internal */
|
|
75
|
-
export declare const OpenResponsesReasoning$outboundSchema: z.ZodType<OpenResponsesReasoning$Outbound,
|
|
75
|
+
export declare const OpenResponsesReasoning$outboundSchema: z.ZodType<OpenResponsesReasoning$Outbound, OpenResponsesReasoning>;
|
|
76
76
|
/**
|
|
77
77
|
* @internal
|
|
78
78
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
79
79
|
*/
|
|
80
80
|
export declare namespace OpenResponsesReasoning$ {
|
|
81
81
|
/** @deprecated use `OpenResponsesReasoning$inboundSchema` instead. */
|
|
82
|
-
const inboundSchema: z.ZodType<OpenResponsesReasoning, z.
|
|
82
|
+
const inboundSchema: z.ZodType<OpenResponsesReasoning, unknown, z.core.$ZodTypeInternals<OpenResponsesReasoning, unknown>>;
|
|
83
83
|
/** @deprecated use `OpenResponsesReasoning$outboundSchema` instead. */
|
|
84
|
-
const outboundSchema: z.ZodType<OpenResponsesReasoning$Outbound, z.
|
|
84
|
+
const outboundSchema: z.ZodType<OpenResponsesReasoning$Outbound, OpenResponsesReasoning, z.core.$ZodTypeInternals<OpenResponsesReasoning$Outbound, OpenResponsesReasoning>>;
|
|
85
85
|
/** @deprecated use `OpenResponsesReasoning$Outbound` instead. */
|
|
86
86
|
type Outbound = OpenResponsesReasoning$Outbound;
|
|
87
87
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
|
-
import * as z from "zod/
|
|
4
|
+
import * as z from "zod/v4";
|
|
5
5
|
import { remap as remap$ } from "../lib/primitives.js";
|
|
6
6
|
import { safeParse } from "../lib/schemas.js";
|
|
7
7
|
import { catchUnrecognizedEnum, } from "../types/enums.js";
|
|
@@ -17,7 +17,7 @@ export const OpenResponsesReasoningFormat = {
|
|
|
17
17
|
AnthropicClaudeV1: "anthropic-claude-v1",
|
|
18
18
|
};
|
|
19
19
|
/** @internal */
|
|
20
|
-
export const OpenResponsesReasoningType$inboundSchema = z.
|
|
20
|
+
export const OpenResponsesReasoningType$inboundSchema = z.enum(OpenResponsesReasoningType);
|
|
21
21
|
/** @internal */
|
|
22
22
|
export const OpenResponsesReasoningType$outboundSchema = OpenResponsesReasoningType$inboundSchema;
|
|
23
23
|
/**
|
|
@@ -34,12 +34,12 @@ export var OpenResponsesReasoningType$;
|
|
|
34
34
|
/** @internal */
|
|
35
35
|
export const OpenResponsesReasoningFormat$inboundSchema = z
|
|
36
36
|
.union([
|
|
37
|
-
z.
|
|
37
|
+
z.enum(OpenResponsesReasoningFormat),
|
|
38
38
|
z.string().transform(catchUnrecognizedEnum),
|
|
39
39
|
]);
|
|
40
40
|
/** @internal */
|
|
41
41
|
export const OpenResponsesReasoningFormat$outboundSchema = z.union([
|
|
42
|
-
z.
|
|
42
|
+
z.enum(OpenResponsesReasoningFormat),
|
|
43
43
|
z.string().and(z.custom()),
|
|
44
44
|
]);
|
|
45
45
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as z from "zod/
|
|
1
|
+
import * as z from "zod/v4";
|
|
2
2
|
import { OpenEnum } from "../types/enums.js";
|
|
3
3
|
import { Result as SafeParseResult } from "../types/fp.js";
|
|
4
4
|
import { SDKValidationError } from "./errors/sdkvalidationerror.js";
|
|
@@ -20,21 +20,21 @@ export type OpenResponsesReasoningConfig = {
|
|
|
20
20
|
enabled?: boolean | null | undefined;
|
|
21
21
|
};
|
|
22
22
|
/** @internal */
|
|
23
|
-
export declare const OpenResponsesReasoningConfigEffort$inboundSchema: z.ZodType<OpenResponsesReasoningConfigEffort,
|
|
23
|
+
export declare const OpenResponsesReasoningConfigEffort$inboundSchema: z.ZodType<OpenResponsesReasoningConfigEffort, unknown>;
|
|
24
24
|
/** @internal */
|
|
25
|
-
export declare const OpenResponsesReasoningConfigEffort$outboundSchema: z.ZodType<OpenResponsesReasoningConfigEffort,
|
|
25
|
+
export declare const OpenResponsesReasoningConfigEffort$outboundSchema: z.ZodType<OpenResponsesReasoningConfigEffort, OpenResponsesReasoningConfigEffort>;
|
|
26
26
|
/**
|
|
27
27
|
* @internal
|
|
28
28
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
29
29
|
*/
|
|
30
30
|
export declare namespace OpenResponsesReasoningConfigEffort$ {
|
|
31
31
|
/** @deprecated use `OpenResponsesReasoningConfigEffort$inboundSchema` instead. */
|
|
32
|
-
const inboundSchema: z.ZodType<OpenResponsesReasoningConfigEffort, z.
|
|
32
|
+
const inboundSchema: z.ZodType<OpenResponsesReasoningConfigEffort, unknown, z.core.$ZodTypeInternals<OpenResponsesReasoningConfigEffort, unknown>>;
|
|
33
33
|
/** @deprecated use `OpenResponsesReasoningConfigEffort$outboundSchema` instead. */
|
|
34
|
-
const outboundSchema: z.ZodType<OpenResponsesReasoningConfigEffort, z.
|
|
34
|
+
const outboundSchema: z.ZodType<OpenResponsesReasoningConfigEffort, OpenResponsesReasoningConfigEffort, z.core.$ZodTypeInternals<OpenResponsesReasoningConfigEffort, OpenResponsesReasoningConfigEffort>>;
|
|
35
35
|
}
|
|
36
36
|
/** @internal */
|
|
37
|
-
export declare const OpenResponsesReasoningConfig$inboundSchema: z.ZodType<OpenResponsesReasoningConfig,
|
|
37
|
+
export declare const OpenResponsesReasoningConfig$inboundSchema: z.ZodType<OpenResponsesReasoningConfig, unknown>;
|
|
38
38
|
/** @internal */
|
|
39
39
|
export type OpenResponsesReasoningConfig$Outbound = {
|
|
40
40
|
effort?: string | null | undefined;
|
|
@@ -43,16 +43,16 @@ export type OpenResponsesReasoningConfig$Outbound = {
|
|
|
43
43
|
enabled?: boolean | null | undefined;
|
|
44
44
|
};
|
|
45
45
|
/** @internal */
|
|
46
|
-
export declare const OpenResponsesReasoningConfig$outboundSchema: z.ZodType<OpenResponsesReasoningConfig$Outbound,
|
|
46
|
+
export declare const OpenResponsesReasoningConfig$outboundSchema: z.ZodType<OpenResponsesReasoningConfig$Outbound, OpenResponsesReasoningConfig>;
|
|
47
47
|
/**
|
|
48
48
|
* @internal
|
|
49
49
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
50
50
|
*/
|
|
51
51
|
export declare namespace OpenResponsesReasoningConfig$ {
|
|
52
52
|
/** @deprecated use `OpenResponsesReasoningConfig$inboundSchema` instead. */
|
|
53
|
-
const inboundSchema: z.ZodType<OpenResponsesReasoningConfig, z.
|
|
53
|
+
const inboundSchema: z.ZodType<OpenResponsesReasoningConfig, unknown, z.core.$ZodTypeInternals<OpenResponsesReasoningConfig, unknown>>;
|
|
54
54
|
/** @deprecated use `OpenResponsesReasoningConfig$outboundSchema` instead. */
|
|
55
|
-
const outboundSchema: z.ZodType<OpenResponsesReasoningConfig$Outbound, z.
|
|
55
|
+
const outboundSchema: z.ZodType<OpenResponsesReasoningConfig$Outbound, OpenResponsesReasoningConfig, z.core.$ZodTypeInternals<OpenResponsesReasoningConfig$Outbound, OpenResponsesReasoningConfig>>;
|
|
56
56
|
/** @deprecated use `OpenResponsesReasoningConfig$Outbound` instead. */
|
|
57
57
|
type Outbound = OpenResponsesReasoningConfig$Outbound;
|
|
58
58
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
|
-
import * as z from "zod/
|
|
4
|
+
import * as z from "zod/v4";
|
|
5
5
|
import { remap as remap$ } from "../lib/primitives.js";
|
|
6
6
|
import { safeParse } from "../lib/schemas.js";
|
|
7
7
|
import { catchUnrecognizedEnum, } from "../types/enums.js";
|
|
@@ -15,12 +15,12 @@ export const OpenResponsesReasoningConfigEffort = {
|
|
|
15
15
|
/** @internal */
|
|
16
16
|
export const OpenResponsesReasoningConfigEffort$inboundSchema = z
|
|
17
17
|
.union([
|
|
18
|
-
z.
|
|
18
|
+
z.enum(OpenResponsesReasoningConfigEffort),
|
|
19
19
|
z.string().transform(catchUnrecognizedEnum),
|
|
20
20
|
]);
|
|
21
21
|
/** @internal */
|
|
22
22
|
export const OpenResponsesReasoningConfigEffort$outboundSchema = z.union([
|
|
23
|
-
z.
|
|
23
|
+
z.enum(OpenResponsesReasoningConfigEffort),
|
|
24
24
|
z.string().and(z.custom()),
|
|
25
25
|
]);
|
|
26
26
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as z from "zod/
|
|
1
|
+
import * as z from "zod/v4";
|
|
2
2
|
import { ClosedEnum } from "../types/enums.js";
|
|
3
3
|
import { Result as SafeParseResult } from "../types/fp.js";
|
|
4
4
|
import { SDKValidationError } from "./errors/sdkvalidationerror.js";
|
|
@@ -11,41 +11,41 @@ export type OpenResponsesRefusalContent = {
|
|
|
11
11
|
refusal: string;
|
|
12
12
|
};
|
|
13
13
|
/** @internal */
|
|
14
|
-
export declare const OpenResponsesRefusalContentType$inboundSchema: z.
|
|
14
|
+
export declare const OpenResponsesRefusalContentType$inboundSchema: z.ZodEnum<typeof OpenResponsesRefusalContentType>;
|
|
15
15
|
/** @internal */
|
|
16
|
-
export declare const OpenResponsesRefusalContentType$outboundSchema: z.
|
|
16
|
+
export declare const OpenResponsesRefusalContentType$outboundSchema: z.ZodEnum<typeof OpenResponsesRefusalContentType>;
|
|
17
17
|
/**
|
|
18
18
|
* @internal
|
|
19
19
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
20
20
|
*/
|
|
21
21
|
export declare namespace OpenResponsesRefusalContentType$ {
|
|
22
22
|
/** @deprecated use `OpenResponsesRefusalContentType$inboundSchema` instead. */
|
|
23
|
-
const inboundSchema: z.
|
|
23
|
+
const inboundSchema: z.ZodEnum<{
|
|
24
24
|
readonly Refusal: "refusal";
|
|
25
25
|
}>;
|
|
26
26
|
/** @deprecated use `OpenResponsesRefusalContentType$outboundSchema` instead. */
|
|
27
|
-
const outboundSchema: z.
|
|
27
|
+
const outboundSchema: z.ZodEnum<{
|
|
28
28
|
readonly Refusal: "refusal";
|
|
29
29
|
}>;
|
|
30
30
|
}
|
|
31
31
|
/** @internal */
|
|
32
|
-
export declare const OpenResponsesRefusalContent$inboundSchema: z.ZodType<OpenResponsesRefusalContent,
|
|
32
|
+
export declare const OpenResponsesRefusalContent$inboundSchema: z.ZodType<OpenResponsesRefusalContent, unknown>;
|
|
33
33
|
/** @internal */
|
|
34
34
|
export type OpenResponsesRefusalContent$Outbound = {
|
|
35
35
|
type: string;
|
|
36
36
|
refusal: string;
|
|
37
37
|
};
|
|
38
38
|
/** @internal */
|
|
39
|
-
export declare const OpenResponsesRefusalContent$outboundSchema: z.ZodType<OpenResponsesRefusalContent$Outbound,
|
|
39
|
+
export declare const OpenResponsesRefusalContent$outboundSchema: z.ZodType<OpenResponsesRefusalContent$Outbound, OpenResponsesRefusalContent>;
|
|
40
40
|
/**
|
|
41
41
|
* @internal
|
|
42
42
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
43
43
|
*/
|
|
44
44
|
export declare namespace OpenResponsesRefusalContent$ {
|
|
45
45
|
/** @deprecated use `OpenResponsesRefusalContent$inboundSchema` instead. */
|
|
46
|
-
const inboundSchema: z.ZodType<OpenResponsesRefusalContent, z.
|
|
46
|
+
const inboundSchema: z.ZodType<OpenResponsesRefusalContent, unknown, z.core.$ZodTypeInternals<OpenResponsesRefusalContent, unknown>>;
|
|
47
47
|
/** @deprecated use `OpenResponsesRefusalContent$outboundSchema` instead. */
|
|
48
|
-
const outboundSchema: z.ZodType<OpenResponsesRefusalContent$Outbound, z.
|
|
48
|
+
const outboundSchema: z.ZodType<OpenResponsesRefusalContent$Outbound, OpenResponsesRefusalContent, z.core.$ZodTypeInternals<OpenResponsesRefusalContent$Outbound, OpenResponsesRefusalContent>>;
|
|
49
49
|
/** @deprecated use `OpenResponsesRefusalContent$Outbound` instead. */
|
|
50
50
|
type Outbound = OpenResponsesRefusalContent$Outbound;
|
|
51
51
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
|
-
import * as z from "zod/
|
|
4
|
+
import * as z from "zod/v4";
|
|
5
5
|
import { safeParse } from "../lib/schemas.js";
|
|
6
6
|
export const OpenResponsesRefusalContentType = {
|
|
7
7
|
Refusal: "refusal",
|
|
8
8
|
};
|
|
9
9
|
/** @internal */
|
|
10
|
-
export const OpenResponsesRefusalContentType$inboundSchema = z.
|
|
10
|
+
export const OpenResponsesRefusalContentType$inboundSchema = z.enum(OpenResponsesRefusalContentType);
|
|
11
11
|
/** @internal */
|
|
12
12
|
export const OpenResponsesRefusalContentType$outboundSchema = OpenResponsesRefusalContentType$inboundSchema;
|
|
13
13
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as z from "zod/
|
|
1
|
+
import * as z from "zod/v4";
|
|
2
2
|
import { Result as SafeParseResult } from "../types/fp.js";
|
|
3
3
|
import { SDKValidationError } from "./errors/sdkvalidationerror.js";
|
|
4
4
|
/**
|
|
@@ -6,20 +6,20 @@ import { SDKValidationError } from "./errors/sdkvalidationerror.js";
|
|
|
6
6
|
*/
|
|
7
7
|
export type OpenResponsesRequest = {};
|
|
8
8
|
/** @internal */
|
|
9
|
-
export declare const OpenResponsesRequest$inboundSchema: z.ZodType<OpenResponsesRequest,
|
|
9
|
+
export declare const OpenResponsesRequest$inboundSchema: z.ZodType<OpenResponsesRequest, unknown>;
|
|
10
10
|
/** @internal */
|
|
11
11
|
export type OpenResponsesRequest$Outbound = {};
|
|
12
12
|
/** @internal */
|
|
13
|
-
export declare const OpenResponsesRequest$outboundSchema: z.ZodType<OpenResponsesRequest$Outbound,
|
|
13
|
+
export declare const OpenResponsesRequest$outboundSchema: z.ZodType<OpenResponsesRequest$Outbound, OpenResponsesRequest>;
|
|
14
14
|
/**
|
|
15
15
|
* @internal
|
|
16
16
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
17
17
|
*/
|
|
18
18
|
export declare namespace OpenResponsesRequest$ {
|
|
19
19
|
/** @deprecated use `OpenResponsesRequest$inboundSchema` instead. */
|
|
20
|
-
const inboundSchema: z.ZodType<OpenResponsesRequest, z.
|
|
20
|
+
const inboundSchema: z.ZodType<OpenResponsesRequest, unknown, z.core.$ZodTypeInternals<OpenResponsesRequest, unknown>>;
|
|
21
21
|
/** @deprecated use `OpenResponsesRequest$outboundSchema` instead. */
|
|
22
|
-
const outboundSchema: z.ZodType<OpenResponsesRequest$Outbound, z.
|
|
22
|
+
const outboundSchema: z.ZodType<OpenResponsesRequest$Outbound, OpenResponsesRequest, z.core.$ZodTypeInternals<OpenResponsesRequest$Outbound, OpenResponsesRequest>>;
|
|
23
23
|
/** @deprecated use `OpenResponsesRequest$Outbound` instead. */
|
|
24
24
|
type Outbound = OpenResponsesRequest$Outbound;
|
|
25
25
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
|
-
import * as z from "zod/
|
|
4
|
+
import * as z from "zod/v4";
|
|
5
5
|
import { safeParse } from "../lib/schemas.js";
|
|
6
6
|
/** @internal */
|
|
7
7
|
export const OpenResponsesRequest$inboundSchema = z.object({});
|