@keystrokehq/finmei 0.1.1 → 0.1.2

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.
Files changed (139) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/create-expense.d.cts +1 -11
  4. package/dist/actions/create-expense.d.mts +1 -11
  5. package/dist/actions/create-invoice.cjs +63 -63
  6. package/dist/actions/create-invoice.cjs.map +1 -1
  7. package/dist/actions/create-invoice.d.cts +64 -133
  8. package/dist/actions/create-invoice.d.cts.map +1 -1
  9. package/dist/actions/create-invoice.d.mts +64 -133
  10. package/dist/actions/create-invoice.d.mts.map +1 -1
  11. package/dist/actions/create-invoice.mjs +63 -63
  12. package/dist/actions/create-invoice.mjs.map +1 -1
  13. package/dist/actions/delete-customer.d.cts +1 -1
  14. package/dist/actions/delete-customer.d.cts.map +1 -1
  15. package/dist/actions/delete-customer.d.mts +1 -1
  16. package/dist/actions/delete-customer.d.mts.map +1 -1
  17. package/dist/actions/delete-invoice.cjs +1 -1
  18. package/dist/actions/delete-invoice.cjs.map +1 -1
  19. package/dist/actions/delete-invoice.d.cts +2 -5
  20. package/dist/actions/delete-invoice.d.mts +2 -5
  21. package/dist/actions/delete-invoice.mjs +1 -1
  22. package/dist/actions/delete-invoice.mjs.map +1 -1
  23. package/dist/actions/delete-payment.d.cts +1 -3
  24. package/dist/actions/delete-payment.d.mts +1 -3
  25. package/dist/actions/delete-product.cjs +1 -1
  26. package/dist/actions/delete-product.cjs.map +1 -1
  27. package/dist/actions/delete-product.d.cts +2 -5
  28. package/dist/actions/delete-product.d.mts +2 -5
  29. package/dist/actions/delete-product.mjs +1 -1
  30. package/dist/actions/delete-product.mjs.map +1 -1
  31. package/dist/actions/download-expense-file.d.cts +1 -7
  32. package/dist/actions/download-expense-file.d.mts +1 -7
  33. package/dist/actions/download-invoice-pdf.d.cts +1 -7
  34. package/dist/actions/download-invoice-pdf.d.mts +1 -7
  35. package/dist/actions/get-expense.d.cts +1 -11
  36. package/dist/actions/get-expense.d.mts +1 -11
  37. package/dist/actions/get-invoice.cjs +25 -25
  38. package/dist/actions/get-invoice.cjs.map +1 -1
  39. package/dist/actions/get-invoice.d.cts +26 -77
  40. package/dist/actions/get-invoice.d.cts.map +1 -1
  41. package/dist/actions/get-invoice.d.mts +26 -77
  42. package/dist/actions/get-invoice.d.mts.map +1 -1
  43. package/dist/actions/get-invoice.mjs +25 -25
  44. package/dist/actions/get-invoice.mjs.map +1 -1
  45. package/dist/actions/get-payment.cjs +2 -2
  46. package/dist/actions/get-payment.cjs.map +1 -1
  47. package/dist/actions/get-payment.d.cts +3 -13
  48. package/dist/actions/get-payment.d.mts +3 -13
  49. package/dist/actions/get-payment.mjs +2 -2
  50. package/dist/actions/get-payment.mjs.map +1 -1
  51. package/dist/actions/get-product.cjs +1 -1
  52. package/dist/actions/get-product.cjs.map +1 -1
  53. package/dist/actions/get-product.d.cts +2 -10
  54. package/dist/actions/get-product.d.mts +2 -10
  55. package/dist/actions/get-product.mjs +1 -1
  56. package/dist/actions/get-product.mjs.map +1 -1
  57. package/dist/actions/get-profile.cjs +7 -7
  58. package/dist/actions/get-profile.cjs.map +1 -1
  59. package/dist/actions/get-profile.d.cts +8 -18
  60. package/dist/actions/get-profile.d.cts.map +1 -1
  61. package/dist/actions/get-profile.d.mts +8 -18
  62. package/dist/actions/get-profile.d.mts.map +1 -1
  63. package/dist/actions/get-profile.mjs +7 -7
  64. package/dist/actions/get-profile.mjs.map +1 -1
  65. package/dist/actions/list-currencies.cjs +1 -1
  66. package/dist/actions/list-currencies.cjs.map +1 -1
  67. package/dist/actions/list-currencies.d.cts +2 -8
  68. package/dist/actions/list-currencies.d.cts.map +1 -1
  69. package/dist/actions/list-currencies.d.mts +2 -8
  70. package/dist/actions/list-currencies.d.mts.map +1 -1
  71. package/dist/actions/list-currencies.mjs +1 -1
  72. package/dist/actions/list-currencies.mjs.map +1 -1
  73. package/dist/actions/list-customers.cjs +8 -8
  74. package/dist/actions/list-customers.cjs.map +1 -1
  75. package/dist/actions/list-customers.d.cts +9 -25
  76. package/dist/actions/list-customers.d.mts +9 -25
  77. package/dist/actions/list-customers.mjs +8 -8
  78. package/dist/actions/list-customers.mjs.map +1 -1
  79. package/dist/actions/list-expenses.cjs +11 -11
  80. package/dist/actions/list-expenses.cjs.map +1 -1
  81. package/dist/actions/list-expenses.d.cts +12 -31
  82. package/dist/actions/list-expenses.d.mts +12 -31
  83. package/dist/actions/list-expenses.mjs +11 -11
  84. package/dist/actions/list-expenses.mjs.map +1 -1
  85. package/dist/actions/list-invoices.cjs +29 -29
  86. package/dist/actions/list-invoices.cjs.map +1 -1
  87. package/dist/actions/list-invoices.d.cts +30 -92
  88. package/dist/actions/list-invoices.d.cts.map +1 -1
  89. package/dist/actions/list-invoices.d.mts +30 -92
  90. package/dist/actions/list-invoices.d.mts.map +1 -1
  91. package/dist/actions/list-invoices.mjs +29 -29
  92. package/dist/actions/list-invoices.mjs.map +1 -1
  93. package/dist/actions/list-payments.cjs +7 -7
  94. package/dist/actions/list-payments.cjs.map +1 -1
  95. package/dist/actions/list-payments.d.cts +8 -23
  96. package/dist/actions/list-payments.d.mts +8 -23
  97. package/dist/actions/list-payments.mjs +7 -7
  98. package/dist/actions/list-payments.mjs.map +1 -1
  99. package/dist/actions/list-products.cjs +3 -3
  100. package/dist/actions/list-products.cjs.map +1 -1
  101. package/dist/actions/list-products.d.cts +4 -20
  102. package/dist/actions/list-products.d.mts +4 -20
  103. package/dist/actions/list-products.mjs +3 -3
  104. package/dist/actions/list-products.mjs.map +1 -1
  105. package/dist/actions/update-customer.cjs +10 -10
  106. package/dist/actions/update-customer.cjs.map +1 -1
  107. package/dist/actions/update-customer.d.cts +11 -28
  108. package/dist/actions/update-customer.d.cts.map +1 -1
  109. package/dist/actions/update-customer.d.mts +11 -28
  110. package/dist/actions/update-customer.d.mts.map +1 -1
  111. package/dist/actions/update-customer.mjs +10 -10
  112. package/dist/actions/update-customer.mjs.map +1 -1
  113. package/dist/actions/update-expense-file.cjs +5 -5
  114. package/dist/actions/update-expense-file.cjs.map +1 -1
  115. package/dist/actions/update-expense-file.d.cts +6 -12
  116. package/dist/actions/update-expense-file.d.mts +6 -12
  117. package/dist/actions/update-expense-file.mjs +5 -5
  118. package/dist/actions/update-expense-file.mjs.map +1 -1
  119. package/dist/actions/update-expense.cjs +2 -2
  120. package/dist/actions/update-expense.cjs.map +1 -1
  121. package/dist/actions/update-expense.d.cts +3 -11
  122. package/dist/actions/update-expense.d.mts +3 -11
  123. package/dist/actions/update-expense.mjs +2 -2
  124. package/dist/actions/update-expense.mjs.map +1 -1
  125. package/dist/actions/update-invoice.cjs +52 -52
  126. package/dist/actions/update-invoice.cjs.map +1 -1
  127. package/dist/actions/update-invoice.d.cts +53 -109
  128. package/dist/actions/update-invoice.d.cts.map +1 -1
  129. package/dist/actions/update-invoice.d.mts +53 -109
  130. package/dist/actions/update-invoice.d.mts.map +1 -1
  131. package/dist/actions/update-invoice.mjs +52 -52
  132. package/dist/actions/update-invoice.mjs.map +1 -1
  133. package/dist/actions/update-product.cjs +1 -1
  134. package/dist/actions/update-product.cjs.map +1 -1
  135. package/dist/actions/update-product.d.cts +2 -10
  136. package/dist/actions/update-product.d.mts +2 -10
  137. package/dist/actions/update-product.mjs +1 -1
  138. package/dist/actions/update-product.mjs.map +1 -1
  139. package/package.json +1 -1
@@ -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.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>>;
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
14
  }, z.core.$strip>>;
15
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]>;
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,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.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())
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
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 = 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"}
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}).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,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,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"}
@@ -5,7 +5,7 @@ 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.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Currency symbol, e.g., $").optional())
8
+ symbol: zod.z.string().describe("Currency symbol, e.g., $").nullable().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 = 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
+ {"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}).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,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9E,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"}
@@ -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.ZodPreprocess<z.ZodOptional<z.ZodString>>;
9
+ symbol: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
10
  }, z.core.$strip>>;
11
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]>;
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.ZodPreprocess<z.ZodOptional<z.ZodString>>;
9
+ symbol: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
10
  }, z.core.$strip>>;
11
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]>;
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,7 +5,7 @@ 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.preprocess((value) => value === null ? void 0 : value, z.string().describe("Currency symbol, e.g., $").optional())
8
+ symbol: z.string().describe("Currency symbol, e.g., $").nullable().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 = 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"}
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}).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,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9E,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,22 +8,22 @@ 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.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())
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
15
  }).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.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())
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
21
  }).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.preprocess((value) => value === null ? void 0 : value, zod.z.array(FinmeiListCustomers_CustomerSchema).describe("List of customer records matching the query").optional()),
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
28
  }).describe("Paginated list of customers along with paging metadata.");
29
29
  const finmeiListCustomers = require_action.action("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 = 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,SAAS,8FAA8F;AAC1G,MAAM,oCAAoCA,IAAAA,EAAE,OAAO;CACjD,MAAMA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ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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
+ {"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}).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}).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}).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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CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -11,15 +11,15 @@ 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.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodObject<{
14
+ customers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
15
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>>;
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
23
  }, z.core.$strip>>>;
24
24
  }, z.core.$strip>>>>;
25
25
  total_pages: z.ZodNullable<z.ZodNumber>;
@@ -29,23 +29,7 @@ declare const finmeiListCustomers: import("@keystrokehq/action").WorkflowActionD
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,15 +11,15 @@ 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.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodObject<{
14
+ customers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
15
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>>;
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
23
  }, z.core.$strip>>>;
24
24
  }, z.core.$strip>>>>;
25
25
  total_pages: z.ZodNullable<z.ZodNumber>;
@@ -29,23 +29,7 @@ declare const finmeiListCustomers: import("@keystrokehq/action").WorkflowActionD
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,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.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())
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
15
  }).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.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())
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
21
  }).describe("Customer details");
22
22
  const finmeiListCustomers = action("FINMEI_LIST_CUSTOMERS", {
23
23
  slug: "finmei-list-customers",
@@ -28,7 +28,7 @@ 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.preprocess((value) => value === null ? void 0 : value, z.array(FinmeiListCustomers_CustomerSchema).describe("List of customer records matching the query").optional()),
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
33
  }).describe("Paginated list of customers along with paging metadata.")
34
34
  });
@@ -1 +1 @@
1
- {"version":3,"file":"list-customers.mjs","names":[],"sources":["../../src/actions/list-customers.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FinmeiListCustomersInput = z.object({\n page: z.number().int().default(1).describe(\"Page number to retrieve (must be >= 1)\").optional(),\n sort: z.string().describe(\"Sort order, e.g., 'name_asc' or 'created_at_desc'\").optional(),\n search: z.string().describe(\"Search term to filter customers by name or email\").optional(),\n per_page: z.number().int().default(20).describe(\"Number of customers per page (1-100)\").optional(),\n}).describe(\"Parameters for retrieving a paginated list of customers with optional filtering and sorting.\");\nconst FinmeiListCustomers_AddressSchema = z.object({\n city: z.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,SAA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C,SAAS,kBAAkB;AAS9B,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbuC,EAAE,OAAO;EAChD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;EAChE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EAC3F,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EACtF,WAAW,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC;EACvL,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACrF,CAAC,CAAC,CAAC,SAAS,yDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"list-customers.mjs","names":[],"sources":["../../src/actions/list-customers.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FinmeiListCustomersInput = z.object({\n page: z.number().int().default(1).describe(\"Page number to retrieve (must be >= 1)\").optional(),\n sort: z.string().describe(\"Sort order, e.g., 'name_asc' or 'created_at_desc'\").optional(),\n search: z.string().describe(\"Search term to filter customers by name or email\").optional(),\n per_page: z.number().int().default(20).describe(\"Number of customers per page (1-100)\").optional(),\n}).describe(\"Parameters for retrieving a paginated list of customers with optional filtering and sorting.\");\nconst FinmeiListCustomers_AddressSchema = z.object({\n city: z.string().describe(\"City of the customer\").nullable().optional(),\n street: z.string().describe(\"Street address of the customer\").nullable().optional(),\n country: z.string().describe(\"Country code of the customer\").nullable().optional(),\n postal_code: z.string().describe(\"Postal code of the customer\").nullable().optional(),\n}).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}).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}).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,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACzF,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,SAAS,8FAA8F;AAC1G,MAAM,oCAAoC,EAAE,OAAO;CACjD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,QAAQ,EAAE,OAAO,CAAC,CAA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,9 @@ const FinmeiListExpensesInput = zod.z.object({
6
6
  per_page: zod.z.number().int().default(20).describe("Number of expenses per page (1-100)").optional()
7
7
  }).describe("Optional pagination parameters for listing expenses.");
8
8
  const FinmeiListExpenses_PaginationMetaSchema = zod.z.object({
9
- to: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("Ending item number on current page").optional()),
10
- from: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("Starting item number on current page (1-indexed)").optional()),
11
- path: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("API endpoint path").optional()),
9
+ to: zod.z.number().int().describe("Ending item number on current page").nullable().optional(),
10
+ from: zod.z.number().int().describe("Starting item number on current page (1-indexed)").nullable().optional(),
11
+ path: zod.z.string().describe("API endpoint path").nullable().optional(),
12
12
  total: zod.z.number().int().describe("Total number of expenses across all pages").nullable(),
13
13
  per_page: zod.z.number().int().describe("Number of items per page").nullable(),
14
14
  last_page: zod.z.number().int().describe("Last page number").nullable(),
@@ -16,16 +16,16 @@ const FinmeiListExpenses_PaginationMetaSchema = zod.z.object({
16
16
  }).describe("Pagination metadata from the API");
17
17
  const FinmeiListExpenses_ExpenseSchema = zod.z.object({
18
18
  id: zod.z.string().describe("Unique identifier of the expense").nullable(),
19
- date: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Date of the expense in YYYY-MM-DD format").optional()),
20
- total: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().describe("Total amount of the expense").optional()),
21
- seller: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Name of the seller/vendor").optional()),
22
- currency: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("ISO 4217 currency code (USD, EUR, GBP, etc.)").optional()),
23
- created_at: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("Unix timestamp when expense was created").optional()),
24
- updated_at: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("Unix timestamp when expense was last updated").optional())
19
+ date: zod.z.string().describe("Date of the expense in YYYY-MM-DD format").nullable().optional(),
20
+ total: zod.z.number().describe("Total amount of the expense").nullable().optional(),
21
+ seller: zod.z.string().describe("Name of the seller/vendor").nullable().optional(),
22
+ currency: zod.z.string().describe("ISO 4217 currency code (USD, EUR, GBP, etc.)").nullable().optional(),
23
+ created_at: zod.z.number().int().describe("Unix timestamp when expense was created").nullable().optional(),
24
+ updated_at: zod.z.number().int().describe("Unix timestamp when expense was last updated").nullable().optional()
25
25
  }).describe("Single expense object returned by the API");
26
26
  const FinmeiListExpensesOutput = zod.z.object({
27
- meta: zod.z.preprocess((value) => value === null ? void 0 : value, FinmeiListExpenses_PaginationMetaSchema.optional()),
28
- expenses: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.array(FinmeiListExpenses_ExpenseSchema).describe("List of expense objects returned by the API").optional())
27
+ meta: FinmeiListExpenses_PaginationMetaSchema.nullable().optional(),
28
+ expenses: zod.z.array(FinmeiListExpenses_ExpenseSchema).describe("List of expense objects returned by the API").nullable().optional()
29
29
  }).describe("Response model for listing expenses with pagination metadata.");
30
30
  const finmeiListExpenses = require_action.action("FINMEI_LIST_EXPENSES", {
31
31
  slug: "finmei-list-expenses",
@@ -1 +1 @@
1
- {"version":3,"file":"list-expenses.cjs","names":["z","action"],"sources":["../../src/actions/list-expenses.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FinmeiListExpensesInput = z.object({\n page: z.number().int().default(1).describe(\"Page number to retrieve (must be >= 1)\").optional(),\n per_page: z.number().int().default(20).describe(\"Number of expenses per page (1-100)\").optional(),\n}).describe(\"Optional pagination parameters for listing expenses.\");\nconst FinmeiListExpenses_PaginationMetaSchema = z.object({\n to: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Ending item number on current page\").optional()),\n from: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Starting item number on current page (1-indexed)\").optional()),\n path: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"API endpoint path\").optional()),\n total: z.number().int().describe(\"Total number of expenses across all pages\").nullable(),\n per_page: z.number().int().describe(\"Number of items per page\").nullable(),\n last_page: z.number().int().describe(\"Last page number\").nullable(),\n current_page: z.number().int().describe(\"Current page number\").nullable(),\n}).describe(\"Pagination metadata from the API\");\nconst FinmeiListExpenses_ExpenseSchema = z.object({\n id: z.string().describe(\"Unique identifier of the expense\").nullable(),\n date: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Date of the expense in YYYY-MM-DD format\").optional()),\n total: z.preprocess((value) => (value === null ? undefined : value), z.number().describe(\"Total amount of the expense\").optional()),\n seller: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Name of the seller/vendor\").optional()),\n currency: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"ISO 4217 currency code (USD, EUR, GBP, etc.)\").optional()),\n created_at: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Unix timestamp when expense was created\").optional()),\n updated_at: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Unix timestamp when expense was last updated\").optional()),\n}).describe(\"Single expense object returned by the API\");\nexport const FinmeiListExpensesOutput = z.object({\n meta: z.preprocess((value) => (value === null ? undefined : value), FinmeiListExpenses_PaginationMetaSchema.optional()),\n expenses: z.preprocess((value) => (value === null ? undefined : value), z.array(FinmeiListExpenses_ExpenseSchema).describe(\"List of expense objects returned by the API\").optional()),\n}).describe(\"Response model for listing expenses with pagination metadata.\");\n\nexport const finmeiListExpenses = action(\"FINMEI_LIST_EXPENSES\", {\n slug: \"finmei-list-expenses\",\n name: \"List Expenses\",\n description: \"Tool to list all expenses for the business. Use when you need a paginated list of expenses with metadata.\",\n input: FinmeiListExpensesInput,\n output: FinmeiListExpensesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,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/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-expenses.cjs","names":["z","action"],"sources":["../../src/actions/list-expenses.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FinmeiListExpensesInput = z.object({\n page: z.number().int().default(1).describe(\"Page number to retrieve (must be >= 1)\").optional(),\n per_page: z.number().int().default(20).describe(\"Number of expenses per page (1-100)\").optional(),\n}).describe(\"Optional pagination parameters for listing expenses.\");\nconst FinmeiListExpenses_PaginationMetaSchema = z.object({\n to: z.number().int().describe(\"Ending item number on current page\").nullable().optional(),\n from: z.number().int().describe(\"Starting item number on current page (1-indexed)\").nullable().optional(),\n path: z.string().describe(\"API endpoint path\").nullable().optional(),\n total: z.number().int().describe(\"Total number of expenses across all pages\").nullable(),\n per_page: z.number().int().describe(\"Number of items per page\").nullable(),\n last_page: z.number().int().describe(\"Last page number\").nullable(),\n current_page: z.number().int().describe(\"Current page number\").nullable(),\n}).describe(\"Pagination metadata from the API\");\nconst FinmeiListExpenses_ExpenseSchema = z.object({\n id: z.string().describe(\"Unique identifier of the expense\").nullable(),\n date: z.string().describe(\"Date of the expense in YYYY-MM-DD format\").nullable().optional(),\n total: z.number().describe(\"Total amount of the expense\").nullable().optional(),\n seller: z.string().describe(\"Name of the seller/vendor\").nullable().optional(),\n currency: z.string().describe(\"ISO 4217 currency code (USD, EUR, GBP, etc.)\").nullable().optional(),\n created_at: z.number().int().describe(\"Unix timestamp when expense was created\").nullable().optional(),\n updated_at: z.number().int().describe(\"Unix timestamp when expense was last updated\").nullable().optional(),\n}).describe(\"Single expense object returned by the API\");\nexport const FinmeiListExpensesOutput = z.object({\n meta: FinmeiListExpenses_PaginationMetaSchema.nullable().optional(),\n expenses: z.array(FinmeiListExpenses_ExpenseSchema).describe(\"List of expense objects returned by the API\").nullable().optional(),\n}).describe(\"Response model for listing expenses with pagination metadata.\");\n\nexport const finmeiListExpenses = action(\"FINMEI_LIST_EXPENSES\", {\n slug: \"finmei-list-expenses\",\n name: \"List Expenses\",\n description: \"Tool to list all expenses for the business. Use when you need a paginated list of expenses with metadata.\",\n input: FinmeiListExpensesInput,\n output: FinmeiListExpensesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC9F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAM,0CAA0CA,IAAAA,EAAE,OAAO;CACvD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACvF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACzE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CAClE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC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z.ZodDefault<z.ZodNumber>>;
7
7
  }, z.core.$strip>;
8
8
  declare const FinmeiListExpensesOutput: z.ZodObject<{
9
- meta: z.ZodPreprocess<z.ZodOptional<z.ZodObject<{
10
- to: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
11
- from: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
12
- path: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
9
+ meta: z.ZodOptional<z.ZodNullable<z.ZodObject<{
10
+ to: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
11
+ from: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
12
+ path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
13
  total: z.ZodNullable<z.ZodNumber>;
14
14
  per_page: z.ZodNullable<z.ZodNumber>;
15
15
  last_page: z.ZodNullable<z.ZodNumber>;
16
16
  current_page: z.ZodNullable<z.ZodNumber>;
17
17
  }, z.core.$strip>>>;
18
- expenses: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodObject<{
18
+ expenses: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
19
19
  id: z.ZodNullable<z.ZodString>;
20
- date: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
21
- total: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
22
- seller: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
23
- currency: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
24
- created_at: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
25
- updated_at: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
20
+ date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ total: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
22
+ seller: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ currency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
25
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
26
26
  }, z.core.$strip>>>>;
27
27
  }, z.core.$strip>;
28
28
  declare const finmeiListExpenses: import("@keystrokehq/action").WorkflowActionDefinition<{
29
29
  page?: number | undefined;
30
30
  per_page?: number | undefined;
31
- }, {
32
- meta?: {
33
- total: number | null;
34
- per_page: number | null;
35
- last_page: number | null;
36
- current_page: number | null;
37
- to?: number | undefined;
38
- from?: number | undefined;
39
- path?: string | undefined;
40
- } | undefined;
41
- expenses?: {
42
- id: string | null;
43
- date?: string | undefined;
44
- total?: number | undefined;
45
- seller?: string | undefined;
46
- currency?: string | undefined;
47
- created_at?: number | undefined;
48
- updated_at?: number | undefined;
49
- }[] | undefined;
50
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
31
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
51
32
  //#endregion
52
33
  export { finmeiListExpenses };
53
34
  //# sourceMappingURL=list-expenses.d.cts.map
@@ -6,48 +6,29 @@ declare const FinmeiListExpensesInput: z.ZodObject<{
6
6
  per_page: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
7
7
  }, z.core.$strip>;
8
8
  declare const FinmeiListExpensesOutput: z.ZodObject<{
9
- meta: z.ZodPreprocess<z.ZodOptional<z.ZodObject<{
10
- to: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
11
- from: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
12
- path: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
9
+ meta: z.ZodOptional<z.ZodNullable<z.ZodObject<{
10
+ to: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
11
+ from: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
12
+ path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
13
  total: z.ZodNullable<z.ZodNumber>;
14
14
  per_page: z.ZodNullable<z.ZodNumber>;
15
15
  last_page: z.ZodNullable<z.ZodNumber>;
16
16
  current_page: z.ZodNullable<z.ZodNumber>;
17
17
  }, z.core.$strip>>>;
18
- expenses: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodObject<{
18
+ expenses: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
19
19
  id: z.ZodNullable<z.ZodString>;
20
- date: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
21
- total: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
22
- seller: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
23
- currency: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
24
- created_at: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
25
- updated_at: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
20
+ date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ total: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
22
+ seller: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ currency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
25
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
26
26
  }, z.core.$strip>>>>;
27
27
  }, z.core.$strip>;
28
28
  declare const finmeiListExpenses: import("@keystrokehq/action").WorkflowActionDefinition<{
29
29
  page?: number | undefined;
30
30
  per_page?: number | undefined;
31
- }, {
32
- meta?: {
33
- total: number | null;
34
- per_page: number | null;
35
- last_page: number | null;
36
- current_page: number | null;
37
- to?: number | undefined;
38
- from?: number | undefined;
39
- path?: string | undefined;
40
- } | undefined;
41
- expenses?: {
42
- id: string | null;
43
- date?: string | undefined;
44
- total?: number | undefined;
45
- seller?: string | undefined;
46
- currency?: string | undefined;
47
- created_at?: number | undefined;
48
- updated_at?: number | undefined;
49
- }[] | undefined;
50
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
31
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
51
32
  //#endregion
52
33
  export { finmeiListExpenses };
53
34
  //# sourceMappingURL=list-expenses.d.mts.map