@orq-ai/node 3.13.0-rc.13 → 3.13.0-rc.16

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 (122) hide show
  1. package/FUNCTIONS.md +19 -9
  2. package/README.md +179 -123
  3. package/bin/mcp-server.js +405 -511
  4. package/bin/mcp-server.js.map +38 -41
  5. package/docs/sdks/knowledge/README.md +12 -0
  6. package/docs/sdks/orq/README.md +0 -81
  7. package/examples/contactsCreate.example.ts +42 -0
  8. package/examples/package-lock.json +1 -1
  9. package/jsr.json +1 -1
  10. package/lib/config.d.ts +3 -3
  11. package/lib/config.js +3 -3
  12. package/mcp-server/mcp-server.js +1 -1
  13. package/mcp-server/server.d.ts.map +1 -1
  14. package/mcp-server/server.js +1 -3
  15. package/mcp-server/server.js.map +1 -1
  16. package/models/operations/createbudget.js +2 -2
  17. package/models/operations/createcontact.js +2 -2
  18. package/models/operations/createdataset.js +2 -2
  19. package/models/operations/createdatasetitem.js +2 -2
  20. package/models/operations/createdatasource.js +2 -2
  21. package/models/operations/createeval.js +28 -28
  22. package/models/operations/fileget.js +2 -2
  23. package/models/operations/filelist.js +2 -2
  24. package/models/operations/fileupload.js +2 -2
  25. package/models/operations/getagent.d.ts +65 -65
  26. package/models/operations/getagent.d.ts.map +1 -1
  27. package/models/operations/getagent.js +88 -88
  28. package/models/operations/getagent.js.map +1 -1
  29. package/models/operations/getbudget.js +2 -2
  30. package/models/operations/getevals.js +28 -28
  31. package/models/operations/index.d.ts +0 -1
  32. package/models/operations/index.d.ts.map +1 -1
  33. package/models/operations/index.js +0 -1
  34. package/models/operations/index.js.map +1 -1
  35. package/models/operations/listagents.d.ts +1 -1
  36. package/models/operations/listagents.d.ts.map +1 -1
  37. package/models/operations/listagents.js +4 -4
  38. package/models/operations/listagents.js.map +1 -1
  39. package/models/operations/listbudgets.js +2 -2
  40. package/models/operations/listcontacts.js +2 -2
  41. package/models/operations/listdatasetdatapoints.js +2 -2
  42. package/models/operations/listdatasets.js +2 -2
  43. package/models/operations/listdatasources.js +2 -2
  44. package/models/operations/retrievecontact.js +2 -2
  45. package/models/operations/retrievedatapoint.js +2 -2
  46. package/models/operations/retrievedataset.js +2 -2
  47. package/models/operations/retrievedatasource.js +2 -2
  48. package/models/operations/runagent.d.ts +152 -4
  49. package/models/operations/runagent.d.ts.map +1 -1
  50. package/models/operations/runagent.js +165 -9
  51. package/models/operations/runagent.js.map +1 -1
  52. package/models/operations/searchknowledge.d.ts +17 -246
  53. package/models/operations/searchknowledge.d.ts.map +1 -1
  54. package/models/operations/searchknowledge.js +16 -167
  55. package/models/operations/searchknowledge.js.map +1 -1
  56. package/models/operations/streamrunagent.d.ts +152 -4
  57. package/models/operations/streamrunagent.d.ts.map +1 -1
  58. package/models/operations/streamrunagent.js +163 -8
  59. package/models/operations/streamrunagent.js.map +1 -1
  60. package/models/operations/updatebudget.js +2 -2
  61. package/models/operations/updatecontact.js +2 -2
  62. package/models/operations/updatedatapoint.js +2 -2
  63. package/models/operations/updatedataset.js +2 -2
  64. package/models/operations/updatedatasource.js +2 -2
  65. package/models/operations/updateeval.js +28 -28
  66. package/package.json +1 -1
  67. package/sdk/sdk.d.ts +1 -3
  68. package/sdk/sdk.d.ts.map +1 -1
  69. package/sdk/sdk.js +0 -5
  70. package/sdk/sdk.js.map +1 -1
  71. package/src/lib/config.ts +3 -3
  72. package/src/mcp-server/mcp-server.ts +1 -1
  73. package/src/mcp-server/server.ts +1 -3
  74. package/src/models/operations/createbudget.ts +2 -2
  75. package/src/models/operations/createcontact.ts +2 -2
  76. package/src/models/operations/createdataset.ts +2 -2
  77. package/src/models/operations/createdatasetitem.ts +2 -2
  78. package/src/models/operations/createdatasource.ts +2 -2
  79. package/src/models/operations/createeval.ts +28 -28
  80. package/src/models/operations/fileget.ts +2 -2
  81. package/src/models/operations/filelist.ts +2 -2
  82. package/src/models/operations/fileupload.ts +2 -2
  83. package/src/models/operations/getagent.ts +139 -117
  84. package/src/models/operations/getbudget.ts +2 -2
  85. package/src/models/operations/getevals.ts +28 -28
  86. package/src/models/operations/index.ts +0 -1
  87. package/src/models/operations/listagents.ts +5 -5
  88. package/src/models/operations/listbudgets.ts +2 -2
  89. package/src/models/operations/listcontacts.ts +2 -2
  90. package/src/models/operations/listdatasetdatapoints.ts +2 -2
  91. package/src/models/operations/listdatasets.ts +2 -2
  92. package/src/models/operations/listdatasources.ts +2 -2
  93. package/src/models/operations/retrievecontact.ts +2 -2
  94. package/src/models/operations/retrievedatapoint.ts +2 -2
  95. package/src/models/operations/retrievedataset.ts +2 -2
  96. package/src/models/operations/retrievedatasource.ts +2 -2
  97. package/src/models/operations/runagent.ts +296 -8
  98. package/src/models/operations/searchknowledge.ts +29 -259
  99. package/src/models/operations/streamrunagent.ts +331 -8
  100. package/src/models/operations/updatebudget.ts +2 -2
  101. package/src/models/operations/updatecontact.ts +2 -2
  102. package/src/models/operations/updatedatapoint.ts +2 -2
  103. package/src/models/operations/updatedataset.ts +2 -2
  104. package/src/models/operations/updatedatasource.ts +2 -2
  105. package/src/models/operations/updateeval.ts +28 -28
  106. package/src/sdk/sdk.ts +1 -15
  107. package/examples/postV2AgentsInternal.example.ts +0 -30
  108. package/funcs/postV2AgentsInternal.d.ts +0 -11
  109. package/funcs/postV2AgentsInternal.d.ts.map +0 -1
  110. package/funcs/postV2AgentsInternal.js +0 -112
  111. package/funcs/postV2AgentsInternal.js.map +0 -1
  112. package/mcp-server/tools/postV2AgentsInternal.d.ts +0 -8
  113. package/mcp-server/tools/postV2AgentsInternal.d.ts.map +0 -1
  114. package/mcp-server/tools/postV2AgentsInternal.js +0 -61
  115. package/mcp-server/tools/postV2AgentsInternal.js.map +0 -1
  116. package/models/operations/postv2agentsinternal.d.ts +0 -45
  117. package/models/operations/postv2agentsinternal.d.ts.map +0 -1
  118. package/models/operations/postv2agentsinternal.js +0 -88
  119. package/models/operations/postv2agentsinternal.js.map +0 -1
  120. package/src/funcs/postV2AgentsInternal.ts +0 -159
  121. package/src/mcp-server/tools/postV2AgentsInternal.ts +0 -33
  122. package/src/models/operations/postv2agentsinternal.ts +0 -103
package/bin/mcp-server.js CHANGED
@@ -34203,9 +34203,9 @@ var init_config = __esm(() => {
34203
34203
  SDK_METADATA = {
34204
34204
  language: "typescript",
34205
34205
  openapiDocVersion: "2.0",
34206
- sdkVersion: "3.13.0-rc.13",
34207
- genVersion: "2.698.4",
34208
- userAgent: "speakeasy-sdk/typescript 3.13.0-rc.13 2.698.4 2.0 @orq-ai/node"
34206
+ sdkVersion: "3.13.0-rc.16",
34207
+ genVersion: "2.702.0",
34208
+ userAgent: "speakeasy-sdk/typescript 3.13.0-rc.16 2.702.0 2.0 @orq-ai/node"
34209
34209
  };
34210
34210
  });
34211
34211
 
@@ -35891,7 +35891,7 @@ var init_createbudget = __esm(() => {
35891
35891
  is_active: booleanType(),
35892
35892
  consumption: lazyType(() => Consumption$inboundSchema).optional(),
35893
35893
  created: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
35894
- updated: stringType().datetime({ offset: true }).default("2025-09-16T10:52:14.945Z").transform((v2) => new Date(v2))
35894
+ updated: stringType().datetime({ offset: true }).default("2025-09-18T06:46:59.426Z").transform((v2) => new Date(v2))
35895
35895
  }).transform((v2) => {
35896
35896
  return remap(v2, {
35897
35897
  _id: "id",
@@ -35907,7 +35907,7 @@ var init_createbudget = __esm(() => {
35907
35907
  isActive: booleanType(),
35908
35908
  consumption: lazyType(() => Consumption$outboundSchema).optional(),
35909
35909
  created: dateType().transform((v2) => v2.toISOString()).optional(),
35910
- updated: dateType().default(() => new Date("2025-09-16T10:52:14.945Z")).transform((v2) => v2.toISOString())
35910
+ updated: dateType().default(() => new Date("2025-09-18T06:46:59.426Z")).transform((v2) => v2.toISOString())
35911
35911
  }).transform((v2) => {
35912
35912
  return remap(v2, {
35913
35913
  id: "_id",
@@ -36078,7 +36078,7 @@ var init_createcontact = __esm(() => {
36078
36078
  tags: arrayType(stringType()).optional(),
36079
36079
  metadata: recordType(anyType()).optional(),
36080
36080
  created: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
36081
- updated: stringType().datetime({ offset: true }).default("2025-09-16T10:52:14.945Z").transform((v2) => new Date(v2))
36081
+ updated: stringType().datetime({ offset: true }).default("2025-09-18T06:46:59.426Z").transform((v2) => new Date(v2))
36082
36082
  }).transform((v2) => {
36083
36083
  return remap(v2, {
36084
36084
  _id: "id",
@@ -36098,7 +36098,7 @@ var init_createcontact = __esm(() => {
36098
36098
  tags: arrayType(stringType()).optional(),
36099
36099
  metadata: recordType(anyType()).optional(),
36100
36100
  created: dateType().transform((v2) => v2.toISOString()).optional(),
36101
- updated: dateType().default(() => new Date("2025-09-16T10:52:14.945Z")).transform((v2) => v2.toISOString())
36101
+ updated: dateType().default(() => new Date("2025-09-18T06:46:59.426Z")).transform((v2) => v2.toISOString())
36102
36102
  }).transform((v2) => {
36103
36103
  return remap(v2, {
36104
36104
  id: "_id",
@@ -36170,7 +36170,7 @@ var init_createdataset = __esm(() => {
36170
36170
  updated_by_id: stringType().optional(),
36171
36171
  metadata: lazyType(() => CreateDatasetMetadata$inboundSchema),
36172
36172
  created: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
36173
- updated: stringType().datetime({ offset: true }).default("2025-09-16T10:52:14.945Z").transform((v2) => new Date(v2))
36173
+ updated: stringType().datetime({ offset: true }).default("2025-09-18T06:46:59.426Z").transform((v2) => new Date(v2))
36174
36174
  }).transform((v2) => {
36175
36175
  return remap(v2, {
36176
36176
  _id: "id",
@@ -36190,7 +36190,7 @@ var init_createdataset = __esm(() => {
36190
36190
  updatedById: stringType().optional(),
36191
36191
  metadata: lazyType(() => CreateDatasetMetadata$outboundSchema),
36192
36192
  created: dateType().transform((v2) => v2.toISOString()).optional(),
36193
- updated: dateType().default(() => new Date("2025-09-16T10:52:14.945Z")).transform((v2) => v2.toISOString())
36193
+ updated: dateType().default(() => new Date("2025-09-18T06:46:59.426Z")).transform((v2) => v2.toISOString())
36194
36194
  }).transform((v2) => {
36195
36195
  return remap(v2, {
36196
36196
  id: "_id",
@@ -37594,7 +37594,7 @@ var init_createdatasetitem = __esm(() => {
37594
37594
  created_by_id: stringType().optional(),
37595
37595
  updated_by_id: stringType().optional(),
37596
37596
  created: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
37597
- updated: stringType().datetime({ offset: true }).default("2025-09-16T10:52:14.945Z").transform((v2) => new Date(v2))
37597
+ updated: stringType().datetime({ offset: true }).default("2025-09-18T06:46:59.426Z").transform((v2) => new Date(v2))
37598
37598
  }).transform((v2) => {
37599
37599
  return remap(v2, {
37600
37600
  _id: "id",
@@ -37621,7 +37621,7 @@ var init_createdatasetitem = __esm(() => {
37621
37621
  createdById: stringType().optional(),
37622
37622
  updatedById: stringType().optional(),
37623
37623
  created: dateType().transform((v2) => v2.toISOString()).optional(),
37624
- updated: dateType().default(() => new Date("2025-09-16T10:52:14.945Z")).transform((v2) => v2.toISOString())
37624
+ updated: dateType().default(() => new Date("2025-09-18T06:46:59.426Z")).transform((v2) => v2.toISOString())
37625
37625
  }).transform((v2) => {
37626
37626
  return remap(v2, {
37627
37627
  id: "_id",
@@ -37843,7 +37843,7 @@ var init_createdatasource = __esm(() => {
37843
37843
  CreateDatasourceStatus$.outboundSchema = CreateDatasourceStatus$outboundSchema;
37844
37844
  })(CreateDatasourceStatus$ ||= {});
37845
37845
  CreateDatasourceResponseBody$inboundSchema = objectType({
37846
- _id: stringType().default("01K592EZEGG7VH3H451CFZFX3X"),
37846
+ _id: stringType().default("01K5DS7B99XX2VVXX3A3KY0MWY"),
37847
37847
  display_name: stringType(),
37848
37848
  description: stringType().optional(),
37849
37849
  status: CreateDatasourceStatus$inboundSchema,
@@ -37866,7 +37866,7 @@ var init_createdatasource = __esm(() => {
37866
37866
  });
37867
37867
  });
37868
37868
  CreateDatasourceResponseBody$outboundSchema = objectType({
37869
- id: stringType().default("01K592EZEGG7VH3H451CFZFX3X"),
37869
+ id: stringType().default("01K5DS7B99XX2VVXX3A3KY0MWY"),
37870
37870
  displayName: stringType(),
37871
37871
  description: stringType().optional(),
37872
37872
  status: CreateDatasourceStatus$outboundSchema,
@@ -38712,8 +38712,8 @@ var init_createeval = __esm(() => {
38712
38712
  Typescript$inboundSchema = objectType({
38713
38713
  _id: stringType(),
38714
38714
  description: stringType(),
38715
- created: stringType().default("2025-09-16T10:52:17.309Z"),
38716
- updated: stringType().default("2025-09-16T10:52:17.309Z"),
38715
+ created: stringType().default("2025-09-18T06:47:01.973Z"),
38716
+ updated: stringType().default("2025-09-18T06:47:01.973Z"),
38717
38717
  guardrail_config: unionType([
38718
38718
  lazyType(() => CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody7Number$inboundSchema),
38719
38719
  lazyType(() => CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody7Boolean$inboundSchema)
@@ -38730,8 +38730,8 @@ var init_createeval = __esm(() => {
38730
38730
  Typescript$outboundSchema = objectType({
38731
38731
  id: stringType(),
38732
38732
  description: stringType(),
38733
- created: stringType().default("2025-09-16T10:52:17.309Z"),
38734
- updated: stringType().default("2025-09-16T10:52:17.309Z"),
38733
+ created: stringType().default("2025-09-18T06:47:01.973Z"),
38734
+ updated: stringType().default("2025-09-18T06:47:01.973Z"),
38735
38735
  guardrailConfig: unionType([
38736
38736
  lazyType(() => CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody7Number$outboundSchema),
38737
38737
  lazyType(() => CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody7Boolean$outboundSchema)
@@ -38824,8 +38824,8 @@ var init_createeval = __esm(() => {
38824
38824
  Ragas$inboundSchema = objectType({
38825
38825
  _id: stringType(),
38826
38826
  description: stringType(),
38827
- created: stringType().default("2025-09-16T10:52:17.309Z"),
38828
- updated: stringType().default("2025-09-16T10:52:17.309Z"),
38827
+ created: stringType().default("2025-09-18T06:47:01.973Z"),
38828
+ updated: stringType().default("2025-09-18T06:47:01.973Z"),
38829
38829
  guardrail_config: unionType([
38830
38830
  lazyType(() => CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody6Number$inboundSchema),
38831
38831
  lazyType(() => CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody6Boolean$inboundSchema)
@@ -38844,8 +38844,8 @@ var init_createeval = __esm(() => {
38844
38844
  Ragas$outboundSchema = objectType({
38845
38845
  id: stringType(),
38846
38846
  description: stringType(),
38847
- created: stringType().default("2025-09-16T10:52:17.309Z"),
38848
- updated: stringType().default("2025-09-16T10:52:17.309Z"),
38847
+ created: stringType().default("2025-09-18T06:47:01.973Z"),
38848
+ updated: stringType().default("2025-09-18T06:47:01.973Z"),
38849
38849
  guardrailConfig: unionType([
38850
38850
  lazyType(() => CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody6Number$outboundSchema),
38851
38851
  lazyType(() => CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody6Boolean$outboundSchema)
@@ -39598,8 +39598,8 @@ var init_createeval = __esm(() => {
39598
39598
  ResponseBodyFunction$inboundSchema = objectType({
39599
39599
  _id: stringType(),
39600
39600
  description: stringType(),
39601
- created: stringType().default("2025-09-16T10:52:17.309Z"),
39602
- updated: stringType().default("2025-09-16T10:52:17.309Z"),
39601
+ created: stringType().default("2025-09-18T06:47:01.973Z"),
39602
+ updated: stringType().default("2025-09-18T06:47:01.973Z"),
39603
39603
  guardrail_config: unionType([
39604
39604
  lazyType(() => CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody5Number$inboundSchema),
39605
39605
  lazyType(() => CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody5Boolean$inboundSchema)
@@ -39653,8 +39653,8 @@ var init_createeval = __esm(() => {
39653
39653
  ResponseBodyFunction$outboundSchema = objectType({
39654
39654
  id: stringType(),
39655
39655
  description: stringType(),
39656
- created: stringType().default("2025-09-16T10:52:17.309Z"),
39657
- updated: stringType().default("2025-09-16T10:52:17.309Z"),
39656
+ created: stringType().default("2025-09-18T06:47:01.973Z"),
39657
+ updated: stringType().default("2025-09-18T06:47:01.973Z"),
39658
39658
  guardrailConfig: unionType([
39659
39659
  lazyType(() => CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody5Number$outboundSchema),
39660
39660
  lazyType(() => CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody5Boolean$outboundSchema)
@@ -39778,8 +39778,8 @@ var init_createeval = __esm(() => {
39778
39778
  ResponseBodyPython$inboundSchema = objectType({
39779
39779
  _id: stringType(),
39780
39780
  description: stringType(),
39781
- created: stringType().default("2025-09-16T10:52:17.309Z"),
39782
- updated: stringType().default("2025-09-16T10:52:17.309Z"),
39781
+ created: stringType().default("2025-09-18T06:47:01.973Z"),
39782
+ updated: stringType().default("2025-09-18T06:47:01.973Z"),
39783
39783
  guardrail_config: unionType([
39784
39784
  lazyType(() => CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$inboundSchema),
39785
39785
  lazyType(() => CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyBoolean$inboundSchema)
@@ -39796,8 +39796,8 @@ var init_createeval = __esm(() => {
39796
39796
  ResponseBodyPython$outboundSchema = objectType({
39797
39797
  id: stringType(),
39798
39798
  description: stringType(),
39799
- created: stringType().default("2025-09-16T10:52:17.309Z"),
39800
- updated: stringType().default("2025-09-16T10:52:17.309Z"),
39799
+ created: stringType().default("2025-09-18T06:47:01.973Z"),
39800
+ updated: stringType().default("2025-09-18T06:47:01.973Z"),
39801
39801
  guardrailConfig: unionType([
39802
39802
  lazyType(() => CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$outboundSchema),
39803
39803
  lazyType(() => CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyBoolean$outboundSchema)
@@ -39890,8 +39890,8 @@ var init_createeval = __esm(() => {
39890
39890
  ResponseBodyHTTP$inboundSchema = objectType({
39891
39891
  _id: stringType(),
39892
39892
  description: stringType(),
39893
- created: stringType().default("2025-09-16T10:52:17.309Z"),
39894
- updated: stringType().default("2025-09-16T10:52:17.309Z"),
39893
+ created: stringType().default("2025-09-18T06:47:01.973Z"),
39894
+ updated: stringType().default("2025-09-18T06:47:01.973Z"),
39895
39895
  guardrail_config: unionType([
39896
39896
  lazyType(() => CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONNumber$inboundSchema),
39897
39897
  lazyType(() => CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONBoolean$inboundSchema)
@@ -39911,8 +39911,8 @@ var init_createeval = __esm(() => {
39911
39911
  ResponseBodyHTTP$outboundSchema = objectType({
39912
39912
  id: stringType(),
39913
39913
  description: stringType(),
39914
- created: stringType().default("2025-09-16T10:52:17.309Z"),
39915
- updated: stringType().default("2025-09-16T10:52:17.309Z"),
39914
+ created: stringType().default("2025-09-18T06:47:01.973Z"),
39915
+ updated: stringType().default("2025-09-18T06:47:01.973Z"),
39916
39916
  guardrailConfig: unionType([
39917
39917
  lazyType(() => CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONNumber$outboundSchema),
39918
39918
  lazyType(() => CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONBoolean$outboundSchema)
@@ -40002,8 +40002,8 @@ var init_createeval = __esm(() => {
40002
40002
  ResponseBodyJSON$inboundSchema = objectType({
40003
40003
  _id: stringType(),
40004
40004
  description: stringType(),
40005
- created: stringType().default("2025-09-16T10:52:17.309Z"),
40006
- updated: stringType().default("2025-09-16T10:52:17.309Z"),
40005
+ created: stringType().default("2025-09-18T06:47:01.973Z"),
40006
+ updated: stringType().default("2025-09-18T06:47:01.973Z"),
40007
40007
  guardrail_config: unionType([
40008
40008
  lazyType(() => CreateEvalGuardrailConfigEvalsResponse200Number$inboundSchema),
40009
40009
  lazyType(() => CreateEvalGuardrailConfigEvalsResponse200Boolean$inboundSchema)
@@ -40020,8 +40020,8 @@ var init_createeval = __esm(() => {
40020
40020
  ResponseBodyJSON$outboundSchema = objectType({
40021
40021
  id: stringType(),
40022
40022
  description: stringType(),
40023
- created: stringType().default("2025-09-16T10:52:17.309Z"),
40024
- updated: stringType().default("2025-09-16T10:52:17.309Z"),
40023
+ created: stringType().default("2025-09-18T06:47:01.973Z"),
40024
+ updated: stringType().default("2025-09-18T06:47:01.973Z"),
40025
40025
  guardrailConfig: unionType([
40026
40026
  lazyType(() => CreateEvalGuardrailConfigEvalsResponse200Number$outboundSchema),
40027
40027
  lazyType(() => CreateEvalGuardrailConfigEvalsResponse200Boolean$outboundSchema)
@@ -40108,8 +40108,8 @@ var init_createeval = __esm(() => {
40108
40108
  ResponseBodyLLM$inboundSchema = objectType({
40109
40109
  _id: stringType(),
40110
40110
  description: stringType(),
40111
- created: stringType().default("2025-09-16T10:52:17.309Z"),
40112
- updated: stringType().default("2025-09-16T10:52:17.309Z"),
40111
+ created: stringType().default("2025-09-18T06:47:01.973Z"),
40112
+ updated: stringType().default("2025-09-18T06:47:01.973Z"),
40113
40113
  guardrail_config: unionType([
40114
40114
  lazyType(() => CreateEvalGuardrailConfigEvalsResponseNumber$inboundSchema),
40115
40115
  lazyType(() => CreateEvalGuardrailConfigEvalsResponseBoolean$inboundSchema)
@@ -40127,8 +40127,8 @@ var init_createeval = __esm(() => {
40127
40127
  ResponseBodyLLM$outboundSchema = objectType({
40128
40128
  id: stringType(),
40129
40129
  description: stringType(),
40130
- created: stringType().default("2025-09-16T10:52:17.309Z"),
40131
- updated: stringType().default("2025-09-16T10:52:17.309Z"),
40130
+ created: stringType().default("2025-09-18T06:47:01.973Z"),
40131
+ updated: stringType().default("2025-09-18T06:47:01.973Z"),
40132
40132
  guardrailConfig: unionType([
40133
40133
  lazyType(() => CreateEvalGuardrailConfigEvalsResponseNumber$outboundSchema),
40134
40134
  lazyType(() => CreateEvalGuardrailConfigEvalsResponseBoolean$outboundSchema)
@@ -51925,7 +51925,7 @@ var init_fileget = __esm(() => {
51925
51925
  bytes: numberType(),
51926
51926
  file_name: stringType(),
51927
51927
  workspace_id: stringType(),
51928
- created: stringType().datetime({ offset: true }).default("2025-09-16T10:52:17.989Z").transform((v2) => new Date(v2))
51928
+ created: stringType().datetime({ offset: true }).default("2025-09-18T06:47:02.652Z").transform((v2) => new Date(v2))
51929
51929
  }).transform((v2) => {
51930
51930
  return remap(v2, {
51931
51931
  _id: "id",
@@ -51941,7 +51941,7 @@ var init_fileget = __esm(() => {
51941
51941
  bytes: numberType(),
51942
51942
  fileName: stringType(),
51943
51943
  workspaceId: stringType(),
51944
- created: dateType().default(() => new Date("2025-09-16T10:52:17.989Z")).transform((v2) => v2.toISOString())
51944
+ created: dateType().default(() => new Date("2025-09-18T06:47:02.652Z")).transform((v2) => v2.toISOString())
51945
51945
  }).transform((v2) => {
51946
51946
  return remap(v2, {
51947
51947
  id: "_id",
@@ -52012,7 +52012,7 @@ var init_filelist = __esm(() => {
52012
52012
  bytes: numberType(),
52013
52013
  file_name: stringType(),
52014
52014
  workspace_id: stringType(),
52015
- created: stringType().datetime({ offset: true }).default("2025-09-16T10:52:17.989Z").transform((v2) => new Date(v2))
52015
+ created: stringType().datetime({ offset: true }).default("2025-09-18T06:47:02.652Z").transform((v2) => new Date(v2))
52016
52016
  }).transform((v2) => {
52017
52017
  return remap(v2, {
52018
52018
  _id: "id",
@@ -52028,7 +52028,7 @@ var init_filelist = __esm(() => {
52028
52028
  bytes: numberType(),
52029
52029
  fileName: stringType(),
52030
52030
  workspaceId: stringType(),
52031
- created: dateType().default(() => new Date("2025-09-16T10:52:17.989Z")).transform((v2) => v2.toISOString())
52031
+ created: dateType().default(() => new Date("2025-09-18T06:47:02.652Z")).transform((v2) => v2.toISOString())
52032
52032
  }).transform((v2) => {
52033
52033
  return remap(v2, {
52034
52034
  id: "_id",
@@ -52160,7 +52160,7 @@ var init_fileupload = __esm(() => {
52160
52160
  bytes: numberType(),
52161
52161
  file_name: stringType(),
52162
52162
  workspace_id: stringType(),
52163
- created: stringType().datetime({ offset: true }).default("2025-09-16T10:52:17.989Z").transform((v2) => new Date(v2))
52163
+ created: stringType().datetime({ offset: true }).default("2025-09-18T06:47:02.652Z").transform((v2) => new Date(v2))
52164
52164
  }).transform((v2) => {
52165
52165
  return remap(v2, {
52166
52166
  _id: "id",
@@ -52176,7 +52176,7 @@ var init_fileupload = __esm(() => {
52176
52176
  bytes: numberType(),
52177
52177
  fileName: stringType(),
52178
52178
  workspaceId: stringType(),
52179
- created: dateType().default(() => new Date("2025-09-16T10:52:17.989Z")).transform((v2) => v2.toISOString())
52179
+ created: dateType().default(() => new Date("2025-09-18T06:47:02.652Z")).transform((v2) => v2.toISOString())
52180
52180
  }).transform((v2) => {
52181
52181
  return remap(v2, {
52182
52182
  id: "_id",
@@ -52192,7 +52192,7 @@ var init_fileupload = __esm(() => {
52192
52192
  });
52193
52193
 
52194
52194
  // src/models/operations/getagent.ts
52195
- var GetAgentStatus, GetAgentToolApprovalRequired, GetAgentConfigurationType, ConfigurationType, HiddenPanels, GetAgentRequest$inboundSchema, GetAgentRequest$outboundSchema, GetAgentRequest$, GetAgentStatus$inboundSchema, GetAgentStatus$outboundSchema, GetAgentStatus$, GetAgentToolApprovalRequired$inboundSchema, GetAgentToolApprovalRequired$outboundSchema, GetAgentToolApprovalRequired$, Conditions$inboundSchema, Conditions$outboundSchema, Conditions$, GetAgentTools$inboundSchema, GetAgentTools$outboundSchema, GetAgentTools$, GetAgentSettings$inboundSchema, GetAgentSettings$outboundSchema, GetAgentSettings$, GetAgentModel$inboundSchema, GetAgentModel$outboundSchema, GetAgentModel$, GetAgentTeamOfAgents$inboundSchema, GetAgentTeamOfAgents$outboundSchema, GetAgentTeamOfAgents$, Metrics$inboundSchema, Metrics$outboundSchema, Metrics$, GetAgentConfigurationType$inboundSchema, GetAgentConfigurationType$outboundSchema, GetAgentConfigurationType$, Configuration2$inboundSchema, Configuration2$outboundSchema, Configuration2$, ConfigurationType$inboundSchema, ConfigurationType$outboundSchema, ConfigurationType$, Configuration1$inboundSchema, Configuration1$outboundSchema, Configuration1$, Configuration$inboundSchema, Configuration$outboundSchema, Configuration$, KnowledgeBases$inboundSchema, KnowledgeBases$outboundSchema, KnowledgeBases$, HiddenPanels$inboundSchema, HiddenPanels$outboundSchema, HiddenPanels$, GetAgentResponseBody$inboundSchema, GetAgentResponseBody$outboundSchema, GetAgentResponseBody$;
52195
+ var GetAgentStatus, GetAgentToolApprovalRequired, GetAgentConfigurationType, GetAgentConfigurationAgentsType, HiddenPanels, GetAgentRequest$inboundSchema, GetAgentRequest$outboundSchema, GetAgentRequest$, GetAgentStatus$inboundSchema, GetAgentStatus$outboundSchema, GetAgentStatus$, GetAgentToolApprovalRequired$inboundSchema, GetAgentToolApprovalRequired$outboundSchema, GetAgentToolApprovalRequired$, Conditions$inboundSchema, Conditions$outboundSchema, Conditions$, GetAgentTools$inboundSchema, GetAgentTools$outboundSchema, GetAgentTools$, GetAgentSettings$inboundSchema, GetAgentSettings$outboundSchema, GetAgentSettings$, GetAgentModel$inboundSchema, GetAgentModel$outboundSchema, GetAgentModel$, GetAgentTeamOfAgents$inboundSchema, GetAgentTeamOfAgents$outboundSchema, GetAgentTeamOfAgents$, Metrics$inboundSchema, Metrics$outboundSchema, Metrics$, GetAgentConfigurationType$inboundSchema, GetAgentConfigurationType$outboundSchema, GetAgentConfigurationType$, GetAgentConfiguration2$inboundSchema, GetAgentConfiguration2$outboundSchema, GetAgentConfiguration2$, GetAgentConfigurationAgentsType$inboundSchema, GetAgentConfigurationAgentsType$outboundSchema, GetAgentConfigurationAgentsType$, GetAgentConfiguration1$inboundSchema, GetAgentConfiguration1$outboundSchema, GetAgentConfiguration1$, GetAgentConfiguration$inboundSchema, GetAgentConfiguration$outboundSchema, GetAgentConfiguration$, GetAgentKnowledgeBases$inboundSchema, GetAgentKnowledgeBases$outboundSchema, GetAgentKnowledgeBases$, HiddenPanels$inboundSchema, HiddenPanels$outboundSchema, HiddenPanels$, GetAgentResponseBody$inboundSchema, GetAgentResponseBody$outboundSchema, GetAgentResponseBody$;
52196
52196
  var init_getagent = __esm(() => {
52197
52197
  init_esm();
52198
52198
  init_primitives();
@@ -52210,7 +52210,7 @@ var init_getagent = __esm(() => {
52210
52210
  GetAgentConfigurationType = {
52211
52211
  Query: "query"
52212
52212
  };
52213
- ConfigurationType = {
52213
+ GetAgentConfigurationAgentsType = {
52214
52214
  LastUserMessage: "last_user_message"
52215
52215
  };
52216
52216
  HiddenPanels = {
@@ -52260,7 +52260,7 @@ var init_getagent = __esm(() => {
52260
52260
  id: stringType(),
52261
52261
  action_type: stringType(),
52262
52262
  display_name: stringType().optional(),
52263
- requires_approval: booleanType(),
52263
+ requires_approval: booleanType().default(false),
52264
52264
  conditions: arrayType(lazyType(() => Conditions$inboundSchema)).optional(),
52265
52265
  mcpServer: stringType().optional(),
52266
52266
  timeout: numberType().default(120)
@@ -52275,7 +52275,7 @@ var init_getagent = __esm(() => {
52275
52275
  id: stringType(),
52276
52276
  actionType: stringType(),
52277
52277
  displayName: stringType().optional(),
52278
- requiresApproval: booleanType(),
52278
+ requiresApproval: booleanType().default(false),
52279
52279
  conditions: arrayType(lazyType(() => Conditions$outboundSchema)).optional(),
52280
52280
  mcpServer: stringType().optional(),
52281
52281
  timeout: numberType().default(120)
@@ -52392,74 +52392,74 @@ var init_getagent = __esm(() => {
52392
52392
  GetAgentConfigurationType$.inboundSchema = GetAgentConfigurationType$inboundSchema;
52393
52393
  GetAgentConfigurationType$.outboundSchema = GetAgentConfigurationType$outboundSchema;
52394
52394
  })(GetAgentConfigurationType$ ||= {});
52395
- Configuration2$inboundSchema = objectType({
52395
+ GetAgentConfiguration2$inboundSchema = objectType({
52396
52396
  type: GetAgentConfigurationType$inboundSchema,
52397
52397
  query: stringType()
52398
52398
  });
52399
- Configuration2$outboundSchema = objectType({
52399
+ GetAgentConfiguration2$outboundSchema = objectType({
52400
52400
  type: GetAgentConfigurationType$outboundSchema,
52401
52401
  query: stringType()
52402
52402
  });
52403
- ((Configuration2$) => {
52404
- Configuration2$.inboundSchema = Configuration2$inboundSchema;
52405
- Configuration2$.outboundSchema = Configuration2$outboundSchema;
52406
- })(Configuration2$ ||= {});
52407
- ConfigurationType$inboundSchema = nativeEnumType(ConfigurationType);
52408
- ConfigurationType$outboundSchema = ConfigurationType$inboundSchema;
52409
- ((ConfigurationType$) => {
52410
- ConfigurationType$.inboundSchema = ConfigurationType$inboundSchema;
52411
- ConfigurationType$.outboundSchema = ConfigurationType$outboundSchema;
52412
- })(ConfigurationType$ ||= {});
52413
- Configuration1$inboundSchema = objectType({
52414
- type: ConfigurationType$inboundSchema
52415
- });
52416
- Configuration1$outboundSchema = objectType({
52417
- type: ConfigurationType$outboundSchema
52418
- });
52419
- ((Configuration1$) => {
52420
- Configuration1$.inboundSchema = Configuration1$inboundSchema;
52421
- Configuration1$.outboundSchema = Configuration1$outboundSchema;
52422
- })(Configuration1$ ||= {});
52423
- Configuration$inboundSchema = unionType([
52424
- lazyType(() => Configuration2$inboundSchema),
52425
- lazyType(() => Configuration1$inboundSchema)
52403
+ ((GetAgentConfiguration2$) => {
52404
+ GetAgentConfiguration2$.inboundSchema = GetAgentConfiguration2$inboundSchema;
52405
+ GetAgentConfiguration2$.outboundSchema = GetAgentConfiguration2$outboundSchema;
52406
+ })(GetAgentConfiguration2$ ||= {});
52407
+ GetAgentConfigurationAgentsType$inboundSchema = nativeEnumType(GetAgentConfigurationAgentsType);
52408
+ GetAgentConfigurationAgentsType$outboundSchema = GetAgentConfigurationAgentsType$inboundSchema;
52409
+ ((GetAgentConfigurationAgentsType$) => {
52410
+ GetAgentConfigurationAgentsType$.inboundSchema = GetAgentConfigurationAgentsType$inboundSchema;
52411
+ GetAgentConfigurationAgentsType$.outboundSchema = GetAgentConfigurationAgentsType$outboundSchema;
52412
+ })(GetAgentConfigurationAgentsType$ ||= {});
52413
+ GetAgentConfiguration1$inboundSchema = objectType({
52414
+ type: GetAgentConfigurationAgentsType$inboundSchema
52415
+ });
52416
+ GetAgentConfiguration1$outboundSchema = objectType({
52417
+ type: GetAgentConfigurationAgentsType$outboundSchema
52418
+ });
52419
+ ((GetAgentConfiguration1$) => {
52420
+ GetAgentConfiguration1$.inboundSchema = GetAgentConfiguration1$inboundSchema;
52421
+ GetAgentConfiguration1$.outboundSchema = GetAgentConfiguration1$outboundSchema;
52422
+ })(GetAgentConfiguration1$ ||= {});
52423
+ GetAgentConfiguration$inboundSchema = unionType([
52424
+ lazyType(() => GetAgentConfiguration2$inboundSchema),
52425
+ lazyType(() => GetAgentConfiguration1$inboundSchema)
52426
52426
  ]);
52427
- Configuration$outboundSchema = unionType([
52428
- lazyType(() => Configuration2$outboundSchema),
52429
- lazyType(() => Configuration1$outboundSchema)
52427
+ GetAgentConfiguration$outboundSchema = unionType([
52428
+ lazyType(() => GetAgentConfiguration2$outboundSchema),
52429
+ lazyType(() => GetAgentConfiguration1$outboundSchema)
52430
52430
  ]);
52431
- ((Configuration$) => {
52432
- Configuration$.inboundSchema = Configuration$inboundSchema;
52433
- Configuration$.outboundSchema = Configuration$outboundSchema;
52434
- })(Configuration$ ||= {});
52435
- KnowledgeBases$inboundSchema = objectType({
52436
- id: stringType().default("01K592EZ9G7VJ78BT4FJS5B5GQ"),
52431
+ ((GetAgentConfiguration$) => {
52432
+ GetAgentConfiguration$.inboundSchema = GetAgentConfiguration$inboundSchema;
52433
+ GetAgentConfiguration$.outboundSchema = GetAgentConfiguration$outboundSchema;
52434
+ })(GetAgentConfiguration$ ||= {});
52435
+ GetAgentKnowledgeBases$inboundSchema = objectType({
52436
+ id: stringType().default("01K5DS7B52CCZYX5AVHSV7XCX9"),
52437
52437
  knowledge_id: stringType(),
52438
52438
  configuration: unionType([
52439
- lazyType(() => Configuration2$inboundSchema),
52440
- lazyType(() => Configuration1$inboundSchema)
52439
+ lazyType(() => GetAgentConfiguration2$inboundSchema),
52440
+ lazyType(() => GetAgentConfiguration1$inboundSchema)
52441
52441
  ])
52442
52442
  }).transform((v2) => {
52443
52443
  return remap(v2, {
52444
52444
  knowledge_id: "knowledgeId"
52445
52445
  });
52446
52446
  });
52447
- KnowledgeBases$outboundSchema = objectType({
52448
- id: stringType().default("01K592EZ9G7VJ78BT4FJS5B5GQ"),
52447
+ GetAgentKnowledgeBases$outboundSchema = objectType({
52448
+ id: stringType().default("01K5DS7B52CCZYX5AVHSV7XCX9"),
52449
52449
  knowledgeId: stringType(),
52450
52450
  configuration: unionType([
52451
- lazyType(() => Configuration2$outboundSchema),
52452
- lazyType(() => Configuration1$outboundSchema)
52451
+ lazyType(() => GetAgentConfiguration2$outboundSchema),
52452
+ lazyType(() => GetAgentConfiguration1$outboundSchema)
52453
52453
  ])
52454
52454
  }).transform((v2) => {
52455
52455
  return remap(v2, {
52456
52456
  knowledgeId: "knowledge_id"
52457
52457
  });
52458
52458
  });
52459
- ((KnowledgeBases$) => {
52460
- KnowledgeBases$.inboundSchema = KnowledgeBases$inboundSchema;
52461
- KnowledgeBases$.outboundSchema = KnowledgeBases$outboundSchema;
52462
- })(KnowledgeBases$ ||= {});
52459
+ ((GetAgentKnowledgeBases$) => {
52460
+ GetAgentKnowledgeBases$.inboundSchema = GetAgentKnowledgeBases$inboundSchema;
52461
+ GetAgentKnowledgeBases$.outboundSchema = GetAgentKnowledgeBases$outboundSchema;
52462
+ })(GetAgentKnowledgeBases$ ||= {});
52463
52463
  HiddenPanels$inboundSchema = nativeEnumType(HiddenPanels);
52464
52464
  HiddenPanels$outboundSchema = HiddenPanels$inboundSchema;
52465
52465
  ((HiddenPanels$) => {
@@ -52489,7 +52489,7 @@ var init_getagent = __esm(() => {
52489
52489
  team_of_agents: arrayType(lazyType(() => GetAgentTeamOfAgents$inboundSchema)),
52490
52490
  metrics: lazyType(() => Metrics$inboundSchema).optional(),
52491
52491
  variables: recordType(anyType()).optional(),
52492
- knowledge_bases: arrayType(lazyType(() => KnowledgeBases$inboundSchema)).optional(),
52492
+ knowledge_bases: arrayType(lazyType(() => GetAgentKnowledgeBases$inboundSchema)).optional(),
52493
52493
  hidden_panels: arrayType(HiddenPanels$inboundSchema).optional()
52494
52494
  }).transform((v2) => {
52495
52495
  return remap(v2, {
@@ -52529,7 +52529,7 @@ var init_getagent = __esm(() => {
52529
52529
  teamOfAgents: arrayType(lazyType(() => GetAgentTeamOfAgents$outboundSchema)),
52530
52530
  metrics: lazyType(() => Metrics$outboundSchema).optional(),
52531
52531
  variables: recordType(anyType()).optional(),
52532
- knowledgeBases: arrayType(lazyType(() => KnowledgeBases$outboundSchema)).optional(),
52532
+ knowledgeBases: arrayType(lazyType(() => GetAgentKnowledgeBases$outboundSchema)).optional(),
52533
52533
  hiddenPanels: arrayType(HiddenPanels$outboundSchema).optional()
52534
52534
  }).transform((v2) => {
52535
52535
  return remap(v2, {
@@ -54059,7 +54059,7 @@ var init_getbudget = __esm(() => {
54059
54059
  is_active: booleanType(),
54060
54060
  consumption: lazyType(() => GetBudgetConsumption$inboundSchema).optional(),
54061
54061
  created: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
54062
- updated: stringType().datetime({ offset: true }).default("2025-09-16T10:52:14.945Z").transform((v2) => new Date(v2))
54062
+ updated: stringType().datetime({ offset: true }).default("2025-09-18T06:46:59.426Z").transform((v2) => new Date(v2))
54063
54063
  }).transform((v2) => {
54064
54064
  return remap(v2, {
54065
54065
  _id: "id",
@@ -54075,7 +54075,7 @@ var init_getbudget = __esm(() => {
54075
54075
  isActive: booleanType(),
54076
54076
  consumption: lazyType(() => GetBudgetConsumption$outboundSchema).optional(),
54077
54077
  created: dateType().transform((v2) => v2.toISOString()).optional(),
54078
- updated: dateType().default(() => new Date("2025-09-16T10:52:14.945Z")).transform((v2) => v2.toISOString())
54078
+ updated: dateType().default(() => new Date("2025-09-18T06:46:59.426Z")).transform((v2) => v2.toISOString())
54079
54079
  }).transform((v2) => {
54080
54080
  return remap(v2, {
54081
54081
  id: "_id",
@@ -54438,8 +54438,8 @@ var init_getevals = __esm(() => {
54438
54438
  DataTypescript$inboundSchema = objectType({
54439
54439
  _id: stringType(),
54440
54440
  description: stringType(),
54441
- created: stringType().default("2025-09-16T10:52:17.309Z"),
54442
- updated: stringType().default("2025-09-16T10:52:17.309Z"),
54441
+ created: stringType().default("2025-09-18T06:47:01.973Z"),
54442
+ updated: stringType().default("2025-09-18T06:47:01.973Z"),
54443
54443
  guardrail_config: unionType([
54444
54444
  lazyType(() => GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONNumber$inboundSchema),
54445
54445
  lazyType(() => GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONBoolean$inboundSchema)
@@ -54456,8 +54456,8 @@ var init_getevals = __esm(() => {
54456
54456
  DataTypescript$outboundSchema = objectType({
54457
54457
  id: stringType(),
54458
54458
  description: stringType(),
54459
- created: stringType().default("2025-09-16T10:52:17.309Z"),
54460
- updated: stringType().default("2025-09-16T10:52:17.309Z"),
54459
+ created: stringType().default("2025-09-18T06:47:01.973Z"),
54460
+ updated: stringType().default("2025-09-18T06:47:01.973Z"),
54461
54461
  guardrailConfig: unionType([
54462
54462
  lazyType(() => GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONNumber$outboundSchema),
54463
54463
  lazyType(() => GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONBoolean$outboundSchema)
@@ -54550,8 +54550,8 @@ var init_getevals = __esm(() => {
54550
54550
  DataRagas$inboundSchema = objectType({
54551
54551
  _id: stringType(),
54552
54552
  description: stringType(),
54553
- created: stringType().default("2025-09-16T10:52:17.309Z"),
54554
- updated: stringType().default("2025-09-16T10:52:17.309Z"),
54553
+ created: stringType().default("2025-09-18T06:47:01.973Z"),
54554
+ updated: stringType().default("2025-09-18T06:47:01.973Z"),
54555
54555
  guardrail_config: unionType([
54556
54556
  lazyType(() => GetEvalsGuardrailConfigEvalsResponse200Number$inboundSchema),
54557
54557
  lazyType(() => GetEvalsGuardrailConfigEvalsResponse200Boolean$inboundSchema)
@@ -54570,8 +54570,8 @@ var init_getevals = __esm(() => {
54570
54570
  DataRagas$outboundSchema = objectType({
54571
54571
  id: stringType(),
54572
54572
  description: stringType(),
54573
- created: stringType().default("2025-09-16T10:52:17.309Z"),
54574
- updated: stringType().default("2025-09-16T10:52:17.309Z"),
54573
+ created: stringType().default("2025-09-18T06:47:01.973Z"),
54574
+ updated: stringType().default("2025-09-18T06:47:01.973Z"),
54575
54575
  guardrailConfig: unionType([
54576
54576
  lazyType(() => GetEvalsGuardrailConfigEvalsResponse200Number$outboundSchema),
54577
54577
  lazyType(() => GetEvalsGuardrailConfigEvalsResponse200Boolean$outboundSchema)
@@ -55324,8 +55324,8 @@ var init_getevals = __esm(() => {
55324
55324
  DataFunction$inboundSchema = objectType({
55325
55325
  _id: stringType(),
55326
55326
  description: stringType(),
55327
- created: stringType().default("2025-09-16T10:52:17.309Z"),
55328
- updated: stringType().default("2025-09-16T10:52:17.309Z"),
55327
+ created: stringType().default("2025-09-18T06:47:01.973Z"),
55328
+ updated: stringType().default("2025-09-18T06:47:01.973Z"),
55329
55329
  guardrail_config: unionType([
55330
55330
  lazyType(() => GetEvalsGuardrailConfigEvalsResponseNumber$inboundSchema),
55331
55331
  lazyType(() => GetEvalsGuardrailConfigEvalsResponseBoolean$inboundSchema)
@@ -55379,8 +55379,8 @@ var init_getevals = __esm(() => {
55379
55379
  DataFunction$outboundSchema = objectType({
55380
55380
  id: stringType(),
55381
55381
  description: stringType(),
55382
- created: stringType().default("2025-09-16T10:52:17.309Z"),
55383
- updated: stringType().default("2025-09-16T10:52:17.309Z"),
55382
+ created: stringType().default("2025-09-18T06:47:01.973Z"),
55383
+ updated: stringType().default("2025-09-18T06:47:01.973Z"),
55384
55384
  guardrailConfig: unionType([
55385
55385
  lazyType(() => GetEvalsGuardrailConfigEvalsResponseNumber$outboundSchema),
55386
55386
  lazyType(() => GetEvalsGuardrailConfigEvalsResponseBoolean$outboundSchema)
@@ -55504,8 +55504,8 @@ var init_getevals = __esm(() => {
55504
55504
  DataPython$inboundSchema = objectType({
55505
55505
  _id: stringType(),
55506
55506
  description: stringType(),
55507
- created: stringType().default("2025-09-16T10:52:17.309Z"),
55508
- updated: stringType().default("2025-09-16T10:52:17.309Z"),
55507
+ created: stringType().default("2025-09-18T06:47:01.973Z"),
55508
+ updated: stringType().default("2025-09-18T06:47:01.973Z"),
55509
55509
  guardrail_config: unionType([
55510
55510
  lazyType(() => GetEvalsGuardrailConfigEvalsNumber$inboundSchema),
55511
55511
  lazyType(() => GetEvalsGuardrailConfigEvalsBoolean$inboundSchema)
@@ -55522,8 +55522,8 @@ var init_getevals = __esm(() => {
55522
55522
  DataPython$outboundSchema = objectType({
55523
55523
  id: stringType(),
55524
55524
  description: stringType(),
55525
- created: stringType().default("2025-09-16T10:52:17.309Z"),
55526
- updated: stringType().default("2025-09-16T10:52:17.309Z"),
55525
+ created: stringType().default("2025-09-18T06:47:01.973Z"),
55526
+ updated: stringType().default("2025-09-18T06:47:01.973Z"),
55527
55527
  guardrailConfig: unionType([
55528
55528
  lazyType(() => GetEvalsGuardrailConfigEvalsNumber$outboundSchema),
55529
55529
  lazyType(() => GetEvalsGuardrailConfigEvalsBoolean$outboundSchema)
@@ -55616,8 +55616,8 @@ var init_getevals = __esm(() => {
55616
55616
  DataHTTP$inboundSchema = objectType({
55617
55617
  _id: stringType(),
55618
55618
  description: stringType(),
55619
- created: stringType().default("2025-09-16T10:52:17.309Z"),
55620
- updated: stringType().default("2025-09-16T10:52:17.309Z"),
55619
+ created: stringType().default("2025-09-18T06:47:01.973Z"),
55620
+ updated: stringType().default("2025-09-18T06:47:01.973Z"),
55621
55621
  guardrail_config: unionType([
55622
55622
  lazyType(() => GetEvalsGuardrailConfigNumber$inboundSchema),
55623
55623
  lazyType(() => GetEvalsGuardrailConfigBoolean$inboundSchema)
@@ -55637,8 +55637,8 @@ var init_getevals = __esm(() => {
55637
55637
  DataHTTP$outboundSchema = objectType({
55638
55638
  id: stringType(),
55639
55639
  description: stringType(),
55640
- created: stringType().default("2025-09-16T10:52:17.309Z"),
55641
- updated: stringType().default("2025-09-16T10:52:17.309Z"),
55640
+ created: stringType().default("2025-09-18T06:47:01.973Z"),
55641
+ updated: stringType().default("2025-09-18T06:47:01.973Z"),
55642
55642
  guardrailConfig: unionType([
55643
55643
  lazyType(() => GetEvalsGuardrailConfigNumber$outboundSchema),
55644
55644
  lazyType(() => GetEvalsGuardrailConfigBoolean$outboundSchema)
@@ -55728,8 +55728,8 @@ var init_getevals = __esm(() => {
55728
55728
  DataJSON$inboundSchema = objectType({
55729
55729
  _id: stringType(),
55730
55730
  description: stringType(),
55731
- created: stringType().default("2025-09-16T10:52:17.309Z"),
55732
- updated: stringType().default("2025-09-16T10:52:17.309Z"),
55731
+ created: stringType().default("2025-09-18T06:47:01.973Z"),
55732
+ updated: stringType().default("2025-09-18T06:47:01.973Z"),
55733
55733
  guardrail_config: unionType([
55734
55734
  lazyType(() => GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyDataNumber$inboundSchema),
55735
55735
  lazyType(() => GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyDataBoolean$inboundSchema)
@@ -55746,8 +55746,8 @@ var init_getevals = __esm(() => {
55746
55746
  DataJSON$outboundSchema = objectType({
55747
55747
  id: stringType(),
55748
55748
  description: stringType(),
55749
- created: stringType().default("2025-09-16T10:52:17.309Z"),
55750
- updated: stringType().default("2025-09-16T10:52:17.309Z"),
55749
+ created: stringType().default("2025-09-18T06:47:01.973Z"),
55750
+ updated: stringType().default("2025-09-18T06:47:01.973Z"),
55751
55751
  guardrailConfig: unionType([
55752
55752
  lazyType(() => GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyDataNumber$outboundSchema),
55753
55753
  lazyType(() => GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyDataBoolean$outboundSchema)
@@ -55834,8 +55834,8 @@ var init_getevals = __esm(() => {
55834
55834
  DataLLM$inboundSchema = objectType({
55835
55835
  _id: stringType(),
55836
55836
  description: stringType(),
55837
- created: stringType().default("2025-09-16T10:52:17.309Z"),
55838
- updated: stringType().default("2025-09-16T10:52:17.309Z"),
55837
+ created: stringType().default("2025-09-18T06:47:01.973Z"),
55838
+ updated: stringType().default("2025-09-18T06:47:01.973Z"),
55839
55839
  guardrail_config: unionType([
55840
55840
  lazyType(() => GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$inboundSchema),
55841
55841
  lazyType(() => GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyBoolean$inboundSchema)
@@ -55853,8 +55853,8 @@ var init_getevals = __esm(() => {
55853
55853
  DataLLM$outboundSchema = objectType({
55854
55854
  id: stringType(),
55855
55855
  description: stringType(),
55856
- created: stringType().default("2025-09-16T10:52:17.309Z"),
55857
- updated: stringType().default("2025-09-16T10:52:17.309Z"),
55856
+ created: stringType().default("2025-09-18T06:47:01.973Z"),
55857
+ updated: stringType().default("2025-09-18T06:47:01.973Z"),
55858
55858
  guardrailConfig: unionType([
55859
55859
  lazyType(() => GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$outboundSchema),
55860
55860
  lazyType(() => GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyBoolean$outboundSchema)
@@ -58365,7 +58365,7 @@ var init_listagents = __esm(() => {
58365
58365
  id: stringType(),
58366
58366
  action_type: stringType(),
58367
58367
  display_name: stringType().optional(),
58368
- requires_approval: booleanType(),
58368
+ requires_approval: booleanType().default(false),
58369
58369
  conditions: arrayType(lazyType(() => ListAgentsConditions$inboundSchema)).optional(),
58370
58370
  mcpServer: stringType().optional(),
58371
58371
  timeout: numberType().default(120)
@@ -58380,7 +58380,7 @@ var init_listagents = __esm(() => {
58380
58380
  id: stringType(),
58381
58381
  actionType: stringType(),
58382
58382
  displayName: stringType().optional(),
58383
- requiresApproval: booleanType(),
58383
+ requiresApproval: booleanType().default(false),
58384
58384
  conditions: arrayType(lazyType(() => ListAgentsConditions$outboundSchema)).optional(),
58385
58385
  mcpServer: stringType().optional(),
58386
58386
  timeout: numberType().default(120)
@@ -58538,7 +58538,7 @@ var init_listagents = __esm(() => {
58538
58538
  ListAgentsConfiguration$.outboundSchema = ListAgentsConfiguration$outboundSchema;
58539
58539
  })(ListAgentsConfiguration$ ||= {});
58540
58540
  ListAgentsKnowledgeBases$inboundSchema = objectType({
58541
- id: stringType().default("01K592EZ9D4VJ91Z3NPRFVFCCV"),
58541
+ id: stringType().default("01K5DS7B50TSZVG673GHJ1DK5J"),
58542
58542
  knowledge_id: stringType(),
58543
58543
  configuration: unionType([
58544
58544
  lazyType(() => ListAgentsConfiguration2$inboundSchema),
@@ -58550,7 +58550,7 @@ var init_listagents = __esm(() => {
58550
58550
  });
58551
58551
  });
58552
58552
  ListAgentsKnowledgeBases$outboundSchema = objectType({
58553
- id: stringType().default("01K592EZ9D4VJ91Z3NPRFVFCCV"),
58553
+ id: stringType().default("01K5DS7B50TSZVG673GHJ1DK5J"),
58554
58554
  knowledgeId: stringType(),
58555
58555
  configuration: unionType([
58556
58556
  lazyType(() => ListAgentsConfiguration2$outboundSchema),
@@ -58810,7 +58810,7 @@ var init_listbudgets = __esm(() => {
58810
58810
  is_active: booleanType(),
58811
58811
  consumption: lazyType(() => ListBudgetsConsumption$inboundSchema).optional(),
58812
58812
  created: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
58813
- updated: stringType().datetime({ offset: true }).default("2025-09-16T10:52:14.945Z").transform((v2) => new Date(v2))
58813
+ updated: stringType().datetime({ offset: true }).default("2025-09-18T06:46:59.426Z").transform((v2) => new Date(v2))
58814
58814
  }).transform((v2) => {
58815
58815
  return remap(v2, {
58816
58816
  _id: "id",
@@ -58826,7 +58826,7 @@ var init_listbudgets = __esm(() => {
58826
58826
  isActive: booleanType(),
58827
58827
  consumption: lazyType(() => ListBudgetsConsumption$outboundSchema).optional(),
58828
58828
  created: dateType().transform((v2) => v2.toISOString()).optional(),
58829
- updated: dateType().default(() => new Date("2025-09-16T10:52:14.945Z")).transform((v2) => v2.toISOString())
58829
+ updated: dateType().default(() => new Date("2025-09-18T06:46:59.426Z")).transform((v2) => v2.toISOString())
58830
58830
  }).transform((v2) => {
58831
58831
  return remap(v2, {
58832
58832
  id: "_id",
@@ -59094,7 +59094,7 @@ var init_listcontacts = __esm(() => {
59094
59094
  tags: arrayType(stringType()).optional(),
59095
59095
  metadata: recordType(anyType()).optional(),
59096
59096
  created: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
59097
- updated: stringType().datetime({ offset: true }).default("2025-09-16T10:52:14.945Z").transform((v2) => new Date(v2)),
59097
+ updated: stringType().datetime({ offset: true }).default("2025-09-18T06:46:59.426Z").transform((v2) => new Date(v2)),
59098
59098
  metrics: lazyType(() => ListContactsMetrics$inboundSchema)
59099
59099
  }).transform((v2) => {
59100
59100
  return remap(v2, {
@@ -59113,7 +59113,7 @@ var init_listcontacts = __esm(() => {
59113
59113
  tags: arrayType(stringType()).optional(),
59114
59114
  metadata: recordType(anyType()).optional(),
59115
59115
  created: dateType().transform((v2) => v2.toISOString()).optional(),
59116
- updated: dateType().default(() => new Date("2025-09-16T10:52:14.945Z")).transform((v2) => v2.toISOString()),
59116
+ updated: dateType().default(() => new Date("2025-09-18T06:46:59.426Z")).transform((v2) => v2.toISOString()),
59117
59117
  metrics: lazyType(() => ListContactsMetrics$outboundSchema)
59118
59118
  }).transform((v2) => {
59119
59119
  return remap(v2, {
@@ -59864,7 +59864,7 @@ var init_listdatasetdatapoints = __esm(() => {
59864
59864
  created_by_id: stringType().optional(),
59865
59865
  updated_by_id: stringType().optional(),
59866
59866
  created: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
59867
- updated: stringType().datetime({ offset: true }).default("2025-09-16T10:52:14.945Z").transform((v2) => new Date(v2))
59867
+ updated: stringType().datetime({ offset: true }).default("2025-09-18T06:46:59.426Z").transform((v2) => new Date(v2))
59868
59868
  }).transform((v2) => {
59869
59869
  return remap(v2, {
59870
59870
  _id: "id",
@@ -59891,7 +59891,7 @@ var init_listdatasetdatapoints = __esm(() => {
59891
59891
  createdById: stringType().optional(),
59892
59892
  updatedById: stringType().optional(),
59893
59893
  created: dateType().transform((v2) => v2.toISOString()).optional(),
59894
- updated: dateType().default(() => new Date("2025-09-16T10:52:14.945Z")).transform((v2) => v2.toISOString())
59894
+ updated: dateType().default(() => new Date("2025-09-18T06:46:59.426Z")).transform((v2) => v2.toISOString())
59895
59895
  }).transform((v2) => {
59896
59896
  return remap(v2, {
59897
59897
  id: "_id",
@@ -59999,7 +59999,7 @@ var init_listdatasets = __esm(() => {
59999
59999
  updated_by_id: stringType().optional(),
60000
60000
  metadata: lazyType(() => ListDatasetsMetadata$inboundSchema),
60001
60001
  created: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
60002
- updated: stringType().datetime({ offset: true }).default("2025-09-16T10:52:14.945Z").transform((v2) => new Date(v2))
60002
+ updated: stringType().datetime({ offset: true }).default("2025-09-18T06:46:59.426Z").transform((v2) => new Date(v2))
60003
60003
  }).transform((v2) => {
60004
60004
  return remap(v2, {
60005
60005
  _id: "id",
@@ -60019,7 +60019,7 @@ var init_listdatasets = __esm(() => {
60019
60019
  updatedById: stringType().optional(),
60020
60020
  metadata: lazyType(() => ListDatasetsMetadata$outboundSchema),
60021
60021
  created: dateType().transform((v2) => v2.toISOString()).optional(),
60022
- updated: dateType().default(() => new Date("2025-09-16T10:52:14.945Z")).transform((v2) => v2.toISOString())
60022
+ updated: dateType().default(() => new Date("2025-09-18T06:46:59.426Z")).transform((v2) => v2.toISOString())
60023
60023
  }).transform((v2) => {
60024
60024
  return remap(v2, {
60025
60025
  id: "_id",
@@ -60124,7 +60124,7 @@ var init_listdatasources = __esm(() => {
60124
60124
  ListDatasourcesStatus$.outboundSchema = ListDatasourcesStatus$outboundSchema;
60125
60125
  })(ListDatasourcesStatus$ ||= {});
60126
60126
  ListDatasourcesData$inboundSchema = objectType({
60127
- _id: stringType().default("01K592EZEEWFCFS4XTXDJQBEKC"),
60127
+ _id: stringType().default("01K5DS7B98M0KSDMY5CQMXD4SK"),
60128
60128
  display_name: stringType(),
60129
60129
  description: stringType().optional(),
60130
60130
  status: ListDatasourcesStatus$inboundSchema,
@@ -60147,7 +60147,7 @@ var init_listdatasources = __esm(() => {
60147
60147
  });
60148
60148
  });
60149
60149
  ListDatasourcesData$outboundSchema = objectType({
60150
- id: stringType().default("01K592EZEEWFCFS4XTXDJQBEKC"),
60150
+ id: stringType().default("01K5DS7B98M0KSDMY5CQMXD4SK"),
60151
60151
  displayName: stringType(),
60152
60152
  description: stringType().optional(),
60153
60153
  status: ListDatasourcesStatus$outboundSchema,
@@ -61624,41 +61624,6 @@ var init_parse = __esm(() => {
61624
61624
  })(ParseResponseBody$ ||= {});
61625
61625
  });
61626
61626
 
61627
- // src/models/operations/postv2agentsinternal.ts
61628
- var PostV2AgentsInternalRequestBody$inboundSchema, PostV2AgentsInternalRequestBody$outboundSchema, PostV2AgentsInternalRequestBody$;
61629
- var init_postv2agentsinternal = __esm(() => {
61630
- init_esm();
61631
- init_primitives();
61632
- PostV2AgentsInternalRequestBody$inboundSchema = objectType({
61633
- path: stringType(),
61634
- key: stringType(),
61635
- description: stringType(),
61636
- instructions: stringType(),
61637
- model: stringType(),
61638
- fallback_models: arrayType(stringType()).optional()
61639
- }).transform((v2) => {
61640
- return remap(v2, {
61641
- fallback_models: "fallbackModels"
61642
- });
61643
- });
61644
- PostV2AgentsInternalRequestBody$outboundSchema = objectType({
61645
- path: stringType(),
61646
- key: stringType(),
61647
- description: stringType(),
61648
- instructions: stringType(),
61649
- model: stringType(),
61650
- fallbackModels: arrayType(stringType()).optional()
61651
- }).transform((v2) => {
61652
- return remap(v2, {
61653
- fallbackModels: "fallback_models"
61654
- });
61655
- });
61656
- ((PostV2AgentsInternalRequestBody$) => {
61657
- PostV2AgentsInternalRequestBody$.inboundSchema = PostV2AgentsInternalRequestBody$inboundSchema;
61658
- PostV2AgentsInternalRequestBody$.outboundSchema = PostV2AgentsInternalRequestBody$outboundSchema;
61659
- })(PostV2AgentsInternalRequestBody$ ||= {});
61660
- });
61661
-
61662
61627
  // src/models/operations/remoteconfigsgetconfig.ts
61663
61628
  var RemoteConfigsGetConfigType, RemoteConfigsGetConfigRequestBody$inboundSchema, RemoteConfigsGetConfigRequestBody$outboundSchema, RemoteConfigsGetConfigRequestBody$, RemoteConfigsGetConfigType$inboundSchema, RemoteConfigsGetConfigType$outboundSchema, RemoteConfigsGetConfigType$, RemoteConfigsGetConfigResponseBody$inboundSchema, RemoteConfigsGetConfigResponseBody$outboundSchema, RemoteConfigsGetConfigResponseBody$;
61664
61629
  var init_remoteconfigsgetconfig = __esm(() => {
@@ -61879,7 +61844,7 @@ var init_retrievecontact = __esm(() => {
61879
61844
  tags: arrayType(stringType()).optional(),
61880
61845
  metadata: recordType(anyType()).optional(),
61881
61846
  created: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
61882
- updated: stringType().datetime({ offset: true }).default("2025-09-16T10:52:14.945Z").transform((v2) => new Date(v2))
61847
+ updated: stringType().datetime({ offset: true }).default("2025-09-18T06:46:59.426Z").transform((v2) => new Date(v2))
61883
61848
  }).transform((v2) => {
61884
61849
  return remap(v2, {
61885
61850
  _id: "id",
@@ -61897,7 +61862,7 @@ var init_retrievecontact = __esm(() => {
61897
61862
  tags: arrayType(stringType()).optional(),
61898
61863
  metadata: recordType(anyType()).optional(),
61899
61864
  created: dateType().transform((v2) => v2.toISOString()).optional(),
61900
- updated: dateType().default(() => new Date("2025-09-16T10:52:14.945Z")).transform((v2) => v2.toISOString())
61865
+ updated: dateType().default(() => new Date("2025-09-18T06:46:59.426Z")).transform((v2) => v2.toISOString())
61901
61866
  }).transform((v2) => {
61902
61867
  return remap(v2, {
61903
61868
  id: "_id",
@@ -62610,7 +62575,7 @@ var init_retrievedatapoint = __esm(() => {
62610
62575
  created_by_id: stringType().optional(),
62611
62576
  updated_by_id: stringType().optional(),
62612
62577
  created: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
62613
- updated: stringType().datetime({ offset: true }).default("2025-09-16T10:52:14.945Z").transform((v2) => new Date(v2))
62578
+ updated: stringType().datetime({ offset: true }).default("2025-09-18T06:46:59.426Z").transform((v2) => new Date(v2))
62614
62579
  }).transform((v2) => {
62615
62580
  return remap(v2, {
62616
62581
  _id: "id",
@@ -62637,7 +62602,7 @@ var init_retrievedatapoint = __esm(() => {
62637
62602
  createdById: stringType().optional(),
62638
62603
  updatedById: stringType().optional(),
62639
62604
  created: dateType().transform((v2) => v2.toISOString()).optional(),
62640
- updated: dateType().default(() => new Date("2025-09-16T10:52:14.945Z")).transform((v2) => v2.toISOString())
62605
+ updated: dateType().default(() => new Date("2025-09-18T06:46:59.426Z")).transform((v2) => v2.toISOString())
62641
62606
  }).transform((v2) => {
62642
62607
  return remap(v2, {
62643
62608
  id: "_id",
@@ -62708,7 +62673,7 @@ var init_retrievedataset = __esm(() => {
62708
62673
  updated_by_id: stringType().optional(),
62709
62674
  metadata: lazyType(() => RetrieveDatasetMetadata$inboundSchema),
62710
62675
  created: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
62711
- updated: stringType().datetime({ offset: true }).default("2025-09-16T10:52:14.945Z").transform((v2) => new Date(v2))
62676
+ updated: stringType().datetime({ offset: true }).default("2025-09-18T06:46:59.426Z").transform((v2) => new Date(v2))
62712
62677
  }).transform((v2) => {
62713
62678
  return remap(v2, {
62714
62679
  _id: "id",
@@ -62728,7 +62693,7 @@ var init_retrievedataset = __esm(() => {
62728
62693
  updatedById: stringType().optional(),
62729
62694
  metadata: lazyType(() => RetrieveDatasetMetadata$outboundSchema),
62730
62695
  created: dateType().transform((v2) => v2.toISOString()).optional(),
62731
- updated: dateType().default(() => new Date("2025-09-16T10:52:14.945Z")).transform((v2) => v2.toISOString())
62696
+ updated: dateType().default(() => new Date("2025-09-18T06:46:59.426Z")).transform((v2) => v2.toISOString())
62732
62697
  }).transform((v2) => {
62733
62698
  return remap(v2, {
62734
62699
  id: "_id",
@@ -62786,7 +62751,7 @@ var init_retrievedatasource = __esm(() => {
62786
62751
  RetrieveDatasourceStatus$.outboundSchema = RetrieveDatasourceStatus$outboundSchema;
62787
62752
  })(RetrieveDatasourceStatus$ ||= {});
62788
62753
  RetrieveDatasourceResponseBody$inboundSchema = objectType({
62789
- _id: stringType().default("01K592EZEFG7740PTMD62N5TCV"),
62754
+ _id: stringType().default("01K5DS7B99FQP1NTC6C59HDJBC"),
62790
62755
  display_name: stringType(),
62791
62756
  description: stringType().optional(),
62792
62757
  status: RetrieveDatasourceStatus$inboundSchema,
@@ -62809,7 +62774,7 @@ var init_retrievedatasource = __esm(() => {
62809
62774
  });
62810
62775
  });
62811
62776
  RetrieveDatasourceResponseBody$outboundSchema = objectType({
62812
- id: stringType().default("01K592EZEFG7740PTMD62N5TCV"),
62777
+ id: stringType().default("01K5DS7B99FQP1NTC6C59HDJBC"),
62813
62778
  displayName: stringType(),
62814
62779
  description: stringType().optional(),
62815
62780
  status: RetrieveDatasourceStatus$outboundSchema,
@@ -63442,7 +63407,7 @@ var init_reviewaction = __esm(() => {
63442
63407
  });
63443
63408
 
63444
63409
  // src/models/operations/runagent.ts
63445
- var Role2, Role1, RunAgentPartsAgentsRequestKind, RunAgentPartsAgentsKind, RunAgentPartsKind, PartsKind, Kind, RunAgentToolsAgentsRequestRequestBodySettings12Type, Status, RunAgentToolsAgentsRequestRequestBodySettings11Type, Method, RunAgentToolsAgentsRequestRequestBodySettings11HttpType, RunAgentToolsAgentsRequestRequestBodySettings10Type, RunAgentToolsAgentsRequestRequestBodySettings9Type, RunAgentToolsAgentsRequestRequestBodySettings8Type, RunAgentToolsAgentsRequestRequestBodySettings7Type, RunAgentToolsAgentsRequestRequestBodySettingsType, RunAgentToolsAgentsRequestRequestBodyType, RunAgentToolsAgentsRequestType, RunAgentToolsAgentsType, RunAgentToolsType, ToolsType, ToolApprovalRequired, RunAgentKind, RunAgentState, RunAgentAgentsKind, RunAgentAgentsRole, Role2$inboundSchema, Role2$outboundSchema, Role2$, Role1$inboundSchema, Role1$outboundSchema, Role1$, RunAgentRole$inboundSchema, RunAgentRole$outboundSchema, RunAgentRole$, RunAgentPartsAgentsRequestKind$inboundSchema, RunAgentPartsAgentsRequestKind$outboundSchema, RunAgentPartsAgentsRequestKind$, Five$inboundSchema, Five$outboundSchema, Five$, RunAgentPartsAgentsKind$inboundSchema, RunAgentPartsAgentsKind$outboundSchema, RunAgentPartsAgentsKind$, Parts4$inboundSchema, Parts4$outboundSchema, Parts4$, RunAgentPartsKind$inboundSchema, RunAgentPartsKind$outboundSchema, RunAgentPartsKind$, File2$inboundSchema, File2$outboundSchema, File2$, File1$inboundSchema, File1$outboundSchema, File1$, PartsFile$inboundSchema, PartsFile$outboundSchema, PartsFile$, Parts3$inboundSchema, Parts3$outboundSchema, Parts3$, PartsKind$inboundSchema, PartsKind$outboundSchema, PartsKind$, Parts2$inboundSchema, Parts2$outboundSchema, Parts2$, Kind$inboundSchema, Kind$outboundSchema, Kind$, Parts1$inboundSchema, Parts1$outboundSchema, Parts1$, Parts$inboundSchema, Parts$outboundSchema, Parts$, Message$inboundSchema, Message$outboundSchema, Message$, TeamOfAgents$inboundSchema, TeamOfAgents$outboundSchema, TeamOfAgents$, RunAgentToolsAgentsRequestRequestBodySettings12Type$inboundSchema, RunAgentToolsAgentsRequestRequestBodySettings12Type$outboundSchema, RunAgentToolsAgentsRequestRequestBodySettings12Type$, ToolsFunction$inboundSchema, ToolsFunction$outboundSchema, ToolsFunction$, Twelve$inboundSchema, Twelve$outboundSchema, Twelve$, Status$inboundSchema, Status$outboundSchema, Status$, RunAgentToolsAgentsRequestRequestBodySettings11Type$inboundSchema, RunAgentToolsAgentsRequestRequestBodySettings11Type$outboundSchema, RunAgentToolsAgentsRequestRequestBodySettings11Type$, Method$inboundSchema, Method$outboundSchema, Method$, Blueprint$inboundSchema, Blueprint$outboundSchema, Blueprint$, RunAgentToolsAgentsRequestRequestBodySettings11HttpType$inboundSchema, RunAgentToolsAgentsRequestRequestBodySettings11HttpType$outboundSchema, RunAgentToolsAgentsRequestRequestBodySettings11HttpType$, DefaultValue$inboundSchema, DefaultValue$outboundSchema, DefaultValue$, Arguments$inboundSchema, Arguments$outboundSchema, Arguments$, Http$inboundSchema, Http$outboundSchema, Http$, Eleven$inboundSchema, Eleven$outboundSchema, Eleven$, RunAgentToolsAgentsRequestRequestBodySettings10Type$inboundSchema, RunAgentToolsAgentsRequestRequestBodySettings10Type$outboundSchema, RunAgentToolsAgentsRequestRequestBodySettings10Type$, Ten$inboundSchema, Ten$outboundSchema, Ten$, RunAgentToolsAgentsRequestRequestBodySettings9Type$inboundSchema, RunAgentToolsAgentsRequestRequestBodySettings9Type$outboundSchema, RunAgentToolsAgentsRequestRequestBodySettings9Type$, Nine$inboundSchema, Nine$outboundSchema, Nine$, RunAgentToolsAgentsRequestRequestBodySettings8Type$inboundSchema, RunAgentToolsAgentsRequestRequestBodySettings8Type$outboundSchema, RunAgentToolsAgentsRequestRequestBodySettings8Type$, Eight$inboundSchema, Eight$outboundSchema, Eight$, RunAgentToolsAgentsRequestRequestBodySettings7Type$inboundSchema, RunAgentToolsAgentsRequestRequestBodySettings7Type$outboundSchema, RunAgentToolsAgentsRequestRequestBodySettings7Type$, Seven$inboundSchema, Seven$outboundSchema, Seven$, RunAgentToolsAgentsRequestRequestBodySettingsType$inboundSchema, RunAgentToolsAgentsRequestRequestBodySettingsType$outboundSchema, RunAgentToolsAgentsRequestRequestBodySettingsType$, Six$inboundSchema, Six$outboundSchema, Six$, RunAgentToolsAgentsRequestRequestBodyType$inboundSchema, RunAgentToolsAgentsRequestRequestBodyType$outboundSchema, RunAgentToolsAgentsRequestRequestBodyType$, Tools5$inboundSchema, Tools5$outboundSchema, Tools5$, RunAgentToolsAgentsRequestType$inboundSchema, RunAgentToolsAgentsRequestType$outboundSchema, RunAgentToolsAgentsRequestType$, Tools4$inboundSchema, Tools4$outboundSchema, Tools4$, RunAgentToolsAgentsType$inboundSchema, RunAgentToolsAgentsType$outboundSchema, RunAgentToolsAgentsType$, Tools3$inboundSchema, Tools3$outboundSchema, Tools3$, RunAgentToolsType$inboundSchema, RunAgentToolsType$outboundSchema, RunAgentToolsType$, Tools2$inboundSchema, Tools2$outboundSchema, Tools2$, ToolsType$inboundSchema, ToolsType$outboundSchema, ToolsType$, Tools1$inboundSchema, Tools1$outboundSchema, Tools1$, Tools$inboundSchema, Tools$outboundSchema, Tools$, ToolApprovalRequired$inboundSchema, ToolApprovalRequired$outboundSchema, ToolApprovalRequired$, Settings$inboundSchema, Settings$outboundSchema, Settings$, RunAgentRequestBody$inboundSchema, RunAgentRequestBody$outboundSchema, RunAgentRequestBody$, RunAgentKind$inboundSchema, RunAgentKind$outboundSchema, RunAgentKind$, RunAgentState$inboundSchema, RunAgentState$outboundSchema, RunAgentState$, RunAgentAgentsKind$inboundSchema, RunAgentAgentsKind$outboundSchema, RunAgentAgentsKind$, RunAgentAgentsRole$inboundSchema, RunAgentAgentsRole$outboundSchema, RunAgentAgentsRole$, RunAgentMessage$inboundSchema, RunAgentMessage$outboundSchema, RunAgentMessage$, RunAgentStatus$inboundSchema, RunAgentStatus$outboundSchema, RunAgentStatus$, RunAgentResponseBody$inboundSchema, RunAgentResponseBody$outboundSchema, RunAgentResponseBody$;
63410
+ var Role2, Role1, RunAgentPartsAgentsRequestKind, RunAgentPartsAgentsKind, RunAgentPartsKind, PartsKind, Kind, RunAgentConfigurationType, ConfigurationType, RunAgentToolsAgentsRequestRequestBodySettings12Type, Status, RunAgentToolsAgentsRequestRequestBodySettings11Type, Method, RunAgentToolsAgentsRequestRequestBodySettings11HttpType, RunAgentToolsAgentsRequestRequestBodySettings10Type, RunAgentToolsAgentsRequestRequestBodySettings9Type, RunAgentToolsAgentsRequestRequestBodySettings8Type, RunAgentToolsAgentsRequestRequestBodySettings7Type, RunAgentToolsAgentsRequestRequestBodySettingsType, RunAgentToolsAgentsRequestRequestBodyType, RunAgentToolsAgentsRequestType, RunAgentToolsAgentsType, RunAgentToolsType, ToolsType, ToolApprovalRequired, RunAgentKind, RunAgentState, RunAgentAgentsKind, RunAgentAgentsRole, Role2$inboundSchema, Role2$outboundSchema, Role2$, Role1$inboundSchema, Role1$outboundSchema, Role1$, RunAgentRole$inboundSchema, RunAgentRole$outboundSchema, RunAgentRole$, RunAgentPartsAgentsRequestKind$inboundSchema, RunAgentPartsAgentsRequestKind$outboundSchema, RunAgentPartsAgentsRequestKind$, Five$inboundSchema, Five$outboundSchema, Five$, RunAgentPartsAgentsKind$inboundSchema, RunAgentPartsAgentsKind$outboundSchema, RunAgentPartsAgentsKind$, Parts4$inboundSchema, Parts4$outboundSchema, Parts4$, RunAgentPartsKind$inboundSchema, RunAgentPartsKind$outboundSchema, RunAgentPartsKind$, File2$inboundSchema, File2$outboundSchema, File2$, File1$inboundSchema, File1$outboundSchema, File1$, PartsFile$inboundSchema, PartsFile$outboundSchema, PartsFile$, Parts3$inboundSchema, Parts3$outboundSchema, Parts3$, PartsKind$inboundSchema, PartsKind$outboundSchema, PartsKind$, Parts2$inboundSchema, Parts2$outboundSchema, Parts2$, Kind$inboundSchema, Kind$outboundSchema, Kind$, Parts1$inboundSchema, Parts1$outboundSchema, Parts1$, Parts$inboundSchema, Parts$outboundSchema, Parts$, Message$inboundSchema, Message$outboundSchema, Message$, RunAgentConfigurationType$inboundSchema, RunAgentConfigurationType$outboundSchema, RunAgentConfigurationType$, Configuration2$inboundSchema, Configuration2$outboundSchema, Configuration2$, ConfigurationType$inboundSchema, ConfigurationType$outboundSchema, ConfigurationType$, Configuration1$inboundSchema, Configuration1$outboundSchema, Configuration1$, Configuration$inboundSchema, Configuration$outboundSchema, Configuration$, KnowledgeBases$inboundSchema, KnowledgeBases$outboundSchema, KnowledgeBases$, TeamOfAgents$inboundSchema, TeamOfAgents$outboundSchema, TeamOfAgents$, RunAgentToolsAgentsRequestRequestBodySettings12Type$inboundSchema, RunAgentToolsAgentsRequestRequestBodySettings12Type$outboundSchema, RunAgentToolsAgentsRequestRequestBodySettings12Type$, ToolsFunction$inboundSchema, ToolsFunction$outboundSchema, ToolsFunction$, Twelve$inboundSchema, Twelve$outboundSchema, Twelve$, Status$inboundSchema, Status$outboundSchema, Status$, RunAgentToolsAgentsRequestRequestBodySettings11Type$inboundSchema, RunAgentToolsAgentsRequestRequestBodySettings11Type$outboundSchema, RunAgentToolsAgentsRequestRequestBodySettings11Type$, Method$inboundSchema, Method$outboundSchema, Method$, Blueprint$inboundSchema, Blueprint$outboundSchema, Blueprint$, RunAgentToolsAgentsRequestRequestBodySettings11HttpType$inboundSchema, RunAgentToolsAgentsRequestRequestBodySettings11HttpType$outboundSchema, RunAgentToolsAgentsRequestRequestBodySettings11HttpType$, DefaultValue$inboundSchema, DefaultValue$outboundSchema, DefaultValue$, Arguments$inboundSchema, Arguments$outboundSchema, Arguments$, Http$inboundSchema, Http$outboundSchema, Http$, Eleven$inboundSchema, Eleven$outboundSchema, Eleven$, RunAgentToolsAgentsRequestRequestBodySettings10Type$inboundSchema, RunAgentToolsAgentsRequestRequestBodySettings10Type$outboundSchema, RunAgentToolsAgentsRequestRequestBodySettings10Type$, Ten$inboundSchema, Ten$outboundSchema, Ten$, RunAgentToolsAgentsRequestRequestBodySettings9Type$inboundSchema, RunAgentToolsAgentsRequestRequestBodySettings9Type$outboundSchema, RunAgentToolsAgentsRequestRequestBodySettings9Type$, Nine$inboundSchema, Nine$outboundSchema, Nine$, RunAgentToolsAgentsRequestRequestBodySettings8Type$inboundSchema, RunAgentToolsAgentsRequestRequestBodySettings8Type$outboundSchema, RunAgentToolsAgentsRequestRequestBodySettings8Type$, Eight$inboundSchema, Eight$outboundSchema, Eight$, RunAgentToolsAgentsRequestRequestBodySettings7Type$inboundSchema, RunAgentToolsAgentsRequestRequestBodySettings7Type$outboundSchema, RunAgentToolsAgentsRequestRequestBodySettings7Type$, Seven$inboundSchema, Seven$outboundSchema, Seven$, RunAgentToolsAgentsRequestRequestBodySettingsType$inboundSchema, RunAgentToolsAgentsRequestRequestBodySettingsType$outboundSchema, RunAgentToolsAgentsRequestRequestBodySettingsType$, Six$inboundSchema, Six$outboundSchema, Six$, RunAgentToolsAgentsRequestRequestBodyType$inboundSchema, RunAgentToolsAgentsRequestRequestBodyType$outboundSchema, RunAgentToolsAgentsRequestRequestBodyType$, Tools5$inboundSchema, Tools5$outboundSchema, Tools5$, RunAgentToolsAgentsRequestType$inboundSchema, RunAgentToolsAgentsRequestType$outboundSchema, RunAgentToolsAgentsRequestType$, Tools4$inboundSchema, Tools4$outboundSchema, Tools4$, RunAgentToolsAgentsType$inboundSchema, RunAgentToolsAgentsType$outboundSchema, RunAgentToolsAgentsType$, Tools3$inboundSchema, Tools3$outboundSchema, Tools3$, RunAgentToolsType$inboundSchema, RunAgentToolsType$outboundSchema, RunAgentToolsType$, Tools2$inboundSchema, Tools2$outboundSchema, Tools2$, ToolsType$inboundSchema, ToolsType$outboundSchema, ToolsType$, Tools1$inboundSchema, Tools1$outboundSchema, Tools1$, Tools$inboundSchema, Tools$outboundSchema, Tools$, ToolApprovalRequired$inboundSchema, ToolApprovalRequired$outboundSchema, ToolApprovalRequired$, Settings$inboundSchema, Settings$outboundSchema, Settings$, RunAgentRequestBody$inboundSchema, RunAgentRequestBody$outboundSchema, RunAgentRequestBody$, RunAgentKind$inboundSchema, RunAgentKind$outboundSchema, RunAgentKind$, RunAgentState$inboundSchema, RunAgentState$outboundSchema, RunAgentState$, RunAgentAgentsKind$inboundSchema, RunAgentAgentsKind$outboundSchema, RunAgentAgentsKind$, RunAgentAgentsRole$inboundSchema, RunAgentAgentsRole$outboundSchema, RunAgentAgentsRole$, RunAgentMessage$inboundSchema, RunAgentMessage$outboundSchema, RunAgentMessage$, RunAgentStatus$inboundSchema, RunAgentStatus$outboundSchema, RunAgentStatus$, RunAgentResponseBody$inboundSchema, RunAgentResponseBody$outboundSchema, RunAgentResponseBody$;
63446
63411
  var init_runagent = __esm(() => {
63447
63412
  init_esm();
63448
63413
  init_primitives();
@@ -63467,6 +63432,12 @@ var init_runagent = __esm(() => {
63467
63432
  Kind = {
63468
63433
  Text: "text"
63469
63434
  };
63435
+ RunAgentConfigurationType = {
63436
+ Query: "query"
63437
+ };
63438
+ ConfigurationType = {
63439
+ LastUserMessage: "last_user_message"
63440
+ };
63470
63441
  RunAgentToolsAgentsRequestRequestBodySettings12Type = {
63471
63442
  Function: "function"
63472
63443
  };
@@ -63780,6 +63751,68 @@ var init_runagent = __esm(() => {
63780
63751
  Message$.inboundSchema = Message$inboundSchema;
63781
63752
  Message$.outboundSchema = Message$outboundSchema;
63782
63753
  })(Message$ ||= {});
63754
+ RunAgentConfigurationType$inboundSchema = nativeEnumType(RunAgentConfigurationType);
63755
+ RunAgentConfigurationType$outboundSchema = RunAgentConfigurationType$inboundSchema;
63756
+ ((RunAgentConfigurationType$) => {
63757
+ RunAgentConfigurationType$.inboundSchema = RunAgentConfigurationType$inboundSchema;
63758
+ RunAgentConfigurationType$.outboundSchema = RunAgentConfigurationType$outboundSchema;
63759
+ })(RunAgentConfigurationType$ ||= {});
63760
+ Configuration2$inboundSchema = objectType({
63761
+ type: RunAgentConfigurationType$inboundSchema,
63762
+ query: stringType()
63763
+ });
63764
+ Configuration2$outboundSchema = objectType({
63765
+ type: RunAgentConfigurationType$outboundSchema,
63766
+ query: stringType()
63767
+ });
63768
+ ((Configuration2$) => {
63769
+ Configuration2$.inboundSchema = Configuration2$inboundSchema;
63770
+ Configuration2$.outboundSchema = Configuration2$outboundSchema;
63771
+ })(Configuration2$ ||= {});
63772
+ ConfigurationType$inboundSchema = nativeEnumType(ConfigurationType);
63773
+ ConfigurationType$outboundSchema = ConfigurationType$inboundSchema;
63774
+ ((ConfigurationType$) => {
63775
+ ConfigurationType$.inboundSchema = ConfigurationType$inboundSchema;
63776
+ ConfigurationType$.outboundSchema = ConfigurationType$outboundSchema;
63777
+ })(ConfigurationType$ ||= {});
63778
+ Configuration1$inboundSchema = objectType({
63779
+ type: ConfigurationType$inboundSchema
63780
+ });
63781
+ Configuration1$outboundSchema = objectType({
63782
+ type: ConfigurationType$outboundSchema
63783
+ });
63784
+ ((Configuration1$) => {
63785
+ Configuration1$.inboundSchema = Configuration1$inboundSchema;
63786
+ Configuration1$.outboundSchema = Configuration1$outboundSchema;
63787
+ })(Configuration1$ ||= {});
63788
+ Configuration$inboundSchema = unionType([
63789
+ lazyType(() => Configuration2$inboundSchema),
63790
+ lazyType(() => Configuration1$inboundSchema)
63791
+ ]);
63792
+ Configuration$outboundSchema = unionType([
63793
+ lazyType(() => Configuration2$outboundSchema),
63794
+ lazyType(() => Configuration1$outboundSchema)
63795
+ ]);
63796
+ ((Configuration$) => {
63797
+ Configuration$.inboundSchema = Configuration$inboundSchema;
63798
+ Configuration$.outboundSchema = Configuration$outboundSchema;
63799
+ })(Configuration$ ||= {});
63800
+ KnowledgeBases$inboundSchema = objectType({
63801
+ configuration: unionType([
63802
+ lazyType(() => Configuration2$inboundSchema),
63803
+ lazyType(() => Configuration1$inboundSchema)
63804
+ ])
63805
+ });
63806
+ KnowledgeBases$outboundSchema = objectType({
63807
+ configuration: unionType([
63808
+ lazyType(() => Configuration2$outboundSchema),
63809
+ lazyType(() => Configuration1$outboundSchema)
63810
+ ])
63811
+ });
63812
+ ((KnowledgeBases$) => {
63813
+ KnowledgeBases$.inboundSchema = KnowledgeBases$inboundSchema;
63814
+ KnowledgeBases$.outboundSchema = KnowledgeBases$outboundSchema;
63815
+ })(KnowledgeBases$ ||= {});
63783
63816
  TeamOfAgents$inboundSchema = objectType({
63784
63817
  _id: stringType(),
63785
63818
  role: stringType().optional()
@@ -63941,7 +63974,7 @@ var init_runagent = __esm(() => {
63941
63974
  Http$.outboundSchema = Http$outboundSchema;
63942
63975
  })(Http$ ||= {});
63943
63976
  Eleven$inboundSchema = objectType({
63944
- _id: stringType().default("01K592EZADMJQP3DNFNP9GCMH8"),
63977
+ _id: stringType().default("01K5DS7B5TD01V1SFT51HDT1XG"),
63945
63978
  path: stringType(),
63946
63979
  key: stringType(),
63947
63980
  display_name: stringType(),
@@ -63960,7 +63993,7 @@ var init_runagent = __esm(() => {
63960
63993
  });
63961
63994
  });
63962
63995
  Eleven$outboundSchema = objectType({
63963
- id: stringType().default("01K592EZADMJQP3DNFNP9GCMH8"),
63996
+ id: stringType().default("01K5DS7B5TD01V1SFT51HDT1XG"),
63964
63997
  path: stringType(),
63965
63998
  key: stringType(),
63966
63999
  displayName: stringType(),
@@ -64350,7 +64383,7 @@ var init_runagent = __esm(() => {
64350
64383
  iconUrl: stringType().optional(),
64351
64384
  system_prompt: stringType().optional(),
64352
64385
  memory_stores: arrayType(stringType()).optional(),
64353
- knowledge_bases: arrayType(stringType()).optional(),
64386
+ knowledge_bases: arrayType(lazyType(() => KnowledgeBases$inboundSchema)).optional(),
64354
64387
  team_of_agents: arrayType(lazyType(() => TeamOfAgents$inboundSchema)).optional(),
64355
64388
  settings: lazyType(() => Settings$inboundSchema)
64356
64389
  }).transform((v2) => {
@@ -64379,7 +64412,7 @@ var init_runagent = __esm(() => {
64379
64412
  iconUrl: stringType().optional(),
64380
64413
  systemPrompt: stringType().optional(),
64381
64414
  memoryStores: arrayType(stringType()).optional(),
64382
- knowledgeBases: arrayType(stringType()).optional(),
64415
+ knowledgeBases: arrayType(lazyType(() => KnowledgeBases$outboundSchema)).optional(),
64383
64416
  teamOfAgents: arrayType(lazyType(() => TeamOfAgents$outboundSchema)).optional(),
64384
64417
  settings: lazyType(() => Settings$outboundSchema)
64385
64418
  }).transform((v2) => {
@@ -64471,7 +64504,7 @@ var init_runagent = __esm(() => {
64471
64504
  });
64472
64505
 
64473
64506
  // src/models/operations/searchknowledge.ts
64474
- var SearchType, SearchKnowledgeProvider, SearchKnowledgeModelType, SearchKnowledgeKnowledgeProvider, SearchType$inboundSchema, SearchType$outboundSchema, SearchType$, SearchKnowledgeOrExists$inboundSchema, SearchKnowledgeOrExists$outboundSchema, SearchKnowledgeOrExists$, SearchKnowledgeOrKnowledgeNin$inboundSchema, SearchKnowledgeOrKnowledgeNin$outboundSchema, SearchKnowledgeOrKnowledgeNin$, SearchKnowledgeOrNin$inboundSchema, SearchKnowledgeOrNin$outboundSchema, SearchKnowledgeOrNin$, SearchKnowledgeOrKnowledgeIn$inboundSchema, SearchKnowledgeOrKnowledgeIn$outboundSchema, SearchKnowledgeOrKnowledgeIn$, SearchKnowledgeOrIn$inboundSchema, SearchKnowledgeOrIn$outboundSchema, SearchKnowledgeOrIn$, SearchKnowledgeOrLte$inboundSchema, SearchKnowledgeOrLte$outboundSchema, SearchKnowledgeOrLte$, SearchKnowledgeOrLt$inboundSchema, SearchKnowledgeOrLt$outboundSchema, SearchKnowledgeOrLt$, SearchKnowledgeOrGte$inboundSchema, SearchKnowledgeOrGte$outboundSchema, SearchKnowledgeOrGte$, SearchKnowledgeOr3$inboundSchema, SearchKnowledgeOr3$outboundSchema, SearchKnowledgeOr3$, SearchKnowledgeOrKnowledgeNe$inboundSchema, SearchKnowledgeOrKnowledgeNe$outboundSchema, SearchKnowledgeOrKnowledgeNe$, SearchKnowledgeOrNe$inboundSchema, SearchKnowledgeOrNe$outboundSchema, SearchKnowledgeOrNe$, SearchKnowledgeOrKnowledgeEq$inboundSchema, SearchKnowledgeOrKnowledgeEq$outboundSchema, SearchKnowledgeOrKnowledgeEq$, SearchKnowledgeOrEq$inboundSchema, SearchKnowledgeOrEq$outboundSchema, SearchKnowledgeOrEq$, SearchKnowledgeFilterByOr$inboundSchema, SearchKnowledgeFilterByOr$outboundSchema, SearchKnowledgeFilterByOr$, FilterByOr$inboundSchema, FilterByOr$outboundSchema, FilterByOr$, SearchKnowledgeAndExists$inboundSchema, SearchKnowledgeAndExists$outboundSchema, SearchKnowledgeAndExists$, SearchKnowledgeAndKnowledgeNin$inboundSchema, SearchKnowledgeAndKnowledgeNin$outboundSchema, SearchKnowledgeAndKnowledgeNin$, SearchKnowledgeAndNin$inboundSchema, SearchKnowledgeAndNin$outboundSchema, SearchKnowledgeAndNin$, SearchKnowledgeAndKnowledgeIn$inboundSchema, SearchKnowledgeAndKnowledgeIn$outboundSchema, SearchKnowledgeAndKnowledgeIn$, SearchKnowledgeAndIn$inboundSchema, SearchKnowledgeAndIn$outboundSchema, SearchKnowledgeAndIn$, SearchKnowledgeAndLte$inboundSchema, SearchKnowledgeAndLte$outboundSchema, SearchKnowledgeAndLte$, SearchKnowledgeAndLt$inboundSchema, SearchKnowledgeAndLt$outboundSchema, SearchKnowledgeAndLt$, SearchKnowledgeAndGte$inboundSchema, SearchKnowledgeAndGte$outboundSchema, SearchKnowledgeAndGte$, SearchKnowledgeAnd3$inboundSchema, SearchKnowledgeAnd3$outboundSchema, SearchKnowledgeAnd3$, SearchKnowledgeAndKnowledgeNe$inboundSchema, SearchKnowledgeAndKnowledgeNe$outboundSchema, SearchKnowledgeAndKnowledgeNe$, SearchKnowledgeAndNe$inboundSchema, SearchKnowledgeAndNe$outboundSchema, SearchKnowledgeAndNe$, SearchKnowledgeAndKnowledgeEq$inboundSchema, SearchKnowledgeAndKnowledgeEq$outboundSchema, SearchKnowledgeAndKnowledgeEq$, SearchKnowledgeAndEq$inboundSchema, SearchKnowledgeAndEq$outboundSchema, SearchKnowledgeAndEq$, SearchKnowledgeFilterByAnd$inboundSchema, SearchKnowledgeFilterByAnd$outboundSchema, SearchKnowledgeFilterByAnd$, FilterByAnd$inboundSchema, FilterByAnd$outboundSchema, FilterByAnd$, SearchKnowledge1Exists$inboundSchema, SearchKnowledge1Exists$outboundSchema, SearchKnowledge1Exists$, SearchKnowledge1KnowledgeNin$inboundSchema, SearchKnowledge1KnowledgeNin$outboundSchema, SearchKnowledge1KnowledgeNin$, SearchKnowledge1Nin$inboundSchema, SearchKnowledge1Nin$outboundSchema, SearchKnowledge1Nin$, SearchKnowledge1KnowledgeIn$inboundSchema, SearchKnowledge1KnowledgeIn$outboundSchema, SearchKnowledge1KnowledgeIn$, SearchKnowledge1In$inboundSchema, SearchKnowledge1In$outboundSchema, SearchKnowledge1In$, SearchKnowledge1Lte$inboundSchema, SearchKnowledge1Lte$outboundSchema, SearchKnowledge1Lte$, SearchKnowledge1Lt$inboundSchema, SearchKnowledge1Lt$outboundSchema, SearchKnowledge1Lt$, SearchKnowledge1Gte$inboundSchema, SearchKnowledge1Gte$outboundSchema, SearchKnowledge1Gte$, SearchKnowledge13$inboundSchema, SearchKnowledge13$outboundSchema, SearchKnowledge13$, SearchKnowledge1KnowledgeNe$inboundSchema, SearchKnowledge1KnowledgeNe$outboundSchema, SearchKnowledge1KnowledgeNe$, SearchKnowledge1Ne$inboundSchema, SearchKnowledge1Ne$outboundSchema, SearchKnowledge1Ne$, SearchKnowledge1KnowledgeEq$inboundSchema, SearchKnowledge1KnowledgeEq$outboundSchema, SearchKnowledge1KnowledgeEq$, SearchKnowledge1Eq$inboundSchema, SearchKnowledge1Eq$outboundSchema, SearchKnowledge1Eq$, FilterBy1$inboundSchema, FilterBy1$outboundSchema, FilterBy1$, FilterBy$inboundSchema, FilterBy$outboundSchema, FilterBy$, SearchOptions$inboundSchema, SearchOptions$outboundSchema, SearchOptions$, SearchKnowledgeProvider$inboundSchema, SearchKnowledgeProvider$outboundSchema, SearchKnowledgeProvider$, SearchKnowledgeModelType$inboundSchema, SearchKnowledgeModelType$outboundSchema, SearchKnowledgeModelType$, SearchKnowledgeModelParameters$inboundSchema, SearchKnowledgeModelParameters$outboundSchema, SearchKnowledgeModelParameters$, SearchKnowledgeRerankConfig$inboundSchema, SearchKnowledgeRerankConfig$outboundSchema, SearchKnowledgeRerankConfig$, SearchKnowledgeKnowledgeProvider$inboundSchema, SearchKnowledgeKnowledgeProvider$outboundSchema, SearchKnowledgeKnowledgeProvider$, SearchKnowledgeAgenticRagConfig$inboundSchema, SearchKnowledgeAgenticRagConfig$outboundSchema, SearchKnowledgeAgenticRagConfig$, SearchKnowledgeRequestBody$inboundSchema, SearchKnowledgeRequestBody$outboundSchema, SearchKnowledgeRequestBody$, SearchKnowledgeRequest$inboundSchema, SearchKnowledgeRequest$outboundSchema, SearchKnowledgeRequest$, Scores$inboundSchema, Scores$outboundSchema, Scores$, Matches$inboundSchema, Matches$outboundSchema, Matches$, SearchKnowledgeResponseBody$inboundSchema, SearchKnowledgeResponseBody$outboundSchema, SearchKnowledgeResponseBody$;
64507
+ var SearchType, SearchType$inboundSchema, SearchType$outboundSchema, SearchType$, SearchKnowledgeOrExists$inboundSchema, SearchKnowledgeOrExists$outboundSchema, SearchKnowledgeOrExists$, SearchKnowledgeOrKnowledgeNin$inboundSchema, SearchKnowledgeOrKnowledgeNin$outboundSchema, SearchKnowledgeOrKnowledgeNin$, SearchKnowledgeOrNin$inboundSchema, SearchKnowledgeOrNin$outboundSchema, SearchKnowledgeOrNin$, SearchKnowledgeOrKnowledgeIn$inboundSchema, SearchKnowledgeOrKnowledgeIn$outboundSchema, SearchKnowledgeOrKnowledgeIn$, SearchKnowledgeOrIn$inboundSchema, SearchKnowledgeOrIn$outboundSchema, SearchKnowledgeOrIn$, SearchKnowledgeOrLte$inboundSchema, SearchKnowledgeOrLte$outboundSchema, SearchKnowledgeOrLte$, SearchKnowledgeOrLt$inboundSchema, SearchKnowledgeOrLt$outboundSchema, SearchKnowledgeOrLt$, SearchKnowledgeOrGte$inboundSchema, SearchKnowledgeOrGte$outboundSchema, SearchKnowledgeOrGte$, SearchKnowledgeOr3$inboundSchema, SearchKnowledgeOr3$outboundSchema, SearchKnowledgeOr3$, SearchKnowledgeOrKnowledgeNe$inboundSchema, SearchKnowledgeOrKnowledgeNe$outboundSchema, SearchKnowledgeOrKnowledgeNe$, SearchKnowledgeOrNe$inboundSchema, SearchKnowledgeOrNe$outboundSchema, SearchKnowledgeOrNe$, SearchKnowledgeOrKnowledgeEq$inboundSchema, SearchKnowledgeOrKnowledgeEq$outboundSchema, SearchKnowledgeOrKnowledgeEq$, SearchKnowledgeOrEq$inboundSchema, SearchKnowledgeOrEq$outboundSchema, SearchKnowledgeOrEq$, SearchKnowledgeFilterByOr$inboundSchema, SearchKnowledgeFilterByOr$outboundSchema, SearchKnowledgeFilterByOr$, FilterByOr$inboundSchema, FilterByOr$outboundSchema, FilterByOr$, SearchKnowledgeAndExists$inboundSchema, SearchKnowledgeAndExists$outboundSchema, SearchKnowledgeAndExists$, SearchKnowledgeAndKnowledgeNin$inboundSchema, SearchKnowledgeAndKnowledgeNin$outboundSchema, SearchKnowledgeAndKnowledgeNin$, SearchKnowledgeAndNin$inboundSchema, SearchKnowledgeAndNin$outboundSchema, SearchKnowledgeAndNin$, SearchKnowledgeAndKnowledgeIn$inboundSchema, SearchKnowledgeAndKnowledgeIn$outboundSchema, SearchKnowledgeAndKnowledgeIn$, SearchKnowledgeAndIn$inboundSchema, SearchKnowledgeAndIn$outboundSchema, SearchKnowledgeAndIn$, SearchKnowledgeAndLte$inboundSchema, SearchKnowledgeAndLte$outboundSchema, SearchKnowledgeAndLte$, SearchKnowledgeAndLt$inboundSchema, SearchKnowledgeAndLt$outboundSchema, SearchKnowledgeAndLt$, SearchKnowledgeAndGte$inboundSchema, SearchKnowledgeAndGte$outboundSchema, SearchKnowledgeAndGte$, SearchKnowledgeAnd3$inboundSchema, SearchKnowledgeAnd3$outboundSchema, SearchKnowledgeAnd3$, SearchKnowledgeAndKnowledgeNe$inboundSchema, SearchKnowledgeAndKnowledgeNe$outboundSchema, SearchKnowledgeAndKnowledgeNe$, SearchKnowledgeAndNe$inboundSchema, SearchKnowledgeAndNe$outboundSchema, SearchKnowledgeAndNe$, SearchKnowledgeAndKnowledgeEq$inboundSchema, SearchKnowledgeAndKnowledgeEq$outboundSchema, SearchKnowledgeAndKnowledgeEq$, SearchKnowledgeAndEq$inboundSchema, SearchKnowledgeAndEq$outboundSchema, SearchKnowledgeAndEq$, SearchKnowledgeFilterByAnd$inboundSchema, SearchKnowledgeFilterByAnd$outboundSchema, SearchKnowledgeFilterByAnd$, FilterByAnd$inboundSchema, FilterByAnd$outboundSchema, FilterByAnd$, SearchKnowledge1Exists$inboundSchema, SearchKnowledge1Exists$outboundSchema, SearchKnowledge1Exists$, SearchKnowledge1KnowledgeNin$inboundSchema, SearchKnowledge1KnowledgeNin$outboundSchema, SearchKnowledge1KnowledgeNin$, SearchKnowledge1Nin$inboundSchema, SearchKnowledge1Nin$outboundSchema, SearchKnowledge1Nin$, SearchKnowledge1KnowledgeIn$inboundSchema, SearchKnowledge1KnowledgeIn$outboundSchema, SearchKnowledge1KnowledgeIn$, SearchKnowledge1In$inboundSchema, SearchKnowledge1In$outboundSchema, SearchKnowledge1In$, SearchKnowledge1Lte$inboundSchema, SearchKnowledge1Lte$outboundSchema, SearchKnowledge1Lte$, SearchKnowledge1Lt$inboundSchema, SearchKnowledge1Lt$outboundSchema, SearchKnowledge1Lt$, SearchKnowledge1Gte$inboundSchema, SearchKnowledge1Gte$outboundSchema, SearchKnowledge1Gte$, SearchKnowledge13$inboundSchema, SearchKnowledge13$outboundSchema, SearchKnowledge13$, SearchKnowledge1KnowledgeNe$inboundSchema, SearchKnowledge1KnowledgeNe$outboundSchema, SearchKnowledge1KnowledgeNe$, SearchKnowledge1Ne$inboundSchema, SearchKnowledge1Ne$outboundSchema, SearchKnowledge1Ne$, SearchKnowledge1KnowledgeEq$inboundSchema, SearchKnowledge1KnowledgeEq$outboundSchema, SearchKnowledge1KnowledgeEq$, SearchKnowledge1Eq$inboundSchema, SearchKnowledge1Eq$outboundSchema, SearchKnowledge1Eq$, FilterBy1$inboundSchema, FilterBy1$outboundSchema, FilterBy1$, FilterBy$inboundSchema, FilterBy$outboundSchema, FilterBy$, SearchOptions$inboundSchema, SearchOptions$outboundSchema, SearchOptions$, SearchKnowledgeRerankConfig$inboundSchema, SearchKnowledgeRerankConfig$outboundSchema, SearchKnowledgeRerankConfig$, SearchKnowledgeAgenticRagConfig$inboundSchema, SearchKnowledgeAgenticRagConfig$outboundSchema, SearchKnowledgeAgenticRagConfig$, SearchKnowledgeRequestBody$inboundSchema, SearchKnowledgeRequestBody$outboundSchema, SearchKnowledgeRequestBody$, SearchKnowledgeRequest$inboundSchema, SearchKnowledgeRequest$outboundSchema, SearchKnowledgeRequest$, Scores$inboundSchema, Scores$outboundSchema, Scores$, Matches$inboundSchema, Matches$outboundSchema, Matches$, SearchKnowledgeResponseBody$inboundSchema, SearchKnowledgeResponseBody$outboundSchema, SearchKnowledgeResponseBody$;
64475
64508
  var init_searchknowledge = __esm(() => {
64476
64509
  init_esm();
64477
64510
  init_primitives();
@@ -64480,57 +64513,6 @@ var init_searchknowledge = __esm(() => {
64480
64513
  KeywordSearch: "keyword_search",
64481
64514
  HybridSearch: "hybrid_search"
64482
64515
  };
64483
- SearchKnowledgeProvider = {
64484
- Cohere: "cohere",
64485
- Openai: "openai",
64486
- Anthropic: "anthropic",
64487
- Huggingface: "huggingface",
64488
- Replicate: "replicate",
64489
- Google: "google",
64490
- GoogleAi: "google-ai",
64491
- Azure: "azure",
64492
- Aws: "aws",
64493
- Anyscale: "anyscale",
64494
- Perplexity: "perplexity",
64495
- Groq: "groq",
64496
- Fal: "fal",
64497
- Leonardoai: "leonardoai",
64498
- Nvidia: "nvidia",
64499
- Jina: "jina",
64500
- Togetherai: "togetherai",
64501
- Elevenlabs: "elevenlabs",
64502
- Litellm: "litellm",
64503
- Openailike: "openailike",
64504
- Cerebras: "cerebras",
64505
- Bytedance: "bytedance"
64506
- };
64507
- SearchKnowledgeModelType = {
64508
- Rerank: "rerank"
64509
- };
64510
- SearchKnowledgeKnowledgeProvider = {
64511
- Cohere: "cohere",
64512
- Openai: "openai",
64513
- Anthropic: "anthropic",
64514
- Huggingface: "huggingface",
64515
- Replicate: "replicate",
64516
- Google: "google",
64517
- GoogleAi: "google-ai",
64518
- Azure: "azure",
64519
- Aws: "aws",
64520
- Anyscale: "anyscale",
64521
- Perplexity: "perplexity",
64522
- Groq: "groq",
64523
- Fal: "fal",
64524
- Leonardoai: "leonardoai",
64525
- Nvidia: "nvidia",
64526
- Jina: "jina",
64527
- Togetherai: "togetherai",
64528
- Elevenlabs: "elevenlabs",
64529
- Litellm: "litellm",
64530
- Openailike: "openailike",
64531
- Cerebras: "cerebras",
64532
- Bytedance: "bytedance"
64533
- };
64534
64516
  SearchType$inboundSchema = nativeEnumType(SearchType);
64535
64517
  SearchType$outboundSchema = SearchType$inboundSchema;
64536
64518
  ((SearchType$) => {
@@ -65077,89 +65059,33 @@ var init_searchknowledge = __esm(() => {
65077
65059
  SearchOptions$.inboundSchema = SearchOptions$inboundSchema;
65078
65060
  SearchOptions$.outboundSchema = SearchOptions$outboundSchema;
65079
65061
  })(SearchOptions$ ||= {});
65080
- SearchKnowledgeProvider$inboundSchema = nativeEnumType(SearchKnowledgeProvider);
65081
- SearchKnowledgeProvider$outboundSchema = SearchKnowledgeProvider$inboundSchema;
65082
- ((SearchKnowledgeProvider$) => {
65083
- SearchKnowledgeProvider$.inboundSchema = SearchKnowledgeProvider$inboundSchema;
65084
- SearchKnowledgeProvider$.outboundSchema = SearchKnowledgeProvider$outboundSchema;
65085
- })(SearchKnowledgeProvider$ ||= {});
65086
- SearchKnowledgeModelType$inboundSchema = nativeEnumType(SearchKnowledgeModelType);
65087
- SearchKnowledgeModelType$outboundSchema = SearchKnowledgeModelType$inboundSchema;
65088
- ((SearchKnowledgeModelType$) => {
65089
- SearchKnowledgeModelType$.inboundSchema = SearchKnowledgeModelType$inboundSchema;
65090
- SearchKnowledgeModelType$.outboundSchema = SearchKnowledgeModelType$outboundSchema;
65091
- })(SearchKnowledgeModelType$ ||= {});
65092
- SearchKnowledgeModelParameters$inboundSchema = objectType({
65093
- threshold: numberType().optional()
65094
- });
65095
- SearchKnowledgeModelParameters$outboundSchema = objectType({
65096
- threshold: numberType().optional()
65097
- });
65098
- ((SearchKnowledgeModelParameters$) => {
65099
- SearchKnowledgeModelParameters$.inboundSchema = SearchKnowledgeModelParameters$inboundSchema;
65100
- SearchKnowledgeModelParameters$.outboundSchema = SearchKnowledgeModelParameters$outboundSchema;
65101
- })(SearchKnowledgeModelParameters$ ||= {});
65102
65062
  SearchKnowledgeRerankConfig$inboundSchema = objectType({
65103
- enabled: booleanType().optional(),
65104
- provider: SearchKnowledgeProvider$inboundSchema.optional(),
65105
- top_k: numberType().int().optional(),
65106
- model: stringType().optional(),
65107
- model_db_id: stringType().optional(),
65108
- model_type: SearchKnowledgeModelType$inboundSchema.optional(),
65109
- model_parameters: lazyType(() => SearchKnowledgeModelParameters$inboundSchema).optional()
65063
+ model: stringType(),
65064
+ threshold: numberType().default(0),
65065
+ top_k: numberType().int().default(10)
65110
65066
  }).transform((v2) => {
65111
65067
  return remap(v2, {
65112
- top_k: "topK",
65113
- model_db_id: "modelDbId",
65114
- model_type: "modelType",
65115
- model_parameters: "modelParameters"
65068
+ top_k: "topK"
65116
65069
  });
65117
65070
  });
65118
65071
  SearchKnowledgeRerankConfig$outboundSchema = objectType({
65119
- enabled: booleanType().optional(),
65120
- provider: SearchKnowledgeProvider$outboundSchema.optional(),
65121
- topK: numberType().int().optional(),
65122
- model: stringType().optional(),
65123
- modelDbId: stringType().optional(),
65124
- modelType: SearchKnowledgeModelType$outboundSchema.optional(),
65125
- modelParameters: lazyType(() => SearchKnowledgeModelParameters$outboundSchema).optional()
65072
+ model: stringType(),
65073
+ threshold: numberType().default(0),
65074
+ topK: numberType().int().default(10)
65126
65075
  }).transform((v2) => {
65127
65076
  return remap(v2, {
65128
- topK: "top_k",
65129
- modelDbId: "model_db_id",
65130
- modelType: "model_type",
65131
- modelParameters: "model_parameters"
65077
+ topK: "top_k"
65132
65078
  });
65133
65079
  });
65134
65080
  ((SearchKnowledgeRerankConfig$) => {
65135
65081
  SearchKnowledgeRerankConfig$.inboundSchema = SearchKnowledgeRerankConfig$inboundSchema;
65136
65082
  SearchKnowledgeRerankConfig$.outboundSchema = SearchKnowledgeRerankConfig$outboundSchema;
65137
65083
  })(SearchKnowledgeRerankConfig$ ||= {});
65138
- SearchKnowledgeKnowledgeProvider$inboundSchema = nativeEnumType(SearchKnowledgeKnowledgeProvider);
65139
- SearchKnowledgeKnowledgeProvider$outboundSchema = SearchKnowledgeKnowledgeProvider$inboundSchema;
65140
- ((SearchKnowledgeKnowledgeProvider$) => {
65141
- SearchKnowledgeKnowledgeProvider$.inboundSchema = SearchKnowledgeKnowledgeProvider$inboundSchema;
65142
- SearchKnowledgeKnowledgeProvider$.outboundSchema = SearchKnowledgeKnowledgeProvider$outboundSchema;
65143
- })(SearchKnowledgeKnowledgeProvider$ ||= {});
65144
65084
  SearchKnowledgeAgenticRagConfig$inboundSchema = objectType({
65145
- model_db_id: stringType(),
65146
- provider: SearchKnowledgeKnowledgeProvider$inboundSchema,
65147
- integration_id: nullableType(stringType()).optional()
65148
- }).transform((v2) => {
65149
- return remap(v2, {
65150
- model_db_id: "modelDbId",
65151
- integration_id: "integrationId"
65152
- });
65085
+ model: stringType()
65153
65086
  });
65154
65087
  SearchKnowledgeAgenticRagConfig$outboundSchema = objectType({
65155
- modelDbId: stringType(),
65156
- provider: SearchKnowledgeKnowledgeProvider$outboundSchema,
65157
- integrationId: nullableType(stringType()).optional()
65158
- }).transform((v2) => {
65159
- return remap(v2, {
65160
- modelDbId: "model_db_id",
65161
- integrationId: "integration_id"
65162
- });
65088
+ model: stringType()
65163
65089
  });
65164
65090
  ((SearchKnowledgeAgenticRagConfig$) => {
65165
65091
  SearchKnowledgeAgenticRagConfig$.inboundSchema = SearchKnowledgeAgenticRagConfig$inboundSchema;
@@ -65186,7 +65112,7 @@ var init_searchknowledge = __esm(() => {
65186
65112
  ]))
65187
65113
  ]).optional(),
65188
65114
  search_options: lazyType(() => SearchOptions$inboundSchema).optional(),
65189
- rerank_config: nullableType(lazyType(() => SearchKnowledgeRerankConfig$inboundSchema)).optional(),
65115
+ rerank_config: lazyType(() => SearchKnowledgeRerankConfig$inboundSchema).optional(),
65190
65116
  agentic_rag_config: lazyType(() => SearchKnowledgeAgenticRagConfig$inboundSchema).optional()
65191
65117
  }).transform((v2) => {
65192
65118
  return remap(v2, {
@@ -65219,7 +65145,7 @@ var init_searchknowledge = __esm(() => {
65219
65145
  ]))
65220
65146
  ]).optional(),
65221
65147
  searchOptions: lazyType(() => SearchOptions$outboundSchema).optional(),
65222
- rerankConfig: nullableType(lazyType(() => SearchKnowledgeRerankConfig$outboundSchema)).optional(),
65148
+ rerankConfig: lazyType(() => SearchKnowledgeRerankConfig$outboundSchema).optional(),
65223
65149
  agenticRagConfig: lazyType(() => SearchKnowledgeAgenticRagConfig$outboundSchema).optional()
65224
65150
  }).transform((v2) => {
65225
65151
  return remap(v2, {
@@ -65310,7 +65236,7 @@ var init_searchknowledge = __esm(() => {
65310
65236
  });
65311
65237
 
65312
65238
  // src/models/operations/streamrunagent.ts
65313
- var StreamRunAgentRole2, StreamRunAgentRole1, StreamRunAgentPartsAgentsRequestRequestBodyMessageKind, StreamRunAgentPartsAgentsRequestRequestBodyKind, StreamRunAgentPartsAgentsRequestKind, StreamRunAgentPartsAgentsKind, StreamRunAgentPartsKind, StreamRunAgentToolsAgentsRequestRequestBodySettings12Type, ToolsStatus, StreamRunAgentToolsAgentsRequestRequestBodySettings11Type, ToolsMethod, StreamRunAgentToolsAgentsRequestRequestBodySettings11HttpType, StreamRunAgentToolsAgentsRequestRequestBodySettings10Type, StreamRunAgentToolsAgentsRequestRequestBodySettings9Type, StreamRunAgentToolsAgentsRequestRequestBodySettings8Type, StreamRunAgentToolsAgentsRequestRequestBodySettings7Type, StreamRunAgentToolsAgentsRequestRequestBodySettings6Type, StreamRunAgentToolsAgentsRequestRequestBodySettingsType, StreamRunAgentToolsAgentsRequestRequestBodyType, StreamRunAgentToolsAgentsRequestType, StreamRunAgentToolsAgentsType, StreamRunAgentToolsType, StreamRunAgentToolApprovalRequired, StreamRunAgentRole2$inboundSchema, StreamRunAgentRole2$outboundSchema, StreamRunAgentRole2$, StreamRunAgentRole1$inboundSchema, StreamRunAgentRole1$outboundSchema, StreamRunAgentRole1$, StreamRunAgentRole$inboundSchema, StreamRunAgentRole$outboundSchema, StreamRunAgentRole$, StreamRunAgentPartsAgentsRequestRequestBodyMessageKind$inboundSchema, StreamRunAgentPartsAgentsRequestRequestBodyMessageKind$outboundSchema, StreamRunAgentPartsAgentsRequestRequestBodyMessageKind$, Parts5$inboundSchema, Parts5$outboundSchema, Parts5$, StreamRunAgentPartsAgentsRequestRequestBodyKind$inboundSchema, StreamRunAgentPartsAgentsRequestRequestBodyKind$outboundSchema, StreamRunAgentPartsAgentsRequestRequestBodyKind$, StreamRunAgentParts4$inboundSchema, StreamRunAgentParts4$outboundSchema, StreamRunAgentParts4$, StreamRunAgentPartsAgentsRequestKind$inboundSchema, StreamRunAgentPartsAgentsRequestKind$outboundSchema, StreamRunAgentPartsAgentsRequestKind$, StreamRunAgentFile2$inboundSchema, StreamRunAgentFile2$outboundSchema, StreamRunAgentFile2$, StreamRunAgentFile1$inboundSchema, StreamRunAgentFile1$outboundSchema, StreamRunAgentFile1$, StreamRunAgentPartsFile$inboundSchema, StreamRunAgentPartsFile$outboundSchema, StreamRunAgentPartsFile$, StreamRunAgentParts3$inboundSchema, StreamRunAgentParts3$outboundSchema, StreamRunAgentParts3$, StreamRunAgentPartsAgentsKind$inboundSchema, StreamRunAgentPartsAgentsKind$outboundSchema, StreamRunAgentPartsAgentsKind$, StreamRunAgentParts2$inboundSchema, StreamRunAgentParts2$outboundSchema, StreamRunAgentParts2$, StreamRunAgentPartsKind$inboundSchema, StreamRunAgentPartsKind$outboundSchema, StreamRunAgentPartsKind$, StreamRunAgentParts1$inboundSchema, StreamRunAgentParts1$outboundSchema, StreamRunAgentParts1$, StreamRunAgentParts$inboundSchema, StreamRunAgentParts$outboundSchema, StreamRunAgentParts$, StreamRunAgentMessage$inboundSchema, StreamRunAgentMessage$outboundSchema, StreamRunAgentMessage$, StreamRunAgentTeamOfAgents$inboundSchema, StreamRunAgentTeamOfAgents$outboundSchema, StreamRunAgentTeamOfAgents$, StreamRunAgentToolsAgentsRequestRequestBodySettings12Type$inboundSchema, StreamRunAgentToolsAgentsRequestRequestBodySettings12Type$outboundSchema, StreamRunAgentToolsAgentsRequestRequestBodySettings12Type$, StreamRunAgentToolsFunction$inboundSchema, StreamRunAgentToolsFunction$outboundSchema, StreamRunAgentToolsFunction$, Tools12$inboundSchema, Tools12$outboundSchema, Tools12$, ToolsStatus$inboundSchema, ToolsStatus$outboundSchema, ToolsStatus$, StreamRunAgentToolsAgentsRequestRequestBodySettings11Type$inboundSchema, StreamRunAgentToolsAgentsRequestRequestBodySettings11Type$outboundSchema, StreamRunAgentToolsAgentsRequestRequestBodySettings11Type$, ToolsMethod$inboundSchema, ToolsMethod$outboundSchema, ToolsMethod$, ToolsBlueprint$inboundSchema, ToolsBlueprint$outboundSchema, ToolsBlueprint$, StreamRunAgentToolsAgentsRequestRequestBodySettings11HttpType$inboundSchema, StreamRunAgentToolsAgentsRequestRequestBodySettings11HttpType$outboundSchema, StreamRunAgentToolsAgentsRequestRequestBodySettings11HttpType$, ToolsDefaultValue$inboundSchema, ToolsDefaultValue$outboundSchema, ToolsDefaultValue$, ToolsArguments$inboundSchema, ToolsArguments$outboundSchema, ToolsArguments$, ToolsHttp$inboundSchema, ToolsHttp$outboundSchema, ToolsHttp$, Tools11$inboundSchema, Tools11$outboundSchema, Tools11$, StreamRunAgentToolsAgentsRequestRequestBodySettings10Type$inboundSchema, StreamRunAgentToolsAgentsRequestRequestBodySettings10Type$outboundSchema, StreamRunAgentToolsAgentsRequestRequestBodySettings10Type$, Tools10$inboundSchema, Tools10$outboundSchema, Tools10$, StreamRunAgentToolsAgentsRequestRequestBodySettings9Type$inboundSchema, StreamRunAgentToolsAgentsRequestRequestBodySettings9Type$outboundSchema, StreamRunAgentToolsAgentsRequestRequestBodySettings9Type$, Tools9$inboundSchema, Tools9$outboundSchema, Tools9$, StreamRunAgentToolsAgentsRequestRequestBodySettings8Type$inboundSchema, StreamRunAgentToolsAgentsRequestRequestBodySettings8Type$outboundSchema, StreamRunAgentToolsAgentsRequestRequestBodySettings8Type$, Tools8$inboundSchema, Tools8$outboundSchema, Tools8$, StreamRunAgentToolsAgentsRequestRequestBodySettings7Type$inboundSchema, StreamRunAgentToolsAgentsRequestRequestBodySettings7Type$outboundSchema, StreamRunAgentToolsAgentsRequestRequestBodySettings7Type$, Tools7$inboundSchema, Tools7$outboundSchema, Tools7$, StreamRunAgentToolsAgentsRequestRequestBodySettings6Type$inboundSchema, StreamRunAgentToolsAgentsRequestRequestBodySettings6Type$outboundSchema, StreamRunAgentToolsAgentsRequestRequestBodySettings6Type$, Tools6$inboundSchema, Tools6$outboundSchema, Tools6$, StreamRunAgentToolsAgentsRequestRequestBodySettingsType$inboundSchema, StreamRunAgentToolsAgentsRequestRequestBodySettingsType$outboundSchema, StreamRunAgentToolsAgentsRequestRequestBodySettingsType$, StreamRunAgentTools5$inboundSchema, StreamRunAgentTools5$outboundSchema, StreamRunAgentTools5$, StreamRunAgentToolsAgentsRequestRequestBodyType$inboundSchema, StreamRunAgentToolsAgentsRequestRequestBodyType$outboundSchema, StreamRunAgentToolsAgentsRequestRequestBodyType$, StreamRunAgentTools4$inboundSchema, StreamRunAgentTools4$outboundSchema, StreamRunAgentTools4$, StreamRunAgentToolsAgentsRequestType$inboundSchema, StreamRunAgentToolsAgentsRequestType$outboundSchema, StreamRunAgentToolsAgentsRequestType$, StreamRunAgentTools3$inboundSchema, StreamRunAgentTools3$outboundSchema, StreamRunAgentTools3$, StreamRunAgentToolsAgentsType$inboundSchema, StreamRunAgentToolsAgentsType$outboundSchema, StreamRunAgentToolsAgentsType$, StreamRunAgentTools2$inboundSchema, StreamRunAgentTools2$outboundSchema, StreamRunAgentTools2$, StreamRunAgentToolsType$inboundSchema, StreamRunAgentToolsType$outboundSchema, StreamRunAgentToolsType$, StreamRunAgentTools1$inboundSchema, StreamRunAgentTools1$outboundSchema, StreamRunAgentTools1$, StreamRunAgentTools$inboundSchema, StreamRunAgentTools$outboundSchema, StreamRunAgentTools$, StreamRunAgentToolApprovalRequired$inboundSchema, StreamRunAgentToolApprovalRequired$outboundSchema, StreamRunAgentToolApprovalRequired$, StreamRunAgentSettings$inboundSchema, StreamRunAgentSettings$outboundSchema, StreamRunAgentSettings$, StreamRunAgentRequestBody$inboundSchema, StreamRunAgentRequestBody$outboundSchema, StreamRunAgentRequestBody$, StreamRunAgentResponseBody$inboundSchema, StreamRunAgentResponseBody$outboundSchema, StreamRunAgentResponseBody$;
65239
+ var StreamRunAgentRole2, StreamRunAgentRole1, StreamRunAgentPartsAgentsRequestRequestBodyMessageKind, StreamRunAgentPartsAgentsRequestRequestBodyKind, StreamRunAgentPartsAgentsRequestKind, StreamRunAgentPartsAgentsKind, StreamRunAgentPartsKind, StreamRunAgentConfigurationAgentsType, StreamRunAgentConfigurationType, StreamRunAgentToolsAgentsRequestRequestBodySettings12Type, ToolsStatus, StreamRunAgentToolsAgentsRequestRequestBodySettings11Type, ToolsMethod, StreamRunAgentToolsAgentsRequestRequestBodySettings11HttpType, StreamRunAgentToolsAgentsRequestRequestBodySettings10Type, StreamRunAgentToolsAgentsRequestRequestBodySettings9Type, StreamRunAgentToolsAgentsRequestRequestBodySettings8Type, StreamRunAgentToolsAgentsRequestRequestBodySettings7Type, StreamRunAgentToolsAgentsRequestRequestBodySettings6Type, StreamRunAgentToolsAgentsRequestRequestBodySettingsType, StreamRunAgentToolsAgentsRequestRequestBodyType, StreamRunAgentToolsAgentsRequestType, StreamRunAgentToolsAgentsType, StreamRunAgentToolsType, StreamRunAgentToolApprovalRequired, StreamRunAgentRole2$inboundSchema, StreamRunAgentRole2$outboundSchema, StreamRunAgentRole2$, StreamRunAgentRole1$inboundSchema, StreamRunAgentRole1$outboundSchema, StreamRunAgentRole1$, StreamRunAgentRole$inboundSchema, StreamRunAgentRole$outboundSchema, StreamRunAgentRole$, StreamRunAgentPartsAgentsRequestRequestBodyMessageKind$inboundSchema, StreamRunAgentPartsAgentsRequestRequestBodyMessageKind$outboundSchema, StreamRunAgentPartsAgentsRequestRequestBodyMessageKind$, Parts5$inboundSchema, Parts5$outboundSchema, Parts5$, StreamRunAgentPartsAgentsRequestRequestBodyKind$inboundSchema, StreamRunAgentPartsAgentsRequestRequestBodyKind$outboundSchema, StreamRunAgentPartsAgentsRequestRequestBodyKind$, StreamRunAgentParts4$inboundSchema, StreamRunAgentParts4$outboundSchema, StreamRunAgentParts4$, StreamRunAgentPartsAgentsRequestKind$inboundSchema, StreamRunAgentPartsAgentsRequestKind$outboundSchema, StreamRunAgentPartsAgentsRequestKind$, StreamRunAgentFile2$inboundSchema, StreamRunAgentFile2$outboundSchema, StreamRunAgentFile2$, StreamRunAgentFile1$inboundSchema, StreamRunAgentFile1$outboundSchema, StreamRunAgentFile1$, StreamRunAgentPartsFile$inboundSchema, StreamRunAgentPartsFile$outboundSchema, StreamRunAgentPartsFile$, StreamRunAgentParts3$inboundSchema, StreamRunAgentParts3$outboundSchema, StreamRunAgentParts3$, StreamRunAgentPartsAgentsKind$inboundSchema, StreamRunAgentPartsAgentsKind$outboundSchema, StreamRunAgentPartsAgentsKind$, StreamRunAgentParts2$inboundSchema, StreamRunAgentParts2$outboundSchema, StreamRunAgentParts2$, StreamRunAgentPartsKind$inboundSchema, StreamRunAgentPartsKind$outboundSchema, StreamRunAgentPartsKind$, StreamRunAgentParts1$inboundSchema, StreamRunAgentParts1$outboundSchema, StreamRunAgentParts1$, StreamRunAgentParts$inboundSchema, StreamRunAgentParts$outboundSchema, StreamRunAgentParts$, StreamRunAgentMessage$inboundSchema, StreamRunAgentMessage$outboundSchema, StreamRunAgentMessage$, StreamRunAgentConfigurationAgentsType$inboundSchema, StreamRunAgentConfigurationAgentsType$outboundSchema, StreamRunAgentConfigurationAgentsType$, StreamRunAgentConfiguration2$inboundSchema, StreamRunAgentConfiguration2$outboundSchema, StreamRunAgentConfiguration2$, StreamRunAgentConfigurationType$inboundSchema, StreamRunAgentConfigurationType$outboundSchema, StreamRunAgentConfigurationType$, StreamRunAgentConfiguration1$inboundSchema, StreamRunAgentConfiguration1$outboundSchema, StreamRunAgentConfiguration1$, StreamRunAgentConfiguration$inboundSchema, StreamRunAgentConfiguration$outboundSchema, StreamRunAgentConfiguration$, StreamRunAgentKnowledgeBases$inboundSchema, StreamRunAgentKnowledgeBases$outboundSchema, StreamRunAgentKnowledgeBases$, StreamRunAgentTeamOfAgents$inboundSchema, StreamRunAgentTeamOfAgents$outboundSchema, StreamRunAgentTeamOfAgents$, StreamRunAgentToolsAgentsRequestRequestBodySettings12Type$inboundSchema, StreamRunAgentToolsAgentsRequestRequestBodySettings12Type$outboundSchema, StreamRunAgentToolsAgentsRequestRequestBodySettings12Type$, StreamRunAgentToolsFunction$inboundSchema, StreamRunAgentToolsFunction$outboundSchema, StreamRunAgentToolsFunction$, Tools12$inboundSchema, Tools12$outboundSchema, Tools12$, ToolsStatus$inboundSchema, ToolsStatus$outboundSchema, ToolsStatus$, StreamRunAgentToolsAgentsRequestRequestBodySettings11Type$inboundSchema, StreamRunAgentToolsAgentsRequestRequestBodySettings11Type$outboundSchema, StreamRunAgentToolsAgentsRequestRequestBodySettings11Type$, ToolsMethod$inboundSchema, ToolsMethod$outboundSchema, ToolsMethod$, ToolsBlueprint$inboundSchema, ToolsBlueprint$outboundSchema, ToolsBlueprint$, StreamRunAgentToolsAgentsRequestRequestBodySettings11HttpType$inboundSchema, StreamRunAgentToolsAgentsRequestRequestBodySettings11HttpType$outboundSchema, StreamRunAgentToolsAgentsRequestRequestBodySettings11HttpType$, ToolsDefaultValue$inboundSchema, ToolsDefaultValue$outboundSchema, ToolsDefaultValue$, ToolsArguments$inboundSchema, ToolsArguments$outboundSchema, ToolsArguments$, ToolsHttp$inboundSchema, ToolsHttp$outboundSchema, ToolsHttp$, Tools11$inboundSchema, Tools11$outboundSchema, Tools11$, StreamRunAgentToolsAgentsRequestRequestBodySettings10Type$inboundSchema, StreamRunAgentToolsAgentsRequestRequestBodySettings10Type$outboundSchema, StreamRunAgentToolsAgentsRequestRequestBodySettings10Type$, Tools10$inboundSchema, Tools10$outboundSchema, Tools10$, StreamRunAgentToolsAgentsRequestRequestBodySettings9Type$inboundSchema, StreamRunAgentToolsAgentsRequestRequestBodySettings9Type$outboundSchema, StreamRunAgentToolsAgentsRequestRequestBodySettings9Type$, Tools9$inboundSchema, Tools9$outboundSchema, Tools9$, StreamRunAgentToolsAgentsRequestRequestBodySettings8Type$inboundSchema, StreamRunAgentToolsAgentsRequestRequestBodySettings8Type$outboundSchema, StreamRunAgentToolsAgentsRequestRequestBodySettings8Type$, Tools8$inboundSchema, Tools8$outboundSchema, Tools8$, StreamRunAgentToolsAgentsRequestRequestBodySettings7Type$inboundSchema, StreamRunAgentToolsAgentsRequestRequestBodySettings7Type$outboundSchema, StreamRunAgentToolsAgentsRequestRequestBodySettings7Type$, Tools7$inboundSchema, Tools7$outboundSchema, Tools7$, StreamRunAgentToolsAgentsRequestRequestBodySettings6Type$inboundSchema, StreamRunAgentToolsAgentsRequestRequestBodySettings6Type$outboundSchema, StreamRunAgentToolsAgentsRequestRequestBodySettings6Type$, Tools6$inboundSchema, Tools6$outboundSchema, Tools6$, StreamRunAgentToolsAgentsRequestRequestBodySettingsType$inboundSchema, StreamRunAgentToolsAgentsRequestRequestBodySettingsType$outboundSchema, StreamRunAgentToolsAgentsRequestRequestBodySettingsType$, StreamRunAgentTools5$inboundSchema, StreamRunAgentTools5$outboundSchema, StreamRunAgentTools5$, StreamRunAgentToolsAgentsRequestRequestBodyType$inboundSchema, StreamRunAgentToolsAgentsRequestRequestBodyType$outboundSchema, StreamRunAgentToolsAgentsRequestRequestBodyType$, StreamRunAgentTools4$inboundSchema, StreamRunAgentTools4$outboundSchema, StreamRunAgentTools4$, StreamRunAgentToolsAgentsRequestType$inboundSchema, StreamRunAgentToolsAgentsRequestType$outboundSchema, StreamRunAgentToolsAgentsRequestType$, StreamRunAgentTools3$inboundSchema, StreamRunAgentTools3$outboundSchema, StreamRunAgentTools3$, StreamRunAgentToolsAgentsType$inboundSchema, StreamRunAgentToolsAgentsType$outboundSchema, StreamRunAgentToolsAgentsType$, StreamRunAgentTools2$inboundSchema, StreamRunAgentTools2$outboundSchema, StreamRunAgentTools2$, StreamRunAgentToolsType$inboundSchema, StreamRunAgentToolsType$outboundSchema, StreamRunAgentToolsType$, StreamRunAgentTools1$inboundSchema, StreamRunAgentTools1$outboundSchema, StreamRunAgentTools1$, StreamRunAgentTools$inboundSchema, StreamRunAgentTools$outboundSchema, StreamRunAgentTools$, StreamRunAgentToolApprovalRequired$inboundSchema, StreamRunAgentToolApprovalRequired$outboundSchema, StreamRunAgentToolApprovalRequired$, StreamRunAgentSettings$inboundSchema, StreamRunAgentSettings$outboundSchema, StreamRunAgentSettings$, StreamRunAgentRequestBody$inboundSchema, StreamRunAgentRequestBody$outboundSchema, StreamRunAgentRequestBody$, StreamRunAgentResponseBody$inboundSchema, StreamRunAgentResponseBody$outboundSchema, StreamRunAgentResponseBody$;
65314
65240
  var init_streamrunagent = __esm(() => {
65315
65241
  init_esm();
65316
65242
  init_primitives();
@@ -65335,6 +65261,12 @@ var init_streamrunagent = __esm(() => {
65335
65261
  StreamRunAgentPartsKind = {
65336
65262
  Text: "text"
65337
65263
  };
65264
+ StreamRunAgentConfigurationAgentsType = {
65265
+ Query: "query"
65266
+ };
65267
+ StreamRunAgentConfigurationType = {
65268
+ LastUserMessage: "last_user_message"
65269
+ };
65338
65270
  StreamRunAgentToolsAgentsRequestRequestBodySettings12Type = {
65339
65271
  Function: "function"
65340
65272
  };
@@ -65637,6 +65569,68 @@ var init_streamrunagent = __esm(() => {
65637
65569
  StreamRunAgentMessage$.inboundSchema = StreamRunAgentMessage$inboundSchema;
65638
65570
  StreamRunAgentMessage$.outboundSchema = StreamRunAgentMessage$outboundSchema;
65639
65571
  })(StreamRunAgentMessage$ ||= {});
65572
+ StreamRunAgentConfigurationAgentsType$inboundSchema = nativeEnumType(StreamRunAgentConfigurationAgentsType);
65573
+ StreamRunAgentConfigurationAgentsType$outboundSchema = StreamRunAgentConfigurationAgentsType$inboundSchema;
65574
+ ((StreamRunAgentConfigurationAgentsType$) => {
65575
+ StreamRunAgentConfigurationAgentsType$.inboundSchema = StreamRunAgentConfigurationAgentsType$inboundSchema;
65576
+ StreamRunAgentConfigurationAgentsType$.outboundSchema = StreamRunAgentConfigurationAgentsType$outboundSchema;
65577
+ })(StreamRunAgentConfigurationAgentsType$ ||= {});
65578
+ StreamRunAgentConfiguration2$inboundSchema = objectType({
65579
+ type: StreamRunAgentConfigurationAgentsType$inboundSchema,
65580
+ query: stringType()
65581
+ });
65582
+ StreamRunAgentConfiguration2$outboundSchema = objectType({
65583
+ type: StreamRunAgentConfigurationAgentsType$outboundSchema,
65584
+ query: stringType()
65585
+ });
65586
+ ((StreamRunAgentConfiguration2$) => {
65587
+ StreamRunAgentConfiguration2$.inboundSchema = StreamRunAgentConfiguration2$inboundSchema;
65588
+ StreamRunAgentConfiguration2$.outboundSchema = StreamRunAgentConfiguration2$outboundSchema;
65589
+ })(StreamRunAgentConfiguration2$ ||= {});
65590
+ StreamRunAgentConfigurationType$inboundSchema = nativeEnumType(StreamRunAgentConfigurationType);
65591
+ StreamRunAgentConfigurationType$outboundSchema = StreamRunAgentConfigurationType$inboundSchema;
65592
+ ((StreamRunAgentConfigurationType$) => {
65593
+ StreamRunAgentConfigurationType$.inboundSchema = StreamRunAgentConfigurationType$inboundSchema;
65594
+ StreamRunAgentConfigurationType$.outboundSchema = StreamRunAgentConfigurationType$outboundSchema;
65595
+ })(StreamRunAgentConfigurationType$ ||= {});
65596
+ StreamRunAgentConfiguration1$inboundSchema = objectType({
65597
+ type: StreamRunAgentConfigurationType$inboundSchema
65598
+ });
65599
+ StreamRunAgentConfiguration1$outboundSchema = objectType({
65600
+ type: StreamRunAgentConfigurationType$outboundSchema
65601
+ });
65602
+ ((StreamRunAgentConfiguration1$) => {
65603
+ StreamRunAgentConfiguration1$.inboundSchema = StreamRunAgentConfiguration1$inboundSchema;
65604
+ StreamRunAgentConfiguration1$.outboundSchema = StreamRunAgentConfiguration1$outboundSchema;
65605
+ })(StreamRunAgentConfiguration1$ ||= {});
65606
+ StreamRunAgentConfiguration$inboundSchema = unionType([
65607
+ lazyType(() => StreamRunAgentConfiguration2$inboundSchema),
65608
+ lazyType(() => StreamRunAgentConfiguration1$inboundSchema)
65609
+ ]);
65610
+ StreamRunAgentConfiguration$outboundSchema = unionType([
65611
+ lazyType(() => StreamRunAgentConfiguration2$outboundSchema),
65612
+ lazyType(() => StreamRunAgentConfiguration1$outboundSchema)
65613
+ ]);
65614
+ ((StreamRunAgentConfiguration$) => {
65615
+ StreamRunAgentConfiguration$.inboundSchema = StreamRunAgentConfiguration$inboundSchema;
65616
+ StreamRunAgentConfiguration$.outboundSchema = StreamRunAgentConfiguration$outboundSchema;
65617
+ })(StreamRunAgentConfiguration$ ||= {});
65618
+ StreamRunAgentKnowledgeBases$inboundSchema = objectType({
65619
+ configuration: unionType([
65620
+ lazyType(() => StreamRunAgentConfiguration2$inboundSchema),
65621
+ lazyType(() => StreamRunAgentConfiguration1$inboundSchema)
65622
+ ])
65623
+ });
65624
+ StreamRunAgentKnowledgeBases$outboundSchema = objectType({
65625
+ configuration: unionType([
65626
+ lazyType(() => StreamRunAgentConfiguration2$outboundSchema),
65627
+ lazyType(() => StreamRunAgentConfiguration1$outboundSchema)
65628
+ ])
65629
+ });
65630
+ ((StreamRunAgentKnowledgeBases$) => {
65631
+ StreamRunAgentKnowledgeBases$.inboundSchema = StreamRunAgentKnowledgeBases$inboundSchema;
65632
+ StreamRunAgentKnowledgeBases$.outboundSchema = StreamRunAgentKnowledgeBases$outboundSchema;
65633
+ })(StreamRunAgentKnowledgeBases$ ||= {});
65640
65634
  StreamRunAgentTeamOfAgents$inboundSchema = objectType({
65641
65635
  _id: stringType(),
65642
65636
  role: stringType().optional()
@@ -65798,7 +65792,7 @@ var init_streamrunagent = __esm(() => {
65798
65792
  ToolsHttp$.outboundSchema = ToolsHttp$outboundSchema;
65799
65793
  })(ToolsHttp$ ||= {});
65800
65794
  Tools11$inboundSchema = objectType({
65801
- _id: stringType().default("01K592EZAPKK76SKV9WV30Q8ZD"),
65795
+ _id: stringType().default("01K5DS7B6171EJH0CX4QFMQMYX"),
65802
65796
  path: stringType(),
65803
65797
  key: stringType(),
65804
65798
  display_name: stringType(),
@@ -65817,7 +65811,7 @@ var init_streamrunagent = __esm(() => {
65817
65811
  });
65818
65812
  });
65819
65813
  Tools11$outboundSchema = objectType({
65820
- id: stringType().default("01K592EZAPKK76SKV9WV30Q8ZD"),
65814
+ id: stringType().default("01K5DS7B6171EJH0CX4QFMQMYX"),
65821
65815
  path: stringType(),
65822
65816
  key: stringType(),
65823
65817
  displayName: stringType(),
@@ -66207,7 +66201,7 @@ var init_streamrunagent = __esm(() => {
66207
66201
  iconUrl: stringType().optional(),
66208
66202
  system_prompt: stringType().optional(),
66209
66203
  memory_stores: arrayType(stringType()).optional(),
66210
- knowledge_bases: arrayType(stringType()).optional(),
66204
+ knowledge_bases: arrayType(lazyType(() => StreamRunAgentKnowledgeBases$inboundSchema)).optional(),
66211
66205
  team_of_agents: arrayType(lazyType(() => StreamRunAgentTeamOfAgents$inboundSchema)).optional(),
66212
66206
  settings: lazyType(() => StreamRunAgentSettings$inboundSchema),
66213
66207
  stream_timeout_seconds: numberType().optional()
@@ -66238,7 +66232,7 @@ var init_streamrunagent = __esm(() => {
66238
66232
  iconUrl: stringType().optional(),
66239
66233
  systemPrompt: stringType().optional(),
66240
66234
  memoryStores: arrayType(stringType()).optional(),
66241
- knowledgeBases: arrayType(stringType()).optional(),
66235
+ knowledgeBases: arrayType(lazyType(() => StreamRunAgentKnowledgeBases$outboundSchema)).optional(),
66242
66236
  teamOfAgents: arrayType(lazyType(() => StreamRunAgentTeamOfAgents$outboundSchema)).optional(),
66243
66237
  settings: lazyType(() => StreamRunAgentSettings$outboundSchema),
66244
66238
  streamTimeoutSeconds: numberType().optional()
@@ -66411,7 +66405,7 @@ var init_updatebudget = __esm(() => {
66411
66405
  is_active: booleanType(),
66412
66406
  consumption: lazyType(() => UpdateBudgetConsumption$inboundSchema).optional(),
66413
66407
  created: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
66414
- updated: stringType().datetime({ offset: true }).default("2025-09-16T10:52:14.945Z").transform((v2) => new Date(v2))
66408
+ updated: stringType().datetime({ offset: true }).default("2025-09-18T06:46:59.426Z").transform((v2) => new Date(v2))
66415
66409
  }).transform((v2) => {
66416
66410
  return remap(v2, {
66417
66411
  _id: "id",
@@ -66427,7 +66421,7 @@ var init_updatebudget = __esm(() => {
66427
66421
  isActive: booleanType(),
66428
66422
  consumption: lazyType(() => UpdateBudgetConsumption$outboundSchema).optional(),
66429
66423
  created: dateType().transform((v2) => v2.toISOString()).optional(),
66430
- updated: dateType().default(() => new Date("2025-09-16T10:52:14.945Z")).transform((v2) => v2.toISOString())
66424
+ updated: dateType().default(() => new Date("2025-09-18T06:46:59.426Z")).transform((v2) => v2.toISOString())
66431
66425
  }).transform((v2) => {
66432
66426
  return remap(v2, {
66433
66427
  id: "_id",
@@ -66617,7 +66611,7 @@ var init_updatecontact = __esm(() => {
66617
66611
  tags: arrayType(stringType()).optional(),
66618
66612
  metadata: recordType(anyType()).optional(),
66619
66613
  created: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
66620
- updated: stringType().datetime({ offset: true }).default("2025-09-16T10:52:14.945Z").transform((v2) => new Date(v2))
66614
+ updated: stringType().datetime({ offset: true }).default("2025-09-18T06:46:59.426Z").transform((v2) => new Date(v2))
66621
66615
  }).transform((v2) => {
66622
66616
  return remap(v2, {
66623
66617
  _id: "id",
@@ -66635,7 +66629,7 @@ var init_updatecontact = __esm(() => {
66635
66629
  tags: arrayType(stringType()).optional(),
66636
66630
  metadata: recordType(anyType()).optional(),
66637
66631
  created: dateType().transform((v2) => v2.toISOString()).optional(),
66638
- updated: dateType().default(() => new Date("2025-09-16T10:52:14.945Z")).transform((v2) => v2.toISOString())
66632
+ updated: dateType().default(() => new Date("2025-09-18T06:46:59.426Z")).transform((v2) => v2.toISOString())
66639
66633
  }).transform((v2) => {
66640
66634
  return remap(v2, {
66641
66635
  id: "_id",
@@ -68041,7 +68035,7 @@ var init_updatedatapoint = __esm(() => {
68041
68035
  created_by_id: stringType().optional(),
68042
68036
  updated_by_id: stringType().optional(),
68043
68037
  created: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
68044
- updated: stringType().datetime({ offset: true }).default("2025-09-16T10:52:14.945Z").transform((v2) => new Date(v2))
68038
+ updated: stringType().datetime({ offset: true }).default("2025-09-18T06:46:59.426Z").transform((v2) => new Date(v2))
68045
68039
  }).transform((v2) => {
68046
68040
  return remap(v2, {
68047
68041
  _id: "id",
@@ -68068,7 +68062,7 @@ var init_updatedatapoint = __esm(() => {
68068
68062
  createdById: stringType().optional(),
68069
68063
  updatedById: stringType().optional(),
68070
68064
  created: dateType().transform((v2) => v2.toISOString()).optional(),
68071
- updated: dateType().default(() => new Date("2025-09-16T10:52:14.945Z")).transform((v2) => v2.toISOString())
68065
+ updated: dateType().default(() => new Date("2025-09-18T06:46:59.426Z")).transform((v2) => v2.toISOString())
68072
68066
  }).transform((v2) => {
68073
68067
  return remap(v2, {
68074
68068
  id: "_id",
@@ -68169,7 +68163,7 @@ var init_updatedataset = __esm(() => {
68169
68163
  parent_id: stringType().optional(),
68170
68164
  version: stringType().optional(),
68171
68165
  created: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
68172
- updated: stringType().datetime({ offset: true }).default("2025-09-16T10:52:14.945Z").transform((v2) => new Date(v2))
68166
+ updated: stringType().datetime({ offset: true }).default("2025-09-18T06:46:59.426Z").transform((v2) => new Date(v2))
68173
68167
  }).transform((v2) => {
68174
68168
  return remap(v2, {
68175
68169
  _id: "id",
@@ -68192,7 +68186,7 @@ var init_updatedataset = __esm(() => {
68192
68186
  parentId: stringType().optional(),
68193
68187
  version: stringType().optional(),
68194
68188
  created: dateType().transform((v2) => v2.toISOString()).optional(),
68195
- updated: dateType().default(() => new Date("2025-09-16T10:52:14.945Z")).transform((v2) => v2.toISOString())
68189
+ updated: dateType().default(() => new Date("2025-09-18T06:46:59.426Z")).transform((v2) => v2.toISOString())
68196
68190
  }).transform((v2) => {
68197
68191
  return remap(v2, {
68198
68192
  id: "_id",
@@ -68273,7 +68267,7 @@ var init_updatedatasource = __esm(() => {
68273
68267
  UpdateDatasourceStatus$.outboundSchema = UpdateDatasourceStatus$outboundSchema;
68274
68268
  })(UpdateDatasourceStatus$ ||= {});
68275
68269
  UpdateDatasourceResponseBody$inboundSchema = objectType({
68276
- _id: stringType().default("01K592EZEHJBRHE4B4NX15RY0Z"),
68270
+ _id: stringType().default("01K5DS7B9BQG0ACYNW77QBHN4M"),
68277
68271
  display_name: stringType(),
68278
68272
  description: stringType().optional(),
68279
68273
  status: UpdateDatasourceStatus$inboundSchema,
@@ -68296,7 +68290,7 @@ var init_updatedatasource = __esm(() => {
68296
68290
  });
68297
68291
  });
68298
68292
  UpdateDatasourceResponseBody$outboundSchema = objectType({
68299
- id: stringType().default("01K592EZEHJBRHE4B4NX15RY0Z"),
68293
+ id: stringType().default("01K5DS7B9BQG0ACYNW77QBHN4M"),
68300
68294
  displayName: stringType(),
68301
68295
  description: stringType().optional(),
68302
68296
  status: UpdateDatasourceStatus$outboundSchema,
@@ -69172,8 +69166,8 @@ var init_updateeval = __esm(() => {
69172
69166
  ResponseBodyTypescript$inboundSchema = objectType({
69173
69167
  _id: stringType(),
69174
69168
  description: stringType(),
69175
- created: stringType().default("2025-09-16T10:52:17.309Z"),
69176
- updated: stringType().default("2025-09-16T10:52:17.309Z"),
69169
+ created: stringType().default("2025-09-18T06:47:01.973Z"),
69170
+ updated: stringType().default("2025-09-18T06:47:01.973Z"),
69177
69171
  guardrail_config: unionType([
69178
69172
  lazyType(() => UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody7Number$inboundSchema),
69179
69173
  lazyType(() => UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody7Boolean$inboundSchema)
@@ -69190,8 +69184,8 @@ var init_updateeval = __esm(() => {
69190
69184
  ResponseBodyTypescript$outboundSchema = objectType({
69191
69185
  id: stringType(),
69192
69186
  description: stringType(),
69193
- created: stringType().default("2025-09-16T10:52:17.309Z"),
69194
- updated: stringType().default("2025-09-16T10:52:17.309Z"),
69187
+ created: stringType().default("2025-09-18T06:47:01.973Z"),
69188
+ updated: stringType().default("2025-09-18T06:47:01.973Z"),
69195
69189
  guardrailConfig: unionType([
69196
69190
  lazyType(() => UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody7Number$outboundSchema),
69197
69191
  lazyType(() => UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody7Boolean$outboundSchema)
@@ -69284,8 +69278,8 @@ var init_updateeval = __esm(() => {
69284
69278
  ResponseBodyRagas$inboundSchema = objectType({
69285
69279
  _id: stringType(),
69286
69280
  description: stringType(),
69287
- created: stringType().default("2025-09-16T10:52:17.309Z"),
69288
- updated: stringType().default("2025-09-16T10:52:17.309Z"),
69281
+ created: stringType().default("2025-09-18T06:47:01.973Z"),
69282
+ updated: stringType().default("2025-09-18T06:47:01.973Z"),
69289
69283
  guardrail_config: unionType([
69290
69284
  lazyType(() => UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody6Number$inboundSchema),
69291
69285
  lazyType(() => UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody6Boolean$inboundSchema)
@@ -69304,8 +69298,8 @@ var init_updateeval = __esm(() => {
69304
69298
  ResponseBodyRagas$outboundSchema = objectType({
69305
69299
  id: stringType(),
69306
69300
  description: stringType(),
69307
- created: stringType().default("2025-09-16T10:52:17.309Z"),
69308
- updated: stringType().default("2025-09-16T10:52:17.309Z"),
69301
+ created: stringType().default("2025-09-18T06:47:01.973Z"),
69302
+ updated: stringType().default("2025-09-18T06:47:01.973Z"),
69309
69303
  guardrailConfig: unionType([
69310
69304
  lazyType(() => UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody6Number$outboundSchema),
69311
69305
  lazyType(() => UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody6Boolean$outboundSchema)
@@ -70058,8 +70052,8 @@ var init_updateeval = __esm(() => {
70058
70052
  UpdateEvalResponseBodyFunction$inboundSchema = objectType({
70059
70053
  _id: stringType(),
70060
70054
  description: stringType(),
70061
- created: stringType().default("2025-09-16T10:52:17.309Z"),
70062
- updated: stringType().default("2025-09-16T10:52:17.309Z"),
70055
+ created: stringType().default("2025-09-18T06:47:01.973Z"),
70056
+ updated: stringType().default("2025-09-18T06:47:01.973Z"),
70063
70057
  guardrail_config: unionType([
70064
70058
  lazyType(() => UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody5Number$inboundSchema),
70065
70059
  lazyType(() => UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody5Boolean$inboundSchema)
@@ -70113,8 +70107,8 @@ var init_updateeval = __esm(() => {
70113
70107
  UpdateEvalResponseBodyFunction$outboundSchema = objectType({
70114
70108
  id: stringType(),
70115
70109
  description: stringType(),
70116
- created: stringType().default("2025-09-16T10:52:17.309Z"),
70117
- updated: stringType().default("2025-09-16T10:52:17.309Z"),
70110
+ created: stringType().default("2025-09-18T06:47:01.973Z"),
70111
+ updated: stringType().default("2025-09-18T06:47:01.973Z"),
70118
70112
  guardrailConfig: unionType([
70119
70113
  lazyType(() => UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody5Number$outboundSchema),
70120
70114
  lazyType(() => UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody5Boolean$outboundSchema)
@@ -70238,8 +70232,8 @@ var init_updateeval = __esm(() => {
70238
70232
  UpdateEvalResponseBodyPython$inboundSchema = objectType({
70239
70233
  _id: stringType(),
70240
70234
  description: stringType(),
70241
- created: stringType().default("2025-09-16T10:52:17.309Z"),
70242
- updated: stringType().default("2025-09-16T10:52:17.309Z"),
70235
+ created: stringType().default("2025-09-18T06:47:01.973Z"),
70236
+ updated: stringType().default("2025-09-18T06:47:01.973Z"),
70243
70237
  guardrail_config: unionType([
70244
70238
  lazyType(() => UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$inboundSchema),
70245
70239
  lazyType(() => UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyBoolean$inboundSchema)
@@ -70256,8 +70250,8 @@ var init_updateeval = __esm(() => {
70256
70250
  UpdateEvalResponseBodyPython$outboundSchema = objectType({
70257
70251
  id: stringType(),
70258
70252
  description: stringType(),
70259
- created: stringType().default("2025-09-16T10:52:17.309Z"),
70260
- updated: stringType().default("2025-09-16T10:52:17.309Z"),
70253
+ created: stringType().default("2025-09-18T06:47:01.973Z"),
70254
+ updated: stringType().default("2025-09-18T06:47:01.973Z"),
70261
70255
  guardrailConfig: unionType([
70262
70256
  lazyType(() => UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$outboundSchema),
70263
70257
  lazyType(() => UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyBoolean$outboundSchema)
@@ -70350,8 +70344,8 @@ var init_updateeval = __esm(() => {
70350
70344
  UpdateEvalResponseBodyHTTP$inboundSchema = objectType({
70351
70345
  _id: stringType(),
70352
70346
  description: stringType(),
70353
- created: stringType().default("2025-09-16T10:52:17.309Z"),
70354
- updated: stringType().default("2025-09-16T10:52:17.309Z"),
70347
+ created: stringType().default("2025-09-18T06:47:01.973Z"),
70348
+ updated: stringType().default("2025-09-18T06:47:01.973Z"),
70355
70349
  guardrail_config: unionType([
70356
70350
  lazyType(() => UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONNumber$inboundSchema),
70357
70351
  lazyType(() => UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONBoolean$inboundSchema)
@@ -70371,8 +70365,8 @@ var init_updateeval = __esm(() => {
70371
70365
  UpdateEvalResponseBodyHTTP$outboundSchema = objectType({
70372
70366
  id: stringType(),
70373
70367
  description: stringType(),
70374
- created: stringType().default("2025-09-16T10:52:17.309Z"),
70375
- updated: stringType().default("2025-09-16T10:52:17.309Z"),
70368
+ created: stringType().default("2025-09-18T06:47:01.973Z"),
70369
+ updated: stringType().default("2025-09-18T06:47:01.973Z"),
70376
70370
  guardrailConfig: unionType([
70377
70371
  lazyType(() => UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONNumber$outboundSchema),
70378
70372
  lazyType(() => UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONBoolean$outboundSchema)
@@ -70462,8 +70456,8 @@ var init_updateeval = __esm(() => {
70462
70456
  UpdateEvalResponseBodyJSON$inboundSchema = objectType({
70463
70457
  _id: stringType(),
70464
70458
  description: stringType(),
70465
- created: stringType().default("2025-09-16T10:52:17.309Z"),
70466
- updated: stringType().default("2025-09-16T10:52:17.309Z"),
70459
+ created: stringType().default("2025-09-18T06:47:01.973Z"),
70460
+ updated: stringType().default("2025-09-18T06:47:01.973Z"),
70467
70461
  guardrail_config: unionType([
70468
70462
  lazyType(() => UpdateEvalGuardrailConfigEvalsResponse200Number$inboundSchema),
70469
70463
  lazyType(() => UpdateEvalGuardrailConfigEvalsResponse200Boolean$inboundSchema)
@@ -70480,8 +70474,8 @@ var init_updateeval = __esm(() => {
70480
70474
  UpdateEvalResponseBodyJSON$outboundSchema = objectType({
70481
70475
  id: stringType(),
70482
70476
  description: stringType(),
70483
- created: stringType().default("2025-09-16T10:52:17.309Z"),
70484
- updated: stringType().default("2025-09-16T10:52:17.309Z"),
70477
+ created: stringType().default("2025-09-18T06:47:01.973Z"),
70478
+ updated: stringType().default("2025-09-18T06:47:01.973Z"),
70485
70479
  guardrailConfig: unionType([
70486
70480
  lazyType(() => UpdateEvalGuardrailConfigEvalsResponse200Number$outboundSchema),
70487
70481
  lazyType(() => UpdateEvalGuardrailConfigEvalsResponse200Boolean$outboundSchema)
@@ -70568,8 +70562,8 @@ var init_updateeval = __esm(() => {
70568
70562
  UpdateEvalResponseBodyLLM$inboundSchema = objectType({
70569
70563
  _id: stringType(),
70570
70564
  description: stringType(),
70571
- created: stringType().default("2025-09-16T10:52:17.309Z"),
70572
- updated: stringType().default("2025-09-16T10:52:17.309Z"),
70565
+ created: stringType().default("2025-09-18T06:47:01.973Z"),
70566
+ updated: stringType().default("2025-09-18T06:47:01.973Z"),
70573
70567
  guardrail_config: unionType([
70574
70568
  lazyType(() => UpdateEvalGuardrailConfigEvalsResponseNumber$inboundSchema),
70575
70569
  lazyType(() => UpdateEvalGuardrailConfigEvalsResponseBoolean$inboundSchema)
@@ -70587,8 +70581,8 @@ var init_updateeval = __esm(() => {
70587
70581
  UpdateEvalResponseBodyLLM$outboundSchema = objectType({
70588
70582
  id: stringType(),
70589
70583
  description: stringType(),
70590
- created: stringType().default("2025-09-16T10:52:17.309Z"),
70591
- updated: stringType().default("2025-09-16T10:52:17.309Z"),
70584
+ created: stringType().default("2025-09-18T06:47:01.973Z"),
70585
+ updated: stringType().default("2025-09-18T06:47:01.973Z"),
70592
70586
  guardrailConfig: unionType([
70593
70587
  lazyType(() => UpdateEvalGuardrailConfigEvalsResponseNumber$outboundSchema),
70594
70588
  lazyType(() => UpdateEvalGuardrailConfigEvalsResponseBoolean$outboundSchema)
@@ -72944,7 +72938,6 @@ var init_operations = __esm(() => {
72944
72938
  init_listmodels();
72945
72939
  init_listpromptversions();
72946
72940
  init_parse();
72947
- init_postv2agentsinternal();
72948
72941
  init_remoteconfigsgetconfig();
72949
72942
  init_retrieveaction();
72950
72943
  init_retrievecontact();
@@ -90050,108 +90043,11 @@ Lists the currently available models, and provides basic information about each
90050
90043
  };
90051
90044
  });
90052
90045
 
90053
- // src/funcs/postV2AgentsInternal.ts
90054
- function postV2AgentsInternal(client, request, options) {
90055
- return new APIPromise($do115(client, request, options));
90056
- }
90057
- async function $do115(client, request, options) {
90058
- const parsed = safeParse(request, (value) => PostV2AgentsInternalRequestBody$outboundSchema.optional().parse(value), "Input validation failed");
90059
- if (!parsed.ok) {
90060
- return [parsed, { status: "invalid" }];
90061
- }
90062
- const payload = parsed.value;
90063
- const body = payload === undefined ? null : encodeJSON("body", payload, { explode: true });
90064
- const path = pathToFunc("/v2/agents/internal")();
90065
- const headers = new Headers(compactMap({
90066
- "Content-Type": "application/json",
90067
- Accept: "*/*"
90068
- }));
90069
- const secConfig = await extractSecurity(client._options.apiKey);
90070
- const securityInput = secConfig == null ? {} : { apiKey: secConfig };
90071
- const requestSecurity = resolveGlobalSecurity(securityInput);
90072
- const context = {
90073
- options: client._options,
90074
- baseURL: options?.serverURL ?? client._baseURL ?? "",
90075
- operationID: "post_/v2/agents/internal",
90076
- oAuth2Scopes: [],
90077
- resolvedSecurity: requestSecurity,
90078
- securitySource: client._options.apiKey,
90079
- retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
90080
- retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
90081
- };
90082
- const requestRes = client._createRequest(context, {
90083
- security: requestSecurity,
90084
- method: "POST",
90085
- baseURL: options?.serverURL,
90086
- path,
90087
- headers,
90088
- body,
90089
- userAgent: client._options.userAgent,
90090
- timeoutMs: options?.timeoutMs || client._options.timeoutMs || 600000
90091
- }, options);
90092
- if (!requestRes.ok) {
90093
- return [requestRes, { status: "invalid" }];
90094
- }
90095
- const req = requestRes.value;
90096
- const doResult = await client._do(req, {
90097
- context,
90098
- errorCodes: ["4XX", "5XX"],
90099
- retryConfig: context.retryConfig,
90100
- retryCodes: context.retryCodes
90101
- });
90102
- if (!doResult.ok) {
90103
- return [doResult, { status: "request-error", request: req }];
90104
- }
90105
- const response = doResult.value;
90106
- const [result] = await match(nil(201, voidType()), fail("4XX"), fail("5XX"))(response, req);
90107
- if (!result.ok) {
90108
- return [result, { status: "complete", request: req, response }];
90109
- }
90110
- return [result, { status: "complete", request: req, response }];
90111
- }
90112
- var init_postV2AgentsInternal = __esm(() => {
90113
- init_esm();
90114
- init_encodings();
90115
- init_matchers();
90116
- init_primitives();
90117
- init_schemas();
90118
- init_security();
90119
- init_url();
90120
- init_operations();
90121
- init_async();
90122
- });
90123
-
90124
- // src/mcp-server/tools/postV2AgentsInternal.ts
90125
- var args114, tool$postV2AgentsInternal;
90126
- var init_postV2AgentsInternal2 = __esm(() => {
90127
- init_postV2AgentsInternal();
90128
- init_operations();
90129
- init_tools();
90130
- args114 = {
90131
- request: PostV2AgentsInternalRequestBody$inboundSchema.optional()
90132
- };
90133
- tool$postV2AgentsInternal = {
90134
- name: "post-v2-agents-internal",
90135
- description: ``,
90136
- args: args114,
90137
- tool: async (client, args115, ctx) => {
90138
- const [result, apiCall] = await postV2AgentsInternal(client, args115.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
90139
- if (!result.ok) {
90140
- return {
90141
- content: [{ type: "text", text: result.error.message }],
90142
- isError: true
90143
- };
90144
- }
90145
- return formatResult(undefined, apiCall);
90146
- }
90147
- };
90148
- });
90149
-
90150
90046
  // src/funcs/promptsCreate.ts
90151
90047
  function promptsCreate(client, request, options) {
90152
- return new APIPromise($do116(client, request, options));
90048
+ return new APIPromise($do115(client, request, options));
90153
90049
  }
90154
- async function $do116(client, request, options) {
90050
+ async function $do115(client, request, options) {
90155
90051
  const parsed = safeParse(request, (value) => CreatePromptRequestBody$outboundSchema.optional().parse(value), "Input validation failed");
90156
90052
  if (!parsed.ok) {
90157
90053
  return [parsed, { status: "invalid" }];
@@ -90218,20 +90114,20 @@ var init_promptsCreate = __esm(() => {
90218
90114
  });
90219
90115
 
90220
90116
  // src/mcp-server/tools/promptsCreate.ts
90221
- var args115, tool$promptsCreate;
90117
+ var args114, tool$promptsCreate;
90222
90118
  var init_promptsCreate2 = __esm(() => {
90223
90119
  init_promptsCreate();
90224
90120
  init_operations();
90225
90121
  init_tools();
90226
- args115 = {
90122
+ args114 = {
90227
90123
  request: CreatePromptRequestBody$inboundSchema.optional()
90228
90124
  };
90229
90125
  tool$promptsCreate = {
90230
90126
  name: "prompts-create",
90231
90127
  description: `Create a prompt`,
90232
- args: args115,
90233
- tool: async (client, args116, ctx) => {
90234
- const [result, apiCall] = await promptsCreate(client, args116.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
90128
+ args: args114,
90129
+ tool: async (client, args115, ctx) => {
90130
+ const [result, apiCall] = await promptsCreate(client, args115.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
90235
90131
  if (!result.ok) {
90236
90132
  return {
90237
90133
  content: [{ type: "text", text: result.error.message }],
@@ -90246,9 +90142,9 @@ var init_promptsCreate2 = __esm(() => {
90246
90142
 
90247
90143
  // src/funcs/promptsDelete.ts
90248
90144
  function promptsDelete(client, request, options) {
90249
- return new APIPromise($do117(client, request, options));
90145
+ return new APIPromise($do116(client, request, options));
90250
90146
  }
90251
- async function $do117(client, request, options) {
90147
+ async function $do116(client, request, options) {
90252
90148
  const parsed = safeParse(request, (value) => DeletePromptRequest$outboundSchema.parse(value), "Input validation failed");
90253
90149
  if (!parsed.ok) {
90254
90150
  return [parsed, { status: "invalid" }];
@@ -90321,20 +90217,20 @@ var init_promptsDelete = __esm(() => {
90321
90217
  });
90322
90218
 
90323
90219
  // src/mcp-server/tools/promptsDelete.ts
90324
- var args116, tool$promptsDelete;
90220
+ var args115, tool$promptsDelete;
90325
90221
  var init_promptsDelete2 = __esm(() => {
90326
90222
  init_promptsDelete();
90327
90223
  init_operations();
90328
90224
  init_tools();
90329
- args116 = {
90225
+ args115 = {
90330
90226
  request: DeletePromptRequest$inboundSchema
90331
90227
  };
90332
90228
  tool$promptsDelete = {
90333
90229
  name: "prompts-delete",
90334
90230
  description: `Delete a prompt`,
90335
- args: args116,
90336
- tool: async (client, args117, ctx) => {
90337
- const [result, apiCall] = await promptsDelete(client, args117.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
90231
+ args: args115,
90232
+ tool: async (client, args116, ctx) => {
90233
+ const [result, apiCall] = await promptsDelete(client, args116.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
90338
90234
  if (!result.ok) {
90339
90235
  return {
90340
90236
  content: [{ type: "text", text: result.error.message }],
@@ -90348,9 +90244,9 @@ var init_promptsDelete2 = __esm(() => {
90348
90244
 
90349
90245
  // src/funcs/promptsGetVersion.ts
90350
90246
  function promptsGetVersion(client, request, options) {
90351
- return new APIPromise($do118(client, request, options));
90247
+ return new APIPromise($do117(client, request, options));
90352
90248
  }
90353
- async function $do118(client, request, options) {
90249
+ async function $do117(client, request, options) {
90354
90250
  const parsed = safeParse(request, (value) => GetPromptVersionRequest$outboundSchema.parse(value), "Input validation failed");
90355
90251
  if (!parsed.ok) {
90356
90252
  return [parsed, { status: "invalid" }];
@@ -90430,12 +90326,12 @@ var init_promptsGetVersion = __esm(() => {
90430
90326
  });
90431
90327
 
90432
90328
  // src/mcp-server/tools/promptsGetVersion.ts
90433
- var args117, tool$promptsGetVersion;
90329
+ var args116, tool$promptsGetVersion;
90434
90330
  var init_promptsGetVersion2 = __esm(() => {
90435
90331
  init_promptsGetVersion();
90436
90332
  init_operations();
90437
90333
  init_tools();
90438
- args117 = {
90334
+ args116 = {
90439
90335
  request: GetPromptVersionRequest$inboundSchema
90440
90336
  };
90441
90337
  tool$promptsGetVersion = {
@@ -90443,9 +90339,9 @@ var init_promptsGetVersion2 = __esm(() => {
90443
90339
  description: `Retrieve a prompt version
90444
90340
 
90445
90341
  Retrieves a specific version of a prompt by its ID and version ID.`,
90446
- args: args117,
90447
- tool: async (client, args118, ctx) => {
90448
- const [result, apiCall] = await promptsGetVersion(client, args118.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
90342
+ args: args116,
90343
+ tool: async (client, args117, ctx) => {
90344
+ const [result, apiCall] = await promptsGetVersion(client, args117.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
90449
90345
  if (!result.ok) {
90450
90346
  return {
90451
90347
  content: [{ type: "text", text: result.error.message }],
@@ -90460,9 +90356,9 @@ Retrieves a specific version of a prompt by its ID and version ID.`,
90460
90356
 
90461
90357
  // src/funcs/promptsList.ts
90462
90358
  function promptsList(client, request, options) {
90463
- return new APIPromise($do119(client, request, options));
90359
+ return new APIPromise($do118(client, request, options));
90464
90360
  }
90465
- async function $do119(client, request, options) {
90361
+ async function $do118(client, request, options) {
90466
90362
  const parsed = safeParse(request, (value) => GetAllPromptsRequest$outboundSchema.optional().parse(value), "Input validation failed");
90467
90363
  if (!parsed.ok) {
90468
90364
  return [parsed, { status: "invalid" }];
@@ -90534,12 +90430,12 @@ var init_promptsList = __esm(() => {
90534
90430
  });
90535
90431
 
90536
90432
  // src/mcp-server/tools/promptsList.ts
90537
- var args118, tool$promptsList;
90433
+ var args117, tool$promptsList;
90538
90434
  var init_promptsList2 = __esm(() => {
90539
90435
  init_promptsList();
90540
90436
  init_operations();
90541
90437
  init_tools();
90542
- args118 = {
90438
+ args117 = {
90543
90439
  request: GetAllPromptsRequest$inboundSchema.optional()
90544
90440
  };
90545
90441
  tool$promptsList = {
@@ -90547,9 +90443,9 @@ var init_promptsList2 = __esm(() => {
90547
90443
  description: `List all prompts
90548
90444
 
90549
90445
  Returns a list of your prompts. The prompts are returned sorted by creation date, with the most recent prompts appearing first`,
90550
- args: args118,
90551
- tool: async (client, args119, ctx) => {
90552
- const [result, apiCall] = await promptsList(client, args119.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
90446
+ args: args117,
90447
+ tool: async (client, args118, ctx) => {
90448
+ const [result, apiCall] = await promptsList(client, args118.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
90553
90449
  if (!result.ok) {
90554
90450
  return {
90555
90451
  content: [{ type: "text", text: result.error.message }],
@@ -90564,9 +90460,9 @@ Returns a list of your prompts. The prompts are returned sorted by creation date
90564
90460
 
90565
90461
  // src/funcs/promptsListVersions.ts
90566
90462
  function promptsListVersions(client, request, options) {
90567
- return new APIPromise($do120(client, request, options));
90463
+ return new APIPromise($do119(client, request, options));
90568
90464
  }
90569
- async function $do120(client, request, options) {
90465
+ async function $do119(client, request, options) {
90570
90466
  const parsed = safeParse(request, (value) => ListPromptVersionsRequest$outboundSchema.parse(value), "Input validation failed");
90571
90467
  if (!parsed.ok) {
90572
90468
  return [parsed, { status: "invalid" }];
@@ -90644,12 +90540,12 @@ var init_promptsListVersions = __esm(() => {
90644
90540
  });
90645
90541
 
90646
90542
  // src/mcp-server/tools/promptsListVersions.ts
90647
- var args119, tool$promptsListVersions;
90543
+ var args118, tool$promptsListVersions;
90648
90544
  var init_promptsListVersions2 = __esm(() => {
90649
90545
  init_promptsListVersions();
90650
90546
  init_operations();
90651
90547
  init_tools();
90652
- args119 = {
90548
+ args118 = {
90653
90549
  request: ListPromptVersionsRequest$inboundSchema
90654
90550
  };
90655
90551
  tool$promptsListVersions = {
@@ -90657,9 +90553,9 @@ var init_promptsListVersions2 = __esm(() => {
90657
90553
  description: `List all prompt versions
90658
90554
 
90659
90555
  Returns a list of your prompt versions. The prompt versions are returned sorted by creation date, with the most recent prompt versions appearing first`,
90660
- args: args119,
90661
- tool: async (client, args120, ctx) => {
90662
- const [result, apiCall] = await promptsListVersions(client, args120.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
90556
+ args: args118,
90557
+ tool: async (client, args119, ctx) => {
90558
+ const [result, apiCall] = await promptsListVersions(client, args119.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
90663
90559
  if (!result.ok) {
90664
90560
  return {
90665
90561
  content: [{ type: "text", text: result.error.message }],
@@ -90674,9 +90570,9 @@ Returns a list of your prompt versions. The prompt versions are returned sorted
90674
90570
 
90675
90571
  // src/funcs/promptsRetrieve.ts
90676
90572
  function promptsRetrieve(client, request, options) {
90677
- return new APIPromise($do121(client, request, options));
90573
+ return new APIPromise($do120(client, request, options));
90678
90574
  }
90679
- async function $do121(client, request, options) {
90575
+ async function $do120(client, request, options) {
90680
90576
  const parsed = safeParse(request, (value) => GetOnePromptRequest$outboundSchema.parse(value), "Input validation failed");
90681
90577
  if (!parsed.ok) {
90682
90578
  return [parsed, { status: "invalid" }];
@@ -90748,12 +90644,12 @@ var init_promptsRetrieve = __esm(() => {
90748
90644
  });
90749
90645
 
90750
90646
  // src/mcp-server/tools/promptsRetrieve.ts
90751
- var args120, tool$promptsRetrieve;
90647
+ var args119, tool$promptsRetrieve;
90752
90648
  var init_promptsRetrieve2 = __esm(() => {
90753
90649
  init_promptsRetrieve();
90754
90650
  init_operations();
90755
90651
  init_tools();
90756
- args120 = {
90652
+ args119 = {
90757
90653
  request: GetOnePromptRequest$inboundSchema
90758
90654
  };
90759
90655
  tool$promptsRetrieve = {
@@ -90761,9 +90657,9 @@ var init_promptsRetrieve2 = __esm(() => {
90761
90657
  description: `Retrieve a prompt
90762
90658
 
90763
90659
  Retrieves a prompt object`,
90764
- args: args120,
90765
- tool: async (client, args121, ctx) => {
90766
- const [result, apiCall] = await promptsRetrieve(client, args121.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
90660
+ args: args119,
90661
+ tool: async (client, args120, ctx) => {
90662
+ const [result, apiCall] = await promptsRetrieve(client, args120.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
90767
90663
  if (!result.ok) {
90768
90664
  return {
90769
90665
  content: [{ type: "text", text: result.error.message }],
@@ -90778,9 +90674,9 @@ Retrieves a prompt object`,
90778
90674
 
90779
90675
  // src/funcs/promptsUpdate.ts
90780
90676
  function promptsUpdate(client, request, options) {
90781
- return new APIPromise($do122(client, request, options));
90677
+ return new APIPromise($do121(client, request, options));
90782
90678
  }
90783
- async function $do122(client, request, options) {
90679
+ async function $do121(client, request, options) {
90784
90680
  const parsed = safeParse(request, (value) => UpdatePromptRequest$outboundSchema.parse(value), "Input validation failed");
90785
90681
  if (!parsed.ok) {
90786
90682
  return [parsed, { status: "invalid" }];
@@ -90857,20 +90753,20 @@ var init_promptsUpdate = __esm(() => {
90857
90753
  });
90858
90754
 
90859
90755
  // src/mcp-server/tools/promptsUpdate.ts
90860
- var args121, tool$promptsUpdate;
90756
+ var args120, tool$promptsUpdate;
90861
90757
  var init_promptsUpdate2 = __esm(() => {
90862
90758
  init_promptsUpdate();
90863
90759
  init_operations();
90864
90760
  init_tools();
90865
- args121 = {
90761
+ args120 = {
90866
90762
  request: UpdatePromptRequest$inboundSchema
90867
90763
  };
90868
90764
  tool$promptsUpdate = {
90869
90765
  name: "prompts-update",
90870
90766
  description: `Update a prompt`,
90871
- args: args121,
90872
- tool: async (client, args122, ctx) => {
90873
- const [result, apiCall] = await promptsUpdate(client, args122.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
90767
+ args: args120,
90768
+ tool: async (client, args121, ctx) => {
90769
+ const [result, apiCall] = await promptsUpdate(client, args121.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
90874
90770
  if (!result.ok) {
90875
90771
  return {
90876
90772
  content: [{ type: "text", text: result.error.message }],
@@ -90885,9 +90781,9 @@ var init_promptsUpdate2 = __esm(() => {
90885
90781
 
90886
90782
  // src/funcs/remoteconfigsRetrieve.ts
90887
90783
  function remoteconfigsRetrieve(client, request, options) {
90888
- return new APIPromise($do123(client, request, options));
90784
+ return new APIPromise($do122(client, request, options));
90889
90785
  }
90890
- async function $do123(client, request, options) {
90786
+ async function $do122(client, request, options) {
90891
90787
  const parsed = safeParse(request, (value) => RemoteConfigsGetConfigRequestBody$outboundSchema.optional().parse(value), "Input validation failed");
90892
90788
  if (!parsed.ok) {
90893
90789
  return [parsed, { status: "invalid" }];
@@ -90954,20 +90850,20 @@ var init_remoteconfigsRetrieve = __esm(() => {
90954
90850
  });
90955
90851
 
90956
90852
  // src/mcp-server/tools/remoteconfigsRetrieve.ts
90957
- var args122, tool$remoteconfigsRetrieve;
90853
+ var args121, tool$remoteconfigsRetrieve;
90958
90854
  var init_remoteconfigsRetrieve2 = __esm(() => {
90959
90855
  init_remoteconfigsRetrieve();
90960
90856
  init_operations();
90961
90857
  init_tools();
90962
- args122 = {
90858
+ args121 = {
90963
90859
  request: RemoteConfigsGetConfigRequestBody$inboundSchema.optional()
90964
90860
  };
90965
90861
  tool$remoteconfigsRetrieve = {
90966
90862
  name: "remoteconfigs-retrieve",
90967
90863
  description: `Retrieve a remote config`,
90968
- args: args122,
90969
- tool: async (client, args123, ctx) => {
90970
- const [result, apiCall] = await remoteconfigsRetrieve(client, args123.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
90864
+ args: args121,
90865
+ tool: async (client, args122, ctx) => {
90866
+ const [result, apiCall] = await remoteconfigsRetrieve(client, args122.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
90971
90867
  if (!result.ok) {
90972
90868
  return {
90973
90869
  content: [{ type: "text", text: result.error.message }],
@@ -90984,7 +90880,7 @@ var init_remoteconfigsRetrieve2 = __esm(() => {
90984
90880
  function createMCPServer(deps) {
90985
90881
  const server = new McpServer({
90986
90882
  name: "Orq",
90987
- version: "3.13.0-rc.13"
90883
+ version: "3.13.0-rc.16"
90988
90884
  });
90989
90885
  const client = new OrqCore({
90990
90886
  apiKey: deps.apiKey,
@@ -91000,7 +90896,6 @@ function createMCPServer(deps) {
91000
90896
  const resourceTemplate = createRegisterResourceTemplate(deps.logger, server, client, scopes);
91001
90897
  const prompt = createRegisterPrompt(deps.logger, server, client, scopes);
91002
90898
  const register = { tool, resource, resourceTemplate, prompt };
91003
- tool(tool$postV2AgentsInternal);
91004
90899
  tool(tool$contactsCreate);
91005
90900
  tool(tool$contactsList);
91006
90901
  tool(tool$contactsRetrieve);
@@ -91244,7 +91139,6 @@ var init_server2 = __esm(() => {
91244
91139
  init_memoryStoresUpdateDocument2();
91245
91140
  init_memoryStoresUpdateMemory2();
91246
91141
  init_modelsList2();
91247
- init_postV2AgentsInternal2();
91248
91142
  init_promptsCreate2();
91249
91143
  init_promptsDelete2();
91250
91144
  init_promptsGetVersion2();
@@ -92450,7 +92344,7 @@ var routes = rn({
92450
92344
  var app = Ve(routes, {
92451
92345
  name: "mcp",
92452
92346
  versionInfo: {
92453
- currentVersion: "3.13.0-rc.13"
92347
+ currentVersion: "3.13.0-rc.16"
92454
92348
  }
92455
92349
  });
92456
92350
  _t(app, process3.argv.slice(2), buildContext(process3));
@@ -92458,5 +92352,5 @@ export {
92458
92352
  app
92459
92353
  };
92460
92354
 
92461
- //# debugId=266A3160F8E380B964756E2164756E21
92355
+ //# debugId=F143BC82D75B3E7964756E2164756E21
92462
92356
  //# sourceMappingURL=mcp-server.js.map