@keystrokehq/poof 0.1.0 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (97) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/check-balance.cjs +1 -1
  4. package/dist/actions/check-balance.cjs.map +1 -1
  5. package/dist/actions/check-balance.d.cts +9 -3
  6. package/dist/actions/check-balance.d.cts.map +1 -1
  7. package/dist/actions/check-balance.d.mts +9 -3
  8. package/dist/actions/check-balance.d.mts.map +1 -1
  9. package/dist/actions/check-balance.mjs +1 -1
  10. package/dist/actions/check-balance.mjs.map +1 -1
  11. package/dist/actions/create-checkout.cjs +1 -1
  12. package/dist/actions/create-checkout.cjs.map +1 -1
  13. package/dist/actions/create-checkout.d.cts +35 -3
  14. package/dist/actions/create-checkout.d.cts.map +1 -1
  15. package/dist/actions/create-checkout.d.mts +35 -3
  16. package/dist/actions/create-checkout.d.mts.map +1 -1
  17. package/dist/actions/create-checkout.mjs +1 -1
  18. package/dist/actions/create-checkout.mjs.map +1 -1
  19. package/dist/actions/create-deposit-address.cjs +2 -2
  20. package/dist/actions/create-deposit-address.cjs.map +1 -1
  21. package/dist/actions/create-deposit-address.d.cts +22 -3
  22. package/dist/actions/create-deposit-address.d.cts.map +1 -1
  23. package/dist/actions/create-deposit-address.d.mts +22 -3
  24. package/dist/actions/create-deposit-address.d.mts.map +1 -1
  25. package/dist/actions/create-deposit-address.mjs +2 -2
  26. package/dist/actions/create-deposit-address.mjs.map +1 -1
  27. package/dist/actions/create-fiat-charge.cjs +1 -1
  28. package/dist/actions/create-fiat-charge.cjs.map +1 -1
  29. package/dist/actions/create-fiat-charge.d.cts +20 -3
  30. package/dist/actions/create-fiat-charge.d.cts.map +1 -1
  31. package/dist/actions/create-fiat-charge.d.mts +20 -3
  32. package/dist/actions/create-fiat-charge.d.mts.map +1 -1
  33. package/dist/actions/create-fiat-charge.mjs +1 -1
  34. package/dist/actions/create-fiat-charge.mjs.map +1 -1
  35. package/dist/actions/create-fiat-invoice.cjs +1 -1
  36. package/dist/actions/create-fiat-invoice.cjs.map +1 -1
  37. package/dist/actions/create-fiat-invoice.d.cts +20 -3
  38. package/dist/actions/create-fiat-invoice.d.cts.map +1 -1
  39. package/dist/actions/create-fiat-invoice.d.mts +20 -3
  40. package/dist/actions/create-fiat-invoice.d.mts.map +1 -1
  41. package/dist/actions/create-fiat-invoice.mjs +1 -1
  42. package/dist/actions/create-fiat-invoice.mjs.map +1 -1
  43. package/dist/actions/create-payment-link.cjs +2 -2
  44. package/dist/actions/create-payment-link.cjs.map +1 -1
  45. package/dist/actions/create-payment-link.d.cts +14 -3
  46. package/dist/actions/create-payment-link.d.cts.map +1 -1
  47. package/dist/actions/create-payment-link.d.mts +14 -3
  48. package/dist/actions/create-payment-link.d.mts.map +1 -1
  49. package/dist/actions/create-payment-link.mjs +2 -2
  50. package/dist/actions/create-payment-link.mjs.map +1 -1
  51. package/dist/actions/create-webhook.cjs +1 -1
  52. package/dist/actions/create-webhook.cjs.map +1 -1
  53. package/dist/actions/create-webhook.d.cts +11 -3
  54. package/dist/actions/create-webhook.d.cts.map +1 -1
  55. package/dist/actions/create-webhook.d.mts +11 -3
  56. package/dist/actions/create-webhook.d.mts.map +1 -1
  57. package/dist/actions/create-webhook.mjs +1 -1
  58. package/dist/actions/create-webhook.mjs.map +1 -1
  59. package/dist/actions/fetch-gas-price.cjs +1 -1
  60. package/dist/actions/fetch-gas-price.cjs.map +1 -1
  61. package/dist/actions/fetch-gas-price.d.cts +15 -3
  62. package/dist/actions/fetch-gas-price.d.cts.map +1 -1
  63. package/dist/actions/fetch-gas-price.d.mts +15 -3
  64. package/dist/actions/fetch-gas-price.d.mts.map +1 -1
  65. package/dist/actions/fetch-gas-price.mjs +1 -1
  66. package/dist/actions/fetch-gas-price.mjs.map +1 -1
  67. package/dist/actions/fetch-price.cjs +1 -1
  68. package/dist/actions/fetch-price.cjs.map +1 -1
  69. package/dist/actions/fetch-price.d.cts +11 -3
  70. package/dist/actions/fetch-price.d.cts.map +1 -1
  71. package/dist/actions/fetch-price.d.mts +11 -3
  72. package/dist/actions/fetch-price.d.mts.map +1 -1
  73. package/dist/actions/fetch-price.mjs +1 -1
  74. package/dist/actions/fetch-price.mjs.map +1 -1
  75. package/dist/actions/fetch-smart-contracts.cjs +4 -4
  76. package/dist/actions/fetch-smart-contracts.cjs.map +1 -1
  77. package/dist/actions/fetch-smart-contracts.d.cts +7 -3
  78. package/dist/actions/fetch-smart-contracts.d.cts.map +1 -1
  79. package/dist/actions/fetch-smart-contracts.d.mts +7 -3
  80. package/dist/actions/fetch-smart-contracts.d.mts.map +1 -1
  81. package/dist/actions/fetch-smart-contracts.mjs +4 -4
  82. package/dist/actions/fetch-smart-contracts.mjs.map +1 -1
  83. package/dist/actions/send-payout.cjs +1 -1
  84. package/dist/actions/send-payout.cjs.map +1 -1
  85. package/dist/actions/send-payout.d.cts +16 -3
  86. package/dist/actions/send-payout.d.cts.map +1 -1
  87. package/dist/actions/send-payout.d.mts +16 -3
  88. package/dist/actions/send-payout.d.mts.map +1 -1
  89. package/dist/actions/send-payout.mjs +1 -1
  90. package/dist/actions/send-payout.mjs.map +1 -1
  91. package/dist/catalog.cjs +7 -1
  92. package/dist/catalog.cjs.map +1 -1
  93. package/dist/catalog.d.cts +8 -0
  94. package/dist/catalog.d.mts +8 -0
  95. package/dist/catalog.mjs +7 -1
  96. package/dist/catalog.mjs.map +1 -1
  97. package/package.json +2 -2
@@ -1,9 +1,13 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/fetch-smart-contracts.d.ts
4
- declare const PoofFetchSmartContractsInput: z.ZodTypeAny;
5
- declare const PoofFetchSmartContractsOutput: z.ZodTypeAny;
6
- declare const poofFetchSmartContracts: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PoofFetchSmartContractsInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const PoofFetchSmartContractsOutput: z.ZodObject<{
6
+ polygon: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
7
+ ethereum: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
8
+ avalanche: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
9
+ }, 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]>;
7
11
  //#endregion
8
12
  export { poofFetchSmartContracts };
9
13
  //# sourceMappingURL=fetch-smart-contracts.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"fetch-smart-contracts.d.cts","names":[],"sources":["../../src/actions/fetch-smart-contracts.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAA8J;AAAA,cAC9L,6BAAA,EAA+B,CAAA,CAAE,UAIsH;AAAA,cAEvJ,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"fetch-smart-contracts.d.cts","names":[],"sources":["../../src/actions/fetch-smart-contracts.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;cAM7B,uBAAA,gCAAuB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -1,9 +1,13 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/fetch-smart-contracts.d.ts
4
- declare const PoofFetchSmartContractsInput: z.ZodTypeAny;
5
- declare const PoofFetchSmartContractsOutput: z.ZodTypeAny;
6
- declare const poofFetchSmartContracts: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PoofFetchSmartContractsInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const PoofFetchSmartContractsOutput: z.ZodObject<{
6
+ polygon: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
7
+ ethereum: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
8
+ avalanche: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
9
+ }, 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]>;
7
11
  //#endregion
8
12
  export { poofFetchSmartContracts };
9
13
  //# sourceMappingURL=fetch-smart-contracts.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"fetch-smart-contracts.d.mts","names":[],"sources":["../../src/actions/fetch-smart-contracts.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAA8J;AAAA,cAC9L,6BAAA,EAA+B,CAAA,CAAE,UAIsH;AAAA,cAEvJ,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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"}
@@ -6,10 +6,10 @@ const poofFetchSmartContracts = action("POOF_FETCH_SMART_CONTRACTS", {
6
6
  description: "Tool to fetch all supported ERC-20 smart contracts across Ethereum, Avalanche, and Polygon networks. Use when you need to retrieve available token contracts and their details for blockchain operations.",
7
7
  input: z.object({}).describe("Request model for fetching supported smart contracts.\nNo parameters required - the API returns all available contracts."),
8
8
  output: z.object({
9
- polygon: z.object({}).describe("Polygon network token contracts keyed by token identifier").nullable().optional(),
10
- ethereum: z.object({}).describe("Ethereum network ERC-20 token contracts keyed by token identifier").nullable().optional(),
11
- avalanche: z.object({}).describe("Avalanche network token contracts keyed by token identifier").nullable().optional()
12
- }).describe("Response model containing smart contracts organized by blockchain network.\nEach network contains token identifiers mapped to their contract details.")
9
+ polygon: z.record(z.string(), z.unknown()).describe("Polygon network token contracts keyed by token identifier").nullable().optional(),
10
+ ethereum: z.record(z.string(), z.unknown()).describe("Ethereum network ERC-20 token contracts keyed by token identifier").nullable().optional(),
11
+ avalanche: z.record(z.string(), z.unknown()).describe("Avalanche network token contracts keyed by token identifier").nullable().optional()
12
+ }).passthrough().describe("Response model containing smart contracts organized by blockchain network.\nEach network contains token identifiers mapped to their contract details.")
13
13
  });
14
14
  //#endregion
15
15
  export { poofFetchSmartContracts };
@@ -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.ZodTypeAny = z.object({}).describe(\"Request model for fetching supported smart contracts.\\nNo parameters required - the API returns all available contracts.\");\nexport const PoofFetchSmartContractsOutput: z.ZodTypeAny = z.object({\n polygon: z.object({}).describe(\"Polygon network token contracts keyed by token identifier\").nullable().optional(),\n ethereum: z.object({}).describe(\"Ethereum network ERC-20 token contracts keyed by token identifier\").nullable().optional(),\n avalanche: z.object({}).describe(\"Avalanche network token contracts keyed by token identifier\").nullable().optional(),\n}).describe(\"Response model containing smart contracts organized by blockchain network.\\nEach network contains token identifiers mapped to their contract details.\");\n\nexport const poofFetchSmartContracts = action(\"POOF_FETCH_SMART_CONTRACTS\", {\n slug: \"poof-fetch-smart-contracts\",\n name: \"Fetch Smart Contracts\",\n description: \"Tool to fetch all supported ERC-20 smart contracts across Ethereum, Avalanche, and Polygon networks. Use when you need to retrieve available token contracts and their details for blockchain operations.\",\n input: PoofFetchSmartContractsInput,\n output: PoofFetchSmartContractsOutput,\n});\n"],"mappings":";;AAWA,MAAa,0BAA0B,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAXwD,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0HAWvE;CACP,QAXyD,EAAE,OAAO;EAClE,SAAS,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChH,UAAU,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzH,WAAW,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,CAAC,CAAC,CAAC,SAAS,uJAOF;AACV,CAAC"}
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"}
@@ -11,7 +11,7 @@ const PoofSendPayoutOutput = zod.z.object({
11
11
  message: zod.z.string().describe("Additional message or details about the payout request.").nullable().optional(),
12
12
  success: zod.z.boolean().describe("Indicates whether the payout request was successful.").nullable().optional(),
13
13
  transaction_id: zod.z.string().describe("Unique identifier for the payout transaction.").nullable().optional()
14
- }).describe("Response model returned after initiating a cryptocurrency payout transaction.");
14
+ }).passthrough().describe("Response model returned after initiating a cryptocurrency payout transaction.");
15
15
  const poofSendPayout = require_action.action("POOF_SEND_PAYOUT", {
16
16
  slug: "poof-send-payout",
17
17
  name: "Send Cryptocurrency Payout",
@@ -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.ZodTypeAny = z.object({\n amount: z.number().describe(\"Amount of cryptocurrency to send. Must be a positive number.\"),\n crypto: z.string().describe(\"Cryptocurrency type to use for the payout. Supported values include blockchain names such as 'solana', 'ethereum', 'bitcoin', etc.\"),\n address: z.string().describe(\"Destination wallet address on the specified blockchain. Must be a valid address format for the chosen cryptocurrency.\"),\n}).describe(\"Request model for sending a cryptocurrency payout transaction.\");\nexport const PoofSendPayoutOutput: z.ZodTypeAny = z.object({\n status: z.string().describe(\"Current status of the payout transaction (e.g., pending, completed, failed).\").nullable().optional(),\n message: z.string().describe(\"Additional message or details about the payout request.\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the payout request was successful.\").nullable().optional(),\n transaction_id: z.string().describe(\"Unique identifier for the payout transaction.\").nullable().optional(),\n}).describe(\"Response model returned after initiating a cryptocurrency payout transaction.\");\n\nexport const poofSendPayout = action(\"POOF_SEND_PAYOUT\", {\n slug: \"poof-send-payout\",\n name: \"Send Cryptocurrency Payout\",\n description: \"Tool to send a cryptocurrency payout transaction from your wallet to an external address. Use when you need to transfer crypto on supported blockchains.\",\n input: PoofSendPayoutInput,\n output: PoofSendPayoutOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAoCA,IAAAA,EAAE,OAAO;CACxD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;CAC1F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oIAAoI;CAChK,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uHAAuH;AACtJ,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAa,uBAAqCA,IAAAA,EAAE,OAAO;CACzD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChI,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,SAAS,+EAA+E;AAE3F,MAAa,iBAAiBC,eAAAA,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
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,9 +1,22 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/send-payout.d.ts
4
- declare const PoofSendPayoutInput: z.ZodTypeAny;
5
- declare const PoofSendPayoutOutput: z.ZodTypeAny;
6
- declare const poofSendPayout: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PoofSendPayoutInput: z.ZodObject<{
5
+ amount: z.ZodNumber;
6
+ crypto: z.ZodString;
7
+ address: z.ZodString;
8
+ }, z.core.$strip>;
9
+ declare const PoofSendPayoutOutput: z.ZodObject<{
10
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ success: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
13
+ transaction_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ }, z.core.$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]>;
7
20
  //#endregion
8
21
  export { poofSendPayout };
9
22
  //# sourceMappingURL=send-payout.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"send-payout.d.cts","names":[],"sources":["../../src/actions/send-payout.ts"],"mappings":";;;cAIa,mBAAA,EAAqB,CAAA,CAAE,UAIyC;AAAA,cAChE,oBAAA,EAAsB,CAAA,CAAE,UAKuD;AAAA,cAE/E,cAAA,gCAAc,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"send-payout.d.cts","names":[],"sources":["../../src/actions/send-payout.ts"],"mappings":";;;cAIa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;;cAKnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;cAOpB,cAAA,gCAAc,wBAAA"}
@@ -1,9 +1,22 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/send-payout.d.ts
4
- declare const PoofSendPayoutInput: z.ZodTypeAny;
5
- declare const PoofSendPayoutOutput: z.ZodTypeAny;
6
- declare const poofSendPayout: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PoofSendPayoutInput: z.ZodObject<{
5
+ amount: z.ZodNumber;
6
+ crypto: z.ZodString;
7
+ address: z.ZodString;
8
+ }, z.core.$strip>;
9
+ declare const PoofSendPayoutOutput: z.ZodObject<{
10
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ success: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
13
+ transaction_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ }, z.core.$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]>;
7
20
  //#endregion
8
21
  export { poofSendPayout };
9
22
  //# sourceMappingURL=send-payout.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"send-payout.d.mts","names":[],"sources":["../../src/actions/send-payout.ts"],"mappings":";;;cAIa,mBAAA,EAAqB,CAAA,CAAE,UAIyC;AAAA,cAChE,oBAAA,EAAsB,CAAA,CAAE,UAKuD;AAAA,cAE/E,cAAA,gCAAc,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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"}
@@ -14,7 +14,7 @@ const poofSendPayout = action("POOF_SEND_PAYOUT", {
14
14
  message: z.string().describe("Additional message or details about the payout request.").nullable().optional(),
15
15
  success: z.boolean().describe("Indicates whether the payout request was successful.").nullable().optional(),
16
16
  transaction_id: z.string().describe("Unique identifier for the payout transaction.").nullable().optional()
17
- }).describe("Response model returned after initiating a cryptocurrency payout transaction.")
17
+ }).passthrough().describe("Response model returned after initiating a cryptocurrency payout transaction.")
18
18
  });
19
19
  //#endregion
20
20
  export { poofSendPayout };
@@ -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.ZodTypeAny = z.object({\n amount: z.number().describe(\"Amount of cryptocurrency to send. Must be a positive number.\"),\n crypto: z.string().describe(\"Cryptocurrency type to use for the payout. Supported values include blockchain names such as 'solana', 'ethereum', 'bitcoin', etc.\"),\n address: z.string().describe(\"Destination wallet address on the specified blockchain. Must be a valid address format for the chosen cryptocurrency.\"),\n}).describe(\"Request model for sending a cryptocurrency payout transaction.\");\nexport const PoofSendPayoutOutput: z.ZodTypeAny = z.object({\n status: z.string().describe(\"Current status of the payout transaction (e.g., pending, completed, failed).\").nullable().optional(),\n message: z.string().describe(\"Additional message or details about the payout request.\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the payout request was successful.\").nullable().optional(),\n transaction_id: z.string().describe(\"Unique identifier for the payout transaction.\").nullable().optional(),\n}).describe(\"Response model returned after initiating a cryptocurrency payout transaction.\");\n\nexport const poofSendPayout = action(\"POOF_SEND_PAYOUT\", {\n slug: \"poof-send-payout\",\n name: \"Send Cryptocurrency Payout\",\n description: \"Tool to send a cryptocurrency payout transaction from your wallet to an external address. Use when you need to transfer crypto on supported blockchains.\",\n input: PoofSendPayoutInput,\n output: PoofSendPayoutOutput,\n});\n"],"mappings":";;AAgBA,MAAa,iBAAiB,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhB+C,EAAE,OAAO;EACxD,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,QAZgD,EAAE,OAAO;EACzD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChI,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5G,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1G,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,CAAC,CAAC,CAAC,SAAS,+EAOF;AACV,CAAC"}
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"}
package/dist/catalog.cjs CHANGED
@@ -7,7 +7,13 @@ const poofCatalog = {
7
7
  "category": "Payment Processing",
8
8
  "logo": "https://logos.composio.dev/api/poof",
9
9
  "authKind": "keystroke",
10
- "oauthScopes": []
10
+ "oauthScopes": [],
11
+ "credentialFields": { "api_key": {
12
+ "label": "API Key",
13
+ "secret": true,
14
+ "description": "Sign in and manage your API Keys from the Developers settings at https://www.poof.io/developers"
15
+ } },
16
+ "credentialScheme": "API_KEY"
11
17
  };
12
18
  //#endregion
13
19
  exports.poofCatalog = poofCatalog;
@@ -1 +1 @@
1
- {"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const poofCatalog = {\n \"slug\": \"poof\",\n \"name\": \"Poof\",\n \"description\": \"Empowering millions of digital businesses & creators with payments from crypto to fiat\",\n \"category\": \"Payment Processing\",\n \"logo\": \"https://logos.composio.dev/api/poof\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,cAAc;CACzB,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}
1
+ {"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const poofCatalog = {\n \"slug\": \"poof\",\n \"name\": \"Poof\",\n \"description\": \"Empowering millions of digital businesses & creators with payments from crypto to fiat\",\n \"category\": \"Payment Processing\",\n \"logo\": \"https://logos.composio.dev/api/poof\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"api_key\": {\n \"label\": \"API Key\",\n \"secret\": true,\n \"description\": \"Sign in and manage your API Keys from the Developers settings at https://www.poof.io/developers\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,cAAc;CACzB,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,WAAW;EACT,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
@@ -8,6 +8,14 @@ declare const poofCatalog: {
8
8
  readonly logo: "https://logos.composio.dev/api/poof";
9
9
  readonly authKind: "keystroke";
10
10
  readonly oauthScopes: readonly [];
11
+ readonly credentialFields: {
12
+ readonly api_key: {
13
+ readonly label: "API Key";
14
+ readonly secret: true;
15
+ readonly description: "Sign in and manage your API Keys from the Developers settings at https://www.poof.io/developers";
16
+ };
17
+ };
18
+ readonly credentialScheme: "API_KEY";
11
19
  };
12
20
  //#endregion
13
21
  export { poofCatalog };
@@ -8,6 +8,14 @@ declare const poofCatalog: {
8
8
  readonly logo: "https://logos.composio.dev/api/poof";
9
9
  readonly authKind: "keystroke";
10
10
  readonly oauthScopes: readonly [];
11
+ readonly credentialFields: {
12
+ readonly api_key: {
13
+ readonly label: "API Key";
14
+ readonly secret: true;
15
+ readonly description: "Sign in and manage your API Keys from the Developers settings at https://www.poof.io/developers";
16
+ };
17
+ };
18
+ readonly credentialScheme: "API_KEY";
11
19
  };
12
20
  //#endregion
13
21
  export { poofCatalog };
package/dist/catalog.mjs CHANGED
@@ -7,7 +7,13 @@ const poofCatalog = {
7
7
  "category": "Payment Processing",
8
8
  "logo": "https://logos.composio.dev/api/poof",
9
9
  "authKind": "keystroke",
10
- "oauthScopes": []
10
+ "oauthScopes": [],
11
+ "credentialFields": { "api_key": {
12
+ "label": "API Key",
13
+ "secret": true,
14
+ "description": "Sign in and manage your API Keys from the Developers settings at https://www.poof.io/developers"
15
+ } },
16
+ "credentialScheme": "API_KEY"
11
17
  };
12
18
  //#endregion
13
19
  export { poofCatalog };
@@ -1 +1 @@
1
- {"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const poofCatalog = {\n \"slug\": \"poof\",\n \"name\": \"Poof\",\n \"description\": \"Empowering millions of digital businesses & creators with payments from crypto to fiat\",\n \"category\": \"Payment Processing\",\n \"logo\": \"https://logos.composio.dev/api/poof\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,cAAc;CACzB,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}
1
+ {"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const poofCatalog = {\n \"slug\": \"poof\",\n \"name\": \"Poof\",\n \"description\": \"Empowering millions of digital businesses & creators with payments from crypto to fiat\",\n \"category\": \"Payment Processing\",\n \"logo\": \"https://logos.composio.dev/api/poof\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"api_key\": {\n \"label\": \"API Key\",\n \"secret\": true,\n \"description\": \"Sign in and manage your API Keys from the Developers settings at https://www.poof.io/developers\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,cAAc;CACzB,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,WAAW;EACT,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/poof",
3
- "version": "0.1.0",
3
+ "version": "0.1.3",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"
@@ -31,7 +31,7 @@
31
31
  }
32
32
  },
33
33
  "peerDependencies": {
34
- "@keystrokehq/keystroke": "^0.1.4",
34
+ "@keystrokehq/keystroke": ">=0.1.4",
35
35
  "zod": "^4.4.3"
36
36
  },
37
37
  "devDependencies": {