@orq-ai/node 4.5.0-rc.26 → 4.5.0-rc.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +38 -28
- package/funcs/agentsList.d.ts +1 -1
- package/funcs/agentsList.d.ts.map +1 -1
- package/funcs/agentsList.js +5 -3
- package/funcs/agentsList.js.map +1 -1
- package/funcs/agentsPostV2AgentsA2a.d.ts +18 -0
- package/funcs/agentsPostV2AgentsA2a.d.ts.map +1 -0
- package/funcs/agentsPostV2AgentsA2a.js +120 -0
- package/funcs/agentsPostV2AgentsA2a.js.map +1 -0
- package/funcs/agentsPostV2AgentsKeyCardRefresh.d.ts +18 -0
- package/funcs/agentsPostV2AgentsKeyCardRefresh.d.ts.map +1 -0
- package/funcs/agentsPostV2AgentsKeyCardRefresh.js +124 -0
- package/funcs/agentsPostV2AgentsKeyCardRefresh.js.map +1 -0
- package/funcs/agentsResponsesGet.d.ts +19 -0
- package/funcs/agentsResponsesGet.d.ts.map +1 -0
- package/funcs/agentsResponsesGet.js +128 -0
- package/funcs/agentsResponsesGet.js.map +1 -0
- package/funcs/agentsUpdate.d.ts +1 -1
- package/funcs/agentsUpdate.d.ts.map +1 -1
- package/funcs/agentsUpdate.js.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/models/components/extendedmessage.d.ts +71 -0
- package/models/components/extendedmessage.d.ts.map +1 -0
- package/models/components/extendedmessage.js +98 -0
- package/models/components/extendedmessage.js.map +1 -0
- package/models/components/getagentresponse.d.ts +157 -0
- package/models/components/getagentresponse.d.ts.map +1 -0
- package/models/components/getagentresponse.js +175 -0
- package/models/components/getagentresponse.js.map +1 -0
- package/models/components/index.d.ts +2 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +2 -0
- package/models/components/index.js.map +1 -1
- package/models/components/partdoneevent.js +1 -1
- package/models/components/reasoningpart.js +1 -1
- package/models/errors/index.d.ts +2 -0
- package/models/errors/index.d.ts.map +1 -1
- package/models/errors/index.js +2 -0
- package/models/errors/index.js.map +1 -1
- package/models/errors/postv2agentsa2a.d.ts +43 -0
- package/models/errors/postv2agentsa2a.d.ts.map +1 -0
- package/models/errors/postv2agentsa2a.js +94 -0
- package/models/errors/postv2agentsa2a.js.map +1 -0
- package/models/errors/postv2agentskeycardrefresh.d.ts +43 -0
- package/models/errors/postv2agentskeycardrefresh.d.ts.map +1 -0
- package/models/errors/postv2agentskeycardrefresh.js +94 -0
- package/models/errors/postv2agentskeycardrefresh.js.map +1 -0
- package/models/operations/createagentrequest.d.ts +309 -142
- package/models/operations/createagentrequest.d.ts.map +1 -1
- package/models/operations/createagentrequest.js +292 -160
- package/models/operations/createagentrequest.js.map +1 -1
- package/models/operations/createagentresponserequest.d.ts +22 -1
- package/models/operations/createagentresponserequest.d.ts.map +1 -1
- package/models/operations/createagentresponserequest.js +10 -1
- package/models/operations/createagentresponserequest.js.map +1 -1
- package/models/operations/createannotation.d.ts +1 -1
- package/models/operations/createannotation.d.ts.map +1 -1
- package/models/operations/createannotation.js +4 -0
- package/models/operations/createannotation.js.map +1 -1
- package/models/operations/createcontact.js +1 -1
- package/models/operations/createdataset.js +1 -1
- package/models/operations/createdatasetitem.js +4 -4
- package/models/operations/createdatasource.js +1 -1
- package/models/operations/createeval.js +16 -16
- package/models/operations/createidentity.js +1 -1
- package/models/operations/createknowledge.d.ts +7 -7
- package/models/operations/createknowledge.d.ts.map +1 -1
- package/models/operations/createknowledge.js +11 -11
- package/models/operations/createknowledge.js.map +1 -1
- package/models/operations/createtool.d.ts +39 -39
- package/models/operations/createtool.d.ts.map +1 -1
- package/models/operations/createtool.js +52 -49
- package/models/operations/createtool.js.map +1 -1
- package/models/operations/deploymentinvoke.d.ts +14 -0
- package/models/operations/deploymentinvoke.d.ts.map +1 -1
- package/models/operations/deploymentinvoke.js +16 -1
- package/models/operations/deploymentinvoke.js.map +1 -1
- package/models/operations/deploymentstream.d.ts +14 -0
- package/models/operations/deploymentstream.d.ts.map +1 -1
- package/models/operations/deploymentstream.js +16 -1
- package/models/operations/deploymentstream.js.map +1 -1
- package/models/operations/fileget.js +1 -1
- package/models/operations/filelist.js +1 -1
- package/models/operations/fileupload.js +1 -1
- package/models/operations/getagentresponse.d.ts +20 -0
- package/models/operations/getagentresponse.d.ts.map +1 -0
- package/models/operations/getagentresponse.js +56 -0
- package/models/operations/getagentresponse.js.map +1 -0
- package/models/operations/getalltools.d.ts +39 -39
- package/models/operations/getalltools.d.ts.map +1 -1
- package/models/operations/getalltools.js +49 -47
- package/models/operations/getalltools.js.map +1 -1
- package/models/operations/getevals.js +16 -16
- package/models/operations/index.d.ts +3 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +3 -0
- package/models/operations/index.js.map +1 -1
- package/models/operations/invokeagent.d.ts +26 -1
- package/models/operations/invokeagent.d.ts.map +1 -1
- package/models/operations/invokeagent.js +12 -1
- package/models/operations/invokeagent.js.map +1 -1
- package/models/operations/listagents.d.ts +331 -147
- package/models/operations/listagents.d.ts.map +1 -1
- package/models/operations/listagents.js +314 -171
- package/models/operations/listagents.js.map +1 -1
- package/models/operations/listdatasetdatapoints.js +4 -4
- package/models/operations/listdatasets.js +1 -1
- package/models/operations/listdatasources.js +1 -1
- package/models/operations/listidentities.js +1 -1
- package/models/operations/listknowledgebases.d.ts +8 -8
- package/models/operations/listknowledgebases.d.ts.map +1 -1
- package/models/operations/listknowledgebases.js +13 -15
- package/models/operations/listknowledgebases.js.map +1 -1
- package/models/operations/postv2agentsa2a.d.ts +119 -0
- package/models/operations/postv2agentsa2a.d.ts.map +1 -0
- package/models/operations/postv2agentsa2a.js +147 -0
- package/models/operations/postv2agentsa2a.js.map +1 -0
- package/models/operations/postv2agentskeycardrefresh.d.ts +35 -0
- package/models/operations/postv2agentskeycardrefresh.d.ts.map +1 -0
- package/models/operations/postv2agentskeycardrefresh.js +71 -0
- package/models/operations/postv2agentskeycardrefresh.js.map +1 -0
- package/models/operations/retrieveagentrequest.d.ts +316 -150
- package/models/operations/retrieveagentrequest.d.ts.map +1 -1
- package/models/operations/retrieveagentrequest.js +307 -173
- package/models/operations/retrieveagentrequest.js.map +1 -1
- package/models/operations/retrievedatapoint.js +4 -4
- package/models/operations/retrievedataset.js +1 -1
- package/models/operations/retrievedatasource.js +1 -1
- package/models/operations/retrieveidentity.js +1 -1
- package/models/operations/retrievetool.js +6 -6
- package/models/operations/runagent.d.ts +15 -11
- package/models/operations/runagent.d.ts.map +1 -1
- package/models/operations/runagent.js +12 -12
- package/models/operations/runagent.js.map +1 -1
- package/models/operations/streamagent.d.ts +22 -1
- package/models/operations/streamagent.d.ts.map +1 -1
- package/models/operations/streamagent.js +11 -1
- package/models/operations/streamagent.js.map +1 -1
- package/models/operations/streamrunagent.d.ts +1 -1
- package/models/operations/streamrunagent.js +1 -1
- package/models/operations/updateagent.d.ts +370 -157
- package/models/operations/updateagent.d.ts.map +1 -1
- package/models/operations/updateagent.js +336 -179
- package/models/operations/updateagent.js.map +1 -1
- package/models/operations/updatedatapoint.js +4 -4
- package/models/operations/updatedataset.js +1 -1
- package/models/operations/updatedatasource.js +1 -1
- package/models/operations/updateeval.js +16 -16
- package/models/operations/updateidentity.js +1 -1
- package/models/operations/updatetool.js +7 -7
- package/package.json +1 -1
- package/sdk/agents.d.ts +16 -2
- package/sdk/agents.d.ts.map +1 -1
- package/sdk/agents.js +22 -2
- package/sdk/agents.js.map +1 -1
- package/sdk/responses.d.ts +8 -0
- package/sdk/responses.d.ts.map +1 -1
- package/sdk/responses.js +10 -0
- package/sdk/responses.js.map +1 -1
- package/src/funcs/agentsList.ts +5 -0
- package/src/funcs/agentsPostV2AgentsA2a.ts +178 -0
- package/src/funcs/agentsPostV2AgentsKeyCardRefresh.ts +187 -0
- package/src/funcs/agentsResponsesGet.ts +182 -0
- package/src/funcs/agentsUpdate.ts +2 -2
- package/src/lib/config.ts +3 -3
- package/src/models/components/extendedmessage.ts +146 -0
- package/src/models/components/getagentresponse.ts +348 -0
- package/src/models/components/index.ts +2 -0
- package/src/models/components/partdoneevent.ts +1 -1
- package/src/models/components/reasoningpart.ts +1 -1
- package/src/models/errors/index.ts +2 -0
- package/src/models/errors/postv2agentsa2a.ts +96 -0
- package/src/models/errors/postv2agentskeycardrefresh.ts +97 -0
- package/src/models/operations/createagentrequest.ts +714 -360
- package/src/models/operations/createagentresponserequest.ts +35 -1
- package/src/models/operations/createannotation.ts +5 -1
- package/src/models/operations/createcontact.ts +1 -1
- package/src/models/operations/createdataset.ts +1 -1
- package/src/models/operations/createdatasetitem.ts +4 -4
- package/src/models/operations/createdatasource.ts +1 -1
- package/src/models/operations/createeval.ts +16 -16
- package/src/models/operations/createidentity.ts +1 -1
- package/src/models/operations/createknowledge.ts +19 -17
- package/src/models/operations/createtool.ts +103 -91
- package/src/models/operations/deploymentinvoke.ts +38 -0
- package/src/models/operations/deploymentstream.ts +38 -0
- package/src/models/operations/fileget.ts +1 -1
- package/src/models/operations/filelist.ts +1 -1
- package/src/models/operations/fileupload.ts +1 -1
- package/src/models/operations/getagentresponse.ts +46 -0
- package/src/models/operations/getalltools.ts +93 -87
- package/src/models/operations/getevals.ts +16 -16
- package/src/models/operations/index.ts +3 -0
- package/src/models/operations/invokeagent.ts +45 -1
- package/src/models/operations/listagents.ts +723 -366
- package/src/models/operations/listdatasetdatapoints.ts +4 -4
- package/src/models/operations/listdatasets.ts +1 -1
- package/src/models/operations/listdatasources.ts +1 -1
- package/src/models/operations/listidentities.ts +1 -1
- package/src/models/operations/listknowledgebases.ts +72 -64
- package/src/models/operations/postv2agentsa2a.ts +252 -0
- package/src/models/operations/postv2agentskeycardrefresh.ts +100 -0
- package/src/models/operations/retrieveagentrequest.ts +975 -468
- package/src/models/operations/retrievedatapoint.ts +4 -4
- package/src/models/operations/retrievedataset.ts +1 -1
- package/src/models/operations/retrievedatasource.ts +1 -1
- package/src/models/operations/retrieveidentity.ts +1 -1
- package/src/models/operations/retrievetool.ts +6 -6
- package/src/models/operations/runagent.ts +35 -21
- package/src/models/operations/streamagent.ts +40 -1
- package/src/models/operations/streamrunagent.ts +2 -2
- package/src/models/operations/updateagent.ts +876 -385
- package/src/models/operations/updatedatapoint.ts +4 -4
- package/src/models/operations/updatedataset.ts +1 -1
- package/src/models/operations/updatedatasource.ts +1 -1
- package/src/models/operations/updateeval.ts +16 -16
- package/src/models/operations/updateidentity.ts +1 -1
- package/src/models/operations/updatetool.ts +7 -7
- package/src/sdk/agents.ts +39 -1
- package/src/sdk/responses.ts +19 -0
|
@@ -36,34 +36,44 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
40
|
-
exports.
|
|
39
|
+
exports.ListAgentsResponseFormatJsonSchema$inboundSchema = exports.DataSettings$inboundSchema = exports.DataGuardrails$inboundSchema = exports.ListAgentsDataExecuteOn$inboundSchema = exports.DataEvaluators$inboundSchema = exports.DataExecuteOn$inboundSchema = exports.DataTools$inboundSchema = exports.DataConditions$inboundSchema = exports.DataToolApprovalRequired$inboundSchema = exports.DataSource$inboundSchema = exports.DataKnowledgeBases$inboundSchema = exports.DataMetrics$inboundSchema = exports.DataTeamOfAgents$inboundSchema = exports.DataStatus$inboundSchema = exports.Data2$inboundSchema = exports.DataA2AAgentConfiguration$inboundSchema = exports.DataHeaders$inboundSchema = exports.ListAgentsDataSource$inboundSchema = exports.ListAgentsDataKnowledgeBases$inboundSchema = exports.ListAgentsDataMetrics$inboundSchema = exports.ListAgentsDataTeamOfAgents$inboundSchema = exports.ListAgentsDataStatus$inboundSchema = exports.ListAgentsObject$inboundSchema = exports.ListAgentsRequest$outboundSchema = exports.QueryParamType$outboundSchema = exports.ListAgentsLoadBalancerAgentsType = exports.ListAgentsFallbackModelConfigurationType = exports.ListAgentsFallbackModelConfigurationExecuteOn = exports.ListAgentsIdAgents1 = exports.ListAgentsFallbackModelConfigurationModalities = exports.ListAgentsToolChoiceAgents1 = exports.ListAgentsToolChoiceAgentsType = exports.ListAgentsFallbackModelConfigurationReasoningEffort = exports.ListAgentsLoadBalancerType = exports.ListAgentsDataAgentsResponseType = exports.ListAgentsDataAgentsExecuteOn = exports.ListAgentsId1 = exports.DataModalities = exports.ListAgentsToolChoice1 = exports.ListAgentsToolChoiceType = exports.DataReasoningEffort = exports.ListAgentsDataExecuteOn = exports.DataExecuteOn = exports.DataToolApprovalRequired = exports.DataSource = exports.DataStatus = exports.ListAgentsDataSource = exports.ListAgentsDataStatus = exports.ListAgentsObject = exports.QueryParamType = void 0;
|
|
40
|
+
exports.ListAgentsLoadBalancerAgentsModels$inboundSchema = exports.ListAgentsLoadBalancerAgentsType$inboundSchema = exports.ListAgentsFallbackModelConfigurationCache$inboundSchema = exports.ListAgentsFallbackModelConfigurationType$inboundSchema = exports.ListAgentsFallbackModelConfigurationFallbacks$inboundSchema = exports.ListAgentsFallbackModelConfigurationGuardrails$inboundSchema = exports.ListAgentsFallbackModelConfigurationExecuteOn$inboundSchema = exports.ListAgentsFallbackModelConfigurationId$inboundSchema = exports.ListAgentsIdAgents1$inboundSchema = exports.ListAgentsFallbackModelConfigurationModalities$inboundSchema = exports.ListAgentsFallbackModelConfigurationToolChoice$inboundSchema = exports.ListAgentsToolChoiceAgents1$inboundSchema = exports.ListAgentsToolChoiceAgents2$inboundSchema = exports.ListAgentsToolChoiceAgentsFunction$inboundSchema = exports.ListAgentsToolChoiceAgentsType$inboundSchema = exports.ListAgentsFallbackModelConfigurationThinking$inboundSchema = exports.ListAgentsFallbackModelConfigurationStop$inboundSchema = exports.ListAgentsFallbackModelConfigurationReasoningEffort$inboundSchema = exports.ListAgentsFallbackModelConfigurationResponseFormat$inboundSchema = exports.ListAgentsResponseFormatAgentsText$inboundSchema = exports.ListAgentsResponseFormatAgentsJSONObject$inboundSchema = exports.ListAgentsResponseFormatAgentsResponse200JSONSchema$inboundSchema = exports.ListAgentsResponseFormatAgentsResponseJsonSchema$inboundSchema = exports.DataRetry$inboundSchema = exports.DataParameters$inboundSchema = exports.DataTimeout$inboundSchema = exports.DataLoadBalancer$inboundSchema = exports.ListAgentsLoadBalancer1$inboundSchema = exports.ListAgentsLoadBalancerModels$inboundSchema = exports.ListAgentsLoadBalancerType$inboundSchema = exports.DataCache$inboundSchema = exports.ListAgentsDataAgentsResponseType$inboundSchema = exports.DataFallbacks$inboundSchema = exports.ListAgentsDataGuardrails$inboundSchema = exports.ListAgentsDataAgentsExecuteOn$inboundSchema = exports.DataId$inboundSchema = exports.ListAgentsId1$inboundSchema = exports.DataModalities$inboundSchema = exports.DataToolChoice$inboundSchema = exports.ListAgentsToolChoice1$inboundSchema = exports.ListAgentsToolChoice2$inboundSchema = exports.ListAgentsToolChoiceFunction$inboundSchema = exports.ListAgentsToolChoiceType$inboundSchema = exports.DataThinking$inboundSchema = exports.DataStop$inboundSchema = exports.DataReasoningEffort$inboundSchema = exports.DataResponseFormat$inboundSchema = exports.ListAgentsResponseFormatText$inboundSchema = exports.ListAgentsResponseFormatJSONObject$inboundSchema = exports.ListAgentsResponseFormatAgentsJSONSchema$inboundSchema = void 0;
|
|
41
|
+
exports.ListAgentsResponseBody$inboundSchema = exports.ListAgentsData$inboundSchema = exports.Data1$inboundSchema = exports.DataModel$inboundSchema = exports.DataFallbackModelConfiguration$inboundSchema = exports.ListAgentsFallbackModelConfiguration2$inboundSchema = exports.ListAgentsFallbackModelConfigurationRetry$inboundSchema = exports.ListAgentsFallbackModelConfigurationParameters$inboundSchema = exports.ListAgentsFallbackModelConfigurationTimeout$inboundSchema = exports.ListAgentsFallbackModelConfigurationLoadBalancer$inboundSchema = exports.ListAgentsLoadBalancerAgents1$inboundSchema = void 0;
|
|
41
42
|
exports.listAgentsRequestToJSON = listAgentsRequestToJSON;
|
|
42
|
-
exports.
|
|
43
|
-
exports.
|
|
44
|
-
exports.
|
|
45
|
-
exports.
|
|
46
|
-
exports.
|
|
43
|
+
exports.listAgentsDataTeamOfAgentsFromJSON = listAgentsDataTeamOfAgentsFromJSON;
|
|
44
|
+
exports.listAgentsDataMetricsFromJSON = listAgentsDataMetricsFromJSON;
|
|
45
|
+
exports.listAgentsDataKnowledgeBasesFromJSON = listAgentsDataKnowledgeBasesFromJSON;
|
|
46
|
+
exports.dataHeadersFromJSON = dataHeadersFromJSON;
|
|
47
|
+
exports.dataA2AAgentConfigurationFromJSON = dataA2AAgentConfigurationFromJSON;
|
|
48
|
+
exports.data2FromJSON = data2FromJSON;
|
|
49
|
+
exports.dataTeamOfAgentsFromJSON = dataTeamOfAgentsFromJSON;
|
|
50
|
+
exports.dataMetricsFromJSON = dataMetricsFromJSON;
|
|
51
|
+
exports.dataKnowledgeBasesFromJSON = dataKnowledgeBasesFromJSON;
|
|
52
|
+
exports.dataConditionsFromJSON = dataConditionsFromJSON;
|
|
53
|
+
exports.dataToolsFromJSON = dataToolsFromJSON;
|
|
54
|
+
exports.dataEvaluatorsFromJSON = dataEvaluatorsFromJSON;
|
|
55
|
+
exports.dataGuardrailsFromJSON = dataGuardrailsFromJSON;
|
|
56
|
+
exports.dataSettingsFromJSON = dataSettingsFromJSON;
|
|
47
57
|
exports.listAgentsResponseFormatJsonSchemaFromJSON = listAgentsResponseFormatJsonSchemaFromJSON;
|
|
48
58
|
exports.listAgentsResponseFormatAgentsJSONSchemaFromJSON = listAgentsResponseFormatAgentsJSONSchemaFromJSON;
|
|
49
59
|
exports.listAgentsResponseFormatJSONObjectFromJSON = listAgentsResponseFormatJSONObjectFromJSON;
|
|
50
60
|
exports.listAgentsResponseFormatTextFromJSON = listAgentsResponseFormatTextFromJSON;
|
|
51
|
-
exports.
|
|
52
|
-
exports.
|
|
53
|
-
exports.
|
|
61
|
+
exports.dataResponseFormatFromJSON = dataResponseFormatFromJSON;
|
|
62
|
+
exports.dataStopFromJSON = dataStopFromJSON;
|
|
63
|
+
exports.dataThinkingFromJSON = dataThinkingFromJSON;
|
|
54
64
|
exports.listAgentsToolChoiceFunctionFromJSON = listAgentsToolChoiceFunctionFromJSON;
|
|
55
65
|
exports.listAgentsToolChoice2FromJSON = listAgentsToolChoice2FromJSON;
|
|
56
|
-
exports.
|
|
57
|
-
exports.
|
|
58
|
-
exports.
|
|
59
|
-
exports.
|
|
60
|
-
exports.
|
|
66
|
+
exports.dataToolChoiceFromJSON = dataToolChoiceFromJSON;
|
|
67
|
+
exports.dataIdFromJSON = dataIdFromJSON;
|
|
68
|
+
exports.listAgentsDataGuardrailsFromJSON = listAgentsDataGuardrailsFromJSON;
|
|
69
|
+
exports.dataFallbacksFromJSON = dataFallbacksFromJSON;
|
|
70
|
+
exports.dataCacheFromJSON = dataCacheFromJSON;
|
|
61
71
|
exports.listAgentsLoadBalancerModelsFromJSON = listAgentsLoadBalancerModelsFromJSON;
|
|
62
72
|
exports.listAgentsLoadBalancer1FromJSON = listAgentsLoadBalancer1FromJSON;
|
|
63
|
-
exports.
|
|
64
|
-
exports.
|
|
65
|
-
exports.
|
|
66
|
-
exports.
|
|
73
|
+
exports.dataLoadBalancerFromJSON = dataLoadBalancerFromJSON;
|
|
74
|
+
exports.dataTimeoutFromJSON = dataTimeoutFromJSON;
|
|
75
|
+
exports.dataParametersFromJSON = dataParametersFromJSON;
|
|
76
|
+
exports.dataRetryFromJSON = dataRetryFromJSON;
|
|
67
77
|
exports.listAgentsResponseFormatAgentsResponseJsonSchemaFromJSON = listAgentsResponseFormatAgentsResponseJsonSchemaFromJSON;
|
|
68
78
|
exports.listAgentsResponseFormatAgentsResponse200JSONSchemaFromJSON = listAgentsResponseFormatAgentsResponse200JSONSchemaFromJSON;
|
|
69
79
|
exports.listAgentsResponseFormatAgentsJSONObjectFromJSON = listAgentsResponseFormatAgentsJSONObjectFromJSON;
|
|
@@ -85,33 +95,57 @@ exports.listAgentsFallbackModelConfigurationTimeoutFromJSON = listAgentsFallback
|
|
|
85
95
|
exports.listAgentsFallbackModelConfigurationParametersFromJSON = listAgentsFallbackModelConfigurationParametersFromJSON;
|
|
86
96
|
exports.listAgentsFallbackModelConfigurationRetryFromJSON = listAgentsFallbackModelConfigurationRetryFromJSON;
|
|
87
97
|
exports.listAgentsFallbackModelConfiguration2FromJSON = listAgentsFallbackModelConfiguration2FromJSON;
|
|
88
|
-
exports.
|
|
89
|
-
exports.
|
|
90
|
-
exports.
|
|
91
|
-
exports.listAgentsMetricsFromJSON = listAgentsMetricsFromJSON;
|
|
92
|
-
exports.listAgentsKnowledgeBasesFromJSON = listAgentsKnowledgeBasesFromJSON;
|
|
98
|
+
exports.dataFallbackModelConfigurationFromJSON = dataFallbackModelConfigurationFromJSON;
|
|
99
|
+
exports.dataModelFromJSON = dataModelFromJSON;
|
|
100
|
+
exports.data1FromJSON = data1FromJSON;
|
|
93
101
|
exports.listAgentsDataFromJSON = listAgentsDataFromJSON;
|
|
94
102
|
exports.listAgentsResponseBodyFromJSON = listAgentsResponseBodyFromJSON;
|
|
95
103
|
const z = __importStar(require("zod/v3"));
|
|
96
104
|
const primitives_js_1 = require("../../lib/primitives.js");
|
|
97
105
|
const schemas_js_1 = require("../../lib/schemas.js");
|
|
98
106
|
const components = __importStar(require("../components/index.js"));
|
|
107
|
+
/**
|
|
108
|
+
* Filter agents by type: "internal" for Orquesta-managed agents, "a2a" for external A2A-compliant agents
|
|
109
|
+
*/
|
|
110
|
+
exports.QueryParamType = {
|
|
111
|
+
Internal: "internal",
|
|
112
|
+
A2a: "a2a",
|
|
113
|
+
};
|
|
99
114
|
exports.ListAgentsObject = {
|
|
100
115
|
List: "list",
|
|
101
116
|
};
|
|
102
117
|
/**
|
|
103
118
|
* The status of the agent. `Live` is the latest version of the agent. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
|
|
104
119
|
*/
|
|
105
|
-
exports.
|
|
120
|
+
exports.ListAgentsDataStatus = {
|
|
106
121
|
Live: "live",
|
|
107
122
|
Draft: "draft",
|
|
108
123
|
Pending: "pending",
|
|
109
124
|
Published: "published",
|
|
110
125
|
};
|
|
126
|
+
exports.ListAgentsDataSource = {
|
|
127
|
+
Internal: "internal",
|
|
128
|
+
External: "external",
|
|
129
|
+
Experiment: "experiment",
|
|
130
|
+
};
|
|
131
|
+
/**
|
|
132
|
+
* The status of the agent. `Live` is the latest version of the agent. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
|
|
133
|
+
*/
|
|
134
|
+
exports.DataStatus = {
|
|
135
|
+
Live: "live",
|
|
136
|
+
Draft: "draft",
|
|
137
|
+
Pending: "pending",
|
|
138
|
+
Published: "published",
|
|
139
|
+
};
|
|
140
|
+
exports.DataSource = {
|
|
141
|
+
Internal: "internal",
|
|
142
|
+
External: "external",
|
|
143
|
+
Experiment: "experiment",
|
|
144
|
+
};
|
|
111
145
|
/**
|
|
112
146
|
* If all, the agent will require approval for all tools. If respect_tool, the agent will require approval for tools that have the requires_approval flag set to true. If none, the agent will not require approval for any tools.
|
|
113
147
|
*/
|
|
114
|
-
exports.
|
|
148
|
+
exports.DataToolApprovalRequired = {
|
|
115
149
|
All: "all",
|
|
116
150
|
RespectTool: "respect_tool",
|
|
117
151
|
None: "none",
|
|
@@ -119,14 +153,14 @@ exports.ListAgentsToolApprovalRequired = {
|
|
|
119
153
|
/**
|
|
120
154
|
* Determines whether the evaluator runs on the agent input (user message) or output (agent response).
|
|
121
155
|
*/
|
|
122
|
-
exports.
|
|
156
|
+
exports.DataExecuteOn = {
|
|
123
157
|
Input: "input",
|
|
124
158
|
Output: "output",
|
|
125
159
|
};
|
|
126
160
|
/**
|
|
127
161
|
* Determines whether the evaluator runs on the agent input (user message) or output (agent response).
|
|
128
162
|
*/
|
|
129
|
-
exports.
|
|
163
|
+
exports.ListAgentsDataExecuteOn = {
|
|
130
164
|
Input: "input",
|
|
131
165
|
Output: "output",
|
|
132
166
|
};
|
|
@@ -142,7 +176,7 @@ exports.ListAgentsAgentsExecuteOn = {
|
|
|
142
176
|
*
|
|
143
177
|
* Any of "none", "minimal", "low", "medium", "high", "xhigh".
|
|
144
178
|
*/
|
|
145
|
-
exports.
|
|
179
|
+
exports.DataReasoningEffort = {
|
|
146
180
|
None: "none",
|
|
147
181
|
Minimal: "minimal",
|
|
148
182
|
Low: "low",
|
|
@@ -161,7 +195,7 @@ exports.ListAgentsToolChoice1 = {
|
|
|
161
195
|
Auto: "auto",
|
|
162
196
|
Required: "required",
|
|
163
197
|
};
|
|
164
|
-
exports.
|
|
198
|
+
exports.DataModalities = {
|
|
165
199
|
Text: "text",
|
|
166
200
|
Audio: "audio",
|
|
167
201
|
};
|
|
@@ -176,11 +210,11 @@ exports.ListAgentsId1 = {
|
|
|
176
210
|
/**
|
|
177
211
|
* Determines whether the guardrail runs on the input (user message) or output (model response).
|
|
178
212
|
*/
|
|
179
|
-
exports.
|
|
213
|
+
exports.ListAgentsDataAgentsExecuteOn = {
|
|
180
214
|
Input: "input",
|
|
181
215
|
Output: "output",
|
|
182
216
|
};
|
|
183
|
-
exports.
|
|
217
|
+
exports.ListAgentsDataAgentsResponseType = {
|
|
184
218
|
ExactMatch: "exact_match",
|
|
185
219
|
};
|
|
186
220
|
exports.ListAgentsLoadBalancerType = {
|
|
@@ -242,16 +276,14 @@ exports.ListAgentsFallbackModelConfigurationType = {
|
|
|
242
276
|
exports.ListAgentsLoadBalancerAgentsType = {
|
|
243
277
|
WeightBased: "weight_based",
|
|
244
278
|
};
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
External: "external",
|
|
248
|
-
Experiment: "experiment",
|
|
249
|
-
};
|
|
279
|
+
/** @internal */
|
|
280
|
+
exports.QueryParamType$outboundSchema = z.nativeEnum(exports.QueryParamType);
|
|
250
281
|
/** @internal */
|
|
251
282
|
exports.ListAgentsRequest$outboundSchema = z.object({
|
|
252
283
|
limit: z.number().optional(),
|
|
253
284
|
startingAfter: z.string().optional(),
|
|
254
285
|
endingBefore: z.string().optional(),
|
|
286
|
+
type: exports.QueryParamType$outboundSchema.optional(),
|
|
255
287
|
}).transform((v) => {
|
|
256
288
|
return (0, primitives_js_1.remap)(v, {
|
|
257
289
|
startingAfter: "starting_after",
|
|
@@ -264,20 +296,153 @@ function listAgentsRequestToJSON(listAgentsRequest) {
|
|
|
264
296
|
/** @internal */
|
|
265
297
|
exports.ListAgentsObject$inboundSchema = z.nativeEnum(exports.ListAgentsObject);
|
|
266
298
|
/** @internal */
|
|
267
|
-
exports.
|
|
299
|
+
exports.ListAgentsDataStatus$inboundSchema = z.nativeEnum(exports.ListAgentsDataStatus);
|
|
300
|
+
/** @internal */
|
|
301
|
+
exports.ListAgentsDataTeamOfAgents$inboundSchema = z.object({
|
|
302
|
+
key: z.string(),
|
|
303
|
+
role: z.string().optional(),
|
|
304
|
+
});
|
|
305
|
+
function listAgentsDataTeamOfAgentsFromJSON(jsonString) {
|
|
306
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListAgentsDataTeamOfAgents$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListAgentsDataTeamOfAgents' from JSON`);
|
|
307
|
+
}
|
|
308
|
+
/** @internal */
|
|
309
|
+
exports.ListAgentsDataMetrics$inboundSchema = z.object({
|
|
310
|
+
total_cost: z.number().default(0),
|
|
311
|
+
}).transform((v) => {
|
|
312
|
+
return (0, primitives_js_1.remap)(v, {
|
|
313
|
+
"total_cost": "totalCost",
|
|
314
|
+
});
|
|
315
|
+
});
|
|
316
|
+
function listAgentsDataMetricsFromJSON(jsonString) {
|
|
317
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListAgentsDataMetrics$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListAgentsDataMetrics' from JSON`);
|
|
318
|
+
}
|
|
319
|
+
/** @internal */
|
|
320
|
+
exports.ListAgentsDataKnowledgeBases$inboundSchema = z.object({
|
|
321
|
+
knowledge_id: z.string(),
|
|
322
|
+
}).transform((v) => {
|
|
323
|
+
return (0, primitives_js_1.remap)(v, {
|
|
324
|
+
"knowledge_id": "knowledgeId",
|
|
325
|
+
});
|
|
326
|
+
});
|
|
327
|
+
function listAgentsDataKnowledgeBasesFromJSON(jsonString) {
|
|
328
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListAgentsDataKnowledgeBases$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListAgentsDataKnowledgeBases' from JSON`);
|
|
329
|
+
}
|
|
330
|
+
/** @internal */
|
|
331
|
+
exports.ListAgentsDataSource$inboundSchema = z.nativeEnum(exports.ListAgentsDataSource);
|
|
332
|
+
/** @internal */
|
|
333
|
+
exports.DataHeaders$inboundSchema = z.object({
|
|
334
|
+
value: z.string(),
|
|
335
|
+
encrypted: z.boolean().default(false),
|
|
336
|
+
});
|
|
337
|
+
function dataHeadersFromJSON(jsonString) {
|
|
338
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DataHeaders$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DataHeaders' from JSON`);
|
|
339
|
+
}
|
|
340
|
+
/** @internal */
|
|
341
|
+
exports.DataA2AAgentConfiguration$inboundSchema = z.object({
|
|
342
|
+
agent_url: z.string(),
|
|
343
|
+
card_url: z.string().optional(),
|
|
344
|
+
headers: z.record(z.lazy(() => exports.DataHeaders$inboundSchema)).optional(),
|
|
345
|
+
cached_card: z.any().optional(),
|
|
346
|
+
}).transform((v) => {
|
|
347
|
+
return (0, primitives_js_1.remap)(v, {
|
|
348
|
+
"agent_url": "agentUrl",
|
|
349
|
+
"card_url": "cardUrl",
|
|
350
|
+
"cached_card": "cachedCard",
|
|
351
|
+
});
|
|
352
|
+
});
|
|
353
|
+
function dataA2AAgentConfigurationFromJSON(jsonString) {
|
|
354
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DataA2AAgentConfiguration$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DataA2AAgentConfiguration' from JSON`);
|
|
355
|
+
}
|
|
356
|
+
/** @internal */
|
|
357
|
+
exports.Data2$inboundSchema = z
|
|
358
|
+
.object({
|
|
359
|
+
_id: z.string(),
|
|
360
|
+
key: z.string(),
|
|
361
|
+
display_name: z.string().optional(),
|
|
362
|
+
created_by_id: z.nullable(z.string()).optional(),
|
|
363
|
+
updated_by_id: z.nullable(z.string()).optional(),
|
|
364
|
+
created: z.string().optional(),
|
|
365
|
+
updated: z.string().optional(),
|
|
366
|
+
status: exports.ListAgentsDataStatus$inboundSchema,
|
|
367
|
+
version_hash: z.string().optional(),
|
|
368
|
+
path: z.string(),
|
|
369
|
+
memory_stores: z.array(z.string()).optional(),
|
|
370
|
+
team_of_agents: z.array(z.lazy(() => exports.ListAgentsDataTeamOfAgents$inboundSchema)).optional(),
|
|
371
|
+
metrics: z.lazy(() => exports.ListAgentsDataMetrics$inboundSchema).optional(),
|
|
372
|
+
variables: z.record(z.any()).optional(),
|
|
373
|
+
knowledge_bases: z.array(z.lazy(() => exports.ListAgentsDataKnowledgeBases$inboundSchema)).optional(),
|
|
374
|
+
source: exports.ListAgentsDataSource$inboundSchema.optional(),
|
|
375
|
+
type: z.literal("a2a"),
|
|
376
|
+
role: z.string(),
|
|
377
|
+
description: z.string(),
|
|
378
|
+
system_prompt: z.string().optional(),
|
|
379
|
+
instructions: z.string(),
|
|
380
|
+
a2a: z.lazy(() => exports.DataA2AAgentConfiguration$inboundSchema),
|
|
381
|
+
}).transform((v) => {
|
|
382
|
+
return (0, primitives_js_1.remap)(v, {
|
|
383
|
+
"_id": "id",
|
|
384
|
+
"display_name": "displayName",
|
|
385
|
+
"created_by_id": "createdById",
|
|
386
|
+
"updated_by_id": "updatedById",
|
|
387
|
+
"version_hash": "versionHash",
|
|
388
|
+
"memory_stores": "memoryStores",
|
|
389
|
+
"team_of_agents": "teamOfAgents",
|
|
390
|
+
"knowledge_bases": "knowledgeBases",
|
|
391
|
+
"system_prompt": "systemPrompt",
|
|
392
|
+
});
|
|
393
|
+
});
|
|
394
|
+
function data2FromJSON(jsonString) {
|
|
395
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.Data2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Data2' from JSON`);
|
|
396
|
+
}
|
|
397
|
+
/** @internal */
|
|
398
|
+
exports.DataStatus$inboundSchema = z
|
|
399
|
+
.nativeEnum(exports.DataStatus);
|
|
400
|
+
/** @internal */
|
|
401
|
+
exports.DataTeamOfAgents$inboundSchema = z.object({
|
|
402
|
+
key: z.string(),
|
|
403
|
+
role: z.string().optional(),
|
|
404
|
+
});
|
|
405
|
+
function dataTeamOfAgentsFromJSON(jsonString) {
|
|
406
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DataTeamOfAgents$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DataTeamOfAgents' from JSON`);
|
|
407
|
+
}
|
|
408
|
+
/** @internal */
|
|
409
|
+
exports.DataMetrics$inboundSchema = z.object({
|
|
410
|
+
total_cost: z.number().default(0),
|
|
411
|
+
}).transform((v) => {
|
|
412
|
+
return (0, primitives_js_1.remap)(v, {
|
|
413
|
+
"total_cost": "totalCost",
|
|
414
|
+
});
|
|
415
|
+
});
|
|
416
|
+
function dataMetricsFromJSON(jsonString) {
|
|
417
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DataMetrics$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DataMetrics' from JSON`);
|
|
418
|
+
}
|
|
419
|
+
/** @internal */
|
|
420
|
+
exports.DataKnowledgeBases$inboundSchema = z.object({
|
|
421
|
+
knowledge_id: z.string(),
|
|
422
|
+
}).transform((v) => {
|
|
423
|
+
return (0, primitives_js_1.remap)(v, {
|
|
424
|
+
"knowledge_id": "knowledgeId",
|
|
425
|
+
});
|
|
426
|
+
});
|
|
427
|
+
function dataKnowledgeBasesFromJSON(jsonString) {
|
|
428
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DataKnowledgeBases$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DataKnowledgeBases' from JSON`);
|
|
429
|
+
}
|
|
430
|
+
/** @internal */
|
|
431
|
+
exports.DataSource$inboundSchema = z
|
|
432
|
+
.nativeEnum(exports.DataSource);
|
|
268
433
|
/** @internal */
|
|
269
|
-
exports.
|
|
434
|
+
exports.DataToolApprovalRequired$inboundSchema = z.nativeEnum(exports.DataToolApprovalRequired);
|
|
270
435
|
/** @internal */
|
|
271
|
-
exports.
|
|
436
|
+
exports.DataConditions$inboundSchema = z.object({
|
|
272
437
|
condition: z.string(),
|
|
273
438
|
operator: z.string(),
|
|
274
439
|
value: z.string(),
|
|
275
440
|
});
|
|
276
|
-
function
|
|
277
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.
|
|
441
|
+
function dataConditionsFromJSON(jsonString) {
|
|
442
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DataConditions$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DataConditions' from JSON`);
|
|
278
443
|
}
|
|
279
444
|
/** @internal */
|
|
280
|
-
exports.
|
|
445
|
+
exports.DataTools$inboundSchema = z.object({
|
|
281
446
|
id: z.string(),
|
|
282
447
|
key: z.string().optional(),
|
|
283
448
|
action_type: z.string(),
|
|
@@ -285,8 +450,7 @@ exports.ListAgentsTools$inboundSchema = z.object({
|
|
|
285
450
|
description: z.string().optional(),
|
|
286
451
|
requires_approval: z.boolean().default(false),
|
|
287
452
|
tool_id: z.string().optional(),
|
|
288
|
-
conditions: z.array(z.lazy(() => exports.
|
|
289
|
-
.optional(),
|
|
453
|
+
conditions: z.array(z.lazy(() => exports.DataConditions$inboundSchema)).optional(),
|
|
290
454
|
timeout: z.number().default(120),
|
|
291
455
|
}).transform((v) => {
|
|
292
456
|
return (0, primitives_js_1.remap)(v, {
|
|
@@ -296,52 +460,50 @@ exports.ListAgentsTools$inboundSchema = z.object({
|
|
|
296
460
|
"tool_id": "toolId",
|
|
297
461
|
});
|
|
298
462
|
});
|
|
299
|
-
function
|
|
300
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.
|
|
463
|
+
function dataToolsFromJSON(jsonString) {
|
|
464
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DataTools$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DataTools' from JSON`);
|
|
301
465
|
}
|
|
302
466
|
/** @internal */
|
|
303
|
-
exports.
|
|
467
|
+
exports.DataExecuteOn$inboundSchema = z.nativeEnum(exports.DataExecuteOn);
|
|
304
468
|
/** @internal */
|
|
305
|
-
exports.
|
|
469
|
+
exports.DataEvaluators$inboundSchema = z.object({
|
|
306
470
|
id: z.string(),
|
|
307
471
|
sample_rate: z.number().default(50),
|
|
308
|
-
execute_on: exports.
|
|
472
|
+
execute_on: exports.DataExecuteOn$inboundSchema,
|
|
309
473
|
}).transform((v) => {
|
|
310
474
|
return (0, primitives_js_1.remap)(v, {
|
|
311
475
|
"sample_rate": "sampleRate",
|
|
312
476
|
"execute_on": "executeOn",
|
|
313
477
|
});
|
|
314
478
|
});
|
|
315
|
-
function
|
|
316
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.
|
|
479
|
+
function dataEvaluatorsFromJSON(jsonString) {
|
|
480
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DataEvaluators$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DataEvaluators' from JSON`);
|
|
317
481
|
}
|
|
318
482
|
/** @internal */
|
|
319
|
-
exports.
|
|
483
|
+
exports.ListAgentsDataExecuteOn$inboundSchema = z.nativeEnum(exports.ListAgentsDataExecuteOn);
|
|
320
484
|
/** @internal */
|
|
321
|
-
exports.
|
|
485
|
+
exports.DataGuardrails$inboundSchema = z.object({
|
|
322
486
|
id: z.string(),
|
|
323
487
|
sample_rate: z.number().default(50),
|
|
324
|
-
execute_on: exports.
|
|
488
|
+
execute_on: exports.ListAgentsDataExecuteOn$inboundSchema,
|
|
325
489
|
}).transform((v) => {
|
|
326
490
|
return (0, primitives_js_1.remap)(v, {
|
|
327
491
|
"sample_rate": "sampleRate",
|
|
328
492
|
"execute_on": "executeOn",
|
|
329
493
|
});
|
|
330
494
|
});
|
|
331
|
-
function
|
|
332
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.
|
|
495
|
+
function dataGuardrailsFromJSON(jsonString) {
|
|
496
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DataGuardrails$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DataGuardrails' from JSON`);
|
|
333
497
|
}
|
|
334
498
|
/** @internal */
|
|
335
|
-
exports.
|
|
499
|
+
exports.DataSettings$inboundSchema = z.object({
|
|
336
500
|
max_iterations: z.number().int().default(100),
|
|
337
501
|
max_execution_time: z.number().int().default(600),
|
|
338
502
|
max_cost: z.number().default(0),
|
|
339
|
-
tool_approval_required: exports.
|
|
340
|
-
tools: z.array(z.lazy(() => exports.
|
|
341
|
-
evaluators: z.array(z.lazy(() => exports.
|
|
342
|
-
|
|
343
|
-
guardrails: z.array(z.lazy(() => exports.ListAgentsGuardrails$inboundSchema))
|
|
344
|
-
.optional(),
|
|
503
|
+
tool_approval_required: exports.DataToolApprovalRequired$inboundSchema.default("respect_tool"),
|
|
504
|
+
tools: z.array(z.lazy(() => exports.DataTools$inboundSchema)).optional(),
|
|
505
|
+
evaluators: z.array(z.lazy(() => exports.DataEvaluators$inboundSchema)).optional(),
|
|
506
|
+
guardrails: z.array(z.lazy(() => exports.DataGuardrails$inboundSchema)).optional(),
|
|
345
507
|
}).transform((v) => {
|
|
346
508
|
return (0, primitives_js_1.remap)(v, {
|
|
347
509
|
"max_iterations": "maxIterations",
|
|
@@ -350,8 +512,8 @@ exports.ListAgentsSettings$inboundSchema = z.object({
|
|
|
350
512
|
"tool_approval_required": "toolApprovalRequired",
|
|
351
513
|
});
|
|
352
514
|
});
|
|
353
|
-
function
|
|
354
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.
|
|
515
|
+
function dataSettingsFromJSON(jsonString) {
|
|
516
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DataSettings$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DataSettings' from JSON`);
|
|
355
517
|
}
|
|
356
518
|
/** @internal */
|
|
357
519
|
exports.ListAgentsResponseFormatJsonSchema$inboundSchema = z.object({
|
|
@@ -390,28 +552,28 @@ function listAgentsResponseFormatTextFromJSON(jsonString) {
|
|
|
390
552
|
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListAgentsResponseFormatText$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListAgentsResponseFormatText' from JSON`);
|
|
391
553
|
}
|
|
392
554
|
/** @internal */
|
|
393
|
-
exports.
|
|
555
|
+
exports.DataResponseFormat$inboundSchema = z.union([
|
|
394
556
|
z.lazy(() => exports.ListAgentsResponseFormatText$inboundSchema),
|
|
395
557
|
z.lazy(() => exports.ListAgentsResponseFormatJSONObject$inboundSchema),
|
|
396
558
|
z.lazy(() => exports.ListAgentsResponseFormatAgentsJSONSchema$inboundSchema),
|
|
397
559
|
]);
|
|
398
|
-
function
|
|
399
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.
|
|
560
|
+
function dataResponseFormatFromJSON(jsonString) {
|
|
561
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DataResponseFormat$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DataResponseFormat' from JSON`);
|
|
400
562
|
}
|
|
401
563
|
/** @internal */
|
|
402
|
-
exports.
|
|
564
|
+
exports.DataReasoningEffort$inboundSchema = z.nativeEnum(exports.DataReasoningEffort);
|
|
403
565
|
/** @internal */
|
|
404
|
-
exports.
|
|
405
|
-
function
|
|
406
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.
|
|
566
|
+
exports.DataStop$inboundSchema = z.union([z.string(), z.array(z.string())]);
|
|
567
|
+
function dataStopFromJSON(jsonString) {
|
|
568
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DataStop$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DataStop' from JSON`);
|
|
407
569
|
}
|
|
408
570
|
/** @internal */
|
|
409
|
-
exports.
|
|
571
|
+
exports.DataThinking$inboundSchema = z.union([
|
|
410
572
|
components.ThinkingConfigDisabledSchema$inboundSchema,
|
|
411
573
|
components.ThinkingConfigEnabledSchema$inboundSchema,
|
|
412
574
|
]);
|
|
413
|
-
function
|
|
414
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.
|
|
575
|
+
function dataThinkingFromJSON(jsonString) {
|
|
576
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DataThinking$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DataThinking' from JSON`);
|
|
415
577
|
}
|
|
416
578
|
/** @internal */
|
|
417
579
|
exports.ListAgentsToolChoiceType$inboundSchema = z.nativeEnum(exports.ListAgentsToolChoiceType);
|
|
@@ -433,52 +595,53 @@ function listAgentsToolChoice2FromJSON(jsonString) {
|
|
|
433
595
|
/** @internal */
|
|
434
596
|
exports.ListAgentsToolChoice1$inboundSchema = z.nativeEnum(exports.ListAgentsToolChoice1);
|
|
435
597
|
/** @internal */
|
|
436
|
-
exports.
|
|
598
|
+
exports.DataToolChoice$inboundSchema = z.union([
|
|
437
599
|
z.lazy(() => exports.ListAgentsToolChoice2$inboundSchema),
|
|
438
600
|
exports.ListAgentsToolChoice1$inboundSchema,
|
|
439
601
|
]);
|
|
440
|
-
function
|
|
441
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.
|
|
602
|
+
function dataToolChoiceFromJSON(jsonString) {
|
|
603
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DataToolChoice$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DataToolChoice' from JSON`);
|
|
442
604
|
}
|
|
443
605
|
/** @internal */
|
|
444
|
-
exports.
|
|
606
|
+
exports.DataModalities$inboundSchema = z.nativeEnum(exports.DataModalities);
|
|
445
607
|
/** @internal */
|
|
446
608
|
exports.ListAgentsId1$inboundSchema = z.nativeEnum(exports.ListAgentsId1);
|
|
447
609
|
/** @internal */
|
|
448
|
-
exports.
|
|
449
|
-
|
|
450
|
-
|
|
610
|
+
exports.DataId$inboundSchema = z
|
|
611
|
+
.union([exports.ListAgentsId1$inboundSchema, z.string()]);
|
|
612
|
+
function dataIdFromJSON(jsonString) {
|
|
613
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DataId$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DataId' from JSON`);
|
|
451
614
|
}
|
|
452
615
|
/** @internal */
|
|
453
|
-
exports.
|
|
616
|
+
exports.ListAgentsDataAgentsExecuteOn$inboundSchema = z.nativeEnum(exports.ListAgentsDataAgentsExecuteOn);
|
|
454
617
|
/** @internal */
|
|
455
|
-
exports.
|
|
618
|
+
exports.ListAgentsDataGuardrails$inboundSchema = z.object({
|
|
456
619
|
id: z.union([exports.ListAgentsId1$inboundSchema, z.string()]),
|
|
457
|
-
execute_on: exports.
|
|
620
|
+
execute_on: exports.ListAgentsDataAgentsExecuteOn$inboundSchema,
|
|
458
621
|
}).transform((v) => {
|
|
459
622
|
return (0, primitives_js_1.remap)(v, {
|
|
460
623
|
"execute_on": "executeOn",
|
|
461
624
|
});
|
|
462
625
|
});
|
|
463
|
-
function
|
|
464
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.
|
|
626
|
+
function listAgentsDataGuardrailsFromJSON(jsonString) {
|
|
627
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListAgentsDataGuardrails$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListAgentsDataGuardrails' from JSON`);
|
|
465
628
|
}
|
|
466
629
|
/** @internal */
|
|
467
|
-
exports.
|
|
630
|
+
exports.DataFallbacks$inboundSchema = z.object({
|
|
468
631
|
model: z.string(),
|
|
469
632
|
});
|
|
470
|
-
function
|
|
471
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.
|
|
633
|
+
function dataFallbacksFromJSON(jsonString) {
|
|
634
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DataFallbacks$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DataFallbacks' from JSON`);
|
|
472
635
|
}
|
|
473
636
|
/** @internal */
|
|
474
|
-
exports.
|
|
637
|
+
exports.ListAgentsDataAgentsResponseType$inboundSchema = z.nativeEnum(exports.ListAgentsDataAgentsResponseType);
|
|
475
638
|
/** @internal */
|
|
476
|
-
exports.
|
|
639
|
+
exports.DataCache$inboundSchema = z.object({
|
|
477
640
|
ttl: z.number().default(1800),
|
|
478
|
-
type: exports.
|
|
641
|
+
type: exports.ListAgentsDataAgentsResponseType$inboundSchema,
|
|
479
642
|
});
|
|
480
|
-
function
|
|
481
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.
|
|
643
|
+
function dataCacheFromJSON(jsonString) {
|
|
644
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DataCache$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DataCache' from JSON`);
|
|
482
645
|
}
|
|
483
646
|
/** @internal */
|
|
484
647
|
exports.ListAgentsLoadBalancerType$inboundSchema = z.nativeEnum(exports.ListAgentsLoadBalancerType);
|
|
@@ -499,23 +662,23 @@ function listAgentsLoadBalancer1FromJSON(jsonString) {
|
|
|
499
662
|
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListAgentsLoadBalancer1$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListAgentsLoadBalancer1' from JSON`);
|
|
500
663
|
}
|
|
501
664
|
/** @internal */
|
|
502
|
-
exports.
|
|
503
|
-
function
|
|
504
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.
|
|
665
|
+
exports.DataLoadBalancer$inboundSchema = z.lazy(() => exports.ListAgentsLoadBalancer1$inboundSchema);
|
|
666
|
+
function dataLoadBalancerFromJSON(jsonString) {
|
|
667
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DataLoadBalancer$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DataLoadBalancer' from JSON`);
|
|
505
668
|
}
|
|
506
669
|
/** @internal */
|
|
507
|
-
exports.
|
|
670
|
+
exports.DataTimeout$inboundSchema = z.object({
|
|
508
671
|
call_timeout: z.number(),
|
|
509
672
|
}).transform((v) => {
|
|
510
673
|
return (0, primitives_js_1.remap)(v, {
|
|
511
674
|
"call_timeout": "callTimeout",
|
|
512
675
|
});
|
|
513
676
|
});
|
|
514
|
-
function
|
|
515
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.
|
|
677
|
+
function dataTimeoutFromJSON(jsonString) {
|
|
678
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DataTimeout$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DataTimeout' from JSON`);
|
|
516
679
|
}
|
|
517
680
|
/** @internal */
|
|
518
|
-
exports.
|
|
681
|
+
exports.DataParameters$inboundSchema = z.object({
|
|
519
682
|
name: z.string().optional(),
|
|
520
683
|
frequency_penalty: z.nullable(z.number()).optional(),
|
|
521
684
|
max_tokens: z.nullable(z.number().int()).optional(),
|
|
@@ -526,7 +689,7 @@ exports.ListAgentsParameters$inboundSchema = z.object({
|
|
|
526
689
|
z.lazy(() => exports.ListAgentsResponseFormatJSONObject$inboundSchema),
|
|
527
690
|
z.lazy(() => exports.ListAgentsResponseFormatAgentsJSONSchema$inboundSchema),
|
|
528
691
|
]).optional(),
|
|
529
|
-
reasoning_effort: exports.
|
|
692
|
+
reasoning_effort: exports.DataReasoningEffort$inboundSchema.optional(),
|
|
530
693
|
verbosity: z.string().optional(),
|
|
531
694
|
seed: z.nullable(z.number()).optional(),
|
|
532
695
|
stop: z.nullable(z.union([z.string(), z.array(z.string())])).optional(),
|
|
@@ -542,15 +705,13 @@ exports.ListAgentsParameters$inboundSchema = z.object({
|
|
|
542
705
|
exports.ListAgentsToolChoice1$inboundSchema,
|
|
543
706
|
]).optional(),
|
|
544
707
|
parallel_tool_calls: z.boolean().optional(),
|
|
545
|
-
modalities: z.nullable(z.array(exports.
|
|
546
|
-
|
|
547
|
-
guardrails: z.array(z.lazy(() => exports.ListAgentsAgentsGuardrails$inboundSchema))
|
|
708
|
+
modalities: z.nullable(z.array(exports.DataModalities$inboundSchema)).optional(),
|
|
709
|
+
guardrails: z.array(z.lazy(() => exports.ListAgentsDataGuardrails$inboundSchema))
|
|
548
710
|
.optional(),
|
|
549
|
-
fallbacks: z.array(z.lazy(() => exports.
|
|
550
|
-
|
|
551
|
-
cache: z.lazy(() => exports.ListAgentsCache$inboundSchema).optional(),
|
|
711
|
+
fallbacks: z.array(z.lazy(() => exports.DataFallbacks$inboundSchema)).optional(),
|
|
712
|
+
cache: z.lazy(() => exports.DataCache$inboundSchema).optional(),
|
|
552
713
|
load_balancer: z.lazy(() => exports.ListAgentsLoadBalancer1$inboundSchema).optional(),
|
|
553
|
-
timeout: z.lazy(() => exports.
|
|
714
|
+
timeout: z.lazy(() => exports.DataTimeout$inboundSchema).optional(),
|
|
554
715
|
}).transform((v) => {
|
|
555
716
|
return (0, primitives_js_1.remap)(v, {
|
|
556
717
|
"frequency_penalty": "frequencyPenalty",
|
|
@@ -566,11 +727,11 @@ exports.ListAgentsParameters$inboundSchema = z.object({
|
|
|
566
727
|
"load_balancer": "loadBalancer",
|
|
567
728
|
});
|
|
568
729
|
});
|
|
569
|
-
function
|
|
570
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.
|
|
730
|
+
function dataParametersFromJSON(jsonString) {
|
|
731
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DataParameters$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DataParameters' from JSON`);
|
|
571
732
|
}
|
|
572
733
|
/** @internal */
|
|
573
|
-
exports.
|
|
734
|
+
exports.DataRetry$inboundSchema = z.object({
|
|
574
735
|
count: z.number().default(3),
|
|
575
736
|
on_codes: z.array(z.number()).optional(),
|
|
576
737
|
}).transform((v) => {
|
|
@@ -578,8 +739,8 @@ exports.ListAgentsRetry$inboundSchema = z.object({
|
|
|
578
739
|
"on_codes": "onCodes",
|
|
579
740
|
});
|
|
580
741
|
});
|
|
581
|
-
function
|
|
582
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.
|
|
742
|
+
function dataRetryFromJSON(jsonString) {
|
|
743
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DataRetry$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DataRetry' from JSON`);
|
|
583
744
|
}
|
|
584
745
|
/** @internal */
|
|
585
746
|
exports.ListAgentsResponseFormatAgentsResponseJsonSchema$inboundSchema = z.object({
|
|
@@ -823,19 +984,19 @@ function listAgentsFallbackModelConfiguration2FromJSON(jsonString) {
|
|
|
823
984
|
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListAgentsFallbackModelConfiguration2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListAgentsFallbackModelConfiguration2' from JSON`);
|
|
824
985
|
}
|
|
825
986
|
/** @internal */
|
|
826
|
-
exports.
|
|
987
|
+
exports.DataFallbackModelConfiguration$inboundSchema = z.union([
|
|
827
988
|
z.lazy(() => exports.ListAgentsFallbackModelConfiguration2$inboundSchema),
|
|
828
989
|
z.string(),
|
|
829
990
|
]);
|
|
830
|
-
function
|
|
831
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.
|
|
991
|
+
function dataFallbackModelConfigurationFromJSON(jsonString) {
|
|
992
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DataFallbackModelConfiguration$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DataFallbackModelConfiguration' from JSON`);
|
|
832
993
|
}
|
|
833
994
|
/** @internal */
|
|
834
|
-
exports.
|
|
995
|
+
exports.DataModel$inboundSchema = z.object({
|
|
835
996
|
id: z.string(),
|
|
836
997
|
integration_id: z.nullable(z.string()).optional(),
|
|
837
|
-
parameters: z.lazy(() => exports.
|
|
838
|
-
retry: z.lazy(() => exports.
|
|
998
|
+
parameters: z.lazy(() => exports.DataParameters$inboundSchema).optional(),
|
|
999
|
+
retry: z.lazy(() => exports.DataRetry$inboundSchema).optional(),
|
|
839
1000
|
fallback_models: z.nullable(z.array(z.union([
|
|
840
1001
|
z.lazy(() => exports.ListAgentsFallbackModelConfiguration2$inboundSchema),
|
|
841
1002
|
z.string(),
|
|
@@ -846,43 +1007,12 @@ exports.ListAgentsModel$inboundSchema = z.object({
|
|
|
846
1007
|
"fallback_models": "fallbackModels",
|
|
847
1008
|
});
|
|
848
1009
|
});
|
|
849
|
-
function
|
|
850
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.
|
|
851
|
-
}
|
|
852
|
-
/** @internal */
|
|
853
|
-
exports.ListAgentsTeamOfAgents$inboundSchema = z.object({
|
|
854
|
-
key: z.string(),
|
|
855
|
-
role: z.string().optional(),
|
|
856
|
-
});
|
|
857
|
-
function listAgentsTeamOfAgentsFromJSON(jsonString) {
|
|
858
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListAgentsTeamOfAgents$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListAgentsTeamOfAgents' from JSON`);
|
|
1010
|
+
function dataModelFromJSON(jsonString) {
|
|
1011
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DataModel$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DataModel' from JSON`);
|
|
859
1012
|
}
|
|
860
1013
|
/** @internal */
|
|
861
|
-
exports.
|
|
862
|
-
|
|
863
|
-
}).transform((v) => {
|
|
864
|
-
return (0, primitives_js_1.remap)(v, {
|
|
865
|
-
"total_cost": "totalCost",
|
|
866
|
-
});
|
|
867
|
-
});
|
|
868
|
-
function listAgentsMetricsFromJSON(jsonString) {
|
|
869
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListAgentsMetrics$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListAgentsMetrics' from JSON`);
|
|
870
|
-
}
|
|
871
|
-
/** @internal */
|
|
872
|
-
exports.ListAgentsKnowledgeBases$inboundSchema = z.object({
|
|
873
|
-
knowledge_id: z.string(),
|
|
874
|
-
}).transform((v) => {
|
|
875
|
-
return (0, primitives_js_1.remap)(v, {
|
|
876
|
-
"knowledge_id": "knowledgeId",
|
|
877
|
-
});
|
|
878
|
-
});
|
|
879
|
-
function listAgentsKnowledgeBasesFromJSON(jsonString) {
|
|
880
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListAgentsKnowledgeBases$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListAgentsKnowledgeBases' from JSON`);
|
|
881
|
-
}
|
|
882
|
-
/** @internal */
|
|
883
|
-
exports.ListAgentsSource$inboundSchema = z.nativeEnum(exports.ListAgentsSource);
|
|
884
|
-
/** @internal */
|
|
885
|
-
exports.ListAgentsData$inboundSchema = z.object({
|
|
1014
|
+
exports.Data1$inboundSchema = z
|
|
1015
|
+
.object({
|
|
886
1016
|
_id: z.string(),
|
|
887
1017
|
key: z.string(),
|
|
888
1018
|
display_name: z.string().optional(),
|
|
@@ -890,42 +1020,55 @@ exports.ListAgentsData$inboundSchema = z.object({
|
|
|
890
1020
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
891
1021
|
created: z.string().optional(),
|
|
892
1022
|
updated: z.string().optional(),
|
|
893
|
-
|
|
894
|
-
description: z.string(),
|
|
895
|
-
system_prompt: z.string().optional(),
|
|
896
|
-
instructions: z.string(),
|
|
897
|
-
status: exports.ListAgentsStatus$inboundSchema,
|
|
898
|
-
settings: z.lazy(() => exports.ListAgentsSettings$inboundSchema).optional(),
|
|
899
|
-
model: z.lazy(() => exports.ListAgentsModel$inboundSchema),
|
|
1023
|
+
status: exports.DataStatus$inboundSchema,
|
|
900
1024
|
version_hash: z.string().optional(),
|
|
901
1025
|
path: z.string(),
|
|
902
|
-
memory_stores: z.array(z.string()),
|
|
903
|
-
team_of_agents: z.array(z.lazy(() => exports.
|
|
904
|
-
|
|
1026
|
+
memory_stores: z.array(z.string()).optional(),
|
|
1027
|
+
team_of_agents: z.array(z.lazy(() => exports.DataTeamOfAgents$inboundSchema))
|
|
1028
|
+
.optional(),
|
|
1029
|
+
metrics: z.lazy(() => exports.DataMetrics$inboundSchema).optional(),
|
|
905
1030
|
variables: z.record(z.any()).optional(),
|
|
906
|
-
knowledge_bases: z.array(z.lazy(() => exports.
|
|
1031
|
+
knowledge_bases: z.array(z.lazy(() => exports.DataKnowledgeBases$inboundSchema))
|
|
907
1032
|
.optional(),
|
|
908
|
-
source: exports.
|
|
1033
|
+
source: exports.DataSource$inboundSchema.optional(),
|
|
1034
|
+
type: z.literal("internal"),
|
|
1035
|
+
role: z.string(),
|
|
1036
|
+
description: z.string(),
|
|
1037
|
+
system_prompt: z.string().optional(),
|
|
1038
|
+
instructions: z.string(),
|
|
1039
|
+
settings: z.lazy(() => exports.DataSettings$inboundSchema).optional(),
|
|
1040
|
+
model: z.lazy(() => exports.DataModel$inboundSchema),
|
|
909
1041
|
}).transform((v) => {
|
|
910
1042
|
return (0, primitives_js_1.remap)(v, {
|
|
911
1043
|
"_id": "id",
|
|
912
1044
|
"display_name": "displayName",
|
|
913
1045
|
"created_by_id": "createdById",
|
|
914
1046
|
"updated_by_id": "updatedById",
|
|
915
|
-
"system_prompt": "systemPrompt",
|
|
916
1047
|
"version_hash": "versionHash",
|
|
917
1048
|
"memory_stores": "memoryStores",
|
|
918
1049
|
"team_of_agents": "teamOfAgents",
|
|
919
1050
|
"knowledge_bases": "knowledgeBases",
|
|
1051
|
+
"system_prompt": "systemPrompt",
|
|
920
1052
|
});
|
|
921
1053
|
});
|
|
1054
|
+
function data1FromJSON(jsonString) {
|
|
1055
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.Data1$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Data1' from JSON`);
|
|
1056
|
+
}
|
|
1057
|
+
/** @internal */
|
|
1058
|
+
exports.ListAgentsData$inboundSchema = z.union([
|
|
1059
|
+
z.lazy(() => exports.Data1$inboundSchema),
|
|
1060
|
+
z.lazy(() => exports.Data2$inboundSchema),
|
|
1061
|
+
]);
|
|
922
1062
|
function listAgentsDataFromJSON(jsonString) {
|
|
923
1063
|
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListAgentsData$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListAgentsData' from JSON`);
|
|
924
1064
|
}
|
|
925
1065
|
/** @internal */
|
|
926
1066
|
exports.ListAgentsResponseBody$inboundSchema = z.object({
|
|
927
1067
|
object: exports.ListAgentsObject$inboundSchema,
|
|
928
|
-
data: z.array(z.
|
|
1068
|
+
data: z.array(z.union([
|
|
1069
|
+
z.lazy(() => exports.Data1$inboundSchema),
|
|
1070
|
+
z.lazy(() => exports.Data2$inboundSchema),
|
|
1071
|
+
])),
|
|
929
1072
|
has_more: z.boolean(),
|
|
930
1073
|
}).transform((v) => {
|
|
931
1074
|
return (0, primitives_js_1.remap)(v, {
|