@orq-ai/node 4.0.0-rc.5 → 4.0.0-rc.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/mcp-server.js +7487 -543
- package/bin/mcp-server.js.map +52 -52
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.js +1 -1
- package/models/operations/createagent.d.ts +4141 -865
- package/models/operations/createagent.d.ts.map +1 -1
- package/models/operations/createagent.js +3767 -768
- package/models/operations/createagent.js.map +1 -1
- package/models/operations/createbudget.js +2 -2
- package/models/operations/createcontact.js +2 -2
- package/models/operations/createdataset.js +2 -2
- package/models/operations/createdatasetitem.js +8 -8
- package/models/operations/createdatasource.js +2 -2
- package/models/operations/createeval.js +28 -28
- package/models/operations/creatememorystore.d.ts +42 -42
- package/models/operations/creatememorystore.d.ts.map +1 -1
- package/models/operations/creatememorystore.js +61 -63
- package/models/operations/creatememorystore.js.map +1 -1
- package/models/operations/createprompt.d.ts +263 -263
- package/models/operations/createprompt.d.ts.map +1 -1
- package/models/operations/createprompt.js +345 -345
- package/models/operations/createprompt.js.map +1 -1
- package/models/operations/createtool.js +10 -10
- package/models/operations/deploymentgetconfig.d.ts +19 -19
- package/models/operations/deploymentgetconfig.d.ts.map +1 -1
- package/models/operations/deploymentgetconfig.js +22 -22
- package/models/operations/deploymentgetconfig.js.map +1 -1
- package/models/operations/deployments.d.ts +4 -4
- package/models/operations/deployments.d.ts.map +1 -1
- package/models/operations/deployments.js +4 -4
- package/models/operations/deployments.js.map +1 -1
- package/models/operations/duplicatetool.js +10 -10
- package/models/operations/fileget.js +2 -2
- package/models/operations/filelist.js +2 -2
- package/models/operations/fileupload.js +2 -2
- package/models/operations/getagent.d.ts +1614 -11
- package/models/operations/getagent.d.ts.map +1 -1
- package/models/operations/getagent.js +1475 -9
- package/models/operations/getagent.js.map +1 -1
- package/models/operations/getallprompts.d.ts +4 -4
- package/models/operations/getallprompts.d.ts.map +1 -1
- package/models/operations/getallprompts.js +4 -4
- package/models/operations/getallprompts.js.map +1 -1
- package/models/operations/getalltools.js +10 -10
- package/models/operations/getbudget.js +2 -2
- package/models/operations/getevals.js +28 -28
- package/models/operations/getoneprompt.d.ts +4 -4
- package/models/operations/getoneprompt.d.ts.map +1 -1
- package/models/operations/getoneprompt.js +4 -4
- package/models/operations/getoneprompt.js.map +1 -1
- package/models/operations/getpromptversion.d.ts +4 -4
- package/models/operations/getpromptversion.d.ts.map +1 -1
- package/models/operations/getpromptversion.js +4 -4
- package/models/operations/getpromptversion.js.map +1 -1
- package/models/operations/listagents.d.ts +1614 -11
- package/models/operations/listagents.d.ts.map +1 -1
- package/models/operations/listagents.js +1481 -9
- package/models/operations/listagents.js.map +1 -1
- package/models/operations/listagenttasks.d.ts +1614 -11
- package/models/operations/listagenttasks.d.ts.map +1 -1
- package/models/operations/listagenttasks.js +1479 -9
- package/models/operations/listagenttasks.js.map +1 -1
- package/models/operations/listbudgets.js +2 -2
- package/models/operations/listcontacts.js +2 -2
- package/models/operations/listdatasetdatapoints.js +8 -8
- package/models/operations/listdatasets.js +2 -2
- package/models/operations/listdatasources.js +2 -2
- package/models/operations/listpromptversions.d.ts +4 -4
- package/models/operations/listpromptversions.d.ts.map +1 -1
- package/models/operations/listpromptversions.js +4 -4
- package/models/operations/listpromptversions.js.map +1 -1
- package/models/operations/retrievecontact.js +2 -2
- package/models/operations/retrievedatapoint.js +8 -8
- package/models/operations/retrievedataset.js +2 -2
- package/models/operations/retrievedatasource.js +2 -2
- package/models/operations/retrievetool.js +10 -10
- package/models/operations/runagent.d.ts +2176 -503
- package/models/operations/runagent.d.ts.map +1 -1
- package/models/operations/runagent.js +1534 -9
- package/models/operations/runagent.js.map +1 -1
- package/models/operations/streamrunagent.d.ts +2128 -455
- package/models/operations/streamrunagent.d.ts.map +1 -1
- package/models/operations/streamrunagent.js +1630 -89
- package/models/operations/streamrunagent.js.map +1 -1
- package/models/operations/updateagent.d.ts +4129 -853
- package/models/operations/updateagent.d.ts.map +1 -1
- package/models/operations/updateagent.js +3837 -825
- package/models/operations/updateagent.js.map +1 -1
- package/models/operations/updatebudget.js +2 -2
- package/models/operations/updatecontact.js +2 -2
- package/models/operations/updatedatapoint.js +8 -8
- package/models/operations/updatedataset.js +2 -2
- package/models/operations/updatedatasource.js +2 -2
- package/models/operations/updateeval.js +28 -28
- package/models/operations/updateprompt.d.ts +8 -8
- package/models/operations/updateprompt.d.ts.map +1 -1
- package/models/operations/updateprompt.js +8 -8
- package/models/operations/updateprompt.js.map +1 -1
- package/models/operations/updatetool.js +10 -10
- package/package.json +1 -1
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/operations/createagent.ts +7853 -1626
- package/src/models/operations/createbudget.ts +2 -2
- package/src/models/operations/createcontact.ts +2 -2
- package/src/models/operations/createdataset.ts +2 -2
- package/src/models/operations/createdatasetitem.ts +8 -8
- package/src/models/operations/createdatasource.ts +2 -2
- package/src/models/operations/createeval.ts +28 -28
- package/src/models/operations/creatememorystore.ts +120 -103
- package/src/models/operations/createprompt.ts +742 -621
- package/src/models/operations/createtool.ts +10 -10
- package/src/models/operations/deploymentgetconfig.ts +60 -44
- package/src/models/operations/deployments.ts +25 -20
- package/src/models/operations/duplicatetool.ts +10 -10
- package/src/models/operations/fileget.ts +2 -2
- package/src/models/operations/filelist.ts +2 -2
- package/src/models/operations/fileupload.ts +2 -2
- package/src/models/operations/getagent.ts +3274 -246
- package/src/models/operations/getallprompts.ts +30 -20
- package/src/models/operations/getalltools.ts +10 -10
- package/src/models/operations/getbudget.ts +2 -2
- package/src/models/operations/getevals.ts +28 -28
- package/src/models/operations/getoneprompt.ts +28 -20
- package/src/models/operations/getpromptversion.ts +30 -20
- package/src/models/operations/listagents.ts +3351 -270
- package/src/models/operations/listagenttasks.ts +3347 -180
- package/src/models/operations/listbudgets.ts +2 -2
- package/src/models/operations/listcontacts.ts +2 -2
- package/src/models/operations/listdatasetdatapoints.ts +8 -8
- package/src/models/operations/listdatasets.ts +2 -2
- package/src/models/operations/listdatasources.ts +2 -2
- package/src/models/operations/listpromptversions.ts +30 -20
- package/src/models/operations/retrievecontact.ts +2 -2
- package/src/models/operations/retrievedatapoint.ts +8 -8
- package/src/models/operations/retrievedataset.ts +2 -2
- package/src/models/operations/retrievedatasource.ts +2 -2
- package/src/models/operations/retrievetool.ts +10 -10
- package/src/models/operations/runagent.ts +3799 -610
- package/src/models/operations/streamrunagent.ts +3945 -605
- package/src/models/operations/updateagent.ts +8331 -1757
- package/src/models/operations/updatebudget.ts +2 -2
- package/src/models/operations/updatecontact.ts +2 -2
- package/src/models/operations/updatedatapoint.ts +8 -8
- package/src/models/operations/updatedataset.ts +2 -2
- package/src/models/operations/updatedatasource.ts +2 -2
- package/src/models/operations/updateeval.ts +28 -28
- package/src/models/operations/updateprompt.ts +58 -40
- package/src/models/operations/updatetool.ts +10 -10
|
@@ -36,7 +36,11 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
39
|
+
exports.ListAgentsAudio$inboundSchema = exports.ListAgentsFormat$ = exports.ListAgentsFormat$outboundSchema = exports.ListAgentsFormat$inboundSchema = exports.ListAgentsVoice$ = exports.ListAgentsVoice$outboundSchema = exports.ListAgentsVoice$inboundSchema = exports.ListAgentsSettings$ = exports.ListAgentsSettings$outboundSchema = exports.ListAgentsSettings$inboundSchema = exports.ListAgentsTools$ = exports.ListAgentsTools$outboundSchema = exports.ListAgentsTools$inboundSchema = exports.ListAgentsConditions$ = exports.ListAgentsConditions$outboundSchema = exports.ListAgentsConditions$inboundSchema = exports.ListAgentsToolApprovalRequired$ = exports.ListAgentsToolApprovalRequired$outboundSchema = exports.ListAgentsToolApprovalRequired$inboundSchema = exports.ListAgentsStatus$ = exports.ListAgentsStatus$outboundSchema = exports.ListAgentsStatus$inboundSchema = exports.ListAgentsObject$ = exports.ListAgentsObject$outboundSchema = exports.ListAgentsObject$inboundSchema = exports.ListAgentsRequest$ = exports.ListAgentsRequest$outboundSchema = exports.ListAgentsRequest$inboundSchema = exports.ListAgentsHiddenPanels = exports.ListAgentsFallbackModelsModalities = exports.ListAgentsToolChoiceAgents1 = exports.ListAgentsToolChoiceAgentsType = exports.ListAgentsFallbackModelsType = exports.ListAgentsResponseFormatAgentsResponse200Type = exports.ListAgentsResponseFormatAgentsResponse200ApplicationJSONType = exports.ListAgentsResponseFormatAgentsResponse200ApplicationJSONResponseBodyType = exports.ListAgentsFallbackModelsFormat = exports.ListAgentsFallbackModelsVoice = exports.ListAgentsModalities = exports.ListAgentsToolChoice1 = exports.ListAgentsToolChoiceType = exports.ListAgentsType = exports.ListAgentsResponseFormatType = exports.ListAgentsResponseFormatAgentsType = exports.ListAgentsResponseFormatAgentsResponseType = exports.ListAgentsFormat = exports.ListAgentsVoice = exports.ListAgentsToolApprovalRequired = exports.ListAgentsStatus = exports.ListAgentsObject = void 0;
|
|
40
|
+
exports.ListAgentsToolChoice1$ = exports.ListAgentsToolChoice1$outboundSchema = exports.ListAgentsToolChoice1$inboundSchema = exports.ListAgentsToolChoice2$ = exports.ListAgentsToolChoice2$outboundSchema = exports.ListAgentsToolChoice2$inboundSchema = exports.ListAgentsToolChoiceFunction$ = exports.ListAgentsToolChoiceFunction$outboundSchema = exports.ListAgentsToolChoiceFunction$inboundSchema = exports.ListAgentsToolChoiceType$ = exports.ListAgentsToolChoiceType$outboundSchema = exports.ListAgentsToolChoiceType$inboundSchema = exports.ListAgentsThinking$ = exports.ListAgentsThinking$outboundSchema = exports.ListAgentsThinking$inboundSchema = exports.ListAgentsType$ = exports.ListAgentsType$outboundSchema = exports.ListAgentsType$inboundSchema = exports.ListAgentsStreamOptions$ = exports.ListAgentsStreamOptions$outboundSchema = exports.ListAgentsStreamOptions$inboundSchema = exports.ListAgentsStop$ = exports.ListAgentsStop$outboundSchema = exports.ListAgentsStop$inboundSchema = exports.ListAgentsResponseFormat$ = exports.ListAgentsResponseFormat$outboundSchema = exports.ListAgentsResponseFormat$inboundSchema = exports.ListAgentsResponseFormat1$ = exports.ListAgentsResponseFormat1$outboundSchema = exports.ListAgentsResponseFormat1$inboundSchema = exports.ListAgentsResponseFormatType$ = exports.ListAgentsResponseFormatType$outboundSchema = exports.ListAgentsResponseFormatType$inboundSchema = exports.ListAgentsResponseFormat2$ = exports.ListAgentsResponseFormat2$outboundSchema = exports.ListAgentsResponseFormat2$inboundSchema = exports.ListAgentsResponseFormatAgentsType$ = exports.ListAgentsResponseFormatAgentsType$outboundSchema = exports.ListAgentsResponseFormatAgentsType$inboundSchema = exports.ListAgentsResponseFormat3$ = exports.ListAgentsResponseFormat3$outboundSchema = exports.ListAgentsResponseFormat3$inboundSchema = exports.ListAgentsResponseFormatJsonSchema$ = exports.ListAgentsResponseFormatJsonSchema$outboundSchema = exports.ListAgentsResponseFormatJsonSchema$inboundSchema = exports.ListAgentsResponseFormatAgentsResponseType$ = exports.ListAgentsResponseFormatAgentsResponseType$outboundSchema = exports.ListAgentsResponseFormatAgentsResponseType$inboundSchema = exports.ListAgentsAudio$ = exports.ListAgentsAudio$outboundSchema = void 0;
|
|
41
|
+
exports.ListAgentsFallbackModelsStreamOptions$outboundSchema = exports.ListAgentsFallbackModelsStreamOptions$inboundSchema = exports.ListAgentsFallbackModelsStop$ = exports.ListAgentsFallbackModelsStop$outboundSchema = exports.ListAgentsFallbackModelsStop$inboundSchema = exports.ListAgentsFallbackModelsResponseFormat$ = exports.ListAgentsFallbackModelsResponseFormat$outboundSchema = exports.ListAgentsFallbackModelsResponseFormat$inboundSchema = exports.ListAgentsResponseFormatAgents1$ = exports.ListAgentsResponseFormatAgents1$outboundSchema = exports.ListAgentsResponseFormatAgents1$inboundSchema = exports.ListAgentsResponseFormatAgentsResponse200Type$ = exports.ListAgentsResponseFormatAgentsResponse200Type$outboundSchema = exports.ListAgentsResponseFormatAgentsResponse200Type$inboundSchema = exports.ListAgentsResponseFormatAgents2$ = exports.ListAgentsResponseFormatAgents2$outboundSchema = exports.ListAgentsResponseFormatAgents2$inboundSchema = exports.ListAgentsResponseFormatAgentsResponse200ApplicationJSONType$ = exports.ListAgentsResponseFormatAgentsResponse200ApplicationJSONType$outboundSchema = exports.ListAgentsResponseFormatAgentsResponse200ApplicationJSONType$inboundSchema = exports.ListAgentsResponseFormatAgents3$ = exports.ListAgentsResponseFormatAgents3$outboundSchema = exports.ListAgentsResponseFormatAgents3$inboundSchema = exports.ListAgentsResponseFormatAgentsJsonSchema$ = exports.ListAgentsResponseFormatAgentsJsonSchema$outboundSchema = exports.ListAgentsResponseFormatAgentsJsonSchema$inboundSchema = exports.ListAgentsResponseFormatAgentsResponse200ApplicationJSONResponseBodyType$ = exports.ListAgentsResponseFormatAgentsResponse200ApplicationJSONResponseBodyType$outboundSchema = exports.ListAgentsResponseFormatAgentsResponse200ApplicationJSONResponseBodyType$inboundSchema = exports.ListAgentsFallbackModelsAudio$ = exports.ListAgentsFallbackModelsAudio$outboundSchema = exports.ListAgentsFallbackModelsAudio$inboundSchema = exports.ListAgentsFallbackModelsFormat$ = exports.ListAgentsFallbackModelsFormat$outboundSchema = exports.ListAgentsFallbackModelsFormat$inboundSchema = exports.ListAgentsFallbackModelsVoice$ = exports.ListAgentsFallbackModelsVoice$outboundSchema = exports.ListAgentsFallbackModelsVoice$inboundSchema = exports.ListAgentsParameters$ = exports.ListAgentsParameters$outboundSchema = exports.ListAgentsParameters$inboundSchema = exports.ListAgentsWebSearchOptions$ = exports.ListAgentsWebSearchOptions$outboundSchema = exports.ListAgentsWebSearchOptions$inboundSchema = exports.ListAgentsModalities$ = exports.ListAgentsModalities$outboundSchema = exports.ListAgentsModalities$inboundSchema = exports.ListAgentsToolChoice$ = exports.ListAgentsToolChoice$outboundSchema = exports.ListAgentsToolChoice$inboundSchema = void 0;
|
|
42
|
+
exports.ListAgentsHiddenPanels$inboundSchema = exports.ListAgentsKnowledgeBases$ = exports.ListAgentsKnowledgeBases$outboundSchema = exports.ListAgentsKnowledgeBases$inboundSchema = exports.ListAgentsMetrics$ = exports.ListAgentsMetrics$outboundSchema = exports.ListAgentsMetrics$inboundSchema = exports.ListAgentsTeamOfAgents$ = exports.ListAgentsTeamOfAgents$outboundSchema = exports.ListAgentsTeamOfAgents$inboundSchema = exports.ListAgentsModel$ = exports.ListAgentsModel$outboundSchema = exports.ListAgentsModel$inboundSchema = exports.ListAgentsFallbackModels$ = exports.ListAgentsFallbackModels$outboundSchema = exports.ListAgentsFallbackModels$inboundSchema = exports.ListAgentsFallbackModels2$ = exports.ListAgentsFallbackModels2$outboundSchema = exports.ListAgentsFallbackModels2$inboundSchema = exports.ListAgentsFallbackModelsParameters$ = exports.ListAgentsFallbackModelsParameters$outboundSchema = exports.ListAgentsFallbackModelsParameters$inboundSchema = exports.ListAgentsFallbackModelsWebSearchOptions$ = exports.ListAgentsFallbackModelsWebSearchOptions$outboundSchema = exports.ListAgentsFallbackModelsWebSearchOptions$inboundSchema = exports.ListAgentsFallbackModelsModalities$ = exports.ListAgentsFallbackModelsModalities$outboundSchema = exports.ListAgentsFallbackModelsModalities$inboundSchema = exports.ListAgentsFallbackModelsToolChoice$ = exports.ListAgentsFallbackModelsToolChoice$outboundSchema = exports.ListAgentsFallbackModelsToolChoice$inboundSchema = exports.ListAgentsToolChoiceAgents1$ = exports.ListAgentsToolChoiceAgents1$outboundSchema = exports.ListAgentsToolChoiceAgents1$inboundSchema = exports.ListAgentsToolChoiceAgents2$ = exports.ListAgentsToolChoiceAgents2$outboundSchema = exports.ListAgentsToolChoiceAgents2$inboundSchema = exports.ListAgentsToolChoiceAgentsFunction$ = exports.ListAgentsToolChoiceAgentsFunction$outboundSchema = exports.ListAgentsToolChoiceAgentsFunction$inboundSchema = exports.ListAgentsToolChoiceAgentsType$ = exports.ListAgentsToolChoiceAgentsType$outboundSchema = exports.ListAgentsToolChoiceAgentsType$inboundSchema = exports.ListAgentsFallbackModelsThinking$ = exports.ListAgentsFallbackModelsThinking$outboundSchema = exports.ListAgentsFallbackModelsThinking$inboundSchema = exports.ListAgentsFallbackModelsType$ = exports.ListAgentsFallbackModelsType$outboundSchema = exports.ListAgentsFallbackModelsType$inboundSchema = exports.ListAgentsFallbackModelsStreamOptions$ = void 0;
|
|
43
|
+
exports.ListAgentsResponseBody$ = exports.ListAgentsResponseBody$outboundSchema = exports.ListAgentsResponseBody$inboundSchema = exports.ListAgentsData$ = exports.ListAgentsData$outboundSchema = exports.ListAgentsData$inboundSchema = exports.ListAgentsHiddenPanels$ = exports.ListAgentsHiddenPanels$outboundSchema = void 0;
|
|
40
44
|
exports.listAgentsRequestToJSON = listAgentsRequestToJSON;
|
|
41
45
|
exports.listAgentsRequestFromJSON = listAgentsRequestFromJSON;
|
|
42
46
|
exports.listAgentsConditionsToJSON = listAgentsConditionsToJSON;
|
|
@@ -45,6 +49,66 @@ exports.listAgentsToolsToJSON = listAgentsToolsToJSON;
|
|
|
45
49
|
exports.listAgentsToolsFromJSON = listAgentsToolsFromJSON;
|
|
46
50
|
exports.listAgentsSettingsToJSON = listAgentsSettingsToJSON;
|
|
47
51
|
exports.listAgentsSettingsFromJSON = listAgentsSettingsFromJSON;
|
|
52
|
+
exports.listAgentsAudioToJSON = listAgentsAudioToJSON;
|
|
53
|
+
exports.listAgentsAudioFromJSON = listAgentsAudioFromJSON;
|
|
54
|
+
exports.listAgentsResponseFormatJsonSchemaToJSON = listAgentsResponseFormatJsonSchemaToJSON;
|
|
55
|
+
exports.listAgentsResponseFormatJsonSchemaFromJSON = listAgentsResponseFormatJsonSchemaFromJSON;
|
|
56
|
+
exports.listAgentsResponseFormat3ToJSON = listAgentsResponseFormat3ToJSON;
|
|
57
|
+
exports.listAgentsResponseFormat3FromJSON = listAgentsResponseFormat3FromJSON;
|
|
58
|
+
exports.listAgentsResponseFormat2ToJSON = listAgentsResponseFormat2ToJSON;
|
|
59
|
+
exports.listAgentsResponseFormat2FromJSON = listAgentsResponseFormat2FromJSON;
|
|
60
|
+
exports.listAgentsResponseFormat1ToJSON = listAgentsResponseFormat1ToJSON;
|
|
61
|
+
exports.listAgentsResponseFormat1FromJSON = listAgentsResponseFormat1FromJSON;
|
|
62
|
+
exports.listAgentsResponseFormatToJSON = listAgentsResponseFormatToJSON;
|
|
63
|
+
exports.listAgentsResponseFormatFromJSON = listAgentsResponseFormatFromJSON;
|
|
64
|
+
exports.listAgentsStopToJSON = listAgentsStopToJSON;
|
|
65
|
+
exports.listAgentsStopFromJSON = listAgentsStopFromJSON;
|
|
66
|
+
exports.listAgentsStreamOptionsToJSON = listAgentsStreamOptionsToJSON;
|
|
67
|
+
exports.listAgentsStreamOptionsFromJSON = listAgentsStreamOptionsFromJSON;
|
|
68
|
+
exports.listAgentsThinkingToJSON = listAgentsThinkingToJSON;
|
|
69
|
+
exports.listAgentsThinkingFromJSON = listAgentsThinkingFromJSON;
|
|
70
|
+
exports.listAgentsToolChoiceFunctionToJSON = listAgentsToolChoiceFunctionToJSON;
|
|
71
|
+
exports.listAgentsToolChoiceFunctionFromJSON = listAgentsToolChoiceFunctionFromJSON;
|
|
72
|
+
exports.listAgentsToolChoice2ToJSON = listAgentsToolChoice2ToJSON;
|
|
73
|
+
exports.listAgentsToolChoice2FromJSON = listAgentsToolChoice2FromJSON;
|
|
74
|
+
exports.listAgentsToolChoiceToJSON = listAgentsToolChoiceToJSON;
|
|
75
|
+
exports.listAgentsToolChoiceFromJSON = listAgentsToolChoiceFromJSON;
|
|
76
|
+
exports.listAgentsWebSearchOptionsToJSON = listAgentsWebSearchOptionsToJSON;
|
|
77
|
+
exports.listAgentsWebSearchOptionsFromJSON = listAgentsWebSearchOptionsFromJSON;
|
|
78
|
+
exports.listAgentsParametersToJSON = listAgentsParametersToJSON;
|
|
79
|
+
exports.listAgentsParametersFromJSON = listAgentsParametersFromJSON;
|
|
80
|
+
exports.listAgentsFallbackModelsAudioToJSON = listAgentsFallbackModelsAudioToJSON;
|
|
81
|
+
exports.listAgentsFallbackModelsAudioFromJSON = listAgentsFallbackModelsAudioFromJSON;
|
|
82
|
+
exports.listAgentsResponseFormatAgentsJsonSchemaToJSON = listAgentsResponseFormatAgentsJsonSchemaToJSON;
|
|
83
|
+
exports.listAgentsResponseFormatAgentsJsonSchemaFromJSON = listAgentsResponseFormatAgentsJsonSchemaFromJSON;
|
|
84
|
+
exports.listAgentsResponseFormatAgents3ToJSON = listAgentsResponseFormatAgents3ToJSON;
|
|
85
|
+
exports.listAgentsResponseFormatAgents3FromJSON = listAgentsResponseFormatAgents3FromJSON;
|
|
86
|
+
exports.listAgentsResponseFormatAgents2ToJSON = listAgentsResponseFormatAgents2ToJSON;
|
|
87
|
+
exports.listAgentsResponseFormatAgents2FromJSON = listAgentsResponseFormatAgents2FromJSON;
|
|
88
|
+
exports.listAgentsResponseFormatAgents1ToJSON = listAgentsResponseFormatAgents1ToJSON;
|
|
89
|
+
exports.listAgentsResponseFormatAgents1FromJSON = listAgentsResponseFormatAgents1FromJSON;
|
|
90
|
+
exports.listAgentsFallbackModelsResponseFormatToJSON = listAgentsFallbackModelsResponseFormatToJSON;
|
|
91
|
+
exports.listAgentsFallbackModelsResponseFormatFromJSON = listAgentsFallbackModelsResponseFormatFromJSON;
|
|
92
|
+
exports.listAgentsFallbackModelsStopToJSON = listAgentsFallbackModelsStopToJSON;
|
|
93
|
+
exports.listAgentsFallbackModelsStopFromJSON = listAgentsFallbackModelsStopFromJSON;
|
|
94
|
+
exports.listAgentsFallbackModelsStreamOptionsToJSON = listAgentsFallbackModelsStreamOptionsToJSON;
|
|
95
|
+
exports.listAgentsFallbackModelsStreamOptionsFromJSON = listAgentsFallbackModelsStreamOptionsFromJSON;
|
|
96
|
+
exports.listAgentsFallbackModelsThinkingToJSON = listAgentsFallbackModelsThinkingToJSON;
|
|
97
|
+
exports.listAgentsFallbackModelsThinkingFromJSON = listAgentsFallbackModelsThinkingFromJSON;
|
|
98
|
+
exports.listAgentsToolChoiceAgentsFunctionToJSON = listAgentsToolChoiceAgentsFunctionToJSON;
|
|
99
|
+
exports.listAgentsToolChoiceAgentsFunctionFromJSON = listAgentsToolChoiceAgentsFunctionFromJSON;
|
|
100
|
+
exports.listAgentsToolChoiceAgents2ToJSON = listAgentsToolChoiceAgents2ToJSON;
|
|
101
|
+
exports.listAgentsToolChoiceAgents2FromJSON = listAgentsToolChoiceAgents2FromJSON;
|
|
102
|
+
exports.listAgentsFallbackModelsToolChoiceToJSON = listAgentsFallbackModelsToolChoiceToJSON;
|
|
103
|
+
exports.listAgentsFallbackModelsToolChoiceFromJSON = listAgentsFallbackModelsToolChoiceFromJSON;
|
|
104
|
+
exports.listAgentsFallbackModelsWebSearchOptionsToJSON = listAgentsFallbackModelsWebSearchOptionsToJSON;
|
|
105
|
+
exports.listAgentsFallbackModelsWebSearchOptionsFromJSON = listAgentsFallbackModelsWebSearchOptionsFromJSON;
|
|
106
|
+
exports.listAgentsFallbackModelsParametersToJSON = listAgentsFallbackModelsParametersToJSON;
|
|
107
|
+
exports.listAgentsFallbackModelsParametersFromJSON = listAgentsFallbackModelsParametersFromJSON;
|
|
108
|
+
exports.listAgentsFallbackModels2ToJSON = listAgentsFallbackModels2ToJSON;
|
|
109
|
+
exports.listAgentsFallbackModels2FromJSON = listAgentsFallbackModels2FromJSON;
|
|
110
|
+
exports.listAgentsFallbackModelsToJSON = listAgentsFallbackModelsToJSON;
|
|
111
|
+
exports.listAgentsFallbackModelsFromJSON = listAgentsFallbackModelsFromJSON;
|
|
48
112
|
exports.listAgentsModelToJSON = listAgentsModelToJSON;
|
|
49
113
|
exports.listAgentsModelFromJSON = listAgentsModelFromJSON;
|
|
50
114
|
exports.listAgentsTeamOfAgentsToJSON = listAgentsTeamOfAgentsToJSON;
|
|
@@ -80,6 +144,110 @@ exports.ListAgentsToolApprovalRequired = {
|
|
|
80
144
|
RespectTool: "respect_tool",
|
|
81
145
|
None: "none",
|
|
82
146
|
};
|
|
147
|
+
/**
|
|
148
|
+
* The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
|
|
149
|
+
*/
|
|
150
|
+
exports.ListAgentsVoice = {
|
|
151
|
+
Alloy: "alloy",
|
|
152
|
+
Echo: "echo",
|
|
153
|
+
Fable: "fable",
|
|
154
|
+
Onyx: "onyx",
|
|
155
|
+
Nova: "nova",
|
|
156
|
+
Shimmer: "shimmer",
|
|
157
|
+
};
|
|
158
|
+
/**
|
|
159
|
+
* Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
|
|
160
|
+
*/
|
|
161
|
+
exports.ListAgentsFormat = {
|
|
162
|
+
Wav: "wav",
|
|
163
|
+
Mp3: "mp3",
|
|
164
|
+
Flac: "flac",
|
|
165
|
+
Opus: "opus",
|
|
166
|
+
Pcm16: "pcm16",
|
|
167
|
+
};
|
|
168
|
+
exports.ListAgentsResponseFormatAgentsResponseType = {
|
|
169
|
+
JsonSchema: "json_schema",
|
|
170
|
+
};
|
|
171
|
+
exports.ListAgentsResponseFormatAgentsType = {
|
|
172
|
+
JsonObject: "json_object",
|
|
173
|
+
};
|
|
174
|
+
exports.ListAgentsResponseFormatType = {
|
|
175
|
+
Text: "text",
|
|
176
|
+
};
|
|
177
|
+
/**
|
|
178
|
+
* Enables or disables the thinking mode capability
|
|
179
|
+
*/
|
|
180
|
+
exports.ListAgentsType = {
|
|
181
|
+
Enabled: "enabled",
|
|
182
|
+
Disabled: "disabled",
|
|
183
|
+
};
|
|
184
|
+
/**
|
|
185
|
+
* The type of the tool. Currently, only function is supported.
|
|
186
|
+
*/
|
|
187
|
+
exports.ListAgentsToolChoiceType = {
|
|
188
|
+
Function: "function",
|
|
189
|
+
};
|
|
190
|
+
exports.ListAgentsToolChoice1 = {
|
|
191
|
+
None: "none",
|
|
192
|
+
Auto: "auto",
|
|
193
|
+
Required: "required",
|
|
194
|
+
};
|
|
195
|
+
exports.ListAgentsModalities = {
|
|
196
|
+
Text: "text",
|
|
197
|
+
Audio: "audio",
|
|
198
|
+
};
|
|
199
|
+
/**
|
|
200
|
+
* The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
|
|
201
|
+
*/
|
|
202
|
+
exports.ListAgentsFallbackModelsVoice = {
|
|
203
|
+
Alloy: "alloy",
|
|
204
|
+
Echo: "echo",
|
|
205
|
+
Fable: "fable",
|
|
206
|
+
Onyx: "onyx",
|
|
207
|
+
Nova: "nova",
|
|
208
|
+
Shimmer: "shimmer",
|
|
209
|
+
};
|
|
210
|
+
/**
|
|
211
|
+
* Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
|
|
212
|
+
*/
|
|
213
|
+
exports.ListAgentsFallbackModelsFormat = {
|
|
214
|
+
Wav: "wav",
|
|
215
|
+
Mp3: "mp3",
|
|
216
|
+
Flac: "flac",
|
|
217
|
+
Opus: "opus",
|
|
218
|
+
Pcm16: "pcm16",
|
|
219
|
+
};
|
|
220
|
+
exports.ListAgentsResponseFormatAgentsResponse200ApplicationJSONResponseBodyType = {
|
|
221
|
+
JsonSchema: "json_schema",
|
|
222
|
+
};
|
|
223
|
+
exports.ListAgentsResponseFormatAgentsResponse200ApplicationJSONType = {
|
|
224
|
+
JsonObject: "json_object",
|
|
225
|
+
};
|
|
226
|
+
exports.ListAgentsResponseFormatAgentsResponse200Type = {
|
|
227
|
+
Text: "text",
|
|
228
|
+
};
|
|
229
|
+
/**
|
|
230
|
+
* Enables or disables the thinking mode capability
|
|
231
|
+
*/
|
|
232
|
+
exports.ListAgentsFallbackModelsType = {
|
|
233
|
+
Enabled: "enabled",
|
|
234
|
+
Disabled: "disabled",
|
|
235
|
+
};
|
|
236
|
+
/**
|
|
237
|
+
* The type of the tool. Currently, only function is supported.
|
|
238
|
+
*/
|
|
239
|
+
exports.ListAgentsToolChoiceAgentsType = {
|
|
240
|
+
Function: "function",
|
|
241
|
+
};
|
|
242
|
+
exports.ListAgentsToolChoiceAgents1 = {
|
|
243
|
+
None: "none",
|
|
244
|
+
Auto: "auto",
|
|
245
|
+
Required: "required",
|
|
246
|
+
};
|
|
247
|
+
exports.ListAgentsFallbackModelsModalities = {
|
|
248
|
+
Text: "text",
|
|
249
|
+
Audio: "audio",
|
|
250
|
+
};
|
|
83
251
|
exports.ListAgentsHiddenPanels = {
|
|
84
252
|
Model: "model",
|
|
85
253
|
Tools: "tools",
|
|
@@ -297,31 +465,1335 @@ function listAgentsSettingsFromJSON(jsonString) {
|
|
|
297
465
|
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListAgentsSettings$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListAgentsSettings' from JSON`);
|
|
298
466
|
}
|
|
299
467
|
/** @internal */
|
|
468
|
+
exports.ListAgentsVoice$inboundSchema = z.nativeEnum(exports.ListAgentsVoice);
|
|
469
|
+
/** @internal */
|
|
470
|
+
exports.ListAgentsVoice$outboundSchema = exports.ListAgentsVoice$inboundSchema;
|
|
471
|
+
/**
|
|
472
|
+
* @internal
|
|
473
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
474
|
+
*/
|
|
475
|
+
var ListAgentsVoice$;
|
|
476
|
+
(function (ListAgentsVoice$) {
|
|
477
|
+
/** @deprecated use `ListAgentsVoice$inboundSchema` instead. */
|
|
478
|
+
ListAgentsVoice$.inboundSchema = exports.ListAgentsVoice$inboundSchema;
|
|
479
|
+
/** @deprecated use `ListAgentsVoice$outboundSchema` instead. */
|
|
480
|
+
ListAgentsVoice$.outboundSchema = exports.ListAgentsVoice$outboundSchema;
|
|
481
|
+
})(ListAgentsVoice$ || (exports.ListAgentsVoice$ = ListAgentsVoice$ = {}));
|
|
482
|
+
/** @internal */
|
|
483
|
+
exports.ListAgentsFormat$inboundSchema = z.nativeEnum(exports.ListAgentsFormat);
|
|
484
|
+
/** @internal */
|
|
485
|
+
exports.ListAgentsFormat$outboundSchema = exports.ListAgentsFormat$inboundSchema;
|
|
486
|
+
/**
|
|
487
|
+
* @internal
|
|
488
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
489
|
+
*/
|
|
490
|
+
var ListAgentsFormat$;
|
|
491
|
+
(function (ListAgentsFormat$) {
|
|
492
|
+
/** @deprecated use `ListAgentsFormat$inboundSchema` instead. */
|
|
493
|
+
ListAgentsFormat$.inboundSchema = exports.ListAgentsFormat$inboundSchema;
|
|
494
|
+
/** @deprecated use `ListAgentsFormat$outboundSchema` instead. */
|
|
495
|
+
ListAgentsFormat$.outboundSchema = exports.ListAgentsFormat$outboundSchema;
|
|
496
|
+
})(ListAgentsFormat$ || (exports.ListAgentsFormat$ = ListAgentsFormat$ = {}));
|
|
497
|
+
/** @internal */
|
|
498
|
+
exports.ListAgentsAudio$inboundSchema = z.object({
|
|
499
|
+
voice: exports.ListAgentsVoice$inboundSchema,
|
|
500
|
+
format: exports.ListAgentsFormat$inboundSchema,
|
|
501
|
+
});
|
|
502
|
+
/** @internal */
|
|
503
|
+
exports.ListAgentsAudio$outboundSchema = z.object({
|
|
504
|
+
voice: exports.ListAgentsVoice$outboundSchema,
|
|
505
|
+
format: exports.ListAgentsFormat$outboundSchema,
|
|
506
|
+
});
|
|
507
|
+
/**
|
|
508
|
+
* @internal
|
|
509
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
510
|
+
*/
|
|
511
|
+
var ListAgentsAudio$;
|
|
512
|
+
(function (ListAgentsAudio$) {
|
|
513
|
+
/** @deprecated use `ListAgentsAudio$inboundSchema` instead. */
|
|
514
|
+
ListAgentsAudio$.inboundSchema = exports.ListAgentsAudio$inboundSchema;
|
|
515
|
+
/** @deprecated use `ListAgentsAudio$outboundSchema` instead. */
|
|
516
|
+
ListAgentsAudio$.outboundSchema = exports.ListAgentsAudio$outboundSchema;
|
|
517
|
+
})(ListAgentsAudio$ || (exports.ListAgentsAudio$ = ListAgentsAudio$ = {}));
|
|
518
|
+
function listAgentsAudioToJSON(listAgentsAudio) {
|
|
519
|
+
return JSON.stringify(exports.ListAgentsAudio$outboundSchema.parse(listAgentsAudio));
|
|
520
|
+
}
|
|
521
|
+
function listAgentsAudioFromJSON(jsonString) {
|
|
522
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListAgentsAudio$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListAgentsAudio' from JSON`);
|
|
523
|
+
}
|
|
524
|
+
/** @internal */
|
|
525
|
+
exports.ListAgentsResponseFormatAgentsResponseType$inboundSchema = z
|
|
526
|
+
.nativeEnum(exports.ListAgentsResponseFormatAgentsResponseType);
|
|
527
|
+
/** @internal */
|
|
528
|
+
exports.ListAgentsResponseFormatAgentsResponseType$outboundSchema = exports.ListAgentsResponseFormatAgentsResponseType$inboundSchema;
|
|
529
|
+
/**
|
|
530
|
+
* @internal
|
|
531
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
532
|
+
*/
|
|
533
|
+
var ListAgentsResponseFormatAgentsResponseType$;
|
|
534
|
+
(function (ListAgentsResponseFormatAgentsResponseType$) {
|
|
535
|
+
/** @deprecated use `ListAgentsResponseFormatAgentsResponseType$inboundSchema` instead. */
|
|
536
|
+
ListAgentsResponseFormatAgentsResponseType$.inboundSchema = exports.ListAgentsResponseFormatAgentsResponseType$inboundSchema;
|
|
537
|
+
/** @deprecated use `ListAgentsResponseFormatAgentsResponseType$outboundSchema` instead. */
|
|
538
|
+
ListAgentsResponseFormatAgentsResponseType$.outboundSchema = exports.ListAgentsResponseFormatAgentsResponseType$outboundSchema;
|
|
539
|
+
})(ListAgentsResponseFormatAgentsResponseType$ || (exports.ListAgentsResponseFormatAgentsResponseType$ = ListAgentsResponseFormatAgentsResponseType$ = {}));
|
|
540
|
+
/** @internal */
|
|
541
|
+
exports.ListAgentsResponseFormatJsonSchema$inboundSchema = z.object({
|
|
542
|
+
description: z.string().optional(),
|
|
543
|
+
name: z.string(),
|
|
544
|
+
schema: z.any().optional(),
|
|
545
|
+
strict: z.boolean().optional(),
|
|
546
|
+
});
|
|
547
|
+
/** @internal */
|
|
548
|
+
exports.ListAgentsResponseFormatJsonSchema$outboundSchema = z.object({
|
|
549
|
+
description: z.string().optional(),
|
|
550
|
+
name: z.string(),
|
|
551
|
+
schema: z.any().optional(),
|
|
552
|
+
strict: z.boolean().optional(),
|
|
553
|
+
});
|
|
554
|
+
/**
|
|
555
|
+
* @internal
|
|
556
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
557
|
+
*/
|
|
558
|
+
var ListAgentsResponseFormatJsonSchema$;
|
|
559
|
+
(function (ListAgentsResponseFormatJsonSchema$) {
|
|
560
|
+
/** @deprecated use `ListAgentsResponseFormatJsonSchema$inboundSchema` instead. */
|
|
561
|
+
ListAgentsResponseFormatJsonSchema$.inboundSchema = exports.ListAgentsResponseFormatJsonSchema$inboundSchema;
|
|
562
|
+
/** @deprecated use `ListAgentsResponseFormatJsonSchema$outboundSchema` instead. */
|
|
563
|
+
ListAgentsResponseFormatJsonSchema$.outboundSchema = exports.ListAgentsResponseFormatJsonSchema$outboundSchema;
|
|
564
|
+
})(ListAgentsResponseFormatJsonSchema$ || (exports.ListAgentsResponseFormatJsonSchema$ = ListAgentsResponseFormatJsonSchema$ = {}));
|
|
565
|
+
function listAgentsResponseFormatJsonSchemaToJSON(listAgentsResponseFormatJsonSchema) {
|
|
566
|
+
return JSON.stringify(exports.ListAgentsResponseFormatJsonSchema$outboundSchema.parse(listAgentsResponseFormatJsonSchema));
|
|
567
|
+
}
|
|
568
|
+
function listAgentsResponseFormatJsonSchemaFromJSON(jsonString) {
|
|
569
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListAgentsResponseFormatJsonSchema$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListAgentsResponseFormatJsonSchema' from JSON`);
|
|
570
|
+
}
|
|
571
|
+
/** @internal */
|
|
572
|
+
exports.ListAgentsResponseFormat3$inboundSchema = z.object({
|
|
573
|
+
type: exports.ListAgentsResponseFormatAgentsResponseType$inboundSchema,
|
|
574
|
+
json_schema: z.lazy(() => exports.ListAgentsResponseFormatJsonSchema$inboundSchema),
|
|
575
|
+
}).transform((v) => {
|
|
576
|
+
return (0, primitives_js_1.remap)(v, {
|
|
577
|
+
"json_schema": "jsonSchema",
|
|
578
|
+
});
|
|
579
|
+
});
|
|
580
|
+
/** @internal */
|
|
581
|
+
exports.ListAgentsResponseFormat3$outboundSchema = z.object({
|
|
582
|
+
type: exports.ListAgentsResponseFormatAgentsResponseType$outboundSchema,
|
|
583
|
+
jsonSchema: z.lazy(() => exports.ListAgentsResponseFormatJsonSchema$outboundSchema),
|
|
584
|
+
}).transform((v) => {
|
|
585
|
+
return (0, primitives_js_1.remap)(v, {
|
|
586
|
+
jsonSchema: "json_schema",
|
|
587
|
+
});
|
|
588
|
+
});
|
|
589
|
+
/**
|
|
590
|
+
* @internal
|
|
591
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
592
|
+
*/
|
|
593
|
+
var ListAgentsResponseFormat3$;
|
|
594
|
+
(function (ListAgentsResponseFormat3$) {
|
|
595
|
+
/** @deprecated use `ListAgentsResponseFormat3$inboundSchema` instead. */
|
|
596
|
+
ListAgentsResponseFormat3$.inboundSchema = exports.ListAgentsResponseFormat3$inboundSchema;
|
|
597
|
+
/** @deprecated use `ListAgentsResponseFormat3$outboundSchema` instead. */
|
|
598
|
+
ListAgentsResponseFormat3$.outboundSchema = exports.ListAgentsResponseFormat3$outboundSchema;
|
|
599
|
+
})(ListAgentsResponseFormat3$ || (exports.ListAgentsResponseFormat3$ = ListAgentsResponseFormat3$ = {}));
|
|
600
|
+
function listAgentsResponseFormat3ToJSON(listAgentsResponseFormat3) {
|
|
601
|
+
return JSON.stringify(exports.ListAgentsResponseFormat3$outboundSchema.parse(listAgentsResponseFormat3));
|
|
602
|
+
}
|
|
603
|
+
function listAgentsResponseFormat3FromJSON(jsonString) {
|
|
604
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListAgentsResponseFormat3$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListAgentsResponseFormat3' from JSON`);
|
|
605
|
+
}
|
|
606
|
+
/** @internal */
|
|
607
|
+
exports.ListAgentsResponseFormatAgentsType$inboundSchema = z.nativeEnum(exports.ListAgentsResponseFormatAgentsType);
|
|
608
|
+
/** @internal */
|
|
609
|
+
exports.ListAgentsResponseFormatAgentsType$outboundSchema = exports.ListAgentsResponseFormatAgentsType$inboundSchema;
|
|
610
|
+
/**
|
|
611
|
+
* @internal
|
|
612
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
613
|
+
*/
|
|
614
|
+
var ListAgentsResponseFormatAgentsType$;
|
|
615
|
+
(function (ListAgentsResponseFormatAgentsType$) {
|
|
616
|
+
/** @deprecated use `ListAgentsResponseFormatAgentsType$inboundSchema` instead. */
|
|
617
|
+
ListAgentsResponseFormatAgentsType$.inboundSchema = exports.ListAgentsResponseFormatAgentsType$inboundSchema;
|
|
618
|
+
/** @deprecated use `ListAgentsResponseFormatAgentsType$outboundSchema` instead. */
|
|
619
|
+
ListAgentsResponseFormatAgentsType$.outboundSchema = exports.ListAgentsResponseFormatAgentsType$outboundSchema;
|
|
620
|
+
})(ListAgentsResponseFormatAgentsType$ || (exports.ListAgentsResponseFormatAgentsType$ = ListAgentsResponseFormatAgentsType$ = {}));
|
|
621
|
+
/** @internal */
|
|
622
|
+
exports.ListAgentsResponseFormat2$inboundSchema = z.object({
|
|
623
|
+
type: exports.ListAgentsResponseFormatAgentsType$inboundSchema,
|
|
624
|
+
});
|
|
625
|
+
/** @internal */
|
|
626
|
+
exports.ListAgentsResponseFormat2$outboundSchema = z.object({
|
|
627
|
+
type: exports.ListAgentsResponseFormatAgentsType$outboundSchema,
|
|
628
|
+
});
|
|
629
|
+
/**
|
|
630
|
+
* @internal
|
|
631
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
632
|
+
*/
|
|
633
|
+
var ListAgentsResponseFormat2$;
|
|
634
|
+
(function (ListAgentsResponseFormat2$) {
|
|
635
|
+
/** @deprecated use `ListAgentsResponseFormat2$inboundSchema` instead. */
|
|
636
|
+
ListAgentsResponseFormat2$.inboundSchema = exports.ListAgentsResponseFormat2$inboundSchema;
|
|
637
|
+
/** @deprecated use `ListAgentsResponseFormat2$outboundSchema` instead. */
|
|
638
|
+
ListAgentsResponseFormat2$.outboundSchema = exports.ListAgentsResponseFormat2$outboundSchema;
|
|
639
|
+
})(ListAgentsResponseFormat2$ || (exports.ListAgentsResponseFormat2$ = ListAgentsResponseFormat2$ = {}));
|
|
640
|
+
function listAgentsResponseFormat2ToJSON(listAgentsResponseFormat2) {
|
|
641
|
+
return JSON.stringify(exports.ListAgentsResponseFormat2$outboundSchema.parse(listAgentsResponseFormat2));
|
|
642
|
+
}
|
|
643
|
+
function listAgentsResponseFormat2FromJSON(jsonString) {
|
|
644
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListAgentsResponseFormat2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListAgentsResponseFormat2' from JSON`);
|
|
645
|
+
}
|
|
646
|
+
/** @internal */
|
|
647
|
+
exports.ListAgentsResponseFormatType$inboundSchema = z.nativeEnum(exports.ListAgentsResponseFormatType);
|
|
648
|
+
/** @internal */
|
|
649
|
+
exports.ListAgentsResponseFormatType$outboundSchema = exports.ListAgentsResponseFormatType$inboundSchema;
|
|
650
|
+
/**
|
|
651
|
+
* @internal
|
|
652
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
653
|
+
*/
|
|
654
|
+
var ListAgentsResponseFormatType$;
|
|
655
|
+
(function (ListAgentsResponseFormatType$) {
|
|
656
|
+
/** @deprecated use `ListAgentsResponseFormatType$inboundSchema` instead. */
|
|
657
|
+
ListAgentsResponseFormatType$.inboundSchema = exports.ListAgentsResponseFormatType$inboundSchema;
|
|
658
|
+
/** @deprecated use `ListAgentsResponseFormatType$outboundSchema` instead. */
|
|
659
|
+
ListAgentsResponseFormatType$.outboundSchema = exports.ListAgentsResponseFormatType$outboundSchema;
|
|
660
|
+
})(ListAgentsResponseFormatType$ || (exports.ListAgentsResponseFormatType$ = ListAgentsResponseFormatType$ = {}));
|
|
661
|
+
/** @internal */
|
|
662
|
+
exports.ListAgentsResponseFormat1$inboundSchema = z.object({
|
|
663
|
+
type: exports.ListAgentsResponseFormatType$inboundSchema,
|
|
664
|
+
});
|
|
665
|
+
/** @internal */
|
|
666
|
+
exports.ListAgentsResponseFormat1$outboundSchema = z.object({
|
|
667
|
+
type: exports.ListAgentsResponseFormatType$outboundSchema,
|
|
668
|
+
});
|
|
669
|
+
/**
|
|
670
|
+
* @internal
|
|
671
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
672
|
+
*/
|
|
673
|
+
var ListAgentsResponseFormat1$;
|
|
674
|
+
(function (ListAgentsResponseFormat1$) {
|
|
675
|
+
/** @deprecated use `ListAgentsResponseFormat1$inboundSchema` instead. */
|
|
676
|
+
ListAgentsResponseFormat1$.inboundSchema = exports.ListAgentsResponseFormat1$inboundSchema;
|
|
677
|
+
/** @deprecated use `ListAgentsResponseFormat1$outboundSchema` instead. */
|
|
678
|
+
ListAgentsResponseFormat1$.outboundSchema = exports.ListAgentsResponseFormat1$outboundSchema;
|
|
679
|
+
})(ListAgentsResponseFormat1$ || (exports.ListAgentsResponseFormat1$ = ListAgentsResponseFormat1$ = {}));
|
|
680
|
+
function listAgentsResponseFormat1ToJSON(listAgentsResponseFormat1) {
|
|
681
|
+
return JSON.stringify(exports.ListAgentsResponseFormat1$outboundSchema.parse(listAgentsResponseFormat1));
|
|
682
|
+
}
|
|
683
|
+
function listAgentsResponseFormat1FromJSON(jsonString) {
|
|
684
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListAgentsResponseFormat1$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListAgentsResponseFormat1' from JSON`);
|
|
685
|
+
}
|
|
686
|
+
/** @internal */
|
|
687
|
+
exports.ListAgentsResponseFormat$inboundSchema = z.union([
|
|
688
|
+
z.lazy(() => exports.ListAgentsResponseFormat3$inboundSchema),
|
|
689
|
+
z.lazy(() => exports.ListAgentsResponseFormat1$inboundSchema),
|
|
690
|
+
z.lazy(() => exports.ListAgentsResponseFormat2$inboundSchema),
|
|
691
|
+
]);
|
|
692
|
+
/** @internal */
|
|
693
|
+
exports.ListAgentsResponseFormat$outboundSchema = z.union([
|
|
694
|
+
z.lazy(() => exports.ListAgentsResponseFormat3$outboundSchema),
|
|
695
|
+
z.lazy(() => exports.ListAgentsResponseFormat1$outboundSchema),
|
|
696
|
+
z.lazy(() => exports.ListAgentsResponseFormat2$outboundSchema),
|
|
697
|
+
]);
|
|
698
|
+
/**
|
|
699
|
+
* @internal
|
|
700
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
701
|
+
*/
|
|
702
|
+
var ListAgentsResponseFormat$;
|
|
703
|
+
(function (ListAgentsResponseFormat$) {
|
|
704
|
+
/** @deprecated use `ListAgentsResponseFormat$inboundSchema` instead. */
|
|
705
|
+
ListAgentsResponseFormat$.inboundSchema = exports.ListAgentsResponseFormat$inboundSchema;
|
|
706
|
+
/** @deprecated use `ListAgentsResponseFormat$outboundSchema` instead. */
|
|
707
|
+
ListAgentsResponseFormat$.outboundSchema = exports.ListAgentsResponseFormat$outboundSchema;
|
|
708
|
+
})(ListAgentsResponseFormat$ || (exports.ListAgentsResponseFormat$ = ListAgentsResponseFormat$ = {}));
|
|
709
|
+
function listAgentsResponseFormatToJSON(listAgentsResponseFormat) {
|
|
710
|
+
return JSON.stringify(exports.ListAgentsResponseFormat$outboundSchema.parse(listAgentsResponseFormat));
|
|
711
|
+
}
|
|
712
|
+
function listAgentsResponseFormatFromJSON(jsonString) {
|
|
713
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListAgentsResponseFormat$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListAgentsResponseFormat' from JSON`);
|
|
714
|
+
}
|
|
715
|
+
/** @internal */
|
|
716
|
+
exports.ListAgentsStop$inboundSchema = z.union([z.string(), z.array(z.string())]);
|
|
717
|
+
/** @internal */
|
|
718
|
+
exports.ListAgentsStop$outboundSchema = z.union([z.string(), z.array(z.string())]);
|
|
719
|
+
/**
|
|
720
|
+
* @internal
|
|
721
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
722
|
+
*/
|
|
723
|
+
var ListAgentsStop$;
|
|
724
|
+
(function (ListAgentsStop$) {
|
|
725
|
+
/** @deprecated use `ListAgentsStop$inboundSchema` instead. */
|
|
726
|
+
ListAgentsStop$.inboundSchema = exports.ListAgentsStop$inboundSchema;
|
|
727
|
+
/** @deprecated use `ListAgentsStop$outboundSchema` instead. */
|
|
728
|
+
ListAgentsStop$.outboundSchema = exports.ListAgentsStop$outboundSchema;
|
|
729
|
+
})(ListAgentsStop$ || (exports.ListAgentsStop$ = ListAgentsStop$ = {}));
|
|
730
|
+
function listAgentsStopToJSON(listAgentsStop) {
|
|
731
|
+
return JSON.stringify(exports.ListAgentsStop$outboundSchema.parse(listAgentsStop));
|
|
732
|
+
}
|
|
733
|
+
function listAgentsStopFromJSON(jsonString) {
|
|
734
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListAgentsStop$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListAgentsStop' from JSON`);
|
|
735
|
+
}
|
|
736
|
+
/** @internal */
|
|
737
|
+
exports.ListAgentsStreamOptions$inboundSchema = z.object({
|
|
738
|
+
include_usage: z.boolean().optional(),
|
|
739
|
+
}).transform((v) => {
|
|
740
|
+
return (0, primitives_js_1.remap)(v, {
|
|
741
|
+
"include_usage": "includeUsage",
|
|
742
|
+
});
|
|
743
|
+
});
|
|
744
|
+
/** @internal */
|
|
745
|
+
exports.ListAgentsStreamOptions$outboundSchema = z.object({
|
|
746
|
+
includeUsage: z.boolean().optional(),
|
|
747
|
+
}).transform((v) => {
|
|
748
|
+
return (0, primitives_js_1.remap)(v, {
|
|
749
|
+
includeUsage: "include_usage",
|
|
750
|
+
});
|
|
751
|
+
});
|
|
752
|
+
/**
|
|
753
|
+
* @internal
|
|
754
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
755
|
+
*/
|
|
756
|
+
var ListAgentsStreamOptions$;
|
|
757
|
+
(function (ListAgentsStreamOptions$) {
|
|
758
|
+
/** @deprecated use `ListAgentsStreamOptions$inboundSchema` instead. */
|
|
759
|
+
ListAgentsStreamOptions$.inboundSchema = exports.ListAgentsStreamOptions$inboundSchema;
|
|
760
|
+
/** @deprecated use `ListAgentsStreamOptions$outboundSchema` instead. */
|
|
761
|
+
ListAgentsStreamOptions$.outboundSchema = exports.ListAgentsStreamOptions$outboundSchema;
|
|
762
|
+
})(ListAgentsStreamOptions$ || (exports.ListAgentsStreamOptions$ = ListAgentsStreamOptions$ = {}));
|
|
763
|
+
function listAgentsStreamOptionsToJSON(listAgentsStreamOptions) {
|
|
764
|
+
return JSON.stringify(exports.ListAgentsStreamOptions$outboundSchema.parse(listAgentsStreamOptions));
|
|
765
|
+
}
|
|
766
|
+
function listAgentsStreamOptionsFromJSON(jsonString) {
|
|
767
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListAgentsStreamOptions$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListAgentsStreamOptions' from JSON`);
|
|
768
|
+
}
|
|
769
|
+
/** @internal */
|
|
770
|
+
exports.ListAgentsType$inboundSchema = z.nativeEnum(exports.ListAgentsType);
|
|
771
|
+
/** @internal */
|
|
772
|
+
exports.ListAgentsType$outboundSchema = exports.ListAgentsType$inboundSchema;
|
|
773
|
+
/**
|
|
774
|
+
* @internal
|
|
775
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
776
|
+
*/
|
|
777
|
+
var ListAgentsType$;
|
|
778
|
+
(function (ListAgentsType$) {
|
|
779
|
+
/** @deprecated use `ListAgentsType$inboundSchema` instead. */
|
|
780
|
+
ListAgentsType$.inboundSchema = exports.ListAgentsType$inboundSchema;
|
|
781
|
+
/** @deprecated use `ListAgentsType$outboundSchema` instead. */
|
|
782
|
+
ListAgentsType$.outboundSchema = exports.ListAgentsType$outboundSchema;
|
|
783
|
+
})(ListAgentsType$ || (exports.ListAgentsType$ = ListAgentsType$ = {}));
|
|
784
|
+
/** @internal */
|
|
785
|
+
exports.ListAgentsThinking$inboundSchema = z.object({
|
|
786
|
+
type: exports.ListAgentsType$inboundSchema,
|
|
787
|
+
budget_tokens: z.number(),
|
|
788
|
+
}).transform((v) => {
|
|
789
|
+
return (0, primitives_js_1.remap)(v, {
|
|
790
|
+
"budget_tokens": "budgetTokens",
|
|
791
|
+
});
|
|
792
|
+
});
|
|
793
|
+
/** @internal */
|
|
794
|
+
exports.ListAgentsThinking$outboundSchema = z.object({
|
|
795
|
+
type: exports.ListAgentsType$outboundSchema,
|
|
796
|
+
budgetTokens: z.number(),
|
|
797
|
+
}).transform((v) => {
|
|
798
|
+
return (0, primitives_js_1.remap)(v, {
|
|
799
|
+
budgetTokens: "budget_tokens",
|
|
800
|
+
});
|
|
801
|
+
});
|
|
802
|
+
/**
|
|
803
|
+
* @internal
|
|
804
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
805
|
+
*/
|
|
806
|
+
var ListAgentsThinking$;
|
|
807
|
+
(function (ListAgentsThinking$) {
|
|
808
|
+
/** @deprecated use `ListAgentsThinking$inboundSchema` instead. */
|
|
809
|
+
ListAgentsThinking$.inboundSchema = exports.ListAgentsThinking$inboundSchema;
|
|
810
|
+
/** @deprecated use `ListAgentsThinking$outboundSchema` instead. */
|
|
811
|
+
ListAgentsThinking$.outboundSchema = exports.ListAgentsThinking$outboundSchema;
|
|
812
|
+
})(ListAgentsThinking$ || (exports.ListAgentsThinking$ = ListAgentsThinking$ = {}));
|
|
813
|
+
function listAgentsThinkingToJSON(listAgentsThinking) {
|
|
814
|
+
return JSON.stringify(exports.ListAgentsThinking$outboundSchema.parse(listAgentsThinking));
|
|
815
|
+
}
|
|
816
|
+
function listAgentsThinkingFromJSON(jsonString) {
|
|
817
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListAgentsThinking$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListAgentsThinking' from JSON`);
|
|
818
|
+
}
|
|
819
|
+
/** @internal */
|
|
820
|
+
exports.ListAgentsToolChoiceType$inboundSchema = z.nativeEnum(exports.ListAgentsToolChoiceType);
|
|
821
|
+
/** @internal */
|
|
822
|
+
exports.ListAgentsToolChoiceType$outboundSchema = exports.ListAgentsToolChoiceType$inboundSchema;
|
|
823
|
+
/**
|
|
824
|
+
* @internal
|
|
825
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
826
|
+
*/
|
|
827
|
+
var ListAgentsToolChoiceType$;
|
|
828
|
+
(function (ListAgentsToolChoiceType$) {
|
|
829
|
+
/** @deprecated use `ListAgentsToolChoiceType$inboundSchema` instead. */
|
|
830
|
+
ListAgentsToolChoiceType$.inboundSchema = exports.ListAgentsToolChoiceType$inboundSchema;
|
|
831
|
+
/** @deprecated use `ListAgentsToolChoiceType$outboundSchema` instead. */
|
|
832
|
+
ListAgentsToolChoiceType$.outboundSchema = exports.ListAgentsToolChoiceType$outboundSchema;
|
|
833
|
+
})(ListAgentsToolChoiceType$ || (exports.ListAgentsToolChoiceType$ = ListAgentsToolChoiceType$ = {}));
|
|
834
|
+
/** @internal */
|
|
835
|
+
exports.ListAgentsToolChoiceFunction$inboundSchema = z.object({
|
|
836
|
+
name: z.string().optional(),
|
|
837
|
+
});
|
|
838
|
+
/** @internal */
|
|
839
|
+
exports.ListAgentsToolChoiceFunction$outboundSchema = z.object({
|
|
840
|
+
name: z.string().optional(),
|
|
841
|
+
});
|
|
842
|
+
/**
|
|
843
|
+
* @internal
|
|
844
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
845
|
+
*/
|
|
846
|
+
var ListAgentsToolChoiceFunction$;
|
|
847
|
+
(function (ListAgentsToolChoiceFunction$) {
|
|
848
|
+
/** @deprecated use `ListAgentsToolChoiceFunction$inboundSchema` instead. */
|
|
849
|
+
ListAgentsToolChoiceFunction$.inboundSchema = exports.ListAgentsToolChoiceFunction$inboundSchema;
|
|
850
|
+
/** @deprecated use `ListAgentsToolChoiceFunction$outboundSchema` instead. */
|
|
851
|
+
ListAgentsToolChoiceFunction$.outboundSchema = exports.ListAgentsToolChoiceFunction$outboundSchema;
|
|
852
|
+
})(ListAgentsToolChoiceFunction$ || (exports.ListAgentsToolChoiceFunction$ = ListAgentsToolChoiceFunction$ = {}));
|
|
853
|
+
function listAgentsToolChoiceFunctionToJSON(listAgentsToolChoiceFunction) {
|
|
854
|
+
return JSON.stringify(exports.ListAgentsToolChoiceFunction$outboundSchema.parse(listAgentsToolChoiceFunction));
|
|
855
|
+
}
|
|
856
|
+
function listAgentsToolChoiceFunctionFromJSON(jsonString) {
|
|
857
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListAgentsToolChoiceFunction$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListAgentsToolChoiceFunction' from JSON`);
|
|
858
|
+
}
|
|
859
|
+
/** @internal */
|
|
860
|
+
exports.ListAgentsToolChoice2$inboundSchema = z.object({
|
|
861
|
+
type: exports.ListAgentsToolChoiceType$inboundSchema.optional(),
|
|
862
|
+
function: z.lazy(() => exports.ListAgentsToolChoiceFunction$inboundSchema),
|
|
863
|
+
});
|
|
864
|
+
/** @internal */
|
|
865
|
+
exports.ListAgentsToolChoice2$outboundSchema = z.object({
|
|
866
|
+
type: exports.ListAgentsToolChoiceType$outboundSchema.optional(),
|
|
867
|
+
function: z.lazy(() => exports.ListAgentsToolChoiceFunction$outboundSchema),
|
|
868
|
+
});
|
|
869
|
+
/**
|
|
870
|
+
* @internal
|
|
871
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
872
|
+
*/
|
|
873
|
+
var ListAgentsToolChoice2$;
|
|
874
|
+
(function (ListAgentsToolChoice2$) {
|
|
875
|
+
/** @deprecated use `ListAgentsToolChoice2$inboundSchema` instead. */
|
|
876
|
+
ListAgentsToolChoice2$.inboundSchema = exports.ListAgentsToolChoice2$inboundSchema;
|
|
877
|
+
/** @deprecated use `ListAgentsToolChoice2$outboundSchema` instead. */
|
|
878
|
+
ListAgentsToolChoice2$.outboundSchema = exports.ListAgentsToolChoice2$outboundSchema;
|
|
879
|
+
})(ListAgentsToolChoice2$ || (exports.ListAgentsToolChoice2$ = ListAgentsToolChoice2$ = {}));
|
|
880
|
+
function listAgentsToolChoice2ToJSON(listAgentsToolChoice2) {
|
|
881
|
+
return JSON.stringify(exports.ListAgentsToolChoice2$outboundSchema.parse(listAgentsToolChoice2));
|
|
882
|
+
}
|
|
883
|
+
function listAgentsToolChoice2FromJSON(jsonString) {
|
|
884
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListAgentsToolChoice2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListAgentsToolChoice2' from JSON`);
|
|
885
|
+
}
|
|
886
|
+
/** @internal */
|
|
887
|
+
exports.ListAgentsToolChoice1$inboundSchema = z.nativeEnum(exports.ListAgentsToolChoice1);
|
|
888
|
+
/** @internal */
|
|
889
|
+
exports.ListAgentsToolChoice1$outboundSchema = exports.ListAgentsToolChoice1$inboundSchema;
|
|
890
|
+
/**
|
|
891
|
+
* @internal
|
|
892
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
893
|
+
*/
|
|
894
|
+
var ListAgentsToolChoice1$;
|
|
895
|
+
(function (ListAgentsToolChoice1$) {
|
|
896
|
+
/** @deprecated use `ListAgentsToolChoice1$inboundSchema` instead. */
|
|
897
|
+
ListAgentsToolChoice1$.inboundSchema = exports.ListAgentsToolChoice1$inboundSchema;
|
|
898
|
+
/** @deprecated use `ListAgentsToolChoice1$outboundSchema` instead. */
|
|
899
|
+
ListAgentsToolChoice1$.outboundSchema = exports.ListAgentsToolChoice1$outboundSchema;
|
|
900
|
+
})(ListAgentsToolChoice1$ || (exports.ListAgentsToolChoice1$ = ListAgentsToolChoice1$ = {}));
|
|
901
|
+
/** @internal */
|
|
902
|
+
exports.ListAgentsToolChoice$inboundSchema = z.union([
|
|
903
|
+
z.lazy(() => exports.ListAgentsToolChoice2$inboundSchema),
|
|
904
|
+
exports.ListAgentsToolChoice1$inboundSchema,
|
|
905
|
+
]);
|
|
906
|
+
/** @internal */
|
|
907
|
+
exports.ListAgentsToolChoice$outboundSchema = z.union([
|
|
908
|
+
z.lazy(() => exports.ListAgentsToolChoice2$outboundSchema),
|
|
909
|
+
exports.ListAgentsToolChoice1$outboundSchema,
|
|
910
|
+
]);
|
|
911
|
+
/**
|
|
912
|
+
* @internal
|
|
913
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
914
|
+
*/
|
|
915
|
+
var ListAgentsToolChoice$;
|
|
916
|
+
(function (ListAgentsToolChoice$) {
|
|
917
|
+
/** @deprecated use `ListAgentsToolChoice$inboundSchema` instead. */
|
|
918
|
+
ListAgentsToolChoice$.inboundSchema = exports.ListAgentsToolChoice$inboundSchema;
|
|
919
|
+
/** @deprecated use `ListAgentsToolChoice$outboundSchema` instead. */
|
|
920
|
+
ListAgentsToolChoice$.outboundSchema = exports.ListAgentsToolChoice$outboundSchema;
|
|
921
|
+
})(ListAgentsToolChoice$ || (exports.ListAgentsToolChoice$ = ListAgentsToolChoice$ = {}));
|
|
922
|
+
function listAgentsToolChoiceToJSON(listAgentsToolChoice) {
|
|
923
|
+
return JSON.stringify(exports.ListAgentsToolChoice$outboundSchema.parse(listAgentsToolChoice));
|
|
924
|
+
}
|
|
925
|
+
function listAgentsToolChoiceFromJSON(jsonString) {
|
|
926
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListAgentsToolChoice$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListAgentsToolChoice' from JSON`);
|
|
927
|
+
}
|
|
928
|
+
/** @internal */
|
|
929
|
+
exports.ListAgentsModalities$inboundSchema = z.nativeEnum(exports.ListAgentsModalities);
|
|
930
|
+
/** @internal */
|
|
931
|
+
exports.ListAgentsModalities$outboundSchema = exports.ListAgentsModalities$inboundSchema;
|
|
932
|
+
/**
|
|
933
|
+
* @internal
|
|
934
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
935
|
+
*/
|
|
936
|
+
var ListAgentsModalities$;
|
|
937
|
+
(function (ListAgentsModalities$) {
|
|
938
|
+
/** @deprecated use `ListAgentsModalities$inboundSchema` instead. */
|
|
939
|
+
ListAgentsModalities$.inboundSchema = exports.ListAgentsModalities$inboundSchema;
|
|
940
|
+
/** @deprecated use `ListAgentsModalities$outboundSchema` instead. */
|
|
941
|
+
ListAgentsModalities$.outboundSchema = exports.ListAgentsModalities$outboundSchema;
|
|
942
|
+
})(ListAgentsModalities$ || (exports.ListAgentsModalities$ = ListAgentsModalities$ = {}));
|
|
943
|
+
/** @internal */
|
|
944
|
+
exports.ListAgentsWebSearchOptions$inboundSchema = z.object({
|
|
945
|
+
enabled: z.boolean().optional(),
|
|
946
|
+
});
|
|
947
|
+
/** @internal */
|
|
948
|
+
exports.ListAgentsWebSearchOptions$outboundSchema = z.object({
|
|
949
|
+
enabled: z.boolean().optional(),
|
|
950
|
+
});
|
|
951
|
+
/**
|
|
952
|
+
* @internal
|
|
953
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
954
|
+
*/
|
|
955
|
+
var ListAgentsWebSearchOptions$;
|
|
956
|
+
(function (ListAgentsWebSearchOptions$) {
|
|
957
|
+
/** @deprecated use `ListAgentsWebSearchOptions$inboundSchema` instead. */
|
|
958
|
+
ListAgentsWebSearchOptions$.inboundSchema = exports.ListAgentsWebSearchOptions$inboundSchema;
|
|
959
|
+
/** @deprecated use `ListAgentsWebSearchOptions$outboundSchema` instead. */
|
|
960
|
+
ListAgentsWebSearchOptions$.outboundSchema = exports.ListAgentsWebSearchOptions$outboundSchema;
|
|
961
|
+
})(ListAgentsWebSearchOptions$ || (exports.ListAgentsWebSearchOptions$ = ListAgentsWebSearchOptions$ = {}));
|
|
962
|
+
function listAgentsWebSearchOptionsToJSON(listAgentsWebSearchOptions) {
|
|
963
|
+
return JSON.stringify(exports.ListAgentsWebSearchOptions$outboundSchema.parse(listAgentsWebSearchOptions));
|
|
964
|
+
}
|
|
965
|
+
function listAgentsWebSearchOptionsFromJSON(jsonString) {
|
|
966
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListAgentsWebSearchOptions$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListAgentsWebSearchOptions' from JSON`);
|
|
967
|
+
}
|
|
968
|
+
/** @internal */
|
|
969
|
+
exports.ListAgentsParameters$inboundSchema = z.object({
|
|
970
|
+
audio: z.nullable(z.lazy(() => exports.ListAgentsAudio$inboundSchema)).optional(),
|
|
971
|
+
frequency_penalty: z.nullable(z.number()).optional(),
|
|
972
|
+
max_tokens: z.nullable(z.number().int()).optional(),
|
|
973
|
+
max_completion_tokens: z.nullable(z.number().int()).optional(),
|
|
974
|
+
logprobs: z.nullable(z.boolean()).optional(),
|
|
975
|
+
top_logprobs: z.nullable(z.number().int()).optional(),
|
|
976
|
+
n: z.nullable(z.number().int()).optional(),
|
|
977
|
+
presence_penalty: z.nullable(z.number()).optional(),
|
|
978
|
+
response_format: z.union([
|
|
979
|
+
z.lazy(() => exports.ListAgentsResponseFormat3$inboundSchema),
|
|
980
|
+
z.lazy(() => exports.ListAgentsResponseFormat1$inboundSchema),
|
|
981
|
+
z.lazy(() => exports.ListAgentsResponseFormat2$inboundSchema),
|
|
982
|
+
]).optional(),
|
|
983
|
+
reasoning_effort: z.string().optional(),
|
|
984
|
+
verbosity: z.string().optional(),
|
|
985
|
+
seed: z.nullable(z.number()).optional(),
|
|
986
|
+
stop: z.nullable(z.union([z.string(), z.array(z.string())])).optional(),
|
|
987
|
+
stream_options: z.nullable(z.lazy(() => exports.ListAgentsStreamOptions$inboundSchema)).optional(),
|
|
988
|
+
thinking: z.lazy(() => exports.ListAgentsThinking$inboundSchema).optional(),
|
|
989
|
+
temperature: z.nullable(z.number()).optional(),
|
|
990
|
+
top_p: z.nullable(z.number()).optional(),
|
|
991
|
+
top_k: z.nullable(z.number()).optional(),
|
|
992
|
+
tool_choice: z.union([
|
|
993
|
+
z.lazy(() => exports.ListAgentsToolChoice2$inboundSchema),
|
|
994
|
+
exports.ListAgentsToolChoice1$inboundSchema,
|
|
995
|
+
]).optional(),
|
|
996
|
+
parallel_tool_calls: z.boolean().optional(),
|
|
997
|
+
modalities: z.nullable(z.array(exports.ListAgentsModalities$inboundSchema))
|
|
998
|
+
.optional(),
|
|
999
|
+
web_search_options: z.lazy(() => exports.ListAgentsWebSearchOptions$inboundSchema)
|
|
1000
|
+
.optional(),
|
|
1001
|
+
}).transform((v) => {
|
|
1002
|
+
return (0, primitives_js_1.remap)(v, {
|
|
1003
|
+
"frequency_penalty": "frequencyPenalty",
|
|
1004
|
+
"max_tokens": "maxTokens",
|
|
1005
|
+
"max_completion_tokens": "maxCompletionTokens",
|
|
1006
|
+
"top_logprobs": "topLogprobs",
|
|
1007
|
+
"presence_penalty": "presencePenalty",
|
|
1008
|
+
"response_format": "responseFormat",
|
|
1009
|
+
"reasoning_effort": "reasoningEffort",
|
|
1010
|
+
"stream_options": "streamOptions",
|
|
1011
|
+
"top_p": "topP",
|
|
1012
|
+
"top_k": "topK",
|
|
1013
|
+
"tool_choice": "toolChoice",
|
|
1014
|
+
"parallel_tool_calls": "parallelToolCalls",
|
|
1015
|
+
"web_search_options": "webSearchOptions",
|
|
1016
|
+
});
|
|
1017
|
+
});
|
|
1018
|
+
/** @internal */
|
|
1019
|
+
exports.ListAgentsParameters$outboundSchema = z.object({
|
|
1020
|
+
audio: z.nullable(z.lazy(() => exports.ListAgentsAudio$outboundSchema)).optional(),
|
|
1021
|
+
frequencyPenalty: z.nullable(z.number()).optional(),
|
|
1022
|
+
maxTokens: z.nullable(z.number().int()).optional(),
|
|
1023
|
+
maxCompletionTokens: z.nullable(z.number().int()).optional(),
|
|
1024
|
+
logprobs: z.nullable(z.boolean()).optional(),
|
|
1025
|
+
topLogprobs: z.nullable(z.number().int()).optional(),
|
|
1026
|
+
n: z.nullable(z.number().int()).optional(),
|
|
1027
|
+
presencePenalty: z.nullable(z.number()).optional(),
|
|
1028
|
+
responseFormat: z.union([
|
|
1029
|
+
z.lazy(() => exports.ListAgentsResponseFormat3$outboundSchema),
|
|
1030
|
+
z.lazy(() => exports.ListAgentsResponseFormat1$outboundSchema),
|
|
1031
|
+
z.lazy(() => exports.ListAgentsResponseFormat2$outboundSchema),
|
|
1032
|
+
]).optional(),
|
|
1033
|
+
reasoningEffort: z.string().optional(),
|
|
1034
|
+
verbosity: z.string().optional(),
|
|
1035
|
+
seed: z.nullable(z.number()).optional(),
|
|
1036
|
+
stop: z.nullable(z.union([z.string(), z.array(z.string())])).optional(),
|
|
1037
|
+
streamOptions: z.nullable(z.lazy(() => exports.ListAgentsStreamOptions$outboundSchema)).optional(),
|
|
1038
|
+
thinking: z.lazy(() => exports.ListAgentsThinking$outboundSchema).optional(),
|
|
1039
|
+
temperature: z.nullable(z.number()).optional(),
|
|
1040
|
+
topP: z.nullable(z.number()).optional(),
|
|
1041
|
+
topK: z.nullable(z.number()).optional(),
|
|
1042
|
+
toolChoice: z.union([
|
|
1043
|
+
z.lazy(() => exports.ListAgentsToolChoice2$outboundSchema),
|
|
1044
|
+
exports.ListAgentsToolChoice1$outboundSchema,
|
|
1045
|
+
]).optional(),
|
|
1046
|
+
parallelToolCalls: z.boolean().optional(),
|
|
1047
|
+
modalities: z.nullable(z.array(exports.ListAgentsModalities$outboundSchema))
|
|
1048
|
+
.optional(),
|
|
1049
|
+
webSearchOptions: z.lazy(() => exports.ListAgentsWebSearchOptions$outboundSchema)
|
|
1050
|
+
.optional(),
|
|
1051
|
+
}).transform((v) => {
|
|
1052
|
+
return (0, primitives_js_1.remap)(v, {
|
|
1053
|
+
frequencyPenalty: "frequency_penalty",
|
|
1054
|
+
maxTokens: "max_tokens",
|
|
1055
|
+
maxCompletionTokens: "max_completion_tokens",
|
|
1056
|
+
topLogprobs: "top_logprobs",
|
|
1057
|
+
presencePenalty: "presence_penalty",
|
|
1058
|
+
responseFormat: "response_format",
|
|
1059
|
+
reasoningEffort: "reasoning_effort",
|
|
1060
|
+
streamOptions: "stream_options",
|
|
1061
|
+
topP: "top_p",
|
|
1062
|
+
topK: "top_k",
|
|
1063
|
+
toolChoice: "tool_choice",
|
|
1064
|
+
parallelToolCalls: "parallel_tool_calls",
|
|
1065
|
+
webSearchOptions: "web_search_options",
|
|
1066
|
+
});
|
|
1067
|
+
});
|
|
1068
|
+
/**
|
|
1069
|
+
* @internal
|
|
1070
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1071
|
+
*/
|
|
1072
|
+
var ListAgentsParameters$;
|
|
1073
|
+
(function (ListAgentsParameters$) {
|
|
1074
|
+
/** @deprecated use `ListAgentsParameters$inboundSchema` instead. */
|
|
1075
|
+
ListAgentsParameters$.inboundSchema = exports.ListAgentsParameters$inboundSchema;
|
|
1076
|
+
/** @deprecated use `ListAgentsParameters$outboundSchema` instead. */
|
|
1077
|
+
ListAgentsParameters$.outboundSchema = exports.ListAgentsParameters$outboundSchema;
|
|
1078
|
+
})(ListAgentsParameters$ || (exports.ListAgentsParameters$ = ListAgentsParameters$ = {}));
|
|
1079
|
+
function listAgentsParametersToJSON(listAgentsParameters) {
|
|
1080
|
+
return JSON.stringify(exports.ListAgentsParameters$outboundSchema.parse(listAgentsParameters));
|
|
1081
|
+
}
|
|
1082
|
+
function listAgentsParametersFromJSON(jsonString) {
|
|
1083
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListAgentsParameters$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListAgentsParameters' from JSON`);
|
|
1084
|
+
}
|
|
1085
|
+
/** @internal */
|
|
1086
|
+
exports.ListAgentsFallbackModelsVoice$inboundSchema = z.nativeEnum(exports.ListAgentsFallbackModelsVoice);
|
|
1087
|
+
/** @internal */
|
|
1088
|
+
exports.ListAgentsFallbackModelsVoice$outboundSchema = exports.ListAgentsFallbackModelsVoice$inboundSchema;
|
|
1089
|
+
/**
|
|
1090
|
+
* @internal
|
|
1091
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1092
|
+
*/
|
|
1093
|
+
var ListAgentsFallbackModelsVoice$;
|
|
1094
|
+
(function (ListAgentsFallbackModelsVoice$) {
|
|
1095
|
+
/** @deprecated use `ListAgentsFallbackModelsVoice$inboundSchema` instead. */
|
|
1096
|
+
ListAgentsFallbackModelsVoice$.inboundSchema = exports.ListAgentsFallbackModelsVoice$inboundSchema;
|
|
1097
|
+
/** @deprecated use `ListAgentsFallbackModelsVoice$outboundSchema` instead. */
|
|
1098
|
+
ListAgentsFallbackModelsVoice$.outboundSchema = exports.ListAgentsFallbackModelsVoice$outboundSchema;
|
|
1099
|
+
})(ListAgentsFallbackModelsVoice$ || (exports.ListAgentsFallbackModelsVoice$ = ListAgentsFallbackModelsVoice$ = {}));
|
|
1100
|
+
/** @internal */
|
|
1101
|
+
exports.ListAgentsFallbackModelsFormat$inboundSchema = z.nativeEnum(exports.ListAgentsFallbackModelsFormat);
|
|
1102
|
+
/** @internal */
|
|
1103
|
+
exports.ListAgentsFallbackModelsFormat$outboundSchema = exports.ListAgentsFallbackModelsFormat$inboundSchema;
|
|
1104
|
+
/**
|
|
1105
|
+
* @internal
|
|
1106
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1107
|
+
*/
|
|
1108
|
+
var ListAgentsFallbackModelsFormat$;
|
|
1109
|
+
(function (ListAgentsFallbackModelsFormat$) {
|
|
1110
|
+
/** @deprecated use `ListAgentsFallbackModelsFormat$inboundSchema` instead. */
|
|
1111
|
+
ListAgentsFallbackModelsFormat$.inboundSchema = exports.ListAgentsFallbackModelsFormat$inboundSchema;
|
|
1112
|
+
/** @deprecated use `ListAgentsFallbackModelsFormat$outboundSchema` instead. */
|
|
1113
|
+
ListAgentsFallbackModelsFormat$.outboundSchema = exports.ListAgentsFallbackModelsFormat$outboundSchema;
|
|
1114
|
+
})(ListAgentsFallbackModelsFormat$ || (exports.ListAgentsFallbackModelsFormat$ = ListAgentsFallbackModelsFormat$ = {}));
|
|
1115
|
+
/** @internal */
|
|
1116
|
+
exports.ListAgentsFallbackModelsAudio$inboundSchema = z.object({
|
|
1117
|
+
voice: exports.ListAgentsFallbackModelsVoice$inboundSchema,
|
|
1118
|
+
format: exports.ListAgentsFallbackModelsFormat$inboundSchema,
|
|
1119
|
+
});
|
|
1120
|
+
/** @internal */
|
|
1121
|
+
exports.ListAgentsFallbackModelsAudio$outboundSchema = z.object({
|
|
1122
|
+
voice: exports.ListAgentsFallbackModelsVoice$outboundSchema,
|
|
1123
|
+
format: exports.ListAgentsFallbackModelsFormat$outboundSchema,
|
|
1124
|
+
});
|
|
1125
|
+
/**
|
|
1126
|
+
* @internal
|
|
1127
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1128
|
+
*/
|
|
1129
|
+
var ListAgentsFallbackModelsAudio$;
|
|
1130
|
+
(function (ListAgentsFallbackModelsAudio$) {
|
|
1131
|
+
/** @deprecated use `ListAgentsFallbackModelsAudio$inboundSchema` instead. */
|
|
1132
|
+
ListAgentsFallbackModelsAudio$.inboundSchema = exports.ListAgentsFallbackModelsAudio$inboundSchema;
|
|
1133
|
+
/** @deprecated use `ListAgentsFallbackModelsAudio$outboundSchema` instead. */
|
|
1134
|
+
ListAgentsFallbackModelsAudio$.outboundSchema = exports.ListAgentsFallbackModelsAudio$outboundSchema;
|
|
1135
|
+
})(ListAgentsFallbackModelsAudio$ || (exports.ListAgentsFallbackModelsAudio$ = ListAgentsFallbackModelsAudio$ = {}));
|
|
1136
|
+
function listAgentsFallbackModelsAudioToJSON(listAgentsFallbackModelsAudio) {
|
|
1137
|
+
return JSON.stringify(exports.ListAgentsFallbackModelsAudio$outboundSchema.parse(listAgentsFallbackModelsAudio));
|
|
1138
|
+
}
|
|
1139
|
+
function listAgentsFallbackModelsAudioFromJSON(jsonString) {
|
|
1140
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListAgentsFallbackModelsAudio$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListAgentsFallbackModelsAudio' from JSON`);
|
|
1141
|
+
}
|
|
1142
|
+
/** @internal */
|
|
1143
|
+
exports.ListAgentsResponseFormatAgentsResponse200ApplicationJSONResponseBodyType$inboundSchema = z.nativeEnum(exports.ListAgentsResponseFormatAgentsResponse200ApplicationJSONResponseBodyType);
|
|
1144
|
+
/** @internal */
|
|
1145
|
+
exports.ListAgentsResponseFormatAgentsResponse200ApplicationJSONResponseBodyType$outboundSchema = exports.ListAgentsResponseFormatAgentsResponse200ApplicationJSONResponseBodyType$inboundSchema;
|
|
1146
|
+
/**
|
|
1147
|
+
* @internal
|
|
1148
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1149
|
+
*/
|
|
1150
|
+
var ListAgentsResponseFormatAgentsResponse200ApplicationJSONResponseBodyType$;
|
|
1151
|
+
(function (ListAgentsResponseFormatAgentsResponse200ApplicationJSONResponseBodyType$) {
|
|
1152
|
+
/** @deprecated use `ListAgentsResponseFormatAgentsResponse200ApplicationJSONResponseBodyType$inboundSchema` instead. */
|
|
1153
|
+
ListAgentsResponseFormatAgentsResponse200ApplicationJSONResponseBodyType$.inboundSchema = exports.ListAgentsResponseFormatAgentsResponse200ApplicationJSONResponseBodyType$inboundSchema;
|
|
1154
|
+
/** @deprecated use `ListAgentsResponseFormatAgentsResponse200ApplicationJSONResponseBodyType$outboundSchema` instead. */
|
|
1155
|
+
ListAgentsResponseFormatAgentsResponse200ApplicationJSONResponseBodyType$.outboundSchema = exports.ListAgentsResponseFormatAgentsResponse200ApplicationJSONResponseBodyType$outboundSchema;
|
|
1156
|
+
})(ListAgentsResponseFormatAgentsResponse200ApplicationJSONResponseBodyType$ || (exports.ListAgentsResponseFormatAgentsResponse200ApplicationJSONResponseBodyType$ = ListAgentsResponseFormatAgentsResponse200ApplicationJSONResponseBodyType$ = {}));
|
|
1157
|
+
/** @internal */
|
|
1158
|
+
exports.ListAgentsResponseFormatAgentsJsonSchema$inboundSchema = z.object({
|
|
1159
|
+
description: z.string().optional(),
|
|
1160
|
+
name: z.string(),
|
|
1161
|
+
schema: z.any().optional(),
|
|
1162
|
+
strict: z.boolean().optional(),
|
|
1163
|
+
});
|
|
1164
|
+
/** @internal */
|
|
1165
|
+
exports.ListAgentsResponseFormatAgentsJsonSchema$outboundSchema = z.object({
|
|
1166
|
+
description: z.string().optional(),
|
|
1167
|
+
name: z.string(),
|
|
1168
|
+
schema: z.any().optional(),
|
|
1169
|
+
strict: z.boolean().optional(),
|
|
1170
|
+
});
|
|
1171
|
+
/**
|
|
1172
|
+
* @internal
|
|
1173
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1174
|
+
*/
|
|
1175
|
+
var ListAgentsResponseFormatAgentsJsonSchema$;
|
|
1176
|
+
(function (ListAgentsResponseFormatAgentsJsonSchema$) {
|
|
1177
|
+
/** @deprecated use `ListAgentsResponseFormatAgentsJsonSchema$inboundSchema` instead. */
|
|
1178
|
+
ListAgentsResponseFormatAgentsJsonSchema$.inboundSchema = exports.ListAgentsResponseFormatAgentsJsonSchema$inboundSchema;
|
|
1179
|
+
/** @deprecated use `ListAgentsResponseFormatAgentsJsonSchema$outboundSchema` instead. */
|
|
1180
|
+
ListAgentsResponseFormatAgentsJsonSchema$.outboundSchema = exports.ListAgentsResponseFormatAgentsJsonSchema$outboundSchema;
|
|
1181
|
+
})(ListAgentsResponseFormatAgentsJsonSchema$ || (exports.ListAgentsResponseFormatAgentsJsonSchema$ = ListAgentsResponseFormatAgentsJsonSchema$ = {}));
|
|
1182
|
+
function listAgentsResponseFormatAgentsJsonSchemaToJSON(listAgentsResponseFormatAgentsJsonSchema) {
|
|
1183
|
+
return JSON.stringify(exports.ListAgentsResponseFormatAgentsJsonSchema$outboundSchema.parse(listAgentsResponseFormatAgentsJsonSchema));
|
|
1184
|
+
}
|
|
1185
|
+
function listAgentsResponseFormatAgentsJsonSchemaFromJSON(jsonString) {
|
|
1186
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListAgentsResponseFormatAgentsJsonSchema$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListAgentsResponseFormatAgentsJsonSchema' from JSON`);
|
|
1187
|
+
}
|
|
1188
|
+
/** @internal */
|
|
1189
|
+
exports.ListAgentsResponseFormatAgents3$inboundSchema = z.object({
|
|
1190
|
+
type: exports.ListAgentsResponseFormatAgentsResponse200ApplicationJSONResponseBodyType$inboundSchema,
|
|
1191
|
+
json_schema: z.lazy(() => exports.ListAgentsResponseFormatAgentsJsonSchema$inboundSchema),
|
|
1192
|
+
}).transform((v) => {
|
|
1193
|
+
return (0, primitives_js_1.remap)(v, {
|
|
1194
|
+
"json_schema": "jsonSchema",
|
|
1195
|
+
});
|
|
1196
|
+
});
|
|
1197
|
+
/** @internal */
|
|
1198
|
+
exports.ListAgentsResponseFormatAgents3$outboundSchema = z.object({
|
|
1199
|
+
type: exports.ListAgentsResponseFormatAgentsResponse200ApplicationJSONResponseBodyType$outboundSchema,
|
|
1200
|
+
jsonSchema: z.lazy(() => exports.ListAgentsResponseFormatAgentsJsonSchema$outboundSchema),
|
|
1201
|
+
}).transform((v) => {
|
|
1202
|
+
return (0, primitives_js_1.remap)(v, {
|
|
1203
|
+
jsonSchema: "json_schema",
|
|
1204
|
+
});
|
|
1205
|
+
});
|
|
1206
|
+
/**
|
|
1207
|
+
* @internal
|
|
1208
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1209
|
+
*/
|
|
1210
|
+
var ListAgentsResponseFormatAgents3$;
|
|
1211
|
+
(function (ListAgentsResponseFormatAgents3$) {
|
|
1212
|
+
/** @deprecated use `ListAgentsResponseFormatAgents3$inboundSchema` instead. */
|
|
1213
|
+
ListAgentsResponseFormatAgents3$.inboundSchema = exports.ListAgentsResponseFormatAgents3$inboundSchema;
|
|
1214
|
+
/** @deprecated use `ListAgentsResponseFormatAgents3$outboundSchema` instead. */
|
|
1215
|
+
ListAgentsResponseFormatAgents3$.outboundSchema = exports.ListAgentsResponseFormatAgents3$outboundSchema;
|
|
1216
|
+
})(ListAgentsResponseFormatAgents3$ || (exports.ListAgentsResponseFormatAgents3$ = ListAgentsResponseFormatAgents3$ = {}));
|
|
1217
|
+
function listAgentsResponseFormatAgents3ToJSON(listAgentsResponseFormatAgents3) {
|
|
1218
|
+
return JSON.stringify(exports.ListAgentsResponseFormatAgents3$outboundSchema.parse(listAgentsResponseFormatAgents3));
|
|
1219
|
+
}
|
|
1220
|
+
function listAgentsResponseFormatAgents3FromJSON(jsonString) {
|
|
1221
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListAgentsResponseFormatAgents3$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListAgentsResponseFormatAgents3' from JSON`);
|
|
1222
|
+
}
|
|
1223
|
+
/** @internal */
|
|
1224
|
+
exports.ListAgentsResponseFormatAgentsResponse200ApplicationJSONType$inboundSchema = z.nativeEnum(exports.ListAgentsResponseFormatAgentsResponse200ApplicationJSONType);
|
|
1225
|
+
/** @internal */
|
|
1226
|
+
exports.ListAgentsResponseFormatAgentsResponse200ApplicationJSONType$outboundSchema = exports.ListAgentsResponseFormatAgentsResponse200ApplicationJSONType$inboundSchema;
|
|
1227
|
+
/**
|
|
1228
|
+
* @internal
|
|
1229
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1230
|
+
*/
|
|
1231
|
+
var ListAgentsResponseFormatAgentsResponse200ApplicationJSONType$;
|
|
1232
|
+
(function (ListAgentsResponseFormatAgentsResponse200ApplicationJSONType$) {
|
|
1233
|
+
/** @deprecated use `ListAgentsResponseFormatAgentsResponse200ApplicationJSONType$inboundSchema` instead. */
|
|
1234
|
+
ListAgentsResponseFormatAgentsResponse200ApplicationJSONType$.inboundSchema = exports.ListAgentsResponseFormatAgentsResponse200ApplicationJSONType$inboundSchema;
|
|
1235
|
+
/** @deprecated use `ListAgentsResponseFormatAgentsResponse200ApplicationJSONType$outboundSchema` instead. */
|
|
1236
|
+
ListAgentsResponseFormatAgentsResponse200ApplicationJSONType$.outboundSchema = exports.ListAgentsResponseFormatAgentsResponse200ApplicationJSONType$outboundSchema;
|
|
1237
|
+
})(ListAgentsResponseFormatAgentsResponse200ApplicationJSONType$ || (exports.ListAgentsResponseFormatAgentsResponse200ApplicationJSONType$ = ListAgentsResponseFormatAgentsResponse200ApplicationJSONType$ = {}));
|
|
1238
|
+
/** @internal */
|
|
1239
|
+
exports.ListAgentsResponseFormatAgents2$inboundSchema = z.object({
|
|
1240
|
+
type: exports.ListAgentsResponseFormatAgentsResponse200ApplicationJSONType$inboundSchema,
|
|
1241
|
+
});
|
|
1242
|
+
/** @internal */
|
|
1243
|
+
exports.ListAgentsResponseFormatAgents2$outboundSchema = z.object({
|
|
1244
|
+
type: exports.ListAgentsResponseFormatAgentsResponse200ApplicationJSONType$outboundSchema,
|
|
1245
|
+
});
|
|
1246
|
+
/**
|
|
1247
|
+
* @internal
|
|
1248
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1249
|
+
*/
|
|
1250
|
+
var ListAgentsResponseFormatAgents2$;
|
|
1251
|
+
(function (ListAgentsResponseFormatAgents2$) {
|
|
1252
|
+
/** @deprecated use `ListAgentsResponseFormatAgents2$inboundSchema` instead. */
|
|
1253
|
+
ListAgentsResponseFormatAgents2$.inboundSchema = exports.ListAgentsResponseFormatAgents2$inboundSchema;
|
|
1254
|
+
/** @deprecated use `ListAgentsResponseFormatAgents2$outboundSchema` instead. */
|
|
1255
|
+
ListAgentsResponseFormatAgents2$.outboundSchema = exports.ListAgentsResponseFormatAgents2$outboundSchema;
|
|
1256
|
+
})(ListAgentsResponseFormatAgents2$ || (exports.ListAgentsResponseFormatAgents2$ = ListAgentsResponseFormatAgents2$ = {}));
|
|
1257
|
+
function listAgentsResponseFormatAgents2ToJSON(listAgentsResponseFormatAgents2) {
|
|
1258
|
+
return JSON.stringify(exports.ListAgentsResponseFormatAgents2$outboundSchema.parse(listAgentsResponseFormatAgents2));
|
|
1259
|
+
}
|
|
1260
|
+
function listAgentsResponseFormatAgents2FromJSON(jsonString) {
|
|
1261
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListAgentsResponseFormatAgents2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListAgentsResponseFormatAgents2' from JSON`);
|
|
1262
|
+
}
|
|
1263
|
+
/** @internal */
|
|
1264
|
+
exports.ListAgentsResponseFormatAgentsResponse200Type$inboundSchema = z
|
|
1265
|
+
.nativeEnum(exports.ListAgentsResponseFormatAgentsResponse200Type);
|
|
1266
|
+
/** @internal */
|
|
1267
|
+
exports.ListAgentsResponseFormatAgentsResponse200Type$outboundSchema = exports.ListAgentsResponseFormatAgentsResponse200Type$inboundSchema;
|
|
1268
|
+
/**
|
|
1269
|
+
* @internal
|
|
1270
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1271
|
+
*/
|
|
1272
|
+
var ListAgentsResponseFormatAgentsResponse200Type$;
|
|
1273
|
+
(function (ListAgentsResponseFormatAgentsResponse200Type$) {
|
|
1274
|
+
/** @deprecated use `ListAgentsResponseFormatAgentsResponse200Type$inboundSchema` instead. */
|
|
1275
|
+
ListAgentsResponseFormatAgentsResponse200Type$.inboundSchema = exports.ListAgentsResponseFormatAgentsResponse200Type$inboundSchema;
|
|
1276
|
+
/** @deprecated use `ListAgentsResponseFormatAgentsResponse200Type$outboundSchema` instead. */
|
|
1277
|
+
ListAgentsResponseFormatAgentsResponse200Type$.outboundSchema = exports.ListAgentsResponseFormatAgentsResponse200Type$outboundSchema;
|
|
1278
|
+
})(ListAgentsResponseFormatAgentsResponse200Type$ || (exports.ListAgentsResponseFormatAgentsResponse200Type$ = ListAgentsResponseFormatAgentsResponse200Type$ = {}));
|
|
1279
|
+
/** @internal */
|
|
1280
|
+
exports.ListAgentsResponseFormatAgents1$inboundSchema = z.object({
|
|
1281
|
+
type: exports.ListAgentsResponseFormatAgentsResponse200Type$inboundSchema,
|
|
1282
|
+
});
|
|
1283
|
+
/** @internal */
|
|
1284
|
+
exports.ListAgentsResponseFormatAgents1$outboundSchema = z.object({
|
|
1285
|
+
type: exports.ListAgentsResponseFormatAgentsResponse200Type$outboundSchema,
|
|
1286
|
+
});
|
|
1287
|
+
/**
|
|
1288
|
+
* @internal
|
|
1289
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1290
|
+
*/
|
|
1291
|
+
var ListAgentsResponseFormatAgents1$;
|
|
1292
|
+
(function (ListAgentsResponseFormatAgents1$) {
|
|
1293
|
+
/** @deprecated use `ListAgentsResponseFormatAgents1$inboundSchema` instead. */
|
|
1294
|
+
ListAgentsResponseFormatAgents1$.inboundSchema = exports.ListAgentsResponseFormatAgents1$inboundSchema;
|
|
1295
|
+
/** @deprecated use `ListAgentsResponseFormatAgents1$outboundSchema` instead. */
|
|
1296
|
+
ListAgentsResponseFormatAgents1$.outboundSchema = exports.ListAgentsResponseFormatAgents1$outboundSchema;
|
|
1297
|
+
})(ListAgentsResponseFormatAgents1$ || (exports.ListAgentsResponseFormatAgents1$ = ListAgentsResponseFormatAgents1$ = {}));
|
|
1298
|
+
function listAgentsResponseFormatAgents1ToJSON(listAgentsResponseFormatAgents1) {
|
|
1299
|
+
return JSON.stringify(exports.ListAgentsResponseFormatAgents1$outboundSchema.parse(listAgentsResponseFormatAgents1));
|
|
1300
|
+
}
|
|
1301
|
+
function listAgentsResponseFormatAgents1FromJSON(jsonString) {
|
|
1302
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListAgentsResponseFormatAgents1$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListAgentsResponseFormatAgents1' from JSON`);
|
|
1303
|
+
}
|
|
1304
|
+
/** @internal */
|
|
1305
|
+
exports.ListAgentsFallbackModelsResponseFormat$inboundSchema = z.union([
|
|
1306
|
+
z.lazy(() => exports.ListAgentsResponseFormatAgents3$inboundSchema),
|
|
1307
|
+
z.lazy(() => exports.ListAgentsResponseFormatAgents1$inboundSchema),
|
|
1308
|
+
z.lazy(() => exports.ListAgentsResponseFormatAgents2$inboundSchema),
|
|
1309
|
+
]);
|
|
1310
|
+
/** @internal */
|
|
1311
|
+
exports.ListAgentsFallbackModelsResponseFormat$outboundSchema = z.union([
|
|
1312
|
+
z.lazy(() => exports.ListAgentsResponseFormatAgents3$outboundSchema),
|
|
1313
|
+
z.lazy(() => exports.ListAgentsResponseFormatAgents1$outboundSchema),
|
|
1314
|
+
z.lazy(() => exports.ListAgentsResponseFormatAgents2$outboundSchema),
|
|
1315
|
+
]);
|
|
1316
|
+
/**
|
|
1317
|
+
* @internal
|
|
1318
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1319
|
+
*/
|
|
1320
|
+
var ListAgentsFallbackModelsResponseFormat$;
|
|
1321
|
+
(function (ListAgentsFallbackModelsResponseFormat$) {
|
|
1322
|
+
/** @deprecated use `ListAgentsFallbackModelsResponseFormat$inboundSchema` instead. */
|
|
1323
|
+
ListAgentsFallbackModelsResponseFormat$.inboundSchema = exports.ListAgentsFallbackModelsResponseFormat$inboundSchema;
|
|
1324
|
+
/** @deprecated use `ListAgentsFallbackModelsResponseFormat$outboundSchema` instead. */
|
|
1325
|
+
ListAgentsFallbackModelsResponseFormat$.outboundSchema = exports.ListAgentsFallbackModelsResponseFormat$outboundSchema;
|
|
1326
|
+
})(ListAgentsFallbackModelsResponseFormat$ || (exports.ListAgentsFallbackModelsResponseFormat$ = ListAgentsFallbackModelsResponseFormat$ = {}));
|
|
1327
|
+
function listAgentsFallbackModelsResponseFormatToJSON(listAgentsFallbackModelsResponseFormat) {
|
|
1328
|
+
return JSON.stringify(exports.ListAgentsFallbackModelsResponseFormat$outboundSchema.parse(listAgentsFallbackModelsResponseFormat));
|
|
1329
|
+
}
|
|
1330
|
+
function listAgentsFallbackModelsResponseFormatFromJSON(jsonString) {
|
|
1331
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListAgentsFallbackModelsResponseFormat$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListAgentsFallbackModelsResponseFormat' from JSON`);
|
|
1332
|
+
}
|
|
1333
|
+
/** @internal */
|
|
1334
|
+
exports.ListAgentsFallbackModelsStop$inboundSchema = z.union([z.string(), z.array(z.string())]);
|
|
1335
|
+
/** @internal */
|
|
1336
|
+
exports.ListAgentsFallbackModelsStop$outboundSchema = z.union([z.string(), z.array(z.string())]);
|
|
1337
|
+
/**
|
|
1338
|
+
* @internal
|
|
1339
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1340
|
+
*/
|
|
1341
|
+
var ListAgentsFallbackModelsStop$;
|
|
1342
|
+
(function (ListAgentsFallbackModelsStop$) {
|
|
1343
|
+
/** @deprecated use `ListAgentsFallbackModelsStop$inboundSchema` instead. */
|
|
1344
|
+
ListAgentsFallbackModelsStop$.inboundSchema = exports.ListAgentsFallbackModelsStop$inboundSchema;
|
|
1345
|
+
/** @deprecated use `ListAgentsFallbackModelsStop$outboundSchema` instead. */
|
|
1346
|
+
ListAgentsFallbackModelsStop$.outboundSchema = exports.ListAgentsFallbackModelsStop$outboundSchema;
|
|
1347
|
+
})(ListAgentsFallbackModelsStop$ || (exports.ListAgentsFallbackModelsStop$ = ListAgentsFallbackModelsStop$ = {}));
|
|
1348
|
+
function listAgentsFallbackModelsStopToJSON(listAgentsFallbackModelsStop) {
|
|
1349
|
+
return JSON.stringify(exports.ListAgentsFallbackModelsStop$outboundSchema.parse(listAgentsFallbackModelsStop));
|
|
1350
|
+
}
|
|
1351
|
+
function listAgentsFallbackModelsStopFromJSON(jsonString) {
|
|
1352
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListAgentsFallbackModelsStop$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListAgentsFallbackModelsStop' from JSON`);
|
|
1353
|
+
}
|
|
1354
|
+
/** @internal */
|
|
1355
|
+
exports.ListAgentsFallbackModelsStreamOptions$inboundSchema = z.object({
|
|
1356
|
+
include_usage: z.boolean().optional(),
|
|
1357
|
+
}).transform((v) => {
|
|
1358
|
+
return (0, primitives_js_1.remap)(v, {
|
|
1359
|
+
"include_usage": "includeUsage",
|
|
1360
|
+
});
|
|
1361
|
+
});
|
|
1362
|
+
/** @internal */
|
|
1363
|
+
exports.ListAgentsFallbackModelsStreamOptions$outboundSchema = z.object({
|
|
1364
|
+
includeUsage: z.boolean().optional(),
|
|
1365
|
+
}).transform((v) => {
|
|
1366
|
+
return (0, primitives_js_1.remap)(v, {
|
|
1367
|
+
includeUsage: "include_usage",
|
|
1368
|
+
});
|
|
1369
|
+
});
|
|
1370
|
+
/**
|
|
1371
|
+
* @internal
|
|
1372
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1373
|
+
*/
|
|
1374
|
+
var ListAgentsFallbackModelsStreamOptions$;
|
|
1375
|
+
(function (ListAgentsFallbackModelsStreamOptions$) {
|
|
1376
|
+
/** @deprecated use `ListAgentsFallbackModelsStreamOptions$inboundSchema` instead. */
|
|
1377
|
+
ListAgentsFallbackModelsStreamOptions$.inboundSchema = exports.ListAgentsFallbackModelsStreamOptions$inboundSchema;
|
|
1378
|
+
/** @deprecated use `ListAgentsFallbackModelsStreamOptions$outboundSchema` instead. */
|
|
1379
|
+
ListAgentsFallbackModelsStreamOptions$.outboundSchema = exports.ListAgentsFallbackModelsStreamOptions$outboundSchema;
|
|
1380
|
+
})(ListAgentsFallbackModelsStreamOptions$ || (exports.ListAgentsFallbackModelsStreamOptions$ = ListAgentsFallbackModelsStreamOptions$ = {}));
|
|
1381
|
+
function listAgentsFallbackModelsStreamOptionsToJSON(listAgentsFallbackModelsStreamOptions) {
|
|
1382
|
+
return JSON.stringify(exports.ListAgentsFallbackModelsStreamOptions$outboundSchema.parse(listAgentsFallbackModelsStreamOptions));
|
|
1383
|
+
}
|
|
1384
|
+
function listAgentsFallbackModelsStreamOptionsFromJSON(jsonString) {
|
|
1385
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListAgentsFallbackModelsStreamOptions$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListAgentsFallbackModelsStreamOptions' from JSON`);
|
|
1386
|
+
}
|
|
1387
|
+
/** @internal */
|
|
1388
|
+
exports.ListAgentsFallbackModelsType$inboundSchema = z.nativeEnum(exports.ListAgentsFallbackModelsType);
|
|
1389
|
+
/** @internal */
|
|
1390
|
+
exports.ListAgentsFallbackModelsType$outboundSchema = exports.ListAgentsFallbackModelsType$inboundSchema;
|
|
1391
|
+
/**
|
|
1392
|
+
* @internal
|
|
1393
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1394
|
+
*/
|
|
1395
|
+
var ListAgentsFallbackModelsType$;
|
|
1396
|
+
(function (ListAgentsFallbackModelsType$) {
|
|
1397
|
+
/** @deprecated use `ListAgentsFallbackModelsType$inboundSchema` instead. */
|
|
1398
|
+
ListAgentsFallbackModelsType$.inboundSchema = exports.ListAgentsFallbackModelsType$inboundSchema;
|
|
1399
|
+
/** @deprecated use `ListAgentsFallbackModelsType$outboundSchema` instead. */
|
|
1400
|
+
ListAgentsFallbackModelsType$.outboundSchema = exports.ListAgentsFallbackModelsType$outboundSchema;
|
|
1401
|
+
})(ListAgentsFallbackModelsType$ || (exports.ListAgentsFallbackModelsType$ = ListAgentsFallbackModelsType$ = {}));
|
|
1402
|
+
/** @internal */
|
|
1403
|
+
exports.ListAgentsFallbackModelsThinking$inboundSchema = z.object({
|
|
1404
|
+
type: exports.ListAgentsFallbackModelsType$inboundSchema,
|
|
1405
|
+
budget_tokens: z.number(),
|
|
1406
|
+
}).transform((v) => {
|
|
1407
|
+
return (0, primitives_js_1.remap)(v, {
|
|
1408
|
+
"budget_tokens": "budgetTokens",
|
|
1409
|
+
});
|
|
1410
|
+
});
|
|
1411
|
+
/** @internal */
|
|
1412
|
+
exports.ListAgentsFallbackModelsThinking$outboundSchema = z.object({
|
|
1413
|
+
type: exports.ListAgentsFallbackModelsType$outboundSchema,
|
|
1414
|
+
budgetTokens: z.number(),
|
|
1415
|
+
}).transform((v) => {
|
|
1416
|
+
return (0, primitives_js_1.remap)(v, {
|
|
1417
|
+
budgetTokens: "budget_tokens",
|
|
1418
|
+
});
|
|
1419
|
+
});
|
|
1420
|
+
/**
|
|
1421
|
+
* @internal
|
|
1422
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1423
|
+
*/
|
|
1424
|
+
var ListAgentsFallbackModelsThinking$;
|
|
1425
|
+
(function (ListAgentsFallbackModelsThinking$) {
|
|
1426
|
+
/** @deprecated use `ListAgentsFallbackModelsThinking$inboundSchema` instead. */
|
|
1427
|
+
ListAgentsFallbackModelsThinking$.inboundSchema = exports.ListAgentsFallbackModelsThinking$inboundSchema;
|
|
1428
|
+
/** @deprecated use `ListAgentsFallbackModelsThinking$outboundSchema` instead. */
|
|
1429
|
+
ListAgentsFallbackModelsThinking$.outboundSchema = exports.ListAgentsFallbackModelsThinking$outboundSchema;
|
|
1430
|
+
})(ListAgentsFallbackModelsThinking$ || (exports.ListAgentsFallbackModelsThinking$ = ListAgentsFallbackModelsThinking$ = {}));
|
|
1431
|
+
function listAgentsFallbackModelsThinkingToJSON(listAgentsFallbackModelsThinking) {
|
|
1432
|
+
return JSON.stringify(exports.ListAgentsFallbackModelsThinking$outboundSchema.parse(listAgentsFallbackModelsThinking));
|
|
1433
|
+
}
|
|
1434
|
+
function listAgentsFallbackModelsThinkingFromJSON(jsonString) {
|
|
1435
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListAgentsFallbackModelsThinking$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListAgentsFallbackModelsThinking' from JSON`);
|
|
1436
|
+
}
|
|
1437
|
+
/** @internal */
|
|
1438
|
+
exports.ListAgentsToolChoiceAgentsType$inboundSchema = z.nativeEnum(exports.ListAgentsToolChoiceAgentsType);
|
|
1439
|
+
/** @internal */
|
|
1440
|
+
exports.ListAgentsToolChoiceAgentsType$outboundSchema = exports.ListAgentsToolChoiceAgentsType$inboundSchema;
|
|
1441
|
+
/**
|
|
1442
|
+
* @internal
|
|
1443
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1444
|
+
*/
|
|
1445
|
+
var ListAgentsToolChoiceAgentsType$;
|
|
1446
|
+
(function (ListAgentsToolChoiceAgentsType$) {
|
|
1447
|
+
/** @deprecated use `ListAgentsToolChoiceAgentsType$inboundSchema` instead. */
|
|
1448
|
+
ListAgentsToolChoiceAgentsType$.inboundSchema = exports.ListAgentsToolChoiceAgentsType$inboundSchema;
|
|
1449
|
+
/** @deprecated use `ListAgentsToolChoiceAgentsType$outboundSchema` instead. */
|
|
1450
|
+
ListAgentsToolChoiceAgentsType$.outboundSchema = exports.ListAgentsToolChoiceAgentsType$outboundSchema;
|
|
1451
|
+
})(ListAgentsToolChoiceAgentsType$ || (exports.ListAgentsToolChoiceAgentsType$ = ListAgentsToolChoiceAgentsType$ = {}));
|
|
1452
|
+
/** @internal */
|
|
1453
|
+
exports.ListAgentsToolChoiceAgentsFunction$inboundSchema = z.object({
|
|
1454
|
+
name: z.string().optional(),
|
|
1455
|
+
});
|
|
1456
|
+
/** @internal */
|
|
1457
|
+
exports.ListAgentsToolChoiceAgentsFunction$outboundSchema = z.object({
|
|
1458
|
+
name: z.string().optional(),
|
|
1459
|
+
});
|
|
1460
|
+
/**
|
|
1461
|
+
* @internal
|
|
1462
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1463
|
+
*/
|
|
1464
|
+
var ListAgentsToolChoiceAgentsFunction$;
|
|
1465
|
+
(function (ListAgentsToolChoiceAgentsFunction$) {
|
|
1466
|
+
/** @deprecated use `ListAgentsToolChoiceAgentsFunction$inboundSchema` instead. */
|
|
1467
|
+
ListAgentsToolChoiceAgentsFunction$.inboundSchema = exports.ListAgentsToolChoiceAgentsFunction$inboundSchema;
|
|
1468
|
+
/** @deprecated use `ListAgentsToolChoiceAgentsFunction$outboundSchema` instead. */
|
|
1469
|
+
ListAgentsToolChoiceAgentsFunction$.outboundSchema = exports.ListAgentsToolChoiceAgentsFunction$outboundSchema;
|
|
1470
|
+
})(ListAgentsToolChoiceAgentsFunction$ || (exports.ListAgentsToolChoiceAgentsFunction$ = ListAgentsToolChoiceAgentsFunction$ = {}));
|
|
1471
|
+
function listAgentsToolChoiceAgentsFunctionToJSON(listAgentsToolChoiceAgentsFunction) {
|
|
1472
|
+
return JSON.stringify(exports.ListAgentsToolChoiceAgentsFunction$outboundSchema.parse(listAgentsToolChoiceAgentsFunction));
|
|
1473
|
+
}
|
|
1474
|
+
function listAgentsToolChoiceAgentsFunctionFromJSON(jsonString) {
|
|
1475
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListAgentsToolChoiceAgentsFunction$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListAgentsToolChoiceAgentsFunction' from JSON`);
|
|
1476
|
+
}
|
|
1477
|
+
/** @internal */
|
|
1478
|
+
exports.ListAgentsToolChoiceAgents2$inboundSchema = z.object({
|
|
1479
|
+
type: exports.ListAgentsToolChoiceAgentsType$inboundSchema.optional(),
|
|
1480
|
+
function: z.lazy(() => exports.ListAgentsToolChoiceAgentsFunction$inboundSchema),
|
|
1481
|
+
});
|
|
1482
|
+
/** @internal */
|
|
1483
|
+
exports.ListAgentsToolChoiceAgents2$outboundSchema = z.object({
|
|
1484
|
+
type: exports.ListAgentsToolChoiceAgentsType$outboundSchema.optional(),
|
|
1485
|
+
function: z.lazy(() => exports.ListAgentsToolChoiceAgentsFunction$outboundSchema),
|
|
1486
|
+
});
|
|
1487
|
+
/**
|
|
1488
|
+
* @internal
|
|
1489
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1490
|
+
*/
|
|
1491
|
+
var ListAgentsToolChoiceAgents2$;
|
|
1492
|
+
(function (ListAgentsToolChoiceAgents2$) {
|
|
1493
|
+
/** @deprecated use `ListAgentsToolChoiceAgents2$inboundSchema` instead. */
|
|
1494
|
+
ListAgentsToolChoiceAgents2$.inboundSchema = exports.ListAgentsToolChoiceAgents2$inboundSchema;
|
|
1495
|
+
/** @deprecated use `ListAgentsToolChoiceAgents2$outboundSchema` instead. */
|
|
1496
|
+
ListAgentsToolChoiceAgents2$.outboundSchema = exports.ListAgentsToolChoiceAgents2$outboundSchema;
|
|
1497
|
+
})(ListAgentsToolChoiceAgents2$ || (exports.ListAgentsToolChoiceAgents2$ = ListAgentsToolChoiceAgents2$ = {}));
|
|
1498
|
+
function listAgentsToolChoiceAgents2ToJSON(listAgentsToolChoiceAgents2) {
|
|
1499
|
+
return JSON.stringify(exports.ListAgentsToolChoiceAgents2$outboundSchema.parse(listAgentsToolChoiceAgents2));
|
|
1500
|
+
}
|
|
1501
|
+
function listAgentsToolChoiceAgents2FromJSON(jsonString) {
|
|
1502
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListAgentsToolChoiceAgents2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListAgentsToolChoiceAgents2' from JSON`);
|
|
1503
|
+
}
|
|
1504
|
+
/** @internal */
|
|
1505
|
+
exports.ListAgentsToolChoiceAgents1$inboundSchema = z.nativeEnum(exports.ListAgentsToolChoiceAgents1);
|
|
1506
|
+
/** @internal */
|
|
1507
|
+
exports.ListAgentsToolChoiceAgents1$outboundSchema = exports.ListAgentsToolChoiceAgents1$inboundSchema;
|
|
1508
|
+
/**
|
|
1509
|
+
* @internal
|
|
1510
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1511
|
+
*/
|
|
1512
|
+
var ListAgentsToolChoiceAgents1$;
|
|
1513
|
+
(function (ListAgentsToolChoiceAgents1$) {
|
|
1514
|
+
/** @deprecated use `ListAgentsToolChoiceAgents1$inboundSchema` instead. */
|
|
1515
|
+
ListAgentsToolChoiceAgents1$.inboundSchema = exports.ListAgentsToolChoiceAgents1$inboundSchema;
|
|
1516
|
+
/** @deprecated use `ListAgentsToolChoiceAgents1$outboundSchema` instead. */
|
|
1517
|
+
ListAgentsToolChoiceAgents1$.outboundSchema = exports.ListAgentsToolChoiceAgents1$outboundSchema;
|
|
1518
|
+
})(ListAgentsToolChoiceAgents1$ || (exports.ListAgentsToolChoiceAgents1$ = ListAgentsToolChoiceAgents1$ = {}));
|
|
1519
|
+
/** @internal */
|
|
1520
|
+
exports.ListAgentsFallbackModelsToolChoice$inboundSchema = z.union([
|
|
1521
|
+
z.lazy(() => exports.ListAgentsToolChoiceAgents2$inboundSchema),
|
|
1522
|
+
exports.ListAgentsToolChoiceAgents1$inboundSchema,
|
|
1523
|
+
]);
|
|
1524
|
+
/** @internal */
|
|
1525
|
+
exports.ListAgentsFallbackModelsToolChoice$outboundSchema = z.union([
|
|
1526
|
+
z.lazy(() => exports.ListAgentsToolChoiceAgents2$outboundSchema),
|
|
1527
|
+
exports.ListAgentsToolChoiceAgents1$outboundSchema,
|
|
1528
|
+
]);
|
|
1529
|
+
/**
|
|
1530
|
+
* @internal
|
|
1531
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1532
|
+
*/
|
|
1533
|
+
var ListAgentsFallbackModelsToolChoice$;
|
|
1534
|
+
(function (ListAgentsFallbackModelsToolChoice$) {
|
|
1535
|
+
/** @deprecated use `ListAgentsFallbackModelsToolChoice$inboundSchema` instead. */
|
|
1536
|
+
ListAgentsFallbackModelsToolChoice$.inboundSchema = exports.ListAgentsFallbackModelsToolChoice$inboundSchema;
|
|
1537
|
+
/** @deprecated use `ListAgentsFallbackModelsToolChoice$outboundSchema` instead. */
|
|
1538
|
+
ListAgentsFallbackModelsToolChoice$.outboundSchema = exports.ListAgentsFallbackModelsToolChoice$outboundSchema;
|
|
1539
|
+
})(ListAgentsFallbackModelsToolChoice$ || (exports.ListAgentsFallbackModelsToolChoice$ = ListAgentsFallbackModelsToolChoice$ = {}));
|
|
1540
|
+
function listAgentsFallbackModelsToolChoiceToJSON(listAgentsFallbackModelsToolChoice) {
|
|
1541
|
+
return JSON.stringify(exports.ListAgentsFallbackModelsToolChoice$outboundSchema.parse(listAgentsFallbackModelsToolChoice));
|
|
1542
|
+
}
|
|
1543
|
+
function listAgentsFallbackModelsToolChoiceFromJSON(jsonString) {
|
|
1544
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListAgentsFallbackModelsToolChoice$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListAgentsFallbackModelsToolChoice' from JSON`);
|
|
1545
|
+
}
|
|
1546
|
+
/** @internal */
|
|
1547
|
+
exports.ListAgentsFallbackModelsModalities$inboundSchema = z.nativeEnum(exports.ListAgentsFallbackModelsModalities);
|
|
1548
|
+
/** @internal */
|
|
1549
|
+
exports.ListAgentsFallbackModelsModalities$outboundSchema = exports.ListAgentsFallbackModelsModalities$inboundSchema;
|
|
1550
|
+
/**
|
|
1551
|
+
* @internal
|
|
1552
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1553
|
+
*/
|
|
1554
|
+
var ListAgentsFallbackModelsModalities$;
|
|
1555
|
+
(function (ListAgentsFallbackModelsModalities$) {
|
|
1556
|
+
/** @deprecated use `ListAgentsFallbackModelsModalities$inboundSchema` instead. */
|
|
1557
|
+
ListAgentsFallbackModelsModalities$.inboundSchema = exports.ListAgentsFallbackModelsModalities$inboundSchema;
|
|
1558
|
+
/** @deprecated use `ListAgentsFallbackModelsModalities$outboundSchema` instead. */
|
|
1559
|
+
ListAgentsFallbackModelsModalities$.outboundSchema = exports.ListAgentsFallbackModelsModalities$outboundSchema;
|
|
1560
|
+
})(ListAgentsFallbackModelsModalities$ || (exports.ListAgentsFallbackModelsModalities$ = ListAgentsFallbackModelsModalities$ = {}));
|
|
1561
|
+
/** @internal */
|
|
1562
|
+
exports.ListAgentsFallbackModelsWebSearchOptions$inboundSchema = z.object({
|
|
1563
|
+
enabled: z.boolean().optional(),
|
|
1564
|
+
});
|
|
1565
|
+
/** @internal */
|
|
1566
|
+
exports.ListAgentsFallbackModelsWebSearchOptions$outboundSchema = z.object({
|
|
1567
|
+
enabled: z.boolean().optional(),
|
|
1568
|
+
});
|
|
1569
|
+
/**
|
|
1570
|
+
* @internal
|
|
1571
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1572
|
+
*/
|
|
1573
|
+
var ListAgentsFallbackModelsWebSearchOptions$;
|
|
1574
|
+
(function (ListAgentsFallbackModelsWebSearchOptions$) {
|
|
1575
|
+
/** @deprecated use `ListAgentsFallbackModelsWebSearchOptions$inboundSchema` instead. */
|
|
1576
|
+
ListAgentsFallbackModelsWebSearchOptions$.inboundSchema = exports.ListAgentsFallbackModelsWebSearchOptions$inboundSchema;
|
|
1577
|
+
/** @deprecated use `ListAgentsFallbackModelsWebSearchOptions$outboundSchema` instead. */
|
|
1578
|
+
ListAgentsFallbackModelsWebSearchOptions$.outboundSchema = exports.ListAgentsFallbackModelsWebSearchOptions$outboundSchema;
|
|
1579
|
+
})(ListAgentsFallbackModelsWebSearchOptions$ || (exports.ListAgentsFallbackModelsWebSearchOptions$ = ListAgentsFallbackModelsWebSearchOptions$ = {}));
|
|
1580
|
+
function listAgentsFallbackModelsWebSearchOptionsToJSON(listAgentsFallbackModelsWebSearchOptions) {
|
|
1581
|
+
return JSON.stringify(exports.ListAgentsFallbackModelsWebSearchOptions$outboundSchema.parse(listAgentsFallbackModelsWebSearchOptions));
|
|
1582
|
+
}
|
|
1583
|
+
function listAgentsFallbackModelsWebSearchOptionsFromJSON(jsonString) {
|
|
1584
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListAgentsFallbackModelsWebSearchOptions$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListAgentsFallbackModelsWebSearchOptions' from JSON`);
|
|
1585
|
+
}
|
|
1586
|
+
/** @internal */
|
|
1587
|
+
exports.ListAgentsFallbackModelsParameters$inboundSchema = z.object({
|
|
1588
|
+
audio: z.nullable(z.lazy(() => exports.ListAgentsFallbackModelsAudio$inboundSchema))
|
|
1589
|
+
.optional(),
|
|
1590
|
+
frequency_penalty: z.nullable(z.number()).optional(),
|
|
1591
|
+
max_tokens: z.nullable(z.number().int()).optional(),
|
|
1592
|
+
max_completion_tokens: z.nullable(z.number().int()).optional(),
|
|
1593
|
+
logprobs: z.nullable(z.boolean()).optional(),
|
|
1594
|
+
top_logprobs: z.nullable(z.number().int()).optional(),
|
|
1595
|
+
n: z.nullable(z.number().int()).optional(),
|
|
1596
|
+
presence_penalty: z.nullable(z.number()).optional(),
|
|
1597
|
+
response_format: z.union([
|
|
1598
|
+
z.lazy(() => exports.ListAgentsResponseFormatAgents3$inboundSchema),
|
|
1599
|
+
z.lazy(() => exports.ListAgentsResponseFormatAgents1$inboundSchema),
|
|
1600
|
+
z.lazy(() => exports.ListAgentsResponseFormatAgents2$inboundSchema),
|
|
1601
|
+
]).optional(),
|
|
1602
|
+
reasoning_effort: z.string().optional(),
|
|
1603
|
+
verbosity: z.string().optional(),
|
|
1604
|
+
seed: z.nullable(z.number()).optional(),
|
|
1605
|
+
stop: z.nullable(z.union([z.string(), z.array(z.string())])).optional(),
|
|
1606
|
+
stream_options: z.nullable(z.lazy(() => exports.ListAgentsFallbackModelsStreamOptions$inboundSchema)).optional(),
|
|
1607
|
+
thinking: z.lazy(() => exports.ListAgentsFallbackModelsThinking$inboundSchema)
|
|
1608
|
+
.optional(),
|
|
1609
|
+
temperature: z.nullable(z.number()).optional(),
|
|
1610
|
+
top_p: z.nullable(z.number()).optional(),
|
|
1611
|
+
top_k: z.nullable(z.number()).optional(),
|
|
1612
|
+
tool_choice: z.union([
|
|
1613
|
+
z.lazy(() => exports.ListAgentsToolChoiceAgents2$inboundSchema),
|
|
1614
|
+
exports.ListAgentsToolChoiceAgents1$inboundSchema,
|
|
1615
|
+
]).optional(),
|
|
1616
|
+
parallel_tool_calls: z.boolean().optional(),
|
|
1617
|
+
modalities: z.nullable(z.array(exports.ListAgentsFallbackModelsModalities$inboundSchema)).optional(),
|
|
1618
|
+
web_search_options: z.lazy(() => exports.ListAgentsFallbackModelsWebSearchOptions$inboundSchema).optional(),
|
|
1619
|
+
}).transform((v) => {
|
|
1620
|
+
return (0, primitives_js_1.remap)(v, {
|
|
1621
|
+
"frequency_penalty": "frequencyPenalty",
|
|
1622
|
+
"max_tokens": "maxTokens",
|
|
1623
|
+
"max_completion_tokens": "maxCompletionTokens",
|
|
1624
|
+
"top_logprobs": "topLogprobs",
|
|
1625
|
+
"presence_penalty": "presencePenalty",
|
|
1626
|
+
"response_format": "responseFormat",
|
|
1627
|
+
"reasoning_effort": "reasoningEffort",
|
|
1628
|
+
"stream_options": "streamOptions",
|
|
1629
|
+
"top_p": "topP",
|
|
1630
|
+
"top_k": "topK",
|
|
1631
|
+
"tool_choice": "toolChoice",
|
|
1632
|
+
"parallel_tool_calls": "parallelToolCalls",
|
|
1633
|
+
"web_search_options": "webSearchOptions",
|
|
1634
|
+
});
|
|
1635
|
+
});
|
|
1636
|
+
/** @internal */
|
|
1637
|
+
exports.ListAgentsFallbackModelsParameters$outboundSchema = z.object({
|
|
1638
|
+
audio: z.nullable(z.lazy(() => exports.ListAgentsFallbackModelsAudio$outboundSchema))
|
|
1639
|
+
.optional(),
|
|
1640
|
+
frequencyPenalty: z.nullable(z.number()).optional(),
|
|
1641
|
+
maxTokens: z.nullable(z.number().int()).optional(),
|
|
1642
|
+
maxCompletionTokens: z.nullable(z.number().int()).optional(),
|
|
1643
|
+
logprobs: z.nullable(z.boolean()).optional(),
|
|
1644
|
+
topLogprobs: z.nullable(z.number().int()).optional(),
|
|
1645
|
+
n: z.nullable(z.number().int()).optional(),
|
|
1646
|
+
presencePenalty: z.nullable(z.number()).optional(),
|
|
1647
|
+
responseFormat: z.union([
|
|
1648
|
+
z.lazy(() => exports.ListAgentsResponseFormatAgents3$outboundSchema),
|
|
1649
|
+
z.lazy(() => exports.ListAgentsResponseFormatAgents1$outboundSchema),
|
|
1650
|
+
z.lazy(() => exports.ListAgentsResponseFormatAgents2$outboundSchema),
|
|
1651
|
+
]).optional(),
|
|
1652
|
+
reasoningEffort: z.string().optional(),
|
|
1653
|
+
verbosity: z.string().optional(),
|
|
1654
|
+
seed: z.nullable(z.number()).optional(),
|
|
1655
|
+
stop: z.nullable(z.union([z.string(), z.array(z.string())])).optional(),
|
|
1656
|
+
streamOptions: z.nullable(z.lazy(() => exports.ListAgentsFallbackModelsStreamOptions$outboundSchema)).optional(),
|
|
1657
|
+
thinking: z.lazy(() => exports.ListAgentsFallbackModelsThinking$outboundSchema)
|
|
1658
|
+
.optional(),
|
|
1659
|
+
temperature: z.nullable(z.number()).optional(),
|
|
1660
|
+
topP: z.nullable(z.number()).optional(),
|
|
1661
|
+
topK: z.nullable(z.number()).optional(),
|
|
1662
|
+
toolChoice: z.union([
|
|
1663
|
+
z.lazy(() => exports.ListAgentsToolChoiceAgents2$outboundSchema),
|
|
1664
|
+
exports.ListAgentsToolChoiceAgents1$outboundSchema,
|
|
1665
|
+
]).optional(),
|
|
1666
|
+
parallelToolCalls: z.boolean().optional(),
|
|
1667
|
+
modalities: z.nullable(z.array(exports.ListAgentsFallbackModelsModalities$outboundSchema)).optional(),
|
|
1668
|
+
webSearchOptions: z.lazy(() => exports.ListAgentsFallbackModelsWebSearchOptions$outboundSchema).optional(),
|
|
1669
|
+
}).transform((v) => {
|
|
1670
|
+
return (0, primitives_js_1.remap)(v, {
|
|
1671
|
+
frequencyPenalty: "frequency_penalty",
|
|
1672
|
+
maxTokens: "max_tokens",
|
|
1673
|
+
maxCompletionTokens: "max_completion_tokens",
|
|
1674
|
+
topLogprobs: "top_logprobs",
|
|
1675
|
+
presencePenalty: "presence_penalty",
|
|
1676
|
+
responseFormat: "response_format",
|
|
1677
|
+
reasoningEffort: "reasoning_effort",
|
|
1678
|
+
streamOptions: "stream_options",
|
|
1679
|
+
topP: "top_p",
|
|
1680
|
+
topK: "top_k",
|
|
1681
|
+
toolChoice: "tool_choice",
|
|
1682
|
+
parallelToolCalls: "parallel_tool_calls",
|
|
1683
|
+
webSearchOptions: "web_search_options",
|
|
1684
|
+
});
|
|
1685
|
+
});
|
|
1686
|
+
/**
|
|
1687
|
+
* @internal
|
|
1688
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1689
|
+
*/
|
|
1690
|
+
var ListAgentsFallbackModelsParameters$;
|
|
1691
|
+
(function (ListAgentsFallbackModelsParameters$) {
|
|
1692
|
+
/** @deprecated use `ListAgentsFallbackModelsParameters$inboundSchema` instead. */
|
|
1693
|
+
ListAgentsFallbackModelsParameters$.inboundSchema = exports.ListAgentsFallbackModelsParameters$inboundSchema;
|
|
1694
|
+
/** @deprecated use `ListAgentsFallbackModelsParameters$outboundSchema` instead. */
|
|
1695
|
+
ListAgentsFallbackModelsParameters$.outboundSchema = exports.ListAgentsFallbackModelsParameters$outboundSchema;
|
|
1696
|
+
})(ListAgentsFallbackModelsParameters$ || (exports.ListAgentsFallbackModelsParameters$ = ListAgentsFallbackModelsParameters$ = {}));
|
|
1697
|
+
function listAgentsFallbackModelsParametersToJSON(listAgentsFallbackModelsParameters) {
|
|
1698
|
+
return JSON.stringify(exports.ListAgentsFallbackModelsParameters$outboundSchema.parse(listAgentsFallbackModelsParameters));
|
|
1699
|
+
}
|
|
1700
|
+
function listAgentsFallbackModelsParametersFromJSON(jsonString) {
|
|
1701
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListAgentsFallbackModelsParameters$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListAgentsFallbackModelsParameters' from JSON`);
|
|
1702
|
+
}
|
|
1703
|
+
/** @internal */
|
|
1704
|
+
exports.ListAgentsFallbackModels2$inboundSchema = z.object({
|
|
1705
|
+
id: z.string(),
|
|
1706
|
+
integration_id: z.nullable(z.string()).optional(),
|
|
1707
|
+
parameters: z.lazy(() => exports.ListAgentsFallbackModelsParameters$inboundSchema)
|
|
1708
|
+
.optional(),
|
|
1709
|
+
}).transform((v) => {
|
|
1710
|
+
return (0, primitives_js_1.remap)(v, {
|
|
1711
|
+
"integration_id": "integrationId",
|
|
1712
|
+
});
|
|
1713
|
+
});
|
|
1714
|
+
/** @internal */
|
|
1715
|
+
exports.ListAgentsFallbackModels2$outboundSchema = z.object({
|
|
1716
|
+
id: z.string(),
|
|
1717
|
+
integrationId: z.nullable(z.string()).optional(),
|
|
1718
|
+
parameters: z.lazy(() => exports.ListAgentsFallbackModelsParameters$outboundSchema)
|
|
1719
|
+
.optional(),
|
|
1720
|
+
}).transform((v) => {
|
|
1721
|
+
return (0, primitives_js_1.remap)(v, {
|
|
1722
|
+
integrationId: "integration_id",
|
|
1723
|
+
});
|
|
1724
|
+
});
|
|
1725
|
+
/**
|
|
1726
|
+
* @internal
|
|
1727
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1728
|
+
*/
|
|
1729
|
+
var ListAgentsFallbackModels2$;
|
|
1730
|
+
(function (ListAgentsFallbackModels2$) {
|
|
1731
|
+
/** @deprecated use `ListAgentsFallbackModels2$inboundSchema` instead. */
|
|
1732
|
+
ListAgentsFallbackModels2$.inboundSchema = exports.ListAgentsFallbackModels2$inboundSchema;
|
|
1733
|
+
/** @deprecated use `ListAgentsFallbackModels2$outboundSchema` instead. */
|
|
1734
|
+
ListAgentsFallbackModels2$.outboundSchema = exports.ListAgentsFallbackModels2$outboundSchema;
|
|
1735
|
+
})(ListAgentsFallbackModels2$ || (exports.ListAgentsFallbackModels2$ = ListAgentsFallbackModels2$ = {}));
|
|
1736
|
+
function listAgentsFallbackModels2ToJSON(listAgentsFallbackModels2) {
|
|
1737
|
+
return JSON.stringify(exports.ListAgentsFallbackModels2$outboundSchema.parse(listAgentsFallbackModels2));
|
|
1738
|
+
}
|
|
1739
|
+
function listAgentsFallbackModels2FromJSON(jsonString) {
|
|
1740
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListAgentsFallbackModels2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListAgentsFallbackModels2' from JSON`);
|
|
1741
|
+
}
|
|
1742
|
+
/** @internal */
|
|
1743
|
+
exports.ListAgentsFallbackModels$inboundSchema = z.union([
|
|
1744
|
+
z.lazy(() => exports.ListAgentsFallbackModels2$inboundSchema),
|
|
1745
|
+
z.string(),
|
|
1746
|
+
]);
|
|
1747
|
+
/** @internal */
|
|
1748
|
+
exports.ListAgentsFallbackModels$outboundSchema = z.union([
|
|
1749
|
+
z.lazy(() => exports.ListAgentsFallbackModels2$outboundSchema),
|
|
1750
|
+
z.string(),
|
|
1751
|
+
]);
|
|
1752
|
+
/**
|
|
1753
|
+
* @internal
|
|
1754
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1755
|
+
*/
|
|
1756
|
+
var ListAgentsFallbackModels$;
|
|
1757
|
+
(function (ListAgentsFallbackModels$) {
|
|
1758
|
+
/** @deprecated use `ListAgentsFallbackModels$inboundSchema` instead. */
|
|
1759
|
+
ListAgentsFallbackModels$.inboundSchema = exports.ListAgentsFallbackModels$inboundSchema;
|
|
1760
|
+
/** @deprecated use `ListAgentsFallbackModels$outboundSchema` instead. */
|
|
1761
|
+
ListAgentsFallbackModels$.outboundSchema = exports.ListAgentsFallbackModels$outboundSchema;
|
|
1762
|
+
})(ListAgentsFallbackModels$ || (exports.ListAgentsFallbackModels$ = ListAgentsFallbackModels$ = {}));
|
|
1763
|
+
function listAgentsFallbackModelsToJSON(listAgentsFallbackModels) {
|
|
1764
|
+
return JSON.stringify(exports.ListAgentsFallbackModels$outboundSchema.parse(listAgentsFallbackModels));
|
|
1765
|
+
}
|
|
1766
|
+
function listAgentsFallbackModelsFromJSON(jsonString) {
|
|
1767
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListAgentsFallbackModels$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListAgentsFallbackModels' from JSON`);
|
|
1768
|
+
}
|
|
1769
|
+
/** @internal */
|
|
300
1770
|
exports.ListAgentsModel$inboundSchema = z.object({
|
|
301
1771
|
id: z.string(),
|
|
302
1772
|
integration_id: z.nullable(z.string()).optional(),
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
1773
|
+
parameters: z.lazy(() => exports.ListAgentsParameters$inboundSchema).optional(),
|
|
1774
|
+
fallback_models: z.nullable(z.array(z.union([
|
|
1775
|
+
z.lazy(() => exports.ListAgentsFallbackModels2$inboundSchema),
|
|
1776
|
+
z.string(),
|
|
1777
|
+
]))).optional(),
|
|
306
1778
|
}).transform((v) => {
|
|
307
1779
|
return (0, primitives_js_1.remap)(v, {
|
|
308
1780
|
"integration_id": "integrationId",
|
|
309
1781
|
"fallback_models": "fallbackModels",
|
|
310
|
-
"max_tokens": "maxTokens",
|
|
311
1782
|
});
|
|
312
1783
|
});
|
|
313
1784
|
/** @internal */
|
|
314
1785
|
exports.ListAgentsModel$outboundSchema = z.object({
|
|
315
1786
|
id: z.string(),
|
|
316
1787
|
integrationId: z.nullable(z.string()).optional(),
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
1788
|
+
parameters: z.lazy(() => exports.ListAgentsParameters$outboundSchema).optional(),
|
|
1789
|
+
fallbackModels: z.nullable(z.array(z.union([
|
|
1790
|
+
z.lazy(() => exports.ListAgentsFallbackModels2$outboundSchema),
|
|
1791
|
+
z.string(),
|
|
1792
|
+
]))).optional(),
|
|
320
1793
|
}).transform((v) => {
|
|
321
1794
|
return (0, primitives_js_1.remap)(v, {
|
|
322
1795
|
integrationId: "integration_id",
|
|
323
1796
|
fallbackModels: "fallback_models",
|
|
324
|
-
maxTokens: "max_tokens",
|
|
325
1797
|
});
|
|
326
1798
|
});
|
|
327
1799
|
/**
|