@orq-ai/node 4.16.0-rc.50 → 4.16.0-rc.52

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.
Files changed (90) hide show
  1. package/README.md +57 -41
  2. package/funcs/websearchSearch.d.ts +38 -0
  3. package/funcs/websearchSearch.d.ts.map +1 -0
  4. package/funcs/websearchSearch.js +142 -0
  5. package/funcs/websearchSearch.js.map +1 -0
  6. package/jsr.json +1 -1
  7. package/lib/config.d.ts +2 -2
  8. package/lib/config.js +2 -2
  9. package/models/components/datapoint1.d.ts +3 -8
  10. package/models/components/datapoint1.d.ts.map +1 -1
  11. package/models/components/datapoint1.js +2 -9
  12. package/models/components/datapoint1.js.map +1 -1
  13. package/models/components/datapointinput.d.ts +6 -11
  14. package/models/components/datapointinput.d.ts.map +1 -1
  15. package/models/components/datapointinput.js +2 -8
  16. package/models/components/datapointinput.js.map +1 -1
  17. package/models/components/model.d.ts +6 -9
  18. package/models/components/model.d.ts.map +1 -1
  19. package/models/components/model.js +2 -2
  20. package/models/components/model.js.map +1 -1
  21. package/models/components/reasoningpart.js +1 -1
  22. package/models/components/updatedatapointrequest.d.ts +9 -8
  23. package/models/components/updatedatapointrequest.d.ts.map +1 -1
  24. package/models/components/updatedatapointrequest.js +2 -8
  25. package/models/components/updatedatapointrequest.js.map +1 -1
  26. package/models/errors/index.d.ts +1 -0
  27. package/models/errors/index.d.ts.map +1 -1
  28. package/models/errors/index.js +1 -0
  29. package/models/errors/index.js.map +1 -1
  30. package/models/errors/searchweb.d.ts +235 -0
  31. package/models/errors/searchweb.d.ts.map +1 -0
  32. package/models/errors/searchweb.js +351 -0
  33. package/models/errors/searchweb.js.map +1 -0
  34. package/models/operations/createtool.js +4 -4
  35. package/models/operations/deploymentinvoke.d.ts +4 -4
  36. package/models/operations/deploymentinvoke.d.ts.map +1 -1
  37. package/models/operations/deploymentinvoke.js +4 -5
  38. package/models/operations/deploymentinvoke.js.map +1 -1
  39. package/models/operations/getalltools.js +4 -4
  40. package/models/operations/getv2humanevalsets.js +2 -2
  41. package/models/operations/getv2humanevalsetsid.js +2 -2
  42. package/models/operations/index.d.ts +1 -0
  43. package/models/operations/index.d.ts.map +1 -1
  44. package/models/operations/index.js +1 -0
  45. package/models/operations/index.js.map +1 -1
  46. package/models/operations/patchv2humanevalsetsid.js +2 -2
  47. package/models/operations/postv2feedbackevaluation.js +4 -4
  48. package/models/operations/postv2humanevalsets.js +2 -2
  49. package/models/operations/retrievetool.js +4 -4
  50. package/models/operations/runagent.js +1 -1
  51. package/models/operations/searchweb.d.ts +217 -0
  52. package/models/operations/searchweb.d.ts.map +1 -0
  53. package/models/operations/searchweb.js +161 -0
  54. package/models/operations/searchweb.js.map +1 -0
  55. package/models/operations/streamrunagent.js +1 -1
  56. package/models/operations/updatetool.js +4 -4
  57. package/package.json +1 -1
  58. package/sdk/sdk.d.ts +3 -0
  59. package/sdk/sdk.d.ts.map +1 -1
  60. package/sdk/sdk.js +4 -0
  61. package/sdk/sdk.js.map +1 -1
  62. package/sdk/websearch.d.ts +32 -0
  63. package/sdk/websearch.d.ts.map +1 -0
  64. package/sdk/websearch.js +42 -0
  65. package/sdk/websearch.js.map +1 -0
  66. package/src/funcs/websearchSearch.ts +258 -0
  67. package/src/lib/config.ts +2 -2
  68. package/src/models/components/datapoint1.ts +2 -21
  69. package/src/models/components/datapointinput.ts +3 -26
  70. package/src/models/components/model.ts +10 -11
  71. package/src/models/components/reasoningpart.ts +1 -1
  72. package/src/models/components/updatedatapointrequest.ts +6 -25
  73. package/src/models/errors/index.ts +1 -0
  74. package/src/models/errors/searchweb.ts +546 -0
  75. package/src/models/operations/createtool.ts +4 -4
  76. package/src/models/operations/deploymentinvoke.ts +9 -6
  77. package/src/models/operations/getalltools.ts +4 -4
  78. package/src/models/operations/getv2humanevalsets.ts +2 -2
  79. package/src/models/operations/getv2humanevalsetsid.ts +2 -2
  80. package/src/models/operations/index.ts +1 -0
  81. package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
  82. package/src/models/operations/postv2feedbackevaluation.ts +4 -4
  83. package/src/models/operations/postv2humanevalsets.ts +2 -2
  84. package/src/models/operations/retrievetool.ts +4 -4
  85. package/src/models/operations/runagent.ts +1 -1
  86. package/src/models/operations/searchweb.ts +366 -0
  87. package/src/models/operations/streamrunagent.ts +1 -1
  88. package/src/models/operations/updatetool.ts +4 -4
  89. package/src/sdk/sdk.ts +6 -0
  90. package/src/sdk/websearch.ts +47 -0
package/README.md CHANGED
@@ -691,6 +691,10 @@ run();
691
691
  * [delete](docs/sdks/webhooks/README.md#delete) - Delete a webhook
692
692
  * [update](docs/sdks/webhooks/README.md#update) - Update a webhook
693
693
 
694
+ ### [Websearch](docs/sdks/websearch/README.md)
695
+
696
+ * [search](docs/sdks/websearch/README.md#search) - Search the web with a selected provider
697
+
694
698
  ### [Wikis](docs/sdks/wikis/README.md)
695
699
 
696
700
  * [list](docs/sdks/wikis/README.md#list)
@@ -1047,6 +1051,7 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md).
1047
1051
  - [`webhooksGet`](docs/sdks/webhooks/README.md#get) - Retrieve a webhook
1048
1052
  - [`webhooksList`](docs/sdks/webhooks/README.md#list) - List webhooks
1049
1053
  - [`webhooksUpdate`](docs/sdks/webhooks/README.md#update) - Update a webhook
1054
+ - [`websearchSearch`](docs/sdks/websearch/README.md#search) - Search the web with a selected provider
1050
1055
  - [`wikisCreate`](docs/sdks/wikis/README.md#create)
1051
1056
  - [`wikisDelete`](docs/sdks/wikis/README.md#delete)
1052
1057
  - [`wikisGet`](docs/sdks/wikis/README.md#get)
@@ -1449,7 +1454,7 @@ run();
1449
1454
  **Primary error:**
1450
1455
  * [`OrqError`](./src/models/errors/orqerror.ts): The base class for HTTP error responses.
1451
1456
 
1452
- <details><summary>Less common errors (46)</summary>
1457
+ <details><summary>Less common errors (57)</summary>
1453
1458
 
1454
1459
  <br />
1455
1460
 
@@ -1462,46 +1467,57 @@ run();
1462
1467
 
1463
1468
 
1464
1469
  **Inherit from [`OrqError`](./src/models/errors/orqerror.ts)**:
1465
- * [`HonoApiError`](./src/models/errors/honoapierror.ts): Applicable to 5 of 335 methods.*
1466
- * [`PostV2FeedbackResponseBody`](./src/models/errors/postv2feedbackresponsebody.ts): Bad Request. Status code `400`. Applicable to 1 of 335 methods.*
1467
- * [`CompactResponseResponseBody`](./src/models/errors/compactresponseresponsebody.ts): Model is required or request is invalid. Status code `400`. Applicable to 1 of 335 methods.*
1468
- * [`CreateAgentScheduleResponseBody`](./src/models/errors/createagentscheduleresponsebody.ts): Invalid schedule type, expression, or sub-hour cadence. Status code `400`. Applicable to 1 of 335 methods.*
1469
- * [`UpdateAgentScheduleResponseBody`](./src/models/errors/updateagentscheduleresponsebody.ts): Invalid type, expression, or sub-hour cadence. Status code `400`. Applicable to 1 of 335 methods.*
1470
- * [`TriggerAgentScheduleResponseBody`](./src/models/errors/triggeragentscheduleresponsebody.ts): Schedule is inactive. Status code `400`. Applicable to 1 of 335 methods.*
1471
- * [`CreateClassifyResponseBody`](./src/models/errors/createclassifyresponsebody.ts): Malformed JSON or missing model. Status code `400`. Applicable to 1 of 335 methods.*
1472
- * [`CompactResponseResponsesResponseBody`](./src/models/errors/compactresponseresponsesresponsebody.ts): Unauthorized. Status code `401`. Applicable to 1 of 335 methods.*
1473
- * [`DeleteAgentResponseBody`](./src/models/errors/deleteagentresponsebody.ts): Agent not found. The specified agent key does not exist in the workspace or has already been deleted. Status code `404`. Applicable to 1 of 335 methods.*
1474
- * [`RetrieveAgentRequestResponseBody`](./src/models/errors/retrieveagentrequestresponsebody.ts): Agent not found. The specified agent key does not exist in the workspace or you do not have permission to access it. Status code `404`. Applicable to 1 of 335 methods.*
1475
- * [`UpdateAgentResponseBody`](./src/models/errors/updateagentresponsebody.ts): Agent not found. The specified agent key does not exist in the workspace or you do not have permission to modify it. Status code `404`. Applicable to 1 of 335 methods.*
1476
- * [`StreamRunAgentResponseBody`](./src/models/errors/streamrunagentresponsebody.ts): Model not found. Status code `404`. Applicable to 1 of 335 methods.*
1477
- * [`StreamAgentResponseBody`](./src/models/errors/streamagentresponsebody.ts): Agent not found. Status code `404`. Applicable to 1 of 335 methods.*
1478
- * [`UpdatePromptResponseBody`](./src/models/errors/updatepromptresponsebody.ts): Prompt not found. Status code `404`. Applicable to 1 of 335 methods.*
1479
- * [`DeletePromptResponseBody`](./src/models/errors/deletepromptresponsebody.ts): Prompt not found. Status code `404`. Applicable to 1 of 335 methods.*
1480
- * [`GetPromptVersionResponseBody`](./src/models/errors/getpromptversionresponsebody.ts): Not Found - The prompt or prompt version does not exist. Status code `404`. Applicable to 1 of 335 methods.*
1481
- * [`UpdateToolResponseBody`](./src/models/errors/updatetoolresponsebody.ts): Tool not found. Status code `404`. Applicable to 1 of 335 methods.*
1482
- * [`GetV2ToolsToolIdVersionsResponseBody`](./src/models/errors/getv2toolstoolidversionsresponsebody.ts): Tool not found. Status code `404`. Applicable to 1 of 335 methods.*
1483
- * [`GetV2ToolsToolIdVersionsVersionIdResponseBody`](./src/models/errors/getv2toolstoolidversionsversionidresponsebody.ts): Tool or version not found. Status code `404`. Applicable to 1 of 335 methods.*
1484
- * [`PostV2FeedbackFeedbackResponseBody`](./src/models/errors/postv2feedbackfeedbackresponsebody.ts): Workspace, trace, or feedback property was not found. Status code `404`. Applicable to 1 of 335 methods.*
1485
- * [`PostV2FeedbackRemoveResponseBody`](./src/models/errors/postv2feedbackremoveresponsebody.ts): Workspace ID is not found on the request. Status code `404`. Applicable to 1 of 335 methods.*
1486
- * [`GetEvalsResponseBody`](./src/models/errors/getevalsresponsebody.ts): Workspace ID is not found on the request. Status code `404`. Applicable to 1 of 335 methods.*
1487
- * [`CreateEvalResponseBody`](./src/models/errors/createevalresponsebody.ts): Workspace ID is not found on the request. Status code `404`. Applicable to 1 of 335 methods.*
1488
- * [`GetEvalResponseBody`](./src/models/errors/getevalresponsebody.ts): No evaluator with this id exists in the authenticated workspace, or the request carries no workspace. Status code `404`. Applicable to 1 of 335 methods.*
1489
- * [`DeleteEvalResponseBody`](./src/models/errors/deleteevalresponsebody.ts): Workspace ID is not found on the request. Status code `404`. Applicable to 1 of 335 methods.*
1490
- * [`UpdateEvalResponseBody`](./src/models/errors/updateevalresponsebody.ts): Workspace ID is not found on the request. Status code `404`. Applicable to 1 of 335 methods.*
1491
- * [`RetrieveResponseResponseBody`](./src/models/errors/retrieveresponseresponsebody.ts): Response not found. Status code `404`. Applicable to 1 of 335 methods.*
1492
- * [`CreateAgentScheduleSchedulesResponseBody`](./src/models/errors/createagentscheduleschedulesresponsebody.ts): Agent (or agent version, when agent_tag is set) not found. Status code `404`. Applicable to 1 of 335 methods.*
1493
- * [`DeleteAgentScheduleResponseBody`](./src/models/errors/deleteagentscheduleresponsebody.ts): Schedule not found, or belongs to a different agent. Status code `404`. Applicable to 1 of 335 methods.*
1494
- * [`RetrieveAgentScheduleResponseBody`](./src/models/errors/retrieveagentscheduleresponsebody.ts): Schedule not found, or belongs to a different agent. Status code `404`. Applicable to 1 of 335 methods.*
1495
- * [`UpdateAgentScheduleSchedulesResponseBody`](./src/models/errors/updateagentscheduleschedulesresponsebody.ts): Schedule or agent version not found. Status code `404`. Applicable to 1 of 335 methods.*
1496
- * [`TriggerAgentScheduleSchedulesResponseBody`](./src/models/errors/triggeragentscheduleschedulesresponsebody.ts): Schedule not found, or belongs to a different agent. Status code `404`. Applicable to 1 of 335 methods.*
1497
- * [`DeleteEvalEvalsResponseBody`](./src/models/errors/deleteevalevalsresponsebody.ts): The evaluator is still referenced as an evaluator or guardrail by one or more deployments. Status code `409`. Applicable to 1 of 335 methods.*
1498
- * [`CreateModerationResponseBody`](./src/models/errors/createmoderationresponsebody.ts): Returns validation error. Status code `422`. Applicable to 1 of 335 methods.*
1499
- * [`CreateClassifyRouterClassifyResponseBody`](./src/models/errors/createclassifyrouterclassifyresponsebody.ts): The state or a question violates the classification contract. Status code `422`. Applicable to 1 of 335 methods.*
1500
- * [`CreateTranscriptionResponseBody`](./src/models/errors/createtranscriptionresponsebody.ts): Returns validation error. Status code `422`. Applicable to 1 of 335 methods.*
1501
- * [`CreateTranslationResponseBody`](./src/models/errors/createtranslationresponsebody.ts): Returns validation error. Status code `422`. Applicable to 1 of 335 methods.*
1502
- * [`CreateClassifyRouterClassifyResponseResponseBody`](./src/models/errors/createclassifyrouterclassifyresponseresponsebody.ts): Rate limited by the provider. Status code `429`. Applicable to 1 of 335 methods.*
1503
- * [`KnowledgeApiError`](./src/models/errors/knowledgeapierror.ts): An error has occured. Status code `500`. Applicable to 1 of 335 methods.*
1504
- * [`CompactResponseResponsesResponseResponseBody`](./src/models/errors/compactresponseresponsesresponseresponsebody.ts): Failed to compact conversation. Status code `502`. Applicable to 1 of 335 methods.*
1470
+ * [`HonoApiError`](./src/models/errors/honoapierror.ts): Applicable to 5 of 336 methods.*
1471
+ * [`PostV2FeedbackResponseBody`](./src/models/errors/postv2feedbackresponsebody.ts): Bad Request. Status code `400`. Applicable to 1 of 336 methods.*
1472
+ * [`CompactResponseResponseBody`](./src/models/errors/compactresponseresponsebody.ts): Model is required or request is invalid. Status code `400`. Applicable to 1 of 336 methods.*
1473
+ * [`CreateAgentScheduleResponseBody`](./src/models/errors/createagentscheduleresponsebody.ts): Invalid schedule type, expression, or sub-hour cadence. Status code `400`. Applicable to 1 of 336 methods.*
1474
+ * [`UpdateAgentScheduleResponseBody`](./src/models/errors/updateagentscheduleresponsebody.ts): Invalid type, expression, or sub-hour cadence. Status code `400`. Applicable to 1 of 336 methods.*
1475
+ * [`TriggerAgentScheduleResponseBody`](./src/models/errors/triggeragentscheduleresponsebody.ts): Schedule is inactive. Status code `400`. Applicable to 1 of 336 methods.*
1476
+ * [`SearchWebResponseBody`](./src/models/errors/searchwebresponsebody.ts): Invalid request, unusable workspace integration, or a blocking guardrail. Check the request fields and workspace integration settings. Status code `400`. Applicable to 1 of 336 methods.*
1477
+ * [`CreateClassifyResponseBody`](./src/models/errors/createclassifyresponsebody.ts): Malformed JSON or missing model. Status code `400`. Applicable to 1 of 336 methods.*
1478
+ * [`CompactResponseResponsesResponseBody`](./src/models/errors/compactresponseresponsesresponsebody.ts): Unauthorized. Status code `401`. Applicable to 1 of 336 methods.*
1479
+ * [`SearchWebWebsearchResponseBody`](./src/models/errors/searchwebwebsearchresponsebody.ts): Missing or invalid API key. Send a valid API key in the Authorization header. Status code `401`. Applicable to 1 of 336 methods.*
1480
+ * [`SearchWebWebsearchResponseResponseBody`](./src/models/errors/searchwebwebsearchresponseresponsebody.ts): Managed search requires a positive ORQ credit balance. Add credits before retrying. BYOK does not require ORQ credits. Status code `402`. Applicable to 1 of 336 methods.*
1481
+ * [`SearchWebWebsearchResponse403ResponseBody`](./src/models/errors/searchwebwebsearchresponse403responsebody.ts): The API key lacks websearch.execute permission. Status code `403`. Applicable to 1 of 336 methods.*
1482
+ * [`DeleteAgentResponseBody`](./src/models/errors/deleteagentresponsebody.ts): Agent not found. The specified agent key does not exist in the workspace or has already been deleted. Status code `404`. Applicable to 1 of 336 methods.*
1483
+ * [`RetrieveAgentRequestResponseBody`](./src/models/errors/retrieveagentrequestresponsebody.ts): Agent not found. The specified agent key does not exist in the workspace or you do not have permission to access it. Status code `404`. Applicable to 1 of 336 methods.*
1484
+ * [`UpdateAgentResponseBody`](./src/models/errors/updateagentresponsebody.ts): Agent not found. The specified agent key does not exist in the workspace or you do not have permission to modify it. Status code `404`. Applicable to 1 of 336 methods.*
1485
+ * [`StreamRunAgentResponseBody`](./src/models/errors/streamrunagentresponsebody.ts): Model not found. Status code `404`. Applicable to 1 of 336 methods.*
1486
+ * [`StreamAgentResponseBody`](./src/models/errors/streamagentresponsebody.ts): Agent not found. Status code `404`. Applicable to 1 of 336 methods.*
1487
+ * [`UpdatePromptResponseBody`](./src/models/errors/updatepromptresponsebody.ts): Prompt not found. Status code `404`. Applicable to 1 of 336 methods.*
1488
+ * [`DeletePromptResponseBody`](./src/models/errors/deletepromptresponsebody.ts): Prompt not found. Status code `404`. Applicable to 1 of 336 methods.*
1489
+ * [`GetPromptVersionResponseBody`](./src/models/errors/getpromptversionresponsebody.ts): Not Found - The prompt or prompt version does not exist. Status code `404`. Applicable to 1 of 336 methods.*
1490
+ * [`UpdateToolResponseBody`](./src/models/errors/updatetoolresponsebody.ts): Tool not found. Status code `404`. Applicable to 1 of 336 methods.*
1491
+ * [`GetV2ToolsToolIdVersionsResponseBody`](./src/models/errors/getv2toolstoolidversionsresponsebody.ts): Tool not found. Status code `404`. Applicable to 1 of 336 methods.*
1492
+ * [`GetV2ToolsToolIdVersionsVersionIdResponseBody`](./src/models/errors/getv2toolstoolidversionsversionidresponsebody.ts): Tool or version not found. Status code `404`. Applicable to 1 of 336 methods.*
1493
+ * [`PostV2FeedbackFeedbackResponseBody`](./src/models/errors/postv2feedbackfeedbackresponsebody.ts): Workspace, trace, or feedback property was not found. Status code `404`. Applicable to 1 of 336 methods.*
1494
+ * [`PostV2FeedbackRemoveResponseBody`](./src/models/errors/postv2feedbackremoveresponsebody.ts): Workspace ID is not found on the request. Status code `404`. Applicable to 1 of 336 methods.*
1495
+ * [`GetEvalsResponseBody`](./src/models/errors/getevalsresponsebody.ts): Workspace ID is not found on the request. Status code `404`. Applicable to 1 of 336 methods.*
1496
+ * [`CreateEvalResponseBody`](./src/models/errors/createevalresponsebody.ts): Workspace ID is not found on the request. Status code `404`. Applicable to 1 of 336 methods.*
1497
+ * [`GetEvalResponseBody`](./src/models/errors/getevalresponsebody.ts): No evaluator with this id exists in the authenticated workspace, or the request carries no workspace. Status code `404`. Applicable to 1 of 336 methods.*
1498
+ * [`DeleteEvalResponseBody`](./src/models/errors/deleteevalresponsebody.ts): Workspace ID is not found on the request. Status code `404`. Applicable to 1 of 336 methods.*
1499
+ * [`UpdateEvalResponseBody`](./src/models/errors/updateevalresponsebody.ts): Workspace ID is not found on the request. Status code `404`. Applicable to 1 of 336 methods.*
1500
+ * [`RetrieveResponseResponseBody`](./src/models/errors/retrieveresponseresponsebody.ts): Response not found. Status code `404`. Applicable to 1 of 336 methods.*
1501
+ * [`CreateAgentScheduleSchedulesResponseBody`](./src/models/errors/createagentscheduleschedulesresponsebody.ts): Agent (or agent version, when agent_tag is set) not found. Status code `404`. Applicable to 1 of 336 methods.*
1502
+ * [`DeleteAgentScheduleResponseBody`](./src/models/errors/deleteagentscheduleresponsebody.ts): Schedule not found, or belongs to a different agent. Status code `404`. Applicable to 1 of 336 methods.*
1503
+ * [`RetrieveAgentScheduleResponseBody`](./src/models/errors/retrieveagentscheduleresponsebody.ts): Schedule not found, or belongs to a different agent. Status code `404`. Applicable to 1 of 336 methods.*
1504
+ * [`UpdateAgentScheduleSchedulesResponseBody`](./src/models/errors/updateagentscheduleschedulesresponsebody.ts): Schedule or agent version not found. Status code `404`. Applicable to 1 of 336 methods.*
1505
+ * [`TriggerAgentScheduleSchedulesResponseBody`](./src/models/errors/triggeragentscheduleschedulesresponsebody.ts): Schedule not found, or belongs to a different agent. Status code `404`. Applicable to 1 of 336 methods.*
1506
+ * [`DeleteEvalEvalsResponseBody`](./src/models/errors/deleteevalevalsresponsebody.ts): The evaluator is still referenced as an evaluator or guardrail by one or more deployments. Status code `409`. Applicable to 1 of 336 methods.*
1507
+ * [`SearchWebWebsearchResponse415ResponseBody`](./src/models/errors/searchwebwebsearchresponse415responsebody.ts): Unsupported or missing Content-Type. Send application/json; an optional charset parameter is accepted. Status code `415`. Applicable to 1 of 336 methods.*
1508
+ * [`SearchWebWebsearchResponse422ResponseBody`](./src/models/errors/searchwebwebsearchresponse422responsebody.ts): A configured guardrail evaluator could not complete its evaluation. Status code `422`. Applicable to 1 of 336 methods.*
1509
+ * [`CreateModerationResponseBody`](./src/models/errors/createmoderationresponsebody.ts): Returns validation error. Status code `422`. Applicable to 1 of 336 methods.*
1510
+ * [`CreateClassifyRouterClassifyResponseBody`](./src/models/errors/createclassifyrouterclassifyresponsebody.ts): The state or a question violates the classification contract. Status code `422`. Applicable to 1 of 336 methods.*
1511
+ * [`CreateTranscriptionResponseBody`](./src/models/errors/createtranscriptionresponsebody.ts): Returns validation error. Status code `422`. Applicable to 1 of 336 methods.*
1512
+ * [`CreateTranslationResponseBody`](./src/models/errors/createtranslationresponsebody.ts): Returns validation error. Status code `422`. Applicable to 1 of 336 methods.*
1513
+ * [`SearchWebWebsearchResponse429ResponseBody`](./src/models/errors/searchwebwebsearchresponse429responsebody.ts): A workspace or provider rate limit, or a matching budget, was reached. Wait before retrying or raise the budget. Status code `429`. Applicable to 1 of 336 methods.*
1514
+ * [`CreateClassifyRouterClassifyResponseResponseBody`](./src/models/errors/createclassifyrouterclassifyresponseresponsebody.ts): Rate limited by the provider. Status code `429`. Applicable to 1 of 336 methods.*
1515
+ * [`KnowledgeApiError`](./src/models/errors/knowledgeapierror.ts): An error has occured. Status code `500`. Applicable to 1 of 336 methods.*
1516
+ * [`SearchWebWebsearchResponse500ResponseBody`](./src/models/errors/searchwebwebsearchresponse500responsebody.ts): Unexpected gateway error. Include the trace ID, if available, when reporting the failure. Status code `500`. Applicable to 1 of 336 methods.*
1517
+ * [`CompactResponseResponsesResponseResponseBody`](./src/models/errors/compactresponseresponsesresponseresponsebody.ts): Failed to compact conversation. Status code `502`. Applicable to 1 of 336 methods.*
1518
+ * [`SearchWebWebsearchResponse502ResponseBody`](./src/models/errors/searchwebwebsearchresponse502responsebody.ts): The search provider, PII detector, or guardrail service failed. Invalid upstream credentials can also produce this response. Status code `502`. Applicable to 1 of 336 methods.*
1519
+ * [`SearchWebWebsearchResponse503ResponseBody`](./src/models/errors/searchwebwebsearchresponse503responsebody.ts): The gateway could not load workspace integrations. Retry when the credential store is available. Status code `503`. Applicable to 1 of 336 methods.*
1520
+ * [`SearchWebWebsearchResponse504ResponseBody`](./src/models/errors/searchwebwebsearchresponse504responsebody.ts): The provider request timed out or was cancelled. Status code `504`. Applicable to 1 of 336 methods.*
1505
1521
  * [`ResponseValidationError`](./src/models/errors/responsevalidationerror.ts): Type mismatch between the data returned from the server and the structure expected by the SDK. See `error.rawValue` for the raw value and `error.pretty()` for a nicely formatted multi-line string.
1506
1522
 
1507
1523
  </details>
@@ -0,0 +1,38 @@
1
+ import { OrqCore } from "../core.js";
2
+ import { RequestOptions } from "../lib/sdks.js";
3
+ import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/httpclienterrors.js";
4
+ import * as errors from "../models/errors/index.js";
5
+ import { OrqError } from "../models/errors/orqerror.js";
6
+ import { ResponseValidationError } from "../models/errors/responsevalidationerror.js";
7
+ import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
8
+ import * as operations from "../models/operations/index.js";
9
+ import { APIPromise } from "../types/async.js";
10
+ import { Result } from "../types/fp.js";
11
+ /**
12
+ * Search the web with a selected provider
13
+ *
14
+ * @remarks
15
+ * Search with Exa, Ceramic, Linkup, Tavily, or Serper and return page URLs, titles, and descriptions in one response format. Authenticate with an API key that grants **websearch.execute** and send **Content-Type: application/json**.
16
+ *
17
+ * ### Provider and credentials
18
+ *
19
+ * Each request uses the selected provider. Exa uses **auto** search, Linkup uses **standard** depth, and Tavily uses **basic** depth.
20
+ *
21
+ * Credentials are selected from the authenticated workspace. A configured provider integration takes precedence over ORQ-managed credentials: the default integration is used, or the first configured integration if no default is set. Configure BYOK in the workspace integrations settings. Invalid integration credentials cause an error.
22
+ *
23
+ * ### Billing
24
+ *
25
+ * Managed searches use the same credits as the **AI Gateway** and charge the provider cost plus **US$0.001 per search** (US$1 per 1,000 searches). BYOK searches consume no ORQ credits and add no ORQ markup; the provider bills the integration owner directly.
26
+ *
27
+ * Exa's published auto rate is **US$7 per 1,000 requests** for up to 10 results, or **US$8 per 1,000** including the ORQ markup. Exa charges use the actual cost reported by the provider.
28
+ *
29
+ * A successful managed search is billable even if an output guardrail or output redaction failure prevents the results from being returned.
30
+ *
31
+ * ### Policies and observability
32
+ *
33
+ * PII Redaction is the only supported request plugin. Workspace PII settings and matching guardrail rules also apply. Query redaction runs before input guardrails and the provider call; result redaction runs before output guardrails and the response.
34
+ *
35
+ * Search spans and metrics record the provider, latency, result count, and cost. Use the **x-orq-trace-id** response header to find the trace.
36
+ */
37
+ export declare function websearchSearch(client: OrqCore, request: operations.SearchWebRequestBody, options?: RequestOptions): APIPromise<Result<operations.SearchWebResponse, errors.SearchWebResponseBody | errors.SearchWebWebsearchResponseBody | errors.SearchWebWebsearchResponseResponseBody | errors.SearchWebWebsearchResponse403ResponseBody | errors.SearchWebWebsearchResponse415ResponseBody | errors.SearchWebWebsearchResponse422ResponseBody | errors.SearchWebWebsearchResponse429ResponseBody | errors.SearchWebWebsearchResponse500ResponseBody | errors.SearchWebWebsearchResponse502ResponseBody | errors.SearchWebWebsearchResponse503ResponseBody | errors.SearchWebWebsearchResponse504ResponseBody | OrqError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
38
+ //# sourceMappingURL=websearchSearch.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"websearchSearch.d.ts","sourceRoot":"","sources":["../src/funcs/websearchSearch.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAMrC,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,KAAK,MAAM,MAAM,2BAA2B,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AACxD,OAAO,EAAE,uBAAuB,EAAE,MAAM,6CAA6C,CAAC;AACtF,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,wBAAgB,eAAe,CAC7B,MAAM,EAAE,OAAO,EACf,OAAO,EAAE,UAAU,CAAC,oBAAoB,EACxC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CACX,MAAM,CACJ,UAAU,CAAC,iBAAiB,EAC1B,MAAM,CAAC,qBAAqB,GAC5B,MAAM,CAAC,8BAA8B,GACrC,MAAM,CAAC,sCAAsC,GAC7C,MAAM,CAAC,yCAAyC,GAChD,MAAM,CAAC,yCAAyC,GAChD,MAAM,CAAC,yCAAyC,GAChD,MAAM,CAAC,yCAAyC,GAChD,MAAM,CAAC,yCAAyC,GAChD,MAAM,CAAC,yCAAyC,GAChD,MAAM,CAAC,yCAAyC,GAChD,MAAM,CAAC,yCAAyC,GAChD,QAAQ,GACR,uBAAuB,GACvB,eAAe,GACf,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,qBAAqB,GACrB,kBAAkB,CACrB,CACF,CAMA"}
@@ -0,0 +1,142 @@
1
+ "use strict";
2
+ /*
3
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.websearchSearch = websearchSearch;
40
+ const encodings_js_1 = require("../lib/encodings.js");
41
+ const http_js_1 = require("../lib/http.js");
42
+ const M = __importStar(require("../lib/matchers.js"));
43
+ const primitives_js_1 = require("../lib/primitives.js");
44
+ const schemas_js_1 = require("../lib/schemas.js");
45
+ const security_js_1 = require("../lib/security.js");
46
+ const url_js_1 = require("../lib/url.js");
47
+ const errors = __importStar(require("../models/errors/index.js"));
48
+ const operations = __importStar(require("../models/operations/index.js"));
49
+ const async_js_1 = require("../types/async.js");
50
+ /**
51
+ * Search the web with a selected provider
52
+ *
53
+ * @remarks
54
+ * Search with Exa, Ceramic, Linkup, Tavily, or Serper and return page URLs, titles, and descriptions in one response format. Authenticate with an API key that grants **websearch.execute** and send **Content-Type: application/json**.
55
+ *
56
+ * ### Provider and credentials
57
+ *
58
+ * Each request uses the selected provider. Exa uses **auto** search, Linkup uses **standard** depth, and Tavily uses **basic** depth.
59
+ *
60
+ * Credentials are selected from the authenticated workspace. A configured provider integration takes precedence over ORQ-managed credentials: the default integration is used, or the first configured integration if no default is set. Configure BYOK in the workspace integrations settings. Invalid integration credentials cause an error.
61
+ *
62
+ * ### Billing
63
+ *
64
+ * Managed searches use the same credits as the **AI Gateway** and charge the provider cost plus **US$0.001 per search** (US$1 per 1,000 searches). BYOK searches consume no ORQ credits and add no ORQ markup; the provider bills the integration owner directly.
65
+ *
66
+ * Exa's published auto rate is **US$7 per 1,000 requests** for up to 10 results, or **US$8 per 1,000** including the ORQ markup. Exa charges use the actual cost reported by the provider.
67
+ *
68
+ * A successful managed search is billable even if an output guardrail or output redaction failure prevents the results from being returned.
69
+ *
70
+ * ### Policies and observability
71
+ *
72
+ * PII Redaction is the only supported request plugin. Workspace PII settings and matching guardrail rules also apply. Query redaction runs before input guardrails and the provider call; result redaction runs before output guardrails and the response.
73
+ *
74
+ * Search spans and metrics record the provider, latency, result count, and cost. Use the **x-orq-trace-id** response header to find the trace.
75
+ */
76
+ function websearchSearch(client, request, options) {
77
+ return new async_js_1.APIPromise($do(client, request, options));
78
+ }
79
+ async function $do(client, request, options) {
80
+ const parsed = (0, schemas_js_1.safeParse)(request, (value) => operations.SearchWebRequestBody$outboundSchema.parse(value), "Input validation failed");
81
+ if (!parsed.ok) {
82
+ return [parsed, { status: "invalid" }];
83
+ }
84
+ const payload = parsed.value;
85
+ const body = (0, encodings_js_1.encodeJSON)("body", payload, { explode: true });
86
+ const path = (0, url_js_1.pathToFunc)("/v3/websearch")();
87
+ const headers = new Headers((0, primitives_js_1.compactMap)({
88
+ "Content-Type": "application/json",
89
+ Accept: "application/json",
90
+ }));
91
+ const secConfig = await (0, security_js_1.extractSecurity)(client._options.apiKey);
92
+ const securityInput = secConfig == null ? {} : { apiKey: secConfig };
93
+ const requestSecurity = (0, security_js_1.resolveGlobalSecurity)(securityInput);
94
+ const context = {
95
+ options: client._options,
96
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
97
+ operationID: "search-web",
98
+ oAuth2Scopes: null,
99
+ resolvedSecurity: requestSecurity,
100
+ securitySource: client._options.apiKey,
101
+ retryConfig: options?.retries
102
+ || client._options.retryConfig
103
+ || { strategy: "none" },
104
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
105
+ };
106
+ const requestRes = client._createRequest(context, {
107
+ security: requestSecurity,
108
+ method: "POST",
109
+ baseURL: options?.serverURL,
110
+ path: path,
111
+ headers: headers,
112
+ body: body,
113
+ userAgent: client._options.userAgent,
114
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || 600000,
115
+ }, options);
116
+ if (!requestRes.ok) {
117
+ return [requestRes, { status: "invalid" }];
118
+ }
119
+ const req = requestRes.value;
120
+ const doResult = await client._do(req, {
121
+ context,
122
+ isErrorStatusCode: (statusCode) => (0, http_js_1.matchStatusCode)({ status: statusCode }, ["4XX", "5XX"]),
123
+ retryConfig: context.retryConfig,
124
+ retryCodes: context.retryCodes,
125
+ });
126
+ if (!doResult.ok) {
127
+ return [doResult, { status: "request-error", request: req }];
128
+ }
129
+ const response = doResult.value;
130
+ const responseFields = {
131
+ HttpMeta: { Response: response, Request: req },
132
+ };
133
+ const [result] = await M.match(M.json(200, operations.SearchWebResponse$inboundSchema, {
134
+ hdrs: true,
135
+ key: "Result",
136
+ }), M.jsonErr(400, errors.SearchWebResponseBody$inboundSchema), M.jsonErr(401, errors.SearchWebWebsearchResponseBody$inboundSchema), M.jsonErr(402, errors.SearchWebWebsearchResponseResponseBody$inboundSchema), M.jsonErr(403, errors.SearchWebWebsearchResponse403ResponseBody$inboundSchema), M.jsonErr(415, errors.SearchWebWebsearchResponse415ResponseBody$inboundSchema), M.jsonErr(422, errors.SearchWebWebsearchResponse422ResponseBody$inboundSchema), M.jsonErr(429, errors.SearchWebWebsearchResponse429ResponseBody$inboundSchema), M.jsonErr(500, errors.SearchWebWebsearchResponse500ResponseBody$inboundSchema), M.jsonErr(502, errors.SearchWebWebsearchResponse502ResponseBody$inboundSchema), M.jsonErr(503, errors.SearchWebWebsearchResponse503ResponseBody$inboundSchema), M.jsonErr(504, errors.SearchWebWebsearchResponse504ResponseBody$inboundSchema), M.fail("4XX"), M.fail("5XX"))(response, req, { extraFields: responseFields });
137
+ if (!result.ok) {
138
+ return [result, { status: "complete", request: req, response }];
139
+ }
140
+ return [result, { status: "complete", request: req, response }];
141
+ }
142
+ //# sourceMappingURL=websearchSearch.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"websearchSearch.js","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,CAAC,CAAC,OAAO,CACP,GAAG,EACH,MAAM,CAAC,uDAAuD,CAC/D,EACD,CAAC,CAAC,OAAO,CACP,GAAG,EACH,MAAM,CAAC,uDAAuD,CAC/D,EACD,CAAC,CAAC,OAAO,CACP,GAAG,EACH,MAAM,CAAC,uDAAuD,CAC/D,EACD,CAAC,CAAC,OAAO,CACP,GAAG,EACH,MAAM,CAAC,uDAAuD,CAC/D,EACD,CAAC,CAAC,OAAO,CACP,GAAG,EACH,MAAM,CAAC,uDAAuD,CAC/D,EACD,CAAC,CAAC,OAAO,CACP,GAAG,EACH,MAAM,CAAC,uDAAuD,CAC/D,EACD,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,EACb,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CACd,CAAC,QAAQ,EAAE,GAAG,EAAE,EAAE,WAAW,EAAE,cAAc,EAAE,CAAC,CAAC;IAClD,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;QACf,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;IAClE,CAAC;IAED,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;AAClE,CAAC"}
package/jsr.json CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  {
4
4
  "name": "@orq-ai/node",
5
- "version": "4.16.0-rc.50",
5
+ "version": "4.16.0-rc.52",
6
6
  "exports": {
7
7
  ".": "./src/index.ts",
8
8
  "./models/errors": "./src/models/errors/index.ts",
package/lib/config.d.ts CHANGED
@@ -31,8 +31,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
31
31
  export declare const SDK_METADATA: {
32
32
  readonly language: "typescript";
33
33
  readonly openapiDocVersion: "2.0";
34
- readonly sdkVersion: "4.16.0-rc.50";
34
+ readonly sdkVersion: "4.16.0-rc.52";
35
35
  readonly genVersion: "2.943.0";
36
- readonly userAgent: "speakeasy-sdk/typescript 4.16.0-rc.50 2.943.0 2.0 @orq-ai/node";
36
+ readonly userAgent: "speakeasy-sdk/typescript 4.16.0-rc.52 2.943.0 2.0 @orq-ai/node";
37
37
  };
38
38
  //# sourceMappingURL=config.d.ts.map
package/lib/config.js CHANGED
@@ -28,8 +28,8 @@ function serverURLFromOptions(options) {
28
28
  exports.SDK_METADATA = {
29
29
  language: "typescript",
30
30
  openapiDocVersion: "2.0",
31
- sdkVersion: "4.16.0-rc.50",
31
+ sdkVersion: "4.16.0-rc.52",
32
32
  genVersion: "2.943.0",
33
- userAgent: "speakeasy-sdk/typescript 4.16.0-rc.50 2.943.0 2.0 @orq-ai/node",
33
+ userAgent: "speakeasy-sdk/typescript 4.16.0-rc.52 2.943.0 2.0 @orq-ai/node",
34
34
  };
35
35
  //# sourceMappingURL=config.js.map
@@ -1,10 +1,6 @@
1
1
  import * as z from "zod/v3";
2
2
  import { Result as SafeParseResult } from "../../types/fp.js";
3
3
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
4
- /**
5
- * Structured variables passed to the prompt or workflow.
6
- */
7
- export type Inputs = {};
8
4
  /**
9
5
  * A datapoint stores the inputs, messages, and expected output used in dataset evaluations.
10
6
  */
@@ -12,7 +8,9 @@ export type Datapoint1 = {
12
8
  /**
13
9
  * Structured variables passed to the prompt or workflow.
14
10
  */
15
- inputs?: Inputs | undefined;
11
+ inputs?: {
12
+ [k: string]: any;
13
+ } | undefined;
16
14
  /**
17
15
  * A JSON array containing dynamically typed values.
18
16
  */
@@ -59,9 +57,6 @@ export type Datapoint1 = {
59
57
  id: string;
60
58
  };
61
59
  /** @internal */
62
- export declare const Inputs$inboundSchema: z.ZodType<Inputs, z.ZodTypeDef, unknown>;
63
- export declare function inputsFromJSON(jsonString: string): SafeParseResult<Inputs, SDKValidationError>;
64
- /** @internal */
65
60
  export declare const Datapoint1$inboundSchema: z.ZodType<Datapoint1, z.ZodTypeDef, unknown>;
66
61
  export declare function datapoint1FromJSON(jsonString: string): SafeParseResult<Datapoint1, SDKValidationError>;
67
62
  //# sourceMappingURL=datapoint1.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"datapoint1.d.ts","sourceRoot":"","sources":["../../src/models/components/datapoint1.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE;;GAEG;AACH,MAAM,MAAM,MAAM,GAAG,EAAE,CAAC;AAExB;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG;IACvB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,GAAG,SAAS,CAAC;IAClC;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACpC;;OAEG;IACH,WAAW,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,GAAG,SAAS,CAAC;IACrC;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACrC;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,oBAAoB,EAAE,CAAC,CAAC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GAAG,SAAS,CAAC;IAC7B;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,wBAAwB,EAAE,CAAC,CAAC,OAAO,CAC9C,UAAU,EACV,CAAC,CAAC,UAAU,EACZ,OAAO,CAwBP,CAAC;AAEH,wBAAgB,kBAAkB,CAChC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,UAAU,EAAE,kBAAkB,CAAC,CAMjD"}
@@ -36,21 +36,14 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  };
37
37
  })();
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.Datapoint1$inboundSchema = exports.Inputs$inboundSchema = void 0;
40
- exports.inputsFromJSON = inputsFromJSON;
39
+ exports.Datapoint1$inboundSchema = void 0;
41
40
  exports.datapoint1FromJSON = datapoint1FromJSON;
42
41
  const z = __importStar(require("zod/v3"));
43
42
  const primitives_js_1 = require("../../lib/primitives.js");
44
43
  const schemas_js_1 = require("../../lib/schemas.js");
45
44
  /** @internal */
46
- exports.Inputs$inboundSchema = z
47
- .object({});
48
- function inputsFromJSON(jsonString) {
49
- return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.Inputs$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Inputs' from JSON`);
50
- }
51
- /** @internal */
52
45
  exports.Datapoint1$inboundSchema = z.object({
53
- inputs: z.lazy(() => exports.Inputs$inboundSchema).optional(),
46
+ inputs: z.record(z.any()).optional(),
54
47
  messages: z.array(z.any()).optional(),
55
48
  expected_output: z.string().optional(),
56
49
  evaluations: z.array(z.any()).optional(),
@@ -1 +1 @@
1
- {"version":3,"file":"datapoint1.js","sourceRoot":"","sources":["../../src/models/components/datapoint1.ts"],"names":[],"mappings":";AAAA;;GAEG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Q,EAAE;IACvC,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE;IACzB,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE;IACzB,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC9B,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC9B,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACnC,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE;CAChB,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,iBAAiB,EAAE,gBAAgB;QACnC,YAAY,EAAE,WAAW;QACzB,kBAAkB,EAAE,iBAAiB;QACrC,eAAe,EAAE,aAAa;QAC9B,eAAe,EAAE,aAAa;QAC9B,cAAc,EAAE,aAAa;QAC7B,KAAK,EAAE,IAAI;KACZ,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,SAAgB,kBAAkB,CAChC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,gCAAwB,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACpD,wCAAwC,CACzC,CAAC;AACJ,CAAC"}
@@ -1,8 +1,4 @@
1
1
  import * as z from "zod/v3";
2
- /**
3
- * Structured variables passed to the prompt or workflow.
4
- */
5
- export type DatapointInputInputs = {};
6
2
  /**
7
3
  * Datapoint content submitted by the caller.
8
4
  */
@@ -10,7 +6,9 @@ export type DatapointInput = {
10
6
  /**
11
7
  * Structured variables passed to the prompt or workflow.
12
8
  */
13
- inputs?: DatapointInputInputs | undefined;
9
+ inputs?: {
10
+ [k: string]: any;
11
+ } | undefined;
14
12
  /**
15
13
  * A JSON array containing dynamically typed values.
16
14
  */
@@ -21,13 +19,10 @@ export type DatapointInput = {
21
19
  expectedOutput?: string | undefined;
22
20
  };
23
21
  /** @internal */
24
- export type DatapointInputInputs$Outbound = {};
25
- /** @internal */
26
- export declare const DatapointInputInputs$outboundSchema: z.ZodType<DatapointInputInputs$Outbound, z.ZodTypeDef, DatapointInputInputs>;
27
- export declare function datapointInputInputsToJSON(datapointInputInputs: DatapointInputInputs): string;
28
- /** @internal */
29
22
  export type DatapointInput$Outbound = {
30
- inputs?: DatapointInputInputs$Outbound | undefined;
23
+ inputs?: {
24
+ [k: string]: any;
25
+ } | undefined;
31
26
  messages?: Array<any> | undefined;
32
27
  expected_output?: string | undefined;
33
28
  };
@@ -1 +1 @@
1
- {"version":3,"file":"datapointinput.d.ts","sourceRoot":"","sources":["../../src/models/components/datapointinput.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAAG,EAAE,CAAC;AAEtC;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG;IAC3B;;OAEG;IACH,MAAM,CAAC,EAAE,oBAAoB,GAAG,SAAS,CAAC;IAC1C;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,GAAG,SAAS,CAAC;IAClC;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACrC,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,6BAA6B,GAAG,EAAE,CAAC;AAE/C,gBAAgB;AAChB,eAAO,MAAM,mCAAmC,EAAE,CAAC,CAAC,OAAO,CACzD,6BAA6B,EAC7B,CAAC,CAAC,UAAU,EACZ,oBAAoB,CACN,CAAC;AAEjB,wBAAgB,0BAA0B,CACxC,oBAAoB,EAAE,oBAAoB,GACzC,MAAM,CAIR;AAED,gBAAgB;AAChB,MAAM,MAAM,uBAAuB,GAAG;IACpC,MAAM,CAAC,EAAE,6BAA6B,GAAG,SAAS,CAAC;IACnD,QAAQ,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,GAAG,SAAS,CAAC;IAClC,eAAe,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACtC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,6BAA6B,EAAE,CAAC,CAAC,OAAO,CACnD,uBAAuB,EACvB,CAAC,CAAC,UAAU,EACZ,cAAc,CASd,CAAC;AAEH,wBAAgB,oBAAoB,CAAC,cAAc,EAAE,cAAc,GAAG,MAAM,CAE3E"}
1
+ {"version":3,"file":"datapointinput.d.ts","sourceRoot":"","sources":["../../src/models/components/datapointinput.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG;IAC3B;;OAEG;IACH,MAAM,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,GAAG,SAAS,CAAC;IAC1C;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,GAAG,SAAS,CAAC;IAClC;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACrC,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,uBAAuB,GAAG;IACpC,MAAM,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,GAAG,SAAS,CAAC;IAC1C,QAAQ,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,GAAG,SAAS,CAAC;IAClC,eAAe,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACtC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,6BAA6B,EAAE,CAAC,CAAC,OAAO,CACnD,uBAAuB,EACvB,CAAC,CAAC,UAAU,EACZ,cAAc,CASd,CAAC;AAEH,wBAAgB,oBAAoB,CAAC,cAAc,EAAE,cAAc,GAAG,MAAM,CAE3E"}
@@ -36,19 +36,13 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  };
37
37
  })();
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.DatapointInput$outboundSchema = exports.DatapointInputInputs$outboundSchema = void 0;
40
- exports.datapointInputInputsToJSON = datapointInputInputsToJSON;
39
+ exports.DatapointInput$outboundSchema = void 0;
41
40
  exports.datapointInputToJSON = datapointInputToJSON;
42
41
  const z = __importStar(require("zod/v3"));
43
42
  const primitives_js_1 = require("../../lib/primitives.js");
44
43
  /** @internal */
45
- exports.DatapointInputInputs$outboundSchema = z.object({});
46
- function datapointInputInputsToJSON(datapointInputInputs) {
47
- return JSON.stringify(exports.DatapointInputInputs$outboundSchema.parse(datapointInputInputs));
48
- }
49
- /** @internal */
50
44
  exports.DatapointInput$outboundSchema = z.object({
51
- inputs: z.lazy(() => exports.DatapointInputInputs$outboundSchema).optional(),
45
+ inputs: z.record(z.any()).optional(),
52
46
  messages: z.array(z.any()).optional(),
53
47
  expectedOutput: z.string().optional(),
54
48
  }).transform((v) => {
@@ -1 +1 @@
1
- {"version":3,"file":"datapointinput.js","sourceRoot":"","sources":["../../src/models/components/datapointinput.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsCH,gEAMC;AAwBD,oDAEC;AApED,0CAA4B;AAC5B,2DAA0D;AA4B1D,gBAAgB;AACH,QAAA,mCAAmC,GAI5C,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;AAEjB,SAAgB,0BAA0B,CACxC,oBAA0C;IAE1C,OAAO,IAAI,CAAC,SAAS,CACnB,2CAAmC,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAChE,CAAC;AACJ,CAAC;AASD,gBAAgB;AACH,QAAA,6BAA6B,GAItC,CAAC,CAAC,MAAM,CAAC;IACX,MAAM,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,2CAAmC,CAAC,CAAC,QAAQ,EAAE;IACpE,QAAQ,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,QAAQ,EAAE;IACrC,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACtC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,cAAc,EAAE,iBAAiB;KAClC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,SAAgB,oBAAoB,CAAC,cAA8B;IACjE,OAAO,IAAI,CAAC,SAAS,CAAC,qCAA6B,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,CAAC;AAC7E,CAAC"}
1
+ {"version":3,"file":"datapointinput.js","sourceRoot":"","sources":["../../src/models/components/datapointinput.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6CH,oDAEC;AA7CD,0CAA4B;AAC5B,2DAA0D;AA2B1D,gBAAgB;AACH,QAAA,6BAA6B,GAItC,CAAC,CAAC,MAAM,CAAC;IACX,MAAM,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,QAAQ,EAAE;IACpC,QAAQ,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,QAAQ,EAAE;IACrC,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACtC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,cAAc,EAAE,iBAAiB;KAClC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,SAAgB,oBAAoB,CAAC,cAA8B;IACjE,OAAO,IAAI,CAAC,SAAS,CAAC,qCAA6B,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,CAAC;AAC7E,CAAC"}
@@ -27,20 +27,17 @@ export type Model = {
27
27
  */
28
28
  id: string;
29
29
  /**
30
- * When orq listed this offering, Unix seconds (string-encoded int64 in
31
- *
32
- * @remarks
33
- * JSON).
30
+ * When orq listed this offering, as an RFC 3339 UTC timestamp.
34
31
  */
35
- created: string;
32
+ created: Date;
36
33
  /**
37
- * When this offering stops being served, Unix seconds (string-encoded
34
+ * When this offering stops being served, as an RFC 3339 UTC timestamp:
38
35
  *
39
36
  * @remarks
40
- * int64 in JSON): orq's own sunset date if one is set, otherwise the
41
- * developer's announced deprecation date. Absent when neither is set.
37
+ * orq's own sunset date if one is set, otherwise the developer's announced
38
+ * deprecation date. Absent when neither is set.
42
39
  */
43
- deprecation?: string | undefined;
40
+ deprecation?: Date | undefined;
44
41
  /**
45
42
  * Display name shown in the orq model garden.
46
43
  */
@@ -1 +1 @@
1
- {"version":3,"file":"model.d.ts","sourceRoot":"","sources":["../../src/models/components/model.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,eAAe,EAEhB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,aAAa,EAA+B,MAAM,oBAAoB,CAAC;AAEhF;;;;;;;;;GASG;AACH,MAAM,MAAM,YAAY,GAAG,EAAE,CAAC;AAE9B;;;;;GAKG;AACH,MAAM,MAAM,sBAAsB,GAAG,EAAE,CAAC;AAExC,MAAM,MAAM,KAAK,GAAG;IAClB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;;;;OAKG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;;;;;OAMG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH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9B;;;;;OAKG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACnC;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACxB;;;;;OAKG;IACH,sBAAsB,CAAC,EAAE,sBAAsB,GAAG,SAAS,CAAC;IAC5D;;;;;OAKG;IACH,QAAQ,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACxB;;;;;OAKG;IACH,UAAU,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,0BAA0B,EAAE,CAAC,CAAC,OAAO,CAChD,YAAY,EACZ,CAAC,CAAC,UAAU,EACZ,OAAO,CACO,CAAC;AAEjB,wBAAgB,oBAAoB,CAClC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,YAAY,EAAE,kBAAkB,CAAC,CAMnD;AAED,gBAAgB;AAChB,eAAO,MAAM,oCAAoC,EAAE,CAAC,CAAC,OAAO,CAC1D,sBAAsB,EACtB,CAAC,CAAC,UAAU,EACZ,OAAO,CACO,CAAC;AAEjB,wBAAgB,8BAA8B,CAC5C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,sBAAsB,EAAE,kBAAkB,CAAC,CAM7D;AAED,gBAAgB;AAChB,eAAO,MAAM,mBAAmB,EAAE,CAAC,CAAC,OAAO,CAAC,KAAK,EAAE,CAAC,CAAC,UAAU,EAAE,OAAO,CA8BpE,CAAC;AAEL,wBAAgB,aAAa,CAC3B,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,KAAK,EAAE,kBAAkB,CAAC,CAM5C"}
@@ -59,8 +59,8 @@ function artificialIntelligenceFromJSON(jsonString) {
59
59
  exports.Model$inboundSchema = z
60
60
  .object({
61
61
  id: z.string(),
62
- created: z.string(),
63
- deprecation: z.string().optional(),
62
+ created: z.string().datetime({ offset: true }).transform(v => new Date(v)),
63
+ deprecation: z.string().datetime({ offset: true }).transform(v => new Date(v)).optional(),
64
64
  name: z.string(),
65
65
  description: z.string(),
66
66
  provider: modelprovider_js_1.ModelProvider$inboundSchema,
@@ -1 +1 @@
1
- {"version":3,"file":"model.js","sourceRoot":"","sources":["../../src/models/components/model.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyIH,oDAQC;AASD,wEAQC;AAiCD,sCAQC;AAzMD,0CAA4B;AAC5B,2DAA0D;AAC1D,qDAAiD;AAGjD,6DAG8B;AAC9B,yDAAgF;AAuHhF,gBAAgB;AACH,QAAA,0BAA0B,GAInC,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;AAEjB,SAAgB,oBAAoB,CAClC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,kCAA0B,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACtD,0CAA0C,CAC3C,CAAC;AACJ,CAAC;AAED,gBAAgB;AACH,QAAA,oCAAoC,GAI7C,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;AAEjB,SAAgB,8BAA8B,CAC5C,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,4CAAoC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAChE,oDAAoD,CACrD,CAAC;AACJ,CAAC;AAED,gBAAgB;AACH,QAAA,mBAAmB,GAA4C,CAAC;KAC1E,MAAM,CAAC;IACN,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;IACd,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;IACnB,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAClC,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE;IACvB,QAAQ,EAAE,8CAA2B;IACrC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