@keystrokehq/plisio 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +17 -0
- package/dist/action.cjs +21 -0
- package/dist/action.cjs.map +1 -0
- package/dist/action.mjs +21 -0
- package/dist/action.mjs.map +1 -0
- package/dist/actions/create-invoice.cjs +60 -0
- package/dist/actions/create-invoice.cjs.map +1 -0
- package/dist/actions/create-invoice.d.cts +9 -0
- package/dist/actions/create-invoice.d.cts.map +1 -0
- package/dist/actions/create-invoice.d.mts +9 -0
- package/dist/actions/create-invoice.d.mts.map +1 -0
- package/dist/actions/create-invoice.mjs +59 -0
- package/dist/actions/create-invoice.mjs.map +1 -0
- package/dist/actions/estimate-fee.cjs +30 -0
- package/dist/actions/estimate-fee.cjs.map +1 -0
- package/dist/actions/estimate-fee.d.cts +9 -0
- package/dist/actions/estimate-fee.d.cts.map +1 -0
- package/dist/actions/estimate-fee.d.mts +9 -0
- package/dist/actions/estimate-fee.d.mts.map +1 -0
- package/dist/actions/estimate-fee.mjs +29 -0
- package/dist/actions/estimate-fee.mjs.map +1 -0
- package/dist/actions/get-balance-by-currency.cjs +25 -0
- package/dist/actions/get-balance-by-currency.cjs.map +1 -0
- package/dist/actions/get-balance-by-currency.d.cts +9 -0
- package/dist/actions/get-balance-by-currency.d.cts.map +1 -0
- package/dist/actions/get-balance-by-currency.d.mts +9 -0
- package/dist/actions/get-balance-by-currency.d.mts.map +1 -0
- package/dist/actions/get-balance-by-currency.mjs +24 -0
- package/dist/actions/get-balance-by-currency.mjs.map +1 -0
- package/dist/actions/get-commission.cjs +42 -0
- package/dist/actions/get-commission.cjs.map +1 -0
- package/dist/actions/get-commission.d.cts +9 -0
- package/dist/actions/get-commission.d.cts.map +1 -0
- package/dist/actions/get-commission.d.mts +9 -0
- package/dist/actions/get-commission.d.mts.map +1 -0
- package/dist/actions/get-commission.mjs +41 -0
- package/dist/actions/get-commission.mjs.map +1 -0
- package/dist/actions/get-currency-rate.cjs +34 -0
- package/dist/actions/get-currency-rate.cjs.map +1 -0
- package/dist/actions/get-currency-rate.d.cts +9 -0
- package/dist/actions/get-currency-rate.d.cts.map +1 -0
- package/dist/actions/get-currency-rate.d.mts +9 -0
- package/dist/actions/get-currency-rate.d.mts.map +1 -0
- package/dist/actions/get-currency-rate.mjs +33 -0
- package/dist/actions/get-currency-rate.mjs.map +1 -0
- package/dist/actions/get-fee-plans.cjs +29 -0
- package/dist/actions/get-fee-plans.cjs.map +1 -0
- package/dist/actions/get-fee-plans.d.cts +9 -0
- package/dist/actions/get-fee-plans.d.cts.map +1 -0
- package/dist/actions/get-fee-plans.d.mts +9 -0
- package/dist/actions/get-fee-plans.d.mts.map +1 -0
- package/dist/actions/get-fee-plans.mjs +28 -0
- package/dist/actions/get-fee-plans.mjs.map +1 -0
- package/dist/actions/get-fee-plans2.cjs +37 -0
- package/dist/actions/get-fee-plans2.cjs.map +1 -0
- package/dist/actions/get-fee-plans2.d.cts +9 -0
- package/dist/actions/get-fee-plans2.d.cts.map +1 -0
- package/dist/actions/get-fee-plans2.d.mts +9 -0
- package/dist/actions/get-fee-plans2.d.mts.map +1 -0
- package/dist/actions/get-fee-plans2.mjs +36 -0
- package/dist/actions/get-fee-plans2.mjs.map +1 -0
- package/dist/actions/get-invoice-email.cjs +72 -0
- package/dist/actions/get-invoice-email.cjs.map +1 -0
- package/dist/actions/get-invoice-email.d.cts +9 -0
- package/dist/actions/get-invoice-email.d.cts.map +1 -0
- package/dist/actions/get-invoice-email.d.mts +9 -0
- package/dist/actions/get-invoice-email.d.mts.map +1 -0
- package/dist/actions/get-invoice-email.mjs +71 -0
- package/dist/actions/get-invoice-email.mjs.map +1 -0
- package/dist/actions/get-invoice.cjs +99 -0
- package/dist/actions/get-invoice.cjs.map +1 -0
- package/dist/actions/get-invoice.d.cts +9 -0
- package/dist/actions/get-invoice.d.cts.map +1 -0
- package/dist/actions/get-invoice.d.mts +9 -0
- package/dist/actions/get-invoice.d.mts.map +1 -0
- package/dist/actions/get-invoice.mjs +98 -0
- package/dist/actions/get-invoice.mjs.map +1 -0
- package/dist/actions/get-shop.cjs +20 -0
- package/dist/actions/get-shop.cjs.map +1 -0
- package/dist/actions/get-shop.d.cts +9 -0
- package/dist/actions/get-shop.d.cts.map +1 -0
- package/dist/actions/get-shop.d.mts +9 -0
- package/dist/actions/get-shop.d.mts.map +1 -0
- package/dist/actions/get-shop.mjs +19 -0
- package/dist/actions/get-shop.mjs.map +1 -0
- package/dist/actions/get-transactions.cjs +75 -0
- package/dist/actions/get-transactions.cjs.map +1 -0
- package/dist/actions/get-transactions.d.cts +9 -0
- package/dist/actions/get-transactions.d.cts.map +1 -0
- package/dist/actions/get-transactions.d.mts +9 -0
- package/dist/actions/get-transactions.d.mts.map +1 -0
- package/dist/actions/get-transactions.mjs +74 -0
- package/dist/actions/get-transactions.mjs.map +1 -0
- package/dist/actions/index.cjs +25 -0
- package/dist/actions/index.d.cts +13 -0
- package/dist/actions/index.d.mts +13 -0
- package/dist/actions/index.mjs +13 -0
- package/dist/actions/list-currencies.cjs +34 -0
- package/dist/actions/list-currencies.cjs.map +1 -0
- package/dist/actions/list-currencies.d.cts +9 -0
- package/dist/actions/list-currencies.d.cts.map +1 -0
- package/dist/actions/list-currencies.d.mts +9 -0
- package/dist/actions/list-currencies.d.mts.map +1 -0
- package/dist/actions/list-currencies.mjs +33 -0
- package/dist/actions/list-currencies.mjs.map +1 -0
- package/dist/app.cjs +9 -0
- package/dist/app.cjs.map +1 -0
- package/dist/app.d.cts +5 -0
- package/dist/app.d.cts.map +1 -0
- package/dist/app.d.mts +5 -0
- package/dist/app.d.mts.map +1 -0
- package/dist/app.mjs +10 -0
- package/dist/app.mjs.map +1 -0
- package/dist/catalog.cjs +15 -0
- package/dist/catalog.cjs.map +1 -0
- package/dist/catalog.d.cts +14 -0
- package/dist/catalog.d.cts.map +1 -0
- package/dist/catalog.d.mts +14 -0
- package/dist/catalog.d.mts.map +1 -0
- package/dist/catalog.mjs +15 -0
- package/dist/catalog.mjs.map +1 -0
- package/dist/execute.cjs +18 -0
- package/dist/execute.cjs.map +1 -0
- package/dist/execute.mjs +18 -0
- package/dist/execute.mjs.map +1 -0
- package/dist/index.cjs +30 -0
- package/dist/index.d.cts +15 -0
- package/dist/index.d.mts +15 -0
- package/dist/index.mjs +16 -0
- package/package.json +49 -0
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/get-commission.ts
|
|
4
|
+
const PlisioGetCommissionInput = z.object({
|
|
5
|
+
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."),
|
|
6
|
+
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')."),
|
|
7
|
+
feePlan: z.enum(["normal", "priority"]).describe("Fee plan type for transaction processing.").optional(),
|
|
8
|
+
psys_cid: z.string().describe("Cryptocurrency identifier (e.g., 'BTC', 'ETH', 'USDT'). Must be one of the supported cryptocurrencies by Plisio."),
|
|
9
|
+
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.")
|
|
10
|
+
}).describe("Request model for estimating cryptocurrency fee and Plisio commission.");
|
|
11
|
+
const PlisioGetCommission_FeePlanDetailsSchema = z.object({
|
|
12
|
+
value: z.string().describe("Estimated fee value for this plan").nullable().optional(),
|
|
13
|
+
gasLimit: z.string().describe("Gas limit for Ethereum-style cryptocurrencies").nullable().optional(),
|
|
14
|
+
gasPrice: z.string().describe("Gas price for Ethereum-style cryptocurrencies").nullable().optional()
|
|
15
|
+
}).describe("Details of a specific fee plan option.");
|
|
16
|
+
const PlisioGetCommission_CommissionPlansSchema = z.object({
|
|
17
|
+
normal: PlisioGetCommission_FeePlanDetailsSchema.nullable().optional(),
|
|
18
|
+
priority: PlisioGetCommission_FeePlanDetailsSchema.nullable().optional()
|
|
19
|
+
}).describe("Available fee plan options with their respective costs.");
|
|
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)"),
|
|
23
|
+
plans: PlisioGetCommission_CommissionPlansSchema.nullable(),
|
|
24
|
+
useWallet: z.union([z.string(), z.boolean()]),
|
|
25
|
+
commission: z.string().describe("Plisio commission amount as a decimal string"),
|
|
26
|
+
useWalletBalance: z.string().nullable()
|
|
27
|
+
}).describe("Commission estimation data including fees and plan details.");
|
|
28
|
+
const plisioGetCommission = action("PLISIO_GET_COMMISSION", {
|
|
29
|
+
slug: "plisio-get-commission",
|
|
30
|
+
name: "Get Commission",
|
|
31
|
+
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.",
|
|
32
|
+
input: PlisioGetCommissionInput,
|
|
33
|
+
output: z.object({
|
|
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.")
|
|
37
|
+
});
|
|
38
|
+
//#endregion
|
|
39
|
+
export { plisioGetCommission };
|
|
40
|
+
|
|
41
|
+
//# sourceMappingURL=get-commission.mjs.map
|
|
@@ -0,0 +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,OAAO;CAC7D,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,2CAAyD,EAAE,OAAO;CACtE,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,SAAS,wCAAwC;AACpD,MAAM,4CAA0D,EAAE,OAAO;CACvE,QAAQ,yCAAyC,SAAS,CAAC,CAAC,SAAS;CACrE,UAAU,yCAAyC,SAAS,CAAC,CAAC,SAAS;AACzE,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,2CAAyD,EAAE,OAAO;CACtE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;CACzE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CACvE,OAAO,0CAA0C,SAAS;CAC1D,WAAW,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC;CAC5C,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CAC9E,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS;AACxC,CAAC,CAAC,CAAC,SAAS,6DAA6D;AAMzE,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"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-currency-rate.ts
|
|
4
|
+
const PlisioGetCurrencyRateInput = zod.z.object({ fiat: zod.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.") }).describe("Request model for GetCurrencyRate. Requires fiat currency code parameter.");
|
|
5
|
+
const PlisioGetCurrencyRate_CryptocurrencyDataSchema = zod.z.object({
|
|
6
|
+
cid: zod.z.string().describe("Cryptocurrency ID, e.g., 'ETH'").nullable().optional(),
|
|
7
|
+
fiat: zod.z.string().describe("Fiat currency name").nullable().optional(),
|
|
8
|
+
icon: zod.z.string().describe("URL to currency icon").nullable().optional(),
|
|
9
|
+
name: zod.z.string().describe("Currency name, e.g., 'Ethereum'").nullable().optional(),
|
|
10
|
+
hidden: zod.z.number().int().describe("Indicates visibility in store settings").nullable().optional(),
|
|
11
|
+
currency: zod.z.string().describe("Currency code").nullable().optional(),
|
|
12
|
+
rate_usd: zod.z.string().describe("Exchange rate in USD as a string").nullable().optional(),
|
|
13
|
+
fiat_rate: zod.z.string().describe("Rate in the specified fiat currency").nullable().optional(),
|
|
14
|
+
precision: zod.z.union([zod.z.string(), zod.z.number().int()]).nullable().optional(),
|
|
15
|
+
price_usd: zod.z.string().describe("Current price in USD as a string").nullable().optional(),
|
|
16
|
+
min_sum_in: zod.z.string().describe("Minimum deposit amount").nullable().optional(),
|
|
17
|
+
maintenance: zod.z.boolean().describe("Maintenance status flag").nullable().optional(),
|
|
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.");
|
|
20
|
+
const PlisioGetCurrencyRateOutput = zod.z.object({
|
|
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}.");
|
|
24
|
+
const plisioGetCurrencyRate = require_action.action("PLISIO_GET_CURRENCY_RATE", {
|
|
25
|
+
slug: "plisio-get-currency-rate",
|
|
26
|
+
name: "Get Currency Rate",
|
|
27
|
+
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.",
|
|
28
|
+
input: PlisioGetCurrencyRateInput,
|
|
29
|
+
output: PlisioGetCurrencyRateOutput
|
|
30
|
+
});
|
|
31
|
+
//#endregion
|
|
32
|
+
exports.plisioGetCurrencyRate = plisioGetCurrencyRate;
|
|
33
|
+
|
|
34
|
+
//# sourceMappingURL=get-currency-rate.cjs.map
|
|
@@ -0,0 +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: PlisioGetCur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AS;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,SAAS,qFAAqF;AACjG,MAAa,8BAA4CA,IAAAA,EAAE,OAAO;CAChE,MAAMA,IAAAA,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,qFAAqF;CAC5J,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;AACzE,CAAC,CAAC,CAAC,SAAS,4CAA4C;AAExD,MAAa,wBAAwBC,eAAAA,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/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]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { plisioGetCurrencyRate };
|
|
9
|
+
//# sourceMappingURL=get-currency-rate.d.cts.map
|
|
@@ -0,0 +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"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
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]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { plisioGetCurrencyRate };
|
|
9
|
+
//# sourceMappingURL=get-currency-rate.d.mts.map
|
|
@@ -0,0 +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"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/get-currency-rate.ts
|
|
4
|
+
const PlisioGetCurrencyRateInput = z.object({ 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.") }).describe("Request model for GetCurrencyRate. Requires fiat currency code parameter.");
|
|
5
|
+
const PlisioGetCurrencyRate_CryptocurrencyDataSchema = z.object({
|
|
6
|
+
cid: z.string().describe("Cryptocurrency ID, e.g., 'ETH'").nullable().optional(),
|
|
7
|
+
fiat: z.string().describe("Fiat currency name").nullable().optional(),
|
|
8
|
+
icon: z.string().describe("URL to currency icon").nullable().optional(),
|
|
9
|
+
name: z.string().describe("Currency name, e.g., 'Ethereum'").nullable().optional(),
|
|
10
|
+
hidden: z.number().int().describe("Indicates visibility in store settings").nullable().optional(),
|
|
11
|
+
currency: z.string().describe("Currency code").nullable().optional(),
|
|
12
|
+
rate_usd: z.string().describe("Exchange rate in USD as a string").nullable().optional(),
|
|
13
|
+
fiat_rate: z.string().describe("Rate in the specified fiat currency").nullable().optional(),
|
|
14
|
+
precision: z.union([z.string(), z.number().int()]).nullable().optional(),
|
|
15
|
+
price_usd: z.string().describe("Current price in USD as a string").nullable().optional(),
|
|
16
|
+
min_sum_in: z.string().describe("Minimum deposit amount").nullable().optional(),
|
|
17
|
+
maintenance: z.boolean().describe("Maintenance status flag").nullable().optional(),
|
|
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.");
|
|
20
|
+
const plisioGetCurrencyRate = action("PLISIO_GET_CURRENCY_RATE", {
|
|
21
|
+
slug: "plisio-get-currency-rate",
|
|
22
|
+
name: "Get Currency Rate",
|
|
23
|
+
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.",
|
|
24
|
+
input: PlisioGetCurrencyRateInput,
|
|
25
|
+
output: z.object({
|
|
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}.")
|
|
29
|
+
});
|
|
30
|
+
//#endregion
|
|
31
|
+
export { plisioGetCurrencyRate };
|
|
32
|
+
|
|
33
|
+
//# sourceMappingURL=get-currency-rate.mjs.map
|
|
@@ -0,0 +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,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,SAAS,qFAAqF;AAMjG,MAAa,wBAAwB,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVuD,EAAE,OAAO;EAChE,MAAM,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,qFAAqF;EAC5J,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CACzE,CAAC,CAAC,CAAC,SAAS,4CAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-fee-plans.ts
|
|
4
|
+
const PlisioGetFeePlansInput = zod.z.object({ currency: zod.z.string().describe("Cryptocurrency symbol, e.g., 'BTC'") }).describe("Request model for retrieving fee plans by currency.");
|
|
5
|
+
const PlisioGetFeePlans_FeePlanSchema = zod.z.object({
|
|
6
|
+
value: zod.z.union([zod.z.string(), zod.z.number()]).nullable().optional(),
|
|
7
|
+
gasLimit: zod.z.number().describe("Ethereum gas limit. Used for Ethereum-style cryptocurrencies.").nullable().optional(),
|
|
8
|
+
gasPrice: zod.z.number().describe("Ethereum gas price. Used for Ethereum-style cryptocurrencies.").nullable().optional(),
|
|
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.");
|
|
11
|
+
const PlisioGetFeePlans_FeePlansDataSchema = zod.z.object({
|
|
12
|
+
normal: PlisioGetFeePlans_FeePlanSchema.nullable().optional(),
|
|
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.");
|
|
15
|
+
const PlisioGetFeePlansOutput = zod.z.object({
|
|
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.");
|
|
19
|
+
const plisioGetFeePlans = require_action.action("PLISIO_GET_FEE_PLANS", {
|
|
20
|
+
slug: "plisio-get-fee-plans",
|
|
21
|
+
name: "Get Fee Plans",
|
|
22
|
+
description: "Tool to retrieve available fee plans for a given cryptocurrency. Specify a currency symbol like 'BTC', 'ETH' to get fee plan details.",
|
|
23
|
+
input: PlisioGetFeePlansInput,
|
|
24
|
+
output: PlisioGetFeePlansOutput
|
|
25
|
+
});
|
|
26
|
+
//#endregion
|
|
27
|
+
exports.plisioGetFeePlans = plisioGetFeePlans;
|
|
28
|
+
|
|
29
|
+
//# sourceMappingURL=get-fee-plans.cjs.map
|
|
@@ -0,0 +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"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
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]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { plisioGetFeePlans };
|
|
9
|
+
//# sourceMappingURL=get-fee-plans.d.cts.map
|
|
@@ -0,0 +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"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
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]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { plisioGetFeePlans };
|
|
9
|
+
//# sourceMappingURL=get-fee-plans.d.mts.map
|
|
@@ -0,0 +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"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/get-fee-plans.ts
|
|
4
|
+
const PlisioGetFeePlansInput = z.object({ currency: z.string().describe("Cryptocurrency symbol, e.g., 'BTC'") }).describe("Request model for retrieving fee plans by currency.");
|
|
5
|
+
const PlisioGetFeePlans_FeePlanSchema = z.object({
|
|
6
|
+
value: z.union([z.string(), z.number()]).nullable().optional(),
|
|
7
|
+
gasLimit: z.number().describe("Ethereum gas limit. Used for Ethereum-style cryptocurrencies.").nullable().optional(),
|
|
8
|
+
gasPrice: z.number().describe("Ethereum gas price. Used for Ethereum-style cryptocurrencies.").nullable().optional(),
|
|
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.");
|
|
11
|
+
const PlisioGetFeePlans_FeePlansDataSchema = z.object({
|
|
12
|
+
normal: PlisioGetFeePlans_FeePlanSchema.nullable().optional(),
|
|
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.");
|
|
15
|
+
const plisioGetFeePlans = action("PLISIO_GET_FEE_PLANS", {
|
|
16
|
+
slug: "plisio-get-fee-plans",
|
|
17
|
+
name: "Get Fee Plans",
|
|
18
|
+
description: "Tool to retrieve available fee plans for a given cryptocurrency. Specify a currency symbol like 'BTC', 'ETH' to get fee plan details.",
|
|
19
|
+
input: PlisioGetFeePlansInput,
|
|
20
|
+
output: z.object({
|
|
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.")
|
|
24
|
+
});
|
|
25
|
+
//#endregion
|
|
26
|
+
export { plisioGetFeePlans };
|
|
27
|
+
|
|
28
|
+
//# sourceMappingURL=get-fee-plans.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-fee-plans.mjs","names":[],"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,yBAAuC,EAAE,OAAO,EAC3D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,EACpE,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,kCAAgD,EAAE,OAAO;CAC7D,OAAO,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mHAAmH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5K,CAAC,CAAC,CAAC,SAAS,qQAAqQ;AACjR,MAAM,uCAAqD,EAAE,OAAO;CAClE,QAAQ,gCAAgC,SAAS,CAAC,CAAC,SAAS;CAC5D,UAAU,gCAAgC,SAAS,CAAC,CAAC,SAAS;AAChE,CAAC,CAAC,CAAC,SAAS,2JAA2J;AAMvK,MAAa,oBAAoB,OAAO,wBAAwB;CAC9D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVmD,EAAE,OAAO;EAC5D,MAAM,qCAAqC,SAAS;EACpD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;CAC1F,CAAC,CAAC,CAAC,SAAS,kFAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-fee-plans2.ts
|
|
4
|
+
const PlisioGetFeePlans2Input = zod.z.object({ psys_cid: zod.z.string().describe("ID column from one of the supported cryptocurrencies supported by Plisio (e.g., 'BTC', 'ETH', 'USDT')") }).describe("Request model for retrieving fee plans by cryptocurrency.");
|
|
5
|
+
const PlisioGetFeePlans2_FeePlanSchema = zod.z.object({
|
|
6
|
+
key: zod.z.string().describe("Fee plan identifier").nullable().optional(),
|
|
7
|
+
name: zod.z.string().describe("Fee plan name").nullable().optional(),
|
|
8
|
+
nonce: zod.z.union([zod.z.string(), zod.z.number().int()]).nullable().optional(),
|
|
9
|
+
value: zod.z.union([zod.z.string(), zod.z.number()]).nullable().optional(),
|
|
10
|
+
feeRate: zod.z.number().describe("Fee rate applied to transaction. Used for Bitcoin-style cryptocurrencies.").nullable().optional(),
|
|
11
|
+
feeUnit: zod.z.string().describe("Fee unit value. Used for Ethereum-style cryptocurrencies.").nullable().optional(),
|
|
12
|
+
gasLimit: zod.z.number().describe("Ethereum gas limit. Used for Ethereum-style cryptocurrencies.").nullable().optional(),
|
|
13
|
+
gasPrice: zod.z.number().describe("Ethereum gas price. Used for Ethereum-style cryptocurrencies.").nullable().optional(),
|
|
14
|
+
conf_target: zod.z.number().describe("Estimate fee to be included into next 'conf_target' block(s). Used for Bitcoin-style cryptocurrencies.").nullable().optional(),
|
|
15
|
+
description: zod.z.string().describe("Fee plan description").nullable().optional(),
|
|
16
|
+
feeRateUnit: zod.z.string().describe("Fee rate unit specification. Used for Bitcoin-style cryptocurrencies.").nullable().optional()
|
|
17
|
+
}).describe("Individual fee plan details for a specific tier.\nFields vary by cryptocurrency type:\n- Bitcoin-based: key, name, description, conf_target, feeRate, feeRateUnit\n- Ethereum-based: key, name, description, gasLimit, gasPrice, value, feeUnit, nonce");
|
|
18
|
+
const PlisioGetFeePlans2_FeePlansDataSchema = zod.z.object({
|
|
19
|
+
normal: PlisioGetFeePlans2_FeePlanSchema.nullable().optional(),
|
|
20
|
+
economy: PlisioGetFeePlans2_FeePlanSchema.nullable().optional(),
|
|
21
|
+
priority: PlisioGetFeePlans2_FeePlanSchema.nullable().optional()
|
|
22
|
+
}).describe("Container object with fee plan tiers for the requested cryptocurrency.\nContains three tiers: economy, normal, and priority.");
|
|
23
|
+
const PlisioGetFeePlans2Output = zod.z.object({
|
|
24
|
+
data: PlisioGetFeePlans2_FeePlansDataSchema.nullable(),
|
|
25
|
+
status: zod.z.string().describe("Status of the API response, typically 'success' or 'error'")
|
|
26
|
+
}).describe("Response model for fee plans. Returns status and data containing fee plan tiers.");
|
|
27
|
+
const plisioGetFeePlans2 = require_action.action("PLISIO_GET_FEE_PLANS2", {
|
|
28
|
+
slug: "plisio-get-fee-plans2",
|
|
29
|
+
name: "Get Fee Plans",
|
|
30
|
+
description: "Tool to get available fee plans for a specific cryptocurrency. Returns fee values and configuration like gas limits for Ethereum-based coins or confirmation targets for Bitcoin. Use when you need to determine transaction fee options before creating or sending a transaction.",
|
|
31
|
+
input: PlisioGetFeePlans2Input,
|
|
32
|
+
output: PlisioGetFeePlans2Output
|
|
33
|
+
});
|
|
34
|
+
//#endregion
|
|
35
|
+
exports.plisioGetFeePlans2 = plisioGetFeePlans2;
|
|
36
|
+
|
|
37
|
+
//# sourceMappingURL=get-fee-plans2.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-fee-plans2.cjs","names":["z","action"],"sources":["../../src/actions/get-fee-plans2.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlisioGetFeePlans2Input: 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 retrieving fee plans by cryptocurrency.\");\nconst PlisioGetFeePlans2_FeePlanSchema: z.ZodTypeAny = z.object({\n key: z.string().describe(\"Fee plan identifier\").nullable().optional(),\n name: z.string().describe(\"Fee plan name\").nullable().optional(),\n nonce: z.union([z.string(), z.number().int()]).nullable().optional(),\n value: z.union([z.string(), z.number()]).nullable().optional(),\n feeRate: z.number().describe(\"Fee rate applied to transaction. Used for Bitcoin-style cryptocurrencies.\").nullable().optional(),\n feeUnit: z.string().describe(\"Fee unit value. Used for Ethereum-style cryptocurrencies.\").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 cryptocurrencies.\").nullable().optional(),\n description: z.string().describe(\"Fee plan description\").nullable().optional(),\n feeRateUnit: z.string().describe(\"Fee rate unit specification. Used for Bitcoin-style cryptocurrencies.\").nullable().optional(),\n}).describe(\"Individual fee plan details for a specific tier.\\nFields vary by cryptocurrency type:\\n- Bitcoin-based: key, name, description, conf_target, feeRate, feeRateUnit\\n- Ethereum-based: key, name, description, gasLimit, gasPrice, value, feeUnit, nonce\");\nconst PlisioGetFeePlans2_FeePlansDataSchema: z.ZodTypeAny = z.object({\n normal: PlisioGetFeePlans2_FeePlanSchema.nullable().optional(),\n economy: PlisioGetFeePlans2_FeePlanSchema.nullable().optional(),\n priority: PlisioGetFeePlans2_FeePlanSchema.nullable().optional(),\n}).describe(\"Container object with fee plan tiers for the requested cryptocurrency.\\nContains three tiers: economy, normal, and priority.\");\nexport const PlisioGetFeePlans2Output: z.ZodTypeAny = z.object({\n data: PlisioGetFeePlans2_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 plisioGetFeePlans2 = action(\"PLISIO_GET_FEE_PLANS2\", {\n slug: \"plisio-get-fee-plans2\",\n name: \"Get Fee Plans\",\n description: \"Tool to get available fee plans for a specific cryptocurrency. Returns fee values and configuration like gas limits for Ethereum-based coins or confirmation targets for Bitcoin. Use when you need to determine transa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AA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChI,CAAC,CAAC,CAAC,SAAS,wPAAwP;AACpQ,MAAM,wCAAsDA,IAAAA,EAAE,OAAO;CACnE,QAAQ,iCAAiC,SAAS,CAAC,CAAC,SAAS;CAC7D,SAAS,iCAAiC,SAAS,CAAC,CAAC,SAAS;CAC9D,UAAU,iCAAiC,SAAS,CAAC,CAAC,SAAS;AACjE,CAAC,CAAC,CAAC,SAAS,8HAA8H;AAC1I,MAAa,2BAAyCA,IAAAA,EAAE,OAAO;CAC7D,MAAM,sCAAsC,SAAS;CACrD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;AAC1F,CAAC,CAAC,CAAC,SAAS,kFAAkF;AAE9F,MAAa,qBAAqBC,eAAAA,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-fee-plans2.d.ts
|
|
4
|
+
declare const PlisioGetFeePlans2Input: z.ZodTypeAny;
|
|
5
|
+
declare const PlisioGetFeePlans2Output: z.ZodTypeAny;
|
|
6
|
+
declare const plisioGetFeePlans2: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { plisioGetFeePlans2 };
|
|
9
|
+
//# sourceMappingURL=get-fee-plans2.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-fee-plans2.d.cts","names":[],"sources":["../../src/actions/get-fee-plans2.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAEgC;AAAA,cAmB3D,wBAAA,EAA0B,CAAA,CAAE,UAGsD;AAAA,cAElF,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-fee-plans2.d.ts
|
|
4
|
+
declare const PlisioGetFeePlans2Input: z.ZodTypeAny;
|
|
5
|
+
declare const PlisioGetFeePlans2Output: z.ZodTypeAny;
|
|
6
|
+
declare const plisioGetFeePlans2: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { plisioGetFeePlans2 };
|
|
9
|
+
//# sourceMappingURL=get-fee-plans2.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-fee-plans2.d.mts","names":[],"sources":["../../src/actions/get-fee-plans2.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAEgC;AAAA,cAmB3D,wBAAA,EAA0B,CAAA,CAAE,UAGsD;AAAA,cAElF,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/get-fee-plans2.ts
|
|
4
|
+
const PlisioGetFeePlans2Input = 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 retrieving fee plans by cryptocurrency.");
|
|
5
|
+
const PlisioGetFeePlans2_FeePlanSchema = z.object({
|
|
6
|
+
key: z.string().describe("Fee plan identifier").nullable().optional(),
|
|
7
|
+
name: z.string().describe("Fee plan name").nullable().optional(),
|
|
8
|
+
nonce: z.union([z.string(), z.number().int()]).nullable().optional(),
|
|
9
|
+
value: z.union([z.string(), z.number()]).nullable().optional(),
|
|
10
|
+
feeRate: z.number().describe("Fee rate applied to transaction. Used for Bitcoin-style cryptocurrencies.").nullable().optional(),
|
|
11
|
+
feeUnit: z.string().describe("Fee unit value. Used for Ethereum-style cryptocurrencies.").nullable().optional(),
|
|
12
|
+
gasLimit: z.number().describe("Ethereum gas limit. Used for Ethereum-style cryptocurrencies.").nullable().optional(),
|
|
13
|
+
gasPrice: z.number().describe("Ethereum gas price. Used for Ethereum-style cryptocurrencies.").nullable().optional(),
|
|
14
|
+
conf_target: z.number().describe("Estimate fee to be included into next 'conf_target' block(s). Used for Bitcoin-style cryptocurrencies.").nullable().optional(),
|
|
15
|
+
description: z.string().describe("Fee plan description").nullable().optional(),
|
|
16
|
+
feeRateUnit: z.string().describe("Fee rate unit specification. Used for Bitcoin-style cryptocurrencies.").nullable().optional()
|
|
17
|
+
}).describe("Individual fee plan details for a specific tier.\nFields vary by cryptocurrency type:\n- Bitcoin-based: key, name, description, conf_target, feeRate, feeRateUnit\n- Ethereum-based: key, name, description, gasLimit, gasPrice, value, feeUnit, nonce");
|
|
18
|
+
const PlisioGetFeePlans2_FeePlansDataSchema = z.object({
|
|
19
|
+
normal: PlisioGetFeePlans2_FeePlanSchema.nullable().optional(),
|
|
20
|
+
economy: PlisioGetFeePlans2_FeePlanSchema.nullable().optional(),
|
|
21
|
+
priority: PlisioGetFeePlans2_FeePlanSchema.nullable().optional()
|
|
22
|
+
}).describe("Container object with fee plan tiers for the requested cryptocurrency.\nContains three tiers: economy, normal, and priority.");
|
|
23
|
+
const plisioGetFeePlans2 = action("PLISIO_GET_FEE_PLANS2", {
|
|
24
|
+
slug: "plisio-get-fee-plans2",
|
|
25
|
+
name: "Get Fee Plans",
|
|
26
|
+
description: "Tool to get available fee plans for a specific cryptocurrency. Returns fee values and configuration like gas limits for Ethereum-based coins or confirmation targets for Bitcoin. Use when you need to determine transaction fee options before creating or sending a transaction.",
|
|
27
|
+
input: PlisioGetFeePlans2Input,
|
|
28
|
+
output: z.object({
|
|
29
|
+
data: PlisioGetFeePlans2_FeePlansDataSchema.nullable(),
|
|
30
|
+
status: z.string().describe("Status of the API response, typically 'success' or 'error'")
|
|
31
|
+
}).describe("Response model for fee plans. Returns status and data containing fee plan tiers.")
|
|
32
|
+
});
|
|
33
|
+
//#endregion
|
|
34
|
+
export { plisioGetFeePlans2 };
|
|
35
|
+
|
|
36
|
+
//# sourceMappingURL=get-fee-plans2.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-fee-plans2.mjs","names":[],"sources":["../../src/actions/get-fee-plans2.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlisioGetFeePlans2Input: 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 retrieving fee plans by cryptocurrency.\");\nconst PlisioGetFeePlans2_FeePlanSchema: z.ZodTypeAny = z.object({\n key: z.string().describe(\"Fee plan identifier\").nullable().optional(),\n name: z.string().describe(\"Fee plan name\").nullable().optional(),\n nonce: z.union([z.string(), z.number().int()]).nullable().optional(),\n value: z.union([z.string(), z.number()]).nullable().optional(),\n feeRate: z.number().describe(\"Fee rate applied to transaction. Used for Bitcoin-style cryptocurrencies.\").nullable().optional(),\n feeUnit: z.string().describe(\"Fee unit value. Used for Ethereum-style cryptocurrencies.\").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 cryptocurrencies.\").nullable().optional(),\n description: z.string().describe(\"Fee plan description\").nullable().optional(),\n feeRateUnit: z.string().describe(\"Fee rate unit specification. Used for Bitcoin-style cryptocurrencies.\").nullable().optional(),\n}).describe(\"Individual fee plan details for a specific tier.\\nFields vary by cryptocurrency type:\\n- Bitcoin-based: key, name, description, conf_target, feeRate, feeRateUnit\\n- Ethereum-based: key, name, description, gasLimit, gasPrice, value, feeUnit, nonce\");\nconst PlisioGetFeePlans2_FeePlansDataSchema: z.ZodTypeAny = z.object({\n normal: PlisioGetFeePlans2_FeePlanSchema.nullable().optional(),\n economy: PlisioGetFeePlans2_FeePlanSchema.nullable().optional(),\n priority: PlisioGetFeePlans2_FeePlanSchema.nullable().optional(),\n}).describe(\"Container object with fee plan tiers for the requested cryptocurrency.\\nContains three tiers: economy, normal, and priority.\");\nexport const PlisioGetFeePlans2Output: z.ZodTypeAny = z.object({\n data: PlisioGetFeePlans2_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 plisioGetFeePlans2 = action(\"PLISIO_GET_FEE_PLANS2\", {\n slug: \"plisio-get-fee-plans2\",\n name: \"Get Fee Plans\",\n description: \"Tool to get available fee plans for a specific cryptocurrency. Returns fee values and configuration like gas limits for Ethereum-based coins or confirmation targets for Bitcoin. Use when you need to determine transaction fee options before creating or sending a transaction.\",\n input: PlisioGetFeePlans2Input,\n output: PlisioGetFeePlans2Output,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwC,EAAE,OAAO,EAC5D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,EACvI,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,mCAAiD,EAAE,OAAO;CAC9D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE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M;CACN,aAAa;CACb,OAAO;CACP,QAVoD,EAAE,OAAO;EAC7D,MAAM,sCAAsC,SAAS;EACrD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;CAC1F,CAAC,CAAC,CAAC,SAAS,kFAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-invoice-email.ts
|
|
4
|
+
const PlisioGetInvoiceEmailInput = zod.z.object({
|
|
5
|
+
id: zod.z.string().describe("Invoice unique identifier"),
|
|
6
|
+
email: zod.z.string().describe("Payer's email address associated with the invoice")
|
|
7
|
+
}).describe("Request parameters to retrieve invoice details by email ID.");
|
|
8
|
+
const PlisioGetInvoiceEmail_ShopInfoSchema = zod.z.object({
|
|
9
|
+
link: zod.z.string().describe("Shop website URL").nullable().optional(),
|
|
10
|
+
logo: zod.z.string().describe("Shop logo URL").nullable().optional(),
|
|
11
|
+
name: zod.z.string().describe("Shop name").nullable().optional(),
|
|
12
|
+
failedUrl: zod.z.string().describe("Failed payment redirect URL").nullable().optional(),
|
|
13
|
+
successUrl: zod.z.string().describe("Success redirect URL").nullable().optional(),
|
|
14
|
+
allow_renew: zod.z.boolean().describe("Whether invoice renewal is allowed").nullable().optional()
|
|
15
|
+
}).passthrough().describe("Shop information for the invoice.");
|
|
16
|
+
const PlisioGetInvoiceEmail_InvoiceExtendedSchema = zod.z.object({
|
|
17
|
+
id: zod.z.string().describe("Invoice unique identifier").nullable().optional(),
|
|
18
|
+
tx_id: zod.z.array(zod.z.string()).describe("List of transaction IDs on blockchain").nullable().optional(),
|
|
19
|
+
amount: zod.z.string().describe("Invoice amount in cryptocurrency").nullable().optional(),
|
|
20
|
+
params: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Additional invoice parameters").nullable().optional(),
|
|
21
|
+
tx_url: zod.z.string().describe("Transaction URL on blockchain").nullable().optional(),
|
|
22
|
+
txn_id: zod.z.string().describe("Transaction ID").nullable().optional(),
|
|
23
|
+
paid_id: zod.z.string().describe("Payment identifier").nullable().optional(),
|
|
24
|
+
currency: zod.z.string().describe("Cryptocurrency code").nullable().optional(),
|
|
25
|
+
psys_cid: zod.z.string().describe("Payment system currency ID").nullable().optional(),
|
|
26
|
+
view_key: zod.z.string().describe("View key for private invoices").nullable().optional(),
|
|
27
|
+
switch_id: zod.z.string().describe("Switch identifier").nullable().optional(),
|
|
28
|
+
invoice_sum: zod.z.string().describe("Total invoice sum").nullable().optional(),
|
|
29
|
+
invoice_url: zod.z.string().describe("URL to the invoice page").nullable().optional(),
|
|
30
|
+
source_rate: zod.z.string().describe("Exchange rate from source to crypto").nullable().optional(),
|
|
31
|
+
wallet_hash: zod.z.string().describe("Wallet address hash").nullable().optional(),
|
|
32
|
+
pending_amount: zod.z.string().describe("Amount pending confirmation").nullable().optional(),
|
|
33
|
+
received_amount: zod.z.string().describe("Amount received in cryptocurrency").nullable().optional(),
|
|
34
|
+
source_currency: zod.z.string().describe("Source currency code, e.g., 'USD'").nullable().optional(),
|
|
35
|
+
remaining_amount: zod.z.string().describe("Remaining amount to be paid").nullable().optional(),
|
|
36
|
+
email_already_set: zod.z.boolean().describe("Whether payer email is already set").nullable().optional(),
|
|
37
|
+
invoice_total_sum: zod.z.string().describe("Total invoice sum in source currency").nullable().optional(),
|
|
38
|
+
invoice_commission: zod.z.string().describe("Commission amount charged").nullable().optional(),
|
|
39
|
+
expected_confirmations: zod.z.number().int().describe("Number of confirmations required").nullable().optional()
|
|
40
|
+
}).passthrough().describe("Extended invoice details returned by Plisio.");
|
|
41
|
+
const PlisioGetInvoiceEmail_AllowedPsysCidSchema = zod.z.object({
|
|
42
|
+
cid: zod.z.string().describe("Cryptocurrency identifier").nullable().optional(),
|
|
43
|
+
icon: zod.z.string().describe("Icon URL").nullable().optional(),
|
|
44
|
+
name: zod.z.string().describe("Cryptocurrency name").nullable().optional(),
|
|
45
|
+
amount: zod.z.string().describe("Amount in this cryptocurrency").nullable().optional(),
|
|
46
|
+
currency: zod.z.string().describe("Cryptocurrency code").nullable().optional(),
|
|
47
|
+
rate_usd: zod.z.string().describe("Exchange rate to USD").nullable().optional(),
|
|
48
|
+
price_usd: zod.z.string().describe("Price in USD").nullable().optional()
|
|
49
|
+
}).passthrough().describe("Payment system details for allowed cryptocurrencies.");
|
|
50
|
+
const PlisioGetInvoiceEmail_InvoiceDetailsDataSchema = zod.z.object({
|
|
51
|
+
shop: PlisioGetInvoiceEmail_ShopInfoSchema.nullable().optional(),
|
|
52
|
+
paysys: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Selected cryptocurrency payment details").nullable().optional(),
|
|
53
|
+
invoice: PlisioGetInvoiceEmail_InvoiceExtendedSchema.nullable().optional(),
|
|
54
|
+
active_invoice_id: zod.z.string().describe("Current active invoice ID with last selected cryptocurrency").nullable().optional(),
|
|
55
|
+
allowed_psys_cids: zod.z.array(PlisioGetInvoiceEmail_AllowedPsysCidSchema).describe("List of permitted cryptocurrencies for selection").nullable().optional()
|
|
56
|
+
}).passthrough().describe("Invoice details data object returned by Plisio.");
|
|
57
|
+
const PlisioGetInvoiceEmailOutput = zod.z.object({
|
|
58
|
+
data: PlisioGetInvoiceEmail_InvoiceDetailsDataSchema.nullable().optional(),
|
|
59
|
+
error: zod.z.string().describe("Error message if the request failed").nullable().optional(),
|
|
60
|
+
status: zod.z.string().describe("Result status, e.g., 'success' or 'error'")
|
|
61
|
+
}).describe("Response model for GET /invoices/email/{id} endpoint.");
|
|
62
|
+
const plisioGetInvoiceEmail = require_action.action("PLISIO_GET_INVOICE_EMAIL", {
|
|
63
|
+
slug: "plisio-get-invoice-email",
|
|
64
|
+
name: "Get Invoice by Email",
|
|
65
|
+
description: "Tool to retrieve invoice details by email ID. Use when you need to fetch detailed information about a specific invoice using the invoice ID and payer's email address.",
|
|
66
|
+
input: PlisioGetInvoiceEmailInput,
|
|
67
|
+
output: PlisioGetInvoiceEmailOutput
|
|
68
|
+
});
|
|
69
|
+
//#endregion
|
|
70
|
+
exports.plisioGetInvoiceEmail = plisioGetInvoiceEmail;
|
|
71
|
+
|
|
72
|
+
//# sourceMappingURL=get-invoice-email.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-invoice-email.cjs","names":["z","action"],"sources":["../../src/actions/get-invoice-email.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlisioGetInvoiceEmailInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Invoice unique identifier\"),\n email: z.string().describe(\"Payer's email address associated with the invoice\"),\n}).describe(\"Request parameters to retrieve invoice details by email ID.\");\nconst PlisioGetInvoiceEmail_ShopInfoSchema: z.ZodTypeAny = z.object({\n link: z.string().describe(\"Shop website URL\").nullable().optional(),\n logo: z.string().describe(\"Shop logo URL\").nullable().optional(),\n name: z.string().describe(\"Shop name\").nullable().optional(),\n failedUrl: z.string().describe(\"Failed payment redirect URL\").nullable().optional(),\n successUrl: z.string().describe(\"Success redirect URL\").nullable().optional(),\n allow_renew: z.boolean().describe(\"Whether invoice renewal is allowed\").nullable().optional(),\n}).passthrough().describe(\"Shop information for the invoice.\");\nconst PlisioGetInvoiceEmail_InvoiceExtendedSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Invoice unique identifier\").nullable().optional(),\n tx_id: z.array(z.string()).describe(\"List of transaction IDs on blockchain\").nullable().optional(),\n amount: z.string().describe(\"Invoice amount in cryptocurrency\").nullable().optional(),\n params: z.record(z.string(), z.unknown()).describe(\"Additional invoice parameters\").nullable().optional(),\n tx_url: z.string().describe(\"Transaction URL on blockchain\").nullable().optional(),\n txn_id: z.string().describe(\"Transaction ID\").nullable().optional(),\n paid_id: z.string().describe(\"Payment identifier\").nullable().optional(),\n currency: z.string().describe(\"Cryptocurrency code\").nullable().optional(),\n psys_cid: z.string().describe(\"Payment system currency ID\").nullable().optional(),\n view_key: z.string().describe(\"View key for private invoices\").nullable().optional(),\n switch_id: z.string().describe(\"Switch identifier\").nullable().optional(),\n invoice_sum: z.string().describe(\"Total invoice sum\").nullable().optional(),\n invoice_url: z.string().describe(\"URL to the invoice page\").nullable().optional(),\n source_rate: z.string().describe(\"Exchange rate from source to crypto\").nullable().optional(),\n wallet_hash: z.string().describe(\"Wallet address hash\").nullable().optional(),\n pending_amount: z.string().describe(\"Amount pending confirmation\").nullable().optional(),\n received_amount: z.string().describe(\"Amount received in cryptocurrency\").nullable().optional(),\n source_currency: z.string().describe(\"Source currency code, e.g., 'USD'\").nullable().optional(),\n remaining_amount: z.string().describe(\"Remaining amount to be paid\").nullable().optional(),\n email_already_set: z.boolean().describe(\"Whether payer email is already set\").nullable().optional(),\n invoice_total_sum: z.string().describe(\"Total invoice sum in source currency\").nullable().optional(),\n invoice_commission: z.string().describe(\"Commission amount charged\").nullable().optional(),\n expected_confirmations: z.number().int().describe(\"Number of confirmations required\").nullable().optional(),\n}).passthrough().describe(\"Extended invoice details returned by Plisio.\");\nconst PlisioGetInvoiceEmail_AllowedPsysCidSchema: z.ZodTypeAny = z.object({\n cid: z.string().describe(\"Cryptocurrency identifier\").nullable().optional(),\n icon: z.string().describe(\"Icon URL\").nullable().optional(),\n name: z.string().describe(\"Cryptocurrency name\").nullable().optional(),\n amount: z.string().describe(\"Amount in this cryptocurrency\").nullable().optional(),\n currency: z.string().describe(\"Cryptocurrency code\").nullable().optional(),\n rate_usd: z.string().describe(\"Exchange rate to USD\").nullable().optional(),\n price_usd: z.string().describe(\"Price in USD\").nullable().optional(),\n}).passthrough().describe(\"Payment system details for allowed cryptocurrencies.\");\nconst PlisioGetInvoiceEmail_InvoiceDetailsDataSchema: z.ZodTypeAny = z.object({\n shop: PlisioGetInvoiceEmail_ShopInfoSchema.nullable().optional(),\n paysys: z.record(z.string(), z.unknown()).describe(\"Selected cryptocurrency payment details\").nullable().optional(),\n invoice: PlisioGetInvoiceEmail_InvoiceExtendedSchema.nullable().optional(),\n active_invoice_id: z.string().describe(\"Current active invoice ID with last selected cryptocurrency\").nullable().optional(),\n allowed_psys_cids: z.array(PlisioGetInvoiceEmail_AllowedPsysCidSchema).describe(\"List of permitted cryptocurrencies for selection\").nullable().optional(),\n}).passthrough().describe(\"Invoice details data object returned by Plisio.\");\nexport const PlisioGetInvoiceEmailOutput: z.ZodTypeAny = z.object({\n data: PlisioGetInvoiceEmail_InvoiceDetailsDataSchema.nullable().optional(),\n error: z.string().describe(\"Error message if the request failed\").nullable().optional(),\n status: z.string().describe(\"Result status, e.g., 'success' or 'error'\"),\n}).describe(\"Response model for GET /invoices/email/{id} endpoint.\");\n\nexport const plisioGetInvoiceEmail = action(\"PLISIO_GET_INVOICE_EMAIL\", {\n slug: \"plisio-get-invoice-email\",\n name: \"Get Invoice by Email\",\n description: \"Tool to retrieve invoice details by email ID. Use when you need to fetch detailed information about a specific invoice using the invoice ID and payer's email address.\",\n input: PlisioGetInvoiceEmailInput,\n output: PlisioGetInvoiceEmailOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA2CA,IAAAA,EAAE,OAAO;CAC/D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CACnD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;AAChF,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAM,uCAAqDA,IAAAA,EAAE,OAAO;CAClE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS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C,SAAS;CACzE,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,mBAAmBA,IAAAA,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1J,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAC3E,MAAa,8BAA4CA,IAAAA,EAAE,OAAO;CAChE,MAAM,+CAA+C,SAAS,CAAC,CAAC,SAAS;CACzE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;AACzE,CAAC,CAAC,CAAC,SAAS,uDAAuD;AAEnE,MAAa,wBAAwBC,eAAAA,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-invoice-email.d.ts
|
|
4
|
+
declare const PlisioGetInvoiceEmailInput: z.ZodTypeAny;
|
|
5
|
+
declare const PlisioGetInvoiceEmailOutput: z.ZodTypeAny;
|
|
6
|
+
declare const plisioGetInvoiceEmail: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { plisioGetInvoiceEmail };
|
|
9
|
+
//# sourceMappingURL=get-invoice-email.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-invoice-email.d.cts","names":[],"sources":["../../src/actions/get-invoice-email.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAG+B;AAAA,cAkD7D,2BAAA,EAA6B,CAAA,CAAE,UAIwB;AAAA,cAEvD,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-invoice-email.d.ts
|
|
4
|
+
declare const PlisioGetInvoiceEmailInput: z.ZodTypeAny;
|
|
5
|
+
declare const PlisioGetInvoiceEmailOutput: z.ZodTypeAny;
|
|
6
|
+
declare const plisioGetInvoiceEmail: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { plisioGetInvoiceEmail };
|
|
9
|
+
//# sourceMappingURL=get-invoice-email.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-invoice-email.d.mts","names":[],"sources":["../../src/actions/get-invoice-email.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAG+B;AAAA,cAkD7D,2BAAA,EAA6B,CAAA,CAAE,UAIwB;AAAA,cAEvD,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|