@oneie/sdk 0.14.1 → 0.14.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/generated/base-manifest.d.ts +3 -0
- package/dist/generated/base-manifest.d.ts.map +1 -0
- package/dist/generated/base-manifest.js +594 -0
- package/dist/generated/base-manifest.js.map +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/receivers.d.ts +83 -1
- package/dist/receivers.d.ts.map +1 -1
- package/dist/receivers.js +86 -1
- package/dist/receivers.js.map +1 -1
- package/dist/tql-to-manifest.d.ts +3 -0
- package/dist/tql-to-manifest.d.ts.map +1 -0
- package/dist/tql-to-manifest.js +108 -0
- package/dist/tql-to-manifest.js.map +1 -0
- package/package.json +2 -1
package/dist/receivers.d.ts
CHANGED
|
@@ -679,7 +679,9 @@ export declare const RECEIVERS: {
|
|
|
679
679
|
role: z.ZodString;
|
|
680
680
|
}, z.core.$strip>>;
|
|
681
681
|
}, z.core.$strip>>;
|
|
682
|
-
"billing:clients": Receiver<z.ZodOptional<z.ZodObject<{
|
|
682
|
+
"billing:clients": Receiver<z.ZodOptional<z.ZodObject<{
|
|
683
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
684
|
+
}, z.core.$strip>>, z.ZodObject<{
|
|
683
685
|
agency: z.ZodNullable<z.ZodObject<{
|
|
684
686
|
slug: z.ZodString;
|
|
685
687
|
name: z.ZodNullable<z.ZodString>;
|
|
@@ -697,6 +699,15 @@ export declare const RECEIVERS: {
|
|
|
697
699
|
cap: z.ZodNullable<z.ZodNumber>;
|
|
698
700
|
}, z.core.$strip>>;
|
|
699
701
|
}, z.core.$strip>>;
|
|
702
|
+
"billing:set-markup": Receiver<z.ZodObject<{
|
|
703
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
704
|
+
markup_pct: z.ZodNumber;
|
|
705
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
706
|
+
ok: z.ZodBoolean;
|
|
707
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
708
|
+
markup_pct: z.ZodOptional<z.ZodNumber>;
|
|
709
|
+
error: z.ZodOptional<z.ZodString>;
|
|
710
|
+
}, z.core.$strip>>;
|
|
700
711
|
"subscriptions:register": Receiver<z.ZodObject<{
|
|
701
712
|
receiver: z.ZodString;
|
|
702
713
|
tags: z.ZodArray<z.ZodString>;
|
|
@@ -1306,6 +1317,23 @@ export declare const RECEIVERS: {
|
|
|
1306
1317
|
used: z.ZodNumber;
|
|
1307
1318
|
soft: z.ZodBoolean;
|
|
1308
1319
|
}, z.core.$strip>>;
|
|
1320
|
+
"plugins:list": Receiver<z.ZodObject<{}, z.core.$strip>, z.ZodObject<{
|
|
1321
|
+
plugins: z.ZodArray<z.ZodObject<{
|
|
1322
|
+
name: z.ZodString;
|
|
1323
|
+
feature: z.ZodString;
|
|
1324
|
+
title: z.ZodString;
|
|
1325
|
+
description: z.ZodString;
|
|
1326
|
+
price_usd: z.ZodNumber;
|
|
1327
|
+
}, z.core.$strip>>;
|
|
1328
|
+
}, z.core.$strip>>;
|
|
1329
|
+
"plugins:source": Receiver<z.ZodObject<{
|
|
1330
|
+
feature: z.ZodString;
|
|
1331
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1332
|
+
plugin: z.ZodString;
|
|
1333
|
+
source: z.ZodString;
|
|
1334
|
+
version: z.ZodString;
|
|
1335
|
+
install: z.ZodString;
|
|
1336
|
+
}, z.core.$strip>>;
|
|
1309
1337
|
"actors:find": Receiver<z.ZodObject<{
|
|
1310
1338
|
type: z.ZodOptional<z.ZodEnum<{
|
|
1311
1339
|
agent: "agent";
|
|
@@ -2694,6 +2722,60 @@ export declare const RECEIVERS: {
|
|
|
2694
2722
|
query_id: z.ZodString;
|
|
2695
2723
|
outcome: z.ZodString;
|
|
2696
2724
|
}, z.core.$strip>>;
|
|
2725
|
+
"seo:backlinks-summary": Receiver<z.ZodObject<{
|
|
2726
|
+
target: z.ZodString;
|
|
2727
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
2728
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2729
|
+
ok: z.ZodBoolean;
|
|
2730
|
+
data: z.ZodOptional<z.ZodUnknown>;
|
|
2731
|
+
error: z.ZodOptional<z.ZodString>;
|
|
2732
|
+
}, z.core.$strip>>;
|
|
2733
|
+
"seo:llm-mentions": Receiver<z.ZodObject<{
|
|
2734
|
+
target: z.ZodString;
|
|
2735
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2736
|
+
ok: z.ZodBoolean;
|
|
2737
|
+
data: z.ZodOptional<z.ZodUnknown>;
|
|
2738
|
+
error: z.ZodOptional<z.ZodString>;
|
|
2739
|
+
}, z.core.$strip>>;
|
|
2740
|
+
"seo:keywords-for-keyword": Receiver<z.ZodObject<{
|
|
2741
|
+
keyword: z.ZodString;
|
|
2742
|
+
location_code: z.ZodOptional<z.ZodNumber>;
|
|
2743
|
+
language_code: z.ZodOptional<z.ZodString>;
|
|
2744
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2745
|
+
ok: z.ZodBoolean;
|
|
2746
|
+
data: z.ZodOptional<z.ZodUnknown>;
|
|
2747
|
+
error: z.ZodOptional<z.ZodString>;
|
|
2748
|
+
}, z.core.$strip>>;
|
|
2749
|
+
"seo:serp": Receiver<z.ZodObject<{
|
|
2750
|
+
keyword: z.ZodString;
|
|
2751
|
+
location_code: z.ZodOptional<z.ZodNumber>;
|
|
2752
|
+
language_code: z.ZodOptional<z.ZodString>;
|
|
2753
|
+
device: z.ZodOptional<z.ZodString>;
|
|
2754
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2755
|
+
ok: z.ZodBoolean;
|
|
2756
|
+
data: z.ZodOptional<z.ZodUnknown>;
|
|
2757
|
+
error: z.ZodOptional<z.ZodString>;
|
|
2758
|
+
}, z.core.$strip>>;
|
|
2759
|
+
"seo:keyword-metrics": Receiver<z.ZodObject<{
|
|
2760
|
+
keywords: z.ZodArray<z.ZodString>;
|
|
2761
|
+
location_code: z.ZodOptional<z.ZodNumber>;
|
|
2762
|
+
language_code: z.ZodOptional<z.ZodString>;
|
|
2763
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2764
|
+
ok: z.ZodBoolean;
|
|
2765
|
+
data: z.ZodOptional<z.ZodUnknown>;
|
|
2766
|
+
error: z.ZodOptional<z.ZodString>;
|
|
2767
|
+
}, z.core.$strip>>;
|
|
2768
|
+
"seo:gsc-performance": Receiver<z.ZodObject<{
|
|
2769
|
+
site_url: z.ZodString;
|
|
2770
|
+
start_date: z.ZodString;
|
|
2771
|
+
end_date: z.ZodString;
|
|
2772
|
+
dimensions: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2773
|
+
row_limit: z.ZodOptional<z.ZodNumber>;
|
|
2774
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2775
|
+
ok: z.ZodBoolean;
|
|
2776
|
+
data: z.ZodOptional<z.ZodUnknown>;
|
|
2777
|
+
error: z.ZodOptional<z.ZodString>;
|
|
2778
|
+
}, z.core.$strip>>;
|
|
2697
2779
|
};
|
|
2698
2780
|
/** A declared receiver name — `keyof` the catalog. */
|
|
2699
2781
|
export type ReceiverName = keyof typeof RECEIVERS;
|
package/dist/receivers.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"receivers.d.ts","sourceRoot":"","sources":["../src/receivers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAcxB;;;;;;;;;;;;;GAaG;AAEH;sEACsE;AACtE,MAAM,MAAM,UAAU,GAAG,MAAM,CAAC;AAEhC,+DAA+D;AAC/D,MAAM,MAAM,YAAY,GAAG,MAAM,GAAG,UAAU,GAAG;IAAE,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC;AAEnE,oDAAoD;AACpD,MAAM,MAAM,UAAU,GAAG,MAAM,GAAG,UAAU,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A8B;AAC9B,MAAM,MAAM,UAAU,GAAG,MAAM,OAAO,OAAO,CAAC"}
|
package/dist/receivers.js
CHANGED
|
@@ -538,7 +538,7 @@ export const RECEIVERS = {
|
|
|
538
538
|
"billing:clients": receiver({
|
|
539
539
|
receiver: "billing:clients",
|
|
540
540
|
summary: "Agency P&L — per-client funded · burned · margin · balance · cap (margin from the ledger)",
|
|
541
|
-
request: z.object({}).optional(),
|
|
541
|
+
request: z.object({ slug: z.string().optional() }).optional(),
|
|
542
542
|
response: z.object({
|
|
543
543
|
agency: z.object({ slug: z.string(), name: z.string().nullable(), markup_pct: z.number(), pool: z.number() }).nullable(),
|
|
544
544
|
clients: z.array(z.object({
|
|
@@ -548,6 +548,13 @@ export const RECEIVERS = {
|
|
|
548
548
|
}),
|
|
549
549
|
effect: "ask", auth: "manage_clients", cost: "free", idempotent: true,
|
|
550
550
|
}),
|
|
551
|
+
"billing:set-markup": receiver({
|
|
552
|
+
receiver: "billing:set-markup",
|
|
553
|
+
summary: "Staff-only: set the markup_pct on an agency workspace row",
|
|
554
|
+
request: z.object({ slug: z.string().optional(), markup_pct: z.number().min(0).max(100) }),
|
|
555
|
+
response: z.object({ ok: z.boolean(), slug: z.string().optional(), markup_pct: z.number().optional(), error: z.string().optional() }),
|
|
556
|
+
effect: "ask", auth: "manage_clients", cost: "free", idempotent: true,
|
|
557
|
+
}),
|
|
551
558
|
// paths:bridge killed (C7): no resolver, no route, no caller
|
|
552
559
|
// ── subscriptions ──
|
|
553
560
|
"subscriptions:register": receiver({
|
|
@@ -969,6 +976,35 @@ export const RECEIVERS = {
|
|
|
969
976
|
effect: "ask", cost: "free", idempotent: true,
|
|
970
977
|
examples: [{ feature: "premium" }],
|
|
971
978
|
}),
|
|
979
|
+
"plugins:list": receiver({
|
|
980
|
+
receiver: "plugins:list",
|
|
981
|
+
summary: "List all available ONE plugins with their feature key, price, and description",
|
|
982
|
+
request: z.object({}),
|
|
983
|
+
response: z.object({
|
|
984
|
+
plugins: z.array(z.object({
|
|
985
|
+
name: z.string(),
|
|
986
|
+
feature: z.string(),
|
|
987
|
+
title: z.string(),
|
|
988
|
+
description: z.string(),
|
|
989
|
+
price_usd: z.number(),
|
|
990
|
+
})),
|
|
991
|
+
}),
|
|
992
|
+
effect: "ask", cost: "free", idempotent: true,
|
|
993
|
+
examples: [{}],
|
|
994
|
+
}),
|
|
995
|
+
"plugins:source": receiver({
|
|
996
|
+
receiver: "plugins:source",
|
|
997
|
+
summary: "Get the install reference for a plugin — 402 when the workspace is not entitled. Use meta:entitlements to check first; this doubles as the delivery gate.",
|
|
998
|
+
request: z.object({ feature: z.string() }),
|
|
999
|
+
response: z.object({
|
|
1000
|
+
plugin: z.string(),
|
|
1001
|
+
source: z.string(),
|
|
1002
|
+
version: z.string(),
|
|
1003
|
+
install: z.string(),
|
|
1004
|
+
}),
|
|
1005
|
+
effect: "ask", cost: "free", idempotent: true,
|
|
1006
|
+
examples: [{ feature: "shop" }],
|
|
1007
|
+
}),
|
|
972
1008
|
// ── actor discovery + messaging ──────────────────────────────────────────
|
|
973
1009
|
"actors:find": receiver({
|
|
974
1010
|
receiver: "actors:find",
|
|
@@ -2499,6 +2535,55 @@ export const RECEIVERS = {
|
|
|
2499
2535
|
}),
|
|
2500
2536
|
effect: "signal", auth: "read_corpus", cost: "free", reversible: false, idempotent: false,
|
|
2501
2537
|
}),
|
|
2538
|
+
// ── seo — handlers in resolvers/seo.ts (C1 live; C2 async) ─────────────────
|
|
2539
|
+
"seo:backlinks-summary": receiver({
|
|
2540
|
+
receiver: "seo:backlinks-summary",
|
|
2541
|
+
summary: "Pull live backlink summary for a domain via DataForSEO; marks domain→seo:backlinks path",
|
|
2542
|
+
request: z.object({ target: z.string(), limit: z.number().int().min(1).max(1000).optional() }),
|
|
2543
|
+
response: z.object({ ok: z.boolean(), data: z.unknown().optional(), error: z.string().optional() }),
|
|
2544
|
+
effect: "ask", cost: "variable", reversible: true, idempotent: false, auth: "member",
|
|
2545
|
+
examples: [{ target: "one.ie" }],
|
|
2546
|
+
}),
|
|
2547
|
+
"seo:llm-mentions": receiver({
|
|
2548
|
+
receiver: "seo:llm-mentions",
|
|
2549
|
+
summary: "Pull live AI-visibility (LLM mentions) data for a domain via DataForSEO; marks domain→seo:llm-mentions path",
|
|
2550
|
+
request: z.object({ target: z.string() }),
|
|
2551
|
+
response: z.object({ ok: z.boolean(), data: z.unknown().optional(), error: z.string().optional() }),
|
|
2552
|
+
effect: "ask", cost: "variable", reversible: true, idempotent: false, auth: "member",
|
|
2553
|
+
examples: [{ target: "one.ie" }],
|
|
2554
|
+
}),
|
|
2555
|
+
"seo:keywords-for-keyword": receiver({
|
|
2556
|
+
receiver: "seo:keywords-for-keyword",
|
|
2557
|
+
summary: "Return related keyword suggestions for a seed keyword via DataForSEO Google Ads; marks keyword→seo:keywords path",
|
|
2558
|
+
request: z.object({ keyword: z.string(), location_code: z.number().int().optional(), language_code: z.string().optional() }),
|
|
2559
|
+
response: z.object({ ok: z.boolean(), data: z.unknown().optional(), error: z.string().optional() }),
|
|
2560
|
+
effect: "ask", cost: "variable", reversible: true, idempotent: false, auth: "member",
|
|
2561
|
+
examples: [{ keyword: "ai agents", location_code: 2840, language_code: "en" }],
|
|
2562
|
+
}),
|
|
2563
|
+
"seo:serp": receiver({
|
|
2564
|
+
receiver: "seo:serp",
|
|
2565
|
+
summary: "Return full Google Organic SERP for a keyword via DataForSEO async task (submit→poll); marks keyword→seo:serp path",
|
|
2566
|
+
request: z.object({ keyword: z.string(), location_code: z.number().int().optional(), language_code: z.string().optional(), device: z.string().optional() }),
|
|
2567
|
+
response: z.object({ ok: z.boolean(), data: z.unknown().optional(), error: z.string().optional() }),
|
|
2568
|
+
effect: "ask", cost: "variable", reversible: true, idempotent: false, auth: "member",
|
|
2569
|
+
examples: [{ keyword: "best ai agents", location_code: 2840, language_code: "en" }],
|
|
2570
|
+
}),
|
|
2571
|
+
"seo:keyword-metrics": receiver({
|
|
2572
|
+
receiver: "seo:keyword-metrics",
|
|
2573
|
+
summary: "Return monthly search volume, CPC, and competition for a list of keywords via DataForSEO async task",
|
|
2574
|
+
request: z.object({ keywords: z.array(z.string()), location_code: z.number().int().optional(), language_code: z.string().optional() }),
|
|
2575
|
+
response: z.object({ ok: z.boolean(), data: z.unknown().optional(), error: z.string().optional() }),
|
|
2576
|
+
effect: "ask", cost: "variable", reversible: true, idempotent: false, auth: "member",
|
|
2577
|
+
examples: [{ keywords: ["ai agents", "machine learning platform"], location_code: 2840 }],
|
|
2578
|
+
}),
|
|
2579
|
+
"seo:gsc-performance": receiver({
|
|
2580
|
+
receiver: "seo:gsc-performance",
|
|
2581
|
+
summary: "Return Google Search Console click/impression/CTR/position data for a site via Composio GSC toolkit",
|
|
2582
|
+
request: z.object({ site_url: z.string(), start_date: z.string(), end_date: z.string(), dimensions: z.array(z.string()).optional(), row_limit: z.number().int().optional() }),
|
|
2583
|
+
response: z.object({ ok: z.boolean(), data: z.unknown().optional(), error: z.string().optional() }),
|
|
2584
|
+
effect: "ask", cost: "variable", reversible: true, idempotent: false, auth: "member",
|
|
2585
|
+
examples: [{ site_url: "https://one.ie/", start_date: "2026-01-01", end_date: "2026-06-01" }],
|
|
2586
|
+
}),
|
|
2502
2587
|
};
|
|
2503
2588
|
/**
|
|
2504
2589
|
* RECIPES — the four agent journeys as typed, ordered receiver sequences (C6).
|