@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
|
@@ -3,10 +3,10 @@ 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")
|
|
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
10
|
});
|
|
11
11
|
const skyfireGetBuyerWalletBalance = require_action.action("SKYFIRE_GET_BUYER_WALLET_BALANCE", {
|
|
12
12
|
slug: "skyfire-get-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});\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;AAED,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.$strip>;
|
|
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.$strip>;
|
|
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,10 +6,10 @@ 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")
|
|
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
13
|
})
|
|
14
14
|
});
|
|
15
15
|
//#endregion
|
|
@@ -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});\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,CAOU;AACV,CAAC"}
|
|
@@ -3,8 +3,8 @@ 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")
|
|
6
|
+
id: zod.z.string().describe("Seller's unique identifier").nullable(),
|
|
7
|
+
name: zod.z.string().describe("Seller's display name").nullable()
|
|
8
8
|
});
|
|
9
9
|
const SkyfireGetDirectoryServiceById_BuyerIdentityRequirementSchema = zod.z.object({
|
|
10
10
|
business: zod.z.array(zod.z.string()).describe("Business identity requirements").nullable().optional(),
|
|
@@ -12,17 +12,17 @@ const SkyfireGetDirectoryServiceById_BuyerIdentityRequirementSchema = zod.z.obje
|
|
|
12
12
|
identityLevels: zod.z.array(zod.z.string()).describe("Required identity verification levels for buyers").nullable().optional()
|
|
13
13
|
});
|
|
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
|
});
|
|
@@ -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});\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});\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});\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;AACD,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;AACD,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;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are 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.$strip>>;
|
|
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.$strip>>;
|
|
28
|
+
}, z.core.$strip>;
|
|
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.$strip>>;
|
|
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.$strip>>;
|
|
28
|
+
}, z.core.$strip>;
|
|
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,8 +3,8 @@ 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")
|
|
6
|
+
id: z.string().describe("Seller's unique identifier").nullable(),
|
|
7
|
+
name: z.string().describe("Seller's display name").nullable()
|
|
8
8
|
});
|
|
9
9
|
const SkyfireGetDirectoryServiceById_BuyerIdentityRequirementSchema = z.object({
|
|
10
10
|
business: z.array(z.string()).describe("Business identity requirements").nullable().optional(),
|
|
@@ -17,17 +17,17 @@ const skyfireGetDirectoryServiceById = action("SKYFIRE_GET_DIRECTORY_SERVICE_BY_
|
|
|
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
|
})
|
|
@@ -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});\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});\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});\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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CAA0C,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,CAOU;AACV,CAAC"}
|
|
@@ -4,15 +4,15 @@ 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(),
|
|
@@ -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});\nexport const SkyfireGetServiceOutput = z.object({\n data: SkyfireGetService_ServiceDetailSchema.nullable(),\n});\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,I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0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrH,CAAC;AACD,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,MAAM,sCAAsC,SAAS,EACvD,CAAC;AAED,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.$strip>>;
|
|
25
|
+
}, z.core.$strip>;
|
|
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.$strip>>;
|
|
25
|
+
}, z.core.$strip>;
|
|
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,15 +4,15 @@ 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(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-service.mjs","names":[],"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.mjs","names":[],"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});\nexport const SkyfireGetServiceOutput = z.object({\n data: SkyfireGetService_ServiceDetailSchema.nullable(),\n});\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,yBAAyB,EAAE,OAAO,EAC7C,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,EACrF,CAAC,CAAC,CAAC,SAAS,gLAAgL;AAC5L,MAAM,wCAAwC,EAAE,OAAO;CACrD,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CACrG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC5E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACtF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,gBAAgB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAClF,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAC/E,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,oBAAoB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,sBAAsB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,0BAA0B,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrH,CAAC;AAKD,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATqC,EAAE,OAAO,EAC9C,MAAM,sCAAsC,SAAS,EACvD,CAOU;AACV,CAAC"}
|
|
@@ -6,8 +6,8 @@ const SkyfireGetServicesByAgentInput = zod.z.object({
|
|
|
6
6
|
agentId: zod.z.string().describe("Seller agent ID (get this from service listings or previous transactions)")
|
|
7
7
|
}).describe("Find all services offered by a specific seller agent.\n\nUse when you want to see everything one seller offers,\nor to find services from a trusted seller you've used before.");
|
|
8
8
|
const SkyfireGetServicesByAgent_ServiceSellerSchema = zod.z.object({
|
|
9
|
-
id: zod.z.string().describe("Seller agent ID"),
|
|
10
|
-
name: zod.z.string().describe("Seller name"),
|
|
9
|
+
id: zod.z.string().describe("Seller agent ID").nullable(),
|
|
10
|
+
name: zod.z.string().describe("Seller name").nullable(),
|
|
11
11
|
identityLevel: zod.z.string().nullable().optional()
|
|
12
12
|
});
|
|
13
13
|
const SkyfireGetServicesByAgent_ServiceTermsOfServiceSchema = zod.z.object({
|
|
@@ -20,15 +20,15 @@ const SkyfireGetServicesByAgent_ServiceIdentityRequirementSchema = zod.z.object(
|
|
|
20
20
|
identityLevels: zod.z.array(zod.z.string()).nullable().optional()
|
|
21
21
|
});
|
|
22
22
|
const SkyfireGetServicesByAgent_ServiceItemSchema = zod.z.object({
|
|
23
|
-
id: zod.z.string().describe("Service ID for token creation"),
|
|
24
|
-
name: zod.z.string().describe("Service name"),
|
|
23
|
+
id: zod.z.string().describe("Service ID for token creation").nullable(),
|
|
24
|
+
name: zod.z.string().describe("Service name").nullable(),
|
|
25
25
|
tags: zod.z.array(zod.z.string()).describe("Service tags").nullable().optional(),
|
|
26
|
-
type: zod.z.string().describe("API | WEB_PAGE | MCP_SERVER_REMOTE | FETCH_AGENT"),
|
|
27
|
-
price: zod.z.string().describe("Price per use in USD"),
|
|
26
|
+
type: zod.z.string().describe("API | WEB_PAGE | MCP_SERVER_REMOTE | FETCH_AGENT").nullable(),
|
|
27
|
+
price: zod.z.string().describe("Price per use in USD").nullable(),
|
|
28
28
|
seller: SkyfireGetServicesByAgent_ServiceSellerSchema.nullable(),
|
|
29
|
-
createdAt: zod.z.string().describe("Service creation timestamp"),
|
|
30
|
-
updatedAt: zod.z.string().describe("Last update timestamp"),
|
|
31
|
-
priceModel: zod.z.string().describe("Usually PAY_PER_USE or CUSTOM"),
|
|
29
|
+
createdAt: zod.z.string().describe("Service creation timestamp").nullable(),
|
|
30
|
+
updatedAt: zod.z.string().describe("Last update timestamp").nullable(),
|
|
31
|
+
priceModel: zod.z.string().describe("Usually PAY_PER_USE or CUSTOM").nullable(),
|
|
32
32
|
websiteUrl: zod.z.string().describe("Website URL for WEB_PAGE type").nullable().optional(),
|
|
33
33
|
description: zod.z.string().describe("What this service does").nullable().optional(),
|
|
34
34
|
mcpServerUrl: zod.z.string().describe("MCP server URL for MCP_SERVER_REMOTE type").nullable().optional(),
|
|
@@ -36,7 +36,7 @@ const SkyfireGetServicesByAgent_ServiceItemSchema = zod.z.object({
|
|
|
36
36
|
openApiSpecUrl: zod.z.string().describe("OpenAPI spec URL for API-type services").nullable().optional(),
|
|
37
37
|
termsOfService: SkyfireGetServicesByAgent_ServiceTermsOfServiceSchema.nullable().optional(),
|
|
38
38
|
maxTokenTTLSeconds: zod.z.number().int().describe("Maximum token TTL in seconds (if specified by seller)").nullable().optional(),
|
|
39
|
-
minimumTokenAmount: zod.z.string().describe("Minimum token amount required"),
|
|
39
|
+
minimumTokenAmount: zod.z.string().describe("Minimum token amount required").nullable(),
|
|
40
40
|
fetchAgentProfileUrl: zod.z.string().describe("Agent profile URL for FETCH_AGENT type").nullable().optional(),
|
|
41
41
|
buyerIdentityRequirement: SkyfireGetServicesByAgent_ServiceIdentityRequirementSchema.nullable()
|
|
42
42
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-services-by-agent.cjs","names":["z","action"],"sources":["../../src/actions/get-services-by-agent.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SkyfireGetServicesByAgentInput
|
|
1
|
+
{"version":3,"file":"get-services-by-agent.cjs","names":["z","action"],"sources":["../../src/actions/get-services-by-agent.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SkyfireGetServicesByAgentInput = z.object({\n limit: z.number().int().default(20).describe(\"Max services to return\").optional(),\n agentId: z.string().describe(\"Seller agent ID (get this from service listings or previous transactions)\"),\n}).describe(\"Find all services offered by a specific seller agent.\\n\\nUse when you want to see everything one seller offers,\\nor to find services from a trusted seller you've used before.\");\nconst SkyfireGetServicesByAgent_ServiceSellerSchema = z.object({\n id: z.string().describe(\"Seller agent ID\").nullable(),\n name: z.string().describe(\"Seller name\").nullable(),\n identityLevel: z.string().nullable().optional(),\n});\nconst SkyfireGetServicesByAgent_ServiceTermsOfServiceSchema = z.object({\n url: z.string().nullable().optional(),\n required: z.boolean().nullable().optional(),\n});\nconst SkyfireGetServicesByAgent_ServiceIdentityRequirementSchema = z.object({\n business: z.array(z.string()).nullable().optional(),\n individual: z.array(z.string()).nullable().optional(),\n identityLevels: z.array(z.string()).nullable().optional(),\n});\nconst SkyfireGetServicesByAgent_ServiceItemSchema = z.object({\n id: z.string().describe(\"Service ID for token creation\").nullable(),\n name: z.string().describe(\"Service name\").nullable(),\n tags: z.array(z.string()).describe(\"Service tags\").nullable().optional(),\n type: z.string().describe(\"API | WEB_PAGE | MCP_SERVER_REMOTE | FETCH_AGENT\").nullable(),\n price: z.string().describe(\"Price per use in USD\").nullable(),\n seller: SkyfireGetServicesByAgent_ServiceSellerSchema.nullable(),\n createdAt: z.string().describe(\"Service creation timestamp\").nullable(),\n updatedAt: z.string().describe(\"Last update timestamp\").nullable(),\n priceModel: z.string().describe(\"Usually PAY_PER_USE or CUSTOM\").nullable(),\n websiteUrl: z.string().describe(\"Website URL for WEB_PAGE type\").nullable().optional(),\n description: z.string().describe(\"What this service does\").nullable().optional(),\n mcpServerUrl: z.string().describe(\"MCP server URL for MCP_SERVER_REMOTE type\").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 spec URL for API-type services\").nullable().optional(),\n termsOfService: SkyfireGetServicesByAgent_ServiceTermsOfServiceSchema.nullable().optional(),\n maxTokenTTLSeconds: z.number().int().describe(\"Maximum token TTL in seconds (if specified by seller)\").nullable().optional(),\n minimumTokenAmount: z.string().describe(\"Minimum token amount required\").nullable(),\n fetchAgentProfileUrl: z.string().describe(\"Agent profile URL for FETCH_AGENT type\").nullable().optional(),\n buyerIdentityRequirement: SkyfireGetServicesByAgent_ServiceIdentityRequirementSchema.nullable(),\n});\nexport const SkyfireGetServicesByAgentOutput = z.object({\n data: z.array(SkyfireGetServicesByAgent_ServiceItemSchema).describe(\"Services from this seller\"),\n});\n\nexport const skyfireGetServicesByAgent = action(\"SKYFIRE_GET_SERVICES_BY_AGENT\", {\n slug: \"skyfire-get-services-by-agent\",\n name: \"Get Services by Agent\",\n description: \"Browse all services from one seller agent. Useful when you trust a seller and want to see their full catalog, or when tracking down who provides a specific type of service.\",\n input: SkyfireGetServicesByAgentInput,\n output: SkyfireGetServicesByAgentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAChF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E;AAC1G,CAAC,CAAC,CAAC,SAAS,gLAAgL;AAC5L,MAAM,gDAAgDA,IAAAA,EAAE,OAAO;CAC7D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CACpD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS;CAClD,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChD,CAAC;AACD,MAAM,wDAAwDA,IAAAA,EAAE,OAAO;CACrE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpC,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5C,CAAC;AACD,MAAM,6DAA6DA,IAAAA,EAAE,OAAO;CAC1E,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,E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