@keystrokehq/finmei 0.1.1 → 0.1.3
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 +2 -2
- package/dist/actions/create-expense.cjs.map +1 -1
- package/dist/actions/create-expense.d.cts +3 -13
- package/dist/actions/create-expense.d.mts +3 -13
- package/dist/actions/create-expense.mjs +2 -2
- package/dist/actions/create-expense.mjs.map +1 -1
- package/dist/actions/create-invoice.cjs +71 -71
- package/dist/actions/create-invoice.cjs.map +1 -1
- package/dist/actions/create-invoice.d.cts +74 -141
- package/dist/actions/create-invoice.d.cts.map +1 -1
- package/dist/actions/create-invoice.d.mts +74 -141
- package/dist/actions/create-invoice.d.mts.map +1 -1
- package/dist/actions/create-invoice.mjs +71 -71
- 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 +2 -2
- package/dist/actions/delete-customer.d.cts.map +1 -1
- package/dist/actions/delete-customer.d.mts +2 -2
- 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 +2 -2
- package/dist/actions/delete-invoice.cjs.map +1 -1
- package/dist/actions/delete-invoice.d.cts +3 -6
- package/dist/actions/delete-invoice.d.mts +3 -6
- package/dist/actions/delete-invoice.mjs +2 -2
- 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 +2 -4
- package/dist/actions/delete-payment.d.mts +2 -4
- package/dist/actions/delete-payment.mjs +1 -1
- package/dist/actions/delete-payment.mjs.map +1 -1
- package/dist/actions/delete-product.cjs +2 -2
- package/dist/actions/delete-product.cjs.map +1 -1
- package/dist/actions/delete-product.d.cts +3 -6
- package/dist/actions/delete-product.d.mts +3 -6
- package/dist/actions/delete-product.mjs +2 -2
- 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 +3 -9
- package/dist/actions/download-expense-file.d.mts +3 -9
- 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 +3 -9
- package/dist/actions/download-invoice-pdf.d.mts +3 -9
- 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 +3 -13
- package/dist/actions/get-expense.d.mts +3 -13
- package/dist/actions/get-expense.mjs +2 -2
- package/dist/actions/get-expense.mjs.map +1 -1
- package/dist/actions/get-invoice.cjs +29 -29
- package/dist/actions/get-invoice.cjs.map +1 -1
- package/dist/actions/get-invoice.d.cts +30 -81
- package/dist/actions/get-invoice.d.cts.map +1 -1
- package/dist/actions/get-invoice.d.mts +30 -81
- package/dist/actions/get-invoice.d.mts.map +1 -1
- package/dist/actions/get-invoice.mjs +29 -29
- package/dist/actions/get-invoice.mjs.map +1 -1
- package/dist/actions/get-payment.cjs +3 -3
- package/dist/actions/get-payment.cjs.map +1 -1
- package/dist/actions/get-payment.d.cts +4 -14
- package/dist/actions/get-payment.d.mts +4 -14
- package/dist/actions/get-payment.mjs +3 -3
- package/dist/actions/get-payment.mjs.map +1 -1
- package/dist/actions/get-product.cjs +2 -2
- package/dist/actions/get-product.cjs.map +1 -1
- package/dist/actions/get-product.d.cts +3 -11
- package/dist/actions/get-product.d.mts +3 -11
- package/dist/actions/get-product.mjs +2 -2
- package/dist/actions/get-product.mjs.map +1 -1
- package/dist/actions/get-profile.cjs +9 -9
- package/dist/actions/get-profile.cjs.map +1 -1
- package/dist/actions/get-profile.d.cts +10 -20
- package/dist/actions/get-profile.d.cts.map +1 -1
- package/dist/actions/get-profile.d.mts +10 -20
- package/dist/actions/get-profile.d.mts.map +1 -1
- package/dist/actions/get-profile.mjs +9 -9
- package/dist/actions/get-profile.mjs.map +1 -1
- package/dist/actions/list-currencies.cjs +3 -3
- package/dist/actions/list-currencies.cjs.map +1 -1
- package/dist/actions/list-currencies.d.cts +4 -10
- package/dist/actions/list-currencies.d.cts.map +1 -1
- package/dist/actions/list-currencies.d.mts +4 -10
- package/dist/actions/list-currencies.d.mts.map +1 -1
- package/dist/actions/list-currencies.mjs +3 -3
- package/dist/actions/list-currencies.mjs.map +1 -1
- package/dist/actions/list-customers.cjs +11 -11
- package/dist/actions/list-customers.cjs.map +1 -1
- package/dist/actions/list-customers.d.cts +12 -28
- package/dist/actions/list-customers.d.mts +12 -28
- package/dist/actions/list-customers.mjs +11 -11
- package/dist/actions/list-customers.mjs.map +1 -1
- package/dist/actions/list-expenses.cjs +14 -14
- package/dist/actions/list-expenses.cjs.map +1 -1
- package/dist/actions/list-expenses.d.cts +15 -34
- package/dist/actions/list-expenses.d.mts +15 -34
- package/dist/actions/list-expenses.mjs +14 -14
- package/dist/actions/list-expenses.mjs.map +1 -1
- package/dist/actions/list-invoices.cjs +35 -35
- package/dist/actions/list-invoices.cjs.map +1 -1
- package/dist/actions/list-invoices.d.cts +36 -98
- package/dist/actions/list-invoices.d.cts.map +1 -1
- package/dist/actions/list-invoices.d.mts +36 -98
- package/dist/actions/list-invoices.d.mts.map +1 -1
- package/dist/actions/list-invoices.mjs +35 -35
- package/dist/actions/list-invoices.mjs.map +1 -1
- package/dist/actions/list-payments.cjs +9 -9
- package/dist/actions/list-payments.cjs.map +1 -1
- package/dist/actions/list-payments.d.cts +10 -25
- package/dist/actions/list-payments.d.mts +10 -25
- package/dist/actions/list-payments.mjs +9 -9
- package/dist/actions/list-payments.mjs.map +1 -1
- package/dist/actions/list-products.cjs +6 -6
- package/dist/actions/list-products.cjs.map +1 -1
- package/dist/actions/list-products.d.cts +7 -23
- package/dist/actions/list-products.d.mts +7 -23
- package/dist/actions/list-products.mjs +6 -6
- package/dist/actions/list-products.mjs.map +1 -1
- package/dist/actions/update-customer.cjs +13 -13
- package/dist/actions/update-customer.cjs.map +1 -1
- package/dist/actions/update-customer.d.cts +14 -31
- package/dist/actions/update-customer.d.cts.map +1 -1
- package/dist/actions/update-customer.d.mts +14 -31
- package/dist/actions/update-customer.d.mts.map +1 -1
- package/dist/actions/update-customer.mjs +13 -13
- package/dist/actions/update-customer.mjs.map +1 -1
- package/dist/actions/update-expense-file.cjs +6 -6
- package/dist/actions/update-expense-file.cjs.map +1 -1
- package/dist/actions/update-expense-file.d.cts +7 -13
- package/dist/actions/update-expense-file.d.mts +7 -13
- package/dist/actions/update-expense-file.mjs +6 -6
- package/dist/actions/update-expense-file.mjs.map +1 -1
- package/dist/actions/update-expense.cjs +3 -3
- package/dist/actions/update-expense.cjs.map +1 -1
- package/dist/actions/update-expense.d.cts +4 -12
- package/dist/actions/update-expense.d.mts +4 -12
- package/dist/actions/update-expense.mjs +3 -3
- package/dist/actions/update-expense.mjs.map +1 -1
- package/dist/actions/update-invoice.cjs +57 -57
- package/dist/actions/update-invoice.cjs.map +1 -1
- package/dist/actions/update-invoice.d.cts +59 -114
- package/dist/actions/update-invoice.d.cts.map +1 -1
- package/dist/actions/update-invoice.d.mts +59 -114
- package/dist/actions/update-invoice.d.mts.map +1 -1
- package/dist/actions/update-invoice.mjs +57 -57
- package/dist/actions/update-invoice.mjs.map +1 -1
- package/dist/actions/update-product.cjs +2 -2
- package/dist/actions/update-product.cjs.map +1 -1
- package/dist/actions/update-product.d.cts +3 -11
- package/dist/actions/update-product.d.mts +3 -11
- package/dist/actions/update-product.mjs +2 -2
- package/dist/actions/update-product.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -11,19 +11,11 @@ declare const FinmeiGetProductOutput: z.ZodObject<{
|
|
|
11
11
|
currency: z.ZodNullable<z.ZodString>;
|
|
12
12
|
created_at: z.ZodNullable<z.ZodString>;
|
|
13
13
|
updated_at: z.ZodNullable<z.ZodString>;
|
|
14
|
-
description: z.
|
|
15
|
-
}, z.core.$
|
|
14
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
}, z.core.$loose>;
|
|
16
16
|
declare const finmeiGetProduct: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
17
17
|
product_id: string;
|
|
18
|
-
},
|
|
19
|
-
id: string | null;
|
|
20
|
-
name: string | null;
|
|
21
|
-
price: number | null;
|
|
22
|
-
currency: string | null;
|
|
23
|
-
created_at: string | null;
|
|
24
|
-
updated_at: string | null;
|
|
25
|
-
description?: string | undefined;
|
|
26
|
-
}, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
18
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
27
19
|
//#endregion
|
|
28
20
|
export { finmeiGetProduct };
|
|
29
21
|
//# sourceMappingURL=get-product.d.mts.map
|
|
@@ -12,8 +12,8 @@ const finmeiGetProduct = action("FINMEI_GET_PRODUCT", {
|
|
|
12
12
|
currency: z.string().describe("Currency code of the product price, e.g., USD").nullable(),
|
|
13
13
|
created_at: z.string().describe("ISO8601 timestamp when the product was created").nullable(),
|
|
14
14
|
updated_at: z.string().describe("ISO8601 timestamp when the product was last updated").nullable(),
|
|
15
|
-
description: z.
|
|
16
|
-
})
|
|
15
|
+
description: z.string().describe("Description of the product").nullable().optional()
|
|
16
|
+
}).passthrough()
|
|
17
17
|
});
|
|
18
18
|
//#endregion
|
|
19
19
|
export { finmeiGetProduct };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-product.mjs","names":[],"sources":["../../src/actions/get-product.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FinmeiGetProductInput = z.object({\n product_id: z.string().describe(\"Unique identifier of the product to retrieve\"),\n});\nexport const FinmeiGetProductOutput = z.object({\n id: z.string().describe(\"Unique identifier of the product\").nullable(),\n name: z.string().describe(\"Name of the product\").nullable(),\n price: z.number().describe(\"Price of the product\").nullable(),\n currency: z.string().describe(\"Currency code of the product price, e.g., USD\").nullable(),\n created_at: z.string().describe(\"ISO8601 timestamp when the product was created\").nullable(),\n updated_at: z.string().describe(\"ISO8601 timestamp when the product was last updated\").nullable(),\n description: z.
|
|
1
|
+
{"version":3,"file":"get-product.mjs","names":[],"sources":["../../src/actions/get-product.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FinmeiGetProductInput = z.object({\n product_id: z.string().describe(\"Unique identifier of the product to retrieve\"),\n});\nexport const FinmeiGetProductOutput = z.object({\n id: z.string().describe(\"Unique identifier of the product\").nullable(),\n name: z.string().describe(\"Name of the product\").nullable(),\n price: z.number().describe(\"Price of the product\").nullable(),\n currency: z.string().describe(\"Currency code of the product price, e.g., USD\").nullable(),\n created_at: z.string().describe(\"ISO8601 timestamp when the product was created\").nullable(),\n updated_at: z.string().describe(\"ISO8601 timestamp when the product was last updated\").nullable(),\n description: z.string().describe(\"Description of the product\").nullable().optional(),\n}).passthrough();\n\nexport const finmeiGetProduct = action(\"FINMEI_GET_PRODUCT\", {\n slug: \"finmei-get-product\",\n name: \"Get Product by ID\",\n description: \"Tool to retrieve a product by its ID. Use when you need detailed information about a single product.\",\n input: FinmeiGetProductInput,\n output: FinmeiGetProductOutput,\n});\n"],"mappings":";;AAiBA,MAAa,mBAAmB,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjBmC,EAAE,OAAO,EAC5C,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,EAChF,CAeS;CACP,QAfoC,EAAE,OAAO;EAC7C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EACrE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;EAC1D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;EAC5D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EACxF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;EAC3F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;EAChG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -3,15 +3,15 @@ let zod = require("zod");
|
|
|
3
3
|
//#region src/actions/get-profile.ts
|
|
4
4
|
const FinmeiGetProfileInput = zod.z.object({}).describe("Request schema for retrieving business profile information. No parameters required.");
|
|
5
5
|
const FinmeiGetProfile_ProfileDataSchema = zod.z.object({
|
|
6
|
-
address: zod.z.
|
|
7
|
-
vat_code: zod.z.
|
|
8
|
-
business_id: zod.z.
|
|
9
|
-
company_code: zod.z.
|
|
10
|
-
company_name: zod.z.
|
|
11
|
-
business_type: zod.z.
|
|
12
|
-
business_title: zod.z.
|
|
13
|
-
}).describe("Business profile information");
|
|
14
|
-
const FinmeiGetProfileOutput = zod.z.object({ data: FinmeiGetProfile_ProfileDataSchema.nullable() }).describe("Response schema containing business profile data.");
|
|
6
|
+
address: zod.z.string().describe("Address of the business").nullable().optional(),
|
|
7
|
+
vat_code: zod.z.string().describe("VAT code of the business").nullable().optional(),
|
|
8
|
+
business_id: zod.z.string().describe("Unique identifier of the business").nullable().optional(),
|
|
9
|
+
company_code: zod.z.string().describe("Company code").nullable().optional(),
|
|
10
|
+
company_name: zod.z.string().describe("Name of the company").nullable().optional(),
|
|
11
|
+
business_type: zod.z.string().describe("Type of the business").nullable().optional(),
|
|
12
|
+
business_title: zod.z.string().describe("Title of the business").nullable().optional()
|
|
13
|
+
}).passthrough().describe("Business profile information");
|
|
14
|
+
const FinmeiGetProfileOutput = zod.z.object({ data: FinmeiGetProfile_ProfileDataSchema.nullable() }).passthrough().describe("Response schema containing business profile data.");
|
|
15
15
|
const finmeiGetProfile = require_action.action("FINMEI_GET_PROFILE", {
|
|
16
16
|
slug: "finmei-get-profile",
|
|
17
17
|
name: "Get Profile",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-profile.cjs","names":["z","action"],"sources":["../../src/actions/get-profile.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FinmeiGetProfileInput = z.object({}).describe(\"Request schema for retrieving business profile information. No parameters required.\");\nconst FinmeiGetProfile_ProfileDataSchema = z.object({\n address: z.
|
|
1
|
+
{"version":3,"file":"get-profile.cjs","names":["z","action"],"sources":["../../src/actions/get-profile.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FinmeiGetProfileInput = z.object({}).describe(\"Request schema for retrieving business profile information. No parameters required.\");\nconst FinmeiGetProfile_ProfileDataSchema = z.object({\n address: z.string().describe(\"Address of the business\").nullable().optional(),\n vat_code: z.string().describe(\"VAT code of the business\").nullable().optional(),\n business_id: z.string().describe(\"Unique identifier of the business\").nullable().optional(),\n company_code: z.string().describe(\"Company code\").nullable().optional(),\n company_name: z.string().describe(\"Name of the company\").nullable().optional(),\n business_type: z.string().describe(\"Type of the business\").nullable().optional(),\n business_title: z.string().describe(\"Title of the business\").nullable().optional(),\n}).passthrough().describe(\"Business profile information\");\nexport const FinmeiGetProfileOutput = z.object({\n data: FinmeiGetProfile_ProfileDataSchema.nullable(),\n}).passthrough().describe(\"Response schema containing business profile data.\");\n\nexport const finmeiGetProfile = action(\"FINMEI_GET_PROFILE\", {\n slug: \"finmei-get-profile\",\n name: \"Get Profile\",\n description: \"Tool to retrieve main information about the business to which the API token is assigned. Use when needing business ID, title, type, address, VAT code, company name, or company code.\",\n input: FinmeiGetProfileInput,\n output: FinmeiGetProfileOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,qFAAqF;AAChJ,MAAM,qCAAqCA,IAAAA,EAAE,OAAO;CAClD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8BAA8B;AACxD,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,EAC7C,MAAM,mCAAmC,SAAS,EACpD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAE7E,MAAa,mBAAmBC,eAAAA,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -4,26 +4,16 @@ import { z } from "zod";
|
|
|
4
4
|
declare const FinmeiGetProfileInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
5
|
declare const FinmeiGetProfileOutput: z.ZodObject<{
|
|
6
6
|
data: z.ZodNullable<z.ZodObject<{
|
|
7
|
-
address: z.
|
|
8
|
-
vat_code: z.
|
|
9
|
-
business_id: z.
|
|
10
|
-
company_code: z.
|
|
11
|
-
company_name: z.
|
|
12
|
-
business_type: z.
|
|
13
|
-
business_title: z.
|
|
14
|
-
}, z.core.$
|
|
15
|
-
}, z.core.$
|
|
16
|
-
declare const finmeiGetProfile: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>,
|
|
17
|
-
data: {
|
|
18
|
-
address?: string | undefined;
|
|
19
|
-
vat_code?: string | undefined;
|
|
20
|
-
business_id?: string | undefined;
|
|
21
|
-
company_code?: string | undefined;
|
|
22
|
-
company_name?: string | undefined;
|
|
23
|
-
business_type?: string | undefined;
|
|
24
|
-
business_title?: string | undefined;
|
|
25
|
-
} | null;
|
|
26
|
-
}, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8
|
+
vat_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
|
+
business_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
|
+
company_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
company_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
business_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
business_title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
}, z.core.$loose>>;
|
|
15
|
+
}, z.core.$loose>;
|
|
16
|
+
declare const finmeiGetProfile: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
27
17
|
//#endregion
|
|
28
18
|
export { finmeiGetProfile };
|
|
29
19
|
//# sourceMappingURL=get-profile.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-profile.d.cts","names":[],"sources":["../../src/actions/get-profile.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAUrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;cAItB,gBAAA,gCAAgB,wBAAA,CAAA,MAAA"}
|
|
1
|
+
{"version":3,"file":"get-profile.d.cts","names":[],"sources":["../../src/actions/get-profile.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAUrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;cAItB,gBAAA,gCAAgB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -4,26 +4,16 @@ import { z } from "zod";
|
|
|
4
4
|
declare const FinmeiGetProfileInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
5
|
declare const FinmeiGetProfileOutput: z.ZodObject<{
|
|
6
6
|
data: z.ZodNullable<z.ZodObject<{
|
|
7
|
-
address: z.
|
|
8
|
-
vat_code: z.
|
|
9
|
-
business_id: z.
|
|
10
|
-
company_code: z.
|
|
11
|
-
company_name: z.
|
|
12
|
-
business_type: z.
|
|
13
|
-
business_title: z.
|
|
14
|
-
}, z.core.$
|
|
15
|
-
}, z.core.$
|
|
16
|
-
declare const finmeiGetProfile: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>,
|
|
17
|
-
data: {
|
|
18
|
-
address?: string | undefined;
|
|
19
|
-
vat_code?: string | undefined;
|
|
20
|
-
business_id?: string | undefined;
|
|
21
|
-
company_code?: string | undefined;
|
|
22
|
-
company_name?: string | undefined;
|
|
23
|
-
business_type?: string | undefined;
|
|
24
|
-
business_title?: string | undefined;
|
|
25
|
-
} | null;
|
|
26
|
-
}, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8
|
+
vat_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
|
+
business_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
|
+
company_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
company_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
business_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
business_title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
}, z.core.$loose>>;
|
|
15
|
+
}, z.core.$loose>;
|
|
16
|
+
declare const finmeiGetProfile: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
27
17
|
//#endregion
|
|
28
18
|
export { finmeiGetProfile };
|
|
29
19
|
//# sourceMappingURL=get-profile.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-profile.d.mts","names":[],"sources":["../../src/actions/get-profile.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAUrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;cAItB,gBAAA,gCAAgB,wBAAA,CAAA,MAAA"}
|
|
1
|
+
{"version":3,"file":"get-profile.d.mts","names":[],"sources":["../../src/actions/get-profile.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAUrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;cAItB,gBAAA,gCAAgB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -3,20 +3,20 @@ import { z } from "zod";
|
|
|
3
3
|
//#region src/actions/get-profile.ts
|
|
4
4
|
const FinmeiGetProfileInput = z.object({}).describe("Request schema for retrieving business profile information. No parameters required.");
|
|
5
5
|
const FinmeiGetProfile_ProfileDataSchema = z.object({
|
|
6
|
-
address: z.
|
|
7
|
-
vat_code: z.
|
|
8
|
-
business_id: z.
|
|
9
|
-
company_code: z.
|
|
10
|
-
company_name: z.
|
|
11
|
-
business_type: z.
|
|
12
|
-
business_title: z.
|
|
13
|
-
}).describe("Business profile information");
|
|
6
|
+
address: z.string().describe("Address of the business").nullable().optional(),
|
|
7
|
+
vat_code: z.string().describe("VAT code of the business").nullable().optional(),
|
|
8
|
+
business_id: z.string().describe("Unique identifier of the business").nullable().optional(),
|
|
9
|
+
company_code: z.string().describe("Company code").nullable().optional(),
|
|
10
|
+
company_name: z.string().describe("Name of the company").nullable().optional(),
|
|
11
|
+
business_type: z.string().describe("Type of the business").nullable().optional(),
|
|
12
|
+
business_title: z.string().describe("Title of the business").nullable().optional()
|
|
13
|
+
}).passthrough().describe("Business profile information");
|
|
14
14
|
const finmeiGetProfile = action("FINMEI_GET_PROFILE", {
|
|
15
15
|
slug: "finmei-get-profile",
|
|
16
16
|
name: "Get Profile",
|
|
17
17
|
description: "Tool to retrieve main information about the business to which the API token is assigned. Use when needing business ID, title, type, address, VAT code, company name, or company code.",
|
|
18
18
|
input: FinmeiGetProfileInput,
|
|
19
|
-
output: z.object({ data: FinmeiGetProfile_ProfileDataSchema.nullable() }).describe("Response schema containing business profile data.")
|
|
19
|
+
output: z.object({ data: FinmeiGetProfile_ProfileDataSchema.nullable() }).passthrough().describe("Response schema containing business profile data.")
|
|
20
20
|
});
|
|
21
21
|
//#endregion
|
|
22
22
|
export { finmeiGetProfile };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-profile.mjs","names":[],"sources":["../../src/actions/get-profile.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FinmeiGetProfileInput = z.object({}).describe(\"Request schema for retrieving business profile information. No parameters required.\");\nconst FinmeiGetProfile_ProfileDataSchema = z.object({\n address: z.
|
|
1
|
+
{"version":3,"file":"get-profile.mjs","names":[],"sources":["../../src/actions/get-profile.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FinmeiGetProfileInput = z.object({}).describe(\"Request schema for retrieving business profile information. No parameters required.\");\nconst FinmeiGetProfile_ProfileDataSchema = z.object({\n address: z.string().describe(\"Address of the business\").nullable().optional(),\n vat_code: z.string().describe(\"VAT code of the business\").nullable().optional(),\n business_id: z.string().describe(\"Unique identifier of the business\").nullable().optional(),\n company_code: z.string().describe(\"Company code\").nullable().optional(),\n company_name: z.string().describe(\"Name of the company\").nullable().optional(),\n business_type: z.string().describe(\"Type of the business\").nullable().optional(),\n business_title: z.string().describe(\"Title of the business\").nullable().optional(),\n}).passthrough().describe(\"Business profile information\");\nexport const FinmeiGetProfileOutput = z.object({\n data: FinmeiGetProfile_ProfileDataSchema.nullable(),\n}).passthrough().describe(\"Response schema containing business profile data.\");\n\nexport const finmeiGetProfile = action(\"FINMEI_GET_PROFILE\", {\n slug: \"finmei-get-profile\",\n name: \"Get Profile\",\n description: \"Tool to retrieve main information about the business to which the API token is assigned. Use when needing business ID, title, type, address, VAT code, company name, or company code.\",\n input: FinmeiGetProfileInput,\n output: FinmeiGetProfileOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwB,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,qFAAqF;AAChJ,MAAM,qCAAqC,EAAE,OAAO;CAClD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8BAA8B;AAKxD,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,mDAOhB;AACV,CAAC"}
|
|
@@ -5,9 +5,9 @@ const FinmeiListCurrenciesInput = zod.z.object({}).describe("Request schema for
|
|
|
5
5
|
const FinmeiListCurrencies_CurrencySchema = zod.z.object({
|
|
6
6
|
code: zod.z.string().describe("ISO 4217 currency code, e.g., USD").nullable(),
|
|
7
7
|
name: zod.z.string().describe("Full currency name, e.g., United States Dollar").nullable(),
|
|
8
|
-
symbol: zod.z.
|
|
9
|
-
}).describe("Currency details as returned by the API");
|
|
10
|
-
const FinmeiListCurrenciesOutput = zod.z.object({ currencies: zod.z.array(FinmeiListCurrencies_CurrencySchema).describe("List of supported currency objects") }).describe("Response schema containing a list of supported currencies.");
|
|
8
|
+
symbol: zod.z.string().describe("Currency symbol, e.g., $").nullable().optional()
|
|
9
|
+
}).passthrough().describe("Currency details as returned by the API");
|
|
10
|
+
const FinmeiListCurrenciesOutput = zod.z.object({ currencies: zod.z.array(FinmeiListCurrencies_CurrencySchema).describe("List of supported currency objects") }).passthrough().describe("Response schema containing a list of supported currencies.");
|
|
11
11
|
const finmeiListCurrencies = require_action.action("FINMEI_LIST_CURRENCIES", {
|
|
12
12
|
slug: "finmei-list-currencies",
|
|
13
13
|
name: "List Currencies",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-currencies.cjs","names":["z","action"],"sources":["../../src/actions/list-currencies.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FinmeiListCurrenciesInput = z.object({}).describe(\"Request schema for listing all supported currencies. No parameters required.\");\nconst FinmeiListCurrencies_CurrencySchema = z.object({\n code: z.string().describe(\"ISO 4217 currency code, e.g., USD\").nullable(),\n name: z.string().describe(\"Full currency name, e.g., United States Dollar\").nullable(),\n symbol: z.
|
|
1
|
+
{"version":3,"file":"list-currencies.cjs","names":["z","action"],"sources":["../../src/actions/list-currencies.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FinmeiListCurrenciesInput = z.object({}).describe(\"Request schema for listing all supported currencies. No parameters required.\");\nconst FinmeiListCurrencies_CurrencySchema = z.object({\n code: z.string().describe(\"ISO 4217 currency code, e.g., USD\").nullable(),\n name: z.string().describe(\"Full currency name, e.g., United States Dollar\").nullable(),\n symbol: z.string().describe(\"Currency symbol, e.g., $\").nullable().optional(),\n}).passthrough().describe(\"Currency details as returned by the API\");\nexport const FinmeiListCurrenciesOutput = z.object({\n currencies: z.array(FinmeiListCurrencies_CurrencySchema).describe(\"List of supported currency objects\"),\n}).passthrough().describe(\"Response schema containing a list of supported currencies.\");\n\nexport const finmeiListCurrencies = action(\"FINMEI_LIST_CURRENCIES\", {\n slug: \"finmei-list-currencies\",\n name: \"List Currencies\",\n description: \"Tool to list all currencies supported by Finmei. Use when you need to retrieve available currency codes before creating transactions.\",\n input: FinmeiListCurrenciesInput,\n output: FinmeiListCurrenciesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8EAA8E;AAC7I,MAAM,sCAAsCA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACxE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACrF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AACnE,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,YAAYA,IAAAA,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,oCAAoC,EACxG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAA4D;AAEtF,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -6,16 +6,10 @@ declare const FinmeiListCurrenciesOutput: z.ZodObject<{
|
|
|
6
6
|
currencies: z.ZodArray<z.ZodObject<{
|
|
7
7
|
code: z.ZodNullable<z.ZodString>;
|
|
8
8
|
name: z.ZodNullable<z.ZodString>;
|
|
9
|
-
symbol: z.
|
|
10
|
-
}, z.core.$
|
|
11
|
-
}, z.core.$
|
|
12
|
-
declare const finmeiListCurrencies: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>,
|
|
13
|
-
currencies: {
|
|
14
|
-
code: string | null;
|
|
15
|
-
name: string | null;
|
|
16
|
-
symbol?: string | undefined;
|
|
17
|
-
}[];
|
|
18
|
-
}, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
9
|
+
symbol: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
|
+
}, z.core.$loose>>;
|
|
11
|
+
}, z.core.$loose>;
|
|
12
|
+
declare const finmeiListCurrencies: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
19
13
|
//#endregion
|
|
20
14
|
export { finmeiListCurrencies };
|
|
21
15
|
//# sourceMappingURL=list-currencies.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-currencies.d.cts","names":[],"sources":["../../src/actions/list-currencies.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAMzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;cAI1B,oBAAA,gCAAoB,wBAAA,CAAA,MAAA"}
|
|
1
|
+
{"version":3,"file":"list-currencies.d.cts","names":[],"sources":["../../src/actions/list-currencies.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAMzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;cAI1B,oBAAA,gCAAoB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -6,16 +6,10 @@ declare const FinmeiListCurrenciesOutput: z.ZodObject<{
|
|
|
6
6
|
currencies: z.ZodArray<z.ZodObject<{
|
|
7
7
|
code: z.ZodNullable<z.ZodString>;
|
|
8
8
|
name: z.ZodNullable<z.ZodString>;
|
|
9
|
-
symbol: z.
|
|
10
|
-
}, z.core.$
|
|
11
|
-
}, z.core.$
|
|
12
|
-
declare const finmeiListCurrencies: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>,
|
|
13
|
-
currencies: {
|
|
14
|
-
code: string | null;
|
|
15
|
-
name: string | null;
|
|
16
|
-
symbol?: string | undefined;
|
|
17
|
-
}[];
|
|
18
|
-
}, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
9
|
+
symbol: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
|
+
}, z.core.$loose>>;
|
|
11
|
+
}, z.core.$loose>;
|
|
12
|
+
declare const finmeiListCurrencies: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
19
13
|
//#endregion
|
|
20
14
|
export { finmeiListCurrencies };
|
|
21
15
|
//# sourceMappingURL=list-currencies.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-currencies.d.mts","names":[],"sources":["../../src/actions/list-currencies.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAMzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;cAI1B,oBAAA,gCAAoB,wBAAA,CAAA,MAAA"}
|
|
1
|
+
{"version":3,"file":"list-currencies.d.mts","names":[],"sources":["../../src/actions/list-currencies.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAMzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;cAI1B,oBAAA,gCAAoB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -5,14 +5,14 @@ const FinmeiListCurrenciesInput = z.object({}).describe("Request schema for list
|
|
|
5
5
|
const FinmeiListCurrencies_CurrencySchema = z.object({
|
|
6
6
|
code: z.string().describe("ISO 4217 currency code, e.g., USD").nullable(),
|
|
7
7
|
name: z.string().describe("Full currency name, e.g., United States Dollar").nullable(),
|
|
8
|
-
symbol: z.
|
|
9
|
-
}).describe("Currency details as returned by the API");
|
|
8
|
+
symbol: z.string().describe("Currency symbol, e.g., $").nullable().optional()
|
|
9
|
+
}).passthrough().describe("Currency details as returned by the API");
|
|
10
10
|
const finmeiListCurrencies = action("FINMEI_LIST_CURRENCIES", {
|
|
11
11
|
slug: "finmei-list-currencies",
|
|
12
12
|
name: "List Currencies",
|
|
13
13
|
description: "Tool to list all currencies supported by Finmei. Use when you need to retrieve available currency codes before creating transactions.",
|
|
14
14
|
input: FinmeiListCurrenciesInput,
|
|
15
|
-
output: z.object({ currencies: z.array(FinmeiListCurrencies_CurrencySchema).describe("List of supported currency objects") }).describe("Response schema containing a list of supported currencies.")
|
|
15
|
+
output: z.object({ currencies: z.array(FinmeiListCurrencies_CurrencySchema).describe("List of supported currency objects") }).passthrough().describe("Response schema containing a list of supported currencies.")
|
|
16
16
|
});
|
|
17
17
|
//#endregion
|
|
18
18
|
export { finmeiListCurrencies };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-currencies.mjs","names":[],"sources":["../../src/actions/list-currencies.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FinmeiListCurrenciesInput = z.object({}).describe(\"Request schema for listing all supported currencies. No parameters required.\");\nconst FinmeiListCurrencies_CurrencySchema = z.object({\n code: z.string().describe(\"ISO 4217 currency code, e.g., USD\").nullable(),\n name: z.string().describe(\"Full currency name, e.g., United States Dollar\").nullable(),\n symbol: z.
|
|
1
|
+
{"version":3,"file":"list-currencies.mjs","names":[],"sources":["../../src/actions/list-currencies.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FinmeiListCurrenciesInput = z.object({}).describe(\"Request schema for listing all supported currencies. No parameters required.\");\nconst FinmeiListCurrencies_CurrencySchema = z.object({\n code: z.string().describe(\"ISO 4217 currency code, e.g., USD\").nullable(),\n name: z.string().describe(\"Full currency name, e.g., United States Dollar\").nullable(),\n symbol: z.string().describe(\"Currency symbol, e.g., $\").nullable().optional(),\n}).passthrough().describe(\"Currency details as returned by the API\");\nexport const FinmeiListCurrenciesOutput = z.object({\n currencies: z.array(FinmeiListCurrencies_CurrencySchema).describe(\"List of supported currency objects\"),\n}).passthrough().describe(\"Response schema containing a list of supported currencies.\");\n\nexport const finmeiListCurrencies = action(\"FINMEI_LIST_CURRENCIES\", {\n slug: \"finmei-list-currencies\",\n name: \"List Currencies\",\n description: \"Tool to list all currencies supported by Finmei. Use when you need to retrieve available currency codes before creating transactions.\",\n input: FinmeiListCurrenciesInput,\n output: FinmeiListCurrenciesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8EAA8E;AAC7I,MAAM,sCAAsC,EAAE,OAAO;CACnD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACxE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACrF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AAKnE,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATwC,EAAE,OAAO,EACjD,YAAY,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,oCAAoC,EACxG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAOhB;AACV,CAAC"}
|
|
@@ -8,24 +8,24 @@ const FinmeiListCustomersInput = zod.z.object({
|
|
|
8
8
|
per_page: zod.z.number().int().default(20).describe("Number of customers per page (1-100)").optional()
|
|
9
9
|
}).describe("Parameters for retrieving a paginated list of customers with optional filtering and sorting.");
|
|
10
10
|
const FinmeiListCustomers_AddressSchema = zod.z.object({
|
|
11
|
-
city: zod.z.
|
|
12
|
-
street: zod.z.
|
|
13
|
-
country: zod.z.
|
|
14
|
-
postal_code: zod.z.
|
|
15
|
-
}).describe("Physical address details of a customer");
|
|
11
|
+
city: zod.z.string().describe("City of the customer").nullable().optional(),
|
|
12
|
+
street: zod.z.string().describe("Street address of the customer").nullable().optional(),
|
|
13
|
+
country: zod.z.string().describe("Country code of the customer").nullable().optional(),
|
|
14
|
+
postal_code: zod.z.string().describe("Postal code of the customer").nullable().optional()
|
|
15
|
+
}).passthrough().describe("Physical address details of a customer");
|
|
16
16
|
const FinmeiListCustomers_CustomerSchema = zod.z.object({
|
|
17
17
|
id: zod.z.string().describe("Unique identifier of the customer").nullable(),
|
|
18
|
-
name: zod.z.
|
|
19
|
-
email: zod.z.
|
|
20
|
-
address:
|
|
21
|
-
}).describe("Customer details");
|
|
18
|
+
name: zod.z.string().describe("Name of the customer").nullable().optional(),
|
|
19
|
+
email: zod.z.string().describe("Email address of the customer").nullable().optional(),
|
|
20
|
+
address: FinmeiListCustomers_AddressSchema.nullable().optional()
|
|
21
|
+
}).passthrough().describe("Customer details");
|
|
22
22
|
const FinmeiListCustomersOutput = zod.z.object({
|
|
23
23
|
page: zod.z.number().int().describe("Current page number").nullable(),
|
|
24
24
|
total: zod.z.number().int().describe("Total number of customers matching the filter").nullable(),
|
|
25
25
|
per_page: zod.z.number().int().describe("Number of customers returned per page").nullable(),
|
|
26
|
-
customers: zod.z.
|
|
26
|
+
customers: zod.z.array(FinmeiListCustomers_CustomerSchema).describe("List of customer records matching the query").nullable().optional(),
|
|
27
27
|
total_pages: zod.z.number().int().describe("Total number of pages available").nullable()
|
|
28
|
-
}).describe("Paginated list of customers along with paging metadata.");
|
|
28
|
+
}).passthrough().describe("Paginated list of customers along with paging metadata.");
|
|
29
29
|
const finmeiListCustomers = require_action.action("FINMEI_LIST_CUSTOMERS", {
|
|
30
30
|
slug: "finmei-list-customers",
|
|
31
31
|
name: "List Customers",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-customers.cjs","names":["z","action"],"sources":["../../src/actions/list-customers.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FinmeiListCustomersInput = z.object({\n page: z.number().int().default(1).describe(\"Page number to retrieve (must be >= 1)\").optional(),\n sort: z.string().describe(\"Sort order, e.g., 'name_asc' or 'created_at_desc'\").optional(),\n search: z.string().describe(\"Search term to filter customers by name or email\").optional(),\n per_page: z.number().int().default(20).describe(\"Number of customers per page (1-100)\").optional(),\n}).describe(\"Parameters for retrieving a paginated list of customers with optional filtering and sorting.\");\nconst FinmeiListCustomers_AddressSchema = z.object({\n city: z.
|
|
1
|
+
{"version":3,"file":"list-customers.cjs","names":["z","action"],"sources":["../../src/actions/list-customers.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FinmeiListCustomersInput = z.object({\n page: z.number().int().default(1).describe(\"Page number to retrieve (must be >= 1)\").optional(),\n sort: z.string().describe(\"Sort order, e.g., 'name_asc' or 'created_at_desc'\").optional(),\n search: z.string().describe(\"Search term to filter customers by name or email\").optional(),\n per_page: z.number().int().default(20).describe(\"Number of customers per page (1-100)\").optional(),\n}).describe(\"Parameters for retrieving a paginated list of customers with optional filtering and sorting.\");\nconst FinmeiListCustomers_AddressSchema = z.object({\n city: z.string().describe(\"City of the customer\").nullable().optional(),\n street: z.string().describe(\"Street address of the customer\").nullable().optional(),\n country: z.string().describe(\"Country code of the customer\").nullable().optional(),\n postal_code: z.string().describe(\"Postal code of the customer\").nullable().optional(),\n}).passthrough().describe(\"Physical address details of a customer\");\nconst FinmeiListCustomers_CustomerSchema = z.object({\n id: z.string().describe(\"Unique identifier of the customer\").nullable(),\n name: z.string().describe(\"Name of the customer\").nullable().optional(),\n email: z.string().describe(\"Email address of the customer\").nullable().optional(),\n address: FinmeiListCustomers_AddressSchema.nullable().optional(),\n}).passthrough().describe(\"Customer details\");\nexport const FinmeiListCustomersOutput = z.object({\n page: z.number().int().describe(\"Current page number\").nullable(),\n total: z.number().int().describe(\"Total number of customers matching the filter\").nullable(),\n per_page: z.number().int().describe(\"Number of customers returned per page\").nullable(),\n customers: z.array(FinmeiListCustomers_CustomerSchema).describe(\"List of customer records matching the query\").nullable().optional(),\n total_pages: z.number().int().describe(\"Total number of pages available\").nullable(),\n}).passthrough().describe(\"Paginated list of customers along with paging metadata.\");\n\nexport const finmeiListCustomers = action(\"FINMEI_LIST_CUSTOMERS\", {\n slug: \"finmei-list-customers\",\n name: \"List Customers\",\n description: \"Tool to list all customers with optional filters and pagination. Use when needing to browse or search customer records.\",\n input: FinmeiListCustomersInput,\n output: FinmeiListCustomersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC9F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACxF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACzF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,SAAS,8FAA8F;AAC1G,MAAM,oCAAoCA,IAAAA,EAAE,OAAO;CACjD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAClE,MAAM,qCAAqCA,IAAAA,EAAE,OAAO;CAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACtE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,SAAS,kCAAkC,SAAS,CAAC,CAAC,SAAS;AACjE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kBAAkB;AAC5C,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAChE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAC3F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACtF,WAAWA,IAAAA,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD;AAEnF,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -11,41 +11,25 @@ declare const FinmeiListCustomersOutput: z.ZodObject<{
|
|
|
11
11
|
page: z.ZodNullable<z.ZodNumber>;
|
|
12
12
|
total: z.ZodNullable<z.ZodNumber>;
|
|
13
13
|
per_page: z.ZodNullable<z.ZodNumber>;
|
|
14
|
-
customers: z.
|
|
14
|
+
customers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
15
15
|
id: z.ZodNullable<z.ZodString>;
|
|
16
|
-
name: z.
|
|
17
|
-
email: z.
|
|
18
|
-
address: z.
|
|
19
|
-
city: z.
|
|
20
|
-
street: z.
|
|
21
|
-
country: z.
|
|
22
|
-
postal_code: z.
|
|
23
|
-
}, z.core.$
|
|
24
|
-
}, z.core.$
|
|
16
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
address: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
19
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
street: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
+
postal_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
+
}, z.core.$loose>>>;
|
|
24
|
+
}, z.core.$loose>>>>;
|
|
25
25
|
total_pages: z.ZodNullable<z.ZodNumber>;
|
|
26
|
-
}, z.core.$
|
|
26
|
+
}, z.core.$loose>;
|
|
27
27
|
declare const finmeiListCustomers: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
28
28
|
page?: number | undefined;
|
|
29
29
|
sort?: string | undefined;
|
|
30
30
|
search?: string | undefined;
|
|
31
31
|
per_page?: number | undefined;
|
|
32
|
-
},
|
|
33
|
-
page: number | null;
|
|
34
|
-
total: number | null;
|
|
35
|
-
per_page: number | null;
|
|
36
|
-
total_pages: number | null;
|
|
37
|
-
customers?: {
|
|
38
|
-
id: string | null;
|
|
39
|
-
name?: string | undefined;
|
|
40
|
-
email?: string | undefined;
|
|
41
|
-
address?: {
|
|
42
|
-
city?: string | undefined;
|
|
43
|
-
street?: string | undefined;
|
|
44
|
-
country?: string | undefined;
|
|
45
|
-
postal_code?: string | undefined;
|
|
46
|
-
} | undefined;
|
|
47
|
-
}[] | undefined;
|
|
48
|
-
}, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
32
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
49
33
|
//#endregion
|
|
50
34
|
export { finmeiListCustomers };
|
|
51
35
|
//# sourceMappingURL=list-customers.d.cts.map
|
|
@@ -11,41 +11,25 @@ declare const FinmeiListCustomersOutput: z.ZodObject<{
|
|
|
11
11
|
page: z.ZodNullable<z.ZodNumber>;
|
|
12
12
|
total: z.ZodNullable<z.ZodNumber>;
|
|
13
13
|
per_page: z.ZodNullable<z.ZodNumber>;
|
|
14
|
-
customers: z.
|
|
14
|
+
customers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
15
15
|
id: z.ZodNullable<z.ZodString>;
|
|
16
|
-
name: z.
|
|
17
|
-
email: z.
|
|
18
|
-
address: z.
|
|
19
|
-
city: z.
|
|
20
|
-
street: z.
|
|
21
|
-
country: z.
|
|
22
|
-
postal_code: z.
|
|
23
|
-
}, z.core.$
|
|
24
|
-
}, z.core.$
|
|
16
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
address: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
19
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
street: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
+
postal_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
+
}, z.core.$loose>>>;
|
|
24
|
+
}, z.core.$loose>>>>;
|
|
25
25
|
total_pages: z.ZodNullable<z.ZodNumber>;
|
|
26
|
-
}, z.core.$
|
|
26
|
+
}, z.core.$loose>;
|
|
27
27
|
declare const finmeiListCustomers: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
28
28
|
page?: number | undefined;
|
|
29
29
|
sort?: string | undefined;
|
|
30
30
|
search?: string | undefined;
|
|
31
31
|
per_page?: number | undefined;
|
|
32
|
-
},
|
|
33
|
-
page: number | null;
|
|
34
|
-
total: number | null;
|
|
35
|
-
per_page: number | null;
|
|
36
|
-
total_pages: number | null;
|
|
37
|
-
customers?: {
|
|
38
|
-
id: string | null;
|
|
39
|
-
name?: string | undefined;
|
|
40
|
-
email?: string | undefined;
|
|
41
|
-
address?: {
|
|
42
|
-
city?: string | undefined;
|
|
43
|
-
street?: string | undefined;
|
|
44
|
-
country?: string | undefined;
|
|
45
|
-
postal_code?: string | undefined;
|
|
46
|
-
} | undefined;
|
|
47
|
-
}[] | undefined;
|
|
48
|
-
}, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
32
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
49
33
|
//#endregion
|
|
50
34
|
export { finmeiListCustomers };
|
|
51
35
|
//# sourceMappingURL=list-customers.d.mts.map
|
|
@@ -8,17 +8,17 @@ const FinmeiListCustomersInput = z.object({
|
|
|
8
8
|
per_page: z.number().int().default(20).describe("Number of customers per page (1-100)").optional()
|
|
9
9
|
}).describe("Parameters for retrieving a paginated list of customers with optional filtering and sorting.");
|
|
10
10
|
const FinmeiListCustomers_AddressSchema = z.object({
|
|
11
|
-
city: z.
|
|
12
|
-
street: z.
|
|
13
|
-
country: z.
|
|
14
|
-
postal_code: z.
|
|
15
|
-
}).describe("Physical address details of a customer");
|
|
11
|
+
city: z.string().describe("City of the customer").nullable().optional(),
|
|
12
|
+
street: z.string().describe("Street address of the customer").nullable().optional(),
|
|
13
|
+
country: z.string().describe("Country code of the customer").nullable().optional(),
|
|
14
|
+
postal_code: z.string().describe("Postal code of the customer").nullable().optional()
|
|
15
|
+
}).passthrough().describe("Physical address details of a customer");
|
|
16
16
|
const FinmeiListCustomers_CustomerSchema = z.object({
|
|
17
17
|
id: z.string().describe("Unique identifier of the customer").nullable(),
|
|
18
|
-
name: z.
|
|
19
|
-
email: z.
|
|
20
|
-
address:
|
|
21
|
-
}).describe("Customer details");
|
|
18
|
+
name: z.string().describe("Name of the customer").nullable().optional(),
|
|
19
|
+
email: z.string().describe("Email address of the customer").nullable().optional(),
|
|
20
|
+
address: FinmeiListCustomers_AddressSchema.nullable().optional()
|
|
21
|
+
}).passthrough().describe("Customer details");
|
|
22
22
|
const finmeiListCustomers = action("FINMEI_LIST_CUSTOMERS", {
|
|
23
23
|
slug: "finmei-list-customers",
|
|
24
24
|
name: "List Customers",
|
|
@@ -28,9 +28,9 @@ const finmeiListCustomers = action("FINMEI_LIST_CUSTOMERS", {
|
|
|
28
28
|
page: z.number().int().describe("Current page number").nullable(),
|
|
29
29
|
total: z.number().int().describe("Total number of customers matching the filter").nullable(),
|
|
30
30
|
per_page: z.number().int().describe("Number of customers returned per page").nullable(),
|
|
31
|
-
customers: z.
|
|
31
|
+
customers: z.array(FinmeiListCustomers_CustomerSchema).describe("List of customer records matching the query").nullable().optional(),
|
|
32
32
|
total_pages: z.number().int().describe("Total number of pages available").nullable()
|
|
33
|
-
}).describe("Paginated list of customers along with paging metadata.")
|
|
33
|
+
}).passthrough().describe("Paginated list of customers along with paging metadata.")
|
|
34
34
|
});
|
|
35
35
|
//#endregion
|
|
36
36
|
export { finmeiListCustomers };
|