@keystrokehq/skyfire 0.1.0 → 0.1.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/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/charge-token.cjs +3 -3
- 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 +3 -3
- package/dist/actions/charge-token.mjs.map +1 -1
- package/dist/actions/create-kya-pay-token.cjs +2 -2
- 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 +2 -2
- package/dist/actions/create-kya-pay-token.mjs.map +1 -1
- package/dist/actions/create-kya-token.cjs +2 -2
- 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 +2 -2
- package/dist/actions/create-kya-token.mjs.map +1 -1
- package/dist/actions/create-pay-token.cjs +2 -2
- 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 +2 -2
- package/dist/actions/create-pay-token.mjs.map +1 -1
- package/dist/actions/get-all-service-tags.cjs +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 +1 -1
- package/dist/actions/get-all-service-tags.mjs.map +1 -1
- package/dist/actions/get-buyer-wallet-balance.cjs +5 -5
- 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 +5 -5
- package/dist/actions/get-buyer-wallet-balance.mjs.map +1 -1
- package/dist/actions/get-directory-service-by-id.cjs +13 -13
- 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 +13 -13
- package/dist/actions/get-directory-service-by-id.mjs.map +1 -1
- package/dist/actions/get-service.cjs +7 -7
- 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 +7 -7
- package/dist/actions/get-service.mjs.map +1 -1
- package/dist/actions/get-services-by-agent.cjs +15 -15
- 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 +15 -15
- package/dist/actions/get-services-by-agent.mjs.map +1 -1
- package/dist/actions/get-services-by-tags.cjs +15 -15
- 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 +15 -15
- package/dist/actions/get-services-by-tags.mjs.map +1 -1
- package/dist/actions/get-token-charges.cjs +9 -9
- 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 +9 -9
- package/dist/actions/get-token-charges.mjs.map +1 -1
- package/dist/actions/introspect-token.cjs +2 -2
- 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 +2 -2
- package/dist/actions/introspect-token.mjs.map +1 -1
- package/dist/actions/list-agent-seller-services.cjs +15 -15
- 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 +15 -15
- package/dist/actions/list-agent-seller-services.mjs.map +1 -1
- package/dist/actions/list-buyer-tokens.cjs +16 -16
- 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 +16 -16
- package/dist/actions/list-buyer-tokens.mjs.map +1 -1
- package/dist/actions/list-directory-services.cjs +15 -15
- 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 +15 -15
- package/dist/actions/list-directory-services.mjs.map +1 -1
- package/dist/actions/set-agent-source-ips.cjs +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 +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
|
@@ -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.$loose>;
|
|
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"}
|
|
@@ -5,7 +5,7 @@ const skyfireGetAllServiceTags = action("SKYFIRE_GET_ALL_SERVICE_TAGS", {
|
|
|
5
5
|
name: "Get All Service Tags",
|
|
6
6
|
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').",
|
|
7
7
|
input: z.object({}).describe("Get all available service tags for filtering the directory.\n\nUse this to see what tags exist before filtering ListDirectoryServices."),
|
|
8
|
-
output: z.object({ data: z.array(z.string()).describe("All available service tags like 'ai', 'web scraping', 'agent to agent'") })
|
|
8
|
+
output: z.object({ data: z.array(z.string()).describe("All available service tags like 'ai', 'web scraping', 'agent to agent'") }).passthrough()
|
|
9
9
|
});
|
|
10
10
|
//#endregion
|
|
11
11
|
export { skyfireGetAllServiceTags };
|
|
@@ -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}).passthrough();\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,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -3,11 +3,11 @@ let zod = require("zod");
|
|
|
3
3
|
//#region src/actions/get-buyer-wallet-balance.ts
|
|
4
4
|
const SkyfireGetBuyerWalletBalanceInput = zod.z.object({}).describe("Fetch your buyer agent's wallet balance.\n\nUse this to ensure sufficient funds before creating a PAY or KYA+PAY token.\nThe balance is determined by the API key used for authentication.");
|
|
5
5
|
const SkyfireGetBuyerWalletBalanceOutput = zod.z.object({
|
|
6
|
-
available: zod.z.string().describe("Spendable balance - this is what you can actually use for new tokens"),
|
|
7
|
-
heldAmount: zod.z.string().describe("Amount reserved for active tokens that haven't been charged yet"),
|
|
8
|
-
pendingCharges: zod.z.string().describe("Amount being processed for completed transactions"),
|
|
9
|
-
pendingDeposits: zod.z.string().describe("Incoming deposits that haven't cleared yet")
|
|
10
|
-
});
|
|
6
|
+
available: zod.z.string().describe("Spendable balance - this is what you can actually use for new tokens").nullable(),
|
|
7
|
+
heldAmount: zod.z.string().describe("Amount reserved for active tokens that haven't been charged yet").nullable(),
|
|
8
|
+
pendingCharges: zod.z.string().describe("Amount being processed for completed transactions").nullable(),
|
|
9
|
+
pendingDeposits: zod.z.string().describe("Incoming deposits that haven't cleared yet").nullable()
|
|
10
|
+
}).passthrough();
|
|
11
11
|
const skyfireGetBuyerWalletBalance = require_action.action("SKYFIRE_GET_BUYER_WALLET_BALANCE", {
|
|
12
12
|
slug: "skyfire-get-buyer-wallet-balance",
|
|
13
13
|
name: "Get Skyfire Buyer Wallet Balance",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-buyer-wallet-balance.cjs","names":["z","action"],"sources":["../../src/actions/get-buyer-wallet-balance.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SkyfireGetBuyerWalletBalanceInput
|
|
1
|
+
{"version":3,"file":"get-buyer-wallet-balance.cjs","names":["z","action"],"sources":["../../src/actions/get-buyer-wallet-balance.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SkyfireGetBuyerWalletBalanceInput = z.object({}).describe(\"Fetch your buyer agent's wallet balance.\\n\\nUse this to ensure sufficient funds before creating a PAY or KYA+PAY token.\\nThe balance is determined by the API key used for authentication.\");\nexport const SkyfireGetBuyerWalletBalanceOutput = z.object({\n available: z.string().describe(\"Spendable balance - this is what you can actually use for new tokens\").nullable(),\n heldAmount: z.string().describe(\"Amount reserved for active tokens that haven't been charged yet\").nullable(),\n pendingCharges: z.string().describe(\"Amount being processed for completed transactions\").nullable(),\n pendingDeposits: z.string().describe(\"Incoming deposits that haven't cleared yet\").nullable(),\n}).passthrough();\n\nexport const skyfireGetBuyerWalletBalance = action(\"SKYFIRE_GET_BUYER_WALLET_BALANCE\", {\n slug: \"skyfire-get-buyer-wallet-balance\",\n name: \"Get Skyfire Buyer Wallet Balance\",\n description: \"Retrieve buyer wallet balance. Chain before token creation to prevent declines.\",\n input: SkyfireGetBuyerWalletBalanceInput,\n output: SkyfireGetBuyerWalletBalanceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,4LAA4L;AACnQ,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CAChH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CAC5G,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAClG,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,+BAA+BC,eAAAA,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-buyer-wallet-balance.d.ts
|
|
4
|
-
declare const SkyfireGetBuyerWalletBalanceInput: z.
|
|
5
|
-
declare const SkyfireGetBuyerWalletBalanceOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const SkyfireGetBuyerWalletBalanceInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const SkyfireGetBuyerWalletBalanceOutput: z.ZodObject<{
|
|
6
|
+
available: z.ZodNullable<z.ZodString>;
|
|
7
|
+
heldAmount: z.ZodNullable<z.ZodString>;
|
|
8
|
+
pendingCharges: z.ZodNullable<z.ZodString>;
|
|
9
|
+
pendingDeposits: z.ZodNullable<z.ZodString>;
|
|
10
|
+
}, z.core.$loose>;
|
|
11
|
+
declare const skyfireGetBuyerWalletBalance: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
12
|
//#endregion
|
|
8
13
|
export { skyfireGetBuyerWalletBalance };
|
|
9
14
|
//# sourceMappingURL=get-buyer-wallet-balance.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-buyer-wallet-balance.d.cts","names":[],"sources":["../../src/actions/get-buyer-wallet-balance.ts"],"mappings":";;;cAIa,iCAAA,
|
|
1
|
+
{"version":3,"file":"get-buyer-wallet-balance.d.cts","names":[],"sources":["../../src/actions/get-buyer-wallet-balance.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;cAOlC,4BAAA,gCAA4B,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-buyer-wallet-balance.d.ts
|
|
4
|
-
declare const SkyfireGetBuyerWalletBalanceInput: z.
|
|
5
|
-
declare const SkyfireGetBuyerWalletBalanceOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const SkyfireGetBuyerWalletBalanceInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const SkyfireGetBuyerWalletBalanceOutput: z.ZodObject<{
|
|
6
|
+
available: z.ZodNullable<z.ZodString>;
|
|
7
|
+
heldAmount: z.ZodNullable<z.ZodString>;
|
|
8
|
+
pendingCharges: z.ZodNullable<z.ZodString>;
|
|
9
|
+
pendingDeposits: z.ZodNullable<z.ZodString>;
|
|
10
|
+
}, z.core.$loose>;
|
|
11
|
+
declare const skyfireGetBuyerWalletBalance: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
12
|
//#endregion
|
|
8
13
|
export { skyfireGetBuyerWalletBalance };
|
|
9
14
|
//# sourceMappingURL=get-buyer-wallet-balance.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-buyer-wallet-balance.d.mts","names":[],"sources":["../../src/actions/get-buyer-wallet-balance.ts"],"mappings":";;;cAIa,iCAAA,
|
|
1
|
+
{"version":3,"file":"get-buyer-wallet-balance.d.mts","names":[],"sources":["../../src/actions/get-buyer-wallet-balance.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;cAOlC,4BAAA,gCAA4B,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -6,11 +6,11 @@ const skyfireGetBuyerWalletBalance = action("SKYFIRE_GET_BUYER_WALLET_BALANCE",
|
|
|
6
6
|
description: "Retrieve buyer wallet balance. Chain before token creation to prevent declines.",
|
|
7
7
|
input: z.object({}).describe("Fetch your buyer agent's wallet balance.\n\nUse this to ensure sufficient funds before creating a PAY or KYA+PAY token.\nThe balance is determined by the API key used for authentication."),
|
|
8
8
|
output: z.object({
|
|
9
|
-
available: z.string().describe("Spendable balance - this is what you can actually use for new tokens"),
|
|
10
|
-
heldAmount: z.string().describe("Amount reserved for active tokens that haven't been charged yet"),
|
|
11
|
-
pendingCharges: z.string().describe("Amount being processed for completed transactions"),
|
|
12
|
-
pendingDeposits: z.string().describe("Incoming deposits that haven't cleared yet")
|
|
13
|
-
})
|
|
9
|
+
available: z.string().describe("Spendable balance - this is what you can actually use for new tokens").nullable(),
|
|
10
|
+
heldAmount: z.string().describe("Amount reserved for active tokens that haven't been charged yet").nullable(),
|
|
11
|
+
pendingCharges: z.string().describe("Amount being processed for completed transactions").nullable(),
|
|
12
|
+
pendingDeposits: z.string().describe("Incoming deposits that haven't cleared yet").nullable()
|
|
13
|
+
}).passthrough()
|
|
14
14
|
});
|
|
15
15
|
//#endregion
|
|
16
16
|
export { skyfireGetBuyerWalletBalance };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-buyer-wallet-balance.mjs","names":[],"sources":["../../src/actions/get-buyer-wallet-balance.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SkyfireGetBuyerWalletBalanceInput
|
|
1
|
+
{"version":3,"file":"get-buyer-wallet-balance.mjs","names":[],"sources":["../../src/actions/get-buyer-wallet-balance.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SkyfireGetBuyerWalletBalanceInput = z.object({}).describe(\"Fetch your buyer agent's wallet balance.\\n\\nUse this to ensure sufficient funds before creating a PAY or KYA+PAY token.\\nThe balance is determined by the API key used for authentication.\");\nexport const SkyfireGetBuyerWalletBalanceOutput = z.object({\n available: z.string().describe(\"Spendable balance - this is what you can actually use for new tokens\").nullable(),\n heldAmount: z.string().describe(\"Amount reserved for active tokens that haven't been charged yet\").nullable(),\n pendingCharges: z.string().describe(\"Amount being processed for completed transactions\").nullable(),\n pendingDeposits: z.string().describe(\"Incoming deposits that haven't cleared yet\").nullable(),\n}).passthrough();\n\nexport const skyfireGetBuyerWalletBalance = action(\"SKYFIRE_GET_BUYER_WALLET_BALANCE\", {\n slug: \"skyfire-get-buyer-wallet-balance\",\n name: \"Get Skyfire Buyer Wallet Balance\",\n description: \"Retrieve buyer wallet balance. Chain before token creation to prevent declines.\",\n input: SkyfireGetBuyerWalletBalanceInput,\n output: SkyfireGetBuyerWalletBalanceOutput,\n});\n"],"mappings":";;AAYA,MAAa,+BAA+B,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZ+C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,4LAY9D;CACP,QAZgD,EAAE,OAAO;EACzD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;EAChH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;EAC5G,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EAClG,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAC9F,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -3,29 +3,29 @@ let zod = require("zod");
|
|
|
3
3
|
//#region src/actions/get-directory-service-by-id.ts
|
|
4
4
|
const SkyfireGetDirectoryServiceByIdInput = zod.z.object({ serviceId: zod.z.string().describe("ID of the service to retrieve. Must be a valid UUID format.") }).describe("Get detailed info about a specific service in the Skyfire directory.\n\nUse when you have a service ID and want full service details including\npricing, requirements, seller info, and integration URLs.");
|
|
5
5
|
const SkyfireGetDirectoryServiceById_ServiceSellerSchema = zod.z.object({
|
|
6
|
-
id: zod.z.string().describe("Seller's unique identifier"),
|
|
7
|
-
name: zod.z.string().describe("Seller's display name")
|
|
8
|
-
});
|
|
6
|
+
id: zod.z.string().describe("Seller's unique identifier").nullable(),
|
|
7
|
+
name: zod.z.string().describe("Seller's display name").nullable()
|
|
8
|
+
}).passthrough();
|
|
9
9
|
const SkyfireGetDirectoryServiceById_BuyerIdentityRequirementSchema = zod.z.object({
|
|
10
10
|
business: zod.z.array(zod.z.string()).describe("Business identity requirements").nullable().optional(),
|
|
11
11
|
individual: zod.z.array(zod.z.string()).describe("Individual identity requirements").nullable().optional(),
|
|
12
12
|
identityLevels: zod.z.array(zod.z.string()).describe("Required identity verification levels for buyers").nullable().optional()
|
|
13
|
-
});
|
|
13
|
+
}).passthrough();
|
|
14
14
|
const SkyfireGetDirectoryServiceByIdOutput = zod.z.object({
|
|
15
|
-
id: zod.z.string().describe("Service unique identifier (UUID)"),
|
|
16
|
-
name: zod.z.string().describe("Service name"),
|
|
15
|
+
id: zod.z.string().describe("Service unique identifier (UUID)").nullable(),
|
|
16
|
+
name: zod.z.string().describe("Service name").nullable(),
|
|
17
17
|
tags: zod.z.array(zod.z.string()).describe("Service category tags").nullable().optional(),
|
|
18
|
-
type: zod.z.string().describe("Service type: API, WEB_PAGE, MCP_SERVER_REMOTE, or FETCH_AGENT"),
|
|
19
|
-
price: zod.z.string().describe("Price per use in USD (e.g., '0.000001')"),
|
|
18
|
+
type: zod.z.string().describe("Service type: API, WEB_PAGE, MCP_SERVER_REMOTE, or FETCH_AGENT").nullable(),
|
|
19
|
+
price: zod.z.string().describe("Price per use in USD (e.g., '0.000001')").nullable(),
|
|
20
20
|
seller: SkyfireGetDirectoryServiceById_ServiceSellerSchema.nullable(),
|
|
21
|
-
createdAt: zod.z.string().describe("Service creation timestamp (ISO 8601)"),
|
|
22
|
-
updatedAt: zod.z.string().describe("Service last update timestamp (ISO 8601)"),
|
|
23
|
-
priceModel: zod.z.string().describe("Pricing model (e.g., PAY_PER_USE, CUSTOM)"),
|
|
21
|
+
createdAt: zod.z.string().describe("Service creation timestamp (ISO 8601)").nullable(),
|
|
22
|
+
updatedAt: zod.z.string().describe("Service last update timestamp (ISO 8601)").nullable(),
|
|
23
|
+
priceModel: zod.z.string().describe("Pricing model (e.g., PAY_PER_USE, CUSTOM)").nullable(),
|
|
24
24
|
description: zod.z.string().describe("Service description").nullable().optional(),
|
|
25
|
-
minimumTokenAmount: zod.z.string().describe("Minimum token amount required"),
|
|
25
|
+
minimumTokenAmount: zod.z.string().describe("Minimum token amount required").nullable(),
|
|
26
26
|
fetchAgentProfileUrl: zod.z.string().describe("Fetch agent profile URL (for FETCH_AGENT type services)").nullable().optional(),
|
|
27
27
|
buyerIdentityRequirement: SkyfireGetDirectoryServiceById_BuyerIdentityRequirementSchema.nullable()
|
|
28
|
-
});
|
|
28
|
+
}).passthrough();
|
|
29
29
|
const skyfireGetDirectoryServiceById = require_action.action("SKYFIRE_GET_DIRECTORY_SERVICE_BY_ID", {
|
|
30
30
|
slug: "skyfire-get-directory-service-by-id",
|
|
31
31
|
name: "Get Directory Service By ID",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-directory-service-by-id.cjs","names":["z","action"],"sources":["../../src/actions/get-directory-service-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SkyfireGetDirectoryServiceByIdInput
|
|
1
|
+
{"version":3,"file":"get-directory-service-by-id.cjs","names":["z","action"],"sources":["../../src/actions/get-directory-service-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SkyfireGetDirectoryServiceByIdInput = z.object({\n serviceId: z.string().describe(\"ID of the service to retrieve. Must be a valid UUID format.\"),\n}).describe(\"Get detailed info about a specific service in the Skyfire directory.\\n\\nUse when you have a service ID and want full service details including\\npricing, requirements, seller info, and integration URLs.\");\nconst SkyfireGetDirectoryServiceById_ServiceSellerSchema = z.object({\n id: z.string().describe(\"Seller's unique identifier\").nullable(),\n name: z.string().describe(\"Seller's display name\").nullable(),\n}).passthrough();\nconst SkyfireGetDirectoryServiceById_BuyerIdentityRequirementSchema = z.object({\n business: z.array(z.string()).describe(\"Business identity requirements\").nullable().optional(),\n individual: z.array(z.string()).describe(\"Individual identity requirements\").nullable().optional(),\n identityLevels: z.array(z.string()).describe(\"Required identity verification levels for buyers\").nullable().optional(),\n}).passthrough();\nexport const SkyfireGetDirectoryServiceByIdOutput = z.object({\n id: z.string().describe(\"Service unique identifier (UUID)\").nullable(),\n name: z.string().describe(\"Service name\").nullable(),\n tags: z.array(z.string()).describe(\"Service category tags\").nullable().optional(),\n type: z.string().describe(\"Service type: API, WEB_PAGE, MCP_SERVER_REMOTE, or FETCH_AGENT\").nullable(),\n price: z.string().describe(\"Price per use in USD (e.g., '0.000001')\").nullable(),\n seller: SkyfireGetDirectoryServiceById_ServiceSellerSchema.nullable(),\n createdAt: z.string().describe(\"Service creation timestamp (ISO 8601)\").nullable(),\n updatedAt: z.string().describe(\"Service last update timestamp (ISO 8601)\").nullable(),\n priceModel: z.string().describe(\"Pricing model (e.g., PAY_PER_USE, CUSTOM)\").nullable(),\n description: z.string().describe(\"Service description\").nullable().optional(),\n minimumTokenAmount: z.string().describe(\"Minimum token amount required\").nullable(),\n fetchAgentProfileUrl: z.string().describe(\"Fetch agent profile URL (for FETCH_AGENT type services)\").nullable().optional(),\n buyerIdentityRequirement: SkyfireGetDirectoryServiceById_BuyerIdentityRequirementSchema.nullable(),\n}).passthrough();\n\nexport const skyfireGetDirectoryServiceById = action(\"SKYFIRE_GET_DIRECTORY_SERVICE_BY_ID\", {\n slug: \"skyfire-get-directory-service-by-id\",\n name: \"Get Directory Service By ID\",\n description: \"Tool to get full details for a specific service in the Skyfire directory by its ID. Use when you need complete information about a service including pricing, requirements, and seller details.\",\n input: SkyfireGetDirectoryServiceByIdInput,\n output: SkyfireGetDirectoryServiceByIdOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO,EAC1D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,EAC9F,CAAC,CAAC,CAAC,SAAS,2MAA2M;AACvN,MAAM,qDAAqDA,IAAAA,EAAE,OAAO;CAClE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;AAC9D,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,gEAAgEA,IAAAA,EAAE,OAAO;CAC7E,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,YAAYA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,gBAAgBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvH,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACrE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;CACnD,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CACrG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC/E,QAAQ,mDAAmD,SAAS;CACpE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACjF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACpF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACtF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAClF,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,0BAA0B,8DAA8D,SAAS;AACnG,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,iCAAiCC,eAAAA,OAAO,uCAAuC;CAC1F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,34 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-directory-service-by-id.d.ts
|
|
4
|
-
declare const SkyfireGetDirectoryServiceByIdInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SkyfireGetDirectoryServiceByIdInput: z.ZodObject<{
|
|
5
|
+
serviceId: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const SkyfireGetDirectoryServiceByIdOutput: z.ZodObject<{
|
|
8
|
+
id: z.ZodNullable<z.ZodString>;
|
|
9
|
+
name: z.ZodNullable<z.ZodString>;
|
|
10
|
+
tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
11
|
+
type: z.ZodNullable<z.ZodString>;
|
|
12
|
+
price: z.ZodNullable<z.ZodString>;
|
|
13
|
+
seller: z.ZodNullable<z.ZodObject<{
|
|
14
|
+
id: z.ZodNullable<z.ZodString>;
|
|
15
|
+
name: z.ZodNullable<z.ZodString>;
|
|
16
|
+
}, z.core.$loose>>;
|
|
17
|
+
createdAt: z.ZodNullable<z.ZodString>;
|
|
18
|
+
updatedAt: z.ZodNullable<z.ZodString>;
|
|
19
|
+
priceModel: z.ZodNullable<z.ZodString>;
|
|
20
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
minimumTokenAmount: z.ZodNullable<z.ZodString>;
|
|
22
|
+
fetchAgentProfileUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
+
buyerIdentityRequirement: z.ZodNullable<z.ZodObject<{
|
|
24
|
+
business: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
25
|
+
individual: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
26
|
+
identityLevels: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
27
|
+
}, z.core.$loose>>;
|
|
28
|
+
}, z.core.$loose>;
|
|
29
|
+
declare const skyfireGetDirectoryServiceById: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
30
|
+
serviceId: string;
|
|
31
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
32
|
//#endregion
|
|
8
33
|
export { skyfireGetDirectoryServiceById };
|
|
9
34
|
//# sourceMappingURL=get-directory-service-by-id.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-directory-service-by-id.d.cts","names":[],"sources":["../../src/actions/get-directory-service-by-id.ts"],"mappings":";;;cAIa,mCAAA,
|
|
1
|
+
{"version":3,"file":"get-directory-service-by-id.d.cts","names":[],"sources":["../../src/actions/get-directory-service-by-id.ts"],"mappings":";;;cAIa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;cAYnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;cAgBpC,8BAAA,gCAA8B,wBAAA"}
|
|
@@ -1,9 +1,34 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-directory-service-by-id.d.ts
|
|
4
|
-
declare const SkyfireGetDirectoryServiceByIdInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SkyfireGetDirectoryServiceByIdInput: z.ZodObject<{
|
|
5
|
+
serviceId: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const SkyfireGetDirectoryServiceByIdOutput: z.ZodObject<{
|
|
8
|
+
id: z.ZodNullable<z.ZodString>;
|
|
9
|
+
name: z.ZodNullable<z.ZodString>;
|
|
10
|
+
tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
11
|
+
type: z.ZodNullable<z.ZodString>;
|
|
12
|
+
price: z.ZodNullable<z.ZodString>;
|
|
13
|
+
seller: z.ZodNullable<z.ZodObject<{
|
|
14
|
+
id: z.ZodNullable<z.ZodString>;
|
|
15
|
+
name: z.ZodNullable<z.ZodString>;
|
|
16
|
+
}, z.core.$loose>>;
|
|
17
|
+
createdAt: z.ZodNullable<z.ZodString>;
|
|
18
|
+
updatedAt: z.ZodNullable<z.ZodString>;
|
|
19
|
+
priceModel: z.ZodNullable<z.ZodString>;
|
|
20
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
minimumTokenAmount: z.ZodNullable<z.ZodString>;
|
|
22
|
+
fetchAgentProfileUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
+
buyerIdentityRequirement: z.ZodNullable<z.ZodObject<{
|
|
24
|
+
business: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
25
|
+
individual: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
26
|
+
identityLevels: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
27
|
+
}, z.core.$loose>>;
|
|
28
|
+
}, z.core.$loose>;
|
|
29
|
+
declare const skyfireGetDirectoryServiceById: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
30
|
+
serviceId: string;
|
|
31
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
32
|
//#endregion
|
|
8
33
|
export { skyfireGetDirectoryServiceById };
|
|
9
34
|
//# sourceMappingURL=get-directory-service-by-id.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-directory-service-by-id.d.mts","names":[],"sources":["../../src/actions/get-directory-service-by-id.ts"],"mappings":";;;cAIa,mCAAA,
|
|
1
|
+
{"version":3,"file":"get-directory-service-by-id.d.mts","names":[],"sources":["../../src/actions/get-directory-service-by-id.ts"],"mappings":";;;cAIa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;cAYnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;cAgBpC,8BAAA,gCAA8B,wBAAA"}
|
|
@@ -3,34 +3,34 @@ import { z } from "zod";
|
|
|
3
3
|
//#region src/actions/get-directory-service-by-id.ts
|
|
4
4
|
const SkyfireGetDirectoryServiceByIdInput = z.object({ serviceId: z.string().describe("ID of the service to retrieve. Must be a valid UUID format.") }).describe("Get detailed info about a specific service in the Skyfire directory.\n\nUse when you have a service ID and want full service details including\npricing, requirements, seller info, and integration URLs.");
|
|
5
5
|
const SkyfireGetDirectoryServiceById_ServiceSellerSchema = z.object({
|
|
6
|
-
id: z.string().describe("Seller's unique identifier"),
|
|
7
|
-
name: z.string().describe("Seller's display name")
|
|
8
|
-
});
|
|
6
|
+
id: z.string().describe("Seller's unique identifier").nullable(),
|
|
7
|
+
name: z.string().describe("Seller's display name").nullable()
|
|
8
|
+
}).passthrough();
|
|
9
9
|
const SkyfireGetDirectoryServiceById_BuyerIdentityRequirementSchema = z.object({
|
|
10
10
|
business: z.array(z.string()).describe("Business identity requirements").nullable().optional(),
|
|
11
11
|
individual: z.array(z.string()).describe("Individual identity requirements").nullable().optional(),
|
|
12
12
|
identityLevels: z.array(z.string()).describe("Required identity verification levels for buyers").nullable().optional()
|
|
13
|
-
});
|
|
13
|
+
}).passthrough();
|
|
14
14
|
const skyfireGetDirectoryServiceById = action("SKYFIRE_GET_DIRECTORY_SERVICE_BY_ID", {
|
|
15
15
|
slug: "skyfire-get-directory-service-by-id",
|
|
16
16
|
name: "Get Directory Service By ID",
|
|
17
17
|
description: "Tool to get full details for a specific service in the Skyfire directory by its ID. Use when you need complete information about a service including pricing, requirements, and seller details.",
|
|
18
18
|
input: SkyfireGetDirectoryServiceByIdInput,
|
|
19
19
|
output: z.object({
|
|
20
|
-
id: z.string().describe("Service unique identifier (UUID)"),
|
|
21
|
-
name: z.string().describe("Service name"),
|
|
20
|
+
id: z.string().describe("Service unique identifier (UUID)").nullable(),
|
|
21
|
+
name: z.string().describe("Service name").nullable(),
|
|
22
22
|
tags: z.array(z.string()).describe("Service category tags").nullable().optional(),
|
|
23
|
-
type: z.string().describe("Service type: API, WEB_PAGE, MCP_SERVER_REMOTE, or FETCH_AGENT"),
|
|
24
|
-
price: z.string().describe("Price per use in USD (e.g., '0.000001')"),
|
|
23
|
+
type: z.string().describe("Service type: API, WEB_PAGE, MCP_SERVER_REMOTE, or FETCH_AGENT").nullable(),
|
|
24
|
+
price: z.string().describe("Price per use in USD (e.g., '0.000001')").nullable(),
|
|
25
25
|
seller: SkyfireGetDirectoryServiceById_ServiceSellerSchema.nullable(),
|
|
26
|
-
createdAt: z.string().describe("Service creation timestamp (ISO 8601)"),
|
|
27
|
-
updatedAt: z.string().describe("Service last update timestamp (ISO 8601)"),
|
|
28
|
-
priceModel: z.string().describe("Pricing model (e.g., PAY_PER_USE, CUSTOM)"),
|
|
26
|
+
createdAt: z.string().describe("Service creation timestamp (ISO 8601)").nullable(),
|
|
27
|
+
updatedAt: z.string().describe("Service last update timestamp (ISO 8601)").nullable(),
|
|
28
|
+
priceModel: z.string().describe("Pricing model (e.g., PAY_PER_USE, CUSTOM)").nullable(),
|
|
29
29
|
description: z.string().describe("Service description").nullable().optional(),
|
|
30
|
-
minimumTokenAmount: z.string().describe("Minimum token amount required"),
|
|
30
|
+
minimumTokenAmount: z.string().describe("Minimum token amount required").nullable(),
|
|
31
31
|
fetchAgentProfileUrl: z.string().describe("Fetch agent profile URL (for FETCH_AGENT type services)").nullable().optional(),
|
|
32
32
|
buyerIdentityRequirement: SkyfireGetDirectoryServiceById_BuyerIdentityRequirementSchema.nullable()
|
|
33
|
-
})
|
|
33
|
+
}).passthrough()
|
|
34
34
|
});
|
|
35
35
|
//#endregion
|
|
36
36
|
export { skyfireGetDirectoryServiceById };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-directory-service-by-id.mjs","names":[],"sources":["../../src/actions/get-directory-service-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SkyfireGetDirectoryServiceByIdInput
|
|
1
|
+
{"version":3,"file":"get-directory-service-by-id.mjs","names":[],"sources":["../../src/actions/get-directory-service-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SkyfireGetDirectoryServiceByIdInput = z.object({\n serviceId: z.string().describe(\"ID of the service to retrieve. Must be a valid UUID format.\"),\n}).describe(\"Get detailed info about a specific service in the Skyfire directory.\\n\\nUse when you have a service ID and want full service details including\\npricing, requirements, seller info, and integration URLs.\");\nconst SkyfireGetDirectoryServiceById_ServiceSellerSchema = z.object({\n id: z.string().describe(\"Seller's unique identifier\").nullable(),\n name: z.string().describe(\"Seller's display name\").nullable(),\n}).passthrough();\nconst SkyfireGetDirectoryServiceById_BuyerIdentityRequirementSchema = z.object({\n business: z.array(z.string()).describe(\"Business identity requirements\").nullable().optional(),\n individual: z.array(z.string()).describe(\"Individual identity requirements\").nullable().optional(),\n identityLevels: z.array(z.string()).describe(\"Required identity verification levels for buyers\").nullable().optional(),\n}).passthrough();\nexport const SkyfireGetDirectoryServiceByIdOutput = z.object({\n id: z.string().describe(\"Service unique identifier (UUID)\").nullable(),\n name: z.string().describe(\"Service name\").nullable(),\n tags: z.array(z.string()).describe(\"Service category tags\").nullable().optional(),\n type: z.string().describe(\"Service type: API, WEB_PAGE, MCP_SERVER_REMOTE, or FETCH_AGENT\").nullable(),\n price: z.string().describe(\"Price per use in USD (e.g., '0.000001')\").nullable(),\n seller: SkyfireGetDirectoryServiceById_ServiceSellerSchema.nullable(),\n createdAt: z.string().describe(\"Service creation timestamp (ISO 8601)\").nullable(),\n updatedAt: z.string().describe(\"Service last update timestamp (ISO 8601)\").nullable(),\n priceModel: z.string().describe(\"Pricing model (e.g., PAY_PER_USE, CUSTOM)\").nullable(),\n description: z.string().describe(\"Service description\").nullable().optional(),\n minimumTokenAmount: z.string().describe(\"Minimum token amount required\").nullable(),\n fetchAgentProfileUrl: z.string().describe(\"Fetch agent profile URL (for FETCH_AGENT type services)\").nullable().optional(),\n buyerIdentityRequirement: SkyfireGetDirectoryServiceById_BuyerIdentityRequirementSchema.nullable(),\n}).passthrough();\n\nexport const skyfireGetDirectoryServiceById = action(\"SKYFIRE_GET_DIRECTORY_SERVICE_BY_ID\", {\n slug: \"skyfire-get-directory-service-by-id\",\n name: \"Get Directory Service By ID\",\n description: \"Tool to get full details for a specific service in the Skyfire directory by its ID. Use when you need complete information about a service including pricing, requirements, and seller details.\",\n input: SkyfireGetDirectoryServiceByIdInput,\n output: SkyfireGetDirectoryServiceByIdOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsC,EAAE,OAAO,EAC1D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,EAC9F,CAAC,CAAC,CAAC,SAAS,2MAA2M;AACvN,MAAM,qDAAqD,EAAE,OAAO;CAClE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAC/D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;AAC9D,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,gEAAgE,EAAE,OAAO;CAC7E,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,gBAAgB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvH,CAAC,CAAC,CAAC,YAAY;AAiBf,MAAa,iCAAiC,OAAO,uCAAuC;CAC1F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QArBkD,EAAE,OAAO;EAC3D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EACrE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;EACnD,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;EACrG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EAC/E,QAAQ,mDAAmD,SAAS;EACpE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EACjF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EACpF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EACtF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5E,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EAClF,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzH,0BAA0B,8DAA8D,SAAS;CACnG,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -4,22 +4,22 @@ let zod = require("zod");
|
|
|
4
4
|
const SkyfireGetServiceInput = zod.z.object({ serviceId: zod.z.string().describe("Seller service ID (get from ListDirectoryServices)") }).describe("Get detailed info about one specific service.\n\nUse when you have a sellerServiceId and want to check pricing,\nrequirements, or integration details before creating a token.");
|
|
5
5
|
const SkyfireGetService_ServiceDetailSchema = zod.z.object({
|
|
6
6
|
tags: zod.z.array(zod.z.string()).describe("Service category tags").nullable().optional(),
|
|
7
|
-
type: zod.z.string().describe("Service type: API, WEB_PAGE, MCP_SERVER_REMOTE, or FETCH_AGENT"),
|
|
8
|
-
price: zod.z.string().describe("Price per use in USD (e.g., '0.001')"),
|
|
9
|
-
priceModel: zod.z.string().describe("Pricing model (e.g., PAY_PER_USE, CUSTOM)"),
|
|
7
|
+
type: zod.z.string().describe("Service type: API, WEB_PAGE, MCP_SERVER_REMOTE, or FETCH_AGENT").nullable(),
|
|
8
|
+
price: zod.z.string().describe("Price per use in USD (e.g., '0.001')").nullable(),
|
|
9
|
+
priceModel: zod.z.string().describe("Pricing model (e.g., PAY_PER_USE, CUSTOM)").nullable(),
|
|
10
10
|
websiteUrl: zod.z.string().describe("Website URL (for WEB_PAGE type services)").nullable().optional(),
|
|
11
11
|
mcpServerUrl: zod.z.string().describe("MCP server URL (for MCP_SERVER_* type services)").nullable().optional(),
|
|
12
12
|
acceptedTokens: zod.z.array(zod.z.string()).describe("Token types accepted: 'kya', 'pay', or 'kya+pay'").nullable().optional(),
|
|
13
13
|
openapiSpecUrl: zod.z.string().describe("OpenAPI specification URL (for API type services)").nullable().optional(),
|
|
14
|
-
sellerServiceId: zod.z.string().describe("Unique service identifier (UUID)"),
|
|
15
|
-
sellerServiceName: zod.z.string().describe("Human-readable service name"),
|
|
14
|
+
sellerServiceId: zod.z.string().describe("Unique service identifier (UUID)").nullable(),
|
|
15
|
+
sellerServiceName: zod.z.string().describe("Human-readable service name").nullable(),
|
|
16
16
|
termsOfServiceUrl: zod.z.string().describe("Relative URL path to terms of service").nullable().optional(),
|
|
17
17
|
maxTokenTTLSeconds: zod.z.number().int().describe("Maximum token time-to-live in seconds").nullable().optional(),
|
|
18
18
|
fetchAgentProfileUrl: zod.z.string().describe("Agent profile URL (for FETCH_AGENT type services)").nullable().optional(),
|
|
19
19
|
identityRequirements: zod.z.array(zod.z.string()).describe("Required buyer identity verification levels").nullable().optional(),
|
|
20
20
|
sellerServiceDescription: zod.z.string().describe("Detailed description of what the service does").nullable().optional()
|
|
21
|
-
});
|
|
22
|
-
const SkyfireGetServiceOutput = zod.z.object({ data: SkyfireGetService_ServiceDetailSchema.nullable() });
|
|
21
|
+
}).passthrough();
|
|
22
|
+
const SkyfireGetServiceOutput = zod.z.object({ data: SkyfireGetService_ServiceDetailSchema.nullable() }).passthrough();
|
|
23
23
|
const skyfireGetService = require_action.action("SKYFIRE_GET_SERVICE", {
|
|
24
24
|
slug: "skyfire-get-service",
|
|
25
25
|
name: "Get Skyfire Service Details",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-service.cjs","names":["z","action"],"sources":["../../src/actions/get-service.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SkyfireGetServiceInput
|
|
1
|
+
{"version":3,"file":"get-service.cjs","names":["z","action"],"sources":["../../src/actions/get-service.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SkyfireGetServiceInput = z.object({\n serviceId: z.string().describe(\"Seller service ID (get from ListDirectoryServices)\"),\n}).describe(\"Get detailed info about one specific service.\\n\\nUse when you have a sellerServiceId and want to check pricing,\\nrequirements, or integration details before creating a token.\");\nconst SkyfireGetService_ServiceDetailSchema = z.object({\n tags: z.array(z.string()).describe(\"Service category tags\").nullable().optional(),\n type: z.string().describe(\"Service type: API, WEB_PAGE, MCP_SERVER_REMOTE, or FETCH_AGENT\").nullable(),\n price: z.string().describe(\"Price per use in USD (e.g., '0.001')\").nullable(),\n priceModel: z.string().describe(\"Pricing model (e.g., PAY_PER_USE, CUSTOM)\").nullable(),\n websiteUrl: z.string().describe(\"Website URL (for WEB_PAGE type services)\").nullable().optional(),\n mcpServerUrl: z.string().describe(\"MCP server URL (for MCP_SERVER_* type services)\").nullable().optional(),\n acceptedTokens: z.array(z.string()).describe(\"Token types accepted: 'kya', 'pay', or 'kya+pay'\").nullable().optional(),\n openapiSpecUrl: z.string().describe(\"OpenAPI specification URL (for API type services)\").nullable().optional(),\n sellerServiceId: z.string().describe(\"Unique service identifier (UUID)\").nullable(),\n sellerServiceName: z.string().describe(\"Human-readable service name\").nullable(),\n termsOfServiceUrl: z.string().describe(\"Relative URL path to terms of service\").nullable().optional(),\n maxTokenTTLSeconds: z.number().int().describe(\"Maximum token time-to-live in seconds\").nullable().optional(),\n fetchAgentProfileUrl: z.string().describe(\"Agent profile URL (for FETCH_AGENT type services)\").nullable().optional(),\n identityRequirements: z.array(z.string()).describe(\"Required buyer identity verification levels\").nullable().optional(),\n sellerServiceDescription: z.string().describe(\"Detailed description of what the service does\").nullable().optional(),\n}).passthrough();\nexport const SkyfireGetServiceOutput = z.object({\n data: SkyfireGetService_ServiceDetailSchema.nullable(),\n}).passthrough();\n\nexport const skyfireGetService = action(\"SKYFIRE_GET_SERVICE\", {\n slug: \"skyfire-get-service\",\n name: \"Get Skyfire Service Details\",\n description: \"Get full details for one service. More detailed than ListDirectoryServices - shows terms of service, API specs, and integration URLs. Use before creating expensive tokens.\",\n input: SkyfireGetServiceInput,\n output: SkyfireGetServiceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,EAC7C,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,EACrF,CAAC,CAAC,CAAC,SAAS,gLAAgL;AAC5L,MAAM,wCAAwCA,IAAAA,EAAE,OAAO;CACrD,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CACrG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC5E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACtF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,gBAAgBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAClF,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAC/E,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,sBAAsBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,MAAM,sCAAsC,SAAS,EACvD,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,31 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-service.d.ts
|
|
4
|
-
declare const SkyfireGetServiceInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SkyfireGetServiceInput: z.ZodObject<{
|
|
5
|
+
serviceId: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const SkyfireGetServiceOutput: z.ZodObject<{
|
|
8
|
+
data: z.ZodNullable<z.ZodObject<{
|
|
9
|
+
tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
10
|
+
type: z.ZodNullable<z.ZodString>;
|
|
11
|
+
price: z.ZodNullable<z.ZodString>;
|
|
12
|
+
priceModel: z.ZodNullable<z.ZodString>;
|
|
13
|
+
websiteUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
mcpServerUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
acceptedTokens: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
16
|
+
openapiSpecUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
sellerServiceId: z.ZodNullable<z.ZodString>;
|
|
18
|
+
sellerServiceName: z.ZodNullable<z.ZodString>;
|
|
19
|
+
termsOfServiceUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
maxTokenTTLSeconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
21
|
+
fetchAgentProfileUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
+
identityRequirements: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
23
|
+
sellerServiceDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
+
}, z.core.$loose>>;
|
|
25
|
+
}, z.core.$loose>;
|
|
26
|
+
declare const skyfireGetService: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
27
|
+
serviceId: string;
|
|
28
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
29
|
//#endregion
|
|
8
30
|
export { skyfireGetService };
|
|
9
31
|
//# sourceMappingURL=get-service.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-service.d.cts","names":[],"sources":["../../src/actions/get-service.ts"],"mappings":";;;cAIa,sBAAA,
|
|
1
|
+
{"version":3,"file":"get-service.d.cts","names":[],"sources":["../../src/actions/get-service.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;cAoBtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAIvB,iBAAA,gCAAiB,wBAAA"}
|
|
@@ -1,9 +1,31 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-service.d.ts
|
|
4
|
-
declare const SkyfireGetServiceInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SkyfireGetServiceInput: z.ZodObject<{
|
|
5
|
+
serviceId: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const SkyfireGetServiceOutput: z.ZodObject<{
|
|
8
|
+
data: z.ZodNullable<z.ZodObject<{
|
|
9
|
+
tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
10
|
+
type: z.ZodNullable<z.ZodString>;
|
|
11
|
+
price: z.ZodNullable<z.ZodString>;
|
|
12
|
+
priceModel: z.ZodNullable<z.ZodString>;
|
|
13
|
+
websiteUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
mcpServerUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
acceptedTokens: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
16
|
+
openapiSpecUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
sellerServiceId: z.ZodNullable<z.ZodString>;
|
|
18
|
+
sellerServiceName: z.ZodNullable<z.ZodString>;
|
|
19
|
+
termsOfServiceUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
maxTokenTTLSeconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
21
|
+
fetchAgentProfileUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
+
identityRequirements: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
23
|
+
sellerServiceDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
+
}, z.core.$loose>>;
|
|
25
|
+
}, z.core.$loose>;
|
|
26
|
+
declare const skyfireGetService: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
27
|
+
serviceId: string;
|
|
28
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
29
|
//#endregion
|
|
8
30
|
export { skyfireGetService };
|
|
9
31
|
//# sourceMappingURL=get-service.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-service.d.mts","names":[],"sources":["../../src/actions/get-service.ts"],"mappings":";;;cAIa,sBAAA,
|
|
1
|
+
{"version":3,"file":"get-service.d.mts","names":[],"sources":["../../src/actions/get-service.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;cAoBtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAIvB,iBAAA,gCAAiB,wBAAA"}
|
|
@@ -4,27 +4,27 @@ import { z } from "zod";
|
|
|
4
4
|
const SkyfireGetServiceInput = z.object({ serviceId: z.string().describe("Seller service ID (get from ListDirectoryServices)") }).describe("Get detailed info about one specific service.\n\nUse when you have a sellerServiceId and want to check pricing,\nrequirements, or integration details before creating a token.");
|
|
5
5
|
const SkyfireGetService_ServiceDetailSchema = z.object({
|
|
6
6
|
tags: z.array(z.string()).describe("Service category tags").nullable().optional(),
|
|
7
|
-
type: z.string().describe("Service type: API, WEB_PAGE, MCP_SERVER_REMOTE, or FETCH_AGENT"),
|
|
8
|
-
price: z.string().describe("Price per use in USD (e.g., '0.001')"),
|
|
9
|
-
priceModel: z.string().describe("Pricing model (e.g., PAY_PER_USE, CUSTOM)"),
|
|
7
|
+
type: z.string().describe("Service type: API, WEB_PAGE, MCP_SERVER_REMOTE, or FETCH_AGENT").nullable(),
|
|
8
|
+
price: z.string().describe("Price per use in USD (e.g., '0.001')").nullable(),
|
|
9
|
+
priceModel: z.string().describe("Pricing model (e.g., PAY_PER_USE, CUSTOM)").nullable(),
|
|
10
10
|
websiteUrl: z.string().describe("Website URL (for WEB_PAGE type services)").nullable().optional(),
|
|
11
11
|
mcpServerUrl: z.string().describe("MCP server URL (for MCP_SERVER_* type services)").nullable().optional(),
|
|
12
12
|
acceptedTokens: z.array(z.string()).describe("Token types accepted: 'kya', 'pay', or 'kya+pay'").nullable().optional(),
|
|
13
13
|
openapiSpecUrl: z.string().describe("OpenAPI specification URL (for API type services)").nullable().optional(),
|
|
14
|
-
sellerServiceId: z.string().describe("Unique service identifier (UUID)"),
|
|
15
|
-
sellerServiceName: z.string().describe("Human-readable service name"),
|
|
14
|
+
sellerServiceId: z.string().describe("Unique service identifier (UUID)").nullable(),
|
|
15
|
+
sellerServiceName: z.string().describe("Human-readable service name").nullable(),
|
|
16
16
|
termsOfServiceUrl: z.string().describe("Relative URL path to terms of service").nullable().optional(),
|
|
17
17
|
maxTokenTTLSeconds: z.number().int().describe("Maximum token time-to-live in seconds").nullable().optional(),
|
|
18
18
|
fetchAgentProfileUrl: z.string().describe("Agent profile URL (for FETCH_AGENT type services)").nullable().optional(),
|
|
19
19
|
identityRequirements: z.array(z.string()).describe("Required buyer identity verification levels").nullable().optional(),
|
|
20
20
|
sellerServiceDescription: z.string().describe("Detailed description of what the service does").nullable().optional()
|
|
21
|
-
});
|
|
21
|
+
}).passthrough();
|
|
22
22
|
const skyfireGetService = action("SKYFIRE_GET_SERVICE", {
|
|
23
23
|
slug: "skyfire-get-service",
|
|
24
24
|
name: "Get Skyfire Service Details",
|
|
25
25
|
description: "Get full details for one service. More detailed than ListDirectoryServices - shows terms of service, API specs, and integration URLs. Use before creating expensive tokens.",
|
|
26
26
|
input: SkyfireGetServiceInput,
|
|
27
|
-
output: z.object({ data: SkyfireGetService_ServiceDetailSchema.nullable() })
|
|
27
|
+
output: z.object({ data: SkyfireGetService_ServiceDetailSchema.nullable() }).passthrough()
|
|
28
28
|
});
|
|
29
29
|
//#endregion
|
|
30
30
|
export { skyfireGetService };
|