@withone/platform-exa 0.0.0-stage → 0.1.0

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.
package/dist/index.mjs ADDED
@@ -0,0 +1,634 @@
1
+ // src/index.ts
2
+ import { Action as __Action, routeInput as __routeInput } from "@withone/sdk/codegen";
3
+ var __cancelAgentRunRouting = { "routes": [["id", "path"]], "requiredParts": ["path"] };
4
+ function cancelAgentRun(input) {
5
+ return new __Action({
6
+ systemId: "conn_mod_def::GLnP0wISw4s::q5hcQJScTHCV7mpcj0BGZg",
7
+ method: "POST",
8
+ path: "/agent/runs/{{id}}/cancel",
9
+ ...__routeInput(input, __cancelAgentRunRouting, { "headers": { "Accept": "application/json" } })
10
+ });
11
+ }
12
+ var __getRunUsingAgentRunsRouting = { "routes": [["id", "path"]], "requiredParts": ["path"] };
13
+ function getRunUsingAgentRuns(input) {
14
+ return new __Action({
15
+ systemId: "conn_mod_def::GLnP0wU8NnU::zg3JAhGNRcWxak__12aVBw",
16
+ method: "GET",
17
+ path: "/agent/runs/{{id}}",
18
+ ...__routeInput(input, __getRunUsingAgentRunsRouting, { "headers": { "Accept": "application/json" } })
19
+ });
20
+ }
21
+ var __deleteAgentRunRouting = { "routes": [["id", "path"]], "requiredParts": ["path"] };
22
+ function deleteAgentRun(input) {
23
+ return new __Action({
24
+ systemId: "conn_mod_def::GLnP0wpcaXs::YjuNVE_nSzCQUXBL-4deUw",
25
+ method: "DELETE",
26
+ path: "/agent/runs/{{id}}",
27
+ ...__routeInput(input, __deleteAgentRunRouting, { "headers": { "Accept": "application/json" } })
28
+ });
29
+ }
30
+ var __createAgentRunsRouting = { "routes": [["budget", "body"], ["effort", "body"], ["input", "body"], ["metadata", "body"], ["outputSchema", "body"], ["previousRunId", "body"], ["query", "body"], ["systemPrompt", "body"], ["headers", "headers", null]], "requiredParts": ["body"] };
31
+ function createAgentRuns(input) {
32
+ return new __Action({
33
+ systemId: "conn_mod_def::GLnP0yCt19M::bLO1qm5cTZysCgl3QaoDyQ",
34
+ method: "POST",
35
+ path: "/agent/runs",
36
+ ...__routeInput(input, __createAgentRunsRouting, { "headers": { "Content-Type": "application/json" } })
37
+ });
38
+ }
39
+ var __listAgentRunsEventsRouting = { "routes": [["id", "path"], ["cursor", "query"], ["limit", "query"], ["headers", "headers", null]], "requiredParts": ["path"] };
40
+ function listAgentRunsEvents(input) {
41
+ return new __Action({
42
+ systemId: "conn_mod_def::GLnP0363pbk::uIQWpx4UR5yc6A2NwOq0tg",
43
+ method: "GET",
44
+ path: "/agent/runs/{{id}}/events",
45
+ ...__routeInput(input, __listAgentRunsEventsRouting)
46
+ });
47
+ }
48
+ var __listAgentRunsRouting = { "routes": [["cursor", "query"], ["limit", "query"]], "requiredParts": [] };
49
+ function listAgentRuns(input) {
50
+ return new __Action({
51
+ systemId: "conn_mod_def::GLnP09ZFptQ::ZDgTp01aTa2prCZp5r9ECQ",
52
+ method: "GET",
53
+ path: "/agent/runs",
54
+ ...__routeInput(input, __listAgentRunsRouting, { "headers": { "Accept": "application/json" } })
55
+ });
56
+ }
57
+ var __createEnrichmentWebsetRouting = { "routes": [["description", "body"], ["format", "body"], ["metadata", "body"], ["options", "body"], ["webset", "path"]], "requiredParts": ["body", "path"] };
58
+ function createEnrichmentWebset(input) {
59
+ return new __Action({
60
+ systemId: "conn_mod_def::GLnP09oKk6k::UI9GHjtaTvuTT8_CaWP5AQ",
61
+ method: "POST",
62
+ path: "/websets/v0/websets/{{webset}}/enrichments",
63
+ ...__routeInput(input, __createEnrichmentWebsetRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
64
+ });
65
+ }
66
+ var __deleteWebsetEnrichmentRouting = { "routes": [["id", "path"], ["webset", "path"]], "requiredParts": ["path"] };
67
+ function deleteWebsetEnrichment(input) {
68
+ return new __Action({
69
+ systemId: "conn_mod_def::GLnP09sQBi4::FrL1dBsLRd-1ujNOdE2vwA",
70
+ method: "DELETE",
71
+ path: "/websets/v0/websets/{{webset}}/enrichments/{{id}}",
72
+ ...__routeInput(input, __deleteWebsetEnrichmentRouting, { "headers": { "Accept": "application/json" } })
73
+ });
74
+ }
75
+ var __cancelWebsetEnrichmentRouting = { "routes": [["id", "path"], ["webset", "path"]], "requiredParts": ["path"] };
76
+ function cancelWebsetEnrichment(input) {
77
+ return new __Action({
78
+ systemId: "conn_mod_def::GLnP0_Iow40::lcZX86jtRrO1rUfaaurWnw",
79
+ method: "POST",
80
+ path: "/websets/v0/websets/{{webset}}/enrichments/{{id}}/cancel",
81
+ ...__routeInput(input, __cancelWebsetEnrichmentRouting, { "headers": { "Accept": "application/json" } })
82
+ });
83
+ }
84
+ var __getWebsetEnrichmentRouting = { "routes": [["id", "path"], ["webset", "path"]], "requiredParts": ["path"] };
85
+ function getWebsetEnrichment(input) {
86
+ return new __Action({
87
+ systemId: "conn_mod_def::GLnP1Mm1hS8::r6EHPvprSumYm0nK7-J-WQ",
88
+ method: "GET",
89
+ path: "/websets/v0/websets/{{webset}}/enrichments/{{id}}",
90
+ ...__routeInput(input, __getWebsetEnrichmentRouting, { "headers": { "Accept": "application/json" } })
91
+ });
92
+ }
93
+ var __getContentsRouting = { "routes": [["compliance", "body"], ["context", "body"], ["extras", "body"], ["highlights", "body"], ["ids", "body"], ["livecrawl", "body"], ["livecrawlTimeout", "body"], ["maxAgeHours", "body"], ["subpageTarget", "body"], ["subpages", "body"], ["summary", "body"], ["text", "body"], ["urls", "body"]], "requiredParts": ["body"] };
94
+ function getContents(input) {
95
+ return new __Action({
96
+ systemId: "conn_mod_def::GLnP1SliTjU::cHYbAszDQvC4kJVefjxTMw",
97
+ method: "POST",
98
+ path: "/contents",
99
+ ...__routeInput(input, __getContentsRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
100
+ });
101
+ }
102
+ var __listEventsRouting = { "routes": [["createdAfter", "query"], ["createdBefore", "query"], ["cursor", "query"], ["limit", "query"], ["types", "query"]], "requiredParts": [] };
103
+ function listEvents(input) {
104
+ return new __Action({
105
+ systemId: "conn_mod_def::GLnP1S_GuQs::657y61dTR3SLXxqzPFiAMQ",
106
+ method: "GET",
107
+ path: "/websets/v0/events",
108
+ ...__routeInput(input, __listEventsRouting, { "headers": { "Accept": "application/json" } })
109
+ });
110
+ }
111
+ var __answerRouting = { "routes": [["outputSchema", "body"], ["query", "body"], ["stream", "body"], ["text", "body"]], "requiredParts": ["body"] };
112
+ function answer(input) {
113
+ return new __Action({
114
+ systemId: "conn_mod_def::GLnP1TDvmxk::ItLr_xMCQiuhFUUNWXBhIQ",
115
+ method: "POST",
116
+ path: "/answer",
117
+ ...__routeInput(input, __answerRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
118
+ });
119
+ }
120
+ var __updateEnrichmentWebsetRouting = { "routes": [["description", "body"], ["format", "body"], ["metadata", "body"], ["options", "body"], ["id", "path"], ["webset", "path"]], "requiredParts": ["body", "path"] };
121
+ function updateEnrichmentWebset(input) {
122
+ return new __Action({
123
+ systemId: "conn_mod_def::GLnP1TUSUpM::9_mWTS8LS9y9lc8xGV-8fg",
124
+ method: "PATCH",
125
+ path: "/websets/v0/websets/{{webset}}/enrichments/{{id}}",
126
+ ...__routeInput(input, __updateEnrichmentWebsetRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
127
+ });
128
+ }
129
+ var __getEventRouting = { "routes": [["id", "path"]], "requiredParts": ["path"] };
130
+ function getEvent(input) {
131
+ return new __Action({
132
+ systemId: "conn_mod_def::GLnP1TnZJ1U::xdF1F6YJTyyIKVuUsUD4Qw",
133
+ method: "GET",
134
+ path: "/websets/v0/events/{{id}}",
135
+ ...__routeInput(input, __getEventRouting, { "headers": { "Accept": "application/json" } })
136
+ });
137
+ }
138
+ var __deleteImportRouting = { "routes": [["id", "path"]], "requiredParts": ["path"] };
139
+ function deleteImport(input) {
140
+ return new __Action({
141
+ systemId: "conn_mod_def::GLnP1Zc8lYg::rfV57P32SZCTQp7ZI0HRHA",
142
+ method: "DELETE",
143
+ path: "/websets/v0/imports/{{id}}",
144
+ ...__routeInput(input, __deleteImportRouting, { "headers": { "Accept": "application/json" } })
145
+ });
146
+ }
147
+ var __listImportsRouting = { "routes": [["cursor", "query"], ["limit", "query"]], "requiredParts": [] };
148
+ function listImports(input) {
149
+ return new __Action({
150
+ systemId: "conn_mod_def::GLnP1Ze7mHw::00kZloxIQ_Wj4eVaJxCrfQ",
151
+ method: "GET",
152
+ path: "/websets/v0/imports",
153
+ ...__routeInput(input, __listImportsRouting, { "headers": { "Accept": "application/json" } })
154
+ });
155
+ }
156
+ var __createImportRouting = { "routes": [["count", "body"], ["csv", "body"], ["entity", "body"], ["format", "body"], ["metadata", "body"], ["size", "body"], ["title", "body"]], "requiredParts": ["body"] };
157
+ function createImport(input) {
158
+ return new __Action({
159
+ systemId: "conn_mod_def::GLnP1Zl1Dxc::alVFUPN6SRmX4Zy1OQ8img",
160
+ method: "POST",
161
+ path: "/websets/v0/imports",
162
+ ...__routeInput(input, __createImportRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
163
+ });
164
+ }
165
+ var __getImportRouting = { "routes": [["id", "path"]], "requiredParts": ["path"] };
166
+ function getImport(input) {
167
+ return new __Action({
168
+ systemId: "conn_mod_def::GLnP1Z8l7-U::oxXE12RIT32i6qE9CcVFoQ",
169
+ method: "GET",
170
+ path: "/websets/v0/imports/{{id}}",
171
+ ...__routeInput(input, __getImportRouting, { "headers": { "Accept": "application/json" } })
172
+ });
173
+ }
174
+ var __searchRouting = { "routes": [["additionalQueries", "body"], ["category", "body"], ["compliance", "body"], ["contents", "body"], ["context", "body"], ["endCrawlDate", "body"], ["endPublishedDate", "body"], ["excludeDomains", "body"], ["includeDomains", "body"], ["moderation", "body"], ["numResults", "body"], ["outputSchema", "body"], ["query", "body"], ["startCrawlDate", "body"], ["startPublishedDate", "body"], ["stream", "body"], ["systemPrompt", "body"], ["type", "body"], ["userLocation", "body"]], "requiredParts": ["body"] };
175
+ function search(input) {
176
+ return new __Action({
177
+ systemId: "conn_mod_def::GLnP1aajcpM::B9YzjETpQGWIsmbugYJXJQ",
178
+ method: "POST",
179
+ path: "/search",
180
+ ...__routeInput(input, __searchRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
181
+ });
182
+ }
183
+ var __getWebsetItemRouting = { "routes": [["id", "path"], ["webset", "path"]], "requiredParts": ["path"] };
184
+ function getWebsetItem(input) {
185
+ return new __Action({
186
+ systemId: "conn_mod_def::GLnP1hWVReU::D7rLq8SIQ-Kzu2Uspt9gAQ",
187
+ method: "GET",
188
+ path: "/websets/v0/websets/{{webset}}/items/{{id}}",
189
+ ...__routeInput(input, __getWebsetItemRouting, { "headers": { "Accept": "application/json" } })
190
+ });
191
+ }
192
+ var __batchActionMonitorsRouting = { "routes": [["action", "body"], ["dry_run", "body"], ["filter", "body"], ["limit", "body"]], "requiredParts": ["body"] };
193
+ function batchActionMonitors(input) {
194
+ return new __Action({
195
+ systemId: "conn_mod_def::GLnP1hgAxxI::T18x5LQfShuv_V6jjeoGow",
196
+ method: "POST",
197
+ path: "/monitors/batch",
198
+ ...__routeInput(input, __batchActionMonitorsRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
199
+ });
200
+ }
201
+ var __updateImportRouting = { "routes": [["metadata", "body"], ["title", "body"], ["id", "path"]], "requiredParts": ["body", "path"] };
202
+ function updateImport(input) {
203
+ return new __Action({
204
+ systemId: "conn_mod_def::GLnP1hlkDtI::it_W_zMJQ3aPVgjzx26t8g",
205
+ method: "PATCH",
206
+ path: "/websets/v0/imports/{{id}}",
207
+ ...__routeInput(input, __updateImportRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
208
+ });
209
+ }
210
+ var __deleteWebsetItemRouting = { "routes": [["id", "path"], ["webset", "path"]], "requiredParts": ["path"] };
211
+ function deleteWebsetItem(input) {
212
+ return new __Action({
213
+ systemId: "conn_mod_def::GLnP1h02T90::CSFp3HZ7TgmAVM2LPXQdbg",
214
+ method: "DELETE",
215
+ path: "/websets/v0/websets/{{webset}}/items/{{id}}",
216
+ ...__routeInput(input, __deleteWebsetItemRouting, { "headers": { "Accept": "application/json" } })
217
+ });
218
+ }
219
+ var __listAllItemsWebsetRouting = { "routes": [["webset", "path"], ["cursor", "query"], ["limit", "query"], ["sourceId", "query"]], "requiredParts": ["path"] };
220
+ function listAllItemsWebset(input) {
221
+ return new __Action({
222
+ systemId: "conn_mod_def::GLnP1ir2EXk::l371VNWbQnG3JZjeRREn9g",
223
+ method: "GET",
224
+ path: "/websets/v0/websets/{{webset}}/items",
225
+ ...__routeInput(input, __listAllItemsWebsetRouting, { "headers": { "Accept": "application/json" } })
226
+ });
227
+ }
228
+ var __deleteMonitorRouting = { "routes": [["id", "path"]], "requiredParts": ["path"] };
229
+ function deleteMonitor(input) {
230
+ return new __Action({
231
+ systemId: "conn_mod_def::GLnP1n8Z5IY::_dagZjc4QXymL0xz9Z2iAQ",
232
+ method: "DELETE",
233
+ path: "/monitors/{{id}}",
234
+ ...__routeInput(input, __deleteMonitorRouting, { "headers": { "Accept": "application/json" } })
235
+ });
236
+ }
237
+ var __createMonitorRouting = { "routes": [["behavior", "body"], ["cadence", "body"], ["metadata", "body"], ["websetId", "body"]], "requiredParts": ["body"] };
238
+ function createMonitor(input) {
239
+ return new __Action({
240
+ systemId: "conn_mod_def::GLnP1ojhia8::JWuE7IHBT8GujLiIzQWyCQ",
241
+ method: "POST",
242
+ path: "/websets/v0/monitors",
243
+ ...__routeInput(input, __createMonitorRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
244
+ });
245
+ }
246
+ var __getMonitorRouting = { "routes": [["id", "path"]], "requiredParts": ["path"] };
247
+ function getMonitor(input) {
248
+ return new __Action({
249
+ systemId: "conn_mod_def::GLnP1ol87qY::BE6wL1D9SlCm-GxdeBOtmQ",
250
+ method: "GET",
251
+ path: "/monitors/{{id}}",
252
+ ...__routeInput(input, __getMonitorRouting, { "headers": { "Accept": "application/json" } })
253
+ });
254
+ }
255
+ var __createMonitor2Routing = { "routes": [["metadata", "body"], ["name", "body"], ["outputSchema", "body"], ["search", "body"], ["trigger", "body"], ["webhook", "body"]], "requiredParts": ["body"] };
256
+ function createMonitor2(input) {
257
+ return new __Action({
258
+ systemId: "conn_mod_def::GLnP1o26Hso::gNs6IKgiQmqKlI5LYsfdhw",
259
+ method: "POST",
260
+ path: "/monitors",
261
+ ...__routeInput(input, __createMonitor2Routing, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
262
+ });
263
+ }
264
+ var __deleteMonitor2Routing = { "routes": [["id", "path"]], "requiredParts": ["path"] };
265
+ function deleteMonitor2(input) {
266
+ return new __Action({
267
+ systemId: "conn_mod_def::GLnP1pMjZ9E::5OFP8LxfQD-Izt74ZuYrZg",
268
+ method: "DELETE",
269
+ path: "/websets/v0/monitors/{{id}}",
270
+ ...__routeInput(input, __deleteMonitor2Routing, { "headers": { "Accept": "application/json" } })
271
+ });
272
+ }
273
+ var __triggerMonitorRouting = { "routes": [["id", "path"]], "requiredParts": ["path"] };
274
+ function triggerMonitor(input) {
275
+ return new __Action({
276
+ systemId: "conn_mod_def::GLnP1u6EfG0::ENFViho5RjCv0ipsRfqmog",
277
+ method: "POST",
278
+ path: "/monitors/{{id}}/trigger",
279
+ ...__routeInput(input, __triggerMonitorRouting, { "headers": { "Accept": "application/json" } })
280
+ });
281
+ }
282
+ var __getMonitor2Routing = { "routes": [["id", "path"]], "requiredParts": ["path"] };
283
+ function getMonitor2(input) {
284
+ return new __Action({
285
+ systemId: "conn_mod_def::GLnP1vFKpio::lMVix-qBQ0G4ZPJvDZA63w",
286
+ method: "GET",
287
+ path: "/websets/v0/monitors/{{id}}",
288
+ ...__routeInput(input, __getMonitor2Routing, { "headers": { "Accept": "application/json" } })
289
+ });
290
+ }
291
+ var __listMonitorsRouting = { "routes": [["cursor", "query"], ["limit", "query"], ["websetId", "query"]], "requiredParts": [] };
292
+ function listMonitors(input) {
293
+ return new __Action({
294
+ systemId: "conn_mod_def::GLnP1vNbCsU::8xnN0iGlSt-uzsBS0PjoPg",
295
+ method: "GET",
296
+ path: "/websets/v0/monitors",
297
+ ...__routeInput(input, __listMonitorsRouting, { "headers": { "Accept": "application/json" } })
298
+ });
299
+ }
300
+ var __updateMonitorRouting = { "routes": [["metadata", "body"], ["name", "body"], ["outputSchema", "body"], ["search", "body"], ["status", "body"], ["trigger", "body"], ["webhook", "body"], ["id", "path"]], "requiredParts": ["body", "path"] };
301
+ function updateMonitor(input) {
302
+ return new __Action({
303
+ systemId: "conn_mod_def::GLnP1vVAQc8::iI3h_YjuRY6OBg9mBnI9aw",
304
+ method: "PATCH",
305
+ path: "/monitors/{{id}}",
306
+ ...__routeInput(input, __updateMonitorRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
307
+ });
308
+ }
309
+ var __listMonitors2Routing = { "routes": [["cursor", "query"], ["limit", "query"], ["metadata[key]", "query"], ["name", "query"], ["status", "query"]], "requiredParts": [] };
310
+ function listMonitors2(input) {
311
+ return new __Action({
312
+ systemId: "conn_mod_def::GLnP1v0wbpg::0LT8DJSGRny5OvjeMV2Y1A",
313
+ method: "GET",
314
+ path: "/monitors",
315
+ ...__routeInput(input, __listMonitors2Routing, { "headers": { "Accept": "application/json" } })
316
+ });
317
+ }
318
+ var __updateMonitor2Routing = { "routes": [["behavior", "body"], ["cadence", "body"], ["metadata", "body"], ["status", "body"], ["id", "path"]], "requiredParts": ["body", "path"] };
319
+ function updateMonitor2(input) {
320
+ return new __Action({
321
+ systemId: "conn_mod_def::GLnP13YxBmU::X3S9SWgdSpOxFkoJ6OsI-A",
322
+ method: "PATCH",
323
+ path: "/websets/v0/monitors/{{id}}",
324
+ ...__routeInput(input, __updateMonitor2Routing, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
325
+ });
326
+ }
327
+ var __listMonitorRunsMonitorRouting = { "routes": [["monitor", "path"]], "requiredParts": ["path"] };
328
+ function listMonitorRunsMonitor(input) {
329
+ return new __Action({
330
+ systemId: "conn_mod_def::GLnP14ZarR0::KTMmiiaSQ4WtFuYjvU6cpA",
331
+ method: "GET",
332
+ path: "/websets/v0/monitors/{{monitor}}/runs",
333
+ ...__routeInput(input, __listMonitorRunsMonitorRouting, { "headers": { "Accept": "application/json" } })
334
+ });
335
+ }
336
+ var __getMonitorRunRouting = { "routes": [["id", "path"], ["monitor", "path"]], "requiredParts": ["path"] };
337
+ function getMonitorRun(input) {
338
+ return new __Action({
339
+ systemId: "conn_mod_def::GLnP2HLDUAs::ncuw1EExRZuoloWbCPIHkQ",
340
+ method: "GET",
341
+ path: "/websets/v0/monitors/{{monitor}}/runs/{{id}}",
342
+ ...__routeInput(input, __getMonitorRunRouting, { "headers": { "Accept": "application/json" } })
343
+ });
344
+ }
345
+ var __cancelWebsetSearchRouting = { "routes": [["id", "path"], ["webset", "path"]], "requiredParts": ["path"] };
346
+ function cancelWebsetSearch(input) {
347
+ return new __Action({
348
+ systemId: "conn_mod_def::GLnP2OKDHSk::0VPelgzyTZmtoavZz9Ux7g",
349
+ method: "POST",
350
+ path: "/websets/v0/websets/{{webset}}/searches/{{id}}/cancel",
351
+ ...__routeInput(input, __cancelWebsetSearchRouting, { "headers": { "Accept": "application/json" } })
352
+ });
353
+ }
354
+ var __createWebsetSearchRouting = { "routes": [["behavior", "body"], ["count", "body"], ["criteria", "body"], ["entity", "body"], ["exclude", "body"], ["maxPeoplePerCompany", "body"], ["metadata", "body"], ["query", "body"], ["recall", "body"], ["scope", "body"], ["webset", "path"]], "requiredParts": ["body", "path"] };
355
+ function createWebsetSearch(input) {
356
+ return new __Action({
357
+ systemId: "conn_mod_def::GLnP2OmQlnk::xWRMlxuMTfe1Z2XLYfoDjg",
358
+ method: "POST",
359
+ path: "/websets/v0/websets/{{webset}}/searches",
360
+ ...__routeInput(input, __createWebsetSearchRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
361
+ });
362
+ }
363
+ var __getMonitorRun2Routing = { "routes": [["id", "path"], ["runId", "path"]], "requiredParts": ["path"] };
364
+ function getMonitorRun2(input) {
365
+ return new __Action({
366
+ systemId: "conn_mod_def::GLnP2O4fGoQ::8E1BHk6yT1e4oLiVjtvDoQ",
367
+ method: "GET",
368
+ path: "/monitors/{{id}}/runs/{{runId}}",
369
+ ...__routeInput(input, __getMonitorRun2Routing, { "headers": { "Accept": "application/json" } })
370
+ });
371
+ }
372
+ var __listMonitorsRunsRouting = { "routes": [["id", "path"], ["cursor", "query"], ["limit", "query"]], "requiredParts": ["path"] };
373
+ function listMonitorsRuns(input) {
374
+ return new __Action({
375
+ systemId: "conn_mod_def::GLnP3CJzKLo::nbYKoop-RUad-yxP2npcKA",
376
+ method: "GET",
377
+ path: "/monitors/{{id}}/runs",
378
+ ...__routeInput(input, __listMonitorsRunsRouting, { "headers": { "Accept": "application/json" } })
379
+ });
380
+ }
381
+ var __getWebsetSearchIdRouting = { "routes": [["id", "path"], ["webset", "path"]], "requiredParts": ["path"] };
382
+ function getWebsetSearchId(input) {
383
+ return new __Action({
384
+ systemId: "conn_mod_def::GLnP3KQQPqg::dY30H_1_QrW-Z2MgHcnCZA",
385
+ method: "GET",
386
+ path: "/websets/v0/websets/{{webset}}/searches/{{id}}",
387
+ ...__routeInput(input, __getWebsetSearchIdRouting, { "headers": { "Accept": "application/json" } })
388
+ });
389
+ }
390
+ var __createWebhookRouting = { "routes": [["events", "body"], ["metadata", "body"], ["url", "body"]], "requiredParts": ["body"] };
391
+ function createWebhook(input) {
392
+ return new __Action({
393
+ systemId: "conn_mod_def::GLnP3d4721U::fnUetBLjQ62d9ahBHquczQ",
394
+ method: "POST",
395
+ path: "/websets/v0/webhooks",
396
+ ...__routeInput(input, __createWebhookRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
397
+ });
398
+ }
399
+ var __deleteWebhookRouting = { "routes": [["id", "path"]], "requiredParts": ["path"] };
400
+ function deleteWebhook(input) {
401
+ return new __Action({
402
+ systemId: "conn_mod_def::GLnP3gUnpx0::PPKRC3-tT3C32aJYfhG9Xw",
403
+ method: "DELETE",
404
+ path: "/websets/v0/webhooks/{{id}}",
405
+ ...__routeInput(input, __deleteWebhookRouting, { "headers": { "Accept": "application/json" } })
406
+ });
407
+ }
408
+ var __getTeamInfoRouting = { "routes": [], "requiredParts": [] };
409
+ function getTeamInfo(input) {
410
+ return new __Action({
411
+ systemId: "conn_mod_def::GLnP3i_kitE::7Okn3iieRniq-_Du7NjiOg",
412
+ method: "GET",
413
+ path: "/websets/v0/teams/me",
414
+ ...__routeInput(input, __getTeamInfoRouting, { "headers": { "Accept": "application/json" } })
415
+ });
416
+ }
417
+ var __updateWebhookRouting = { "routes": [["events", "body"], ["metadata", "body"], ["url", "body"], ["id", "path"]], "requiredParts": ["body", "path"] };
418
+ function updateWebhook(input) {
419
+ return new __Action({
420
+ systemId: "conn_mod_def::GLnP3pchO2M::ph_EwDIFQDK0bkMx2G2nzQ",
421
+ method: "PATCH",
422
+ path: "/websets/v0/webhooks/{{id}}",
423
+ ...__routeInput(input, __updateWebhookRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
424
+ });
425
+ }
426
+ var __getWebhookRouting = { "routes": [["id", "path"]], "requiredParts": ["path"] };
427
+ function getWebhook(input) {
428
+ return new __Action({
429
+ systemId: "conn_mod_def::GLnP3ptGPTc::eMDm5IcVQa6h1P1a5cK0mQ",
430
+ method: "GET",
431
+ path: "/websets/v0/webhooks/{{id}}",
432
+ ...__routeInput(input, __getWebhookRouting, { "headers": { "Accept": "application/json" } })
433
+ });
434
+ }
435
+ var __listWebhooksRouting = { "routes": [["cursor", "query"], ["limit", "query"]], "requiredParts": [] };
436
+ function listWebhooks(input) {
437
+ return new __Action({
438
+ systemId: "conn_mod_def::GLnP3qQRU5Y::MYHFyTG5Ti2zn1K7k8ybtA",
439
+ method: "GET",
440
+ path: "/websets/v0/webhooks",
441
+ ...__routeInput(input, __listWebhooksRouting, { "headers": { "Accept": "application/json" } })
442
+ });
443
+ }
444
+ var __cancelWebsetRouting = { "routes": [["id", "path"]], "requiredParts": ["path"] };
445
+ function cancelWebset(input) {
446
+ return new __Action({
447
+ systemId: "conn_mod_def::GLnP3tBe-dw::GlGhhY1yQiy1Drs3YifMDQ",
448
+ method: "POST",
449
+ path: "/websets/v0/websets/{{id}}/cancel",
450
+ ...__routeInput(input, __cancelWebsetRouting, { "headers": { "Accept": "application/json" } })
451
+ });
452
+ }
453
+ var __listWebhookAttemptsWebhookRouting = { "routes": [["id", "path"], ["cursor", "query"], ["eventType", "query"], ["limit", "query"], ["successful", "query"]], "requiredParts": ["path"] };
454
+ function listWebhookAttemptsWebhook(input) {
455
+ return new __Action({
456
+ systemId: "conn_mod_def::GLnP34U7BTg::IbkYFX3EREKmcqiaqJYNRA",
457
+ method: "GET",
458
+ path: "/websets/v0/webhooks/{{id}}/attempts",
459
+ ...__routeInput(input, __listWebhookAttemptsWebhookRouting, { "headers": { "Accept": "application/json" } })
460
+ });
461
+ }
462
+ var __updateWebsetRouting = { "routes": [["metadata", "body"], ["title", "body"], ["id", "path"]], "requiredParts": ["body", "path"] };
463
+ function updateWebset(input) {
464
+ return new __Action({
465
+ systemId: "conn_mod_def::GLnP3-zl3uk::EZhnpC2aRIm3kepbhtcD_w",
466
+ method: "POST",
467
+ path: "/websets/v0/websets/{{id}}",
468
+ ...__routeInput(input, __updateWebsetRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
469
+ });
470
+ }
471
+ var __createWebsetRouting = { "routes": [["enrichments", "body"], ["exclude", "body"], ["externalId", "body"], ["import", "body"], ["metadata", "body"], ["search", "body"], ["title", "body"]], "requiredParts": ["body"] };
472
+ function createWebset(input) {
473
+ return new __Action({
474
+ systemId: "conn_mod_def::GLnP3_DQW_4::5ZNc91ZbS5WaIH4F6f3CFQ",
475
+ method: "POST",
476
+ path: "/websets/v0/websets",
477
+ ...__routeInput(input, __createWebsetRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
478
+ });
479
+ }
480
+ var __listWebsetsRouting = { "routes": [["cursor", "query"], ["limit", "query"], ["search", "query"]], "requiredParts": [] };
481
+ function listWebsets(input) {
482
+ return new __Action({
483
+ systemId: "conn_mod_def::GLnP3_Neh5Q::2Kj-r2l7TNm2is-NTvSEAw",
484
+ method: "GET",
485
+ path: "/websets/v0/websets",
486
+ ...__routeInput(input, __listWebsetsRouting, { "headers": { "Accept": "application/json" } })
487
+ });
488
+ }
489
+ var __getWebsetRouting = { "routes": [["id", "path"], ["expand", "query"]], "requiredParts": ["path"] };
490
+ function getWebset(input) {
491
+ return new __Action({
492
+ systemId: "conn_mod_def::GLnP3_ylDog::9gJRU45TTguUobKrTkvMLA",
493
+ method: "GET",
494
+ path: "/websets/v0/websets/{{id}}",
495
+ ...__routeInput(input, __getWebsetRouting, { "headers": { "Accept": "application/json" } })
496
+ });
497
+ }
498
+ var __deleteWebsetRouting = { "routes": [["id", "path"]], "requiredParts": ["path"] };
499
+ function deleteWebset(input) {
500
+ return new __Action({
501
+ systemId: "conn_mod_def::GLnP4K7EjyM::0-FE7cPzQveC_Q4TCBTneg",
502
+ method: "DELETE",
503
+ path: "/websets/v0/websets/{{id}}",
504
+ ...__routeInput(input, __deleteWebsetRouting, { "headers": { "Accept": "application/json" } })
505
+ });
506
+ }
507
+ var __previewWebsetRouting = { "routes": [["search", "body"]], "requiredParts": ["body"] };
508
+ function previewWebset(input) {
509
+ return new __Action({
510
+ systemId: "conn_mod_def::GLnP4Ro7w3Q::tfjc6wyLQ72nP4-_FYvAgA",
511
+ method: "POST",
512
+ path: "/websets/v0/websets/preview",
513
+ ...__routeInput(input, __previewWebsetRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
514
+ });
515
+ }
516
+ var __createBatchRouting = { "routes": [["metadata", "body"], ["requests", "body"]], "requiredParts": ["body"] };
517
+ function createBatch(input) {
518
+ return new __Action({
519
+ systemId: "conn_mod_def::GOUVDZxE9jA::kKXELezrRFeAR08uGYVzVA",
520
+ method: "POST",
521
+ path: "/batches",
522
+ ...__routeInput(input, __createBatchRouting, { "headers": { "Content-Type": "application/json", "Exa-Beta": "batches-2026-06-06" } })
523
+ });
524
+ }
525
+ var __stopAgentRunRouting = { "routes": [["id", "path"]], "requiredParts": ["path"] };
526
+ function stopAgentRun(input) {
527
+ return new __Action({
528
+ systemId: "conn_mod_def::GOUVDZ0aBSg::PXiTfvDgQ0CvosyUo6wDzg",
529
+ method: "POST",
530
+ path: "/agent/runs/{{id}}/stop",
531
+ ...__routeInput(input, __stopAgentRunRouting)
532
+ });
533
+ }
534
+ var __cancelBatchRouting = { "routes": [["id", "path"]], "requiredParts": ["path"] };
535
+ function cancelBatch(input) {
536
+ return new __Action({
537
+ systemId: "conn_mod_def::GOUVDadWVfA::yeKvv2lATEWriPlf29tA7A",
538
+ method: "POST",
539
+ path: "/batches/{{id}}/cancel",
540
+ ...__routeInput(input, __cancelBatchRouting, { "headers": { "Exa-Beta": "batches-2026-06-06" } })
541
+ });
542
+ }
543
+ var __getBatchRouting = { "routes": [["id", "path"]], "requiredParts": ["path"] };
544
+ function getBatch(input) {
545
+ return new __Action({
546
+ systemId: "conn_mod_def::GOUVDa18GMA::NqBo1tBzQL62WdIcBgFnyg",
547
+ method: "GET",
548
+ path: "/batches/{{id}}",
549
+ ...__routeInput(input, __getBatchRouting, { "headers": { "Exa-Beta": "batches-2026-06-06" } })
550
+ });
551
+ }
552
+ var __listBatchesRouting = { "routes": [["cursor", "query"], ["limit", "query"], ["status", "query"]], "requiredParts": [] };
553
+ function listBatches(input) {
554
+ return new __Action({
555
+ systemId: "conn_mod_def::GOUVDjzSjgA::APQsS5HuSbWYpL8Q5Xf4ZA",
556
+ method: "GET",
557
+ path: "/batches",
558
+ ...__routeInput(input, __listBatchesRouting, { "headers": { "Exa-Beta": "batches-2026-06-06" } })
559
+ });
560
+ }
561
+ var __deleteBatchRouting = { "routes": [["id", "path"]], "requiredParts": ["path"] };
562
+ function deleteBatch(input) {
563
+ return new __Action({
564
+ systemId: "conn_mod_def::GOUVDatFdig::92Q3zDp9TLeSh8vFYivK4A",
565
+ method: "DELETE",
566
+ path: "/batches/{{id}}",
567
+ ...__routeInput(input, __deleteBatchRouting, { "headers": { "Exa-Beta": "batches-2026-06-06" } })
568
+ });
569
+ }
570
+ export {
571
+ answer,
572
+ batchActionMonitors,
573
+ cancelAgentRun,
574
+ cancelBatch,
575
+ cancelWebset,
576
+ cancelWebsetEnrichment,
577
+ cancelWebsetSearch,
578
+ createAgentRuns,
579
+ createBatch,
580
+ createEnrichmentWebset,
581
+ createImport,
582
+ createMonitor,
583
+ createMonitor2,
584
+ createWebhook,
585
+ createWebset,
586
+ createWebsetSearch,
587
+ deleteAgentRun,
588
+ deleteBatch,
589
+ deleteImport,
590
+ deleteMonitor,
591
+ deleteMonitor2,
592
+ deleteWebhook,
593
+ deleteWebset,
594
+ deleteWebsetEnrichment,
595
+ deleteWebsetItem,
596
+ getBatch,
597
+ getContents,
598
+ getEvent,
599
+ getImport,
600
+ getMonitor,
601
+ getMonitor2,
602
+ getMonitorRun,
603
+ getMonitorRun2,
604
+ getRunUsingAgentRuns,
605
+ getTeamInfo,
606
+ getWebhook,
607
+ getWebset,
608
+ getWebsetEnrichment,
609
+ getWebsetItem,
610
+ getWebsetSearchId,
611
+ listAgentRuns,
612
+ listAgentRunsEvents,
613
+ listAllItemsWebset,
614
+ listBatches,
615
+ listEvents,
616
+ listImports,
617
+ listMonitorRunsMonitor,
618
+ listMonitors,
619
+ listMonitors2,
620
+ listMonitorsRuns,
621
+ listWebhookAttemptsWebhook,
622
+ listWebhooks,
623
+ listWebsets,
624
+ previewWebset,
625
+ search,
626
+ stopAgentRun,
627
+ triggerMonitor,
628
+ updateEnrichmentWebset,
629
+ updateImport,
630
+ updateMonitor,
631
+ updateMonitor2,
632
+ updateWebhook,
633
+ updateWebset
634
+ };