@keystrokehq/poof 0.1.0 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/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.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 +1 -1
- 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 +1 -1
- package/dist/actions/create-deposit-address.mjs.map +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.map +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.map +1 -1
- 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.map +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.map +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.map +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.map +1 -1
- 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.map +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.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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-fiat-invoice.d.mts","names":[],"sources":["../../src/actions/create-fiat-invoice.ts"],"mappings":";;;cAIa,0BAAA,
|
|
1
|
+
{"version":3,"file":"create-fiat-invoice.d.mts","names":[],"sources":["../../src/actions/create-fiat-invoice.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;cAO1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;cAO3B,qBAAA,gCAAqB,wBAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-fiat-invoice.mjs","names":[],"sources":["../../src/actions/create-fiat-invoice.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PoofCreateFiatInvoiceInput
|
|
1
|
+
{"version":3,"file":"create-fiat-invoice.mjs","names":[],"sources":["../../src/actions/create-fiat-invoice.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PoofCreateFiatInvoiceInput = z.object({\n amount: z.string().describe(\"Payment amount as a string (e.g., '15.00', '100'). Specify the amount in the currency specified in the currency field.\"),\n payment: z.string().describe(\"Payment processor to use for collecting payment. Documented options: 'paypal', 'cashapp', 'skrill', 'coinbase'. Additional payment methods available at checkout include credit cards, Apple Pay, Google Pay, Venmo, Alipay, WeChat Pay, and Klarna. Note: Some payment methods like Venmo, Cash App, and Coinbase require additional setup in the Poof dashboard.\"),\n currency: z.string().describe(\"Three-letter ISO currency code for the invoice (e.g., 'usd', 'eur', 'cny'). Specify the currency in which the payment will be collected.\"),\n success_url: z.string().describe(\"URL to redirect the customer to after successful payment completion. This is typically your application's success/confirmation page.\"),\n redirect_url: z.string().describe(\"URL to redirect the customer to after they complete or cancel the payment. This is typically your application's return URL.\"),\n}).describe(\"Request parameters for creating a fiat currency invoice.\");\nexport const PoofCreateFiatInvoiceOutput = z.object({\n status: z.string().describe(\"Status of the invoice (e.g., 'pending', 'created').\").nullable().optional(),\n invoice_id: z.string().describe(\"Unique identifier for the created invoice.\").nullable().optional(),\n checkout_url: z.string().describe(\"Alternative field name for the payment checkout URL. Contains the same checkout session link.\").nullable().optional(),\n payment_link: z.string().describe(\"URL to the payment checkout page where the customer can complete payment. Redirect the customer to this URL or embed it in an iframe on your website.\").nullable().optional(),\n}).describe(\"Response from creating a fiat currency invoice.\");\n\nexport const poofCreateFiatInvoice = action(\"POOF_CREATE_FIAT_INVOICE\", {\n slug: \"poof-create-fiat-invoice\",\n name: \"Create Fiat Invoice\",\n description: \"Create a fiat currency invoice for payment collection. Generates an invoice for collecting payments in traditional currencies via payment processors like PayPal, Stripe, Square, Cash App, etc. Returns a checkout URL for customer payment.\",\n input: PoofCreateFiatInvoiceInput,\n output: PoofCreateFiatInvoiceOutput,\n});\n"],"mappings":";;AAkBA,MAAa,wBAAwB,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlBwC,EAAE,OAAO;EACjD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wHAAwH;EACpJ,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oWAAoW;EACjY,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0IAA0I;EACxK,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sIAAsI;EACvK,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,6HAA6H;CACjK,CAAC,CAAC,CAAC,SAAS,0DAYH;CACP,QAZyC,EAAE,OAAO;EAClD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvJ,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,uJAAuJ,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjN,CAAC,CAAC,CAAC,SAAS,iDAOF;AACV,CAAC"}
|
|
@@ -1 +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
|
|
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.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.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,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,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,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,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"}
|
|
@@ -1,9 +1,20 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/create-payment-link.d.ts
|
|
4
|
-
declare const PoofCreatePaymentLinkInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PoofCreatePaymentLinkInput: z.ZodObject<{
|
|
5
|
+
amount: z.ZodString;
|
|
6
|
+
crypto: z.ZodString;
|
|
7
|
+
metadata: z.ZodObject<{}, z.core.$strip>;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
declare const PoofCreatePaymentLinkOutput: z.ZodObject<{
|
|
10
|
+
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
payment_link: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
}, z.core.$strip>;
|
|
13
|
+
declare const poofCreatePaymentLink: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
14
|
+
amount: string;
|
|
15
|
+
crypto: string;
|
|
16
|
+
metadata: Record<string, never>;
|
|
17
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
18
|
//#endregion
|
|
8
19
|
export { poofCreatePaymentLink };
|
|
9
20
|
//# sourceMappingURL=create-payment-link.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-payment-link.d.cts","names":[],"sources":["../../src/actions/create-payment-link.ts"],"mappings":";;;cAIa,0BAAA,
|
|
1
|
+
{"version":3,"file":"create-payment-link.d.cts","names":[],"sources":["../../src/actions/create-payment-link.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;cAK1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;cAK3B,qBAAA,gCAAqB,wBAAA;;;YAMhC,MAAA;AAAA"}
|
|
@@ -1,9 +1,20 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/create-payment-link.d.ts
|
|
4
|
-
declare const PoofCreatePaymentLinkInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PoofCreatePaymentLinkInput: z.ZodObject<{
|
|
5
|
+
amount: z.ZodString;
|
|
6
|
+
crypto: z.ZodString;
|
|
7
|
+
metadata: z.ZodObject<{}, z.core.$strip>;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
declare const PoofCreatePaymentLinkOutput: z.ZodObject<{
|
|
10
|
+
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
payment_link: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
}, z.core.$strip>;
|
|
13
|
+
declare const poofCreatePaymentLink: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
14
|
+
amount: string;
|
|
15
|
+
crypto: string;
|
|
16
|
+
metadata: Record<string, never>;
|
|
17
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
18
|
//#endregion
|
|
8
19
|
export { poofCreatePaymentLink };
|
|
9
20
|
//# sourceMappingURL=create-payment-link.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-payment-link.d.mts","names":[],"sources":["../../src/actions/create-payment-link.ts"],"mappings":";;;cAIa,0BAAA,
|
|
1
|
+
{"version":3,"file":"create-payment-link.d.mts","names":[],"sources":["../../src/actions/create-payment-link.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;cAK1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;cAK3B,qBAAA,gCAAqB,wBAAA;;;YAMhC,MAAA;AAAA"}
|
|
@@ -1 +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
|
|
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.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.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,OAdwC,EAAE,OAAO;EACjD,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,QAVyC,EAAE,OAAO;EAClD,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"}
|
|
@@ -1 +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
|
|
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.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.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,yBAAyBA,IAAAA,EAAE,OAAO,EAC7C,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,EACjH,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,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"}
|
|
@@ -1,9 +1,17 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/create-webhook.d.ts
|
|
4
|
-
declare const PoofCreateWebhookInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PoofCreateWebhookInput: z.ZodObject<{
|
|
5
|
+
url: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const PoofCreateWebhookOutput: z.ZodObject<{
|
|
8
|
+
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
|
+
success: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
10
|
+
webhook_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
}, z.core.$strip>;
|
|
12
|
+
declare const poofCreateWebhook: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
13
|
+
url: string;
|
|
14
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
15
|
//#endregion
|
|
8
16
|
export { poofCreateWebhook };
|
|
9
17
|
//# sourceMappingURL=create-webhook.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-webhook.d.cts","names":[],"sources":["../../src/actions/create-webhook.ts"],"mappings":";;;cAIa,sBAAA,
|
|
1
|
+
{"version":3,"file":"create-webhook.d.cts","names":[],"sources":["../../src/actions/create-webhook.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;cAGtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;cAMvB,iBAAA,gCAAiB,wBAAA"}
|
|
@@ -1,9 +1,17 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/create-webhook.d.ts
|
|
4
|
-
declare const PoofCreateWebhookInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PoofCreateWebhookInput: z.ZodObject<{
|
|
5
|
+
url: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const PoofCreateWebhookOutput: z.ZodObject<{
|
|
8
|
+
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
|
+
success: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
10
|
+
webhook_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
}, z.core.$strip>;
|
|
12
|
+
declare const poofCreateWebhook: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
13
|
+
url: string;
|
|
14
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
15
|
//#endregion
|
|
8
16
|
export { poofCreateWebhook };
|
|
9
17
|
//# sourceMappingURL=create-webhook.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-webhook.d.mts","names":[],"sources":["../../src/actions/create-webhook.ts"],"mappings":";;;cAIa,sBAAA,
|
|
1
|
+
{"version":3,"file":"create-webhook.d.mts","names":[],"sources":["../../src/actions/create-webhook.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;cAGtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;cAMvB,iBAAA,gCAAiB,wBAAA"}
|
|
@@ -1 +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
|
|
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.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.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,OAboC,EAAE,OAAO,EAC7C,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,EACjH,CAAC,CAAC,CAAC,SAAS,4DAWH;CACP,QAXqC,EAAE,OAAO;EAC9C,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"}
|
|
@@ -1 +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
|
|
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.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.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,yBAAyBA,IAAAA,EAAE,OAAO,EAC7C,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kKAAkK,EAChM,CAAC;AACD,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,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"}
|
|
@@ -1,9 +1,21 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/fetch-gas-price.d.ts
|
|
4
|
-
declare const PoofFetchGasPriceInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PoofFetchGasPriceInput: z.ZodObject<{
|
|
5
|
+
crypto: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const PoofFetchGasPriceOutput: z.ZodObject<{
|
|
8
|
+
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
|
+
gas_used: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
|
+
gas_fee_usdc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
gas_price_eth: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
gas_fee_in_usd: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
transaction_fee: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
gas_fee_currency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
}, z.core.$strip>;
|
|
16
|
+
declare const poofFetchGasPrice: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
17
|
+
crypto: string;
|
|
18
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
19
|
//#endregion
|
|
8
20
|
export { poofFetchGasPrice };
|
|
9
21
|
//# sourceMappingURL=fetch-gas-price.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fetch-gas-price.d.cts","names":[],"sources":["../../src/actions/fetch-gas-price.ts"],"mappings":";;;cAIa,sBAAA,
|
|
1
|
+
{"version":3,"file":"fetch-gas-price.d.cts","names":[],"sources":["../../src/actions/fetch-gas-price.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;cAGtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;cAUvB,iBAAA,gCAAiB,wBAAA"}
|
|
@@ -1,9 +1,21 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/fetch-gas-price.d.ts
|
|
4
|
-
declare const PoofFetchGasPriceInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PoofFetchGasPriceInput: z.ZodObject<{
|
|
5
|
+
crypto: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const PoofFetchGasPriceOutput: z.ZodObject<{
|
|
8
|
+
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
|
+
gas_used: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
|
+
gas_fee_usdc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
gas_price_eth: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
gas_fee_in_usd: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
transaction_fee: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
gas_fee_currency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
}, z.core.$strip>;
|
|
16
|
+
declare const poofFetchGasPrice: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
17
|
+
crypto: string;
|
|
18
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
19
|
//#endregion
|
|
8
20
|
export { poofFetchGasPrice };
|
|
9
21
|
//# sourceMappingURL=fetch-gas-price.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fetch-gas-price.d.mts","names":[],"sources":["../../src/actions/fetch-gas-price.ts"],"mappings":";;;cAIa,sBAAA,
|
|
1
|
+
{"version":3,"file":"fetch-gas-price.d.mts","names":[],"sources":["../../src/actions/fetch-gas-price.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;cAGtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;cAUvB,iBAAA,gCAAiB,wBAAA"}
|
|
@@ -1 +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
|
|
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.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.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,OAjBoC,EAAE,OAAO,EAC7C,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kKAAkK,EAChM,CAeS;CACP,QAfqC,EAAE,OAAO;EAC9C,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"}
|
|
@@ -1 +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
|
|
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.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.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,sBAAsBA,IAAAA,EAAE,OAAO,EAC1C,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,EACnI,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAa,uBAAuBA,IAAAA,EAAE,OAAO;CAC3C,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"}
|
|
@@ -1,9 +1,17 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/fetch-price.d.ts
|
|
4
|
-
declare const PoofFetchPriceInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PoofFetchPriceInput: z.ZodObject<{
|
|
5
|
+
crypto: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const PoofFetchPriceOutput: z.ZodObject<{
|
|
8
|
+
data: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodNumber, z.ZodNumber]>>>;
|
|
9
|
+
error: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>>;
|
|
10
|
+
successfull: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
11
|
+
}, z.core.$strip>;
|
|
12
|
+
declare const poofFetchPrice: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
13
|
+
crypto: string;
|
|
14
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
15
|
//#endregion
|
|
8
16
|
export { poofFetchPrice };
|
|
9
17
|
//# sourceMappingURL=fetch-price.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fetch-price.d.cts","names":[],"sources":["../../src/actions/fetch-price.ts"],"mappings":";;;cAIa,mBAAA,
|
|
1
|
+
{"version":3,"file":"fetch-price.d.cts","names":[],"sources":["../../src/actions/fetch-price.ts"],"mappings":";;;cAIa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;cAGnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;cAMpB,cAAA,gCAAc,wBAAA"}
|
|
@@ -1,9 +1,17 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/fetch-price.d.ts
|
|
4
|
-
declare const PoofFetchPriceInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PoofFetchPriceInput: z.ZodObject<{
|
|
5
|
+
crypto: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const PoofFetchPriceOutput: z.ZodObject<{
|
|
8
|
+
data: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodNumber, z.ZodNumber]>>>;
|
|
9
|
+
error: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>>;
|
|
10
|
+
successfull: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
11
|
+
}, z.core.$strip>;
|
|
12
|
+
declare const poofFetchPrice: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
13
|
+
crypto: string;
|
|
14
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
15
|
//#endregion
|
|
8
16
|
export { poofFetchPrice };
|
|
9
17
|
//# sourceMappingURL=fetch-price.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fetch-price.d.mts","names":[],"sources":["../../src/actions/fetch-price.ts"],"mappings":";;;cAIa,mBAAA,
|
|
1
|
+
{"version":3,"file":"fetch-price.d.mts","names":[],"sources":["../../src/actions/fetch-price.ts"],"mappings":";;;cAIa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;cAGnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;cAMpB,cAAA,gCAAc,wBAAA"}
|
|
@@ -1 +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
|
|
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.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.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,OAbiC,EAAE,OAAO,EAC1C,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,EACnI,CAAC,CAAC,CAAC,SAAS,0DAWH;CACP,QAXkC,EAAE,OAAO;EAC3C,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"}
|
|
@@ -1 +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
|
|
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.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.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,+BAA+BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0HAA0H;AAC5L,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,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"}
|
|
@@ -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.ZodObject<{}, z.core.$strip>>>;
|
|
7
|
+
ethereum: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
|
|
8
|
+
avalanche: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
|
|
9
|
+
}, z.core.$strip>;
|
|
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.ZodObject<{}, z.core.$strip>>>;
|
|
7
|
+
ethereum: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
|
|
8
|
+
avalanche: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
|
|
9
|
+
}, z.core.$strip>;
|
|
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"}
|
|
@@ -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.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,OAX0C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0HAWzD;CACP,QAX2C,EAAE,OAAO;EACpD,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"}
|
|
@@ -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}).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,SAAS,+EAA+E;AAE3F,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.$strip>;
|
|
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.$strip>;
|
|
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"}
|
|
@@ -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}).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,SAAS,+EAOF;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"}
|