@orq-ai/node 4.1.0-rc.33 → 4.1.0-rc.34
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 +18 -38
- package/bin/mcp-server.js +9851 -9147
- package/bin/mcp-server.js.map +82 -118
- package/examples/package-lock.json +1 -1
- package/funcs/agentsResponsesCreate.d.ts +1 -7
- package/funcs/agentsResponsesCreate.d.ts.map +1 -1
- package/funcs/agentsResponsesCreate.js +2 -9
- package/funcs/agentsResponsesCreate.js.map +1 -1
- package/funcs/budgetsCreate.d.ts +1 -1
- package/funcs/budgetsCreate.js +1 -1
- package/funcs/contactsList.js +0 -1
- package/funcs/contactsList.js.map +1 -1
- package/funcs/memoryStoresListDocuments.js +0 -2
- package/funcs/memoryStoresListDocuments.js.map +1 -1
- package/funcs/memoryStoresListMemories.js +0 -1
- package/funcs/memoryStoresListMemories.js.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.d.ts.map +1 -1
- package/mcp-server/server.js +1 -13
- package/mcp-server/server.js.map +1 -1
- package/mcp-server/tools/budgetsCreate.js +1 -1
- package/mcp-server/tools/budgetsCreate.js.map +1 -1
- package/models/components/agentexecutionstartedstreamingevent.d.ts +8 -8
- package/models/components/agentexecutionstartedstreamingevent.d.ts.map +1 -1
- package/models/components/agentexecutionstartedstreamingevent.js +12 -11
- package/models/components/agentexecutionstartedstreamingevent.js.map +1 -1
- package/models/components/agentinactivestreamingevent.d.ts +21 -21
- package/models/components/agentinactivestreamingevent.d.ts.map +1 -1
- package/models/components/agentinactivestreamingevent.js +28 -27
- package/models/components/agentinactivestreamingevent.js.map +1 -1
- package/models/components/agentthoughtstreamingevent.d.ts +24 -26
- package/models/components/agentthoughtstreamingevent.d.ts.map +1 -1
- package/models/components/agentthoughtstreamingevent.js +32 -34
- package/models/components/agentthoughtstreamingevent.js.map +1 -1
- package/models/components/imagecontentpartschema.d.ts +18 -18
- package/models/components/imagecontentpartschema.d.ts.map +1 -1
- package/models/components/imagecontentpartschema.js +21 -23
- package/models/components/imagecontentpartschema.js.map +1 -1
- package/models/components/index.d.ts +2 -16
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +2 -16
- package/models/components/index.js.map +1 -1
- package/models/components/invokedeploymentrequest.d.ts +1028 -149
- package/models/components/invokedeploymentrequest.d.ts.map +1 -1
- package/models/components/invokedeploymentrequest.js +984 -128
- package/models/components/invokedeploymentrequest.js.map +1 -1
- package/models/components/thinkingconfigdisabledschema.d.ts +23 -0
- package/models/components/thinkingconfigdisabledschema.d.ts.map +1 -0
- package/{mcp-server/tools/conversationsDelete.js → models/components/thinkingconfigdisabledschema.js} +19 -24
- package/models/components/thinkingconfigdisabledschema.js.map +1 -0
- package/models/components/thinkingconfigenabledschema.d.ts +49 -0
- package/models/components/thinkingconfigenabledschema.d.ts.map +1 -0
- package/models/components/thinkingconfigenabledschema.js +84 -0
- package/models/components/thinkingconfigenabledschema.js.map +1 -0
- package/models/components/toolexecutionfailedstreamingevent.d.ts +0 -2
- package/models/components/toolexecutionfailedstreamingevent.d.ts.map +1 -1
- package/models/components/toolexecutionfailedstreamingevent.js +0 -2
- package/models/components/toolexecutionfailedstreamingevent.js.map +1 -1
- package/models/components/toolexecutionfinishedstreamingevent.d.ts +0 -2
- package/models/components/toolexecutionfinishedstreamingevent.d.ts.map +1 -1
- package/models/components/toolexecutionfinishedstreamingevent.js +0 -2
- package/models/components/toolexecutionfinishedstreamingevent.js.map +1 -1
- package/models/components/toolexecutionstartedstreamingevent.d.ts +0 -2
- package/models/components/toolexecutionstartedstreamingevent.d.ts.map +1 -1
- package/models/components/toolexecutionstartedstreamingevent.js +0 -2
- package/models/components/toolexecutionstartedstreamingevent.js.map +1 -1
- package/models/errors/index.d.ts +0 -4
- package/models/errors/index.d.ts.map +1 -1
- package/models/errors/index.js +0 -4
- package/models/errors/index.js.map +1 -1
- package/models/operations/createagentrequest.d.ts +17 -207
- package/models/operations/createagentrequest.d.ts.map +1 -1
- package/models/operations/createagentrequest.js +71 -190
- package/models/operations/createagentrequest.js.map +1 -1
- package/models/operations/createagentresponserequest.d.ts +1 -35
- package/models/operations/createagentresponserequest.d.ts.map +1 -1
- package/models/operations/createagentresponserequest.js +1 -55
- package/models/operations/createagentresponserequest.js.map +1 -1
- package/models/operations/createbudget.d.ts +13 -69
- package/models/operations/createbudget.d.ts.map +1 -1
- package/models/operations/createbudget.js +12 -61
- package/models/operations/createbudget.js.map +1 -1
- package/models/operations/createcontact.js +2 -2
- package/models/operations/createdataset.js +2 -2
- package/models/operations/createdatasetitem.d.ts +1033 -153
- package/models/operations/createdatasetitem.d.ts.map +1 -1
- package/models/operations/createdatasetitem.js +957 -147
- package/models/operations/createdatasetitem.js.map +1 -1
- package/models/operations/createdatasource.js +2 -2
- package/models/operations/createeval.js +28 -28
- package/models/operations/creatememory.d.ts +5 -10
- package/models/operations/creatememory.d.ts.map +1 -1
- package/models/operations/creatememory.js +2 -6
- package/models/operations/creatememory.js.map +1 -1
- package/models/operations/creatememorydocument.d.ts +4 -4
- package/models/operations/creatememorydocument.d.ts.map +1 -1
- package/models/operations/creatememorydocument.js +2 -2
- package/models/operations/creatememorydocument.js.map +1 -1
- package/models/operations/createprompt.d.ts +489 -146
- package/models/operations/createprompt.d.ts.map +1 -1
- package/models/operations/createprompt.js +483 -168
- package/models/operations/createprompt.js.map +1 -1
- package/models/operations/createtool.js +12 -12
- package/models/operations/deploymentcreatemetric.d.ts +1034 -154
- package/models/operations/deploymentcreatemetric.d.ts.map +1 -1
- package/models/operations/deploymentcreatemetric.js +972 -137
- package/models/operations/deploymentcreatemetric.js.map +1 -1
- package/models/operations/deploymentgetconfig.d.ts +1101 -221
- package/models/operations/deploymentgetconfig.d.ts.map +1 -1
- package/models/operations/deploymentgetconfig.js +1059 -263
- package/models/operations/deploymentgetconfig.js.map +1 -1
- package/models/operations/deploymentinvoke.d.ts +26 -27
- package/models/operations/deploymentinvoke.d.ts.map +1 -1
- package/models/operations/deploymentinvoke.js +28 -29
- package/models/operations/deploymentinvoke.js.map +1 -1
- package/models/operations/deployments.d.ts +13 -14
- package/models/operations/deployments.d.ts.map +1 -1
- package/models/operations/deployments.js +13 -14
- package/models/operations/deployments.js.map +1 -1
- package/models/operations/deploymentstream.d.ts +1064 -185
- package/models/operations/deploymentstream.d.ts.map +1 -1
- package/models/operations/deploymentstream.js +990 -164
- package/models/operations/deploymentstream.js.map +1 -1
- package/models/operations/fileget.js +2 -2
- package/models/operations/filelist.js +2 -2
- package/models/operations/fileupload.d.ts +8 -8
- package/models/operations/fileupload.d.ts.map +1 -1
- package/models/operations/fileupload.js +14 -13
- package/models/operations/fileupload.js.map +1 -1
- package/models/operations/getallmemories.d.ts +0 -10
- package/models/operations/getallmemories.d.ts.map +1 -1
- package/models/operations/getallmemories.js +0 -6
- package/models/operations/getallmemories.js.map +1 -1
- package/models/operations/getallmemorydocuments.d.ts +0 -10
- package/models/operations/getallmemorydocuments.d.ts.map +1 -1
- package/models/operations/getallmemorydocuments.js +0 -8
- package/models/operations/getallmemorydocuments.js.map +1 -1
- package/models/operations/getallprompts.d.ts +13 -14
- package/models/operations/getallprompts.d.ts.map +1 -1
- package/models/operations/getallprompts.js +13 -14
- package/models/operations/getallprompts.js.map +1 -1
- package/models/operations/getalltools.js +12 -12
- package/models/operations/getbudget.d.ts +0 -5
- package/models/operations/getbudget.d.ts.map +1 -1
- package/models/operations/getbudget.js +2 -6
- package/models/operations/getbudget.js.map +1 -1
- package/models/operations/getevals.js +28 -28
- package/models/operations/getoneprompt.d.ts +13 -14
- package/models/operations/getoneprompt.d.ts.map +1 -1
- package/models/operations/getoneprompt.js +13 -14
- package/models/operations/getoneprompt.js.map +1 -1
- package/models/operations/getpromptversion.d.ts +13 -14
- package/models/operations/getpromptversion.d.ts.map +1 -1
- package/models/operations/getpromptversion.js +13 -14
- package/models/operations/getpromptversion.js.map +1 -1
- package/models/operations/index.d.ts +0 -6
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +0 -6
- package/models/operations/index.js.map +1 -1
- package/models/operations/listagents.d.ts +9 -105
- package/models/operations/listagents.d.ts.map +1 -1
- package/models/operations/listagents.js +36 -95
- package/models/operations/listagents.js.map +1 -1
- package/models/operations/listbudgets.d.ts +0 -5
- package/models/operations/listbudgets.d.ts.map +1 -1
- package/models/operations/listbudgets.js +2 -6
- package/models/operations/listbudgets.js.map +1 -1
- package/models/operations/listcontacts.d.ts +0 -5
- package/models/operations/listcontacts.d.ts.map +1 -1
- package/models/operations/listcontacts.js +2 -4
- package/models/operations/listcontacts.js.map +1 -1
- package/models/operations/listdatasetdatapoints.d.ts +516 -76
- package/models/operations/listdatasetdatapoints.d.ts.map +1 -1
- package/models/operations/listdatasetdatapoints.js +475 -75
- package/models/operations/listdatasetdatapoints.js.map +1 -1
- package/models/operations/listdatasets.js +2 -2
- package/models/operations/listdatasources.js +2 -2
- package/models/operations/listpromptversions.d.ts +13 -14
- package/models/operations/listpromptversions.d.ts.map +1 -1
- package/models/operations/listpromptversions.js +13 -14
- package/models/operations/listpromptversions.js.map +1 -1
- package/models/operations/retrieveagentrequest.d.ts +9 -105
- package/models/operations/retrieveagentrequest.d.ts.map +1 -1
- package/models/operations/retrieveagentrequest.js +36 -95
- package/models/operations/retrieveagentrequest.js.map +1 -1
- package/models/operations/retrievecontact.js +2 -2
- package/models/operations/retrievedatapoint.d.ts +516 -76
- package/models/operations/retrievedatapoint.d.ts.map +1 -1
- package/models/operations/retrievedatapoint.js +473 -75
- package/models/operations/retrievedatapoint.js.map +1 -1
- package/models/operations/retrievedataset.js +2 -2
- package/models/operations/retrievedatasource.js +2 -2
- package/models/operations/retrievememory.d.ts +0 -5
- package/models/operations/retrievememory.d.ts.map +1 -1
- package/models/operations/retrievememory.js +0 -4
- package/models/operations/retrievememory.js.map +1 -1
- package/models/operations/retrievetool.js +12 -12
- package/models/operations/runagent.d.ts +8 -102
- package/models/operations/runagent.d.ts.map +1 -1
- package/models/operations/runagent.js +39 -102
- package/models/operations/runagent.js.map +1 -1
- package/models/operations/streamrunagent.d.ts +8 -102
- package/models/operations/streamrunagent.d.ts.map +1 -1
- package/models/operations/streamrunagent.js +39 -101
- package/models/operations/streamrunagent.js.map +1 -1
- package/models/operations/updateagent.d.ts +17 -207
- package/models/operations/updateagent.d.ts.map +1 -1
- package/models/operations/updateagent.js +71 -189
- package/models/operations/updateagent.js.map +1 -1
- package/models/operations/updatebudget.d.ts +0 -5
- package/models/operations/updatebudget.d.ts.map +1 -1
- package/models/operations/updatebudget.js +2 -6
- package/models/operations/updatebudget.js.map +1 -1
- package/models/operations/updatecontact.js +2 -2
- package/models/operations/updatedatapoint.d.ts +1033 -153
- package/models/operations/updatedatapoint.d.ts.map +1 -1
- package/models/operations/updatedatapoint.js +955 -147
- package/models/operations/updatedatapoint.js.map +1 -1
- package/models/operations/updatedataset.js +2 -2
- package/models/operations/updatedatasource.js +2 -2
- package/models/operations/updateeval.js +28 -28
- package/models/operations/updatememory.d.ts +5 -10
- package/models/operations/updatememory.d.ts.map +1 -1
- package/models/operations/updatememory.js +2 -6
- package/models/operations/updatememory.js.map +1 -1
- package/models/operations/updatememorydocument.d.ts +4 -4
- package/models/operations/updatememorydocument.d.ts.map +1 -1
- package/models/operations/updatememorydocument.js +2 -2
- package/models/operations/updatememorydocument.js.map +1 -1
- package/models/operations/updatememorystore.d.ts +59 -24
- package/models/operations/updatememorystore.d.ts.map +1 -1
- package/models/operations/updatememorystore.js +55 -27
- package/models/operations/updatememorystore.js.map +1 -1
- package/models/operations/updateprompt.d.ts +486 -149
- package/models/operations/updateprompt.d.ts.map +1 -1
- package/models/operations/updateprompt.js +466 -156
- package/models/operations/updateprompt.js.map +1 -1
- package/models/operations/updatetool.js +14 -14
- package/package.json +1 -1
- package/sdk/budgets.d.ts +1 -1
- package/sdk/budgets.js +1 -1
- package/sdk/evals.d.ts +0 -4
- package/sdk/evals.d.ts.map +1 -1
- package/sdk/evals.js +0 -7
- package/sdk/evals.js.map +1 -1
- package/sdk/responses.d.ts +1 -5
- package/sdk/responses.d.ts.map +1 -1
- package/sdk/responses.js +1 -3
- package/sdk/responses.js.map +1 -1
- package/sdk/sdk.d.ts +0 -3
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +0 -4
- package/sdk/sdk.js.map +1 -1
- package/src/funcs/agentsResponsesCreate.ts +10 -14
- package/src/funcs/budgetsCreate.ts +1 -1
- package/src/funcs/contactsList.ts +0 -1
- package/src/funcs/memoryStoresListDocuments.ts +0 -2
- package/src/funcs/memoryStoresListMemories.ts +0 -1
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -13
- package/src/mcp-server/tools/budgetsCreate.ts +1 -1
- package/src/models/components/agentexecutionstartedstreamingevent.ts +34 -53
- package/src/models/components/agentinactivestreamingevent.ts +57 -85
- package/src/models/components/agentthoughtstreamingevent.ts +118 -167
- package/src/models/components/imagecontentpartschema.ts +37 -52
- package/src/models/components/index.ts +2 -16
- package/src/models/components/invokedeploymentrequest.ts +2543 -486
- package/src/models/components/thinkingconfigdisabledschema.ts +59 -0
- package/src/models/components/thinkingconfigenabledschema.ts +106 -0
- package/src/models/components/toolexecutionfailedstreamingevent.ts +0 -4
- package/src/models/components/toolexecutionfinishedstreamingevent.ts +0 -4
- package/src/models/components/toolexecutionstartedstreamingevent.ts +0 -4
- package/src/models/errors/index.ts +0 -4
- package/src/models/operations/createagentrequest.ts +119 -368
- package/src/models/operations/createagentresponserequest.ts +1 -134
- package/src/models/operations/createbudget.ts +28 -143
- package/src/models/operations/createcontact.ts +2 -2
- package/src/models/operations/createdataset.ts +2 -2
- package/src/models/operations/createdatasetitem.ts +2747 -562
- package/src/models/operations/createdatasource.ts +2 -2
- package/src/models/operations/createeval.ts +28 -28
- package/src/models/operations/creatememory.ts +5 -14
- package/src/models/operations/creatememorydocument.ts +4 -4
- package/src/models/operations/createprompt.ts +1217 -415
- package/src/models/operations/createtool.ts +12 -12
- package/src/models/operations/deploymentcreatemetric.ts +3037 -598
- package/src/models/operations/deploymentgetconfig.ts +2905 -828
- package/src/models/operations/deploymentinvoke.ts +46 -47
- package/src/models/operations/deployments.ts +15 -16
- package/src/models/operations/deploymentstream.ts +2842 -592
- package/src/models/operations/fileget.ts +2 -2
- package/src/models/operations/filelist.ts +2 -2
- package/src/models/operations/fileupload.ts +27 -30
- package/src/models/operations/getallmemories.ts +0 -16
- package/src/models/operations/getallmemorydocuments.ts +0 -22
- package/src/models/operations/getallprompts.ts +15 -16
- package/src/models/operations/getalltools.ts +12 -12
- package/src/models/operations/getbudget.ts +2 -11
- package/src/models/operations/getevals.ts +28 -28
- package/src/models/operations/getoneprompt.ts +15 -16
- package/src/models/operations/getpromptversion.ts +15 -16
- package/src/models/operations/index.ts +0 -6
- package/src/models/operations/listagents.ts +61 -187
- package/src/models/operations/listbudgets.ts +2 -11
- package/src/models/operations/listcontacts.ts +2 -9
- package/src/models/operations/listdatasetdatapoints.ts +1381 -314
- package/src/models/operations/listdatasets.ts +2 -2
- package/src/models/operations/listdatasources.ts +2 -2
- package/src/models/operations/listpromptversions.ts +15 -16
- package/src/models/operations/retrieveagentrequest.ts +59 -195
- package/src/models/operations/retrievecontact.ts +2 -2
- package/src/models/operations/retrievedatapoint.ts +1301 -276
- package/src/models/operations/retrievedataset.ts +2 -2
- package/src/models/operations/retrievedatasource.ts +2 -2
- package/src/models/operations/retrievememory.ts +0 -9
- package/src/models/operations/retrievetool.ts +12 -12
- package/src/models/operations/runagent.ts +62 -192
- package/src/models/operations/streamrunagent.ts +60 -199
- package/src/models/operations/updateagent.ts +119 -378
- package/src/models/operations/updatebudget.ts +2 -11
- package/src/models/operations/updatecontact.ts +2 -2
- package/src/models/operations/updatedatapoint.ts +2772 -611
- 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/updatememory.ts +5 -14
- package/src/models/operations/updatememorydocument.ts +4 -4
- package/src/models/operations/updatememorystore.ts +154 -64
- package/src/models/operations/updateprompt.ts +1142 -383
- package/src/models/operations/updatetool.ts +14 -14
- package/src/sdk/budgets.ts +1 -1
- package/src/sdk/evals.ts +0 -15
- package/src/sdk/responses.ts +3 -8
- package/src/sdk/sdk.ts +0 -6
- package/funcs/conversationsCreate.d.ts +0 -17
- package/funcs/conversationsCreate.d.ts.map +0 -1
- package/funcs/conversationsCreate.js +0 -114
- package/funcs/conversationsCreate.js.map +0 -1
- package/funcs/conversationsDelete.d.ts +0 -17
- package/funcs/conversationsDelete.d.ts.map +0 -1
- package/funcs/conversationsDelete.js +0 -127
- package/funcs/conversationsDelete.js.map +0 -1
- package/funcs/conversationsList.d.ts +0 -17
- package/funcs/conversationsList.d.ts.map +0 -1
- package/funcs/conversationsList.js +0 -124
- package/funcs/conversationsList.js.map +0 -1
- package/funcs/conversationsRetrieve.d.ts +0 -18
- package/funcs/conversationsRetrieve.d.ts.map +0 -1
- package/funcs/conversationsRetrieve.js +0 -126
- package/funcs/conversationsRetrieve.js.map +0 -1
- package/funcs/conversationsUpdate.d.ts +0 -18
- package/funcs/conversationsUpdate.d.ts.map +0 -1
- package/funcs/conversationsUpdate.js +0 -128
- package/funcs/conversationsUpdate.js.map +0 -1
- package/funcs/evalsInvoke.d.ts +0 -15
- package/funcs/evalsInvoke.d.ts.map +0 -1
- package/funcs/evalsInvoke.js +0 -121
- package/funcs/evalsInvoke.js.map +0 -1
- package/mcp-server/tools/conversationsCreate.d.ts +0 -8
- package/mcp-server/tools/conversationsCreate.d.ts.map +0 -1
- package/mcp-server/tools/conversationsCreate.js +0 -64
- package/mcp-server/tools/conversationsCreate.js.map +0 -1
- package/mcp-server/tools/conversationsDelete.d.ts +0 -8
- package/mcp-server/tools/conversationsDelete.d.ts.map +0 -1
- package/mcp-server/tools/conversationsDelete.js.map +0 -1
- package/mcp-server/tools/conversationsList.d.ts +0 -10
- package/mcp-server/tools/conversationsList.d.ts.map +0 -1
- package/mcp-server/tools/conversationsList.js +0 -66
- package/mcp-server/tools/conversationsList.js.map +0 -1
- package/mcp-server/tools/conversationsRetrieve.d.ts +0 -8
- package/mcp-server/tools/conversationsRetrieve.d.ts.map +0 -1
- package/mcp-server/tools/conversationsRetrieve.js +0 -64
- package/mcp-server/tools/conversationsRetrieve.js.map +0 -1
- package/mcp-server/tools/conversationsUpdate.d.ts +0 -10
- package/mcp-server/tools/conversationsUpdate.d.ts.map +0 -1
- package/mcp-server/tools/conversationsUpdate.js +0 -66
- package/mcp-server/tools/conversationsUpdate.js.map +0 -1
- package/mcp-server/tools/evalsInvoke.d.ts +0 -8
- package/mcp-server/tools/evalsInvoke.d.ts.map +0 -1
- package/mcp-server/tools/evalsInvoke.js +0 -62
- package/mcp-server/tools/evalsInvoke.js.map +0 -1
- package/models/operations/listconversations.d.ts +0 -60
- package/models/operations/listconversations.d.ts.map +0 -1
- package/models/operations/listconversations.js +0 -109
- package/models/operations/listconversations.js.map +0 -1
- package/sdk/conversations.d.ts +0 -40
- package/sdk/conversations.d.ts.map +0 -1
- package/sdk/conversations.js +0 -62
- package/sdk/conversations.js.map +0 -1
- package/src/funcs/conversationsCreate.ts +0 -161
- package/src/funcs/conversationsDelete.ts +0 -180
- package/src/funcs/conversationsList.ts +0 -181
- package/src/funcs/conversationsRetrieve.ts +0 -180
- package/src/funcs/conversationsUpdate.ts +0 -184
- package/src/funcs/evalsInvoke.ts +0 -177
- package/src/mcp-server/tools/conversationsCreate.ts +0 -37
- package/src/mcp-server/tools/conversationsDelete.ts +0 -35
- package/src/mcp-server/tools/conversationsList.ts +0 -41
- package/src/mcp-server/tools/conversationsRetrieve.ts +0 -37
- package/src/mcp-server/tools/conversationsUpdate.ts +0 -40
- package/src/mcp-server/tools/evalsInvoke.ts +0 -35
- package/src/models/operations/listconversations.ts +0 -161
- package/src/sdk/conversations.ts +0 -105
|
@@ -36,62 +36,93 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
40
|
-
exports.
|
|
41
|
-
exports.
|
|
42
|
-
exports.
|
|
43
|
-
exports.
|
|
44
|
-
exports.
|
|
45
|
-
exports.
|
|
46
|
-
exports.
|
|
47
|
-
exports.
|
|
48
|
-
exports.
|
|
39
|
+
exports.DeploymentGetConfigVerbosity = exports.DeploymentGetConfigReasoningEffort = exports.DeploymentGetConfigEncodingFormat = exports.DeploymentGetConfigPhotoRealVersion = exports.DeploymentGetConfigResponseFormatDeploymentsResponseType = exports.DeploymentGetConfigResponseFormatType = exports.DeploymentGetConfigResponseFormatDeploymentsType = exports.DeploymentGetConfigResponseFormat4 = exports.DeploymentGetConfigResponseFormat5 = exports.DeploymentGetConfigResponseFormat6 = exports.DeploymentGetConfigFormat = exports.DeploymentGetConfigDeploymentsResponseType = exports.DeploymentGetConfigRole = exports.DeploymentGetConfigType = exports.DeploymentGetConfigContentTtl = exports.DeploymentGetConfigContentDeploymentsRequestRequestBodyType = exports.DeploymentGetConfigContentDeploymentsRequestType = exports.DeploymentGetConfigContentDeploymentsTtl = exports.DeploymentGetConfigContentDeploymentsRequestRequestBodyMessages2Type = exports.DeploymentGetConfigContentDeploymentsRequestRequestBodyMessagesType = exports.DeploymentGetConfig2DeploymentsRequestRequestBodyTtl = exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages3Type = exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessagesTtl = exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages3Content4Type = exports.MessagesType = exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4Ttl = exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4ContentType = exports.MessagesTtl = exports.DeploymentGetConfigMessagesType = exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages5Ttl = exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages5ContentType = exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages5Type = exports.Ttl = exports.ContentType = exports.Type = exports.ContentTtl = exports.DeploymentGetConfigContentDeploymentsType = exports.DeploymentGetConfigContentType = exports.TwoTtl = exports.DeploymentGetConfig2Type = exports.DeploymentGetConfig2Ttl = exports.DeploymentGetConfig2DeploymentsRequestType = exports.PrefixMessagesType = exports.DeploymentGetConfig2DeploymentsTtl = exports.DeploymentGetConfig2DeploymentsRequestRequestBodyPrefixMessagesType = exports.PrefixMessagesTtl = exports.DeploymentGetConfigPrefixMessagesType = exports.DeploymentGetConfig2DeploymentsRequestTtl = exports.DeploymentGetConfig2DeploymentsRequestRequestBodyPrefixMessages5ContentType = exports.DeploymentGetConfig2DeploymentsRequestRequestBodyPrefixMessages5Type = void 0;
|
|
40
|
+
exports.DeploymentGetConfig2Ttl$outboundSchema = exports.DeploymentGetConfig2Ttl$inboundSchema = exports.DeploymentGetConfig2DeploymentsRequestType$outboundSchema = exports.DeploymentGetConfig2DeploymentsRequestType$inboundSchema = exports.AssistantMessage$outboundSchema = exports.AssistantMessage$inboundSchema = exports.ToolCalls$outboundSchema = exports.ToolCalls$inboundSchema = exports.FunctionT$outboundSchema = exports.FunctionT$inboundSchema = exports.PrefixMessagesType$outboundSchema = exports.PrefixMessagesType$inboundSchema = exports.Audio$outboundSchema = exports.Audio$inboundSchema = exports.DeploymentGetConfigPrefixMessagesDeploymentsContent$outboundSchema = exports.DeploymentGetConfigPrefixMessagesDeploymentsContent$inboundSchema = exports.DeploymentGetConfigContentDeployments2$outboundSchema = exports.DeploymentGetConfigContentDeployments2$inboundSchema = exports.Two1$outboundSchema = exports.Two1$inboundSchema = exports.DeploymentGetConfig2DeploymentsCacheControl$outboundSchema = exports.DeploymentGetConfig2DeploymentsCacheControl$inboundSchema = exports.DeploymentGetConfig2DeploymentsTtl$outboundSchema = exports.DeploymentGetConfig2DeploymentsTtl$inboundSchema = exports.DeploymentGetConfig2DeploymentsRequestRequestBodyPrefixMessagesType$outboundSchema = exports.DeploymentGetConfig2DeploymentsRequestRequestBodyPrefixMessagesType$inboundSchema = exports.ToolMessage$outboundSchema = exports.ToolMessage$inboundSchema = exports.PrefixMessagesCacheControl$outboundSchema = exports.PrefixMessagesCacheControl$inboundSchema = exports.PrefixMessagesTtl$outboundSchema = exports.PrefixMessagesTtl$inboundSchema = exports.DeploymentGetConfigPrefixMessagesType$outboundSchema = exports.DeploymentGetConfigPrefixMessagesType$inboundSchema = exports.DeploymentGetConfigPrefixMessagesDeploymentsRequestContent$outboundSchema = exports.DeploymentGetConfigPrefixMessagesDeploymentsRequestContent$inboundSchema = exports.DeploymentGetConfigContentDeploymentsRequest2$outboundSchema = exports.DeploymentGetConfigContentDeploymentsRequest2$inboundSchema = exports.DeploymentGetConfig21$outboundSchema = exports.DeploymentGetConfig21$inboundSchema = exports.DeploymentGetConfig2DeploymentsRequestCacheControl$outboundSchema = exports.DeploymentGetConfig2DeploymentsRequestCacheControl$inboundSchema = exports.DeploymentGetConfig2DeploymentsRequestTtl$outboundSchema = exports.DeploymentGetConfig2DeploymentsRequestTtl$inboundSchema = exports.DeploymentGetConfig2DeploymentsRequestRequestBodyPrefixMessages5ContentType$outboundSchema = exports.DeploymentGetConfig2DeploymentsRequestRequestBodyPrefixMessages5ContentType$inboundSchema = exports.DeploymentGetConfig2DeploymentsRequestRequestBodyPrefixMessages5Type$outboundSchema = exports.DeploymentGetConfig2DeploymentsRequestRequestBodyPrefixMessages5Type$inboundSchema = exports.DeploymentGetConfigDeploymentsType = exports.DeploymentGetConfigThinkingLevel = void 0;
|
|
41
|
+
exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages5Type$outboundSchema = exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages5Type$inboundSchema = exports.PrefixMessages$outboundSchema = exports.PrefixMessages$inboundSchema = exports.SystemMessage$outboundSchema = exports.SystemMessage$inboundSchema = exports.Content$outboundSchema = exports.Content$inboundSchema = exports.Two$outboundSchema = exports.Two$inboundSchema = exports.CacheControl$outboundSchema = exports.CacheControl$inboundSchema = exports.Ttl$outboundSchema = exports.Ttl$inboundSchema = exports.ContentType$outboundSchema = exports.ContentType$inboundSchema = exports.Type$outboundSchema = exports.Type$inboundSchema = exports.DeveloperMessage$outboundSchema = exports.DeveloperMessage$inboundSchema = exports.PrefixMessagesContent$outboundSchema = exports.PrefixMessagesContent$inboundSchema = exports.Content2$outboundSchema = exports.Content2$inboundSchema = exports.ContentCacheControl$outboundSchema = exports.ContentCacheControl$inboundSchema = exports.ContentTtl$outboundSchema = exports.ContentTtl$inboundSchema = exports.DeploymentGetConfigContentDeploymentsType$outboundSchema = exports.DeploymentGetConfigContentDeploymentsType$inboundSchema = exports.DeploymentGetConfigContentType$outboundSchema = exports.DeploymentGetConfigContentType$inboundSchema = exports.UserMessage$outboundSchema = exports.UserMessage$inboundSchema = exports.DeploymentGetConfigPrefixMessagesContent$outboundSchema = exports.DeploymentGetConfigPrefixMessagesContent$inboundSchema = exports.DeploymentGetConfigContent2$outboundSchema = exports.DeploymentGetConfigContent2$inboundSchema = exports.One$outboundSchema = exports.One$inboundSchema = exports.TwoCacheControl$outboundSchema = exports.TwoCacheControl$inboundSchema = exports.TwoTtl$outboundSchema = exports.TwoTtl$inboundSchema = exports.DeploymentGetConfig2Type$outboundSchema = exports.DeploymentGetConfig2Type$inboundSchema = exports.Four$outboundSchema = exports.Four$inboundSchema = exports.DeploymentGetConfig2CacheControl$outboundSchema = exports.DeploymentGetConfig2CacheControl$inboundSchema = void 0;
|
|
42
|
+
exports.Two4$outboundSchema = exports.Two4$inboundSchema = exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessagesCacheControl$outboundSchema = exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessagesCacheControl$inboundSchema = exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessagesTtl$outboundSchema = exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessagesTtl$inboundSchema = exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages3Content4Type$outboundSchema = exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages3Content4Type$inboundSchema = exports.MessagesAssistantMessage$outboundSchema = exports.MessagesAssistantMessage$inboundSchema = exports.MessagesToolCalls$outboundSchema = exports.MessagesToolCalls$inboundSchema = exports.MessagesFunction$outboundSchema = exports.MessagesFunction$inboundSchema = exports.MessagesType$outboundSchema = exports.MessagesType$inboundSchema = exports.MessagesAudio$outboundSchema = exports.MessagesAudio$inboundSchema = exports.DeploymentGetConfigMessagesDeploymentsRequestContent$outboundSchema = exports.DeploymentGetConfigMessagesDeploymentsRequestContent$inboundSchema = exports.DeploymentGetConfigContentDeploymentsRequestRequestBodyMessages42$outboundSchema = exports.DeploymentGetConfigContentDeploymentsRequestRequestBodyMessages42$inboundSchema = exports.DeploymentGetConfig2DeploymentsRequest1$outboundSchema = exports.DeploymentGetConfig2DeploymentsRequest1$inboundSchema = exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4CacheControl$outboundSchema = exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4CacheControl$inboundSchema = exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4Ttl$outboundSchema = exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4Ttl$inboundSchema = exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4ContentType$outboundSchema = exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4ContentType$inboundSchema = exports.MessagesToolMessage$outboundSchema = exports.MessagesToolMessage$inboundSchema = exports.MessagesCacheControl$outboundSchema = exports.MessagesCacheControl$inboundSchema = exports.MessagesTtl$outboundSchema = exports.MessagesTtl$inboundSchema = exports.DeploymentGetConfigMessagesType$outboundSchema = exports.DeploymentGetConfigMessagesType$inboundSchema = exports.DeploymentGetConfigMessagesDeploymentsRequestRequestBodyContent$outboundSchema = exports.DeploymentGetConfigMessagesDeploymentsRequestRequestBodyContent$inboundSchema = exports.DeploymentGetConfigContentDeploymentsRequestRequestBodyMessages52$outboundSchema = exports.DeploymentGetConfigContentDeploymentsRequestRequestBodyMessages52$inboundSchema = exports.DeploymentGetConfig2DeploymentsRequestRequestBody1$outboundSchema = exports.DeploymentGetConfig2DeploymentsRequestRequestBody1$inboundSchema = exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages5CacheControl$outboundSchema = exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages5CacheControl$inboundSchema = exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages5Ttl$outboundSchema = exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages5Ttl$inboundSchema = exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages5ContentType$outboundSchema = exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages5ContentType$inboundSchema = void 0;
|
|
43
|
+
exports.InvokeOptions$outboundSchema = exports.InvokeOptions$inboundSchema = exports.Documents$outboundSchema = exports.Documents$inboundSchema = exports.Metadata$outboundSchema = exports.Metadata$inboundSchema = exports.Messages$outboundSchema = exports.Messages$inboundSchema = exports.MessagesSystemMessage$outboundSchema = exports.MessagesSystemMessage$inboundSchema = exports.MessagesContent$outboundSchema = exports.MessagesContent$inboundSchema = exports.DeploymentGetConfigContentDeploymentsRequestRequestBody2$outboundSchema = exports.DeploymentGetConfigContentDeploymentsRequestRequestBody2$inboundSchema = exports.DeploymentGetConfigContentCacheControl$outboundSchema = exports.DeploymentGetConfigContentCacheControl$inboundSchema = exports.DeploymentGetConfigContentTtl$outboundSchema = exports.DeploymentGetConfigContentTtl$inboundSchema = exports.DeploymentGetConfigContentDeploymentsRequestRequestBodyType$outboundSchema = exports.DeploymentGetConfigContentDeploymentsRequestRequestBodyType$inboundSchema = exports.DeploymentGetConfigContentDeploymentsRequestType$outboundSchema = exports.DeploymentGetConfigContentDeploymentsRequestType$inboundSchema = exports.MessagesDeveloperMessage$outboundSchema = exports.MessagesDeveloperMessage$inboundSchema = exports.DeploymentGetConfigMessagesContent$outboundSchema = exports.DeploymentGetConfigMessagesContent$inboundSchema = exports.DeploymentGetConfigContentDeploymentsRequestRequestBodyMessages2$outboundSchema = exports.DeploymentGetConfigContentDeploymentsRequestRequestBodyMessages2$inboundSchema = exports.DeploymentGetConfigContentDeploymentsCacheControl$outboundSchema = exports.DeploymentGetConfigContentDeploymentsCacheControl$inboundSchema = exports.DeploymentGetConfigContentDeploymentsTtl$outboundSchema = exports.DeploymentGetConfigContentDeploymentsTtl$inboundSchema = exports.DeploymentGetConfigContentDeploymentsRequestRequestBodyMessages2Type$outboundSchema = exports.DeploymentGetConfigContentDeploymentsRequestRequestBodyMessages2Type$inboundSchema = exports.DeploymentGetConfigContentDeploymentsRequestRequestBodyMessagesType$outboundSchema = exports.DeploymentGetConfigContentDeploymentsRequestRequestBodyMessagesType$inboundSchema = exports.MessagesUserMessage$outboundSchema = exports.MessagesUserMessage$inboundSchema = exports.DeploymentGetConfigMessagesDeploymentsContent$outboundSchema = exports.DeploymentGetConfigMessagesDeploymentsContent$inboundSchema = exports.DeploymentGetConfigContentDeploymentsRequestRequestBodyMessages32$outboundSchema = exports.DeploymentGetConfigContentDeploymentsRequestRequestBodyMessages32$inboundSchema = exports.DeploymentGetConfig2Deployments1$outboundSchema = exports.DeploymentGetConfig2Deployments1$inboundSchema = exports.DeploymentGetConfig2DeploymentsRequestRequestBodyCacheControl$outboundSchema = exports.DeploymentGetConfig2DeploymentsRequestRequestBodyCacheControl$inboundSchema = exports.DeploymentGetConfig2DeploymentsRequestRequestBodyTtl$outboundSchema = exports.DeploymentGetConfig2DeploymentsRequestRequestBodyTtl$inboundSchema = exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages3Type$outboundSchema = exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages3Type$inboundSchema = void 0;
|
|
44
|
+
exports.AndGt$outboundSchema = exports.AndGt$inboundSchema = exports.AndGte$outboundSchema = exports.AndGte$inboundSchema = exports.AndLt$outboundSchema = exports.AndLt$inboundSchema = exports.AndLte$outboundSchema = exports.AndLte$inboundSchema = exports.AndIn$outboundSchema = exports.AndIn$inboundSchema = exports.DeploymentGetConfigAndIn$outboundSchema = exports.DeploymentGetConfigAndIn$inboundSchema = exports.AndNin$outboundSchema = exports.AndNin$inboundSchema = exports.DeploymentGetConfigAndNin$outboundSchema = exports.DeploymentGetConfigAndNin$inboundSchema = exports.AndExists$outboundSchema = exports.AndExists$inboundSchema = exports.Or$outboundSchema = exports.Or$inboundSchema = exports.KnowledgeFilterOr$outboundSchema = exports.KnowledgeFilterOr$inboundSchema = exports.OrEq$outboundSchema = exports.OrEq$inboundSchema = exports.DeploymentGetConfigOrEq$outboundSchema = exports.DeploymentGetConfigOrEq$inboundSchema = exports.OrNe$outboundSchema = exports.OrNe$inboundSchema = exports.DeploymentGetConfigOrNe$outboundSchema = exports.DeploymentGetConfigOrNe$inboundSchema = exports.OrGt$outboundSchema = exports.OrGt$inboundSchema = exports.OrGte$outboundSchema = exports.OrGte$inboundSchema = exports.OrLt$outboundSchema = exports.OrLt$inboundSchema = exports.OrLte$outboundSchema = exports.OrLte$inboundSchema = exports.OrIn$outboundSchema = exports.OrIn$inboundSchema = exports.DeploymentGetConfigOrIn$outboundSchema = exports.DeploymentGetConfigOrIn$inboundSchema = exports.OrNin$outboundSchema = exports.OrNin$inboundSchema = exports.DeploymentGetConfigOrNin$outboundSchema = exports.DeploymentGetConfigOrNin$inboundSchema = exports.OrExists$outboundSchema = exports.OrExists$inboundSchema = exports.Thread$outboundSchema = exports.Thread$inboundSchema = void 0;
|
|
45
|
+
exports.DeploymentGetConfig2File$outboundSchema = exports.DeploymentGetConfig2File$inboundSchema = exports.DeploymentGetConfigRole$outboundSchema = exports.DeploymentGetConfigRole$inboundSchema = exports.DeploymentGetConfigType$outboundSchema = exports.DeploymentGetConfigType$inboundSchema = exports.DeploymentGetConfigRequestBody$outboundSchema = exports.DeploymentGetConfigRequestBody$inboundSchema = exports.KnowledgeFilter$outboundSchema = exports.KnowledgeFilter$inboundSchema = exports.KnowledgeFilter1$outboundSchema = exports.KnowledgeFilter1$inboundSchema = exports.Eq$outboundSchema = exports.Eq$inboundSchema = exports.OneEq$outboundSchema = exports.OneEq$inboundSchema = exports.Ne$outboundSchema = exports.Ne$inboundSchema = exports.OneNe$outboundSchema = exports.OneNe$inboundSchema = exports.Gt$outboundSchema = exports.Gt$inboundSchema = exports.Gte$outboundSchema = exports.Gte$inboundSchema = exports.Lt$outboundSchema = exports.Lt$inboundSchema = exports.Lte$outboundSchema = exports.Lte$inboundSchema = exports.In$outboundSchema = exports.In$inboundSchema = exports.OneIn$outboundSchema = exports.OneIn$inboundSchema = exports.Nin$outboundSchema = exports.Nin$inboundSchema = exports.OneNin$outboundSchema = exports.OneNin$inboundSchema = exports.Exists$outboundSchema = exports.Exists$inboundSchema = exports.And$outboundSchema = exports.And$inboundSchema = exports.KnowledgeFilterAnd$outboundSchema = exports.KnowledgeFilterAnd$inboundSchema = exports.AndEq$outboundSchema = exports.AndEq$inboundSchema = exports.DeploymentGetConfigAndEq$outboundSchema = exports.DeploymentGetConfigAndEq$inboundSchema = exports.AndNe$outboundSchema = exports.AndNe$inboundSchema = exports.DeploymentGetConfigAndNe$outboundSchema = exports.DeploymentGetConfigAndNe$inboundSchema = void 0;
|
|
46
|
+
exports.DeploymentGetConfigReasoningEffort$outboundSchema = exports.DeploymentGetConfigReasoningEffort$inboundSchema = exports.DeploymentGetConfigEncodingFormat$outboundSchema = exports.DeploymentGetConfigEncodingFormat$inboundSchema = exports.DeploymentGetConfigPhotoRealVersion$outboundSchema = exports.DeploymentGetConfigPhotoRealVersion$inboundSchema = exports.DeploymentGetConfigResponseFormat$outboundSchema = exports.DeploymentGetConfigResponseFormat$inboundSchema = exports.DeploymentGetConfigResponseFormat1$outboundSchema = exports.DeploymentGetConfigResponseFormat1$inboundSchema = exports.DeploymentGetConfigResponseFormatJsonSchema$outboundSchema = exports.DeploymentGetConfigResponseFormatJsonSchema$inboundSchema = exports.DeploymentGetConfigResponseFormatDeploymentsResponseType$outboundSchema = exports.DeploymentGetConfigResponseFormatDeploymentsResponseType$inboundSchema = exports.DeploymentGetConfigResponseFormat2$outboundSchema = exports.DeploymentGetConfigResponseFormat2$inboundSchema = exports.DeploymentGetConfigResponseFormatType$outboundSchema = exports.DeploymentGetConfigResponseFormatType$inboundSchema = exports.DeploymentGetConfigResponseFormat3$outboundSchema = exports.DeploymentGetConfigResponseFormat3$inboundSchema = exports.DeploymentGetConfigResponseFormatDeploymentsType$outboundSchema = exports.DeploymentGetConfigResponseFormatDeploymentsType$inboundSchema = exports.DeploymentGetConfigResponseFormat4$outboundSchema = exports.DeploymentGetConfigResponseFormat4$inboundSchema = exports.DeploymentGetConfigResponseFormat5$outboundSchema = exports.DeploymentGetConfigResponseFormat5$inboundSchema = exports.DeploymentGetConfigResponseFormat6$outboundSchema = exports.DeploymentGetConfigResponseFormat6$inboundSchema = exports.DeploymentGetConfigFormat$outboundSchema = exports.DeploymentGetConfigFormat$inboundSchema = exports.DeploymentGetConfigMessages$outboundSchema = exports.DeploymentGetConfigMessages$inboundSchema = exports.DeploymentGetConfigToolCalls$outboundSchema = exports.DeploymentGetConfigToolCalls$inboundSchema = exports.DeploymentGetConfigDeploymentsFunction$outboundSchema = exports.DeploymentGetConfigDeploymentsFunction$inboundSchema = exports.DeploymentGetConfigDeploymentsResponseType$outboundSchema = exports.DeploymentGetConfigDeploymentsResponseType$inboundSchema = exports.DeploymentGetConfigContent$outboundSchema = exports.DeploymentGetConfigContent$inboundSchema = exports.DeploymentGetConfigContentDeploymentsResponse2$outboundSchema = exports.DeploymentGetConfigContentDeploymentsResponse2$inboundSchema = exports.DeploymentGetConfig2DeploymentsResponse1$outboundSchema = exports.DeploymentGetConfig2DeploymentsResponse1$inboundSchema = exports.DeploymentGetConfig22$outboundSchema = exports.DeploymentGetConfig22$inboundSchema = exports.DeploymentGetConfig2ImageUrl$outboundSchema = exports.DeploymentGetConfig2ImageUrl$inboundSchema = exports.DeploymentGetConfig23$outboundSchema = exports.DeploymentGetConfig23$inboundSchema = void 0;
|
|
47
|
+
exports.DeploymentGetConfigResponseBody$outboundSchema = exports.DeploymentGetConfigResponseBody$inboundSchema = exports.DeploymentGetConfigTools$outboundSchema = exports.DeploymentGetConfigTools$inboundSchema = exports.DeploymentGetConfigFunction$outboundSchema = exports.DeploymentGetConfigFunction$inboundSchema = exports.DeploymentGetConfigDeploymentsType$outboundSchema = exports.DeploymentGetConfigDeploymentsType$inboundSchema = exports.DeploymentGetConfigParameters$outboundSchema = exports.DeploymentGetConfigParameters$inboundSchema = exports.DeploymentGetConfigThinkingLevel$outboundSchema = exports.DeploymentGetConfigThinkingLevel$inboundSchema = exports.DeploymentGetConfigVerbosity$outboundSchema = exports.DeploymentGetConfigVerbosity$inboundSchema = void 0;
|
|
48
|
+
exports.deploymentGetConfig2DeploymentsRequestCacheControlToJSON = deploymentGetConfig2DeploymentsRequestCacheControlToJSON;
|
|
49
|
+
exports.deploymentGetConfig2DeploymentsRequestCacheControlFromJSON = deploymentGetConfig2DeploymentsRequestCacheControlFromJSON;
|
|
50
|
+
exports.deploymentGetConfig21ToJSON = deploymentGetConfig21ToJSON;
|
|
51
|
+
exports.deploymentGetConfig21FromJSON = deploymentGetConfig21FromJSON;
|
|
52
|
+
exports.deploymentGetConfigContentDeploymentsRequest2ToJSON = deploymentGetConfigContentDeploymentsRequest2ToJSON;
|
|
53
|
+
exports.deploymentGetConfigContentDeploymentsRequest2FromJSON = deploymentGetConfigContentDeploymentsRequest2FromJSON;
|
|
54
|
+
exports.deploymentGetConfigPrefixMessagesDeploymentsRequestContentToJSON = deploymentGetConfigPrefixMessagesDeploymentsRequestContentToJSON;
|
|
55
|
+
exports.deploymentGetConfigPrefixMessagesDeploymentsRequestContentFromJSON = deploymentGetConfigPrefixMessagesDeploymentsRequestContentFromJSON;
|
|
49
56
|
exports.prefixMessagesCacheControlToJSON = prefixMessagesCacheControlToJSON;
|
|
50
57
|
exports.prefixMessagesCacheControlFromJSON = prefixMessagesCacheControlFromJSON;
|
|
51
58
|
exports.toolMessageToJSON = toolMessageToJSON;
|
|
52
59
|
exports.toolMessageFromJSON = toolMessageFromJSON;
|
|
53
|
-
exports.
|
|
54
|
-
exports.
|
|
55
|
-
exports.
|
|
56
|
-
exports.
|
|
60
|
+
exports.deploymentGetConfig2DeploymentsCacheControlToJSON = deploymentGetConfig2DeploymentsCacheControlToJSON;
|
|
61
|
+
exports.deploymentGetConfig2DeploymentsCacheControlFromJSON = deploymentGetConfig2DeploymentsCacheControlFromJSON;
|
|
62
|
+
exports.two1ToJSON = two1ToJSON;
|
|
63
|
+
exports.two1FromJSON = two1FromJSON;
|
|
64
|
+
exports.deploymentGetConfigContentDeployments2ToJSON = deploymentGetConfigContentDeployments2ToJSON;
|
|
65
|
+
exports.deploymentGetConfigContentDeployments2FromJSON = deploymentGetConfigContentDeployments2FromJSON;
|
|
66
|
+
exports.deploymentGetConfigPrefixMessagesDeploymentsContentToJSON = deploymentGetConfigPrefixMessagesDeploymentsContentToJSON;
|
|
67
|
+
exports.deploymentGetConfigPrefixMessagesDeploymentsContentFromJSON = deploymentGetConfigPrefixMessagesDeploymentsContentFromJSON;
|
|
57
68
|
exports.audioToJSON = audioToJSON;
|
|
58
69
|
exports.audioFromJSON = audioFromJSON;
|
|
59
|
-
exports.
|
|
60
|
-
exports.
|
|
61
|
-
exports.
|
|
62
|
-
exports.
|
|
70
|
+
exports.functionToJSON = functionToJSON;
|
|
71
|
+
exports.functionFromJSON = functionFromJSON;
|
|
72
|
+
exports.toolCallsToJSON = toolCallsToJSON;
|
|
73
|
+
exports.toolCallsFromJSON = toolCallsFromJSON;
|
|
63
74
|
exports.assistantMessageToJSON = assistantMessageToJSON;
|
|
64
75
|
exports.assistantMessageFromJSON = assistantMessageFromJSON;
|
|
65
|
-
exports.
|
|
66
|
-
exports.
|
|
76
|
+
exports.deploymentGetConfig2CacheControlToJSON = deploymentGetConfig2CacheControlToJSON;
|
|
77
|
+
exports.deploymentGetConfig2CacheControlFromJSON = deploymentGetConfig2CacheControlFromJSON;
|
|
67
78
|
exports.fourToJSON = fourToJSON;
|
|
68
79
|
exports.fourFromJSON = fourFromJSON;
|
|
69
|
-
exports.
|
|
70
|
-
exports.
|
|
71
|
-
exports.
|
|
72
|
-
exports.
|
|
73
|
-
exports.
|
|
74
|
-
exports.
|
|
80
|
+
exports.twoCacheControlToJSON = twoCacheControlToJSON;
|
|
81
|
+
exports.twoCacheControlFromJSON = twoCacheControlFromJSON;
|
|
82
|
+
exports.oneToJSON = oneToJSON;
|
|
83
|
+
exports.oneFromJSON = oneFromJSON;
|
|
84
|
+
exports.deploymentGetConfigContent2ToJSON = deploymentGetConfigContent2ToJSON;
|
|
85
|
+
exports.deploymentGetConfigContent2FromJSON = deploymentGetConfigContent2FromJSON;
|
|
75
86
|
exports.deploymentGetConfigPrefixMessagesContentToJSON = deploymentGetConfigPrefixMessagesContentToJSON;
|
|
76
87
|
exports.deploymentGetConfigPrefixMessagesContentFromJSON = deploymentGetConfigPrefixMessagesContentFromJSON;
|
|
77
|
-
exports.
|
|
78
|
-
exports.
|
|
88
|
+
exports.userMessageToJSON = userMessageToJSON;
|
|
89
|
+
exports.userMessageFromJSON = userMessageFromJSON;
|
|
90
|
+
exports.contentCacheControlToJSON = contentCacheControlToJSON;
|
|
91
|
+
exports.contentCacheControlFromJSON = contentCacheControlFromJSON;
|
|
92
|
+
exports.content2ToJSON = content2ToJSON;
|
|
93
|
+
exports.content2FromJSON = content2FromJSON;
|
|
79
94
|
exports.prefixMessagesContentToJSON = prefixMessagesContentToJSON;
|
|
80
95
|
exports.prefixMessagesContentFromJSON = prefixMessagesContentFromJSON;
|
|
96
|
+
exports.developerMessageToJSON = developerMessageToJSON;
|
|
97
|
+
exports.developerMessageFromJSON = developerMessageFromJSON;
|
|
98
|
+
exports.cacheControlToJSON = cacheControlToJSON;
|
|
99
|
+
exports.cacheControlFromJSON = cacheControlFromJSON;
|
|
100
|
+
exports.twoToJSON = twoToJSON;
|
|
101
|
+
exports.twoFromJSON = twoFromJSON;
|
|
102
|
+
exports.contentToJSON = contentToJSON;
|
|
103
|
+
exports.contentFromJSON = contentFromJSON;
|
|
81
104
|
exports.systemMessageToJSON = systemMessageToJSON;
|
|
82
105
|
exports.systemMessageFromJSON = systemMessageFromJSON;
|
|
83
106
|
exports.prefixMessagesToJSON = prefixMessagesToJSON;
|
|
84
107
|
exports.prefixMessagesFromJSON = prefixMessagesFromJSON;
|
|
85
|
-
exports.
|
|
86
|
-
exports.
|
|
108
|
+
exports.deploymentGetConfig2DeploymentsRequestRequestBodyMessages5CacheControlToJSON = deploymentGetConfig2DeploymentsRequestRequestBodyMessages5CacheControlToJSON;
|
|
109
|
+
exports.deploymentGetConfig2DeploymentsRequestRequestBodyMessages5CacheControlFromJSON = deploymentGetConfig2DeploymentsRequestRequestBodyMessages5CacheControlFromJSON;
|
|
110
|
+
exports.deploymentGetConfig2DeploymentsRequestRequestBody1ToJSON = deploymentGetConfig2DeploymentsRequestRequestBody1ToJSON;
|
|
111
|
+
exports.deploymentGetConfig2DeploymentsRequestRequestBody1FromJSON = deploymentGetConfig2DeploymentsRequestRequestBody1FromJSON;
|
|
112
|
+
exports.deploymentGetConfigContentDeploymentsRequestRequestBodyMessages52ToJSON = deploymentGetConfigContentDeploymentsRequestRequestBodyMessages52ToJSON;
|
|
113
|
+
exports.deploymentGetConfigContentDeploymentsRequestRequestBodyMessages52FromJSON = deploymentGetConfigContentDeploymentsRequestRequestBodyMessages52FromJSON;
|
|
87
114
|
exports.deploymentGetConfigMessagesDeploymentsRequestRequestBodyContentToJSON = deploymentGetConfigMessagesDeploymentsRequestRequestBodyContentToJSON;
|
|
88
115
|
exports.deploymentGetConfigMessagesDeploymentsRequestRequestBodyContentFromJSON = deploymentGetConfigMessagesDeploymentsRequestRequestBodyContentFromJSON;
|
|
89
116
|
exports.messagesCacheControlToJSON = messagesCacheControlToJSON;
|
|
90
117
|
exports.messagesCacheControlFromJSON = messagesCacheControlFromJSON;
|
|
91
118
|
exports.messagesToolMessageToJSON = messagesToolMessageToJSON;
|
|
92
119
|
exports.messagesToolMessageFromJSON = messagesToolMessageFromJSON;
|
|
93
|
-
exports.
|
|
94
|
-
exports.
|
|
120
|
+
exports.deploymentGetConfig2DeploymentsRequestRequestBodyMessages4CacheControlToJSON = deploymentGetConfig2DeploymentsRequestRequestBodyMessages4CacheControlToJSON;
|
|
121
|
+
exports.deploymentGetConfig2DeploymentsRequestRequestBodyMessages4CacheControlFromJSON = deploymentGetConfig2DeploymentsRequestRequestBodyMessages4CacheControlFromJSON;
|
|
122
|
+
exports.deploymentGetConfig2DeploymentsRequest1ToJSON = deploymentGetConfig2DeploymentsRequest1ToJSON;
|
|
123
|
+
exports.deploymentGetConfig2DeploymentsRequest1FromJSON = deploymentGetConfig2DeploymentsRequest1FromJSON;
|
|
124
|
+
exports.deploymentGetConfigContentDeploymentsRequestRequestBodyMessages42ToJSON = deploymentGetConfigContentDeploymentsRequestRequestBodyMessages42ToJSON;
|
|
125
|
+
exports.deploymentGetConfigContentDeploymentsRequestRequestBodyMessages42FromJSON = deploymentGetConfigContentDeploymentsRequestRequestBodyMessages42FromJSON;
|
|
95
126
|
exports.deploymentGetConfigMessagesDeploymentsRequestContentToJSON = deploymentGetConfigMessagesDeploymentsRequestContentToJSON;
|
|
96
127
|
exports.deploymentGetConfigMessagesDeploymentsRequestContentFromJSON = deploymentGetConfigMessagesDeploymentsRequestContentFromJSON;
|
|
97
128
|
exports.messagesAudioToJSON = messagesAudioToJSON;
|
|
@@ -102,26 +133,38 @@ exports.messagesToolCallsToJSON = messagesToolCallsToJSON;
|
|
|
102
133
|
exports.messagesToolCallsFromJSON = messagesToolCallsFromJSON;
|
|
103
134
|
exports.messagesAssistantMessageToJSON = messagesAssistantMessageToJSON;
|
|
104
135
|
exports.messagesAssistantMessageFromJSON = messagesAssistantMessageFromJSON;
|
|
105
|
-
exports.
|
|
106
|
-
exports.
|
|
136
|
+
exports.deploymentGetConfig2DeploymentsRequestRequestBodyMessagesCacheControlToJSON = deploymentGetConfig2DeploymentsRequestRequestBodyMessagesCacheControlToJSON;
|
|
137
|
+
exports.deploymentGetConfig2DeploymentsRequestRequestBodyMessagesCacheControlFromJSON = deploymentGetConfig2DeploymentsRequestRequestBodyMessagesCacheControlFromJSON;
|
|
107
138
|
exports.two4ToJSON = two4ToJSON;
|
|
108
139
|
exports.two4FromJSON = two4FromJSON;
|
|
109
|
-
exports.
|
|
110
|
-
exports.
|
|
140
|
+
exports.deploymentGetConfig2DeploymentsRequestRequestBodyCacheControlToJSON = deploymentGetConfig2DeploymentsRequestRequestBodyCacheControlToJSON;
|
|
141
|
+
exports.deploymentGetConfig2DeploymentsRequestRequestBodyCacheControlFromJSON = deploymentGetConfig2DeploymentsRequestRequestBodyCacheControlFromJSON;
|
|
142
|
+
exports.deploymentGetConfig2Deployments1ToJSON = deploymentGetConfig2Deployments1ToJSON;
|
|
143
|
+
exports.deploymentGetConfig2Deployments1FromJSON = deploymentGetConfig2Deployments1FromJSON;
|
|
144
|
+
exports.deploymentGetConfigContentDeploymentsRequestRequestBodyMessages32ToJSON = deploymentGetConfigContentDeploymentsRequestRequestBodyMessages32ToJSON;
|
|
145
|
+
exports.deploymentGetConfigContentDeploymentsRequestRequestBodyMessages32FromJSON = deploymentGetConfigContentDeploymentsRequestRequestBodyMessages32FromJSON;
|
|
111
146
|
exports.deploymentGetConfigMessagesDeploymentsContentToJSON = deploymentGetConfigMessagesDeploymentsContentToJSON;
|
|
112
147
|
exports.deploymentGetConfigMessagesDeploymentsContentFromJSON = deploymentGetConfigMessagesDeploymentsContentFromJSON;
|
|
113
148
|
exports.messagesUserMessageToJSON = messagesUserMessageToJSON;
|
|
114
149
|
exports.messagesUserMessageFromJSON = messagesUserMessageFromJSON;
|
|
150
|
+
exports.deploymentGetConfigContentDeploymentsCacheControlToJSON = deploymentGetConfigContentDeploymentsCacheControlToJSON;
|
|
151
|
+
exports.deploymentGetConfigContentDeploymentsCacheControlFromJSON = deploymentGetConfigContentDeploymentsCacheControlFromJSON;
|
|
152
|
+
exports.deploymentGetConfigContentDeploymentsRequestRequestBodyMessages2ToJSON = deploymentGetConfigContentDeploymentsRequestRequestBodyMessages2ToJSON;
|
|
153
|
+
exports.deploymentGetConfigContentDeploymentsRequestRequestBodyMessages2FromJSON = deploymentGetConfigContentDeploymentsRequestRequestBodyMessages2FromJSON;
|
|
115
154
|
exports.deploymentGetConfigMessagesContentToJSON = deploymentGetConfigMessagesContentToJSON;
|
|
116
155
|
exports.deploymentGetConfigMessagesContentFromJSON = deploymentGetConfigMessagesContentFromJSON;
|
|
117
156
|
exports.messagesDeveloperMessageToJSON = messagesDeveloperMessageToJSON;
|
|
118
157
|
exports.messagesDeveloperMessageFromJSON = messagesDeveloperMessageFromJSON;
|
|
158
|
+
exports.deploymentGetConfigContentCacheControlToJSON = deploymentGetConfigContentCacheControlToJSON;
|
|
159
|
+
exports.deploymentGetConfigContentCacheControlFromJSON = deploymentGetConfigContentCacheControlFromJSON;
|
|
160
|
+
exports.deploymentGetConfigContentDeploymentsRequestRequestBody2ToJSON = deploymentGetConfigContentDeploymentsRequestRequestBody2ToJSON;
|
|
161
|
+
exports.deploymentGetConfigContentDeploymentsRequestRequestBody2FromJSON = deploymentGetConfigContentDeploymentsRequestRequestBody2FromJSON;
|
|
119
162
|
exports.messagesContentToJSON = messagesContentToJSON;
|
|
120
163
|
exports.messagesContentFromJSON = messagesContentFromJSON;
|
|
121
164
|
exports.messagesSystemMessageToJSON = messagesSystemMessageToJSON;
|
|
122
165
|
exports.messagesSystemMessageFromJSON = messagesSystemMessageFromJSON;
|
|
123
|
-
exports.
|
|
124
|
-
exports.
|
|
166
|
+
exports.messagesToJSON = messagesToJSON;
|
|
167
|
+
exports.messagesFromJSON = messagesFromJSON;
|
|
125
168
|
exports.metadataToJSON = metadataToJSON;
|
|
126
169
|
exports.metadataFromJSON = metadataFromJSON;
|
|
127
170
|
exports.documentsToJSON = documentsToJSON;
|
|
@@ -230,8 +273,8 @@ exports.deploymentGetConfig2ImageUrlToJSON = deploymentGetConfig2ImageUrlToJSON;
|
|
|
230
273
|
exports.deploymentGetConfig2ImageUrlFromJSON = deploymentGetConfig2ImageUrlFromJSON;
|
|
231
274
|
exports.deploymentGetConfig22ToJSON = deploymentGetConfig22ToJSON;
|
|
232
275
|
exports.deploymentGetConfig22FromJSON = deploymentGetConfig22FromJSON;
|
|
233
|
-
exports.
|
|
234
|
-
exports.
|
|
276
|
+
exports.deploymentGetConfig2DeploymentsResponse1ToJSON = deploymentGetConfig2DeploymentsResponse1ToJSON;
|
|
277
|
+
exports.deploymentGetConfig2DeploymentsResponse1FromJSON = deploymentGetConfig2DeploymentsResponse1FromJSON;
|
|
235
278
|
exports.deploymentGetConfigContentDeploymentsResponse2ToJSON = deploymentGetConfigContentDeploymentsResponse2ToJSON;
|
|
236
279
|
exports.deploymentGetConfigContentDeploymentsResponse2FromJSON = deploymentGetConfigContentDeploymentsResponse2FromJSON;
|
|
237
280
|
exports.deploymentGetConfigContentToJSON = deploymentGetConfigContentToJSON;
|
|
@@ -240,8 +283,8 @@ exports.deploymentGetConfigDeploymentsFunctionToJSON = deploymentGetConfigDeploy
|
|
|
240
283
|
exports.deploymentGetConfigDeploymentsFunctionFromJSON = deploymentGetConfigDeploymentsFunctionFromJSON;
|
|
241
284
|
exports.deploymentGetConfigToolCallsToJSON = deploymentGetConfigToolCallsToJSON;
|
|
242
285
|
exports.deploymentGetConfigToolCallsFromJSON = deploymentGetConfigToolCallsFromJSON;
|
|
243
|
-
exports.
|
|
244
|
-
exports.
|
|
286
|
+
exports.deploymentGetConfigMessagesToJSON = deploymentGetConfigMessagesToJSON;
|
|
287
|
+
exports.deploymentGetConfigMessagesFromJSON = deploymentGetConfigMessagesFromJSON;
|
|
245
288
|
exports.deploymentGetConfigResponseFormat3ToJSON = deploymentGetConfigResponseFormat3ToJSON;
|
|
246
289
|
exports.deploymentGetConfigResponseFormat3FromJSON = deploymentGetConfigResponseFormat3FromJSON;
|
|
247
290
|
exports.deploymentGetConfigResponseFormat2ToJSON = deploymentGetConfigResponseFormat2ToJSON;
|
|
@@ -264,6 +307,29 @@ const z = __importStar(require("zod/v3"));
|
|
|
264
307
|
const primitives_js_1 = require("../../lib/primitives.js");
|
|
265
308
|
const schemas_js_1 = require("../../lib/schemas.js");
|
|
266
309
|
const components = __importStar(require("../components/index.js"));
|
|
310
|
+
exports.DeploymentGetConfig2DeploymentsRequestRequestBodyPrefixMessages5Type = {
|
|
311
|
+
Text: "text",
|
|
312
|
+
};
|
|
313
|
+
/**
|
|
314
|
+
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
315
|
+
*/
|
|
316
|
+
exports.DeploymentGetConfig2DeploymentsRequestRequestBodyPrefixMessages5ContentType = {
|
|
317
|
+
Ephemeral: "ephemeral",
|
|
318
|
+
};
|
|
319
|
+
/**
|
|
320
|
+
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
321
|
+
*
|
|
322
|
+
* @remarks
|
|
323
|
+
*
|
|
324
|
+
* - `5m`: 5 minutes
|
|
325
|
+
* - `1h`: 1 hour
|
|
326
|
+
*
|
|
327
|
+
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
328
|
+
*/
|
|
329
|
+
exports.DeploymentGetConfig2DeploymentsRequestTtl = {
|
|
330
|
+
Fivem: "5m",
|
|
331
|
+
Oneh: "1h",
|
|
332
|
+
};
|
|
267
333
|
/**
|
|
268
334
|
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
269
335
|
*/
|
|
@@ -284,6 +350,26 @@ exports.PrefixMessagesTtl = {
|
|
|
284
350
|
Fivem: "5m",
|
|
285
351
|
Oneh: "1h",
|
|
286
352
|
};
|
|
353
|
+
/**
|
|
354
|
+
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
355
|
+
*/
|
|
356
|
+
exports.DeploymentGetConfig2DeploymentsRequestRequestBodyPrefixMessagesType = {
|
|
357
|
+
Ephemeral: "ephemeral",
|
|
358
|
+
};
|
|
359
|
+
/**
|
|
360
|
+
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
361
|
+
*
|
|
362
|
+
* @remarks
|
|
363
|
+
*
|
|
364
|
+
* - `5m`: 5 minutes
|
|
365
|
+
* - `1h`: 1 hour
|
|
366
|
+
*
|
|
367
|
+
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
368
|
+
*/
|
|
369
|
+
exports.DeploymentGetConfig2DeploymentsTtl = {
|
|
370
|
+
Fivem: "5m",
|
|
371
|
+
Oneh: "1h",
|
|
372
|
+
};
|
|
287
373
|
/**
|
|
288
374
|
* The type of the tool. Currently, only `function` is supported.
|
|
289
375
|
*/
|
|
@@ -293,7 +379,73 @@ exports.PrefixMessagesType = {
|
|
|
293
379
|
/**
|
|
294
380
|
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
295
381
|
*/
|
|
296
|
-
exports.
|
|
382
|
+
exports.DeploymentGetConfig2DeploymentsRequestType = {
|
|
383
|
+
Ephemeral: "ephemeral",
|
|
384
|
+
};
|
|
385
|
+
/**
|
|
386
|
+
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
387
|
+
*
|
|
388
|
+
* @remarks
|
|
389
|
+
*
|
|
390
|
+
* - `5m`: 5 minutes
|
|
391
|
+
* - `1h`: 1 hour
|
|
392
|
+
*
|
|
393
|
+
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
394
|
+
*/
|
|
395
|
+
exports.DeploymentGetConfig2Ttl = {
|
|
396
|
+
Fivem: "5m",
|
|
397
|
+
Oneh: "1h",
|
|
398
|
+
};
|
|
399
|
+
/**
|
|
400
|
+
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
401
|
+
*/
|
|
402
|
+
exports.DeploymentGetConfig2Type = {
|
|
403
|
+
Ephemeral: "ephemeral",
|
|
404
|
+
};
|
|
405
|
+
/**
|
|
406
|
+
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
407
|
+
*
|
|
408
|
+
* @remarks
|
|
409
|
+
*
|
|
410
|
+
* - `5m`: 5 minutes
|
|
411
|
+
* - `1h`: 1 hour
|
|
412
|
+
*
|
|
413
|
+
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
414
|
+
*/
|
|
415
|
+
exports.TwoTtl = {
|
|
416
|
+
Fivem: "5m",
|
|
417
|
+
Oneh: "1h",
|
|
418
|
+
};
|
|
419
|
+
exports.DeploymentGetConfigContentType = {
|
|
420
|
+
Text: "text",
|
|
421
|
+
};
|
|
422
|
+
/**
|
|
423
|
+
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
424
|
+
*/
|
|
425
|
+
exports.DeploymentGetConfigContentDeploymentsType = {
|
|
426
|
+
Ephemeral: "ephemeral",
|
|
427
|
+
};
|
|
428
|
+
/**
|
|
429
|
+
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
430
|
+
*
|
|
431
|
+
* @remarks
|
|
432
|
+
*
|
|
433
|
+
* - `5m`: 5 minutes
|
|
434
|
+
* - `1h`: 1 hour
|
|
435
|
+
*
|
|
436
|
+
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
437
|
+
*/
|
|
438
|
+
exports.ContentTtl = {
|
|
439
|
+
Fivem: "5m",
|
|
440
|
+
Oneh: "1h",
|
|
441
|
+
};
|
|
442
|
+
exports.Type = {
|
|
443
|
+
Text: "text",
|
|
444
|
+
};
|
|
445
|
+
/**
|
|
446
|
+
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
447
|
+
*/
|
|
448
|
+
exports.ContentType = {
|
|
297
449
|
Ephemeral: "ephemeral",
|
|
298
450
|
};
|
|
299
451
|
/**
|
|
@@ -310,6 +462,29 @@ exports.Ttl = {
|
|
|
310
462
|
Fivem: "5m",
|
|
311
463
|
Oneh: "1h",
|
|
312
464
|
};
|
|
465
|
+
exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages5Type = {
|
|
466
|
+
Text: "text",
|
|
467
|
+
};
|
|
468
|
+
/**
|
|
469
|
+
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
470
|
+
*/
|
|
471
|
+
exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages5ContentType = {
|
|
472
|
+
Ephemeral: "ephemeral",
|
|
473
|
+
};
|
|
474
|
+
/**
|
|
475
|
+
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
476
|
+
*
|
|
477
|
+
* @remarks
|
|
478
|
+
*
|
|
479
|
+
* - `5m`: 5 minutes
|
|
480
|
+
* - `1h`: 1 hour
|
|
481
|
+
*
|
|
482
|
+
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
483
|
+
*/
|
|
484
|
+
exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages5Ttl = {
|
|
485
|
+
Fivem: "5m",
|
|
486
|
+
Oneh: "1h",
|
|
487
|
+
};
|
|
313
488
|
/**
|
|
314
489
|
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
315
490
|
*/
|
|
@@ -330,6 +505,26 @@ exports.MessagesTtl = {
|
|
|
330
505
|
Fivem: "5m",
|
|
331
506
|
Oneh: "1h",
|
|
332
507
|
};
|
|
508
|
+
/**
|
|
509
|
+
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
510
|
+
*/
|
|
511
|
+
exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4ContentType = {
|
|
512
|
+
Ephemeral: "ephemeral",
|
|
513
|
+
};
|
|
514
|
+
/**
|
|
515
|
+
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
516
|
+
*
|
|
517
|
+
* @remarks
|
|
518
|
+
*
|
|
519
|
+
* - `5m`: 5 minutes
|
|
520
|
+
* - `1h`: 1 hour
|
|
521
|
+
*
|
|
522
|
+
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
523
|
+
*/
|
|
524
|
+
exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4Ttl = {
|
|
525
|
+
Fivem: "5m",
|
|
526
|
+
Oneh: "1h",
|
|
527
|
+
};
|
|
333
528
|
/**
|
|
334
529
|
* The type of the tool. Currently, only `function` is supported.
|
|
335
530
|
*/
|
|
@@ -339,7 +534,7 @@ exports.MessagesType = {
|
|
|
339
534
|
/**
|
|
340
535
|
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
341
536
|
*/
|
|
342
|
-
exports.
|
|
537
|
+
exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages3Content4Type = {
|
|
343
538
|
Ephemeral: "ephemeral",
|
|
344
539
|
};
|
|
345
540
|
/**
|
|
@@ -352,7 +547,73 @@ exports.DeploymentGetConfig2DeploymentsRequestRequestBodyType = {
|
|
|
352
547
|
*
|
|
353
548
|
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
354
549
|
*/
|
|
355
|
-
exports.
|
|
550
|
+
exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessagesTtl = {
|
|
551
|
+
Fivem: "5m",
|
|
552
|
+
Oneh: "1h",
|
|
553
|
+
};
|
|
554
|
+
/**
|
|
555
|
+
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
556
|
+
*/
|
|
557
|
+
exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages3Type = {
|
|
558
|
+
Ephemeral: "ephemeral",
|
|
559
|
+
};
|
|
560
|
+
/**
|
|
561
|
+
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
562
|
+
*
|
|
563
|
+
* @remarks
|
|
564
|
+
*
|
|
565
|
+
* - `5m`: 5 minutes
|
|
566
|
+
* - `1h`: 1 hour
|
|
567
|
+
*
|
|
568
|
+
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
569
|
+
*/
|
|
570
|
+
exports.DeploymentGetConfig2DeploymentsRequestRequestBodyTtl = {
|
|
571
|
+
Fivem: "5m",
|
|
572
|
+
Oneh: "1h",
|
|
573
|
+
};
|
|
574
|
+
exports.DeploymentGetConfigContentDeploymentsRequestRequestBodyMessagesType = {
|
|
575
|
+
Text: "text",
|
|
576
|
+
};
|
|
577
|
+
/**
|
|
578
|
+
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
579
|
+
*/
|
|
580
|
+
exports.DeploymentGetConfigContentDeploymentsRequestRequestBodyMessages2Type = {
|
|
581
|
+
Ephemeral: "ephemeral",
|
|
582
|
+
};
|
|
583
|
+
/**
|
|
584
|
+
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
585
|
+
*
|
|
586
|
+
* @remarks
|
|
587
|
+
*
|
|
588
|
+
* - `5m`: 5 minutes
|
|
589
|
+
* - `1h`: 1 hour
|
|
590
|
+
*
|
|
591
|
+
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
592
|
+
*/
|
|
593
|
+
exports.DeploymentGetConfigContentDeploymentsTtl = {
|
|
594
|
+
Fivem: "5m",
|
|
595
|
+
Oneh: "1h",
|
|
596
|
+
};
|
|
597
|
+
exports.DeploymentGetConfigContentDeploymentsRequestType = {
|
|
598
|
+
Text: "text",
|
|
599
|
+
};
|
|
600
|
+
/**
|
|
601
|
+
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
602
|
+
*/
|
|
603
|
+
exports.DeploymentGetConfigContentDeploymentsRequestRequestBodyType = {
|
|
604
|
+
Ephemeral: "ephemeral",
|
|
605
|
+
};
|
|
606
|
+
/**
|
|
607
|
+
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
608
|
+
*
|
|
609
|
+
* @remarks
|
|
610
|
+
*
|
|
611
|
+
* - `5m`: 5 minutes
|
|
612
|
+
* - `1h`: 1 hour
|
|
613
|
+
*
|
|
614
|
+
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
615
|
+
*/
|
|
616
|
+
exports.DeploymentGetConfigContentTtl = {
|
|
356
617
|
Fivem: "5m",
|
|
357
618
|
Oneh: "1h",
|
|
358
619
|
};
|
|
@@ -470,32 +731,87 @@ exports.DeploymentGetConfigDeploymentsType = {
|
|
|
470
731
|
Function: "function",
|
|
471
732
|
};
|
|
472
733
|
/** @internal */
|
|
473
|
-
exports.
|
|
734
|
+
exports.DeploymentGetConfig2DeploymentsRequestRequestBodyPrefixMessages5Type$inboundSchema = z.nativeEnum(exports.DeploymentGetConfig2DeploymentsRequestRequestBodyPrefixMessages5Type);
|
|
474
735
|
/** @internal */
|
|
475
|
-
exports.
|
|
476
|
-
|
|
477
|
-
|
|
736
|
+
exports.DeploymentGetConfig2DeploymentsRequestRequestBodyPrefixMessages5Type$outboundSchema = exports.DeploymentGetConfig2DeploymentsRequestRequestBodyPrefixMessages5Type$inboundSchema;
|
|
737
|
+
/** @internal */
|
|
738
|
+
exports.DeploymentGetConfig2DeploymentsRequestRequestBodyPrefixMessages5ContentType$inboundSchema = z.nativeEnum(exports.DeploymentGetConfig2DeploymentsRequestRequestBodyPrefixMessages5ContentType);
|
|
739
|
+
/** @internal */
|
|
740
|
+
exports.DeploymentGetConfig2DeploymentsRequestRequestBodyPrefixMessages5ContentType$outboundSchema = exports.DeploymentGetConfig2DeploymentsRequestRequestBodyPrefixMessages5ContentType$inboundSchema;
|
|
741
|
+
/** @internal */
|
|
742
|
+
exports.DeploymentGetConfig2DeploymentsRequestTtl$inboundSchema = z
|
|
743
|
+
.nativeEnum(exports.DeploymentGetConfig2DeploymentsRequestTtl);
|
|
744
|
+
/** @internal */
|
|
745
|
+
exports.DeploymentGetConfig2DeploymentsRequestTtl$outboundSchema = exports.DeploymentGetConfig2DeploymentsRequestTtl$inboundSchema;
|
|
746
|
+
/** @internal */
|
|
747
|
+
exports.DeploymentGetConfig2DeploymentsRequestCacheControl$inboundSchema = z.object({
|
|
748
|
+
type: exports.DeploymentGetConfig2DeploymentsRequestRequestBodyPrefixMessages5ContentType$inboundSchema,
|
|
749
|
+
ttl: exports.DeploymentGetConfig2DeploymentsRequestTtl$inboundSchema.default("5m"),
|
|
750
|
+
});
|
|
751
|
+
/** @internal */
|
|
752
|
+
exports.DeploymentGetConfig2DeploymentsRequestCacheControl$outboundSchema = z.object({
|
|
753
|
+
type: exports.DeploymentGetConfig2DeploymentsRequestRequestBodyPrefixMessages5ContentType$outboundSchema,
|
|
754
|
+
ttl: exports.DeploymentGetConfig2DeploymentsRequestTtl$outboundSchema.default("5m"),
|
|
755
|
+
});
|
|
756
|
+
function deploymentGetConfig2DeploymentsRequestCacheControlToJSON(deploymentGetConfig2DeploymentsRequestCacheControl) {
|
|
757
|
+
return JSON.stringify(exports.DeploymentGetConfig2DeploymentsRequestCacheControl$outboundSchema.parse(deploymentGetConfig2DeploymentsRequestCacheControl));
|
|
478
758
|
}
|
|
479
|
-
function
|
|
480
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.
|
|
759
|
+
function deploymentGetConfig2DeploymentsRequestCacheControlFromJSON(jsonString) {
|
|
760
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DeploymentGetConfig2DeploymentsRequestCacheControl$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentGetConfig2DeploymentsRequestCacheControl' from JSON`);
|
|
761
|
+
}
|
|
762
|
+
/** @internal */
|
|
763
|
+
exports.DeploymentGetConfig21$inboundSchema = z.object({
|
|
764
|
+
type: exports.DeploymentGetConfig2DeploymentsRequestRequestBodyPrefixMessages5Type$inboundSchema,
|
|
765
|
+
text: z.string(),
|
|
766
|
+
cache_control: z.lazy(() => exports.DeploymentGetConfig2DeploymentsRequestCacheControl$inboundSchema).optional(),
|
|
767
|
+
}).transform((v) => {
|
|
768
|
+
return (0, primitives_js_1.remap)(v, {
|
|
769
|
+
"cache_control": "cacheControl",
|
|
770
|
+
});
|
|
771
|
+
});
|
|
772
|
+
/** @internal */
|
|
773
|
+
exports.DeploymentGetConfig21$outboundSchema = z.object({
|
|
774
|
+
type: exports.DeploymentGetConfig2DeploymentsRequestRequestBodyPrefixMessages5Type$outboundSchema,
|
|
775
|
+
text: z.string(),
|
|
776
|
+
cacheControl: z.lazy(() => exports.DeploymentGetConfig2DeploymentsRequestCacheControl$outboundSchema).optional(),
|
|
777
|
+
}).transform((v) => {
|
|
778
|
+
return (0, primitives_js_1.remap)(v, {
|
|
779
|
+
cacheControl: "cache_control",
|
|
780
|
+
});
|
|
781
|
+
});
|
|
782
|
+
function deploymentGetConfig21ToJSON(deploymentGetConfig21) {
|
|
783
|
+
return JSON.stringify(exports.DeploymentGetConfig21$outboundSchema.parse(deploymentGetConfig21));
|
|
784
|
+
}
|
|
785
|
+
function deploymentGetConfig21FromJSON(jsonString) {
|
|
786
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DeploymentGetConfig21$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentGetConfig21' from JSON`);
|
|
481
787
|
}
|
|
482
788
|
/** @internal */
|
|
483
|
-
exports.
|
|
789
|
+
exports.DeploymentGetConfigContentDeploymentsRequest2$inboundSchema = z.lazy(() => exports.DeploymentGetConfig21$inboundSchema);
|
|
790
|
+
/** @internal */
|
|
791
|
+
exports.DeploymentGetConfigContentDeploymentsRequest2$outboundSchema = z.lazy(() => exports.DeploymentGetConfig21$outboundSchema);
|
|
792
|
+
function deploymentGetConfigContentDeploymentsRequest2ToJSON(deploymentGetConfigContentDeploymentsRequest2) {
|
|
793
|
+
return JSON.stringify(exports.DeploymentGetConfigContentDeploymentsRequest2$outboundSchema.parse(deploymentGetConfigContentDeploymentsRequest2));
|
|
794
|
+
}
|
|
795
|
+
function deploymentGetConfigContentDeploymentsRequest2FromJSON(jsonString) {
|
|
796
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DeploymentGetConfigContentDeploymentsRequest2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentGetConfigContentDeploymentsRequest2' from JSON`);
|
|
797
|
+
}
|
|
798
|
+
/** @internal */
|
|
799
|
+
exports.DeploymentGetConfigPrefixMessagesDeploymentsRequestContent$inboundSchema = z.union([
|
|
484
800
|
z.string(),
|
|
485
|
-
z.array(
|
|
801
|
+
z.array(z.lazy(() => exports.DeploymentGetConfig21$inboundSchema)),
|
|
486
802
|
]);
|
|
487
803
|
/** @internal */
|
|
488
|
-
exports.
|
|
804
|
+
exports.DeploymentGetConfigPrefixMessagesDeploymentsRequestContent$outboundSchema = z.union([
|
|
489
805
|
z.string(),
|
|
490
|
-
z.array(
|
|
806
|
+
z.array(z.lazy(() => exports.DeploymentGetConfig21$outboundSchema)),
|
|
491
807
|
]);
|
|
492
|
-
function
|
|
493
|
-
return JSON.stringify(exports.
|
|
494
|
-
.parse(
|
|
808
|
+
function deploymentGetConfigPrefixMessagesDeploymentsRequestContentToJSON(deploymentGetConfigPrefixMessagesDeploymentsRequestContent) {
|
|
809
|
+
return JSON.stringify(exports.DeploymentGetConfigPrefixMessagesDeploymentsRequestContent$outboundSchema
|
|
810
|
+
.parse(deploymentGetConfigPrefixMessagesDeploymentsRequestContent));
|
|
495
811
|
}
|
|
496
|
-
function
|
|
497
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.
|
|
498
|
-
.parse(JSON.parse(x)), `Failed to parse '
|
|
812
|
+
function deploymentGetConfigPrefixMessagesDeploymentsRequestContentFromJSON(jsonString) {
|
|
813
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DeploymentGetConfigPrefixMessagesDeploymentsRequestContent$inboundSchema
|
|
814
|
+
.parse(JSON.parse(x)), `Failed to parse 'DeploymentGetConfigPrefixMessagesDeploymentsRequestContent' from JSON`);
|
|
499
815
|
}
|
|
500
816
|
/** @internal */
|
|
501
817
|
exports.DeploymentGetConfigPrefixMessagesType$inboundSchema = z.nativeEnum(exports.DeploymentGetConfigPrefixMessagesType);
|
|
@@ -526,7 +842,7 @@ exports.ToolMessage$inboundSchema = z.object({
|
|
|
526
842
|
role: z.literal("tool"),
|
|
527
843
|
content: z.union([
|
|
528
844
|
z.string(),
|
|
529
|
-
z.array(
|
|
845
|
+
z.array(z.lazy(() => exports.DeploymentGetConfig21$inboundSchema)),
|
|
530
846
|
]),
|
|
531
847
|
tool_call_id: z.string(),
|
|
532
848
|
cache_control: z.lazy(() => exports.PrefixMessagesCacheControl$inboundSchema)
|
|
@@ -542,7 +858,7 @@ exports.ToolMessage$outboundSchema = z.object({
|
|
|
542
858
|
role: z.literal("tool"),
|
|
543
859
|
content: z.union([
|
|
544
860
|
z.string(),
|
|
545
|
-
z.array(
|
|
861
|
+
z.array(z.lazy(() => exports.DeploymentGetConfig21$outboundSchema)),
|
|
546
862
|
]),
|
|
547
863
|
toolCallId: z.string(),
|
|
548
864
|
cacheControl: z.lazy(() => exports.PrefixMessagesCacheControl$outboundSchema)
|
|
@@ -560,52 +876,101 @@ function toolMessageFromJSON(jsonString) {
|
|
|
560
876
|
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ToolMessage$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ToolMessage' from JSON`);
|
|
561
877
|
}
|
|
562
878
|
/** @internal */
|
|
563
|
-
exports.
|
|
564
|
-
|
|
879
|
+
exports.DeploymentGetConfig2DeploymentsRequestRequestBodyPrefixMessagesType$inboundSchema = z.nativeEnum(exports.DeploymentGetConfig2DeploymentsRequestRequestBodyPrefixMessagesType);
|
|
880
|
+
/** @internal */
|
|
881
|
+
exports.DeploymentGetConfig2DeploymentsRequestRequestBodyPrefixMessagesType$outboundSchema = exports.DeploymentGetConfig2DeploymentsRequestRequestBodyPrefixMessagesType$inboundSchema;
|
|
882
|
+
/** @internal */
|
|
883
|
+
exports.DeploymentGetConfig2DeploymentsTtl$inboundSchema = z.nativeEnum(exports.DeploymentGetConfig2DeploymentsTtl);
|
|
884
|
+
/** @internal */
|
|
885
|
+
exports.DeploymentGetConfig2DeploymentsTtl$outboundSchema = exports.DeploymentGetConfig2DeploymentsTtl$inboundSchema;
|
|
886
|
+
/** @internal */
|
|
887
|
+
exports.DeploymentGetConfig2DeploymentsCacheControl$inboundSchema = z.object({
|
|
888
|
+
type: exports.DeploymentGetConfig2DeploymentsRequestRequestBodyPrefixMessagesType$inboundSchema,
|
|
889
|
+
ttl: exports.DeploymentGetConfig2DeploymentsTtl$inboundSchema.default("5m"),
|
|
890
|
+
});
|
|
891
|
+
/** @internal */
|
|
892
|
+
exports.DeploymentGetConfig2DeploymentsCacheControl$outboundSchema = z.object({
|
|
893
|
+
type: exports.DeploymentGetConfig2DeploymentsRequestRequestBodyPrefixMessagesType$outboundSchema,
|
|
894
|
+
ttl: exports.DeploymentGetConfig2DeploymentsTtl$outboundSchema.default("5m"),
|
|
895
|
+
});
|
|
896
|
+
function deploymentGetConfig2DeploymentsCacheControlToJSON(deploymentGetConfig2DeploymentsCacheControl) {
|
|
897
|
+
return JSON.stringify(exports.DeploymentGetConfig2DeploymentsCacheControl$outboundSchema.parse(deploymentGetConfig2DeploymentsCacheControl));
|
|
898
|
+
}
|
|
899
|
+
function deploymentGetConfig2DeploymentsCacheControlFromJSON(jsonString) {
|
|
900
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DeploymentGetConfig2DeploymentsCacheControl$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentGetConfig2DeploymentsCacheControl' from JSON`);
|
|
901
|
+
}
|
|
902
|
+
/** @internal */
|
|
903
|
+
exports.Two1$inboundSchema = z
|
|
904
|
+
.object({
|
|
905
|
+
type: z.literal("text"),
|
|
906
|
+
text: z.string(),
|
|
907
|
+
cache_control: z.lazy(() => exports.DeploymentGetConfig2DeploymentsCacheControl$inboundSchema).optional(),
|
|
908
|
+
}).transform((v) => {
|
|
909
|
+
return (0, primitives_js_1.remap)(v, {
|
|
910
|
+
"cache_control": "cacheControl",
|
|
911
|
+
});
|
|
912
|
+
});
|
|
913
|
+
/** @internal */
|
|
914
|
+
exports.Two1$outboundSchema = z.object({
|
|
915
|
+
type: z.literal("text"),
|
|
916
|
+
text: z.string(),
|
|
917
|
+
cacheControl: z.lazy(() => exports.DeploymentGetConfig2DeploymentsCacheControl$outboundSchema).optional(),
|
|
918
|
+
}).transform((v) => {
|
|
919
|
+
return (0, primitives_js_1.remap)(v, {
|
|
920
|
+
cacheControl: "cache_control",
|
|
921
|
+
});
|
|
922
|
+
});
|
|
923
|
+
function two1ToJSON(two1) {
|
|
924
|
+
return JSON.stringify(exports.Two1$outboundSchema.parse(two1));
|
|
925
|
+
}
|
|
926
|
+
function two1FromJSON(jsonString) {
|
|
927
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.Two1$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Two1' from JSON`);
|
|
928
|
+
}
|
|
929
|
+
/** @internal */
|
|
930
|
+
exports.DeploymentGetConfigContentDeployments2$inboundSchema = z.union([
|
|
931
|
+
z.lazy(() => exports.Two1$inboundSchema),
|
|
565
932
|
components.RefusalPartSchema$inboundSchema,
|
|
566
933
|
components.ReasoningPartSchema$inboundSchema,
|
|
567
934
|
components.RedactedReasoningPartSchema$inboundSchema,
|
|
568
935
|
]);
|
|
569
936
|
/** @internal */
|
|
570
|
-
exports.
|
|
571
|
-
|
|
937
|
+
exports.DeploymentGetConfigContentDeployments2$outboundSchema = z.union([
|
|
938
|
+
z.lazy(() => exports.Two1$outboundSchema),
|
|
572
939
|
components.RefusalPartSchema$outboundSchema,
|
|
573
940
|
components.ReasoningPartSchema$outboundSchema,
|
|
574
941
|
components.RedactedReasoningPartSchema$outboundSchema,
|
|
575
942
|
]);
|
|
576
|
-
function
|
|
577
|
-
return JSON.stringify(exports.
|
|
943
|
+
function deploymentGetConfigContentDeployments2ToJSON(deploymentGetConfigContentDeployments2) {
|
|
944
|
+
return JSON.stringify(exports.DeploymentGetConfigContentDeployments2$outboundSchema.parse(deploymentGetConfigContentDeployments2));
|
|
578
945
|
}
|
|
579
|
-
function
|
|
580
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.
|
|
946
|
+
function deploymentGetConfigContentDeployments2FromJSON(jsonString) {
|
|
947
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DeploymentGetConfigContentDeployments2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentGetConfigContentDeployments2' from JSON`);
|
|
581
948
|
}
|
|
582
949
|
/** @internal */
|
|
583
|
-
exports.
|
|
950
|
+
exports.DeploymentGetConfigPrefixMessagesDeploymentsContent$inboundSchema = z.union([
|
|
584
951
|
z.string(),
|
|
585
952
|
z.array(z.union([
|
|
586
|
-
|
|
953
|
+
z.lazy(() => exports.Two1$inboundSchema),
|
|
587
954
|
components.RefusalPartSchema$inboundSchema,
|
|
588
955
|
components.ReasoningPartSchema$inboundSchema,
|
|
589
956
|
components.RedactedReasoningPartSchema$inboundSchema,
|
|
590
957
|
])),
|
|
591
958
|
]);
|
|
592
959
|
/** @internal */
|
|
593
|
-
exports.
|
|
960
|
+
exports.DeploymentGetConfigPrefixMessagesDeploymentsContent$outboundSchema = z.union([
|
|
594
961
|
z.string(),
|
|
595
962
|
z.array(z.union([
|
|
596
|
-
|
|
963
|
+
z.lazy(() => exports.Two1$outboundSchema),
|
|
597
964
|
components.RefusalPartSchema$outboundSchema,
|
|
598
965
|
components.ReasoningPartSchema$outboundSchema,
|
|
599
966
|
components.RedactedReasoningPartSchema$outboundSchema,
|
|
600
967
|
])),
|
|
601
968
|
]);
|
|
602
|
-
function
|
|
603
|
-
return JSON.stringify(exports.
|
|
604
|
-
.parse(deploymentGetConfigPrefixMessagesDeploymentsRequestContent));
|
|
969
|
+
function deploymentGetConfigPrefixMessagesDeploymentsContentToJSON(deploymentGetConfigPrefixMessagesDeploymentsContent) {
|
|
970
|
+
return JSON.stringify(exports.DeploymentGetConfigPrefixMessagesDeploymentsContent$outboundSchema.parse(deploymentGetConfigPrefixMessagesDeploymentsContent));
|
|
605
971
|
}
|
|
606
|
-
function
|
|
607
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.
|
|
608
|
-
.parse(JSON.parse(x)), `Failed to parse 'DeploymentGetConfigPrefixMessagesDeploymentsRequestContent' from JSON`);
|
|
972
|
+
function deploymentGetConfigPrefixMessagesDeploymentsContentFromJSON(jsonString) {
|
|
973
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DeploymentGetConfigPrefixMessagesDeploymentsContent$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentGetConfigPrefixMessagesDeploymentsContent' from JSON`);
|
|
609
974
|
}
|
|
610
975
|
/** @internal */
|
|
611
976
|
exports.Audio$inboundSchema = z
|
|
@@ -627,26 +992,26 @@ exports.PrefixMessagesType$inboundSchema = z.nativeEnum(exports.PrefixMessagesTy
|
|
|
627
992
|
/** @internal */
|
|
628
993
|
exports.PrefixMessagesType$outboundSchema = exports.PrefixMessagesType$inboundSchema;
|
|
629
994
|
/** @internal */
|
|
630
|
-
exports.
|
|
995
|
+
exports.FunctionT$inboundSchema = z.object({
|
|
631
996
|
name: z.string().optional(),
|
|
632
997
|
arguments: z.string().optional(),
|
|
633
998
|
});
|
|
634
999
|
/** @internal */
|
|
635
|
-
exports.
|
|
1000
|
+
exports.FunctionT$outboundSchema = z.object({
|
|
636
1001
|
name: z.string().optional(),
|
|
637
1002
|
arguments: z.string().optional(),
|
|
638
1003
|
});
|
|
639
|
-
function
|
|
640
|
-
return JSON.stringify(exports.
|
|
1004
|
+
function functionToJSON(functionT) {
|
|
1005
|
+
return JSON.stringify(exports.FunctionT$outboundSchema.parse(functionT));
|
|
641
1006
|
}
|
|
642
|
-
function
|
|
643
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.
|
|
1007
|
+
function functionFromJSON(jsonString) {
|
|
1008
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.FunctionT$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FunctionT' from JSON`);
|
|
644
1009
|
}
|
|
645
1010
|
/** @internal */
|
|
646
|
-
exports.
|
|
1011
|
+
exports.ToolCalls$inboundSchema = z.object({
|
|
647
1012
|
id: z.string(),
|
|
648
1013
|
type: exports.PrefixMessagesType$inboundSchema,
|
|
649
|
-
function: z.lazy(() => exports.
|
|
1014
|
+
function: z.lazy(() => exports.FunctionT$inboundSchema),
|
|
650
1015
|
thought_signature: z.string().optional(),
|
|
651
1016
|
}).transform((v) => {
|
|
652
1017
|
return (0, primitives_js_1.remap)(v, {
|
|
@@ -654,28 +1019,28 @@ exports.PrefixMessagesToolCalls$inboundSchema = z.object({
|
|
|
654
1019
|
});
|
|
655
1020
|
});
|
|
656
1021
|
/** @internal */
|
|
657
|
-
exports.
|
|
1022
|
+
exports.ToolCalls$outboundSchema = z.object({
|
|
658
1023
|
id: z.string(),
|
|
659
1024
|
type: exports.PrefixMessagesType$outboundSchema,
|
|
660
|
-
function: z.lazy(() => exports.
|
|
1025
|
+
function: z.lazy(() => exports.FunctionT$outboundSchema),
|
|
661
1026
|
thoughtSignature: z.string().optional(),
|
|
662
1027
|
}).transform((v) => {
|
|
663
1028
|
return (0, primitives_js_1.remap)(v, {
|
|
664
1029
|
thoughtSignature: "thought_signature",
|
|
665
1030
|
});
|
|
666
1031
|
});
|
|
667
|
-
function
|
|
668
|
-
return JSON.stringify(exports.
|
|
1032
|
+
function toolCallsToJSON(toolCalls) {
|
|
1033
|
+
return JSON.stringify(exports.ToolCalls$outboundSchema.parse(toolCalls));
|
|
669
1034
|
}
|
|
670
|
-
function
|
|
671
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.
|
|
1035
|
+
function toolCallsFromJSON(jsonString) {
|
|
1036
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ToolCalls$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ToolCalls' from JSON`);
|
|
672
1037
|
}
|
|
673
1038
|
/** @internal */
|
|
674
1039
|
exports.AssistantMessage$inboundSchema = z.object({
|
|
675
1040
|
content: z.nullable(z.union([
|
|
676
1041
|
z.string(),
|
|
677
1042
|
z.array(z.union([
|
|
678
|
-
|
|
1043
|
+
z.lazy(() => exports.Two1$inboundSchema),
|
|
679
1044
|
components.RefusalPartSchema$inboundSchema,
|
|
680
1045
|
components.ReasoningPartSchema$inboundSchema,
|
|
681
1046
|
components.RedactedReasoningPartSchema$inboundSchema,
|
|
@@ -685,8 +1050,7 @@ exports.AssistantMessage$inboundSchema = z.object({
|
|
|
685
1050
|
role: z.literal("assistant"),
|
|
686
1051
|
name: z.string().optional(),
|
|
687
1052
|
audio: z.nullable(z.lazy(() => exports.Audio$inboundSchema)).optional(),
|
|
688
|
-
tool_calls: z.array(z.lazy(() => exports.
|
|
689
|
-
.optional(),
|
|
1053
|
+
tool_calls: z.array(z.lazy(() => exports.ToolCalls$inboundSchema)).optional(),
|
|
690
1054
|
}).transform((v) => {
|
|
691
1055
|
return (0, primitives_js_1.remap)(v, {
|
|
692
1056
|
"tool_calls": "toolCalls",
|
|
@@ -697,7 +1061,7 @@ exports.AssistantMessage$outboundSchema = z.object({
|
|
|
697
1061
|
content: z.nullable(z.union([
|
|
698
1062
|
z.string(),
|
|
699
1063
|
z.array(z.union([
|
|
700
|
-
|
|
1064
|
+
z.lazy(() => exports.Two1$outboundSchema),
|
|
701
1065
|
components.RefusalPartSchema$outboundSchema,
|
|
702
1066
|
components.ReasoningPartSchema$outboundSchema,
|
|
703
1067
|
components.RedactedReasoningPartSchema$outboundSchema,
|
|
@@ -707,8 +1071,7 @@ exports.AssistantMessage$outboundSchema = z.object({
|
|
|
707
1071
|
role: z.literal("assistant"),
|
|
708
1072
|
name: z.string().optional(),
|
|
709
1073
|
audio: z.nullable(z.lazy(() => exports.Audio$outboundSchema)).optional(),
|
|
710
|
-
toolCalls: z.array(z.lazy(() => exports.
|
|
711
|
-
.optional(),
|
|
1074
|
+
toolCalls: z.array(z.lazy(() => exports.ToolCalls$outboundSchema)).optional(),
|
|
712
1075
|
}).transform((v) => {
|
|
713
1076
|
return (0, primitives_js_1.remap)(v, {
|
|
714
1077
|
toolCalls: "tool_calls",
|
|
@@ -721,34 +1084,36 @@ function assistantMessageFromJSON(jsonString) {
|
|
|
721
1084
|
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.AssistantMessage$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'AssistantMessage' from JSON`);
|
|
722
1085
|
}
|
|
723
1086
|
/** @internal */
|
|
724
|
-
exports.
|
|
1087
|
+
exports.DeploymentGetConfig2DeploymentsRequestType$inboundSchema = z
|
|
1088
|
+
.nativeEnum(exports.DeploymentGetConfig2DeploymentsRequestType);
|
|
725
1089
|
/** @internal */
|
|
726
|
-
exports.
|
|
1090
|
+
exports.DeploymentGetConfig2DeploymentsRequestType$outboundSchema = exports.DeploymentGetConfig2DeploymentsRequestType$inboundSchema;
|
|
727
1091
|
/** @internal */
|
|
728
|
-
exports.
|
|
1092
|
+
exports.DeploymentGetConfig2Ttl$inboundSchema = z.nativeEnum(exports.DeploymentGetConfig2Ttl);
|
|
729
1093
|
/** @internal */
|
|
730
|
-
exports.
|
|
1094
|
+
exports.DeploymentGetConfig2Ttl$outboundSchema = exports.DeploymentGetConfig2Ttl$inboundSchema;
|
|
731
1095
|
/** @internal */
|
|
732
|
-
exports.
|
|
733
|
-
type: exports.
|
|
734
|
-
ttl: exports.
|
|
1096
|
+
exports.DeploymentGetConfig2CacheControl$inboundSchema = z.object({
|
|
1097
|
+
type: exports.DeploymentGetConfig2DeploymentsRequestType$inboundSchema,
|
|
1098
|
+
ttl: exports.DeploymentGetConfig2Ttl$inboundSchema.default("5m"),
|
|
735
1099
|
});
|
|
736
1100
|
/** @internal */
|
|
737
|
-
exports.
|
|
738
|
-
type: exports.
|
|
739
|
-
ttl: exports.
|
|
1101
|
+
exports.DeploymentGetConfig2CacheControl$outboundSchema = z.object({
|
|
1102
|
+
type: exports.DeploymentGetConfig2DeploymentsRequestType$outboundSchema,
|
|
1103
|
+
ttl: exports.DeploymentGetConfig2Ttl$outboundSchema.default("5m"),
|
|
740
1104
|
});
|
|
741
|
-
function
|
|
742
|
-
return JSON.stringify(exports.
|
|
1105
|
+
function deploymentGetConfig2CacheControlToJSON(deploymentGetConfig2CacheControl) {
|
|
1106
|
+
return JSON.stringify(exports.DeploymentGetConfig2CacheControl$outboundSchema.parse(deploymentGetConfig2CacheControl));
|
|
743
1107
|
}
|
|
744
|
-
function
|
|
745
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.
|
|
1108
|
+
function deploymentGetConfig2CacheControlFromJSON(jsonString) {
|
|
1109
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DeploymentGetConfig2CacheControl$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentGetConfig2CacheControl' from JSON`);
|
|
746
1110
|
}
|
|
747
1111
|
/** @internal */
|
|
748
1112
|
exports.Four$inboundSchema = z
|
|
749
1113
|
.object({
|
|
750
1114
|
type: z.literal("file"),
|
|
751
|
-
cache_control: z.lazy(() => exports.
|
|
1115
|
+
cache_control: z.lazy(() => exports.DeploymentGetConfig2CacheControl$inboundSchema)
|
|
1116
|
+
.optional(),
|
|
752
1117
|
file: components.FileContentPartSchema$inboundSchema,
|
|
753
1118
|
}).transform((v) => {
|
|
754
1119
|
return (0, primitives_js_1.remap)(v, {
|
|
@@ -758,7 +1123,8 @@ exports.Four$inboundSchema = z
|
|
|
758
1123
|
/** @internal */
|
|
759
1124
|
exports.Four$outboundSchema = z.object({
|
|
760
1125
|
type: z.literal("file"),
|
|
761
|
-
cacheControl: z.lazy(() => exports.
|
|
1126
|
+
cacheControl: z.lazy(() => exports.DeploymentGetConfig2CacheControl$outboundSchema)
|
|
1127
|
+
.optional(),
|
|
762
1128
|
file: components.FileContentPartSchema$outboundSchema,
|
|
763
1129
|
}).transform((v) => {
|
|
764
1130
|
return (0, primitives_js_1.remap)(v, {
|
|
@@ -772,50 +1138,103 @@ function fourFromJSON(jsonString) {
|
|
|
772
1138
|
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.Four$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Four' from JSON`);
|
|
773
1139
|
}
|
|
774
1140
|
/** @internal */
|
|
775
|
-
exports.
|
|
776
|
-
|
|
1141
|
+
exports.DeploymentGetConfig2Type$inboundSchema = z.nativeEnum(exports.DeploymentGetConfig2Type);
|
|
1142
|
+
/** @internal */
|
|
1143
|
+
exports.DeploymentGetConfig2Type$outboundSchema = exports.DeploymentGetConfig2Type$inboundSchema;
|
|
1144
|
+
/** @internal */
|
|
1145
|
+
exports.TwoTtl$inboundSchema = z
|
|
1146
|
+
.nativeEnum(exports.TwoTtl);
|
|
1147
|
+
/** @internal */
|
|
1148
|
+
exports.TwoTtl$outboundSchema = exports.TwoTtl$inboundSchema;
|
|
1149
|
+
/** @internal */
|
|
1150
|
+
exports.TwoCacheControl$inboundSchema = z.object({
|
|
1151
|
+
type: exports.DeploymentGetConfig2Type$inboundSchema,
|
|
1152
|
+
ttl: exports.TwoTtl$inboundSchema.default("5m"),
|
|
1153
|
+
});
|
|
1154
|
+
/** @internal */
|
|
1155
|
+
exports.TwoCacheControl$outboundSchema = z.object({
|
|
1156
|
+
type: exports.DeploymentGetConfig2Type$outboundSchema,
|
|
1157
|
+
ttl: exports.TwoTtl$outboundSchema.default("5m"),
|
|
1158
|
+
});
|
|
1159
|
+
function twoCacheControlToJSON(twoCacheControl) {
|
|
1160
|
+
return JSON.stringify(exports.TwoCacheControl$outboundSchema.parse(twoCacheControl));
|
|
1161
|
+
}
|
|
1162
|
+
function twoCacheControlFromJSON(jsonString) {
|
|
1163
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.TwoCacheControl$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TwoCacheControl' from JSON`);
|
|
1164
|
+
}
|
|
1165
|
+
/** @internal */
|
|
1166
|
+
exports.One$inboundSchema = z
|
|
1167
|
+
.object({
|
|
1168
|
+
type: z.literal("text"),
|
|
1169
|
+
text: z.string(),
|
|
1170
|
+
cache_control: z.lazy(() => exports.TwoCacheControl$inboundSchema).optional(),
|
|
1171
|
+
}).transform((v) => {
|
|
1172
|
+
return (0, primitives_js_1.remap)(v, {
|
|
1173
|
+
"cache_control": "cacheControl",
|
|
1174
|
+
});
|
|
1175
|
+
});
|
|
1176
|
+
/** @internal */
|
|
1177
|
+
exports.One$outboundSchema = z
|
|
1178
|
+
.object({
|
|
1179
|
+
type: z.literal("text"),
|
|
1180
|
+
text: z.string(),
|
|
1181
|
+
cacheControl: z.lazy(() => exports.TwoCacheControl$outboundSchema).optional(),
|
|
1182
|
+
}).transform((v) => {
|
|
1183
|
+
return (0, primitives_js_1.remap)(v, {
|
|
1184
|
+
cacheControl: "cache_control",
|
|
1185
|
+
});
|
|
1186
|
+
});
|
|
1187
|
+
function oneToJSON(one) {
|
|
1188
|
+
return JSON.stringify(exports.One$outboundSchema.parse(one));
|
|
1189
|
+
}
|
|
1190
|
+
function oneFromJSON(jsonString) {
|
|
1191
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.One$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'One' from JSON`);
|
|
1192
|
+
}
|
|
1193
|
+
/** @internal */
|
|
1194
|
+
exports.DeploymentGetConfigContent2$inboundSchema = z.union([
|
|
1195
|
+
z.lazy(() => exports.One$inboundSchema),
|
|
777
1196
|
components.ImageContentPartSchema$inboundSchema,
|
|
778
1197
|
components.AudioContentPartSchema$inboundSchema,
|
|
779
1198
|
z.lazy(() => exports.Four$inboundSchema),
|
|
780
1199
|
]);
|
|
781
1200
|
/** @internal */
|
|
782
|
-
exports.
|
|
783
|
-
|
|
1201
|
+
exports.DeploymentGetConfigContent2$outboundSchema = z.union([
|
|
1202
|
+
z.lazy(() => exports.One$outboundSchema),
|
|
784
1203
|
components.ImageContentPartSchema$outboundSchema,
|
|
785
1204
|
components.AudioContentPartSchema$outboundSchema,
|
|
786
1205
|
z.lazy(() => exports.Four$outboundSchema),
|
|
787
1206
|
]);
|
|
788
|
-
function
|
|
789
|
-
return JSON.stringify(exports.
|
|
1207
|
+
function deploymentGetConfigContent2ToJSON(deploymentGetConfigContent2) {
|
|
1208
|
+
return JSON.stringify(exports.DeploymentGetConfigContent2$outboundSchema.parse(deploymentGetConfigContent2));
|
|
790
1209
|
}
|
|
791
|
-
function
|
|
792
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.
|
|
1210
|
+
function deploymentGetConfigContent2FromJSON(jsonString) {
|
|
1211
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DeploymentGetConfigContent2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentGetConfigContent2' from JSON`);
|
|
793
1212
|
}
|
|
794
1213
|
/** @internal */
|
|
795
|
-
exports.
|
|
1214
|
+
exports.DeploymentGetConfigPrefixMessagesContent$inboundSchema = z.union([
|
|
796
1215
|
z.string(),
|
|
797
1216
|
z.array(z.union([
|
|
798
|
-
|
|
1217
|
+
z.lazy(() => exports.One$inboundSchema),
|
|
799
1218
|
components.ImageContentPartSchema$inboundSchema,
|
|
800
1219
|
components.AudioContentPartSchema$inboundSchema,
|
|
801
1220
|
z.lazy(() => exports.Four$inboundSchema),
|
|
802
1221
|
])),
|
|
803
1222
|
]);
|
|
804
1223
|
/** @internal */
|
|
805
|
-
exports.
|
|
1224
|
+
exports.DeploymentGetConfigPrefixMessagesContent$outboundSchema = z.union([
|
|
806
1225
|
z.string(),
|
|
807
1226
|
z.array(z.union([
|
|
808
|
-
|
|
1227
|
+
z.lazy(() => exports.One$outboundSchema),
|
|
809
1228
|
components.ImageContentPartSchema$outboundSchema,
|
|
810
1229
|
components.AudioContentPartSchema$outboundSchema,
|
|
811
1230
|
z.lazy(() => exports.Four$outboundSchema),
|
|
812
1231
|
])),
|
|
813
1232
|
]);
|
|
814
|
-
function
|
|
815
|
-
return JSON.stringify(exports.
|
|
1233
|
+
function deploymentGetConfigPrefixMessagesContentToJSON(deploymentGetConfigPrefixMessagesContent) {
|
|
1234
|
+
return JSON.stringify(exports.DeploymentGetConfigPrefixMessagesContent$outboundSchema.parse(deploymentGetConfigPrefixMessagesContent));
|
|
816
1235
|
}
|
|
817
|
-
function
|
|
818
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.
|
|
1236
|
+
function deploymentGetConfigPrefixMessagesContentFromJSON(jsonString) {
|
|
1237
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DeploymentGetConfigPrefixMessagesContent$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentGetConfigPrefixMessagesContent' from JSON`);
|
|
819
1238
|
}
|
|
820
1239
|
/** @internal */
|
|
821
1240
|
exports.UserMessage$inboundSchema = z.object({
|
|
@@ -824,7 +1243,7 @@ exports.UserMessage$inboundSchema = z.object({
|
|
|
824
1243
|
content: z.union([
|
|
825
1244
|
z.string(),
|
|
826
1245
|
z.array(z.union([
|
|
827
|
-
|
|
1246
|
+
z.lazy(() => exports.One$inboundSchema),
|
|
828
1247
|
components.ImageContentPartSchema$inboundSchema,
|
|
829
1248
|
components.AudioContentPartSchema$inboundSchema,
|
|
830
1249
|
z.lazy(() => exports.Four$inboundSchema),
|
|
@@ -838,7 +1257,7 @@ exports.UserMessage$outboundSchema = z.object({
|
|
|
838
1257
|
content: z.union([
|
|
839
1258
|
z.string(),
|
|
840
1259
|
z.array(z.union([
|
|
841
|
-
|
|
1260
|
+
z.lazy(() => exports.One$outboundSchema),
|
|
842
1261
|
components.ImageContentPartSchema$outboundSchema,
|
|
843
1262
|
components.AudioContentPartSchema$outboundSchema,
|
|
844
1263
|
z.lazy(() => exports.Four$outboundSchema),
|
|
@@ -852,28 +1271,75 @@ function userMessageFromJSON(jsonString) {
|
|
|
852
1271
|
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.UserMessage$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UserMessage' from JSON`);
|
|
853
1272
|
}
|
|
854
1273
|
/** @internal */
|
|
855
|
-
exports.
|
|
856
|
-
z.string(),
|
|
857
|
-
z.array(components.TextContentPartSchema$inboundSchema),
|
|
858
|
-
]);
|
|
1274
|
+
exports.DeploymentGetConfigContentType$inboundSchema = z.nativeEnum(exports.DeploymentGetConfigContentType);
|
|
859
1275
|
/** @internal */
|
|
860
|
-
exports.
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
1276
|
+
exports.DeploymentGetConfigContentType$outboundSchema = exports.DeploymentGetConfigContentType$inboundSchema;
|
|
1277
|
+
/** @internal */
|
|
1278
|
+
exports.DeploymentGetConfigContentDeploymentsType$inboundSchema = z
|
|
1279
|
+
.nativeEnum(exports.DeploymentGetConfigContentDeploymentsType);
|
|
1280
|
+
/** @internal */
|
|
1281
|
+
exports.DeploymentGetConfigContentDeploymentsType$outboundSchema = exports.DeploymentGetConfigContentDeploymentsType$inboundSchema;
|
|
1282
|
+
/** @internal */
|
|
1283
|
+
exports.ContentTtl$inboundSchema = z
|
|
1284
|
+
.nativeEnum(exports.ContentTtl);
|
|
1285
|
+
/** @internal */
|
|
1286
|
+
exports.ContentTtl$outboundSchema = exports.ContentTtl$inboundSchema;
|
|
1287
|
+
/** @internal */
|
|
1288
|
+
exports.ContentCacheControl$inboundSchema = z.object({
|
|
1289
|
+
type: exports.DeploymentGetConfigContentDeploymentsType$inboundSchema,
|
|
1290
|
+
ttl: exports.ContentTtl$inboundSchema.default("5m"),
|
|
1291
|
+
});
|
|
1292
|
+
/** @internal */
|
|
1293
|
+
exports.ContentCacheControl$outboundSchema = z.object({
|
|
1294
|
+
type: exports.DeploymentGetConfigContentDeploymentsType$outboundSchema,
|
|
1295
|
+
ttl: exports.ContentTtl$outboundSchema.default("5m"),
|
|
1296
|
+
});
|
|
1297
|
+
function contentCacheControlToJSON(contentCacheControl) {
|
|
1298
|
+
return JSON.stringify(exports.ContentCacheControl$outboundSchema.parse(contentCacheControl));
|
|
866
1299
|
}
|
|
867
|
-
function
|
|
868
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.
|
|
1300
|
+
function contentCacheControlFromJSON(jsonString) {
|
|
1301
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ContentCacheControl$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ContentCacheControl' from JSON`);
|
|
1302
|
+
}
|
|
1303
|
+
/** @internal */
|
|
1304
|
+
exports.Content2$inboundSchema = z.object({
|
|
1305
|
+
type: exports.DeploymentGetConfigContentType$inboundSchema,
|
|
1306
|
+
text: z.string(),
|
|
1307
|
+
cache_control: z.lazy(() => exports.ContentCacheControl$inboundSchema).optional(),
|
|
1308
|
+
}).transform((v) => {
|
|
1309
|
+
return (0, primitives_js_1.remap)(v, {
|
|
1310
|
+
"cache_control": "cacheControl",
|
|
1311
|
+
});
|
|
1312
|
+
});
|
|
1313
|
+
/** @internal */
|
|
1314
|
+
exports.Content2$outboundSchema = z.object({
|
|
1315
|
+
type: exports.DeploymentGetConfigContentType$outboundSchema,
|
|
1316
|
+
text: z.string(),
|
|
1317
|
+
cacheControl: z.lazy(() => exports.ContentCacheControl$outboundSchema).optional(),
|
|
1318
|
+
}).transform((v) => {
|
|
1319
|
+
return (0, primitives_js_1.remap)(v, {
|
|
1320
|
+
cacheControl: "cache_control",
|
|
1321
|
+
});
|
|
1322
|
+
});
|
|
1323
|
+
function content2ToJSON(content2) {
|
|
1324
|
+
return JSON.stringify(exports.Content2$outboundSchema.parse(content2));
|
|
1325
|
+
}
|
|
1326
|
+
function content2FromJSON(jsonString) {
|
|
1327
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.Content2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Content2' from JSON`);
|
|
1328
|
+
}
|
|
1329
|
+
/** @internal */
|
|
1330
|
+
exports.PrefixMessagesContent$inboundSchema = z.union([z.string(), z.array(z.lazy(() => exports.Content2$inboundSchema))]);
|
|
1331
|
+
/** @internal */
|
|
1332
|
+
exports.PrefixMessagesContent$outboundSchema = z.union([z.string(), z.array(z.lazy(() => exports.Content2$outboundSchema))]);
|
|
1333
|
+
function prefixMessagesContentToJSON(prefixMessagesContent) {
|
|
1334
|
+
return JSON.stringify(exports.PrefixMessagesContent$outboundSchema.parse(prefixMessagesContent));
|
|
1335
|
+
}
|
|
1336
|
+
function prefixMessagesContentFromJSON(jsonString) {
|
|
1337
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.PrefixMessagesContent$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PrefixMessagesContent' from JSON`);
|
|
869
1338
|
}
|
|
870
1339
|
/** @internal */
|
|
871
1340
|
exports.DeveloperMessage$inboundSchema = z.object({
|
|
872
1341
|
role: z.literal("developer"),
|
|
873
|
-
content: z.union([
|
|
874
|
-
z.string(),
|
|
875
|
-
z.array(components.TextContentPartSchema$inboundSchema),
|
|
876
|
-
]),
|
|
1342
|
+
content: z.union([z.string(), z.array(z.lazy(() => exports.Content2$inboundSchema))]),
|
|
877
1343
|
name: z.string().optional(),
|
|
878
1344
|
});
|
|
879
1345
|
/** @internal */
|
|
@@ -881,7 +1347,7 @@ exports.DeveloperMessage$outboundSchema = z.object({
|
|
|
881
1347
|
role: z.literal("developer"),
|
|
882
1348
|
content: z.union([
|
|
883
1349
|
z.string(),
|
|
884
|
-
z.array(
|
|
1350
|
+
z.array(z.lazy(() => exports.Content2$outboundSchema)),
|
|
885
1351
|
]),
|
|
886
1352
|
name: z.string().optional(),
|
|
887
1353
|
});
|
|
@@ -892,37 +1358,82 @@ function developerMessageFromJSON(jsonString) {
|
|
|
892
1358
|
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DeveloperMessage$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeveloperMessage' from JSON`);
|
|
893
1359
|
}
|
|
894
1360
|
/** @internal */
|
|
895
|
-
exports.
|
|
896
|
-
z.string(),
|
|
897
|
-
z.array(components.TextContentPartSchema$inboundSchema),
|
|
898
|
-
]);
|
|
1361
|
+
exports.Type$inboundSchema = z.nativeEnum(exports.Type);
|
|
899
1362
|
/** @internal */
|
|
900
|
-
exports.
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
1363
|
+
exports.Type$outboundSchema = exports.Type$inboundSchema;
|
|
1364
|
+
/** @internal */
|
|
1365
|
+
exports.ContentType$inboundSchema = z
|
|
1366
|
+
.nativeEnum(exports.ContentType);
|
|
1367
|
+
/** @internal */
|
|
1368
|
+
exports.ContentType$outboundSchema = exports.ContentType$inboundSchema;
|
|
1369
|
+
/** @internal */
|
|
1370
|
+
exports.Ttl$inboundSchema = z.nativeEnum(exports.Ttl);
|
|
1371
|
+
/** @internal */
|
|
1372
|
+
exports.Ttl$outboundSchema = exports.Ttl$inboundSchema;
|
|
1373
|
+
/** @internal */
|
|
1374
|
+
exports.CacheControl$inboundSchema = z.object({
|
|
1375
|
+
type: exports.ContentType$inboundSchema,
|
|
1376
|
+
ttl: exports.Ttl$inboundSchema.default("5m"),
|
|
1377
|
+
});
|
|
1378
|
+
/** @internal */
|
|
1379
|
+
exports.CacheControl$outboundSchema = z.object({
|
|
1380
|
+
type: exports.ContentType$outboundSchema,
|
|
1381
|
+
ttl: exports.Ttl$outboundSchema.default("5m"),
|
|
1382
|
+
});
|
|
1383
|
+
function cacheControlToJSON(cacheControl) {
|
|
1384
|
+
return JSON.stringify(exports.CacheControl$outboundSchema.parse(cacheControl));
|
|
906
1385
|
}
|
|
907
|
-
function
|
|
908
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.
|
|
1386
|
+
function cacheControlFromJSON(jsonString) {
|
|
1387
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CacheControl$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CacheControl' from JSON`);
|
|
1388
|
+
}
|
|
1389
|
+
/** @internal */
|
|
1390
|
+
exports.Two$inboundSchema = z
|
|
1391
|
+
.object({
|
|
1392
|
+
type: exports.Type$inboundSchema,
|
|
1393
|
+
text: z.string(),
|
|
1394
|
+
cache_control: z.lazy(() => exports.CacheControl$inboundSchema).optional(),
|
|
1395
|
+
}).transform((v) => {
|
|
1396
|
+
return (0, primitives_js_1.remap)(v, {
|
|
1397
|
+
"cache_control": "cacheControl",
|
|
1398
|
+
});
|
|
1399
|
+
});
|
|
1400
|
+
/** @internal */
|
|
1401
|
+
exports.Two$outboundSchema = z
|
|
1402
|
+
.object({
|
|
1403
|
+
type: exports.Type$outboundSchema,
|
|
1404
|
+
text: z.string(),
|
|
1405
|
+
cacheControl: z.lazy(() => exports.CacheControl$outboundSchema).optional(),
|
|
1406
|
+
}).transform((v) => {
|
|
1407
|
+
return (0, primitives_js_1.remap)(v, {
|
|
1408
|
+
cacheControl: "cache_control",
|
|
1409
|
+
});
|
|
1410
|
+
});
|
|
1411
|
+
function twoToJSON(two) {
|
|
1412
|
+
return JSON.stringify(exports.Two$outboundSchema.parse(two));
|
|
1413
|
+
}
|
|
1414
|
+
function twoFromJSON(jsonString) {
|
|
1415
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.Two$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Two' from JSON`);
|
|
1416
|
+
}
|
|
1417
|
+
/** @internal */
|
|
1418
|
+
exports.Content$inboundSchema = z.union([z.string(), z.array(z.lazy(() => exports.Two$inboundSchema))]);
|
|
1419
|
+
/** @internal */
|
|
1420
|
+
exports.Content$outboundSchema = z.union([z.string(), z.array(z.lazy(() => exports.Two$outboundSchema))]);
|
|
1421
|
+
function contentToJSON(content) {
|
|
1422
|
+
return JSON.stringify(exports.Content$outboundSchema.parse(content));
|
|
1423
|
+
}
|
|
1424
|
+
function contentFromJSON(jsonString) {
|
|
1425
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.Content$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Content' from JSON`);
|
|
909
1426
|
}
|
|
910
1427
|
/** @internal */
|
|
911
1428
|
exports.SystemMessage$inboundSchema = z.object({
|
|
912
1429
|
role: z.literal("system"),
|
|
913
|
-
content: z.union([
|
|
914
|
-
z.string(),
|
|
915
|
-
z.array(components.TextContentPartSchema$inboundSchema),
|
|
916
|
-
]),
|
|
1430
|
+
content: z.union([z.string(), z.array(z.lazy(() => exports.Two$inboundSchema))]),
|
|
917
1431
|
name: z.string().optional(),
|
|
918
1432
|
});
|
|
919
1433
|
/** @internal */
|
|
920
1434
|
exports.SystemMessage$outboundSchema = z.object({
|
|
921
1435
|
role: z.literal("system"),
|
|
922
|
-
content: z.union([
|
|
923
|
-
z.string(),
|
|
924
|
-
z.array(components.TextContentPartSchema$outboundSchema),
|
|
925
|
-
]),
|
|
1436
|
+
content: z.union([z.string(), z.array(z.lazy(() => exports.Two$outboundSchema))]),
|
|
926
1437
|
name: z.string().optional(),
|
|
927
1438
|
});
|
|
928
1439
|
function systemMessageToJSON(systemMessage) {
|
|
@@ -954,26 +1465,84 @@ function prefixMessagesFromJSON(jsonString) {
|
|
|
954
1465
|
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.PrefixMessages$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PrefixMessages' from JSON`);
|
|
955
1466
|
}
|
|
956
1467
|
/** @internal */
|
|
957
|
-
exports.
|
|
1468
|
+
exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages5Type$inboundSchema = z.nativeEnum(exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages5Type);
|
|
958
1469
|
/** @internal */
|
|
959
|
-
exports.
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
1470
|
+
exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages5Type$outboundSchema = exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages5Type$inboundSchema;
|
|
1471
|
+
/** @internal */
|
|
1472
|
+
exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages5ContentType$inboundSchema = z.nativeEnum(exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages5ContentType);
|
|
1473
|
+
/** @internal */
|
|
1474
|
+
exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages5ContentType$outboundSchema = exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages5ContentType$inboundSchema;
|
|
1475
|
+
/** @internal */
|
|
1476
|
+
exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages5Ttl$inboundSchema = z.nativeEnum(exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages5Ttl);
|
|
1477
|
+
/** @internal */
|
|
1478
|
+
exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages5Ttl$outboundSchema = exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages5Ttl$inboundSchema;
|
|
1479
|
+
/** @internal */
|
|
1480
|
+
exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages5CacheControl$inboundSchema = z.object({
|
|
1481
|
+
type: exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages5ContentType$inboundSchema,
|
|
1482
|
+
ttl: exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages5Ttl$inboundSchema
|
|
1483
|
+
.default("5m"),
|
|
1484
|
+
});
|
|
1485
|
+
/** @internal */
|
|
1486
|
+
exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages5CacheControl$outboundSchema = z.object({
|
|
1487
|
+
type: exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages5ContentType$outboundSchema,
|
|
1488
|
+
ttl: exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages5Ttl$outboundSchema
|
|
1489
|
+
.default("5m"),
|
|
1490
|
+
});
|
|
1491
|
+
function deploymentGetConfig2DeploymentsRequestRequestBodyMessages5CacheControlToJSON(deploymentGetConfig2DeploymentsRequestRequestBodyMessages5CacheControl) {
|
|
1492
|
+
return JSON.stringify(exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages5CacheControl$outboundSchema
|
|
1493
|
+
.parse(deploymentGetConfig2DeploymentsRequestRequestBodyMessages5CacheControl));
|
|
963
1494
|
}
|
|
964
|
-
function
|
|
965
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.
|
|
966
|
-
.parse(JSON.parse(x)), `Failed to parse '
|
|
1495
|
+
function deploymentGetConfig2DeploymentsRequestRequestBodyMessages5CacheControlFromJSON(jsonString) {
|
|
1496
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages5CacheControl$inboundSchema
|
|
1497
|
+
.parse(JSON.parse(x)), `Failed to parse 'DeploymentGetConfig2DeploymentsRequestRequestBodyMessages5CacheControl' from JSON`);
|
|
1498
|
+
}
|
|
1499
|
+
/** @internal */
|
|
1500
|
+
exports.DeploymentGetConfig2DeploymentsRequestRequestBody1$inboundSchema = z.object({
|
|
1501
|
+
type: exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages5Type$inboundSchema,
|
|
1502
|
+
text: z.string(),
|
|
1503
|
+
cache_control: z.lazy(() => exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages5CacheControl$inboundSchema).optional(),
|
|
1504
|
+
}).transform((v) => {
|
|
1505
|
+
return (0, primitives_js_1.remap)(v, {
|
|
1506
|
+
"cache_control": "cacheControl",
|
|
1507
|
+
});
|
|
1508
|
+
});
|
|
1509
|
+
/** @internal */
|
|
1510
|
+
exports.DeploymentGetConfig2DeploymentsRequestRequestBody1$outboundSchema = z.object({
|
|
1511
|
+
type: exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages5Type$outboundSchema,
|
|
1512
|
+
text: z.string(),
|
|
1513
|
+
cacheControl: z.lazy(() => exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages5CacheControl$outboundSchema).optional(),
|
|
1514
|
+
}).transform((v) => {
|
|
1515
|
+
return (0, primitives_js_1.remap)(v, {
|
|
1516
|
+
cacheControl: "cache_control",
|
|
1517
|
+
});
|
|
1518
|
+
});
|
|
1519
|
+
function deploymentGetConfig2DeploymentsRequestRequestBody1ToJSON(deploymentGetConfig2DeploymentsRequestRequestBody1) {
|
|
1520
|
+
return JSON.stringify(exports.DeploymentGetConfig2DeploymentsRequestRequestBody1$outboundSchema.parse(deploymentGetConfig2DeploymentsRequestRequestBody1));
|
|
1521
|
+
}
|
|
1522
|
+
function deploymentGetConfig2DeploymentsRequestRequestBody1FromJSON(jsonString) {
|
|
1523
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DeploymentGetConfig2DeploymentsRequestRequestBody1$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentGetConfig2DeploymentsRequestRequestBody1' from JSON`);
|
|
1524
|
+
}
|
|
1525
|
+
/** @internal */
|
|
1526
|
+
exports.DeploymentGetConfigContentDeploymentsRequestRequestBodyMessages52$inboundSchema = z.lazy(() => exports.DeploymentGetConfig2DeploymentsRequestRequestBody1$inboundSchema);
|
|
1527
|
+
/** @internal */
|
|
1528
|
+
exports.DeploymentGetConfigContentDeploymentsRequestRequestBodyMessages52$outboundSchema = z.lazy(() => exports.DeploymentGetConfig2DeploymentsRequestRequestBody1$outboundSchema);
|
|
1529
|
+
function deploymentGetConfigContentDeploymentsRequestRequestBodyMessages52ToJSON(deploymentGetConfigContentDeploymentsRequestRequestBodyMessages52) {
|
|
1530
|
+
return JSON.stringify(exports.DeploymentGetConfigContentDeploymentsRequestRequestBodyMessages52$outboundSchema
|
|
1531
|
+
.parse(deploymentGetConfigContentDeploymentsRequestRequestBodyMessages52));
|
|
1532
|
+
}
|
|
1533
|
+
function deploymentGetConfigContentDeploymentsRequestRequestBodyMessages52FromJSON(jsonString) {
|
|
1534
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DeploymentGetConfigContentDeploymentsRequestRequestBodyMessages52$inboundSchema
|
|
1535
|
+
.parse(JSON.parse(x)), `Failed to parse 'DeploymentGetConfigContentDeploymentsRequestRequestBodyMessages52' from JSON`);
|
|
967
1536
|
}
|
|
968
1537
|
/** @internal */
|
|
969
1538
|
exports.DeploymentGetConfigMessagesDeploymentsRequestRequestBodyContent$inboundSchema = z.union([
|
|
970
1539
|
z.string(),
|
|
971
|
-
z.array(
|
|
1540
|
+
z.array(z.lazy(() => exports.DeploymentGetConfig2DeploymentsRequestRequestBody1$inboundSchema)),
|
|
972
1541
|
]);
|
|
973
1542
|
/** @internal */
|
|
974
1543
|
exports.DeploymentGetConfigMessagesDeploymentsRequestRequestBodyContent$outboundSchema = z.union([
|
|
975
1544
|
z.string(),
|
|
976
|
-
z.array(
|
|
1545
|
+
z.array(z.lazy(() => exports.DeploymentGetConfig2DeploymentsRequestRequestBody1$outboundSchema)),
|
|
977
1546
|
]);
|
|
978
1547
|
function deploymentGetConfigMessagesDeploymentsRequestRequestBodyContentToJSON(deploymentGetConfigMessagesDeploymentsRequestRequestBodyContent) {
|
|
979
1548
|
return JSON.stringify(exports.DeploymentGetConfigMessagesDeploymentsRequestRequestBodyContent$outboundSchema
|
|
@@ -1013,7 +1582,7 @@ exports.MessagesToolMessage$inboundSchema = z.object({
|
|
|
1013
1582
|
role: z.literal("tool"),
|
|
1014
1583
|
content: z.union([
|
|
1015
1584
|
z.string(),
|
|
1016
|
-
z.array(
|
|
1585
|
+
z.array(z.lazy(() => exports.DeploymentGetConfig2DeploymentsRequestRequestBody1$inboundSchema)),
|
|
1017
1586
|
]),
|
|
1018
1587
|
tool_call_id: z.string(),
|
|
1019
1588
|
cache_control: z.lazy(() => exports.MessagesCacheControl$inboundSchema).optional(),
|
|
@@ -1028,7 +1597,7 @@ exports.MessagesToolMessage$outboundSchema = z.object({
|
|
|
1028
1597
|
role: z.literal("tool"),
|
|
1029
1598
|
content: z.union([
|
|
1030
1599
|
z.string(),
|
|
1031
|
-
z.array(
|
|
1600
|
+
z.array(z.lazy(() => exports.DeploymentGetConfig2DeploymentsRequestRequestBody1$outboundSchema)),
|
|
1032
1601
|
]),
|
|
1033
1602
|
toolCallId: z.string(),
|
|
1034
1603
|
cacheControl: z.lazy(() => exports.MessagesCacheControl$outboundSchema).optional(),
|
|
@@ -1045,32 +1614,86 @@ function messagesToolMessageFromJSON(jsonString) {
|
|
|
1045
1614
|
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.MessagesToolMessage$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'MessagesToolMessage' from JSON`);
|
|
1046
1615
|
}
|
|
1047
1616
|
/** @internal */
|
|
1048
|
-
exports.
|
|
1049
|
-
|
|
1617
|
+
exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4ContentType$inboundSchema = z.nativeEnum(exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4ContentType);
|
|
1618
|
+
/** @internal */
|
|
1619
|
+
exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4ContentType$outboundSchema = exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4ContentType$inboundSchema;
|
|
1620
|
+
/** @internal */
|
|
1621
|
+
exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4Ttl$inboundSchema = z.nativeEnum(exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4Ttl);
|
|
1622
|
+
/** @internal */
|
|
1623
|
+
exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4Ttl$outboundSchema = exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4Ttl$inboundSchema;
|
|
1624
|
+
/** @internal */
|
|
1625
|
+
exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4CacheControl$inboundSchema = z.object({
|
|
1626
|
+
type: exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4ContentType$inboundSchema,
|
|
1627
|
+
ttl: exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4Ttl$inboundSchema
|
|
1628
|
+
.default("5m"),
|
|
1629
|
+
});
|
|
1630
|
+
/** @internal */
|
|
1631
|
+
exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4CacheControl$outboundSchema = z.object({
|
|
1632
|
+
type: exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4ContentType$outboundSchema,
|
|
1633
|
+
ttl: exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4Ttl$outboundSchema
|
|
1634
|
+
.default("5m"),
|
|
1635
|
+
});
|
|
1636
|
+
function deploymentGetConfig2DeploymentsRequestRequestBodyMessages4CacheControlToJSON(deploymentGetConfig2DeploymentsRequestRequestBodyMessages4CacheControl) {
|
|
1637
|
+
return JSON.stringify(exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4CacheControl$outboundSchema
|
|
1638
|
+
.parse(deploymentGetConfig2DeploymentsRequestRequestBodyMessages4CacheControl));
|
|
1639
|
+
}
|
|
1640
|
+
function deploymentGetConfig2DeploymentsRequestRequestBodyMessages4CacheControlFromJSON(jsonString) {
|
|
1641
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4CacheControl$inboundSchema
|
|
1642
|
+
.parse(JSON.parse(x)), `Failed to parse 'DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4CacheControl' from JSON`);
|
|
1643
|
+
}
|
|
1644
|
+
/** @internal */
|
|
1645
|
+
exports.DeploymentGetConfig2DeploymentsRequest1$inboundSchema = z.object({
|
|
1646
|
+
type: z.literal("text"),
|
|
1647
|
+
text: z.string(),
|
|
1648
|
+
cache_control: z.lazy(() => exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4CacheControl$inboundSchema).optional(),
|
|
1649
|
+
}).transform((v) => {
|
|
1650
|
+
return (0, primitives_js_1.remap)(v, {
|
|
1651
|
+
"cache_control": "cacheControl",
|
|
1652
|
+
});
|
|
1653
|
+
});
|
|
1654
|
+
/** @internal */
|
|
1655
|
+
exports.DeploymentGetConfig2DeploymentsRequest1$outboundSchema = z.object({
|
|
1656
|
+
type: z.literal("text"),
|
|
1657
|
+
text: z.string(),
|
|
1658
|
+
cacheControl: z.lazy(() => exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4CacheControl$outboundSchema).optional(),
|
|
1659
|
+
}).transform((v) => {
|
|
1660
|
+
return (0, primitives_js_1.remap)(v, {
|
|
1661
|
+
cacheControl: "cache_control",
|
|
1662
|
+
});
|
|
1663
|
+
});
|
|
1664
|
+
function deploymentGetConfig2DeploymentsRequest1ToJSON(deploymentGetConfig2DeploymentsRequest1) {
|
|
1665
|
+
return JSON.stringify(exports.DeploymentGetConfig2DeploymentsRequest1$outboundSchema.parse(deploymentGetConfig2DeploymentsRequest1));
|
|
1666
|
+
}
|
|
1667
|
+
function deploymentGetConfig2DeploymentsRequest1FromJSON(jsonString) {
|
|
1668
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DeploymentGetConfig2DeploymentsRequest1$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentGetConfig2DeploymentsRequest1' from JSON`);
|
|
1669
|
+
}
|
|
1670
|
+
/** @internal */
|
|
1671
|
+
exports.DeploymentGetConfigContentDeploymentsRequestRequestBodyMessages42$inboundSchema = z.union([
|
|
1672
|
+
z.lazy(() => exports.DeploymentGetConfig2DeploymentsRequest1$inboundSchema),
|
|
1050
1673
|
components.RefusalPartSchema$inboundSchema,
|
|
1051
1674
|
components.ReasoningPartSchema$inboundSchema,
|
|
1052
1675
|
components.RedactedReasoningPartSchema$inboundSchema,
|
|
1053
1676
|
]);
|
|
1054
1677
|
/** @internal */
|
|
1055
|
-
exports.
|
|
1056
|
-
|
|
1678
|
+
exports.DeploymentGetConfigContentDeploymentsRequestRequestBodyMessages42$outboundSchema = z.union([
|
|
1679
|
+
z.lazy(() => exports.DeploymentGetConfig2DeploymentsRequest1$outboundSchema),
|
|
1057
1680
|
components.RefusalPartSchema$outboundSchema,
|
|
1058
1681
|
components.ReasoningPartSchema$outboundSchema,
|
|
1059
1682
|
components.RedactedReasoningPartSchema$outboundSchema,
|
|
1060
1683
|
]);
|
|
1061
|
-
function
|
|
1062
|
-
return JSON.stringify(exports.
|
|
1063
|
-
.parse(
|
|
1684
|
+
function deploymentGetConfigContentDeploymentsRequestRequestBodyMessages42ToJSON(deploymentGetConfigContentDeploymentsRequestRequestBodyMessages42) {
|
|
1685
|
+
return JSON.stringify(exports.DeploymentGetConfigContentDeploymentsRequestRequestBodyMessages42$outboundSchema
|
|
1686
|
+
.parse(deploymentGetConfigContentDeploymentsRequestRequestBodyMessages42));
|
|
1064
1687
|
}
|
|
1065
|
-
function
|
|
1066
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.
|
|
1067
|
-
.parse(JSON.parse(x)), `Failed to parse '
|
|
1688
|
+
function deploymentGetConfigContentDeploymentsRequestRequestBodyMessages42FromJSON(jsonString) {
|
|
1689
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DeploymentGetConfigContentDeploymentsRequestRequestBodyMessages42$inboundSchema
|
|
1690
|
+
.parse(JSON.parse(x)), `Failed to parse 'DeploymentGetConfigContentDeploymentsRequestRequestBodyMessages42' from JSON`);
|
|
1068
1691
|
}
|
|
1069
1692
|
/** @internal */
|
|
1070
1693
|
exports.DeploymentGetConfigMessagesDeploymentsRequestContent$inboundSchema = z.union([
|
|
1071
1694
|
z.string(),
|
|
1072
1695
|
z.array(z.union([
|
|
1073
|
-
|
|
1696
|
+
z.lazy(() => exports.DeploymentGetConfig2DeploymentsRequest1$inboundSchema),
|
|
1074
1697
|
components.RefusalPartSchema$inboundSchema,
|
|
1075
1698
|
components.ReasoningPartSchema$inboundSchema,
|
|
1076
1699
|
components.RedactedReasoningPartSchema$inboundSchema,
|
|
@@ -1080,7 +1703,7 @@ exports.DeploymentGetConfigMessagesDeploymentsRequestContent$inboundSchema = z.u
|
|
|
1080
1703
|
exports.DeploymentGetConfigMessagesDeploymentsRequestContent$outboundSchema = z.union([
|
|
1081
1704
|
z.string(),
|
|
1082
1705
|
z.array(z.union([
|
|
1083
|
-
|
|
1706
|
+
z.lazy(() => exports.DeploymentGetConfig2DeploymentsRequest1$outboundSchema),
|
|
1084
1707
|
components.RefusalPartSchema$outboundSchema,
|
|
1085
1708
|
components.ReasoningPartSchema$outboundSchema,
|
|
1086
1709
|
components.RedactedReasoningPartSchema$outboundSchema,
|
|
@@ -1159,7 +1782,7 @@ exports.MessagesAssistantMessage$inboundSchema = z.object({
|
|
|
1159
1782
|
content: z.nullable(z.union([
|
|
1160
1783
|
z.string(),
|
|
1161
1784
|
z.array(z.union([
|
|
1162
|
-
|
|
1785
|
+
z.lazy(() => exports.DeploymentGetConfig2DeploymentsRequest1$inboundSchema),
|
|
1163
1786
|
components.RefusalPartSchema$inboundSchema,
|
|
1164
1787
|
components.ReasoningPartSchema$inboundSchema,
|
|
1165
1788
|
components.RedactedReasoningPartSchema$inboundSchema,
|
|
@@ -1180,7 +1803,7 @@ exports.MessagesAssistantMessage$outboundSchema = z.object({
|
|
|
1180
1803
|
content: z.nullable(z.union([
|
|
1181
1804
|
z.string(),
|
|
1182
1805
|
z.array(z.union([
|
|
1183
|
-
|
|
1806
|
+
z.lazy(() => exports.DeploymentGetConfig2DeploymentsRequest1$outboundSchema),
|
|
1184
1807
|
components.RefusalPartSchema$outboundSchema,
|
|
1185
1808
|
components.ReasoningPartSchema$outboundSchema,
|
|
1186
1809
|
components.RedactedReasoningPartSchema$outboundSchema,
|
|
@@ -1203,35 +1826,38 @@ function messagesAssistantMessageFromJSON(jsonString) {
|
|
|
1203
1826
|
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.MessagesAssistantMessage$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'MessagesAssistantMessage' from JSON`);
|
|
1204
1827
|
}
|
|
1205
1828
|
/** @internal */
|
|
1206
|
-
exports.
|
|
1829
|
+
exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages3Content4Type$inboundSchema = z.nativeEnum(exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages3Content4Type);
|
|
1207
1830
|
/** @internal */
|
|
1208
|
-
exports.
|
|
1831
|
+
exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages3Content4Type$outboundSchema = exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages3Content4Type$inboundSchema;
|
|
1209
1832
|
/** @internal */
|
|
1210
|
-
exports.
|
|
1211
|
-
.nativeEnum(exports.TwoTtl);
|
|
1833
|
+
exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessagesTtl$inboundSchema = z.nativeEnum(exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessagesTtl);
|
|
1212
1834
|
/** @internal */
|
|
1213
|
-
exports.
|
|
1835
|
+
exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessagesTtl$outboundSchema = exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessagesTtl$inboundSchema;
|
|
1214
1836
|
/** @internal */
|
|
1215
|
-
exports.
|
|
1216
|
-
type: exports.
|
|
1217
|
-
ttl: exports.
|
|
1837
|
+
exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessagesCacheControl$inboundSchema = z.object({
|
|
1838
|
+
type: exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages3Content4Type$inboundSchema,
|
|
1839
|
+
ttl: exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessagesTtl$inboundSchema
|
|
1840
|
+
.default("5m"),
|
|
1218
1841
|
});
|
|
1219
1842
|
/** @internal */
|
|
1220
|
-
exports.
|
|
1221
|
-
type: exports.
|
|
1222
|
-
ttl: exports.
|
|
1843
|
+
exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessagesCacheControl$outboundSchema = z.object({
|
|
1844
|
+
type: exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages3Content4Type$outboundSchema,
|
|
1845
|
+
ttl: exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessagesTtl$outboundSchema
|
|
1846
|
+
.default("5m"),
|
|
1223
1847
|
});
|
|
1224
|
-
function
|
|
1225
|
-
return JSON.stringify(exports.
|
|
1848
|
+
function deploymentGetConfig2DeploymentsRequestRequestBodyMessagesCacheControlToJSON(deploymentGetConfig2DeploymentsRequestRequestBodyMessagesCacheControl) {
|
|
1849
|
+
return JSON.stringify(exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessagesCacheControl$outboundSchema
|
|
1850
|
+
.parse(deploymentGetConfig2DeploymentsRequestRequestBodyMessagesCacheControl));
|
|
1226
1851
|
}
|
|
1227
|
-
function
|
|
1228
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.
|
|
1852
|
+
function deploymentGetConfig2DeploymentsRequestRequestBodyMessagesCacheControlFromJSON(jsonString) {
|
|
1853
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessagesCacheControl$inboundSchema
|
|
1854
|
+
.parse(JSON.parse(x)), `Failed to parse 'DeploymentGetConfig2DeploymentsRequestRequestBodyMessagesCacheControl' from JSON`);
|
|
1229
1855
|
}
|
|
1230
1856
|
/** @internal */
|
|
1231
1857
|
exports.Two4$inboundSchema = z
|
|
1232
1858
|
.object({
|
|
1233
1859
|
type: z.literal("file"),
|
|
1234
|
-
cache_control: z.lazy(() => exports.
|
|
1860
|
+
cache_control: z.lazy(() => exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessagesCacheControl$inboundSchema).optional(),
|
|
1235
1861
|
file: components.FileContentPartSchema$inboundSchema,
|
|
1236
1862
|
}).transform((v) => {
|
|
1237
1863
|
return (0, primitives_js_1.remap)(v, {
|
|
@@ -1241,7 +1867,7 @@ exports.Two4$inboundSchema = z
|
|
|
1241
1867
|
/** @internal */
|
|
1242
1868
|
exports.Two4$outboundSchema = z.object({
|
|
1243
1869
|
type: z.literal("file"),
|
|
1244
|
-
cacheControl: z.lazy(() => exports.
|
|
1870
|
+
cacheControl: z.lazy(() => exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessagesCacheControl$outboundSchema).optional(),
|
|
1245
1871
|
file: components.FileContentPartSchema$outboundSchema,
|
|
1246
1872
|
}).transform((v) => {
|
|
1247
1873
|
return (0, primitives_js_1.remap)(v, {
|
|
@@ -1255,30 +1881,86 @@ function two4FromJSON(jsonString) {
|
|
|
1255
1881
|
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.Two4$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Two4' from JSON`);
|
|
1256
1882
|
}
|
|
1257
1883
|
/** @internal */
|
|
1258
|
-
exports.
|
|
1259
|
-
|
|
1884
|
+
exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages3Type$inboundSchema = z.nativeEnum(exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages3Type);
|
|
1885
|
+
/** @internal */
|
|
1886
|
+
exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages3Type$outboundSchema = exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages3Type$inboundSchema;
|
|
1887
|
+
/** @internal */
|
|
1888
|
+
exports.DeploymentGetConfig2DeploymentsRequestRequestBodyTtl$inboundSchema = z.nativeEnum(exports.DeploymentGetConfig2DeploymentsRequestRequestBodyTtl);
|
|
1889
|
+
/** @internal */
|
|
1890
|
+
exports.DeploymentGetConfig2DeploymentsRequestRequestBodyTtl$outboundSchema = exports.DeploymentGetConfig2DeploymentsRequestRequestBodyTtl$inboundSchema;
|
|
1891
|
+
/** @internal */
|
|
1892
|
+
exports.DeploymentGetConfig2DeploymentsRequestRequestBodyCacheControl$inboundSchema = z.object({
|
|
1893
|
+
type: exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages3Type$inboundSchema,
|
|
1894
|
+
ttl: exports.DeploymentGetConfig2DeploymentsRequestRequestBodyTtl$inboundSchema
|
|
1895
|
+
.default("5m"),
|
|
1896
|
+
});
|
|
1897
|
+
/** @internal */
|
|
1898
|
+
exports.DeploymentGetConfig2DeploymentsRequestRequestBodyCacheControl$outboundSchema = z.object({
|
|
1899
|
+
type: exports.DeploymentGetConfig2DeploymentsRequestRequestBodyMessages3Type$outboundSchema,
|
|
1900
|
+
ttl: exports.DeploymentGetConfig2DeploymentsRequestRequestBodyTtl$outboundSchema
|
|
1901
|
+
.default("5m"),
|
|
1902
|
+
});
|
|
1903
|
+
function deploymentGetConfig2DeploymentsRequestRequestBodyCacheControlToJSON(deploymentGetConfig2DeploymentsRequestRequestBodyCacheControl) {
|
|
1904
|
+
return JSON.stringify(exports.DeploymentGetConfig2DeploymentsRequestRequestBodyCacheControl$outboundSchema
|
|
1905
|
+
.parse(deploymentGetConfig2DeploymentsRequestRequestBodyCacheControl));
|
|
1906
|
+
}
|
|
1907
|
+
function deploymentGetConfig2DeploymentsRequestRequestBodyCacheControlFromJSON(jsonString) {
|
|
1908
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DeploymentGetConfig2DeploymentsRequestRequestBodyCacheControl$inboundSchema
|
|
1909
|
+
.parse(JSON.parse(x)), `Failed to parse 'DeploymentGetConfig2DeploymentsRequestRequestBodyCacheControl' from JSON`);
|
|
1910
|
+
}
|
|
1911
|
+
/** @internal */
|
|
1912
|
+
exports.DeploymentGetConfig2Deployments1$inboundSchema = z.object({
|
|
1913
|
+
type: z.literal("text"),
|
|
1914
|
+
text: z.string(),
|
|
1915
|
+
cache_control: z.lazy(() => exports.DeploymentGetConfig2DeploymentsRequestRequestBodyCacheControl$inboundSchema).optional(),
|
|
1916
|
+
}).transform((v) => {
|
|
1917
|
+
return (0, primitives_js_1.remap)(v, {
|
|
1918
|
+
"cache_control": "cacheControl",
|
|
1919
|
+
});
|
|
1920
|
+
});
|
|
1921
|
+
/** @internal */
|
|
1922
|
+
exports.DeploymentGetConfig2Deployments1$outboundSchema = z.object({
|
|
1923
|
+
type: z.literal("text"),
|
|
1924
|
+
text: z.string(),
|
|
1925
|
+
cacheControl: z.lazy(() => exports.DeploymentGetConfig2DeploymentsRequestRequestBodyCacheControl$outboundSchema).optional(),
|
|
1926
|
+
}).transform((v) => {
|
|
1927
|
+
return (0, primitives_js_1.remap)(v, {
|
|
1928
|
+
cacheControl: "cache_control",
|
|
1929
|
+
});
|
|
1930
|
+
});
|
|
1931
|
+
function deploymentGetConfig2Deployments1ToJSON(deploymentGetConfig2Deployments1) {
|
|
1932
|
+
return JSON.stringify(exports.DeploymentGetConfig2Deployments1$outboundSchema.parse(deploymentGetConfig2Deployments1));
|
|
1933
|
+
}
|
|
1934
|
+
function deploymentGetConfig2Deployments1FromJSON(jsonString) {
|
|
1935
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DeploymentGetConfig2Deployments1$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentGetConfig2Deployments1' from JSON`);
|
|
1936
|
+
}
|
|
1937
|
+
/** @internal */
|
|
1938
|
+
exports.DeploymentGetConfigContentDeploymentsRequestRequestBodyMessages32$inboundSchema = z.union([
|
|
1939
|
+
z.lazy(() => exports.DeploymentGetConfig2Deployments1$inboundSchema),
|
|
1260
1940
|
components.ImageContentPartSchema$inboundSchema,
|
|
1261
1941
|
components.AudioContentPartSchema$inboundSchema,
|
|
1262
1942
|
z.lazy(() => exports.Two4$inboundSchema),
|
|
1263
1943
|
]);
|
|
1264
1944
|
/** @internal */
|
|
1265
|
-
exports.
|
|
1266
|
-
|
|
1945
|
+
exports.DeploymentGetConfigContentDeploymentsRequestRequestBodyMessages32$outboundSchema = z.union([
|
|
1946
|
+
z.lazy(() => exports.DeploymentGetConfig2Deployments1$outboundSchema),
|
|
1267
1947
|
components.ImageContentPartSchema$outboundSchema,
|
|
1268
1948
|
components.AudioContentPartSchema$outboundSchema,
|
|
1269
1949
|
z.lazy(() => exports.Two4$outboundSchema),
|
|
1270
1950
|
]);
|
|
1271
|
-
function
|
|
1272
|
-
return JSON.stringify(exports.
|
|
1951
|
+
function deploymentGetConfigContentDeploymentsRequestRequestBodyMessages32ToJSON(deploymentGetConfigContentDeploymentsRequestRequestBodyMessages32) {
|
|
1952
|
+
return JSON.stringify(exports.DeploymentGetConfigContentDeploymentsRequestRequestBodyMessages32$outboundSchema
|
|
1953
|
+
.parse(deploymentGetConfigContentDeploymentsRequestRequestBodyMessages32));
|
|
1273
1954
|
}
|
|
1274
|
-
function
|
|
1275
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.
|
|
1955
|
+
function deploymentGetConfigContentDeploymentsRequestRequestBodyMessages32FromJSON(jsonString) {
|
|
1956
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DeploymentGetConfigContentDeploymentsRequestRequestBodyMessages32$inboundSchema
|
|
1957
|
+
.parse(JSON.parse(x)), `Failed to parse 'DeploymentGetConfigContentDeploymentsRequestRequestBodyMessages32' from JSON`);
|
|
1276
1958
|
}
|
|
1277
1959
|
/** @internal */
|
|
1278
1960
|
exports.DeploymentGetConfigMessagesDeploymentsContent$inboundSchema = z.union([
|
|
1279
1961
|
z.string(),
|
|
1280
1962
|
z.array(z.union([
|
|
1281
|
-
|
|
1963
|
+
z.lazy(() => exports.DeploymentGetConfig2Deployments1$inboundSchema),
|
|
1282
1964
|
components.ImageContentPartSchema$inboundSchema,
|
|
1283
1965
|
components.AudioContentPartSchema$inboundSchema,
|
|
1284
1966
|
z.lazy(() => exports.Two4$inboundSchema),
|
|
@@ -1288,7 +1970,7 @@ exports.DeploymentGetConfigMessagesDeploymentsContent$inboundSchema = z.union([
|
|
|
1288
1970
|
exports.DeploymentGetConfigMessagesDeploymentsContent$outboundSchema = z.union([
|
|
1289
1971
|
z.string(),
|
|
1290
1972
|
z.array(z.union([
|
|
1291
|
-
|
|
1973
|
+
z.lazy(() => exports.DeploymentGetConfig2Deployments1$outboundSchema),
|
|
1292
1974
|
components.ImageContentPartSchema$outboundSchema,
|
|
1293
1975
|
components.AudioContentPartSchema$outboundSchema,
|
|
1294
1976
|
z.lazy(() => exports.Two4$outboundSchema),
|
|
@@ -1307,7 +1989,7 @@ exports.MessagesUserMessage$inboundSchema = z.object({
|
|
|
1307
1989
|
content: z.union([
|
|
1308
1990
|
z.string(),
|
|
1309
1991
|
z.array(z.union([
|
|
1310
|
-
|
|
1992
|
+
z.lazy(() => exports.DeploymentGetConfig2Deployments1$inboundSchema),
|
|
1311
1993
|
components.ImageContentPartSchema$inboundSchema,
|
|
1312
1994
|
components.AudioContentPartSchema$inboundSchema,
|
|
1313
1995
|
z.lazy(() => exports.Two4$inboundSchema),
|
|
@@ -1321,7 +2003,7 @@ exports.MessagesUserMessage$outboundSchema = z.object({
|
|
|
1321
2003
|
content: z.union([
|
|
1322
2004
|
z.string(),
|
|
1323
2005
|
z.array(z.union([
|
|
1324
|
-
|
|
2006
|
+
z.lazy(() => exports.DeploymentGetConfig2Deployments1$outboundSchema),
|
|
1325
2007
|
components.ImageContentPartSchema$outboundSchema,
|
|
1326
2008
|
components.AudioContentPartSchema$outboundSchema,
|
|
1327
2009
|
z.lazy(() => exports.Two4$outboundSchema),
|
|
@@ -1335,14 +2017,71 @@ function messagesUserMessageFromJSON(jsonString) {
|
|
|
1335
2017
|
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.MessagesUserMessage$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'MessagesUserMessage' from JSON`);
|
|
1336
2018
|
}
|
|
1337
2019
|
/** @internal */
|
|
2020
|
+
exports.DeploymentGetConfigContentDeploymentsRequestRequestBodyMessagesType$inboundSchema = z.nativeEnum(exports.DeploymentGetConfigContentDeploymentsRequestRequestBodyMessagesType);
|
|
2021
|
+
/** @internal */
|
|
2022
|
+
exports.DeploymentGetConfigContentDeploymentsRequestRequestBodyMessagesType$outboundSchema = exports.DeploymentGetConfigContentDeploymentsRequestRequestBodyMessagesType$inboundSchema;
|
|
2023
|
+
/** @internal */
|
|
2024
|
+
exports.DeploymentGetConfigContentDeploymentsRequestRequestBodyMessages2Type$inboundSchema = z.nativeEnum(exports.DeploymentGetConfigContentDeploymentsRequestRequestBodyMessages2Type);
|
|
2025
|
+
/** @internal */
|
|
2026
|
+
exports.DeploymentGetConfigContentDeploymentsRequestRequestBodyMessages2Type$outboundSchema = exports.DeploymentGetConfigContentDeploymentsRequestRequestBodyMessages2Type$inboundSchema;
|
|
2027
|
+
/** @internal */
|
|
2028
|
+
exports.DeploymentGetConfigContentDeploymentsTtl$inboundSchema = z
|
|
2029
|
+
.nativeEnum(exports.DeploymentGetConfigContentDeploymentsTtl);
|
|
2030
|
+
/** @internal */
|
|
2031
|
+
exports.DeploymentGetConfigContentDeploymentsTtl$outboundSchema = exports.DeploymentGetConfigContentDeploymentsTtl$inboundSchema;
|
|
2032
|
+
/** @internal */
|
|
2033
|
+
exports.DeploymentGetConfigContentDeploymentsCacheControl$inboundSchema = z.object({
|
|
2034
|
+
type: exports.DeploymentGetConfigContentDeploymentsRequestRequestBodyMessages2Type$inboundSchema,
|
|
2035
|
+
ttl: exports.DeploymentGetConfigContentDeploymentsTtl$inboundSchema.default("5m"),
|
|
2036
|
+
});
|
|
2037
|
+
/** @internal */
|
|
2038
|
+
exports.DeploymentGetConfigContentDeploymentsCacheControl$outboundSchema = z.object({
|
|
2039
|
+
type: exports.DeploymentGetConfigContentDeploymentsRequestRequestBodyMessages2Type$outboundSchema,
|
|
2040
|
+
ttl: exports.DeploymentGetConfigContentDeploymentsTtl$outboundSchema.default("5m"),
|
|
2041
|
+
});
|
|
2042
|
+
function deploymentGetConfigContentDeploymentsCacheControlToJSON(deploymentGetConfigContentDeploymentsCacheControl) {
|
|
2043
|
+
return JSON.stringify(exports.DeploymentGetConfigContentDeploymentsCacheControl$outboundSchema.parse(deploymentGetConfigContentDeploymentsCacheControl));
|
|
2044
|
+
}
|
|
2045
|
+
function deploymentGetConfigContentDeploymentsCacheControlFromJSON(jsonString) {
|
|
2046
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DeploymentGetConfigContentDeploymentsCacheControl$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentGetConfigContentDeploymentsCacheControl' from JSON`);
|
|
2047
|
+
}
|
|
2048
|
+
/** @internal */
|
|
2049
|
+
exports.DeploymentGetConfigContentDeploymentsRequestRequestBodyMessages2$inboundSchema = z.object({
|
|
2050
|
+
type: exports.DeploymentGetConfigContentDeploymentsRequestRequestBodyMessagesType$inboundSchema,
|
|
2051
|
+
text: z.string(),
|
|
2052
|
+
cache_control: z.lazy(() => exports.DeploymentGetConfigContentDeploymentsCacheControl$inboundSchema).optional(),
|
|
2053
|
+
}).transform((v) => {
|
|
2054
|
+
return (0, primitives_js_1.remap)(v, {
|
|
2055
|
+
"cache_control": "cacheControl",
|
|
2056
|
+
});
|
|
2057
|
+
});
|
|
2058
|
+
/** @internal */
|
|
2059
|
+
exports.DeploymentGetConfigContentDeploymentsRequestRequestBodyMessages2$outboundSchema = z.object({
|
|
2060
|
+
type: exports.DeploymentGetConfigContentDeploymentsRequestRequestBodyMessagesType$outboundSchema,
|
|
2061
|
+
text: z.string(),
|
|
2062
|
+
cacheControl: z.lazy(() => exports.DeploymentGetConfigContentDeploymentsCacheControl$outboundSchema).optional(),
|
|
2063
|
+
}).transform((v) => {
|
|
2064
|
+
return (0, primitives_js_1.remap)(v, {
|
|
2065
|
+
cacheControl: "cache_control",
|
|
2066
|
+
});
|
|
2067
|
+
});
|
|
2068
|
+
function deploymentGetConfigContentDeploymentsRequestRequestBodyMessages2ToJSON(deploymentGetConfigContentDeploymentsRequestRequestBodyMessages2) {
|
|
2069
|
+
return JSON.stringify(exports.DeploymentGetConfigContentDeploymentsRequestRequestBodyMessages2$outboundSchema
|
|
2070
|
+
.parse(deploymentGetConfigContentDeploymentsRequestRequestBodyMessages2));
|
|
2071
|
+
}
|
|
2072
|
+
function deploymentGetConfigContentDeploymentsRequestRequestBodyMessages2FromJSON(jsonString) {
|
|
2073
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DeploymentGetConfigContentDeploymentsRequestRequestBodyMessages2$inboundSchema
|
|
2074
|
+
.parse(JSON.parse(x)), `Failed to parse 'DeploymentGetConfigContentDeploymentsRequestRequestBodyMessages2' from JSON`);
|
|
2075
|
+
}
|
|
2076
|
+
/** @internal */
|
|
1338
2077
|
exports.DeploymentGetConfigMessagesContent$inboundSchema = z.union([
|
|
1339
2078
|
z.string(),
|
|
1340
|
-
z.array(
|
|
2079
|
+
z.array(z.lazy(() => exports.DeploymentGetConfigContentDeploymentsRequestRequestBodyMessages2$inboundSchema)),
|
|
1341
2080
|
]);
|
|
1342
2081
|
/** @internal */
|
|
1343
2082
|
exports.DeploymentGetConfigMessagesContent$outboundSchema = z.union([
|
|
1344
2083
|
z.string(),
|
|
1345
|
-
z.array(
|
|
2084
|
+
z.array(z.lazy(() => exports.DeploymentGetConfigContentDeploymentsRequestRequestBodyMessages2$outboundSchema)),
|
|
1346
2085
|
]);
|
|
1347
2086
|
function deploymentGetConfigMessagesContentToJSON(deploymentGetConfigMessagesContent) {
|
|
1348
2087
|
return JSON.stringify(exports.DeploymentGetConfigMessagesContent$outboundSchema.parse(deploymentGetConfigMessagesContent));
|
|
@@ -1355,7 +2094,7 @@ exports.MessagesDeveloperMessage$inboundSchema = z.object({
|
|
|
1355
2094
|
role: z.literal("developer"),
|
|
1356
2095
|
content: z.union([
|
|
1357
2096
|
z.string(),
|
|
1358
|
-
z.array(
|
|
2097
|
+
z.array(z.lazy(() => exports.DeploymentGetConfigContentDeploymentsRequestRequestBodyMessages2$inboundSchema)),
|
|
1359
2098
|
]),
|
|
1360
2099
|
name: z.string().optional(),
|
|
1361
2100
|
});
|
|
@@ -1364,7 +2103,7 @@ exports.MessagesDeveloperMessage$outboundSchema = z.object({
|
|
|
1364
2103
|
role: z.literal("developer"),
|
|
1365
2104
|
content: z.union([
|
|
1366
2105
|
z.string(),
|
|
1367
|
-
z.array(
|
|
2106
|
+
z.array(z.lazy(() => exports.DeploymentGetConfigContentDeploymentsRequestRequestBodyMessages2$outboundSchema)),
|
|
1368
2107
|
]),
|
|
1369
2108
|
name: z.string().optional(),
|
|
1370
2109
|
});
|
|
@@ -1375,14 +2114,71 @@ function messagesDeveloperMessageFromJSON(jsonString) {
|
|
|
1375
2114
|
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.MessagesDeveloperMessage$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'MessagesDeveloperMessage' from JSON`);
|
|
1376
2115
|
}
|
|
1377
2116
|
/** @internal */
|
|
2117
|
+
exports.DeploymentGetConfigContentDeploymentsRequestType$inboundSchema = z
|
|
2118
|
+
.nativeEnum(exports.DeploymentGetConfigContentDeploymentsRequestType);
|
|
2119
|
+
/** @internal */
|
|
2120
|
+
exports.DeploymentGetConfigContentDeploymentsRequestType$outboundSchema = exports.DeploymentGetConfigContentDeploymentsRequestType$inboundSchema;
|
|
2121
|
+
/** @internal */
|
|
2122
|
+
exports.DeploymentGetConfigContentDeploymentsRequestRequestBodyType$inboundSchema = z.nativeEnum(exports.DeploymentGetConfigContentDeploymentsRequestRequestBodyType);
|
|
2123
|
+
/** @internal */
|
|
2124
|
+
exports.DeploymentGetConfigContentDeploymentsRequestRequestBodyType$outboundSchema = exports.DeploymentGetConfigContentDeploymentsRequestRequestBodyType$inboundSchema;
|
|
2125
|
+
/** @internal */
|
|
2126
|
+
exports.DeploymentGetConfigContentTtl$inboundSchema = z.nativeEnum(exports.DeploymentGetConfigContentTtl);
|
|
2127
|
+
/** @internal */
|
|
2128
|
+
exports.DeploymentGetConfigContentTtl$outboundSchema = exports.DeploymentGetConfigContentTtl$inboundSchema;
|
|
2129
|
+
/** @internal */
|
|
2130
|
+
exports.DeploymentGetConfigContentCacheControl$inboundSchema = z.object({
|
|
2131
|
+
type: exports.DeploymentGetConfigContentDeploymentsRequestRequestBodyType$inboundSchema,
|
|
2132
|
+
ttl: exports.DeploymentGetConfigContentTtl$inboundSchema.default("5m"),
|
|
2133
|
+
});
|
|
2134
|
+
/** @internal */
|
|
2135
|
+
exports.DeploymentGetConfigContentCacheControl$outboundSchema = z.object({
|
|
2136
|
+
type: exports.DeploymentGetConfigContentDeploymentsRequestRequestBodyType$outboundSchema,
|
|
2137
|
+
ttl: exports.DeploymentGetConfigContentTtl$outboundSchema.default("5m"),
|
|
2138
|
+
});
|
|
2139
|
+
function deploymentGetConfigContentCacheControlToJSON(deploymentGetConfigContentCacheControl) {
|
|
2140
|
+
return JSON.stringify(exports.DeploymentGetConfigContentCacheControl$outboundSchema.parse(deploymentGetConfigContentCacheControl));
|
|
2141
|
+
}
|
|
2142
|
+
function deploymentGetConfigContentCacheControlFromJSON(jsonString) {
|
|
2143
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DeploymentGetConfigContentCacheControl$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentGetConfigContentCacheControl' from JSON`);
|
|
2144
|
+
}
|
|
2145
|
+
/** @internal */
|
|
2146
|
+
exports.DeploymentGetConfigContentDeploymentsRequestRequestBody2$inboundSchema = z.object({
|
|
2147
|
+
type: exports.DeploymentGetConfigContentDeploymentsRequestType$inboundSchema,
|
|
2148
|
+
text: z.string(),
|
|
2149
|
+
cache_control: z.lazy(() => exports.DeploymentGetConfigContentCacheControl$inboundSchema).optional(),
|
|
2150
|
+
}).transform((v) => {
|
|
2151
|
+
return (0, primitives_js_1.remap)(v, {
|
|
2152
|
+
"cache_control": "cacheControl",
|
|
2153
|
+
});
|
|
2154
|
+
});
|
|
2155
|
+
/** @internal */
|
|
2156
|
+
exports.DeploymentGetConfigContentDeploymentsRequestRequestBody2$outboundSchema = z.object({
|
|
2157
|
+
type: exports.DeploymentGetConfigContentDeploymentsRequestType$outboundSchema,
|
|
2158
|
+
text: z.string(),
|
|
2159
|
+
cacheControl: z.lazy(() => exports.DeploymentGetConfigContentCacheControl$outboundSchema).optional(),
|
|
2160
|
+
}).transform((v) => {
|
|
2161
|
+
return (0, primitives_js_1.remap)(v, {
|
|
2162
|
+
cacheControl: "cache_control",
|
|
2163
|
+
});
|
|
2164
|
+
});
|
|
2165
|
+
function deploymentGetConfigContentDeploymentsRequestRequestBody2ToJSON(deploymentGetConfigContentDeploymentsRequestRequestBody2) {
|
|
2166
|
+
return JSON.stringify(exports.DeploymentGetConfigContentDeploymentsRequestRequestBody2$outboundSchema
|
|
2167
|
+
.parse(deploymentGetConfigContentDeploymentsRequestRequestBody2));
|
|
2168
|
+
}
|
|
2169
|
+
function deploymentGetConfigContentDeploymentsRequestRequestBody2FromJSON(jsonString) {
|
|
2170
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DeploymentGetConfigContentDeploymentsRequestRequestBody2$inboundSchema
|
|
2171
|
+
.parse(JSON.parse(x)), `Failed to parse 'DeploymentGetConfigContentDeploymentsRequestRequestBody2' from JSON`);
|
|
2172
|
+
}
|
|
2173
|
+
/** @internal */
|
|
1378
2174
|
exports.MessagesContent$inboundSchema = z.union([
|
|
1379
2175
|
z.string(),
|
|
1380
|
-
z.array(
|
|
2176
|
+
z.array(z.lazy(() => exports.DeploymentGetConfigContentDeploymentsRequestRequestBody2$inboundSchema)),
|
|
1381
2177
|
]);
|
|
1382
2178
|
/** @internal */
|
|
1383
2179
|
exports.MessagesContent$outboundSchema = z.union([
|
|
1384
2180
|
z.string(),
|
|
1385
|
-
z.array(
|
|
2181
|
+
z.array(z.lazy(() => exports.DeploymentGetConfigContentDeploymentsRequestRequestBody2$outboundSchema)),
|
|
1386
2182
|
]);
|
|
1387
2183
|
function messagesContentToJSON(messagesContent) {
|
|
1388
2184
|
return JSON.stringify(exports.MessagesContent$outboundSchema.parse(messagesContent));
|
|
@@ -1395,7 +2191,7 @@ exports.MessagesSystemMessage$inboundSchema = z.object({
|
|
|
1395
2191
|
role: z.literal("system"),
|
|
1396
2192
|
content: z.union([
|
|
1397
2193
|
z.string(),
|
|
1398
|
-
z.array(
|
|
2194
|
+
z.array(z.lazy(() => exports.DeploymentGetConfigContentDeploymentsRequestRequestBody2$inboundSchema)),
|
|
1399
2195
|
]),
|
|
1400
2196
|
name: z.string().optional(),
|
|
1401
2197
|
});
|
|
@@ -1404,7 +2200,7 @@ exports.MessagesSystemMessage$outboundSchema = z.object({
|
|
|
1404
2200
|
role: z.literal("system"),
|
|
1405
2201
|
content: z.union([
|
|
1406
2202
|
z.string(),
|
|
1407
|
-
z.array(
|
|
2203
|
+
z.array(z.lazy(() => exports.DeploymentGetConfigContentDeploymentsRequestRequestBody2$outboundSchema)),
|
|
1408
2204
|
]),
|
|
1409
2205
|
name: z.string().optional(),
|
|
1410
2206
|
});
|
|
@@ -1415,7 +2211,7 @@ function messagesSystemMessageFromJSON(jsonString) {
|
|
|
1415
2211
|
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.MessagesSystemMessage$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'MessagesSystemMessage' from JSON`);
|
|
1416
2212
|
}
|
|
1417
2213
|
/** @internal */
|
|
1418
|
-
exports.
|
|
2214
|
+
exports.Messages$inboundSchema = z.union([
|
|
1419
2215
|
z.lazy(() => exports.MessagesSystemMessage$inboundSchema),
|
|
1420
2216
|
z.lazy(() => exports.MessagesDeveloperMessage$inboundSchema),
|
|
1421
2217
|
z.lazy(() => exports.MessagesUserMessage$inboundSchema),
|
|
@@ -1423,18 +2219,18 @@ exports.DeploymentGetConfigMessages$inboundSchema = z.union([
|
|
|
1423
2219
|
z.lazy(() => exports.MessagesToolMessage$inboundSchema),
|
|
1424
2220
|
]);
|
|
1425
2221
|
/** @internal */
|
|
1426
|
-
exports.
|
|
2222
|
+
exports.Messages$outboundSchema = z.union([
|
|
1427
2223
|
z.lazy(() => exports.MessagesSystemMessage$outboundSchema),
|
|
1428
2224
|
z.lazy(() => exports.MessagesDeveloperMessage$outboundSchema),
|
|
1429
2225
|
z.lazy(() => exports.MessagesUserMessage$outboundSchema),
|
|
1430
2226
|
z.lazy(() => exports.MessagesAssistantMessage$outboundSchema),
|
|
1431
2227
|
z.lazy(() => exports.MessagesToolMessage$outboundSchema),
|
|
1432
2228
|
]);
|
|
1433
|
-
function
|
|
1434
|
-
return JSON.stringify(exports.
|
|
2229
|
+
function messagesToJSON(messages) {
|
|
2230
|
+
return JSON.stringify(exports.Messages$outboundSchema.parse(messages));
|
|
1435
2231
|
}
|
|
1436
|
-
function
|
|
1437
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.
|
|
2232
|
+
function messagesFromJSON(jsonString) {
|
|
2233
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.Messages$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Messages' from JSON`);
|
|
1438
2234
|
}
|
|
1439
2235
|
/** @internal */
|
|
1440
2236
|
exports.Metadata$inboundSchema = z.object({
|
|
@@ -2457,30 +3253,30 @@ function deploymentGetConfig22FromJSON(jsonString) {
|
|
|
2457
3253
|
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DeploymentGetConfig22$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentGetConfig22' from JSON`);
|
|
2458
3254
|
}
|
|
2459
3255
|
/** @internal */
|
|
2460
|
-
exports.
|
|
3256
|
+
exports.DeploymentGetConfig2DeploymentsResponse1$inboundSchema = z.object({
|
|
2461
3257
|
type: z.literal("text"),
|
|
2462
3258
|
text: z.string(),
|
|
2463
3259
|
});
|
|
2464
3260
|
/** @internal */
|
|
2465
|
-
exports.
|
|
3261
|
+
exports.DeploymentGetConfig2DeploymentsResponse1$outboundSchema = z.object({
|
|
2466
3262
|
type: z.literal("text"),
|
|
2467
3263
|
text: z.string(),
|
|
2468
3264
|
});
|
|
2469
|
-
function
|
|
2470
|
-
return JSON.stringify(exports.
|
|
3265
|
+
function deploymentGetConfig2DeploymentsResponse1ToJSON(deploymentGetConfig2DeploymentsResponse1) {
|
|
3266
|
+
return JSON.stringify(exports.DeploymentGetConfig2DeploymentsResponse1$outboundSchema.parse(deploymentGetConfig2DeploymentsResponse1));
|
|
2471
3267
|
}
|
|
2472
|
-
function
|
|
2473
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.
|
|
3268
|
+
function deploymentGetConfig2DeploymentsResponse1FromJSON(jsonString) {
|
|
3269
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DeploymentGetConfig2DeploymentsResponse1$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentGetConfig2DeploymentsResponse1' from JSON`);
|
|
2474
3270
|
}
|
|
2475
3271
|
/** @internal */
|
|
2476
3272
|
exports.DeploymentGetConfigContentDeploymentsResponse2$inboundSchema = z.union([
|
|
2477
|
-
z.lazy(() => exports.
|
|
3273
|
+
z.lazy(() => exports.DeploymentGetConfig2DeploymentsResponse1$inboundSchema),
|
|
2478
3274
|
z.lazy(() => exports.DeploymentGetConfig22$inboundSchema),
|
|
2479
3275
|
z.lazy(() => exports.DeploymentGetConfig23$inboundSchema),
|
|
2480
3276
|
]);
|
|
2481
3277
|
/** @internal */
|
|
2482
3278
|
exports.DeploymentGetConfigContentDeploymentsResponse2$outboundSchema = z.union([
|
|
2483
|
-
z.lazy(() => exports.
|
|
3279
|
+
z.lazy(() => exports.DeploymentGetConfig2DeploymentsResponse1$outboundSchema),
|
|
2484
3280
|
z.lazy(() => exports.DeploymentGetConfig22$outboundSchema),
|
|
2485
3281
|
z.lazy(() => exports.DeploymentGetConfig23$outboundSchema),
|
|
2486
3282
|
]);
|
|
@@ -2494,7 +3290,7 @@ function deploymentGetConfigContentDeploymentsResponse2FromJSON(jsonString) {
|
|
|
2494
3290
|
exports.DeploymentGetConfigContent$inboundSchema = z.union([
|
|
2495
3291
|
z.string(),
|
|
2496
3292
|
z.array(z.union([
|
|
2497
|
-
z.lazy(() => exports.
|
|
3293
|
+
z.lazy(() => exports.DeploymentGetConfig2DeploymentsResponse1$inboundSchema),
|
|
2498
3294
|
z.lazy(() => exports.DeploymentGetConfig22$inboundSchema),
|
|
2499
3295
|
z.lazy(() => exports.DeploymentGetConfig23$inboundSchema),
|
|
2500
3296
|
])),
|
|
@@ -2503,7 +3299,7 @@ exports.DeploymentGetConfigContent$inboundSchema = z.union([
|
|
|
2503
3299
|
exports.DeploymentGetConfigContent$outboundSchema = z.union([
|
|
2504
3300
|
z.string(),
|
|
2505
3301
|
z.array(z.union([
|
|
2506
|
-
z.lazy(() => exports.
|
|
3302
|
+
z.lazy(() => exports.DeploymentGetConfig2DeploymentsResponse1$outboundSchema),
|
|
2507
3303
|
z.lazy(() => exports.DeploymentGetConfig22$outboundSchema),
|
|
2508
3304
|
z.lazy(() => exports.DeploymentGetConfig23$outboundSchema),
|
|
2509
3305
|
])),
|
|
@@ -2556,19 +3352,19 @@ function deploymentGetConfigToolCallsFromJSON(jsonString) {
|
|
|
2556
3352
|
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DeploymentGetConfigToolCalls$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentGetConfigToolCalls' from JSON`);
|
|
2557
3353
|
}
|
|
2558
3354
|
/** @internal */
|
|
2559
|
-
exports.
|
|
3355
|
+
exports.DeploymentGetConfigMessages$inboundSchema = z.object({
|
|
2560
3356
|
role: exports.DeploymentGetConfigRole$inboundSchema,
|
|
2561
3357
|
content: z.nullable(z.union([
|
|
2562
3358
|
z.string(),
|
|
2563
3359
|
z.array(z.union([
|
|
2564
|
-
z.lazy(() => exports.
|
|
3360
|
+
z.lazy(() => exports.DeploymentGetConfig2DeploymentsResponse1$inboundSchema),
|
|
2565
3361
|
z.lazy(() => exports.DeploymentGetConfig22$inboundSchema),
|
|
2566
3362
|
z.lazy(() => exports.DeploymentGetConfig23$inboundSchema),
|
|
2567
3363
|
])),
|
|
2568
3364
|
])),
|
|
2569
3365
|
tool_calls: z.array(z.lazy(() => exports.DeploymentGetConfigToolCalls$inboundSchema))
|
|
2570
3366
|
.optional(),
|
|
2571
|
-
tool_call_id: z.
|
|
3367
|
+
tool_call_id: z.string().optional(),
|
|
2572
3368
|
}).transform((v) => {
|
|
2573
3369
|
return (0, primitives_js_1.remap)(v, {
|
|
2574
3370
|
"tool_calls": "toolCalls",
|
|
@@ -2576,30 +3372,30 @@ exports.DeploymentGetConfigDeploymentsMessages$inboundSchema = z.object({
|
|
|
2576
3372
|
});
|
|
2577
3373
|
});
|
|
2578
3374
|
/** @internal */
|
|
2579
|
-
exports.
|
|
3375
|
+
exports.DeploymentGetConfigMessages$outboundSchema = z.object({
|
|
2580
3376
|
role: exports.DeploymentGetConfigRole$outboundSchema,
|
|
2581
3377
|
content: z.nullable(z.union([
|
|
2582
3378
|
z.string(),
|
|
2583
3379
|
z.array(z.union([
|
|
2584
|
-
z.lazy(() => exports.
|
|
3380
|
+
z.lazy(() => exports.DeploymentGetConfig2DeploymentsResponse1$outboundSchema),
|
|
2585
3381
|
z.lazy(() => exports.DeploymentGetConfig22$outboundSchema),
|
|
2586
3382
|
z.lazy(() => exports.DeploymentGetConfig23$outboundSchema),
|
|
2587
3383
|
])),
|
|
2588
3384
|
])),
|
|
2589
3385
|
toolCalls: z.array(z.lazy(() => exports.DeploymentGetConfigToolCalls$outboundSchema))
|
|
2590
3386
|
.optional(),
|
|
2591
|
-
toolCallId: z.
|
|
3387
|
+
toolCallId: z.string().optional(),
|
|
2592
3388
|
}).transform((v) => {
|
|
2593
3389
|
return (0, primitives_js_1.remap)(v, {
|
|
2594
3390
|
toolCalls: "tool_calls",
|
|
2595
3391
|
toolCallId: "tool_call_id",
|
|
2596
3392
|
});
|
|
2597
3393
|
});
|
|
2598
|
-
function
|
|
2599
|
-
return JSON.stringify(exports.
|
|
3394
|
+
function deploymentGetConfigMessagesToJSON(deploymentGetConfigMessages) {
|
|
3395
|
+
return JSON.stringify(exports.DeploymentGetConfigMessages$outboundSchema.parse(deploymentGetConfigMessages));
|
|
2600
3396
|
}
|
|
2601
|
-
function
|
|
2602
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.
|
|
3397
|
+
function deploymentGetConfigMessagesFromJSON(jsonString) {
|
|
3398
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DeploymentGetConfigMessages$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentGetConfigMessages' from JSON`);
|
|
2603
3399
|
}
|
|
2604
3400
|
/** @internal */
|
|
2605
3401
|
exports.DeploymentGetConfigFormat$inboundSchema = z.nativeEnum(exports.DeploymentGetConfigFormat);
|
|
@@ -2869,7 +3665,7 @@ exports.DeploymentGetConfigResponseBody$inboundSchema = z.object({
|
|
|
2869
3665
|
model: z.string(),
|
|
2870
3666
|
type: exports.DeploymentGetConfigType$inboundSchema.optional(),
|
|
2871
3667
|
version: z.string(),
|
|
2872
|
-
messages: z.array(z.lazy(() => exports.
|
|
3668
|
+
messages: z.array(z.lazy(() => exports.DeploymentGetConfigMessages$inboundSchema)),
|
|
2873
3669
|
parameters: z.lazy(() => exports.DeploymentGetConfigParameters$inboundSchema),
|
|
2874
3670
|
tools: z.array(z.lazy(() => exports.DeploymentGetConfigTools$inboundSchema))
|
|
2875
3671
|
.optional(),
|
|
@@ -2881,7 +3677,7 @@ exports.DeploymentGetConfigResponseBody$outboundSchema = z.object({
|
|
|
2881
3677
|
model: z.string(),
|
|
2882
3678
|
type: exports.DeploymentGetConfigType$outboundSchema.optional(),
|
|
2883
3679
|
version: z.string(),
|
|
2884
|
-
messages: z.array(z.lazy(() => exports.
|
|
3680
|
+
messages: z.array(z.lazy(() => exports.DeploymentGetConfigMessages$outboundSchema)),
|
|
2885
3681
|
parameters: z.lazy(() => exports.DeploymentGetConfigParameters$outboundSchema),
|
|
2886
3682
|
tools: z.array(z.lazy(() => exports.DeploymentGetConfigTools$outboundSchema))
|
|
2887
3683
|
.optional(),
|