@keystrokehq/plisio 0.1.5 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/create-invoice.cjs +1 -0
- package/dist/actions/create-invoice.cjs.map +1 -1
- package/dist/actions/create-invoice.d.cts +3 -34
- package/dist/actions/create-invoice.d.cts.map +1 -1
- package/dist/actions/create-invoice.d.mts +3 -34
- package/dist/actions/create-invoice.d.mts.map +1 -1
- package/dist/actions/create-invoice.mjs +1 -0
- package/dist/actions/create-invoice.mjs.map +1 -1
- package/dist/actions/estimate-fee.cjs +1 -0
- package/dist/actions/estimate-fee.cjs.map +1 -1
- package/dist/actions/estimate-fee.d.cts +3 -18
- package/dist/actions/estimate-fee.d.cts.map +1 -1
- package/dist/actions/estimate-fee.d.mts +3 -18
- package/dist/actions/estimate-fee.d.mts.map +1 -1
- package/dist/actions/estimate-fee.mjs +1 -0
- package/dist/actions/estimate-fee.mjs.map +1 -1
- package/dist/actions/get-balance-by-currency.cjs +1 -0
- package/dist/actions/get-balance-by-currency.cjs.map +1 -1
- package/dist/actions/get-balance-by-currency.d.cts +3 -15
- package/dist/actions/get-balance-by-currency.d.cts.map +1 -1
- package/dist/actions/get-balance-by-currency.d.mts +3 -15
- package/dist/actions/get-balance-by-currency.d.mts.map +1 -1
- package/dist/actions/get-balance-by-currency.mjs +1 -0
- package/dist/actions/get-balance-by-currency.mjs.map +1 -1
- package/dist/actions/get-commission.cjs +1 -0
- package/dist/actions/get-commission.cjs.map +1 -1
- package/dist/actions/get-commission.d.cts +3 -19
- package/dist/actions/get-commission.d.cts.map +1 -1
- package/dist/actions/get-commission.d.mts +3 -19
- package/dist/actions/get-commission.d.mts.map +1 -1
- package/dist/actions/get-commission.mjs +1 -0
- package/dist/actions/get-commission.mjs.map +1 -1
- package/dist/actions/get-currency-rate.cjs +1 -0
- package/dist/actions/get-currency-rate.cjs.map +1 -1
- package/dist/actions/get-currency-rate.d.cts +3 -15
- package/dist/actions/get-currency-rate.d.cts.map +1 -1
- package/dist/actions/get-currency-rate.d.mts +3 -15
- package/dist/actions/get-currency-rate.d.mts.map +1 -1
- package/dist/actions/get-currency-rate.mjs +1 -0
- package/dist/actions/get-currency-rate.mjs.map +1 -1
- package/dist/actions/get-fee-plans.cjs +1 -0
- package/dist/actions/get-fee-plans.cjs.map +1 -1
- package/dist/actions/get-fee-plans.d.cts +3 -15
- package/dist/actions/get-fee-plans.d.cts.map +1 -1
- package/dist/actions/get-fee-plans.d.mts +3 -15
- package/dist/actions/get-fee-plans.d.mts.map +1 -1
- package/dist/actions/get-fee-plans.mjs +1 -0
- package/dist/actions/get-fee-plans.mjs.map +1 -1
- package/dist/actions/get-fee-plans2.cjs +1 -0
- package/dist/actions/get-fee-plans2.cjs.map +1 -1
- package/dist/actions/get-fee-plans2.d.cts +3 -15
- package/dist/actions/get-fee-plans2.d.cts.map +1 -1
- package/dist/actions/get-fee-plans2.d.mts +3 -15
- package/dist/actions/get-fee-plans2.d.mts.map +1 -1
- package/dist/actions/get-fee-plans2.mjs +1 -0
- package/dist/actions/get-fee-plans2.mjs.map +1 -1
- package/dist/actions/get-invoice-email.cjs +1 -0
- package/dist/actions/get-invoice-email.cjs.map +1 -1
- package/dist/actions/get-invoice-email.d.cts +3 -16
- package/dist/actions/get-invoice-email.d.cts.map +1 -1
- package/dist/actions/get-invoice-email.d.mts +3 -16
- package/dist/actions/get-invoice-email.d.mts.map +1 -1
- package/dist/actions/get-invoice-email.mjs +1 -0
- package/dist/actions/get-invoice-email.mjs.map +1 -1
- package/dist/actions/get-invoice.cjs +1 -0
- package/dist/actions/get-invoice.cjs.map +1 -1
- package/dist/actions/get-invoice.d.cts +3 -15
- package/dist/actions/get-invoice.d.cts.map +1 -1
- package/dist/actions/get-invoice.d.mts +3 -15
- package/dist/actions/get-invoice.d.mts.map +1 -1
- package/dist/actions/get-invoice.mjs +1 -0
- package/dist/actions/get-invoice.mjs.map +1 -1
- package/dist/actions/get-shop.cjs +1 -0
- package/dist/actions/get-shop.cjs.map +1 -1
- package/dist/actions/get-shop.d.cts +3 -13
- package/dist/actions/get-shop.d.cts.map +1 -1
- package/dist/actions/get-shop.d.mts +3 -13
- package/dist/actions/get-shop.d.mts.map +1 -1
- package/dist/actions/get-shop.mjs +1 -0
- package/dist/actions/get-shop.mjs.map +1 -1
- package/dist/actions/get-transactions.cjs +1 -0
- package/dist/actions/get-transactions.cjs.map +1 -1
- package/dist/actions/get-transactions.d.cts +3 -23
- package/dist/actions/get-transactions.d.cts.map +1 -1
- package/dist/actions/get-transactions.d.mts +3 -23
- package/dist/actions/get-transactions.d.mts.map +1 -1
- package/dist/actions/get-transactions.mjs +1 -0
- package/dist/actions/get-transactions.mjs.map +1 -1
- package/dist/actions/list-currencies.cjs +1 -0
- package/dist/actions/list-currencies.cjs.map +1 -1
- package/dist/actions/list-currencies.d.cts +3 -13
- package/dist/actions/list-currencies.d.cts.map +1 -1
- package/dist/actions/list-currencies.d.mts +3 -13
- package/dist/actions/list-currencies.d.mts.map +1 -1
- package/dist/actions/list-currencies.mjs +1 -0
- package/dist/actions/list-currencies.mjs.map +1 -1
- package/dist/app.cjs +2 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +4 -6
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +4 -6
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +0 -1
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
|
@@ -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.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":"
|
|
1
|
+
{"version":3,"file":"get-commission.mjs","names":[],"sources":["../../src/actions/get-commission.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { plisio } from \"../app\";\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: AppAction<\n typeof PlisioGetCommissionInput,\n typeof PlisioGetCommissionOutput,\n typeof plisio.credential\n> = 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":";;;;AAMA,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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|
|
|
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":"
|
|
1
|
+
{"version":3,"file":"get-currency-rate.cjs","names":["z","action"],"sources":["../../src/actions/get-currency-rate.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { plisio } from \"../app\";\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: AppAction<\n typeof PlisioGetCurrencyRateInput,\n typeof PlisioGetCurrencyRateOutput,\n typeof plisio.credential\n> = 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":";;;;AAMA,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,e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.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-currency-rate.d.ts
|
|
@@ -22,21 +24,7 @@ declare const PlisioGetCurrencyRateOutput: z.ZodObject<{
|
|
|
22
24
|
}, z.core.$loose>>;
|
|
23
25
|
status: z.ZodNullable<z.ZodString>;
|
|
24
26
|
}, z.core.$loose>;
|
|
25
|
-
declare const plisioGetCurrencyRate:
|
|
26
|
-
fiat: string;
|
|
27
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"plisio", z.ZodObject<{
|
|
28
|
-
connectionId: z.ZodString;
|
|
29
|
-
entityId: z.ZodString;
|
|
30
|
-
instanceId: z.ZodString;
|
|
31
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
32
|
-
generic_api_key: z.ZodString;
|
|
33
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"plisio", z.ZodObject<{
|
|
34
|
-
connectionId: z.ZodString;
|
|
35
|
-
entityId: z.ZodString;
|
|
36
|
-
instanceId: z.ZodString;
|
|
37
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
38
|
-
generic_api_key: z.ZodString;
|
|
39
|
-
}, z.core.$strip>>]>;
|
|
27
|
+
declare const plisioGetCurrencyRate: AppAction<typeof PlisioGetCurrencyRateInput, typeof PlisioGetCurrencyRateOutput, typeof plisio.credential>;
|
|
40
28
|
//#endregion
|
|
41
29
|
export { plisioGetCurrencyRate };
|
|
42
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":"
|
|
1
|
+
{"version":3,"file":"get-currency-rate.d.cts","names":[],"sources":["../../src/actions/get-currency-rate.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAkB1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAK3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { plisio } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-currency-rate.d.ts
|
|
@@ -22,21 +24,7 @@ declare const PlisioGetCurrencyRateOutput: z.ZodObject<{
|
|
|
22
24
|
}, z.core.$loose>>;
|
|
23
25
|
status: z.ZodNullable<z.ZodString>;
|
|
24
26
|
}, z.core.$loose>;
|
|
25
|
-
declare const plisioGetCurrencyRate:
|
|
26
|
-
fiat: string;
|
|
27
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"plisio", z.ZodObject<{
|
|
28
|
-
connectionId: z.ZodString;
|
|
29
|
-
entityId: z.ZodString;
|
|
30
|
-
instanceId: z.ZodString;
|
|
31
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
32
|
-
generic_api_key: z.ZodString;
|
|
33
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"plisio", z.ZodObject<{
|
|
34
|
-
connectionId: z.ZodString;
|
|
35
|
-
entityId: z.ZodString;
|
|
36
|
-
instanceId: z.ZodString;
|
|
37
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
38
|
-
generic_api_key: z.ZodString;
|
|
39
|
-
}, z.core.$strip>>]>;
|
|
27
|
+
declare const plisioGetCurrencyRate: AppAction<typeof PlisioGetCurrencyRateInput, typeof PlisioGetCurrencyRateOutput, typeof plisio.credential>;
|
|
40
28
|
//#endregion
|
|
41
29
|
export { plisioGetCurrencyRate };
|
|
42
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":"
|
|
1
|
+
{"version":3,"file":"get-currency-rate.d.mts","names":[],"sources":["../../src/actions/get-currency-rate.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAkB1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAK3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -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.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":"
|
|
1
|
+
{"version":3,"file":"get-currency-rate.mjs","names":[],"sources":["../../src/actions/get-currency-rate.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { plisio } from \"../app\";\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: AppAction<\n typeof PlisioGetCurrencyRateInput,\n typeof PlisioGetCurrencyRateOutput,\n typeof plisio.credential\n> = 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":";;;;AAMA,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,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CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAWhB;AACV,CAAC"}
|
|
@@ -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.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":"
|
|
1
|
+
{"version":3,"file":"get-fee-plans.cjs","names":["z","action"],"sources":["../../src/actions/get-fee-plans.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { plisio } from \"../app\";\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: AppAction<\n typeof PlisioGetFeePlansInput,\n typeof PlisioGetFeePlansOutput,\n typeof plisio.credential\n> = 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":";;;;AAMA,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,oBAITC,eAAAA,OAAO,wBAAwB;CACjC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { plisio } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-fee-plans.d.ts
|
|
@@ -21,21 +23,7 @@ declare const PlisioGetFeePlansOutput: z.ZodObject<{
|
|
|
21
23
|
}, z.core.$loose>>;
|
|
22
24
|
status: z.ZodNullable<z.ZodString>;
|
|
23
25
|
}, z.core.$loose>;
|
|
24
|
-
declare const plisioGetFeePlans:
|
|
25
|
-
currency: string;
|
|
26
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"plisio", z.ZodObject<{
|
|
27
|
-
connectionId: z.ZodString;
|
|
28
|
-
entityId: z.ZodString;
|
|
29
|
-
instanceId: z.ZodString;
|
|
30
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
31
|
-
generic_api_key: z.ZodString;
|
|
32
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"plisio", z.ZodObject<{
|
|
33
|
-
connectionId: z.ZodString;
|
|
34
|
-
entityId: z.ZodString;
|
|
35
|
-
instanceId: z.ZodString;
|
|
36
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
37
|
-
generic_api_key: z.ZodString;
|
|
38
|
-
}, z.core.$strip>>]>;
|
|
26
|
+
declare const plisioGetFeePlans: AppAction<typeof PlisioGetFeePlansInput, typeof PlisioGetFeePlansOutput, typeof plisio.credential>;
|
|
39
27
|
//#endregion
|
|
40
28
|
export { plisioGetFeePlans };
|
|
41
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":"
|
|
1
|
+
{"version":3,"file":"get-fee-plans.d.cts","names":[],"sources":["../../src/actions/get-fee-plans.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;cAatB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAKvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { plisio } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-fee-plans.d.ts
|
|
@@ -21,21 +23,7 @@ declare const PlisioGetFeePlansOutput: z.ZodObject<{
|
|
|
21
23
|
}, z.core.$loose>>;
|
|
22
24
|
status: z.ZodNullable<z.ZodString>;
|
|
23
25
|
}, z.core.$loose>;
|
|
24
|
-
declare const plisioGetFeePlans:
|
|
25
|
-
currency: string;
|
|
26
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"plisio", z.ZodObject<{
|
|
27
|
-
connectionId: z.ZodString;
|
|
28
|
-
entityId: z.ZodString;
|
|
29
|
-
instanceId: z.ZodString;
|
|
30
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
31
|
-
generic_api_key: z.ZodString;
|
|
32
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"plisio", z.ZodObject<{
|
|
33
|
-
connectionId: z.ZodString;
|
|
34
|
-
entityId: z.ZodString;
|
|
35
|
-
instanceId: z.ZodString;
|
|
36
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
37
|
-
generic_api_key: z.ZodString;
|
|
38
|
-
}, z.core.$strip>>]>;
|
|
26
|
+
declare const plisioGetFeePlans: AppAction<typeof PlisioGetFeePlansInput, typeof PlisioGetFeePlansOutput, typeof plisio.credential>;
|
|
39
27
|
//#endregion
|
|
40
28
|
export { plisioGetFeePlans };
|
|
41
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":"
|
|
1
|
+
{"version":3,"file":"get-fee-plans.d.mts","names":[],"sources":["../../src/actions/get-fee-plans.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;cAatB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAKvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1 +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.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":"
|
|
1
|
+
{"version":3,"file":"get-fee-plans.mjs","names":[],"sources":["../../src/actions/get-fee-plans.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { plisio } from \"../app\";\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: AppAction<\n typeof PlisioGetFeePlansInput,\n typeof PlisioGetFeePlansOutput,\n typeof plisio.credential\n> = 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":";;;;AAMA,MAAa,yBAAyB,EAAE,OAAO,EAC7C,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,EACpE,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,kCAAkC,EAAE,OAAO;CAC/C,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,YAAY,CAAC,CAAC,SAAS,qQAAqQ;AAC/R,MAAM,uCAAuC,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;AAMrL,MAAa,oBAIT,OAAO,wBAAwB;CACjC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdqC,EAAE,OAAO;EAC9C,MAAM,qCAAqC,SAAS;EACpD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kFAWhB;AACV,CAAC"}
|
|
@@ -1 +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.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.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}).passthrough().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.object({\n normal: PlisioGetFeePlans2_FeePlanSchema.nullable().optional(),\n economy: PlisioGetFeePlans2_FeePlanSchema.nullable().optional(),\n priority: PlisioGetFeePlans2_FeePlanSchema.nullable().optional(),\n}).passthrough().describe(\"Container object with fee plan tiers for the requested cryptocurrency.\\nContains three tiers: economy, normal, and priority.\");\nexport const PlisioGetFeePlans2Output = z.object({\n data: PlisioGetFeePlans2_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 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":"
|
|
1
|
+
{"version":3,"file":"get-fee-plans2.cjs","names":["z","action"],"sources":["../../src/actions/get-fee-plans2.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { plisio } from \"../app\";\n\nexport const PlisioGetFeePlans2Input = 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.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}).passthrough().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.object({\n normal: PlisioGetFeePlans2_FeePlanSchema.nullable().optional(),\n economy: PlisioGetFeePlans2_FeePlanSchema.nullable().optional(),\n priority: PlisioGetFeePlans2_FeePlanSchema.nullable().optional(),\n}).passthrough().describe(\"Container object with fee plan tiers for the requested cryptocurrency.\\nContains three tiers: economy, normal, and priority.\");\nexport const PlisioGetFeePlans2Output = z.object({\n data: PlisioGetFeePlans2_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 plisioGetFeePlans2: AppAction<\n typeof PlisioGetFeePlans2Input,\n typeof PlisioGetFeePlans2Output,\n typeof plisio.credential\n> = 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":";;;;AAMA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,EACvI,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,mCAAmCA,IAAAA,EAAE,OAAO;CAChD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/D,OAAOA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnE,OAAOA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS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.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-fee-plans2.d.ts
|
|
@@ -48,21 +50,7 @@ declare const PlisioGetFeePlans2Output: z.ZodObject<{
|
|
|
48
50
|
}, z.core.$loose>>;
|
|
49
51
|
status: z.ZodNullable<z.ZodString>;
|
|
50
52
|
}, z.core.$loose>;
|
|
51
|
-
declare const plisioGetFeePlans2:
|
|
52
|
-
psys_cid: string;
|
|
53
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"plisio", z.ZodObject<{
|
|
54
|
-
connectionId: z.ZodString;
|
|
55
|
-
entityId: z.ZodString;
|
|
56
|
-
instanceId: z.ZodString;
|
|
57
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
58
|
-
generic_api_key: z.ZodString;
|
|
59
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"plisio", z.ZodObject<{
|
|
60
|
-
connectionId: z.ZodString;
|
|
61
|
-
entityId: z.ZodString;
|
|
62
|
-
instanceId: z.ZodString;
|
|
63
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
64
|
-
generic_api_key: z.ZodString;
|
|
65
|
-
}, z.core.$strip>>]>;
|
|
53
|
+
declare const plisioGetFeePlans2: AppAction<typeof PlisioGetFeePlans2Input, typeof PlisioGetFeePlans2Output, typeof plisio.credential>;
|
|
66
54
|
//#endregion
|
|
67
55
|
export { plisioGetFeePlans2 };
|
|
68
56
|
//# sourceMappingURL=get-fee-plans2.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-fee-plans2.d.cts","names":[],"sources":["../../src/actions/get-fee-plans2.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-fee-plans2.d.cts","names":[],"sources":["../../src/actions/get-fee-plans2.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAqBvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { plisio } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-fee-plans2.d.ts
|
|
@@ -48,21 +50,7 @@ declare const PlisioGetFeePlans2Output: z.ZodObject<{
|
|
|
48
50
|
}, z.core.$loose>>;
|
|
49
51
|
status: z.ZodNullable<z.ZodString>;
|
|
50
52
|
}, z.core.$loose>;
|
|
51
|
-
declare const plisioGetFeePlans2:
|
|
52
|
-
psys_cid: string;
|
|
53
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"plisio", z.ZodObject<{
|
|
54
|
-
connectionId: z.ZodString;
|
|
55
|
-
entityId: z.ZodString;
|
|
56
|
-
instanceId: z.ZodString;
|
|
57
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
58
|
-
generic_api_key: z.ZodString;
|
|
59
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"plisio", z.ZodObject<{
|
|
60
|
-
connectionId: z.ZodString;
|
|
61
|
-
entityId: z.ZodString;
|
|
62
|
-
instanceId: z.ZodString;
|
|
63
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
64
|
-
generic_api_key: z.ZodString;
|
|
65
|
-
}, z.core.$strip>>]>;
|
|
53
|
+
declare const plisioGetFeePlans2: AppAction<typeof PlisioGetFeePlans2Input, typeof PlisioGetFeePlans2Output, typeof plisio.credential>;
|
|
66
54
|
//#endregion
|
|
67
55
|
export { plisioGetFeePlans2 };
|
|
68
56
|
//# sourceMappingURL=get-fee-plans2.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-fee-plans2.d.mts","names":[],"sources":["../../src/actions/get-fee-plans2.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-fee-plans2.d.mts","names":[],"sources":["../../src/actions/get-fee-plans2.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAqBvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1 +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.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.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}).passthrough().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.object({\n normal: PlisioGetFeePlans2_FeePlanSchema.nullable().optional(),\n economy: PlisioGetFeePlans2_FeePlanSchema.nullable().optional(),\n priority: PlisioGetFeePlans2_FeePlanSchema.nullable().optional(),\n}).passthrough().describe(\"Container object with fee plan tiers for the requested cryptocurrency.\\nContains three tiers: economy, normal, and priority.\");\nexport const PlisioGetFeePlans2Output = z.object({\n data: PlisioGetFeePlans2_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 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":"
|
|
1
|
+
{"version":3,"file":"get-fee-plans2.mjs","names":[],"sources":["../../src/actions/get-fee-plans2.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { plisio } from \"../app\";\n\nexport const PlisioGetFeePlans2Input = 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.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}).passthrough().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.object({\n normal: PlisioGetFeePlans2_FeePlanSchema.nullable().optional(),\n economy: PlisioGetFeePlans2_FeePlanSchema.nullable().optional(),\n priority: PlisioGetFeePlans2_FeePlanSchema.nullable().optional(),\n}).passthrough().describe(\"Container object with fee plan tiers for the requested cryptocurrency.\\nContains three tiers: economy, normal, and priority.\");\nexport const PlisioGetFeePlans2Output = z.object({\n data: PlisioGetFeePlans2_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 plisioGetFeePlans2: AppAction<\n typeof PlisioGetFeePlans2Input,\n typeof PlisioGetFeePlans2Output,\n typeof plisio.credential\n> = 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":";;;;AAMA,MAAa,0BAA0B,EAAE,OAAO,EAC9C,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,EACvI,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,mCAAmC,EAAE,OAAO;CAChD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/D,OAAO,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnE,OAAO,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,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,wGAAwG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/J,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wPAAwP;AAClR,MAAM,wCAAwC,EAAE,OAAO;CACrD,QAAQ,iCAAiC,SAAS,CAAC,CAAC,SAAS;CAC7D,SAAS,iCAAiC,SAAS,CAAC,CAAC,SAAS;CAC9D,UAAU,iCAAiC,SAAS,CAAC,CAAC,SAAS;AACjE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8HAA8H;AAMxJ,MAAa,qBAIT,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdsC,EAAE,OAAO;EAC/C,MAAM,sCAAsC,SAAS;EACrD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kFAWhB;AACV,CAAC"}
|
|
@@ -1 +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.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.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.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.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.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.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'\").nullable(),\n}).passthrough().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":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AAA,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"get-invoice-email.cjs","names":["z","action"],"sources":["../../src/actions/get-invoice-email.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { plisio } from \"../app\";\n\nexport const PlisioGetInvoiceEmailInput = 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.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.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.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.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.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'\").nullable(),\n}).passthrough().describe(\"Response model for GET /invoices/email/{id} endpoint.\");\n\nexport const plisioGetInvoiceEmail: AppAction<\n typeof PlisioGetInvoiceEmailInput,\n typeof PlisioGetInvoiceEmailOutput,\n typeof plisio.credential\n> = 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":";;;;AAMA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,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,uCAAuCA,IAAAA,EAAE,OAAO;CACpD,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,SA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,CAAC,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,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,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,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAAuD;AAEjF,MAAa,wBAITC,eAAAA,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { plisio } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-invoice-email.d.ts
|
|
@@ -55,22 +57,7 @@ declare const PlisioGetInvoiceEmailOutput: z.ZodObject<{
|
|
|
55
57
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
56
58
|
status: z.ZodNullable<z.ZodString>;
|
|
57
59
|
}, z.core.$loose>;
|
|
58
|
-
declare const plisioGetInvoiceEmail:
|
|
59
|
-
id: string;
|
|
60
|
-
email: string;
|
|
61
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"plisio", z.ZodObject<{
|
|
62
|
-
connectionId: z.ZodString;
|
|
63
|
-
entityId: z.ZodString;
|
|
64
|
-
instanceId: z.ZodString;
|
|
65
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
66
|
-
generic_api_key: z.ZodString;
|
|
67
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"plisio", z.ZodObject<{
|
|
68
|
-
connectionId: z.ZodString;
|
|
69
|
-
entityId: z.ZodString;
|
|
70
|
-
instanceId: z.ZodString;
|
|
71
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
72
|
-
generic_api_key: z.ZodString;
|
|
73
|
-
}, z.core.$strip>>]>;
|
|
60
|
+
declare const plisioGetInvoiceEmail: AppAction<typeof PlisioGetInvoiceEmailInput, typeof PlisioGetInvoiceEmailOutput, typeof plisio.credential>;
|
|
74
61
|
//#endregion
|
|
75
62
|
export { plisioGetInvoiceEmail };
|
|
76
63
|
//# sourceMappingURL=get-invoice-email.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-invoice-email.d.cts","names":[],"sources":["../../src/actions/get-invoice-email.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-invoice-email.d.cts","names":[],"sources":["../../src/actions/get-invoice-email.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;cAqD1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAM3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { plisio } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-invoice-email.d.ts
|
|
@@ -55,22 +57,7 @@ declare const PlisioGetInvoiceEmailOutput: z.ZodObject<{
|
|
|
55
57
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
56
58
|
status: z.ZodNullable<z.ZodString>;
|
|
57
59
|
}, z.core.$loose>;
|
|
58
|
-
declare const plisioGetInvoiceEmail:
|
|
59
|
-
id: string;
|
|
60
|
-
email: string;
|
|
61
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"plisio", z.ZodObject<{
|
|
62
|
-
connectionId: z.ZodString;
|
|
63
|
-
entityId: z.ZodString;
|
|
64
|
-
instanceId: z.ZodString;
|
|
65
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
66
|
-
generic_api_key: z.ZodString;
|
|
67
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"plisio", z.ZodObject<{
|
|
68
|
-
connectionId: z.ZodString;
|
|
69
|
-
entityId: z.ZodString;
|
|
70
|
-
instanceId: z.ZodString;
|
|
71
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
72
|
-
generic_api_key: z.ZodString;
|
|
73
|
-
}, z.core.$strip>>]>;
|
|
60
|
+
declare const plisioGetInvoiceEmail: AppAction<typeof PlisioGetInvoiceEmailInput, typeof PlisioGetInvoiceEmailOutput, typeof plisio.credential>;
|
|
74
61
|
//#endregion
|
|
75
62
|
export { plisioGetInvoiceEmail };
|
|
76
63
|
//# sourceMappingURL=get-invoice-email.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-invoice-email.d.mts","names":[],"sources":["../../src/actions/get-invoice-email.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-invoice-email.d.mts","names":[],"sources":["../../src/actions/get-invoice-email.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;cAqD1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAM3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,MAAA,CAAO,UAAA"}
|