@orq-ai/node 4.10.0-rc.45 → 4.10.0-rc.47
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +36 -41
- package/funcs/annotationsCreate.d.ts +3 -0
- package/funcs/annotationsCreate.d.ts.map +1 -1
- package/funcs/annotationsCreate.js +3 -0
- package/funcs/annotationsCreate.js.map +1 -1
- package/funcs/annotationsDelete.d.ts +3 -0
- package/funcs/annotationsDelete.d.ts.map +1 -1
- package/funcs/annotationsDelete.js +3 -0
- package/funcs/annotationsDelete.js.map +1 -1
- package/funcs/deploymentsInvoke.d.ts +1 -2
- package/funcs/deploymentsInvoke.d.ts.map +1 -1
- package/funcs/deploymentsInvoke.js +1 -2
- package/funcs/deploymentsInvoke.js.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/models/components/agentthoughtstreamingevent.d.ts +12 -12
- package/models/components/agentthoughtstreamingevent.d.ts.map +1 -1
- package/models/components/agentthoughtstreamingevent.js +17 -17
- package/models/components/agentthoughtstreamingevent.js.map +1 -1
- package/models/components/index.d.ts +0 -1
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +0 -1
- package/models/components/index.js.map +1 -1
- package/models/components/modelmetadata.d.ts +38 -0
- package/models/components/modelmetadata.d.ts.map +1 -1
- package/models/components/modelmetadata.js +72 -0
- package/models/components/modelmetadata.js.map +1 -1
- package/models/components/reasoningpart.js +1 -1
- package/models/operations/createdataset.js +1 -1
- package/models/operations/createdatasetitem.js +4 -4
- package/models/operations/createdatasource.js +1 -1
- package/models/operations/createeval.d.ts +67 -210
- package/models/operations/createeval.d.ts.map +1 -1
- package/models/operations/createeval.js +84 -201
- package/models/operations/createeval.js.map +1 -1
- package/models/operations/createtool.d.ts +10 -10
- package/models/operations/createtool.d.ts.map +1 -1
- package/models/operations/createtool.js +15 -15
- package/models/operations/createtool.js.map +1 -1
- package/models/operations/deploymentgetconfig.d.ts +440 -440
- package/models/operations/deploymentgetconfig.d.ts.map +1 -1
- package/models/operations/deploymentgetconfig.js +479 -484
- package/models/operations/deploymentgetconfig.js.map +1 -1
- package/models/operations/deploymentinvoke.d.ts +1568 -8
- package/models/operations/deploymentinvoke.d.ts.map +1 -1
- package/models/operations/deploymentinvoke.js +1137 -12
- package/models/operations/deploymentinvoke.js.map +1 -1
- package/models/operations/deploymentstream.d.ts +56 -56
- package/models/operations/deploymentstream.d.ts.map +1 -1
- package/models/operations/deploymentstream.js +72 -73
- package/models/operations/deploymentstream.js.map +1 -1
- package/models/operations/getalltools.js +6 -6
- package/models/operations/getevals.js +16 -16
- package/models/operations/getv2humanevalsets.js +2 -2
- package/models/operations/getv2humanevalsetsid.js +2 -2
- package/models/operations/index.d.ts +0 -1
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +0 -1
- package/models/operations/index.js.map +1 -1
- package/models/operations/listdatasetdatapoints.js +4 -4
- package/models/operations/listdatasets.js +1 -1
- package/models/operations/listdatasources.js +1 -1
- package/models/operations/patchv2humanevalsetsid.js +2 -2
- package/models/operations/postv2feedbackevaluation.js +3 -3
- package/models/operations/postv2humanevalsets.js +2 -2
- package/models/operations/retrievedatapoint.js +4 -4
- package/models/operations/retrievedataset.js +1 -1
- package/models/operations/retrievedatasource.js +1 -1
- package/models/operations/retrievetool.js +6 -6
- package/models/operations/runagent.js +1 -1
- package/models/operations/streamrunagent.js +1 -1
- package/models/operations/updatedatapoint.js +4 -4
- package/models/operations/updatedataset.js +1 -1
- package/models/operations/updatedatasource.js +1 -1
- package/models/operations/updateeval.d.ts +8 -8
- package/models/operations/updateeval.d.ts.map +1 -1
- package/models/operations/updateeval.js +26 -26
- package/models/operations/updateeval.js.map +1 -1
- package/models/operations/updatetool.js +7 -7
- package/package.json +5 -5
- package/sdk/annotations.d.ts +6 -0
- package/sdk/annotations.d.ts.map +1 -1
- package/sdk/annotations.js +6 -0
- package/sdk/annotations.js.map +1 -1
- package/sdk/deployments.d.ts +1 -5
- package/sdk/deployments.d.ts.map +1 -1
- package/sdk/deployments.js +0 -4
- package/sdk/deployments.js.map +1 -1
- package/src/funcs/annotationsCreate.ts +3 -0
- package/src/funcs/annotationsDelete.ts +3 -0
- package/src/funcs/deploymentsInvoke.ts +4 -4
- package/src/lib/config.ts +3 -3
- package/src/models/components/agentthoughtstreamingevent.ts +43 -55
- package/src/models/components/index.ts +0 -1
- package/src/models/components/modelmetadata.ts +110 -0
- package/src/models/components/reasoningpart.ts +1 -1
- package/src/models/operations/createdataset.ts +1 -1
- package/src/models/operations/createdatasetitem.ts +4 -4
- package/src/models/operations/createdatasource.ts +1 -1
- package/src/models/operations/createeval.ts +214 -543
- package/src/models/operations/createtool.ts +24 -28
- package/src/models/operations/deploymentgetconfig.ts +1606 -1156
- package/src/models/operations/deploymentinvoke.ts +3763 -317
- package/src/models/operations/deploymentstream.ts +285 -244
- package/src/models/operations/getalltools.ts +6 -6
- package/src/models/operations/getevals.ts +16 -16
- package/src/models/operations/getv2humanevalsets.ts +2 -2
- package/src/models/operations/getv2humanevalsetsid.ts +2 -2
- package/src/models/operations/index.ts +0 -1
- package/src/models/operations/listdatasetdatapoints.ts +4 -4
- package/src/models/operations/listdatasets.ts +1 -1
- package/src/models/operations/listdatasources.ts +1 -1
- package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
- package/src/models/operations/postv2feedbackevaluation.ts +3 -3
- package/src/models/operations/postv2humanevalsets.ts +2 -2
- package/src/models/operations/retrievedatapoint.ts +4 -4
- package/src/models/operations/retrievedataset.ts +1 -1
- package/src/models/operations/retrievedatasource.ts +1 -1
- package/src/models/operations/retrievetool.ts +6 -6
- package/src/models/operations/runagent.ts +1 -1
- package/src/models/operations/streamrunagent.ts +1 -1
- package/src/models/operations/updatedatapoint.ts +4 -4
- package/src/models/operations/updatedataset.ts +1 -1
- package/src/models/operations/updatedatasource.ts +1 -1
- package/src/models/operations/updateeval.ts +32 -34
- package/src/models/operations/updatetool.ts +7 -7
- package/src/sdk/annotations.ts +6 -0
- package/src/sdk/deployments.ts +1 -8
- package/funcs/deploymentsMetricsCreate.d.ts +0 -19
- package/funcs/deploymentsMetricsCreate.d.ts.map +0 -1
- package/funcs/deploymentsMetricsCreate.js +0 -123
- package/funcs/deploymentsMetricsCreate.js.map +0 -1
- package/models/components/invokedeploymentrequest.d.ts +0 -1573
- package/models/components/invokedeploymentrequest.d.ts.map +0 -1
- package/models/components/invokedeploymentrequest.js +0 -1137
- package/models/components/invokedeploymentrequest.js.map +0 -1
- package/models/operations/deploymentcreatemetric.d.ts +0 -1032
- package/models/operations/deploymentcreatemetric.d.ts.map +0 -1
- package/models/operations/deploymentcreatemetric.js +0 -749
- package/models/operations/deploymentcreatemetric.js.map +0 -1
- package/sdk/metrics.d.ts +0 -14
- package/sdk/metrics.d.ts.map +0 -1
- package/sdk/metrics.js +0 -24
- package/sdk/metrics.js.map +0 -1
- package/src/funcs/deploymentsMetricsCreate.ts +0 -171
- package/src/models/components/invokedeploymentrequest.ts +0 -3457
- package/src/models/operations/deploymentcreatemetric.ts +0 -2370
- package/src/sdk/metrics.ts +0 -29
|
@@ -36,99 +36,99 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
40
|
-
exports.
|
|
41
|
-
exports.ResponseFormat1$inboundSchema = exports.DeploymentGetConfigResponseFormatJsonSchema$inboundSchema = exports.DeploymentGetConfigResponseFormatDeploymentsResponseType$inboundSchema = exports.ResponseFormat2$inboundSchema = exports.DeploymentGetConfigResponseFormatType$inboundSchema = exports.ResponseFormat3$inboundSchema = exports.DeploymentGetConfigResponseFormatDeploymentsType$inboundSchema = exports.ResponseFormat4$inboundSchema = exports.ResponseFormat5$inboundSchema = exports.ResponseFormat6$inboundSchema = exports.DeploymentGetConfigFormat$inboundSchema = exports.DeploymentGetConfigDeploymentsMessages$inboundSchema = exports.DeploymentGetConfigToolCalls$inboundSchema = exports.DeploymentGetConfigDeploymentsFunction$inboundSchema = exports.DeploymentGetConfigDeploymentsResponseType$inboundSchema = exports.DeploymentGetConfigContent$inboundSchema = exports.DeploymentGetConfigContentDeploymentsResponse2$inboundSchema = exports.Two1$inboundSchema = exports.DeploymentGetConfig22$inboundSchema = exports.TwoImageUrl$inboundSchema = exports.Two3$inboundSchema = exports.DeploymentGetConfig2File$inboundSchema = exports.DeploymentGetConfigRole$inboundSchema = exports.DeploymentGetConfigType$inboundSchema = exports.DeploymentGetConfigRequestBody$outboundSchema = exports.
|
|
39
|
+
exports.PrefixMessagesSystemMessage$outboundSchema = exports.DeploymentGetConfigPrefixMessagesContent$outboundSchema = exports.PrefixMessagesDeveloperMessage$outboundSchema = exports.DeploymentGetConfigPrefixMessagesDeploymentsContent$outboundSchema = exports.PrefixMessagesUserMessage$outboundSchema = exports.DeploymentGetConfigPrefixMessagesDeploymentsRequestContent$outboundSchema = exports.DeploymentGetConfigContent2$outboundSchema = exports.DeploymentGetConfig24$outboundSchema = exports.DeploymentGetConfig2CacheControl$outboundSchema = exports.DeploymentGetConfig2Ttl$outboundSchema = exports.DeploymentGetConfig2DeploymentsType$outboundSchema = exports.PrefixMessagesAssistantMessage$outboundSchema = exports.DeploymentGetConfigPrefixMessagesToolCalls$outboundSchema = exports.DeploymentGetConfigPrefixMessagesFunction$outboundSchema = exports.DeploymentGetConfigPrefixMessagesType$outboundSchema = exports.PrefixMessagesAudio$outboundSchema = exports.DeploymentGetConfigPrefixMessagesDeploymentsRequestRequestBodyContent$outboundSchema = exports.DeploymentGetConfigContentDeployments2$outboundSchema = exports.PrefixMessagesToolMessage$outboundSchema = exports.DeploymentGetConfigPrefixMessagesCacheControl$outboundSchema = exports.DeploymentGetConfigPrefixMessagesTtl$outboundSchema = exports.DeploymentGetConfigPrefixMessagesDeploymentsType$outboundSchema = exports.DeploymentGetConfigPrefixMessagesDeploymentsRequestRequestBody5Content$outboundSchema = exports.DeploymentGetConfigContentDeploymentsRequest2$outboundSchema = exports.DeploymentGetConfigDeploymentsType = exports.ThinkingLevel = exports.DeploymentGetConfigVerbosity = exports.DeploymentGetConfigReasoningEffort = exports.DeploymentGetConfigEncodingFormat = exports.PhotoRealVersion = exports.DeploymentGetConfigResponseFormatDeploymentsResponseType = exports.DeploymentGetConfigResponseFormatType = exports.DeploymentGetConfigResponseFormatDeploymentsType = exports.ResponseFormat4 = exports.ResponseFormat5 = exports.ResponseFormat6 = exports.DeploymentGetConfigFormat = exports.DeploymentGetConfigDeploymentsResponseType = exports.DeploymentGetConfigRole = exports.DeploymentGetConfigType = exports.DeploymentGetConfig2DeploymentsTtl = exports.DeploymentGetConfig2DeploymentsRequestRequestBodyType = exports.DeploymentGetConfigMessagesType = exports.DeploymentGetConfigMessagesTtl = exports.DeploymentGetConfigMessagesDeploymentsType = exports.DeploymentGetConfig2Ttl = exports.DeploymentGetConfig2DeploymentsType = exports.DeploymentGetConfigPrefixMessagesType = exports.DeploymentGetConfigPrefixMessagesTtl = exports.DeploymentGetConfigPrefixMessagesDeploymentsType = void 0;
|
|
40
|
+
exports.DeploymentGetConfigAndIn$outboundSchema = exports.DeploymentGetConfigAndDeploymentsIn$outboundSchema = exports.DeploymentGetConfigAndNin$outboundSchema = exports.DeploymentGetConfigAndDeploymentsNin$outboundSchema = exports.DeploymentGetConfigAndExists$outboundSchema = exports.DeploymentGetConfigKnowledgeFilterOr$outboundSchema = exports.DeploymentGetConfigKnowledgeFilterDeploymentsOr$outboundSchema = exports.DeploymentGetConfigOrEq$outboundSchema = exports.DeploymentGetConfigOrDeploymentsEq$outboundSchema = exports.DeploymentGetConfigOrNe$outboundSchema = exports.DeploymentGetConfigOrDeploymentsNe$outboundSchema = exports.DeploymentGetConfigOrGt$outboundSchema = exports.DeploymentGetConfigOrGte$outboundSchema = exports.DeploymentGetConfigOrLt$outboundSchema = exports.DeploymentGetConfigOrLte$outboundSchema = exports.DeploymentGetConfigOrIn$outboundSchema = exports.DeploymentGetConfigOrDeploymentsIn$outboundSchema = exports.DeploymentGetConfigOrNin$outboundSchema = exports.DeploymentGetConfigOrDeploymentsNin$outboundSchema = exports.DeploymentGetConfigOrExists$outboundSchema = exports.DeploymentGetConfigThread$outboundSchema = exports.DeploymentGetConfigInvokeOptions$outboundSchema = exports.DeploymentGetConfigDocuments$outboundSchema = exports.DeploymentGetConfigMetadata$outboundSchema = exports.DeploymentGetConfigMessages$outboundSchema = exports.DeploymentGetConfigMessagesSystemMessage$outboundSchema = exports.DeploymentGetConfigMessagesContent$outboundSchema = exports.DeploymentGetConfigMessagesDeveloperMessage$outboundSchema = exports.DeploymentGetConfigMessagesDeploymentsContent$outboundSchema = exports.DeploymentGetConfigMessagesUserMessage$outboundSchema = exports.DeploymentGetConfigMessagesDeploymentsRequestContent$outboundSchema = exports.DeploymentGetConfigContentDeploymentsRequestRequestBody2$outboundSchema = exports.DeploymentGetConfig2Deployments4$outboundSchema = exports.DeploymentGetConfig2DeploymentsCacheControl$outboundSchema = exports.DeploymentGetConfig2DeploymentsTtl$outboundSchema = exports.DeploymentGetConfig2DeploymentsRequestRequestBodyType$outboundSchema = exports.DeploymentGetConfigMessagesAssistantMessage$outboundSchema = exports.DeploymentGetConfigMessagesToolCalls$outboundSchema = exports.DeploymentGetConfigMessagesFunction$outboundSchema = exports.DeploymentGetConfigMessagesType$outboundSchema = exports.DeploymentGetConfigMessagesAudio$outboundSchema = exports.DeploymentGetConfigMessagesDeploymentsRequestRequestBodyContent$outboundSchema = exports.DeploymentGetConfigContentDeploymentsRequestRequestBodyMessages2$outboundSchema = exports.DeploymentGetConfigMessagesToolMessage$outboundSchema = exports.DeploymentGetConfigMessagesCacheControl$outboundSchema = exports.DeploymentGetConfigMessagesTtl$outboundSchema = exports.DeploymentGetConfigMessagesDeploymentsType$outboundSchema = exports.DeploymentGetConfigMessagesDeploymentsRequestRequestBody5Content$outboundSchema = exports.DeploymentGetConfigContentDeploymentsRequestRequestBodyMessages52$outboundSchema = exports.DeploymentGetConfigPrefixMessages$outboundSchema = void 0;
|
|
41
|
+
exports.ResponseFormat1$inboundSchema = exports.DeploymentGetConfigResponseFormatJsonSchema$inboundSchema = exports.DeploymentGetConfigResponseFormatDeploymentsResponseType$inboundSchema = exports.ResponseFormat2$inboundSchema = exports.DeploymentGetConfigResponseFormatType$inboundSchema = exports.ResponseFormat3$inboundSchema = exports.DeploymentGetConfigResponseFormatDeploymentsType$inboundSchema = exports.ResponseFormat4$inboundSchema = exports.ResponseFormat5$inboundSchema = exports.ResponseFormat6$inboundSchema = exports.DeploymentGetConfigFormat$inboundSchema = exports.DeploymentGetConfigDeploymentsMessages$inboundSchema = exports.DeploymentGetConfigToolCalls$inboundSchema = exports.DeploymentGetConfigDeploymentsFunction$inboundSchema = exports.DeploymentGetConfigDeploymentsResponseType$inboundSchema = exports.DeploymentGetConfigContent$inboundSchema = exports.DeploymentGetConfigContentDeploymentsResponse2$inboundSchema = exports.Two1$inboundSchema = exports.DeploymentGetConfig22$inboundSchema = exports.TwoImageUrl$inboundSchema = exports.Two3$inboundSchema = exports.DeploymentGetConfig2File$inboundSchema = exports.DeploymentGetConfigRole$inboundSchema = exports.DeploymentGetConfigType$inboundSchema = exports.DeploymentGetConfigRequestBody$outboundSchema = exports.DeploymentGetConfigKnowledgeFilter$outboundSchema = exports.DeploymentGetConfigKnowledgeFilter1$outboundSchema = exports.DeploymentGetConfig1Eq$outboundSchema = exports.DeploymentGetConfig1DeploymentsEq$outboundSchema = exports.DeploymentGetConfig1Ne$outboundSchema = exports.DeploymentGetConfig1DeploymentsNe$outboundSchema = exports.OneGt$outboundSchema = exports.OneGte$outboundSchema = exports.OneLt$outboundSchema = exports.OneLte$outboundSchema = exports.DeploymentGetConfig1In$outboundSchema = exports.DeploymentGetConfig1DeploymentsIn$outboundSchema = exports.DeploymentGetConfig1Nin$outboundSchema = exports.DeploymentGetConfig1DeploymentsNin$outboundSchema = exports.OneExists$outboundSchema = exports.DeploymentGetConfigKnowledgeFilterAnd$outboundSchema = exports.DeploymentGetConfigKnowledgeFilterDeploymentsAnd$outboundSchema = exports.DeploymentGetConfigAndEq$outboundSchema = exports.DeploymentGetConfigAndDeploymentsEq$outboundSchema = exports.DeploymentGetConfigAndNe$outboundSchema = exports.DeploymentGetConfigAndDeploymentsNe$outboundSchema = exports.DeploymentGetConfigAndGt$outboundSchema = exports.DeploymentGetConfigAndGte$outboundSchema = exports.DeploymentGetConfigAndLt$outboundSchema = exports.DeploymentGetConfigAndLte$outboundSchema = void 0;
|
|
42
42
|
exports.DeploymentGetConfigResponseBody$inboundSchema = exports.DeploymentGetConfigTools$inboundSchema = exports.DeploymentGetConfigFunction$inboundSchema = exports.DeploymentGetConfigDeploymentsType$inboundSchema = exports.DeploymentGetConfigParameters$inboundSchema = exports.ThinkingLevel$inboundSchema = exports.DeploymentGetConfigVerbosity$inboundSchema = exports.DeploymentGetConfigReasoningEffort$inboundSchema = exports.DeploymentGetConfigEncodingFormat$inboundSchema = exports.PhotoRealVersion$inboundSchema = exports.DeploymentGetConfigResponseFormat$inboundSchema = void 0;
|
|
43
|
+
exports.deploymentGetConfigContentDeploymentsRequest2ToJSON = deploymentGetConfigContentDeploymentsRequest2ToJSON;
|
|
44
|
+
exports.deploymentGetConfigPrefixMessagesDeploymentsRequestRequestBody5ContentToJSON = deploymentGetConfigPrefixMessagesDeploymentsRequestRequestBody5ContentToJSON;
|
|
45
|
+
exports.deploymentGetConfigPrefixMessagesCacheControlToJSON = deploymentGetConfigPrefixMessagesCacheControlToJSON;
|
|
46
|
+
exports.prefixMessagesToolMessageToJSON = prefixMessagesToolMessageToJSON;
|
|
43
47
|
exports.deploymentGetConfigContentDeployments2ToJSON = deploymentGetConfigContentDeployments2ToJSON;
|
|
44
48
|
exports.deploymentGetConfigPrefixMessagesDeploymentsRequestRequestBodyContentToJSON = deploymentGetConfigPrefixMessagesDeploymentsRequestRequestBodyContentToJSON;
|
|
45
|
-
exports.
|
|
46
|
-
exports.
|
|
49
|
+
exports.prefixMessagesAudioToJSON = prefixMessagesAudioToJSON;
|
|
50
|
+
exports.deploymentGetConfigPrefixMessagesFunctionToJSON = deploymentGetConfigPrefixMessagesFunctionToJSON;
|
|
51
|
+
exports.deploymentGetConfigPrefixMessagesToolCallsToJSON = deploymentGetConfigPrefixMessagesToolCallsToJSON;
|
|
52
|
+
exports.prefixMessagesAssistantMessageToJSON = prefixMessagesAssistantMessageToJSON;
|
|
53
|
+
exports.deploymentGetConfig2CacheControlToJSON = deploymentGetConfig2CacheControlToJSON;
|
|
54
|
+
exports.deploymentGetConfig24ToJSON = deploymentGetConfig24ToJSON;
|
|
47
55
|
exports.deploymentGetConfigContent2ToJSON = deploymentGetConfigContent2ToJSON;
|
|
48
56
|
exports.deploymentGetConfigPrefixMessagesDeploymentsRequestContentToJSON = deploymentGetConfigPrefixMessagesDeploymentsRequestContentToJSON;
|
|
49
|
-
exports.
|
|
50
|
-
exports.prefixMessagesFunctionToJSON = prefixMessagesFunctionToJSON;
|
|
51
|
-
exports.prefixMessagesToolCallsToJSON = prefixMessagesToolCallsToJSON;
|
|
52
|
-
exports.assistantMessageToJSON = assistantMessageToJSON;
|
|
53
|
-
exports.cacheControlToJSON = cacheControlToJSON;
|
|
54
|
-
exports.fourToJSON = fourToJSON;
|
|
55
|
-
exports.content2ToJSON = content2ToJSON;
|
|
57
|
+
exports.prefixMessagesUserMessageToJSON = prefixMessagesUserMessageToJSON;
|
|
56
58
|
exports.deploymentGetConfigPrefixMessagesDeploymentsContentToJSON = deploymentGetConfigPrefixMessagesDeploymentsContentToJSON;
|
|
57
|
-
exports.
|
|
59
|
+
exports.prefixMessagesDeveloperMessageToJSON = prefixMessagesDeveloperMessageToJSON;
|
|
58
60
|
exports.deploymentGetConfigPrefixMessagesContentToJSON = deploymentGetConfigPrefixMessagesContentToJSON;
|
|
59
|
-
exports.
|
|
60
|
-
exports.
|
|
61
|
-
exports.
|
|
62
|
-
exports.
|
|
61
|
+
exports.prefixMessagesSystemMessageToJSON = prefixMessagesSystemMessageToJSON;
|
|
62
|
+
exports.deploymentGetConfigPrefixMessagesToJSON = deploymentGetConfigPrefixMessagesToJSON;
|
|
63
|
+
exports.deploymentGetConfigContentDeploymentsRequestRequestBodyMessages52ToJSON = deploymentGetConfigContentDeploymentsRequestRequestBodyMessages52ToJSON;
|
|
64
|
+
exports.deploymentGetConfigMessagesDeploymentsRequestRequestBody5ContentToJSON = deploymentGetConfigMessagesDeploymentsRequestRequestBody5ContentToJSON;
|
|
65
|
+
exports.deploymentGetConfigMessagesCacheControlToJSON = deploymentGetConfigMessagesCacheControlToJSON;
|
|
66
|
+
exports.deploymentGetConfigMessagesToolMessageToJSON = deploymentGetConfigMessagesToolMessageToJSON;
|
|
63
67
|
exports.deploymentGetConfigContentDeploymentsRequestRequestBodyMessages2ToJSON = deploymentGetConfigContentDeploymentsRequestRequestBodyMessages2ToJSON;
|
|
64
68
|
exports.deploymentGetConfigMessagesDeploymentsRequestRequestBodyContentToJSON = deploymentGetConfigMessagesDeploymentsRequestRequestBodyContentToJSON;
|
|
65
|
-
exports.
|
|
66
|
-
exports.
|
|
69
|
+
exports.deploymentGetConfigMessagesAudioToJSON = deploymentGetConfigMessagesAudioToJSON;
|
|
70
|
+
exports.deploymentGetConfigMessagesFunctionToJSON = deploymentGetConfigMessagesFunctionToJSON;
|
|
71
|
+
exports.deploymentGetConfigMessagesToolCallsToJSON = deploymentGetConfigMessagesToolCallsToJSON;
|
|
72
|
+
exports.deploymentGetConfigMessagesAssistantMessageToJSON = deploymentGetConfigMessagesAssistantMessageToJSON;
|
|
73
|
+
exports.deploymentGetConfig2DeploymentsCacheControlToJSON = deploymentGetConfig2DeploymentsCacheControlToJSON;
|
|
74
|
+
exports.deploymentGetConfig2Deployments4ToJSON = deploymentGetConfig2Deployments4ToJSON;
|
|
67
75
|
exports.deploymentGetConfigContentDeploymentsRequestRequestBody2ToJSON = deploymentGetConfigContentDeploymentsRequestRequestBody2ToJSON;
|
|
68
76
|
exports.deploymentGetConfigMessagesDeploymentsRequestContentToJSON = deploymentGetConfigMessagesDeploymentsRequestContentToJSON;
|
|
69
|
-
exports.
|
|
70
|
-
exports.messagesFunctionToJSON = messagesFunctionToJSON;
|
|
71
|
-
exports.messagesToolCallsToJSON = messagesToolCallsToJSON;
|
|
72
|
-
exports.messagesAssistantMessageToJSON = messagesAssistantMessageToJSON;
|
|
73
|
-
exports.twoCacheControlToJSON = twoCacheControlToJSON;
|
|
74
|
-
exports.two4ToJSON = two4ToJSON;
|
|
75
|
-
exports.deploymentGetConfigContentDeploymentsRequest2ToJSON = deploymentGetConfigContentDeploymentsRequest2ToJSON;
|
|
77
|
+
exports.deploymentGetConfigMessagesUserMessageToJSON = deploymentGetConfigMessagesUserMessageToJSON;
|
|
76
78
|
exports.deploymentGetConfigMessagesDeploymentsContentToJSON = deploymentGetConfigMessagesDeploymentsContentToJSON;
|
|
77
|
-
exports.
|
|
79
|
+
exports.deploymentGetConfigMessagesDeveloperMessageToJSON = deploymentGetConfigMessagesDeveloperMessageToJSON;
|
|
78
80
|
exports.deploymentGetConfigMessagesContentToJSON = deploymentGetConfigMessagesContentToJSON;
|
|
79
|
-
exports.
|
|
80
|
-
exports.messagesContentToJSON = messagesContentToJSON;
|
|
81
|
-
exports.messagesSystemMessageToJSON = messagesSystemMessageToJSON;
|
|
81
|
+
exports.deploymentGetConfigMessagesSystemMessageToJSON = deploymentGetConfigMessagesSystemMessageToJSON;
|
|
82
82
|
exports.deploymentGetConfigMessagesToJSON = deploymentGetConfigMessagesToJSON;
|
|
83
|
-
exports.
|
|
84
|
-
exports.
|
|
85
|
-
exports.
|
|
86
|
-
exports.
|
|
87
|
-
exports.
|
|
83
|
+
exports.deploymentGetConfigMetadataToJSON = deploymentGetConfigMetadataToJSON;
|
|
84
|
+
exports.deploymentGetConfigDocumentsToJSON = deploymentGetConfigDocumentsToJSON;
|
|
85
|
+
exports.deploymentGetConfigInvokeOptionsToJSON = deploymentGetConfigInvokeOptionsToJSON;
|
|
86
|
+
exports.deploymentGetConfigThreadToJSON = deploymentGetConfigThreadToJSON;
|
|
87
|
+
exports.deploymentGetConfigOrExistsToJSON = deploymentGetConfigOrExistsToJSON;
|
|
88
|
+
exports.deploymentGetConfigOrDeploymentsNinToJSON = deploymentGetConfigOrDeploymentsNinToJSON;
|
|
88
89
|
exports.deploymentGetConfigOrNinToJSON = deploymentGetConfigOrNinToJSON;
|
|
89
|
-
exports.
|
|
90
|
+
exports.deploymentGetConfigOrDeploymentsInToJSON = deploymentGetConfigOrDeploymentsInToJSON;
|
|
90
91
|
exports.deploymentGetConfigOrInToJSON = deploymentGetConfigOrInToJSON;
|
|
91
|
-
exports.
|
|
92
|
-
exports.
|
|
93
|
-
exports.
|
|
94
|
-
exports.
|
|
95
|
-
exports.
|
|
92
|
+
exports.deploymentGetConfigOrLteToJSON = deploymentGetConfigOrLteToJSON;
|
|
93
|
+
exports.deploymentGetConfigOrLtToJSON = deploymentGetConfigOrLtToJSON;
|
|
94
|
+
exports.deploymentGetConfigOrGteToJSON = deploymentGetConfigOrGteToJSON;
|
|
95
|
+
exports.deploymentGetConfigOrGtToJSON = deploymentGetConfigOrGtToJSON;
|
|
96
|
+
exports.deploymentGetConfigOrDeploymentsNeToJSON = deploymentGetConfigOrDeploymentsNeToJSON;
|
|
96
97
|
exports.deploymentGetConfigOrNeToJSON = deploymentGetConfigOrNeToJSON;
|
|
97
|
-
exports.
|
|
98
|
+
exports.deploymentGetConfigOrDeploymentsEqToJSON = deploymentGetConfigOrDeploymentsEqToJSON;
|
|
98
99
|
exports.deploymentGetConfigOrEqToJSON = deploymentGetConfigOrEqToJSON;
|
|
99
|
-
exports.
|
|
100
|
-
exports.
|
|
101
|
-
exports.
|
|
102
|
-
exports.
|
|
100
|
+
exports.deploymentGetConfigKnowledgeFilterDeploymentsOrToJSON = deploymentGetConfigKnowledgeFilterDeploymentsOrToJSON;
|
|
101
|
+
exports.deploymentGetConfigKnowledgeFilterOrToJSON = deploymentGetConfigKnowledgeFilterOrToJSON;
|
|
102
|
+
exports.deploymentGetConfigAndExistsToJSON = deploymentGetConfigAndExistsToJSON;
|
|
103
|
+
exports.deploymentGetConfigAndDeploymentsNinToJSON = deploymentGetConfigAndDeploymentsNinToJSON;
|
|
103
104
|
exports.deploymentGetConfigAndNinToJSON = deploymentGetConfigAndNinToJSON;
|
|
104
|
-
exports.
|
|
105
|
+
exports.deploymentGetConfigAndDeploymentsInToJSON = deploymentGetConfigAndDeploymentsInToJSON;
|
|
105
106
|
exports.deploymentGetConfigAndInToJSON = deploymentGetConfigAndInToJSON;
|
|
106
|
-
exports.
|
|
107
|
-
exports.
|
|
108
|
-
exports.
|
|
109
|
-
exports.
|
|
110
|
-
exports.
|
|
107
|
+
exports.deploymentGetConfigAndLteToJSON = deploymentGetConfigAndLteToJSON;
|
|
108
|
+
exports.deploymentGetConfigAndLtToJSON = deploymentGetConfigAndLtToJSON;
|
|
109
|
+
exports.deploymentGetConfigAndGteToJSON = deploymentGetConfigAndGteToJSON;
|
|
110
|
+
exports.deploymentGetConfigAndGtToJSON = deploymentGetConfigAndGtToJSON;
|
|
111
|
+
exports.deploymentGetConfigAndDeploymentsNeToJSON = deploymentGetConfigAndDeploymentsNeToJSON;
|
|
111
112
|
exports.deploymentGetConfigAndNeToJSON = deploymentGetConfigAndNeToJSON;
|
|
112
|
-
exports.
|
|
113
|
+
exports.deploymentGetConfigAndDeploymentsEqToJSON = deploymentGetConfigAndDeploymentsEqToJSON;
|
|
113
114
|
exports.deploymentGetConfigAndEqToJSON = deploymentGetConfigAndEqToJSON;
|
|
114
|
-
exports.
|
|
115
|
-
exports.
|
|
116
|
-
exports.
|
|
117
|
-
exports.
|
|
118
|
-
exports.
|
|
119
|
-
exports.
|
|
120
|
-
exports.
|
|
121
|
-
exports.
|
|
122
|
-
exports.
|
|
123
|
-
exports.
|
|
124
|
-
exports.
|
|
125
|
-
exports.
|
|
126
|
-
exports.
|
|
127
|
-
exports.
|
|
128
|
-
exports.
|
|
129
|
-
exports.
|
|
130
|
-
exports.
|
|
131
|
-
exports.knowledgeFilterToJSON = knowledgeFilterToJSON;
|
|
115
|
+
exports.deploymentGetConfigKnowledgeFilterDeploymentsAndToJSON = deploymentGetConfigKnowledgeFilterDeploymentsAndToJSON;
|
|
116
|
+
exports.deploymentGetConfigKnowledgeFilterAndToJSON = deploymentGetConfigKnowledgeFilterAndToJSON;
|
|
117
|
+
exports.oneExistsToJSON = oneExistsToJSON;
|
|
118
|
+
exports.deploymentGetConfig1DeploymentsNinToJSON = deploymentGetConfig1DeploymentsNinToJSON;
|
|
119
|
+
exports.deploymentGetConfig1NinToJSON = deploymentGetConfig1NinToJSON;
|
|
120
|
+
exports.deploymentGetConfig1DeploymentsInToJSON = deploymentGetConfig1DeploymentsInToJSON;
|
|
121
|
+
exports.deploymentGetConfig1InToJSON = deploymentGetConfig1InToJSON;
|
|
122
|
+
exports.oneLteToJSON = oneLteToJSON;
|
|
123
|
+
exports.oneLtToJSON = oneLtToJSON;
|
|
124
|
+
exports.oneGteToJSON = oneGteToJSON;
|
|
125
|
+
exports.oneGtToJSON = oneGtToJSON;
|
|
126
|
+
exports.deploymentGetConfig1DeploymentsNeToJSON = deploymentGetConfig1DeploymentsNeToJSON;
|
|
127
|
+
exports.deploymentGetConfig1NeToJSON = deploymentGetConfig1NeToJSON;
|
|
128
|
+
exports.deploymentGetConfig1DeploymentsEqToJSON = deploymentGetConfig1DeploymentsEqToJSON;
|
|
129
|
+
exports.deploymentGetConfig1EqToJSON = deploymentGetConfig1EqToJSON;
|
|
130
|
+
exports.deploymentGetConfigKnowledgeFilter1ToJSON = deploymentGetConfigKnowledgeFilter1ToJSON;
|
|
131
|
+
exports.deploymentGetConfigKnowledgeFilterToJSON = deploymentGetConfigKnowledgeFilterToJSON;
|
|
132
132
|
exports.deploymentGetConfigRequestBodyToJSON = deploymentGetConfigRequestBodyToJSON;
|
|
133
133
|
exports.deploymentGetConfig2FileFromJSON = deploymentGetConfig2FileFromJSON;
|
|
134
134
|
exports.two3FromJSON = two3FromJSON;
|
|
@@ -156,7 +156,7 @@ const components = __importStar(require("../components/index.js"));
|
|
|
156
156
|
/**
|
|
157
157
|
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
158
158
|
*/
|
|
159
|
-
exports.
|
|
159
|
+
exports.DeploymentGetConfigPrefixMessagesDeploymentsType = {
|
|
160
160
|
Ephemeral: "ephemeral",
|
|
161
161
|
};
|
|
162
162
|
/**
|
|
@@ -169,14 +169,14 @@ exports.DeploymentGetConfigPrefixMessagesType = {
|
|
|
169
169
|
*
|
|
170
170
|
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
171
171
|
*/
|
|
172
|
-
exports.
|
|
172
|
+
exports.DeploymentGetConfigPrefixMessagesTtl = {
|
|
173
173
|
Fivem: "5m",
|
|
174
174
|
Oneh: "1h",
|
|
175
175
|
};
|
|
176
176
|
/**
|
|
177
177
|
* The type of the tool. Currently, only `function` is supported.
|
|
178
178
|
*/
|
|
179
|
-
exports.
|
|
179
|
+
exports.DeploymentGetConfigPrefixMessagesType = {
|
|
180
180
|
Function: "function",
|
|
181
181
|
};
|
|
182
182
|
/**
|
|
@@ -195,14 +195,14 @@ exports.DeploymentGetConfig2DeploymentsType = {
|
|
|
195
195
|
*
|
|
196
196
|
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
197
197
|
*/
|
|
198
|
-
exports.
|
|
198
|
+
exports.DeploymentGetConfig2Ttl = {
|
|
199
199
|
Fivem: "5m",
|
|
200
200
|
Oneh: "1h",
|
|
201
201
|
};
|
|
202
202
|
/**
|
|
203
203
|
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
204
204
|
*/
|
|
205
|
-
exports.
|
|
205
|
+
exports.DeploymentGetConfigMessagesDeploymentsType = {
|
|
206
206
|
Ephemeral: "ephemeral",
|
|
207
207
|
};
|
|
208
208
|
/**
|
|
@@ -215,14 +215,14 @@ exports.DeploymentGetConfigMessagesType = {
|
|
|
215
215
|
*
|
|
216
216
|
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
217
217
|
*/
|
|
218
|
-
exports.
|
|
218
|
+
exports.DeploymentGetConfigMessagesTtl = {
|
|
219
219
|
Fivem: "5m",
|
|
220
220
|
Oneh: "1h",
|
|
221
221
|
};
|
|
222
222
|
/**
|
|
223
223
|
* The type of the tool. Currently, only `function` is supported.
|
|
224
224
|
*/
|
|
225
|
-
exports.
|
|
225
|
+
exports.DeploymentGetConfigMessagesType = {
|
|
226
226
|
Function: "function",
|
|
227
227
|
};
|
|
228
228
|
/**
|
|
@@ -241,7 +241,7 @@ exports.DeploymentGetConfig2DeploymentsRequestRequestBodyType = {
|
|
|
241
241
|
*
|
|
242
242
|
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
243
243
|
*/
|
|
244
|
-
exports.
|
|
244
|
+
exports.DeploymentGetConfig2DeploymentsTtl = {
|
|
245
245
|
Fivem: "5m",
|
|
246
246
|
Oneh: "1h",
|
|
247
247
|
};
|
|
@@ -362,62 +362,62 @@ exports.DeploymentGetConfigDeploymentsType = {
|
|
|
362
362
|
Function: "function",
|
|
363
363
|
};
|
|
364
364
|
/** @internal */
|
|
365
|
-
exports.
|
|
366
|
-
function
|
|
367
|
-
return JSON.stringify(exports.
|
|
365
|
+
exports.DeploymentGetConfigContentDeploymentsRequest2$outboundSchema = components.TextContentPartSchema$outboundSchema;
|
|
366
|
+
function deploymentGetConfigContentDeploymentsRequest2ToJSON(deploymentGetConfigContentDeploymentsRequest2) {
|
|
367
|
+
return JSON.stringify(exports.DeploymentGetConfigContentDeploymentsRequest2$outboundSchema.parse(deploymentGetConfigContentDeploymentsRequest2));
|
|
368
368
|
}
|
|
369
369
|
/** @internal */
|
|
370
|
-
exports.
|
|
370
|
+
exports.DeploymentGetConfigPrefixMessagesDeploymentsRequestRequestBody5Content$outboundSchema = z.union([
|
|
371
371
|
z.string(),
|
|
372
372
|
z.array(components.TextContentPartSchema$outboundSchema),
|
|
373
373
|
]);
|
|
374
|
-
function
|
|
375
|
-
return JSON.stringify(exports.
|
|
376
|
-
.parse(
|
|
374
|
+
function deploymentGetConfigPrefixMessagesDeploymentsRequestRequestBody5ContentToJSON(deploymentGetConfigPrefixMessagesDeploymentsRequestRequestBody5Content) {
|
|
375
|
+
return JSON.stringify(exports.DeploymentGetConfigPrefixMessagesDeploymentsRequestRequestBody5Content$outboundSchema
|
|
376
|
+
.parse(deploymentGetConfigPrefixMessagesDeploymentsRequestRequestBody5Content));
|
|
377
377
|
}
|
|
378
378
|
/** @internal */
|
|
379
|
-
exports.
|
|
379
|
+
exports.DeploymentGetConfigPrefixMessagesDeploymentsType$outboundSchema = z
|
|
380
|
+
.nativeEnum(exports.DeploymentGetConfigPrefixMessagesDeploymentsType);
|
|
380
381
|
/** @internal */
|
|
381
|
-
exports.
|
|
382
|
+
exports.DeploymentGetConfigPrefixMessagesTtl$outboundSchema = z.nativeEnum(exports.DeploymentGetConfigPrefixMessagesTtl);
|
|
382
383
|
/** @internal */
|
|
383
|
-
exports.
|
|
384
|
-
type: exports.
|
|
385
|
-
ttl: exports.
|
|
384
|
+
exports.DeploymentGetConfigPrefixMessagesCacheControl$outboundSchema = z.object({
|
|
385
|
+
type: exports.DeploymentGetConfigPrefixMessagesDeploymentsType$outboundSchema,
|
|
386
|
+
ttl: exports.DeploymentGetConfigPrefixMessagesTtl$outboundSchema.default("5m"),
|
|
386
387
|
});
|
|
387
|
-
function
|
|
388
|
-
return JSON.stringify(exports.
|
|
388
|
+
function deploymentGetConfigPrefixMessagesCacheControlToJSON(deploymentGetConfigPrefixMessagesCacheControl) {
|
|
389
|
+
return JSON.stringify(exports.DeploymentGetConfigPrefixMessagesCacheControl$outboundSchema.parse(deploymentGetConfigPrefixMessagesCacheControl));
|
|
389
390
|
}
|
|
390
391
|
/** @internal */
|
|
391
|
-
exports.
|
|
392
|
+
exports.PrefixMessagesToolMessage$outboundSchema = z.object({
|
|
392
393
|
role: z.literal("tool"),
|
|
393
394
|
content: z.union([
|
|
394
395
|
z.string(),
|
|
395
396
|
z.array(components.TextContentPartSchema$outboundSchema),
|
|
396
397
|
]),
|
|
397
398
|
toolCallId: z.nullable(z.string()),
|
|
398
|
-
cacheControl: z.lazy(() => exports.
|
|
399
|
-
.optional(),
|
|
399
|
+
cacheControl: z.lazy(() => exports.DeploymentGetConfigPrefixMessagesCacheControl$outboundSchema).optional(),
|
|
400
400
|
}).transform((v) => {
|
|
401
401
|
return (0, primitives_js_1.remap)(v, {
|
|
402
402
|
toolCallId: "tool_call_id",
|
|
403
403
|
cacheControl: "cache_control",
|
|
404
404
|
});
|
|
405
405
|
});
|
|
406
|
-
function
|
|
407
|
-
return JSON.stringify(exports.
|
|
406
|
+
function prefixMessagesToolMessageToJSON(prefixMessagesToolMessage) {
|
|
407
|
+
return JSON.stringify(exports.PrefixMessagesToolMessage$outboundSchema.parse(prefixMessagesToolMessage));
|
|
408
408
|
}
|
|
409
409
|
/** @internal */
|
|
410
|
-
exports.
|
|
410
|
+
exports.DeploymentGetConfigContentDeployments2$outboundSchema = z.union([
|
|
411
411
|
components.TextContentPartSchema$outboundSchema.and(z.object({ type: z.literal("text") })),
|
|
412
412
|
components.RefusalPartSchema$outboundSchema,
|
|
413
413
|
components.ReasoningPartSchema$outboundSchema,
|
|
414
414
|
components.RedactedReasoningPartSchema$outboundSchema,
|
|
415
415
|
]);
|
|
416
|
-
function
|
|
417
|
-
return JSON.stringify(exports.
|
|
416
|
+
function deploymentGetConfigContentDeployments2ToJSON(deploymentGetConfigContentDeployments2) {
|
|
417
|
+
return JSON.stringify(exports.DeploymentGetConfigContentDeployments2$outboundSchema.parse(deploymentGetConfigContentDeployments2));
|
|
418
418
|
}
|
|
419
419
|
/** @internal */
|
|
420
|
-
exports.
|
|
420
|
+
exports.DeploymentGetConfigPrefixMessagesDeploymentsRequestRequestBodyContent$outboundSchema = z.union([
|
|
421
421
|
z.string(),
|
|
422
422
|
z.array(z.union([
|
|
423
423
|
components.TextContentPartSchema$outboundSchema.and(z.object({ type: z.literal("text") })),
|
|
@@ -426,43 +426,43 @@ exports.DeploymentGetConfigPrefixMessagesDeploymentsRequestContent$outboundSchem
|
|
|
426
426
|
components.RedactedReasoningPartSchema$outboundSchema,
|
|
427
427
|
])),
|
|
428
428
|
]);
|
|
429
|
-
function
|
|
430
|
-
return JSON.stringify(exports.
|
|
431
|
-
.parse(
|
|
429
|
+
function deploymentGetConfigPrefixMessagesDeploymentsRequestRequestBodyContentToJSON(deploymentGetConfigPrefixMessagesDeploymentsRequestRequestBodyContent) {
|
|
430
|
+
return JSON.stringify(exports.DeploymentGetConfigPrefixMessagesDeploymentsRequestRequestBodyContent$outboundSchema
|
|
431
|
+
.parse(deploymentGetConfigPrefixMessagesDeploymentsRequestRequestBodyContent));
|
|
432
432
|
}
|
|
433
433
|
/** @internal */
|
|
434
|
-
exports.
|
|
434
|
+
exports.PrefixMessagesAudio$outboundSchema = z.object({
|
|
435
435
|
id: z.string(),
|
|
436
436
|
});
|
|
437
|
-
function
|
|
438
|
-
return JSON.stringify(exports.
|
|
437
|
+
function prefixMessagesAudioToJSON(prefixMessagesAudio) {
|
|
438
|
+
return JSON.stringify(exports.PrefixMessagesAudio$outboundSchema.parse(prefixMessagesAudio));
|
|
439
439
|
}
|
|
440
440
|
/** @internal */
|
|
441
|
-
exports.
|
|
441
|
+
exports.DeploymentGetConfigPrefixMessagesType$outboundSchema = z.nativeEnum(exports.DeploymentGetConfigPrefixMessagesType);
|
|
442
442
|
/** @internal */
|
|
443
|
-
exports.
|
|
443
|
+
exports.DeploymentGetConfigPrefixMessagesFunction$outboundSchema = z.object({
|
|
444
444
|
name: z.string().optional(),
|
|
445
445
|
arguments: z.string().optional(),
|
|
446
446
|
});
|
|
447
|
-
function
|
|
448
|
-
return JSON.stringify(exports.
|
|
447
|
+
function deploymentGetConfigPrefixMessagesFunctionToJSON(deploymentGetConfigPrefixMessagesFunction) {
|
|
448
|
+
return JSON.stringify(exports.DeploymentGetConfigPrefixMessagesFunction$outboundSchema.parse(deploymentGetConfigPrefixMessagesFunction));
|
|
449
449
|
}
|
|
450
450
|
/** @internal */
|
|
451
|
-
exports.
|
|
451
|
+
exports.DeploymentGetConfigPrefixMessagesToolCalls$outboundSchema = z.object({
|
|
452
452
|
id: z.string(),
|
|
453
|
-
type: exports.
|
|
454
|
-
function: z.lazy(() => exports.
|
|
453
|
+
type: exports.DeploymentGetConfigPrefixMessagesType$outboundSchema,
|
|
454
|
+
function: z.lazy(() => exports.DeploymentGetConfigPrefixMessagesFunction$outboundSchema),
|
|
455
455
|
thoughtSignature: z.string().optional(),
|
|
456
456
|
}).transform((v) => {
|
|
457
457
|
return (0, primitives_js_1.remap)(v, {
|
|
458
458
|
thoughtSignature: "thought_signature",
|
|
459
459
|
});
|
|
460
460
|
});
|
|
461
|
-
function
|
|
462
|
-
return JSON.stringify(exports.
|
|
461
|
+
function deploymentGetConfigPrefixMessagesToolCallsToJSON(deploymentGetConfigPrefixMessagesToolCalls) {
|
|
462
|
+
return JSON.stringify(exports.DeploymentGetConfigPrefixMessagesToolCalls$outboundSchema.parse(deploymentGetConfigPrefixMessagesToolCalls));
|
|
463
463
|
}
|
|
464
464
|
/** @internal */
|
|
465
|
-
exports.
|
|
465
|
+
exports.PrefixMessagesAssistantMessage$outboundSchema = z.object({
|
|
466
466
|
content: z.nullable(z.union([
|
|
467
467
|
z.string(),
|
|
468
468
|
z.array(z.union([
|
|
@@ -475,67 +475,69 @@ exports.AssistantMessage$outboundSchema = z.object({
|
|
|
475
475
|
refusal: z.nullable(z.string()).optional(),
|
|
476
476
|
role: z.literal("assistant"),
|
|
477
477
|
name: z.string().optional(),
|
|
478
|
-
audio: z.nullable(z.lazy(() => exports.
|
|
479
|
-
toolCalls: z.array(z.lazy(() => exports.PrefixMessagesToolCalls$outboundSchema))
|
|
478
|
+
audio: z.nullable(z.lazy(() => exports.PrefixMessagesAudio$outboundSchema))
|
|
480
479
|
.optional(),
|
|
480
|
+
toolCalls: z.array(z.lazy(() => exports.DeploymentGetConfigPrefixMessagesToolCalls$outboundSchema)).optional(),
|
|
481
481
|
}).transform((v) => {
|
|
482
482
|
return (0, primitives_js_1.remap)(v, {
|
|
483
483
|
toolCalls: "tool_calls",
|
|
484
484
|
});
|
|
485
485
|
});
|
|
486
|
-
function
|
|
487
|
-
return JSON.stringify(exports.
|
|
486
|
+
function prefixMessagesAssistantMessageToJSON(prefixMessagesAssistantMessage) {
|
|
487
|
+
return JSON.stringify(exports.PrefixMessagesAssistantMessage$outboundSchema.parse(prefixMessagesAssistantMessage));
|
|
488
488
|
}
|
|
489
489
|
/** @internal */
|
|
490
490
|
exports.DeploymentGetConfig2DeploymentsType$outboundSchema = z.nativeEnum(exports.DeploymentGetConfig2DeploymentsType);
|
|
491
491
|
/** @internal */
|
|
492
|
-
exports.
|
|
492
|
+
exports.DeploymentGetConfig2Ttl$outboundSchema = z.nativeEnum(exports.DeploymentGetConfig2Ttl);
|
|
493
493
|
/** @internal */
|
|
494
|
-
exports.
|
|
494
|
+
exports.DeploymentGetConfig2CacheControl$outboundSchema = z.object({
|
|
495
495
|
type: exports.DeploymentGetConfig2DeploymentsType$outboundSchema,
|
|
496
|
-
ttl: exports.
|
|
496
|
+
ttl: exports.DeploymentGetConfig2Ttl$outboundSchema.default("5m"),
|
|
497
497
|
});
|
|
498
|
-
function
|
|
499
|
-
return JSON.stringify(exports.
|
|
498
|
+
function deploymentGetConfig2CacheControlToJSON(deploymentGetConfig2CacheControl) {
|
|
499
|
+
return JSON.stringify(exports.DeploymentGetConfig2CacheControl$outboundSchema.parse(deploymentGetConfig2CacheControl));
|
|
500
500
|
}
|
|
501
501
|
/** @internal */
|
|
502
|
-
exports.
|
|
502
|
+
exports.DeploymentGetConfig24$outboundSchema = z.object({
|
|
503
503
|
type: z.literal("file"),
|
|
504
|
-
cacheControl: z.lazy(() => exports.
|
|
504
|
+
cacheControl: z.lazy(() => exports.DeploymentGetConfig2CacheControl$outboundSchema)
|
|
505
|
+
.optional(),
|
|
505
506
|
file: components.FileContentPartSchema$outboundSchema,
|
|
506
507
|
}).transform((v) => {
|
|
507
508
|
return (0, primitives_js_1.remap)(v, {
|
|
508
509
|
cacheControl: "cache_control",
|
|
509
510
|
});
|
|
510
511
|
});
|
|
511
|
-
function
|
|
512
|
-
return JSON.stringify(exports.
|
|
512
|
+
function deploymentGetConfig24ToJSON(deploymentGetConfig24) {
|
|
513
|
+
return JSON.stringify(exports.DeploymentGetConfig24$outboundSchema.parse(deploymentGetConfig24));
|
|
513
514
|
}
|
|
514
515
|
/** @internal */
|
|
515
|
-
exports.
|
|
516
|
+
exports.DeploymentGetConfigContent2$outboundSchema = z.union([
|
|
516
517
|
components.TextContentPartSchema$outboundSchema.and(z.object({ type: z.literal("text") })),
|
|
517
518
|
components.ImageContentPartSchema$outboundSchema,
|
|
518
519
|
components.AudioContentPartSchema$outboundSchema,
|
|
519
|
-
z.lazy(() => exports.
|
|
520
|
+
z.lazy(() => exports.DeploymentGetConfig24$outboundSchema),
|
|
520
521
|
]);
|
|
521
|
-
function
|
|
522
|
-
return JSON.stringify(exports.
|
|
522
|
+
function deploymentGetConfigContent2ToJSON(deploymentGetConfigContent2) {
|
|
523
|
+
return JSON.stringify(exports.DeploymentGetConfigContent2$outboundSchema.parse(deploymentGetConfigContent2));
|
|
523
524
|
}
|
|
524
525
|
/** @internal */
|
|
525
|
-
exports.
|
|
526
|
+
exports.DeploymentGetConfigPrefixMessagesDeploymentsRequestContent$outboundSchema = z.union([
|
|
526
527
|
z.string(),
|
|
527
528
|
z.array(z.union([
|
|
528
529
|
components.TextContentPartSchema$outboundSchema.and(z.object({ type: z.literal("text") })),
|
|
529
530
|
components.ImageContentPartSchema$outboundSchema,
|
|
530
531
|
components.AudioContentPartSchema$outboundSchema,
|
|
531
|
-
z.lazy(() => exports.
|
|
532
|
+
z.lazy(() => exports.DeploymentGetConfig24$outboundSchema),
|
|
532
533
|
])),
|
|
533
534
|
]);
|
|
534
|
-
function
|
|
535
|
-
return JSON.stringify(exports.
|
|
535
|
+
function deploymentGetConfigPrefixMessagesDeploymentsRequestContentToJSON(deploymentGetConfigPrefixMessagesDeploymentsRequestContent) {
|
|
536
|
+
return JSON.stringify(exports.DeploymentGetConfigPrefixMessagesDeploymentsRequestContent$outboundSchema
|
|
537
|
+
.parse(deploymentGetConfigPrefixMessagesDeploymentsRequestContent));
|
|
536
538
|
}
|
|
537
539
|
/** @internal */
|
|
538
|
-
exports.
|
|
540
|
+
exports.PrefixMessagesUserMessage$outboundSchema = z.object({
|
|
539
541
|
role: z.literal("user"),
|
|
540
542
|
name: z.string().optional(),
|
|
541
543
|
content: z.union([
|
|
@@ -544,23 +546,23 @@ exports.UserMessage$outboundSchema = z.object({
|
|
|
544
546
|
components.TextContentPartSchema$outboundSchema.and(z.object({ type: z.literal("text") })),
|
|
545
547
|
components.ImageContentPartSchema$outboundSchema,
|
|
546
548
|
components.AudioContentPartSchema$outboundSchema,
|
|
547
|
-
z.lazy(() => exports.
|
|
549
|
+
z.lazy(() => exports.DeploymentGetConfig24$outboundSchema),
|
|
548
550
|
])),
|
|
549
551
|
]),
|
|
550
552
|
});
|
|
551
|
-
function
|
|
552
|
-
return JSON.stringify(exports.
|
|
553
|
+
function prefixMessagesUserMessageToJSON(prefixMessagesUserMessage) {
|
|
554
|
+
return JSON.stringify(exports.PrefixMessagesUserMessage$outboundSchema.parse(prefixMessagesUserMessage));
|
|
553
555
|
}
|
|
554
556
|
/** @internal */
|
|
555
|
-
exports.
|
|
557
|
+
exports.DeploymentGetConfigPrefixMessagesDeploymentsContent$outboundSchema = z.union([
|
|
556
558
|
z.string(),
|
|
557
559
|
z.array(components.TextContentPartSchema$outboundSchema),
|
|
558
560
|
]);
|
|
559
|
-
function
|
|
560
|
-
return JSON.stringify(exports.
|
|
561
|
+
function deploymentGetConfigPrefixMessagesDeploymentsContentToJSON(deploymentGetConfigPrefixMessagesDeploymentsContent) {
|
|
562
|
+
return JSON.stringify(exports.DeploymentGetConfigPrefixMessagesDeploymentsContent$outboundSchema.parse(deploymentGetConfigPrefixMessagesDeploymentsContent));
|
|
561
563
|
}
|
|
562
564
|
/** @internal */
|
|
563
|
-
exports.
|
|
565
|
+
exports.PrefixMessagesDeveloperMessage$outboundSchema = z.object({
|
|
564
566
|
role: z.literal("developer"),
|
|
565
567
|
content: z.union([
|
|
566
568
|
z.string(),
|
|
@@ -568,19 +570,19 @@ exports.DeveloperMessage$outboundSchema = z.object({
|
|
|
568
570
|
]),
|
|
569
571
|
name: z.string().optional(),
|
|
570
572
|
});
|
|
571
|
-
function
|
|
572
|
-
return JSON.stringify(exports.
|
|
573
|
+
function prefixMessagesDeveloperMessageToJSON(prefixMessagesDeveloperMessage) {
|
|
574
|
+
return JSON.stringify(exports.PrefixMessagesDeveloperMessage$outboundSchema.parse(prefixMessagesDeveloperMessage));
|
|
573
575
|
}
|
|
574
576
|
/** @internal */
|
|
575
|
-
exports.
|
|
577
|
+
exports.DeploymentGetConfigPrefixMessagesContent$outboundSchema = z.union([
|
|
576
578
|
z.string(),
|
|
577
579
|
z.array(components.TextContentPartSchema$outboundSchema),
|
|
578
580
|
]);
|
|
579
|
-
function
|
|
580
|
-
return JSON.stringify(exports.
|
|
581
|
+
function deploymentGetConfigPrefixMessagesContentToJSON(deploymentGetConfigPrefixMessagesContent) {
|
|
582
|
+
return JSON.stringify(exports.DeploymentGetConfigPrefixMessagesContent$outboundSchema.parse(deploymentGetConfigPrefixMessagesContent));
|
|
581
583
|
}
|
|
582
584
|
/** @internal */
|
|
583
|
-
exports.
|
|
585
|
+
exports.PrefixMessagesSystemMessage$outboundSchema = z.object({
|
|
584
586
|
role: z.literal("system"),
|
|
585
587
|
content: z.union([
|
|
586
588
|
z.string(),
|
|
@@ -588,79 +590,79 @@ exports.SystemMessage$outboundSchema = z.object({
|
|
|
588
590
|
]),
|
|
589
591
|
name: z.string().optional(),
|
|
590
592
|
});
|
|
591
|
-
function
|
|
592
|
-
return JSON.stringify(exports.
|
|
593
|
+
function prefixMessagesSystemMessageToJSON(prefixMessagesSystemMessage) {
|
|
594
|
+
return JSON.stringify(exports.PrefixMessagesSystemMessage$outboundSchema.parse(prefixMessagesSystemMessage));
|
|
593
595
|
}
|
|
594
596
|
/** @internal */
|
|
595
|
-
exports.
|
|
596
|
-
z.lazy(() => exports.
|
|
597
|
-
z.lazy(() => exports.
|
|
598
|
-
z.lazy(() => exports.
|
|
599
|
-
z.lazy(() => exports.
|
|
600
|
-
z.lazy(() => exports.
|
|
597
|
+
exports.DeploymentGetConfigPrefixMessages$outboundSchema = z.union([
|
|
598
|
+
z.lazy(() => exports.PrefixMessagesSystemMessage$outboundSchema),
|
|
599
|
+
z.lazy(() => exports.PrefixMessagesDeveloperMessage$outboundSchema),
|
|
600
|
+
z.lazy(() => exports.PrefixMessagesUserMessage$outboundSchema),
|
|
601
|
+
z.lazy(() => exports.PrefixMessagesAssistantMessage$outboundSchema),
|
|
602
|
+
z.lazy(() => exports.PrefixMessagesToolMessage$outboundSchema),
|
|
601
603
|
]);
|
|
602
|
-
function
|
|
603
|
-
return JSON.stringify(exports.
|
|
604
|
+
function deploymentGetConfigPrefixMessagesToJSON(deploymentGetConfigPrefixMessages) {
|
|
605
|
+
return JSON.stringify(exports.DeploymentGetConfigPrefixMessages$outboundSchema.parse(deploymentGetConfigPrefixMessages));
|
|
604
606
|
}
|
|
605
607
|
/** @internal */
|
|
606
|
-
exports.
|
|
607
|
-
function
|
|
608
|
-
return JSON.stringify(exports.
|
|
609
|
-
.parse(
|
|
608
|
+
exports.DeploymentGetConfigContentDeploymentsRequestRequestBodyMessages52$outboundSchema = components.TextContentPartSchema$outboundSchema;
|
|
609
|
+
function deploymentGetConfigContentDeploymentsRequestRequestBodyMessages52ToJSON(deploymentGetConfigContentDeploymentsRequestRequestBodyMessages52) {
|
|
610
|
+
return JSON.stringify(exports.DeploymentGetConfigContentDeploymentsRequestRequestBodyMessages52$outboundSchema
|
|
611
|
+
.parse(deploymentGetConfigContentDeploymentsRequestRequestBodyMessages52));
|
|
610
612
|
}
|
|
611
613
|
/** @internal */
|
|
612
|
-
exports.
|
|
614
|
+
exports.DeploymentGetConfigMessagesDeploymentsRequestRequestBody5Content$outboundSchema = z.union([
|
|
613
615
|
z.string(),
|
|
614
616
|
z.array(components.TextContentPartSchema$outboundSchema),
|
|
615
617
|
]);
|
|
616
|
-
function
|
|
617
|
-
return JSON.stringify(exports.
|
|
618
|
-
.parse(
|
|
618
|
+
function deploymentGetConfigMessagesDeploymentsRequestRequestBody5ContentToJSON(deploymentGetConfigMessagesDeploymentsRequestRequestBody5Content) {
|
|
619
|
+
return JSON.stringify(exports.DeploymentGetConfigMessagesDeploymentsRequestRequestBody5Content$outboundSchema
|
|
620
|
+
.parse(deploymentGetConfigMessagesDeploymentsRequestRequestBody5Content));
|
|
619
621
|
}
|
|
620
622
|
/** @internal */
|
|
621
|
-
exports.
|
|
623
|
+
exports.DeploymentGetConfigMessagesDeploymentsType$outboundSchema = z
|
|
624
|
+
.nativeEnum(exports.DeploymentGetConfigMessagesDeploymentsType);
|
|
622
625
|
/** @internal */
|
|
623
|
-
exports.
|
|
624
|
-
.nativeEnum(exports.MessagesTtl);
|
|
626
|
+
exports.DeploymentGetConfigMessagesTtl$outboundSchema = z.nativeEnum(exports.DeploymentGetConfigMessagesTtl);
|
|
625
627
|
/** @internal */
|
|
626
|
-
exports.
|
|
627
|
-
type: exports.
|
|
628
|
-
ttl: exports.
|
|
628
|
+
exports.DeploymentGetConfigMessagesCacheControl$outboundSchema = z.object({
|
|
629
|
+
type: exports.DeploymentGetConfigMessagesDeploymentsType$outboundSchema,
|
|
630
|
+
ttl: exports.DeploymentGetConfigMessagesTtl$outboundSchema.default("5m"),
|
|
629
631
|
});
|
|
630
|
-
function
|
|
631
|
-
return JSON.stringify(exports.
|
|
632
|
+
function deploymentGetConfigMessagesCacheControlToJSON(deploymentGetConfigMessagesCacheControl) {
|
|
633
|
+
return JSON.stringify(exports.DeploymentGetConfigMessagesCacheControl$outboundSchema.parse(deploymentGetConfigMessagesCacheControl));
|
|
632
634
|
}
|
|
633
635
|
/** @internal */
|
|
634
|
-
exports.
|
|
636
|
+
exports.DeploymentGetConfigMessagesToolMessage$outboundSchema = z.object({
|
|
635
637
|
role: z.literal("tool"),
|
|
636
638
|
content: z.union([
|
|
637
639
|
z.string(),
|
|
638
640
|
z.array(components.TextContentPartSchema$outboundSchema),
|
|
639
641
|
]),
|
|
640
642
|
toolCallId: z.nullable(z.string()),
|
|
641
|
-
cacheControl: z.lazy(() => exports.
|
|
643
|
+
cacheControl: z.lazy(() => exports.DeploymentGetConfigMessagesCacheControl$outboundSchema).optional(),
|
|
642
644
|
}).transform((v) => {
|
|
643
645
|
return (0, primitives_js_1.remap)(v, {
|
|
644
646
|
toolCallId: "tool_call_id",
|
|
645
647
|
cacheControl: "cache_control",
|
|
646
648
|
});
|
|
647
649
|
});
|
|
648
|
-
function
|
|
649
|
-
return JSON.stringify(exports.
|
|
650
|
+
function deploymentGetConfigMessagesToolMessageToJSON(deploymentGetConfigMessagesToolMessage) {
|
|
651
|
+
return JSON.stringify(exports.DeploymentGetConfigMessagesToolMessage$outboundSchema.parse(deploymentGetConfigMessagesToolMessage));
|
|
650
652
|
}
|
|
651
653
|
/** @internal */
|
|
652
|
-
exports.
|
|
654
|
+
exports.DeploymentGetConfigContentDeploymentsRequestRequestBodyMessages2$outboundSchema = z.union([
|
|
653
655
|
components.TextContentPartSchema$outboundSchema.and(z.object({ type: z.literal("text") })),
|
|
654
656
|
components.RefusalPartSchema$outboundSchema,
|
|
655
657
|
components.ReasoningPartSchema$outboundSchema,
|
|
656
658
|
components.RedactedReasoningPartSchema$outboundSchema,
|
|
657
659
|
]);
|
|
658
|
-
function
|
|
659
|
-
return JSON.stringify(exports.
|
|
660
|
-
.parse(
|
|
660
|
+
function deploymentGetConfigContentDeploymentsRequestRequestBodyMessages2ToJSON(deploymentGetConfigContentDeploymentsRequestRequestBodyMessages2) {
|
|
661
|
+
return JSON.stringify(exports.DeploymentGetConfigContentDeploymentsRequestRequestBodyMessages2$outboundSchema
|
|
662
|
+
.parse(deploymentGetConfigContentDeploymentsRequestRequestBodyMessages2));
|
|
661
663
|
}
|
|
662
664
|
/** @internal */
|
|
663
|
-
exports.
|
|
665
|
+
exports.DeploymentGetConfigMessagesDeploymentsRequestRequestBodyContent$outboundSchema = z.union([
|
|
664
666
|
z.string(),
|
|
665
667
|
z.array(z.union([
|
|
666
668
|
components.TextContentPartSchema$outboundSchema.and(z.object({ type: z.literal("text") })),
|
|
@@ -669,42 +671,43 @@ exports.DeploymentGetConfigMessagesDeploymentsRequestContent$outboundSchema = z.
|
|
|
669
671
|
components.RedactedReasoningPartSchema$outboundSchema,
|
|
670
672
|
])),
|
|
671
673
|
]);
|
|
672
|
-
function
|
|
673
|
-
return JSON.stringify(exports.
|
|
674
|
+
function deploymentGetConfigMessagesDeploymentsRequestRequestBodyContentToJSON(deploymentGetConfigMessagesDeploymentsRequestRequestBodyContent) {
|
|
675
|
+
return JSON.stringify(exports.DeploymentGetConfigMessagesDeploymentsRequestRequestBodyContent$outboundSchema
|
|
676
|
+
.parse(deploymentGetConfigMessagesDeploymentsRequestRequestBodyContent));
|
|
674
677
|
}
|
|
675
678
|
/** @internal */
|
|
676
|
-
exports.
|
|
679
|
+
exports.DeploymentGetConfigMessagesAudio$outboundSchema = z.object({
|
|
677
680
|
id: z.string(),
|
|
678
681
|
});
|
|
679
|
-
function
|
|
680
|
-
return JSON.stringify(exports.
|
|
682
|
+
function deploymentGetConfigMessagesAudioToJSON(deploymentGetConfigMessagesAudio) {
|
|
683
|
+
return JSON.stringify(exports.DeploymentGetConfigMessagesAudio$outboundSchema.parse(deploymentGetConfigMessagesAudio));
|
|
681
684
|
}
|
|
682
685
|
/** @internal */
|
|
683
|
-
exports.
|
|
686
|
+
exports.DeploymentGetConfigMessagesType$outboundSchema = z.nativeEnum(exports.DeploymentGetConfigMessagesType);
|
|
684
687
|
/** @internal */
|
|
685
|
-
exports.
|
|
688
|
+
exports.DeploymentGetConfigMessagesFunction$outboundSchema = z.object({
|
|
686
689
|
name: z.string().optional(),
|
|
687
690
|
arguments: z.string().optional(),
|
|
688
691
|
});
|
|
689
|
-
function
|
|
690
|
-
return JSON.stringify(exports.
|
|
692
|
+
function deploymentGetConfigMessagesFunctionToJSON(deploymentGetConfigMessagesFunction) {
|
|
693
|
+
return JSON.stringify(exports.DeploymentGetConfigMessagesFunction$outboundSchema.parse(deploymentGetConfigMessagesFunction));
|
|
691
694
|
}
|
|
692
695
|
/** @internal */
|
|
693
|
-
exports.
|
|
696
|
+
exports.DeploymentGetConfigMessagesToolCalls$outboundSchema = z.object({
|
|
694
697
|
id: z.string(),
|
|
695
|
-
type: exports.
|
|
696
|
-
function: z.lazy(() => exports.
|
|
698
|
+
type: exports.DeploymentGetConfigMessagesType$outboundSchema,
|
|
699
|
+
function: z.lazy(() => exports.DeploymentGetConfigMessagesFunction$outboundSchema),
|
|
697
700
|
thoughtSignature: z.string().optional(),
|
|
698
701
|
}).transform((v) => {
|
|
699
702
|
return (0, primitives_js_1.remap)(v, {
|
|
700
703
|
thoughtSignature: "thought_signature",
|
|
701
704
|
});
|
|
702
705
|
});
|
|
703
|
-
function
|
|
704
|
-
return JSON.stringify(exports.
|
|
706
|
+
function deploymentGetConfigMessagesToolCallsToJSON(deploymentGetConfigMessagesToolCalls) {
|
|
707
|
+
return JSON.stringify(exports.DeploymentGetConfigMessagesToolCalls$outboundSchema.parse(deploymentGetConfigMessagesToolCalls));
|
|
705
708
|
}
|
|
706
709
|
/** @internal */
|
|
707
|
-
exports.
|
|
710
|
+
exports.DeploymentGetConfigMessagesAssistantMessage$outboundSchema = z.object({
|
|
708
711
|
content: z.nullable(z.union([
|
|
709
712
|
z.string(),
|
|
710
713
|
z.array(z.union([
|
|
@@ -717,67 +720,67 @@ exports.MessagesAssistantMessage$outboundSchema = z.object({
|
|
|
717
720
|
refusal: z.nullable(z.string()).optional(),
|
|
718
721
|
role: z.literal("assistant"),
|
|
719
722
|
name: z.string().optional(),
|
|
720
|
-
audio: z.nullable(z.lazy(() => exports.
|
|
721
|
-
toolCalls: z.array(z.lazy(() => exports.
|
|
723
|
+
audio: z.nullable(z.lazy(() => exports.DeploymentGetConfigMessagesAudio$outboundSchema)).optional(),
|
|
724
|
+
toolCalls: z.array(z.lazy(() => exports.DeploymentGetConfigMessagesToolCalls$outboundSchema)).optional(),
|
|
722
725
|
}).transform((v) => {
|
|
723
726
|
return (0, primitives_js_1.remap)(v, {
|
|
724
727
|
toolCalls: "tool_calls",
|
|
725
728
|
});
|
|
726
729
|
});
|
|
727
|
-
function
|
|
728
|
-
return JSON.stringify(exports.
|
|
730
|
+
function deploymentGetConfigMessagesAssistantMessageToJSON(deploymentGetConfigMessagesAssistantMessage) {
|
|
731
|
+
return JSON.stringify(exports.DeploymentGetConfigMessagesAssistantMessage$outboundSchema.parse(deploymentGetConfigMessagesAssistantMessage));
|
|
729
732
|
}
|
|
730
733
|
/** @internal */
|
|
731
734
|
exports.DeploymentGetConfig2DeploymentsRequestRequestBodyType$outboundSchema = z.nativeEnum(exports.DeploymentGetConfig2DeploymentsRequestRequestBodyType);
|
|
732
735
|
/** @internal */
|
|
733
|
-
exports.
|
|
734
|
-
.nativeEnum(exports.TwoTtl);
|
|
736
|
+
exports.DeploymentGetConfig2DeploymentsTtl$outboundSchema = z.nativeEnum(exports.DeploymentGetConfig2DeploymentsTtl);
|
|
735
737
|
/** @internal */
|
|
736
|
-
exports.
|
|
738
|
+
exports.DeploymentGetConfig2DeploymentsCacheControl$outboundSchema = z.object({
|
|
737
739
|
type: exports.DeploymentGetConfig2DeploymentsRequestRequestBodyType$outboundSchema,
|
|
738
|
-
ttl: exports.
|
|
740
|
+
ttl: exports.DeploymentGetConfig2DeploymentsTtl$outboundSchema.default("5m"),
|
|
739
741
|
});
|
|
740
|
-
function
|
|
741
|
-
return JSON.stringify(exports.
|
|
742
|
+
function deploymentGetConfig2DeploymentsCacheControlToJSON(deploymentGetConfig2DeploymentsCacheControl) {
|
|
743
|
+
return JSON.stringify(exports.DeploymentGetConfig2DeploymentsCacheControl$outboundSchema.parse(deploymentGetConfig2DeploymentsCacheControl));
|
|
742
744
|
}
|
|
743
745
|
/** @internal */
|
|
744
|
-
exports.
|
|
746
|
+
exports.DeploymentGetConfig2Deployments4$outboundSchema = z.object({
|
|
745
747
|
type: z.literal("file"),
|
|
746
|
-
cacheControl: z.lazy(() => exports.
|
|
748
|
+
cacheControl: z.lazy(() => exports.DeploymentGetConfig2DeploymentsCacheControl$outboundSchema).optional(),
|
|
747
749
|
file: components.FileContentPartSchema$outboundSchema,
|
|
748
750
|
}).transform((v) => {
|
|
749
751
|
return (0, primitives_js_1.remap)(v, {
|
|
750
752
|
cacheControl: "cache_control",
|
|
751
753
|
});
|
|
752
754
|
});
|
|
753
|
-
function
|
|
754
|
-
return JSON.stringify(exports.
|
|
755
|
+
function deploymentGetConfig2Deployments4ToJSON(deploymentGetConfig2Deployments4) {
|
|
756
|
+
return JSON.stringify(exports.DeploymentGetConfig2Deployments4$outboundSchema.parse(deploymentGetConfig2Deployments4));
|
|
755
757
|
}
|
|
756
758
|
/** @internal */
|
|
757
|
-
exports.
|
|
759
|
+
exports.DeploymentGetConfigContentDeploymentsRequestRequestBody2$outboundSchema = z.union([
|
|
758
760
|
components.TextContentPartSchema$outboundSchema.and(z.object({ type: z.literal("text") })),
|
|
759
761
|
components.ImageContentPartSchema$outboundSchema,
|
|
760
762
|
components.AudioContentPartSchema$outboundSchema,
|
|
761
|
-
z.lazy(() => exports.
|
|
763
|
+
z.lazy(() => exports.DeploymentGetConfig2Deployments4$outboundSchema),
|
|
762
764
|
]);
|
|
763
|
-
function
|
|
764
|
-
return JSON.stringify(exports.
|
|
765
|
+
function deploymentGetConfigContentDeploymentsRequestRequestBody2ToJSON(deploymentGetConfigContentDeploymentsRequestRequestBody2) {
|
|
766
|
+
return JSON.stringify(exports.DeploymentGetConfigContentDeploymentsRequestRequestBody2$outboundSchema
|
|
767
|
+
.parse(deploymentGetConfigContentDeploymentsRequestRequestBody2));
|
|
765
768
|
}
|
|
766
769
|
/** @internal */
|
|
767
|
-
exports.
|
|
770
|
+
exports.DeploymentGetConfigMessagesDeploymentsRequestContent$outboundSchema = z.union([
|
|
768
771
|
z.string(),
|
|
769
772
|
z.array(z.union([
|
|
770
773
|
components.TextContentPartSchema$outboundSchema.and(z.object({ type: z.literal("text") })),
|
|
771
774
|
components.ImageContentPartSchema$outboundSchema,
|
|
772
775
|
components.AudioContentPartSchema$outboundSchema,
|
|
773
|
-
z.lazy(() => exports.
|
|
776
|
+
z.lazy(() => exports.DeploymentGetConfig2Deployments4$outboundSchema),
|
|
774
777
|
])),
|
|
775
778
|
]);
|
|
776
|
-
function
|
|
777
|
-
return JSON.stringify(exports.
|
|
779
|
+
function deploymentGetConfigMessagesDeploymentsRequestContentToJSON(deploymentGetConfigMessagesDeploymentsRequestContent) {
|
|
780
|
+
return JSON.stringify(exports.DeploymentGetConfigMessagesDeploymentsRequestContent$outboundSchema.parse(deploymentGetConfigMessagesDeploymentsRequestContent));
|
|
778
781
|
}
|
|
779
782
|
/** @internal */
|
|
780
|
-
exports.
|
|
783
|
+
exports.DeploymentGetConfigMessagesUserMessage$outboundSchema = z.object({
|
|
781
784
|
role: z.literal("user"),
|
|
782
785
|
name: z.string().optional(),
|
|
783
786
|
content: z.union([
|
|
@@ -786,23 +789,23 @@ exports.MessagesUserMessage$outboundSchema = z.object({
|
|
|
786
789
|
components.TextContentPartSchema$outboundSchema.and(z.object({ type: z.literal("text") })),
|
|
787
790
|
components.ImageContentPartSchema$outboundSchema,
|
|
788
791
|
components.AudioContentPartSchema$outboundSchema,
|
|
789
|
-
z.lazy(() => exports.
|
|
792
|
+
z.lazy(() => exports.DeploymentGetConfig2Deployments4$outboundSchema),
|
|
790
793
|
])),
|
|
791
794
|
]),
|
|
792
795
|
});
|
|
793
|
-
function
|
|
794
|
-
return JSON.stringify(exports.
|
|
796
|
+
function deploymentGetConfigMessagesUserMessageToJSON(deploymentGetConfigMessagesUserMessage) {
|
|
797
|
+
return JSON.stringify(exports.DeploymentGetConfigMessagesUserMessage$outboundSchema.parse(deploymentGetConfigMessagesUserMessage));
|
|
795
798
|
}
|
|
796
799
|
/** @internal */
|
|
797
|
-
exports.
|
|
800
|
+
exports.DeploymentGetConfigMessagesDeploymentsContent$outboundSchema = z.union([
|
|
798
801
|
z.string(),
|
|
799
802
|
z.array(components.TextContentPartSchema$outboundSchema),
|
|
800
803
|
]);
|
|
801
|
-
function
|
|
802
|
-
return JSON.stringify(exports.
|
|
804
|
+
function deploymentGetConfigMessagesDeploymentsContentToJSON(deploymentGetConfigMessagesDeploymentsContent) {
|
|
805
|
+
return JSON.stringify(exports.DeploymentGetConfigMessagesDeploymentsContent$outboundSchema.parse(deploymentGetConfigMessagesDeploymentsContent));
|
|
803
806
|
}
|
|
804
807
|
/** @internal */
|
|
805
|
-
exports.
|
|
808
|
+
exports.DeploymentGetConfigMessagesDeveloperMessage$outboundSchema = z.object({
|
|
806
809
|
role: z.literal("developer"),
|
|
807
810
|
content: z.union([
|
|
808
811
|
z.string(),
|
|
@@ -810,19 +813,19 @@ exports.MessagesDeveloperMessage$outboundSchema = z.object({
|
|
|
810
813
|
]),
|
|
811
814
|
name: z.string().optional(),
|
|
812
815
|
});
|
|
813
|
-
function
|
|
814
|
-
return JSON.stringify(exports.
|
|
816
|
+
function deploymentGetConfigMessagesDeveloperMessageToJSON(deploymentGetConfigMessagesDeveloperMessage) {
|
|
817
|
+
return JSON.stringify(exports.DeploymentGetConfigMessagesDeveloperMessage$outboundSchema.parse(deploymentGetConfigMessagesDeveloperMessage));
|
|
815
818
|
}
|
|
816
819
|
/** @internal */
|
|
817
|
-
exports.
|
|
820
|
+
exports.DeploymentGetConfigMessagesContent$outboundSchema = z.union([
|
|
818
821
|
z.string(),
|
|
819
822
|
z.array(components.TextContentPartSchema$outboundSchema),
|
|
820
823
|
]);
|
|
821
|
-
function
|
|
822
|
-
return JSON.stringify(exports.
|
|
824
|
+
function deploymentGetConfigMessagesContentToJSON(deploymentGetConfigMessagesContent) {
|
|
825
|
+
return JSON.stringify(exports.DeploymentGetConfigMessagesContent$outboundSchema.parse(deploymentGetConfigMessagesContent));
|
|
823
826
|
}
|
|
824
827
|
/** @internal */
|
|
825
|
-
exports.
|
|
828
|
+
exports.DeploymentGetConfigMessagesSystemMessage$outboundSchema = z.object({
|
|
826
829
|
role: z.literal("system"),
|
|
827
830
|
content: z.union([
|
|
828
831
|
z.string(),
|
|
@@ -830,22 +833,22 @@ exports.MessagesSystemMessage$outboundSchema = z.object({
|
|
|
830
833
|
]),
|
|
831
834
|
name: z.string().optional(),
|
|
832
835
|
});
|
|
833
|
-
function
|
|
834
|
-
return JSON.stringify(exports.
|
|
836
|
+
function deploymentGetConfigMessagesSystemMessageToJSON(deploymentGetConfigMessagesSystemMessage) {
|
|
837
|
+
return JSON.stringify(exports.DeploymentGetConfigMessagesSystemMessage$outboundSchema.parse(deploymentGetConfigMessagesSystemMessage));
|
|
835
838
|
}
|
|
836
839
|
/** @internal */
|
|
837
840
|
exports.DeploymentGetConfigMessages$outboundSchema = z.union([
|
|
838
|
-
z.lazy(() => exports.
|
|
839
|
-
z.lazy(() => exports.
|
|
840
|
-
z.lazy(() => exports.
|
|
841
|
-
z.lazy(() => exports.
|
|
842
|
-
z.lazy(() => exports.
|
|
841
|
+
z.lazy(() => exports.DeploymentGetConfigMessagesSystemMessage$outboundSchema),
|
|
842
|
+
z.lazy(() => exports.DeploymentGetConfigMessagesDeveloperMessage$outboundSchema),
|
|
843
|
+
z.lazy(() => exports.DeploymentGetConfigMessagesUserMessage$outboundSchema),
|
|
844
|
+
z.lazy(() => exports.DeploymentGetConfigMessagesAssistantMessage$outboundSchema),
|
|
845
|
+
z.lazy(() => exports.DeploymentGetConfigMessagesToolMessage$outboundSchema),
|
|
843
846
|
]);
|
|
844
847
|
function deploymentGetConfigMessagesToJSON(deploymentGetConfigMessages) {
|
|
845
848
|
return JSON.stringify(exports.DeploymentGetConfigMessages$outboundSchema.parse(deploymentGetConfigMessages));
|
|
846
849
|
}
|
|
847
850
|
/** @internal */
|
|
848
|
-
exports.
|
|
851
|
+
exports.DeploymentGetConfigMetadata$outboundSchema = z.object({
|
|
849
852
|
fileName: z.string().optional(),
|
|
850
853
|
fileType: z.string().optional(),
|
|
851
854
|
pageNumber: z.number().optional(),
|
|
@@ -856,19 +859,19 @@ exports.Metadata$outboundSchema = z.object({
|
|
|
856
859
|
pageNumber: "page_number",
|
|
857
860
|
});
|
|
858
861
|
});
|
|
859
|
-
function
|
|
860
|
-
return JSON.stringify(exports.
|
|
862
|
+
function deploymentGetConfigMetadataToJSON(deploymentGetConfigMetadata) {
|
|
863
|
+
return JSON.stringify(exports.DeploymentGetConfigMetadata$outboundSchema.parse(deploymentGetConfigMetadata));
|
|
861
864
|
}
|
|
862
865
|
/** @internal */
|
|
863
|
-
exports.
|
|
866
|
+
exports.DeploymentGetConfigDocuments$outboundSchema = z.object({
|
|
864
867
|
text: z.string(),
|
|
865
|
-
metadata: z.lazy(() => exports.
|
|
868
|
+
metadata: z.lazy(() => exports.DeploymentGetConfigMetadata$outboundSchema).optional(),
|
|
866
869
|
});
|
|
867
|
-
function
|
|
868
|
-
return JSON.stringify(exports.
|
|
870
|
+
function deploymentGetConfigDocumentsToJSON(deploymentGetConfigDocuments) {
|
|
871
|
+
return JSON.stringify(exports.DeploymentGetConfigDocuments$outboundSchema.parse(deploymentGetConfigDocuments));
|
|
869
872
|
}
|
|
870
873
|
/** @internal */
|
|
871
|
-
exports.
|
|
874
|
+
exports.DeploymentGetConfigInvokeOptions$outboundSchema = z.object({
|
|
872
875
|
includeRetrievals: z.boolean().default(false),
|
|
873
876
|
includeUsage: z.boolean().default(false),
|
|
874
877
|
mockResponse: z.string().optional(),
|
|
@@ -879,373 +882,363 @@ exports.InvokeOptions$outboundSchema = z.object({
|
|
|
879
882
|
mockResponse: "mock_response",
|
|
880
883
|
});
|
|
881
884
|
});
|
|
882
|
-
function
|
|
883
|
-
return JSON.stringify(exports.
|
|
885
|
+
function deploymentGetConfigInvokeOptionsToJSON(deploymentGetConfigInvokeOptions) {
|
|
886
|
+
return JSON.stringify(exports.DeploymentGetConfigInvokeOptions$outboundSchema.parse(deploymentGetConfigInvokeOptions));
|
|
884
887
|
}
|
|
885
888
|
/** @internal */
|
|
886
|
-
exports.
|
|
889
|
+
exports.DeploymentGetConfigThread$outboundSchema = z.object({
|
|
887
890
|
id: z.string(),
|
|
888
891
|
tags: z.array(z.string()).optional(),
|
|
889
892
|
});
|
|
890
|
-
function
|
|
891
|
-
return JSON.stringify(exports.
|
|
893
|
+
function deploymentGetConfigThreadToJSON(deploymentGetConfigThread) {
|
|
894
|
+
return JSON.stringify(exports.DeploymentGetConfigThread$outboundSchema.parse(deploymentGetConfigThread));
|
|
892
895
|
}
|
|
893
896
|
/** @internal */
|
|
894
|
-
exports.
|
|
897
|
+
exports.DeploymentGetConfigOrExists$outboundSchema = z.object({
|
|
895
898
|
exists: z.boolean(),
|
|
896
899
|
});
|
|
897
|
-
function
|
|
898
|
-
return JSON.stringify(exports.
|
|
900
|
+
function deploymentGetConfigOrExistsToJSON(deploymentGetConfigOrExists) {
|
|
901
|
+
return JSON.stringify(exports.DeploymentGetConfigOrExists$outboundSchema.parse(deploymentGetConfigOrExists));
|
|
899
902
|
}
|
|
900
903
|
/** @internal */
|
|
901
|
-
exports.
|
|
902
|
-
function
|
|
903
|
-
return JSON.stringify(exports.
|
|
904
|
+
exports.DeploymentGetConfigOrDeploymentsNin$outboundSchema = z.union([z.string(), z.number(), z.boolean()]);
|
|
905
|
+
function deploymentGetConfigOrDeploymentsNinToJSON(deploymentGetConfigOrDeploymentsNin) {
|
|
906
|
+
return JSON.stringify(exports.DeploymentGetConfigOrDeploymentsNin$outboundSchema.parse(deploymentGetConfigOrDeploymentsNin));
|
|
904
907
|
}
|
|
905
908
|
/** @internal */
|
|
906
|
-
exports.
|
|
909
|
+
exports.DeploymentGetConfigOrNin$outboundSchema = z.object({
|
|
907
910
|
nin: z.array(z.union([z.string(), z.number(), z.boolean()])),
|
|
908
911
|
});
|
|
909
|
-
function
|
|
910
|
-
return JSON.stringify(exports.
|
|
912
|
+
function deploymentGetConfigOrNinToJSON(deploymentGetConfigOrNin) {
|
|
913
|
+
return JSON.stringify(exports.DeploymentGetConfigOrNin$outboundSchema.parse(deploymentGetConfigOrNin));
|
|
911
914
|
}
|
|
912
915
|
/** @internal */
|
|
913
|
-
exports.
|
|
914
|
-
function
|
|
915
|
-
return JSON.stringify(exports.
|
|
916
|
+
exports.DeploymentGetConfigOrDeploymentsIn$outboundSchema = z.union([z.string(), z.number(), z.boolean()]);
|
|
917
|
+
function deploymentGetConfigOrDeploymentsInToJSON(deploymentGetConfigOrDeploymentsIn) {
|
|
918
|
+
return JSON.stringify(exports.DeploymentGetConfigOrDeploymentsIn$outboundSchema.parse(deploymentGetConfigOrDeploymentsIn));
|
|
916
919
|
}
|
|
917
920
|
/** @internal */
|
|
918
|
-
exports.
|
|
921
|
+
exports.DeploymentGetConfigOrIn$outboundSchema = z.object({
|
|
919
922
|
in: z.array(z.union([z.string(), z.number(), z.boolean()])),
|
|
920
923
|
});
|
|
921
|
-
function
|
|
922
|
-
return JSON.stringify(exports.
|
|
924
|
+
function deploymentGetConfigOrInToJSON(deploymentGetConfigOrIn) {
|
|
925
|
+
return JSON.stringify(exports.DeploymentGetConfigOrIn$outboundSchema.parse(deploymentGetConfigOrIn));
|
|
923
926
|
}
|
|
924
927
|
/** @internal */
|
|
925
|
-
exports.
|
|
928
|
+
exports.DeploymentGetConfigOrLte$outboundSchema = z.object({
|
|
926
929
|
lte: z.number(),
|
|
927
930
|
});
|
|
928
|
-
function
|
|
929
|
-
return JSON.stringify(exports.
|
|
931
|
+
function deploymentGetConfigOrLteToJSON(deploymentGetConfigOrLte) {
|
|
932
|
+
return JSON.stringify(exports.DeploymentGetConfigOrLte$outboundSchema.parse(deploymentGetConfigOrLte));
|
|
930
933
|
}
|
|
931
934
|
/** @internal */
|
|
932
|
-
exports.
|
|
935
|
+
exports.DeploymentGetConfigOrLt$outboundSchema = z.object({
|
|
933
936
|
lt: z.number(),
|
|
934
937
|
});
|
|
935
|
-
function
|
|
936
|
-
return JSON.stringify(exports.
|
|
938
|
+
function deploymentGetConfigOrLtToJSON(deploymentGetConfigOrLt) {
|
|
939
|
+
return JSON.stringify(exports.DeploymentGetConfigOrLt$outboundSchema.parse(deploymentGetConfigOrLt));
|
|
937
940
|
}
|
|
938
941
|
/** @internal */
|
|
939
|
-
exports.
|
|
942
|
+
exports.DeploymentGetConfigOrGte$outboundSchema = z.object({
|
|
940
943
|
gte: z.number(),
|
|
941
944
|
});
|
|
942
|
-
function
|
|
943
|
-
return JSON.stringify(exports.
|
|
945
|
+
function deploymentGetConfigOrGteToJSON(deploymentGetConfigOrGte) {
|
|
946
|
+
return JSON.stringify(exports.DeploymentGetConfigOrGte$outboundSchema.parse(deploymentGetConfigOrGte));
|
|
944
947
|
}
|
|
945
948
|
/** @internal */
|
|
946
|
-
exports.
|
|
949
|
+
exports.DeploymentGetConfigOrGt$outboundSchema = z.object({
|
|
947
950
|
gt: z.number(),
|
|
948
951
|
});
|
|
949
|
-
function
|
|
950
|
-
return JSON.stringify(exports.
|
|
952
|
+
function deploymentGetConfigOrGtToJSON(deploymentGetConfigOrGt) {
|
|
953
|
+
return JSON.stringify(exports.DeploymentGetConfigOrGt$outboundSchema.parse(deploymentGetConfigOrGt));
|
|
951
954
|
}
|
|
952
955
|
/** @internal */
|
|
953
|
-
exports.
|
|
954
|
-
function
|
|
955
|
-
return JSON.stringify(exports.
|
|
956
|
+
exports.DeploymentGetConfigOrDeploymentsNe$outboundSchema = z.union([z.string(), z.number(), z.boolean()]);
|
|
957
|
+
function deploymentGetConfigOrDeploymentsNeToJSON(deploymentGetConfigOrDeploymentsNe) {
|
|
958
|
+
return JSON.stringify(exports.DeploymentGetConfigOrDeploymentsNe$outboundSchema.parse(deploymentGetConfigOrDeploymentsNe));
|
|
956
959
|
}
|
|
957
960
|
/** @internal */
|
|
958
|
-
exports.
|
|
961
|
+
exports.DeploymentGetConfigOrNe$outboundSchema = z.object({
|
|
959
962
|
ne: z.union([z.string(), z.number(), z.boolean()]),
|
|
960
963
|
});
|
|
961
|
-
function
|
|
962
|
-
return JSON.stringify(exports.
|
|
964
|
+
function deploymentGetConfigOrNeToJSON(deploymentGetConfigOrNe) {
|
|
965
|
+
return JSON.stringify(exports.DeploymentGetConfigOrNe$outboundSchema.parse(deploymentGetConfigOrNe));
|
|
963
966
|
}
|
|
964
967
|
/** @internal */
|
|
965
|
-
exports.
|
|
966
|
-
function
|
|
967
|
-
return JSON.stringify(exports.
|
|
968
|
+
exports.DeploymentGetConfigOrDeploymentsEq$outboundSchema = z.union([z.string(), z.number(), z.boolean()]);
|
|
969
|
+
function deploymentGetConfigOrDeploymentsEqToJSON(deploymentGetConfigOrDeploymentsEq) {
|
|
970
|
+
return JSON.stringify(exports.DeploymentGetConfigOrDeploymentsEq$outboundSchema.parse(deploymentGetConfigOrDeploymentsEq));
|
|
968
971
|
}
|
|
969
972
|
/** @internal */
|
|
970
|
-
exports.
|
|
973
|
+
exports.DeploymentGetConfigOrEq$outboundSchema = z.object({
|
|
971
974
|
eq: z.union([z.string(), z.number(), z.boolean()]),
|
|
972
975
|
});
|
|
973
|
-
function
|
|
974
|
-
return JSON.stringify(exports.
|
|
976
|
+
function deploymentGetConfigOrEqToJSON(deploymentGetConfigOrEq) {
|
|
977
|
+
return JSON.stringify(exports.DeploymentGetConfigOrEq$outboundSchema.parse(deploymentGetConfigOrEq));
|
|
975
978
|
}
|
|
976
979
|
/** @internal */
|
|
977
|
-
exports.
|
|
978
|
-
z.lazy(() => exports.
|
|
979
|
-
z.lazy(() => exports.
|
|
980
|
-
z.lazy(() => exports.
|
|
981
|
-
z.lazy(() => exports.
|
|
982
|
-
z.lazy(() => exports.
|
|
983
|
-
z.lazy(() => exports.
|
|
984
|
-
z.lazy(() => exports.
|
|
985
|
-
z.lazy(() => exports.
|
|
986
|
-
z.lazy(() => exports.
|
|
980
|
+
exports.DeploymentGetConfigKnowledgeFilterDeploymentsOr$outboundSchema = z.union([
|
|
981
|
+
z.lazy(() => exports.DeploymentGetConfigOrEq$outboundSchema),
|
|
982
|
+
z.lazy(() => exports.DeploymentGetConfigOrNe$outboundSchema),
|
|
983
|
+
z.lazy(() => exports.DeploymentGetConfigOrGt$outboundSchema),
|
|
984
|
+
z.lazy(() => exports.DeploymentGetConfigOrGte$outboundSchema),
|
|
985
|
+
z.lazy(() => exports.DeploymentGetConfigOrLt$outboundSchema),
|
|
986
|
+
z.lazy(() => exports.DeploymentGetConfigOrLte$outboundSchema),
|
|
987
|
+
z.lazy(() => exports.DeploymentGetConfigOrIn$outboundSchema),
|
|
988
|
+
z.lazy(() => exports.DeploymentGetConfigOrNin$outboundSchema),
|
|
989
|
+
z.lazy(() => exports.DeploymentGetConfigOrExists$outboundSchema),
|
|
987
990
|
]);
|
|
988
|
-
function
|
|
989
|
-
return JSON.stringify(exports.
|
|
991
|
+
function deploymentGetConfigKnowledgeFilterDeploymentsOrToJSON(deploymentGetConfigKnowledgeFilterDeploymentsOr) {
|
|
992
|
+
return JSON.stringify(exports.DeploymentGetConfigKnowledgeFilterDeploymentsOr$outboundSchema.parse(deploymentGetConfigKnowledgeFilterDeploymentsOr));
|
|
990
993
|
}
|
|
991
994
|
/** @internal */
|
|
992
|
-
exports.
|
|
993
|
-
.object({
|
|
995
|
+
exports.DeploymentGetConfigKnowledgeFilterOr$outboundSchema = z.object({
|
|
994
996
|
or: z.array(z.record(z.union([
|
|
995
|
-
z.lazy(() => exports.
|
|
996
|
-
z.lazy(() => exports.
|
|
997
|
-
z.lazy(() => exports.
|
|
998
|
-
z.lazy(() => exports.
|
|
999
|
-
z.lazy(() => exports.
|
|
1000
|
-
z.lazy(() => exports.
|
|
1001
|
-
z.lazy(() => exports.
|
|
1002
|
-
z.lazy(() => exports.
|
|
1003
|
-
z.lazy(() => exports.
|
|
997
|
+
z.lazy(() => exports.DeploymentGetConfigOrEq$outboundSchema),
|
|
998
|
+
z.lazy(() => exports.DeploymentGetConfigOrNe$outboundSchema),
|
|
999
|
+
z.lazy(() => exports.DeploymentGetConfigOrGt$outboundSchema),
|
|
1000
|
+
z.lazy(() => exports.DeploymentGetConfigOrGte$outboundSchema),
|
|
1001
|
+
z.lazy(() => exports.DeploymentGetConfigOrLt$outboundSchema),
|
|
1002
|
+
z.lazy(() => exports.DeploymentGetConfigOrLte$outboundSchema),
|
|
1003
|
+
z.lazy(() => exports.DeploymentGetConfigOrIn$outboundSchema),
|
|
1004
|
+
z.lazy(() => exports.DeploymentGetConfigOrNin$outboundSchema),
|
|
1005
|
+
z.lazy(() => exports.DeploymentGetConfigOrExists$outboundSchema),
|
|
1004
1006
|
]))),
|
|
1005
1007
|
});
|
|
1006
|
-
function
|
|
1007
|
-
return JSON.stringify(exports.
|
|
1008
|
+
function deploymentGetConfigKnowledgeFilterOrToJSON(deploymentGetConfigKnowledgeFilterOr) {
|
|
1009
|
+
return JSON.stringify(exports.DeploymentGetConfigKnowledgeFilterOr$outboundSchema.parse(deploymentGetConfigKnowledgeFilterOr));
|
|
1008
1010
|
}
|
|
1009
1011
|
/** @internal */
|
|
1010
|
-
exports.
|
|
1012
|
+
exports.DeploymentGetConfigAndExists$outboundSchema = z.object({
|
|
1011
1013
|
exists: z.boolean(),
|
|
1012
1014
|
});
|
|
1013
|
-
function
|
|
1014
|
-
return JSON.stringify(exports.
|
|
1015
|
+
function deploymentGetConfigAndExistsToJSON(deploymentGetConfigAndExists) {
|
|
1016
|
+
return JSON.stringify(exports.DeploymentGetConfigAndExists$outboundSchema.parse(deploymentGetConfigAndExists));
|
|
1015
1017
|
}
|
|
1016
1018
|
/** @internal */
|
|
1017
|
-
exports.
|
|
1018
|
-
function
|
|
1019
|
-
return JSON.stringify(exports.
|
|
1019
|
+
exports.DeploymentGetConfigAndDeploymentsNin$outboundSchema = z.union([z.string(), z.number(), z.boolean()]);
|
|
1020
|
+
function deploymentGetConfigAndDeploymentsNinToJSON(deploymentGetConfigAndDeploymentsNin) {
|
|
1021
|
+
return JSON.stringify(exports.DeploymentGetConfigAndDeploymentsNin$outboundSchema.parse(deploymentGetConfigAndDeploymentsNin));
|
|
1020
1022
|
}
|
|
1021
1023
|
/** @internal */
|
|
1022
|
-
exports.
|
|
1024
|
+
exports.DeploymentGetConfigAndNin$outboundSchema = z.object({
|
|
1023
1025
|
nin: z.array(z.union([z.string(), z.number(), z.boolean()])),
|
|
1024
1026
|
});
|
|
1025
|
-
function
|
|
1026
|
-
return JSON.stringify(exports.
|
|
1027
|
+
function deploymentGetConfigAndNinToJSON(deploymentGetConfigAndNin) {
|
|
1028
|
+
return JSON.stringify(exports.DeploymentGetConfigAndNin$outboundSchema.parse(deploymentGetConfigAndNin));
|
|
1027
1029
|
}
|
|
1028
1030
|
/** @internal */
|
|
1029
|
-
exports.
|
|
1030
|
-
function
|
|
1031
|
-
return JSON.stringify(exports.
|
|
1031
|
+
exports.DeploymentGetConfigAndDeploymentsIn$outboundSchema = z.union([z.string(), z.number(), z.boolean()]);
|
|
1032
|
+
function deploymentGetConfigAndDeploymentsInToJSON(deploymentGetConfigAndDeploymentsIn) {
|
|
1033
|
+
return JSON.stringify(exports.DeploymentGetConfigAndDeploymentsIn$outboundSchema.parse(deploymentGetConfigAndDeploymentsIn));
|
|
1032
1034
|
}
|
|
1033
1035
|
/** @internal */
|
|
1034
|
-
exports.
|
|
1036
|
+
exports.DeploymentGetConfigAndIn$outboundSchema = z.object({
|
|
1035
1037
|
in: z.array(z.union([z.string(), z.number(), z.boolean()])),
|
|
1036
1038
|
});
|
|
1037
|
-
function
|
|
1038
|
-
return JSON.stringify(exports.
|
|
1039
|
+
function deploymentGetConfigAndInToJSON(deploymentGetConfigAndIn) {
|
|
1040
|
+
return JSON.stringify(exports.DeploymentGetConfigAndIn$outboundSchema.parse(deploymentGetConfigAndIn));
|
|
1039
1041
|
}
|
|
1040
1042
|
/** @internal */
|
|
1041
|
-
exports.
|
|
1043
|
+
exports.DeploymentGetConfigAndLte$outboundSchema = z.object({
|
|
1042
1044
|
lte: z.number(),
|
|
1043
1045
|
});
|
|
1044
|
-
function
|
|
1045
|
-
return JSON.stringify(exports.
|
|
1046
|
+
function deploymentGetConfigAndLteToJSON(deploymentGetConfigAndLte) {
|
|
1047
|
+
return JSON.stringify(exports.DeploymentGetConfigAndLte$outboundSchema.parse(deploymentGetConfigAndLte));
|
|
1046
1048
|
}
|
|
1047
1049
|
/** @internal */
|
|
1048
|
-
exports.
|
|
1050
|
+
exports.DeploymentGetConfigAndLt$outboundSchema = z.object({
|
|
1049
1051
|
lt: z.number(),
|
|
1050
1052
|
});
|
|
1051
|
-
function
|
|
1052
|
-
return JSON.stringify(exports.
|
|
1053
|
+
function deploymentGetConfigAndLtToJSON(deploymentGetConfigAndLt) {
|
|
1054
|
+
return JSON.stringify(exports.DeploymentGetConfigAndLt$outboundSchema.parse(deploymentGetConfigAndLt));
|
|
1053
1055
|
}
|
|
1054
1056
|
/** @internal */
|
|
1055
|
-
exports.
|
|
1057
|
+
exports.DeploymentGetConfigAndGte$outboundSchema = z.object({
|
|
1056
1058
|
gte: z.number(),
|
|
1057
1059
|
});
|
|
1058
|
-
function
|
|
1059
|
-
return JSON.stringify(exports.
|
|
1060
|
+
function deploymentGetConfigAndGteToJSON(deploymentGetConfigAndGte) {
|
|
1061
|
+
return JSON.stringify(exports.DeploymentGetConfigAndGte$outboundSchema.parse(deploymentGetConfigAndGte));
|
|
1060
1062
|
}
|
|
1061
1063
|
/** @internal */
|
|
1062
|
-
exports.
|
|
1064
|
+
exports.DeploymentGetConfigAndGt$outboundSchema = z.object({
|
|
1063
1065
|
gt: z.number(),
|
|
1064
1066
|
});
|
|
1065
|
-
function
|
|
1066
|
-
return JSON.stringify(exports.
|
|
1067
|
+
function deploymentGetConfigAndGtToJSON(deploymentGetConfigAndGt) {
|
|
1068
|
+
return JSON.stringify(exports.DeploymentGetConfigAndGt$outboundSchema.parse(deploymentGetConfigAndGt));
|
|
1067
1069
|
}
|
|
1068
1070
|
/** @internal */
|
|
1069
|
-
exports.
|
|
1070
|
-
function
|
|
1071
|
-
return JSON.stringify(exports.
|
|
1071
|
+
exports.DeploymentGetConfigAndDeploymentsNe$outboundSchema = z.union([z.string(), z.number(), z.boolean()]);
|
|
1072
|
+
function deploymentGetConfigAndDeploymentsNeToJSON(deploymentGetConfigAndDeploymentsNe) {
|
|
1073
|
+
return JSON.stringify(exports.DeploymentGetConfigAndDeploymentsNe$outboundSchema.parse(deploymentGetConfigAndDeploymentsNe));
|
|
1072
1074
|
}
|
|
1073
1075
|
/** @internal */
|
|
1074
|
-
exports.
|
|
1076
|
+
exports.DeploymentGetConfigAndNe$outboundSchema = z.object({
|
|
1075
1077
|
ne: z.union([z.string(), z.number(), z.boolean()]),
|
|
1076
1078
|
});
|
|
1077
|
-
function
|
|
1078
|
-
return JSON.stringify(exports.
|
|
1079
|
+
function deploymentGetConfigAndNeToJSON(deploymentGetConfigAndNe) {
|
|
1080
|
+
return JSON.stringify(exports.DeploymentGetConfigAndNe$outboundSchema.parse(deploymentGetConfigAndNe));
|
|
1079
1081
|
}
|
|
1080
1082
|
/** @internal */
|
|
1081
|
-
exports.
|
|
1082
|
-
function
|
|
1083
|
-
return JSON.stringify(exports.
|
|
1083
|
+
exports.DeploymentGetConfigAndDeploymentsEq$outboundSchema = z.union([z.string(), z.number(), z.boolean()]);
|
|
1084
|
+
function deploymentGetConfigAndDeploymentsEqToJSON(deploymentGetConfigAndDeploymentsEq) {
|
|
1085
|
+
return JSON.stringify(exports.DeploymentGetConfigAndDeploymentsEq$outboundSchema.parse(deploymentGetConfigAndDeploymentsEq));
|
|
1084
1086
|
}
|
|
1085
1087
|
/** @internal */
|
|
1086
|
-
exports.
|
|
1088
|
+
exports.DeploymentGetConfigAndEq$outboundSchema = z.object({
|
|
1087
1089
|
eq: z.union([z.string(), z.number(), z.boolean()]),
|
|
1088
1090
|
});
|
|
1089
|
-
function
|
|
1090
|
-
return JSON.stringify(exports.
|
|
1091
|
+
function deploymentGetConfigAndEqToJSON(deploymentGetConfigAndEq) {
|
|
1092
|
+
return JSON.stringify(exports.DeploymentGetConfigAndEq$outboundSchema.parse(deploymentGetConfigAndEq));
|
|
1091
1093
|
}
|
|
1092
1094
|
/** @internal */
|
|
1093
|
-
exports.
|
|
1094
|
-
z.lazy(() => exports.
|
|
1095
|
-
z.lazy(() => exports.
|
|
1096
|
-
z.lazy(() => exports.
|
|
1097
|
-
z.lazy(() => exports.
|
|
1098
|
-
z.lazy(() => exports.
|
|
1099
|
-
z.lazy(() => exports.
|
|
1100
|
-
z.lazy(() => exports.
|
|
1101
|
-
z.lazy(() => exports.
|
|
1102
|
-
z.lazy(() => exports.
|
|
1095
|
+
exports.DeploymentGetConfigKnowledgeFilterDeploymentsAnd$outboundSchema = z.union([
|
|
1096
|
+
z.lazy(() => exports.DeploymentGetConfigAndEq$outboundSchema),
|
|
1097
|
+
z.lazy(() => exports.DeploymentGetConfigAndNe$outboundSchema),
|
|
1098
|
+
z.lazy(() => exports.DeploymentGetConfigAndGt$outboundSchema),
|
|
1099
|
+
z.lazy(() => exports.DeploymentGetConfigAndGte$outboundSchema),
|
|
1100
|
+
z.lazy(() => exports.DeploymentGetConfigAndLt$outboundSchema),
|
|
1101
|
+
z.lazy(() => exports.DeploymentGetConfigAndLte$outboundSchema),
|
|
1102
|
+
z.lazy(() => exports.DeploymentGetConfigAndIn$outboundSchema),
|
|
1103
|
+
z.lazy(() => exports.DeploymentGetConfigAndNin$outboundSchema),
|
|
1104
|
+
z.lazy(() => exports.DeploymentGetConfigAndExists$outboundSchema),
|
|
1103
1105
|
]);
|
|
1104
|
-
function
|
|
1105
|
-
return JSON.stringify(exports.
|
|
1106
|
+
function deploymentGetConfigKnowledgeFilterDeploymentsAndToJSON(deploymentGetConfigKnowledgeFilterDeploymentsAnd) {
|
|
1107
|
+
return JSON.stringify(exports.DeploymentGetConfigKnowledgeFilterDeploymentsAnd$outboundSchema.parse(deploymentGetConfigKnowledgeFilterDeploymentsAnd));
|
|
1106
1108
|
}
|
|
1107
1109
|
/** @internal */
|
|
1108
|
-
exports.
|
|
1109
|
-
.object({
|
|
1110
|
+
exports.DeploymentGetConfigKnowledgeFilterAnd$outboundSchema = z.object({
|
|
1110
1111
|
and: z.array(z.record(z.union([
|
|
1111
|
-
z.lazy(() => exports.
|
|
1112
|
-
z.lazy(() => exports.
|
|
1113
|
-
z.lazy(() => exports.
|
|
1114
|
-
z.lazy(() => exports.
|
|
1115
|
-
z.lazy(() => exports.
|
|
1116
|
-
z.lazy(() => exports.
|
|
1117
|
-
z.lazy(() => exports.
|
|
1118
|
-
z.lazy(() => exports.
|
|
1119
|
-
z.lazy(() => exports.
|
|
1112
|
+
z.lazy(() => exports.DeploymentGetConfigAndEq$outboundSchema),
|
|
1113
|
+
z.lazy(() => exports.DeploymentGetConfigAndNe$outboundSchema),
|
|
1114
|
+
z.lazy(() => exports.DeploymentGetConfigAndGt$outboundSchema),
|
|
1115
|
+
z.lazy(() => exports.DeploymentGetConfigAndGte$outboundSchema),
|
|
1116
|
+
z.lazy(() => exports.DeploymentGetConfigAndLt$outboundSchema),
|
|
1117
|
+
z.lazy(() => exports.DeploymentGetConfigAndLte$outboundSchema),
|
|
1118
|
+
z.lazy(() => exports.DeploymentGetConfigAndIn$outboundSchema),
|
|
1119
|
+
z.lazy(() => exports.DeploymentGetConfigAndNin$outboundSchema),
|
|
1120
|
+
z.lazy(() => exports.DeploymentGetConfigAndExists$outboundSchema),
|
|
1120
1121
|
]))),
|
|
1121
1122
|
});
|
|
1122
|
-
function
|
|
1123
|
-
return JSON.stringify(exports.
|
|
1123
|
+
function deploymentGetConfigKnowledgeFilterAndToJSON(deploymentGetConfigKnowledgeFilterAnd) {
|
|
1124
|
+
return JSON.stringify(exports.DeploymentGetConfigKnowledgeFilterAnd$outboundSchema.parse(deploymentGetConfigKnowledgeFilterAnd));
|
|
1124
1125
|
}
|
|
1125
1126
|
/** @internal */
|
|
1126
|
-
exports.
|
|
1127
|
+
exports.OneExists$outboundSchema = z.object({
|
|
1127
1128
|
exists: z.boolean(),
|
|
1128
1129
|
});
|
|
1129
|
-
function
|
|
1130
|
-
return JSON.stringify(exports.
|
|
1130
|
+
function oneExistsToJSON(oneExists) {
|
|
1131
|
+
return JSON.stringify(exports.OneExists$outboundSchema.parse(oneExists));
|
|
1131
1132
|
}
|
|
1132
1133
|
/** @internal */
|
|
1133
|
-
exports.
|
|
1134
|
-
function
|
|
1135
|
-
return JSON.stringify(exports.
|
|
1134
|
+
exports.DeploymentGetConfig1DeploymentsNin$outboundSchema = z.union([z.string(), z.number(), z.boolean()]);
|
|
1135
|
+
function deploymentGetConfig1DeploymentsNinToJSON(deploymentGetConfig1DeploymentsNin) {
|
|
1136
|
+
return JSON.stringify(exports.DeploymentGetConfig1DeploymentsNin$outboundSchema.parse(deploymentGetConfig1DeploymentsNin));
|
|
1136
1137
|
}
|
|
1137
1138
|
/** @internal */
|
|
1138
|
-
exports.
|
|
1139
|
-
.object({
|
|
1139
|
+
exports.DeploymentGetConfig1Nin$outboundSchema = z.object({
|
|
1140
1140
|
nin: z.array(z.union([z.string(), z.number(), z.boolean()])),
|
|
1141
1141
|
});
|
|
1142
|
-
function
|
|
1143
|
-
return JSON.stringify(exports.
|
|
1142
|
+
function deploymentGetConfig1NinToJSON(deploymentGetConfig1Nin) {
|
|
1143
|
+
return JSON.stringify(exports.DeploymentGetConfig1Nin$outboundSchema.parse(deploymentGetConfig1Nin));
|
|
1144
1144
|
}
|
|
1145
1145
|
/** @internal */
|
|
1146
|
-
exports.
|
|
1147
|
-
function
|
|
1148
|
-
return JSON.stringify(exports.
|
|
1146
|
+
exports.DeploymentGetConfig1DeploymentsIn$outboundSchema = z.union([z.string(), z.number(), z.boolean()]);
|
|
1147
|
+
function deploymentGetConfig1DeploymentsInToJSON(deploymentGetConfig1DeploymentsIn) {
|
|
1148
|
+
return JSON.stringify(exports.DeploymentGetConfig1DeploymentsIn$outboundSchema.parse(deploymentGetConfig1DeploymentsIn));
|
|
1149
1149
|
}
|
|
1150
1150
|
/** @internal */
|
|
1151
|
-
exports.
|
|
1152
|
-
.object({
|
|
1151
|
+
exports.DeploymentGetConfig1In$outboundSchema = z.object({
|
|
1153
1152
|
in: z.array(z.union([z.string(), z.number(), z.boolean()])),
|
|
1154
1153
|
});
|
|
1155
|
-
function
|
|
1156
|
-
return JSON.stringify(exports.
|
|
1154
|
+
function deploymentGetConfig1InToJSON(deploymentGetConfig1In) {
|
|
1155
|
+
return JSON.stringify(exports.DeploymentGetConfig1In$outboundSchema.parse(deploymentGetConfig1In));
|
|
1157
1156
|
}
|
|
1158
1157
|
/** @internal */
|
|
1159
|
-
exports.
|
|
1160
|
-
.object({
|
|
1158
|
+
exports.OneLte$outboundSchema = z.object({
|
|
1161
1159
|
lte: z.number(),
|
|
1162
1160
|
});
|
|
1163
|
-
function
|
|
1164
|
-
return JSON.stringify(exports.
|
|
1161
|
+
function oneLteToJSON(oneLte) {
|
|
1162
|
+
return JSON.stringify(exports.OneLte$outboundSchema.parse(oneLte));
|
|
1165
1163
|
}
|
|
1166
1164
|
/** @internal */
|
|
1167
|
-
exports.
|
|
1168
|
-
.object({
|
|
1165
|
+
exports.OneLt$outboundSchema = z.object({
|
|
1169
1166
|
lt: z.number(),
|
|
1170
1167
|
});
|
|
1171
|
-
function
|
|
1172
|
-
return JSON.stringify(exports.
|
|
1168
|
+
function oneLtToJSON(oneLt) {
|
|
1169
|
+
return JSON.stringify(exports.OneLt$outboundSchema.parse(oneLt));
|
|
1173
1170
|
}
|
|
1174
1171
|
/** @internal */
|
|
1175
|
-
exports.
|
|
1176
|
-
.object({
|
|
1172
|
+
exports.OneGte$outboundSchema = z.object({
|
|
1177
1173
|
gte: z.number(),
|
|
1178
1174
|
});
|
|
1179
|
-
function
|
|
1180
|
-
return JSON.stringify(exports.
|
|
1175
|
+
function oneGteToJSON(oneGte) {
|
|
1176
|
+
return JSON.stringify(exports.OneGte$outboundSchema.parse(oneGte));
|
|
1181
1177
|
}
|
|
1182
1178
|
/** @internal */
|
|
1183
|
-
exports.
|
|
1184
|
-
.object({
|
|
1179
|
+
exports.OneGt$outboundSchema = z.object({
|
|
1185
1180
|
gt: z.number(),
|
|
1186
1181
|
});
|
|
1187
|
-
function
|
|
1188
|
-
return JSON.stringify(exports.
|
|
1182
|
+
function oneGtToJSON(oneGt) {
|
|
1183
|
+
return JSON.stringify(exports.OneGt$outboundSchema.parse(oneGt));
|
|
1189
1184
|
}
|
|
1190
1185
|
/** @internal */
|
|
1191
|
-
exports.
|
|
1192
|
-
function
|
|
1193
|
-
return JSON.stringify(exports.
|
|
1186
|
+
exports.DeploymentGetConfig1DeploymentsNe$outboundSchema = z.union([z.string(), z.number(), z.boolean()]);
|
|
1187
|
+
function deploymentGetConfig1DeploymentsNeToJSON(deploymentGetConfig1DeploymentsNe) {
|
|
1188
|
+
return JSON.stringify(exports.DeploymentGetConfig1DeploymentsNe$outboundSchema.parse(deploymentGetConfig1DeploymentsNe));
|
|
1194
1189
|
}
|
|
1195
1190
|
/** @internal */
|
|
1196
|
-
exports.
|
|
1197
|
-
.object({
|
|
1191
|
+
exports.DeploymentGetConfig1Ne$outboundSchema = z.object({
|
|
1198
1192
|
ne: z.union([z.string(), z.number(), z.boolean()]),
|
|
1199
1193
|
});
|
|
1200
|
-
function
|
|
1201
|
-
return JSON.stringify(exports.
|
|
1194
|
+
function deploymentGetConfig1NeToJSON(deploymentGetConfig1Ne) {
|
|
1195
|
+
return JSON.stringify(exports.DeploymentGetConfig1Ne$outboundSchema.parse(deploymentGetConfig1Ne));
|
|
1202
1196
|
}
|
|
1203
1197
|
/** @internal */
|
|
1204
|
-
exports.
|
|
1205
|
-
function
|
|
1206
|
-
return JSON.stringify(exports.
|
|
1198
|
+
exports.DeploymentGetConfig1DeploymentsEq$outboundSchema = z.union([z.string(), z.number(), z.boolean()]);
|
|
1199
|
+
function deploymentGetConfig1DeploymentsEqToJSON(deploymentGetConfig1DeploymentsEq) {
|
|
1200
|
+
return JSON.stringify(exports.DeploymentGetConfig1DeploymentsEq$outboundSchema.parse(deploymentGetConfig1DeploymentsEq));
|
|
1207
1201
|
}
|
|
1208
1202
|
/** @internal */
|
|
1209
|
-
exports.
|
|
1210
|
-
.object({
|
|
1203
|
+
exports.DeploymentGetConfig1Eq$outboundSchema = z.object({
|
|
1211
1204
|
eq: z.union([z.string(), z.number(), z.boolean()]),
|
|
1212
1205
|
});
|
|
1213
|
-
function
|
|
1214
|
-
return JSON.stringify(exports.
|
|
1206
|
+
function deploymentGetConfig1EqToJSON(deploymentGetConfig1Eq) {
|
|
1207
|
+
return JSON.stringify(exports.DeploymentGetConfig1Eq$outboundSchema.parse(deploymentGetConfig1Eq));
|
|
1215
1208
|
}
|
|
1216
1209
|
/** @internal */
|
|
1217
|
-
exports.
|
|
1218
|
-
z.lazy(() => exports.
|
|
1219
|
-
z.lazy(() => exports.
|
|
1220
|
-
z.lazy(() => exports.
|
|
1221
|
-
z.lazy(() => exports.
|
|
1222
|
-
z.lazy(() => exports.
|
|
1223
|
-
z.lazy(() => exports.
|
|
1224
|
-
z.lazy(() => exports.
|
|
1225
|
-
z.lazy(() => exports.
|
|
1226
|
-
z.lazy(() => exports.
|
|
1210
|
+
exports.DeploymentGetConfigKnowledgeFilter1$outboundSchema = z.union([
|
|
1211
|
+
z.lazy(() => exports.DeploymentGetConfig1Eq$outboundSchema),
|
|
1212
|
+
z.lazy(() => exports.DeploymentGetConfig1Ne$outboundSchema),
|
|
1213
|
+
z.lazy(() => exports.OneGt$outboundSchema),
|
|
1214
|
+
z.lazy(() => exports.OneGte$outboundSchema),
|
|
1215
|
+
z.lazy(() => exports.OneLt$outboundSchema),
|
|
1216
|
+
z.lazy(() => exports.OneLte$outboundSchema),
|
|
1217
|
+
z.lazy(() => exports.DeploymentGetConfig1In$outboundSchema),
|
|
1218
|
+
z.lazy(() => exports.DeploymentGetConfig1Nin$outboundSchema),
|
|
1219
|
+
z.lazy(() => exports.OneExists$outboundSchema),
|
|
1227
1220
|
]);
|
|
1228
|
-
function
|
|
1229
|
-
return JSON.stringify(exports.
|
|
1221
|
+
function deploymentGetConfigKnowledgeFilter1ToJSON(deploymentGetConfigKnowledgeFilter1) {
|
|
1222
|
+
return JSON.stringify(exports.DeploymentGetConfigKnowledgeFilter1$outboundSchema.parse(deploymentGetConfigKnowledgeFilter1));
|
|
1230
1223
|
}
|
|
1231
1224
|
/** @internal */
|
|
1232
|
-
exports.
|
|
1233
|
-
z.lazy(() => exports.
|
|
1234
|
-
z.lazy(() => exports.
|
|
1225
|
+
exports.DeploymentGetConfigKnowledgeFilter$outboundSchema = z.union([
|
|
1226
|
+
z.lazy(() => exports.DeploymentGetConfigKnowledgeFilterAnd$outboundSchema),
|
|
1227
|
+
z.lazy(() => exports.DeploymentGetConfigKnowledgeFilterOr$outboundSchema),
|
|
1235
1228
|
z.record(z.union([
|
|
1236
|
-
z.lazy(() => exports.
|
|
1237
|
-
z.lazy(() => exports.
|
|
1238
|
-
z.lazy(() => exports.
|
|
1239
|
-
z.lazy(() => exports.
|
|
1240
|
-
z.lazy(() => exports.
|
|
1241
|
-
z.lazy(() => exports.
|
|
1242
|
-
z.lazy(() => exports.
|
|
1243
|
-
z.lazy(() => exports.
|
|
1244
|
-
z.lazy(() => exports.
|
|
1229
|
+
z.lazy(() => exports.DeploymentGetConfig1Eq$outboundSchema),
|
|
1230
|
+
z.lazy(() => exports.DeploymentGetConfig1Ne$outboundSchema),
|
|
1231
|
+
z.lazy(() => exports.OneGt$outboundSchema),
|
|
1232
|
+
z.lazy(() => exports.OneGte$outboundSchema),
|
|
1233
|
+
z.lazy(() => exports.OneLt$outboundSchema),
|
|
1234
|
+
z.lazy(() => exports.OneLte$outboundSchema),
|
|
1235
|
+
z.lazy(() => exports.DeploymentGetConfig1In$outboundSchema),
|
|
1236
|
+
z.lazy(() => exports.DeploymentGetConfig1Nin$outboundSchema),
|
|
1237
|
+
z.lazy(() => exports.OneExists$outboundSchema),
|
|
1245
1238
|
])),
|
|
1246
1239
|
]);
|
|
1247
|
-
function
|
|
1248
|
-
return JSON.stringify(exports.
|
|
1240
|
+
function deploymentGetConfigKnowledgeFilterToJSON(deploymentGetConfigKnowledgeFilter) {
|
|
1241
|
+
return JSON.stringify(exports.DeploymentGetConfigKnowledgeFilter$outboundSchema.parse(deploymentGetConfigKnowledgeFilter));
|
|
1249
1242
|
}
|
|
1250
1243
|
/** @internal */
|
|
1251
1244
|
exports.DeploymentGetConfigRequestBody$outboundSchema = z.object({
|
|
@@ -1253,39 +1246,41 @@ exports.DeploymentGetConfigRequestBody$outboundSchema = z.object({
|
|
|
1253
1246
|
inputs: z.record(z.any()).optional(),
|
|
1254
1247
|
context: z.record(z.any()).optional(),
|
|
1255
1248
|
prefixMessages: z.array(z.union([
|
|
1256
|
-
z.lazy(() => exports.
|
|
1257
|
-
z.lazy(() => exports.
|
|
1258
|
-
z.lazy(() => exports.
|
|
1259
|
-
z.lazy(() => exports.
|
|
1260
|
-
z.lazy(() => exports.
|
|
1249
|
+
z.lazy(() => exports.PrefixMessagesSystemMessage$outboundSchema),
|
|
1250
|
+
z.lazy(() => exports.PrefixMessagesDeveloperMessage$outboundSchema),
|
|
1251
|
+
z.lazy(() => exports.PrefixMessagesUserMessage$outboundSchema),
|
|
1252
|
+
z.lazy(() => exports.PrefixMessagesAssistantMessage$outboundSchema),
|
|
1253
|
+
z.lazy(() => exports.PrefixMessagesToolMessage$outboundSchema),
|
|
1261
1254
|
])).optional(),
|
|
1262
1255
|
messages: z.array(z.union([
|
|
1263
|
-
z.lazy(() => exports.
|
|
1264
|
-
z.lazy(() => exports.
|
|
1265
|
-
z.lazy(() => exports.
|
|
1266
|
-
z.lazy(() => exports.
|
|
1267
|
-
z.lazy(() => exports.
|
|
1256
|
+
z.lazy(() => exports.DeploymentGetConfigMessagesSystemMessage$outboundSchema),
|
|
1257
|
+
z.lazy(() => exports.DeploymentGetConfigMessagesDeveloperMessage$outboundSchema),
|
|
1258
|
+
z.lazy(() => exports.DeploymentGetConfigMessagesUserMessage$outboundSchema),
|
|
1259
|
+
z.lazy(() => exports.DeploymentGetConfigMessagesAssistantMessage$outboundSchema),
|
|
1260
|
+
z.lazy(() => exports.DeploymentGetConfigMessagesToolMessage$outboundSchema),
|
|
1268
1261
|
])).optional(),
|
|
1269
1262
|
identity: components.PublicIdentity$outboundSchema.optional(),
|
|
1270
1263
|
fileIds: z.array(z.string()).optional(),
|
|
1271
1264
|
metadata: z.record(z.any()).optional(),
|
|
1272
1265
|
extraParams: z.record(z.any()).optional(),
|
|
1273
|
-
documents: z.array(z.lazy(() => exports.
|
|
1274
|
-
|
|
1275
|
-
|
|
1266
|
+
documents: z.array(z.lazy(() => exports.DeploymentGetConfigDocuments$outboundSchema))
|
|
1267
|
+
.optional(),
|
|
1268
|
+
invokeOptions: z.lazy(() => exports.DeploymentGetConfigInvokeOptions$outboundSchema)
|
|
1269
|
+
.optional(),
|
|
1270
|
+
thread: z.lazy(() => exports.DeploymentGetConfigThread$outboundSchema).optional(),
|
|
1276
1271
|
knowledgeFilter: z.union([
|
|
1277
|
-
z.lazy(() => exports.
|
|
1278
|
-
z.lazy(() => exports.
|
|
1272
|
+
z.lazy(() => exports.DeploymentGetConfigKnowledgeFilterAnd$outboundSchema),
|
|
1273
|
+
z.lazy(() => exports.DeploymentGetConfigKnowledgeFilterOr$outboundSchema),
|
|
1279
1274
|
z.record(z.union([
|
|
1280
|
-
z.lazy(() => exports.
|
|
1281
|
-
z.lazy(() => exports.
|
|
1282
|
-
z.lazy(() => exports.
|
|
1283
|
-
z.lazy(() => exports.
|
|
1284
|
-
z.lazy(() => exports.
|
|
1285
|
-
z.lazy(() => exports.
|
|
1286
|
-
z.lazy(() => exports.
|
|
1287
|
-
z.lazy(() => exports.
|
|
1288
|
-
z.lazy(() => exports.
|
|
1275
|
+
z.lazy(() => exports.DeploymentGetConfig1Eq$outboundSchema),
|
|
1276
|
+
z.lazy(() => exports.DeploymentGetConfig1Ne$outboundSchema),
|
|
1277
|
+
z.lazy(() => exports.OneGt$outboundSchema),
|
|
1278
|
+
z.lazy(() => exports.OneGte$outboundSchema),
|
|
1279
|
+
z.lazy(() => exports.OneLt$outboundSchema),
|
|
1280
|
+
z.lazy(() => exports.OneLte$outboundSchema),
|
|
1281
|
+
z.lazy(() => exports.DeploymentGetConfig1In$outboundSchema),
|
|
1282
|
+
z.lazy(() => exports.DeploymentGetConfig1Nin$outboundSchema),
|
|
1283
|
+
z.lazy(() => exports.OneExists$outboundSchema),
|
|
1289
1284
|
])),
|
|
1290
1285
|
]).optional(),
|
|
1291
1286
|
}).transform((v) => {
|