@orq-ai/node 2.14.6 → 3.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/FUNCTIONS.md +106 -0
- package/README.md +495 -172
- package/RUNTIMES.md +48 -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 +239 -0
- package/docs/sdks/feedback/README.md +92 -0
- package/docs/sdks/files/README.md +473 -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 +107 -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 +115 -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 +107 -0
- package/funcs/deploymentsGetConfig.js.map +1 -0
- package/funcs/deploymentsInvoke.d.ts +22 -0
- package/funcs/deploymentsInvoke.d.ts.map +1 -0
- package/funcs/deploymentsInvoke.js +117 -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 +113 -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 +107 -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 +109 -0
- package/funcs/filesBulkUpload.js.map +1 -0
- package/funcs/filesDelete.d.ts +12 -0
- package/funcs/filesDelete.d.ts.map +1 -0
- package/funcs/filesDelete.js +110 -0
- package/funcs/filesDelete.js.map +1 -0
- package/funcs/filesGet.d.ts +12 -0
- package/funcs/filesGet.d.ts.map +1 -0
- package/funcs/filesGet.js +109 -0
- package/funcs/filesGet.js.map +1 -0
- package/funcs/filesList.d.ts +12 -0
- package/funcs/filesList.d.ts.map +1 -0
- package/funcs/filesList.js +110 -0
- package/funcs/filesList.js.map +1 -0
- package/funcs/filesUpdate.d.ts +12 -0
- package/funcs/filesUpdate.d.ts.map +1 -0
- package/funcs/filesUpdate.js +110 -0
- package/funcs/filesUpdate.js.map +1 -0
- package/funcs/filesUpload.d.ts +15 -0
- package/funcs/filesUpload.d.ts.map +1 -0
- package/funcs/filesUpload.js +125 -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 +109 -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 +109 -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 +106 -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 +110 -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 +110 -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 +110 -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 +106 -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 +110 -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 +114 -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 +107 -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 +86 -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 +77 -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 +35 -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 +52 -0
- package/lib/encodings.d.ts.map +1 -0
- package/lib/encodings.js +368 -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 +65 -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 +220 -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 +217 -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 +207 -0
- package/lib/matchers.js.map +1 -0
- package/lib/primitives.d.ts +23 -0
- package/lib/primitives.d.ts.map +1 -0
- package/lib/primitives.js +104 -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 +154 -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 +60 -0
- package/lib/sdks.d.ts.map +1 -0
- package/lib/sdks.js +280 -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 +139 -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 +920 -0
- package/models/components/deployments.d.ts.map +1 -0
- package/models/components/deployments.js +948 -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 +173 -0
- package/models/operations/bulkfileupload.d.ts.map +1 -0
- package/models/operations/bulkfileupload.js +210 -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 +2035 -0
- package/models/operations/createprompt.d.ts.map +1 -0
- package/models/operations/createprompt.js +1853 -0
- package/models/operations/createprompt.js.map +1 -0
- package/models/operations/createpromptversion.d.ts +2003 -0
- package/models/operations/createpromptversion.d.ts.map +1 -0
- package/models/operations/createpromptversion.js +1852 -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 +1885 -0
- package/models/operations/deploymentgetconfig.d.ts.map +1 -0
- package/models/operations/deploymentgetconfig.js +1782 -0
- package/models/operations/deploymentgetconfig.js.map +1 -0
- package/models/operations/deploymentinvoke.d.ts +1350 -0
- package/models/operations/deploymentinvoke.d.ts.map +1 -0
- package/models/operations/deploymentinvoke.js +1210 -0
- package/models/operations/deploymentinvoke.js.map +1 -0
- package/models/operations/deployments.d.ts +1233 -0
- package/models/operations/deployments.d.ts.map +1 -0
- package/models/operations/deployments.js +1111 -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/filedelete.d.ts +32 -0
- package/models/operations/filedelete.d.ts.map +1 -0
- package/models/operations/filedelete.js +78 -0
- package/models/operations/filedelete.js.map +1 -0
- package/models/operations/fileget.d.ts +116 -0
- package/models/operations/fileget.d.ts.map +1 -0
- package/models/operations/fileget.js +154 -0
- package/models/operations/fileget.js.map +1 -0
- package/models/operations/filelist.d.ts +174 -0
- package/models/operations/filelist.d.ts.map +1 -0
- package/models/operations/filelist.js +217 -0
- package/models/operations/filelist.js.map +1 -0
- package/models/operations/fileupdate.d.ts +143 -0
- package/models/operations/fileupdate.d.ts.map +1 -0
- package/models/operations/fileupdate.js +193 -0
- package/models/operations/fileupdate.js.map +1 -0
- package/models/operations/fileupload.d.ts +179 -0
- package/models/operations/fileupload.d.ts.map +1 -0
- package/models/operations/fileupload.js +212 -0
- package/models/operations/fileupload.js.map +1 -0
- package/models/operations/findonepromptsnippet.d.ts +6278 -0
- package/models/operations/findonepromptsnippet.d.ts.map +1 -0
- package/models/operations/findonepromptsnippet.js +5891 -0
- package/models/operations/findonepromptsnippet.js.map +1 -0
- package/models/operations/getallprompts.d.ts +10675 -0
- package/models/operations/getallprompts.d.ts.map +1 -0
- package/models/operations/getallprompts.js +9398 -0
- package/models/operations/getallprompts.js.map +1 -0
- package/models/operations/getallprompttemplates.d.ts +6607 -0
- package/models/operations/getallprompttemplates.d.ts.map +1 -0
- package/models/operations/getallprompttemplates.js +6225 -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 +23 -0
- package/models/operations/index.d.ts.map +1 -0
- package/models/operations/index.js +42 -0
- package/models/operations/index.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 +7251 -0
- package/models/operations/updateprompt.d.ts.map +1 -0
- package/models/operations/updateprompt.js +6678 -0
- package/models/operations/updateprompt.js.map +1 -0
- package/package.json +25 -24
- package/packages/orq-rc/FUNCTIONS.md +106 -0
- package/packages/orq-rc/README.md +564 -0
- package/packages/orq-rc/RUNTIMES.md +22 -0
- package/packages/orq-rc/docs/sdks/contacts/README.md +84 -0
- package/packages/orq-rc/docs/sdks/deployments/README.md +239 -0
- package/packages/orq-rc/docs/sdks/feedback/README.md +92 -0
- package/packages/orq-rc/docs/sdks/files/README.md +473 -0
- package/packages/orq-rc/docs/sdks/metrics/README.md +86 -0
- package/packages/orq-rc/docs/sdks/orq/README.md +10 -0
- package/packages/orq-rc/docs/sdks/prompt/README.md +6 -0
- package/packages/orq-rc/docs/sdks/prompts/README.md +533 -0
- package/packages/orq-rc/docs/sdks/remoteconfig/README.md +80 -0
- package/packages/orq-rc/docs/sdks/snippets/README.md +84 -0
- package/packages/orq-rc/docs/sdks/templates/README.md +80 -0
- package/packages/orq-rc/src/core.ts +13 -0
- package/packages/orq-rc/src/funcs/contactsCreate.ts +124 -0
- package/packages/orq-rc/src/funcs/deploymentsAll.ts +138 -0
- package/packages/orq-rc/src/funcs/deploymentsGetConfig.ts +132 -0
- package/packages/orq-rc/src/funcs/deploymentsInvoke.ts +135 -0
- package/packages/orq-rc/src/funcs/deploymentsMetricsCreate.ts +132 -0
- package/packages/orq-rc/src/funcs/feedbackCreate.ts +124 -0
- package/packages/orq-rc/src/funcs/filesBulkUpload.ts +126 -0
- package/packages/orq-rc/src/funcs/filesDelete.ts +128 -0
- package/packages/orq-rc/src/funcs/filesGet.ts +127 -0
- package/packages/orq-rc/src/funcs/filesList.ts +129 -0
- package/packages/orq-rc/src/funcs/filesUpdate.ts +128 -0
- package/packages/orq-rc/src/funcs/filesUpload.ts +145 -0
- package/packages/orq-rc/src/funcs/promptSnippetsFindOne.ts +128 -0
- package/packages/orq-rc/src/funcs/promptTemplatesGetAll.ts +130 -0
- package/packages/orq-rc/src/funcs/promptsCreate.ts +124 -0
- package/packages/orq-rc/src/funcs/promptsCreateVersion.ts +129 -0
- package/packages/orq-rc/src/funcs/promptsDelete.ts +128 -0
- package/packages/orq-rc/src/funcs/promptsDuplicate.ts +128 -0
- package/packages/orq-rc/src/funcs/promptsGetAll.ts +126 -0
- package/packages/orq-rc/src/funcs/promptsGetOne.ts +128 -0
- package/packages/orq-rc/src/funcs/promptsUpdate.ts +136 -0
- package/packages/orq-rc/src/funcs/remoteconfigGetConfig.ts +125 -0
- package/packages/orq-rc/src/hooks/hooks.ts +132 -0
- package/packages/orq-rc/src/hooks/index.ts +6 -0
- package/packages/orq-rc/src/hooks/registration.ts +14 -0
- package/packages/orq-rc/src/hooks/types.ts +109 -0
- package/packages/orq-rc/src/index.ts +7 -0
- package/packages/orq-rc/src/lib/base64.ts +37 -0
- package/packages/orq-rc/src/lib/config.ts +60 -0
- package/packages/orq-rc/src/lib/dlv.ts +53 -0
- package/packages/orq-rc/src/lib/encodings.ts +449 -0
- package/packages/orq-rc/src/lib/env.ts +41 -0
- package/packages/orq-rc/src/lib/event-streams.ts +264 -0
- package/packages/orq-rc/src/lib/files.ts +40 -0
- package/packages/orq-rc/src/lib/http.ts +323 -0
- package/packages/orq-rc/src/lib/is-plain-object.ts +43 -0
- package/packages/orq-rc/src/lib/logger.ts +9 -0
- package/packages/orq-rc/src/lib/matchers.ts +325 -0
- package/packages/orq-rc/src/lib/primitives.ts +122 -0
- package/packages/orq-rc/src/lib/retries.ts +219 -0
- package/packages/orq-rc/src/lib/schemas.ts +86 -0
- package/packages/orq-rc/src/lib/sdks.ts +397 -0
- package/packages/orq-rc/src/lib/security.ts +254 -0
- package/packages/orq-rc/src/lib/url.ts +33 -0
- package/packages/orq-rc/src/models/components/deployments.ts +1673 -0
- package/packages/orq-rc/src/models/components/index.ts +6 -0
- package/packages/orq-rc/src/models/components/security.ts +71 -0
- package/packages/orq-rc/src/models/errors/apierror.ts +27 -0
- package/packages/orq-rc/src/models/errors/honoapierror.ts +82 -0
- package/packages/orq-rc/src/models/errors/httpclienterrors.ts +62 -0
- package/packages/orq-rc/src/models/errors/index.ts +9 -0
- package/packages/orq-rc/src/models/errors/sdkvalidationerror.ts +97 -0
- package/packages/orq-rc/src/models/errors/updateprompt.ts +71 -0
- package/packages/orq-rc/src/models/operations/bulkfileupload.ts +315 -0
- package/packages/orq-rc/src/models/operations/createcontact.ts +256 -0
- package/packages/orq-rc/src/models/operations/createfeedback.ts +286 -0
- package/packages/orq-rc/src/models/operations/createprompt.ts +3461 -0
- package/packages/orq-rc/src/models/operations/createpromptversion.ts +3703 -0
- package/packages/orq-rc/src/models/operations/deleteprompt.ts +69 -0
- package/packages/orq-rc/src/models/operations/deploymentcreatemetric.ts +1790 -0
- package/packages/orq-rc/src/models/operations/deploymentgetconfig.ts +3483 -0
- package/packages/orq-rc/src/models/operations/deploymentinvoke.ts +2385 -0
- package/packages/orq-rc/src/models/operations/deployments.ts +2098 -0
- package/packages/orq-rc/src/models/operations/duplicateprompt.ts +69 -0
- package/packages/orq-rc/src/models/operations/filedelete.ts +78 -0
- package/packages/orq-rc/src/models/operations/fileget.ts +222 -0
- package/packages/orq-rc/src/models/operations/filelist.ts +333 -0
- package/packages/orq-rc/src/models/operations/fileupdate.ts +298 -0
- package/packages/orq-rc/src/models/operations/fileupload.ts +322 -0
- package/packages/orq-rc/src/models/operations/findonepromptsnippet.ts +13629 -0
- package/packages/orq-rc/src/models/operations/getallprompts.ts +18640 -0
- package/packages/orq-rc/src/models/operations/getallprompttemplates.ts +13690 -0
- package/packages/orq-rc/src/models/operations/getoneprompt.ts +69 -0
- package/packages/orq-rc/src/models/operations/index.ts +26 -0
- package/packages/orq-rc/src/models/operations/remoteconfigsgetconfig.ts +190 -0
- package/packages/orq-rc/src/models/operations/updateprompt.ts +14407 -0
- package/packages/orq-rc/src/sdk/contacts.ts +27 -0
- package/packages/orq-rc/src/sdk/deployments.ts +75 -0
- package/packages/orq-rc/src/sdk/feedback.ts +27 -0
- package/packages/orq-rc/src/sdk/files.ts +105 -0
- package/packages/orq-rc/src/sdk/index.ts +5 -0
- package/packages/orq-rc/src/sdk/metrics.ts +27 -0
- package/packages/orq-rc/src/sdk/prompt.ts +19 -0
- package/packages/orq-rc/src/sdk/prompts.ts +114 -0
- package/packages/orq-rc/src/sdk/remoteconfig.ts +24 -0
- package/packages/orq-rc/src/sdk/sdk.ts +49 -0
- package/packages/orq-rc/src/sdk/snippets.ts +24 -0
- package/packages/orq-rc/src/sdk/templates.ts +24 -0
- package/packages/orq-rc/src/types/blobs.ts +31 -0
- package/packages/orq-rc/src/types/constdatetime.ts +15 -0
- package/packages/orq-rc/src/types/enums.ts +16 -0
- package/packages/orq-rc/src/types/fp.ts +50 -0
- package/packages/orq-rc/src/types/index.ts +11 -0
- package/packages/orq-rc/src/types/operations.ts +105 -0
- package/packages/orq-rc/src/types/rfcdate.ts +54 -0
- package/packages/orq-rc/src/types/streams.ts +21 -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 +34 -0
- package/sdk/deployments.d.ts.map +1 -0
- package/sdk/deployments.js +48 -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 +35 -0
- package/sdk/files.d.ts.map +1 -0
- package/sdk/files.js +60 -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 +19 -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 +39 -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 +125 -0
- package/src/funcs/deploymentsAll.ts +139 -0
- package/src/funcs/deploymentsGetConfig.ts +133 -0
- package/src/funcs/deploymentsInvoke.ts +136 -0
- package/src/funcs/deploymentsMetricsCreate.ts +133 -0
- package/src/funcs/feedbackCreate.ts +125 -0
- package/src/funcs/filesBulkUpload.ts +128 -0
- package/src/funcs/filesDelete.ts +129 -0
- package/src/funcs/filesGet.ts +128 -0
- package/src/funcs/filesList.ts +130 -0
- package/src/funcs/filesUpdate.ts +129 -0
- package/src/funcs/filesUpload.ts +148 -0
- package/src/funcs/promptSnippetsFindOne.ts +129 -0
- package/src/funcs/promptTemplatesGetAll.ts +131 -0
- package/src/funcs/promptsCreate.ts +125 -0
- package/src/funcs/promptsCreateVersion.ts +130 -0
- package/src/funcs/promptsDelete.ts +129 -0
- package/src/funcs/promptsDuplicate.ts +129 -0
- package/src/funcs/promptsGetAll.ts +127 -0
- package/src/funcs/promptsGetOne.ts +129 -0
- package/src/funcs/promptsUpdate.ts +137 -0
- package/src/funcs/remoteconfigGetConfig.ts +126 -0
- package/src/hooks/hooks.ts +132 -0
- package/src/hooks/index.ts +6 -0
- package/src/hooks/registration.ts +14 -0
- package/src/hooks/types.ts +109 -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 +483 -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 +136 -0
- package/src/lib/retries.ts +219 -0
- package/src/lib/schemas.ts +86 -0
- package/src/lib/sdks.ts +400 -0
- package/src/lib/security.ts +254 -0
- package/src/lib/url.ts +33 -0
- package/src/models/components/deployments.ts +1673 -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 +315 -0
- package/src/models/operations/createcontact.ts +256 -0
- package/src/models/operations/createfeedback.ts +286 -0
- package/src/models/operations/createprompt.ts +3461 -0
- package/src/models/operations/createpromptversion.ts +3703 -0
- package/src/models/operations/deleteprompt.ts +69 -0
- package/src/models/operations/deploymentcreatemetric.ts +1790 -0
- package/src/models/operations/deploymentgetconfig.ts +3483 -0
- package/src/models/operations/deploymentinvoke.ts +2385 -0
- package/src/models/operations/deployments.ts +2098 -0
- package/src/models/operations/duplicateprompt.ts +69 -0
- package/src/models/operations/filedelete.ts +78 -0
- package/src/models/operations/fileget.ts +222 -0
- package/src/models/operations/filelist.ts +333 -0
- package/src/models/operations/fileupdate.ts +298 -0
- package/src/models/operations/fileupload.ts +322 -0
- package/src/models/operations/findonepromptsnippet.ts +13629 -0
- package/src/models/operations/getallprompts.ts +18640 -0
- package/src/models/operations/getallprompttemplates.ts +13690 -0
- package/src/models/operations/getoneprompt.ts +69 -0
- package/src/models/operations/index.ts +26 -0
- package/src/models/operations/remoteconfigsgetconfig.ts +190 -0
- package/src/models/operations/updateprompt.ts +14407 -0
- package/src/sdk/contacts.ts +27 -0
- package/src/sdk/deployments.ts +75 -0
- package/src/sdk/feedback.ts +27 -0
- package/src/sdk/files.ts +105 -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
- package/src/index.d.ts +0 -3
- package/src/index.js +0 -7
- package/src/index.js.map +0 -1
- package/src/lib/api/contacts/index.d.ts +0 -9
- package/src/lib/api/contacts/index.js +0 -25
- package/src/lib/api/contacts/index.js.map +0 -1
- package/src/lib/api/deployments.d.ts +0 -45
- package/src/lib/api/deployments.js +0 -166
- package/src/lib/api/deployments.js.map +0 -1
- package/src/lib/api/feedback/feedback.d.ts +0 -20
- package/src/lib/api/feedback/feedback.js +0 -51
- package/src/lib/api/feedback/feedback.js.map +0 -1
- package/src/lib/api/feedback/index.d.ts +0 -1
- package/src/lib/api/feedback/index.js +0 -5
- package/src/lib/api/feedback/index.js.map +0 -1
- package/src/lib/api/index.d.ts +0 -1
- package/src/lib/api/index.js +0 -5
- package/src/lib/api/index.js.map +0 -1
- package/src/lib/api/webhooks/index.d.ts +0 -1
- package/src/lib/api/webhooks/index.js +0 -5
- package/src/lib/api/webhooks/index.js.map +0 -1
- package/src/lib/api/webhooks/webhooks.d.ts +0 -14
- package/src/lib/api/webhooks/webhooks.js +0 -40
- package/src/lib/api/webhooks/webhooks.js.map +0 -1
- package/src/lib/client.d.ts +0 -17
- package/src/lib/client.js +0 -47
- package/src/lib/client.js.map +0 -1
- package/src/lib/exceptions/index.d.ts +0 -9
- package/src/lib/exceptions/index.js +0 -31
- package/src/lib/exceptions/index.js.map +0 -1
- package/src/lib/http/index.d.ts +0 -7
- package/src/lib/http/index.js +0 -15
- package/src/lib/http/index.js.map +0 -1
- package/src/lib/models/contacts.d.ts +0 -8
- package/src/lib/models/contacts.js +0 -3
- package/src/lib/models/contacts.js.map +0 -1
- package/src/lib/models/deployments.d.ts +0 -167
- package/src/lib/models/deployments.js +0 -40
- package/src/lib/models/deployments.js.map +0 -1
- package/src/lib/models/feedback.models.d.ts +0 -23
- package/src/lib/models/feedback.models.js +0 -3
- package/src/lib/models/feedback.models.js.map +0 -1
- package/src/lib/models/index.d.ts +0 -6
- package/src/lib/models/index.js +0 -10
- package/src/lib/models/index.js.map +0 -1
- package/src/lib/models/options.d.ts +0 -13
- package/src/lib/models/options.js +0 -3
- package/src/lib/models/options.js.map +0 -1
- package/src/lib/models/user-info.d.ts +0 -3
- package/src/lib/models/user-info.js +0 -3
- package/src/lib/models/user-info.js.map +0 -1
- package/src/lib/models/webhooks.d.ts +0 -83
- package/src/lib/models/webhooks.js +0 -8
- package/src/lib/models/webhooks.js.map +0 -1
- package/src/lib/utils/index.d.ts +0 -6
- package/src/lib/utils/index.js +0 -51
- package/src/lib/utils/index.js.map +0 -1
- package/src/lib/version.d.ts +0 -1
- package/src/lib/version.js +0 -5
- package/src/lib/version.js.map +0 -1
|
@@ -0,0 +1,920 @@
|
|
|
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 Inputs = string | number | boolean;
|
|
6
|
+
/**
|
|
7
|
+
* The role of the prompt message
|
|
8
|
+
*/
|
|
9
|
+
export declare const Role: {
|
|
10
|
+
readonly System: "system";
|
|
11
|
+
readonly Assistant: "assistant";
|
|
12
|
+
readonly User: "user";
|
|
13
|
+
readonly Exception: "exception";
|
|
14
|
+
readonly Tool: "tool";
|
|
15
|
+
readonly Prompt: "prompt";
|
|
16
|
+
readonly Correction: "correction";
|
|
17
|
+
readonly ExpectedOutput: "expected_output";
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* The role of the prompt message
|
|
21
|
+
*/
|
|
22
|
+
export type Role = ClosedEnum<typeof Role>;
|
|
23
|
+
export declare const TwoType: {
|
|
24
|
+
readonly ImageUrl: "image_url";
|
|
25
|
+
};
|
|
26
|
+
export type TwoType = ClosedEnum<typeof TwoType>;
|
|
27
|
+
export type ImageUrl = {
|
|
28
|
+
/**
|
|
29
|
+
* Either a URL of the image or the base64 encoded data URI.
|
|
30
|
+
*/
|
|
31
|
+
url: string;
|
|
32
|
+
/**
|
|
33
|
+
* Specifies the detail level of the image. Currently only supported with OpenAI models
|
|
34
|
+
*/
|
|
35
|
+
detail?: string | undefined;
|
|
36
|
+
};
|
|
37
|
+
/**
|
|
38
|
+
* The image part of the prompt message. Only supported with vision models.
|
|
39
|
+
*/
|
|
40
|
+
export type Two2 = {
|
|
41
|
+
type: TwoType;
|
|
42
|
+
imageUrl: ImageUrl;
|
|
43
|
+
};
|
|
44
|
+
export declare const Deployments2Type: {
|
|
45
|
+
readonly Text: "text";
|
|
46
|
+
};
|
|
47
|
+
export type Deployments2Type = ClosedEnum<typeof Deployments2Type>;
|
|
48
|
+
/**
|
|
49
|
+
* Text content part of a prompt message
|
|
50
|
+
*/
|
|
51
|
+
export type One = {
|
|
52
|
+
type: Deployments2Type;
|
|
53
|
+
text: string;
|
|
54
|
+
};
|
|
55
|
+
export type Two = One | Two2;
|
|
56
|
+
/**
|
|
57
|
+
* 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.
|
|
58
|
+
*/
|
|
59
|
+
export type Content = string | Array<One | Two2>;
|
|
60
|
+
export declare const Type: {
|
|
61
|
+
readonly Function: "function";
|
|
62
|
+
};
|
|
63
|
+
export type Type = ClosedEnum<typeof Type>;
|
|
64
|
+
export type FunctionT = {
|
|
65
|
+
name: string;
|
|
66
|
+
/**
|
|
67
|
+
* JSON string arguments for the functions
|
|
68
|
+
*/
|
|
69
|
+
arguments: string;
|
|
70
|
+
};
|
|
71
|
+
export type ToolCalls = {
|
|
72
|
+
id?: string | undefined;
|
|
73
|
+
index?: number | undefined;
|
|
74
|
+
type: Type;
|
|
75
|
+
function: FunctionT;
|
|
76
|
+
};
|
|
77
|
+
export type PrefixMessages = {
|
|
78
|
+
/**
|
|
79
|
+
* The role of the prompt message
|
|
80
|
+
*/
|
|
81
|
+
role: Role;
|
|
82
|
+
/**
|
|
83
|
+
* 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.
|
|
84
|
+
*/
|
|
85
|
+
content: string | Array<One | Two2>;
|
|
86
|
+
toolCalls?: Array<ToolCalls> | undefined;
|
|
87
|
+
};
|
|
88
|
+
/**
|
|
89
|
+
* The role of the prompt message
|
|
90
|
+
*/
|
|
91
|
+
export declare const DeploymentsRole: {
|
|
92
|
+
readonly System: "system";
|
|
93
|
+
readonly Assistant: "assistant";
|
|
94
|
+
readonly User: "user";
|
|
95
|
+
readonly Exception: "exception";
|
|
96
|
+
readonly Tool: "tool";
|
|
97
|
+
readonly Prompt: "prompt";
|
|
98
|
+
readonly Correction: "correction";
|
|
99
|
+
readonly ExpectedOutput: "expected_output";
|
|
100
|
+
};
|
|
101
|
+
/**
|
|
102
|
+
* The role of the prompt message
|
|
103
|
+
*/
|
|
104
|
+
export type DeploymentsRole = ClosedEnum<typeof DeploymentsRole>;
|
|
105
|
+
export declare const Deployments2MessagesContentType: {
|
|
106
|
+
readonly ImageUrl: "image_url";
|
|
107
|
+
};
|
|
108
|
+
export type Deployments2MessagesContentType = ClosedEnum<typeof Deployments2MessagesContentType>;
|
|
109
|
+
export type TwoImageUrl = {
|
|
110
|
+
/**
|
|
111
|
+
* Either a URL of the image or the base64 encoded data URI.
|
|
112
|
+
*/
|
|
113
|
+
url: string;
|
|
114
|
+
/**
|
|
115
|
+
* Specifies the detail level of the image. Currently only supported with OpenAI models
|
|
116
|
+
*/
|
|
117
|
+
detail?: string | undefined;
|
|
118
|
+
};
|
|
119
|
+
/**
|
|
120
|
+
* The image part of the prompt message. Only supported with vision models.
|
|
121
|
+
*/
|
|
122
|
+
export type Deployments22 = {
|
|
123
|
+
type: Deployments2MessagesContentType;
|
|
124
|
+
imageUrl: TwoImageUrl;
|
|
125
|
+
};
|
|
126
|
+
export declare const Deployments2MessagesType: {
|
|
127
|
+
readonly Text: "text";
|
|
128
|
+
};
|
|
129
|
+
export type Deployments2MessagesType = ClosedEnum<typeof Deployments2MessagesType>;
|
|
130
|
+
/**
|
|
131
|
+
* Text content part of a prompt message
|
|
132
|
+
*/
|
|
133
|
+
export type Two1 = {
|
|
134
|
+
type: Deployments2MessagesType;
|
|
135
|
+
text: string;
|
|
136
|
+
};
|
|
137
|
+
export type Content2 = Two1 | Deployments22;
|
|
138
|
+
/**
|
|
139
|
+
* 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.
|
|
140
|
+
*/
|
|
141
|
+
export type DeploymentsContent = string | Array<Two1 | Deployments22>;
|
|
142
|
+
export declare const DeploymentsType: {
|
|
143
|
+
readonly Function: "function";
|
|
144
|
+
};
|
|
145
|
+
export type DeploymentsType = ClosedEnum<typeof DeploymentsType>;
|
|
146
|
+
export type DeploymentsFunction = {
|
|
147
|
+
name: string;
|
|
148
|
+
/**
|
|
149
|
+
* JSON string arguments for the functions
|
|
150
|
+
*/
|
|
151
|
+
arguments: string;
|
|
152
|
+
};
|
|
153
|
+
export type DeploymentsToolCalls = {
|
|
154
|
+
id?: string | undefined;
|
|
155
|
+
index?: number | undefined;
|
|
156
|
+
type: DeploymentsType;
|
|
157
|
+
function: DeploymentsFunction;
|
|
158
|
+
};
|
|
159
|
+
export type Messages = {
|
|
160
|
+
/**
|
|
161
|
+
* The role of the prompt message
|
|
162
|
+
*/
|
|
163
|
+
role: DeploymentsRole;
|
|
164
|
+
/**
|
|
165
|
+
* 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.
|
|
166
|
+
*/
|
|
167
|
+
content: string | Array<Two1 | Deployments22>;
|
|
168
|
+
toolCalls?: Array<DeploymentsToolCalls> | undefined;
|
|
169
|
+
};
|
|
170
|
+
/**
|
|
171
|
+
* Metadata about the document
|
|
172
|
+
*/
|
|
173
|
+
export type Metadata = {
|
|
174
|
+
/**
|
|
175
|
+
* Name of the file the text is from.
|
|
176
|
+
*/
|
|
177
|
+
fileName?: string | undefined;
|
|
178
|
+
/**
|
|
179
|
+
* Content type of the file the text is from.
|
|
180
|
+
*/
|
|
181
|
+
fileType?: string | undefined;
|
|
182
|
+
/**
|
|
183
|
+
* The page number the text is from.
|
|
184
|
+
*/
|
|
185
|
+
pageNumber?: number | undefined;
|
|
186
|
+
};
|
|
187
|
+
export type Documents = {
|
|
188
|
+
/**
|
|
189
|
+
* The text content of the document
|
|
190
|
+
*/
|
|
191
|
+
text: string;
|
|
192
|
+
/**
|
|
193
|
+
* Metadata about the document
|
|
194
|
+
*/
|
|
195
|
+
metadata?: Metadata | undefined;
|
|
196
|
+
};
|
|
197
|
+
export type InvokeOptions = {
|
|
198
|
+
/**
|
|
199
|
+
* Whether to include the retrieved knowledge chunks in the response.
|
|
200
|
+
*/
|
|
201
|
+
includeRetrievals?: boolean | undefined;
|
|
202
|
+
};
|
|
203
|
+
/**
|
|
204
|
+
* The deployment request payload
|
|
205
|
+
*/
|
|
206
|
+
export type Deployments = {
|
|
207
|
+
/**
|
|
208
|
+
* The deployment key to invoke
|
|
209
|
+
*/
|
|
210
|
+
key: string;
|
|
211
|
+
/**
|
|
212
|
+
* If set, partial message content will be sent. Tokens will be sent as data-only `server-sent events` as they become available, with the stream terminated by a `data: [DONE]` message.
|
|
213
|
+
*/
|
|
214
|
+
stream?: boolean | undefined;
|
|
215
|
+
/**
|
|
216
|
+
* Key-value pairs variables to replace in your prompts. If a variable is not provided that is defined in the prompt, the default variables are used.
|
|
217
|
+
*/
|
|
218
|
+
inputs?: {
|
|
219
|
+
[k: string]: string | number | boolean;
|
|
220
|
+
} | undefined;
|
|
221
|
+
/**
|
|
222
|
+
* Key-value pairs that match your data model and fields declared in your configuration matrix. If you send multiple prompt keys, the context will be applied to the evaluation of each key.
|
|
223
|
+
*/
|
|
224
|
+
context?: {
|
|
225
|
+
[k: string]: any;
|
|
226
|
+
} | undefined;
|
|
227
|
+
/**
|
|
228
|
+
* A list of messages to include after the `System` message, but before the `User` and `Assistant` pairs configured in your deployment.
|
|
229
|
+
*/
|
|
230
|
+
prefixMessages?: Array<PrefixMessages> | undefined;
|
|
231
|
+
/**
|
|
232
|
+
* A list of messages to send to the deployment.
|
|
233
|
+
*/
|
|
234
|
+
messages?: Array<Messages> | undefined;
|
|
235
|
+
/**
|
|
236
|
+
* A list of file IDs that are associated with the deployment request.
|
|
237
|
+
*/
|
|
238
|
+
fileIds?: Array<string> | undefined;
|
|
239
|
+
/**
|
|
240
|
+
* Key-value pairs that you want to attach to the log generated by this request.
|
|
241
|
+
*/
|
|
242
|
+
metadata?: {
|
|
243
|
+
[k: string]: any;
|
|
244
|
+
} | undefined;
|
|
245
|
+
/**
|
|
246
|
+
* Utilized for passing additional parameters to the model provider. Exercise caution when using this feature, as the included parameters will overwrite any parameters specified in the deployment prompt configuration.
|
|
247
|
+
*/
|
|
248
|
+
extraParams?: {
|
|
249
|
+
[k: string]: any;
|
|
250
|
+
} | undefined;
|
|
251
|
+
/**
|
|
252
|
+
* A list of relevant documents that evaluators and guardrails can cite to evaluate the user input or the model response based on your deployment settings.
|
|
253
|
+
*/
|
|
254
|
+
documents?: Array<Documents> | undefined;
|
|
255
|
+
invokeOptions?: InvokeOptions | undefined;
|
|
256
|
+
};
|
|
257
|
+
/** @internal */
|
|
258
|
+
export declare const Inputs$inboundSchema: z.ZodType<Inputs, z.ZodTypeDef, unknown>;
|
|
259
|
+
/** @internal */
|
|
260
|
+
export type Inputs$Outbound = string | number | boolean;
|
|
261
|
+
/** @internal */
|
|
262
|
+
export declare const Inputs$outboundSchema: z.ZodType<Inputs$Outbound, z.ZodTypeDef, Inputs>;
|
|
263
|
+
/**
|
|
264
|
+
* @internal
|
|
265
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
266
|
+
*/
|
|
267
|
+
export declare namespace Inputs$ {
|
|
268
|
+
/** @deprecated use `Inputs$inboundSchema` instead. */
|
|
269
|
+
const inboundSchema: z.ZodType<Inputs, z.ZodTypeDef, unknown>;
|
|
270
|
+
/** @deprecated use `Inputs$outboundSchema` instead. */
|
|
271
|
+
const outboundSchema: z.ZodType<Inputs$Outbound, z.ZodTypeDef, Inputs>;
|
|
272
|
+
/** @deprecated use `Inputs$Outbound` instead. */
|
|
273
|
+
type Outbound = Inputs$Outbound;
|
|
274
|
+
}
|
|
275
|
+
export declare function inputsToJSON(inputs: Inputs): string;
|
|
276
|
+
export declare function inputsFromJSON(jsonString: string): SafeParseResult<Inputs, SDKValidationError>;
|
|
277
|
+
/** @internal */
|
|
278
|
+
export declare const Role$inboundSchema: z.ZodNativeEnum<typeof Role>;
|
|
279
|
+
/** @internal */
|
|
280
|
+
export declare const Role$outboundSchema: z.ZodNativeEnum<typeof Role>;
|
|
281
|
+
/**
|
|
282
|
+
* @internal
|
|
283
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
284
|
+
*/
|
|
285
|
+
export declare namespace Role$ {
|
|
286
|
+
/** @deprecated use `Role$inboundSchema` instead. */
|
|
287
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
288
|
+
readonly System: "system";
|
|
289
|
+
readonly Assistant: "assistant";
|
|
290
|
+
readonly User: "user";
|
|
291
|
+
readonly Exception: "exception";
|
|
292
|
+
readonly Tool: "tool";
|
|
293
|
+
readonly Prompt: "prompt";
|
|
294
|
+
readonly Correction: "correction";
|
|
295
|
+
readonly ExpectedOutput: "expected_output";
|
|
296
|
+
}>;
|
|
297
|
+
/** @deprecated use `Role$outboundSchema` instead. */
|
|
298
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
299
|
+
readonly System: "system";
|
|
300
|
+
readonly Assistant: "assistant";
|
|
301
|
+
readonly User: "user";
|
|
302
|
+
readonly Exception: "exception";
|
|
303
|
+
readonly Tool: "tool";
|
|
304
|
+
readonly Prompt: "prompt";
|
|
305
|
+
readonly Correction: "correction";
|
|
306
|
+
readonly ExpectedOutput: "expected_output";
|
|
307
|
+
}>;
|
|
308
|
+
}
|
|
309
|
+
/** @internal */
|
|
310
|
+
export declare const TwoType$inboundSchema: z.ZodNativeEnum<typeof TwoType>;
|
|
311
|
+
/** @internal */
|
|
312
|
+
export declare const TwoType$outboundSchema: z.ZodNativeEnum<typeof TwoType>;
|
|
313
|
+
/**
|
|
314
|
+
* @internal
|
|
315
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
316
|
+
*/
|
|
317
|
+
export declare namespace TwoType$ {
|
|
318
|
+
/** @deprecated use `TwoType$inboundSchema` instead. */
|
|
319
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
320
|
+
readonly ImageUrl: "image_url";
|
|
321
|
+
}>;
|
|
322
|
+
/** @deprecated use `TwoType$outboundSchema` instead. */
|
|
323
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
324
|
+
readonly ImageUrl: "image_url";
|
|
325
|
+
}>;
|
|
326
|
+
}
|
|
327
|
+
/** @internal */
|
|
328
|
+
export declare const ImageUrl$inboundSchema: z.ZodType<ImageUrl, z.ZodTypeDef, unknown>;
|
|
329
|
+
/** @internal */
|
|
330
|
+
export type ImageUrl$Outbound = {
|
|
331
|
+
url: string;
|
|
332
|
+
detail?: string | undefined;
|
|
333
|
+
};
|
|
334
|
+
/** @internal */
|
|
335
|
+
export declare const ImageUrl$outboundSchema: z.ZodType<ImageUrl$Outbound, z.ZodTypeDef, ImageUrl>;
|
|
336
|
+
/**
|
|
337
|
+
* @internal
|
|
338
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
339
|
+
*/
|
|
340
|
+
export declare namespace ImageUrl$ {
|
|
341
|
+
/** @deprecated use `ImageUrl$inboundSchema` instead. */
|
|
342
|
+
const inboundSchema: z.ZodType<ImageUrl, z.ZodTypeDef, unknown>;
|
|
343
|
+
/** @deprecated use `ImageUrl$outboundSchema` instead. */
|
|
344
|
+
const outboundSchema: z.ZodType<ImageUrl$Outbound, z.ZodTypeDef, ImageUrl>;
|
|
345
|
+
/** @deprecated use `ImageUrl$Outbound` instead. */
|
|
346
|
+
type Outbound = ImageUrl$Outbound;
|
|
347
|
+
}
|
|
348
|
+
export declare function imageUrlToJSON(imageUrl: ImageUrl): string;
|
|
349
|
+
export declare function imageUrlFromJSON(jsonString: string): SafeParseResult<ImageUrl, SDKValidationError>;
|
|
350
|
+
/** @internal */
|
|
351
|
+
export declare const Two2$inboundSchema: z.ZodType<Two2, z.ZodTypeDef, unknown>;
|
|
352
|
+
/** @internal */
|
|
353
|
+
export type Two2$Outbound = {
|
|
354
|
+
type: string;
|
|
355
|
+
image_url: ImageUrl$Outbound;
|
|
356
|
+
};
|
|
357
|
+
/** @internal */
|
|
358
|
+
export declare const Two2$outboundSchema: z.ZodType<Two2$Outbound, z.ZodTypeDef, Two2>;
|
|
359
|
+
/**
|
|
360
|
+
* @internal
|
|
361
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
362
|
+
*/
|
|
363
|
+
export declare namespace Two2$ {
|
|
364
|
+
/** @deprecated use `Two2$inboundSchema` instead. */
|
|
365
|
+
const inboundSchema: z.ZodType<Two2, z.ZodTypeDef, unknown>;
|
|
366
|
+
/** @deprecated use `Two2$outboundSchema` instead. */
|
|
367
|
+
const outboundSchema: z.ZodType<Two2$Outbound, z.ZodTypeDef, Two2>;
|
|
368
|
+
/** @deprecated use `Two2$Outbound` instead. */
|
|
369
|
+
type Outbound = Two2$Outbound;
|
|
370
|
+
}
|
|
371
|
+
export declare function two2ToJSON(two2: Two2): string;
|
|
372
|
+
export declare function two2FromJSON(jsonString: string): SafeParseResult<Two2, SDKValidationError>;
|
|
373
|
+
/** @internal */
|
|
374
|
+
export declare const Deployments2Type$inboundSchema: z.ZodNativeEnum<typeof Deployments2Type>;
|
|
375
|
+
/** @internal */
|
|
376
|
+
export declare const Deployments2Type$outboundSchema: z.ZodNativeEnum<typeof Deployments2Type>;
|
|
377
|
+
/**
|
|
378
|
+
* @internal
|
|
379
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
380
|
+
*/
|
|
381
|
+
export declare namespace Deployments2Type$ {
|
|
382
|
+
/** @deprecated use `Deployments2Type$inboundSchema` instead. */
|
|
383
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
384
|
+
readonly Text: "text";
|
|
385
|
+
}>;
|
|
386
|
+
/** @deprecated use `Deployments2Type$outboundSchema` instead. */
|
|
387
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
388
|
+
readonly Text: "text";
|
|
389
|
+
}>;
|
|
390
|
+
}
|
|
391
|
+
/** @internal */
|
|
392
|
+
export declare const One$inboundSchema: z.ZodType<One, z.ZodTypeDef, unknown>;
|
|
393
|
+
/** @internal */
|
|
394
|
+
export type One$Outbound = {
|
|
395
|
+
type: string;
|
|
396
|
+
text: string;
|
|
397
|
+
};
|
|
398
|
+
/** @internal */
|
|
399
|
+
export declare const One$outboundSchema: z.ZodType<One$Outbound, z.ZodTypeDef, One>;
|
|
400
|
+
/**
|
|
401
|
+
* @internal
|
|
402
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
403
|
+
*/
|
|
404
|
+
export declare namespace One$ {
|
|
405
|
+
/** @deprecated use `One$inboundSchema` instead. */
|
|
406
|
+
const inboundSchema: z.ZodType<One, z.ZodTypeDef, unknown>;
|
|
407
|
+
/** @deprecated use `One$outboundSchema` instead. */
|
|
408
|
+
const outboundSchema: z.ZodType<One$Outbound, z.ZodTypeDef, One>;
|
|
409
|
+
/** @deprecated use `One$Outbound` instead. */
|
|
410
|
+
type Outbound = One$Outbound;
|
|
411
|
+
}
|
|
412
|
+
export declare function oneToJSON(one: One): string;
|
|
413
|
+
export declare function oneFromJSON(jsonString: string): SafeParseResult<One, SDKValidationError>;
|
|
414
|
+
/** @internal */
|
|
415
|
+
export declare const Two$inboundSchema: z.ZodType<Two, z.ZodTypeDef, unknown>;
|
|
416
|
+
/** @internal */
|
|
417
|
+
export type Two$Outbound = One$Outbound | Two2$Outbound;
|
|
418
|
+
/** @internal */
|
|
419
|
+
export declare const Two$outboundSchema: z.ZodType<Two$Outbound, z.ZodTypeDef, Two>;
|
|
420
|
+
/**
|
|
421
|
+
* @internal
|
|
422
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
423
|
+
*/
|
|
424
|
+
export declare namespace Two$ {
|
|
425
|
+
/** @deprecated use `Two$inboundSchema` instead. */
|
|
426
|
+
const inboundSchema: z.ZodType<Two, z.ZodTypeDef, unknown>;
|
|
427
|
+
/** @deprecated use `Two$outboundSchema` instead. */
|
|
428
|
+
const outboundSchema: z.ZodType<Two$Outbound, z.ZodTypeDef, Two>;
|
|
429
|
+
/** @deprecated use `Two$Outbound` instead. */
|
|
430
|
+
type Outbound = Two$Outbound;
|
|
431
|
+
}
|
|
432
|
+
export declare function twoToJSON(two: Two): string;
|
|
433
|
+
export declare function twoFromJSON(jsonString: string): SafeParseResult<Two, SDKValidationError>;
|
|
434
|
+
/** @internal */
|
|
435
|
+
export declare const Content$inboundSchema: z.ZodType<Content, z.ZodTypeDef, unknown>;
|
|
436
|
+
/** @internal */
|
|
437
|
+
export type Content$Outbound = string | Array<One$Outbound | Two2$Outbound>;
|
|
438
|
+
/** @internal */
|
|
439
|
+
export declare const Content$outboundSchema: z.ZodType<Content$Outbound, z.ZodTypeDef, Content>;
|
|
440
|
+
/**
|
|
441
|
+
* @internal
|
|
442
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
443
|
+
*/
|
|
444
|
+
export declare namespace Content$ {
|
|
445
|
+
/** @deprecated use `Content$inboundSchema` instead. */
|
|
446
|
+
const inboundSchema: z.ZodType<Content, z.ZodTypeDef, unknown>;
|
|
447
|
+
/** @deprecated use `Content$outboundSchema` instead. */
|
|
448
|
+
const outboundSchema: z.ZodType<Content$Outbound, z.ZodTypeDef, Content>;
|
|
449
|
+
/** @deprecated use `Content$Outbound` instead. */
|
|
450
|
+
type Outbound = Content$Outbound;
|
|
451
|
+
}
|
|
452
|
+
export declare function contentToJSON(content: Content): string;
|
|
453
|
+
export declare function contentFromJSON(jsonString: string): SafeParseResult<Content, SDKValidationError>;
|
|
454
|
+
/** @internal */
|
|
455
|
+
export declare const Type$inboundSchema: z.ZodNativeEnum<typeof Type>;
|
|
456
|
+
/** @internal */
|
|
457
|
+
export declare const Type$outboundSchema: z.ZodNativeEnum<typeof Type>;
|
|
458
|
+
/**
|
|
459
|
+
* @internal
|
|
460
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
461
|
+
*/
|
|
462
|
+
export declare namespace Type$ {
|
|
463
|
+
/** @deprecated use `Type$inboundSchema` instead. */
|
|
464
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
465
|
+
readonly Function: "function";
|
|
466
|
+
}>;
|
|
467
|
+
/** @deprecated use `Type$outboundSchema` instead. */
|
|
468
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
469
|
+
readonly Function: "function";
|
|
470
|
+
}>;
|
|
471
|
+
}
|
|
472
|
+
/** @internal */
|
|
473
|
+
export declare const FunctionT$inboundSchema: z.ZodType<FunctionT, z.ZodTypeDef, unknown>;
|
|
474
|
+
/** @internal */
|
|
475
|
+
export type FunctionT$Outbound = {
|
|
476
|
+
name: string;
|
|
477
|
+
arguments: string;
|
|
478
|
+
};
|
|
479
|
+
/** @internal */
|
|
480
|
+
export declare const FunctionT$outboundSchema: z.ZodType<FunctionT$Outbound, z.ZodTypeDef, FunctionT>;
|
|
481
|
+
/**
|
|
482
|
+
* @internal
|
|
483
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
484
|
+
*/
|
|
485
|
+
export declare namespace FunctionT$ {
|
|
486
|
+
/** @deprecated use `FunctionT$inboundSchema` instead. */
|
|
487
|
+
const inboundSchema: z.ZodType<FunctionT, z.ZodTypeDef, unknown>;
|
|
488
|
+
/** @deprecated use `FunctionT$outboundSchema` instead. */
|
|
489
|
+
const outboundSchema: z.ZodType<FunctionT$Outbound, z.ZodTypeDef, FunctionT>;
|
|
490
|
+
/** @deprecated use `FunctionT$Outbound` instead. */
|
|
491
|
+
type Outbound = FunctionT$Outbound;
|
|
492
|
+
}
|
|
493
|
+
export declare function functionToJSON(functionT: FunctionT): string;
|
|
494
|
+
export declare function functionFromJSON(jsonString: string): SafeParseResult<FunctionT, SDKValidationError>;
|
|
495
|
+
/** @internal */
|
|
496
|
+
export declare const ToolCalls$inboundSchema: z.ZodType<ToolCalls, z.ZodTypeDef, unknown>;
|
|
497
|
+
/** @internal */
|
|
498
|
+
export type ToolCalls$Outbound = {
|
|
499
|
+
id?: string | undefined;
|
|
500
|
+
index?: number | undefined;
|
|
501
|
+
type: string;
|
|
502
|
+
function: FunctionT$Outbound;
|
|
503
|
+
};
|
|
504
|
+
/** @internal */
|
|
505
|
+
export declare const ToolCalls$outboundSchema: z.ZodType<ToolCalls$Outbound, z.ZodTypeDef, ToolCalls>;
|
|
506
|
+
/**
|
|
507
|
+
* @internal
|
|
508
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
509
|
+
*/
|
|
510
|
+
export declare namespace ToolCalls$ {
|
|
511
|
+
/** @deprecated use `ToolCalls$inboundSchema` instead. */
|
|
512
|
+
const inboundSchema: z.ZodType<ToolCalls, z.ZodTypeDef, unknown>;
|
|
513
|
+
/** @deprecated use `ToolCalls$outboundSchema` instead. */
|
|
514
|
+
const outboundSchema: z.ZodType<ToolCalls$Outbound, z.ZodTypeDef, ToolCalls>;
|
|
515
|
+
/** @deprecated use `ToolCalls$Outbound` instead. */
|
|
516
|
+
type Outbound = ToolCalls$Outbound;
|
|
517
|
+
}
|
|
518
|
+
export declare function toolCallsToJSON(toolCalls: ToolCalls): string;
|
|
519
|
+
export declare function toolCallsFromJSON(jsonString: string): SafeParseResult<ToolCalls, SDKValidationError>;
|
|
520
|
+
/** @internal */
|
|
521
|
+
export declare const PrefixMessages$inboundSchema: z.ZodType<PrefixMessages, z.ZodTypeDef, unknown>;
|
|
522
|
+
/** @internal */
|
|
523
|
+
export type PrefixMessages$Outbound = {
|
|
524
|
+
role: string;
|
|
525
|
+
content: string | Array<One$Outbound | Two2$Outbound>;
|
|
526
|
+
tool_calls?: Array<ToolCalls$Outbound> | undefined;
|
|
527
|
+
};
|
|
528
|
+
/** @internal */
|
|
529
|
+
export declare const PrefixMessages$outboundSchema: z.ZodType<PrefixMessages$Outbound, z.ZodTypeDef, PrefixMessages>;
|
|
530
|
+
/**
|
|
531
|
+
* @internal
|
|
532
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
533
|
+
*/
|
|
534
|
+
export declare namespace PrefixMessages$ {
|
|
535
|
+
/** @deprecated use `PrefixMessages$inboundSchema` instead. */
|
|
536
|
+
const inboundSchema: z.ZodType<PrefixMessages, z.ZodTypeDef, unknown>;
|
|
537
|
+
/** @deprecated use `PrefixMessages$outboundSchema` instead. */
|
|
538
|
+
const outboundSchema: z.ZodType<PrefixMessages$Outbound, z.ZodTypeDef, PrefixMessages>;
|
|
539
|
+
/** @deprecated use `PrefixMessages$Outbound` instead. */
|
|
540
|
+
type Outbound = PrefixMessages$Outbound;
|
|
541
|
+
}
|
|
542
|
+
export declare function prefixMessagesToJSON(prefixMessages: PrefixMessages): string;
|
|
543
|
+
export declare function prefixMessagesFromJSON(jsonString: string): SafeParseResult<PrefixMessages, SDKValidationError>;
|
|
544
|
+
/** @internal */
|
|
545
|
+
export declare const DeploymentsRole$inboundSchema: z.ZodNativeEnum<typeof DeploymentsRole>;
|
|
546
|
+
/** @internal */
|
|
547
|
+
export declare const DeploymentsRole$outboundSchema: z.ZodNativeEnum<typeof DeploymentsRole>;
|
|
548
|
+
/**
|
|
549
|
+
* @internal
|
|
550
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
551
|
+
*/
|
|
552
|
+
export declare namespace DeploymentsRole$ {
|
|
553
|
+
/** @deprecated use `DeploymentsRole$inboundSchema` instead. */
|
|
554
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
555
|
+
readonly System: "system";
|
|
556
|
+
readonly Assistant: "assistant";
|
|
557
|
+
readonly User: "user";
|
|
558
|
+
readonly Exception: "exception";
|
|
559
|
+
readonly Tool: "tool";
|
|
560
|
+
readonly Prompt: "prompt";
|
|
561
|
+
readonly Correction: "correction";
|
|
562
|
+
readonly ExpectedOutput: "expected_output";
|
|
563
|
+
}>;
|
|
564
|
+
/** @deprecated use `DeploymentsRole$outboundSchema` instead. */
|
|
565
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
566
|
+
readonly System: "system";
|
|
567
|
+
readonly Assistant: "assistant";
|
|
568
|
+
readonly User: "user";
|
|
569
|
+
readonly Exception: "exception";
|
|
570
|
+
readonly Tool: "tool";
|
|
571
|
+
readonly Prompt: "prompt";
|
|
572
|
+
readonly Correction: "correction";
|
|
573
|
+
readonly ExpectedOutput: "expected_output";
|
|
574
|
+
}>;
|
|
575
|
+
}
|
|
576
|
+
/** @internal */
|
|
577
|
+
export declare const Deployments2MessagesContentType$inboundSchema: z.ZodNativeEnum<typeof Deployments2MessagesContentType>;
|
|
578
|
+
/** @internal */
|
|
579
|
+
export declare const Deployments2MessagesContentType$outboundSchema: z.ZodNativeEnum<typeof Deployments2MessagesContentType>;
|
|
580
|
+
/**
|
|
581
|
+
* @internal
|
|
582
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
583
|
+
*/
|
|
584
|
+
export declare namespace Deployments2MessagesContentType$ {
|
|
585
|
+
/** @deprecated use `Deployments2MessagesContentType$inboundSchema` instead. */
|
|
586
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
587
|
+
readonly ImageUrl: "image_url";
|
|
588
|
+
}>;
|
|
589
|
+
/** @deprecated use `Deployments2MessagesContentType$outboundSchema` instead. */
|
|
590
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
591
|
+
readonly ImageUrl: "image_url";
|
|
592
|
+
}>;
|
|
593
|
+
}
|
|
594
|
+
/** @internal */
|
|
595
|
+
export declare const TwoImageUrl$inboundSchema: z.ZodType<TwoImageUrl, z.ZodTypeDef, unknown>;
|
|
596
|
+
/** @internal */
|
|
597
|
+
export type TwoImageUrl$Outbound = {
|
|
598
|
+
url: string;
|
|
599
|
+
detail?: string | undefined;
|
|
600
|
+
};
|
|
601
|
+
/** @internal */
|
|
602
|
+
export declare const TwoImageUrl$outboundSchema: z.ZodType<TwoImageUrl$Outbound, z.ZodTypeDef, TwoImageUrl>;
|
|
603
|
+
/**
|
|
604
|
+
* @internal
|
|
605
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
606
|
+
*/
|
|
607
|
+
export declare namespace TwoImageUrl$ {
|
|
608
|
+
/** @deprecated use `TwoImageUrl$inboundSchema` instead. */
|
|
609
|
+
const inboundSchema: z.ZodType<TwoImageUrl, z.ZodTypeDef, unknown>;
|
|
610
|
+
/** @deprecated use `TwoImageUrl$outboundSchema` instead. */
|
|
611
|
+
const outboundSchema: z.ZodType<TwoImageUrl$Outbound, z.ZodTypeDef, TwoImageUrl>;
|
|
612
|
+
/** @deprecated use `TwoImageUrl$Outbound` instead. */
|
|
613
|
+
type Outbound = TwoImageUrl$Outbound;
|
|
614
|
+
}
|
|
615
|
+
export declare function twoImageUrlToJSON(twoImageUrl: TwoImageUrl): string;
|
|
616
|
+
export declare function twoImageUrlFromJSON(jsonString: string): SafeParseResult<TwoImageUrl, SDKValidationError>;
|
|
617
|
+
/** @internal */
|
|
618
|
+
export declare const Deployments22$inboundSchema: z.ZodType<Deployments22, z.ZodTypeDef, unknown>;
|
|
619
|
+
/** @internal */
|
|
620
|
+
export type Deployments22$Outbound = {
|
|
621
|
+
type: string;
|
|
622
|
+
image_url: TwoImageUrl$Outbound;
|
|
623
|
+
};
|
|
624
|
+
/** @internal */
|
|
625
|
+
export declare const Deployments22$outboundSchema: z.ZodType<Deployments22$Outbound, z.ZodTypeDef, Deployments22>;
|
|
626
|
+
/**
|
|
627
|
+
* @internal
|
|
628
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
629
|
+
*/
|
|
630
|
+
export declare namespace Deployments22$ {
|
|
631
|
+
/** @deprecated use `Deployments22$inboundSchema` instead. */
|
|
632
|
+
const inboundSchema: z.ZodType<Deployments22, z.ZodTypeDef, unknown>;
|
|
633
|
+
/** @deprecated use `Deployments22$outboundSchema` instead. */
|
|
634
|
+
const outboundSchema: z.ZodType<Deployments22$Outbound, z.ZodTypeDef, Deployments22>;
|
|
635
|
+
/** @deprecated use `Deployments22$Outbound` instead. */
|
|
636
|
+
type Outbound = Deployments22$Outbound;
|
|
637
|
+
}
|
|
638
|
+
export declare function deployments22ToJSON(deployments22: Deployments22): string;
|
|
639
|
+
export declare function deployments22FromJSON(jsonString: string): SafeParseResult<Deployments22, SDKValidationError>;
|
|
640
|
+
/** @internal */
|
|
641
|
+
export declare const Deployments2MessagesType$inboundSchema: z.ZodNativeEnum<typeof Deployments2MessagesType>;
|
|
642
|
+
/** @internal */
|
|
643
|
+
export declare const Deployments2MessagesType$outboundSchema: z.ZodNativeEnum<typeof Deployments2MessagesType>;
|
|
644
|
+
/**
|
|
645
|
+
* @internal
|
|
646
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
647
|
+
*/
|
|
648
|
+
export declare namespace Deployments2MessagesType$ {
|
|
649
|
+
/** @deprecated use `Deployments2MessagesType$inboundSchema` instead. */
|
|
650
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
651
|
+
readonly Text: "text";
|
|
652
|
+
}>;
|
|
653
|
+
/** @deprecated use `Deployments2MessagesType$outboundSchema` instead. */
|
|
654
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
655
|
+
readonly Text: "text";
|
|
656
|
+
}>;
|
|
657
|
+
}
|
|
658
|
+
/** @internal */
|
|
659
|
+
export declare const Two1$inboundSchema: z.ZodType<Two1, z.ZodTypeDef, unknown>;
|
|
660
|
+
/** @internal */
|
|
661
|
+
export type Two1$Outbound = {
|
|
662
|
+
type: string;
|
|
663
|
+
text: string;
|
|
664
|
+
};
|
|
665
|
+
/** @internal */
|
|
666
|
+
export declare const Two1$outboundSchema: z.ZodType<Two1$Outbound, z.ZodTypeDef, Two1>;
|
|
667
|
+
/**
|
|
668
|
+
* @internal
|
|
669
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
670
|
+
*/
|
|
671
|
+
export declare namespace Two1$ {
|
|
672
|
+
/** @deprecated use `Two1$inboundSchema` instead. */
|
|
673
|
+
const inboundSchema: z.ZodType<Two1, z.ZodTypeDef, unknown>;
|
|
674
|
+
/** @deprecated use `Two1$outboundSchema` instead. */
|
|
675
|
+
const outboundSchema: z.ZodType<Two1$Outbound, z.ZodTypeDef, Two1>;
|
|
676
|
+
/** @deprecated use `Two1$Outbound` instead. */
|
|
677
|
+
type Outbound = Two1$Outbound;
|
|
678
|
+
}
|
|
679
|
+
export declare function two1ToJSON(two1: Two1): string;
|
|
680
|
+
export declare function two1FromJSON(jsonString: string): SafeParseResult<Two1, SDKValidationError>;
|
|
681
|
+
/** @internal */
|
|
682
|
+
export declare const Content2$inboundSchema: z.ZodType<Content2, z.ZodTypeDef, unknown>;
|
|
683
|
+
/** @internal */
|
|
684
|
+
export type Content2$Outbound = Two1$Outbound | Deployments22$Outbound;
|
|
685
|
+
/** @internal */
|
|
686
|
+
export declare const Content2$outboundSchema: z.ZodType<Content2$Outbound, z.ZodTypeDef, Content2>;
|
|
687
|
+
/**
|
|
688
|
+
* @internal
|
|
689
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
690
|
+
*/
|
|
691
|
+
export declare namespace Content2$ {
|
|
692
|
+
/** @deprecated use `Content2$inboundSchema` instead. */
|
|
693
|
+
const inboundSchema: z.ZodType<Content2, z.ZodTypeDef, unknown>;
|
|
694
|
+
/** @deprecated use `Content2$outboundSchema` instead. */
|
|
695
|
+
const outboundSchema: z.ZodType<Content2$Outbound, z.ZodTypeDef, Content2>;
|
|
696
|
+
/** @deprecated use `Content2$Outbound` instead. */
|
|
697
|
+
type Outbound = Content2$Outbound;
|
|
698
|
+
}
|
|
699
|
+
export declare function content2ToJSON(content2: Content2): string;
|
|
700
|
+
export declare function content2FromJSON(jsonString: string): SafeParseResult<Content2, SDKValidationError>;
|
|
701
|
+
/** @internal */
|
|
702
|
+
export declare const DeploymentsContent$inboundSchema: z.ZodType<DeploymentsContent, z.ZodTypeDef, unknown>;
|
|
703
|
+
/** @internal */
|
|
704
|
+
export type DeploymentsContent$Outbound = string | Array<Two1$Outbound | Deployments22$Outbound>;
|
|
705
|
+
/** @internal */
|
|
706
|
+
export declare const DeploymentsContent$outboundSchema: z.ZodType<DeploymentsContent$Outbound, z.ZodTypeDef, DeploymentsContent>;
|
|
707
|
+
/**
|
|
708
|
+
* @internal
|
|
709
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
710
|
+
*/
|
|
711
|
+
export declare namespace DeploymentsContent$ {
|
|
712
|
+
/** @deprecated use `DeploymentsContent$inboundSchema` instead. */
|
|
713
|
+
const inboundSchema: z.ZodType<DeploymentsContent, z.ZodTypeDef, unknown>;
|
|
714
|
+
/** @deprecated use `DeploymentsContent$outboundSchema` instead. */
|
|
715
|
+
const outboundSchema: z.ZodType<DeploymentsContent$Outbound, z.ZodTypeDef, DeploymentsContent>;
|
|
716
|
+
/** @deprecated use `DeploymentsContent$Outbound` instead. */
|
|
717
|
+
type Outbound = DeploymentsContent$Outbound;
|
|
718
|
+
}
|
|
719
|
+
export declare function deploymentsContentToJSON(deploymentsContent: DeploymentsContent): string;
|
|
720
|
+
export declare function deploymentsContentFromJSON(jsonString: string): SafeParseResult<DeploymentsContent, SDKValidationError>;
|
|
721
|
+
/** @internal */
|
|
722
|
+
export declare const DeploymentsType$inboundSchema: z.ZodNativeEnum<typeof DeploymentsType>;
|
|
723
|
+
/** @internal */
|
|
724
|
+
export declare const DeploymentsType$outboundSchema: z.ZodNativeEnum<typeof DeploymentsType>;
|
|
725
|
+
/**
|
|
726
|
+
* @internal
|
|
727
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
728
|
+
*/
|
|
729
|
+
export declare namespace DeploymentsType$ {
|
|
730
|
+
/** @deprecated use `DeploymentsType$inboundSchema` instead. */
|
|
731
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
732
|
+
readonly Function: "function";
|
|
733
|
+
}>;
|
|
734
|
+
/** @deprecated use `DeploymentsType$outboundSchema` instead. */
|
|
735
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
736
|
+
readonly Function: "function";
|
|
737
|
+
}>;
|
|
738
|
+
}
|
|
739
|
+
/** @internal */
|
|
740
|
+
export declare const DeploymentsFunction$inboundSchema: z.ZodType<DeploymentsFunction, z.ZodTypeDef, unknown>;
|
|
741
|
+
/** @internal */
|
|
742
|
+
export type DeploymentsFunction$Outbound = {
|
|
743
|
+
name: string;
|
|
744
|
+
arguments: string;
|
|
745
|
+
};
|
|
746
|
+
/** @internal */
|
|
747
|
+
export declare const DeploymentsFunction$outboundSchema: z.ZodType<DeploymentsFunction$Outbound, z.ZodTypeDef, DeploymentsFunction>;
|
|
748
|
+
/**
|
|
749
|
+
* @internal
|
|
750
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
751
|
+
*/
|
|
752
|
+
export declare namespace DeploymentsFunction$ {
|
|
753
|
+
/** @deprecated use `DeploymentsFunction$inboundSchema` instead. */
|
|
754
|
+
const inboundSchema: z.ZodType<DeploymentsFunction, z.ZodTypeDef, unknown>;
|
|
755
|
+
/** @deprecated use `DeploymentsFunction$outboundSchema` instead. */
|
|
756
|
+
const outboundSchema: z.ZodType<DeploymentsFunction$Outbound, z.ZodTypeDef, DeploymentsFunction>;
|
|
757
|
+
/** @deprecated use `DeploymentsFunction$Outbound` instead. */
|
|
758
|
+
type Outbound = DeploymentsFunction$Outbound;
|
|
759
|
+
}
|
|
760
|
+
export declare function deploymentsFunctionToJSON(deploymentsFunction: DeploymentsFunction): string;
|
|
761
|
+
export declare function deploymentsFunctionFromJSON(jsonString: string): SafeParseResult<DeploymentsFunction, SDKValidationError>;
|
|
762
|
+
/** @internal */
|
|
763
|
+
export declare const DeploymentsToolCalls$inboundSchema: z.ZodType<DeploymentsToolCalls, z.ZodTypeDef, unknown>;
|
|
764
|
+
/** @internal */
|
|
765
|
+
export type DeploymentsToolCalls$Outbound = {
|
|
766
|
+
id?: string | undefined;
|
|
767
|
+
index?: number | undefined;
|
|
768
|
+
type: string;
|
|
769
|
+
function: DeploymentsFunction$Outbound;
|
|
770
|
+
};
|
|
771
|
+
/** @internal */
|
|
772
|
+
export declare const DeploymentsToolCalls$outboundSchema: z.ZodType<DeploymentsToolCalls$Outbound, z.ZodTypeDef, DeploymentsToolCalls>;
|
|
773
|
+
/**
|
|
774
|
+
* @internal
|
|
775
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
776
|
+
*/
|
|
777
|
+
export declare namespace DeploymentsToolCalls$ {
|
|
778
|
+
/** @deprecated use `DeploymentsToolCalls$inboundSchema` instead. */
|
|
779
|
+
const inboundSchema: z.ZodType<DeploymentsToolCalls, z.ZodTypeDef, unknown>;
|
|
780
|
+
/** @deprecated use `DeploymentsToolCalls$outboundSchema` instead. */
|
|
781
|
+
const outboundSchema: z.ZodType<DeploymentsToolCalls$Outbound, z.ZodTypeDef, DeploymentsToolCalls>;
|
|
782
|
+
/** @deprecated use `DeploymentsToolCalls$Outbound` instead. */
|
|
783
|
+
type Outbound = DeploymentsToolCalls$Outbound;
|
|
784
|
+
}
|
|
785
|
+
export declare function deploymentsToolCallsToJSON(deploymentsToolCalls: DeploymentsToolCalls): string;
|
|
786
|
+
export declare function deploymentsToolCallsFromJSON(jsonString: string): SafeParseResult<DeploymentsToolCalls, SDKValidationError>;
|
|
787
|
+
/** @internal */
|
|
788
|
+
export declare const Messages$inboundSchema: z.ZodType<Messages, z.ZodTypeDef, unknown>;
|
|
789
|
+
/** @internal */
|
|
790
|
+
export type Messages$Outbound = {
|
|
791
|
+
role: string;
|
|
792
|
+
content: string | Array<Two1$Outbound | Deployments22$Outbound>;
|
|
793
|
+
tool_calls?: Array<DeploymentsToolCalls$Outbound> | undefined;
|
|
794
|
+
};
|
|
795
|
+
/** @internal */
|
|
796
|
+
export declare const Messages$outboundSchema: z.ZodType<Messages$Outbound, z.ZodTypeDef, Messages>;
|
|
797
|
+
/**
|
|
798
|
+
* @internal
|
|
799
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
800
|
+
*/
|
|
801
|
+
export declare namespace Messages$ {
|
|
802
|
+
/** @deprecated use `Messages$inboundSchema` instead. */
|
|
803
|
+
const inboundSchema: z.ZodType<Messages, z.ZodTypeDef, unknown>;
|
|
804
|
+
/** @deprecated use `Messages$outboundSchema` instead. */
|
|
805
|
+
const outboundSchema: z.ZodType<Messages$Outbound, z.ZodTypeDef, Messages>;
|
|
806
|
+
/** @deprecated use `Messages$Outbound` instead. */
|
|
807
|
+
type Outbound = Messages$Outbound;
|
|
808
|
+
}
|
|
809
|
+
export declare function messagesToJSON(messages: Messages): string;
|
|
810
|
+
export declare function messagesFromJSON(jsonString: string): SafeParseResult<Messages, SDKValidationError>;
|
|
811
|
+
/** @internal */
|
|
812
|
+
export declare const Metadata$inboundSchema: z.ZodType<Metadata, z.ZodTypeDef, unknown>;
|
|
813
|
+
/** @internal */
|
|
814
|
+
export type Metadata$Outbound = {
|
|
815
|
+
file_name?: string | undefined;
|
|
816
|
+
file_type?: string | undefined;
|
|
817
|
+
page_number?: number | undefined;
|
|
818
|
+
};
|
|
819
|
+
/** @internal */
|
|
820
|
+
export declare const Metadata$outboundSchema: z.ZodType<Metadata$Outbound, z.ZodTypeDef, Metadata>;
|
|
821
|
+
/**
|
|
822
|
+
* @internal
|
|
823
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
824
|
+
*/
|
|
825
|
+
export declare namespace Metadata$ {
|
|
826
|
+
/** @deprecated use `Metadata$inboundSchema` instead. */
|
|
827
|
+
const inboundSchema: z.ZodType<Metadata, z.ZodTypeDef, unknown>;
|
|
828
|
+
/** @deprecated use `Metadata$outboundSchema` instead. */
|
|
829
|
+
const outboundSchema: z.ZodType<Metadata$Outbound, z.ZodTypeDef, Metadata>;
|
|
830
|
+
/** @deprecated use `Metadata$Outbound` instead. */
|
|
831
|
+
type Outbound = Metadata$Outbound;
|
|
832
|
+
}
|
|
833
|
+
export declare function metadataToJSON(metadata: Metadata): string;
|
|
834
|
+
export declare function metadataFromJSON(jsonString: string): SafeParseResult<Metadata, SDKValidationError>;
|
|
835
|
+
/** @internal */
|
|
836
|
+
export declare const Documents$inboundSchema: z.ZodType<Documents, z.ZodTypeDef, unknown>;
|
|
837
|
+
/** @internal */
|
|
838
|
+
export type Documents$Outbound = {
|
|
839
|
+
text: string;
|
|
840
|
+
metadata?: Metadata$Outbound | undefined;
|
|
841
|
+
};
|
|
842
|
+
/** @internal */
|
|
843
|
+
export declare const Documents$outboundSchema: z.ZodType<Documents$Outbound, z.ZodTypeDef, Documents>;
|
|
844
|
+
/**
|
|
845
|
+
* @internal
|
|
846
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
847
|
+
*/
|
|
848
|
+
export declare namespace Documents$ {
|
|
849
|
+
/** @deprecated use `Documents$inboundSchema` instead. */
|
|
850
|
+
const inboundSchema: z.ZodType<Documents, z.ZodTypeDef, unknown>;
|
|
851
|
+
/** @deprecated use `Documents$outboundSchema` instead. */
|
|
852
|
+
const outboundSchema: z.ZodType<Documents$Outbound, z.ZodTypeDef, Documents>;
|
|
853
|
+
/** @deprecated use `Documents$Outbound` instead. */
|
|
854
|
+
type Outbound = Documents$Outbound;
|
|
855
|
+
}
|
|
856
|
+
export declare function documentsToJSON(documents: Documents): string;
|
|
857
|
+
export declare function documentsFromJSON(jsonString: string): SafeParseResult<Documents, SDKValidationError>;
|
|
858
|
+
/** @internal */
|
|
859
|
+
export declare const InvokeOptions$inboundSchema: z.ZodType<InvokeOptions, z.ZodTypeDef, unknown>;
|
|
860
|
+
/** @internal */
|
|
861
|
+
export type InvokeOptions$Outbound = {
|
|
862
|
+
include_retrievals: boolean;
|
|
863
|
+
};
|
|
864
|
+
/** @internal */
|
|
865
|
+
export declare const InvokeOptions$outboundSchema: z.ZodType<InvokeOptions$Outbound, z.ZodTypeDef, InvokeOptions>;
|
|
866
|
+
/**
|
|
867
|
+
* @internal
|
|
868
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
869
|
+
*/
|
|
870
|
+
export declare namespace InvokeOptions$ {
|
|
871
|
+
/** @deprecated use `InvokeOptions$inboundSchema` instead. */
|
|
872
|
+
const inboundSchema: z.ZodType<InvokeOptions, z.ZodTypeDef, unknown>;
|
|
873
|
+
/** @deprecated use `InvokeOptions$outboundSchema` instead. */
|
|
874
|
+
const outboundSchema: z.ZodType<InvokeOptions$Outbound, z.ZodTypeDef, InvokeOptions>;
|
|
875
|
+
/** @deprecated use `InvokeOptions$Outbound` instead. */
|
|
876
|
+
type Outbound = InvokeOptions$Outbound;
|
|
877
|
+
}
|
|
878
|
+
export declare function invokeOptionsToJSON(invokeOptions: InvokeOptions): string;
|
|
879
|
+
export declare function invokeOptionsFromJSON(jsonString: string): SafeParseResult<InvokeOptions, SDKValidationError>;
|
|
880
|
+
/** @internal */
|
|
881
|
+
export declare const Deployments$inboundSchema: z.ZodType<Deployments, z.ZodTypeDef, unknown>;
|
|
882
|
+
/** @internal */
|
|
883
|
+
export type Deployments$Outbound = {
|
|
884
|
+
key: string;
|
|
885
|
+
stream: boolean;
|
|
886
|
+
inputs?: {
|
|
887
|
+
[k: string]: string | number | boolean;
|
|
888
|
+
} | undefined;
|
|
889
|
+
context?: {
|
|
890
|
+
[k: string]: any;
|
|
891
|
+
} | undefined;
|
|
892
|
+
prefix_messages?: Array<PrefixMessages$Outbound> | undefined;
|
|
893
|
+
messages?: Array<Messages$Outbound> | undefined;
|
|
894
|
+
file_ids?: Array<string> | undefined;
|
|
895
|
+
metadata?: {
|
|
896
|
+
[k: string]: any;
|
|
897
|
+
} | undefined;
|
|
898
|
+
extra_params?: {
|
|
899
|
+
[k: string]: any;
|
|
900
|
+
} | undefined;
|
|
901
|
+
documents?: Array<Documents$Outbound> | undefined;
|
|
902
|
+
invoke_options?: InvokeOptions$Outbound | undefined;
|
|
903
|
+
};
|
|
904
|
+
/** @internal */
|
|
905
|
+
export declare const Deployments$outboundSchema: z.ZodType<Deployments$Outbound, z.ZodTypeDef, Deployments>;
|
|
906
|
+
/**
|
|
907
|
+
* @internal
|
|
908
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
909
|
+
*/
|
|
910
|
+
export declare namespace Deployments$ {
|
|
911
|
+
/** @deprecated use `Deployments$inboundSchema` instead. */
|
|
912
|
+
const inboundSchema: z.ZodType<Deployments, z.ZodTypeDef, unknown>;
|
|
913
|
+
/** @deprecated use `Deployments$outboundSchema` instead. */
|
|
914
|
+
const outboundSchema: z.ZodType<Deployments$Outbound, z.ZodTypeDef, Deployments>;
|
|
915
|
+
/** @deprecated use `Deployments$Outbound` instead. */
|
|
916
|
+
type Outbound = Deployments$Outbound;
|
|
917
|
+
}
|
|
918
|
+
export declare function deploymentsToJSON(deployments: Deployments): string;
|
|
919
|
+
export declare function deploymentsFromJSON(jsonString: string): SafeParseResult<Deployments, SDKValidationError>;
|
|
920
|
+
//# sourceMappingURL=deployments.d.ts.map
|