@keystrokehq/poof 0.1.0 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (97) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/check-balance.cjs +1 -1
  4. package/dist/actions/check-balance.cjs.map +1 -1
  5. package/dist/actions/check-balance.d.cts +9 -3
  6. package/dist/actions/check-balance.d.cts.map +1 -1
  7. package/dist/actions/check-balance.d.mts +9 -3
  8. package/dist/actions/check-balance.d.mts.map +1 -1
  9. package/dist/actions/check-balance.mjs +1 -1
  10. package/dist/actions/check-balance.mjs.map +1 -1
  11. package/dist/actions/create-checkout.cjs +1 -1
  12. package/dist/actions/create-checkout.cjs.map +1 -1
  13. package/dist/actions/create-checkout.d.cts +35 -3
  14. package/dist/actions/create-checkout.d.cts.map +1 -1
  15. package/dist/actions/create-checkout.d.mts +35 -3
  16. package/dist/actions/create-checkout.d.mts.map +1 -1
  17. package/dist/actions/create-checkout.mjs +1 -1
  18. package/dist/actions/create-checkout.mjs.map +1 -1
  19. package/dist/actions/create-deposit-address.cjs +2 -2
  20. package/dist/actions/create-deposit-address.cjs.map +1 -1
  21. package/dist/actions/create-deposit-address.d.cts +22 -3
  22. package/dist/actions/create-deposit-address.d.cts.map +1 -1
  23. package/dist/actions/create-deposit-address.d.mts +22 -3
  24. package/dist/actions/create-deposit-address.d.mts.map +1 -1
  25. package/dist/actions/create-deposit-address.mjs +2 -2
  26. package/dist/actions/create-deposit-address.mjs.map +1 -1
  27. package/dist/actions/create-fiat-charge.cjs +1 -1
  28. package/dist/actions/create-fiat-charge.cjs.map +1 -1
  29. package/dist/actions/create-fiat-charge.d.cts +20 -3
  30. package/dist/actions/create-fiat-charge.d.cts.map +1 -1
  31. package/dist/actions/create-fiat-charge.d.mts +20 -3
  32. package/dist/actions/create-fiat-charge.d.mts.map +1 -1
  33. package/dist/actions/create-fiat-charge.mjs +1 -1
  34. package/dist/actions/create-fiat-charge.mjs.map +1 -1
  35. package/dist/actions/create-fiat-invoice.cjs +1 -1
  36. package/dist/actions/create-fiat-invoice.cjs.map +1 -1
  37. package/dist/actions/create-fiat-invoice.d.cts +20 -3
  38. package/dist/actions/create-fiat-invoice.d.cts.map +1 -1
  39. package/dist/actions/create-fiat-invoice.d.mts +20 -3
  40. package/dist/actions/create-fiat-invoice.d.mts.map +1 -1
  41. package/dist/actions/create-fiat-invoice.mjs +1 -1
  42. package/dist/actions/create-fiat-invoice.mjs.map +1 -1
  43. package/dist/actions/create-payment-link.cjs +2 -2
  44. package/dist/actions/create-payment-link.cjs.map +1 -1
  45. package/dist/actions/create-payment-link.d.cts +14 -3
  46. package/dist/actions/create-payment-link.d.cts.map +1 -1
  47. package/dist/actions/create-payment-link.d.mts +14 -3
  48. package/dist/actions/create-payment-link.d.mts.map +1 -1
  49. package/dist/actions/create-payment-link.mjs +2 -2
  50. package/dist/actions/create-payment-link.mjs.map +1 -1
  51. package/dist/actions/create-webhook.cjs +1 -1
  52. package/dist/actions/create-webhook.cjs.map +1 -1
  53. package/dist/actions/create-webhook.d.cts +11 -3
  54. package/dist/actions/create-webhook.d.cts.map +1 -1
  55. package/dist/actions/create-webhook.d.mts +11 -3
  56. package/dist/actions/create-webhook.d.mts.map +1 -1
  57. package/dist/actions/create-webhook.mjs +1 -1
  58. package/dist/actions/create-webhook.mjs.map +1 -1
  59. package/dist/actions/fetch-gas-price.cjs +1 -1
  60. package/dist/actions/fetch-gas-price.cjs.map +1 -1
  61. package/dist/actions/fetch-gas-price.d.cts +15 -3
  62. package/dist/actions/fetch-gas-price.d.cts.map +1 -1
  63. package/dist/actions/fetch-gas-price.d.mts +15 -3
  64. package/dist/actions/fetch-gas-price.d.mts.map +1 -1
  65. package/dist/actions/fetch-gas-price.mjs +1 -1
  66. package/dist/actions/fetch-gas-price.mjs.map +1 -1
  67. package/dist/actions/fetch-price.cjs +1 -1
  68. package/dist/actions/fetch-price.cjs.map +1 -1
  69. package/dist/actions/fetch-price.d.cts +11 -3
  70. package/dist/actions/fetch-price.d.cts.map +1 -1
  71. package/dist/actions/fetch-price.d.mts +11 -3
  72. package/dist/actions/fetch-price.d.mts.map +1 -1
  73. package/dist/actions/fetch-price.mjs +1 -1
  74. package/dist/actions/fetch-price.mjs.map +1 -1
  75. package/dist/actions/fetch-smart-contracts.cjs +4 -4
  76. package/dist/actions/fetch-smart-contracts.cjs.map +1 -1
  77. package/dist/actions/fetch-smart-contracts.d.cts +7 -3
  78. package/dist/actions/fetch-smart-contracts.d.cts.map +1 -1
  79. package/dist/actions/fetch-smart-contracts.d.mts +7 -3
  80. package/dist/actions/fetch-smart-contracts.d.mts.map +1 -1
  81. package/dist/actions/fetch-smart-contracts.mjs +4 -4
  82. package/dist/actions/fetch-smart-contracts.mjs.map +1 -1
  83. package/dist/actions/send-payout.cjs +1 -1
  84. package/dist/actions/send-payout.cjs.map +1 -1
  85. package/dist/actions/send-payout.d.cts +16 -3
  86. package/dist/actions/send-payout.d.cts.map +1 -1
  87. package/dist/actions/send-payout.d.mts +16 -3
  88. package/dist/actions/send-payout.d.mts.map +1 -1
  89. package/dist/actions/send-payout.mjs +1 -1
  90. package/dist/actions/send-payout.mjs.map +1 -1
  91. package/dist/catalog.cjs +7 -1
  92. package/dist/catalog.cjs.map +1 -1
  93. package/dist/catalog.d.cts +8 -0
  94. package/dist/catalog.d.mts +8 -0
  95. package/dist/catalog.mjs +7 -1
  96. package/dist/catalog.mjs.map +1 -1
  97. package/package.json +2 -2
@@ -1,9 +1,26 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-fiat-invoice.d.ts
4
- declare const PoofCreateFiatInvoiceInput: z.ZodTypeAny;
5
- declare const PoofCreateFiatInvoiceOutput: z.ZodTypeAny;
6
- declare const poofCreateFiatInvoice: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PoofCreateFiatInvoiceInput: z.ZodObject<{
5
+ amount: z.ZodString;
6
+ payment: z.ZodString;
7
+ currency: z.ZodString;
8
+ success_url: z.ZodString;
9
+ redirect_url: z.ZodString;
10
+ }, z.core.$strip>;
11
+ declare const PoofCreateFiatInvoiceOutput: z.ZodObject<{
12
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ invoice_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ checkout_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ payment_link: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ }, z.core.$loose>;
17
+ declare const poofCreateFiatInvoice: import("@keystrokehq/action").WorkflowActionDefinition<{
18
+ amount: string;
19
+ payment: string;
20
+ currency: string;
21
+ success_url: string;
22
+ redirect_url: string;
23
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
24
  //#endregion
8
25
  export { poofCreateFiatInvoice };
9
26
  //# sourceMappingURL=create-fiat-invoice.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-fiat-invoice.d.cts","names":[],"sources":["../../src/actions/create-fiat-invoice.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAM4B;AAAA,cAC1D,2BAAA,EAA6B,CAAA,CAAE,UAKkB;AAAA,cAEjD,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"create-fiat-invoice.d.cts","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,9 +1,26 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-fiat-invoice.d.ts
4
- declare const PoofCreateFiatInvoiceInput: z.ZodTypeAny;
5
- declare const PoofCreateFiatInvoiceOutput: z.ZodTypeAny;
6
- declare const poofCreateFiatInvoice: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PoofCreateFiatInvoiceInput: z.ZodObject<{
5
+ amount: z.ZodString;
6
+ payment: z.ZodString;
7
+ currency: z.ZodString;
8
+ success_url: z.ZodString;
9
+ redirect_url: z.ZodString;
10
+ }, z.core.$strip>;
11
+ declare const PoofCreateFiatInvoiceOutput: z.ZodObject<{
12
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ invoice_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ checkout_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ payment_link: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ }, z.core.$loose>;
17
+ declare const poofCreateFiatInvoice: import("@keystrokehq/action").WorkflowActionDefinition<{
18
+ amount: string;
19
+ payment: string;
20
+ currency: string;
21
+ success_url: string;
22
+ redirect_url: string;
23
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
24
  //#endregion
8
25
  export { poofCreateFiatInvoice };
9
26
  //# sourceMappingURL=create-fiat-invoice.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-fiat-invoice.d.mts","names":[],"sources":["../../src/actions/create-fiat-invoice.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAM4B;AAAA,cAC1D,2BAAA,EAA6B,CAAA,CAAE,UAKkB;AAAA,cAEjD,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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"}
@@ -16,7 +16,7 @@ const poofCreateFiatInvoice = action("POOF_CREATE_FIAT_INVOICE", {
16
16
  invoice_id: z.string().describe("Unique identifier for the created invoice.").nullable().optional(),
17
17
  checkout_url: z.string().describe("Alternative field name for the payment checkout URL. Contains the same checkout session link.").nullable().optional(),
18
18
  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()
19
- }).describe("Response from creating a fiat currency invoice.")
19
+ }).passthrough().describe("Response from creating a fiat currency invoice.")
20
20
  });
21
21
  //#endregion
22
22
  export { poofCreateFiatInvoice };
@@ -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: z.ZodTypeAny = 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.ZodTypeAny = 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,OAlBsD,EAAE,OAAO;EAC/D,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,QAZuD,EAAE,OAAO;EAChE,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
+ {"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}).passthrough().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,YAAY,CAAC,CAAC,SAAS,iDAOhB;AACV,CAAC"}
@@ -4,12 +4,12 @@ let zod = require("zod");
4
4
  const PoofCreatePaymentLinkInput = zod.z.object({
5
5
  amount: zod.z.string().describe("The payment amount as a string (e.g., '10', '15.50')"),
6
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.")
7
+ metadata: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Additional metadata associated with the payment. Can contain arbitrary key-value pairs for transaction tracking or custom data.")
8
8
  }).describe("Request model for creating a payment link (invoice) for cryptocurrency payments.");
9
9
  const PoofCreatePaymentLinkOutput = zod.z.object({
10
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
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.");
12
+ }).passthrough().describe("Response model returned after creating a payment link.");
13
13
  const poofCreatePaymentLink = require_action.action("POOF_CREATE_PAYMENT_LINK", {
14
14
  slug: "poof-create-payment-link",
15
15
  name: "Create Payment Link",
@@ -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: 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"}
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.record(z.string(), z.unknown()).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}).passthrough().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,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iIAAiI;AACxL,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,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAElF,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.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]>;
4
+ declare const PoofCreatePaymentLinkInput: z.ZodObject<{
5
+ amount: z.ZodString;
6
+ crypto: z.ZodString;
7
+ metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
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.$loose>;
13
+ declare const poofCreatePaymentLink: import("@keystrokehq/action").WorkflowActionDefinition<{
14
+ amount: string;
15
+ crypto: string;
16
+ metadata: Record<string, unknown>;
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,EAA4B,CAAA,CAAE,UAIoD;AAAA,cAClF,2BAAA,EAA6B,CAAA,CAAE,UAGyB;AAAA,cAExD,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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.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]>;
4
+ declare const PoofCreatePaymentLinkInput: z.ZodObject<{
5
+ amount: z.ZodString;
6
+ crypto: z.ZodString;
7
+ metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
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.$loose>;
13
+ declare const poofCreatePaymentLink: import("@keystrokehq/action").WorkflowActionDefinition<{
14
+ amount: string;
15
+ crypto: string;
16
+ metadata: Record<string, unknown>;
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,EAA4B,CAAA,CAAE,UAIoD;AAAA,cAClF,2BAAA,EAA6B,CAAA,CAAE,UAGyB;AAAA,cAExD,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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"}
@@ -7,12 +7,12 @@ const poofCreatePaymentLink = action("POOF_CREATE_PAYMENT_LINK", {
7
7
  input: z.object({
8
8
  amount: z.string().describe("The payment amount as a string (e.g., '10', '15.50')"),
9
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.")
10
+ metadata: z.record(z.string(), z.unknown()).describe("Additional metadata associated with the payment. Can contain arbitrary key-value pairs for transaction tracking or custom data.")
11
11
  }).describe("Request model for creating a payment link (invoice) for cryptocurrency payments."),
12
12
  output: z.object({
13
13
  message: z.string().describe("Message from the API, such as 'link your wallet on poof' if wallet setup is required").nullable().optional(),
14
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.")
15
+ }).passthrough().describe("Response model returned after creating a payment link.")
16
16
  });
17
17
  //#endregion
18
18
  export { poofCreatePaymentLink };
@@ -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: 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"}
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.record(z.string(), z.unknown()).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}).passthrough().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,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iIAAiI;CACxL,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,YAAY,CAAC,CAAC,SAAS,wDAOhB;AACV,CAAC"}
@@ -6,7 +6,7 @@ const PoofCreateWebhookOutput = zod.z.object({
6
6
  message: zod.z.string().describe("Response message from the API").nullable().optional(),
7
7
  success: zod.z.boolean().describe("Indicates whether the webhook was created successfully").nullable().optional(),
8
8
  webhook_url: zod.z.string().describe("The webhook URL that was registered").nullable().optional()
9
- }).describe("Response model for webhook creation in Poof.");
9
+ }).passthrough().describe("Response model for webhook creation in Poof.");
10
10
  const poofCreateWebhook = require_action.action("POOF_CREATE_WEBHOOK", {
11
11
  slug: "poof-create-webhook",
12
12
  name: "Create Poof Webhook",
@@ -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: 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"}
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}).passthrough().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,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAExE,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.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]>;
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.$loose>;
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,EAAwB,CAAA,CAAE,UAEkC;AAAA,cAC5D,uBAAA,EAAyB,CAAA,CAAE,UAImB;AAAA,cAE9C,iBAAA,gCAAiB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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.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]>;
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.$loose>;
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,EAAwB,CAAA,CAAE,UAEkC;AAAA,cAC5D,uBAAA,EAAyB,CAAA,CAAE,UAImB;AAAA,cAE9C,iBAAA,gCAAiB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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"}
@@ -9,7 +9,7 @@ const poofCreateWebhook = action("POOF_CREATE_WEBHOOK", {
9
9
  message: z.string().describe("Response message from the API").nullable().optional(),
10
10
  success: z.boolean().describe("Indicates whether the webhook was created successfully").nullable().optional(),
11
11
  webhook_url: z.string().describe("The webhook URL that was registered").nullable().optional()
12
- }).describe("Response model for webhook creation in Poof.")
12
+ }).passthrough().describe("Response model for webhook creation in Poof.")
13
13
  });
14
14
  //#endregion
15
15
  export { poofCreateWebhook };
@@ -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: 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"}
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}).passthrough().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,YAAY,CAAC,CAAC,SAAS,8CAOhB;AACV,CAAC"}
@@ -10,7 +10,7 @@ const PoofFetchGasPriceOutput = zod.z.object({
10
10
  gas_fee_in_usd: zod.z.string().describe("The gas fee amount converted to USD.").nullable().optional(),
11
11
  transaction_fee: zod.z.string().describe("The estimated transaction fee for the blockchain operation.").nullable().optional(),
12
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.");
13
+ }).passthrough().describe("Response containing gas price estimates for blockchain transactions.");
14
14
  const poofFetchGasPrice = require_action.action("POOF_FETCH_GAS_PRICE", {
15
15
  slug: "poof-fetch-gas-price",
16
16
  name: "Fetch Gas Price",
@@ -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: 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"}
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}).passthrough().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,YAAY,CAAC,CAAC,SAAS,sEAAsE;AAEhG,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.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]>;
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.$loose>;
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,EAAwB,CAAA,CAAE,UAErC;AAAA,cACW,uBAAA,EAAyB,CAAA,CAAE,UAQ2C;AAAA,cAEtE,iBAAA,gCAAiB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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.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]>;
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.$loose>;
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,EAAwB,CAAA,CAAE,UAErC;AAAA,cACW,uBAAA,EAAyB,CAAA,CAAE,UAQ2C;AAAA,cAEtE,iBAAA,gCAAiB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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"}
@@ -13,7 +13,7 @@ const poofFetchGasPrice = action("POOF_FETCH_GAS_PRICE", {
13
13
  gas_fee_in_usd: z.string().describe("The gas fee amount converted to USD.").nullable().optional(),
14
14
  transaction_fee: z.string().describe("The estimated transaction fee for the blockchain operation.").nullable().optional(),
15
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.")
16
+ }).passthrough().describe("Response containing gas price estimates for blockchain transactions.")
17
17
  });
18
18
  //#endregion
19
19
  export { poofFetchGasPrice };
@@ -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: 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"}
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}).passthrough().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,YAAY,CAAC,CAAC,SAAS,sEAOhB;AACV,CAAC"}
@@ -11,7 +11,7 @@ const PoofFetchPriceOutput = zod.z.object({
11
11
  ]).nullable().optional(),
12
12
  error: zod.z.union([zod.z.string(), zod.z.record(zod.z.string(), zod.z.unknown())]).nullable().optional(),
13
13
  successfull: zod.z.boolean().describe("Indicates whether the API request was successful").nullable().optional()
14
- }).describe("Response model containing current cryptocurrency price data.");
14
+ }).passthrough().describe("Response model containing current cryptocurrency price data.");
15
15
  const poofFetchPrice = require_action.action("POOF_FETCH_PRICE", {
16
16
  slug: "poof-fetch-price",
17
17
  name: "Fetch Cryptocurrency Price",
@@ -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: 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"}
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}).passthrough().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,YAAY,CAAC,CAAC,SAAS,8DAA8D;AAExF,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.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]>;
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.$loose>;
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,EAAqB,CAAA,CAAE,UAEmC;AAAA,cAC1D,oBAAA,EAAsB,CAAA,CAAE,UAIsC;AAAA,cAE9D,cAAA,gCAAc,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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.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]>;
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.$loose>;
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,EAAqB,CAAA,CAAE,UAEmC;AAAA,cAC1D,oBAAA,EAAsB,CAAA,CAAE,UAIsC;AAAA,cAE9D,cAAA,gCAAc,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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"}
@@ -14,7 +14,7 @@ const poofFetchPrice = action("POOF_FETCH_PRICE", {
14
14
  ]).nullable().optional(),
15
15
  error: z.union([z.string(), z.record(z.string(), z.unknown())]).nullable().optional(),
16
16
  successfull: z.boolean().describe("Indicates whether the API request was successful").nullable().optional()
17
- }).describe("Response model containing current cryptocurrency price data.")
17
+ }).passthrough().describe("Response model containing current cryptocurrency price data.")
18
18
  });
19
19
  //#endregion
20
20
  export { poofFetchPrice };
@@ -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: 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"}
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}).passthrough().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,YAAY,CAAC,CAAC,SAAS,8DAOhB;AACV,CAAC"}
@@ -3,10 +3,10 @@ let zod = require("zod");
3
3
  //#region src/actions/fetch-smart-contracts.ts
4
4
  const PoofFetchSmartContractsInput = zod.z.object({}).describe("Request model for fetching supported smart contracts.\nNo parameters required - the API returns all available contracts.");
5
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.");
6
+ polygon: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Polygon network token contracts keyed by token identifier").nullable().optional(),
7
+ ethereum: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Ethereum network ERC-20 token contracts keyed by token identifier").nullable().optional(),
8
+ avalanche: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Avalanche network token contracts keyed by token identifier").nullable().optional()
9
+ }).passthrough().describe("Response model containing smart contracts organized by blockchain network.\nEach network contains token identifiers mapped to their contract details.");
10
10
  const poofFetchSmartContracts = require_action.action("POOF_FETCH_SMART_CONTRACTS", {
11
11
  slug: "poof-fetch-smart-contracts",
12
12
  name: "Fetch Smart Contracts",
@@ -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: 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"}
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.record(z.string(), z.unknown()).describe(\"Polygon network token contracts keyed by token identifier\").nullable().optional(),\n ethereum: z.record(z.string(), z.unknown()).describe(\"Ethereum network ERC-20 token contracts keyed by token identifier\").nullable().optional(),\n avalanche: z.record(z.string(), z.unknown()).describe(\"Avalanche network token contracts keyed by token identifier\").nullable().optional(),\n}).passthrough().describe(\"Response model containing smart contracts organized by blockchain network.\\nEach network contains token identifiers mapped to their contract details.\");\n\nexport const poofFetchSmartContracts = action(\"POOF_FETCH_SMART_CONTRACTS\", {\n slug: \"poof-fetch-smart-contracts\",\n name: \"Fetch Smart Contracts\",\n description: \"Tool to fetch all supported ERC-20 smart contracts across Ethereum, Avalanche, and Polygon networks. Use when you need to retrieve available token contracts and their details for blockchain operations.\",\n input: PoofFetchSmartContractsInput,\n output: PoofFetchSmartContractsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0HAA0H;AAC5L,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,SAASA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrI,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9I,WAAWA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uJAAuJ;AAEjL,MAAa,0BAA0BC,eAAAA,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}