@orq-ai/node 4.0.0-rc.67 → 4.0.0-rc.68

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 (143) hide show
  1. package/README.md +23 -18
  2. package/bin/mcp-server.js +2320 -1152
  3. package/bin/mcp-server.js.map +49 -46
  4. package/docs/sdks/responses/README.md +139 -0
  5. package/examples/package-lock.json +1 -1
  6. package/funcs/agentsResponsesCreate.d.ts +17 -0
  7. package/funcs/agentsResponsesCreate.d.ts.map +1 -0
  8. package/funcs/agentsResponsesCreate.js +120 -0
  9. package/funcs/agentsResponsesCreate.js.map +1 -0
  10. package/jsr.json +1 -1
  11. package/lib/config.d.ts +2 -2
  12. package/lib/config.js +2 -2
  13. package/mcp-server/mcp-server.js +1 -1
  14. package/mcp-server/server.d.ts.map +1 -1
  15. package/mcp-server/server.js +3 -1
  16. package/mcp-server/server.js.map +1 -1
  17. package/mcp-server/tools/agentsResponsesCreate.d.ts +8 -0
  18. package/mcp-server/tools/agentsResponsesCreate.d.ts.map +1 -0
  19. package/mcp-server/tools/agentsResponsesCreate.js +64 -0
  20. package/mcp-server/tools/agentsResponsesCreate.js.map +1 -0
  21. package/models/operations/createagent.js +4 -4
  22. package/models/operations/createagent.js.map +1 -1
  23. package/models/operations/createagentresponse.d.ts +564 -0
  24. package/models/operations/createagentresponse.d.ts.map +1 -0
  25. package/models/operations/createagentresponse.js +605 -0
  26. package/models/operations/createagentresponse.js.map +1 -0
  27. package/models/operations/createbudget.js +2 -2
  28. package/models/operations/createcontact.js +2 -2
  29. package/models/operations/createdataset.js +2 -2
  30. package/models/operations/createdatasetitem.js +8 -8
  31. package/models/operations/createdatasource.js +2 -2
  32. package/models/operations/createeval.js +28 -28
  33. package/models/operations/createtool.js +12 -12
  34. package/models/operations/fileget.js +2 -2
  35. package/models/operations/filelist.js +2 -2
  36. package/models/operations/fileupload.js +2 -2
  37. package/models/operations/getagent.js +2 -2
  38. package/models/operations/getagent.js.map +1 -1
  39. package/models/operations/getagenttask.d.ts +32 -32
  40. package/models/operations/getagenttask.d.ts.map +1 -1
  41. package/models/operations/getagenttask.js +50 -50
  42. package/models/operations/getagenttask.js.map +1 -1
  43. package/models/operations/getalltools.js +12 -12
  44. package/models/operations/getbudget.js +2 -2
  45. package/models/operations/getevals.js +28 -28
  46. package/models/operations/index.d.ts +1 -0
  47. package/models/operations/index.d.ts.map +1 -1
  48. package/models/operations/index.js +1 -0
  49. package/models/operations/index.js.map +1 -1
  50. package/models/operations/invokeagent.d.ts +95 -95
  51. package/models/operations/invokeagent.d.ts.map +1 -1
  52. package/models/operations/invokeagent.js +143 -134
  53. package/models/operations/invokeagent.js.map +1 -1
  54. package/models/operations/listagents.js +2 -2
  55. package/models/operations/listagents.js.map +1 -1
  56. package/models/operations/listbudgets.js +2 -2
  57. package/models/operations/listcontacts.js +2 -2
  58. package/models/operations/listdatasetdatapoints.js +8 -8
  59. package/models/operations/listdatasets.js +2 -2
  60. package/models/operations/listdatasources.js +2 -2
  61. package/models/operations/retrievecontact.js +2 -2
  62. package/models/operations/retrievedatapoint.js +8 -8
  63. package/models/operations/retrievedataset.js +2 -2
  64. package/models/operations/retrievedatasource.js +2 -2
  65. package/models/operations/retrievetool.js +12 -12
  66. package/models/operations/runagent.d.ts +54 -54
  67. package/models/operations/runagent.d.ts.map +1 -1
  68. package/models/operations/runagent.js +90 -90
  69. package/models/operations/runagent.js.map +1 -1
  70. package/models/operations/streamagent.d.ts +541 -68
  71. package/models/operations/streamagent.d.ts.map +1 -1
  72. package/models/operations/streamagent.js +649 -118
  73. package/models/operations/streamagent.js.map +1 -1
  74. package/models/operations/streamrunagent.d.ts +541 -68
  75. package/models/operations/streamrunagent.d.ts.map +1 -1
  76. package/models/operations/streamrunagent.js +657 -127
  77. package/models/operations/streamrunagent.js.map +1 -1
  78. package/models/operations/updateagent.js +4 -4
  79. package/models/operations/updateagent.js.map +1 -1
  80. package/models/operations/updatebudget.js +2 -2
  81. package/models/operations/updatecontact.js +2 -2
  82. package/models/operations/updatedatapoint.js +8 -8
  83. package/models/operations/updatedataset.js +2 -2
  84. package/models/operations/updatedatasource.js +2 -2
  85. package/models/operations/updateeval.js +28 -28
  86. package/models/operations/updatetool.js +14 -14
  87. package/package.json +1 -1
  88. package/sdk/agents.d.ts +3 -0
  89. package/sdk/agents.d.ts.map +1 -1
  90. package/sdk/agents.js +4 -0
  91. package/sdk/agents.js.map +1 -1
  92. package/sdk/responses.d.ts +12 -0
  93. package/sdk/responses.d.ts.map +1 -0
  94. package/sdk/responses.js +22 -0
  95. package/sdk/responses.js.map +1 -0
  96. package/src/funcs/agentsResponsesCreate.ts +168 -0
  97. package/src/lib/config.ts +2 -2
  98. package/src/mcp-server/mcp-server.ts +1 -1
  99. package/src/mcp-server/server.ts +3 -1
  100. package/src/mcp-server/tools/agentsResponsesCreate.ts +37 -0
  101. package/src/models/operations/createagent.ts +4 -4
  102. package/src/models/operations/createagentresponse.ts +1339 -0
  103. package/src/models/operations/createbudget.ts +2 -2
  104. package/src/models/operations/createcontact.ts +2 -2
  105. package/src/models/operations/createdataset.ts +2 -2
  106. package/src/models/operations/createdatasetitem.ts +8 -8
  107. package/src/models/operations/createdatasource.ts +2 -2
  108. package/src/models/operations/createeval.ts +28 -28
  109. package/src/models/operations/createtool.ts +12 -12
  110. package/src/models/operations/fileget.ts +2 -2
  111. package/src/models/operations/filelist.ts +2 -2
  112. package/src/models/operations/fileupload.ts +2 -2
  113. package/src/models/operations/getagent.ts +2 -2
  114. package/src/models/operations/getagenttask.ts +94 -94
  115. package/src/models/operations/getalltools.ts +12 -12
  116. package/src/models/operations/getbudget.ts +2 -2
  117. package/src/models/operations/getevals.ts +28 -28
  118. package/src/models/operations/index.ts +1 -0
  119. package/src/models/operations/invokeagent.ts +322 -246
  120. package/src/models/operations/listagents.ts +2 -2
  121. package/src/models/operations/listbudgets.ts +2 -2
  122. package/src/models/operations/listcontacts.ts +2 -2
  123. package/src/models/operations/listdatasetdatapoints.ts +8 -8
  124. package/src/models/operations/listdatasets.ts +2 -2
  125. package/src/models/operations/listdatasources.ts +2 -2
  126. package/src/models/operations/retrievecontact.ts +2 -2
  127. package/src/models/operations/retrievedatapoint.ts +8 -8
  128. package/src/models/operations/retrievedataset.ts +2 -2
  129. package/src/models/operations/retrievedatasource.ts +2 -2
  130. package/src/models/operations/retrievetool.ts +12 -12
  131. package/src/models/operations/runagent.ts +174 -157
  132. package/src/models/operations/streamagent.ts +1739 -297
  133. package/src/models/operations/streamrunagent.ts +1742 -307
  134. package/src/models/operations/updateagent.ts +4 -4
  135. package/src/models/operations/updatebudget.ts +2 -2
  136. package/src/models/operations/updatecontact.ts +2 -2
  137. package/src/models/operations/updatedatapoint.ts +8 -8
  138. package/src/models/operations/updatedataset.ts +2 -2
  139. package/src/models/operations/updatedatasource.ts +2 -2
  140. package/src/models/operations/updateeval.ts +28 -28
  141. package/src/models/operations/updatetool.ts +14 -14
  142. package/src/sdk/agents.ts +6 -0
  143. package/src/sdk/responses.ts +27 -0
@@ -538,8 +538,8 @@ exports.GetEvalsDataEvalsResponse200ApplicationJSONType$outboundSchema = exports
538
538
  exports.DataTypescript$inboundSchema = z.object({
539
539
  _id: z.string(),
540
540
  description: z.string(),
541
- created: z.string().default("2025-11-22T10:49:23.672Z"),
542
- updated: z.string().default("2025-11-22T10:49:23.672Z"),
541
+ created: z.string().default("2025-11-22T21:11:50.311Z"),
542
+ updated: z.string().default("2025-11-22T21:11:50.311Z"),
543
543
  guardrail_config: z.union([
544
544
  z.lazy(() => exports.GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONNumber$inboundSchema),
545
545
  z.lazy(() => exports.GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONBoolean$inboundSchema),
@@ -557,8 +557,8 @@ exports.DataTypescript$inboundSchema = z.object({
557
557
  exports.DataTypescript$outboundSchema = z.object({
558
558
  id: z.string(),
559
559
  description: z.string(),
560
- created: z.string().default("2025-11-22T10:49:23.672Z"),
561
- updated: z.string().default("2025-11-22T10:49:23.672Z"),
560
+ created: z.string().default("2025-11-22T21:11:50.311Z"),
561
+ updated: z.string().default("2025-11-22T21:11:50.311Z"),
562
562
  guardrailConfig: z.union([
563
563
  z.lazy(() => exports.GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONNumber$outboundSchema),
564
564
  z.lazy(() => exports.GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONBoolean$outboundSchema),
@@ -657,8 +657,8 @@ exports.DataRagasMetric$outboundSchema = exports.DataRagasMetric$inboundSchema;
657
657
  exports.DataRagas$inboundSchema = z.object({
658
658
  _id: z.string(),
659
659
  description: z.string(),
660
- created: z.string().default("2025-11-22T10:49:23.672Z"),
661
- updated: z.string().default("2025-11-22T10:49:23.672Z"),
660
+ created: z.string().default("2025-11-22T21:11:50.311Z"),
661
+ updated: z.string().default("2025-11-22T21:11:50.311Z"),
662
662
  guardrail_config: z.union([
663
663
  z.lazy(() => exports.GetEvalsGuardrailConfigEvalsResponse200Number$inboundSchema),
664
664
  z.lazy(() => exports.GetEvalsGuardrailConfigEvalsResponse200Boolean$inboundSchema),
@@ -678,8 +678,8 @@ exports.DataRagas$inboundSchema = z.object({
678
678
  exports.DataRagas$outboundSchema = z.object({
679
679
  id: z.string(),
680
680
  description: z.string(),
681
- created: z.string().default("2025-11-22T10:49:23.672Z"),
682
- updated: z.string().default("2025-11-22T10:49:23.672Z"),
681
+ created: z.string().default("2025-11-22T21:11:50.311Z"),
682
+ updated: z.string().default("2025-11-22T21:11:50.311Z"),
683
683
  guardrailConfig: z.union([
684
684
  z.lazy(() => exports.GetEvalsGuardrailConfigEvalsResponse200Number$outboundSchema),
685
685
  z.lazy(() => exports.GetEvalsGuardrailConfigEvalsResponse200Boolean$outboundSchema),
@@ -1516,8 +1516,8 @@ function dataFunctionParamsFromJSON(jsonString) {
1516
1516
  exports.DataFunction$inboundSchema = z.object({
1517
1517
  _id: z.string(),
1518
1518
  description: z.string(),
1519
- created: z.string().default("2025-11-22T10:49:23.672Z"),
1520
- updated: z.string().default("2025-11-22T10:49:23.672Z"),
1519
+ created: z.string().default("2025-11-22T21:11:50.311Z"),
1520
+ updated: z.string().default("2025-11-22T21:11:50.311Z"),
1521
1521
  guardrail_config: z.union([
1522
1522
  z.lazy(() => exports.GetEvalsGuardrailConfigEvalsResponseNumber$inboundSchema),
1523
1523
  z.lazy(() => exports.GetEvalsGuardrailConfigEvalsResponseBoolean$inboundSchema),
@@ -1572,8 +1572,8 @@ exports.DataFunction$inboundSchema = z.object({
1572
1572
  exports.DataFunction$outboundSchema = z.object({
1573
1573
  id: z.string(),
1574
1574
  description: z.string(),
1575
- created: z.string().default("2025-11-22T10:49:23.672Z"),
1576
- updated: z.string().default("2025-11-22T10:49:23.672Z"),
1575
+ created: z.string().default("2025-11-22T21:11:50.311Z"),
1576
+ updated: z.string().default("2025-11-22T21:11:50.311Z"),
1577
1577
  guardrailConfig: z.union([
1578
1578
  z.lazy(() => exports.GetEvalsGuardrailConfigEvalsResponseNumber$outboundSchema),
1579
1579
  z.lazy(() => exports.GetEvalsGuardrailConfigEvalsResponseBoolean$outboundSchema),
@@ -1704,8 +1704,8 @@ exports.GetEvalsDataEvalsType$outboundSchema = exports.GetEvalsDataEvalsType$inb
1704
1704
  exports.DataPython$inboundSchema = z.object({
1705
1705
  _id: z.string(),
1706
1706
  description: z.string(),
1707
- created: z.string().default("2025-11-22T10:49:23.672Z"),
1708
- updated: z.string().default("2025-11-22T10:49:23.672Z"),
1707
+ created: z.string().default("2025-11-22T21:11:50.311Z"),
1708
+ updated: z.string().default("2025-11-22T21:11:50.311Z"),
1709
1709
  guardrail_config: z.union([
1710
1710
  z.lazy(() => exports.GetEvalsGuardrailConfigEvalsNumber$inboundSchema),
1711
1711
  z.lazy(() => exports.GetEvalsGuardrailConfigEvalsBoolean$inboundSchema),
@@ -1723,8 +1723,8 @@ exports.DataPython$inboundSchema = z.object({
1723
1723
  exports.DataPython$outboundSchema = z.object({
1724
1724
  id: z.string(),
1725
1725
  description: z.string(),
1726
- created: z.string().default("2025-11-22T10:49:23.672Z"),
1727
- updated: z.string().default("2025-11-22T10:49:23.672Z"),
1726
+ created: z.string().default("2025-11-22T21:11:50.311Z"),
1727
+ updated: z.string().default("2025-11-22T21:11:50.311Z"),
1728
1728
  guardrailConfig: z.union([
1729
1729
  z.lazy(() => exports.GetEvalsGuardrailConfigEvalsNumber$outboundSchema),
1730
1730
  z.lazy(() => exports.GetEvalsGuardrailConfigEvalsBoolean$outboundSchema),
@@ -1824,8 +1824,8 @@ exports.DataMethod$outboundSchema = exports.DataMethod$inboundSchema;
1824
1824
  exports.DataHTTP$inboundSchema = z.object({
1825
1825
  _id: z.string(),
1826
1826
  description: z.string(),
1827
- created: z.string().default("2025-11-22T10:49:23.672Z"),
1828
- updated: z.string().default("2025-11-22T10:49:23.672Z"),
1827
+ created: z.string().default("2025-11-22T21:11:50.311Z"),
1828
+ updated: z.string().default("2025-11-22T21:11:50.311Z"),
1829
1829
  guardrail_config: z.union([
1830
1830
  z.lazy(() => exports.GetEvalsGuardrailConfigNumber$inboundSchema),
1831
1831
  z.lazy(() => exports.GetEvalsGuardrailConfigBoolean$inboundSchema),
@@ -1846,8 +1846,8 @@ exports.DataHTTP$inboundSchema = z.object({
1846
1846
  exports.DataHTTP$outboundSchema = z.object({
1847
1847
  id: z.string(),
1848
1848
  description: z.string(),
1849
- created: z.string().default("2025-11-22T10:49:23.672Z"),
1850
- updated: z.string().default("2025-11-22T10:49:23.672Z"),
1849
+ created: z.string().default("2025-11-22T21:11:50.311Z"),
1850
+ updated: z.string().default("2025-11-22T21:11:50.311Z"),
1851
1851
  guardrailConfig: z.union([
1852
1852
  z.lazy(() => exports.GetEvalsGuardrailConfigNumber$outboundSchema),
1853
1853
  z.lazy(() => exports.GetEvalsGuardrailConfigBoolean$outboundSchema),
@@ -1950,8 +1950,8 @@ exports.DataType$outboundSchema = exports.DataType$inboundSchema;
1950
1950
  exports.DataJSON$inboundSchema = z.object({
1951
1951
  _id: z.string(),
1952
1952
  description: z.string(),
1953
- created: z.string().default("2025-11-22T10:49:23.672Z"),
1954
- updated: z.string().default("2025-11-22T10:49:23.672Z"),
1953
+ created: z.string().default("2025-11-22T21:11:50.311Z"),
1954
+ updated: z.string().default("2025-11-22T21:11:50.311Z"),
1955
1955
  guardrail_config: z.union([
1956
1956
  z.lazy(() => exports.GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyDataNumber$inboundSchema),
1957
1957
  z.lazy(() => exports.GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyDataBoolean$inboundSchema),
@@ -1969,8 +1969,8 @@ exports.DataJSON$inboundSchema = z.object({
1969
1969
  exports.DataJSON$outboundSchema = z.object({
1970
1970
  id: z.string(),
1971
1971
  description: z.string(),
1972
- created: z.string().default("2025-11-22T10:49:23.672Z"),
1973
- updated: z.string().default("2025-11-22T10:49:23.672Z"),
1972
+ created: z.string().default("2025-11-22T21:11:50.311Z"),
1973
+ updated: z.string().default("2025-11-22T21:11:50.311Z"),
1974
1974
  guardrailConfig: z.union([
1975
1975
  z.lazy(() => exports.GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyDataNumber$outboundSchema),
1976
1976
  z.lazy(() => exports.GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyDataBoolean$outboundSchema),
@@ -2070,8 +2070,8 @@ exports.GetEvalsDataEvalsResponse200ApplicationJSONResponseBodyType$outboundSche
2070
2070
  exports.DataLLM$inboundSchema = z.object({
2071
2071
  _id: z.string(),
2072
2072
  description: z.string(),
2073
- created: z.string().default("2025-11-22T10:49:23.672Z"),
2074
- updated: z.string().default("2025-11-22T10:49:23.672Z"),
2073
+ created: z.string().default("2025-11-22T21:11:50.311Z"),
2074
+ updated: z.string().default("2025-11-22T21:11:50.311Z"),
2075
2075
  guardrail_config: z.union([
2076
2076
  z.lazy(() => exports.GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$inboundSchema),
2077
2077
  z.lazy(() => exports.GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyBoolean$inboundSchema),
@@ -2090,8 +2090,8 @@ exports.DataLLM$inboundSchema = z.object({
2090
2090
  exports.DataLLM$outboundSchema = z.object({
2091
2091
  id: z.string(),
2092
2092
  description: z.string(),
2093
- created: z.string().default("2025-11-22T10:49:23.672Z"),
2094
- updated: z.string().default("2025-11-22T10:49:23.672Z"),
2093
+ created: z.string().default("2025-11-22T21:11:50.311Z"),
2094
+ updated: z.string().default("2025-11-22T21:11:50.311Z"),
2095
2095
  guardrailConfig: z.union([
2096
2096
  z.lazy(() => exports.GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$outboundSchema),
2097
2097
  z.lazy(() => exports.GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyBoolean$outboundSchema),
@@ -1,5 +1,6 @@
1
1
  export * from "./cleardataset.js";
2
2
  export * from "./createagent.js";
3
+ export * from "./createagentresponse.js";
3
4
  export * from "./createbudget.js";
4
5
  export * from "./createchunk.js";
5
6
  export * from "./createcontact.js";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/models/operations/index.ts"],"names":[],"mappings":"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"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/models/operations/index.ts"],"names":[],"mappings":"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"}
@@ -19,6 +19,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
19
19
  Object.defineProperty(exports, "__esModule", { value: true });
20
20
  __exportStar(require("./cleardataset.js"), exports);
21
21
  __exportStar(require("./createagent.js"), exports);
22
+ __exportStar(require("./createagentresponse.js"), exports);
22
23
  __exportStar(require("./createbudget.js"), exports);
23
24
  __exportStar(require("./createchunk.js"), exports);
24
25
  __exportStar(require("./createcontact.js"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/models/operations/index.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;AAEH,oDAAkC;AAClC,mDAAiC;AACjC,oDAAkC;AAClC,mDAAiC;AACjC,qDAAmC;AACnC,qDAAmC;AACnC,yDAAuC;AACvC,wDAAsC;AACtC,kDAAgC;AAChC,sDAAoC;AACpC,uDAAqC;AACrC,oDAAkC;AAClC,4DAA0C;AAC1C,yDAAuC;AACvC,oDAAkC;AAClC,kDAAgC;AAChC,mDAAiC;AACjC,oDAAkC;AAClC,mDAAiC;AACjC,oDAAkC;AAClC,qDAAmC;AACnC,uDAAqC;AACrC,qDAAmC;AACnC,wDAAsC;AACtC,kDAAgC;AAChC,uDAAqC;AACrC,oDAAkC;AAClC,4DAA0C;AAC1C,yDAAuC;AACvC,oDAAkC;AAClC,kDAAgC;AAChC,8DAA4C;AAC5C,2DAAyC;AACzC,wDAAsC;AACtC,mDAAiC;AACjC,wDAAsC;AACtC,kDAAgC;AAChC,+CAA6B;AAC7B,gDAA8B;AAC9B,kDAAgC;AAChC,gDAA8B;AAC9B,oDAAkC;AAClC,sDAAoC;AACpC,6DAA2C;AAC3C,0DAAwC;AACxC,qDAAmC;AACnC,mDAAiC;AACjC,iDAA+B;AAC/B,sDAAoC;AACpC,gDAA8B;AAC9B,mDAAiC;AACjC,uDAAqC;AACrC,oDAAkC;AAClC,wDAAsC;AACtC,mDAAiC;AACjC,mDAAiC;AACjC,kDAAgC;AAChC,sDAAoC;AACpC,mDAAiC;AACjC,kDAAgC;AAChC,2DAAyC;AACzC,oDAAkC;AAClC,6DAA2C;AAC3C,oDAAkC;AAClC,uDAAqC;AACrC,0DAAwC;AACxC,kDAAgC;AAChC,0DAAwC;AACxC,6CAA2B;AAC3B,8DAA4C;AAC5C,sDAAoC;AACpC,uDAAqC;AACrC,yDAAuC;AACvC,uDAAqC;AACrC,0DAAwC;AACxC,sDAAoC;AACpC,8DAA4C;AAC5C,2DAAyC;AACzC,oDAAkC;AAClC,gDAA8B;AAC9B,uDAAqC;AACrC,mDAAiC;AACjC,sDAAoC;AACpC,mDAAiC;AACjC,oDAAkC;AAClC,mDAAiC;AACjC,qDAAmC;AACnC,uDAAqC;AACrC,qDAAmC;AACnC,wDAAsC;AACtC,kDAAgC;AAChC,uDAAqC;AACrC,oDAAkC;AAClC,4DAA0C;AAC1C,yDAAuC;AACvC,oDAAkC;AAClC,kDAAgC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/models/operations/index.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;AAEH,oDAAkC;AAClC,mDAAiC;AACjC,2DAAyC;AACzC,oDAAkC;AAClC,mDAAiC;AACjC,qDAAmC;AACnC,qDAAmC;AACnC,yDAAuC;AACvC,wDAAsC;AACtC,kDAAgC;AAChC,sDAAoC;AACpC,uDAAqC;AACrC,oDAAkC;AAClC,4DAA0C;AAC1C,yDAAuC;AACvC,oDAAkC;AAClC,kDAAgC;AAChC,mDAAiC;AACjC,oDAAkC;AAClC,mDAAiC;AACjC,oDAAkC;AAClC,qDAAmC;AACnC,uDAAqC;AACrC,qDAAmC;AACnC,wDAAsC;AACtC,kDAAgC;AAChC,uDAAqC;AACrC,oDAAkC;AAClC,4DAA0C;AAC1C,yDAAuC;AACvC,oDAAkC;AAClC,kDAAgC;AAChC,8DAA4C;AAC5C,2DAAyC;AACzC,wDAAsC;AACtC,mDAAiC;AACjC,wDAAsC;AACtC,kDAAgC;AAChC,+CAA6B;AAC7B,gDAA8B;AAC9B,kDAAgC;AAChC,gDAA8B;AAC9B,oDAAkC;AAClC,sDAAoC;AACpC,6DAA2C;AAC3C,0DAAwC;AACxC,qDAAmC;AACnC,mDAAiC;AACjC,iDAA+B;AAC/B,sDAAoC;AACpC,gDAA8B;AAC9B,mDAAiC;AACjC,uDAAqC;AACrC,oDAAkC;AAClC,wDAAsC;AACtC,mDAAiC;AACjC,mDAAiC;AACjC,kDAAgC;AAChC,sDAAoC;AACpC,mDAAiC;AACjC,kDAAgC;AAChC,2DAAyC;AACzC,oDAAkC;AAClC,6DAA2C;AAC3C,oDAAkC;AAClC,uDAAqC;AACrC,0DAAwC;AACxC,kDAAgC;AAChC,0DAAwC;AACxC,6CAA2B;AAC3B,8DAA4C;AAC5C,sDAAoC;AACpC,uDAAqC;AACrC,yDAAuC;AACvC,uDAAqC;AACrC,0DAAwC;AACxC,sDAAoC;AACpC,8DAA4C;AAC5C,2DAAyC;AACzC,oDAAkC;AAClC,gDAA8B;AAC9B,uDAAqC;AACrC,mDAAiC;AACjC,sDAAoC;AACpC,mDAAiC;AACjC,oDAAkC;AAClC,mDAAiC;AACjC,qDAAmC;AACnC,uDAAqC;AACrC,qDAAmC;AACnC,wDAAsC;AACtC,kDAAgC;AAChC,uDAAqC;AACrC,oDAAkC;AAClC,4DAA0C;AAC1C,yDAAuC;AACvC,oDAAkC;AAClC,kDAAgC"}
@@ -5,50 +5,50 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
5
5
  /**
6
6
  * Message containing tool execution results
7
7
  */
8
- export declare const RoleToolMessage: {
8
+ export declare const InvokeAgentRoleToolMessage: {
9
9
  readonly Tool: "tool";
10
10
  };
11
11
  /**
12
12
  * Message containing tool execution results
13
13
  */
14
- export type RoleToolMessage = ClosedEnum<typeof RoleToolMessage>;
14
+ export type InvokeAgentRoleToolMessage = ClosedEnum<typeof InvokeAgentRoleToolMessage>;
15
15
  /**
16
16
  * Message from the end user
17
17
  */
18
- export declare const RoleUserMessage: {
18
+ export declare const InvokeAgentRoleUserMessage: {
19
19
  readonly User: "user";
20
20
  };
21
21
  /**
22
22
  * Message from the end user
23
23
  */
24
- export type RoleUserMessage = ClosedEnum<typeof RoleUserMessage>;
24
+ export type InvokeAgentRoleUserMessage = ClosedEnum<typeof InvokeAgentRoleUserMessage>;
25
25
  /**
26
26
  * Message role (user or tool for continuing executions)
27
27
  */
28
- export type InvokeAgentRole = RoleUserMessage | RoleToolMessage;
29
- export declare const InvokeAgentPublicMessagePartKind: {
28
+ export type InvokeAgentRole = InvokeAgentRoleUserMessage | InvokeAgentRoleToolMessage;
29
+ export declare const InvokeAgentPublicMessagePartAgentsRequestKind: {
30
30
  readonly ToolResult: "tool_result";
31
31
  };
32
- export type InvokeAgentPublicMessagePartKind = ClosedEnum<typeof InvokeAgentPublicMessagePartKind>;
32
+ export type InvokeAgentPublicMessagePartAgentsRequestKind = ClosedEnum<typeof InvokeAgentPublicMessagePartAgentsRequestKind>;
33
33
  /**
34
34
  * Tool execution result part. Use this ONLY when providing results for a pending tool call from the agent. The tool_call_id must match the ID from the agent's tool call request.
35
35
  */
36
- export type ToolResultPart = {
37
- kind: InvokeAgentPublicMessagePartKind;
36
+ export type PublicMessagePartToolResultPart = {
37
+ kind: InvokeAgentPublicMessagePartAgentsRequestKind;
38
38
  toolCallId: string;
39
39
  result?: any | undefined;
40
40
  metadata?: {
41
41
  [k: string]: any;
42
42
  } | undefined;
43
43
  };
44
- export declare const PublicMessagePartKind: {
44
+ export declare const InvokeAgentPublicMessagePartAgentsKind: {
45
45
  readonly File: "file";
46
46
  };
47
- export type PublicMessagePartKind = ClosedEnum<typeof PublicMessagePartKind>;
47
+ export type InvokeAgentPublicMessagePartAgentsKind = ClosedEnum<typeof InvokeAgentPublicMessagePartAgentsKind>;
48
48
  /**
49
49
  * File in URI format. Check in the model's documentation for the supported mime types for the URI format
50
50
  */
51
- export type FileInURIFormat = {
51
+ export type FileFileInURIFormat = {
52
52
  /**
53
53
  * URL for the File content
54
54
  */
@@ -65,7 +65,7 @@ export type FileInURIFormat = {
65
65
  /**
66
66
  * Binary in base64 format. Check in the model's documentation for the supported mime types for the binary format.
67
67
  */
68
- export type BinaryFormat = {
68
+ export type FileBinaryFormat = {
69
69
  /**
70
70
  * base64 encoded content of the file
71
71
  */
@@ -79,36 +79,36 @@ export type BinaryFormat = {
79
79
  */
80
80
  name?: string | undefined;
81
81
  };
82
- export type PublicMessagePartFile = BinaryFormat | FileInURIFormat;
82
+ export type InvokeAgentPublicMessagePartFile = FileBinaryFormat | FileFileInURIFormat;
83
83
  /**
84
84
  * File attachment part. Use this to send files (images, documents, etc.) to the agent for processing.
85
85
  */
86
- export type FilePart = {
87
- kind: PublicMessagePartKind;
88
- file: BinaryFormat | FileInURIFormat;
86
+ export type PublicMessagePartFilePart = {
87
+ kind: InvokeAgentPublicMessagePartAgentsKind;
88
+ file: FileBinaryFormat | FileFileInURIFormat;
89
89
  metadata?: {
90
90
  [k: string]: any;
91
91
  } | undefined;
92
92
  };
93
- export declare const Kind: {
93
+ export declare const InvokeAgentPublicMessagePartKind: {
94
94
  readonly Text: "text";
95
95
  };
96
- export type Kind = ClosedEnum<typeof Kind>;
96
+ export type InvokeAgentPublicMessagePartKind = ClosedEnum<typeof InvokeAgentPublicMessagePartKind>;
97
97
  /**
98
98
  * Text content part. Use this to send text messages to the agent.
99
99
  */
100
- export type TextPart = {
101
- kind: Kind;
100
+ export type PublicMessagePartTextPart = {
101
+ kind: InvokeAgentPublicMessagePartKind;
102
102
  text: string;
103
103
  };
104
104
  /**
105
105
  * Message part that can be provided by users. Use "text" for regular messages, "file" for attachments, or "tool_result" when responding to tool call requests.
106
106
  */
107
- export type PublicMessagePart = TextPart | FilePart | ToolResultPart;
107
+ export type InvokeAgentPublicMessagePart = PublicMessagePartTextPart | PublicMessagePartFilePart | PublicMessagePartToolResultPart;
108
108
  /**
109
109
  * The A2A message to send to the agent (user input or tool results)
110
110
  */
111
- export type A2AMessage = {
111
+ export type InvokeAgentA2AMessage = {
112
112
  /**
113
113
  * Optional A2A message ID in ULID format
114
114
  */
@@ -116,16 +116,16 @@ export type A2AMessage = {
116
116
  /**
117
117
  * Message role (user or tool for continuing executions)
118
118
  */
119
- role: RoleUserMessage | RoleToolMessage;
119
+ role: InvokeAgentRoleUserMessage | InvokeAgentRoleToolMessage;
120
120
  /**
121
121
  * A2A message parts (text, file, or tool_result only)
122
122
  */
123
- parts: Array<TextPart | FilePart | ToolResultPart>;
123
+ parts: Array<PublicMessagePartTextPart | PublicMessagePartFilePart | PublicMessagePartToolResultPart>;
124
124
  };
125
125
  /**
126
126
  * Information about the contact making the request. If the contact does not exist, it will be created automatically.
127
127
  */
128
- export type Contact = {
128
+ export type InvokeAgentContact = {
129
129
  /**
130
130
  * Unique identifier for the contact
131
131
  */
@@ -169,7 +169,7 @@ export type InvokeAgentThread = {
169
169
  /**
170
170
  * Memory configuration for the agent execution. Used to associate memory stores with specific entities like users or sessions.
171
171
  */
172
- export type Memory = {
172
+ export type InvokeAgentMemory = {
173
173
  /**
174
174
  * An entity ID used to link memory stores to a specific user, session, or conversation. This ID is used to isolate and retrieve memories specific to the entity across agent executions.
175
175
  */
@@ -183,7 +183,7 @@ export type InvokeAgentRequestBody = {
183
183
  /**
184
184
  * The A2A message to send to the agent (user input or tool results)
185
185
  */
186
- message: A2AMessage;
186
+ message: InvokeAgentA2AMessage;
187
187
  /**
188
188
  * Optional variables for template replacement in system prompt, instructions, and messages
189
189
  */
@@ -193,7 +193,7 @@ export type InvokeAgentRequestBody = {
193
193
  /**
194
194
  * Information about the contact making the request. If the contact does not exist, it will be created automatically.
195
195
  */
196
- contact?: Contact | undefined;
196
+ contact?: InvokeAgentContact | undefined;
197
197
  /**
198
198
  * Thread information to group related requests
199
199
  */
@@ -201,7 +201,7 @@ export type InvokeAgentRequestBody = {
201
201
  /**
202
202
  * Memory configuration for the agent execution. Used to associate memory stores with specific entities like users or sessions.
203
203
  */
204
- memory?: Memory | undefined;
204
+ memory?: InvokeAgentMemory | undefined;
205
205
  /**
206
206
  * Optional metadata for the agent invocation as key-value pairs that will be included in traces
207
207
  */
@@ -427,13 +427,13 @@ export type InvokeAgentA2ATaskResponse = {
427
427
  } | undefined;
428
428
  };
429
429
  /** @internal */
430
- export declare const RoleToolMessage$inboundSchema: z.ZodNativeEnum<typeof RoleToolMessage>;
430
+ export declare const InvokeAgentRoleToolMessage$inboundSchema: z.ZodNativeEnum<typeof InvokeAgentRoleToolMessage>;
431
431
  /** @internal */
432
- export declare const RoleToolMessage$outboundSchema: z.ZodNativeEnum<typeof RoleToolMessage>;
432
+ export declare const InvokeAgentRoleToolMessage$outboundSchema: z.ZodNativeEnum<typeof InvokeAgentRoleToolMessage>;
433
433
  /** @internal */
434
- export declare const RoleUserMessage$inboundSchema: z.ZodNativeEnum<typeof RoleUserMessage>;
434
+ export declare const InvokeAgentRoleUserMessage$inboundSchema: z.ZodNativeEnum<typeof InvokeAgentRoleUserMessage>;
435
435
  /** @internal */
436
- export declare const RoleUserMessage$outboundSchema: z.ZodNativeEnum<typeof RoleUserMessage>;
436
+ export declare const InvokeAgentRoleUserMessage$outboundSchema: z.ZodNativeEnum<typeof InvokeAgentRoleUserMessage>;
437
437
  /** @internal */
438
438
  export declare const InvokeAgentRole$inboundSchema: z.ZodType<InvokeAgentRole, z.ZodTypeDef, unknown>;
439
439
  /** @internal */
@@ -443,13 +443,13 @@ export declare const InvokeAgentRole$outboundSchema: z.ZodType<InvokeAgentRole$O
443
443
  export declare function invokeAgentRoleToJSON(invokeAgentRole: InvokeAgentRole): string;
444
444
  export declare function invokeAgentRoleFromJSON(jsonString: string): SafeParseResult<InvokeAgentRole, SDKValidationError>;
445
445
  /** @internal */
446
- export declare const InvokeAgentPublicMessagePartKind$inboundSchema: z.ZodNativeEnum<typeof InvokeAgentPublicMessagePartKind>;
446
+ export declare const InvokeAgentPublicMessagePartAgentsRequestKind$inboundSchema: z.ZodNativeEnum<typeof InvokeAgentPublicMessagePartAgentsRequestKind>;
447
447
  /** @internal */
448
- export declare const InvokeAgentPublicMessagePartKind$outboundSchema: z.ZodNativeEnum<typeof InvokeAgentPublicMessagePartKind>;
448
+ export declare const InvokeAgentPublicMessagePartAgentsRequestKind$outboundSchema: z.ZodNativeEnum<typeof InvokeAgentPublicMessagePartAgentsRequestKind>;
449
449
  /** @internal */
450
- export declare const ToolResultPart$inboundSchema: z.ZodType<ToolResultPart, z.ZodTypeDef, unknown>;
450
+ export declare const PublicMessagePartToolResultPart$inboundSchema: z.ZodType<PublicMessagePartToolResultPart, z.ZodTypeDef, unknown>;
451
451
  /** @internal */
452
- export type ToolResultPart$Outbound = {
452
+ export type PublicMessagePartToolResultPart$Outbound = {
453
453
  kind: string;
454
454
  tool_call_id: string;
455
455
  result?: any | undefined;
@@ -458,98 +458,98 @@ export type ToolResultPart$Outbound = {
458
458
  } | undefined;
459
459
  };
460
460
  /** @internal */
461
- export declare const ToolResultPart$outboundSchema: z.ZodType<ToolResultPart$Outbound, z.ZodTypeDef, ToolResultPart>;
462
- export declare function toolResultPartToJSON(toolResultPart: ToolResultPart): string;
463
- export declare function toolResultPartFromJSON(jsonString: string): SafeParseResult<ToolResultPart, SDKValidationError>;
461
+ export declare const PublicMessagePartToolResultPart$outboundSchema: z.ZodType<PublicMessagePartToolResultPart$Outbound, z.ZodTypeDef, PublicMessagePartToolResultPart>;
462
+ export declare function publicMessagePartToolResultPartToJSON(publicMessagePartToolResultPart: PublicMessagePartToolResultPart): string;
463
+ export declare function publicMessagePartToolResultPartFromJSON(jsonString: string): SafeParseResult<PublicMessagePartToolResultPart, SDKValidationError>;
464
464
  /** @internal */
465
- export declare const PublicMessagePartKind$inboundSchema: z.ZodNativeEnum<typeof PublicMessagePartKind>;
465
+ export declare const InvokeAgentPublicMessagePartAgentsKind$inboundSchema: z.ZodNativeEnum<typeof InvokeAgentPublicMessagePartAgentsKind>;
466
466
  /** @internal */
467
- export declare const PublicMessagePartKind$outboundSchema: z.ZodNativeEnum<typeof PublicMessagePartKind>;
467
+ export declare const InvokeAgentPublicMessagePartAgentsKind$outboundSchema: z.ZodNativeEnum<typeof InvokeAgentPublicMessagePartAgentsKind>;
468
468
  /** @internal */
469
- export declare const FileInURIFormat$inboundSchema: z.ZodType<FileInURIFormat, z.ZodTypeDef, unknown>;
469
+ export declare const FileFileInURIFormat$inboundSchema: z.ZodType<FileFileInURIFormat, z.ZodTypeDef, unknown>;
470
470
  /** @internal */
471
- export type FileInURIFormat$Outbound = {
471
+ export type FileFileInURIFormat$Outbound = {
472
472
  uri: string;
473
473
  mimeType?: string | undefined;
474
474
  name?: string | undefined;
475
475
  };
476
476
  /** @internal */
477
- export declare const FileInURIFormat$outboundSchema: z.ZodType<FileInURIFormat$Outbound, z.ZodTypeDef, FileInURIFormat>;
478
- export declare function fileInURIFormatToJSON(fileInURIFormat: FileInURIFormat): string;
479
- export declare function fileInURIFormatFromJSON(jsonString: string): SafeParseResult<FileInURIFormat, SDKValidationError>;
477
+ export declare const FileFileInURIFormat$outboundSchema: z.ZodType<FileFileInURIFormat$Outbound, z.ZodTypeDef, FileFileInURIFormat>;
478
+ export declare function fileFileInURIFormatToJSON(fileFileInURIFormat: FileFileInURIFormat): string;
479
+ export declare function fileFileInURIFormatFromJSON(jsonString: string): SafeParseResult<FileFileInURIFormat, SDKValidationError>;
480
480
  /** @internal */
481
- export declare const BinaryFormat$inboundSchema: z.ZodType<BinaryFormat, z.ZodTypeDef, unknown>;
481
+ export declare const FileBinaryFormat$inboundSchema: z.ZodType<FileBinaryFormat, z.ZodTypeDef, unknown>;
482
482
  /** @internal */
483
- export type BinaryFormat$Outbound = {
483
+ export type FileBinaryFormat$Outbound = {
484
484
  bytes: string;
485
485
  mimeType?: string | undefined;
486
486
  name?: string | undefined;
487
487
  };
488
488
  /** @internal */
489
- export declare const BinaryFormat$outboundSchema: z.ZodType<BinaryFormat$Outbound, z.ZodTypeDef, BinaryFormat>;
490
- export declare function binaryFormatToJSON(binaryFormat: BinaryFormat): string;
491
- export declare function binaryFormatFromJSON(jsonString: string): SafeParseResult<BinaryFormat, SDKValidationError>;
489
+ export declare const FileBinaryFormat$outboundSchema: z.ZodType<FileBinaryFormat$Outbound, z.ZodTypeDef, FileBinaryFormat>;
490
+ export declare function fileBinaryFormatToJSON(fileBinaryFormat: FileBinaryFormat): string;
491
+ export declare function fileBinaryFormatFromJSON(jsonString: string): SafeParseResult<FileBinaryFormat, SDKValidationError>;
492
492
  /** @internal */
493
- export declare const PublicMessagePartFile$inboundSchema: z.ZodType<PublicMessagePartFile, z.ZodTypeDef, unknown>;
493
+ export declare const InvokeAgentPublicMessagePartFile$inboundSchema: z.ZodType<InvokeAgentPublicMessagePartFile, z.ZodTypeDef, unknown>;
494
494
  /** @internal */
495
- export type PublicMessagePartFile$Outbound = BinaryFormat$Outbound | FileInURIFormat$Outbound;
495
+ export type InvokeAgentPublicMessagePartFile$Outbound = FileBinaryFormat$Outbound | FileFileInURIFormat$Outbound;
496
496
  /** @internal */
497
- export declare const PublicMessagePartFile$outboundSchema: z.ZodType<PublicMessagePartFile$Outbound, z.ZodTypeDef, PublicMessagePartFile>;
498
- export declare function publicMessagePartFileToJSON(publicMessagePartFile: PublicMessagePartFile): string;
499
- export declare function publicMessagePartFileFromJSON(jsonString: string): SafeParseResult<PublicMessagePartFile, SDKValidationError>;
497
+ export declare const InvokeAgentPublicMessagePartFile$outboundSchema: z.ZodType<InvokeAgentPublicMessagePartFile$Outbound, z.ZodTypeDef, InvokeAgentPublicMessagePartFile>;
498
+ export declare function invokeAgentPublicMessagePartFileToJSON(invokeAgentPublicMessagePartFile: InvokeAgentPublicMessagePartFile): string;
499
+ export declare function invokeAgentPublicMessagePartFileFromJSON(jsonString: string): SafeParseResult<InvokeAgentPublicMessagePartFile, SDKValidationError>;
500
500
  /** @internal */
501
- export declare const FilePart$inboundSchema: z.ZodType<FilePart, z.ZodTypeDef, unknown>;
501
+ export declare const PublicMessagePartFilePart$inboundSchema: z.ZodType<PublicMessagePartFilePart, z.ZodTypeDef, unknown>;
502
502
  /** @internal */
503
- export type FilePart$Outbound = {
503
+ export type PublicMessagePartFilePart$Outbound = {
504
504
  kind: string;
505
- file: BinaryFormat$Outbound | FileInURIFormat$Outbound;
505
+ file: FileBinaryFormat$Outbound | FileFileInURIFormat$Outbound;
506
506
  metadata?: {
507
507
  [k: string]: any;
508
508
  } | undefined;
509
509
  };
510
510
  /** @internal */
511
- export declare const FilePart$outboundSchema: z.ZodType<FilePart$Outbound, z.ZodTypeDef, FilePart>;
512
- export declare function filePartToJSON(filePart: FilePart): string;
513
- export declare function filePartFromJSON(jsonString: string): SafeParseResult<FilePart, SDKValidationError>;
511
+ export declare const PublicMessagePartFilePart$outboundSchema: z.ZodType<PublicMessagePartFilePart$Outbound, z.ZodTypeDef, PublicMessagePartFilePart>;
512
+ export declare function publicMessagePartFilePartToJSON(publicMessagePartFilePart: PublicMessagePartFilePart): string;
513
+ export declare function publicMessagePartFilePartFromJSON(jsonString: string): SafeParseResult<PublicMessagePartFilePart, SDKValidationError>;
514
514
  /** @internal */
515
- export declare const Kind$inboundSchema: z.ZodNativeEnum<typeof Kind>;
515
+ export declare const InvokeAgentPublicMessagePartKind$inboundSchema: z.ZodNativeEnum<typeof InvokeAgentPublicMessagePartKind>;
516
516
  /** @internal */
517
- export declare const Kind$outboundSchema: z.ZodNativeEnum<typeof Kind>;
517
+ export declare const InvokeAgentPublicMessagePartKind$outboundSchema: z.ZodNativeEnum<typeof InvokeAgentPublicMessagePartKind>;
518
518
  /** @internal */
519
- export declare const TextPart$inboundSchema: z.ZodType<TextPart, z.ZodTypeDef, unknown>;
519
+ export declare const PublicMessagePartTextPart$inboundSchema: z.ZodType<PublicMessagePartTextPart, z.ZodTypeDef, unknown>;
520
520
  /** @internal */
521
- export type TextPart$Outbound = {
521
+ export type PublicMessagePartTextPart$Outbound = {
522
522
  kind: string;
523
523
  text: string;
524
524
  };
525
525
  /** @internal */
526
- export declare const TextPart$outboundSchema: z.ZodType<TextPart$Outbound, z.ZodTypeDef, TextPart>;
527
- export declare function textPartToJSON(textPart: TextPart): string;
528
- export declare function textPartFromJSON(jsonString: string): SafeParseResult<TextPart, SDKValidationError>;
526
+ export declare const PublicMessagePartTextPart$outboundSchema: z.ZodType<PublicMessagePartTextPart$Outbound, z.ZodTypeDef, PublicMessagePartTextPart>;
527
+ export declare function publicMessagePartTextPartToJSON(publicMessagePartTextPart: PublicMessagePartTextPart): string;
528
+ export declare function publicMessagePartTextPartFromJSON(jsonString: string): SafeParseResult<PublicMessagePartTextPart, SDKValidationError>;
529
529
  /** @internal */
530
- export declare const PublicMessagePart$inboundSchema: z.ZodType<PublicMessagePart, z.ZodTypeDef, unknown>;
530
+ export declare const InvokeAgentPublicMessagePart$inboundSchema: z.ZodType<InvokeAgentPublicMessagePart, z.ZodTypeDef, unknown>;
531
531
  /** @internal */
532
- export type PublicMessagePart$Outbound = TextPart$Outbound | FilePart$Outbound | ToolResultPart$Outbound;
532
+ export type InvokeAgentPublicMessagePart$Outbound = PublicMessagePartTextPart$Outbound | PublicMessagePartFilePart$Outbound | PublicMessagePartToolResultPart$Outbound;
533
533
  /** @internal */
534
- export declare const PublicMessagePart$outboundSchema: z.ZodType<PublicMessagePart$Outbound, z.ZodTypeDef, PublicMessagePart>;
535
- export declare function publicMessagePartToJSON(publicMessagePart: PublicMessagePart): string;
536
- export declare function publicMessagePartFromJSON(jsonString: string): SafeParseResult<PublicMessagePart, SDKValidationError>;
534
+ export declare const InvokeAgentPublicMessagePart$outboundSchema: z.ZodType<InvokeAgentPublicMessagePart$Outbound, z.ZodTypeDef, InvokeAgentPublicMessagePart>;
535
+ export declare function invokeAgentPublicMessagePartToJSON(invokeAgentPublicMessagePart: InvokeAgentPublicMessagePart): string;
536
+ export declare function invokeAgentPublicMessagePartFromJSON(jsonString: string): SafeParseResult<InvokeAgentPublicMessagePart, SDKValidationError>;
537
537
  /** @internal */
538
- export declare const A2AMessage$inboundSchema: z.ZodType<A2AMessage, z.ZodTypeDef, unknown>;
538
+ export declare const InvokeAgentA2AMessage$inboundSchema: z.ZodType<InvokeAgentA2AMessage, z.ZodTypeDef, unknown>;
539
539
  /** @internal */
540
- export type A2AMessage$Outbound = {
540
+ export type InvokeAgentA2AMessage$Outbound = {
541
541
  messageId?: string | undefined;
542
542
  role: string | string;
543
- parts: Array<TextPart$Outbound | FilePart$Outbound | ToolResultPart$Outbound>;
543
+ parts: Array<PublicMessagePartTextPart$Outbound | PublicMessagePartFilePart$Outbound | PublicMessagePartToolResultPart$Outbound>;
544
544
  };
545
545
  /** @internal */
546
- export declare const A2AMessage$outboundSchema: z.ZodType<A2AMessage$Outbound, z.ZodTypeDef, A2AMessage>;
547
- export declare function a2AMessageToJSON(a2AMessage: A2AMessage): string;
548
- export declare function a2AMessageFromJSON(jsonString: string): SafeParseResult<A2AMessage, SDKValidationError>;
546
+ export declare const InvokeAgentA2AMessage$outboundSchema: z.ZodType<InvokeAgentA2AMessage$Outbound, z.ZodTypeDef, InvokeAgentA2AMessage>;
547
+ export declare function invokeAgentA2AMessageToJSON(invokeAgentA2AMessage: InvokeAgentA2AMessage): string;
548
+ export declare function invokeAgentA2AMessageFromJSON(jsonString: string): SafeParseResult<InvokeAgentA2AMessage, SDKValidationError>;
549
549
  /** @internal */
550
- export declare const Contact$inboundSchema: z.ZodType<Contact, z.ZodTypeDef, unknown>;
550
+ export declare const InvokeAgentContact$inboundSchema: z.ZodType<InvokeAgentContact, z.ZodTypeDef, unknown>;
551
551
  /** @internal */
552
- export type Contact$Outbound = {
552
+ export type InvokeAgentContact$Outbound = {
553
553
  id: string;
554
554
  display_name?: string | undefined;
555
555
  email?: string | undefined;
@@ -560,9 +560,9 @@ export type Contact$Outbound = {
560
560
  tags?: Array<string> | undefined;
561
561
  };
562
562
  /** @internal */
563
- export declare const Contact$outboundSchema: z.ZodType<Contact$Outbound, z.ZodTypeDef, Contact>;
564
- export declare function contactToJSON(contact: Contact): string;
565
- export declare function contactFromJSON(jsonString: string): SafeParseResult<Contact, SDKValidationError>;
563
+ export declare const InvokeAgentContact$outboundSchema: z.ZodType<InvokeAgentContact$Outbound, z.ZodTypeDef, InvokeAgentContact>;
564
+ export declare function invokeAgentContactToJSON(invokeAgentContact: InvokeAgentContact): string;
565
+ export declare function invokeAgentContactFromJSON(jsonString: string): SafeParseResult<InvokeAgentContact, SDKValidationError>;
566
566
  /** @internal */
567
567
  export declare const InvokeAgentThread$inboundSchema: z.ZodType<InvokeAgentThread, z.ZodTypeDef, unknown>;
568
568
  /** @internal */
@@ -575,27 +575,27 @@ export declare const InvokeAgentThread$outboundSchema: z.ZodType<InvokeAgentThre
575
575
  export declare function invokeAgentThreadToJSON(invokeAgentThread: InvokeAgentThread): string;
576
576
  export declare function invokeAgentThreadFromJSON(jsonString: string): SafeParseResult<InvokeAgentThread, SDKValidationError>;
577
577
  /** @internal */
578
- export declare const Memory$inboundSchema: z.ZodType<Memory, z.ZodTypeDef, unknown>;
578
+ export declare const InvokeAgentMemory$inboundSchema: z.ZodType<InvokeAgentMemory, z.ZodTypeDef, unknown>;
579
579
  /** @internal */
580
- export type Memory$Outbound = {
580
+ export type InvokeAgentMemory$Outbound = {
581
581
  entity_id: string;
582
582
  };
583
583
  /** @internal */
584
- export declare const Memory$outboundSchema: z.ZodType<Memory$Outbound, z.ZodTypeDef, Memory>;
585
- export declare function memoryToJSON(memory: Memory): string;
586
- export declare function memoryFromJSON(jsonString: string): SafeParseResult<Memory, SDKValidationError>;
584
+ export declare const InvokeAgentMemory$outboundSchema: z.ZodType<InvokeAgentMemory$Outbound, z.ZodTypeDef, InvokeAgentMemory>;
585
+ export declare function invokeAgentMemoryToJSON(invokeAgentMemory: InvokeAgentMemory): string;
586
+ export declare function invokeAgentMemoryFromJSON(jsonString: string): SafeParseResult<InvokeAgentMemory, SDKValidationError>;
587
587
  /** @internal */
588
588
  export declare const InvokeAgentRequestBody$inboundSchema: z.ZodType<InvokeAgentRequestBody, z.ZodTypeDef, unknown>;
589
589
  /** @internal */
590
590
  export type InvokeAgentRequestBody$Outbound = {
591
591
  task_id?: string | undefined;
592
- message: A2AMessage$Outbound;
592
+ message: InvokeAgentA2AMessage$Outbound;
593
593
  variables?: {
594
594
  [k: string]: any;
595
595
  } | undefined;
596
- contact?: Contact$Outbound | undefined;
596
+ contact?: InvokeAgentContact$Outbound | undefined;
597
597
  thread?: InvokeAgentThread$Outbound | undefined;
598
- memory?: Memory$Outbound | undefined;
598
+ memory?: InvokeAgentMemory$Outbound | undefined;
599
599
  metadata?: {
600
600
  [k: string]: any;
601
601
  } | undefined;