@keystrokehq/poof 0.1.4 → 0.1.6

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 (101) 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 -0
  4. package/dist/actions/check-balance.cjs.map +1 -1
  5. package/dist/actions/check-balance.d.cts +3 -3
  6. package/dist/actions/check-balance.d.cts.map +1 -1
  7. package/dist/actions/check-balance.d.mts +3 -3
  8. package/dist/actions/check-balance.d.mts.map +1 -1
  9. package/dist/actions/check-balance.mjs +1 -0
  10. package/dist/actions/check-balance.mjs.map +1 -1
  11. package/dist/actions/create-checkout.cjs +1 -0
  12. package/dist/actions/create-checkout.cjs.map +1 -1
  13. package/dist/actions/create-checkout.d.cts +3 -16
  14. package/dist/actions/create-checkout.d.cts.map +1 -1
  15. package/dist/actions/create-checkout.d.mts +3 -16
  16. package/dist/actions/create-checkout.d.mts.map +1 -1
  17. package/dist/actions/create-checkout.mjs +1 -0
  18. package/dist/actions/create-checkout.mjs.map +1 -1
  19. package/dist/actions/create-deposit-address.cjs +1 -0
  20. package/dist/actions/create-deposit-address.cjs.map +1 -1
  21. package/dist/actions/create-deposit-address.d.cts +3 -6
  22. package/dist/actions/create-deposit-address.d.cts.map +1 -1
  23. package/dist/actions/create-deposit-address.d.mts +3 -6
  24. package/dist/actions/create-deposit-address.d.mts.map +1 -1
  25. package/dist/actions/create-deposit-address.mjs +1 -0
  26. package/dist/actions/create-deposit-address.mjs.map +1 -1
  27. package/dist/actions/create-fiat-charge.cjs +1 -0
  28. package/dist/actions/create-fiat-charge.cjs.map +1 -1
  29. package/dist/actions/create-fiat-charge.d.cts +3 -7
  30. package/dist/actions/create-fiat-charge.d.cts.map +1 -1
  31. package/dist/actions/create-fiat-charge.d.mts +3 -7
  32. package/dist/actions/create-fiat-charge.d.mts.map +1 -1
  33. package/dist/actions/create-fiat-charge.mjs +1 -0
  34. package/dist/actions/create-fiat-charge.mjs.map +1 -1
  35. package/dist/actions/create-fiat-invoice.cjs +1 -0
  36. package/dist/actions/create-fiat-invoice.cjs.map +1 -1
  37. package/dist/actions/create-fiat-invoice.d.cts +3 -7
  38. package/dist/actions/create-fiat-invoice.d.cts.map +1 -1
  39. package/dist/actions/create-fiat-invoice.d.mts +3 -7
  40. package/dist/actions/create-fiat-invoice.d.mts.map +1 -1
  41. package/dist/actions/create-fiat-invoice.mjs +1 -0
  42. package/dist/actions/create-fiat-invoice.mjs.map +1 -1
  43. package/dist/actions/create-payment-link.cjs +1 -0
  44. package/dist/actions/create-payment-link.cjs.map +1 -1
  45. package/dist/actions/create-payment-link.d.cts +3 -5
  46. package/dist/actions/create-payment-link.d.cts.map +1 -1
  47. package/dist/actions/create-payment-link.d.mts +3 -5
  48. package/dist/actions/create-payment-link.d.mts.map +1 -1
  49. package/dist/actions/create-payment-link.mjs +1 -0
  50. package/dist/actions/create-payment-link.mjs.map +1 -1
  51. package/dist/actions/create-webhook.cjs +1 -0
  52. package/dist/actions/create-webhook.cjs.map +1 -1
  53. package/dist/actions/create-webhook.d.cts +3 -3
  54. package/dist/actions/create-webhook.d.cts.map +1 -1
  55. package/dist/actions/create-webhook.d.mts +3 -3
  56. package/dist/actions/create-webhook.d.mts.map +1 -1
  57. package/dist/actions/create-webhook.mjs +1 -0
  58. package/dist/actions/create-webhook.mjs.map +1 -1
  59. package/dist/actions/fetch-gas-price.cjs +1 -0
  60. package/dist/actions/fetch-gas-price.cjs.map +1 -1
  61. package/dist/actions/fetch-gas-price.d.cts +3 -3
  62. package/dist/actions/fetch-gas-price.d.cts.map +1 -1
  63. package/dist/actions/fetch-gas-price.d.mts +3 -3
  64. package/dist/actions/fetch-gas-price.d.mts.map +1 -1
  65. package/dist/actions/fetch-gas-price.mjs +1 -0
  66. package/dist/actions/fetch-gas-price.mjs.map +1 -1
  67. package/dist/actions/fetch-price.cjs +1 -0
  68. package/dist/actions/fetch-price.cjs.map +1 -1
  69. package/dist/actions/fetch-price.d.cts +3 -3
  70. package/dist/actions/fetch-price.d.cts.map +1 -1
  71. package/dist/actions/fetch-price.d.mts +3 -3
  72. package/dist/actions/fetch-price.d.mts.map +1 -1
  73. package/dist/actions/fetch-price.mjs +1 -0
  74. package/dist/actions/fetch-price.mjs.map +1 -1
  75. package/dist/actions/fetch-smart-contracts.cjs +1 -0
  76. package/dist/actions/fetch-smart-contracts.cjs.map +1 -1
  77. package/dist/actions/fetch-smart-contracts.d.cts +3 -1
  78. package/dist/actions/fetch-smart-contracts.d.cts.map +1 -1
  79. package/dist/actions/fetch-smart-contracts.d.mts +3 -1
  80. package/dist/actions/fetch-smart-contracts.d.mts.map +1 -1
  81. package/dist/actions/fetch-smart-contracts.mjs +1 -0
  82. package/dist/actions/fetch-smart-contracts.mjs.map +1 -1
  83. package/dist/actions/send-payout.cjs +1 -0
  84. package/dist/actions/send-payout.cjs.map +1 -1
  85. package/dist/actions/send-payout.d.cts +3 -5
  86. package/dist/actions/send-payout.d.cts.map +1 -1
  87. package/dist/actions/send-payout.d.mts +3 -5
  88. package/dist/actions/send-payout.d.mts.map +1 -1
  89. package/dist/actions/send-payout.mjs +1 -0
  90. package/dist/actions/send-payout.mjs.map +1 -1
  91. package/dist/app.cjs +5 -2
  92. package/dist/app.cjs.map +1 -1
  93. package/dist/app.d.cts +7 -1
  94. package/dist/app.d.cts.map +1 -1
  95. package/dist/app.d.mts +7 -1
  96. package/dist/app.d.mts.map +1 -1
  97. package/dist/app.mjs +3 -2
  98. package/dist/app.mjs.map +1 -1
  99. package/dist/index.d.cts +1 -1
  100. package/dist/index.d.mts +1 -1
  101. package/package.json +2 -2
@@ -1 +1 @@
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
+ {"version":3,"file":"create-payment-link.d.cts","names":[],"sources":["../../src/actions/create-payment-link.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;cAK1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;cAK3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,IAAA,CAAK,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { poof } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/create-payment-link.d.ts
@@ -10,11 +12,7 @@ declare const PoofCreatePaymentLinkOutput: z.ZodObject<{
10
12
  message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
13
  payment_link: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
14
  }, 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]>;
15
+ declare const poofCreatePaymentLink: AppAction<typeof PoofCreatePaymentLinkInput, typeof PoofCreatePaymentLinkOutput, typeof poof.credential>;
18
16
  //#endregion
19
17
  export { poofCreatePaymentLink };
20
18
  //# 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,EAA0B,CAAA,CAAA,SAAA;;;;;cAK1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;cAK3B,qBAAA,gCAAqB,wBAAA;;;YAMhC,MAAA;AAAA"}
1
+ {"version":3,"file":"create-payment-link.d.mts","names":[],"sources":["../../src/actions/create-payment-link.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;cAK1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;cAK3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,IAAA,CAAK,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const poofCreatePaymentLink = action("POOF_CREATE_PAYMENT_LINK", {
@@ -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.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"}
1
+ {"version":3,"file":"create-payment-link.mjs","names":[],"sources":["../../src/actions/create-payment-link.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { poof } from \"../app\";\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: AppAction<\n typeof PoofCreatePaymentLinkInput,\n typeof PoofCreatePaymentLinkOutput,\n typeof poof.credential\n> = 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":";;;AAgBA,MAAa,wBAIT,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlBwC,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,kFAcH;CACP,QAdyC,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,wDAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/create-webhook.ts
@@ -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.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
+ {"version":3,"file":"create-webhook.cjs","names":["z","action"],"sources":["../../src/actions/create-webhook.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { poof } from \"../app\";\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: AppAction<\n typeof PoofCreateWebhookInput,\n typeof PoofCreateWebhookOutput,\n typeof poof.credential\n> = 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":";;;;AAMA,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,oBAITC,eAAAA,OAAO,uBAAuB;CAChC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { poof } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/create-webhook.d.ts
@@ -9,9 +11,7 @@ declare const PoofCreateWebhookOutput: z.ZodObject<{
9
11
  success: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
10
12
  webhook_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
13
  }, 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]>;
14
+ declare const poofCreateWebhook: AppAction<typeof PoofCreateWebhookInput, typeof PoofCreateWebhookOutput, typeof poof.credential>;
15
15
  //#endregion
16
16
  export { poofCreateWebhook };
17
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,EAAsB,CAAA,CAAA,SAAA;;;cAGtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;cAMvB,iBAAA,gCAAiB,wBAAA"}
1
+ {"version":3,"file":"create-webhook.d.cts","names":[],"sources":["../../src/actions/create-webhook.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;cAGtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;cAMvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,SACA,IAAA,CAAK,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { poof } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/create-webhook.d.ts
@@ -9,9 +11,7 @@ declare const PoofCreateWebhookOutput: z.ZodObject<{
9
11
  success: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
10
12
  webhook_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
13
  }, 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]>;
14
+ declare const poofCreateWebhook: AppAction<typeof PoofCreateWebhookInput, typeof PoofCreateWebhookOutput, typeof poof.credential>;
15
15
  //#endregion
16
16
  export { poofCreateWebhook };
17
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,EAAsB,CAAA,CAAA,SAAA;;;cAGtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;cAMvB,iBAAA,gCAAiB,wBAAA"}
1
+ {"version":3,"file":"create-webhook.d.mts","names":[],"sources":["../../src/actions/create-webhook.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;cAGtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;cAMvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,SACA,IAAA,CAAK,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const poofCreateWebhook = action("POOF_CREATE_WEBHOOK", {
@@ -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.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"}
1
+ {"version":3,"file":"create-webhook.mjs","names":[],"sources":["../../src/actions/create-webhook.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { poof } from \"../app\";\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: AppAction<\n typeof PoofCreateWebhookInput,\n typeof PoofCreateWebhookOutput,\n typeof poof.credential\n> = 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":";;;AAeA,MAAa,oBAIT,OAAO,uBAAuB;CAChC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjBoC,EAAE,OAAO,EAC7C,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,EACjH,CAAC,CAAC,CAAC,SAAS,4DAeH;CACP,QAfqC,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,8CAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/fetch-gas-price.ts
@@ -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.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
+ {"version":3,"file":"fetch-gas-price.cjs","names":["z","action"],"sources":["../../src/actions/fetch-gas-price.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { poof } from \"../app\";\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: AppAction<\n typeof PoofFetchGasPriceInput,\n typeof PoofFetchGasPriceOutput,\n typeof poof.credential\n> = 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":";;;;AAMA,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,oBAITC,eAAAA,OAAO,wBAAwB;CACjC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { poof } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/fetch-gas-price.d.ts
@@ -13,9 +15,7 @@ declare const PoofFetchGasPriceOutput: z.ZodObject<{
13
15
  transaction_fee: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
16
  gas_fee_currency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
17
  }, 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]>;
18
+ declare const poofFetchGasPrice: AppAction<typeof PoofFetchGasPriceInput, typeof PoofFetchGasPriceOutput, typeof poof.credential>;
19
19
  //#endregion
20
20
  export { poofFetchGasPrice };
21
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,EAAsB,CAAA,CAAA,SAAA;;;cAGtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;cAUvB,iBAAA,gCAAiB,wBAAA"}
1
+ {"version":3,"file":"fetch-gas-price.d.cts","names":[],"sources":["../../src/actions/fetch-gas-price.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;cAGtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;cAUvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,SACA,IAAA,CAAK,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { poof } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/fetch-gas-price.d.ts
@@ -13,9 +15,7 @@ declare const PoofFetchGasPriceOutput: z.ZodObject<{
13
15
  transaction_fee: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
16
  gas_fee_currency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
17
  }, 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]>;
18
+ declare const poofFetchGasPrice: AppAction<typeof PoofFetchGasPriceInput, typeof PoofFetchGasPriceOutput, typeof poof.credential>;
19
19
  //#endregion
20
20
  export { poofFetchGasPrice };
21
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,EAAsB,CAAA,CAAA,SAAA;;;cAGtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;cAUvB,iBAAA,gCAAiB,wBAAA"}
1
+ {"version":3,"file":"fetch-gas-price.d.mts","names":[],"sources":["../../src/actions/fetch-gas-price.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;cAGtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;cAUvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,SACA,IAAA,CAAK,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const poofFetchGasPrice = action("POOF_FETCH_GAS_PRICE", {
@@ -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.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"}
1
+ {"version":3,"file":"fetch-gas-price.mjs","names":[],"sources":["../../src/actions/fetch-gas-price.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { poof } from \"../app\";\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: AppAction<\n typeof PoofFetchGasPriceInput,\n typeof PoofFetchGasPriceOutput,\n typeof poof.credential\n> = 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":";;;AAmBA,MAAa,oBAIT,OAAO,wBAAwB;CACjC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OArBoC,EAAE,OAAO,EAC7C,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kKAAkK,EAChM,CAmBS;CACP,QAnBqC,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,sEAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/fetch-price.ts
@@ -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.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
+ {"version":3,"file":"fetch-price.cjs","names":["z","action"],"sources":["../../src/actions/fetch-price.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { poof } from \"../app\";\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: AppAction<\n typeof PoofFetchPriceInput,\n typeof PoofFetchPriceOutput,\n typeof poof.credential\n> = 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":";;;;AAMA,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,iBAITC,eAAAA,OAAO,oBAAoB;CAC7B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { poof } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/fetch-price.d.ts
@@ -9,9 +11,7 @@ declare const PoofFetchPriceOutput: z.ZodObject<{
9
11
  error: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>>;
10
12
  successfull: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
11
13
  }, 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]>;
14
+ declare const poofFetchPrice: AppAction<typeof PoofFetchPriceInput, typeof PoofFetchPriceOutput, typeof poof.credential>;
15
15
  //#endregion
16
16
  export { poofFetchPrice };
17
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,EAAmB,CAAA,CAAA,SAAA;;;cAGnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;cAMpB,cAAA,gCAAc,wBAAA"}
1
+ {"version":3,"file":"fetch-price.d.cts","names":[],"sources":["../../src/actions/fetch-price.ts"],"mappings":";;;;;cAMa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;cAGnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;cAMpB,cAAA,EAAgB,SAAA,QACpB,mBAAA,SACA,oBAAA,SACA,IAAA,CAAK,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { poof } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/fetch-price.d.ts
@@ -9,9 +11,7 @@ declare const PoofFetchPriceOutput: z.ZodObject<{
9
11
  error: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>>;
10
12
  successfull: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
11
13
  }, 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]>;
14
+ declare const poofFetchPrice: AppAction<typeof PoofFetchPriceInput, typeof PoofFetchPriceOutput, typeof poof.credential>;
15
15
  //#endregion
16
16
  export { poofFetchPrice };
17
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,EAAmB,CAAA,CAAA,SAAA;;;cAGnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;cAMpB,cAAA,gCAAc,wBAAA"}
1
+ {"version":3,"file":"fetch-price.d.mts","names":[],"sources":["../../src/actions/fetch-price.ts"],"mappings":";;;;;cAMa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;cAGnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;cAMpB,cAAA,EAAgB,SAAA,QACpB,mBAAA,SACA,oBAAA,SACA,IAAA,CAAK,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const poofFetchPrice = action("POOF_FETCH_PRICE", {
@@ -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.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"}
1
+ {"version":3,"file":"fetch-price.mjs","names":[],"sources":["../../src/actions/fetch-price.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { poof } from \"../app\";\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: AppAction<\n typeof PoofFetchPriceInput,\n typeof PoofFetchPriceOutput,\n typeof poof.credential\n> = 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":";;;AAeA,MAAa,iBAIT,OAAO,oBAAoB;CAC7B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjBiC,EAAE,OAAO,EAC1C,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,EACnI,CAAC,CAAC,CAAC,SAAS,0DAeH;CACP,QAfkC,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,8DAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/fetch-smart-contracts.ts
@@ -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.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"}
1
+ {"version":3,"file":"fetch-smart-contracts.cjs","names":["z","action"],"sources":["../../src/actions/fetch-smart-contracts.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { poof } from \"../app\";\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: AppAction<\n typeof PoofFetchSmartContractsInput,\n typeof PoofFetchSmartContractsOutput,\n typeof poof.credential\n> = 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":";;;;AAMA,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,0BAITC,eAAAA,OAAO,8BAA8B;CACvC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { poof } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/fetch-smart-contracts.d.ts
@@ -7,7 +9,7 @@ declare const PoofFetchSmartContractsOutput: z.ZodObject<{
7
9
  ethereum: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
8
10
  avalanche: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
9
11
  }, z.core.$loose>;
10
- declare const poofFetchSmartContracts: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
12
+ declare const poofFetchSmartContracts: AppAction<typeof PoofFetchSmartContractsInput, typeof PoofFetchSmartContractsOutput, typeof poof.credential>;
11
13
  //#endregion
12
14
  export { poofFetchSmartContracts };
13
15
  //# sourceMappingURL=fetch-smart-contracts.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"fetch-smart-contracts.d.cts","names":[],"sources":["../../src/actions/fetch-smart-contracts.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;cAM7B,uBAAA,gCAAuB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"fetch-smart-contracts.d.cts","names":[],"sources":["../../src/actions/fetch-smart-contracts.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;cAM7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,IAAA,CAAK,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { poof } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/fetch-smart-contracts.d.ts
@@ -7,7 +9,7 @@ declare const PoofFetchSmartContractsOutput: z.ZodObject<{
7
9
  ethereum: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
8
10
  avalanche: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
9
11
  }, z.core.$loose>;
10
- declare const poofFetchSmartContracts: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
12
+ declare const poofFetchSmartContracts: AppAction<typeof PoofFetchSmartContractsInput, typeof PoofFetchSmartContractsOutput, typeof poof.credential>;
11
13
  //#endregion
12
14
  export { poofFetchSmartContracts };
13
15
  //# sourceMappingURL=fetch-smart-contracts.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"fetch-smart-contracts.d.mts","names":[],"sources":["../../src/actions/fetch-smart-contracts.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;cAM7B,uBAAA,gCAAuB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"fetch-smart-contracts.d.mts","names":[],"sources":["../../src/actions/fetch-smart-contracts.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;cAM7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,IAAA,CAAK,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const poofFetchSmartContracts = action("POOF_FETCH_SMART_CONTRACTS", {
@@ -1 +1 @@
1
- {"version":3,"file":"fetch-smart-contracts.mjs","names":[],"sources":["../../src/actions/fetch-smart-contracts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PoofFetchSmartContractsInput = z.object({}).describe(\"Request model for fetching supported smart contracts.\\nNo parameters required - the API returns all available contracts.\");\nexport const PoofFetchSmartContractsOutput = z.object({\n polygon: z.record(z.string(), z.unknown()).describe(\"Polygon network token contracts keyed by token identifier\").nullable().optional(),\n ethereum: z.record(z.string(), z.unknown()).describe(\"Ethereum network ERC-20 token contracts keyed by token identifier\").nullable().optional(),\n avalanche: z.record(z.string(), z.unknown()).describe(\"Avalanche network token contracts keyed by token identifier\").nullable().optional(),\n}).passthrough().describe(\"Response model containing smart contracts organized by blockchain network.\\nEach network contains token identifiers mapped to their contract details.\");\n\nexport const poofFetchSmartContracts = action(\"POOF_FETCH_SMART_CONTRACTS\", {\n slug: \"poof-fetch-smart-contracts\",\n name: \"Fetch Smart Contracts\",\n description: \"Tool to fetch all supported ERC-20 smart contracts across Ethereum, Avalanche, and Polygon networks. Use when you need to retrieve available token contracts and their details for blockchain operations.\",\n input: PoofFetchSmartContractsInput,\n output: PoofFetchSmartContractsOutput,\n});\n"],"mappings":";;AAWA,MAAa,0BAA0B,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAX0C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0HAWzD;CACP,QAX2C,EAAE,OAAO;EACpD,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrI,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9I,WAAW,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uJAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"fetch-smart-contracts.mjs","names":[],"sources":["../../src/actions/fetch-smart-contracts.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { poof } from \"../app\";\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: AppAction<\n typeof PoofFetchSmartContractsInput,\n typeof PoofFetchSmartContractsOutput,\n typeof poof.credential\n> = 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":";;;AAaA,MAAa,0BAIT,OAAO,8BAA8B;CACvC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAf0C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0HAezD;CACP,QAf2C,EAAE,OAAO;EACpD,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrI,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9I,WAAW,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uJAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/send-payout.ts
@@ -1 +1 @@
1
- {"version":3,"file":"send-payout.cjs","names":["z","action"],"sources":["../../src/actions/send-payout.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PoofSendPayoutInput = z.object({\n amount: z.number().describe(\"Amount of cryptocurrency to send. Must be a positive number.\"),\n crypto: z.string().describe(\"Cryptocurrency type to use for the payout. Supported values include blockchain names such as 'solana', 'ethereum', 'bitcoin', etc.\"),\n address: z.string().describe(\"Destination wallet address on the specified blockchain. Must be a valid address format for the chosen cryptocurrency.\"),\n}).describe(\"Request model for sending a cryptocurrency payout transaction.\");\nexport const PoofSendPayoutOutput = z.object({\n status: z.string().describe(\"Current status of the payout transaction (e.g., pending, completed, failed).\").nullable().optional(),\n message: z.string().describe(\"Additional message or details about the payout request.\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the payout request was successful.\").nullable().optional(),\n transaction_id: z.string().describe(\"Unique identifier for the payout transaction.\").nullable().optional(),\n}).passthrough().describe(\"Response model returned after initiating a cryptocurrency payout transaction.\");\n\nexport const poofSendPayout = action(\"POOF_SEND_PAYOUT\", {\n slug: \"poof-send-payout\",\n name: \"Send Cryptocurrency Payout\",\n description: \"Tool to send a cryptocurrency payout transaction from your wallet to an external address. Use when you need to transfer crypto on supported blockchains.\",\n input: PoofSendPayoutInput,\n output: PoofSendPayoutOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAsBA,IAAAA,EAAE,OAAO;CAC1C,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;CAC1F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oIAAoI;CAChK,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uHAAuH;AACtJ,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAa,uBAAuBA,IAAAA,EAAE,OAAO;CAC3C,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChI,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+EAA+E;AAEzG,MAAa,iBAAiBC,eAAAA,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"send-payout.cjs","names":["z","action"],"sources":["../../src/actions/send-payout.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { poof } from \"../app\";\n\nexport const PoofSendPayoutInput = z.object({\n amount: z.number().describe(\"Amount of cryptocurrency to send. Must be a positive number.\"),\n crypto: z.string().describe(\"Cryptocurrency type to use for the payout. Supported values include blockchain names such as 'solana', 'ethereum', 'bitcoin', etc.\"),\n address: z.string().describe(\"Destination wallet address on the specified blockchain. Must be a valid address format for the chosen cryptocurrency.\"),\n}).describe(\"Request model for sending a cryptocurrency payout transaction.\");\nexport const PoofSendPayoutOutput = z.object({\n status: z.string().describe(\"Current status of the payout transaction (e.g., pending, completed, failed).\").nullable().optional(),\n message: z.string().describe(\"Additional message or details about the payout request.\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the payout request was successful.\").nullable().optional(),\n transaction_id: z.string().describe(\"Unique identifier for the payout transaction.\").nullable().optional(),\n}).passthrough().describe(\"Response model returned after initiating a cryptocurrency payout transaction.\");\n\nexport const poofSendPayout: AppAction<\n typeof PoofSendPayoutInput,\n typeof PoofSendPayoutOutput,\n typeof poof.credential\n> = action(\"POOF_SEND_PAYOUT\", {\n slug: \"poof-send-payout\",\n name: \"Send Cryptocurrency Payout\",\n description: \"Tool to send a cryptocurrency payout transaction from your wallet to an external address. Use when you need to transfer crypto on supported blockchains.\",\n input: PoofSendPayoutInput,\n output: PoofSendPayoutOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,sBAAsBA,IAAAA,EAAE,OAAO;CAC1C,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;CAC1F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oIAAoI;CAChK,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uHAAuH;AACtJ,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAa,uBAAuBA,IAAAA,EAAE,OAAO;CAC3C,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChI,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+EAA+E;AAEzG,MAAa,iBAITC,eAAAA,OAAO,oBAAoB;CAC7B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { poof } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/send-payout.d.ts
@@ -12,11 +14,7 @@ declare const PoofSendPayoutOutput: z.ZodObject<{
12
14
  success: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
13
15
  transaction_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
16
  }, z.core.$loose>;
15
- declare const poofSendPayout: import("@keystrokehq/action").WorkflowActionDefinition<{
16
- amount: number;
17
- crypto: string;
18
- address: string;
19
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
17
+ declare const poofSendPayout: AppAction<typeof PoofSendPayoutInput, typeof PoofSendPayoutOutput, typeof poof.credential>;
20
18
  //#endregion
21
19
  export { poofSendPayout };
22
20
  //# sourceMappingURL=send-payout.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"send-payout.d.cts","names":[],"sources":["../../src/actions/send-payout.ts"],"mappings":";;;cAIa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;;cAKnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;cAOpB,cAAA,gCAAc,wBAAA"}
1
+ {"version":3,"file":"send-payout.d.cts","names":[],"sources":["../../src/actions/send-payout.ts"],"mappings":";;;;;cAMa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;;cAKnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;cAOpB,cAAA,EAAgB,SAAA,QACpB,mBAAA,SACA,oBAAA,SACA,IAAA,CAAK,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { poof } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/send-payout.d.ts
@@ -12,11 +14,7 @@ declare const PoofSendPayoutOutput: z.ZodObject<{
12
14
  success: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
13
15
  transaction_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
16
  }, z.core.$loose>;
15
- declare const poofSendPayout: import("@keystrokehq/action").WorkflowActionDefinition<{
16
- amount: number;
17
- crypto: string;
18
- address: string;
19
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
17
+ declare const poofSendPayout: AppAction<typeof PoofSendPayoutInput, typeof PoofSendPayoutOutput, typeof poof.credential>;
20
18
  //#endregion
21
19
  export { poofSendPayout };
22
20
  //# sourceMappingURL=send-payout.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"send-payout.d.mts","names":[],"sources":["../../src/actions/send-payout.ts"],"mappings":";;;cAIa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;;cAKnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;cAOpB,cAAA,gCAAc,wBAAA"}
1
+ {"version":3,"file":"send-payout.d.mts","names":[],"sources":["../../src/actions/send-payout.ts"],"mappings":";;;;;cAMa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;;cAKnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;cAOpB,cAAA,EAAgB,SAAA,QACpB,mBAAA,SACA,oBAAA,SACA,IAAA,CAAK,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const poofSendPayout = action("POOF_SEND_PAYOUT", {
@@ -1 +1 @@
1
- {"version":3,"file":"send-payout.mjs","names":[],"sources":["../../src/actions/send-payout.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PoofSendPayoutInput = z.object({\n amount: z.number().describe(\"Amount of cryptocurrency to send. Must be a positive number.\"),\n crypto: z.string().describe(\"Cryptocurrency type to use for the payout. Supported values include blockchain names such as 'solana', 'ethereum', 'bitcoin', etc.\"),\n address: z.string().describe(\"Destination wallet address on the specified blockchain. Must be a valid address format for the chosen cryptocurrency.\"),\n}).describe(\"Request model for sending a cryptocurrency payout transaction.\");\nexport const PoofSendPayoutOutput = z.object({\n status: z.string().describe(\"Current status of the payout transaction (e.g., pending, completed, failed).\").nullable().optional(),\n message: z.string().describe(\"Additional message or details about the payout request.\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the payout request was successful.\").nullable().optional(),\n transaction_id: z.string().describe(\"Unique identifier for the payout transaction.\").nullable().optional(),\n}).passthrough().describe(\"Response model returned after initiating a cryptocurrency payout transaction.\");\n\nexport const poofSendPayout = action(\"POOF_SEND_PAYOUT\", {\n slug: \"poof-send-payout\",\n name: \"Send Cryptocurrency Payout\",\n description: \"Tool to send a cryptocurrency payout transaction from your wallet to an external address. Use when you need to transfer crypto on supported blockchains.\",\n input: PoofSendPayoutInput,\n output: PoofSendPayoutOutput,\n});\n"],"mappings":";;AAgBA,MAAa,iBAAiB,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBiC,EAAE,OAAO;EAC1C,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;EAC1F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oIAAoI;EAChK,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uHAAuH;CACtJ,CAAC,CAAC,CAAC,SAAS,gEAYH;CACP,QAZkC,EAAE,OAAO;EAC3C,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChI,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5G,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1G,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+EAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"send-payout.mjs","names":[],"sources":["../../src/actions/send-payout.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { poof } from \"../app\";\n\nexport const PoofSendPayoutInput = z.object({\n amount: z.number().describe(\"Amount of cryptocurrency to send. Must be a positive number.\"),\n crypto: z.string().describe(\"Cryptocurrency type to use for the payout. Supported values include blockchain names such as 'solana', 'ethereum', 'bitcoin', etc.\"),\n address: z.string().describe(\"Destination wallet address on the specified blockchain. Must be a valid address format for the chosen cryptocurrency.\"),\n}).describe(\"Request model for sending a cryptocurrency payout transaction.\");\nexport const PoofSendPayoutOutput = z.object({\n status: z.string().describe(\"Current status of the payout transaction (e.g., pending, completed, failed).\").nullable().optional(),\n message: z.string().describe(\"Additional message or details about the payout request.\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the payout request was successful.\").nullable().optional(),\n transaction_id: z.string().describe(\"Unique identifier for the payout transaction.\").nullable().optional(),\n}).passthrough().describe(\"Response model returned after initiating a cryptocurrency payout transaction.\");\n\nexport const poofSendPayout: AppAction<\n typeof PoofSendPayoutInput,\n typeof PoofSendPayoutOutput,\n typeof poof.credential\n> = action(\"POOF_SEND_PAYOUT\", {\n slug: \"poof-send-payout\",\n name: \"Send Cryptocurrency Payout\",\n description: \"Tool to send a cryptocurrency payout transaction from your wallet to an external address. Use when you need to transfer crypto on supported blockchains.\",\n input: PoofSendPayoutInput,\n output: PoofSendPayoutOutput,\n});\n"],"mappings":";;;AAkBA,MAAa,iBAIT,OAAO,oBAAoB;CAC7B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApBiC,EAAE,OAAO;EAC1C,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;EAC1F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oIAAoI;EAChK,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uHAAuH;CACtJ,CAAC,CAAC,CAAC,SAAS,gEAgBH;CACP,QAhBkC,EAAE,OAAO;EAC3C,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChI,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5G,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1G,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+EAWhB;AACV,CAAC"}
package/dist/app.cjs CHANGED
@@ -1,7 +1,10 @@
1
+ let _keystrokehq_keystroke_app = require("@keystrokehq/keystroke/app");
1
2
  //#region src/app.ts
2
- const poof = (0, require("@keystrokehq/keystroke/app").defineApp)({
3
+ const credential = { generic_api_key: require("zod").z.string() };
4
+ const poof = (0, _keystrokehq_keystroke_app.defineApp)({
3
5
  slug: "poof",
4
- auth: "keystroke"
6
+ auth: "keystroke",
7
+ credential
5
8
  });
6
9
  //#endregion
7
10
  exports.poof = poof;
package/dist/app.cjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"app.cjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const poof = defineApp({\n slug: \"poof\",\n auth: \"keystroke\",\n});\n"],"mappings":";AAEA,MAAa,QAAA,uCAAA,CAAA,CAAA,UAAA,CAAiB;CAC5B,MAAM;CACN,MAAM;AACR,CAAC"}
1
+ {"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n generic_api_key: z.string(),\n};\n\nexport const poof: KeystrokeApp<\"poof\", typeof credential> = defineApp({\n slug: \"poof\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAGA,MAAM,aAAa,EACjB,8BAAiBA,CAAAA,CAAAA,EAAE,OAAO,EAC5B;AAEA,MAAa,QAAA,GAAA,2BAAA,UAAA,CAA0D;CACrE,MAAM;CACN,MAAM;CACN;AACF,CAAC"}
package/dist/app.d.cts CHANGED
@@ -1,5 +1,11 @@
1
+ import { KeystrokeApp } from "@keystrokehq/keystroke/app";
2
+ import { z } from "zod";
3
+
1
4
  //#region src/app.d.ts
2
- declare const poof: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
5
+ declare const credential: {
6
+ generic_api_key: z.ZodString;
7
+ };
8
+ declare const poof: KeystrokeApp<"poof", typeof credential>;
3
9
  //#endregion
4
10
  export { poof };
5
11
  //# sourceMappingURL=app.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,IAAA,6BAAI,GAAA,+BAAA,UAAA"}
1
+ {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;mBAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,IAAA,EAAM,YAAY,gBAAgB,UAAA"}
package/dist/app.d.mts CHANGED
@@ -1,5 +1,11 @@
1
+ import { KeystrokeApp } from "@keystrokehq/keystroke/app";
2
+ import { z } from "zod";
3
+
1
4
  //#region src/app.d.ts
2
- declare const poof: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
5
+ declare const credential: {
6
+ generic_api_key: z.ZodString;
7
+ };
8
+ declare const poof: KeystrokeApp<"poof", typeof credential>;
3
9
  //#endregion
4
10
  export { poof };
5
11
  //# sourceMappingURL=app.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,IAAA,6BAAI,GAAA,+BAAA,UAAA"}
1
+ {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;mBAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,IAAA,EAAM,YAAY,gBAAgB,UAAA"}
package/dist/app.mjs CHANGED
@@ -1,8 +1,9 @@
1
1
  import { defineApp } from "@keystrokehq/keystroke/app";
2
- //#region src/app.ts
2
+ import { z } from "zod";
3
3
  const poof = defineApp({
4
4
  slug: "poof",
5
- auth: "keystroke"
5
+ auth: "keystroke",
6
+ credential: { generic_api_key: z.string() }
6
7
  });
7
8
  //#endregion
8
9
  export { poof };
package/dist/app.mjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const poof = defineApp({\n slug: \"poof\",\n auth: \"keystroke\",\n});\n"],"mappings":";;AAEA,MAAa,OAAO,UAAU;CAC5B,MAAM;CACN,MAAM;AACR,CAAC"}
1
+ {"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n generic_api_key: z.string(),\n};\n\nexport const poof: KeystrokeApp<\"poof\", typeof credential> = defineApp({\n slug: \"poof\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAOA,MAAa,OAAgD,UAAU;CACrE,MAAM;CACN,MAAM;CACN,cANA,iBAAiB,EAAE,OAAO,EAM1B;AACF,CAAC"}