@orq-ai/node 4.1.0-rc.4 → 4.1.0-rc.7

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 (226) hide show
  1. package/bin/mcp-server.js +25494 -27422
  2. package/bin/mcp-server.js.map +68 -51
  3. package/examples/package-lock.json +1 -1
  4. package/jsr.json +1 -1
  5. package/lib/config.d.ts +3 -3
  6. package/lib/config.js +3 -3
  7. package/mcp-server/mcp-server.js +1 -1
  8. package/mcp-server/server.js +1 -1
  9. package/models/components/actionreviewedstreamingevent.d.ts +76 -0
  10. package/models/components/actionreviewedstreamingevent.d.ts.map +1 -0
  11. package/models/components/actionreviewedstreamingevent.js +127 -0
  12. package/models/components/actionreviewedstreamingevent.js.map +1 -0
  13. package/models/components/actionreviewrequestedstreamingevent.d.ts +135 -0
  14. package/models/components/actionreviewrequestedstreamingevent.d.ts.map +1 -0
  15. package/models/components/actionreviewrequestedstreamingevent.js +180 -0
  16. package/models/components/actionreviewrequestedstreamingevent.js.map +1 -0
  17. package/models/components/agenterroredstreamingevent.d.ts +58 -0
  18. package/models/components/agenterroredstreamingevent.d.ts.map +1 -0
  19. package/models/components/agenterroredstreamingevent.js +91 -0
  20. package/models/components/agenterroredstreamingevent.js.map +1 -0
  21. package/models/components/agentexecutionstartedstreamingevent.d.ts +62 -0
  22. package/models/components/agentexecutionstartedstreamingevent.d.ts.map +1 -0
  23. package/models/components/agentexecutionstartedstreamingevent.js +103 -0
  24. package/models/components/agentexecutionstartedstreamingevent.js.map +1 -0
  25. package/models/components/agenthandedoffstreamingevent.d.ts +51 -0
  26. package/models/components/agenthandedoffstreamingevent.d.ts.map +1 -0
  27. package/models/components/agenthandedoffstreamingevent.js +96 -0
  28. package/models/components/agenthandedoffstreamingevent.js.map +1 -0
  29. package/models/components/agentinactivestreamingevent.d.ts +309 -0
  30. package/models/components/agentinactivestreamingevent.d.ts.map +1 -0
  31. package/models/components/agentinactivestreamingevent.js +385 -0
  32. package/models/components/agentinactivestreamingevent.js.map +1 -0
  33. package/models/components/agentmessagecreatedstreamingevent.d.ts +141 -0
  34. package/models/components/agentmessagecreatedstreamingevent.d.ts.map +1 -0
  35. package/models/components/agentmessagecreatedstreamingevent.js +190 -0
  36. package/models/components/agentmessagecreatedstreamingevent.js.map +1 -0
  37. package/models/components/agentstartedstreamingevent.d.ts +382 -0
  38. package/models/components/agentstartedstreamingevent.d.ts.map +1 -0
  39. package/models/components/agentstartedstreamingevent.js +441 -0
  40. package/models/components/agentstartedstreamingevent.js.map +1 -0
  41. package/models/components/agentthoughtstreamingevent.d.ts +542 -0
  42. package/models/components/agentthoughtstreamingevent.d.ts.map +1 -0
  43. package/models/components/agentthoughtstreamingevent.js +626 -0
  44. package/models/components/agentthoughtstreamingevent.js.map +1 -0
  45. package/models/components/errorstreamingevent.d.ts +51 -0
  46. package/models/components/errorstreamingevent.d.ts.map +1 -0
  47. package/models/components/errorstreamingevent.js +87 -0
  48. package/models/components/errorstreamingevent.js.map +1 -0
  49. package/models/components/executionnamedstreamingevent.d.ts +51 -0
  50. package/models/components/executionnamedstreamingevent.d.ts.map +1 -0
  51. package/models/components/executionnamedstreamingevent.js +96 -0
  52. package/models/components/executionnamedstreamingevent.js.map +1 -0
  53. package/models/components/executionreviewedstreamingevent.d.ts +45 -0
  54. package/models/components/executionreviewedstreamingevent.d.ts.map +1 -0
  55. package/models/components/executionreviewedstreamingevent.js +81 -0
  56. package/models/components/executionreviewedstreamingevent.js.map +1 -0
  57. package/models/components/executionreviewrequiredstreamingevent.d.ts +45 -0
  58. package/models/components/executionreviewrequiredstreamingevent.d.ts.map +1 -0
  59. package/models/components/executionreviewrequiredstreamingevent.js +82 -0
  60. package/models/components/executionreviewrequiredstreamingevent.js.map +1 -0
  61. package/models/components/filepart.d.ts +1 -1
  62. package/models/components/index.d.ts +17 -0
  63. package/models/components/index.d.ts.map +1 -1
  64. package/models/components/index.js +17 -0
  65. package/models/components/index.js.map +1 -1
  66. package/models/components/invokedeploymentrequest.d.ts +13 -13
  67. package/models/components/invokedeploymentrequest.d.ts.map +1 -1
  68. package/models/components/invokedeploymentrequest.js +17 -17
  69. package/models/components/invokedeploymentrequest.js.map +1 -1
  70. package/models/components/timeoutstreamingevent.d.ts +49 -0
  71. package/models/components/timeoutstreamingevent.d.ts.map +1 -0
  72. package/models/components/timeoutstreamingevent.js +85 -0
  73. package/models/components/timeoutstreamingevent.js.map +1 -0
  74. package/models/components/toolexecutionfailedstreamingevent.d.ts +144 -0
  75. package/models/components/toolexecutionfailedstreamingevent.d.ts.map +1 -0
  76. package/models/components/toolexecutionfailedstreamingevent.js +223 -0
  77. package/models/components/toolexecutionfailedstreamingevent.js.map +1 -0
  78. package/models/components/toolexecutionfinishedstreamingevent.d.ts +129 -0
  79. package/models/components/toolexecutionfinishedstreamingevent.d.ts.map +1 -0
  80. package/models/components/toolexecutionfinishedstreamingevent.js +205 -0
  81. package/models/components/toolexecutionfinishedstreamingevent.js.map +1 -0
  82. package/models/components/toolexecutionstartedstreamingevent.d.ts +139 -0
  83. package/models/components/toolexecutionstartedstreamingevent.d.ts.map +1 -0
  84. package/models/components/toolexecutionstartedstreamingevent.js +217 -0
  85. package/models/components/toolexecutionstartedstreamingevent.js.map +1 -0
  86. package/models/components/toolresultpart.d.ts +1 -1
  87. package/models/operations/createagentrequest.d.ts +3 -0
  88. package/models/operations/createagentrequest.d.ts.map +1 -1
  89. package/models/operations/createagentrequest.js.map +1 -1
  90. package/models/operations/createagentresponserequest.d.ts +4 -137
  91. package/models/operations/createagentresponserequest.d.ts.map +1 -1
  92. package/models/operations/createagentresponserequest.js +9 -138
  93. package/models/operations/createagentresponserequest.js.map +1 -1
  94. package/models/operations/createbudget.js +2 -2
  95. package/models/operations/createcontact.js +2 -2
  96. package/models/operations/createdataset.js +2 -2
  97. package/models/operations/createdatasetitem.js +8 -8
  98. package/models/operations/createdatasource.js +2 -2
  99. package/models/operations/createeval.d.ts +80 -145
  100. package/models/operations/createeval.d.ts.map +1 -1
  101. package/models/operations/createeval.js +190 -266
  102. package/models/operations/createeval.js.map +1 -1
  103. package/models/operations/createtool.js +12 -12
  104. package/models/operations/fileget.js +2 -2
  105. package/models/operations/filelist.js +2 -2
  106. package/models/operations/fileupload.js +2 -2
  107. package/models/operations/getalltools.js +12 -12
  108. package/models/operations/getbudget.js +2 -2
  109. package/models/operations/getevals.d.ts +14 -79
  110. package/models/operations/getevals.d.ts.map +1 -1
  111. package/models/operations/getevals.js +49 -132
  112. package/models/operations/getevals.js.map +1 -1
  113. package/models/operations/invokeagent.d.ts +14 -147
  114. package/models/operations/invokeagent.d.ts.map +1 -1
  115. package/models/operations/invokeagent.js +19 -148
  116. package/models/operations/invokeagent.js.map +1 -1
  117. package/models/operations/listagents.d.ts +3 -0
  118. package/models/operations/listagents.d.ts.map +1 -1
  119. package/models/operations/listagents.js.map +1 -1
  120. package/models/operations/listbudgets.js +2 -2
  121. package/models/operations/listcontacts.js +2 -2
  122. package/models/operations/listdatasetdatapoints.js +8 -8
  123. package/models/operations/listdatasets.js +2 -2
  124. package/models/operations/listdatasources.js +2 -2
  125. package/models/operations/listknowledgebases.d.ts +16 -16
  126. package/models/operations/listknowledgebases.d.ts.map +1 -1
  127. package/models/operations/listknowledgebases.js +27 -25
  128. package/models/operations/listknowledgebases.js.map +1 -1
  129. package/models/operations/retrieveagentrequest.d.ts +3 -0
  130. package/models/operations/retrieveagentrequest.d.ts.map +1 -1
  131. package/models/operations/retrieveagentrequest.js.map +1 -1
  132. package/models/operations/retrievecontact.js +2 -2
  133. package/models/operations/retrievedatapoint.js +8 -8
  134. package/models/operations/retrievedataset.js +2 -2
  135. package/models/operations/retrievedatasource.js +2 -2
  136. package/models/operations/retrievetool.js +12 -12
  137. package/models/operations/runagent.d.ts +4 -137
  138. package/models/operations/runagent.d.ts.map +1 -1
  139. package/models/operations/runagent.js +17 -145
  140. package/models/operations/runagent.js.map +1 -1
  141. package/models/operations/streamagent.d.ts +241 -2491
  142. package/models/operations/streamagent.d.ts.map +1 -1
  143. package/models/operations/streamagent.js +172 -2826
  144. package/models/operations/streamagent.js.map +1 -1
  145. package/models/operations/streamrunagent.d.ts +889 -3139
  146. package/models/operations/streamrunagent.d.ts.map +1 -1
  147. package/models/operations/streamrunagent.js +175 -2825
  148. package/models/operations/streamrunagent.js.map +1 -1
  149. package/models/operations/updateagent.d.ts +3 -0
  150. package/models/operations/updateagent.d.ts.map +1 -1
  151. package/models/operations/updateagent.js.map +1 -1
  152. package/models/operations/updatebudget.js +2 -2
  153. package/models/operations/updatecontact.js +2 -2
  154. package/models/operations/updatedatapoint.js +8 -8
  155. package/models/operations/updatedataset.js +2 -2
  156. package/models/operations/updatedatasource.js +2 -2
  157. package/models/operations/updateeval.d.ts +14 -79
  158. package/models/operations/updateeval.d.ts.map +1 -1
  159. package/models/operations/updateeval.js +51 -134
  160. package/models/operations/updateeval.js.map +1 -1
  161. package/models/operations/updatetool.js +14 -14
  162. package/package.json +1 -1
  163. package/src/lib/config.ts +3 -3
  164. package/src/mcp-server/mcp-server.ts +1 -1
  165. package/src/mcp-server/server.ts +1 -1
  166. package/src/models/components/actionreviewedstreamingevent.ts +189 -0
  167. package/src/models/components/actionreviewrequestedstreamingevent.ts +326 -0
  168. package/src/models/components/agenterroredstreamingevent.ts +142 -0
  169. package/src/models/components/agentexecutionstartedstreamingevent.ts +145 -0
  170. package/src/models/components/agenthandedoffstreamingevent.ts +142 -0
  171. package/src/models/components/agentinactivestreamingevent.ts +857 -0
  172. package/src/models/components/agentmessagecreatedstreamingevent.ts +396 -0
  173. package/src/models/components/agentstartedstreamingevent.ts +909 -0
  174. package/src/models/components/agentthoughtstreamingevent.ts +1419 -0
  175. package/src/models/components/errorstreamingevent.ts +129 -0
  176. package/src/models/components/executionnamedstreamingevent.ts +142 -0
  177. package/src/models/components/executionreviewedstreamingevent.ts +122 -0
  178. package/src/models/components/executionreviewrequiredstreamingevent.ts +130 -0
  179. package/src/models/components/filepart.ts +1 -1
  180. package/src/models/components/index.ts +17 -0
  181. package/src/models/components/invokedeploymentrequest.ts +32 -27
  182. package/src/models/components/timeoutstreamingevent.ts +125 -0
  183. package/src/models/components/toolexecutionfailedstreamingevent.ts +406 -0
  184. package/src/models/components/toolexecutionfinishedstreamingevent.ts +373 -0
  185. package/src/models/components/toolexecutionstartedstreamingevent.ts +350 -0
  186. package/src/models/components/toolresultpart.ts +1 -1
  187. package/src/models/operations/createagentrequest.ts +3 -0
  188. package/src/models/operations/createagentresponserequest.ts +20 -321
  189. package/src/models/operations/createbudget.ts +2 -2
  190. package/src/models/operations/createcontact.ts +2 -2
  191. package/src/models/operations/createdataset.ts +2 -2
  192. package/src/models/operations/createdatasetitem.ts +8 -8
  193. package/src/models/operations/createdatasource.ts +2 -2
  194. package/src/models/operations/createeval.ts +318 -615
  195. package/src/models/operations/createtool.ts +12 -12
  196. package/src/models/operations/fileget.ts +2 -2
  197. package/src/models/operations/filelist.ts +2 -2
  198. package/src/models/operations/fileupload.ts +2 -2
  199. package/src/models/operations/getalltools.ts +12 -12
  200. package/src/models/operations/getbudget.ts +2 -2
  201. package/src/models/operations/getevals.ts +52 -287
  202. package/src/models/operations/invokeagent.ts +36 -373
  203. package/src/models/operations/listagents.ts +3 -0
  204. package/src/models/operations/listbudgets.ts +2 -2
  205. package/src/models/operations/listcontacts.ts +2 -2
  206. package/src/models/operations/listdatasetdatapoints.ts +8 -8
  207. package/src/models/operations/listdatasets.ts +2 -2
  208. package/src/models/operations/listdatasources.ts +2 -2
  209. package/src/models/operations/listknowledgebases.ts +82 -102
  210. package/src/models/operations/retrieveagentrequest.ts +3 -0
  211. package/src/models/operations/retrievecontact.ts +2 -2
  212. package/src/models/operations/retrievedatapoint.ts +8 -8
  213. package/src/models/operations/retrievedataset.ts +2 -2
  214. package/src/models/operations/retrievedatasource.ts +2 -2
  215. package/src/models/operations/retrievetool.ts +12 -12
  216. package/src/models/operations/runagent.ts +17 -365
  217. package/src/models/operations/streamagent.ts +794 -6985
  218. package/src/models/operations/streamrunagent.ts +3939 -9983
  219. package/src/models/operations/updateagent.ts +3 -0
  220. package/src/models/operations/updatebudget.ts +2 -2
  221. package/src/models/operations/updatecontact.ts +2 -2
  222. package/src/models/operations/updatedatapoint.ts +8 -8
  223. package/src/models/operations/updatedataset.ts +2 -2
  224. package/src/models/operations/updatedatasource.ts +2 -2
  225. package/src/models/operations/updateeval.ts +52 -287
  226. package/src/models/operations/updatetool.ts +14 -14
@@ -18,7 +18,7 @@
18
18
  },
19
19
  "..": {
20
20
  "name": "@orq-ai/node",
21
- "version": "4.1.0-rc.4",
21
+ "version": "4.1.0-rc.7",
22
22
  "dependencies": {
23
23
  "@modelcontextprotocol/sdk": ">=1.5.0 <1.10.0",
24
24
  "zod": "^3.25.0 || ^4.0.0"
package/jsr.json CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  {
4
4
  "name": "@orq-ai/node",
5
- "version": "4.1.0-rc.4",
5
+ "version": "4.1.0-rc.7",
6
6
  "exports": {
7
7
  ".": "./src/index.ts",
8
8
  "./models/errors": "./src/models/errors/index.ts",
package/lib/config.d.ts CHANGED
@@ -39,8 +39,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
39
39
  export declare const SDK_METADATA: {
40
40
  readonly language: "typescript";
41
41
  readonly openapiDocVersion: "2.0";
42
- readonly sdkVersion: "4.1.0-rc.4";
43
- readonly genVersion: "2.760.2";
44
- readonly userAgent: "speakeasy-sdk/typescript 4.1.0-rc.4 2.760.2 2.0 @orq-ai/node";
42
+ readonly sdkVersion: "4.1.0-rc.7";
43
+ readonly genVersion: "2.762.0";
44
+ readonly userAgent: "speakeasy-sdk/typescript 4.1.0-rc.7 2.762.0 2.0 @orq-ai/node";
45
45
  };
46
46
  //# sourceMappingURL=config.d.ts.map
package/lib/config.js CHANGED
@@ -28,8 +28,8 @@ function serverURLFromOptions(options) {
28
28
  exports.SDK_METADATA = {
29
29
  language: "typescript",
30
30
  openapiDocVersion: "2.0",
31
- sdkVersion: "4.1.0-rc.4",
32
- genVersion: "2.760.2",
33
- userAgent: "speakeasy-sdk/typescript 4.1.0-rc.4 2.760.2 2.0 @orq-ai/node",
31
+ sdkVersion: "4.1.0-rc.7",
32
+ genVersion: "2.762.0",
33
+ userAgent: "speakeasy-sdk/typescript 4.1.0-rc.7 2.762.0 2.0 @orq-ai/node",
34
34
  };
35
35
  //# sourceMappingURL=config.js.map
@@ -22,7 +22,7 @@ const routes = (0, core_1.buildRouteMap)({
22
22
  exports.app = (0, core_1.buildApplication)(routes, {
23
23
  name: "mcp",
24
24
  versionInfo: {
25
- currentVersion: "4.1.0-rc.4",
25
+ currentVersion: "4.1.0-rc.7",
26
26
  },
27
27
  });
28
28
  (0, core_1.run)(exports.app, node_process_1.default.argv.slice(2), (0, cli_js_1.buildContext)(node_process_1.default));
@@ -106,7 +106,7 @@ const toolsUpdate_js_1 = require("./tools/toolsUpdate.js");
106
106
  function createMCPServer(deps) {
107
107
  const server = new mcp_js_1.McpServer({
108
108
  name: "Orq",
109
- version: "4.1.0-rc.4",
109
+ version: "4.1.0-rc.7",
110
110
  });
111
111
  const client = new core_js_1.OrqCore({
112
112
  apiKey: deps.apiKey,
@@ -0,0 +1,76 @@
1
+ import * as z from "zod/v3";
2
+ import { ClosedEnum } from "../../types/enums.js";
3
+ import { Result as SafeParseResult } from "../../types/fp.js";
4
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
5
+ export declare const ActionReviewedStreamingEventType: {
6
+ readonly EventAgentsActionReviewed: "event.agents.action_reviewed";
7
+ };
8
+ export type ActionReviewedStreamingEventType = ClosedEnum<typeof ActionReviewedStreamingEventType>;
9
+ export declare const Review: {
10
+ readonly Approved: "approved";
11
+ readonly Rejected: "rejected";
12
+ };
13
+ export type Review = ClosedEnum<typeof Review>;
14
+ export type ActionReviewedStreamingEventData = {
15
+ agentId: string;
16
+ actionId: string;
17
+ agentToolCallId: string;
18
+ review: Review;
19
+ mockOutput?: {
20
+ [k: string]: any;
21
+ } | undefined;
22
+ reviewSource?: string | undefined;
23
+ reviewedById?: string | undefined;
24
+ workflowRunId: string;
25
+ };
26
+ /**
27
+ * Emitted after a tool action has been reviewed. Contains the review decision (approved/rejected), optional mock output for rejected actions, and reviewer information.
28
+ */
29
+ export type ActionReviewedStreamingEvent = {
30
+ type: ActionReviewedStreamingEventType;
31
+ /**
32
+ * ISO timestamp of the event
33
+ */
34
+ timestamp: string;
35
+ data: ActionReviewedStreamingEventData;
36
+ };
37
+ /** @internal */
38
+ export declare const ActionReviewedStreamingEventType$inboundSchema: z.ZodNativeEnum<typeof ActionReviewedStreamingEventType>;
39
+ /** @internal */
40
+ export declare const ActionReviewedStreamingEventType$outboundSchema: z.ZodNativeEnum<typeof ActionReviewedStreamingEventType>;
41
+ /** @internal */
42
+ export declare const Review$inboundSchema: z.ZodNativeEnum<typeof Review>;
43
+ /** @internal */
44
+ export declare const Review$outboundSchema: z.ZodNativeEnum<typeof Review>;
45
+ /** @internal */
46
+ export declare const ActionReviewedStreamingEventData$inboundSchema: z.ZodType<ActionReviewedStreamingEventData, z.ZodTypeDef, unknown>;
47
+ /** @internal */
48
+ export type ActionReviewedStreamingEventData$Outbound = {
49
+ agent_id: string;
50
+ action_id: string;
51
+ agent_tool_call_id: string;
52
+ review: string;
53
+ mock_output?: {
54
+ [k: string]: any;
55
+ } | undefined;
56
+ review_source?: string | undefined;
57
+ reviewed_by_id?: string | undefined;
58
+ workflowRunId: string;
59
+ };
60
+ /** @internal */
61
+ export declare const ActionReviewedStreamingEventData$outboundSchema: z.ZodType<ActionReviewedStreamingEventData$Outbound, z.ZodTypeDef, ActionReviewedStreamingEventData>;
62
+ export declare function actionReviewedStreamingEventDataToJSON(actionReviewedStreamingEventData: ActionReviewedStreamingEventData): string;
63
+ export declare function actionReviewedStreamingEventDataFromJSON(jsonString: string): SafeParseResult<ActionReviewedStreamingEventData, SDKValidationError>;
64
+ /** @internal */
65
+ export declare const ActionReviewedStreamingEvent$inboundSchema: z.ZodType<ActionReviewedStreamingEvent, z.ZodTypeDef, unknown>;
66
+ /** @internal */
67
+ export type ActionReviewedStreamingEvent$Outbound = {
68
+ type: string;
69
+ timestamp: string;
70
+ data: ActionReviewedStreamingEventData$Outbound;
71
+ };
72
+ /** @internal */
73
+ export declare const ActionReviewedStreamingEvent$outboundSchema: z.ZodType<ActionReviewedStreamingEvent$Outbound, z.ZodTypeDef, ActionReviewedStreamingEvent>;
74
+ export declare function actionReviewedStreamingEventToJSON(actionReviewedStreamingEvent: ActionReviewedStreamingEvent): string;
75
+ export declare function actionReviewedStreamingEventFromJSON(jsonString: string): SafeParseResult<ActionReviewedStreamingEvent, SDKValidationError>;
76
+ //# sourceMappingURL=actionreviewedstreamingevent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"actionreviewedstreamingevent.d.ts","sourceRoot":"","sources":["../../src/models/components/actionreviewedstreamingevent.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,eAAO,MAAM,gCAAgC;;CAEnC,CAAC;AACX,MAAM,MAAM,gCAAgC,GAAG,UAAU,CACvD,OAAO,gCAAgC,CACxC,CAAC;AAEF,eAAO,MAAM,MAAM;;;CAGT,CAAC;AACX,MAAM,MAAM,MAAM,GAAG,UAAU,CAAC,OAAO,MAAM,CAAC,CAAC;AAE/C,MAAM,MAAM,gCAAgC,GAAG;IAC7C,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,eAAe,EAAE,MAAM,CAAC;IACxB,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,GAAG,SAAS,CAAC;I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gBAAgB;AAChB,eAAO,MAAM,+CAA+C,EAAE,CAAC,CAAC,OAAO,CACrE,yCAAyC,EACzC,CAAC,CAAC,UAAU,EACZ,gCAAgC,CAmBhC,CAAC;AAEH,wBAAgB,sCAAsC,CACpD,gCAAgC,EAAE,gCAAgC,GACjE,MAAM,CAMR;AACD,wBAAgB,wCAAwC,CACtD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,gCAAgC,EAAE,kBAAkB,CAAC,CAMvE;AAED,gBAAgB;AAChB,eAAO,MAAM,0CAA0C,EAAE,CAAC,CAAC,OAAO,CAChE,4BAA4B,EAC5B,CAAC,CAAC,UAAU,EACZ,OAAO,CAKP,CAAC;AACH,gBAAgB;AAChB,MAAM,MAAM,qCAAqC,GAAG;IAClD,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,yCAAyC,CAAC;CACjD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,2CAA2C,EAAE,CAAC,CAAC,OAAO,CACjE,qCAAqC,EACrC,CAAC,CAAC,UAAU,EACZ,4BAA4B,CAK5B,CAAC;AAEH,wBAAgB,kCAAkC,CAChD,4BAA4B,EAAE,4BAA4B,GACzD,MAAM,CAMR;AACD,wBAAgB,oCAAoC,CAClD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,4BAA4B,EAAE,kBAAkB,CAAC,CAMnE"}
@@ -0,0 +1,127 @@
1
+ "use strict";
2
+ /*
3
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.ActionReviewedStreamingEvent$outboundSchema = exports.ActionReviewedStreamingEvent$inboundSchema = exports.ActionReviewedStreamingEventData$outboundSchema = exports.ActionReviewedStreamingEventData$inboundSchema = exports.Review$outboundSchema = exports.Review$inboundSchema = exports.ActionReviewedStreamingEventType$outboundSchema = exports.ActionReviewedStreamingEventType$inboundSchema = exports.Review = exports.ActionReviewedStreamingEventType = void 0;
40
+ exports.actionReviewedStreamingEventDataToJSON = actionReviewedStreamingEventDataToJSON;
41
+ exports.actionReviewedStreamingEventDataFromJSON = actionReviewedStreamingEventDataFromJSON;
42
+ exports.actionReviewedStreamingEventToJSON = actionReviewedStreamingEventToJSON;
43
+ exports.actionReviewedStreamingEventFromJSON = actionReviewedStreamingEventFromJSON;
44
+ const z = __importStar(require("zod/v3"));
45
+ const primitives_js_1 = require("../../lib/primitives.js");
46
+ const schemas_js_1 = require("../../lib/schemas.js");
47
+ exports.ActionReviewedStreamingEventType = {
48
+ EventAgentsActionReviewed: "event.agents.action_reviewed",
49
+ };
50
+ exports.Review = {
51
+ Approved: "approved",
52
+ Rejected: "rejected",
53
+ };
54
+ /** @internal */
55
+ exports.ActionReviewedStreamingEventType$inboundSchema = z.nativeEnum(exports.ActionReviewedStreamingEventType);
56
+ /** @internal */
57
+ exports.ActionReviewedStreamingEventType$outboundSchema = exports.ActionReviewedStreamingEventType$inboundSchema;
58
+ /** @internal */
59
+ exports.Review$inboundSchema = z
60
+ .nativeEnum(exports.Review);
61
+ /** @internal */
62
+ exports.Review$outboundSchema = exports.Review$inboundSchema;
63
+ /** @internal */
64
+ exports.ActionReviewedStreamingEventData$inboundSchema = z.object({
65
+ agent_id: z.string(),
66
+ action_id: z.string(),
67
+ agent_tool_call_id: z.string(),
68
+ review: exports.Review$inboundSchema,
69
+ mock_output: z.record(z.any()).optional(),
70
+ review_source: z.string().optional(),
71
+ reviewed_by_id: z.string().optional(),
72
+ workflowRunId: z.string(),
73
+ }).transform((v) => {
74
+ return (0, primitives_js_1.remap)(v, {
75
+ "agent_id": "agentId",
76
+ "action_id": "actionId",
77
+ "agent_tool_call_id": "agentToolCallId",
78
+ "mock_output": "mockOutput",
79
+ "review_source": "reviewSource",
80
+ "reviewed_by_id": "reviewedById",
81
+ });
82
+ });
83
+ /** @internal */
84
+ exports.ActionReviewedStreamingEventData$outboundSchema = z.object({
85
+ agentId: z.string(),
86
+ actionId: z.string(),
87
+ agentToolCallId: z.string(),
88
+ review: exports.Review$outboundSchema,
89
+ mockOutput: z.record(z.any()).optional(),
90
+ reviewSource: z.string().optional(),
91
+ reviewedById: z.string().optional(),
92
+ workflowRunId: z.string(),
93
+ }).transform((v) => {
94
+ return (0, primitives_js_1.remap)(v, {
95
+ agentId: "agent_id",
96
+ actionId: "action_id",
97
+ agentToolCallId: "agent_tool_call_id",
98
+ mockOutput: "mock_output",
99
+ reviewSource: "review_source",
100
+ reviewedById: "reviewed_by_id",
101
+ });
102
+ });
103
+ function actionReviewedStreamingEventDataToJSON(actionReviewedStreamingEventData) {
104
+ return JSON.stringify(exports.ActionReviewedStreamingEventData$outboundSchema.parse(actionReviewedStreamingEventData));
105
+ }
106
+ function actionReviewedStreamingEventDataFromJSON(jsonString) {
107
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ActionReviewedStreamingEventData$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ActionReviewedStreamingEventData' from JSON`);
108
+ }
109
+ /** @internal */
110
+ exports.ActionReviewedStreamingEvent$inboundSchema = z.object({
111
+ type: exports.ActionReviewedStreamingEventType$inboundSchema,
112
+ timestamp: z.string(),
113
+ data: z.lazy(() => exports.ActionReviewedStreamingEventData$inboundSchema),
114
+ });
115
+ /** @internal */
116
+ exports.ActionReviewedStreamingEvent$outboundSchema = z.object({
117
+ type: exports.ActionReviewedStreamingEventType$outboundSchema,
118
+ timestamp: z.string(),
119
+ data: z.lazy(() => exports.ActionReviewedStreamingEventData$outboundSchema),
120
+ });
121
+ function actionReviewedStreamingEventToJSON(actionReviewedStreamingEvent) {
122
+ return JSON.stringify(exports.ActionReviewedStreamingEvent$outboundSchema.parse(actionReviewedStreamingEvent));
123
+ }
124
+ function actionReviewedStreamingEventFromJSON(jsonString) {
125
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ActionReviewedStreamingEvent$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ActionReviewedStreamingEvent' from JSON`);
126
+ }
127
+ //# sourceMappingURL=actionreviewedstreamingevent.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"actionreviewedstreamingevent.js","sourceRoot":"","sources":["../../src/models/components/actionreviewedstreamingevent.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0HH,wFAQC;AACD,4FAQC;AA8BD,gFAQC;AACD,oFAQC;AAxLD,0CAA4B;AAC5B,2DAA0D;AAC1D,qDAAiD;AAKpC,QAAA,gCAAgC,GAAG;IAC9C,yBAAyB,EAAE,8BAA8B;CACjD,CAAC;AAKE,QAAA,M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;AAQH,gBAAgB;AACH,QAAA,2CAA2C,GAIpD,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,uDAA+C;IACrD,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;IACrB,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,uDAA+C,CAAC;CACpE,CAAC,CAAC;AAEH,SAAgB,kCAAkC,CAChD,4BAA0D;IAE1D,OAAO,IAAI,CAAC,SAAS,CACnB,mDAA2C,CAAC,KAAK,CAC/C,4BAA4B,CAC7B,CACF,CAAC;AACJ,CAAC;AACD,SAAgB,oCAAoC,CAClD,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,kDAA0C,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACtE,0DAA0D,CAC3D,CAAC;AACJ,CAAC"}
@@ -0,0 +1,135 @@
1
+ import * as z from "zod/v3";
2
+ import { ClosedEnum } from "../../types/enums.js";
3
+ import { Result as SafeParseResult } from "../../types/fp.js";
4
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
5
+ export declare const ActionReviewRequestedStreamingEventType: {
6
+ readonly EventAgentsActionReviewRequested: "event.agents.action_review_requested";
7
+ };
8
+ export type ActionReviewRequestedStreamingEventType = ClosedEnum<typeof ActionReviewRequestedStreamingEventType>;
9
+ export type Conditions = {
10
+ /**
11
+ * The argument of the tool call to evaluate
12
+ */
13
+ condition: string;
14
+ /**
15
+ * The operator to use
16
+ */
17
+ operator: string;
18
+ /**
19
+ * The value to compare against
20
+ */
21
+ value: string;
22
+ };
23
+ export type Tool = {
24
+ /**
25
+ * The id of the resource
26
+ */
27
+ id: string;
28
+ /**
29
+ * Optional tool key for custom tools
30
+ */
31
+ key?: string | undefined;
32
+ actionType: string;
33
+ displayName?: string | undefined;
34
+ /**
35
+ * Optional tool description
36
+ */
37
+ description?: string | undefined;
38
+ requiresApproval?: boolean | undefined;
39
+ /**
40
+ * Nested tool ID for MCP tools (identifies specific tool within MCP server)
41
+ */
42
+ toolId?: string | undefined;
43
+ conditions?: Array<Conditions> | undefined;
44
+ /**
45
+ * Tool execution timeout in seconds (default: 2 minutes, max: 10 minutes)
46
+ */
47
+ timeout?: number | undefined;
48
+ };
49
+ export type ActionReviewRequestedStreamingEventData = {
50
+ agentId: string;
51
+ actionId: string;
52
+ requiresApproval: boolean;
53
+ tool: Tool;
54
+ input: {
55
+ [k: string]: any;
56
+ };
57
+ agentToolCallId: string;
58
+ responseId?: string | undefined;
59
+ };
60
+ /**
61
+ * Emitted when a tool action requires approval before execution. Contains the tool details, input arguments, and whether approval is mandatory.
62
+ */
63
+ export type ActionReviewRequestedStreamingEvent = {
64
+ type: ActionReviewRequestedStreamingEventType;
65
+ /**
66
+ * ISO timestamp of the event
67
+ */
68
+ timestamp: string;
69
+ data: ActionReviewRequestedStreamingEventData;
70
+ };
71
+ /** @internal */
72
+ export declare const ActionReviewRequestedStreamingEventType$inboundSchema: z.ZodNativeEnum<typeof ActionReviewRequestedStreamingEventType>;
73
+ /** @internal */
74
+ export declare const ActionReviewRequestedStreamingEventType$outboundSchema: z.ZodNativeEnum<typeof ActionReviewRequestedStreamingEventType>;
75
+ /** @internal */
76
+ export declare const Conditions$inboundSchema: z.ZodType<Conditions, z.ZodTypeDef, unknown>;
77
+ /** @internal */
78
+ export type Conditions$Outbound = {
79
+ condition: string;
80
+ operator: string;
81
+ value: string;
82
+ };
83
+ /** @internal */
84
+ export declare const Conditions$outboundSchema: z.ZodType<Conditions$Outbound, z.ZodTypeDef, Conditions>;
85
+ export declare function conditionsToJSON(conditions: Conditions): string;
86
+ export declare function conditionsFromJSON(jsonString: string): SafeParseResult<Conditions, SDKValidationError>;
87
+ /** @internal */
88
+ export declare const Tool$inboundSchema: z.ZodType<Tool, z.ZodTypeDef, unknown>;
89
+ /** @internal */
90
+ export type Tool$Outbound = {
91
+ id: string;
92
+ key?: string | undefined;
93
+ action_type: string;
94
+ display_name?: string | undefined;
95
+ description?: string | undefined;
96
+ requires_approval: boolean;
97
+ tool_id?: string | undefined;
98
+ conditions?: Array<Conditions$Outbound> | undefined;
99
+ timeout: number;
100
+ };
101
+ /** @internal */
102
+ export declare const Tool$outboundSchema: z.ZodType<Tool$Outbound, z.ZodTypeDef, Tool>;
103
+ export declare function toolToJSON(tool: Tool): string;
104
+ export declare function toolFromJSON(jsonString: string): SafeParseResult<Tool, SDKValidationError>;
105
+ /** @internal */
106
+ export declare const ActionReviewRequestedStreamingEventData$inboundSchema: z.ZodType<ActionReviewRequestedStreamingEventData, z.ZodTypeDef, unknown>;
107
+ /** @internal */
108
+ export type ActionReviewRequestedStreamingEventData$Outbound = {
109
+ agent_id: string;
110
+ action_id: string;
111
+ requires_approval: boolean;
112
+ tool: Tool$Outbound;
113
+ input: {
114
+ [k: string]: any;
115
+ };
116
+ agent_tool_call_id: string;
117
+ responseId?: string | undefined;
118
+ };
119
+ /** @internal */
120
+ export declare const ActionReviewRequestedStreamingEventData$outboundSchema: z.ZodType<ActionReviewRequestedStreamingEventData$Outbound, z.ZodTypeDef, ActionReviewRequestedStreamingEventData>;
121
+ export declare function actionReviewRequestedStreamingEventDataToJSON(actionReviewRequestedStreamingEventData: ActionReviewRequestedStreamingEventData): string;
122
+ export declare function actionReviewRequestedStreamingEventDataFromJSON(jsonString: string): SafeParseResult<ActionReviewRequestedStreamingEventData, SDKValidationError>;
123
+ /** @internal */
124
+ export declare const ActionReviewRequestedStreamingEvent$inboundSchema: z.ZodType<ActionReviewRequestedStreamingEvent, z.ZodTypeDef, unknown>;
125
+ /** @internal */
126
+ export type ActionReviewRequestedStreamingEvent$Outbound = {
127
+ type: string;
128
+ timestamp: string;
129
+ data: ActionReviewRequestedStreamingEventData$Outbound;
130
+ };
131
+ /** @internal */
132
+ export declare const ActionReviewRequestedStreamingEvent$outboundSchema: z.ZodType<ActionReviewRequestedStreamingEvent$Outbound, z.ZodTypeDef, ActionReviewRequestedStreamingEvent>;
133
+ export declare function actionReviewRequestedStreamingEventToJSON(actionReviewRequestedStreamingEvent: ActionReviewRequestedStreamingEvent): string;
134
+ export declare function actionReviewRequestedStreamingEventFromJSON(jsonString: string): SafeParseResult<ActionReviewRequestedStreamingEvent, SDKValidationError>;
135
+ //# sourceMappingURL=actionreviewrequestedstreamingevent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"actionreviewrequestedstreamingevent.d.ts","sourceRoot":"","sources":["../../src/models/components/actionreviewrequestedstreamingevent.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,eAAO,MAAM,uCAAuC;;CAE1C,CAAC;AACX,MAAM,MAAM,uCAAuC,GAAG,UAAU,CAC9D,OAAO,uCAAuC,CAC/C,CAAC;AAEF,MAAM,MAAM,UAAU,GAAG;IACvB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,MAAM,MAAM,IAAI,GAAG;IACjB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACzB,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,gBAAgB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACvC;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B,U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__createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.ActionReviewRequestedStreamingEvent$outboundSchema = exports.ActionReviewRequestedStreamingEvent$inboundSchema = exports.ActionReviewRequestedStreamingEventData$outboundSchema = exports.ActionReviewRequestedStreamingEventData$inboundSchema = exports.Tool$outboundSchema = exports.Tool$inboundSchema = exports.Conditions$outboundSchema = exports.Conditions$inboundSchema = exports.ActionReviewRequestedStreamingEventType$outboundSchema = exports.ActionReviewRequestedStreamingEventType$inboundSchema = exports.ActionReviewRequestedStreamingEventType = void 0;
40
+ exports.conditionsToJSON = conditionsToJSON;
41
+ exports.conditionsFromJSON = conditionsFromJSON;
42
+ exports.toolToJSON = toolToJSON;
43
+ exports.toolFromJSON = toolFromJSON;
44
+ exports.actionReviewRequestedStreamingEventDataToJSON = actionReviewRequestedStreamingEventDataToJSON;
45
+ exports.actionReviewRequestedStreamingEventDataFromJSON = actionReviewRequestedStreamingEventDataFromJSON;
46
+ exports.actionReviewRequestedStreamingEventToJSON = actionReviewRequestedStreamingEventToJSON;
47
+ exports.actionReviewRequestedStreamingEventFromJSON = actionReviewRequestedStreamingEventFromJSON;
48
+ const z = __importStar(require("zod/v3"));
49
+ const primitives_js_1 = require("../../lib/primitives.js");
50
+ const schemas_js_1 = require("../../lib/schemas.js");
51
+ exports.ActionReviewRequestedStreamingEventType = {
52
+ EventAgentsActionReviewRequested: "event.agents.action_review_requested",
53
+ };
54
+ /** @internal */
55
+ exports.ActionReviewRequestedStreamingEventType$inboundSchema = z
56
+ .nativeEnum(exports.ActionReviewRequestedStreamingEventType);
57
+ /** @internal */
58
+ exports.ActionReviewRequestedStreamingEventType$outboundSchema = exports.ActionReviewRequestedStreamingEventType$inboundSchema;
59
+ /** @internal */
60
+ exports.Conditions$inboundSchema = z.object({
61
+ condition: z.string(),
62
+ operator: z.string(),
63
+ value: z.string(),
64
+ });
65
+ /** @internal */
66
+ exports.Conditions$outboundSchema = z.object({
67
+ condition: z.string(),
68
+ operator: z.string(),
69
+ value: z.string(),
70
+ });
71
+ function conditionsToJSON(conditions) {
72
+ return JSON.stringify(exports.Conditions$outboundSchema.parse(conditions));
73
+ }
74
+ function conditionsFromJSON(jsonString) {
75
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.Conditions$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Conditions' from JSON`);
76
+ }
77
+ /** @internal */
78
+ exports.Tool$inboundSchema = z
79
+ .object({
80
+ id: z.string(),
81
+ key: z.string().optional(),
82
+ action_type: z.string(),
83
+ display_name: z.string().optional(),
84
+ description: z.string().optional(),
85
+ requires_approval: z.boolean().default(false),
86
+ tool_id: z.string().optional(),
87
+ conditions: z.array(z.lazy(() => exports.Conditions$inboundSchema)).optional(),
88
+ timeout: z.number().default(120),
89
+ }).transform((v) => {
90
+ return (0, primitives_js_1.remap)(v, {
91
+ "action_type": "actionType",
92
+ "display_name": "displayName",
93
+ "requires_approval": "requiresApproval",
94
+ "tool_id": "toolId",
95
+ });
96
+ });
97
+ /** @internal */
98
+ exports.Tool$outboundSchema = z.object({
99
+ id: z.string(),
100
+ key: z.string().optional(),
101
+ actionType: z.string(),
102
+ displayName: z.string().optional(),
103
+ description: z.string().optional(),
104
+ requiresApproval: z.boolean().default(false),
105
+ toolId: z.string().optional(),
106
+ conditions: z.array(z.lazy(() => exports.Conditions$outboundSchema)).optional(),
107
+ timeout: z.number().default(120),
108
+ }).transform((v) => {
109
+ return (0, primitives_js_1.remap)(v, {
110
+ actionType: "action_type",
111
+ displayName: "display_name",
112
+ requiresApproval: "requires_approval",
113
+ toolId: "tool_id",
114
+ });
115
+ });
116
+ function toolToJSON(tool) {
117
+ return JSON.stringify(exports.Tool$outboundSchema.parse(tool));
118
+ }
119
+ function toolFromJSON(jsonString) {
120
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.Tool$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Tool' from JSON`);
121
+ }
122
+ /** @internal */
123
+ exports.ActionReviewRequestedStreamingEventData$inboundSchema = z.object({
124
+ agent_id: z.string(),
125
+ action_id: z.string(),
126
+ requires_approval: z.boolean(),
127
+ tool: z.lazy(() => exports.Tool$inboundSchema),
128
+ input: z.record(z.any()),
129
+ agent_tool_call_id: z.string(),
130
+ responseId: z.string().optional(),
131
+ }).transform((v) => {
132
+ return (0, primitives_js_1.remap)(v, {
133
+ "agent_id": "agentId",
134
+ "action_id": "actionId",
135
+ "requires_approval": "requiresApproval",
136
+ "agent_tool_call_id": "agentToolCallId",
137
+ });
138
+ });
139
+ /** @internal */
140
+ exports.ActionReviewRequestedStreamingEventData$outboundSchema = z.object({
141
+ agentId: z.string(),
142
+ actionId: z.string(),
143
+ requiresApproval: z.boolean(),
144
+ tool: z.lazy(() => exports.Tool$outboundSchema),
145
+ input: z.record(z.any()),
146
+ agentToolCallId: z.string(),
147
+ responseId: z.string().optional(),
148
+ }).transform((v) => {
149
+ return (0, primitives_js_1.remap)(v, {
150
+ agentId: "agent_id",
151
+ actionId: "action_id",
152
+ requiresApproval: "requires_approval",
153
+ agentToolCallId: "agent_tool_call_id",
154
+ });
155
+ });
156
+ function actionReviewRequestedStreamingEventDataToJSON(actionReviewRequestedStreamingEventData) {
157
+ return JSON.stringify(exports.ActionReviewRequestedStreamingEventData$outboundSchema.parse(actionReviewRequestedStreamingEventData));
158
+ }
159
+ function actionReviewRequestedStreamingEventDataFromJSON(jsonString) {
160
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ActionReviewRequestedStreamingEventData$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ActionReviewRequestedStreamingEventData' from JSON`);
161
+ }
162
+ /** @internal */
163
+ exports.ActionReviewRequestedStreamingEvent$inboundSchema = z.object({
164
+ type: exports.ActionReviewRequestedStreamingEventType$inboundSchema,
165
+ timestamp: z.string(),
166
+ data: z.lazy(() => exports.ActionReviewRequestedStreamingEventData$inboundSchema),
167
+ });
168
+ /** @internal */
169
+ exports.ActionReviewRequestedStreamingEvent$outboundSchema = z.object({
170
+ type: exports.ActionReviewRequestedStreamingEventType$outboundSchema,
171
+ timestamp: z.string(),
172
+ data: z.lazy(() => exports.ActionReviewRequestedStreamingEventData$outboundSchema),
173
+ });
174
+ function actionReviewRequestedStreamingEventToJSON(actionReviewRequestedStreamingEvent) {
175
+ return JSON.stringify(exports.ActionReviewRequestedStreamingEvent$outboundSchema.parse(actionReviewRequestedStreamingEvent));
176
+ }
177
+ function actionReviewRequestedStreamingEventFromJSON(jsonString) {
178
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ActionReviewRequestedStreamingEvent$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ActionReviewRequestedStreamingEvent' from JSON`);
179
+ }
180
+ //# sourceMappingURL=actionreviewrequestedstreamingevent.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"actionreviewrequestedstreamingevent.js","sourceRoot":"","sources":["../../src/models/components/actionreviewrequestedstreamingevent.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqHH,4CAEC;AACD,gDAQC;AAwDD,gCAEC;AACD,oCAQC;AAwDD,sGASC;AACD,0GAcC;AA8BD,8FAQC;AACD,kGASC;AAjUD,0CAA4B;AAC5B,2DAA0D;AAC1D,qDAAiD;AAKpC,QAAA,uCAAuC,GAAG;IACrD,gCAAgC,EAAE,sCAAsC;CAChE,CAAC;AAqEX,gBAAgB;AACH,QAAA,qDAAqD,GACE,CAAC;KAChE,UAAU,CAAC,+CAAuC,CAAC,CAAC;AACzD,gBAAgB;AACH,QAAA,sDAAsD,GAE/D,6DAAqD,CAAC;AAE1D,gBAAgB;AACH,QAAA,wBAAwB,GAIjC,CAAC,CAAC,MAAM,CAAC;IACX,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;IACrB,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;CAClB,CAAC,CAAC;AAQH,gBAAgB;AACH,QAAA,yBAAyB,GAIlC,CAAC,CAAC,MAAM,CAAC;IACX,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;IACrB,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;CAClB,CAAC,CAAC;AAEH,SAAgB,gBAAgB,CAAC,UAAsB;IACrD,OAAO,IAAI,CAAC,SAAS,CAAC,iCAAyB,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC;AACrE,CAAC;AACD,SAAgB,kBAAkB,CAChC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EA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