@orq-ai/node 4.9.13 → 4.9.17

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 (192) hide show
  1. package/jsr.json +1 -1
  2. package/lib/config.d.ts +3 -3
  3. package/lib/config.js +3 -3
  4. package/lib/config.js.map +1 -1
  5. package/models/components/reasoningpart.js +1 -1
  6. package/models/operations/createcontact.js +1 -1
  7. package/models/operations/createdataset.js +1 -1
  8. package/models/operations/createdatasetitem.js +4 -4
  9. package/models/operations/createdatasource.js +1 -1
  10. package/models/operations/createeval.js +16 -16
  11. package/models/operations/createidentity.js +1 -1
  12. package/models/operations/createtool.js +6 -6
  13. package/models/operations/getalltools.js +6 -6
  14. package/models/operations/getevals.js +16 -16
  15. package/models/operations/getv2humanevalsets.js +2 -2
  16. package/models/operations/getv2humanevalsetsid.js +2 -2
  17. package/models/operations/listdatasetdatapoints.js +4 -4
  18. package/models/operations/listdatasets.js +1 -1
  19. package/models/operations/listdatasources.js +1 -1
  20. package/models/operations/listidentities.js +1 -1
  21. package/models/operations/patchv2humanevalsetsid.js +2 -2
  22. package/models/operations/postv2feedbackevaluation.js +3 -3
  23. package/models/operations/postv2humanevalsets.js +2 -2
  24. package/models/operations/retrievedatapoint.js +4 -4
  25. package/models/operations/retrievedataset.js +1 -1
  26. package/models/operations/retrievedatasource.js +1 -1
  27. package/models/operations/retrieveidentity.js +1 -1
  28. package/models/operations/retrievetool.js +6 -6
  29. package/models/operations/runagent.js +1 -1
  30. package/models/operations/streamrunagent.js +1 -1
  31. package/models/operations/updatedatapoint.js +4 -4
  32. package/models/operations/updatedataset.js +1 -1
  33. package/models/operations/updatedatasource.js +1 -1
  34. package/models/operations/updateeval.js +16 -16
  35. package/models/operations/updateidentity.js +1 -1
  36. package/models/operations/updatetool.js +7 -7
  37. package/package.json +1 -1
  38. package/packages/orq-rc/src/funcs/identitiesCreate.ts +10 -15
  39. package/packages/orq-rc/src/funcs/identitiesDelete.ts +7 -16
  40. package/packages/orq-rc/src/funcs/identitiesList.ts +6 -5
  41. package/packages/orq-rc/src/funcs/identitiesRetrieve.ts +6 -18
  42. package/packages/orq-rc/src/funcs/identitiesUpdate.ts +9 -15
  43. package/packages/orq-rc/src/funcs/{remoteconfigsRetrieve.ts → modelsList.ts} +14 -33
  44. package/packages/orq-rc/src/funcs/projectsCreate.ts +1 -1
  45. package/packages/orq-rc/src/funcs/projectsDelete.ts +3 -0
  46. package/packages/orq-rc/src/funcs/projectsList.ts +1 -1
  47. package/packages/orq-rc/src/funcs/{contactsCreate.ts → reportingQuery.ts} +13 -13
  48. package/packages/orq-rc/src/funcs/skillsCreate.ts +1 -1
  49. package/packages/orq-rc/src/funcs/skillsDelete.ts +3 -0
  50. package/packages/orq-rc/src/funcs/skillsGet.ts +1 -1
  51. package/packages/orq-rc/src/funcs/skillsList.ts +1 -1
  52. package/packages/orq-rc/src/funcs/skillsUpdate.ts +1 -1
  53. package/packages/orq-rc/src/lib/config.ts +3 -3
  54. package/packages/orq-rc/src/models/components/createidentityrequest.ts +76 -0
  55. package/packages/orq-rc/src/models/components/createidentityresponse.ts +32 -0
  56. package/packages/orq-rc/src/models/components/createprojectrequest.ts +6 -0
  57. package/packages/orq-rc/src/models/components/createprojectresponse.ts +3 -0
  58. package/packages/orq-rc/src/models/components/createskillrequest.ts +18 -0
  59. package/packages/orq-rc/src/models/components/createskillresponse.ts +3 -0
  60. package/packages/orq-rc/src/models/components/datapoint.ts +60 -0
  61. package/packages/orq-rc/src/models/components/deleteidentityresponse.ts +27 -0
  62. package/packages/orq-rc/src/models/components/file.ts +0 -3
  63. package/packages/orq-rc/src/models/components/filter.ts +137 -0
  64. package/packages/orq-rc/src/models/components/getprojectresponse.ts +3 -0
  65. package/packages/orq-rc/src/models/components/getskillresponse.ts +3 -0
  66. package/packages/orq-rc/src/models/components/identity.ts +83 -0
  67. package/packages/orq-rc/src/models/components/identitymetrics.ts +45 -0
  68. package/packages/orq-rc/src/models/components/index.ts +16 -0
  69. package/packages/orq-rc/src/models/components/invokedeploymentrequest.ts +17 -10
  70. package/packages/orq-rc/src/models/components/listidentitiesresponse.ts +41 -0
  71. package/packages/orq-rc/src/models/components/listprojectsresponse.ts +12 -0
  72. package/packages/orq-rc/src/models/components/listskillsresponse.ts +12 -0
  73. package/packages/orq-rc/src/models/components/modelref.ts +6 -0
  74. package/packages/orq-rc/src/models/components/project.ts +42 -3
  75. package/packages/orq-rc/src/models/components/publicmodelentry.ts +70 -0
  76. package/packages/orq-rc/src/models/components/queryreportrequest.ts +237 -0
  77. package/packages/orq-rc/src/models/components/queryreportresponse.ts +99 -0
  78. package/packages/orq-rc/src/models/components/reasoningpart.ts +1 -1
  79. package/packages/orq-rc/src/models/components/responsemeta.ts +103 -0
  80. package/packages/orq-rc/src/models/components/retrieveidentityresponse.ts +32 -0
  81. package/packages/orq-rc/src/models/components/skill.ts +37 -3
  82. package/packages/orq-rc/src/models/components/totals.ts +34 -0
  83. package/packages/orq-rc/src/models/components/updateidentityrequest.ts +75 -0
  84. package/packages/orq-rc/src/models/components/updateidentityresponse.ts +32 -0
  85. package/packages/orq-rc/src/models/components/updateprojectrequest.ts +12 -0
  86. package/packages/orq-rc/src/models/components/updateprojectresponse.ts +3 -0
  87. package/packages/orq-rc/src/models/components/updateskillrequest.ts +21 -0
  88. package/packages/orq-rc/src/models/components/updateskillresponse.ts +3 -0
  89. package/packages/orq-rc/src/models/errors/index.ts +0 -3
  90. package/packages/orq-rc/src/models/operations/createagentrequest.ts +3 -3
  91. package/packages/orq-rc/src/models/operations/createannotation.ts +7 -11
  92. package/packages/orq-rc/src/models/operations/createdataset.ts +4 -4
  93. package/packages/orq-rc/src/models/operations/createdatasetitem.ts +4 -4
  94. package/packages/orq-rc/src/models/operations/createdatasource.ts +1 -1
  95. package/packages/orq-rc/src/models/operations/createeval.ts +45 -31
  96. package/packages/orq-rc/src/models/operations/createknowledge.ts +9 -9
  97. package/packages/orq-rc/src/models/operations/creatememorystore.ts +3 -3
  98. package/packages/orq-rc/src/models/operations/createprompt.ts +3 -3
  99. package/packages/orq-rc/src/models/operations/createtool.ts +36 -36
  100. package/packages/orq-rc/src/models/operations/deleteidentity.ts +0 -3
  101. package/packages/orq-rc/src/models/operations/getalltools.ts +21 -21
  102. package/packages/orq-rc/src/models/operations/getevals.ts +22 -16
  103. package/packages/orq-rc/src/models/operations/getoneknowledge.ts +6 -6
  104. package/packages/orq-rc/src/models/operations/getv2humanevalsets.ts +2 -2
  105. package/packages/orq-rc/src/models/operations/getv2humanevalsetsid.ts +2 -2
  106. package/packages/orq-rc/src/models/operations/index.ts +1 -3
  107. package/packages/orq-rc/src/models/operations/invokeeval.ts +83 -80
  108. package/packages/orq-rc/src/models/operations/listagents.ts +3 -3
  109. package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +4 -4
  110. package/packages/orq-rc/src/models/operations/listdatasets.ts +1 -1
  111. package/packages/orq-rc/src/models/operations/listdatasources.ts +1 -1
  112. package/packages/orq-rc/src/models/operations/listidentities.ts +9 -230
  113. package/packages/orq-rc/src/models/operations/listknowledgebases.ts +6 -6
  114. package/packages/orq-rc/src/models/operations/listmodels.ts +60 -0
  115. package/packages/orq-rc/src/models/operations/patchv2humanevalsetsid.ts +2 -2
  116. package/packages/orq-rc/src/models/operations/postv2agentsa2a.ts +14 -17
  117. package/packages/orq-rc/src/models/operations/postv2feedback.ts +34 -27
  118. package/packages/orq-rc/src/models/operations/postv2feedbackevaluation.ts +3 -3
  119. package/packages/orq-rc/src/models/operations/postv2feedbackremove.ts +14 -17
  120. package/packages/orq-rc/src/models/operations/postv2humanevalsets.ts +2 -2
  121. package/packages/orq-rc/src/models/operations/projectdelete.ts +3 -0
  122. package/packages/orq-rc/src/models/operations/projectget.ts +3 -0
  123. package/packages/orq-rc/src/models/operations/projectlist.ts +15 -0
  124. package/packages/orq-rc/src/models/operations/projectupdate.ts +3 -0
  125. package/packages/orq-rc/src/models/operations/retrieveagentrequest.ts +3 -3
  126. package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +4 -4
  127. package/packages/orq-rc/src/models/operations/retrievedataset.ts +1 -1
  128. package/packages/orq-rc/src/models/operations/retrievedatasource.ts +1 -1
  129. package/packages/orq-rc/src/models/operations/retrieveidentity.ts +3 -138
  130. package/packages/orq-rc/src/models/operations/retrievetool.ts +21 -21
  131. package/packages/orq-rc/src/models/operations/runagent.ts +4 -4
  132. package/packages/orq-rc/src/models/operations/skilldelete.ts +3 -0
  133. package/packages/orq-rc/src/models/operations/skilllist.ts +12 -0
  134. package/packages/orq-rc/src/models/operations/skillupdate.ts +3 -0
  135. package/packages/orq-rc/src/models/operations/streamrunagent.ts +4 -4
  136. package/packages/orq-rc/src/models/operations/updateagent.ts +6 -6
  137. package/packages/orq-rc/src/models/operations/updatedatapoint.ts +4 -4
  138. package/packages/orq-rc/src/models/operations/updatedataset.ts +4 -4
  139. package/packages/orq-rc/src/models/operations/updatedatasource.ts +1 -1
  140. package/packages/orq-rc/src/models/operations/updateeval.ts +30 -23
  141. package/packages/orq-rc/src/models/operations/updateidentity.ts +5 -154
  142. package/packages/orq-rc/src/models/operations/updateknowledge.ts +12 -12
  143. package/packages/orq-rc/src/models/operations/updateprompt.ts +3 -3
  144. package/packages/orq-rc/src/models/operations/updatetool.ts +37 -37
  145. package/packages/orq-rc/src/sdk/feedback.ts +8 -8
  146. package/packages/orq-rc/src/sdk/identities.ts +18 -17
  147. package/packages/orq-rc/src/sdk/models.ts +25 -0
  148. package/packages/orq-rc/src/sdk/projects.ts +5 -2
  149. package/packages/orq-rc/src/sdk/reporting.ts +27 -0
  150. package/packages/orq-rc/src/sdk/sdk.ts +22 -22
  151. package/packages/orq-rc/src/sdk/skills.ts +7 -4
  152. package/src/lib/config.ts +3 -3
  153. package/src/models/components/reasoningpart.ts +1 -1
  154. package/src/models/operations/createcontact.ts +1 -1
  155. package/src/models/operations/createdataset.ts +1 -1
  156. package/src/models/operations/createdatasetitem.ts +4 -4
  157. package/src/models/operations/createdatasource.ts +1 -1
  158. package/src/models/operations/createeval.ts +16 -16
  159. package/src/models/operations/createidentity.ts +1 -1
  160. package/src/models/operations/createtool.ts +6 -6
  161. package/src/models/operations/getalltools.ts +6 -6
  162. package/src/models/operations/getevals.ts +16 -16
  163. package/src/models/operations/getv2humanevalsets.ts +2 -2
  164. package/src/models/operations/getv2humanevalsetsid.ts +2 -2
  165. package/src/models/operations/listdatasetdatapoints.ts +4 -4
  166. package/src/models/operations/listdatasets.ts +1 -1
  167. package/src/models/operations/listdatasources.ts +1 -1
  168. package/src/models/operations/listidentities.ts +1 -1
  169. package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
  170. package/src/models/operations/postv2feedbackevaluation.ts +3 -3
  171. package/src/models/operations/postv2humanevalsets.ts +2 -2
  172. package/src/models/operations/retrievedatapoint.ts +4 -4
  173. package/src/models/operations/retrievedataset.ts +1 -1
  174. package/src/models/operations/retrievedatasource.ts +1 -1
  175. package/src/models/operations/retrieveidentity.ts +1 -1
  176. package/src/models/operations/retrievetool.ts +6 -6
  177. package/src/models/operations/runagent.ts +1 -1
  178. package/src/models/operations/streamrunagent.ts +1 -1
  179. package/src/models/operations/updatedatapoint.ts +4 -4
  180. package/src/models/operations/updatedataset.ts +1 -1
  181. package/src/models/operations/updatedatasource.ts +1 -1
  182. package/src/models/operations/updateeval.ts +16 -16
  183. package/src/models/operations/updateidentity.ts +1 -1
  184. package/src/models/operations/updatetool.ts +7 -7
  185. package/packages/orq-rc/src/models/errors/deleteidentity.ts +0 -62
  186. package/packages/orq-rc/src/models/errors/retrieveidentity.ts +0 -118
  187. package/packages/orq-rc/src/models/errors/updateidentity.ts +0 -54
  188. package/packages/orq-rc/src/models/operations/createcontact.ts +0 -156
  189. package/packages/orq-rc/src/models/operations/createidentity.ts +0 -162
  190. package/packages/orq-rc/src/models/operations/remoteconfigsgetconfig.ts +0 -108
  191. package/packages/orq-rc/src/sdk/contacts.ts +0 -27
  192. package/packages/orq-rc/src/sdk/remoteconfigs.ts +0 -24
@@ -93,13 +93,13 @@ export type UpdateToolRequestBodyToolsRequest5VersionIncrement = ClosedEnum<
93
93
  */
94
94
  export type UpdateCodeExecutionTool = {
95
95
  /**
96
- * Entity storage path in the format: `project/folder/subfolder/...`
96
+ * Entity storage path.
97
97
  *
98
98
  * @remarks
99
99
  *
100
- * The first element identifies the project, followed by nested folders (auto-created as needed).
100
+ * With workspace-level API keys, use the format `project/folder/subfolder/...`. The first element identifies the project, followed by nested folders (auto-created as needed). Example: `Default/agents`.
101
101
  *
102
- * With project-based API keys, the first element is treated as a folder name, as the project is predetermined by the API key.
102
+ * With project-level API keys, the project is predetermined by the API key, so the path is relative to that project. Example: `agents`. For backward compatibility, a leading project name is ignored when it matches the scoped project.
103
103
  */
104
104
  path?: string | undefined;
105
105
  /**
@@ -214,13 +214,13 @@ export type UpdateToolRequestBodyToolsRequestVersionIncrement = ClosedEnum<
214
214
  */
215
215
  export type UpdateMCPTool = {
216
216
  /**
217
- * Entity storage path in the format: `project/folder/subfolder/...`
217
+ * Entity storage path.
218
218
  *
219
219
  * @remarks
220
220
  *
221
- * The first element identifies the project, followed by nested folders (auto-created as needed).
221
+ * With workspace-level API keys, use the format `project/folder/subfolder/...`. The first element identifies the project, followed by nested folders (auto-created as needed). Example: `Default/agents`.
222
222
  *
223
- * With project-based API keys, the first element is treated as a folder name, as the project is predetermined by the API key.
223
+ * With project-level API keys, the project is predetermined by the API key, so the path is relative to that project. Example: `agents`. For backward compatibility, a leading project name is ignored when it matches the scoped project.
224
224
  */
225
225
  path?: string | undefined;
226
226
  /**
@@ -373,13 +373,13 @@ export type UpdateToolRequestBodyToolsVersionIncrement = ClosedEnum<
373
373
  */
374
374
  export type UpdateHTTPTool = {
375
375
  /**
376
- * Entity storage path in the format: `project/folder/subfolder/...`
376
+ * Entity storage path.
377
377
  *
378
378
  * @remarks
379
379
  *
380
- * The first element identifies the project, followed by nested folders (auto-created as needed).
380
+ * With workspace-level API keys, use the format `project/folder/subfolder/...`. The first element identifies the project, followed by nested folders (auto-created as needed). Example: `Default/agents`.
381
381
  *
382
- * With project-based API keys, the first element is treated as a folder name, as the project is predetermined by the API key.
382
+ * With project-level API keys, the project is predetermined by the API key, so the path is relative to that project. Example: `agents`. For backward compatibility, a leading project name is ignored when it matches the scoped project.
383
383
  */
384
384
  path?: string | undefined;
385
385
  /**
@@ -472,13 +472,13 @@ export type UpdateToolRequestBodyVersionIncrement = ClosedEnum<
472
472
  */
473
473
  export type UpdateJSONSchemaTool = {
474
474
  /**
475
- * Entity storage path in the format: `project/folder/subfolder/...`
475
+ * Entity storage path.
476
476
  *
477
477
  * @remarks
478
478
  *
479
- * The first element identifies the project, followed by nested folders (auto-created as needed).
479
+ * With workspace-level API keys, use the format `project/folder/subfolder/...`. The first element identifies the project, followed by nested folders (auto-created as needed). Example: `Default/agents`.
480
480
  *
481
- * With project-based API keys, the first element is treated as a folder name, as the project is predetermined by the API key.
481
+ * With project-level API keys, the project is predetermined by the API key, so the path is relative to that project. Example: `agents`. For backward compatibility, a leading project name is ignored when it matches the scoped project.
482
482
  */
483
483
  path?: string | undefined;
484
484
  /**
@@ -584,13 +584,13 @@ export type RequestBodyVersionIncrement = ClosedEnum<
584
584
  */
585
585
  export type UpdateFunctionTool = {
586
586
  /**
587
- * Entity storage path in the format: `project/folder/subfolder/...`
587
+ * Entity storage path.
588
588
  *
589
589
  * @remarks
590
590
  *
591
- * The first element identifies the project, followed by nested folders (auto-created as needed).
591
+ * With workspace-level API keys, use the format `project/folder/subfolder/...`. The first element identifies the project, followed by nested folders (auto-created as needed). Example: `Default/agents`.
592
592
  *
593
- * With project-based API keys, the first element is treated as a folder name, as the project is predetermined by the API key.
593
+ * With project-level API keys, the project is predetermined by the API key, so the path is relative to that project. Example: `agents`. For backward compatibility, a leading project name is ignored when it matches the scoped project.
594
594
  */
595
595
  path?: string | undefined;
596
596
  /**
@@ -712,13 +712,13 @@ export type UpdateToolResponseBodyCodeTool = {
712
712
  export type UpdateToolResponseBodyCodeExecutionTool = {
713
713
  id: string;
714
714
  /**
715
- * Entity storage path in the format: `project/folder/subfolder/...`
715
+ * Entity storage path.
716
716
  *
717
717
  * @remarks
718
718
  *
719
- * The first element identifies the project, followed by nested folders (auto-created as needed).
719
+ * With workspace-level API keys, use the format `project/folder/subfolder/...`. The first element identifies the project, followed by nested folders (auto-created as needed). Example: `Default/agents`.
720
720
  *
721
- * With project-based API keys, the first element is treated as a folder name, as the project is predetermined by the API key.
721
+ * With project-level API keys, the project is predetermined by the API key, so the path is relative to that project. Example: `agents`. For backward compatibility, a leading project name is ignored when it matches the scoped project.
722
722
  */
723
723
  path: string;
724
724
  /**
@@ -836,13 +836,13 @@ export type UpdateToolResponseBodyMcp = {
836
836
  export type UpdateToolResponseBodyMCPTool = {
837
837
  id: string;
838
838
  /**
839
- * Entity storage path in the format: `project/folder/subfolder/...`
839
+ * Entity storage path.
840
840
  *
841
841
  * @remarks
842
842
  *
843
- * The first element identifies the project, followed by nested folders (auto-created as needed).
843
+ * With workspace-level API keys, use the format `project/folder/subfolder/...`. The first element identifies the project, followed by nested folders (auto-created as needed). Example: `Default/agents`.
844
844
  *
845
- * With project-based API keys, the first element is treated as a folder name, as the project is predetermined by the API key.
845
+ * With project-level API keys, the project is predetermined by the API key, so the path is relative to that project. Example: `agents`. For backward compatibility, a leading project name is ignored when it matches the scoped project.
846
846
  */
847
847
  path: string;
848
848
  /**
@@ -995,13 +995,13 @@ export type UpdateToolResponseBodyHttp = {
995
995
  export type UpdateToolResponseBodyHTTPTool = {
996
996
  id: string;
997
997
  /**
998
- * Entity storage path in the format: `project/folder/subfolder/...`
998
+ * Entity storage path.
999
999
  *
1000
1000
  * @remarks
1001
1001
  *
1002
- * The first element identifies the project, followed by nested folders (auto-created as needed).
1002
+ * With workspace-level API keys, use the format `project/folder/subfolder/...`. The first element identifies the project, followed by nested folders (auto-created as needed). Example: `Default/agents`.
1003
1003
  *
1004
- * With project-based API keys, the first element is treated as a folder name, as the project is predetermined by the API key.
1004
+ * With project-level API keys, the project is predetermined by the API key, so the path is relative to that project. Example: `agents`. For backward compatibility, a leading project name is ignored when it matches the scoped project.
1005
1005
  */
1006
1006
  path: string;
1007
1007
  /**
@@ -1096,13 +1096,13 @@ export type UpdateToolResponseBodyJsonSchema = {
1096
1096
  export type UpdateToolResponseBodyJSONSchemaTool = {
1097
1097
  id: string;
1098
1098
  /**
1099
- * Entity storage path in the format: `project/folder/subfolder/...`
1099
+ * Entity storage path.
1100
1100
  *
1101
1101
  * @remarks
1102
1102
  *
1103
- * The first element identifies the project, followed by nested folders (auto-created as needed).
1103
+ * With workspace-level API keys, use the format `project/folder/subfolder/...`. The first element identifies the project, followed by nested folders (auto-created as needed). Example: `Default/agents`.
1104
1104
  *
1105
- * With project-based API keys, the first element is treated as a folder name, as the project is predetermined by the API key.
1105
+ * With project-level API keys, the project is predetermined by the API key, so the path is relative to that project. Example: `agents`. For backward compatibility, a leading project name is ignored when it matches the scoped project.
1106
1106
  */
1107
1107
  path: string;
1108
1108
  /**
@@ -1209,13 +1209,13 @@ export type UpdateToolResponseBodyFunction = {
1209
1209
  export type UpdateToolResponseBodyFunctionTool = {
1210
1210
  id: string;
1211
1211
  /**
1212
- * Entity storage path in the format: `project/folder/subfolder/...`
1212
+ * Entity storage path.
1213
1213
  *
1214
1214
  * @remarks
1215
1215
  *
1216
- * The first element identifies the project, followed by nested folders (auto-created as needed).
1216
+ * With workspace-level API keys, use the format `project/folder/subfolder/...`. The first element identifies the project, followed by nested folders (auto-created as needed). Example: `Default/agents`.
1217
1217
  *
1218
- * With project-based API keys, the first element is treated as a folder name, as the project is predetermined by the API key.
1218
+ * With project-level API keys, the project is predetermined by the API key, so the path is relative to that project. Example: `agents`. For backward compatibility, a leading project name is ignored when it matches the scoped project.
1219
1219
  */
1220
1220
  path: string;
1221
1221
  /**
@@ -1472,7 +1472,7 @@ export const RequestBodyTools$outboundSchema: z.ZodType<
1472
1472
  z.ZodTypeDef,
1473
1473
  RequestBodyTools
1474
1474
  > = z.object({
1475
- id: z.string().default("01KS0ARZ33R0NSK5KTEKK1MMHA"),
1475
+ id: z.string().default("01KS37FSNNZY6F2XJEMVZ8Y4RT"),
1476
1476
  name: z.string(),
1477
1477
  description: z.string().optional(),
1478
1478
  schema: z.lazy(() => UpdateToolRequestBodyToolsSchema$outboundSchema),
@@ -2193,7 +2193,7 @@ export const UpdateToolResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
2193
2193
  z.ZodTypeDef,
2194
2194
  unknown
2195
2195
  > = z.object({
2196
- _id: z.string().default("tool_01KS0ARZ2QE5XG90BZR7WNC4RW"),
2196
+ _id: z.string().default("tool_01KS37FSNEFJ906BC40ZF2Y7A1"),
2197
2197
  path: z.string(),
2198
2198
  key: z.string(),
2199
2199
  display_name: z.string().optional(),
@@ -2296,7 +2296,7 @@ export const UpdateToolResponseBodyTools$inboundSchema: z.ZodType<
2296
2296
  z.ZodTypeDef,
2297
2297
  unknown
2298
2298
  > = z.object({
2299
- id: z.string().default("01KS0ARZ2PH1VE8PY509W9KSJQ"),
2299
+ id: z.string().default("01KS37FSND9GC6XYWNYT9PSGT0"),
2300
2300
  name: z.string(),
2301
2301
  description: z.string().optional(),
2302
2302
  schema: z.lazy(() => UpdateToolResponseBodyToolsSchema$inboundSchema),
@@ -2354,7 +2354,7 @@ export const UpdateToolResponseBodyMCPTool$inboundSchema: z.ZodType<
2354
2354
  z.ZodTypeDef,
2355
2355
  unknown
2356
2356
  > = z.object({
2357
- _id: z.string().default("tool_01KS0ARZ2NP4XKRCCR08SFQJWM"),
2357
+ _id: z.string().default("tool_01KS37FSNCF52V0BJC9CHMQ4RV"),
2358
2358
  path: z.string(),
2359
2359
  key: z.string(),
2360
2360
  display_name: z.string().optional(),
@@ -2543,7 +2543,7 @@ export const UpdateToolResponseBodyHTTPTool$inboundSchema: z.ZodType<
2543
2543
  z.ZodTypeDef,
2544
2544
  unknown
2545
2545
  > = z.object({
2546
- _id: z.string().default("tool_01KS0ARZ2M9G6PHY6BV9JAPYHH"),
2546
+ _id: z.string().default("tool_01KS37FSNA6GMKTZTJV2AMH90K"),
2547
2547
  path: z.string(),
2548
2548
  key: z.string(),
2549
2549
  display_name: z.string().optional(),
@@ -2638,7 +2638,7 @@ export const UpdateToolResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
2638
2638
  z.ZodTypeDef,
2639
2639
  unknown
2640
2640
  > = z.object({
2641
- _id: z.string().default("tool_01KS0ARZ2KK024YRJ4TFTNTNR6"),
2641
+ _id: z.string().default("tool_01KS37FSN8P1KWZA03MSJBYQRP"),
2642
2642
  path: z.string(),
2643
2643
  key: z.string(),
2644
2644
  display_name: z.string().optional(),
@@ -2741,7 +2741,7 @@ export const UpdateToolResponseBodyFunctionTool$inboundSchema: z.ZodType<
2741
2741
  z.ZodTypeDef,
2742
2742
  unknown
2743
2743
  > = z.object({
2744
- _id: z.string().default("tool_01KS0ARZ2JNAC524EQ8TNSBPAZ"),
2744
+ _id: z.string().default("tool_01KS37FSN7RYV53NQ01NHMGA6C"),
2745
2745
  path: z.string(),
2746
2746
  key: z.string(),
2747
2747
  display_name: z.string().optional(),
@@ -9,22 +9,22 @@ import * as operations from "../models/operations/index.js";
9
9
  import { unwrapAsync } from "../types/fp.js";
10
10
 
11
11
  export class Feedback extends ClientSDK {
12
- async postV2Feedback(
13
- request?: operations.PostV2FeedbackRequestBody | undefined,
12
+ async postV2FeedbackRemove(
13
+ request?: operations.PostV2FeedbackRemoveRequestBody | undefined,
14
14
  options?: RequestOptions,
15
- ): Promise<operations.PostV2FeedbackResponseBody> {
16
- return unwrapAsync(feedbackPostV2Feedback(
15
+ ): Promise<operations.PostV2FeedbackRemoveResponseBody> {
16
+ return unwrapAsync(feedbackPostV2FeedbackRemove(
17
17
  this,
18
18
  request,
19
19
  options,
20
20
  ));
21
21
  }
22
22
 
23
- async postV2FeedbackRemove(
24
- request?: operations.PostV2FeedbackRemoveRequestBody | undefined,
23
+ async postV2Feedback(
24
+ request?: operations.PostV2FeedbackRequestBody | undefined,
25
25
  options?: RequestOptions,
26
- ): Promise<operations.PostV2FeedbackRemoveResponseBody> {
27
- return unwrapAsync(feedbackPostV2FeedbackRemove(
26
+ ): Promise<operations.PostV2FeedbackResponseBody> {
27
+ return unwrapAsync(feedbackPostV2Feedback(
28
28
  this,
29
29
  request,
30
30
  options,
@@ -8,6 +8,7 @@ import { identitiesList } from "../funcs/identitiesList.js";
8
8
  import { identitiesRetrieve } from "../funcs/identitiesRetrieve.js";
9
9
  import { identitiesUpdate } from "../funcs/identitiesUpdate.js";
10
10
  import { ClientSDK, RequestOptions } from "../lib/sdks.js";
11
+ import * as components from "../models/components/index.js";
11
12
  import * as operations from "../models/operations/index.js";
12
13
  import { unwrapAsync } from "../types/fp.js";
13
14
 
@@ -21,7 +22,7 @@ export class Identities extends ClientSDK {
21
22
  async list(
22
23
  request?: operations.ListIdentitiesRequest | undefined,
23
24
  options?: RequestOptions,
24
- ): Promise<operations.ListIdentitiesResponseBody> {
25
+ ): Promise<components.ListIdentitiesResponse> {
25
26
  return unwrapAsync(identitiesList(
26
27
  this,
27
28
  request,
@@ -33,12 +34,12 @@ export class Identities extends ClientSDK {
33
34
  * Create an identity
34
35
  *
35
36
  * @remarks
36
- * Creates a new identity with a unique external_id. If an identity with the same external_id already exists, the operation will fail. Use this endpoint to add users from your system to orq.ai for tracking their usage and engagement.
37
+ * Creates a new identity with a unique external_id. If an identity with the same external_id already exists, the operation will fail.
37
38
  */
38
39
  async create(
39
- request?: operations.CreateIdentityRequestBody | undefined,
40
+ request: components.CreateIdentityRequest,
40
41
  options?: RequestOptions,
41
- ): Promise<operations.CreateIdentityResponseBody> {
42
+ ): Promise<components.CreateIdentityResponse> {
42
43
  return unwrapAsync(identitiesCreate(
43
44
  this,
44
45
  request,
@@ -55,7 +56,7 @@ export class Identities extends ClientSDK {
55
56
  async retrieve(
56
57
  request: operations.RetrieveIdentityRequest,
57
58
  options?: RequestOptions,
58
- ): Promise<operations.RetrieveIdentityResponseBody> {
59
+ ): Promise<components.RetrieveIdentityResponse> {
59
60
  return unwrapAsync(identitiesRetrieve(
60
61
  this,
61
62
  request,
@@ -64,16 +65,16 @@ export class Identities extends ClientSDK {
64
65
  }
65
66
 
66
67
  /**
67
- * Update an identity
68
+ * Delete an identity
68
69
  *
69
70
  * @remarks
70
- * Updates specific fields of an existing identity. Only the fields provided in the request body will be updated.
71
+ * Permanently deletes an identity from your workspace and cleans up associated budget configurations.
71
72
  */
72
- async update(
73
- request: operations.UpdateIdentityRequest,
73
+ async delete(
74
+ request: operations.DeleteIdentityRequest,
74
75
  options?: RequestOptions,
75
- ): Promise<operations.UpdateIdentityResponseBody> {
76
- return unwrapAsync(identitiesUpdate(
76
+ ): Promise<components.DeleteIdentityResponse> {
77
+ return unwrapAsync(identitiesDelete(
77
78
  this,
78
79
  request,
79
80
  options,
@@ -81,16 +82,16 @@ export class Identities extends ClientSDK {
81
82
  }
82
83
 
83
84
  /**
84
- * Delete an identity
85
+ * Update an identity
85
86
  *
86
87
  * @remarks
87
- * Permanently deletes an identity from your workspace and cleans up associated budget configurations. This action cannot be undone.
88
+ * Updates specific fields of an existing identity. Only the fields provided in the request body will be updated.
88
89
  */
89
- async delete(
90
- request: operations.DeleteIdentityRequest,
90
+ async update(
91
+ request: operations.UpdateIdentityRequest,
91
92
  options?: RequestOptions,
92
- ): Promise<void> {
93
- return unwrapAsync(identitiesDelete(
93
+ ): Promise<components.UpdateIdentityResponse> {
94
+ return unwrapAsync(identitiesUpdate(
94
95
  this,
95
96
  request,
96
97
  options,
@@ -0,0 +1,25 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import { modelsList } from "../funcs/modelsList.js";
6
+ import { ClientSDK, RequestOptions } from "../lib/sdks.js";
7
+ import * as operations from "../models/operations/index.js";
8
+ import { unwrapAsync } from "../types/fp.js";
9
+
10
+ export class Models extends ClientSDK {
11
+ /**
12
+ * List models
13
+ *
14
+ * @remarks
15
+ * Lists all models available through the AI Router. Returns each model in OpenAI-compatible shape with its provider, ID, and creation timestamp.
16
+ */
17
+ async list(
18
+ options?: RequestOptions,
19
+ ): Promise<operations.ListModelsResponseBody> {
20
+ return unwrapAsync(modelsList(
21
+ this,
22
+ options,
23
+ ));
24
+ }
25
+ }
@@ -17,7 +17,7 @@ export class Projects extends ClientSDK {
17
17
  * List all projects
18
18
  *
19
19
  * @remarks
20
- * Returns a list of projects. Projects are sorted by creation date, with the most recently created projects appearing first.
20
+ * Returns projects visible to the current workspace, ordered by creation time with the newest project first. Use `starting_after` or `ending_before` to page through large collections.
21
21
  */
22
22
  async list(
23
23
  request?: operations.ProjectListRequest | undefined,
@@ -34,7 +34,7 @@ export class Projects extends ClientSDK {
34
34
  * Create a new project
35
35
  *
36
36
  * @remarks
37
- * Creates a new project within the workspace. Projects organize resources like skills, deployments, and datasets.
37
+ * Creates a project in the current workspace. Projects are workspace-level containers for resources such as skills, deployments, datasets, rules, and related team access.
38
38
  */
39
39
  async create(
40
40
  request: components.CreateProjectRequest,
@@ -66,6 +66,9 @@ export class Projects extends ClientSDK {
66
66
 
67
67
  /**
68
68
  * Delete a project
69
+ *
70
+ * @remarks
71
+ * Deletes a project from the workspace. The response body is empty when the delete succeeds.
69
72
  */
70
73
  async delete(
71
74
  request: operations.ProjectDeleteRequest,
@@ -0,0 +1,27 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import { reportingQuery } from "../funcs/reportingQuery.js";
6
+ import { ClientSDK, RequestOptions } from "../lib/sdks.js";
7
+ import * as components from "../models/components/index.js";
8
+ import { unwrapAsync } from "../types/fp.js";
9
+
10
+ export class Reporting extends ClientSDK {
11
+ /**
12
+ * Query reporting metrics
13
+ *
14
+ * @remarks
15
+ * Returns time-series analytics for AI usage, cost, latency, evaluator results, and guardrail outcomes. Select a metric and time range, break results down by supported dimensions, apply filters, and optionally include totals for the full range.
16
+ */
17
+ async query(
18
+ request: components.QueryReportRequest,
19
+ options?: RequestOptions,
20
+ ): Promise<components.QueryReportResponse> {
21
+ return unwrapAsync(reportingQuery(
22
+ this,
23
+ request,
24
+ options,
25
+ ));
26
+ }
27
+ }
@@ -10,7 +10,6 @@ import { unwrapAsync } from "../types/fp.js";
10
10
  import { Agents } from "./agents.js";
11
11
  import { Annotations } from "./annotations.js";
12
12
  import { Chunking } from "./chunking.js";
13
- import { Contacts } from "./contacts.js";
14
13
  import { Datasets } from "./datasets.js";
15
14
  import { Deployments } from "./deployments.js";
16
15
  import { Evals } from "./evals.js";
@@ -21,10 +20,11 @@ import { HumanReviewSets } from "./humanreviewsets.js";
21
20
  import { Identities } from "./identities.js";
22
21
  import { Knowledge } from "./knowledge.js";
23
22
  import { MemoryStores } from "./memorystores.js";
23
+ import { Models } from "./models.js";
24
24
  import { Policies } from "./policies.js";
25
25
  import { Projects } from "./projects.js";
26
26
  import { Prompts } from "./prompts.js";
27
- import { Remoteconfigs } from "./remoteconfigs.js";
27
+ import { Reporting } from "./reporting.js";
28
28
  import { Responses } from "./responses.js";
29
29
  import { Router } from "./router.js";
30
30
  import { RoutingRules } from "./routingrules.js";
@@ -33,26 +33,11 @@ import { Skills } from "./skills.js";
33
33
  import { Tools } from "./tools.js";
34
34
 
35
35
  export class Orq extends ClientSDK {
36
- private _contacts?: Contacts;
37
- get contacts(): Contacts {
38
- return (this._contacts ??= new Contacts(this._options));
39
- }
40
-
41
- private _feedback?: Feedback;
42
- get feedback(): Feedback {
43
- return (this._feedback ??= new Feedback(this._options));
44
- }
45
-
46
36
  private _evals?: Evals;
47
37
  get evals(): Evals {
48
38
  return (this._evals ??= new Evals(this._options));
49
39
  }
50
40
 
51
- private _identities?: Identities;
52
- get identities(): Identities {
53
- return (this._identities ??= new Identities(this._options));
54
- }
55
-
56
41
  private _deployments?: Deployments;
57
42
  get deployments(): Deployments {
58
43
  return (this._deployments ??= new Deployments(this._options));
@@ -68,11 +53,6 @@ export class Orq extends ClientSDK {
68
53
  return (this._prompts ??= new Prompts(this._options));
69
54
  }
70
55
 
71
- private _remoteconfigs?: Remoteconfigs;
72
- get remoteconfigs(): Remoteconfigs {
73
- return (this._remoteconfigs ??= new Remoteconfigs(this._options));
74
- }
75
-
76
56
  private _tools?: Tools;
77
57
  get tools(): Tools {
78
58
  return (this._tools ??= new Tools(this._options));
@@ -108,6 +88,11 @@ export class Orq extends ClientSDK {
108
88
  return (this._annotations ??= new Annotations(this._options));
109
89
  }
110
90
 
91
+ private _feedback?: Feedback;
92
+ get feedback(): Feedback {
93
+ return (this._feedback ??= new Feedback(this._options));
94
+ }
95
+
111
96
  private _humanReviewSets?: HumanReviewSets;
112
97
  get humanReviewSets(): HumanReviewSets {
113
98
  return (this._humanReviewSets ??= new HumanReviewSets(this._options));
@@ -133,6 +118,11 @@ export class Orq extends ClientSDK {
133
118
  return (this._files ??= new Files(this._options));
134
119
  }
135
120
 
121
+ private _identities?: Identities;
122
+ get identities(): Identities {
123
+ return (this._identities ??= new Identities(this._options));
124
+ }
125
+
136
126
  private _projects?: Projects;
137
127
  get projects(): Projects {
138
128
  return (this._projects ??= new Projects(this._options));
@@ -148,11 +138,21 @@ export class Orq extends ClientSDK {
148
138
  return (this._schedules ??= new Schedules(this._options));
149
139
  }
150
140
 
141
+ private _models?: Models;
142
+ get models(): Models {
143
+ return (this._models ??= new Models(this._options));
144
+ }
145
+
151
146
  private _responses?: Responses;
152
147
  get responses(): Responses {
153
148
  return (this._responses ??= new Responses(this._options));
154
149
  }
155
150
 
151
+ private _reporting?: Reporting;
152
+ get reporting(): Reporting {
153
+ return (this._reporting ??= new Reporting(this._options));
154
+ }
155
+
156
156
  async postV2FeedbackEvaluationRemove(
157
157
  request?: operations.PostV2FeedbackEvaluationRemoveRequestBody | undefined,
158
158
  options?: RequestOptions,
@@ -17,7 +17,7 @@ export class Skills extends ClientSDK {
17
17
  * List all skills
18
18
  *
19
19
  * @remarks
20
- * Returns a list of skills. Skills are sorted by creation date, with the most recently created skills appearing first.
20
+ * Returns the skills visible to the current workspace, ordered by creation time with the newest skill first. Use `starting_after` or `ending_before` to page through large collections.
21
21
  */
22
22
  async list(
23
23
  request?: operations.SkillListRequest | undefined,
@@ -34,7 +34,7 @@ export class Skills extends ClientSDK {
34
34
  * Create a new skill
35
35
  *
36
36
  * @remarks
37
- * Skills are modular instructions you can use to codify processes and conventions
37
+ * Creates a reusable skill in the workspace. Skills store instructions, metadata, and an optional project location so teams can standardize repeatable AI workflows.
38
38
  */
39
39
  async create(
40
40
  request: components.CreateSkillRequest,
@@ -51,7 +51,7 @@ export class Skills extends ClientSDK {
51
51
  * Retrieve a skill
52
52
  *
53
53
  * @remarks
54
- * Retrieves an existing skill by its unique skill ID or its display name (display names are unique within a workspace).
54
+ * Retrieves an existing skill by skill ID. Display names are also accepted for compatibility because they are unique within a workspace.
55
55
  */
56
56
  async get(
57
57
  request: operations.SkillGetRequest,
@@ -66,6 +66,9 @@ export class Skills extends ClientSDK {
66
66
 
67
67
  /**
68
68
  * Delete a skill
69
+ *
70
+ * @remarks
71
+ * Deletes a skill from the workspace. The response body is empty when the delete succeeds.
69
72
  */
70
73
  async delete(
71
74
  request: operations.SkillDeleteRequest,
@@ -82,7 +85,7 @@ export class Skills extends ClientSDK {
82
85
  * Update a skill
83
86
  *
84
87
  * @remarks
85
- * Updates the specified skill by setting the values of the parameters passed.
88
+ * Updates mutable skill fields. Omitted optional fields keep their current values. Repeated fields such as `tags` replace the existing collection when provided.
86
89
  */
87
90
  async update(
88
91
  request: operations.SkillUpdateRequest,
package/src/lib/config.ts CHANGED
@@ -68,7 +68,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
68
68
  export const SDK_METADATA = {
69
69
  language: "typescript",
70
70
  openapiDocVersion: "2.0",
71
- sdkVersion: "4.9.13",
72
- genVersion: "2.884.4",
73
- userAgent: "speakeasy-sdk/typescript 4.9.13 2.884.4 2.0 @orq-ai/node",
71
+ sdkVersion: "4.9.17",
72
+ genVersion: "2.884.11",
73
+ userAgent: "speakeasy-sdk/typescript 4.9.17 2.884.11 2.0 @orq-ai/node",
74
74
  } as const;
@@ -40,7 +40,7 @@ export const ReasoningPart$inboundSchema: z.ZodType<
40
40
  z.ZodTypeDef,
41
41
  unknown
42
42
  > = z.object({
43
- _id: z.string().default("reasoning_01ks0dt6ejthnjdrptatsmnjfz"),
43
+ _id: z.string().default("reasoning_01ks39kdvqzaq9wnqtxw3410pd"),
44
44
  metadata: z.record(z.any()).optional(),
45
45
  kind: z.literal("reasoning"),
46
46
  reasoning: z.string(),
@@ -134,7 +134,7 @@ export const CreateContactResponseBody$inboundSchema: z.ZodType<
134
134
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
135
135
  .optional(),
136
136
  updated: z.string().datetime({ offset: true }).default(
137
- "2026-05-19T15:31:19.336Z",
137
+ "2026-05-20T18:15:26.005Z",
138
138
  ).transform(v => new Date(v)),
139
139
  }).transform((v) => {
140
140
  return remap$(v, {
@@ -138,7 +138,7 @@ export const CreateDatasetResponseBody$inboundSchema: z.ZodType<
138
138
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
139
139
  .optional(),
140
140
  updated: z.string().datetime({ offset: true }).default(
141
- "2026-05-19T15:31:19.336Z",
141
+ "2026-05-20T18:15:26.005Z",
142
142
  ).transform(v => new Date(v)),
143
143
  }).transform((v) => {
144
144
  return remap$(v, {