@keystrokehq/poof 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (122) hide show
  1. package/README.md +17 -0
  2. package/dist/action.cjs +21 -0
  3. package/dist/action.cjs.map +1 -0
  4. package/dist/action.mjs +21 -0
  5. package/dist/action.mjs.map +1 -0
  6. package/dist/actions/check-balance.cjs +16 -0
  7. package/dist/actions/check-balance.cjs.map +1 -0
  8. package/dist/actions/check-balance.d.cts +9 -0
  9. package/dist/actions/check-balance.d.cts.map +1 -0
  10. package/dist/actions/check-balance.d.mts +9 -0
  11. package/dist/actions/check-balance.d.mts.map +1 -0
  12. package/dist/actions/check-balance.mjs +13 -0
  13. package/dist/actions/check-balance.mjs.map +1 -0
  14. package/dist/actions/create-checkout.cjs +31 -0
  15. package/dist/actions/create-checkout.cjs.map +1 -0
  16. package/dist/actions/create-checkout.d.cts +9 -0
  17. package/dist/actions/create-checkout.d.cts.map +1 -0
  18. package/dist/actions/create-checkout.d.mts +9 -0
  19. package/dist/actions/create-checkout.d.mts.map +1 -0
  20. package/dist/actions/create-checkout.mjs +28 -0
  21. package/dist/actions/create-checkout.mjs.map +1 -0
  22. package/dist/actions/create-deposit-address.cjs +30 -0
  23. package/dist/actions/create-deposit-address.cjs.map +1 -0
  24. package/dist/actions/create-deposit-address.d.cts +9 -0
  25. package/dist/actions/create-deposit-address.d.cts.map +1 -0
  26. package/dist/actions/create-deposit-address.d.mts +9 -0
  27. package/dist/actions/create-deposit-address.d.mts.map +1 -0
  28. package/dist/actions/create-deposit-address.mjs +27 -0
  29. package/dist/actions/create-deposit-address.mjs.map +1 -0
  30. package/dist/actions/create-fiat-charge.cjs +27 -0
  31. package/dist/actions/create-fiat-charge.cjs.map +1 -0
  32. package/dist/actions/create-fiat-charge.d.cts +9 -0
  33. package/dist/actions/create-fiat-charge.d.cts.map +1 -0
  34. package/dist/actions/create-fiat-charge.d.mts +9 -0
  35. package/dist/actions/create-fiat-charge.d.mts.map +1 -0
  36. package/dist/actions/create-fiat-charge.mjs +24 -0
  37. package/dist/actions/create-fiat-charge.mjs.map +1 -0
  38. package/dist/actions/create-fiat-invoice.cjs +27 -0
  39. package/dist/actions/create-fiat-invoice.cjs.map +1 -0
  40. package/dist/actions/create-fiat-invoice.d.cts +9 -0
  41. package/dist/actions/create-fiat-invoice.d.cts.map +1 -0
  42. package/dist/actions/create-fiat-invoice.d.mts +9 -0
  43. package/dist/actions/create-fiat-invoice.d.mts.map +1 -0
  44. package/dist/actions/create-fiat-invoice.mjs +24 -0
  45. package/dist/actions/create-fiat-invoice.mjs.map +1 -0
  46. package/dist/actions/create-payment-link.cjs +23 -0
  47. package/dist/actions/create-payment-link.cjs.map +1 -0
  48. package/dist/actions/create-payment-link.d.cts +9 -0
  49. package/dist/actions/create-payment-link.d.cts.map +1 -0
  50. package/dist/actions/create-payment-link.d.mts +9 -0
  51. package/dist/actions/create-payment-link.d.mts.map +1 -0
  52. package/dist/actions/create-payment-link.mjs +20 -0
  53. package/dist/actions/create-payment-link.mjs.map +1 -0
  54. package/dist/actions/create-webhook.cjs +20 -0
  55. package/dist/actions/create-webhook.cjs.map +1 -0
  56. package/dist/actions/create-webhook.d.cts +9 -0
  57. package/dist/actions/create-webhook.d.cts.map +1 -0
  58. package/dist/actions/create-webhook.d.mts +9 -0
  59. package/dist/actions/create-webhook.d.mts.map +1 -0
  60. package/dist/actions/create-webhook.mjs +17 -0
  61. package/dist/actions/create-webhook.mjs.map +1 -0
  62. package/dist/actions/fetch-gas-price.cjs +24 -0
  63. package/dist/actions/fetch-gas-price.cjs.map +1 -0
  64. package/dist/actions/fetch-gas-price.d.cts +9 -0
  65. package/dist/actions/fetch-gas-price.d.cts.map +1 -0
  66. package/dist/actions/fetch-gas-price.d.mts +9 -0
  67. package/dist/actions/fetch-gas-price.d.mts.map +1 -0
  68. package/dist/actions/fetch-gas-price.mjs +21 -0
  69. package/dist/actions/fetch-gas-price.mjs.map +1 -0
  70. package/dist/actions/fetch-price.cjs +25 -0
  71. package/dist/actions/fetch-price.cjs.map +1 -0
  72. package/dist/actions/fetch-price.d.cts +9 -0
  73. package/dist/actions/fetch-price.d.cts.map +1 -0
  74. package/dist/actions/fetch-price.d.mts +9 -0
  75. package/dist/actions/fetch-price.d.mts.map +1 -0
  76. package/dist/actions/fetch-price.mjs +22 -0
  77. package/dist/actions/fetch-price.mjs.map +1 -0
  78. package/dist/actions/fetch-smart-contracts.cjs +20 -0
  79. package/dist/actions/fetch-smart-contracts.cjs.map +1 -0
  80. package/dist/actions/fetch-smart-contracts.d.cts +9 -0
  81. package/dist/actions/fetch-smart-contracts.d.cts.map +1 -0
  82. package/dist/actions/fetch-smart-contracts.d.mts +9 -0
  83. package/dist/actions/fetch-smart-contracts.d.mts.map +1 -0
  84. package/dist/actions/fetch-smart-contracts.mjs +17 -0
  85. package/dist/actions/fetch-smart-contracts.mjs.map +1 -0
  86. package/dist/actions/index.cjs +23 -0
  87. package/dist/actions/index.d.cts +12 -0
  88. package/dist/actions/index.d.mts +12 -0
  89. package/dist/actions/index.mjs +12 -0
  90. package/dist/actions/send-payout.cjs +25 -0
  91. package/dist/actions/send-payout.cjs.map +1 -0
  92. package/dist/actions/send-payout.d.cts +9 -0
  93. package/dist/actions/send-payout.d.cts.map +1 -0
  94. package/dist/actions/send-payout.d.mts +9 -0
  95. package/dist/actions/send-payout.d.mts.map +1 -0
  96. package/dist/actions/send-payout.mjs +22 -0
  97. package/dist/actions/send-payout.mjs.map +1 -0
  98. package/dist/app.cjs +9 -0
  99. package/dist/app.cjs.map +1 -0
  100. package/dist/app.d.cts +5 -0
  101. package/dist/app.d.cts.map +1 -0
  102. package/dist/app.d.mts +5 -0
  103. package/dist/app.d.mts.map +1 -0
  104. package/dist/app.mjs +10 -0
  105. package/dist/app.mjs.map +1 -0
  106. package/dist/catalog.cjs +15 -0
  107. package/dist/catalog.cjs.map +1 -0
  108. package/dist/catalog.d.cts +14 -0
  109. package/dist/catalog.d.cts.map +1 -0
  110. package/dist/catalog.d.mts +14 -0
  111. package/dist/catalog.d.mts.map +1 -0
  112. package/dist/catalog.mjs +15 -0
  113. package/dist/catalog.mjs.map +1 -0
  114. package/dist/execute.cjs +18 -0
  115. package/dist/execute.cjs.map +1 -0
  116. package/dist/execute.mjs +18 -0
  117. package/dist/execute.mjs.map +1 -0
  118. package/dist/index.cjs +28 -0
  119. package/dist/index.d.cts +14 -0
  120. package/dist/index.d.mts +14 -0
  121. package/dist/index.mjs +15 -0
  122. package/package.json +49 -0
package/README.md ADDED
@@ -0,0 +1,17 @@
1
+ # @keystrokehq/poof
2
+
3
+ Keystroke-managed integration.
4
+
5
+ **App:** `poof`
6
+ **Version:** `20260615_00`
7
+ **Actions:** 11
8
+
9
+ ```ts
10
+ import { defineAgent } from "@keystrokehq/keystroke/agent";
11
+ import { poofCheckBalance } from "@keystrokehq/poof/actions";
12
+
13
+ export default defineAgent({
14
+ key: "poof-agent",
15
+ tools: [poofCheckBalance],
16
+ });
17
+ ```
@@ -0,0 +1,21 @@
1
+ const require_app = require("./app.cjs");
2
+ const require_execute = require("./execute.cjs");
3
+ require("zod");
4
+ //#region src/action.ts
5
+ /** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */
6
+ function action(tool, def) {
7
+ return require_app.poof.action({
8
+ slug: def.slug,
9
+ name: def.name,
10
+ description: def.description,
11
+ input: def.input,
12
+ output: def.output,
13
+ async run(input) {
14
+ return def.output.parse(await require_execute.executePoofTool(tool, input));
15
+ }
16
+ });
17
+ }
18
+ //#endregion
19
+ exports.action = action;
20
+
21
+ //# sourceMappingURL=action.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"action.cjs","names":["poof","executePoofTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { poof } from \"./app\";\nimport { executePoofTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: z.ZodTypeAny;\n output: z.ZodTypeAny;\n },\n) {\n return poof.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executePoofTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,KAAK,OAAO;EACjB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,gBAAgB,MAAM,KAAgC,CAAC;EACvF;CACF,CAAC;AACH"}
@@ -0,0 +1,21 @@
1
+ import { poof } from "./app.mjs";
2
+ import { executePoofTool } from "./execute.mjs";
3
+ import "zod";
4
+ //#region src/action.ts
5
+ /** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */
6
+ function action(tool, def) {
7
+ return poof.action({
8
+ slug: def.slug,
9
+ name: def.name,
10
+ description: def.description,
11
+ input: def.input,
12
+ output: def.output,
13
+ async run(input) {
14
+ return def.output.parse(await executePoofTool(tool, input));
15
+ }
16
+ });
17
+ }
18
+ //#endregion
19
+ export { action };
20
+
21
+ //# sourceMappingURL=action.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { poof } from \"./app\";\nimport { executePoofTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: z.ZodTypeAny;\n output: z.ZodTypeAny;\n },\n) {\n return poof.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executePoofTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,KAAK,OAAO;EACjB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,gBAAgB,MAAM,KAAgC,CAAC;EACvF;CACF,CAAC;AACH"}
@@ -0,0 +1,16 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/check-balance.ts
4
+ const PoofCheckBalanceInput = zod.z.object({ crypto: zod.z.string().describe("The cryptocurrency type to check balance for (e.g., 'bitcoin', 'ethereum', 'litecoin', 'dogecoin').") }).describe("Request model for checking cryptocurrency wallet balance.");
5
+ const PoofCheckBalanceOutput = zod.z.object({ balance: zod.z.string().describe("The current balance of the specified cryptocurrency wallet.").nullable().optional() }).describe("Response model containing the cryptocurrency balance.");
6
+ const poofCheckBalance = require_action.action("POOF_CHECK_BALANCE", {
7
+ slug: "poof-check-balance",
8
+ name: "Check Balance",
9
+ description: "Tool to check the balance of a cryptocurrency wallet. Use when you need to retrieve the current balance for a specified blockchain wallet address.",
10
+ input: PoofCheckBalanceInput,
11
+ output: PoofCheckBalanceOutput
12
+ });
13
+ //#endregion
14
+ exports.poofCheckBalance = poofCheckBalance;
15
+
16
+ //# sourceMappingURL=check-balance.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"check-balance.cjs","names":["z","action"],"sources":["../../src/actions/check-balance.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PoofCheckBalanceInput: z.ZodTypeAny = z.object({\n crypto: z.string().describe(\"The cryptocurrency type to check balance for (e.g., 'bitcoin', 'ethereum', 'litecoin', 'dogecoin').\"),\n}).describe(\"Request model for checking cryptocurrency wallet balance.\");\nexport const PoofCheckBalanceOutput: z.ZodTypeAny = z.object({\n balance: z.string().describe(\"The current balance of the specified cryptocurrency wallet.\").nullable().optional(),\n}).describe(\"Response model containing the cryptocurrency balance.\");\n\nexport const poofCheckBalance = action(\"POOF_CHECK_BALANCE\", {\n slug: \"poof-check-balance\",\n name: \"Check Balance\",\n description: \"Tool to check the balance of a cryptocurrency wallet. Use when you need to retrieve the current balance for a specified blockchain wallet address.\",\n input: PoofCheckBalanceInput,\n output: PoofCheckBalanceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAsCA,IAAAA,EAAE,OAAO,EAC1D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,EACnI,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAa,yBAAuCA,IAAAA,EAAE,OAAO,EAC3D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAClH,CAAC,CAAC,CAAC,SAAS,uDAAuD;AAEnE,MAAa,mBAAmBC,eAAAA,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/check-balance.d.ts
4
+ declare const PoofCheckBalanceInput: z.ZodTypeAny;
5
+ declare const PoofCheckBalanceOutput: z.ZodTypeAny;
6
+ declare const poofCheckBalance: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { poofCheckBalance };
9
+ //# sourceMappingURL=check-balance.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"check-balance.d.cts","names":[],"sources":["../../src/actions/check-balance.ts"],"mappings":";;;cAIa,qBAAA,EAAuB,CAAA,CAAE,UAEkC;AAAA,cAC3D,sBAAA,EAAwB,CAAA,CAAE,UAE6B;AAAA,cAEvD,gBAAA,gCAAgB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/check-balance.d.ts
4
+ declare const PoofCheckBalanceInput: z.ZodTypeAny;
5
+ declare const PoofCheckBalanceOutput: z.ZodTypeAny;
6
+ declare const poofCheckBalance: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { poofCheckBalance };
9
+ //# sourceMappingURL=check-balance.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"check-balance.d.mts","names":[],"sources":["../../src/actions/check-balance.ts"],"mappings":";;;cAIa,qBAAA,EAAuB,CAAA,CAAE,UAEkC;AAAA,cAC3D,sBAAA,EAAwB,CAAA,CAAE,UAE6B;AAAA,cAEvD,gBAAA,gCAAgB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,13 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const poofCheckBalance = action("POOF_CHECK_BALANCE", {
4
+ slug: "poof-check-balance",
5
+ name: "Check Balance",
6
+ description: "Tool to check the balance of a cryptocurrency wallet. Use when you need to retrieve the current balance for a specified blockchain wallet address.",
7
+ input: z.object({ crypto: z.string().describe("The cryptocurrency type to check balance for (e.g., 'bitcoin', 'ethereum', 'litecoin', 'dogecoin').") }).describe("Request model for checking cryptocurrency wallet balance."),
8
+ output: z.object({ balance: z.string().describe("The current balance of the specified cryptocurrency wallet.").nullable().optional() }).describe("Response model containing the cryptocurrency balance.")
9
+ });
10
+ //#endregion
11
+ export { poofCheckBalance };
12
+
13
+ //# sourceMappingURL=check-balance.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"check-balance.mjs","names":[],"sources":["../../src/actions/check-balance.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PoofCheckBalanceInput: z.ZodTypeAny = z.object({\n crypto: z.string().describe(\"The cryptocurrency type to check balance for (e.g., 'bitcoin', 'ethereum', 'litecoin', 'dogecoin').\"),\n}).describe(\"Request model for checking cryptocurrency wallet balance.\");\nexport const PoofCheckBalanceOutput: z.ZodTypeAny = z.object({\n balance: z.string().describe(\"The current balance of the specified cryptocurrency wallet.\").nullable().optional(),\n}).describe(\"Response model containing the cryptocurrency balance.\");\n\nexport const poofCheckBalance = action(\"POOF_CHECK_BALANCE\", {\n slug: \"poof-check-balance\",\n name: \"Check Balance\",\n description: \"Tool to check the balance of a cryptocurrency wallet. Use when you need to retrieve the current balance for a specified blockchain wallet address.\",\n input: PoofCheckBalanceInput,\n output: PoofCheckBalanceOutput,\n});\n"],"mappings":";;AAWA,MAAa,mBAAmB,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAXiD,EAAE,OAAO,EAC1D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,EACnI,CAAC,CAAC,CAAC,SAAS,2DASH;CACP,QATkD,EAAE,OAAO,EAC3D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAClH,CAAC,CAAC,CAAC,SAAS,uDAOF;AACV,CAAC"}
@@ -0,0 +1,31 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/create-checkout.ts
4
+ const PoofCreateCheckoutInput = zod.z.object({
5
+ amount: zod.z.string().describe("Payment amount to be charged"),
6
+ fields: zod.z.array(zod.z.string()).describe("Form fields to collect from customer (e.g., Email, Name)").optional(),
7
+ "default": zod.z.object({
8
+ name: zod.z.string().describe("Pre-filled customer name").optional(),
9
+ email: zod.z.string().describe("Pre-filled customer email address").optional()
10
+ }).describe("Pre-filled customer data for checkout form.").optional(),
11
+ metadata: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Custom metadata (e.g., user information)").optional(),
12
+ redirect: zod.z.string().describe("Alternative redirect destination").optional(),
13
+ username: zod.z.string().describe("Merchant/seller identifier for the checkout"),
14
+ product_id: zod.z.string().describe("Associated product identifier").optional(),
15
+ success_url: zod.z.string().describe("Redirect URL after successful payment").optional(),
16
+ disable_payments: zod.z.array(zod.z.string()).describe("Payment methods to disable (e.g., paypal, bitcoin)").optional(),
17
+ product_quantity: zod.z.string().describe("Quantity of products").optional(),
18
+ instant_payment_notification: zod.z.string().describe("Webhook URL for payment notifications").optional()
19
+ }).describe("Request schema for creating a Poof checkout session.");
20
+ const PoofCreateCheckoutOutput = zod.z.object({ checkout_url: zod.z.string().describe("URL to the checkout session where customer completes payment") }).describe("Response schema returned after creating a checkout session.");
21
+ const poofCreateCheckout = require_action.action("POOF_CREATE_CHECKOUT", {
22
+ slug: "poof-create-checkout",
23
+ name: "Create Checkout Session",
24
+ description: "Tool to create a checkout session for fiat payments. Use when you need to generate a payment link for customers to complete their purchase through the Poof payment infrastructure.",
25
+ input: PoofCreateCheckoutInput,
26
+ output: PoofCreateCheckoutOutput
27
+ });
28
+ //#endregion
29
+ exports.poofCreateCheckout = poofCreateCheckout;
30
+
31
+ //# sourceMappingURL=create-checkout.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-checkout.cjs","names":["z","action"],"sources":["../../src/actions/create-checkout.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PoofCreateCheckoutInput: z.ZodTypeAny = z.object({\n amount: z.string().describe(\"Payment amount to be charged\"),\n fields: z.array(z.string()).describe(\"Form fields to collect from customer (e.g., Email, Name)\").optional(),\n \"default\": z.object({\n name: z.string().describe(\"Pre-filled customer name\").optional(),\n email: z.string().describe(\"Pre-filled customer email address\").optional(),\n}).describe(\"Pre-filled customer data for checkout form.\").optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata (e.g., user information)\").optional(),\n redirect: z.string().describe(\"Alternative redirect destination\").optional(),\n username: z.string().describe(\"Merchant/seller identifier for the checkout\"),\n product_id: z.string().describe(\"Associated product identifier\").optional(),\n success_url: z.string().describe(\"Redirect URL after successful payment\").optional(),\n disable_payments: z.array(z.string()).describe(\"Payment methods to disable (e.g., paypal, bitcoin)\").optional(),\n product_quantity: z.string().describe(\"Quantity of products\").optional(),\n instant_payment_notification: z.string().describe(\"Webhook URL for payment notifications\").optional(),\n}).describe(\"Request schema for creating a Poof checkout session.\");\nexport const PoofCreateCheckoutOutput: z.ZodTypeAny = z.object({\n checkout_url: z.string().describe(\"URL to the checkout session where customer completes payment\"),\n}).describe(\"Response schema returned after creating a checkout session.\");\n\nexport const poofCreateCheckout = action(\"POOF_CREATE_CHECKOUT\", {\n slug: \"poof-create-checkout\",\n name: \"Create Checkout Session\",\n description: \"Tool to create a checkout session for fiat payments. Use when you need to generate a payment link for customers to complete their purchase through the Poof payment infrastructure.\",\n input: PoofCreateCheckoutInput,\n output: PoofCreateCheckoutOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwCA,IAAAA,EAAE,OAAO;CAC5D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CAC1D,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAC1G,WAAWA,IAAAA,EAAE,OAAO;EACpB,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;EAC/D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC3E,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAClE,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAC1G,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC3E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CAC3E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAC1E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACnF,kBAAkBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC9G,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CACvE,8BAA8BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAa,2BAAyCA,IAAAA,EAAE,OAAO,EAC7D,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,EAClG,CAAC,CAAC,CAAC,SAAS,6DAA6D;AAEzE,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/create-checkout.d.ts
4
+ declare const PoofCreateCheckoutInput: z.ZodTypeAny;
5
+ declare const PoofCreateCheckoutOutput: z.ZodTypeAny;
6
+ declare const poofCreateCheckout: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { poofCreateCheckout };
9
+ //# sourceMappingURL=create-checkout.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-checkout.d.cts","names":[],"sources":["../../src/actions/create-checkout.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAe2B;AAAA,cACtD,wBAAA,EAA0B,CAAA,CAAE,UAEiC;AAAA,cAE7D,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/create-checkout.d.ts
4
+ declare const PoofCreateCheckoutInput: z.ZodTypeAny;
5
+ declare const PoofCreateCheckoutOutput: z.ZodTypeAny;
6
+ declare const poofCreateCheckout: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { poofCreateCheckout };
9
+ //# sourceMappingURL=create-checkout.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-checkout.d.mts","names":[],"sources":["../../src/actions/create-checkout.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAe2B;AAAA,cACtD,wBAAA,EAA0B,CAAA,CAAE,UAEiC;AAAA,cAE7D,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,28 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const poofCreateCheckout = action("POOF_CREATE_CHECKOUT", {
4
+ slug: "poof-create-checkout",
5
+ name: "Create Checkout Session",
6
+ description: "Tool to create a checkout session for fiat payments. Use when you need to generate a payment link for customers to complete their purchase through the Poof payment infrastructure.",
7
+ input: z.object({
8
+ amount: z.string().describe("Payment amount to be charged"),
9
+ fields: z.array(z.string()).describe("Form fields to collect from customer (e.g., Email, Name)").optional(),
10
+ "default": z.object({
11
+ name: z.string().describe("Pre-filled customer name").optional(),
12
+ email: z.string().describe("Pre-filled customer email address").optional()
13
+ }).describe("Pre-filled customer data for checkout form.").optional(),
14
+ metadata: z.record(z.string(), z.unknown()).describe("Custom metadata (e.g., user information)").optional(),
15
+ redirect: z.string().describe("Alternative redirect destination").optional(),
16
+ username: z.string().describe("Merchant/seller identifier for the checkout"),
17
+ product_id: z.string().describe("Associated product identifier").optional(),
18
+ success_url: z.string().describe("Redirect URL after successful payment").optional(),
19
+ disable_payments: z.array(z.string()).describe("Payment methods to disable (e.g., paypal, bitcoin)").optional(),
20
+ product_quantity: z.string().describe("Quantity of products").optional(),
21
+ instant_payment_notification: z.string().describe("Webhook URL for payment notifications").optional()
22
+ }).describe("Request schema for creating a Poof checkout session."),
23
+ output: z.object({ checkout_url: z.string().describe("URL to the checkout session where customer completes payment") }).describe("Response schema returned after creating a checkout session.")
24
+ });
25
+ //#endregion
26
+ export { poofCreateCheckout };
27
+
28
+ //# sourceMappingURL=create-checkout.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-checkout.mjs","names":[],"sources":["../../src/actions/create-checkout.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PoofCreateCheckoutInput: z.ZodTypeAny = z.object({\n amount: z.string().describe(\"Payment amount to be charged\"),\n fields: z.array(z.string()).describe(\"Form fields to collect from customer (e.g., Email, Name)\").optional(),\n \"default\": z.object({\n name: z.string().describe(\"Pre-filled customer name\").optional(),\n email: z.string().describe(\"Pre-filled customer email address\").optional(),\n}).describe(\"Pre-filled customer data for checkout form.\").optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata (e.g., user information)\").optional(),\n redirect: z.string().describe(\"Alternative redirect destination\").optional(),\n username: z.string().describe(\"Merchant/seller identifier for the checkout\"),\n product_id: z.string().describe(\"Associated product identifier\").optional(),\n success_url: z.string().describe(\"Redirect URL after successful payment\").optional(),\n disable_payments: z.array(z.string()).describe(\"Payment methods to disable (e.g., paypal, bitcoin)\").optional(),\n product_quantity: z.string().describe(\"Quantity of products\").optional(),\n instant_payment_notification: z.string().describe(\"Webhook URL for payment notifications\").optional(),\n}).describe(\"Request schema for creating a Poof checkout session.\");\nexport const PoofCreateCheckoutOutput: z.ZodTypeAny = z.object({\n checkout_url: z.string().describe(\"URL to the checkout session where customer completes payment\"),\n}).describe(\"Response schema returned after creating a checkout session.\");\n\nexport const poofCreateCheckout = action(\"POOF_CREATE_CHECKOUT\", {\n slug: \"poof-create-checkout\",\n name: \"Create Checkout Session\",\n description: \"Tool to create a checkout session for fiat payments. Use when you need to generate a payment link for customers to complete their purchase through the Poof payment infrastructure.\",\n input: PoofCreateCheckoutInput,\n output: PoofCreateCheckoutOutput,\n});\n"],"mappings":";;AAwBA,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAxBmD,EAAE,OAAO;EAC5D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;EAC1D,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;EAC1G,WAAW,EAAE,OAAO;GACpB,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;GAC/D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EAC3E,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EAClE,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EAC1G,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EAC3E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;EAC3E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EAC1E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EACnF,kBAAkB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;EAC9G,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;EACvE,8BAA8B,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACtG,CAAC,CAAC,CAAC,SAAS,sDASH;CACP,QAToD,EAAE,OAAO,EAC7D,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,EAClG,CAAC,CAAC,CAAC,SAAS,6DAOF;AACV,CAAC"}
@@ -0,0 +1,30 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/create-deposit-address.ts
4
+ const PoofCreateDepositAddressInput = zod.z.object({
5
+ amount: zod.z.string().describe("The deposit amount in the specified currency (e.g., '15', '100.50')"),
6
+ crypto: zod.z.string().describe("The cryptocurrency type to receive. Supported values include: 'ethereum', 'bitcoin', 'polygon', 'solana', 'bnb'"),
7
+ currency: zod.z.string().describe("The base currency for the amount (e.g., 'USD', 'EUR', 'CNY')"),
8
+ metadata: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Optional metadata dictionary for additional contextual data to attach to this charge").optional()
9
+ }).describe("Request model for creating a deposit address for receiving cryptocurrency payments.");
10
+ const PoofCreateDepositAddressOutput = zod.z.object({
11
+ amount: zod.z.string().describe("The deposit amount in the specified currency").nullable().optional(),
12
+ crypto: zod.z.string().describe("The cryptocurrency type for the deposit").nullable().optional(),
13
+ status: zod.z.string().describe("Status of the charge (e.g., 'pending', 'confirmed')").nullable().optional(),
14
+ address: zod.z.string().describe("The generated blockchain address for receiving cryptocurrency deposits"),
15
+ currency: zod.z.string().describe("The base currency for the amount").nullable().optional(),
16
+ metadata: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Custom metadata attached to the charge").nullable().optional(),
17
+ charge_id: zod.z.string().describe("Unique identifier for the created charge").nullable().optional(),
18
+ created_at: zod.z.string().describe("Timestamp when the charge was created").nullable().optional()
19
+ }).describe("Response model returned after creating a deposit address.");
20
+ const poofCreateDepositAddress = require_action.action("POOF_CREATE_DEPOSIT_ADDRESS", {
21
+ slug: "poof-create-deposit-address",
22
+ name: "Create Deposit Address",
23
+ description: "Tool to create a deposit address for receiving cryptocurrency payments. Generates a unique blockchain address to accept incoming crypto deposits. Use when you need to create a payment address for a customer to send cryptocurrency to.",
24
+ input: PoofCreateDepositAddressInput,
25
+ output: PoofCreateDepositAddressOutput
26
+ });
27
+ //#endregion
28
+ exports.poofCreateDepositAddress = poofCreateDepositAddress;
29
+
30
+ //# sourceMappingURL=create-deposit-address.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-deposit-address.cjs","names":["z","action"],"sources":["../../src/actions/create-deposit-address.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PoofCreateDepositAddressInput: z.ZodTypeAny = z.object({\n amount: z.string().describe(\"The deposit amount in the specified currency (e.g., '15', '100.50')\"),\n crypto: z.string().describe(\"The cryptocurrency type to receive. Supported values include: 'ethereum', 'bitcoin', 'polygon', 'solana', 'bnb'\"),\n currency: z.string().describe(\"The base currency for the amount (e.g., 'USD', 'EUR', 'CNY')\"),\n metadata: z.record(z.string(), z.unknown()).describe(\"Optional metadata dictionary for additional contextual data to attach to this charge\").optional(),\n}).describe(\"Request model for creating a deposit address for receiving cryptocurrency payments.\");\nexport const PoofCreateDepositAddressOutput: z.ZodTypeAny = z.object({\n amount: z.string().describe(\"The deposit amount in the specified currency\").nullable().optional(),\n crypto: z.string().describe(\"The cryptocurrency type for the deposit\").nullable().optional(),\n status: z.string().describe(\"Status of the charge (e.g., 'pending', 'confirmed')\").nullable().optional(),\n address: z.string().describe(\"The generated blockchain address for receiving cryptocurrency deposits\"),\n currency: z.string().describe(\"The base currency for the amount\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata attached to the charge\").nullable().optional(),\n charge_id: z.string().describe(\"Unique identifier for the created charge\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the charge was created\").nullable().optional(),\n}).describe(\"Response model returned after creating a deposit address.\");\n\nexport const poofCreateDepositAddress = action(\"POOF_CREATE_DEPOSIT_ADDRESS\", {\n slug: \"poof-create-deposit-address\",\n name: \"Create Deposit Address\",\n description: \"Tool to create a deposit address for receiving cryptocurrency payments. Generates a unique blockchain address to accept incoming crypto deposits. Use when you need to create a payment address for a customer to send cryptocurrency to.\",\n input: PoofCreateDepositAddressInput,\n output: PoofCreateDepositAddressOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAA8CA,IAAAA,EAAE,OAAO;CAClE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;CACjG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iHAAiH;CAC7I,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;CAC5F,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;AACxJ,CAAC,CAAC,CAAC,SAAS,qFAAqF;AACjG,MAAa,iCAA+CA,IAAAA,EAAE,OAAO;CACnE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE;CACrG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,SAAS,2DAA2D;AAEvE,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/create-deposit-address.d.ts
4
+ declare const PoofCreateDepositAddressInput: z.ZodTypeAny;
5
+ declare const PoofCreateDepositAddressOutput: z.ZodTypeAny;
6
+ declare const poofCreateDepositAddress: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { poofCreateDepositAddress };
9
+ //# sourceMappingURL=create-deposit-address.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-deposit-address.d.cts","names":[],"sources":["../../src/actions/create-deposit-address.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAKoD;AAAA,cACrF,8BAAA,EAAgC,CAAA,CAAE,UASyB;AAAA,cAE3D,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/create-deposit-address.d.ts
4
+ declare const PoofCreateDepositAddressInput: z.ZodTypeAny;
5
+ declare const PoofCreateDepositAddressOutput: z.ZodTypeAny;
6
+ declare const poofCreateDepositAddress: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { poofCreateDepositAddress };
9
+ //# sourceMappingURL=create-deposit-address.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-deposit-address.d.mts","names":[],"sources":["../../src/actions/create-deposit-address.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAKoD;AAAA,cACrF,8BAAA,EAAgC,CAAA,CAAE,UASyB;AAAA,cAE3D,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,27 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const poofCreateDepositAddress = action("POOF_CREATE_DEPOSIT_ADDRESS", {
4
+ slug: "poof-create-deposit-address",
5
+ name: "Create Deposit Address",
6
+ description: "Tool to create a deposit address for receiving cryptocurrency payments. Generates a unique blockchain address to accept incoming crypto deposits. Use when you need to create a payment address for a customer to send cryptocurrency to.",
7
+ input: z.object({
8
+ amount: z.string().describe("The deposit amount in the specified currency (e.g., '15', '100.50')"),
9
+ crypto: z.string().describe("The cryptocurrency type to receive. Supported values include: 'ethereum', 'bitcoin', 'polygon', 'solana', 'bnb'"),
10
+ currency: z.string().describe("The base currency for the amount (e.g., 'USD', 'EUR', 'CNY')"),
11
+ metadata: z.record(z.string(), z.unknown()).describe("Optional metadata dictionary for additional contextual data to attach to this charge").optional()
12
+ }).describe("Request model for creating a deposit address for receiving cryptocurrency payments."),
13
+ output: z.object({
14
+ amount: z.string().describe("The deposit amount in the specified currency").nullable().optional(),
15
+ crypto: z.string().describe("The cryptocurrency type for the deposit").nullable().optional(),
16
+ status: z.string().describe("Status of the charge (e.g., 'pending', 'confirmed')").nullable().optional(),
17
+ address: z.string().describe("The generated blockchain address for receiving cryptocurrency deposits"),
18
+ currency: z.string().describe("The base currency for the amount").nullable().optional(),
19
+ metadata: z.record(z.string(), z.unknown()).describe("Custom metadata attached to the charge").nullable().optional(),
20
+ charge_id: z.string().describe("Unique identifier for the created charge").nullable().optional(),
21
+ created_at: z.string().describe("Timestamp when the charge was created").nullable().optional()
22
+ }).describe("Response model returned after creating a deposit address.")
23
+ });
24
+ //#endregion
25
+ export { poofCreateDepositAddress };
26
+
27
+ //# sourceMappingURL=create-deposit-address.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-deposit-address.mjs","names":[],"sources":["../../src/actions/create-deposit-address.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PoofCreateDepositAddressInput: z.ZodTypeAny = z.object({\n amount: z.string().describe(\"The deposit amount in the specified currency (e.g., '15', '100.50')\"),\n crypto: z.string().describe(\"The cryptocurrency type to receive. Supported values include: 'ethereum', 'bitcoin', 'polygon', 'solana', 'bnb'\"),\n currency: z.string().describe(\"The base currency for the amount (e.g., 'USD', 'EUR', 'CNY')\"),\n metadata: z.record(z.string(), z.unknown()).describe(\"Optional metadata dictionary for additional contextual data to attach to this charge\").optional(),\n}).describe(\"Request model for creating a deposit address for receiving cryptocurrency payments.\");\nexport const PoofCreateDepositAddressOutput: z.ZodTypeAny = z.object({\n amount: z.string().describe(\"The deposit amount in the specified currency\").nullable().optional(),\n crypto: z.string().describe(\"The cryptocurrency type for the deposit\").nullable().optional(),\n status: z.string().describe(\"Status of the charge (e.g., 'pending', 'confirmed')\").nullable().optional(),\n address: z.string().describe(\"The generated blockchain address for receiving cryptocurrency deposits\"),\n currency: z.string().describe(\"The base currency for the amount\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata attached to the charge\").nullable().optional(),\n charge_id: z.string().describe(\"Unique identifier for the created charge\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the charge was created\").nullable().optional(),\n}).describe(\"Response model returned after creating a deposit address.\");\n\nexport const poofCreateDepositAddress = action(\"POOF_CREATE_DEPOSIT_ADDRESS\", {\n slug: \"poof-create-deposit-address\",\n name: \"Create Deposit Address\",\n description: \"Tool to create a deposit address for receiving cryptocurrency payments. Generates a unique blockchain address to accept incoming crypto deposits. Use when you need to create a payment address for a customer to send cryptocurrency to.\",\n input: PoofCreateDepositAddressInput,\n output: PoofCreateDepositAddressOutput,\n});\n"],"mappings":";;AAqBA,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OArByD,EAAE,OAAO;EAClE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;EACjG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iHAAiH;EAC7I,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;EAC5F,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;CACxJ,CAAC,CAAC,CAAC,SAAS,qFAgBH;CACP,QAhB0D,EAAE,OAAO;EACnE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE;EACrG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,CAAC,CAAC,CAAC,SAAS,2DAOF;AACV,CAAC"}
@@ -0,0 +1,27 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/create-fiat-charge.ts
4
+ const PoofCreateFiatChargeInput = zod.z.object({
5
+ amount: zod.z.string().describe("The charge amount as a string (e.g., '15' for $15.00). Must be a valid numeric string."),
6
+ payment: zod.z.string().describe("Payment gateway to use. Must be lowercase (e.g., 'paypal', 'stripe', 'square')."),
7
+ currency: zod.z.string().describe("Currency code for the charge. Must be lowercase (e.g., 'usd', 'eur', 'gbp')."),
8
+ success_url: zod.z.string().describe("URL to redirect the user to after successful payment completion."),
9
+ redirect_url: zod.z.string().describe("URL to redirect the user to after canceling or closing the payment page.")
10
+ }).describe("Request model for creating a fiat currency charge in Poof.");
11
+ const PoofCreateFiatChargeOutput = zod.z.object({
12
+ status: zod.z.string().describe("Status of the charge creation request.").nullable().optional(),
13
+ message: zod.z.string().describe("Additional message or information about the charge creation.").nullable().optional(),
14
+ charge_id: zod.z.string().describe("Unique identifier for the created charge.").nullable().optional(),
15
+ payment_link: zod.z.string().describe("URL for the payment page where the customer can complete the transaction.").nullable().optional()
16
+ }).describe("Response model returned after creating a fiat charge.");
17
+ const poofCreateFiatCharge = require_action.action("POOF_CREATE_FIAT_CHARGE", {
18
+ slug: "poof-create-fiat-charge",
19
+ name: "Create Fiat Charge",
20
+ description: "Tool to create a fiat currency charge through Poof's payment gateway integration. Use when initiating a one-time fiat payment collection via PayPal, Stripe, Square, or other supported gateways.",
21
+ input: PoofCreateFiatChargeInput,
22
+ output: PoofCreateFiatChargeOutput
23
+ });
24
+ //#endregion
25
+ exports.poofCreateFiatCharge = poofCreateFiatCharge;
26
+
27
+ //# sourceMappingURL=create-fiat-charge.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-fiat-charge.cjs","names":["z","action"],"sources":["../../src/actions/create-fiat-charge.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PoofCreateFiatChargeInput: z.ZodTypeAny = z.object({\n amount: z.string().describe(\"The charge amount as a string (e.g., '15' for $15.00). Must be a valid numeric string.\"),\n payment: z.string().describe(\"Payment gateway to use. Must be lowercase (e.g., 'paypal', 'stripe', 'square').\"),\n currency: z.string().describe(\"Currency code for the charge. Must be lowercase (e.g., 'usd', 'eur', 'gbp').\"),\n success_url: z.string().describe(\"URL to redirect the user to after successful payment completion.\"),\n redirect_url: z.string().describe(\"URL to redirect the user to after canceling or closing the payment page.\"),\n}).describe(\"Request model for creating a fiat currency charge in Poof.\");\nexport const PoofCreateFiatChargeOutput: z.ZodTypeAny = z.object({\n status: z.string().describe(\"Status of the charge creation request.\").nullable().optional(),\n message: z.string().describe(\"Additional message or information about the charge creation.\").nullable().optional(),\n charge_id: z.string().describe(\"Unique identifier for the created charge.\").nullable().optional(),\n payment_link: z.string().describe(\"URL for the payment page where the customer can complete the transaction.\").nullable().optional(),\n}).describe(\"Response model returned after creating a fiat charge.\");\n\nexport const poofCreateFiatCharge = action(\"POOF_CREATE_FIAT_CHARGE\", {\n slug: \"poof-create-fiat-charge\",\n name: \"Create Fiat Charge\",\n description: \"Tool to create a fiat currency charge through Poof's payment gateway integration. Use when initiating a one-time fiat payment collection via PayPal, Stripe, Square, or other supported gateways.\",\n input: PoofCreateFiatChargeInput,\n output: PoofCreateFiatChargeOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0CA,IAAAA,EAAE,OAAO;CAC9D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF;CACpH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF;CAC9G,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E;CAC5G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE;CACnG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E;AAC9G,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAa,6BAA2CA,IAAAA,EAAE,OAAO;CAC/D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrI,CAAC,CAAC,CAAC,SAAS,uDAAuD;AAEnE,MAAa,uBAAuBC,eAAAA,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/create-fiat-charge.d.ts
4
+ declare const PoofCreateFiatChargeInput: z.ZodTypeAny;
5
+ declare const PoofCreateFiatChargeOutput: z.ZodTypeAny;
6
+ declare const poofCreateFiatCharge: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { poofCreateFiatCharge };
9
+ //# sourceMappingURL=create-fiat-charge.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-fiat-charge.d.cts","names":[],"sources":["../../src/actions/create-fiat-charge.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAM+B;AAAA,cAC5D,0BAAA,EAA4B,CAAA,CAAE,UAKyB;AAAA,cAEvD,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/create-fiat-charge.d.ts
4
+ declare const PoofCreateFiatChargeInput: z.ZodTypeAny;
5
+ declare const PoofCreateFiatChargeOutput: z.ZodTypeAny;
6
+ declare const poofCreateFiatCharge: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { poofCreateFiatCharge };
9
+ //# sourceMappingURL=create-fiat-charge.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-fiat-charge.d.mts","names":[],"sources":["../../src/actions/create-fiat-charge.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAM+B;AAAA,cAC5D,0BAAA,EAA4B,CAAA,CAAE,UAKyB;AAAA,cAEvD,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,24 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const poofCreateFiatCharge = action("POOF_CREATE_FIAT_CHARGE", {
4
+ slug: "poof-create-fiat-charge",
5
+ name: "Create Fiat Charge",
6
+ description: "Tool to create a fiat currency charge through Poof's payment gateway integration. Use when initiating a one-time fiat payment collection via PayPal, Stripe, Square, or other supported gateways.",
7
+ input: z.object({
8
+ amount: z.string().describe("The charge amount as a string (e.g., '15' for $15.00). Must be a valid numeric string."),
9
+ payment: z.string().describe("Payment gateway to use. Must be lowercase (e.g., 'paypal', 'stripe', 'square')."),
10
+ currency: z.string().describe("Currency code for the charge. Must be lowercase (e.g., 'usd', 'eur', 'gbp')."),
11
+ success_url: z.string().describe("URL to redirect the user to after successful payment completion."),
12
+ redirect_url: z.string().describe("URL to redirect the user to after canceling or closing the payment page.")
13
+ }).describe("Request model for creating a fiat currency charge in Poof."),
14
+ output: z.object({
15
+ status: z.string().describe("Status of the charge creation request.").nullable().optional(),
16
+ message: z.string().describe("Additional message or information about the charge creation.").nullable().optional(),
17
+ charge_id: z.string().describe("Unique identifier for the created charge.").nullable().optional(),
18
+ payment_link: z.string().describe("URL for the payment page where the customer can complete the transaction.").nullable().optional()
19
+ }).describe("Response model returned after creating a fiat charge.")
20
+ });
21
+ //#endregion
22
+ export { poofCreateFiatCharge };
23
+
24
+ //# sourceMappingURL=create-fiat-charge.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-fiat-charge.mjs","names":[],"sources":["../../src/actions/create-fiat-charge.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PoofCreateFiatChargeInput: z.ZodTypeAny = z.object({\n amount: z.string().describe(\"The charge amount as a string (e.g., '15' for $15.00). Must be a valid numeric string.\"),\n payment: z.string().describe(\"Payment gateway to use. Must be lowercase (e.g., 'paypal', 'stripe', 'square').\"),\n currency: z.string().describe(\"Currency code for the charge. Must be lowercase (e.g., 'usd', 'eur', 'gbp').\"),\n success_url: z.string().describe(\"URL to redirect the user to after successful payment completion.\"),\n redirect_url: z.string().describe(\"URL to redirect the user to after canceling or closing the payment page.\"),\n}).describe(\"Request model for creating a fiat currency charge in Poof.\");\nexport const PoofCreateFiatChargeOutput: z.ZodTypeAny = z.object({\n status: z.string().describe(\"Status of the charge creation request.\").nullable().optional(),\n message: z.string().describe(\"Additional message or information about the charge creation.\").nullable().optional(),\n charge_id: z.string().describe(\"Unique identifier for the created charge.\").nullable().optional(),\n payment_link: z.string().describe(\"URL for the payment page where the customer can complete the transaction.\").nullable().optional(),\n}).describe(\"Response model returned after creating a fiat charge.\");\n\nexport const poofCreateFiatCharge = action(\"POOF_CREATE_FIAT_CHARGE\", {\n slug: \"poof-create-fiat-charge\",\n name: \"Create Fiat Charge\",\n description: \"Tool to create a fiat currency charge through Poof's payment gateway integration. Use when initiating a one-time fiat payment collection via PayPal, Stripe, Square, or other supported gateways.\",\n input: PoofCreateFiatChargeInput,\n output: PoofCreateFiatChargeOutput,\n});\n"],"mappings":";;AAkBA,MAAa,uBAAuB,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlBqD,EAAE,OAAO;EAC9D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF;EACpH,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF;EAC9G,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E;EAC5G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE;EACnG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E;CAC9G,CAAC,CAAC,CAAC,SAAS,4DAYH;CACP,QAZsD,EAAE,OAAO;EAC/D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrI,CAAC,CAAC,CAAC,SAAS,uDAOF;AACV,CAAC"}
@@ -0,0 +1,27 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/create-fiat-invoice.ts
4
+ const PoofCreateFiatInvoiceInput = zod.z.object({
5
+ amount: zod.z.string().describe("Payment amount as a string (e.g., '15.00', '100'). Specify the amount in the currency specified in the currency field."),
6
+ payment: zod.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."),
7
+ currency: zod.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."),
8
+ success_url: zod.z.string().describe("URL to redirect the customer to after successful payment completion. This is typically your application's success/confirmation page."),
9
+ redirect_url: zod.z.string().describe("URL to redirect the customer to after they complete or cancel the payment. This is typically your application's return URL.")
10
+ }).describe("Request parameters for creating a fiat currency invoice.");
11
+ const PoofCreateFiatInvoiceOutput = zod.z.object({
12
+ status: zod.z.string().describe("Status of the invoice (e.g., 'pending', 'created').").nullable().optional(),
13
+ invoice_id: zod.z.string().describe("Unique identifier for the created invoice.").nullable().optional(),
14
+ checkout_url: zod.z.string().describe("Alternative field name for the payment checkout URL. Contains the same checkout session link.").nullable().optional(),
15
+ payment_link: zod.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()
16
+ }).describe("Response from creating a fiat currency invoice.");
17
+ const poofCreateFiatInvoice = require_action.action("POOF_CREATE_FIAT_INVOICE", {
18
+ slug: "poof-create-fiat-invoice",
19
+ name: "Create Fiat Invoice",
20
+ 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.",
21
+ input: PoofCreateFiatInvoiceInput,
22
+ output: PoofCreateFiatInvoiceOutput
23
+ });
24
+ //#endregion
25
+ exports.poofCreateFiatInvoice = poofCreateFiatInvoice;
26
+
27
+ //# sourceMappingURL=create-fiat-invoice.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-fiat-invoice.cjs","names":["z","action"],"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":";;;AAIA,MAAa,6BAA2CA,IAAAA,EAAE,OAAO;CAC/D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wHAAwH;CACpJ,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oWAAoW;CACjY,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0IAA0I;CACxK,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sIAAsI;CACvK,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6HAA6H;AACjK,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAa,8BAA4CA,IAAAA,EAAE,OAAO;CAChE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvJ,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uJAAuJ,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjN,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAE7D,MAAa,wBAAwBC,eAAAA,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/create-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]>;
7
+ //#endregion
8
+ export { poofCreateFiatInvoice };
9
+ //# sourceMappingURL=create-fiat-invoice.d.cts.map
@@ -0,0 +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"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
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]>;
7
+ //#endregion
8
+ export { poofCreateFiatInvoice };
9
+ //# sourceMappingURL=create-fiat-invoice.d.mts.map
@@ -0,0 +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"}
@@ -0,0 +1,24 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const poofCreateFiatInvoice = action("POOF_CREATE_FIAT_INVOICE", {
4
+ slug: "poof-create-fiat-invoice",
5
+ name: "Create Fiat Invoice",
6
+ 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.",
7
+ input: z.object({
8
+ 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."),
9
+ 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."),
10
+ 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."),
11
+ success_url: z.string().describe("URL to redirect the customer to after successful payment completion. This is typically your application's success/confirmation page."),
12
+ 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.")
13
+ }).describe("Request parameters for creating a fiat currency invoice."),
14
+ output: z.object({
15
+ status: z.string().describe("Status of the invoice (e.g., 'pending', 'created').").nullable().optional(),
16
+ invoice_id: z.string().describe("Unique identifier for the created invoice.").nullable().optional(),
17
+ checkout_url: z.string().describe("Alternative field name for the payment checkout URL. Contains the same checkout session link.").nullable().optional(),
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.")
20
+ });
21
+ //#endregion
22
+ export { poofCreateFiatInvoice };
23
+
24
+ //# sourceMappingURL=create-fiat-invoice.mjs.map
@@ -0,0 +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"}