@keystrokehq/finmei 0.1.0 → 0.1.2

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 (191) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/create-expense.cjs +7 -7
  4. package/dist/actions/create-expense.cjs.map +1 -1
  5. package/dist/actions/create-expense.d.cts +33 -3
  6. package/dist/actions/create-expense.d.cts.map +1 -1
  7. package/dist/actions/create-expense.d.mts +33 -3
  8. package/dist/actions/create-expense.d.mts.map +1 -1
  9. package/dist/actions/create-expense.mjs +7 -7
  10. package/dist/actions/create-expense.mjs.map +1 -1
  11. package/dist/actions/create-invoice.cjs.map +1 -1
  12. package/dist/actions/create-invoice.d.cts +166 -3
  13. package/dist/actions/create-invoice.d.cts.map +1 -1
  14. package/dist/actions/create-invoice.d.mts +166 -3
  15. package/dist/actions/create-invoice.d.mts.map +1 -1
  16. package/dist/actions/create-invoice.mjs.map +1 -1
  17. package/dist/actions/delete-customer.cjs.map +1 -1
  18. package/dist/actions/delete-customer.d.cts +7 -3
  19. package/dist/actions/delete-customer.d.cts.map +1 -1
  20. package/dist/actions/delete-customer.d.mts +7 -3
  21. package/dist/actions/delete-customer.d.mts.map +1 -1
  22. package/dist/actions/delete-customer.mjs.map +1 -1
  23. package/dist/actions/delete-invoice.cjs +1 -1
  24. package/dist/actions/delete-invoice.cjs.map +1 -1
  25. package/dist/actions/delete-invoice.d.cts +10 -3
  26. package/dist/actions/delete-invoice.d.cts.map +1 -1
  27. package/dist/actions/delete-invoice.d.mts +10 -3
  28. package/dist/actions/delete-invoice.d.mts.map +1 -1
  29. package/dist/actions/delete-invoice.mjs +1 -1
  30. package/dist/actions/delete-invoice.mjs.map +1 -1
  31. package/dist/actions/delete-payment.cjs +1 -1
  32. package/dist/actions/delete-payment.cjs.map +1 -1
  33. package/dist/actions/delete-payment.d.cts +9 -3
  34. package/dist/actions/delete-payment.d.cts.map +1 -1
  35. package/dist/actions/delete-payment.d.mts +9 -3
  36. package/dist/actions/delete-payment.d.mts.map +1 -1
  37. package/dist/actions/delete-payment.mjs +1 -1
  38. package/dist/actions/delete-payment.mjs.map +1 -1
  39. package/dist/actions/delete-product.cjs +1 -1
  40. package/dist/actions/delete-product.cjs.map +1 -1
  41. package/dist/actions/delete-product.d.cts +10 -3
  42. package/dist/actions/delete-product.d.cts.map +1 -1
  43. package/dist/actions/delete-product.d.mts +10 -3
  44. package/dist/actions/delete-product.d.mts.map +1 -1
  45. package/dist/actions/delete-product.mjs +1 -1
  46. package/dist/actions/delete-product.mjs.map +1 -1
  47. package/dist/actions/download-expense-file.cjs +3 -3
  48. package/dist/actions/download-expense-file.cjs.map +1 -1
  49. package/dist/actions/download-expense-file.d.cts +13 -3
  50. package/dist/actions/download-expense-file.d.cts.map +1 -1
  51. package/dist/actions/download-expense-file.d.mts +13 -3
  52. package/dist/actions/download-expense-file.d.mts.map +1 -1
  53. package/dist/actions/download-expense-file.mjs +3 -3
  54. package/dist/actions/download-expense-file.mjs.map +1 -1
  55. package/dist/actions/download-invoice-pdf.cjs +3 -3
  56. package/dist/actions/download-invoice-pdf.cjs.map +1 -1
  57. package/dist/actions/download-invoice-pdf.d.cts +13 -3
  58. package/dist/actions/download-invoice-pdf.d.cts.map +1 -1
  59. package/dist/actions/download-invoice-pdf.d.mts +13 -3
  60. package/dist/actions/download-invoice-pdf.d.mts.map +1 -1
  61. package/dist/actions/download-invoice-pdf.mjs +3 -3
  62. package/dist/actions/download-invoice-pdf.mjs.map +1 -1
  63. package/dist/actions/get-expense.cjs +7 -7
  64. package/dist/actions/get-expense.cjs.map +1 -1
  65. package/dist/actions/get-expense.d.cts +17 -3
  66. package/dist/actions/get-expense.d.cts.map +1 -1
  67. package/dist/actions/get-expense.d.mts +17 -3
  68. package/dist/actions/get-expense.d.mts.map +1 -1
  69. package/dist/actions/get-expense.mjs +7 -7
  70. package/dist/actions/get-expense.mjs.map +1 -1
  71. package/dist/actions/get-invoice.cjs +20 -20
  72. package/dist/actions/get-invoice.cjs.map +1 -1
  73. package/dist/actions/get-invoice.d.cts +58 -3
  74. package/dist/actions/get-invoice.d.cts.map +1 -1
  75. package/dist/actions/get-invoice.d.mts +58 -3
  76. package/dist/actions/get-invoice.d.mts.map +1 -1
  77. package/dist/actions/get-invoice.mjs +20 -20
  78. package/dist/actions/get-invoice.mjs.map +1 -1
  79. package/dist/actions/get-payment.cjs +7 -7
  80. package/dist/actions/get-payment.cjs.map +1 -1
  81. package/dist/actions/get-payment.d.cts +17 -3
  82. package/dist/actions/get-payment.d.cts.map +1 -1
  83. package/dist/actions/get-payment.d.mts +17 -3
  84. package/dist/actions/get-payment.d.mts.map +1 -1
  85. package/dist/actions/get-payment.mjs +7 -7
  86. package/dist/actions/get-payment.mjs.map +1 -1
  87. package/dist/actions/get-product.cjs +6 -6
  88. package/dist/actions/get-product.cjs.map +1 -1
  89. package/dist/actions/get-product.d.cts +15 -3
  90. package/dist/actions/get-product.d.cts.map +1 -1
  91. package/dist/actions/get-product.d.mts +15 -3
  92. package/dist/actions/get-product.d.mts.map +1 -1
  93. package/dist/actions/get-product.mjs +6 -6
  94. package/dist/actions/get-product.mjs.map +1 -1
  95. package/dist/actions/get-profile.cjs.map +1 -1
  96. package/dist/actions/get-profile.d.cts +13 -3
  97. package/dist/actions/get-profile.d.cts.map +1 -1
  98. package/dist/actions/get-profile.d.mts +13 -3
  99. package/dist/actions/get-profile.d.mts.map +1 -1
  100. package/dist/actions/get-profile.mjs.map +1 -1
  101. package/dist/actions/list-currencies.cjs +2 -2
  102. package/dist/actions/list-currencies.cjs.map +1 -1
  103. package/dist/actions/list-currencies.d.cts +9 -3
  104. package/dist/actions/list-currencies.d.cts.map +1 -1
  105. package/dist/actions/list-currencies.d.mts +9 -3
  106. package/dist/actions/list-currencies.d.mts.map +1 -1
  107. package/dist/actions/list-currencies.mjs +2 -2
  108. package/dist/actions/list-currencies.mjs.map +1 -1
  109. package/dist/actions/list-customers.cjs +5 -5
  110. package/dist/actions/list-customers.cjs.map +1 -1
  111. package/dist/actions/list-customers.d.cts +29 -3
  112. package/dist/actions/list-customers.d.cts.map +1 -1
  113. package/dist/actions/list-customers.d.mts +29 -3
  114. package/dist/actions/list-customers.d.mts.map +1 -1
  115. package/dist/actions/list-customers.mjs +5 -5
  116. package/dist/actions/list-customers.mjs.map +1 -1
  117. package/dist/actions/list-expenses.cjs +5 -5
  118. package/dist/actions/list-expenses.cjs.map +1 -1
  119. package/dist/actions/list-expenses.d.cts +28 -3
  120. package/dist/actions/list-expenses.d.cts.map +1 -1
  121. package/dist/actions/list-expenses.d.mts +28 -3
  122. package/dist/actions/list-expenses.d.mts.map +1 -1
  123. package/dist/actions/list-expenses.mjs +5 -5
  124. package/dist/actions/list-expenses.mjs.map +1 -1
  125. package/dist/actions/list-invoices.cjs +25 -25
  126. package/dist/actions/list-invoices.cjs.map +1 -1
  127. package/dist/actions/list-invoices.d.cts +71 -3
  128. package/dist/actions/list-invoices.d.cts.map +1 -1
  129. package/dist/actions/list-invoices.d.mts +71 -3
  130. package/dist/actions/list-invoices.d.mts.map +1 -1
  131. package/dist/actions/list-invoices.mjs +25 -25
  132. package/dist/actions/list-invoices.mjs.map +1 -1
  133. package/dist/actions/list-payments.cjs +6 -6
  134. package/dist/actions/list-payments.cjs.map +1 -1
  135. package/dist/actions/list-payments.d.cts +34 -3
  136. package/dist/actions/list-payments.d.cts.map +1 -1
  137. package/dist/actions/list-payments.d.mts +34 -3
  138. package/dist/actions/list-payments.d.mts.map +1 -1
  139. package/dist/actions/list-payments.mjs +6 -6
  140. package/dist/actions/list-payments.mjs.map +1 -1
  141. package/dist/actions/list-products.cjs +8 -8
  142. package/dist/actions/list-products.cjs.map +1 -1
  143. package/dist/actions/list-products.d.cts +35 -3
  144. package/dist/actions/list-products.d.cts.map +1 -1
  145. package/dist/actions/list-products.d.mts +35 -3
  146. package/dist/actions/list-products.d.mts.map +1 -1
  147. package/dist/actions/list-products.mjs +8 -8
  148. package/dist/actions/list-products.mjs.map +1 -1
  149. package/dist/actions/update-customer.cjs +3 -3
  150. package/dist/actions/update-customer.cjs.map +1 -1
  151. package/dist/actions/update-customer.d.cts +46 -3
  152. package/dist/actions/update-customer.d.cts.map +1 -1
  153. package/dist/actions/update-customer.d.mts +46 -3
  154. package/dist/actions/update-customer.d.mts.map +1 -1
  155. package/dist/actions/update-customer.mjs +3 -3
  156. package/dist/actions/update-customer.mjs.map +1 -1
  157. package/dist/actions/update-expense-file.cjs.map +1 -1
  158. package/dist/actions/update-expense-file.d.cts +23 -3
  159. package/dist/actions/update-expense-file.d.cts.map +1 -1
  160. package/dist/actions/update-expense-file.d.mts +23 -3
  161. package/dist/actions/update-expense-file.d.mts.map +1 -1
  162. package/dist/actions/update-expense-file.mjs.map +1 -1
  163. package/dist/actions/update-expense.cjs +5 -5
  164. package/dist/actions/update-expense.cjs.map +1 -1
  165. package/dist/actions/update-expense.d.cts +23 -3
  166. package/dist/actions/update-expense.d.cts.map +1 -1
  167. package/dist/actions/update-expense.d.mts +23 -3
  168. package/dist/actions/update-expense.d.mts.map +1 -1
  169. package/dist/actions/update-expense.mjs +5 -5
  170. package/dist/actions/update-expense.mjs.map +1 -1
  171. package/dist/actions/update-invoice.cjs.map +1 -1
  172. package/dist/actions/update-invoice.d.cts +147 -3
  173. package/dist/actions/update-invoice.d.cts.map +1 -1
  174. package/dist/actions/update-invoice.d.mts +147 -3
  175. package/dist/actions/update-invoice.d.mts.map +1 -1
  176. package/dist/actions/update-invoice.mjs.map +1 -1
  177. package/dist/actions/update-product.cjs +6 -6
  178. package/dist/actions/update-product.cjs.map +1 -1
  179. package/dist/actions/update-product.d.cts +23 -3
  180. package/dist/actions/update-product.d.cts.map +1 -1
  181. package/dist/actions/update-product.d.mts +23 -3
  182. package/dist/actions/update-product.d.mts.map +1 -1
  183. package/dist/actions/update-product.mjs +6 -6
  184. package/dist/actions/update-product.mjs.map +1 -1
  185. package/dist/catalog.cjs +7 -1
  186. package/dist/catalog.cjs.map +1 -1
  187. package/dist/catalog.d.cts +8 -0
  188. package/dist/catalog.d.mts +8 -0
  189. package/dist/catalog.mjs +7 -1
  190. package/dist/catalog.mjs.map +1 -1
  191. package/package.json +2 -2
@@ -1,9 +1,64 @@
1
1
  import { z } from "zod";
2
2
 
3
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]>;
4
+ declare const FinmeiGetInvoiceInput: z.ZodObject<{
5
+ id: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const FinmeiGetInvoiceOutput: z.ZodObject<{
8
+ id: z.ZodNullable<z.ZodString>;
9
+ vat: z.ZodNullable<z.ZodNumber>;
10
+ buyer: z.ZodNullable<z.ZodObject<{
11
+ type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ vat_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ last_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ company_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ company_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ individual_tax_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ }, z.core.$strip>>;
22
+ items: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
23
+ id: z.ZodNullable<z.ZodString>;
24
+ name: z.ZodNullable<z.ZodString>;
25
+ price: z.ZodNullable<z.ZodNumber>;
26
+ units: z.ZodNullable<z.ZodString>;
27
+ quantity: z.ZodNullable<z.ZodNumber>;
28
+ vat_percentage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
29
+ }, z.core.$strip>>>>;
30
+ notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
+ seller: z.ZodNullable<z.ZodObject<{
32
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
+ phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
+ address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35
+ vat_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
36
+ last_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
37
+ first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
38
+ company_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39
+ company_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
40
+ business_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41
+ individual_tax_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
42
+ }, z.core.$strip>>;
43
+ series: z.ZodNullable<z.ZodString>;
44
+ currency: z.ZodNullable<z.ZodString>;
45
+ language: z.ZodNullable<z.ZodString>;
46
+ subtotal: z.ZodNullable<z.ZodNumber>;
47
+ created_at: z.ZodNullable<z.ZodNumber>;
48
+ share_link: z.ZodNullable<z.ZodString>;
49
+ updated_at: z.ZodNullable<z.ZodNumber>;
50
+ business_id: z.ZodNullable<z.ZodString>;
51
+ invoice_date: z.ZodNullable<z.ZodString>;
52
+ invoice_type: z.ZodNullable<z.ZodString>;
53
+ invoice_number: z.ZodNullable<z.ZodString>;
54
+ pay_until_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
55
+ payment_status: z.ZodNullable<z.ZodString>;
56
+ total_incl_vat: z.ZodNullable<z.ZodNumber>;
57
+ payment_options: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{}, z.core.$strip>>>>;
58
+ }, z.core.$strip>;
59
+ declare const finmeiGetInvoice: import("@keystrokehq/action").WorkflowActionDefinition<{
60
+ id: string;
61
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
62
  //#endregion
8
63
  export { finmeiGetInvoice };
9
64
  //# sourceMappingURL=get-invoice.d.mts.map
@@ -1 +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"}
1
+ {"version":3,"file":"get-invoice.d.mts","names":[],"sources":["../../src/actions/get-invoice.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;cAmCrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAwBtB,gBAAA,gCAAgB,wBAAA"}
@@ -15,11 +15,11 @@ const FinmeiGetInvoice_BuyerSchema = z.object({
15
15
  individual_tax_id: z.string().describe("Individual tax ID").nullable().optional()
16
16
  }).describe("Buyer/customer information on the invoice");
17
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"),
18
+ id: z.string().describe("Unique item identifier").nullable(),
19
+ name: z.string().describe("Item/product/service name").nullable(),
20
+ price: z.number().describe("Unit price").nullable(),
21
+ units: z.string().describe("Unit of measurement (hours, pcs, etc.)").nullable(),
22
+ quantity: z.number().describe("Quantity").nullable(),
23
23
  vat_percentage: z.number().describe("VAT/tax percentage applied").nullable().optional()
24
24
  }).describe("Line item on the invoice");
25
25
  const FinmeiGetInvoice_SellerSchema = z.object({
@@ -40,26 +40,26 @@ const finmeiGetInvoice = action("FINMEI_GET_INVOICE", {
40
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
41
  input: FinmeiGetInvoiceInput,
42
42
  output: z.object({
43
- id: z.string().describe("Unique invoice identifier"),
44
- vat: z.number().describe("Total VAT/tax amount"),
43
+ id: z.string().describe("Unique invoice identifier").nullable(),
44
+ vat: z.number().describe("Total VAT/tax amount").nullable(),
45
45
  buyer: FinmeiGetInvoice_BuyerSchema.nullable(),
46
46
  items: z.array(FinmeiGetInvoice_InvoiceItemSchema).describe("List of line items on the invoice").nullable().optional(),
47
47
  notes: z.string().describe("Additional notes on the invoice").nullable().optional(),
48
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"),
49
+ series: z.string().describe("Invoice series/prefix").nullable(),
50
+ currency: z.string().describe("ISO 4217 currency code (USD, EUR, GBP, etc.)").nullable(),
51
+ language: z.string().describe("Invoice language code").nullable(),
52
+ subtotal: z.number().describe("Subtotal amount before VAT").nullable(),
53
+ created_at: z.number().int().describe("Unix timestamp when invoice was created").nullable(),
54
+ share_link: z.string().describe("Public URL to view/share the invoice").nullable(),
55
+ updated_at: z.number().int().describe("Unix timestamp when invoice was last updated").nullable(),
56
+ business_id: z.string().describe("Business account identifier").nullable(),
57
+ invoice_date: z.string().describe("Invoice date in YYYY-MM-DD format").nullable(),
58
+ invoice_type: z.string().describe("Type of invoice (regular_invoice, vat_invoice, preliminary_invoice, credit_invoice)").nullable(),
59
+ invoice_number: z.string().describe("Invoice number within the series").nullable(),
60
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"),
61
+ payment_status: z.string().describe("Payment status (not_paid, paid, partially_paid, etc.)").nullable(),
62
+ total_incl_vat: z.number().describe("Total amount including VAT").nullable(),
63
63
  payment_options: z.array(z.object({})).describe("Available payment options").nullable().optional()
64
64
  }).describe("Complete invoice details returned by the API.")
65
65
  });
@@ -1 +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,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClE,UAAU,EAAE,OA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AE,OAAO,CAAC,CAAC,SAAS,uBAAuB;EACrD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;EAC1D,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC;EAC/E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;EACtE,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C;EACpF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;EAC9D,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;EACrE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF;EACvH,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;EACtE,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;EAC3F,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;EAChE,iBAAiB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,CAAC,CAAC,CAAC,SAAS,+CAOF;AACV,CAAC"}
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.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.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.object({\n id: z.string().describe(\"Unique item identifier\").nullable(),\n name: z.string().describe(\"Item/product/service name\").nullable(),\n price: z.number().describe(\"Unit price\").nullable(),\n units: z.string().describe(\"Unit of measurement (hours, pcs, etc.)\").nullable(),\n quantity: z.number().describe(\"Quantity\").nullable(),\n vat_percentage: z.number().describe(\"VAT/tax percentage applied\").nullable().optional(),\n}).describe(\"Line item on the invoice\");\nconst FinmeiGetInvoice_SellerSchema = 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.object({\n id: z.string().describe(\"Unique invoice identifier\").nullable(),\n vat: z.number().describe(\"Total VAT/tax amount\").nullable(),\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\").nullable(),\n currency: z.string().describe(\"ISO 4217 currency code (USD, EUR, GBP, etc.)\").nullable(),\n language: z.string().describe(\"Invoice language code\").nullable(),\n subtotal: z.number().describe(\"Subtotal amount before VAT\").nullable(),\n created_at: z.number().int().describe(\"Unix timestamp when invoice was created\").nullable(),\n share_link: z.string().describe(\"Public URL to view/share the invoice\").nullable(),\n updated_at: z.number().int().describe(\"Unix timestamp when invoice was last updated\").nullable(),\n business_id: z.string().describe(\"Business account identifier\").nullable(),\n invoice_date: z.string().describe(\"Invoice date in YYYY-MM-DD format\").nullable(),\n invoice_type: z.string().describe(\"Type of invoice (regular_invoice, vat_invoice, preliminary_invoice, credit_invoice)\").nullable(),\n invoice_number: z.string().describe(\"Invoice number within the series\").nullable(),\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.)\").nullable(),\n total_incl_vat: z.number().describe(\"Total amount including VAT\").nullable(),\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,wBAAwB,EAAE,OAAO,EAC5C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,EAClD,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,+BAA+B,EAAE,OAAO;CAC5C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,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C,SAAS;EACtG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EAC3E,iBAAiB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,CAAC,CAAC,CAAC,SAAS,+CAOF;AACV,CAAC"}
@@ -3,15 +3,15 @@ let zod = require("zod");
3
3
  //#region src/actions/get-payment.ts
4
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
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"),
6
+ id: zod.z.string().describe("Unique identifier of the payment").nullable(),
7
+ date: zod.z.string().describe("Date of the payment in ISO 8601 format").nullable(),
8
+ mode: zod.z.string().describe("Mode of the payment").nullable(),
9
9
  notes: zod.z.string().describe("Optional notes for the payment").nullable().optional(),
10
- amount: zod.z.number().describe("Amount of the payment"),
10
+ amount: zod.z.number().describe("Amount of the payment").nullable(),
11
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")
12
+ created_at: zod.z.string().describe("Timestamp when the payment was created").nullable(),
13
+ invoice_id: zod.z.string().describe("ID of the invoice associated with this payment").nullable(),
14
+ updated_at: zod.z.string().describe("Timestamp when the payment was last updated").nullable()
15
15
  }).describe("Detailed payment object as returned by the API");
16
16
  const finmeiGetPayment = require_action.action("FINMEI_GET_PAYMENT", {
17
17
  slug: "finmei-get-payment",
@@ -1 +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"}
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.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.object({\n id: z.string().describe(\"Unique identifier of the payment\").nullable(),\n date: z.string().describe(\"Date of the payment in ISO 8601 format\").nullable(),\n mode: z.string().describe(\"Mode of the payment\").nullable(),\n notes: z.string().describe(\"Optional notes for the payment\").nullable().optional(),\n amount: z.number().describe(\"Amount of the payment\").nullable(),\n reference: z.string().describe(\"Optional payment reference number\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the payment was created\").nullable(),\n invoice_id: z.string().describe(\"ID of the invoice associated with this payment\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the payment was last updated\").nullable(),\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,wBAAwBA,IAAAA,EAAE,OAAO,EAC5C,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,EAChF,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACrE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC7E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC1D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC9D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACnF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC3F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAE5D,MAAa,mBAAmBC,eAAAA,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,23 @@
1
1
  import { z } from "zod";
2
2
 
3
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]>;
4
+ declare const FinmeiGetPaymentInput: z.ZodObject<{
5
+ payment_id: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const FinmeiGetPaymentOutput: z.ZodObject<{
8
+ id: z.ZodNullable<z.ZodString>;
9
+ date: z.ZodNullable<z.ZodString>;
10
+ mode: z.ZodNullable<z.ZodString>;
11
+ notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ amount: z.ZodNullable<z.ZodNumber>;
13
+ reference: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ created_at: z.ZodNullable<z.ZodString>;
15
+ invoice_id: z.ZodNullable<z.ZodString>;
16
+ updated_at: z.ZodNullable<z.ZodString>;
17
+ }, z.core.$strip>;
18
+ declare const finmeiGetPayment: import("@keystrokehq/action").WorkflowActionDefinition<{
19
+ payment_id: string;
20
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
21
  //#endregion
8
22
  export { finmeiGetPayment };
9
23
  //# sourceMappingURL=get-payment.d.cts.map
@@ -1 +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"}
1
+ {"version":3,"file":"get-payment.d.cts","names":[],"sources":["../../src/actions/get-payment.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;cAGrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;cAYtB,gBAAA,gCAAgB,wBAAA"}
@@ -1,9 +1,23 @@
1
1
  import { z } from "zod";
2
2
 
3
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]>;
4
+ declare const FinmeiGetPaymentInput: z.ZodObject<{
5
+ payment_id: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const FinmeiGetPaymentOutput: z.ZodObject<{
8
+ id: z.ZodNullable<z.ZodString>;
9
+ date: z.ZodNullable<z.ZodString>;
10
+ mode: z.ZodNullable<z.ZodString>;
11
+ notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ amount: z.ZodNullable<z.ZodNumber>;
13
+ reference: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ created_at: z.ZodNullable<z.ZodString>;
15
+ invoice_id: z.ZodNullable<z.ZodString>;
16
+ updated_at: z.ZodNullable<z.ZodString>;
17
+ }, z.core.$strip>;
18
+ declare const finmeiGetPayment: import("@keystrokehq/action").WorkflowActionDefinition<{
19
+ payment_id: string;
20
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
21
  //#endregion
8
22
  export { finmeiGetPayment };
9
23
  //# sourceMappingURL=get-payment.d.mts.map
@@ -1 +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"}
1
+ {"version":3,"file":"get-payment.d.mts","names":[],"sources":["../../src/actions/get-payment.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;cAGrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;cAYtB,gBAAA,gCAAgB,wBAAA"}
@@ -6,15 +6,15 @@ const finmeiGetPayment = action("FINMEI_GET_PAYMENT", {
6
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
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
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"),
9
+ id: z.string().describe("Unique identifier of the payment").nullable(),
10
+ date: z.string().describe("Date of the payment in ISO 8601 format").nullable(),
11
+ mode: z.string().describe("Mode of the payment").nullable(),
12
12
  notes: z.string().describe("Optional notes for the payment").nullable().optional(),
13
- amount: z.number().describe("Amount of the payment"),
13
+ amount: z.number().describe("Amount of the payment").nullable(),
14
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")
15
+ created_at: z.string().describe("Timestamp when the payment was created").nullable(),
16
+ invoice_id: z.string().describe("ID of the invoice associated with this payment").nullable(),
17
+ updated_at: z.string().describe("Timestamp when the payment was last updated").nullable()
18
18
  }).describe("Detailed payment object as returned by the API")
19
19
  });
20
20
  //#endregion
@@ -1 +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"}
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.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.object({\n id: z.string().describe(\"Unique identifier of the payment\").nullable(),\n date: z.string().describe(\"Date of the payment in ISO 8601 format\").nullable(),\n mode: z.string().describe(\"Mode of the payment\").nullable(),\n notes: z.string().describe(\"Optional notes for the payment\").nullable().optional(),\n amount: z.number().describe(\"Amount of the payment\").nullable(),\n reference: z.string().describe(\"Optional payment reference number\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the payment was created\").nullable(),\n invoice_id: z.string().describe(\"ID of the invoice associated with this payment\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the payment was last updated\").nullable(),\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,OAnBmC,EAAE,OAAO,EAC5C,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,EAChF,CAAC,CAAC,CAAC,SAAS,+CAiBH;CACP,QAjBoC,EAAE,OAAO;EAC7C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EACrE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EAC7E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;EAC1D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;EAC9D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EACnF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;EAC3F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAC1F,CAAC,CAAC,CAAC,SAAS,gDAOF;AACV,CAAC"}
@@ -3,12 +3,12 @@ let zod = require("zod");
3
3
  //#region src/actions/get-product.ts
4
4
  const FinmeiGetProductInput = zod.z.object({ product_id: zod.z.string().describe("Unique identifier of the product to retrieve") });
5
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"),
6
+ id: zod.z.string().describe("Unique identifier of the product").nullable(),
7
+ name: zod.z.string().describe("Name of the product").nullable(),
8
+ price: zod.z.number().describe("Price of the product").nullable(),
9
+ currency: zod.z.string().describe("Currency code of the product price, e.g., USD").nullable(),
10
+ created_at: zod.z.string().describe("ISO8601 timestamp when the product was created").nullable(),
11
+ updated_at: zod.z.string().describe("ISO8601 timestamp when the product was last updated").nullable(),
12
12
  description: zod.z.string().describe("Description of the product").nullable().optional()
13
13
  });
14
14
  const finmeiGetProduct = require_action.action("FINMEI_GET_PRODUCT", {
@@ -1 +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"}
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.object({\n product_id: z.string().describe(\"Unique identifier of the product to retrieve\"),\n});\nexport const FinmeiGetProductOutput = z.object({\n id: z.string().describe(\"Unique identifier of the product\").nullable(),\n name: z.string().describe(\"Name of the product\").nullable(),\n price: z.number().describe(\"Price of the product\").nullable(),\n currency: z.string().describe(\"Currency code of the product price, e.g., USD\").nullable(),\n created_at: z.string().describe(\"ISO8601 timestamp when the product was created\").nullable(),\n updated_at: z.string().describe(\"ISO8601 timestamp when the product was last updated\").nullable(),\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,wBAAwBA,IAAAA,EAAE,OAAO,EAC5C,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,EAChF,CAAC;AACD,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACrE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC1D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC5D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACxF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC3F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAChG,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"}
@@ -1,9 +1,21 @@
1
1
  import { z } from "zod";
2
2
 
3
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]>;
4
+ declare const FinmeiGetProductInput: z.ZodObject<{
5
+ product_id: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const FinmeiGetProductOutput: z.ZodObject<{
8
+ id: z.ZodNullable<z.ZodString>;
9
+ name: z.ZodNullable<z.ZodString>;
10
+ price: z.ZodNullable<z.ZodNumber>;
11
+ currency: z.ZodNullable<z.ZodString>;
12
+ created_at: z.ZodNullable<z.ZodString>;
13
+ updated_at: z.ZodNullable<z.ZodString>;
14
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ }, z.core.$strip>;
16
+ declare const finmeiGetProduct: import("@keystrokehq/action").WorkflowActionDefinition<{
17
+ product_id: string;
18
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
19
  //#endregion
8
20
  export { finmeiGetProduct };
9
21
  //# sourceMappingURL=get-product.d.cts.map
@@ -1 +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"}
1
+ {"version":3,"file":"get-product.d.cts","names":[],"sources":["../../src/actions/get-product.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;cAGrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;cAUtB,gBAAA,gCAAgB,wBAAA"}
@@ -1,9 +1,21 @@
1
1
  import { z } from "zod";
2
2
 
3
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]>;
4
+ declare const FinmeiGetProductInput: z.ZodObject<{
5
+ product_id: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const FinmeiGetProductOutput: z.ZodObject<{
8
+ id: z.ZodNullable<z.ZodString>;
9
+ name: z.ZodNullable<z.ZodString>;
10
+ price: z.ZodNullable<z.ZodNumber>;
11
+ currency: z.ZodNullable<z.ZodString>;
12
+ created_at: z.ZodNullable<z.ZodString>;
13
+ updated_at: z.ZodNullable<z.ZodString>;
14
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ }, z.core.$strip>;
16
+ declare const finmeiGetProduct: import("@keystrokehq/action").WorkflowActionDefinition<{
17
+ product_id: string;
18
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
19
  //#endregion
8
20
  export { finmeiGetProduct };
9
21
  //# sourceMappingURL=get-product.d.mts.map
@@ -1 +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"}
1
+ {"version":3,"file":"get-product.d.mts","names":[],"sources":["../../src/actions/get-product.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;cAGrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;cAUtB,gBAAA,gCAAgB,wBAAA"}
@@ -6,12 +6,12 @@ const finmeiGetProduct = action("FINMEI_GET_PRODUCT", {
6
6
  description: "Tool to retrieve a product by its ID. Use when you need detailed information about a single product.",
7
7
  input: z.object({ product_id: z.string().describe("Unique identifier of the product to retrieve") }),
8
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"),
9
+ id: z.string().describe("Unique identifier of the product").nullable(),
10
+ name: z.string().describe("Name of the product").nullable(),
11
+ price: z.number().describe("Price of the product").nullable(),
12
+ currency: z.string().describe("Currency code of the product price, e.g., USD").nullable(),
13
+ created_at: z.string().describe("ISO8601 timestamp when the product was created").nullable(),
14
+ updated_at: z.string().describe("ISO8601 timestamp when the product was last updated").nullable(),
15
15
  description: z.string().describe("Description of the product").nullable().optional()
16
16
  })
17
17
  });
@@ -1 +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"}
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.object({\n product_id: z.string().describe(\"Unique identifier of the product to retrieve\"),\n});\nexport const FinmeiGetProductOutput = z.object({\n id: z.string().describe(\"Unique identifier of the product\").nullable(),\n name: z.string().describe(\"Name of the product\").nullable(),\n price: z.number().describe(\"Price of the product\").nullable(),\n currency: z.string().describe(\"Currency code of the product price, e.g., USD\").nullable(),\n created_at: z.string().describe(\"ISO8601 timestamp when the product was created\").nullable(),\n updated_at: z.string().describe(\"ISO8601 timestamp when the product was last updated\").nullable(),\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,OAjBmC,EAAE,OAAO,EAC5C,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,EAChF,CAeS;CACP,QAfoC,EAAE,OAAO;EAC7C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EACrE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;EAC1D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;EAC5D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EACxF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;EAC3F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;EAChG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,CAOU;AACV,CAAC"}
@@ -1 +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"}
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.object({}).describe(\"Request schema for retrieving business profile information. No parameters required.\");\nconst FinmeiGetProfile_ProfileDataSchema = 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.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,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,qFAAqF;AAChJ,MAAM,qCAAqCA,IAAAA,EAAE,OAAO;CAClD,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,yBAAyBA,IAAAA,EAAE,OAAO,EAC7C,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"}
@@ -1,9 +1,19 @@
1
1
  import { z } from "zod";
2
2
 
3
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]>;
4
+ declare const FinmeiGetProfileInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const FinmeiGetProfileOutput: z.ZodObject<{
6
+ data: z.ZodNullable<z.ZodObject<{
7
+ address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8
+ vat_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
+ business_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
+ company_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ company_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ business_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ business_title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ }, z.core.$strip>>;
15
+ }, z.core.$strip>;
16
+ declare const finmeiGetProfile: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
17
  //#endregion
8
18
  export { finmeiGetProfile };
9
19
  //# sourceMappingURL=get-profile.d.cts.map
@@ -1 +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"}
1
+ {"version":3,"file":"get-profile.d.cts","names":[],"sources":["../../src/actions/get-profile.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAUrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;cAItB,gBAAA,gCAAgB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -1,9 +1,19 @@
1
1
  import { z } from "zod";
2
2
 
3
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]>;
4
+ declare const FinmeiGetProfileInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const FinmeiGetProfileOutput: z.ZodObject<{
6
+ data: z.ZodNullable<z.ZodObject<{
7
+ address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8
+ vat_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
+ business_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
+ company_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ company_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ business_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ business_title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ }, z.core.$strip>>;
15
+ }, z.core.$strip>;
16
+ declare const finmeiGetProfile: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
17
  //#endregion
8
18
  export { finmeiGetProfile };
9
19
  //# sourceMappingURL=get-profile.d.mts.map
@@ -1 +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"}
1
+ {"version":3,"file":"get-profile.d.mts","names":[],"sources":["../../src/actions/get-profile.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAUrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;cAItB,gBAAA,gCAAgB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -1 +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"}
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.object({}).describe(\"Request schema for retrieving business profile information. No parameters required.\");\nconst FinmeiGetProfile_ProfileDataSchema = 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.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,wBAAwB,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,qFAAqF;AAChJ,MAAM,qCAAqC,EAAE,OAAO;CAClD,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,QAToC,EAAE,OAAO,EAC7C,MAAM,mCAAmC,SAAS,EACpD,CAAC,CAAC,CAAC,SAAS,mDAOF;AACV,CAAC"}
@@ -3,8 +3,8 @@ let zod = require("zod");
3
3
  //#region src/actions/list-currencies.ts
4
4
  const FinmeiListCurrenciesInput = zod.z.object({}).describe("Request schema for listing all supported currencies. No parameters required.");
5
5
  const FinmeiListCurrencies_CurrencySchema = zod.z.object({
6
- code: zod.z.string().describe("ISO 4217 currency code, e.g., USD"),
7
- name: zod.z.string().describe("Full currency name, e.g., United States Dollar"),
6
+ code: zod.z.string().describe("ISO 4217 currency code, e.g., USD").nullable(),
7
+ name: zod.z.string().describe("Full currency name, e.g., United States Dollar").nullable(),
8
8
  symbol: zod.z.string().describe("Currency symbol, e.g., $").nullable().optional()
9
9
  }).describe("Currency details as returned by the API");
10
10
  const FinmeiListCurrenciesOutput = zod.z.object({ currencies: zod.z.array(FinmeiListCurrencies_CurrencySchema).describe("List of supported currency objects") }).describe("Response schema containing a list of supported currencies.");
@@ -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 FinmeiListCurrenciesInput: z.ZodTypeAny = z.object({}).describe(\"Request schema for listing all supported currencies. No parameters required.\");\nconst FinmeiListCurrencies_CurrencySchema: z.ZodTypeAny = z.object({\n code: z.string().describe(\"ISO 4217 currency code, e.g., USD\"),\n name: z.string().describe(\"Full currency name, e.g., United States Dollar\"),\n symbol: z.string().describe(\"Currency symbol, e.g., $\").nullable().optional(),\n}).describe(\"Currency details as returned by the API\");\nexport const FinmeiListCurrenciesOutput: z.ZodTypeAny = z.object({\n currencies: z.array(FinmeiListCurrencies_CurrencySchema).describe(\"List of supported currency objects\"),\n}).describe(\"Response schema containing a list of supported currencies.\");\n\nexport const finmeiListCurrencies = action(\"FINMEI_LIST_CURRENCIES\", {\n slug: \"finmei-list-currencies\",\n name: \"List Currencies\",\n description: \"Tool to list all currencies supported by Finmei. Use when you need to retrieve available currency codes before creating transactions.\",\n input: FinmeiListCurrenciesInput,\n output: FinmeiListCurrenciesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0CA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8EAA8E;AAC3J,MAAM,sCAAoDA,IAAAA,EAAE,OAAO;CACjE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;CAC1E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9E,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAa,6BAA2CA,IAAAA,EAAE,OAAO,EAC/D,YAAYA,IAAAA,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,oCAAoC,EACxG,CAAC,CAAC,CAAC,SAAS,4DAA4D;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 { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FinmeiListCurrenciesInput = z.object({}).describe(\"Request schema for listing all supported currencies. No parameters required.\");\nconst FinmeiListCurrencies_CurrencySchema = z.object({\n code: z.string().describe(\"ISO 4217 currency code, e.g., USD\").nullable(),\n name: z.string().describe(\"Full currency name, e.g., United States Dollar\").nullable(),\n symbol: z.string().describe(\"Currency symbol, e.g., $\").nullable().optional(),\n}).describe(\"Currency details as returned by the API\");\nexport const FinmeiListCurrenciesOutput = z.object({\n currencies: z.array(FinmeiListCurrencies_CurrencySchema).describe(\"List of supported currency objects\"),\n}).describe(\"Response schema containing a list of supported currencies.\");\n\nexport const finmeiListCurrencies = action(\"FINMEI_LIST_CURRENCIES\", {\n slug: \"finmei-list-currencies\",\n name: \"List Currencies\",\n description: \"Tool to list all currencies supported by Finmei. Use when you need to retrieve available currency codes before creating transactions.\",\n input: FinmeiListCurrenciesInput,\n output: FinmeiListCurrenciesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8EAA8E;AAC7I,MAAM,sCAAsCA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACxE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACrF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9E,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,YAAYA,IAAAA,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,oCAAoC,EACxG,CAAC,CAAC,CAAC,SAAS,4DAA4D;AAExE,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}