@keystrokehq/finmei 0.1.0 → 0.1.1
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 +7 -7
- package/dist/actions/create-expense.cjs.map +1 -1
- package/dist/actions/create-expense.d.cts +43 -3
- package/dist/actions/create-expense.d.cts.map +1 -1
- package/dist/actions/create-expense.d.mts +43 -3
- package/dist/actions/create-expense.d.mts.map +1 -1
- package/dist/actions/create-expense.mjs +7 -7
- package/dist/actions/create-expense.mjs.map +1 -1
- package/dist/actions/create-invoice.cjs +63 -63
- package/dist/actions/create-invoice.cjs.map +1 -1
- package/dist/actions/create-invoice.d.cts +235 -3
- package/dist/actions/create-invoice.d.cts.map +1 -1
- package/dist/actions/create-invoice.d.mts +235 -3
- package/dist/actions/create-invoice.d.mts.map +1 -1
- package/dist/actions/create-invoice.mjs +63 -63
- package/dist/actions/create-invoice.mjs.map +1 -1
- package/dist/actions/delete-customer.cjs.map +1 -1
- package/dist/actions/delete-customer.d.cts +7 -3
- package/dist/actions/delete-customer.d.cts.map +1 -1
- package/dist/actions/delete-customer.d.mts +7 -3
- package/dist/actions/delete-customer.d.mts.map +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 +13 -3
- package/dist/actions/delete-invoice.d.cts.map +1 -1
- package/dist/actions/delete-invoice.d.mts +13 -3
- package/dist/actions/delete-invoice.d.mts.map +1 -1
- 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 +11 -3
- package/dist/actions/delete-payment.d.cts.map +1 -1
- package/dist/actions/delete-payment.d.mts +11 -3
- package/dist/actions/delete-payment.d.mts.map +1 -1
- package/dist/actions/delete-payment.mjs +1 -1
- package/dist/actions/delete-payment.mjs.map +1 -1
- package/dist/actions/delete-product.cjs +2 -2
- package/dist/actions/delete-product.cjs.map +1 -1
- package/dist/actions/delete-product.d.cts +13 -3
- package/dist/actions/delete-product.d.cts.map +1 -1
- package/dist/actions/delete-product.d.mts +13 -3
- package/dist/actions/delete-product.d.mts.map +1 -1
- package/dist/actions/delete-product.mjs +2 -2
- package/dist/actions/delete-product.mjs.map +1 -1
- package/dist/actions/download-expense-file.cjs +3 -3
- package/dist/actions/download-expense-file.cjs.map +1 -1
- package/dist/actions/download-expense-file.d.cts +19 -3
- package/dist/actions/download-expense-file.d.cts.map +1 -1
- package/dist/actions/download-expense-file.d.mts +19 -3
- package/dist/actions/download-expense-file.d.mts.map +1 -1
- package/dist/actions/download-expense-file.mjs +3 -3
- package/dist/actions/download-expense-file.mjs.map +1 -1
- package/dist/actions/download-invoice-pdf.cjs +3 -3
- package/dist/actions/download-invoice-pdf.cjs.map +1 -1
- package/dist/actions/download-invoice-pdf.d.cts +19 -3
- package/dist/actions/download-invoice-pdf.d.cts.map +1 -1
- package/dist/actions/download-invoice-pdf.d.mts +19 -3
- package/dist/actions/download-invoice-pdf.d.mts.map +1 -1
- package/dist/actions/download-invoice-pdf.mjs +3 -3
- package/dist/actions/download-invoice-pdf.mjs.map +1 -1
- package/dist/actions/get-expense.cjs +7 -7
- package/dist/actions/get-expense.cjs.map +1 -1
- package/dist/actions/get-expense.d.cts +27 -3
- package/dist/actions/get-expense.d.cts.map +1 -1
- package/dist/actions/get-expense.d.mts +27 -3
- package/dist/actions/get-expense.d.mts.map +1 -1
- package/dist/actions/get-expense.mjs +7 -7
- package/dist/actions/get-expense.mjs.map +1 -1
- package/dist/actions/get-invoice.cjs +45 -45
- package/dist/actions/get-invoice.cjs.map +1 -1
- package/dist/actions/get-invoice.d.cts +109 -3
- package/dist/actions/get-invoice.d.cts.map +1 -1
- package/dist/actions/get-invoice.d.mts +109 -3
- package/dist/actions/get-invoice.d.mts.map +1 -1
- package/dist/actions/get-invoice.mjs +45 -45
- package/dist/actions/get-invoice.mjs.map +1 -1
- package/dist/actions/get-payment.cjs +9 -9
- package/dist/actions/get-payment.cjs.map +1 -1
- package/dist/actions/get-payment.d.cts +27 -3
- package/dist/actions/get-payment.d.cts.map +1 -1
- package/dist/actions/get-payment.d.mts +27 -3
- package/dist/actions/get-payment.d.mts.map +1 -1
- package/dist/actions/get-payment.mjs +9 -9
- package/dist/actions/get-payment.mjs.map +1 -1
- package/dist/actions/get-product.cjs +7 -7
- package/dist/actions/get-product.cjs.map +1 -1
- package/dist/actions/get-product.d.cts +23 -3
- package/dist/actions/get-product.d.cts.map +1 -1
- package/dist/actions/get-product.d.mts +23 -3
- package/dist/actions/get-product.d.mts.map +1 -1
- package/dist/actions/get-product.mjs +7 -7
- package/dist/actions/get-product.mjs.map +1 -1
- package/dist/actions/get-profile.cjs +7 -7
- package/dist/actions/get-profile.cjs.map +1 -1
- package/dist/actions/get-profile.d.cts +23 -3
- package/dist/actions/get-profile.d.cts.map +1 -1
- package/dist/actions/get-profile.d.mts +23 -3
- package/dist/actions/get-profile.d.mts.map +1 -1
- package/dist/actions/get-profile.mjs +7 -7
- 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 +15 -3
- package/dist/actions/list-currencies.d.cts.map +1 -1
- package/dist/actions/list-currencies.d.mts +15 -3
- 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 +13 -13
- package/dist/actions/list-customers.cjs.map +1 -1
- package/dist/actions/list-customers.d.cts +45 -3
- package/dist/actions/list-customers.d.cts.map +1 -1
- package/dist/actions/list-customers.d.mts +45 -3
- package/dist/actions/list-customers.d.mts.map +1 -1
- package/dist/actions/list-customers.mjs +13 -13
- package/dist/actions/list-customers.mjs.map +1 -1
- package/dist/actions/list-expenses.cjs +16 -16
- package/dist/actions/list-expenses.cjs.map +1 -1
- package/dist/actions/list-expenses.d.cts +47 -3
- package/dist/actions/list-expenses.d.cts.map +1 -1
- package/dist/actions/list-expenses.d.mts +47 -3
- package/dist/actions/list-expenses.d.mts.map +1 -1
- package/dist/actions/list-expenses.mjs +16 -16
- package/dist/actions/list-expenses.mjs.map +1 -1
- package/dist/actions/list-invoices.cjs +54 -54
- package/dist/actions/list-invoices.cjs.map +1 -1
- package/dist/actions/list-invoices.d.cts +133 -3
- package/dist/actions/list-invoices.d.cts.map +1 -1
- package/dist/actions/list-invoices.d.mts +133 -3
- package/dist/actions/list-invoices.d.mts.map +1 -1
- package/dist/actions/list-invoices.mjs +54 -54
- package/dist/actions/list-invoices.mjs.map +1 -1
- package/dist/actions/list-payments.cjs +13 -13
- package/dist/actions/list-payments.cjs.map +1 -1
- package/dist/actions/list-payments.d.cts +49 -3
- package/dist/actions/list-payments.d.cts.map +1 -1
- package/dist/actions/list-payments.d.mts +49 -3
- package/dist/actions/list-payments.d.mts.map +1 -1
- package/dist/actions/list-payments.mjs +13 -13
- package/dist/actions/list-payments.mjs.map +1 -1
- package/dist/actions/list-products.cjs +11 -11
- package/dist/actions/list-products.cjs.map +1 -1
- package/dist/actions/list-products.d.cts +51 -3
- package/dist/actions/list-products.d.cts.map +1 -1
- package/dist/actions/list-products.d.mts +51 -3
- package/dist/actions/list-products.d.mts.map +1 -1
- package/dist/actions/list-products.mjs +11 -11
- 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 +63 -3
- package/dist/actions/update-customer.d.cts.map +1 -1
- package/dist/actions/update-customer.d.mts +63 -3
- 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 +5 -5
- package/dist/actions/update-expense-file.cjs.map +1 -1
- package/dist/actions/update-expense-file.d.cts +29 -3
- package/dist/actions/update-expense-file.d.cts.map +1 -1
- package/dist/actions/update-expense-file.d.mts +29 -3
- package/dist/actions/update-expense-file.d.mts.map +1 -1
- package/dist/actions/update-expense-file.mjs +5 -5
- package/dist/actions/update-expense-file.mjs.map +1 -1
- package/dist/actions/update-expense.cjs +7 -7
- package/dist/actions/update-expense.cjs.map +1 -1
- package/dist/actions/update-expense.d.cts +31 -3
- package/dist/actions/update-expense.d.cts.map +1 -1
- package/dist/actions/update-expense.d.mts +31 -3
- package/dist/actions/update-expense.d.mts.map +1 -1
- package/dist/actions/update-expense.mjs +7 -7
- package/dist/actions/update-expense.mjs.map +1 -1
- package/dist/actions/update-invoice.cjs +52 -52
- package/dist/actions/update-invoice.cjs.map +1 -1
- package/dist/actions/update-invoice.d.cts +203 -3
- package/dist/actions/update-invoice.d.cts.map +1 -1
- package/dist/actions/update-invoice.d.mts +203 -3
- package/dist/actions/update-invoice.d.mts.map +1 -1
- package/dist/actions/update-invoice.mjs +52 -52
- package/dist/actions/update-invoice.mjs.map +1 -1
- package/dist/actions/update-product.cjs +7 -7
- package/dist/actions/update-product.cjs.map +1 -1
- package/dist/actions/update-product.d.cts +31 -3
- package/dist/actions/update-product.d.cts.map +1 -1
- package/dist/actions/update-product.d.mts +31 -3
- package/dist/actions/update-product.d.mts.map +1 -1
- package/dist/actions/update-product.mjs +7 -7
- package/dist/actions/update-product.mjs.map +1 -1
- package/dist/catalog.cjs +7 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +8 -0
- package/dist/catalog.d.mts +8 -0
- package/dist/catalog.mjs +7 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -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
|
|
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.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Description of the product\").optional()),\n});\n\nexport const finmeiGetProduct = action(\"FINMEI_GET_PRODUCT\", {\n slug: \"finmei-get-product\",\n name: \"Get Product by ID\",\n description: \"Tool to retrieve a product by its ID. Use when you need detailed information about a single product.\",\n input: FinmeiGetProductInput,\n output: FinmeiGetProductOutput,\n});\n"],"mappings":";;AAiBA,MAAa,mBAAmB,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjBmC,EAAE,OAAO,EAC5C,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,EAChF,CAeS;CACP,QAfoC,EAAE,OAAO;EAC7C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EACrE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;EAC1D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;EAC5D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EACxF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;EAC3F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;EAChG,aAAa,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC;CACzI,CAOU;AACV,CAAC"}
|
|
@@ -3,13 +3,13 @@ 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.string().describe("Address of the business").
|
|
7
|
-
vat_code: zod.z.string().describe("VAT code of the business").
|
|
8
|
-
business_id: zod.z.string().describe("Unique identifier of the business").
|
|
9
|
-
company_code: zod.z.string().describe("Company code").
|
|
10
|
-
company_name: zod.z.string().describe("Name of the company").
|
|
11
|
-
business_type: zod.z.string().describe("Type of the business").
|
|
12
|
-
business_title: zod.z.string().describe("Title of the business").
|
|
6
|
+
address: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Address of the business").optional()),
|
|
7
|
+
vat_code: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("VAT code of the business").optional()),
|
|
8
|
+
business_id: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Unique identifier of the business").optional()),
|
|
9
|
+
company_code: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Company code").optional()),
|
|
10
|
+
company_name: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Name of the company").optional()),
|
|
11
|
+
business_type: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Type of the business").optional()),
|
|
12
|
+
business_title: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Title of the business").optional())
|
|
13
13
|
}).describe("Business profile information");
|
|
14
14
|
const FinmeiGetProfileOutput = zod.z.object({ data: FinmeiGetProfile_ProfileDataSchema.nullable() }).describe("Response schema containing business profile data.");
|
|
15
15
|
const finmeiGetProfile = require_action.action("FINMEI_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
|
|
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.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Address of the business\").optional()),\n vat_code: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"VAT code of the business\").optional()),\n business_id: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Unique identifier of the business\").optional()),\n company_code: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Company code\").optional()),\n company_name: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Name of the company\").optional()),\n business_type: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Type of the business\").optional()),\n business_title: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Title of the business\").optional()),\n}).describe(\"Business profile information\");\nexport const FinmeiGetProfileOutput = z.object({\n data: FinmeiGetProfile_ProfileDataSchema.nullable(),\n}).describe(\"Response schema containing business profile data.\");\n\nexport const finmeiGetProfile = action(\"FINMEI_GET_PROFILE\", {\n slug: \"finmei-get-profile\",\n name: \"Get Profile\",\n description: \"Tool to retrieve main information about the business to which the API token is assigned. Use when needing business ID, title, type, address, VAT code, company name, or company code.\",\n input: FinmeiGetProfileInput,\n output: FinmeiGetProfileOut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MAAa,mBAAmBC,eAAAA,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,29 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-profile.d.ts
|
|
4
|
-
declare const FinmeiGetProfileInput: z.
|
|
5
|
-
declare const FinmeiGetProfileOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const FinmeiGetProfileInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const FinmeiGetProfileOutput: z.ZodObject<{
|
|
6
|
+
data: z.ZodNullable<z.ZodObject<{
|
|
7
|
+
address: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
8
|
+
vat_code: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
9
|
+
business_id: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
10
|
+
company_code: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
11
|
+
company_name: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
12
|
+
business_type: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
13
|
+
business_title: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
14
|
+
}, z.core.$strip>>;
|
|
15
|
+
}, z.core.$strip>;
|
|
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
27
|
//#endregion
|
|
8
28
|
export { finmeiGetProfile };
|
|
9
29
|
//# 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,
|
|
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,9 +1,29 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-profile.d.ts
|
|
4
|
-
declare const FinmeiGetProfileInput: z.
|
|
5
|
-
declare const FinmeiGetProfileOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const FinmeiGetProfileInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const FinmeiGetProfileOutput: z.ZodObject<{
|
|
6
|
+
data: z.ZodNullable<z.ZodObject<{
|
|
7
|
+
address: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
8
|
+
vat_code: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
9
|
+
business_id: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
10
|
+
company_code: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
11
|
+
company_name: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
12
|
+
business_type: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
13
|
+
business_title: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
14
|
+
}, z.core.$strip>>;
|
|
15
|
+
}, z.core.$strip>;
|
|
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
27
|
//#endregion
|
|
8
28
|
export { finmeiGetProfile };
|
|
9
29
|
//# 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,
|
|
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"}
|
|
@@ -3,13 +3,13 @@ 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.string().describe("Address of the business").
|
|
7
|
-
vat_code: z.string().describe("VAT code of the business").
|
|
8
|
-
business_id: z.string().describe("Unique identifier of the business").
|
|
9
|
-
company_code: z.string().describe("Company code").
|
|
10
|
-
company_name: z.string().describe("Name of the company").
|
|
11
|
-
business_type: z.string().describe("Type of the business").
|
|
12
|
-
business_title: z.string().describe("Title of the business").
|
|
6
|
+
address: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Address of the business").optional()),
|
|
7
|
+
vat_code: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("VAT code of the business").optional()),
|
|
8
|
+
business_id: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Unique identifier of the business").optional()),
|
|
9
|
+
company_code: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Company code").optional()),
|
|
10
|
+
company_name: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Name of the company").optional()),
|
|
11
|
+
business_type: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Type of the business").optional()),
|
|
12
|
+
business_title: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Title of the business").optional())
|
|
13
13
|
}).describe("Business profile information");
|
|
14
14
|
const finmeiGetProfile = action("FINMEI_GET_PROFILE", {
|
|
15
15
|
slug: "finmei-get-profile",
|
|
@@ -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
|
|
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.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Address of the business\").optional()),\n vat_code: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"VAT code of the business\").optional()),\n business_id: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Unique identifier of the business\").optional()),\n company_code: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Company code\").optional()),\n company_name: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Name of the company\").optional()),\n business_type: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Type of the business\").optional()),\n business_title: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Title of the business\").optional()),\n}).describe(\"Business profile information\");\nexport const FinmeiGetProfileOutput = z.object({\n data: FinmeiGetProfile_ProfileDataSchema.nullable(),\n}).describe(\"Response schema containing business profile data.\");\n\nexport const finmeiGetProfile = action(\"FINMEI_GET_PROFILE\", {\n slug: \"finmei-get-profile\",\n name: \"Get Profile\",\n description: \"Tool to retrieve main information about the business to which the API token is assigned. Use when needing business ID, title, type, address, VAT code, company name, or company code.\",\n input: FinmeiGetProfileInput,\n output: FinmeiGetProfileOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwB,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,qFAAqF;AAChJ,MAAM,qCAAqC,EAAE,OAAO;CAClD,SAAS,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC;CAChI,UAAU,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC;CAClI,aAAa,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC;CAC9I,cAAc,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS,CAAC;CAC1H,cAAc,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC;CACjI,eAAe,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC;CACnI,gBAAgB,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC;AACvI,CAAC,CAAC,CAAC,SAAS,8BAA8B;AAK1C,MAAa,mBAAmB,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAToC,EAAE,OAAO,EAC7C,MAAM,mCAAmC,SAAS,EACpD,CAAC,CAAC,CAAC,SAAS,mDAOF;AACV,CAAC"}
|
|
@@ -3,9 +3,9 @@ let zod = require("zod");
|
|
|
3
3
|
//#region src/actions/list-currencies.ts
|
|
4
4
|
const FinmeiListCurrenciesInput = zod.z.object({}).describe("Request schema for listing all supported currencies. No parameters required.");
|
|
5
5
|
const FinmeiListCurrencies_CurrencySchema = zod.z.object({
|
|
6
|
-
code: zod.z.string().describe("ISO 4217 currency code, e.g., USD"),
|
|
7
|
-
name: zod.z.string().describe("Full currency name, e.g., United States Dollar"),
|
|
8
|
-
symbol: zod.z.string().describe("Currency symbol, e.g., $").
|
|
6
|
+
code: zod.z.string().describe("ISO 4217 currency code, e.g., USD").nullable(),
|
|
7
|
+
name: zod.z.string().describe("Full currency name, e.g., United States Dollar").nullable(),
|
|
8
|
+
symbol: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Currency symbol, e.g., $").optional())
|
|
9
9
|
}).describe("Currency details as returned by the API");
|
|
10
10
|
const FinmeiListCurrenciesOutput = zod.z.object({ currencies: zod.z.array(FinmeiListCurrencies_CurrencySchema).describe("List of supported currency objects") }).describe("Response schema containing a list of supported currencies.");
|
|
11
11
|
const finmeiListCurrencies = require_action.action("FINMEI_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
|
|
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.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Currency symbol, e.g., $\").optional()),\n}).describe(\"Currency details as returned by the API\");\nexport const FinmeiListCurrenciesOutput = z.object({\n currencies: z.array(FinmeiListCurrencies_CurrencySchema).describe(\"List of supported currency objects\"),\n}).describe(\"Response schema containing a list of supported currencies.\");\n\nexport const finmeiListCurrencies = action(\"FINMEI_LIST_CURRENCIES\", {\n slug: \"finmei-list-currencies\",\n name: \"List Currencies\",\n description: \"Tool to list all currencies supported by Finmei. Use when you need to retrieve available currency codes before creating transactions.\",\n input: FinmeiListCurrenciesInput,\n output: FinmeiListCurrenciesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8EAA8E;AAC7I,MAAM,sCAAsCA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACxE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACrF,QAAQA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC;AAClI,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,YAAYA,IAAAA,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,oCAAoC,EACxG,CAAC,CAAC,CAAC,SAAS,4DAA4D;AAExE,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,21 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-currencies.d.ts
|
|
4
|
-
declare const FinmeiListCurrenciesInput: z.
|
|
5
|
-
declare const FinmeiListCurrenciesOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const FinmeiListCurrenciesInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const FinmeiListCurrenciesOutput: z.ZodObject<{
|
|
6
|
+
currencies: z.ZodArray<z.ZodObject<{
|
|
7
|
+
code: z.ZodNullable<z.ZodString>;
|
|
8
|
+
name: z.ZodNullable<z.ZodString>;
|
|
9
|
+
symbol: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
10
|
+
}, z.core.$strip>>;
|
|
11
|
+
}, z.core.$strip>;
|
|
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]>;
|
|
7
19
|
//#endregion
|
|
8
20
|
export { finmeiListCurrencies };
|
|
9
21
|
//# 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,
|
|
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,9 +1,21 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-currencies.d.ts
|
|
4
|
-
declare const FinmeiListCurrenciesInput: z.
|
|
5
|
-
declare const FinmeiListCurrenciesOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const FinmeiListCurrenciesInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const FinmeiListCurrenciesOutput: z.ZodObject<{
|
|
6
|
+
currencies: z.ZodArray<z.ZodObject<{
|
|
7
|
+
code: z.ZodNullable<z.ZodString>;
|
|
8
|
+
name: z.ZodNullable<z.ZodString>;
|
|
9
|
+
symbol: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
10
|
+
}, z.core.$strip>>;
|
|
11
|
+
}, z.core.$strip>;
|
|
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]>;
|
|
7
19
|
//#endregion
|
|
8
20
|
export { finmeiListCurrencies };
|
|
9
21
|
//# 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,
|
|
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"}
|
|
@@ -3,9 +3,9 @@ import { z } from "zod";
|
|
|
3
3
|
//#region src/actions/list-currencies.ts
|
|
4
4
|
const FinmeiListCurrenciesInput = z.object({}).describe("Request schema for listing all supported currencies. No parameters required.");
|
|
5
5
|
const FinmeiListCurrencies_CurrencySchema = z.object({
|
|
6
|
-
code: z.string().describe("ISO 4217 currency code, e.g., USD"),
|
|
7
|
-
name: z.string().describe("Full currency name, e.g., United States Dollar"),
|
|
8
|
-
symbol: z.string().describe("Currency symbol, e.g., $").
|
|
6
|
+
code: z.string().describe("ISO 4217 currency code, e.g., USD").nullable(),
|
|
7
|
+
name: z.string().describe("Full currency name, e.g., United States Dollar").nullable(),
|
|
8
|
+
symbol: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Currency symbol, e.g., $").optional())
|
|
9
9
|
}).describe("Currency details as returned by the API");
|
|
10
10
|
const finmeiListCurrencies = action("FINMEI_LIST_CURRENCIES", {
|
|
11
11
|
slug: "finmei-list-currencies",
|
|
@@ -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
|
|
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.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Currency symbol, e.g., $\").optional()),\n}).describe(\"Currency details as returned by the API\");\nexport const FinmeiListCurrenciesOutput = z.object({\n currencies: z.array(FinmeiListCurrencies_CurrencySchema).describe(\"List of supported currency objects\"),\n}).describe(\"Response schema containing a list of supported currencies.\");\n\nexport const finmeiListCurrencies = action(\"FINMEI_LIST_CURRENCIES\", {\n slug: \"finmei-list-currencies\",\n name: \"List Currencies\",\n description: \"Tool to list all currencies supported by Finmei. Use when you need to retrieve available currency codes before creating transactions.\",\n input: FinmeiListCurrenciesInput,\n output: FinmeiListCurrenciesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,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,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC;AAClI,CAAC,CAAC,CAAC,SAAS,yCAAyC;AAKrD,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,SAAS,4DAOF;AACV,CAAC"}
|
|
@@ -8,23 +8,23 @@ 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.string().describe("City of the customer").
|
|
12
|
-
street: zod.z.string().describe("Street address of the customer").
|
|
13
|
-
country: zod.z.string().describe("Country code of the customer").
|
|
14
|
-
postal_code: zod.z.string().describe("Postal code of the customer").
|
|
11
|
+
city: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("City of the customer").optional()),
|
|
12
|
+
street: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Street address of the customer").optional()),
|
|
13
|
+
country: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Country code of the customer").optional()),
|
|
14
|
+
postal_code: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Postal code of the customer").optional())
|
|
15
15
|
}).describe("Physical address details of a customer");
|
|
16
16
|
const FinmeiListCustomers_CustomerSchema = zod.z.object({
|
|
17
|
-
id: zod.z.string().describe("Unique identifier of the customer"),
|
|
18
|
-
name: zod.z.string().describe("Name of the customer").
|
|
19
|
-
email: zod.z.string().describe("Email address of the customer").
|
|
20
|
-
address:
|
|
17
|
+
id: zod.z.string().describe("Unique identifier of the customer").nullable(),
|
|
18
|
+
name: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Name of the customer").optional()),
|
|
19
|
+
email: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Email address of the customer").optional()),
|
|
20
|
+
address: zod.z.preprocess((value) => value === null ? void 0 : value, FinmeiListCustomers_AddressSchema.optional())
|
|
21
21
|
}).describe("Customer details");
|
|
22
22
|
const FinmeiListCustomersOutput = zod.z.object({
|
|
23
|
-
page: zod.z.number().int().describe("Current page number"),
|
|
24
|
-
total: zod.z.number().int().describe("Total number of customers matching the filter"),
|
|
25
|
-
per_page: zod.z.number().int().describe("Number of customers returned per page"),
|
|
26
|
-
customers: zod.z.array(FinmeiListCustomers_CustomerSchema).describe("List of customer records matching the query").
|
|
27
|
-
total_pages: zod.z.number().int().describe("Total number of pages available")
|
|
23
|
+
page: zod.z.number().int().describe("Current page number").nullable(),
|
|
24
|
+
total: zod.z.number().int().describe("Total number of customers matching the filter").nullable(),
|
|
25
|
+
per_page: zod.z.number().int().describe("Number of customers returned per page").nullable(),
|
|
26
|
+
customers: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.array(FinmeiListCustomers_CustomerSchema).describe("List of customer records matching the query").optional()),
|
|
27
|
+
total_pages: zod.z.number().int().describe("Total number of pages available").nullable()
|
|
28
28
|
}).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",
|
|
@@ -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
|
|
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.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"City of the customer\").optional()),\n street: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Street address of the customer\").optional()),\n country: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Country code of the customer\").optional()),\n postal_code: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Postal code of the customer\").optional()),\n}).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.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Name of the customer\").optional()),\n email: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Email address of the customer\").optional()),\n address: z.preprocess((value) => (value === null ? undefined : value), FinmeiListCustomers_AddressSchema.optional()),\n}).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.preprocess((value) => (value === null ? undefined : value), z.array(FinmeiListCustomers_CustomerSchema).describe(\"List of customer records matching the query\").optional()),\n total_pages: z.number().int().describe(\"Total number of pages available\").nullable(),\n}).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,S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AC,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,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC;CACvL,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,SAAS,yDAAyD;AAErE,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,51 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-customers.d.ts
|
|
4
|
-
declare const FinmeiListCustomersInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const FinmeiListCustomersInput: z.ZodObject<{
|
|
5
|
+
page: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
6
|
+
sort: z.ZodOptional<z.ZodString>;
|
|
7
|
+
search: z.ZodOptional<z.ZodString>;
|
|
8
|
+
per_page: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
9
|
+
}, z.core.$strip>;
|
|
10
|
+
declare const FinmeiListCustomersOutput: z.ZodObject<{
|
|
11
|
+
page: z.ZodNullable<z.ZodNumber>;
|
|
12
|
+
total: z.ZodNullable<z.ZodNumber>;
|
|
13
|
+
per_page: z.ZodNullable<z.ZodNumber>;
|
|
14
|
+
customers: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
15
|
+
id: z.ZodNullable<z.ZodString>;
|
|
16
|
+
name: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
17
|
+
email: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
18
|
+
address: z.ZodPreprocess<z.ZodOptional<z.ZodObject<{
|
|
19
|
+
city: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
20
|
+
street: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
21
|
+
country: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
22
|
+
postal_code: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
23
|
+
}, z.core.$strip>>>;
|
|
24
|
+
}, z.core.$strip>>>>;
|
|
25
|
+
total_pages: z.ZodNullable<z.ZodNumber>;
|
|
26
|
+
}, z.core.$strip>;
|
|
27
|
+
declare const finmeiListCustomers: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
28
|
+
page?: number | undefined;
|
|
29
|
+
sort?: string | undefined;
|
|
30
|
+
search?: string | undefined;
|
|
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]>;
|
|
7
49
|
//#endregion
|
|
8
50
|
export { finmeiListCustomers };
|
|
9
51
|
//# sourceMappingURL=list-customers.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-customers.d.cts","names":[],"sources":["../../src/actions/list-customers.ts"],"mappings":";;;cAIa,wBAAA,
|
|
1
|
+
{"version":3,"file":"list-customers.d.cts","names":[],"sources":["../../src/actions/list-customers.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;cAkBxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAQzB,mBAAA,gCAAmB,wBAAA"}
|
|
@@ -1,9 +1,51 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-customers.d.ts
|
|
4
|
-
declare const FinmeiListCustomersInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const FinmeiListCustomersInput: z.ZodObject<{
|
|
5
|
+
page: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
6
|
+
sort: z.ZodOptional<z.ZodString>;
|
|
7
|
+
search: z.ZodOptional<z.ZodString>;
|
|
8
|
+
per_page: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
9
|
+
}, z.core.$strip>;
|
|
10
|
+
declare const FinmeiListCustomersOutput: z.ZodObject<{
|
|
11
|
+
page: z.ZodNullable<z.ZodNumber>;
|
|
12
|
+
total: z.ZodNullable<z.ZodNumber>;
|
|
13
|
+
per_page: z.ZodNullable<z.ZodNumber>;
|
|
14
|
+
customers: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
15
|
+
id: z.ZodNullable<z.ZodString>;
|
|
16
|
+
name: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
17
|
+
email: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
18
|
+
address: z.ZodPreprocess<z.ZodOptional<z.ZodObject<{
|
|
19
|
+
city: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
20
|
+
street: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
21
|
+
country: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
22
|
+
postal_code: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
23
|
+
}, z.core.$strip>>>;
|
|
24
|
+
}, z.core.$strip>>>>;
|
|
25
|
+
total_pages: z.ZodNullable<z.ZodNumber>;
|
|
26
|
+
}, z.core.$strip>;
|
|
27
|
+
declare const finmeiListCustomers: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
28
|
+
page?: number | undefined;
|
|
29
|
+
sort?: string | undefined;
|
|
30
|
+
search?: string | undefined;
|
|
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]>;
|
|
7
49
|
//#endregion
|
|
8
50
|
export { finmeiListCustomers };
|
|
9
51
|
//# sourceMappingURL=list-customers.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-customers.d.mts","names":[],"sources":["../../src/actions/list-customers.ts"],"mappings":";;;cAIa,wBAAA,
|
|
1
|
+
{"version":3,"file":"list-customers.d.mts","names":[],"sources":["../../src/actions/list-customers.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;cAkBxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAQzB,mBAAA,gCAAmB,wBAAA"}
|
|
@@ -8,16 +8,16 @@ 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.string().describe("City of the customer").
|
|
12
|
-
street: z.string().describe("Street address of the customer").
|
|
13
|
-
country: z.string().describe("Country code of the customer").
|
|
14
|
-
postal_code: z.string().describe("Postal code of the customer").
|
|
11
|
+
city: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("City of the customer").optional()),
|
|
12
|
+
street: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Street address of the customer").optional()),
|
|
13
|
+
country: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Country code of the customer").optional()),
|
|
14
|
+
postal_code: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Postal code of the customer").optional())
|
|
15
15
|
}).describe("Physical address details of a customer");
|
|
16
16
|
const FinmeiListCustomers_CustomerSchema = z.object({
|
|
17
|
-
id: z.string().describe("Unique identifier of the customer"),
|
|
18
|
-
name: z.string().describe("Name of the customer").
|
|
19
|
-
email: z.string().describe("Email address of the customer").
|
|
20
|
-
address:
|
|
17
|
+
id: z.string().describe("Unique identifier of the customer").nullable(),
|
|
18
|
+
name: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Name of the customer").optional()),
|
|
19
|
+
email: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Email address of the customer").optional()),
|
|
20
|
+
address: z.preprocess((value) => value === null ? void 0 : value, FinmeiListCustomers_AddressSchema.optional())
|
|
21
21
|
}).describe("Customer details");
|
|
22
22
|
const finmeiListCustomers = action("FINMEI_LIST_CUSTOMERS", {
|
|
23
23
|
slug: "finmei-list-customers",
|
|
@@ -25,11 +25,11 @@ const finmeiListCustomers = action("FINMEI_LIST_CUSTOMERS", {
|
|
|
25
25
|
description: "Tool to list all customers with optional filters and pagination. Use when needing to browse or search customer records.",
|
|
26
26
|
input: FinmeiListCustomersInput,
|
|
27
27
|
output: z.object({
|
|
28
|
-
page: z.number().int().describe("Current page number"),
|
|
29
|
-
total: z.number().int().describe("Total number of customers matching the filter"),
|
|
30
|
-
per_page: z.number().int().describe("Number of customers returned per page"),
|
|
31
|
-
customers: z.array(FinmeiListCustomers_CustomerSchema).describe("List of customer records matching the query").
|
|
32
|
-
total_pages: z.number().int().describe("Total number of pages available")
|
|
28
|
+
page: z.number().int().describe("Current page number").nullable(),
|
|
29
|
+
total: z.number().int().describe("Total number of customers matching the filter").nullable(),
|
|
30
|
+
per_page: z.number().int().describe("Number of customers returned per page").nullable(),
|
|
31
|
+
customers: z.preprocess((value) => value === null ? void 0 : value, z.array(FinmeiListCustomers_CustomerSchema).describe("List of customer records matching the query").optional()),
|
|
32
|
+
total_pages: z.number().int().describe("Total number of pages available").nullable()
|
|
33
33
|
}).describe("Paginated list of customers along with paging metadata.")
|
|
34
34
|
});
|
|
35
35
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-customers.mjs","names":[],"sources":["../../src/actions/list-customers.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FinmeiListCustomersInput
|
|
1
|
+
{"version":3,"file":"list-customers.mjs","names":[],"sources":["../../src/actions/list-customers.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FinmeiListCustomersInput = z.object({\n page: z.number().int().default(1).describe(\"Page number to retrieve (must be >= 1)\").optional(),\n sort: z.string().describe(\"Sort order, e.g., 'name_asc' or 'created_at_desc'\").optional(),\n search: z.string().describe(\"Search term to filter customers by name or email\").optional(),\n per_page: z.number().int().default(20).describe(\"Number of customers per page (1-100)\").optional(),\n}).describe(\"Parameters for retrieving a paginated list of customers with optional filtering and sorting.\");\nconst FinmeiListCustomers_AddressSchema = z.object({\n city: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"City of the customer\").optional()),\n street: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Street address of the customer\").optional()),\n country: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Country code of the customer\").optional()),\n postal_code: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Postal code of the customer\").optional()),\n}).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.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Name of the customer\").optional()),\n email: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Email address of the customer\").optional()),\n address: z.preprocess((value) => (value === null ? undefined : value), FinmeiListCustomers_AddressSchema.optional()),\n}).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.preprocess((value) => (value === null ? undefined : value), z.array(FinmeiListCustomers_CustomerSchema).describe(\"List of customer records matching the query\").optional()),\n total_pages: z.number().int().describe(\"Total number of pages available\").nullable(),\n}).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,2BAA2B,EAAE,OAAO;CAC/C,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC9F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACxF,QAAQ,EA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