@keystrokehq/finmei 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (226) hide show
  1. package/README.md +17 -0
  2. package/dist/action.cjs +21 -0
  3. package/dist/action.cjs.map +1 -0
  4. package/dist/action.mjs +21 -0
  5. package/dist/action.mjs.map +1 -0
  6. package/dist/actions/create-expense.cjs +35 -0
  7. package/dist/actions/create-expense.cjs.map +1 -0
  8. package/dist/actions/create-expense.d.cts +9 -0
  9. package/dist/actions/create-expense.d.cts.map +1 -0
  10. package/dist/actions/create-expense.d.mts +9 -0
  11. package/dist/actions/create-expense.d.mts.map +1 -0
  12. package/dist/actions/create-expense.mjs +34 -0
  13. package/dist/actions/create-expense.mjs.map +1 -0
  14. package/dist/actions/create-invoice.cjs +139 -0
  15. package/dist/actions/create-invoice.cjs.map +1 -0
  16. package/dist/actions/create-invoice.d.cts +9 -0
  17. package/dist/actions/create-invoice.d.cts.map +1 -0
  18. package/dist/actions/create-invoice.d.mts +9 -0
  19. package/dist/actions/create-invoice.d.mts.map +1 -0
  20. package/dist/actions/create-invoice.mjs +138 -0
  21. package/dist/actions/create-invoice.mjs.map +1 -0
  22. package/dist/actions/delete-customer.cjs +16 -0
  23. package/dist/actions/delete-customer.cjs.map +1 -0
  24. package/dist/actions/delete-customer.d.cts +9 -0
  25. package/dist/actions/delete-customer.d.cts.map +1 -0
  26. package/dist/actions/delete-customer.d.mts +9 -0
  27. package/dist/actions/delete-customer.d.mts.map +1 -0
  28. package/dist/actions/delete-customer.mjs +13 -0
  29. package/dist/actions/delete-customer.mjs.map +1 -0
  30. package/dist/actions/delete-invoice.cjs +19 -0
  31. package/dist/actions/delete-invoice.cjs.map +1 -0
  32. package/dist/actions/delete-invoice.d.cts +9 -0
  33. package/dist/actions/delete-invoice.d.cts.map +1 -0
  34. package/dist/actions/delete-invoice.d.mts +9 -0
  35. package/dist/actions/delete-invoice.d.mts.map +1 -0
  36. package/dist/actions/delete-invoice.mjs +16 -0
  37. package/dist/actions/delete-invoice.mjs.map +1 -0
  38. package/dist/actions/delete-payment.cjs +16 -0
  39. package/dist/actions/delete-payment.cjs.map +1 -0
  40. package/dist/actions/delete-payment.d.cts +9 -0
  41. package/dist/actions/delete-payment.d.cts.map +1 -0
  42. package/dist/actions/delete-payment.d.mts +9 -0
  43. package/dist/actions/delete-payment.d.mts.map +1 -0
  44. package/dist/actions/delete-payment.mjs +13 -0
  45. package/dist/actions/delete-payment.mjs.map +1 -0
  46. package/dist/actions/delete-product.cjs +19 -0
  47. package/dist/actions/delete-product.cjs.map +1 -0
  48. package/dist/actions/delete-product.d.cts +9 -0
  49. package/dist/actions/delete-product.d.cts.map +1 -0
  50. package/dist/actions/delete-product.d.mts +9 -0
  51. package/dist/actions/delete-product.d.mts.map +1 -0
  52. package/dist/actions/delete-product.mjs +16 -0
  53. package/dist/actions/delete-product.mjs.map +1 -0
  54. package/dist/actions/download-expense-file.cjs +21 -0
  55. package/dist/actions/download-expense-file.cjs.map +1 -0
  56. package/dist/actions/download-expense-file.d.cts +9 -0
  57. package/dist/actions/download-expense-file.d.cts.map +1 -0
  58. package/dist/actions/download-expense-file.d.mts +9 -0
  59. package/dist/actions/download-expense-file.d.mts.map +1 -0
  60. package/dist/actions/download-expense-file.mjs +20 -0
  61. package/dist/actions/download-expense-file.mjs.map +1 -0
  62. package/dist/actions/download-invoice-pdf.cjs +21 -0
  63. package/dist/actions/download-invoice-pdf.cjs.map +1 -0
  64. package/dist/actions/download-invoice-pdf.d.cts +9 -0
  65. package/dist/actions/download-invoice-pdf.d.cts.map +1 -0
  66. package/dist/actions/download-invoice-pdf.d.mts +9 -0
  67. package/dist/actions/download-invoice-pdf.d.mts.map +1 -0
  68. package/dist/actions/download-invoice-pdf.mjs +20 -0
  69. package/dist/actions/download-invoice-pdf.mjs.map +1 -0
  70. package/dist/actions/get-expense.cjs +25 -0
  71. package/dist/actions/get-expense.cjs.map +1 -0
  72. package/dist/actions/get-expense.d.cts +9 -0
  73. package/dist/actions/get-expense.d.cts.map +1 -0
  74. package/dist/actions/get-expense.d.mts +9 -0
  75. package/dist/actions/get-expense.d.mts.map +1 -0
  76. package/dist/actions/get-expense.mjs +24 -0
  77. package/dist/actions/get-expense.mjs.map +1 -0
  78. package/dist/actions/get-invoice.cjs +70 -0
  79. package/dist/actions/get-invoice.cjs.map +1 -0
  80. package/dist/actions/get-invoice.d.cts +9 -0
  81. package/dist/actions/get-invoice.d.cts.map +1 -0
  82. package/dist/actions/get-invoice.d.mts +9 -0
  83. package/dist/actions/get-invoice.d.mts.map +1 -0
  84. package/dist/actions/get-invoice.mjs +69 -0
  85. package/dist/actions/get-invoice.mjs.map +1 -0
  86. package/dist/actions/get-payment.cjs +26 -0
  87. package/dist/actions/get-payment.cjs.map +1 -0
  88. package/dist/actions/get-payment.d.cts +9 -0
  89. package/dist/actions/get-payment.d.cts.map +1 -0
  90. package/dist/actions/get-payment.d.mts +9 -0
  91. package/dist/actions/get-payment.d.mts.map +1 -0
  92. package/dist/actions/get-payment.mjs +23 -0
  93. package/dist/actions/get-payment.mjs.map +1 -0
  94. package/dist/actions/get-product.cjs +24 -0
  95. package/dist/actions/get-product.cjs.map +1 -0
  96. package/dist/actions/get-product.d.cts +9 -0
  97. package/dist/actions/get-product.d.cts.map +1 -0
  98. package/dist/actions/get-product.d.mts +9 -0
  99. package/dist/actions/get-product.d.mts.map +1 -0
  100. package/dist/actions/get-product.mjs +21 -0
  101. package/dist/actions/get-product.mjs.map +1 -0
  102. package/dist/actions/get-profile.cjs +25 -0
  103. package/dist/actions/get-profile.cjs.map +1 -0
  104. package/dist/actions/get-profile.d.cts +9 -0
  105. package/dist/actions/get-profile.d.cts.map +1 -0
  106. package/dist/actions/get-profile.d.mts +9 -0
  107. package/dist/actions/get-profile.d.mts.map +1 -0
  108. package/dist/actions/get-profile.mjs +24 -0
  109. package/dist/actions/get-profile.mjs.map +1 -0
  110. package/dist/actions/index.cjs +49 -0
  111. package/dist/actions/index.d.cts +25 -0
  112. package/dist/actions/index.d.mts +25 -0
  113. package/dist/actions/index.mjs +25 -0
  114. package/dist/actions/list-currencies.cjs +21 -0
  115. package/dist/actions/list-currencies.cjs.map +1 -0
  116. package/dist/actions/list-currencies.d.cts +9 -0
  117. package/dist/actions/list-currencies.d.cts.map +1 -0
  118. package/dist/actions/list-currencies.d.mts +9 -0
  119. package/dist/actions/list-currencies.d.mts.map +1 -0
  120. package/dist/actions/list-currencies.mjs +20 -0
  121. package/dist/actions/list-currencies.mjs.map +1 -0
  122. package/dist/actions/list-customers.cjs +39 -0
  123. package/dist/actions/list-customers.cjs.map +1 -0
  124. package/dist/actions/list-customers.d.cts +9 -0
  125. package/dist/actions/list-customers.d.cts.map +1 -0
  126. package/dist/actions/list-customers.d.mts +9 -0
  127. package/dist/actions/list-customers.d.mts.map +1 -0
  128. package/dist/actions/list-customers.mjs +38 -0
  129. package/dist/actions/list-customers.mjs.map +1 -0
  130. package/dist/actions/list-expenses.cjs +40 -0
  131. package/dist/actions/list-expenses.cjs.map +1 -0
  132. package/dist/actions/list-expenses.d.cts +9 -0
  133. package/dist/actions/list-expenses.d.cts.map +1 -0
  134. package/dist/actions/list-expenses.d.mts +9 -0
  135. package/dist/actions/list-expenses.d.mts.map +1 -0
  136. package/dist/actions/list-expenses.mjs +39 -0
  137. package/dist/actions/list-expenses.mjs.map +1 -0
  138. package/dist/actions/list-invoices.cjs +86 -0
  139. package/dist/actions/list-invoices.cjs.map +1 -0
  140. package/dist/actions/list-invoices.d.cts +9 -0
  141. package/dist/actions/list-invoices.d.cts.map +1 -0
  142. package/dist/actions/list-invoices.d.mts +9 -0
  143. package/dist/actions/list-invoices.d.mts.map +1 -0
  144. package/dist/actions/list-invoices.mjs +85 -0
  145. package/dist/actions/list-invoices.mjs.map +1 -0
  146. package/dist/actions/list-payments.cjs +42 -0
  147. package/dist/actions/list-payments.cjs.map +1 -0
  148. package/dist/actions/list-payments.d.cts +9 -0
  149. package/dist/actions/list-payments.d.cts.map +1 -0
  150. package/dist/actions/list-payments.d.mts +9 -0
  151. package/dist/actions/list-payments.d.mts.map +1 -0
  152. package/dist/actions/list-payments.mjs +41 -0
  153. package/dist/actions/list-payments.mjs.map +1 -0
  154. package/dist/actions/list-products.cjs +39 -0
  155. package/dist/actions/list-products.cjs.map +1 -0
  156. package/dist/actions/list-products.d.cts +9 -0
  157. package/dist/actions/list-products.d.cts.map +1 -0
  158. package/dist/actions/list-products.d.mts +9 -0
  159. package/dist/actions/list-products.d.mts.map +1 -0
  160. package/dist/actions/list-products.mjs +38 -0
  161. package/dist/actions/list-products.mjs.map +1 -0
  162. package/dist/actions/update-customer.cjs +46 -0
  163. package/dist/actions/update-customer.cjs.map +1 -0
  164. package/dist/actions/update-customer.d.cts +9 -0
  165. package/dist/actions/update-customer.d.cts.map +1 -0
  166. package/dist/actions/update-customer.d.mts +9 -0
  167. package/dist/actions/update-customer.d.mts.map +1 -0
  168. package/dist/actions/update-customer.mjs +45 -0
  169. package/dist/actions/update-customer.mjs.map +1 -0
  170. package/dist/actions/update-expense-file.cjs +29 -0
  171. package/dist/actions/update-expense-file.cjs.map +1 -0
  172. package/dist/actions/update-expense-file.d.cts +9 -0
  173. package/dist/actions/update-expense-file.d.cts.map +1 -0
  174. package/dist/actions/update-expense-file.d.mts +9 -0
  175. package/dist/actions/update-expense-file.d.mts.map +1 -0
  176. package/dist/actions/update-expense-file.mjs +26 -0
  177. package/dist/actions/update-expense-file.mjs.map +1 -0
  178. package/dist/actions/update-expense.cjs +30 -0
  179. package/dist/actions/update-expense.cjs.map +1 -0
  180. package/dist/actions/update-expense.d.cts +9 -0
  181. package/dist/actions/update-expense.d.cts.map +1 -0
  182. package/dist/actions/update-expense.d.mts +9 -0
  183. package/dist/actions/update-expense.d.mts.map +1 -0
  184. package/dist/actions/update-expense.mjs +27 -0
  185. package/dist/actions/update-expense.mjs.map +1 -0
  186. package/dist/actions/update-invoice.cjs +121 -0
  187. package/dist/actions/update-invoice.cjs.map +1 -0
  188. package/dist/actions/update-invoice.d.cts +9 -0
  189. package/dist/actions/update-invoice.d.cts.map +1 -0
  190. package/dist/actions/update-invoice.d.mts +9 -0
  191. package/dist/actions/update-invoice.d.mts.map +1 -0
  192. package/dist/actions/update-invoice.mjs +120 -0
  193. package/dist/actions/update-invoice.mjs.map +1 -0
  194. package/dist/actions/update-product.cjs +30 -0
  195. package/dist/actions/update-product.cjs.map +1 -0
  196. package/dist/actions/update-product.d.cts +9 -0
  197. package/dist/actions/update-product.d.cts.map +1 -0
  198. package/dist/actions/update-product.d.mts +9 -0
  199. package/dist/actions/update-product.d.mts.map +1 -0
  200. package/dist/actions/update-product.mjs +27 -0
  201. package/dist/actions/update-product.mjs.map +1 -0
  202. package/dist/app.cjs +9 -0
  203. package/dist/app.cjs.map +1 -0
  204. package/dist/app.d.cts +5 -0
  205. package/dist/app.d.cts.map +1 -0
  206. package/dist/app.d.mts +5 -0
  207. package/dist/app.d.mts.map +1 -0
  208. package/dist/app.mjs +10 -0
  209. package/dist/app.mjs.map +1 -0
  210. package/dist/catalog.cjs +15 -0
  211. package/dist/catalog.cjs.map +1 -0
  212. package/dist/catalog.d.cts +14 -0
  213. package/dist/catalog.d.cts.map +1 -0
  214. package/dist/catalog.d.mts +14 -0
  215. package/dist/catalog.d.mts.map +1 -0
  216. package/dist/catalog.mjs +15 -0
  217. package/dist/catalog.mjs.map +1 -0
  218. package/dist/execute.cjs +18 -0
  219. package/dist/execute.cjs.map +1 -0
  220. package/dist/execute.mjs +18 -0
  221. package/dist/execute.mjs.map +1 -0
  222. package/dist/index.cjs +54 -0
  223. package/dist/index.d.cts +27 -0
  224. package/dist/index.d.mts +27 -0
  225. package/dist/index.mjs +28 -0
  226. package/package.json +49 -0
@@ -0,0 +1,70 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-invoice.ts
4
+ const FinmeiGetInvoiceInput = zod.z.object({ id: zod.z.string().describe("Invoice ID to retrieve") }).describe("Request parameters for retrieving a single invoice by ID.");
5
+ const FinmeiGetInvoice_BuyerSchema = zod.z.object({
6
+ type: zod.z.string().describe("Type of buyer (company or individual)").nullable().optional(),
7
+ email: zod.z.string().describe("Buyer email").nullable().optional(),
8
+ phone: zod.z.string().describe("Buyer phone number").nullable().optional(),
9
+ address: zod.z.string().describe("Buyer address").nullable().optional(),
10
+ vat_code: zod.z.string().describe("VAT registration number").nullable().optional(),
11
+ last_name: zod.z.string().describe("Last name (for individual buyers)").nullable().optional(),
12
+ first_name: zod.z.string().describe("First name (for individual buyers)").nullable().optional(),
13
+ company_code: zod.z.string().describe("Company registration code").nullable().optional(),
14
+ company_name: zod.z.string().describe("Company name (for company buyers)").nullable().optional(),
15
+ individual_tax_id: zod.z.string().describe("Individual tax ID").nullable().optional()
16
+ }).describe("Buyer/customer information on the invoice");
17
+ const FinmeiGetInvoice_InvoiceItemSchema = zod.z.object({
18
+ id: zod.z.string().describe("Unique item identifier"),
19
+ name: zod.z.string().describe("Item/product/service name"),
20
+ price: zod.z.number().describe("Unit price"),
21
+ units: zod.z.string().describe("Unit of measurement (hours, pcs, etc.)"),
22
+ quantity: zod.z.number().describe("Quantity"),
23
+ vat_percentage: zod.z.number().describe("VAT/tax percentage applied").nullable().optional()
24
+ }).describe("Line item on the invoice");
25
+ const FinmeiGetInvoice_SellerSchema = zod.z.object({
26
+ email: zod.z.string().describe("Business email").nullable().optional(),
27
+ phone: zod.z.string().describe("Business phone number").nullable().optional(),
28
+ address: zod.z.string().describe("Business address").nullable().optional(),
29
+ vat_code: zod.z.string().describe("VAT registration number").nullable().optional(),
30
+ last_name: zod.z.string().describe("Last name (for individual sellers)").nullable().optional(),
31
+ first_name: zod.z.string().describe("First name (for individual sellers)").nullable().optional(),
32
+ company_code: zod.z.string().describe("Company registration code").nullable().optional(),
33
+ company_name: zod.z.string().describe("Company name (for company sellers)").nullable().optional(),
34
+ business_type: zod.z.string().describe("Type of business (company or individual)").nullable().optional(),
35
+ individual_tax_id: zod.z.string().describe("Individual tax ID").nullable().optional()
36
+ }).describe("Seller/business information on the invoice");
37
+ const FinmeiGetInvoiceOutput = zod.z.object({
38
+ id: zod.z.string().describe("Unique invoice identifier"),
39
+ vat: zod.z.number().describe("Total VAT/tax amount"),
40
+ buyer: FinmeiGetInvoice_BuyerSchema.nullable(),
41
+ items: zod.z.array(FinmeiGetInvoice_InvoiceItemSchema).describe("List of line items on the invoice").nullable().optional(),
42
+ notes: zod.z.string().describe("Additional notes on the invoice").nullable().optional(),
43
+ seller: FinmeiGetInvoice_SellerSchema.nullable(),
44
+ series: zod.z.string().describe("Invoice series/prefix"),
45
+ currency: zod.z.string().describe("ISO 4217 currency code (USD, EUR, GBP, etc.)"),
46
+ language: zod.z.string().describe("Invoice language code"),
47
+ subtotal: zod.z.number().describe("Subtotal amount before VAT"),
48
+ created_at: zod.z.number().int().describe("Unix timestamp when invoice was created"),
49
+ share_link: zod.z.string().describe("Public URL to view/share the invoice"),
50
+ updated_at: zod.z.number().int().describe("Unix timestamp when invoice was last updated"),
51
+ business_id: zod.z.string().describe("Business account identifier"),
52
+ invoice_date: zod.z.string().describe("Invoice date in YYYY-MM-DD format"),
53
+ invoice_type: zod.z.string().describe("Type of invoice (regular_invoice, vat_invoice, preliminary_invoice, credit_invoice)"),
54
+ invoice_number: zod.z.string().describe("Invoice number within the series"),
55
+ pay_until_date: zod.z.string().describe("Payment due date in YYYY-MM-DD format").nullable().optional(),
56
+ payment_status: zod.z.string().describe("Payment status (not_paid, paid, partially_paid, etc.)"),
57
+ total_incl_vat: zod.z.number().describe("Total amount including VAT"),
58
+ payment_options: zod.z.array(zod.z.object({})).describe("Available payment options").nullable().optional()
59
+ }).describe("Complete invoice details returned by the API.");
60
+ const finmeiGetInvoice = require_action.action("FINMEI_GET_INVOICE", {
61
+ slug: "finmei-get-invoice",
62
+ name: "Get Invoice by ID",
63
+ description: "Tool to retrieve a single invoice by its ID. Use when you need full invoice details including buyer, seller, items, amounts, and payment options.",
64
+ input: FinmeiGetInvoiceInput,
65
+ output: FinmeiGetInvoiceOutput
66
+ });
67
+ //#endregion
68
+ exports.finmeiGetInvoice = finmeiGetInvoice;
69
+
70
+ //# sourceMappingURL=get-invoice.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-invoice.cjs","names":["z","action"],"sources":["../../src/actions/get-invoice.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FinmeiGetInvoiceInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Invoice ID to retrieve\"),\n}).describe(\"Request parameters for retrieving a single invoice by ID.\");\nconst FinmeiGetInvoice_BuyerSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Type of buyer (company or individual)\").nullable().optional(),\n email: z.string().describe(\"Buyer email\").nullable().optional(),\n phone: z.string().describe(\"Buyer phone number\").nullable().optional(),\n address: z.string().describe(\"Buyer address\").nullable().optional(),\n vat_code: z.string().describe(\"VAT registration number\").nullable().optional(),\n last_name: z.string().describe(\"Last name (for individual buyers)\").nullable().optional(),\n first_name: z.string().describe(\"First name (for individual buyers)\").nullable().optional(),\n company_code: z.string().describe(\"Company registration code\").nullable().optional(),\n company_name: z.string().describe(\"Company name (for company buyers)\").nullable().optional(),\n individual_tax_id: z.string().describe(\"Individual tax ID\").nullable().optional(),\n}).describe(\"Buyer/customer information on the invoice\");\nconst FinmeiGetInvoice_InvoiceItemSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique item identifier\"),\n name: z.string().describe(\"Item/product/service name\"),\n price: z.number().describe(\"Unit price\"),\n units: z.string().describe(\"Unit of measurement (hours, pcs, etc.)\"),\n quantity: z.number().describe(\"Quantity\"),\n vat_percentage: z.number().describe(\"VAT/tax percentage applied\").nullable().optional(),\n}).describe(\"Line item on the invoice\");\nconst FinmeiGetInvoice_SellerSchema: z.ZodTypeAny = z.object({\n email: z.string().describe(\"Business email\").nullable().optional(),\n phone: z.string().describe(\"Business phone number\").nullable().optional(),\n address: z.string().describe(\"Business address\").nullable().optional(),\n vat_code: z.string().describe(\"VAT registration number\").nullable().optional(),\n last_name: z.string().describe(\"Last name (for individual sellers)\").nullable().optional(),\n first_name: z.string().describe(\"First name (for individual sellers)\").nullable().optional(),\n company_code: z.string().describe(\"Company registration code\").nullable().optional(),\n company_name: z.string().describe(\"Company name (for company sellers)\").nullable().optional(),\n business_type: z.string().describe(\"Type of business (company or individual)\").nullable().optional(),\n individual_tax_id: z.string().describe(\"Individual tax ID\").nullable().optional(),\n}).describe(\"Seller/business information on the invoice\");\nexport const FinmeiGetInvoiceOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique invoice identifier\"),\n vat: z.number().describe(\"Total VAT/tax amount\"),\n buyer: FinmeiGetInvoice_BuyerSchema.nullable(),\n items: z.array(FinmeiGetInvoice_InvoiceItemSchema).describe(\"List of line items on the invoice\").nullable().optional(),\n notes: z.string().describe(\"Additional notes on the invoice\").nullable().optional(),\n seller: FinmeiGetInvoice_SellerSchema.nullable(),\n series: z.string().describe(\"Invoice series/prefix\"),\n currency: z.string().describe(\"ISO 4217 currency code (USD, EUR, GBP, etc.)\"),\n language: z.string().describe(\"Invoice language code\"),\n subtotal: z.number().describe(\"Subtotal amount before VAT\"),\n created_at: z.number().int().describe(\"Unix timestamp when invoice was created\"),\n share_link: z.string().describe(\"Public URL to view/share the invoice\"),\n updated_at: z.number().int().describe(\"Unix timestamp when invoice was last updated\"),\n business_id: z.string().describe(\"Business account identifier\"),\n invoice_date: z.string().describe(\"Invoice date in YYYY-MM-DD format\"),\n invoice_type: z.string().describe(\"Type of invoice (regular_invoice, vat_invoice, preliminary_invoice, credit_invoice)\"),\n invoice_number: z.string().describe(\"Invoice number within the series\"),\n pay_until_date: z.string().describe(\"Payment due date in YYYY-MM-DD format\").nullable().optional(),\n payment_status: z.string().describe(\"Payment status (not_paid, paid, partially_paid, etc.)\"),\n total_incl_vat: z.number().describe(\"Total amount including VAT\"),\n payment_options: z.array(z.object({})).describe(\"Available payment options\").nullable().optional(),\n}).describe(\"Complete invoice details returned by the API.\");\n\nexport const finmeiGetInvoice = action(\"FINMEI_GET_INVOICE\", {\n slug: \"finmei-get-invoice\",\n name: \"Get Invoice by ID\",\n description: \"Tool to retrieve a single invoice by its ID. Use when you need full invoice details including buyer, seller, items, amounts, and payment options.\",\n input: FinmeiGetInvoiceInput,\n output: FinmeiGetInvoiceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAsCA,IAAAA,EAAE,OAAO,EAC1D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,EAClD,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,+BAA6CA,IAAAA,EAAE,OAAO;CAC1D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,cAAcA,IAAAA,EAAE,OA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,OAAO,CAAC,CAAC,SAAS,sCAAsC;CACtE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C;CACpF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CAC9D,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CACrE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF;CACvH,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CACtE,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;CAC3F,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CAChE,iBAAiBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAE3D,MAAa,mBAAmBC,eAAAA,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-invoice.d.ts
4
+ declare const FinmeiGetInvoiceInput: z.ZodTypeAny;
5
+ declare const FinmeiGetInvoiceOutput: z.ZodTypeAny;
6
+ declare const finmeiGetInvoice: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { finmeiGetInvoice };
9
+ //# sourceMappingURL=get-invoice.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-invoice.d.cts","names":[],"sources":["../../src/actions/get-invoice.ts"],"mappings":";;;cAIa,qBAAA,EAAuB,CAAA,CAAE,UAEkC;AAAA,cAiC3D,sBAAA,EAAwB,CAAA,CAAE,UAsBqB;AAAA,cAE/C,gBAAA,gCAAgB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-invoice.d.ts
4
+ declare const FinmeiGetInvoiceInput: z.ZodTypeAny;
5
+ declare const FinmeiGetInvoiceOutput: z.ZodTypeAny;
6
+ declare const finmeiGetInvoice: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { finmeiGetInvoice };
9
+ //# sourceMappingURL=get-invoice.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-invoice.d.mts","names":[],"sources":["../../src/actions/get-invoice.ts"],"mappings":";;;cAIa,qBAAA,EAAuB,CAAA,CAAE,UAEkC;AAAA,cAiC3D,sBAAA,EAAwB,CAAA,CAAE,UAsBqB;AAAA,cAE/C,gBAAA,gCAAgB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,69 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/get-invoice.ts
4
+ const FinmeiGetInvoiceInput = z.object({ id: z.string().describe("Invoice ID to retrieve") }).describe("Request parameters for retrieving a single invoice by ID.");
5
+ const FinmeiGetInvoice_BuyerSchema = z.object({
6
+ type: z.string().describe("Type of buyer (company or individual)").nullable().optional(),
7
+ email: z.string().describe("Buyer email").nullable().optional(),
8
+ phone: z.string().describe("Buyer phone number").nullable().optional(),
9
+ address: z.string().describe("Buyer address").nullable().optional(),
10
+ vat_code: z.string().describe("VAT registration number").nullable().optional(),
11
+ last_name: z.string().describe("Last name (for individual buyers)").nullable().optional(),
12
+ first_name: z.string().describe("First name (for individual buyers)").nullable().optional(),
13
+ company_code: z.string().describe("Company registration code").nullable().optional(),
14
+ company_name: z.string().describe("Company name (for company buyers)").nullable().optional(),
15
+ individual_tax_id: z.string().describe("Individual tax ID").nullable().optional()
16
+ }).describe("Buyer/customer information on the invoice");
17
+ const FinmeiGetInvoice_InvoiceItemSchema = z.object({
18
+ id: z.string().describe("Unique item identifier"),
19
+ name: z.string().describe("Item/product/service name"),
20
+ price: z.number().describe("Unit price"),
21
+ units: z.string().describe("Unit of measurement (hours, pcs, etc.)"),
22
+ quantity: z.number().describe("Quantity"),
23
+ vat_percentage: z.number().describe("VAT/tax percentage applied").nullable().optional()
24
+ }).describe("Line item on the invoice");
25
+ const FinmeiGetInvoice_SellerSchema = z.object({
26
+ email: z.string().describe("Business email").nullable().optional(),
27
+ phone: z.string().describe("Business phone number").nullable().optional(),
28
+ address: z.string().describe("Business address").nullable().optional(),
29
+ vat_code: z.string().describe("VAT registration number").nullable().optional(),
30
+ last_name: z.string().describe("Last name (for individual sellers)").nullable().optional(),
31
+ first_name: z.string().describe("First name (for individual sellers)").nullable().optional(),
32
+ company_code: z.string().describe("Company registration code").nullable().optional(),
33
+ company_name: z.string().describe("Company name (for company sellers)").nullable().optional(),
34
+ business_type: z.string().describe("Type of business (company or individual)").nullable().optional(),
35
+ individual_tax_id: z.string().describe("Individual tax ID").nullable().optional()
36
+ }).describe("Seller/business information on the invoice");
37
+ const finmeiGetInvoice = action("FINMEI_GET_INVOICE", {
38
+ slug: "finmei-get-invoice",
39
+ name: "Get Invoice by ID",
40
+ description: "Tool to retrieve a single invoice by its ID. Use when you need full invoice details including buyer, seller, items, amounts, and payment options.",
41
+ input: FinmeiGetInvoiceInput,
42
+ output: z.object({
43
+ id: z.string().describe("Unique invoice identifier"),
44
+ vat: z.number().describe("Total VAT/tax amount"),
45
+ buyer: FinmeiGetInvoice_BuyerSchema.nullable(),
46
+ items: z.array(FinmeiGetInvoice_InvoiceItemSchema).describe("List of line items on the invoice").nullable().optional(),
47
+ notes: z.string().describe("Additional notes on the invoice").nullable().optional(),
48
+ seller: FinmeiGetInvoice_SellerSchema.nullable(),
49
+ series: z.string().describe("Invoice series/prefix"),
50
+ currency: z.string().describe("ISO 4217 currency code (USD, EUR, GBP, etc.)"),
51
+ language: z.string().describe("Invoice language code"),
52
+ subtotal: z.number().describe("Subtotal amount before VAT"),
53
+ created_at: z.number().int().describe("Unix timestamp when invoice was created"),
54
+ share_link: z.string().describe("Public URL to view/share the invoice"),
55
+ updated_at: z.number().int().describe("Unix timestamp when invoice was last updated"),
56
+ business_id: z.string().describe("Business account identifier"),
57
+ invoice_date: z.string().describe("Invoice date in YYYY-MM-DD format"),
58
+ invoice_type: z.string().describe("Type of invoice (regular_invoice, vat_invoice, preliminary_invoice, credit_invoice)"),
59
+ invoice_number: z.string().describe("Invoice number within the series"),
60
+ pay_until_date: z.string().describe("Payment due date in YYYY-MM-DD format").nullable().optional(),
61
+ payment_status: z.string().describe("Payment status (not_paid, paid, partially_paid, etc.)"),
62
+ total_incl_vat: z.number().describe("Total amount including VAT"),
63
+ payment_options: z.array(z.object({})).describe("Available payment options").nullable().optional()
64
+ }).describe("Complete invoice details returned by the API.")
65
+ });
66
+ //#endregion
67
+ export { finmeiGetInvoice };
68
+
69
+ //# sourceMappingURL=get-invoice.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-invoice.mjs","names":[],"sources":["../../src/actions/get-invoice.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FinmeiGetInvoiceInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Invoice ID to retrieve\"),\n}).describe(\"Request parameters for retrieving a single invoice by ID.\");\nconst FinmeiGetInvoice_BuyerSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Type of buyer (company or individual)\").nullable().optional(),\n email: z.string().describe(\"Buyer email\").nullable().optional(),\n phone: z.string().describe(\"Buyer phone number\").nullable().optional(),\n address: z.string().describe(\"Buyer address\").nullable().optional(),\n vat_code: z.string().describe(\"VAT registration number\").nullable().optional(),\n last_name: z.string().describe(\"Last name (for individual buyers)\").nullable().optional(),\n first_name: z.string().describe(\"First name (for individual buyers)\").nullable().optional(),\n company_code: z.string().describe(\"Company registration code\").nullable().optional(),\n company_name: z.string().describe(\"Company name (for company buyers)\").nullable().optional(),\n individual_tax_id: z.string().describe(\"Individual tax ID\").nullable().optional(),\n}).describe(\"Buyer/customer information on the invoice\");\nconst FinmeiGetInvoice_InvoiceItemSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique item identifier\"),\n name: z.string().describe(\"Item/product/service name\"),\n price: z.number().describe(\"Unit price\"),\n units: z.string().describe(\"Unit of measurement (hours, pcs, etc.)\"),\n quantity: z.number().describe(\"Quantity\"),\n vat_percentage: z.number().describe(\"VAT/tax percentage applied\").nullable().optional(),\n}).describe(\"Line item on the invoice\");\nconst FinmeiGetInvoice_SellerSchema: z.ZodTypeAny = z.object({\n email: z.string().describe(\"Business email\").nullable().optional(),\n phone: z.string().describe(\"Business phone number\").nullable().optional(),\n address: z.string().describe(\"Business address\").nullable().optional(),\n vat_code: z.string().describe(\"VAT registration number\").nullable().optional(),\n last_name: z.string().describe(\"Last name (for individual sellers)\").nullable().optional(),\n first_name: z.string().describe(\"First name (for individual sellers)\").nullable().optional(),\n company_code: z.string().describe(\"Company registration code\").nullable().optional(),\n company_name: z.string().describe(\"Company name (for company sellers)\").nullable().optional(),\n business_type: z.string().describe(\"Type of business (company or individual)\").nullable().optional(),\n individual_tax_id: z.string().describe(\"Individual tax ID\").nullable().optional(),\n}).describe(\"Seller/business information on the invoice\");\nexport const FinmeiGetInvoiceOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique invoice identifier\"),\n vat: z.number().describe(\"Total VAT/tax amount\"),\n buyer: FinmeiGetInvoice_BuyerSchema.nullable(),\n items: z.array(FinmeiGetInvoice_InvoiceItemSchema).describe(\"List of line items on the invoice\").nullable().optional(),\n notes: z.string().describe(\"Additional notes on the invoice\").nullable().optional(),\n seller: FinmeiGetInvoice_SellerSchema.nullable(),\n series: z.string().describe(\"Invoice series/prefix\"),\n currency: z.string().describe(\"ISO 4217 currency code (USD, EUR, GBP, etc.)\"),\n language: z.string().describe(\"Invoice language code\"),\n subtotal: z.number().describe(\"Subtotal amount before VAT\"),\n created_at: z.number().int().describe(\"Unix timestamp when invoice was created\"),\n share_link: z.string().describe(\"Public URL to view/share the invoice\"),\n updated_at: z.number().int().describe(\"Unix timestamp when invoice was last updated\"),\n business_id: z.string().describe(\"Business account identifier\"),\n invoice_date: z.string().describe(\"Invoice date in YYYY-MM-DD format\"),\n invoice_type: z.string().describe(\"Type of invoice (regular_invoice, vat_invoice, preliminary_invoice, credit_invoice)\"),\n invoice_number: z.string().describe(\"Invoice number within the series\"),\n pay_until_date: z.string().describe(\"Payment due date in YYYY-MM-DD format\").nullable().optional(),\n payment_status: z.string().describe(\"Payment status (not_paid, paid, partially_paid, etc.)\"),\n total_incl_vat: z.number().describe(\"Total amount including VAT\"),\n payment_options: z.array(z.object({})).describe(\"Available payment options\").nullable().optional(),\n}).describe(\"Complete invoice details returned by the API.\");\n\nexport const finmeiGetInvoice = action(\"FINMEI_GET_INVOICE\", {\n slug: \"finmei-get-invoice\",\n name: \"Get Invoice by ID\",\n description: \"Tool to retrieve a single invoice by its ID. Use when you need full invoice details including buyer, seller, items, amounts, and payment options.\",\n input: FinmeiGetInvoiceInput,\n output: FinmeiGetInvoiceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAsC,EAAE,OAAO,EAC1D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,EAClD,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,+BAA6C,EAAE,OAAO;CAC1D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC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actions/get-payment.ts
4
+ const FinmeiGetPaymentInput = zod.z.object({ payment_id: zod.z.string().describe("Unique identifier of the payment to retrieve") }).describe("Path parameter for GET /payments/{payment_id}");
5
+ const FinmeiGetPaymentOutput = zod.z.object({
6
+ id: zod.z.string().describe("Unique identifier of the payment"),
7
+ date: zod.z.string().describe("Date of the payment in ISO 8601 format"),
8
+ mode: zod.z.string().describe("Mode of the payment"),
9
+ notes: zod.z.string().describe("Optional notes for the payment").nullable().optional(),
10
+ amount: zod.z.number().describe("Amount of the payment"),
11
+ reference: zod.z.string().describe("Optional payment reference number").nullable().optional(),
12
+ created_at: zod.z.string().describe("Timestamp when the payment was created"),
13
+ invoice_id: zod.z.string().describe("ID of the invoice associated with this payment"),
14
+ updated_at: zod.z.string().describe("Timestamp when the payment was last updated")
15
+ }).describe("Detailed payment object as returned by the API");
16
+ const finmeiGetPayment = require_action.action("FINMEI_GET_PAYMENT", {
17
+ slug: "finmei-get-payment",
18
+ name: "Get Payment",
19
+ description: "Tool to retrieve details of a specific payment by its ID. Use after creating a payment or when you need to confirm payment details.",
20
+ input: FinmeiGetPaymentInput,
21
+ output: FinmeiGetPaymentOutput
22
+ });
23
+ //#endregion
24
+ exports.finmeiGetPayment = finmeiGetPayment;
25
+
26
+ //# sourceMappingURL=get-payment.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-payment.cjs","names":["z","action"],"sources":["../../src/actions/get-payment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FinmeiGetPaymentInput: z.ZodTypeAny = z.object({\n payment_id: z.string().describe(\"Unique identifier of the payment to retrieve\"),\n}).describe(\"Path parameter for GET /payments/{payment_id}\");\nexport const FinmeiGetPaymentOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the payment\"),\n date: z.string().describe(\"Date of the payment in ISO 8601 format\"),\n mode: z.string().describe(\"Mode of the payment\"),\n notes: z.string().describe(\"Optional notes for the payment\").nullable().optional(),\n amount: z.number().describe(\"Amount of the payment\"),\n reference: z.string().describe(\"Optional payment reference number\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the payment was created\"),\n invoice_id: z.string().describe(\"ID of the invoice associated with this payment\"),\n updated_at: z.string().describe(\"Timestamp when the payment was last updated\"),\n}).describe(\"Detailed payment object as returned by the API\");\n\nexport const finmeiGetPayment = action(\"FINMEI_GET_PAYMENT\", {\n slug: \"finmei-get-payment\",\n name: \"Get Payment\",\n description: \"Tool to retrieve details of a specific payment by its ID. Use after creating a payment or when you need to confirm payment details.\",\n input: FinmeiGetPaymentInput,\n output: FinmeiGetPaymentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAsCA,IAAAA,EAAE,OAAO,EAC1D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,EAChF,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAa,yBAAuCA,IAAAA,EAAE,OAAO;CAC3D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CAC1D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;CAClE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;CAC/C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;CACnD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;CACxE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;CAChF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;AAC/E,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAE5D,MAAa,mBAAmBC,eAAAA,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-payment.d.ts
4
+ declare const FinmeiGetPaymentInput: z.ZodTypeAny;
5
+ declare const FinmeiGetPaymentOutput: z.ZodTypeAny;
6
+ declare const finmeiGetPayment: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { finmeiGetPayment };
9
+ //# sourceMappingURL=get-payment.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-payment.d.cts","names":[],"sources":["../../src/actions/get-payment.ts"],"mappings":";;;cAIa,qBAAA,EAAuB,CAAA,CAAE,UAEsB;AAAA,cAC/C,sBAAA,EAAwB,CAAA,CAAE,UAUsB;AAAA,cAEhD,gBAAA,gCAAgB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-payment.d.ts
4
+ declare const FinmeiGetPaymentInput: z.ZodTypeAny;
5
+ declare const FinmeiGetPaymentOutput: z.ZodTypeAny;
6
+ declare const finmeiGetPayment: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { finmeiGetPayment };
9
+ //# sourceMappingURL=get-payment.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-payment.d.mts","names":[],"sources":["../../src/actions/get-payment.ts"],"mappings":";;;cAIa,qBAAA,EAAuB,CAAA,CAAE,UAEsB;AAAA,cAC/C,sBAAA,EAAwB,CAAA,CAAE,UAUsB;AAAA,cAEhD,gBAAA,gCAAgB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,23 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const finmeiGetPayment = action("FINMEI_GET_PAYMENT", {
4
+ slug: "finmei-get-payment",
5
+ name: "Get Payment",
6
+ description: "Tool to retrieve details of a specific payment by its ID. Use after creating a payment or when you need to confirm payment details.",
7
+ input: z.object({ payment_id: z.string().describe("Unique identifier of the payment to retrieve") }).describe("Path parameter for GET /payments/{payment_id}"),
8
+ output: z.object({
9
+ id: z.string().describe("Unique identifier of the payment"),
10
+ date: z.string().describe("Date of the payment in ISO 8601 format"),
11
+ mode: z.string().describe("Mode of the payment"),
12
+ notes: z.string().describe("Optional notes for the payment").nullable().optional(),
13
+ amount: z.number().describe("Amount of the payment"),
14
+ reference: z.string().describe("Optional payment reference number").nullable().optional(),
15
+ created_at: z.string().describe("Timestamp when the payment was created"),
16
+ invoice_id: z.string().describe("ID of the invoice associated with this payment"),
17
+ updated_at: z.string().describe("Timestamp when the payment was last updated")
18
+ }).describe("Detailed payment object as returned by the API")
19
+ });
20
+ //#endregion
21
+ export { finmeiGetPayment };
22
+
23
+ //# sourceMappingURL=get-payment.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-payment.mjs","names":[],"sources":["../../src/actions/get-payment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FinmeiGetPaymentInput: z.ZodTypeAny = z.object({\n payment_id: z.string().describe(\"Unique identifier of the payment to retrieve\"),\n}).describe(\"Path parameter for GET /payments/{payment_id}\");\nexport const FinmeiGetPaymentOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the payment\"),\n date: z.string().describe(\"Date of the payment in ISO 8601 format\"),\n mode: z.string().describe(\"Mode of the payment\"),\n notes: z.string().describe(\"Optional notes for the payment\").nullable().optional(),\n amount: z.number().describe(\"Amount of the payment\"),\n reference: z.string().describe(\"Optional payment reference number\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the payment was created\"),\n invoice_id: z.string().describe(\"ID of the invoice associated with this payment\"),\n updated_at: z.string().describe(\"Timestamp when the payment was last updated\"),\n}).describe(\"Detailed payment object as returned by the API\");\n\nexport const finmeiGetPayment = action(\"FINMEI_GET_PAYMENT\", {\n slug: \"finmei-get-payment\",\n name: \"Get Payment\",\n description: \"Tool to retrieve details of a specific payment by its ID. Use after creating a payment or when you need to confirm payment details.\",\n input: FinmeiGetPaymentInput,\n output: FinmeiGetPaymentOutput,\n});\n"],"mappings":";;AAmBA,MAAa,mBAAmB,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnBiD,EAAE,OAAO,EAC1D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,EAChF,CAAC,CAAC,CAAC,SAAS,+CAiBH;CACP,QAjBkD,EAAE,OAAO;EAC3D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;EAC1D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;EAClE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;EAC/C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;EACnD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;EACxE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;EAChF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CAC/E,CAAC,CAAC,CAAC,SAAS,gDAOF;AACV,CAAC"}
@@ -0,0 +1,24 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-product.ts
4
+ const FinmeiGetProductInput = zod.z.object({ product_id: zod.z.string().describe("Unique identifier of the product to retrieve") });
5
+ const FinmeiGetProductOutput = zod.z.object({
6
+ id: zod.z.string().describe("Unique identifier of the product"),
7
+ name: zod.z.string().describe("Name of the product"),
8
+ price: zod.z.number().describe("Price of the product"),
9
+ currency: zod.z.string().describe("Currency code of the product price, e.g., USD"),
10
+ created_at: zod.z.string().describe("ISO8601 timestamp when the product was created"),
11
+ updated_at: zod.z.string().describe("ISO8601 timestamp when the product was last updated"),
12
+ description: zod.z.string().describe("Description of the product").nullable().optional()
13
+ });
14
+ const finmeiGetProduct = require_action.action("FINMEI_GET_PRODUCT", {
15
+ slug: "finmei-get-product",
16
+ name: "Get Product by ID",
17
+ description: "Tool to retrieve a product by its ID. Use when you need detailed information about a single product.",
18
+ input: FinmeiGetProductInput,
19
+ output: FinmeiGetProductOutput
20
+ });
21
+ //#endregion
22
+ exports.finmeiGetProduct = finmeiGetProduct;
23
+
24
+ //# sourceMappingURL=get-product.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-product.cjs","names":["z","action"],"sources":["../../src/actions/get-product.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FinmeiGetProductInput: z.ZodTypeAny = z.object({\n product_id: z.string().describe(\"Unique identifier of the product to retrieve\"),\n});\nexport const FinmeiGetProductOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the product\"),\n name: z.string().describe(\"Name of the product\"),\n price: z.number().describe(\"Price of the product\"),\n currency: z.string().describe(\"Currency code of the product price, e.g., USD\"),\n created_at: z.string().describe(\"ISO8601 timestamp when the product was created\"),\n updated_at: z.string().describe(\"ISO8601 timestamp when the product was last updated\"),\n description: z.string().describe(\"Description of the product\").nullable().optional(),\n});\n\nexport const finmeiGetProduct = action(\"FINMEI_GET_PRODUCT\", {\n slug: \"finmei-get-product\",\n name: \"Get Product by ID\",\n description: \"Tool to retrieve a product by its ID. Use when you need detailed information about a single product.\",\n input: FinmeiGetProductInput,\n output: FinmeiGetProductOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAsCA,IAAAA,EAAE,OAAO,EAC1D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,EAChF,CAAC;AACD,MAAa,yBAAuCA,IAAAA,EAAE,OAAO;CAC3D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CAC1D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;CAC/C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;CACjD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CAC7E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;CAChF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;CACrF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrF,CAAC;AAED,MAAa,mBAAmBC,eAAAA,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-product.d.ts
4
+ declare const FinmeiGetProductInput: z.ZodTypeAny;
5
+ declare const FinmeiGetProductOutput: z.ZodTypeAny;
6
+ declare const finmeiGetProduct: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { finmeiGetProduct };
9
+ //# sourceMappingURL=get-product.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-product.d.cts","names":[],"sources":["../../src/actions/get-product.ts"],"mappings":";;;cAIa,qBAAA,EAAuB,CAAA,CAAE,UAEpC;AAAA,cACW,sBAAA,EAAwB,CAAA,CAAE,UAQrC;AAAA,cAEW,gBAAA,gCAAgB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-product.d.ts
4
+ declare const FinmeiGetProductInput: z.ZodTypeAny;
5
+ declare const FinmeiGetProductOutput: z.ZodTypeAny;
6
+ declare const finmeiGetProduct: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { finmeiGetProduct };
9
+ //# sourceMappingURL=get-product.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-product.d.mts","names":[],"sources":["../../src/actions/get-product.ts"],"mappings":";;;cAIa,qBAAA,EAAuB,CAAA,CAAE,UAEpC;AAAA,cACW,sBAAA,EAAwB,CAAA,CAAE,UAQrC;AAAA,cAEW,gBAAA,gCAAgB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,21 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const finmeiGetProduct = action("FINMEI_GET_PRODUCT", {
4
+ slug: "finmei-get-product",
5
+ name: "Get Product by ID",
6
+ description: "Tool to retrieve a product by its ID. Use when you need detailed information about a single product.",
7
+ input: z.object({ product_id: z.string().describe("Unique identifier of the product to retrieve") }),
8
+ output: z.object({
9
+ id: z.string().describe("Unique identifier of the product"),
10
+ name: z.string().describe("Name of the product"),
11
+ price: z.number().describe("Price of the product"),
12
+ currency: z.string().describe("Currency code of the product price, e.g., USD"),
13
+ created_at: z.string().describe("ISO8601 timestamp when the product was created"),
14
+ updated_at: z.string().describe("ISO8601 timestamp when the product was last updated"),
15
+ description: z.string().describe("Description of the product").nullable().optional()
16
+ })
17
+ });
18
+ //#endregion
19
+ export { finmeiGetProduct };
20
+
21
+ //# sourceMappingURL=get-product.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-product.mjs","names":[],"sources":["../../src/actions/get-product.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FinmeiGetProductInput: z.ZodTypeAny = z.object({\n product_id: z.string().describe(\"Unique identifier of the product to retrieve\"),\n});\nexport const FinmeiGetProductOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the product\"),\n name: z.string().describe(\"Name of the product\"),\n price: z.number().describe(\"Price of the product\"),\n currency: z.string().describe(\"Currency code of the product price, e.g., USD\"),\n created_at: z.string().describe(\"ISO8601 timestamp when the product was created\"),\n updated_at: z.string().describe(\"ISO8601 timestamp when the product was last updated\"),\n description: z.string().describe(\"Description of the product\").nullable().optional(),\n});\n\nexport const finmeiGetProduct = action(\"FINMEI_GET_PRODUCT\", {\n slug: \"finmei-get-product\",\n name: \"Get Product by ID\",\n description: \"Tool to retrieve a product by its ID. Use when you need detailed information about a single product.\",\n input: FinmeiGetProductInput,\n output: FinmeiGetProductOutput,\n});\n"],"mappings":";;AAiBA,MAAa,mBAAmB,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjBiD,EAAE,OAAO,EAC1D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,EAChF,CAeS;CACP,QAfkD,EAAE,OAAO;EAC3D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;EAC1D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;EAC/C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;EACjD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;EAC7E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;EAChF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;EACrF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,CAOU;AACV,CAAC"}
@@ -0,0 +1,25 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-profile.ts
4
+ const FinmeiGetProfileInput = zod.z.object({}).describe("Request schema for retrieving business profile information. No parameters required.");
5
+ const FinmeiGetProfile_ProfileDataSchema = zod.z.object({
6
+ address: zod.z.string().describe("Address of the business").nullable().optional(),
7
+ vat_code: zod.z.string().describe("VAT code of the business").nullable().optional(),
8
+ business_id: zod.z.string().describe("Unique identifier of the business").nullable().optional(),
9
+ company_code: zod.z.string().describe("Company code").nullable().optional(),
10
+ company_name: zod.z.string().describe("Name of the company").nullable().optional(),
11
+ business_type: zod.z.string().describe("Type of the business").nullable().optional(),
12
+ business_title: zod.z.string().describe("Title of the business").nullable().optional()
13
+ }).describe("Business profile information");
14
+ const FinmeiGetProfileOutput = zod.z.object({ data: FinmeiGetProfile_ProfileDataSchema.nullable() }).describe("Response schema containing business profile data.");
15
+ const finmeiGetProfile = require_action.action("FINMEI_GET_PROFILE", {
16
+ slug: "finmei-get-profile",
17
+ name: "Get Profile",
18
+ description: "Tool to retrieve main information about the business to which the API token is assigned. Use when needing business ID, title, type, address, VAT code, company name, or company code.",
19
+ input: FinmeiGetProfileInput,
20
+ output: FinmeiGetProfileOutput
21
+ });
22
+ //#endregion
23
+ exports.finmeiGetProfile = finmeiGetProfile;
24
+
25
+ //# sourceMappingURL=get-profile.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-profile.cjs","names":["z","action"],"sources":["../../src/actions/get-profile.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FinmeiGetProfileInput: z.ZodTypeAny = z.object({}).describe(\"Request schema for retrieving business profile information. No parameters required.\");\nconst FinmeiGetProfile_ProfileDataSchema: z.ZodTypeAny = z.object({\n address: z.string().describe(\"Address of the business\").nullable().optional(),\n vat_code: z.string().describe(\"VAT code of the business\").nullable().optional(),\n business_id: z.string().describe(\"Unique identifier of the business\").nullable().optional(),\n company_code: z.string().describe(\"Company code\").nullable().optional(),\n company_name: z.string().describe(\"Name of the company\").nullable().optional(),\n business_type: z.string().describe(\"Type of the business\").nullable().optional(),\n business_title: z.string().describe(\"Title of the business\").nullable().optional(),\n}).describe(\"Business profile information\");\nexport const FinmeiGetProfileOutput: z.ZodTypeAny = z.object({\n data: FinmeiGetProfile_ProfileDataSchema.nullable(),\n}).describe(\"Response schema containing business profile data.\");\n\nexport const finmeiGetProfile = action(\"FINMEI_GET_PROFILE\", {\n slug: \"finmei-get-profile\",\n name: \"Get Profile\",\n description: \"Tool to retrieve main information about the business to which the API token is assigned. Use when needing business ID, title, type, address, VAT code, company name, or company code.\",\n input: FinmeiGetProfileInput,\n output: FinmeiGetProfileOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAsCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,qFAAqF;AAC9J,MAAM,qCAAmDA,IAAAA,EAAE,OAAO;CAChE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,SAAS,8BAA8B;AAC1C,MAAa,yBAAuCA,IAAAA,EAAE,OAAO,EAC3D,MAAM,mCAAmC,SAAS,EACpD,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAE/D,MAAa,mBAAmBC,eAAAA,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-profile.d.ts
4
+ declare const FinmeiGetProfileInput: z.ZodTypeAny;
5
+ declare const FinmeiGetProfileOutput: z.ZodTypeAny;
6
+ declare const finmeiGetProfile: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { finmeiGetProfile };
9
+ //# sourceMappingURL=get-profile.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-profile.d.cts","names":[],"sources":["../../src/actions/get-profile.ts"],"mappings":";;;cAIa,qBAAA,EAAuB,CAAA,CAAE,UAAyH;AAAA,cAUlJ,sBAAA,EAAwB,CAAA,CAAE,UAEyB;AAAA,cAEnD,gBAAA,gCAAgB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-profile.d.ts
4
+ declare const FinmeiGetProfileInput: z.ZodTypeAny;
5
+ declare const FinmeiGetProfileOutput: z.ZodTypeAny;
6
+ declare const finmeiGetProfile: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { finmeiGetProfile };
9
+ //# sourceMappingURL=get-profile.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-profile.d.mts","names":[],"sources":["../../src/actions/get-profile.ts"],"mappings":";;;cAIa,qBAAA,EAAuB,CAAA,CAAE,UAAyH;AAAA,cAUlJ,sBAAA,EAAwB,CAAA,CAAE,UAEyB;AAAA,cAEnD,gBAAA,gCAAgB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,24 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/get-profile.ts
4
+ const FinmeiGetProfileInput = z.object({}).describe("Request schema for retrieving business profile information. No parameters required.");
5
+ const FinmeiGetProfile_ProfileDataSchema = z.object({
6
+ address: z.string().describe("Address of the business").nullable().optional(),
7
+ vat_code: z.string().describe("VAT code of the business").nullable().optional(),
8
+ business_id: z.string().describe("Unique identifier of the business").nullable().optional(),
9
+ company_code: z.string().describe("Company code").nullable().optional(),
10
+ company_name: z.string().describe("Name of the company").nullable().optional(),
11
+ business_type: z.string().describe("Type of the business").nullable().optional(),
12
+ business_title: z.string().describe("Title of the business").nullable().optional()
13
+ }).describe("Business profile information");
14
+ const finmeiGetProfile = action("FINMEI_GET_PROFILE", {
15
+ slug: "finmei-get-profile",
16
+ name: "Get Profile",
17
+ description: "Tool to retrieve main information about the business to which the API token is assigned. Use when needing business ID, title, type, address, VAT code, company name, or company code.",
18
+ input: FinmeiGetProfileInput,
19
+ output: z.object({ data: FinmeiGetProfile_ProfileDataSchema.nullable() }).describe("Response schema containing business profile data.")
20
+ });
21
+ //#endregion
22
+ export { finmeiGetProfile };
23
+
24
+ //# sourceMappingURL=get-profile.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-profile.mjs","names":[],"sources":["../../src/actions/get-profile.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FinmeiGetProfileInput: z.ZodTypeAny = z.object({}).describe(\"Request schema for retrieving business profile information. No parameters required.\");\nconst FinmeiGetProfile_ProfileDataSchema: z.ZodTypeAny = z.object({\n address: z.string().describe(\"Address of the business\").nullable().optional(),\n vat_code: z.string().describe(\"VAT code of the business\").nullable().optional(),\n business_id: z.string().describe(\"Unique identifier of the business\").nullable().optional(),\n company_code: z.string().describe(\"Company code\").nullable().optional(),\n company_name: z.string().describe(\"Name of the company\").nullable().optional(),\n business_type: z.string().describe(\"Type of the business\").nullable().optional(),\n business_title: z.string().describe(\"Title of the business\").nullable().optional(),\n}).describe(\"Business profile information\");\nexport const FinmeiGetProfileOutput: z.ZodTypeAny = z.object({\n data: FinmeiGetProfile_ProfileDataSchema.nullable(),\n}).describe(\"Response schema containing business profile data.\");\n\nexport const finmeiGetProfile = action(\"FINMEI_GET_PROFILE\", {\n slug: \"finmei-get-profile\",\n name: \"Get Profile\",\n description: \"Tool to retrieve main information about the business to which the API token is assigned. Use when needing business ID, title, type, address, VAT code, company name, or company code.\",\n input: FinmeiGetProfileInput,\n output: FinmeiGetProfileOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAsC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,qFAAqF;AAC9J,MAAM,qCAAmD,EAAE,OAAO;CAChE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,SAAS,8BAA8B;AAK1C,MAAa,mBAAmB,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATkD,EAAE,OAAO,EAC3D,MAAM,mCAAmC,SAAS,EACpD,CAAC,CAAC,CAAC,SAAS,mDAOF;AACV,CAAC"}
@@ -0,0 +1,49 @@
1
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
+ const require_create_expense = require("./create-expense.cjs");
3
+ const require_create_invoice = require("./create-invoice.cjs");
4
+ const require_delete_customer = require("./delete-customer.cjs");
5
+ const require_delete_invoice = require("./delete-invoice.cjs");
6
+ const require_delete_payment = require("./delete-payment.cjs");
7
+ const require_delete_product = require("./delete-product.cjs");
8
+ const require_download_expense_file = require("./download-expense-file.cjs");
9
+ const require_download_invoice_pdf = require("./download-invoice-pdf.cjs");
10
+ const require_get_expense = require("./get-expense.cjs");
11
+ const require_get_invoice = require("./get-invoice.cjs");
12
+ const require_get_payment = require("./get-payment.cjs");
13
+ const require_get_product = require("./get-product.cjs");
14
+ const require_get_profile = require("./get-profile.cjs");
15
+ const require_list_currencies = require("./list-currencies.cjs");
16
+ const require_list_customers = require("./list-customers.cjs");
17
+ const require_list_expenses = require("./list-expenses.cjs");
18
+ const require_list_invoices = require("./list-invoices.cjs");
19
+ const require_list_payments = require("./list-payments.cjs");
20
+ const require_list_products = require("./list-products.cjs");
21
+ const require_update_customer = require("./update-customer.cjs");
22
+ const require_update_expense = require("./update-expense.cjs");
23
+ const require_update_expense_file = require("./update-expense-file.cjs");
24
+ const require_update_invoice = require("./update-invoice.cjs");
25
+ const require_update_product = require("./update-product.cjs");
26
+ exports.finmeiCreateExpense = require_create_expense.finmeiCreateExpense;
27
+ exports.finmeiCreateInvoice = require_create_invoice.finmeiCreateInvoice;
28
+ exports.finmeiDeleteCustomer = require_delete_customer.finmeiDeleteCustomer;
29
+ exports.finmeiDeleteInvoice = require_delete_invoice.finmeiDeleteInvoice;
30
+ exports.finmeiDeletePayment = require_delete_payment.finmeiDeletePayment;
31
+ exports.finmeiDeleteProduct = require_delete_product.finmeiDeleteProduct;
32
+ exports.finmeiDownloadExpenseFile = require_download_expense_file.finmeiDownloadExpenseFile;
33
+ exports.finmeiDownloadInvoicePdf = require_download_invoice_pdf.finmeiDownloadInvoicePdf;
34
+ exports.finmeiGetExpense = require_get_expense.finmeiGetExpense;
35
+ exports.finmeiGetInvoice = require_get_invoice.finmeiGetInvoice;
36
+ exports.finmeiGetPayment = require_get_payment.finmeiGetPayment;
37
+ exports.finmeiGetProduct = require_get_product.finmeiGetProduct;
38
+ exports.finmeiGetProfile = require_get_profile.finmeiGetProfile;
39
+ exports.finmeiListCurrencies = require_list_currencies.finmeiListCurrencies;
40
+ exports.finmeiListCustomers = require_list_customers.finmeiListCustomers;
41
+ exports.finmeiListExpenses = require_list_expenses.finmeiListExpenses;
42
+ exports.finmeiListInvoices = require_list_invoices.finmeiListInvoices;
43
+ exports.finmeiListPayments = require_list_payments.finmeiListPayments;
44
+ exports.finmeiListProducts = require_list_products.finmeiListProducts;
45
+ exports.finmeiUpdateCustomer = require_update_customer.finmeiUpdateCustomer;
46
+ exports.finmeiUpdateExpense = require_update_expense.finmeiUpdateExpense;
47
+ exports.finmeiUpdateExpenseFile = require_update_expense_file.finmeiUpdateExpenseFile;
48
+ exports.finmeiUpdateInvoice = require_update_invoice.finmeiUpdateInvoice;
49
+ exports.finmeiUpdateProduct = require_update_product.finmeiUpdateProduct;
@@ -0,0 +1,25 @@
1
+ import { finmeiCreateExpense } from "./create-expense.cjs";
2
+ import { finmeiCreateInvoice } from "./create-invoice.cjs";
3
+ import { finmeiDeleteCustomer } from "./delete-customer.cjs";
4
+ import { finmeiDeleteInvoice } from "./delete-invoice.cjs";
5
+ import { finmeiDeletePayment } from "./delete-payment.cjs";
6
+ import { finmeiDeleteProduct } from "./delete-product.cjs";
7
+ import { finmeiDownloadExpenseFile } from "./download-expense-file.cjs";
8
+ import { finmeiDownloadInvoicePdf } from "./download-invoice-pdf.cjs";
9
+ import { finmeiGetExpense } from "./get-expense.cjs";
10
+ import { finmeiGetInvoice } from "./get-invoice.cjs";
11
+ import { finmeiGetPayment } from "./get-payment.cjs";
12
+ import { finmeiGetProduct } from "./get-product.cjs";
13
+ import { finmeiGetProfile } from "./get-profile.cjs";
14
+ import { finmeiListCurrencies } from "./list-currencies.cjs";
15
+ import { finmeiListCustomers } from "./list-customers.cjs";
16
+ import { finmeiListExpenses } from "./list-expenses.cjs";
17
+ import { finmeiListInvoices } from "./list-invoices.cjs";
18
+ import { finmeiListPayments } from "./list-payments.cjs";
19
+ import { finmeiListProducts } from "./list-products.cjs";
20
+ import { finmeiUpdateCustomer } from "./update-customer.cjs";
21
+ import { finmeiUpdateExpense } from "./update-expense.cjs";
22
+ import { finmeiUpdateExpenseFile } from "./update-expense-file.cjs";
23
+ import { finmeiUpdateInvoice } from "./update-invoice.cjs";
24
+ import { finmeiUpdateProduct } from "./update-product.cjs";
25
+ export { finmeiCreateExpense, finmeiCreateInvoice, finmeiDeleteCustomer, finmeiDeleteInvoice, finmeiDeletePayment, finmeiDeleteProduct, finmeiDownloadExpenseFile, finmeiDownloadInvoicePdf, finmeiGetExpense, finmeiGetInvoice, finmeiGetPayment, finmeiGetProduct, finmeiGetProfile, finmeiListCurrencies, finmeiListCustomers, finmeiListExpenses, finmeiListInvoices, finmeiListPayments, finmeiListProducts, finmeiUpdateCustomer, finmeiUpdateExpense, finmeiUpdateExpenseFile, finmeiUpdateInvoice, finmeiUpdateProduct };