@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
|
@@ -87,14 +87,14 @@ export type TwoFile = {
|
|
|
87
87
|
*/
|
|
88
88
|
filename?: string | undefined;
|
|
89
89
|
};
|
|
90
|
-
export type
|
|
90
|
+
export type Three = {
|
|
91
91
|
/**
|
|
92
92
|
* The type of the content part. Always `file`.
|
|
93
93
|
*/
|
|
94
94
|
type: "file";
|
|
95
95
|
file: TwoFile;
|
|
96
96
|
};
|
|
97
|
-
export type
|
|
97
|
+
export type ImageUrl = {
|
|
98
98
|
/**
|
|
99
99
|
* Either a URL of the image or the base64 encoded data URI.
|
|
100
100
|
*/
|
|
@@ -107,22 +107,22 @@ export type TwoImageUrl = {
|
|
|
107
107
|
/**
|
|
108
108
|
* The image part of the prompt message. Only supported with vision models.
|
|
109
109
|
*/
|
|
110
|
-
export type
|
|
110
|
+
export type Two2 = {
|
|
111
111
|
type: "image_url";
|
|
112
|
-
imageUrl:
|
|
112
|
+
imageUrl: ImageUrl;
|
|
113
113
|
};
|
|
114
114
|
/**
|
|
115
115
|
* Text content part of a prompt message
|
|
116
116
|
*/
|
|
117
|
-
export type
|
|
117
|
+
export type CreatePrompt21 = {
|
|
118
118
|
type: "text";
|
|
119
119
|
text: string;
|
|
120
120
|
};
|
|
121
|
-
export type CreatePromptContent2 =
|
|
121
|
+
export type CreatePromptContent2 = CreatePrompt21 | Two2 | Three;
|
|
122
122
|
/**
|
|
123
123
|
* The contents of the user message. Either the text content of the message or an array of content parts with a defined type, each can be of type `text` or `image_url` when passing in images. You can pass multiple images by adding multiple `image_url` content parts. Can be null for tool messages in certain scenarios.
|
|
124
124
|
*/
|
|
125
|
-
export type CreatePromptContent = string | Array<
|
|
125
|
+
export type CreatePromptContent = string | Array<CreatePrompt21 | Two2 | Three>;
|
|
126
126
|
export declare const CreatePromptType: {
|
|
127
127
|
readonly Function: "function";
|
|
128
128
|
};
|
|
@@ -148,9 +148,9 @@ export type CreatePromptMessages = {
|
|
|
148
148
|
/**
|
|
149
149
|
* The contents of the user message. Either the text content of the message or an array of content parts with a defined type, each can be of type `text` or `image_url` when passing in images. You can pass multiple images by adding multiple `image_url` content parts. Can be null for tool messages in certain scenarios.
|
|
150
150
|
*/
|
|
151
|
-
content: string | Array<
|
|
151
|
+
content: string | Array<CreatePrompt21 | Two2 | Three> | null;
|
|
152
152
|
toolCalls?: Array<CreatePromptToolCalls> | undefined;
|
|
153
|
-
toolCallId?: string |
|
|
153
|
+
toolCallId?: string | undefined;
|
|
154
154
|
};
|
|
155
155
|
/**
|
|
156
156
|
* Only supported on `image` models.
|
|
@@ -282,14 +282,14 @@ export type Verbosity = ClosedEnum<typeof Verbosity>;
|
|
|
282
282
|
/**
|
|
283
283
|
* The level of thinking to use for the model. Only supported by `Google AI`
|
|
284
284
|
*/
|
|
285
|
-
export declare const
|
|
285
|
+
export declare const ThinkingLevel: {
|
|
286
286
|
readonly Low: "low";
|
|
287
287
|
readonly High: "high";
|
|
288
288
|
};
|
|
289
289
|
/**
|
|
290
290
|
* The level of thinking to use for the model. Only supported by `Google AI`
|
|
291
291
|
*/
|
|
292
|
-
export type
|
|
292
|
+
export type ThinkingLevel = ClosedEnum<typeof ThinkingLevel>;
|
|
293
293
|
/**
|
|
294
294
|
* Optional model parameters like temperature and maxTokens.
|
|
295
295
|
*/
|
|
@@ -377,7 +377,7 @@ export type ModelParameters = {
|
|
|
377
377
|
/**
|
|
378
378
|
* The level of thinking to use for the model. Only supported by `Google AI`
|
|
379
379
|
*/
|
|
380
|
-
thinkingLevel?:
|
|
380
|
+
thinkingLevel?: ThinkingLevel | undefined;
|
|
381
381
|
};
|
|
382
382
|
/**
|
|
383
383
|
* [DEPRECATED]. Please use the `prompt` property instead. The current `prompt_config` will keep working but it will be deprecated in future versions. Configuration for the prompt including model and messages.
|
|
@@ -398,11 +398,72 @@ export type PromptConfiguration = {
|
|
|
398
398
|
*/
|
|
399
399
|
modelParameters?: ModelParameters | undefined;
|
|
400
400
|
};
|
|
401
|
-
export
|
|
401
|
+
export declare const CreatePrompt2PromptsRequestRequestBodyPromptMessages4Type: {
|
|
402
|
+
readonly Text: "text";
|
|
403
|
+
};
|
|
404
|
+
export type CreatePrompt2PromptsRequestRequestBodyPromptMessages4Type = ClosedEnum<typeof CreatePrompt2PromptsRequestRequestBodyPromptMessages4Type>;
|
|
405
|
+
/**
|
|
406
|
+
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
407
|
+
*/
|
|
408
|
+
export declare const CreatePrompt2PromptsRequestRequestBodyPromptMessages4ContentType: {
|
|
409
|
+
readonly Ephemeral: "ephemeral";
|
|
410
|
+
};
|
|
411
|
+
/**
|
|
412
|
+
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
413
|
+
*/
|
|
414
|
+
export type CreatePrompt2PromptsRequestRequestBodyPromptMessages4ContentType = ClosedEnum<typeof CreatePrompt2PromptsRequestRequestBodyPromptMessages4ContentType>;
|
|
415
|
+
/**
|
|
416
|
+
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
417
|
+
*
|
|
418
|
+
* @remarks
|
|
419
|
+
*
|
|
420
|
+
* - `5m`: 5 minutes
|
|
421
|
+
* - `1h`: 1 hour
|
|
422
|
+
*
|
|
423
|
+
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
424
|
+
*/
|
|
425
|
+
export declare const CreatePrompt2PromptsRequestRequestBodyTtl: {
|
|
426
|
+
readonly Fivem: "5m";
|
|
427
|
+
readonly Oneh: "1h";
|
|
428
|
+
};
|
|
429
|
+
/**
|
|
430
|
+
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
431
|
+
*
|
|
432
|
+
* @remarks
|
|
433
|
+
*
|
|
434
|
+
* - `5m`: 5 minutes
|
|
435
|
+
* - `1h`: 1 hour
|
|
436
|
+
*
|
|
437
|
+
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
438
|
+
*/
|
|
439
|
+
export type CreatePrompt2PromptsRequestRequestBodyTtl = ClosedEnum<typeof CreatePrompt2PromptsRequestRequestBodyTtl>;
|
|
440
|
+
export type CreatePrompt2PromptsRequestRequestBodyCacheControl = {
|
|
441
|
+
/**
|
|
442
|
+
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
443
|
+
*/
|
|
444
|
+
type: CreatePrompt2PromptsRequestRequestBodyPromptMessages4ContentType;
|
|
445
|
+
/**
|
|
446
|
+
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
447
|
+
*
|
|
448
|
+
* @remarks
|
|
449
|
+
*
|
|
450
|
+
* - `5m`: 5 minutes
|
|
451
|
+
* - `1h`: 1 hour
|
|
452
|
+
*
|
|
453
|
+
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
454
|
+
*/
|
|
455
|
+
ttl?: CreatePrompt2PromptsRequestRequestBodyTtl | undefined;
|
|
456
|
+
};
|
|
457
|
+
export type CreatePrompt2PromptsRequestRequestBody1 = {
|
|
458
|
+
type: CreatePrompt2PromptsRequestRequestBodyPromptMessages4Type;
|
|
459
|
+
text: string;
|
|
460
|
+
cacheControl?: CreatePrompt2PromptsRequestRequestBodyCacheControl | undefined;
|
|
461
|
+
};
|
|
462
|
+
export type CreatePromptContentPromptsRequestRequestBodyPrompt2 = CreatePrompt2PromptsRequestRequestBody1;
|
|
402
463
|
/**
|
|
403
464
|
* The contents of the tool message.
|
|
404
465
|
*/
|
|
405
|
-
export type CreatePromptMessagesPromptsRequestRequestBodyContent = string | Array<
|
|
466
|
+
export type CreatePromptMessagesPromptsRequestRequestBodyContent = string | Array<CreatePrompt2PromptsRequestRequestBody1>;
|
|
406
467
|
/**
|
|
407
468
|
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
408
469
|
*/
|
|
@@ -463,22 +524,75 @@ export type CreatePromptMessagesToolMessage = {
|
|
|
463
524
|
/**
|
|
464
525
|
* The contents of the tool message.
|
|
465
526
|
*/
|
|
466
|
-
content: string | Array<
|
|
527
|
+
content: string | Array<CreatePrompt2PromptsRequestRequestBody1>;
|
|
467
528
|
/**
|
|
468
529
|
* Tool call that this message is responding to.
|
|
469
530
|
*/
|
|
470
531
|
toolCallId: string;
|
|
471
532
|
cacheControl?: CreatePromptMessagesCacheControl | undefined;
|
|
472
533
|
};
|
|
473
|
-
|
|
534
|
+
/**
|
|
535
|
+
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
536
|
+
*/
|
|
537
|
+
export declare const CreatePrompt2PromptsRequestRequestBodyPromptMessages3ContentType: {
|
|
538
|
+
readonly Ephemeral: "ephemeral";
|
|
539
|
+
};
|
|
540
|
+
/**
|
|
541
|
+
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
542
|
+
*/
|
|
543
|
+
export type CreatePrompt2PromptsRequestRequestBodyPromptMessages3ContentType = ClosedEnum<typeof CreatePrompt2PromptsRequestRequestBodyPromptMessages3ContentType>;
|
|
544
|
+
/**
|
|
545
|
+
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
546
|
+
*
|
|
547
|
+
* @remarks
|
|
548
|
+
*
|
|
549
|
+
* - `5m`: 5 minutes
|
|
550
|
+
* - `1h`: 1 hour
|
|
551
|
+
*
|
|
552
|
+
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
553
|
+
*/
|
|
554
|
+
export declare const CreatePrompt2PromptsRequestTtl: {
|
|
555
|
+
readonly Fivem: "5m";
|
|
556
|
+
readonly Oneh: "1h";
|
|
557
|
+
};
|
|
558
|
+
/**
|
|
559
|
+
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
560
|
+
*
|
|
561
|
+
* @remarks
|
|
562
|
+
*
|
|
563
|
+
* - `5m`: 5 minutes
|
|
564
|
+
* - `1h`: 1 hour
|
|
565
|
+
*
|
|
566
|
+
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
567
|
+
*/
|
|
568
|
+
export type CreatePrompt2PromptsRequestTtl = ClosedEnum<typeof CreatePrompt2PromptsRequestTtl>;
|
|
569
|
+
export type CreatePrompt2PromptsRequestCacheControl = {
|
|
570
|
+
/**
|
|
571
|
+
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
572
|
+
*/
|
|
573
|
+
type: CreatePrompt2PromptsRequestRequestBodyPromptMessages3ContentType;
|
|
574
|
+
/**
|
|
575
|
+
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
576
|
+
*
|
|
577
|
+
* @remarks
|
|
578
|
+
*
|
|
579
|
+
* - `5m`: 5 minutes
|
|
580
|
+
* - `1h`: 1 hour
|
|
581
|
+
*
|
|
582
|
+
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
583
|
+
*/
|
|
584
|
+
ttl?: CreatePrompt2PromptsRequestTtl | undefined;
|
|
585
|
+
};
|
|
586
|
+
export type CreatePrompt2PromptsRequest1 = {
|
|
474
587
|
type: "text";
|
|
475
|
-
|
|
588
|
+
text: string;
|
|
589
|
+
cacheControl?: CreatePrompt2PromptsRequestCacheControl | undefined;
|
|
590
|
+
};
|
|
591
|
+
export type CreatePromptContentPromptsRequestRequestBody2 = CreatePrompt2PromptsRequest1 | components.RefusalPartSchema | components.ReasoningPartSchema | components.RedactedReasoningPartSchema;
|
|
476
592
|
/**
|
|
477
593
|
* The contents of the assistant message. Required unless `tool_calls` or `function_call` is specified.
|
|
478
594
|
*/
|
|
479
|
-
export type CreatePromptMessagesPromptsRequestContent = string | Array<
|
|
480
|
-
type: "text";
|
|
481
|
-
}) | components.RefusalPartSchema | components.ReasoningPartSchema | components.RedactedReasoningPartSchema>;
|
|
595
|
+
export type CreatePromptMessagesPromptsRequestContent = string | Array<CreatePrompt2PromptsRequest1 | components.RefusalPartSchema | components.ReasoningPartSchema | components.RedactedReasoningPartSchema>;
|
|
482
596
|
/**
|
|
483
597
|
* Data about a previous audio response from the model.
|
|
484
598
|
*/
|
|
@@ -527,9 +641,7 @@ export type CreatePromptMessagesAssistantMessage = {
|
|
|
527
641
|
/**
|
|
528
642
|
* The contents of the assistant message. Required unless `tool_calls` or `function_call` is specified.
|
|
529
643
|
*/
|
|
530
|
-
content?: string | Array<
|
|
531
|
-
type: "text";
|
|
532
|
-
}) | components.RefusalPartSchema | components.ReasoningPartSchema | components.RedactedReasoningPartSchema> | null | undefined;
|
|
644
|
+
content?: string | Array<CreatePrompt2PromptsRequest1 | components.RefusalPartSchema | components.ReasoningPartSchema | components.RedactedReasoningPartSchema> | null | undefined;
|
|
533
645
|
/**
|
|
534
646
|
* The refusal message by the assistant.
|
|
535
647
|
*/
|
|
@@ -554,13 +666,13 @@ export type CreatePromptMessagesAssistantMessage = {
|
|
|
554
666
|
/**
|
|
555
667
|
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
556
668
|
*/
|
|
557
|
-
export declare const
|
|
669
|
+
export declare const CreatePrompt2PromptsRequestRequestBodyPromptMessages2Type: {
|
|
558
670
|
readonly Ephemeral: "ephemeral";
|
|
559
671
|
};
|
|
560
672
|
/**
|
|
561
673
|
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
562
674
|
*/
|
|
563
|
-
export type
|
|
675
|
+
export type CreatePrompt2PromptsRequestRequestBodyPromptMessages2Type = ClosedEnum<typeof CreatePrompt2PromptsRequestRequestBodyPromptMessages2Type>;
|
|
564
676
|
/**
|
|
565
677
|
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
566
678
|
*
|
|
@@ -571,7 +683,7 @@ export type CreatePrompt2PromptsRequestRequestBodyPromptType = ClosedEnum<typeof
|
|
|
571
683
|
*
|
|
572
684
|
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
573
685
|
*/
|
|
574
|
-
export declare const
|
|
686
|
+
export declare const CreatePrompt2PromptsTtl: {
|
|
575
687
|
readonly Fivem: "5m";
|
|
576
688
|
readonly Oneh: "1h";
|
|
577
689
|
};
|
|
@@ -585,12 +697,12 @@ export declare const CreatePrompt2Ttl: {
|
|
|
585
697
|
*
|
|
586
698
|
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
587
699
|
*/
|
|
588
|
-
export type
|
|
589
|
-
export type
|
|
700
|
+
export type CreatePrompt2PromptsTtl = ClosedEnum<typeof CreatePrompt2PromptsTtl>;
|
|
701
|
+
export type CreatePrompt2PromptsCacheControl = {
|
|
590
702
|
/**
|
|
591
703
|
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
592
704
|
*/
|
|
593
|
-
type:
|
|
705
|
+
type: CreatePrompt2PromptsRequestRequestBodyPromptMessages2Type;
|
|
594
706
|
/**
|
|
595
707
|
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
596
708
|
*
|
|
@@ -601,28 +713,81 @@ export type CreatePrompt2CacheControl = {
|
|
|
601
713
|
*
|
|
602
714
|
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
603
715
|
*/
|
|
604
|
-
ttl?:
|
|
716
|
+
ttl?: CreatePrompt2PromptsTtl | undefined;
|
|
605
717
|
};
|
|
606
718
|
export type CreatePrompt24 = {
|
|
607
719
|
/**
|
|
608
720
|
* The type of the content part. Always `file`.
|
|
609
721
|
*/
|
|
610
722
|
type: "file";
|
|
611
|
-
cacheControl?:
|
|
723
|
+
cacheControl?: CreatePrompt2PromptsCacheControl | undefined;
|
|
612
724
|
/**
|
|
613
725
|
* File data for the content part. Must contain either file_data or uri, but not both.
|
|
614
726
|
*/
|
|
615
727
|
file: components.FileContentPartSchema;
|
|
616
728
|
};
|
|
617
|
-
|
|
729
|
+
/**
|
|
730
|
+
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
731
|
+
*/
|
|
732
|
+
export declare const CreatePrompt2PromptsRequestRequestBodyPromptType: {
|
|
733
|
+
readonly Ephemeral: "ephemeral";
|
|
734
|
+
};
|
|
735
|
+
/**
|
|
736
|
+
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
737
|
+
*/
|
|
738
|
+
export type CreatePrompt2PromptsRequestRequestBodyPromptType = ClosedEnum<typeof CreatePrompt2PromptsRequestRequestBodyPromptType>;
|
|
739
|
+
/**
|
|
740
|
+
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
741
|
+
*
|
|
742
|
+
* @remarks
|
|
743
|
+
*
|
|
744
|
+
* - `5m`: 5 minutes
|
|
745
|
+
* - `1h`: 1 hour
|
|
746
|
+
*
|
|
747
|
+
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
748
|
+
*/
|
|
749
|
+
export declare const CreatePrompt2Ttl: {
|
|
750
|
+
readonly Fivem: "5m";
|
|
751
|
+
readonly Oneh: "1h";
|
|
752
|
+
};
|
|
753
|
+
/**
|
|
754
|
+
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
755
|
+
*
|
|
756
|
+
* @remarks
|
|
757
|
+
*
|
|
758
|
+
* - `5m`: 5 minutes
|
|
759
|
+
* - `1h`: 1 hour
|
|
760
|
+
*
|
|
761
|
+
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
762
|
+
*/
|
|
763
|
+
export type CreatePrompt2Ttl = ClosedEnum<typeof CreatePrompt2Ttl>;
|
|
764
|
+
export type CreatePrompt2CacheControl = {
|
|
765
|
+
/**
|
|
766
|
+
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
767
|
+
*/
|
|
768
|
+
type: CreatePrompt2PromptsRequestRequestBodyPromptType;
|
|
769
|
+
/**
|
|
770
|
+
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
771
|
+
*
|
|
772
|
+
* @remarks
|
|
773
|
+
*
|
|
774
|
+
* - `5m`: 5 minutes
|
|
775
|
+
* - `1h`: 1 hour
|
|
776
|
+
*
|
|
777
|
+
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
778
|
+
*/
|
|
779
|
+
ttl?: CreatePrompt2Ttl | undefined;
|
|
780
|
+
};
|
|
781
|
+
export type CreatePrompt2Prompts1 = {
|
|
618
782
|
type: "text";
|
|
619
|
-
|
|
783
|
+
text: string;
|
|
784
|
+
cacheControl?: CreatePrompt2CacheControl | undefined;
|
|
785
|
+
};
|
|
786
|
+
export type CreatePromptContentPromptsRequest2 = CreatePrompt2Prompts1 | components.ImageContentPartSchema | components.AudioContentPartSchema | CreatePrompt24;
|
|
620
787
|
/**
|
|
621
788
|
* The contents of the user message.
|
|
622
789
|
*/
|
|
623
|
-
export type CreatePromptMessagesPromptsContent = string | Array<
|
|
624
|
-
type: "text";
|
|
625
|
-
}) | components.ImageContentPartSchema | components.AudioContentPartSchema | CreatePrompt24>;
|
|
790
|
+
export type CreatePromptMessagesPromptsContent = string | Array<CreatePrompt2Prompts1 | components.ImageContentPartSchema | components.AudioContentPartSchema | CreatePrompt24>;
|
|
626
791
|
export type CreatePromptMessagesUserMessage = {
|
|
627
792
|
/**
|
|
628
793
|
* The role of the messages author, in this case `user`.
|
|
@@ -635,14 +800,73 @@ export type CreatePromptMessagesUserMessage = {
|
|
|
635
800
|
/**
|
|
636
801
|
* The contents of the user message.
|
|
637
802
|
*/
|
|
638
|
-
content: string | Array<
|
|
639
|
-
|
|
640
|
-
|
|
803
|
+
content: string | Array<CreatePrompt2Prompts1 | components.ImageContentPartSchema | components.AudioContentPartSchema | CreatePrompt24>;
|
|
804
|
+
};
|
|
805
|
+
export declare const CreatePromptContentType: {
|
|
806
|
+
readonly Text: "text";
|
|
807
|
+
};
|
|
808
|
+
export type CreatePromptContentType = ClosedEnum<typeof CreatePromptContentType>;
|
|
809
|
+
/**
|
|
810
|
+
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
811
|
+
*/
|
|
812
|
+
export declare const CreatePromptContentPromptsType: {
|
|
813
|
+
readonly Ephemeral: "ephemeral";
|
|
814
|
+
};
|
|
815
|
+
/**
|
|
816
|
+
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
817
|
+
*/
|
|
818
|
+
export type CreatePromptContentPromptsType = ClosedEnum<typeof CreatePromptContentPromptsType>;
|
|
819
|
+
/**
|
|
820
|
+
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
821
|
+
*
|
|
822
|
+
* @remarks
|
|
823
|
+
*
|
|
824
|
+
* - `5m`: 5 minutes
|
|
825
|
+
* - `1h`: 1 hour
|
|
826
|
+
*
|
|
827
|
+
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
828
|
+
*/
|
|
829
|
+
export declare const CreatePromptContentTtl: {
|
|
830
|
+
readonly Fivem: "5m";
|
|
831
|
+
readonly Oneh: "1h";
|
|
832
|
+
};
|
|
833
|
+
/**
|
|
834
|
+
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
835
|
+
*
|
|
836
|
+
* @remarks
|
|
837
|
+
*
|
|
838
|
+
* - `5m`: 5 minutes
|
|
839
|
+
* - `1h`: 1 hour
|
|
840
|
+
*
|
|
841
|
+
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
842
|
+
*/
|
|
843
|
+
export type CreatePromptContentTtl = ClosedEnum<typeof CreatePromptContentTtl>;
|
|
844
|
+
export type CreatePromptContentCacheControl = {
|
|
845
|
+
/**
|
|
846
|
+
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
847
|
+
*/
|
|
848
|
+
type: CreatePromptContentPromptsType;
|
|
849
|
+
/**
|
|
850
|
+
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
851
|
+
*
|
|
852
|
+
* @remarks
|
|
853
|
+
*
|
|
854
|
+
* - `5m`: 5 minutes
|
|
855
|
+
* - `1h`: 1 hour
|
|
856
|
+
*
|
|
857
|
+
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
858
|
+
*/
|
|
859
|
+
ttl?: CreatePromptContentTtl | undefined;
|
|
860
|
+
};
|
|
861
|
+
export type CreatePromptContentPrompts2 = {
|
|
862
|
+
type: CreatePromptContentType;
|
|
863
|
+
text: string;
|
|
864
|
+
cacheControl?: CreatePromptContentCacheControl | undefined;
|
|
641
865
|
};
|
|
642
866
|
/**
|
|
643
867
|
* The contents of the system message.
|
|
644
868
|
*/
|
|
645
|
-
export type CreatePromptMessagesContent = string | Array<
|
|
869
|
+
export type CreatePromptMessagesContent = string | Array<CreatePromptContentPrompts2>;
|
|
646
870
|
/**
|
|
647
871
|
* Developer-provided instructions that the model should follow, regardless of messages sent by the user.
|
|
648
872
|
*/
|
|
@@ -654,7 +878,7 @@ export type CreatePromptMessagesSystemMessage = {
|
|
|
654
878
|
/**
|
|
655
879
|
* The contents of the system message.
|
|
656
880
|
*/
|
|
657
|
-
content: string | Array<
|
|
881
|
+
content: string | Array<CreatePromptContentPrompts2>;
|
|
658
882
|
/**
|
|
659
883
|
* An optional name for the participant. Provides the model information to differentiate between participants of the same role.
|
|
660
884
|
*/
|
|
@@ -920,14 +1144,14 @@ export type CreatePromptVerbosity = ClosedEnum<typeof CreatePromptVerbosity>;
|
|
|
920
1144
|
/**
|
|
921
1145
|
* The level of thinking to use for the model. Only supported by `Google AI`
|
|
922
1146
|
*/
|
|
923
|
-
export declare const
|
|
1147
|
+
export declare const CreatePromptThinkingLevel: {
|
|
924
1148
|
readonly Low: "low";
|
|
925
1149
|
readonly High: "high";
|
|
926
1150
|
};
|
|
927
1151
|
/**
|
|
928
1152
|
* The level of thinking to use for the model. Only supported by `Google AI`
|
|
929
1153
|
*/
|
|
930
|
-
export type
|
|
1154
|
+
export type CreatePromptThinkingLevel = ClosedEnum<typeof CreatePromptThinkingLevel>;
|
|
931
1155
|
/**
|
|
932
1156
|
* Model Parameters: Not all parameters apply to every model
|
|
933
1157
|
*/
|
|
@@ -1015,33 +1239,32 @@ export type CreatePromptModelParameters = {
|
|
|
1015
1239
|
/**
|
|
1016
1240
|
* The level of thinking to use for the model. Only supported by `Google AI`
|
|
1017
1241
|
*/
|
|
1018
|
-
thinkingLevel?:
|
|
1242
|
+
thinkingLevel?: CreatePromptThinkingLevel | undefined;
|
|
1019
1243
|
};
|
|
1020
1244
|
export declare const CreatePromptProvider: {
|
|
1021
|
-
readonly Openai: "openai";
|
|
1022
|
-
readonly Groq: "groq";
|
|
1023
1245
|
readonly Cohere: "cohere";
|
|
1024
|
-
readonly
|
|
1025
|
-
readonly
|
|
1246
|
+
readonly Openai: "openai";
|
|
1247
|
+
readonly Anthropic: "anthropic";
|
|
1248
|
+
readonly Huggingface: "huggingface";
|
|
1249
|
+
readonly Replicate: "replicate";
|
|
1026
1250
|
readonly Google: "google";
|
|
1027
1251
|
readonly GoogleAi: "google-ai";
|
|
1028
|
-
readonly
|
|
1029
|
-
readonly
|
|
1252
|
+
readonly Azure: "azure";
|
|
1253
|
+
readonly Aws: "aws";
|
|
1254
|
+
readonly Anyscale: "anyscale";
|
|
1030
1255
|
readonly Perplexity: "perplexity";
|
|
1031
|
-
readonly
|
|
1032
|
-
readonly Leonardoai: "leonardoai";
|
|
1256
|
+
readonly Groq: "groq";
|
|
1033
1257
|
readonly Fal: "fal";
|
|
1258
|
+
readonly Leonardoai: "leonardoai";
|
|
1034
1259
|
readonly Nvidia: "nvidia";
|
|
1035
1260
|
readonly Jina: "jina";
|
|
1261
|
+
readonly Togetherai: "togetherai";
|
|
1036
1262
|
readonly Elevenlabs: "elevenlabs";
|
|
1037
1263
|
readonly Litellm: "litellm";
|
|
1038
|
-
readonly Cerebras: "cerebras";
|
|
1039
1264
|
readonly Openailike: "openailike";
|
|
1265
|
+
readonly Cerebras: "cerebras";
|
|
1040
1266
|
readonly Bytedance: "bytedance";
|
|
1041
1267
|
readonly Mistral: "mistral";
|
|
1042
|
-
readonly Deepseek: "deepseek";
|
|
1043
|
-
readonly Contextualai: "contextualai";
|
|
1044
|
-
readonly Moonshotai: "moonshotai";
|
|
1045
1268
|
};
|
|
1046
1269
|
export type CreatePromptProvider = ClosedEnum<typeof CreatePromptProvider>;
|
|
1047
1270
|
/**
|
|
@@ -1103,22 +1326,22 @@ export type CreatePrompt2ImageUrl = {
|
|
|
1103
1326
|
/**
|
|
1104
1327
|
* The image part of the prompt message. Only supported with vision models.
|
|
1105
1328
|
*/
|
|
1106
|
-
export type
|
|
1329
|
+
export type CreatePrompt22 = {
|
|
1107
1330
|
type: "image_url";
|
|
1108
1331
|
imageUrl: CreatePrompt2ImageUrl;
|
|
1109
1332
|
};
|
|
1110
1333
|
/**
|
|
1111
1334
|
* Text content part of a prompt message
|
|
1112
1335
|
*/
|
|
1113
|
-
export type
|
|
1336
|
+
export type CreatePrompt2PromptsResponse1 = {
|
|
1114
1337
|
type: "text";
|
|
1115
1338
|
text: string;
|
|
1116
1339
|
};
|
|
1117
|
-
export type CreatePromptContentPromptsResponse2 =
|
|
1340
|
+
export type CreatePromptContentPromptsResponse2 = CreatePrompt2PromptsResponse1 | CreatePrompt22 | CreatePrompt23;
|
|
1118
1341
|
/**
|
|
1119
1342
|
* The contents of the user message. Either the text content of the message or an array of content parts with a defined type, each can be of type `text` or `image_url` when passing in images. You can pass multiple images by adding multiple `image_url` content parts. Can be null for tool messages in certain scenarios.
|
|
1120
1343
|
*/
|
|
1121
|
-
export type CreatePromptPromptsContent = string | Array<
|
|
1344
|
+
export type CreatePromptPromptsContent = string | Array<CreatePrompt2PromptsResponse1 | CreatePrompt22 | CreatePrompt23>;
|
|
1122
1345
|
export declare const CreatePromptPromptsResponseType: {
|
|
1123
1346
|
readonly Function: "function";
|
|
1124
1347
|
};
|
|
@@ -1144,9 +1367,9 @@ export type CreatePromptPromptsResponseMessages = {
|
|
|
1144
1367
|
/**
|
|
1145
1368
|
* The contents of the user message. Either the text content of the message or an array of content parts with a defined type, each can be of type `text` or `image_url` when passing in images. You can pass multiple images by adding multiple `image_url` content parts. Can be null for tool messages in certain scenarios.
|
|
1146
1369
|
*/
|
|
1147
|
-
content: string | Array<
|
|
1370
|
+
content: string | Array<CreatePrompt2PromptsResponse1 | CreatePrompt22 | CreatePrompt23> | null;
|
|
1148
1371
|
toolCalls?: Array<CreatePromptPromptsToolCalls> | undefined;
|
|
1149
|
-
toolCallId?: string |
|
|
1372
|
+
toolCallId?: string | undefined;
|
|
1150
1373
|
};
|
|
1151
1374
|
/**
|
|
1152
1375
|
* A list of messages compatible with the openAI schema
|
|
@@ -1286,53 +1509,53 @@ export declare const TwoFile$outboundSchema: z.ZodType<TwoFile$Outbound, z.ZodTy
|
|
|
1286
1509
|
export declare function twoFileToJSON(twoFile: TwoFile): string;
|
|
1287
1510
|
export declare function twoFileFromJSON(jsonString: string): SafeParseResult<TwoFile, SDKValidationError>;
|
|
1288
1511
|
/** @internal */
|
|
1289
|
-
export declare const
|
|
1512
|
+
export declare const Three$inboundSchema: z.ZodType<Three, z.ZodTypeDef, unknown>;
|
|
1290
1513
|
/** @internal */
|
|
1291
|
-
export type
|
|
1514
|
+
export type Three$Outbound = {
|
|
1292
1515
|
type: "file";
|
|
1293
1516
|
file: TwoFile$Outbound;
|
|
1294
1517
|
};
|
|
1295
1518
|
/** @internal */
|
|
1296
|
-
export declare const
|
|
1297
|
-
export declare function
|
|
1298
|
-
export declare function
|
|
1519
|
+
export declare const Three$outboundSchema: z.ZodType<Three$Outbound, z.ZodTypeDef, Three>;
|
|
1520
|
+
export declare function threeToJSON(three: Three): string;
|
|
1521
|
+
export declare function threeFromJSON(jsonString: string): SafeParseResult<Three, SDKValidationError>;
|
|
1299
1522
|
/** @internal */
|
|
1300
|
-
export declare const
|
|
1523
|
+
export declare const ImageUrl$inboundSchema: z.ZodType<ImageUrl, z.ZodTypeDef, unknown>;
|
|
1301
1524
|
/** @internal */
|
|
1302
|
-
export type
|
|
1525
|
+
export type ImageUrl$Outbound = {
|
|
1303
1526
|
url: string;
|
|
1304
1527
|
detail?: string | undefined;
|
|
1305
1528
|
};
|
|
1306
1529
|
/** @internal */
|
|
1307
|
-
export declare const
|
|
1308
|
-
export declare function
|
|
1309
|
-
export declare function
|
|
1530
|
+
export declare const ImageUrl$outboundSchema: z.ZodType<ImageUrl$Outbound, z.ZodTypeDef, ImageUrl>;
|
|
1531
|
+
export declare function imageUrlToJSON(imageUrl: ImageUrl): string;
|
|
1532
|
+
export declare function imageUrlFromJSON(jsonString: string): SafeParseResult<ImageUrl, SDKValidationError>;
|
|
1310
1533
|
/** @internal */
|
|
1311
|
-
export declare const
|
|
1534
|
+
export declare const Two2$inboundSchema: z.ZodType<Two2, z.ZodTypeDef, unknown>;
|
|
1312
1535
|
/** @internal */
|
|
1313
|
-
export type
|
|
1536
|
+
export type Two2$Outbound = {
|
|
1314
1537
|
type: "image_url";
|
|
1315
|
-
image_url:
|
|
1538
|
+
image_url: ImageUrl$Outbound;
|
|
1316
1539
|
};
|
|
1317
1540
|
/** @internal */
|
|
1318
|
-
export declare const
|
|
1319
|
-
export declare function
|
|
1320
|
-
export declare function
|
|
1541
|
+
export declare const Two2$outboundSchema: z.ZodType<Two2$Outbound, z.ZodTypeDef, Two2>;
|
|
1542
|
+
export declare function two2ToJSON(two2: Two2): string;
|
|
1543
|
+
export declare function two2FromJSON(jsonString: string): SafeParseResult<Two2, SDKValidationError>;
|
|
1321
1544
|
/** @internal */
|
|
1322
|
-
export declare const
|
|
1545
|
+
export declare const CreatePrompt21$inboundSchema: z.ZodType<CreatePrompt21, z.ZodTypeDef, unknown>;
|
|
1323
1546
|
/** @internal */
|
|
1324
|
-
export type
|
|
1547
|
+
export type CreatePrompt21$Outbound = {
|
|
1325
1548
|
type: "text";
|
|
1326
1549
|
text: string;
|
|
1327
1550
|
};
|
|
1328
1551
|
/** @internal */
|
|
1329
|
-
export declare const
|
|
1330
|
-
export declare function
|
|
1331
|
-
export declare function
|
|
1552
|
+
export declare const CreatePrompt21$outboundSchema: z.ZodType<CreatePrompt21$Outbound, z.ZodTypeDef, CreatePrompt21>;
|
|
1553
|
+
export declare function createPrompt21ToJSON(createPrompt21: CreatePrompt21): string;
|
|
1554
|
+
export declare function createPrompt21FromJSON(jsonString: string): SafeParseResult<CreatePrompt21, SDKValidationError>;
|
|
1332
1555
|
/** @internal */
|
|
1333
1556
|
export declare const CreatePromptContent2$inboundSchema: z.ZodType<CreatePromptContent2, z.ZodTypeDef, unknown>;
|
|
1334
1557
|
/** @internal */
|
|
1335
|
-
export type CreatePromptContent2$Outbound =
|
|
1558
|
+
export type CreatePromptContent2$Outbound = CreatePrompt21$Outbound | Two2$Outbound | Three$Outbound;
|
|
1336
1559
|
/** @internal */
|
|
1337
1560
|
export declare const CreatePromptContent2$outboundSchema: z.ZodType<CreatePromptContent2$Outbound, z.ZodTypeDef, CreatePromptContent2>;
|
|
1338
1561
|
export declare function createPromptContent2ToJSON(createPromptContent2: CreatePromptContent2): string;
|
|
@@ -1340,7 +1563,7 @@ export declare function createPromptContent2FromJSON(jsonString: string): SafePa
|
|
|
1340
1563
|
/** @internal */
|
|
1341
1564
|
export declare const CreatePromptContent$inboundSchema: z.ZodType<CreatePromptContent, z.ZodTypeDef, unknown>;
|
|
1342
1565
|
/** @internal */
|
|
1343
|
-
export type CreatePromptContent$Outbound = string | Array<
|
|
1566
|
+
export type CreatePromptContent$Outbound = string | Array<CreatePrompt21$Outbound | Two2$Outbound | Three$Outbound>;
|
|
1344
1567
|
/** @internal */
|
|
1345
1568
|
export declare const CreatePromptContent$outboundSchema: z.ZodType<CreatePromptContent$Outbound, z.ZodTypeDef, CreatePromptContent>;
|
|
1346
1569
|
export declare function createPromptContentToJSON(createPromptContent: CreatePromptContent): string;
|
|
@@ -1378,9 +1601,9 @@ export declare const CreatePromptMessages$inboundSchema: z.ZodType<CreatePromptM
|
|
|
1378
1601
|
/** @internal */
|
|
1379
1602
|
export type CreatePromptMessages$Outbound = {
|
|
1380
1603
|
role: string;
|
|
1381
|
-
content: string | Array<
|
|
1604
|
+
content: string | Array<CreatePrompt21$Outbound | Two2$Outbound | Three$Outbound> | null;
|
|
1382
1605
|
tool_calls?: Array<CreatePromptToolCalls$Outbound> | undefined;
|
|
1383
|
-
tool_call_id?: string |
|
|
1606
|
+
tool_call_id?: string | undefined;
|
|
1384
1607
|
};
|
|
1385
1608
|
/** @internal */
|
|
1386
1609
|
export declare const CreatePromptMessages$outboundSchema: z.ZodType<CreatePromptMessages$Outbound, z.ZodTypeDef, CreatePromptMessages>;
|
|
@@ -1486,9 +1709,9 @@ export declare const Verbosity$inboundSchema: z.ZodNativeEnum<typeof Verbosity>;
|
|
|
1486
1709
|
/** @internal */
|
|
1487
1710
|
export declare const Verbosity$outboundSchema: z.ZodNativeEnum<typeof Verbosity>;
|
|
1488
1711
|
/** @internal */
|
|
1489
|
-
export declare const
|
|
1712
|
+
export declare const ThinkingLevel$inboundSchema: z.ZodNativeEnum<typeof ThinkingLevel>;
|
|
1490
1713
|
/** @internal */
|
|
1491
|
-
export declare const
|
|
1714
|
+
export declare const ThinkingLevel$outboundSchema: z.ZodNativeEnum<typeof ThinkingLevel>;
|
|
1492
1715
|
/** @internal */
|
|
1493
1716
|
export declare const ModelParameters$inboundSchema: z.ZodType<ModelParameters, z.ZodTypeDef, unknown>;
|
|
1494
1717
|
/** @internal */
|
|
@@ -1530,17 +1753,52 @@ export declare const PromptConfiguration$outboundSchema: z.ZodType<PromptConfigu
|
|
|
1530
1753
|
export declare function promptConfigurationToJSON(promptConfiguration: PromptConfiguration): string;
|
|
1531
1754
|
export declare function promptConfigurationFromJSON(jsonString: string): SafeParseResult<PromptConfiguration, SDKValidationError>;
|
|
1532
1755
|
/** @internal */
|
|
1533
|
-
export declare const
|
|
1756
|
+
export declare const CreatePrompt2PromptsRequestRequestBodyPromptMessages4Type$inboundSchema: z.ZodNativeEnum<typeof CreatePrompt2PromptsRequestRequestBodyPromptMessages4Type>;
|
|
1534
1757
|
/** @internal */
|
|
1535
|
-
export
|
|
1758
|
+
export declare const CreatePrompt2PromptsRequestRequestBodyPromptMessages4Type$outboundSchema: z.ZodNativeEnum<typeof CreatePrompt2PromptsRequestRequestBodyPromptMessages4Type>;
|
|
1536
1759
|
/** @internal */
|
|
1537
|
-
export declare const
|
|
1538
|
-
|
|
1539
|
-
export declare
|
|
1760
|
+
export declare const CreatePrompt2PromptsRequestRequestBodyPromptMessages4ContentType$inboundSchema: z.ZodNativeEnum<typeof CreatePrompt2PromptsRequestRequestBodyPromptMessages4ContentType>;
|
|
1761
|
+
/** @internal */
|
|
1762
|
+
export declare const CreatePrompt2PromptsRequestRequestBodyPromptMessages4ContentType$outboundSchema: z.ZodNativeEnum<typeof CreatePrompt2PromptsRequestRequestBodyPromptMessages4ContentType>;
|
|
1763
|
+
/** @internal */
|
|
1764
|
+
export declare const CreatePrompt2PromptsRequestRequestBodyTtl$inboundSchema: z.ZodNativeEnum<typeof CreatePrompt2PromptsRequestRequestBodyTtl>;
|
|
1765
|
+
/** @internal */
|
|
1766
|
+
export declare const CreatePrompt2PromptsRequestRequestBodyTtl$outboundSchema: z.ZodNativeEnum<typeof CreatePrompt2PromptsRequestRequestBodyTtl>;
|
|
1767
|
+
/** @internal */
|
|
1768
|
+
export declare const CreatePrompt2PromptsRequestRequestBodyCacheControl$inboundSchema: z.ZodType<CreatePrompt2PromptsRequestRequestBodyCacheControl, z.ZodTypeDef, unknown>;
|
|
1769
|
+
/** @internal */
|
|
1770
|
+
export type CreatePrompt2PromptsRequestRequestBodyCacheControl$Outbound = {
|
|
1771
|
+
type: string;
|
|
1772
|
+
ttl: string;
|
|
1773
|
+
};
|
|
1774
|
+
/** @internal */
|
|
1775
|
+
export declare const CreatePrompt2PromptsRequestRequestBodyCacheControl$outboundSchema: z.ZodType<CreatePrompt2PromptsRequestRequestBodyCacheControl$Outbound, z.ZodTypeDef, CreatePrompt2PromptsRequestRequestBodyCacheControl>;
|
|
1776
|
+
export declare function createPrompt2PromptsRequestRequestBodyCacheControlToJSON(createPrompt2PromptsRequestRequestBodyCacheControl: CreatePrompt2PromptsRequestRequestBodyCacheControl): string;
|
|
1777
|
+
export declare function createPrompt2PromptsRequestRequestBodyCacheControlFromJSON(jsonString: string): SafeParseResult<CreatePrompt2PromptsRequestRequestBodyCacheControl, SDKValidationError>;
|
|
1778
|
+
/** @internal */
|
|
1779
|
+
export declare const CreatePrompt2PromptsRequestRequestBody1$inboundSchema: z.ZodType<CreatePrompt2PromptsRequestRequestBody1, z.ZodTypeDef, unknown>;
|
|
1780
|
+
/** @internal */
|
|
1781
|
+
export type CreatePrompt2PromptsRequestRequestBody1$Outbound = {
|
|
1782
|
+
type: string;
|
|
1783
|
+
text: string;
|
|
1784
|
+
cache_control?: CreatePrompt2PromptsRequestRequestBodyCacheControl$Outbound | undefined;
|
|
1785
|
+
};
|
|
1786
|
+
/** @internal */
|
|
1787
|
+
export declare const CreatePrompt2PromptsRequestRequestBody1$outboundSchema: z.ZodType<CreatePrompt2PromptsRequestRequestBody1$Outbound, z.ZodTypeDef, CreatePrompt2PromptsRequestRequestBody1>;
|
|
1788
|
+
export declare function createPrompt2PromptsRequestRequestBody1ToJSON(createPrompt2PromptsRequestRequestBody1: CreatePrompt2PromptsRequestRequestBody1): string;
|
|
1789
|
+
export declare function createPrompt2PromptsRequestRequestBody1FromJSON(jsonString: string): SafeParseResult<CreatePrompt2PromptsRequestRequestBody1, SDKValidationError>;
|
|
1790
|
+
/** @internal */
|
|
1791
|
+
export declare const CreatePromptContentPromptsRequestRequestBodyPrompt2$inboundSchema: z.ZodType<CreatePromptContentPromptsRequestRequestBodyPrompt2, z.ZodTypeDef, unknown>;
|
|
1792
|
+
/** @internal */
|
|
1793
|
+
export type CreatePromptContentPromptsRequestRequestBodyPrompt2$Outbound = CreatePrompt2PromptsRequestRequestBody1$Outbound;
|
|
1794
|
+
/** @internal */
|
|
1795
|
+
export declare const CreatePromptContentPromptsRequestRequestBodyPrompt2$outboundSchema: z.ZodType<CreatePromptContentPromptsRequestRequestBodyPrompt2$Outbound, z.ZodTypeDef, CreatePromptContentPromptsRequestRequestBodyPrompt2>;
|
|
1796
|
+
export declare function createPromptContentPromptsRequestRequestBodyPrompt2ToJSON(createPromptContentPromptsRequestRequestBodyPrompt2: CreatePromptContentPromptsRequestRequestBodyPrompt2): string;
|
|
1797
|
+
export declare function createPromptContentPromptsRequestRequestBodyPrompt2FromJSON(jsonString: string): SafeParseResult<CreatePromptContentPromptsRequestRequestBodyPrompt2, SDKValidationError>;
|
|
1540
1798
|
/** @internal */
|
|
1541
1799
|
export declare const CreatePromptMessagesPromptsRequestRequestBodyContent$inboundSchema: z.ZodType<CreatePromptMessagesPromptsRequestRequestBodyContent, z.ZodTypeDef, unknown>;
|
|
1542
1800
|
/** @internal */
|
|
1543
|
-
export type CreatePromptMessagesPromptsRequestRequestBodyContent$Outbound = string | Array<
|
|
1801
|
+
export type CreatePromptMessagesPromptsRequestRequestBodyContent$Outbound = string | Array<CreatePrompt2PromptsRequestRequestBody1$Outbound>;
|
|
1544
1802
|
/** @internal */
|
|
1545
1803
|
export declare const CreatePromptMessagesPromptsRequestRequestBodyContent$outboundSchema: z.ZodType<CreatePromptMessagesPromptsRequestRequestBodyContent$Outbound, z.ZodTypeDef, CreatePromptMessagesPromptsRequestRequestBodyContent>;
|
|
1546
1804
|
export declare function createPromptMessagesPromptsRequestRequestBodyContentToJSON(createPromptMessagesPromptsRequestRequestBodyContent: CreatePromptMessagesPromptsRequestRequestBodyContent): string;
|
|
@@ -1569,7 +1827,7 @@ export declare const CreatePromptMessagesToolMessage$inboundSchema: z.ZodType<Cr
|
|
|
1569
1827
|
/** @internal */
|
|
1570
1828
|
export type CreatePromptMessagesToolMessage$Outbound = {
|
|
1571
1829
|
role: "tool";
|
|
1572
|
-
content: string | Array<
|
|
1830
|
+
content: string | Array<CreatePrompt2PromptsRequestRequestBody1$Outbound>;
|
|
1573
1831
|
tool_call_id: string;
|
|
1574
1832
|
cache_control?: CreatePromptMessagesCacheControl$Outbound | undefined;
|
|
1575
1833
|
};
|
|
@@ -1578,21 +1836,48 @@ export declare const CreatePromptMessagesToolMessage$outboundSchema: z.ZodType<C
|
|
|
1578
1836
|
export declare function createPromptMessagesToolMessageToJSON(createPromptMessagesToolMessage: CreatePromptMessagesToolMessage): string;
|
|
1579
1837
|
export declare function createPromptMessagesToolMessageFromJSON(jsonString: string): SafeParseResult<CreatePromptMessagesToolMessage, SDKValidationError>;
|
|
1580
1838
|
/** @internal */
|
|
1581
|
-
export declare const
|
|
1839
|
+
export declare const CreatePrompt2PromptsRequestRequestBodyPromptMessages3ContentType$inboundSchema: z.ZodNativeEnum<typeof CreatePrompt2PromptsRequestRequestBodyPromptMessages3ContentType>;
|
|
1582
1840
|
/** @internal */
|
|
1583
|
-
export
|
|
1841
|
+
export declare const CreatePrompt2PromptsRequestRequestBodyPromptMessages3ContentType$outboundSchema: z.ZodNativeEnum<typeof CreatePrompt2PromptsRequestRequestBodyPromptMessages3ContentType>;
|
|
1842
|
+
/** @internal */
|
|
1843
|
+
export declare const CreatePrompt2PromptsRequestTtl$inboundSchema: z.ZodNativeEnum<typeof CreatePrompt2PromptsRequestTtl>;
|
|
1844
|
+
/** @internal */
|
|
1845
|
+
export declare const CreatePrompt2PromptsRequestTtl$outboundSchema: z.ZodNativeEnum<typeof CreatePrompt2PromptsRequestTtl>;
|
|
1846
|
+
/** @internal */
|
|
1847
|
+
export declare const CreatePrompt2PromptsRequestCacheControl$inboundSchema: z.ZodType<CreatePrompt2PromptsRequestCacheControl, z.ZodTypeDef, unknown>;
|
|
1848
|
+
/** @internal */
|
|
1849
|
+
export type CreatePrompt2PromptsRequestCacheControl$Outbound = {
|
|
1850
|
+
type: string;
|
|
1851
|
+
ttl: string;
|
|
1852
|
+
};
|
|
1853
|
+
/** @internal */
|
|
1854
|
+
export declare const CreatePrompt2PromptsRequestCacheControl$outboundSchema: z.ZodType<CreatePrompt2PromptsRequestCacheControl$Outbound, z.ZodTypeDef, CreatePrompt2PromptsRequestCacheControl>;
|
|
1855
|
+
export declare function createPrompt2PromptsRequestCacheControlToJSON(createPrompt2PromptsRequestCacheControl: CreatePrompt2PromptsRequestCacheControl): string;
|
|
1856
|
+
export declare function createPrompt2PromptsRequestCacheControlFromJSON(jsonString: string): SafeParseResult<CreatePrompt2PromptsRequestCacheControl, SDKValidationError>;
|
|
1857
|
+
/** @internal */
|
|
1858
|
+
export declare const CreatePrompt2PromptsRequest1$inboundSchema: z.ZodType<CreatePrompt2PromptsRequest1, z.ZodTypeDef, unknown>;
|
|
1859
|
+
/** @internal */
|
|
1860
|
+
export type CreatePrompt2PromptsRequest1$Outbound = {
|
|
1584
1861
|
type: "text";
|
|
1585
|
-
|
|
1862
|
+
text: string;
|
|
1863
|
+
cache_control?: CreatePrompt2PromptsRequestCacheControl$Outbound | undefined;
|
|
1864
|
+
};
|
|
1586
1865
|
/** @internal */
|
|
1587
|
-
export declare const
|
|
1588
|
-
export declare function
|
|
1589
|
-
export declare function
|
|
1866
|
+
export declare const CreatePrompt2PromptsRequest1$outboundSchema: z.ZodType<CreatePrompt2PromptsRequest1$Outbound, z.ZodTypeDef, CreatePrompt2PromptsRequest1>;
|
|
1867
|
+
export declare function createPrompt2PromptsRequest1ToJSON(createPrompt2PromptsRequest1: CreatePrompt2PromptsRequest1): string;
|
|
1868
|
+
export declare function createPrompt2PromptsRequest1FromJSON(jsonString: string): SafeParseResult<CreatePrompt2PromptsRequest1, SDKValidationError>;
|
|
1869
|
+
/** @internal */
|
|
1870
|
+
export declare const CreatePromptContentPromptsRequestRequestBody2$inboundSchema: z.ZodType<CreatePromptContentPromptsRequestRequestBody2, z.ZodTypeDef, unknown>;
|
|
1871
|
+
/** @internal */
|
|
1872
|
+
export type CreatePromptContentPromptsRequestRequestBody2$Outbound = CreatePrompt2PromptsRequest1$Outbound | components.RefusalPartSchema$Outbound | components.ReasoningPartSchema$Outbound | components.RedactedReasoningPartSchema$Outbound;
|
|
1873
|
+
/** @internal */
|
|
1874
|
+
export declare const CreatePromptContentPromptsRequestRequestBody2$outboundSchema: z.ZodType<CreatePromptContentPromptsRequestRequestBody2$Outbound, z.ZodTypeDef, CreatePromptContentPromptsRequestRequestBody2>;
|
|
1875
|
+
export declare function createPromptContentPromptsRequestRequestBody2ToJSON(createPromptContentPromptsRequestRequestBody2: CreatePromptContentPromptsRequestRequestBody2): string;
|
|
1876
|
+
export declare function createPromptContentPromptsRequestRequestBody2FromJSON(jsonString: string): SafeParseResult<CreatePromptContentPromptsRequestRequestBody2, SDKValidationError>;
|
|
1590
1877
|
/** @internal */
|
|
1591
1878
|
export declare const CreatePromptMessagesPromptsRequestContent$inboundSchema: z.ZodType<CreatePromptMessagesPromptsRequestContent, z.ZodTypeDef, unknown>;
|
|
1592
1879
|
/** @internal */
|
|
1593
|
-
export type CreatePromptMessagesPromptsRequestContent$Outbound = string | Array<
|
|
1594
|
-
type: "text";
|
|
1595
|
-
}) | components.RefusalPartSchema$Outbound | components.ReasoningPartSchema$Outbound | components.RedactedReasoningPartSchema$Outbound>;
|
|
1880
|
+
export type CreatePromptMessagesPromptsRequestContent$Outbound = string | Array<CreatePrompt2PromptsRequest1$Outbound | components.RefusalPartSchema$Outbound | components.ReasoningPartSchema$Outbound | components.RedactedReasoningPartSchema$Outbound>;
|
|
1596
1881
|
/** @internal */
|
|
1597
1882
|
export declare const CreatePromptMessagesPromptsRequestContent$outboundSchema: z.ZodType<CreatePromptMessagesPromptsRequestContent$Outbound, z.ZodTypeDef, CreatePromptMessagesPromptsRequestContent>;
|
|
1598
1883
|
export declare function createPromptMessagesPromptsRequestContentToJSON(createPromptMessagesPromptsRequestContent: CreatePromptMessagesPromptsRequestContent): string;
|
|
@@ -1639,9 +1924,7 @@ export declare function createPromptMessagesToolCallsFromJSON(jsonString: string
|
|
|
1639
1924
|
export declare const CreatePromptMessagesAssistantMessage$inboundSchema: z.ZodType<CreatePromptMessagesAssistantMessage, z.ZodTypeDef, unknown>;
|
|
1640
1925
|
/** @internal */
|
|
1641
1926
|
export type CreatePromptMessagesAssistantMessage$Outbound = {
|
|
1642
|
-
content?: string | Array<
|
|
1643
|
-
type: "text";
|
|
1644
|
-
}) | components.RefusalPartSchema$Outbound | components.ReasoningPartSchema$Outbound | components.RedactedReasoningPartSchema$Outbound> | null | undefined;
|
|
1927
|
+
content?: string | Array<CreatePrompt2PromptsRequest1$Outbound | components.RefusalPartSchema$Outbound | components.ReasoningPartSchema$Outbound | components.RedactedReasoningPartSchema$Outbound> | null | undefined;
|
|
1645
1928
|
refusal?: string | null | undefined;
|
|
1646
1929
|
role: "assistant";
|
|
1647
1930
|
name?: string | undefined;
|
|
@@ -1653,6 +1936,37 @@ export declare const CreatePromptMessagesAssistantMessage$outboundSchema: z.ZodT
|
|
|
1653
1936
|
export declare function createPromptMessagesAssistantMessageToJSON(createPromptMessagesAssistantMessage: CreatePromptMessagesAssistantMessage): string;
|
|
1654
1937
|
export declare function createPromptMessagesAssistantMessageFromJSON(jsonString: string): SafeParseResult<CreatePromptMessagesAssistantMessage, SDKValidationError>;
|
|
1655
1938
|
/** @internal */
|
|
1939
|
+
export declare const CreatePrompt2PromptsRequestRequestBodyPromptMessages2Type$inboundSchema: z.ZodNativeEnum<typeof CreatePrompt2PromptsRequestRequestBodyPromptMessages2Type>;
|
|
1940
|
+
/** @internal */
|
|
1941
|
+
export declare const CreatePrompt2PromptsRequestRequestBodyPromptMessages2Type$outboundSchema: z.ZodNativeEnum<typeof CreatePrompt2PromptsRequestRequestBodyPromptMessages2Type>;
|
|
1942
|
+
/** @internal */
|
|
1943
|
+
export declare const CreatePrompt2PromptsTtl$inboundSchema: z.ZodNativeEnum<typeof CreatePrompt2PromptsTtl>;
|
|
1944
|
+
/** @internal */
|
|
1945
|
+
export declare const CreatePrompt2PromptsTtl$outboundSchema: z.ZodNativeEnum<typeof CreatePrompt2PromptsTtl>;
|
|
1946
|
+
/** @internal */
|
|
1947
|
+
export declare const CreatePrompt2PromptsCacheControl$inboundSchema: z.ZodType<CreatePrompt2PromptsCacheControl, z.ZodTypeDef, unknown>;
|
|
1948
|
+
/** @internal */
|
|
1949
|
+
export type CreatePrompt2PromptsCacheControl$Outbound = {
|
|
1950
|
+
type: string;
|
|
1951
|
+
ttl: string;
|
|
1952
|
+
};
|
|
1953
|
+
/** @internal */
|
|
1954
|
+
export declare const CreatePrompt2PromptsCacheControl$outboundSchema: z.ZodType<CreatePrompt2PromptsCacheControl$Outbound, z.ZodTypeDef, CreatePrompt2PromptsCacheControl>;
|
|
1955
|
+
export declare function createPrompt2PromptsCacheControlToJSON(createPrompt2PromptsCacheControl: CreatePrompt2PromptsCacheControl): string;
|
|
1956
|
+
export declare function createPrompt2PromptsCacheControlFromJSON(jsonString: string): SafeParseResult<CreatePrompt2PromptsCacheControl, SDKValidationError>;
|
|
1957
|
+
/** @internal */
|
|
1958
|
+
export declare const CreatePrompt24$inboundSchema: z.ZodType<CreatePrompt24, z.ZodTypeDef, unknown>;
|
|
1959
|
+
/** @internal */
|
|
1960
|
+
export type CreatePrompt24$Outbound = {
|
|
1961
|
+
type: "file";
|
|
1962
|
+
cache_control?: CreatePrompt2PromptsCacheControl$Outbound | undefined;
|
|
1963
|
+
file: components.FileContentPartSchema$Outbound;
|
|
1964
|
+
};
|
|
1965
|
+
/** @internal */
|
|
1966
|
+
export declare const CreatePrompt24$outboundSchema: z.ZodType<CreatePrompt24$Outbound, z.ZodTypeDef, CreatePrompt24>;
|
|
1967
|
+
export declare function createPrompt24ToJSON(createPrompt24: CreatePrompt24): string;
|
|
1968
|
+
export declare function createPrompt24FromJSON(jsonString: string): SafeParseResult<CreatePrompt24, SDKValidationError>;
|
|
1969
|
+
/** @internal */
|
|
1656
1970
|
export declare const CreatePrompt2PromptsRequestRequestBodyPromptType$inboundSchema: z.ZodNativeEnum<typeof CreatePrompt2PromptsRequestRequestBodyPromptType>;
|
|
1657
1971
|
/** @internal */
|
|
1658
1972
|
export declare const CreatePrompt2PromptsRequestRequestBodyPromptType$outboundSchema: z.ZodNativeEnum<typeof CreatePrompt2PromptsRequestRequestBodyPromptType>;
|
|
@@ -1672,33 +1986,29 @@ export declare const CreatePrompt2CacheControl$outboundSchema: z.ZodType<CreateP
|
|
|
1672
1986
|
export declare function createPrompt2CacheControlToJSON(createPrompt2CacheControl: CreatePrompt2CacheControl): string;
|
|
1673
1987
|
export declare function createPrompt2CacheControlFromJSON(jsonString: string): SafeParseResult<CreatePrompt2CacheControl, SDKValidationError>;
|
|
1674
1988
|
/** @internal */
|
|
1675
|
-
export declare const
|
|
1989
|
+
export declare const CreatePrompt2Prompts1$inboundSchema: z.ZodType<CreatePrompt2Prompts1, z.ZodTypeDef, unknown>;
|
|
1676
1990
|
/** @internal */
|
|
1677
|
-
export type
|
|
1678
|
-
type: "
|
|
1991
|
+
export type CreatePrompt2Prompts1$Outbound = {
|
|
1992
|
+
type: "text";
|
|
1993
|
+
text: string;
|
|
1679
1994
|
cache_control?: CreatePrompt2CacheControl$Outbound | undefined;
|
|
1680
|
-
file: components.FileContentPartSchema$Outbound;
|
|
1681
1995
|
};
|
|
1682
1996
|
/** @internal */
|
|
1683
|
-
export declare const
|
|
1684
|
-
export declare function
|
|
1685
|
-
export declare function
|
|
1997
|
+
export declare const CreatePrompt2Prompts1$outboundSchema: z.ZodType<CreatePrompt2Prompts1$Outbound, z.ZodTypeDef, CreatePrompt2Prompts1>;
|
|
1998
|
+
export declare function createPrompt2Prompts1ToJSON(createPrompt2Prompts1: CreatePrompt2Prompts1): string;
|
|
1999
|
+
export declare function createPrompt2Prompts1FromJSON(jsonString: string): SafeParseResult<CreatePrompt2Prompts1, SDKValidationError>;
|
|
1686
2000
|
/** @internal */
|
|
1687
|
-
export declare const
|
|
2001
|
+
export declare const CreatePromptContentPromptsRequest2$inboundSchema: z.ZodType<CreatePromptContentPromptsRequest2, z.ZodTypeDef, unknown>;
|
|
1688
2002
|
/** @internal */
|
|
1689
|
-
export type
|
|
1690
|
-
type: "text";
|
|
1691
|
-
}) | components.ImageContentPartSchema$Outbound | components.AudioContentPartSchema$Outbound | CreatePrompt24$Outbound;
|
|
2003
|
+
export type CreatePromptContentPromptsRequest2$Outbound = CreatePrompt2Prompts1$Outbound | components.ImageContentPartSchema$Outbound | components.AudioContentPartSchema$Outbound | CreatePrompt24$Outbound;
|
|
1692
2004
|
/** @internal */
|
|
1693
|
-
export declare const
|
|
1694
|
-
export declare function
|
|
1695
|
-
export declare function
|
|
2005
|
+
export declare const CreatePromptContentPromptsRequest2$outboundSchema: z.ZodType<CreatePromptContentPromptsRequest2$Outbound, z.ZodTypeDef, CreatePromptContentPromptsRequest2>;
|
|
2006
|
+
export declare function createPromptContentPromptsRequest2ToJSON(createPromptContentPromptsRequest2: CreatePromptContentPromptsRequest2): string;
|
|
2007
|
+
export declare function createPromptContentPromptsRequest2FromJSON(jsonString: string): SafeParseResult<CreatePromptContentPromptsRequest2, SDKValidationError>;
|
|
1696
2008
|
/** @internal */
|
|
1697
2009
|
export declare const CreatePromptMessagesPromptsContent$inboundSchema: z.ZodType<CreatePromptMessagesPromptsContent, z.ZodTypeDef, unknown>;
|
|
1698
2010
|
/** @internal */
|
|
1699
|
-
export type CreatePromptMessagesPromptsContent$Outbound = string | Array<
|
|
1700
|
-
type: "text";
|
|
1701
|
-
}) | components.ImageContentPartSchema$Outbound | components.AudioContentPartSchema$Outbound | CreatePrompt24$Outbound>;
|
|
2011
|
+
export type CreatePromptMessagesPromptsContent$Outbound = string | Array<CreatePrompt2Prompts1$Outbound | components.ImageContentPartSchema$Outbound | components.AudioContentPartSchema$Outbound | CreatePrompt24$Outbound>;
|
|
1702
2012
|
/** @internal */
|
|
1703
2013
|
export declare const CreatePromptMessagesPromptsContent$outboundSchema: z.ZodType<CreatePromptMessagesPromptsContent$Outbound, z.ZodTypeDef, CreatePromptMessagesPromptsContent>;
|
|
1704
2014
|
export declare function createPromptMessagesPromptsContentToJSON(createPromptMessagesPromptsContent: CreatePromptMessagesPromptsContent): string;
|
|
@@ -1709,18 +2019,51 @@ export declare const CreatePromptMessagesUserMessage$inboundSchema: z.ZodType<Cr
|
|
|
1709
2019
|
export type CreatePromptMessagesUserMessage$Outbound = {
|
|
1710
2020
|
role: "user";
|
|
1711
2021
|
name?: string | undefined;
|
|
1712
|
-
content: string | Array<
|
|
1713
|
-
type: "text";
|
|
1714
|
-
}) | components.ImageContentPartSchema$Outbound | components.AudioContentPartSchema$Outbound | CreatePrompt24$Outbound>;
|
|
2022
|
+
content: string | Array<CreatePrompt2Prompts1$Outbound | components.ImageContentPartSchema$Outbound | components.AudioContentPartSchema$Outbound | CreatePrompt24$Outbound>;
|
|
1715
2023
|
};
|
|
1716
2024
|
/** @internal */
|
|
1717
2025
|
export declare const CreatePromptMessagesUserMessage$outboundSchema: z.ZodType<CreatePromptMessagesUserMessage$Outbound, z.ZodTypeDef, CreatePromptMessagesUserMessage>;
|
|
1718
2026
|
export declare function createPromptMessagesUserMessageToJSON(createPromptMessagesUserMessage: CreatePromptMessagesUserMessage): string;
|
|
1719
2027
|
export declare function createPromptMessagesUserMessageFromJSON(jsonString: string): SafeParseResult<CreatePromptMessagesUserMessage, SDKValidationError>;
|
|
1720
2028
|
/** @internal */
|
|
2029
|
+
export declare const CreatePromptContentType$inboundSchema: z.ZodNativeEnum<typeof CreatePromptContentType>;
|
|
2030
|
+
/** @internal */
|
|
2031
|
+
export declare const CreatePromptContentType$outboundSchema: z.ZodNativeEnum<typeof CreatePromptContentType>;
|
|
2032
|
+
/** @internal */
|
|
2033
|
+
export declare const CreatePromptContentPromptsType$inboundSchema: z.ZodNativeEnum<typeof CreatePromptContentPromptsType>;
|
|
2034
|
+
/** @internal */
|
|
2035
|
+
export declare const CreatePromptContentPromptsType$outboundSchema: z.ZodNativeEnum<typeof CreatePromptContentPromptsType>;
|
|
2036
|
+
/** @internal */
|
|
2037
|
+
export declare const CreatePromptContentTtl$inboundSchema: z.ZodNativeEnum<typeof CreatePromptContentTtl>;
|
|
2038
|
+
/** @internal */
|
|
2039
|
+
export declare const CreatePromptContentTtl$outboundSchema: z.ZodNativeEnum<typeof CreatePromptContentTtl>;
|
|
2040
|
+
/** @internal */
|
|
2041
|
+
export declare const CreatePromptContentCacheControl$inboundSchema: z.ZodType<CreatePromptContentCacheControl, z.ZodTypeDef, unknown>;
|
|
2042
|
+
/** @internal */
|
|
2043
|
+
export type CreatePromptContentCacheControl$Outbound = {
|
|
2044
|
+
type: string;
|
|
2045
|
+
ttl: string;
|
|
2046
|
+
};
|
|
2047
|
+
/** @internal */
|
|
2048
|
+
export declare const CreatePromptContentCacheControl$outboundSchema: z.ZodType<CreatePromptContentCacheControl$Outbound, z.ZodTypeDef, CreatePromptContentCacheControl>;
|
|
2049
|
+
export declare function createPromptContentCacheControlToJSON(createPromptContentCacheControl: CreatePromptContentCacheControl): string;
|
|
2050
|
+
export declare function createPromptContentCacheControlFromJSON(jsonString: string): SafeParseResult<CreatePromptContentCacheControl, SDKValidationError>;
|
|
2051
|
+
/** @internal */
|
|
2052
|
+
export declare const CreatePromptContentPrompts2$inboundSchema: z.ZodType<CreatePromptContentPrompts2, z.ZodTypeDef, unknown>;
|
|
2053
|
+
/** @internal */
|
|
2054
|
+
export type CreatePromptContentPrompts2$Outbound = {
|
|
2055
|
+
type: string;
|
|
2056
|
+
text: string;
|
|
2057
|
+
cache_control?: CreatePromptContentCacheControl$Outbound | undefined;
|
|
2058
|
+
};
|
|
2059
|
+
/** @internal */
|
|
2060
|
+
export declare const CreatePromptContentPrompts2$outboundSchema: z.ZodType<CreatePromptContentPrompts2$Outbound, z.ZodTypeDef, CreatePromptContentPrompts2>;
|
|
2061
|
+
export declare function createPromptContentPrompts2ToJSON(createPromptContentPrompts2: CreatePromptContentPrompts2): string;
|
|
2062
|
+
export declare function createPromptContentPrompts2FromJSON(jsonString: string): SafeParseResult<CreatePromptContentPrompts2, SDKValidationError>;
|
|
2063
|
+
/** @internal */
|
|
1721
2064
|
export declare const CreatePromptMessagesContent$inboundSchema: z.ZodType<CreatePromptMessagesContent, z.ZodTypeDef, unknown>;
|
|
1722
2065
|
/** @internal */
|
|
1723
|
-
export type CreatePromptMessagesContent$Outbound = string | Array<
|
|
2066
|
+
export type CreatePromptMessagesContent$Outbound = string | Array<CreatePromptContentPrompts2$Outbound>;
|
|
1724
2067
|
/** @internal */
|
|
1725
2068
|
export declare const CreatePromptMessagesContent$outboundSchema: z.ZodType<CreatePromptMessagesContent$Outbound, z.ZodTypeDef, CreatePromptMessagesContent>;
|
|
1726
2069
|
export declare function createPromptMessagesContentToJSON(createPromptMessagesContent: CreatePromptMessagesContent): string;
|
|
@@ -1730,7 +2073,7 @@ export declare const CreatePromptMessagesSystemMessage$inboundSchema: z.ZodType<
|
|
|
1730
2073
|
/** @internal */
|
|
1731
2074
|
export type CreatePromptMessagesSystemMessage$Outbound = {
|
|
1732
2075
|
role: "system";
|
|
1733
|
-
content: string | Array<
|
|
2076
|
+
content: string | Array<CreatePromptContentPrompts2$Outbound>;
|
|
1734
2077
|
name?: string | undefined;
|
|
1735
2078
|
};
|
|
1736
2079
|
/** @internal */
|
|
@@ -1934,9 +2277,9 @@ export declare const CreatePromptVerbosity$inboundSchema: z.ZodNativeEnum<typeof
|
|
|
1934
2277
|
/** @internal */
|
|
1935
2278
|
export declare const CreatePromptVerbosity$outboundSchema: z.ZodNativeEnum<typeof CreatePromptVerbosity>;
|
|
1936
2279
|
/** @internal */
|
|
1937
|
-
export declare const
|
|
2280
|
+
export declare const CreatePromptThinkingLevel$inboundSchema: z.ZodNativeEnum<typeof CreatePromptThinkingLevel>;
|
|
1938
2281
|
/** @internal */
|
|
1939
|
-
export declare const
|
|
2282
|
+
export declare const CreatePromptThinkingLevel$outboundSchema: z.ZodNativeEnum<typeof CreatePromptThinkingLevel>;
|
|
1940
2283
|
/** @internal */
|
|
1941
2284
|
export declare const CreatePromptModelParameters$inboundSchema: z.ZodType<CreatePromptModelParameters, z.ZodTypeDef, unknown>;
|
|
1942
2285
|
/** @internal */
|
|
@@ -2010,31 +2353,31 @@ export declare const CreatePrompt2ImageUrl$outboundSchema: z.ZodType<CreatePromp
|
|
|
2010
2353
|
export declare function createPrompt2ImageUrlToJSON(createPrompt2ImageUrl: CreatePrompt2ImageUrl): string;
|
|
2011
2354
|
export declare function createPrompt2ImageUrlFromJSON(jsonString: string): SafeParseResult<CreatePrompt2ImageUrl, SDKValidationError>;
|
|
2012
2355
|
/** @internal */
|
|
2013
|
-
export declare const
|
|
2356
|
+
export declare const CreatePrompt22$inboundSchema: z.ZodType<CreatePrompt22, z.ZodTypeDef, unknown>;
|
|
2014
2357
|
/** @internal */
|
|
2015
|
-
export type
|
|
2358
|
+
export type CreatePrompt22$Outbound = {
|
|
2016
2359
|
type: "image_url";
|
|
2017
2360
|
image_url: CreatePrompt2ImageUrl$Outbound;
|
|
2018
2361
|
};
|
|
2019
2362
|
/** @internal */
|
|
2020
|
-
export declare const
|
|
2021
|
-
export declare function
|
|
2022
|
-
export declare function
|
|
2363
|
+
export declare const CreatePrompt22$outboundSchema: z.ZodType<CreatePrompt22$Outbound, z.ZodTypeDef, CreatePrompt22>;
|
|
2364
|
+
export declare function createPrompt22ToJSON(createPrompt22: CreatePrompt22): string;
|
|
2365
|
+
export declare function createPrompt22FromJSON(jsonString: string): SafeParseResult<CreatePrompt22, SDKValidationError>;
|
|
2023
2366
|
/** @internal */
|
|
2024
|
-
export declare const
|
|
2367
|
+
export declare const CreatePrompt2PromptsResponse1$inboundSchema: z.ZodType<CreatePrompt2PromptsResponse1, z.ZodTypeDef, unknown>;
|
|
2025
2368
|
/** @internal */
|
|
2026
|
-
export type
|
|
2369
|
+
export type CreatePrompt2PromptsResponse1$Outbound = {
|
|
2027
2370
|
type: "text";
|
|
2028
2371
|
text: string;
|
|
2029
2372
|
};
|
|
2030
2373
|
/** @internal */
|
|
2031
|
-
export declare const
|
|
2032
|
-
export declare function
|
|
2033
|
-
export declare function
|
|
2374
|
+
export declare const CreatePrompt2PromptsResponse1$outboundSchema: z.ZodType<CreatePrompt2PromptsResponse1$Outbound, z.ZodTypeDef, CreatePrompt2PromptsResponse1>;
|
|
2375
|
+
export declare function createPrompt2PromptsResponse1ToJSON(createPrompt2PromptsResponse1: CreatePrompt2PromptsResponse1): string;
|
|
2376
|
+
export declare function createPrompt2PromptsResponse1FromJSON(jsonString: string): SafeParseResult<CreatePrompt2PromptsResponse1, SDKValidationError>;
|
|
2034
2377
|
/** @internal */
|
|
2035
2378
|
export declare const CreatePromptContentPromptsResponse2$inboundSchema: z.ZodType<CreatePromptContentPromptsResponse2, z.ZodTypeDef, unknown>;
|
|
2036
2379
|
/** @internal */
|
|
2037
|
-
export type CreatePromptContentPromptsResponse2$Outbound =
|
|
2380
|
+
export type CreatePromptContentPromptsResponse2$Outbound = CreatePrompt2PromptsResponse1$Outbound | CreatePrompt22$Outbound | CreatePrompt23$Outbound;
|
|
2038
2381
|
/** @internal */
|
|
2039
2382
|
export declare const CreatePromptContentPromptsResponse2$outboundSchema: z.ZodType<CreatePromptContentPromptsResponse2$Outbound, z.ZodTypeDef, CreatePromptContentPromptsResponse2>;
|
|
2040
2383
|
export declare function createPromptContentPromptsResponse2ToJSON(createPromptContentPromptsResponse2: CreatePromptContentPromptsResponse2): string;
|
|
@@ -2042,7 +2385,7 @@ export declare function createPromptContentPromptsResponse2FromJSON(jsonString:
|
|
|
2042
2385
|
/** @internal */
|
|
2043
2386
|
export declare const CreatePromptPromptsContent$inboundSchema: z.ZodType<CreatePromptPromptsContent, z.ZodTypeDef, unknown>;
|
|
2044
2387
|
/** @internal */
|
|
2045
|
-
export type CreatePromptPromptsContent$Outbound = string | Array<
|
|
2388
|
+
export type CreatePromptPromptsContent$Outbound = string | Array<CreatePrompt2PromptsResponse1$Outbound | CreatePrompt22$Outbound | CreatePrompt23$Outbound>;
|
|
2046
2389
|
/** @internal */
|
|
2047
2390
|
export declare const CreatePromptPromptsContent$outboundSchema: z.ZodType<CreatePromptPromptsContent$Outbound, z.ZodTypeDef, CreatePromptPromptsContent>;
|
|
2048
2391
|
export declare function createPromptPromptsContentToJSON(createPromptPromptsContent: CreatePromptPromptsContent): string;
|
|
@@ -2080,9 +2423,9 @@ export declare const CreatePromptPromptsResponseMessages$inboundSchema: z.ZodTyp
|
|
|
2080
2423
|
/** @internal */
|
|
2081
2424
|
export type CreatePromptPromptsResponseMessages$Outbound = {
|
|
2082
2425
|
role: string;
|
|
2083
|
-
content: string | Array<
|
|
2426
|
+
content: string | Array<CreatePrompt2PromptsResponse1$Outbound | CreatePrompt22$Outbound | CreatePrompt23$Outbound> | null;
|
|
2084
2427
|
tool_calls?: Array<CreatePromptPromptsToolCalls$Outbound> | undefined;
|
|
2085
|
-
tool_call_id?: string |
|
|
2428
|
+
tool_call_id?: string | undefined;
|
|
2086
2429
|
};
|
|
2087
2430
|
/** @internal */
|
|
2088
2431
|
export declare const CreatePromptPromptsResponseMessages$outboundSchema: z.ZodType<CreatePromptPromptsResponseMessages$Outbound, z.ZodTypeDef, CreatePromptPromptsResponseMessages>;
|