@apicity/simplefunctions 0.5.4 → 0.6.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/README.md +2093 -239
- package/dist/src/index.d.ts +2 -2
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +1 -1
- package/dist/src/index.js.map +1 -1
- package/dist/src/simplefunctions.d.ts.map +1 -1
- package/dist/src/simplefunctions.js +860 -1
- package/dist/src/simplefunctions.js.map +1 -1
- package/dist/src/types.d.ts +379 -2
- package/dist/src/types.d.ts.map +1 -1
- package/dist/src/types.js.map +1 -1
- package/dist/src/zod.d.ts +188 -47
- package/dist/src/zod.d.ts.map +1 -1
- package/dist/src/zod.js +51 -0
- package/dist/src/zod.js.map +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -5,13 +5,13 @@
|
|
|
5
5
|
[](tsconfig.json)
|
|
6
6
|
[](https://docs.simplefunctions.dev/api-reference/public-market-data)
|
|
7
7
|
|
|
8
|
-
SimpleFunctions
|
|
8
|
+
SimpleFunctions analytical, authenticated, and real-time data API provider for prediction-market data.
|
|
9
9
|
|
|
10
|
-
SimpleFunctions exposes two REST surfaces here: analytical Query API calls use `https://simplefunctions.dev`, while real-time market-data calls under `simplefunctions.data.v1.*` use the separate `https://data.simplefunctions.dev/v1` data API base URL. `simplefunctions.api.public.market({ ticker })` mirrors `sf inspect <ticker> --json`; pass `depth: true` for the public orderbook view used by `sf book <ticker> --json`. The current public WebSocket endpoint is `wss://app.simplefunctions.dev/ws`; do not model `wss://data.simplefunctions.dev/v1/ws` as active until upstream routing changes.
|
|
10
|
+
SimpleFunctions exposes two REST surfaces here: analytical Query API calls use `https://simplefunctions.dev`, while real-time market-data calls under `simplefunctions.data.v1.*` use the separate `https://data.simplefunctions.dev/v1` data API base URL. Authenticated dashboard, thesis, portfolio, alerting, tool, and runtime routes also live under `simplefunctions.api.*` on the analytical host. `simplefunctions.api.public.market({ ticker })` mirrors `sf inspect <ticker> --json`; pass `depth: true` for the public orderbook view used by `sf book <ticker> --json`. The current public WebSocket endpoint is `wss://app.simplefunctions.dev/ws`; do not model `wss://data.simplefunctions.dev/v1/ws` as active until upstream routing changes.
|
|
11
11
|
|
|
12
12
|
Runtime dependencies:
|
|
13
13
|
|
|
14
|
-
- `zod@^3.24.0` — request schemas attached to
|
|
14
|
+
- `zod@^3.24.0` — request schemas attached to provider endpoints as `.schema`
|
|
15
15
|
|
|
16
16
|
## Installation
|
|
17
17
|
|
|
@@ -29,9 +29,91 @@ import { createSimpleFunctions } from "@apicity/simplefunctions";
|
|
|
29
29
|
const simplefunctions = createSimpleFunctions({ apiKey: process.env.SIMPLEFUNCTIONS_API_KEY });
|
|
30
30
|
```
|
|
31
31
|
|
|
32
|
+
## Public Market APIs
|
|
33
|
+
|
|
34
|
+
`simplefunctions.api.public.*` mirrors the hosted `/api/public/*`
|
|
35
|
+
surface on `https://simplefunctions.dev`. Most basic reads work without
|
|
36
|
+
an API key. Passing `createSimpleFunctions({ apiKey })` adds the
|
|
37
|
+
`Authorization: Bearer ...` header and may unlock higher rate limits,
|
|
38
|
+
higher model tiers, or user-specific overlays on routes that support
|
|
39
|
+
them.
|
|
40
|
+
|
|
41
|
+
Most public routes are CDN cached with `Cache-Control: public,
|
|
42
|
+
s-maxage=N`; route TTLs vary. Common TTLs are: markets, scan, and
|
|
43
|
+
screen at 60 seconds; query, query-gov, and query-econ at 5-10 minutes
|
|
44
|
+
in memory plus 5 minute CDN stale-while-revalidate; index and regime at
|
|
45
|
+
30 seconds; legislation and congress members at 1 hour ISR.
|
|
46
|
+
|
|
47
|
+
| Group | Methods | Purpose |
|
|
48
|
+
|-------|---------|---------|
|
|
49
|
+
| Markets | `markets`, `newmarkets`, `scan`, `screen`, `screenByTickers`, `search`, `market`, `market.history`, `marketMicrostructureHistory`, `liveTickers`, `market.candles` | Market universe, recently listed markets, keyword/series/market scans, indicator screens, explicit ticker screens, search, detail, history, spread/depth/flow history, live-priced tickers, and OHLCV candles. |
|
|
50
|
+
| Cross-venue | `crossVenue.pairs`, `crossVenue.stats` | Kalshi to Polymarket pairs, pair counts, and confidence distribution. |
|
|
51
|
+
| Regime and index | `regime.scan`, `index`, `index.history`, `calibration` | Current regime labels, SimpleFunctions Index v2 gauges, index history, and calibration. |
|
|
52
|
+
| Probability index | `odds`, `oddsMd` | Liquidity-weighted YES probability snapshot for the `/odds` page, refreshed every 15 minutes; `oddsMd` is the Markdown variant for agents, capped at 500 slugs upstream. |
|
|
53
|
+
| Calendar and milestones | `calendar`, `yieldCurves`, `yieldCurves.event` | Upcoming resolutions and event yield curves. |
|
|
54
|
+
| Liquidity and contagion | `liquidityByTheme`, `contagion` | Liquidity grouped by theme and lagging related markets. |
|
|
55
|
+
| Government data | `queryGov`, `legislation`, `legislation.byBillId`, `congress.members`, `congress.member` | Congress-mirror-backed bill, member, and treaty search plus bill/member detail. |
|
|
56
|
+
| Economic data | `queryEcon`, `fred`, `databento`, `tradMarkets` | FRED-mirror-backed series search, FRED details, Databento traditional markets, and traditional market anchors. |
|
|
57
|
+
| Content | `query`, `topic`, `answer`, `glossary`, `glossary.entry`, `guide`, `highlights`, `briefing`, `diff`, `discuss` | Headline cross-venue search, topic and stable answer data, glossary, agent guide, editorial highlights, briefing, daily diff, and discussion topics. |
|
|
58
|
+
| Skills | `skills`, `skill` | Public skill catalog and one skill by slug. |
|
|
59
|
+
| Theses and opinions | `theses`, `thesis`, `opinions`, `opinions.entry` | Public theses and editorial opinions. |
|
|
60
|
+
| Technicals | `technicals`, `technicals.entry` | Technical guides and one guide by slug. |
|
|
61
|
+
| Ideas | `ideas`, `ideas.byId` | Trade ideas and one idea by id. |
|
|
62
|
+
| Context | `context` | Global market context without thesis payloads. |
|
|
63
|
+
|
|
64
|
+
### Market candles
|
|
65
|
+
|
|
66
|
+
`simplefunctions.api.public.market.candles` is the hosted API mapping for
|
|
67
|
+
the strict `market.candles` SDK/Agent contract. The Vercel API route
|
|
68
|
+
proxies to the terminal/Fly candle service and normalizes the response
|
|
69
|
+
for SDK consumers.
|
|
70
|
+
|
|
71
|
+
```typescript
|
|
72
|
+
const candles = await simplefunctions.api.public.market.candles({
|
|
73
|
+
ticker: "KXRATECUT-26DEC31",
|
|
74
|
+
venue: "kalshi",
|
|
75
|
+
timeframe: "1m",
|
|
76
|
+
limit: 500,
|
|
77
|
+
});
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
| Parameter | Values | Notes |
|
|
81
|
+
|-----------|--------|-------|
|
|
82
|
+
| `venue` | `kalshi`, `polymarket` | Optional. Use it when the ticker or id is ambiguous. |
|
|
83
|
+
| `timeframe` / `tf` | `1m`, `5m`, `15m`, `1h`, `1d` | Default is `1m`. |
|
|
84
|
+
| `limit` | number | Default is 500, max is 2000 upstream. |
|
|
85
|
+
|
|
86
|
+
The probability index routes accept `category`, `band`, and `limit`.
|
|
87
|
+
`band` can be `mid` for probabilities near 50% or `moving` for recently
|
|
88
|
+
shifted questions.
|
|
89
|
+
|
|
90
|
+
`GET /api/public/regime/history` is deprecated and returns `410 Gone`.
|
|
91
|
+
Use `regime.scan` for current regime labels and
|
|
92
|
+
`marketMicrostructureHistory` for spread/depth history.
|
|
93
|
+
|
|
94
|
+
## Authenticated APIs
|
|
95
|
+
|
|
96
|
+
Passing `createSimpleFunctions({ apiKey })` adds
|
|
97
|
+
`Authorization: Bearer ...` to authenticated dashboard, thesis,
|
|
98
|
+
portfolio, alerting, tool, and runtime routes. The CLI-auth and
|
|
99
|
+
session-oriented Market Watch routes can also be called with a custom
|
|
100
|
+
`fetch` implementation that supplies browser/session cookies instead of
|
|
101
|
+
a local API key.
|
|
102
|
+
|
|
103
|
+
| Group | Methods | Purpose |
|
|
104
|
+
|-------|---------|---------|
|
|
105
|
+
| API keys and auth | `api.keys`, `api.keys.create`, `api.keys.delete`, `api.auth.cli.*`, `api.signup` | API-key lifecycle, CLI login handshakes, and signup. |
|
|
106
|
+
| Account | `api.feed`, `api.dashboard.usage` | Authenticated feed and usage telemetry. |
|
|
107
|
+
| Theses | `api.thesis.*` | Create, retrieve, update, fork, evaluate, augment, publish, and attach positions, strategies, videos, or context to private theses. |
|
|
108
|
+
| Portfolio | `api.portfolio.*` | Portfolio state, config, ticks, trades, ledger imports, fills, positions, activity, attribution, risk, views, strategy, secrets, and triggers. |
|
|
109
|
+
| Execution | `api.intents.*`, `api.runtime.exec.*` | Execution-intent lifecycle and runtime execution triggers. |
|
|
110
|
+
| Watch and alerts | `api.watch.*`, `api.alertRules.*`, `api.webhookEndpoints.*`, `api.alertDeliveries.*` | Watch objects, alert rules, webhook endpoints, delivery history, and test/refresh actions. |
|
|
111
|
+
| Tools | `api.contracts.tools`, `api.tools`, `api.skills`, `api.prompt`, `api.mcp.*`, `api.proxy.*` | Tool catalogs, prompt payloads, MCP transport, and raw speech proxy responses. |
|
|
112
|
+
| Market Watch | `api.dashboard2.marketWatchV2`, `api.dashboard2.marketWatch.panels.*` | Session-backed Market Watch dashboard reads and panel CRUD. |
|
|
113
|
+
|
|
32
114
|
## API Reference
|
|
33
115
|
|
|
34
|
-
|
|
116
|
+
188 endpoints across 27 groups. Each method mirrors an upstream URL path.
|
|
35
117
|
|
|
36
118
|
### agent
|
|
37
119
|
|
|
@@ -125,6 +207,162 @@ Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplef
|
|
|
125
207
|
|
|
126
208
|
</details>
|
|
127
209
|
|
|
210
|
+
### alertDeliveries
|
|
211
|
+
|
|
212
|
+
<details>
|
|
213
|
+
<summary><code>GET</code> <b><code>simplefunctions.api.alertDeliveries</code></b></summary>
|
|
214
|
+
|
|
215
|
+
<code>GET https://simplefunctions.dev/api/alert-deliveries{query}</code>
|
|
216
|
+
|
|
217
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/watch-alerts)
|
|
218
|
+
|
|
219
|
+
```typescript
|
|
220
|
+
const res = await simplefunctions.api.alertDeliveries({ /* ... */ });
|
|
221
|
+
```
|
|
222
|
+
|
|
223
|
+
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
224
|
+
|
|
225
|
+
</details>
|
|
226
|
+
|
|
227
|
+
### alertRules
|
|
228
|
+
|
|
229
|
+
<details>
|
|
230
|
+
<summary><code>GET</code> <b><code>simplefunctions.api.alertRules</code></b></summary>
|
|
231
|
+
|
|
232
|
+
<code>GET https://simplefunctions.dev/api/alert-rules{query}</code>
|
|
233
|
+
|
|
234
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/watch-alerts)
|
|
235
|
+
|
|
236
|
+
```typescript
|
|
237
|
+
const res = await simplefunctions.api.alertRules({ /* ... */ });
|
|
238
|
+
```
|
|
239
|
+
|
|
240
|
+
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
241
|
+
|
|
242
|
+
</details>
|
|
243
|
+
|
|
244
|
+
<details>
|
|
245
|
+
<summary><code>POST</code> <b><code>simplefunctions.api.alertRules.create</code></b></summary>
|
|
246
|
+
|
|
247
|
+
<code>POST https://simplefunctions.dev/api/alert-rules</code>
|
|
248
|
+
|
|
249
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/watch-alerts)
|
|
250
|
+
|
|
251
|
+
```typescript
|
|
252
|
+
const res = await simplefunctions.api.alertRules.create({ /* ... */ });
|
|
253
|
+
```
|
|
254
|
+
|
|
255
|
+
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
256
|
+
|
|
257
|
+
</details>
|
|
258
|
+
|
|
259
|
+
<details>
|
|
260
|
+
<summary><code>DELETE</code> <b><code>simplefunctions.api.alertRules</code></b></summary>
|
|
261
|
+
|
|
262
|
+
<code>DELETE https://simplefunctions.dev/api/alert-rules/{id}</code>
|
|
263
|
+
|
|
264
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/watch-alerts)
|
|
265
|
+
|
|
266
|
+
```typescript
|
|
267
|
+
const res = await simplefunctions.api.alertRules({ /* ... */ });
|
|
268
|
+
```
|
|
269
|
+
|
|
270
|
+
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
271
|
+
|
|
272
|
+
</details>
|
|
273
|
+
|
|
274
|
+
<details>
|
|
275
|
+
<summary><code>GET</code> <b><code>simplefunctions.api.alertRules.retrieve</code></b></summary>
|
|
276
|
+
|
|
277
|
+
<code>GET https://simplefunctions.dev/api/alert-rules/{id}</code>
|
|
278
|
+
|
|
279
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/watch-alerts)
|
|
280
|
+
|
|
281
|
+
```typescript
|
|
282
|
+
const res = await simplefunctions.api.alertRules.retrieve({ /* ... */ });
|
|
283
|
+
```
|
|
284
|
+
|
|
285
|
+
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
286
|
+
|
|
287
|
+
</details>
|
|
288
|
+
|
|
289
|
+
<details>
|
|
290
|
+
<summary><code>POST</code> <b><code>simplefunctions.api.alertRules.test</code></b></summary>
|
|
291
|
+
|
|
292
|
+
<code>POST https://simplefunctions.dev/api/alert-rules/{id}/test</code>
|
|
293
|
+
|
|
294
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/watch-alerts)
|
|
295
|
+
|
|
296
|
+
```typescript
|
|
297
|
+
const res = await simplefunctions.api.alertRules.test({ /* ... */ });
|
|
298
|
+
```
|
|
299
|
+
|
|
300
|
+
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
301
|
+
|
|
302
|
+
</details>
|
|
303
|
+
|
|
304
|
+
<details>
|
|
305
|
+
<summary><code>PATCH</code> <b><code>simplefunctions.api.alertRules.update</code></b></summary>
|
|
306
|
+
|
|
307
|
+
<code>PATCH https://simplefunctions.dev/api/alert-rules/{id}</code>
|
|
308
|
+
|
|
309
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/watch-alerts)
|
|
310
|
+
|
|
311
|
+
```typescript
|
|
312
|
+
const res = await simplefunctions.api.alertRules.update({ /* ... */ });
|
|
313
|
+
```
|
|
314
|
+
|
|
315
|
+
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
316
|
+
|
|
317
|
+
</details>
|
|
318
|
+
|
|
319
|
+
### auth
|
|
320
|
+
|
|
321
|
+
<details>
|
|
322
|
+
<summary><code>POST</code> <b><code>simplefunctions.api.auth.cli</code></b></summary>
|
|
323
|
+
|
|
324
|
+
<code>POST https://simplefunctions.dev/api/auth/cli</code>
|
|
325
|
+
|
|
326
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/keys)
|
|
327
|
+
|
|
328
|
+
```typescript
|
|
329
|
+
const res = await simplefunctions.api.auth.cli({ /* ... */ });
|
|
330
|
+
```
|
|
331
|
+
|
|
332
|
+
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
333
|
+
|
|
334
|
+
</details>
|
|
335
|
+
|
|
336
|
+
<details>
|
|
337
|
+
<summary><code>POST</code> <b><code>simplefunctions.api.auth.cli.complete</code></b></summary>
|
|
338
|
+
|
|
339
|
+
<code>POST https://simplefunctions.dev/api/auth/cli/complete</code>
|
|
340
|
+
|
|
341
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/keys)
|
|
342
|
+
|
|
343
|
+
```typescript
|
|
344
|
+
const res = await simplefunctions.api.auth.cli.complete({ /* ... */ });
|
|
345
|
+
```
|
|
346
|
+
|
|
347
|
+
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
348
|
+
|
|
349
|
+
</details>
|
|
350
|
+
|
|
351
|
+
<details>
|
|
352
|
+
<summary><code>GET</code> <b><code>simplefunctions.api.auth.cli.poll</code></b></summary>
|
|
353
|
+
|
|
354
|
+
<code>GET https://simplefunctions.dev/api/auth/cli/poll{query}</code>
|
|
355
|
+
|
|
356
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/keys)
|
|
357
|
+
|
|
358
|
+
```typescript
|
|
359
|
+
const res = await simplefunctions.api.auth.cli.poll({ /* ... */ });
|
|
360
|
+
```
|
|
361
|
+
|
|
362
|
+
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
363
|
+
|
|
364
|
+
</details>
|
|
365
|
+
|
|
128
366
|
### calibration
|
|
129
367
|
|
|
130
368
|
<details>
|
|
@@ -159,6 +397,132 @@ Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplef
|
|
|
159
397
|
|
|
160
398
|
</details>
|
|
161
399
|
|
|
400
|
+
### contracts
|
|
401
|
+
|
|
402
|
+
<details>
|
|
403
|
+
<summary><code>GET</code> <b><code>simplefunctions.api.contracts.tools</code></b></summary>
|
|
404
|
+
|
|
405
|
+
<code>GET https://simplefunctions.dev/api/contracts/tools</code>
|
|
406
|
+
|
|
407
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/contract-tools)
|
|
408
|
+
|
|
409
|
+
```typescript
|
|
410
|
+
const res = await simplefunctions.api.contracts.tools({ /* ... */ });
|
|
411
|
+
```
|
|
412
|
+
|
|
413
|
+
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
414
|
+
|
|
415
|
+
</details>
|
|
416
|
+
|
|
417
|
+
### dashboard
|
|
418
|
+
|
|
419
|
+
<details>
|
|
420
|
+
<summary><code>GET</code> <b><code>simplefunctions.api.dashboard.usage</code></b></summary>
|
|
421
|
+
|
|
422
|
+
<code>GET https://simplefunctions.dev/api/dashboard/usage{query}</code>
|
|
423
|
+
|
|
424
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/account)
|
|
425
|
+
|
|
426
|
+
```typescript
|
|
427
|
+
const res = await simplefunctions.api.dashboard.usage({ /* ... */ });
|
|
428
|
+
```
|
|
429
|
+
|
|
430
|
+
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
431
|
+
|
|
432
|
+
</details>
|
|
433
|
+
|
|
434
|
+
### dashboard2
|
|
435
|
+
|
|
436
|
+
<details>
|
|
437
|
+
<summary><code>POST</code> <b><code>simplefunctions.api.dashboard2.marketWatch.panels.create</code></b></summary>
|
|
438
|
+
|
|
439
|
+
<code>POST https://simplefunctions.dev/api/dashboard2/market-watch/panels</code>
|
|
440
|
+
|
|
441
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/market-watch)
|
|
442
|
+
|
|
443
|
+
```typescript
|
|
444
|
+
const res = await simplefunctions.api.dashboard2.marketWatch.panels.create({ /* ... */ });
|
|
445
|
+
```
|
|
446
|
+
|
|
447
|
+
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
448
|
+
|
|
449
|
+
</details>
|
|
450
|
+
|
|
451
|
+
<details>
|
|
452
|
+
<summary><code>DELETE</code> <b><code>simplefunctions.api.dashboard2.marketWatch.panels</code></b></summary>
|
|
453
|
+
|
|
454
|
+
<code>DELETE https://simplefunctions.dev/api/dashboard2/market-watch/panels/{id}</code>
|
|
455
|
+
|
|
456
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/market-watch)
|
|
457
|
+
|
|
458
|
+
```typescript
|
|
459
|
+
const res = await simplefunctions.api.dashboard2.marketWatch.panels({ /* ... */ });
|
|
460
|
+
```
|
|
461
|
+
|
|
462
|
+
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
463
|
+
|
|
464
|
+
</details>
|
|
465
|
+
|
|
466
|
+
<details>
|
|
467
|
+
<summary><code>POST</code> <b><code>simplefunctions.api.dashboard2.marketWatch.panels.reorder</code></b></summary>
|
|
468
|
+
|
|
469
|
+
<code>POST https://simplefunctions.dev/api/dashboard2/market-watch/panels/reorder</code>
|
|
470
|
+
|
|
471
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/market-watch)
|
|
472
|
+
|
|
473
|
+
```typescript
|
|
474
|
+
const res = await simplefunctions.api.dashboard2.marketWatch.panels.reorder({ /* ... */ });
|
|
475
|
+
```
|
|
476
|
+
|
|
477
|
+
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
478
|
+
|
|
479
|
+
</details>
|
|
480
|
+
|
|
481
|
+
<details>
|
|
482
|
+
<summary><code>POST</code> <b><code>simplefunctions.api.dashboard2.marketWatch.panels</code></b></summary>
|
|
483
|
+
|
|
484
|
+
<code>POST https://simplefunctions.dev/api/dashboard2/market-watch/panels/{id}/run</code>
|
|
485
|
+
|
|
486
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/market-watch)
|
|
487
|
+
|
|
488
|
+
```typescript
|
|
489
|
+
const res = await simplefunctions.api.dashboard2.marketWatch.panels({ /* ... */ });
|
|
490
|
+
```
|
|
491
|
+
|
|
492
|
+
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
493
|
+
|
|
494
|
+
</details>
|
|
495
|
+
|
|
496
|
+
<details>
|
|
497
|
+
<summary><code>PATCH</code> <b><code>simplefunctions.api.dashboard2.marketWatch.panels.update</code></b></summary>
|
|
498
|
+
|
|
499
|
+
<code>PATCH https://simplefunctions.dev/api/dashboard2/market-watch/panels/{id}</code>
|
|
500
|
+
|
|
501
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/market-watch)
|
|
502
|
+
|
|
503
|
+
```typescript
|
|
504
|
+
const res = await simplefunctions.api.dashboard2.marketWatch.panels.update({ /* ... */ });
|
|
505
|
+
```
|
|
506
|
+
|
|
507
|
+
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
508
|
+
|
|
509
|
+
</details>
|
|
510
|
+
|
|
511
|
+
<details>
|
|
512
|
+
<summary><code>GET</code> <b><code>simplefunctions.api.dashboard2.marketWatchV2</code></b></summary>
|
|
513
|
+
|
|
514
|
+
<code>GET https://simplefunctions.dev/api/dashboard2/market-watch-v2{query}</code>
|
|
515
|
+
|
|
516
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/market-watch)
|
|
517
|
+
|
|
518
|
+
```typescript
|
|
519
|
+
const res = await simplefunctions.api.dashboard2.marketWatchV2({ /* ... */ });
|
|
520
|
+
```
|
|
521
|
+
|
|
522
|
+
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
523
|
+
|
|
524
|
+
</details>
|
|
525
|
+
|
|
162
526
|
### data
|
|
163
527
|
|
|
164
528
|
<details>
|
|
@@ -314,46 +678,1529 @@ Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplef
|
|
|
314
678
|
<details>
|
|
315
679
|
<summary><code>GET</code> <b><code>simplefunctions.data.v1.trades</code></b></summary>
|
|
316
680
|
|
|
317
|
-
<code>GET https://data.simplefunctions.dev/v1/trades/{ticker}{query}</code>
|
|
681
|
+
<code>GET https://data.simplefunctions.dev/v1/trades/{ticker}{query}</code>
|
|
682
|
+
|
|
683
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/reference/realtime-data)
|
|
684
|
+
|
|
685
|
+
```typescript
|
|
686
|
+
const res = await simplefunctions.data.v1.trades("KXPRESNOMD-28-GN", { limit: 50 });
|
|
687
|
+
```
|
|
688
|
+
|
|
689
|
+
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
690
|
+
|
|
691
|
+
</details>
|
|
692
|
+
|
|
693
|
+
### edges
|
|
694
|
+
|
|
695
|
+
<details>
|
|
696
|
+
<summary><code>GET</code> <b><code>simplefunctions.api.edges</code></b></summary>
|
|
697
|
+
|
|
698
|
+
<code>GET https://simplefunctions.dev/api/edges{query}</code>
|
|
699
|
+
|
|
700
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/index-regime)
|
|
701
|
+
|
|
702
|
+
```typescript
|
|
703
|
+
const res = await simplefunctions.api.edges({ /* ... */ });
|
|
704
|
+
```
|
|
705
|
+
|
|
706
|
+
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
707
|
+
|
|
708
|
+
</details>
|
|
709
|
+
|
|
710
|
+
### feed
|
|
711
|
+
|
|
712
|
+
<details>
|
|
713
|
+
<summary><code>GET</code> <b><code>simplefunctions.api.feed</code></b></summary>
|
|
714
|
+
|
|
715
|
+
<code>GET https://simplefunctions.dev/api/feed{query}</code>
|
|
716
|
+
|
|
717
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/account)
|
|
718
|
+
|
|
719
|
+
```typescript
|
|
720
|
+
const res = await simplefunctions.api.feed({ /* ... */ });
|
|
721
|
+
```
|
|
722
|
+
|
|
723
|
+
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
724
|
+
|
|
725
|
+
</details>
|
|
726
|
+
|
|
727
|
+
### intents
|
|
728
|
+
|
|
729
|
+
<details>
|
|
730
|
+
<summary><code>GET</code> <b><code>simplefunctions.api.intents</code></b></summary>
|
|
731
|
+
|
|
732
|
+
<code>GET https://simplefunctions.dev/api/intents{query}</code>
|
|
733
|
+
|
|
734
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/execution-intents)
|
|
735
|
+
|
|
736
|
+
```typescript
|
|
737
|
+
const res = await simplefunctions.api.intents({ /* ... */ });
|
|
738
|
+
```
|
|
739
|
+
|
|
740
|
+
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
741
|
+
|
|
742
|
+
</details>
|
|
743
|
+
|
|
744
|
+
<details>
|
|
745
|
+
<summary><code>POST</code> <b><code>simplefunctions.api.intents.create</code></b></summary>
|
|
746
|
+
|
|
747
|
+
<code>POST https://simplefunctions.dev/api/intents</code>
|
|
748
|
+
|
|
749
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/execution-intents)
|
|
750
|
+
|
|
751
|
+
```typescript
|
|
752
|
+
const res = await simplefunctions.api.intents.create({ /* ... */ });
|
|
753
|
+
```
|
|
754
|
+
|
|
755
|
+
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
756
|
+
|
|
757
|
+
</details>
|
|
758
|
+
|
|
759
|
+
<details>
|
|
760
|
+
<summary><code>DELETE</code> <b><code>simplefunctions.api.intents</code></b></summary>
|
|
761
|
+
|
|
762
|
+
<code>DELETE https://simplefunctions.dev/api/intents/{id}</code>
|
|
763
|
+
|
|
764
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/execution-intents)
|
|
765
|
+
|
|
766
|
+
```typescript
|
|
767
|
+
const res = await simplefunctions.api.intents({ /* ... */ });
|
|
768
|
+
```
|
|
769
|
+
|
|
770
|
+
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
771
|
+
|
|
772
|
+
</details>
|
|
773
|
+
|
|
774
|
+
<details>
|
|
775
|
+
<summary><code>GET</code> <b><code>simplefunctions.api.intents.retrieve</code></b></summary>
|
|
776
|
+
|
|
777
|
+
<code>GET https://simplefunctions.dev/api/intents/{id}</code>
|
|
778
|
+
|
|
779
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/execution-intents)
|
|
780
|
+
|
|
781
|
+
```typescript
|
|
782
|
+
const res = await simplefunctions.api.intents.retrieve({ /* ... */ });
|
|
783
|
+
```
|
|
784
|
+
|
|
785
|
+
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
786
|
+
|
|
787
|
+
</details>
|
|
788
|
+
|
|
789
|
+
<details>
|
|
790
|
+
<summary><code>PATCH</code> <b><code>simplefunctions.api.intents.update</code></b></summary>
|
|
791
|
+
|
|
792
|
+
<code>PATCH https://simplefunctions.dev/api/intents/{id}</code>
|
|
793
|
+
|
|
794
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/execution-intents)
|
|
795
|
+
|
|
796
|
+
```typescript
|
|
797
|
+
const res = await simplefunctions.api.intents.update({ /* ... */ });
|
|
798
|
+
```
|
|
799
|
+
|
|
800
|
+
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
801
|
+
|
|
802
|
+
</details>
|
|
803
|
+
|
|
804
|
+
### keys
|
|
805
|
+
|
|
806
|
+
<details>
|
|
807
|
+
<summary><code>GET</code> <b><code>simplefunctions.api.keys</code></b></summary>
|
|
808
|
+
|
|
809
|
+
<code>GET https://simplefunctions.dev/api/keys{query}</code>
|
|
810
|
+
|
|
811
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/keys)
|
|
812
|
+
|
|
813
|
+
```typescript
|
|
814
|
+
const res = await simplefunctions.api.keys({ /* ... */ });
|
|
815
|
+
```
|
|
816
|
+
|
|
817
|
+
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
818
|
+
|
|
819
|
+
</details>
|
|
820
|
+
|
|
821
|
+
<details>
|
|
822
|
+
<summary><code>POST</code> <b><code>simplefunctions.api.keys.create</code></b></summary>
|
|
823
|
+
|
|
824
|
+
<code>POST https://simplefunctions.dev/api/keys</code>
|
|
825
|
+
|
|
826
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/keys)
|
|
827
|
+
|
|
828
|
+
```typescript
|
|
829
|
+
const res = await simplefunctions.api.keys.create({ /* ... */ });
|
|
830
|
+
```
|
|
831
|
+
|
|
832
|
+
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
833
|
+
|
|
834
|
+
</details>
|
|
835
|
+
|
|
836
|
+
<details>
|
|
837
|
+
<summary><code>DELETE</code> <b><code>simplefunctions.api.keys</code></b></summary>
|
|
838
|
+
|
|
839
|
+
<code>DELETE https://simplefunctions.dev/api/keys/{id}</code>
|
|
840
|
+
|
|
841
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/keys)
|
|
842
|
+
|
|
843
|
+
```typescript
|
|
844
|
+
const res = await simplefunctions.api.keys({ /* ... */ });
|
|
845
|
+
```
|
|
846
|
+
|
|
847
|
+
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
848
|
+
|
|
849
|
+
</details>
|
|
850
|
+
|
|
851
|
+
### mcp
|
|
852
|
+
|
|
853
|
+
<details>
|
|
854
|
+
<summary><code>GET</code> <b><code>simplefunctions.api.mcp</code></b></summary>
|
|
855
|
+
|
|
856
|
+
<code>GET https://simplefunctions.dev/api/mcp/{transport}</code>
|
|
857
|
+
|
|
858
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/tools)
|
|
859
|
+
|
|
860
|
+
```typescript
|
|
861
|
+
const res = await simplefunctions.api.mcp({ /* ... */ });
|
|
862
|
+
```
|
|
863
|
+
|
|
864
|
+
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
865
|
+
|
|
866
|
+
</details>
|
|
867
|
+
|
|
868
|
+
<details>
|
|
869
|
+
<summary><code>POST</code> <b><code>simplefunctions.api.mcp.call</code></b></summary>
|
|
870
|
+
|
|
871
|
+
<code>POST https://simplefunctions.dev/api/mcp/{transport}</code>
|
|
872
|
+
|
|
873
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/tools)
|
|
874
|
+
|
|
875
|
+
```typescript
|
|
876
|
+
const res = await simplefunctions.api.mcp.call({ /* ... */ });
|
|
877
|
+
```
|
|
878
|
+
|
|
879
|
+
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
880
|
+
|
|
881
|
+
</details>
|
|
882
|
+
|
|
883
|
+
### portfolio
|
|
884
|
+
|
|
885
|
+
<details>
|
|
886
|
+
<summary><code>GET</code> <b><code>simplefunctions.api.portfolio.activity</code></b></summary>
|
|
887
|
+
|
|
888
|
+
<code>GET https://simplefunctions.dev/api/portfolio/activity{query}</code>
|
|
889
|
+
|
|
890
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/portfolio)
|
|
891
|
+
|
|
892
|
+
```typescript
|
|
893
|
+
const res = await simplefunctions.api.portfolio.activity({ /* ... */ });
|
|
894
|
+
```
|
|
895
|
+
|
|
896
|
+
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
897
|
+
|
|
898
|
+
</details>
|
|
899
|
+
|
|
900
|
+
<details>
|
|
901
|
+
<summary><code>GET</code> <b><code>simplefunctions.api.portfolio.attribution.daily</code></b></summary>
|
|
902
|
+
|
|
903
|
+
<code>GET https://simplefunctions.dev/api/portfolio/attribution/daily{query}</code>
|
|
904
|
+
|
|
905
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/portfolio)
|
|
906
|
+
|
|
907
|
+
```typescript
|
|
908
|
+
const res = await simplefunctions.api.portfolio.attribution.daily({ /* ... */ });
|
|
909
|
+
```
|
|
910
|
+
|
|
911
|
+
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
912
|
+
|
|
913
|
+
</details>
|
|
914
|
+
|
|
915
|
+
<details>
|
|
916
|
+
<summary><code>GET</code> <b><code>simplefunctions.api.portfolio.attribution.grouped</code></b></summary>
|
|
917
|
+
|
|
918
|
+
<code>GET https://simplefunctions.dev/api/portfolio/attribution/grouped{query}</code>
|
|
919
|
+
|
|
920
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/portfolio)
|
|
921
|
+
|
|
922
|
+
```typescript
|
|
923
|
+
const res = await simplefunctions.api.portfolio.attribution.grouped({ /* ... */ });
|
|
924
|
+
```
|
|
925
|
+
|
|
926
|
+
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
927
|
+
|
|
928
|
+
</details>
|
|
929
|
+
|
|
930
|
+
<details>
|
|
931
|
+
<summary><code>GET</code> <b><code>simplefunctions.api.portfolio.config</code></b></summary>
|
|
932
|
+
|
|
933
|
+
<code>GET https://simplefunctions.dev/api/portfolio/config</code>
|
|
934
|
+
|
|
935
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/portfolio)
|
|
936
|
+
|
|
937
|
+
```typescript
|
|
938
|
+
const res = await simplefunctions.api.portfolio.config({ /* ... */ });
|
|
939
|
+
```
|
|
940
|
+
|
|
941
|
+
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
942
|
+
|
|
943
|
+
</details>
|
|
944
|
+
|
|
945
|
+
<details>
|
|
946
|
+
<summary><code>PUT</code> <b><code>simplefunctions.api.portfolio.config.update</code></b></summary>
|
|
947
|
+
|
|
948
|
+
<code>PUT https://simplefunctions.dev/api/portfolio/config{query}</code>
|
|
949
|
+
|
|
950
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/portfolio)
|
|
951
|
+
|
|
952
|
+
```typescript
|
|
953
|
+
const res = await simplefunctions.api.portfolio.config.update({ /* ... */ });
|
|
954
|
+
```
|
|
955
|
+
|
|
956
|
+
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
957
|
+
|
|
958
|
+
</details>
|
|
959
|
+
|
|
960
|
+
<details>
|
|
961
|
+
<summary><code>GET</code> <b><code>simplefunctions.api.portfolio.fills</code></b></summary>
|
|
962
|
+
|
|
963
|
+
<code>GET https://simplefunctions.dev/api/portfolio/fills{query}</code>
|
|
964
|
+
|
|
965
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/portfolio)
|
|
966
|
+
|
|
967
|
+
```typescript
|
|
968
|
+
const res = await simplefunctions.api.portfolio.fills({ /* ... */ });
|
|
969
|
+
```
|
|
970
|
+
|
|
971
|
+
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
972
|
+
|
|
973
|
+
</details>
|
|
974
|
+
|
|
975
|
+
<details>
|
|
976
|
+
<summary><code>GET</code> <b><code>simplefunctions.api.portfolio.ledger</code></b></summary>
|
|
977
|
+
|
|
978
|
+
<code>GET https://simplefunctions.dev/api/portfolio/ledger{query}</code>
|
|
979
|
+
|
|
980
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/portfolio)
|
|
981
|
+
|
|
982
|
+
```typescript
|
|
983
|
+
const res = await simplefunctions.api.portfolio.ledger({ /* ... */ });
|
|
984
|
+
```
|
|
985
|
+
|
|
986
|
+
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
987
|
+
|
|
988
|
+
</details>
|
|
989
|
+
|
|
990
|
+
<details>
|
|
991
|
+
<summary><code>POST</code> <b><code>simplefunctions.api.portfolio.ledger.import.kalshi</code></b></summary>
|
|
992
|
+
|
|
993
|
+
<code>POST https://simplefunctions.dev/api/portfolio/ledger/import/kalshi{query}</code>
|
|
994
|
+
|
|
995
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/portfolio)
|
|
996
|
+
|
|
997
|
+
```typescript
|
|
998
|
+
const res = await simplefunctions.api.portfolio.ledger.import.kalshi({ /* ... */ });
|
|
999
|
+
```
|
|
1000
|
+
|
|
1001
|
+
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
1002
|
+
|
|
1003
|
+
</details>
|
|
1004
|
+
|
|
1005
|
+
<details>
|
|
1006
|
+
<summary><code>POST</code> <b><code>simplefunctions.api.portfolio.ledger.import.kalshi.pull</code></b></summary>
|
|
1007
|
+
|
|
1008
|
+
<code>POST https://simplefunctions.dev/api/portfolio/ledger/import/kalshi/pull{query}</code>
|
|
1009
|
+
|
|
1010
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/portfolio)
|
|
1011
|
+
|
|
1012
|
+
```typescript
|
|
1013
|
+
const res = await simplefunctions.api.portfolio.ledger.import.kalshi.pull({ /* ... */ });
|
|
1014
|
+
```
|
|
1015
|
+
|
|
1016
|
+
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
1017
|
+
|
|
1018
|
+
</details>
|
|
1019
|
+
|
|
1020
|
+
<details>
|
|
1021
|
+
<summary><code>POST</code> <b><code>simplefunctions.api.portfolio.ledger.import.polymarket</code></b></summary>
|
|
1022
|
+
|
|
1023
|
+
<code>POST https://simplefunctions.dev/api/portfolio/ledger/import/polymarket{query}</code>
|
|
1024
|
+
|
|
1025
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/portfolio)
|
|
1026
|
+
|
|
1027
|
+
```typescript
|
|
1028
|
+
const res = await simplefunctions.api.portfolio.ledger.import.polymarket({ /* ... */ });
|
|
1029
|
+
```
|
|
1030
|
+
|
|
1031
|
+
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
1032
|
+
|
|
1033
|
+
</details>
|
|
1034
|
+
|
|
1035
|
+
<details>
|
|
1036
|
+
<summary><code>GET</code> <b><code>simplefunctions.api.portfolio.positions</code></b></summary>
|
|
1037
|
+
|
|
1038
|
+
<code>GET https://simplefunctions.dev/api/portfolio/positions{query}</code>
|
|
1039
|
+
|
|
1040
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/portfolio)
|
|
1041
|
+
|
|
1042
|
+
```typescript
|
|
1043
|
+
const res = await simplefunctions.api.portfolio.positions({ /* ... */ });
|
|
1044
|
+
```
|
|
1045
|
+
|
|
1046
|
+
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
1047
|
+
|
|
1048
|
+
</details>
|
|
1049
|
+
|
|
1050
|
+
<details>
|
|
1051
|
+
<summary><code>GET</code> <b><code>simplefunctions.api.portfolio.risk</code></b></summary>
|
|
1052
|
+
|
|
1053
|
+
<code>GET https://simplefunctions.dev/api/portfolio/risk{query}</code>
|
|
1054
|
+
|
|
1055
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/portfolio)
|
|
1056
|
+
|
|
1057
|
+
```typescript
|
|
1058
|
+
const res = await simplefunctions.api.portfolio.risk({ /* ... */ });
|
|
1059
|
+
```
|
|
1060
|
+
|
|
1061
|
+
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
1062
|
+
|
|
1063
|
+
</details>
|
|
1064
|
+
|
|
1065
|
+
<details>
|
|
1066
|
+
<summary><code>POST</code> <b><code>simplefunctions.api.portfolio.secrets.create</code></b></summary>
|
|
1067
|
+
|
|
1068
|
+
<code>POST https://simplefunctions.dev/api/portfolio/secrets{query}</code>
|
|
1069
|
+
|
|
1070
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/portfolio)
|
|
1071
|
+
|
|
1072
|
+
```typescript
|
|
1073
|
+
const res = await simplefunctions.api.portfolio.secrets.create({ /* ... */ });
|
|
1074
|
+
```
|
|
1075
|
+
|
|
1076
|
+
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
1077
|
+
|
|
1078
|
+
</details>
|
|
1079
|
+
|
|
1080
|
+
<details>
|
|
1081
|
+
<summary><code>DELETE</code> <b><code>simplefunctions.api.portfolio.secrets</code></b></summary>
|
|
1082
|
+
|
|
1083
|
+
<code>DELETE https://simplefunctions.dev/api/portfolio/secrets{query}</code>
|
|
1084
|
+
|
|
1085
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/portfolio)
|
|
1086
|
+
|
|
1087
|
+
```typescript
|
|
1088
|
+
const res = await simplefunctions.api.portfolio.secrets({ /* ... */ });
|
|
1089
|
+
```
|
|
1090
|
+
|
|
1091
|
+
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
1092
|
+
|
|
1093
|
+
</details>
|
|
1094
|
+
|
|
1095
|
+
<details>
|
|
1096
|
+
<summary><code>GET</code> <b><code>simplefunctions.api.portfolio.state</code></b></summary>
|
|
1097
|
+
|
|
1098
|
+
<code>GET https://simplefunctions.dev/api/portfolio/state</code>
|
|
1099
|
+
|
|
1100
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/portfolio)
|
|
1101
|
+
|
|
1102
|
+
```typescript
|
|
1103
|
+
const res = await simplefunctions.api.portfolio.state({ /* ... */ });
|
|
1104
|
+
```
|
|
1105
|
+
|
|
1106
|
+
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
1107
|
+
|
|
1108
|
+
</details>
|
|
1109
|
+
|
|
1110
|
+
<details>
|
|
1111
|
+
<summary><code>PUT</code> <b><code>simplefunctions.api.portfolio.state.update</code></b></summary>
|
|
1112
|
+
|
|
1113
|
+
<code>PUT https://simplefunctions.dev/api/portfolio/state{query}</code>
|
|
1114
|
+
|
|
1115
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/portfolio)
|
|
1116
|
+
|
|
1117
|
+
```typescript
|
|
1118
|
+
const res = await simplefunctions.api.portfolio.state.update({ /* ... */ });
|
|
1119
|
+
```
|
|
1120
|
+
|
|
1121
|
+
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
1122
|
+
|
|
1123
|
+
</details>
|
|
1124
|
+
|
|
1125
|
+
<details>
|
|
1126
|
+
<summary><code>GET</code> <b><code>simplefunctions.api.portfolio.strategy</code></b></summary>
|
|
1127
|
+
|
|
1128
|
+
<code>GET https://simplefunctions.dev/api/portfolio/strategy{query}</code>
|
|
1129
|
+
|
|
1130
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/portfolio)
|
|
1131
|
+
|
|
1132
|
+
```typescript
|
|
1133
|
+
const res = await simplefunctions.api.portfolio.strategy({ /* ... */ });
|
|
1134
|
+
```
|
|
1135
|
+
|
|
1136
|
+
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
1137
|
+
|
|
1138
|
+
</details>
|
|
1139
|
+
|
|
1140
|
+
<details>
|
|
1141
|
+
<summary><code>POST</code> <b><code>simplefunctions.api.portfolio.strategy.create</code></b></summary>
|
|
1142
|
+
|
|
1143
|
+
<code>POST https://simplefunctions.dev/api/portfolio/strategy{query}</code>
|
|
1144
|
+
|
|
1145
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/portfolio)
|
|
1146
|
+
|
|
1147
|
+
```typescript
|
|
1148
|
+
const res = await simplefunctions.api.portfolio.strategy.create({ /* ... */ });
|
|
1149
|
+
```
|
|
1150
|
+
|
|
1151
|
+
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
1152
|
+
|
|
1153
|
+
</details>
|
|
1154
|
+
|
|
1155
|
+
<details>
|
|
1156
|
+
<summary><code>DELETE</code> <b><code>simplefunctions.api.portfolio.strategy</code></b></summary>
|
|
1157
|
+
|
|
1158
|
+
<code>DELETE https://simplefunctions.dev/api/portfolio/strategy{query}</code>
|
|
1159
|
+
|
|
1160
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/portfolio)
|
|
1161
|
+
|
|
1162
|
+
```typescript
|
|
1163
|
+
const res = await simplefunctions.api.portfolio.strategy({ /* ... */ });
|
|
1164
|
+
```
|
|
1165
|
+
|
|
1166
|
+
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
1167
|
+
|
|
1168
|
+
</details>
|
|
1169
|
+
|
|
1170
|
+
<details>
|
|
1171
|
+
<summary><code>PUT</code> <b><code>simplefunctions.api.portfolio.strategy.update</code></b></summary>
|
|
1172
|
+
|
|
1173
|
+
<code>PUT https://simplefunctions.dev/api/portfolio/strategy{query}</code>
|
|
1174
|
+
|
|
1175
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/portfolio)
|
|
1176
|
+
|
|
1177
|
+
```typescript
|
|
1178
|
+
const res = await simplefunctions.api.portfolio.strategy.update({ /* ... */ });
|
|
1179
|
+
```
|
|
1180
|
+
|
|
1181
|
+
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
1182
|
+
|
|
1183
|
+
</details>
|
|
1184
|
+
|
|
1185
|
+
<details>
|
|
1186
|
+
<summary><code>GET</code> <b><code>simplefunctions.api.portfolio.ticks</code></b></summary>
|
|
1187
|
+
|
|
1188
|
+
<code>GET https://simplefunctions.dev/api/portfolio/ticks{query}</code>
|
|
1189
|
+
|
|
1190
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/portfolio)
|
|
1191
|
+
|
|
1192
|
+
```typescript
|
|
1193
|
+
const res = await simplefunctions.api.portfolio.ticks({ /* ... */ });
|
|
1194
|
+
```
|
|
1195
|
+
|
|
1196
|
+
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
1197
|
+
|
|
1198
|
+
</details>
|
|
1199
|
+
|
|
1200
|
+
<details>
|
|
1201
|
+
<summary><code>POST</code> <b><code>simplefunctions.api.portfolio.ticks.create</code></b></summary>
|
|
1202
|
+
|
|
1203
|
+
<code>POST https://simplefunctions.dev/api/portfolio/ticks{query}</code>
|
|
1204
|
+
|
|
1205
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/portfolio)
|
|
1206
|
+
|
|
1207
|
+
```typescript
|
|
1208
|
+
const res = await simplefunctions.api.portfolio.ticks.create({ /* ... */ });
|
|
1209
|
+
```
|
|
1210
|
+
|
|
1211
|
+
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
1212
|
+
|
|
1213
|
+
</details>
|
|
1214
|
+
|
|
1215
|
+
<details>
|
|
1216
|
+
<summary><code>GET</code> <b><code>simplefunctions.api.portfolio.ticks.retrieve</code></b></summary>
|
|
1217
|
+
|
|
1218
|
+
<code>GET https://simplefunctions.dev/api/portfolio/ticks/{id}</code>
|
|
1219
|
+
|
|
1220
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/portfolio)
|
|
1221
|
+
|
|
1222
|
+
```typescript
|
|
1223
|
+
const res = await simplefunctions.api.portfolio.ticks.retrieve({ /* ... */ });
|
|
1224
|
+
```
|
|
1225
|
+
|
|
1226
|
+
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
1227
|
+
|
|
1228
|
+
</details>
|
|
1229
|
+
|
|
1230
|
+
<details>
|
|
1231
|
+
<summary><code>GET</code> <b><code>simplefunctions.api.portfolio.trades</code></b></summary>
|
|
1232
|
+
|
|
1233
|
+
<code>GET https://simplefunctions.dev/api/portfolio/trades{query}</code>
|
|
1234
|
+
|
|
1235
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/portfolio)
|
|
1236
|
+
|
|
1237
|
+
```typescript
|
|
1238
|
+
const res = await simplefunctions.api.portfolio.trades({ /* ... */ });
|
|
1239
|
+
```
|
|
1240
|
+
|
|
1241
|
+
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
1242
|
+
|
|
1243
|
+
</details>
|
|
1244
|
+
|
|
1245
|
+
<details>
|
|
1246
|
+
<summary><code>POST</code> <b><code>simplefunctions.api.portfolio.trades.create</code></b></summary>
|
|
1247
|
+
|
|
1248
|
+
<code>POST https://simplefunctions.dev/api/portfolio/trades{query}</code>
|
|
1249
|
+
|
|
1250
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/portfolio)
|
|
1251
|
+
|
|
1252
|
+
```typescript
|
|
1253
|
+
const res = await simplefunctions.api.portfolio.trades.create({ /* ... */ });
|
|
1254
|
+
```
|
|
1255
|
+
|
|
1256
|
+
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
1257
|
+
|
|
1258
|
+
</details>
|
|
1259
|
+
|
|
1260
|
+
<details>
|
|
1261
|
+
<summary><code>GET</code> <b><code>simplefunctions.api.portfolio.trades.retrieve</code></b></summary>
|
|
1262
|
+
|
|
1263
|
+
<code>GET https://simplefunctions.dev/api/portfolio/trades/{id}</code>
|
|
1264
|
+
|
|
1265
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/portfolio)
|
|
1266
|
+
|
|
1267
|
+
```typescript
|
|
1268
|
+
const res = await simplefunctions.api.portfolio.trades.retrieve({ /* ... */ });
|
|
1269
|
+
```
|
|
1270
|
+
|
|
1271
|
+
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
1272
|
+
|
|
1273
|
+
</details>
|
|
1274
|
+
|
|
1275
|
+
<details>
|
|
1276
|
+
<summary><code>POST</code> <b><code>simplefunctions.api.portfolio.trigger</code></b></summary>
|
|
1277
|
+
|
|
1278
|
+
<code>POST https://simplefunctions.dev/api/portfolio/trigger{query}</code>
|
|
1279
|
+
|
|
1280
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/portfolio)
|
|
1281
|
+
|
|
1282
|
+
```typescript
|
|
1283
|
+
const res = await simplefunctions.api.portfolio.trigger({ /* ... */ });
|
|
1284
|
+
```
|
|
1285
|
+
|
|
1286
|
+
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
1287
|
+
|
|
1288
|
+
</details>
|
|
1289
|
+
|
|
1290
|
+
<details>
|
|
1291
|
+
<summary><code>GET</code> <b><code>simplefunctions.api.portfolio.views</code></b></summary>
|
|
1292
|
+
|
|
1293
|
+
<code>GET https://simplefunctions.dev/api/portfolio/views{query}</code>
|
|
1294
|
+
|
|
1295
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/portfolio)
|
|
1296
|
+
|
|
1297
|
+
```typescript
|
|
1298
|
+
const res = await simplefunctions.api.portfolio.views({ /* ... */ });
|
|
1299
|
+
```
|
|
1300
|
+
|
|
1301
|
+
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
1302
|
+
|
|
1303
|
+
</details>
|
|
1304
|
+
|
|
1305
|
+
<details>
|
|
1306
|
+
<summary><code>POST</code> <b><code>simplefunctions.api.portfolio.views.create</code></b></summary>
|
|
1307
|
+
|
|
1308
|
+
<code>POST https://simplefunctions.dev/api/portfolio/views{query}</code>
|
|
1309
|
+
|
|
1310
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/portfolio)
|
|
1311
|
+
|
|
1312
|
+
```typescript
|
|
1313
|
+
const res = await simplefunctions.api.portfolio.views.create({ /* ... */ });
|
|
1314
|
+
```
|
|
1315
|
+
|
|
1316
|
+
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
1317
|
+
|
|
1318
|
+
</details>
|
|
1319
|
+
|
|
1320
|
+
<details>
|
|
1321
|
+
<summary><code>DELETE</code> <b><code>simplefunctions.api.portfolio.views</code></b></summary>
|
|
1322
|
+
|
|
1323
|
+
<code>DELETE https://simplefunctions.dev/api/portfolio/views{query}</code>
|
|
1324
|
+
|
|
1325
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/portfolio)
|
|
1326
|
+
|
|
1327
|
+
```typescript
|
|
1328
|
+
const res = await simplefunctions.api.portfolio.views({ /* ... */ });
|
|
1329
|
+
```
|
|
1330
|
+
|
|
1331
|
+
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
1332
|
+
|
|
1333
|
+
</details>
|
|
1334
|
+
|
|
1335
|
+
<details>
|
|
1336
|
+
<summary><code>PUT</code> <b><code>simplefunctions.api.portfolio.views.update</code></b></summary>
|
|
1337
|
+
|
|
1338
|
+
<code>PUT https://simplefunctions.dev/api/portfolio/views{query}</code>
|
|
1339
|
+
|
|
1340
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/portfolio)
|
|
1341
|
+
|
|
1342
|
+
```typescript
|
|
1343
|
+
const res = await simplefunctions.api.portfolio.views.update({ /* ... */ });
|
|
1344
|
+
```
|
|
1345
|
+
|
|
1346
|
+
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
1347
|
+
|
|
1348
|
+
</details>
|
|
1349
|
+
|
|
1350
|
+
### prompt
|
|
1351
|
+
|
|
1352
|
+
<details>
|
|
1353
|
+
<summary><code>GET</code> <b><code>simplefunctions.api.prompt</code></b></summary>
|
|
1354
|
+
|
|
1355
|
+
<code>GET https://simplefunctions.dev/api/prompt</code>
|
|
1356
|
+
|
|
1357
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/tools)
|
|
1358
|
+
|
|
1359
|
+
```typescript
|
|
1360
|
+
const res = await simplefunctions.api.prompt({ /* ... */ });
|
|
1361
|
+
```
|
|
1362
|
+
|
|
1363
|
+
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
1364
|
+
|
|
1365
|
+
</details>
|
|
1366
|
+
|
|
1367
|
+
### proxy
|
|
1368
|
+
|
|
1369
|
+
<details>
|
|
1370
|
+
<summary><code>POST</code> <b><code>simplefunctions.api.proxy.stt</code></b></summary>
|
|
1371
|
+
|
|
1372
|
+
<code>POST https://simplefunctions.dev/api/proxy/stt</code>
|
|
1373
|
+
|
|
1374
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/tools)
|
|
1375
|
+
|
|
1376
|
+
```typescript
|
|
1377
|
+
const res = await simplefunctions.api.proxy.stt({ /* ... */ });
|
|
1378
|
+
```
|
|
1379
|
+
|
|
1380
|
+
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
1381
|
+
|
|
1382
|
+
</details>
|
|
1383
|
+
|
|
1384
|
+
<details>
|
|
1385
|
+
<summary><code>POST</code> <b><code>simplefunctions.api.proxy.tts</code></b></summary>
|
|
1386
|
+
|
|
1387
|
+
<code>POST https://simplefunctions.dev/api/proxy/tts</code>
|
|
1388
|
+
|
|
1389
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/tools)
|
|
1390
|
+
|
|
1391
|
+
```typescript
|
|
1392
|
+
const res = await simplefunctions.api.proxy.tts({ /* ... */ });
|
|
1393
|
+
```
|
|
1394
|
+
|
|
1395
|
+
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
1396
|
+
|
|
1397
|
+
</details>
|
|
1398
|
+
|
|
1399
|
+
### public
|
|
1400
|
+
|
|
1401
|
+
<details>
|
|
1402
|
+
<summary><code>GET</code> <b><code>simplefunctions.api.public.answer</code></b></summary>
|
|
1403
|
+
|
|
1404
|
+
<code>GET https://simplefunctions.dev/api/public/answer/{slug}</code>
|
|
1405
|
+
|
|
1406
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/public-market-data)
|
|
1407
|
+
|
|
1408
|
+
```typescript
|
|
1409
|
+
const res = await simplefunctions.api.public.answer({ /* ... */ });
|
|
1410
|
+
```
|
|
1411
|
+
|
|
1412
|
+
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
1413
|
+
|
|
1414
|
+
</details>
|
|
1415
|
+
|
|
1416
|
+
<details>
|
|
1417
|
+
<summary><code>GET</code> <b><code>simplefunctions.api.public.briefing</code></b></summary>
|
|
1418
|
+
|
|
1419
|
+
<code>GET https://simplefunctions.dev/api/public/briefing{query}</code>
|
|
1420
|
+
|
|
1421
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/reference/daily-data)
|
|
1422
|
+
|
|
1423
|
+
```typescript
|
|
1424
|
+
const res = await simplefunctions.api.public.briefing({ /* ... */ });
|
|
1425
|
+
```
|
|
1426
|
+
|
|
1427
|
+
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
1428
|
+
|
|
1429
|
+
</details>
|
|
1430
|
+
|
|
1431
|
+
<details>
|
|
1432
|
+
<summary><code>GET</code> <b><code>simplefunctions.api.public.calendar</code></b></summary>
|
|
1433
|
+
|
|
1434
|
+
<code>GET https://simplefunctions.dev/api/public/calendar{query}</code>
|
|
1435
|
+
|
|
1436
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/index-regime)
|
|
1437
|
+
|
|
1438
|
+
```typescript
|
|
1439
|
+
const res = await simplefunctions.api.public.calendar({ /* ... */ });
|
|
1440
|
+
```
|
|
1441
|
+
|
|
1442
|
+
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
1443
|
+
|
|
1444
|
+
</details>
|
|
1445
|
+
|
|
1446
|
+
<details>
|
|
1447
|
+
<summary><code>GET</code> <b><code>simplefunctions.api.public.calibration</code></b></summary>
|
|
1448
|
+
|
|
1449
|
+
<code>GET https://simplefunctions.dev/api/public/calibration{query}</code>
|
|
1450
|
+
|
|
1451
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/index-regime)
|
|
1452
|
+
|
|
1453
|
+
```typescript
|
|
1454
|
+
const res = await simplefunctions.api.public.calibration({ /* ... */ });
|
|
1455
|
+
```
|
|
1456
|
+
|
|
1457
|
+
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
1458
|
+
|
|
1459
|
+
</details>
|
|
1460
|
+
|
|
1461
|
+
<details>
|
|
1462
|
+
<summary><code>GET</code> <b><code>simplefunctions.api.public.congress.member</code></b></summary>
|
|
1463
|
+
|
|
1464
|
+
<code>GET https://simplefunctions.dev/api/public/congress/member/{id}</code>
|
|
1465
|
+
|
|
1466
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/public-market-data)
|
|
1467
|
+
|
|
1468
|
+
```typescript
|
|
1469
|
+
const res = await simplefunctions.api.public.congress.member({ /* ... */ });
|
|
1470
|
+
```
|
|
1471
|
+
|
|
1472
|
+
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
1473
|
+
|
|
1474
|
+
</details>
|
|
1475
|
+
|
|
1476
|
+
<details>
|
|
1477
|
+
<summary><code>GET</code> <b><code>simplefunctions.api.public.congress.members</code></b></summary>
|
|
1478
|
+
|
|
1479
|
+
<code>GET https://simplefunctions.dev/api/public/congress/members{query}</code>
|
|
1480
|
+
|
|
1481
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/public-market-data)
|
|
1482
|
+
|
|
1483
|
+
```typescript
|
|
1484
|
+
const res = await simplefunctions.api.public.congress.members({ /* ... */ });
|
|
1485
|
+
```
|
|
1486
|
+
|
|
1487
|
+
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
1488
|
+
|
|
1489
|
+
</details>
|
|
1490
|
+
|
|
1491
|
+
<details>
|
|
1492
|
+
<summary><code>GET</code> <b><code>simplefunctions.api.public.contagion</code></b></summary>
|
|
1493
|
+
|
|
1494
|
+
<code>GET https://simplefunctions.dev/api/public/contagion{query}</code>
|
|
1495
|
+
|
|
1496
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/public-market-data)
|
|
1497
|
+
|
|
1498
|
+
```typescript
|
|
1499
|
+
const res = await simplefunctions.api.public.contagion({ /* ... */ });
|
|
1500
|
+
```
|
|
1501
|
+
|
|
1502
|
+
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
1503
|
+
|
|
1504
|
+
</details>
|
|
1505
|
+
|
|
1506
|
+
<details>
|
|
1507
|
+
<summary><code>GET</code> <b><code>simplefunctions.api.public.context</code></b></summary>
|
|
1508
|
+
|
|
1509
|
+
<code>GET https://simplefunctions.dev/api/public/context{query}</code>
|
|
1510
|
+
|
|
1511
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/reference/daily-data)
|
|
1512
|
+
|
|
1513
|
+
```typescript
|
|
1514
|
+
const res = await simplefunctions.api.public.context({ /* ... */ });
|
|
1515
|
+
```
|
|
1516
|
+
|
|
1517
|
+
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
1518
|
+
|
|
1519
|
+
</details>
|
|
1520
|
+
|
|
1521
|
+
<details>
|
|
1522
|
+
<summary><code>GET</code> <b><code>simplefunctions.api.public.crossVenue.pairs</code></b></summary>
|
|
1523
|
+
|
|
1524
|
+
<code>GET https://simplefunctions.dev/api/public/cross-venue/pairs{query}</code>
|
|
1525
|
+
|
|
1526
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/public-market-data)
|
|
1527
|
+
|
|
1528
|
+
```typescript
|
|
1529
|
+
const res = await simplefunctions.api.public.crossVenue.pairs({ /* ... */ });
|
|
1530
|
+
```
|
|
1531
|
+
|
|
1532
|
+
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
1533
|
+
|
|
1534
|
+
</details>
|
|
1535
|
+
|
|
1536
|
+
<details>
|
|
1537
|
+
<summary><code>GET</code> <b><code>simplefunctions.api.public.crossVenue.stats</code></b></summary>
|
|
1538
|
+
|
|
1539
|
+
<code>GET https://simplefunctions.dev/api/public/cross-venue/stats{query}</code>
|
|
1540
|
+
|
|
1541
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/public-market-data)
|
|
1542
|
+
|
|
1543
|
+
```typescript
|
|
1544
|
+
const res = await simplefunctions.api.public.crossVenue.stats({ /* ... */ });
|
|
1545
|
+
```
|
|
1546
|
+
|
|
1547
|
+
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
1548
|
+
|
|
1549
|
+
</details>
|
|
1550
|
+
|
|
1551
|
+
<details>
|
|
1552
|
+
<summary><code>GET</code> <b><code>simplefunctions.api.public.databento</code></b></summary>
|
|
1553
|
+
|
|
1554
|
+
<code>GET https://simplefunctions.dev/api/public/databento{query}</code>
|
|
1555
|
+
|
|
1556
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/public-market-data)
|
|
1557
|
+
|
|
1558
|
+
```typescript
|
|
1559
|
+
const res = await simplefunctions.api.public.databento({ /* ... */ });
|
|
1560
|
+
```
|
|
1561
|
+
|
|
1562
|
+
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
1563
|
+
|
|
1564
|
+
</details>
|
|
1565
|
+
|
|
1566
|
+
<details>
|
|
1567
|
+
<summary><code>GET</code> <b><code>simplefunctions.api.public.diff</code></b></summary>
|
|
1568
|
+
|
|
1569
|
+
<code>GET https://simplefunctions.dev/api/public/diff{query}</code>
|
|
1570
|
+
|
|
1571
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/public-market-data)
|
|
1572
|
+
|
|
1573
|
+
```typescript
|
|
1574
|
+
const res = await simplefunctions.api.public.diff({ /* ... */ });
|
|
1575
|
+
```
|
|
1576
|
+
|
|
1577
|
+
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
1578
|
+
|
|
1579
|
+
</details>
|
|
1580
|
+
|
|
1581
|
+
<details>
|
|
1582
|
+
<summary><code>POST</code> <b><code>simplefunctions.api.public.discuss</code></b></summary>
|
|
1583
|
+
|
|
1584
|
+
<code>POST https://simplefunctions.dev/api/public/discuss</code>
|
|
1585
|
+
|
|
1586
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/public-market-data)
|
|
1587
|
+
|
|
1588
|
+
```typescript
|
|
1589
|
+
const res = await simplefunctions.api.public.discuss({ /* ... */ });
|
|
1590
|
+
```
|
|
1591
|
+
|
|
1592
|
+
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
1593
|
+
|
|
1594
|
+
</details>
|
|
1595
|
+
|
|
1596
|
+
<details>
|
|
1597
|
+
<summary><code>GET</code> <b><code>simplefunctions.api.public.fred</code></b></summary>
|
|
1598
|
+
|
|
1599
|
+
<code>GET https://simplefunctions.dev/api/public/fred{query}</code>
|
|
1600
|
+
|
|
1601
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/gov-econ)
|
|
1602
|
+
|
|
1603
|
+
```typescript
|
|
1604
|
+
const res = await simplefunctions.api.public.fred({ /* ... */ });
|
|
1605
|
+
```
|
|
1606
|
+
|
|
1607
|
+
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
1608
|
+
|
|
1609
|
+
</details>
|
|
1610
|
+
|
|
1611
|
+
<details>
|
|
1612
|
+
<summary><code>GET</code> <b><code>simplefunctions.api.public.glossary</code></b></summary>
|
|
1613
|
+
|
|
1614
|
+
<code>GET https://simplefunctions.dev/api/public/glossary{query}</code>
|
|
1615
|
+
|
|
1616
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/reference/daily-data)
|
|
1617
|
+
|
|
1618
|
+
```typescript
|
|
1619
|
+
const res = await simplefunctions.api.public.glossary({ /* ... */ });
|
|
1620
|
+
```
|
|
1621
|
+
|
|
1622
|
+
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
1623
|
+
|
|
1624
|
+
</details>
|
|
1625
|
+
|
|
1626
|
+
<details>
|
|
1627
|
+
<summary><code>GET</code> <b><code>simplefunctions.api.public.glossary.entry</code></b></summary>
|
|
1628
|
+
|
|
1629
|
+
<code>GET https://simplefunctions.dev/api/public/glossary/{slug}</code>
|
|
1630
|
+
|
|
1631
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/reference/daily-data)
|
|
1632
|
+
|
|
1633
|
+
```typescript
|
|
1634
|
+
const res = await simplefunctions.api.public.glossary.entry({ /* ... */ });
|
|
1635
|
+
```
|
|
1636
|
+
|
|
1637
|
+
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
1638
|
+
|
|
1639
|
+
</details>
|
|
1640
|
+
|
|
1641
|
+
<details>
|
|
1642
|
+
<summary><code>GET</code> <b><code>simplefunctions.api.public.guide</code></b></summary>
|
|
1643
|
+
|
|
1644
|
+
<code>GET https://simplefunctions.dev/api/public/guide</code>
|
|
1645
|
+
|
|
1646
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/public-market-data)
|
|
1647
|
+
|
|
1648
|
+
```typescript
|
|
1649
|
+
const res = await simplefunctions.api.public.guide({ /* ... */ });
|
|
1650
|
+
```
|
|
1651
|
+
|
|
1652
|
+
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
1653
|
+
|
|
1654
|
+
</details>
|
|
1655
|
+
|
|
1656
|
+
<details>
|
|
1657
|
+
<summary><code>GET</code> <b><code>simplefunctions.api.public.highlights</code></b></summary>
|
|
1658
|
+
|
|
1659
|
+
<code>GET https://simplefunctions.dev/api/public/highlights{query}</code>
|
|
1660
|
+
|
|
1661
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/public-market-data)
|
|
1662
|
+
|
|
1663
|
+
```typescript
|
|
1664
|
+
const res = await simplefunctions.api.public.highlights({ /* ... */ });
|
|
1665
|
+
```
|
|
1666
|
+
|
|
1667
|
+
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
1668
|
+
|
|
1669
|
+
</details>
|
|
1670
|
+
|
|
1671
|
+
<details>
|
|
1672
|
+
<summary><code>GET</code> <b><code>simplefunctions.api.public.ideas</code></b></summary>
|
|
1673
|
+
|
|
1674
|
+
<code>GET https://simplefunctions.dev/api/public/ideas{query}</code>
|
|
1675
|
+
|
|
1676
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/reference/daily-data)
|
|
1677
|
+
|
|
1678
|
+
```typescript
|
|
1679
|
+
const res = await simplefunctions.api.public.ideas({ /* ... */ });
|
|
1680
|
+
```
|
|
1681
|
+
|
|
1682
|
+
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
1683
|
+
|
|
1684
|
+
</details>
|
|
1685
|
+
|
|
1686
|
+
<details>
|
|
1687
|
+
<summary><code>GET</code> <b><code>simplefunctions.api.public.ideas.byId</code></b></summary>
|
|
1688
|
+
|
|
1689
|
+
<code>GET https://simplefunctions.dev/api/public/ideas/{id}</code>
|
|
1690
|
+
|
|
1691
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/reference/daily-data)
|
|
1692
|
+
|
|
1693
|
+
```typescript
|
|
1694
|
+
const res = await simplefunctions.api.public.ideas.byId({ /* ... */ });
|
|
1695
|
+
```
|
|
1696
|
+
|
|
1697
|
+
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
1698
|
+
|
|
1699
|
+
</details>
|
|
1700
|
+
|
|
1701
|
+
<details>
|
|
1702
|
+
<summary><code>GET</code> <b><code>simplefunctions.api.public.index</code></b></summary>
|
|
1703
|
+
|
|
1704
|
+
<code>GET https://simplefunctions.dev/api/public/index</code>
|
|
1705
|
+
|
|
1706
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/index-regime)
|
|
1707
|
+
|
|
1708
|
+
```typescript
|
|
1709
|
+
const res = await simplefunctions.api.public.index({ /* ... */ });
|
|
1710
|
+
```
|
|
1711
|
+
|
|
1712
|
+
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
1713
|
+
|
|
1714
|
+
</details>
|
|
1715
|
+
|
|
1716
|
+
<details>
|
|
1717
|
+
<summary><code>GET</code> <b><code>simplefunctions.api.public.index.history</code></b></summary>
|
|
1718
|
+
|
|
1719
|
+
<code>GET https://simplefunctions.dev/api/public/index/history{query}</code>
|
|
1720
|
+
|
|
1721
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/index-regime)
|
|
1722
|
+
|
|
1723
|
+
```typescript
|
|
1724
|
+
const res = await simplefunctions.api.public.index.history({ /* ... */ });
|
|
1725
|
+
```
|
|
1726
|
+
|
|
1727
|
+
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
1728
|
+
|
|
1729
|
+
</details>
|
|
1730
|
+
|
|
1731
|
+
<details>
|
|
1732
|
+
<summary><code>GET</code> <b><code>simplefunctions.api.public.legislation</code></b></summary>
|
|
1733
|
+
|
|
1734
|
+
<code>GET https://simplefunctions.dev/api/public/legislation{query}</code>
|
|
1735
|
+
|
|
1736
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/gov-econ)
|
|
1737
|
+
|
|
1738
|
+
```typescript
|
|
1739
|
+
const res = await simplefunctions.api.public.legislation({ /* ... */ });
|
|
1740
|
+
```
|
|
1741
|
+
|
|
1742
|
+
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
1743
|
+
|
|
1744
|
+
</details>
|
|
1745
|
+
|
|
1746
|
+
<details>
|
|
1747
|
+
<summary><code>GET</code> <b><code>simplefunctions.api.public.legislation.byBillId</code></b></summary>
|
|
1748
|
+
|
|
1749
|
+
<code>GET https://simplefunctions.dev/api/public/legislation/{billId}</code>
|
|
1750
|
+
|
|
1751
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/gov-econ)
|
|
1752
|
+
|
|
1753
|
+
```typescript
|
|
1754
|
+
const res = await simplefunctions.api.public.legislation.byBillId({ /* ... */ });
|
|
1755
|
+
```
|
|
1756
|
+
|
|
1757
|
+
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
1758
|
+
|
|
1759
|
+
</details>
|
|
1760
|
+
|
|
1761
|
+
<details>
|
|
1762
|
+
<summary><code>GET</code> <b><code>simplefunctions.api.public.liquidityByTheme</code></b></summary>
|
|
1763
|
+
|
|
1764
|
+
<code>GET https://simplefunctions.dev/api/public/liquidity-by-theme{query}</code>
|
|
1765
|
+
|
|
1766
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/public-market-data)
|
|
1767
|
+
|
|
1768
|
+
```typescript
|
|
1769
|
+
const res = await simplefunctions.api.public.liquidityByTheme({ /* ... */ });
|
|
1770
|
+
```
|
|
1771
|
+
|
|
1772
|
+
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
1773
|
+
|
|
1774
|
+
</details>
|
|
1775
|
+
|
|
1776
|
+
<details>
|
|
1777
|
+
<summary><code>GET</code> <b><code>simplefunctions.api.public.liveTickers</code></b></summary>
|
|
1778
|
+
|
|
1779
|
+
<code>GET https://simplefunctions.dev/api/public/live-tickers{query}</code>
|
|
1780
|
+
|
|
1781
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/public-market-data)
|
|
1782
|
+
|
|
1783
|
+
```typescript
|
|
1784
|
+
const res = await simplefunctions.api.public.liveTickers({ /* ... */ });
|
|
1785
|
+
```
|
|
1786
|
+
|
|
1787
|
+
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
1788
|
+
|
|
1789
|
+
</details>
|
|
1790
|
+
|
|
1791
|
+
<details>
|
|
1792
|
+
<summary><code>GET</code> <b><code>simplefunctions.api.public.market</code></b></summary>
|
|
1793
|
+
|
|
1794
|
+
<code>GET https://simplefunctions.dev/api/public/market/{ticker}{query}</code>
|
|
1795
|
+
|
|
1796
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/market-detail)
|
|
1797
|
+
|
|
1798
|
+
```typescript
|
|
1799
|
+
const res = await simplefunctions.api.public.market({
|
|
1800
|
+
ticker: "KXRATECUT-26DEC31",
|
|
1801
|
+
depth: true,
|
|
1802
|
+
});
|
|
1803
|
+
```
|
|
1804
|
+
|
|
1805
|
+
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
1806
|
+
|
|
1807
|
+
</details>
|
|
1808
|
+
|
|
1809
|
+
<details>
|
|
1810
|
+
<summary><code>GET</code> <b><code>simplefunctions.api.public.market.candles</code></b></summary>
|
|
1811
|
+
|
|
1812
|
+
<code>GET https://simplefunctions.dev/api/public/market/{ticker}/candles{query}</code>
|
|
1813
|
+
|
|
1814
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/public-market-data)
|
|
1815
|
+
|
|
1816
|
+
```typescript
|
|
1817
|
+
const res = await simplefunctions.api.public.market.candles({
|
|
1818
|
+
ticker: "KXRATECUT-26DEC31",
|
|
1819
|
+
venue: "kalshi",
|
|
1820
|
+
timeframe: "1m",
|
|
1821
|
+
limit: 500,
|
|
1822
|
+
});
|
|
1823
|
+
```
|
|
1824
|
+
|
|
1825
|
+
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
1826
|
+
|
|
1827
|
+
</details>
|
|
1828
|
+
|
|
1829
|
+
<details>
|
|
1830
|
+
<summary><code>GET</code> <b><code>simplefunctions.api.public.market.history</code></b></summary>
|
|
1831
|
+
|
|
1832
|
+
<code>GET https://simplefunctions.dev/api/public/market/{ticker}/history</code>
|
|
1833
|
+
|
|
1834
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/market-detail)
|
|
1835
|
+
|
|
1836
|
+
```typescript
|
|
1837
|
+
const res = await simplefunctions.api.public.market.history({
|
|
1838
|
+
ticker: "KXRATECUT-26DEC31",
|
|
1839
|
+
});
|
|
1840
|
+
```
|
|
1841
|
+
|
|
1842
|
+
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
1843
|
+
|
|
1844
|
+
</details>
|
|
1845
|
+
|
|
1846
|
+
<details>
|
|
1847
|
+
<summary><code>GET</code> <b><code>simplefunctions.api.public.marketMicrostructureHistory</code></b></summary>
|
|
1848
|
+
|
|
1849
|
+
<code>GET https://simplefunctions.dev/api/public/market-microstructure-history{query}</code>
|
|
1850
|
+
|
|
1851
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/public-market-data)
|
|
1852
|
+
|
|
1853
|
+
```typescript
|
|
1854
|
+
const res = await simplefunctions.api.public.marketMicrostructureHistory({ /* ... */ });
|
|
1855
|
+
```
|
|
1856
|
+
|
|
1857
|
+
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
1858
|
+
|
|
1859
|
+
</details>
|
|
1860
|
+
|
|
1861
|
+
<details>
|
|
1862
|
+
<summary><code>GET</code> <b><code>simplefunctions.api.public.markets</code></b></summary>
|
|
1863
|
+
|
|
1864
|
+
<code>GET https://simplefunctions.dev/api/public/markets{query}</code>
|
|
1865
|
+
|
|
1866
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/public-market-data)
|
|
1867
|
+
|
|
1868
|
+
```typescript
|
|
1869
|
+
const res = await simplefunctions.api.public.markets({ /* ... */ });
|
|
1870
|
+
```
|
|
1871
|
+
|
|
1872
|
+
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
1873
|
+
|
|
1874
|
+
</details>
|
|
1875
|
+
|
|
1876
|
+
<details>
|
|
1877
|
+
<summary><code>GET</code> <b><code>simplefunctions.api.public.newmarkets</code></b></summary>
|
|
1878
|
+
|
|
1879
|
+
<code>GET https://simplefunctions.dev/api/public/newmarkets{query}</code>
|
|
1880
|
+
|
|
1881
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/public-market-data)
|
|
1882
|
+
|
|
1883
|
+
```typescript
|
|
1884
|
+
const res = await simplefunctions.api.public.newmarkets({ /* ... */ });
|
|
1885
|
+
```
|
|
1886
|
+
|
|
1887
|
+
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
1888
|
+
|
|
1889
|
+
</details>
|
|
1890
|
+
|
|
1891
|
+
<details>
|
|
1892
|
+
<summary><code>GET</code> <b><code>simplefunctions.api.public.odds</code></b></summary>
|
|
1893
|
+
|
|
1894
|
+
<code>GET https://simplefunctions.dev/api/public/odds{query}</code>
|
|
1895
|
+
|
|
1896
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/public-market-data)
|
|
1897
|
+
|
|
1898
|
+
```typescript
|
|
1899
|
+
const res = await simplefunctions.api.public.odds({ /* ... */ });
|
|
1900
|
+
```
|
|
1901
|
+
|
|
1902
|
+
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
1903
|
+
|
|
1904
|
+
</details>
|
|
1905
|
+
|
|
1906
|
+
<details>
|
|
1907
|
+
<summary><code>GET</code> <b><code>simplefunctions.api.public.oddsMd</code></b></summary>
|
|
1908
|
+
|
|
1909
|
+
<code>GET https://simplefunctions.dev/api/public/odds.md{query}</code>
|
|
1910
|
+
|
|
1911
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/public-market-data)
|
|
1912
|
+
|
|
1913
|
+
```typescript
|
|
1914
|
+
const res = await simplefunctions.api.public.oddsMd({ /* ... */ });
|
|
1915
|
+
```
|
|
1916
|
+
|
|
1917
|
+
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
1918
|
+
|
|
1919
|
+
</details>
|
|
1920
|
+
|
|
1921
|
+
<details>
|
|
1922
|
+
<summary><code>GET</code> <b><code>simplefunctions.api.public.opinions</code></b></summary>
|
|
1923
|
+
|
|
1924
|
+
<code>GET https://simplefunctions.dev/api/public/opinions{query}</code>
|
|
1925
|
+
|
|
1926
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/public-market-data)
|
|
1927
|
+
|
|
1928
|
+
```typescript
|
|
1929
|
+
const res = await simplefunctions.api.public.opinions({ /* ... */ });
|
|
1930
|
+
```
|
|
1931
|
+
|
|
1932
|
+
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
1933
|
+
|
|
1934
|
+
</details>
|
|
1935
|
+
|
|
1936
|
+
<details>
|
|
1937
|
+
<summary><code>GET</code> <b><code>simplefunctions.api.public.opinions.entry</code></b></summary>
|
|
1938
|
+
|
|
1939
|
+
<code>GET https://simplefunctions.dev/api/public/opinions/{slug}</code>
|
|
1940
|
+
|
|
1941
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/public-market-data)
|
|
1942
|
+
|
|
1943
|
+
```typescript
|
|
1944
|
+
const res = await simplefunctions.api.public.opinions.entry({ /* ... */ });
|
|
1945
|
+
```
|
|
1946
|
+
|
|
1947
|
+
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
1948
|
+
|
|
1949
|
+
</details>
|
|
1950
|
+
|
|
1951
|
+
<details>
|
|
1952
|
+
<summary><code>GET</code> <b><code>simplefunctions.api.public.query</code></b></summary>
|
|
1953
|
+
|
|
1954
|
+
<code>GET https://simplefunctions.dev/api/public/query{query}</code>
|
|
1955
|
+
|
|
1956
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/query)
|
|
1957
|
+
|
|
1958
|
+
```typescript
|
|
1959
|
+
const res = await simplefunctions.api.public.query({
|
|
1960
|
+
q: "Fed rate cut",
|
|
1961
|
+
sources: ["kalshi", "polymarket"],
|
|
1962
|
+
limit: 3,
|
|
1963
|
+
});
|
|
1964
|
+
```
|
|
1965
|
+
|
|
1966
|
+
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
1967
|
+
|
|
1968
|
+
</details>
|
|
1969
|
+
|
|
1970
|
+
<details>
|
|
1971
|
+
<summary><code>GET</code> <b><code>simplefunctions.api.public.queryEcon</code></b></summary>
|
|
1972
|
+
|
|
1973
|
+
<code>GET https://simplefunctions.dev/api/public/query-econ{query}</code>
|
|
1974
|
+
|
|
1975
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/gov-econ)
|
|
1976
|
+
|
|
1977
|
+
```typescript
|
|
1978
|
+
const res = await simplefunctions.api.public.queryEcon({ /* ... */ });
|
|
1979
|
+
```
|
|
1980
|
+
|
|
1981
|
+
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
1982
|
+
|
|
1983
|
+
</details>
|
|
1984
|
+
|
|
1985
|
+
<details>
|
|
1986
|
+
<summary><code>GET</code> <b><code>simplefunctions.api.public.queryGov</code></b></summary>
|
|
1987
|
+
|
|
1988
|
+
<code>GET https://simplefunctions.dev/api/public/query-gov{query}</code>
|
|
1989
|
+
|
|
1990
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/gov-econ)
|
|
1991
|
+
|
|
1992
|
+
```typescript
|
|
1993
|
+
const res = await simplefunctions.api.public.queryGov({ /* ... */ });
|
|
1994
|
+
```
|
|
1995
|
+
|
|
1996
|
+
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
1997
|
+
|
|
1998
|
+
</details>
|
|
1999
|
+
|
|
2000
|
+
<details>
|
|
2001
|
+
<summary><code>GET</code> <b><code>simplefunctions.api.public.regime.scan</code></b></summary>
|
|
2002
|
+
|
|
2003
|
+
<code>GET https://simplefunctions.dev/api/public/regime/scan{query}</code>
|
|
2004
|
+
|
|
2005
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/index-regime)
|
|
2006
|
+
|
|
2007
|
+
```typescript
|
|
2008
|
+
const res = await simplefunctions.api.public.regime.scan({ /* ... */ });
|
|
2009
|
+
```
|
|
2010
|
+
|
|
2011
|
+
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
2012
|
+
|
|
2013
|
+
</details>
|
|
2014
|
+
|
|
2015
|
+
<details>
|
|
2016
|
+
<summary><code>GET</code> <b><code>simplefunctions.api.public.scan</code></b></summary>
|
|
2017
|
+
|
|
2018
|
+
<code>GET https://simplefunctions.dev/api/public/scan{query}</code>
|
|
2019
|
+
|
|
2020
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/public-market-data)
|
|
2021
|
+
|
|
2022
|
+
```typescript
|
|
2023
|
+
const res = await simplefunctions.api.public.scan({ /* ... */ });
|
|
2024
|
+
```
|
|
2025
|
+
|
|
2026
|
+
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
2027
|
+
|
|
2028
|
+
</details>
|
|
2029
|
+
|
|
2030
|
+
<details>
|
|
2031
|
+
<summary><code>GET</code> <b><code>simplefunctions.api.public.screen</code></b></summary>
|
|
2032
|
+
|
|
2033
|
+
<code>GET https://simplefunctions.dev/api/public/screen{query}</code>
|
|
2034
|
+
|
|
2035
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/public-market-data)
|
|
2036
|
+
|
|
2037
|
+
```typescript
|
|
2038
|
+
const res = await simplefunctions.api.public.screen({ /* ... */ });
|
|
2039
|
+
```
|
|
2040
|
+
|
|
2041
|
+
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
2042
|
+
|
|
2043
|
+
</details>
|
|
2044
|
+
|
|
2045
|
+
<details>
|
|
2046
|
+
<summary><code>GET</code> <b><code>simplefunctions.api.public.screenByTickers</code></b></summary>
|
|
2047
|
+
|
|
2048
|
+
<code>GET https://simplefunctions.dev/api/public/screen-by-tickers{query}</code>
|
|
2049
|
+
|
|
2050
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/public-market-data)
|
|
2051
|
+
|
|
2052
|
+
```typescript
|
|
2053
|
+
const res = await simplefunctions.api.public.screenByTickers({ /* ... */ });
|
|
2054
|
+
```
|
|
2055
|
+
|
|
2056
|
+
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
2057
|
+
|
|
2058
|
+
</details>
|
|
2059
|
+
|
|
2060
|
+
<details>
|
|
2061
|
+
<summary><code>GET</code> <b><code>simplefunctions.api.public.search</code></b></summary>
|
|
2062
|
+
|
|
2063
|
+
<code>GET https://simplefunctions.dev/api/public/search{query}</code>
|
|
2064
|
+
|
|
2065
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/public-market-data)
|
|
2066
|
+
|
|
2067
|
+
```typescript
|
|
2068
|
+
const res = await simplefunctions.api.public.search({ /* ... */ });
|
|
2069
|
+
```
|
|
2070
|
+
|
|
2071
|
+
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
2072
|
+
|
|
2073
|
+
</details>
|
|
2074
|
+
|
|
2075
|
+
<details>
|
|
2076
|
+
<summary><code>GET</code> <b><code>simplefunctions.api.public.skill</code></b></summary>
|
|
2077
|
+
|
|
2078
|
+
<code>GET https://simplefunctions.dev/api/public/skill/{slug}</code>
|
|
2079
|
+
|
|
2080
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/public-market-data)
|
|
2081
|
+
|
|
2082
|
+
```typescript
|
|
2083
|
+
const res = await simplefunctions.api.public.skill({ /* ... */ });
|
|
2084
|
+
```
|
|
2085
|
+
|
|
2086
|
+
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
2087
|
+
|
|
2088
|
+
</details>
|
|
2089
|
+
|
|
2090
|
+
<details>
|
|
2091
|
+
<summary><code>GET</code> <b><code>simplefunctions.api.public.skills</code></b></summary>
|
|
2092
|
+
|
|
2093
|
+
<code>GET https://simplefunctions.dev/api/public/skills{query}</code>
|
|
2094
|
+
|
|
2095
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/public-market-data)
|
|
2096
|
+
|
|
2097
|
+
```typescript
|
|
2098
|
+
const res = await simplefunctions.api.public.skills({ /* ... */ });
|
|
2099
|
+
```
|
|
2100
|
+
|
|
2101
|
+
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
2102
|
+
|
|
2103
|
+
</details>
|
|
2104
|
+
|
|
2105
|
+
<details>
|
|
2106
|
+
<summary><code>GET</code> <b><code>simplefunctions.api.public.technicals</code></b></summary>
|
|
2107
|
+
|
|
2108
|
+
<code>GET https://simplefunctions.dev/api/public/technicals{query}</code>
|
|
2109
|
+
|
|
2110
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/public-market-data)
|
|
2111
|
+
|
|
2112
|
+
```typescript
|
|
2113
|
+
const res = await simplefunctions.api.public.technicals({ /* ... */ });
|
|
2114
|
+
```
|
|
2115
|
+
|
|
2116
|
+
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
2117
|
+
|
|
2118
|
+
</details>
|
|
2119
|
+
|
|
2120
|
+
<details>
|
|
2121
|
+
<summary><code>GET</code> <b><code>simplefunctions.api.public.technicals.entry</code></b></summary>
|
|
2122
|
+
|
|
2123
|
+
<code>GET https://simplefunctions.dev/api/public/technicals/{slug}</code>
|
|
2124
|
+
|
|
2125
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/public-market-data)
|
|
2126
|
+
|
|
2127
|
+
```typescript
|
|
2128
|
+
const res = await simplefunctions.api.public.technicals.entry({ /* ... */ });
|
|
2129
|
+
```
|
|
2130
|
+
|
|
2131
|
+
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
2132
|
+
|
|
2133
|
+
</details>
|
|
2134
|
+
|
|
2135
|
+
<details>
|
|
2136
|
+
<summary><code>GET</code> <b><code>simplefunctions.api.public.theses</code></b></summary>
|
|
2137
|
+
|
|
2138
|
+
<code>GET https://simplefunctions.dev/api/public/theses{query}</code>
|
|
2139
|
+
|
|
2140
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/reference/daily-data)
|
|
2141
|
+
|
|
2142
|
+
```typescript
|
|
2143
|
+
const res = await simplefunctions.api.public.theses({ /* ... */ });
|
|
2144
|
+
```
|
|
2145
|
+
|
|
2146
|
+
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
2147
|
+
|
|
2148
|
+
</details>
|
|
2149
|
+
|
|
2150
|
+
<details>
|
|
2151
|
+
<summary><code>GET</code> <b><code>simplefunctions.api.public.thesis</code></b></summary>
|
|
2152
|
+
|
|
2153
|
+
<code>GET https://simplefunctions.dev/api/public/thesis/{slug}</code>
|
|
2154
|
+
|
|
2155
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/reference/daily-data)
|
|
2156
|
+
|
|
2157
|
+
```typescript
|
|
2158
|
+
const res = await simplefunctions.api.public.thesis({ /* ... */ });
|
|
2159
|
+
```
|
|
2160
|
+
|
|
2161
|
+
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
2162
|
+
|
|
2163
|
+
</details>
|
|
2164
|
+
|
|
2165
|
+
<details>
|
|
2166
|
+
<summary><code>GET</code> <b><code>simplefunctions.api.public.topic</code></b></summary>
|
|
2167
|
+
|
|
2168
|
+
<code>GET https://simplefunctions.dev/api/public/topic/{slug}</code>
|
|
318
2169
|
|
|
319
|
-
[Upstream docs ↗](https://docs.simplefunctions.dev/reference/
|
|
2170
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/public-market-data)
|
|
320
2171
|
|
|
321
2172
|
```typescript
|
|
322
|
-
const res = await simplefunctions.
|
|
2173
|
+
const res = await simplefunctions.api.public.topic({ /* ... */ });
|
|
323
2174
|
```
|
|
324
2175
|
|
|
325
2176
|
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
326
2177
|
|
|
327
2178
|
</details>
|
|
328
2179
|
|
|
329
|
-
### edges
|
|
330
|
-
|
|
331
2180
|
<details>
|
|
332
|
-
<summary><code>GET</code> <b><code>simplefunctions.api.
|
|
2181
|
+
<summary><code>GET</code> <b><code>simplefunctions.api.public.tradMarkets</code></b></summary>
|
|
333
2182
|
|
|
334
|
-
<code>GET https://simplefunctions.dev/api/
|
|
2183
|
+
<code>GET https://simplefunctions.dev/api/public/trad-markets{query}</code>
|
|
335
2184
|
|
|
336
|
-
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/
|
|
2185
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/public-market-data)
|
|
337
2186
|
|
|
338
2187
|
```typescript
|
|
339
|
-
const res = await simplefunctions.api.
|
|
2188
|
+
const res = await simplefunctions.api.public.tradMarkets({ /* ... */ });
|
|
340
2189
|
```
|
|
341
2190
|
|
|
342
2191
|
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
343
2192
|
|
|
344
2193
|
</details>
|
|
345
2194
|
|
|
346
|
-
### public
|
|
347
|
-
|
|
348
2195
|
<details>
|
|
349
|
-
<summary><code>GET</code> <b><code>simplefunctions.api.public.
|
|
2196
|
+
<summary><code>GET</code> <b><code>simplefunctions.api.public.yieldCurves</code></b></summary>
|
|
350
2197
|
|
|
351
|
-
<code>GET https://simplefunctions.dev/api/public/
|
|
2198
|
+
<code>GET https://simplefunctions.dev/api/public/yield-curves</code>
|
|
352
2199
|
|
|
353
2200
|
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/public-market-data)
|
|
354
2201
|
|
|
355
2202
|
```typescript
|
|
356
|
-
const res = await simplefunctions.api.public.
|
|
2203
|
+
const res = await simplefunctions.api.public.yieldCurves({ /* ... */ });
|
|
357
2204
|
```
|
|
358
2205
|
|
|
359
2206
|
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
@@ -361,29 +2208,31 @@ Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplef
|
|
|
361
2208
|
</details>
|
|
362
2209
|
|
|
363
2210
|
<details>
|
|
364
|
-
<summary><code>GET</code> <b><code>simplefunctions.api.public.
|
|
2211
|
+
<summary><code>GET</code> <b><code>simplefunctions.api.public.yieldCurves.event</code></b></summary>
|
|
365
2212
|
|
|
366
|
-
<code>GET https://simplefunctions.dev/api/public/
|
|
2213
|
+
<code>GET https://simplefunctions.dev/api/public/yield-curves/{event}</code>
|
|
367
2214
|
|
|
368
|
-
[Upstream docs ↗](https://docs.simplefunctions.dev/reference/
|
|
2215
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/public-market-data)
|
|
369
2216
|
|
|
370
2217
|
```typescript
|
|
371
|
-
const res = await simplefunctions.api.public.
|
|
2218
|
+
const res = await simplefunctions.api.public.yieldCurves.event({ /* ... */ });
|
|
372
2219
|
```
|
|
373
2220
|
|
|
374
2221
|
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
375
2222
|
|
|
376
2223
|
</details>
|
|
377
2224
|
|
|
2225
|
+
### runtime
|
|
2226
|
+
|
|
378
2227
|
<details>
|
|
379
|
-
<summary><code>GET</code> <b><code>simplefunctions.api.
|
|
2228
|
+
<summary><code>GET</code> <b><code>simplefunctions.api.runtime.exec</code></b></summary>
|
|
380
2229
|
|
|
381
|
-
<code>GET https://simplefunctions.dev/api/
|
|
2230
|
+
<code>GET https://simplefunctions.dev/api/runtime/exec{query}</code>
|
|
382
2231
|
|
|
383
|
-
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/
|
|
2232
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/execution-intents)
|
|
384
2233
|
|
|
385
2234
|
```typescript
|
|
386
|
-
const res = await simplefunctions.api.
|
|
2235
|
+
const res = await simplefunctions.api.runtime.exec({ /* ... */ });
|
|
387
2236
|
```
|
|
388
2237
|
|
|
389
2238
|
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
@@ -391,59 +2240,65 @@ Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplef
|
|
|
391
2240
|
</details>
|
|
392
2241
|
|
|
393
2242
|
<details>
|
|
394
|
-
<summary><code>
|
|
2243
|
+
<summary><code>POST</code> <b><code>simplefunctions.api.runtime.exec.trigger</code></b></summary>
|
|
395
2244
|
|
|
396
|
-
<code>
|
|
2245
|
+
<code>POST https://simplefunctions.dev/api/runtime/exec</code>
|
|
397
2246
|
|
|
398
|
-
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/
|
|
2247
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/execution-intents)
|
|
399
2248
|
|
|
400
2249
|
```typescript
|
|
401
|
-
const res = await simplefunctions.api.
|
|
2250
|
+
const res = await simplefunctions.api.runtime.exec.trigger({ /* ... */ });
|
|
402
2251
|
```
|
|
403
2252
|
|
|
404
2253
|
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
405
2254
|
|
|
406
2255
|
</details>
|
|
407
2256
|
|
|
2257
|
+
### signup
|
|
2258
|
+
|
|
408
2259
|
<details>
|
|
409
|
-
<summary><code>
|
|
2260
|
+
<summary><code>POST</code> <b><code>simplefunctions.api.signup</code></b></summary>
|
|
410
2261
|
|
|
411
|
-
<code>
|
|
2262
|
+
<code>POST https://simplefunctions.dev/api/signup</code>
|
|
412
2263
|
|
|
413
|
-
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/
|
|
2264
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/keys)
|
|
414
2265
|
|
|
415
2266
|
```typescript
|
|
416
|
-
const res = await simplefunctions.api.
|
|
2267
|
+
const res = await simplefunctions.api.signup({ /* ... */ });
|
|
417
2268
|
```
|
|
418
2269
|
|
|
419
2270
|
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
420
2271
|
|
|
421
2272
|
</details>
|
|
422
2273
|
|
|
2274
|
+
### skills
|
|
2275
|
+
|
|
423
2276
|
<details>
|
|
424
|
-
<summary><code>GET</code> <b><code>simplefunctions.api.
|
|
2277
|
+
<summary><code>GET</code> <b><code>simplefunctions.api.skills</code></b></summary>
|
|
425
2278
|
|
|
426
|
-
<code>GET https://simplefunctions.dev/api/
|
|
2279
|
+
<code>GET https://simplefunctions.dev/api/skills{query}</code>
|
|
427
2280
|
|
|
428
|
-
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/
|
|
2281
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/tools)
|
|
429
2282
|
|
|
430
2283
|
```typescript
|
|
431
|
-
const res = await simplefunctions.api.
|
|
2284
|
+
const res = await simplefunctions.api.skills({ /* ... */ });
|
|
432
2285
|
```
|
|
433
2286
|
|
|
434
2287
|
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
435
2288
|
|
|
436
2289
|
</details>
|
|
437
2290
|
|
|
2291
|
+
### thesis
|
|
2292
|
+
|
|
438
2293
|
<details>
|
|
439
|
-
<summary><code>GET</code> <b><code>simplefunctions.api.
|
|
2294
|
+
<summary><code>GET</code> <b><code>simplefunctions.api.thesis</code></b></summary>
|
|
440
2295
|
|
|
441
|
-
<code>GET https://simplefunctions.dev/api/
|
|
2296
|
+
<code>GET https://simplefunctions.dev/api/thesis{query}</code>
|
|
442
2297
|
|
|
443
|
-
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/
|
|
2298
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/thesis)
|
|
444
2299
|
|
|
445
2300
|
```typescript
|
|
446
|
-
const res = await simplefunctions.api.
|
|
2301
|
+
const res = await simplefunctions.api.thesis({ /* ... */ });
|
|
447
2302
|
```
|
|
448
2303
|
|
|
449
2304
|
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
@@ -451,14 +2306,14 @@ Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplef
|
|
|
451
2306
|
</details>
|
|
452
2307
|
|
|
453
2308
|
<details>
|
|
454
|
-
<summary><code>
|
|
2309
|
+
<summary><code>POST</code> <b><code>simplefunctions.api.thesis.augment</code></b></summary>
|
|
455
2310
|
|
|
456
|
-
<code>
|
|
2311
|
+
<code>POST https://simplefunctions.dev/api/thesis/{id}/augment{query}</code>
|
|
457
2312
|
|
|
458
|
-
[Upstream docs ↗](https://docs.simplefunctions.dev/reference/
|
|
2313
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/thesis)
|
|
459
2314
|
|
|
460
2315
|
```typescript
|
|
461
|
-
const res = await simplefunctions.api.
|
|
2316
|
+
const res = await simplefunctions.api.thesis.augment({ /* ... */ });
|
|
462
2317
|
```
|
|
463
2318
|
|
|
464
2319
|
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
@@ -466,14 +2321,14 @@ Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplef
|
|
|
466
2321
|
</details>
|
|
467
2322
|
|
|
468
2323
|
<details>
|
|
469
|
-
<summary><code>GET</code> <b><code>simplefunctions.api.
|
|
2324
|
+
<summary><code>GET</code> <b><code>simplefunctions.api.thesis.byTicker</code></b></summary>
|
|
470
2325
|
|
|
471
|
-
<code>GET https://simplefunctions.dev/api/
|
|
2326
|
+
<code>GET https://simplefunctions.dev/api/thesis/by-ticker/{ticker}</code>
|
|
472
2327
|
|
|
473
|
-
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/
|
|
2328
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/thesis)
|
|
474
2329
|
|
|
475
2330
|
```typescript
|
|
476
|
-
const res = await simplefunctions.api.
|
|
2331
|
+
const res = await simplefunctions.api.thesis.byTicker({ /* ... */ });
|
|
477
2332
|
```
|
|
478
2333
|
|
|
479
2334
|
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
@@ -481,14 +2336,14 @@ Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplef
|
|
|
481
2336
|
</details>
|
|
482
2337
|
|
|
483
2338
|
<details>
|
|
484
|
-
<summary><code>GET</code> <b><code>simplefunctions.api.
|
|
2339
|
+
<summary><code>GET</code> <b><code>simplefunctions.api.thesis.changes</code></b></summary>
|
|
485
2340
|
|
|
486
|
-
<code>GET https://simplefunctions.dev/api/
|
|
2341
|
+
<code>GET https://simplefunctions.dev/api/thesis/{id}/changes{query}</code>
|
|
487
2342
|
|
|
488
|
-
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/
|
|
2343
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/thesis)
|
|
489
2344
|
|
|
490
2345
|
```typescript
|
|
491
|
-
const res = await simplefunctions.api.
|
|
2346
|
+
const res = await simplefunctions.api.thesis.changes({ /* ... */ });
|
|
492
2347
|
```
|
|
493
2348
|
|
|
494
2349
|
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
@@ -496,14 +2351,14 @@ Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplef
|
|
|
496
2351
|
</details>
|
|
497
2352
|
|
|
498
2353
|
<details>
|
|
499
|
-
<summary><code>GET</code> <b><code>simplefunctions.api.
|
|
2354
|
+
<summary><code>GET</code> <b><code>simplefunctions.api.thesis.context</code></b></summary>
|
|
500
2355
|
|
|
501
|
-
<code>GET https://simplefunctions.dev/api/
|
|
2356
|
+
<code>GET https://simplefunctions.dev/api/thesis/{id}/context</code>
|
|
502
2357
|
|
|
503
|
-
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/
|
|
2358
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/thesis)
|
|
504
2359
|
|
|
505
2360
|
```typescript
|
|
506
|
-
const res = await simplefunctions.api.
|
|
2361
|
+
const res = await simplefunctions.api.thesis.context({ /* ... */ });
|
|
507
2362
|
```
|
|
508
2363
|
|
|
509
2364
|
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
@@ -511,14 +2366,14 @@ Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplef
|
|
|
511
2366
|
</details>
|
|
512
2367
|
|
|
513
2368
|
<details>
|
|
514
|
-
<summary><code>
|
|
2369
|
+
<summary><code>POST</code> <b><code>simplefunctions.api.thesis.create</code></b></summary>
|
|
515
2370
|
|
|
516
|
-
<code>
|
|
2371
|
+
<code>POST https://simplefunctions.dev/api/thesis/create{query}</code>
|
|
517
2372
|
|
|
518
|
-
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/
|
|
2373
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/thesis)
|
|
519
2374
|
|
|
520
2375
|
```typescript
|
|
521
|
-
const res = await simplefunctions.api.
|
|
2376
|
+
const res = await simplefunctions.api.thesis.create({ /* ... */ });
|
|
522
2377
|
```
|
|
523
2378
|
|
|
524
2379
|
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
@@ -526,14 +2381,14 @@ Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplef
|
|
|
526
2381
|
</details>
|
|
527
2382
|
|
|
528
2383
|
<details>
|
|
529
|
-
<summary><code>
|
|
2384
|
+
<summary><code>DELETE</code> <b><code>simplefunctions.api.thesis</code></b></summary>
|
|
530
2385
|
|
|
531
|
-
<code>
|
|
2386
|
+
<code>DELETE https://simplefunctions.dev/api/thesis/{id}</code>
|
|
532
2387
|
|
|
533
|
-
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/
|
|
2388
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/thesis)
|
|
534
2389
|
|
|
535
2390
|
```typescript
|
|
536
|
-
const res = await simplefunctions.api.
|
|
2391
|
+
const res = await simplefunctions.api.thesis({ /* ... */ });
|
|
537
2392
|
```
|
|
538
2393
|
|
|
539
2394
|
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
@@ -541,14 +2396,14 @@ Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplef
|
|
|
541
2396
|
</details>
|
|
542
2397
|
|
|
543
2398
|
<details>
|
|
544
|
-
<summary><code>
|
|
2399
|
+
<summary><code>POST</code> <b><code>simplefunctions.api.thesis.evaluate</code></b></summary>
|
|
545
2400
|
|
|
546
|
-
<code>
|
|
2401
|
+
<code>POST https://simplefunctions.dev/api/thesis/{id}/evaluate</code>
|
|
547
2402
|
|
|
548
|
-
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/
|
|
2403
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/thesis)
|
|
549
2404
|
|
|
550
2405
|
```typescript
|
|
551
|
-
const res = await simplefunctions.api.
|
|
2406
|
+
const res = await simplefunctions.api.thesis.evaluate({ /* ... */ });
|
|
552
2407
|
```
|
|
553
2408
|
|
|
554
2409
|
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
@@ -556,14 +2411,14 @@ Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplef
|
|
|
556
2411
|
</details>
|
|
557
2412
|
|
|
558
2413
|
<details>
|
|
559
|
-
<summary><code>GET</code> <b><code>simplefunctions.api.
|
|
2414
|
+
<summary><code>GET</code> <b><code>simplefunctions.api.thesis.evaluations</code></b></summary>
|
|
560
2415
|
|
|
561
|
-
<code>GET https://simplefunctions.dev/api/
|
|
2416
|
+
<code>GET https://simplefunctions.dev/api/thesis/{id}/evaluations</code>
|
|
562
2417
|
|
|
563
|
-
[Upstream docs ↗](https://docs.simplefunctions.dev/reference/
|
|
2418
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/thesis)
|
|
564
2419
|
|
|
565
2420
|
```typescript
|
|
566
|
-
const res = await simplefunctions.api.
|
|
2421
|
+
const res = await simplefunctions.api.thesis.evaluations({ /* ... */ });
|
|
567
2422
|
```
|
|
568
2423
|
|
|
569
2424
|
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
@@ -571,14 +2426,14 @@ Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplef
|
|
|
571
2426
|
</details>
|
|
572
2427
|
|
|
573
2428
|
<details>
|
|
574
|
-
<summary><code>
|
|
2429
|
+
<summary><code>POST</code> <b><code>simplefunctions.api.thesis.fork</code></b></summary>
|
|
575
2430
|
|
|
576
|
-
<code>
|
|
2431
|
+
<code>POST https://simplefunctions.dev/api/thesis/{id}/fork</code>
|
|
577
2432
|
|
|
578
|
-
[Upstream docs ↗](https://docs.simplefunctions.dev/reference/
|
|
2433
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/thesis)
|
|
579
2434
|
|
|
580
2435
|
```typescript
|
|
581
|
-
const res = await simplefunctions.api.
|
|
2436
|
+
const res = await simplefunctions.api.thesis.fork({ /* ... */ });
|
|
582
2437
|
```
|
|
583
2438
|
|
|
584
2439
|
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
@@ -586,14 +2441,14 @@ Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplef
|
|
|
586
2441
|
</details>
|
|
587
2442
|
|
|
588
2443
|
<details>
|
|
589
|
-
<summary><code>GET</code> <b><code>simplefunctions.api.
|
|
2444
|
+
<summary><code>GET</code> <b><code>simplefunctions.api.thesis.heartbeat</code></b></summary>
|
|
590
2445
|
|
|
591
|
-
<code>GET https://simplefunctions.dev/api/
|
|
2446
|
+
<code>GET https://simplefunctions.dev/api/thesis/{id}/heartbeat</code>
|
|
592
2447
|
|
|
593
|
-
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/
|
|
2448
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/thesis)
|
|
594
2449
|
|
|
595
2450
|
```typescript
|
|
596
|
-
const res = await simplefunctions.api.
|
|
2451
|
+
const res = await simplefunctions.api.thesis.heartbeat({ /* ... */ });
|
|
597
2452
|
```
|
|
598
2453
|
|
|
599
2454
|
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
@@ -601,14 +2456,14 @@ Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplef
|
|
|
601
2456
|
</details>
|
|
602
2457
|
|
|
603
2458
|
<details>
|
|
604
|
-
<summary><code>
|
|
2459
|
+
<summary><code>PATCH</code> <b><code>simplefunctions.api.thesis.heartbeat.update</code></b></summary>
|
|
605
2460
|
|
|
606
|
-
<code>
|
|
2461
|
+
<code>PATCH https://simplefunctions.dev/api/thesis/{id}/heartbeat</code>
|
|
607
2462
|
|
|
608
|
-
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/
|
|
2463
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/thesis)
|
|
609
2464
|
|
|
610
2465
|
```typescript
|
|
611
|
-
const res = await simplefunctions.api.
|
|
2466
|
+
const res = await simplefunctions.api.thesis.heartbeat.update({ /* ... */ });
|
|
612
2467
|
```
|
|
613
2468
|
|
|
614
2469
|
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
@@ -616,14 +2471,14 @@ Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplef
|
|
|
616
2471
|
</details>
|
|
617
2472
|
|
|
618
2473
|
<details>
|
|
619
|
-
<summary><code>
|
|
2474
|
+
<summary><code>POST</code> <b><code>simplefunctions.api.thesis.nodes</code></b></summary>
|
|
620
2475
|
|
|
621
|
-
<code>
|
|
2476
|
+
<code>POST https://simplefunctions.dev/api/thesis/{id}/nodes</code>
|
|
622
2477
|
|
|
623
|
-
[Upstream docs ↗](https://docs.simplefunctions.dev/reference/
|
|
2478
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/thesis)
|
|
624
2479
|
|
|
625
2480
|
```typescript
|
|
626
|
-
const res = await simplefunctions.api.
|
|
2481
|
+
const res = await simplefunctions.api.thesis.nodes({ /* ... */ });
|
|
627
2482
|
```
|
|
628
2483
|
|
|
629
2484
|
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
@@ -631,14 +2486,14 @@ Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplef
|
|
|
631
2486
|
</details>
|
|
632
2487
|
|
|
633
2488
|
<details>
|
|
634
|
-
<summary><code>
|
|
2489
|
+
<summary><code>POST</code> <b><code>simplefunctions.api.thesis.positions.create</code></b></summary>
|
|
635
2490
|
|
|
636
|
-
<code>
|
|
2491
|
+
<code>POST https://simplefunctions.dev/api/thesis/{id}/positions</code>
|
|
637
2492
|
|
|
638
|
-
[Upstream docs ↗](https://docs.simplefunctions.dev/reference/
|
|
2493
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/thesis)
|
|
639
2494
|
|
|
640
2495
|
```typescript
|
|
641
|
-
const res = await simplefunctions.api.
|
|
2496
|
+
const res = await simplefunctions.api.thesis.positions.create({ /* ... */ });
|
|
642
2497
|
```
|
|
643
2498
|
|
|
644
2499
|
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
@@ -646,14 +2501,14 @@ Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplef
|
|
|
646
2501
|
</details>
|
|
647
2502
|
|
|
648
2503
|
<details>
|
|
649
|
-
<summary><code>
|
|
2504
|
+
<summary><code>DELETE</code> <b><code>simplefunctions.api.thesis.positions</code></b></summary>
|
|
650
2505
|
|
|
651
|
-
<code>
|
|
2506
|
+
<code>DELETE https://simplefunctions.dev/api/thesis/{id}/positions/{posId}</code>
|
|
652
2507
|
|
|
653
|
-
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/
|
|
2508
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/thesis)
|
|
654
2509
|
|
|
655
2510
|
```typescript
|
|
656
|
-
const res = await simplefunctions.api.
|
|
2511
|
+
const res = await simplefunctions.api.thesis.positions({ /* ... */ });
|
|
657
2512
|
```
|
|
658
2513
|
|
|
659
2514
|
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
@@ -661,14 +2516,14 @@ Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplef
|
|
|
661
2516
|
</details>
|
|
662
2517
|
|
|
663
2518
|
<details>
|
|
664
|
-
<summary><code>GET</code> <b><code>simplefunctions.api.
|
|
2519
|
+
<summary><code>GET</code> <b><code>simplefunctions.api.thesis.positions.list</code></b></summary>
|
|
665
2520
|
|
|
666
|
-
<code>GET https://simplefunctions.dev/api/
|
|
2521
|
+
<code>GET https://simplefunctions.dev/api/thesis/{id}/positions</code>
|
|
667
2522
|
|
|
668
|
-
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/
|
|
2523
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/thesis)
|
|
669
2524
|
|
|
670
2525
|
```typescript
|
|
671
|
-
const res = await simplefunctions.api.
|
|
2526
|
+
const res = await simplefunctions.api.thesis.positions.list({ /* ... */ });
|
|
672
2527
|
```
|
|
673
2528
|
|
|
674
2529
|
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
@@ -676,14 +2531,14 @@ Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplef
|
|
|
676
2531
|
</details>
|
|
677
2532
|
|
|
678
2533
|
<details>
|
|
679
|
-
<summary><code>
|
|
2534
|
+
<summary><code>PATCH</code> <b><code>simplefunctions.api.thesis.positions.update</code></b></summary>
|
|
680
2535
|
|
|
681
|
-
<code>
|
|
2536
|
+
<code>PATCH https://simplefunctions.dev/api/thesis/{id}/positions/{posId}</code>
|
|
682
2537
|
|
|
683
|
-
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/
|
|
2538
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/thesis)
|
|
684
2539
|
|
|
685
2540
|
```typescript
|
|
686
|
-
const res = await simplefunctions.api.
|
|
2541
|
+
const res = await simplefunctions.api.thesis.positions.update({ /* ... */ });
|
|
687
2542
|
```
|
|
688
2543
|
|
|
689
2544
|
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
@@ -691,14 +2546,14 @@ Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplef
|
|
|
691
2546
|
</details>
|
|
692
2547
|
|
|
693
2548
|
<details>
|
|
694
|
-
<summary><code>GET</code> <b><code>simplefunctions.api.
|
|
2549
|
+
<summary><code>GET</code> <b><code>simplefunctions.api.thesis.prompt</code></b></summary>
|
|
695
2550
|
|
|
696
|
-
<code>GET https://simplefunctions.dev/api/
|
|
2551
|
+
<code>GET https://simplefunctions.dev/api/thesis/{id}/prompt</code>
|
|
697
2552
|
|
|
698
|
-
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/
|
|
2553
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/thesis)
|
|
699
2554
|
|
|
700
2555
|
```typescript
|
|
701
|
-
const res = await simplefunctions.api.
|
|
2556
|
+
const res = await simplefunctions.api.thesis.prompt({ /* ... */ });
|
|
702
2557
|
```
|
|
703
2558
|
|
|
704
2559
|
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
@@ -706,14 +2561,14 @@ Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplef
|
|
|
706
2561
|
</details>
|
|
707
2562
|
|
|
708
2563
|
<details>
|
|
709
|
-
<summary><code>
|
|
2564
|
+
<summary><code>POST</code> <b><code>simplefunctions.api.thesis.publish</code></b></summary>
|
|
710
2565
|
|
|
711
|
-
<code>
|
|
2566
|
+
<code>POST https://simplefunctions.dev/api/thesis/{id}/publish</code>
|
|
712
2567
|
|
|
713
|
-
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/
|
|
2568
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/thesis)
|
|
714
2569
|
|
|
715
2570
|
```typescript
|
|
716
|
-
const res = await simplefunctions.api.
|
|
2571
|
+
const res = await simplefunctions.api.thesis.publish({ /* ... */ });
|
|
717
2572
|
```
|
|
718
2573
|
|
|
719
2574
|
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
@@ -721,14 +2576,14 @@ Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplef
|
|
|
721
2576
|
</details>
|
|
722
2577
|
|
|
723
2578
|
<details>
|
|
724
|
-
<summary><code>GET</code> <b><code>simplefunctions.api.
|
|
2579
|
+
<summary><code>GET</code> <b><code>simplefunctions.api.thesis.retrieve</code></b></summary>
|
|
725
2580
|
|
|
726
|
-
<code>GET https://simplefunctions.dev/api/
|
|
2581
|
+
<code>GET https://simplefunctions.dev/api/thesis/{id}{query}</code>
|
|
727
2582
|
|
|
728
|
-
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/
|
|
2583
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/thesis)
|
|
729
2584
|
|
|
730
2585
|
```typescript
|
|
731
|
-
const res = await simplefunctions.api.
|
|
2586
|
+
const res = await simplefunctions.api.thesis.retrieve({ /* ... */ });
|
|
732
2587
|
```
|
|
733
2588
|
|
|
734
2589
|
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
@@ -736,17 +2591,14 @@ Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplef
|
|
|
736
2591
|
</details>
|
|
737
2592
|
|
|
738
2593
|
<details>
|
|
739
|
-
<summary><code>
|
|
2594
|
+
<summary><code>POST</code> <b><code>simplefunctions.api.thesis.signal</code></b></summary>
|
|
740
2595
|
|
|
741
|
-
<code>
|
|
2596
|
+
<code>POST https://simplefunctions.dev/api/thesis/{id}/signal</code>
|
|
742
2597
|
|
|
743
|
-
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/
|
|
2598
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/thesis)
|
|
744
2599
|
|
|
745
2600
|
```typescript
|
|
746
|
-
const res = await simplefunctions.api.
|
|
747
|
-
ticker: "KXRATECUT-26DEC31",
|
|
748
|
-
depth: true,
|
|
749
|
-
});
|
|
2601
|
+
const res = await simplefunctions.api.thesis.signal({ /* ... */ });
|
|
750
2602
|
```
|
|
751
2603
|
|
|
752
2604
|
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
@@ -754,14 +2606,14 @@ Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplef
|
|
|
754
2606
|
</details>
|
|
755
2607
|
|
|
756
2608
|
<details>
|
|
757
|
-
<summary><code>
|
|
2609
|
+
<summary><code>POST</code> <b><code>simplefunctions.api.thesis.strategies.create</code></b></summary>
|
|
758
2610
|
|
|
759
|
-
<code>
|
|
2611
|
+
<code>POST https://simplefunctions.dev/api/thesis/{id}/strategies</code>
|
|
760
2612
|
|
|
761
|
-
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/
|
|
2613
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/thesis)
|
|
762
2614
|
|
|
763
2615
|
```typescript
|
|
764
|
-
const res = await simplefunctions.api.
|
|
2616
|
+
const res = await simplefunctions.api.thesis.strategies.create({ /* ... */ });
|
|
765
2617
|
```
|
|
766
2618
|
|
|
767
2619
|
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
@@ -769,16 +2621,14 @@ Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplef
|
|
|
769
2621
|
</details>
|
|
770
2622
|
|
|
771
2623
|
<details>
|
|
772
|
-
<summary><code>
|
|
2624
|
+
<summary><code>DELETE</code> <b><code>simplefunctions.api.thesis.strategies</code></b></summary>
|
|
773
2625
|
|
|
774
|
-
<code>
|
|
2626
|
+
<code>DELETE https://simplefunctions.dev/api/thesis/{id}/strategies/{sid}</code>
|
|
775
2627
|
|
|
776
|
-
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/
|
|
2628
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/thesis)
|
|
777
2629
|
|
|
778
2630
|
```typescript
|
|
779
|
-
const res = await simplefunctions.api.
|
|
780
|
-
ticker: "KXRATECUT-26DEC31",
|
|
781
|
-
});
|
|
2631
|
+
const res = await simplefunctions.api.thesis.strategies({ /* ... */ });
|
|
782
2632
|
```
|
|
783
2633
|
|
|
784
2634
|
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
@@ -786,14 +2636,14 @@ Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplef
|
|
|
786
2636
|
</details>
|
|
787
2637
|
|
|
788
2638
|
<details>
|
|
789
|
-
<summary><code>GET</code> <b><code>simplefunctions.api.
|
|
2639
|
+
<summary><code>GET</code> <b><code>simplefunctions.api.thesis.strategies.list</code></b></summary>
|
|
790
2640
|
|
|
791
|
-
<code>GET https://simplefunctions.dev/api/
|
|
2641
|
+
<code>GET https://simplefunctions.dev/api/thesis/{id}/strategies{query}</code>
|
|
792
2642
|
|
|
793
|
-
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/
|
|
2643
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/thesis)
|
|
794
2644
|
|
|
795
2645
|
```typescript
|
|
796
|
-
const res = await simplefunctions.api.
|
|
2646
|
+
const res = await simplefunctions.api.thesis.strategies.list({ /* ... */ });
|
|
797
2647
|
```
|
|
798
2648
|
|
|
799
2649
|
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
@@ -801,14 +2651,14 @@ Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplef
|
|
|
801
2651
|
</details>
|
|
802
2652
|
|
|
803
2653
|
<details>
|
|
804
|
-
<summary><code>
|
|
2654
|
+
<summary><code>PATCH</code> <b><code>simplefunctions.api.thesis.strategies.update</code></b></summary>
|
|
805
2655
|
|
|
806
|
-
<code>
|
|
2656
|
+
<code>PATCH https://simplefunctions.dev/api/thesis/{id}/strategies/{sid}</code>
|
|
807
2657
|
|
|
808
|
-
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/
|
|
2658
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/thesis)
|
|
809
2659
|
|
|
810
2660
|
```typescript
|
|
811
|
-
const res = await simplefunctions.api.
|
|
2661
|
+
const res = await simplefunctions.api.thesis.strategies.update({ /* ... */ });
|
|
812
2662
|
```
|
|
813
2663
|
|
|
814
2664
|
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
@@ -816,14 +2666,14 @@ Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplef
|
|
|
816
2666
|
</details>
|
|
817
2667
|
|
|
818
2668
|
<details>
|
|
819
|
-
<summary><code>
|
|
2669
|
+
<summary><code>DELETE</code> <b><code>simplefunctions.api.thesis.unpublish</code></b></summary>
|
|
820
2670
|
|
|
821
|
-
<code>
|
|
2671
|
+
<code>DELETE https://simplefunctions.dev/api/thesis/{id}/publish</code>
|
|
822
2672
|
|
|
823
|
-
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/
|
|
2673
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/thesis)
|
|
824
2674
|
|
|
825
2675
|
```typescript
|
|
826
|
-
const res = await simplefunctions.api.
|
|
2676
|
+
const res = await simplefunctions.api.thesis.unpublish({ /* ... */ });
|
|
827
2677
|
```
|
|
828
2678
|
|
|
829
2679
|
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
@@ -831,14 +2681,14 @@ Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplef
|
|
|
831
2681
|
</details>
|
|
832
2682
|
|
|
833
2683
|
<details>
|
|
834
|
-
<summary><code>
|
|
2684
|
+
<summary><code>PATCH</code> <b><code>simplefunctions.api.thesis.update</code></b></summary>
|
|
835
2685
|
|
|
836
|
-
<code>
|
|
2686
|
+
<code>PATCH https://simplefunctions.dev/api/thesis/{id}</code>
|
|
837
2687
|
|
|
838
|
-
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/
|
|
2688
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/thesis)
|
|
839
2689
|
|
|
840
2690
|
```typescript
|
|
841
|
-
const res = await simplefunctions.api.
|
|
2691
|
+
const res = await simplefunctions.api.thesis.update({ /* ... */ });
|
|
842
2692
|
```
|
|
843
2693
|
|
|
844
2694
|
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
@@ -846,14 +2696,14 @@ Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplef
|
|
|
846
2696
|
</details>
|
|
847
2697
|
|
|
848
2698
|
<details>
|
|
849
|
-
<summary><code>GET</code> <b><code>simplefunctions.api.
|
|
2699
|
+
<summary><code>GET</code> <b><code>simplefunctions.api.thesis.videoData</code></b></summary>
|
|
850
2700
|
|
|
851
|
-
<code>GET https://simplefunctions.dev/api/
|
|
2701
|
+
<code>GET https://simplefunctions.dev/api/thesis/{id}/video-data</code>
|
|
852
2702
|
|
|
853
|
-
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/
|
|
2703
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/thesis)
|
|
854
2704
|
|
|
855
2705
|
```typescript
|
|
856
|
-
const res = await simplefunctions.api.
|
|
2706
|
+
const res = await simplefunctions.api.thesis.videoData({ /* ... */ });
|
|
857
2707
|
```
|
|
858
2708
|
|
|
859
2709
|
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
@@ -861,14 +2711,14 @@ Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplef
|
|
|
861
2711
|
</details>
|
|
862
2712
|
|
|
863
2713
|
<details>
|
|
864
|
-
<summary><code>
|
|
2714
|
+
<summary><code>POST</code> <b><code>simplefunctions.api.thesis.videos.create</code></b></summary>
|
|
865
2715
|
|
|
866
|
-
<code>
|
|
2716
|
+
<code>POST https://simplefunctions.dev/api/thesis/{id}/videos</code>
|
|
867
2717
|
|
|
868
|
-
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/
|
|
2718
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/thesis)
|
|
869
2719
|
|
|
870
2720
|
```typescript
|
|
871
|
-
const res = await simplefunctions.api.
|
|
2721
|
+
const res = await simplefunctions.api.thesis.videos.create({ /* ... */ });
|
|
872
2722
|
```
|
|
873
2723
|
|
|
874
2724
|
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
@@ -876,14 +2726,14 @@ Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplef
|
|
|
876
2726
|
</details>
|
|
877
2727
|
|
|
878
2728
|
<details>
|
|
879
|
-
<summary><code>GET</code> <b><code>simplefunctions.api.
|
|
2729
|
+
<summary><code>GET</code> <b><code>simplefunctions.api.thesis.videos.list</code></b></summary>
|
|
880
2730
|
|
|
881
|
-
<code>GET https://simplefunctions.dev/api/
|
|
2731
|
+
<code>GET https://simplefunctions.dev/api/thesis/{id}/videos</code>
|
|
882
2732
|
|
|
883
|
-
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/
|
|
2733
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/thesis)
|
|
884
2734
|
|
|
885
2735
|
```typescript
|
|
886
|
-
const res = await simplefunctions.api.
|
|
2736
|
+
const res = await simplefunctions.api.thesis.videos.list({ /* ... */ });
|
|
887
2737
|
```
|
|
888
2738
|
|
|
889
2739
|
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
@@ -891,48 +2741,48 @@ Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplef
|
|
|
891
2741
|
</details>
|
|
892
2742
|
|
|
893
2743
|
<details>
|
|
894
|
-
<summary><code>
|
|
2744
|
+
<summary><code>POST</code> <b><code>simplefunctions.api.thesis.whatif</code></b></summary>
|
|
895
2745
|
|
|
896
|
-
<code>
|
|
2746
|
+
<code>POST https://simplefunctions.dev/api/thesis/{id}/whatif</code>
|
|
897
2747
|
|
|
898
|
-
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/
|
|
2748
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/thesis)
|
|
899
2749
|
|
|
900
2750
|
```typescript
|
|
901
|
-
const res = await simplefunctions.api.
|
|
902
|
-
q: "Fed rate cut",
|
|
903
|
-
sources: ["kalshi", "polymarket"],
|
|
904
|
-
limit: 3,
|
|
905
|
-
});
|
|
2751
|
+
const res = await simplefunctions.api.thesis.whatif({ /* ... */ });
|
|
906
2752
|
```
|
|
907
2753
|
|
|
908
2754
|
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
909
2755
|
|
|
910
2756
|
</details>
|
|
911
2757
|
|
|
2758
|
+
### tools
|
|
2759
|
+
|
|
912
2760
|
<details>
|
|
913
|
-
<summary><code>GET</code> <b><code>simplefunctions.api.
|
|
2761
|
+
<summary><code>GET</code> <b><code>simplefunctions.api.tools</code></b></summary>
|
|
914
2762
|
|
|
915
|
-
<code>GET https://simplefunctions.dev/api/
|
|
2763
|
+
<code>GET https://simplefunctions.dev/api/tools{query}</code>
|
|
916
2764
|
|
|
917
|
-
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/
|
|
2765
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/tools)
|
|
918
2766
|
|
|
919
2767
|
```typescript
|
|
920
|
-
const res = await simplefunctions.api.
|
|
2768
|
+
const res = await simplefunctions.api.tools({ /* ... */ });
|
|
921
2769
|
```
|
|
922
2770
|
|
|
923
2771
|
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
924
2772
|
|
|
925
2773
|
</details>
|
|
926
2774
|
|
|
2775
|
+
### watch
|
|
2776
|
+
|
|
927
2777
|
<details>
|
|
928
|
-
<summary><code>GET</code> <b><code>simplefunctions.api.
|
|
2778
|
+
<summary><code>GET</code> <b><code>simplefunctions.api.watch</code></b></summary>
|
|
929
2779
|
|
|
930
|
-
<code>GET https://simplefunctions.dev/api/
|
|
2780
|
+
<code>GET https://simplefunctions.dev/api/watch{query}</code>
|
|
931
2781
|
|
|
932
|
-
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/
|
|
2782
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/watch-alerts)
|
|
933
2783
|
|
|
934
2784
|
```typescript
|
|
935
|
-
const res = await simplefunctions.api.
|
|
2785
|
+
const res = await simplefunctions.api.watch({ /* ... */ });
|
|
936
2786
|
```
|
|
937
2787
|
|
|
938
2788
|
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
@@ -940,14 +2790,14 @@ Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplef
|
|
|
940
2790
|
</details>
|
|
941
2791
|
|
|
942
2792
|
<details>
|
|
943
|
-
<summary><code>
|
|
2793
|
+
<summary><code>POST</code> <b><code>simplefunctions.api.watch.create</code></b></summary>
|
|
944
2794
|
|
|
945
|
-
<code>
|
|
2795
|
+
<code>POST https://simplefunctions.dev/api/watch</code>
|
|
946
2796
|
|
|
947
|
-
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/
|
|
2797
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/watch-alerts)
|
|
948
2798
|
|
|
949
2799
|
```typescript
|
|
950
|
-
const res = await simplefunctions.api.
|
|
2800
|
+
const res = await simplefunctions.api.watch.create({ /* ... */ });
|
|
951
2801
|
```
|
|
952
2802
|
|
|
953
2803
|
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
@@ -955,14 +2805,14 @@ Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplef
|
|
|
955
2805
|
</details>
|
|
956
2806
|
|
|
957
2807
|
<details>
|
|
958
|
-
<summary><code>
|
|
2808
|
+
<summary><code>DELETE</code> <b><code>simplefunctions.api.watch</code></b></summary>
|
|
959
2809
|
|
|
960
|
-
<code>
|
|
2810
|
+
<code>DELETE https://simplefunctions.dev/api/watch/{id}</code>
|
|
961
2811
|
|
|
962
|
-
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/
|
|
2812
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/watch-alerts)
|
|
963
2813
|
|
|
964
2814
|
```typescript
|
|
965
|
-
const res = await simplefunctions.api.
|
|
2815
|
+
const res = await simplefunctions.api.watch({ /* ... */ });
|
|
966
2816
|
```
|
|
967
2817
|
|
|
968
2818
|
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
@@ -970,14 +2820,14 @@ Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplef
|
|
|
970
2820
|
</details>
|
|
971
2821
|
|
|
972
2822
|
<details>
|
|
973
|
-
<summary><code>
|
|
2823
|
+
<summary><code>POST</code> <b><code>simplefunctions.api.watch.identify</code></b></summary>
|
|
974
2824
|
|
|
975
|
-
<code>
|
|
2825
|
+
<code>POST https://simplefunctions.dev/api/watch/identify</code>
|
|
976
2826
|
|
|
977
|
-
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/
|
|
2827
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/watch-alerts)
|
|
978
2828
|
|
|
979
2829
|
```typescript
|
|
980
|
-
const res = await simplefunctions.api.
|
|
2830
|
+
const res = await simplefunctions.api.watch.identify({ /* ... */ });
|
|
981
2831
|
```
|
|
982
2832
|
|
|
983
2833
|
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
@@ -985,14 +2835,14 @@ Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplef
|
|
|
985
2835
|
</details>
|
|
986
2836
|
|
|
987
2837
|
<details>
|
|
988
|
-
<summary><code>
|
|
2838
|
+
<summary><code>POST</code> <b><code>simplefunctions.api.watch.refresh</code></b></summary>
|
|
989
2839
|
|
|
990
|
-
<code>
|
|
2840
|
+
<code>POST https://simplefunctions.dev/api/watch/{id}/refresh</code>
|
|
991
2841
|
|
|
992
|
-
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/
|
|
2842
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/watch-alerts)
|
|
993
2843
|
|
|
994
2844
|
```typescript
|
|
995
|
-
const res = await simplefunctions.api.
|
|
2845
|
+
const res = await simplefunctions.api.watch.refresh({ /* ... */ });
|
|
996
2846
|
```
|
|
997
2847
|
|
|
998
2848
|
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
@@ -1000,14 +2850,14 @@ Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplef
|
|
|
1000
2850
|
</details>
|
|
1001
2851
|
|
|
1002
2852
|
<details>
|
|
1003
|
-
<summary><code>GET</code> <b><code>simplefunctions.api.
|
|
2853
|
+
<summary><code>GET</code> <b><code>simplefunctions.api.watch.retrieve</code></b></summary>
|
|
1004
2854
|
|
|
1005
|
-
<code>GET https://simplefunctions.dev/api/
|
|
2855
|
+
<code>GET https://simplefunctions.dev/api/watch/{id}</code>
|
|
1006
2856
|
|
|
1007
|
-
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/
|
|
2857
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/watch-alerts)
|
|
1008
2858
|
|
|
1009
2859
|
```typescript
|
|
1010
|
-
const res = await simplefunctions.api.
|
|
2860
|
+
const res = await simplefunctions.api.watch.retrieve({ /* ... */ });
|
|
1011
2861
|
```
|
|
1012
2862
|
|
|
1013
2863
|
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
@@ -1015,29 +2865,31 @@ Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplef
|
|
|
1015
2865
|
</details>
|
|
1016
2866
|
|
|
1017
2867
|
<details>
|
|
1018
|
-
<summary><code>
|
|
2868
|
+
<summary><code>PATCH</code> <b><code>simplefunctions.api.watch.update</code></b></summary>
|
|
1019
2869
|
|
|
1020
|
-
<code>
|
|
2870
|
+
<code>PATCH https://simplefunctions.dev/api/watch/{id}</code>
|
|
1021
2871
|
|
|
1022
|
-
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/
|
|
2872
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/watch-alerts)
|
|
1023
2873
|
|
|
1024
2874
|
```typescript
|
|
1025
|
-
const res = await simplefunctions.api.
|
|
2875
|
+
const res = await simplefunctions.api.watch.update({ /* ... */ });
|
|
1026
2876
|
```
|
|
1027
2877
|
|
|
1028
2878
|
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
1029
2879
|
|
|
1030
2880
|
</details>
|
|
1031
2881
|
|
|
2882
|
+
### webhookEndpoints
|
|
2883
|
+
|
|
1032
2884
|
<details>
|
|
1033
|
-
<summary><code>GET</code> <b><code>simplefunctions.api.
|
|
2885
|
+
<summary><code>GET</code> <b><code>simplefunctions.api.webhookEndpoints</code></b></summary>
|
|
1034
2886
|
|
|
1035
|
-
<code>GET https://simplefunctions.dev/api/
|
|
2887
|
+
<code>GET https://simplefunctions.dev/api/webhook-endpoints{query}</code>
|
|
1036
2888
|
|
|
1037
|
-
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/
|
|
2889
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/watch-alerts)
|
|
1038
2890
|
|
|
1039
2891
|
```typescript
|
|
1040
|
-
const res = await simplefunctions.api.
|
|
2892
|
+
const res = await simplefunctions.api.webhookEndpoints({ /* ... */ });
|
|
1041
2893
|
```
|
|
1042
2894
|
|
|
1043
2895
|
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
@@ -1045,14 +2897,14 @@ Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplef
|
|
|
1045
2897
|
</details>
|
|
1046
2898
|
|
|
1047
2899
|
<details>
|
|
1048
|
-
<summary><code>
|
|
2900
|
+
<summary><code>POST</code> <b><code>simplefunctions.api.webhookEndpoints.create</code></b></summary>
|
|
1049
2901
|
|
|
1050
|
-
<code>
|
|
2902
|
+
<code>POST https://simplefunctions.dev/api/webhook-endpoints</code>
|
|
1051
2903
|
|
|
1052
|
-
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/
|
|
2904
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/watch-alerts)
|
|
1053
2905
|
|
|
1054
2906
|
```typescript
|
|
1055
|
-
const res = await simplefunctions.api.
|
|
2907
|
+
const res = await simplefunctions.api.webhookEndpoints.create({ /* ... */ });
|
|
1056
2908
|
```
|
|
1057
2909
|
|
|
1058
2910
|
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
@@ -1060,14 +2912,14 @@ Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplef
|
|
|
1060
2912
|
</details>
|
|
1061
2913
|
|
|
1062
2914
|
<details>
|
|
1063
|
-
<summary><code>
|
|
2915
|
+
<summary><code>DELETE</code> <b><code>simplefunctions.api.webhookEndpoints</code></b></summary>
|
|
1064
2916
|
|
|
1065
|
-
<code>
|
|
2917
|
+
<code>DELETE https://simplefunctions.dev/api/webhook-endpoints/{id}</code>
|
|
1066
2918
|
|
|
1067
|
-
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/
|
|
2919
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/watch-alerts)
|
|
1068
2920
|
|
|
1069
2921
|
```typescript
|
|
1070
|
-
const res = await simplefunctions.api.
|
|
2922
|
+
const res = await simplefunctions.api.webhookEndpoints({ /* ... */ });
|
|
1071
2923
|
```
|
|
1072
2924
|
|
|
1073
2925
|
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
@@ -1075,14 +2927,14 @@ Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplef
|
|
|
1075
2927
|
</details>
|
|
1076
2928
|
|
|
1077
2929
|
<details>
|
|
1078
|
-
<summary><code>
|
|
2930
|
+
<summary><code>POST</code> <b><code>simplefunctions.api.webhookEndpoints.test</code></b></summary>
|
|
1079
2931
|
|
|
1080
|
-
<code>
|
|
2932
|
+
<code>POST https://simplefunctions.dev/api/webhook-endpoints/{id}/test</code>
|
|
1081
2933
|
|
|
1082
|
-
[Upstream docs ↗](https://docs.simplefunctions.dev/reference/
|
|
2934
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/watch-alerts)
|
|
1083
2935
|
|
|
1084
2936
|
```typescript
|
|
1085
|
-
const res = await simplefunctions.api.
|
|
2937
|
+
const res = await simplefunctions.api.webhookEndpoints.test({ /* ... */ });
|
|
1086
2938
|
```
|
|
1087
2939
|
|
|
1088
2940
|
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
@@ -1090,29 +2942,31 @@ Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplef
|
|
|
1090
2942
|
</details>
|
|
1091
2943
|
|
|
1092
2944
|
<details>
|
|
1093
|
-
<summary><code>
|
|
2945
|
+
<summary><code>PATCH</code> <b><code>simplefunctions.api.webhookEndpoints.update</code></b></summary>
|
|
1094
2946
|
|
|
1095
|
-
<code>
|
|
2947
|
+
<code>PATCH https://simplefunctions.dev/api/webhook-endpoints/{id}</code>
|
|
1096
2948
|
|
|
1097
|
-
[Upstream docs ↗](https://docs.simplefunctions.dev/reference/
|
|
2949
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/api-reference/watch-alerts)
|
|
1098
2950
|
|
|
1099
2951
|
```typescript
|
|
1100
|
-
const res = await simplefunctions.api.
|
|
2952
|
+
const res = await simplefunctions.api.webhookEndpoints.update({ /* ... */ });
|
|
1101
2953
|
```
|
|
1102
2954
|
|
|
1103
2955
|
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
1104
2956
|
|
|
1105
2957
|
</details>
|
|
1106
2958
|
|
|
2959
|
+
### x
|
|
2960
|
+
|
|
1107
2961
|
<details>
|
|
1108
|
-
<summary><code>GET</code> <b><code>simplefunctions.api.
|
|
2962
|
+
<summary><code>GET</code> <b><code>simplefunctions.api.x.account</code></b></summary>
|
|
1109
2963
|
|
|
1110
|
-
<code>GET https://simplefunctions.dev/api/
|
|
2964
|
+
<code>GET https://simplefunctions.dev/api/x/account{query}</code>
|
|
1111
2965
|
|
|
1112
|
-
[Upstream docs ↗](https://docs.simplefunctions.dev/
|
|
2966
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/inventory/surface-map)
|
|
1113
2967
|
|
|
1114
2968
|
```typescript
|
|
1115
|
-
const res = await simplefunctions.api.
|
|
2969
|
+
const res = await simplefunctions.api.x.account({ /* ... */ });
|
|
1116
2970
|
```
|
|
1117
2971
|
|
|
1118
2972
|
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
@@ -1120,14 +2974,14 @@ Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplef
|
|
|
1120
2974
|
</details>
|
|
1121
2975
|
|
|
1122
2976
|
<details>
|
|
1123
|
-
<summary><code>GET</code> <b><code>simplefunctions.api.
|
|
2977
|
+
<summary><code>GET</code> <b><code>simplefunctions.api.x.news</code></b></summary>
|
|
1124
2978
|
|
|
1125
|
-
<code>GET https://simplefunctions.dev/api/
|
|
2979
|
+
<code>GET https://simplefunctions.dev/api/x/news{query}</code>
|
|
1126
2980
|
|
|
1127
|
-
[Upstream docs ↗](https://docs.simplefunctions.dev/
|
|
2981
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/inventory/surface-map)
|
|
1128
2982
|
|
|
1129
2983
|
```typescript
|
|
1130
|
-
const res = await simplefunctions.api.
|
|
2984
|
+
const res = await simplefunctions.api.x.news({ /* ... */ });
|
|
1131
2985
|
```
|
|
1132
2986
|
|
|
1133
2987
|
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
@@ -1135,14 +2989,14 @@ Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplef
|
|
|
1135
2989
|
</details>
|
|
1136
2990
|
|
|
1137
2991
|
<details>
|
|
1138
|
-
<summary><code>GET</code> <b><code>simplefunctions.api.
|
|
2992
|
+
<summary><code>GET</code> <b><code>simplefunctions.api.x.search</code></b></summary>
|
|
1139
2993
|
|
|
1140
|
-
<code>GET https://simplefunctions.dev/api/
|
|
2994
|
+
<code>GET https://simplefunctions.dev/api/x/search{query}</code>
|
|
1141
2995
|
|
|
1142
|
-
[Upstream docs ↗](https://docs.simplefunctions.dev/
|
|
2996
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/inventory/surface-map)
|
|
1143
2997
|
|
|
1144
2998
|
```typescript
|
|
1145
|
-
const res = await simplefunctions.api.
|
|
2999
|
+
const res = await simplefunctions.api.x.search({ /* ... */ });
|
|
1146
3000
|
```
|
|
1147
3001
|
|
|
1148
3002
|
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|
|
@@ -1150,14 +3004,14 @@ Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplef
|
|
|
1150
3004
|
</details>
|
|
1151
3005
|
|
|
1152
3006
|
<details>
|
|
1153
|
-
<summary><code>GET</code> <b><code>simplefunctions.api.
|
|
3007
|
+
<summary><code>GET</code> <b><code>simplefunctions.api.x.volume</code></b></summary>
|
|
1154
3008
|
|
|
1155
|
-
<code>GET https://simplefunctions.dev/api/
|
|
3009
|
+
<code>GET https://simplefunctions.dev/api/x/volume{query}</code>
|
|
1156
3010
|
|
|
1157
|
-
[Upstream docs ↗](https://docs.simplefunctions.dev/
|
|
3011
|
+
[Upstream docs ↗](https://docs.simplefunctions.dev/inventory/surface-map)
|
|
1158
3012
|
|
|
1159
3013
|
```typescript
|
|
1160
|
-
const res = await simplefunctions.api.
|
|
3014
|
+
const res = await simplefunctions.api.x.volume({ /* ... */ });
|
|
1161
3015
|
```
|
|
1162
3016
|
|
|
1163
3017
|
Source: [`packages/provider/simplefunctions/src/simplefunctions.ts`](src/simplefunctions.ts)
|