@orq-ai/node 3.3.0-rc.12 → 3.3.0-rc.14

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 (195) hide show
  1. package/bin/mcp-server.js +128 -104
  2. package/bin/mcp-server.js.map +69 -69
  3. package/docs/sdks/knowledge/README.md +4 -0
  4. package/funcs/contactsCreate.js +1 -1
  5. package/funcs/contactsCreate.js.map +1 -1
  6. package/funcs/datasetsClear.js +1 -1
  7. package/funcs/datasetsClear.js.map +1 -1
  8. package/funcs/datasetsCreate.js +1 -1
  9. package/funcs/datasetsCreate.js.map +1 -1
  10. package/funcs/datasetsCreateDatapoint.js +1 -1
  11. package/funcs/datasetsCreateDatapoint.js.map +1 -1
  12. package/funcs/datasetsCreateDatapoints.js +1 -1
  13. package/funcs/datasetsCreateDatapoints.js.map +1 -1
  14. package/funcs/datasetsDelete.js +1 -1
  15. package/funcs/datasetsDelete.js.map +1 -1
  16. package/funcs/datasetsDeleteDatapoint.js +1 -1
  17. package/funcs/datasetsDeleteDatapoint.js.map +1 -1
  18. package/funcs/datasetsList.js +1 -1
  19. package/funcs/datasetsList.js.map +1 -1
  20. package/funcs/datasetsListDatapoints.js +1 -1
  21. package/funcs/datasetsListDatapoints.js.map +1 -1
  22. package/funcs/datasetsRetrieve.js +1 -1
  23. package/funcs/datasetsRetrieve.js.map +1 -1
  24. package/funcs/datasetsRetrieveDatapoint.js +1 -1
  25. package/funcs/datasetsRetrieveDatapoint.js.map +1 -1
  26. package/funcs/datasetsUpdate.js +1 -1
  27. package/funcs/datasetsUpdate.js.map +1 -1
  28. package/funcs/datasetsUpdateDatapoint.js +1 -1
  29. package/funcs/datasetsUpdateDatapoint.js.map +1 -1
  30. package/funcs/deploymentsGetConfig.js +1 -1
  31. package/funcs/deploymentsGetConfig.js.map +1 -1
  32. package/funcs/deploymentsInvoke.js +1 -1
  33. package/funcs/deploymentsInvoke.js.map +1 -1
  34. package/funcs/deploymentsList.js +1 -1
  35. package/funcs/deploymentsList.js.map +1 -1
  36. package/funcs/deploymentsMetricsCreate.js +1 -1
  37. package/funcs/deploymentsMetricsCreate.js.map +1 -1
  38. package/funcs/deploymentsStream.js +1 -1
  39. package/funcs/deploymentsStream.js.map +1 -1
  40. package/funcs/feedbackCreate.js +1 -1
  41. package/funcs/feedbackCreate.js.map +1 -1
  42. package/funcs/filesCreate.js +1 -1
  43. package/funcs/filesCreate.js.map +1 -1
  44. package/funcs/filesDelete.js +1 -1
  45. package/funcs/filesDelete.js.map +1 -1
  46. package/funcs/filesGet.js +1 -1
  47. package/funcs/filesGet.js.map +1 -1
  48. package/funcs/filesList.js +1 -1
  49. package/funcs/filesList.js.map +1 -1
  50. package/funcs/knowledgeCreate.js +1 -1
  51. package/funcs/knowledgeCreate.js.map +1 -1
  52. package/funcs/knowledgeCreateChunks.js +1 -1
  53. package/funcs/knowledgeCreateChunks.js.map +1 -1
  54. package/funcs/knowledgeCreateDatasource.js +1 -1
  55. package/funcs/knowledgeCreateDatasource.js.map +1 -1
  56. package/funcs/knowledgeDelete.js +1 -1
  57. package/funcs/knowledgeDelete.js.map +1 -1
  58. package/funcs/knowledgeDeleteChunk.js +1 -1
  59. package/funcs/knowledgeDeleteChunk.js.map +1 -1
  60. package/funcs/knowledgeDeleteDatasource.js +1 -1
  61. package/funcs/knowledgeDeleteDatasource.js.map +1 -1
  62. package/funcs/knowledgeList.js +1 -1
  63. package/funcs/knowledgeList.js.map +1 -1
  64. package/funcs/knowledgeListChunks.js +3 -1
  65. package/funcs/knowledgeListChunks.js.map +1 -1
  66. package/funcs/knowledgeListDatasources.js +3 -1
  67. package/funcs/knowledgeListDatasources.js.map +1 -1
  68. package/funcs/knowledgeRetrieve.js +1 -1
  69. package/funcs/knowledgeRetrieve.js.map +1 -1
  70. package/funcs/knowledgeRetrieveDatasource.js +1 -1
  71. package/funcs/knowledgeRetrieveDatasource.js.map +1 -1
  72. package/funcs/knowledgeRetrieveFileUrl.js +1 -1
  73. package/funcs/knowledgeRetrieveFileUrl.js.map +1 -1
  74. package/funcs/knowledgeSearch.js +1 -1
  75. package/funcs/knowledgeSearch.js.map +1 -1
  76. package/funcs/knowledgeUpdate.js +1 -1
  77. package/funcs/knowledgeUpdate.js.map +1 -1
  78. package/funcs/knowledgeUpdateChunk.js +1 -1
  79. package/funcs/knowledgeUpdateChunk.js.map +1 -1
  80. package/funcs/promptsCreate.js +1 -1
  81. package/funcs/promptsCreate.js.map +1 -1
  82. package/funcs/promptsDelete.js +1 -1
  83. package/funcs/promptsDelete.js.map +1 -1
  84. package/funcs/promptsGetVersion.js +1 -1
  85. package/funcs/promptsGetVersion.js.map +1 -1
  86. package/funcs/promptsList.js +1 -1
  87. package/funcs/promptsList.js.map +1 -1
  88. package/funcs/promptsListVersions.js +1 -1
  89. package/funcs/promptsListVersions.js.map +1 -1
  90. package/funcs/promptsRetrieve.js +1 -1
  91. package/funcs/promptsRetrieve.js.map +1 -1
  92. package/funcs/promptsUpdate.js +1 -1
  93. package/funcs/promptsUpdate.js.map +1 -1
  94. package/funcs/remoteconfigsRetrieve.js +1 -1
  95. package/funcs/remoteconfigsRetrieve.js.map +1 -1
  96. package/jsr.json +1 -1
  97. package/lib/config.d.ts +3 -3
  98. package/lib/config.js +3 -3
  99. package/mcp-server/mcp-server.js +1 -1
  100. package/mcp-server/server.js +1 -1
  101. package/models/operations/bulkcreatedatapoints.js +2 -2
  102. package/models/operations/createchunk.js +2 -2
  103. package/models/operations/createcontact.js +2 -2
  104. package/models/operations/createdataset.js +2 -2
  105. package/models/operations/createdatasetitem.js +2 -2
  106. package/models/operations/createdatasource.d.ts +8 -8
  107. package/models/operations/createdatasource.d.ts.map +1 -1
  108. package/models/operations/createdatasource.js +15 -16
  109. package/models/operations/createdatasource.js.map +1 -1
  110. package/models/operations/fileget.js +2 -2
  111. package/models/operations/filelist.js +2 -2
  112. package/models/operations/fileupload.js +2 -2
  113. package/models/operations/listchunks.d.ts +34 -0
  114. package/models/operations/listchunks.d.ts.map +1 -1
  115. package/models/operations/listchunks.js +28 -1
  116. package/models/operations/listchunks.js.map +1 -1
  117. package/models/operations/listdatasetdatapoints.js +2 -2
  118. package/models/operations/listdatasets.js +2 -2
  119. package/models/operations/listdatasources.d.ts +37 -0
  120. package/models/operations/listdatasources.d.ts.map +1 -1
  121. package/models/operations/listdatasources.js +31 -3
  122. package/models/operations/listdatasources.js.map +1 -1
  123. package/models/operations/retrievedatapoint.js +2 -2
  124. package/models/operations/retrievedataset.js +2 -2
  125. package/models/operations/retrievedatasource.js +2 -2
  126. package/models/operations/updatedatapoint.js +2 -2
  127. package/models/operations/updatedataset.js +2 -2
  128. package/package.json +1 -1
  129. package/src/funcs/contactsCreate.ts +1 -1
  130. package/src/funcs/datasetsClear.ts +1 -1
  131. package/src/funcs/datasetsCreate.ts +1 -1
  132. package/src/funcs/datasetsCreateDatapoint.ts +1 -1
  133. package/src/funcs/datasetsCreateDatapoints.ts +1 -1
  134. package/src/funcs/datasetsDelete.ts +1 -1
  135. package/src/funcs/datasetsDeleteDatapoint.ts +1 -1
  136. package/src/funcs/datasetsList.ts +1 -1
  137. package/src/funcs/datasetsListDatapoints.ts +1 -1
  138. package/src/funcs/datasetsRetrieve.ts +1 -1
  139. package/src/funcs/datasetsRetrieveDatapoint.ts +1 -1
  140. package/src/funcs/datasetsUpdate.ts +1 -1
  141. package/src/funcs/datasetsUpdateDatapoint.ts +1 -1
  142. package/src/funcs/deploymentsGetConfig.ts +1 -1
  143. package/src/funcs/deploymentsInvoke.ts +1 -1
  144. package/src/funcs/deploymentsList.ts +1 -1
  145. package/src/funcs/deploymentsMetricsCreate.ts +1 -1
  146. package/src/funcs/deploymentsStream.ts +1 -1
  147. package/src/funcs/feedbackCreate.ts +1 -1
  148. package/src/funcs/filesCreate.ts +1 -1
  149. package/src/funcs/filesDelete.ts +1 -1
  150. package/src/funcs/filesGet.ts +1 -1
  151. package/src/funcs/filesList.ts +1 -1
  152. package/src/funcs/knowledgeCreate.ts +1 -1
  153. package/src/funcs/knowledgeCreateChunks.ts +1 -1
  154. package/src/funcs/knowledgeCreateDatasource.ts +1 -1
  155. package/src/funcs/knowledgeDelete.ts +1 -1
  156. package/src/funcs/knowledgeDeleteChunk.ts +1 -1
  157. package/src/funcs/knowledgeDeleteDatasource.ts +1 -1
  158. package/src/funcs/knowledgeList.ts +1 -1
  159. package/src/funcs/knowledgeListChunks.ts +3 -1
  160. package/src/funcs/knowledgeListDatasources.ts +3 -1
  161. package/src/funcs/knowledgeRetrieve.ts +1 -1
  162. package/src/funcs/knowledgeRetrieveDatasource.ts +1 -1
  163. package/src/funcs/knowledgeRetrieveFileUrl.ts +1 -1
  164. package/src/funcs/knowledgeSearch.ts +1 -1
  165. package/src/funcs/knowledgeUpdate.ts +1 -1
  166. package/src/funcs/knowledgeUpdateChunk.ts +1 -1
  167. package/src/funcs/promptsCreate.ts +1 -1
  168. package/src/funcs/promptsDelete.ts +1 -1
  169. package/src/funcs/promptsGetVersion.ts +1 -1
  170. package/src/funcs/promptsList.ts +1 -1
  171. package/src/funcs/promptsListVersions.ts +1 -1
  172. package/src/funcs/promptsRetrieve.ts +1 -1
  173. package/src/funcs/promptsUpdate.ts +1 -1
  174. package/src/funcs/remoteconfigsRetrieve.ts +1 -1
  175. package/src/lib/config.ts +3 -3
  176. package/src/mcp-server/mcp-server.ts +1 -1
  177. package/src/mcp-server/server.ts +1 -1
  178. package/src/models/operations/bulkcreatedatapoints.ts +2 -2
  179. package/src/models/operations/createchunk.ts +2 -2
  180. package/src/models/operations/createcontact.ts +2 -2
  181. package/src/models/operations/createdataset.ts +2 -2
  182. package/src/models/operations/createdatasetitem.ts +2 -2
  183. package/src/models/operations/createdatasource.ts +18 -16
  184. package/src/models/operations/fileget.ts +2 -2
  185. package/src/models/operations/filelist.ts +2 -2
  186. package/src/models/operations/fileupload.ts +2 -2
  187. package/src/models/operations/listchunks.ts +67 -0
  188. package/src/models/operations/listdatasetdatapoints.ts +2 -2
  189. package/src/models/operations/listdatasets.ts +2 -2
  190. package/src/models/operations/listdatasources.ts +65 -2
  191. package/src/models/operations/retrievedatapoint.ts +2 -2
  192. package/src/models/operations/retrievedataset.ts +2 -2
  193. package/src/models/operations/retrievedatasource.ts +2 -2
  194. package/src/models/operations/updatedatapoint.ts +2 -2
  195. package/src/models/operations/updatedataset.ts +2 -2
package/bin/mcp-server.js CHANGED
@@ -34231,9 +34231,9 @@ var init_config = __esm(() => {
34231
34231
  SDK_METADATA = {
34232
34232
  language: "typescript",
34233
34233
  openapiDocVersion: "2.0",
34234
- sdkVersion: "3.3.0-rc.12",
34235
- genVersion: "2.562.2",
34236
- userAgent: "speakeasy-sdk/typescript 3.3.0-rc.12 2.562.2 2.0 @orq-ai/node"
34234
+ sdkVersion: "3.3.0-rc.14",
34235
+ genVersion: "2.563.0",
34236
+ userAgent: "speakeasy-sdk/typescript 3.3.0-rc.14 2.563.0 2.0 @orq-ai/node"
34237
34237
  };
34238
34238
  });
34239
34239
 
@@ -36268,7 +36268,7 @@ var init_bulkcreatedatapoints = __esm(() => {
36268
36268
  created_by_id: stringType().optional(),
36269
36269
  updated_by_id: stringType().optional(),
36270
36270
  created: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
36271
- updated: stringType().datetime({ offset: true }).default("2025-03-27T14:19:18.505Z").transform((v2) => new Date(v2))
36271
+ updated: stringType().datetime({ offset: true }).default("2025-03-29T18:00:56.880Z").transform((v2) => new Date(v2))
36272
36272
  }).transform((v2) => {
36273
36273
  return remap(v2, {
36274
36274
  _id: "id",
@@ -36289,7 +36289,7 @@ var init_bulkcreatedatapoints = __esm(() => {
36289
36289
  createdById: stringType().optional(),
36290
36290
  updatedById: stringType().optional(),
36291
36291
  created: dateType().transform((v2) => v2.toISOString()).optional(),
36292
- updated: dateType().default(() => new Date("2025-03-27T14:19:18.505Z")).transform((v2) => v2.toISOString())
36292
+ updated: dateType().default(() => new Date("2025-03-29T18:00:56.880Z")).transform((v2) => v2.toISOString())
36293
36293
  }).transform((v2) => {
36294
36294
  return remap(v2, {
36295
36295
  id: "_id",
@@ -36492,7 +36492,7 @@ var init_createchunk = __esm(() => {
36492
36492
  knowledge_id: stringType(),
36493
36493
  workspace_id: stringType(),
36494
36494
  data_source_id: stringType(),
36495
- id: stringType().default("chunk_01JQBZHPBHPHSGY1R7BRZ06802"),
36495
+ id: stringType().default("chunk_01JQHH0YGJR4J0WCEYH8TSWS56"),
36496
36496
  text: stringType(),
36497
36497
  enabled: booleanType().default(true),
36498
36498
  metadata: lazyType(() => CreateChunkKnowledgeMetadata$inboundSchema).optional(),
@@ -36515,7 +36515,7 @@ var init_createchunk = __esm(() => {
36515
36515
  knowledgeId: stringType(),
36516
36516
  workspaceId: stringType(),
36517
36517
  dataSourceId: stringType(),
36518
- id: stringType().default("chunk_01JQBZHPBHPHSGY1R7BRZ06802"),
36518
+ id: stringType().default("chunk_01JQHH0YGJR4J0WCEYH8TSWS56"),
36519
36519
  text: stringType(),
36520
36520
  enabled: booleanType().default(true),
36521
36521
  metadata: lazyType(() => CreateChunkKnowledgeMetadata$outboundSchema).optional(),
@@ -36586,7 +36586,7 @@ var init_createcontact = __esm(() => {
36586
36586
  tags: arrayType(stringType()).optional(),
36587
36587
  metadata: recordType(anyType()).optional(),
36588
36588
  created: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
36589
- updated: stringType().datetime({ offset: true }).default("2025-03-27T14:19:18.505Z").transform((v2) => new Date(v2))
36589
+ updated: stringType().datetime({ offset: true }).default("2025-03-29T18:00:56.880Z").transform((v2) => new Date(v2))
36590
36590
  }).transform((v2) => {
36591
36591
  return remap(v2, {
36592
36592
  external_id: "externalId",
@@ -36603,7 +36603,7 @@ var init_createcontact = __esm(() => {
36603
36603
  tags: arrayType(stringType()).optional(),
36604
36604
  metadata: recordType(anyType()).optional(),
36605
36605
  created: dateType().transform((v2) => v2.toISOString()).optional(),
36606
- updated: dateType().default(() => new Date("2025-03-27T14:19:18.505Z")).transform((v2) => v2.toISOString())
36606
+ updated: dateType().default(() => new Date("2025-03-29T18:00:56.880Z")).transform((v2) => v2.toISOString())
36607
36607
  }).transform((v2) => {
36608
36608
  return remap(v2, {
36609
36609
  externalId: "external_id",
@@ -36673,7 +36673,7 @@ var init_createdataset = __esm(() => {
36673
36673
  updated_by_id: stringType().optional(),
36674
36674
  metadata: lazyType(() => CreateDatasetMetadata$inboundSchema),
36675
36675
  created: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
36676
- updated: stringType().datetime({ offset: true }).default("2025-03-27T14:19:18.505Z").transform((v2) => new Date(v2))
36676
+ updated: stringType().datetime({ offset: true }).default("2025-03-29T18:00:56.880Z").transform((v2) => new Date(v2))
36677
36677
  }).transform((v2) => {
36678
36678
  return remap(v2, {
36679
36679
  _id: "id",
@@ -36693,7 +36693,7 @@ var init_createdataset = __esm(() => {
36693
36693
  updatedById: stringType().optional(),
36694
36694
  metadata: lazyType(() => CreateDatasetMetadata$outboundSchema),
36695
36695
  created: dateType().transform((v2) => v2.toISOString()).optional(),
36696
- updated: dateType().default(() => new Date("2025-03-27T14:19:18.505Z")).transform((v2) => v2.toISOString())
36696
+ updated: dateType().default(() => new Date("2025-03-29T18:00:56.880Z")).transform((v2) => v2.toISOString())
36697
36697
  }).transform((v2) => {
36698
36698
  return remap(v2, {
36699
36699
  id: "_id",
@@ -37129,7 +37129,7 @@ var init_createdatasetitem = __esm(() => {
37129
37129
  created_by_id: stringType().optional(),
37130
37130
  updated_by_id: stringType().optional(),
37131
37131
  created: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
37132
- updated: stringType().datetime({ offset: true }).default("2025-03-27T14:19:18.505Z").transform((v2) => new Date(v2))
37132
+ updated: stringType().datetime({ offset: true }).default("2025-03-29T18:00:56.880Z").transform((v2) => new Date(v2))
37133
37133
  }).transform((v2) => {
37134
37134
  return remap(v2, {
37135
37135
  _id: "id",
@@ -37150,7 +37150,7 @@ var init_createdatasetitem = __esm(() => {
37150
37150
  createdById: stringType().optional(),
37151
37151
  updatedById: stringType().optional(),
37152
37152
  created: dateType().transform((v2) => v2.toISOString()).optional(),
37153
- updated: dateType().default(() => new Date("2025-03-27T14:19:18.505Z")).transform((v2) => v2.toISOString())
37153
+ updated: dateType().default(() => new Date("2025-03-29T18:00:56.880Z")).transform((v2) => v2.toISOString())
37154
37154
  }).transform((v2) => {
37155
37155
  return remap(v2, {
37156
37156
  id: "_id",
@@ -37168,7 +37168,7 @@ var init_createdatasetitem = __esm(() => {
37168
37168
  });
37169
37169
 
37170
37170
  // src/models/operations/createdatasource.ts
37171
- var CreateDatasourceChunkingConfigurationType, ChunkingConfigurationType, Status, CreateDatasourceChunkingConfigurationType$inboundSchema, CreateDatasourceChunkingConfigurationType$outboundSchema, CreateDatasourceChunkingConfigurationType$, ChunkingConfiguration2$inboundSchema, ChunkingConfiguration2$outboundSchema, ChunkingConfiguration2$, ChunkingConfigurationType$inboundSchema, ChunkingConfigurationType$outboundSchema, ChunkingConfigurationType$, ChunkingConfiguration1$inboundSchema, ChunkingConfiguration1$outboundSchema, ChunkingConfiguration1$, ChunkingConfiguration$inboundSchema, ChunkingConfiguration$outboundSchema, ChunkingConfiguration$, ChunkingCleanupOptions$inboundSchema, ChunkingCleanupOptions$outboundSchema, ChunkingCleanupOptions$, ChunkingOptions$inboundSchema, ChunkingOptions$outboundSchema, ChunkingOptions$, CreateDatasourceRequestBody$inboundSchema, CreateDatasourceRequestBody$outboundSchema, CreateDatasourceRequestBody$, CreateDatasourceRequest$inboundSchema, CreateDatasourceRequest$outboundSchema, CreateDatasourceRequest$, Status$inboundSchema, Status$outboundSchema, Status$, CreateDatasourceResponseBody$inboundSchema, CreateDatasourceResponseBody$outboundSchema, CreateDatasourceResponseBody$;
37171
+ var CreateDatasourceChunkingConfigurationType, ChunkingConfigurationType, CreateDatasourceStatus, CreateDatasourceChunkingConfigurationType$inboundSchema, CreateDatasourceChunkingConfigurationType$outboundSchema, CreateDatasourceChunkingConfigurationType$, ChunkingConfiguration2$inboundSchema, ChunkingConfiguration2$outboundSchema, ChunkingConfiguration2$, ChunkingConfigurationType$inboundSchema, ChunkingConfigurationType$outboundSchema, ChunkingConfigurationType$, ChunkingConfiguration1$inboundSchema, ChunkingConfiguration1$outboundSchema, ChunkingConfiguration1$, ChunkingConfiguration$inboundSchema, ChunkingConfiguration$outboundSchema, ChunkingConfiguration$, ChunkingCleanupOptions$inboundSchema, ChunkingCleanupOptions$outboundSchema, ChunkingCleanupOptions$, ChunkingOptions$inboundSchema, ChunkingOptions$outboundSchema, ChunkingOptions$, CreateDatasourceRequestBody$inboundSchema, CreateDatasourceRequestBody$outboundSchema, CreateDatasourceRequestBody$, CreateDatasourceRequest$inboundSchema, CreateDatasourceRequest$outboundSchema, CreateDatasourceRequest$, CreateDatasourceStatus$inboundSchema, CreateDatasourceStatus$outboundSchema, CreateDatasourceStatus$, CreateDatasourceResponseBody$inboundSchema, CreateDatasourceResponseBody$outboundSchema, CreateDatasourceResponseBody$;
37172
37172
  var init_createdatasource = __esm(() => {
37173
37173
  init_lib();
37174
37174
  init_primitives();
@@ -37178,7 +37178,7 @@ var init_createdatasource = __esm(() => {
37178
37178
  ChunkingConfigurationType = {
37179
37179
  Default: "default"
37180
37180
  };
37181
- Status = {
37181
+ CreateDatasourceStatus = {
37182
37182
  Pending: "pending",
37183
37183
  Processing: "processing",
37184
37184
  Completed: "completed",
@@ -37365,17 +37365,17 @@ var init_createdatasource = __esm(() => {
37365
37365
  CreateDatasourceRequest$.inboundSchema = CreateDatasourceRequest$inboundSchema;
37366
37366
  CreateDatasourceRequest$.outboundSchema = CreateDatasourceRequest$outboundSchema;
37367
37367
  })(CreateDatasourceRequest$ ||= {});
37368
- Status$inboundSchema = nativeEnumType(Status);
37369
- Status$outboundSchema = Status$inboundSchema;
37370
- ((Status$) => {
37371
- Status$.inboundSchema = Status$inboundSchema;
37372
- Status$.outboundSchema = Status$outboundSchema;
37373
- })(Status$ ||= {});
37368
+ CreateDatasourceStatus$inboundSchema = nativeEnumType(CreateDatasourceStatus);
37369
+ CreateDatasourceStatus$outboundSchema = CreateDatasourceStatus$inboundSchema;
37370
+ ((CreateDatasourceStatus$) => {
37371
+ CreateDatasourceStatus$.inboundSchema = CreateDatasourceStatus$inboundSchema;
37372
+ CreateDatasourceStatus$.outboundSchema = CreateDatasourceStatus$outboundSchema;
37373
+ })(CreateDatasourceStatus$ ||= {});
37374
37374
  CreateDatasourceResponseBody$inboundSchema = objectType({
37375
- _id: stringType().default("01JQBZHPBF4F8J8W10J4E7KGSY"),
37375
+ _id: stringType().default("01JQHH0YGGVQWD05R0W93SM8RA"),
37376
37376
  display_name: stringType(),
37377
37377
  description: stringType().optional(),
37378
- status: Status$inboundSchema,
37378
+ status: CreateDatasourceStatus$inboundSchema,
37379
37379
  file_id: nullableType(stringType()).optional(),
37380
37380
  created: stringType(),
37381
37381
  updated: stringType(),
@@ -37395,10 +37395,10 @@ var init_createdatasource = __esm(() => {
37395
37395
  });
37396
37396
  });
37397
37397
  CreateDatasourceResponseBody$outboundSchema = objectType({
37398
- id: stringType().default("01JQBZHPBF4F8J8W10J4E7KGSY"),
37398
+ id: stringType().default("01JQHH0YGGVQWD05R0W93SM8RA"),
37399
37399
  displayName: stringType(),
37400
37400
  description: stringType().optional(),
37401
- status: Status$outboundSchema,
37401
+ status: CreateDatasourceStatus$outboundSchema,
37402
37402
  fileId: nullableType(stringType()).optional(),
37403
37403
  created: stringType(),
37404
37404
  updated: stringType(),
@@ -44552,7 +44552,7 @@ var init_fileget = __esm(() => {
44552
44552
  bytes: numberType(),
44553
44553
  file_name: stringType(),
44554
44554
  workspace_id: stringType(),
44555
- created: stringType().datetime({ offset: true }).default("2025-03-27T14:19:20.121Z").transform((v2) => new Date(v2))
44555
+ created: stringType().datetime({ offset: true }).default("2025-03-29T18:00:58.427Z").transform((v2) => new Date(v2))
44556
44556
  }).transform((v2) => {
44557
44557
  return remap(v2, {
44558
44558
  _id: "id",
@@ -44568,7 +44568,7 @@ var init_fileget = __esm(() => {
44568
44568
  bytes: numberType(),
44569
44569
  fileName: stringType(),
44570
44570
  workspaceId: stringType(),
44571
- created: dateType().default(() => new Date("2025-03-27T14:19:20.121Z")).transform((v2) => v2.toISOString())
44571
+ created: dateType().default(() => new Date("2025-03-29T18:00:58.427Z")).transform((v2) => v2.toISOString())
44572
44572
  }).transform((v2) => {
44573
44573
  return remap(v2, {
44574
44574
  id: "_id",
@@ -44639,7 +44639,7 @@ var init_filelist = __esm(() => {
44639
44639
  bytes: numberType(),
44640
44640
  file_name: stringType(),
44641
44641
  workspace_id: stringType(),
44642
- created: stringType().datetime({ offset: true }).default("2025-03-27T14:19:20.121Z").transform((v2) => new Date(v2))
44642
+ created: stringType().datetime({ offset: true }).default("2025-03-29T18:00:58.427Z").transform((v2) => new Date(v2))
44643
44643
  }).transform((v2) => {
44644
44644
  return remap(v2, {
44645
44645
  _id: "id",
@@ -44655,7 +44655,7 @@ var init_filelist = __esm(() => {
44655
44655
  bytes: numberType(),
44656
44656
  fileName: stringType(),
44657
44657
  workspaceId: stringType(),
44658
- created: dateType().default(() => new Date("2025-03-27T14:19:20.121Z")).transform((v2) => v2.toISOString())
44658
+ created: dateType().default(() => new Date("2025-03-29T18:00:58.427Z")).transform((v2) => v2.toISOString())
44659
44659
  }).transform((v2) => {
44660
44660
  return remap(v2, {
44661
44661
  id: "_id",
@@ -44787,7 +44787,7 @@ var init_fileupload = __esm(() => {
44787
44787
  bytes: numberType(),
44788
44788
  file_name: stringType(),
44789
44789
  workspace_id: stringType(),
44790
- created: stringType().datetime({ offset: true }).default("2025-03-27T14:19:20.121Z").transform((v2) => new Date(v2))
44790
+ created: stringType().datetime({ offset: true }).default("2025-03-29T18:00:58.427Z").transform((v2) => new Date(v2))
44791
44791
  }).transform((v2) => {
44792
44792
  return remap(v2, {
44793
44793
  _id: "id",
@@ -44803,7 +44803,7 @@ var init_fileupload = __esm(() => {
44803
44803
  bytes: numberType(),
44804
44804
  fileName: stringType(),
44805
44805
  workspaceId: stringType(),
44806
- created: dateType().default(() => new Date("2025-03-27T14:19:20.121Z")).transform((v2) => v2.toISOString())
44806
+ created: dateType().default(() => new Date("2025-03-29T18:00:58.427Z")).transform((v2) => v2.toISOString())
44807
44807
  }).transform((v2) => {
44808
44808
  return remap(v2, {
44809
44809
  id: "_id",
@@ -47116,7 +47116,7 @@ var init_getpromptversion = __esm(() => {
47116
47116
  });
47117
47117
 
47118
47118
  // src/models/operations/listchunks.ts
47119
- var ListChunksObject, ListChunksStatus, ListChunksRequest$inboundSchema, ListChunksRequest$outboundSchema, ListChunksRequest$, ListChunksObject$inboundSchema, ListChunksObject$outboundSchema, ListChunksObject$, ListChunksStatus$inboundSchema, ListChunksStatus$outboundSchema, ListChunksStatus$, ListChunksData$inboundSchema, ListChunksData$outboundSchema, ListChunksData$, ListChunksResponseBody$inboundSchema, ListChunksResponseBody$outboundSchema, ListChunksResponseBody$;
47119
+ var ListChunksObject, ListChunksStatus, QueryParamStatus$inboundSchema, QueryParamStatus$outboundSchema, QueryParamStatus$, ListChunksRequest$inboundSchema, ListChunksRequest$outboundSchema, ListChunksRequest$, ListChunksObject$inboundSchema, ListChunksObject$outboundSchema, ListChunksObject$, ListChunksStatus$inboundSchema, ListChunksStatus$outboundSchema, ListChunksStatus$, ListChunksData$inboundSchema, ListChunksData$outboundSchema, ListChunksData$, ListChunksResponseBody$inboundSchema, ListChunksResponseBody$outboundSchema, ListChunksResponseBody$;
47120
47120
  var init_listchunks = __esm(() => {
47121
47121
  init_lib();
47122
47122
  init_primitives();
@@ -47130,12 +47130,20 @@ var init_listchunks = __esm(() => {
47130
47130
  Failed: "failed",
47131
47131
  Queued: "queued"
47132
47132
  };
47133
+ QueryParamStatus$inboundSchema = unionType([arrayType(stringType()), stringType()]);
47134
+ QueryParamStatus$outboundSchema = unionType([arrayType(stringType()), stringType()]);
47135
+ ((QueryParamStatus$) => {
47136
+ QueryParamStatus$.inboundSchema = QueryParamStatus$inboundSchema;
47137
+ QueryParamStatus$.outboundSchema = QueryParamStatus$outboundSchema;
47138
+ })(QueryParamStatus$ ||= {});
47133
47139
  ListChunksRequest$inboundSchema = objectType({
47134
47140
  knowledge_id: stringType(),
47135
47141
  datasource_id: stringType(),
47136
47142
  limit: numberType().default(10),
47137
47143
  starting_after: stringType().optional(),
47138
- ending_before: stringType().optional()
47144
+ ending_before: stringType().optional(),
47145
+ q: stringType().optional(),
47146
+ status: unionType([arrayType(stringType()), stringType()]).optional()
47139
47147
  }).transform((v2) => {
47140
47148
  return remap(v2, {
47141
47149
  knowledge_id: "knowledgeId",
@@ -47149,7 +47157,9 @@ var init_listchunks = __esm(() => {
47149
47157
  datasourceId: stringType(),
47150
47158
  limit: numberType().default(10),
47151
47159
  startingAfter: stringType().optional(),
47152
- endingBefore: stringType().optional()
47160
+ endingBefore: stringType().optional(),
47161
+ q: stringType().optional(),
47162
+ status: unionType([arrayType(stringType()), stringType()]).optional()
47153
47163
  }).transform((v2) => {
47154
47164
  return remap(v2, {
47155
47165
  knowledgeId: "knowledge_id",
@@ -47469,7 +47479,7 @@ var init_listdatasetdatapoints = __esm(() => {
47469
47479
  created_by_id: stringType().optional(),
47470
47480
  updated_by_id: stringType().optional(),
47471
47481
  created: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
47472
- updated: stringType().datetime({ offset: true }).default("2025-03-27T14:19:18.505Z").transform((v2) => new Date(v2))
47482
+ updated: stringType().datetime({ offset: true }).default("2025-03-29T18:00:56.880Z").transform((v2) => new Date(v2))
47473
47483
  }).transform((v2) => {
47474
47484
  return remap(v2, {
47475
47485
  _id: "id",
@@ -47490,7 +47500,7 @@ var init_listdatasetdatapoints = __esm(() => {
47490
47500
  createdById: stringType().optional(),
47491
47501
  updatedById: stringType().optional(),
47492
47502
  created: dateType().transform((v2) => v2.toISOString()).optional(),
47493
- updated: dateType().default(() => new Date("2025-03-27T14:19:18.505Z")).transform((v2) => v2.toISOString())
47503
+ updated: dateType().default(() => new Date("2025-03-29T18:00:56.880Z")).transform((v2) => v2.toISOString())
47494
47504
  }).transform((v2) => {
47495
47505
  return remap(v2, {
47496
47506
  id: "_id",
@@ -47598,7 +47608,7 @@ var init_listdatasets = __esm(() => {
47598
47608
  updated_by_id: stringType().optional(),
47599
47609
  metadata: lazyType(() => ListDatasetsMetadata$inboundSchema),
47600
47610
  created: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
47601
- updated: stringType().datetime({ offset: true }).default("2025-03-27T14:19:18.505Z").transform((v2) => new Date(v2))
47611
+ updated: stringType().datetime({ offset: true }).default("2025-03-29T18:00:56.880Z").transform((v2) => new Date(v2))
47602
47612
  }).transform((v2) => {
47603
47613
  return remap(v2, {
47604
47614
  _id: "id",
@@ -47618,7 +47628,7 @@ var init_listdatasets = __esm(() => {
47618
47628
  updatedById: stringType().optional(),
47619
47629
  metadata: lazyType(() => ListDatasetsMetadata$outboundSchema),
47620
47630
  created: dateType().transform((v2) => v2.toISOString()).optional(),
47621
- updated: dateType().default(() => new Date("2025-03-27T14:19:18.505Z")).transform((v2) => v2.toISOString())
47631
+ updated: dateType().default(() => new Date("2025-03-29T18:00:56.880Z")).transform((v2) => v2.toISOString())
47622
47632
  }).transform((v2) => {
47623
47633
  return remap(v2, {
47624
47634
  id: "_id",
@@ -47658,7 +47668,7 @@ var init_listdatasets = __esm(() => {
47658
47668
  });
47659
47669
 
47660
47670
  // src/models/operations/listdatasources.ts
47661
- var ListDatasourcesObject, ListDatasourcesStatus, ListDatasourcesRequest$inboundSchema, ListDatasourcesRequest$outboundSchema, ListDatasourcesRequest$, ListDatasourcesObject$inboundSchema, ListDatasourcesObject$outboundSchema, ListDatasourcesObject$, ListDatasourcesStatus$inboundSchema, ListDatasourcesStatus$outboundSchema, ListDatasourcesStatus$, ListDatasourcesData$inboundSchema, ListDatasourcesData$outboundSchema, ListDatasourcesData$, ListDatasourcesResponseBody$inboundSchema, ListDatasourcesResponseBody$outboundSchema, ListDatasourcesResponseBody$;
47671
+ var ListDatasourcesObject, ListDatasourcesStatus, Status$inboundSchema, Status$outboundSchema, Status$, ListDatasourcesRequest$inboundSchema, ListDatasourcesRequest$outboundSchema, ListDatasourcesRequest$, ListDatasourcesObject$inboundSchema, ListDatasourcesObject$outboundSchema, ListDatasourcesObject$, ListDatasourcesStatus$inboundSchema, ListDatasourcesStatus$outboundSchema, ListDatasourcesStatus$, ListDatasourcesData$inboundSchema, ListDatasourcesData$outboundSchema, ListDatasourcesData$, ListDatasourcesResponseBody$inboundSchema, ListDatasourcesResponseBody$outboundSchema, ListDatasourcesResponseBody$;
47662
47672
  var init_listdatasources = __esm(() => {
47663
47673
  init_lib();
47664
47674
  init_primitives();
@@ -47672,11 +47682,19 @@ var init_listdatasources = __esm(() => {
47672
47682
  Failed: "failed",
47673
47683
  Queued: "queued"
47674
47684
  };
47685
+ Status$inboundSchema = unionType([arrayType(stringType()), stringType()]);
47686
+ Status$outboundSchema = unionType([arrayType(stringType()), stringType()]);
47687
+ ((Status$) => {
47688
+ Status$.inboundSchema = Status$inboundSchema;
47689
+ Status$.outboundSchema = Status$outboundSchema;
47690
+ })(Status$ ||= {});
47675
47691
  ListDatasourcesRequest$inboundSchema = objectType({
47676
47692
  knowledge_id: stringType(),
47677
47693
  limit: numberType().default(10),
47678
47694
  starting_after: stringType().optional(),
47679
- ending_before: stringType().optional()
47695
+ ending_before: stringType().optional(),
47696
+ q: stringType().optional(),
47697
+ status: unionType([arrayType(stringType()), stringType()]).optional()
47680
47698
  }).transform((v2) => {
47681
47699
  return remap(v2, {
47682
47700
  knowledge_id: "knowledgeId",
@@ -47688,7 +47706,9 @@ var init_listdatasources = __esm(() => {
47688
47706
  knowledgeId: stringType(),
47689
47707
  limit: numberType().default(10),
47690
47708
  startingAfter: stringType().optional(),
47691
- endingBefore: stringType().optional()
47709
+ endingBefore: stringType().optional(),
47710
+ q: stringType().optional(),
47711
+ status: unionType([arrayType(stringType()), stringType()]).optional()
47692
47712
  }).transform((v2) => {
47693
47713
  return remap(v2, {
47694
47714
  knowledgeId: "knowledge_id",
@@ -47713,7 +47733,7 @@ var init_listdatasources = __esm(() => {
47713
47733
  ListDatasourcesStatus$.outboundSchema = ListDatasourcesStatus$outboundSchema;
47714
47734
  })(ListDatasourcesStatus$ ||= {});
47715
47735
  ListDatasourcesData$inboundSchema = objectType({
47716
- _id: stringType().default("01JQBZHPBE7D8M0PHNY5C8ABD0"),
47736
+ _id: stringType().default("01JQHH0YGF1P8JG9PRB1Q5EMMD"),
47717
47737
  display_name: stringType(),
47718
47738
  description: stringType().optional(),
47719
47739
  status: ListDatasourcesStatus$inboundSchema,
@@ -47736,7 +47756,7 @@ var init_listdatasources = __esm(() => {
47736
47756
  });
47737
47757
  });
47738
47758
  ListDatasourcesData$outboundSchema = objectType({
47739
- id: stringType().default("01JQBZHPBE7D8M0PHNY5C8ABD0"),
47759
+ id: stringType().default("01JQHH0YGF1P8JG9PRB1Q5EMMD"),
47740
47760
  displayName: stringType(),
47741
47761
  description: stringType().optional(),
47742
47762
  status: ListDatasourcesStatus$outboundSchema,
@@ -49164,7 +49184,7 @@ var init_retrievedatapoint = __esm(() => {
49164
49184
  created_by_id: stringType().optional(),
49165
49185
  updated_by_id: stringType().optional(),
49166
49186
  created: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
49167
- updated: stringType().datetime({ offset: true }).default("2025-03-27T14:19:18.505Z").transform((v2) => new Date(v2))
49187
+ updated: stringType().datetime({ offset: true }).default("2025-03-29T18:00:56.880Z").transform((v2) => new Date(v2))
49168
49188
  }).transform((v2) => {
49169
49189
  return remap(v2, {
49170
49190
  _id: "id",
@@ -49185,7 +49205,7 @@ var init_retrievedatapoint = __esm(() => {
49185
49205
  createdById: stringType().optional(),
49186
49206
  updatedById: stringType().optional(),
49187
49207
  created: dateType().transform((v2) => v2.toISOString()).optional(),
49188
- updated: dateType().default(() => new Date("2025-03-27T14:19:18.505Z")).transform((v2) => v2.toISOString())
49208
+ updated: dateType().default(() => new Date("2025-03-29T18:00:56.880Z")).transform((v2) => v2.toISOString())
49189
49209
  }).transform((v2) => {
49190
49210
  return remap(v2, {
49191
49211
  id: "_id",
@@ -49256,7 +49276,7 @@ var init_retrievedataset = __esm(() => {
49256
49276
  updated_by_id: stringType().optional(),
49257
49277
  metadata: lazyType(() => RetrieveDatasetMetadata$inboundSchema),
49258
49278
  created: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
49259
- updated: stringType().datetime({ offset: true }).default("2025-03-27T14:19:18.505Z").transform((v2) => new Date(v2))
49279
+ updated: stringType().datetime({ offset: true }).default("2025-03-29T18:00:56.880Z").transform((v2) => new Date(v2))
49260
49280
  }).transform((v2) => {
49261
49281
  return remap(v2, {
49262
49282
  _id: "id",
@@ -49276,7 +49296,7 @@ var init_retrievedataset = __esm(() => {
49276
49296
  updatedById: stringType().optional(),
49277
49297
  metadata: lazyType(() => RetrieveDatasetMetadata$outboundSchema),
49278
49298
  created: dateType().transform((v2) => v2.toISOString()).optional(),
49279
- updated: dateType().default(() => new Date("2025-03-27T14:19:18.505Z")).transform((v2) => v2.toISOString())
49299
+ updated: dateType().default(() => new Date("2025-03-29T18:00:56.880Z")).transform((v2) => v2.toISOString())
49280
49300
  }).transform((v2) => {
49281
49301
  return remap(v2, {
49282
49302
  id: "_id",
@@ -49334,7 +49354,7 @@ var init_retrievedatasource = __esm(() => {
49334
49354
  RetrieveDatasourceStatus$.outboundSchema = RetrieveDatasourceStatus$outboundSchema;
49335
49355
  })(RetrieveDatasourceStatus$ ||= {});
49336
49356
  RetrieveDatasourceResponseBody$inboundSchema = objectType({
49337
- _id: stringType().default("01JQBZHPBFCFVKJD2QCDQHQQ4F"),
49357
+ _id: stringType().default("01JQHH0YGGFZQSZ9XSQPVH3GCY"),
49338
49358
  display_name: stringType(),
49339
49359
  description: stringType().optional(),
49340
49360
  status: RetrieveDatasourceStatus$inboundSchema,
@@ -49357,7 +49377,7 @@ var init_retrievedatasource = __esm(() => {
49357
49377
  });
49358
49378
  });
49359
49379
  RetrieveDatasourceResponseBody$outboundSchema = objectType({
49360
- id: stringType().default("01JQBZHPBFCFVKJD2QCDQHQQ4F"),
49380
+ id: stringType().default("01JQHH0YGGFZQSZ9XSQPVH3GCY"),
49361
49381
  displayName: stringType(),
49362
49382
  description: stringType().optional(),
49363
49383
  status: RetrieveDatasourceStatus$outboundSchema,
@@ -50421,7 +50441,7 @@ var init_updatedatapoint = __esm(() => {
50421
50441
  created_by_id: stringType().optional(),
50422
50442
  updated_by_id: stringType().optional(),
50423
50443
  created: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
50424
- updated: stringType().datetime({ offset: true }).default("2025-03-27T14:19:18.505Z").transform((v2) => new Date(v2))
50444
+ updated: stringType().datetime({ offset: true }).default("2025-03-29T18:00:56.880Z").transform((v2) => new Date(v2))
50425
50445
  }).transform((v2) => {
50426
50446
  return remap(v2, {
50427
50447
  _id: "id",
@@ -50442,7 +50462,7 @@ var init_updatedatapoint = __esm(() => {
50442
50462
  createdById: stringType().optional(),
50443
50463
  updatedById: stringType().optional(),
50444
50464
  created: dateType().transform((v2) => v2.toISOString()).optional(),
50445
- updated: dateType().default(() => new Date("2025-03-27T14:19:18.505Z")).transform((v2) => v2.toISOString())
50465
+ updated: dateType().default(() => new Date("2025-03-29T18:00:56.880Z")).transform((v2) => v2.toISOString())
50446
50466
  }).transform((v2) => {
50447
50467
  return remap(v2, {
50448
50468
  id: "_id",
@@ -50537,7 +50557,7 @@ var init_updatedataset = __esm(() => {
50537
50557
  parent_id: stringType().optional(),
50538
50558
  version: stringType().optional(),
50539
50559
  created: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
50540
- updated: stringType().datetime({ offset: true }).default("2025-03-27T14:19:18.505Z").transform((v2) => new Date(v2))
50560
+ updated: stringType().datetime({ offset: true }).default("2025-03-29T18:00:56.880Z").transform((v2) => new Date(v2))
50541
50561
  }).transform((v2) => {
50542
50562
  return remap(v2, {
50543
50563
  _id: "id",
@@ -50560,7 +50580,7 @@ var init_updatedataset = __esm(() => {
50560
50580
  parentId: stringType().optional(),
50561
50581
  version: stringType().optional(),
50562
50582
  created: dateType().transform((v2) => v2.toISOString()).optional(),
50563
- updated: dateType().default(() => new Date("2025-03-27T14:19:18.505Z")).transform((v2) => v2.toISOString())
50583
+ updated: dateType().default(() => new Date("2025-03-29T18:00:56.880Z")).transform((v2) => v2.toISOString())
50564
50584
  }).transform((v2) => {
50565
50585
  return remap(v2, {
50566
50586
  id: "_id",
@@ -52665,7 +52685,7 @@ async function $do(client, request, options) {
52665
52685
  const context = {
52666
52686
  baseURL: options?.serverURL ?? client._baseURL ?? "",
52667
52687
  operationID: "CreateContact",
52668
- oAuth2Scopes: null,
52688
+ oAuth2Scopes: [],
52669
52689
  resolvedSecurity: requestSecurity,
52670
52690
  securitySource: client._options.apiKey,
52671
52691
  retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
@@ -52767,7 +52787,7 @@ async function $do2(client, request, options) {
52767
52787
  const context = {
52768
52788
  baseURL: options?.serverURL ?? client._baseURL ?? "",
52769
52789
  operationID: "ClearDataset",
52770
- oAuth2Scopes: null,
52790
+ oAuth2Scopes: [],
52771
52791
  resolvedSecurity: requestSecurity,
52772
52792
  securitySource: client._options.apiKey,
52773
52793
  retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
@@ -52864,7 +52884,7 @@ async function $do3(client, request, options) {
52864
52884
  const context = {
52865
52885
  baseURL: options?.serverURL ?? client._baseURL ?? "",
52866
52886
  operationID: "CreateDataset",
52867
- oAuth2Scopes: null,
52887
+ oAuth2Scopes: [],
52868
52888
  resolvedSecurity: requestSecurity,
52869
52889
  securitySource: client._options.apiKey,
52870
52890
  retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
@@ -52967,7 +52987,7 @@ async function $do4(client, request, options) {
52967
52987
  const context = {
52968
52988
  baseURL: options?.serverURL ?? client._baseURL ?? "",
52969
52989
  operationID: "CreateDatasetItem",
52970
- oAuth2Scopes: null,
52990
+ oAuth2Scopes: [],
52971
52991
  resolvedSecurity: requestSecurity,
52972
52992
  securitySource: client._options.apiKey,
52973
52993
  retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
@@ -53070,7 +53090,7 @@ async function $do5(client, request, options) {
53070
53090
  const context = {
53071
53091
  baseURL: options?.serverURL ?? client._baseURL ?? "",
53072
53092
  operationID: "BulkCreateDatapoints",
53073
- oAuth2Scopes: null,
53093
+ oAuth2Scopes: [],
53074
53094
  resolvedSecurity: requestSecurity,
53075
53095
  securitySource: client._options.apiKey,
53076
53096
  retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
@@ -53173,7 +53193,7 @@ async function $do6(client, request, options) {
53173
53193
  const context = {
53174
53194
  baseURL: options?.serverURL ?? client._baseURL ?? "",
53175
53195
  operationID: "DeleteDataset",
53176
- oAuth2Scopes: null,
53196
+ oAuth2Scopes: [],
53177
53197
  resolvedSecurity: requestSecurity,
53178
53198
  securitySource: client._options.apiKey,
53179
53199
  retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
@@ -53375,7 +53395,7 @@ async function $do7(client, request, options) {
53375
53395
  const context = {
53376
53396
  baseURL: options?.serverURL ?? client._baseURL ?? "",
53377
53397
  operationID: "DeleteDatapoint",
53378
- oAuth2Scopes: null,
53398
+ oAuth2Scopes: [],
53379
53399
  resolvedSecurity: requestSecurity,
53380
53400
  securitySource: client._options.apiKey,
53381
53401
  retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
@@ -53480,7 +53500,7 @@ async function $do8(client, request, options) {
53480
53500
  const context = {
53481
53501
  baseURL: options?.serverURL ?? client._baseURL ?? "",
53482
53502
  operationID: "ListDatasets",
53483
- oAuth2Scopes: null,
53503
+ oAuth2Scopes: [],
53484
53504
  resolvedSecurity: requestSecurity,
53485
53505
  securitySource: client._options.apiKey,
53486
53506
  retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
@@ -53588,7 +53608,7 @@ async function $do9(client, request, options) {
53588
53608
  const context = {
53589
53609
  baseURL: options?.serverURL ?? client._baseURL ?? "",
53590
53610
  operationID: "ListDatasetDatapoints",
53591
- oAuth2Scopes: null,
53611
+ oAuth2Scopes: [],
53592
53612
  resolvedSecurity: requestSecurity,
53593
53613
  securitySource: client._options.apiKey,
53594
53614
  retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
@@ -53691,7 +53711,7 @@ async function $do10(client, request, options) {
53691
53711
  const context = {
53692
53712
  baseURL: options?.serverURL ?? client._baseURL ?? "",
53693
53713
  operationID: "RetrieveDataset",
53694
- oAuth2Scopes: null,
53714
+ oAuth2Scopes: [],
53695
53715
  resolvedSecurity: requestSecurity,
53696
53716
  securitySource: client._options.apiKey,
53697
53717
  retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
@@ -53801,7 +53821,7 @@ async function $do11(client, request, options) {
53801
53821
  const context = {
53802
53822
  baseURL: options?.serverURL ?? client._baseURL ?? "",
53803
53823
  operationID: "RetrieveDatapoint",
53804
- oAuth2Scopes: null,
53824
+ oAuth2Scopes: [],
53805
53825
  resolvedSecurity: requestSecurity,
53806
53826
  securitySource: client._options.apiKey,
53807
53827
  retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
@@ -53908,7 +53928,7 @@ async function $do12(client, request, options) {
53908
53928
  const context = {
53909
53929
  baseURL: options?.serverURL ?? client._baseURL ?? "",
53910
53930
  operationID: "UpdateDataset",
53911
- oAuth2Scopes: null,
53931
+ oAuth2Scopes: [],
53912
53932
  resolvedSecurity: requestSecurity,
53913
53933
  securitySource: client._options.apiKey,
53914
53934
  retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
@@ -54019,7 +54039,7 @@ async function $do13(client, request, options) {
54019
54039
  const context = {
54020
54040
  baseURL: options?.serverURL ?? client._baseURL ?? "",
54021
54041
  operationID: "UpdateDatapoint",
54022
- oAuth2Scopes: null,
54042
+ oAuth2Scopes: [],
54023
54043
  resolvedSecurity: requestSecurity,
54024
54044
  securitySource: client._options.apiKey,
54025
54045
  retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
@@ -54118,7 +54138,7 @@ async function $do14(client, request, options) {
54118
54138
  const context = {
54119
54139
  baseURL: options?.serverURL ?? client._baseURL ?? "",
54120
54140
  operationID: "DeploymentGetConfig",
54121
- oAuth2Scopes: null,
54141
+ oAuth2Scopes: [],
54122
54142
  resolvedSecurity: requestSecurity,
54123
54143
  securitySource: client._options.apiKey,
54124
54144
  retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
@@ -55313,7 +55333,7 @@ async function $do15(client, request, options) {
55313
55333
  const context = {
55314
55334
  baseURL: options?.serverURL ?? client._baseURL ?? "",
55315
55335
  operationID: "DeploymentInvoke",
55316
- oAuth2Scopes: null,
55336
+ oAuth2Scopes: [],
55317
55337
  resolvedSecurity: requestSecurity,
55318
55338
  securitySource: client._options.apiKey,
55319
55339
  retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
@@ -55415,7 +55435,7 @@ async function $do16(client, request, options) {
55415
55435
  const context = {
55416
55436
  baseURL: options?.serverURL ?? client._baseURL ?? "",
55417
55437
  operationID: "Deployments",
55418
- oAuth2Scopes: null,
55438
+ oAuth2Scopes: [],
55419
55439
  resolvedSecurity: requestSecurity,
55420
55440
  securitySource: client._options.apiKey,
55421
55441
  retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
@@ -55523,7 +55543,7 @@ async function $do17(client, request, options) {
55523
55543
  const context = {
55524
55544
  baseURL: options?.serverURL ?? client._baseURL ?? "",
55525
55545
  operationID: "DeploymentCreateMetric",
55526
- oAuth2Scopes: null,
55546
+ oAuth2Scopes: [],
55527
55547
  resolvedSecurity: requestSecurity,
55528
55548
  securitySource: client._options.apiKey,
55529
55549
  retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
@@ -55628,7 +55648,7 @@ async function $do18(client, request, options) {
55628
55648
  const context = {
55629
55649
  baseURL: options?.serverURL ?? client._baseURL ?? "",
55630
55650
  operationID: "DeploymentStream",
55631
- oAuth2Scopes: null,
55651
+ oAuth2Scopes: [],
55632
55652
  resolvedSecurity: requestSecurity,
55633
55653
  securitySource: client._options.apiKey,
55634
55654
  retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
@@ -55735,7 +55755,7 @@ async function $do19(client, request, options) {
55735
55755
  const context = {
55736
55756
  baseURL: options?.serverURL ?? client._baseURL ?? "",
55737
55757
  operationID: "CreateFeedback",
55738
- oAuth2Scopes: null,
55758
+ oAuth2Scopes: [],
55739
55759
  resolvedSecurity: requestSecurity,
55740
55760
  securitySource: client._options.apiKey,
55741
55761
  retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
@@ -55876,7 +55896,7 @@ async function $do20(client, request, options) {
55876
55896
  const context = {
55877
55897
  baseURL: options?.serverURL ?? client._baseURL ?? "",
55878
55898
  operationID: "FileUpload",
55879
- oAuth2Scopes: null,
55899
+ oAuth2Scopes: [],
55880
55900
  resolvedSecurity: requestSecurity,
55881
55901
  securitySource: client._options.apiKey,
55882
55902
  retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
@@ -55979,7 +55999,7 @@ async function $do21(client, request, options) {
55979
55999
  const context = {
55980
56000
  baseURL: options?.serverURL ?? client._baseURL ?? "",
55981
56001
  operationID: "FileDelete",
55982
- oAuth2Scopes: null,
56002
+ oAuth2Scopes: [],
55983
56003
  resolvedSecurity: requestSecurity,
55984
56004
  securitySource: client._options.apiKey,
55985
56005
  retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
@@ -56079,7 +56099,7 @@ async function $do22(client, request, options) {
56079
56099
  const context = {
56080
56100
  baseURL: options?.serverURL ?? client._baseURL ?? "",
56081
56101
  operationID: "FileGet",
56082
- oAuth2Scopes: null,
56102
+ oAuth2Scopes: [],
56083
56103
  resolvedSecurity: requestSecurity,
56084
56104
  securitySource: client._options.apiKey,
56085
56105
  retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
@@ -56180,7 +56200,7 @@ async function $do23(client, request, options) {
56180
56200
  const context = {
56181
56201
  baseURL: options?.serverURL ?? client._baseURL ?? "",
56182
56202
  operationID: "FileList",
56183
- oAuth2Scopes: null,
56203
+ oAuth2Scopes: [],
56184
56204
  resolvedSecurity: requestSecurity,
56185
56205
  securitySource: client._options.apiKey,
56186
56206
  retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
@@ -56278,7 +56298,7 @@ async function $do24(client, request, options) {
56278
56298
  const context = {
56279
56299
  baseURL: options?.serverURL ?? client._baseURL ?? "",
56280
56300
  operationID: "CreateKnowledge",
56281
- oAuth2Scopes: null,
56301
+ oAuth2Scopes: [],
56282
56302
  resolvedSecurity: requestSecurity,
56283
56303
  securitySource: client._options.apiKey,
56284
56304
  retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
@@ -56383,7 +56403,7 @@ async function $do25(client, request, options) {
56383
56403
  const context = {
56384
56404
  baseURL: options?.serverURL ?? client._baseURL ?? "",
56385
56405
  operationID: "CreateChunk",
56386
- oAuth2Scopes: null,
56406
+ oAuth2Scopes: [],
56387
56407
  resolvedSecurity: requestSecurity,
56388
56408
  securitySource: client._options.apiKey,
56389
56409
  retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
@@ -56485,7 +56505,7 @@ async function $do26(client, request, options) {
56485
56505
  const context = {
56486
56506
  baseURL: options?.serverURL ?? client._baseURL ?? "",
56487
56507
  operationID: "CreateDatasource",
56488
- oAuth2Scopes: null,
56508
+ oAuth2Scopes: [],
56489
56509
  resolvedSecurity: requestSecurity,
56490
56510
  securitySource: client._options.apiKey,
56491
56511
  retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
@@ -56585,7 +56605,7 @@ async function $do27(client, request, options) {
56585
56605
  const context = {
56586
56606
  baseURL: options?.serverURL ?? client._baseURL ?? "",
56587
56607
  operationID: "DeleteKnowledge",
56588
- oAuth2Scopes: null,
56608
+ oAuth2Scopes: [],
56589
56609
  resolvedSecurity: requestSecurity,
56590
56610
  securitySource: client._options.apiKey,
56591
56611
  retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
@@ -56695,7 +56715,7 @@ async function $do28(client, request, options) {
56695
56715
  const context = {
56696
56716
  baseURL: options?.serverURL ?? client._baseURL ?? "",
56697
56717
  operationID: "DeleteChunk",
56698
- oAuth2Scopes: null,
56718
+ oAuth2Scopes: [],
56699
56719
  resolvedSecurity: requestSecurity,
56700
56720
  securitySource: client._options.apiKey,
56701
56721
  retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
@@ -56799,7 +56819,7 @@ async function $do29(client, request, options) {
56799
56819
  const context = {
56800
56820
  baseURL: options?.serverURL ?? client._baseURL ?? "",
56801
56821
  operationID: "DeleteDatasource",
56802
- oAuth2Scopes: null,
56822
+ oAuth2Scopes: [],
56803
56823
  resolvedSecurity: requestSecurity,
56804
56824
  securitySource: client._options.apiKey,
56805
56825
  retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
@@ -56900,7 +56920,7 @@ async function $do30(client, request, options) {
56900
56920
  const context = {
56901
56921
  baseURL: options?.serverURL ?? client._baseURL ?? "",
56902
56922
  operationID: "ListKnowledgeBases",
56903
- oAuth2Scopes: null,
56923
+ oAuth2Scopes: [],
56904
56924
  resolvedSecurity: requestSecurity,
56905
56925
  securitySource: client._options.apiKey,
56906
56926
  retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
@@ -57001,7 +57021,9 @@ async function $do31(client, request, options) {
57001
57021
  const query = encodeFormQuery({
57002
57022
  ending_before: payload.ending_before,
57003
57023
  limit: payload.limit,
57004
- starting_after: payload.starting_after
57024
+ q: payload.q,
57025
+ starting_after: payload.starting_after,
57026
+ status: payload.status
57005
57027
  });
57006
57028
  const headers = new Headers(compactMap({
57007
57029
  Accept: "application/json"
@@ -57012,7 +57034,7 @@ async function $do31(client, request, options) {
57012
57034
  const context = {
57013
57035
  baseURL: options?.serverURL ?? client._baseURL ?? "",
57014
57036
  operationID: "ListChunks",
57015
- oAuth2Scopes: null,
57037
+ oAuth2Scopes: [],
57016
57038
  resolvedSecurity: requestSecurity,
57017
57039
  securitySource: client._options.apiKey,
57018
57040
  retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
@@ -57107,7 +57129,9 @@ async function $do32(client, request, options) {
57107
57129
  const query = encodeFormQuery({
57108
57130
  ending_before: payload.ending_before,
57109
57131
  limit: payload.limit,
57110
- starting_after: payload.starting_after
57132
+ q: payload.q,
57133
+ starting_after: payload.starting_after,
57134
+ status: payload.status
57111
57135
  });
57112
57136
  const headers = new Headers(compactMap({
57113
57137
  Accept: "application/json"
@@ -57118,7 +57142,7 @@ async function $do32(client, request, options) {
57118
57142
  const context = {
57119
57143
  baseURL: options?.serverURL ?? client._baseURL ?? "",
57120
57144
  operationID: "ListDatasources",
57121
- oAuth2Scopes: null,
57145
+ oAuth2Scopes: [],
57122
57146
  resolvedSecurity: requestSecurity,
57123
57147
  securitySource: client._options.apiKey,
57124
57148
  retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
@@ -57219,7 +57243,7 @@ async function $do33(client, request, options) {
57219
57243
  const context = {
57220
57244
  baseURL: options?.serverURL ?? client._baseURL ?? "",
57221
57245
  operationID: "GetOneKnowledge",
57222
- oAuth2Scopes: null,
57246
+ oAuth2Scopes: [],
57223
57247
  resolvedSecurity: requestSecurity,
57224
57248
  securitySource: client._options.apiKey,
57225
57249
  retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
@@ -57325,7 +57349,7 @@ async function $do34(client, request, options) {
57325
57349
  const context = {
57326
57350
  baseURL: options?.serverURL ?? client._baseURL ?? "",
57327
57351
  operationID: "RetrieveDatasource",
57328
- oAuth2Scopes: null,
57352
+ oAuth2Scopes: [],
57329
57353
  resolvedSecurity: requestSecurity,
57330
57354
  securitySource: client._options.apiKey,
57331
57355
  retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
@@ -57430,7 +57454,7 @@ async function $do35(client, request, options) {
57430
57454
  const context = {
57431
57455
  baseURL: options?.serverURL ?? client._baseURL ?? "",
57432
57456
  operationID: "GetOneFileUploadUrl",
57433
- oAuth2Scopes: null,
57457
+ oAuth2Scopes: [],
57434
57458
  resolvedSecurity: requestSecurity,
57435
57459
  securitySource: client._options.apiKey,
57436
57460
  retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
@@ -57536,7 +57560,7 @@ async function $do36(client, request, options) {
57536
57560
  const context = {
57537
57561
  baseURL: options?.serverURL ?? client._baseURL ?? "",
57538
57562
  operationID: "SearchKnowledge",
57539
- oAuth2Scopes: null,
57563
+ oAuth2Scopes: [],
57540
57564
  resolvedSecurity: requestSecurity,
57541
57565
  securitySource: client._options.apiKey,
57542
57566
  retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
@@ -57637,7 +57661,7 @@ async function $do37(client, request, options) {
57637
57661
  const context = {
57638
57662
  baseURL: options?.serverURL ?? client._baseURL ?? "",
57639
57663
  operationID: "UpdateKnowledge",
57640
- oAuth2Scopes: null,
57664
+ oAuth2Scopes: [],
57641
57665
  resolvedSecurity: requestSecurity,
57642
57666
  securitySource: client._options.apiKey,
57643
57667
  retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
@@ -57746,7 +57770,7 @@ async function $do38(client, request, options) {
57746
57770
  const context = {
57747
57771
  baseURL: options?.serverURL ?? client._baseURL ?? "",
57748
57772
  operationID: "UpdateChunk",
57749
- oAuth2Scopes: null,
57773
+ oAuth2Scopes: [],
57750
57774
  resolvedSecurity: requestSecurity,
57751
57775
  securitySource: client._options.apiKey,
57752
57776
  retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
@@ -57841,7 +57865,7 @@ async function $do39(client, request, options) {
57841
57865
  const context = {
57842
57866
  baseURL: options?.serverURL ?? client._baseURL ?? "",
57843
57867
  operationID: "CreatePrompt",
57844
- oAuth2Scopes: null,
57868
+ oAuth2Scopes: [],
57845
57869
  resolvedSecurity: requestSecurity,
57846
57870
  securitySource: client._options.apiKey,
57847
57871
  retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
@@ -57941,7 +57965,7 @@ async function $do40(client, request, options) {
57941
57965
  const context = {
57942
57966
  baseURL: options?.serverURL ?? client._baseURL ?? "",
57943
57967
  operationID: "DeletePrompt",
57944
- oAuth2Scopes: null,
57968
+ oAuth2Scopes: [],
57945
57969
  resolvedSecurity: requestSecurity,
57946
57970
  securitySource: client._options.apiKey,
57947
57971
  retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
@@ -58045,7 +58069,7 @@ async function $do41(client, request, options) {
58045
58069
  const context = {
58046
58070
  baseURL: options?.serverURL ?? client._baseURL ?? "",
58047
58071
  operationID: "GetPromptVersion",
58048
- oAuth2Scopes: null,
58072
+ oAuth2Scopes: [],
58049
58073
  resolvedSecurity: requestSecurity,
58050
58074
  securitySource: client._options.apiKey,
58051
58075
  retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
@@ -58150,7 +58174,7 @@ async function $do42(client, request, options) {
58150
58174
  const context = {
58151
58175
  baseURL: options?.serverURL ?? client._baseURL ?? "",
58152
58176
  operationID: "GetAllPrompts",
58153
- oAuth2Scopes: null,
58177
+ oAuth2Scopes: [],
58154
58178
  resolvedSecurity: requestSecurity,
58155
58179
  securitySource: client._options.apiKey,
58156
58180
  retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
@@ -58258,7 +58282,7 @@ async function $do43(client, request, options) {
58258
58282
  const context = {
58259
58283
  baseURL: options?.serverURL ?? client._baseURL ?? "",
58260
58284
  operationID: "ListPromptVersions",
58261
- oAuth2Scopes: null,
58285
+ oAuth2Scopes: [],
58262
58286
  resolvedSecurity: requestSecurity,
58263
58287
  securitySource: client._options.apiKey,
58264
58288
  retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
@@ -58361,7 +58385,7 @@ async function $do44(client, request, options) {
58361
58385
  const context = {
58362
58386
  baseURL: options?.serverURL ?? client._baseURL ?? "",
58363
58387
  operationID: "GetOnePrompt",
58364
- oAuth2Scopes: null,
58388
+ oAuth2Scopes: [],
58365
58389
  resolvedSecurity: requestSecurity,
58366
58390
  securitySource: client._options.apiKey,
58367
58391
  retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
@@ -58464,7 +58488,7 @@ async function $do45(client, request, options) {
58464
58488
  const context = {
58465
58489
  baseURL: options?.serverURL ?? client._baseURL ?? "",
58466
58490
  operationID: "UpdatePrompt",
58467
- oAuth2Scopes: null,
58491
+ oAuth2Scopes: [],
58468
58492
  resolvedSecurity: requestSecurity,
58469
58493
  securitySource: client._options.apiKey,
58470
58494
  retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
@@ -58563,7 +58587,7 @@ async function $do46(client, request, options) {
58563
58587
  const context = {
58564
58588
  baseURL: options?.serverURL ?? client._baseURL ?? "",
58565
58589
  operationID: "RemoteConfigsGetConfig",
58566
- oAuth2Scopes: null,
58590
+ oAuth2Scopes: [],
58567
58591
  resolvedSecurity: requestSecurity,
58568
58592
  securitySource: client._options.apiKey,
58569
58593
  retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
@@ -58640,7 +58664,7 @@ var init_remoteconfigsRetrieve2 = __esm(() => {
58640
58664
  function createMCPServer(deps) {
58641
58665
  const server = new McpServer({
58642
58666
  name: "Orq",
58643
- version: "3.3.0-rc.12"
58667
+ version: "3.3.0-rc.14"
58644
58668
  });
58645
58669
  const client = new OrqCore({
58646
58670
  apiKey: deps.apiKey,
@@ -59965,7 +59989,7 @@ var routes = rn({
59965
59989
  var app = Ve(routes, {
59966
59990
  name: "mcp",
59967
59991
  versionInfo: {
59968
- currentVersion: "3.3.0-rc.12"
59992
+ currentVersion: "3.3.0-rc.14"
59969
59993
  }
59970
59994
  });
59971
59995
  _t(app, process3.argv.slice(2), buildContext(process3));
@@ -59973,5 +59997,5 @@ export {
59973
59997
  app
59974
59998
  };
59975
59999
 
59976
- //# debugId=45A785800166195464756E2164756E21
60000
+ //# debugId=DE15525EE8D7EFB764756E2164756E21
59977
60001
  //# sourceMappingURL=mcp-server.js.map