@keystrokehq/finmei 0.1.5 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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 -23
- package/dist/actions/create-expense.d.cts.map +1 -1
- package/dist/actions/create-expense.d.mts +3 -23
- 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 -57
- package/dist/actions/create-invoice.d.cts.map +1 -1
- package/dist/actions/create-invoice.d.mts +3 -57
- 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 -15
- package/dist/actions/delete-customer.d.cts.map +1 -1
- package/dist/actions/delete-customer.d.mts +3 -15
- 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 -15
- package/dist/actions/delete-invoice.d.cts.map +1 -1
- package/dist/actions/delete-invoice.d.mts +3 -15
- 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 -15
- package/dist/actions/delete-payment.d.cts.map +1 -1
- package/dist/actions/delete-payment.d.mts +3 -15
- 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 -15
- package/dist/actions/delete-product.d.cts.map +1 -1
- package/dist/actions/delete-product.d.mts +3 -15
- 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 -15
- package/dist/actions/download-expense-file.d.cts.map +1 -1
- package/dist/actions/download-expense-file.d.mts +3 -15
- 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 -15
- package/dist/actions/download-invoice-pdf.d.cts.map +1 -1
- package/dist/actions/download-invoice-pdf.d.mts +3 -15
- 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 -15
- package/dist/actions/get-expense.d.cts.map +1 -1
- package/dist/actions/get-expense.d.mts +3 -15
- 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 -15
- package/dist/actions/get-invoice.d.cts.map +1 -1
- package/dist/actions/get-invoice.d.mts +3 -15
- 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 -15
- package/dist/actions/get-payment.d.cts.map +1 -1
- package/dist/actions/get-payment.d.mts +3 -15
- 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 -15
- package/dist/actions/get-product.d.cts.map +1 -1
- package/dist/actions/get-product.d.mts +3 -15
- 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 -13
- package/dist/actions/get-profile.d.cts.map +1 -1
- package/dist/actions/get-profile.d.mts +3 -13
- 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 -13
- package/dist/actions/list-currencies.d.cts.map +1 -1
- package/dist/actions/list-currencies.d.mts +3 -13
- 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 -18
- package/dist/actions/list-customers.d.cts.map +1 -1
- package/dist/actions/list-customers.d.mts +3 -18
- 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 -16
- package/dist/actions/list-expenses.d.cts.map +1 -1
- package/dist/actions/list-expenses.d.mts +3 -16
- 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 -16
- package/dist/actions/list-invoices.d.cts.map +1 -1
- package/dist/actions/list-invoices.d.mts +3 -16
- 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 -19
- package/dist/actions/list-payments.d.cts.map +1 -1
- package/dist/actions/list-payments.d.mts +3 -19
- 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 -18
- package/dist/actions/list-products.d.cts.map +1 -1
- package/dist/actions/list-products.d.mts +3 -18
- 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 -26
- package/dist/actions/update-customer.d.cts.map +1 -1
- package/dist/actions/update-customer.d.mts +3 -26
- 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 -20
- package/dist/actions/update-expense-file.d.cts.map +1 -1
- package/dist/actions/update-expense-file.d.mts +3 -20
- 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 -19
- package/dist/actions/update-expense.d.cts.map +1 -1
- package/dist/actions/update-expense.d.mts +3 -19
- 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 -53
- package/dist/actions/update-invoice.d.cts.map +1 -1
- package/dist/actions/update-invoice.d.mts +3 -53
- 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 -19
- package/dist/actions/update-product.d.cts.map +1 -1
- package/dist/actions/update-product.d.mts +3 -19
- 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 +2 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +4 -6
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +4 -6
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +0 -1
- 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":"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":"
|
|
1
|
+
{"version":3,"file":"delete-invoice.cjs","names":["z","action"],"sources":["../../src/actions/delete-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 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: AppAction<\n typeof FinmeiDeleteInvoiceInput,\n typeof FinmeiDeleteInvoiceOutput,\n typeof finmei.credential\n> = 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":";;;;AAMA,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,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/delete-invoice.d.ts
|
|
@@ -8,21 +10,7 @@ declare const FinmeiDeleteInvoiceOutput: z.ZodObject<{
|
|
|
8
10
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
11
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
10
12
|
}, z.core.$loose>;
|
|
11
|
-
declare const finmeiDeleteInvoice:
|
|
12
|
-
invoice_id: string;
|
|
13
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"finmei", z.ZodObject<{
|
|
14
|
-
connectionId: z.ZodString;
|
|
15
|
-
entityId: z.ZodString;
|
|
16
|
-
instanceId: z.ZodString;
|
|
17
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
18
|
-
generic_api_key: z.ZodString;
|
|
19
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"finmei", z.ZodObject<{
|
|
20
|
-
connectionId: z.ZodString;
|
|
21
|
-
entityId: z.ZodString;
|
|
22
|
-
instanceId: z.ZodString;
|
|
23
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
24
|
-
generic_api_key: z.ZodString;
|
|
25
|
-
}, z.core.$strip>>]>;
|
|
13
|
+
declare const finmeiDeleteInvoice: AppAction<typeof FinmeiDeleteInvoiceInput, typeof FinmeiDeleteInvoiceOutput, typeof finmei.credential>;
|
|
26
14
|
//#endregion
|
|
27
15
|
export { finmeiDeleteInvoice };
|
|
28
16
|
//# sourceMappingURL=delete-invoice.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-invoice.d.cts","names":[],"sources":["../../src/actions/delete-invoice.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-invoice.d.cts","names":[],"sources":["../../src/actions/delete-invoice.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAGxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cAKzB,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/delete-invoice.d.ts
|
|
@@ -8,21 +10,7 @@ declare const FinmeiDeleteInvoiceOutput: z.ZodObject<{
|
|
|
8
10
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
11
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
10
12
|
}, z.core.$loose>;
|
|
11
|
-
declare const finmeiDeleteInvoice:
|
|
12
|
-
invoice_id: string;
|
|
13
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"finmei", z.ZodObject<{
|
|
14
|
-
connectionId: z.ZodString;
|
|
15
|
-
entityId: z.ZodString;
|
|
16
|
-
instanceId: z.ZodString;
|
|
17
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
18
|
-
generic_api_key: z.ZodString;
|
|
19
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"finmei", z.ZodObject<{
|
|
20
|
-
connectionId: z.ZodString;
|
|
21
|
-
entityId: z.ZodString;
|
|
22
|
-
instanceId: z.ZodString;
|
|
23
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
24
|
-
generic_api_key: z.ZodString;
|
|
25
|
-
}, z.core.$strip>>]>;
|
|
13
|
+
declare const finmeiDeleteInvoice: AppAction<typeof FinmeiDeleteInvoiceInput, typeof FinmeiDeleteInvoiceOutput, typeof finmei.credential>;
|
|
26
14
|
//#endregion
|
|
27
15
|
export { finmeiDeleteInvoice };
|
|
28
16
|
//# sourceMappingURL=delete-invoice.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-invoice.d.mts","names":[],"sources":["../../src/actions/delete-invoice.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-invoice.d.mts","names":[],"sources":["../../src/actions/delete-invoice.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAGxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cAKzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"delete-invoice.mjs","names":[],"sources":["../../src/actions/delete-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 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: AppAction<\n typeof FinmeiDeleteInvoiceInput,\n typeof FinmeiDeleteInvoiceOutput,\n typeof finmei.credential\n> = 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":";;;AAcA,MAAa,sBAIT,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBsC,EAAE,OAAO,EAC/C,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,EAClF,CAAC,CAAC,CAAC,SAAS,kDAcH;CACP,QAduC,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,2CAWhB;AACV,CAAC"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"delete-payment.cjs","names":["z","action"],"sources":["../../src/actions/delete-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 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: AppAction<\n typeof FinmeiDeletePaymentInput,\n typeof FinmeiDeletePaymentOutput,\n typeof finmei.credential\n> = 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":";;;;AAMA,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,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/delete-payment.d.ts
|
|
@@ -7,21 +9,7 @@ declare const FinmeiDeletePaymentInput: z.ZodObject<{
|
|
|
7
9
|
declare const FinmeiDeletePaymentOutput: z.ZodObject<{
|
|
8
10
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
9
11
|
}, z.core.$loose>;
|
|
10
|
-
declare const finmeiDeletePayment:
|
|
11
|
-
payment_id: string;
|
|
12
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"finmei", z.ZodObject<{
|
|
13
|
-
connectionId: z.ZodString;
|
|
14
|
-
entityId: z.ZodString;
|
|
15
|
-
instanceId: z.ZodString;
|
|
16
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
17
|
-
generic_api_key: z.ZodString;
|
|
18
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"finmei", z.ZodObject<{
|
|
19
|
-
connectionId: z.ZodString;
|
|
20
|
-
entityId: z.ZodString;
|
|
21
|
-
instanceId: z.ZodString;
|
|
22
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
23
|
-
generic_api_key: z.ZodString;
|
|
24
|
-
}, z.core.$strip>>]>;
|
|
12
|
+
declare const finmeiDeletePayment: AppAction<typeof FinmeiDeletePaymentInput, typeof FinmeiDeletePaymentOutput, typeof finmei.credential>;
|
|
25
13
|
//#endregion
|
|
26
14
|
export { finmeiDeletePayment };
|
|
27
15
|
//# sourceMappingURL=delete-payment.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-payment.d.cts","names":[],"sources":["../../src/actions/delete-payment.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-payment.d.cts","names":[],"sources":["../../src/actions/delete-payment.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAGxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAIzB,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/delete-payment.d.ts
|
|
@@ -7,21 +9,7 @@ declare const FinmeiDeletePaymentInput: z.ZodObject<{
|
|
|
7
9
|
declare const FinmeiDeletePaymentOutput: z.ZodObject<{
|
|
8
10
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
9
11
|
}, z.core.$loose>;
|
|
10
|
-
declare const finmeiDeletePayment:
|
|
11
|
-
payment_id: string;
|
|
12
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"finmei", z.ZodObject<{
|
|
13
|
-
connectionId: z.ZodString;
|
|
14
|
-
entityId: z.ZodString;
|
|
15
|
-
instanceId: z.ZodString;
|
|
16
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
17
|
-
generic_api_key: z.ZodString;
|
|
18
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"finmei", z.ZodObject<{
|
|
19
|
-
connectionId: z.ZodString;
|
|
20
|
-
entityId: z.ZodString;
|
|
21
|
-
instanceId: z.ZodString;
|
|
22
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
23
|
-
generic_api_key: z.ZodString;
|
|
24
|
-
}, z.core.$strip>>]>;
|
|
12
|
+
declare const finmeiDeletePayment: AppAction<typeof FinmeiDeletePaymentInput, typeof FinmeiDeletePaymentOutput, typeof finmei.credential>;
|
|
25
13
|
//#endregion
|
|
26
14
|
export { finmeiDeletePayment };
|
|
27
15
|
//# sourceMappingURL=delete-payment.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-payment.d.mts","names":[],"sources":["../../src/actions/delete-payment.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-payment.d.mts","names":[],"sources":["../../src/actions/delete-payment.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAGxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAIzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"delete-payment.mjs","names":[],"sources":["../../src/actions/delete-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 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: AppAction<\n typeof FinmeiDeletePaymentInput,\n typeof FinmeiDeletePaymentOutput,\n typeof finmei.credential\n> = 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":";;;AAaA,MAAa,sBAIT,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfsC,EAAE,OAAO,EAC/C,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kHAAkH,EACpJ,CAAC,CAAC,CAAC,SAAS,uCAaH;CACP,QAbuC,EAAE,OAAO,EAChD,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS,EAC1K,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAWhB;AACV,CAAC"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"delete-product.cjs","names":["z","action"],"sources":["../../src/actions/delete-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 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: AppAction<\n typeof FinmeiDeleteProductInput,\n typeof FinmeiDeleteProductOutput,\n typeof finmei.credential\n> = 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":";;;;AAMA,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,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/delete-product.d.ts
|
|
@@ -8,21 +10,7 @@ declare const FinmeiDeleteProductOutput: z.ZodObject<{
|
|
|
8
10
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
11
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
10
12
|
}, z.core.$loose>;
|
|
11
|
-
declare const finmeiDeleteProduct:
|
|
12
|
-
product_id: string;
|
|
13
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"finmei", z.ZodObject<{
|
|
14
|
-
connectionId: z.ZodString;
|
|
15
|
-
entityId: z.ZodString;
|
|
16
|
-
instanceId: z.ZodString;
|
|
17
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
18
|
-
generic_api_key: z.ZodString;
|
|
19
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"finmei", z.ZodObject<{
|
|
20
|
-
connectionId: z.ZodString;
|
|
21
|
-
entityId: z.ZodString;
|
|
22
|
-
instanceId: z.ZodString;
|
|
23
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
24
|
-
generic_api_key: z.ZodString;
|
|
25
|
-
}, z.core.$strip>>]>;
|
|
13
|
+
declare const finmeiDeleteProduct: AppAction<typeof FinmeiDeleteProductInput, typeof FinmeiDeleteProductOutput, typeof finmei.credential>;
|
|
26
14
|
//#endregion
|
|
27
15
|
export { finmeiDeleteProduct };
|
|
28
16
|
//# sourceMappingURL=delete-product.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-product.d.cts","names":[],"sources":["../../src/actions/delete-product.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-product.d.cts","names":[],"sources":["../../src/actions/delete-product.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAGxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cAKzB,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/delete-product.d.ts
|
|
@@ -8,21 +10,7 @@ declare const FinmeiDeleteProductOutput: z.ZodObject<{
|
|
|
8
10
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
11
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
10
12
|
}, z.core.$loose>;
|
|
11
|
-
declare const finmeiDeleteProduct:
|
|
12
|
-
product_id: string;
|
|
13
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"finmei", z.ZodObject<{
|
|
14
|
-
connectionId: z.ZodString;
|
|
15
|
-
entityId: z.ZodString;
|
|
16
|
-
instanceId: z.ZodString;
|
|
17
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
18
|
-
generic_api_key: z.ZodString;
|
|
19
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"finmei", z.ZodObject<{
|
|
20
|
-
connectionId: z.ZodString;
|
|
21
|
-
entityId: z.ZodString;
|
|
22
|
-
instanceId: z.ZodString;
|
|
23
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
24
|
-
generic_api_key: z.ZodString;
|
|
25
|
-
}, z.core.$strip>>]>;
|
|
13
|
+
declare const finmeiDeleteProduct: AppAction<typeof FinmeiDeleteProductInput, typeof FinmeiDeleteProductOutput, typeof finmei.credential>;
|
|
26
14
|
//#endregion
|
|
27
15
|
export { finmeiDeleteProduct };
|
|
28
16
|
//# sourceMappingURL=delete-product.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-product.d.mts","names":[],"sources":["../../src/actions/delete-product.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-product.d.mts","names":[],"sources":["../../src/actions/delete-product.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAGxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cAKzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"delete-product.mjs","names":[],"sources":["../../src/actions/delete-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 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: AppAction<\n typeof FinmeiDeleteProductInput,\n typeof FinmeiDeleteProductOutput,\n typeof finmei.credential\n> = 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":";;;AAcA,MAAa,sBAIT,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBsC,EAAE,OAAO,EAC/C,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8HAA8H,EAChK,CAcS;CACP,QAduC,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,YAWO;AACV,CAAC"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"download-expense-file.cjs","names":["z","action"],"sources":["../../src/actions/download-expense-file.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 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: AppAction<\n typeof FinmeiDownloadExpenseFileInput,\n typeof FinmeiDownloadExpenseFileOutput,\n typeof finmei.credential\n> = 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":";;;;AAMA,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,4BAITC,eAAAA,OAAO,gCAAgC;CACzC,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/download-expense-file.d.ts
|
|
@@ -11,21 +13,7 @@ declare const FinmeiDownloadExpenseFileOutput: z.ZodObject<{
|
|
|
11
13
|
mimetype: z.ZodNullable<z.ZodString>;
|
|
12
14
|
}, z.core.$loose>>;
|
|
13
15
|
}, z.core.$loose>;
|
|
14
|
-
declare const finmeiDownloadExpenseFile:
|
|
15
|
-
id: string;
|
|
16
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"finmei", z.ZodObject<{
|
|
17
|
-
connectionId: z.ZodString;
|
|
18
|
-
entityId: z.ZodString;
|
|
19
|
-
instanceId: z.ZodString;
|
|
20
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
21
|
-
generic_api_key: z.ZodString;
|
|
22
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"finmei", z.ZodObject<{
|
|
23
|
-
connectionId: z.ZodString;
|
|
24
|
-
entityId: z.ZodString;
|
|
25
|
-
instanceId: z.ZodString;
|
|
26
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
27
|
-
generic_api_key: z.ZodString;
|
|
28
|
-
}, z.core.$strip>>]>;
|
|
16
|
+
declare const finmeiDownloadExpenseFile: AppAction<typeof FinmeiDownloadExpenseFileInput, typeof FinmeiDownloadExpenseFileOutput, typeof finmei.credential>;
|
|
29
17
|
//#endregion
|
|
30
18
|
export { finmeiDownloadExpenseFile };
|
|
31
19
|
//# sourceMappingURL=download-expense-file.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"download-expense-file.d.cts","names":[],"sources":["../../src/actions/download-expense-file.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"download-expense-file.d.cts","names":[],"sources":["../../src/actions/download-expense-file.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAQ9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;cAI/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,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/download-expense-file.d.ts
|
|
@@ -11,21 +13,7 @@ declare const FinmeiDownloadExpenseFileOutput: z.ZodObject<{
|
|
|
11
13
|
mimetype: z.ZodNullable<z.ZodString>;
|
|
12
14
|
}, z.core.$loose>>;
|
|
13
15
|
}, z.core.$loose>;
|
|
14
|
-
declare const finmeiDownloadExpenseFile:
|
|
15
|
-
id: string;
|
|
16
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"finmei", z.ZodObject<{
|
|
17
|
-
connectionId: z.ZodString;
|
|
18
|
-
entityId: z.ZodString;
|
|
19
|
-
instanceId: z.ZodString;
|
|
20
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
21
|
-
generic_api_key: z.ZodString;
|
|
22
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"finmei", z.ZodObject<{
|
|
23
|
-
connectionId: z.ZodString;
|
|
24
|
-
entityId: z.ZodString;
|
|
25
|
-
instanceId: z.ZodString;
|
|
26
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
27
|
-
generic_api_key: z.ZodString;
|
|
28
|
-
}, z.core.$strip>>]>;
|
|
16
|
+
declare const finmeiDownloadExpenseFile: AppAction<typeof FinmeiDownloadExpenseFileInput, typeof FinmeiDownloadExpenseFileOutput, typeof finmei.credential>;
|
|
29
17
|
//#endregion
|
|
30
18
|
export { finmeiDownloadExpenseFile };
|
|
31
19
|
//# sourceMappingURL=download-expense-file.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"download-expense-file.d.mts","names":[],"sources":["../../src/actions/download-expense-file.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"download-expense-file.d.mts","names":[],"sources":["../../src/actions/download-expense-file.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAQ9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;cAI/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"download-expense-file.mjs","names":[],"sources":["../../src/actions/download-expense-file.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 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: AppAction<\n typeof FinmeiDownloadExpenseFileInput,\n typeof FinmeiDownloadExpenseFileOutput,\n typeof finmei.credential\n> = 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":";;;;AAMA,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,4BAIT,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb6C,EAAE,OAAO,EACtD,SAAS,iDAAiD,SAAS,EACrE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAWhB;AACV,CAAC"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"download-invoice-pdf.cjs","names":["z","action"],"sources":["../../src/actions/download-invoice-pdf.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 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: AppAction<\n typeof FinmeiDownloadInvoicePdfInput,\n typeof FinmeiDownloadInvoicePdfOutput,\n typeof finmei.credential\n> = 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":";;;;AAMA,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,2BAITC,eAAAA,OAAO,+BAA+B;CACxC,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/download-invoice-pdf.d.ts
|
|
@@ -11,21 +13,7 @@ declare const FinmeiDownloadInvoicePdfOutput: z.ZodObject<{
|
|
|
11
13
|
mimetype: z.ZodNullable<z.ZodString>;
|
|
12
14
|
}, z.core.$loose>>;
|
|
13
15
|
}, z.core.$loose>;
|
|
14
|
-
declare const finmeiDownloadInvoicePdf:
|
|
15
|
-
invoice_id: string;
|
|
16
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"finmei", z.ZodObject<{
|
|
17
|
-
connectionId: z.ZodString;
|
|
18
|
-
entityId: z.ZodString;
|
|
19
|
-
instanceId: z.ZodString;
|
|
20
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
21
|
-
generic_api_key: z.ZodString;
|
|
22
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"finmei", z.ZodObject<{
|
|
23
|
-
connectionId: z.ZodString;
|
|
24
|
-
entityId: z.ZodString;
|
|
25
|
-
instanceId: z.ZodString;
|
|
26
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
27
|
-
generic_api_key: z.ZodString;
|
|
28
|
-
}, z.core.$strip>>]>;
|
|
16
|
+
declare const finmeiDownloadInvoicePdf: AppAction<typeof FinmeiDownloadInvoicePdfInput, typeof FinmeiDownloadInvoicePdfOutput, typeof finmei.credential>;
|
|
29
17
|
//#endregion
|
|
30
18
|
export { finmeiDownloadInvoicePdf };
|
|
31
19
|
//# sourceMappingURL=download-invoice-pdf.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"download-invoice-pdf.d.cts","names":[],"sources":["../../src/actions/download-invoice-pdf.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"download-invoice-pdf.d.cts","names":[],"sources":["../../src/actions/download-invoice-pdf.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cAQ7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;cAI9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,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/download-invoice-pdf.d.ts
|
|
@@ -11,21 +13,7 @@ declare const FinmeiDownloadInvoicePdfOutput: z.ZodObject<{
|
|
|
11
13
|
mimetype: z.ZodNullable<z.ZodString>;
|
|
12
14
|
}, z.core.$loose>>;
|
|
13
15
|
}, z.core.$loose>;
|
|
14
|
-
declare const finmeiDownloadInvoicePdf:
|
|
15
|
-
invoice_id: string;
|
|
16
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"finmei", z.ZodObject<{
|
|
17
|
-
connectionId: z.ZodString;
|
|
18
|
-
entityId: z.ZodString;
|
|
19
|
-
instanceId: z.ZodString;
|
|
20
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
21
|
-
generic_api_key: z.ZodString;
|
|
22
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"finmei", z.ZodObject<{
|
|
23
|
-
connectionId: z.ZodString;
|
|
24
|
-
entityId: z.ZodString;
|
|
25
|
-
instanceId: z.ZodString;
|
|
26
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
27
|
-
generic_api_key: z.ZodString;
|
|
28
|
-
}, z.core.$strip>>]>;
|
|
16
|
+
declare const finmeiDownloadInvoicePdf: AppAction<typeof FinmeiDownloadInvoicePdfInput, typeof FinmeiDownloadInvoicePdfOutput, typeof finmei.credential>;
|
|
29
17
|
//#endregion
|
|
30
18
|
export { finmeiDownloadInvoicePdf };
|
|
31
19
|
//# sourceMappingURL=download-invoice-pdf.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"download-invoice-pdf.d.mts","names":[],"sources":["../../src/actions/download-invoice-pdf.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"download-invoice-pdf.d.mts","names":[],"sources":["../../src/actions/download-invoice-pdf.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cAQ7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;cAI9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"download-invoice-pdf.mjs","names":[],"sources":["../../src/actions/download-invoice-pdf.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 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: AppAction<\n typeof FinmeiDownloadInvoicePdfInput,\n typeof FinmeiDownloadInvoicePdfOutput,\n typeof finmei.credential\n> = 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":";;;;AAMA,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,2BAIT,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb4C,EAAE,OAAO,EACrD,MAAM,gDAAgD,SAAS,EACjE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAWhB;AACV,CAAC"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"get-expense.cjs","names":["z","action"],"sources":["../../src/actions/get-expense.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 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: AppAction<\n typeof FinmeiGetExpenseInput,\n typeof FinmeiGetExpenseOutput,\n typeof finmei.credential\n> = 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":";;;;AAMA,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,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-expense.d.ts
|
|
@@ -15,21 +17,7 @@ declare const FinmeiGetExpenseOutput: z.ZodObject<{
|
|
|
15
17
|
updated_at: z.ZodNullable<z.ZodNumber>;
|
|
16
18
|
}, z.core.$loose>>;
|
|
17
19
|
}, z.core.$loose>;
|
|
18
|
-
declare const finmeiGetExpense:
|
|
19
|
-
id: string;
|
|
20
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"finmei", z.ZodObject<{
|
|
21
|
-
connectionId: z.ZodString;
|
|
22
|
-
entityId: z.ZodString;
|
|
23
|
-
instanceId: z.ZodString;
|
|
24
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
25
|
-
generic_api_key: z.ZodString;
|
|
26
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"finmei", z.ZodObject<{
|
|
27
|
-
connectionId: z.ZodString;
|
|
28
|
-
entityId: z.ZodString;
|
|
29
|
-
instanceId: z.ZodString;
|
|
30
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
31
|
-
generic_api_key: z.ZodString;
|
|
32
|
-
}, z.core.$strip>>]>;
|
|
20
|
+
declare const finmeiGetExpense: AppAction<typeof FinmeiGetExpenseInput, typeof FinmeiGetExpenseOutput, typeof finmei.credential>;
|
|
33
21
|
//#endregion
|
|
34
22
|
export { finmeiGetExpense };
|
|
35
23
|
//# sourceMappingURL=get-expense.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-expense.d.cts","names":[],"sources":["../../src/actions/get-expense.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-expense.d.cts","names":[],"sources":["../../src/actions/get-expense.ts"],"mappings":";;;;;cAMa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;cAYrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;cAItB,gBAAA,EAAkB,SAAA,QACtB,qBAAA,SACA,sBAAA,SACA,MAAA,CAAO,UAAA"}
|