@keystrokehq/finmei 0.1.2 → 0.1.4
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/actions/create-expense.cjs +2 -2
- package/dist/actions/create-expense.cjs.map +1 -1
- package/dist/actions/create-expense.d.cts +2 -2
- package/dist/actions/create-expense.d.mts +2 -2
- package/dist/actions/create-expense.mjs +2 -2
- package/dist/actions/create-expense.mjs.map +1 -1
- package/dist/actions/create-invoice.cjs +8 -8
- package/dist/actions/create-invoice.cjs.map +1 -1
- package/dist/actions/create-invoice.d.cts +10 -8
- package/dist/actions/create-invoice.d.mts +10 -8
- package/dist/actions/create-invoice.mjs +8 -8
- package/dist/actions/create-invoice.mjs.map +1 -1
- package/dist/actions/delete-customer.cjs +1 -1
- package/dist/actions/delete-customer.cjs.map +1 -1
- package/dist/actions/delete-customer.d.cts +1 -1
- package/dist/actions/delete-customer.d.cts.map +1 -1
- package/dist/actions/delete-customer.d.mts +1 -1
- package/dist/actions/delete-customer.d.mts.map +1 -1
- package/dist/actions/delete-customer.mjs +1 -1
- package/dist/actions/delete-customer.mjs.map +1 -1
- package/dist/actions/delete-invoice.cjs +1 -1
- package/dist/actions/delete-invoice.cjs.map +1 -1
- package/dist/actions/delete-invoice.d.cts +1 -1
- package/dist/actions/delete-invoice.d.mts +1 -1
- package/dist/actions/delete-invoice.mjs +1 -1
- package/dist/actions/delete-invoice.mjs.map +1 -1
- package/dist/actions/delete-payment.cjs +1 -1
- package/dist/actions/delete-payment.cjs.map +1 -1
- package/dist/actions/delete-payment.d.cts +1 -1
- package/dist/actions/delete-payment.d.mts +1 -1
- package/dist/actions/delete-payment.mjs +1 -1
- package/dist/actions/delete-payment.mjs.map +1 -1
- package/dist/actions/delete-product.cjs +1 -1
- package/dist/actions/delete-product.cjs.map +1 -1
- package/dist/actions/delete-product.d.cts +1 -1
- package/dist/actions/delete-product.d.mts +1 -1
- package/dist/actions/delete-product.mjs +1 -1
- package/dist/actions/delete-product.mjs.map +1 -1
- package/dist/actions/download-expense-file.cjs +2 -2
- package/dist/actions/download-expense-file.cjs.map +1 -1
- package/dist/actions/download-expense-file.d.cts +2 -2
- package/dist/actions/download-expense-file.d.mts +2 -2
- package/dist/actions/download-expense-file.mjs +2 -2
- package/dist/actions/download-expense-file.mjs.map +1 -1
- package/dist/actions/download-invoice-pdf.cjs +2 -2
- package/dist/actions/download-invoice-pdf.cjs.map +1 -1
- package/dist/actions/download-invoice-pdf.d.cts +2 -2
- package/dist/actions/download-invoice-pdf.d.mts +2 -2
- package/dist/actions/download-invoice-pdf.mjs +2 -2
- package/dist/actions/download-invoice-pdf.mjs.map +1 -1
- package/dist/actions/get-expense.cjs +2 -2
- package/dist/actions/get-expense.cjs.map +1 -1
- package/dist/actions/get-expense.d.cts +2 -2
- package/dist/actions/get-expense.d.mts +2 -2
- package/dist/actions/get-expense.mjs +2 -2
- package/dist/actions/get-expense.mjs.map +1 -1
- package/dist/actions/get-invoice.cjs +5 -5
- package/dist/actions/get-invoice.cjs.map +1 -1
- package/dist/actions/get-invoice.d.cts +5 -5
- package/dist/actions/get-invoice.d.mts +5 -5
- package/dist/actions/get-invoice.mjs +5 -5
- package/dist/actions/get-invoice.mjs.map +1 -1
- package/dist/actions/get-payment.cjs +1 -1
- package/dist/actions/get-payment.cjs.map +1 -1
- package/dist/actions/get-payment.d.cts +1 -1
- package/dist/actions/get-payment.d.mts +1 -1
- package/dist/actions/get-payment.mjs +1 -1
- package/dist/actions/get-payment.mjs.map +1 -1
- package/dist/actions/get-product.cjs +1 -1
- package/dist/actions/get-product.cjs.map +1 -1
- package/dist/actions/get-product.d.cts +1 -1
- package/dist/actions/get-product.d.mts +1 -1
- package/dist/actions/get-product.mjs +1 -1
- package/dist/actions/get-product.mjs.map +1 -1
- package/dist/actions/get-profile.cjs +2 -2
- package/dist/actions/get-profile.cjs.map +1 -1
- package/dist/actions/get-profile.d.cts +2 -2
- package/dist/actions/get-profile.d.mts +2 -2
- package/dist/actions/get-profile.mjs +2 -2
- package/dist/actions/get-profile.mjs.map +1 -1
- package/dist/actions/list-currencies.cjs +2 -2
- package/dist/actions/list-currencies.cjs.map +1 -1
- package/dist/actions/list-currencies.d.cts +2 -2
- package/dist/actions/list-currencies.d.mts +2 -2
- package/dist/actions/list-currencies.mjs +2 -2
- package/dist/actions/list-currencies.mjs.map +1 -1
- package/dist/actions/list-customers.cjs +3 -3
- package/dist/actions/list-customers.cjs.map +1 -1
- package/dist/actions/list-customers.d.cts +3 -3
- package/dist/actions/list-customers.d.mts +3 -3
- package/dist/actions/list-customers.mjs +3 -3
- package/dist/actions/list-customers.mjs.map +1 -1
- package/dist/actions/list-expenses.cjs +3 -3
- package/dist/actions/list-expenses.cjs.map +1 -1
- package/dist/actions/list-expenses.d.cts +3 -3
- package/dist/actions/list-expenses.d.mts +3 -3
- package/dist/actions/list-expenses.mjs +3 -3
- package/dist/actions/list-expenses.mjs.map +1 -1
- package/dist/actions/list-invoices.cjs +7 -7
- package/dist/actions/list-invoices.cjs.map +1 -1
- package/dist/actions/list-invoices.d.cts +7 -7
- package/dist/actions/list-invoices.d.mts +7 -7
- package/dist/actions/list-invoices.mjs +7 -7
- package/dist/actions/list-invoices.mjs.map +1 -1
- package/dist/actions/list-payments.cjs +2 -2
- package/dist/actions/list-payments.cjs.map +1 -1
- package/dist/actions/list-payments.d.cts +2 -2
- package/dist/actions/list-payments.d.mts +2 -2
- package/dist/actions/list-payments.mjs +2 -2
- package/dist/actions/list-payments.mjs.map +1 -1
- package/dist/actions/list-products.cjs +3 -3
- package/dist/actions/list-products.cjs.map +1 -1
- package/dist/actions/list-products.d.cts +3 -3
- package/dist/actions/list-products.d.mts +3 -3
- package/dist/actions/list-products.mjs +3 -3
- package/dist/actions/list-products.mjs.map +1 -1
- package/dist/actions/update-customer.cjs +3 -3
- package/dist/actions/update-customer.cjs.map +1 -1
- package/dist/actions/update-customer.d.cts +3 -3
- package/dist/actions/update-customer.d.mts +3 -3
- package/dist/actions/update-customer.mjs +3 -3
- package/dist/actions/update-customer.mjs.map +1 -1
- package/dist/actions/update-expense-file.cjs +1 -1
- package/dist/actions/update-expense-file.cjs.map +1 -1
- package/dist/actions/update-expense-file.d.cts +1 -1
- package/dist/actions/update-expense-file.d.mts +1 -1
- package/dist/actions/update-expense-file.mjs +1 -1
- package/dist/actions/update-expense-file.mjs.map +1 -1
- package/dist/actions/update-expense.cjs +1 -1
- package/dist/actions/update-expense.cjs.map +1 -1
- package/dist/actions/update-expense.d.cts +1 -1
- package/dist/actions/update-expense.d.mts +1 -1
- package/dist/actions/update-expense.mjs +1 -1
- package/dist/actions/update-expense.mjs.map +1 -1
- package/dist/actions/update-invoice.cjs +5 -5
- package/dist/actions/update-invoice.cjs.map +1 -1
- package/dist/actions/update-invoice.d.cts +6 -5
- package/dist/actions/update-invoice.d.mts +6 -5
- package/dist/actions/update-invoice.mjs +5 -5
- package/dist/actions/update-invoice.mjs.map +1 -1
- package/dist/actions/update-product.cjs +1 -1
- package/dist/actions/update-product.cjs.map +1 -1
- package/dist/actions/update-product.d.cts +1 -1
- package/dist/actions/update-product.d.mts +1 -1
- package/dist/actions/update-product.mjs +1 -1
- package/dist/actions/update-product.mjs.map +1 -1
- package/dist/catalog.cjs +1 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +1 -1
- package/dist/catalog.d.mts +1 -1
- package/dist/catalog.mjs +1 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -4,7 +4,7 @@ import { z } from "zod";
|
|
|
4
4
|
declare const FinmeiDeleteCustomerInput: z.ZodObject<{
|
|
5
5
|
customer_id: z.ZodString;
|
|
6
6
|
}, z.core.$strip>;
|
|
7
|
-
declare const FinmeiDeleteCustomerOutput: z.
|
|
7
|
+
declare const FinmeiDeleteCustomerOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
8
8
|
declare const finmeiDeleteCustomer: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
9
9
|
customer_id: string;
|
|
10
10
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-customer.d.mts","names":[],"sources":["../../src/actions/delete-customer.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAGzB,0BAAA,EAA0B,CAAA,CAAA,SAAA,
|
|
1
|
+
{"version":3,"file":"delete-customer.d.mts","names":[],"sources":["../../src/actions/delete-customer.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAGzB,0BAAA,EAA0B,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAE1B,oBAAA,gCAAoB,wBAAA"}
|
|
@@ -5,7 +5,7 @@ const finmeiDeleteCustomer = action("FINMEI_DELETE_CUSTOMER", {
|
|
|
5
5
|
name: "Delete Customer",
|
|
6
6
|
description: "Tool to delete a specific customer by their ID. Use after confirming the correct customer_id to remove the record.",
|
|
7
7
|
input: z.object({ customer_id: z.string().describe("Unique identifier of the customer to delete") }).describe("Request schema for deleting a customer."),
|
|
8
|
-
output: z.
|
|
8
|
+
output: z.record(z.string(), z.unknown()).describe("Response schema for deleting a customer. Empty if successful.")
|
|
9
9
|
});
|
|
10
10
|
//#endregion
|
|
11
11
|
export { finmeiDeleteCustomer };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-customer.mjs","names":[],"sources":["../../src/actions/delete-customer.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FinmeiDeleteCustomerInput = z.object({\n customer_id: z.string().describe(\"Unique identifier of the customer to delete\"),\n}).describe(\"Request schema for deleting a customer.\");\nexport const FinmeiDeleteCustomerOutput = z.
|
|
1
|
+
{"version":3,"file":"delete-customer.mjs","names":[],"sources":["../../src/actions/delete-customer.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FinmeiDeleteCustomerInput = z.object({\n customer_id: z.string().describe(\"Unique identifier of the customer to delete\"),\n}).describe(\"Request schema for deleting a customer.\");\nexport const FinmeiDeleteCustomerOutput = z.record(z.string(), z.unknown()).describe(\"Response schema for deleting a customer. Empty if successful.\");\n\nexport const finmeiDeleteCustomer = action(\"FINMEI_DELETE_CUSTOMER\", {\n slug: \"finmei-delete-customer\",\n name: \"Delete Customer\",\n description: \"Tool to delete a specific customer by their ID. Use after confirming the correct customer_id to remove the record.\",\n input: FinmeiDeleteCustomerInput,\n output: FinmeiDeleteCustomerOutput,\n});\n"],"mappings":";;AASA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OATuC,EAAE,OAAO,EAChD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,EAChF,CAAC,CAAC,CAAC,SAAS,yCAOH;CACP,QAPwC,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,+DAO3E;AACV,CAAC"}
|
|
@@ -5,7 +5,7 @@ const FinmeiDeleteInvoiceInput = zod.z.object({ invoice_id: zod.z.string().descr
|
|
|
5
5
|
const FinmeiDeleteInvoiceOutput = zod.z.object({
|
|
6
6
|
message: zod.z.string().describe("Optional message returned by the API").nullable().optional(),
|
|
7
7
|
success: zod.z.boolean().describe("Indicates whether the invoice was successfully deleted").nullable()
|
|
8
|
-
}).describe("Response model returning deletion result.");
|
|
8
|
+
}).passthrough().describe("Response model returning deletion result.");
|
|
9
9
|
const finmeiDeleteInvoice = require_action.action("FINMEI_DELETE_INVOICE", {
|
|
10
10
|
slug: "finmei-delete-invoice",
|
|
11
11
|
name: "Delete Invoice",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-invoice.cjs","names":["z","action"],"sources":["../../src/actions/delete-invoice.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FinmeiDeleteInvoiceInput = z.object({\n invoice_id: z.string().describe(\"The unique identifier of the invoice to delete\"),\n}).describe(\"Request model for deleting an invoice by its ID.\");\nexport const FinmeiDeleteInvoiceOutput = z.object({\n message: z.string().describe(\"Optional message returned by the API\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the invoice was successfully deleted\").nullable(),\n}).describe(\"Response model returning deletion result.\");\n\nexport const finmeiDeleteInvoice = action(\"FINMEI_DELETE_INVOICE\", {\n slug: \"finmei-delete-invoice\",\n name: \"Delete Invoice\",\n description: \"Tool to delete an invoice. Use when you need to remove an existing invoice by its ID.\",\n input: FinmeiDeleteInvoiceInput,\n output: FinmeiDeleteInvoiceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,EAClF,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,SAAS,2CAA2C;
|
|
1
|
+
{"version":3,"file":"delete-invoice.cjs","names":["z","action"],"sources":["../../src/actions/delete-invoice.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FinmeiDeleteInvoiceInput = z.object({\n invoice_id: z.string().describe(\"The unique identifier of the invoice to delete\"),\n}).describe(\"Request model for deleting an invoice by its ID.\");\nexport const FinmeiDeleteInvoiceOutput = z.object({\n message: z.string().describe(\"Optional message returned by the API\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the invoice was successfully deleted\").nullable(),\n}).passthrough().describe(\"Response model returning deletion result.\");\n\nexport const finmeiDeleteInvoice = action(\"FINMEI_DELETE_INVOICE\", {\n slug: \"finmei-delete-invoice\",\n name: \"Delete Invoice\",\n description: \"Tool to delete an invoice. Use when you need to remove an existing invoice by its ID.\",\n input: FinmeiDeleteInvoiceInput,\n output: FinmeiDeleteInvoiceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,EAClF,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAErE,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -7,7 +7,7 @@ declare const FinmeiDeleteInvoiceInput: z.ZodObject<{
|
|
|
7
7
|
declare const FinmeiDeleteInvoiceOutput: z.ZodObject<{
|
|
8
8
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
9
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
10
|
-
}, z.core.$
|
|
10
|
+
}, z.core.$loose>;
|
|
11
11
|
declare const finmeiDeleteInvoice: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
12
|
invoice_id: string;
|
|
13
13
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -7,7 +7,7 @@ declare const FinmeiDeleteInvoiceInput: z.ZodObject<{
|
|
|
7
7
|
declare const FinmeiDeleteInvoiceOutput: z.ZodObject<{
|
|
8
8
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
9
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
10
|
-
}, z.core.$
|
|
10
|
+
}, z.core.$loose>;
|
|
11
11
|
declare const finmeiDeleteInvoice: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
12
|
invoice_id: string;
|
|
13
13
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -8,7 +8,7 @@ const finmeiDeleteInvoice = action("FINMEI_DELETE_INVOICE", {
|
|
|
8
8
|
output: z.object({
|
|
9
9
|
message: z.string().describe("Optional message returned by the API").nullable().optional(),
|
|
10
10
|
success: z.boolean().describe("Indicates whether the invoice was successfully deleted").nullable()
|
|
11
|
-
}).describe("Response model returning deletion result.")
|
|
11
|
+
}).passthrough().describe("Response model returning deletion result.")
|
|
12
12
|
});
|
|
13
13
|
//#endregion
|
|
14
14
|
export { finmeiDeleteInvoice };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-invoice.mjs","names":[],"sources":["../../src/actions/delete-invoice.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FinmeiDeleteInvoiceInput = z.object({\n invoice_id: z.string().describe(\"The unique identifier of the invoice to delete\"),\n}).describe(\"Request model for deleting an invoice by its ID.\");\nexport const FinmeiDeleteInvoiceOutput = z.object({\n message: z.string().describe(\"Optional message returned by the API\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the invoice was successfully deleted\").nullable(),\n}).describe(\"Response model returning deletion result.\");\n\nexport const finmeiDeleteInvoice = action(\"FINMEI_DELETE_INVOICE\", {\n slug: \"finmei-delete-invoice\",\n name: \"Delete Invoice\",\n description: \"Tool to delete an invoice. Use when you need to remove an existing invoice by its ID.\",\n input: FinmeiDeleteInvoiceInput,\n output: FinmeiDeleteInvoiceOutput,\n});\n"],"mappings":";;AAYA,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZsC,EAAE,OAAO,EAC/C,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,EAClF,CAAC,CAAC,CAAC,SAAS,kDAUH;CACP,QAVuC,EAAE,OAAO;EAChD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzF,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACnG,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"delete-invoice.mjs","names":[],"sources":["../../src/actions/delete-invoice.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FinmeiDeleteInvoiceInput = z.object({\n invoice_id: z.string().describe(\"The unique identifier of the invoice to delete\"),\n}).describe(\"Request model for deleting an invoice by its ID.\");\nexport const FinmeiDeleteInvoiceOutput = z.object({\n message: z.string().describe(\"Optional message returned by the API\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the invoice was successfully deleted\").nullable(),\n}).passthrough().describe(\"Response model returning deletion result.\");\n\nexport const finmeiDeleteInvoice = action(\"FINMEI_DELETE_INVOICE\", {\n slug: \"finmei-delete-invoice\",\n name: \"Delete Invoice\",\n description: \"Tool to delete an invoice. Use when you need to remove an existing invoice by its ID.\",\n input: FinmeiDeleteInvoiceInput,\n output: FinmeiDeleteInvoiceOutput,\n});\n"],"mappings":";;AAYA,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZsC,EAAE,OAAO,EAC/C,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,EAClF,CAAC,CAAC,CAAC,SAAS,kDAUH;CACP,QAVuC,EAAE,OAAO;EAChD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzF,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACnG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAOhB;AACV,CAAC"}
|
|
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
|
|
|
2
2
|
let zod = require("zod");
|
|
3
3
|
//#region src/actions/delete-payment.ts
|
|
4
4
|
const FinmeiDeletePaymentInput = zod.z.object({ payment_id: zod.z.string().describe("Unique identifier of the payment to delete. This is typically returned from payment creation or list operations.") }).describe("Request model for deleting a payment.");
|
|
5
|
-
const FinmeiDeletePaymentOutput = zod.z.object({ success: zod.z.boolean().describe("Always true when the operation completes without errors. Returns true even if the payment didn't exist (idempotent behavior).").nullable() }).describe("Response model for delete payment action.");
|
|
5
|
+
const FinmeiDeletePaymentOutput = zod.z.object({ success: zod.z.boolean().describe("Always true when the operation completes without errors. Returns true even if the payment didn't exist (idempotent behavior).").nullable() }).passthrough().describe("Response model for delete payment action.");
|
|
6
6
|
const finmeiDeletePayment = require_action.action("FINMEI_DELETE_PAYMENT", {
|
|
7
7
|
slug: "finmei-delete-payment",
|
|
8
8
|
name: "Delete Payment",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-payment.cjs","names":["z","action"],"sources":["../../src/actions/delete-payment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FinmeiDeletePaymentInput = z.object({\n payment_id: z.string().describe(\"Unique identifier of the payment to delete. This is typically returned from payment creation or list operations.\"),\n}).describe(\"Request model for deleting a payment.\");\nexport const FinmeiDeletePaymentOutput = z.object({\n success: z.boolean().describe(\"Always true when the operation completes without errors. Returns true even if the payment didn't exist (idempotent behavior).\").nullable(),\n}).describe(\"Response model for delete payment action.\");\n\nexport const finmeiDeletePayment = action(\"FINMEI_DELETE_PAYMENT\", {\n slug: \"finmei-delete-payment\",\n name: \"Delete Payment\",\n description: \"Delete a payment record by its unique identifier. This action permanently removes the payment from the system. Returns success even if the payment doesn't exist (idempotent operation). Use this when you need to remove incorrect, duplicate, or obsolete payment records.\",\n input: FinmeiDeletePaymentInput,\n output: FinmeiDeletePaymentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kHAAkH,EACpJ,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS,EAC1K,CAAC,CAAC,CAAC,SAAS,2CAA2C;
|
|
1
|
+
{"version":3,"file":"delete-payment.cjs","names":["z","action"],"sources":["../../src/actions/delete-payment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FinmeiDeletePaymentInput = z.object({\n payment_id: z.string().describe(\"Unique identifier of the payment to delete. This is typically returned from payment creation or list operations.\"),\n}).describe(\"Request model for deleting a payment.\");\nexport const FinmeiDeletePaymentOutput = z.object({\n success: z.boolean().describe(\"Always true when the operation completes without errors. Returns true even if the payment didn't exist (idempotent behavior).\").nullable(),\n}).passthrough().describe(\"Response model for delete payment action.\");\n\nexport const finmeiDeletePayment = action(\"FINMEI_DELETE_PAYMENT\", {\n slug: \"finmei-delete-payment\",\n name: \"Delete Payment\",\n description: \"Delete a payment record by its unique identifier. This action permanently removes the payment from the system. Returns success even if the payment doesn't exist (idempotent operation). Use this when you need to remove incorrect, duplicate, or obsolete payment records.\",\n input: FinmeiDeletePaymentInput,\n output: FinmeiDeletePaymentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kHAAkH,EACpJ,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS,EAC1K,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAErE,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -6,7 +6,7 @@ declare const FinmeiDeletePaymentInput: z.ZodObject<{
|
|
|
6
6
|
}, z.core.$strip>;
|
|
7
7
|
declare const FinmeiDeletePaymentOutput: z.ZodObject<{
|
|
8
8
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
9
|
-
}, z.core.$
|
|
9
|
+
}, z.core.$loose>;
|
|
10
10
|
declare const finmeiDeletePayment: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
11
11
|
payment_id: string;
|
|
12
12
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -6,7 +6,7 @@ declare const FinmeiDeletePaymentInput: z.ZodObject<{
|
|
|
6
6
|
}, z.core.$strip>;
|
|
7
7
|
declare const FinmeiDeletePaymentOutput: z.ZodObject<{
|
|
8
8
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
9
|
-
}, z.core.$
|
|
9
|
+
}, z.core.$loose>;
|
|
10
10
|
declare const finmeiDeletePayment: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
11
11
|
payment_id: string;
|
|
12
12
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -5,7 +5,7 @@ const finmeiDeletePayment = action("FINMEI_DELETE_PAYMENT", {
|
|
|
5
5
|
name: "Delete Payment",
|
|
6
6
|
description: "Delete a payment record by its unique identifier. This action permanently removes the payment from the system. Returns success even if the payment doesn't exist (idempotent operation). Use this when you need to remove incorrect, duplicate, or obsolete payment records.",
|
|
7
7
|
input: z.object({ payment_id: z.string().describe("Unique identifier of the payment to delete. This is typically returned from payment creation or list operations.") }).describe("Request model for deleting a payment."),
|
|
8
|
-
output: z.object({ success: z.boolean().describe("Always true when the operation completes without errors. Returns true even if the payment didn't exist (idempotent behavior).").nullable() }).describe("Response model for delete payment action.")
|
|
8
|
+
output: z.object({ success: z.boolean().describe("Always true when the operation completes without errors. Returns true even if the payment didn't exist (idempotent behavior).").nullable() }).passthrough().describe("Response model for delete payment action.")
|
|
9
9
|
});
|
|
10
10
|
//#endregion
|
|
11
11
|
export { finmeiDeletePayment };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-payment.mjs","names":[],"sources":["../../src/actions/delete-payment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FinmeiDeletePaymentInput = z.object({\n payment_id: z.string().describe(\"Unique identifier of the payment to delete. This is typically returned from payment creation or list operations.\"),\n}).describe(\"Request model for deleting a payment.\");\nexport const FinmeiDeletePaymentOutput = z.object({\n success: z.boolean().describe(\"Always true when the operation completes without errors. Returns true even if the payment didn't exist (idempotent behavior).\").nullable(),\n}).describe(\"Response model for delete payment action.\");\n\nexport const finmeiDeletePayment = action(\"FINMEI_DELETE_PAYMENT\", {\n slug: \"finmei-delete-payment\",\n name: \"Delete Payment\",\n description: \"Delete a payment record by its unique identifier. This action permanently removes the payment from the system. Returns success even if the payment doesn't exist (idempotent operation). Use this when you need to remove incorrect, duplicate, or obsolete payment records.\",\n input: FinmeiDeletePaymentInput,\n output: FinmeiDeletePaymentOutput,\n});\n"],"mappings":";;AAWA,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAXsC,EAAE,OAAO,EAC/C,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kHAAkH,EACpJ,CAAC,CAAC,CAAC,SAAS,uCASH;CACP,QATuC,EAAE,OAAO,EAChD,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS,EAC1K,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"delete-payment.mjs","names":[],"sources":["../../src/actions/delete-payment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FinmeiDeletePaymentInput = z.object({\n payment_id: z.string().describe(\"Unique identifier of the payment to delete. This is typically returned from payment creation or list operations.\"),\n}).describe(\"Request model for deleting a payment.\");\nexport const FinmeiDeletePaymentOutput = z.object({\n success: z.boolean().describe(\"Always true when the operation completes without errors. Returns true even if the payment didn't exist (idempotent behavior).\").nullable(),\n}).passthrough().describe(\"Response model for delete payment action.\");\n\nexport const finmeiDeletePayment = action(\"FINMEI_DELETE_PAYMENT\", {\n slug: \"finmei-delete-payment\",\n name: \"Delete Payment\",\n description: \"Delete a payment record by its unique identifier. This action permanently removes the payment from the system. Returns success even if the payment doesn't exist (idempotent operation). Use this when you need to remove incorrect, duplicate, or obsolete payment records.\",\n input: FinmeiDeletePaymentInput,\n output: FinmeiDeletePaymentOutput,\n});\n"],"mappings":";;AAWA,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAXsC,EAAE,OAAO,EAC/C,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kHAAkH,EACpJ,CAAC,CAAC,CAAC,SAAS,uCASH;CACP,QATuC,EAAE,OAAO,EAChD,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS,EAC1K,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAOhB;AACV,CAAC"}
|
|
@@ -5,7 +5,7 @@ const FinmeiDeleteProductInput = zod.z.object({ product_id: zod.z.string().descr
|
|
|
5
5
|
const FinmeiDeleteProductOutput = zod.z.object({
|
|
6
6
|
message: zod.z.string().describe("Detailed message explaining the deletion outcome. Provides context about whether the product was deleted, already didn't exist, or if the API endpoint is unavailable.").nullable().optional(),
|
|
7
7
|
success: zod.z.boolean().describe("True if the product was deleted or does not exist (idempotent). False only on actual errors like authentication failures.").nullable()
|
|
8
|
-
});
|
|
8
|
+
}).passthrough();
|
|
9
9
|
const finmeiDeleteProduct = require_action.action("FINMEI_DELETE_PRODUCT", {
|
|
10
10
|
slug: "finmei-delete-product",
|
|
11
11
|
name: "Delete Product",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-product.cjs","names":["z","action"],"sources":["../../src/actions/delete-product.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FinmeiDeleteProductInput = z.object({\n product_id: z.string().describe(\"Unique identifier of the product to delete. This is the product's ID as returned by list_products or get_product operations.\"),\n});\nexport const FinmeiDeleteProductOutput = z.object({\n message: z.string().describe(\"Detailed message explaining the deletion outcome. Provides context about whether the product was deleted, already didn't exist, or if the API endpoint is unavailable.\").nullable().optional(),\n success: z.boolean().describe(\"True if the product was deleted or does not exist (idempotent). False only on actual errors like authentication failures.\").nullable(),\n});\n\nexport const finmeiDeleteProduct = action(\"FINMEI_DELETE_PRODUCT\", {\n slug: \"finmei-delete-product\",\n name: \"Delete Product\",\n description: \"Deletes a product from the Finmei catalog by its unique identifier. This operation is idempotent - calling it multiple times with the same product_id will return success. The tool attempts multiple endpoint patterns to maximize compatibility across different Finmei API deployments. Use this when you need to: - Permanently remove a product from the catalog - Clean up discontinued or obsolete products - Remove test or duplicate product entries Note: If all API endpoints return 404, the action will succeed with a message explaining that the product doesn't exist or the API doesn't support deletion. This follows idempotent DELETE semantics.\",\n input: FinmeiDeleteProductInput,\n output: FinmeiDeleteProductOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8HAA8H,EAChK,CAAC;AACD,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wKAAwK,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3N,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2HAA2H,CAAC,CAAC,SAAS;AACtK,CAAC;
|
|
1
|
+
{"version":3,"file":"delete-product.cjs","names":["z","action"],"sources":["../../src/actions/delete-product.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FinmeiDeleteProductInput = z.object({\n product_id: z.string().describe(\"Unique identifier of the product to delete. This is the product's ID as returned by list_products or get_product operations.\"),\n});\nexport const FinmeiDeleteProductOutput = z.object({\n message: z.string().describe(\"Detailed message explaining the deletion outcome. Provides context about whether the product was deleted, already didn't exist, or if the API endpoint is unavailable.\").nullable().optional(),\n success: z.boolean().describe(\"True if the product was deleted or does not exist (idempotent). False only on actual errors like authentication failures.\").nullable(),\n}).passthrough();\n\nexport const finmeiDeleteProduct = action(\"FINMEI_DELETE_PRODUCT\", {\n slug: \"finmei-delete-product\",\n name: \"Delete Product\",\n description: \"Deletes a product from the Finmei catalog by its unique identifier. This operation is idempotent - calling it multiple times with the same product_id will return success. The tool attempts multiple endpoint patterns to maximize compatibility across different Finmei API deployments. Use this when you need to: - Permanently remove a product from the catalog - Clean up discontinued or obsolete products - Remove test or duplicate product entries Note: If all API endpoints return 404, the action will succeed with a message explaining that the product doesn't exist or the API doesn't support deletion. This follows idempotent DELETE semantics.\",\n input: FinmeiDeleteProductInput,\n output: FinmeiDeleteProductOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8HAA8H,EAChK,CAAC;AACD,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wKAAwK,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3N,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2HAA2H,CAAC,CAAC,SAAS;AACtK,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -7,7 +7,7 @@ declare const FinmeiDeleteProductInput: z.ZodObject<{
|
|
|
7
7
|
declare const FinmeiDeleteProductOutput: z.ZodObject<{
|
|
8
8
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
9
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
10
|
-
}, z.core.$
|
|
10
|
+
}, z.core.$loose>;
|
|
11
11
|
declare const finmeiDeleteProduct: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
12
|
product_id: string;
|
|
13
13
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -7,7 +7,7 @@ declare const FinmeiDeleteProductInput: z.ZodObject<{
|
|
|
7
7
|
declare const FinmeiDeleteProductOutput: z.ZodObject<{
|
|
8
8
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
9
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
10
|
-
}, z.core.$
|
|
10
|
+
}, z.core.$loose>;
|
|
11
11
|
declare const finmeiDeleteProduct: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
12
|
product_id: string;
|
|
13
13
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -8,7 +8,7 @@ const finmeiDeleteProduct = action("FINMEI_DELETE_PRODUCT", {
|
|
|
8
8
|
output: z.object({
|
|
9
9
|
message: z.string().describe("Detailed message explaining the deletion outcome. Provides context about whether the product was deleted, already didn't exist, or if the API endpoint is unavailable.").nullable().optional(),
|
|
10
10
|
success: z.boolean().describe("True if the product was deleted or does not exist (idempotent). False only on actual errors like authentication failures.").nullable()
|
|
11
|
-
})
|
|
11
|
+
}).passthrough()
|
|
12
12
|
});
|
|
13
13
|
//#endregion
|
|
14
14
|
export { finmeiDeleteProduct };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-product.mjs","names":[],"sources":["../../src/actions/delete-product.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FinmeiDeleteProductInput = z.object({\n product_id: z.string().describe(\"Unique identifier of the product to delete. This is the product's ID as returned by list_products or get_product operations.\"),\n});\nexport const FinmeiDeleteProductOutput = z.object({\n message: z.string().describe(\"Detailed message explaining the deletion outcome. Provides context about whether the product was deleted, already didn't exist, or if the API endpoint is unavailable.\").nullable().optional(),\n success: z.boolean().describe(\"True if the product was deleted or does not exist (idempotent). False only on actual errors like authentication failures.\").nullable(),\n});\n\nexport const finmeiDeleteProduct = action(\"FINMEI_DELETE_PRODUCT\", {\n slug: \"finmei-delete-product\",\n name: \"Delete Product\",\n description: \"Deletes a product from the Finmei catalog by its unique identifier. This operation is idempotent - calling it multiple times with the same product_id will return success. The tool attempts multiple endpoint patterns to maximize compatibility across different Finmei API deployments. Use this when you need to: - Permanently remove a product from the catalog - Clean up discontinued or obsolete products - Remove test or duplicate product entries Note: If all API endpoints return 404, the action will succeed with a message explaining that the product doesn't exist or the API doesn't support deletion. This follows idempotent DELETE semantics.\",\n input: FinmeiDeleteProductInput,\n output: FinmeiDeleteProductOutput,\n});\n"],"mappings":";;AAYA,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZsC,EAAE,OAAO,EAC/C,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8HAA8H,EAChK,CAUS;CACP,QAVuC,EAAE,OAAO;EAChD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wKAAwK,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3N,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,2HAA2H,CAAC,CAAC,SAAS;CACtK,
|
|
1
|
+
{"version":3,"file":"delete-product.mjs","names":[],"sources":["../../src/actions/delete-product.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FinmeiDeleteProductInput = z.object({\n product_id: z.string().describe(\"Unique identifier of the product to delete. This is the product's ID as returned by list_products or get_product operations.\"),\n});\nexport const FinmeiDeleteProductOutput = z.object({\n message: z.string().describe(\"Detailed message explaining the deletion outcome. Provides context about whether the product was deleted, already didn't exist, or if the API endpoint is unavailable.\").nullable().optional(),\n success: z.boolean().describe(\"True if the product was deleted or does not exist (idempotent). False only on actual errors like authentication failures.\").nullable(),\n}).passthrough();\n\nexport const finmeiDeleteProduct = action(\"FINMEI_DELETE_PRODUCT\", {\n slug: \"finmei-delete-product\",\n name: \"Delete Product\",\n description: \"Deletes a product from the Finmei catalog by its unique identifier. This operation is idempotent - calling it multiple times with the same product_id will return success. The tool attempts multiple endpoint patterns to maximize compatibility across different Finmei API deployments. Use this when you need to: - Permanently remove a product from the catalog - Clean up discontinued or obsolete products - Remove test or duplicate product entries Note: If all API endpoints return 404, the action will succeed with a message explaining that the product doesn't exist or the API doesn't support deletion. This follows idempotent DELETE semantics.\",\n input: FinmeiDeleteProductInput,\n output: FinmeiDeleteProductOutput,\n});\n"],"mappings":";;AAYA,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZsC,EAAE,OAAO,EAC/C,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8HAA8H,EAChK,CAUS;CACP,QAVuC,EAAE,OAAO;EAChD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wKAAwK,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3N,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,2HAA2H,CAAC,CAAC,SAAS;CACtK,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -6,8 +6,8 @@ const FinmeiDownloadExpenseFile_FileDownloadableSchema = zod.z.object({
|
|
|
6
6
|
name: zod.z.string().describe("Name of the file").nullable(),
|
|
7
7
|
s3url: zod.z.string().describe("S3 URL of the downloaded file.").nullable(),
|
|
8
8
|
mimetype: zod.z.string().describe("Mime type of the file.").nullable()
|
|
9
|
-
});
|
|
10
|
-
const FinmeiDownloadExpenseFileOutput = zod.z.object({ content: FinmeiDownloadExpenseFile_FileDownloadableSchema.nullable() }).describe("Response containing the downloaded expense file content.");
|
|
9
|
+
}).passthrough();
|
|
10
|
+
const FinmeiDownloadExpenseFileOutput = zod.z.object({ content: FinmeiDownloadExpenseFile_FileDownloadableSchema.nullable() }).passthrough().describe("Response containing the downloaded expense file content.");
|
|
11
11
|
const finmeiDownloadExpenseFile = require_action.action("FINMEI_DOWNLOAD_EXPENSE_FILE", {
|
|
12
12
|
slug: "finmei-download-expense-file",
|
|
13
13
|
name: "Download Expense File",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"download-expense-file.cjs","names":["z","action"],"sources":["../../src/actions/download-expense-file.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FinmeiDownloadExpenseFileInput = z.object({\n id: z.string().describe(\"Unique identifier of the expense to download the file for\"),\n}).describe(\"Request parameters for downloading an expense file.\");\nconst FinmeiDownloadExpenseFile_FileDownloadableSchema = z.object({\n name: z.string().describe(\"Name of the file\").nullable(),\n s3url: z.string().describe(\"S3 URL of the downloaded file.\").nullable(),\n mimetype: z.string().describe(\"Mime type of the file.\").nullable(),\n});\nexport const FinmeiDownloadExpenseFileOutput = z.object({\n content: FinmeiDownloadExpenseFile_FileDownloadableSchema.nullable(),\n}).describe(\"Response containing the downloaded expense file content.\");\n\nexport const finmeiDownloadExpenseFile = action(\"FINMEI_DOWNLOAD_EXPENSE_FILE\", {\n slug: \"finmei-download-expense-file\",\n name: \"Download Expense File\",\n description: \"Tool to download the file associated with an expense. Returns the expense document file (PDF or image). Use when you need to retrieve the actual file content for an expense.\",\n input: FinmeiDownloadExpenseFileInput,\n output: FinmeiDownloadExpenseFileOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,EACrF,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,mDAAmDA,IAAAA,EAAE,OAAO;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACtE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;AACnE,CAAC;
|
|
1
|
+
{"version":3,"file":"download-expense-file.cjs","names":["z","action"],"sources":["../../src/actions/download-expense-file.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FinmeiDownloadExpenseFileInput = z.object({\n id: z.string().describe(\"Unique identifier of the expense to download the file for\"),\n}).describe(\"Request parameters for downloading an expense file.\");\nconst FinmeiDownloadExpenseFile_FileDownloadableSchema = z.object({\n name: z.string().describe(\"Name of the file\").nullable(),\n s3url: z.string().describe(\"S3 URL of the downloaded file.\").nullable(),\n mimetype: z.string().describe(\"Mime type of the file.\").nullable(),\n}).passthrough();\nexport const FinmeiDownloadExpenseFileOutput = z.object({\n content: FinmeiDownloadExpenseFile_FileDownloadableSchema.nullable(),\n}).passthrough().describe(\"Response containing the downloaded expense file content.\");\n\nexport const finmeiDownloadExpenseFile = action(\"FINMEI_DOWNLOAD_EXPENSE_FILE\", {\n slug: \"finmei-download-expense-file\",\n name: \"Download Expense File\",\n description: \"Tool to download the file associated with an expense. Returns the expense document file (PDF or image). Use when you need to retrieve the actual file content for an expense.\",\n input: FinmeiDownloadExpenseFileInput,\n output: FinmeiDownloadExpenseFileOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,EACrF,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,mDAAmDA,IAAAA,EAAE,OAAO;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACtE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,SAAS,iDAAiD,SAAS,EACrE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAA0D;AAEpF,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -9,8 +9,8 @@ declare const FinmeiDownloadExpenseFileOutput: z.ZodObject<{
|
|
|
9
9
|
name: z.ZodNullable<z.ZodString>;
|
|
10
10
|
s3url: z.ZodNullable<z.ZodString>;
|
|
11
11
|
mimetype: z.ZodNullable<z.ZodString>;
|
|
12
|
-
}, z.core.$
|
|
13
|
-
}, z.core.$
|
|
12
|
+
}, z.core.$loose>>;
|
|
13
|
+
}, z.core.$loose>;
|
|
14
14
|
declare const finmeiDownloadExpenseFile: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
15
15
|
id: string;
|
|
16
16
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -9,8 +9,8 @@ declare const FinmeiDownloadExpenseFileOutput: z.ZodObject<{
|
|
|
9
9
|
name: z.ZodNullable<z.ZodString>;
|
|
10
10
|
s3url: z.ZodNullable<z.ZodString>;
|
|
11
11
|
mimetype: z.ZodNullable<z.ZodString>;
|
|
12
|
-
}, z.core.$
|
|
13
|
-
}, z.core.$
|
|
12
|
+
}, z.core.$loose>>;
|
|
13
|
+
}, z.core.$loose>;
|
|
14
14
|
declare const finmeiDownloadExpenseFile: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
15
15
|
id: string;
|
|
16
16
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -6,13 +6,13 @@ const FinmeiDownloadExpenseFile_FileDownloadableSchema = z.object({
|
|
|
6
6
|
name: z.string().describe("Name of the file").nullable(),
|
|
7
7
|
s3url: z.string().describe("S3 URL of the downloaded file.").nullable(),
|
|
8
8
|
mimetype: z.string().describe("Mime type of the file.").nullable()
|
|
9
|
-
});
|
|
9
|
+
}).passthrough();
|
|
10
10
|
const finmeiDownloadExpenseFile = action("FINMEI_DOWNLOAD_EXPENSE_FILE", {
|
|
11
11
|
slug: "finmei-download-expense-file",
|
|
12
12
|
name: "Download Expense File",
|
|
13
13
|
description: "Tool to download the file associated with an expense. Returns the expense document file (PDF or image). Use when you need to retrieve the actual file content for an expense.",
|
|
14
14
|
input: FinmeiDownloadExpenseFileInput,
|
|
15
|
-
output: z.object({ content: FinmeiDownloadExpenseFile_FileDownloadableSchema.nullable() }).describe("Response containing the downloaded expense file content.")
|
|
15
|
+
output: z.object({ content: FinmeiDownloadExpenseFile_FileDownloadableSchema.nullable() }).passthrough().describe("Response containing the downloaded expense file content.")
|
|
16
16
|
});
|
|
17
17
|
//#endregion
|
|
18
18
|
export { finmeiDownloadExpenseFile };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"download-expense-file.mjs","names":[],"sources":["../../src/actions/download-expense-file.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FinmeiDownloadExpenseFileInput = z.object({\n id: z.string().describe(\"Unique identifier of the expense to download the file for\"),\n}).describe(\"Request parameters for downloading an expense file.\");\nconst FinmeiDownloadExpenseFile_FileDownloadableSchema = z.object({\n name: z.string().describe(\"Name of the file\").nullable(),\n s3url: z.string().describe(\"S3 URL of the downloaded file.\").nullable(),\n mimetype: z.string().describe(\"Mime type of the file.\").nullable(),\n});\nexport const FinmeiDownloadExpenseFileOutput = z.object({\n content: FinmeiDownloadExpenseFile_FileDownloadableSchema.nullable(),\n}).describe(\"Response containing the downloaded expense file content.\");\n\nexport const finmeiDownloadExpenseFile = action(\"FINMEI_DOWNLOAD_EXPENSE_FILE\", {\n slug: \"finmei-download-expense-file\",\n name: \"Download Expense File\",\n description: \"Tool to download the file associated with an expense. Returns the expense document file (PDF or image). Use when you need to retrieve the actual file content for an expense.\",\n input: FinmeiDownloadExpenseFileInput,\n output: FinmeiDownloadExpenseFileOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO,EACrD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,EACrF,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,mDAAmD,EAAE,OAAO;CAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACtE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;AACnE,CAAC;
|
|
1
|
+
{"version":3,"file":"download-expense-file.mjs","names":[],"sources":["../../src/actions/download-expense-file.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FinmeiDownloadExpenseFileInput = z.object({\n id: z.string().describe(\"Unique identifier of the expense to download the file for\"),\n}).describe(\"Request parameters for downloading an expense file.\");\nconst FinmeiDownloadExpenseFile_FileDownloadableSchema = z.object({\n name: z.string().describe(\"Name of the file\").nullable(),\n s3url: z.string().describe(\"S3 URL of the downloaded file.\").nullable(),\n mimetype: z.string().describe(\"Mime type of the file.\").nullable(),\n}).passthrough();\nexport const FinmeiDownloadExpenseFileOutput = z.object({\n content: FinmeiDownloadExpenseFile_FileDownloadableSchema.nullable(),\n}).passthrough().describe(\"Response containing the downloaded expense file content.\");\n\nexport const finmeiDownloadExpenseFile = action(\"FINMEI_DOWNLOAD_EXPENSE_FILE\", {\n slug: \"finmei-download-expense-file\",\n name: \"Download Expense File\",\n description: \"Tool to download the file associated with an expense. Returns the expense document file (PDF or image). Use when you need to retrieve the actual file content for an expense.\",\n input: FinmeiDownloadExpenseFileInput,\n output: FinmeiDownloadExpenseFileOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO,EACrD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,EACrF,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,mDAAmD,EAAE,OAAO;CAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACtE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,YAAY;AAKf,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT6C,EAAE,OAAO,EACtD,SAAS,iDAAiD,SAAS,EACrE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAOhB;AACV,CAAC"}
|
|
@@ -6,8 +6,8 @@ const FinmeiDownloadInvoicePdf_FileDownloadableSchema = zod.z.object({
|
|
|
6
6
|
name: zod.z.string().describe("Name of the file").nullable(),
|
|
7
7
|
s3url: zod.z.string().describe("S3 URL of the downloaded file.").nullable(),
|
|
8
8
|
mimetype: zod.z.string().describe("Mime type of the file.").nullable()
|
|
9
|
-
});
|
|
10
|
-
const FinmeiDownloadInvoicePdfOutput = zod.z.object({ file: FinmeiDownloadInvoicePdf_FileDownloadableSchema.nullable() }).describe("Response model returning the downloaded PDF file.");
|
|
9
|
+
}).passthrough();
|
|
10
|
+
const FinmeiDownloadInvoicePdfOutput = zod.z.object({ file: FinmeiDownloadInvoicePdf_FileDownloadableSchema.nullable() }).passthrough().describe("Response model returning the downloaded PDF file.");
|
|
11
11
|
const finmeiDownloadInvoicePdf = require_action.action("FINMEI_DOWNLOAD_INVOICE_PDF", {
|
|
12
12
|
slug: "finmei-download-invoice-pdf",
|
|
13
13
|
name: "Download Invoice PDF",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"download-invoice-pdf.cjs","names":["z","action"],"sources":["../../src/actions/download-invoice-pdf.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FinmeiDownloadInvoicePdfInput = z.object({\n invoice_id: z.string().describe(\"The unique identifier of the invoice to download as PDF\"),\n}).describe(\"Request model for downloading an invoice as a PDF file.\");\nconst FinmeiDownloadInvoicePdf_FileDownloadableSchema = z.object({\n name: z.string().describe(\"Name of the file\").nullable(),\n s3url: z.string().describe(\"S3 URL of the downloaded file.\").nullable(),\n mimetype: z.string().describe(\"Mime type of the file.\").nullable(),\n});\nexport const FinmeiDownloadInvoicePdfOutput = z.object({\n file: FinmeiDownloadInvoicePdf_FileDownloadableSchema.nullable(),\n}).describe(\"Response model returning the downloaded PDF file.\");\n\nexport const finmeiDownloadInvoicePdf = action(\"FINMEI_DOWNLOAD_INVOICE_PDF\", {\n slug: \"finmei-download-invoice-pdf\",\n name: \"Download Invoice PDF\",\n description: \"Tool to download an invoice as a PDF file. Use when you need to retrieve the PDF version of an invoice.\",\n input: FinmeiDownloadInvoicePdfInput,\n output: FinmeiDownloadInvoicePdfOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,EAC3F,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,kDAAkDA,IAAAA,EAAE,OAAO;CAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACtE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;AACnE,CAAC;
|
|
1
|
+
{"version":3,"file":"download-invoice-pdf.cjs","names":["z","action"],"sources":["../../src/actions/download-invoice-pdf.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FinmeiDownloadInvoicePdfInput = z.object({\n invoice_id: z.string().describe(\"The unique identifier of the invoice to download as PDF\"),\n}).describe(\"Request model for downloading an invoice as a PDF file.\");\nconst FinmeiDownloadInvoicePdf_FileDownloadableSchema = z.object({\n name: z.string().describe(\"Name of the file\").nullable(),\n s3url: z.string().describe(\"S3 URL of the downloaded file.\").nullable(),\n mimetype: z.string().describe(\"Mime type of the file.\").nullable(),\n}).passthrough();\nexport const FinmeiDownloadInvoicePdfOutput = z.object({\n file: FinmeiDownloadInvoicePdf_FileDownloadableSchema.nullable(),\n}).passthrough().describe(\"Response model returning the downloaded PDF file.\");\n\nexport const finmeiDownloadInvoicePdf = action(\"FINMEI_DOWNLOAD_INVOICE_PDF\", {\n slug: \"finmei-download-invoice-pdf\",\n name: \"Download Invoice PDF\",\n description: \"Tool to download an invoice as a PDF file. Use when you need to retrieve the PDF version of an invoice.\",\n input: FinmeiDownloadInvoicePdfInput,\n output: FinmeiDownloadInvoicePdfOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,EAC3F,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,kDAAkDA,IAAAA,EAAE,OAAO;CAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACtE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,MAAM,gDAAgD,SAAS,EACjE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAE7E,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -9,8 +9,8 @@ declare const FinmeiDownloadInvoicePdfOutput: z.ZodObject<{
|
|
|
9
9
|
name: z.ZodNullable<z.ZodString>;
|
|
10
10
|
s3url: z.ZodNullable<z.ZodString>;
|
|
11
11
|
mimetype: z.ZodNullable<z.ZodString>;
|
|
12
|
-
}, z.core.$
|
|
13
|
-
}, z.core.$
|
|
12
|
+
}, z.core.$loose>>;
|
|
13
|
+
}, z.core.$loose>;
|
|
14
14
|
declare const finmeiDownloadInvoicePdf: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
15
15
|
invoice_id: string;
|
|
16
16
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -9,8 +9,8 @@ declare const FinmeiDownloadInvoicePdfOutput: z.ZodObject<{
|
|
|
9
9
|
name: z.ZodNullable<z.ZodString>;
|
|
10
10
|
s3url: z.ZodNullable<z.ZodString>;
|
|
11
11
|
mimetype: z.ZodNullable<z.ZodString>;
|
|
12
|
-
}, z.core.$
|
|
13
|
-
}, z.core.$
|
|
12
|
+
}, z.core.$loose>>;
|
|
13
|
+
}, z.core.$loose>;
|
|
14
14
|
declare const finmeiDownloadInvoicePdf: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
15
15
|
invoice_id: string;
|
|
16
16
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -6,13 +6,13 @@ const FinmeiDownloadInvoicePdf_FileDownloadableSchema = z.object({
|
|
|
6
6
|
name: z.string().describe("Name of the file").nullable(),
|
|
7
7
|
s3url: z.string().describe("S3 URL of the downloaded file.").nullable(),
|
|
8
8
|
mimetype: z.string().describe("Mime type of the file.").nullable()
|
|
9
|
-
});
|
|
9
|
+
}).passthrough();
|
|
10
10
|
const finmeiDownloadInvoicePdf = action("FINMEI_DOWNLOAD_INVOICE_PDF", {
|
|
11
11
|
slug: "finmei-download-invoice-pdf",
|
|
12
12
|
name: "Download Invoice PDF",
|
|
13
13
|
description: "Tool to download an invoice as a PDF file. Use when you need to retrieve the PDF version of an invoice.",
|
|
14
14
|
input: FinmeiDownloadInvoicePdfInput,
|
|
15
|
-
output: z.object({ file: FinmeiDownloadInvoicePdf_FileDownloadableSchema.nullable() }).describe("Response model returning the downloaded PDF file.")
|
|
15
|
+
output: z.object({ file: FinmeiDownloadInvoicePdf_FileDownloadableSchema.nullable() }).passthrough().describe("Response model returning the downloaded PDF file.")
|
|
16
16
|
});
|
|
17
17
|
//#endregion
|
|
18
18
|
export { finmeiDownloadInvoicePdf };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"download-invoice-pdf.mjs","names":[],"sources":["../../src/actions/download-invoice-pdf.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FinmeiDownloadInvoicePdfInput = z.object({\n invoice_id: z.string().describe(\"The unique identifier of the invoice to download as PDF\"),\n}).describe(\"Request model for downloading an invoice as a PDF file.\");\nconst FinmeiDownloadInvoicePdf_FileDownloadableSchema = z.object({\n name: z.string().describe(\"Name of the file\").nullable(),\n s3url: z.string().describe(\"S3 URL of the downloaded file.\").nullable(),\n mimetype: z.string().describe(\"Mime type of the file.\").nullable(),\n});\nexport const FinmeiDownloadInvoicePdfOutput = z.object({\n file: FinmeiDownloadInvoicePdf_FileDownloadableSchema.nullable(),\n}).describe(\"Response model returning the downloaded PDF file.\");\n\nexport const finmeiDownloadInvoicePdf = action(\"FINMEI_DOWNLOAD_INVOICE_PDF\", {\n slug: \"finmei-download-invoice-pdf\",\n name: \"Download Invoice PDF\",\n description: \"Tool to download an invoice as a PDF file. Use when you need to retrieve the PDF version of an invoice.\",\n input: FinmeiDownloadInvoicePdfInput,\n output: FinmeiDownloadInvoicePdfOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgC,EAAE,OAAO,EACpD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,EAC3F,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,kDAAkD,EAAE,OAAO;CAC/D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACtE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;AACnE,CAAC;
|
|
1
|
+
{"version":3,"file":"download-invoice-pdf.mjs","names":[],"sources":["../../src/actions/download-invoice-pdf.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FinmeiDownloadInvoicePdfInput = z.object({\n invoice_id: z.string().describe(\"The unique identifier of the invoice to download as PDF\"),\n}).describe(\"Request model for downloading an invoice as a PDF file.\");\nconst FinmeiDownloadInvoicePdf_FileDownloadableSchema = z.object({\n name: z.string().describe(\"Name of the file\").nullable(),\n s3url: z.string().describe(\"S3 URL of the downloaded file.\").nullable(),\n mimetype: z.string().describe(\"Mime type of the file.\").nullable(),\n}).passthrough();\nexport const FinmeiDownloadInvoicePdfOutput = z.object({\n file: FinmeiDownloadInvoicePdf_FileDownloadableSchema.nullable(),\n}).passthrough().describe(\"Response model returning the downloaded PDF file.\");\n\nexport const finmeiDownloadInvoicePdf = action(\"FINMEI_DOWNLOAD_INVOICE_PDF\", {\n slug: \"finmei-download-invoice-pdf\",\n name: \"Download Invoice PDF\",\n description: \"Tool to download an invoice as a PDF file. Use when you need to retrieve the PDF version of an invoice.\",\n input: FinmeiDownloadInvoicePdfInput,\n output: FinmeiDownloadInvoicePdfOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgC,EAAE,OAAO,EACpD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,EAC3F,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,kDAAkD,EAAE,OAAO;CAC/D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACtE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,YAAY;AAKf,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT4C,EAAE,OAAO,EACrD,MAAM,gDAAgD,SAAS,EACjE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAOhB;AACV,CAAC"}
|
|
@@ -10,8 +10,8 @@ const FinmeiGetExpense_ExpenseDataSchema = zod.z.object({
|
|
|
10
10
|
currency: zod.z.string().describe("Currency code of the expense").nullable(),
|
|
11
11
|
created_at: zod.z.number().int().describe("Unix timestamp when the expense was created").nullable(),
|
|
12
12
|
updated_at: zod.z.number().int().describe("Unix timestamp when the expense was last updated").nullable()
|
|
13
|
-
}).describe("Expense data object returned by the API");
|
|
14
|
-
const FinmeiGetExpenseOutput = zod.z.object({ data: FinmeiGetExpense_ExpenseDataSchema.nullable() }).describe("Response model containing expense data");
|
|
13
|
+
}).passthrough().describe("Expense data object returned by the API");
|
|
14
|
+
const FinmeiGetExpenseOutput = zod.z.object({ data: FinmeiGetExpense_ExpenseDataSchema.nullable() }).passthrough().describe("Response model containing expense data");
|
|
15
15
|
const finmeiGetExpense = require_action.action("FINMEI_GET_EXPENSE", {
|
|
16
16
|
slug: "finmei-get-expense",
|
|
17
17
|
name: "Get Expense by ID",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-expense.cjs","names":["z","action"],"sources":["../../src/actions/get-expense.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FinmeiGetExpenseInput = z.object({\n id: z.string().describe(\"Unique identifier of the expense to retrieve\"),\n}).describe(\"Request model for GET /expenses/{id}\");\nconst FinmeiGetExpense_ExpenseDataSchema = z.object({\n id: z.string().describe(\"Unique identifier of the expense\").nullable(),\n date: z.string().describe(\"Date of the expense\").nullable(),\n total: z.number().describe(\"Total amount of the expense\").nullable(),\n seller: z.string().describe(\"Seller or vendor name\").nullable(),\n currency: z.string().describe(\"Currency code of the expense\").nullable(),\n created_at: z.number().int().describe(\"Unix timestamp when the expense was created\").nullable(),\n updated_at: z.number().int().describe(\"Unix timestamp when the expense was last updated\").nullable(),\n}).describe(\"Expense data object returned by the API\");\nexport const FinmeiGetExpenseOutput = z.object({\n data: FinmeiGetExpense_ExpenseDataSchema.nullable(),\n}).describe(\"Response model containing expense data\");\n\nexport const finmeiGetExpense = action(\"FINMEI_GET_EXPENSE\", {\n slug: \"finmei-get-expense\",\n name: \"Get Expense by ID\",\n description: \"Tool to retrieve a single expense by its ID. Use when you need to get details about a specific expense including date, total, currency, and seller information.\",\n input: FinmeiGetExpenseInput,\n output: FinmeiGetExpenseOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO,EAC5C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,EACxE,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAClD,MAAM,qCAAqCA,IAAAA,EAAE,OAAO;CAClD,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,6BAA6B,CAAC,CAAC,SAAS;CACnE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC9D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACvE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAC9F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,SAAS,yCAAyC;
|
|
1
|
+
{"version":3,"file":"get-expense.cjs","names":["z","action"],"sources":["../../src/actions/get-expense.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FinmeiGetExpenseInput = z.object({\n id: z.string().describe(\"Unique identifier of the expense to retrieve\"),\n}).describe(\"Request model for GET /expenses/{id}\");\nconst FinmeiGetExpense_ExpenseDataSchema = z.object({\n id: z.string().describe(\"Unique identifier of the expense\").nullable(),\n date: z.string().describe(\"Date of the expense\").nullable(),\n total: z.number().describe(\"Total amount of the expense\").nullable(),\n seller: z.string().describe(\"Seller or vendor name\").nullable(),\n currency: z.string().describe(\"Currency code of the expense\").nullable(),\n created_at: z.number().int().describe(\"Unix timestamp when the expense was created\").nullable(),\n updated_at: z.number().int().describe(\"Unix timestamp when the expense was last updated\").nullable(),\n}).passthrough().describe(\"Expense data object returned by the API\");\nexport const FinmeiGetExpenseOutput = z.object({\n data: FinmeiGetExpense_ExpenseDataSchema.nullable(),\n}).passthrough().describe(\"Response model containing expense data\");\n\nexport const finmeiGetExpense = action(\"FINMEI_GET_EXPENSE\", {\n slug: \"finmei-get-expense\",\n name: \"Get Expense by ID\",\n description: \"Tool to retrieve a single expense by its ID. Use when you need to get details about a specific expense including date, total, currency, and seller information.\",\n input: FinmeiGetExpenseInput,\n output: FinmeiGetExpenseOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO,EAC5C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,EACxE,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAClD,MAAM,qCAAqCA,IAAAA,EAAE,OAAO;CAClD,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,6BAA6B,CAAC,CAAC,SAAS;CACnE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC9D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACvE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAC9F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AACnE,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,EAC7C,MAAM,mCAAmC,SAAS,EACpD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAElE,MAAa,mBAAmBC,eAAAA,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -13,8 +13,8 @@ declare const FinmeiGetExpenseOutput: z.ZodObject<{
|
|
|
13
13
|
currency: z.ZodNullable<z.ZodString>;
|
|
14
14
|
created_at: z.ZodNullable<z.ZodNumber>;
|
|
15
15
|
updated_at: z.ZodNullable<z.ZodNumber>;
|
|
16
|
-
}, z.core.$
|
|
17
|
-
}, z.core.$
|
|
16
|
+
}, z.core.$loose>>;
|
|
17
|
+
}, z.core.$loose>;
|
|
18
18
|
declare const finmeiGetExpense: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
19
19
|
id: string;
|
|
20
20
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -13,8 +13,8 @@ declare const FinmeiGetExpenseOutput: z.ZodObject<{
|
|
|
13
13
|
currency: z.ZodNullable<z.ZodString>;
|
|
14
14
|
created_at: z.ZodNullable<z.ZodNumber>;
|
|
15
15
|
updated_at: z.ZodNullable<z.ZodNumber>;
|
|
16
|
-
}, z.core.$
|
|
17
|
-
}, z.core.$
|
|
16
|
+
}, z.core.$loose>>;
|
|
17
|
+
}, z.core.$loose>;
|
|
18
18
|
declare const finmeiGetExpense: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
19
19
|
id: string;
|
|
20
20
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -10,13 +10,13 @@ const FinmeiGetExpense_ExpenseDataSchema = z.object({
|
|
|
10
10
|
currency: z.string().describe("Currency code of the expense").nullable(),
|
|
11
11
|
created_at: z.number().int().describe("Unix timestamp when the expense was created").nullable(),
|
|
12
12
|
updated_at: z.number().int().describe("Unix timestamp when the expense was last updated").nullable()
|
|
13
|
-
}).describe("Expense data object returned by the API");
|
|
13
|
+
}).passthrough().describe("Expense data object returned by the API");
|
|
14
14
|
const finmeiGetExpense = action("FINMEI_GET_EXPENSE", {
|
|
15
15
|
slug: "finmei-get-expense",
|
|
16
16
|
name: "Get Expense by ID",
|
|
17
17
|
description: "Tool to retrieve a single expense by its ID. Use when you need to get details about a specific expense including date, total, currency, and seller information.",
|
|
18
18
|
input: FinmeiGetExpenseInput,
|
|
19
|
-
output: z.object({ data: FinmeiGetExpense_ExpenseDataSchema.nullable() }).describe("Response model containing expense data")
|
|
19
|
+
output: z.object({ data: FinmeiGetExpense_ExpenseDataSchema.nullable() }).passthrough().describe("Response model containing expense data")
|
|
20
20
|
});
|
|
21
21
|
//#endregion
|
|
22
22
|
export { finmeiGetExpense };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-expense.mjs","names":[],"sources":["../../src/actions/get-expense.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FinmeiGetExpenseInput = z.object({\n id: z.string().describe(\"Unique identifier of the expense to retrieve\"),\n}).describe(\"Request model for GET /expenses/{id}\");\nconst FinmeiGetExpense_ExpenseDataSchema = z.object({\n id: z.string().describe(\"Unique identifier of the expense\").nullable(),\n date: z.string().describe(\"Date of the expense\").nullable(),\n total: z.number().describe(\"Total amount of the expense\").nullable(),\n seller: z.string().describe(\"Seller or vendor name\").nullable(),\n currency: z.string().describe(\"Currency code of the expense\").nullable(),\n created_at: z.number().int().describe(\"Unix timestamp when the expense was created\").nullable(),\n updated_at: z.number().int().describe(\"Unix timestamp when the expense was last updated\").nullable(),\n}).describe(\"Expense data object returned by the API\");\nexport const FinmeiGetExpenseOutput = z.object({\n data: FinmeiGetExpense_ExpenseDataSchema.nullable(),\n}).describe(\"Response model containing expense data\");\n\nexport const finmeiGetExpense = action(\"FINMEI_GET_EXPENSE\", {\n slug: \"finmei-get-expense\",\n name: \"Get Expense by ID\",\n description: \"Tool to retrieve a single expense by its ID. Use when you need to get details about a specific expense including date, total, currency, and seller information.\",\n input: FinmeiGetExpenseInput,\n output: FinmeiGetExpenseOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwB,EAAE,OAAO,EAC5C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,EACxE,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAClD,MAAM,qCAAqC,EAAE,OAAO;CAClD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACrE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC1D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACnE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC9D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACvE,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAC9F,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,SAAS,yCAAyC;
|
|
1
|
+
{"version":3,"file":"get-expense.mjs","names":[],"sources":["../../src/actions/get-expense.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FinmeiGetExpenseInput = z.object({\n id: z.string().describe(\"Unique identifier of the expense to retrieve\"),\n}).describe(\"Request model for GET /expenses/{id}\");\nconst FinmeiGetExpense_ExpenseDataSchema = z.object({\n id: z.string().describe(\"Unique identifier of the expense\").nullable(),\n date: z.string().describe(\"Date of the expense\").nullable(),\n total: z.number().describe(\"Total amount of the expense\").nullable(),\n seller: z.string().describe(\"Seller or vendor name\").nullable(),\n currency: z.string().describe(\"Currency code of the expense\").nullable(),\n created_at: z.number().int().describe(\"Unix timestamp when the expense was created\").nullable(),\n updated_at: z.number().int().describe(\"Unix timestamp when the expense was last updated\").nullable(),\n}).passthrough().describe(\"Expense data object returned by the API\");\nexport const FinmeiGetExpenseOutput = z.object({\n data: FinmeiGetExpense_ExpenseDataSchema.nullable(),\n}).passthrough().describe(\"Response model containing expense data\");\n\nexport const finmeiGetExpense = action(\"FINMEI_GET_EXPENSE\", {\n slug: \"finmei-get-expense\",\n name: \"Get Expense by ID\",\n description: \"Tool to retrieve a single expense by its ID. Use when you need to get details about a specific expense including date, total, currency, and seller information.\",\n input: FinmeiGetExpenseInput,\n output: FinmeiGetExpenseOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwB,EAAE,OAAO,EAC5C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,EACxE,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAClD,MAAM,qCAAqC,EAAE,OAAO;CAClD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACrE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC1D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACnE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC9D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACvE,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAC9F,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AAKnE,MAAa,mBAAmB,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAToC,EAAE,OAAO,EAC7C,MAAM,mCAAmC,SAAS,EACpD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAOhB;AACV,CAAC"}
|
|
@@ -13,7 +13,7 @@ const FinmeiGetInvoice_BuyerSchema = zod.z.object({
|
|
|
13
13
|
company_code: zod.z.string().describe("Company registration code").nullable().optional(),
|
|
14
14
|
company_name: zod.z.string().describe("Company name (for company buyers)").nullable().optional(),
|
|
15
15
|
individual_tax_id: zod.z.string().describe("Individual tax ID").nullable().optional()
|
|
16
|
-
}).describe("Buyer/customer information on the invoice");
|
|
16
|
+
}).passthrough().describe("Buyer/customer information on the invoice");
|
|
17
17
|
const FinmeiGetInvoice_InvoiceItemSchema = zod.z.object({
|
|
18
18
|
id: zod.z.string().describe("Unique item identifier").nullable(),
|
|
19
19
|
name: zod.z.string().describe("Item/product/service name").nullable(),
|
|
@@ -21,7 +21,7 @@ const FinmeiGetInvoice_InvoiceItemSchema = zod.z.object({
|
|
|
21
21
|
units: zod.z.string().describe("Unit of measurement (hours, pcs, etc.)").nullable(),
|
|
22
22
|
quantity: zod.z.number().describe("Quantity").nullable(),
|
|
23
23
|
vat_percentage: zod.z.number().describe("VAT/tax percentage applied").nullable().optional()
|
|
24
|
-
}).describe("Line item on the invoice");
|
|
24
|
+
}).passthrough().describe("Line item on the invoice");
|
|
25
25
|
const FinmeiGetInvoice_SellerSchema = zod.z.object({
|
|
26
26
|
email: zod.z.string().describe("Business email").nullable().optional(),
|
|
27
27
|
phone: zod.z.string().describe("Business phone number").nullable().optional(),
|
|
@@ -33,7 +33,7 @@ const FinmeiGetInvoice_SellerSchema = zod.z.object({
|
|
|
33
33
|
company_name: zod.z.string().describe("Company name (for company sellers)").nullable().optional(),
|
|
34
34
|
business_type: zod.z.string().describe("Type of business (company or individual)").nullable().optional(),
|
|
35
35
|
individual_tax_id: zod.z.string().describe("Individual tax ID").nullable().optional()
|
|
36
|
-
}).describe("Seller/business information on the invoice");
|
|
36
|
+
}).passthrough().describe("Seller/business information on the invoice");
|
|
37
37
|
const FinmeiGetInvoiceOutput = zod.z.object({
|
|
38
38
|
id: zod.z.string().describe("Unique invoice identifier").nullable(),
|
|
39
39
|
vat: zod.z.number().describe("Total VAT/tax amount").nullable(),
|
|
@@ -55,8 +55,8 @@ const FinmeiGetInvoiceOutput = zod.z.object({
|
|
|
55
55
|
pay_until_date: zod.z.string().describe("Payment due date in YYYY-MM-DD format").nullable().optional(),
|
|
56
56
|
payment_status: zod.z.string().describe("Payment status (not_paid, paid, partially_paid, etc.)").nullable(),
|
|
57
57
|
total_incl_vat: zod.z.number().describe("Total amount including VAT").nullable(),
|
|
58
|
-
payment_options: zod.z.array(zod.z.
|
|
59
|
-
}).describe("Complete invoice details returned by the API.");
|
|
58
|
+
payment_options: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("Available payment options").nullable().optional()
|
|
59
|
+
}).passthrough().describe("Complete invoice details returned by the API.");
|
|
60
60
|
const finmeiGetInvoice = require_action.action("FINMEI_GET_INVOICE", {
|
|
61
61
|
slug: "finmei-get-invoice",
|
|
62
62
|
name: "Get Invoice by ID",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-invoice.cjs","names":["z","action"],"sources":["../../src/actions/get-invoice.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FinmeiGetInvoiceInput = z.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.
|
|
1
|
+
{"version":3,"file":"get-invoice.cjs","names":["z","action"],"sources":["../../src/actions/get-invoice.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FinmeiGetInvoiceInput = z.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":"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"}
|