@keystrokehq/skyfire 0.1.0 → 0.1.2
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/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/charge-token.cjs +2 -2
- package/dist/actions/charge-token.cjs.map +1 -1
- package/dist/actions/charge-token.d.cts +12 -3
- package/dist/actions/charge-token.d.cts.map +1 -1
- package/dist/actions/charge-token.d.mts +12 -3
- package/dist/actions/charge-token.d.mts.map +1 -1
- package/dist/actions/charge-token.mjs +2 -2
- package/dist/actions/charge-token.mjs.map +1 -1
- package/dist/actions/create-kya-pay-token.cjs +1 -1
- package/dist/actions/create-kya-pay-token.cjs.map +1 -1
- package/dist/actions/create-kya-pay-token.d.cts +19 -3
- package/dist/actions/create-kya-pay-token.d.cts.map +1 -1
- package/dist/actions/create-kya-pay-token.d.mts +19 -3
- package/dist/actions/create-kya-pay-token.d.mts.map +1 -1
- package/dist/actions/create-kya-pay-token.mjs +1 -1
- package/dist/actions/create-kya-pay-token.mjs.map +1 -1
- package/dist/actions/create-kya-token.cjs +1 -1
- package/dist/actions/create-kya-token.cjs.map +1 -1
- package/dist/actions/create-kya-token.d.cts +17 -3
- package/dist/actions/create-kya-token.d.cts.map +1 -1
- package/dist/actions/create-kya-token.d.mts +17 -3
- package/dist/actions/create-kya-token.d.mts.map +1 -1
- package/dist/actions/create-kya-token.mjs +1 -1
- package/dist/actions/create-kya-token.mjs.map +1 -1
- package/dist/actions/create-pay-token.cjs +1 -1
- package/dist/actions/create-pay-token.cjs.map +1 -1
- package/dist/actions/create-pay-token.d.cts +17 -3
- package/dist/actions/create-pay-token.d.cts.map +1 -1
- package/dist/actions/create-pay-token.d.mts +17 -3
- package/dist/actions/create-pay-token.d.mts.map +1 -1
- package/dist/actions/create-pay-token.mjs +1 -1
- package/dist/actions/create-pay-token.mjs.map +1 -1
- package/dist/actions/get-all-service-tags.cjs.map +1 -1
- package/dist/actions/get-all-service-tags.d.cts +5 -3
- package/dist/actions/get-all-service-tags.d.cts.map +1 -1
- package/dist/actions/get-all-service-tags.d.mts +5 -3
- package/dist/actions/get-all-service-tags.d.mts.map +1 -1
- package/dist/actions/get-all-service-tags.mjs.map +1 -1
- package/dist/actions/get-buyer-wallet-balance.cjs +4 -4
- package/dist/actions/get-buyer-wallet-balance.cjs.map +1 -1
- package/dist/actions/get-buyer-wallet-balance.d.cts +8 -3
- package/dist/actions/get-buyer-wallet-balance.d.cts.map +1 -1
- package/dist/actions/get-buyer-wallet-balance.d.mts +8 -3
- package/dist/actions/get-buyer-wallet-balance.d.mts.map +1 -1
- package/dist/actions/get-buyer-wallet-balance.mjs +4 -4
- package/dist/actions/get-buyer-wallet-balance.mjs.map +1 -1
- package/dist/actions/get-directory-service-by-id.cjs +10 -10
- package/dist/actions/get-directory-service-by-id.cjs.map +1 -1
- package/dist/actions/get-directory-service-by-id.d.cts +28 -3
- package/dist/actions/get-directory-service-by-id.d.cts.map +1 -1
- package/dist/actions/get-directory-service-by-id.d.mts +28 -3
- package/dist/actions/get-directory-service-by-id.d.mts.map +1 -1
- package/dist/actions/get-directory-service-by-id.mjs +10 -10
- package/dist/actions/get-directory-service-by-id.mjs.map +1 -1
- package/dist/actions/get-service.cjs +5 -5
- package/dist/actions/get-service.cjs.map +1 -1
- package/dist/actions/get-service.d.cts +25 -3
- package/dist/actions/get-service.d.cts.map +1 -1
- package/dist/actions/get-service.d.mts +25 -3
- package/dist/actions/get-service.d.mts.map +1 -1
- package/dist/actions/get-service.mjs +5 -5
- package/dist/actions/get-service.mjs.map +1 -1
- package/dist/actions/get-services-by-agent.cjs +10 -10
- package/dist/actions/get-services-by-agent.cjs.map +1 -1
- package/dist/actions/get-services-by-agent.d.cts +42 -3
- package/dist/actions/get-services-by-agent.d.cts.map +1 -1
- package/dist/actions/get-services-by-agent.d.mts +42 -3
- package/dist/actions/get-services-by-agent.d.mts.map +1 -1
- package/dist/actions/get-services-by-agent.mjs +10 -10
- package/dist/actions/get-services-by-agent.mjs.map +1 -1
- package/dist/actions/get-services-by-tags.cjs +10 -10
- package/dist/actions/get-services-by-tags.cjs.map +1 -1
- package/dist/actions/get-services-by-tags.d.cts +41 -3
- package/dist/actions/get-services-by-tags.d.cts.map +1 -1
- package/dist/actions/get-services-by-tags.d.mts +41 -3
- package/dist/actions/get-services-by-tags.d.mts.map +1 -1
- package/dist/actions/get-services-by-tags.mjs +10 -10
- package/dist/actions/get-services-by-tags.mjs.map +1 -1
- package/dist/actions/get-token-charges.cjs +7 -7
- package/dist/actions/get-token-charges.cjs.map +1 -1
- package/dist/actions/get-token-charges.d.cts +21 -3
- package/dist/actions/get-token-charges.d.cts.map +1 -1
- package/dist/actions/get-token-charges.d.mts +21 -3
- package/dist/actions/get-token-charges.d.mts.map +1 -1
- package/dist/actions/get-token-charges.mjs +7 -7
- package/dist/actions/get-token-charges.mjs.map +1 -1
- package/dist/actions/introspect-token.cjs +1 -1
- package/dist/actions/introspect-token.cjs.map +1 -1
- package/dist/actions/introspect-token.d.cts +10 -3
- package/dist/actions/introspect-token.d.cts.map +1 -1
- package/dist/actions/introspect-token.d.mts +10 -3
- package/dist/actions/introspect-token.d.mts.map +1 -1
- package/dist/actions/introspect-token.mjs +1 -1
- package/dist/actions/introspect-token.mjs.map +1 -1
- package/dist/actions/list-agent-seller-services.cjs +10 -10
- package/dist/actions/list-agent-seller-services.cjs.map +1 -1
- package/dist/actions/list-agent-seller-services.d.cts +32 -3
- package/dist/actions/list-agent-seller-services.d.cts.map +1 -1
- package/dist/actions/list-agent-seller-services.d.mts +32 -3
- package/dist/actions/list-agent-seller-services.d.mts.map +1 -1
- package/dist/actions/list-agent-seller-services.mjs +10 -10
- package/dist/actions/list-agent-seller-services.mjs.map +1 -1
- package/dist/actions/list-buyer-tokens.cjs +13 -13
- package/dist/actions/list-buyer-tokens.cjs.map +1 -1
- package/dist/actions/list-buyer-tokens.d.cts +49 -3
- package/dist/actions/list-buyer-tokens.d.cts.map +1 -1
- package/dist/actions/list-buyer-tokens.d.mts +49 -3
- package/dist/actions/list-buyer-tokens.d.mts.map +1 -1
- package/dist/actions/list-buyer-tokens.mjs +13 -13
- package/dist/actions/list-buyer-tokens.mjs.map +1 -1
- package/dist/actions/list-directory-services.cjs +10 -10
- package/dist/actions/list-directory-services.cjs.map +1 -1
- package/dist/actions/list-directory-services.d.cts +50 -3
- package/dist/actions/list-directory-services.d.cts.map +1 -1
- package/dist/actions/list-directory-services.d.mts +50 -3
- package/dist/actions/list-directory-services.d.mts.map +1 -1
- package/dist/actions/list-directory-services.mjs +10 -10
- package/dist/actions/list-directory-services.mjs.map +1 -1
- package/dist/actions/set-agent-source-ips.cjs.map +1 -1
- package/dist/actions/set-agent-source-ips.d.cts +9 -3
- package/dist/actions/set-agent-source-ips.d.cts.map +1 -1
- package/dist/actions/set-agent-source-ips.d.mts +9 -3
- package/dist/actions/set-agent-source-ips.d.mts.map +1 -1
- package/dist/actions/set-agent-source-ips.mjs.map +1 -1
- package/dist/catalog.cjs +7 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +8 -0
- package/dist/catalog.d.mts +8 -0
- package/dist/catalog.mjs +7 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +2 -2
package/dist/action.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action.cjs","names":["skyfire","executeSkyfireTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { skyfire } from \"./app\";\nimport { executeSkyfireTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input:
|
|
1
|
+
{"version":3,"file":"action.cjs","names":["skyfire","executeSkyfireTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { skyfire } from \"./app\";\nimport { executeSkyfireTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return skyfire.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executeSkyfireTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,QAAQ,OAAO;EACpB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,mBAAmB,MAAM,KAAgC,CAAC;EAC1F;CACF,CAAC;AACH"}
|
package/dist/action.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { skyfire } from \"./app\";\nimport { executeSkyfireTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input:
|
|
1
|
+
{"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { skyfire } from \"./app\";\nimport { executeSkyfireTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return skyfire.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executeSkyfireTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,QAAQ,OAAO;EACpB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,mBAAmB,MAAM,KAAgC,CAAC;EAC1F;CACF,CAAC;AACH"}
|
|
@@ -6,8 +6,8 @@ const SkyfireChargeTokenInput = zod.z.object({
|
|
|
6
6
|
chargeAmount: zod.z.string().describe("Amount to charge (must be <= token's max amount)")
|
|
7
7
|
}).describe("Charge a buyer's token as a seller service.\n\nSELLER-SIDE ACTION: Use this when you're providing a service and need to\ncharge the buyer's token. The buyer sends you the token JWT, you provide\nthe service, then call this to collect payment.");
|
|
8
8
|
const SkyfireChargeTokenOutput = zod.z.object({
|
|
9
|
-
amountCharged: zod.z.string().describe("The amount that was charged from the token (USD as decimal string)"),
|
|
10
|
-
remainingBalance: zod.z.string().describe("Remaining balance on the token after the charge (USD as decimal string)")
|
|
9
|
+
amountCharged: zod.z.string().describe("The amount that was charged from the token (USD as decimal string)").nullable(),
|
|
10
|
+
remainingBalance: zod.z.string().describe("Remaining balance on the token after the charge (USD as decimal string)").nullable()
|
|
11
11
|
}).describe("Response from charging a buyer's token.");
|
|
12
12
|
const skyfireChargeToken = require_action.action("SKYFIRE_CHARGE_TOKEN", {
|
|
13
13
|
slug: "skyfire-charge-token",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"charge-token.cjs","names":["z","action"],"sources":["../../src/actions/charge-token.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SkyfireChargeTokenInput
|
|
1
|
+
{"version":3,"file":"charge-token.cjs","names":["z","action"],"sources":["../../src/actions/charge-token.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SkyfireChargeTokenInput = z.object({\n token: z.string().describe(\"The JWT token string the buyer sent you (not the tokenId)\"),\n chargeAmount: z.string().describe(\"Amount to charge (must be <= token's max amount)\"),\n}).describe(\"Charge a buyer's token as a seller service.\\n\\nSELLER-SIDE ACTION: Use this when you're providing a service and need to\\ncharge the buyer's token. The buyer sends you the token JWT, you provide\\nthe service, then call this to collect payment.\");\nexport const SkyfireChargeTokenOutput = z.object({\n amountCharged: z.string().describe(\"The amount that was charged from the token (USD as decimal string)\").nullable(),\n remainingBalance: z.string().describe(\"Remaining balance on the token after the charge (USD as decimal string)\").nullable(),\n}).describe(\"Response from charging a buyer's token.\");\n\nexport const skyfireChargeToken = action(\"SKYFIRE_CHARGE_TOKEN\", {\n slug: \"skyfire-charge-token\",\n name: \"Charge Skyfire Token\",\n description: \"Charge a buyer's token (seller-side operation). REQUIRES SELLER API KEY: This action requires your seller agent API key, not the buyer's key. The buyer creates and sends you a pay/kya+pay token JWT, you provide the service, then call this endpoint to collect payment. Flow: Buyer creates token → Buyer calls your service with token → You validate token → You provide service → You call this to charge. Common errors: - 401: Invalid/expired token OR wrong API key (must use seller key) - 402: Charge amount exceeds token value\",\n input: SkyfireChargeTokenInput,\n output: SkyfireChargeTokenOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;CACtF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;AACtF,CAAC,CAAC,CAAC,SAAS,oPAAoP;AAChQ,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CAClH,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,SAAS,yCAAyC;AAErD,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,18 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/charge-token.d.ts
|
|
4
|
-
declare const SkyfireChargeTokenInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SkyfireChargeTokenInput: z.ZodObject<{
|
|
5
|
+
token: z.ZodString;
|
|
6
|
+
chargeAmount: z.ZodString;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const SkyfireChargeTokenOutput: z.ZodObject<{
|
|
9
|
+
amountCharged: z.ZodNullable<z.ZodString>;
|
|
10
|
+
remainingBalance: z.ZodNullable<z.ZodString>;
|
|
11
|
+
}, z.core.$strip>;
|
|
12
|
+
declare const skyfireChargeToken: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
13
|
+
token: string;
|
|
14
|
+
chargeAmount: string;
|
|
15
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
16
|
//#endregion
|
|
8
17
|
export { skyfireChargeToken };
|
|
9
18
|
//# sourceMappingURL=charge-token.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"charge-token.d.cts","names":[],"sources":["../../src/actions/charge-token.ts"],"mappings":";;;cAIa,uBAAA,
|
|
1
|
+
{"version":3,"file":"charge-token.d.cts","names":[],"sources":["../../src/actions/charge-token.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;cAIvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;cAKxB,kBAAA,gCAAkB,wBAAA"}
|
|
@@ -1,9 +1,18 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/charge-token.d.ts
|
|
4
|
-
declare const SkyfireChargeTokenInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SkyfireChargeTokenInput: z.ZodObject<{
|
|
5
|
+
token: z.ZodString;
|
|
6
|
+
chargeAmount: z.ZodString;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const SkyfireChargeTokenOutput: z.ZodObject<{
|
|
9
|
+
amountCharged: z.ZodNullable<z.ZodString>;
|
|
10
|
+
remainingBalance: z.ZodNullable<z.ZodString>;
|
|
11
|
+
}, z.core.$strip>;
|
|
12
|
+
declare const skyfireChargeToken: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
13
|
+
token: string;
|
|
14
|
+
chargeAmount: string;
|
|
15
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
16
|
//#endregion
|
|
8
17
|
export { skyfireChargeToken };
|
|
9
18
|
//# sourceMappingURL=charge-token.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"charge-token.d.mts","names":[],"sources":["../../src/actions/charge-token.ts"],"mappings":";;;cAIa,uBAAA,
|
|
1
|
+
{"version":3,"file":"charge-token.d.mts","names":[],"sources":["../../src/actions/charge-token.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;cAIvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;cAKxB,kBAAA,gCAAkB,wBAAA"}
|
|
@@ -9,8 +9,8 @@ const skyfireChargeToken = action("SKYFIRE_CHARGE_TOKEN", {
|
|
|
9
9
|
chargeAmount: z.string().describe("Amount to charge (must be <= token's max amount)")
|
|
10
10
|
}).describe("Charge a buyer's token as a seller service.\n\nSELLER-SIDE ACTION: Use this when you're providing a service and need to\ncharge the buyer's token. The buyer sends you the token JWT, you provide\nthe service, then call this to collect payment."),
|
|
11
11
|
output: z.object({
|
|
12
|
-
amountCharged: z.string().describe("The amount that was charged from the token (USD as decimal string)"),
|
|
13
|
-
remainingBalance: z.string().describe("Remaining balance on the token after the charge (USD as decimal string)")
|
|
12
|
+
amountCharged: z.string().describe("The amount that was charged from the token (USD as decimal string)").nullable(),
|
|
13
|
+
remainingBalance: z.string().describe("Remaining balance on the token after the charge (USD as decimal string)").nullable()
|
|
14
14
|
}).describe("Response from charging a buyer's token.")
|
|
15
15
|
});
|
|
16
16
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"charge-token.mjs","names":[],"sources":["../../src/actions/charge-token.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SkyfireChargeTokenInput
|
|
1
|
+
{"version":3,"file":"charge-token.mjs","names":[],"sources":["../../src/actions/charge-token.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SkyfireChargeTokenInput = z.object({\n token: z.string().describe(\"The JWT token string the buyer sent you (not the tokenId)\"),\n chargeAmount: z.string().describe(\"Amount to charge (must be <= token's max amount)\"),\n}).describe(\"Charge a buyer's token as a seller service.\\n\\nSELLER-SIDE ACTION: Use this when you're providing a service and need to\\ncharge the buyer's token. The buyer sends you the token JWT, you provide\\nthe service, then call this to collect payment.\");\nexport const SkyfireChargeTokenOutput = z.object({\n amountCharged: z.string().describe(\"The amount that was charged from the token (USD as decimal string)\").nullable(),\n remainingBalance: z.string().describe(\"Remaining balance on the token after the charge (USD as decimal string)\").nullable(),\n}).describe(\"Response from charging a buyer's token.\");\n\nexport const skyfireChargeToken = action(\"SKYFIRE_CHARGE_TOKEN\", {\n slug: \"skyfire-charge-token\",\n name: \"Charge Skyfire Token\",\n description: \"Charge a buyer's token (seller-side operation). REQUIRES SELLER API KEY: This action requires your seller agent API key, not the buyer's key. The buyer creates and sends you a pay/kya+pay token JWT, you provide the service, then call this endpoint to collect payment. Flow: Buyer creates token → Buyer calls your service with token → You validate token → You provide service → You call this to charge. Common errors: - 401: Invalid/expired token OR wrong API key (must use seller key) - 402: Charge amount exceeds token value\",\n input: SkyfireChargeTokenInput,\n output: SkyfireChargeTokenOutput,\n});\n"],"mappings":";;AAaA,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbqC,EAAE,OAAO;EAC9C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;EACtF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CACtF,CAAC,CAAC,CAAC,SAAS,oPAUH;CACP,QAVsC,EAAE,OAAO;EAC/C,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;EAClH,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CAC5H,CAAC,CAAC,CAAC,SAAS,yCAOF;AACV,CAAC"}
|
|
@@ -9,7 +9,7 @@ const SkyfireCreateKyaPayTokenInput = zod.z.object({
|
|
|
9
9
|
identityPermissions: zod.z.array(zod.z.string()).describe("Optional list of identity permission scopes required by seller (e.g., ['email', 'name'])").optional()
|
|
10
10
|
}).describe("Create a combined KYA+PAY token to provide identity and authorize payment.\n\nUse when a seller requires identity + payment in one token.\nTypical chain: ListDirectoryServices → GetServiceDetails → CreateKyaPayToken →\ncall the seller with this token per their integration (header/body).");
|
|
11
11
|
const SkyfireCreateKyaPayTokenOutput = zod.z.object({
|
|
12
|
-
token: zod.z.string().describe("JWT for KYA+PAY token that should be used for authorization with the seller service"),
|
|
12
|
+
token: zod.z.string().describe("JWT for KYA+PAY token that should be used for authorization with the seller service").nullable(),
|
|
13
13
|
tokenId: zod.z.string().describe("Identifier of the issued token (JWT 'jti' claim) if provided by API").nullable().optional(),
|
|
14
14
|
expiresAt: zod.z.number().int().describe("Unix expiration time (seconds) - extracted from JWT 'exp' claim if available").nullable().optional()
|
|
15
15
|
}).describe("Response for creating a KYA+PAY token.");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-kya-pay-token.cjs","names":["z","action"],"sources":["../../src/actions/create-kya-pay-token.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SkyfireCreateKyaPayTokenInput
|
|
1
|
+
{"version":3,"file":"create-kya-pay-token.cjs","names":["z","action"],"sources":["../../src/actions/create-kya-pay-token.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SkyfireCreateKyaPayTokenInput = z.object({\n buyerTag: z.string().describe(\"Optional tag for buyer-side tracking\").optional(),\n expiresAt: z.number().int().describe(\"Unix timestamp (seconds) when token expires\"),\n tokenAmount: z.string().describe(\"Maximum amount the seller may charge (as decimal string)\"),\n sellerServiceId: z.string().describe(\"UUID of the seller service to call\"),\n identityPermissions: z.array(z.string()).describe(\"Optional list of identity permission scopes required by seller (e.g., ['email', 'name'])\").optional(),\n}).describe(\"Create a combined KYA+PAY token to provide identity and authorize payment.\\n\\nUse when a seller requires identity + payment in one token.\\nTypical chain: ListDirectoryServices → GetServiceDetails → CreateKyaPayToken →\\ncall the seller with this token per their integration (header/body).\");\nexport const SkyfireCreateKyaPayTokenOutput = z.object({\n token: z.string().describe(\"JWT for KYA+PAY token that should be used for authorization with the seller service\").nullable(),\n tokenId: z.string().describe(\"Identifier of the issued token (JWT 'jti' claim) if provided by API\").nullable().optional(),\n expiresAt: z.number().int().describe(\"Unix expiration time (seconds) - extracted from JWT 'exp' claim if available\").nullable().optional(),\n}).describe(\"Response for creating a KYA+PAY token.\");\n\nexport const skyfireCreateKyaPayToken = action(\"SKYFIRE_CREATE_KYA_PAY_TOKEN\", {\n slug: \"skyfire-create-kya-pay-token\",\n name: \"Create Skyfire KYA+PAY Token\",\n description: \"Issue a Skyfire KYA+PAY token (POST /api/v1/tokens with type=kya+pay).\",\n input: SkyfireCreateKyaPayTokenInput,\n output: SkyfireCreateKyaPayTokenOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC/E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C;CAClF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;CAC3F,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CACzE,qBAAqBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;AACzJ,CAAC,CAAC,CAAC,SAAS,iSAAiS;AAC7S,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;CAC3H,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3I,CAAC,CAAC,CAAC,SAAS,wCAAwC;AAEpD,MAAa,2BAA2BC,eAAAA,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,25 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/create-kya-pay-token.d.ts
|
|
4
|
-
declare const SkyfireCreateKyaPayTokenInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SkyfireCreateKyaPayTokenInput: z.ZodObject<{
|
|
5
|
+
buyerTag: z.ZodOptional<z.ZodString>;
|
|
6
|
+
expiresAt: z.ZodNumber;
|
|
7
|
+
tokenAmount: z.ZodString;
|
|
8
|
+
sellerServiceId: z.ZodString;
|
|
9
|
+
identityPermissions: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
10
|
+
}, z.core.$strip>;
|
|
11
|
+
declare const SkyfireCreateKyaPayTokenOutput: z.ZodObject<{
|
|
12
|
+
token: z.ZodNullable<z.ZodString>;
|
|
13
|
+
tokenId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
expiresAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
15
|
+
}, z.core.$strip>;
|
|
16
|
+
declare const skyfireCreateKyaPayToken: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
17
|
+
expiresAt: number;
|
|
18
|
+
tokenAmount: string;
|
|
19
|
+
sellerServiceId: string;
|
|
20
|
+
buyerTag?: string | undefined;
|
|
21
|
+
identityPermissions?: string[] | undefined;
|
|
22
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
23
|
//#endregion
|
|
8
24
|
export { skyfireCreateKyaPayToken };
|
|
9
25
|
//# sourceMappingURL=create-kya-pay-token.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-kya-pay-token.d.cts","names":[],"sources":["../../src/actions/create-kya-pay-token.ts"],"mappings":";;;cAIa,6BAAA,
|
|
1
|
+
{"version":3,"file":"create-kya-pay-token.d.cts","names":[],"sources":["../../src/actions/create-kya-pay-token.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;cAO7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;cAM9B,wBAAA,gCAAwB,wBAAA"}
|
|
@@ -1,9 +1,25 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/create-kya-pay-token.d.ts
|
|
4
|
-
declare const SkyfireCreateKyaPayTokenInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SkyfireCreateKyaPayTokenInput: z.ZodObject<{
|
|
5
|
+
buyerTag: z.ZodOptional<z.ZodString>;
|
|
6
|
+
expiresAt: z.ZodNumber;
|
|
7
|
+
tokenAmount: z.ZodString;
|
|
8
|
+
sellerServiceId: z.ZodString;
|
|
9
|
+
identityPermissions: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
10
|
+
}, z.core.$strip>;
|
|
11
|
+
declare const SkyfireCreateKyaPayTokenOutput: z.ZodObject<{
|
|
12
|
+
token: z.ZodNullable<z.ZodString>;
|
|
13
|
+
tokenId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
expiresAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
15
|
+
}, z.core.$strip>;
|
|
16
|
+
declare const skyfireCreateKyaPayToken: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
17
|
+
expiresAt: number;
|
|
18
|
+
tokenAmount: string;
|
|
19
|
+
sellerServiceId: string;
|
|
20
|
+
buyerTag?: string | undefined;
|
|
21
|
+
identityPermissions?: string[] | undefined;
|
|
22
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
23
|
//#endregion
|
|
8
24
|
export { skyfireCreateKyaPayToken };
|
|
9
25
|
//# sourceMappingURL=create-kya-pay-token.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-kya-pay-token.d.mts","names":[],"sources":["../../src/actions/create-kya-pay-token.ts"],"mappings":";;;cAIa,6BAAA,
|
|
1
|
+
{"version":3,"file":"create-kya-pay-token.d.mts","names":[],"sources":["../../src/actions/create-kya-pay-token.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;cAO7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;cAM9B,wBAAA,gCAAwB,wBAAA"}
|
|
@@ -12,7 +12,7 @@ const skyfireCreateKyaPayToken = action("SKYFIRE_CREATE_KYA_PAY_TOKEN", {
|
|
|
12
12
|
identityPermissions: z.array(z.string()).describe("Optional list of identity permission scopes required by seller (e.g., ['email', 'name'])").optional()
|
|
13
13
|
}).describe("Create a combined KYA+PAY token to provide identity and authorize payment.\n\nUse when a seller requires identity + payment in one token.\nTypical chain: ListDirectoryServices → GetServiceDetails → CreateKyaPayToken →\ncall the seller with this token per their integration (header/body)."),
|
|
14
14
|
output: z.object({
|
|
15
|
-
token: z.string().describe("JWT for KYA+PAY token that should be used for authorization with the seller service"),
|
|
15
|
+
token: z.string().describe("JWT for KYA+PAY token that should be used for authorization with the seller service").nullable(),
|
|
16
16
|
tokenId: z.string().describe("Identifier of the issued token (JWT 'jti' claim) if provided by API").nullable().optional(),
|
|
17
17
|
expiresAt: z.number().int().describe("Unix expiration time (seconds) - extracted from JWT 'exp' claim if available").nullable().optional()
|
|
18
18
|
}).describe("Response for creating a KYA+PAY token.")
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-kya-pay-token.mjs","names":[],"sources":["../../src/actions/create-kya-pay-token.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SkyfireCreateKyaPayTokenInput
|
|
1
|
+
{"version":3,"file":"create-kya-pay-token.mjs","names":[],"sources":["../../src/actions/create-kya-pay-token.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SkyfireCreateKyaPayTokenInput = z.object({\n buyerTag: z.string().describe(\"Optional tag for buyer-side tracking\").optional(),\n expiresAt: z.number().int().describe(\"Unix timestamp (seconds) when token expires\"),\n tokenAmount: z.string().describe(\"Maximum amount the seller may charge (as decimal string)\"),\n sellerServiceId: z.string().describe(\"UUID of the seller service to call\"),\n identityPermissions: z.array(z.string()).describe(\"Optional list of identity permission scopes required by seller (e.g., ['email', 'name'])\").optional(),\n}).describe(\"Create a combined KYA+PAY token to provide identity and authorize payment.\\n\\nUse when a seller requires identity + payment in one token.\\nTypical chain: ListDirectoryServices → GetServiceDetails → CreateKyaPayToken →\\ncall the seller with this token per their integration (header/body).\");\nexport const SkyfireCreateKyaPayTokenOutput = z.object({\n token: z.string().describe(\"JWT for KYA+PAY token that should be used for authorization with the seller service\").nullable(),\n tokenId: z.string().describe(\"Identifier of the issued token (JWT 'jti' claim) if provided by API\").nullable().optional(),\n expiresAt: z.number().int().describe(\"Unix expiration time (seconds) - extracted from JWT 'exp' claim if available\").nullable().optional(),\n}).describe(\"Response for creating a KYA+PAY token.\");\n\nexport const skyfireCreateKyaPayToken = action(\"SKYFIRE_CREATE_KYA_PAY_TOKEN\", {\n slug: \"skyfire-create-kya-pay-token\",\n name: \"Create Skyfire KYA+PAY Token\",\n description: \"Issue a Skyfire KYA+PAY token (POST /api/v1/tokens with type=kya+pay).\",\n input: SkyfireCreateKyaPayTokenInput,\n output: SkyfireCreateKyaPayTokenOutput,\n});\n"],"mappings":";;AAiBA,MAAa,2BAA2B,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjB2C,EAAE,OAAO;EACpD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EAC/E,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C;EAClF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;EAC3F,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;EACzE,qBAAqB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CACzJ,CAAC,CAAC,CAAC,SAAS,iSAWH;CACP,QAX4C,EAAE,OAAO;EACrD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;EAC3H,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxH,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3I,CAAC,CAAC,CAAC,SAAS,wCAOF;AACV,CAAC"}
|
|
@@ -8,7 +8,7 @@ const SkyfireCreateKyaTokenInput = zod.z.object({
|
|
|
8
8
|
identityPermissions: zod.z.array(zod.z.string()).describe("Optional list of identity permission scopes if required by seller (e.g., ['email', 'name']). Check service's buyerIdentityRequirement to see what permissions may be needed.").optional()
|
|
9
9
|
}).describe("Create a KYA (Know-Your-Agent) identity token for a seller service.\n\nUse when a seller requires identity only. For identity+payment, prefer\nCreateKyaPayToken. Chain with GetServiceDetails to confirm requirements.");
|
|
10
10
|
const SkyfireCreateKyaTokenOutput = zod.z.object({
|
|
11
|
-
token: zod.z.string().describe("JWT for KYA token. Contains claims including exp (expiration), jti (token ID), ssi (seller service ID), and buyer/agent identity info."),
|
|
11
|
+
token: zod.z.string().describe("JWT for KYA token. Contains claims including exp (expiration), jti (token ID), ssi (seller service ID), and buyer/agent identity info.").nullable(),
|
|
12
12
|
tokenId: zod.z.string().describe("Identifier of the issued token (jti claim in JWT). If not returned directly, decode the JWT to access the 'jti' claim.").nullable().optional(),
|
|
13
13
|
expiresAt: zod.z.number().int().describe("Unix expiration time (seconds). If not returned by API, decode the JWT to access the 'exp' claim.").nullable().optional()
|
|
14
14
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-kya-token.cjs","names":["z","action"],"sources":["../../src/actions/create-kya-token.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SkyfireCreateKyaTokenInput
|
|
1
|
+
{"version":3,"file":"create-kya-token.cjs","names":["z","action"],"sources":["../../src/actions/create-kya-token.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SkyfireCreateKyaTokenInput = z.object({\n buyerTag: z.string().describe(\"Optional tag for buyer-side tracking\").optional(),\n expiresAt: z.number().int().describe(\"Unix timestamp (seconds) when token expires\"),\n sellerServiceId: z.string().describe(\"UUID of the seller service to call\"),\n identityPermissions: z.array(z.string()).describe(\"Optional list of identity permission scopes if required by seller (e.g., ['email', 'name']). Check service's buyerIdentityRequirement to see what permissions may be needed.\").optional(),\n}).describe(\"Create a KYA (Know-Your-Agent) identity token for a seller service.\\n\\nUse when a seller requires identity only. For identity+payment, prefer\\nCreateKyaPayToken. Chain with GetServiceDetails to confirm requirements.\");\nexport const SkyfireCreateKyaTokenOutput = z.object({\n token: z.string().describe(\"JWT for KYA token. Contains claims including exp (expiration), jti (token ID), ssi (seller service ID), and buyer/agent identity info.\").nullable(),\n tokenId: z.string().describe(\"Identifier of the issued token (jti claim in JWT). If not returned directly, decode the JWT to access the 'jti' claim.\").nullable().optional(),\n expiresAt: z.number().int().describe(\"Unix expiration time (seconds). If not returned by API, decode the JWT to access the 'exp' claim.\").nullable().optional(),\n});\n\nexport const skyfireCreateKyaToken = action(\"SKYFIRE_CREATE_KYA_TOKEN\", {\n slug: \"skyfire-create-kya-token\",\n name: \"Create Skyfire KYA Token\",\n description: \"Issue a Skyfire KYA token (POST /api/v1/tokens with type=kya).\",\n input: SkyfireCreateKyaTokenInput,\n output: SkyfireCreateKyaTokenOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC/E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C;CAClF,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CACzE,qBAAqBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8KAA8K,CAAC,CAAC,SAAS;AAC7O,CAAC,CAAC,CAAC,SAAS,yNAAyN;AACrO,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wIAAwI,CAAC,CAAC,SAAS;CAC9K,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wHAAwH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3K,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChK,CAAC;AAED,MAAa,wBAAwBC,eAAAA,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,23 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/create-kya-token.d.ts
|
|
4
|
-
declare const SkyfireCreateKyaTokenInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SkyfireCreateKyaTokenInput: z.ZodObject<{
|
|
5
|
+
buyerTag: z.ZodOptional<z.ZodString>;
|
|
6
|
+
expiresAt: z.ZodNumber;
|
|
7
|
+
sellerServiceId: z.ZodString;
|
|
8
|
+
identityPermissions: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9
|
+
}, z.core.$strip>;
|
|
10
|
+
declare const SkyfireCreateKyaTokenOutput: z.ZodObject<{
|
|
11
|
+
token: z.ZodNullable<z.ZodString>;
|
|
12
|
+
tokenId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
expiresAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
14
|
+
}, z.core.$strip>;
|
|
15
|
+
declare const skyfireCreateKyaToken: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
16
|
+
expiresAt: number;
|
|
17
|
+
sellerServiceId: string;
|
|
18
|
+
buyerTag?: string | undefined;
|
|
19
|
+
identityPermissions?: string[] | undefined;
|
|
20
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
21
|
//#endregion
|
|
8
22
|
export { skyfireCreateKyaToken };
|
|
9
23
|
//# sourceMappingURL=create-kya-token.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-kya-token.d.cts","names":[],"sources":["../../src/actions/create-kya-token.ts"],"mappings":";;;cAIa,0BAAA,
|
|
1
|
+
{"version":3,"file":"create-kya-token.d.cts","names":[],"sources":["../../src/actions/create-kya-token.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;cAM1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;cAM3B,qBAAA,gCAAqB,wBAAA"}
|
|
@@ -1,9 +1,23 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/create-kya-token.d.ts
|
|
4
|
-
declare const SkyfireCreateKyaTokenInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SkyfireCreateKyaTokenInput: z.ZodObject<{
|
|
5
|
+
buyerTag: z.ZodOptional<z.ZodString>;
|
|
6
|
+
expiresAt: z.ZodNumber;
|
|
7
|
+
sellerServiceId: z.ZodString;
|
|
8
|
+
identityPermissions: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9
|
+
}, z.core.$strip>;
|
|
10
|
+
declare const SkyfireCreateKyaTokenOutput: z.ZodObject<{
|
|
11
|
+
token: z.ZodNullable<z.ZodString>;
|
|
12
|
+
tokenId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
expiresAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
14
|
+
}, z.core.$strip>;
|
|
15
|
+
declare const skyfireCreateKyaToken: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
16
|
+
expiresAt: number;
|
|
17
|
+
sellerServiceId: string;
|
|
18
|
+
buyerTag?: string | undefined;
|
|
19
|
+
identityPermissions?: string[] | undefined;
|
|
20
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
21
|
//#endregion
|
|
8
22
|
export { skyfireCreateKyaToken };
|
|
9
23
|
//# sourceMappingURL=create-kya-token.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-kya-token.d.mts","names":[],"sources":["../../src/actions/create-kya-token.ts"],"mappings":";;;cAIa,0BAAA,
|
|
1
|
+
{"version":3,"file":"create-kya-token.d.mts","names":[],"sources":["../../src/actions/create-kya-token.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;cAM1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;cAM3B,qBAAA,gCAAqB,wBAAA"}
|
|
@@ -11,7 +11,7 @@ const skyfireCreateKyaToken = action("SKYFIRE_CREATE_KYA_TOKEN", {
|
|
|
11
11
|
identityPermissions: z.array(z.string()).describe("Optional list of identity permission scopes if required by seller (e.g., ['email', 'name']). Check service's buyerIdentityRequirement to see what permissions may be needed.").optional()
|
|
12
12
|
}).describe("Create a KYA (Know-Your-Agent) identity token for a seller service.\n\nUse when a seller requires identity only. For identity+payment, prefer\nCreateKyaPayToken. Chain with GetServiceDetails to confirm requirements."),
|
|
13
13
|
output: z.object({
|
|
14
|
-
token: z.string().describe("JWT for KYA token. Contains claims including exp (expiration), jti (token ID), ssi (seller service ID), and buyer/agent identity info."),
|
|
14
|
+
token: z.string().describe("JWT for KYA token. Contains claims including exp (expiration), jti (token ID), ssi (seller service ID), and buyer/agent identity info.").nullable(),
|
|
15
15
|
tokenId: z.string().describe("Identifier of the issued token (jti claim in JWT). If not returned directly, decode the JWT to access the 'jti' claim.").nullable().optional(),
|
|
16
16
|
expiresAt: z.number().int().describe("Unix expiration time (seconds). If not returned by API, decode the JWT to access the 'exp' claim.").nullable().optional()
|
|
17
17
|
})
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-kya-token.mjs","names":[],"sources":["../../src/actions/create-kya-token.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SkyfireCreateKyaTokenInput
|
|
1
|
+
{"version":3,"file":"create-kya-token.mjs","names":[],"sources":["../../src/actions/create-kya-token.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SkyfireCreateKyaTokenInput = z.object({\n buyerTag: z.string().describe(\"Optional tag for buyer-side tracking\").optional(),\n expiresAt: z.number().int().describe(\"Unix timestamp (seconds) when token expires\"),\n sellerServiceId: z.string().describe(\"UUID of the seller service to call\"),\n identityPermissions: z.array(z.string()).describe(\"Optional list of identity permission scopes if required by seller (e.g., ['email', 'name']). Check service's buyerIdentityRequirement to see what permissions may be needed.\").optional(),\n}).describe(\"Create a KYA (Know-Your-Agent) identity token for a seller service.\\n\\nUse when a seller requires identity only. For identity+payment, prefer\\nCreateKyaPayToken. Chain with GetServiceDetails to confirm requirements.\");\nexport const SkyfireCreateKyaTokenOutput = z.object({\n token: z.string().describe(\"JWT for KYA token. Contains claims including exp (expiration), jti (token ID), ssi (seller service ID), and buyer/agent identity info.\").nullable(),\n tokenId: z.string().describe(\"Identifier of the issued token (jti claim in JWT). If not returned directly, decode the JWT to access the 'jti' claim.\").nullable().optional(),\n expiresAt: z.number().int().describe(\"Unix expiration time (seconds). If not returned by API, decode the JWT to access the 'exp' claim.\").nullable().optional(),\n});\n\nexport const skyfireCreateKyaToken = action(\"SKYFIRE_CREATE_KYA_TOKEN\", {\n slug: \"skyfire-create-kya-token\",\n name: \"Create Skyfire KYA Token\",\n description: \"Issue a Skyfire KYA token (POST /api/v1/tokens with type=kya).\",\n input: SkyfireCreateKyaTokenInput,\n output: SkyfireCreateKyaTokenOutput,\n});\n"],"mappings":";;AAgBA,MAAa,wBAAwB,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBwC,EAAE,OAAO;EACjD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EAC/E,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C;EAClF,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;EACzE,qBAAqB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8KAA8K,CAAC,CAAC,SAAS;CAC7O,CAAC,CAAC,CAAC,SAAS,yNAWH;CACP,QAXyC,EAAE,OAAO;EAClD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wIAAwI,CAAC,CAAC,SAAS;EAC9K,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wHAAwH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3K,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChK,CAOU;AACV,CAAC"}
|
|
@@ -8,7 +8,7 @@ const SkyfireCreatePayTokenInput = zod.z.object({
|
|
|
8
8
|
sellerServiceId: zod.z.string().describe("The service ID you got from ListDirectoryServices - this binds the payment to a specific seller service")
|
|
9
9
|
}).describe("Create a Skyfire PAY token to authorize payment for a seller service.\n\nUse when you need to programmatically pay a seller service.\nTypical chain: ListDirectoryServices → GetServiceDetails → CreatePayToken →\ncall the seller using the token as their docs specify (e.g., header).\nThe token is a short‑lived JWT bound to a seller service and max charge.");
|
|
10
10
|
const SkyfireCreatePayTokenOutput = zod.z.object({
|
|
11
|
-
token: zod.z.string().describe("JWT for PAY token that should be used for authorization with the seller service"),
|
|
11
|
+
token: zod.z.string().describe("JWT for PAY token that should be used for authorization with the seller service").nullable(),
|
|
12
12
|
tokenId: zod.z.string().describe("Identifier of the issued token (JWT 'jti' claim) if provided by API").nullable().optional(),
|
|
13
13
|
expiresAt: zod.z.number().int().describe("Unix expiration time (seconds) - extracted from JWT 'exp' claim if available").nullable().optional()
|
|
14
14
|
}).describe("Response for creating a PAY token.");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-pay-token.cjs","names":["z","action"],"sources":["../../src/actions/create-pay-token.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SkyfireCreatePayTokenInput
|
|
1
|
+
{"version":3,"file":"create-pay-token.cjs","names":["z","action"],"sources":["../../src/actions/create-pay-token.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SkyfireCreatePayTokenInput = z.object({\n buyerTag: z.string().describe(\"Your internal reference for tracking - appears in transaction history. Use for matching tokens to your workflows\").optional(),\n expiresAt: z.number().int().describe(\"Unix timestamp when this token becomes invalid. Set short (5-10 min) for one-time use, longer for recurring calls. Max 24 hours\"),\n tokenAmount: z.string().describe(\"Maximum USD the seller can charge. Use decimal string to avoid float precision issues. The seller decides actual charge up to this limit\"),\n sellerServiceId: z.string().describe(\"The service ID you got from ListDirectoryServices - this binds the payment to a specific seller service\"),\n}).describe(\"Create a Skyfire PAY token to authorize payment for a seller service.\\n\\nUse when you need to programmatically pay a seller service.\\nTypical chain: ListDirectoryServices → GetServiceDetails → CreatePayToken →\\ncall the seller using the token as their docs specify (e.g., header).\\nThe token is a short‑lived JWT bound to a seller service and max charge.\");\nexport const SkyfireCreatePayTokenOutput = z.object({\n token: z.string().describe(\"JWT for PAY token that should be used for authorization with the seller service\").nullable(),\n tokenId: z.string().describe(\"Identifier of the issued token (JWT 'jti' claim) if provided by API\").nullable().optional(),\n expiresAt: z.number().int().describe(\"Unix expiration time (seconds) - extracted from JWT 'exp' claim if available\").nullable().optional(),\n}).describe(\"Response for creating a PAY token.\");\n\nexport const skyfireCreatePayToken = action(\"SKYFIRE_CREATE_PAY_TOKEN\", {\n slug: \"skyfire-create-pay-token\",\n name: \"Create Skyfire PAY Token\",\n description: \"Issue a Skyfire PAY token (POST /api/v1/tokens with type=pay).\",\n input: SkyfireCreatePayTokenInput,\n output: SkyfireCreatePayTokenOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS;CAC3J,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iIAAiI;CACtK,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0IAA0I;CAC3K,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG;AAChJ,CAAC,CAAC,CAAC,SAAS,oWAAoW;AAChX,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CACvH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3I,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAEhD,MAAa,wBAAwBC,eAAAA,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,23 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/create-pay-token.d.ts
|
|
4
|
-
declare const SkyfireCreatePayTokenInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SkyfireCreatePayTokenInput: z.ZodObject<{
|
|
5
|
+
buyerTag: z.ZodOptional<z.ZodString>;
|
|
6
|
+
expiresAt: z.ZodNumber;
|
|
7
|
+
tokenAmount: z.ZodString;
|
|
8
|
+
sellerServiceId: z.ZodString;
|
|
9
|
+
}, z.core.$strip>;
|
|
10
|
+
declare const SkyfireCreatePayTokenOutput: z.ZodObject<{
|
|
11
|
+
token: z.ZodNullable<z.ZodString>;
|
|
12
|
+
tokenId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
expiresAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
14
|
+
}, z.core.$strip>;
|
|
15
|
+
declare const skyfireCreatePayToken: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
16
|
+
expiresAt: number;
|
|
17
|
+
tokenAmount: string;
|
|
18
|
+
sellerServiceId: string;
|
|
19
|
+
buyerTag?: string | undefined;
|
|
20
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
21
|
//#endregion
|
|
8
22
|
export { skyfireCreatePayToken };
|
|
9
23
|
//# sourceMappingURL=create-pay-token.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-pay-token.d.cts","names":[],"sources":["../../src/actions/create-pay-token.ts"],"mappings":";;;cAIa,0BAAA,
|
|
1
|
+
{"version":3,"file":"create-pay-token.d.cts","names":[],"sources":["../../src/actions/create-pay-token.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;cAM1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;cAM3B,qBAAA,gCAAqB,wBAAA"}
|
|
@@ -1,9 +1,23 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/create-pay-token.d.ts
|
|
4
|
-
declare const SkyfireCreatePayTokenInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SkyfireCreatePayTokenInput: z.ZodObject<{
|
|
5
|
+
buyerTag: z.ZodOptional<z.ZodString>;
|
|
6
|
+
expiresAt: z.ZodNumber;
|
|
7
|
+
tokenAmount: z.ZodString;
|
|
8
|
+
sellerServiceId: z.ZodString;
|
|
9
|
+
}, z.core.$strip>;
|
|
10
|
+
declare const SkyfireCreatePayTokenOutput: z.ZodObject<{
|
|
11
|
+
token: z.ZodNullable<z.ZodString>;
|
|
12
|
+
tokenId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
expiresAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
14
|
+
}, z.core.$strip>;
|
|
15
|
+
declare const skyfireCreatePayToken: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
16
|
+
expiresAt: number;
|
|
17
|
+
tokenAmount: string;
|
|
18
|
+
sellerServiceId: string;
|
|
19
|
+
buyerTag?: string | undefined;
|
|
20
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
21
|
//#endregion
|
|
8
22
|
export { skyfireCreatePayToken };
|
|
9
23
|
//# sourceMappingURL=create-pay-token.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-pay-token.d.mts","names":[],"sources":["../../src/actions/create-pay-token.ts"],"mappings":";;;cAIa,0BAAA,
|
|
1
|
+
{"version":3,"file":"create-pay-token.d.mts","names":[],"sources":["../../src/actions/create-pay-token.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;cAM1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;cAM3B,qBAAA,gCAAqB,wBAAA"}
|
|
@@ -11,7 +11,7 @@ const skyfireCreatePayToken = action("SKYFIRE_CREATE_PAY_TOKEN", {
|
|
|
11
11
|
sellerServiceId: z.string().describe("The service ID you got from ListDirectoryServices - this binds the payment to a specific seller service")
|
|
12
12
|
}).describe("Create a Skyfire PAY token to authorize payment for a seller service.\n\nUse when you need to programmatically pay a seller service.\nTypical chain: ListDirectoryServices → GetServiceDetails → CreatePayToken →\ncall the seller using the token as their docs specify (e.g., header).\nThe token is a short‑lived JWT bound to a seller service and max charge."),
|
|
13
13
|
output: z.object({
|
|
14
|
-
token: z.string().describe("JWT for PAY token that should be used for authorization with the seller service"),
|
|
14
|
+
token: z.string().describe("JWT for PAY token that should be used for authorization with the seller service").nullable(),
|
|
15
15
|
tokenId: z.string().describe("Identifier of the issued token (JWT 'jti' claim) if provided by API").nullable().optional(),
|
|
16
16
|
expiresAt: z.number().int().describe("Unix expiration time (seconds) - extracted from JWT 'exp' claim if available").nullable().optional()
|
|
17
17
|
}).describe("Response for creating a PAY token.")
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-pay-token.mjs","names":[],"sources":["../../src/actions/create-pay-token.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SkyfireCreatePayTokenInput
|
|
1
|
+
{"version":3,"file":"create-pay-token.mjs","names":[],"sources":["../../src/actions/create-pay-token.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SkyfireCreatePayTokenInput = z.object({\n buyerTag: z.string().describe(\"Your internal reference for tracking - appears in transaction history. Use for matching tokens to your workflows\").optional(),\n expiresAt: z.number().int().describe(\"Unix timestamp when this token becomes invalid. Set short (5-10 min) for one-time use, longer for recurring calls. Max 24 hours\"),\n tokenAmount: z.string().describe(\"Maximum USD the seller can charge. Use decimal string to avoid float precision issues. The seller decides actual charge up to this limit\"),\n sellerServiceId: z.string().describe(\"The service ID you got from ListDirectoryServices - this binds the payment to a specific seller service\"),\n}).describe(\"Create a Skyfire PAY token to authorize payment for a seller service.\\n\\nUse when you need to programmatically pay a seller service.\\nTypical chain: ListDirectoryServices → GetServiceDetails → CreatePayToken →\\ncall the seller using the token as their docs specify (e.g., header).\\nThe token is a short‑lived JWT bound to a seller service and max charge.\");\nexport const SkyfireCreatePayTokenOutput = z.object({\n token: z.string().describe(\"JWT for PAY token that should be used for authorization with the seller service\").nullable(),\n tokenId: z.string().describe(\"Identifier of the issued token (JWT 'jti' claim) if provided by API\").nullable().optional(),\n expiresAt: z.number().int().describe(\"Unix expiration time (seconds) - extracted from JWT 'exp' claim if available\").nullable().optional(),\n}).describe(\"Response for creating a PAY token.\");\n\nexport const skyfireCreatePayToken = action(\"SKYFIRE_CREATE_PAY_TOKEN\", {\n slug: \"skyfire-create-pay-token\",\n name: \"Create Skyfire PAY Token\",\n description: \"Issue a Skyfire PAY token (POST /api/v1/tokens with type=pay).\",\n input: SkyfireCreatePayTokenInput,\n output: SkyfireCreatePayTokenOutput,\n});\n"],"mappings":";;AAgBA,MAAa,wBAAwB,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBwC,EAAE,OAAO;EACjD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS;EAC3J,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iIAAiI;EACtK,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0IAA0I;EAC3K,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG;CAChJ,CAAC,CAAC,CAAC,SAAS,oWAWH;CACP,QAXyC,EAAE,OAAO;EAClD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;EACvH,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxH,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3I,CAAC,CAAC,CAAC,SAAS,oCAOF;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-all-service-tags.cjs","names":["z","action"],"sources":["../../src/actions/get-all-service-tags.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SkyfireGetAllServiceTagsInput
|
|
1
|
+
{"version":3,"file":"get-all-service-tags.cjs","names":["z","action"],"sources":["../../src/actions/get-all-service-tags.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SkyfireGetAllServiceTagsInput = z.object({}).describe(\"Get all available service tags for filtering the directory.\\n\\nUse this to see what tags exist before filtering ListDirectoryServices.\");\nexport const SkyfireGetAllServiceTagsOutput = z.object({\n data: z.array(z.string()).describe(\"All available service tags like 'ai', 'web scraping', 'agent to agent'\"),\n});\n\nexport const skyfireGetAllServiceTags = action(\"SKYFIRE_GET_ALL_SERVICE_TAGS\", {\n slug: \"skyfire-get-all-service-tags\",\n name: \"Get All Service Tags\",\n description: \"Fetch all service tags to discover filtering options. Chain with ListDirectoryServices using tags parameter to find specific types of services (e.g., 'ai', 'mcp', 'scraping').\",\n input: SkyfireGetAllServiceTagsInput,\n output: SkyfireGetAllServiceTagsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,wIAAwI;AAC3M,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wEAAwE,EAC7G,CAAC;AAED,MAAa,2BAA2BC,eAAAA,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-all-service-tags.d.ts
|
|
4
|
-
declare const SkyfireGetAllServiceTagsInput: z.
|
|
5
|
-
declare const SkyfireGetAllServiceTagsOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const SkyfireGetAllServiceTagsInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const SkyfireGetAllServiceTagsOutput: z.ZodObject<{
|
|
6
|
+
data: z.ZodArray<z.ZodString>;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const skyfireGetAllServiceTags: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
9
|
//#endregion
|
|
8
10
|
export { skyfireGetAllServiceTags };
|
|
9
11
|
//# sourceMappingURL=get-all-service-tags.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-all-service-tags.d.cts","names":[],"sources":["../../src/actions/get-all-service-tags.ts"],"mappings":";;;cAIa,6BAAA,
|
|
1
|
+
{"version":3,"file":"get-all-service-tags.d.cts","names":[],"sources":["../../src/actions/get-all-service-tags.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAI9B,wBAAA,gCAAwB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-all-service-tags.d.ts
|
|
4
|
-
declare const SkyfireGetAllServiceTagsInput: z.
|
|
5
|
-
declare const SkyfireGetAllServiceTagsOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const SkyfireGetAllServiceTagsInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const SkyfireGetAllServiceTagsOutput: z.ZodObject<{
|
|
6
|
+
data: z.ZodArray<z.ZodString>;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const skyfireGetAllServiceTags: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
9
|
//#endregion
|
|
8
10
|
export { skyfireGetAllServiceTags };
|
|
9
11
|
//# sourceMappingURL=get-all-service-tags.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-all-service-tags.d.mts","names":[],"sources":["../../src/actions/get-all-service-tags.ts"],"mappings":";;;cAIa,6BAAA,
|
|
1
|
+
{"version":3,"file":"get-all-service-tags.d.mts","names":[],"sources":["../../src/actions/get-all-service-tags.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAI9B,wBAAA,gCAAwB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-all-service-tags.mjs","names":[],"sources":["../../src/actions/get-all-service-tags.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SkyfireGetAllServiceTagsInput
|
|
1
|
+
{"version":3,"file":"get-all-service-tags.mjs","names":[],"sources":["../../src/actions/get-all-service-tags.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SkyfireGetAllServiceTagsInput = z.object({}).describe(\"Get all available service tags for filtering the directory.\\n\\nUse this to see what tags exist before filtering ListDirectoryServices.\");\nexport const SkyfireGetAllServiceTagsOutput = z.object({\n data: z.array(z.string()).describe(\"All available service tags like 'ai', 'web scraping', 'agent to agent'\"),\n});\n\nexport const skyfireGetAllServiceTags = action(\"SKYFIRE_GET_ALL_SERVICE_TAGS\", {\n slug: \"skyfire-get-all-service-tags\",\n name: \"Get All Service Tags\",\n description: \"Fetch all service tags to discover filtering options. Chain with ListDirectoryServices using tags parameter to find specific types of services (e.g., 'ai', 'mcp', 'scraping').\",\n input: SkyfireGetAllServiceTagsInput,\n output: SkyfireGetAllServiceTagsOutput,\n});\n"],"mappings":";;AASA,MAAa,2BAA2B,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAT2C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,wIAS1D;CACP,QAT4C,EAAE,OAAO,EACrD,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wEAAwE,EAC7G,CAOU;AACV,CAAC"}
|