@keystrokehq/poof 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/check-balance.cjs +1 -1
- package/dist/actions/check-balance.cjs.map +1 -1
- package/dist/actions/check-balance.d.cts +9 -3
- package/dist/actions/check-balance.d.cts.map +1 -1
- package/dist/actions/check-balance.d.mts +9 -3
- package/dist/actions/check-balance.d.mts.map +1 -1
- package/dist/actions/check-balance.mjs +1 -1
- package/dist/actions/check-balance.mjs.map +1 -1
- package/dist/actions/create-checkout.cjs +1 -1
- package/dist/actions/create-checkout.cjs.map +1 -1
- package/dist/actions/create-checkout.d.cts +35 -3
- package/dist/actions/create-checkout.d.cts.map +1 -1
- package/dist/actions/create-checkout.d.mts +35 -3
- package/dist/actions/create-checkout.d.mts.map +1 -1
- package/dist/actions/create-checkout.mjs +1 -1
- package/dist/actions/create-checkout.mjs.map +1 -1
- package/dist/actions/create-deposit-address.cjs +2 -2
- package/dist/actions/create-deposit-address.cjs.map +1 -1
- package/dist/actions/create-deposit-address.d.cts +22 -3
- package/dist/actions/create-deposit-address.d.cts.map +1 -1
- package/dist/actions/create-deposit-address.d.mts +22 -3
- package/dist/actions/create-deposit-address.d.mts.map +1 -1
- package/dist/actions/create-deposit-address.mjs +2 -2
- package/dist/actions/create-deposit-address.mjs.map +1 -1
- package/dist/actions/create-fiat-charge.cjs +1 -1
- package/dist/actions/create-fiat-charge.cjs.map +1 -1
- package/dist/actions/create-fiat-charge.d.cts +20 -3
- package/dist/actions/create-fiat-charge.d.cts.map +1 -1
- package/dist/actions/create-fiat-charge.d.mts +20 -3
- package/dist/actions/create-fiat-charge.d.mts.map +1 -1
- package/dist/actions/create-fiat-charge.mjs +1 -1
- package/dist/actions/create-fiat-charge.mjs.map +1 -1
- package/dist/actions/create-fiat-invoice.cjs +1 -1
- package/dist/actions/create-fiat-invoice.cjs.map +1 -1
- package/dist/actions/create-fiat-invoice.d.cts +20 -3
- package/dist/actions/create-fiat-invoice.d.cts.map +1 -1
- package/dist/actions/create-fiat-invoice.d.mts +20 -3
- package/dist/actions/create-fiat-invoice.d.mts.map +1 -1
- package/dist/actions/create-fiat-invoice.mjs +1 -1
- package/dist/actions/create-fiat-invoice.mjs.map +1 -1
- package/dist/actions/create-payment-link.cjs +2 -2
- package/dist/actions/create-payment-link.cjs.map +1 -1
- package/dist/actions/create-payment-link.d.cts +14 -3
- package/dist/actions/create-payment-link.d.cts.map +1 -1
- package/dist/actions/create-payment-link.d.mts +14 -3
- package/dist/actions/create-payment-link.d.mts.map +1 -1
- package/dist/actions/create-payment-link.mjs +2 -2
- package/dist/actions/create-payment-link.mjs.map +1 -1
- package/dist/actions/create-webhook.cjs +1 -1
- package/dist/actions/create-webhook.cjs.map +1 -1
- package/dist/actions/create-webhook.d.cts +11 -3
- package/dist/actions/create-webhook.d.cts.map +1 -1
- package/dist/actions/create-webhook.d.mts +11 -3
- package/dist/actions/create-webhook.d.mts.map +1 -1
- package/dist/actions/create-webhook.mjs +1 -1
- package/dist/actions/create-webhook.mjs.map +1 -1
- package/dist/actions/fetch-gas-price.cjs +1 -1
- package/dist/actions/fetch-gas-price.cjs.map +1 -1
- package/dist/actions/fetch-gas-price.d.cts +15 -3
- package/dist/actions/fetch-gas-price.d.cts.map +1 -1
- package/dist/actions/fetch-gas-price.d.mts +15 -3
- package/dist/actions/fetch-gas-price.d.mts.map +1 -1
- package/dist/actions/fetch-gas-price.mjs +1 -1
- package/dist/actions/fetch-gas-price.mjs.map +1 -1
- package/dist/actions/fetch-price.cjs +1 -1
- package/dist/actions/fetch-price.cjs.map +1 -1
- package/dist/actions/fetch-price.d.cts +11 -3
- package/dist/actions/fetch-price.d.cts.map +1 -1
- package/dist/actions/fetch-price.d.mts +11 -3
- package/dist/actions/fetch-price.d.mts.map +1 -1
- package/dist/actions/fetch-price.mjs +1 -1
- package/dist/actions/fetch-price.mjs.map +1 -1
- package/dist/actions/fetch-smart-contracts.cjs +4 -4
- package/dist/actions/fetch-smart-contracts.cjs.map +1 -1
- package/dist/actions/fetch-smart-contracts.d.cts +7 -3
- package/dist/actions/fetch-smart-contracts.d.cts.map +1 -1
- package/dist/actions/fetch-smart-contracts.d.mts +7 -3
- package/dist/actions/fetch-smart-contracts.d.mts.map +1 -1
- package/dist/actions/fetch-smart-contracts.mjs +4 -4
- package/dist/actions/fetch-smart-contracts.mjs.map +1 -1
- package/dist/actions/send-payout.cjs +1 -1
- package/dist/actions/send-payout.cjs.map +1 -1
- package/dist/actions/send-payout.d.cts +16 -3
- package/dist/actions/send-payout.d.cts.map +1 -1
- package/dist/actions/send-payout.d.mts +16 -3
- package/dist/actions/send-payout.d.mts.map +1 -1
- package/dist/actions/send-payout.mjs +1 -1
- package/dist/actions/send-payout.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,13 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/fetch-smart-contracts.d.ts
|
|
4
|
-
declare const PoofFetchSmartContractsInput: z.
|
|
5
|
-
declare const PoofFetchSmartContractsOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const PoofFetchSmartContractsInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const PoofFetchSmartContractsOutput: z.ZodObject<{
|
|
6
|
+
polygon: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
7
|
+
ethereum: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
8
|
+
avalanche: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
9
|
+
}, z.core.$loose>;
|
|
10
|
+
declare const poofFetchSmartContracts: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
11
|
//#endregion
|
|
8
12
|
export { poofFetchSmartContracts };
|
|
9
13
|
//# sourceMappingURL=fetch-smart-contracts.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fetch-smart-contracts.d.cts","names":[],"sources":["../../src/actions/fetch-smart-contracts.ts"],"mappings":";;;cAIa,4BAAA,
|
|
1
|
+
{"version":3,"file":"fetch-smart-contracts.d.cts","names":[],"sources":["../../src/actions/fetch-smart-contracts.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;cAM7B,uBAAA,gCAAuB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/fetch-smart-contracts.d.ts
|
|
4
|
-
declare const PoofFetchSmartContractsInput: z.
|
|
5
|
-
declare const PoofFetchSmartContractsOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const PoofFetchSmartContractsInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const PoofFetchSmartContractsOutput: z.ZodObject<{
|
|
6
|
+
polygon: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
7
|
+
ethereum: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
8
|
+
avalanche: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
9
|
+
}, z.core.$loose>;
|
|
10
|
+
declare const poofFetchSmartContracts: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
11
|
//#endregion
|
|
8
12
|
export { poofFetchSmartContracts };
|
|
9
13
|
//# sourceMappingURL=fetch-smart-contracts.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fetch-smart-contracts.d.mts","names":[],"sources":["../../src/actions/fetch-smart-contracts.ts"],"mappings":";;;cAIa,4BAAA,
|
|
1
|
+
{"version":3,"file":"fetch-smart-contracts.d.mts","names":[],"sources":["../../src/actions/fetch-smart-contracts.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;cAM7B,uBAAA,gCAAuB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -6,10 +6,10 @@ const poofFetchSmartContracts = action("POOF_FETCH_SMART_CONTRACTS", {
|
|
|
6
6
|
description: "Tool to fetch all supported ERC-20 smart contracts across Ethereum, Avalanche, and Polygon networks. Use when you need to retrieve available token contracts and their details for blockchain operations.",
|
|
7
7
|
input: z.object({}).describe("Request model for fetching supported smart contracts.\nNo parameters required - the API returns all available contracts."),
|
|
8
8
|
output: z.object({
|
|
9
|
-
polygon: z.
|
|
10
|
-
ethereum: z.
|
|
11
|
-
avalanche: z.
|
|
12
|
-
}).describe("Response model containing smart contracts organized by blockchain network.\nEach network contains token identifiers mapped to their contract details.")
|
|
9
|
+
polygon: z.record(z.string(), z.unknown()).describe("Polygon network token contracts keyed by token identifier").nullable().optional(),
|
|
10
|
+
ethereum: z.record(z.string(), z.unknown()).describe("Ethereum network ERC-20 token contracts keyed by token identifier").nullable().optional(),
|
|
11
|
+
avalanche: z.record(z.string(), z.unknown()).describe("Avalanche network token contracts keyed by token identifier").nullable().optional()
|
|
12
|
+
}).passthrough().describe("Response model containing smart contracts organized by blockchain network.\nEach network contains token identifiers mapped to their contract details.")
|
|
13
13
|
});
|
|
14
14
|
//#endregion
|
|
15
15
|
export { poofFetchSmartContracts };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fetch-smart-contracts.mjs","names":[],"sources":["../../src/actions/fetch-smart-contracts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PoofFetchSmartContractsInput
|
|
1
|
+
{"version":3,"file":"fetch-smart-contracts.mjs","names":[],"sources":["../../src/actions/fetch-smart-contracts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PoofFetchSmartContractsInput = z.object({}).describe(\"Request model for fetching supported smart contracts.\\nNo parameters required - the API returns all available contracts.\");\nexport const PoofFetchSmartContractsOutput = z.object({\n polygon: z.record(z.string(), z.unknown()).describe(\"Polygon network token contracts keyed by token identifier\").nullable().optional(),\n ethereum: z.record(z.string(), z.unknown()).describe(\"Ethereum network ERC-20 token contracts keyed by token identifier\").nullable().optional(),\n avalanche: z.record(z.string(), z.unknown()).describe(\"Avalanche network token contracts keyed by token identifier\").nullable().optional(),\n}).passthrough().describe(\"Response model containing smart contracts organized by blockchain network.\\nEach network contains token identifiers mapped to their contract details.\");\n\nexport const poofFetchSmartContracts = action(\"POOF_FETCH_SMART_CONTRACTS\", {\n slug: \"poof-fetch-smart-contracts\",\n name: \"Fetch Smart Contracts\",\n description: \"Tool to fetch all supported ERC-20 smart contracts across Ethereum, Avalanche, and Polygon networks. Use when you need to retrieve available token contracts and their details for blockchain operations.\",\n input: PoofFetchSmartContractsInput,\n output: PoofFetchSmartContractsOutput,\n});\n"],"mappings":";;AAWA,MAAa,0BAA0B,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAX0C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0HAWzD;CACP,QAX2C,EAAE,OAAO;EACpD,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrI,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9I,WAAW,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uJAOhB;AACV,CAAC"}
|
|
@@ -11,7 +11,7 @@ const PoofSendPayoutOutput = zod.z.object({
|
|
|
11
11
|
message: zod.z.string().describe("Additional message or details about the payout request.").nullable().optional(),
|
|
12
12
|
success: zod.z.boolean().describe("Indicates whether the payout request was successful.").nullable().optional(),
|
|
13
13
|
transaction_id: zod.z.string().describe("Unique identifier for the payout transaction.").nullable().optional()
|
|
14
|
-
}).describe("Response model returned after initiating a cryptocurrency payout transaction.");
|
|
14
|
+
}).passthrough().describe("Response model returned after initiating a cryptocurrency payout transaction.");
|
|
15
15
|
const poofSendPayout = require_action.action("POOF_SEND_PAYOUT", {
|
|
16
16
|
slug: "poof-send-payout",
|
|
17
17
|
name: "Send Cryptocurrency Payout",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"send-payout.cjs","names":["z","action"],"sources":["../../src/actions/send-payout.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PoofSendPayoutInput
|
|
1
|
+
{"version":3,"file":"send-payout.cjs","names":["z","action"],"sources":["../../src/actions/send-payout.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PoofSendPayoutInput = z.object({\n amount: z.number().describe(\"Amount of cryptocurrency to send. Must be a positive number.\"),\n crypto: z.string().describe(\"Cryptocurrency type to use for the payout. Supported values include blockchain names such as 'solana', 'ethereum', 'bitcoin', etc.\"),\n address: z.string().describe(\"Destination wallet address on the specified blockchain. Must be a valid address format for the chosen cryptocurrency.\"),\n}).describe(\"Request model for sending a cryptocurrency payout transaction.\");\nexport const PoofSendPayoutOutput = z.object({\n status: z.string().describe(\"Current status of the payout transaction (e.g., pending, completed, failed).\").nullable().optional(),\n message: z.string().describe(\"Additional message or details about the payout request.\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the payout request was successful.\").nullable().optional(),\n transaction_id: z.string().describe(\"Unique identifier for the payout transaction.\").nullable().optional(),\n}).passthrough().describe(\"Response model returned after initiating a cryptocurrency payout transaction.\");\n\nexport const poofSendPayout = action(\"POOF_SEND_PAYOUT\", {\n slug: \"poof-send-payout\",\n name: \"Send Cryptocurrency Payout\",\n description: \"Tool to send a cryptocurrency payout transaction from your wallet to an external address. Use when you need to transfer crypto on supported blockchains.\",\n input: PoofSendPayoutInput,\n output: PoofSendPayoutOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAsBA,IAAAA,EAAE,OAAO;CAC1C,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;CAC1F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oIAAoI;CAChK,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uHAAuH;AACtJ,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAa,uBAAuBA,IAAAA,EAAE,OAAO;CAC3C,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChI,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+EAA+E;AAEzG,MAAa,iBAAiBC,eAAAA,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,22 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/send-payout.d.ts
|
|
4
|
-
declare const PoofSendPayoutInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PoofSendPayoutInput: z.ZodObject<{
|
|
5
|
+
amount: z.ZodNumber;
|
|
6
|
+
crypto: z.ZodString;
|
|
7
|
+
address: z.ZodString;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
declare const PoofSendPayoutOutput: z.ZodObject<{
|
|
10
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
success: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
13
|
+
transaction_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
}, z.core.$loose>;
|
|
15
|
+
declare const poofSendPayout: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
16
|
+
amount: number;
|
|
17
|
+
crypto: string;
|
|
18
|
+
address: string;
|
|
19
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
20
|
//#endregion
|
|
8
21
|
export { poofSendPayout };
|
|
9
22
|
//# sourceMappingURL=send-payout.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"send-payout.d.cts","names":[],"sources":["../../src/actions/send-payout.ts"],"mappings":";;;cAIa,mBAAA,
|
|
1
|
+
{"version":3,"file":"send-payout.d.cts","names":[],"sources":["../../src/actions/send-payout.ts"],"mappings":";;;cAIa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;;cAKnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;cAOpB,cAAA,gCAAc,wBAAA"}
|
|
@@ -1,9 +1,22 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/send-payout.d.ts
|
|
4
|
-
declare const PoofSendPayoutInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PoofSendPayoutInput: z.ZodObject<{
|
|
5
|
+
amount: z.ZodNumber;
|
|
6
|
+
crypto: z.ZodString;
|
|
7
|
+
address: z.ZodString;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
declare const PoofSendPayoutOutput: z.ZodObject<{
|
|
10
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
success: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
13
|
+
transaction_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
}, z.core.$loose>;
|
|
15
|
+
declare const poofSendPayout: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
16
|
+
amount: number;
|
|
17
|
+
crypto: string;
|
|
18
|
+
address: string;
|
|
19
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
20
|
//#endregion
|
|
8
21
|
export { poofSendPayout };
|
|
9
22
|
//# sourceMappingURL=send-payout.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"send-payout.d.mts","names":[],"sources":["../../src/actions/send-payout.ts"],"mappings":";;;cAIa,mBAAA,
|
|
1
|
+
{"version":3,"file":"send-payout.d.mts","names":[],"sources":["../../src/actions/send-payout.ts"],"mappings":";;;cAIa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;;cAKnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;cAOpB,cAAA,gCAAc,wBAAA"}
|
|
@@ -14,7 +14,7 @@ const poofSendPayout = action("POOF_SEND_PAYOUT", {
|
|
|
14
14
|
message: z.string().describe("Additional message or details about the payout request.").nullable().optional(),
|
|
15
15
|
success: z.boolean().describe("Indicates whether the payout request was successful.").nullable().optional(),
|
|
16
16
|
transaction_id: z.string().describe("Unique identifier for the payout transaction.").nullable().optional()
|
|
17
|
-
}).describe("Response model returned after initiating a cryptocurrency payout transaction.")
|
|
17
|
+
}).passthrough().describe("Response model returned after initiating a cryptocurrency payout transaction.")
|
|
18
18
|
});
|
|
19
19
|
//#endregion
|
|
20
20
|
export { poofSendPayout };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"send-payout.mjs","names":[],"sources":["../../src/actions/send-payout.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PoofSendPayoutInput
|
|
1
|
+
{"version":3,"file":"send-payout.mjs","names":[],"sources":["../../src/actions/send-payout.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PoofSendPayoutInput = z.object({\n amount: z.number().describe(\"Amount of cryptocurrency to send. Must be a positive number.\"),\n crypto: z.string().describe(\"Cryptocurrency type to use for the payout. Supported values include blockchain names such as 'solana', 'ethereum', 'bitcoin', etc.\"),\n address: z.string().describe(\"Destination wallet address on the specified blockchain. Must be a valid address format for the chosen cryptocurrency.\"),\n}).describe(\"Request model for sending a cryptocurrency payout transaction.\");\nexport const PoofSendPayoutOutput = z.object({\n status: z.string().describe(\"Current status of the payout transaction (e.g., pending, completed, failed).\").nullable().optional(),\n message: z.string().describe(\"Additional message or details about the payout request.\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the payout request was successful.\").nullable().optional(),\n transaction_id: z.string().describe(\"Unique identifier for the payout transaction.\").nullable().optional(),\n}).passthrough().describe(\"Response model returned after initiating a cryptocurrency payout transaction.\");\n\nexport const poofSendPayout = action(\"POOF_SEND_PAYOUT\", {\n slug: \"poof-send-payout\",\n name: \"Send Cryptocurrency Payout\",\n description: \"Tool to send a cryptocurrency payout transaction from your wallet to an external address. Use when you need to transfer crypto on supported blockchains.\",\n input: PoofSendPayoutInput,\n output: PoofSendPayoutOutput,\n});\n"],"mappings":";;AAgBA,MAAa,iBAAiB,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBiC,EAAE,OAAO;EAC1C,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;EAC1F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oIAAoI;EAChK,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uHAAuH;CACtJ,CAAC,CAAC,CAAC,SAAS,gEAYH;CACP,QAZkC,EAAE,OAAO;EAC3C,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChI,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5G,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1G,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+EAOhB;AACV,CAAC"}
|
package/dist/catalog.cjs
CHANGED
|
@@ -7,7 +7,13 @@ const poofCatalog = {
|
|
|
7
7
|
"category": "Payment Processing",
|
|
8
8
|
"logo": "https://logos.composio.dev/api/poof",
|
|
9
9
|
"authKind": "keystroke",
|
|
10
|
-
"oauthScopes": []
|
|
10
|
+
"oauthScopes": [],
|
|
11
|
+
"credentialFields": { "api_key": {
|
|
12
|
+
"label": "API Key",
|
|
13
|
+
"secret": true,
|
|
14
|
+
"description": "Sign in and manage your API Keys from the Developers settings at https://www.poof.io/developers"
|
|
15
|
+
} },
|
|
16
|
+
"credentialScheme": "API_KEY"
|
|
11
17
|
};
|
|
12
18
|
//#endregion
|
|
13
19
|
exports.poofCatalog = poofCatalog;
|
package/dist/catalog.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const poofCatalog = {\n \"slug\": \"poof\",\n \"name\": \"Poof\",\n \"description\": \"Empowering millions of digital businesses & creators with payments from crypto to fiat\",\n \"category\": \"Payment Processing\",\n \"logo\": \"https://logos.composio.dev/api/poof\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,cAAc;CACzB,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const poofCatalog = {\n \"slug\": \"poof\",\n \"name\": \"Poof\",\n \"description\": \"Empowering millions of digital businesses & creators with payments from crypto to fiat\",\n \"category\": \"Payment Processing\",\n \"logo\": \"https://logos.composio.dev/api/poof\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"api_key\": {\n \"label\": \"API Key\",\n \"secret\": true,\n \"description\": \"Sign in and manage your API Keys from the Developers settings at https://www.poof.io/developers\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,cAAc;CACzB,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,WAAW;EACT,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
|
package/dist/catalog.d.cts
CHANGED
|
@@ -8,6 +8,14 @@ declare const poofCatalog: {
|
|
|
8
8
|
readonly logo: "https://logos.composio.dev/api/poof";
|
|
9
9
|
readonly authKind: "keystroke";
|
|
10
10
|
readonly oauthScopes: readonly [];
|
|
11
|
+
readonly credentialFields: {
|
|
12
|
+
readonly api_key: {
|
|
13
|
+
readonly label: "API Key";
|
|
14
|
+
readonly secret: true;
|
|
15
|
+
readonly description: "Sign in and manage your API Keys from the Developers settings at https://www.poof.io/developers";
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
readonly credentialScheme: "API_KEY";
|
|
11
19
|
};
|
|
12
20
|
//#endregion
|
|
13
21
|
export { poofCatalog };
|
package/dist/catalog.d.mts
CHANGED
|
@@ -8,6 +8,14 @@ declare const poofCatalog: {
|
|
|
8
8
|
readonly logo: "https://logos.composio.dev/api/poof";
|
|
9
9
|
readonly authKind: "keystroke";
|
|
10
10
|
readonly oauthScopes: readonly [];
|
|
11
|
+
readonly credentialFields: {
|
|
12
|
+
readonly api_key: {
|
|
13
|
+
readonly label: "API Key";
|
|
14
|
+
readonly secret: true;
|
|
15
|
+
readonly description: "Sign in and manage your API Keys from the Developers settings at https://www.poof.io/developers";
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
readonly credentialScheme: "API_KEY";
|
|
11
19
|
};
|
|
12
20
|
//#endregion
|
|
13
21
|
export { poofCatalog };
|
package/dist/catalog.mjs
CHANGED
|
@@ -7,7 +7,13 @@ const poofCatalog = {
|
|
|
7
7
|
"category": "Payment Processing",
|
|
8
8
|
"logo": "https://logos.composio.dev/api/poof",
|
|
9
9
|
"authKind": "keystroke",
|
|
10
|
-
"oauthScopes": []
|
|
10
|
+
"oauthScopes": [],
|
|
11
|
+
"credentialFields": { "api_key": {
|
|
12
|
+
"label": "API Key",
|
|
13
|
+
"secret": true,
|
|
14
|
+
"description": "Sign in and manage your API Keys from the Developers settings at https://www.poof.io/developers"
|
|
15
|
+
} },
|
|
16
|
+
"credentialScheme": "API_KEY"
|
|
11
17
|
};
|
|
12
18
|
//#endregion
|
|
13
19
|
export { poofCatalog };
|
package/dist/catalog.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const poofCatalog = {\n \"slug\": \"poof\",\n \"name\": \"Poof\",\n \"description\": \"Empowering millions of digital businesses & creators with payments from crypto to fiat\",\n \"category\": \"Payment Processing\",\n \"logo\": \"https://logos.composio.dev/api/poof\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,cAAc;CACzB,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const poofCatalog = {\n \"slug\": \"poof\",\n \"name\": \"Poof\",\n \"description\": \"Empowering millions of digital businesses & creators with payments from crypto to fiat\",\n \"category\": \"Payment Processing\",\n \"logo\": \"https://logos.composio.dev/api/poof\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"api_key\": {\n \"label\": \"API Key\",\n \"secret\": true,\n \"description\": \"Sign in and manage your API Keys from the Developers settings at https://www.poof.io/developers\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,cAAc;CACzB,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,WAAW;EACT,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@keystrokehq/poof",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"registry": "https://registry.npmjs.org"
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
}
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
|
-
"@keystrokehq/keystroke": "
|
|
34
|
+
"@keystrokehq/keystroke": ">=0.1.4",
|
|
35
35
|
"zod": "^4.4.3"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|