@orq-ai/node 3.5.13 → 3.6.0-rc.11
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 +6 -0
- package/bin/mcp-server.js +4828 -608
- package/bin/mcp-server.js.map +44 -35
- package/docs/sdks/datasets/README.md +91 -4
- package/docs/sdks/deployments/README.md +89 -0
- package/docs/sdks/knowledge/README.md +81 -4
- package/docs/sdks/prompts/README.md +4 -4
- package/funcs/datasetsCreateExperiment.d.ts +16 -0
- package/funcs/datasetsCreateExperiment.d.ts.map +1 -0
- package/funcs/datasetsCreateExperiment.js +118 -0
- package/funcs/datasetsCreateExperiment.js.map +1 -0
- package/funcs/deploymentsCreateExperiment.d.ts +16 -0
- package/funcs/deploymentsCreateExperiment.d.ts.map +1 -0
- package/funcs/deploymentsCreateExperiment.js +118 -0
- package/funcs/deploymentsCreateExperiment.js.map +1 -0
- package/funcs/knowledgeSearch.d.ts +16 -0
- package/funcs/knowledgeSearch.d.ts.map +1 -0
- package/funcs/knowledgeSearch.js +118 -0
- package/funcs/knowledgeSearch.js.map +1 -0
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/lib/config.js.map +1 -1
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/mcp-server.js.map +1 -1
- package/mcp-server/server.d.ts.map +1 -1
- package/mcp-server/server.js +7 -1
- package/mcp-server/server.js.map +1 -1
- package/mcp-server/tools/datasetsCreateExperiment.d.ts +8 -0
- package/mcp-server/tools/datasetsCreateExperiment.d.ts.map +1 -0
- package/mcp-server/tools/datasetsCreateExperiment.js +64 -0
- package/mcp-server/tools/datasetsCreateExperiment.js.map +1 -0
- package/mcp-server/tools/deploymentsCreateExperiment.d.ts +8 -0
- package/mcp-server/tools/deploymentsCreateExperiment.d.ts.map +1 -0
- package/mcp-server/tools/deploymentsCreateExperiment.js +64 -0
- package/mcp-server/tools/deploymentsCreateExperiment.js.map +1 -0
- package/mcp-server/tools/knowledgeSearch.d.ts +8 -0
- package/mcp-server/tools/knowledgeSearch.d.ts.map +1 -0
- package/mcp-server/tools/knowledgeSearch.js +64 -0
- package/mcp-server/tools/knowledgeSearch.js.map +1 -0
- package/models/components/deployments.d.ts +1442 -67
- package/models/components/deployments.d.ts.map +1 -1
- package/models/components/deployments.js +1881 -126
- package/models/components/deployments.js.map +1 -1
- package/models/operations/bulkcreatedatapoints.js +2 -2
- package/models/operations/createchunk.d.ts +32 -17
- package/models/operations/createchunk.d.ts.map +1 -1
- package/models/operations/createchunk.js +30 -19
- package/models/operations/createchunk.js.map +1 -1
- package/models/operations/createcontact.js +2 -2
- package/models/operations/createdataset.js +2 -2
- package/models/operations/createdatasetexperiment.d.ts +140 -0
- package/models/operations/createdatasetexperiment.d.ts.map +1 -0
- package/models/operations/createdatasetexperiment.js +188 -0
- package/models/operations/createdatasetexperiment.js.map +1 -0
- package/models/operations/createdatasetitem.js +2 -2
- package/models/operations/createdatasource.js +2 -2
- package/models/operations/createdeploymentexperiment.d.ts +152 -0
- package/models/operations/createdeploymentexperiment.d.ts.map +1 -0
- package/models/operations/createdeploymentexperiment.js +189 -0
- package/models/operations/createdeploymentexperiment.js.map +1 -0
- package/models/operations/deploymentcreatemetric.d.ts +240 -28
- package/models/operations/deploymentcreatemetric.d.ts.map +1 -1
- package/models/operations/deploymentcreatemetric.js +236 -29
- package/models/operations/deploymentcreatemetric.js.map +1 -1
- package/models/operations/deploymentgetconfig.d.ts +1428 -53
- package/models/operations/deploymentgetconfig.d.ts.map +1 -1
- package/models/operations/deploymentgetconfig.js +1876 -120
- package/models/operations/deploymentgetconfig.js.map +1 -1
- package/models/operations/deploymentinvoke.d.ts +34 -4
- package/models/operations/deploymentinvoke.d.ts.map +1 -1
- package/models/operations/deploymentinvoke.js +30 -4
- package/models/operations/deploymentinvoke.js.map +1 -1
- package/models/operations/deploymentstream.d.ts +1425 -50
- package/models/operations/deploymentstream.d.ts.map +1 -1
- package/models/operations/deploymentstream.js +1840 -88
- 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 +15 -15
- package/models/operations/fileupload.d.ts.map +1 -1
- package/models/operations/fileupload.js +20 -21
- package/models/operations/fileupload.js.map +1 -1
- package/models/operations/getonechunk.d.ts +24 -3
- package/models/operations/getonechunk.d.ts.map +1 -1
- package/models/operations/getonechunk.js +26 -3
- package/models/operations/getonechunk.js.map +1 -1
- package/models/operations/index.d.ts +3 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +3 -0
- package/models/operations/index.js.map +1 -1
- package/models/operations/listchunks.d.ts +24 -3
- package/models/operations/listchunks.d.ts.map +1 -1
- package/models/operations/listchunks.js +26 -3
- package/models/operations/listchunks.js.map +1 -1
- package/models/operations/listdatasetdatapoints.js +2 -2
- package/models/operations/listdatasets.js +2 -2
- package/models/operations/listdatasources.js +2 -2
- package/models/operations/retrievedatapoint.js +2 -2
- package/models/operations/retrievedataset.js +2 -2
- package/models/operations/retrievedatasource.js +2 -2
- package/models/operations/searchknowledge.d.ts +1379 -0
- package/models/operations/searchknowledge.d.ts.map +1 -0
- package/models/operations/searchknowledge.js +1817 -0
- package/models/operations/searchknowledge.js.map +1 -0
- package/models/operations/updatechunk.d.ts +32 -17
- package/models/operations/updatechunk.d.ts.map +1 -1
- package/models/operations/updatechunk.js +30 -19
- package/models/operations/updatechunk.js.map +1 -1
- package/models/operations/updatedatapoint.js +2 -2
- package/models/operations/updatedataset.js +2 -2
- package/models/operations/updatedatasource.js +2 -2
- package/package.json +3 -2
- package/sdk/datasets.d.ts +7 -0
- package/sdk/datasets.d.ts.map +1 -1
- package/sdk/datasets.js +10 -0
- package/sdk/datasets.js.map +1 -1
- package/sdk/deployments.d.ts +7 -0
- package/sdk/deployments.d.ts.map +1 -1
- package/sdk/deployments.js +10 -0
- package/sdk/deployments.js.map +1 -1
- package/sdk/knowledge.d.ts +7 -0
- package/sdk/knowledge.d.ts.map +1 -1
- package/sdk/knowledge.js +10 -0
- package/sdk/knowledge.js.map +1 -1
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +7 -1
- package/src/models/components/deployments.ts +3655 -165
- package/src/models/operations/bulkcreatedatapoints.ts +2 -2
- package/src/models/operations/createchunk.ts +65 -35
- package/src/models/operations/createcontact.ts +2 -2
- package/src/models/operations/createdataset.ts +2 -2
- package/src/models/operations/createdatasetitem.ts +2 -2
- package/src/models/operations/createdatasource.ts +2 -2
- package/src/models/operations/deploymentcreatemetric.ts +517 -40
- package/src/models/operations/deploymentgetconfig.ts +3656 -118
- package/src/models/operations/deploymentinvoke.ts +64 -8
- package/src/models/operations/deploymentstream.ts +3997 -116
- package/src/models/operations/fileget.ts +2 -2
- package/src/models/operations/filelist.ts +2 -2
- package/src/models/operations/fileupload.ts +37 -34
- package/src/models/operations/getonechunk.ts +55 -5
- package/src/models/operations/index.ts +3 -0
- package/src/models/operations/listchunks.ts +55 -5
- package/src/models/operations/listdatasetdatapoints.ts +2 -2
- package/src/models/operations/listdatasets.ts +2 -2
- package/src/models/operations/listdatasources.ts +2 -2
- package/src/models/operations/retrievedatapoint.ts +2 -2
- package/src/models/operations/retrievedataset.ts +2 -2
- package/src/models/operations/retrievedatasource.ts +2 -2
- package/src/models/operations/updatechunk.ts +65 -35
- package/src/models/operations/updatedatapoint.ts +2 -2
- package/src/models/operations/updatedataset.ts +2 -2
- package/src/models/operations/updatedatasource.ts +2 -2
- package/src/sdk/datasets.ts +18 -0
- package/src/sdk/deployments.ts +18 -0
- package/src/sdk/knowledge.ts +18 -0
- package/packages/orq-rc/FUNCTIONS.md +0 -106
- package/packages/orq-rc/README.md +0 -707
- package/packages/orq-rc/RUNTIMES.md +0 -48
- package/packages/orq-rc/docs/sdks/contacts/README.md +0 -84
- package/packages/orq-rc/docs/sdks/datasets/README.md +0 -1027
- package/packages/orq-rc/docs/sdks/deployments/README.md +0 -405
- package/packages/orq-rc/docs/sdks/feedback/README.md +0 -92
- package/packages/orq-rc/docs/sdks/files/README.md +0 -311
- package/packages/orq-rc/docs/sdks/knowledge/README.md +0 -1273
- package/packages/orq-rc/docs/sdks/metrics/README.md +0 -86
- package/packages/orq-rc/docs/sdks/models/README.md +0 -79
- package/packages/orq-rc/docs/sdks/orq/README.md +0 -10
- package/packages/orq-rc/docs/sdks/prompts/README.md +0 -576
- package/packages/orq-rc/docs/sdks/remoteconfigs/README.md +0 -80
- package/packages/orq-rc/jsr.json +0 -28
- package/packages/orq-rc/package-lock.json +0 -3217
- package/packages/orq-rc/package.json +0 -45
- package/packages/orq-rc/src/core.ts +0 -13
- package/packages/orq-rc/src/funcs/contactsCreate.ts +0 -154
- package/packages/orq-rc/src/funcs/datasetsClear.ts +0 -161
- package/packages/orq-rc/src/funcs/datasetsCreate.ts +0 -159
- package/packages/orq-rc/src/funcs/datasetsCreateDatapoint.ts +0 -161
- package/packages/orq-rc/src/funcs/datasetsCreateDatapoints.ts +0 -165
- package/packages/orq-rc/src/funcs/datasetsDelete.ts +0 -161
- package/packages/orq-rc/src/funcs/datasetsDeleteDatapoint.ts +0 -176
- package/packages/orq-rc/src/funcs/datasetsList.ts +0 -161
- package/packages/orq-rc/src/funcs/datasetsListDatapoints.ts +0 -168
- package/packages/orq-rc/src/funcs/datasetsRetrieve.ts +0 -169
- package/packages/orq-rc/src/funcs/datasetsRetrieveDatapoint.ts +0 -175
- package/packages/orq-rc/src/funcs/datasetsUpdate.ts +0 -170
- package/packages/orq-rc/src/funcs/datasetsUpdateDatapoint.ts +0 -173
- package/packages/orq-rc/src/funcs/deploymentsGetConfig.ts +0 -162
- package/packages/orq-rc/src/funcs/deploymentsInvoke.ts +0 -170
- package/packages/orq-rc/src/funcs/deploymentsList.ts +0 -170
- package/packages/orq-rc/src/funcs/deploymentsMetricsCreate.ts +0 -162
- package/packages/orq-rc/src/funcs/deploymentsStream.ts +0 -178
- package/packages/orq-rc/src/funcs/feedbackCreate.ts +0 -154
- package/packages/orq-rc/src/funcs/filesCreate.ts +0 -174
- package/packages/orq-rc/src/funcs/filesDelete.ts +0 -158
- package/packages/orq-rc/src/funcs/filesGet.ts +0 -160
- package/packages/orq-rc/src/funcs/filesList.ts +0 -161
- package/packages/orq-rc/src/funcs/knowledgeCreate.ts +0 -152
- package/packages/orq-rc/src/funcs/knowledgeCreateChunks.ts +0 -165
- package/packages/orq-rc/src/funcs/knowledgeCreateDatasource.ts +0 -160
- package/packages/orq-rc/src/funcs/knowledgeDelete.ts +0 -161
- package/packages/orq-rc/src/funcs/knowledgeDeleteChunk.ts +0 -168
- package/packages/orq-rc/src/funcs/knowledgeDeleteDatasource.ts +0 -167
- package/packages/orq-rc/src/funcs/knowledgeList.ts +0 -163
- package/packages/orq-rc/src/funcs/knowledgeListChunks.ts +0 -172
- package/packages/orq-rc/src/funcs/knowledgeListDatasources.ts +0 -168
- package/packages/orq-rc/src/funcs/knowledgeRetrieve.ts +0 -160
- package/packages/orq-rc/src/funcs/knowledgeRetrieveChunk.ts +0 -167
- package/packages/orq-rc/src/funcs/knowledgeRetrieveDatasource.ts +0 -163
- package/packages/orq-rc/src/funcs/knowledgeUpdate.ts +0 -158
- package/packages/orq-rc/src/funcs/knowledgeUpdateChunk.ts +0 -168
- package/packages/orq-rc/src/funcs/knowledgeUpdateDatasource.ts +0 -164
- package/packages/orq-rc/src/funcs/modelsList.ts +0 -136
- package/packages/orq-rc/src/funcs/promptsCreate.ts +0 -154
- package/packages/orq-rc/src/funcs/promptsDelete.ts +0 -158
- package/packages/orq-rc/src/funcs/promptsGetVersion.ts +0 -175
- package/packages/orq-rc/src/funcs/promptsList.ts +0 -161
- package/packages/orq-rc/src/funcs/promptsListVersions.ts +0 -167
- package/packages/orq-rc/src/funcs/promptsRetrieve.ts +0 -160
- package/packages/orq-rc/src/funcs/promptsUpdate.ts +0 -167
- package/packages/orq-rc/src/funcs/remoteconfigsRetrieve.ts +0 -155
- package/packages/orq-rc/src/hooks/global.ts +0 -44
- package/packages/orq-rc/src/hooks/hooks.ts +0 -132
- package/packages/orq-rc/src/hooks/index.ts +0 -6
- package/packages/orq-rc/src/hooks/registration.ts +0 -15
- package/packages/orq-rc/src/hooks/types.ts +0 -110
- package/packages/orq-rc/src/index.ts +0 -7
- package/packages/orq-rc/src/lib/base64.ts +0 -37
- package/packages/orq-rc/src/lib/config.ts +0 -70
- package/packages/orq-rc/src/lib/dlv.ts +0 -53
- package/packages/orq-rc/src/lib/encodings.ts +0 -483
- package/packages/orq-rc/src/lib/env.ts +0 -73
- package/packages/orq-rc/src/lib/event-streams.ts +0 -264
- package/packages/orq-rc/src/lib/files.ts +0 -40
- package/packages/orq-rc/src/lib/http.ts +0 -323
- package/packages/orq-rc/src/lib/is-plain-object.ts +0 -43
- package/packages/orq-rc/src/lib/logger.ts +0 -9
- package/packages/orq-rc/src/lib/matchers.ts +0 -345
- package/packages/orq-rc/src/lib/primitives.ts +0 -150
- package/packages/orq-rc/src/lib/retries.ts +0 -218
- package/packages/orq-rc/src/lib/schemas.ts +0 -91
- package/packages/orq-rc/src/lib/sdks.ts +0 -401
- package/packages/orq-rc/src/lib/security.ts +0 -261
- package/packages/orq-rc/src/lib/url.ts +0 -33
- package/packages/orq-rc/src/mcp-server/cli/start/command.ts +0 -125
- package/packages/orq-rc/src/mcp-server/cli/start/impl.ts +0 -140
- package/packages/orq-rc/src/mcp-server/cli.ts +0 -13
- package/packages/orq-rc/src/mcp-server/console-logger.ts +0 -71
- package/packages/orq-rc/src/mcp-server/extensions.ts +0 -17
- package/packages/orq-rc/src/mcp-server/mcp-server.ts +0 -26
- package/packages/orq-rc/src/mcp-server/prompts.ts +0 -117
- package/packages/orq-rc/src/mcp-server/resources.ts +0 -172
- package/packages/orq-rc/src/mcp-server/scopes.ts +0 -7
- package/packages/orq-rc/src/mcp-server/server.ts +0 -163
- package/packages/orq-rc/src/mcp-server/shared.ts +0 -75
- package/packages/orq-rc/src/mcp-server/tools/contactsCreate.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/datasetsClear.ts +0 -35
- package/packages/orq-rc/src/mcp-server/tools/datasetsCreate.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/datasetsCreateDatapoint.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/datasetsCreateDatapoints.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/datasetsDelete.ts +0 -35
- package/packages/orq-rc/src/mcp-server/tools/datasetsDeleteDatapoint.ts +0 -35
- package/packages/orq-rc/src/mcp-server/tools/datasetsList.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/datasetsListDatapoints.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/datasetsRetrieve.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/datasetsRetrieveDatapoint.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/datasetsUpdate.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/datasetsUpdateDatapoint.ts +0 -35
- package/packages/orq-rc/src/mcp-server/tools/deploymentsGetConfig.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/deploymentsInvoke.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/deploymentsList.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/deploymentsMetricsCreate.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/deploymentsStream.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/feedbackCreate.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/filesCreate.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/filesDelete.ts +0 -33
- package/packages/orq-rc/src/mcp-server/tools/filesGet.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/filesList.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/knowledgeCreate.ts +0 -35
- package/packages/orq-rc/src/mcp-server/tools/knowledgeCreateChunks.ts +0 -35
- package/packages/orq-rc/src/mcp-server/tools/knowledgeCreateDatasource.ts +0 -35
- package/packages/orq-rc/src/mcp-server/tools/knowledgeDelete.ts +0 -35
- package/packages/orq-rc/src/mcp-server/tools/knowledgeDeleteChunk.ts +0 -33
- package/packages/orq-rc/src/mcp-server/tools/knowledgeDeleteDatasource.ts +0 -35
- package/packages/orq-rc/src/mcp-server/tools/knowledgeList.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/knowledgeListChunks.ts +0 -35
- package/packages/orq-rc/src/mcp-server/tools/knowledgeListDatasources.ts +0 -35
- package/packages/orq-rc/src/mcp-server/tools/knowledgeRetrieve.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/knowledgeRetrieveChunk.ts +0 -35
- package/packages/orq-rc/src/mcp-server/tools/knowledgeRetrieveDatasource.ts +0 -35
- package/packages/orq-rc/src/mcp-server/tools/knowledgeUpdate.ts +0 -35
- package/packages/orq-rc/src/mcp-server/tools/knowledgeUpdateChunk.ts +0 -35
- package/packages/orq-rc/src/mcp-server/tools/knowledgeUpdateDatasource.ts +0 -35
- package/packages/orq-rc/src/mcp-server/tools/modelsList.ts +0 -30
- package/packages/orq-rc/src/mcp-server/tools/promptsCreate.ts +0 -35
- package/packages/orq-rc/src/mcp-server/tools/promptsDelete.ts +0 -33
- package/packages/orq-rc/src/mcp-server/tools/promptsGetVersion.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/promptsList.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/promptsListVersions.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/promptsRetrieve.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/promptsUpdate.ts +0 -35
- package/packages/orq-rc/src/mcp-server/tools/remoteconfigsRetrieve.ts +0 -36
- package/packages/orq-rc/src/mcp-server/tools.ts +0 -129
- package/packages/orq-rc/src/models/components/deployments.ts +0 -7749
- package/packages/orq-rc/src/models/components/index.ts +0 -6
- package/packages/orq-rc/src/models/components/security.ts +0 -71
- package/packages/orq-rc/src/models/errors/apierror.ts +0 -27
- package/packages/orq-rc/src/models/errors/getpromptversion.ts +0 -71
- package/packages/orq-rc/src/models/errors/honoapierror.ts +0 -82
- package/packages/orq-rc/src/models/errors/httpclienterrors.ts +0 -62
- package/packages/orq-rc/src/models/errors/index.ts +0 -10
- package/packages/orq-rc/src/models/errors/sdkvalidationerror.ts +0 -97
- package/packages/orq-rc/src/models/errors/updateprompt.ts +0 -71
- package/packages/orq-rc/src/models/operations/bulkcreatedatapoints.ts +0 -1828
- package/packages/orq-rc/src/models/operations/cleardataset.ts +0 -75
- package/packages/orq-rc/src/models/operations/createchunk.ts +0 -432
- package/packages/orq-rc/src/models/operations/createcontact.ts +0 -256
- package/packages/orq-rc/src/models/operations/createdataset.ts +0 -296
- package/packages/orq-rc/src/models/operations/createdatasetitem.ts +0 -1752
- package/packages/orq-rc/src/models/operations/createdatasource.ts +0 -852
- package/packages/orq-rc/src/models/operations/createfeedback.ts +0 -286
- package/packages/orq-rc/src/models/operations/createknowledge.ts +0 -846
- package/packages/orq-rc/src/models/operations/createprompt.ts +0 -3691
- package/packages/orq-rc/src/models/operations/deletechunk.ts +0 -96
- package/packages/orq-rc/src/models/operations/deletedatapoint.ts +0 -81
- package/packages/orq-rc/src/models/operations/deletedataset.ts +0 -75
- package/packages/orq-rc/src/models/operations/deletedatasource.ts +0 -87
- package/packages/orq-rc/src/models/operations/deleteknowledge.ts +0 -78
- package/packages/orq-rc/src/models/operations/deleteprompt.ts +0 -69
- package/packages/orq-rc/src/models/operations/deploymentcreatemetric.ts +0 -5435
- package/packages/orq-rc/src/models/operations/deploymentgetconfig.ts +0 -9694
- package/packages/orq-rc/src/models/operations/deploymentinvoke.ts +0 -1255
- package/packages/orq-rc/src/models/operations/deployments.ts +0 -2128
- package/packages/orq-rc/src/models/operations/deploymentstream.ts +0 -9946
- package/packages/orq-rc/src/models/operations/filedelete.ts +0 -78
- package/packages/orq-rc/src/models/operations/fileget.ts +0 -223
- package/packages/orq-rc/src/models/operations/filelist.ts +0 -337
- package/packages/orq-rc/src/models/operations/fileupload.ts +0 -327
- package/packages/orq-rc/src/models/operations/getallprompts.ts +0 -2100
- package/packages/orq-rc/src/models/operations/getonechunk.ts +0 -315
- package/packages/orq-rc/src/models/operations/getoneknowledge.ts +0 -537
- package/packages/orq-rc/src/models/operations/getoneprompt.ts +0 -1966
- package/packages/orq-rc/src/models/operations/getpromptversion.ts +0 -1962
- package/packages/orq-rc/src/models/operations/index.ts +0 -54
- package/packages/orq-rc/src/models/operations/listchunks.ts +0 -494
- package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +0 -1077
- package/packages/orq-rc/src/models/operations/listdatasets.ts +0 -406
- package/packages/orq-rc/src/models/operations/listdatasources.ts +0 -447
- package/packages/orq-rc/src/models/operations/listknowledgebases.ts +0 -663
- package/packages/orq-rc/src/models/operations/listmodels.ts +0 -273
- package/packages/orq-rc/src/models/operations/listpromptversions.ts +0 -2096
- package/packages/orq-rc/src/models/operations/remoteconfigsgetconfig.ts +0 -190
- package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +0 -930
- package/packages/orq-rc/src/models/operations/retrievedataset.ts +0 -288
- package/packages/orq-rc/src/models/operations/retrievedatasource.ts +0 -273
- package/packages/orq-rc/src/models/operations/updatechunk.ts +0 -448
- package/packages/orq-rc/src/models/operations/updatedatapoint.ts +0 -1741
- package/packages/orq-rc/src/models/operations/updatedataset.ts +0 -393
- package/packages/orq-rc/src/models/operations/updatedatasource.ts +0 -345
- package/packages/orq-rc/src/models/operations/updateknowledge.ts +0 -980
- package/packages/orq-rc/src/models/operations/updateprompt.ts +0 -3873
- package/packages/orq-rc/src/sdk/contacts.ts +0 -27
- package/packages/orq-rc/src/sdk/datasets.ts +0 -240
- package/packages/orq-rc/src/sdk/deployments.ts +0 -107
- package/packages/orq-rc/src/sdk/feedback.ts +0 -27
- package/packages/orq-rc/src/sdk/files.ts +0 -78
- package/packages/orq-rc/src/sdk/index.ts +0 -5
- package/packages/orq-rc/src/sdk/knowledge.ts +0 -264
- package/packages/orq-rc/src/sdk/metrics.ts +0 -27
- package/packages/orq-rc/src/sdk/models.ts +0 -25
- package/packages/orq-rc/src/sdk/prompts.ts +0 -126
- package/packages/orq-rc/src/sdk/remoteconfigs.ts +0 -24
- package/packages/orq-rc/src/sdk/sdk.ts +0 -61
- package/packages/orq-rc/src/types/async.ts +0 -68
- package/packages/orq-rc/src/types/blobs.ts +0 -31
- package/packages/orq-rc/src/types/constdatetime.ts +0 -15
- package/packages/orq-rc/src/types/enums.ts +0 -16
- package/packages/orq-rc/src/types/fp.ts +0 -50
- package/packages/orq-rc/src/types/index.ts +0 -11
- package/packages/orq-rc/src/types/operations.ts +0 -105
- package/packages/orq-rc/src/types/rfcdate.ts +0 -54
- package/packages/orq-rc/src/types/streams.ts +0 -21
- package/packages/orq-rc/tsconfig.json +0 -41
- /package/{packages/orq-rc/src → src}/funcs/datasetsCreateExperiment.ts +0 -0
- /package/{packages/orq-rc/src → src}/funcs/deploymentsCreateExperiment.ts +0 -0
- /package/{packages/orq-rc/src → src}/funcs/knowledgeSearch.ts +0 -0
- /package/{packages/orq-rc/src → src}/mcp-server/tools/datasetsCreateExperiment.ts +0 -0
- /package/{packages/orq-rc/src → src}/mcp-server/tools/deploymentsCreateExperiment.ts +0 -0
- /package/{packages/orq-rc/src → src}/mcp-server/tools/knowledgeSearch.ts +0 -0
- /package/{packages/orq-rc/src → src}/models/operations/createdatasetexperiment.ts +0 -0
- /package/{packages/orq-rc/src → src}/models/operations/createdeploymentexperiment.ts +0 -0
- /package/{packages/orq-rc/src → src}/models/operations/searchknowledge.ts +0 -0
|
@@ -47,21 +47,21 @@ export type ToolMessage = {
|
|
|
47
47
|
/**
|
|
48
48
|
* The type of the content part.
|
|
49
49
|
*/
|
|
50
|
-
export const
|
|
50
|
+
export const Deployments2PrefixMessages4ContentType = {
|
|
51
51
|
Refusal: "refusal",
|
|
52
52
|
} as const;
|
|
53
53
|
/**
|
|
54
54
|
* The type of the content part.
|
|
55
55
|
*/
|
|
56
|
-
export type
|
|
57
|
-
typeof
|
|
56
|
+
export type Deployments2PrefixMessages4ContentType = ClosedEnum<
|
|
57
|
+
typeof Deployments2PrefixMessages4ContentType
|
|
58
58
|
>;
|
|
59
59
|
|
|
60
60
|
export type RefusalContentPart = {
|
|
61
61
|
/**
|
|
62
62
|
* The type of the content part.
|
|
63
63
|
*/
|
|
64
|
-
type:
|
|
64
|
+
type: Deployments2PrefixMessages4ContentType;
|
|
65
65
|
/**
|
|
66
66
|
* The refusal message generated by the model.
|
|
67
67
|
*/
|
|
@@ -71,21 +71,21 @@ export type RefusalContentPart = {
|
|
|
71
71
|
/**
|
|
72
72
|
* The type of the content part.
|
|
73
73
|
*/
|
|
74
|
-
export const
|
|
74
|
+
export const Deployments2PrefixMessages4Type = {
|
|
75
75
|
Text: "text",
|
|
76
76
|
} as const;
|
|
77
77
|
/**
|
|
78
78
|
* The type of the content part.
|
|
79
79
|
*/
|
|
80
|
-
export type
|
|
81
|
-
typeof
|
|
80
|
+
export type Deployments2PrefixMessages4Type = ClosedEnum<
|
|
81
|
+
typeof Deployments2PrefixMessages4Type
|
|
82
82
|
>;
|
|
83
83
|
|
|
84
84
|
export type TextContentPart = {
|
|
85
85
|
/**
|
|
86
86
|
* The type of the content part.
|
|
87
87
|
*/
|
|
88
|
-
type:
|
|
88
|
+
type: Deployments2PrefixMessages4Type;
|
|
89
89
|
/**
|
|
90
90
|
* The text content.
|
|
91
91
|
*/
|
|
@@ -187,6 +187,18 @@ export type AssistantMessage = {
|
|
|
187
187
|
* The tool calls generated by the model, such as function calls.
|
|
188
188
|
*/
|
|
189
189
|
toolCalls?: Array<ToolCalls> | undefined;
|
|
190
|
+
/**
|
|
191
|
+
* Internal thought process of the model
|
|
192
|
+
*/
|
|
193
|
+
reasoning?: string | undefined;
|
|
194
|
+
/**
|
|
195
|
+
* The signature holds a cryptographic token which verifies that the thinking block was generated by the model, and is verified when thinking is part of a multiturn conversation. This value should not be modified and should always be sent to the API when the reasoning is redacted. Currently only supported by `Anthropic`.
|
|
196
|
+
*/
|
|
197
|
+
reasoningSignature?: string | undefined;
|
|
198
|
+
/**
|
|
199
|
+
* Occasionally the model's internal reasoning will be flagged by the safety systems of the provider. When this occurs, the provider will encrypt the reasoning. These redacted reasoning is decrypted when passed back to the API, allowing the model to continue its response without losing context.
|
|
200
|
+
*/
|
|
201
|
+
redactedReasoning?: string | undefined;
|
|
190
202
|
};
|
|
191
203
|
|
|
192
204
|
/**
|
|
@@ -202,6 +214,38 @@ export type DeploymentsPrefixMessagesRole = ClosedEnum<
|
|
|
202
214
|
typeof DeploymentsPrefixMessagesRole
|
|
203
215
|
>;
|
|
204
216
|
|
|
217
|
+
/**
|
|
218
|
+
* The type of the content part. Always `file`.
|
|
219
|
+
*/
|
|
220
|
+
export const Deployments2PrefixMessagesType = {
|
|
221
|
+
File: "file",
|
|
222
|
+
} as const;
|
|
223
|
+
/**
|
|
224
|
+
* The type of the content part. Always `file`.
|
|
225
|
+
*/
|
|
226
|
+
export type Deployments2PrefixMessagesType = ClosedEnum<
|
|
227
|
+
typeof Deployments2PrefixMessagesType
|
|
228
|
+
>;
|
|
229
|
+
|
|
230
|
+
export type FileT = {
|
|
231
|
+
/**
|
|
232
|
+
* The base64 encoded file data, used when passing the file to the model as a string.
|
|
233
|
+
*/
|
|
234
|
+
fileData: string;
|
|
235
|
+
/**
|
|
236
|
+
* The name of the file, used when passing the file to the model as a string.
|
|
237
|
+
*/
|
|
238
|
+
filename?: string | undefined;
|
|
239
|
+
};
|
|
240
|
+
|
|
241
|
+
export type Four = {
|
|
242
|
+
/**
|
|
243
|
+
* The type of the content part. Always `file`.
|
|
244
|
+
*/
|
|
245
|
+
type: Deployments2PrefixMessagesType;
|
|
246
|
+
file: FileT;
|
|
247
|
+
};
|
|
248
|
+
|
|
205
249
|
export const Deployments2Type = {
|
|
206
250
|
InputAudio: "input_audio",
|
|
207
251
|
} as const;
|
|
@@ -230,7 +274,7 @@ export type InputAudio = {
|
|
|
230
274
|
format: Format;
|
|
231
275
|
};
|
|
232
276
|
|
|
233
|
-
export type
|
|
277
|
+
export type Deployments23 = {
|
|
234
278
|
type: Deployments2Type;
|
|
235
279
|
inputAudio: InputAudio;
|
|
236
280
|
};
|
|
@@ -276,17 +320,19 @@ export type Deployments2PrefixMessages3Type = ClosedEnum<
|
|
|
276
320
|
typeof Deployments2PrefixMessages3Type
|
|
277
321
|
>;
|
|
278
322
|
|
|
279
|
-
export type
|
|
323
|
+
export type Deployments21 = {
|
|
280
324
|
type: Deployments2PrefixMessages3Type;
|
|
281
325
|
text: string;
|
|
282
326
|
};
|
|
283
327
|
|
|
284
|
-
export type Two =
|
|
328
|
+
export type Two = Deployments21 | Two2 | Deployments23 | Four;
|
|
285
329
|
|
|
286
330
|
/**
|
|
287
331
|
* The contents of the user message.
|
|
288
332
|
*/
|
|
289
|
-
export type Content =
|
|
333
|
+
export type Content =
|
|
334
|
+
| string
|
|
335
|
+
| Array<Deployments21 | Two2 | Deployments23 | Four>;
|
|
290
336
|
|
|
291
337
|
export type UserMessage = {
|
|
292
338
|
/**
|
|
@@ -300,7 +346,7 @@ export type UserMessage = {
|
|
|
300
346
|
/**
|
|
301
347
|
* The contents of the user message.
|
|
302
348
|
*/
|
|
303
|
-
content: string | Array<
|
|
349
|
+
content: string | Array<Deployments21 | Two2 | Deployments23 | Four>;
|
|
304
350
|
};
|
|
305
351
|
|
|
306
352
|
/**
|
|
@@ -540,6 +586,18 @@ export type MessagesAssistantMessage = {
|
|
|
540
586
|
* The tool calls generated by the model, such as function calls.
|
|
541
587
|
*/
|
|
542
588
|
toolCalls?: Array<MessagesToolCalls> | undefined;
|
|
589
|
+
/**
|
|
590
|
+
* Internal thought process of the model
|
|
591
|
+
*/
|
|
592
|
+
reasoning?: string | undefined;
|
|
593
|
+
/**
|
|
594
|
+
* The signature holds a cryptographic token which verifies that the thinking block was generated by the model, and is verified when thinking is part of a multiturn conversation. This value should not be modified and should always be sent to the API when the reasoning is redacted. Currently only supported by `Anthropic`.
|
|
595
|
+
*/
|
|
596
|
+
reasoningSignature?: string | undefined;
|
|
597
|
+
/**
|
|
598
|
+
* Occasionally the model's internal reasoning will be flagged by the safety systems of the provider. When this occurs, the provider will encrypt the reasoning. These redacted reasoning is decrypted when passed back to the API, allowing the model to continue its response without losing context.
|
|
599
|
+
*/
|
|
600
|
+
redactedReasoning?: string | undefined;
|
|
543
601
|
};
|
|
544
602
|
|
|
545
603
|
/**
|
|
@@ -555,6 +613,38 @@ export type DeploymentsMessages3Role = ClosedEnum<
|
|
|
555
613
|
typeof DeploymentsMessages3Role
|
|
556
614
|
>;
|
|
557
615
|
|
|
616
|
+
/**
|
|
617
|
+
* The type of the content part. Always `file`.
|
|
618
|
+
*/
|
|
619
|
+
export const Deployments2Messages3Content4Type = {
|
|
620
|
+
File: "file",
|
|
621
|
+
} as const;
|
|
622
|
+
/**
|
|
623
|
+
* The type of the content part. Always `file`.
|
|
624
|
+
*/
|
|
625
|
+
export type Deployments2Messages3Content4Type = ClosedEnum<
|
|
626
|
+
typeof Deployments2Messages3Content4Type
|
|
627
|
+
>;
|
|
628
|
+
|
|
629
|
+
export type TwoFile = {
|
|
630
|
+
/**
|
|
631
|
+
* The base64 encoded file data, used when passing the file to the model as a string.
|
|
632
|
+
*/
|
|
633
|
+
fileData: string;
|
|
634
|
+
/**
|
|
635
|
+
* The name of the file, used when passing the file to the model as a string.
|
|
636
|
+
*/
|
|
637
|
+
filename?: string | undefined;
|
|
638
|
+
};
|
|
639
|
+
|
|
640
|
+
export type Two4 = {
|
|
641
|
+
/**
|
|
642
|
+
* The type of the content part. Always `file`.
|
|
643
|
+
*/
|
|
644
|
+
type: Deployments2Messages3Content4Type;
|
|
645
|
+
file: TwoFile;
|
|
646
|
+
};
|
|
647
|
+
|
|
558
648
|
export const Deployments2Messages3ContentType = {
|
|
559
649
|
InputAudio: "input_audio",
|
|
560
650
|
} as const;
|
|
@@ -638,12 +728,14 @@ export type Two1 = {
|
|
|
638
728
|
text: string;
|
|
639
729
|
};
|
|
640
730
|
|
|
641
|
-
export type DeploymentsContent2 = Two1 | Deployments22 | Two3;
|
|
731
|
+
export type DeploymentsContent2 = Two1 | Deployments22 | Two3 | Two4;
|
|
642
732
|
|
|
643
733
|
/**
|
|
644
734
|
* The contents of the user message.
|
|
645
735
|
*/
|
|
646
|
-
export type MessagesContent =
|
|
736
|
+
export type MessagesContent =
|
|
737
|
+
| string
|
|
738
|
+
| Array<Two1 | Deployments22 | Two3 | Two4>;
|
|
647
739
|
|
|
648
740
|
export type MessagesUserMessage = {
|
|
649
741
|
/**
|
|
@@ -657,7 +749,7 @@ export type MessagesUserMessage = {
|
|
|
657
749
|
/**
|
|
658
750
|
* The contents of the user message.
|
|
659
751
|
*/
|
|
660
|
-
content: string | Array<Two1 | Deployments22 | Two3>;
|
|
752
|
+
content: string | Array<Two1 | Deployments22 | Two3 | Two4>;
|
|
661
753
|
};
|
|
662
754
|
|
|
663
755
|
/**
|
|
@@ -772,6 +864,302 @@ export type Thread = {
|
|
|
772
864
|
tags?: Array<string> | undefined;
|
|
773
865
|
};
|
|
774
866
|
|
|
867
|
+
/**
|
|
868
|
+
* Exists
|
|
869
|
+
*/
|
|
870
|
+
export type DollarOrDollarExists = {
|
|
871
|
+
dollarExists: boolean;
|
|
872
|
+
};
|
|
873
|
+
|
|
874
|
+
export type DollarOrDollarNin = string | number | boolean;
|
|
875
|
+
|
|
876
|
+
/**
|
|
877
|
+
* Not in
|
|
878
|
+
*/
|
|
879
|
+
export type DeploymentsDollarOrDollarNin = {
|
|
880
|
+
dollarNin: Array<string | number | boolean>;
|
|
881
|
+
};
|
|
882
|
+
|
|
883
|
+
export type DollarOrDollarIn = string | number | boolean;
|
|
884
|
+
|
|
885
|
+
/**
|
|
886
|
+
* In
|
|
887
|
+
*/
|
|
888
|
+
export type DeploymentsDollarOrDollarIn = {
|
|
889
|
+
dollarIn: Array<string | number | boolean>;
|
|
890
|
+
};
|
|
891
|
+
|
|
892
|
+
/**
|
|
893
|
+
* Less than or equal to
|
|
894
|
+
*/
|
|
895
|
+
export type DollarOrDollarLte = {
|
|
896
|
+
dollarLte: number;
|
|
897
|
+
};
|
|
898
|
+
|
|
899
|
+
/**
|
|
900
|
+
* Less than
|
|
901
|
+
*/
|
|
902
|
+
export type DollarOrDollarLt = {
|
|
903
|
+
dollarLt: number;
|
|
904
|
+
};
|
|
905
|
+
|
|
906
|
+
/**
|
|
907
|
+
* Greater than or equal to
|
|
908
|
+
*/
|
|
909
|
+
export type DollarOrDollarGte = {
|
|
910
|
+
dollarGte: number;
|
|
911
|
+
};
|
|
912
|
+
|
|
913
|
+
export type DollarOr3 = {
|
|
914
|
+
dollarGt: number;
|
|
915
|
+
};
|
|
916
|
+
|
|
917
|
+
export type DollarOrDollarNe = string | number | boolean;
|
|
918
|
+
|
|
919
|
+
/**
|
|
920
|
+
* Not equal to
|
|
921
|
+
*/
|
|
922
|
+
export type DeploymentsDollarOrDollarNe = {
|
|
923
|
+
dollarNe: string | number | boolean;
|
|
924
|
+
};
|
|
925
|
+
|
|
926
|
+
export type DollarOrDollarEq = string | number | boolean;
|
|
927
|
+
|
|
928
|
+
/**
|
|
929
|
+
* Equal to
|
|
930
|
+
*/
|
|
931
|
+
export type DeploymentsDollarOrDollarEq = {
|
|
932
|
+
dollarEq: string | number | boolean;
|
|
933
|
+
};
|
|
934
|
+
|
|
935
|
+
export type DollarOr =
|
|
936
|
+
| DeploymentsDollarOrDollarEq
|
|
937
|
+
| DeploymentsDollarOrDollarNe
|
|
938
|
+
| DollarOr3
|
|
939
|
+
| DollarOrDollarGte
|
|
940
|
+
| DollarOrDollarLt
|
|
941
|
+
| DollarOrDollarLte
|
|
942
|
+
| DeploymentsDollarOrDollarIn
|
|
943
|
+
| DeploymentsDollarOrDollarNin
|
|
944
|
+
| DollarOrDollarExists;
|
|
945
|
+
|
|
946
|
+
/**
|
|
947
|
+
* Or
|
|
948
|
+
*/
|
|
949
|
+
export type KnowledgeFilterDollarOr = {
|
|
950
|
+
dollarOr: Array<
|
|
951
|
+
{
|
|
952
|
+
[k: string]:
|
|
953
|
+
| DeploymentsDollarOrDollarEq
|
|
954
|
+
| DeploymentsDollarOrDollarNe
|
|
955
|
+
| DollarOr3
|
|
956
|
+
| DollarOrDollarGte
|
|
957
|
+
| DollarOrDollarLt
|
|
958
|
+
| DollarOrDollarLte
|
|
959
|
+
| DeploymentsDollarOrDollarIn
|
|
960
|
+
| DeploymentsDollarOrDollarNin
|
|
961
|
+
| DollarOrDollarExists;
|
|
962
|
+
}
|
|
963
|
+
>;
|
|
964
|
+
};
|
|
965
|
+
|
|
966
|
+
/**
|
|
967
|
+
* Exists
|
|
968
|
+
*/
|
|
969
|
+
export type DollarAndDollarExists = {
|
|
970
|
+
dollarExists: boolean;
|
|
971
|
+
};
|
|
972
|
+
|
|
973
|
+
export type DollarAndDollarNin = string | number | boolean;
|
|
974
|
+
|
|
975
|
+
/**
|
|
976
|
+
* Not in
|
|
977
|
+
*/
|
|
978
|
+
export type DeploymentsDollarAndDollarNin = {
|
|
979
|
+
dollarNin: Array<string | number | boolean>;
|
|
980
|
+
};
|
|
981
|
+
|
|
982
|
+
export type DollarAndDollarIn = string | number | boolean;
|
|
983
|
+
|
|
984
|
+
/**
|
|
985
|
+
* In
|
|
986
|
+
*/
|
|
987
|
+
export type DeploymentsDollarAndDollarIn = {
|
|
988
|
+
dollarIn: Array<string | number | boolean>;
|
|
989
|
+
};
|
|
990
|
+
|
|
991
|
+
/**
|
|
992
|
+
* Less than or equal to
|
|
993
|
+
*/
|
|
994
|
+
export type DollarAndDollarLte = {
|
|
995
|
+
dollarLte: number;
|
|
996
|
+
};
|
|
997
|
+
|
|
998
|
+
/**
|
|
999
|
+
* Less than
|
|
1000
|
+
*/
|
|
1001
|
+
export type DollarAndDollarLt = {
|
|
1002
|
+
dollarLt: number;
|
|
1003
|
+
};
|
|
1004
|
+
|
|
1005
|
+
/**
|
|
1006
|
+
* Greater than or equal to
|
|
1007
|
+
*/
|
|
1008
|
+
export type DollarAndDollarGte = {
|
|
1009
|
+
dollarGte: number;
|
|
1010
|
+
};
|
|
1011
|
+
|
|
1012
|
+
export type DollarAnd3 = {
|
|
1013
|
+
dollarGt: number;
|
|
1014
|
+
};
|
|
1015
|
+
|
|
1016
|
+
export type DollarAndDollarNe = string | number | boolean;
|
|
1017
|
+
|
|
1018
|
+
/**
|
|
1019
|
+
* Not equal to
|
|
1020
|
+
*/
|
|
1021
|
+
export type DeploymentsDollarAndDollarNe = {
|
|
1022
|
+
dollarNe: string | number | boolean;
|
|
1023
|
+
};
|
|
1024
|
+
|
|
1025
|
+
export type DollarAndDollarEq = string | number | boolean;
|
|
1026
|
+
|
|
1027
|
+
/**
|
|
1028
|
+
* Equal to
|
|
1029
|
+
*/
|
|
1030
|
+
export type DeploymentsDollarAndDollarEq = {
|
|
1031
|
+
dollarEq: string | number | boolean;
|
|
1032
|
+
};
|
|
1033
|
+
|
|
1034
|
+
export type DollarAnd =
|
|
1035
|
+
| DeploymentsDollarAndDollarEq
|
|
1036
|
+
| DeploymentsDollarAndDollarNe
|
|
1037
|
+
| DollarAnd3
|
|
1038
|
+
| DollarAndDollarGte
|
|
1039
|
+
| DollarAndDollarLt
|
|
1040
|
+
| DollarAndDollarLte
|
|
1041
|
+
| DeploymentsDollarAndDollarIn
|
|
1042
|
+
| DeploymentsDollarAndDollarNin
|
|
1043
|
+
| DollarAndDollarExists;
|
|
1044
|
+
|
|
1045
|
+
/**
|
|
1046
|
+
* And
|
|
1047
|
+
*/
|
|
1048
|
+
export type KnowledgeFilterDollarAnd = {
|
|
1049
|
+
dollarAnd: Array<
|
|
1050
|
+
{
|
|
1051
|
+
[k: string]:
|
|
1052
|
+
| DeploymentsDollarAndDollarEq
|
|
1053
|
+
| DeploymentsDollarAndDollarNe
|
|
1054
|
+
| DollarAnd3
|
|
1055
|
+
| DollarAndDollarGte
|
|
1056
|
+
| DollarAndDollarLt
|
|
1057
|
+
| DollarAndDollarLte
|
|
1058
|
+
| DeploymentsDollarAndDollarIn
|
|
1059
|
+
| DeploymentsDollarAndDollarNin
|
|
1060
|
+
| DollarAndDollarExists;
|
|
1061
|
+
}
|
|
1062
|
+
>;
|
|
1063
|
+
};
|
|
1064
|
+
|
|
1065
|
+
/**
|
|
1066
|
+
* Exists
|
|
1067
|
+
*/
|
|
1068
|
+
export type DollarExists = {
|
|
1069
|
+
dollarExists: boolean;
|
|
1070
|
+
};
|
|
1071
|
+
|
|
1072
|
+
export type DollarNin = string | number | boolean;
|
|
1073
|
+
|
|
1074
|
+
/**
|
|
1075
|
+
* Not in
|
|
1076
|
+
*/
|
|
1077
|
+
export type OneDollarNin = {
|
|
1078
|
+
dollarNin: Array<string | number | boolean>;
|
|
1079
|
+
};
|
|
1080
|
+
|
|
1081
|
+
export type DollarIn = string | number | boolean;
|
|
1082
|
+
|
|
1083
|
+
/**
|
|
1084
|
+
* In
|
|
1085
|
+
*/
|
|
1086
|
+
export type OneDollarIn = {
|
|
1087
|
+
dollarIn: Array<string | number | boolean>;
|
|
1088
|
+
};
|
|
1089
|
+
|
|
1090
|
+
/**
|
|
1091
|
+
* Less than or equal to
|
|
1092
|
+
*/
|
|
1093
|
+
export type DollarLte = {
|
|
1094
|
+
dollarLte: number;
|
|
1095
|
+
};
|
|
1096
|
+
|
|
1097
|
+
/**
|
|
1098
|
+
* Less than
|
|
1099
|
+
*/
|
|
1100
|
+
export type DollarLt = {
|
|
1101
|
+
dollarLt: number;
|
|
1102
|
+
};
|
|
1103
|
+
|
|
1104
|
+
/**
|
|
1105
|
+
* Greater than or equal to
|
|
1106
|
+
*/
|
|
1107
|
+
export type DollarGte = {
|
|
1108
|
+
dollarGte: number;
|
|
1109
|
+
};
|
|
1110
|
+
|
|
1111
|
+
export type Three = {
|
|
1112
|
+
dollarGt: number;
|
|
1113
|
+
};
|
|
1114
|
+
|
|
1115
|
+
export type DollarNe = string | number | boolean;
|
|
1116
|
+
|
|
1117
|
+
/**
|
|
1118
|
+
* Not equal to
|
|
1119
|
+
*/
|
|
1120
|
+
export type OneDollarNe = {
|
|
1121
|
+
dollarNe: string | number | boolean;
|
|
1122
|
+
};
|
|
1123
|
+
|
|
1124
|
+
export type DollarEq = string | number | boolean;
|
|
1125
|
+
|
|
1126
|
+
/**
|
|
1127
|
+
* Equal to
|
|
1128
|
+
*/
|
|
1129
|
+
export type OneDollarEq = {
|
|
1130
|
+
dollarEq: string | number | boolean;
|
|
1131
|
+
};
|
|
1132
|
+
|
|
1133
|
+
export type One =
|
|
1134
|
+
| OneDollarEq
|
|
1135
|
+
| OneDollarNe
|
|
1136
|
+
| Three
|
|
1137
|
+
| DollarGte
|
|
1138
|
+
| DollarLt
|
|
1139
|
+
| DollarLte
|
|
1140
|
+
| OneDollarIn
|
|
1141
|
+
| OneDollarNin
|
|
1142
|
+
| DollarExists;
|
|
1143
|
+
|
|
1144
|
+
/**
|
|
1145
|
+
* A filter to apply to the knowledge base chunk metadata when using knowledge bases in the deployment.
|
|
1146
|
+
*/
|
|
1147
|
+
export type KnowledgeFilter =
|
|
1148
|
+
| KnowledgeFilterDollarAnd
|
|
1149
|
+
| KnowledgeFilterDollarOr
|
|
1150
|
+
| {
|
|
1151
|
+
[k: string]:
|
|
1152
|
+
| OneDollarEq
|
|
1153
|
+
| OneDollarNe
|
|
1154
|
+
| Three
|
|
1155
|
+
| DollarGte
|
|
1156
|
+
| DollarLt
|
|
1157
|
+
| DollarLte
|
|
1158
|
+
| OneDollarIn
|
|
1159
|
+
| OneDollarNin
|
|
1160
|
+
| DollarExists;
|
|
1161
|
+
};
|
|
1162
|
+
|
|
775
1163
|
/**
|
|
776
1164
|
* The deployment request payload
|
|
777
1165
|
*/
|
|
@@ -785,7 +1173,7 @@ export type Deployments = {
|
|
|
785
1173
|
*/
|
|
786
1174
|
inputs?: { [k: string]: string | number | boolean } | undefined;
|
|
787
1175
|
/**
|
|
788
|
-
* Key-value pairs that match your data model and fields declared in your
|
|
1176
|
+
* Key-value pairs that match your data model and fields declared in your deployment routing configuration
|
|
789
1177
|
*/
|
|
790
1178
|
context?: { [k: string]: any } | undefined;
|
|
791
1179
|
/**
|
|
@@ -830,6 +1218,21 @@ export type Deployments = {
|
|
|
830
1218
|
documents?: Array<Documents> | undefined;
|
|
831
1219
|
invokeOptions?: InvokeOptions | undefined;
|
|
832
1220
|
thread?: Thread | undefined;
|
|
1221
|
+
/**
|
|
1222
|
+
* A filter to apply to the knowledge base chunk metadata when using knowledge bases in the deployment.
|
|
1223
|
+
*/
|
|
1224
|
+
knowledgeFilter?: KnowledgeFilterDollarAnd | KnowledgeFilterDollarOr | {
|
|
1225
|
+
[k: string]:
|
|
1226
|
+
| OneDollarEq
|
|
1227
|
+
| OneDollarNe
|
|
1228
|
+
| Three
|
|
1229
|
+
| DollarGte
|
|
1230
|
+
| DollarLt
|
|
1231
|
+
| DollarLte
|
|
1232
|
+
| OneDollarIn
|
|
1233
|
+
| OneDollarNin
|
|
1234
|
+
| DollarExists;
|
|
1235
|
+
} | undefined;
|
|
833
1236
|
};
|
|
834
1237
|
|
|
835
1238
|
/** @internal */
|
|
@@ -1009,24 +1412,27 @@ export function toolMessageFromJSON(
|
|
|
1009
1412
|
}
|
|
1010
1413
|
|
|
1011
1414
|
/** @internal */
|
|
1012
|
-
export const
|
|
1013
|
-
typeof
|
|
1014
|
-
|
|
1415
|
+
export const Deployments2PrefixMessages4ContentType$inboundSchema:
|
|
1416
|
+
z.ZodNativeEnum<typeof Deployments2PrefixMessages4ContentType> = z.nativeEnum(
|
|
1417
|
+
Deployments2PrefixMessages4ContentType,
|
|
1418
|
+
);
|
|
1015
1419
|
|
|
1016
1420
|
/** @internal */
|
|
1017
|
-
export const
|
|
1018
|
-
typeof
|
|
1019
|
-
|
|
1421
|
+
export const Deployments2PrefixMessages4ContentType$outboundSchema:
|
|
1422
|
+
z.ZodNativeEnum<typeof Deployments2PrefixMessages4ContentType> =
|
|
1423
|
+
Deployments2PrefixMessages4ContentType$inboundSchema;
|
|
1020
1424
|
|
|
1021
1425
|
/**
|
|
1022
1426
|
* @internal
|
|
1023
1427
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1024
1428
|
*/
|
|
1025
|
-
export namespace
|
|
1026
|
-
/** @deprecated use `
|
|
1027
|
-
export const inboundSchema =
|
|
1028
|
-
|
|
1029
|
-
|
|
1429
|
+
export namespace Deployments2PrefixMessages4ContentType$ {
|
|
1430
|
+
/** @deprecated use `Deployments2PrefixMessages4ContentType$inboundSchema` instead. */
|
|
1431
|
+
export const inboundSchema =
|
|
1432
|
+
Deployments2PrefixMessages4ContentType$inboundSchema;
|
|
1433
|
+
/** @deprecated use `Deployments2PrefixMessages4ContentType$outboundSchema` instead. */
|
|
1434
|
+
export const outboundSchema =
|
|
1435
|
+
Deployments2PrefixMessages4ContentType$outboundSchema;
|
|
1030
1436
|
}
|
|
1031
1437
|
|
|
1032
1438
|
/** @internal */
|
|
@@ -1035,7 +1441,7 @@ export const RefusalContentPart$inboundSchema: z.ZodType<
|
|
|
1035
1441
|
z.ZodTypeDef,
|
|
1036
1442
|
unknown
|
|
1037
1443
|
> = z.object({
|
|
1038
|
-
type:
|
|
1444
|
+
type: Deployments2PrefixMessages4ContentType$inboundSchema,
|
|
1039
1445
|
refusal: z.string(),
|
|
1040
1446
|
});
|
|
1041
1447
|
|
|
@@ -1051,7 +1457,7 @@ export const RefusalContentPart$outboundSchema: z.ZodType<
|
|
|
1051
1457
|
z.ZodTypeDef,
|
|
1052
1458
|
RefusalContentPart
|
|
1053
1459
|
> = z.object({
|
|
1054
|
-
type:
|
|
1460
|
+
type: Deployments2PrefixMessages4ContentType$outboundSchema,
|
|
1055
1461
|
refusal: z.string(),
|
|
1056
1462
|
});
|
|
1057
1463
|
|
|
@@ -1087,24 +1493,24 @@ export function refusalContentPartFromJSON(
|
|
|
1087
1493
|
}
|
|
1088
1494
|
|
|
1089
1495
|
/** @internal */
|
|
1090
|
-
export const
|
|
1091
|
-
typeof
|
|
1092
|
-
> = z.nativeEnum(
|
|
1496
|
+
export const Deployments2PrefixMessages4Type$inboundSchema: z.ZodNativeEnum<
|
|
1497
|
+
typeof Deployments2PrefixMessages4Type
|
|
1498
|
+
> = z.nativeEnum(Deployments2PrefixMessages4Type);
|
|
1093
1499
|
|
|
1094
1500
|
/** @internal */
|
|
1095
|
-
export const
|
|
1096
|
-
typeof
|
|
1097
|
-
> =
|
|
1501
|
+
export const Deployments2PrefixMessages4Type$outboundSchema: z.ZodNativeEnum<
|
|
1502
|
+
typeof Deployments2PrefixMessages4Type
|
|
1503
|
+
> = Deployments2PrefixMessages4Type$inboundSchema;
|
|
1098
1504
|
|
|
1099
1505
|
/**
|
|
1100
1506
|
* @internal
|
|
1101
1507
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1102
1508
|
*/
|
|
1103
|
-
export namespace
|
|
1104
|
-
/** @deprecated use `
|
|
1105
|
-
export const inboundSchema =
|
|
1106
|
-
/** @deprecated use `
|
|
1107
|
-
export const outboundSchema =
|
|
1509
|
+
export namespace Deployments2PrefixMessages4Type$ {
|
|
1510
|
+
/** @deprecated use `Deployments2PrefixMessages4Type$inboundSchema` instead. */
|
|
1511
|
+
export const inboundSchema = Deployments2PrefixMessages4Type$inboundSchema;
|
|
1512
|
+
/** @deprecated use `Deployments2PrefixMessages4Type$outboundSchema` instead. */
|
|
1513
|
+
export const outboundSchema = Deployments2PrefixMessages4Type$outboundSchema;
|
|
1108
1514
|
}
|
|
1109
1515
|
|
|
1110
1516
|
/** @internal */
|
|
@@ -1113,7 +1519,7 @@ export const TextContentPart$inboundSchema: z.ZodType<
|
|
|
1113
1519
|
z.ZodTypeDef,
|
|
1114
1520
|
unknown
|
|
1115
1521
|
> = z.object({
|
|
1116
|
-
type:
|
|
1522
|
+
type: Deployments2PrefixMessages4Type$inboundSchema,
|
|
1117
1523
|
text: z.string(),
|
|
1118
1524
|
});
|
|
1119
1525
|
|
|
@@ -1129,7 +1535,7 @@ export const TextContentPart$outboundSchema: z.ZodType<
|
|
|
1129
1535
|
z.ZodTypeDef,
|
|
1130
1536
|
TextContentPart
|
|
1131
1537
|
> = z.object({
|
|
1132
|
-
type:
|
|
1538
|
+
type: Deployments2PrefixMessages4Type$outboundSchema,
|
|
1133
1539
|
text: z.string(),
|
|
1134
1540
|
});
|
|
1135
1541
|
|
|
@@ -1493,9 +1899,14 @@ export const AssistantMessage$inboundSchema: z.ZodType<
|
|
|
1493
1899
|
name: z.string().optional(),
|
|
1494
1900
|
audio: z.nullable(z.lazy(() => Audio$inboundSchema)).optional(),
|
|
1495
1901
|
tool_calls: z.array(z.lazy(() => ToolCalls$inboundSchema)).optional(),
|
|
1902
|
+
reasoning: z.string().optional(),
|
|
1903
|
+
reasoning_signature: z.string().optional(),
|
|
1904
|
+
redacted_reasoning: z.string().optional(),
|
|
1496
1905
|
}).transform((v) => {
|
|
1497
1906
|
return remap$(v, {
|
|
1498
1907
|
"tool_calls": "toolCalls",
|
|
1908
|
+
"reasoning_signature": "reasoningSignature",
|
|
1909
|
+
"redacted_reasoning": "redactedReasoning",
|
|
1499
1910
|
});
|
|
1500
1911
|
});
|
|
1501
1912
|
|
|
@@ -1511,6 +1922,9 @@ export type AssistantMessage$Outbound = {
|
|
|
1511
1922
|
name?: string | undefined;
|
|
1512
1923
|
audio?: Audio$Outbound | null | undefined;
|
|
1513
1924
|
tool_calls?: Array<ToolCalls$Outbound> | undefined;
|
|
1925
|
+
reasoning?: string | undefined;
|
|
1926
|
+
reasoning_signature?: string | undefined;
|
|
1927
|
+
redacted_reasoning?: string | undefined;
|
|
1514
1928
|
};
|
|
1515
1929
|
|
|
1516
1930
|
/** @internal */
|
|
@@ -1535,9 +1949,14 @@ export const AssistantMessage$outboundSchema: z.ZodType<
|
|
|
1535
1949
|
name: z.string().optional(),
|
|
1536
1950
|
audio: z.nullable(z.lazy(() => Audio$outboundSchema)).optional(),
|
|
1537
1951
|
toolCalls: z.array(z.lazy(() => ToolCalls$outboundSchema)).optional(),
|
|
1952
|
+
reasoning: z.string().optional(),
|
|
1953
|
+
reasoningSignature: z.string().optional(),
|
|
1954
|
+
redactedReasoning: z.string().optional(),
|
|
1538
1955
|
}).transform((v) => {
|
|
1539
1956
|
return remap$(v, {
|
|
1540
1957
|
toolCalls: "tool_calls",
|
|
1958
|
+
reasoningSignature: "reasoning_signature",
|
|
1959
|
+
redactedReasoning: "redacted_reasoning",
|
|
1541
1960
|
});
|
|
1542
1961
|
});
|
|
1543
1962
|
|
|
@@ -1594,24 +2013,150 @@ export namespace DeploymentsPrefixMessagesRole$ {
|
|
|
1594
2013
|
}
|
|
1595
2014
|
|
|
1596
2015
|
/** @internal */
|
|
1597
|
-
export const
|
|
1598
|
-
typeof
|
|
1599
|
-
> = z.nativeEnum(
|
|
2016
|
+
export const Deployments2PrefixMessagesType$inboundSchema: z.ZodNativeEnum<
|
|
2017
|
+
typeof Deployments2PrefixMessagesType
|
|
2018
|
+
> = z.nativeEnum(Deployments2PrefixMessagesType);
|
|
1600
2019
|
|
|
1601
2020
|
/** @internal */
|
|
1602
|
-
export const
|
|
1603
|
-
typeof
|
|
1604
|
-
> =
|
|
2021
|
+
export const Deployments2PrefixMessagesType$outboundSchema: z.ZodNativeEnum<
|
|
2022
|
+
typeof Deployments2PrefixMessagesType
|
|
2023
|
+
> = Deployments2PrefixMessagesType$inboundSchema;
|
|
1605
2024
|
|
|
1606
2025
|
/**
|
|
1607
2026
|
* @internal
|
|
1608
2027
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1609
2028
|
*/
|
|
1610
|
-
export namespace
|
|
1611
|
-
/** @deprecated use `
|
|
1612
|
-
export const inboundSchema =
|
|
1613
|
-
/** @deprecated use `
|
|
1614
|
-
export const outboundSchema =
|
|
2029
|
+
export namespace Deployments2PrefixMessagesType$ {
|
|
2030
|
+
/** @deprecated use `Deployments2PrefixMessagesType$inboundSchema` instead. */
|
|
2031
|
+
export const inboundSchema = Deployments2PrefixMessagesType$inboundSchema;
|
|
2032
|
+
/** @deprecated use `Deployments2PrefixMessagesType$outboundSchema` instead. */
|
|
2033
|
+
export const outboundSchema = Deployments2PrefixMessagesType$outboundSchema;
|
|
2034
|
+
}
|
|
2035
|
+
|
|
2036
|
+
/** @internal */
|
|
2037
|
+
export const FileT$inboundSchema: z.ZodType<FileT, z.ZodTypeDef, unknown> = z
|
|
2038
|
+
.object({
|
|
2039
|
+
file_data: z.string(),
|
|
2040
|
+
filename: z.string().optional(),
|
|
2041
|
+
}).transform((v) => {
|
|
2042
|
+
return remap$(v, {
|
|
2043
|
+
"file_data": "fileData",
|
|
2044
|
+
});
|
|
2045
|
+
});
|
|
2046
|
+
|
|
2047
|
+
/** @internal */
|
|
2048
|
+
export type FileT$Outbound = {
|
|
2049
|
+
file_data: string;
|
|
2050
|
+
filename?: string | undefined;
|
|
2051
|
+
};
|
|
2052
|
+
|
|
2053
|
+
/** @internal */
|
|
2054
|
+
export const FileT$outboundSchema: z.ZodType<
|
|
2055
|
+
FileT$Outbound,
|
|
2056
|
+
z.ZodTypeDef,
|
|
2057
|
+
FileT
|
|
2058
|
+
> = z.object({
|
|
2059
|
+
fileData: z.string(),
|
|
2060
|
+
filename: z.string().optional(),
|
|
2061
|
+
}).transform((v) => {
|
|
2062
|
+
return remap$(v, {
|
|
2063
|
+
fileData: "file_data",
|
|
2064
|
+
});
|
|
2065
|
+
});
|
|
2066
|
+
|
|
2067
|
+
/**
|
|
2068
|
+
* @internal
|
|
2069
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2070
|
+
*/
|
|
2071
|
+
export namespace FileT$ {
|
|
2072
|
+
/** @deprecated use `FileT$inboundSchema` instead. */
|
|
2073
|
+
export const inboundSchema = FileT$inboundSchema;
|
|
2074
|
+
/** @deprecated use `FileT$outboundSchema` instead. */
|
|
2075
|
+
export const outboundSchema = FileT$outboundSchema;
|
|
2076
|
+
/** @deprecated use `FileT$Outbound` instead. */
|
|
2077
|
+
export type Outbound = FileT$Outbound;
|
|
2078
|
+
}
|
|
2079
|
+
|
|
2080
|
+
export function fileToJSON(fileT: FileT): string {
|
|
2081
|
+
return JSON.stringify(FileT$outboundSchema.parse(fileT));
|
|
2082
|
+
}
|
|
2083
|
+
|
|
2084
|
+
export function fileFromJSON(
|
|
2085
|
+
jsonString: string,
|
|
2086
|
+
): SafeParseResult<FileT, SDKValidationError> {
|
|
2087
|
+
return safeParse(
|
|
2088
|
+
jsonString,
|
|
2089
|
+
(x) => FileT$inboundSchema.parse(JSON.parse(x)),
|
|
2090
|
+
`Failed to parse 'FileT' from JSON`,
|
|
2091
|
+
);
|
|
2092
|
+
}
|
|
2093
|
+
|
|
2094
|
+
/** @internal */
|
|
2095
|
+
export const Four$inboundSchema: z.ZodType<Four, z.ZodTypeDef, unknown> = z
|
|
2096
|
+
.object({
|
|
2097
|
+
type: Deployments2PrefixMessagesType$inboundSchema,
|
|
2098
|
+
file: z.lazy(() => FileT$inboundSchema),
|
|
2099
|
+
});
|
|
2100
|
+
|
|
2101
|
+
/** @internal */
|
|
2102
|
+
export type Four$Outbound = {
|
|
2103
|
+
type: string;
|
|
2104
|
+
file: FileT$Outbound;
|
|
2105
|
+
};
|
|
2106
|
+
|
|
2107
|
+
/** @internal */
|
|
2108
|
+
export const Four$outboundSchema: z.ZodType<Four$Outbound, z.ZodTypeDef, Four> =
|
|
2109
|
+
z.object({
|
|
2110
|
+
type: Deployments2PrefixMessagesType$outboundSchema,
|
|
2111
|
+
file: z.lazy(() => FileT$outboundSchema),
|
|
2112
|
+
});
|
|
2113
|
+
|
|
2114
|
+
/**
|
|
2115
|
+
* @internal
|
|
2116
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2117
|
+
*/
|
|
2118
|
+
export namespace Four$ {
|
|
2119
|
+
/** @deprecated use `Four$inboundSchema` instead. */
|
|
2120
|
+
export const inboundSchema = Four$inboundSchema;
|
|
2121
|
+
/** @deprecated use `Four$outboundSchema` instead. */
|
|
2122
|
+
export const outboundSchema = Four$outboundSchema;
|
|
2123
|
+
/** @deprecated use `Four$Outbound` instead. */
|
|
2124
|
+
export type Outbound = Four$Outbound;
|
|
2125
|
+
}
|
|
2126
|
+
|
|
2127
|
+
export function fourToJSON(four: Four): string {
|
|
2128
|
+
return JSON.stringify(Four$outboundSchema.parse(four));
|
|
2129
|
+
}
|
|
2130
|
+
|
|
2131
|
+
export function fourFromJSON(
|
|
2132
|
+
jsonString: string,
|
|
2133
|
+
): SafeParseResult<Four, SDKValidationError> {
|
|
2134
|
+
return safeParse(
|
|
2135
|
+
jsonString,
|
|
2136
|
+
(x) => Four$inboundSchema.parse(JSON.parse(x)),
|
|
2137
|
+
`Failed to parse 'Four' from JSON`,
|
|
2138
|
+
);
|
|
2139
|
+
}
|
|
2140
|
+
|
|
2141
|
+
/** @internal */
|
|
2142
|
+
export const Deployments2Type$inboundSchema: z.ZodNativeEnum<
|
|
2143
|
+
typeof Deployments2Type
|
|
2144
|
+
> = z.nativeEnum(Deployments2Type);
|
|
2145
|
+
|
|
2146
|
+
/** @internal */
|
|
2147
|
+
export const Deployments2Type$outboundSchema: z.ZodNativeEnum<
|
|
2148
|
+
typeof Deployments2Type
|
|
2149
|
+
> = Deployments2Type$inboundSchema;
|
|
2150
|
+
|
|
2151
|
+
/**
|
|
2152
|
+
* @internal
|
|
2153
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2154
|
+
*/
|
|
2155
|
+
export namespace Deployments2Type$ {
|
|
2156
|
+
/** @deprecated use `Deployments2Type$inboundSchema` instead. */
|
|
2157
|
+
export const inboundSchema = Deployments2Type$inboundSchema;
|
|
2158
|
+
/** @deprecated use `Deployments2Type$outboundSchema` instead. */
|
|
2159
|
+
export const outboundSchema = Deployments2Type$outboundSchema;
|
|
1615
2160
|
}
|
|
1616
2161
|
|
|
1617
2162
|
/** @internal */
|
|
@@ -1687,27 +2232,30 @@ export function inputAudioFromJSON(
|
|
|
1687
2232
|
}
|
|
1688
2233
|
|
|
1689
2234
|
/** @internal */
|
|
1690
|
-
export const
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
2235
|
+
export const Deployments23$inboundSchema: z.ZodType<
|
|
2236
|
+
Deployments23,
|
|
2237
|
+
z.ZodTypeDef,
|
|
2238
|
+
unknown
|
|
2239
|
+
> = z.object({
|
|
2240
|
+
type: Deployments2Type$inboundSchema,
|
|
2241
|
+
input_audio: z.lazy(() => InputAudio$inboundSchema),
|
|
2242
|
+
}).transform((v) => {
|
|
2243
|
+
return remap$(v, {
|
|
2244
|
+
"input_audio": "inputAudio",
|
|
1698
2245
|
});
|
|
2246
|
+
});
|
|
1699
2247
|
|
|
1700
2248
|
/** @internal */
|
|
1701
|
-
export type
|
|
2249
|
+
export type Deployments23$Outbound = {
|
|
1702
2250
|
type: string;
|
|
1703
2251
|
input_audio: InputAudio$Outbound;
|
|
1704
2252
|
};
|
|
1705
2253
|
|
|
1706
2254
|
/** @internal */
|
|
1707
|
-
export const
|
|
1708
|
-
|
|
2255
|
+
export const Deployments23$outboundSchema: z.ZodType<
|
|
2256
|
+
Deployments23$Outbound,
|
|
1709
2257
|
z.ZodTypeDef,
|
|
1710
|
-
|
|
2258
|
+
Deployments23
|
|
1711
2259
|
> = z.object({
|
|
1712
2260
|
type: Deployments2Type$outboundSchema,
|
|
1713
2261
|
inputAudio: z.lazy(() => InputAudio$outboundSchema),
|
|
@@ -1721,26 +2269,26 @@ export const Three$outboundSchema: z.ZodType<
|
|
|
1721
2269
|
* @internal
|
|
1722
2270
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1723
2271
|
*/
|
|
1724
|
-
export namespace
|
|
1725
|
-
/** @deprecated use `
|
|
1726
|
-
export const inboundSchema =
|
|
1727
|
-
/** @deprecated use `
|
|
1728
|
-
export const outboundSchema =
|
|
1729
|
-
/** @deprecated use `
|
|
1730
|
-
export type Outbound =
|
|
2272
|
+
export namespace Deployments23$ {
|
|
2273
|
+
/** @deprecated use `Deployments23$inboundSchema` instead. */
|
|
2274
|
+
export const inboundSchema = Deployments23$inboundSchema;
|
|
2275
|
+
/** @deprecated use `Deployments23$outboundSchema` instead. */
|
|
2276
|
+
export const outboundSchema = Deployments23$outboundSchema;
|
|
2277
|
+
/** @deprecated use `Deployments23$Outbound` instead. */
|
|
2278
|
+
export type Outbound = Deployments23$Outbound;
|
|
1731
2279
|
}
|
|
1732
2280
|
|
|
1733
|
-
export function
|
|
1734
|
-
return JSON.stringify(
|
|
2281
|
+
export function deployments23ToJSON(deployments23: Deployments23): string {
|
|
2282
|
+
return JSON.stringify(Deployments23$outboundSchema.parse(deployments23));
|
|
1735
2283
|
}
|
|
1736
2284
|
|
|
1737
|
-
export function
|
|
2285
|
+
export function deployments23FromJSON(
|
|
1738
2286
|
jsonString: string,
|
|
1739
|
-
): SafeParseResult<
|
|
2287
|
+
): SafeParseResult<Deployments23, SDKValidationError> {
|
|
1740
2288
|
return safeParse(
|
|
1741
2289
|
jsonString,
|
|
1742
|
-
(x) =>
|
|
1743
|
-
`Failed to parse '
|
|
2290
|
+
(x) => Deployments23$inboundSchema.parse(JSON.parse(x)),
|
|
2291
|
+
`Failed to parse 'Deployments23' from JSON`,
|
|
1744
2292
|
);
|
|
1745
2293
|
}
|
|
1746
2294
|
|
|
@@ -1912,70 +2460,82 @@ export namespace Deployments2PrefixMessages3Type$ {
|
|
|
1912
2460
|
}
|
|
1913
2461
|
|
|
1914
2462
|
/** @internal */
|
|
1915
|
-
export const
|
|
1916
|
-
|
|
1917
|
-
|
|
1918
|
-
|
|
1919
|
-
|
|
2463
|
+
export const Deployments21$inboundSchema: z.ZodType<
|
|
2464
|
+
Deployments21,
|
|
2465
|
+
z.ZodTypeDef,
|
|
2466
|
+
unknown
|
|
2467
|
+
> = z.object({
|
|
2468
|
+
type: Deployments2PrefixMessages3Type$inboundSchema,
|
|
2469
|
+
text: z.string(),
|
|
2470
|
+
});
|
|
1920
2471
|
|
|
1921
2472
|
/** @internal */
|
|
1922
|
-
export type
|
|
2473
|
+
export type Deployments21$Outbound = {
|
|
1923
2474
|
type: string;
|
|
1924
2475
|
text: string;
|
|
1925
2476
|
};
|
|
1926
2477
|
|
|
1927
2478
|
/** @internal */
|
|
1928
|
-
export const
|
|
1929
|
-
|
|
1930
|
-
|
|
1931
|
-
|
|
1932
|
-
|
|
2479
|
+
export const Deployments21$outboundSchema: z.ZodType<
|
|
2480
|
+
Deployments21$Outbound,
|
|
2481
|
+
z.ZodTypeDef,
|
|
2482
|
+
Deployments21
|
|
2483
|
+
> = z.object({
|
|
2484
|
+
type: Deployments2PrefixMessages3Type$outboundSchema,
|
|
2485
|
+
text: z.string(),
|
|
2486
|
+
});
|
|
1933
2487
|
|
|
1934
2488
|
/**
|
|
1935
2489
|
* @internal
|
|
1936
2490
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1937
2491
|
*/
|
|
1938
|
-
export namespace
|
|
1939
|
-
/** @deprecated use `
|
|
1940
|
-
export const inboundSchema =
|
|
1941
|
-
/** @deprecated use `
|
|
1942
|
-
export const outboundSchema =
|
|
1943
|
-
/** @deprecated use `
|
|
1944
|
-
export type Outbound =
|
|
2492
|
+
export namespace Deployments21$ {
|
|
2493
|
+
/** @deprecated use `Deployments21$inboundSchema` instead. */
|
|
2494
|
+
export const inboundSchema = Deployments21$inboundSchema;
|
|
2495
|
+
/** @deprecated use `Deployments21$outboundSchema` instead. */
|
|
2496
|
+
export const outboundSchema = Deployments21$outboundSchema;
|
|
2497
|
+
/** @deprecated use `Deployments21$Outbound` instead. */
|
|
2498
|
+
export type Outbound = Deployments21$Outbound;
|
|
1945
2499
|
}
|
|
1946
2500
|
|
|
1947
|
-
export function
|
|
1948
|
-
return JSON.stringify(
|
|
2501
|
+
export function deployments21ToJSON(deployments21: Deployments21): string {
|
|
2502
|
+
return JSON.stringify(Deployments21$outboundSchema.parse(deployments21));
|
|
1949
2503
|
}
|
|
1950
2504
|
|
|
1951
|
-
export function
|
|
2505
|
+
export function deployments21FromJSON(
|
|
1952
2506
|
jsonString: string,
|
|
1953
|
-
): SafeParseResult<
|
|
2507
|
+
): SafeParseResult<Deployments21, SDKValidationError> {
|
|
1954
2508
|
return safeParse(
|
|
1955
2509
|
jsonString,
|
|
1956
|
-
(x) =>
|
|
1957
|
-
`Failed to parse '
|
|
2510
|
+
(x) => Deployments21$inboundSchema.parse(JSON.parse(x)),
|
|
2511
|
+
`Failed to parse 'Deployments21' from JSON`,
|
|
1958
2512
|
);
|
|
1959
2513
|
}
|
|
1960
2514
|
|
|
1961
2515
|
/** @internal */
|
|
1962
2516
|
export const Two$inboundSchema: z.ZodType<Two, z.ZodTypeDef, unknown> = z.union(
|
|
1963
2517
|
[
|
|
1964
|
-
z.lazy(() =>
|
|
2518
|
+
z.lazy(() => Deployments21$inboundSchema),
|
|
1965
2519
|
z.lazy(() => Two2$inboundSchema),
|
|
1966
|
-
z.lazy(() =>
|
|
2520
|
+
z.lazy(() => Deployments23$inboundSchema),
|
|
2521
|
+
z.lazy(() => Four$inboundSchema),
|
|
1967
2522
|
],
|
|
1968
2523
|
);
|
|
1969
2524
|
|
|
1970
2525
|
/** @internal */
|
|
1971
|
-
export type Two$Outbound =
|
|
2526
|
+
export type Two$Outbound =
|
|
2527
|
+
| Deployments21$Outbound
|
|
2528
|
+
| Two2$Outbound
|
|
2529
|
+
| Deployments23$Outbound
|
|
2530
|
+
| Four$Outbound;
|
|
1972
2531
|
|
|
1973
2532
|
/** @internal */
|
|
1974
2533
|
export const Two$outboundSchema: z.ZodType<Two$Outbound, z.ZodTypeDef, Two> = z
|
|
1975
2534
|
.union([
|
|
1976
|
-
z.lazy(() =>
|
|
2535
|
+
z.lazy(() => Deployments21$outboundSchema),
|
|
1977
2536
|
z.lazy(() => Two2$outboundSchema),
|
|
1978
|
-
z.lazy(() =>
|
|
2537
|
+
z.lazy(() => Deployments23$outboundSchema),
|
|
2538
|
+
z.lazy(() => Four$outboundSchema),
|
|
1979
2539
|
]);
|
|
1980
2540
|
|
|
1981
2541
|
/**
|
|
@@ -2010,16 +2570,22 @@ export const Content$inboundSchema: z.ZodType<Content, z.ZodTypeDef, unknown> =
|
|
|
2010
2570
|
z.union([
|
|
2011
2571
|
z.string(),
|
|
2012
2572
|
z.array(z.union([
|
|
2013
|
-
z.lazy(() =>
|
|
2573
|
+
z.lazy(() => Deployments21$inboundSchema),
|
|
2014
2574
|
z.lazy(() => Two2$inboundSchema),
|
|
2015
|
-
z.lazy(() =>
|
|
2575
|
+
z.lazy(() => Deployments23$inboundSchema),
|
|
2576
|
+
z.lazy(() => Four$inboundSchema),
|
|
2016
2577
|
])),
|
|
2017
2578
|
]);
|
|
2018
2579
|
|
|
2019
2580
|
/** @internal */
|
|
2020
2581
|
export type Content$Outbound =
|
|
2021
2582
|
| string
|
|
2022
|
-
| Array<
|
|
2583
|
+
| Array<
|
|
2584
|
+
| Deployments21$Outbound
|
|
2585
|
+
| Two2$Outbound
|
|
2586
|
+
| Deployments23$Outbound
|
|
2587
|
+
| Four$Outbound
|
|
2588
|
+
>;
|
|
2023
2589
|
|
|
2024
2590
|
/** @internal */
|
|
2025
2591
|
export const Content$outboundSchema: z.ZodType<
|
|
@@ -2029,9 +2595,10 @@ export const Content$outboundSchema: z.ZodType<
|
|
|
2029
2595
|
> = z.union([
|
|
2030
2596
|
z.string(),
|
|
2031
2597
|
z.array(z.union([
|
|
2032
|
-
z.lazy(() =>
|
|
2598
|
+
z.lazy(() => Deployments21$outboundSchema),
|
|
2033
2599
|
z.lazy(() => Two2$outboundSchema),
|
|
2034
|
-
z.lazy(() =>
|
|
2600
|
+
z.lazy(() => Deployments23$outboundSchema),
|
|
2601
|
+
z.lazy(() => Four$outboundSchema),
|
|
2035
2602
|
])),
|
|
2036
2603
|
]);
|
|
2037
2604
|
|
|
@@ -2073,9 +2640,10 @@ export const UserMessage$inboundSchema: z.ZodType<
|
|
|
2073
2640
|
content: z.union([
|
|
2074
2641
|
z.string(),
|
|
2075
2642
|
z.array(z.union([
|
|
2076
|
-
z.lazy(() =>
|
|
2643
|
+
z.lazy(() => Deployments21$inboundSchema),
|
|
2077
2644
|
z.lazy(() => Two2$inboundSchema),
|
|
2078
|
-
z.lazy(() =>
|
|
2645
|
+
z.lazy(() => Deployments23$inboundSchema),
|
|
2646
|
+
z.lazy(() => Four$inboundSchema),
|
|
2079
2647
|
])),
|
|
2080
2648
|
]),
|
|
2081
2649
|
});
|
|
@@ -2084,7 +2652,14 @@ export const UserMessage$inboundSchema: z.ZodType<
|
|
|
2084
2652
|
export type UserMessage$Outbound = {
|
|
2085
2653
|
role: string;
|
|
2086
2654
|
name?: string | undefined;
|
|
2087
|
-
content:
|
|
2655
|
+
content:
|
|
2656
|
+
| string
|
|
2657
|
+
| Array<
|
|
2658
|
+
| Deployments21$Outbound
|
|
2659
|
+
| Two2$Outbound
|
|
2660
|
+
| Deployments23$Outbound
|
|
2661
|
+
| Four$Outbound
|
|
2662
|
+
>;
|
|
2088
2663
|
};
|
|
2089
2664
|
|
|
2090
2665
|
/** @internal */
|
|
@@ -2098,9 +2673,10 @@ export const UserMessage$outboundSchema: z.ZodType<
|
|
|
2098
2673
|
content: z.union([
|
|
2099
2674
|
z.string(),
|
|
2100
2675
|
z.array(z.union([
|
|
2101
|
-
z.lazy(() =>
|
|
2676
|
+
z.lazy(() => Deployments21$outboundSchema),
|
|
2102
2677
|
z.lazy(() => Two2$outboundSchema),
|
|
2103
|
-
z.lazy(() =>
|
|
2678
|
+
z.lazy(() => Deployments23$outboundSchema),
|
|
2679
|
+
z.lazy(() => Four$outboundSchema),
|
|
2104
2680
|
])),
|
|
2105
2681
|
]),
|
|
2106
2682
|
});
|
|
@@ -2994,9 +3570,14 @@ export const MessagesAssistantMessage$inboundSchema: z.ZodType<
|
|
|
2994
3570
|
name: z.string().optional(),
|
|
2995
3571
|
audio: z.nullable(z.lazy(() => MessagesAudio$inboundSchema)).optional(),
|
|
2996
3572
|
tool_calls: z.array(z.lazy(() => MessagesToolCalls$inboundSchema)).optional(),
|
|
3573
|
+
reasoning: z.string().optional(),
|
|
3574
|
+
reasoning_signature: z.string().optional(),
|
|
3575
|
+
redacted_reasoning: z.string().optional(),
|
|
2997
3576
|
}).transform((v) => {
|
|
2998
3577
|
return remap$(v, {
|
|
2999
3578
|
"tool_calls": "toolCalls",
|
|
3579
|
+
"reasoning_signature": "reasoningSignature",
|
|
3580
|
+
"redacted_reasoning": "redactedReasoning",
|
|
3000
3581
|
});
|
|
3001
3582
|
});
|
|
3002
3583
|
|
|
@@ -3012,6 +3593,9 @@ export type MessagesAssistantMessage$Outbound = {
|
|
|
3012
3593
|
name?: string | undefined;
|
|
3013
3594
|
audio?: MessagesAudio$Outbound | null | undefined;
|
|
3014
3595
|
tool_calls?: Array<MessagesToolCalls$Outbound> | undefined;
|
|
3596
|
+
reasoning?: string | undefined;
|
|
3597
|
+
reasoning_signature?: string | undefined;
|
|
3598
|
+
redacted_reasoning?: string | undefined;
|
|
3015
3599
|
};
|
|
3016
3600
|
|
|
3017
3601
|
/** @internal */
|
|
@@ -3036,9 +3620,14 @@ export const MessagesAssistantMessage$outboundSchema: z.ZodType<
|
|
|
3036
3620
|
name: z.string().optional(),
|
|
3037
3621
|
audio: z.nullable(z.lazy(() => MessagesAudio$outboundSchema)).optional(),
|
|
3038
3622
|
toolCalls: z.array(z.lazy(() => MessagesToolCalls$outboundSchema)).optional(),
|
|
3623
|
+
reasoning: z.string().optional(),
|
|
3624
|
+
reasoningSignature: z.string().optional(),
|
|
3625
|
+
redactedReasoning: z.string().optional(),
|
|
3039
3626
|
}).transform((v) => {
|
|
3040
3627
|
return remap$(v, {
|
|
3041
3628
|
toolCalls: "tool_calls",
|
|
3629
|
+
reasoningSignature: "reasoning_signature",
|
|
3630
|
+
redactedReasoning: "redacted_reasoning",
|
|
3042
3631
|
});
|
|
3043
3632
|
});
|
|
3044
3633
|
|
|
@@ -3094,6 +3683,133 @@ export namespace DeploymentsMessages3Role$ {
|
|
|
3094
3683
|
export const outboundSchema = DeploymentsMessages3Role$outboundSchema;
|
|
3095
3684
|
}
|
|
3096
3685
|
|
|
3686
|
+
/** @internal */
|
|
3687
|
+
export const Deployments2Messages3Content4Type$inboundSchema: z.ZodNativeEnum<
|
|
3688
|
+
typeof Deployments2Messages3Content4Type
|
|
3689
|
+
> = z.nativeEnum(Deployments2Messages3Content4Type);
|
|
3690
|
+
|
|
3691
|
+
/** @internal */
|
|
3692
|
+
export const Deployments2Messages3Content4Type$outboundSchema: z.ZodNativeEnum<
|
|
3693
|
+
typeof Deployments2Messages3Content4Type
|
|
3694
|
+
> = Deployments2Messages3Content4Type$inboundSchema;
|
|
3695
|
+
|
|
3696
|
+
/**
|
|
3697
|
+
* @internal
|
|
3698
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3699
|
+
*/
|
|
3700
|
+
export namespace Deployments2Messages3Content4Type$ {
|
|
3701
|
+
/** @deprecated use `Deployments2Messages3Content4Type$inboundSchema` instead. */
|
|
3702
|
+
export const inboundSchema = Deployments2Messages3Content4Type$inboundSchema;
|
|
3703
|
+
/** @deprecated use `Deployments2Messages3Content4Type$outboundSchema` instead. */
|
|
3704
|
+
export const outboundSchema =
|
|
3705
|
+
Deployments2Messages3Content4Type$outboundSchema;
|
|
3706
|
+
}
|
|
3707
|
+
|
|
3708
|
+
/** @internal */
|
|
3709
|
+
export const TwoFile$inboundSchema: z.ZodType<TwoFile, z.ZodTypeDef, unknown> =
|
|
3710
|
+
z.object({
|
|
3711
|
+
file_data: z.string(),
|
|
3712
|
+
filename: z.string().optional(),
|
|
3713
|
+
}).transform((v) => {
|
|
3714
|
+
return remap$(v, {
|
|
3715
|
+
"file_data": "fileData",
|
|
3716
|
+
});
|
|
3717
|
+
});
|
|
3718
|
+
|
|
3719
|
+
/** @internal */
|
|
3720
|
+
export type TwoFile$Outbound = {
|
|
3721
|
+
file_data: string;
|
|
3722
|
+
filename?: string | undefined;
|
|
3723
|
+
};
|
|
3724
|
+
|
|
3725
|
+
/** @internal */
|
|
3726
|
+
export const TwoFile$outboundSchema: z.ZodType<
|
|
3727
|
+
TwoFile$Outbound,
|
|
3728
|
+
z.ZodTypeDef,
|
|
3729
|
+
TwoFile
|
|
3730
|
+
> = z.object({
|
|
3731
|
+
fileData: z.string(),
|
|
3732
|
+
filename: z.string().optional(),
|
|
3733
|
+
}).transform((v) => {
|
|
3734
|
+
return remap$(v, {
|
|
3735
|
+
fileData: "file_data",
|
|
3736
|
+
});
|
|
3737
|
+
});
|
|
3738
|
+
|
|
3739
|
+
/**
|
|
3740
|
+
* @internal
|
|
3741
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3742
|
+
*/
|
|
3743
|
+
export namespace TwoFile$ {
|
|
3744
|
+
/** @deprecated use `TwoFile$inboundSchema` instead. */
|
|
3745
|
+
export const inboundSchema = TwoFile$inboundSchema;
|
|
3746
|
+
/** @deprecated use `TwoFile$outboundSchema` instead. */
|
|
3747
|
+
export const outboundSchema = TwoFile$outboundSchema;
|
|
3748
|
+
/** @deprecated use `TwoFile$Outbound` instead. */
|
|
3749
|
+
export type Outbound = TwoFile$Outbound;
|
|
3750
|
+
}
|
|
3751
|
+
|
|
3752
|
+
export function twoFileToJSON(twoFile: TwoFile): string {
|
|
3753
|
+
return JSON.stringify(TwoFile$outboundSchema.parse(twoFile));
|
|
3754
|
+
}
|
|
3755
|
+
|
|
3756
|
+
export function twoFileFromJSON(
|
|
3757
|
+
jsonString: string,
|
|
3758
|
+
): SafeParseResult<TwoFile, SDKValidationError> {
|
|
3759
|
+
return safeParse(
|
|
3760
|
+
jsonString,
|
|
3761
|
+
(x) => TwoFile$inboundSchema.parse(JSON.parse(x)),
|
|
3762
|
+
`Failed to parse 'TwoFile' from JSON`,
|
|
3763
|
+
);
|
|
3764
|
+
}
|
|
3765
|
+
|
|
3766
|
+
/** @internal */
|
|
3767
|
+
export const Two4$inboundSchema: z.ZodType<Two4, z.ZodTypeDef, unknown> = z
|
|
3768
|
+
.object({
|
|
3769
|
+
type: Deployments2Messages3Content4Type$inboundSchema,
|
|
3770
|
+
file: z.lazy(() => TwoFile$inboundSchema),
|
|
3771
|
+
});
|
|
3772
|
+
|
|
3773
|
+
/** @internal */
|
|
3774
|
+
export type Two4$Outbound = {
|
|
3775
|
+
type: string;
|
|
3776
|
+
file: TwoFile$Outbound;
|
|
3777
|
+
};
|
|
3778
|
+
|
|
3779
|
+
/** @internal */
|
|
3780
|
+
export const Two4$outboundSchema: z.ZodType<Two4$Outbound, z.ZodTypeDef, Two4> =
|
|
3781
|
+
z.object({
|
|
3782
|
+
type: Deployments2Messages3Content4Type$outboundSchema,
|
|
3783
|
+
file: z.lazy(() => TwoFile$outboundSchema),
|
|
3784
|
+
});
|
|
3785
|
+
|
|
3786
|
+
/**
|
|
3787
|
+
* @internal
|
|
3788
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3789
|
+
*/
|
|
3790
|
+
export namespace Two4$ {
|
|
3791
|
+
/** @deprecated use `Two4$inboundSchema` instead. */
|
|
3792
|
+
export const inboundSchema = Two4$inboundSchema;
|
|
3793
|
+
/** @deprecated use `Two4$outboundSchema` instead. */
|
|
3794
|
+
export const outboundSchema = Two4$outboundSchema;
|
|
3795
|
+
/** @deprecated use `Two4$Outbound` instead. */
|
|
3796
|
+
export type Outbound = Two4$Outbound;
|
|
3797
|
+
}
|
|
3798
|
+
|
|
3799
|
+
export function two4ToJSON(two4: Two4): string {
|
|
3800
|
+
return JSON.stringify(Two4$outboundSchema.parse(two4));
|
|
3801
|
+
}
|
|
3802
|
+
|
|
3803
|
+
export function two4FromJSON(
|
|
3804
|
+
jsonString: string,
|
|
3805
|
+
): SafeParseResult<Two4, SDKValidationError> {
|
|
3806
|
+
return safeParse(
|
|
3807
|
+
jsonString,
|
|
3808
|
+
(x) => Two4$inboundSchema.parse(JSON.parse(x)),
|
|
3809
|
+
`Failed to parse 'Two4' from JSON`,
|
|
3810
|
+
);
|
|
3811
|
+
}
|
|
3812
|
+
|
|
3097
3813
|
/** @internal */
|
|
3098
3814
|
export const Deployments2Messages3ContentType$inboundSchema: z.ZodNativeEnum<
|
|
3099
3815
|
typeof Deployments2Messages3ContentType
|
|
@@ -3473,13 +4189,15 @@ export const DeploymentsContent2$inboundSchema: z.ZodType<
|
|
|
3473
4189
|
z.lazy(() => Two1$inboundSchema),
|
|
3474
4190
|
z.lazy(() => Deployments22$inboundSchema),
|
|
3475
4191
|
z.lazy(() => Two3$inboundSchema),
|
|
4192
|
+
z.lazy(() => Two4$inboundSchema),
|
|
3476
4193
|
]);
|
|
3477
4194
|
|
|
3478
4195
|
/** @internal */
|
|
3479
4196
|
export type DeploymentsContent2$Outbound =
|
|
3480
4197
|
| Two1$Outbound
|
|
3481
4198
|
| Deployments22$Outbound
|
|
3482
|
-
| Two3$Outbound
|
|
4199
|
+
| Two3$Outbound
|
|
4200
|
+
| Two4$Outbound;
|
|
3483
4201
|
|
|
3484
4202
|
/** @internal */
|
|
3485
4203
|
export const DeploymentsContent2$outboundSchema: z.ZodType<
|
|
@@ -3490,6 +4208,7 @@ export const DeploymentsContent2$outboundSchema: z.ZodType<
|
|
|
3490
4208
|
z.lazy(() => Two1$outboundSchema),
|
|
3491
4209
|
z.lazy(() => Deployments22$outboundSchema),
|
|
3492
4210
|
z.lazy(() => Two3$outboundSchema),
|
|
4211
|
+
z.lazy(() => Two4$outboundSchema),
|
|
3493
4212
|
]);
|
|
3494
4213
|
|
|
3495
4214
|
/**
|
|
@@ -3534,13 +4253,16 @@ export const MessagesContent$inboundSchema: z.ZodType<
|
|
|
3534
4253
|
z.lazy(() => Two1$inboundSchema),
|
|
3535
4254
|
z.lazy(() => Deployments22$inboundSchema),
|
|
3536
4255
|
z.lazy(() => Two3$inboundSchema),
|
|
4256
|
+
z.lazy(() => Two4$inboundSchema),
|
|
3537
4257
|
])),
|
|
3538
4258
|
]);
|
|
3539
4259
|
|
|
3540
4260
|
/** @internal */
|
|
3541
4261
|
export type MessagesContent$Outbound =
|
|
3542
4262
|
| string
|
|
3543
|
-
| Array<
|
|
4263
|
+
| Array<
|
|
4264
|
+
Two1$Outbound | Deployments22$Outbound | Two3$Outbound | Two4$Outbound
|
|
4265
|
+
>;
|
|
3544
4266
|
|
|
3545
4267
|
/** @internal */
|
|
3546
4268
|
export const MessagesContent$outboundSchema: z.ZodType<
|
|
@@ -3553,6 +4275,7 @@ export const MessagesContent$outboundSchema: z.ZodType<
|
|
|
3553
4275
|
z.lazy(() => Two1$outboundSchema),
|
|
3554
4276
|
z.lazy(() => Deployments22$outboundSchema),
|
|
3555
4277
|
z.lazy(() => Two3$outboundSchema),
|
|
4278
|
+
z.lazy(() => Two4$outboundSchema),
|
|
3556
4279
|
])),
|
|
3557
4280
|
]);
|
|
3558
4281
|
|
|
@@ -3599,6 +4322,7 @@ export const MessagesUserMessage$inboundSchema: z.ZodType<
|
|
|
3599
4322
|
z.lazy(() => Two1$inboundSchema),
|
|
3600
4323
|
z.lazy(() => Deployments22$inboundSchema),
|
|
3601
4324
|
z.lazy(() => Two3$inboundSchema),
|
|
4325
|
+
z.lazy(() => Two4$inboundSchema),
|
|
3602
4326
|
])),
|
|
3603
4327
|
]),
|
|
3604
4328
|
});
|
|
@@ -3609,7 +4333,9 @@ export type MessagesUserMessage$Outbound = {
|
|
|
3609
4333
|
name?: string | undefined;
|
|
3610
4334
|
content:
|
|
3611
4335
|
| string
|
|
3612
|
-
| Array<
|
|
4336
|
+
| Array<
|
|
4337
|
+
Two1$Outbound | Deployments22$Outbound | Two3$Outbound | Two4$Outbound
|
|
4338
|
+
>;
|
|
3613
4339
|
};
|
|
3614
4340
|
|
|
3615
4341
|
/** @internal */
|
|
@@ -3626,6 +4352,7 @@ export const MessagesUserMessage$outboundSchema: z.ZodType<
|
|
|
3626
4352
|
z.lazy(() => Two1$outboundSchema),
|
|
3627
4353
|
z.lazy(() => Deployments22$outboundSchema),
|
|
3628
4354
|
z.lazy(() => Two3$outboundSchema),
|
|
4355
|
+
z.lazy(() => Two4$outboundSchema),
|
|
3629
4356
|
])),
|
|
3630
4357
|
]),
|
|
3631
4358
|
});
|
|
@@ -4117,59 +4844,2788 @@ export function threadFromJSON(
|
|
|
4117
4844
|
}
|
|
4118
4845
|
|
|
4119
4846
|
/** @internal */
|
|
4120
|
-
export const
|
|
4121
|
-
|
|
4847
|
+
export const DollarOrDollarExists$inboundSchema: z.ZodType<
|
|
4848
|
+
DollarOrDollarExists,
|
|
4122
4849
|
z.ZodTypeDef,
|
|
4123
4850
|
unknown
|
|
4124
4851
|
> = z.object({
|
|
4125
|
-
|
|
4126
|
-
inputs: z.record(z.union([z.string(), z.number(), z.boolean()])).optional(),
|
|
4127
|
-
context: z.record(z.any()).optional(),
|
|
4128
|
-
prefix_messages: z.array(
|
|
4129
|
-
z.union([
|
|
4130
|
-
z.lazy(() => DeveloperMessage$inboundSchema),
|
|
4131
|
-
z.lazy(() => SystemMessage$inboundSchema),
|
|
4132
|
-
z.lazy(() => UserMessage$inboundSchema),
|
|
4133
|
-
z.lazy(() => ToolMessage$inboundSchema),
|
|
4134
|
-
z.lazy(() => AssistantMessage$inboundSchema),
|
|
4135
|
-
]),
|
|
4136
|
-
).optional(),
|
|
4137
|
-
messages: z.array(
|
|
4138
|
-
z.union([
|
|
4139
|
-
z.lazy(() => MessagesDeveloperMessage$inboundSchema),
|
|
4140
|
-
z.lazy(() => MessagesSystemMessage$inboundSchema),
|
|
4141
|
-
z.lazy(() => MessagesUserMessage$inboundSchema),
|
|
4142
|
-
z.lazy(() => MessagesToolMessage$inboundSchema),
|
|
4143
|
-
z.lazy(() => MessagesAssistantMessage$inboundSchema),
|
|
4144
|
-
]),
|
|
4145
|
-
).optional(),
|
|
4146
|
-
file_ids: z.array(z.string()).optional(),
|
|
4147
|
-
metadata: z.record(z.any()).optional(),
|
|
4148
|
-
extra_params: z.record(z.any()).optional(),
|
|
4149
|
-
documents: z.array(z.lazy(() => Documents$inboundSchema)).optional(),
|
|
4150
|
-
invoke_options: z.lazy(() => InvokeOptions$inboundSchema).optional(),
|
|
4151
|
-
thread: z.lazy(() => Thread$inboundSchema).optional(),
|
|
4852
|
+
$exists: z.boolean(),
|
|
4152
4853
|
}).transform((v) => {
|
|
4153
4854
|
return remap$(v, {
|
|
4154
|
-
"
|
|
4155
|
-
"file_ids": "fileIds",
|
|
4156
|
-
"extra_params": "extraParams",
|
|
4157
|
-
"invoke_options": "invokeOptions",
|
|
4855
|
+
"$exists": "dollarExists",
|
|
4158
4856
|
});
|
|
4159
4857
|
});
|
|
4160
4858
|
|
|
4161
4859
|
/** @internal */
|
|
4162
|
-
export type
|
|
4163
|
-
|
|
4164
|
-
|
|
4165
|
-
|
|
4166
|
-
|
|
4167
|
-
|
|
4168
|
-
|
|
4169
|
-
|
|
4170
|
-
|
|
4171
|
-
|
|
4172
|
-
|
|
4860
|
+
export type DollarOrDollarExists$Outbound = {
|
|
4861
|
+
$exists: boolean;
|
|
4862
|
+
};
|
|
4863
|
+
|
|
4864
|
+
/** @internal */
|
|
4865
|
+
export const DollarOrDollarExists$outboundSchema: z.ZodType<
|
|
4866
|
+
DollarOrDollarExists$Outbound,
|
|
4867
|
+
z.ZodTypeDef,
|
|
4868
|
+
DollarOrDollarExists
|
|
4869
|
+
> = z.object({
|
|
4870
|
+
dollarExists: z.boolean(),
|
|
4871
|
+
}).transform((v) => {
|
|
4872
|
+
return remap$(v, {
|
|
4873
|
+
dollarExists: "$exists",
|
|
4874
|
+
});
|
|
4875
|
+
});
|
|
4876
|
+
|
|
4877
|
+
/**
|
|
4878
|
+
* @internal
|
|
4879
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
4880
|
+
*/
|
|
4881
|
+
export namespace DollarOrDollarExists$ {
|
|
4882
|
+
/** @deprecated use `DollarOrDollarExists$inboundSchema` instead. */
|
|
4883
|
+
export const inboundSchema = DollarOrDollarExists$inboundSchema;
|
|
4884
|
+
/** @deprecated use `DollarOrDollarExists$outboundSchema` instead. */
|
|
4885
|
+
export const outboundSchema = DollarOrDollarExists$outboundSchema;
|
|
4886
|
+
/** @deprecated use `DollarOrDollarExists$Outbound` instead. */
|
|
4887
|
+
export type Outbound = DollarOrDollarExists$Outbound;
|
|
4888
|
+
}
|
|
4889
|
+
|
|
4890
|
+
export function dollarOrDollarExistsToJSON(
|
|
4891
|
+
dollarOrDollarExists: DollarOrDollarExists,
|
|
4892
|
+
): string {
|
|
4893
|
+
return JSON.stringify(
|
|
4894
|
+
DollarOrDollarExists$outboundSchema.parse(dollarOrDollarExists),
|
|
4895
|
+
);
|
|
4896
|
+
}
|
|
4897
|
+
|
|
4898
|
+
export function dollarOrDollarExistsFromJSON(
|
|
4899
|
+
jsonString: string,
|
|
4900
|
+
): SafeParseResult<DollarOrDollarExists, SDKValidationError> {
|
|
4901
|
+
return safeParse(
|
|
4902
|
+
jsonString,
|
|
4903
|
+
(x) => DollarOrDollarExists$inboundSchema.parse(JSON.parse(x)),
|
|
4904
|
+
`Failed to parse 'DollarOrDollarExists' from JSON`,
|
|
4905
|
+
);
|
|
4906
|
+
}
|
|
4907
|
+
|
|
4908
|
+
/** @internal */
|
|
4909
|
+
export const DollarOrDollarNin$inboundSchema: z.ZodType<
|
|
4910
|
+
DollarOrDollarNin,
|
|
4911
|
+
z.ZodTypeDef,
|
|
4912
|
+
unknown
|
|
4913
|
+
> = z.union([z.string(), z.number(), z.boolean()]);
|
|
4914
|
+
|
|
4915
|
+
/** @internal */
|
|
4916
|
+
export type DollarOrDollarNin$Outbound = string | number | boolean;
|
|
4917
|
+
|
|
4918
|
+
/** @internal */
|
|
4919
|
+
export const DollarOrDollarNin$outboundSchema: z.ZodType<
|
|
4920
|
+
DollarOrDollarNin$Outbound,
|
|
4921
|
+
z.ZodTypeDef,
|
|
4922
|
+
DollarOrDollarNin
|
|
4923
|
+
> = z.union([z.string(), z.number(), z.boolean()]);
|
|
4924
|
+
|
|
4925
|
+
/**
|
|
4926
|
+
* @internal
|
|
4927
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
4928
|
+
*/
|
|
4929
|
+
export namespace DollarOrDollarNin$ {
|
|
4930
|
+
/** @deprecated use `DollarOrDollarNin$inboundSchema` instead. */
|
|
4931
|
+
export const inboundSchema = DollarOrDollarNin$inboundSchema;
|
|
4932
|
+
/** @deprecated use `DollarOrDollarNin$outboundSchema` instead. */
|
|
4933
|
+
export const outboundSchema = DollarOrDollarNin$outboundSchema;
|
|
4934
|
+
/** @deprecated use `DollarOrDollarNin$Outbound` instead. */
|
|
4935
|
+
export type Outbound = DollarOrDollarNin$Outbound;
|
|
4936
|
+
}
|
|
4937
|
+
|
|
4938
|
+
export function dollarOrDollarNinToJSON(
|
|
4939
|
+
dollarOrDollarNin: DollarOrDollarNin,
|
|
4940
|
+
): string {
|
|
4941
|
+
return JSON.stringify(
|
|
4942
|
+
DollarOrDollarNin$outboundSchema.parse(dollarOrDollarNin),
|
|
4943
|
+
);
|
|
4944
|
+
}
|
|
4945
|
+
|
|
4946
|
+
export function dollarOrDollarNinFromJSON(
|
|
4947
|
+
jsonString: string,
|
|
4948
|
+
): SafeParseResult<DollarOrDollarNin, SDKValidationError> {
|
|
4949
|
+
return safeParse(
|
|
4950
|
+
jsonString,
|
|
4951
|
+
(x) => DollarOrDollarNin$inboundSchema.parse(JSON.parse(x)),
|
|
4952
|
+
`Failed to parse 'DollarOrDollarNin' from JSON`,
|
|
4953
|
+
);
|
|
4954
|
+
}
|
|
4955
|
+
|
|
4956
|
+
/** @internal */
|
|
4957
|
+
export const DeploymentsDollarOrDollarNin$inboundSchema: z.ZodType<
|
|
4958
|
+
DeploymentsDollarOrDollarNin,
|
|
4959
|
+
z.ZodTypeDef,
|
|
4960
|
+
unknown
|
|
4961
|
+
> = z.object({
|
|
4962
|
+
$nin: z.array(z.union([z.string(), z.number(), z.boolean()])),
|
|
4963
|
+
}).transform((v) => {
|
|
4964
|
+
return remap$(v, {
|
|
4965
|
+
"$nin": "dollarNin",
|
|
4966
|
+
});
|
|
4967
|
+
});
|
|
4968
|
+
|
|
4969
|
+
/** @internal */
|
|
4970
|
+
export type DeploymentsDollarOrDollarNin$Outbound = {
|
|
4971
|
+
$nin: Array<string | number | boolean>;
|
|
4972
|
+
};
|
|
4973
|
+
|
|
4974
|
+
/** @internal */
|
|
4975
|
+
export const DeploymentsDollarOrDollarNin$outboundSchema: z.ZodType<
|
|
4976
|
+
DeploymentsDollarOrDollarNin$Outbound,
|
|
4977
|
+
z.ZodTypeDef,
|
|
4978
|
+
DeploymentsDollarOrDollarNin
|
|
4979
|
+
> = z.object({
|
|
4980
|
+
dollarNin: z.array(z.union([z.string(), z.number(), z.boolean()])),
|
|
4981
|
+
}).transform((v) => {
|
|
4982
|
+
return remap$(v, {
|
|
4983
|
+
dollarNin: "$nin",
|
|
4984
|
+
});
|
|
4985
|
+
});
|
|
4986
|
+
|
|
4987
|
+
/**
|
|
4988
|
+
* @internal
|
|
4989
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
4990
|
+
*/
|
|
4991
|
+
export namespace DeploymentsDollarOrDollarNin$ {
|
|
4992
|
+
/** @deprecated use `DeploymentsDollarOrDollarNin$inboundSchema` instead. */
|
|
4993
|
+
export const inboundSchema = DeploymentsDollarOrDollarNin$inboundSchema;
|
|
4994
|
+
/** @deprecated use `DeploymentsDollarOrDollarNin$outboundSchema` instead. */
|
|
4995
|
+
export const outboundSchema = DeploymentsDollarOrDollarNin$outboundSchema;
|
|
4996
|
+
/** @deprecated use `DeploymentsDollarOrDollarNin$Outbound` instead. */
|
|
4997
|
+
export type Outbound = DeploymentsDollarOrDollarNin$Outbound;
|
|
4998
|
+
}
|
|
4999
|
+
|
|
5000
|
+
export function deploymentsDollarOrDollarNinToJSON(
|
|
5001
|
+
deploymentsDollarOrDollarNin: DeploymentsDollarOrDollarNin,
|
|
5002
|
+
): string {
|
|
5003
|
+
return JSON.stringify(
|
|
5004
|
+
DeploymentsDollarOrDollarNin$outboundSchema.parse(
|
|
5005
|
+
deploymentsDollarOrDollarNin,
|
|
5006
|
+
),
|
|
5007
|
+
);
|
|
5008
|
+
}
|
|
5009
|
+
|
|
5010
|
+
export function deploymentsDollarOrDollarNinFromJSON(
|
|
5011
|
+
jsonString: string,
|
|
5012
|
+
): SafeParseResult<DeploymentsDollarOrDollarNin, SDKValidationError> {
|
|
5013
|
+
return safeParse(
|
|
5014
|
+
jsonString,
|
|
5015
|
+
(x) => DeploymentsDollarOrDollarNin$inboundSchema.parse(JSON.parse(x)),
|
|
5016
|
+
`Failed to parse 'DeploymentsDollarOrDollarNin' from JSON`,
|
|
5017
|
+
);
|
|
5018
|
+
}
|
|
5019
|
+
|
|
5020
|
+
/** @internal */
|
|
5021
|
+
export const DollarOrDollarIn$inboundSchema: z.ZodType<
|
|
5022
|
+
DollarOrDollarIn,
|
|
5023
|
+
z.ZodTypeDef,
|
|
5024
|
+
unknown
|
|
5025
|
+
> = z.union([z.string(), z.number(), z.boolean()]);
|
|
5026
|
+
|
|
5027
|
+
/** @internal */
|
|
5028
|
+
export type DollarOrDollarIn$Outbound = string | number | boolean;
|
|
5029
|
+
|
|
5030
|
+
/** @internal */
|
|
5031
|
+
export const DollarOrDollarIn$outboundSchema: z.ZodType<
|
|
5032
|
+
DollarOrDollarIn$Outbound,
|
|
5033
|
+
z.ZodTypeDef,
|
|
5034
|
+
DollarOrDollarIn
|
|
5035
|
+
> = z.union([z.string(), z.number(), z.boolean()]);
|
|
5036
|
+
|
|
5037
|
+
/**
|
|
5038
|
+
* @internal
|
|
5039
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
5040
|
+
*/
|
|
5041
|
+
export namespace DollarOrDollarIn$ {
|
|
5042
|
+
/** @deprecated use `DollarOrDollarIn$inboundSchema` instead. */
|
|
5043
|
+
export const inboundSchema = DollarOrDollarIn$inboundSchema;
|
|
5044
|
+
/** @deprecated use `DollarOrDollarIn$outboundSchema` instead. */
|
|
5045
|
+
export const outboundSchema = DollarOrDollarIn$outboundSchema;
|
|
5046
|
+
/** @deprecated use `DollarOrDollarIn$Outbound` instead. */
|
|
5047
|
+
export type Outbound = DollarOrDollarIn$Outbound;
|
|
5048
|
+
}
|
|
5049
|
+
|
|
5050
|
+
export function dollarOrDollarInToJSON(
|
|
5051
|
+
dollarOrDollarIn: DollarOrDollarIn,
|
|
5052
|
+
): string {
|
|
5053
|
+
return JSON.stringify(
|
|
5054
|
+
DollarOrDollarIn$outboundSchema.parse(dollarOrDollarIn),
|
|
5055
|
+
);
|
|
5056
|
+
}
|
|
5057
|
+
|
|
5058
|
+
export function dollarOrDollarInFromJSON(
|
|
5059
|
+
jsonString: string,
|
|
5060
|
+
): SafeParseResult<DollarOrDollarIn, SDKValidationError> {
|
|
5061
|
+
return safeParse(
|
|
5062
|
+
jsonString,
|
|
5063
|
+
(x) => DollarOrDollarIn$inboundSchema.parse(JSON.parse(x)),
|
|
5064
|
+
`Failed to parse 'DollarOrDollarIn' from JSON`,
|
|
5065
|
+
);
|
|
5066
|
+
}
|
|
5067
|
+
|
|
5068
|
+
/** @internal */
|
|
5069
|
+
export const DeploymentsDollarOrDollarIn$inboundSchema: z.ZodType<
|
|
5070
|
+
DeploymentsDollarOrDollarIn,
|
|
5071
|
+
z.ZodTypeDef,
|
|
5072
|
+
unknown
|
|
5073
|
+
> = z.object({
|
|
5074
|
+
$in: z.array(z.union([z.string(), z.number(), z.boolean()])),
|
|
5075
|
+
}).transform((v) => {
|
|
5076
|
+
return remap$(v, {
|
|
5077
|
+
"$in": "dollarIn",
|
|
5078
|
+
});
|
|
5079
|
+
});
|
|
5080
|
+
|
|
5081
|
+
/** @internal */
|
|
5082
|
+
export type DeploymentsDollarOrDollarIn$Outbound = {
|
|
5083
|
+
$in: Array<string | number | boolean>;
|
|
5084
|
+
};
|
|
5085
|
+
|
|
5086
|
+
/** @internal */
|
|
5087
|
+
export const DeploymentsDollarOrDollarIn$outboundSchema: z.ZodType<
|
|
5088
|
+
DeploymentsDollarOrDollarIn$Outbound,
|
|
5089
|
+
z.ZodTypeDef,
|
|
5090
|
+
DeploymentsDollarOrDollarIn
|
|
5091
|
+
> = z.object({
|
|
5092
|
+
dollarIn: z.array(z.union([z.string(), z.number(), z.boolean()])),
|
|
5093
|
+
}).transform((v) => {
|
|
5094
|
+
return remap$(v, {
|
|
5095
|
+
dollarIn: "$in",
|
|
5096
|
+
});
|
|
5097
|
+
});
|
|
5098
|
+
|
|
5099
|
+
/**
|
|
5100
|
+
* @internal
|
|
5101
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
5102
|
+
*/
|
|
5103
|
+
export namespace DeploymentsDollarOrDollarIn$ {
|
|
5104
|
+
/** @deprecated use `DeploymentsDollarOrDollarIn$inboundSchema` instead. */
|
|
5105
|
+
export const inboundSchema = DeploymentsDollarOrDollarIn$inboundSchema;
|
|
5106
|
+
/** @deprecated use `DeploymentsDollarOrDollarIn$outboundSchema` instead. */
|
|
5107
|
+
export const outboundSchema = DeploymentsDollarOrDollarIn$outboundSchema;
|
|
5108
|
+
/** @deprecated use `DeploymentsDollarOrDollarIn$Outbound` instead. */
|
|
5109
|
+
export type Outbound = DeploymentsDollarOrDollarIn$Outbound;
|
|
5110
|
+
}
|
|
5111
|
+
|
|
5112
|
+
export function deploymentsDollarOrDollarInToJSON(
|
|
5113
|
+
deploymentsDollarOrDollarIn: DeploymentsDollarOrDollarIn,
|
|
5114
|
+
): string {
|
|
5115
|
+
return JSON.stringify(
|
|
5116
|
+
DeploymentsDollarOrDollarIn$outboundSchema.parse(
|
|
5117
|
+
deploymentsDollarOrDollarIn,
|
|
5118
|
+
),
|
|
5119
|
+
);
|
|
5120
|
+
}
|
|
5121
|
+
|
|
5122
|
+
export function deploymentsDollarOrDollarInFromJSON(
|
|
5123
|
+
jsonString: string,
|
|
5124
|
+
): SafeParseResult<DeploymentsDollarOrDollarIn, SDKValidationError> {
|
|
5125
|
+
return safeParse(
|
|
5126
|
+
jsonString,
|
|
5127
|
+
(x) => DeploymentsDollarOrDollarIn$inboundSchema.parse(JSON.parse(x)),
|
|
5128
|
+
`Failed to parse 'DeploymentsDollarOrDollarIn' from JSON`,
|
|
5129
|
+
);
|
|
5130
|
+
}
|
|
5131
|
+
|
|
5132
|
+
/** @internal */
|
|
5133
|
+
export const DollarOrDollarLte$inboundSchema: z.ZodType<
|
|
5134
|
+
DollarOrDollarLte,
|
|
5135
|
+
z.ZodTypeDef,
|
|
5136
|
+
unknown
|
|
5137
|
+
> = z.object({
|
|
5138
|
+
$lte: z.number(),
|
|
5139
|
+
}).transform((v) => {
|
|
5140
|
+
return remap$(v, {
|
|
5141
|
+
"$lte": "dollarLte",
|
|
5142
|
+
});
|
|
5143
|
+
});
|
|
5144
|
+
|
|
5145
|
+
/** @internal */
|
|
5146
|
+
export type DollarOrDollarLte$Outbound = {
|
|
5147
|
+
$lte: number;
|
|
5148
|
+
};
|
|
5149
|
+
|
|
5150
|
+
/** @internal */
|
|
5151
|
+
export const DollarOrDollarLte$outboundSchema: z.ZodType<
|
|
5152
|
+
DollarOrDollarLte$Outbound,
|
|
5153
|
+
z.ZodTypeDef,
|
|
5154
|
+
DollarOrDollarLte
|
|
5155
|
+
> = z.object({
|
|
5156
|
+
dollarLte: z.number(),
|
|
5157
|
+
}).transform((v) => {
|
|
5158
|
+
return remap$(v, {
|
|
5159
|
+
dollarLte: "$lte",
|
|
5160
|
+
});
|
|
5161
|
+
});
|
|
5162
|
+
|
|
5163
|
+
/**
|
|
5164
|
+
* @internal
|
|
5165
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
5166
|
+
*/
|
|
5167
|
+
export namespace DollarOrDollarLte$ {
|
|
5168
|
+
/** @deprecated use `DollarOrDollarLte$inboundSchema` instead. */
|
|
5169
|
+
export const inboundSchema = DollarOrDollarLte$inboundSchema;
|
|
5170
|
+
/** @deprecated use `DollarOrDollarLte$outboundSchema` instead. */
|
|
5171
|
+
export const outboundSchema = DollarOrDollarLte$outboundSchema;
|
|
5172
|
+
/** @deprecated use `DollarOrDollarLte$Outbound` instead. */
|
|
5173
|
+
export type Outbound = DollarOrDollarLte$Outbound;
|
|
5174
|
+
}
|
|
5175
|
+
|
|
5176
|
+
export function dollarOrDollarLteToJSON(
|
|
5177
|
+
dollarOrDollarLte: DollarOrDollarLte,
|
|
5178
|
+
): string {
|
|
5179
|
+
return JSON.stringify(
|
|
5180
|
+
DollarOrDollarLte$outboundSchema.parse(dollarOrDollarLte),
|
|
5181
|
+
);
|
|
5182
|
+
}
|
|
5183
|
+
|
|
5184
|
+
export function dollarOrDollarLteFromJSON(
|
|
5185
|
+
jsonString: string,
|
|
5186
|
+
): SafeParseResult<DollarOrDollarLte, SDKValidationError> {
|
|
5187
|
+
return safeParse(
|
|
5188
|
+
jsonString,
|
|
5189
|
+
(x) => DollarOrDollarLte$inboundSchema.parse(JSON.parse(x)),
|
|
5190
|
+
`Failed to parse 'DollarOrDollarLte' from JSON`,
|
|
5191
|
+
);
|
|
5192
|
+
}
|
|
5193
|
+
|
|
5194
|
+
/** @internal */
|
|
5195
|
+
export const DollarOrDollarLt$inboundSchema: z.ZodType<
|
|
5196
|
+
DollarOrDollarLt,
|
|
5197
|
+
z.ZodTypeDef,
|
|
5198
|
+
unknown
|
|
5199
|
+
> = z.object({
|
|
5200
|
+
$lt: z.number(),
|
|
5201
|
+
}).transform((v) => {
|
|
5202
|
+
return remap$(v, {
|
|
5203
|
+
"$lt": "dollarLt",
|
|
5204
|
+
});
|
|
5205
|
+
});
|
|
5206
|
+
|
|
5207
|
+
/** @internal */
|
|
5208
|
+
export type DollarOrDollarLt$Outbound = {
|
|
5209
|
+
$lt: number;
|
|
5210
|
+
};
|
|
5211
|
+
|
|
5212
|
+
/** @internal */
|
|
5213
|
+
export const DollarOrDollarLt$outboundSchema: z.ZodType<
|
|
5214
|
+
DollarOrDollarLt$Outbound,
|
|
5215
|
+
z.ZodTypeDef,
|
|
5216
|
+
DollarOrDollarLt
|
|
5217
|
+
> = z.object({
|
|
5218
|
+
dollarLt: z.number(),
|
|
5219
|
+
}).transform((v) => {
|
|
5220
|
+
return remap$(v, {
|
|
5221
|
+
dollarLt: "$lt",
|
|
5222
|
+
});
|
|
5223
|
+
});
|
|
5224
|
+
|
|
5225
|
+
/**
|
|
5226
|
+
* @internal
|
|
5227
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
5228
|
+
*/
|
|
5229
|
+
export namespace DollarOrDollarLt$ {
|
|
5230
|
+
/** @deprecated use `DollarOrDollarLt$inboundSchema` instead. */
|
|
5231
|
+
export const inboundSchema = DollarOrDollarLt$inboundSchema;
|
|
5232
|
+
/** @deprecated use `DollarOrDollarLt$outboundSchema` instead. */
|
|
5233
|
+
export const outboundSchema = DollarOrDollarLt$outboundSchema;
|
|
5234
|
+
/** @deprecated use `DollarOrDollarLt$Outbound` instead. */
|
|
5235
|
+
export type Outbound = DollarOrDollarLt$Outbound;
|
|
5236
|
+
}
|
|
5237
|
+
|
|
5238
|
+
export function dollarOrDollarLtToJSON(
|
|
5239
|
+
dollarOrDollarLt: DollarOrDollarLt,
|
|
5240
|
+
): string {
|
|
5241
|
+
return JSON.stringify(
|
|
5242
|
+
DollarOrDollarLt$outboundSchema.parse(dollarOrDollarLt),
|
|
5243
|
+
);
|
|
5244
|
+
}
|
|
5245
|
+
|
|
5246
|
+
export function dollarOrDollarLtFromJSON(
|
|
5247
|
+
jsonString: string,
|
|
5248
|
+
): SafeParseResult<DollarOrDollarLt, SDKValidationError> {
|
|
5249
|
+
return safeParse(
|
|
5250
|
+
jsonString,
|
|
5251
|
+
(x) => DollarOrDollarLt$inboundSchema.parse(JSON.parse(x)),
|
|
5252
|
+
`Failed to parse 'DollarOrDollarLt' from JSON`,
|
|
5253
|
+
);
|
|
5254
|
+
}
|
|
5255
|
+
|
|
5256
|
+
/** @internal */
|
|
5257
|
+
export const DollarOrDollarGte$inboundSchema: z.ZodType<
|
|
5258
|
+
DollarOrDollarGte,
|
|
5259
|
+
z.ZodTypeDef,
|
|
5260
|
+
unknown
|
|
5261
|
+
> = z.object({
|
|
5262
|
+
$gte: z.number(),
|
|
5263
|
+
}).transform((v) => {
|
|
5264
|
+
return remap$(v, {
|
|
5265
|
+
"$gte": "dollarGte",
|
|
5266
|
+
});
|
|
5267
|
+
});
|
|
5268
|
+
|
|
5269
|
+
/** @internal */
|
|
5270
|
+
export type DollarOrDollarGte$Outbound = {
|
|
5271
|
+
$gte: number;
|
|
5272
|
+
};
|
|
5273
|
+
|
|
5274
|
+
/** @internal */
|
|
5275
|
+
export const DollarOrDollarGte$outboundSchema: z.ZodType<
|
|
5276
|
+
DollarOrDollarGte$Outbound,
|
|
5277
|
+
z.ZodTypeDef,
|
|
5278
|
+
DollarOrDollarGte
|
|
5279
|
+
> = z.object({
|
|
5280
|
+
dollarGte: z.number(),
|
|
5281
|
+
}).transform((v) => {
|
|
5282
|
+
return remap$(v, {
|
|
5283
|
+
dollarGte: "$gte",
|
|
5284
|
+
});
|
|
5285
|
+
});
|
|
5286
|
+
|
|
5287
|
+
/**
|
|
5288
|
+
* @internal
|
|
5289
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
5290
|
+
*/
|
|
5291
|
+
export namespace DollarOrDollarGte$ {
|
|
5292
|
+
/** @deprecated use `DollarOrDollarGte$inboundSchema` instead. */
|
|
5293
|
+
export const inboundSchema = DollarOrDollarGte$inboundSchema;
|
|
5294
|
+
/** @deprecated use `DollarOrDollarGte$outboundSchema` instead. */
|
|
5295
|
+
export const outboundSchema = DollarOrDollarGte$outboundSchema;
|
|
5296
|
+
/** @deprecated use `DollarOrDollarGte$Outbound` instead. */
|
|
5297
|
+
export type Outbound = DollarOrDollarGte$Outbound;
|
|
5298
|
+
}
|
|
5299
|
+
|
|
5300
|
+
export function dollarOrDollarGteToJSON(
|
|
5301
|
+
dollarOrDollarGte: DollarOrDollarGte,
|
|
5302
|
+
): string {
|
|
5303
|
+
return JSON.stringify(
|
|
5304
|
+
DollarOrDollarGte$outboundSchema.parse(dollarOrDollarGte),
|
|
5305
|
+
);
|
|
5306
|
+
}
|
|
5307
|
+
|
|
5308
|
+
export function dollarOrDollarGteFromJSON(
|
|
5309
|
+
jsonString: string,
|
|
5310
|
+
): SafeParseResult<DollarOrDollarGte, SDKValidationError> {
|
|
5311
|
+
return safeParse(
|
|
5312
|
+
jsonString,
|
|
5313
|
+
(x) => DollarOrDollarGte$inboundSchema.parse(JSON.parse(x)),
|
|
5314
|
+
`Failed to parse 'DollarOrDollarGte' from JSON`,
|
|
5315
|
+
);
|
|
5316
|
+
}
|
|
5317
|
+
|
|
5318
|
+
/** @internal */
|
|
5319
|
+
export const DollarOr3$inboundSchema: z.ZodType<
|
|
5320
|
+
DollarOr3,
|
|
5321
|
+
z.ZodTypeDef,
|
|
5322
|
+
unknown
|
|
5323
|
+
> = z.object({
|
|
5324
|
+
$gt: z.number(),
|
|
5325
|
+
}).transform((v) => {
|
|
5326
|
+
return remap$(v, {
|
|
5327
|
+
"$gt": "dollarGt",
|
|
5328
|
+
});
|
|
5329
|
+
});
|
|
5330
|
+
|
|
5331
|
+
/** @internal */
|
|
5332
|
+
export type DollarOr3$Outbound = {
|
|
5333
|
+
$gt: number;
|
|
5334
|
+
};
|
|
5335
|
+
|
|
5336
|
+
/** @internal */
|
|
5337
|
+
export const DollarOr3$outboundSchema: z.ZodType<
|
|
5338
|
+
DollarOr3$Outbound,
|
|
5339
|
+
z.ZodTypeDef,
|
|
5340
|
+
DollarOr3
|
|
5341
|
+
> = z.object({
|
|
5342
|
+
dollarGt: z.number(),
|
|
5343
|
+
}).transform((v) => {
|
|
5344
|
+
return remap$(v, {
|
|
5345
|
+
dollarGt: "$gt",
|
|
5346
|
+
});
|
|
5347
|
+
});
|
|
5348
|
+
|
|
5349
|
+
/**
|
|
5350
|
+
* @internal
|
|
5351
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
5352
|
+
*/
|
|
5353
|
+
export namespace DollarOr3$ {
|
|
5354
|
+
/** @deprecated use `DollarOr3$inboundSchema` instead. */
|
|
5355
|
+
export const inboundSchema = DollarOr3$inboundSchema;
|
|
5356
|
+
/** @deprecated use `DollarOr3$outboundSchema` instead. */
|
|
5357
|
+
export const outboundSchema = DollarOr3$outboundSchema;
|
|
5358
|
+
/** @deprecated use `DollarOr3$Outbound` instead. */
|
|
5359
|
+
export type Outbound = DollarOr3$Outbound;
|
|
5360
|
+
}
|
|
5361
|
+
|
|
5362
|
+
export function dollarOr3ToJSON(dollarOr3: DollarOr3): string {
|
|
5363
|
+
return JSON.stringify(DollarOr3$outboundSchema.parse(dollarOr3));
|
|
5364
|
+
}
|
|
5365
|
+
|
|
5366
|
+
export function dollarOr3FromJSON(
|
|
5367
|
+
jsonString: string,
|
|
5368
|
+
): SafeParseResult<DollarOr3, SDKValidationError> {
|
|
5369
|
+
return safeParse(
|
|
5370
|
+
jsonString,
|
|
5371
|
+
(x) => DollarOr3$inboundSchema.parse(JSON.parse(x)),
|
|
5372
|
+
`Failed to parse 'DollarOr3' from JSON`,
|
|
5373
|
+
);
|
|
5374
|
+
}
|
|
5375
|
+
|
|
5376
|
+
/** @internal */
|
|
5377
|
+
export const DollarOrDollarNe$inboundSchema: z.ZodType<
|
|
5378
|
+
DollarOrDollarNe,
|
|
5379
|
+
z.ZodTypeDef,
|
|
5380
|
+
unknown
|
|
5381
|
+
> = z.union([z.string(), z.number(), z.boolean()]);
|
|
5382
|
+
|
|
5383
|
+
/** @internal */
|
|
5384
|
+
export type DollarOrDollarNe$Outbound = string | number | boolean;
|
|
5385
|
+
|
|
5386
|
+
/** @internal */
|
|
5387
|
+
export const DollarOrDollarNe$outboundSchema: z.ZodType<
|
|
5388
|
+
DollarOrDollarNe$Outbound,
|
|
5389
|
+
z.ZodTypeDef,
|
|
5390
|
+
DollarOrDollarNe
|
|
5391
|
+
> = z.union([z.string(), z.number(), z.boolean()]);
|
|
5392
|
+
|
|
5393
|
+
/**
|
|
5394
|
+
* @internal
|
|
5395
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
5396
|
+
*/
|
|
5397
|
+
export namespace DollarOrDollarNe$ {
|
|
5398
|
+
/** @deprecated use `DollarOrDollarNe$inboundSchema` instead. */
|
|
5399
|
+
export const inboundSchema = DollarOrDollarNe$inboundSchema;
|
|
5400
|
+
/** @deprecated use `DollarOrDollarNe$outboundSchema` instead. */
|
|
5401
|
+
export const outboundSchema = DollarOrDollarNe$outboundSchema;
|
|
5402
|
+
/** @deprecated use `DollarOrDollarNe$Outbound` instead. */
|
|
5403
|
+
export type Outbound = DollarOrDollarNe$Outbound;
|
|
5404
|
+
}
|
|
5405
|
+
|
|
5406
|
+
export function dollarOrDollarNeToJSON(
|
|
5407
|
+
dollarOrDollarNe: DollarOrDollarNe,
|
|
5408
|
+
): string {
|
|
5409
|
+
return JSON.stringify(
|
|
5410
|
+
DollarOrDollarNe$outboundSchema.parse(dollarOrDollarNe),
|
|
5411
|
+
);
|
|
5412
|
+
}
|
|
5413
|
+
|
|
5414
|
+
export function dollarOrDollarNeFromJSON(
|
|
5415
|
+
jsonString: string,
|
|
5416
|
+
): SafeParseResult<DollarOrDollarNe, SDKValidationError> {
|
|
5417
|
+
return safeParse(
|
|
5418
|
+
jsonString,
|
|
5419
|
+
(x) => DollarOrDollarNe$inboundSchema.parse(JSON.parse(x)),
|
|
5420
|
+
`Failed to parse 'DollarOrDollarNe' from JSON`,
|
|
5421
|
+
);
|
|
5422
|
+
}
|
|
5423
|
+
|
|
5424
|
+
/** @internal */
|
|
5425
|
+
export const DeploymentsDollarOrDollarNe$inboundSchema: z.ZodType<
|
|
5426
|
+
DeploymentsDollarOrDollarNe,
|
|
5427
|
+
z.ZodTypeDef,
|
|
5428
|
+
unknown
|
|
5429
|
+
> = z.object({
|
|
5430
|
+
$ne: z.union([z.string(), z.number(), z.boolean()]),
|
|
5431
|
+
}).transform((v) => {
|
|
5432
|
+
return remap$(v, {
|
|
5433
|
+
"$ne": "dollarNe",
|
|
5434
|
+
});
|
|
5435
|
+
});
|
|
5436
|
+
|
|
5437
|
+
/** @internal */
|
|
5438
|
+
export type DeploymentsDollarOrDollarNe$Outbound = {
|
|
5439
|
+
$ne: string | number | boolean;
|
|
5440
|
+
};
|
|
5441
|
+
|
|
5442
|
+
/** @internal */
|
|
5443
|
+
export const DeploymentsDollarOrDollarNe$outboundSchema: z.ZodType<
|
|
5444
|
+
DeploymentsDollarOrDollarNe$Outbound,
|
|
5445
|
+
z.ZodTypeDef,
|
|
5446
|
+
DeploymentsDollarOrDollarNe
|
|
5447
|
+
> = z.object({
|
|
5448
|
+
dollarNe: z.union([z.string(), z.number(), z.boolean()]),
|
|
5449
|
+
}).transform((v) => {
|
|
5450
|
+
return remap$(v, {
|
|
5451
|
+
dollarNe: "$ne",
|
|
5452
|
+
});
|
|
5453
|
+
});
|
|
5454
|
+
|
|
5455
|
+
/**
|
|
5456
|
+
* @internal
|
|
5457
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
5458
|
+
*/
|
|
5459
|
+
export namespace DeploymentsDollarOrDollarNe$ {
|
|
5460
|
+
/** @deprecated use `DeploymentsDollarOrDollarNe$inboundSchema` instead. */
|
|
5461
|
+
export const inboundSchema = DeploymentsDollarOrDollarNe$inboundSchema;
|
|
5462
|
+
/** @deprecated use `DeploymentsDollarOrDollarNe$outboundSchema` instead. */
|
|
5463
|
+
export const outboundSchema = DeploymentsDollarOrDollarNe$outboundSchema;
|
|
5464
|
+
/** @deprecated use `DeploymentsDollarOrDollarNe$Outbound` instead. */
|
|
5465
|
+
export type Outbound = DeploymentsDollarOrDollarNe$Outbound;
|
|
5466
|
+
}
|
|
5467
|
+
|
|
5468
|
+
export function deploymentsDollarOrDollarNeToJSON(
|
|
5469
|
+
deploymentsDollarOrDollarNe: DeploymentsDollarOrDollarNe,
|
|
5470
|
+
): string {
|
|
5471
|
+
return JSON.stringify(
|
|
5472
|
+
DeploymentsDollarOrDollarNe$outboundSchema.parse(
|
|
5473
|
+
deploymentsDollarOrDollarNe,
|
|
5474
|
+
),
|
|
5475
|
+
);
|
|
5476
|
+
}
|
|
5477
|
+
|
|
5478
|
+
export function deploymentsDollarOrDollarNeFromJSON(
|
|
5479
|
+
jsonString: string,
|
|
5480
|
+
): SafeParseResult<DeploymentsDollarOrDollarNe, SDKValidationError> {
|
|
5481
|
+
return safeParse(
|
|
5482
|
+
jsonString,
|
|
5483
|
+
(x) => DeploymentsDollarOrDollarNe$inboundSchema.parse(JSON.parse(x)),
|
|
5484
|
+
`Failed to parse 'DeploymentsDollarOrDollarNe' from JSON`,
|
|
5485
|
+
);
|
|
5486
|
+
}
|
|
5487
|
+
|
|
5488
|
+
/** @internal */
|
|
5489
|
+
export const DollarOrDollarEq$inboundSchema: z.ZodType<
|
|
5490
|
+
DollarOrDollarEq,
|
|
5491
|
+
z.ZodTypeDef,
|
|
5492
|
+
unknown
|
|
5493
|
+
> = z.union([z.string(), z.number(), z.boolean()]);
|
|
5494
|
+
|
|
5495
|
+
/** @internal */
|
|
5496
|
+
export type DollarOrDollarEq$Outbound = string | number | boolean;
|
|
5497
|
+
|
|
5498
|
+
/** @internal */
|
|
5499
|
+
export const DollarOrDollarEq$outboundSchema: z.ZodType<
|
|
5500
|
+
DollarOrDollarEq$Outbound,
|
|
5501
|
+
z.ZodTypeDef,
|
|
5502
|
+
DollarOrDollarEq
|
|
5503
|
+
> = z.union([z.string(), z.number(), z.boolean()]);
|
|
5504
|
+
|
|
5505
|
+
/**
|
|
5506
|
+
* @internal
|
|
5507
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
5508
|
+
*/
|
|
5509
|
+
export namespace DollarOrDollarEq$ {
|
|
5510
|
+
/** @deprecated use `DollarOrDollarEq$inboundSchema` instead. */
|
|
5511
|
+
export const inboundSchema = DollarOrDollarEq$inboundSchema;
|
|
5512
|
+
/** @deprecated use `DollarOrDollarEq$outboundSchema` instead. */
|
|
5513
|
+
export const outboundSchema = DollarOrDollarEq$outboundSchema;
|
|
5514
|
+
/** @deprecated use `DollarOrDollarEq$Outbound` instead. */
|
|
5515
|
+
export type Outbound = DollarOrDollarEq$Outbound;
|
|
5516
|
+
}
|
|
5517
|
+
|
|
5518
|
+
export function dollarOrDollarEqToJSON(
|
|
5519
|
+
dollarOrDollarEq: DollarOrDollarEq,
|
|
5520
|
+
): string {
|
|
5521
|
+
return JSON.stringify(
|
|
5522
|
+
DollarOrDollarEq$outboundSchema.parse(dollarOrDollarEq),
|
|
5523
|
+
);
|
|
5524
|
+
}
|
|
5525
|
+
|
|
5526
|
+
export function dollarOrDollarEqFromJSON(
|
|
5527
|
+
jsonString: string,
|
|
5528
|
+
): SafeParseResult<DollarOrDollarEq, SDKValidationError> {
|
|
5529
|
+
return safeParse(
|
|
5530
|
+
jsonString,
|
|
5531
|
+
(x) => DollarOrDollarEq$inboundSchema.parse(JSON.parse(x)),
|
|
5532
|
+
`Failed to parse 'DollarOrDollarEq' from JSON`,
|
|
5533
|
+
);
|
|
5534
|
+
}
|
|
5535
|
+
|
|
5536
|
+
/** @internal */
|
|
5537
|
+
export const DeploymentsDollarOrDollarEq$inboundSchema: z.ZodType<
|
|
5538
|
+
DeploymentsDollarOrDollarEq,
|
|
5539
|
+
z.ZodTypeDef,
|
|
5540
|
+
unknown
|
|
5541
|
+
> = z.object({
|
|
5542
|
+
$eq: z.union([z.string(), z.number(), z.boolean()]),
|
|
5543
|
+
}).transform((v) => {
|
|
5544
|
+
return remap$(v, {
|
|
5545
|
+
"$eq": "dollarEq",
|
|
5546
|
+
});
|
|
5547
|
+
});
|
|
5548
|
+
|
|
5549
|
+
/** @internal */
|
|
5550
|
+
export type DeploymentsDollarOrDollarEq$Outbound = {
|
|
5551
|
+
$eq: string | number | boolean;
|
|
5552
|
+
};
|
|
5553
|
+
|
|
5554
|
+
/** @internal */
|
|
5555
|
+
export const DeploymentsDollarOrDollarEq$outboundSchema: z.ZodType<
|
|
5556
|
+
DeploymentsDollarOrDollarEq$Outbound,
|
|
5557
|
+
z.ZodTypeDef,
|
|
5558
|
+
DeploymentsDollarOrDollarEq
|
|
5559
|
+
> = z.object({
|
|
5560
|
+
dollarEq: z.union([z.string(), z.number(), z.boolean()]),
|
|
5561
|
+
}).transform((v) => {
|
|
5562
|
+
return remap$(v, {
|
|
5563
|
+
dollarEq: "$eq",
|
|
5564
|
+
});
|
|
5565
|
+
});
|
|
5566
|
+
|
|
5567
|
+
/**
|
|
5568
|
+
* @internal
|
|
5569
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
5570
|
+
*/
|
|
5571
|
+
export namespace DeploymentsDollarOrDollarEq$ {
|
|
5572
|
+
/** @deprecated use `DeploymentsDollarOrDollarEq$inboundSchema` instead. */
|
|
5573
|
+
export const inboundSchema = DeploymentsDollarOrDollarEq$inboundSchema;
|
|
5574
|
+
/** @deprecated use `DeploymentsDollarOrDollarEq$outboundSchema` instead. */
|
|
5575
|
+
export const outboundSchema = DeploymentsDollarOrDollarEq$outboundSchema;
|
|
5576
|
+
/** @deprecated use `DeploymentsDollarOrDollarEq$Outbound` instead. */
|
|
5577
|
+
export type Outbound = DeploymentsDollarOrDollarEq$Outbound;
|
|
5578
|
+
}
|
|
5579
|
+
|
|
5580
|
+
export function deploymentsDollarOrDollarEqToJSON(
|
|
5581
|
+
deploymentsDollarOrDollarEq: DeploymentsDollarOrDollarEq,
|
|
5582
|
+
): string {
|
|
5583
|
+
return JSON.stringify(
|
|
5584
|
+
DeploymentsDollarOrDollarEq$outboundSchema.parse(
|
|
5585
|
+
deploymentsDollarOrDollarEq,
|
|
5586
|
+
),
|
|
5587
|
+
);
|
|
5588
|
+
}
|
|
5589
|
+
|
|
5590
|
+
export function deploymentsDollarOrDollarEqFromJSON(
|
|
5591
|
+
jsonString: string,
|
|
5592
|
+
): SafeParseResult<DeploymentsDollarOrDollarEq, SDKValidationError> {
|
|
5593
|
+
return safeParse(
|
|
5594
|
+
jsonString,
|
|
5595
|
+
(x) => DeploymentsDollarOrDollarEq$inboundSchema.parse(JSON.parse(x)),
|
|
5596
|
+
`Failed to parse 'DeploymentsDollarOrDollarEq' from JSON`,
|
|
5597
|
+
);
|
|
5598
|
+
}
|
|
5599
|
+
|
|
5600
|
+
/** @internal */
|
|
5601
|
+
export const DollarOr$inboundSchema: z.ZodType<
|
|
5602
|
+
DollarOr,
|
|
5603
|
+
z.ZodTypeDef,
|
|
5604
|
+
unknown
|
|
5605
|
+
> = z.union([
|
|
5606
|
+
z.lazy(() => DeploymentsDollarOrDollarEq$inboundSchema),
|
|
5607
|
+
z.lazy(() => DeploymentsDollarOrDollarNe$inboundSchema),
|
|
5608
|
+
z.lazy(() => DollarOr3$inboundSchema),
|
|
5609
|
+
z.lazy(() => DollarOrDollarGte$inboundSchema),
|
|
5610
|
+
z.lazy(() => DollarOrDollarLt$inboundSchema),
|
|
5611
|
+
z.lazy(() => DollarOrDollarLte$inboundSchema),
|
|
5612
|
+
z.lazy(() => DeploymentsDollarOrDollarIn$inboundSchema),
|
|
5613
|
+
z.lazy(() => DeploymentsDollarOrDollarNin$inboundSchema),
|
|
5614
|
+
z.lazy(() => DollarOrDollarExists$inboundSchema),
|
|
5615
|
+
]);
|
|
5616
|
+
|
|
5617
|
+
/** @internal */
|
|
5618
|
+
export type DollarOr$Outbound =
|
|
5619
|
+
| DeploymentsDollarOrDollarEq$Outbound
|
|
5620
|
+
| DeploymentsDollarOrDollarNe$Outbound
|
|
5621
|
+
| DollarOr3$Outbound
|
|
5622
|
+
| DollarOrDollarGte$Outbound
|
|
5623
|
+
| DollarOrDollarLt$Outbound
|
|
5624
|
+
| DollarOrDollarLte$Outbound
|
|
5625
|
+
| DeploymentsDollarOrDollarIn$Outbound
|
|
5626
|
+
| DeploymentsDollarOrDollarNin$Outbound
|
|
5627
|
+
| DollarOrDollarExists$Outbound;
|
|
5628
|
+
|
|
5629
|
+
/** @internal */
|
|
5630
|
+
export const DollarOr$outboundSchema: z.ZodType<
|
|
5631
|
+
DollarOr$Outbound,
|
|
5632
|
+
z.ZodTypeDef,
|
|
5633
|
+
DollarOr
|
|
5634
|
+
> = z.union([
|
|
5635
|
+
z.lazy(() => DeploymentsDollarOrDollarEq$outboundSchema),
|
|
5636
|
+
z.lazy(() => DeploymentsDollarOrDollarNe$outboundSchema),
|
|
5637
|
+
z.lazy(() => DollarOr3$outboundSchema),
|
|
5638
|
+
z.lazy(() => DollarOrDollarGte$outboundSchema),
|
|
5639
|
+
z.lazy(() => DollarOrDollarLt$outboundSchema),
|
|
5640
|
+
z.lazy(() => DollarOrDollarLte$outboundSchema),
|
|
5641
|
+
z.lazy(() => DeploymentsDollarOrDollarIn$outboundSchema),
|
|
5642
|
+
z.lazy(() => DeploymentsDollarOrDollarNin$outboundSchema),
|
|
5643
|
+
z.lazy(() => DollarOrDollarExists$outboundSchema),
|
|
5644
|
+
]);
|
|
5645
|
+
|
|
5646
|
+
/**
|
|
5647
|
+
* @internal
|
|
5648
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
5649
|
+
*/
|
|
5650
|
+
export namespace DollarOr$ {
|
|
5651
|
+
/** @deprecated use `DollarOr$inboundSchema` instead. */
|
|
5652
|
+
export const inboundSchema = DollarOr$inboundSchema;
|
|
5653
|
+
/** @deprecated use `DollarOr$outboundSchema` instead. */
|
|
5654
|
+
export const outboundSchema = DollarOr$outboundSchema;
|
|
5655
|
+
/** @deprecated use `DollarOr$Outbound` instead. */
|
|
5656
|
+
export type Outbound = DollarOr$Outbound;
|
|
5657
|
+
}
|
|
5658
|
+
|
|
5659
|
+
export function dollarOrToJSON(dollarOr: DollarOr): string {
|
|
5660
|
+
return JSON.stringify(DollarOr$outboundSchema.parse(dollarOr));
|
|
5661
|
+
}
|
|
5662
|
+
|
|
5663
|
+
export function dollarOrFromJSON(
|
|
5664
|
+
jsonString: string,
|
|
5665
|
+
): SafeParseResult<DollarOr, SDKValidationError> {
|
|
5666
|
+
return safeParse(
|
|
5667
|
+
jsonString,
|
|
5668
|
+
(x) => DollarOr$inboundSchema.parse(JSON.parse(x)),
|
|
5669
|
+
`Failed to parse 'DollarOr' from JSON`,
|
|
5670
|
+
);
|
|
5671
|
+
}
|
|
5672
|
+
|
|
5673
|
+
/** @internal */
|
|
5674
|
+
export const KnowledgeFilterDollarOr$inboundSchema: z.ZodType<
|
|
5675
|
+
KnowledgeFilterDollarOr,
|
|
5676
|
+
z.ZodTypeDef,
|
|
5677
|
+
unknown
|
|
5678
|
+
> = z.object({
|
|
5679
|
+
$or: z.array(
|
|
5680
|
+
z.record(z.union([
|
|
5681
|
+
z.lazy(() => DeploymentsDollarOrDollarEq$inboundSchema),
|
|
5682
|
+
z.lazy(() =>
|
|
5683
|
+
DeploymentsDollarOrDollarNe$inboundSchema
|
|
5684
|
+
),
|
|
5685
|
+
z.lazy(() => DollarOr3$inboundSchema),
|
|
5686
|
+
z.lazy(() => DollarOrDollarGte$inboundSchema),
|
|
5687
|
+
z.lazy(() => DollarOrDollarLt$inboundSchema),
|
|
5688
|
+
z.lazy(() => DollarOrDollarLte$inboundSchema),
|
|
5689
|
+
z.lazy(() => DeploymentsDollarOrDollarIn$inboundSchema),
|
|
5690
|
+
z.lazy(() => DeploymentsDollarOrDollarNin$inboundSchema),
|
|
5691
|
+
z.lazy(() => DollarOrDollarExists$inboundSchema),
|
|
5692
|
+
])),
|
|
5693
|
+
),
|
|
5694
|
+
}).transform((v) => {
|
|
5695
|
+
return remap$(v, {
|
|
5696
|
+
"$or": "dollarOr",
|
|
5697
|
+
});
|
|
5698
|
+
});
|
|
5699
|
+
|
|
5700
|
+
/** @internal */
|
|
5701
|
+
export type KnowledgeFilterDollarOr$Outbound = {
|
|
5702
|
+
$or: Array<
|
|
5703
|
+
{
|
|
5704
|
+
[k: string]:
|
|
5705
|
+
| DeploymentsDollarOrDollarEq$Outbound
|
|
5706
|
+
| DeploymentsDollarOrDollarNe$Outbound
|
|
5707
|
+
| DollarOr3$Outbound
|
|
5708
|
+
| DollarOrDollarGte$Outbound
|
|
5709
|
+
| DollarOrDollarLt$Outbound
|
|
5710
|
+
| DollarOrDollarLte$Outbound
|
|
5711
|
+
| DeploymentsDollarOrDollarIn$Outbound
|
|
5712
|
+
| DeploymentsDollarOrDollarNin$Outbound
|
|
5713
|
+
| DollarOrDollarExists$Outbound;
|
|
5714
|
+
}
|
|
5715
|
+
>;
|
|
5716
|
+
};
|
|
5717
|
+
|
|
5718
|
+
/** @internal */
|
|
5719
|
+
export const KnowledgeFilterDollarOr$outboundSchema: z.ZodType<
|
|
5720
|
+
KnowledgeFilterDollarOr$Outbound,
|
|
5721
|
+
z.ZodTypeDef,
|
|
5722
|
+
KnowledgeFilterDollarOr
|
|
5723
|
+
> = z.object({
|
|
5724
|
+
dollarOr: z.array(
|
|
5725
|
+
z.record(z.union([
|
|
5726
|
+
z.lazy(() => DeploymentsDollarOrDollarEq$outboundSchema),
|
|
5727
|
+
z.lazy(() =>
|
|
5728
|
+
DeploymentsDollarOrDollarNe$outboundSchema
|
|
5729
|
+
),
|
|
5730
|
+
z.lazy(() => DollarOr3$outboundSchema),
|
|
5731
|
+
z.lazy(() => DollarOrDollarGte$outboundSchema),
|
|
5732
|
+
z.lazy(() => DollarOrDollarLt$outboundSchema),
|
|
5733
|
+
z.lazy(() => DollarOrDollarLte$outboundSchema),
|
|
5734
|
+
z.lazy(() => DeploymentsDollarOrDollarIn$outboundSchema),
|
|
5735
|
+
z.lazy(() => DeploymentsDollarOrDollarNin$outboundSchema),
|
|
5736
|
+
z.lazy(() => DollarOrDollarExists$outboundSchema),
|
|
5737
|
+
])),
|
|
5738
|
+
),
|
|
5739
|
+
}).transform((v) => {
|
|
5740
|
+
return remap$(v, {
|
|
5741
|
+
dollarOr: "$or",
|
|
5742
|
+
});
|
|
5743
|
+
});
|
|
5744
|
+
|
|
5745
|
+
/**
|
|
5746
|
+
* @internal
|
|
5747
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
5748
|
+
*/
|
|
5749
|
+
export namespace KnowledgeFilterDollarOr$ {
|
|
5750
|
+
/** @deprecated use `KnowledgeFilterDollarOr$inboundSchema` instead. */
|
|
5751
|
+
export const inboundSchema = KnowledgeFilterDollarOr$inboundSchema;
|
|
5752
|
+
/** @deprecated use `KnowledgeFilterDollarOr$outboundSchema` instead. */
|
|
5753
|
+
export const outboundSchema = KnowledgeFilterDollarOr$outboundSchema;
|
|
5754
|
+
/** @deprecated use `KnowledgeFilterDollarOr$Outbound` instead. */
|
|
5755
|
+
export type Outbound = KnowledgeFilterDollarOr$Outbound;
|
|
5756
|
+
}
|
|
5757
|
+
|
|
5758
|
+
export function knowledgeFilterDollarOrToJSON(
|
|
5759
|
+
knowledgeFilterDollarOr: KnowledgeFilterDollarOr,
|
|
5760
|
+
): string {
|
|
5761
|
+
return JSON.stringify(
|
|
5762
|
+
KnowledgeFilterDollarOr$outboundSchema.parse(knowledgeFilterDollarOr),
|
|
5763
|
+
);
|
|
5764
|
+
}
|
|
5765
|
+
|
|
5766
|
+
export function knowledgeFilterDollarOrFromJSON(
|
|
5767
|
+
jsonString: string,
|
|
5768
|
+
): SafeParseResult<KnowledgeFilterDollarOr, SDKValidationError> {
|
|
5769
|
+
return safeParse(
|
|
5770
|
+
jsonString,
|
|
5771
|
+
(x) => KnowledgeFilterDollarOr$inboundSchema.parse(JSON.parse(x)),
|
|
5772
|
+
`Failed to parse 'KnowledgeFilterDollarOr' from JSON`,
|
|
5773
|
+
);
|
|
5774
|
+
}
|
|
5775
|
+
|
|
5776
|
+
/** @internal */
|
|
5777
|
+
export const DollarAndDollarExists$inboundSchema: z.ZodType<
|
|
5778
|
+
DollarAndDollarExists,
|
|
5779
|
+
z.ZodTypeDef,
|
|
5780
|
+
unknown
|
|
5781
|
+
> = z.object({
|
|
5782
|
+
$exists: z.boolean(),
|
|
5783
|
+
}).transform((v) => {
|
|
5784
|
+
return remap$(v, {
|
|
5785
|
+
"$exists": "dollarExists",
|
|
5786
|
+
});
|
|
5787
|
+
});
|
|
5788
|
+
|
|
5789
|
+
/** @internal */
|
|
5790
|
+
export type DollarAndDollarExists$Outbound = {
|
|
5791
|
+
$exists: boolean;
|
|
5792
|
+
};
|
|
5793
|
+
|
|
5794
|
+
/** @internal */
|
|
5795
|
+
export const DollarAndDollarExists$outboundSchema: z.ZodType<
|
|
5796
|
+
DollarAndDollarExists$Outbound,
|
|
5797
|
+
z.ZodTypeDef,
|
|
5798
|
+
DollarAndDollarExists
|
|
5799
|
+
> = z.object({
|
|
5800
|
+
dollarExists: z.boolean(),
|
|
5801
|
+
}).transform((v) => {
|
|
5802
|
+
return remap$(v, {
|
|
5803
|
+
dollarExists: "$exists",
|
|
5804
|
+
});
|
|
5805
|
+
});
|
|
5806
|
+
|
|
5807
|
+
/**
|
|
5808
|
+
* @internal
|
|
5809
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
5810
|
+
*/
|
|
5811
|
+
export namespace DollarAndDollarExists$ {
|
|
5812
|
+
/** @deprecated use `DollarAndDollarExists$inboundSchema` instead. */
|
|
5813
|
+
export const inboundSchema = DollarAndDollarExists$inboundSchema;
|
|
5814
|
+
/** @deprecated use `DollarAndDollarExists$outboundSchema` instead. */
|
|
5815
|
+
export const outboundSchema = DollarAndDollarExists$outboundSchema;
|
|
5816
|
+
/** @deprecated use `DollarAndDollarExists$Outbound` instead. */
|
|
5817
|
+
export type Outbound = DollarAndDollarExists$Outbound;
|
|
5818
|
+
}
|
|
5819
|
+
|
|
5820
|
+
export function dollarAndDollarExistsToJSON(
|
|
5821
|
+
dollarAndDollarExists: DollarAndDollarExists,
|
|
5822
|
+
): string {
|
|
5823
|
+
return JSON.stringify(
|
|
5824
|
+
DollarAndDollarExists$outboundSchema.parse(dollarAndDollarExists),
|
|
5825
|
+
);
|
|
5826
|
+
}
|
|
5827
|
+
|
|
5828
|
+
export function dollarAndDollarExistsFromJSON(
|
|
5829
|
+
jsonString: string,
|
|
5830
|
+
): SafeParseResult<DollarAndDollarExists, SDKValidationError> {
|
|
5831
|
+
return safeParse(
|
|
5832
|
+
jsonString,
|
|
5833
|
+
(x) => DollarAndDollarExists$inboundSchema.parse(JSON.parse(x)),
|
|
5834
|
+
`Failed to parse 'DollarAndDollarExists' from JSON`,
|
|
5835
|
+
);
|
|
5836
|
+
}
|
|
5837
|
+
|
|
5838
|
+
/** @internal */
|
|
5839
|
+
export const DollarAndDollarNin$inboundSchema: z.ZodType<
|
|
5840
|
+
DollarAndDollarNin,
|
|
5841
|
+
z.ZodTypeDef,
|
|
5842
|
+
unknown
|
|
5843
|
+
> = z.union([z.string(), z.number(), z.boolean()]);
|
|
5844
|
+
|
|
5845
|
+
/** @internal */
|
|
5846
|
+
export type DollarAndDollarNin$Outbound = string | number | boolean;
|
|
5847
|
+
|
|
5848
|
+
/** @internal */
|
|
5849
|
+
export const DollarAndDollarNin$outboundSchema: z.ZodType<
|
|
5850
|
+
DollarAndDollarNin$Outbound,
|
|
5851
|
+
z.ZodTypeDef,
|
|
5852
|
+
DollarAndDollarNin
|
|
5853
|
+
> = z.union([z.string(), z.number(), z.boolean()]);
|
|
5854
|
+
|
|
5855
|
+
/**
|
|
5856
|
+
* @internal
|
|
5857
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
5858
|
+
*/
|
|
5859
|
+
export namespace DollarAndDollarNin$ {
|
|
5860
|
+
/** @deprecated use `DollarAndDollarNin$inboundSchema` instead. */
|
|
5861
|
+
export const inboundSchema = DollarAndDollarNin$inboundSchema;
|
|
5862
|
+
/** @deprecated use `DollarAndDollarNin$outboundSchema` instead. */
|
|
5863
|
+
export const outboundSchema = DollarAndDollarNin$outboundSchema;
|
|
5864
|
+
/** @deprecated use `DollarAndDollarNin$Outbound` instead. */
|
|
5865
|
+
export type Outbound = DollarAndDollarNin$Outbound;
|
|
5866
|
+
}
|
|
5867
|
+
|
|
5868
|
+
export function dollarAndDollarNinToJSON(
|
|
5869
|
+
dollarAndDollarNin: DollarAndDollarNin,
|
|
5870
|
+
): string {
|
|
5871
|
+
return JSON.stringify(
|
|
5872
|
+
DollarAndDollarNin$outboundSchema.parse(dollarAndDollarNin),
|
|
5873
|
+
);
|
|
5874
|
+
}
|
|
5875
|
+
|
|
5876
|
+
export function dollarAndDollarNinFromJSON(
|
|
5877
|
+
jsonString: string,
|
|
5878
|
+
): SafeParseResult<DollarAndDollarNin, SDKValidationError> {
|
|
5879
|
+
return safeParse(
|
|
5880
|
+
jsonString,
|
|
5881
|
+
(x) => DollarAndDollarNin$inboundSchema.parse(JSON.parse(x)),
|
|
5882
|
+
`Failed to parse 'DollarAndDollarNin' from JSON`,
|
|
5883
|
+
);
|
|
5884
|
+
}
|
|
5885
|
+
|
|
5886
|
+
/** @internal */
|
|
5887
|
+
export const DeploymentsDollarAndDollarNin$inboundSchema: z.ZodType<
|
|
5888
|
+
DeploymentsDollarAndDollarNin,
|
|
5889
|
+
z.ZodTypeDef,
|
|
5890
|
+
unknown
|
|
5891
|
+
> = z.object({
|
|
5892
|
+
$nin: z.array(z.union([z.string(), z.number(), z.boolean()])),
|
|
5893
|
+
}).transform((v) => {
|
|
5894
|
+
return remap$(v, {
|
|
5895
|
+
"$nin": "dollarNin",
|
|
5896
|
+
});
|
|
5897
|
+
});
|
|
5898
|
+
|
|
5899
|
+
/** @internal */
|
|
5900
|
+
export type DeploymentsDollarAndDollarNin$Outbound = {
|
|
5901
|
+
$nin: Array<string | number | boolean>;
|
|
5902
|
+
};
|
|
5903
|
+
|
|
5904
|
+
/** @internal */
|
|
5905
|
+
export const DeploymentsDollarAndDollarNin$outboundSchema: z.ZodType<
|
|
5906
|
+
DeploymentsDollarAndDollarNin$Outbound,
|
|
5907
|
+
z.ZodTypeDef,
|
|
5908
|
+
DeploymentsDollarAndDollarNin
|
|
5909
|
+
> = z.object({
|
|
5910
|
+
dollarNin: z.array(z.union([z.string(), z.number(), z.boolean()])),
|
|
5911
|
+
}).transform((v) => {
|
|
5912
|
+
return remap$(v, {
|
|
5913
|
+
dollarNin: "$nin",
|
|
5914
|
+
});
|
|
5915
|
+
});
|
|
5916
|
+
|
|
5917
|
+
/**
|
|
5918
|
+
* @internal
|
|
5919
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
5920
|
+
*/
|
|
5921
|
+
export namespace DeploymentsDollarAndDollarNin$ {
|
|
5922
|
+
/** @deprecated use `DeploymentsDollarAndDollarNin$inboundSchema` instead. */
|
|
5923
|
+
export const inboundSchema = DeploymentsDollarAndDollarNin$inboundSchema;
|
|
5924
|
+
/** @deprecated use `DeploymentsDollarAndDollarNin$outboundSchema` instead. */
|
|
5925
|
+
export const outboundSchema = DeploymentsDollarAndDollarNin$outboundSchema;
|
|
5926
|
+
/** @deprecated use `DeploymentsDollarAndDollarNin$Outbound` instead. */
|
|
5927
|
+
export type Outbound = DeploymentsDollarAndDollarNin$Outbound;
|
|
5928
|
+
}
|
|
5929
|
+
|
|
5930
|
+
export function deploymentsDollarAndDollarNinToJSON(
|
|
5931
|
+
deploymentsDollarAndDollarNin: DeploymentsDollarAndDollarNin,
|
|
5932
|
+
): string {
|
|
5933
|
+
return JSON.stringify(
|
|
5934
|
+
DeploymentsDollarAndDollarNin$outboundSchema.parse(
|
|
5935
|
+
deploymentsDollarAndDollarNin,
|
|
5936
|
+
),
|
|
5937
|
+
);
|
|
5938
|
+
}
|
|
5939
|
+
|
|
5940
|
+
export function deploymentsDollarAndDollarNinFromJSON(
|
|
5941
|
+
jsonString: string,
|
|
5942
|
+
): SafeParseResult<DeploymentsDollarAndDollarNin, SDKValidationError> {
|
|
5943
|
+
return safeParse(
|
|
5944
|
+
jsonString,
|
|
5945
|
+
(x) => DeploymentsDollarAndDollarNin$inboundSchema.parse(JSON.parse(x)),
|
|
5946
|
+
`Failed to parse 'DeploymentsDollarAndDollarNin' from JSON`,
|
|
5947
|
+
);
|
|
5948
|
+
}
|
|
5949
|
+
|
|
5950
|
+
/** @internal */
|
|
5951
|
+
export const DollarAndDollarIn$inboundSchema: z.ZodType<
|
|
5952
|
+
DollarAndDollarIn,
|
|
5953
|
+
z.ZodTypeDef,
|
|
5954
|
+
unknown
|
|
5955
|
+
> = z.union([z.string(), z.number(), z.boolean()]);
|
|
5956
|
+
|
|
5957
|
+
/** @internal */
|
|
5958
|
+
export type DollarAndDollarIn$Outbound = string | number | boolean;
|
|
5959
|
+
|
|
5960
|
+
/** @internal */
|
|
5961
|
+
export const DollarAndDollarIn$outboundSchema: z.ZodType<
|
|
5962
|
+
DollarAndDollarIn$Outbound,
|
|
5963
|
+
z.ZodTypeDef,
|
|
5964
|
+
DollarAndDollarIn
|
|
5965
|
+
> = z.union([z.string(), z.number(), z.boolean()]);
|
|
5966
|
+
|
|
5967
|
+
/**
|
|
5968
|
+
* @internal
|
|
5969
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
5970
|
+
*/
|
|
5971
|
+
export namespace DollarAndDollarIn$ {
|
|
5972
|
+
/** @deprecated use `DollarAndDollarIn$inboundSchema` instead. */
|
|
5973
|
+
export const inboundSchema = DollarAndDollarIn$inboundSchema;
|
|
5974
|
+
/** @deprecated use `DollarAndDollarIn$outboundSchema` instead. */
|
|
5975
|
+
export const outboundSchema = DollarAndDollarIn$outboundSchema;
|
|
5976
|
+
/** @deprecated use `DollarAndDollarIn$Outbound` instead. */
|
|
5977
|
+
export type Outbound = DollarAndDollarIn$Outbound;
|
|
5978
|
+
}
|
|
5979
|
+
|
|
5980
|
+
export function dollarAndDollarInToJSON(
|
|
5981
|
+
dollarAndDollarIn: DollarAndDollarIn,
|
|
5982
|
+
): string {
|
|
5983
|
+
return JSON.stringify(
|
|
5984
|
+
DollarAndDollarIn$outboundSchema.parse(dollarAndDollarIn),
|
|
5985
|
+
);
|
|
5986
|
+
}
|
|
5987
|
+
|
|
5988
|
+
export function dollarAndDollarInFromJSON(
|
|
5989
|
+
jsonString: string,
|
|
5990
|
+
): SafeParseResult<DollarAndDollarIn, SDKValidationError> {
|
|
5991
|
+
return safeParse(
|
|
5992
|
+
jsonString,
|
|
5993
|
+
(x) => DollarAndDollarIn$inboundSchema.parse(JSON.parse(x)),
|
|
5994
|
+
`Failed to parse 'DollarAndDollarIn' from JSON`,
|
|
5995
|
+
);
|
|
5996
|
+
}
|
|
5997
|
+
|
|
5998
|
+
/** @internal */
|
|
5999
|
+
export const DeploymentsDollarAndDollarIn$inboundSchema: z.ZodType<
|
|
6000
|
+
DeploymentsDollarAndDollarIn,
|
|
6001
|
+
z.ZodTypeDef,
|
|
6002
|
+
unknown
|
|
6003
|
+
> = z.object({
|
|
6004
|
+
$in: z.array(z.union([z.string(), z.number(), z.boolean()])),
|
|
6005
|
+
}).transform((v) => {
|
|
6006
|
+
return remap$(v, {
|
|
6007
|
+
"$in": "dollarIn",
|
|
6008
|
+
});
|
|
6009
|
+
});
|
|
6010
|
+
|
|
6011
|
+
/** @internal */
|
|
6012
|
+
export type DeploymentsDollarAndDollarIn$Outbound = {
|
|
6013
|
+
$in: Array<string | number | boolean>;
|
|
6014
|
+
};
|
|
6015
|
+
|
|
6016
|
+
/** @internal */
|
|
6017
|
+
export const DeploymentsDollarAndDollarIn$outboundSchema: z.ZodType<
|
|
6018
|
+
DeploymentsDollarAndDollarIn$Outbound,
|
|
6019
|
+
z.ZodTypeDef,
|
|
6020
|
+
DeploymentsDollarAndDollarIn
|
|
6021
|
+
> = z.object({
|
|
6022
|
+
dollarIn: z.array(z.union([z.string(), z.number(), z.boolean()])),
|
|
6023
|
+
}).transform((v) => {
|
|
6024
|
+
return remap$(v, {
|
|
6025
|
+
dollarIn: "$in",
|
|
6026
|
+
});
|
|
6027
|
+
});
|
|
6028
|
+
|
|
6029
|
+
/**
|
|
6030
|
+
* @internal
|
|
6031
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
6032
|
+
*/
|
|
6033
|
+
export namespace DeploymentsDollarAndDollarIn$ {
|
|
6034
|
+
/** @deprecated use `DeploymentsDollarAndDollarIn$inboundSchema` instead. */
|
|
6035
|
+
export const inboundSchema = DeploymentsDollarAndDollarIn$inboundSchema;
|
|
6036
|
+
/** @deprecated use `DeploymentsDollarAndDollarIn$outboundSchema` instead. */
|
|
6037
|
+
export const outboundSchema = DeploymentsDollarAndDollarIn$outboundSchema;
|
|
6038
|
+
/** @deprecated use `DeploymentsDollarAndDollarIn$Outbound` instead. */
|
|
6039
|
+
export type Outbound = DeploymentsDollarAndDollarIn$Outbound;
|
|
6040
|
+
}
|
|
6041
|
+
|
|
6042
|
+
export function deploymentsDollarAndDollarInToJSON(
|
|
6043
|
+
deploymentsDollarAndDollarIn: DeploymentsDollarAndDollarIn,
|
|
6044
|
+
): string {
|
|
6045
|
+
return JSON.stringify(
|
|
6046
|
+
DeploymentsDollarAndDollarIn$outboundSchema.parse(
|
|
6047
|
+
deploymentsDollarAndDollarIn,
|
|
6048
|
+
),
|
|
6049
|
+
);
|
|
6050
|
+
}
|
|
6051
|
+
|
|
6052
|
+
export function deploymentsDollarAndDollarInFromJSON(
|
|
6053
|
+
jsonString: string,
|
|
6054
|
+
): SafeParseResult<DeploymentsDollarAndDollarIn, SDKValidationError> {
|
|
6055
|
+
return safeParse(
|
|
6056
|
+
jsonString,
|
|
6057
|
+
(x) => DeploymentsDollarAndDollarIn$inboundSchema.parse(JSON.parse(x)),
|
|
6058
|
+
`Failed to parse 'DeploymentsDollarAndDollarIn' from JSON`,
|
|
6059
|
+
);
|
|
6060
|
+
}
|
|
6061
|
+
|
|
6062
|
+
/** @internal */
|
|
6063
|
+
export const DollarAndDollarLte$inboundSchema: z.ZodType<
|
|
6064
|
+
DollarAndDollarLte,
|
|
6065
|
+
z.ZodTypeDef,
|
|
6066
|
+
unknown
|
|
6067
|
+
> = z.object({
|
|
6068
|
+
$lte: z.number(),
|
|
6069
|
+
}).transform((v) => {
|
|
6070
|
+
return remap$(v, {
|
|
6071
|
+
"$lte": "dollarLte",
|
|
6072
|
+
});
|
|
6073
|
+
});
|
|
6074
|
+
|
|
6075
|
+
/** @internal */
|
|
6076
|
+
export type DollarAndDollarLte$Outbound = {
|
|
6077
|
+
$lte: number;
|
|
6078
|
+
};
|
|
6079
|
+
|
|
6080
|
+
/** @internal */
|
|
6081
|
+
export const DollarAndDollarLte$outboundSchema: z.ZodType<
|
|
6082
|
+
DollarAndDollarLte$Outbound,
|
|
6083
|
+
z.ZodTypeDef,
|
|
6084
|
+
DollarAndDollarLte
|
|
6085
|
+
> = z.object({
|
|
6086
|
+
dollarLte: z.number(),
|
|
6087
|
+
}).transform((v) => {
|
|
6088
|
+
return remap$(v, {
|
|
6089
|
+
dollarLte: "$lte",
|
|
6090
|
+
});
|
|
6091
|
+
});
|
|
6092
|
+
|
|
6093
|
+
/**
|
|
6094
|
+
* @internal
|
|
6095
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
6096
|
+
*/
|
|
6097
|
+
export namespace DollarAndDollarLte$ {
|
|
6098
|
+
/** @deprecated use `DollarAndDollarLte$inboundSchema` instead. */
|
|
6099
|
+
export const inboundSchema = DollarAndDollarLte$inboundSchema;
|
|
6100
|
+
/** @deprecated use `DollarAndDollarLte$outboundSchema` instead. */
|
|
6101
|
+
export const outboundSchema = DollarAndDollarLte$outboundSchema;
|
|
6102
|
+
/** @deprecated use `DollarAndDollarLte$Outbound` instead. */
|
|
6103
|
+
export type Outbound = DollarAndDollarLte$Outbound;
|
|
6104
|
+
}
|
|
6105
|
+
|
|
6106
|
+
export function dollarAndDollarLteToJSON(
|
|
6107
|
+
dollarAndDollarLte: DollarAndDollarLte,
|
|
6108
|
+
): string {
|
|
6109
|
+
return JSON.stringify(
|
|
6110
|
+
DollarAndDollarLte$outboundSchema.parse(dollarAndDollarLte),
|
|
6111
|
+
);
|
|
6112
|
+
}
|
|
6113
|
+
|
|
6114
|
+
export function dollarAndDollarLteFromJSON(
|
|
6115
|
+
jsonString: string,
|
|
6116
|
+
): SafeParseResult<DollarAndDollarLte, SDKValidationError> {
|
|
6117
|
+
return safeParse(
|
|
6118
|
+
jsonString,
|
|
6119
|
+
(x) => DollarAndDollarLte$inboundSchema.parse(JSON.parse(x)),
|
|
6120
|
+
`Failed to parse 'DollarAndDollarLte' from JSON`,
|
|
6121
|
+
);
|
|
6122
|
+
}
|
|
6123
|
+
|
|
6124
|
+
/** @internal */
|
|
6125
|
+
export const DollarAndDollarLt$inboundSchema: z.ZodType<
|
|
6126
|
+
DollarAndDollarLt,
|
|
6127
|
+
z.ZodTypeDef,
|
|
6128
|
+
unknown
|
|
6129
|
+
> = z.object({
|
|
6130
|
+
$lt: z.number(),
|
|
6131
|
+
}).transform((v) => {
|
|
6132
|
+
return remap$(v, {
|
|
6133
|
+
"$lt": "dollarLt",
|
|
6134
|
+
});
|
|
6135
|
+
});
|
|
6136
|
+
|
|
6137
|
+
/** @internal */
|
|
6138
|
+
export type DollarAndDollarLt$Outbound = {
|
|
6139
|
+
$lt: number;
|
|
6140
|
+
};
|
|
6141
|
+
|
|
6142
|
+
/** @internal */
|
|
6143
|
+
export const DollarAndDollarLt$outboundSchema: z.ZodType<
|
|
6144
|
+
DollarAndDollarLt$Outbound,
|
|
6145
|
+
z.ZodTypeDef,
|
|
6146
|
+
DollarAndDollarLt
|
|
6147
|
+
> = z.object({
|
|
6148
|
+
dollarLt: z.number(),
|
|
6149
|
+
}).transform((v) => {
|
|
6150
|
+
return remap$(v, {
|
|
6151
|
+
dollarLt: "$lt",
|
|
6152
|
+
});
|
|
6153
|
+
});
|
|
6154
|
+
|
|
6155
|
+
/**
|
|
6156
|
+
* @internal
|
|
6157
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
6158
|
+
*/
|
|
6159
|
+
export namespace DollarAndDollarLt$ {
|
|
6160
|
+
/** @deprecated use `DollarAndDollarLt$inboundSchema` instead. */
|
|
6161
|
+
export const inboundSchema = DollarAndDollarLt$inboundSchema;
|
|
6162
|
+
/** @deprecated use `DollarAndDollarLt$outboundSchema` instead. */
|
|
6163
|
+
export const outboundSchema = DollarAndDollarLt$outboundSchema;
|
|
6164
|
+
/** @deprecated use `DollarAndDollarLt$Outbound` instead. */
|
|
6165
|
+
export type Outbound = DollarAndDollarLt$Outbound;
|
|
6166
|
+
}
|
|
6167
|
+
|
|
6168
|
+
export function dollarAndDollarLtToJSON(
|
|
6169
|
+
dollarAndDollarLt: DollarAndDollarLt,
|
|
6170
|
+
): string {
|
|
6171
|
+
return JSON.stringify(
|
|
6172
|
+
DollarAndDollarLt$outboundSchema.parse(dollarAndDollarLt),
|
|
6173
|
+
);
|
|
6174
|
+
}
|
|
6175
|
+
|
|
6176
|
+
export function dollarAndDollarLtFromJSON(
|
|
6177
|
+
jsonString: string,
|
|
6178
|
+
): SafeParseResult<DollarAndDollarLt, SDKValidationError> {
|
|
6179
|
+
return safeParse(
|
|
6180
|
+
jsonString,
|
|
6181
|
+
(x) => DollarAndDollarLt$inboundSchema.parse(JSON.parse(x)),
|
|
6182
|
+
`Failed to parse 'DollarAndDollarLt' from JSON`,
|
|
6183
|
+
);
|
|
6184
|
+
}
|
|
6185
|
+
|
|
6186
|
+
/** @internal */
|
|
6187
|
+
export const DollarAndDollarGte$inboundSchema: z.ZodType<
|
|
6188
|
+
DollarAndDollarGte,
|
|
6189
|
+
z.ZodTypeDef,
|
|
6190
|
+
unknown
|
|
6191
|
+
> = z.object({
|
|
6192
|
+
$gte: z.number(),
|
|
6193
|
+
}).transform((v) => {
|
|
6194
|
+
return remap$(v, {
|
|
6195
|
+
"$gte": "dollarGte",
|
|
6196
|
+
});
|
|
6197
|
+
});
|
|
6198
|
+
|
|
6199
|
+
/** @internal */
|
|
6200
|
+
export type DollarAndDollarGte$Outbound = {
|
|
6201
|
+
$gte: number;
|
|
6202
|
+
};
|
|
6203
|
+
|
|
6204
|
+
/** @internal */
|
|
6205
|
+
export const DollarAndDollarGte$outboundSchema: z.ZodType<
|
|
6206
|
+
DollarAndDollarGte$Outbound,
|
|
6207
|
+
z.ZodTypeDef,
|
|
6208
|
+
DollarAndDollarGte
|
|
6209
|
+
> = z.object({
|
|
6210
|
+
dollarGte: z.number(),
|
|
6211
|
+
}).transform((v) => {
|
|
6212
|
+
return remap$(v, {
|
|
6213
|
+
dollarGte: "$gte",
|
|
6214
|
+
});
|
|
6215
|
+
});
|
|
6216
|
+
|
|
6217
|
+
/**
|
|
6218
|
+
* @internal
|
|
6219
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
6220
|
+
*/
|
|
6221
|
+
export namespace DollarAndDollarGte$ {
|
|
6222
|
+
/** @deprecated use `DollarAndDollarGte$inboundSchema` instead. */
|
|
6223
|
+
export const inboundSchema = DollarAndDollarGte$inboundSchema;
|
|
6224
|
+
/** @deprecated use `DollarAndDollarGte$outboundSchema` instead. */
|
|
6225
|
+
export const outboundSchema = DollarAndDollarGte$outboundSchema;
|
|
6226
|
+
/** @deprecated use `DollarAndDollarGte$Outbound` instead. */
|
|
6227
|
+
export type Outbound = DollarAndDollarGte$Outbound;
|
|
6228
|
+
}
|
|
6229
|
+
|
|
6230
|
+
export function dollarAndDollarGteToJSON(
|
|
6231
|
+
dollarAndDollarGte: DollarAndDollarGte,
|
|
6232
|
+
): string {
|
|
6233
|
+
return JSON.stringify(
|
|
6234
|
+
DollarAndDollarGte$outboundSchema.parse(dollarAndDollarGte),
|
|
6235
|
+
);
|
|
6236
|
+
}
|
|
6237
|
+
|
|
6238
|
+
export function dollarAndDollarGteFromJSON(
|
|
6239
|
+
jsonString: string,
|
|
6240
|
+
): SafeParseResult<DollarAndDollarGte, SDKValidationError> {
|
|
6241
|
+
return safeParse(
|
|
6242
|
+
jsonString,
|
|
6243
|
+
(x) => DollarAndDollarGte$inboundSchema.parse(JSON.parse(x)),
|
|
6244
|
+
`Failed to parse 'DollarAndDollarGte' from JSON`,
|
|
6245
|
+
);
|
|
6246
|
+
}
|
|
6247
|
+
|
|
6248
|
+
/** @internal */
|
|
6249
|
+
export const DollarAnd3$inboundSchema: z.ZodType<
|
|
6250
|
+
DollarAnd3,
|
|
6251
|
+
z.ZodTypeDef,
|
|
6252
|
+
unknown
|
|
6253
|
+
> = z.object({
|
|
6254
|
+
$gt: z.number(),
|
|
6255
|
+
}).transform((v) => {
|
|
6256
|
+
return remap$(v, {
|
|
6257
|
+
"$gt": "dollarGt",
|
|
6258
|
+
});
|
|
6259
|
+
});
|
|
6260
|
+
|
|
6261
|
+
/** @internal */
|
|
6262
|
+
export type DollarAnd3$Outbound = {
|
|
6263
|
+
$gt: number;
|
|
6264
|
+
};
|
|
6265
|
+
|
|
6266
|
+
/** @internal */
|
|
6267
|
+
export const DollarAnd3$outboundSchema: z.ZodType<
|
|
6268
|
+
DollarAnd3$Outbound,
|
|
6269
|
+
z.ZodTypeDef,
|
|
6270
|
+
DollarAnd3
|
|
6271
|
+
> = z.object({
|
|
6272
|
+
dollarGt: z.number(),
|
|
6273
|
+
}).transform((v) => {
|
|
6274
|
+
return remap$(v, {
|
|
6275
|
+
dollarGt: "$gt",
|
|
6276
|
+
});
|
|
6277
|
+
});
|
|
6278
|
+
|
|
6279
|
+
/**
|
|
6280
|
+
* @internal
|
|
6281
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
6282
|
+
*/
|
|
6283
|
+
export namespace DollarAnd3$ {
|
|
6284
|
+
/** @deprecated use `DollarAnd3$inboundSchema` instead. */
|
|
6285
|
+
export const inboundSchema = DollarAnd3$inboundSchema;
|
|
6286
|
+
/** @deprecated use `DollarAnd3$outboundSchema` instead. */
|
|
6287
|
+
export const outboundSchema = DollarAnd3$outboundSchema;
|
|
6288
|
+
/** @deprecated use `DollarAnd3$Outbound` instead. */
|
|
6289
|
+
export type Outbound = DollarAnd3$Outbound;
|
|
6290
|
+
}
|
|
6291
|
+
|
|
6292
|
+
export function dollarAnd3ToJSON(dollarAnd3: DollarAnd3): string {
|
|
6293
|
+
return JSON.stringify(DollarAnd3$outboundSchema.parse(dollarAnd3));
|
|
6294
|
+
}
|
|
6295
|
+
|
|
6296
|
+
export function dollarAnd3FromJSON(
|
|
6297
|
+
jsonString: string,
|
|
6298
|
+
): SafeParseResult<DollarAnd3, SDKValidationError> {
|
|
6299
|
+
return safeParse(
|
|
6300
|
+
jsonString,
|
|
6301
|
+
(x) => DollarAnd3$inboundSchema.parse(JSON.parse(x)),
|
|
6302
|
+
`Failed to parse 'DollarAnd3' from JSON`,
|
|
6303
|
+
);
|
|
6304
|
+
}
|
|
6305
|
+
|
|
6306
|
+
/** @internal */
|
|
6307
|
+
export const DollarAndDollarNe$inboundSchema: z.ZodType<
|
|
6308
|
+
DollarAndDollarNe,
|
|
6309
|
+
z.ZodTypeDef,
|
|
6310
|
+
unknown
|
|
6311
|
+
> = z.union([z.string(), z.number(), z.boolean()]);
|
|
6312
|
+
|
|
6313
|
+
/** @internal */
|
|
6314
|
+
export type DollarAndDollarNe$Outbound = string | number | boolean;
|
|
6315
|
+
|
|
6316
|
+
/** @internal */
|
|
6317
|
+
export const DollarAndDollarNe$outboundSchema: z.ZodType<
|
|
6318
|
+
DollarAndDollarNe$Outbound,
|
|
6319
|
+
z.ZodTypeDef,
|
|
6320
|
+
DollarAndDollarNe
|
|
6321
|
+
> = z.union([z.string(), z.number(), z.boolean()]);
|
|
6322
|
+
|
|
6323
|
+
/**
|
|
6324
|
+
* @internal
|
|
6325
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
6326
|
+
*/
|
|
6327
|
+
export namespace DollarAndDollarNe$ {
|
|
6328
|
+
/** @deprecated use `DollarAndDollarNe$inboundSchema` instead. */
|
|
6329
|
+
export const inboundSchema = DollarAndDollarNe$inboundSchema;
|
|
6330
|
+
/** @deprecated use `DollarAndDollarNe$outboundSchema` instead. */
|
|
6331
|
+
export const outboundSchema = DollarAndDollarNe$outboundSchema;
|
|
6332
|
+
/** @deprecated use `DollarAndDollarNe$Outbound` instead. */
|
|
6333
|
+
export type Outbound = DollarAndDollarNe$Outbound;
|
|
6334
|
+
}
|
|
6335
|
+
|
|
6336
|
+
export function dollarAndDollarNeToJSON(
|
|
6337
|
+
dollarAndDollarNe: DollarAndDollarNe,
|
|
6338
|
+
): string {
|
|
6339
|
+
return JSON.stringify(
|
|
6340
|
+
DollarAndDollarNe$outboundSchema.parse(dollarAndDollarNe),
|
|
6341
|
+
);
|
|
6342
|
+
}
|
|
6343
|
+
|
|
6344
|
+
export function dollarAndDollarNeFromJSON(
|
|
6345
|
+
jsonString: string,
|
|
6346
|
+
): SafeParseResult<DollarAndDollarNe, SDKValidationError> {
|
|
6347
|
+
return safeParse(
|
|
6348
|
+
jsonString,
|
|
6349
|
+
(x) => DollarAndDollarNe$inboundSchema.parse(JSON.parse(x)),
|
|
6350
|
+
`Failed to parse 'DollarAndDollarNe' from JSON`,
|
|
6351
|
+
);
|
|
6352
|
+
}
|
|
6353
|
+
|
|
6354
|
+
/** @internal */
|
|
6355
|
+
export const DeploymentsDollarAndDollarNe$inboundSchema: z.ZodType<
|
|
6356
|
+
DeploymentsDollarAndDollarNe,
|
|
6357
|
+
z.ZodTypeDef,
|
|
6358
|
+
unknown
|
|
6359
|
+
> = z.object({
|
|
6360
|
+
$ne: z.union([z.string(), z.number(), z.boolean()]),
|
|
6361
|
+
}).transform((v) => {
|
|
6362
|
+
return remap$(v, {
|
|
6363
|
+
"$ne": "dollarNe",
|
|
6364
|
+
});
|
|
6365
|
+
});
|
|
6366
|
+
|
|
6367
|
+
/** @internal */
|
|
6368
|
+
export type DeploymentsDollarAndDollarNe$Outbound = {
|
|
6369
|
+
$ne: string | number | boolean;
|
|
6370
|
+
};
|
|
6371
|
+
|
|
6372
|
+
/** @internal */
|
|
6373
|
+
export const DeploymentsDollarAndDollarNe$outboundSchema: z.ZodType<
|
|
6374
|
+
DeploymentsDollarAndDollarNe$Outbound,
|
|
6375
|
+
z.ZodTypeDef,
|
|
6376
|
+
DeploymentsDollarAndDollarNe
|
|
6377
|
+
> = z.object({
|
|
6378
|
+
dollarNe: z.union([z.string(), z.number(), z.boolean()]),
|
|
6379
|
+
}).transform((v) => {
|
|
6380
|
+
return remap$(v, {
|
|
6381
|
+
dollarNe: "$ne",
|
|
6382
|
+
});
|
|
6383
|
+
});
|
|
6384
|
+
|
|
6385
|
+
/**
|
|
6386
|
+
* @internal
|
|
6387
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
6388
|
+
*/
|
|
6389
|
+
export namespace DeploymentsDollarAndDollarNe$ {
|
|
6390
|
+
/** @deprecated use `DeploymentsDollarAndDollarNe$inboundSchema` instead. */
|
|
6391
|
+
export const inboundSchema = DeploymentsDollarAndDollarNe$inboundSchema;
|
|
6392
|
+
/** @deprecated use `DeploymentsDollarAndDollarNe$outboundSchema` instead. */
|
|
6393
|
+
export const outboundSchema = DeploymentsDollarAndDollarNe$outboundSchema;
|
|
6394
|
+
/** @deprecated use `DeploymentsDollarAndDollarNe$Outbound` instead. */
|
|
6395
|
+
export type Outbound = DeploymentsDollarAndDollarNe$Outbound;
|
|
6396
|
+
}
|
|
6397
|
+
|
|
6398
|
+
export function deploymentsDollarAndDollarNeToJSON(
|
|
6399
|
+
deploymentsDollarAndDollarNe: DeploymentsDollarAndDollarNe,
|
|
6400
|
+
): string {
|
|
6401
|
+
return JSON.stringify(
|
|
6402
|
+
DeploymentsDollarAndDollarNe$outboundSchema.parse(
|
|
6403
|
+
deploymentsDollarAndDollarNe,
|
|
6404
|
+
),
|
|
6405
|
+
);
|
|
6406
|
+
}
|
|
6407
|
+
|
|
6408
|
+
export function deploymentsDollarAndDollarNeFromJSON(
|
|
6409
|
+
jsonString: string,
|
|
6410
|
+
): SafeParseResult<DeploymentsDollarAndDollarNe, SDKValidationError> {
|
|
6411
|
+
return safeParse(
|
|
6412
|
+
jsonString,
|
|
6413
|
+
(x) => DeploymentsDollarAndDollarNe$inboundSchema.parse(JSON.parse(x)),
|
|
6414
|
+
`Failed to parse 'DeploymentsDollarAndDollarNe' from JSON`,
|
|
6415
|
+
);
|
|
6416
|
+
}
|
|
6417
|
+
|
|
6418
|
+
/** @internal */
|
|
6419
|
+
export const DollarAndDollarEq$inboundSchema: z.ZodType<
|
|
6420
|
+
DollarAndDollarEq,
|
|
6421
|
+
z.ZodTypeDef,
|
|
6422
|
+
unknown
|
|
6423
|
+
> = z.union([z.string(), z.number(), z.boolean()]);
|
|
6424
|
+
|
|
6425
|
+
/** @internal */
|
|
6426
|
+
export type DollarAndDollarEq$Outbound = string | number | boolean;
|
|
6427
|
+
|
|
6428
|
+
/** @internal */
|
|
6429
|
+
export const DollarAndDollarEq$outboundSchema: z.ZodType<
|
|
6430
|
+
DollarAndDollarEq$Outbound,
|
|
6431
|
+
z.ZodTypeDef,
|
|
6432
|
+
DollarAndDollarEq
|
|
6433
|
+
> = z.union([z.string(), z.number(), z.boolean()]);
|
|
6434
|
+
|
|
6435
|
+
/**
|
|
6436
|
+
* @internal
|
|
6437
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
6438
|
+
*/
|
|
6439
|
+
export namespace DollarAndDollarEq$ {
|
|
6440
|
+
/** @deprecated use `DollarAndDollarEq$inboundSchema` instead. */
|
|
6441
|
+
export const inboundSchema = DollarAndDollarEq$inboundSchema;
|
|
6442
|
+
/** @deprecated use `DollarAndDollarEq$outboundSchema` instead. */
|
|
6443
|
+
export const outboundSchema = DollarAndDollarEq$outboundSchema;
|
|
6444
|
+
/** @deprecated use `DollarAndDollarEq$Outbound` instead. */
|
|
6445
|
+
export type Outbound = DollarAndDollarEq$Outbound;
|
|
6446
|
+
}
|
|
6447
|
+
|
|
6448
|
+
export function dollarAndDollarEqToJSON(
|
|
6449
|
+
dollarAndDollarEq: DollarAndDollarEq,
|
|
6450
|
+
): string {
|
|
6451
|
+
return JSON.stringify(
|
|
6452
|
+
DollarAndDollarEq$outboundSchema.parse(dollarAndDollarEq),
|
|
6453
|
+
);
|
|
6454
|
+
}
|
|
6455
|
+
|
|
6456
|
+
export function dollarAndDollarEqFromJSON(
|
|
6457
|
+
jsonString: string,
|
|
6458
|
+
): SafeParseResult<DollarAndDollarEq, SDKValidationError> {
|
|
6459
|
+
return safeParse(
|
|
6460
|
+
jsonString,
|
|
6461
|
+
(x) => DollarAndDollarEq$inboundSchema.parse(JSON.parse(x)),
|
|
6462
|
+
`Failed to parse 'DollarAndDollarEq' from JSON`,
|
|
6463
|
+
);
|
|
6464
|
+
}
|
|
6465
|
+
|
|
6466
|
+
/** @internal */
|
|
6467
|
+
export const DeploymentsDollarAndDollarEq$inboundSchema: z.ZodType<
|
|
6468
|
+
DeploymentsDollarAndDollarEq,
|
|
6469
|
+
z.ZodTypeDef,
|
|
6470
|
+
unknown
|
|
6471
|
+
> = z.object({
|
|
6472
|
+
$eq: z.union([z.string(), z.number(), z.boolean()]),
|
|
6473
|
+
}).transform((v) => {
|
|
6474
|
+
return remap$(v, {
|
|
6475
|
+
"$eq": "dollarEq",
|
|
6476
|
+
});
|
|
6477
|
+
});
|
|
6478
|
+
|
|
6479
|
+
/** @internal */
|
|
6480
|
+
export type DeploymentsDollarAndDollarEq$Outbound = {
|
|
6481
|
+
$eq: string | number | boolean;
|
|
6482
|
+
};
|
|
6483
|
+
|
|
6484
|
+
/** @internal */
|
|
6485
|
+
export const DeploymentsDollarAndDollarEq$outboundSchema: z.ZodType<
|
|
6486
|
+
DeploymentsDollarAndDollarEq$Outbound,
|
|
6487
|
+
z.ZodTypeDef,
|
|
6488
|
+
DeploymentsDollarAndDollarEq
|
|
6489
|
+
> = z.object({
|
|
6490
|
+
dollarEq: z.union([z.string(), z.number(), z.boolean()]),
|
|
6491
|
+
}).transform((v) => {
|
|
6492
|
+
return remap$(v, {
|
|
6493
|
+
dollarEq: "$eq",
|
|
6494
|
+
});
|
|
6495
|
+
});
|
|
6496
|
+
|
|
6497
|
+
/**
|
|
6498
|
+
* @internal
|
|
6499
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
6500
|
+
*/
|
|
6501
|
+
export namespace DeploymentsDollarAndDollarEq$ {
|
|
6502
|
+
/** @deprecated use `DeploymentsDollarAndDollarEq$inboundSchema` instead. */
|
|
6503
|
+
export const inboundSchema = DeploymentsDollarAndDollarEq$inboundSchema;
|
|
6504
|
+
/** @deprecated use `DeploymentsDollarAndDollarEq$outboundSchema` instead. */
|
|
6505
|
+
export const outboundSchema = DeploymentsDollarAndDollarEq$outboundSchema;
|
|
6506
|
+
/** @deprecated use `DeploymentsDollarAndDollarEq$Outbound` instead. */
|
|
6507
|
+
export type Outbound = DeploymentsDollarAndDollarEq$Outbound;
|
|
6508
|
+
}
|
|
6509
|
+
|
|
6510
|
+
export function deploymentsDollarAndDollarEqToJSON(
|
|
6511
|
+
deploymentsDollarAndDollarEq: DeploymentsDollarAndDollarEq,
|
|
6512
|
+
): string {
|
|
6513
|
+
return JSON.stringify(
|
|
6514
|
+
DeploymentsDollarAndDollarEq$outboundSchema.parse(
|
|
6515
|
+
deploymentsDollarAndDollarEq,
|
|
6516
|
+
),
|
|
6517
|
+
);
|
|
6518
|
+
}
|
|
6519
|
+
|
|
6520
|
+
export function deploymentsDollarAndDollarEqFromJSON(
|
|
6521
|
+
jsonString: string,
|
|
6522
|
+
): SafeParseResult<DeploymentsDollarAndDollarEq, SDKValidationError> {
|
|
6523
|
+
return safeParse(
|
|
6524
|
+
jsonString,
|
|
6525
|
+
(x) => DeploymentsDollarAndDollarEq$inboundSchema.parse(JSON.parse(x)),
|
|
6526
|
+
`Failed to parse 'DeploymentsDollarAndDollarEq' from JSON`,
|
|
6527
|
+
);
|
|
6528
|
+
}
|
|
6529
|
+
|
|
6530
|
+
/** @internal */
|
|
6531
|
+
export const DollarAnd$inboundSchema: z.ZodType<
|
|
6532
|
+
DollarAnd,
|
|
6533
|
+
z.ZodTypeDef,
|
|
6534
|
+
unknown
|
|
6535
|
+
> = z.union([
|
|
6536
|
+
z.lazy(() => DeploymentsDollarAndDollarEq$inboundSchema),
|
|
6537
|
+
z.lazy(() => DeploymentsDollarAndDollarNe$inboundSchema),
|
|
6538
|
+
z.lazy(() => DollarAnd3$inboundSchema),
|
|
6539
|
+
z.lazy(() => DollarAndDollarGte$inboundSchema),
|
|
6540
|
+
z.lazy(() => DollarAndDollarLt$inboundSchema),
|
|
6541
|
+
z.lazy(() => DollarAndDollarLte$inboundSchema),
|
|
6542
|
+
z.lazy(() => DeploymentsDollarAndDollarIn$inboundSchema),
|
|
6543
|
+
z.lazy(() => DeploymentsDollarAndDollarNin$inboundSchema),
|
|
6544
|
+
z.lazy(() => DollarAndDollarExists$inboundSchema),
|
|
6545
|
+
]);
|
|
6546
|
+
|
|
6547
|
+
/** @internal */
|
|
6548
|
+
export type DollarAnd$Outbound =
|
|
6549
|
+
| DeploymentsDollarAndDollarEq$Outbound
|
|
6550
|
+
| DeploymentsDollarAndDollarNe$Outbound
|
|
6551
|
+
| DollarAnd3$Outbound
|
|
6552
|
+
| DollarAndDollarGte$Outbound
|
|
6553
|
+
| DollarAndDollarLt$Outbound
|
|
6554
|
+
| DollarAndDollarLte$Outbound
|
|
6555
|
+
| DeploymentsDollarAndDollarIn$Outbound
|
|
6556
|
+
| DeploymentsDollarAndDollarNin$Outbound
|
|
6557
|
+
| DollarAndDollarExists$Outbound;
|
|
6558
|
+
|
|
6559
|
+
/** @internal */
|
|
6560
|
+
export const DollarAnd$outboundSchema: z.ZodType<
|
|
6561
|
+
DollarAnd$Outbound,
|
|
6562
|
+
z.ZodTypeDef,
|
|
6563
|
+
DollarAnd
|
|
6564
|
+
> = z.union([
|
|
6565
|
+
z.lazy(() => DeploymentsDollarAndDollarEq$outboundSchema),
|
|
6566
|
+
z.lazy(() => DeploymentsDollarAndDollarNe$outboundSchema),
|
|
6567
|
+
z.lazy(() => DollarAnd3$outboundSchema),
|
|
6568
|
+
z.lazy(() => DollarAndDollarGte$outboundSchema),
|
|
6569
|
+
z.lazy(() => DollarAndDollarLt$outboundSchema),
|
|
6570
|
+
z.lazy(() => DollarAndDollarLte$outboundSchema),
|
|
6571
|
+
z.lazy(() => DeploymentsDollarAndDollarIn$outboundSchema),
|
|
6572
|
+
z.lazy(() => DeploymentsDollarAndDollarNin$outboundSchema),
|
|
6573
|
+
z.lazy(() => DollarAndDollarExists$outboundSchema),
|
|
6574
|
+
]);
|
|
6575
|
+
|
|
6576
|
+
/**
|
|
6577
|
+
* @internal
|
|
6578
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
6579
|
+
*/
|
|
6580
|
+
export namespace DollarAnd$ {
|
|
6581
|
+
/** @deprecated use `DollarAnd$inboundSchema` instead. */
|
|
6582
|
+
export const inboundSchema = DollarAnd$inboundSchema;
|
|
6583
|
+
/** @deprecated use `DollarAnd$outboundSchema` instead. */
|
|
6584
|
+
export const outboundSchema = DollarAnd$outboundSchema;
|
|
6585
|
+
/** @deprecated use `DollarAnd$Outbound` instead. */
|
|
6586
|
+
export type Outbound = DollarAnd$Outbound;
|
|
6587
|
+
}
|
|
6588
|
+
|
|
6589
|
+
export function dollarAndToJSON(dollarAnd: DollarAnd): string {
|
|
6590
|
+
return JSON.stringify(DollarAnd$outboundSchema.parse(dollarAnd));
|
|
6591
|
+
}
|
|
6592
|
+
|
|
6593
|
+
export function dollarAndFromJSON(
|
|
6594
|
+
jsonString: string,
|
|
6595
|
+
): SafeParseResult<DollarAnd, SDKValidationError> {
|
|
6596
|
+
return safeParse(
|
|
6597
|
+
jsonString,
|
|
6598
|
+
(x) => DollarAnd$inboundSchema.parse(JSON.parse(x)),
|
|
6599
|
+
`Failed to parse 'DollarAnd' from JSON`,
|
|
6600
|
+
);
|
|
6601
|
+
}
|
|
6602
|
+
|
|
6603
|
+
/** @internal */
|
|
6604
|
+
export const KnowledgeFilterDollarAnd$inboundSchema: z.ZodType<
|
|
6605
|
+
KnowledgeFilterDollarAnd,
|
|
6606
|
+
z.ZodTypeDef,
|
|
6607
|
+
unknown
|
|
6608
|
+
> = z.object({
|
|
6609
|
+
$and: z.array(
|
|
6610
|
+
z.record(z.union([
|
|
6611
|
+
z.lazy(() => DeploymentsDollarAndDollarEq$inboundSchema),
|
|
6612
|
+
z.lazy(() =>
|
|
6613
|
+
DeploymentsDollarAndDollarNe$inboundSchema
|
|
6614
|
+
),
|
|
6615
|
+
z.lazy(() => DollarAnd3$inboundSchema),
|
|
6616
|
+
z.lazy(() => DollarAndDollarGte$inboundSchema),
|
|
6617
|
+
z.lazy(() => DollarAndDollarLt$inboundSchema),
|
|
6618
|
+
z.lazy(() => DollarAndDollarLte$inboundSchema),
|
|
6619
|
+
z.lazy(() => DeploymentsDollarAndDollarIn$inboundSchema),
|
|
6620
|
+
z.lazy(() => DeploymentsDollarAndDollarNin$inboundSchema),
|
|
6621
|
+
z.lazy(() => DollarAndDollarExists$inboundSchema),
|
|
6622
|
+
])),
|
|
6623
|
+
),
|
|
6624
|
+
}).transform((v) => {
|
|
6625
|
+
return remap$(v, {
|
|
6626
|
+
"$and": "dollarAnd",
|
|
6627
|
+
});
|
|
6628
|
+
});
|
|
6629
|
+
|
|
6630
|
+
/** @internal */
|
|
6631
|
+
export type KnowledgeFilterDollarAnd$Outbound = {
|
|
6632
|
+
$and: Array<
|
|
6633
|
+
{
|
|
6634
|
+
[k: string]:
|
|
6635
|
+
| DeploymentsDollarAndDollarEq$Outbound
|
|
6636
|
+
| DeploymentsDollarAndDollarNe$Outbound
|
|
6637
|
+
| DollarAnd3$Outbound
|
|
6638
|
+
| DollarAndDollarGte$Outbound
|
|
6639
|
+
| DollarAndDollarLt$Outbound
|
|
6640
|
+
| DollarAndDollarLte$Outbound
|
|
6641
|
+
| DeploymentsDollarAndDollarIn$Outbound
|
|
6642
|
+
| DeploymentsDollarAndDollarNin$Outbound
|
|
6643
|
+
| DollarAndDollarExists$Outbound;
|
|
6644
|
+
}
|
|
6645
|
+
>;
|
|
6646
|
+
};
|
|
6647
|
+
|
|
6648
|
+
/** @internal */
|
|
6649
|
+
export const KnowledgeFilterDollarAnd$outboundSchema: z.ZodType<
|
|
6650
|
+
KnowledgeFilterDollarAnd$Outbound,
|
|
6651
|
+
z.ZodTypeDef,
|
|
6652
|
+
KnowledgeFilterDollarAnd
|
|
6653
|
+
> = z.object({
|
|
6654
|
+
dollarAnd: z.array(
|
|
6655
|
+
z.record(z.union([
|
|
6656
|
+
z.lazy(() => DeploymentsDollarAndDollarEq$outboundSchema),
|
|
6657
|
+
z.lazy(() =>
|
|
6658
|
+
DeploymentsDollarAndDollarNe$outboundSchema
|
|
6659
|
+
),
|
|
6660
|
+
z.lazy(() => DollarAnd3$outboundSchema),
|
|
6661
|
+
z.lazy(() => DollarAndDollarGte$outboundSchema),
|
|
6662
|
+
z.lazy(() => DollarAndDollarLt$outboundSchema),
|
|
6663
|
+
z.lazy(() => DollarAndDollarLte$outboundSchema),
|
|
6664
|
+
z.lazy(() => DeploymentsDollarAndDollarIn$outboundSchema),
|
|
6665
|
+
z.lazy(() => DeploymentsDollarAndDollarNin$outboundSchema),
|
|
6666
|
+
z.lazy(() => DollarAndDollarExists$outboundSchema),
|
|
6667
|
+
])),
|
|
6668
|
+
),
|
|
6669
|
+
}).transform((v) => {
|
|
6670
|
+
return remap$(v, {
|
|
6671
|
+
dollarAnd: "$and",
|
|
6672
|
+
});
|
|
6673
|
+
});
|
|
6674
|
+
|
|
6675
|
+
/**
|
|
6676
|
+
* @internal
|
|
6677
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
6678
|
+
*/
|
|
6679
|
+
export namespace KnowledgeFilterDollarAnd$ {
|
|
6680
|
+
/** @deprecated use `KnowledgeFilterDollarAnd$inboundSchema` instead. */
|
|
6681
|
+
export const inboundSchema = KnowledgeFilterDollarAnd$inboundSchema;
|
|
6682
|
+
/** @deprecated use `KnowledgeFilterDollarAnd$outboundSchema` instead. */
|
|
6683
|
+
export const outboundSchema = KnowledgeFilterDollarAnd$outboundSchema;
|
|
6684
|
+
/** @deprecated use `KnowledgeFilterDollarAnd$Outbound` instead. */
|
|
6685
|
+
export type Outbound = KnowledgeFilterDollarAnd$Outbound;
|
|
6686
|
+
}
|
|
6687
|
+
|
|
6688
|
+
export function knowledgeFilterDollarAndToJSON(
|
|
6689
|
+
knowledgeFilterDollarAnd: KnowledgeFilterDollarAnd,
|
|
6690
|
+
): string {
|
|
6691
|
+
return JSON.stringify(
|
|
6692
|
+
KnowledgeFilterDollarAnd$outboundSchema.parse(knowledgeFilterDollarAnd),
|
|
6693
|
+
);
|
|
6694
|
+
}
|
|
6695
|
+
|
|
6696
|
+
export function knowledgeFilterDollarAndFromJSON(
|
|
6697
|
+
jsonString: string,
|
|
6698
|
+
): SafeParseResult<KnowledgeFilterDollarAnd, SDKValidationError> {
|
|
6699
|
+
return safeParse(
|
|
6700
|
+
jsonString,
|
|
6701
|
+
(x) => KnowledgeFilterDollarAnd$inboundSchema.parse(JSON.parse(x)),
|
|
6702
|
+
`Failed to parse 'KnowledgeFilterDollarAnd' from JSON`,
|
|
6703
|
+
);
|
|
6704
|
+
}
|
|
6705
|
+
|
|
6706
|
+
/** @internal */
|
|
6707
|
+
export const DollarExists$inboundSchema: z.ZodType<
|
|
6708
|
+
DollarExists,
|
|
6709
|
+
z.ZodTypeDef,
|
|
6710
|
+
unknown
|
|
6711
|
+
> = z.object({
|
|
6712
|
+
$exists: z.boolean(),
|
|
6713
|
+
}).transform((v) => {
|
|
6714
|
+
return remap$(v, {
|
|
6715
|
+
"$exists": "dollarExists",
|
|
6716
|
+
});
|
|
6717
|
+
});
|
|
6718
|
+
|
|
6719
|
+
/** @internal */
|
|
6720
|
+
export type DollarExists$Outbound = {
|
|
6721
|
+
$exists: boolean;
|
|
6722
|
+
};
|
|
6723
|
+
|
|
6724
|
+
/** @internal */
|
|
6725
|
+
export const DollarExists$outboundSchema: z.ZodType<
|
|
6726
|
+
DollarExists$Outbound,
|
|
6727
|
+
z.ZodTypeDef,
|
|
6728
|
+
DollarExists
|
|
6729
|
+
> = z.object({
|
|
6730
|
+
dollarExists: z.boolean(),
|
|
6731
|
+
}).transform((v) => {
|
|
6732
|
+
return remap$(v, {
|
|
6733
|
+
dollarExists: "$exists",
|
|
6734
|
+
});
|
|
6735
|
+
});
|
|
6736
|
+
|
|
6737
|
+
/**
|
|
6738
|
+
* @internal
|
|
6739
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
6740
|
+
*/
|
|
6741
|
+
export namespace DollarExists$ {
|
|
6742
|
+
/** @deprecated use `DollarExists$inboundSchema` instead. */
|
|
6743
|
+
export const inboundSchema = DollarExists$inboundSchema;
|
|
6744
|
+
/** @deprecated use `DollarExists$outboundSchema` instead. */
|
|
6745
|
+
export const outboundSchema = DollarExists$outboundSchema;
|
|
6746
|
+
/** @deprecated use `DollarExists$Outbound` instead. */
|
|
6747
|
+
export type Outbound = DollarExists$Outbound;
|
|
6748
|
+
}
|
|
6749
|
+
|
|
6750
|
+
export function dollarExistsToJSON(dollarExists: DollarExists): string {
|
|
6751
|
+
return JSON.stringify(DollarExists$outboundSchema.parse(dollarExists));
|
|
6752
|
+
}
|
|
6753
|
+
|
|
6754
|
+
export function dollarExistsFromJSON(
|
|
6755
|
+
jsonString: string,
|
|
6756
|
+
): SafeParseResult<DollarExists, SDKValidationError> {
|
|
6757
|
+
return safeParse(
|
|
6758
|
+
jsonString,
|
|
6759
|
+
(x) => DollarExists$inboundSchema.parse(JSON.parse(x)),
|
|
6760
|
+
`Failed to parse 'DollarExists' from JSON`,
|
|
6761
|
+
);
|
|
6762
|
+
}
|
|
6763
|
+
|
|
6764
|
+
/** @internal */
|
|
6765
|
+
export const DollarNin$inboundSchema: z.ZodType<
|
|
6766
|
+
DollarNin,
|
|
6767
|
+
z.ZodTypeDef,
|
|
6768
|
+
unknown
|
|
6769
|
+
> = z.union([z.string(), z.number(), z.boolean()]);
|
|
6770
|
+
|
|
6771
|
+
/** @internal */
|
|
6772
|
+
export type DollarNin$Outbound = string | number | boolean;
|
|
6773
|
+
|
|
6774
|
+
/** @internal */
|
|
6775
|
+
export const DollarNin$outboundSchema: z.ZodType<
|
|
6776
|
+
DollarNin$Outbound,
|
|
6777
|
+
z.ZodTypeDef,
|
|
6778
|
+
DollarNin
|
|
6779
|
+
> = z.union([z.string(), z.number(), z.boolean()]);
|
|
6780
|
+
|
|
6781
|
+
/**
|
|
6782
|
+
* @internal
|
|
6783
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
6784
|
+
*/
|
|
6785
|
+
export namespace DollarNin$ {
|
|
6786
|
+
/** @deprecated use `DollarNin$inboundSchema` instead. */
|
|
6787
|
+
export const inboundSchema = DollarNin$inboundSchema;
|
|
6788
|
+
/** @deprecated use `DollarNin$outboundSchema` instead. */
|
|
6789
|
+
export const outboundSchema = DollarNin$outboundSchema;
|
|
6790
|
+
/** @deprecated use `DollarNin$Outbound` instead. */
|
|
6791
|
+
export type Outbound = DollarNin$Outbound;
|
|
6792
|
+
}
|
|
6793
|
+
|
|
6794
|
+
export function dollarNinToJSON(dollarNin: DollarNin): string {
|
|
6795
|
+
return JSON.stringify(DollarNin$outboundSchema.parse(dollarNin));
|
|
6796
|
+
}
|
|
6797
|
+
|
|
6798
|
+
export function dollarNinFromJSON(
|
|
6799
|
+
jsonString: string,
|
|
6800
|
+
): SafeParseResult<DollarNin, SDKValidationError> {
|
|
6801
|
+
return safeParse(
|
|
6802
|
+
jsonString,
|
|
6803
|
+
(x) => DollarNin$inboundSchema.parse(JSON.parse(x)),
|
|
6804
|
+
`Failed to parse 'DollarNin' from JSON`,
|
|
6805
|
+
);
|
|
6806
|
+
}
|
|
6807
|
+
|
|
6808
|
+
/** @internal */
|
|
6809
|
+
export const OneDollarNin$inboundSchema: z.ZodType<
|
|
6810
|
+
OneDollarNin,
|
|
6811
|
+
z.ZodTypeDef,
|
|
6812
|
+
unknown
|
|
6813
|
+
> = z.object({
|
|
6814
|
+
$nin: z.array(z.union([z.string(), z.number(), z.boolean()])),
|
|
6815
|
+
}).transform((v) => {
|
|
6816
|
+
return remap$(v, {
|
|
6817
|
+
"$nin": "dollarNin",
|
|
6818
|
+
});
|
|
6819
|
+
});
|
|
6820
|
+
|
|
6821
|
+
/** @internal */
|
|
6822
|
+
export type OneDollarNin$Outbound = {
|
|
6823
|
+
$nin: Array<string | number | boolean>;
|
|
6824
|
+
};
|
|
6825
|
+
|
|
6826
|
+
/** @internal */
|
|
6827
|
+
export const OneDollarNin$outboundSchema: z.ZodType<
|
|
6828
|
+
OneDollarNin$Outbound,
|
|
6829
|
+
z.ZodTypeDef,
|
|
6830
|
+
OneDollarNin
|
|
6831
|
+
> = z.object({
|
|
6832
|
+
dollarNin: z.array(z.union([z.string(), z.number(), z.boolean()])),
|
|
6833
|
+
}).transform((v) => {
|
|
6834
|
+
return remap$(v, {
|
|
6835
|
+
dollarNin: "$nin",
|
|
6836
|
+
});
|
|
6837
|
+
});
|
|
6838
|
+
|
|
6839
|
+
/**
|
|
6840
|
+
* @internal
|
|
6841
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
6842
|
+
*/
|
|
6843
|
+
export namespace OneDollarNin$ {
|
|
6844
|
+
/** @deprecated use `OneDollarNin$inboundSchema` instead. */
|
|
6845
|
+
export const inboundSchema = OneDollarNin$inboundSchema;
|
|
6846
|
+
/** @deprecated use `OneDollarNin$outboundSchema` instead. */
|
|
6847
|
+
export const outboundSchema = OneDollarNin$outboundSchema;
|
|
6848
|
+
/** @deprecated use `OneDollarNin$Outbound` instead. */
|
|
6849
|
+
export type Outbound = OneDollarNin$Outbound;
|
|
6850
|
+
}
|
|
6851
|
+
|
|
6852
|
+
export function oneDollarNinToJSON(oneDollarNin: OneDollarNin): string {
|
|
6853
|
+
return JSON.stringify(OneDollarNin$outboundSchema.parse(oneDollarNin));
|
|
6854
|
+
}
|
|
6855
|
+
|
|
6856
|
+
export function oneDollarNinFromJSON(
|
|
6857
|
+
jsonString: string,
|
|
6858
|
+
): SafeParseResult<OneDollarNin, SDKValidationError> {
|
|
6859
|
+
return safeParse(
|
|
6860
|
+
jsonString,
|
|
6861
|
+
(x) => OneDollarNin$inboundSchema.parse(JSON.parse(x)),
|
|
6862
|
+
`Failed to parse 'OneDollarNin' from JSON`,
|
|
6863
|
+
);
|
|
6864
|
+
}
|
|
6865
|
+
|
|
6866
|
+
/** @internal */
|
|
6867
|
+
export const DollarIn$inboundSchema: z.ZodType<
|
|
6868
|
+
DollarIn,
|
|
6869
|
+
z.ZodTypeDef,
|
|
6870
|
+
unknown
|
|
6871
|
+
> = z.union([z.string(), z.number(), z.boolean()]);
|
|
6872
|
+
|
|
6873
|
+
/** @internal */
|
|
6874
|
+
export type DollarIn$Outbound = string | number | boolean;
|
|
6875
|
+
|
|
6876
|
+
/** @internal */
|
|
6877
|
+
export const DollarIn$outboundSchema: z.ZodType<
|
|
6878
|
+
DollarIn$Outbound,
|
|
6879
|
+
z.ZodTypeDef,
|
|
6880
|
+
DollarIn
|
|
6881
|
+
> = z.union([z.string(), z.number(), z.boolean()]);
|
|
6882
|
+
|
|
6883
|
+
/**
|
|
6884
|
+
* @internal
|
|
6885
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
6886
|
+
*/
|
|
6887
|
+
export namespace DollarIn$ {
|
|
6888
|
+
/** @deprecated use `DollarIn$inboundSchema` instead. */
|
|
6889
|
+
export const inboundSchema = DollarIn$inboundSchema;
|
|
6890
|
+
/** @deprecated use `DollarIn$outboundSchema` instead. */
|
|
6891
|
+
export const outboundSchema = DollarIn$outboundSchema;
|
|
6892
|
+
/** @deprecated use `DollarIn$Outbound` instead. */
|
|
6893
|
+
export type Outbound = DollarIn$Outbound;
|
|
6894
|
+
}
|
|
6895
|
+
|
|
6896
|
+
export function dollarInToJSON(dollarIn: DollarIn): string {
|
|
6897
|
+
return JSON.stringify(DollarIn$outboundSchema.parse(dollarIn));
|
|
6898
|
+
}
|
|
6899
|
+
|
|
6900
|
+
export function dollarInFromJSON(
|
|
6901
|
+
jsonString: string,
|
|
6902
|
+
): SafeParseResult<DollarIn, SDKValidationError> {
|
|
6903
|
+
return safeParse(
|
|
6904
|
+
jsonString,
|
|
6905
|
+
(x) => DollarIn$inboundSchema.parse(JSON.parse(x)),
|
|
6906
|
+
`Failed to parse 'DollarIn' from JSON`,
|
|
6907
|
+
);
|
|
6908
|
+
}
|
|
6909
|
+
|
|
6910
|
+
/** @internal */
|
|
6911
|
+
export const OneDollarIn$inboundSchema: z.ZodType<
|
|
6912
|
+
OneDollarIn,
|
|
6913
|
+
z.ZodTypeDef,
|
|
6914
|
+
unknown
|
|
6915
|
+
> = z.object({
|
|
6916
|
+
$in: z.array(z.union([z.string(), z.number(), z.boolean()])),
|
|
6917
|
+
}).transform((v) => {
|
|
6918
|
+
return remap$(v, {
|
|
6919
|
+
"$in": "dollarIn",
|
|
6920
|
+
});
|
|
6921
|
+
});
|
|
6922
|
+
|
|
6923
|
+
/** @internal */
|
|
6924
|
+
export type OneDollarIn$Outbound = {
|
|
6925
|
+
$in: Array<string | number | boolean>;
|
|
6926
|
+
};
|
|
6927
|
+
|
|
6928
|
+
/** @internal */
|
|
6929
|
+
export const OneDollarIn$outboundSchema: z.ZodType<
|
|
6930
|
+
OneDollarIn$Outbound,
|
|
6931
|
+
z.ZodTypeDef,
|
|
6932
|
+
OneDollarIn
|
|
6933
|
+
> = z.object({
|
|
6934
|
+
dollarIn: z.array(z.union([z.string(), z.number(), z.boolean()])),
|
|
6935
|
+
}).transform((v) => {
|
|
6936
|
+
return remap$(v, {
|
|
6937
|
+
dollarIn: "$in",
|
|
6938
|
+
});
|
|
6939
|
+
});
|
|
6940
|
+
|
|
6941
|
+
/**
|
|
6942
|
+
* @internal
|
|
6943
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
6944
|
+
*/
|
|
6945
|
+
export namespace OneDollarIn$ {
|
|
6946
|
+
/** @deprecated use `OneDollarIn$inboundSchema` instead. */
|
|
6947
|
+
export const inboundSchema = OneDollarIn$inboundSchema;
|
|
6948
|
+
/** @deprecated use `OneDollarIn$outboundSchema` instead. */
|
|
6949
|
+
export const outboundSchema = OneDollarIn$outboundSchema;
|
|
6950
|
+
/** @deprecated use `OneDollarIn$Outbound` instead. */
|
|
6951
|
+
export type Outbound = OneDollarIn$Outbound;
|
|
6952
|
+
}
|
|
6953
|
+
|
|
6954
|
+
export function oneDollarInToJSON(oneDollarIn: OneDollarIn): string {
|
|
6955
|
+
return JSON.stringify(OneDollarIn$outboundSchema.parse(oneDollarIn));
|
|
6956
|
+
}
|
|
6957
|
+
|
|
6958
|
+
export function oneDollarInFromJSON(
|
|
6959
|
+
jsonString: string,
|
|
6960
|
+
): SafeParseResult<OneDollarIn, SDKValidationError> {
|
|
6961
|
+
return safeParse(
|
|
6962
|
+
jsonString,
|
|
6963
|
+
(x) => OneDollarIn$inboundSchema.parse(JSON.parse(x)),
|
|
6964
|
+
`Failed to parse 'OneDollarIn' from JSON`,
|
|
6965
|
+
);
|
|
6966
|
+
}
|
|
6967
|
+
|
|
6968
|
+
/** @internal */
|
|
6969
|
+
export const DollarLte$inboundSchema: z.ZodType<
|
|
6970
|
+
DollarLte,
|
|
6971
|
+
z.ZodTypeDef,
|
|
6972
|
+
unknown
|
|
6973
|
+
> = z.object({
|
|
6974
|
+
$lte: z.number(),
|
|
6975
|
+
}).transform((v) => {
|
|
6976
|
+
return remap$(v, {
|
|
6977
|
+
"$lte": "dollarLte",
|
|
6978
|
+
});
|
|
6979
|
+
});
|
|
6980
|
+
|
|
6981
|
+
/** @internal */
|
|
6982
|
+
export type DollarLte$Outbound = {
|
|
6983
|
+
$lte: number;
|
|
6984
|
+
};
|
|
6985
|
+
|
|
6986
|
+
/** @internal */
|
|
6987
|
+
export const DollarLte$outboundSchema: z.ZodType<
|
|
6988
|
+
DollarLte$Outbound,
|
|
6989
|
+
z.ZodTypeDef,
|
|
6990
|
+
DollarLte
|
|
6991
|
+
> = z.object({
|
|
6992
|
+
dollarLte: z.number(),
|
|
6993
|
+
}).transform((v) => {
|
|
6994
|
+
return remap$(v, {
|
|
6995
|
+
dollarLte: "$lte",
|
|
6996
|
+
});
|
|
6997
|
+
});
|
|
6998
|
+
|
|
6999
|
+
/**
|
|
7000
|
+
* @internal
|
|
7001
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
7002
|
+
*/
|
|
7003
|
+
export namespace DollarLte$ {
|
|
7004
|
+
/** @deprecated use `DollarLte$inboundSchema` instead. */
|
|
7005
|
+
export const inboundSchema = DollarLte$inboundSchema;
|
|
7006
|
+
/** @deprecated use `DollarLte$outboundSchema` instead. */
|
|
7007
|
+
export const outboundSchema = DollarLte$outboundSchema;
|
|
7008
|
+
/** @deprecated use `DollarLte$Outbound` instead. */
|
|
7009
|
+
export type Outbound = DollarLte$Outbound;
|
|
7010
|
+
}
|
|
7011
|
+
|
|
7012
|
+
export function dollarLteToJSON(dollarLte: DollarLte): string {
|
|
7013
|
+
return JSON.stringify(DollarLte$outboundSchema.parse(dollarLte));
|
|
7014
|
+
}
|
|
7015
|
+
|
|
7016
|
+
export function dollarLteFromJSON(
|
|
7017
|
+
jsonString: string,
|
|
7018
|
+
): SafeParseResult<DollarLte, SDKValidationError> {
|
|
7019
|
+
return safeParse(
|
|
7020
|
+
jsonString,
|
|
7021
|
+
(x) => DollarLte$inboundSchema.parse(JSON.parse(x)),
|
|
7022
|
+
`Failed to parse 'DollarLte' from JSON`,
|
|
7023
|
+
);
|
|
7024
|
+
}
|
|
7025
|
+
|
|
7026
|
+
/** @internal */
|
|
7027
|
+
export const DollarLt$inboundSchema: z.ZodType<
|
|
7028
|
+
DollarLt,
|
|
7029
|
+
z.ZodTypeDef,
|
|
7030
|
+
unknown
|
|
7031
|
+
> = z.object({
|
|
7032
|
+
$lt: z.number(),
|
|
7033
|
+
}).transform((v) => {
|
|
7034
|
+
return remap$(v, {
|
|
7035
|
+
"$lt": "dollarLt",
|
|
7036
|
+
});
|
|
7037
|
+
});
|
|
7038
|
+
|
|
7039
|
+
/** @internal */
|
|
7040
|
+
export type DollarLt$Outbound = {
|
|
7041
|
+
$lt: number;
|
|
7042
|
+
};
|
|
7043
|
+
|
|
7044
|
+
/** @internal */
|
|
7045
|
+
export const DollarLt$outboundSchema: z.ZodType<
|
|
7046
|
+
DollarLt$Outbound,
|
|
7047
|
+
z.ZodTypeDef,
|
|
7048
|
+
DollarLt
|
|
7049
|
+
> = z.object({
|
|
7050
|
+
dollarLt: z.number(),
|
|
7051
|
+
}).transform((v) => {
|
|
7052
|
+
return remap$(v, {
|
|
7053
|
+
dollarLt: "$lt",
|
|
7054
|
+
});
|
|
7055
|
+
});
|
|
7056
|
+
|
|
7057
|
+
/**
|
|
7058
|
+
* @internal
|
|
7059
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
7060
|
+
*/
|
|
7061
|
+
export namespace DollarLt$ {
|
|
7062
|
+
/** @deprecated use `DollarLt$inboundSchema` instead. */
|
|
7063
|
+
export const inboundSchema = DollarLt$inboundSchema;
|
|
7064
|
+
/** @deprecated use `DollarLt$outboundSchema` instead. */
|
|
7065
|
+
export const outboundSchema = DollarLt$outboundSchema;
|
|
7066
|
+
/** @deprecated use `DollarLt$Outbound` instead. */
|
|
7067
|
+
export type Outbound = DollarLt$Outbound;
|
|
7068
|
+
}
|
|
7069
|
+
|
|
7070
|
+
export function dollarLtToJSON(dollarLt: DollarLt): string {
|
|
7071
|
+
return JSON.stringify(DollarLt$outboundSchema.parse(dollarLt));
|
|
7072
|
+
}
|
|
7073
|
+
|
|
7074
|
+
export function dollarLtFromJSON(
|
|
7075
|
+
jsonString: string,
|
|
7076
|
+
): SafeParseResult<DollarLt, SDKValidationError> {
|
|
7077
|
+
return safeParse(
|
|
7078
|
+
jsonString,
|
|
7079
|
+
(x) => DollarLt$inboundSchema.parse(JSON.parse(x)),
|
|
7080
|
+
`Failed to parse 'DollarLt' from JSON`,
|
|
7081
|
+
);
|
|
7082
|
+
}
|
|
7083
|
+
|
|
7084
|
+
/** @internal */
|
|
7085
|
+
export const DollarGte$inboundSchema: z.ZodType<
|
|
7086
|
+
DollarGte,
|
|
7087
|
+
z.ZodTypeDef,
|
|
7088
|
+
unknown
|
|
7089
|
+
> = z.object({
|
|
7090
|
+
$gte: z.number(),
|
|
7091
|
+
}).transform((v) => {
|
|
7092
|
+
return remap$(v, {
|
|
7093
|
+
"$gte": "dollarGte",
|
|
7094
|
+
});
|
|
7095
|
+
});
|
|
7096
|
+
|
|
7097
|
+
/** @internal */
|
|
7098
|
+
export type DollarGte$Outbound = {
|
|
7099
|
+
$gte: number;
|
|
7100
|
+
};
|
|
7101
|
+
|
|
7102
|
+
/** @internal */
|
|
7103
|
+
export const DollarGte$outboundSchema: z.ZodType<
|
|
7104
|
+
DollarGte$Outbound,
|
|
7105
|
+
z.ZodTypeDef,
|
|
7106
|
+
DollarGte
|
|
7107
|
+
> = z.object({
|
|
7108
|
+
dollarGte: z.number(),
|
|
7109
|
+
}).transform((v) => {
|
|
7110
|
+
return remap$(v, {
|
|
7111
|
+
dollarGte: "$gte",
|
|
7112
|
+
});
|
|
7113
|
+
});
|
|
7114
|
+
|
|
7115
|
+
/**
|
|
7116
|
+
* @internal
|
|
7117
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
7118
|
+
*/
|
|
7119
|
+
export namespace DollarGte$ {
|
|
7120
|
+
/** @deprecated use `DollarGte$inboundSchema` instead. */
|
|
7121
|
+
export const inboundSchema = DollarGte$inboundSchema;
|
|
7122
|
+
/** @deprecated use `DollarGte$outboundSchema` instead. */
|
|
7123
|
+
export const outboundSchema = DollarGte$outboundSchema;
|
|
7124
|
+
/** @deprecated use `DollarGte$Outbound` instead. */
|
|
7125
|
+
export type Outbound = DollarGte$Outbound;
|
|
7126
|
+
}
|
|
7127
|
+
|
|
7128
|
+
export function dollarGteToJSON(dollarGte: DollarGte): string {
|
|
7129
|
+
return JSON.stringify(DollarGte$outboundSchema.parse(dollarGte));
|
|
7130
|
+
}
|
|
7131
|
+
|
|
7132
|
+
export function dollarGteFromJSON(
|
|
7133
|
+
jsonString: string,
|
|
7134
|
+
): SafeParseResult<DollarGte, SDKValidationError> {
|
|
7135
|
+
return safeParse(
|
|
7136
|
+
jsonString,
|
|
7137
|
+
(x) => DollarGte$inboundSchema.parse(JSON.parse(x)),
|
|
7138
|
+
`Failed to parse 'DollarGte' from JSON`,
|
|
7139
|
+
);
|
|
7140
|
+
}
|
|
7141
|
+
|
|
7142
|
+
/** @internal */
|
|
7143
|
+
export const Three$inboundSchema: z.ZodType<Three, z.ZodTypeDef, unknown> = z
|
|
7144
|
+
.object({
|
|
7145
|
+
$gt: z.number(),
|
|
7146
|
+
}).transform((v) => {
|
|
7147
|
+
return remap$(v, {
|
|
7148
|
+
"$gt": "dollarGt",
|
|
7149
|
+
});
|
|
7150
|
+
});
|
|
7151
|
+
|
|
7152
|
+
/** @internal */
|
|
7153
|
+
export type Three$Outbound = {
|
|
7154
|
+
$gt: number;
|
|
7155
|
+
};
|
|
7156
|
+
|
|
7157
|
+
/** @internal */
|
|
7158
|
+
export const Three$outboundSchema: z.ZodType<
|
|
7159
|
+
Three$Outbound,
|
|
7160
|
+
z.ZodTypeDef,
|
|
7161
|
+
Three
|
|
7162
|
+
> = z.object({
|
|
7163
|
+
dollarGt: z.number(),
|
|
7164
|
+
}).transform((v) => {
|
|
7165
|
+
return remap$(v, {
|
|
7166
|
+
dollarGt: "$gt",
|
|
7167
|
+
});
|
|
7168
|
+
});
|
|
7169
|
+
|
|
7170
|
+
/**
|
|
7171
|
+
* @internal
|
|
7172
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
7173
|
+
*/
|
|
7174
|
+
export namespace Three$ {
|
|
7175
|
+
/** @deprecated use `Three$inboundSchema` instead. */
|
|
7176
|
+
export const inboundSchema = Three$inboundSchema;
|
|
7177
|
+
/** @deprecated use `Three$outboundSchema` instead. */
|
|
7178
|
+
export const outboundSchema = Three$outboundSchema;
|
|
7179
|
+
/** @deprecated use `Three$Outbound` instead. */
|
|
7180
|
+
export type Outbound = Three$Outbound;
|
|
7181
|
+
}
|
|
7182
|
+
|
|
7183
|
+
export function threeToJSON(three: Three): string {
|
|
7184
|
+
return JSON.stringify(Three$outboundSchema.parse(three));
|
|
7185
|
+
}
|
|
7186
|
+
|
|
7187
|
+
export function threeFromJSON(
|
|
7188
|
+
jsonString: string,
|
|
7189
|
+
): SafeParseResult<Three, SDKValidationError> {
|
|
7190
|
+
return safeParse(
|
|
7191
|
+
jsonString,
|
|
7192
|
+
(x) => Three$inboundSchema.parse(JSON.parse(x)),
|
|
7193
|
+
`Failed to parse 'Three' from JSON`,
|
|
7194
|
+
);
|
|
7195
|
+
}
|
|
7196
|
+
|
|
7197
|
+
/** @internal */
|
|
7198
|
+
export const DollarNe$inboundSchema: z.ZodType<
|
|
7199
|
+
DollarNe,
|
|
7200
|
+
z.ZodTypeDef,
|
|
7201
|
+
unknown
|
|
7202
|
+
> = z.union([z.string(), z.number(), z.boolean()]);
|
|
7203
|
+
|
|
7204
|
+
/** @internal */
|
|
7205
|
+
export type DollarNe$Outbound = string | number | boolean;
|
|
7206
|
+
|
|
7207
|
+
/** @internal */
|
|
7208
|
+
export const DollarNe$outboundSchema: z.ZodType<
|
|
7209
|
+
DollarNe$Outbound,
|
|
7210
|
+
z.ZodTypeDef,
|
|
7211
|
+
DollarNe
|
|
7212
|
+
> = z.union([z.string(), z.number(), z.boolean()]);
|
|
7213
|
+
|
|
7214
|
+
/**
|
|
7215
|
+
* @internal
|
|
7216
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
7217
|
+
*/
|
|
7218
|
+
export namespace DollarNe$ {
|
|
7219
|
+
/** @deprecated use `DollarNe$inboundSchema` instead. */
|
|
7220
|
+
export const inboundSchema = DollarNe$inboundSchema;
|
|
7221
|
+
/** @deprecated use `DollarNe$outboundSchema` instead. */
|
|
7222
|
+
export const outboundSchema = DollarNe$outboundSchema;
|
|
7223
|
+
/** @deprecated use `DollarNe$Outbound` instead. */
|
|
7224
|
+
export type Outbound = DollarNe$Outbound;
|
|
7225
|
+
}
|
|
7226
|
+
|
|
7227
|
+
export function dollarNeToJSON(dollarNe: DollarNe): string {
|
|
7228
|
+
return JSON.stringify(DollarNe$outboundSchema.parse(dollarNe));
|
|
7229
|
+
}
|
|
7230
|
+
|
|
7231
|
+
export function dollarNeFromJSON(
|
|
7232
|
+
jsonString: string,
|
|
7233
|
+
): SafeParseResult<DollarNe, SDKValidationError> {
|
|
7234
|
+
return safeParse(
|
|
7235
|
+
jsonString,
|
|
7236
|
+
(x) => DollarNe$inboundSchema.parse(JSON.parse(x)),
|
|
7237
|
+
`Failed to parse 'DollarNe' from JSON`,
|
|
7238
|
+
);
|
|
7239
|
+
}
|
|
7240
|
+
|
|
7241
|
+
/** @internal */
|
|
7242
|
+
export const OneDollarNe$inboundSchema: z.ZodType<
|
|
7243
|
+
OneDollarNe,
|
|
7244
|
+
z.ZodTypeDef,
|
|
7245
|
+
unknown
|
|
7246
|
+
> = z.object({
|
|
7247
|
+
$ne: z.union([z.string(), z.number(), z.boolean()]),
|
|
7248
|
+
}).transform((v) => {
|
|
7249
|
+
return remap$(v, {
|
|
7250
|
+
"$ne": "dollarNe",
|
|
7251
|
+
});
|
|
7252
|
+
});
|
|
7253
|
+
|
|
7254
|
+
/** @internal */
|
|
7255
|
+
export type OneDollarNe$Outbound = {
|
|
7256
|
+
$ne: string | number | boolean;
|
|
7257
|
+
};
|
|
7258
|
+
|
|
7259
|
+
/** @internal */
|
|
7260
|
+
export const OneDollarNe$outboundSchema: z.ZodType<
|
|
7261
|
+
OneDollarNe$Outbound,
|
|
7262
|
+
z.ZodTypeDef,
|
|
7263
|
+
OneDollarNe
|
|
7264
|
+
> = z.object({
|
|
7265
|
+
dollarNe: z.union([z.string(), z.number(), z.boolean()]),
|
|
7266
|
+
}).transform((v) => {
|
|
7267
|
+
return remap$(v, {
|
|
7268
|
+
dollarNe: "$ne",
|
|
7269
|
+
});
|
|
7270
|
+
});
|
|
7271
|
+
|
|
7272
|
+
/**
|
|
7273
|
+
* @internal
|
|
7274
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
7275
|
+
*/
|
|
7276
|
+
export namespace OneDollarNe$ {
|
|
7277
|
+
/** @deprecated use `OneDollarNe$inboundSchema` instead. */
|
|
7278
|
+
export const inboundSchema = OneDollarNe$inboundSchema;
|
|
7279
|
+
/** @deprecated use `OneDollarNe$outboundSchema` instead. */
|
|
7280
|
+
export const outboundSchema = OneDollarNe$outboundSchema;
|
|
7281
|
+
/** @deprecated use `OneDollarNe$Outbound` instead. */
|
|
7282
|
+
export type Outbound = OneDollarNe$Outbound;
|
|
7283
|
+
}
|
|
7284
|
+
|
|
7285
|
+
export function oneDollarNeToJSON(oneDollarNe: OneDollarNe): string {
|
|
7286
|
+
return JSON.stringify(OneDollarNe$outboundSchema.parse(oneDollarNe));
|
|
7287
|
+
}
|
|
7288
|
+
|
|
7289
|
+
export function oneDollarNeFromJSON(
|
|
7290
|
+
jsonString: string,
|
|
7291
|
+
): SafeParseResult<OneDollarNe, SDKValidationError> {
|
|
7292
|
+
return safeParse(
|
|
7293
|
+
jsonString,
|
|
7294
|
+
(x) => OneDollarNe$inboundSchema.parse(JSON.parse(x)),
|
|
7295
|
+
`Failed to parse 'OneDollarNe' from JSON`,
|
|
7296
|
+
);
|
|
7297
|
+
}
|
|
7298
|
+
|
|
7299
|
+
/** @internal */
|
|
7300
|
+
export const DollarEq$inboundSchema: z.ZodType<
|
|
7301
|
+
DollarEq,
|
|
7302
|
+
z.ZodTypeDef,
|
|
7303
|
+
unknown
|
|
7304
|
+
> = z.union([z.string(), z.number(), z.boolean()]);
|
|
7305
|
+
|
|
7306
|
+
/** @internal */
|
|
7307
|
+
export type DollarEq$Outbound = string | number | boolean;
|
|
7308
|
+
|
|
7309
|
+
/** @internal */
|
|
7310
|
+
export const DollarEq$outboundSchema: z.ZodType<
|
|
7311
|
+
DollarEq$Outbound,
|
|
7312
|
+
z.ZodTypeDef,
|
|
7313
|
+
DollarEq
|
|
7314
|
+
> = z.union([z.string(), z.number(), z.boolean()]);
|
|
7315
|
+
|
|
7316
|
+
/**
|
|
7317
|
+
* @internal
|
|
7318
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
7319
|
+
*/
|
|
7320
|
+
export namespace DollarEq$ {
|
|
7321
|
+
/** @deprecated use `DollarEq$inboundSchema` instead. */
|
|
7322
|
+
export const inboundSchema = DollarEq$inboundSchema;
|
|
7323
|
+
/** @deprecated use `DollarEq$outboundSchema` instead. */
|
|
7324
|
+
export const outboundSchema = DollarEq$outboundSchema;
|
|
7325
|
+
/** @deprecated use `DollarEq$Outbound` instead. */
|
|
7326
|
+
export type Outbound = DollarEq$Outbound;
|
|
7327
|
+
}
|
|
7328
|
+
|
|
7329
|
+
export function dollarEqToJSON(dollarEq: DollarEq): string {
|
|
7330
|
+
return JSON.stringify(DollarEq$outboundSchema.parse(dollarEq));
|
|
7331
|
+
}
|
|
7332
|
+
|
|
7333
|
+
export function dollarEqFromJSON(
|
|
7334
|
+
jsonString: string,
|
|
7335
|
+
): SafeParseResult<DollarEq, SDKValidationError> {
|
|
7336
|
+
return safeParse(
|
|
7337
|
+
jsonString,
|
|
7338
|
+
(x) => DollarEq$inboundSchema.parse(JSON.parse(x)),
|
|
7339
|
+
`Failed to parse 'DollarEq' from JSON`,
|
|
7340
|
+
);
|
|
7341
|
+
}
|
|
7342
|
+
|
|
7343
|
+
/** @internal */
|
|
7344
|
+
export const OneDollarEq$inboundSchema: z.ZodType<
|
|
7345
|
+
OneDollarEq,
|
|
7346
|
+
z.ZodTypeDef,
|
|
7347
|
+
unknown
|
|
7348
|
+
> = z.object({
|
|
7349
|
+
$eq: z.union([z.string(), z.number(), z.boolean()]),
|
|
7350
|
+
}).transform((v) => {
|
|
7351
|
+
return remap$(v, {
|
|
7352
|
+
"$eq": "dollarEq",
|
|
7353
|
+
});
|
|
7354
|
+
});
|
|
7355
|
+
|
|
7356
|
+
/** @internal */
|
|
7357
|
+
export type OneDollarEq$Outbound = {
|
|
7358
|
+
$eq: string | number | boolean;
|
|
7359
|
+
};
|
|
7360
|
+
|
|
7361
|
+
/** @internal */
|
|
7362
|
+
export const OneDollarEq$outboundSchema: z.ZodType<
|
|
7363
|
+
OneDollarEq$Outbound,
|
|
7364
|
+
z.ZodTypeDef,
|
|
7365
|
+
OneDollarEq
|
|
7366
|
+
> = z.object({
|
|
7367
|
+
dollarEq: z.union([z.string(), z.number(), z.boolean()]),
|
|
7368
|
+
}).transform((v) => {
|
|
7369
|
+
return remap$(v, {
|
|
7370
|
+
dollarEq: "$eq",
|
|
7371
|
+
});
|
|
7372
|
+
});
|
|
7373
|
+
|
|
7374
|
+
/**
|
|
7375
|
+
* @internal
|
|
7376
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
7377
|
+
*/
|
|
7378
|
+
export namespace OneDollarEq$ {
|
|
7379
|
+
/** @deprecated use `OneDollarEq$inboundSchema` instead. */
|
|
7380
|
+
export const inboundSchema = OneDollarEq$inboundSchema;
|
|
7381
|
+
/** @deprecated use `OneDollarEq$outboundSchema` instead. */
|
|
7382
|
+
export const outboundSchema = OneDollarEq$outboundSchema;
|
|
7383
|
+
/** @deprecated use `OneDollarEq$Outbound` instead. */
|
|
7384
|
+
export type Outbound = OneDollarEq$Outbound;
|
|
7385
|
+
}
|
|
7386
|
+
|
|
7387
|
+
export function oneDollarEqToJSON(oneDollarEq: OneDollarEq): string {
|
|
7388
|
+
return JSON.stringify(OneDollarEq$outboundSchema.parse(oneDollarEq));
|
|
7389
|
+
}
|
|
7390
|
+
|
|
7391
|
+
export function oneDollarEqFromJSON(
|
|
7392
|
+
jsonString: string,
|
|
7393
|
+
): SafeParseResult<OneDollarEq, SDKValidationError> {
|
|
7394
|
+
return safeParse(
|
|
7395
|
+
jsonString,
|
|
7396
|
+
(x) => OneDollarEq$inboundSchema.parse(JSON.parse(x)),
|
|
7397
|
+
`Failed to parse 'OneDollarEq' from JSON`,
|
|
7398
|
+
);
|
|
7399
|
+
}
|
|
7400
|
+
|
|
7401
|
+
/** @internal */
|
|
7402
|
+
export const One$inboundSchema: z.ZodType<One, z.ZodTypeDef, unknown> = z.union(
|
|
7403
|
+
[
|
|
7404
|
+
z.lazy(() => OneDollarEq$inboundSchema),
|
|
7405
|
+
z.lazy(() => OneDollarNe$inboundSchema),
|
|
7406
|
+
z.lazy(() => Three$inboundSchema),
|
|
7407
|
+
z.lazy(() => DollarGte$inboundSchema),
|
|
7408
|
+
z.lazy(() => DollarLt$inboundSchema),
|
|
7409
|
+
z.lazy(() => DollarLte$inboundSchema),
|
|
7410
|
+
z.lazy(() => OneDollarIn$inboundSchema),
|
|
7411
|
+
z.lazy(() => OneDollarNin$inboundSchema),
|
|
7412
|
+
z.lazy(() => DollarExists$inboundSchema),
|
|
7413
|
+
],
|
|
7414
|
+
);
|
|
7415
|
+
|
|
7416
|
+
/** @internal */
|
|
7417
|
+
export type One$Outbound =
|
|
7418
|
+
| OneDollarEq$Outbound
|
|
7419
|
+
| OneDollarNe$Outbound
|
|
7420
|
+
| Three$Outbound
|
|
7421
|
+
| DollarGte$Outbound
|
|
7422
|
+
| DollarLt$Outbound
|
|
7423
|
+
| DollarLte$Outbound
|
|
7424
|
+
| OneDollarIn$Outbound
|
|
7425
|
+
| OneDollarNin$Outbound
|
|
7426
|
+
| DollarExists$Outbound;
|
|
7427
|
+
|
|
7428
|
+
/** @internal */
|
|
7429
|
+
export const One$outboundSchema: z.ZodType<One$Outbound, z.ZodTypeDef, One> = z
|
|
7430
|
+
.union([
|
|
7431
|
+
z.lazy(() => OneDollarEq$outboundSchema),
|
|
7432
|
+
z.lazy(() => OneDollarNe$outboundSchema),
|
|
7433
|
+
z.lazy(() => Three$outboundSchema),
|
|
7434
|
+
z.lazy(() => DollarGte$outboundSchema),
|
|
7435
|
+
z.lazy(() => DollarLt$outboundSchema),
|
|
7436
|
+
z.lazy(() => DollarLte$outboundSchema),
|
|
7437
|
+
z.lazy(() => OneDollarIn$outboundSchema),
|
|
7438
|
+
z.lazy(() => OneDollarNin$outboundSchema),
|
|
7439
|
+
z.lazy(() => DollarExists$outboundSchema),
|
|
7440
|
+
]);
|
|
7441
|
+
|
|
7442
|
+
/**
|
|
7443
|
+
* @internal
|
|
7444
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
7445
|
+
*/
|
|
7446
|
+
export namespace One$ {
|
|
7447
|
+
/** @deprecated use `One$inboundSchema` instead. */
|
|
7448
|
+
export const inboundSchema = One$inboundSchema;
|
|
7449
|
+
/** @deprecated use `One$outboundSchema` instead. */
|
|
7450
|
+
export const outboundSchema = One$outboundSchema;
|
|
7451
|
+
/** @deprecated use `One$Outbound` instead. */
|
|
7452
|
+
export type Outbound = One$Outbound;
|
|
7453
|
+
}
|
|
7454
|
+
|
|
7455
|
+
export function oneToJSON(one: One): string {
|
|
7456
|
+
return JSON.stringify(One$outboundSchema.parse(one));
|
|
7457
|
+
}
|
|
7458
|
+
|
|
7459
|
+
export function oneFromJSON(
|
|
7460
|
+
jsonString: string,
|
|
7461
|
+
): SafeParseResult<One, SDKValidationError> {
|
|
7462
|
+
return safeParse(
|
|
7463
|
+
jsonString,
|
|
7464
|
+
(x) => One$inboundSchema.parse(JSON.parse(x)),
|
|
7465
|
+
`Failed to parse 'One' from JSON`,
|
|
7466
|
+
);
|
|
7467
|
+
}
|
|
7468
|
+
|
|
7469
|
+
/** @internal */
|
|
7470
|
+
export const KnowledgeFilter$inboundSchema: z.ZodType<
|
|
7471
|
+
KnowledgeFilter,
|
|
7472
|
+
z.ZodTypeDef,
|
|
7473
|
+
unknown
|
|
7474
|
+
> = z.union([
|
|
7475
|
+
z.lazy(() => KnowledgeFilterDollarAnd$inboundSchema),
|
|
7476
|
+
z.lazy(() => KnowledgeFilterDollarOr$inboundSchema),
|
|
7477
|
+
z.record(z.union([
|
|
7478
|
+
z.lazy(() => OneDollarEq$inboundSchema),
|
|
7479
|
+
z.lazy(() => OneDollarNe$inboundSchema),
|
|
7480
|
+
z.lazy(() => Three$inboundSchema),
|
|
7481
|
+
z.lazy(() => DollarGte$inboundSchema),
|
|
7482
|
+
z.lazy(() => DollarLt$inboundSchema),
|
|
7483
|
+
z.lazy(() => DollarLte$inboundSchema),
|
|
7484
|
+
z.lazy(() => OneDollarIn$inboundSchema),
|
|
7485
|
+
z.lazy(() => OneDollarNin$inboundSchema),
|
|
7486
|
+
z.lazy(() => DollarExists$inboundSchema),
|
|
7487
|
+
])),
|
|
7488
|
+
]);
|
|
7489
|
+
|
|
7490
|
+
/** @internal */
|
|
7491
|
+
export type KnowledgeFilter$Outbound =
|
|
7492
|
+
| KnowledgeFilterDollarAnd$Outbound
|
|
7493
|
+
| KnowledgeFilterDollarOr$Outbound
|
|
7494
|
+
| {
|
|
7495
|
+
[k: string]:
|
|
7496
|
+
| OneDollarEq$Outbound
|
|
7497
|
+
| OneDollarNe$Outbound
|
|
7498
|
+
| Three$Outbound
|
|
7499
|
+
| DollarGte$Outbound
|
|
7500
|
+
| DollarLt$Outbound
|
|
7501
|
+
| DollarLte$Outbound
|
|
7502
|
+
| OneDollarIn$Outbound
|
|
7503
|
+
| OneDollarNin$Outbound
|
|
7504
|
+
| DollarExists$Outbound;
|
|
7505
|
+
};
|
|
7506
|
+
|
|
7507
|
+
/** @internal */
|
|
7508
|
+
export const KnowledgeFilter$outboundSchema: z.ZodType<
|
|
7509
|
+
KnowledgeFilter$Outbound,
|
|
7510
|
+
z.ZodTypeDef,
|
|
7511
|
+
KnowledgeFilter
|
|
7512
|
+
> = z.union([
|
|
7513
|
+
z.lazy(() => KnowledgeFilterDollarAnd$outboundSchema),
|
|
7514
|
+
z.lazy(() => KnowledgeFilterDollarOr$outboundSchema),
|
|
7515
|
+
z.record(z.union([
|
|
7516
|
+
z.lazy(() => OneDollarEq$outboundSchema),
|
|
7517
|
+
z.lazy(() => OneDollarNe$outboundSchema),
|
|
7518
|
+
z.lazy(() => Three$outboundSchema),
|
|
7519
|
+
z.lazy(() => DollarGte$outboundSchema),
|
|
7520
|
+
z.lazy(() => DollarLt$outboundSchema),
|
|
7521
|
+
z.lazy(() => DollarLte$outboundSchema),
|
|
7522
|
+
z.lazy(() => OneDollarIn$outboundSchema),
|
|
7523
|
+
z.lazy(() => OneDollarNin$outboundSchema),
|
|
7524
|
+
z.lazy(() => DollarExists$outboundSchema),
|
|
7525
|
+
])),
|
|
7526
|
+
]);
|
|
7527
|
+
|
|
7528
|
+
/**
|
|
7529
|
+
* @internal
|
|
7530
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
7531
|
+
*/
|
|
7532
|
+
export namespace KnowledgeFilter$ {
|
|
7533
|
+
/** @deprecated use `KnowledgeFilter$inboundSchema` instead. */
|
|
7534
|
+
export const inboundSchema = KnowledgeFilter$inboundSchema;
|
|
7535
|
+
/** @deprecated use `KnowledgeFilter$outboundSchema` instead. */
|
|
7536
|
+
export const outboundSchema = KnowledgeFilter$outboundSchema;
|
|
7537
|
+
/** @deprecated use `KnowledgeFilter$Outbound` instead. */
|
|
7538
|
+
export type Outbound = KnowledgeFilter$Outbound;
|
|
7539
|
+
}
|
|
7540
|
+
|
|
7541
|
+
export function knowledgeFilterToJSON(
|
|
7542
|
+
knowledgeFilter: KnowledgeFilter,
|
|
7543
|
+
): string {
|
|
7544
|
+
return JSON.stringify(KnowledgeFilter$outboundSchema.parse(knowledgeFilter));
|
|
7545
|
+
}
|
|
7546
|
+
|
|
7547
|
+
export function knowledgeFilterFromJSON(
|
|
7548
|
+
jsonString: string,
|
|
7549
|
+
): SafeParseResult<KnowledgeFilter, SDKValidationError> {
|
|
7550
|
+
return safeParse(
|
|
7551
|
+
jsonString,
|
|
7552
|
+
(x) => KnowledgeFilter$inboundSchema.parse(JSON.parse(x)),
|
|
7553
|
+
`Failed to parse 'KnowledgeFilter' from JSON`,
|
|
7554
|
+
);
|
|
7555
|
+
}
|
|
7556
|
+
|
|
7557
|
+
/** @internal */
|
|
7558
|
+
export const Deployments$inboundSchema: z.ZodType<
|
|
7559
|
+
Deployments,
|
|
7560
|
+
z.ZodTypeDef,
|
|
7561
|
+
unknown
|
|
7562
|
+
> = z.object({
|
|
7563
|
+
key: z.string(),
|
|
7564
|
+
inputs: z.record(z.union([z.string(), z.number(), z.boolean()])).optional(),
|
|
7565
|
+
context: z.record(z.any()).optional(),
|
|
7566
|
+
prefix_messages: z.array(
|
|
7567
|
+
z.union([
|
|
7568
|
+
z.lazy(() => DeveloperMessage$inboundSchema),
|
|
7569
|
+
z.lazy(() => SystemMessage$inboundSchema),
|
|
7570
|
+
z.lazy(() => UserMessage$inboundSchema),
|
|
7571
|
+
z.lazy(() => ToolMessage$inboundSchema),
|
|
7572
|
+
z.lazy(() => AssistantMessage$inboundSchema),
|
|
7573
|
+
]),
|
|
7574
|
+
).optional(),
|
|
7575
|
+
messages: z.array(
|
|
7576
|
+
z.union([
|
|
7577
|
+
z.lazy(() => MessagesDeveloperMessage$inboundSchema),
|
|
7578
|
+
z.lazy(() => MessagesSystemMessage$inboundSchema),
|
|
7579
|
+
z.lazy(() => MessagesUserMessage$inboundSchema),
|
|
7580
|
+
z.lazy(() => MessagesToolMessage$inboundSchema),
|
|
7581
|
+
z.lazy(() => MessagesAssistantMessage$inboundSchema),
|
|
7582
|
+
]),
|
|
7583
|
+
).optional(),
|
|
7584
|
+
file_ids: z.array(z.string()).optional(),
|
|
7585
|
+
metadata: z.record(z.any()).optional(),
|
|
7586
|
+
extra_params: z.record(z.any()).optional(),
|
|
7587
|
+
documents: z.array(z.lazy(() => Documents$inboundSchema)).optional(),
|
|
7588
|
+
invoke_options: z.lazy(() => InvokeOptions$inboundSchema).optional(),
|
|
7589
|
+
thread: z.lazy(() => Thread$inboundSchema).optional(),
|
|
7590
|
+
knowledge_filter: z.union([
|
|
7591
|
+
z.lazy(() => KnowledgeFilterDollarAnd$inboundSchema),
|
|
7592
|
+
z.lazy(() => KnowledgeFilterDollarOr$inboundSchema),
|
|
7593
|
+
z.record(
|
|
7594
|
+
z.union([
|
|
7595
|
+
z.lazy(() => OneDollarEq$inboundSchema),
|
|
7596
|
+
z.lazy(() => OneDollarNe$inboundSchema),
|
|
7597
|
+
z.lazy(() => Three$inboundSchema),
|
|
7598
|
+
z.lazy(() => DollarGte$inboundSchema),
|
|
7599
|
+
z.lazy(() => DollarLt$inboundSchema),
|
|
7600
|
+
z.lazy(() => DollarLte$inboundSchema),
|
|
7601
|
+
z.lazy(() => OneDollarIn$inboundSchema),
|
|
7602
|
+
z.lazy(() => OneDollarNin$inboundSchema),
|
|
7603
|
+
z.lazy(() => DollarExists$inboundSchema),
|
|
7604
|
+
]),
|
|
7605
|
+
),
|
|
7606
|
+
]).optional(),
|
|
7607
|
+
}).transform((v) => {
|
|
7608
|
+
return remap$(v, {
|
|
7609
|
+
"prefix_messages": "prefixMessages",
|
|
7610
|
+
"file_ids": "fileIds",
|
|
7611
|
+
"extra_params": "extraParams",
|
|
7612
|
+
"invoke_options": "invokeOptions",
|
|
7613
|
+
"knowledge_filter": "knowledgeFilter",
|
|
7614
|
+
});
|
|
7615
|
+
});
|
|
7616
|
+
|
|
7617
|
+
/** @internal */
|
|
7618
|
+
export type Deployments$Outbound = {
|
|
7619
|
+
key: string;
|
|
7620
|
+
inputs?: { [k: string]: string | number | boolean } | undefined;
|
|
7621
|
+
context?: { [k: string]: any } | undefined;
|
|
7622
|
+
prefix_messages?:
|
|
7623
|
+
| Array<
|
|
7624
|
+
| DeveloperMessage$Outbound
|
|
7625
|
+
| SystemMessage$Outbound
|
|
7626
|
+
| UserMessage$Outbound
|
|
7627
|
+
| ToolMessage$Outbound
|
|
7628
|
+
| AssistantMessage$Outbound
|
|
4173
7629
|
>
|
|
4174
7630
|
| undefined;
|
|
4175
7631
|
messages?:
|
|
@@ -4187,6 +7643,22 @@ export type Deployments$Outbound = {
|
|
|
4187
7643
|
documents?: Array<Documents$Outbound> | undefined;
|
|
4188
7644
|
invoke_options?: InvokeOptions$Outbound | undefined;
|
|
4189
7645
|
thread?: Thread$Outbound | undefined;
|
|
7646
|
+
knowledge_filter?:
|
|
7647
|
+
| KnowledgeFilterDollarAnd$Outbound
|
|
7648
|
+
| KnowledgeFilterDollarOr$Outbound
|
|
7649
|
+
| {
|
|
7650
|
+
[k: string]:
|
|
7651
|
+
| OneDollarEq$Outbound
|
|
7652
|
+
| OneDollarNe$Outbound
|
|
7653
|
+
| Three$Outbound
|
|
7654
|
+
| DollarGte$Outbound
|
|
7655
|
+
| DollarLt$Outbound
|
|
7656
|
+
| DollarLte$Outbound
|
|
7657
|
+
| OneDollarIn$Outbound
|
|
7658
|
+
| OneDollarNin$Outbound
|
|
7659
|
+
| DollarExists$Outbound;
|
|
7660
|
+
}
|
|
7661
|
+
| undefined;
|
|
4190
7662
|
};
|
|
4191
7663
|
|
|
4192
7664
|
/** @internal */
|
|
@@ -4222,12 +7694,30 @@ export const Deployments$outboundSchema: z.ZodType<
|
|
|
4222
7694
|
documents: z.array(z.lazy(() => Documents$outboundSchema)).optional(),
|
|
4223
7695
|
invokeOptions: z.lazy(() => InvokeOptions$outboundSchema).optional(),
|
|
4224
7696
|
thread: z.lazy(() => Thread$outboundSchema).optional(),
|
|
7697
|
+
knowledgeFilter: z.union([
|
|
7698
|
+
z.lazy(() => KnowledgeFilterDollarAnd$outboundSchema),
|
|
7699
|
+
z.lazy(() => KnowledgeFilterDollarOr$outboundSchema),
|
|
7700
|
+
z.record(
|
|
7701
|
+
z.union([
|
|
7702
|
+
z.lazy(() => OneDollarEq$outboundSchema),
|
|
7703
|
+
z.lazy(() => OneDollarNe$outboundSchema),
|
|
7704
|
+
z.lazy(() => Three$outboundSchema),
|
|
7705
|
+
z.lazy(() => DollarGte$outboundSchema),
|
|
7706
|
+
z.lazy(() => DollarLt$outboundSchema),
|
|
7707
|
+
z.lazy(() => DollarLte$outboundSchema),
|
|
7708
|
+
z.lazy(() => OneDollarIn$outboundSchema),
|
|
7709
|
+
z.lazy(() => OneDollarNin$outboundSchema),
|
|
7710
|
+
z.lazy(() => DollarExists$outboundSchema),
|
|
7711
|
+
]),
|
|
7712
|
+
),
|
|
7713
|
+
]).optional(),
|
|
4225
7714
|
}).transform((v) => {
|
|
4226
7715
|
return remap$(v, {
|
|
4227
7716
|
prefixMessages: "prefix_messages",
|
|
4228
7717
|
fileIds: "file_ids",
|
|
4229
7718
|
extraParams: "extra_params",
|
|
4230
7719
|
invokeOptions: "invoke_options",
|
|
7720
|
+
knowledgeFilter: "knowledge_filter",
|
|
4231
7721
|
});
|
|
4232
7722
|
});
|
|
4233
7723
|
|