@alva-ai/toolkit 0.19.0 → 0.20.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 +4 -1
- package/dist/browser.global.js +2 -2
- package/dist/browser.global.js.map +1 -1
- package/dist/cli.d.ts +25 -3
- package/dist/cli.js +897 -274
- package/dist/cli.js.map +1 -1
- package/dist/index.cjs +28 -18
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +16 -2
- package/dist/index.d.ts +16 -2
- package/dist/index.js +28 -18
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -327,6 +327,8 @@ var DeployResource = class {
|
|
|
327
327
|
}
|
|
328
328
|
/**
|
|
329
329
|
* Fire the cronjob workflow once, immediately, bypassing the schedule.
|
|
330
|
+
* This is not a dry run: when publisher push and subscriber alert bindings
|
|
331
|
+
* are enabled, a successful Feed execution may send real notifications.
|
|
330
332
|
* Async — returns the Hatchet workflow run id at enqueue. The
|
|
331
333
|
* `cronjob_runs` row can appear as DISPATCHED/RUNNING before it reaches a
|
|
332
334
|
* terminal status; callers verify completion by polling
|
|
@@ -1544,40 +1546,40 @@ var SKILL_ENDPOINT_METADATA = [
|
|
|
1544
1546
|
file: "contracts",
|
|
1545
1547
|
method: "GET",
|
|
1546
1548
|
path: "/api/v1/options/contracts",
|
|
1547
|
-
tier: "
|
|
1548
|
-
required_subscription_tier: "
|
|
1549
|
-
access: "
|
|
1550
|
-
pro_required:
|
|
1549
|
+
tier: "public",
|
|
1550
|
+
required_subscription_tier: "free",
|
|
1551
|
+
access: "free_and_pro",
|
|
1552
|
+
pro_required: false
|
|
1551
1553
|
},
|
|
1552
1554
|
{
|
|
1553
1555
|
skill: "arrays-data-api-options",
|
|
1554
1556
|
file: "kline",
|
|
1555
1557
|
method: "GET",
|
|
1556
1558
|
path: "/api/v1/options/kline",
|
|
1557
|
-
tier: "
|
|
1558
|
-
required_subscription_tier: "
|
|
1559
|
-
access: "
|
|
1560
|
-
pro_required:
|
|
1559
|
+
tier: "public",
|
|
1560
|
+
required_subscription_tier: "free",
|
|
1561
|
+
access: "free_and_pro",
|
|
1562
|
+
pro_required: false
|
|
1561
1563
|
},
|
|
1562
1564
|
{
|
|
1563
1565
|
skill: "arrays-data-api-options",
|
|
1564
1566
|
file: "greeks",
|
|
1565
1567
|
method: "GET",
|
|
1566
1568
|
path: "/api/v1/options/greeks",
|
|
1567
|
-
tier: "
|
|
1568
|
-
required_subscription_tier: "
|
|
1569
|
-
access: "
|
|
1570
|
-
pro_required:
|
|
1569
|
+
tier: "public",
|
|
1570
|
+
required_subscription_tier: "free",
|
|
1571
|
+
access: "free_and_pro",
|
|
1572
|
+
pro_required: false
|
|
1571
1573
|
},
|
|
1572
1574
|
{
|
|
1573
1575
|
skill: "arrays-data-api-options",
|
|
1574
1576
|
file: "chain",
|
|
1575
1577
|
method: "GET",
|
|
1576
1578
|
path: "/api/v1/options/chain",
|
|
1577
|
-
tier: "
|
|
1578
|
-
required_subscription_tier: "
|
|
1579
|
-
access: "
|
|
1580
|
-
pro_required:
|
|
1579
|
+
tier: "public",
|
|
1580
|
+
required_subscription_tier: "free",
|
|
1581
|
+
access: "free_and_pro",
|
|
1582
|
+
pro_required: false
|
|
1581
1583
|
},
|
|
1582
1584
|
{
|
|
1583
1585
|
skill: "arrays-data-api-equity-fundamentals",
|
|
@@ -2494,7 +2496,15 @@ var SubscriptionsResource = class {
|
|
|
2494
2496
|
async subscribeFeed(params) {
|
|
2495
2497
|
this.client._requireAuth();
|
|
2496
2498
|
const path = `/api/v1/subscriptions/feed/${encodeURIComponent(params.username)}/${encodeURIComponent(params.name)}`;
|
|
2497
|
-
|
|
2499
|
+
if (params.channelId === void 0) {
|
|
2500
|
+
return this.client._request(
|
|
2501
|
+
"POST",
|
|
2502
|
+
path
|
|
2503
|
+
);
|
|
2504
|
+
}
|
|
2505
|
+
return this.client._request("POST", path, {
|
|
2506
|
+
body: { channel_id: params.channelId }
|
|
2507
|
+
});
|
|
2498
2508
|
}
|
|
2499
2509
|
/**
|
|
2500
2510
|
* Unsubscribe from one feed `(username, name)` — disable that automation's
|
|
@@ -3771,7 +3781,7 @@ var installPlaybookRuntime = (targetWindow) => {
|
|
|
3771
3781
|
};
|
|
3772
3782
|
|
|
3773
3783
|
// src/index.ts
|
|
3774
|
-
var VERSION = true ? "0.
|
|
3784
|
+
var VERSION = true ? "0.20.0" : "dev";
|
|
3775
3785
|
// Annotate the CommonJS export names for ESM import in node:
|
|
3776
3786
|
0 && (module.exports = {
|
|
3777
3787
|
AlertsResource,
|