@orq-ai/node 3.2.0-rc.24 → 3.2.0-rc.26
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/bin/mcp-server.js +2187 -685
- package/bin/mcp-server.js.map +26 -26
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/mcp-server/cli/start/command.d.ts.map +1 -1
- package/mcp-server/cli/start/command.js +9 -0
- package/mcp-server/cli/start/command.js.map +1 -1
- package/mcp-server/cli/start/impl.d.ts +1 -0
- package/mcp-server/cli/start/impl.d.ts.map +1 -1
- package/mcp-server/cli/start/impl.js +2 -0
- package/mcp-server/cli/start/impl.js.map +1 -1
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.d.ts +1 -0
- package/mcp-server/server.d.ts.map +1 -1
- package/mcp-server/server.js +3 -2
- package/mcp-server/server.js.map +1 -1
- package/mcp-server/tools.d.ts +1 -1
- package/mcp-server/tools.d.ts.map +1 -1
- package/mcp-server/tools.js +4 -1
- package/mcp-server/tools.js.map +1 -1
- package/models/components/deployments.d.ts +1755 -439
- package/models/components/deployments.d.ts.map +1 -1
- package/models/components/deployments.js +1664 -401
- package/models/components/deployments.js.map +1 -1
- package/models/operations/bulkcreatedatapoints.js +2 -2
- package/models/operations/createcontact.js +2 -2
- package/models/operations/createdataset.js +2 -2
- package/models/operations/createdatasetitem.js +2 -2
- package/models/operations/deploymentcreatemetric.d.ts +790 -132
- package/models/operations/deploymentcreatemetric.d.ts.map +1 -1
- package/models/operations/deploymentcreatemetric.js +770 -143
- package/models/operations/deploymentcreatemetric.js.map +1 -1
- package/models/operations/deploymentgetconfig.d.ts +1863 -547
- package/models/operations/deploymentgetconfig.d.ts.map +1 -1
- package/models/operations/deploymentgetconfig.js +1814 -546
- package/models/operations/deploymentgetconfig.js.map +1 -1
- package/models/operations/deploymentinvoke.d.ts +17 -17
- package/models/operations/deploymentinvoke.d.ts.map +1 -1
- package/models/operations/deploymentinvoke.js +20 -20
- package/models/operations/deploymentinvoke.js.map +1 -1
- package/models/operations/fileget.js +2 -2
- package/models/operations/filelist.js +2 -2
- package/models/operations/fileupload.js +2 -2
- package/models/operations/listdatasetdatapoints.js +2 -2
- package/models/operations/listdatasets.js +2 -2
- package/models/operations/retrievedatapoint.js +2 -2
- package/models/operations/retrievedataset.js +2 -2
- package/models/operations/updatedatapoint.js +2 -2
- package/models/operations/updatedataset.js +2 -2
- package/models/operations/updateprompt.d.ts +16 -16
- package/models/operations/updateprompt.d.ts.map +1 -1
- package/models/operations/updateprompt.js +26 -27
- package/models/operations/updateprompt.js.map +1 -1
- package/package.json +1 -1
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/cli/start/command.ts +9 -0
- package/src/mcp-server/cli/start/impl.ts +3 -0
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +10 -2
- package/src/mcp-server/tools.ts +5 -0
- package/src/models/components/deployments.ts +3134 -673
- package/src/models/operations/bulkcreatedatapoints.ts +2 -2
- package/src/models/operations/createcontact.ts +2 -2
- package/src/models/operations/createdataset.ts +2 -2
- package/src/models/operations/createdatasetitem.ts +2 -2
- package/src/models/operations/deploymentcreatemetric.ts +1799 -327
- package/src/models/operations/deploymentgetconfig.ts +3619 -1003
- package/src/models/operations/deploymentinvoke.ts +32 -28
- package/src/models/operations/fileget.ts +2 -2
- package/src/models/operations/filelist.ts +2 -2
- package/src/models/operations/fileupload.ts +2 -2
- package/src/models/operations/listdatasetdatapoints.ts +2 -2
- package/src/models/operations/listdatasets.ts +2 -2
- package/src/models/operations/retrievedatapoint.ts +2 -2
- package/src/models/operations/retrievedataset.ts +2 -2
- package/src/models/operations/updatedatapoint.ts +2 -2
- package/src/models/operations/updatedataset.ts +2 -2
- package/src/models/operations/updateprompt.ts +34 -30
|
@@ -36,42 +36,97 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
40
|
-
exports.
|
|
41
|
-
exports.
|
|
42
|
-
exports.
|
|
39
|
+
exports.Five$outboundSchema = exports.Five$inboundSchema = exports.DeploymentGetConfigPrefixMessagesContent$ = exports.DeploymentGetConfigPrefixMessagesContent$outboundSchema = exports.DeploymentGetConfigPrefixMessagesContent$inboundSchema = exports.DeploymentGetConfigPrefixMessagesDeploymentsRequestRole$ = exports.DeploymentGetConfigPrefixMessagesDeploymentsRequestRole$outboundSchema = exports.DeploymentGetConfigPrefixMessagesDeploymentsRequestRole$inboundSchema = exports.Inputs$ = exports.Inputs$outboundSchema = exports.Inputs$inboundSchema = exports.DeploymentGetConfigDeploymentsType = exports.DeploymentGetConfigReasoningEffort = exports.DeploymentGetConfigEncodingFormat = exports.DeploymentGetConfigPhotoRealVersion = exports.DeploymentGetConfigResponseFormatDeploymentsType = exports.DeploymentGetConfigResponseFormatType = exports.DeploymentGetConfigQuality = exports.DeploymentGetConfigFormat = exports.DeploymentGetConfigDeploymentsResponseType = exports.DeploymentGetConfig2DeploymentsResponseType = exports.DeploymentGetConfig2DeploymentsResponse200Type = exports.DeploymentGetConfigRole = exports.DeploymentGetConfigType = exports.MessagesRole = exports.DeploymentGetConfigMessagesRole = exports.DeploymentGetConfig2DeploymentsRequestRequestBodyType = exports.TwoDetail = exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessagesType = exports.TwoFormat = exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages3Type = exports.DeploymentGetConfigMessagesDeploymentsRole = exports.MessagesType = exports.DeploymentGetConfigMessagesDeploymentsRequestRole = exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4Type = exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4ContentType = exports.DeploymentGetConfigMessagesDeploymentsRequestRequestBodyRole = exports.Role = exports.PrefixMessagesRole = exports.Type = exports.Detail = exports.TwoType = exports.Format = exports.DeploymentGetConfig2Type = exports.DeploymentGetConfigPrefixMessagesRole = exports.PrefixMessagesType = exports.DeploymentGetConfigPrefixMessagesDeploymentsRole = exports.DeploymentGetConfig2DeploymentsType = exports.DeploymentGetConfig2DeploymentsRequestType = exports.DeploymentGetConfigPrefixMessagesDeploymentsRequestRole = void 0;
|
|
40
|
+
exports.Two3$inboundSchema = exports.InputAudio$ = exports.InputAudio$outboundSchema = exports.InputAudio$inboundSchema = exports.Format$ = exports.Format$outboundSchema = exports.Format$inboundSchema = exports.DeploymentGetConfig2Type$ = exports.DeploymentGetConfig2Type$outboundSchema = exports.DeploymentGetConfig2Type$inboundSchema = exports.DeploymentGetConfigPrefixMessagesRole$ = exports.DeploymentGetConfigPrefixMessagesRole$outboundSchema = exports.DeploymentGetConfigPrefixMessagesRole$inboundSchema = exports.Four$ = exports.Four$outboundSchema = exports.Four$inboundSchema = exports.ToolCalls$ = exports.ToolCalls$outboundSchema = exports.ToolCalls$inboundSchema = exports.FunctionT$ = exports.FunctionT$outboundSchema = exports.FunctionT$inboundSchema = exports.PrefixMessagesType$ = exports.PrefixMessagesType$outboundSchema = exports.PrefixMessagesType$inboundSchema = exports.Audio$ = exports.Audio$outboundSchema = exports.Audio$inboundSchema = exports.DeploymentGetConfigPrefixMessagesDeploymentsRole$ = exports.DeploymentGetConfigPrefixMessagesDeploymentsRole$outboundSchema = exports.DeploymentGetConfigPrefixMessagesDeploymentsRole$inboundSchema = exports.PrefixMessagesContent$ = exports.PrefixMessagesContent$outboundSchema = exports.PrefixMessagesContent$inboundSchema = exports.DeploymentGetConfigContent2$ = exports.DeploymentGetConfigContent2$outboundSchema = exports.DeploymentGetConfigContent2$inboundSchema = exports.DeploymentGetConfig21$ = exports.DeploymentGetConfig21$outboundSchema = exports.DeploymentGetConfig21$inboundSchema = exports.DeploymentGetConfig2DeploymentsType$ = exports.DeploymentGetConfig2DeploymentsType$outboundSchema = exports.DeploymentGetConfig2DeploymentsType$inboundSchema = exports.DeploymentGetConfig22$ = exports.DeploymentGetConfig22$outboundSchema = exports.DeploymentGetConfig22$inboundSchema = exports.DeploymentGetConfig2DeploymentsRequestType$ = exports.DeploymentGetConfig2DeploymentsRequestType$outboundSchema = exports.DeploymentGetConfig2DeploymentsRequestType$inboundSchema = exports.Five$ = void 0;
|
|
41
|
+
exports.DeploymentGetConfigMessagesDeploymentsContent$ = exports.DeploymentGetConfigMessagesDeploymentsContent$outboundSchema = exports.DeploymentGetConfigMessagesDeploymentsContent$inboundSchema = exports.DeploymentGetConfigMessagesDeploymentsRequestRequestBodyRole$ = exports.DeploymentGetConfigMessagesDeploymentsRequestRequestBodyRole$outboundSchema = exports.DeploymentGetConfigMessagesDeploymentsRequestRequestBodyRole$inboundSchema = exports.PrefixMessages$ = exports.PrefixMessages$outboundSchema = exports.PrefixMessages$inboundSchema = exports.One$ = exports.One$outboundSchema = exports.One$inboundSchema = exports.Role$ = exports.Role$outboundSchema = exports.Role$inboundSchema = exports.Two$ = exports.Two$outboundSchema = exports.Two$inboundSchema = exports.PrefixMessagesRole$ = exports.PrefixMessagesRole$outboundSchema = exports.PrefixMessagesRole$inboundSchema = exports.Three$ = exports.Three$outboundSchema = exports.Three$inboundSchema = exports.Content$ = exports.Content$outboundSchema = exports.Content$inboundSchema = exports.Content2$ = exports.Content2$outboundSchema = exports.Content2$inboundSchema = exports.Two1$ = exports.Two1$outboundSchema = exports.Two1$inboundSchema = exports.Type$ = exports.Type$outboundSchema = exports.Type$inboundSchema = exports.Two2$ = exports.Two2$outboundSchema = exports.Two2$inboundSchema = exports.ImageUrl$ = exports.ImageUrl$outboundSchema = exports.ImageUrl$inboundSchema = exports.Detail$ = exports.Detail$outboundSchema = exports.Detail$inboundSchema = exports.TwoType$ = exports.TwoType$outboundSchema = exports.TwoType$inboundSchema = exports.Two3$ = exports.Two3$outboundSchema = void 0;
|
|
42
|
+
exports.TwoInputAudio$outboundSchema = exports.TwoInputAudio$inboundSchema = exports.TwoFormat$ = exports.TwoFormat$outboundSchema = exports.TwoFormat$inboundSchema = exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages3Type$ = exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages3Type$outboundSchema = exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages3Type$inboundSchema = exports.DeploymentGetConfigMessagesDeploymentsRole$ = exports.DeploymentGetConfigMessagesDeploymentsRole$outboundSchema = exports.DeploymentGetConfigMessagesDeploymentsRole$inboundSchema = exports.Messages4$ = exports.Messages4$outboundSchema = exports.Messages4$inboundSchema = exports.MessagesToolCalls$ = exports.MessagesToolCalls$outboundSchema = exports.MessagesToolCalls$inboundSchema = exports.MessagesFunction$ = exports.MessagesFunction$outboundSchema = exports.MessagesFunction$inboundSchema = exports.MessagesType$ = exports.MessagesType$outboundSchema = exports.MessagesType$inboundSchema = exports.MessagesAudio$ = exports.MessagesAudio$outboundSchema = exports.MessagesAudio$inboundSchema = exports.DeploymentGetConfigMessagesDeploymentsRequestRole$ = exports.DeploymentGetConfigMessagesDeploymentsRequestRole$outboundSchema = exports.DeploymentGetConfigMessagesDeploymentsRequestRole$inboundSchema = exports.DeploymentGetConfigMessagesContent$ = exports.DeploymentGetConfigMessagesContent$outboundSchema = exports.DeploymentGetConfigMessagesContent$inboundSchema = exports.DeploymentGetConfigContentDeploymentsRequest2$ = exports.DeploymentGetConfigContentDeploymentsRequest2$outboundSchema = exports.DeploymentGetConfigContentDeploymentsRequest2$inboundSchema = exports.DeploymentGetConfig2DeploymentsRequest1$ = exports.DeploymentGetConfig2DeploymentsRequest1$outboundSchema = exports.DeploymentGetConfig2DeploymentsRequest1$inboundSchema = exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4Type$ = exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4Type$outboundSchema = exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4Type$inboundSchema = exports.DeploymentGetConfig2DeploymentsRequest2$ = exports.DeploymentGetConfig2DeploymentsRequest2$outboundSchema = exports.DeploymentGetConfig2DeploymentsRequest2$inboundSchema = exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4ContentType$ = exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4ContentType$outboundSchema = exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4ContentType$inboundSchema = exports.Messages5$ = exports.Messages5$outboundSchema = exports.Messages5$inboundSchema = void 0;
|
|
43
|
+
exports.Documents$inboundSchema = exports.Metadata$ = exports.Metadata$outboundSchema = exports.Metadata$inboundSchema = exports.Messages$ = exports.Messages$outboundSchema = exports.Messages$inboundSchema = exports.Messages1$ = exports.Messages1$outboundSchema = exports.Messages1$inboundSchema = exports.MessagesRole$ = exports.MessagesRole$outboundSchema = exports.MessagesRole$inboundSchema = exports.Messages2$ = exports.Messages2$outboundSchema = exports.Messages2$inboundSchema = exports.DeploymentGetConfigMessagesRole$ = exports.DeploymentGetConfigMessagesRole$outboundSchema = exports.DeploymentGetConfigMessagesRole$inboundSchema = exports.Messages3$ = exports.Messages3$outboundSchema = exports.Messages3$inboundSchema = exports.MessagesContent$ = exports.MessagesContent$outboundSchema = exports.MessagesContent$inboundSchema = exports.DeploymentGetConfigContentDeployments2$ = exports.DeploymentGetConfigContentDeployments2$outboundSchema = exports.DeploymentGetConfigContentDeployments2$inboundSchema = exports.DeploymentGetConfig2Deployments1$ = exports.DeploymentGetConfig2Deployments1$outboundSchema = exports.DeploymentGetConfig2Deployments1$inboundSchema = exports.DeploymentGetConfig2DeploymentsRequestRequestBodyType$ = exports.DeploymentGetConfig2DeploymentsRequestRequestBodyType$outboundSchema = exports.DeploymentGetConfig2DeploymentsRequestRequestBodyType$inboundSchema = exports.DeploymentGetConfig2Deployments2$ = exports.DeploymentGetConfig2Deployments2$outboundSchema = exports.DeploymentGetConfig2Deployments2$inboundSchema = exports.TwoImageUrl$ = exports.TwoImageUrl$outboundSchema = exports.TwoImageUrl$inboundSchema = exports.TwoDetail$ = exports.TwoDetail$outboundSchema = exports.TwoDetail$inboundSchema = exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessagesType$ = exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessagesType$outboundSchema = exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessagesType$inboundSchema = exports.DeploymentGetConfig23$ = exports.DeploymentGetConfig23$outboundSchema = exports.DeploymentGetConfig23$inboundSchema = exports.TwoInputAudio$ = void 0;
|
|
44
|
+
exports.DeploymentGetConfigFormat$ = exports.DeploymentGetConfigFormat$outboundSchema = exports.DeploymentGetConfigFormat$inboundSchema = exports.DeploymentGetConfigMessages$ = exports.DeploymentGetConfigMessages$outboundSchema = exports.DeploymentGetConfigMessages$inboundSchema = exports.DeploymentGetConfigToolCalls$ = exports.DeploymentGetConfigToolCalls$outboundSchema = exports.DeploymentGetConfigToolCalls$inboundSchema = exports.DeploymentGetConfigDeploymentsFunction$ = exports.DeploymentGetConfigDeploymentsFunction$outboundSchema = exports.DeploymentGetConfigDeploymentsFunction$inboundSchema = exports.DeploymentGetConfigDeploymentsResponseType$ = exports.DeploymentGetConfigDeploymentsResponseType$outboundSchema = exports.DeploymentGetConfigDeploymentsResponseType$inboundSchema = exports.DeploymentGetConfigContent$ = exports.DeploymentGetConfigContent$outboundSchema = exports.DeploymentGetConfigContent$inboundSchema = exports.DeploymentGetConfigContentDeploymentsResponse2$ = exports.DeploymentGetConfigContentDeploymentsResponse2$outboundSchema = exports.DeploymentGetConfigContentDeploymentsResponse2$inboundSchema = exports.DeploymentGetConfig2DeploymentsResponse1$ = exports.DeploymentGetConfig2DeploymentsResponse1$outboundSchema = exports.DeploymentGetConfig2DeploymentsResponse1$inboundSchema = exports.DeploymentGetConfig2DeploymentsResponseType$ = exports.DeploymentGetConfig2DeploymentsResponseType$outboundSchema = exports.DeploymentGetConfig2DeploymentsResponseType$inboundSchema = exports.DeploymentGetConfig2DeploymentsResponse2$ = exports.DeploymentGetConfig2DeploymentsResponse2$outboundSchema = exports.DeploymentGetConfig2DeploymentsResponse2$inboundSchema = exports.DeploymentGetConfig2ImageUrl$ = exports.DeploymentGetConfig2ImageUrl$outboundSchema = exports.DeploymentGetConfig2ImageUrl$inboundSchema = exports.DeploymentGetConfig2DeploymentsResponse200Type$ = exports.DeploymentGetConfig2DeploymentsResponse200Type$outboundSchema = exports.DeploymentGetConfig2DeploymentsResponse200Type$inboundSchema = exports.DeploymentGetConfigRole$ = exports.DeploymentGetConfigRole$outboundSchema = exports.DeploymentGetConfigRole$inboundSchema = exports.DeploymentGetConfigType$ = exports.DeploymentGetConfigType$outboundSchema = exports.DeploymentGetConfigType$inboundSchema = exports.DeploymentGetConfigRequestBody$ = exports.DeploymentGetConfigRequestBody$outboundSchema = exports.DeploymentGetConfigRequestBody$inboundSchema = exports.InvokeOptions$ = exports.InvokeOptions$outboundSchema = exports.InvokeOptions$inboundSchema = exports.Documents$ = exports.Documents$outboundSchema = void 0;
|
|
45
|
+
exports.DeploymentGetConfigResponseBody$ = exports.DeploymentGetConfigResponseBody$outboundSchema = exports.DeploymentGetConfigResponseBody$inboundSchema = exports.Tools$ = exports.Tools$outboundSchema = exports.Tools$inboundSchema = exports.DeploymentGetConfigFunction$ = exports.DeploymentGetConfigFunction$outboundSchema = exports.DeploymentGetConfigFunction$inboundSchema = exports.DeploymentGetConfigDeploymentsType$ = exports.DeploymentGetConfigDeploymentsType$outboundSchema = exports.DeploymentGetConfigDeploymentsType$inboundSchema = exports.ParametersT$ = exports.ParametersT$outboundSchema = exports.ParametersT$inboundSchema = exports.DeploymentGetConfigReasoningEffort$ = exports.DeploymentGetConfigReasoningEffort$outboundSchema = exports.DeploymentGetConfigReasoningEffort$inboundSchema = exports.DeploymentGetConfigEncodingFormat$ = exports.DeploymentGetConfigEncodingFormat$outboundSchema = exports.DeploymentGetConfigEncodingFormat$inboundSchema = exports.DeploymentGetConfigPhotoRealVersion$ = exports.DeploymentGetConfigPhotoRealVersion$outboundSchema = exports.DeploymentGetConfigPhotoRealVersion$inboundSchema = exports.DeploymentGetConfigResponseFormat$ = exports.DeploymentGetConfigResponseFormat$outboundSchema = exports.DeploymentGetConfigResponseFormat$inboundSchema = exports.DeploymentGetConfigResponseFormat1$ = exports.DeploymentGetConfigResponseFormat1$outboundSchema = exports.DeploymentGetConfigResponseFormat1$inboundSchema = exports.DeploymentGetConfigResponseFormatJsonSchema$ = exports.DeploymentGetConfigResponseFormatJsonSchema$outboundSchema = exports.DeploymentGetConfigResponseFormatJsonSchema$inboundSchema = exports.DeploymentGetConfigResponseFormatDeploymentsType$ = exports.DeploymentGetConfigResponseFormatDeploymentsType$outboundSchema = exports.DeploymentGetConfigResponseFormatDeploymentsType$inboundSchema = exports.DeploymentGetConfigResponseFormat2$ = exports.DeploymentGetConfigResponseFormat2$outboundSchema = exports.DeploymentGetConfigResponseFormat2$inboundSchema = exports.DeploymentGetConfigResponseFormatType$ = exports.DeploymentGetConfigResponseFormatType$outboundSchema = exports.DeploymentGetConfigResponseFormatType$inboundSchema = exports.DeploymentGetConfigQuality$ = exports.DeploymentGetConfigQuality$outboundSchema = exports.DeploymentGetConfigQuality$inboundSchema = void 0;
|
|
43
46
|
exports.inputsToJSON = inputsToJSON;
|
|
44
47
|
exports.inputsFromJSON = inputsFromJSON;
|
|
48
|
+
exports.deploymentGetConfigPrefixMessagesContentToJSON = deploymentGetConfigPrefixMessagesContentToJSON;
|
|
49
|
+
exports.deploymentGetConfigPrefixMessagesContentFromJSON = deploymentGetConfigPrefixMessagesContentFromJSON;
|
|
50
|
+
exports.fiveToJSON = fiveToJSON;
|
|
51
|
+
exports.fiveFromJSON = fiveFromJSON;
|
|
52
|
+
exports.deploymentGetConfig22ToJSON = deploymentGetConfig22ToJSON;
|
|
53
|
+
exports.deploymentGetConfig22FromJSON = deploymentGetConfig22FromJSON;
|
|
54
|
+
exports.deploymentGetConfig21ToJSON = deploymentGetConfig21ToJSON;
|
|
55
|
+
exports.deploymentGetConfig21FromJSON = deploymentGetConfig21FromJSON;
|
|
56
|
+
exports.deploymentGetConfigContent2ToJSON = deploymentGetConfigContent2ToJSON;
|
|
57
|
+
exports.deploymentGetConfigContent2FromJSON = deploymentGetConfigContent2FromJSON;
|
|
58
|
+
exports.prefixMessagesContentToJSON = prefixMessagesContentToJSON;
|
|
59
|
+
exports.prefixMessagesContentFromJSON = prefixMessagesContentFromJSON;
|
|
60
|
+
exports.audioToJSON = audioToJSON;
|
|
61
|
+
exports.audioFromJSON = audioFromJSON;
|
|
62
|
+
exports.functionToJSON = functionToJSON;
|
|
63
|
+
exports.functionFromJSON = functionFromJSON;
|
|
64
|
+
exports.toolCallsToJSON = toolCallsToJSON;
|
|
65
|
+
exports.toolCallsFromJSON = toolCallsFromJSON;
|
|
66
|
+
exports.fourToJSON = fourToJSON;
|
|
67
|
+
exports.fourFromJSON = fourFromJSON;
|
|
68
|
+
exports.inputAudioToJSON = inputAudioToJSON;
|
|
69
|
+
exports.inputAudioFromJSON = inputAudioFromJSON;
|
|
70
|
+
exports.two3ToJSON = two3ToJSON;
|
|
71
|
+
exports.two3FromJSON = two3FromJSON;
|
|
45
72
|
exports.imageUrlToJSON = imageUrlToJSON;
|
|
46
73
|
exports.imageUrlFromJSON = imageUrlFromJSON;
|
|
47
74
|
exports.two2ToJSON = two2ToJSON;
|
|
48
75
|
exports.two2FromJSON = two2FromJSON;
|
|
49
|
-
exports.
|
|
50
|
-
exports.
|
|
51
|
-
exports.
|
|
52
|
-
exports.
|
|
76
|
+
exports.two1ToJSON = two1ToJSON;
|
|
77
|
+
exports.two1FromJSON = two1FromJSON;
|
|
78
|
+
exports.content2ToJSON = content2ToJSON;
|
|
79
|
+
exports.content2FromJSON = content2FromJSON;
|
|
53
80
|
exports.contentToJSON = contentToJSON;
|
|
54
81
|
exports.contentFromJSON = contentFromJSON;
|
|
55
|
-
exports.
|
|
56
|
-
exports.
|
|
57
|
-
exports.
|
|
58
|
-
exports.
|
|
82
|
+
exports.threeToJSON = threeToJSON;
|
|
83
|
+
exports.threeFromJSON = threeFromJSON;
|
|
84
|
+
exports.twoToJSON = twoToJSON;
|
|
85
|
+
exports.twoFromJSON = twoFromJSON;
|
|
86
|
+
exports.oneToJSON = oneToJSON;
|
|
87
|
+
exports.oneFromJSON = oneFromJSON;
|
|
59
88
|
exports.prefixMessagesToJSON = prefixMessagesToJSON;
|
|
60
89
|
exports.prefixMessagesFromJSON = prefixMessagesFromJSON;
|
|
90
|
+
exports.deploymentGetConfigMessagesDeploymentsContentToJSON = deploymentGetConfigMessagesDeploymentsContentToJSON;
|
|
91
|
+
exports.deploymentGetConfigMessagesDeploymentsContentFromJSON = deploymentGetConfigMessagesDeploymentsContentFromJSON;
|
|
92
|
+
exports.messages5ToJSON = messages5ToJSON;
|
|
93
|
+
exports.messages5FromJSON = messages5FromJSON;
|
|
94
|
+
exports.deploymentGetConfig2DeploymentsRequest2ToJSON = deploymentGetConfig2DeploymentsRequest2ToJSON;
|
|
95
|
+
exports.deploymentGetConfig2DeploymentsRequest2FromJSON = deploymentGetConfig2DeploymentsRequest2FromJSON;
|
|
96
|
+
exports.deploymentGetConfig2DeploymentsRequest1ToJSON = deploymentGetConfig2DeploymentsRequest1ToJSON;
|
|
97
|
+
exports.deploymentGetConfig2DeploymentsRequest1FromJSON = deploymentGetConfig2DeploymentsRequest1FromJSON;
|
|
98
|
+
exports.deploymentGetConfigContentDeploymentsRequest2ToJSON = deploymentGetConfigContentDeploymentsRequest2ToJSON;
|
|
99
|
+
exports.deploymentGetConfigContentDeploymentsRequest2FromJSON = deploymentGetConfigContentDeploymentsRequest2FromJSON;
|
|
100
|
+
exports.deploymentGetConfigMessagesContentToJSON = deploymentGetConfigMessagesContentToJSON;
|
|
101
|
+
exports.deploymentGetConfigMessagesContentFromJSON = deploymentGetConfigMessagesContentFromJSON;
|
|
102
|
+
exports.messagesAudioToJSON = messagesAudioToJSON;
|
|
103
|
+
exports.messagesAudioFromJSON = messagesAudioFromJSON;
|
|
104
|
+
exports.messagesFunctionToJSON = messagesFunctionToJSON;
|
|
105
|
+
exports.messagesFunctionFromJSON = messagesFunctionFromJSON;
|
|
106
|
+
exports.messagesToolCallsToJSON = messagesToolCallsToJSON;
|
|
107
|
+
exports.messagesToolCallsFromJSON = messagesToolCallsFromJSON;
|
|
108
|
+
exports.messages4ToJSON = messages4ToJSON;
|
|
109
|
+
exports.messages4FromJSON = messages4FromJSON;
|
|
110
|
+
exports.twoInputAudioToJSON = twoInputAudioToJSON;
|
|
111
|
+
exports.twoInputAudioFromJSON = twoInputAudioFromJSON;
|
|
112
|
+
exports.deploymentGetConfig23ToJSON = deploymentGetConfig23ToJSON;
|
|
113
|
+
exports.deploymentGetConfig23FromJSON = deploymentGetConfig23FromJSON;
|
|
61
114
|
exports.twoImageUrlToJSON = twoImageUrlToJSON;
|
|
62
115
|
exports.twoImageUrlFromJSON = twoImageUrlFromJSON;
|
|
63
|
-
exports.
|
|
64
|
-
exports.
|
|
65
|
-
exports.
|
|
66
|
-
exports.
|
|
67
|
-
exports.
|
|
68
|
-
exports.
|
|
69
|
-
exports.
|
|
70
|
-
exports.
|
|
71
|
-
exports.
|
|
72
|
-
exports.
|
|
73
|
-
exports.
|
|
74
|
-
exports.
|
|
116
|
+
exports.deploymentGetConfig2Deployments2ToJSON = deploymentGetConfig2Deployments2ToJSON;
|
|
117
|
+
exports.deploymentGetConfig2Deployments2FromJSON = deploymentGetConfig2Deployments2FromJSON;
|
|
118
|
+
exports.deploymentGetConfig2Deployments1ToJSON = deploymentGetConfig2Deployments1ToJSON;
|
|
119
|
+
exports.deploymentGetConfig2Deployments1FromJSON = deploymentGetConfig2Deployments1FromJSON;
|
|
120
|
+
exports.deploymentGetConfigContentDeployments2ToJSON = deploymentGetConfigContentDeployments2ToJSON;
|
|
121
|
+
exports.deploymentGetConfigContentDeployments2FromJSON = deploymentGetConfigContentDeployments2FromJSON;
|
|
122
|
+
exports.messagesContentToJSON = messagesContentToJSON;
|
|
123
|
+
exports.messagesContentFromJSON = messagesContentFromJSON;
|
|
124
|
+
exports.messages3ToJSON = messages3ToJSON;
|
|
125
|
+
exports.messages3FromJSON = messages3FromJSON;
|
|
126
|
+
exports.messages2ToJSON = messages2ToJSON;
|
|
127
|
+
exports.messages2FromJSON = messages2FromJSON;
|
|
128
|
+
exports.messages1ToJSON = messages1ToJSON;
|
|
129
|
+
exports.messages1FromJSON = messages1FromJSON;
|
|
75
130
|
exports.messagesToJSON = messagesToJSON;
|
|
76
131
|
exports.messagesFromJSON = messagesFromJSON;
|
|
77
132
|
exports.metadataToJSON = metadataToJSON;
|
|
@@ -84,18 +139,18 @@ exports.deploymentGetConfigRequestBodyToJSON = deploymentGetConfigRequestBodyToJ
|
|
|
84
139
|
exports.deploymentGetConfigRequestBodyFromJSON = deploymentGetConfigRequestBodyFromJSON;
|
|
85
140
|
exports.deploymentGetConfig2ImageUrlToJSON = deploymentGetConfig2ImageUrlToJSON;
|
|
86
141
|
exports.deploymentGetConfig2ImageUrlFromJSON = deploymentGetConfig2ImageUrlFromJSON;
|
|
87
|
-
exports.
|
|
88
|
-
exports.
|
|
89
|
-
exports.
|
|
90
|
-
exports.
|
|
91
|
-
exports.
|
|
92
|
-
exports.
|
|
93
|
-
exports.
|
|
94
|
-
exports.
|
|
95
|
-
exports.
|
|
96
|
-
exports.
|
|
97
|
-
exports.
|
|
98
|
-
exports.
|
|
142
|
+
exports.deploymentGetConfig2DeploymentsResponse2ToJSON = deploymentGetConfig2DeploymentsResponse2ToJSON;
|
|
143
|
+
exports.deploymentGetConfig2DeploymentsResponse2FromJSON = deploymentGetConfig2DeploymentsResponse2FromJSON;
|
|
144
|
+
exports.deploymentGetConfig2DeploymentsResponse1ToJSON = deploymentGetConfig2DeploymentsResponse1ToJSON;
|
|
145
|
+
exports.deploymentGetConfig2DeploymentsResponse1FromJSON = deploymentGetConfig2DeploymentsResponse1FromJSON;
|
|
146
|
+
exports.deploymentGetConfigContentDeploymentsResponse2ToJSON = deploymentGetConfigContentDeploymentsResponse2ToJSON;
|
|
147
|
+
exports.deploymentGetConfigContentDeploymentsResponse2FromJSON = deploymentGetConfigContentDeploymentsResponse2FromJSON;
|
|
148
|
+
exports.deploymentGetConfigContentToJSON = deploymentGetConfigContentToJSON;
|
|
149
|
+
exports.deploymentGetConfigContentFromJSON = deploymentGetConfigContentFromJSON;
|
|
150
|
+
exports.deploymentGetConfigDeploymentsFunctionToJSON = deploymentGetConfigDeploymentsFunctionToJSON;
|
|
151
|
+
exports.deploymentGetConfigDeploymentsFunctionFromJSON = deploymentGetConfigDeploymentsFunctionFromJSON;
|
|
152
|
+
exports.deploymentGetConfigToolCallsToJSON = deploymentGetConfigToolCallsToJSON;
|
|
153
|
+
exports.deploymentGetConfigToolCallsFromJSON = deploymentGetConfigToolCallsFromJSON;
|
|
99
154
|
exports.deploymentGetConfigMessagesToJSON = deploymentGetConfigMessagesToJSON;
|
|
100
155
|
exports.deploymentGetConfigMessagesFromJSON = deploymentGetConfigMessagesFromJSON;
|
|
101
156
|
exports.deploymentGetConfigResponseFormat2ToJSON = deploymentGetConfigResponseFormat2ToJSON;
|
|
@@ -108,8 +163,8 @@ exports.deploymentGetConfigResponseFormatToJSON = deploymentGetConfigResponseFor
|
|
|
108
163
|
exports.deploymentGetConfigResponseFormatFromJSON = deploymentGetConfigResponseFormatFromJSON;
|
|
109
164
|
exports.parametersToJSON = parametersToJSON;
|
|
110
165
|
exports.parametersFromJSON = parametersFromJSON;
|
|
111
|
-
exports.
|
|
112
|
-
exports.
|
|
166
|
+
exports.deploymentGetConfigFunctionToJSON = deploymentGetConfigFunctionToJSON;
|
|
167
|
+
exports.deploymentGetConfigFunctionFromJSON = deploymentGetConfigFunctionFromJSON;
|
|
113
168
|
exports.toolsToJSON = toolsToJSON;
|
|
114
169
|
exports.toolsFromJSON = toolsFromJSON;
|
|
115
170
|
exports.deploymentGetConfigResponseBodyToJSON = deploymentGetConfigResponseBodyToJSON;
|
|
@@ -118,53 +173,153 @@ const z = __importStar(require("zod"));
|
|
|
118
173
|
const primitives_js_1 = require("../../lib/primitives.js");
|
|
119
174
|
const schemas_js_1 = require("../../lib/schemas.js");
|
|
120
175
|
/**
|
|
121
|
-
* The role of the
|
|
176
|
+
* The role of the messages author, in this case tool.
|
|
122
177
|
*/
|
|
123
|
-
exports.
|
|
124
|
-
|
|
178
|
+
exports.DeploymentGetConfigPrefixMessagesDeploymentsRequestRole = {
|
|
179
|
+
Tool: "tool",
|
|
180
|
+
};
|
|
181
|
+
/**
|
|
182
|
+
* The type of the content part.
|
|
183
|
+
*/
|
|
184
|
+
exports.DeploymentGetConfig2DeploymentsRequestType = {
|
|
185
|
+
Refusal: "refusal",
|
|
186
|
+
};
|
|
187
|
+
/**
|
|
188
|
+
* The type of the content part.
|
|
189
|
+
*/
|
|
190
|
+
exports.DeploymentGetConfig2DeploymentsType = {
|
|
191
|
+
Text: "text",
|
|
192
|
+
};
|
|
193
|
+
/**
|
|
194
|
+
* The role of the messages author, in this case `assistant`.
|
|
195
|
+
*/
|
|
196
|
+
exports.DeploymentGetConfigPrefixMessagesDeploymentsRole = {
|
|
125
197
|
Assistant: "assistant",
|
|
198
|
+
};
|
|
199
|
+
/**
|
|
200
|
+
* The type of the tool. Currently, only `5` is supported.
|
|
201
|
+
*/
|
|
202
|
+
exports.PrefixMessagesType = {
|
|
203
|
+
Function: "function",
|
|
204
|
+
};
|
|
205
|
+
/**
|
|
206
|
+
* The role of the messages author, in this case `user`.
|
|
207
|
+
*/
|
|
208
|
+
exports.DeploymentGetConfigPrefixMessagesRole = {
|
|
126
209
|
User: "user",
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
210
|
+
};
|
|
211
|
+
exports.DeploymentGetConfig2Type = {
|
|
212
|
+
InputAudio: "input_audio",
|
|
213
|
+
};
|
|
214
|
+
/**
|
|
215
|
+
* The format of the encoded audio data. Currently supports `wav` and `mp3`.
|
|
216
|
+
*/
|
|
217
|
+
exports.Format = {
|
|
218
|
+
Mp3: "mp3",
|
|
219
|
+
Wav: "wav",
|
|
132
220
|
};
|
|
133
221
|
exports.TwoType = {
|
|
134
222
|
ImageUrl: "image_url",
|
|
135
223
|
};
|
|
224
|
+
/**
|
|
225
|
+
* Specifies the detail level of the image.
|
|
226
|
+
*/
|
|
227
|
+
exports.Detail = {
|
|
228
|
+
Low: "low",
|
|
229
|
+
High: "high",
|
|
230
|
+
Auto: "auto",
|
|
231
|
+
};
|
|
136
232
|
exports.Type = {
|
|
137
233
|
Text: "text",
|
|
138
234
|
};
|
|
139
|
-
exports.DeploymentGetConfigType = {
|
|
140
|
-
Function: "function",
|
|
141
|
-
};
|
|
142
235
|
/**
|
|
143
|
-
* The role of the
|
|
236
|
+
* The role of the messages author, in this case `system`.
|
|
144
237
|
*/
|
|
145
|
-
exports.
|
|
238
|
+
exports.PrefixMessagesRole = {
|
|
146
239
|
System: "system",
|
|
240
|
+
};
|
|
241
|
+
/**
|
|
242
|
+
* The role of the messages author, in this case `developer`.
|
|
243
|
+
*/
|
|
244
|
+
exports.Role = {
|
|
245
|
+
Developer: "developer",
|
|
246
|
+
};
|
|
247
|
+
/**
|
|
248
|
+
* The role of the messages author, in this case tool.
|
|
249
|
+
*/
|
|
250
|
+
exports.DeploymentGetConfigMessagesDeploymentsRequestRequestBodyRole = {
|
|
251
|
+
Tool: "tool",
|
|
252
|
+
};
|
|
253
|
+
/**
|
|
254
|
+
* The type of the content part.
|
|
255
|
+
*/
|
|
256
|
+
exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4ContentType = {
|
|
257
|
+
Refusal: "refusal",
|
|
258
|
+
};
|
|
259
|
+
/**
|
|
260
|
+
* The type of the content part.
|
|
261
|
+
*/
|
|
262
|
+
exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4Type = {
|
|
263
|
+
Text: "text",
|
|
264
|
+
};
|
|
265
|
+
/**
|
|
266
|
+
* The role of the messages author, in this case `assistant`.
|
|
267
|
+
*/
|
|
268
|
+
exports.DeploymentGetConfigMessagesDeploymentsRequestRole = {
|
|
147
269
|
Assistant: "assistant",
|
|
270
|
+
};
|
|
271
|
+
/**
|
|
272
|
+
* The type of the tool. Currently, only `5` is supported.
|
|
273
|
+
*/
|
|
274
|
+
exports.MessagesType = {
|
|
275
|
+
Function: "function",
|
|
276
|
+
};
|
|
277
|
+
/**
|
|
278
|
+
* The role of the messages author, in this case `user`.
|
|
279
|
+
*/
|
|
280
|
+
exports.DeploymentGetConfigMessagesDeploymentsRole = {
|
|
148
281
|
User: "user",
|
|
149
|
-
Exception: "exception",
|
|
150
|
-
Tool: "tool",
|
|
151
|
-
Prompt: "prompt",
|
|
152
|
-
Correction: "correction",
|
|
153
|
-
ExpectedOutput: "expected_output",
|
|
154
282
|
};
|
|
155
|
-
exports.
|
|
283
|
+
exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages3Type = {
|
|
284
|
+
InputAudio: "input_audio",
|
|
285
|
+
};
|
|
286
|
+
/**
|
|
287
|
+
* The format of the encoded audio data. Currently supports `wav` and `mp3`.
|
|
288
|
+
*/
|
|
289
|
+
exports.TwoFormat = {
|
|
290
|
+
Mp3: "mp3",
|
|
291
|
+
Wav: "wav",
|
|
292
|
+
};
|
|
293
|
+
exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessagesType = {
|
|
156
294
|
ImageUrl: "image_url",
|
|
157
295
|
};
|
|
158
|
-
|
|
296
|
+
/**
|
|
297
|
+
* Specifies the detail level of the image.
|
|
298
|
+
*/
|
|
299
|
+
exports.TwoDetail = {
|
|
300
|
+
Low: "low",
|
|
301
|
+
High: "high",
|
|
302
|
+
Auto: "auto",
|
|
303
|
+
};
|
|
304
|
+
exports.DeploymentGetConfig2DeploymentsRequestRequestBodyType = {
|
|
159
305
|
Text: "text",
|
|
160
306
|
};
|
|
161
|
-
|
|
162
|
-
|
|
307
|
+
/**
|
|
308
|
+
* The role of the messages author, in this case `system`.
|
|
309
|
+
*/
|
|
310
|
+
exports.DeploymentGetConfigMessagesRole = {
|
|
311
|
+
System: "system",
|
|
312
|
+
};
|
|
313
|
+
/**
|
|
314
|
+
* The role of the messages author, in this case `developer`.
|
|
315
|
+
*/
|
|
316
|
+
exports.MessagesRole = {
|
|
317
|
+
Developer: "developer",
|
|
163
318
|
};
|
|
164
319
|
/**
|
|
165
320
|
* The type of the model. Current `chat`,`completion` and `image` are supported
|
|
166
321
|
*/
|
|
167
|
-
exports.
|
|
322
|
+
exports.DeploymentGetConfigType = {
|
|
168
323
|
Chat: "chat",
|
|
169
324
|
Completion: "completion",
|
|
170
325
|
Embedding: "embedding",
|
|
@@ -178,7 +333,7 @@ exports.DeploymentGetConfigDeploymentsResponseType = {
|
|
|
178
333
|
/**
|
|
179
334
|
* The role of the prompt message
|
|
180
335
|
*/
|
|
181
|
-
exports.
|
|
336
|
+
exports.DeploymentGetConfigRole = {
|
|
182
337
|
System: "system",
|
|
183
338
|
Assistant: "assistant",
|
|
184
339
|
User: "user",
|
|
@@ -194,7 +349,7 @@ exports.DeploymentGetConfig2DeploymentsResponse200Type = {
|
|
|
194
349
|
exports.DeploymentGetConfig2DeploymentsResponseType = {
|
|
195
350
|
Text: "text",
|
|
196
351
|
};
|
|
197
|
-
exports.
|
|
352
|
+
exports.DeploymentGetConfigDeploymentsResponseType = {
|
|
198
353
|
Function: "function",
|
|
199
354
|
};
|
|
200
355
|
/**
|
|
@@ -244,7 +399,7 @@ exports.DeploymentGetConfigReasoningEffort = {
|
|
|
244
399
|
/**
|
|
245
400
|
* The type of the tool. Currently, only `function` is supported.
|
|
246
401
|
*/
|
|
247
|
-
exports.
|
|
402
|
+
exports.DeploymentGetConfigDeploymentsType = {
|
|
248
403
|
Function: "function",
|
|
249
404
|
};
|
|
250
405
|
/** @internal */
|
|
@@ -270,222 +425,290 @@ function inputsFromJSON(jsonString) {
|
|
|
270
425
|
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.Inputs$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Inputs' from JSON`);
|
|
271
426
|
}
|
|
272
427
|
/** @internal */
|
|
273
|
-
exports.
|
|
274
|
-
/** @internal */
|
|
275
|
-
exports.Role$outboundSchema = exports.Role$inboundSchema;
|
|
276
|
-
/**
|
|
277
|
-
* @internal
|
|
278
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
279
|
-
*/
|
|
280
|
-
var Role$;
|
|
281
|
-
(function (Role$) {
|
|
282
|
-
/** @deprecated use `Role$inboundSchema` instead. */
|
|
283
|
-
Role$.inboundSchema = exports.Role$inboundSchema;
|
|
284
|
-
/** @deprecated use `Role$outboundSchema` instead. */
|
|
285
|
-
Role$.outboundSchema = exports.Role$outboundSchema;
|
|
286
|
-
})(Role$ || (exports.Role$ = Role$ = {}));
|
|
287
|
-
/** @internal */
|
|
288
|
-
exports.TwoType$inboundSchema = z
|
|
289
|
-
.nativeEnum(exports.TwoType);
|
|
428
|
+
exports.DeploymentGetConfigPrefixMessagesDeploymentsRequestRole$inboundSchema = z.nativeEnum(exports.DeploymentGetConfigPrefixMessagesDeploymentsRequestRole);
|
|
290
429
|
/** @internal */
|
|
291
|
-
exports.
|
|
430
|
+
exports.DeploymentGetConfigPrefixMessagesDeploymentsRequestRole$outboundSchema = exports.DeploymentGetConfigPrefixMessagesDeploymentsRequestRole$inboundSchema;
|
|
292
431
|
/**
|
|
293
432
|
* @internal
|
|
294
433
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
295
434
|
*/
|
|
296
|
-
var
|
|
297
|
-
(function (
|
|
298
|
-
/** @deprecated use `
|
|
299
|
-
|
|
300
|
-
/** @deprecated use `
|
|
301
|
-
|
|
302
|
-
})(
|
|
435
|
+
var DeploymentGetConfigPrefixMessagesDeploymentsRequestRole$;
|
|
436
|
+
(function (DeploymentGetConfigPrefixMessagesDeploymentsRequestRole$) {
|
|
437
|
+
/** @deprecated use `DeploymentGetConfigPrefixMessagesDeploymentsRequestRole$inboundSchema` instead. */
|
|
438
|
+
DeploymentGetConfigPrefixMessagesDeploymentsRequestRole$.inboundSchema = exports.DeploymentGetConfigPrefixMessagesDeploymentsRequestRole$inboundSchema;
|
|
439
|
+
/** @deprecated use `DeploymentGetConfigPrefixMessagesDeploymentsRequestRole$outboundSchema` instead. */
|
|
440
|
+
DeploymentGetConfigPrefixMessagesDeploymentsRequestRole$.outboundSchema = exports.DeploymentGetConfigPrefixMessagesDeploymentsRequestRole$outboundSchema;
|
|
441
|
+
})(DeploymentGetConfigPrefixMessagesDeploymentsRequestRole$ || (exports.DeploymentGetConfigPrefixMessagesDeploymentsRequestRole$ = DeploymentGetConfigPrefixMessagesDeploymentsRequestRole$ = {}));
|
|
303
442
|
/** @internal */
|
|
304
|
-
exports.
|
|
305
|
-
url: z.string(),
|
|
306
|
-
detail: z.string().optional(),
|
|
307
|
-
});
|
|
443
|
+
exports.DeploymentGetConfigPrefixMessagesContent$inboundSchema = z.union([z.string(), z.array(z.string())]);
|
|
308
444
|
/** @internal */
|
|
309
|
-
exports.
|
|
310
|
-
url: z.string(),
|
|
311
|
-
detail: z.string().optional(),
|
|
312
|
-
});
|
|
445
|
+
exports.DeploymentGetConfigPrefixMessagesContent$outboundSchema = z.union([z.string(), z.array(z.string())]);
|
|
313
446
|
/**
|
|
314
447
|
* @internal
|
|
315
448
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
316
449
|
*/
|
|
317
|
-
var
|
|
318
|
-
(function (
|
|
319
|
-
/** @deprecated use `
|
|
320
|
-
|
|
321
|
-
/** @deprecated use `
|
|
322
|
-
|
|
323
|
-
})(
|
|
324
|
-
function
|
|
325
|
-
return JSON.stringify(exports.
|
|
450
|
+
var DeploymentGetConfigPrefixMessagesContent$;
|
|
451
|
+
(function (DeploymentGetConfigPrefixMessagesContent$) {
|
|
452
|
+
/** @deprecated use `DeploymentGetConfigPrefixMessagesContent$inboundSchema` instead. */
|
|
453
|
+
DeploymentGetConfigPrefixMessagesContent$.inboundSchema = exports.DeploymentGetConfigPrefixMessagesContent$inboundSchema;
|
|
454
|
+
/** @deprecated use `DeploymentGetConfigPrefixMessagesContent$outboundSchema` instead. */
|
|
455
|
+
DeploymentGetConfigPrefixMessagesContent$.outboundSchema = exports.DeploymentGetConfigPrefixMessagesContent$outboundSchema;
|
|
456
|
+
})(DeploymentGetConfigPrefixMessagesContent$ || (exports.DeploymentGetConfigPrefixMessagesContent$ = DeploymentGetConfigPrefixMessagesContent$ = {}));
|
|
457
|
+
function deploymentGetConfigPrefixMessagesContentToJSON(deploymentGetConfigPrefixMessagesContent) {
|
|
458
|
+
return JSON.stringify(exports.DeploymentGetConfigPrefixMessagesContent$outboundSchema.parse(deploymentGetConfigPrefixMessagesContent));
|
|
326
459
|
}
|
|
327
|
-
function
|
|
328
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.
|
|
460
|
+
function deploymentGetConfigPrefixMessagesContentFromJSON(jsonString) {
|
|
461
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DeploymentGetConfigPrefixMessagesContent$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentGetConfigPrefixMessagesContent' from JSON`);
|
|
329
462
|
}
|
|
330
463
|
/** @internal */
|
|
331
|
-
exports.
|
|
464
|
+
exports.Five$inboundSchema = z
|
|
332
465
|
.object({
|
|
333
|
-
|
|
334
|
-
|
|
466
|
+
role: exports.DeploymentGetConfigPrefixMessagesDeploymentsRequestRole$inboundSchema,
|
|
467
|
+
content: z.union([z.string(), z.array(z.string())]),
|
|
468
|
+
tool_call_id: z.string(),
|
|
335
469
|
}).transform((v) => {
|
|
336
470
|
return (0, primitives_js_1.remap)(v, {
|
|
337
|
-
"
|
|
471
|
+
"tool_call_id": "toolCallId",
|
|
338
472
|
});
|
|
339
473
|
});
|
|
340
474
|
/** @internal */
|
|
341
|
-
exports.
|
|
342
|
-
|
|
343
|
-
|
|
475
|
+
exports.Five$outboundSchema = z.object({
|
|
476
|
+
role: exports.DeploymentGetConfigPrefixMessagesDeploymentsRequestRole$outboundSchema,
|
|
477
|
+
content: z.union([z.string(), z.array(z.string())]),
|
|
478
|
+
toolCallId: z.string(),
|
|
344
479
|
}).transform((v) => {
|
|
345
480
|
return (0, primitives_js_1.remap)(v, {
|
|
346
|
-
|
|
481
|
+
toolCallId: "tool_call_id",
|
|
347
482
|
});
|
|
348
483
|
});
|
|
349
484
|
/**
|
|
350
485
|
* @internal
|
|
351
486
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
352
487
|
*/
|
|
353
|
-
var
|
|
354
|
-
(function (
|
|
355
|
-
/** @deprecated use `
|
|
356
|
-
|
|
357
|
-
/** @deprecated use `
|
|
358
|
-
|
|
359
|
-
})(
|
|
360
|
-
function
|
|
361
|
-
return JSON.stringify(exports.
|
|
488
|
+
var Five$;
|
|
489
|
+
(function (Five$) {
|
|
490
|
+
/** @deprecated use `Five$inboundSchema` instead. */
|
|
491
|
+
Five$.inboundSchema = exports.Five$inboundSchema;
|
|
492
|
+
/** @deprecated use `Five$outboundSchema` instead. */
|
|
493
|
+
Five$.outboundSchema = exports.Five$outboundSchema;
|
|
494
|
+
})(Five$ || (exports.Five$ = Five$ = {}));
|
|
495
|
+
function fiveToJSON(five) {
|
|
496
|
+
return JSON.stringify(exports.Five$outboundSchema.parse(five));
|
|
362
497
|
}
|
|
363
|
-
function
|
|
364
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.
|
|
498
|
+
function fiveFromJSON(jsonString) {
|
|
499
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.Five$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Five' from JSON`);
|
|
365
500
|
}
|
|
366
501
|
/** @internal */
|
|
367
|
-
exports.
|
|
502
|
+
exports.DeploymentGetConfig2DeploymentsRequestType$inboundSchema = z
|
|
503
|
+
.nativeEnum(exports.DeploymentGetConfig2DeploymentsRequestType);
|
|
368
504
|
/** @internal */
|
|
369
|
-
exports.
|
|
505
|
+
exports.DeploymentGetConfig2DeploymentsRequestType$outboundSchema = exports.DeploymentGetConfig2DeploymentsRequestType$inboundSchema;
|
|
370
506
|
/**
|
|
371
507
|
* @internal
|
|
372
508
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
373
509
|
*/
|
|
374
|
-
var
|
|
375
|
-
(function (
|
|
376
|
-
/** @deprecated use `
|
|
377
|
-
|
|
378
|
-
/** @deprecated use `
|
|
379
|
-
|
|
380
|
-
})(
|
|
510
|
+
var DeploymentGetConfig2DeploymentsRequestType$;
|
|
511
|
+
(function (DeploymentGetConfig2DeploymentsRequestType$) {
|
|
512
|
+
/** @deprecated use `DeploymentGetConfig2DeploymentsRequestType$inboundSchema` instead. */
|
|
513
|
+
DeploymentGetConfig2DeploymentsRequestType$.inboundSchema = exports.DeploymentGetConfig2DeploymentsRequestType$inboundSchema;
|
|
514
|
+
/** @deprecated use `DeploymentGetConfig2DeploymentsRequestType$outboundSchema` instead. */
|
|
515
|
+
DeploymentGetConfig2DeploymentsRequestType$.outboundSchema = exports.DeploymentGetConfig2DeploymentsRequestType$outboundSchema;
|
|
516
|
+
})(DeploymentGetConfig2DeploymentsRequestType$ || (exports.DeploymentGetConfig2DeploymentsRequestType$ = DeploymentGetConfig2DeploymentsRequestType$ = {}));
|
|
381
517
|
/** @internal */
|
|
382
|
-
exports.
|
|
383
|
-
.
|
|
384
|
-
|
|
385
|
-
text: z.string(),
|
|
518
|
+
exports.DeploymentGetConfig22$inboundSchema = z.object({
|
|
519
|
+
type: exports.DeploymentGetConfig2DeploymentsRequestType$inboundSchema,
|
|
520
|
+
refusal: z.string(),
|
|
386
521
|
});
|
|
387
522
|
/** @internal */
|
|
388
|
-
exports.
|
|
389
|
-
.
|
|
390
|
-
|
|
391
|
-
text: z.string(),
|
|
523
|
+
exports.DeploymentGetConfig22$outboundSchema = z.object({
|
|
524
|
+
type: exports.DeploymentGetConfig2DeploymentsRequestType$outboundSchema,
|
|
525
|
+
refusal: z.string(),
|
|
392
526
|
});
|
|
393
527
|
/**
|
|
394
528
|
* @internal
|
|
395
529
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
396
530
|
*/
|
|
397
|
-
var
|
|
398
|
-
(function (
|
|
399
|
-
/** @deprecated use `
|
|
400
|
-
|
|
401
|
-
/** @deprecated use `
|
|
402
|
-
|
|
403
|
-
})(
|
|
404
|
-
function
|
|
405
|
-
return JSON.stringify(exports.
|
|
531
|
+
var DeploymentGetConfig22$;
|
|
532
|
+
(function (DeploymentGetConfig22$) {
|
|
533
|
+
/** @deprecated use `DeploymentGetConfig22$inboundSchema` instead. */
|
|
534
|
+
DeploymentGetConfig22$.inboundSchema = exports.DeploymentGetConfig22$inboundSchema;
|
|
535
|
+
/** @deprecated use `DeploymentGetConfig22$outboundSchema` instead. */
|
|
536
|
+
DeploymentGetConfig22$.outboundSchema = exports.DeploymentGetConfig22$outboundSchema;
|
|
537
|
+
})(DeploymentGetConfig22$ || (exports.DeploymentGetConfig22$ = DeploymentGetConfig22$ = {}));
|
|
538
|
+
function deploymentGetConfig22ToJSON(deploymentGetConfig22) {
|
|
539
|
+
return JSON.stringify(exports.DeploymentGetConfig22$outboundSchema.parse(deploymentGetConfig22));
|
|
406
540
|
}
|
|
407
|
-
function
|
|
408
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.
|
|
541
|
+
function deploymentGetConfig22FromJSON(jsonString) {
|
|
542
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DeploymentGetConfig22$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentGetConfig22' from JSON`);
|
|
409
543
|
}
|
|
410
544
|
/** @internal */
|
|
411
|
-
exports.
|
|
545
|
+
exports.DeploymentGetConfig2DeploymentsType$inboundSchema = z.nativeEnum(exports.DeploymentGetConfig2DeploymentsType);
|
|
412
546
|
/** @internal */
|
|
413
|
-
exports.
|
|
414
|
-
.union([z.lazy(() => exports.One$outboundSchema), z.lazy(() => exports.Two2$outboundSchema)]);
|
|
547
|
+
exports.DeploymentGetConfig2DeploymentsType$outboundSchema = exports.DeploymentGetConfig2DeploymentsType$inboundSchema;
|
|
415
548
|
/**
|
|
416
549
|
* @internal
|
|
417
550
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
418
551
|
*/
|
|
419
|
-
var
|
|
420
|
-
(function (
|
|
421
|
-
/** @deprecated use `
|
|
422
|
-
|
|
423
|
-
/** @deprecated use `
|
|
424
|
-
|
|
425
|
-
})(
|
|
426
|
-
|
|
427
|
-
|
|
552
|
+
var DeploymentGetConfig2DeploymentsType$;
|
|
553
|
+
(function (DeploymentGetConfig2DeploymentsType$) {
|
|
554
|
+
/** @deprecated use `DeploymentGetConfig2DeploymentsType$inboundSchema` instead. */
|
|
555
|
+
DeploymentGetConfig2DeploymentsType$.inboundSchema = exports.DeploymentGetConfig2DeploymentsType$inboundSchema;
|
|
556
|
+
/** @deprecated use `DeploymentGetConfig2DeploymentsType$outboundSchema` instead. */
|
|
557
|
+
DeploymentGetConfig2DeploymentsType$.outboundSchema = exports.DeploymentGetConfig2DeploymentsType$outboundSchema;
|
|
558
|
+
})(DeploymentGetConfig2DeploymentsType$ || (exports.DeploymentGetConfig2DeploymentsType$ = DeploymentGetConfig2DeploymentsType$ = {}));
|
|
559
|
+
/** @internal */
|
|
560
|
+
exports.DeploymentGetConfig21$inboundSchema = z.object({
|
|
561
|
+
type: exports.DeploymentGetConfig2DeploymentsType$inboundSchema,
|
|
562
|
+
text: z.string(),
|
|
563
|
+
});
|
|
564
|
+
/** @internal */
|
|
565
|
+
exports.DeploymentGetConfig21$outboundSchema = z.object({
|
|
566
|
+
type: exports.DeploymentGetConfig2DeploymentsType$outboundSchema,
|
|
567
|
+
text: z.string(),
|
|
568
|
+
});
|
|
569
|
+
/**
|
|
570
|
+
* @internal
|
|
571
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
572
|
+
*/
|
|
573
|
+
var DeploymentGetConfig21$;
|
|
574
|
+
(function (DeploymentGetConfig21$) {
|
|
575
|
+
/** @deprecated use `DeploymentGetConfig21$inboundSchema` instead. */
|
|
576
|
+
DeploymentGetConfig21$.inboundSchema = exports.DeploymentGetConfig21$inboundSchema;
|
|
577
|
+
/** @deprecated use `DeploymentGetConfig21$outboundSchema` instead. */
|
|
578
|
+
DeploymentGetConfig21$.outboundSchema = exports.DeploymentGetConfig21$outboundSchema;
|
|
579
|
+
})(DeploymentGetConfig21$ || (exports.DeploymentGetConfig21$ = DeploymentGetConfig21$ = {}));
|
|
580
|
+
function deploymentGetConfig21ToJSON(deploymentGetConfig21) {
|
|
581
|
+
return JSON.stringify(exports.DeploymentGetConfig21$outboundSchema.parse(deploymentGetConfig21));
|
|
428
582
|
}
|
|
429
|
-
function
|
|
430
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.
|
|
583
|
+
function deploymentGetConfig21FromJSON(jsonString) {
|
|
584
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DeploymentGetConfig21$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentGetConfig21' from JSON`);
|
|
431
585
|
}
|
|
432
586
|
/** @internal */
|
|
433
|
-
exports.
|
|
587
|
+
exports.DeploymentGetConfigContent2$inboundSchema = z.union([
|
|
588
|
+
z.lazy(() => exports.DeploymentGetConfig21$inboundSchema),
|
|
589
|
+
z.lazy(() => exports.DeploymentGetConfig22$inboundSchema),
|
|
590
|
+
]);
|
|
591
|
+
/** @internal */
|
|
592
|
+
exports.DeploymentGetConfigContent2$outboundSchema = z.union([
|
|
593
|
+
z.lazy(() => exports.DeploymentGetConfig21$outboundSchema),
|
|
594
|
+
z.lazy(() => exports.DeploymentGetConfig22$outboundSchema),
|
|
595
|
+
]);
|
|
596
|
+
/**
|
|
597
|
+
* @internal
|
|
598
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
599
|
+
*/
|
|
600
|
+
var DeploymentGetConfigContent2$;
|
|
601
|
+
(function (DeploymentGetConfigContent2$) {
|
|
602
|
+
/** @deprecated use `DeploymentGetConfigContent2$inboundSchema` instead. */
|
|
603
|
+
DeploymentGetConfigContent2$.inboundSchema = exports.DeploymentGetConfigContent2$inboundSchema;
|
|
604
|
+
/** @deprecated use `DeploymentGetConfigContent2$outboundSchema` instead. */
|
|
605
|
+
DeploymentGetConfigContent2$.outboundSchema = exports.DeploymentGetConfigContent2$outboundSchema;
|
|
606
|
+
})(DeploymentGetConfigContent2$ || (exports.DeploymentGetConfigContent2$ = DeploymentGetConfigContent2$ = {}));
|
|
607
|
+
function deploymentGetConfigContent2ToJSON(deploymentGetConfigContent2) {
|
|
608
|
+
return JSON.stringify(exports.DeploymentGetConfigContent2$outboundSchema.parse(deploymentGetConfigContent2));
|
|
609
|
+
}
|
|
610
|
+
function deploymentGetConfigContent2FromJSON(jsonString) {
|
|
611
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DeploymentGetConfigContent2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentGetConfigContent2' from JSON`);
|
|
612
|
+
}
|
|
613
|
+
/** @internal */
|
|
614
|
+
exports.PrefixMessagesContent$inboundSchema = z.union([
|
|
434
615
|
z.string(),
|
|
435
616
|
z.array(z.union([
|
|
436
|
-
z.lazy(() => exports.
|
|
437
|
-
z.lazy(() => exports.
|
|
617
|
+
z.lazy(() => exports.DeploymentGetConfig21$inboundSchema),
|
|
618
|
+
z.lazy(() => exports.DeploymentGetConfig22$inboundSchema),
|
|
438
619
|
])),
|
|
439
620
|
]);
|
|
440
621
|
/** @internal */
|
|
441
|
-
exports.
|
|
622
|
+
exports.PrefixMessagesContent$outboundSchema = z.union([
|
|
442
623
|
z.string(),
|
|
443
624
|
z.array(z.union([
|
|
444
|
-
z.lazy(() => exports.
|
|
445
|
-
z.lazy(() => exports.
|
|
625
|
+
z.lazy(() => exports.DeploymentGetConfig21$outboundSchema),
|
|
626
|
+
z.lazy(() => exports.DeploymentGetConfig22$outboundSchema),
|
|
446
627
|
])),
|
|
447
628
|
]);
|
|
448
629
|
/**
|
|
449
630
|
* @internal
|
|
450
631
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
451
632
|
*/
|
|
452
|
-
var
|
|
453
|
-
(function (
|
|
454
|
-
/** @deprecated use `
|
|
455
|
-
|
|
456
|
-
/** @deprecated use `
|
|
457
|
-
|
|
458
|
-
})(
|
|
459
|
-
function
|
|
460
|
-
return JSON.stringify(exports.
|
|
633
|
+
var PrefixMessagesContent$;
|
|
634
|
+
(function (PrefixMessagesContent$) {
|
|
635
|
+
/** @deprecated use `PrefixMessagesContent$inboundSchema` instead. */
|
|
636
|
+
PrefixMessagesContent$.inboundSchema = exports.PrefixMessagesContent$inboundSchema;
|
|
637
|
+
/** @deprecated use `PrefixMessagesContent$outboundSchema` instead. */
|
|
638
|
+
PrefixMessagesContent$.outboundSchema = exports.PrefixMessagesContent$outboundSchema;
|
|
639
|
+
})(PrefixMessagesContent$ || (exports.PrefixMessagesContent$ = PrefixMessagesContent$ = {}));
|
|
640
|
+
function prefixMessagesContentToJSON(prefixMessagesContent) {
|
|
641
|
+
return JSON.stringify(exports.PrefixMessagesContent$outboundSchema.parse(prefixMessagesContent));
|
|
461
642
|
}
|
|
462
|
-
function
|
|
463
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.
|
|
643
|
+
function prefixMessagesContentFromJSON(jsonString) {
|
|
644
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.PrefixMessagesContent$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PrefixMessagesContent' from JSON`);
|
|
464
645
|
}
|
|
465
646
|
/** @internal */
|
|
466
|
-
exports.
|
|
647
|
+
exports.DeploymentGetConfigPrefixMessagesDeploymentsRole$inboundSchema = z
|
|
648
|
+
.nativeEnum(exports.DeploymentGetConfigPrefixMessagesDeploymentsRole);
|
|
467
649
|
/** @internal */
|
|
468
|
-
exports.
|
|
650
|
+
exports.DeploymentGetConfigPrefixMessagesDeploymentsRole$outboundSchema = exports.DeploymentGetConfigPrefixMessagesDeploymentsRole$inboundSchema;
|
|
469
651
|
/**
|
|
470
652
|
* @internal
|
|
471
653
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
472
654
|
*/
|
|
473
|
-
var
|
|
474
|
-
(function (
|
|
475
|
-
/** @deprecated use `
|
|
476
|
-
|
|
477
|
-
/** @deprecated use `
|
|
478
|
-
|
|
479
|
-
})(
|
|
655
|
+
var DeploymentGetConfigPrefixMessagesDeploymentsRole$;
|
|
656
|
+
(function (DeploymentGetConfigPrefixMessagesDeploymentsRole$) {
|
|
657
|
+
/** @deprecated use `DeploymentGetConfigPrefixMessagesDeploymentsRole$inboundSchema` instead. */
|
|
658
|
+
DeploymentGetConfigPrefixMessagesDeploymentsRole$.inboundSchema = exports.DeploymentGetConfigPrefixMessagesDeploymentsRole$inboundSchema;
|
|
659
|
+
/** @deprecated use `DeploymentGetConfigPrefixMessagesDeploymentsRole$outboundSchema` instead. */
|
|
660
|
+
DeploymentGetConfigPrefixMessagesDeploymentsRole$.outboundSchema = exports.DeploymentGetConfigPrefixMessagesDeploymentsRole$outboundSchema;
|
|
661
|
+
})(DeploymentGetConfigPrefixMessagesDeploymentsRole$ || (exports.DeploymentGetConfigPrefixMessagesDeploymentsRole$ = DeploymentGetConfigPrefixMessagesDeploymentsRole$ = {}));
|
|
662
|
+
/** @internal */
|
|
663
|
+
exports.Audio$inboundSchema = z
|
|
664
|
+
.object({
|
|
665
|
+
id: z.string(),
|
|
666
|
+
});
|
|
667
|
+
/** @internal */
|
|
668
|
+
exports.Audio$outboundSchema = z.object({
|
|
669
|
+
id: z.string(),
|
|
670
|
+
});
|
|
671
|
+
/**
|
|
672
|
+
* @internal
|
|
673
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
674
|
+
*/
|
|
675
|
+
var Audio$;
|
|
676
|
+
(function (Audio$) {
|
|
677
|
+
/** @deprecated use `Audio$inboundSchema` instead. */
|
|
678
|
+
Audio$.inboundSchema = exports.Audio$inboundSchema;
|
|
679
|
+
/** @deprecated use `Audio$outboundSchema` instead. */
|
|
680
|
+
Audio$.outboundSchema = exports.Audio$outboundSchema;
|
|
681
|
+
})(Audio$ || (exports.Audio$ = Audio$ = {}));
|
|
682
|
+
function audioToJSON(audio) {
|
|
683
|
+
return JSON.stringify(exports.Audio$outboundSchema.parse(audio));
|
|
684
|
+
}
|
|
685
|
+
function audioFromJSON(jsonString) {
|
|
686
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.Audio$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Audio' from JSON`);
|
|
687
|
+
}
|
|
688
|
+
/** @internal */
|
|
689
|
+
exports.PrefixMessagesType$inboundSchema = z.nativeEnum(exports.PrefixMessagesType);
|
|
690
|
+
/** @internal */
|
|
691
|
+
exports.PrefixMessagesType$outboundSchema = exports.PrefixMessagesType$inboundSchema;
|
|
692
|
+
/**
|
|
693
|
+
* @internal
|
|
694
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
695
|
+
*/
|
|
696
|
+
var PrefixMessagesType$;
|
|
697
|
+
(function (PrefixMessagesType$) {
|
|
698
|
+
/** @deprecated use `PrefixMessagesType$inboundSchema` instead. */
|
|
699
|
+
PrefixMessagesType$.inboundSchema = exports.PrefixMessagesType$inboundSchema;
|
|
700
|
+
/** @deprecated use `PrefixMessagesType$outboundSchema` instead. */
|
|
701
|
+
PrefixMessagesType$.outboundSchema = exports.PrefixMessagesType$outboundSchema;
|
|
702
|
+
})(PrefixMessagesType$ || (exports.PrefixMessagesType$ = PrefixMessagesType$ = {}));
|
|
480
703
|
/** @internal */
|
|
481
704
|
exports.FunctionT$inboundSchema = z.object({
|
|
482
|
-
name: z.string(),
|
|
483
|
-
arguments: z.string(),
|
|
705
|
+
name: z.string().optional(),
|
|
706
|
+
arguments: z.string().optional(),
|
|
484
707
|
});
|
|
485
708
|
/** @internal */
|
|
486
709
|
exports.FunctionT$outboundSchema = z.object({
|
|
487
|
-
name: z.string(),
|
|
488
|
-
arguments: z.string(),
|
|
710
|
+
name: z.string().optional(),
|
|
711
|
+
arguments: z.string().optional(),
|
|
489
712
|
});
|
|
490
713
|
/**
|
|
491
714
|
* @internal
|
|
@@ -506,16 +729,14 @@ function functionFromJSON(jsonString) {
|
|
|
506
729
|
}
|
|
507
730
|
/** @internal */
|
|
508
731
|
exports.ToolCalls$inboundSchema = z.object({
|
|
509
|
-
id: z.string()
|
|
510
|
-
|
|
511
|
-
type: exports.DeploymentGetConfigType$inboundSchema,
|
|
732
|
+
id: z.string(),
|
|
733
|
+
type: exports.PrefixMessagesType$inboundSchema,
|
|
512
734
|
function: z.lazy(() => exports.FunctionT$inboundSchema),
|
|
513
735
|
});
|
|
514
736
|
/** @internal */
|
|
515
737
|
exports.ToolCalls$outboundSchema = z.object({
|
|
516
|
-
id: z.string()
|
|
517
|
-
|
|
518
|
-
type: exports.DeploymentGetConfigType$outboundSchema,
|
|
738
|
+
id: z.string(),
|
|
739
|
+
type: exports.PrefixMessagesType$outboundSchema,
|
|
519
740
|
function: z.lazy(() => exports.FunctionT$outboundSchema),
|
|
520
741
|
});
|
|
521
742
|
/**
|
|
@@ -536,15 +757,19 @@ function toolCallsFromJSON(jsonString) {
|
|
|
536
757
|
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ToolCalls$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ToolCalls' from JSON`);
|
|
537
758
|
}
|
|
538
759
|
/** @internal */
|
|
539
|
-
exports.
|
|
540
|
-
|
|
760
|
+
exports.Four$inboundSchema = z
|
|
761
|
+
.object({
|
|
541
762
|
content: z.union([
|
|
542
763
|
z.string(),
|
|
543
764
|
z.array(z.union([
|
|
544
|
-
z.lazy(() => exports.
|
|
545
|
-
z.lazy(() => exports.
|
|
765
|
+
z.lazy(() => exports.DeploymentGetConfig21$inboundSchema),
|
|
766
|
+
z.lazy(() => exports.DeploymentGetConfig22$inboundSchema),
|
|
546
767
|
])),
|
|
547
|
-
]),
|
|
768
|
+
]).optional(),
|
|
769
|
+
refusal: z.nullable(z.string()).optional(),
|
|
770
|
+
role: exports.DeploymentGetConfigPrefixMessagesDeploymentsRole$inboundSchema,
|
|
771
|
+
name: z.string().optional(),
|
|
772
|
+
audio: z.nullable(z.lazy(() => exports.Audio$inboundSchema)).optional(),
|
|
548
773
|
tool_calls: z.array(z.lazy(() => exports.ToolCalls$inboundSchema)).optional(),
|
|
549
774
|
}).transform((v) => {
|
|
550
775
|
return (0, primitives_js_1.remap)(v, {
|
|
@@ -552,15 +777,18 @@ exports.PrefixMessages$inboundSchema = z.object({
|
|
|
552
777
|
});
|
|
553
778
|
});
|
|
554
779
|
/** @internal */
|
|
555
|
-
exports.
|
|
556
|
-
role: exports.Role$outboundSchema,
|
|
780
|
+
exports.Four$outboundSchema = z.object({
|
|
557
781
|
content: z.union([
|
|
558
782
|
z.string(),
|
|
559
783
|
z.array(z.union([
|
|
560
|
-
z.lazy(() => exports.
|
|
561
|
-
z.lazy(() => exports.
|
|
784
|
+
z.lazy(() => exports.DeploymentGetConfig21$outboundSchema),
|
|
785
|
+
z.lazy(() => exports.DeploymentGetConfig22$outboundSchema),
|
|
562
786
|
])),
|
|
563
|
-
]),
|
|
787
|
+
]).optional(),
|
|
788
|
+
refusal: z.nullable(z.string()).optional(),
|
|
789
|
+
role: exports.DeploymentGetConfigPrefixMessagesDeploymentsRole$outboundSchema,
|
|
790
|
+
name: z.string().optional(),
|
|
791
|
+
audio: z.nullable(z.lazy(() => exports.Audio$outboundSchema)).optional(),
|
|
564
792
|
toolCalls: z.array(z.lazy(() => exports.ToolCalls$outboundSchema)).optional(),
|
|
565
793
|
}).transform((v) => {
|
|
566
794
|
return (0, primitives_js_1.remap)(v, {
|
|
@@ -571,144 +799,256 @@ exports.PrefixMessages$outboundSchema = z.object({
|
|
|
571
799
|
* @internal
|
|
572
800
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
573
801
|
*/
|
|
574
|
-
var
|
|
575
|
-
(function (
|
|
576
|
-
/** @deprecated use `
|
|
577
|
-
|
|
578
|
-
/** @deprecated use `
|
|
579
|
-
|
|
580
|
-
})(
|
|
581
|
-
function
|
|
582
|
-
return JSON.stringify(exports.
|
|
802
|
+
var Four$;
|
|
803
|
+
(function (Four$) {
|
|
804
|
+
/** @deprecated use `Four$inboundSchema` instead. */
|
|
805
|
+
Four$.inboundSchema = exports.Four$inboundSchema;
|
|
806
|
+
/** @deprecated use `Four$outboundSchema` instead. */
|
|
807
|
+
Four$.outboundSchema = exports.Four$outboundSchema;
|
|
808
|
+
})(Four$ || (exports.Four$ = Four$ = {}));
|
|
809
|
+
function fourToJSON(four) {
|
|
810
|
+
return JSON.stringify(exports.Four$outboundSchema.parse(four));
|
|
583
811
|
}
|
|
584
|
-
function
|
|
585
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.
|
|
812
|
+
function fourFromJSON(jsonString) {
|
|
813
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.Four$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Four' from JSON`);
|
|
586
814
|
}
|
|
587
815
|
/** @internal */
|
|
588
|
-
exports.
|
|
816
|
+
exports.DeploymentGetConfigPrefixMessagesRole$inboundSchema = z.nativeEnum(exports.DeploymentGetConfigPrefixMessagesRole);
|
|
589
817
|
/** @internal */
|
|
590
|
-
exports.
|
|
818
|
+
exports.DeploymentGetConfigPrefixMessagesRole$outboundSchema = exports.DeploymentGetConfigPrefixMessagesRole$inboundSchema;
|
|
591
819
|
/**
|
|
592
820
|
* @internal
|
|
593
821
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
594
822
|
*/
|
|
595
|
-
var
|
|
596
|
-
(function (
|
|
597
|
-
/** @deprecated use `
|
|
598
|
-
|
|
599
|
-
/** @deprecated use `
|
|
600
|
-
|
|
601
|
-
})(
|
|
823
|
+
var DeploymentGetConfigPrefixMessagesRole$;
|
|
824
|
+
(function (DeploymentGetConfigPrefixMessagesRole$) {
|
|
825
|
+
/** @deprecated use `DeploymentGetConfigPrefixMessagesRole$inboundSchema` instead. */
|
|
826
|
+
DeploymentGetConfigPrefixMessagesRole$.inboundSchema = exports.DeploymentGetConfigPrefixMessagesRole$inboundSchema;
|
|
827
|
+
/** @deprecated use `DeploymentGetConfigPrefixMessagesRole$outboundSchema` instead. */
|
|
828
|
+
DeploymentGetConfigPrefixMessagesRole$.outboundSchema = exports.DeploymentGetConfigPrefixMessagesRole$outboundSchema;
|
|
829
|
+
})(DeploymentGetConfigPrefixMessagesRole$ || (exports.DeploymentGetConfigPrefixMessagesRole$ = DeploymentGetConfigPrefixMessagesRole$ = {}));
|
|
602
830
|
/** @internal */
|
|
603
|
-
exports.
|
|
831
|
+
exports.DeploymentGetConfig2Type$inboundSchema = z.nativeEnum(exports.DeploymentGetConfig2Type);
|
|
604
832
|
/** @internal */
|
|
605
|
-
exports.
|
|
833
|
+
exports.DeploymentGetConfig2Type$outboundSchema = exports.DeploymentGetConfig2Type$inboundSchema;
|
|
606
834
|
/**
|
|
607
835
|
* @internal
|
|
608
836
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
609
837
|
*/
|
|
610
|
-
var
|
|
611
|
-
(function (
|
|
612
|
-
/** @deprecated use `
|
|
613
|
-
|
|
614
|
-
/** @deprecated use `
|
|
615
|
-
|
|
616
|
-
})(
|
|
838
|
+
var DeploymentGetConfig2Type$;
|
|
839
|
+
(function (DeploymentGetConfig2Type$) {
|
|
840
|
+
/** @deprecated use `DeploymentGetConfig2Type$inboundSchema` instead. */
|
|
841
|
+
DeploymentGetConfig2Type$.inboundSchema = exports.DeploymentGetConfig2Type$inboundSchema;
|
|
842
|
+
/** @deprecated use `DeploymentGetConfig2Type$outboundSchema` instead. */
|
|
843
|
+
DeploymentGetConfig2Type$.outboundSchema = exports.DeploymentGetConfig2Type$outboundSchema;
|
|
844
|
+
})(DeploymentGetConfig2Type$ || (exports.DeploymentGetConfig2Type$ = DeploymentGetConfig2Type$ = {}));
|
|
617
845
|
/** @internal */
|
|
618
|
-
exports.
|
|
619
|
-
|
|
620
|
-
|
|
846
|
+
exports.Format$inboundSchema = z
|
|
847
|
+
.nativeEnum(exports.Format);
|
|
848
|
+
/** @internal */
|
|
849
|
+
exports.Format$outboundSchema = exports.Format$inboundSchema;
|
|
850
|
+
/**
|
|
851
|
+
* @internal
|
|
852
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
853
|
+
*/
|
|
854
|
+
var Format$;
|
|
855
|
+
(function (Format$) {
|
|
856
|
+
/** @deprecated use `Format$inboundSchema` instead. */
|
|
857
|
+
Format$.inboundSchema = exports.Format$inboundSchema;
|
|
858
|
+
/** @deprecated use `Format$outboundSchema` instead. */
|
|
859
|
+
Format$.outboundSchema = exports.Format$outboundSchema;
|
|
860
|
+
})(Format$ || (exports.Format$ = Format$ = {}));
|
|
861
|
+
/** @internal */
|
|
862
|
+
exports.InputAudio$inboundSchema = z.object({
|
|
863
|
+
data: z.string(),
|
|
864
|
+
format: exports.Format$inboundSchema,
|
|
621
865
|
});
|
|
622
866
|
/** @internal */
|
|
623
|
-
exports.
|
|
624
|
-
|
|
625
|
-
|
|
867
|
+
exports.InputAudio$outboundSchema = z.object({
|
|
868
|
+
data: z.string(),
|
|
869
|
+
format: exports.Format$outboundSchema,
|
|
626
870
|
});
|
|
627
871
|
/**
|
|
628
872
|
* @internal
|
|
629
873
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
630
874
|
*/
|
|
631
|
-
var
|
|
632
|
-
(function (
|
|
633
|
-
/** @deprecated use `
|
|
634
|
-
|
|
635
|
-
/** @deprecated use `
|
|
636
|
-
|
|
637
|
-
})(
|
|
638
|
-
function
|
|
639
|
-
return JSON.stringify(exports.
|
|
875
|
+
var InputAudio$;
|
|
876
|
+
(function (InputAudio$) {
|
|
877
|
+
/** @deprecated use `InputAudio$inboundSchema` instead. */
|
|
878
|
+
InputAudio$.inboundSchema = exports.InputAudio$inboundSchema;
|
|
879
|
+
/** @deprecated use `InputAudio$outboundSchema` instead. */
|
|
880
|
+
InputAudio$.outboundSchema = exports.InputAudio$outboundSchema;
|
|
881
|
+
})(InputAudio$ || (exports.InputAudio$ = InputAudio$ = {}));
|
|
882
|
+
function inputAudioToJSON(inputAudio) {
|
|
883
|
+
return JSON.stringify(exports.InputAudio$outboundSchema.parse(inputAudio));
|
|
640
884
|
}
|
|
641
|
-
function
|
|
642
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.
|
|
885
|
+
function inputAudioFromJSON(jsonString) {
|
|
886
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.InputAudio$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'InputAudio' from JSON`);
|
|
643
887
|
}
|
|
644
888
|
/** @internal */
|
|
645
|
-
exports.
|
|
646
|
-
|
|
647
|
-
|
|
889
|
+
exports.Two3$inboundSchema = z
|
|
890
|
+
.object({
|
|
891
|
+
type: exports.DeploymentGetConfig2Type$inboundSchema,
|
|
892
|
+
input_audio: z.lazy(() => exports.InputAudio$inboundSchema),
|
|
648
893
|
}).transform((v) => {
|
|
649
894
|
return (0, primitives_js_1.remap)(v, {
|
|
650
|
-
"
|
|
895
|
+
"input_audio": "inputAudio",
|
|
651
896
|
});
|
|
652
897
|
});
|
|
653
898
|
/** @internal */
|
|
654
|
-
exports.
|
|
655
|
-
type: exports.
|
|
656
|
-
|
|
899
|
+
exports.Two3$outboundSchema = z.object({
|
|
900
|
+
type: exports.DeploymentGetConfig2Type$outboundSchema,
|
|
901
|
+
inputAudio: z.lazy(() => exports.InputAudio$outboundSchema),
|
|
657
902
|
}).transform((v) => {
|
|
658
903
|
return (0, primitives_js_1.remap)(v, {
|
|
659
|
-
|
|
904
|
+
inputAudio: "input_audio",
|
|
660
905
|
});
|
|
661
906
|
});
|
|
662
907
|
/**
|
|
663
908
|
* @internal
|
|
664
909
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
665
910
|
*/
|
|
666
|
-
var
|
|
667
|
-
(function (
|
|
668
|
-
/** @deprecated use `
|
|
669
|
-
|
|
670
|
-
/** @deprecated use `
|
|
671
|
-
|
|
672
|
-
})(
|
|
673
|
-
function
|
|
674
|
-
return JSON.stringify(exports.
|
|
911
|
+
var Two3$;
|
|
912
|
+
(function (Two3$) {
|
|
913
|
+
/** @deprecated use `Two3$inboundSchema` instead. */
|
|
914
|
+
Two3$.inboundSchema = exports.Two3$inboundSchema;
|
|
915
|
+
/** @deprecated use `Two3$outboundSchema` instead. */
|
|
916
|
+
Two3$.outboundSchema = exports.Two3$outboundSchema;
|
|
917
|
+
})(Two3$ || (exports.Two3$ = Two3$ = {}));
|
|
918
|
+
function two3ToJSON(two3) {
|
|
919
|
+
return JSON.stringify(exports.Two3$outboundSchema.parse(two3));
|
|
675
920
|
}
|
|
676
|
-
function
|
|
677
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.
|
|
921
|
+
function two3FromJSON(jsonString) {
|
|
922
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.Two3$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Two3' from JSON`);
|
|
678
923
|
}
|
|
679
924
|
/** @internal */
|
|
680
|
-
exports.
|
|
925
|
+
exports.TwoType$inboundSchema = z
|
|
926
|
+
.nativeEnum(exports.TwoType);
|
|
681
927
|
/** @internal */
|
|
682
|
-
exports.
|
|
928
|
+
exports.TwoType$outboundSchema = exports.TwoType$inboundSchema;
|
|
683
929
|
/**
|
|
684
930
|
* @internal
|
|
685
931
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
686
932
|
*/
|
|
687
|
-
var
|
|
688
|
-
(function (
|
|
689
|
-
/** @deprecated use `
|
|
690
|
-
|
|
691
|
-
/** @deprecated use `
|
|
692
|
-
|
|
693
|
-
})(
|
|
933
|
+
var TwoType$;
|
|
934
|
+
(function (TwoType$) {
|
|
935
|
+
/** @deprecated use `TwoType$inboundSchema` instead. */
|
|
936
|
+
TwoType$.inboundSchema = exports.TwoType$inboundSchema;
|
|
937
|
+
/** @deprecated use `TwoType$outboundSchema` instead. */
|
|
938
|
+
TwoType$.outboundSchema = exports.TwoType$outboundSchema;
|
|
939
|
+
})(TwoType$ || (exports.TwoType$ = TwoType$ = {}));
|
|
694
940
|
/** @internal */
|
|
695
|
-
exports.
|
|
696
|
-
.
|
|
697
|
-
type: exports.DeploymentGetConfig2Type$inboundSchema,
|
|
698
|
-
text: z.string(),
|
|
699
|
-
});
|
|
941
|
+
exports.Detail$inboundSchema = z
|
|
942
|
+
.nativeEnum(exports.Detail);
|
|
700
943
|
/** @internal */
|
|
701
|
-
exports.
|
|
702
|
-
type: exports.DeploymentGetConfig2Type$outboundSchema,
|
|
703
|
-
text: z.string(),
|
|
704
|
-
});
|
|
944
|
+
exports.Detail$outboundSchema = exports.Detail$inboundSchema;
|
|
705
945
|
/**
|
|
706
946
|
* @internal
|
|
707
947
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
708
948
|
*/
|
|
709
|
-
var
|
|
710
|
-
(function (
|
|
711
|
-
/** @deprecated use `
|
|
949
|
+
var Detail$;
|
|
950
|
+
(function (Detail$) {
|
|
951
|
+
/** @deprecated use `Detail$inboundSchema` instead. */
|
|
952
|
+
Detail$.inboundSchema = exports.Detail$inboundSchema;
|
|
953
|
+
/** @deprecated use `Detail$outboundSchema` instead. */
|
|
954
|
+
Detail$.outboundSchema = exports.Detail$outboundSchema;
|
|
955
|
+
})(Detail$ || (exports.Detail$ = Detail$ = {}));
|
|
956
|
+
/** @internal */
|
|
957
|
+
exports.ImageUrl$inboundSchema = z.object({
|
|
958
|
+
url: z.string(),
|
|
959
|
+
detail: exports.Detail$inboundSchema.optional(),
|
|
960
|
+
});
|
|
961
|
+
/** @internal */
|
|
962
|
+
exports.ImageUrl$outboundSchema = z.object({
|
|
963
|
+
url: z.string(),
|
|
964
|
+
detail: exports.Detail$outboundSchema.optional(),
|
|
965
|
+
});
|
|
966
|
+
/**
|
|
967
|
+
* @internal
|
|
968
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
969
|
+
*/
|
|
970
|
+
var ImageUrl$;
|
|
971
|
+
(function (ImageUrl$) {
|
|
972
|
+
/** @deprecated use `ImageUrl$inboundSchema` instead. */
|
|
973
|
+
ImageUrl$.inboundSchema = exports.ImageUrl$inboundSchema;
|
|
974
|
+
/** @deprecated use `ImageUrl$outboundSchema` instead. */
|
|
975
|
+
ImageUrl$.outboundSchema = exports.ImageUrl$outboundSchema;
|
|
976
|
+
})(ImageUrl$ || (exports.ImageUrl$ = ImageUrl$ = {}));
|
|
977
|
+
function imageUrlToJSON(imageUrl) {
|
|
978
|
+
return JSON.stringify(exports.ImageUrl$outboundSchema.parse(imageUrl));
|
|
979
|
+
}
|
|
980
|
+
function imageUrlFromJSON(jsonString) {
|
|
981
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ImageUrl$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ImageUrl' from JSON`);
|
|
982
|
+
}
|
|
983
|
+
/** @internal */
|
|
984
|
+
exports.Two2$inboundSchema = z
|
|
985
|
+
.object({
|
|
986
|
+
type: exports.TwoType$inboundSchema,
|
|
987
|
+
image_url: z.lazy(() => exports.ImageUrl$inboundSchema),
|
|
988
|
+
}).transform((v) => {
|
|
989
|
+
return (0, primitives_js_1.remap)(v, {
|
|
990
|
+
"image_url": "imageUrl",
|
|
991
|
+
});
|
|
992
|
+
});
|
|
993
|
+
/** @internal */
|
|
994
|
+
exports.Two2$outboundSchema = z.object({
|
|
995
|
+
type: exports.TwoType$outboundSchema,
|
|
996
|
+
imageUrl: z.lazy(() => exports.ImageUrl$outboundSchema),
|
|
997
|
+
}).transform((v) => {
|
|
998
|
+
return (0, primitives_js_1.remap)(v, {
|
|
999
|
+
imageUrl: "image_url",
|
|
1000
|
+
});
|
|
1001
|
+
});
|
|
1002
|
+
/**
|
|
1003
|
+
* @internal
|
|
1004
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1005
|
+
*/
|
|
1006
|
+
var Two2$;
|
|
1007
|
+
(function (Two2$) {
|
|
1008
|
+
/** @deprecated use `Two2$inboundSchema` instead. */
|
|
1009
|
+
Two2$.inboundSchema = exports.Two2$inboundSchema;
|
|
1010
|
+
/** @deprecated use `Two2$outboundSchema` instead. */
|
|
1011
|
+
Two2$.outboundSchema = exports.Two2$outboundSchema;
|
|
1012
|
+
})(Two2$ || (exports.Two2$ = Two2$ = {}));
|
|
1013
|
+
function two2ToJSON(two2) {
|
|
1014
|
+
return JSON.stringify(exports.Two2$outboundSchema.parse(two2));
|
|
1015
|
+
}
|
|
1016
|
+
function two2FromJSON(jsonString) {
|
|
1017
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.Two2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Two2' from JSON`);
|
|
1018
|
+
}
|
|
1019
|
+
/** @internal */
|
|
1020
|
+
exports.Type$inboundSchema = z.nativeEnum(exports.Type);
|
|
1021
|
+
/** @internal */
|
|
1022
|
+
exports.Type$outboundSchema = exports.Type$inboundSchema;
|
|
1023
|
+
/**
|
|
1024
|
+
* @internal
|
|
1025
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1026
|
+
*/
|
|
1027
|
+
var Type$;
|
|
1028
|
+
(function (Type$) {
|
|
1029
|
+
/** @deprecated use `Type$inboundSchema` instead. */
|
|
1030
|
+
Type$.inboundSchema = exports.Type$inboundSchema;
|
|
1031
|
+
/** @deprecated use `Type$outboundSchema` instead. */
|
|
1032
|
+
Type$.outboundSchema = exports.Type$outboundSchema;
|
|
1033
|
+
})(Type$ || (exports.Type$ = Type$ = {}));
|
|
1034
|
+
/** @internal */
|
|
1035
|
+
exports.Two1$inboundSchema = z
|
|
1036
|
+
.object({
|
|
1037
|
+
type: exports.Type$inboundSchema,
|
|
1038
|
+
text: z.string(),
|
|
1039
|
+
});
|
|
1040
|
+
/** @internal */
|
|
1041
|
+
exports.Two1$outboundSchema = z.object({
|
|
1042
|
+
type: exports.Type$outboundSchema,
|
|
1043
|
+
text: z.string(),
|
|
1044
|
+
});
|
|
1045
|
+
/**
|
|
1046
|
+
* @internal
|
|
1047
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1048
|
+
*/
|
|
1049
|
+
var Two1$;
|
|
1050
|
+
(function (Two1$) {
|
|
1051
|
+
/** @deprecated use `Two1$inboundSchema` instead. */
|
|
712
1052
|
Two1$.inboundSchema = exports.Two1$inboundSchema;
|
|
713
1053
|
/** @deprecated use `Two1$outboundSchema` instead. */
|
|
714
1054
|
Two1$.outboundSchema = exports.Two1$outboundSchema;
|
|
@@ -722,12 +1062,14 @@ function two1FromJSON(jsonString) {
|
|
|
722
1062
|
/** @internal */
|
|
723
1063
|
exports.Content2$inboundSchema = z.union([
|
|
724
1064
|
z.lazy(() => exports.Two1$inboundSchema),
|
|
725
|
-
z.lazy(() => exports.
|
|
1065
|
+
z.lazy(() => exports.Two2$inboundSchema),
|
|
1066
|
+
z.lazy(() => exports.Two3$inboundSchema),
|
|
726
1067
|
]);
|
|
727
1068
|
/** @internal */
|
|
728
1069
|
exports.Content2$outboundSchema = z.union([
|
|
729
1070
|
z.lazy(() => exports.Two1$outboundSchema),
|
|
730
|
-
z.lazy(() => exports.
|
|
1071
|
+
z.lazy(() => exports.Two2$outboundSchema),
|
|
1072
|
+
z.lazy(() => exports.Two3$outboundSchema),
|
|
731
1073
|
]);
|
|
732
1074
|
/**
|
|
733
1075
|
* @internal
|
|
@@ -747,145 +1089,1048 @@ function content2FromJSON(jsonString) {
|
|
|
747
1089
|
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.Content2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Content2' from JSON`);
|
|
748
1090
|
}
|
|
749
1091
|
/** @internal */
|
|
750
|
-
exports.
|
|
1092
|
+
exports.Content$inboundSchema = z.union([
|
|
751
1093
|
z.string(),
|
|
752
1094
|
z.array(z.union([
|
|
753
1095
|
z.lazy(() => exports.Two1$inboundSchema),
|
|
754
|
-
z.lazy(() => exports.
|
|
1096
|
+
z.lazy(() => exports.Two2$inboundSchema),
|
|
1097
|
+
z.lazy(() => exports.Two3$inboundSchema),
|
|
755
1098
|
])),
|
|
756
1099
|
]);
|
|
757
1100
|
/** @internal */
|
|
758
|
-
exports.
|
|
1101
|
+
exports.Content$outboundSchema = z.union([
|
|
759
1102
|
z.string(),
|
|
760
1103
|
z.array(z.union([
|
|
761
1104
|
z.lazy(() => exports.Two1$outboundSchema),
|
|
762
|
-
z.lazy(() => exports.
|
|
1105
|
+
z.lazy(() => exports.Two2$outboundSchema),
|
|
1106
|
+
z.lazy(() => exports.Two3$outboundSchema),
|
|
763
1107
|
])),
|
|
764
1108
|
]);
|
|
765
1109
|
/**
|
|
766
1110
|
* @internal
|
|
767
1111
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
768
1112
|
*/
|
|
769
|
-
var
|
|
770
|
-
(function (
|
|
771
|
-
/** @deprecated use `
|
|
772
|
-
|
|
773
|
-
/** @deprecated use `
|
|
774
|
-
|
|
775
|
-
})(
|
|
776
|
-
function
|
|
777
|
-
return JSON.stringify(exports.
|
|
1113
|
+
var Content$;
|
|
1114
|
+
(function (Content$) {
|
|
1115
|
+
/** @deprecated use `Content$inboundSchema` instead. */
|
|
1116
|
+
Content$.inboundSchema = exports.Content$inboundSchema;
|
|
1117
|
+
/** @deprecated use `Content$outboundSchema` instead. */
|
|
1118
|
+
Content$.outboundSchema = exports.Content$outboundSchema;
|
|
1119
|
+
})(Content$ || (exports.Content$ = Content$ = {}));
|
|
1120
|
+
function contentToJSON(content) {
|
|
1121
|
+
return JSON.stringify(exports.Content$outboundSchema.parse(content));
|
|
778
1122
|
}
|
|
779
|
-
function
|
|
780
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.
|
|
1123
|
+
function contentFromJSON(jsonString) {
|
|
1124
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.Content$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Content' from JSON`);
|
|
781
1125
|
}
|
|
782
1126
|
/** @internal */
|
|
783
|
-
exports.
|
|
1127
|
+
exports.Three$inboundSchema = z
|
|
1128
|
+
.object({
|
|
1129
|
+
role: exports.DeploymentGetConfigPrefixMessagesRole$inboundSchema,
|
|
1130
|
+
name: z.string().optional(),
|
|
1131
|
+
content: z.union([
|
|
1132
|
+
z.string(),
|
|
1133
|
+
z.array(z.union([
|
|
1134
|
+
z.lazy(() => exports.Two1$inboundSchema),
|
|
1135
|
+
z.lazy(() => exports.Two2$inboundSchema),
|
|
1136
|
+
z.lazy(() => exports.Two3$inboundSchema),
|
|
1137
|
+
])),
|
|
1138
|
+
]),
|
|
1139
|
+
});
|
|
784
1140
|
/** @internal */
|
|
785
|
-
exports.
|
|
1141
|
+
exports.Three$outboundSchema = z.object({
|
|
1142
|
+
role: exports.DeploymentGetConfigPrefixMessagesRole$outboundSchema,
|
|
1143
|
+
name: z.string().optional(),
|
|
1144
|
+
content: z.union([
|
|
1145
|
+
z.string(),
|
|
1146
|
+
z.array(z.union([
|
|
1147
|
+
z.lazy(() => exports.Two1$outboundSchema),
|
|
1148
|
+
z.lazy(() => exports.Two2$outboundSchema),
|
|
1149
|
+
z.lazy(() => exports.Two3$outboundSchema),
|
|
1150
|
+
])),
|
|
1151
|
+
]),
|
|
1152
|
+
});
|
|
786
1153
|
/**
|
|
787
1154
|
* @internal
|
|
788
1155
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
789
1156
|
*/
|
|
790
|
-
var
|
|
791
|
-
(function (
|
|
792
|
-
/** @deprecated use `
|
|
793
|
-
|
|
794
|
-
/** @deprecated use `
|
|
795
|
-
|
|
796
|
-
})(
|
|
1157
|
+
var Three$;
|
|
1158
|
+
(function (Three$) {
|
|
1159
|
+
/** @deprecated use `Three$inboundSchema` instead. */
|
|
1160
|
+
Three$.inboundSchema = exports.Three$inboundSchema;
|
|
1161
|
+
/** @deprecated use `Three$outboundSchema` instead. */
|
|
1162
|
+
Three$.outboundSchema = exports.Three$outboundSchema;
|
|
1163
|
+
})(Three$ || (exports.Three$ = Three$ = {}));
|
|
1164
|
+
function threeToJSON(three) {
|
|
1165
|
+
return JSON.stringify(exports.Three$outboundSchema.parse(three));
|
|
1166
|
+
}
|
|
1167
|
+
function threeFromJSON(jsonString) {
|
|
1168
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.Three$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Three' from JSON`);
|
|
1169
|
+
}
|
|
797
1170
|
/** @internal */
|
|
798
|
-
exports.
|
|
799
|
-
|
|
800
|
-
|
|
1171
|
+
exports.PrefixMessagesRole$inboundSchema = z.nativeEnum(exports.PrefixMessagesRole);
|
|
1172
|
+
/** @internal */
|
|
1173
|
+
exports.PrefixMessagesRole$outboundSchema = exports.PrefixMessagesRole$inboundSchema;
|
|
1174
|
+
/**
|
|
1175
|
+
* @internal
|
|
1176
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1177
|
+
*/
|
|
1178
|
+
var PrefixMessagesRole$;
|
|
1179
|
+
(function (PrefixMessagesRole$) {
|
|
1180
|
+
/** @deprecated use `PrefixMessagesRole$inboundSchema` instead. */
|
|
1181
|
+
PrefixMessagesRole$.inboundSchema = exports.PrefixMessagesRole$inboundSchema;
|
|
1182
|
+
/** @deprecated use `PrefixMessagesRole$outboundSchema` instead. */
|
|
1183
|
+
PrefixMessagesRole$.outboundSchema = exports.PrefixMessagesRole$outboundSchema;
|
|
1184
|
+
})(PrefixMessagesRole$ || (exports.PrefixMessagesRole$ = PrefixMessagesRole$ = {}));
|
|
1185
|
+
/** @internal */
|
|
1186
|
+
exports.Two$inboundSchema = z
|
|
1187
|
+
.object({
|
|
1188
|
+
role: exports.PrefixMessagesRole$inboundSchema,
|
|
1189
|
+
content: z.string(),
|
|
1190
|
+
name: z.string().optional(),
|
|
801
1191
|
});
|
|
802
1192
|
/** @internal */
|
|
803
|
-
exports.
|
|
804
|
-
|
|
805
|
-
|
|
1193
|
+
exports.Two$outboundSchema = z
|
|
1194
|
+
.object({
|
|
1195
|
+
role: exports.PrefixMessagesRole$outboundSchema,
|
|
1196
|
+
content: z.string(),
|
|
1197
|
+
name: z.string().optional(),
|
|
806
1198
|
});
|
|
807
1199
|
/**
|
|
808
1200
|
* @internal
|
|
809
1201
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
810
1202
|
*/
|
|
811
|
-
var
|
|
812
|
-
(function (
|
|
813
|
-
/** @deprecated use `
|
|
814
|
-
|
|
815
|
-
/** @deprecated use `
|
|
816
|
-
|
|
817
|
-
})(
|
|
818
|
-
function
|
|
819
|
-
return JSON.stringify(exports.
|
|
1203
|
+
var Two$;
|
|
1204
|
+
(function (Two$) {
|
|
1205
|
+
/** @deprecated use `Two$inboundSchema` instead. */
|
|
1206
|
+
Two$.inboundSchema = exports.Two$inboundSchema;
|
|
1207
|
+
/** @deprecated use `Two$outboundSchema` instead. */
|
|
1208
|
+
Two$.outboundSchema = exports.Two$outboundSchema;
|
|
1209
|
+
})(Two$ || (exports.Two$ = Two$ = {}));
|
|
1210
|
+
function twoToJSON(two) {
|
|
1211
|
+
return JSON.stringify(exports.Two$outboundSchema.parse(two));
|
|
820
1212
|
}
|
|
821
|
-
function
|
|
822
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.
|
|
1213
|
+
function twoFromJSON(jsonString) {
|
|
1214
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.Two$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Two' from JSON`);
|
|
823
1215
|
}
|
|
824
1216
|
/** @internal */
|
|
825
|
-
exports.
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
1217
|
+
exports.Role$inboundSchema = z.nativeEnum(exports.Role);
|
|
1218
|
+
/** @internal */
|
|
1219
|
+
exports.Role$outboundSchema = exports.Role$inboundSchema;
|
|
1220
|
+
/**
|
|
1221
|
+
* @internal
|
|
1222
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1223
|
+
*/
|
|
1224
|
+
var Role$;
|
|
1225
|
+
(function (Role$) {
|
|
1226
|
+
/** @deprecated use `Role$inboundSchema` instead. */
|
|
1227
|
+
Role$.inboundSchema = exports.Role$inboundSchema;
|
|
1228
|
+
/** @deprecated use `Role$outboundSchema` instead. */
|
|
1229
|
+
Role$.outboundSchema = exports.Role$outboundSchema;
|
|
1230
|
+
})(Role$ || (exports.Role$ = Role$ = {}));
|
|
1231
|
+
/** @internal */
|
|
1232
|
+
exports.One$inboundSchema = z
|
|
1233
|
+
.object({
|
|
1234
|
+
role: exports.Role$inboundSchema,
|
|
1235
|
+
content: z.string(),
|
|
1236
|
+
name: z.string().optional(),
|
|
830
1237
|
});
|
|
831
1238
|
/** @internal */
|
|
832
|
-
exports.
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
1239
|
+
exports.One$outboundSchema = z
|
|
1240
|
+
.object({
|
|
1241
|
+
role: exports.Role$outboundSchema,
|
|
1242
|
+
content: z.string(),
|
|
1243
|
+
name: z.string().optional(),
|
|
837
1244
|
});
|
|
838
1245
|
/**
|
|
839
1246
|
* @internal
|
|
840
1247
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
841
1248
|
*/
|
|
842
|
-
var
|
|
843
|
-
(function (
|
|
844
|
-
/** @deprecated use `
|
|
845
|
-
|
|
846
|
-
/** @deprecated use `
|
|
847
|
-
|
|
848
|
-
})(
|
|
849
|
-
function
|
|
850
|
-
return JSON.stringify(exports.
|
|
1249
|
+
var One$;
|
|
1250
|
+
(function (One$) {
|
|
1251
|
+
/** @deprecated use `One$inboundSchema` instead. */
|
|
1252
|
+
One$.inboundSchema = exports.One$inboundSchema;
|
|
1253
|
+
/** @deprecated use `One$outboundSchema` instead. */
|
|
1254
|
+
One$.outboundSchema = exports.One$outboundSchema;
|
|
1255
|
+
})(One$ || (exports.One$ = One$ = {}));
|
|
1256
|
+
function oneToJSON(one) {
|
|
1257
|
+
return JSON.stringify(exports.One$outboundSchema.parse(one));
|
|
1258
|
+
}
|
|
1259
|
+
function oneFromJSON(jsonString) {
|
|
1260
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.One$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'One' from JSON`);
|
|
1261
|
+
}
|
|
1262
|
+
/** @internal */
|
|
1263
|
+
exports.PrefixMessages$inboundSchema = z.union([
|
|
1264
|
+
z.lazy(() => exports.One$inboundSchema),
|
|
1265
|
+
z.lazy(() => exports.Two$inboundSchema),
|
|
1266
|
+
z.lazy(() => exports.Three$inboundSchema),
|
|
1267
|
+
z.lazy(() => exports.Five$inboundSchema),
|
|
1268
|
+
z.lazy(() => exports.Four$inboundSchema),
|
|
1269
|
+
]);
|
|
1270
|
+
/** @internal */
|
|
1271
|
+
exports.PrefixMessages$outboundSchema = z.union([
|
|
1272
|
+
z.lazy(() => exports.One$outboundSchema),
|
|
1273
|
+
z.lazy(() => exports.Two$outboundSchema),
|
|
1274
|
+
z.lazy(() => exports.Three$outboundSchema),
|
|
1275
|
+
z.lazy(() => exports.Five$outboundSchema),
|
|
1276
|
+
z.lazy(() => exports.Four$outboundSchema),
|
|
1277
|
+
]);
|
|
1278
|
+
/**
|
|
1279
|
+
* @internal
|
|
1280
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1281
|
+
*/
|
|
1282
|
+
var PrefixMessages$;
|
|
1283
|
+
(function (PrefixMessages$) {
|
|
1284
|
+
/** @deprecated use `PrefixMessages$inboundSchema` instead. */
|
|
1285
|
+
PrefixMessages$.inboundSchema = exports.PrefixMessages$inboundSchema;
|
|
1286
|
+
/** @deprecated use `PrefixMessages$outboundSchema` instead. */
|
|
1287
|
+
PrefixMessages$.outboundSchema = exports.PrefixMessages$outboundSchema;
|
|
1288
|
+
})(PrefixMessages$ || (exports.PrefixMessages$ = PrefixMessages$ = {}));
|
|
1289
|
+
function prefixMessagesToJSON(prefixMessages) {
|
|
1290
|
+
return JSON.stringify(exports.PrefixMessages$outboundSchema.parse(prefixMessages));
|
|
1291
|
+
}
|
|
1292
|
+
function prefixMessagesFromJSON(jsonString) {
|
|
1293
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.PrefixMessages$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PrefixMessages' from JSON`);
|
|
1294
|
+
}
|
|
1295
|
+
/** @internal */
|
|
1296
|
+
exports.DeploymentGetConfigMessagesDeploymentsRequestRequestBodyRole$inboundSchema = z.nativeEnum(exports.DeploymentGetConfigMessagesDeploymentsRequestRequestBodyRole);
|
|
1297
|
+
/** @internal */
|
|
1298
|
+
exports.DeploymentGetConfigMessagesDeploymentsRequestRequestBodyRole$outboundSchema = exports.DeploymentGetConfigMessagesDeploymentsRequestRequestBodyRole$inboundSchema;
|
|
1299
|
+
/**
|
|
1300
|
+
* @internal
|
|
1301
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1302
|
+
*/
|
|
1303
|
+
var DeploymentGetConfigMessagesDeploymentsRequestRequestBodyRole$;
|
|
1304
|
+
(function (DeploymentGetConfigMessagesDeploymentsRequestRequestBodyRole$) {
|
|
1305
|
+
/** @deprecated use `DeploymentGetConfigMessagesDeploymentsRequestRequestBodyRole$inboundSchema` instead. */
|
|
1306
|
+
DeploymentGetConfigMessagesDeploymentsRequestRequestBodyRole$.inboundSchema = exports.DeploymentGetConfigMessagesDeploymentsRequestRequestBodyRole$inboundSchema;
|
|
1307
|
+
/** @deprecated use `DeploymentGetConfigMessagesDeploymentsRequestRequestBodyRole$outboundSchema` instead. */
|
|
1308
|
+
DeploymentGetConfigMessagesDeploymentsRequestRequestBodyRole$.outboundSchema = exports.DeploymentGetConfigMessagesDeploymentsRequestRequestBodyRole$outboundSchema;
|
|
1309
|
+
})(DeploymentGetConfigMessagesDeploymentsRequestRequestBodyRole$ || (exports.DeploymentGetConfigMessagesDeploymentsRequestRequestBodyRole$ = DeploymentGetConfigMessagesDeploymentsRequestRequestBodyRole$ = {}));
|
|
1310
|
+
/** @internal */
|
|
1311
|
+
exports.DeploymentGetConfigMessagesDeploymentsContent$inboundSchema = z.union([z.string(), z.array(z.string())]);
|
|
1312
|
+
/** @internal */
|
|
1313
|
+
exports.DeploymentGetConfigMessagesDeploymentsContent$outboundSchema = z.union([z.string(), z.array(z.string())]);
|
|
1314
|
+
/**
|
|
1315
|
+
* @internal
|
|
1316
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1317
|
+
*/
|
|
1318
|
+
var DeploymentGetConfigMessagesDeploymentsContent$;
|
|
1319
|
+
(function (DeploymentGetConfigMessagesDeploymentsContent$) {
|
|
1320
|
+
/** @deprecated use `DeploymentGetConfigMessagesDeploymentsContent$inboundSchema` instead. */
|
|
1321
|
+
DeploymentGetConfigMessagesDeploymentsContent$.inboundSchema = exports.DeploymentGetConfigMessagesDeploymentsContent$inboundSchema;
|
|
1322
|
+
/** @deprecated use `DeploymentGetConfigMessagesDeploymentsContent$outboundSchema` instead. */
|
|
1323
|
+
DeploymentGetConfigMessagesDeploymentsContent$.outboundSchema = exports.DeploymentGetConfigMessagesDeploymentsContent$outboundSchema;
|
|
1324
|
+
})(DeploymentGetConfigMessagesDeploymentsContent$ || (exports.DeploymentGetConfigMessagesDeploymentsContent$ = DeploymentGetConfigMessagesDeploymentsContent$ = {}));
|
|
1325
|
+
function deploymentGetConfigMessagesDeploymentsContentToJSON(deploymentGetConfigMessagesDeploymentsContent) {
|
|
1326
|
+
return JSON.stringify(exports.DeploymentGetConfigMessagesDeploymentsContent$outboundSchema.parse(deploymentGetConfigMessagesDeploymentsContent));
|
|
1327
|
+
}
|
|
1328
|
+
function deploymentGetConfigMessagesDeploymentsContentFromJSON(jsonString) {
|
|
1329
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DeploymentGetConfigMessagesDeploymentsContent$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentGetConfigMessagesDeploymentsContent' from JSON`);
|
|
1330
|
+
}
|
|
1331
|
+
/** @internal */
|
|
1332
|
+
exports.Messages5$inboundSchema = z.object({
|
|
1333
|
+
role: exports.DeploymentGetConfigMessagesDeploymentsRequestRequestBodyRole$inboundSchema,
|
|
1334
|
+
content: z.union([z.string(), z.array(z.string())]),
|
|
1335
|
+
tool_call_id: z.string(),
|
|
1336
|
+
}).transform((v) => {
|
|
1337
|
+
return (0, primitives_js_1.remap)(v, {
|
|
1338
|
+
"tool_call_id": "toolCallId",
|
|
1339
|
+
});
|
|
1340
|
+
});
|
|
1341
|
+
/** @internal */
|
|
1342
|
+
exports.Messages5$outboundSchema = z.object({
|
|
1343
|
+
role: exports.DeploymentGetConfigMessagesDeploymentsRequestRequestBodyRole$outboundSchema,
|
|
1344
|
+
content: z.union([z.string(), z.array(z.string())]),
|
|
1345
|
+
toolCallId: z.string(),
|
|
1346
|
+
}).transform((v) => {
|
|
1347
|
+
return (0, primitives_js_1.remap)(v, {
|
|
1348
|
+
toolCallId: "tool_call_id",
|
|
1349
|
+
});
|
|
1350
|
+
});
|
|
1351
|
+
/**
|
|
1352
|
+
* @internal
|
|
1353
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1354
|
+
*/
|
|
1355
|
+
var Messages5$;
|
|
1356
|
+
(function (Messages5$) {
|
|
1357
|
+
/** @deprecated use `Messages5$inboundSchema` instead. */
|
|
1358
|
+
Messages5$.inboundSchema = exports.Messages5$inboundSchema;
|
|
1359
|
+
/** @deprecated use `Messages5$outboundSchema` instead. */
|
|
1360
|
+
Messages5$.outboundSchema = exports.Messages5$outboundSchema;
|
|
1361
|
+
})(Messages5$ || (exports.Messages5$ = Messages5$ = {}));
|
|
1362
|
+
function messages5ToJSON(messages5) {
|
|
1363
|
+
return JSON.stringify(exports.Messages5$outboundSchema.parse(messages5));
|
|
1364
|
+
}
|
|
1365
|
+
function messages5FromJSON(jsonString) {
|
|
1366
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.Messages5$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Messages5' from JSON`);
|
|
1367
|
+
}
|
|
1368
|
+
/** @internal */
|
|
1369
|
+
exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4ContentType$inboundSchema = z.nativeEnum(exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4ContentType);
|
|
1370
|
+
/** @internal */
|
|
1371
|
+
exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4ContentType$outboundSchema = exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4ContentType$inboundSchema;
|
|
1372
|
+
/**
|
|
1373
|
+
* @internal
|
|
1374
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1375
|
+
*/
|
|
1376
|
+
var DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4ContentType$;
|
|
1377
|
+
(function (DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4ContentType$) {
|
|
1378
|
+
/** @deprecated use `DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4ContentType$inboundSchema` instead. */
|
|
1379
|
+
DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4ContentType$.inboundSchema = exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4ContentType$inboundSchema;
|
|
1380
|
+
/** @deprecated use `DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4ContentType$outboundSchema` instead. */
|
|
1381
|
+
DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4ContentType$.outboundSchema = exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4ContentType$outboundSchema;
|
|
1382
|
+
})(DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4ContentType$ || (exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4ContentType$ = DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4ContentType$ = {}));
|
|
1383
|
+
/** @internal */
|
|
1384
|
+
exports.DeploymentGetConfig2DeploymentsRequest2$inboundSchema = z.object({
|
|
1385
|
+
type: exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4ContentType$inboundSchema,
|
|
1386
|
+
refusal: z.string(),
|
|
1387
|
+
});
|
|
1388
|
+
/** @internal */
|
|
1389
|
+
exports.DeploymentGetConfig2DeploymentsRequest2$outboundSchema = z.object({
|
|
1390
|
+
type: exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4ContentType$outboundSchema,
|
|
1391
|
+
refusal: z.string(),
|
|
1392
|
+
});
|
|
1393
|
+
/**
|
|
1394
|
+
* @internal
|
|
1395
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1396
|
+
*/
|
|
1397
|
+
var DeploymentGetConfig2DeploymentsRequest2$;
|
|
1398
|
+
(function (DeploymentGetConfig2DeploymentsRequest2$) {
|
|
1399
|
+
/** @deprecated use `DeploymentGetConfig2DeploymentsRequest2$inboundSchema` instead. */
|
|
1400
|
+
DeploymentGetConfig2DeploymentsRequest2$.inboundSchema = exports.DeploymentGetConfig2DeploymentsRequest2$inboundSchema;
|
|
1401
|
+
/** @deprecated use `DeploymentGetConfig2DeploymentsRequest2$outboundSchema` instead. */
|
|
1402
|
+
DeploymentGetConfig2DeploymentsRequest2$.outboundSchema = exports.DeploymentGetConfig2DeploymentsRequest2$outboundSchema;
|
|
1403
|
+
})(DeploymentGetConfig2DeploymentsRequest2$ || (exports.DeploymentGetConfig2DeploymentsRequest2$ = DeploymentGetConfig2DeploymentsRequest2$ = {}));
|
|
1404
|
+
function deploymentGetConfig2DeploymentsRequest2ToJSON(deploymentGetConfig2DeploymentsRequest2) {
|
|
1405
|
+
return JSON.stringify(exports.DeploymentGetConfig2DeploymentsRequest2$outboundSchema.parse(deploymentGetConfig2DeploymentsRequest2));
|
|
1406
|
+
}
|
|
1407
|
+
function deploymentGetConfig2DeploymentsRequest2FromJSON(jsonString) {
|
|
1408
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DeploymentGetConfig2DeploymentsRequest2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentGetConfig2DeploymentsRequest2' from JSON`);
|
|
1409
|
+
}
|
|
1410
|
+
/** @internal */
|
|
1411
|
+
exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4Type$inboundSchema = z.nativeEnum(exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4Type);
|
|
1412
|
+
/** @internal */
|
|
1413
|
+
exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4Type$outboundSchema = exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4Type$inboundSchema;
|
|
1414
|
+
/**
|
|
1415
|
+
* @internal
|
|
1416
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1417
|
+
*/
|
|
1418
|
+
var DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4Type$;
|
|
1419
|
+
(function (DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4Type$) {
|
|
1420
|
+
/** @deprecated use `DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4Type$inboundSchema` instead. */
|
|
1421
|
+
DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4Type$.inboundSchema = exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4Type$inboundSchema;
|
|
1422
|
+
/** @deprecated use `DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4Type$outboundSchema` instead. */
|
|
1423
|
+
DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4Type$.outboundSchema = exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4Type$outboundSchema;
|
|
1424
|
+
})(DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4Type$ || (exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4Type$ = DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4Type$ = {}));
|
|
1425
|
+
/** @internal */
|
|
1426
|
+
exports.DeploymentGetConfig2DeploymentsRequest1$inboundSchema = z.object({
|
|
1427
|
+
type: exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4Type$inboundSchema,
|
|
1428
|
+
text: z.string(),
|
|
1429
|
+
});
|
|
1430
|
+
/** @internal */
|
|
1431
|
+
exports.DeploymentGetConfig2DeploymentsRequest1$outboundSchema = z.object({
|
|
1432
|
+
type: exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4Type$outboundSchema,
|
|
1433
|
+
text: z.string(),
|
|
1434
|
+
});
|
|
1435
|
+
/**
|
|
1436
|
+
* @internal
|
|
1437
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1438
|
+
*/
|
|
1439
|
+
var DeploymentGetConfig2DeploymentsRequest1$;
|
|
1440
|
+
(function (DeploymentGetConfig2DeploymentsRequest1$) {
|
|
1441
|
+
/** @deprecated use `DeploymentGetConfig2DeploymentsRequest1$inboundSchema` instead. */
|
|
1442
|
+
DeploymentGetConfig2DeploymentsRequest1$.inboundSchema = exports.DeploymentGetConfig2DeploymentsRequest1$inboundSchema;
|
|
1443
|
+
/** @deprecated use `DeploymentGetConfig2DeploymentsRequest1$outboundSchema` instead. */
|
|
1444
|
+
DeploymentGetConfig2DeploymentsRequest1$.outboundSchema = exports.DeploymentGetConfig2DeploymentsRequest1$outboundSchema;
|
|
1445
|
+
})(DeploymentGetConfig2DeploymentsRequest1$ || (exports.DeploymentGetConfig2DeploymentsRequest1$ = DeploymentGetConfig2DeploymentsRequest1$ = {}));
|
|
1446
|
+
function deploymentGetConfig2DeploymentsRequest1ToJSON(deploymentGetConfig2DeploymentsRequest1) {
|
|
1447
|
+
return JSON.stringify(exports.DeploymentGetConfig2DeploymentsRequest1$outboundSchema.parse(deploymentGetConfig2DeploymentsRequest1));
|
|
1448
|
+
}
|
|
1449
|
+
function deploymentGetConfig2DeploymentsRequest1FromJSON(jsonString) {
|
|
1450
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DeploymentGetConfig2DeploymentsRequest1$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentGetConfig2DeploymentsRequest1' from JSON`);
|
|
1451
|
+
}
|
|
1452
|
+
/** @internal */
|
|
1453
|
+
exports.DeploymentGetConfigContentDeploymentsRequest2$inboundSchema = z.union([
|
|
1454
|
+
z.lazy(() => exports.DeploymentGetConfig2DeploymentsRequest1$inboundSchema),
|
|
1455
|
+
z.lazy(() => exports.DeploymentGetConfig2DeploymentsRequest2$inboundSchema),
|
|
1456
|
+
]);
|
|
1457
|
+
/** @internal */
|
|
1458
|
+
exports.DeploymentGetConfigContentDeploymentsRequest2$outboundSchema = z.union([
|
|
1459
|
+
z.lazy(() => exports.DeploymentGetConfig2DeploymentsRequest1$outboundSchema),
|
|
1460
|
+
z.lazy(() => exports.DeploymentGetConfig2DeploymentsRequest2$outboundSchema),
|
|
1461
|
+
]);
|
|
1462
|
+
/**
|
|
1463
|
+
* @internal
|
|
1464
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1465
|
+
*/
|
|
1466
|
+
var DeploymentGetConfigContentDeploymentsRequest2$;
|
|
1467
|
+
(function (DeploymentGetConfigContentDeploymentsRequest2$) {
|
|
1468
|
+
/** @deprecated use `DeploymentGetConfigContentDeploymentsRequest2$inboundSchema` instead. */
|
|
1469
|
+
DeploymentGetConfigContentDeploymentsRequest2$.inboundSchema = exports.DeploymentGetConfigContentDeploymentsRequest2$inboundSchema;
|
|
1470
|
+
/** @deprecated use `DeploymentGetConfigContentDeploymentsRequest2$outboundSchema` instead. */
|
|
1471
|
+
DeploymentGetConfigContentDeploymentsRequest2$.outboundSchema = exports.DeploymentGetConfigContentDeploymentsRequest2$outboundSchema;
|
|
1472
|
+
})(DeploymentGetConfigContentDeploymentsRequest2$ || (exports.DeploymentGetConfigContentDeploymentsRequest2$ = DeploymentGetConfigContentDeploymentsRequest2$ = {}));
|
|
1473
|
+
function deploymentGetConfigContentDeploymentsRequest2ToJSON(deploymentGetConfigContentDeploymentsRequest2) {
|
|
1474
|
+
return JSON.stringify(exports.DeploymentGetConfigContentDeploymentsRequest2$outboundSchema.parse(deploymentGetConfigContentDeploymentsRequest2));
|
|
1475
|
+
}
|
|
1476
|
+
function deploymentGetConfigContentDeploymentsRequest2FromJSON(jsonString) {
|
|
1477
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DeploymentGetConfigContentDeploymentsRequest2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentGetConfigContentDeploymentsRequest2' from JSON`);
|
|
1478
|
+
}
|
|
1479
|
+
/** @internal */
|
|
1480
|
+
exports.DeploymentGetConfigMessagesContent$inboundSchema = z.union([
|
|
1481
|
+
z.string(),
|
|
1482
|
+
z.array(z.union([
|
|
1483
|
+
z.lazy(() => exports.DeploymentGetConfig2DeploymentsRequest1$inboundSchema),
|
|
1484
|
+
z.lazy(() => exports.DeploymentGetConfig2DeploymentsRequest2$inboundSchema),
|
|
1485
|
+
])),
|
|
1486
|
+
]);
|
|
1487
|
+
/** @internal */
|
|
1488
|
+
exports.DeploymentGetConfigMessagesContent$outboundSchema = z.union([
|
|
1489
|
+
z.string(),
|
|
1490
|
+
z.array(z.union([
|
|
1491
|
+
z.lazy(() => exports.DeploymentGetConfig2DeploymentsRequest1$outboundSchema),
|
|
1492
|
+
z.lazy(() => exports.DeploymentGetConfig2DeploymentsRequest2$outboundSchema),
|
|
1493
|
+
])),
|
|
1494
|
+
]);
|
|
1495
|
+
/**
|
|
1496
|
+
* @internal
|
|
1497
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1498
|
+
*/
|
|
1499
|
+
var DeploymentGetConfigMessagesContent$;
|
|
1500
|
+
(function (DeploymentGetConfigMessagesContent$) {
|
|
1501
|
+
/** @deprecated use `DeploymentGetConfigMessagesContent$inboundSchema` instead. */
|
|
1502
|
+
DeploymentGetConfigMessagesContent$.inboundSchema = exports.DeploymentGetConfigMessagesContent$inboundSchema;
|
|
1503
|
+
/** @deprecated use `DeploymentGetConfigMessagesContent$outboundSchema` instead. */
|
|
1504
|
+
DeploymentGetConfigMessagesContent$.outboundSchema = exports.DeploymentGetConfigMessagesContent$outboundSchema;
|
|
1505
|
+
})(DeploymentGetConfigMessagesContent$ || (exports.DeploymentGetConfigMessagesContent$ = DeploymentGetConfigMessagesContent$ = {}));
|
|
1506
|
+
function deploymentGetConfigMessagesContentToJSON(deploymentGetConfigMessagesContent) {
|
|
1507
|
+
return JSON.stringify(exports.DeploymentGetConfigMessagesContent$outboundSchema.parse(deploymentGetConfigMessagesContent));
|
|
1508
|
+
}
|
|
1509
|
+
function deploymentGetConfigMessagesContentFromJSON(jsonString) {
|
|
1510
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DeploymentGetConfigMessagesContent$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentGetConfigMessagesContent' from JSON`);
|
|
1511
|
+
}
|
|
1512
|
+
/** @internal */
|
|
1513
|
+
exports.DeploymentGetConfigMessagesDeploymentsRequestRole$inboundSchema = z
|
|
1514
|
+
.nativeEnum(exports.DeploymentGetConfigMessagesDeploymentsRequestRole);
|
|
1515
|
+
/** @internal */
|
|
1516
|
+
exports.DeploymentGetConfigMessagesDeploymentsRequestRole$outboundSchema = exports.DeploymentGetConfigMessagesDeploymentsRequestRole$inboundSchema;
|
|
1517
|
+
/**
|
|
1518
|
+
* @internal
|
|
1519
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1520
|
+
*/
|
|
1521
|
+
var DeploymentGetConfigMessagesDeploymentsRequestRole$;
|
|
1522
|
+
(function (DeploymentGetConfigMessagesDeploymentsRequestRole$) {
|
|
1523
|
+
/** @deprecated use `DeploymentGetConfigMessagesDeploymentsRequestRole$inboundSchema` instead. */
|
|
1524
|
+
DeploymentGetConfigMessagesDeploymentsRequestRole$.inboundSchema = exports.DeploymentGetConfigMessagesDeploymentsRequestRole$inboundSchema;
|
|
1525
|
+
/** @deprecated use `DeploymentGetConfigMessagesDeploymentsRequestRole$outboundSchema` instead. */
|
|
1526
|
+
DeploymentGetConfigMessagesDeploymentsRequestRole$.outboundSchema = exports.DeploymentGetConfigMessagesDeploymentsRequestRole$outboundSchema;
|
|
1527
|
+
})(DeploymentGetConfigMessagesDeploymentsRequestRole$ || (exports.DeploymentGetConfigMessagesDeploymentsRequestRole$ = DeploymentGetConfigMessagesDeploymentsRequestRole$ = {}));
|
|
1528
|
+
/** @internal */
|
|
1529
|
+
exports.MessagesAudio$inboundSchema = z.object({
|
|
1530
|
+
id: z.string(),
|
|
1531
|
+
});
|
|
1532
|
+
/** @internal */
|
|
1533
|
+
exports.MessagesAudio$outboundSchema = z.object({
|
|
1534
|
+
id: z.string(),
|
|
1535
|
+
});
|
|
1536
|
+
/**
|
|
1537
|
+
* @internal
|
|
1538
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1539
|
+
*/
|
|
1540
|
+
var MessagesAudio$;
|
|
1541
|
+
(function (MessagesAudio$) {
|
|
1542
|
+
/** @deprecated use `MessagesAudio$inboundSchema` instead. */
|
|
1543
|
+
MessagesAudio$.inboundSchema = exports.MessagesAudio$inboundSchema;
|
|
1544
|
+
/** @deprecated use `MessagesAudio$outboundSchema` instead. */
|
|
1545
|
+
MessagesAudio$.outboundSchema = exports.MessagesAudio$outboundSchema;
|
|
1546
|
+
})(MessagesAudio$ || (exports.MessagesAudio$ = MessagesAudio$ = {}));
|
|
1547
|
+
function messagesAudioToJSON(messagesAudio) {
|
|
1548
|
+
return JSON.stringify(exports.MessagesAudio$outboundSchema.parse(messagesAudio));
|
|
1549
|
+
}
|
|
1550
|
+
function messagesAudioFromJSON(jsonString) {
|
|
1551
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.MessagesAudio$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'MessagesAudio' from JSON`);
|
|
1552
|
+
}
|
|
1553
|
+
/** @internal */
|
|
1554
|
+
exports.MessagesType$inboundSchema = z.nativeEnum(exports.MessagesType);
|
|
1555
|
+
/** @internal */
|
|
1556
|
+
exports.MessagesType$outboundSchema = exports.MessagesType$inboundSchema;
|
|
1557
|
+
/**
|
|
1558
|
+
* @internal
|
|
1559
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1560
|
+
*/
|
|
1561
|
+
var MessagesType$;
|
|
1562
|
+
(function (MessagesType$) {
|
|
1563
|
+
/** @deprecated use `MessagesType$inboundSchema` instead. */
|
|
1564
|
+
MessagesType$.inboundSchema = exports.MessagesType$inboundSchema;
|
|
1565
|
+
/** @deprecated use `MessagesType$outboundSchema` instead. */
|
|
1566
|
+
MessagesType$.outboundSchema = exports.MessagesType$outboundSchema;
|
|
1567
|
+
})(MessagesType$ || (exports.MessagesType$ = MessagesType$ = {}));
|
|
1568
|
+
/** @internal */
|
|
1569
|
+
exports.MessagesFunction$inboundSchema = z.object({
|
|
1570
|
+
name: z.string().optional(),
|
|
1571
|
+
arguments: z.string().optional(),
|
|
1572
|
+
});
|
|
1573
|
+
/** @internal */
|
|
1574
|
+
exports.MessagesFunction$outboundSchema = z.object({
|
|
1575
|
+
name: z.string().optional(),
|
|
1576
|
+
arguments: z.string().optional(),
|
|
1577
|
+
});
|
|
1578
|
+
/**
|
|
1579
|
+
* @internal
|
|
1580
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1581
|
+
*/
|
|
1582
|
+
var MessagesFunction$;
|
|
1583
|
+
(function (MessagesFunction$) {
|
|
1584
|
+
/** @deprecated use `MessagesFunction$inboundSchema` instead. */
|
|
1585
|
+
MessagesFunction$.inboundSchema = exports.MessagesFunction$inboundSchema;
|
|
1586
|
+
/** @deprecated use `MessagesFunction$outboundSchema` instead. */
|
|
1587
|
+
MessagesFunction$.outboundSchema = exports.MessagesFunction$outboundSchema;
|
|
1588
|
+
})(MessagesFunction$ || (exports.MessagesFunction$ = MessagesFunction$ = {}));
|
|
1589
|
+
function messagesFunctionToJSON(messagesFunction) {
|
|
1590
|
+
return JSON.stringify(exports.MessagesFunction$outboundSchema.parse(messagesFunction));
|
|
1591
|
+
}
|
|
1592
|
+
function messagesFunctionFromJSON(jsonString) {
|
|
1593
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.MessagesFunction$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'MessagesFunction' from JSON`);
|
|
1594
|
+
}
|
|
1595
|
+
/** @internal */
|
|
1596
|
+
exports.MessagesToolCalls$inboundSchema = z.object({
|
|
1597
|
+
id: z.string(),
|
|
1598
|
+
type: exports.MessagesType$inboundSchema,
|
|
1599
|
+
function: z.lazy(() => exports.MessagesFunction$inboundSchema),
|
|
1600
|
+
});
|
|
1601
|
+
/** @internal */
|
|
1602
|
+
exports.MessagesToolCalls$outboundSchema = z.object({
|
|
1603
|
+
id: z.string(),
|
|
1604
|
+
type: exports.MessagesType$outboundSchema,
|
|
1605
|
+
function: z.lazy(() => exports.MessagesFunction$outboundSchema),
|
|
1606
|
+
});
|
|
1607
|
+
/**
|
|
1608
|
+
* @internal
|
|
1609
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1610
|
+
*/
|
|
1611
|
+
var MessagesToolCalls$;
|
|
1612
|
+
(function (MessagesToolCalls$) {
|
|
1613
|
+
/** @deprecated use `MessagesToolCalls$inboundSchema` instead. */
|
|
1614
|
+
MessagesToolCalls$.inboundSchema = exports.MessagesToolCalls$inboundSchema;
|
|
1615
|
+
/** @deprecated use `MessagesToolCalls$outboundSchema` instead. */
|
|
1616
|
+
MessagesToolCalls$.outboundSchema = exports.MessagesToolCalls$outboundSchema;
|
|
1617
|
+
})(MessagesToolCalls$ || (exports.MessagesToolCalls$ = MessagesToolCalls$ = {}));
|
|
1618
|
+
function messagesToolCallsToJSON(messagesToolCalls) {
|
|
1619
|
+
return JSON.stringify(exports.MessagesToolCalls$outboundSchema.parse(messagesToolCalls));
|
|
1620
|
+
}
|
|
1621
|
+
function messagesToolCallsFromJSON(jsonString) {
|
|
1622
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.MessagesToolCalls$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'MessagesToolCalls' from JSON`);
|
|
1623
|
+
}
|
|
1624
|
+
/** @internal */
|
|
1625
|
+
exports.Messages4$inboundSchema = z.object({
|
|
1626
|
+
content: z.union([
|
|
1627
|
+
z.string(),
|
|
1628
|
+
z.array(z.union([
|
|
1629
|
+
z.lazy(() => exports.DeploymentGetConfig2DeploymentsRequest1$inboundSchema),
|
|
1630
|
+
z.lazy(() => exports.DeploymentGetConfig2DeploymentsRequest2$inboundSchema),
|
|
1631
|
+
])),
|
|
1632
|
+
]).optional(),
|
|
1633
|
+
refusal: z.nullable(z.string()).optional(),
|
|
1634
|
+
role: exports.DeploymentGetConfigMessagesDeploymentsRequestRole$inboundSchema,
|
|
1635
|
+
name: z.string().optional(),
|
|
1636
|
+
audio: z.nullable(z.lazy(() => exports.MessagesAudio$inboundSchema)).optional(),
|
|
1637
|
+
tool_calls: z.array(z.lazy(() => exports.MessagesToolCalls$inboundSchema)).optional(),
|
|
1638
|
+
}).transform((v) => {
|
|
1639
|
+
return (0, primitives_js_1.remap)(v, {
|
|
1640
|
+
"tool_calls": "toolCalls",
|
|
1641
|
+
});
|
|
1642
|
+
});
|
|
1643
|
+
/** @internal */
|
|
1644
|
+
exports.Messages4$outboundSchema = z.object({
|
|
1645
|
+
content: z.union([
|
|
1646
|
+
z.string(),
|
|
1647
|
+
z.array(z.union([
|
|
1648
|
+
z.lazy(() => exports.DeploymentGetConfig2DeploymentsRequest1$outboundSchema),
|
|
1649
|
+
z.lazy(() => exports.DeploymentGetConfig2DeploymentsRequest2$outboundSchema),
|
|
1650
|
+
])),
|
|
1651
|
+
]).optional(),
|
|
1652
|
+
refusal: z.nullable(z.string()).optional(),
|
|
1653
|
+
role: exports.DeploymentGetConfigMessagesDeploymentsRequestRole$outboundSchema,
|
|
1654
|
+
name: z.string().optional(),
|
|
1655
|
+
audio: z.nullable(z.lazy(() => exports.MessagesAudio$outboundSchema)).optional(),
|
|
1656
|
+
toolCalls: z.array(z.lazy(() => exports.MessagesToolCalls$outboundSchema)).optional(),
|
|
1657
|
+
}).transform((v) => {
|
|
1658
|
+
return (0, primitives_js_1.remap)(v, {
|
|
1659
|
+
toolCalls: "tool_calls",
|
|
1660
|
+
});
|
|
1661
|
+
});
|
|
1662
|
+
/**
|
|
1663
|
+
* @internal
|
|
1664
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1665
|
+
*/
|
|
1666
|
+
var Messages4$;
|
|
1667
|
+
(function (Messages4$) {
|
|
1668
|
+
/** @deprecated use `Messages4$inboundSchema` instead. */
|
|
1669
|
+
Messages4$.inboundSchema = exports.Messages4$inboundSchema;
|
|
1670
|
+
/** @deprecated use `Messages4$outboundSchema` instead. */
|
|
1671
|
+
Messages4$.outboundSchema = exports.Messages4$outboundSchema;
|
|
1672
|
+
})(Messages4$ || (exports.Messages4$ = Messages4$ = {}));
|
|
1673
|
+
function messages4ToJSON(messages4) {
|
|
1674
|
+
return JSON.stringify(exports.Messages4$outboundSchema.parse(messages4));
|
|
1675
|
+
}
|
|
1676
|
+
function messages4FromJSON(jsonString) {
|
|
1677
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.Messages4$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Messages4' from JSON`);
|
|
1678
|
+
}
|
|
1679
|
+
/** @internal */
|
|
1680
|
+
exports.DeploymentGetConfigMessagesDeploymentsRole$inboundSchema = z
|
|
1681
|
+
.nativeEnum(exports.DeploymentGetConfigMessagesDeploymentsRole);
|
|
1682
|
+
/** @internal */
|
|
1683
|
+
exports.DeploymentGetConfigMessagesDeploymentsRole$outboundSchema = exports.DeploymentGetConfigMessagesDeploymentsRole$inboundSchema;
|
|
1684
|
+
/**
|
|
1685
|
+
* @internal
|
|
1686
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1687
|
+
*/
|
|
1688
|
+
var DeploymentGetConfigMessagesDeploymentsRole$;
|
|
1689
|
+
(function (DeploymentGetConfigMessagesDeploymentsRole$) {
|
|
1690
|
+
/** @deprecated use `DeploymentGetConfigMessagesDeploymentsRole$inboundSchema` instead. */
|
|
1691
|
+
DeploymentGetConfigMessagesDeploymentsRole$.inboundSchema = exports.DeploymentGetConfigMessagesDeploymentsRole$inboundSchema;
|
|
1692
|
+
/** @deprecated use `DeploymentGetConfigMessagesDeploymentsRole$outboundSchema` instead. */
|
|
1693
|
+
DeploymentGetConfigMessagesDeploymentsRole$.outboundSchema = exports.DeploymentGetConfigMessagesDeploymentsRole$outboundSchema;
|
|
1694
|
+
})(DeploymentGetConfigMessagesDeploymentsRole$ || (exports.DeploymentGetConfigMessagesDeploymentsRole$ = DeploymentGetConfigMessagesDeploymentsRole$ = {}));
|
|
1695
|
+
/** @internal */
|
|
1696
|
+
exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages3Type$inboundSchema = z.nativeEnum(exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages3Type);
|
|
1697
|
+
/** @internal */
|
|
1698
|
+
exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages3Type$outboundSchema = exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages3Type$inboundSchema;
|
|
1699
|
+
/**
|
|
1700
|
+
* @internal
|
|
1701
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1702
|
+
*/
|
|
1703
|
+
var DeploymentGetConfig2DeploymentsRequestRequestBodyMessages3Type$;
|
|
1704
|
+
(function (DeploymentGetConfig2DeploymentsRequestRequestBodyMessages3Type$) {
|
|
1705
|
+
/** @deprecated use `DeploymentGetConfig2DeploymentsRequestRequestBodyMessages3Type$inboundSchema` instead. */
|
|
1706
|
+
DeploymentGetConfig2DeploymentsRequestRequestBodyMessages3Type$.inboundSchema = exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages3Type$inboundSchema;
|
|
1707
|
+
/** @deprecated use `DeploymentGetConfig2DeploymentsRequestRequestBodyMessages3Type$outboundSchema` instead. */
|
|
1708
|
+
DeploymentGetConfig2DeploymentsRequestRequestBodyMessages3Type$.outboundSchema = exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages3Type$outboundSchema;
|
|
1709
|
+
})(DeploymentGetConfig2DeploymentsRequestRequestBodyMessages3Type$ || (exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages3Type$ = DeploymentGetConfig2DeploymentsRequestRequestBodyMessages3Type$ = {}));
|
|
1710
|
+
/** @internal */
|
|
1711
|
+
exports.TwoFormat$inboundSchema = z
|
|
1712
|
+
.nativeEnum(exports.TwoFormat);
|
|
1713
|
+
/** @internal */
|
|
1714
|
+
exports.TwoFormat$outboundSchema = exports.TwoFormat$inboundSchema;
|
|
1715
|
+
/**
|
|
1716
|
+
* @internal
|
|
1717
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1718
|
+
*/
|
|
1719
|
+
var TwoFormat$;
|
|
1720
|
+
(function (TwoFormat$) {
|
|
1721
|
+
/** @deprecated use `TwoFormat$inboundSchema` instead. */
|
|
1722
|
+
TwoFormat$.inboundSchema = exports.TwoFormat$inboundSchema;
|
|
1723
|
+
/** @deprecated use `TwoFormat$outboundSchema` instead. */
|
|
1724
|
+
TwoFormat$.outboundSchema = exports.TwoFormat$outboundSchema;
|
|
1725
|
+
})(TwoFormat$ || (exports.TwoFormat$ = TwoFormat$ = {}));
|
|
1726
|
+
/** @internal */
|
|
1727
|
+
exports.TwoInputAudio$inboundSchema = z.object({
|
|
1728
|
+
data: z.string(),
|
|
1729
|
+
format: exports.TwoFormat$inboundSchema,
|
|
1730
|
+
});
|
|
1731
|
+
/** @internal */
|
|
1732
|
+
exports.TwoInputAudio$outboundSchema = z.object({
|
|
1733
|
+
data: z.string(),
|
|
1734
|
+
format: exports.TwoFormat$outboundSchema,
|
|
1735
|
+
});
|
|
1736
|
+
/**
|
|
1737
|
+
* @internal
|
|
1738
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1739
|
+
*/
|
|
1740
|
+
var TwoInputAudio$;
|
|
1741
|
+
(function (TwoInputAudio$) {
|
|
1742
|
+
/** @deprecated use `TwoInputAudio$inboundSchema` instead. */
|
|
1743
|
+
TwoInputAudio$.inboundSchema = exports.TwoInputAudio$inboundSchema;
|
|
1744
|
+
/** @deprecated use `TwoInputAudio$outboundSchema` instead. */
|
|
1745
|
+
TwoInputAudio$.outboundSchema = exports.TwoInputAudio$outboundSchema;
|
|
1746
|
+
})(TwoInputAudio$ || (exports.TwoInputAudio$ = TwoInputAudio$ = {}));
|
|
1747
|
+
function twoInputAudioToJSON(twoInputAudio) {
|
|
1748
|
+
return JSON.stringify(exports.TwoInputAudio$outboundSchema.parse(twoInputAudio));
|
|
1749
|
+
}
|
|
1750
|
+
function twoInputAudioFromJSON(jsonString) {
|
|
1751
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.TwoInputAudio$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TwoInputAudio' from JSON`);
|
|
1752
|
+
}
|
|
1753
|
+
/** @internal */
|
|
1754
|
+
exports.DeploymentGetConfig23$inboundSchema = z.object({
|
|
1755
|
+
type: exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages3Type$inboundSchema,
|
|
1756
|
+
input_audio: z.lazy(() => exports.TwoInputAudio$inboundSchema),
|
|
1757
|
+
}).transform((v) => {
|
|
1758
|
+
return (0, primitives_js_1.remap)(v, {
|
|
1759
|
+
"input_audio": "inputAudio",
|
|
1760
|
+
});
|
|
1761
|
+
});
|
|
1762
|
+
/** @internal */
|
|
1763
|
+
exports.DeploymentGetConfig23$outboundSchema = z.object({
|
|
1764
|
+
type: exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages3Type$outboundSchema,
|
|
1765
|
+
inputAudio: z.lazy(() => exports.TwoInputAudio$outboundSchema),
|
|
1766
|
+
}).transform((v) => {
|
|
1767
|
+
return (0, primitives_js_1.remap)(v, {
|
|
1768
|
+
inputAudio: "input_audio",
|
|
1769
|
+
});
|
|
1770
|
+
});
|
|
1771
|
+
/**
|
|
1772
|
+
* @internal
|
|
1773
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1774
|
+
*/
|
|
1775
|
+
var DeploymentGetConfig23$;
|
|
1776
|
+
(function (DeploymentGetConfig23$) {
|
|
1777
|
+
/** @deprecated use `DeploymentGetConfig23$inboundSchema` instead. */
|
|
1778
|
+
DeploymentGetConfig23$.inboundSchema = exports.DeploymentGetConfig23$inboundSchema;
|
|
1779
|
+
/** @deprecated use `DeploymentGetConfig23$outboundSchema` instead. */
|
|
1780
|
+
DeploymentGetConfig23$.outboundSchema = exports.DeploymentGetConfig23$outboundSchema;
|
|
1781
|
+
})(DeploymentGetConfig23$ || (exports.DeploymentGetConfig23$ = DeploymentGetConfig23$ = {}));
|
|
1782
|
+
function deploymentGetConfig23ToJSON(deploymentGetConfig23) {
|
|
1783
|
+
return JSON.stringify(exports.DeploymentGetConfig23$outboundSchema.parse(deploymentGetConfig23));
|
|
1784
|
+
}
|
|
1785
|
+
function deploymentGetConfig23FromJSON(jsonString) {
|
|
1786
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DeploymentGetConfig23$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentGetConfig23' from JSON`);
|
|
1787
|
+
}
|
|
1788
|
+
/** @internal */
|
|
1789
|
+
exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessagesType$inboundSchema = z.nativeEnum(exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessagesType);
|
|
1790
|
+
/** @internal */
|
|
1791
|
+
exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessagesType$outboundSchema = exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessagesType$inboundSchema;
|
|
1792
|
+
/**
|
|
1793
|
+
* @internal
|
|
1794
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1795
|
+
*/
|
|
1796
|
+
var DeploymentGetConfig2DeploymentsRequestRequestBodyMessagesType$;
|
|
1797
|
+
(function (DeploymentGetConfig2DeploymentsRequestRequestBodyMessagesType$) {
|
|
1798
|
+
/** @deprecated use `DeploymentGetConfig2DeploymentsRequestRequestBodyMessagesType$inboundSchema` instead. */
|
|
1799
|
+
DeploymentGetConfig2DeploymentsRequestRequestBodyMessagesType$.inboundSchema = exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessagesType$inboundSchema;
|
|
1800
|
+
/** @deprecated use `DeploymentGetConfig2DeploymentsRequestRequestBodyMessagesType$outboundSchema` instead. */
|
|
1801
|
+
DeploymentGetConfig2DeploymentsRequestRequestBodyMessagesType$.outboundSchema = exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessagesType$outboundSchema;
|
|
1802
|
+
})(DeploymentGetConfig2DeploymentsRequestRequestBodyMessagesType$ || (exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessagesType$ = DeploymentGetConfig2DeploymentsRequestRequestBodyMessagesType$ = {}));
|
|
1803
|
+
/** @internal */
|
|
1804
|
+
exports.TwoDetail$inboundSchema = z
|
|
1805
|
+
.nativeEnum(exports.TwoDetail);
|
|
1806
|
+
/** @internal */
|
|
1807
|
+
exports.TwoDetail$outboundSchema = exports.TwoDetail$inboundSchema;
|
|
1808
|
+
/**
|
|
1809
|
+
* @internal
|
|
1810
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1811
|
+
*/
|
|
1812
|
+
var TwoDetail$;
|
|
1813
|
+
(function (TwoDetail$) {
|
|
1814
|
+
/** @deprecated use `TwoDetail$inboundSchema` instead. */
|
|
1815
|
+
TwoDetail$.inboundSchema = exports.TwoDetail$inboundSchema;
|
|
1816
|
+
/** @deprecated use `TwoDetail$outboundSchema` instead. */
|
|
1817
|
+
TwoDetail$.outboundSchema = exports.TwoDetail$outboundSchema;
|
|
1818
|
+
})(TwoDetail$ || (exports.TwoDetail$ = TwoDetail$ = {}));
|
|
1819
|
+
/** @internal */
|
|
1820
|
+
exports.TwoImageUrl$inboundSchema = z.object({
|
|
1821
|
+
url: z.string(),
|
|
1822
|
+
detail: exports.TwoDetail$inboundSchema.optional(),
|
|
1823
|
+
});
|
|
1824
|
+
/** @internal */
|
|
1825
|
+
exports.TwoImageUrl$outboundSchema = z.object({
|
|
1826
|
+
url: z.string(),
|
|
1827
|
+
detail: exports.TwoDetail$outboundSchema.optional(),
|
|
1828
|
+
});
|
|
1829
|
+
/**
|
|
1830
|
+
* @internal
|
|
1831
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1832
|
+
*/
|
|
1833
|
+
var TwoImageUrl$;
|
|
1834
|
+
(function (TwoImageUrl$) {
|
|
1835
|
+
/** @deprecated use `TwoImageUrl$inboundSchema` instead. */
|
|
1836
|
+
TwoImageUrl$.inboundSchema = exports.TwoImageUrl$inboundSchema;
|
|
1837
|
+
/** @deprecated use `TwoImageUrl$outboundSchema` instead. */
|
|
1838
|
+
TwoImageUrl$.outboundSchema = exports.TwoImageUrl$outboundSchema;
|
|
1839
|
+
})(TwoImageUrl$ || (exports.TwoImageUrl$ = TwoImageUrl$ = {}));
|
|
1840
|
+
function twoImageUrlToJSON(twoImageUrl) {
|
|
1841
|
+
return JSON.stringify(exports.TwoImageUrl$outboundSchema.parse(twoImageUrl));
|
|
1842
|
+
}
|
|
1843
|
+
function twoImageUrlFromJSON(jsonString) {
|
|
1844
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.TwoImageUrl$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TwoImageUrl' from JSON`);
|
|
1845
|
+
}
|
|
1846
|
+
/** @internal */
|
|
1847
|
+
exports.DeploymentGetConfig2Deployments2$inboundSchema = z.object({
|
|
1848
|
+
type: exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessagesType$inboundSchema,
|
|
1849
|
+
image_url: z.lazy(() => exports.TwoImageUrl$inboundSchema),
|
|
1850
|
+
}).transform((v) => {
|
|
1851
|
+
return (0, primitives_js_1.remap)(v, {
|
|
1852
|
+
"image_url": "imageUrl",
|
|
1853
|
+
});
|
|
1854
|
+
});
|
|
1855
|
+
/** @internal */
|
|
1856
|
+
exports.DeploymentGetConfig2Deployments2$outboundSchema = z.object({
|
|
1857
|
+
type: exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessagesType$outboundSchema,
|
|
1858
|
+
imageUrl: z.lazy(() => exports.TwoImageUrl$outboundSchema),
|
|
1859
|
+
}).transform((v) => {
|
|
1860
|
+
return (0, primitives_js_1.remap)(v, {
|
|
1861
|
+
imageUrl: "image_url",
|
|
1862
|
+
});
|
|
1863
|
+
});
|
|
1864
|
+
/**
|
|
1865
|
+
* @internal
|
|
1866
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1867
|
+
*/
|
|
1868
|
+
var DeploymentGetConfig2Deployments2$;
|
|
1869
|
+
(function (DeploymentGetConfig2Deployments2$) {
|
|
1870
|
+
/** @deprecated use `DeploymentGetConfig2Deployments2$inboundSchema` instead. */
|
|
1871
|
+
DeploymentGetConfig2Deployments2$.inboundSchema = exports.DeploymentGetConfig2Deployments2$inboundSchema;
|
|
1872
|
+
/** @deprecated use `DeploymentGetConfig2Deployments2$outboundSchema` instead. */
|
|
1873
|
+
DeploymentGetConfig2Deployments2$.outboundSchema = exports.DeploymentGetConfig2Deployments2$outboundSchema;
|
|
1874
|
+
})(DeploymentGetConfig2Deployments2$ || (exports.DeploymentGetConfig2Deployments2$ = DeploymentGetConfig2Deployments2$ = {}));
|
|
1875
|
+
function deploymentGetConfig2Deployments2ToJSON(deploymentGetConfig2Deployments2) {
|
|
1876
|
+
return JSON.stringify(exports.DeploymentGetConfig2Deployments2$outboundSchema.parse(deploymentGetConfig2Deployments2));
|
|
1877
|
+
}
|
|
1878
|
+
function deploymentGetConfig2Deployments2FromJSON(jsonString) {
|
|
1879
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DeploymentGetConfig2Deployments2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentGetConfig2Deployments2' from JSON`);
|
|
1880
|
+
}
|
|
1881
|
+
/** @internal */
|
|
1882
|
+
exports.DeploymentGetConfig2DeploymentsRequestRequestBodyType$inboundSchema = z.nativeEnum(exports.DeploymentGetConfig2DeploymentsRequestRequestBodyType);
|
|
1883
|
+
/** @internal */
|
|
1884
|
+
exports.DeploymentGetConfig2DeploymentsRequestRequestBodyType$outboundSchema = exports.DeploymentGetConfig2DeploymentsRequestRequestBodyType$inboundSchema;
|
|
1885
|
+
/**
|
|
1886
|
+
* @internal
|
|
1887
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1888
|
+
*/
|
|
1889
|
+
var DeploymentGetConfig2DeploymentsRequestRequestBodyType$;
|
|
1890
|
+
(function (DeploymentGetConfig2DeploymentsRequestRequestBodyType$) {
|
|
1891
|
+
/** @deprecated use `DeploymentGetConfig2DeploymentsRequestRequestBodyType$inboundSchema` instead. */
|
|
1892
|
+
DeploymentGetConfig2DeploymentsRequestRequestBodyType$.inboundSchema = exports.DeploymentGetConfig2DeploymentsRequestRequestBodyType$inboundSchema;
|
|
1893
|
+
/** @deprecated use `DeploymentGetConfig2DeploymentsRequestRequestBodyType$outboundSchema` instead. */
|
|
1894
|
+
DeploymentGetConfig2DeploymentsRequestRequestBodyType$.outboundSchema = exports.DeploymentGetConfig2DeploymentsRequestRequestBodyType$outboundSchema;
|
|
1895
|
+
})(DeploymentGetConfig2DeploymentsRequestRequestBodyType$ || (exports.DeploymentGetConfig2DeploymentsRequestRequestBodyType$ = DeploymentGetConfig2DeploymentsRequestRequestBodyType$ = {}));
|
|
1896
|
+
/** @internal */
|
|
1897
|
+
exports.DeploymentGetConfig2Deployments1$inboundSchema = z.object({
|
|
1898
|
+
type: exports.DeploymentGetConfig2DeploymentsRequestRequestBodyType$inboundSchema,
|
|
1899
|
+
text: z.string(),
|
|
1900
|
+
});
|
|
1901
|
+
/** @internal */
|
|
1902
|
+
exports.DeploymentGetConfig2Deployments1$outboundSchema = z.object({
|
|
1903
|
+
type: exports.DeploymentGetConfig2DeploymentsRequestRequestBodyType$outboundSchema,
|
|
1904
|
+
text: z.string(),
|
|
1905
|
+
});
|
|
1906
|
+
/**
|
|
1907
|
+
* @internal
|
|
1908
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1909
|
+
*/
|
|
1910
|
+
var DeploymentGetConfig2Deployments1$;
|
|
1911
|
+
(function (DeploymentGetConfig2Deployments1$) {
|
|
1912
|
+
/** @deprecated use `DeploymentGetConfig2Deployments1$inboundSchema` instead. */
|
|
1913
|
+
DeploymentGetConfig2Deployments1$.inboundSchema = exports.DeploymentGetConfig2Deployments1$inboundSchema;
|
|
1914
|
+
/** @deprecated use `DeploymentGetConfig2Deployments1$outboundSchema` instead. */
|
|
1915
|
+
DeploymentGetConfig2Deployments1$.outboundSchema = exports.DeploymentGetConfig2Deployments1$outboundSchema;
|
|
1916
|
+
})(DeploymentGetConfig2Deployments1$ || (exports.DeploymentGetConfig2Deployments1$ = DeploymentGetConfig2Deployments1$ = {}));
|
|
1917
|
+
function deploymentGetConfig2Deployments1ToJSON(deploymentGetConfig2Deployments1) {
|
|
1918
|
+
return JSON.stringify(exports.DeploymentGetConfig2Deployments1$outboundSchema.parse(deploymentGetConfig2Deployments1));
|
|
1919
|
+
}
|
|
1920
|
+
function deploymentGetConfig2Deployments1FromJSON(jsonString) {
|
|
1921
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DeploymentGetConfig2Deployments1$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentGetConfig2Deployments1' from JSON`);
|
|
1922
|
+
}
|
|
1923
|
+
/** @internal */
|
|
1924
|
+
exports.DeploymentGetConfigContentDeployments2$inboundSchema = z.union([
|
|
1925
|
+
z.lazy(() => exports.DeploymentGetConfig2Deployments1$inboundSchema),
|
|
1926
|
+
z.lazy(() => exports.DeploymentGetConfig2Deployments2$inboundSchema),
|
|
1927
|
+
z.lazy(() => exports.DeploymentGetConfig23$inboundSchema),
|
|
1928
|
+
]);
|
|
1929
|
+
/** @internal */
|
|
1930
|
+
exports.DeploymentGetConfigContentDeployments2$outboundSchema = z.union([
|
|
1931
|
+
z.lazy(() => exports.DeploymentGetConfig2Deployments1$outboundSchema),
|
|
1932
|
+
z.lazy(() => exports.DeploymentGetConfig2Deployments2$outboundSchema),
|
|
1933
|
+
z.lazy(() => exports.DeploymentGetConfig23$outboundSchema),
|
|
1934
|
+
]);
|
|
1935
|
+
/**
|
|
1936
|
+
* @internal
|
|
1937
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1938
|
+
*/
|
|
1939
|
+
var DeploymentGetConfigContentDeployments2$;
|
|
1940
|
+
(function (DeploymentGetConfigContentDeployments2$) {
|
|
1941
|
+
/** @deprecated use `DeploymentGetConfigContentDeployments2$inboundSchema` instead. */
|
|
1942
|
+
DeploymentGetConfigContentDeployments2$.inboundSchema = exports.DeploymentGetConfigContentDeployments2$inboundSchema;
|
|
1943
|
+
/** @deprecated use `DeploymentGetConfigContentDeployments2$outboundSchema` instead. */
|
|
1944
|
+
DeploymentGetConfigContentDeployments2$.outboundSchema = exports.DeploymentGetConfigContentDeployments2$outboundSchema;
|
|
1945
|
+
})(DeploymentGetConfigContentDeployments2$ || (exports.DeploymentGetConfigContentDeployments2$ = DeploymentGetConfigContentDeployments2$ = {}));
|
|
1946
|
+
function deploymentGetConfigContentDeployments2ToJSON(deploymentGetConfigContentDeployments2) {
|
|
1947
|
+
return JSON.stringify(exports.DeploymentGetConfigContentDeployments2$outboundSchema.parse(deploymentGetConfigContentDeployments2));
|
|
1948
|
+
}
|
|
1949
|
+
function deploymentGetConfigContentDeployments2FromJSON(jsonString) {
|
|
1950
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DeploymentGetConfigContentDeployments2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentGetConfigContentDeployments2' from JSON`);
|
|
1951
|
+
}
|
|
1952
|
+
/** @internal */
|
|
1953
|
+
exports.MessagesContent$inboundSchema = z.union([
|
|
1954
|
+
z.string(),
|
|
1955
|
+
z.array(z.union([
|
|
1956
|
+
z.lazy(() => exports.DeploymentGetConfig2Deployments1$inboundSchema),
|
|
1957
|
+
z.lazy(() => exports.DeploymentGetConfig2Deployments2$inboundSchema),
|
|
1958
|
+
z.lazy(() => exports.DeploymentGetConfig23$inboundSchema),
|
|
1959
|
+
])),
|
|
1960
|
+
]);
|
|
1961
|
+
/** @internal */
|
|
1962
|
+
exports.MessagesContent$outboundSchema = z.union([
|
|
1963
|
+
z.string(),
|
|
1964
|
+
z.array(z.union([
|
|
1965
|
+
z.lazy(() => exports.DeploymentGetConfig2Deployments1$outboundSchema),
|
|
1966
|
+
z.lazy(() => exports.DeploymentGetConfig2Deployments2$outboundSchema),
|
|
1967
|
+
z.lazy(() => exports.DeploymentGetConfig23$outboundSchema),
|
|
1968
|
+
])),
|
|
1969
|
+
]);
|
|
1970
|
+
/**
|
|
1971
|
+
* @internal
|
|
1972
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1973
|
+
*/
|
|
1974
|
+
var MessagesContent$;
|
|
1975
|
+
(function (MessagesContent$) {
|
|
1976
|
+
/** @deprecated use `MessagesContent$inboundSchema` instead. */
|
|
1977
|
+
MessagesContent$.inboundSchema = exports.MessagesContent$inboundSchema;
|
|
1978
|
+
/** @deprecated use `MessagesContent$outboundSchema` instead. */
|
|
1979
|
+
MessagesContent$.outboundSchema = exports.MessagesContent$outboundSchema;
|
|
1980
|
+
})(MessagesContent$ || (exports.MessagesContent$ = MessagesContent$ = {}));
|
|
1981
|
+
function messagesContentToJSON(messagesContent) {
|
|
1982
|
+
return JSON.stringify(exports.MessagesContent$outboundSchema.parse(messagesContent));
|
|
851
1983
|
}
|
|
852
|
-
function
|
|
853
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.
|
|
1984
|
+
function messagesContentFromJSON(jsonString) {
|
|
1985
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.MessagesContent$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'MessagesContent' from JSON`);
|
|
854
1986
|
}
|
|
855
1987
|
/** @internal */
|
|
856
|
-
exports.
|
|
857
|
-
role: exports.
|
|
1988
|
+
exports.Messages3$inboundSchema = z.object({
|
|
1989
|
+
role: exports.DeploymentGetConfigMessagesDeploymentsRole$inboundSchema,
|
|
1990
|
+
name: z.string().optional(),
|
|
858
1991
|
content: z.union([
|
|
859
1992
|
z.string(),
|
|
860
1993
|
z.array(z.union([
|
|
861
|
-
z.lazy(() => exports.
|
|
862
|
-
z.lazy(() => exports.
|
|
1994
|
+
z.lazy(() => exports.DeploymentGetConfig2Deployments1$inboundSchema),
|
|
1995
|
+
z.lazy(() => exports.DeploymentGetConfig2Deployments2$inboundSchema),
|
|
1996
|
+
z.lazy(() => exports.DeploymentGetConfig23$inboundSchema),
|
|
863
1997
|
])),
|
|
864
1998
|
]),
|
|
865
|
-
tool_calls: z.array(z.lazy(() => exports.DeploymentGetConfigToolCalls$inboundSchema))
|
|
866
|
-
.optional(),
|
|
867
|
-
}).transform((v) => {
|
|
868
|
-
return (0, primitives_js_1.remap)(v, {
|
|
869
|
-
"tool_calls": "toolCalls",
|
|
870
|
-
});
|
|
871
1999
|
});
|
|
872
2000
|
/** @internal */
|
|
873
|
-
exports.
|
|
874
|
-
role: exports.
|
|
2001
|
+
exports.Messages3$outboundSchema = z.object({
|
|
2002
|
+
role: exports.DeploymentGetConfigMessagesDeploymentsRole$outboundSchema,
|
|
2003
|
+
name: z.string().optional(),
|
|
875
2004
|
content: z.union([
|
|
876
2005
|
z.string(),
|
|
877
2006
|
z.array(z.union([
|
|
878
|
-
z.lazy(() => exports.
|
|
879
|
-
z.lazy(() => exports.
|
|
2007
|
+
z.lazy(() => exports.DeploymentGetConfig2Deployments1$outboundSchema),
|
|
2008
|
+
z.lazy(() => exports.DeploymentGetConfig2Deployments2$outboundSchema),
|
|
2009
|
+
z.lazy(() => exports.DeploymentGetConfig23$outboundSchema),
|
|
880
2010
|
])),
|
|
881
2011
|
]),
|
|
882
|
-
toolCalls: z.array(z.lazy(() => exports.DeploymentGetConfigToolCalls$outboundSchema))
|
|
883
|
-
.optional(),
|
|
884
|
-
}).transform((v) => {
|
|
885
|
-
return (0, primitives_js_1.remap)(v, {
|
|
886
|
-
toolCalls: "tool_calls",
|
|
887
|
-
});
|
|
888
2012
|
});
|
|
2013
|
+
/**
|
|
2014
|
+
* @internal
|
|
2015
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2016
|
+
*/
|
|
2017
|
+
var Messages3$;
|
|
2018
|
+
(function (Messages3$) {
|
|
2019
|
+
/** @deprecated use `Messages3$inboundSchema` instead. */
|
|
2020
|
+
Messages3$.inboundSchema = exports.Messages3$inboundSchema;
|
|
2021
|
+
/** @deprecated use `Messages3$outboundSchema` instead. */
|
|
2022
|
+
Messages3$.outboundSchema = exports.Messages3$outboundSchema;
|
|
2023
|
+
})(Messages3$ || (exports.Messages3$ = Messages3$ = {}));
|
|
2024
|
+
function messages3ToJSON(messages3) {
|
|
2025
|
+
return JSON.stringify(exports.Messages3$outboundSchema.parse(messages3));
|
|
2026
|
+
}
|
|
2027
|
+
function messages3FromJSON(jsonString) {
|
|
2028
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.Messages3$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Messages3' from JSON`);
|
|
2029
|
+
}
|
|
2030
|
+
/** @internal */
|
|
2031
|
+
exports.DeploymentGetConfigMessagesRole$inboundSchema = z.nativeEnum(exports.DeploymentGetConfigMessagesRole);
|
|
2032
|
+
/** @internal */
|
|
2033
|
+
exports.DeploymentGetConfigMessagesRole$outboundSchema = exports.DeploymentGetConfigMessagesRole$inboundSchema;
|
|
2034
|
+
/**
|
|
2035
|
+
* @internal
|
|
2036
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2037
|
+
*/
|
|
2038
|
+
var DeploymentGetConfigMessagesRole$;
|
|
2039
|
+
(function (DeploymentGetConfigMessagesRole$) {
|
|
2040
|
+
/** @deprecated use `DeploymentGetConfigMessagesRole$inboundSchema` instead. */
|
|
2041
|
+
DeploymentGetConfigMessagesRole$.inboundSchema = exports.DeploymentGetConfigMessagesRole$inboundSchema;
|
|
2042
|
+
/** @deprecated use `DeploymentGetConfigMessagesRole$outboundSchema` instead. */
|
|
2043
|
+
DeploymentGetConfigMessagesRole$.outboundSchema = exports.DeploymentGetConfigMessagesRole$outboundSchema;
|
|
2044
|
+
})(DeploymentGetConfigMessagesRole$ || (exports.DeploymentGetConfigMessagesRole$ = DeploymentGetConfigMessagesRole$ = {}));
|
|
2045
|
+
/** @internal */
|
|
2046
|
+
exports.Messages2$inboundSchema = z.object({
|
|
2047
|
+
role: exports.DeploymentGetConfigMessagesRole$inboundSchema,
|
|
2048
|
+
content: z.string(),
|
|
2049
|
+
name: z.string().optional(),
|
|
2050
|
+
});
|
|
2051
|
+
/** @internal */
|
|
2052
|
+
exports.Messages2$outboundSchema = z.object({
|
|
2053
|
+
role: exports.DeploymentGetConfigMessagesRole$outboundSchema,
|
|
2054
|
+
content: z.string(),
|
|
2055
|
+
name: z.string().optional(),
|
|
2056
|
+
});
|
|
2057
|
+
/**
|
|
2058
|
+
* @internal
|
|
2059
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2060
|
+
*/
|
|
2061
|
+
var Messages2$;
|
|
2062
|
+
(function (Messages2$) {
|
|
2063
|
+
/** @deprecated use `Messages2$inboundSchema` instead. */
|
|
2064
|
+
Messages2$.inboundSchema = exports.Messages2$inboundSchema;
|
|
2065
|
+
/** @deprecated use `Messages2$outboundSchema` instead. */
|
|
2066
|
+
Messages2$.outboundSchema = exports.Messages2$outboundSchema;
|
|
2067
|
+
})(Messages2$ || (exports.Messages2$ = Messages2$ = {}));
|
|
2068
|
+
function messages2ToJSON(messages2) {
|
|
2069
|
+
return JSON.stringify(exports.Messages2$outboundSchema.parse(messages2));
|
|
2070
|
+
}
|
|
2071
|
+
function messages2FromJSON(jsonString) {
|
|
2072
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.Messages2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Messages2' from JSON`);
|
|
2073
|
+
}
|
|
2074
|
+
/** @internal */
|
|
2075
|
+
exports.MessagesRole$inboundSchema = z.nativeEnum(exports.MessagesRole);
|
|
2076
|
+
/** @internal */
|
|
2077
|
+
exports.MessagesRole$outboundSchema = exports.MessagesRole$inboundSchema;
|
|
2078
|
+
/**
|
|
2079
|
+
* @internal
|
|
2080
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2081
|
+
*/
|
|
2082
|
+
var MessagesRole$;
|
|
2083
|
+
(function (MessagesRole$) {
|
|
2084
|
+
/** @deprecated use `MessagesRole$inboundSchema` instead. */
|
|
2085
|
+
MessagesRole$.inboundSchema = exports.MessagesRole$inboundSchema;
|
|
2086
|
+
/** @deprecated use `MessagesRole$outboundSchema` instead. */
|
|
2087
|
+
MessagesRole$.outboundSchema = exports.MessagesRole$outboundSchema;
|
|
2088
|
+
})(MessagesRole$ || (exports.MessagesRole$ = MessagesRole$ = {}));
|
|
2089
|
+
/** @internal */
|
|
2090
|
+
exports.Messages1$inboundSchema = z.object({
|
|
2091
|
+
role: exports.MessagesRole$inboundSchema,
|
|
2092
|
+
content: z.string(),
|
|
2093
|
+
name: z.string().optional(),
|
|
2094
|
+
});
|
|
2095
|
+
/** @internal */
|
|
2096
|
+
exports.Messages1$outboundSchema = z.object({
|
|
2097
|
+
role: exports.MessagesRole$outboundSchema,
|
|
2098
|
+
content: z.string(),
|
|
2099
|
+
name: z.string().optional(),
|
|
2100
|
+
});
|
|
2101
|
+
/**
|
|
2102
|
+
* @internal
|
|
2103
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2104
|
+
*/
|
|
2105
|
+
var Messages1$;
|
|
2106
|
+
(function (Messages1$) {
|
|
2107
|
+
/** @deprecated use `Messages1$inboundSchema` instead. */
|
|
2108
|
+
Messages1$.inboundSchema = exports.Messages1$inboundSchema;
|
|
2109
|
+
/** @deprecated use `Messages1$outboundSchema` instead. */
|
|
2110
|
+
Messages1$.outboundSchema = exports.Messages1$outboundSchema;
|
|
2111
|
+
})(Messages1$ || (exports.Messages1$ = Messages1$ = {}));
|
|
2112
|
+
function messages1ToJSON(messages1) {
|
|
2113
|
+
return JSON.stringify(exports.Messages1$outboundSchema.parse(messages1));
|
|
2114
|
+
}
|
|
2115
|
+
function messages1FromJSON(jsonString) {
|
|
2116
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.Messages1$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Messages1' from JSON`);
|
|
2117
|
+
}
|
|
2118
|
+
/** @internal */
|
|
2119
|
+
exports.Messages$inboundSchema = z.union([
|
|
2120
|
+
z.lazy(() => exports.Messages1$inboundSchema),
|
|
2121
|
+
z.lazy(() => exports.Messages2$inboundSchema),
|
|
2122
|
+
z.lazy(() => exports.Messages3$inboundSchema),
|
|
2123
|
+
z.lazy(() => exports.Messages5$inboundSchema),
|
|
2124
|
+
z.lazy(() => exports.Messages4$inboundSchema),
|
|
2125
|
+
]);
|
|
2126
|
+
/** @internal */
|
|
2127
|
+
exports.Messages$outboundSchema = z.union([
|
|
2128
|
+
z.lazy(() => exports.Messages1$outboundSchema),
|
|
2129
|
+
z.lazy(() => exports.Messages2$outboundSchema),
|
|
2130
|
+
z.lazy(() => exports.Messages3$outboundSchema),
|
|
2131
|
+
z.lazy(() => exports.Messages5$outboundSchema),
|
|
2132
|
+
z.lazy(() => exports.Messages4$outboundSchema),
|
|
2133
|
+
]);
|
|
889
2134
|
/**
|
|
890
2135
|
* @internal
|
|
891
2136
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
@@ -1009,9 +2254,20 @@ exports.DeploymentGetConfigRequestBody$inboundSchema = z.object({
|
|
|
1009
2254
|
key: z.string(),
|
|
1010
2255
|
inputs: z.record(z.union([z.string(), z.number(), z.boolean()])).optional(),
|
|
1011
2256
|
context: z.record(z.any()).optional(),
|
|
1012
|
-
prefix_messages: z.array(z.
|
|
1013
|
-
.
|
|
1014
|
-
|
|
2257
|
+
prefix_messages: z.array(z.union([
|
|
2258
|
+
z.lazy(() => exports.One$inboundSchema),
|
|
2259
|
+
z.lazy(() => exports.Two$inboundSchema),
|
|
2260
|
+
z.lazy(() => exports.Three$inboundSchema),
|
|
2261
|
+
z.lazy(() => exports.Five$inboundSchema),
|
|
2262
|
+
z.lazy(() => exports.Four$inboundSchema),
|
|
2263
|
+
])).optional(),
|
|
2264
|
+
messages: z.array(z.union([
|
|
2265
|
+
z.lazy(() => exports.Messages1$inboundSchema),
|
|
2266
|
+
z.lazy(() => exports.Messages2$inboundSchema),
|
|
2267
|
+
z.lazy(() => exports.Messages3$inboundSchema),
|
|
2268
|
+
z.lazy(() => exports.Messages5$inboundSchema),
|
|
2269
|
+
z.lazy(() => exports.Messages4$inboundSchema),
|
|
2270
|
+
])).optional(),
|
|
1015
2271
|
file_ids: z.array(z.string()).optional(),
|
|
1016
2272
|
metadata: z.record(z.any()).optional(),
|
|
1017
2273
|
extra_params: z.record(z.any()).optional(),
|
|
@@ -1030,9 +2286,20 @@ exports.DeploymentGetConfigRequestBody$outboundSchema = z.object({
|
|
|
1030
2286
|
key: z.string(),
|
|
1031
2287
|
inputs: z.record(z.union([z.string(), z.number(), z.boolean()])).optional(),
|
|
1032
2288
|
context: z.record(z.any()).optional(),
|
|
1033
|
-
prefixMessages: z.array(z.
|
|
1034
|
-
.
|
|
1035
|
-
|
|
2289
|
+
prefixMessages: z.array(z.union([
|
|
2290
|
+
z.lazy(() => exports.One$outboundSchema),
|
|
2291
|
+
z.lazy(() => exports.Two$outboundSchema),
|
|
2292
|
+
z.lazy(() => exports.Three$outboundSchema),
|
|
2293
|
+
z.lazy(() => exports.Five$outboundSchema),
|
|
2294
|
+
z.lazy(() => exports.Four$outboundSchema),
|
|
2295
|
+
])).optional(),
|
|
2296
|
+
messages: z.array(z.union([
|
|
2297
|
+
z.lazy(() => exports.Messages1$outboundSchema),
|
|
2298
|
+
z.lazy(() => exports.Messages2$outboundSchema),
|
|
2299
|
+
z.lazy(() => exports.Messages3$outboundSchema),
|
|
2300
|
+
z.lazy(() => exports.Messages5$outboundSchema),
|
|
2301
|
+
z.lazy(() => exports.Messages4$outboundSchema),
|
|
2302
|
+
])).optional(),
|
|
1036
2303
|
fileIds: z.array(z.string()).optional(),
|
|
1037
2304
|
metadata: z.record(z.any()).optional(),
|
|
1038
2305
|
extraParams: z.record(z.any()).optional(),
|
|
@@ -1064,36 +2331,35 @@ function deploymentGetConfigRequestBodyFromJSON(jsonString) {
|
|
|
1064
2331
|
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DeploymentGetConfigRequestBody$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentGetConfigRequestBody' from JSON`);
|
|
1065
2332
|
}
|
|
1066
2333
|
/** @internal */
|
|
1067
|
-
exports.
|
|
1068
|
-
.nativeEnum(exports.DeploymentGetConfigDeploymentsResponseType);
|
|
2334
|
+
exports.DeploymentGetConfigType$inboundSchema = z.nativeEnum(exports.DeploymentGetConfigType);
|
|
1069
2335
|
/** @internal */
|
|
1070
|
-
exports.
|
|
2336
|
+
exports.DeploymentGetConfigType$outboundSchema = exports.DeploymentGetConfigType$inboundSchema;
|
|
1071
2337
|
/**
|
|
1072
2338
|
* @internal
|
|
1073
2339
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1074
2340
|
*/
|
|
1075
|
-
var
|
|
1076
|
-
(function (
|
|
1077
|
-
/** @deprecated use `
|
|
1078
|
-
|
|
1079
|
-
/** @deprecated use `
|
|
1080
|
-
|
|
1081
|
-
})(
|
|
2341
|
+
var DeploymentGetConfigType$;
|
|
2342
|
+
(function (DeploymentGetConfigType$) {
|
|
2343
|
+
/** @deprecated use `DeploymentGetConfigType$inboundSchema` instead. */
|
|
2344
|
+
DeploymentGetConfigType$.inboundSchema = exports.DeploymentGetConfigType$inboundSchema;
|
|
2345
|
+
/** @deprecated use `DeploymentGetConfigType$outboundSchema` instead. */
|
|
2346
|
+
DeploymentGetConfigType$.outboundSchema = exports.DeploymentGetConfigType$outboundSchema;
|
|
2347
|
+
})(DeploymentGetConfigType$ || (exports.DeploymentGetConfigType$ = DeploymentGetConfigType$ = {}));
|
|
1082
2348
|
/** @internal */
|
|
1083
|
-
exports.
|
|
2349
|
+
exports.DeploymentGetConfigRole$inboundSchema = z.nativeEnum(exports.DeploymentGetConfigRole);
|
|
1084
2350
|
/** @internal */
|
|
1085
|
-
exports.
|
|
2351
|
+
exports.DeploymentGetConfigRole$outboundSchema = exports.DeploymentGetConfigRole$inboundSchema;
|
|
1086
2352
|
/**
|
|
1087
2353
|
* @internal
|
|
1088
2354
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1089
2355
|
*/
|
|
1090
|
-
var
|
|
1091
|
-
(function (
|
|
1092
|
-
/** @deprecated use `
|
|
1093
|
-
|
|
1094
|
-
/** @deprecated use `
|
|
1095
|
-
|
|
1096
|
-
})(
|
|
2356
|
+
var DeploymentGetConfigRole$;
|
|
2357
|
+
(function (DeploymentGetConfigRole$) {
|
|
2358
|
+
/** @deprecated use `DeploymentGetConfigRole$inboundSchema` instead. */
|
|
2359
|
+
DeploymentGetConfigRole$.inboundSchema = exports.DeploymentGetConfigRole$inboundSchema;
|
|
2360
|
+
/** @deprecated use `DeploymentGetConfigRole$outboundSchema` instead. */
|
|
2361
|
+
DeploymentGetConfigRole$.outboundSchema = exports.DeploymentGetConfigRole$outboundSchema;
|
|
2362
|
+
})(DeploymentGetConfigRole$ || (exports.DeploymentGetConfigRole$ = DeploymentGetConfigRole$ = {}));
|
|
1097
2363
|
/** @internal */
|
|
1098
2364
|
exports.DeploymentGetConfig2DeploymentsResponse200Type$inboundSchema = z
|
|
1099
2365
|
.nativeEnum(exports.DeploymentGetConfig2DeploymentsResponse200Type);
|
|
@@ -1140,7 +2406,7 @@ function deploymentGetConfig2ImageUrlFromJSON(jsonString) {
|
|
|
1140
2406
|
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DeploymentGetConfig2ImageUrl$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentGetConfig2ImageUrl' from JSON`);
|
|
1141
2407
|
}
|
|
1142
2408
|
/** @internal */
|
|
1143
|
-
exports.
|
|
2409
|
+
exports.DeploymentGetConfig2DeploymentsResponse2$inboundSchema = z.object({
|
|
1144
2410
|
type: exports.DeploymentGetConfig2DeploymentsResponse200Type$inboundSchema,
|
|
1145
2411
|
image_url: z.lazy(() => exports.DeploymentGetConfig2ImageUrl$inboundSchema),
|
|
1146
2412
|
}).transform((v) => {
|
|
@@ -1149,7 +2415,7 @@ exports.DeploymentGetConfig2Deployments2$inboundSchema = z.object({
|
|
|
1149
2415
|
});
|
|
1150
2416
|
});
|
|
1151
2417
|
/** @internal */
|
|
1152
|
-
exports.
|
|
2418
|
+
exports.DeploymentGetConfig2DeploymentsResponse2$outboundSchema = z.object({
|
|
1153
2419
|
type: exports.DeploymentGetConfig2DeploymentsResponse200Type$outboundSchema,
|
|
1154
2420
|
imageUrl: z.lazy(() => exports.DeploymentGetConfig2ImageUrl$outboundSchema),
|
|
1155
2421
|
}).transform((v) => {
|
|
@@ -1161,18 +2427,18 @@ exports.DeploymentGetConfig2Deployments2$outboundSchema = z.object({
|
|
|
1161
2427
|
* @internal
|
|
1162
2428
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1163
2429
|
*/
|
|
1164
|
-
var
|
|
1165
|
-
(function (
|
|
1166
|
-
/** @deprecated use `
|
|
1167
|
-
|
|
1168
|
-
/** @deprecated use `
|
|
1169
|
-
|
|
1170
|
-
})(
|
|
1171
|
-
function
|
|
1172
|
-
return JSON.stringify(exports.
|
|
2430
|
+
var DeploymentGetConfig2DeploymentsResponse2$;
|
|
2431
|
+
(function (DeploymentGetConfig2DeploymentsResponse2$) {
|
|
2432
|
+
/** @deprecated use `DeploymentGetConfig2DeploymentsResponse2$inboundSchema` instead. */
|
|
2433
|
+
DeploymentGetConfig2DeploymentsResponse2$.inboundSchema = exports.DeploymentGetConfig2DeploymentsResponse2$inboundSchema;
|
|
2434
|
+
/** @deprecated use `DeploymentGetConfig2DeploymentsResponse2$outboundSchema` instead. */
|
|
2435
|
+
DeploymentGetConfig2DeploymentsResponse2$.outboundSchema = exports.DeploymentGetConfig2DeploymentsResponse2$outboundSchema;
|
|
2436
|
+
})(DeploymentGetConfig2DeploymentsResponse2$ || (exports.DeploymentGetConfig2DeploymentsResponse2$ = DeploymentGetConfig2DeploymentsResponse2$ = {}));
|
|
2437
|
+
function deploymentGetConfig2DeploymentsResponse2ToJSON(deploymentGetConfig2DeploymentsResponse2) {
|
|
2438
|
+
return JSON.stringify(exports.DeploymentGetConfig2DeploymentsResponse2$outboundSchema.parse(deploymentGetConfig2DeploymentsResponse2));
|
|
1173
2439
|
}
|
|
1174
|
-
function
|
|
1175
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.
|
|
2440
|
+
function deploymentGetConfig2DeploymentsResponse2FromJSON(jsonString) {
|
|
2441
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DeploymentGetConfig2DeploymentsResponse2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentGetConfig2DeploymentsResponse2' from JSON`);
|
|
1176
2442
|
}
|
|
1177
2443
|
/** @internal */
|
|
1178
2444
|
exports.DeploymentGetConfig2DeploymentsResponseType$inboundSchema = z
|
|
@@ -1191,12 +2457,12 @@ var DeploymentGetConfig2DeploymentsResponseType$;
|
|
|
1191
2457
|
DeploymentGetConfig2DeploymentsResponseType$.outboundSchema = exports.DeploymentGetConfig2DeploymentsResponseType$outboundSchema;
|
|
1192
2458
|
})(DeploymentGetConfig2DeploymentsResponseType$ || (exports.DeploymentGetConfig2DeploymentsResponseType$ = DeploymentGetConfig2DeploymentsResponseType$ = {}));
|
|
1193
2459
|
/** @internal */
|
|
1194
|
-
exports.
|
|
2460
|
+
exports.DeploymentGetConfig2DeploymentsResponse1$inboundSchema = z.object({
|
|
1195
2461
|
type: exports.DeploymentGetConfig2DeploymentsResponseType$inboundSchema,
|
|
1196
2462
|
text: z.string(),
|
|
1197
2463
|
});
|
|
1198
2464
|
/** @internal */
|
|
1199
|
-
exports.
|
|
2465
|
+
exports.DeploymentGetConfig2DeploymentsResponse1$outboundSchema = z.object({
|
|
1200
2466
|
type: exports.DeploymentGetConfig2DeploymentsResponseType$outboundSchema,
|
|
1201
2467
|
text: z.string(),
|
|
1202
2468
|
});
|
|
@@ -1204,101 +2470,102 @@ exports.DeploymentGetConfig21$outboundSchema = z.object({
|
|
|
1204
2470
|
* @internal
|
|
1205
2471
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1206
2472
|
*/
|
|
1207
|
-
var
|
|
1208
|
-
(function (
|
|
1209
|
-
/** @deprecated use `
|
|
1210
|
-
|
|
1211
|
-
/** @deprecated use `
|
|
1212
|
-
|
|
1213
|
-
})(
|
|
1214
|
-
function
|
|
1215
|
-
return JSON.stringify(exports.
|
|
2473
|
+
var DeploymentGetConfig2DeploymentsResponse1$;
|
|
2474
|
+
(function (DeploymentGetConfig2DeploymentsResponse1$) {
|
|
2475
|
+
/** @deprecated use `DeploymentGetConfig2DeploymentsResponse1$inboundSchema` instead. */
|
|
2476
|
+
DeploymentGetConfig2DeploymentsResponse1$.inboundSchema = exports.DeploymentGetConfig2DeploymentsResponse1$inboundSchema;
|
|
2477
|
+
/** @deprecated use `DeploymentGetConfig2DeploymentsResponse1$outboundSchema` instead. */
|
|
2478
|
+
DeploymentGetConfig2DeploymentsResponse1$.outboundSchema = exports.DeploymentGetConfig2DeploymentsResponse1$outboundSchema;
|
|
2479
|
+
})(DeploymentGetConfig2DeploymentsResponse1$ || (exports.DeploymentGetConfig2DeploymentsResponse1$ = DeploymentGetConfig2DeploymentsResponse1$ = {}));
|
|
2480
|
+
function deploymentGetConfig2DeploymentsResponse1ToJSON(deploymentGetConfig2DeploymentsResponse1) {
|
|
2481
|
+
return JSON.stringify(exports.DeploymentGetConfig2DeploymentsResponse1$outboundSchema.parse(deploymentGetConfig2DeploymentsResponse1));
|
|
1216
2482
|
}
|
|
1217
|
-
function
|
|
1218
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.
|
|
2483
|
+
function deploymentGetConfig2DeploymentsResponse1FromJSON(jsonString) {
|
|
2484
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DeploymentGetConfig2DeploymentsResponse1$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentGetConfig2DeploymentsResponse1' from JSON`);
|
|
1219
2485
|
}
|
|
1220
2486
|
/** @internal */
|
|
1221
|
-
exports.
|
|
1222
|
-
z.lazy(() => exports.
|
|
1223
|
-
z.lazy(() => exports.
|
|
2487
|
+
exports.DeploymentGetConfigContentDeploymentsResponse2$inboundSchema = z.union([
|
|
2488
|
+
z.lazy(() => exports.DeploymentGetConfig2DeploymentsResponse1$inboundSchema),
|
|
2489
|
+
z.lazy(() => exports.DeploymentGetConfig2DeploymentsResponse2$inboundSchema),
|
|
1224
2490
|
]);
|
|
1225
2491
|
/** @internal */
|
|
1226
|
-
exports.
|
|
1227
|
-
z.lazy(() => exports.
|
|
1228
|
-
z.lazy(() => exports.
|
|
2492
|
+
exports.DeploymentGetConfigContentDeploymentsResponse2$outboundSchema = z.union([
|
|
2493
|
+
z.lazy(() => exports.DeploymentGetConfig2DeploymentsResponse1$outboundSchema),
|
|
2494
|
+
z.lazy(() => exports.DeploymentGetConfig2DeploymentsResponse2$outboundSchema),
|
|
1229
2495
|
]);
|
|
1230
2496
|
/**
|
|
1231
2497
|
* @internal
|
|
1232
2498
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1233
2499
|
*/
|
|
1234
|
-
var
|
|
1235
|
-
(function (
|
|
1236
|
-
/** @deprecated use `
|
|
1237
|
-
|
|
1238
|
-
/** @deprecated use `
|
|
1239
|
-
|
|
1240
|
-
})(
|
|
1241
|
-
function
|
|
1242
|
-
return JSON.stringify(exports.
|
|
2500
|
+
var DeploymentGetConfigContentDeploymentsResponse2$;
|
|
2501
|
+
(function (DeploymentGetConfigContentDeploymentsResponse2$) {
|
|
2502
|
+
/** @deprecated use `DeploymentGetConfigContentDeploymentsResponse2$inboundSchema` instead. */
|
|
2503
|
+
DeploymentGetConfigContentDeploymentsResponse2$.inboundSchema = exports.DeploymentGetConfigContentDeploymentsResponse2$inboundSchema;
|
|
2504
|
+
/** @deprecated use `DeploymentGetConfigContentDeploymentsResponse2$outboundSchema` instead. */
|
|
2505
|
+
DeploymentGetConfigContentDeploymentsResponse2$.outboundSchema = exports.DeploymentGetConfigContentDeploymentsResponse2$outboundSchema;
|
|
2506
|
+
})(DeploymentGetConfigContentDeploymentsResponse2$ || (exports.DeploymentGetConfigContentDeploymentsResponse2$ = DeploymentGetConfigContentDeploymentsResponse2$ = {}));
|
|
2507
|
+
function deploymentGetConfigContentDeploymentsResponse2ToJSON(deploymentGetConfigContentDeploymentsResponse2) {
|
|
2508
|
+
return JSON.stringify(exports.DeploymentGetConfigContentDeploymentsResponse2$outboundSchema.parse(deploymentGetConfigContentDeploymentsResponse2));
|
|
1243
2509
|
}
|
|
1244
|
-
function
|
|
1245
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.
|
|
2510
|
+
function deploymentGetConfigContentDeploymentsResponse2FromJSON(jsonString) {
|
|
2511
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DeploymentGetConfigContentDeploymentsResponse2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentGetConfigContentDeploymentsResponse2' from JSON`);
|
|
1246
2512
|
}
|
|
1247
2513
|
/** @internal */
|
|
1248
|
-
exports.
|
|
2514
|
+
exports.DeploymentGetConfigContent$inboundSchema = z.union([
|
|
1249
2515
|
z.string(),
|
|
1250
2516
|
z.array(z.union([
|
|
1251
|
-
z.lazy(() => exports.
|
|
1252
|
-
z.lazy(() => exports.
|
|
2517
|
+
z.lazy(() => exports.DeploymentGetConfig2DeploymentsResponse1$inboundSchema),
|
|
2518
|
+
z.lazy(() => exports.DeploymentGetConfig2DeploymentsResponse2$inboundSchema),
|
|
1253
2519
|
])),
|
|
1254
2520
|
]);
|
|
1255
2521
|
/** @internal */
|
|
1256
|
-
exports.
|
|
2522
|
+
exports.DeploymentGetConfigContent$outboundSchema = z.union([
|
|
1257
2523
|
z.string(),
|
|
1258
2524
|
z.array(z.union([
|
|
1259
|
-
z.lazy(() => exports.
|
|
1260
|
-
z.lazy(() => exports.
|
|
2525
|
+
z.lazy(() => exports.DeploymentGetConfig2DeploymentsResponse1$outboundSchema),
|
|
2526
|
+
z.lazy(() => exports.DeploymentGetConfig2DeploymentsResponse2$outboundSchema),
|
|
1261
2527
|
])),
|
|
1262
2528
|
]);
|
|
1263
2529
|
/**
|
|
1264
2530
|
* @internal
|
|
1265
2531
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1266
2532
|
*/
|
|
1267
|
-
var
|
|
1268
|
-
(function (
|
|
1269
|
-
/** @deprecated use `
|
|
1270
|
-
|
|
1271
|
-
/** @deprecated use `
|
|
1272
|
-
|
|
1273
|
-
})(
|
|
1274
|
-
function
|
|
1275
|
-
return JSON.stringify(exports.
|
|
2533
|
+
var DeploymentGetConfigContent$;
|
|
2534
|
+
(function (DeploymentGetConfigContent$) {
|
|
2535
|
+
/** @deprecated use `DeploymentGetConfigContent$inboundSchema` instead. */
|
|
2536
|
+
DeploymentGetConfigContent$.inboundSchema = exports.DeploymentGetConfigContent$inboundSchema;
|
|
2537
|
+
/** @deprecated use `DeploymentGetConfigContent$outboundSchema` instead. */
|
|
2538
|
+
DeploymentGetConfigContent$.outboundSchema = exports.DeploymentGetConfigContent$outboundSchema;
|
|
2539
|
+
})(DeploymentGetConfigContent$ || (exports.DeploymentGetConfigContent$ = DeploymentGetConfigContent$ = {}));
|
|
2540
|
+
function deploymentGetConfigContentToJSON(deploymentGetConfigContent) {
|
|
2541
|
+
return JSON.stringify(exports.DeploymentGetConfigContent$outboundSchema.parse(deploymentGetConfigContent));
|
|
1276
2542
|
}
|
|
1277
|
-
function
|
|
1278
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.
|
|
2543
|
+
function deploymentGetConfigContentFromJSON(jsonString) {
|
|
2544
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DeploymentGetConfigContent$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentGetConfigContent' from JSON`);
|
|
1279
2545
|
}
|
|
1280
2546
|
/** @internal */
|
|
1281
|
-
exports.
|
|
2547
|
+
exports.DeploymentGetConfigDeploymentsResponseType$inboundSchema = z
|
|
2548
|
+
.nativeEnum(exports.DeploymentGetConfigDeploymentsResponseType);
|
|
1282
2549
|
/** @internal */
|
|
1283
|
-
exports.
|
|
2550
|
+
exports.DeploymentGetConfigDeploymentsResponseType$outboundSchema = exports.DeploymentGetConfigDeploymentsResponseType$inboundSchema;
|
|
1284
2551
|
/**
|
|
1285
2552
|
* @internal
|
|
1286
2553
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1287
2554
|
*/
|
|
1288
|
-
var
|
|
1289
|
-
(function (
|
|
1290
|
-
/** @deprecated use `
|
|
1291
|
-
|
|
1292
|
-
/** @deprecated use `
|
|
1293
|
-
|
|
1294
|
-
})(
|
|
2555
|
+
var DeploymentGetConfigDeploymentsResponseType$;
|
|
2556
|
+
(function (DeploymentGetConfigDeploymentsResponseType$) {
|
|
2557
|
+
/** @deprecated use `DeploymentGetConfigDeploymentsResponseType$inboundSchema` instead. */
|
|
2558
|
+
DeploymentGetConfigDeploymentsResponseType$.inboundSchema = exports.DeploymentGetConfigDeploymentsResponseType$inboundSchema;
|
|
2559
|
+
/** @deprecated use `DeploymentGetConfigDeploymentsResponseType$outboundSchema` instead. */
|
|
2560
|
+
DeploymentGetConfigDeploymentsResponseType$.outboundSchema = exports.DeploymentGetConfigDeploymentsResponseType$outboundSchema;
|
|
2561
|
+
})(DeploymentGetConfigDeploymentsResponseType$ || (exports.DeploymentGetConfigDeploymentsResponseType$ = DeploymentGetConfigDeploymentsResponseType$ = {}));
|
|
1295
2562
|
/** @internal */
|
|
1296
|
-
exports.
|
|
2563
|
+
exports.DeploymentGetConfigDeploymentsFunction$inboundSchema = z.object({
|
|
1297
2564
|
name: z.string(),
|
|
1298
2565
|
arguments: z.string(),
|
|
1299
2566
|
});
|
|
1300
2567
|
/** @internal */
|
|
1301
|
-
exports.
|
|
2568
|
+
exports.DeploymentGetConfigDeploymentsFunction$outboundSchema = z.object({
|
|
1302
2569
|
name: z.string(),
|
|
1303
2570
|
arguments: z.string(),
|
|
1304
2571
|
});
|
|
@@ -1306,61 +2573,62 @@ exports.DeploymentGetConfigDeploymentsResponseFunction$outboundSchema = z.object
|
|
|
1306
2573
|
* @internal
|
|
1307
2574
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1308
2575
|
*/
|
|
1309
|
-
var
|
|
1310
|
-
(function (
|
|
1311
|
-
/** @deprecated use `
|
|
1312
|
-
|
|
1313
|
-
/** @deprecated use `
|
|
1314
|
-
|
|
1315
|
-
})(
|
|
1316
|
-
function
|
|
1317
|
-
return JSON.stringify(exports.
|
|
2576
|
+
var DeploymentGetConfigDeploymentsFunction$;
|
|
2577
|
+
(function (DeploymentGetConfigDeploymentsFunction$) {
|
|
2578
|
+
/** @deprecated use `DeploymentGetConfigDeploymentsFunction$inboundSchema` instead. */
|
|
2579
|
+
DeploymentGetConfigDeploymentsFunction$.inboundSchema = exports.DeploymentGetConfigDeploymentsFunction$inboundSchema;
|
|
2580
|
+
/** @deprecated use `DeploymentGetConfigDeploymentsFunction$outboundSchema` instead. */
|
|
2581
|
+
DeploymentGetConfigDeploymentsFunction$.outboundSchema = exports.DeploymentGetConfigDeploymentsFunction$outboundSchema;
|
|
2582
|
+
})(DeploymentGetConfigDeploymentsFunction$ || (exports.DeploymentGetConfigDeploymentsFunction$ = DeploymentGetConfigDeploymentsFunction$ = {}));
|
|
2583
|
+
function deploymentGetConfigDeploymentsFunctionToJSON(deploymentGetConfigDeploymentsFunction) {
|
|
2584
|
+
return JSON.stringify(exports.DeploymentGetConfigDeploymentsFunction$outboundSchema.parse(deploymentGetConfigDeploymentsFunction));
|
|
1318
2585
|
}
|
|
1319
|
-
function
|
|
1320
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.
|
|
2586
|
+
function deploymentGetConfigDeploymentsFunctionFromJSON(jsonString) {
|
|
2587
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DeploymentGetConfigDeploymentsFunction$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentGetConfigDeploymentsFunction' from JSON`);
|
|
1321
2588
|
}
|
|
1322
2589
|
/** @internal */
|
|
1323
|
-
exports.
|
|
2590
|
+
exports.DeploymentGetConfigToolCalls$inboundSchema = z.object({
|
|
1324
2591
|
id: z.string().optional(),
|
|
1325
2592
|
index: z.number().optional(),
|
|
1326
|
-
type: exports.
|
|
1327
|
-
function: z.lazy(() => exports.
|
|
2593
|
+
type: exports.DeploymentGetConfigDeploymentsResponseType$inboundSchema,
|
|
2594
|
+
function: z.lazy(() => exports.DeploymentGetConfigDeploymentsFunction$inboundSchema),
|
|
1328
2595
|
});
|
|
1329
2596
|
/** @internal */
|
|
1330
|
-
exports.
|
|
2597
|
+
exports.DeploymentGetConfigToolCalls$outboundSchema = z.object({
|
|
1331
2598
|
id: z.string().optional(),
|
|
1332
2599
|
index: z.number().optional(),
|
|
1333
|
-
type: exports.
|
|
1334
|
-
function: z.lazy(() => exports.
|
|
2600
|
+
type: exports.DeploymentGetConfigDeploymentsResponseType$outboundSchema,
|
|
2601
|
+
function: z.lazy(() => exports.DeploymentGetConfigDeploymentsFunction$outboundSchema),
|
|
1335
2602
|
});
|
|
1336
2603
|
/**
|
|
1337
2604
|
* @internal
|
|
1338
2605
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1339
2606
|
*/
|
|
1340
|
-
var
|
|
1341
|
-
(function (
|
|
1342
|
-
/** @deprecated use `
|
|
1343
|
-
|
|
1344
|
-
/** @deprecated use `
|
|
1345
|
-
|
|
1346
|
-
})(
|
|
1347
|
-
function
|
|
1348
|
-
return JSON.stringify(exports.
|
|
2607
|
+
var DeploymentGetConfigToolCalls$;
|
|
2608
|
+
(function (DeploymentGetConfigToolCalls$) {
|
|
2609
|
+
/** @deprecated use `DeploymentGetConfigToolCalls$inboundSchema` instead. */
|
|
2610
|
+
DeploymentGetConfigToolCalls$.inboundSchema = exports.DeploymentGetConfigToolCalls$inboundSchema;
|
|
2611
|
+
/** @deprecated use `DeploymentGetConfigToolCalls$outboundSchema` instead. */
|
|
2612
|
+
DeploymentGetConfigToolCalls$.outboundSchema = exports.DeploymentGetConfigToolCalls$outboundSchema;
|
|
2613
|
+
})(DeploymentGetConfigToolCalls$ || (exports.DeploymentGetConfigToolCalls$ = DeploymentGetConfigToolCalls$ = {}));
|
|
2614
|
+
function deploymentGetConfigToolCallsToJSON(deploymentGetConfigToolCalls) {
|
|
2615
|
+
return JSON.stringify(exports.DeploymentGetConfigToolCalls$outboundSchema.parse(deploymentGetConfigToolCalls));
|
|
1349
2616
|
}
|
|
1350
|
-
function
|
|
1351
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.
|
|
2617
|
+
function deploymentGetConfigToolCallsFromJSON(jsonString) {
|
|
2618
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DeploymentGetConfigToolCalls$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentGetConfigToolCalls' from JSON`);
|
|
1352
2619
|
}
|
|
1353
2620
|
/** @internal */
|
|
1354
2621
|
exports.DeploymentGetConfigMessages$inboundSchema = z.object({
|
|
1355
|
-
role: exports.
|
|
2622
|
+
role: exports.DeploymentGetConfigRole$inboundSchema,
|
|
1356
2623
|
content: z.union([
|
|
1357
2624
|
z.string(),
|
|
1358
2625
|
z.array(z.union([
|
|
1359
|
-
z.lazy(() => exports.
|
|
1360
|
-
z.lazy(() => exports.
|
|
2626
|
+
z.lazy(() => exports.DeploymentGetConfig2DeploymentsResponse1$inboundSchema),
|
|
2627
|
+
z.lazy(() => exports.DeploymentGetConfig2DeploymentsResponse2$inboundSchema),
|
|
1361
2628
|
])),
|
|
1362
2629
|
]),
|
|
1363
|
-
tool_calls: z.array(z.lazy(() => exports.
|
|
2630
|
+
tool_calls: z.array(z.lazy(() => exports.DeploymentGetConfigToolCalls$inboundSchema))
|
|
2631
|
+
.optional(),
|
|
1364
2632
|
}).transform((v) => {
|
|
1365
2633
|
return (0, primitives_js_1.remap)(v, {
|
|
1366
2634
|
"tool_calls": "toolCalls",
|
|
@@ -1368,15 +2636,16 @@ exports.DeploymentGetConfigMessages$inboundSchema = z.object({
|
|
|
1368
2636
|
});
|
|
1369
2637
|
/** @internal */
|
|
1370
2638
|
exports.DeploymentGetConfigMessages$outboundSchema = z.object({
|
|
1371
|
-
role: exports.
|
|
2639
|
+
role: exports.DeploymentGetConfigRole$outboundSchema,
|
|
1372
2640
|
content: z.union([
|
|
1373
2641
|
z.string(),
|
|
1374
2642
|
z.array(z.union([
|
|
1375
|
-
z.lazy(() => exports.
|
|
1376
|
-
z.lazy(() => exports.
|
|
2643
|
+
z.lazy(() => exports.DeploymentGetConfig2DeploymentsResponse1$outboundSchema),
|
|
2644
|
+
z.lazy(() => exports.DeploymentGetConfig2DeploymentsResponse2$outboundSchema),
|
|
1377
2645
|
])),
|
|
1378
2646
|
]),
|
|
1379
|
-
toolCalls: z.array(z.lazy(() => exports.
|
|
2647
|
+
toolCalls: z.array(z.lazy(() => exports.DeploymentGetConfigToolCalls$outboundSchema))
|
|
2648
|
+
.optional(),
|
|
1380
2649
|
}).transform((v) => {
|
|
1381
2650
|
return (0, primitives_js_1.remap)(v, {
|
|
1382
2651
|
toolCalls: "tool_calls",
|
|
@@ -1695,29 +2964,28 @@ function parametersFromJSON(jsonString) {
|
|
|
1695
2964
|
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ParametersT$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ParametersT' from JSON`);
|
|
1696
2965
|
}
|
|
1697
2966
|
/** @internal */
|
|
1698
|
-
exports.
|
|
1699
|
-
.nativeEnum(exports.DeploymentGetConfigDeploymentsResponse200Type);
|
|
2967
|
+
exports.DeploymentGetConfigDeploymentsType$inboundSchema = z.nativeEnum(exports.DeploymentGetConfigDeploymentsType);
|
|
1700
2968
|
/** @internal */
|
|
1701
|
-
exports.
|
|
2969
|
+
exports.DeploymentGetConfigDeploymentsType$outboundSchema = exports.DeploymentGetConfigDeploymentsType$inboundSchema;
|
|
1702
2970
|
/**
|
|
1703
2971
|
* @internal
|
|
1704
2972
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1705
2973
|
*/
|
|
1706
|
-
var
|
|
1707
|
-
(function (
|
|
1708
|
-
/** @deprecated use `
|
|
1709
|
-
|
|
1710
|
-
/** @deprecated use `
|
|
1711
|
-
|
|
1712
|
-
})(
|
|
2974
|
+
var DeploymentGetConfigDeploymentsType$;
|
|
2975
|
+
(function (DeploymentGetConfigDeploymentsType$) {
|
|
2976
|
+
/** @deprecated use `DeploymentGetConfigDeploymentsType$inboundSchema` instead. */
|
|
2977
|
+
DeploymentGetConfigDeploymentsType$.inboundSchema = exports.DeploymentGetConfigDeploymentsType$inboundSchema;
|
|
2978
|
+
/** @deprecated use `DeploymentGetConfigDeploymentsType$outboundSchema` instead. */
|
|
2979
|
+
DeploymentGetConfigDeploymentsType$.outboundSchema = exports.DeploymentGetConfigDeploymentsType$outboundSchema;
|
|
2980
|
+
})(DeploymentGetConfigDeploymentsType$ || (exports.DeploymentGetConfigDeploymentsType$ = DeploymentGetConfigDeploymentsType$ = {}));
|
|
1713
2981
|
/** @internal */
|
|
1714
|
-
exports.
|
|
2982
|
+
exports.DeploymentGetConfigFunction$inboundSchema = z.object({
|
|
1715
2983
|
name: z.string(),
|
|
1716
2984
|
description: z.string().optional(),
|
|
1717
2985
|
parameters: z.record(z.any()).optional(),
|
|
1718
2986
|
});
|
|
1719
2987
|
/** @internal */
|
|
1720
|
-
exports.
|
|
2988
|
+
exports.DeploymentGetConfigFunction$outboundSchema = z.object({
|
|
1721
2989
|
name: z.string(),
|
|
1722
2990
|
description: z.string().optional(),
|
|
1723
2991
|
parameters: z.record(z.any()).optional(),
|
|
@@ -1726,29 +2994,29 @@ exports.DeploymentGetConfigDeploymentsFunction$outboundSchema = z.object({
|
|
|
1726
2994
|
* @internal
|
|
1727
2995
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1728
2996
|
*/
|
|
1729
|
-
var
|
|
1730
|
-
(function (
|
|
1731
|
-
/** @deprecated use `
|
|
1732
|
-
|
|
1733
|
-
/** @deprecated use `
|
|
1734
|
-
|
|
1735
|
-
})(
|
|
1736
|
-
function
|
|
1737
|
-
return JSON.stringify(exports.
|
|
2997
|
+
var DeploymentGetConfigFunction$;
|
|
2998
|
+
(function (DeploymentGetConfigFunction$) {
|
|
2999
|
+
/** @deprecated use `DeploymentGetConfigFunction$inboundSchema` instead. */
|
|
3000
|
+
DeploymentGetConfigFunction$.inboundSchema = exports.DeploymentGetConfigFunction$inboundSchema;
|
|
3001
|
+
/** @deprecated use `DeploymentGetConfigFunction$outboundSchema` instead. */
|
|
3002
|
+
DeploymentGetConfigFunction$.outboundSchema = exports.DeploymentGetConfigFunction$outboundSchema;
|
|
3003
|
+
})(DeploymentGetConfigFunction$ || (exports.DeploymentGetConfigFunction$ = DeploymentGetConfigFunction$ = {}));
|
|
3004
|
+
function deploymentGetConfigFunctionToJSON(deploymentGetConfigFunction) {
|
|
3005
|
+
return JSON.stringify(exports.DeploymentGetConfigFunction$outboundSchema.parse(deploymentGetConfigFunction));
|
|
1738
3006
|
}
|
|
1739
|
-
function
|
|
1740
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.
|
|
3007
|
+
function deploymentGetConfigFunctionFromJSON(jsonString) {
|
|
3008
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DeploymentGetConfigFunction$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentGetConfigFunction' from JSON`);
|
|
1741
3009
|
}
|
|
1742
3010
|
/** @internal */
|
|
1743
3011
|
exports.Tools$inboundSchema = z
|
|
1744
3012
|
.object({
|
|
1745
|
-
type: exports.
|
|
1746
|
-
function: z.lazy(() => exports.
|
|
3013
|
+
type: exports.DeploymentGetConfigDeploymentsType$inboundSchema,
|
|
3014
|
+
function: z.lazy(() => exports.DeploymentGetConfigFunction$inboundSchema),
|
|
1747
3015
|
});
|
|
1748
3016
|
/** @internal */
|
|
1749
3017
|
exports.Tools$outboundSchema = z.object({
|
|
1750
|
-
type: exports.
|
|
1751
|
-
function: z.lazy(() => exports.
|
|
3018
|
+
type: exports.DeploymentGetConfigDeploymentsType$outboundSchema,
|
|
3019
|
+
function: z.lazy(() => exports.DeploymentGetConfigFunction$outboundSchema),
|
|
1752
3020
|
});
|
|
1753
3021
|
/**
|
|
1754
3022
|
* @internal
|
|
@@ -1772,7 +3040,7 @@ exports.DeploymentGetConfigResponseBody$inboundSchema = z.object({
|
|
|
1772
3040
|
id: z.string(),
|
|
1773
3041
|
provider: z.string(),
|
|
1774
3042
|
model: z.string(),
|
|
1775
|
-
type: exports.
|
|
3043
|
+
type: exports.DeploymentGetConfigType$inboundSchema.optional(),
|
|
1776
3044
|
version: z.string(),
|
|
1777
3045
|
messages: z.array(z.lazy(() => exports.DeploymentGetConfigMessages$inboundSchema)),
|
|
1778
3046
|
parameters: z.lazy(() => exports.ParametersT$inboundSchema),
|
|
@@ -1783,7 +3051,7 @@ exports.DeploymentGetConfigResponseBody$outboundSchema = z.object({
|
|
|
1783
3051
|
id: z.string(),
|
|
1784
3052
|
provider: z.string(),
|
|
1785
3053
|
model: z.string(),
|
|
1786
|
-
type: exports.
|
|
3054
|
+
type: exports.DeploymentGetConfigType$outboundSchema.optional(),
|
|
1787
3055
|
version: z.string(),
|
|
1788
3056
|
messages: z.array(z.lazy(() => exports.DeploymentGetConfigMessages$outboundSchema)),
|
|
1789
3057
|
parameters: z.lazy(() => exports.ParametersT$outboundSchema),
|