@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.
Files changed (109) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/create-invoice.cjs +1 -0
  4. package/dist/actions/create-invoice.cjs.map +1 -1
  5. package/dist/actions/create-invoice.d.cts +3 -34
  6. package/dist/actions/create-invoice.d.cts.map +1 -1
  7. package/dist/actions/create-invoice.d.mts +3 -34
  8. package/dist/actions/create-invoice.d.mts.map +1 -1
  9. package/dist/actions/create-invoice.mjs +1 -0
  10. package/dist/actions/create-invoice.mjs.map +1 -1
  11. package/dist/actions/estimate-fee.cjs +1 -0
  12. package/dist/actions/estimate-fee.cjs.map +1 -1
  13. package/dist/actions/estimate-fee.d.cts +3 -18
  14. package/dist/actions/estimate-fee.d.cts.map +1 -1
  15. package/dist/actions/estimate-fee.d.mts +3 -18
  16. package/dist/actions/estimate-fee.d.mts.map +1 -1
  17. package/dist/actions/estimate-fee.mjs +1 -0
  18. package/dist/actions/estimate-fee.mjs.map +1 -1
  19. package/dist/actions/get-balance-by-currency.cjs +1 -0
  20. package/dist/actions/get-balance-by-currency.cjs.map +1 -1
  21. package/dist/actions/get-balance-by-currency.d.cts +3 -15
  22. package/dist/actions/get-balance-by-currency.d.cts.map +1 -1
  23. package/dist/actions/get-balance-by-currency.d.mts +3 -15
  24. package/dist/actions/get-balance-by-currency.d.mts.map +1 -1
  25. package/dist/actions/get-balance-by-currency.mjs +1 -0
  26. package/dist/actions/get-balance-by-currency.mjs.map +1 -1
  27. package/dist/actions/get-commission.cjs +1 -0
  28. package/dist/actions/get-commission.cjs.map +1 -1
  29. package/dist/actions/get-commission.d.cts +3 -19
  30. package/dist/actions/get-commission.d.cts.map +1 -1
  31. package/dist/actions/get-commission.d.mts +3 -19
  32. package/dist/actions/get-commission.d.mts.map +1 -1
  33. package/dist/actions/get-commission.mjs +1 -0
  34. package/dist/actions/get-commission.mjs.map +1 -1
  35. package/dist/actions/get-currency-rate.cjs +1 -0
  36. package/dist/actions/get-currency-rate.cjs.map +1 -1
  37. package/dist/actions/get-currency-rate.d.cts +3 -15
  38. package/dist/actions/get-currency-rate.d.cts.map +1 -1
  39. package/dist/actions/get-currency-rate.d.mts +3 -15
  40. package/dist/actions/get-currency-rate.d.mts.map +1 -1
  41. package/dist/actions/get-currency-rate.mjs +1 -0
  42. package/dist/actions/get-currency-rate.mjs.map +1 -1
  43. package/dist/actions/get-fee-plans.cjs +1 -0
  44. package/dist/actions/get-fee-plans.cjs.map +1 -1
  45. package/dist/actions/get-fee-plans.d.cts +3 -15
  46. package/dist/actions/get-fee-plans.d.cts.map +1 -1
  47. package/dist/actions/get-fee-plans.d.mts +3 -15
  48. package/dist/actions/get-fee-plans.d.mts.map +1 -1
  49. package/dist/actions/get-fee-plans.mjs +1 -0
  50. package/dist/actions/get-fee-plans.mjs.map +1 -1
  51. package/dist/actions/get-fee-plans2.cjs +1 -0
  52. package/dist/actions/get-fee-plans2.cjs.map +1 -1
  53. package/dist/actions/get-fee-plans2.d.cts +3 -15
  54. package/dist/actions/get-fee-plans2.d.cts.map +1 -1
  55. package/dist/actions/get-fee-plans2.d.mts +3 -15
  56. package/dist/actions/get-fee-plans2.d.mts.map +1 -1
  57. package/dist/actions/get-fee-plans2.mjs +1 -0
  58. package/dist/actions/get-fee-plans2.mjs.map +1 -1
  59. package/dist/actions/get-invoice-email.cjs +1 -0
  60. package/dist/actions/get-invoice-email.cjs.map +1 -1
  61. package/dist/actions/get-invoice-email.d.cts +3 -16
  62. package/dist/actions/get-invoice-email.d.cts.map +1 -1
  63. package/dist/actions/get-invoice-email.d.mts +3 -16
  64. package/dist/actions/get-invoice-email.d.mts.map +1 -1
  65. package/dist/actions/get-invoice-email.mjs +1 -0
  66. package/dist/actions/get-invoice-email.mjs.map +1 -1
  67. package/dist/actions/get-invoice.cjs +1 -0
  68. package/dist/actions/get-invoice.cjs.map +1 -1
  69. package/dist/actions/get-invoice.d.cts +3 -15
  70. package/dist/actions/get-invoice.d.cts.map +1 -1
  71. package/dist/actions/get-invoice.d.mts +3 -15
  72. package/dist/actions/get-invoice.d.mts.map +1 -1
  73. package/dist/actions/get-invoice.mjs +1 -0
  74. package/dist/actions/get-invoice.mjs.map +1 -1
  75. package/dist/actions/get-shop.cjs +1 -0
  76. package/dist/actions/get-shop.cjs.map +1 -1
  77. package/dist/actions/get-shop.d.cts +3 -13
  78. package/dist/actions/get-shop.d.cts.map +1 -1
  79. package/dist/actions/get-shop.d.mts +3 -13
  80. package/dist/actions/get-shop.d.mts.map +1 -1
  81. package/dist/actions/get-shop.mjs +1 -0
  82. package/dist/actions/get-shop.mjs.map +1 -1
  83. package/dist/actions/get-transactions.cjs +1 -0
  84. package/dist/actions/get-transactions.cjs.map +1 -1
  85. package/dist/actions/get-transactions.d.cts +3 -23
  86. package/dist/actions/get-transactions.d.cts.map +1 -1
  87. package/dist/actions/get-transactions.d.mts +3 -23
  88. package/dist/actions/get-transactions.d.mts.map +1 -1
  89. package/dist/actions/get-transactions.mjs +1 -0
  90. package/dist/actions/get-transactions.mjs.map +1 -1
  91. package/dist/actions/list-currencies.cjs +1 -0
  92. package/dist/actions/list-currencies.cjs.map +1 -1
  93. package/dist/actions/list-currencies.d.cts +3 -13
  94. package/dist/actions/list-currencies.d.cts.map +1 -1
  95. package/dist/actions/list-currencies.d.mts +3 -13
  96. package/dist/actions/list-currencies.d.mts.map +1 -1
  97. package/dist/actions/list-currencies.mjs +1 -0
  98. package/dist/actions/list-currencies.mjs.map +1 -1
  99. package/dist/app.cjs +2 -2
  100. package/dist/app.cjs.map +1 -1
  101. package/dist/app.d.cts +4 -6
  102. package/dist/app.d.cts.map +1 -1
  103. package/dist/app.d.mts +4 -6
  104. package/dist/app.d.mts.map +1 -1
  105. package/dist/app.mjs +0 -1
  106. package/dist/app.mjs.map +1 -1
  107. package/dist/index.d.cts +1 -1
  108. package/dist/index.d.mts +1 -1
  109. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"list-currencies.cjs","names":["z","action"],"sources":["../../src/actions/list-currencies.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlisioListCurrenciesInput = z.object({}).describe(\"Request model for ListCurrencies. No parameters required.\");\nconst PlisioListCurrencies_CurrencyInfoSchema = z.object({\n cid: z.string().describe(\"Currency identifier code\").nullable(),\n fiat: z.string().describe(\"Fiat currency code for conversion\").nullable(),\n icon: z.string().describe(\"URL to the currency icon image\").nullable(),\n name: z.string().describe(\"Full name of the cryptocurrency, e.g., 'Bitcoin'\").nullable(),\n hidden: z.number().int().describe(\"Visibility flag (0 = visible, 1 = hidden in store settings)\").nullable(),\n currency: z.string().describe(\"Currency code, e.g., 'BTC'\").nullable(),\n rate_usd: z.string().describe(\"Exchange rate to USD as a decimal string\").nullable(),\n fiat_rate: z.string().describe(\"Exchange rate to fiat currency as a decimal string\").nullable(),\n precision: z.number().int().describe(\"Number of decimal places for the currency\").nullable(),\n price_usd: z.string().describe(\"Price in USD as a decimal string\").nullable(),\n min_sum_in: z.string().describe(\"Minimum transaction amount as a decimal string\").nullable(),\n maintenance: z.boolean().describe(\"Whether the currency is currently under maintenance\").nullable(),\n invoice_commission_percentage: z.string().describe(\"Commission percentage for invoices\").nullable(),\n}).passthrough().describe(\"Represents information about a single supported cryptocurrency.\");\nexport const PlisioListCurrenciesOutput = z.object({\n data: z.array(PlisioListCurrencies_CurrencyInfoSchema).describe(\"List of supported cryptocurrencies with their details\"),\n status: z.string().describe(\"Result status, e.g., 'success' or 'error'\").nullable(),\n}).passthrough().describe(\"Response model for GET /currencies endpoint.\");\n\nexport const plisioListCurrencies = action(\"PLISIO_LIST_CURRENCIES\", {\n slug: \"plisio-list-currencies\",\n name: \"List Supported Currencies\",\n description: \"Tool to retrieve a list of supported cryptocurrencies with their rates and information. Use after API credentials are configured to get current exchange rates, commission percentages, and operational status for all available coins.\",\n input: PlisioListCurrenciesInput,\n output: PlisioListCurrenciesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2DAA2D;AAC1H,MAAM,0CAA0CA,IAAAA,EAAE,OAAO;CACvD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACxE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACrE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACvF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CAC1G,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACrE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACnF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC9F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC3F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC5E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC3F,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAClG,+BAA+BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iEAAiE;AAC3F,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,MAAMA,IAAAA,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,uDAAuD;CACvH,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAExE,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-currencies.cjs","names":["z","action"],"sources":["../../src/actions/list-currencies.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 PlisioListCurrenciesInput = z.object({}).describe(\"Request model for ListCurrencies. No parameters required.\");\nconst PlisioListCurrencies_CurrencyInfoSchema = z.object({\n cid: z.string().describe(\"Currency identifier code\").nullable(),\n fiat: z.string().describe(\"Fiat currency code for conversion\").nullable(),\n icon: z.string().describe(\"URL to the currency icon image\").nullable(),\n name: z.string().describe(\"Full name of the cryptocurrency, e.g., 'Bitcoin'\").nullable(),\n hidden: z.number().int().describe(\"Visibility flag (0 = visible, 1 = hidden in store settings)\").nullable(),\n currency: z.string().describe(\"Currency code, e.g., 'BTC'\").nullable(),\n rate_usd: z.string().describe(\"Exchange rate to USD as a decimal string\").nullable(),\n fiat_rate: z.string().describe(\"Exchange rate to fiat currency as a decimal string\").nullable(),\n precision: z.number().int().describe(\"Number of decimal places for the currency\").nullable(),\n price_usd: z.string().describe(\"Price in USD as a decimal string\").nullable(),\n min_sum_in: z.string().describe(\"Minimum transaction amount as a decimal string\").nullable(),\n maintenance: z.boolean().describe(\"Whether the currency is currently under maintenance\").nullable(),\n invoice_commission_percentage: z.string().describe(\"Commission percentage for invoices\").nullable(),\n}).passthrough().describe(\"Represents information about a single supported cryptocurrency.\");\nexport const PlisioListCurrenciesOutput = z.object({\n data: z.array(PlisioListCurrencies_CurrencyInfoSchema).describe(\"List of supported cryptocurrencies with their details\"),\n status: z.string().describe(\"Result status, e.g., 'success' or 'error'\").nullable(),\n}).passthrough().describe(\"Response model for GET /currencies endpoint.\");\n\nexport const plisioListCurrencies: AppAction<\n typeof PlisioListCurrenciesInput,\n typeof PlisioListCurrenciesOutput,\n typeof plisio.credential\n> = action(\"PLISIO_LIST_CURRENCIES\", {\n slug: \"plisio-list-currencies\",\n name: \"List Supported Currencies\",\n description: \"Tool to retrieve a list of supported cryptocurrencies with their rates and information. Use after API credentials are configured to get current exchange rates, commission percentages, and operational status for all available coins.\",\n input: PlisioListCurrenciesInput,\n output: PlisioListCurrenciesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2DAA2D;AAC1H,MAAM,0CAA0CA,IAAAA,EAAE,OAAO;CACvD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACxE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACrE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACvF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CAC1G,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACrE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACnF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC9F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC3F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC5E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC3F,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAClG,+BAA+BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iEAAiE;AAC3F,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,MAAMA,IAAAA,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,uDAAuD;CACvH,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAExE,MAAa,uBAITC,eAAAA,OAAO,0BAA0B;CACnC,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/list-currencies.d.ts
@@ -20,19 +22,7 @@ declare const PlisioListCurrenciesOutput: z.ZodObject<{
20
22
  }, z.core.$loose>>;
21
23
  status: z.ZodNullable<z.ZodString>;
22
24
  }, z.core.$loose>;
23
- declare const plisioListCurrencies: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"plisio", z.ZodObject<{
24
- connectionId: z.ZodString;
25
- entityId: z.ZodString;
26
- instanceId: z.ZodString;
27
- }, z.core.$strip>, z.ZodObject<{
28
- generic_api_key: z.ZodString;
29
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"plisio", z.ZodObject<{
30
- connectionId: z.ZodString;
31
- entityId: z.ZodString;
32
- instanceId: z.ZodString;
33
- }, z.core.$strip>, z.ZodObject<{
34
- generic_api_key: z.ZodString;
35
- }, z.core.$strip>>]>;
25
+ declare const plisioListCurrencies: AppAction<typeof PlisioListCurrenciesInput, typeof PlisioListCurrenciesOutput, typeof plisio.credential>;
36
26
  //#endregion
37
27
  export { plisioListCurrencies };
38
28
  //# sourceMappingURL=list-currencies.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-currencies.d.cts","names":[],"sources":["../../src/actions/list-currencies.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAgBzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAK1B,oBAAA,gCAAoB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,WAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"list-currencies.d.cts","names":[],"sources":["../../src/actions/list-currencies.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAgBzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAK1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,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/list-currencies.d.ts
@@ -20,19 +22,7 @@ declare const PlisioListCurrenciesOutput: z.ZodObject<{
20
22
  }, z.core.$loose>>;
21
23
  status: z.ZodNullable<z.ZodString>;
22
24
  }, z.core.$loose>;
23
- declare const plisioListCurrencies: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"plisio", z.ZodObject<{
24
- connectionId: z.ZodString;
25
- entityId: z.ZodString;
26
- instanceId: z.ZodString;
27
- }, z.core.$strip>, z.ZodObject<{
28
- generic_api_key: z.ZodString;
29
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"plisio", z.ZodObject<{
30
- connectionId: z.ZodString;
31
- entityId: z.ZodString;
32
- instanceId: z.ZodString;
33
- }, z.core.$strip>, z.ZodObject<{
34
- generic_api_key: z.ZodString;
35
- }, z.core.$strip>>]>;
25
+ declare const plisioListCurrencies: AppAction<typeof PlisioListCurrenciesInput, typeof PlisioListCurrenciesOutput, typeof plisio.credential>;
36
26
  //#endregion
37
27
  export { plisioListCurrencies };
38
28
  //# sourceMappingURL=list-currencies.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-currencies.d.mts","names":[],"sources":["../../src/actions/list-currencies.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAgBzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAK1B,oBAAA,gCAAoB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,WAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"list-currencies.d.mts","names":[],"sources":["../../src/actions/list-currencies.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAgBzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAK1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,MAAA,CAAO,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/list-currencies.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-currencies.mjs","names":[],"sources":["../../src/actions/list-currencies.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlisioListCurrenciesInput = z.object({}).describe(\"Request model for ListCurrencies. No parameters required.\");\nconst PlisioListCurrencies_CurrencyInfoSchema = z.object({\n cid: z.string().describe(\"Currency identifier code\").nullable(),\n fiat: z.string().describe(\"Fiat currency code for conversion\").nullable(),\n icon: z.string().describe(\"URL to the currency icon image\").nullable(),\n name: z.string().describe(\"Full name of the cryptocurrency, e.g., 'Bitcoin'\").nullable(),\n hidden: z.number().int().describe(\"Visibility flag (0 = visible, 1 = hidden in store settings)\").nullable(),\n currency: z.string().describe(\"Currency code, e.g., 'BTC'\").nullable(),\n rate_usd: z.string().describe(\"Exchange rate to USD as a decimal string\").nullable(),\n fiat_rate: z.string().describe(\"Exchange rate to fiat currency as a decimal string\").nullable(),\n precision: z.number().int().describe(\"Number of decimal places for the currency\").nullable(),\n price_usd: z.string().describe(\"Price in USD as a decimal string\").nullable(),\n min_sum_in: z.string().describe(\"Minimum transaction amount as a decimal string\").nullable(),\n maintenance: z.boolean().describe(\"Whether the currency is currently under maintenance\").nullable(),\n invoice_commission_percentage: z.string().describe(\"Commission percentage for invoices\").nullable(),\n}).passthrough().describe(\"Represents information about a single supported cryptocurrency.\");\nexport const PlisioListCurrenciesOutput = z.object({\n data: z.array(PlisioListCurrencies_CurrencyInfoSchema).describe(\"List of supported cryptocurrencies with their details\"),\n status: z.string().describe(\"Result status, e.g., 'success' or 'error'\").nullable(),\n}).passthrough().describe(\"Response model for GET /currencies endpoint.\");\n\nexport const plisioListCurrencies = action(\"PLISIO_LIST_CURRENCIES\", {\n slug: \"plisio-list-currencies\",\n name: \"List Supported Currencies\",\n description: \"Tool to retrieve a list of supported cryptocurrencies with their rates and information. Use after API credentials are configured to get current exchange rates, commission percentages, and operational status for all available coins.\",\n input: PlisioListCurrenciesInput,\n output: PlisioListCurrenciesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2DAA2D;AAC1H,MAAM,0CAA0C,EAAE,OAAO;CACvD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC9D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACxE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACrE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACvF,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CAC1G,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACrE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACnF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC9F,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC3F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC5E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC3F,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAClG,+BAA+B,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iEAAiE;AAM3F,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVwC,EAAE,OAAO;EACjD,MAAM,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,uDAAuD;EACvH,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"list-currencies.mjs","names":[],"sources":["../../src/actions/list-currencies.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 PlisioListCurrenciesInput = z.object({}).describe(\"Request model for ListCurrencies. No parameters required.\");\nconst PlisioListCurrencies_CurrencyInfoSchema = z.object({\n cid: z.string().describe(\"Currency identifier code\").nullable(),\n fiat: z.string().describe(\"Fiat currency code for conversion\").nullable(),\n icon: z.string().describe(\"URL to the currency icon image\").nullable(),\n name: z.string().describe(\"Full name of the cryptocurrency, e.g., 'Bitcoin'\").nullable(),\n hidden: z.number().int().describe(\"Visibility flag (0 = visible, 1 = hidden in store settings)\").nullable(),\n currency: z.string().describe(\"Currency code, e.g., 'BTC'\").nullable(),\n rate_usd: z.string().describe(\"Exchange rate to USD as a decimal string\").nullable(),\n fiat_rate: z.string().describe(\"Exchange rate to fiat currency as a decimal string\").nullable(),\n precision: z.number().int().describe(\"Number of decimal places for the currency\").nullable(),\n price_usd: z.string().describe(\"Price in USD as a decimal string\").nullable(),\n min_sum_in: z.string().describe(\"Minimum transaction amount as a decimal string\").nullable(),\n maintenance: z.boolean().describe(\"Whether the currency is currently under maintenance\").nullable(),\n invoice_commission_percentage: z.string().describe(\"Commission percentage for invoices\").nullable(),\n}).passthrough().describe(\"Represents information about a single supported cryptocurrency.\");\nexport const PlisioListCurrenciesOutput = z.object({\n data: z.array(PlisioListCurrencies_CurrencyInfoSchema).describe(\"List of supported cryptocurrencies with their details\"),\n status: z.string().describe(\"Result status, e.g., 'success' or 'error'\").nullable(),\n}).passthrough().describe(\"Response model for GET /currencies endpoint.\");\n\nexport const plisioListCurrencies: AppAction<\n typeof PlisioListCurrenciesInput,\n typeof PlisioListCurrenciesOutput,\n typeof plisio.credential\n> = action(\"PLISIO_LIST_CURRENCIES\", {\n slug: \"plisio-list-currencies\",\n name: \"List Supported Currencies\",\n description: \"Tool to retrieve a list of supported cryptocurrencies with their rates and information. Use after API credentials are configured to get current exchange rates, commission percentages, and operational status for all available coins.\",\n input: PlisioListCurrenciesInput,\n output: PlisioListCurrenciesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4BAA4B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2DAA2D;AAC1H,MAAM,0CAA0C,EAAE,OAAO;CACvD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC9D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACxE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACrE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACvF,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CAC1G,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACrE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACnF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC9F,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC3F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC5E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC3F,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAClG,+BAA+B,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iEAAiE;AAM3F,MAAa,uBAIT,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdwC,EAAE,OAAO;EACjD,MAAM,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,uDAAuD;EACvH,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAWhB;AACV,CAAC"}
package/dist/app.cjs CHANGED
@@ -1,10 +1,10 @@
1
1
  let _keystrokehq_keystroke_app = require("@keystrokehq/keystroke/app");
2
- let zod = require("zod");
3
2
  //#region src/app.ts
3
+ const credential = { generic_api_key: require("zod").z.string() };
4
4
  const plisio = (0, _keystrokehq_keystroke_app.defineApp)({
5
5
  slug: "plisio",
6
6
  auth: "keystroke",
7
- credential: { generic_api_key: zod.z.string() }
7
+ credential
8
8
  });
9
9
  //#endregion
10
10
  exports.plisio = plisio;
package/dist/app.cjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nexport const plisio = defineApp({\n slug: \"plisio\",\n auth: \"keystroke\",\n credential: {\n generic_api_key: z.string(),\n },\n});\n"],"mappings":";;;AAGA,MAAa,UAAA,GAAA,2BAAA,UAAA,CAAmB;CAC9B,MAAM;CACN,MAAM;CACN,YAAY,EACV,iBAAiBA,IAAAA,EAAE,OAAO,EAC5B;AACF,CAAC"}
1
+ {"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n generic_api_key: z.string(),\n};\n\nexport const plisio: KeystrokeApp<\"plisio\", typeof credential> = defineApp({\n slug: \"plisio\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAGA,MAAM,aAAa,EACjB,8BAAiBA,CAAAA,CAAAA,EAAE,OAAO,EAC5B;AAEA,MAAa,UAAA,GAAA,2BAAA,UAAA,CAA8D;CACzE,MAAM;CACN,MAAM;CACN;AACF,CAAC"}
package/dist/app.d.cts CHANGED
@@ -1,13 +1,11 @@
1
+ import { KeystrokeApp } from "@keystrokehq/keystroke/app";
1
2
  import { z } from "zod";
2
3
 
3
4
  //#region src/app.d.ts
4
- declare const plisio: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"plisio", z.ZodObject<{
5
- connectionId: z.ZodString;
6
- entityId: z.ZodString;
7
- instanceId: z.ZodString;
8
- }, z.core.$strip>, z.ZodObject<{
5
+ declare const credential: {
9
6
  generic_api_key: z.ZodString;
10
- }, z.core.$strip>>>;
7
+ };
8
+ declare const plisio: KeystrokeApp<"plisio", typeof credential>;
11
9
  //#endregion
12
10
  export { plisio };
13
11
  //# sourceMappingURL=app.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;cAGa,MAAA,6BAAM,GAAA,+BAAA,UAAA,WAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;mBAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,MAAA,EAAQ,YAAY,kBAAkB,UAAA"}
package/dist/app.d.mts CHANGED
@@ -1,13 +1,11 @@
1
+ import { KeystrokeApp } from "@keystrokehq/keystroke/app";
1
2
  import { z } from "zod";
2
3
 
3
4
  //#region src/app.d.ts
4
- declare const plisio: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"plisio", z.ZodObject<{
5
- connectionId: z.ZodString;
6
- entityId: z.ZodString;
7
- instanceId: z.ZodString;
8
- }, z.core.$strip>, z.ZodObject<{
5
+ declare const credential: {
9
6
  generic_api_key: z.ZodString;
10
- }, z.core.$strip>>>;
7
+ };
8
+ declare const plisio: KeystrokeApp<"plisio", typeof credential>;
11
9
  //#endregion
12
10
  export { plisio };
13
11
  //# sourceMappingURL=app.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;cAGa,MAAA,6BAAM,GAAA,+BAAA,UAAA,WAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;mBAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,MAAA,EAAQ,YAAY,kBAAkB,UAAA"}
package/dist/app.mjs CHANGED
@@ -1,6 +1,5 @@
1
1
  import { defineApp } from "@keystrokehq/keystroke/app";
2
2
  import { z } from "zod";
3
- //#region src/app.ts
4
3
  const plisio = defineApp({
5
4
  slug: "plisio",
6
5
  auth: "keystroke",
package/dist/app.mjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nexport const plisio = defineApp({\n slug: \"plisio\",\n auth: \"keystroke\",\n credential: {\n generic_api_key: z.string(),\n },\n});\n"],"mappings":";;;AAGA,MAAa,SAAS,UAAU;CAC9B,MAAM;CACN,MAAM;CACN,YAAY,EACV,iBAAiB,EAAE,OAAO,EAC5B;AACF,CAAC"}
1
+ {"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n generic_api_key: z.string(),\n};\n\nexport const plisio: KeystrokeApp<\"plisio\", typeof credential> = defineApp({\n slug: \"plisio\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAOA,MAAa,SAAoD,UAAU;CACzE,MAAM;CACN,MAAM;CACN,cANA,iBAAiB,EAAE,OAAO,EAM1B;AACF,CAAC"}
package/dist/index.d.cts CHANGED
@@ -1,3 +1,4 @@
1
+ import { plisio } from "./app.cjs";
1
2
  import { plisioCreateInvoice } from "./actions/create-invoice.cjs";
2
3
  import { plisioEstimateFee } from "./actions/estimate-fee.cjs";
3
4
  import { plisioGetBalanceByCurrency } from "./actions/get-balance-by-currency.cjs";
@@ -10,6 +11,5 @@ import { plisioGetInvoiceEmail } from "./actions/get-invoice-email.cjs";
10
11
  import { plisioGetShop } from "./actions/get-shop.cjs";
11
12
  import { plisioGetTransactions } from "./actions/get-transactions.cjs";
12
13
  import { plisioListCurrencies } from "./actions/list-currencies.cjs";
13
- import { plisio } from "./app.cjs";
14
14
  import { plisioCatalog } from "./catalog.cjs";
15
15
  export { plisio, plisioCatalog, plisioCreateInvoice, plisioEstimateFee, plisioGetBalanceByCurrency, plisioGetCommission, plisioGetCurrencyRate, plisioGetFeePlans, plisioGetFeePlans2, plisioGetInvoice, plisioGetInvoiceEmail, plisioGetShop, plisioGetTransactions, plisioListCurrencies };
package/dist/index.d.mts CHANGED
@@ -1,3 +1,4 @@
1
+ import { plisio } from "./app.mjs";
1
2
  import { plisioCreateInvoice } from "./actions/create-invoice.mjs";
2
3
  import { plisioEstimateFee } from "./actions/estimate-fee.mjs";
3
4
  import { plisioGetBalanceByCurrency } from "./actions/get-balance-by-currency.mjs";
@@ -10,6 +11,5 @@ import { plisioGetInvoiceEmail } from "./actions/get-invoice-email.mjs";
10
11
  import { plisioGetShop } from "./actions/get-shop.mjs";
11
12
  import { plisioGetTransactions } from "./actions/get-transactions.mjs";
12
13
  import { plisioListCurrencies } from "./actions/list-currencies.mjs";
13
- import { plisio } from "./app.mjs";
14
14
  import { plisioCatalog } from "./catalog.mjs";
15
15
  export { plisio, plisioCatalog, plisioCreateInvoice, plisioEstimateFee, plisioGetBalanceByCurrency, plisioGetCommission, plisioGetCurrencyRate, plisioGetFeePlans, plisioGetFeePlans2, plisioGetInvoice, plisioGetInvoiceEmail, plisioGetShop, plisioGetTransactions, plisioListCurrencies };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/plisio",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"
@@ -31,7 +31,7 @@
31
31
  }
32
32
  },
33
33
  "peerDependencies": {
34
- "@keystrokehq/keystroke": ">=0.1.4",
34
+ "@keystrokehq/keystroke": ">=0.1.104",
35
35
  "zod": "^4.4.3"
36
36
  },
37
37
  "devDependencies": {