@keystrokehq/plisio 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 (105) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/create-invoice.cjs +3 -3
  4. package/dist/actions/create-invoice.cjs.map +1 -1
  5. package/dist/actions/create-invoice.d.cts +67 -3
  6. package/dist/actions/create-invoice.d.cts.map +1 -1
  7. package/dist/actions/create-invoice.d.mts +67 -3
  8. package/dist/actions/create-invoice.d.mts.map +1 -1
  9. package/dist/actions/create-invoice.mjs +3 -3
  10. package/dist/actions/create-invoice.mjs.map +1 -1
  11. package/dist/actions/estimate-fee.cjs +7 -7
  12. package/dist/actions/estimate-fee.cjs.map +1 -1
  13. package/dist/actions/estimate-fee.d.cts +24 -3
  14. package/dist/actions/estimate-fee.d.cts.map +1 -1
  15. package/dist/actions/estimate-fee.d.mts +24 -3
  16. package/dist/actions/estimate-fee.d.mts.map +1 -1
  17. package/dist/actions/estimate-fee.mjs +7 -7
  18. package/dist/actions/estimate-fee.mjs.map +1 -1
  19. package/dist/actions/get-balance-by-currency.cjs +6 -6
  20. package/dist/actions/get-balance-by-currency.cjs.map +1 -1
  21. package/dist/actions/get-balance-by-currency.d.cts +15 -3
  22. package/dist/actions/get-balance-by-currency.d.cts.map +1 -1
  23. package/dist/actions/get-balance-by-currency.d.mts +15 -3
  24. package/dist/actions/get-balance-by-currency.d.mts.map +1 -1
  25. package/dist/actions/get-balance-by-currency.mjs +6 -6
  26. package/dist/actions/get-balance-by-currency.mjs.map +1 -1
  27. package/dist/actions/get-commission.cjs +8 -8
  28. package/dist/actions/get-commission.cjs.map +1 -1
  29. package/dist/actions/get-commission.d.cts +42 -3
  30. package/dist/actions/get-commission.d.cts.map +1 -1
  31. package/dist/actions/get-commission.d.mts +42 -3
  32. package/dist/actions/get-commission.d.mts.map +1 -1
  33. package/dist/actions/get-commission.mjs +8 -8
  34. package/dist/actions/get-commission.mjs.map +1 -1
  35. package/dist/actions/get-currency-rate.cjs +3 -3
  36. package/dist/actions/get-currency-rate.cjs.map +1 -1
  37. package/dist/actions/get-currency-rate.d.cts +24 -3
  38. package/dist/actions/get-currency-rate.d.cts.map +1 -1
  39. package/dist/actions/get-currency-rate.d.mts +24 -3
  40. package/dist/actions/get-currency-rate.d.mts.map +1 -1
  41. package/dist/actions/get-currency-rate.mjs +3 -3
  42. package/dist/actions/get-currency-rate.mjs.map +1 -1
  43. package/dist/actions/get-fee-plans.cjs +4 -4
  44. package/dist/actions/get-fee-plans.cjs.map +1 -1
  45. package/dist/actions/get-fee-plans.d.cts +23 -3
  46. package/dist/actions/get-fee-plans.d.cts.map +1 -1
  47. package/dist/actions/get-fee-plans.d.mts +23 -3
  48. package/dist/actions/get-fee-plans.d.mts.map +1 -1
  49. package/dist/actions/get-fee-plans.mjs +4 -4
  50. package/dist/actions/get-fee-plans.mjs.map +1 -1
  51. package/dist/actions/get-fee-plans2.cjs +4 -4
  52. package/dist/actions/get-fee-plans2.cjs.map +1 -1
  53. package/dist/actions/get-fee-plans2.d.cts +50 -3
  54. package/dist/actions/get-fee-plans2.d.cts.map +1 -1
  55. package/dist/actions/get-fee-plans2.d.mts +50 -3
  56. package/dist/actions/get-fee-plans2.d.mts.map +1 -1
  57. package/dist/actions/get-fee-plans2.mjs +4 -4
  58. package/dist/actions/get-fee-plans2.mjs.map +1 -1
  59. package/dist/actions/get-invoice-email.cjs +2 -2
  60. package/dist/actions/get-invoice-email.cjs.map +1 -1
  61. package/dist/actions/get-invoice-email.d.cts +58 -3
  62. package/dist/actions/get-invoice-email.d.cts.map +1 -1
  63. package/dist/actions/get-invoice-email.d.mts +58 -3
  64. package/dist/actions/get-invoice-email.d.mts.map +1 -1
  65. package/dist/actions/get-invoice-email.mjs +2 -2
  66. package/dist/actions/get-invoice-email.mjs.map +1 -1
  67. package/dist/actions/get-invoice.cjs +3 -3
  68. package/dist/actions/get-invoice.cjs.map +1 -1
  69. package/dist/actions/get-invoice.d.cts +104 -3
  70. package/dist/actions/get-invoice.d.cts.map +1 -1
  71. package/dist/actions/get-invoice.d.mts +104 -3
  72. package/dist/actions/get-invoice.d.mts.map +1 -1
  73. package/dist/actions/get-invoice.mjs +3 -3
  74. package/dist/actions/get-invoice.mjs.map +1 -1
  75. package/dist/actions/get-shop.cjs +2 -2
  76. package/dist/actions/get-shop.cjs.map +1 -1
  77. package/dist/actions/get-shop.d.cts +6 -3
  78. package/dist/actions/get-shop.d.cts.map +1 -1
  79. package/dist/actions/get-shop.d.mts +6 -3
  80. package/dist/actions/get-shop.d.mts.map +1 -1
  81. package/dist/actions/get-shop.mjs +2 -2
  82. package/dist/actions/get-shop.mjs.map +1 -1
  83. package/dist/actions/get-transactions.cjs +9 -9
  84. package/dist/actions/get-transactions.cjs.map +1 -1
  85. package/dist/actions/get-transactions.d.cts +69 -3
  86. package/dist/actions/get-transactions.d.cts.map +1 -1
  87. package/dist/actions/get-transactions.d.mts +69 -3
  88. package/dist/actions/get-transactions.d.mts.map +1 -1
  89. package/dist/actions/get-transactions.mjs +9 -9
  90. package/dist/actions/get-transactions.mjs.map +1 -1
  91. package/dist/actions/list-currencies.cjs +16 -16
  92. package/dist/actions/list-currencies.cjs.map +1 -1
  93. package/dist/actions/list-currencies.d.cts +20 -3
  94. package/dist/actions/list-currencies.d.cts.map +1 -1
  95. package/dist/actions/list-currencies.d.mts +20 -3
  96. package/dist/actions/list-currencies.d.mts.map +1 -1
  97. package/dist/actions/list-currencies.mjs +16 -16
  98. package/dist/actions/list-currencies.mjs.map +1 -1
  99. package/dist/catalog.cjs +7 -1
  100. package/dist/catalog.cjs.map +1 -1
  101. package/dist/catalog.d.cts +8 -0
  102. package/dist/catalog.d.mts +8 -0
  103. package/dist/catalog.mjs +7 -1
  104. package/dist/catalog.mjs.map +1 -1
  105. package/package.json +2 -2
@@ -3,10 +3,10 @@ import { z } from "zod";
3
3
  //#region src/actions/get-balance-by-currency.ts
4
4
  const PlisioGetBalanceByCurrencyInput = z.object({ psys_cid: z.string().describe("ID column from one of the supported cryptocurrencies supported by Plisio (e.g., 'BTC', 'ETH', 'USDT')") }).describe("Request model for GetBalanceByCurrency.");
5
5
  const PlisioGetBalanceByCurrency_BalanceDataSchema = z.object({
6
- balance: z.string().describe("Total balance amount as a string"),
7
- currency: z.string().describe("Currency code, e.g., 'BTC'"),
8
- psys_cid: z.string().describe("Currency code identifier")
9
- }).describe("Represents balance details for a single currency.");
6
+ balance: z.string().describe("Total balance amount as a string").nullable(),
7
+ currency: z.string().describe("Currency code, e.g., 'BTC'").nullable(),
8
+ psys_cid: z.string().describe("Currency code identifier").nullable()
9
+ }).passthrough().describe("Represents balance details for a single currency.");
10
10
  const plisioGetBalanceByCurrency = action("PLISIO_GET_BALANCE_BY_CURRENCY", {
11
11
  slug: "plisio-get-balance-by-currency",
12
12
  name: "Get Balance By Currency",
@@ -15,8 +15,8 @@ const plisioGetBalanceByCurrency = action("PLISIO_GET_BALANCE_BY_CURRENCY", {
15
15
  output: z.object({
16
16
  data: PlisioGetBalanceByCurrency_BalanceDataSchema.nullable(),
17
17
  error: z.string().describe("Error message if the request failed").nullable().optional(),
18
- status: z.string().describe("Result status, e.g., 'success'")
19
- }).describe("Response model for GET /balances/{psys_cid}.")
18
+ status: z.string().describe("Result status, e.g., 'success'").nullable()
19
+ }).passthrough().describe("Response model for GET /balances/{psys_cid}.")
20
20
  });
21
21
  //#endregion
22
22
  export { plisioGetBalanceByCurrency };
@@ -1 +1 @@
1
- {"version":3,"file":"get-balance-by-currency.mjs","names":[],"sources":["../../src/actions/get-balance-by-currency.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlisioGetBalanceByCurrencyInput: z.ZodTypeAny = z.object({\n psys_cid: z.string().describe(\"ID column from one of the supported cryptocurrencies supported by Plisio (e.g., 'BTC', 'ETH', 'USDT')\"),\n}).describe(\"Request model for GetBalanceByCurrency.\");\nconst PlisioGetBalanceByCurrency_BalanceDataSchema: z.ZodTypeAny = z.object({\n balance: z.string().describe(\"Total balance amount as a string\"),\n currency: z.string().describe(\"Currency code, e.g., 'BTC'\"),\n psys_cid: z.string().describe(\"Currency code identifier\"),\n}).describe(\"Represents balance details for a single currency.\");\nexport const PlisioGetBalanceByCurrencyOutput: z.ZodTypeAny = z.object({\n data: PlisioGetBalanceByCurrency_BalanceDataSchema.nullable(),\n error: z.string().describe(\"Error message if the request failed\").nullable().optional(),\n status: z.string().describe(\"Result status, e.g., 'success'\"),\n}).describe(\"Response model for GET /balances/{psys_cid}.\");\n\nexport const plisioGetBalanceByCurrency = action(\"PLISIO_GET_BALANCE_BY_CURRENCY\", {\n slug: \"plisio-get-balance-by-currency\",\n name: \"Get Balance By Currency\",\n description: \"Tool to get the balance for a specific cryptocurrency in your Plisio account. Use when you need to retrieve the balance of a particular crypto asset.\",\n input: PlisioGetBalanceByCurrencyInput,\n output: PlisioGetBalanceByCurrencyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAgD,EAAE,OAAO,EACpE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,EACvI,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAM,+CAA6D,EAAE,OAAO;CAC1E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CAC/D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CAC1D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;AAC1D,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAO/D,MAAa,6BAA6B,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAX4D,EAAE,OAAO;EACrE,MAAM,6CAA6C,SAAS;EAC5D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CAC9D,CAAC,CAAC,CAAC,SAAS,8CAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-balance-by-currency.mjs","names":[],"sources":["../../src/actions/get-balance-by-currency.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlisioGetBalanceByCurrencyInput = z.object({\n psys_cid: z.string().describe(\"ID column from one of the supported cryptocurrencies supported by Plisio (e.g., 'BTC', 'ETH', 'USDT')\"),\n}).describe(\"Request model for GetBalanceByCurrency.\");\nconst PlisioGetBalanceByCurrency_BalanceDataSchema = z.object({\n balance: z.string().describe(\"Total balance amount as a string\").nullable(),\n currency: z.string().describe(\"Currency code, e.g., 'BTC'\").nullable(),\n psys_cid: z.string().describe(\"Currency code identifier\").nullable(),\n}).passthrough().describe(\"Represents balance details for a single currency.\");\nexport const PlisioGetBalanceByCurrencyOutput = z.object({\n data: PlisioGetBalanceByCurrency_BalanceDataSchema.nullable(),\n error: z.string().describe(\"Error message if the request failed\").nullable().optional(),\n status: z.string().describe(\"Result status, e.g., 'success'\").nullable(),\n}).passthrough().describe(\"Response model for GET /balances/{psys_cid}.\");\n\nexport const plisioGetBalanceByCurrency = action(\"PLISIO_GET_BALANCE_BY_CURRENCY\", {\n slug: \"plisio-get-balance-by-currency\",\n name: \"Get Balance By Currency\",\n description: \"Tool to get the balance for a specific cryptocurrency in your Plisio account. Use when you need to retrieve the balance of a particular crypto asset.\",\n input: PlisioGetBalanceByCurrencyInput,\n output: PlisioGetBalanceByCurrencyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkC,EAAE,OAAO,EACtD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,EACvI,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAM,+CAA+C,EAAE,OAAO;CAC5D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC1E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACrE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;AACrE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAO7E,MAAa,6BAA6B,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAX8C,EAAE,OAAO;EACvD,MAAM,6CAA6C,SAAS;EAC5D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACzE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAOhB;AACV,CAAC"}
@@ -12,23 +12,23 @@ const PlisioGetCommission_FeePlanDetailsSchema = zod.z.object({
12
12
  value: zod.z.string().describe("Estimated fee value for this plan").nullable().optional(),
13
13
  gasLimit: zod.z.string().describe("Gas limit for Ethereum-style cryptocurrencies").nullable().optional(),
14
14
  gasPrice: zod.z.string().describe("Gas price for Ethereum-style cryptocurrencies").nullable().optional()
15
- }).describe("Details of a specific fee plan option.");
15
+ }).passthrough().describe("Details of a specific fee plan option.");
16
16
  const PlisioGetCommission_CommissionPlansSchema = zod.z.object({
17
17
  normal: PlisioGetCommission_FeePlanDetailsSchema.nullable().optional(),
18
18
  priority: PlisioGetCommission_FeePlanDetailsSchema.nullable().optional()
19
- }).describe("Available fee plan options with their respective costs.");
19
+ }).passthrough().describe("Available fee plan options with their respective costs.");
20
20
  const PlisioGetCommission_CommissionDataSchema = zod.z.object({
21
- fee: zod.z.string().describe("Cryptocurrency network fee as a decimal string"),
22
- plan: zod.z.string().describe("Selected fee plan name (normal or priority)"),
21
+ fee: zod.z.string().describe("Cryptocurrency network fee as a decimal string").nullable(),
22
+ plan: zod.z.string().describe("Selected fee plan name (normal or priority)").nullable(),
23
23
  plans: PlisioGetCommission_CommissionPlansSchema.nullable(),
24
24
  useWallet: zod.z.union([zod.z.string(), zod.z.boolean()]),
25
- commission: zod.z.string().describe("Plisio commission amount as a decimal string"),
25
+ commission: zod.z.string().describe("Plisio commission amount as a decimal string").nullable(),
26
26
  useWalletBalance: zod.z.string().nullable()
27
- }).describe("Commission estimation data including fees and plan details.");
27
+ }).passthrough().describe("Commission estimation data including fees and plan details.");
28
28
  const PlisioGetCommissionOutput = zod.z.object({
29
29
  data: PlisioGetCommission_CommissionDataSchema.nullable(),
30
- status: zod.z.string().describe("Status of the API response, typically 'success' or 'error'")
31
- }).describe("Response model for commission estimation endpoint.");
30
+ status: zod.z.string().describe("Status of the API response, typically 'success' or 'error'").nullable()
31
+ }).passthrough().describe("Response model for commission estimation endpoint.");
32
32
  const plisioGetCommission = require_action.action("PLISIO_GET_COMMISSION", {
33
33
  slug: "plisio-get-commission",
34
34
  name: "Get Commission",
@@ -1 +1 @@
1
- {"version":3,"file":"get-commission.cjs","names":["z","action"],"sources":["../../src/actions/get-commission.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlisioGetCommissionInput: z.ZodTypeAny = z.object({\n type: z.enum([\"cash_out\", \"mass_cash_out\"]).describe(\"Operation type: 'cash_out' for single withdrawal to one address, 'mass_cash_out' for batch withdrawal to multiple addresses.\"),\n amounts: z.string().describe(\"Amount or comma-separated amounts that will be sent. For mass withdrawal, amounts should correspond to addresses in the same order. Use decimal string format (e.g., '0.3', '1.5,2.0').\"),\n feePlan: z.enum([\"normal\", \"priority\"]).describe(\"Fee plan type for transaction processing.\").optional(),\n psys_cid: z.string().describe(\"Cryptocurrency identifier (e.g., 'BTC', 'ETH', 'USDT'). Must be one of the supported cryptocurrencies by Plisio.\"),\n addresses: z.string().describe(\"Wallet address or comma-separated addresses when estimating fee for mass withdrawal. For single withdrawal use one address, for mass withdrawal separate multiple addresses with commas.\"),\n}).describe(\"Request model for estimating cryptocurrency fee and Plisio commission.\");\nconst PlisioGetCommission_FeePlanDetailsSchema: z.ZodTypeAny = z.object({\n value: z.string().describe(\"Estimated fee value for this plan\").nullable().optional(),\n gasLimit: z.string().describe(\"Gas limit for Ethereum-style cryptocurrencies\").nullable().optional(),\n gasPrice: z.string().describe(\"Gas price for Ethereum-style cryptocurrencies\").nullable().optional(),\n}).describe(\"Details of a specific fee plan option.\");\nconst PlisioGetCommission_CommissionPlansSchema: z.ZodTypeAny = z.object({\n normal: PlisioGetCommission_FeePlanDetailsSchema.nullable().optional(),\n priority: PlisioGetCommission_FeePlanDetailsSchema.nullable().optional(),\n}).describe(\"Available fee plan options with their respective costs.\");\nconst PlisioGetCommission_CommissionDataSchema: z.ZodTypeAny = z.object({\n fee: z.string().describe(\"Cryptocurrency network fee as a decimal string\"),\n plan: z.string().describe(\"Selected fee plan name (normal or priority)\"),\n plans: PlisioGetCommission_CommissionPlansSchema.nullable(),\n useWallet: z.union([z.string(), z.boolean()]),\n commission: z.string().describe(\"Plisio commission amount as a decimal string\"),\n useWalletBalance: z.string().nullable(),\n}).describe(\"Commission estimation data including fees and plan details.\");\nexport const PlisioGetCommissionOutput: z.ZodTypeAny = z.object({\n data: PlisioGetCommission_CommissionDataSchema.nullable(),\n status: z.string().describe(\"Status of the API response, typically 'success' or 'error'\"),\n}).describe(\"Response model for commission estimation endpoint.\");\n\nexport const plisioGetCommission = action(\"PLISIO_GET_COMMISSION\", {\n slug: \"plisio-get-commission\",\n name: \"Get Commission\",\n description: \"Tool to estimate the total cost including network fee and Plisio commission for a transaction. Returns detailed breakdown of commission, fee, and fee plan options for the specified cryptocurrency and amounts.\",\n input: PlisioGetCommissionInput,\n output: PlisioGetCommissionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyCA,IAAAA,EAAE,OAAO;CAC7D,MAAMA,IAAAA,EAAE,KAAK,CAAC,YAAY,eAAe,CAAC,CAAC,CAAC,SAAS,8HAA8H;CACnL,SAASA,IAAAA,EAAE,OAAO,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AC,CAAC,SAAS,6DAA6D;AACzE,MAAa,4BAA0CA,IAAAA,EAAE,OAAO;CAC9D,MAAM,yCAAyC,SAAS;CACxD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;AAC1F,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAEhE,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-commission.cjs","names":["z","action"],"sources":["../../src/actions/get-commission.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlisioGetCommissionInput = z.object({\n type: z.enum([\"cash_out\", \"mass_cash_out\"]).describe(\"Operation type: 'cash_out' for single withdrawal to one address, 'mass_cash_out' for batch withdrawal to multiple addresses.\"),\n amounts: z.string().describe(\"Amount or comma-separated amounts that will be sent. For mass withdrawal, amounts should correspond to addresses in the same order. Use decimal string format (e.g., '0.3', '1.5,2.0').\"),\n feePlan: z.enum([\"normal\", \"priority\"]).describe(\"Fee plan type for transaction processing.\").optional(),\n psys_cid: z.string().describe(\"Cryptocurrency identifier (e.g., 'BTC', 'ETH', 'USDT'). Must be one of the supported cryptocurrencies by Plisio.\"),\n addresses: z.string().describe(\"Wallet address or comma-separated addresses when estimating fee for mass withdrawal. For single withdrawal use one address, for mass withdrawal separate multiple addresses with commas.\"),\n}).describe(\"Request model for estimating cryptocurrency fee and Plisio commission.\");\nconst PlisioGetCommission_FeePlanDetailsSchema = z.object({\n value: z.string().describe(\"Estimated fee value for this plan\").nullable().optional(),\n gasLimit: z.string().describe(\"Gas limit for Ethereum-style cryptocurrencies\").nullable().optional(),\n gasPrice: z.string().describe(\"Gas price for Ethereum-style cryptocurrencies\").nullable().optional(),\n}).passthrough().describe(\"Details of a specific fee plan option.\");\nconst PlisioGetCommission_CommissionPlansSchema = z.object({\n normal: PlisioGetCommission_FeePlanDetailsSchema.nullable().optional(),\n priority: PlisioGetCommission_FeePlanDetailsSchema.nullable().optional(),\n}).passthrough().describe(\"Available fee plan options with their respective costs.\");\nconst PlisioGetCommission_CommissionDataSchema = z.object({\n fee: z.string().describe(\"Cryptocurrency network fee as a decimal string\").nullable(),\n plan: z.string().describe(\"Selected fee plan name (normal or priority)\").nullable(),\n plans: PlisioGetCommission_CommissionPlansSchema.nullable(),\n useWallet: z.union([z.string(), z.boolean()]),\n commission: z.string().describe(\"Plisio commission amount as a decimal string\").nullable(),\n useWalletBalance: z.string().nullable(),\n}).passthrough().describe(\"Commission estimation data including fees and plan details.\");\nexport const PlisioGetCommissionOutput = z.object({\n data: PlisioGetCommission_CommissionDataSchema.nullable(),\n status: z.string().describe(\"Status of the API response, typically 'success' or 'error'\").nullable(),\n}).passthrough().describe(\"Response model for commission estimation endpoint.\");\n\nexport const plisioGetCommission = action(\"PLISIO_GET_COMMISSION\", {\n slug: \"plisio-get-commission\",\n name: \"Get Commission\",\n description: \"Tool to estimate the total cost including network fee and Plisio commission for a transaction. Returns detailed breakdown of commission, fee, and fee plan options for the specified cryptocurrency and amounts.\",\n input: PlisioGetCommissionInput,\n output: PlisioGetCommissionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,MAAMA,IAAAA,EAAE,KAAK,CAAC,YAAY,eAAe,CAAC,CAAC,CAAC,SAAS,8HAA8H;CACnL,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yLAAyL;CACtN,SAASA,IAAAA,EAAE,KAAK,CAAC,UAAU,UAAU,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACvG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kHAAkH;CAChJ,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0LAA0L;AAC3N,CAAC,CAAC,CAAC,SAAS,wEAAwE;AACpF,MAAM,2CAA2CA,IAAAA,EAA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SAAS,oDAAoD;AAE9E,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,48 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-commission.d.ts
4
- declare const PlisioGetCommissionInput: z.ZodTypeAny;
5
- declare const PlisioGetCommissionOutput: z.ZodTypeAny;
6
- declare const plisioGetCommission: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PlisioGetCommissionInput: z.ZodObject<{
5
+ type: z.ZodEnum<{
6
+ cash_out: "cash_out";
7
+ mass_cash_out: "mass_cash_out";
8
+ }>;
9
+ amounts: z.ZodString;
10
+ feePlan: z.ZodOptional<z.ZodEnum<{
11
+ normal: "normal";
12
+ priority: "priority";
13
+ }>>;
14
+ psys_cid: z.ZodString;
15
+ addresses: z.ZodString;
16
+ }, z.core.$strip>;
17
+ declare const PlisioGetCommissionOutput: z.ZodObject<{
18
+ data: z.ZodNullable<z.ZodObject<{
19
+ fee: z.ZodNullable<z.ZodString>;
20
+ plan: z.ZodNullable<z.ZodString>;
21
+ plans: z.ZodNullable<z.ZodObject<{
22
+ normal: z.ZodOptional<z.ZodNullable<z.ZodObject<{
23
+ value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ gasLimit: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
+ gasPrice: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
+ }, z.core.$loose>>>;
27
+ priority: z.ZodOptional<z.ZodNullable<z.ZodObject<{
28
+ value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
+ gasLimit: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
+ gasPrice: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
+ }, z.core.$loose>>>;
32
+ }, z.core.$loose>>;
33
+ useWallet: z.ZodUnion<readonly [z.ZodString, z.ZodBoolean]>;
34
+ commission: z.ZodNullable<z.ZodString>;
35
+ useWalletBalance: z.ZodNullable<z.ZodString>;
36
+ }, z.core.$loose>>;
37
+ status: z.ZodNullable<z.ZodString>;
38
+ }, z.core.$loose>;
39
+ declare const plisioGetCommission: import("@keystrokehq/action").WorkflowActionDefinition<{
40
+ type: "cash_out" | "mass_cash_out";
41
+ amounts: string;
42
+ psys_cid: string;
43
+ addresses: string;
44
+ feePlan?: "normal" | "priority" | undefined;
45
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
46
  //#endregion
8
47
  export { plisioGetCommission };
9
48
  //# sourceMappingURL=get-commission.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-commission.d.cts","names":[],"sources":["../../src/actions/get-commission.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAM4C;AAAA,cAkBxE,yBAAA,EAA2B,CAAA,CAAE,UAGuB;AAAA,cAEpD,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-commission.d.cts","names":[],"sources":["../../src/actions/get-commission.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAwBxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;cAKzB,mBAAA,gCAAmB,wBAAA"}
@@ -1,9 +1,48 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-commission.d.ts
4
- declare const PlisioGetCommissionInput: z.ZodTypeAny;
5
- declare const PlisioGetCommissionOutput: z.ZodTypeAny;
6
- declare const plisioGetCommission: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PlisioGetCommissionInput: z.ZodObject<{
5
+ type: z.ZodEnum<{
6
+ cash_out: "cash_out";
7
+ mass_cash_out: "mass_cash_out";
8
+ }>;
9
+ amounts: z.ZodString;
10
+ feePlan: z.ZodOptional<z.ZodEnum<{
11
+ normal: "normal";
12
+ priority: "priority";
13
+ }>>;
14
+ psys_cid: z.ZodString;
15
+ addresses: z.ZodString;
16
+ }, z.core.$strip>;
17
+ declare const PlisioGetCommissionOutput: z.ZodObject<{
18
+ data: z.ZodNullable<z.ZodObject<{
19
+ fee: z.ZodNullable<z.ZodString>;
20
+ plan: z.ZodNullable<z.ZodString>;
21
+ plans: z.ZodNullable<z.ZodObject<{
22
+ normal: z.ZodOptional<z.ZodNullable<z.ZodObject<{
23
+ value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ gasLimit: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
+ gasPrice: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
+ }, z.core.$loose>>>;
27
+ priority: z.ZodOptional<z.ZodNullable<z.ZodObject<{
28
+ value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
+ gasLimit: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
+ gasPrice: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
+ }, z.core.$loose>>>;
32
+ }, z.core.$loose>>;
33
+ useWallet: z.ZodUnion<readonly [z.ZodString, z.ZodBoolean]>;
34
+ commission: z.ZodNullable<z.ZodString>;
35
+ useWalletBalance: z.ZodNullable<z.ZodString>;
36
+ }, z.core.$loose>>;
37
+ status: z.ZodNullable<z.ZodString>;
38
+ }, z.core.$loose>;
39
+ declare const plisioGetCommission: import("@keystrokehq/action").WorkflowActionDefinition<{
40
+ type: "cash_out" | "mass_cash_out";
41
+ amounts: string;
42
+ psys_cid: string;
43
+ addresses: string;
44
+ feePlan?: "normal" | "priority" | undefined;
45
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
46
  //#endregion
8
47
  export { plisioGetCommission };
9
48
  //# sourceMappingURL=get-commission.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-commission.d.mts","names":[],"sources":["../../src/actions/get-commission.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAM4C;AAAA,cAkBxE,yBAAA,EAA2B,CAAA,CAAE,UAGuB;AAAA,cAEpD,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-commission.d.mts","names":[],"sources":["../../src/actions/get-commission.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAwBxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;cAKzB,mBAAA,gCAAmB,wBAAA"}
@@ -12,19 +12,19 @@ const PlisioGetCommission_FeePlanDetailsSchema = z.object({
12
12
  value: z.string().describe("Estimated fee value for this plan").nullable().optional(),
13
13
  gasLimit: z.string().describe("Gas limit for Ethereum-style cryptocurrencies").nullable().optional(),
14
14
  gasPrice: z.string().describe("Gas price for Ethereum-style cryptocurrencies").nullable().optional()
15
- }).describe("Details of a specific fee plan option.");
15
+ }).passthrough().describe("Details of a specific fee plan option.");
16
16
  const PlisioGetCommission_CommissionPlansSchema = z.object({
17
17
  normal: PlisioGetCommission_FeePlanDetailsSchema.nullable().optional(),
18
18
  priority: PlisioGetCommission_FeePlanDetailsSchema.nullable().optional()
19
- }).describe("Available fee plan options with their respective costs.");
19
+ }).passthrough().describe("Available fee plan options with their respective costs.");
20
20
  const PlisioGetCommission_CommissionDataSchema = z.object({
21
- fee: z.string().describe("Cryptocurrency network fee as a decimal string"),
22
- plan: z.string().describe("Selected fee plan name (normal or priority)"),
21
+ fee: z.string().describe("Cryptocurrency network fee as a decimal string").nullable(),
22
+ plan: z.string().describe("Selected fee plan name (normal or priority)").nullable(),
23
23
  plans: PlisioGetCommission_CommissionPlansSchema.nullable(),
24
24
  useWallet: z.union([z.string(), z.boolean()]),
25
- commission: z.string().describe("Plisio commission amount as a decimal string"),
25
+ commission: z.string().describe("Plisio commission amount as a decimal string").nullable(),
26
26
  useWalletBalance: z.string().nullable()
27
- }).describe("Commission estimation data including fees and plan details.");
27
+ }).passthrough().describe("Commission estimation data including fees and plan details.");
28
28
  const plisioGetCommission = action("PLISIO_GET_COMMISSION", {
29
29
  slug: "plisio-get-commission",
30
30
  name: "Get Commission",
@@ -32,8 +32,8 @@ const plisioGetCommission = action("PLISIO_GET_COMMISSION", {
32
32
  input: PlisioGetCommissionInput,
33
33
  output: z.object({
34
34
  data: PlisioGetCommission_CommissionDataSchema.nullable(),
35
- status: z.string().describe("Status of the API response, typically 'success' or 'error'")
36
- }).describe("Response model for commission estimation endpoint.")
35
+ status: z.string().describe("Status of the API response, typically 'success' or 'error'").nullable()
36
+ }).passthrough().describe("Response model for commission estimation endpoint.")
37
37
  });
38
38
  //#endregion
39
39
  export { plisioGetCommission };
@@ -1 +1 @@
1
- {"version":3,"file":"get-commission.mjs","names":[],"sources":["../../src/actions/get-commission.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlisioGetCommissionInput: z.ZodTypeAny = z.object({\n type: z.enum([\"cash_out\", \"mass_cash_out\"]).describe(\"Operation type: 'cash_out' for single withdrawal to one address, 'mass_cash_out' for batch withdrawal to multiple addresses.\"),\n amounts: z.string().describe(\"Amount or comma-separated amounts that will be sent. For mass withdrawal, amounts should correspond to addresses in the same order. Use decimal string format (e.g., '0.3', '1.5,2.0').\"),\n feePlan: z.enum([\"normal\", \"priority\"]).describe(\"Fee plan type for transaction processing.\").optional(),\n psys_cid: z.string().describe(\"Cryptocurrency identifier (e.g., 'BTC', 'ETH', 'USDT'). Must be one of the supported cryptocurrencies by Plisio.\"),\n addresses: z.string().describe(\"Wallet address or comma-separated addresses when estimating fee for mass withdrawal. For single withdrawal use one address, for mass withdrawal separate multiple addresses with commas.\"),\n}).describe(\"Request model for estimating cryptocurrency fee and Plisio commission.\");\nconst PlisioGetCommission_FeePlanDetailsSchema: z.ZodTypeAny = z.object({\n value: z.string().describe(\"Estimated fee value for this plan\").nullable().optional(),\n gasLimit: z.string().describe(\"Gas limit for Ethereum-style cryptocurrencies\").nullable().optional(),\n gasPrice: z.string().describe(\"Gas price for Ethereum-style cryptocurrencies\").nullable().optional(),\n}).describe(\"Details of a specific fee plan option.\");\nconst PlisioGetCommission_CommissionPlansSchema: z.ZodTypeAny = z.object({\n normal: PlisioGetCommission_FeePlanDetailsSchema.nullable().optional(),\n priority: PlisioGetCommission_FeePlanDetailsSchema.nullable().optional(),\n}).describe(\"Available fee plan options with their respective costs.\");\nconst PlisioGetCommission_CommissionDataSchema: z.ZodTypeAny = z.object({\n fee: z.string().describe(\"Cryptocurrency network fee as a decimal string\"),\n plan: z.string().describe(\"Selected fee plan name (normal or priority)\"),\n plans: PlisioGetCommission_CommissionPlansSchema.nullable(),\n useWallet: z.union([z.string(), z.boolean()]),\n commission: z.string().describe(\"Plisio commission amount as a decimal string\"),\n useWalletBalance: z.string().nullable(),\n}).describe(\"Commission estimation data including fees and plan details.\");\nexport const PlisioGetCommissionOutput: z.ZodTypeAny = z.object({\n data: PlisioGetCommission_CommissionDataSchema.nullable(),\n status: z.string().describe(\"Status of the API response, typically 'success' or 'error'\"),\n}).describe(\"Response model for commission estimation endpoint.\");\n\nexport const plisioGetCommission = action(\"PLISIO_GET_COMMISSION\", {\n slug: \"plisio-get-commission\",\n name: \"Get Commission\",\n description: \"Tool to estimate the total cost including network fee and Plisio commission for a transaction. Returns detailed breakdown of commission, fee, and fee plan options for the specified cryptocurrency and amounts.\",\n input: PlisioGetCommissionInput,\n output: PlisioGetCommissionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyC,EAAE,OA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E,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVqD,EAAE,OAAO;EAC9D,MAAM,yCAAyC,SAAS;EACxD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;CAC1F,CAAC,CAAC,CAAC,SAAS,oDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-commission.mjs","names":[],"sources":["../../src/actions/get-commission.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlisioGetCommissionInput = z.object({\n type: z.enum([\"cash_out\", \"mass_cash_out\"]).describe(\"Operation type: 'cash_out' for single withdrawal to one address, 'mass_cash_out' for batch withdrawal to multiple addresses.\"),\n amounts: z.string().describe(\"Amount or comma-separated amounts that will be sent. For mass withdrawal, amounts should correspond to addresses in the same order. Use decimal string format (e.g., '0.3', '1.5,2.0').\"),\n feePlan: z.enum([\"normal\", \"priority\"]).describe(\"Fee plan type for transaction processing.\").optional(),\n psys_cid: z.string().describe(\"Cryptocurrency identifier (e.g., 'BTC', 'ETH', 'USDT'). Must be one of the supported cryptocurrencies by Plisio.\"),\n addresses: z.string().describe(\"Wallet address or comma-separated addresses when estimating fee for mass withdrawal. For single withdrawal use one address, for mass withdrawal separate multiple addresses with commas.\"),\n}).describe(\"Request model for estimating cryptocurrency fee and Plisio commission.\");\nconst PlisioGetCommission_FeePlanDetailsSchema = z.object({\n value: z.string().describe(\"Estimated fee value for this plan\").nullable().optional(),\n gasLimit: z.string().describe(\"Gas limit for Ethereum-style cryptocurrencies\").nullable().optional(),\n gasPrice: z.string().describe(\"Gas price for Ethereum-style cryptocurrencies\").nullable().optional(),\n}).passthrough().describe(\"Details of a specific fee plan option.\");\nconst PlisioGetCommission_CommissionPlansSchema = z.object({\n normal: PlisioGetCommission_FeePlanDetailsSchema.nullable().optional(),\n priority: PlisioGetCommission_FeePlanDetailsSchema.nullable().optional(),\n}).passthrough().describe(\"Available fee plan options with their respective costs.\");\nconst PlisioGetCommission_CommissionDataSchema = z.object({\n fee: z.string().describe(\"Cryptocurrency network fee as a decimal string\").nullable(),\n plan: z.string().describe(\"Selected fee plan name (normal or priority)\").nullable(),\n plans: PlisioGetCommission_CommissionPlansSchema.nullable(),\n useWallet: z.union([z.string(), z.boolean()]),\n commission: z.string().describe(\"Plisio commission amount as a decimal string\").nullable(),\n useWalletBalance: z.string().nullable(),\n}).passthrough().describe(\"Commission estimation data including fees and plan details.\");\nexport const PlisioGetCommissionOutput = z.object({\n data: PlisioGetCommission_CommissionDataSchema.nullable(),\n status: z.string().describe(\"Status of the API response, typically 'success' or 'error'\").nullable(),\n}).passthrough().describe(\"Response model for commission estimation endpoint.\");\n\nexport const plisioGetCommission = action(\"PLISIO_GET_COMMISSION\", {\n slug: \"plisio-get-commission\",\n name: \"Get Commission\",\n description: \"Tool to estimate the total cost including network fee and Plisio commission for a transaction. Returns detailed breakdown of commission, fee, and fee plan options for the specified cryptocurrency and amounts.\",\n input: PlisioGetCommissionInput,\n output: PlisioGetCommissionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO;CAC/C,MAAM,EAAE,KAAK,CAAC,YAAY,eAAe,CAAC,CAAC,CAAC,SAAS,8HAA8H;CACnL,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yLAAyL;CACtN,SAAS,EAAE,KAAK,CAAC,UAAU,UAAU,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACvG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kHAAkH;CAChJ,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,0LAA0L;AAC3N,CAAC,CAAC,CAAC,SAAS,wEAAwE;AACpF,MAAM,2CAA2C,EAAE,OAAO;CACxD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAClE,MAAM,4CAA4C,EAAE,OAAO;CACzD,QAAQ,yCAAyC,SAAS,CAAC,CAAC,SAAS;CACrE,UAAU,yCAAyC,SAAS,CAAC,CAAC,SAAS;AACzE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD;AACnF,MAAM,2CAA2C,EAAE,OAAO;CACxD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACpF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAClF,OAAO,0CAA0C,SAAS;CAC1D,WAAW,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC;CAC5C,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACzF,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS;AACxC,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAA6D;AAMvF,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVuC,EAAE,OAAO;EAChD,MAAM,yCAAyC,SAAS;EACxD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAOhB;AACV,CAAC"}
@@ -16,11 +16,11 @@ const PlisioGetCurrencyRate_CryptocurrencyDataSchema = zod.z.object({
16
16
  min_sum_in: zod.z.string().describe("Minimum deposit amount").nullable().optional(),
17
17
  maintenance: zod.z.boolean().describe("Maintenance status flag").nullable().optional(),
18
18
  invoice_commission_percentage: zod.z.string().describe("Invoice commission percentage").nullable().optional()
19
- }).describe("Represents detailed information for a single cryptocurrency with its exchange rate.");
19
+ }).passthrough().describe("Represents detailed information for a single cryptocurrency with its exchange rate.");
20
20
  const PlisioGetCurrencyRateOutput = zod.z.object({
21
21
  data: zod.z.array(PlisioGetCurrencyRate_CryptocurrencyDataSchema).describe("List of supported cryptocurrencies with their current rates and pricing information"),
22
- status: zod.z.string().describe("Result status, e.g., 'success' or 'error'")
23
- }).describe("Response model for GET /currencies/{fiat}.");
22
+ status: zod.z.string().describe("Result status, e.g., 'success' or 'error'").nullable()
23
+ }).passthrough().describe("Response model for GET /currencies/{fiat}.");
24
24
  const plisioGetCurrencyRate = require_action.action("PLISIO_GET_CURRENCY_RATE", {
25
25
  slug: "plisio-get-currency-rate",
26
26
  name: "Get Currency Rate",
@@ -1 +1 @@
1
- {"version":3,"file":"get-currency-rate.cjs","names":["z","action"],"sources":["../../src/actions/get-currency-rate.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlisioGetCurrencyRateInput: z.ZodTypeAny = z.object({\n fiat: z.string().describe(\"Fiat currency code for exchange rates (e.g., 'USD', 'EUR', 'GBP'). See https://plisio.net/documentation/appendices/supported-fiat-currencies for all 168 supported currencies.\"),\n}).describe(\"Request model for GetCurrencyRate. Requires fiat currency code parameter.\");\nconst PlisioGetCurrencyRate_CryptocurrencyDataSchema: z.ZodTypeAny = z.object({\n cid: z.string().describe(\"Cryptocurrency ID, e.g., 'ETH'\").nullable().optional(),\n fiat: z.string().describe(\"Fiat currency name\").nullable().optional(),\n icon: z.string().describe(\"URL to currency icon\").nullable().optional(),\n name: z.string().describe(\"Currency name, e.g., 'Ethereum'\").nullable().optional(),\n hidden: z.number().int().describe(\"Indicates visibility in store settings\").nullable().optional(),\n currency: z.string().describe(\"Currency code\").nullable().optional(),\n rate_usd: z.string().describe(\"Exchange rate in USD as a string\").nullable().optional(),\n fiat_rate: z.string().describe(\"Rate in the specified fiat currency\").nullable().optional(),\n precision: z.union([z.string(), z.number().int()]).nullable().optional(),\n price_usd: z.string().describe(\"Current price in USD as a string\").nullable().optional(),\n min_sum_in: z.string().describe(\"Minimum deposit amount\").nullable().optional(),\n maintenance: z.boolean().describe(\"Maintenance status flag\").nullable().optional(),\n invoice_commission_percentage: z.string().describe(\"Invoice commission percentage\").nullable().optional(),\n}).describe(\"Represents detailed information for a single cryptocurrency with its exchange rate.\");\nexport const PlisioGetCurrencyRateOutput: z.ZodTypeAny = z.object({\n data: z.array(PlisioGetCurrencyRate_CryptocurrencyDataSchema).describe(\"List of supported cryptocurrencies with their current rates and pricing information\"),\n status: z.string().describe(\"Result status, e.g., 'success' or 'error'\"),\n}).describe(\"Response model for GET /currencies/{fiat}.\");\n\nexport const plisioGetCurrencyRate = action(\"PLISIO_GET_CURRENCY_RATE\", {\n slug: \"plisio-get-currency-rate\",\n name: \"Get Currency Rate\",\n description: \"Tool to retrieve list of supported cryptocurrencies with current rates filtered by fiat currency. Use when you need exchange rate information for cryptocurrencies in a specific fiat currency.\",\n input: PlisioGetCurrencyRateInput,\n output: PlisioGetCurrencyRateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA2CA,IAAAA,EAAE,OAAO,EAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gLAAgL,EAC5M,CAAC,CAAC,CAAC,SAAS,2EAA2E;AACvF,MAAM,iDAA+DA,IAAAA,EAAE,OAAO;CAC5E,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,MA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,CAAC,CAAC,CAAC,SAAS,4CAA4C;AAExD,MAAa,wBAAwBC,eAAAA,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-currency-rate.cjs","names":["z","action"],"sources":["../../src/actions/get-currency-rate.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlisioGetCurrencyRateInput = z.object({\n fiat: z.string().describe(\"Fiat currency code for exchange rates (e.g., 'USD', 'EUR', 'GBP'). See https://plisio.net/documentation/appendices/supported-fiat-currencies for all 168 supported currencies.\"),\n}).describe(\"Request model for GetCurrencyRate. Requires fiat currency code parameter.\");\nconst PlisioGetCurrencyRate_CryptocurrencyDataSchema = z.object({\n cid: z.string().describe(\"Cryptocurrency ID, e.g., 'ETH'\").nullable().optional(),\n fiat: z.string().describe(\"Fiat currency name\").nullable().optional(),\n icon: z.string().describe(\"URL to currency icon\").nullable().optional(),\n name: z.string().describe(\"Currency name, e.g., 'Ethereum'\").nullable().optional(),\n hidden: z.number().int().describe(\"Indicates visibility in store settings\").nullable().optional(),\n currency: z.string().describe(\"Currency code\").nullable().optional(),\n rate_usd: z.string().describe(\"Exchange rate in USD as a string\").nullable().optional(),\n fiat_rate: z.string().describe(\"Rate in the specified fiat currency\").nullable().optional(),\n precision: z.union([z.string(), z.number().int()]).nullable().optional(),\n price_usd: z.string().describe(\"Current price in USD as a string\").nullable().optional(),\n min_sum_in: z.string().describe(\"Minimum deposit amount\").nullable().optional(),\n maintenance: z.boolean().describe(\"Maintenance status flag\").nullable().optional(),\n invoice_commission_percentage: z.string().describe(\"Invoice commission percentage\").nullable().optional(),\n}).passthrough().describe(\"Represents detailed information for a single cryptocurrency with its exchange rate.\");\nexport const PlisioGetCurrencyRateOutput = z.object({\n data: z.array(PlisioGetCurrencyRate_CryptocurrencyDataSchema).describe(\"List of supported cryptocurrencies with their current rates and pricing information\"),\n status: z.string().describe(\"Result status, e.g., 'success' or 'error'\").nullable(),\n}).passthrough().describe(\"Response model for GET /currencies/{fiat}.\");\n\nexport const plisioGetCurrencyRate = action(\"PLISIO_GET_CURRENCY_RATE\", {\n slug: \"plisio-get-currency-rate\",\n name: \"Get Currency Rate\",\n description: \"Tool to retrieve list of supported cryptocurrencies with current rates filtered by fiat currency. Use when you need exchange rate information for cryptocurrencies in a specific fiat currency.\",\n input: PlisioGetCurrencyRateInput,\n output: PlisioGetCurrencyRateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gLAAgL,EAC5M,CAAC,CAAC,CAAC,SAAS,2EAA2E;AACvF,MAAM,iDAAiDA,IAAAA,EAAE,OAAO;CAC9D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,WAAWA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,+BAA+BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qFAAqF;AAC/G,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,qFAAqF;CAC5J,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAEtE,MAAa,wBAAwBC,eAAAA,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,30 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-currency-rate.d.ts
4
- declare const PlisioGetCurrencyRateInput: z.ZodTypeAny;
5
- declare const PlisioGetCurrencyRateOutput: z.ZodTypeAny;
6
- declare const plisioGetCurrencyRate: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PlisioGetCurrencyRateInput: z.ZodObject<{
5
+ fiat: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const PlisioGetCurrencyRateOutput: z.ZodObject<{
8
+ data: z.ZodArray<z.ZodObject<{
9
+ cid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
+ fiat: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ icon: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ hidden: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
14
+ currency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ rate_usd: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ fiat_rate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ precision: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
18
+ price_usd: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ min_sum_in: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ maintenance: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
21
+ invoice_commission_percentage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ }, z.core.$loose>>;
23
+ status: z.ZodNullable<z.ZodString>;
24
+ }, z.core.$loose>;
25
+ declare const plisioGetCurrencyRate: import("@keystrokehq/action").WorkflowActionDefinition<{
26
+ fiat: string;
27
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
28
  //#endregion
8
29
  export { plisioGetCurrencyRate };
9
30
  //# sourceMappingURL=get-currency-rate.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-currency-rate.d.cts","names":[],"sources":["../../src/actions/get-currency-rate.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAE6C;AAAA,cAgB3E,2BAAA,EAA6B,CAAA,CAAE,UAGa;AAAA,cAE5C,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-currency-rate.d.cts","names":[],"sources":["../../src/actions/get-currency-rate.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAkB1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAK3B,qBAAA,gCAAqB,wBAAA"}
@@ -1,9 +1,30 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-currency-rate.d.ts
4
- declare const PlisioGetCurrencyRateInput: z.ZodTypeAny;
5
- declare const PlisioGetCurrencyRateOutput: z.ZodTypeAny;
6
- declare const plisioGetCurrencyRate: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PlisioGetCurrencyRateInput: z.ZodObject<{
5
+ fiat: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const PlisioGetCurrencyRateOutput: z.ZodObject<{
8
+ data: z.ZodArray<z.ZodObject<{
9
+ cid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
+ fiat: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ icon: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ hidden: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
14
+ currency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ rate_usd: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ fiat_rate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ precision: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
18
+ price_usd: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ min_sum_in: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ maintenance: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
21
+ invoice_commission_percentage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ }, z.core.$loose>>;
23
+ status: z.ZodNullable<z.ZodString>;
24
+ }, z.core.$loose>;
25
+ declare const plisioGetCurrencyRate: import("@keystrokehq/action").WorkflowActionDefinition<{
26
+ fiat: string;
27
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
28
  //#endregion
8
29
  export { plisioGetCurrencyRate };
9
30
  //# sourceMappingURL=get-currency-rate.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-currency-rate.d.mts","names":[],"sources":["../../src/actions/get-currency-rate.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAE6C;AAAA,cAgB3E,2BAAA,EAA6B,CAAA,CAAE,UAGa;AAAA,cAE5C,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-currency-rate.d.mts","names":[],"sources":["../../src/actions/get-currency-rate.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAkB1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAK3B,qBAAA,gCAAqB,wBAAA"}
@@ -16,7 +16,7 @@ const PlisioGetCurrencyRate_CryptocurrencyDataSchema = z.object({
16
16
  min_sum_in: z.string().describe("Minimum deposit amount").nullable().optional(),
17
17
  maintenance: z.boolean().describe("Maintenance status flag").nullable().optional(),
18
18
  invoice_commission_percentage: z.string().describe("Invoice commission percentage").nullable().optional()
19
- }).describe("Represents detailed information for a single cryptocurrency with its exchange rate.");
19
+ }).passthrough().describe("Represents detailed information for a single cryptocurrency with its exchange rate.");
20
20
  const plisioGetCurrencyRate = action("PLISIO_GET_CURRENCY_RATE", {
21
21
  slug: "plisio-get-currency-rate",
22
22
  name: "Get Currency Rate",
@@ -24,8 +24,8 @@ const plisioGetCurrencyRate = action("PLISIO_GET_CURRENCY_RATE", {
24
24
  input: PlisioGetCurrencyRateInput,
25
25
  output: z.object({
26
26
  data: z.array(PlisioGetCurrencyRate_CryptocurrencyDataSchema).describe("List of supported cryptocurrencies with their current rates and pricing information"),
27
- status: z.string().describe("Result status, e.g., 'success' or 'error'")
28
- }).describe("Response model for GET /currencies/{fiat}.")
27
+ status: z.string().describe("Result status, e.g., 'success' or 'error'").nullable()
28
+ }).passthrough().describe("Response model for GET /currencies/{fiat}.")
29
29
  });
30
30
  //#endregion
31
31
  export { plisioGetCurrencyRate };
@@ -1 +1 @@
1
- {"version":3,"file":"get-currency-rate.mjs","names":[],"sources":["../../src/actions/get-currency-rate.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlisioGetCurrencyRateInput: z.ZodTypeAny = z.object({\n fiat: z.string().describe(\"Fiat currency code for exchange rates (e.g., 'USD', 'EUR', 'GBP'). See https://plisio.net/documentation/appendices/supported-fiat-currencies for all 168 supported currencies.\"),\n}).describe(\"Request model for GetCurrencyRate. Requires fiat currency code parameter.\");\nconst PlisioGetCurrencyRate_CryptocurrencyDataSchema: z.ZodTypeAny = z.object({\n cid: z.string().describe(\"Cryptocurrency ID, e.g., 'ETH'\").nullable().optional(),\n fiat: z.string().describe(\"Fiat currency name\").nullable().optional(),\n icon: z.string().describe(\"URL to currency icon\").nullable().optional(),\n name: z.string().describe(\"Currency name, e.g., 'Ethereum'\").nullable().optional(),\n hidden: z.number().int().describe(\"Indicates visibility in store settings\").nullable().optional(),\n currency: z.string().describe(\"Currency code\").nullable().optional(),\n rate_usd: z.string().describe(\"Exchange rate in USD as a string\").nullable().optional(),\n fiat_rate: z.string().describe(\"Rate in the specified fiat currency\").nullable().optional(),\n precision: z.union([z.string(), z.number().int()]).nullable().optional(),\n price_usd: z.string().describe(\"Current price in USD as a string\").nullable().optional(),\n min_sum_in: z.string().describe(\"Minimum deposit amount\").nullable().optional(),\n maintenance: z.boolean().describe(\"Maintenance status flag\").nullable().optional(),\n invoice_commission_percentage: z.string().describe(\"Invoice commission percentage\").nullable().optional(),\n}).describe(\"Represents detailed information for a single cryptocurrency with its exchange rate.\");\nexport const PlisioGetCurrencyRateOutput: z.ZodTypeAny = z.object({\n data: z.array(PlisioGetCurrencyRate_CryptocurrencyDataSchema).describe(\"List of supported cryptocurrencies with their current rates and pricing information\"),\n status: z.string().describe(\"Result status, e.g., 'success' or 'error'\"),\n}).describe(\"Response model for GET /currencies/{fiat}.\");\n\nexport const plisioGetCurrencyRate = action(\"PLISIO_GET_CURRENCY_RATE\", {\n slug: \"plisio-get-currency-rate\",\n name: \"Get Currency Rate\",\n description: \"Tool to retrieve list of supported cryptocurrencies with current rates filtered by fiat currency. Use when you need exchange rate information for cryptocurrencies in a specific fiat currency.\",\n input: PlisioGetCurrencyRateInput,\n output: PlisioGetCurrencyRateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA2C,EAAE,OAAO,EAC/D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gLAAgL,EAC5M,CAAC,CAAC,CAAC,SAAS,2EAA2E;AACvF,MAAM,iDAA+D,EAAE,OAAO;CAC5E,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CA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ourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlisioGetCurrencyRateInput = z.object({\n fiat: z.string().describe(\"Fiat currency code for exchange rates (e.g., 'USD', 'EUR', 'GBP'). See https://plisio.net/documentation/appendices/supported-fiat-currencies for all 168 supported currencies.\"),\n}).describe(\"Request model for GetCurrencyRate. Requires fiat currency code parameter.\");\nconst PlisioGetCurrencyRate_CryptocurrencyDataSchema = z.object({\n cid: z.string().describe(\"Cryptocurrency ID, e.g., 'ETH'\").nullable().optional(),\n fiat: z.string().describe(\"Fiat currency name\").nullable().optional(),\n icon: z.string().describe(\"URL to currency icon\").nullable().optional(),\n name: z.string().describe(\"Currency name, e.g., 'Ethereum'\").nullable().optional(),\n hidden: z.number().int().describe(\"Indicates visibility in store settings\").nullable().optional(),\n currency: z.string().describe(\"Currency code\").nullable().optional(),\n rate_usd: z.string().describe(\"Exchange rate in USD as a string\").nullable().optional(),\n fiat_rate: z.string().describe(\"Rate in the specified fiat currency\").nullable().optional(),\n precision: z.union([z.string(), z.number().int()]).nullable().optional(),\n price_usd: z.string().describe(\"Current price in USD as a string\").nullable().optional(),\n min_sum_in: z.string().describe(\"Minimum deposit amount\").nullable().optional(),\n maintenance: z.boolean().describe(\"Maintenance status flag\").nullable().optional(),\n invoice_commission_percentage: z.string().describe(\"Invoice commission percentage\").nullable().optional(),\n}).passthrough().describe(\"Represents detailed information for a single cryptocurrency with its exchange rate.\");\nexport const PlisioGetCurrencyRateOutput = z.object({\n data: z.array(PlisioGetCurrencyRate_CryptocurrencyDataSchema).describe(\"List of supported cryptocurrencies with their current rates and pricing information\"),\n status: z.string().describe(\"Result status, e.g., 'success' or 'error'\").nullable(),\n}).passthrough().describe(\"Response model for GET /currencies/{fiat}.\");\n\nexport const plisioGetCurrencyRate = action(\"PLISIO_GET_CURRENCY_RATE\", {\n slug: \"plisio-get-currency-rate\",\n name: \"Get Currency Rate\",\n description: \"Tool to retrieve list of supported cryptocurrencies with current rates filtered by fiat currency. Use when you need exchange rate information for cryptocurrencies in a specific fiat currency.\",\n input: PlisioGetCurrencyRateInput,\n output: PlisioGetCurrencyRateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6B,EAAE,OAAO,EACjD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gLAAgL,EAC5M,CAAC,CAAC,CAAC,SAAS,2EAA2E;AACvF,MAAM,iDAAiD,EAAE,OAAO;CAC9D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,WAAW,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,+BAA+B,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qFAAqF;AAM/G,MAAa,wBAAwB,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVyC,EAAE,OAAO;EAClD,MAAM,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,qFAAqF;EAC5J,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAOhB;AACV,CAAC"}
@@ -7,15 +7,15 @@ const PlisioGetFeePlans_FeePlanSchema = zod.z.object({
7
7
  gasLimit: zod.z.number().describe("Ethereum gas limit. Used for Ethereum-style cryptocurrencies.").nullable().optional(),
8
8
  gasPrice: zod.z.number().describe("Ethereum gas price. Used for Ethereum-style cryptocurrencies.").nullable().optional(),
9
9
  conf_target: zod.z.number().describe("Estimate fee to be included into next 'conf_target' block(s). Used for Bitcoin-style and Monero cryptocurrencies.").nullable().optional()
10
- }).describe("Individual fee plan details for a specific tier (normal or priority).\nFields vary by cryptocurrency type. Per official API documentation at\nplisio.net/documentation/endpoints/fee-plans, only conf_target, value,\ngasLimit, and gasPrice are documented fields.");
10
+ }).passthrough().describe("Individual fee plan details for a specific tier (normal or priority).\nFields vary by cryptocurrency type. Per official API documentation at\nplisio.net/documentation/endpoints/fee-plans, only conf_target, value,\ngasLimit, and gasPrice are documented fields.");
11
11
  const PlisioGetFeePlans_FeePlansDataSchema = zod.z.object({
12
12
  normal: PlisioGetFeePlans_FeePlanSchema.nullable().optional(),
13
13
  priority: PlisioGetFeePlans_FeePlanSchema.nullable().optional()
14
- }).describe("Container object with fee plan tiers for the requested cryptocurrency.\nPer official API documentation, only 'normal' and 'priority' tiers are supported.");
14
+ }).passthrough().describe("Container object with fee plan tiers for the requested cryptocurrency.\nPer official API documentation, only 'normal' and 'priority' tiers are supported.");
15
15
  const PlisioGetFeePlansOutput = zod.z.object({
16
16
  data: PlisioGetFeePlans_FeePlansDataSchema.nullable(),
17
- status: zod.z.string().describe("Status of the API response, typically 'success' or 'error'")
18
- }).describe("Response model for fee plans. Returns status and data containing fee plan tiers.");
17
+ status: zod.z.string().describe("Status of the API response, typically 'success' or 'error'").nullable()
18
+ }).passthrough().describe("Response model for fee plans. Returns status and data containing fee plan tiers.");
19
19
  const plisioGetFeePlans = require_action.action("PLISIO_GET_FEE_PLANS", {
20
20
  slug: "plisio-get-fee-plans",
21
21
  name: "Get Fee Plans",
@@ -1 +1 @@
1
- {"version":3,"file":"get-fee-plans.cjs","names":["z","action"],"sources":["../../src/actions/get-fee-plans.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlisioGetFeePlansInput: z.ZodTypeAny = z.object({\n currency: z.string().describe(\"Cryptocurrency symbol, e.g., 'BTC'\"),\n}).describe(\"Request model for retrieving fee plans by currency.\");\nconst PlisioGetFeePlans_FeePlanSchema: z.ZodTypeAny = z.object({\n value: z.union([z.string(), z.number()]).nullable().optional(),\n gasLimit: z.number().describe(\"Ethereum gas limit. Used for Ethereum-style cryptocurrencies.\").nullable().optional(),\n gasPrice: z.number().describe(\"Ethereum gas price. Used for Ethereum-style cryptocurrencies.\").nullable().optional(),\n conf_target: z.number().describe(\"Estimate fee to be included into next 'conf_target' block(s). Used for Bitcoin-style and Monero cryptocurrencies.\").nullable().optional(),\n}).describe(\"Individual fee plan details for a specific tier (normal or priority).\\nFields vary by cryptocurrency type. Per official API documentation at\\nplisio.net/documentation/endpoints/fee-plans, only conf_target, value,\\ngasLimit, and gasPrice are documented fields.\");\nconst PlisioGetFeePlans_FeePlansDataSchema: z.ZodTypeAny = z.object({\n normal: PlisioGetFeePlans_FeePlanSchema.nullable().optional(),\n priority: PlisioGetFeePlans_FeePlanSchema.nullable().optional(),\n}).describe(\"Container object with fee plan tiers for the requested cryptocurrency.\\nPer official API documentation, only 'normal' and 'priority' tiers are supported.\");\nexport const PlisioGetFeePlansOutput: z.ZodTypeAny = z.object({\n data: PlisioGetFeePlans_FeePlansDataSchema.nullable(),\n status: z.string().describe(\"Status of the API response, typically 'success' or 'error'\"),\n}).describe(\"Response model for fee plans. Returns status and data containing fee plan tiers.\");\n\nexport const plisioGetFeePlans = action(\"PLISIO_GET_FEE_PLANS\", {\n slug: \"plisio-get-fee-plans\",\n name: \"Get Fee Plans\",\n description: \"Tool to retrieve available fee plans for a given cryptocurrency. Specify a currency symbol like 'BTC', 'ETH' to get fee plan details.\",\n input: PlisioGetFeePlansInput,\n output: PlisioGetFeePlansOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAuCA,IAAAA,EAAE,OAAO,EAC3D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,EACpE,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,kCAAgDA,IAAAA,EAAE,OAAO;CAC7D,OAAOA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mHAAmH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5K,CAAC,CAAC,CAAC,SAAS,qQAAqQ;AACjR,MAAM,uCAAqDA,IAAAA,EAAE,OAAO;CAClE,QAAQ,gCAAgC,SAAS,CAAC,CAAC,SAAS;CAC5D,UAAU,gCAAgC,SAAS,CAAC,CAAC,SAAS;AAChE,CAAC,CAAC,CAAC,SAAS,2JAA2J;AACvK,MAAa,0BAAwCA,IAAAA,EAAE,OAAO;CAC5D,MAAM,qCAAqC,SAAS;CACpD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;AAC1F,CAAC,CAAC,CAAC,SAAS,kFAAkF;AAE9F,MAAa,oBAAoBC,eAAAA,OAAO,wBAAwB;CAC9D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-fee-plans.cjs","names":["z","action"],"sources":["../../src/actions/get-fee-plans.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlisioGetFeePlansInput = z.object({\n currency: z.string().describe(\"Cryptocurrency symbol, e.g., 'BTC'\"),\n}).describe(\"Request model for retrieving fee plans by currency.\");\nconst PlisioGetFeePlans_FeePlanSchema = z.object({\n value: z.union([z.string(), z.number()]).nullable().optional(),\n gasLimit: z.number().describe(\"Ethereum gas limit. Used for Ethereum-style cryptocurrencies.\").nullable().optional(),\n gasPrice: z.number().describe(\"Ethereum gas price. Used for Ethereum-style cryptocurrencies.\").nullable().optional(),\n conf_target: z.number().describe(\"Estimate fee to be included into next 'conf_target' block(s). Used for Bitcoin-style and Monero cryptocurrencies.\").nullable().optional(),\n}).passthrough().describe(\"Individual fee plan details for a specific tier (normal or priority).\\nFields vary by cryptocurrency type. Per official API documentation at\\nplisio.net/documentation/endpoints/fee-plans, only conf_target, value,\\ngasLimit, and gasPrice are documented fields.\");\nconst PlisioGetFeePlans_FeePlansDataSchema = z.object({\n normal: PlisioGetFeePlans_FeePlanSchema.nullable().optional(),\n priority: PlisioGetFeePlans_FeePlanSchema.nullable().optional(),\n}).passthrough().describe(\"Container object with fee plan tiers for the requested cryptocurrency.\\nPer official API documentation, only 'normal' and 'priority' tiers are supported.\");\nexport const PlisioGetFeePlansOutput = z.object({\n data: PlisioGetFeePlans_FeePlansDataSchema.nullable(),\n status: z.string().describe(\"Status of the API response, typically 'success' or 'error'\").nullable(),\n}).passthrough().describe(\"Response model for fee plans. Returns status and data containing fee plan tiers.\");\n\nexport const plisioGetFeePlans = action(\"PLISIO_GET_FEE_PLANS\", {\n slug: \"plisio-get-fee-plans\",\n name: \"Get Fee Plans\",\n description: \"Tool to retrieve available fee plans for a given cryptocurrency. Specify a currency symbol like 'BTC', 'ETH' to get fee plan details.\",\n input: PlisioGetFeePlansInput,\n output: PlisioGetFeePlansOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,EAC7C,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,EACpE,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,kCAAkCA,IAAAA,EAAE,OAAO;CAC/C,OAAOA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mHAAmH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5K,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qQAAqQ;AAC/R,MAAM,uCAAuCA,IAAAA,EAAE,OAAO;CACpD,QAAQ,gCAAgC,SAAS,CAAC,CAAC,SAAS;CAC5D,UAAU,gCAAgC,SAAS,CAAC,CAAC,SAAS;AAChE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2JAA2J;AACrL,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,MAAM,qCAAqC,SAAS;CACpD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kFAAkF;AAE5G,MAAa,oBAAoBC,eAAAA,OAAO,wBAAwB;CAC9D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,29 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-fee-plans.d.ts
4
- declare const PlisioGetFeePlansInput: z.ZodTypeAny;
5
- declare const PlisioGetFeePlansOutput: z.ZodTypeAny;
6
- declare const plisioGetFeePlans: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PlisioGetFeePlansInput: z.ZodObject<{
5
+ currency: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const PlisioGetFeePlansOutput: z.ZodObject<{
8
+ data: z.ZodNullable<z.ZodObject<{
9
+ normal: z.ZodOptional<z.ZodNullable<z.ZodObject<{
10
+ value: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
11
+ gasLimit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
12
+ gasPrice: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
13
+ conf_target: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
14
+ }, z.core.$loose>>>;
15
+ priority: z.ZodOptional<z.ZodNullable<z.ZodObject<{
16
+ value: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
17
+ gasLimit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
18
+ gasPrice: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
19
+ conf_target: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
20
+ }, z.core.$loose>>>;
21
+ }, z.core.$loose>>;
22
+ status: z.ZodNullable<z.ZodString>;
23
+ }, z.core.$loose>;
24
+ declare const plisioGetFeePlans: import("@keystrokehq/action").WorkflowActionDefinition<{
25
+ currency: string;
26
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
27
  //#endregion
8
28
  export { plisioGetFeePlans };
9
29
  //# sourceMappingURL=get-fee-plans.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-fee-plans.d.cts","names":[],"sources":["../../src/actions/get-fee-plans.ts"],"mappings":";;;cAIa,sBAAA,EAAwB,CAAA,CAAE,UAE2B;AAAA,cAWrD,uBAAA,EAAyB,CAAA,CAAE,UAGuD;AAAA,cAElF,iBAAA,gCAAiB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-fee-plans.d.cts","names":[],"sources":["../../src/actions/get-fee-plans.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;cAatB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAKvB,iBAAA,gCAAiB,wBAAA"}
@@ -1,9 +1,29 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-fee-plans.d.ts
4
- declare const PlisioGetFeePlansInput: z.ZodTypeAny;
5
- declare const PlisioGetFeePlansOutput: z.ZodTypeAny;
6
- declare const plisioGetFeePlans: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PlisioGetFeePlansInput: z.ZodObject<{
5
+ currency: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const PlisioGetFeePlansOutput: z.ZodObject<{
8
+ data: z.ZodNullable<z.ZodObject<{
9
+ normal: z.ZodOptional<z.ZodNullable<z.ZodObject<{
10
+ value: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
11
+ gasLimit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
12
+ gasPrice: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
13
+ conf_target: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
14
+ }, z.core.$loose>>>;
15
+ priority: z.ZodOptional<z.ZodNullable<z.ZodObject<{
16
+ value: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
17
+ gasLimit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
18
+ gasPrice: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
19
+ conf_target: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
20
+ }, z.core.$loose>>>;
21
+ }, z.core.$loose>>;
22
+ status: z.ZodNullable<z.ZodString>;
23
+ }, z.core.$loose>;
24
+ declare const plisioGetFeePlans: import("@keystrokehq/action").WorkflowActionDefinition<{
25
+ currency: string;
26
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
27
  //#endregion
8
28
  export { plisioGetFeePlans };
9
29
  //# sourceMappingURL=get-fee-plans.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-fee-plans.d.mts","names":[],"sources":["../../src/actions/get-fee-plans.ts"],"mappings":";;;cAIa,sBAAA,EAAwB,CAAA,CAAE,UAE2B;AAAA,cAWrD,uBAAA,EAAyB,CAAA,CAAE,UAGuD;AAAA,cAElF,iBAAA,gCAAiB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-fee-plans.d.mts","names":[],"sources":["../../src/actions/get-fee-plans.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;cAatB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAKvB,iBAAA,gCAAiB,wBAAA"}
@@ -7,11 +7,11 @@ const PlisioGetFeePlans_FeePlanSchema = z.object({
7
7
  gasLimit: z.number().describe("Ethereum gas limit. Used for Ethereum-style cryptocurrencies.").nullable().optional(),
8
8
  gasPrice: z.number().describe("Ethereum gas price. Used for Ethereum-style cryptocurrencies.").nullable().optional(),
9
9
  conf_target: z.number().describe("Estimate fee to be included into next 'conf_target' block(s). Used for Bitcoin-style and Monero cryptocurrencies.").nullable().optional()
10
- }).describe("Individual fee plan details for a specific tier (normal or priority).\nFields vary by cryptocurrency type. Per official API documentation at\nplisio.net/documentation/endpoints/fee-plans, only conf_target, value,\ngasLimit, and gasPrice are documented fields.");
10
+ }).passthrough().describe("Individual fee plan details for a specific tier (normal or priority).\nFields vary by cryptocurrency type. Per official API documentation at\nplisio.net/documentation/endpoints/fee-plans, only conf_target, value,\ngasLimit, and gasPrice are documented fields.");
11
11
  const PlisioGetFeePlans_FeePlansDataSchema = z.object({
12
12
  normal: PlisioGetFeePlans_FeePlanSchema.nullable().optional(),
13
13
  priority: PlisioGetFeePlans_FeePlanSchema.nullable().optional()
14
- }).describe("Container object with fee plan tiers for the requested cryptocurrency.\nPer official API documentation, only 'normal' and 'priority' tiers are supported.");
14
+ }).passthrough().describe("Container object with fee plan tiers for the requested cryptocurrency.\nPer official API documentation, only 'normal' and 'priority' tiers are supported.");
15
15
  const plisioGetFeePlans = action("PLISIO_GET_FEE_PLANS", {
16
16
  slug: "plisio-get-fee-plans",
17
17
  name: "Get Fee Plans",
@@ -19,8 +19,8 @@ const plisioGetFeePlans = action("PLISIO_GET_FEE_PLANS", {
19
19
  input: PlisioGetFeePlansInput,
20
20
  output: z.object({
21
21
  data: PlisioGetFeePlans_FeePlansDataSchema.nullable(),
22
- status: z.string().describe("Status of the API response, typically 'success' or 'error'")
23
- }).describe("Response model for fee plans. Returns status and data containing fee plan tiers.")
22
+ status: z.string().describe("Status of the API response, typically 'success' or 'error'").nullable()
23
+ }).passthrough().describe("Response model for fee plans. Returns status and data containing fee plan tiers.")
24
24
  });
25
25
  //#endregion
26
26
  export { plisioGetFeePlans };