@orq-ai/node 0.0.1
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 +556 -0
- package/core.d.ts +10 -0
- package/core.d.ts.map +1 -0
- package/core.js +17 -0
- package/core.js.map +1 -0
- package/docs/sdks/contacts/README.md +84 -0
- package/docs/sdks/deployments/README.md +314 -0
- package/docs/sdks/feedback/README.md +92 -0
- package/docs/sdks/files/README.md +171 -0
- package/docs/sdks/metrics/README.md +86 -0
- package/docs/sdks/orq/README.md +10 -0
- package/docs/sdks/prompt/README.md +6 -0
- package/docs/sdks/prompts/README.md +533 -0
- package/docs/sdks/remoteconfig/README.md +80 -0
- package/docs/sdks/snippets/README.md +84 -0
- package/docs/sdks/templates/README.md +80 -0
- package/funcs/contactsCreate.d.ts +15 -0
- package/funcs/contactsCreate.d.ts.map +1 -0
- package/funcs/contactsCreate.js +105 -0
- package/funcs/contactsCreate.js.map +1 -0
- package/funcs/deploymentsAll.d.ts +16 -0
- package/funcs/deploymentsAll.d.ts.map +1 -0
- package/funcs/deploymentsAll.js +113 -0
- package/funcs/deploymentsAll.js.map +1 -0
- package/funcs/deploymentsGetConfig.d.ts +15 -0
- package/funcs/deploymentsGetConfig.d.ts.map +1 -0
- package/funcs/deploymentsGetConfig.js +105 -0
- package/funcs/deploymentsGetConfig.js.map +1 -0
- package/funcs/deploymentsInvalidate.d.ts +15 -0
- package/funcs/deploymentsInvalidate.d.ts.map +1 -0
- package/funcs/deploymentsInvalidate.js +111 -0
- package/funcs/deploymentsInvalidate.js.map +1 -0
- package/funcs/deploymentsInvoke.d.ts +22 -0
- package/funcs/deploymentsInvoke.d.ts.map +1 -0
- package/funcs/deploymentsInvoke.js +115 -0
- package/funcs/deploymentsInvoke.js.map +1 -0
- package/funcs/deploymentsMetricsCreate.d.ts +15 -0
- package/funcs/deploymentsMetricsCreate.d.ts.map +1 -0
- package/funcs/deploymentsMetricsCreate.js +111 -0
- package/funcs/deploymentsMetricsCreate.js.map +1 -0
- package/funcs/feedbackCreate.d.ts +15 -0
- package/funcs/feedbackCreate.d.ts.map +1 -0
- package/funcs/feedbackCreate.js +105 -0
- package/funcs/feedbackCreate.js.map +1 -0
- package/funcs/filesBulkUpload.d.ts +15 -0
- package/funcs/filesBulkUpload.d.ts.map +1 -0
- package/funcs/filesBulkUpload.js +106 -0
- package/funcs/filesBulkUpload.js.map +1 -0
- package/funcs/filesUpload.d.ts +15 -0
- package/funcs/filesUpload.d.ts.map +1 -0
- package/funcs/filesUpload.js +122 -0
- package/funcs/filesUpload.js.map +1 -0
- package/funcs/promptSnippetsFindOne.d.ts +12 -0
- package/funcs/promptSnippetsFindOne.d.ts.map +1 -0
- package/funcs/promptSnippetsFindOne.js +107 -0
- package/funcs/promptSnippetsFindOne.js.map +1 -0
- package/funcs/promptTemplatesGetAll.d.ts +12 -0
- package/funcs/promptTemplatesGetAll.d.ts.map +1 -0
- package/funcs/promptTemplatesGetAll.js +107 -0
- package/funcs/promptTemplatesGetAll.js.map +1 -0
- package/funcs/promptsCreate.d.ts +12 -0
- package/funcs/promptsCreate.d.ts.map +1 -0
- package/funcs/promptsCreate.js +104 -0
- package/funcs/promptsCreate.js.map +1 -0
- package/funcs/promptsCreateVersion.d.ts +12 -0
- package/funcs/promptsCreateVersion.d.ts.map +1 -0
- package/funcs/promptsCreateVersion.js +108 -0
- package/funcs/promptsCreateVersion.js.map +1 -0
- package/funcs/promptsDelete.d.ts +12 -0
- package/funcs/promptsDelete.d.ts.map +1 -0
- package/funcs/promptsDelete.js +108 -0
- package/funcs/promptsDelete.js.map +1 -0
- package/funcs/promptsDuplicate.d.ts +12 -0
- package/funcs/promptsDuplicate.d.ts.map +1 -0
- package/funcs/promptsDuplicate.js +108 -0
- package/funcs/promptsDuplicate.js.map +1 -0
- package/funcs/promptsGetAll.d.ts +12 -0
- package/funcs/promptsGetAll.d.ts.map +1 -0
- package/funcs/promptsGetAll.js +107 -0
- package/funcs/promptsGetAll.js.map +1 -0
- package/funcs/promptsGetOne.d.ts +12 -0
- package/funcs/promptsGetOne.d.ts.map +1 -0
- package/funcs/promptsGetOne.js +108 -0
- package/funcs/promptsGetOne.js.map +1 -0
- package/funcs/promptsUpdate.d.ts +13 -0
- package/funcs/promptsUpdate.d.ts.map +1 -0
- package/funcs/promptsUpdate.js +112 -0
- package/funcs/promptsUpdate.js.map +1 -0
- package/funcs/remoteconfigGetConfig.d.ts +12 -0
- package/funcs/remoteconfigGetConfig.d.ts.map +1 -0
- package/funcs/remoteconfigGetConfig.js +105 -0
- package/funcs/remoteconfigGetConfig.js.map +1 -0
- package/hooks/hooks.d.ts +24 -0
- package/hooks/hooks.d.ts.map +1 -0
- package/hooks/hooks.js +68 -0
- package/hooks/hooks.js.map +1 -0
- package/hooks/index.d.ts +3 -0
- package/hooks/index.d.ts.map +1 -0
- package/hooks/index.js +22 -0
- package/hooks/index.js.map +1 -0
- package/hooks/registration.d.ts +3 -0
- package/hooks/registration.d.ts.map +1 -0
- package/hooks/registration.js +15 -0
- package/hooks/registration.js.map +1 -0
- package/hooks/types.d.ts +76 -0
- package/hooks/types.d.ts.map +1 -0
- package/hooks/types.js +6 -0
- package/hooks/types.js.map +1 -0
- package/index.d.ts +4 -0
- package/index.d.ts.map +1 -0
- package/index.js +46 -0
- package/index.js.map +1 -0
- package/lib/base64.d.ts +10 -0
- package/lib/base64.d.ts.map +1 -0
- package/lib/base64.js +71 -0
- package/lib/base64.js.map +1 -0
- package/lib/config.d.ts +34 -0
- package/lib/config.d.ts.map +1 -0
- package/lib/config.js +36 -0
- package/lib/config.js.map +1 -0
- package/lib/dlv.d.ts +14 -0
- package/lib/dlv.d.ts.map +1 -0
- package/lib/dlv.js +49 -0
- package/lib/dlv.js.map +1 -0
- package/lib/encodings.d.ts +51 -0
- package/lib/encodings.d.ts.map +1 -0
- package/lib/encodings.js +343 -0
- package/lib/encodings.js.map +1 -0
- package/lib/env.d.ts +15 -0
- package/lib/env.d.ts.map +1 -0
- package/lib/env.js +66 -0
- package/lib/env.js.map +1 -0
- package/lib/event-streams.d.ts +17 -0
- package/lib/event-streams.d.ts.map +1 -0
- package/lib/event-streams.js +221 -0
- package/lib/event-streams.js.map +1 -0
- package/lib/files.d.ts +8 -0
- package/lib/files.d.ts.map +1 -0
- package/lib/files.js +36 -0
- package/lib/files.js.map +1 -0
- package/lib/http.d.ts +67 -0
- package/lib/http.d.ts.map +1 -0
- package/lib/http.js +218 -0
- package/lib/http.js.map +1 -0
- package/lib/is-plain-object.d.ts +2 -0
- package/lib/is-plain-object.d.ts.map +1 -0
- package/lib/is-plain-object.js +41 -0
- package/lib/is-plain-object.js.map +1 -0
- package/lib/logger.d.ts +6 -0
- package/lib/logger.d.ts.map +1 -0
- package/lib/logger.js +6 -0
- package/lib/logger.js.map +1 -0
- package/lib/matchers.d.ts +64 -0
- package/lib/matchers.d.ts.map +1 -0
- package/lib/matchers.js +208 -0
- package/lib/matchers.js.map +1 -0
- package/lib/primitives.d.ts +22 -0
- package/lib/primitives.d.ts.map +1 -0
- package/lib/primitives.js +94 -0
- package/lib/primitives.js.map +1 -0
- package/lib/retries.d.ts +38 -0
- package/lib/retries.d.ts.map +1 -0
- package/lib/retries.js +155 -0
- package/lib/retries.js.map +1 -0
- package/lib/schemas.d.ts +19 -0
- package/lib/schemas.d.ts.map +1 -0
- package/lib/schemas.js +59 -0
- package/lib/schemas.js.map +1 -0
- package/lib/sdks.d.ts +56 -0
- package/lib/sdks.d.ts.map +1 -0
- package/lib/sdks.js +277 -0
- package/lib/sdks.js.map +1 -0
- package/lib/security.d.ts +82 -0
- package/lib/security.d.ts.map +1 -0
- package/lib/security.js +140 -0
- package/lib/security.js.map +1 -0
- package/lib/url.d.ts +5 -0
- package/lib/url.d.ts.map +1 -0
- package/lib/url.js +25 -0
- package/lib/url.js.map +1 -0
- package/models/components/deployments.d.ts +890 -0
- package/models/components/deployments.d.ts.map +1 -0
- package/models/components/deployments.js +918 -0
- package/models/components/deployments.js.map +1 -0
- package/models/components/index.d.ts +3 -0
- package/models/components/index.d.ts.map +1 -0
- package/models/components/index.js +22 -0
- package/models/components/index.js.map +1 -0
- package/models/components/security.d.ts +29 -0
- package/models/components/security.d.ts.map +1 -0
- package/models/components/security.js +78 -0
- package/models/components/security.js.map +1 -0
- package/models/errors/apierror.d.ts +8 -0
- package/models/errors/apierror.d.ts.map +1 -0
- package/models/errors/apierror.js +21 -0
- package/models/errors/apierror.js.map +1 -0
- package/models/errors/honoapierror.d.ts +42 -0
- package/models/errors/honoapierror.d.ts.map +1 -0
- package/models/errors/honoapierror.js +80 -0
- package/models/errors/honoapierror.js.map +1 -0
- package/models/errors/httpclienterrors.d.ts +44 -0
- package/models/errors/httpclienterrors.d.ts.map +1 -0
- package/models/errors/httpclienterrors.js +78 -0
- package/models/errors/httpclienterrors.js.map +1 -0
- package/models/errors/index.d.ts +6 -0
- package/models/errors/index.d.ts.map +1 -0
- package/models/errors/index.js +25 -0
- package/models/errors/index.js.map +1 -0
- package/models/errors/sdkvalidationerror.d.ts +20 -0
- package/models/errors/sdkvalidationerror.d.ts.map +1 -0
- package/models/errors/sdkvalidationerror.js +115 -0
- package/models/errors/sdkvalidationerror.js.map +1 -0
- package/models/errors/updateprompt.d.ts +36 -0
- package/models/errors/updateprompt.d.ts.map +1 -0
- package/models/errors/updateprompt.js +79 -0
- package/models/errors/updateprompt.js.map +1 -0
- package/models/operations/bulkfileupload.d.ts +162 -0
- package/models/operations/bulkfileupload.d.ts.map +1 -0
- package/models/operations/bulkfileupload.js +204 -0
- package/models/operations/bulkfileupload.js.map +1 -0
- package/models/operations/createcontact.d.ts +139 -0
- package/models/operations/createcontact.d.ts.map +1 -0
- package/models/operations/createcontact.js +149 -0
- package/models/operations/createcontact.js.map +1 -0
- package/models/operations/createfeedback.d.ts +136 -0
- package/models/operations/createfeedback.d.ts.map +1 -0
- package/models/operations/createfeedback.js +172 -0
- package/models/operations/createfeedback.js.map +1 -0
- package/models/operations/createprompt.d.ts +2023 -0
- package/models/operations/createprompt.d.ts.map +1 -0
- package/models/operations/createprompt.js +1849 -0
- package/models/operations/createprompt.js.map +1 -0
- package/models/operations/createpromptversion.d.ts +1989 -0
- package/models/operations/createpromptversion.d.ts.map +1 -0
- package/models/operations/createpromptversion.js +1844 -0
- package/models/operations/createpromptversion.js.map +1 -0
- package/models/operations/deleteprompt.d.ts +32 -0
- package/models/operations/deleteprompt.d.ts.map +1 -0
- package/models/operations/deleteprompt.js +69 -0
- package/models/operations/deleteprompt.js.map +1 -0
- package/models/operations/deploymentcreatemetric.d.ts +957 -0
- package/models/operations/deploymentcreatemetric.d.ts.map +1 -0
- package/models/operations/deploymentcreatemetric.js +954 -0
- package/models/operations/deploymentcreatemetric.js.map +1 -0
- package/models/operations/deploymentgetconfig.d.ts +1852 -0
- package/models/operations/deploymentgetconfig.d.ts.map +1 -0
- package/models/operations/deploymentgetconfig.js +1751 -0
- package/models/operations/deploymentgetconfig.js.map +1 -0
- package/models/operations/deploymentinvoke.d.ts +1344 -0
- package/models/operations/deploymentinvoke.d.ts.map +1 -0
- package/models/operations/deploymentinvoke.js +1208 -0
- package/models/operations/deploymentinvoke.js.map +1 -0
- package/models/operations/deployments.d.ts +1223 -0
- package/models/operations/deployments.d.ts.map +1 -0
- package/models/operations/deployments.js +1101 -0
- package/models/operations/deployments.js.map +1 -0
- package/models/operations/duplicateprompt.d.ts +32 -0
- package/models/operations/duplicateprompt.d.ts.map +1 -0
- package/models/operations/duplicateprompt.js +69 -0
- package/models/operations/duplicateprompt.js.map +1 -0
- package/models/operations/fileupload.d.ts +168 -0
- package/models/operations/fileupload.d.ts.map +1 -0
- package/models/operations/fileupload.js +206 -0
- package/models/operations/fileupload.js.map +1 -0
- package/models/operations/findonepromptsnippet.d.ts +6242 -0
- package/models/operations/findonepromptsnippet.d.ts.map +1 -0
- package/models/operations/findonepromptsnippet.js +5879 -0
- package/models/operations/findonepromptsnippet.js.map +1 -0
- package/models/operations/getallprompts.d.ts +6577 -0
- package/models/operations/getallprompts.d.ts.map +1 -0
- package/models/operations/getallprompts.js +6149 -0
- package/models/operations/getallprompts.js.map +1 -0
- package/models/operations/getallprompttemplates.d.ts +6571 -0
- package/models/operations/getallprompttemplates.d.ts.map +1 -0
- package/models/operations/getallprompttemplates.js +6213 -0
- package/models/operations/getallprompttemplates.js.map +1 -0
- package/models/operations/getoneprompt.d.ts +32 -0
- package/models/operations/getoneprompt.d.ts.map +1 -0
- package/models/operations/getoneprompt.js +69 -0
- package/models/operations/getoneprompt.js.map +1 -0
- package/models/operations/index.d.ts +20 -0
- package/models/operations/index.d.ts.map +1 -0
- package/models/operations/index.js +39 -0
- package/models/operations/index.js.map +1 -0
- package/models/operations/invaliddeployment.d.ts +29 -0
- package/models/operations/invaliddeployment.d.ts.map +1 -0
- package/models/operations/invaliddeployment.js +78 -0
- package/models/operations/invaliddeployment.js.map +1 -0
- package/models/operations/remoteconfigsgetconfig.d.ts +121 -0
- package/models/operations/remoteconfigsgetconfig.d.ts.map +1 -0
- package/models/operations/remoteconfigsgetconfig.js +126 -0
- package/models/operations/remoteconfigsgetconfig.js.map +1 -0
- package/models/operations/updateprompt.d.ts +7209 -0
- package/models/operations/updateprompt.d.ts.map +1 -0
- package/models/operations/updateprompt.js +6664 -0
- package/models/operations/updateprompt.js.map +1 -0
- package/package.json +33 -0
- package/sdk/contacts.d.ts +12 -0
- package/sdk/contacts.d.ts.map +1 -0
- package/sdk/contacts.js +22 -0
- package/sdk/contacts.js.map +1 -0
- package/sdk/deployments.d.ts +41 -0
- package/sdk/deployments.d.ts.map +1 -0
- package/sdk/deployments.js +59 -0
- package/sdk/deployments.js.map +1 -0
- package/sdk/feedback.d.ts +12 -0
- package/sdk/feedback.d.ts.map +1 -0
- package/sdk/feedback.js +22 -0
- package/sdk/feedback.js.map +1 -0
- package/sdk/files.d.ts +19 -0
- package/sdk/files.d.ts.map +1 -0
- package/sdk/files.js +32 -0
- package/sdk/files.js.map +1 -0
- package/sdk/index.d.ts +2 -0
- package/sdk/index.d.ts.map +1 -0
- package/sdk/index.js +21 -0
- package/sdk/index.js.map +1 -0
- package/sdk/metrics.d.ts +12 -0
- package/sdk/metrics.d.ts.map +1 -0
- package/sdk/metrics.js +22 -0
- package/sdk/metrics.js.map +1 -0
- package/sdk/prompt.d.ts +10 -0
- package/sdk/prompt.d.ts.map +1 -0
- package/sdk/prompt.js +21 -0
- package/sdk/prompt.js.map +1 -0
- package/sdk/prompts.d.ts +33 -0
- package/sdk/prompts.d.ts.map +1 -0
- package/sdk/prompts.js +61 -0
- package/sdk/prompts.js.map +1 -0
- package/sdk/remoteconfig.d.ts +9 -0
- package/sdk/remoteconfig.d.ts.map +1 -0
- package/sdk/remoteconfig.js +19 -0
- package/sdk/remoteconfig.js.map +1 -0
- package/sdk/sdk.d.ts +25 -0
- package/sdk/sdk.d.ts.map +1 -0
- package/sdk/sdk.js +46 -0
- package/sdk/sdk.js.map +1 -0
- package/sdk/snippets.d.ts +9 -0
- package/sdk/snippets.d.ts.map +1 -0
- package/sdk/snippets.js +19 -0
- package/sdk/snippets.js.map +1 -0
- package/sdk/templates.d.ts +9 -0
- package/sdk/templates.d.ts.map +1 -0
- package/sdk/templates.js +19 -0
- package/sdk/templates.js.map +1 -0
- package/src/core.ts +13 -0
- package/src/funcs/contactsCreate.ts +123 -0
- package/src/funcs/deploymentsAll.ts +137 -0
- package/src/funcs/deploymentsGetConfig.ts +131 -0
- package/src/funcs/deploymentsInvalidate.ts +132 -0
- package/src/funcs/deploymentsInvoke.ts +134 -0
- package/src/funcs/deploymentsMetricsCreate.ts +131 -0
- package/src/funcs/feedbackCreate.ts +123 -0
- package/src/funcs/filesBulkUpload.ts +125 -0
- package/src/funcs/filesUpload.ts +144 -0
- package/src/funcs/promptSnippetsFindOne.ts +127 -0
- package/src/funcs/promptTemplatesGetAll.ts +129 -0
- package/src/funcs/promptsCreate.ts +123 -0
- package/src/funcs/promptsCreateVersion.ts +128 -0
- package/src/funcs/promptsDelete.ts +127 -0
- package/src/funcs/promptsDuplicate.ts +127 -0
- package/src/funcs/promptsGetAll.ts +127 -0
- package/src/funcs/promptsGetOne.ts +127 -0
- package/src/funcs/promptsUpdate.ts +135 -0
- package/src/funcs/remoteconfigGetConfig.ts +124 -0
- package/src/hooks/hooks.ts +112 -0
- package/src/hooks/index.ts +6 -0
- package/src/hooks/registration.ts +14 -0
- package/src/hooks/types.ts +102 -0
- package/src/index.ts +7 -0
- package/src/lib/base64.ts +37 -0
- package/src/lib/config.ts +60 -0
- package/src/lib/dlv.ts +53 -0
- package/src/lib/encodings.ts +449 -0
- package/src/lib/env.ts +41 -0
- package/src/lib/event-streams.ts +264 -0
- package/src/lib/files.ts +40 -0
- package/src/lib/http.ts +323 -0
- package/src/lib/is-plain-object.ts +43 -0
- package/src/lib/logger.ts +9 -0
- package/src/lib/matchers.ts +325 -0
- package/src/lib/primitives.ts +122 -0
- package/src/lib/retries.ts +219 -0
- package/src/lib/schemas.ts +86 -0
- package/src/lib/sdks.ts +392 -0
- package/src/lib/security.ts +254 -0
- package/src/lib/url.ts +33 -0
- package/src/models/components/deployments.ts +1607 -0
- package/src/models/components/index.ts +6 -0
- package/src/models/components/security.ts +71 -0
- package/src/models/errors/apierror.ts +27 -0
- package/src/models/errors/honoapierror.ts +82 -0
- package/src/models/errors/httpclienterrors.ts +62 -0
- package/src/models/errors/index.ts +9 -0
- package/src/models/errors/sdkvalidationerror.ts +97 -0
- package/src/models/errors/updateprompt.ts +71 -0
- package/src/models/operations/bulkfileupload.ts +304 -0
- package/src/models/operations/createcontact.ts +256 -0
- package/src/models/operations/createfeedback.ts +286 -0
- package/src/models/operations/createprompt.ts +3451 -0
- package/src/models/operations/createpromptversion.ts +3693 -0
- package/src/models/operations/deleteprompt.ts +69 -0
- package/src/models/operations/deploymentcreatemetric.ts +1790 -0
- package/src/models/operations/deploymentgetconfig.ts +3416 -0
- package/src/models/operations/deploymentinvoke.ts +2383 -0
- package/src/models/operations/deployments.ts +2084 -0
- package/src/models/operations/duplicateprompt.ts +69 -0
- package/src/models/operations/fileupload.ts +311 -0
- package/src/models/operations/findonepromptsnippet.ts +13617 -0
- package/src/models/operations/getallprompts.ts +13378 -0
- package/src/models/operations/getallprompttemplates.ts +13678 -0
- package/src/models/operations/getoneprompt.ts +69 -0
- package/src/models/operations/index.ts +23 -0
- package/src/models/operations/invaliddeployment.ts +75 -0
- package/src/models/operations/remoteconfigsgetconfig.ts +190 -0
- package/src/models/operations/updateprompt.ts +14393 -0
- package/src/sdk/contacts.ts +27 -0
- package/src/sdk/deployments.ts +93 -0
- package/src/sdk/feedback.ts +27 -0
- package/src/sdk/files.ts +45 -0
- package/src/sdk/index.ts +5 -0
- package/src/sdk/metrics.ts +27 -0
- package/src/sdk/prompt.ts +19 -0
- package/src/sdk/prompts.ts +114 -0
- package/src/sdk/remoteconfig.ts +24 -0
- package/src/sdk/sdk.ts +49 -0
- package/src/sdk/snippets.ts +24 -0
- package/src/sdk/templates.ts +24 -0
- package/src/types/blobs.ts +31 -0
- package/src/types/constdatetime.ts +15 -0
- package/src/types/enums.ts +16 -0
- package/src/types/fp.ts +50 -0
- package/src/types/index.ts +11 -0
- package/src/types/operations.ts +105 -0
- package/src/types/rfcdate.ts +54 -0
- package/src/types/streams.ts +21 -0
- package/types/blobs.d.ts +4 -0
- package/types/blobs.d.ts.map +1 -0
- package/types/blobs.js +62 -0
- package/types/blobs.js.map +1 -0
- package/types/constdatetime.d.ts +3 -0
- package/types/constdatetime.d.ts.map +1 -0
- package/types/constdatetime.js +46 -0
- package/types/constdatetime.js.map +1 -0
- package/types/enums.d.ts +12 -0
- package/types/enums.d.ts.map +1 -0
- package/types/enums.js +10 -0
- package/types/enums.js.map +1 -0
- package/types/fp.d.ts +31 -0
- package/types/fp.d.ts.map +1 -0
- package/types/fp.js +37 -0
- package/types/fp.js.map +1 -0
- package/types/index.d.ts +8 -0
- package/types/index.d.ts.map +1 -0
- package/types/index.js +16 -0
- package/types/index.js.map +1 -0
- package/types/operations.d.ts +27 -0
- package/types/operations.d.ts.map +1 -0
- package/types/operations.js +83 -0
- package/types/operations.js.map +1 -0
- package/types/rfcdate.d.ts +21 -0
- package/types/rfcdate.d.ts.map +1 -0
- package/types/rfcdate.js +46 -0
- package/types/rfcdate.js.map +1 -0
- package/types/streams.d.ts +2 -0
- package/types/streams.d.ts.map +1 -0
- package/types/streams.js +18 -0
- package/types/streams.js.map +1 -0
|
@@ -0,0 +1,1223 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
3
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
4
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
5
|
+
export type DeploymentsRequest = {
|
|
6
|
+
/**
|
|
7
|
+
* A limit on the number of objects to be returned. Limit can range between 1 and 50, and the default is 10
|
|
8
|
+
*/
|
|
9
|
+
limit?: number | undefined;
|
|
10
|
+
/**
|
|
11
|
+
* A cursor for use in pagination. `after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 20 objects, ending with `ed33dade-ae32-4959-8c5c-7ae4aad748b5`, your subsequent call can include `after=ed33dade-ae32-4959-8c5c-7ae4aad748b5` in order to fetch the next page of the list.
|
|
12
|
+
*/
|
|
13
|
+
after?: string | undefined;
|
|
14
|
+
};
|
|
15
|
+
export declare const ObjectT: {
|
|
16
|
+
readonly List: "list";
|
|
17
|
+
};
|
|
18
|
+
export type ObjectT = ClosedEnum<typeof ObjectT>;
|
|
19
|
+
/**
|
|
20
|
+
* The type of the tool. Currently, only `function` is supported.
|
|
21
|
+
*/
|
|
22
|
+
export declare const DeploymentsType: {
|
|
23
|
+
readonly Function: "function";
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* The type of the tool. Currently, only `function` is supported.
|
|
27
|
+
*/
|
|
28
|
+
export type DeploymentsType = ClosedEnum<typeof DeploymentsType>;
|
|
29
|
+
export declare const DeploymentsDeploymentsResponseType: {
|
|
30
|
+
readonly Object: "object";
|
|
31
|
+
};
|
|
32
|
+
export type DeploymentsDeploymentsResponseType = ClosedEnum<typeof DeploymentsDeploymentsResponseType>;
|
|
33
|
+
/**
|
|
34
|
+
* The parameters the functions accepts, described as a JSON Schema object.
|
|
35
|
+
*
|
|
36
|
+
* @remarks
|
|
37
|
+
*
|
|
38
|
+
* Omitting `parameters` defines a function with an empty parameter list.
|
|
39
|
+
*/
|
|
40
|
+
export type DeploymentsParameters = {
|
|
41
|
+
type: DeploymentsDeploymentsResponseType;
|
|
42
|
+
properties: {
|
|
43
|
+
[k: string]: any;
|
|
44
|
+
};
|
|
45
|
+
required?: Array<string> | undefined;
|
|
46
|
+
additionalProperties?: boolean | undefined;
|
|
47
|
+
};
|
|
48
|
+
export type DeploymentsFunction = {
|
|
49
|
+
/**
|
|
50
|
+
* The name of the function to be called. Must be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64.
|
|
51
|
+
*/
|
|
52
|
+
name: string;
|
|
53
|
+
/**
|
|
54
|
+
* A description of what the function does, used by the model to choose when and how to call the function.
|
|
55
|
+
*/
|
|
56
|
+
description?: string | undefined;
|
|
57
|
+
strict?: boolean | undefined;
|
|
58
|
+
/**
|
|
59
|
+
* The parameters the functions accepts, described as a JSON Schema object.
|
|
60
|
+
*
|
|
61
|
+
* @remarks
|
|
62
|
+
*
|
|
63
|
+
* Omitting `parameters` defines a function with an empty parameter list.
|
|
64
|
+
*/
|
|
65
|
+
parameters: DeploymentsParameters;
|
|
66
|
+
};
|
|
67
|
+
export type DeploymentsTools = {
|
|
68
|
+
/**
|
|
69
|
+
* The type of the tool. Currently, only `function` is supported.
|
|
70
|
+
*/
|
|
71
|
+
type: DeploymentsType;
|
|
72
|
+
function: DeploymentsFunction;
|
|
73
|
+
id?: number | undefined;
|
|
74
|
+
};
|
|
75
|
+
/**
|
|
76
|
+
* The type of the model
|
|
77
|
+
*/
|
|
78
|
+
export declare const DeploymentsModelType: {
|
|
79
|
+
readonly Chat: "chat";
|
|
80
|
+
readonly Completion: "completion";
|
|
81
|
+
readonly Embedding: "embedding";
|
|
82
|
+
readonly Vision: "vision";
|
|
83
|
+
readonly Image: "image";
|
|
84
|
+
readonly Tts: "tts";
|
|
85
|
+
readonly Stt: "stt";
|
|
86
|
+
readonly Rerank: "rerank";
|
|
87
|
+
};
|
|
88
|
+
/**
|
|
89
|
+
* The type of the model
|
|
90
|
+
*/
|
|
91
|
+
export type DeploymentsModelType = ClosedEnum<typeof DeploymentsModelType>;
|
|
92
|
+
/**
|
|
93
|
+
* Only supported on `image` models.
|
|
94
|
+
*/
|
|
95
|
+
export declare const DeploymentsFormat: {
|
|
96
|
+
readonly Url: "url";
|
|
97
|
+
readonly B64Json: "b64_json";
|
|
98
|
+
readonly Text: "text";
|
|
99
|
+
readonly JsonObject: "json_object";
|
|
100
|
+
};
|
|
101
|
+
/**
|
|
102
|
+
* Only supported on `image` models.
|
|
103
|
+
*/
|
|
104
|
+
export type DeploymentsFormat = ClosedEnum<typeof DeploymentsFormat>;
|
|
105
|
+
/**
|
|
106
|
+
* Only supported on `image` models.
|
|
107
|
+
*/
|
|
108
|
+
export declare const DeploymentsQuality: {
|
|
109
|
+
readonly Standard: "standard";
|
|
110
|
+
readonly Hd: "hd";
|
|
111
|
+
};
|
|
112
|
+
/**
|
|
113
|
+
* Only supported on `image` models.
|
|
114
|
+
*/
|
|
115
|
+
export type DeploymentsQuality = ClosedEnum<typeof DeploymentsQuality>;
|
|
116
|
+
export declare const DeploymentsResponseFormatType: {
|
|
117
|
+
readonly JsonObject: "json_object";
|
|
118
|
+
};
|
|
119
|
+
export type DeploymentsResponseFormatType = ClosedEnum<typeof DeploymentsResponseFormatType>;
|
|
120
|
+
export type DeploymentsResponseFormat2 = {
|
|
121
|
+
type: DeploymentsResponseFormatType;
|
|
122
|
+
};
|
|
123
|
+
export declare const DeploymentsResponseFormatDeploymentsType: {
|
|
124
|
+
readonly JsonSchema: "json_schema";
|
|
125
|
+
};
|
|
126
|
+
export type DeploymentsResponseFormatDeploymentsType = ClosedEnum<typeof DeploymentsResponseFormatDeploymentsType>;
|
|
127
|
+
export type DeploymentsResponseFormatJsonSchema = {
|
|
128
|
+
name: string;
|
|
129
|
+
strict: boolean;
|
|
130
|
+
schema: {
|
|
131
|
+
[k: string]: any;
|
|
132
|
+
};
|
|
133
|
+
};
|
|
134
|
+
export type DeploymentsResponseFormat1 = {
|
|
135
|
+
type: DeploymentsResponseFormatDeploymentsType;
|
|
136
|
+
jsonSchema: DeploymentsResponseFormatJsonSchema;
|
|
137
|
+
};
|
|
138
|
+
/**
|
|
139
|
+
* An object specifying the format that the model must output.
|
|
140
|
+
*
|
|
141
|
+
* @remarks
|
|
142
|
+
*
|
|
143
|
+
* Setting to `{ "type": "json_schema", "json_schema": {...} }` enables Structured Outputs which ensures the model will match your supplied JSON schema
|
|
144
|
+
*
|
|
145
|
+
* Setting to `{ "type": "json_object" }` enables JSON mode, which ensures the message the model generates is valid JSON.
|
|
146
|
+
*
|
|
147
|
+
* Important: when using JSON mode, you must also instruct the model to produce JSON yourself via a system or user message. Without this, the model may generate an unending stream of whitespace until the generation reaches the token limit, resulting in a long-running and seemingly "stuck" request. Also note that the message content may be partially cut off if finish_reason="length", which indicates the generation exceeded max_tokens or the conversation exceeded the max context length.
|
|
148
|
+
*/
|
|
149
|
+
export type DeploymentsResponseFormat = DeploymentsResponseFormat2 | DeploymentsResponseFormat1;
|
|
150
|
+
/**
|
|
151
|
+
* The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
|
|
152
|
+
*/
|
|
153
|
+
export declare const DeploymentsPhotoRealVersion: {
|
|
154
|
+
readonly V1: "v1";
|
|
155
|
+
readonly V2: "v2";
|
|
156
|
+
};
|
|
157
|
+
/**
|
|
158
|
+
* The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
|
|
159
|
+
*/
|
|
160
|
+
export type DeploymentsPhotoRealVersion = ClosedEnum<typeof DeploymentsPhotoRealVersion>;
|
|
161
|
+
/**
|
|
162
|
+
* The format to return the embeddings
|
|
163
|
+
*/
|
|
164
|
+
export declare const DeploymentsEncodingFormat: {
|
|
165
|
+
readonly Float: "float";
|
|
166
|
+
readonly Base64: "base64";
|
|
167
|
+
};
|
|
168
|
+
/**
|
|
169
|
+
* The format to return the embeddings
|
|
170
|
+
*/
|
|
171
|
+
export type DeploymentsEncodingFormat = ClosedEnum<typeof DeploymentsEncodingFormat>;
|
|
172
|
+
/**
|
|
173
|
+
* Model Parameters: Not all parameters apply to every model
|
|
174
|
+
*/
|
|
175
|
+
export type DeploymentsModelParameters = {
|
|
176
|
+
/**
|
|
177
|
+
* Only supported on `chat` and `completion` models.
|
|
178
|
+
*/
|
|
179
|
+
temperature?: number | undefined;
|
|
180
|
+
/**
|
|
181
|
+
* Only supported on `chat` and `completion` models.
|
|
182
|
+
*/
|
|
183
|
+
maxTokens?: number | undefined;
|
|
184
|
+
/**
|
|
185
|
+
* Only supported on `chat` and `completion` models.
|
|
186
|
+
*/
|
|
187
|
+
topK?: number | undefined;
|
|
188
|
+
/**
|
|
189
|
+
* Only supported on `chat` and `completion` models.
|
|
190
|
+
*/
|
|
191
|
+
topP?: number | undefined;
|
|
192
|
+
/**
|
|
193
|
+
* Only supported on `chat` and `completion` models.
|
|
194
|
+
*/
|
|
195
|
+
frequencyPenalty?: number | undefined;
|
|
196
|
+
/**
|
|
197
|
+
* Only supported on `chat` and `completion` models.
|
|
198
|
+
*/
|
|
199
|
+
presencePenalty?: number | undefined;
|
|
200
|
+
/**
|
|
201
|
+
* Only supported on `image` models.
|
|
202
|
+
*/
|
|
203
|
+
numImages?: number | undefined;
|
|
204
|
+
/**
|
|
205
|
+
* Best effort deterministic seed for the model. Currently only OpenAI models support these
|
|
206
|
+
*/
|
|
207
|
+
seed?: number | undefined;
|
|
208
|
+
/**
|
|
209
|
+
* Only supported on `image` models.
|
|
210
|
+
*/
|
|
211
|
+
format?: DeploymentsFormat | undefined;
|
|
212
|
+
/**
|
|
213
|
+
* Only supported on `image` models.
|
|
214
|
+
*/
|
|
215
|
+
dimensions?: string | undefined;
|
|
216
|
+
/**
|
|
217
|
+
* Only supported on `image` models.
|
|
218
|
+
*/
|
|
219
|
+
quality?: DeploymentsQuality | undefined;
|
|
220
|
+
/**
|
|
221
|
+
* Only supported on `image` models.
|
|
222
|
+
*/
|
|
223
|
+
style?: string | undefined;
|
|
224
|
+
/**
|
|
225
|
+
* An object specifying the format that the model must output.
|
|
226
|
+
*
|
|
227
|
+
* @remarks
|
|
228
|
+
*
|
|
229
|
+
* Setting to `{ "type": "json_schema", "json_schema": {...} }` enables Structured Outputs which ensures the model will match your supplied JSON schema
|
|
230
|
+
*
|
|
231
|
+
* Setting to `{ "type": "json_object" }` enables JSON mode, which ensures the message the model generates is valid JSON.
|
|
232
|
+
*
|
|
233
|
+
* Important: when using JSON mode, you must also instruct the model to produce JSON yourself via a system or user message. Without this, the model may generate an unending stream of whitespace until the generation reaches the token limit, resulting in a long-running and seemingly "stuck" request. Also note that the message content may be partially cut off if finish_reason="length", which indicates the generation exceeded max_tokens or the conversation exceeded the max context length.
|
|
234
|
+
*/
|
|
235
|
+
responseFormat?: DeploymentsResponseFormat2 | DeploymentsResponseFormat1 | null | undefined;
|
|
236
|
+
/**
|
|
237
|
+
* The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
|
|
238
|
+
*/
|
|
239
|
+
photoRealVersion?: DeploymentsPhotoRealVersion | undefined;
|
|
240
|
+
/**
|
|
241
|
+
* The format to return the embeddings
|
|
242
|
+
*/
|
|
243
|
+
encodingFormat?: DeploymentsEncodingFormat | undefined;
|
|
244
|
+
};
|
|
245
|
+
export declare const DeploymentsProvider: {
|
|
246
|
+
readonly Cohere: "cohere";
|
|
247
|
+
readonly Openai: "openai";
|
|
248
|
+
readonly Anthropic: "anthropic";
|
|
249
|
+
readonly Huggingface: "huggingface";
|
|
250
|
+
readonly Replicate: "replicate";
|
|
251
|
+
readonly Google: "google";
|
|
252
|
+
readonly GoogleAi: "google-ai";
|
|
253
|
+
readonly Azure: "azure";
|
|
254
|
+
readonly Aws: "aws";
|
|
255
|
+
readonly Anyscale: "anyscale";
|
|
256
|
+
readonly Perplexity: "perplexity";
|
|
257
|
+
readonly Groq: "groq";
|
|
258
|
+
readonly Fal: "fal";
|
|
259
|
+
readonly Leonardoai: "leonardoai";
|
|
260
|
+
readonly Nvidia: "nvidia";
|
|
261
|
+
};
|
|
262
|
+
export type DeploymentsProvider = ClosedEnum<typeof DeploymentsProvider>;
|
|
263
|
+
/**
|
|
264
|
+
* The role of the prompt message
|
|
265
|
+
*/
|
|
266
|
+
export declare const DeploymentsRole: {
|
|
267
|
+
readonly System: "system";
|
|
268
|
+
readonly Assistant: "assistant";
|
|
269
|
+
readonly User: "user";
|
|
270
|
+
readonly Exception: "exception";
|
|
271
|
+
readonly Tool: "tool";
|
|
272
|
+
readonly Prompt: "prompt";
|
|
273
|
+
readonly Correction: "correction";
|
|
274
|
+
readonly ExpectedOutput: "expected_output";
|
|
275
|
+
};
|
|
276
|
+
/**
|
|
277
|
+
* The role of the prompt message
|
|
278
|
+
*/
|
|
279
|
+
export type DeploymentsRole = ClosedEnum<typeof DeploymentsRole>;
|
|
280
|
+
export declare const Deployments2Type: {
|
|
281
|
+
readonly ImageUrl: "image_url";
|
|
282
|
+
};
|
|
283
|
+
export type Deployments2Type = ClosedEnum<typeof Deployments2Type>;
|
|
284
|
+
export type Deployments2ImageUrl = {
|
|
285
|
+
/**
|
|
286
|
+
* The orq.ai id of the image
|
|
287
|
+
*/
|
|
288
|
+
id?: string | undefined;
|
|
289
|
+
/**
|
|
290
|
+
* Either a URL of the image or the base64 encoded data URI.
|
|
291
|
+
*/
|
|
292
|
+
url: string;
|
|
293
|
+
/**
|
|
294
|
+
* Specifies the detail level of the image. Currently only supported with OpenAI models
|
|
295
|
+
*/
|
|
296
|
+
detail?: string | undefined;
|
|
297
|
+
};
|
|
298
|
+
/**
|
|
299
|
+
* The image part of the prompt message. Only supported with vision models.
|
|
300
|
+
*/
|
|
301
|
+
export type Deployments22 = {
|
|
302
|
+
type: Deployments2Type;
|
|
303
|
+
imageUrl: Deployments2ImageUrl;
|
|
304
|
+
};
|
|
305
|
+
export declare const Deployments2DeploymentsType: {
|
|
306
|
+
readonly Text: "text";
|
|
307
|
+
};
|
|
308
|
+
export type Deployments2DeploymentsType = ClosedEnum<typeof Deployments2DeploymentsType>;
|
|
309
|
+
/**
|
|
310
|
+
* Text content part of a prompt message
|
|
311
|
+
*/
|
|
312
|
+
export type Deployments21 = {
|
|
313
|
+
type: Deployments2DeploymentsType;
|
|
314
|
+
text: string;
|
|
315
|
+
};
|
|
316
|
+
export type DeploymentsContent2 = Deployments21 | Deployments22;
|
|
317
|
+
/**
|
|
318
|
+
* The contents of the user message. Either the text content of the message or an array of content parts with a defined type, each can be of type `text` or `image_url` when passing in images. You can pass multiple images by adding multiple `image_url` content parts.
|
|
319
|
+
*/
|
|
320
|
+
export type DeploymentsContent = string | Array<Deployments21 | Deployments22>;
|
|
321
|
+
export declare const DeploymentsDeploymentsType: {
|
|
322
|
+
readonly Function: "function";
|
|
323
|
+
};
|
|
324
|
+
export type DeploymentsDeploymentsType = ClosedEnum<typeof DeploymentsDeploymentsType>;
|
|
325
|
+
export type DeploymentsDeploymentsFunction = {
|
|
326
|
+
name: string;
|
|
327
|
+
/**
|
|
328
|
+
* JSON string arguments for the functions
|
|
329
|
+
*/
|
|
330
|
+
arguments: string;
|
|
331
|
+
};
|
|
332
|
+
export type DeploymentsToolCalls = {
|
|
333
|
+
id?: string | undefined;
|
|
334
|
+
index?: number | undefined;
|
|
335
|
+
type: DeploymentsDeploymentsType;
|
|
336
|
+
function: DeploymentsDeploymentsFunction;
|
|
337
|
+
};
|
|
338
|
+
export type DeploymentsMessages = {
|
|
339
|
+
/**
|
|
340
|
+
* The role of the prompt message
|
|
341
|
+
*/
|
|
342
|
+
role: DeploymentsRole;
|
|
343
|
+
/**
|
|
344
|
+
* The contents of the user message. Either the text content of the message or an array of content parts with a defined type, each can be of type `text` or `image_url` when passing in images. You can pass multiple images by adding multiple `image_url` content parts.
|
|
345
|
+
*/
|
|
346
|
+
content: string | Array<Deployments21 | Deployments22>;
|
|
347
|
+
toolCalls?: Array<DeploymentsToolCalls> | undefined;
|
|
348
|
+
};
|
|
349
|
+
export type DeploymentsPromptConfig = {
|
|
350
|
+
tools: Array<DeploymentsTools>;
|
|
351
|
+
model: string;
|
|
352
|
+
/**
|
|
353
|
+
* The type of the model
|
|
354
|
+
*/
|
|
355
|
+
modelType: DeploymentsModelType;
|
|
356
|
+
/**
|
|
357
|
+
* Model Parameters: Not all parameters apply to every model
|
|
358
|
+
*/
|
|
359
|
+
modelParameters: DeploymentsModelParameters;
|
|
360
|
+
provider: DeploymentsProvider;
|
|
361
|
+
messages: Array<DeploymentsMessages>;
|
|
362
|
+
};
|
|
363
|
+
export type Data = {
|
|
364
|
+
/**
|
|
365
|
+
* Unique identifier for the object.
|
|
366
|
+
*/
|
|
367
|
+
id: string;
|
|
368
|
+
/**
|
|
369
|
+
* Date in ISO 8601 format at which the object was created.
|
|
370
|
+
*/
|
|
371
|
+
created: string;
|
|
372
|
+
/**
|
|
373
|
+
* Date in ISO 8601 format at which the object was last updated.
|
|
374
|
+
*/
|
|
375
|
+
updated: string;
|
|
376
|
+
/**
|
|
377
|
+
* The deployment unique key
|
|
378
|
+
*/
|
|
379
|
+
key: string;
|
|
380
|
+
/**
|
|
381
|
+
* An arbitrary string attached to the object. Often useful for displaying to users.
|
|
382
|
+
*/
|
|
383
|
+
description: string;
|
|
384
|
+
promptConfig: DeploymentsPromptConfig;
|
|
385
|
+
/**
|
|
386
|
+
* THe version of the deployment
|
|
387
|
+
*/
|
|
388
|
+
version: string;
|
|
389
|
+
};
|
|
390
|
+
/**
|
|
391
|
+
* List of deployments
|
|
392
|
+
*/
|
|
393
|
+
export type DeploymentsResponseBody = {
|
|
394
|
+
object: ObjectT;
|
|
395
|
+
data: Array<Data>;
|
|
396
|
+
hasMore: boolean;
|
|
397
|
+
};
|
|
398
|
+
/** @internal */
|
|
399
|
+
export declare const DeploymentsRequest$inboundSchema: z.ZodType<DeploymentsRequest, z.ZodTypeDef, unknown>;
|
|
400
|
+
/** @internal */
|
|
401
|
+
export type DeploymentsRequest$Outbound = {
|
|
402
|
+
limit: number;
|
|
403
|
+
after?: string | undefined;
|
|
404
|
+
};
|
|
405
|
+
/** @internal */
|
|
406
|
+
export declare const DeploymentsRequest$outboundSchema: z.ZodType<DeploymentsRequest$Outbound, z.ZodTypeDef, DeploymentsRequest>;
|
|
407
|
+
/**
|
|
408
|
+
* @internal
|
|
409
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
410
|
+
*/
|
|
411
|
+
export declare namespace DeploymentsRequest$ {
|
|
412
|
+
/** @deprecated use `DeploymentsRequest$inboundSchema` instead. */
|
|
413
|
+
const inboundSchema: z.ZodType<DeploymentsRequest, z.ZodTypeDef, unknown>;
|
|
414
|
+
/** @deprecated use `DeploymentsRequest$outboundSchema` instead. */
|
|
415
|
+
const outboundSchema: z.ZodType<DeploymentsRequest$Outbound, z.ZodTypeDef, DeploymentsRequest>;
|
|
416
|
+
/** @deprecated use `DeploymentsRequest$Outbound` instead. */
|
|
417
|
+
type Outbound = DeploymentsRequest$Outbound;
|
|
418
|
+
}
|
|
419
|
+
export declare function deploymentsRequestToJSON(deploymentsRequest: DeploymentsRequest): string;
|
|
420
|
+
export declare function deploymentsRequestFromJSON(jsonString: string): SafeParseResult<DeploymentsRequest, SDKValidationError>;
|
|
421
|
+
/** @internal */
|
|
422
|
+
export declare const ObjectT$inboundSchema: z.ZodNativeEnum<typeof ObjectT>;
|
|
423
|
+
/** @internal */
|
|
424
|
+
export declare const ObjectT$outboundSchema: z.ZodNativeEnum<typeof ObjectT>;
|
|
425
|
+
/**
|
|
426
|
+
* @internal
|
|
427
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
428
|
+
*/
|
|
429
|
+
export declare namespace ObjectT$ {
|
|
430
|
+
/** @deprecated use `ObjectT$inboundSchema` instead. */
|
|
431
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
432
|
+
readonly List: "list";
|
|
433
|
+
}>;
|
|
434
|
+
/** @deprecated use `ObjectT$outboundSchema` instead. */
|
|
435
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
436
|
+
readonly List: "list";
|
|
437
|
+
}>;
|
|
438
|
+
}
|
|
439
|
+
/** @internal */
|
|
440
|
+
export declare const DeploymentsType$inboundSchema: z.ZodNativeEnum<typeof DeploymentsType>;
|
|
441
|
+
/** @internal */
|
|
442
|
+
export declare const DeploymentsType$outboundSchema: z.ZodNativeEnum<typeof DeploymentsType>;
|
|
443
|
+
/**
|
|
444
|
+
* @internal
|
|
445
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
446
|
+
*/
|
|
447
|
+
export declare namespace DeploymentsType$ {
|
|
448
|
+
/** @deprecated use `DeploymentsType$inboundSchema` instead. */
|
|
449
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
450
|
+
readonly Function: "function";
|
|
451
|
+
}>;
|
|
452
|
+
/** @deprecated use `DeploymentsType$outboundSchema` instead. */
|
|
453
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
454
|
+
readonly Function: "function";
|
|
455
|
+
}>;
|
|
456
|
+
}
|
|
457
|
+
/** @internal */
|
|
458
|
+
export declare const DeploymentsDeploymentsResponseType$inboundSchema: z.ZodNativeEnum<typeof DeploymentsDeploymentsResponseType>;
|
|
459
|
+
/** @internal */
|
|
460
|
+
export declare const DeploymentsDeploymentsResponseType$outboundSchema: z.ZodNativeEnum<typeof DeploymentsDeploymentsResponseType>;
|
|
461
|
+
/**
|
|
462
|
+
* @internal
|
|
463
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
464
|
+
*/
|
|
465
|
+
export declare namespace DeploymentsDeploymentsResponseType$ {
|
|
466
|
+
/** @deprecated use `DeploymentsDeploymentsResponseType$inboundSchema` instead. */
|
|
467
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
468
|
+
readonly Object: "object";
|
|
469
|
+
}>;
|
|
470
|
+
/** @deprecated use `DeploymentsDeploymentsResponseType$outboundSchema` instead. */
|
|
471
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
472
|
+
readonly Object: "object";
|
|
473
|
+
}>;
|
|
474
|
+
}
|
|
475
|
+
/** @internal */
|
|
476
|
+
export declare const DeploymentsParameters$inboundSchema: z.ZodType<DeploymentsParameters, z.ZodTypeDef, unknown>;
|
|
477
|
+
/** @internal */
|
|
478
|
+
export type DeploymentsParameters$Outbound = {
|
|
479
|
+
type: string;
|
|
480
|
+
properties: {
|
|
481
|
+
[k: string]: any;
|
|
482
|
+
};
|
|
483
|
+
required?: Array<string> | undefined;
|
|
484
|
+
additionalProperties?: boolean | undefined;
|
|
485
|
+
};
|
|
486
|
+
/** @internal */
|
|
487
|
+
export declare const DeploymentsParameters$outboundSchema: z.ZodType<DeploymentsParameters$Outbound, z.ZodTypeDef, DeploymentsParameters>;
|
|
488
|
+
/**
|
|
489
|
+
* @internal
|
|
490
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
491
|
+
*/
|
|
492
|
+
export declare namespace DeploymentsParameters$ {
|
|
493
|
+
/** @deprecated use `DeploymentsParameters$inboundSchema` instead. */
|
|
494
|
+
const inboundSchema: z.ZodType<DeploymentsParameters, z.ZodTypeDef, unknown>;
|
|
495
|
+
/** @deprecated use `DeploymentsParameters$outboundSchema` instead. */
|
|
496
|
+
const outboundSchema: z.ZodType<DeploymentsParameters$Outbound, z.ZodTypeDef, DeploymentsParameters>;
|
|
497
|
+
/** @deprecated use `DeploymentsParameters$Outbound` instead. */
|
|
498
|
+
type Outbound = DeploymentsParameters$Outbound;
|
|
499
|
+
}
|
|
500
|
+
export declare function deploymentsParametersToJSON(deploymentsParameters: DeploymentsParameters): string;
|
|
501
|
+
export declare function deploymentsParametersFromJSON(jsonString: string): SafeParseResult<DeploymentsParameters, SDKValidationError>;
|
|
502
|
+
/** @internal */
|
|
503
|
+
export declare const DeploymentsFunction$inboundSchema: z.ZodType<DeploymentsFunction, z.ZodTypeDef, unknown>;
|
|
504
|
+
/** @internal */
|
|
505
|
+
export type DeploymentsFunction$Outbound = {
|
|
506
|
+
name: string;
|
|
507
|
+
description?: string | undefined;
|
|
508
|
+
strict?: boolean | undefined;
|
|
509
|
+
parameters: DeploymentsParameters$Outbound;
|
|
510
|
+
};
|
|
511
|
+
/** @internal */
|
|
512
|
+
export declare const DeploymentsFunction$outboundSchema: z.ZodType<DeploymentsFunction$Outbound, z.ZodTypeDef, DeploymentsFunction>;
|
|
513
|
+
/**
|
|
514
|
+
* @internal
|
|
515
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
516
|
+
*/
|
|
517
|
+
export declare namespace DeploymentsFunction$ {
|
|
518
|
+
/** @deprecated use `DeploymentsFunction$inboundSchema` instead. */
|
|
519
|
+
const inboundSchema: z.ZodType<DeploymentsFunction, z.ZodTypeDef, unknown>;
|
|
520
|
+
/** @deprecated use `DeploymentsFunction$outboundSchema` instead. */
|
|
521
|
+
const outboundSchema: z.ZodType<DeploymentsFunction$Outbound, z.ZodTypeDef, DeploymentsFunction>;
|
|
522
|
+
/** @deprecated use `DeploymentsFunction$Outbound` instead. */
|
|
523
|
+
type Outbound = DeploymentsFunction$Outbound;
|
|
524
|
+
}
|
|
525
|
+
export declare function deploymentsFunctionToJSON(deploymentsFunction: DeploymentsFunction): string;
|
|
526
|
+
export declare function deploymentsFunctionFromJSON(jsonString: string): SafeParseResult<DeploymentsFunction, SDKValidationError>;
|
|
527
|
+
/** @internal */
|
|
528
|
+
export declare const DeploymentsTools$inboundSchema: z.ZodType<DeploymentsTools, z.ZodTypeDef, unknown>;
|
|
529
|
+
/** @internal */
|
|
530
|
+
export type DeploymentsTools$Outbound = {
|
|
531
|
+
type: string;
|
|
532
|
+
function: DeploymentsFunction$Outbound;
|
|
533
|
+
id?: number | undefined;
|
|
534
|
+
};
|
|
535
|
+
/** @internal */
|
|
536
|
+
export declare const DeploymentsTools$outboundSchema: z.ZodType<DeploymentsTools$Outbound, z.ZodTypeDef, DeploymentsTools>;
|
|
537
|
+
/**
|
|
538
|
+
* @internal
|
|
539
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
540
|
+
*/
|
|
541
|
+
export declare namespace DeploymentsTools$ {
|
|
542
|
+
/** @deprecated use `DeploymentsTools$inboundSchema` instead. */
|
|
543
|
+
const inboundSchema: z.ZodType<DeploymentsTools, z.ZodTypeDef, unknown>;
|
|
544
|
+
/** @deprecated use `DeploymentsTools$outboundSchema` instead. */
|
|
545
|
+
const outboundSchema: z.ZodType<DeploymentsTools$Outbound, z.ZodTypeDef, DeploymentsTools>;
|
|
546
|
+
/** @deprecated use `DeploymentsTools$Outbound` instead. */
|
|
547
|
+
type Outbound = DeploymentsTools$Outbound;
|
|
548
|
+
}
|
|
549
|
+
export declare function deploymentsToolsToJSON(deploymentsTools: DeploymentsTools): string;
|
|
550
|
+
export declare function deploymentsToolsFromJSON(jsonString: string): SafeParseResult<DeploymentsTools, SDKValidationError>;
|
|
551
|
+
/** @internal */
|
|
552
|
+
export declare const DeploymentsModelType$inboundSchema: z.ZodNativeEnum<typeof DeploymentsModelType>;
|
|
553
|
+
/** @internal */
|
|
554
|
+
export declare const DeploymentsModelType$outboundSchema: z.ZodNativeEnum<typeof DeploymentsModelType>;
|
|
555
|
+
/**
|
|
556
|
+
* @internal
|
|
557
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
558
|
+
*/
|
|
559
|
+
export declare namespace DeploymentsModelType$ {
|
|
560
|
+
/** @deprecated use `DeploymentsModelType$inboundSchema` instead. */
|
|
561
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
562
|
+
readonly Chat: "chat";
|
|
563
|
+
readonly Completion: "completion";
|
|
564
|
+
readonly Embedding: "embedding";
|
|
565
|
+
readonly Vision: "vision";
|
|
566
|
+
readonly Image: "image";
|
|
567
|
+
readonly Tts: "tts";
|
|
568
|
+
readonly Stt: "stt";
|
|
569
|
+
readonly Rerank: "rerank";
|
|
570
|
+
}>;
|
|
571
|
+
/** @deprecated use `DeploymentsModelType$outboundSchema` instead. */
|
|
572
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
573
|
+
readonly Chat: "chat";
|
|
574
|
+
readonly Completion: "completion";
|
|
575
|
+
readonly Embedding: "embedding";
|
|
576
|
+
readonly Vision: "vision";
|
|
577
|
+
readonly Image: "image";
|
|
578
|
+
readonly Tts: "tts";
|
|
579
|
+
readonly Stt: "stt";
|
|
580
|
+
readonly Rerank: "rerank";
|
|
581
|
+
}>;
|
|
582
|
+
}
|
|
583
|
+
/** @internal */
|
|
584
|
+
export declare const DeploymentsFormat$inboundSchema: z.ZodNativeEnum<typeof DeploymentsFormat>;
|
|
585
|
+
/** @internal */
|
|
586
|
+
export declare const DeploymentsFormat$outboundSchema: z.ZodNativeEnum<typeof DeploymentsFormat>;
|
|
587
|
+
/**
|
|
588
|
+
* @internal
|
|
589
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
590
|
+
*/
|
|
591
|
+
export declare namespace DeploymentsFormat$ {
|
|
592
|
+
/** @deprecated use `DeploymentsFormat$inboundSchema` instead. */
|
|
593
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
594
|
+
readonly Url: "url";
|
|
595
|
+
readonly B64Json: "b64_json";
|
|
596
|
+
readonly Text: "text";
|
|
597
|
+
readonly JsonObject: "json_object";
|
|
598
|
+
}>;
|
|
599
|
+
/** @deprecated use `DeploymentsFormat$outboundSchema` instead. */
|
|
600
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
601
|
+
readonly Url: "url";
|
|
602
|
+
readonly B64Json: "b64_json";
|
|
603
|
+
readonly Text: "text";
|
|
604
|
+
readonly JsonObject: "json_object";
|
|
605
|
+
}>;
|
|
606
|
+
}
|
|
607
|
+
/** @internal */
|
|
608
|
+
export declare const DeploymentsQuality$inboundSchema: z.ZodNativeEnum<typeof DeploymentsQuality>;
|
|
609
|
+
/** @internal */
|
|
610
|
+
export declare const DeploymentsQuality$outboundSchema: z.ZodNativeEnum<typeof DeploymentsQuality>;
|
|
611
|
+
/**
|
|
612
|
+
* @internal
|
|
613
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
614
|
+
*/
|
|
615
|
+
export declare namespace DeploymentsQuality$ {
|
|
616
|
+
/** @deprecated use `DeploymentsQuality$inboundSchema` instead. */
|
|
617
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
618
|
+
readonly Standard: "standard";
|
|
619
|
+
readonly Hd: "hd";
|
|
620
|
+
}>;
|
|
621
|
+
/** @deprecated use `DeploymentsQuality$outboundSchema` instead. */
|
|
622
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
623
|
+
readonly Standard: "standard";
|
|
624
|
+
readonly Hd: "hd";
|
|
625
|
+
}>;
|
|
626
|
+
}
|
|
627
|
+
/** @internal */
|
|
628
|
+
export declare const DeploymentsResponseFormatType$inboundSchema: z.ZodNativeEnum<typeof DeploymentsResponseFormatType>;
|
|
629
|
+
/** @internal */
|
|
630
|
+
export declare const DeploymentsResponseFormatType$outboundSchema: z.ZodNativeEnum<typeof DeploymentsResponseFormatType>;
|
|
631
|
+
/**
|
|
632
|
+
* @internal
|
|
633
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
634
|
+
*/
|
|
635
|
+
export declare namespace DeploymentsResponseFormatType$ {
|
|
636
|
+
/** @deprecated use `DeploymentsResponseFormatType$inboundSchema` instead. */
|
|
637
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
638
|
+
readonly JsonObject: "json_object";
|
|
639
|
+
}>;
|
|
640
|
+
/** @deprecated use `DeploymentsResponseFormatType$outboundSchema` instead. */
|
|
641
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
642
|
+
readonly JsonObject: "json_object";
|
|
643
|
+
}>;
|
|
644
|
+
}
|
|
645
|
+
/** @internal */
|
|
646
|
+
export declare const DeploymentsResponseFormat2$inboundSchema: z.ZodType<DeploymentsResponseFormat2, z.ZodTypeDef, unknown>;
|
|
647
|
+
/** @internal */
|
|
648
|
+
export type DeploymentsResponseFormat2$Outbound = {
|
|
649
|
+
type: string;
|
|
650
|
+
};
|
|
651
|
+
/** @internal */
|
|
652
|
+
export declare const DeploymentsResponseFormat2$outboundSchema: z.ZodType<DeploymentsResponseFormat2$Outbound, z.ZodTypeDef, DeploymentsResponseFormat2>;
|
|
653
|
+
/**
|
|
654
|
+
* @internal
|
|
655
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
656
|
+
*/
|
|
657
|
+
export declare namespace DeploymentsResponseFormat2$ {
|
|
658
|
+
/** @deprecated use `DeploymentsResponseFormat2$inboundSchema` instead. */
|
|
659
|
+
const inboundSchema: z.ZodType<DeploymentsResponseFormat2, z.ZodTypeDef, unknown>;
|
|
660
|
+
/** @deprecated use `DeploymentsResponseFormat2$outboundSchema` instead. */
|
|
661
|
+
const outboundSchema: z.ZodType<DeploymentsResponseFormat2$Outbound, z.ZodTypeDef, DeploymentsResponseFormat2>;
|
|
662
|
+
/** @deprecated use `DeploymentsResponseFormat2$Outbound` instead. */
|
|
663
|
+
type Outbound = DeploymentsResponseFormat2$Outbound;
|
|
664
|
+
}
|
|
665
|
+
export declare function deploymentsResponseFormat2ToJSON(deploymentsResponseFormat2: DeploymentsResponseFormat2): string;
|
|
666
|
+
export declare function deploymentsResponseFormat2FromJSON(jsonString: string): SafeParseResult<DeploymentsResponseFormat2, SDKValidationError>;
|
|
667
|
+
/** @internal */
|
|
668
|
+
export declare const DeploymentsResponseFormatDeploymentsType$inboundSchema: z.ZodNativeEnum<typeof DeploymentsResponseFormatDeploymentsType>;
|
|
669
|
+
/** @internal */
|
|
670
|
+
export declare const DeploymentsResponseFormatDeploymentsType$outboundSchema: z.ZodNativeEnum<typeof DeploymentsResponseFormatDeploymentsType>;
|
|
671
|
+
/**
|
|
672
|
+
* @internal
|
|
673
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
674
|
+
*/
|
|
675
|
+
export declare namespace DeploymentsResponseFormatDeploymentsType$ {
|
|
676
|
+
/** @deprecated use `DeploymentsResponseFormatDeploymentsType$inboundSchema` instead. */
|
|
677
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
678
|
+
readonly JsonSchema: "json_schema";
|
|
679
|
+
}>;
|
|
680
|
+
/** @deprecated use `DeploymentsResponseFormatDeploymentsType$outboundSchema` instead. */
|
|
681
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
682
|
+
readonly JsonSchema: "json_schema";
|
|
683
|
+
}>;
|
|
684
|
+
}
|
|
685
|
+
/** @internal */
|
|
686
|
+
export declare const DeploymentsResponseFormatJsonSchema$inboundSchema: z.ZodType<DeploymentsResponseFormatJsonSchema, z.ZodTypeDef, unknown>;
|
|
687
|
+
/** @internal */
|
|
688
|
+
export type DeploymentsResponseFormatJsonSchema$Outbound = {
|
|
689
|
+
name: string;
|
|
690
|
+
strict: boolean;
|
|
691
|
+
schema: {
|
|
692
|
+
[k: string]: any;
|
|
693
|
+
};
|
|
694
|
+
};
|
|
695
|
+
/** @internal */
|
|
696
|
+
export declare const DeploymentsResponseFormatJsonSchema$outboundSchema: z.ZodType<DeploymentsResponseFormatJsonSchema$Outbound, z.ZodTypeDef, DeploymentsResponseFormatJsonSchema>;
|
|
697
|
+
/**
|
|
698
|
+
* @internal
|
|
699
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
700
|
+
*/
|
|
701
|
+
export declare namespace DeploymentsResponseFormatJsonSchema$ {
|
|
702
|
+
/** @deprecated use `DeploymentsResponseFormatJsonSchema$inboundSchema` instead. */
|
|
703
|
+
const inboundSchema: z.ZodType<DeploymentsResponseFormatJsonSchema, z.ZodTypeDef, unknown>;
|
|
704
|
+
/** @deprecated use `DeploymentsResponseFormatJsonSchema$outboundSchema` instead. */
|
|
705
|
+
const outboundSchema: z.ZodType<DeploymentsResponseFormatJsonSchema$Outbound, z.ZodTypeDef, DeploymentsResponseFormatJsonSchema>;
|
|
706
|
+
/** @deprecated use `DeploymentsResponseFormatJsonSchema$Outbound` instead. */
|
|
707
|
+
type Outbound = DeploymentsResponseFormatJsonSchema$Outbound;
|
|
708
|
+
}
|
|
709
|
+
export declare function deploymentsResponseFormatJsonSchemaToJSON(deploymentsResponseFormatJsonSchema: DeploymentsResponseFormatJsonSchema): string;
|
|
710
|
+
export declare function deploymentsResponseFormatJsonSchemaFromJSON(jsonString: string): SafeParseResult<DeploymentsResponseFormatJsonSchema, SDKValidationError>;
|
|
711
|
+
/** @internal */
|
|
712
|
+
export declare const DeploymentsResponseFormat1$inboundSchema: z.ZodType<DeploymentsResponseFormat1, z.ZodTypeDef, unknown>;
|
|
713
|
+
/** @internal */
|
|
714
|
+
export type DeploymentsResponseFormat1$Outbound = {
|
|
715
|
+
type: string;
|
|
716
|
+
json_schema: DeploymentsResponseFormatJsonSchema$Outbound;
|
|
717
|
+
};
|
|
718
|
+
/** @internal */
|
|
719
|
+
export declare const DeploymentsResponseFormat1$outboundSchema: z.ZodType<DeploymentsResponseFormat1$Outbound, z.ZodTypeDef, DeploymentsResponseFormat1>;
|
|
720
|
+
/**
|
|
721
|
+
* @internal
|
|
722
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
723
|
+
*/
|
|
724
|
+
export declare namespace DeploymentsResponseFormat1$ {
|
|
725
|
+
/** @deprecated use `DeploymentsResponseFormat1$inboundSchema` instead. */
|
|
726
|
+
const inboundSchema: z.ZodType<DeploymentsResponseFormat1, z.ZodTypeDef, unknown>;
|
|
727
|
+
/** @deprecated use `DeploymentsResponseFormat1$outboundSchema` instead. */
|
|
728
|
+
const outboundSchema: z.ZodType<DeploymentsResponseFormat1$Outbound, z.ZodTypeDef, DeploymentsResponseFormat1>;
|
|
729
|
+
/** @deprecated use `DeploymentsResponseFormat1$Outbound` instead. */
|
|
730
|
+
type Outbound = DeploymentsResponseFormat1$Outbound;
|
|
731
|
+
}
|
|
732
|
+
export declare function deploymentsResponseFormat1ToJSON(deploymentsResponseFormat1: DeploymentsResponseFormat1): string;
|
|
733
|
+
export declare function deploymentsResponseFormat1FromJSON(jsonString: string): SafeParseResult<DeploymentsResponseFormat1, SDKValidationError>;
|
|
734
|
+
/** @internal */
|
|
735
|
+
export declare const DeploymentsResponseFormat$inboundSchema: z.ZodType<DeploymentsResponseFormat, z.ZodTypeDef, unknown>;
|
|
736
|
+
/** @internal */
|
|
737
|
+
export type DeploymentsResponseFormat$Outbound = DeploymentsResponseFormat2$Outbound | DeploymentsResponseFormat1$Outbound;
|
|
738
|
+
/** @internal */
|
|
739
|
+
export declare const DeploymentsResponseFormat$outboundSchema: z.ZodType<DeploymentsResponseFormat$Outbound, z.ZodTypeDef, DeploymentsResponseFormat>;
|
|
740
|
+
/**
|
|
741
|
+
* @internal
|
|
742
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
743
|
+
*/
|
|
744
|
+
export declare namespace DeploymentsResponseFormat$ {
|
|
745
|
+
/** @deprecated use `DeploymentsResponseFormat$inboundSchema` instead. */
|
|
746
|
+
const inboundSchema: z.ZodType<DeploymentsResponseFormat, z.ZodTypeDef, unknown>;
|
|
747
|
+
/** @deprecated use `DeploymentsResponseFormat$outboundSchema` instead. */
|
|
748
|
+
const outboundSchema: z.ZodType<DeploymentsResponseFormat$Outbound, z.ZodTypeDef, DeploymentsResponseFormat>;
|
|
749
|
+
/** @deprecated use `DeploymentsResponseFormat$Outbound` instead. */
|
|
750
|
+
type Outbound = DeploymentsResponseFormat$Outbound;
|
|
751
|
+
}
|
|
752
|
+
export declare function deploymentsResponseFormatToJSON(deploymentsResponseFormat: DeploymentsResponseFormat): string;
|
|
753
|
+
export declare function deploymentsResponseFormatFromJSON(jsonString: string): SafeParseResult<DeploymentsResponseFormat, SDKValidationError>;
|
|
754
|
+
/** @internal */
|
|
755
|
+
export declare const DeploymentsPhotoRealVersion$inboundSchema: z.ZodNativeEnum<typeof DeploymentsPhotoRealVersion>;
|
|
756
|
+
/** @internal */
|
|
757
|
+
export declare const DeploymentsPhotoRealVersion$outboundSchema: z.ZodNativeEnum<typeof DeploymentsPhotoRealVersion>;
|
|
758
|
+
/**
|
|
759
|
+
* @internal
|
|
760
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
761
|
+
*/
|
|
762
|
+
export declare namespace DeploymentsPhotoRealVersion$ {
|
|
763
|
+
/** @deprecated use `DeploymentsPhotoRealVersion$inboundSchema` instead. */
|
|
764
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
765
|
+
readonly V1: "v1";
|
|
766
|
+
readonly V2: "v2";
|
|
767
|
+
}>;
|
|
768
|
+
/** @deprecated use `DeploymentsPhotoRealVersion$outboundSchema` instead. */
|
|
769
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
770
|
+
readonly V1: "v1";
|
|
771
|
+
readonly V2: "v2";
|
|
772
|
+
}>;
|
|
773
|
+
}
|
|
774
|
+
/** @internal */
|
|
775
|
+
export declare const DeploymentsEncodingFormat$inboundSchema: z.ZodNativeEnum<typeof DeploymentsEncodingFormat>;
|
|
776
|
+
/** @internal */
|
|
777
|
+
export declare const DeploymentsEncodingFormat$outboundSchema: z.ZodNativeEnum<typeof DeploymentsEncodingFormat>;
|
|
778
|
+
/**
|
|
779
|
+
* @internal
|
|
780
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
781
|
+
*/
|
|
782
|
+
export declare namespace DeploymentsEncodingFormat$ {
|
|
783
|
+
/** @deprecated use `DeploymentsEncodingFormat$inboundSchema` instead. */
|
|
784
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
785
|
+
readonly Float: "float";
|
|
786
|
+
readonly Base64: "base64";
|
|
787
|
+
}>;
|
|
788
|
+
/** @deprecated use `DeploymentsEncodingFormat$outboundSchema` instead. */
|
|
789
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
790
|
+
readonly Float: "float";
|
|
791
|
+
readonly Base64: "base64";
|
|
792
|
+
}>;
|
|
793
|
+
}
|
|
794
|
+
/** @internal */
|
|
795
|
+
export declare const DeploymentsModelParameters$inboundSchema: z.ZodType<DeploymentsModelParameters, z.ZodTypeDef, unknown>;
|
|
796
|
+
/** @internal */
|
|
797
|
+
export type DeploymentsModelParameters$Outbound = {
|
|
798
|
+
temperature?: number | undefined;
|
|
799
|
+
maxTokens?: number | undefined;
|
|
800
|
+
topK?: number | undefined;
|
|
801
|
+
topP?: number | undefined;
|
|
802
|
+
frequencyPenalty?: number | undefined;
|
|
803
|
+
presencePenalty?: number | undefined;
|
|
804
|
+
numImages?: number | undefined;
|
|
805
|
+
seed?: number | undefined;
|
|
806
|
+
format?: string | undefined;
|
|
807
|
+
dimensions?: string | undefined;
|
|
808
|
+
quality?: string | undefined;
|
|
809
|
+
style?: string | undefined;
|
|
810
|
+
responseFormat?: DeploymentsResponseFormat2$Outbound | DeploymentsResponseFormat1$Outbound | null | undefined;
|
|
811
|
+
photoRealVersion?: string | undefined;
|
|
812
|
+
encoding_format?: string | undefined;
|
|
813
|
+
};
|
|
814
|
+
/** @internal */
|
|
815
|
+
export declare const DeploymentsModelParameters$outboundSchema: z.ZodType<DeploymentsModelParameters$Outbound, z.ZodTypeDef, DeploymentsModelParameters>;
|
|
816
|
+
/**
|
|
817
|
+
* @internal
|
|
818
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
819
|
+
*/
|
|
820
|
+
export declare namespace DeploymentsModelParameters$ {
|
|
821
|
+
/** @deprecated use `DeploymentsModelParameters$inboundSchema` instead. */
|
|
822
|
+
const inboundSchema: z.ZodType<DeploymentsModelParameters, z.ZodTypeDef, unknown>;
|
|
823
|
+
/** @deprecated use `DeploymentsModelParameters$outboundSchema` instead. */
|
|
824
|
+
const outboundSchema: z.ZodType<DeploymentsModelParameters$Outbound, z.ZodTypeDef, DeploymentsModelParameters>;
|
|
825
|
+
/** @deprecated use `DeploymentsModelParameters$Outbound` instead. */
|
|
826
|
+
type Outbound = DeploymentsModelParameters$Outbound;
|
|
827
|
+
}
|
|
828
|
+
export declare function deploymentsModelParametersToJSON(deploymentsModelParameters: DeploymentsModelParameters): string;
|
|
829
|
+
export declare function deploymentsModelParametersFromJSON(jsonString: string): SafeParseResult<DeploymentsModelParameters, SDKValidationError>;
|
|
830
|
+
/** @internal */
|
|
831
|
+
export declare const DeploymentsProvider$inboundSchema: z.ZodNativeEnum<typeof DeploymentsProvider>;
|
|
832
|
+
/** @internal */
|
|
833
|
+
export declare const DeploymentsProvider$outboundSchema: z.ZodNativeEnum<typeof DeploymentsProvider>;
|
|
834
|
+
/**
|
|
835
|
+
* @internal
|
|
836
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
837
|
+
*/
|
|
838
|
+
export declare namespace DeploymentsProvider$ {
|
|
839
|
+
/** @deprecated use `DeploymentsProvider$inboundSchema` instead. */
|
|
840
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
841
|
+
readonly Cohere: "cohere";
|
|
842
|
+
readonly Openai: "openai";
|
|
843
|
+
readonly Anthropic: "anthropic";
|
|
844
|
+
readonly Huggingface: "huggingface";
|
|
845
|
+
readonly Replicate: "replicate";
|
|
846
|
+
readonly Google: "google";
|
|
847
|
+
readonly GoogleAi: "google-ai";
|
|
848
|
+
readonly Azure: "azure";
|
|
849
|
+
readonly Aws: "aws";
|
|
850
|
+
readonly Anyscale: "anyscale";
|
|
851
|
+
readonly Perplexity: "perplexity";
|
|
852
|
+
readonly Groq: "groq";
|
|
853
|
+
readonly Fal: "fal";
|
|
854
|
+
readonly Leonardoai: "leonardoai";
|
|
855
|
+
readonly Nvidia: "nvidia";
|
|
856
|
+
}>;
|
|
857
|
+
/** @deprecated use `DeploymentsProvider$outboundSchema` instead. */
|
|
858
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
859
|
+
readonly Cohere: "cohere";
|
|
860
|
+
readonly Openai: "openai";
|
|
861
|
+
readonly Anthropic: "anthropic";
|
|
862
|
+
readonly Huggingface: "huggingface";
|
|
863
|
+
readonly Replicate: "replicate";
|
|
864
|
+
readonly Google: "google";
|
|
865
|
+
readonly GoogleAi: "google-ai";
|
|
866
|
+
readonly Azure: "azure";
|
|
867
|
+
readonly Aws: "aws";
|
|
868
|
+
readonly Anyscale: "anyscale";
|
|
869
|
+
readonly Perplexity: "perplexity";
|
|
870
|
+
readonly Groq: "groq";
|
|
871
|
+
readonly Fal: "fal";
|
|
872
|
+
readonly Leonardoai: "leonardoai";
|
|
873
|
+
readonly Nvidia: "nvidia";
|
|
874
|
+
}>;
|
|
875
|
+
}
|
|
876
|
+
/** @internal */
|
|
877
|
+
export declare const DeploymentsRole$inboundSchema: z.ZodNativeEnum<typeof DeploymentsRole>;
|
|
878
|
+
/** @internal */
|
|
879
|
+
export declare const DeploymentsRole$outboundSchema: z.ZodNativeEnum<typeof DeploymentsRole>;
|
|
880
|
+
/**
|
|
881
|
+
* @internal
|
|
882
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
883
|
+
*/
|
|
884
|
+
export declare namespace DeploymentsRole$ {
|
|
885
|
+
/** @deprecated use `DeploymentsRole$inboundSchema` instead. */
|
|
886
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
887
|
+
readonly System: "system";
|
|
888
|
+
readonly Assistant: "assistant";
|
|
889
|
+
readonly User: "user";
|
|
890
|
+
readonly Exception: "exception";
|
|
891
|
+
readonly Tool: "tool";
|
|
892
|
+
readonly Prompt: "prompt";
|
|
893
|
+
readonly Correction: "correction";
|
|
894
|
+
readonly ExpectedOutput: "expected_output";
|
|
895
|
+
}>;
|
|
896
|
+
/** @deprecated use `DeploymentsRole$outboundSchema` instead. */
|
|
897
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
898
|
+
readonly System: "system";
|
|
899
|
+
readonly Assistant: "assistant";
|
|
900
|
+
readonly User: "user";
|
|
901
|
+
readonly Exception: "exception";
|
|
902
|
+
readonly Tool: "tool";
|
|
903
|
+
readonly Prompt: "prompt";
|
|
904
|
+
readonly Correction: "correction";
|
|
905
|
+
readonly ExpectedOutput: "expected_output";
|
|
906
|
+
}>;
|
|
907
|
+
}
|
|
908
|
+
/** @internal */
|
|
909
|
+
export declare const Deployments2Type$inboundSchema: z.ZodNativeEnum<typeof Deployments2Type>;
|
|
910
|
+
/** @internal */
|
|
911
|
+
export declare const Deployments2Type$outboundSchema: z.ZodNativeEnum<typeof Deployments2Type>;
|
|
912
|
+
/**
|
|
913
|
+
* @internal
|
|
914
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
915
|
+
*/
|
|
916
|
+
export declare namespace Deployments2Type$ {
|
|
917
|
+
/** @deprecated use `Deployments2Type$inboundSchema` instead. */
|
|
918
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
919
|
+
readonly ImageUrl: "image_url";
|
|
920
|
+
}>;
|
|
921
|
+
/** @deprecated use `Deployments2Type$outboundSchema` instead. */
|
|
922
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
923
|
+
readonly ImageUrl: "image_url";
|
|
924
|
+
}>;
|
|
925
|
+
}
|
|
926
|
+
/** @internal */
|
|
927
|
+
export declare const Deployments2ImageUrl$inboundSchema: z.ZodType<Deployments2ImageUrl, z.ZodTypeDef, unknown>;
|
|
928
|
+
/** @internal */
|
|
929
|
+
export type Deployments2ImageUrl$Outbound = {
|
|
930
|
+
id?: string | undefined;
|
|
931
|
+
url: string;
|
|
932
|
+
detail?: string | undefined;
|
|
933
|
+
};
|
|
934
|
+
/** @internal */
|
|
935
|
+
export declare const Deployments2ImageUrl$outboundSchema: z.ZodType<Deployments2ImageUrl$Outbound, z.ZodTypeDef, Deployments2ImageUrl>;
|
|
936
|
+
/**
|
|
937
|
+
* @internal
|
|
938
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
939
|
+
*/
|
|
940
|
+
export declare namespace Deployments2ImageUrl$ {
|
|
941
|
+
/** @deprecated use `Deployments2ImageUrl$inboundSchema` instead. */
|
|
942
|
+
const inboundSchema: z.ZodType<Deployments2ImageUrl, z.ZodTypeDef, unknown>;
|
|
943
|
+
/** @deprecated use `Deployments2ImageUrl$outboundSchema` instead. */
|
|
944
|
+
const outboundSchema: z.ZodType<Deployments2ImageUrl$Outbound, z.ZodTypeDef, Deployments2ImageUrl>;
|
|
945
|
+
/** @deprecated use `Deployments2ImageUrl$Outbound` instead. */
|
|
946
|
+
type Outbound = Deployments2ImageUrl$Outbound;
|
|
947
|
+
}
|
|
948
|
+
export declare function deployments2ImageUrlToJSON(deployments2ImageUrl: Deployments2ImageUrl): string;
|
|
949
|
+
export declare function deployments2ImageUrlFromJSON(jsonString: string): SafeParseResult<Deployments2ImageUrl, SDKValidationError>;
|
|
950
|
+
/** @internal */
|
|
951
|
+
export declare const Deployments22$inboundSchema: z.ZodType<Deployments22, z.ZodTypeDef, unknown>;
|
|
952
|
+
/** @internal */
|
|
953
|
+
export type Deployments22$Outbound = {
|
|
954
|
+
type: string;
|
|
955
|
+
image_url: Deployments2ImageUrl$Outbound;
|
|
956
|
+
};
|
|
957
|
+
/** @internal */
|
|
958
|
+
export declare const Deployments22$outboundSchema: z.ZodType<Deployments22$Outbound, z.ZodTypeDef, Deployments22>;
|
|
959
|
+
/**
|
|
960
|
+
* @internal
|
|
961
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
962
|
+
*/
|
|
963
|
+
export declare namespace Deployments22$ {
|
|
964
|
+
/** @deprecated use `Deployments22$inboundSchema` instead. */
|
|
965
|
+
const inboundSchema: z.ZodType<Deployments22, z.ZodTypeDef, unknown>;
|
|
966
|
+
/** @deprecated use `Deployments22$outboundSchema` instead. */
|
|
967
|
+
const outboundSchema: z.ZodType<Deployments22$Outbound, z.ZodTypeDef, Deployments22>;
|
|
968
|
+
/** @deprecated use `Deployments22$Outbound` instead. */
|
|
969
|
+
type Outbound = Deployments22$Outbound;
|
|
970
|
+
}
|
|
971
|
+
export declare function deployments22ToJSON(deployments22: Deployments22): string;
|
|
972
|
+
export declare function deployments22FromJSON(jsonString: string): SafeParseResult<Deployments22, SDKValidationError>;
|
|
973
|
+
/** @internal */
|
|
974
|
+
export declare const Deployments2DeploymentsType$inboundSchema: z.ZodNativeEnum<typeof Deployments2DeploymentsType>;
|
|
975
|
+
/** @internal */
|
|
976
|
+
export declare const Deployments2DeploymentsType$outboundSchema: z.ZodNativeEnum<typeof Deployments2DeploymentsType>;
|
|
977
|
+
/**
|
|
978
|
+
* @internal
|
|
979
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
980
|
+
*/
|
|
981
|
+
export declare namespace Deployments2DeploymentsType$ {
|
|
982
|
+
/** @deprecated use `Deployments2DeploymentsType$inboundSchema` instead. */
|
|
983
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
984
|
+
readonly Text: "text";
|
|
985
|
+
}>;
|
|
986
|
+
/** @deprecated use `Deployments2DeploymentsType$outboundSchema` instead. */
|
|
987
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
988
|
+
readonly Text: "text";
|
|
989
|
+
}>;
|
|
990
|
+
}
|
|
991
|
+
/** @internal */
|
|
992
|
+
export declare const Deployments21$inboundSchema: z.ZodType<Deployments21, z.ZodTypeDef, unknown>;
|
|
993
|
+
/** @internal */
|
|
994
|
+
export type Deployments21$Outbound = {
|
|
995
|
+
type: string;
|
|
996
|
+
text: string;
|
|
997
|
+
};
|
|
998
|
+
/** @internal */
|
|
999
|
+
export declare const Deployments21$outboundSchema: z.ZodType<Deployments21$Outbound, z.ZodTypeDef, Deployments21>;
|
|
1000
|
+
/**
|
|
1001
|
+
* @internal
|
|
1002
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1003
|
+
*/
|
|
1004
|
+
export declare namespace Deployments21$ {
|
|
1005
|
+
/** @deprecated use `Deployments21$inboundSchema` instead. */
|
|
1006
|
+
const inboundSchema: z.ZodType<Deployments21, z.ZodTypeDef, unknown>;
|
|
1007
|
+
/** @deprecated use `Deployments21$outboundSchema` instead. */
|
|
1008
|
+
const outboundSchema: z.ZodType<Deployments21$Outbound, z.ZodTypeDef, Deployments21>;
|
|
1009
|
+
/** @deprecated use `Deployments21$Outbound` instead. */
|
|
1010
|
+
type Outbound = Deployments21$Outbound;
|
|
1011
|
+
}
|
|
1012
|
+
export declare function deployments21ToJSON(deployments21: Deployments21): string;
|
|
1013
|
+
export declare function deployments21FromJSON(jsonString: string): SafeParseResult<Deployments21, SDKValidationError>;
|
|
1014
|
+
/** @internal */
|
|
1015
|
+
export declare const DeploymentsContent2$inboundSchema: z.ZodType<DeploymentsContent2, z.ZodTypeDef, unknown>;
|
|
1016
|
+
/** @internal */
|
|
1017
|
+
export type DeploymentsContent2$Outbound = Deployments21$Outbound | Deployments22$Outbound;
|
|
1018
|
+
/** @internal */
|
|
1019
|
+
export declare const DeploymentsContent2$outboundSchema: z.ZodType<DeploymentsContent2$Outbound, z.ZodTypeDef, DeploymentsContent2>;
|
|
1020
|
+
/**
|
|
1021
|
+
* @internal
|
|
1022
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1023
|
+
*/
|
|
1024
|
+
export declare namespace DeploymentsContent2$ {
|
|
1025
|
+
/** @deprecated use `DeploymentsContent2$inboundSchema` instead. */
|
|
1026
|
+
const inboundSchema: z.ZodType<DeploymentsContent2, z.ZodTypeDef, unknown>;
|
|
1027
|
+
/** @deprecated use `DeploymentsContent2$outboundSchema` instead. */
|
|
1028
|
+
const outboundSchema: z.ZodType<DeploymentsContent2$Outbound, z.ZodTypeDef, DeploymentsContent2>;
|
|
1029
|
+
/** @deprecated use `DeploymentsContent2$Outbound` instead. */
|
|
1030
|
+
type Outbound = DeploymentsContent2$Outbound;
|
|
1031
|
+
}
|
|
1032
|
+
export declare function deploymentsContent2ToJSON(deploymentsContent2: DeploymentsContent2): string;
|
|
1033
|
+
export declare function deploymentsContent2FromJSON(jsonString: string): SafeParseResult<DeploymentsContent2, SDKValidationError>;
|
|
1034
|
+
/** @internal */
|
|
1035
|
+
export declare const DeploymentsContent$inboundSchema: z.ZodType<DeploymentsContent, z.ZodTypeDef, unknown>;
|
|
1036
|
+
/** @internal */
|
|
1037
|
+
export type DeploymentsContent$Outbound = string | Array<Deployments21$Outbound | Deployments22$Outbound>;
|
|
1038
|
+
/** @internal */
|
|
1039
|
+
export declare const DeploymentsContent$outboundSchema: z.ZodType<DeploymentsContent$Outbound, z.ZodTypeDef, DeploymentsContent>;
|
|
1040
|
+
/**
|
|
1041
|
+
* @internal
|
|
1042
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1043
|
+
*/
|
|
1044
|
+
export declare namespace DeploymentsContent$ {
|
|
1045
|
+
/** @deprecated use `DeploymentsContent$inboundSchema` instead. */
|
|
1046
|
+
const inboundSchema: z.ZodType<DeploymentsContent, z.ZodTypeDef, unknown>;
|
|
1047
|
+
/** @deprecated use `DeploymentsContent$outboundSchema` instead. */
|
|
1048
|
+
const outboundSchema: z.ZodType<DeploymentsContent$Outbound, z.ZodTypeDef, DeploymentsContent>;
|
|
1049
|
+
/** @deprecated use `DeploymentsContent$Outbound` instead. */
|
|
1050
|
+
type Outbound = DeploymentsContent$Outbound;
|
|
1051
|
+
}
|
|
1052
|
+
export declare function deploymentsContentToJSON(deploymentsContent: DeploymentsContent): string;
|
|
1053
|
+
export declare function deploymentsContentFromJSON(jsonString: string): SafeParseResult<DeploymentsContent, SDKValidationError>;
|
|
1054
|
+
/** @internal */
|
|
1055
|
+
export declare const DeploymentsDeploymentsType$inboundSchema: z.ZodNativeEnum<typeof DeploymentsDeploymentsType>;
|
|
1056
|
+
/** @internal */
|
|
1057
|
+
export declare const DeploymentsDeploymentsType$outboundSchema: z.ZodNativeEnum<typeof DeploymentsDeploymentsType>;
|
|
1058
|
+
/**
|
|
1059
|
+
* @internal
|
|
1060
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1061
|
+
*/
|
|
1062
|
+
export declare namespace DeploymentsDeploymentsType$ {
|
|
1063
|
+
/** @deprecated use `DeploymentsDeploymentsType$inboundSchema` instead. */
|
|
1064
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
1065
|
+
readonly Function: "function";
|
|
1066
|
+
}>;
|
|
1067
|
+
/** @deprecated use `DeploymentsDeploymentsType$outboundSchema` instead. */
|
|
1068
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
1069
|
+
readonly Function: "function";
|
|
1070
|
+
}>;
|
|
1071
|
+
}
|
|
1072
|
+
/** @internal */
|
|
1073
|
+
export declare const DeploymentsDeploymentsFunction$inboundSchema: z.ZodType<DeploymentsDeploymentsFunction, z.ZodTypeDef, unknown>;
|
|
1074
|
+
/** @internal */
|
|
1075
|
+
export type DeploymentsDeploymentsFunction$Outbound = {
|
|
1076
|
+
name: string;
|
|
1077
|
+
arguments: string;
|
|
1078
|
+
};
|
|
1079
|
+
/** @internal */
|
|
1080
|
+
export declare const DeploymentsDeploymentsFunction$outboundSchema: z.ZodType<DeploymentsDeploymentsFunction$Outbound, z.ZodTypeDef, DeploymentsDeploymentsFunction>;
|
|
1081
|
+
/**
|
|
1082
|
+
* @internal
|
|
1083
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1084
|
+
*/
|
|
1085
|
+
export declare namespace DeploymentsDeploymentsFunction$ {
|
|
1086
|
+
/** @deprecated use `DeploymentsDeploymentsFunction$inboundSchema` instead. */
|
|
1087
|
+
const inboundSchema: z.ZodType<DeploymentsDeploymentsFunction, z.ZodTypeDef, unknown>;
|
|
1088
|
+
/** @deprecated use `DeploymentsDeploymentsFunction$outboundSchema` instead. */
|
|
1089
|
+
const outboundSchema: z.ZodType<DeploymentsDeploymentsFunction$Outbound, z.ZodTypeDef, DeploymentsDeploymentsFunction>;
|
|
1090
|
+
/** @deprecated use `DeploymentsDeploymentsFunction$Outbound` instead. */
|
|
1091
|
+
type Outbound = DeploymentsDeploymentsFunction$Outbound;
|
|
1092
|
+
}
|
|
1093
|
+
export declare function deploymentsDeploymentsFunctionToJSON(deploymentsDeploymentsFunction: DeploymentsDeploymentsFunction): string;
|
|
1094
|
+
export declare function deploymentsDeploymentsFunctionFromJSON(jsonString: string): SafeParseResult<DeploymentsDeploymentsFunction, SDKValidationError>;
|
|
1095
|
+
/** @internal */
|
|
1096
|
+
export declare const DeploymentsToolCalls$inboundSchema: z.ZodType<DeploymentsToolCalls, z.ZodTypeDef, unknown>;
|
|
1097
|
+
/** @internal */
|
|
1098
|
+
export type DeploymentsToolCalls$Outbound = {
|
|
1099
|
+
id?: string | undefined;
|
|
1100
|
+
index?: number | undefined;
|
|
1101
|
+
type: string;
|
|
1102
|
+
function: DeploymentsDeploymentsFunction$Outbound;
|
|
1103
|
+
};
|
|
1104
|
+
/** @internal */
|
|
1105
|
+
export declare const DeploymentsToolCalls$outboundSchema: z.ZodType<DeploymentsToolCalls$Outbound, z.ZodTypeDef, DeploymentsToolCalls>;
|
|
1106
|
+
/**
|
|
1107
|
+
* @internal
|
|
1108
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1109
|
+
*/
|
|
1110
|
+
export declare namespace DeploymentsToolCalls$ {
|
|
1111
|
+
/** @deprecated use `DeploymentsToolCalls$inboundSchema` instead. */
|
|
1112
|
+
const inboundSchema: z.ZodType<DeploymentsToolCalls, z.ZodTypeDef, unknown>;
|
|
1113
|
+
/** @deprecated use `DeploymentsToolCalls$outboundSchema` instead. */
|
|
1114
|
+
const outboundSchema: z.ZodType<DeploymentsToolCalls$Outbound, z.ZodTypeDef, DeploymentsToolCalls>;
|
|
1115
|
+
/** @deprecated use `DeploymentsToolCalls$Outbound` instead. */
|
|
1116
|
+
type Outbound = DeploymentsToolCalls$Outbound;
|
|
1117
|
+
}
|
|
1118
|
+
export declare function deploymentsToolCallsToJSON(deploymentsToolCalls: DeploymentsToolCalls): string;
|
|
1119
|
+
export declare function deploymentsToolCallsFromJSON(jsonString: string): SafeParseResult<DeploymentsToolCalls, SDKValidationError>;
|
|
1120
|
+
/** @internal */
|
|
1121
|
+
export declare const DeploymentsMessages$inboundSchema: z.ZodType<DeploymentsMessages, z.ZodTypeDef, unknown>;
|
|
1122
|
+
/** @internal */
|
|
1123
|
+
export type DeploymentsMessages$Outbound = {
|
|
1124
|
+
role: string;
|
|
1125
|
+
content: string | Array<Deployments21$Outbound | Deployments22$Outbound>;
|
|
1126
|
+
tool_calls?: Array<DeploymentsToolCalls$Outbound> | undefined;
|
|
1127
|
+
};
|
|
1128
|
+
/** @internal */
|
|
1129
|
+
export declare const DeploymentsMessages$outboundSchema: z.ZodType<DeploymentsMessages$Outbound, z.ZodTypeDef, DeploymentsMessages>;
|
|
1130
|
+
/**
|
|
1131
|
+
* @internal
|
|
1132
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1133
|
+
*/
|
|
1134
|
+
export declare namespace DeploymentsMessages$ {
|
|
1135
|
+
/** @deprecated use `DeploymentsMessages$inboundSchema` instead. */
|
|
1136
|
+
const inboundSchema: z.ZodType<DeploymentsMessages, z.ZodTypeDef, unknown>;
|
|
1137
|
+
/** @deprecated use `DeploymentsMessages$outboundSchema` instead. */
|
|
1138
|
+
const outboundSchema: z.ZodType<DeploymentsMessages$Outbound, z.ZodTypeDef, DeploymentsMessages>;
|
|
1139
|
+
/** @deprecated use `DeploymentsMessages$Outbound` instead. */
|
|
1140
|
+
type Outbound = DeploymentsMessages$Outbound;
|
|
1141
|
+
}
|
|
1142
|
+
export declare function deploymentsMessagesToJSON(deploymentsMessages: DeploymentsMessages): string;
|
|
1143
|
+
export declare function deploymentsMessagesFromJSON(jsonString: string): SafeParseResult<DeploymentsMessages, SDKValidationError>;
|
|
1144
|
+
/** @internal */
|
|
1145
|
+
export declare const DeploymentsPromptConfig$inboundSchema: z.ZodType<DeploymentsPromptConfig, z.ZodTypeDef, unknown>;
|
|
1146
|
+
/** @internal */
|
|
1147
|
+
export type DeploymentsPromptConfig$Outbound = {
|
|
1148
|
+
tools: Array<DeploymentsTools$Outbound>;
|
|
1149
|
+
model: string;
|
|
1150
|
+
model_type: string;
|
|
1151
|
+
model_parameters: DeploymentsModelParameters$Outbound;
|
|
1152
|
+
provider: string;
|
|
1153
|
+
messages: Array<DeploymentsMessages$Outbound>;
|
|
1154
|
+
};
|
|
1155
|
+
/** @internal */
|
|
1156
|
+
export declare const DeploymentsPromptConfig$outboundSchema: z.ZodType<DeploymentsPromptConfig$Outbound, z.ZodTypeDef, DeploymentsPromptConfig>;
|
|
1157
|
+
/**
|
|
1158
|
+
* @internal
|
|
1159
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1160
|
+
*/
|
|
1161
|
+
export declare namespace DeploymentsPromptConfig$ {
|
|
1162
|
+
/** @deprecated use `DeploymentsPromptConfig$inboundSchema` instead. */
|
|
1163
|
+
const inboundSchema: z.ZodType<DeploymentsPromptConfig, z.ZodTypeDef, unknown>;
|
|
1164
|
+
/** @deprecated use `DeploymentsPromptConfig$outboundSchema` instead. */
|
|
1165
|
+
const outboundSchema: z.ZodType<DeploymentsPromptConfig$Outbound, z.ZodTypeDef, DeploymentsPromptConfig>;
|
|
1166
|
+
/** @deprecated use `DeploymentsPromptConfig$Outbound` instead. */
|
|
1167
|
+
type Outbound = DeploymentsPromptConfig$Outbound;
|
|
1168
|
+
}
|
|
1169
|
+
export declare function deploymentsPromptConfigToJSON(deploymentsPromptConfig: DeploymentsPromptConfig): string;
|
|
1170
|
+
export declare function deploymentsPromptConfigFromJSON(jsonString: string): SafeParseResult<DeploymentsPromptConfig, SDKValidationError>;
|
|
1171
|
+
/** @internal */
|
|
1172
|
+
export declare const Data$inboundSchema: z.ZodType<Data, z.ZodTypeDef, unknown>;
|
|
1173
|
+
/** @internal */
|
|
1174
|
+
export type Data$Outbound = {
|
|
1175
|
+
id: string;
|
|
1176
|
+
created: string;
|
|
1177
|
+
updated: string;
|
|
1178
|
+
key: string;
|
|
1179
|
+
description: string;
|
|
1180
|
+
prompt_config: DeploymentsPromptConfig$Outbound;
|
|
1181
|
+
version: string;
|
|
1182
|
+
};
|
|
1183
|
+
/** @internal */
|
|
1184
|
+
export declare const Data$outboundSchema: z.ZodType<Data$Outbound, z.ZodTypeDef, Data>;
|
|
1185
|
+
/**
|
|
1186
|
+
* @internal
|
|
1187
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1188
|
+
*/
|
|
1189
|
+
export declare namespace Data$ {
|
|
1190
|
+
/** @deprecated use `Data$inboundSchema` instead. */
|
|
1191
|
+
const inboundSchema: z.ZodType<Data, z.ZodTypeDef, unknown>;
|
|
1192
|
+
/** @deprecated use `Data$outboundSchema` instead. */
|
|
1193
|
+
const outboundSchema: z.ZodType<Data$Outbound, z.ZodTypeDef, Data>;
|
|
1194
|
+
/** @deprecated use `Data$Outbound` instead. */
|
|
1195
|
+
type Outbound = Data$Outbound;
|
|
1196
|
+
}
|
|
1197
|
+
export declare function dataToJSON(data: Data): string;
|
|
1198
|
+
export declare function dataFromJSON(jsonString: string): SafeParseResult<Data, SDKValidationError>;
|
|
1199
|
+
/** @internal */
|
|
1200
|
+
export declare const DeploymentsResponseBody$inboundSchema: z.ZodType<DeploymentsResponseBody, z.ZodTypeDef, unknown>;
|
|
1201
|
+
/** @internal */
|
|
1202
|
+
export type DeploymentsResponseBody$Outbound = {
|
|
1203
|
+
object: string;
|
|
1204
|
+
data: Array<Data$Outbound>;
|
|
1205
|
+
has_more: boolean;
|
|
1206
|
+
};
|
|
1207
|
+
/** @internal */
|
|
1208
|
+
export declare const DeploymentsResponseBody$outboundSchema: z.ZodType<DeploymentsResponseBody$Outbound, z.ZodTypeDef, DeploymentsResponseBody>;
|
|
1209
|
+
/**
|
|
1210
|
+
* @internal
|
|
1211
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1212
|
+
*/
|
|
1213
|
+
export declare namespace DeploymentsResponseBody$ {
|
|
1214
|
+
/** @deprecated use `DeploymentsResponseBody$inboundSchema` instead. */
|
|
1215
|
+
const inboundSchema: z.ZodType<DeploymentsResponseBody, z.ZodTypeDef, unknown>;
|
|
1216
|
+
/** @deprecated use `DeploymentsResponseBody$outboundSchema` instead. */
|
|
1217
|
+
const outboundSchema: z.ZodType<DeploymentsResponseBody$Outbound, z.ZodTypeDef, DeploymentsResponseBody>;
|
|
1218
|
+
/** @deprecated use `DeploymentsResponseBody$Outbound` instead. */
|
|
1219
|
+
type Outbound = DeploymentsResponseBody$Outbound;
|
|
1220
|
+
}
|
|
1221
|
+
export declare function deploymentsResponseBodyToJSON(deploymentsResponseBody: DeploymentsResponseBody): string;
|
|
1222
|
+
export declare function deploymentsResponseBodyFromJSON(jsonString: string): SafeParseResult<DeploymentsResponseBody, SDKValidationError>;
|
|
1223
|
+
//# sourceMappingURL=deployments.d.ts.map
|