@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
|
@@ -231,30 +231,29 @@ export type UpdatePromptModelParameters = {
|
|
|
231
231
|
thinkingLevel?: UpdatePromptThinkingLevel | undefined;
|
|
232
232
|
};
|
|
233
233
|
export declare const Provider: {
|
|
234
|
-
readonly Openai: "openai";
|
|
235
|
-
readonly Groq: "groq";
|
|
236
234
|
readonly Cohere: "cohere";
|
|
237
|
-
readonly
|
|
238
|
-
readonly
|
|
235
|
+
readonly Openai: "openai";
|
|
236
|
+
readonly Anthropic: "anthropic";
|
|
237
|
+
readonly Huggingface: "huggingface";
|
|
238
|
+
readonly Replicate: "replicate";
|
|
239
239
|
readonly Google: "google";
|
|
240
240
|
readonly GoogleAi: "google-ai";
|
|
241
|
-
readonly
|
|
242
|
-
readonly
|
|
241
|
+
readonly Azure: "azure";
|
|
242
|
+
readonly Aws: "aws";
|
|
243
|
+
readonly Anyscale: "anyscale";
|
|
243
244
|
readonly Perplexity: "perplexity";
|
|
244
|
-
readonly
|
|
245
|
-
readonly Leonardoai: "leonardoai";
|
|
245
|
+
readonly Groq: "groq";
|
|
246
246
|
readonly Fal: "fal";
|
|
247
|
+
readonly Leonardoai: "leonardoai";
|
|
247
248
|
readonly Nvidia: "nvidia";
|
|
248
249
|
readonly Jina: "jina";
|
|
250
|
+
readonly Togetherai: "togetherai";
|
|
249
251
|
readonly Elevenlabs: "elevenlabs";
|
|
250
252
|
readonly Litellm: "litellm";
|
|
251
|
-
readonly Cerebras: "cerebras";
|
|
252
253
|
readonly Openailike: "openailike";
|
|
254
|
+
readonly Cerebras: "cerebras";
|
|
253
255
|
readonly Bytedance: "bytedance";
|
|
254
256
|
readonly Mistral: "mistral";
|
|
255
|
-
readonly Deepseek: "deepseek";
|
|
256
|
-
readonly Contextualai: "contextualai";
|
|
257
|
-
readonly Moonshotai: "moonshotai";
|
|
258
257
|
};
|
|
259
258
|
export type Provider = ClosedEnum<typeof Provider>;
|
|
260
259
|
/**
|
|
@@ -292,14 +291,14 @@ export type UpdatePrompt2File = {
|
|
|
292
291
|
*/
|
|
293
292
|
filename?: string | undefined;
|
|
294
293
|
};
|
|
295
|
-
export type
|
|
294
|
+
export type Two3 = {
|
|
296
295
|
/**
|
|
297
296
|
* The type of the content part. Always `file`.
|
|
298
297
|
*/
|
|
299
298
|
type: "file";
|
|
300
299
|
file: UpdatePrompt2File;
|
|
301
300
|
};
|
|
302
|
-
export type
|
|
301
|
+
export type TwoImageUrl = {
|
|
303
302
|
/**
|
|
304
303
|
* Either a URL of the image or the base64 encoded data URI.
|
|
305
304
|
*/
|
|
@@ -314,7 +313,7 @@ export type UpdatePrompt2ImageUrl = {
|
|
|
314
313
|
*/
|
|
315
314
|
export type UpdatePrompt22 = {
|
|
316
315
|
type: "image_url";
|
|
317
|
-
imageUrl:
|
|
316
|
+
imageUrl: TwoImageUrl;
|
|
318
317
|
};
|
|
319
318
|
/**
|
|
320
319
|
* Text content part of a prompt message
|
|
@@ -323,11 +322,11 @@ export type UpdatePrompt21 = {
|
|
|
323
322
|
type: "text";
|
|
324
323
|
text: string;
|
|
325
324
|
};
|
|
326
|
-
export type UpdatePromptContent2 = UpdatePrompt21 | UpdatePrompt22 |
|
|
325
|
+
export type UpdatePromptContent2 = UpdatePrompt21 | UpdatePrompt22 | Two3;
|
|
327
326
|
/**
|
|
328
327
|
* 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.
|
|
329
328
|
*/
|
|
330
|
-
export type UpdatePromptContent = string | Array<UpdatePrompt21 | UpdatePrompt22 |
|
|
329
|
+
export type UpdatePromptContent = string | Array<UpdatePrompt21 | UpdatePrompt22 | Two3>;
|
|
331
330
|
export declare const UpdatePromptType: {
|
|
332
331
|
readonly Function: "function";
|
|
333
332
|
};
|
|
@@ -353,9 +352,9 @@ export type UpdatePromptMessages = {
|
|
|
353
352
|
/**
|
|
354
353
|
* 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.
|
|
355
354
|
*/
|
|
356
|
-
content: string | Array<UpdatePrompt21 | UpdatePrompt22 |
|
|
355
|
+
content: string | Array<UpdatePrompt21 | UpdatePrompt22 | Two3> | null;
|
|
357
356
|
toolCalls?: Array<UpdatePromptToolCalls> | undefined;
|
|
358
|
-
toolCallId?: string |
|
|
357
|
+
toolCallId?: string | undefined;
|
|
359
358
|
};
|
|
360
359
|
/**
|
|
361
360
|
* The modality of the model
|
|
@@ -388,10 +387,6 @@ export type PromptConfig = {
|
|
|
388
387
|
*/
|
|
389
388
|
modelParameters?: UpdatePromptModelParameters | undefined;
|
|
390
389
|
provider?: Provider | undefined;
|
|
391
|
-
/**
|
|
392
|
-
* The ID of the integration to use
|
|
393
|
-
*/
|
|
394
|
-
integrationId?: string | null | undefined;
|
|
395
390
|
version?: string | undefined;
|
|
396
391
|
messages: Array<UpdatePromptMessages>;
|
|
397
392
|
modelDbId?: string | null | undefined;
|
|
@@ -450,11 +445,72 @@ export type UpdatePromptMetadata = {
|
|
|
450
445
|
*/
|
|
451
446
|
language?: UpdatePromptLanguage | null | undefined;
|
|
452
447
|
};
|
|
453
|
-
export
|
|
448
|
+
export declare const UpdatePrompt2PromptsRequestRequestBodyPromptMessages4Type: {
|
|
449
|
+
readonly Text: "text";
|
|
450
|
+
};
|
|
451
|
+
export type UpdatePrompt2PromptsRequestRequestBodyPromptMessages4Type = ClosedEnum<typeof UpdatePrompt2PromptsRequestRequestBodyPromptMessages4Type>;
|
|
452
|
+
/**
|
|
453
|
+
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
454
|
+
*/
|
|
455
|
+
export declare const UpdatePrompt2PromptsRequestRequestBodyPromptMessages4ContentType: {
|
|
456
|
+
readonly Ephemeral: "ephemeral";
|
|
457
|
+
};
|
|
458
|
+
/**
|
|
459
|
+
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
460
|
+
*/
|
|
461
|
+
export type UpdatePrompt2PromptsRequestRequestBodyPromptMessages4ContentType = ClosedEnum<typeof UpdatePrompt2PromptsRequestRequestBodyPromptMessages4ContentType>;
|
|
462
|
+
/**
|
|
463
|
+
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
464
|
+
*
|
|
465
|
+
* @remarks
|
|
466
|
+
*
|
|
467
|
+
* - `5m`: 5 minutes
|
|
468
|
+
* - `1h`: 1 hour
|
|
469
|
+
*
|
|
470
|
+
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
471
|
+
*/
|
|
472
|
+
export declare const UpdatePrompt2PromptsRequestRequestBodyTtl: {
|
|
473
|
+
readonly Fivem: "5m";
|
|
474
|
+
readonly Oneh: "1h";
|
|
475
|
+
};
|
|
476
|
+
/**
|
|
477
|
+
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
478
|
+
*
|
|
479
|
+
* @remarks
|
|
480
|
+
*
|
|
481
|
+
* - `5m`: 5 minutes
|
|
482
|
+
* - `1h`: 1 hour
|
|
483
|
+
*
|
|
484
|
+
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
485
|
+
*/
|
|
486
|
+
export type UpdatePrompt2PromptsRequestRequestBodyTtl = ClosedEnum<typeof UpdatePrompt2PromptsRequestRequestBodyTtl>;
|
|
487
|
+
export type UpdatePrompt2PromptsRequestRequestBodyCacheControl = {
|
|
488
|
+
/**
|
|
489
|
+
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
490
|
+
*/
|
|
491
|
+
type: UpdatePrompt2PromptsRequestRequestBodyPromptMessages4ContentType;
|
|
492
|
+
/**
|
|
493
|
+
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
494
|
+
*
|
|
495
|
+
* @remarks
|
|
496
|
+
*
|
|
497
|
+
* - `5m`: 5 minutes
|
|
498
|
+
* - `1h`: 1 hour
|
|
499
|
+
*
|
|
500
|
+
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
501
|
+
*/
|
|
502
|
+
ttl?: UpdatePrompt2PromptsRequestRequestBodyTtl | undefined;
|
|
503
|
+
};
|
|
504
|
+
export type UpdatePrompt2PromptsRequestRequestBody1 = {
|
|
505
|
+
type: UpdatePrompt2PromptsRequestRequestBodyPromptMessages4Type;
|
|
506
|
+
text: string;
|
|
507
|
+
cacheControl?: UpdatePrompt2PromptsRequestRequestBodyCacheControl | undefined;
|
|
508
|
+
};
|
|
509
|
+
export type UpdatePromptContentPromptsRequestRequestBodyPrompt2 = UpdatePrompt2PromptsRequestRequestBody1;
|
|
454
510
|
/**
|
|
455
511
|
* The contents of the tool message.
|
|
456
512
|
*/
|
|
457
|
-
export type UpdatePromptMessagesPromptsRequestRequestBodyContent = string | Array<
|
|
513
|
+
export type UpdatePromptMessagesPromptsRequestRequestBodyContent = string | Array<UpdatePrompt2PromptsRequestRequestBody1>;
|
|
458
514
|
/**
|
|
459
515
|
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
460
516
|
*/
|
|
@@ -515,22 +571,75 @@ export type UpdatePromptMessagesToolMessage = {
|
|
|
515
571
|
/**
|
|
516
572
|
* The contents of the tool message.
|
|
517
573
|
*/
|
|
518
|
-
content: string | Array<
|
|
574
|
+
content: string | Array<UpdatePrompt2PromptsRequestRequestBody1>;
|
|
519
575
|
/**
|
|
520
576
|
* Tool call that this message is responding to.
|
|
521
577
|
*/
|
|
522
578
|
toolCallId: string;
|
|
523
579
|
cacheControl?: UpdatePromptMessagesCacheControl | undefined;
|
|
524
580
|
};
|
|
525
|
-
|
|
581
|
+
/**
|
|
582
|
+
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
583
|
+
*/
|
|
584
|
+
export declare const UpdatePrompt2PromptsRequestRequestBodyPromptMessages3ContentType: {
|
|
585
|
+
readonly Ephemeral: "ephemeral";
|
|
586
|
+
};
|
|
587
|
+
/**
|
|
588
|
+
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
589
|
+
*/
|
|
590
|
+
export type UpdatePrompt2PromptsRequestRequestBodyPromptMessages3ContentType = ClosedEnum<typeof UpdatePrompt2PromptsRequestRequestBodyPromptMessages3ContentType>;
|
|
591
|
+
/**
|
|
592
|
+
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
593
|
+
*
|
|
594
|
+
* @remarks
|
|
595
|
+
*
|
|
596
|
+
* - `5m`: 5 minutes
|
|
597
|
+
* - `1h`: 1 hour
|
|
598
|
+
*
|
|
599
|
+
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
600
|
+
*/
|
|
601
|
+
export declare const UpdatePrompt2PromptsRequestTtl: {
|
|
602
|
+
readonly Fivem: "5m";
|
|
603
|
+
readonly Oneh: "1h";
|
|
604
|
+
};
|
|
605
|
+
/**
|
|
606
|
+
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
607
|
+
*
|
|
608
|
+
* @remarks
|
|
609
|
+
*
|
|
610
|
+
* - `5m`: 5 minutes
|
|
611
|
+
* - `1h`: 1 hour
|
|
612
|
+
*
|
|
613
|
+
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
614
|
+
*/
|
|
615
|
+
export type UpdatePrompt2PromptsRequestTtl = ClosedEnum<typeof UpdatePrompt2PromptsRequestTtl>;
|
|
616
|
+
export type UpdatePrompt2PromptsRequestCacheControl = {
|
|
617
|
+
/**
|
|
618
|
+
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
619
|
+
*/
|
|
620
|
+
type: UpdatePrompt2PromptsRequestRequestBodyPromptMessages3ContentType;
|
|
621
|
+
/**
|
|
622
|
+
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
623
|
+
*
|
|
624
|
+
* @remarks
|
|
625
|
+
*
|
|
626
|
+
* - `5m`: 5 minutes
|
|
627
|
+
* - `1h`: 1 hour
|
|
628
|
+
*
|
|
629
|
+
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
630
|
+
*/
|
|
631
|
+
ttl?: UpdatePrompt2PromptsRequestTtl | undefined;
|
|
632
|
+
};
|
|
633
|
+
export type UpdatePrompt2PromptsRequest1 = {
|
|
526
634
|
type: "text";
|
|
527
|
-
|
|
635
|
+
text: string;
|
|
636
|
+
cacheControl?: UpdatePrompt2PromptsRequestCacheControl | undefined;
|
|
637
|
+
};
|
|
638
|
+
export type UpdatePromptContentPromptsRequestRequestBody2 = UpdatePrompt2PromptsRequest1 | components.RefusalPartSchema | components.ReasoningPartSchema | components.RedactedReasoningPartSchema;
|
|
528
639
|
/**
|
|
529
640
|
* The contents of the assistant message. Required unless `tool_calls` or `function_call` is specified.
|
|
530
641
|
*/
|
|
531
|
-
export type UpdatePromptMessagesPromptsRequestContent = string | Array<
|
|
532
|
-
type: "text";
|
|
533
|
-
}) | components.RefusalPartSchema | components.ReasoningPartSchema | components.RedactedReasoningPartSchema>;
|
|
642
|
+
export type UpdatePromptMessagesPromptsRequestContent = string | Array<UpdatePrompt2PromptsRequest1 | components.RefusalPartSchema | components.ReasoningPartSchema | components.RedactedReasoningPartSchema>;
|
|
534
643
|
/**
|
|
535
644
|
* Data about a previous audio response from the model.
|
|
536
645
|
*/
|
|
@@ -579,9 +688,7 @@ export type UpdatePromptMessagesAssistantMessage = {
|
|
|
579
688
|
/**
|
|
580
689
|
* The contents of the assistant message. Required unless `tool_calls` or `function_call` is specified.
|
|
581
690
|
*/
|
|
582
|
-
content?: string | Array<
|
|
583
|
-
type: "text";
|
|
584
|
-
}) | components.RefusalPartSchema | components.ReasoningPartSchema | components.RedactedReasoningPartSchema> | null | undefined;
|
|
691
|
+
content?: string | Array<UpdatePrompt2PromptsRequest1 | components.RefusalPartSchema | components.ReasoningPartSchema | components.RedactedReasoningPartSchema> | null | undefined;
|
|
585
692
|
/**
|
|
586
693
|
* The refusal message by the assistant.
|
|
587
694
|
*/
|
|
@@ -606,13 +713,13 @@ export type UpdatePromptMessagesAssistantMessage = {
|
|
|
606
713
|
/**
|
|
607
714
|
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
608
715
|
*/
|
|
609
|
-
export declare const
|
|
716
|
+
export declare const UpdatePrompt2PromptsRequestRequestBodyPromptMessages2Type: {
|
|
610
717
|
readonly Ephemeral: "ephemeral";
|
|
611
718
|
};
|
|
612
719
|
/**
|
|
613
720
|
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
614
721
|
*/
|
|
615
|
-
export type
|
|
722
|
+
export type UpdatePrompt2PromptsRequestRequestBodyPromptMessages2Type = ClosedEnum<typeof UpdatePrompt2PromptsRequestRequestBodyPromptMessages2Type>;
|
|
616
723
|
/**
|
|
617
724
|
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
618
725
|
*
|
|
@@ -623,7 +730,7 @@ export type UpdatePrompt2PromptsRequestRequestBodyPromptType = ClosedEnum<typeof
|
|
|
623
730
|
*
|
|
624
731
|
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
625
732
|
*/
|
|
626
|
-
export declare const
|
|
733
|
+
export declare const UpdatePrompt2PromptsTtl: {
|
|
627
734
|
readonly Fivem: "5m";
|
|
628
735
|
readonly Oneh: "1h";
|
|
629
736
|
};
|
|
@@ -637,12 +744,12 @@ export declare const UpdatePrompt2Ttl: {
|
|
|
637
744
|
*
|
|
638
745
|
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
639
746
|
*/
|
|
640
|
-
export type
|
|
641
|
-
export type
|
|
747
|
+
export type UpdatePrompt2PromptsTtl = ClosedEnum<typeof UpdatePrompt2PromptsTtl>;
|
|
748
|
+
export type UpdatePrompt2PromptsCacheControl = {
|
|
642
749
|
/**
|
|
643
750
|
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
644
751
|
*/
|
|
645
|
-
type:
|
|
752
|
+
type: UpdatePrompt2PromptsRequestRequestBodyPromptMessages2Type;
|
|
646
753
|
/**
|
|
647
754
|
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
648
755
|
*
|
|
@@ -653,28 +760,81 @@ export type UpdatePrompt2CacheControl = {
|
|
|
653
760
|
*
|
|
654
761
|
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
655
762
|
*/
|
|
656
|
-
ttl?:
|
|
763
|
+
ttl?: UpdatePrompt2PromptsTtl | undefined;
|
|
657
764
|
};
|
|
658
765
|
export type UpdatePrompt24 = {
|
|
659
766
|
/**
|
|
660
767
|
* The type of the content part. Always `file`.
|
|
661
768
|
*/
|
|
662
769
|
type: "file";
|
|
663
|
-
cacheControl?:
|
|
770
|
+
cacheControl?: UpdatePrompt2PromptsCacheControl | undefined;
|
|
664
771
|
/**
|
|
665
772
|
* File data for the content part. Must contain either file_data or uri, but not both.
|
|
666
773
|
*/
|
|
667
774
|
file: components.FileContentPartSchema;
|
|
668
775
|
};
|
|
669
|
-
|
|
776
|
+
/**
|
|
777
|
+
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
778
|
+
*/
|
|
779
|
+
export declare const UpdatePrompt2PromptsRequestRequestBodyPromptType: {
|
|
780
|
+
readonly Ephemeral: "ephemeral";
|
|
781
|
+
};
|
|
782
|
+
/**
|
|
783
|
+
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
784
|
+
*/
|
|
785
|
+
export type UpdatePrompt2PromptsRequestRequestBodyPromptType = ClosedEnum<typeof UpdatePrompt2PromptsRequestRequestBodyPromptType>;
|
|
786
|
+
/**
|
|
787
|
+
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
788
|
+
*
|
|
789
|
+
* @remarks
|
|
790
|
+
*
|
|
791
|
+
* - `5m`: 5 minutes
|
|
792
|
+
* - `1h`: 1 hour
|
|
793
|
+
*
|
|
794
|
+
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
795
|
+
*/
|
|
796
|
+
export declare const UpdatePrompt2Ttl: {
|
|
797
|
+
readonly Fivem: "5m";
|
|
798
|
+
readonly Oneh: "1h";
|
|
799
|
+
};
|
|
800
|
+
/**
|
|
801
|
+
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
802
|
+
*
|
|
803
|
+
* @remarks
|
|
804
|
+
*
|
|
805
|
+
* - `5m`: 5 minutes
|
|
806
|
+
* - `1h`: 1 hour
|
|
807
|
+
*
|
|
808
|
+
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
809
|
+
*/
|
|
810
|
+
export type UpdatePrompt2Ttl = ClosedEnum<typeof UpdatePrompt2Ttl>;
|
|
811
|
+
export type UpdatePrompt2CacheControl = {
|
|
812
|
+
/**
|
|
813
|
+
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
814
|
+
*/
|
|
815
|
+
type: UpdatePrompt2PromptsRequestRequestBodyPromptType;
|
|
816
|
+
/**
|
|
817
|
+
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
818
|
+
*
|
|
819
|
+
* @remarks
|
|
820
|
+
*
|
|
821
|
+
* - `5m`: 5 minutes
|
|
822
|
+
* - `1h`: 1 hour
|
|
823
|
+
*
|
|
824
|
+
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
825
|
+
*/
|
|
826
|
+
ttl?: UpdatePrompt2Ttl | undefined;
|
|
827
|
+
};
|
|
828
|
+
export type UpdatePrompt2Prompts1 = {
|
|
670
829
|
type: "text";
|
|
671
|
-
|
|
830
|
+
text: string;
|
|
831
|
+
cacheControl?: UpdatePrompt2CacheControl | undefined;
|
|
832
|
+
};
|
|
833
|
+
export type UpdatePromptContentPromptsRequest2 = UpdatePrompt2Prompts1 | components.ImageContentPartSchema | components.AudioContentPartSchema | UpdatePrompt24;
|
|
672
834
|
/**
|
|
673
835
|
* The contents of the user message.
|
|
674
836
|
*/
|
|
675
|
-
export type UpdatePromptMessagesPromptsContent = string | Array<
|
|
676
|
-
type: "text";
|
|
677
|
-
}) | components.ImageContentPartSchema | components.AudioContentPartSchema | UpdatePrompt24>;
|
|
837
|
+
export type UpdatePromptMessagesPromptsContent = string | Array<UpdatePrompt2Prompts1 | components.ImageContentPartSchema | components.AudioContentPartSchema | UpdatePrompt24>;
|
|
678
838
|
export type UpdatePromptMessagesUserMessage = {
|
|
679
839
|
/**
|
|
680
840
|
* The role of the messages author, in this case `user`.
|
|
@@ -687,14 +847,73 @@ export type UpdatePromptMessagesUserMessage = {
|
|
|
687
847
|
/**
|
|
688
848
|
* The contents of the user message.
|
|
689
849
|
*/
|
|
690
|
-
content: string | Array<
|
|
691
|
-
|
|
692
|
-
|
|
850
|
+
content: string | Array<UpdatePrompt2Prompts1 | components.ImageContentPartSchema | components.AudioContentPartSchema | UpdatePrompt24>;
|
|
851
|
+
};
|
|
852
|
+
export declare const UpdatePromptContentType: {
|
|
853
|
+
readonly Text: "text";
|
|
854
|
+
};
|
|
855
|
+
export type UpdatePromptContentType = ClosedEnum<typeof UpdatePromptContentType>;
|
|
856
|
+
/**
|
|
857
|
+
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
858
|
+
*/
|
|
859
|
+
export declare const UpdatePromptContentPromptsType: {
|
|
860
|
+
readonly Ephemeral: "ephemeral";
|
|
861
|
+
};
|
|
862
|
+
/**
|
|
863
|
+
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
864
|
+
*/
|
|
865
|
+
export type UpdatePromptContentPromptsType = ClosedEnum<typeof UpdatePromptContentPromptsType>;
|
|
866
|
+
/**
|
|
867
|
+
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
868
|
+
*
|
|
869
|
+
* @remarks
|
|
870
|
+
*
|
|
871
|
+
* - `5m`: 5 minutes
|
|
872
|
+
* - `1h`: 1 hour
|
|
873
|
+
*
|
|
874
|
+
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
875
|
+
*/
|
|
876
|
+
export declare const UpdatePromptContentTtl: {
|
|
877
|
+
readonly Fivem: "5m";
|
|
878
|
+
readonly Oneh: "1h";
|
|
879
|
+
};
|
|
880
|
+
/**
|
|
881
|
+
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
882
|
+
*
|
|
883
|
+
* @remarks
|
|
884
|
+
*
|
|
885
|
+
* - `5m`: 5 minutes
|
|
886
|
+
* - `1h`: 1 hour
|
|
887
|
+
*
|
|
888
|
+
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
889
|
+
*/
|
|
890
|
+
export type UpdatePromptContentTtl = ClosedEnum<typeof UpdatePromptContentTtl>;
|
|
891
|
+
export type UpdatePromptContentCacheControl = {
|
|
892
|
+
/**
|
|
893
|
+
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
894
|
+
*/
|
|
895
|
+
type: UpdatePromptContentPromptsType;
|
|
896
|
+
/**
|
|
897
|
+
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
898
|
+
*
|
|
899
|
+
* @remarks
|
|
900
|
+
*
|
|
901
|
+
* - `5m`: 5 minutes
|
|
902
|
+
* - `1h`: 1 hour
|
|
903
|
+
*
|
|
904
|
+
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
905
|
+
*/
|
|
906
|
+
ttl?: UpdatePromptContentTtl | undefined;
|
|
907
|
+
};
|
|
908
|
+
export type UpdatePromptContentPrompts2 = {
|
|
909
|
+
type: UpdatePromptContentType;
|
|
910
|
+
text: string;
|
|
911
|
+
cacheControl?: UpdatePromptContentCacheControl | undefined;
|
|
693
912
|
};
|
|
694
913
|
/**
|
|
695
914
|
* The contents of the system message.
|
|
696
915
|
*/
|
|
697
|
-
export type UpdatePromptMessagesContent = string | Array<
|
|
916
|
+
export type UpdatePromptMessagesContent = string | Array<UpdatePromptContentPrompts2>;
|
|
698
917
|
/**
|
|
699
918
|
* Developer-provided instructions that the model should follow, regardless of messages sent by the user.
|
|
700
919
|
*/
|
|
@@ -706,7 +925,7 @@ export type UpdatePromptMessagesSystemMessage = {
|
|
|
706
925
|
/**
|
|
707
926
|
* The contents of the system message.
|
|
708
927
|
*/
|
|
709
|
-
content: string | Array<
|
|
928
|
+
content: string | Array<UpdatePromptContentPrompts2>;
|
|
710
929
|
/**
|
|
711
930
|
* An optional name for the participant. Provides the model information to differentiate between participants of the same role.
|
|
712
931
|
*/
|
|
@@ -1084,30 +1303,29 @@ export type UpdatePromptPromptsModelParameters = {
|
|
|
1084
1303
|
thinkingLevel?: UpdatePromptPromptsThinkingLevel | undefined;
|
|
1085
1304
|
};
|
|
1086
1305
|
export declare const UpdatePromptProvider: {
|
|
1087
|
-
readonly Openai: "openai";
|
|
1088
|
-
readonly Groq: "groq";
|
|
1089
1306
|
readonly Cohere: "cohere";
|
|
1090
|
-
readonly
|
|
1091
|
-
readonly
|
|
1307
|
+
readonly Openai: "openai";
|
|
1308
|
+
readonly Anthropic: "anthropic";
|
|
1309
|
+
readonly Huggingface: "huggingface";
|
|
1310
|
+
readonly Replicate: "replicate";
|
|
1092
1311
|
readonly Google: "google";
|
|
1093
1312
|
readonly GoogleAi: "google-ai";
|
|
1094
|
-
readonly
|
|
1095
|
-
readonly
|
|
1313
|
+
readonly Azure: "azure";
|
|
1314
|
+
readonly Aws: "aws";
|
|
1315
|
+
readonly Anyscale: "anyscale";
|
|
1096
1316
|
readonly Perplexity: "perplexity";
|
|
1097
|
-
readonly
|
|
1098
|
-
readonly Leonardoai: "leonardoai";
|
|
1317
|
+
readonly Groq: "groq";
|
|
1099
1318
|
readonly Fal: "fal";
|
|
1319
|
+
readonly Leonardoai: "leonardoai";
|
|
1100
1320
|
readonly Nvidia: "nvidia";
|
|
1101
1321
|
readonly Jina: "jina";
|
|
1322
|
+
readonly Togetherai: "togetherai";
|
|
1102
1323
|
readonly Elevenlabs: "elevenlabs";
|
|
1103
1324
|
readonly Litellm: "litellm";
|
|
1104
|
-
readonly Cerebras: "cerebras";
|
|
1105
1325
|
readonly Openailike: "openailike";
|
|
1326
|
+
readonly Cerebras: "cerebras";
|
|
1106
1327
|
readonly Bytedance: "bytedance";
|
|
1107
1328
|
readonly Mistral: "mistral";
|
|
1108
|
-
readonly Deepseek: "deepseek";
|
|
1109
|
-
readonly Contextualai: "contextualai";
|
|
1110
|
-
readonly Moonshotai: "moonshotai";
|
|
1111
1329
|
};
|
|
1112
1330
|
export type UpdatePromptProvider = ClosedEnum<typeof UpdatePromptProvider>;
|
|
1113
1331
|
/**
|
|
@@ -1145,14 +1363,14 @@ export type UpdatePrompt2PromptsFile = {
|
|
|
1145
1363
|
*/
|
|
1146
1364
|
filename?: string | undefined;
|
|
1147
1365
|
};
|
|
1148
|
-
export type
|
|
1366
|
+
export type UpdatePrompt23 = {
|
|
1149
1367
|
/**
|
|
1150
1368
|
* The type of the content part. Always `file`.
|
|
1151
1369
|
*/
|
|
1152
1370
|
type: "file";
|
|
1153
1371
|
file: UpdatePrompt2PromptsFile;
|
|
1154
1372
|
};
|
|
1155
|
-
export type
|
|
1373
|
+
export type UpdatePrompt2ImageUrl = {
|
|
1156
1374
|
/**
|
|
1157
1375
|
* The orq.ai id of the image
|
|
1158
1376
|
*/
|
|
@@ -1171,20 +1389,20 @@ export type UpdatePrompt2PromptsImageUrl = {
|
|
|
1171
1389
|
*/
|
|
1172
1390
|
export type UpdatePrompt2Prompts2 = {
|
|
1173
1391
|
type: "image_url";
|
|
1174
|
-
imageUrl:
|
|
1392
|
+
imageUrl: UpdatePrompt2ImageUrl;
|
|
1175
1393
|
};
|
|
1176
1394
|
/**
|
|
1177
1395
|
* Text content part of a prompt message
|
|
1178
1396
|
*/
|
|
1179
|
-
export type
|
|
1397
|
+
export type UpdatePrompt2PromptsResponse1 = {
|
|
1180
1398
|
type: "text";
|
|
1181
1399
|
text: string;
|
|
1182
1400
|
};
|
|
1183
|
-
export type UpdatePromptContentPromptsResponse2 =
|
|
1401
|
+
export type UpdatePromptContentPromptsResponse2 = UpdatePrompt2PromptsResponse1 | UpdatePrompt2Prompts2 | UpdatePrompt23;
|
|
1184
1402
|
/**
|
|
1185
1403
|
* 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.
|
|
1186
1404
|
*/
|
|
1187
|
-
export type UpdatePromptPromptsContent = string | Array<
|
|
1405
|
+
export type UpdatePromptPromptsContent = string | Array<UpdatePrompt2PromptsResponse1 | UpdatePrompt2Prompts2 | UpdatePrompt23>;
|
|
1188
1406
|
export declare const UpdatePromptPromptsResponseType: {
|
|
1189
1407
|
readonly Function: "function";
|
|
1190
1408
|
};
|
|
@@ -1210,9 +1428,9 @@ export type UpdatePromptPromptsResponseMessages = {
|
|
|
1210
1428
|
/**
|
|
1211
1429
|
* 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.
|
|
1212
1430
|
*/
|
|
1213
|
-
content: string | Array<
|
|
1431
|
+
content: string | Array<UpdatePrompt2PromptsResponse1 | UpdatePrompt2Prompts2 | UpdatePrompt23> | null;
|
|
1214
1432
|
toolCalls?: Array<UpdatePromptPromptsToolCalls> | undefined;
|
|
1215
|
-
toolCallId?: string |
|
|
1433
|
+
toolCallId?: string | undefined;
|
|
1216
1434
|
};
|
|
1217
1435
|
/**
|
|
1218
1436
|
* A list of messages compatible with the openAI schema
|
|
@@ -1468,33 +1686,33 @@ export declare const UpdatePrompt2File$outboundSchema: z.ZodType<UpdatePrompt2Fi
|
|
|
1468
1686
|
export declare function updatePrompt2FileToJSON(updatePrompt2File: UpdatePrompt2File): string;
|
|
1469
1687
|
export declare function updatePrompt2FileFromJSON(jsonString: string): SafeParseResult<UpdatePrompt2File, SDKValidationError>;
|
|
1470
1688
|
/** @internal */
|
|
1471
|
-
export declare const
|
|
1689
|
+
export declare const Two3$inboundSchema: z.ZodType<Two3, z.ZodTypeDef, unknown>;
|
|
1472
1690
|
/** @internal */
|
|
1473
|
-
export type
|
|
1691
|
+
export type Two3$Outbound = {
|
|
1474
1692
|
type: "file";
|
|
1475
1693
|
file: UpdatePrompt2File$Outbound;
|
|
1476
1694
|
};
|
|
1477
1695
|
/** @internal */
|
|
1478
|
-
export declare const
|
|
1479
|
-
export declare function
|
|
1480
|
-
export declare function
|
|
1696
|
+
export declare const Two3$outboundSchema: z.ZodType<Two3$Outbound, z.ZodTypeDef, Two3>;
|
|
1697
|
+
export declare function two3ToJSON(two3: Two3): string;
|
|
1698
|
+
export declare function two3FromJSON(jsonString: string): SafeParseResult<Two3, SDKValidationError>;
|
|
1481
1699
|
/** @internal */
|
|
1482
|
-
export declare const
|
|
1700
|
+
export declare const TwoImageUrl$inboundSchema: z.ZodType<TwoImageUrl, z.ZodTypeDef, unknown>;
|
|
1483
1701
|
/** @internal */
|
|
1484
|
-
export type
|
|
1702
|
+
export type TwoImageUrl$Outbound = {
|
|
1485
1703
|
url: string;
|
|
1486
1704
|
detail?: string | undefined;
|
|
1487
1705
|
};
|
|
1488
1706
|
/** @internal */
|
|
1489
|
-
export declare const
|
|
1490
|
-
export declare function
|
|
1491
|
-
export declare function
|
|
1707
|
+
export declare const TwoImageUrl$outboundSchema: z.ZodType<TwoImageUrl$Outbound, z.ZodTypeDef, TwoImageUrl>;
|
|
1708
|
+
export declare function twoImageUrlToJSON(twoImageUrl: TwoImageUrl): string;
|
|
1709
|
+
export declare function twoImageUrlFromJSON(jsonString: string): SafeParseResult<TwoImageUrl, SDKValidationError>;
|
|
1492
1710
|
/** @internal */
|
|
1493
1711
|
export declare const UpdatePrompt22$inboundSchema: z.ZodType<UpdatePrompt22, z.ZodTypeDef, unknown>;
|
|
1494
1712
|
/** @internal */
|
|
1495
1713
|
export type UpdatePrompt22$Outbound = {
|
|
1496
1714
|
type: "image_url";
|
|
1497
|
-
image_url:
|
|
1715
|
+
image_url: TwoImageUrl$Outbound;
|
|
1498
1716
|
};
|
|
1499
1717
|
/** @internal */
|
|
1500
1718
|
export declare const UpdatePrompt22$outboundSchema: z.ZodType<UpdatePrompt22$Outbound, z.ZodTypeDef, UpdatePrompt22>;
|
|
@@ -1514,7 +1732,7 @@ export declare function updatePrompt21FromJSON(jsonString: string): SafeParseRes
|
|
|
1514
1732
|
/** @internal */
|
|
1515
1733
|
export declare const UpdatePromptContent2$inboundSchema: z.ZodType<UpdatePromptContent2, z.ZodTypeDef, unknown>;
|
|
1516
1734
|
/** @internal */
|
|
1517
|
-
export type UpdatePromptContent2$Outbound = UpdatePrompt21$Outbound | UpdatePrompt22$Outbound |
|
|
1735
|
+
export type UpdatePromptContent2$Outbound = UpdatePrompt21$Outbound | UpdatePrompt22$Outbound | Two3$Outbound;
|
|
1518
1736
|
/** @internal */
|
|
1519
1737
|
export declare const UpdatePromptContent2$outboundSchema: z.ZodType<UpdatePromptContent2$Outbound, z.ZodTypeDef, UpdatePromptContent2>;
|
|
1520
1738
|
export declare function updatePromptContent2ToJSON(updatePromptContent2: UpdatePromptContent2): string;
|
|
@@ -1522,7 +1740,7 @@ export declare function updatePromptContent2FromJSON(jsonString: string): SafePa
|
|
|
1522
1740
|
/** @internal */
|
|
1523
1741
|
export declare const UpdatePromptContent$inboundSchema: z.ZodType<UpdatePromptContent, z.ZodTypeDef, unknown>;
|
|
1524
1742
|
/** @internal */
|
|
1525
|
-
export type UpdatePromptContent$Outbound = string | Array<UpdatePrompt21$Outbound | UpdatePrompt22$Outbound |
|
|
1743
|
+
export type UpdatePromptContent$Outbound = string | Array<UpdatePrompt21$Outbound | UpdatePrompt22$Outbound | Two3$Outbound>;
|
|
1526
1744
|
/** @internal */
|
|
1527
1745
|
export declare const UpdatePromptContent$outboundSchema: z.ZodType<UpdatePromptContent$Outbound, z.ZodTypeDef, UpdatePromptContent>;
|
|
1528
1746
|
export declare function updatePromptContentToJSON(updatePromptContent: UpdatePromptContent): string;
|
|
@@ -1560,9 +1778,9 @@ export declare const UpdatePromptMessages$inboundSchema: z.ZodType<UpdatePromptM
|
|
|
1560
1778
|
/** @internal */
|
|
1561
1779
|
export type UpdatePromptMessages$Outbound = {
|
|
1562
1780
|
role: string;
|
|
1563
|
-
content: string | Array<UpdatePrompt21$Outbound | UpdatePrompt22$Outbound |
|
|
1781
|
+
content: string | Array<UpdatePrompt21$Outbound | UpdatePrompt22$Outbound | Two3$Outbound> | null;
|
|
1564
1782
|
tool_calls?: Array<UpdatePromptToolCalls$Outbound> | undefined;
|
|
1565
|
-
tool_call_id?: string |
|
|
1783
|
+
tool_call_id?: string | undefined;
|
|
1566
1784
|
};
|
|
1567
1785
|
/** @internal */
|
|
1568
1786
|
export declare const UpdatePromptMessages$outboundSchema: z.ZodType<UpdatePromptMessages$Outbound, z.ZodTypeDef, UpdatePromptMessages>;
|
|
@@ -1580,7 +1798,6 @@ export type PromptConfig$Outbound = {
|
|
|
1580
1798
|
model?: string | undefined;
|
|
1581
1799
|
model_parameters?: UpdatePromptModelParameters$Outbound | undefined;
|
|
1582
1800
|
provider?: string | undefined;
|
|
1583
|
-
integration_id?: string | null | undefined;
|
|
1584
1801
|
version?: string | undefined;
|
|
1585
1802
|
messages: Array<UpdatePromptMessages$Outbound>;
|
|
1586
1803
|
model_db_id?: string | null | undefined;
|
|
@@ -1611,17 +1828,52 @@ export declare const UpdatePromptMetadata$outboundSchema: z.ZodType<UpdatePrompt
|
|
|
1611
1828
|
export declare function updatePromptMetadataToJSON(updatePromptMetadata: UpdatePromptMetadata): string;
|
|
1612
1829
|
export declare function updatePromptMetadataFromJSON(jsonString: string): SafeParseResult<UpdatePromptMetadata, SDKValidationError>;
|
|
1613
1830
|
/** @internal */
|
|
1614
|
-
export declare const
|
|
1831
|
+
export declare const UpdatePrompt2PromptsRequestRequestBodyPromptMessages4Type$inboundSchema: z.ZodNativeEnum<typeof UpdatePrompt2PromptsRequestRequestBodyPromptMessages4Type>;
|
|
1615
1832
|
/** @internal */
|
|
1616
|
-
export
|
|
1833
|
+
export declare const UpdatePrompt2PromptsRequestRequestBodyPromptMessages4Type$outboundSchema: z.ZodNativeEnum<typeof UpdatePrompt2PromptsRequestRequestBodyPromptMessages4Type>;
|
|
1617
1834
|
/** @internal */
|
|
1618
|
-
export declare const
|
|
1619
|
-
|
|
1620
|
-
export declare
|
|
1835
|
+
export declare const UpdatePrompt2PromptsRequestRequestBodyPromptMessages4ContentType$inboundSchema: z.ZodNativeEnum<typeof UpdatePrompt2PromptsRequestRequestBodyPromptMessages4ContentType>;
|
|
1836
|
+
/** @internal */
|
|
1837
|
+
export declare const UpdatePrompt2PromptsRequestRequestBodyPromptMessages4ContentType$outboundSchema: z.ZodNativeEnum<typeof UpdatePrompt2PromptsRequestRequestBodyPromptMessages4ContentType>;
|
|
1838
|
+
/** @internal */
|
|
1839
|
+
export declare const UpdatePrompt2PromptsRequestRequestBodyTtl$inboundSchema: z.ZodNativeEnum<typeof UpdatePrompt2PromptsRequestRequestBodyTtl>;
|
|
1840
|
+
/** @internal */
|
|
1841
|
+
export declare const UpdatePrompt2PromptsRequestRequestBodyTtl$outboundSchema: z.ZodNativeEnum<typeof UpdatePrompt2PromptsRequestRequestBodyTtl>;
|
|
1842
|
+
/** @internal */
|
|
1843
|
+
export declare const UpdatePrompt2PromptsRequestRequestBodyCacheControl$inboundSchema: z.ZodType<UpdatePrompt2PromptsRequestRequestBodyCacheControl, z.ZodTypeDef, unknown>;
|
|
1844
|
+
/** @internal */
|
|
1845
|
+
export type UpdatePrompt2PromptsRequestRequestBodyCacheControl$Outbound = {
|
|
1846
|
+
type: string;
|
|
1847
|
+
ttl: string;
|
|
1848
|
+
};
|
|
1849
|
+
/** @internal */
|
|
1850
|
+
export declare const UpdatePrompt2PromptsRequestRequestBodyCacheControl$outboundSchema: z.ZodType<UpdatePrompt2PromptsRequestRequestBodyCacheControl$Outbound, z.ZodTypeDef, UpdatePrompt2PromptsRequestRequestBodyCacheControl>;
|
|
1851
|
+
export declare function updatePrompt2PromptsRequestRequestBodyCacheControlToJSON(updatePrompt2PromptsRequestRequestBodyCacheControl: UpdatePrompt2PromptsRequestRequestBodyCacheControl): string;
|
|
1852
|
+
export declare function updatePrompt2PromptsRequestRequestBodyCacheControlFromJSON(jsonString: string): SafeParseResult<UpdatePrompt2PromptsRequestRequestBodyCacheControl, SDKValidationError>;
|
|
1853
|
+
/** @internal */
|
|
1854
|
+
export declare const UpdatePrompt2PromptsRequestRequestBody1$inboundSchema: z.ZodType<UpdatePrompt2PromptsRequestRequestBody1, z.ZodTypeDef, unknown>;
|
|
1855
|
+
/** @internal */
|
|
1856
|
+
export type UpdatePrompt2PromptsRequestRequestBody1$Outbound = {
|
|
1857
|
+
type: string;
|
|
1858
|
+
text: string;
|
|
1859
|
+
cache_control?: UpdatePrompt2PromptsRequestRequestBodyCacheControl$Outbound | undefined;
|
|
1860
|
+
};
|
|
1861
|
+
/** @internal */
|
|
1862
|
+
export declare const UpdatePrompt2PromptsRequestRequestBody1$outboundSchema: z.ZodType<UpdatePrompt2PromptsRequestRequestBody1$Outbound, z.ZodTypeDef, UpdatePrompt2PromptsRequestRequestBody1>;
|
|
1863
|
+
export declare function updatePrompt2PromptsRequestRequestBody1ToJSON(updatePrompt2PromptsRequestRequestBody1: UpdatePrompt2PromptsRequestRequestBody1): string;
|
|
1864
|
+
export declare function updatePrompt2PromptsRequestRequestBody1FromJSON(jsonString: string): SafeParseResult<UpdatePrompt2PromptsRequestRequestBody1, SDKValidationError>;
|
|
1865
|
+
/** @internal */
|
|
1866
|
+
export declare const UpdatePromptContentPromptsRequestRequestBodyPrompt2$inboundSchema: z.ZodType<UpdatePromptContentPromptsRequestRequestBodyPrompt2, z.ZodTypeDef, unknown>;
|
|
1867
|
+
/** @internal */
|
|
1868
|
+
export type UpdatePromptContentPromptsRequestRequestBodyPrompt2$Outbound = UpdatePrompt2PromptsRequestRequestBody1$Outbound;
|
|
1869
|
+
/** @internal */
|
|
1870
|
+
export declare const UpdatePromptContentPromptsRequestRequestBodyPrompt2$outboundSchema: z.ZodType<UpdatePromptContentPromptsRequestRequestBodyPrompt2$Outbound, z.ZodTypeDef, UpdatePromptContentPromptsRequestRequestBodyPrompt2>;
|
|
1871
|
+
export declare function updatePromptContentPromptsRequestRequestBodyPrompt2ToJSON(updatePromptContentPromptsRequestRequestBodyPrompt2: UpdatePromptContentPromptsRequestRequestBodyPrompt2): string;
|
|
1872
|
+
export declare function updatePromptContentPromptsRequestRequestBodyPrompt2FromJSON(jsonString: string): SafeParseResult<UpdatePromptContentPromptsRequestRequestBodyPrompt2, SDKValidationError>;
|
|
1621
1873
|
/** @internal */
|
|
1622
1874
|
export declare const UpdatePromptMessagesPromptsRequestRequestBodyContent$inboundSchema: z.ZodType<UpdatePromptMessagesPromptsRequestRequestBodyContent, z.ZodTypeDef, unknown>;
|
|
1623
1875
|
/** @internal */
|
|
1624
|
-
export type UpdatePromptMessagesPromptsRequestRequestBodyContent$Outbound = string | Array<
|
|
1876
|
+
export type UpdatePromptMessagesPromptsRequestRequestBodyContent$Outbound = string | Array<UpdatePrompt2PromptsRequestRequestBody1$Outbound>;
|
|
1625
1877
|
/** @internal */
|
|
1626
1878
|
export declare const UpdatePromptMessagesPromptsRequestRequestBodyContent$outboundSchema: z.ZodType<UpdatePromptMessagesPromptsRequestRequestBodyContent$Outbound, z.ZodTypeDef, UpdatePromptMessagesPromptsRequestRequestBodyContent>;
|
|
1627
1879
|
export declare function updatePromptMessagesPromptsRequestRequestBodyContentToJSON(updatePromptMessagesPromptsRequestRequestBodyContent: UpdatePromptMessagesPromptsRequestRequestBodyContent): string;
|
|
@@ -1650,7 +1902,7 @@ export declare const UpdatePromptMessagesToolMessage$inboundSchema: z.ZodType<Up
|
|
|
1650
1902
|
/** @internal */
|
|
1651
1903
|
export type UpdatePromptMessagesToolMessage$Outbound = {
|
|
1652
1904
|
role: "tool";
|
|
1653
|
-
content: string | Array<
|
|
1905
|
+
content: string | Array<UpdatePrompt2PromptsRequestRequestBody1$Outbound>;
|
|
1654
1906
|
tool_call_id: string;
|
|
1655
1907
|
cache_control?: UpdatePromptMessagesCacheControl$Outbound | undefined;
|
|
1656
1908
|
};
|
|
@@ -1659,21 +1911,48 @@ export declare const UpdatePromptMessagesToolMessage$outboundSchema: z.ZodType<U
|
|
|
1659
1911
|
export declare function updatePromptMessagesToolMessageToJSON(updatePromptMessagesToolMessage: UpdatePromptMessagesToolMessage): string;
|
|
1660
1912
|
export declare function updatePromptMessagesToolMessageFromJSON(jsonString: string): SafeParseResult<UpdatePromptMessagesToolMessage, SDKValidationError>;
|
|
1661
1913
|
/** @internal */
|
|
1662
|
-
export declare const
|
|
1914
|
+
export declare const UpdatePrompt2PromptsRequestRequestBodyPromptMessages3ContentType$inboundSchema: z.ZodNativeEnum<typeof UpdatePrompt2PromptsRequestRequestBodyPromptMessages3ContentType>;
|
|
1915
|
+
/** @internal */
|
|
1916
|
+
export declare const UpdatePrompt2PromptsRequestRequestBodyPromptMessages3ContentType$outboundSchema: z.ZodNativeEnum<typeof UpdatePrompt2PromptsRequestRequestBodyPromptMessages3ContentType>;
|
|
1663
1917
|
/** @internal */
|
|
1664
|
-
export
|
|
1918
|
+
export declare const UpdatePrompt2PromptsRequestTtl$inboundSchema: z.ZodNativeEnum<typeof UpdatePrompt2PromptsRequestTtl>;
|
|
1919
|
+
/** @internal */
|
|
1920
|
+
export declare const UpdatePrompt2PromptsRequestTtl$outboundSchema: z.ZodNativeEnum<typeof UpdatePrompt2PromptsRequestTtl>;
|
|
1921
|
+
/** @internal */
|
|
1922
|
+
export declare const UpdatePrompt2PromptsRequestCacheControl$inboundSchema: z.ZodType<UpdatePrompt2PromptsRequestCacheControl, z.ZodTypeDef, unknown>;
|
|
1923
|
+
/** @internal */
|
|
1924
|
+
export type UpdatePrompt2PromptsRequestCacheControl$Outbound = {
|
|
1925
|
+
type: string;
|
|
1926
|
+
ttl: string;
|
|
1927
|
+
};
|
|
1928
|
+
/** @internal */
|
|
1929
|
+
export declare const UpdatePrompt2PromptsRequestCacheControl$outboundSchema: z.ZodType<UpdatePrompt2PromptsRequestCacheControl$Outbound, z.ZodTypeDef, UpdatePrompt2PromptsRequestCacheControl>;
|
|
1930
|
+
export declare function updatePrompt2PromptsRequestCacheControlToJSON(updatePrompt2PromptsRequestCacheControl: UpdatePrompt2PromptsRequestCacheControl): string;
|
|
1931
|
+
export declare function updatePrompt2PromptsRequestCacheControlFromJSON(jsonString: string): SafeParseResult<UpdatePrompt2PromptsRequestCacheControl, SDKValidationError>;
|
|
1932
|
+
/** @internal */
|
|
1933
|
+
export declare const UpdatePrompt2PromptsRequest1$inboundSchema: z.ZodType<UpdatePrompt2PromptsRequest1, z.ZodTypeDef, unknown>;
|
|
1934
|
+
/** @internal */
|
|
1935
|
+
export type UpdatePrompt2PromptsRequest1$Outbound = {
|
|
1665
1936
|
type: "text";
|
|
1666
|
-
|
|
1937
|
+
text: string;
|
|
1938
|
+
cache_control?: UpdatePrompt2PromptsRequestCacheControl$Outbound | undefined;
|
|
1939
|
+
};
|
|
1667
1940
|
/** @internal */
|
|
1668
|
-
export declare const
|
|
1669
|
-
export declare function
|
|
1670
|
-
export declare function
|
|
1941
|
+
export declare const UpdatePrompt2PromptsRequest1$outboundSchema: z.ZodType<UpdatePrompt2PromptsRequest1$Outbound, z.ZodTypeDef, UpdatePrompt2PromptsRequest1>;
|
|
1942
|
+
export declare function updatePrompt2PromptsRequest1ToJSON(updatePrompt2PromptsRequest1: UpdatePrompt2PromptsRequest1): string;
|
|
1943
|
+
export declare function updatePrompt2PromptsRequest1FromJSON(jsonString: string): SafeParseResult<UpdatePrompt2PromptsRequest1, SDKValidationError>;
|
|
1944
|
+
/** @internal */
|
|
1945
|
+
export declare const UpdatePromptContentPromptsRequestRequestBody2$inboundSchema: z.ZodType<UpdatePromptContentPromptsRequestRequestBody2, z.ZodTypeDef, unknown>;
|
|
1946
|
+
/** @internal */
|
|
1947
|
+
export type UpdatePromptContentPromptsRequestRequestBody2$Outbound = UpdatePrompt2PromptsRequest1$Outbound | components.RefusalPartSchema$Outbound | components.ReasoningPartSchema$Outbound | components.RedactedReasoningPartSchema$Outbound;
|
|
1948
|
+
/** @internal */
|
|
1949
|
+
export declare const UpdatePromptContentPromptsRequestRequestBody2$outboundSchema: z.ZodType<UpdatePromptContentPromptsRequestRequestBody2$Outbound, z.ZodTypeDef, UpdatePromptContentPromptsRequestRequestBody2>;
|
|
1950
|
+
export declare function updatePromptContentPromptsRequestRequestBody2ToJSON(updatePromptContentPromptsRequestRequestBody2: UpdatePromptContentPromptsRequestRequestBody2): string;
|
|
1951
|
+
export declare function updatePromptContentPromptsRequestRequestBody2FromJSON(jsonString: string): SafeParseResult<UpdatePromptContentPromptsRequestRequestBody2, SDKValidationError>;
|
|
1671
1952
|
/** @internal */
|
|
1672
1953
|
export declare const UpdatePromptMessagesPromptsRequestContent$inboundSchema: z.ZodType<UpdatePromptMessagesPromptsRequestContent, z.ZodTypeDef, unknown>;
|
|
1673
1954
|
/** @internal */
|
|
1674
|
-
export type UpdatePromptMessagesPromptsRequestContent$Outbound = string | Array<
|
|
1675
|
-
type: "text";
|
|
1676
|
-
}) | components.RefusalPartSchema$Outbound | components.ReasoningPartSchema$Outbound | components.RedactedReasoningPartSchema$Outbound>;
|
|
1955
|
+
export type UpdatePromptMessagesPromptsRequestContent$Outbound = string | Array<UpdatePrompt2PromptsRequest1$Outbound | components.RefusalPartSchema$Outbound | components.ReasoningPartSchema$Outbound | components.RedactedReasoningPartSchema$Outbound>;
|
|
1677
1956
|
/** @internal */
|
|
1678
1957
|
export declare const UpdatePromptMessagesPromptsRequestContent$outboundSchema: z.ZodType<UpdatePromptMessagesPromptsRequestContent$Outbound, z.ZodTypeDef, UpdatePromptMessagesPromptsRequestContent>;
|
|
1679
1958
|
export declare function updatePromptMessagesPromptsRequestContentToJSON(updatePromptMessagesPromptsRequestContent: UpdatePromptMessagesPromptsRequestContent): string;
|
|
@@ -1720,9 +1999,7 @@ export declare function updatePromptMessagesToolCallsFromJSON(jsonString: string
|
|
|
1720
1999
|
export declare const UpdatePromptMessagesAssistantMessage$inboundSchema: z.ZodType<UpdatePromptMessagesAssistantMessage, z.ZodTypeDef, unknown>;
|
|
1721
2000
|
/** @internal */
|
|
1722
2001
|
export type UpdatePromptMessagesAssistantMessage$Outbound = {
|
|
1723
|
-
content?: string | Array<
|
|
1724
|
-
type: "text";
|
|
1725
|
-
}) | components.RefusalPartSchema$Outbound | components.ReasoningPartSchema$Outbound | components.RedactedReasoningPartSchema$Outbound> | null | undefined;
|
|
2002
|
+
content?: string | Array<UpdatePrompt2PromptsRequest1$Outbound | components.RefusalPartSchema$Outbound | components.ReasoningPartSchema$Outbound | components.RedactedReasoningPartSchema$Outbound> | null | undefined;
|
|
1726
2003
|
refusal?: string | null | undefined;
|
|
1727
2004
|
role: "assistant";
|
|
1728
2005
|
name?: string | undefined;
|
|
@@ -1734,6 +2011,37 @@ export declare const UpdatePromptMessagesAssistantMessage$outboundSchema: z.ZodT
|
|
|
1734
2011
|
export declare function updatePromptMessagesAssistantMessageToJSON(updatePromptMessagesAssistantMessage: UpdatePromptMessagesAssistantMessage): string;
|
|
1735
2012
|
export declare function updatePromptMessagesAssistantMessageFromJSON(jsonString: string): SafeParseResult<UpdatePromptMessagesAssistantMessage, SDKValidationError>;
|
|
1736
2013
|
/** @internal */
|
|
2014
|
+
export declare const UpdatePrompt2PromptsRequestRequestBodyPromptMessages2Type$inboundSchema: z.ZodNativeEnum<typeof UpdatePrompt2PromptsRequestRequestBodyPromptMessages2Type>;
|
|
2015
|
+
/** @internal */
|
|
2016
|
+
export declare const UpdatePrompt2PromptsRequestRequestBodyPromptMessages2Type$outboundSchema: z.ZodNativeEnum<typeof UpdatePrompt2PromptsRequestRequestBodyPromptMessages2Type>;
|
|
2017
|
+
/** @internal */
|
|
2018
|
+
export declare const UpdatePrompt2PromptsTtl$inboundSchema: z.ZodNativeEnum<typeof UpdatePrompt2PromptsTtl>;
|
|
2019
|
+
/** @internal */
|
|
2020
|
+
export declare const UpdatePrompt2PromptsTtl$outboundSchema: z.ZodNativeEnum<typeof UpdatePrompt2PromptsTtl>;
|
|
2021
|
+
/** @internal */
|
|
2022
|
+
export declare const UpdatePrompt2PromptsCacheControl$inboundSchema: z.ZodType<UpdatePrompt2PromptsCacheControl, z.ZodTypeDef, unknown>;
|
|
2023
|
+
/** @internal */
|
|
2024
|
+
export type UpdatePrompt2PromptsCacheControl$Outbound = {
|
|
2025
|
+
type: string;
|
|
2026
|
+
ttl: string;
|
|
2027
|
+
};
|
|
2028
|
+
/** @internal */
|
|
2029
|
+
export declare const UpdatePrompt2PromptsCacheControl$outboundSchema: z.ZodType<UpdatePrompt2PromptsCacheControl$Outbound, z.ZodTypeDef, UpdatePrompt2PromptsCacheControl>;
|
|
2030
|
+
export declare function updatePrompt2PromptsCacheControlToJSON(updatePrompt2PromptsCacheControl: UpdatePrompt2PromptsCacheControl): string;
|
|
2031
|
+
export declare function updatePrompt2PromptsCacheControlFromJSON(jsonString: string): SafeParseResult<UpdatePrompt2PromptsCacheControl, SDKValidationError>;
|
|
2032
|
+
/** @internal */
|
|
2033
|
+
export declare const UpdatePrompt24$inboundSchema: z.ZodType<UpdatePrompt24, z.ZodTypeDef, unknown>;
|
|
2034
|
+
/** @internal */
|
|
2035
|
+
export type UpdatePrompt24$Outbound = {
|
|
2036
|
+
type: "file";
|
|
2037
|
+
cache_control?: UpdatePrompt2PromptsCacheControl$Outbound | undefined;
|
|
2038
|
+
file: components.FileContentPartSchema$Outbound;
|
|
2039
|
+
};
|
|
2040
|
+
/** @internal */
|
|
2041
|
+
export declare const UpdatePrompt24$outboundSchema: z.ZodType<UpdatePrompt24$Outbound, z.ZodTypeDef, UpdatePrompt24>;
|
|
2042
|
+
export declare function updatePrompt24ToJSON(updatePrompt24: UpdatePrompt24): string;
|
|
2043
|
+
export declare function updatePrompt24FromJSON(jsonString: string): SafeParseResult<UpdatePrompt24, SDKValidationError>;
|
|
2044
|
+
/** @internal */
|
|
1737
2045
|
export declare const UpdatePrompt2PromptsRequestRequestBodyPromptType$inboundSchema: z.ZodNativeEnum<typeof UpdatePrompt2PromptsRequestRequestBodyPromptType>;
|
|
1738
2046
|
/** @internal */
|
|
1739
2047
|
export declare const UpdatePrompt2PromptsRequestRequestBodyPromptType$outboundSchema: z.ZodNativeEnum<typeof UpdatePrompt2PromptsRequestRequestBodyPromptType>;
|
|
@@ -1753,33 +2061,29 @@ export declare const UpdatePrompt2CacheControl$outboundSchema: z.ZodType<UpdateP
|
|
|
1753
2061
|
export declare function updatePrompt2CacheControlToJSON(updatePrompt2CacheControl: UpdatePrompt2CacheControl): string;
|
|
1754
2062
|
export declare function updatePrompt2CacheControlFromJSON(jsonString: string): SafeParseResult<UpdatePrompt2CacheControl, SDKValidationError>;
|
|
1755
2063
|
/** @internal */
|
|
1756
|
-
export declare const
|
|
2064
|
+
export declare const UpdatePrompt2Prompts1$inboundSchema: z.ZodType<UpdatePrompt2Prompts1, z.ZodTypeDef, unknown>;
|
|
1757
2065
|
/** @internal */
|
|
1758
|
-
export type
|
|
1759
|
-
type: "
|
|
2066
|
+
export type UpdatePrompt2Prompts1$Outbound = {
|
|
2067
|
+
type: "text";
|
|
2068
|
+
text: string;
|
|
1760
2069
|
cache_control?: UpdatePrompt2CacheControl$Outbound | undefined;
|
|
1761
|
-
file: components.FileContentPartSchema$Outbound;
|
|
1762
2070
|
};
|
|
1763
2071
|
/** @internal */
|
|
1764
|
-
export declare const
|
|
1765
|
-
export declare function
|
|
1766
|
-
export declare function
|
|
2072
|
+
export declare const UpdatePrompt2Prompts1$outboundSchema: z.ZodType<UpdatePrompt2Prompts1$Outbound, z.ZodTypeDef, UpdatePrompt2Prompts1>;
|
|
2073
|
+
export declare function updatePrompt2Prompts1ToJSON(updatePrompt2Prompts1: UpdatePrompt2Prompts1): string;
|
|
2074
|
+
export declare function updatePrompt2Prompts1FromJSON(jsonString: string): SafeParseResult<UpdatePrompt2Prompts1, SDKValidationError>;
|
|
1767
2075
|
/** @internal */
|
|
1768
|
-
export declare const
|
|
2076
|
+
export declare const UpdatePromptContentPromptsRequest2$inboundSchema: z.ZodType<UpdatePromptContentPromptsRequest2, z.ZodTypeDef, unknown>;
|
|
1769
2077
|
/** @internal */
|
|
1770
|
-
export type
|
|
1771
|
-
type: "text";
|
|
1772
|
-
}) | components.ImageContentPartSchema$Outbound | components.AudioContentPartSchema$Outbound | UpdatePrompt24$Outbound;
|
|
2078
|
+
export type UpdatePromptContentPromptsRequest2$Outbound = UpdatePrompt2Prompts1$Outbound | components.ImageContentPartSchema$Outbound | components.AudioContentPartSchema$Outbound | UpdatePrompt24$Outbound;
|
|
1773
2079
|
/** @internal */
|
|
1774
|
-
export declare const
|
|
1775
|
-
export declare function
|
|
1776
|
-
export declare function
|
|
2080
|
+
export declare const UpdatePromptContentPromptsRequest2$outboundSchema: z.ZodType<UpdatePromptContentPromptsRequest2$Outbound, z.ZodTypeDef, UpdatePromptContentPromptsRequest2>;
|
|
2081
|
+
export declare function updatePromptContentPromptsRequest2ToJSON(updatePromptContentPromptsRequest2: UpdatePromptContentPromptsRequest2): string;
|
|
2082
|
+
export declare function updatePromptContentPromptsRequest2FromJSON(jsonString: string): SafeParseResult<UpdatePromptContentPromptsRequest2, SDKValidationError>;
|
|
1777
2083
|
/** @internal */
|
|
1778
2084
|
export declare const UpdatePromptMessagesPromptsContent$inboundSchema: z.ZodType<UpdatePromptMessagesPromptsContent, z.ZodTypeDef, unknown>;
|
|
1779
2085
|
/** @internal */
|
|
1780
|
-
export type UpdatePromptMessagesPromptsContent$Outbound = string | Array<
|
|
1781
|
-
type: "text";
|
|
1782
|
-
}) | components.ImageContentPartSchema$Outbound | components.AudioContentPartSchema$Outbound | UpdatePrompt24$Outbound>;
|
|
2086
|
+
export type UpdatePromptMessagesPromptsContent$Outbound = string | Array<UpdatePrompt2Prompts1$Outbound | components.ImageContentPartSchema$Outbound | components.AudioContentPartSchema$Outbound | UpdatePrompt24$Outbound>;
|
|
1783
2087
|
/** @internal */
|
|
1784
2088
|
export declare const UpdatePromptMessagesPromptsContent$outboundSchema: z.ZodType<UpdatePromptMessagesPromptsContent$Outbound, z.ZodTypeDef, UpdatePromptMessagesPromptsContent>;
|
|
1785
2089
|
export declare function updatePromptMessagesPromptsContentToJSON(updatePromptMessagesPromptsContent: UpdatePromptMessagesPromptsContent): string;
|
|
@@ -1790,18 +2094,51 @@ export declare const UpdatePromptMessagesUserMessage$inboundSchema: z.ZodType<Up
|
|
|
1790
2094
|
export type UpdatePromptMessagesUserMessage$Outbound = {
|
|
1791
2095
|
role: "user";
|
|
1792
2096
|
name?: string | undefined;
|
|
1793
|
-
content: string | Array<
|
|
1794
|
-
type: "text";
|
|
1795
|
-
}) | components.ImageContentPartSchema$Outbound | components.AudioContentPartSchema$Outbound | UpdatePrompt24$Outbound>;
|
|
2097
|
+
content: string | Array<UpdatePrompt2Prompts1$Outbound | components.ImageContentPartSchema$Outbound | components.AudioContentPartSchema$Outbound | UpdatePrompt24$Outbound>;
|
|
1796
2098
|
};
|
|
1797
2099
|
/** @internal */
|
|
1798
2100
|
export declare const UpdatePromptMessagesUserMessage$outboundSchema: z.ZodType<UpdatePromptMessagesUserMessage$Outbound, z.ZodTypeDef, UpdatePromptMessagesUserMessage>;
|
|
1799
2101
|
export declare function updatePromptMessagesUserMessageToJSON(updatePromptMessagesUserMessage: UpdatePromptMessagesUserMessage): string;
|
|
1800
2102
|
export declare function updatePromptMessagesUserMessageFromJSON(jsonString: string): SafeParseResult<UpdatePromptMessagesUserMessage, SDKValidationError>;
|
|
1801
2103
|
/** @internal */
|
|
2104
|
+
export declare const UpdatePromptContentType$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptContentType>;
|
|
2105
|
+
/** @internal */
|
|
2106
|
+
export declare const UpdatePromptContentType$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptContentType>;
|
|
2107
|
+
/** @internal */
|
|
2108
|
+
export declare const UpdatePromptContentPromptsType$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptContentPromptsType>;
|
|
2109
|
+
/** @internal */
|
|
2110
|
+
export declare const UpdatePromptContentPromptsType$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptContentPromptsType>;
|
|
2111
|
+
/** @internal */
|
|
2112
|
+
export declare const UpdatePromptContentTtl$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptContentTtl>;
|
|
2113
|
+
/** @internal */
|
|
2114
|
+
export declare const UpdatePromptContentTtl$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptContentTtl>;
|
|
2115
|
+
/** @internal */
|
|
2116
|
+
export declare const UpdatePromptContentCacheControl$inboundSchema: z.ZodType<UpdatePromptContentCacheControl, z.ZodTypeDef, unknown>;
|
|
2117
|
+
/** @internal */
|
|
2118
|
+
export type UpdatePromptContentCacheControl$Outbound = {
|
|
2119
|
+
type: string;
|
|
2120
|
+
ttl: string;
|
|
2121
|
+
};
|
|
2122
|
+
/** @internal */
|
|
2123
|
+
export declare const UpdatePromptContentCacheControl$outboundSchema: z.ZodType<UpdatePromptContentCacheControl$Outbound, z.ZodTypeDef, UpdatePromptContentCacheControl>;
|
|
2124
|
+
export declare function updatePromptContentCacheControlToJSON(updatePromptContentCacheControl: UpdatePromptContentCacheControl): string;
|
|
2125
|
+
export declare function updatePromptContentCacheControlFromJSON(jsonString: string): SafeParseResult<UpdatePromptContentCacheControl, SDKValidationError>;
|
|
2126
|
+
/** @internal */
|
|
2127
|
+
export declare const UpdatePromptContentPrompts2$inboundSchema: z.ZodType<UpdatePromptContentPrompts2, z.ZodTypeDef, unknown>;
|
|
2128
|
+
/** @internal */
|
|
2129
|
+
export type UpdatePromptContentPrompts2$Outbound = {
|
|
2130
|
+
type: string;
|
|
2131
|
+
text: string;
|
|
2132
|
+
cache_control?: UpdatePromptContentCacheControl$Outbound | undefined;
|
|
2133
|
+
};
|
|
2134
|
+
/** @internal */
|
|
2135
|
+
export declare const UpdatePromptContentPrompts2$outboundSchema: z.ZodType<UpdatePromptContentPrompts2$Outbound, z.ZodTypeDef, UpdatePromptContentPrompts2>;
|
|
2136
|
+
export declare function updatePromptContentPrompts2ToJSON(updatePromptContentPrompts2: UpdatePromptContentPrompts2): string;
|
|
2137
|
+
export declare function updatePromptContentPrompts2FromJSON(jsonString: string): SafeParseResult<UpdatePromptContentPrompts2, SDKValidationError>;
|
|
2138
|
+
/** @internal */
|
|
1802
2139
|
export declare const UpdatePromptMessagesContent$inboundSchema: z.ZodType<UpdatePromptMessagesContent, z.ZodTypeDef, unknown>;
|
|
1803
2140
|
/** @internal */
|
|
1804
|
-
export type UpdatePromptMessagesContent$Outbound = string | Array<
|
|
2141
|
+
export type UpdatePromptMessagesContent$Outbound = string | Array<UpdatePromptContentPrompts2$Outbound>;
|
|
1805
2142
|
/** @internal */
|
|
1806
2143
|
export declare const UpdatePromptMessagesContent$outboundSchema: z.ZodType<UpdatePromptMessagesContent$Outbound, z.ZodTypeDef, UpdatePromptMessagesContent>;
|
|
1807
2144
|
export declare function updatePromptMessagesContentToJSON(updatePromptMessagesContent: UpdatePromptMessagesContent): string;
|
|
@@ -1811,7 +2148,7 @@ export declare const UpdatePromptMessagesSystemMessage$inboundSchema: z.ZodType<
|
|
|
1811
2148
|
/** @internal */
|
|
1812
2149
|
export type UpdatePromptMessagesSystemMessage$Outbound = {
|
|
1813
2150
|
role: "system";
|
|
1814
|
-
content: string | Array<
|
|
2151
|
+
content: string | Array<UpdatePromptContentPrompts2$Outbound>;
|
|
1815
2152
|
name?: string | undefined;
|
|
1816
2153
|
};
|
|
1817
2154
|
/** @internal */
|
|
@@ -2086,54 +2423,54 @@ export declare const UpdatePrompt2PromptsFile$outboundSchema: z.ZodType<UpdatePr
|
|
|
2086
2423
|
export declare function updatePrompt2PromptsFileToJSON(updatePrompt2PromptsFile: UpdatePrompt2PromptsFile): string;
|
|
2087
2424
|
export declare function updatePrompt2PromptsFileFromJSON(jsonString: string): SafeParseResult<UpdatePrompt2PromptsFile, SDKValidationError>;
|
|
2088
2425
|
/** @internal */
|
|
2089
|
-
export declare const
|
|
2426
|
+
export declare const UpdatePrompt23$inboundSchema: z.ZodType<UpdatePrompt23, z.ZodTypeDef, unknown>;
|
|
2090
2427
|
/** @internal */
|
|
2091
|
-
export type
|
|
2428
|
+
export type UpdatePrompt23$Outbound = {
|
|
2092
2429
|
type: "file";
|
|
2093
2430
|
file: UpdatePrompt2PromptsFile$Outbound;
|
|
2094
2431
|
};
|
|
2095
2432
|
/** @internal */
|
|
2096
|
-
export declare const
|
|
2097
|
-
export declare function
|
|
2098
|
-
export declare function
|
|
2433
|
+
export declare const UpdatePrompt23$outboundSchema: z.ZodType<UpdatePrompt23$Outbound, z.ZodTypeDef, UpdatePrompt23>;
|
|
2434
|
+
export declare function updatePrompt23ToJSON(updatePrompt23: UpdatePrompt23): string;
|
|
2435
|
+
export declare function updatePrompt23FromJSON(jsonString: string): SafeParseResult<UpdatePrompt23, SDKValidationError>;
|
|
2099
2436
|
/** @internal */
|
|
2100
|
-
export declare const
|
|
2437
|
+
export declare const UpdatePrompt2ImageUrl$inboundSchema: z.ZodType<UpdatePrompt2ImageUrl, z.ZodTypeDef, unknown>;
|
|
2101
2438
|
/** @internal */
|
|
2102
|
-
export type
|
|
2439
|
+
export type UpdatePrompt2ImageUrl$Outbound = {
|
|
2103
2440
|
id?: string | undefined;
|
|
2104
2441
|
url: string;
|
|
2105
2442
|
detail?: string | undefined;
|
|
2106
2443
|
};
|
|
2107
2444
|
/** @internal */
|
|
2108
|
-
export declare const
|
|
2109
|
-
export declare function
|
|
2110
|
-
export declare function
|
|
2445
|
+
export declare const UpdatePrompt2ImageUrl$outboundSchema: z.ZodType<UpdatePrompt2ImageUrl$Outbound, z.ZodTypeDef, UpdatePrompt2ImageUrl>;
|
|
2446
|
+
export declare function updatePrompt2ImageUrlToJSON(updatePrompt2ImageUrl: UpdatePrompt2ImageUrl): string;
|
|
2447
|
+
export declare function updatePrompt2ImageUrlFromJSON(jsonString: string): SafeParseResult<UpdatePrompt2ImageUrl, SDKValidationError>;
|
|
2111
2448
|
/** @internal */
|
|
2112
2449
|
export declare const UpdatePrompt2Prompts2$inboundSchema: z.ZodType<UpdatePrompt2Prompts2, z.ZodTypeDef, unknown>;
|
|
2113
2450
|
/** @internal */
|
|
2114
2451
|
export type UpdatePrompt2Prompts2$Outbound = {
|
|
2115
2452
|
type: "image_url";
|
|
2116
|
-
image_url:
|
|
2453
|
+
image_url: UpdatePrompt2ImageUrl$Outbound;
|
|
2117
2454
|
};
|
|
2118
2455
|
/** @internal */
|
|
2119
2456
|
export declare const UpdatePrompt2Prompts2$outboundSchema: z.ZodType<UpdatePrompt2Prompts2$Outbound, z.ZodTypeDef, UpdatePrompt2Prompts2>;
|
|
2120
2457
|
export declare function updatePrompt2Prompts2ToJSON(updatePrompt2Prompts2: UpdatePrompt2Prompts2): string;
|
|
2121
2458
|
export declare function updatePrompt2Prompts2FromJSON(jsonString: string): SafeParseResult<UpdatePrompt2Prompts2, SDKValidationError>;
|
|
2122
2459
|
/** @internal */
|
|
2123
|
-
export declare const
|
|
2460
|
+
export declare const UpdatePrompt2PromptsResponse1$inboundSchema: z.ZodType<UpdatePrompt2PromptsResponse1, z.ZodTypeDef, unknown>;
|
|
2124
2461
|
/** @internal */
|
|
2125
|
-
export type
|
|
2462
|
+
export type UpdatePrompt2PromptsResponse1$Outbound = {
|
|
2126
2463
|
type: "text";
|
|
2127
2464
|
text: string;
|
|
2128
2465
|
};
|
|
2129
2466
|
/** @internal */
|
|
2130
|
-
export declare const
|
|
2131
|
-
export declare function
|
|
2132
|
-
export declare function
|
|
2467
|
+
export declare const UpdatePrompt2PromptsResponse1$outboundSchema: z.ZodType<UpdatePrompt2PromptsResponse1$Outbound, z.ZodTypeDef, UpdatePrompt2PromptsResponse1>;
|
|
2468
|
+
export declare function updatePrompt2PromptsResponse1ToJSON(updatePrompt2PromptsResponse1: UpdatePrompt2PromptsResponse1): string;
|
|
2469
|
+
export declare function updatePrompt2PromptsResponse1FromJSON(jsonString: string): SafeParseResult<UpdatePrompt2PromptsResponse1, SDKValidationError>;
|
|
2133
2470
|
/** @internal */
|
|
2134
2471
|
export declare const UpdatePromptContentPromptsResponse2$inboundSchema: z.ZodType<UpdatePromptContentPromptsResponse2, z.ZodTypeDef, unknown>;
|
|
2135
2472
|
/** @internal */
|
|
2136
|
-
export type UpdatePromptContentPromptsResponse2$Outbound =
|
|
2473
|
+
export type UpdatePromptContentPromptsResponse2$Outbound = UpdatePrompt2PromptsResponse1$Outbound | UpdatePrompt2Prompts2$Outbound | UpdatePrompt23$Outbound;
|
|
2137
2474
|
/** @internal */
|
|
2138
2475
|
export declare const UpdatePromptContentPromptsResponse2$outboundSchema: z.ZodType<UpdatePromptContentPromptsResponse2$Outbound, z.ZodTypeDef, UpdatePromptContentPromptsResponse2>;
|
|
2139
2476
|
export declare function updatePromptContentPromptsResponse2ToJSON(updatePromptContentPromptsResponse2: UpdatePromptContentPromptsResponse2): string;
|
|
@@ -2141,7 +2478,7 @@ export declare function updatePromptContentPromptsResponse2FromJSON(jsonString:
|
|
|
2141
2478
|
/** @internal */
|
|
2142
2479
|
export declare const UpdatePromptPromptsContent$inboundSchema: z.ZodType<UpdatePromptPromptsContent, z.ZodTypeDef, unknown>;
|
|
2143
2480
|
/** @internal */
|
|
2144
|
-
export type UpdatePromptPromptsContent$Outbound = string | Array<
|
|
2481
|
+
export type UpdatePromptPromptsContent$Outbound = string | Array<UpdatePrompt2PromptsResponse1$Outbound | UpdatePrompt2Prompts2$Outbound | UpdatePrompt23$Outbound>;
|
|
2145
2482
|
/** @internal */
|
|
2146
2483
|
export declare const UpdatePromptPromptsContent$outboundSchema: z.ZodType<UpdatePromptPromptsContent$Outbound, z.ZodTypeDef, UpdatePromptPromptsContent>;
|
|
2147
2484
|
export declare function updatePromptPromptsContentToJSON(updatePromptPromptsContent: UpdatePromptPromptsContent): string;
|
|
@@ -2179,9 +2516,9 @@ export declare const UpdatePromptPromptsResponseMessages$inboundSchema: z.ZodTyp
|
|
|
2179
2516
|
/** @internal */
|
|
2180
2517
|
export type UpdatePromptPromptsResponseMessages$Outbound = {
|
|
2181
2518
|
role: string;
|
|
2182
|
-
content: string | Array<
|
|
2519
|
+
content: string | Array<UpdatePrompt2PromptsResponse1$Outbound | UpdatePrompt2Prompts2$Outbound | UpdatePrompt23$Outbound> | null;
|
|
2183
2520
|
tool_calls?: Array<UpdatePromptPromptsToolCalls$Outbound> | undefined;
|
|
2184
|
-
tool_call_id?: string |
|
|
2521
|
+
tool_call_id?: string | undefined;
|
|
2185
2522
|
};
|
|
2186
2523
|
/** @internal */
|
|
2187
2524
|
export declare const UpdatePromptPromptsResponseMessages$outboundSchema: z.ZodType<UpdatePromptPromptsResponseMessages$Outbound, z.ZodTypeDef, UpdatePromptPromptsResponseMessages>;
|