@keystrokehq/poof 0.1.0
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/README.md +17 -0
- package/dist/action.cjs +21 -0
- package/dist/action.cjs.map +1 -0
- package/dist/action.mjs +21 -0
- package/dist/action.mjs.map +1 -0
- package/dist/actions/check-balance.cjs +16 -0
- package/dist/actions/check-balance.cjs.map +1 -0
- package/dist/actions/check-balance.d.cts +9 -0
- package/dist/actions/check-balance.d.cts.map +1 -0
- package/dist/actions/check-balance.d.mts +9 -0
- package/dist/actions/check-balance.d.mts.map +1 -0
- package/dist/actions/check-balance.mjs +13 -0
- package/dist/actions/check-balance.mjs.map +1 -0
- package/dist/actions/create-checkout.cjs +31 -0
- package/dist/actions/create-checkout.cjs.map +1 -0
- package/dist/actions/create-checkout.d.cts +9 -0
- package/dist/actions/create-checkout.d.cts.map +1 -0
- package/dist/actions/create-checkout.d.mts +9 -0
- package/dist/actions/create-checkout.d.mts.map +1 -0
- package/dist/actions/create-checkout.mjs +28 -0
- package/dist/actions/create-checkout.mjs.map +1 -0
- package/dist/actions/create-deposit-address.cjs +30 -0
- package/dist/actions/create-deposit-address.cjs.map +1 -0
- package/dist/actions/create-deposit-address.d.cts +9 -0
- package/dist/actions/create-deposit-address.d.cts.map +1 -0
- package/dist/actions/create-deposit-address.d.mts +9 -0
- package/dist/actions/create-deposit-address.d.mts.map +1 -0
- package/dist/actions/create-deposit-address.mjs +27 -0
- package/dist/actions/create-deposit-address.mjs.map +1 -0
- package/dist/actions/create-fiat-charge.cjs +27 -0
- package/dist/actions/create-fiat-charge.cjs.map +1 -0
- package/dist/actions/create-fiat-charge.d.cts +9 -0
- package/dist/actions/create-fiat-charge.d.cts.map +1 -0
- package/dist/actions/create-fiat-charge.d.mts +9 -0
- package/dist/actions/create-fiat-charge.d.mts.map +1 -0
- package/dist/actions/create-fiat-charge.mjs +24 -0
- package/dist/actions/create-fiat-charge.mjs.map +1 -0
- package/dist/actions/create-fiat-invoice.cjs +27 -0
- package/dist/actions/create-fiat-invoice.cjs.map +1 -0
- package/dist/actions/create-fiat-invoice.d.cts +9 -0
- package/dist/actions/create-fiat-invoice.d.cts.map +1 -0
- package/dist/actions/create-fiat-invoice.d.mts +9 -0
- package/dist/actions/create-fiat-invoice.d.mts.map +1 -0
- package/dist/actions/create-fiat-invoice.mjs +24 -0
- package/dist/actions/create-fiat-invoice.mjs.map +1 -0
- package/dist/actions/create-payment-link.cjs +23 -0
- package/dist/actions/create-payment-link.cjs.map +1 -0
- package/dist/actions/create-payment-link.d.cts +9 -0
- package/dist/actions/create-payment-link.d.cts.map +1 -0
- package/dist/actions/create-payment-link.d.mts +9 -0
- package/dist/actions/create-payment-link.d.mts.map +1 -0
- package/dist/actions/create-payment-link.mjs +20 -0
- package/dist/actions/create-payment-link.mjs.map +1 -0
- package/dist/actions/create-webhook.cjs +20 -0
- package/dist/actions/create-webhook.cjs.map +1 -0
- package/dist/actions/create-webhook.d.cts +9 -0
- package/dist/actions/create-webhook.d.cts.map +1 -0
- package/dist/actions/create-webhook.d.mts +9 -0
- package/dist/actions/create-webhook.d.mts.map +1 -0
- package/dist/actions/create-webhook.mjs +17 -0
- package/dist/actions/create-webhook.mjs.map +1 -0
- package/dist/actions/fetch-gas-price.cjs +24 -0
- package/dist/actions/fetch-gas-price.cjs.map +1 -0
- package/dist/actions/fetch-gas-price.d.cts +9 -0
- package/dist/actions/fetch-gas-price.d.cts.map +1 -0
- package/dist/actions/fetch-gas-price.d.mts +9 -0
- package/dist/actions/fetch-gas-price.d.mts.map +1 -0
- package/dist/actions/fetch-gas-price.mjs +21 -0
- package/dist/actions/fetch-gas-price.mjs.map +1 -0
- package/dist/actions/fetch-price.cjs +25 -0
- package/dist/actions/fetch-price.cjs.map +1 -0
- package/dist/actions/fetch-price.d.cts +9 -0
- package/dist/actions/fetch-price.d.cts.map +1 -0
- package/dist/actions/fetch-price.d.mts +9 -0
- package/dist/actions/fetch-price.d.mts.map +1 -0
- package/dist/actions/fetch-price.mjs +22 -0
- package/dist/actions/fetch-price.mjs.map +1 -0
- package/dist/actions/fetch-smart-contracts.cjs +20 -0
- package/dist/actions/fetch-smart-contracts.cjs.map +1 -0
- package/dist/actions/fetch-smart-contracts.d.cts +9 -0
- package/dist/actions/fetch-smart-contracts.d.cts.map +1 -0
- package/dist/actions/fetch-smart-contracts.d.mts +9 -0
- package/dist/actions/fetch-smart-contracts.d.mts.map +1 -0
- package/dist/actions/fetch-smart-contracts.mjs +17 -0
- package/dist/actions/fetch-smart-contracts.mjs.map +1 -0
- package/dist/actions/index.cjs +23 -0
- package/dist/actions/index.d.cts +12 -0
- package/dist/actions/index.d.mts +12 -0
- package/dist/actions/index.mjs +12 -0
- package/dist/actions/send-payout.cjs +25 -0
- package/dist/actions/send-payout.cjs.map +1 -0
- package/dist/actions/send-payout.d.cts +9 -0
- package/dist/actions/send-payout.d.cts.map +1 -0
- package/dist/actions/send-payout.d.mts +9 -0
- package/dist/actions/send-payout.d.mts.map +1 -0
- package/dist/actions/send-payout.mjs +22 -0
- package/dist/actions/send-payout.mjs.map +1 -0
- package/dist/app.cjs +9 -0
- package/dist/app.cjs.map +1 -0
- package/dist/app.d.cts +5 -0
- package/dist/app.d.cts.map +1 -0
- package/dist/app.d.mts +5 -0
- package/dist/app.d.mts.map +1 -0
- package/dist/app.mjs +10 -0
- package/dist/app.mjs.map +1 -0
- package/dist/catalog.cjs +15 -0
- package/dist/catalog.cjs.map +1 -0
- package/dist/catalog.d.cts +14 -0
- package/dist/catalog.d.cts.map +1 -0
- package/dist/catalog.d.mts +14 -0
- package/dist/catalog.d.mts.map +1 -0
- package/dist/catalog.mjs +15 -0
- package/dist/catalog.mjs.map +1 -0
- package/dist/execute.cjs +18 -0
- package/dist/execute.cjs.map +1 -0
- package/dist/execute.mjs +18 -0
- package/dist/execute.mjs.map +1 -0
- package/dist/index.cjs +28 -0
- package/dist/index.d.cts +14 -0
- package/dist/index.d.mts +14 -0
- package/dist/index.mjs +15 -0
- package/package.json +49 -0
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/create-payment-link.ts
|
|
4
|
+
const PoofCreatePaymentLinkInput = zod.z.object({
|
|
5
|
+
amount: zod.z.string().describe("The payment amount as a string (e.g., '10', '15.50')"),
|
|
6
|
+
crypto: zod.z.string().describe("The cryptocurrency type to accept for payment (e.g., 'ethereum', 'bitcoin', 'litecoin')"),
|
|
7
|
+
metadata: zod.z.object({}).describe("Additional metadata associated with the payment. Can contain arbitrary key-value pairs for transaction tracking or custom data.")
|
|
8
|
+
}).describe("Request model for creating a payment link (invoice) for cryptocurrency payments.");
|
|
9
|
+
const PoofCreatePaymentLinkOutput = zod.z.object({
|
|
10
|
+
message: zod.z.string().describe("Message from the API, such as 'link your wallet on poof' if wallet setup is required").nullable().optional(),
|
|
11
|
+
payment_link: zod.z.string().describe("The generated payment link URL where customers can complete their cryptocurrency payment").nullable().optional()
|
|
12
|
+
}).describe("Response model returned after creating a payment link.");
|
|
13
|
+
const poofCreatePaymentLink = require_action.action("POOF_CREATE_PAYMENT_LINK", {
|
|
14
|
+
slug: "poof-create-payment-link",
|
|
15
|
+
name: "Create Payment Link",
|
|
16
|
+
description: "Tool to create a payment link (invoice) for cryptocurrency payments. Use when you need to generate a shareable payment URL for collecting crypto payments from customers.",
|
|
17
|
+
input: PoofCreatePaymentLinkInput,
|
|
18
|
+
output: PoofCreatePaymentLinkOutput
|
|
19
|
+
});
|
|
20
|
+
//#endregion
|
|
21
|
+
exports.poofCreatePaymentLink = poofCreatePaymentLink;
|
|
22
|
+
|
|
23
|
+
//# sourceMappingURL=create-payment-link.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-payment-link.cjs","names":["z","action"],"sources":["../../src/actions/create-payment-link.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PoofCreatePaymentLinkInput: z.ZodTypeAny = z.object({\n amount: z.string().describe(\"The payment amount as a string (e.g., '10', '15.50')\"),\n crypto: z.string().describe(\"The cryptocurrency type to accept for payment (e.g., 'ethereum', 'bitcoin', 'litecoin')\"),\n metadata: z.object({}).describe(\"Additional metadata associated with the payment. Can contain arbitrary key-value pairs for transaction tracking or custom data.\"),\n}).describe(\"Request model for creating a payment link (invoice) for cryptocurrency payments.\");\nexport const PoofCreatePaymentLinkOutput: z.ZodTypeAny = z.object({\n message: z.string().describe(\"Message from the API, such as 'link your wallet on poof' if wallet setup is required\").nullable().optional(),\n payment_link: z.string().describe(\"The generated payment link URL where customers can complete their cryptocurrency payment\").nullable().optional(),\n}).describe(\"Response model returned after creating a payment link.\");\n\nexport const poofCreatePaymentLink = action(\"POOF_CREATE_PAYMENT_LINK\", {\n slug: \"poof-create-payment-link\",\n name: \"Create Payment Link\",\n description: \"Tool to create a payment link (invoice) for cryptocurrency payments. Use when you need to generate a shareable payment URL for collecting crypto payments from customers.\",\n input: PoofCreatePaymentLinkInput,\n output: PoofCreatePaymentLinkOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA2CA,IAAAA,EAAE,OAAO;CAC/D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CAClF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF;CACrH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,iIAAiI;AACnK,CAAC,CAAC,CAAC,SAAS,kFAAkF;AAC9F,MAAa,8BAA4CA,IAAAA,EAAE,OAAO;CAChE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzI,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpJ,CAAC,CAAC,CAAC,SAAS,wDAAwD;AAEpE,MAAa,wBAAwBC,eAAAA,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/create-payment-link.d.ts
|
|
4
|
+
declare const PoofCreatePaymentLinkInput: z.ZodTypeAny;
|
|
5
|
+
declare const PoofCreatePaymentLinkOutput: z.ZodTypeAny;
|
|
6
|
+
declare const poofCreatePaymentLink: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { poofCreatePaymentLink };
|
|
9
|
+
//# sourceMappingURL=create-payment-link.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-payment-link.d.cts","names":[],"sources":["../../src/actions/create-payment-link.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAIoD;AAAA,cAClF,2BAAA,EAA6B,CAAA,CAAE,UAGyB;AAAA,cAExD,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/create-payment-link.d.ts
|
|
4
|
+
declare const PoofCreatePaymentLinkInput: z.ZodTypeAny;
|
|
5
|
+
declare const PoofCreatePaymentLinkOutput: z.ZodTypeAny;
|
|
6
|
+
declare const poofCreatePaymentLink: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { poofCreatePaymentLink };
|
|
9
|
+
//# sourceMappingURL=create-payment-link.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-payment-link.d.mts","names":[],"sources":["../../src/actions/create-payment-link.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAIoD;AAAA,cAClF,2BAAA,EAA6B,CAAA,CAAE,UAGyB;AAAA,cAExD,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const poofCreatePaymentLink = action("POOF_CREATE_PAYMENT_LINK", {
|
|
4
|
+
slug: "poof-create-payment-link",
|
|
5
|
+
name: "Create Payment Link",
|
|
6
|
+
description: "Tool to create a payment link (invoice) for cryptocurrency payments. Use when you need to generate a shareable payment URL for collecting crypto payments from customers.",
|
|
7
|
+
input: z.object({
|
|
8
|
+
amount: z.string().describe("The payment amount as a string (e.g., '10', '15.50')"),
|
|
9
|
+
crypto: z.string().describe("The cryptocurrency type to accept for payment (e.g., 'ethereum', 'bitcoin', 'litecoin')"),
|
|
10
|
+
metadata: z.object({}).describe("Additional metadata associated with the payment. Can contain arbitrary key-value pairs for transaction tracking or custom data.")
|
|
11
|
+
}).describe("Request model for creating a payment link (invoice) for cryptocurrency payments."),
|
|
12
|
+
output: z.object({
|
|
13
|
+
message: z.string().describe("Message from the API, such as 'link your wallet on poof' if wallet setup is required").nullable().optional(),
|
|
14
|
+
payment_link: z.string().describe("The generated payment link URL where customers can complete their cryptocurrency payment").nullable().optional()
|
|
15
|
+
}).describe("Response model returned after creating a payment link.")
|
|
16
|
+
});
|
|
17
|
+
//#endregion
|
|
18
|
+
export { poofCreatePaymentLink };
|
|
19
|
+
|
|
20
|
+
//# sourceMappingURL=create-payment-link.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-payment-link.mjs","names":[],"sources":["../../src/actions/create-payment-link.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PoofCreatePaymentLinkInput: z.ZodTypeAny = z.object({\n amount: z.string().describe(\"The payment amount as a string (e.g., '10', '15.50')\"),\n crypto: z.string().describe(\"The cryptocurrency type to accept for payment (e.g., 'ethereum', 'bitcoin', 'litecoin')\"),\n metadata: z.object({}).describe(\"Additional metadata associated with the payment. Can contain arbitrary key-value pairs for transaction tracking or custom data.\"),\n}).describe(\"Request model for creating a payment link (invoice) for cryptocurrency payments.\");\nexport const PoofCreatePaymentLinkOutput: z.ZodTypeAny = z.object({\n message: z.string().describe(\"Message from the API, such as 'link your wallet on poof' if wallet setup is required\").nullable().optional(),\n payment_link: z.string().describe(\"The generated payment link URL where customers can complete their cryptocurrency payment\").nullable().optional(),\n}).describe(\"Response model returned after creating a payment link.\");\n\nexport const poofCreatePaymentLink = action(\"POOF_CREATE_PAYMENT_LINK\", {\n slug: \"poof-create-payment-link\",\n name: \"Create Payment Link\",\n description: \"Tool to create a payment link (invoice) for cryptocurrency payments. Use when you need to generate a shareable payment URL for collecting crypto payments from customers.\",\n input: PoofCreatePaymentLinkInput,\n output: PoofCreatePaymentLinkOutput,\n});\n"],"mappings":";;AAcA,MAAa,wBAAwB,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAdsD,EAAE,OAAO;EAC/D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;EAClF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF;EACrH,UAAU,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,iIAAiI;CACnK,CAAC,CAAC,CAAC,SAAS,kFAUH;CACP,QAVuD,EAAE,OAAO;EAChE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzI,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpJ,CAAC,CAAC,CAAC,SAAS,wDAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/create-webhook.ts
|
|
4
|
+
const PoofCreateWebhookInput = zod.z.object({ url: zod.z.string().describe("The HTTPS endpoint URL where Poof will send webhook notifications for payment events") }).describe("Request model for creating a webhook subscription in Poof.");
|
|
5
|
+
const PoofCreateWebhookOutput = zod.z.object({
|
|
6
|
+
message: zod.z.string().describe("Response message from the API").nullable().optional(),
|
|
7
|
+
success: zod.z.boolean().describe("Indicates whether the webhook was created successfully").nullable().optional(),
|
|
8
|
+
webhook_url: zod.z.string().describe("The webhook URL that was registered").nullable().optional()
|
|
9
|
+
}).describe("Response model for webhook creation in Poof.");
|
|
10
|
+
const poofCreateWebhook = require_action.action("POOF_CREATE_WEBHOOK", {
|
|
11
|
+
slug: "poof-create-webhook",
|
|
12
|
+
name: "Create Poof Webhook",
|
|
13
|
+
description: "Tool to create a webhook subscription for receiving payment event notifications. Use when you need to set up real-time notifications for transaction status changes and other payment events.",
|
|
14
|
+
input: PoofCreateWebhookInput,
|
|
15
|
+
output: PoofCreateWebhookOutput
|
|
16
|
+
});
|
|
17
|
+
//#endregion
|
|
18
|
+
exports.poofCreateWebhook = poofCreateWebhook;
|
|
19
|
+
|
|
20
|
+
//# sourceMappingURL=create-webhook.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-webhook.cjs","names":["z","action"],"sources":["../../src/actions/create-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PoofCreateWebhookInput: z.ZodTypeAny = z.object({\n url: z.string().describe(\"The HTTPS endpoint URL where Poof will send webhook notifications for payment events\"),\n}).describe(\"Request model for creating a webhook subscription in Poof.\");\nexport const PoofCreateWebhookOutput: z.ZodTypeAny = z.object({\n message: z.string().describe(\"Response message from the API\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the webhook was created successfully\").nullable().optional(),\n webhook_url: z.string().describe(\"The webhook URL that was registered\").nullable().optional(),\n}).describe(\"Response model for webhook creation in Poof.\");\n\nexport const poofCreateWebhook = action(\"POOF_CREATE_WEBHOOK\", {\n slug: \"poof-create-webhook\",\n name: \"Create Poof Webhook\",\n description: \"Tool to create a webhook subscription for receiving payment event notifications. Use when you need to set up real-time notifications for transaction status changes and other payment events.\",\n input: PoofCreateWebhookInput,\n output: PoofCreateWebhookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAuCA,IAAAA,EAAE,OAAO,EAC3D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,EACjH,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAa,0BAAwCA,IAAAA,EAAE,OAAO;CAC5D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAE1D,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/create-webhook.d.ts
|
|
4
|
+
declare const PoofCreateWebhookInput: z.ZodTypeAny;
|
|
5
|
+
declare const PoofCreateWebhookOutput: z.ZodTypeAny;
|
|
6
|
+
declare const poofCreateWebhook: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { poofCreateWebhook };
|
|
9
|
+
//# sourceMappingURL=create-webhook.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-webhook.d.cts","names":[],"sources":["../../src/actions/create-webhook.ts"],"mappings":";;;cAIa,sBAAA,EAAwB,CAAA,CAAE,UAEkC;AAAA,cAC5D,uBAAA,EAAyB,CAAA,CAAE,UAImB;AAAA,cAE9C,iBAAA,gCAAiB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/create-webhook.d.ts
|
|
4
|
+
declare const PoofCreateWebhookInput: z.ZodTypeAny;
|
|
5
|
+
declare const PoofCreateWebhookOutput: z.ZodTypeAny;
|
|
6
|
+
declare const poofCreateWebhook: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { poofCreateWebhook };
|
|
9
|
+
//# sourceMappingURL=create-webhook.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-webhook.d.mts","names":[],"sources":["../../src/actions/create-webhook.ts"],"mappings":";;;cAIa,sBAAA,EAAwB,CAAA,CAAE,UAEkC;AAAA,cAC5D,uBAAA,EAAyB,CAAA,CAAE,UAImB;AAAA,cAE9C,iBAAA,gCAAiB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const poofCreateWebhook = action("POOF_CREATE_WEBHOOK", {
|
|
4
|
+
slug: "poof-create-webhook",
|
|
5
|
+
name: "Create Poof Webhook",
|
|
6
|
+
description: "Tool to create a webhook subscription for receiving payment event notifications. Use when you need to set up real-time notifications for transaction status changes and other payment events.",
|
|
7
|
+
input: z.object({ url: z.string().describe("The HTTPS endpoint URL where Poof will send webhook notifications for payment events") }).describe("Request model for creating a webhook subscription in Poof."),
|
|
8
|
+
output: z.object({
|
|
9
|
+
message: z.string().describe("Response message from the API").nullable().optional(),
|
|
10
|
+
success: z.boolean().describe("Indicates whether the webhook was created successfully").nullable().optional(),
|
|
11
|
+
webhook_url: z.string().describe("The webhook URL that was registered").nullable().optional()
|
|
12
|
+
}).describe("Response model for webhook creation in Poof.")
|
|
13
|
+
});
|
|
14
|
+
//#endregion
|
|
15
|
+
export { poofCreateWebhook };
|
|
16
|
+
|
|
17
|
+
//# sourceMappingURL=create-webhook.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-webhook.mjs","names":[],"sources":["../../src/actions/create-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PoofCreateWebhookInput: z.ZodTypeAny = z.object({\n url: z.string().describe(\"The HTTPS endpoint URL where Poof will send webhook notifications for payment events\"),\n}).describe(\"Request model for creating a webhook subscription in Poof.\");\nexport const PoofCreateWebhookOutput: z.ZodTypeAny = z.object({\n message: z.string().describe(\"Response message from the API\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the webhook was created successfully\").nullable().optional(),\n webhook_url: z.string().describe(\"The webhook URL that was registered\").nullable().optional(),\n}).describe(\"Response model for webhook creation in Poof.\");\n\nexport const poofCreateWebhook = action(\"POOF_CREATE_WEBHOOK\", {\n slug: \"poof-create-webhook\",\n name: \"Create Poof Webhook\",\n description: \"Tool to create a webhook subscription for receiving payment event notifications. Use when you need to set up real-time notifications for transaction status changes and other payment events.\",\n input: PoofCreateWebhookInput,\n output: PoofCreateWebhookOutput,\n});\n"],"mappings":";;AAaA,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbkD,EAAE,OAAO,EAC3D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,EACjH,CAAC,CAAC,CAAC,SAAS,4DAWH;CACP,QAXmD,EAAE,OAAO;EAC5D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClF,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,CAAC,CAAC,CAAC,SAAS,8CAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/fetch-gas-price.ts
|
|
4
|
+
const PoofFetchGasPriceInput = zod.z.object({ crypto: zod.z.string().describe("The cryptocurrency identifier for which to fetch gas prices (e.g., 'usdc', 'eth', 'bnb', 'matic'). Determines which blockchain network's gas prices to retrieve.") });
|
|
5
|
+
const PoofFetchGasPriceOutput = zod.z.object({
|
|
6
|
+
message: zod.z.string().describe("Error or informational message (e.g., 'currency name invalid').").nullable().optional(),
|
|
7
|
+
gas_used: zod.z.string().describe("The estimated amount of gas units that would be used for the transaction.").nullable().optional(),
|
|
8
|
+
gas_fee_usdc: zod.z.string().describe("The gas fee amount in USDC stablecoin.").nullable().optional(),
|
|
9
|
+
gas_price_eth: zod.z.string().describe("The gas price in ETH (Ethereum).").nullable().optional(),
|
|
10
|
+
gas_fee_in_usd: zod.z.string().describe("The gas fee amount converted to USD.").nullable().optional(),
|
|
11
|
+
transaction_fee: zod.z.string().describe("The estimated transaction fee for the blockchain operation.").nullable().optional(),
|
|
12
|
+
gas_fee_currency: zod.z.string().describe("The gas fee amount in the specified cryptocurrency.").nullable().optional()
|
|
13
|
+
}).describe("Response containing gas price estimates for blockchain transactions.");
|
|
14
|
+
const poofFetchGasPrice = require_action.action("POOF_FETCH_GAS_PRICE", {
|
|
15
|
+
slug: "poof-fetch-gas-price",
|
|
16
|
+
name: "Fetch Gas Price",
|
|
17
|
+
description: "Tool to fetch current gas prices for blockchain transactions. Returns gas price estimates for Ethereum, Avalanche, Polygon, and other supported EVM chains across different priority levels (slow, standard, fast, instant).",
|
|
18
|
+
input: PoofFetchGasPriceInput,
|
|
19
|
+
output: PoofFetchGasPriceOutput
|
|
20
|
+
});
|
|
21
|
+
//#endregion
|
|
22
|
+
exports.poofFetchGasPrice = poofFetchGasPrice;
|
|
23
|
+
|
|
24
|
+
//# sourceMappingURL=fetch-gas-price.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fetch-gas-price.cjs","names":["z","action"],"sources":["../../src/actions/fetch-gas-price.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PoofFetchGasPriceInput: z.ZodTypeAny = z.object({\n crypto: z.string().describe(\"The cryptocurrency identifier for which to fetch gas prices (e.g., 'usdc', 'eth', 'bnb', 'matic'). Determines which blockchain network's gas prices to retrieve.\"),\n});\nexport const PoofFetchGasPriceOutput: z.ZodTypeAny = z.object({\n message: z.string().describe(\"Error or informational message (e.g., 'currency name invalid').\").nullable().optional(),\n gas_used: z.string().describe(\"The estimated amount of gas units that would be used for the transaction.\").nullable().optional(),\n gas_fee_usdc: z.string().describe(\"The gas fee amount in USDC stablecoin.\").nullable().optional(),\n gas_price_eth: z.string().describe(\"The gas price in ETH (Ethereum).\").nullable().optional(),\n gas_fee_in_usd: z.string().describe(\"The gas fee amount converted to USD.\").nullable().optional(),\n transaction_fee: z.string().describe(\"The estimated transaction fee for the blockchain operation.\").nullable().optional(),\n gas_fee_currency: z.string().describe(\"The gas fee amount in the specified cryptocurrency.\").nullable().optional(),\n}).describe(\"Response containing gas price estimates for blockchain transactions.\");\n\nexport const poofFetchGasPrice = action(\"POOF_FETCH_GAS_PRICE\", {\n slug: \"poof-fetch-gas-price\",\n name: \"Fetch Gas Price\",\n description: \"Tool to fetch current gas prices for blockchain transactions. Returns gas price estimates for Ethereum, Avalanche, Polygon, and other supported EVM chains across different priority levels (slow, standard, fast, instant).\",\n input: PoofFetchGasPriceInput,\n output: PoofFetchGasPriceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAuCA,IAAAA,EAAE,OAAO,EAC3D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kKAAkK,EAChM,CAAC;AACD,MAAa,0BAAwCA,IAAAA,EAAE,OAAO;CAC5D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/H,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnH,CAAC,CAAC,CAAC,SAAS,sEAAsE;AAElF,MAAa,oBAAoBC,eAAAA,OAAO,wBAAwB;CAC9D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/fetch-gas-price.d.ts
|
|
4
|
+
declare const PoofFetchGasPriceInput: z.ZodTypeAny;
|
|
5
|
+
declare const PoofFetchGasPriceOutput: z.ZodTypeAny;
|
|
6
|
+
declare const poofFetchGasPrice: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { poofFetchGasPrice };
|
|
9
|
+
//# sourceMappingURL=fetch-gas-price.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fetch-gas-price.d.cts","names":[],"sources":["../../src/actions/fetch-gas-price.ts"],"mappings":";;;cAIa,sBAAA,EAAwB,CAAA,CAAE,UAErC;AAAA,cACW,uBAAA,EAAyB,CAAA,CAAE,UAQ2C;AAAA,cAEtE,iBAAA,gCAAiB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/fetch-gas-price.d.ts
|
|
4
|
+
declare const PoofFetchGasPriceInput: z.ZodTypeAny;
|
|
5
|
+
declare const PoofFetchGasPriceOutput: z.ZodTypeAny;
|
|
6
|
+
declare const poofFetchGasPrice: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { poofFetchGasPrice };
|
|
9
|
+
//# sourceMappingURL=fetch-gas-price.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fetch-gas-price.d.mts","names":[],"sources":["../../src/actions/fetch-gas-price.ts"],"mappings":";;;cAIa,sBAAA,EAAwB,CAAA,CAAE,UAErC;AAAA,cACW,uBAAA,EAAyB,CAAA,CAAE,UAQ2C;AAAA,cAEtE,iBAAA,gCAAiB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const poofFetchGasPrice = action("POOF_FETCH_GAS_PRICE", {
|
|
4
|
+
slug: "poof-fetch-gas-price",
|
|
5
|
+
name: "Fetch Gas Price",
|
|
6
|
+
description: "Tool to fetch current gas prices for blockchain transactions. Returns gas price estimates for Ethereum, Avalanche, Polygon, and other supported EVM chains across different priority levels (slow, standard, fast, instant).",
|
|
7
|
+
input: z.object({ crypto: z.string().describe("The cryptocurrency identifier for which to fetch gas prices (e.g., 'usdc', 'eth', 'bnb', 'matic'). Determines which blockchain network's gas prices to retrieve.") }),
|
|
8
|
+
output: z.object({
|
|
9
|
+
message: z.string().describe("Error or informational message (e.g., 'currency name invalid').").nullable().optional(),
|
|
10
|
+
gas_used: z.string().describe("The estimated amount of gas units that would be used for the transaction.").nullable().optional(),
|
|
11
|
+
gas_fee_usdc: z.string().describe("The gas fee amount in USDC stablecoin.").nullable().optional(),
|
|
12
|
+
gas_price_eth: z.string().describe("The gas price in ETH (Ethereum).").nullable().optional(),
|
|
13
|
+
gas_fee_in_usd: z.string().describe("The gas fee amount converted to USD.").nullable().optional(),
|
|
14
|
+
transaction_fee: z.string().describe("The estimated transaction fee for the blockchain operation.").nullable().optional(),
|
|
15
|
+
gas_fee_currency: z.string().describe("The gas fee amount in the specified cryptocurrency.").nullable().optional()
|
|
16
|
+
}).describe("Response containing gas price estimates for blockchain transactions.")
|
|
17
|
+
});
|
|
18
|
+
//#endregion
|
|
19
|
+
export { poofFetchGasPrice };
|
|
20
|
+
|
|
21
|
+
//# sourceMappingURL=fetch-gas-price.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fetch-gas-price.mjs","names":[],"sources":["../../src/actions/fetch-gas-price.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PoofFetchGasPriceInput: z.ZodTypeAny = z.object({\n crypto: z.string().describe(\"The cryptocurrency identifier for which to fetch gas prices (e.g., 'usdc', 'eth', 'bnb', 'matic'). Determines which blockchain network's gas prices to retrieve.\"),\n});\nexport const PoofFetchGasPriceOutput: z.ZodTypeAny = z.object({\n message: z.string().describe(\"Error or informational message (e.g., 'currency name invalid').\").nullable().optional(),\n gas_used: z.string().describe(\"The estimated amount of gas units that would be used for the transaction.\").nullable().optional(),\n gas_fee_usdc: z.string().describe(\"The gas fee amount in USDC stablecoin.\").nullable().optional(),\n gas_price_eth: z.string().describe(\"The gas price in ETH (Ethereum).\").nullable().optional(),\n gas_fee_in_usd: z.string().describe(\"The gas fee amount converted to USD.\").nullable().optional(),\n transaction_fee: z.string().describe(\"The estimated transaction fee for the blockchain operation.\").nullable().optional(),\n gas_fee_currency: z.string().describe(\"The gas fee amount in the specified cryptocurrency.\").nullable().optional(),\n}).describe(\"Response containing gas price estimates for blockchain transactions.\");\n\nexport const poofFetchGasPrice = action(\"POOF_FETCH_GAS_PRICE\", {\n slug: \"poof-fetch-gas-price\",\n name: \"Fetch Gas Price\",\n description: \"Tool to fetch current gas prices for blockchain transactions. Returns gas price estimates for Ethereum, Avalanche, Polygon, and other supported EVM chains across different priority levels (slow, standard, fast, instant).\",\n input: PoofFetchGasPriceInput,\n output: PoofFetchGasPriceOutput,\n});\n"],"mappings":";;AAiBA,MAAa,oBAAoB,OAAO,wBAAwB;CAC9D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjBkD,EAAE,OAAO,EAC3D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kKAAkK,EAChM,CAeS;CACP,QAfmD,EAAE,OAAO;EAC5D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpH,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/H,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChG,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChG,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxH,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,CAAC,CAAC,CAAC,SAAS,sEAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/fetch-price.ts
|
|
4
|
+
const PoofFetchPriceInput = zod.z.object({ crypto: zod.z.string().describe("The cryptocurrency identifier to fetch price for (e.g., 'bnb', 'btc', 'eth', 'ethereum', 'bitcoin')") }).describe("Request model for fetching current cryptocurrency price.");
|
|
5
|
+
const PoofFetchPriceOutput = zod.z.object({
|
|
6
|
+
data: zod.z.union([
|
|
7
|
+
zod.z.string(),
|
|
8
|
+
zod.z.record(zod.z.string(), zod.z.unknown()),
|
|
9
|
+
zod.z.number(),
|
|
10
|
+
zod.z.number().int()
|
|
11
|
+
]).nullable().optional(),
|
|
12
|
+
error: zod.z.union([zod.z.string(), zod.z.record(zod.z.string(), zod.z.unknown())]).nullable().optional(),
|
|
13
|
+
successfull: zod.z.boolean().describe("Indicates whether the API request was successful").nullable().optional()
|
|
14
|
+
}).describe("Response model containing current cryptocurrency price data.");
|
|
15
|
+
const poofFetchPrice = require_action.action("POOF_FETCH_PRICE", {
|
|
16
|
+
slug: "poof-fetch-price",
|
|
17
|
+
name: "Fetch Cryptocurrency Price",
|
|
18
|
+
description: "Tool to fetch current cryptocurrency prices for supported tokens. Use when you need real-time price data for cryptocurrencies and tokens.",
|
|
19
|
+
input: PoofFetchPriceInput,
|
|
20
|
+
output: PoofFetchPriceOutput
|
|
21
|
+
});
|
|
22
|
+
//#endregion
|
|
23
|
+
exports.poofFetchPrice = poofFetchPrice;
|
|
24
|
+
|
|
25
|
+
//# sourceMappingURL=fetch-price.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fetch-price.cjs","names":["z","action"],"sources":["../../src/actions/fetch-price.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PoofFetchPriceInput: z.ZodTypeAny = z.object({\n crypto: z.string().describe(\"The cryptocurrency identifier to fetch price for (e.g., 'bnb', 'btc', 'eth', 'ethereum', 'bitcoin')\"),\n}).describe(\"Request model for fetching current cryptocurrency price.\");\nexport const PoofFetchPriceOutput: z.ZodTypeAny = z.object({\n data: z.union([z.string(), z.record(z.string(), z.unknown()), z.number(), z.number().int()]).nullable().optional(),\n error: z.union([z.string(), z.record(z.string(), z.unknown())]).nullable().optional(),\n successfull: z.boolean().describe(\"Indicates whether the API request was successful\").nullable().optional(),\n}).describe(\"Response model containing current cryptocurrency price data.\");\n\nexport const poofFetchPrice = action(\"POOF_FETCH_PRICE\", {\n slug: \"poof-fetch-price\",\n name: \"Fetch Cryptocurrency Price\",\n description: \"Tool to fetch current cryptocurrency prices for supported tokens. Use when you need real-time price data for cryptocurrencies and tokens.\",\n input: PoofFetchPriceInput,\n output: PoofFetchPriceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAoCA,IAAAA,EAAE,OAAO,EACxD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,EACnI,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAa,uBAAqCA,IAAAA,EAAE,OAAO;CACzD,MAAMA,IAAAA,EAAE,MAAM;EAACA,IAAAA,EAAE,OAAO;EAAGA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC;EAAGA,IAAAA,EAAE,OAAO;EAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI;CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,OAAOA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAE1E,MAAa,iBAAiBC,eAAAA,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/fetch-price.d.ts
|
|
4
|
+
declare const PoofFetchPriceInput: z.ZodTypeAny;
|
|
5
|
+
declare const PoofFetchPriceOutput: z.ZodTypeAny;
|
|
6
|
+
declare const poofFetchPrice: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { poofFetchPrice };
|
|
9
|
+
//# sourceMappingURL=fetch-price.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fetch-price.d.cts","names":[],"sources":["../../src/actions/fetch-price.ts"],"mappings":";;;cAIa,mBAAA,EAAqB,CAAA,CAAE,UAEmC;AAAA,cAC1D,oBAAA,EAAsB,CAAA,CAAE,UAIsC;AAAA,cAE9D,cAAA,gCAAc,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/fetch-price.d.ts
|
|
4
|
+
declare const PoofFetchPriceInput: z.ZodTypeAny;
|
|
5
|
+
declare const PoofFetchPriceOutput: z.ZodTypeAny;
|
|
6
|
+
declare const poofFetchPrice: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { poofFetchPrice };
|
|
9
|
+
//# sourceMappingURL=fetch-price.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fetch-price.d.mts","names":[],"sources":["../../src/actions/fetch-price.ts"],"mappings":";;;cAIa,mBAAA,EAAqB,CAAA,CAAE,UAEmC;AAAA,cAC1D,oBAAA,EAAsB,CAAA,CAAE,UAIsC;AAAA,cAE9D,cAAA,gCAAc,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const poofFetchPrice = action("POOF_FETCH_PRICE", {
|
|
4
|
+
slug: "poof-fetch-price",
|
|
5
|
+
name: "Fetch Cryptocurrency Price",
|
|
6
|
+
description: "Tool to fetch current cryptocurrency prices for supported tokens. Use when you need real-time price data for cryptocurrencies and tokens.",
|
|
7
|
+
input: z.object({ crypto: z.string().describe("The cryptocurrency identifier to fetch price for (e.g., 'bnb', 'btc', 'eth', 'ethereum', 'bitcoin')") }).describe("Request model for fetching current cryptocurrency price."),
|
|
8
|
+
output: z.object({
|
|
9
|
+
data: z.union([
|
|
10
|
+
z.string(),
|
|
11
|
+
z.record(z.string(), z.unknown()),
|
|
12
|
+
z.number(),
|
|
13
|
+
z.number().int()
|
|
14
|
+
]).nullable().optional(),
|
|
15
|
+
error: z.union([z.string(), z.record(z.string(), z.unknown())]).nullable().optional(),
|
|
16
|
+
successfull: z.boolean().describe("Indicates whether the API request was successful").nullable().optional()
|
|
17
|
+
}).describe("Response model containing current cryptocurrency price data.")
|
|
18
|
+
});
|
|
19
|
+
//#endregion
|
|
20
|
+
export { poofFetchPrice };
|
|
21
|
+
|
|
22
|
+
//# sourceMappingURL=fetch-price.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fetch-price.mjs","names":[],"sources":["../../src/actions/fetch-price.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PoofFetchPriceInput: z.ZodTypeAny = z.object({\n crypto: z.string().describe(\"The cryptocurrency identifier to fetch price for (e.g., 'bnb', 'btc', 'eth', 'ethereum', 'bitcoin')\"),\n}).describe(\"Request model for fetching current cryptocurrency price.\");\nexport const PoofFetchPriceOutput: z.ZodTypeAny = z.object({\n data: z.union([z.string(), z.record(z.string(), z.unknown()), z.number(), z.number().int()]).nullable().optional(),\n error: z.union([z.string(), z.record(z.string(), z.unknown())]).nullable().optional(),\n successfull: z.boolean().describe(\"Indicates whether the API request was successful\").nullable().optional(),\n}).describe(\"Response model containing current cryptocurrency price data.\");\n\nexport const poofFetchPrice = action(\"POOF_FETCH_PRICE\", {\n slug: \"poof-fetch-price\",\n name: \"Fetch Cryptocurrency Price\",\n description: \"Tool to fetch current cryptocurrency prices for supported tokens. Use when you need real-time price data for cryptocurrencies and tokens.\",\n input: PoofFetchPriceInput,\n output: PoofFetchPriceOutput,\n});\n"],"mappings":";;AAaA,MAAa,iBAAiB,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAb+C,EAAE,OAAO,EACxD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,EACnI,CAAC,CAAC,CAAC,SAAS,0DAWH;CACP,QAXgD,EAAE,OAAO;EACzD,MAAM,EAAE,MAAM;GAAC,EAAE,OAAO;GAAG,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC;GAAG,EAAE,OAAO;GAAG,EAAE,OAAO,CAAC,CAAC,IAAI;EAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjH,OAAO,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpF,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,CAAC,CAAC,CAAC,SAAS,8DAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/fetch-smart-contracts.ts
|
|
4
|
+
const PoofFetchSmartContractsInput = zod.z.object({}).describe("Request model for fetching supported smart contracts.\nNo parameters required - the API returns all available contracts.");
|
|
5
|
+
const PoofFetchSmartContractsOutput = zod.z.object({
|
|
6
|
+
polygon: zod.z.object({}).describe("Polygon network token contracts keyed by token identifier").nullable().optional(),
|
|
7
|
+
ethereum: zod.z.object({}).describe("Ethereum network ERC-20 token contracts keyed by token identifier").nullable().optional(),
|
|
8
|
+
avalanche: zod.z.object({}).describe("Avalanche network token contracts keyed by token identifier").nullable().optional()
|
|
9
|
+
}).describe("Response model containing smart contracts organized by blockchain network.\nEach network contains token identifiers mapped to their contract details.");
|
|
10
|
+
const poofFetchSmartContracts = require_action.action("POOF_FETCH_SMART_CONTRACTS", {
|
|
11
|
+
slug: "poof-fetch-smart-contracts",
|
|
12
|
+
name: "Fetch Smart Contracts",
|
|
13
|
+
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.",
|
|
14
|
+
input: PoofFetchSmartContractsInput,
|
|
15
|
+
output: PoofFetchSmartContractsOutput
|
|
16
|
+
});
|
|
17
|
+
//#endregion
|
|
18
|
+
exports.poofFetchSmartContracts = poofFetchSmartContracts;
|
|
19
|
+
|
|
20
|
+
//# sourceMappingURL=fetch-smart-contracts.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fetch-smart-contracts.cjs","names":["z","action"],"sources":["../../src/actions/fetch-smart-contracts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PoofFetchSmartContractsInput: z.ZodTypeAny = z.object({}).describe(\"Request model for fetching supported smart contracts.\\nNo parameters required - the API returns all available contracts.\");\nexport const PoofFetchSmartContractsOutput: z.ZodTypeAny = z.object({\n polygon: z.object({}).describe(\"Polygon network token contracts keyed by token identifier\").nullable().optional(),\n ethereum: z.object({}).describe(\"Ethereum network ERC-20 token contracts keyed by token identifier\").nullable().optional(),\n avalanche: z.object({}).describe(\"Avalanche network token contracts keyed by token identifier\").nullable().optional(),\n}).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":";;;AAIA,MAAa,+BAA6CA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0HAA0H;AAC1M,MAAa,gCAA8CA,IAAAA,EAAE,OAAO;CAClE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtH,CAAC,CAAC,CAAC,SAAS,uJAAuJ;AAEnK,MAAa,0BAA0BC,eAAAA,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/fetch-smart-contracts.d.ts
|
|
4
|
+
declare const PoofFetchSmartContractsInput: z.ZodTypeAny;
|
|
5
|
+
declare const PoofFetchSmartContractsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const poofFetchSmartContracts: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { poofFetchSmartContracts };
|
|
9
|
+
//# sourceMappingURL=fetch-smart-contracts.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fetch-smart-contracts.d.cts","names":[],"sources":["../../src/actions/fetch-smart-contracts.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAA8J;AAAA,cAC9L,6BAAA,EAA+B,CAAA,CAAE,UAIsH;AAAA,cAEvJ,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/fetch-smart-contracts.d.ts
|
|
4
|
+
declare const PoofFetchSmartContractsInput: z.ZodTypeAny;
|
|
5
|
+
declare const PoofFetchSmartContractsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const poofFetchSmartContracts: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { poofFetchSmartContracts };
|
|
9
|
+
//# sourceMappingURL=fetch-smart-contracts.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fetch-smart-contracts.d.mts","names":[],"sources":["../../src/actions/fetch-smart-contracts.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAA8J;AAAA,cAC9L,6BAAA,EAA+B,CAAA,CAAE,UAIsH;AAAA,cAEvJ,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const poofFetchSmartContracts = action("POOF_FETCH_SMART_CONTRACTS", {
|
|
4
|
+
slug: "poof-fetch-smart-contracts",
|
|
5
|
+
name: "Fetch Smart Contracts",
|
|
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
|
+
input: z.object({}).describe("Request model for fetching supported smart contracts.\nNo parameters required - the API returns all available contracts."),
|
|
8
|
+
output: z.object({
|
|
9
|
+
polygon: z.object({}).describe("Polygon network token contracts keyed by token identifier").nullable().optional(),
|
|
10
|
+
ethereum: z.object({}).describe("Ethereum network ERC-20 token contracts keyed by token identifier").nullable().optional(),
|
|
11
|
+
avalanche: z.object({}).describe("Avalanche network token contracts keyed by token identifier").nullable().optional()
|
|
12
|
+
}).describe("Response model containing smart contracts organized by blockchain network.\nEach network contains token identifiers mapped to their contract details.")
|
|
13
|
+
});
|
|
14
|
+
//#endregion
|
|
15
|
+
export { poofFetchSmartContracts };
|
|
16
|
+
|
|
17
|
+
//# sourceMappingURL=fetch-smart-contracts.mjs.map
|
|
@@ -0,0 +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: z.ZodTypeAny = z.object({}).describe(\"Request model for fetching supported smart contracts.\\nNo parameters required - the API returns all available contracts.\");\nexport const PoofFetchSmartContractsOutput: z.ZodTypeAny = z.object({\n polygon: z.object({}).describe(\"Polygon network token contracts keyed by token identifier\").nullable().optional(),\n ethereum: z.object({}).describe(\"Ethereum network ERC-20 token contracts keyed by token identifier\").nullable().optional(),\n avalanche: z.object({}).describe(\"Avalanche network token contracts keyed by token identifier\").nullable().optional(),\n}).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,OAXwD,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0HAWvE;CACP,QAXyD,EAAE,OAAO;EAClE,SAAS,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChH,UAAU,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzH,WAAW,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,CAAC,CAAC,CAAC,SAAS,uJAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
const require_check_balance = require("./check-balance.cjs");
|
|
3
|
+
const require_create_checkout = require("./create-checkout.cjs");
|
|
4
|
+
const require_create_deposit_address = require("./create-deposit-address.cjs");
|
|
5
|
+
const require_create_fiat_charge = require("./create-fiat-charge.cjs");
|
|
6
|
+
const require_create_fiat_invoice = require("./create-fiat-invoice.cjs");
|
|
7
|
+
const require_create_payment_link = require("./create-payment-link.cjs");
|
|
8
|
+
const require_create_webhook = require("./create-webhook.cjs");
|
|
9
|
+
const require_fetch_gas_price = require("./fetch-gas-price.cjs");
|
|
10
|
+
const require_fetch_price = require("./fetch-price.cjs");
|
|
11
|
+
const require_fetch_smart_contracts = require("./fetch-smart-contracts.cjs");
|
|
12
|
+
const require_send_payout = require("./send-payout.cjs");
|
|
13
|
+
exports.poofCheckBalance = require_check_balance.poofCheckBalance;
|
|
14
|
+
exports.poofCreateCheckout = require_create_checkout.poofCreateCheckout;
|
|
15
|
+
exports.poofCreateDepositAddress = require_create_deposit_address.poofCreateDepositAddress;
|
|
16
|
+
exports.poofCreateFiatCharge = require_create_fiat_charge.poofCreateFiatCharge;
|
|
17
|
+
exports.poofCreateFiatInvoice = require_create_fiat_invoice.poofCreateFiatInvoice;
|
|
18
|
+
exports.poofCreatePaymentLink = require_create_payment_link.poofCreatePaymentLink;
|
|
19
|
+
exports.poofCreateWebhook = require_create_webhook.poofCreateWebhook;
|
|
20
|
+
exports.poofFetchGasPrice = require_fetch_gas_price.poofFetchGasPrice;
|
|
21
|
+
exports.poofFetchPrice = require_fetch_price.poofFetchPrice;
|
|
22
|
+
exports.poofFetchSmartContracts = require_fetch_smart_contracts.poofFetchSmartContracts;
|
|
23
|
+
exports.poofSendPayout = require_send_payout.poofSendPayout;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { poofCheckBalance } from "./check-balance.cjs";
|
|
2
|
+
import { poofCreateCheckout } from "./create-checkout.cjs";
|
|
3
|
+
import { poofCreateDepositAddress } from "./create-deposit-address.cjs";
|
|
4
|
+
import { poofCreateFiatCharge } from "./create-fiat-charge.cjs";
|
|
5
|
+
import { poofCreateFiatInvoice } from "./create-fiat-invoice.cjs";
|
|
6
|
+
import { poofCreatePaymentLink } from "./create-payment-link.cjs";
|
|
7
|
+
import { poofCreateWebhook } from "./create-webhook.cjs";
|
|
8
|
+
import { poofFetchGasPrice } from "./fetch-gas-price.cjs";
|
|
9
|
+
import { poofFetchPrice } from "./fetch-price.cjs";
|
|
10
|
+
import { poofFetchSmartContracts } from "./fetch-smart-contracts.cjs";
|
|
11
|
+
import { poofSendPayout } from "./send-payout.cjs";
|
|
12
|
+
export { poofCheckBalance, poofCreateCheckout, poofCreateDepositAddress, poofCreateFiatCharge, poofCreateFiatInvoice, poofCreatePaymentLink, poofCreateWebhook, poofFetchGasPrice, poofFetchPrice, poofFetchSmartContracts, poofSendPayout };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { poofCheckBalance } from "./check-balance.mjs";
|
|
2
|
+
import { poofCreateCheckout } from "./create-checkout.mjs";
|
|
3
|
+
import { poofCreateDepositAddress } from "./create-deposit-address.mjs";
|
|
4
|
+
import { poofCreateFiatCharge } from "./create-fiat-charge.mjs";
|
|
5
|
+
import { poofCreateFiatInvoice } from "./create-fiat-invoice.mjs";
|
|
6
|
+
import { poofCreatePaymentLink } from "./create-payment-link.mjs";
|
|
7
|
+
import { poofCreateWebhook } from "./create-webhook.mjs";
|
|
8
|
+
import { poofFetchGasPrice } from "./fetch-gas-price.mjs";
|
|
9
|
+
import { poofFetchPrice } from "./fetch-price.mjs";
|
|
10
|
+
import { poofFetchSmartContracts } from "./fetch-smart-contracts.mjs";
|
|
11
|
+
import { poofSendPayout } from "./send-payout.mjs";
|
|
12
|
+
export { poofCheckBalance, poofCreateCheckout, poofCreateDepositAddress, poofCreateFiatCharge, poofCreateFiatInvoice, poofCreatePaymentLink, poofCreateWebhook, poofFetchGasPrice, poofFetchPrice, poofFetchSmartContracts, poofSendPayout };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { poofCheckBalance } from "./check-balance.mjs";
|
|
2
|
+
import { poofCreateCheckout } from "./create-checkout.mjs";
|
|
3
|
+
import { poofCreateDepositAddress } from "./create-deposit-address.mjs";
|
|
4
|
+
import { poofCreateFiatCharge } from "./create-fiat-charge.mjs";
|
|
5
|
+
import { poofCreateFiatInvoice } from "./create-fiat-invoice.mjs";
|
|
6
|
+
import { poofCreatePaymentLink } from "./create-payment-link.mjs";
|
|
7
|
+
import { poofCreateWebhook } from "./create-webhook.mjs";
|
|
8
|
+
import { poofFetchGasPrice } from "./fetch-gas-price.mjs";
|
|
9
|
+
import { poofFetchPrice } from "./fetch-price.mjs";
|
|
10
|
+
import { poofFetchSmartContracts } from "./fetch-smart-contracts.mjs";
|
|
11
|
+
import { poofSendPayout } from "./send-payout.mjs";
|
|
12
|
+
export { poofCheckBalance, poofCreateCheckout, poofCreateDepositAddress, poofCreateFiatCharge, poofCreateFiatInvoice, poofCreatePaymentLink, poofCreateWebhook, poofFetchGasPrice, poofFetchPrice, poofFetchSmartContracts, poofSendPayout };
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/send-payout.ts
|
|
4
|
+
const PoofSendPayoutInput = zod.z.object({
|
|
5
|
+
amount: zod.z.number().describe("Amount of cryptocurrency to send. Must be a positive number."),
|
|
6
|
+
crypto: zod.z.string().describe("Cryptocurrency type to use for the payout. Supported values include blockchain names such as 'solana', 'ethereum', 'bitcoin', etc."),
|
|
7
|
+
address: zod.z.string().describe("Destination wallet address on the specified blockchain. Must be a valid address format for the chosen cryptocurrency.")
|
|
8
|
+
}).describe("Request model for sending a cryptocurrency payout transaction.");
|
|
9
|
+
const PoofSendPayoutOutput = zod.z.object({
|
|
10
|
+
status: zod.z.string().describe("Current status of the payout transaction (e.g., pending, completed, failed).").nullable().optional(),
|
|
11
|
+
message: zod.z.string().describe("Additional message or details about the payout request.").nullable().optional(),
|
|
12
|
+
success: zod.z.boolean().describe("Indicates whether the payout request was successful.").nullable().optional(),
|
|
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.");
|
|
15
|
+
const poofSendPayout = require_action.action("POOF_SEND_PAYOUT", {
|
|
16
|
+
slug: "poof-send-payout",
|
|
17
|
+
name: "Send Cryptocurrency Payout",
|
|
18
|
+
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.",
|
|
19
|
+
input: PoofSendPayoutInput,
|
|
20
|
+
output: PoofSendPayoutOutput
|
|
21
|
+
});
|
|
22
|
+
//#endregion
|
|
23
|
+
exports.poofSendPayout = poofSendPayout;
|
|
24
|
+
|
|
25
|
+
//# sourceMappingURL=send-payout.cjs.map
|
|
@@ -0,0 +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: z.ZodTypeAny = 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.ZodTypeAny = 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}).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,sBAAoCA,IAAAA,EAAE,OAAO;CACxD,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,uBAAqCA,IAAAA,EAAE,OAAO;CACzD,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,SAAS,+EAA+E;AAE3F,MAAa,iBAAiBC,eAAAA,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/send-payout.d.ts
|
|
4
|
+
declare const PoofSendPayoutInput: z.ZodTypeAny;
|
|
5
|
+
declare const PoofSendPayoutOutput: z.ZodTypeAny;
|
|
6
|
+
declare const poofSendPayout: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { poofSendPayout };
|
|
9
|
+
//# sourceMappingURL=send-payout.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"send-payout.d.cts","names":[],"sources":["../../src/actions/send-payout.ts"],"mappings":";;;cAIa,mBAAA,EAAqB,CAAA,CAAE,UAIyC;AAAA,cAChE,oBAAA,EAAsB,CAAA,CAAE,UAKuD;AAAA,cAE/E,cAAA,gCAAc,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/send-payout.d.ts
|
|
4
|
+
declare const PoofSendPayoutInput: z.ZodTypeAny;
|
|
5
|
+
declare const PoofSendPayoutOutput: z.ZodTypeAny;
|
|
6
|
+
declare const poofSendPayout: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { poofSendPayout };
|
|
9
|
+
//# sourceMappingURL=send-payout.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"send-payout.d.mts","names":[],"sources":["../../src/actions/send-payout.ts"],"mappings":";;;cAIa,mBAAA,EAAqB,CAAA,CAAE,UAIyC;AAAA,cAChE,oBAAA,EAAsB,CAAA,CAAE,UAKuD;AAAA,cAE/E,cAAA,gCAAc,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|