@orq-ai/node 4.15.9 → 4.15.12

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 (188) hide show
  1. package/jsr.json +1 -1
  2. package/lib/config.d.ts +2 -2
  3. package/lib/config.js +2 -2
  4. package/lib/config.js.map +1 -1
  5. package/models/components/reasoningpart.js +1 -1
  6. package/models/operations/createdataset.js +1 -1
  7. package/models/operations/createdatasetitem.js +5 -5
  8. package/models/operations/createtool.js +4 -4
  9. package/models/operations/getalltools.js +4 -4
  10. package/models/operations/getv2humanevalsets.js +2 -2
  11. package/models/operations/getv2humanevalsetsid.js +2 -2
  12. package/models/operations/listdatasetdatapoints.js +5 -5
  13. package/models/operations/listdatasets.js +1 -1
  14. package/models/operations/patchv2humanevalsetsid.js +2 -2
  15. package/models/operations/postv2feedbackevaluation.js +4 -4
  16. package/models/operations/postv2humanevalsets.js +2 -2
  17. package/models/operations/retrievedatapoint.js +5 -5
  18. package/models/operations/retrievedataset.js +1 -1
  19. package/models/operations/retrievetool.js +4 -4
  20. package/models/operations/runagent.js +1 -1
  21. package/models/operations/streamrunagent.js +1 -1
  22. package/models/operations/updatedatapoint.js +5 -5
  23. package/models/operations/updatedataset.js +1 -1
  24. package/models/operations/updatetool.js +4 -4
  25. package/package.json +6 -6
  26. package/packages/orq-rc/src/funcs/apiKeysCreate.ts +6 -5
  27. package/packages/orq-rc/src/funcs/apiKeysDelete.ts +1 -1
  28. package/packages/orq-rc/src/funcs/apiKeysGet.ts +3 -8
  29. package/packages/orq-rc/src/funcs/apiKeysList.ts +4 -11
  30. package/packages/orq-rc/src/funcs/apiKeysListCapabilities.ts +6 -6
  31. package/packages/orq-rc/src/funcs/apiKeysUpdate.ts +3 -5
  32. package/packages/orq-rc/src/funcs/datasetsClear.ts +3 -12
  33. package/packages/orq-rc/src/funcs/datasetsCreate.ts +10 -15
  34. package/packages/orq-rc/src/funcs/datasetsCreateDatapoint.ts +8 -16
  35. package/packages/orq-rc/src/funcs/datasetsCreateDatapoints.ts +175 -0
  36. package/packages/orq-rc/src/funcs/datasetsDelete.ts +2 -2
  37. package/packages/orq-rc/src/funcs/datasetsDeleteDatapoint.ts +2 -11
  38. package/packages/orq-rc/src/funcs/datasetsDeleteDatapoints.ts +174 -0
  39. package/packages/orq-rc/src/funcs/datasetsList.ts +6 -5
  40. package/packages/orq-rc/src/funcs/datasetsListDatapoints.ts +6 -14
  41. package/packages/orq-rc/src/funcs/datasetsRetrieve.ts +7 -15
  42. package/packages/orq-rc/src/funcs/datasetsRetrieveDatapoint.ts +7 -15
  43. package/packages/orq-rc/src/funcs/datasetsUpdate.ts +10 -16
  44. package/packages/orq-rc/src/funcs/datasetsUpdateDatapoint.ts +10 -16
  45. package/packages/orq-rc/src/funcs/humanReviewSetsList.ts +4 -7
  46. package/packages/orq-rc/src/funcs/projectsCreate.ts +1 -1
  47. package/packages/orq-rc/src/funcs/projectsDelete.ts +1 -1
  48. package/packages/orq-rc/src/funcs/projectsList.ts +1 -1
  49. package/packages/orq-rc/src/funcs/projectsUpdate.ts +1 -1
  50. package/packages/orq-rc/src/funcs/routerClassifyCreate.ts +1 -1
  51. package/packages/orq-rc/src/lib/config.ts +2 -2
  52. package/packages/orq-rc/src/models/components/apikeyrestresponse.ts +1 -1
  53. package/packages/orq-rc/src/models/components/bulkcreatedatapointsrequest.ts +38 -0
  54. package/packages/orq-rc/src/models/components/classifyanswer.ts +2 -2
  55. package/packages/orq-rc/src/models/components/constraints.ts +32 -0
  56. package/packages/orq-rc/src/models/components/createdatasetrequest.ts +39 -0
  57. package/packages/orq-rc/src/models/components/datapoint1.ts +122 -0
  58. package/packages/orq-rc/src/models/components/datapointinput.ts +73 -0
  59. package/packages/orq-rc/src/models/components/dataset.ts +88 -0
  60. package/packages/orq-rc/src/models/components/datasetmetadata.ts +48 -0
  61. package/packages/orq-rc/src/models/components/datasource.ts +2 -2
  62. package/packages/orq-rc/src/models/components/datasourcesservicecreaterequest.ts +2 -2
  63. package/packages/orq-rc/src/models/components/deletedatapointsrequest.ts +36 -0
  64. package/packages/orq-rc/src/models/components/domain.ts +42 -39
  65. package/packages/orq-rc/src/models/components/extendedmessage.ts +1 -1
  66. package/packages/orq-rc/src/models/components/filesystem.ts +6 -5
  67. package/packages/orq-rc/src/models/components/hubitem.ts +2 -2
  68. package/packages/orq-rc/src/models/components/hubitemsummary.ts +1 -1
  69. package/packages/orq-rc/src/models/components/index.ts +13 -14
  70. package/packages/orq-rc/src/models/components/knowledge.ts +2 -2
  71. package/packages/orq-rc/src/models/components/knowledgechunk.ts +1 -1
  72. package/packages/orq-rc/src/models/components/listdatapointsresponse.ts +41 -0
  73. package/packages/orq-rc/src/models/components/listdatasetsresponse.ts +41 -0
  74. package/packages/orq-rc/src/models/components/mcpauthconfig.ts +1 -1
  75. package/packages/orq-rc/src/models/components/mcpauthconfigoutput.ts +1 -1
  76. package/packages/orq-rc/src/models/components/memory.ts +2 -5
  77. package/packages/orq-rc/src/models/components/owner.ts +35 -0
  78. package/packages/orq-rc/src/models/components/projectscope.ts +11 -23
  79. package/packages/orq-rc/src/models/components/reasoningpart.ts +1 -1
  80. package/packages/orq-rc/src/models/components/toolexecutionfailedstreamingevent.ts +3 -3
  81. package/packages/orq-rc/src/models/components/toolexecutionfinishedstreamingevent.ts +3 -3
  82. package/packages/orq-rc/src/models/components/toolexecutionstartedstreamingevent.ts +3 -3
  83. package/packages/orq-rc/src/models/components/updatedatapointrequest.ts +67 -0
  84. package/packages/orq-rc/src/models/components/updatedatasetrequest.ts +40 -0
  85. package/packages/orq-rc/src/models/components/wiki.ts +3 -3
  86. package/packages/orq-rc/src/models/operations/apikeycreate.ts +116 -0
  87. package/packages/orq-rc/src/models/operations/apikeydelete.ts +1 -1
  88. package/packages/orq-rc/src/models/operations/apikeyget.ts +1 -11
  89. package/packages/orq-rc/src/models/operations/apikeylist.ts +23 -78
  90. package/packages/orq-rc/src/models/operations/apikeylistcapabilities.ts +39 -0
  91. package/packages/orq-rc/src/models/operations/apikeyupdate.ts +107 -5
  92. package/packages/orq-rc/src/models/operations/bulkcreatedatapoints.ts +44 -0
  93. package/packages/orq-rc/src/models/operations/cleardataset.ts +0 -3
  94. package/packages/orq-rc/src/models/operations/createagentrequest.ts +7 -7
  95. package/packages/orq-rc/src/models/operations/createchatcompletion.ts +9 -15
  96. package/packages/orq-rc/src/models/operations/createclassify.ts +2 -2
  97. package/packages/orq-rc/src/models/operations/createcompletion.ts +3 -3
  98. package/packages/orq-rc/src/models/operations/createdatasetitem.ts +13 -3238
  99. package/packages/orq-rc/src/models/operations/createimage.ts +2 -2
  100. package/packages/orq-rc/src/models/operations/createimageedit.ts +2 -2
  101. package/packages/orq-rc/src/models/operations/createimagevariation.ts +2 -2
  102. package/packages/orq-rc/src/models/operations/creatererank.ts +2 -2
  103. package/packages/orq-rc/src/models/operations/createrouterresponse.ts +6 -6
  104. package/packages/orq-rc/src/models/operations/createspeech.ts +2 -2
  105. package/packages/orq-rc/src/models/operations/createtool.ts +4 -4
  106. package/packages/orq-rc/src/models/operations/createtranscription.ts +2 -2
  107. package/packages/orq-rc/src/models/operations/createtranslation.ts +2 -2
  108. package/packages/orq-rc/src/models/operations/deletedatapoint.ts +0 -6
  109. package/packages/orq-rc/src/models/operations/deletedataset.ts +0 -3
  110. package/packages/orq-rc/src/models/operations/deletedatasetdatapoints.ts +43 -0
  111. package/packages/orq-rc/src/models/operations/deployments.ts +2 -2
  112. package/packages/orq-rc/src/models/operations/filelist.ts +3 -3
  113. package/packages/orq-rc/src/models/operations/getallmemories.ts +3 -3
  114. package/packages/orq-rc/src/models/operations/getallmemorydocuments.ts +3 -3
  115. package/packages/orq-rc/src/models/operations/getallmemorystores.ts +3 -3
  116. package/packages/orq-rc/src/models/operations/getallprompts.ts +2 -2
  117. package/packages/orq-rc/src/models/operations/getalltools.ts +6 -6
  118. package/packages/orq-rc/src/models/operations/getevals.ts +2 -2
  119. package/packages/orq-rc/src/models/operations/getv2humanevalsets.ts +9 -9
  120. package/packages/orq-rc/src/models/operations/getv2humanevalsetsid.ts +2 -2
  121. package/packages/orq-rc/src/models/operations/getv2toolstoolidversions.ts +2 -2
  122. package/packages/orq-rc/src/models/operations/index.ts +4 -1
  123. package/packages/orq-rc/src/models/operations/listagents.ts +7 -7
  124. package/packages/orq-rc/src/models/operations/listchunks.ts +3 -3
  125. package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +2 -2117
  126. package/packages/orq-rc/src/models/operations/listdatasets.ts +2 -173
  127. package/packages/orq-rc/src/models/operations/listdatasources.ts +3 -3
  128. package/packages/orq-rc/src/models/operations/listidentities.ts +1 -1
  129. package/packages/orq-rc/src/models/operations/listknowledgebases.ts +2 -2
  130. package/packages/orq-rc/src/models/operations/listpromptversions.ts +2 -2
  131. package/packages/orq-rc/src/models/operations/modelcataloglist.ts +2 -2
  132. package/packages/orq-rc/src/models/operations/modelcataloglistofferings.ts +2 -2
  133. package/packages/orq-rc/src/models/operations/patchv2humanevalsetsid.ts +2 -2
  134. package/packages/orq-rc/src/models/operations/postv2feedbackevaluation.ts +4 -4
  135. package/packages/orq-rc/src/models/operations/postv2humanevalsets.ts +2 -2
  136. package/packages/orq-rc/src/models/operations/projectlist.ts +2 -2
  137. package/packages/orq-rc/src/models/operations/retrieveagentrequest.ts +5 -5
  138. package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +0 -2003
  139. package/packages/orq-rc/src/models/operations/retrievedataset.ts +0 -114
  140. package/packages/orq-rc/src/models/operations/retrievetool.ts +4 -4
  141. package/packages/orq-rc/src/models/operations/runagent.ts +3 -3
  142. package/packages/orq-rc/src/models/operations/streamrunagent.ts +3 -3
  143. package/packages/orq-rc/src/models/operations/updateagent.ts +7 -7
  144. package/packages/orq-rc/src/models/operations/updatedatapoint.ts +17 -3275
  145. package/packages/orq-rc/src/models/operations/updatedataset.ts +5 -170
  146. package/packages/orq-rc/src/models/operations/updatetool.ts +4 -4
  147. package/packages/orq-rc/src/sdk/apikeys.ts +18 -18
  148. package/packages/orq-rc/src/sdk/classify.ts +1 -1
  149. package/packages/orq-rc/src/sdk/datasets.ts +73 -36
  150. package/packages/orq-rc/src/sdk/humanreviewsets.ts +1 -1
  151. package/packages/orq-rc/src/sdk/projects.ts +4 -4
  152. package/packages/orq-rc/src/sdk/sdk.ts +10 -10
  153. package/src/lib/config.ts +2 -2
  154. package/src/models/components/reasoningpart.ts +1 -1
  155. package/src/models/operations/createdataset.ts +1 -1
  156. package/src/models/operations/createdatasetitem.ts +5 -5
  157. package/src/models/operations/createtool.ts +4 -4
  158. package/src/models/operations/getalltools.ts +4 -4
  159. package/src/models/operations/getv2humanevalsets.ts +2 -2
  160. package/src/models/operations/getv2humanevalsetsid.ts +2 -2
  161. package/src/models/operations/listdatasetdatapoints.ts +5 -5
  162. package/src/models/operations/listdatasets.ts +1 -1
  163. package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
  164. package/src/models/operations/postv2feedbackevaluation.ts +4 -4
  165. package/src/models/operations/postv2humanevalsets.ts +2 -2
  166. package/src/models/operations/retrievedatapoint.ts +5 -5
  167. package/src/models/operations/retrievedataset.ts +1 -1
  168. package/src/models/operations/retrievetool.ts +4 -4
  169. package/src/models/operations/runagent.ts +1 -1
  170. package/src/models/operations/streamrunagent.ts +1 -1
  171. package/src/models/operations/updatedatapoint.ts +5 -5
  172. package/src/models/operations/updatedataset.ts +1 -1
  173. package/src/models/operations/updatetool.ts +4 -4
  174. package/packages/orq-rc/src/models/components/allprojects.ts +0 -21
  175. package/packages/orq-rc/src/models/components/apikeyowner.ts +0 -55
  176. package/packages/orq-rc/src/models/components/apikeystatus.ts +0 -18
  177. package/packages/orq-rc/src/models/components/createapikeyrequest.ts +0 -116
  178. package/packages/orq-rc/src/models/components/domaingroup.ts +0 -17
  179. package/packages/orq-rc/src/models/components/listcapabilitiesresponse.ts +0 -38
  180. package/packages/orq-rc/src/models/components/mcpaccess.ts +0 -93
  181. package/packages/orq-rc/src/models/components/ownertype.ts +0 -17
  182. package/packages/orq-rc/src/models/components/permissionmode.ts +0 -19
  183. package/packages/orq-rc/src/models/components/scopemode.ts +0 -16
  184. package/packages/orq-rc/src/models/components/serviceaccountowner.ts +0 -25
  185. package/packages/orq-rc/src/models/components/singleproject.ts +0 -35
  186. package/packages/orq-rc/src/models/components/updateapikeyrequest.ts +0 -110
  187. package/packages/orq-rc/src/models/components/userowner.ts +0 -35
  188. package/packages/orq-rc/src/models/operations/createdataset.ts +0 -162
@@ -45,7 +45,7 @@ export type ExtendedMessageParts =
45
45
  | ToolResultPart;
46
46
 
47
47
  /**
48
- * Extended Agent-to-Agent protocol message with support for tool calls and tool results. Extends the base A2A message format with Orquesta-specific features.
48
+ * Extended Agent-to-Agent protocol message with support for tool calls and tool results. Extends the base A2A message format with orq.ai-specific features.
49
49
  */
50
50
  export type ExtendedMessage = {
51
51
  kind: ExtendedMessageKind;
@@ -14,10 +14,6 @@ import {
14
14
  import { Sharing, Sharing$inboundSchema } from "./sharing.js";
15
15
 
16
16
  export type FileSystem = {
17
- /**
18
- * The unique identifier of the file system
19
- */
20
- id?: string | undefined;
21
17
  /**
22
18
  * The unique key of the file system. The key is unique and immutable and cannot be repeated within the same workspace.
23
19
  */
@@ -70,6 +66,10 @@ export type FileSystem = {
70
66
  * When usage was last measured. Absent until first metered.
71
67
  */
72
68
  lastMeteredAt?: string | null | undefined;
69
+ /**
70
+ * The unique identifier of the file system
71
+ */
72
+ id: string;
73
73
  };
74
74
 
75
75
  /** @internal */
@@ -78,7 +78,6 @@ export const FileSystem$inboundSchema: z.ZodType<
78
78
  z.ZodTypeDef,
79
79
  unknown
80
80
  > = z.object({
81
- id: z.string().optional(),
82
81
  key: z.string(),
83
82
  display_name: z.string(),
84
83
  description: z.string(),
@@ -92,6 +91,7 @@ export const FileSystem$inboundSchema: z.ZodType<
92
91
  used_bytes: z.nullable(z.string()).optional(),
93
92
  used_inodes: z.nullable(z.string()).optional(),
94
93
  last_metered_at: z.nullable(z.string()).optional(),
94
+ _id: z.string(),
95
95
  }).transform((v) => {
96
96
  return remap$(v, {
97
97
  "display_name": "displayName",
@@ -102,6 +102,7 @@ export const FileSystem$inboundSchema: z.ZodType<
102
102
  "used_bytes": "usedBytes",
103
103
  "used_inodes": "usedInodes",
104
104
  "last_metered_at": "lastMeteredAt",
105
+ "_id": "id",
105
106
  });
106
107
  });
107
108
 
@@ -22,7 +22,7 @@ export type HubItem = {
22
22
  /**
23
23
  * Unique hub item ID.
24
24
  */
25
- id?: string | undefined;
25
+ id: string;
26
26
  /**
27
27
  * ID of the workspace entity represented by this hub item.
28
28
  */
@@ -103,7 +103,7 @@ export function promptFromJSON(
103
103
  /** @internal */
104
104
  export const HubItem$inboundSchema: z.ZodType<HubItem, z.ZodTypeDef, unknown> =
105
105
  z.object({
106
- id: z.string().optional(),
106
+ id: z.string(),
107
107
  entity_id: z.string(),
108
108
  display_name: z.string(),
109
109
  description: z.string(),
@@ -14,7 +14,7 @@ export type HubItemSummary = {
14
14
  */
15
15
  id: string;
16
16
  /**
17
- * ID of the workspace entity represented by this hub item. Empty on search results: the field is not part of the Typesense index.
17
+ * ID of the workspace entity represented by this hub item. Empty on search results: the field is not part of the search index.
18
18
  */
19
19
  entityId?: string | undefined;
20
20
  /**
@@ -33,7 +33,6 @@ export * from "./alertquery.js";
33
33
  export * from "./alertrun.js";
34
34
  export * from "./alerttrigger.js";
35
35
  export * from "./alerttriggerevent.js";
36
- export * from "./allprojects.js";
37
36
  export * from "./annotationqueue.js";
38
37
  export * from "./annotationqueueitem.js";
39
38
  export * from "./annotationqueueitemref.js";
@@ -41,9 +40,7 @@ export * from "./annotationqueuemetadata.js";
41
40
  export * from "./apierror.js";
42
41
  export * from "./apikeybudgetscope.js";
43
42
  export * from "./apikeybudgetscoperestresponse.js";
44
- export * from "./apikeyowner.js";
45
43
  export * from "./apikeyrestresponse.js";
46
- export * from "./apikeystatus.js";
47
44
  export * from "./audiocontentpartschema.js";
48
45
  export * from "./autorouterconfig.js";
49
46
  export * from "./autorouterv2config.js";
@@ -65,6 +62,7 @@ export * from "./budgetscopekind.js";
65
62
  export * from "./budgetscoperestresponse.js";
66
63
  export * from "./budgetsortfield.js";
67
64
  export * from "./budgetusage.js";
65
+ export * from "./bulkcreatedatapointsrequest.js";
68
66
  export * from "./cacheconfig.js";
69
67
  export * from "./callsubagenttoolinput.js";
70
68
  export * from "./capabilitiesresponse.js";
@@ -89,6 +87,7 @@ export * from "./classifyretryconfig.js";
89
87
  export * from "./classifyusage.js";
90
88
  export * from "./codeinterpretertoolinput.js";
91
89
  export * from "./codetoolinput.js";
90
+ export * from "./constraints.js";
92
91
  export * from "./conversationparam.js";
93
92
  export * from "./countmetadata.js";
94
93
  export * from "./countwebhooksresponse.js";
@@ -96,9 +95,9 @@ export * from "./createagentresponse.js";
96
95
  export * from "./createalertrequest.js";
97
96
  export * from "./createalertresponse.js";
98
97
  export * from "./createannotationqueuerequest.js";
99
- export * from "./createapikeyrequest.js";
100
98
  export * from "./createbudgetrequest.js";
101
99
  export * from "./createbudgetresponse.js";
100
+ export * from "./createdatasetrequest.js";
102
101
  export * from "./createdomainrequest.js";
103
102
  export * from "./createdomainresponse.js";
104
103
  export * from "./createfilerequest.js";
@@ -136,6 +135,10 @@ export * from "./createwikiresponse.js";
136
135
  export * from "./currentdatetoolinput.js";
137
136
  export * from "./datapart.js";
138
137
  export * from "./datapoint.js";
138
+ export * from "./datapoint1.js";
139
+ export * from "./datapointinput.js";
140
+ export * from "./dataset.js";
141
+ export * from "./datasetmetadata.js";
139
142
  export * from "./datasource.js";
140
143
  export * from "./datasourceattachment.js";
141
144
  export * from "./datasourcechunkingoptions.js";
@@ -147,6 +150,7 @@ export * from "./datasourcesservicepreviewchunksresponse.js";
147
150
  export * from "./datasourcesserviceupdaterequest.js";
148
151
  export * from "./deletealertresponse.js";
149
152
  export * from "./deletebudgetresponse.js";
153
+ export * from "./deletedatapointsrequest.js";
150
154
  export * from "./deletefileresponse.js";
151
155
  export * from "./deletefilesystemfileresponse.js";
152
156
  export * from "./deletefilesystemresponse.js";
@@ -165,7 +169,6 @@ export * from "./deletewikiresponse.js";
165
169
  export * from "./detectrequest.js";
166
170
  export * from "./detectresponse.js";
167
171
  export * from "./domain.js";
168
- export * from "./domaingroup.js";
169
172
  export * from "./domainverification.js";
170
173
  export * from "./domainverificationstatus.js";
171
174
  export * from "./embeddingcacheconfig.js";
@@ -283,7 +286,8 @@ export * from "./listalerttriggersresponse.js";
283
286
  export * from "./listannotationqueueitemsresponse.js";
284
287
  export * from "./listannotationqueuesresponse.js";
285
288
  export * from "./listbudgetsresponse.js";
286
- export * from "./listcapabilitiesresponse.js";
289
+ export * from "./listdatapointsresponse.js";
290
+ export * from "./listdatasetsresponse.js";
287
291
  export * from "./listdomainsresponse.js";
288
292
  export * from "./listevaluatorversionsresponse.js";
289
293
  export * from "./listfilesresponse.js";
@@ -338,7 +342,6 @@ export * from "./managementdomaingroup.js";
338
342
  export * from "./managementkey.js";
339
343
  export * from "./managementkeystatus.js";
340
344
  export * from "./managementpermissionmode.js";
341
- export * from "./mcpaccess.js";
342
345
  export * from "./mcpauthconfig.js";
343
346
  export * from "./mcpauthconfigoutput.js";
344
347
  export * from "./mcpauthtype.js";
@@ -389,12 +392,11 @@ export * from "./openaipromptcacheoptions.js";
389
392
  export * from "./orqadvisortool.js";
390
393
  export * from "./orqsidekicktool.js";
391
394
  export * from "./outputtokensdetails.js";
392
- export * from "./ownertype.js";
395
+ export * from "./owner.js";
393
396
  export * from "./parseresponse.js";
394
397
  export * from "./partdelta.js";
395
398
  export * from "./partdeltaevent.js";
396
399
  export * from "./partdoneevent.js";
397
- export * from "./permissionmode.js";
398
400
  export * from "./piiredaction.js";
399
401
  export * from "./piiredactionconfig.js";
400
402
  export * from "./piiredactionplugin.js";
@@ -534,7 +536,6 @@ export * from "./routingruleexpression.js";
534
536
  export * from "./routingrulemodel.js";
535
537
  export * from "./routingrulemodelsconfig.js";
536
538
  export * from "./routingruleplugin.js";
537
- export * from "./scopemode.js";
538
539
  export * from "./searchhubitemsresponse.js";
539
540
  export * from "./searchknowledgematch.js";
540
541
  export * from "./searchknowledgerequest.js";
@@ -552,13 +553,11 @@ export * from "./searchwikiresponse.js";
552
553
  export * from "./security.js";
553
554
  export * from "./securityconfig.js";
554
555
  export * from "./servertoolusedetails.js";
555
- export * from "./serviceaccountowner.js";
556
556
  export * from "./sessioninterval.js";
557
557
  export * from "./sharing.js";
558
558
  export * from "./sharingallprojects.js";
559
559
  export * from "./sharingselectedprojects.js";
560
560
  export * from "./sidekicktoolinput.js";
561
- export * from "./singleproject.js";
562
561
  export * from "./skill.js";
563
562
  export * from "./smartrouter.js";
564
563
  export * from "./smartrouterprofile.js";
@@ -625,9 +624,10 @@ export * from "./traceusage.js";
625
624
  export * from "./updatealertrequest.js";
626
625
  export * from "./updatealertresponse.js";
627
626
  export * from "./updateannotationqueuerequest.js";
628
- export * from "./updateapikeyrequest.js";
629
627
  export * from "./updatebudgetrequest.js";
630
628
  export * from "./updatebudgetresponse.js";
629
+ export * from "./updatedatapointrequest.js";
630
+ export * from "./updatedatasetrequest.js";
631
631
  export * from "./updatefilerequest.js";
632
632
  export * from "./updatefileresponse.js";
633
633
  export * from "./updatefilesystemrequest.js";
@@ -667,7 +667,6 @@ export * from "./updateworkspacesettingsrequest.js";
667
667
  export * from "./updateworkspacesettingsresponse.js";
668
668
  export * from "./uploadpostpolicy.js";
669
669
  export * from "./upsertchunk.js";
670
- export * from "./userowner.js";
671
670
  export * from "./verifydomainresponse.js";
672
671
  export * from "./vertexcapabilities.js";
673
672
  export * from "./vertexconfiguration.js";
@@ -127,7 +127,7 @@ export type Knowledge2 = {
127
127
  retrievalSettings?: KnowledgeRetrievalSettings | undefined;
128
128
  externalConfig: ExternalConfig;
129
129
  /**
130
- * Additive compatibility fields formerly available only from private internal endpoints.
130
+ * Settings for the knowledge base: embedding model, retrieval configuration, and agentic RAG configuration.
131
131
  */
132
132
  settings?: KnowledgeSettings | undefined;
133
133
  metadata?: KnowledgeMetadata | undefined;
@@ -252,7 +252,7 @@ export type Knowledge1 = {
252
252
  */
253
253
  model: string;
254
254
  /**
255
- * Additive compatibility fields formerly available only from private internal endpoints.
255
+ * Settings for the knowledge base: embedding model, retrieval configuration, and agentic RAG configuration.
256
256
  */
257
257
  settings?: KnowledgeSettings | undefined;
258
258
  metadata?: KnowledgeMetadata | undefined;
@@ -53,7 +53,7 @@ export type KnowledgeChunk = {
53
53
  */
54
54
  updateById?: string | null | undefined;
55
55
  /**
56
- * Additive compatibility fields from the database document.
56
+ * Processing attempts recorded for the chunk.
57
57
  */
58
58
  processingAttempts?: Array<ProcessingAttempt> | undefined;
59
59
  countMetadata?: CountMetadata | undefined;
@@ -0,0 +1,41 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v3";
6
+ import { remap as remap$ } from "../../lib/primitives.js";
7
+ import { safeParse } from "../../lib/schemas.js";
8
+ import { Result as SafeParseResult } from "../../types/fp.js";
9
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
10
+ import { Datapoint1, Datapoint1$inboundSchema } from "./datapoint1.js";
11
+
12
+ export type ListDatapointsResponse = {
13
+ object: string;
14
+ data: Array<Datapoint1>;
15
+ hasMore: boolean;
16
+ };
17
+
18
+ /** @internal */
19
+ export const ListDatapointsResponse$inboundSchema: z.ZodType<
20
+ ListDatapointsResponse,
21
+ z.ZodTypeDef,
22
+ unknown
23
+ > = z.object({
24
+ object: z.string(),
25
+ data: z.array(Datapoint1$inboundSchema),
26
+ has_more: z.boolean(),
27
+ }).transform((v) => {
28
+ return remap$(v, {
29
+ "has_more": "hasMore",
30
+ });
31
+ });
32
+
33
+ export function listDatapointsResponseFromJSON(
34
+ jsonString: string,
35
+ ): SafeParseResult<ListDatapointsResponse, SDKValidationError> {
36
+ return safeParse(
37
+ jsonString,
38
+ (x) => ListDatapointsResponse$inboundSchema.parse(JSON.parse(x)),
39
+ `Failed to parse 'ListDatapointsResponse' from JSON`,
40
+ );
41
+ }
@@ -0,0 +1,41 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v3";
6
+ import { remap as remap$ } from "../../lib/primitives.js";
7
+ import { safeParse } from "../../lib/schemas.js";
8
+ import { Result as SafeParseResult } from "../../types/fp.js";
9
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
10
+ import { Dataset, Dataset$inboundSchema } from "./dataset.js";
11
+
12
+ export type ListDatasetsResponse = {
13
+ object: string;
14
+ data: Array<Dataset>;
15
+ hasMore: boolean;
16
+ };
17
+
18
+ /** @internal */
19
+ export const ListDatasetsResponse$inboundSchema: z.ZodType<
20
+ ListDatasetsResponse,
21
+ z.ZodTypeDef,
22
+ unknown
23
+ > = z.object({
24
+ object: z.string(),
25
+ data: z.array(Dataset$inboundSchema),
26
+ has_more: z.boolean(),
27
+ }).transform((v) => {
28
+ return remap$(v, {
29
+ "has_more": "hasMore",
30
+ });
31
+ });
32
+
33
+ export function listDatasetsResponseFromJSON(
34
+ jsonString: string,
35
+ ): SafeParseResult<ListDatasetsResponse, SDKValidationError> {
36
+ return safeParse(
37
+ jsonString,
38
+ (x) => ListDatasetsResponse$inboundSchema.parse(JSON.parse(x)),
39
+ `Failed to parse 'ListDatasetsResponse' from JSON`,
40
+ );
41
+ }
@@ -23,7 +23,7 @@ export type McpAuthConfig = {
23
23
  */
24
24
  staticHeaders?: Array<McpHeaderSecret> | undefined;
25
25
  /**
26
- * Not settable through these endpoints.
26
+ * OAuth client credentials the gateway presents to the upstream authorization server; set when type is OAUTH_CLIENT_CREDENTIALS.
27
27
  */
28
28
  oauth?: McpOAuthConfig | undefined;
29
29
  };
@@ -24,7 +24,7 @@ export type McpAuthConfigOutput = {
24
24
  */
25
25
  staticHeaders?: Array<McpHeaderSecretOutput> | undefined;
26
26
  /**
27
- * Not settable through these endpoints.
27
+ * OAuth client credentials the gateway presents to the upstream authorization server; set when type is OAUTH_CLIENT_CREDENTIALS.
28
28
  */
29
29
  oauth?: McpOAuthConfigOutput | undefined;
30
30
  };
@@ -22,14 +22,11 @@ export type Memory = {
22
22
  storeId: string;
23
23
  workspaceId: string;
24
24
  /**
25
- * The number of memories in the entity
25
+ * The number of documents in the entity
26
26
  */
27
27
  documentsCount: number;
28
28
  /**
29
- * Present on update responses in the live TypeScript implementation even
30
- *
31
- * @remarks
32
- * though the legacy generated OpenAPI schema omitted it.
29
+ * Key-value metadata for the memory.
33
30
  */
34
31
  metadata?: { [k: string]: string } | undefined;
35
32
  /**
@@ -0,0 +1,35 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v3";
6
+ import { remap as remap$ } from "../../lib/primitives.js";
7
+
8
+ export type Owner = {
9
+ type: string;
10
+ userId?: string | undefined;
11
+ };
12
+
13
+ /** @internal */
14
+ export type Owner$Outbound = {
15
+ type: string;
16
+ user_id?: string | undefined;
17
+ };
18
+
19
+ /** @internal */
20
+ export const Owner$outboundSchema: z.ZodType<
21
+ Owner$Outbound,
22
+ z.ZodTypeDef,
23
+ Owner
24
+ > = z.object({
25
+ type: z.string(),
26
+ userId: z.string().optional(),
27
+ }).transform((v) => {
28
+ return remap$(v, {
29
+ userId: "user_id",
30
+ });
31
+ });
32
+
33
+ export function ownerToJSON(owner: Owner): string {
34
+ return JSON.stringify(Owner$outboundSchema.parse(owner));
35
+ }
@@ -3,33 +3,17 @@
3
3
  */
4
4
 
5
5
  import * as z from "zod/v3";
6
- import {
7
- AllProjects,
8
- AllProjects$Outbound,
9
- AllProjects$outboundSchema,
10
- } from "./allprojects.js";
11
- import {
12
- SingleProject,
13
- SingleProject$Outbound,
14
- SingleProject$outboundSchema,
15
- } from "./singleproject.js";
6
+ import { remap as remap$ } from "../../lib/primitives.js";
16
7
 
17
- /**
18
- * Project authorization scope. Single-project or all-projects.
19
- *
20
- * @remarks
21
- * Multi-project use cases are served by minting per-project keys or by
22
- * using an all-projects key with `restricted` mode.
23
- */
24
8
  export type ProjectScope = {
25
- all?: AllProjects | undefined;
26
- single?: SingleProject | undefined;
9
+ mode: string;
10
+ projectId?: string | undefined;
27
11
  };
28
12
 
29
13
  /** @internal */
30
14
  export type ProjectScope$Outbound = {
31
- all?: AllProjects$Outbound | undefined;
32
- single?: SingleProject$Outbound | undefined;
15
+ mode: string;
16
+ project_id?: string | undefined;
33
17
  };
34
18
 
35
19
  /** @internal */
@@ -38,8 +22,12 @@ export const ProjectScope$outboundSchema: z.ZodType<
38
22
  z.ZodTypeDef,
39
23
  ProjectScope
40
24
  > = z.object({
41
- all: AllProjects$outboundSchema.optional(),
42
- single: SingleProject$outboundSchema.optional(),
25
+ mode: z.string(),
26
+ projectId: z.string().optional(),
27
+ }).transform((v) => {
28
+ return remap$(v, {
29
+ projectId: "project_id",
30
+ });
43
31
  });
44
32
 
45
33
  export function projectScopeToJSON(projectScope: ProjectScope): string {
@@ -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_01m31df1tdsrcs9ycn375bwfcq"),
43
+ _id: z.string().default("reasoning_01m37ehktxjac5f4q2qqv4mv8s"),
44
44
  metadata: z.record(z.any()).optional(),
45
45
  kind: z.literal("reasoning"),
46
46
  reasoning: z.string(),
@@ -15,7 +15,7 @@ export type ErrorT = {
15
15
  };
16
16
 
17
17
  /**
18
- * Orquesta product
18
+ * orq.ai product
19
19
  */
20
20
  export const ToolExecutionFailedStreamingEventProduct = {
21
21
  Remoteconfigs: "remoteconfigs",
@@ -38,7 +38,7 @@ export const ToolExecutionFailedStreamingEventProduct = {
38
38
  McpGateway: "mcp_gateway",
39
39
  } as const;
40
40
  /**
41
- * Orquesta product
41
+ * orq.ai product
42
42
  */
43
43
  export type ToolExecutionFailedStreamingEventProduct = ClosedEnum<
44
44
  typeof ToolExecutionFailedStreamingEventProduct
@@ -55,7 +55,7 @@ export type ToolExecutionFailedStreamingEventToolExecutionContext = {
55
55
  agentManifestId: string;
56
56
  agentExecutionId: string;
57
57
  /**
58
- * Orquesta product
58
+ * orq.ai product
59
59
  */
60
60
  product: ToolExecutionFailedStreamingEventProduct;
61
61
  memory?: ToolExecutionFailedStreamingEventMemory | undefined;
@@ -10,7 +10,7 @@ import { Result as SafeParseResult } from "../../types/fp.js";
10
10
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
11
11
 
12
12
  /**
13
- * Orquesta product
13
+ * orq.ai product
14
14
  */
15
15
  export const ToolExecutionFinishedStreamingEventProduct = {
16
16
  Remoteconfigs: "remoteconfigs",
@@ -33,7 +33,7 @@ export const ToolExecutionFinishedStreamingEventProduct = {
33
33
  McpGateway: "mcp_gateway",
34
34
  } as const;
35
35
  /**
36
- * Orquesta product
36
+ * orq.ai product
37
37
  */
38
38
  export type ToolExecutionFinishedStreamingEventProduct = ClosedEnum<
39
39
  typeof ToolExecutionFinishedStreamingEventProduct
@@ -50,7 +50,7 @@ export type ToolExecutionFinishedStreamingEventToolExecutionContext = {
50
50
  agentManifestId: string;
51
51
  agentExecutionId: string;
52
52
  /**
53
- * Orquesta product
53
+ * orq.ai product
54
54
  */
55
55
  product: ToolExecutionFinishedStreamingEventProduct;
56
56
  memory?: ToolExecutionFinishedStreamingEventMemory | undefined;
@@ -10,7 +10,7 @@ import { Result as SafeParseResult } from "../../types/fp.js";
10
10
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
11
11
 
12
12
  /**
13
- * Orquesta product
13
+ * orq.ai product
14
14
  */
15
15
  export const Product = {
16
16
  Remoteconfigs: "remoteconfigs",
@@ -33,7 +33,7 @@ export const Product = {
33
33
  McpGateway: "mcp_gateway",
34
34
  } as const;
35
35
  /**
36
- * Orquesta product
36
+ * orq.ai product
37
37
  */
38
38
  export type Product = ClosedEnum<typeof Product>;
39
39
 
@@ -48,7 +48,7 @@ export type ToolExecutionContext = {
48
48
  agentManifestId: string;
49
49
  agentExecutionId: string;
50
50
  /**
51
- * Orquesta product
51
+ * orq.ai product
52
52
  */
53
53
  product: Product;
54
54
  memory?: ToolExecutionStartedStreamingEventMemory | undefined;
@@ -0,0 +1,67 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v3";
6
+ import { remap as remap$ } from "../../lib/primitives.js";
7
+
8
+ export type UpdateDatapointRequestInputs = {};
9
+
10
+ export type UpdateDatapointRequest = {
11
+ inputs?: UpdateDatapointRequestInputs | undefined;
12
+ /**
13
+ * A JSON array containing dynamically typed values.
14
+ */
15
+ messages?: Array<any> | undefined;
16
+ expectedOutput?: string | undefined;
17
+ };
18
+
19
+ /** @internal */
20
+ export type UpdateDatapointRequestInputs$Outbound = {};
21
+
22
+ /** @internal */
23
+ export const UpdateDatapointRequestInputs$outboundSchema: z.ZodType<
24
+ UpdateDatapointRequestInputs$Outbound,
25
+ z.ZodTypeDef,
26
+ UpdateDatapointRequestInputs
27
+ > = z.object({});
28
+
29
+ export function updateDatapointRequestInputsToJSON(
30
+ updateDatapointRequestInputs: UpdateDatapointRequestInputs,
31
+ ): string {
32
+ return JSON.stringify(
33
+ UpdateDatapointRequestInputs$outboundSchema.parse(
34
+ updateDatapointRequestInputs,
35
+ ),
36
+ );
37
+ }
38
+
39
+ /** @internal */
40
+ export type UpdateDatapointRequest$Outbound = {
41
+ inputs?: UpdateDatapointRequestInputs$Outbound | undefined;
42
+ messages?: Array<any> | undefined;
43
+ expected_output?: string | undefined;
44
+ };
45
+
46
+ /** @internal */
47
+ export const UpdateDatapointRequest$outboundSchema: z.ZodType<
48
+ UpdateDatapointRequest$Outbound,
49
+ z.ZodTypeDef,
50
+ UpdateDatapointRequest
51
+ > = z.object({
52
+ inputs: z.lazy(() => UpdateDatapointRequestInputs$outboundSchema).optional(),
53
+ messages: z.array(z.any()).optional(),
54
+ expectedOutput: z.string().optional(),
55
+ }).transform((v) => {
56
+ return remap$(v, {
57
+ expectedOutput: "expected_output",
58
+ });
59
+ });
60
+
61
+ export function updateDatapointRequestToJSON(
62
+ updateDatapointRequest: UpdateDatapointRequest,
63
+ ): string {
64
+ return JSON.stringify(
65
+ UpdateDatapointRequest$outboundSchema.parse(updateDatapointRequest),
66
+ );
67
+ }
@@ -0,0 +1,40 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v3";
6
+ import { remap as remap$ } from "../../lib/primitives.js";
7
+
8
+ export type UpdateDatasetRequest = {
9
+ displayName?: string | undefined;
10
+ projectId?: string | undefined;
11
+ };
12
+
13
+ /** @internal */
14
+ export type UpdateDatasetRequest$Outbound = {
15
+ display_name?: string | undefined;
16
+ project_id?: string | undefined;
17
+ };
18
+
19
+ /** @internal */
20
+ export const UpdateDatasetRequest$outboundSchema: z.ZodType<
21
+ UpdateDatasetRequest$Outbound,
22
+ z.ZodTypeDef,
23
+ UpdateDatasetRequest
24
+ > = z.object({
25
+ displayName: z.string().optional(),
26
+ projectId: z.string().optional(),
27
+ }).transform((v) => {
28
+ return remap$(v, {
29
+ displayName: "display_name",
30
+ projectId: "project_id",
31
+ });
32
+ });
33
+
34
+ export function updateDatasetRequestToJSON(
35
+ updateDatasetRequest: UpdateDatasetRequest,
36
+ ): string {
37
+ return JSON.stringify(
38
+ UpdateDatasetRequest$outboundSchema.parse(updateDatasetRequest),
39
+ );
40
+ }