@keystrokehq/finmei 0.1.4 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/create-expense.cjs +1 -0
- package/dist/actions/create-expense.cjs.map +1 -1
- package/dist/actions/create-expense.d.cts +3 -11
- package/dist/actions/create-expense.d.cts.map +1 -1
- package/dist/actions/create-expense.d.mts +3 -11
- package/dist/actions/create-expense.d.mts.map +1 -1
- package/dist/actions/create-expense.mjs +1 -0
- package/dist/actions/create-expense.mjs.map +1 -1
- package/dist/actions/create-invoice.cjs +1 -0
- package/dist/actions/create-invoice.cjs.map +1 -1
- package/dist/actions/create-invoice.d.cts +3 -45
- package/dist/actions/create-invoice.d.cts.map +1 -1
- package/dist/actions/create-invoice.d.mts +3 -45
- package/dist/actions/create-invoice.d.mts.map +1 -1
- package/dist/actions/create-invoice.mjs +1 -0
- package/dist/actions/create-invoice.mjs.map +1 -1
- package/dist/actions/delete-customer.cjs +1 -0
- package/dist/actions/delete-customer.cjs.map +1 -1
- package/dist/actions/delete-customer.d.cts +3 -3
- package/dist/actions/delete-customer.d.cts.map +1 -1
- package/dist/actions/delete-customer.d.mts +3 -3
- package/dist/actions/delete-customer.d.mts.map +1 -1
- package/dist/actions/delete-customer.mjs +1 -0
- package/dist/actions/delete-customer.mjs.map +1 -1
- package/dist/actions/delete-invoice.cjs +1 -0
- package/dist/actions/delete-invoice.cjs.map +1 -1
- package/dist/actions/delete-invoice.d.cts +3 -3
- package/dist/actions/delete-invoice.d.cts.map +1 -1
- package/dist/actions/delete-invoice.d.mts +3 -3
- package/dist/actions/delete-invoice.d.mts.map +1 -1
- package/dist/actions/delete-invoice.mjs +1 -0
- package/dist/actions/delete-invoice.mjs.map +1 -1
- package/dist/actions/delete-payment.cjs +1 -0
- package/dist/actions/delete-payment.cjs.map +1 -1
- package/dist/actions/delete-payment.d.cts +3 -3
- package/dist/actions/delete-payment.d.cts.map +1 -1
- package/dist/actions/delete-payment.d.mts +3 -3
- package/dist/actions/delete-payment.d.mts.map +1 -1
- package/dist/actions/delete-payment.mjs +1 -0
- package/dist/actions/delete-payment.mjs.map +1 -1
- package/dist/actions/delete-product.cjs +1 -0
- package/dist/actions/delete-product.cjs.map +1 -1
- package/dist/actions/delete-product.d.cts +3 -3
- package/dist/actions/delete-product.d.cts.map +1 -1
- package/dist/actions/delete-product.d.mts +3 -3
- package/dist/actions/delete-product.d.mts.map +1 -1
- package/dist/actions/delete-product.mjs +1 -0
- package/dist/actions/delete-product.mjs.map +1 -1
- package/dist/actions/download-expense-file.cjs +1 -0
- package/dist/actions/download-expense-file.cjs.map +1 -1
- package/dist/actions/download-expense-file.d.cts +3 -3
- package/dist/actions/download-expense-file.d.cts.map +1 -1
- package/dist/actions/download-expense-file.d.mts +3 -3
- package/dist/actions/download-expense-file.d.mts.map +1 -1
- package/dist/actions/download-expense-file.mjs +1 -0
- package/dist/actions/download-expense-file.mjs.map +1 -1
- package/dist/actions/download-invoice-pdf.cjs +1 -0
- package/dist/actions/download-invoice-pdf.cjs.map +1 -1
- package/dist/actions/download-invoice-pdf.d.cts +3 -3
- package/dist/actions/download-invoice-pdf.d.cts.map +1 -1
- package/dist/actions/download-invoice-pdf.d.mts +3 -3
- package/dist/actions/download-invoice-pdf.d.mts.map +1 -1
- package/dist/actions/download-invoice-pdf.mjs +1 -0
- package/dist/actions/download-invoice-pdf.mjs.map +1 -1
- package/dist/actions/get-expense.cjs +1 -0
- package/dist/actions/get-expense.cjs.map +1 -1
- package/dist/actions/get-expense.d.cts +3 -3
- package/dist/actions/get-expense.d.cts.map +1 -1
- package/dist/actions/get-expense.d.mts +3 -3
- package/dist/actions/get-expense.d.mts.map +1 -1
- package/dist/actions/get-expense.mjs +1 -0
- package/dist/actions/get-expense.mjs.map +1 -1
- package/dist/actions/get-invoice.cjs +1 -0
- package/dist/actions/get-invoice.cjs.map +1 -1
- package/dist/actions/get-invoice.d.cts +3 -3
- package/dist/actions/get-invoice.d.cts.map +1 -1
- package/dist/actions/get-invoice.d.mts +3 -3
- package/dist/actions/get-invoice.d.mts.map +1 -1
- package/dist/actions/get-invoice.mjs +1 -0
- package/dist/actions/get-invoice.mjs.map +1 -1
- package/dist/actions/get-payment.cjs +1 -0
- package/dist/actions/get-payment.cjs.map +1 -1
- package/dist/actions/get-payment.d.cts +3 -3
- package/dist/actions/get-payment.d.cts.map +1 -1
- package/dist/actions/get-payment.d.mts +3 -3
- package/dist/actions/get-payment.d.mts.map +1 -1
- package/dist/actions/get-payment.mjs +1 -0
- package/dist/actions/get-payment.mjs.map +1 -1
- package/dist/actions/get-product.cjs +1 -0
- package/dist/actions/get-product.cjs.map +1 -1
- package/dist/actions/get-product.d.cts +3 -3
- package/dist/actions/get-product.d.cts.map +1 -1
- package/dist/actions/get-product.d.mts +3 -3
- package/dist/actions/get-product.d.mts.map +1 -1
- package/dist/actions/get-product.mjs +1 -0
- package/dist/actions/get-product.mjs.map +1 -1
- package/dist/actions/get-profile.cjs +1 -0
- package/dist/actions/get-profile.cjs.map +1 -1
- package/dist/actions/get-profile.d.cts +3 -1
- package/dist/actions/get-profile.d.cts.map +1 -1
- package/dist/actions/get-profile.d.mts +3 -1
- package/dist/actions/get-profile.d.mts.map +1 -1
- package/dist/actions/get-profile.mjs +1 -0
- package/dist/actions/get-profile.mjs.map +1 -1
- package/dist/actions/list-currencies.cjs +1 -0
- package/dist/actions/list-currencies.cjs.map +1 -1
- package/dist/actions/list-currencies.d.cts +3 -1
- package/dist/actions/list-currencies.d.cts.map +1 -1
- package/dist/actions/list-currencies.d.mts +3 -1
- package/dist/actions/list-currencies.d.mts.map +1 -1
- package/dist/actions/list-currencies.mjs +1 -0
- package/dist/actions/list-currencies.mjs.map +1 -1
- package/dist/actions/list-customers.cjs +1 -0
- package/dist/actions/list-customers.cjs.map +1 -1
- package/dist/actions/list-customers.d.cts +3 -6
- package/dist/actions/list-customers.d.cts.map +1 -1
- package/dist/actions/list-customers.d.mts +3 -6
- package/dist/actions/list-customers.d.mts.map +1 -1
- package/dist/actions/list-customers.mjs +1 -0
- package/dist/actions/list-customers.mjs.map +1 -1
- package/dist/actions/list-expenses.cjs +1 -0
- package/dist/actions/list-expenses.cjs.map +1 -1
- package/dist/actions/list-expenses.d.cts +3 -4
- package/dist/actions/list-expenses.d.cts.map +1 -1
- package/dist/actions/list-expenses.d.mts +3 -4
- package/dist/actions/list-expenses.d.mts.map +1 -1
- package/dist/actions/list-expenses.mjs +1 -0
- package/dist/actions/list-expenses.mjs.map +1 -1
- package/dist/actions/list-invoices.cjs +1 -0
- package/dist/actions/list-invoices.cjs.map +1 -1
- package/dist/actions/list-invoices.d.cts +3 -4
- package/dist/actions/list-invoices.d.cts.map +1 -1
- package/dist/actions/list-invoices.d.mts +3 -4
- package/dist/actions/list-invoices.d.mts.map +1 -1
- package/dist/actions/list-invoices.mjs +1 -0
- package/dist/actions/list-invoices.mjs.map +1 -1
- package/dist/actions/list-payments.cjs +1 -0
- package/dist/actions/list-payments.cjs.map +1 -1
- package/dist/actions/list-payments.d.cts +3 -7
- package/dist/actions/list-payments.d.cts.map +1 -1
- package/dist/actions/list-payments.d.mts +3 -7
- package/dist/actions/list-payments.d.mts.map +1 -1
- package/dist/actions/list-payments.mjs +1 -0
- package/dist/actions/list-payments.mjs.map +1 -1
- package/dist/actions/list-products.cjs +1 -0
- package/dist/actions/list-products.cjs.map +1 -1
- package/dist/actions/list-products.d.cts +3 -6
- package/dist/actions/list-products.d.cts.map +1 -1
- package/dist/actions/list-products.d.mts +3 -6
- package/dist/actions/list-products.d.mts.map +1 -1
- package/dist/actions/list-products.mjs +1 -0
- package/dist/actions/list-products.mjs.map +1 -1
- package/dist/actions/update-customer.cjs +1 -0
- package/dist/actions/update-customer.cjs.map +1 -1
- package/dist/actions/update-customer.d.cts +3 -14
- package/dist/actions/update-customer.d.cts.map +1 -1
- package/dist/actions/update-customer.d.mts +3 -14
- package/dist/actions/update-customer.d.mts.map +1 -1
- package/dist/actions/update-customer.mjs +1 -0
- package/dist/actions/update-customer.mjs.map +1 -1
- package/dist/actions/update-expense-file.cjs +1 -0
- package/dist/actions/update-expense-file.cjs.map +1 -1
- package/dist/actions/update-expense-file.d.cts +3 -8
- package/dist/actions/update-expense-file.d.cts.map +1 -1
- package/dist/actions/update-expense-file.d.mts +3 -8
- package/dist/actions/update-expense-file.d.mts.map +1 -1
- package/dist/actions/update-expense-file.mjs +1 -0
- package/dist/actions/update-expense-file.mjs.map +1 -1
- package/dist/actions/update-expense.cjs +1 -0
- package/dist/actions/update-expense.cjs.map +1 -1
- package/dist/actions/update-expense.d.cts +3 -7
- package/dist/actions/update-expense.d.cts.map +1 -1
- package/dist/actions/update-expense.d.mts +3 -7
- package/dist/actions/update-expense.d.mts.map +1 -1
- package/dist/actions/update-expense.mjs +1 -0
- package/dist/actions/update-expense.mjs.map +1 -1
- package/dist/actions/update-invoice.cjs +1 -0
- package/dist/actions/update-invoice.cjs.map +1 -1
- package/dist/actions/update-invoice.d.cts +3 -41
- package/dist/actions/update-invoice.d.cts.map +1 -1
- package/dist/actions/update-invoice.d.mts +3 -41
- package/dist/actions/update-invoice.d.mts.map +1 -1
- package/dist/actions/update-invoice.mjs +1 -0
- package/dist/actions/update-invoice.mjs.map +1 -1
- package/dist/actions/update-product.cjs +1 -0
- package/dist/actions/update-product.cjs.map +1 -1
- package/dist/actions/update-product.d.cts +3 -7
- package/dist/actions/update-product.d.cts.map +1 -1
- package/dist/actions/update-product.d.mts +3 -7
- package/dist/actions/update-product.d.mts.map +1 -1
- package/dist/actions/update-product.mjs +1 -0
- package/dist/actions/update-product.mjs.map +1 -1
- package/dist/app.cjs +5 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +7 -1
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +7 -1
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +3 -2
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-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}).passthrough().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}).passthrough().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}).passthrough().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.record(z.string(), z.unknown())).describe(\"Available payment options\").nullable().optional(),\n}).passthrough().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":"
|
|
1
|
+
{"version":3,"file":"get-invoice.mjs","names":[],"sources":["../../src/actions/get-invoice.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { finmei } from \"../app\";\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}).passthrough().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}).passthrough().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}).passthrough().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.record(z.string(), z.unknown())).describe(\"Available payment options\").nullable().optional(),\n}).passthrough().describe(\"Complete invoice details returned by the API.\");\n\nexport const finmeiGetInvoice: AppAction<\n typeof FinmeiGetInvoiceInput,\n typeof FinmeiGetInvoiceOutput,\n typeof finmei.credential\n> = 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":";;;;AAMA,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,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,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF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-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}).passthrough().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":"
|
|
1
|
+
{"version":3,"file":"get-payment.cjs","names":["z","action"],"sources":["../../src/actions/get-payment.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { finmei } from \"../app\";\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}).passthrough().describe(\"Detailed payment object as returned by the API\");\n\nexport const finmeiGetPayment: AppAction<\n typeof FinmeiGetPaymentInput,\n typeof FinmeiGetPaymentOutput,\n typeof finmei.credential\n> = 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":";;;;AAMA,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,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAE1E,MAAa,mBAITC,eAAAA,OAAO,sBAAsB;CAC/B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { finmei } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-payment.d.ts
|
|
@@ -15,9 +17,7 @@ declare const FinmeiGetPaymentOutput: z.ZodObject<{
|
|
|
15
17
|
invoice_id: z.ZodNullable<z.ZodString>;
|
|
16
18
|
updated_at: z.ZodNullable<z.ZodString>;
|
|
17
19
|
}, z.core.$loose>;
|
|
18
|
-
declare const finmeiGetPayment:
|
|
19
|
-
payment_id: string;
|
|
20
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
20
|
+
declare const finmeiGetPayment: AppAction<typeof FinmeiGetPaymentInput, typeof FinmeiGetPaymentOutput, typeof finmei.credential>;
|
|
21
21
|
//#endregion
|
|
22
22
|
export { finmeiGetPayment };
|
|
23
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":"
|
|
1
|
+
{"version":3,"file":"get-payment.d.cts","names":[],"sources":["../../src/actions/get-payment.ts"],"mappings":";;;;;cAMa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;cAGrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;cAYtB,gBAAA,EAAkB,SAAA,QACtB,qBAAA,SACA,sBAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { finmei } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-payment.d.ts
|
|
@@ -15,9 +17,7 @@ declare const FinmeiGetPaymentOutput: z.ZodObject<{
|
|
|
15
17
|
invoice_id: z.ZodNullable<z.ZodString>;
|
|
16
18
|
updated_at: z.ZodNullable<z.ZodString>;
|
|
17
19
|
}, z.core.$loose>;
|
|
18
|
-
declare const finmeiGetPayment:
|
|
19
|
-
payment_id: string;
|
|
20
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
20
|
+
declare const finmeiGetPayment: AppAction<typeof FinmeiGetPaymentInput, typeof FinmeiGetPaymentOutput, typeof finmei.credential>;
|
|
21
21
|
//#endregion
|
|
22
22
|
export { finmeiGetPayment };
|
|
23
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":"
|
|
1
|
+
{"version":3,"file":"get-payment.d.mts","names":[],"sources":["../../src/actions/get-payment.ts"],"mappings":";;;;;cAMa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;cAGrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;cAYtB,gBAAA,EAAkB,SAAA,QACtB,qBAAA,SACA,sBAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -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.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}).passthrough().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":"
|
|
1
|
+
{"version":3,"file":"get-payment.mjs","names":[],"sources":["../../src/actions/get-payment.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { finmei } from \"../app\";\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}).passthrough().describe(\"Detailed payment object as returned by the API\");\n\nexport const finmeiGetPayment: AppAction<\n typeof FinmeiGetPaymentInput,\n typeof FinmeiGetPaymentOutput,\n typeof finmei.credential\n> = 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":";;;AAqBA,MAAa,mBAIT,OAAO,sBAAsB;CAC/B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAvBmC,EAAE,OAAO,EAC5C,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,EAChF,CAAC,CAAC,CAAC,SAAS,+CAqBH;CACP,QArBoC,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,YAAY,CAAC,CAAC,SAAS,gDAWhB;AACV,CAAC"}
|
|
@@ -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.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}).passthrough();\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":"
|
|
1
|
+
{"version":3,"file":"get-product.cjs","names":["z","action"],"sources":["../../src/actions/get-product.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { finmei } from \"../app\";\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}).passthrough();\n\nexport const finmeiGetProduct: AppAction<\n typeof FinmeiGetProductInput,\n typeof FinmeiGetProductOutput,\n typeof finmei.credential\n> = 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":";;;;AAMA,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,CAAC,CAAC,YAAY;AAEf,MAAa,mBAITC,eAAAA,OAAO,sBAAsB;CAC/B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { finmei } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-product.d.ts
|
|
@@ -13,9 +15,7 @@ declare const FinmeiGetProductOutput: z.ZodObject<{
|
|
|
13
15
|
updated_at: z.ZodNullable<z.ZodString>;
|
|
14
16
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
17
|
}, z.core.$loose>;
|
|
16
|
-
declare const finmeiGetProduct:
|
|
17
|
-
product_id: string;
|
|
18
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
18
|
+
declare const finmeiGetProduct: AppAction<typeof FinmeiGetProductInput, typeof FinmeiGetProductOutput, typeof finmei.credential>;
|
|
19
19
|
//#endregion
|
|
20
20
|
export { finmeiGetProduct };
|
|
21
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":"
|
|
1
|
+
{"version":3,"file":"get-product.d.cts","names":[],"sources":["../../src/actions/get-product.ts"],"mappings":";;;;;cAMa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;cAGrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;cAUtB,gBAAA,EAAkB,SAAA,QACtB,qBAAA,SACA,sBAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { finmei } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-product.d.ts
|
|
@@ -13,9 +15,7 @@ declare const FinmeiGetProductOutput: z.ZodObject<{
|
|
|
13
15
|
updated_at: z.ZodNullable<z.ZodString>;
|
|
14
16
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
17
|
}, z.core.$loose>;
|
|
16
|
-
declare const finmeiGetProduct:
|
|
17
|
-
product_id: string;
|
|
18
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
18
|
+
declare const finmeiGetProduct: AppAction<typeof FinmeiGetProductInput, typeof FinmeiGetProductOutput, typeof finmei.credential>;
|
|
19
19
|
//#endregion
|
|
20
20
|
export { finmeiGetProduct };
|
|
21
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":"
|
|
1
|
+
{"version":3,"file":"get-product.d.mts","names":[],"sources":["../../src/actions/get-product.ts"],"mappings":";;;;;cAMa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;cAGrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;cAUtB,gBAAA,EAAkB,SAAA,QACtB,qBAAA,SACA,sBAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -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.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}).passthrough();\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":"
|
|
1
|
+
{"version":3,"file":"get-product.mjs","names":[],"sources":["../../src/actions/get-product.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { finmei } from \"../app\";\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}).passthrough();\n\nexport const finmeiGetProduct: AppAction<\n typeof FinmeiGetProductInput,\n typeof FinmeiGetProductOutput,\n typeof finmei.credential\n> = 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":";;;AAmBA,MAAa,mBAIT,OAAO,sBAAsB;CAC/B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OArBmC,EAAE,OAAO,EAC5C,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,EAChF,CAmBS;CACP,QAnBoC,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,CAAC,CAAC,CAAC,YAWO;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.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}).passthrough().describe(\"Business profile information\");\nexport const FinmeiGetProfileOutput = z.object({\n data: FinmeiGetProfile_ProfileDataSchema.nullable(),\n}).passthrough().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":"
|
|
1
|
+
{"version":3,"file":"get-profile.cjs","names":["z","action"],"sources":["../../src/actions/get-profile.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { finmei } from \"../app\";\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}).passthrough().describe(\"Business profile information\");\nexport const FinmeiGetProfileOutput = z.object({\n data: FinmeiGetProfile_ProfileDataSchema.nullable(),\n}).passthrough().describe(\"Response schema containing business profile data.\");\n\nexport const finmeiGetProfile: AppAction<\n typeof FinmeiGetProfileInput,\n typeof FinmeiGetProfileOutput,\n typeof finmei.credential\n> = 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":";;;;AAMA,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,YAAY,CAAC,CAAC,SAAS,8BAA8B;AACxD,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,EAC7C,MAAM,mCAAmC,SAAS,EACpD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAE7E,MAAa,mBAITC,eAAAA,OAAO,sBAAsB;CAC/B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { finmei } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-profile.d.ts
|
|
@@ -13,7 +15,7 @@ declare const FinmeiGetProfileOutput: z.ZodObject<{
|
|
|
13
15
|
business_title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
16
|
}, z.core.$loose>>;
|
|
15
17
|
}, z.core.$loose>;
|
|
16
|
-
declare const finmeiGetProfile:
|
|
18
|
+
declare const finmeiGetProfile: AppAction<typeof FinmeiGetProfileInput, typeof FinmeiGetProfileOutput, typeof finmei.credential>;
|
|
17
19
|
//#endregion
|
|
18
20
|
export { finmeiGetProfile };
|
|
19
21
|
//# sourceMappingURL=get-profile.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-profile.d.cts","names":[],"sources":["../../src/actions/get-profile.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-profile.d.cts","names":[],"sources":["../../src/actions/get-profile.ts"],"mappings":";;;;;cAMa,qBAAA,EAAqB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAUrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;cAItB,gBAAA,EAAkB,SAAA,QACtB,qBAAA,SACA,sBAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { finmei } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-profile.d.ts
|
|
@@ -13,7 +15,7 @@ declare const FinmeiGetProfileOutput: z.ZodObject<{
|
|
|
13
15
|
business_title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
16
|
}, z.core.$loose>>;
|
|
15
17
|
}, z.core.$loose>;
|
|
16
|
-
declare const finmeiGetProfile:
|
|
18
|
+
declare const finmeiGetProfile: AppAction<typeof FinmeiGetProfileInput, typeof FinmeiGetProfileOutput, typeof finmei.credential>;
|
|
17
19
|
//#endregion
|
|
18
20
|
export { finmeiGetProfile };
|
|
19
21
|
//# sourceMappingURL=get-profile.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-profile.d.mts","names":[],"sources":["../../src/actions/get-profile.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-profile.d.mts","names":[],"sources":["../../src/actions/get-profile.ts"],"mappings":";;;;;cAMa,qBAAA,EAAqB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAUrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;cAItB,gBAAA,EAAkB,SAAA,QACtB,qBAAA,SACA,sBAAA,SACA,MAAA,CAAO,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.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}).passthrough().describe(\"Business profile information\");\nexport const FinmeiGetProfileOutput = z.object({\n data: FinmeiGetProfile_ProfileDataSchema.nullable(),\n}).passthrough().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":"
|
|
1
|
+
{"version":3,"file":"get-profile.mjs","names":[],"sources":["../../src/actions/get-profile.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { finmei } from \"../app\";\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}).passthrough().describe(\"Business profile information\");\nexport const FinmeiGetProfileOutput = z.object({\n data: FinmeiGetProfile_ProfileDataSchema.nullable(),\n}).passthrough().describe(\"Response schema containing business profile data.\");\n\nexport const finmeiGetProfile: AppAction<\n typeof FinmeiGetProfileInput,\n typeof FinmeiGetProfileOutput,\n typeof finmei.credential\n> = 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":";;;;AAMA,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,YAAY,CAAC,CAAC,SAAS,8BAA8B;AAKxD,MAAa,mBAIT,OAAO,sBAAsB;CAC/B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAboC,EAAE,OAAO,EAC7C,MAAM,mCAAmC,SAAS,EACpD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAWhB;AACV,CAAC"}
|
|
@@ -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.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}).passthrough().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}).passthrough().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":"
|
|
1
|
+
{"version":3,"file":"list-currencies.cjs","names":["z","action"],"sources":["../../src/actions/list-currencies.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { finmei } from \"../app\";\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}).passthrough().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}).passthrough().describe(\"Response schema containing a list of supported currencies.\");\n\nexport const finmeiListCurrencies: AppAction<\n typeof FinmeiListCurrenciesInput,\n typeof FinmeiListCurrenciesOutput,\n typeof finmei.credential\n> = 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":";;;;AAMA,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,YAAY,CAAC,CAAC,SAAS,yCAAyC;AACnE,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,YAAYA,IAAAA,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,oCAAoC,EACxG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAA4D;AAEtF,MAAa,uBAITC,eAAAA,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { finmei } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-currencies.d.ts
|
|
@@ -9,7 +11,7 @@ declare const FinmeiListCurrenciesOutput: z.ZodObject<{
|
|
|
9
11
|
symbol: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
12
|
}, z.core.$loose>>;
|
|
11
13
|
}, z.core.$loose>;
|
|
12
|
-
declare const finmeiListCurrencies:
|
|
14
|
+
declare const finmeiListCurrencies: AppAction<typeof FinmeiListCurrenciesInput, typeof FinmeiListCurrenciesOutput, typeof finmei.credential>;
|
|
13
15
|
//#endregion
|
|
14
16
|
export { finmeiListCurrencies };
|
|
15
17
|
//# sourceMappingURL=list-currencies.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-currencies.d.cts","names":[],"sources":["../../src/actions/list-currencies.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-currencies.d.cts","names":[],"sources":["../../src/actions/list-currencies.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAMzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;cAI1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { finmei } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-currencies.d.ts
|
|
@@ -9,7 +11,7 @@ declare const FinmeiListCurrenciesOutput: z.ZodObject<{
|
|
|
9
11
|
symbol: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
12
|
}, z.core.$loose>>;
|
|
11
13
|
}, z.core.$loose>;
|
|
12
|
-
declare const finmeiListCurrencies:
|
|
14
|
+
declare const finmeiListCurrencies: AppAction<typeof FinmeiListCurrenciesInput, typeof FinmeiListCurrenciesOutput, typeof finmei.credential>;
|
|
13
15
|
//#endregion
|
|
14
16
|
export { finmeiListCurrencies };
|
|
15
17
|
//# sourceMappingURL=list-currencies.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-currencies.d.mts","names":[],"sources":["../../src/actions/list-currencies.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-currencies.d.mts","names":[],"sources":["../../src/actions/list-currencies.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAMzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;cAI1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-currencies.mjs","names":[],"sources":["../../src/actions/list-currencies.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const 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}).passthrough().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}).passthrough().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":"
|
|
1
|
+
{"version":3,"file":"list-currencies.mjs","names":[],"sources":["../../src/actions/list-currencies.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { finmei } from \"../app\";\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}).passthrough().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}).passthrough().describe(\"Response schema containing a list of supported currencies.\");\n\nexport const finmeiListCurrencies: AppAction<\n typeof FinmeiListCurrenciesInput,\n typeof FinmeiListCurrenciesOutput,\n typeof finmei.credential\n> = 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":";;;;AAMA,MAAa,4BAA4B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8EAA8E;AAC7I,MAAM,sCAAsC,EAAE,OAAO;CACnD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACxE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACrF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AAKnE,MAAa,uBAIT,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbwC,EAAE,OAAO,EACjD,YAAY,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,oCAAoC,EACxG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-customers.cjs","names":["z","action"],"sources":["../../src/actions/list-customers.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FinmeiListCustomersInput = z.object({\n page: z.number().int().default(1).describe(\"Page number to retrieve (must be >= 1)\").optional(),\n sort: z.string().describe(\"Sort order, e.g., 'name_asc' or 'created_at_desc'\").optional(),\n search: z.string().describe(\"Search term to filter customers by name or email\").optional(),\n per_page: z.number().int().default(20).describe(\"Number of customers per page (1-100)\").optional(),\n}).describe(\"Parameters for retrieving a paginated list of customers with optional filtering and sorting.\");\nconst FinmeiListCustomers_AddressSchema = z.object({\n city: z.string().describe(\"City of the customer\").nullable().optional(),\n street: z.string().describe(\"Street address of the customer\").nullable().optional(),\n country: z.string().describe(\"Country code of the customer\").nullable().optional(),\n postal_code: z.string().describe(\"Postal code of the customer\").nullable().optional(),\n}).passthrough().describe(\"Physical address details of a customer\");\nconst FinmeiListCustomers_CustomerSchema = z.object({\n id: z.string().describe(\"Unique identifier of the customer\").nullable(),\n name: z.string().describe(\"Name of the customer\").nullable().optional(),\n email: z.string().describe(\"Email address of the customer\").nullable().optional(),\n address: FinmeiListCustomers_AddressSchema.nullable().optional(),\n}).passthrough().describe(\"Customer details\");\nexport const FinmeiListCustomersOutput = z.object({\n page: z.number().int().describe(\"Current page number\").nullable(),\n total: z.number().int().describe(\"Total number of customers matching the filter\").nullable(),\n per_page: z.number().int().describe(\"Number of customers returned per page\").nullable(),\n customers: z.array(FinmeiListCustomers_CustomerSchema).describe(\"List of customer records matching the query\").nullable().optional(),\n total_pages: z.number().int().describe(\"Total number of pages available\").nullable(),\n}).passthrough().describe(\"Paginated list of customers along with paging metadata.\");\n\nexport const finmeiListCustomers = action(\"FINMEI_LIST_CUSTOMERS\", {\n slug: \"finmei-list-customers\",\n name: \"List Customers\",\n description: \"Tool to list all customers with optional filters and pagination. Use when needing to browse or search customer records.\",\n input: FinmeiListCustomersInput,\n output: FinmeiListCustomersOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-customers.cjs","names":["z","action"],"sources":["../../src/actions/list-customers.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { finmei } from \"../app\";\n\nexport const FinmeiListCustomersInput = z.object({\n page: z.number().int().default(1).describe(\"Page number to retrieve (must be >= 1)\").optional(),\n sort: z.string().describe(\"Sort order, e.g., 'name_asc' or 'created_at_desc'\").optional(),\n search: z.string().describe(\"Search term to filter customers by name or email\").optional(),\n per_page: z.number().int().default(20).describe(\"Number of customers per page (1-100)\").optional(),\n}).describe(\"Parameters for retrieving a paginated list of customers with optional filtering and sorting.\");\nconst FinmeiListCustomers_AddressSchema = z.object({\n city: z.string().describe(\"City of the customer\").nullable().optional(),\n street: z.string().describe(\"Street address of the customer\").nullable().optional(),\n country: z.string().describe(\"Country code of the customer\").nullable().optional(),\n postal_code: z.string().describe(\"Postal code of the customer\").nullable().optional(),\n}).passthrough().describe(\"Physical address details of a customer\");\nconst FinmeiListCustomers_CustomerSchema = z.object({\n id: z.string().describe(\"Unique identifier of the customer\").nullable(),\n name: z.string().describe(\"Name of the customer\").nullable().optional(),\n email: z.string().describe(\"Email address of the customer\").nullable().optional(),\n address: FinmeiListCustomers_AddressSchema.nullable().optional(),\n}).passthrough().describe(\"Customer details\");\nexport const FinmeiListCustomersOutput = z.object({\n page: z.number().int().describe(\"Current page number\").nullable(),\n total: z.number().int().describe(\"Total number of customers matching the filter\").nullable(),\n per_page: z.number().int().describe(\"Number of customers returned per page\").nullable(),\n customers: z.array(FinmeiListCustomers_CustomerSchema).describe(\"List of customer records matching the query\").nullable().optional(),\n total_pages: z.number().int().describe(\"Total number of pages available\").nullable(),\n}).passthrough().describe(\"Paginated list of customers along with paging metadata.\");\n\nexport const finmeiListCustomers: AppAction<\n typeof FinmeiListCustomersInput,\n typeof FinmeiListCustomersOutput,\n typeof finmei.credential\n> = action(\"FINMEI_LIST_CUSTOMERS\", {\n slug: \"finmei-list-customers\",\n name: \"List Customers\",\n description: \"Tool to list all customers with optional filters and pagination. Use when needing to browse or search customer records.\",\n input: FinmeiListCustomersInput,\n output: FinmeiListCustomersOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC9F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACxF,QAAQA,IAAAA,EAAE,OA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AChE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAC3F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACtF,WAAWA,IAAAA,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD;AAEnF,MAAa,sBAITC,eAAAA,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { finmei } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-customers.d.ts
|
|
@@ -24,12 +26,7 @@ declare const FinmeiListCustomersOutput: z.ZodObject<{
|
|
|
24
26
|
}, z.core.$loose>>>>;
|
|
25
27
|
total_pages: z.ZodNullable<z.ZodNumber>;
|
|
26
28
|
}, z.core.$loose>;
|
|
27
|
-
declare const finmeiListCustomers:
|
|
28
|
-
page?: number | undefined;
|
|
29
|
-
sort?: string | undefined;
|
|
30
|
-
search?: string | undefined;
|
|
31
|
-
per_page?: number | undefined;
|
|
32
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
29
|
+
declare const finmeiListCustomers: AppAction<typeof FinmeiListCustomersInput, typeof FinmeiListCustomersOutput, typeof finmei.credential>;
|
|
33
30
|
//#endregion
|
|
34
31
|
export { finmeiListCustomers };
|
|
35
32
|
//# sourceMappingURL=list-customers.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-customers.d.cts","names":[],"sources":["../../src/actions/list-customers.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-customers.d.cts","names":[],"sources":["../../src/actions/list-customers.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;cAkBxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAQzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { finmei } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-customers.d.ts
|
|
@@ -24,12 +26,7 @@ declare const FinmeiListCustomersOutput: z.ZodObject<{
|
|
|
24
26
|
}, z.core.$loose>>>>;
|
|
25
27
|
total_pages: z.ZodNullable<z.ZodNumber>;
|
|
26
28
|
}, z.core.$loose>;
|
|
27
|
-
declare const finmeiListCustomers:
|
|
28
|
-
page?: number | undefined;
|
|
29
|
-
sort?: string | undefined;
|
|
30
|
-
search?: string | undefined;
|
|
31
|
-
per_page?: number | undefined;
|
|
32
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
29
|
+
declare const finmeiListCustomers: AppAction<typeof FinmeiListCustomersInput, typeof FinmeiListCustomersOutput, typeof finmei.credential>;
|
|
33
30
|
//#endregion
|
|
34
31
|
export { finmeiListCustomers };
|
|
35
32
|
//# sourceMappingURL=list-customers.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-customers.d.mts","names":[],"sources":["../../src/actions/list-customers.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-customers.d.mts","names":[],"sources":["../../src/actions/list-customers.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;cAkBxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAQzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-customers.mjs","names":[],"sources":["../../src/actions/list-customers.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FinmeiListCustomersInput = z.object({\n page: z.number().int().default(1).describe(\"Page number to retrieve (must be >= 1)\").optional(),\n sort: z.string().describe(\"Sort order, e.g., 'name_asc' or 'created_at_desc'\").optional(),\n search: z.string().describe(\"Search term to filter customers by name or email\").optional(),\n per_page: z.number().int().default(20).describe(\"Number of customers per page (1-100)\").optional(),\n}).describe(\"Parameters for retrieving a paginated list of customers with optional filtering and sorting.\");\nconst FinmeiListCustomers_AddressSchema = z.object({\n city: z.string().describe(\"City of the customer\").nullable().optional(),\n street: z.string().describe(\"Street address of the customer\").nullable().optional(),\n country: z.string().describe(\"Country code of the customer\").nullable().optional(),\n postal_code: z.string().describe(\"Postal code of the customer\").nullable().optional(),\n}).passthrough().describe(\"Physical address details of a customer\");\nconst FinmeiListCustomers_CustomerSchema = z.object({\n id: z.string().describe(\"Unique identifier of the customer\").nullable(),\n name: z.string().describe(\"Name of the customer\").nullable().optional(),\n email: z.string().describe(\"Email address of the customer\").nullable().optional(),\n address: FinmeiListCustomers_AddressSchema.nullable().optional(),\n}).passthrough().describe(\"Customer details\");\nexport const FinmeiListCustomersOutput = z.object({\n page: z.number().int().describe(\"Current page number\").nullable(),\n total: z.number().int().describe(\"Total number of customers matching the filter\").nullable(),\n per_page: z.number().int().describe(\"Number of customers returned per page\").nullable(),\n customers: z.array(FinmeiListCustomers_CustomerSchema).describe(\"List of customer records matching the query\").nullable().optional(),\n total_pages: z.number().int().describe(\"Total number of pages available\").nullable(),\n}).passthrough().describe(\"Paginated list of customers along with paging metadata.\");\n\nexport const finmeiListCustomers = action(\"FINMEI_LIST_CUSTOMERS\", {\n slug: \"finmei-list-customers\",\n name: \"List Customers\",\n description: \"Tool to list all customers with optional filters and pagination. Use when needing to browse or search customer records.\",\n input: FinmeiListCustomersInput,\n output: FinmeiListCustomersOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-customers.mjs","names":[],"sources":["../../src/actions/list-customers.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { finmei } from \"../app\";\n\nexport const FinmeiListCustomersInput = z.object({\n page: z.number().int().default(1).describe(\"Page number to retrieve (must be >= 1)\").optional(),\n sort: z.string().describe(\"Sort order, e.g., 'name_asc' or 'created_at_desc'\").optional(),\n search: z.string().describe(\"Search term to filter customers by name or email\").optional(),\n per_page: z.number().int().default(20).describe(\"Number of customers per page (1-100)\").optional(),\n}).describe(\"Parameters for retrieving a paginated list of customers with optional filtering and sorting.\");\nconst FinmeiListCustomers_AddressSchema = z.object({\n city: z.string().describe(\"City of the customer\").nullable().optional(),\n street: z.string().describe(\"Street address of the customer\").nullable().optional(),\n country: z.string().describe(\"Country code of the customer\").nullable().optional(),\n postal_code: z.string().describe(\"Postal code of the customer\").nullable().optional(),\n}).passthrough().describe(\"Physical address details of a customer\");\nconst FinmeiListCustomers_CustomerSchema = z.object({\n id: z.string().describe(\"Unique identifier of the customer\").nullable(),\n name: z.string().describe(\"Name of the customer\").nullable().optional(),\n email: z.string().describe(\"Email address of the customer\").nullable().optional(),\n address: FinmeiListCustomers_AddressSchema.nullable().optional(),\n}).passthrough().describe(\"Customer details\");\nexport const FinmeiListCustomersOutput = z.object({\n page: z.number().int().describe(\"Current page number\").nullable(),\n total: z.number().int().describe(\"Total number of customers matching the filter\").nullable(),\n per_page: z.number().int().describe(\"Number of customers returned per page\").nullable(),\n customers: z.array(FinmeiListCustomers_CustomerSchema).describe(\"List of customer records matching the query\").nullable().optional(),\n total_pages: z.number().int().describe(\"Total number of pages available\").nullable(),\n}).passthrough().describe(\"Paginated list of customers along with paging metadata.\");\n\nexport const finmeiListCustomers: AppAction<\n typeof FinmeiListCustomersInput,\n typeof FinmeiListCustomersOutput,\n typeof finmei.credential\n> = action(\"FINMEI_LIST_CUSTOMERS\", {\n slug: \"finmei-list-customers\",\n name: \"List Customers\",\n description: \"Tool to list all customers with optional filters and pagination. Use when needing to browse or search customer records.\",\n input: FinmeiListCustomersInput,\n output: FinmeiListCustomersOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2BAA2B,EAAE,OAAO;CAC/C,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC9F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACxF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACzF,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,SAAS,8FAA8F;AAC1G,MAAM,oCAAoC,EAAE,OAAO;CACjD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAClE,MAAM,qCAAqC,EAAE,OAAO;CAClD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACtE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,SAAS,kCAAkC,SAAS,CAAC,CAAC,SAAS;AACjE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kBAAkB;AAS5C,MAAa,sBAIT,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAjBuC,EAAE,OAAO;EAChD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;EAChE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EAC3F,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EACtF,WAAW,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnI,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACrF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-expenses.cjs","names":["z","action"],"sources":["../../src/actions/list-expenses.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FinmeiListExpensesInput = z.object({\n page: z.number().int().default(1).describe(\"Page number to retrieve (must be >= 1)\").optional(),\n per_page: z.number().int().default(20).describe(\"Number of expenses per page (1-100)\").optional(),\n}).describe(\"Optional pagination parameters for listing expenses.\");\nconst FinmeiListExpenses_PaginationMetaSchema = z.object({\n to: z.number().int().describe(\"Ending item number on current page\").nullable().optional(),\n from: z.number().int().describe(\"Starting item number on current page (1-indexed)\").nullable().optional(),\n path: z.string().describe(\"API endpoint path\").nullable().optional(),\n total: z.number().int().describe(\"Total number of expenses across all pages\").nullable(),\n per_page: z.number().int().describe(\"Number of items per page\").nullable(),\n last_page: z.number().int().describe(\"Last page number\").nullable(),\n current_page: z.number().int().describe(\"Current page number\").nullable(),\n}).passthrough().describe(\"Pagination metadata from the API\");\nconst FinmeiListExpenses_ExpenseSchema = z.object({\n id: z.string().describe(\"Unique identifier of the expense\").nullable(),\n date: z.string().describe(\"Date of the expense in YYYY-MM-DD format\").nullable().optional(),\n total: z.number().describe(\"Total amount of the expense\").nullable().optional(),\n seller: z.string().describe(\"Name of the seller/vendor\").nullable().optional(),\n currency: z.string().describe(\"ISO 4217 currency code (USD, EUR, GBP, etc.)\").nullable().optional(),\n created_at: z.number().int().describe(\"Unix timestamp when expense was created\").nullable().optional(),\n updated_at: z.number().int().describe(\"Unix timestamp when expense was last updated\").nullable().optional(),\n}).passthrough().describe(\"Single expense object returned by the API\");\nexport const FinmeiListExpensesOutput = z.object({\n meta: FinmeiListExpenses_PaginationMetaSchema.nullable().optional(),\n expenses: z.array(FinmeiListExpenses_ExpenseSchema).describe(\"List of expense objects returned by the API\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing expenses with pagination metadata.\");\n\nexport const finmeiListExpenses = action(\"FINMEI_LIST_EXPENSES\", {\n slug: \"finmei-list-expenses\",\n name: \"List Expenses\",\n description: \"Tool to list all expenses for the business. Use when you need a paginated list of expenses with metadata.\",\n input: FinmeiListExpensesInput,\n output: FinmeiListExpensesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-expenses.cjs","names":["z","action"],"sources":["../../src/actions/list-expenses.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { finmei } from \"../app\";\n\nexport const FinmeiListExpensesInput = z.object({\n page: z.number().int().default(1).describe(\"Page number to retrieve (must be >= 1)\").optional(),\n per_page: z.number().int().default(20).describe(\"Number of expenses per page (1-100)\").optional(),\n}).describe(\"Optional pagination parameters for listing expenses.\");\nconst FinmeiListExpenses_PaginationMetaSchema = z.object({\n to: z.number().int().describe(\"Ending item number on current page\").nullable().optional(),\n from: z.number().int().describe(\"Starting item number on current page (1-indexed)\").nullable().optional(),\n path: z.string().describe(\"API endpoint path\").nullable().optional(),\n total: z.number().int().describe(\"Total number of expenses across all pages\").nullable(),\n per_page: z.number().int().describe(\"Number of items per page\").nullable(),\n last_page: z.number().int().describe(\"Last page number\").nullable(),\n current_page: z.number().int().describe(\"Current page number\").nullable(),\n}).passthrough().describe(\"Pagination metadata from the API\");\nconst FinmeiListExpenses_ExpenseSchema = z.object({\n id: z.string().describe(\"Unique identifier of the expense\").nullable(),\n date: z.string().describe(\"Date of the expense in YYYY-MM-DD format\").nullable().optional(),\n total: z.number().describe(\"Total amount of the expense\").nullable().optional(),\n seller: z.string().describe(\"Name of the seller/vendor\").nullable().optional(),\n currency: z.string().describe(\"ISO 4217 currency code (USD, EUR, GBP, etc.)\").nullable().optional(),\n created_at: z.number().int().describe(\"Unix timestamp when expense was created\").nullable().optional(),\n updated_at: z.number().int().describe(\"Unix timestamp when expense was last updated\").nullable().optional(),\n}).passthrough().describe(\"Single expense object returned by the API\");\nexport const FinmeiListExpensesOutput = z.object({\n meta: FinmeiListExpenses_PaginationMetaSchema.nullable().optional(),\n expenses: z.array(FinmeiListExpenses_ExpenseSchema).describe(\"List of expense objects returned by the API\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing expenses with pagination metadata.\");\n\nexport const finmeiListExpenses: AppAction<\n typeof FinmeiListExpensesInput,\n typeof FinmeiListExpensesOutput,\n typeof finmei.credential\n> = action(\"FINMEI_LIST_EXPENSES\", {\n slug: \"finmei-list-expenses\",\n name: \"List Expenses\",\n description: \"Tool to list all expenses for the business. Use when you need a paginated list of expenses with metadata.\",\n input: FinmeiListExpensesInput,\n output: FinmeiListExpensesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC9F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAM,0CAA0CA,IAAAA,EAAE,OAAO;CACvD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACvF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACzE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kBAAkB,CAAC,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wBAAwB;CACjC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { finmei } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-expenses.d.ts
|
|
@@ -25,10 +27,7 @@ declare const FinmeiListExpensesOutput: z.ZodObject<{
|
|
|
25
27
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
26
28
|
}, z.core.$loose>>>>;
|
|
27
29
|
}, z.core.$loose>;
|
|
28
|
-
declare const finmeiListExpenses:
|
|
29
|
-
page?: number | undefined;
|
|
30
|
-
per_page?: number | undefined;
|
|
31
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
30
|
+
declare const finmeiListExpenses: AppAction<typeof FinmeiListExpensesInput, typeof FinmeiListExpensesOutput, typeof finmei.credential>;
|
|
32
31
|
//#endregion
|
|
33
32
|
export { finmeiListExpenses };
|
|
34
33
|
//# sourceMappingURL=list-expenses.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-expenses.d.cts","names":[],"sources":["../../src/actions/list-expenses.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-expenses.d.cts","names":[],"sources":["../../src/actions/list-expenses.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;cAsBvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAKxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,MAAA,CAAO,UAAA"}
|