@keystrokehq/finmei 0.1.0 → 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 (191) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/create-expense.cjs +7 -7
  4. package/dist/actions/create-expense.cjs.map +1 -1
  5. package/dist/actions/create-expense.d.cts +33 -3
  6. package/dist/actions/create-expense.d.cts.map +1 -1
  7. package/dist/actions/create-expense.d.mts +33 -3
  8. package/dist/actions/create-expense.d.mts.map +1 -1
  9. package/dist/actions/create-expense.mjs +7 -7
  10. package/dist/actions/create-expense.mjs.map +1 -1
  11. package/dist/actions/create-invoice.cjs.map +1 -1
  12. package/dist/actions/create-invoice.d.cts +166 -3
  13. package/dist/actions/create-invoice.d.cts.map +1 -1
  14. package/dist/actions/create-invoice.d.mts +166 -3
  15. package/dist/actions/create-invoice.d.mts.map +1 -1
  16. package/dist/actions/create-invoice.mjs.map +1 -1
  17. package/dist/actions/delete-customer.cjs.map +1 -1
  18. package/dist/actions/delete-customer.d.cts +7 -3
  19. package/dist/actions/delete-customer.d.cts.map +1 -1
  20. package/dist/actions/delete-customer.d.mts +7 -3
  21. package/dist/actions/delete-customer.d.mts.map +1 -1
  22. package/dist/actions/delete-customer.mjs.map +1 -1
  23. package/dist/actions/delete-invoice.cjs +1 -1
  24. package/dist/actions/delete-invoice.cjs.map +1 -1
  25. package/dist/actions/delete-invoice.d.cts +10 -3
  26. package/dist/actions/delete-invoice.d.cts.map +1 -1
  27. package/dist/actions/delete-invoice.d.mts +10 -3
  28. package/dist/actions/delete-invoice.d.mts.map +1 -1
  29. package/dist/actions/delete-invoice.mjs +1 -1
  30. package/dist/actions/delete-invoice.mjs.map +1 -1
  31. package/dist/actions/delete-payment.cjs +1 -1
  32. package/dist/actions/delete-payment.cjs.map +1 -1
  33. package/dist/actions/delete-payment.d.cts +9 -3
  34. package/dist/actions/delete-payment.d.cts.map +1 -1
  35. package/dist/actions/delete-payment.d.mts +9 -3
  36. package/dist/actions/delete-payment.d.mts.map +1 -1
  37. package/dist/actions/delete-payment.mjs +1 -1
  38. package/dist/actions/delete-payment.mjs.map +1 -1
  39. package/dist/actions/delete-product.cjs +1 -1
  40. package/dist/actions/delete-product.cjs.map +1 -1
  41. package/dist/actions/delete-product.d.cts +10 -3
  42. package/dist/actions/delete-product.d.cts.map +1 -1
  43. package/dist/actions/delete-product.d.mts +10 -3
  44. package/dist/actions/delete-product.d.mts.map +1 -1
  45. package/dist/actions/delete-product.mjs +1 -1
  46. package/dist/actions/delete-product.mjs.map +1 -1
  47. package/dist/actions/download-expense-file.cjs +3 -3
  48. package/dist/actions/download-expense-file.cjs.map +1 -1
  49. package/dist/actions/download-expense-file.d.cts +13 -3
  50. package/dist/actions/download-expense-file.d.cts.map +1 -1
  51. package/dist/actions/download-expense-file.d.mts +13 -3
  52. package/dist/actions/download-expense-file.d.mts.map +1 -1
  53. package/dist/actions/download-expense-file.mjs +3 -3
  54. package/dist/actions/download-expense-file.mjs.map +1 -1
  55. package/dist/actions/download-invoice-pdf.cjs +3 -3
  56. package/dist/actions/download-invoice-pdf.cjs.map +1 -1
  57. package/dist/actions/download-invoice-pdf.d.cts +13 -3
  58. package/dist/actions/download-invoice-pdf.d.cts.map +1 -1
  59. package/dist/actions/download-invoice-pdf.d.mts +13 -3
  60. package/dist/actions/download-invoice-pdf.d.mts.map +1 -1
  61. package/dist/actions/download-invoice-pdf.mjs +3 -3
  62. package/dist/actions/download-invoice-pdf.mjs.map +1 -1
  63. package/dist/actions/get-expense.cjs +7 -7
  64. package/dist/actions/get-expense.cjs.map +1 -1
  65. package/dist/actions/get-expense.d.cts +17 -3
  66. package/dist/actions/get-expense.d.cts.map +1 -1
  67. package/dist/actions/get-expense.d.mts +17 -3
  68. package/dist/actions/get-expense.d.mts.map +1 -1
  69. package/dist/actions/get-expense.mjs +7 -7
  70. package/dist/actions/get-expense.mjs.map +1 -1
  71. package/dist/actions/get-invoice.cjs +20 -20
  72. package/dist/actions/get-invoice.cjs.map +1 -1
  73. package/dist/actions/get-invoice.d.cts +58 -3
  74. package/dist/actions/get-invoice.d.cts.map +1 -1
  75. package/dist/actions/get-invoice.d.mts +58 -3
  76. package/dist/actions/get-invoice.d.mts.map +1 -1
  77. package/dist/actions/get-invoice.mjs +20 -20
  78. package/dist/actions/get-invoice.mjs.map +1 -1
  79. package/dist/actions/get-payment.cjs +7 -7
  80. package/dist/actions/get-payment.cjs.map +1 -1
  81. package/dist/actions/get-payment.d.cts +17 -3
  82. package/dist/actions/get-payment.d.cts.map +1 -1
  83. package/dist/actions/get-payment.d.mts +17 -3
  84. package/dist/actions/get-payment.d.mts.map +1 -1
  85. package/dist/actions/get-payment.mjs +7 -7
  86. package/dist/actions/get-payment.mjs.map +1 -1
  87. package/dist/actions/get-product.cjs +6 -6
  88. package/dist/actions/get-product.cjs.map +1 -1
  89. package/dist/actions/get-product.d.cts +15 -3
  90. package/dist/actions/get-product.d.cts.map +1 -1
  91. package/dist/actions/get-product.d.mts +15 -3
  92. package/dist/actions/get-product.d.mts.map +1 -1
  93. package/dist/actions/get-product.mjs +6 -6
  94. package/dist/actions/get-product.mjs.map +1 -1
  95. package/dist/actions/get-profile.cjs.map +1 -1
  96. package/dist/actions/get-profile.d.cts +13 -3
  97. package/dist/actions/get-profile.d.cts.map +1 -1
  98. package/dist/actions/get-profile.d.mts +13 -3
  99. package/dist/actions/get-profile.d.mts.map +1 -1
  100. package/dist/actions/get-profile.mjs.map +1 -1
  101. package/dist/actions/list-currencies.cjs +2 -2
  102. package/dist/actions/list-currencies.cjs.map +1 -1
  103. package/dist/actions/list-currencies.d.cts +9 -3
  104. package/dist/actions/list-currencies.d.cts.map +1 -1
  105. package/dist/actions/list-currencies.d.mts +9 -3
  106. package/dist/actions/list-currencies.d.mts.map +1 -1
  107. package/dist/actions/list-currencies.mjs +2 -2
  108. package/dist/actions/list-currencies.mjs.map +1 -1
  109. package/dist/actions/list-customers.cjs +5 -5
  110. package/dist/actions/list-customers.cjs.map +1 -1
  111. package/dist/actions/list-customers.d.cts +29 -3
  112. package/dist/actions/list-customers.d.cts.map +1 -1
  113. package/dist/actions/list-customers.d.mts +29 -3
  114. package/dist/actions/list-customers.d.mts.map +1 -1
  115. package/dist/actions/list-customers.mjs +5 -5
  116. package/dist/actions/list-customers.mjs.map +1 -1
  117. package/dist/actions/list-expenses.cjs +5 -5
  118. package/dist/actions/list-expenses.cjs.map +1 -1
  119. package/dist/actions/list-expenses.d.cts +28 -3
  120. package/dist/actions/list-expenses.d.cts.map +1 -1
  121. package/dist/actions/list-expenses.d.mts +28 -3
  122. package/dist/actions/list-expenses.d.mts.map +1 -1
  123. package/dist/actions/list-expenses.mjs +5 -5
  124. package/dist/actions/list-expenses.mjs.map +1 -1
  125. package/dist/actions/list-invoices.cjs +25 -25
  126. package/dist/actions/list-invoices.cjs.map +1 -1
  127. package/dist/actions/list-invoices.d.cts +71 -3
  128. package/dist/actions/list-invoices.d.cts.map +1 -1
  129. package/dist/actions/list-invoices.d.mts +71 -3
  130. package/dist/actions/list-invoices.d.mts.map +1 -1
  131. package/dist/actions/list-invoices.mjs +25 -25
  132. package/dist/actions/list-invoices.mjs.map +1 -1
  133. package/dist/actions/list-payments.cjs +6 -6
  134. package/dist/actions/list-payments.cjs.map +1 -1
  135. package/dist/actions/list-payments.d.cts +34 -3
  136. package/dist/actions/list-payments.d.cts.map +1 -1
  137. package/dist/actions/list-payments.d.mts +34 -3
  138. package/dist/actions/list-payments.d.mts.map +1 -1
  139. package/dist/actions/list-payments.mjs +6 -6
  140. package/dist/actions/list-payments.mjs.map +1 -1
  141. package/dist/actions/list-products.cjs +8 -8
  142. package/dist/actions/list-products.cjs.map +1 -1
  143. package/dist/actions/list-products.d.cts +35 -3
  144. package/dist/actions/list-products.d.cts.map +1 -1
  145. package/dist/actions/list-products.d.mts +35 -3
  146. package/dist/actions/list-products.d.mts.map +1 -1
  147. package/dist/actions/list-products.mjs +8 -8
  148. package/dist/actions/list-products.mjs.map +1 -1
  149. package/dist/actions/update-customer.cjs +3 -3
  150. package/dist/actions/update-customer.cjs.map +1 -1
  151. package/dist/actions/update-customer.d.cts +46 -3
  152. package/dist/actions/update-customer.d.cts.map +1 -1
  153. package/dist/actions/update-customer.d.mts +46 -3
  154. package/dist/actions/update-customer.d.mts.map +1 -1
  155. package/dist/actions/update-customer.mjs +3 -3
  156. package/dist/actions/update-customer.mjs.map +1 -1
  157. package/dist/actions/update-expense-file.cjs.map +1 -1
  158. package/dist/actions/update-expense-file.d.cts +23 -3
  159. package/dist/actions/update-expense-file.d.cts.map +1 -1
  160. package/dist/actions/update-expense-file.d.mts +23 -3
  161. package/dist/actions/update-expense-file.d.mts.map +1 -1
  162. package/dist/actions/update-expense-file.mjs.map +1 -1
  163. package/dist/actions/update-expense.cjs +5 -5
  164. package/dist/actions/update-expense.cjs.map +1 -1
  165. package/dist/actions/update-expense.d.cts +23 -3
  166. package/dist/actions/update-expense.d.cts.map +1 -1
  167. package/dist/actions/update-expense.d.mts +23 -3
  168. package/dist/actions/update-expense.d.mts.map +1 -1
  169. package/dist/actions/update-expense.mjs +5 -5
  170. package/dist/actions/update-expense.mjs.map +1 -1
  171. package/dist/actions/update-invoice.cjs.map +1 -1
  172. package/dist/actions/update-invoice.d.cts +147 -3
  173. package/dist/actions/update-invoice.d.cts.map +1 -1
  174. package/dist/actions/update-invoice.d.mts +147 -3
  175. package/dist/actions/update-invoice.d.mts.map +1 -1
  176. package/dist/actions/update-invoice.mjs.map +1 -1
  177. package/dist/actions/update-product.cjs +6 -6
  178. package/dist/actions/update-product.cjs.map +1 -1
  179. package/dist/actions/update-product.d.cts +23 -3
  180. package/dist/actions/update-product.d.cts.map +1 -1
  181. package/dist/actions/update-product.d.mts +23 -3
  182. package/dist/actions/update-product.d.mts.map +1 -1
  183. package/dist/actions/update-product.mjs +6 -6
  184. package/dist/actions/update-product.mjs.map +1 -1
  185. package/dist/catalog.cjs +7 -1
  186. package/dist/catalog.cjs.map +1 -1
  187. package/dist/catalog.d.cts +8 -0
  188. package/dist/catalog.d.mts +8 -0
  189. package/dist/catalog.mjs +7 -1
  190. package/dist/catalog.mjs.map +1 -1
  191. package/package.json +2 -2
@@ -1,9 +1,41 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-products.d.ts
4
- declare const FinmeiListProductsInput: z.ZodTypeAny;
5
- declare const FinmeiListProductsOutput: z.ZodTypeAny;
6
- declare const finmeiListProducts: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const FinmeiListProductsInput: z.ZodObject<{
5
+ name: z.ZodOptional<z.ZodString>;
6
+ page: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
7
+ status: z.ZodOptional<z.ZodEnum<{
8
+ active: "active";
9
+ inactive: "inactive";
10
+ }>>;
11
+ per_page: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
12
+ }, z.core.$strip>;
13
+ declare const FinmeiListProductsOutput: z.ZodObject<{
14
+ products: z.ZodArray<z.ZodObject<{
15
+ id: z.ZodNullable<z.ZodString>;
16
+ name: z.ZodNullable<z.ZodString>;
17
+ price: z.ZodNullable<z.ZodNumber>;
18
+ status: z.ZodNullable<z.ZodEnum<{
19
+ active: "active";
20
+ inactive: "inactive";
21
+ }>>;
22
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
+ }, z.core.$strip>>;
26
+ pagination: z.ZodNullable<z.ZodObject<{
27
+ page: z.ZodNullable<z.ZodNumber>;
28
+ per_page: z.ZodNullable<z.ZodNumber>;
29
+ total_items: z.ZodNullable<z.ZodNumber>;
30
+ total_pages: z.ZodNullable<z.ZodNumber>;
31
+ }, z.core.$strip>>;
32
+ }, z.core.$strip>;
33
+ declare const finmeiListProducts: import("@keystrokehq/action").WorkflowActionDefinition<{
34
+ name?: string | undefined;
35
+ page?: number | undefined;
36
+ status?: "active" | "inactive" | undefined;
37
+ per_page?: number | undefined;
38
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
39
  //#endregion
8
40
  export { finmeiListProducts };
9
41
  //# sourceMappingURL=list-products.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-products.d.mts","names":[],"sources":["../../src/actions/list-products.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAK4B;AAAA,cAgBvD,wBAAA,EAA0B,CAAA,CAAE,UAGW;AAAA,cAEvC,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-products.d.mts","names":[],"sources":["../../src/actions/list-products.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;cAqBvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAKxB,kBAAA,gCAAkB,wBAAA"}
@@ -8,19 +8,19 @@ const FinmeiListProductsInput = z.object({
8
8
  per_page: z.number().int().default(20).describe("Number of products per page.").optional()
9
9
  }).describe("Optional filters and pagination for listing products.");
10
10
  const FinmeiListProducts_ProductSchema = z.object({
11
- id: z.string().describe("Unique identifier of the product"),
12
- name: z.string().describe("Name of the product"),
13
- price: z.number().describe("Price of the product in the account's currency"),
14
- status: z.enum(["active", "inactive"]).describe("Current status of the product"),
11
+ id: z.string().describe("Unique identifier of the product").nullable(),
12
+ name: z.string().describe("Name of the product").nullable(),
13
+ price: z.number().describe("Price of the product in the account's currency").nullable(),
14
+ status: z.enum(["active", "inactive"]).describe("Current status of the product").nullable(),
15
15
  created_at: z.string().describe("ISO 8601 timestamp when the product was created").nullable().optional(),
16
16
  updated_at: z.string().describe("ISO 8601 timestamp when the product was last updated").nullable().optional(),
17
17
  description: z.string().describe("Description of the product").nullable().optional()
18
18
  }).describe("Schema for a product object returned by the API");
19
19
  const FinmeiListProducts_PaginationSchema = z.object({
20
- page: z.number().int().describe("Current page number"),
21
- per_page: z.number().int().describe("Number of items per page"),
22
- total_items: z.number().int().describe("Total number of items across all pages"),
23
- total_pages: z.number().int().describe("Total number of pages available")
20
+ page: z.number().int().describe("Current page number").nullable(),
21
+ per_page: z.number().int().describe("Number of items per page").nullable(),
22
+ total_items: z.number().int().describe("Total number of items across all pages").nullable(),
23
+ total_pages: z.number().int().describe("Total number of pages available").nullable()
24
24
  }).describe("Pagination metadata for list endpoints");
25
25
  const finmeiListProducts = action("FINMEI_LIST_PRODUCTS", {
26
26
  slug: "finmei-list-products",
@@ -1 +1 @@
1
- {"version":3,"file":"list-products.mjs","names":[],"sources":["../../src/actions/list-products.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FinmeiListProductsInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Filter products by name substring.\").optional(),\n page: z.number().int().default(1).describe(\"Page number for pagination (1-indexed).\").optional(),\n status: z.enum([\"active\", \"inactive\"]).describe(\"Filter products by their status.\").optional(),\n per_page: z.number().int().default(20).describe(\"Number of products per page.\").optional(),\n}).describe(\"Optional filters and pagination for listing products.\");\nconst FinmeiListProducts_ProductSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the product\"),\n name: z.string().describe(\"Name of the product\"),\n price: z.number().describe(\"Price of the product in the account's currency\"),\n status: z.enum([\"active\", \"inactive\"]).describe(\"Current status of the product\"),\n created_at: z.string().describe(\"ISO 8601 timestamp when the product was created\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the product was last updated\").nullable().optional(),\n description: z.string().describe(\"Description of the product\").nullable().optional(),\n}).describe(\"Schema for a product object returned by the API\");\nconst FinmeiListProducts_PaginationSchema: z.ZodTypeAny = z.object({\n page: z.number().int().describe(\"Current page number\"),\n per_page: z.number().int().describe(\"Number of items per page\"),\n total_items: z.number().int().describe(\"Total number of items across all pages\"),\n total_pages: z.number().int().describe(\"Total number of pages available\"),\n}).describe(\"Pagination metadata for list endpoints\");\nexport const FinmeiListProductsOutput: z.ZodTypeAny = z.object({\n products: z.array(FinmeiListProducts_ProductSchema).describe(\"List of products matching the query\"),\n pagination: FinmeiListProducts_PaginationSchema.nullable(),\n}).describe(\"Response schema when listing products\");\n\nexport const finmeiListProducts = action(\"FINMEI_LIST_PRODUCTS\", {\n slug: \"finmei-list-products\",\n name: \"List Products\",\n description: \"Tool to retrieve a list of products with optional filters and pagination. Use when you need to browse or filter the product catalog.\",\n input: FinmeiListProductsInput,\n output: FinmeiListProductsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwC,EAAE,OAAO;CAC5D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACzE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC/F,QAAQ,EAAE,KAAK,CAAC,UAAU,UAAU,CAAC,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC7F,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAM,mCAAiD,EAAE,OAAO;CAC9D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CAC1D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;CAC/C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;CAC3E,QAAQ,EAAE,KAAK,CAAC,UAAU,UAAU,CAAC,CAAC,CAAC,SAAS,+BAA+B;CAC/E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,sCAAoD,EAAE,OAAO;CACjE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB;CACrD,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B;CAC9D,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC;CAC/E,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC;AAC1E,CAAC,CAAC,CAAC,SAAS,wCAAwC;AAMpD,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVoD,EAAE,OAAO;EAC7D,UAAU,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,qCAAqC;EAClG,YAAY,oCAAoC,SAAS;CAC3D,CAAC,CAAC,CAAC,SAAS,uCAOF;AACV,CAAC"}
1
+ {"version":3,"file":"list-products.mjs","names":[],"sources":["../../src/actions/list-products.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FinmeiListProductsInput = z.object({\n name: z.string().describe(\"Filter products by name substring.\").optional(),\n page: z.number().int().default(1).describe(\"Page number for pagination (1-indexed).\").optional(),\n status: z.enum([\"active\", \"inactive\"]).describe(\"Filter products by their status.\").optional(),\n per_page: z.number().int().default(20).describe(\"Number of products per page.\").optional(),\n}).describe(\"Optional filters and pagination for listing products.\");\nconst FinmeiListProducts_ProductSchema = 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 in the account's currency\").nullable(),\n status: z.enum([\"active\", \"inactive\"]).describe(\"Current status of the product\").nullable(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the product was created\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the product was last updated\").nullable().optional(),\n description: z.string().describe(\"Description of the product\").nullable().optional(),\n}).describe(\"Schema for a product object returned by the API\");\nconst FinmeiListProducts_PaginationSchema = z.object({\n page: z.number().int().describe(\"Current page number\").nullable(),\n per_page: z.number().int().describe(\"Number of items per page\").nullable(),\n total_items: z.number().int().describe(\"Total number of items across all pages\").nullable(),\n total_pages: z.number().int().describe(\"Total number of pages available\").nullable(),\n}).describe(\"Pagination metadata for list endpoints\");\nexport const FinmeiListProductsOutput = z.object({\n products: z.array(FinmeiListProducts_ProductSchema).describe(\"List of products matching the query\"),\n pagination: FinmeiListProducts_PaginationSchema.nullable(),\n}).describe(\"Response schema when listing products\");\n\nexport const finmeiListProducts = action(\"FINMEI_LIST_PRODUCTS\", {\n slug: \"finmei-list-products\",\n name: \"List Products\",\n description: \"Tool to retrieve a list of products with optional filters and pagination. Use when you need to browse or filter the product catalog.\",\n input: FinmeiListProductsInput,\n output: FinmeiListProductsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO;CAC9C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACzE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC/F,QAAQ,EAAE,KAAK,CAAC,UAAU,UAAU,CAAC,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC7F,UAAU,EAAE,OAAO,CA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,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVsC,EAAE,OAAO;EAC/C,UAAU,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,qCAAqC;EAClG,YAAY,oCAAoC,SAAS;CAC3D,CAAC,CAAC,CAAC,SAAS,uCAOF;AACV,CAAC"}
@@ -23,14 +23,14 @@ const FinmeiUpdateCustomer_AddressSchema = zod.z.object({
23
23
  postal_code: zod.z.string().describe("Postal or ZIP code of the customer's address").nullable().optional()
24
24
  }).describe("Mailing address details");
25
25
  const FinmeiUpdateCustomer_CustomerSchema = zod.z.object({
26
- id: zod.z.string().describe("Unique identifier of the customer"),
26
+ id: zod.z.string().describe("Unique identifier of the customer").nullable(),
27
27
  name: zod.z.string().describe("Full name of the customer").nullable().optional(),
28
28
  email: zod.z.string().describe("Email address of the customer").nullable().optional(),
29
29
  phone: zod.z.string().describe("Phone number of the customer").nullable().optional(),
30
30
  address: FinmeiUpdateCustomer_AddressSchema.nullable().optional(),
31
31
  metadata: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Additional metadata associated with the customer").nullable().optional(),
32
- created_at: zod.z.string().describe("Timestamp when the customer was created"),
33
- updated_at: zod.z.string().describe("Timestamp when the customer was last updated")
32
+ created_at: zod.z.string().describe("Timestamp when the customer was created").nullable(),
33
+ updated_at: zod.z.string().describe("Timestamp when the customer was last updated").nullable()
34
34
  });
35
35
  const FinmeiUpdateCustomerOutput = zod.z.object({ customer: FinmeiUpdateCustomer_CustomerSchema.nullable() }).describe("Response model containing the updated customer record");
36
36
  const finmeiUpdateCustomer = require_action.action("FINMEI_UPDATE_CUSTOMER", {
@@ -1 +1 @@
1
- {"version":3,"file":"update-customer.cjs","names":["z","action"],"sources":["../../src/actions/update-customer.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FinmeiUpdateCustomerInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Full name of the customer\").optional(),\n email: z.string().describe(\"Email address of the customer\").optional(),\n phone: z.string().describe(\"Phone number of the customer\").optional(),\n address: z.object({\n city: z.string().describe(\"City of the customer's address\").optional(),\n state: z.string().describe(\"State or province of the customer's address\").optional(),\n street: z.string().describe(\"Street address of the customer\").optional(),\n country: z.string().describe(\"Country code (ISO 3166-1 alpha-2)\").optional(),\n postal_code: z.string().describe(\"Postal or ZIP code of the customer's address\").optional(),\n}).describe(\"Mailing address details\").optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Additional metadata for the customer as key-value pairs\").optional(),\n customer_id: z.string().describe(\"Unique identifier of the customer to update\"),\n}).describe(\"Request model for updating an existing customer\");\nconst FinmeiUpdateCustomer_AddressSchema: z.ZodTypeAny = z.object({\n city: z.string().describe(\"City of the customer's address\").nullable().optional(),\n state: z.string().describe(\"State or province of the customer's address\").nullable().optional(),\n street: z.string().describe(\"Street address of the customer\").nullable().optional(),\n country: z.string().describe(\"Country code (ISO 3166-1 alpha-2)\").nullable().optional(),\n postal_code: z.string().describe(\"Postal or ZIP code of the customer's address\").nullable().optional(),\n}).describe(\"Mailing address details\");\nconst FinmeiUpdateCustomer_CustomerSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the customer\"),\n name: z.string().describe(\"Full name of the customer\").nullable().optional(),\n email: z.string().describe(\"Email address of the customer\").nullable().optional(),\n phone: z.string().describe(\"Phone number of the customer\").nullable().optional(),\n address: FinmeiUpdateCustomer_AddressSchema.nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Additional metadata associated with the customer\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the customer was created\"),\n updated_at: z.string().describe(\"Timestamp when the customer was last updated\"),\n});\nexport const FinmeiUpdateCustomerOutput: z.ZodTypeAny = z.object({\n customer: FinmeiUpdateCustomer_CustomerSchema.nullable(),\n}).describe(\"Response model containing the updated customer record\");\n\nexport const finmeiUpdateCustomer = action(\"FINMEI_UPDATE_CUSTOMER\", {\n slug: \"finmei-update-customer\",\n name: \"Update Customer\",\n description: \"Tool to update an existing customer's details. Use after confirming the customer ID to modify their information.\",\n input: FinmeiUpdateCustomerInput,\n output: FinmeiUpdateCustomerOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0CA,IAAAA,EAAE,OAAO;CAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACrE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACpE,SAASA,IAAAA,EAAE,OAAO;EAClB,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EACrE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EACnF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EACvE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EAC3E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CAC5F,CAAC,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC9C,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACzH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;AAChF,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,qCAAmDA,IAAAA,EAAE,OAAO;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,OAAOA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,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-customer.cjs","names":["z","action"],"sources":["../../src/actions/update-customer.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FinmeiUpdateCustomerInput = z.object({\n name: z.string().describe(\"Full name of the customer\").optional(),\n email: z.string().describe(\"Email address of the customer\").optional(),\n phone: z.string().describe(\"Phone number of the customer\").optional(),\n address: z.object({\n city: z.string().describe(\"City of the customer's address\").optional(),\n state: z.string().describe(\"State or province of the customer's address\").optional(),\n street: z.string().describe(\"Street address of the customer\").optional(),\n country: z.string().describe(\"Country code (ISO 3166-1 alpha-2)\").optional(),\n postal_code: z.string().describe(\"Postal or ZIP code of the customer's address\").optional(),\n}).describe(\"Mailing address details\").optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Additional metadata for the customer as key-value pairs\").optional(),\n customer_id: z.string().describe(\"Unique identifier of the customer to update\"),\n}).describe(\"Request model for updating an existing customer\");\nconst FinmeiUpdateCustomer_AddressSchema = z.object({\n city: z.string().describe(\"City of the customer's address\").nullable().optional(),\n state: z.string().describe(\"State or province of the customer's address\").nullable().optional(),\n street: z.string().describe(\"Street address of the customer\").nullable().optional(),\n country: z.string().describe(\"Country code (ISO 3166-1 alpha-2)\").nullable().optional(),\n postal_code: z.string().describe(\"Postal or ZIP code of the customer's address\").nullable().optional(),\n}).describe(\"Mailing address details\");\nconst FinmeiUpdateCustomer_CustomerSchema = z.object({\n id: z.string().describe(\"Unique identifier of the customer\").nullable(),\n name: z.string().describe(\"Full name of the customer\").nullable().optional(),\n email: z.string().describe(\"Email address of the customer\").nullable().optional(),\n phone: z.string().describe(\"Phone number of the customer\").nullable().optional(),\n address: FinmeiUpdateCustomer_AddressSchema.nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Additional metadata associated with the customer\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the customer was created\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the customer was last updated\").nullable(),\n});\nexport const FinmeiUpdateCustomerOutput = z.object({\n customer: FinmeiUpdateCustomer_CustomerSchema.nullable(),\n}).describe(\"Response model containing the updated customer record\");\n\nexport const finmeiUpdateCustomer = action(\"FINMEI_UPDATE_CUSTOMER\", {\n slug: \"finmei-update-customer\",\n name: \"Update Customer\",\n description: \"Tool to update an existing customer's details. Use after confirming the customer ID to modify their information.\",\n input: FinmeiUpdateCustomerInput,\n output: FinmeiUpdateCustomerOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACrE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACpE,SAASA,IAAAA,EAAE,OAAO;EAClB,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EACrE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EACnF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EACvE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EAC3E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CAC5F,CAAC,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC9C,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,C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,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACpF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;AAC3F,CAAC;AACD,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,UAAU,oCAAoC,SAAS,EACzD,CAAC,CAAC,CAAC,SAAS,uDAAuD;AAEnE,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,52 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-customer.d.ts
4
- declare const FinmeiUpdateCustomerInput: z.ZodTypeAny;
5
- declare const FinmeiUpdateCustomerOutput: z.ZodTypeAny;
6
- declare const finmeiUpdateCustomer: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const FinmeiUpdateCustomerInput: z.ZodObject<{
5
+ name: z.ZodOptional<z.ZodString>;
6
+ email: z.ZodOptional<z.ZodString>;
7
+ phone: z.ZodOptional<z.ZodString>;
8
+ address: z.ZodOptional<z.ZodObject<{
9
+ city: z.ZodOptional<z.ZodString>;
10
+ state: z.ZodOptional<z.ZodString>;
11
+ street: z.ZodOptional<z.ZodString>;
12
+ country: z.ZodOptional<z.ZodString>;
13
+ postal_code: z.ZodOptional<z.ZodString>;
14
+ }, z.core.$strip>>;
15
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
16
+ customer_id: z.ZodString;
17
+ }, z.core.$strip>;
18
+ declare const FinmeiUpdateCustomerOutput: z.ZodObject<{
19
+ customer: z.ZodNullable<z.ZodObject<{
20
+ id: z.ZodNullable<z.ZodString>;
21
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ address: z.ZodOptional<z.ZodNullable<z.ZodObject<{
25
+ city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
+ state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
+ street: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
+ country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
+ postal_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
+ }, z.core.$strip>>>;
31
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
32
+ created_at: z.ZodNullable<z.ZodString>;
33
+ updated_at: z.ZodNullable<z.ZodString>;
34
+ }, z.core.$strip>>;
35
+ }, z.core.$strip>;
36
+ declare const finmeiUpdateCustomer: import("@keystrokehq/action").WorkflowActionDefinition<{
37
+ customer_id: string;
38
+ name?: string | undefined;
39
+ email?: string | undefined;
40
+ phone?: string | undefined;
41
+ address?: {
42
+ city?: string | undefined;
43
+ state?: string | undefined;
44
+ street?: string | undefined;
45
+ country?: string | undefined;
46
+ postal_code?: string | undefined;
47
+ } | undefined;
48
+ metadata?: Record<string, unknown> | undefined;
49
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
50
  //#endregion
8
51
  export { finmeiUpdateCustomer };
9
52
  //# sourceMappingURL=update-customer.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-customer.d.cts","names":[],"sources":["../../src/actions/update-customer.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAaoB;AAAA,cAkBjD,0BAAA,EAA4B,CAAA,CAAE,UAEyB;AAAA,cAEvD,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"update-customer.d.cts","names":[],"sources":["../../src/actions/update-customer.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cA+BzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAI1B,oBAAA,gCAAoB,wBAAA;;;;;;;;;;;;aAM/B,MAAA;AAAA"}
@@ -1,9 +1,52 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-customer.d.ts
4
- declare const FinmeiUpdateCustomerInput: z.ZodTypeAny;
5
- declare const FinmeiUpdateCustomerOutput: z.ZodTypeAny;
6
- declare const finmeiUpdateCustomer: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const FinmeiUpdateCustomerInput: z.ZodObject<{
5
+ name: z.ZodOptional<z.ZodString>;
6
+ email: z.ZodOptional<z.ZodString>;
7
+ phone: z.ZodOptional<z.ZodString>;
8
+ address: z.ZodOptional<z.ZodObject<{
9
+ city: z.ZodOptional<z.ZodString>;
10
+ state: z.ZodOptional<z.ZodString>;
11
+ street: z.ZodOptional<z.ZodString>;
12
+ country: z.ZodOptional<z.ZodString>;
13
+ postal_code: z.ZodOptional<z.ZodString>;
14
+ }, z.core.$strip>>;
15
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
16
+ customer_id: z.ZodString;
17
+ }, z.core.$strip>;
18
+ declare const FinmeiUpdateCustomerOutput: z.ZodObject<{
19
+ customer: z.ZodNullable<z.ZodObject<{
20
+ id: z.ZodNullable<z.ZodString>;
21
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ address: z.ZodOptional<z.ZodNullable<z.ZodObject<{
25
+ city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
+ state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
+ street: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
+ country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
+ postal_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
+ }, z.core.$strip>>>;
31
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
32
+ created_at: z.ZodNullable<z.ZodString>;
33
+ updated_at: z.ZodNullable<z.ZodString>;
34
+ }, z.core.$strip>>;
35
+ }, z.core.$strip>;
36
+ declare const finmeiUpdateCustomer: import("@keystrokehq/action").WorkflowActionDefinition<{
37
+ customer_id: string;
38
+ name?: string | undefined;
39
+ email?: string | undefined;
40
+ phone?: string | undefined;
41
+ address?: {
42
+ city?: string | undefined;
43
+ state?: string | undefined;
44
+ street?: string | undefined;
45
+ country?: string | undefined;
46
+ postal_code?: string | undefined;
47
+ } | undefined;
48
+ metadata?: Record<string, unknown> | undefined;
49
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
50
  //#endregion
8
51
  export { finmeiUpdateCustomer };
9
52
  //# sourceMappingURL=update-customer.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-customer.d.mts","names":[],"sources":["../../src/actions/update-customer.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAaoB;AAAA,cAkBjD,0BAAA,EAA4B,CAAA,CAAE,UAEyB;AAAA,cAEvD,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"update-customer.d.mts","names":[],"sources":["../../src/actions/update-customer.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cA+BzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAI1B,oBAAA,gCAAoB,wBAAA;;;;;;;;;;;;aAM/B,MAAA;AAAA"}
@@ -23,14 +23,14 @@ const FinmeiUpdateCustomer_AddressSchema = z.object({
23
23
  postal_code: z.string().describe("Postal or ZIP code of the customer's address").nullable().optional()
24
24
  }).describe("Mailing address details");
25
25
  const FinmeiUpdateCustomer_CustomerSchema = z.object({
26
- id: z.string().describe("Unique identifier of the customer"),
26
+ id: z.string().describe("Unique identifier of the customer").nullable(),
27
27
  name: z.string().describe("Full name of the customer").nullable().optional(),
28
28
  email: z.string().describe("Email address of the customer").nullable().optional(),
29
29
  phone: z.string().describe("Phone number of the customer").nullable().optional(),
30
30
  address: FinmeiUpdateCustomer_AddressSchema.nullable().optional(),
31
31
  metadata: z.record(z.string(), z.unknown()).describe("Additional metadata associated with the customer").nullable().optional(),
32
- created_at: z.string().describe("Timestamp when the customer was created"),
33
- updated_at: z.string().describe("Timestamp when the customer was last updated")
32
+ created_at: z.string().describe("Timestamp when the customer was created").nullable(),
33
+ updated_at: z.string().describe("Timestamp when the customer was last updated").nullable()
34
34
  });
35
35
  const finmeiUpdateCustomer = action("FINMEI_UPDATE_CUSTOMER", {
36
36
  slug: "finmei-update-customer",
@@ -1 +1 @@
1
- {"version":3,"file":"update-customer.mjs","names":[],"sources":["../../src/actions/update-customer.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FinmeiUpdateCustomerInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Full name of the customer\").optional(),\n email: z.string().describe(\"Email address of the customer\").optional(),\n phone: z.string().describe(\"Phone number of the customer\").optional(),\n address: z.object({\n city: z.string().describe(\"City of the customer's address\").optional(),\n state: z.string().describe(\"State or province of the customer's address\").optional(),\n street: z.string().describe(\"Street address of the customer\").optional(),\n country: z.string().describe(\"Country code (ISO 3166-1 alpha-2)\").optional(),\n postal_code: z.string().describe(\"Postal or ZIP code of the customer's address\").optional(),\n}).describe(\"Mailing address details\").optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Additional metadata for the customer as key-value pairs\").optional(),\n customer_id: z.string().describe(\"Unique identifier of the customer to update\"),\n}).describe(\"Request model for updating an existing customer\");\nconst FinmeiUpdateCustomer_AddressSchema: z.ZodTypeAny = z.object({\n city: z.string().describe(\"City of the customer's address\").nullable().optional(),\n state: z.string().describe(\"State or province of the customer's address\").nullable().optional(),\n street: z.string().describe(\"Street address of the customer\").nullable().optional(),\n country: z.string().describe(\"Country code (ISO 3166-1 alpha-2)\").nullable().optional(),\n postal_code: z.string().describe(\"Postal or ZIP code of the customer's address\").nullable().optional(),\n}).describe(\"Mailing address details\");\nconst FinmeiUpdateCustomer_CustomerSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the customer\"),\n name: z.string().describe(\"Full name of the customer\").nullable().optional(),\n email: z.string().describe(\"Email address of the customer\").nullable().optional(),\n phone: z.string().describe(\"Phone number of the customer\").nullable().optional(),\n address: FinmeiUpdateCustomer_AddressSchema.nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Additional metadata associated with the customer\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the customer was created\"),\n updated_at: z.string().describe(\"Timestamp when the customer was last updated\"),\n});\nexport const FinmeiUpdateCustomerOutput: z.ZodTypeAny = z.object({\n customer: FinmeiUpdateCustomer_CustomerSchema.nullable(),\n}).describe(\"Response model containing the updated customer record\");\n\nexport const finmeiUpdateCustomer = action(\"FINMEI_UPDATE_CUSTOMER\", {\n slug: \"finmei-update-customer\",\n name: \"Update Customer\",\n description: \"Tool to update an existing customer's details. Use after confirming the customer ID to modify their information.\",\n input: FinmeiUpdateCustomerInput,\n output: FinmeiUpdateCustomerOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0C,EAAE,OAAO;CAC9D,MAAM,EAAE,OAAO,CAAC,CAAC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,CAAC,SAAS,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,SAAS,yBAAyB;AACrC,MAAM,sCAAoD,EAAE,OAAO;CACjE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,SAAS,mCAAmC,SAAS,CAAC,CAAC,SAAS;CAChE,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CACzE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;AAChF,CAAC;AAKD,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATsD,EAAE,OAAO,EAC/D,UAAU,oCAAoC,SAAS,EACzD,CAAC,CAAC,CAAC,SAAS,uDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"update-customer.mjs","names":[],"sources":["../../src/actions/update-customer.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FinmeiUpdateCustomerInput = z.object({\n name: z.string().describe(\"Full name of the customer\").optional(),\n email: z.string().describe(\"Email address of the customer\").optional(),\n phone: z.string().describe(\"Phone number of the customer\").optional(),\n address: z.object({\n city: z.string().describe(\"City of the customer's address\").optional(),\n state: z.string().describe(\"State or province of the customer's address\").optional(),\n street: z.string().describe(\"Street address of the customer\").optional(),\n country: z.string().describe(\"Country code (ISO 3166-1 alpha-2)\").optional(),\n postal_code: z.string().describe(\"Postal or ZIP code of the customer's address\").optional(),\n}).describe(\"Mailing address details\").optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Additional metadata for the customer as key-value pairs\").optional(),\n customer_id: z.string().describe(\"Unique identifier of the customer to update\"),\n}).describe(\"Request model for updating an existing customer\");\nconst FinmeiUpdateCustomer_AddressSchema = z.object({\n city: z.string().describe(\"City of the customer's address\").nullable().optional(),\n state: z.string().describe(\"State or province of the customer's address\").nullable().optional(),\n street: z.string().describe(\"Street address of the customer\").nullable().optional(),\n country: z.string().describe(\"Country code (ISO 3166-1 alpha-2)\").nullable().optional(),\n postal_code: z.string().describe(\"Postal or ZIP code of the customer's address\").nullable().optional(),\n}).describe(\"Mailing address details\");\nconst FinmeiUpdateCustomer_CustomerSchema = z.object({\n id: z.string().describe(\"Unique identifier of the customer\").nullable(),\n name: z.string().describe(\"Full name of the customer\").nullable().optional(),\n email: z.string().describe(\"Email address of the customer\").nullable().optional(),\n phone: z.string().describe(\"Phone number of the customer\").nullable().optional(),\n address: FinmeiUpdateCustomer_AddressSchema.nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Additional metadata associated with the customer\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the customer was created\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the customer was last updated\").nullable(),\n});\nexport const FinmeiUpdateCustomerOutput = z.object({\n customer: FinmeiUpdateCustomer_CustomerSchema.nullable(),\n}).describe(\"Response model containing the updated customer record\");\n\nexport const finmeiUpdateCustomer = action(\"FINMEI_UPDATE_CUSTOMER\", {\n slug: \"finmei-update-customer\",\n name: \"Update Customer\",\n description: \"Tool to update an existing customer's details. Use after confirming the customer ID to modify their information.\",\n input: FinmeiUpdateCustomerInput,\n output: FinmeiUpdateCustomerOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO;CAChD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,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SAAS,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,SAAS,yBAAyB;AACrC,MAAM,sCAAsC,EAAE,OAAO;CACnD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACtE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,SAAS,mCAAmC,SAAS,CAAC,CAAC,SAAS;CAChE,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACpF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;AAC3F,CAAC;AAKD,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATwC,EAAE,OAAO,EACjD,UAAU,oCAAoC,SAAS,EACzD,CAAC,CAAC,CAAC,SAAS,uDAOF;AACV,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"update-expense-file.cjs","names":["z","action"],"sources":["../../src/actions/update-expense-file.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FinmeiUpdateExpenseFileInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the expense to update the file for. Must be a valid existing expense ID.\"),\n file: z.object({\n name: z.string().describe(\"The filename that will be used when uploading the file to the destination service\"),\n s3key: z.string().describe(\"The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service.\"),\n mimetype: z.string().describe(\"The MIME type of the file\"),\n}).describe(\"File to upload as the expense attachment (usually PDF or image file of the bill).\"),\n}).describe(\"Request model for updating the file attachment of an existing expense.\\nThis endpoint is used solely for updating the file. Use Update Expense endpoint for updating form fields.\");\nexport const FinmeiUpdateExpenseFileOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the expense\").nullable().optional(),\n message: z.string().describe(\"Success message from the API\").nullable().optional(),\n file_url: z.string().describe(\"URL of the uploaded file attachment\").nullable().optional(),\n file_name: z.string().describe(\"Name of the uploaded file\").nullable().optional(),\n updated_at: z.union([z.string(), z.number().int()]).nullable().optional(),\n}).describe(\"Response model containing the updated expense details after successful file upload.\");\n\nexport const finmeiUpdateExpenseFile = action(\"FINMEI_UPDATE_EXPENSE_FILE\", {\n slug: \"finmei-update-expense-file\",\n name: \"Update Expense File\",\n description: \"Updates the file attachment of an existing expense in Finmei. Use this action when you need to attach or replace a receipt/invoice file for an expense. This endpoint is specifically for updating the file only - use the Update Expense action for updating other expense fields like amount, date, or description. The file is uploaded using multipart/form-data content type and typically should be a PDF or image file of the bill/receipt.\",\n input: FinmeiUpdateExpenseFileInput,\n output: FinmeiUpdateExpenseFileOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA6CA,IAAAA,EAAE,OAAO;CACjE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F;CACvH,MAAMA,IAAAA,EAAE,OAAO;EACf,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;EAC7G,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wMAAwM;EACnO,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CAC3D,CAAC,CAAC,CAAC,SAAS,mFAAmF;AAC/F,CAAC,CAAC,CAAC,SAAS,mLAAmL;AAC/L,MAAa,gCAA8CA,IAAAA,EAAE,OAAO;CAClE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,YAAYA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1E,CAAC,CAAC,CAAC,SAAS,qFAAqF;AAEjG,MAAa,0BAA0BC,eAAAA,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-expense-file.cjs","names":["z","action"],"sources":["../../src/actions/update-expense-file.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FinmeiUpdateExpenseFileInput = z.object({\n id: z.string().describe(\"Unique identifier of the expense to update the file for. Must be a valid existing expense ID.\"),\n file: z.object({\n name: z.string().describe(\"The filename that will be used when uploading the file to the destination service\"),\n s3key: z.string().describe(\"The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service.\"),\n mimetype: z.string().describe(\"The MIME type of the file\"),\n}).describe(\"File to upload as the expense attachment (usually PDF or image file of the bill).\"),\n}).describe(\"Request model for updating the file attachment of an existing expense.\\nThis endpoint is used solely for updating the file. Use Update Expense endpoint for updating form fields.\");\nexport const FinmeiUpdateExpenseFileOutput = z.object({\n id: z.string().describe(\"Unique identifier of the expense\").nullable().optional(),\n message: z.string().describe(\"Success message from the API\").nullable().optional(),\n file_url: z.string().describe(\"URL of the uploaded file attachment\").nullable().optional(),\n file_name: z.string().describe(\"Name of the uploaded file\").nullable().optional(),\n updated_at: z.union([z.string(), z.number().int()]).nullable().optional(),\n}).describe(\"Response model containing the updated expense details after successful file upload.\");\n\nexport const finmeiUpdateExpenseFile = action(\"FINMEI_UPDATE_EXPENSE_FILE\", {\n slug: \"finmei-update-expense-file\",\n name: \"Update Expense File\",\n description: \"Updates the file attachment of an existing expense in Finmei. Use this action when you need to attach or replace a receipt/invoice file for an expense. This endpoint is specifically for updating the file only - use the Update Expense action for updating other expense fields like amount, date, or description. The file is uploaded using multipart/form-data content type and typically should be a PDF or image file of the bill/receipt.\",\n input: FinmeiUpdateExpenseFileInput,\n output: FinmeiUpdateExpenseFileOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F;CACvH,MAAMA,IAAAA,EAAE,OAAO;EACf,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;EAC7G,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wMAAwM;EACnO,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CAC3D,CAAC,CAAC,CAAC,SAAS,mFAAmF;AAC/F,CAAC,CAAC,CAAC,SAAS,mLAAmL;AAC/L,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,YAAYA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1E,CAAC,CAAC,CAAC,SAAS,qFAAqF;AAEjG,MAAa,0BAA0BC,eAAAA,OAAO,8BAA8B;CAC1E,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/update-expense-file.d.ts
4
- declare const FinmeiUpdateExpenseFileInput: z.ZodTypeAny;
5
- declare const FinmeiUpdateExpenseFileOutput: z.ZodTypeAny;
6
- declare const finmeiUpdateExpenseFile: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const FinmeiUpdateExpenseFileInput: z.ZodObject<{
5
+ id: z.ZodString;
6
+ file: z.ZodObject<{
7
+ name: z.ZodString;
8
+ s3key: z.ZodString;
9
+ mimetype: z.ZodString;
10
+ }, z.core.$strip>;
11
+ }, z.core.$strip>;
12
+ declare const FinmeiUpdateExpenseFileOutput: z.ZodObject<{
13
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ file_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ file_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
18
+ }, z.core.$strip>;
19
+ declare const finmeiUpdateExpenseFile: import("@keystrokehq/action").WorkflowActionDefinition<{
20
+ id: string;
21
+ file: {
22
+ name: string;
23
+ s3key: string;
24
+ mimetype: string;
25
+ };
26
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
27
  //#endregion
8
28
  export { finmeiUpdateExpenseFile };
9
29
  //# sourceMappingURL=update-expense-file.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-expense-file.d.cts","names":[],"sources":["../../src/actions/update-expense-file.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAOmJ;AAAA,cACnL,6BAAA,EAA+B,CAAA,CAAE,UAMoD;AAAA,cAErF,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"update-expense-file.d.cts","names":[],"sources":["../../src/actions/update-expense-file.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;cAQ5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;cAQ7B,uBAAA,gCAAuB,wBAAA"}
@@ -1,9 +1,29 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-expense-file.d.ts
4
- declare const FinmeiUpdateExpenseFileInput: z.ZodTypeAny;
5
- declare const FinmeiUpdateExpenseFileOutput: z.ZodTypeAny;
6
- declare const finmeiUpdateExpenseFile: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const FinmeiUpdateExpenseFileInput: z.ZodObject<{
5
+ id: z.ZodString;
6
+ file: z.ZodObject<{
7
+ name: z.ZodString;
8
+ s3key: z.ZodString;
9
+ mimetype: z.ZodString;
10
+ }, z.core.$strip>;
11
+ }, z.core.$strip>;
12
+ declare const FinmeiUpdateExpenseFileOutput: z.ZodObject<{
13
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ file_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ file_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
18
+ }, z.core.$strip>;
19
+ declare const finmeiUpdateExpenseFile: import("@keystrokehq/action").WorkflowActionDefinition<{
20
+ id: string;
21
+ file: {
22
+ name: string;
23
+ s3key: string;
24
+ mimetype: string;
25
+ };
26
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
27
  //#endregion
8
28
  export { finmeiUpdateExpenseFile };
9
29
  //# sourceMappingURL=update-expense-file.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-expense-file.d.mts","names":[],"sources":["../../src/actions/update-expense-file.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAOmJ;AAAA,cACnL,6BAAA,EAA+B,CAAA,CAAE,UAMoD;AAAA,cAErF,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"update-expense-file.d.mts","names":[],"sources":["../../src/actions/update-expense-file.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;cAQ5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;cAQ7B,uBAAA,gCAAuB,wBAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"update-expense-file.mjs","names":[],"sources":["../../src/actions/update-expense-file.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FinmeiUpdateExpenseFileInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the expense to update the file for. Must be a valid existing expense ID.\"),\n file: z.object({\n name: z.string().describe(\"The filename that will be used when uploading the file to the destination service\"),\n s3key: z.string().describe(\"The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service.\"),\n mimetype: z.string().describe(\"The MIME type of the file\"),\n}).describe(\"File to upload as the expense attachment (usually PDF or image file of the bill).\"),\n}).describe(\"Request model for updating the file attachment of an existing expense.\\nThis endpoint is used solely for updating the file. Use Update Expense endpoint for updating form fields.\");\nexport const FinmeiUpdateExpenseFileOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the expense\").nullable().optional(),\n message: z.string().describe(\"Success message from the API\").nullable().optional(),\n file_url: z.string().describe(\"URL of the uploaded file attachment\").nullable().optional(),\n file_name: z.string().describe(\"Name of the uploaded file\").nullable().optional(),\n updated_at: z.union([z.string(), z.number().int()]).nullable().optional(),\n}).describe(\"Response model containing the updated expense details after successful file upload.\");\n\nexport const finmeiUpdateExpenseFile = action(\"FINMEI_UPDATE_EXPENSE_FILE\", {\n slug: \"finmei-update-expense-file\",\n name: \"Update Expense File\",\n description: \"Updates the file attachment of an existing expense in Finmei. Use this action when you need to attach or replace a receipt/invoice file for an expense. This endpoint is specifically for updating the file only - use the Update Expense action for updating other expense fields like amount, date, or description. The file is uploaded using multipart/form-data content type and typically should be a PDF or image file of the bill/receipt.\",\n input: FinmeiUpdateExpenseFileInput,\n output: FinmeiUpdateExpenseFileOutput,\n});\n"],"mappings":";;AAoBA,MAAa,0BAA0B,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApBwD,EAAE,OAAO;EACjE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F;EACvH,MAAM,EAAE,OAAO;GACf,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;GAC7G,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wMAAwM;GACnO,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;EAC3D,CAAC,CAAC,CAAC,SAAS,mFAAmF;CAC/F,CAAC,CAAC,CAAC,SAAS,mLAaH;CACP,QAbyD,EAAE,OAAO;EAClE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChF,YAAY,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,CAAC,CAAC,CAAC,SAAS,qFAOF;AACV,CAAC"}
1
+ {"version":3,"file":"update-expense-file.mjs","names":[],"sources":["../../src/actions/update-expense-file.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FinmeiUpdateExpenseFileInput = z.object({\n id: z.string().describe(\"Unique identifier of the expense to update the file for. Must be a valid existing expense ID.\"),\n file: z.object({\n name: z.string().describe(\"The filename that will be used when uploading the file to the destination service\"),\n s3key: z.string().describe(\"The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service.\"),\n mimetype: z.string().describe(\"The MIME type of the file\"),\n}).describe(\"File to upload as the expense attachment (usually PDF or image file of the bill).\"),\n}).describe(\"Request model for updating the file attachment of an existing expense.\\nThis endpoint is used solely for updating the file. Use Update Expense endpoint for updating form fields.\");\nexport const FinmeiUpdateExpenseFileOutput = z.object({\n id: z.string().describe(\"Unique identifier of the expense\").nullable().optional(),\n message: z.string().describe(\"Success message from the API\").nullable().optional(),\n file_url: z.string().describe(\"URL of the uploaded file attachment\").nullable().optional(),\n file_name: z.string().describe(\"Name of the uploaded file\").nullable().optional(),\n updated_at: z.union([z.string(), z.number().int()]).nullable().optional(),\n}).describe(\"Response model containing the updated expense details after successful file upload.\");\n\nexport const finmeiUpdateExpenseFile = action(\"FINMEI_UPDATE_EXPENSE_FILE\", {\n slug: \"finmei-update-expense-file\",\n name: \"Update Expense File\",\n description: \"Updates the file attachment of an existing expense in Finmei. Use this action when you need to attach or replace a receipt/invoice file for an expense. This endpoint is specifically for updating the file only - use the Update Expense action for updating other expense fields like amount, date, or description. The file is uploaded using multipart/form-data content type and typically should be a PDF or image file of the bill/receipt.\",\n input: FinmeiUpdateExpenseFileInput,\n output: FinmeiUpdateExpenseFileOutput,\n});\n"],"mappings":";;AAoBA,MAAa,0BAA0B,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApB0C,EAAE,OAAO;EACnD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F;EACvH,MAAM,EAAE,OAAO;GACf,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;GAC7G,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wMAAwM;GACnO,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;EAC3D,CAAC,CAAC,CAAC,SAAS,mFAAmF;CAC/F,CAAC,CAAC,CAAC,SAAS,mLAaH;CACP,QAb2C,EAAE,OAAO;EACpD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChF,YAAY,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,CAAC,CAAC,CAAC,SAAS,qFAOF;AACV,CAAC"}
@@ -9,11 +9,11 @@ const FinmeiUpdateExpenseInput = zod.z.object({
9
9
  currency: zod.z.string().describe("Uppercase three letter currency code (ISO 4217 format). Example: USD, EUR, GBP. This field is required.")
10
10
  }).describe("Request model for updating an existing expense's fields");
11
11
  const FinmeiUpdateExpenseOutput = zod.z.object({
12
- id: zod.z.string().describe("Unique identifier of the expense"),
13
- date: zod.z.string().describe("Date of the expense after the update"),
14
- total: zod.z.number().describe("Total amount of the expense after the update"),
15
- seller: zod.z.string().describe("Seller name after the update"),
16
- currency: zod.z.string().describe("Currency code of the expense after the update"),
12
+ id: zod.z.string().describe("Unique identifier of the expense").nullable(),
13
+ date: zod.z.string().describe("Date of the expense after the update").nullable(),
14
+ total: zod.z.number().describe("Total amount of the expense after the update").nullable(),
15
+ seller: zod.z.string().describe("Seller name after the update").nullable(),
16
+ currency: zod.z.string().describe("Currency code of the expense after the update").nullable(),
17
17
  created_at: zod.z.string().describe("ISO8601 timestamp when the expense was originally created").nullable().optional(),
18
18
  updated_at: zod.z.string().describe("ISO8601 timestamp when the expense was last updated").nullable().optional()
19
19
  }).describe("Response model containing the updated expense details after a successful update");
@@ -1 +1 @@
1
- {"version":3,"file":"update-expense.cjs","names":["z","action"],"sources":["../../src/actions/update-expense.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FinmeiUpdateExpenseInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the expense to update. Must be a valid existing expense ID.\"),\n date: z.string().describe(\"Date of the expense in YYYY-MM-DD format. This field is required.\"),\n total: z.number().describe(\"Total amount of the expense. Must be non-negative. This field is required.\"),\n seller: z.string().describe(\"Name of the seller from invoice. This field is required.\"),\n currency: z.string().describe(\"Uppercase three letter currency code (ISO 4217 format). Example: USD, EUR, GBP. This field is required.\"),\n}).describe(\"Request model for updating an existing expense's fields\");\nexport const FinmeiUpdateExpenseOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the expense\"),\n date: z.string().describe(\"Date of the expense after the update\"),\n total: z.number().describe(\"Total amount of the expense after the update\"),\n seller: z.string().describe(\"Seller name after the update\"),\n currency: z.string().describe(\"Currency code of the expense after the update\"),\n created_at: z.string().describe(\"ISO8601 timestamp when the expense was originally created\").nullable().optional(),\n updated_at: z.string().describe(\"ISO8601 timestamp when the expense was last updated\").nullable().optional(),\n}).describe(\"Response model containing the updated expense details after a successful update\");\n\nexport const finmeiUpdateExpense = action(\"FINMEI_UPDATE_EXPENSE\", {\n slug: \"finmei-update-expense\",\n name: \"Update Expense\",\n description: \"Tool to update an existing expense's fields including date, total, currency, and seller. Use when you need to modify expense details. To update the invoice/bill file, use the Update Expense File endpoint instead.\",\n input: FinmeiUpdateExpenseInput,\n output: FinmeiUpdateExpenseOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyCA,IAAAA,EAAE,OAAO;CAC7D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF;CAC1G,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE;CAC7F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E;CACvG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;CACtF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG;AACzI,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAa,4BAA0CA,IAAAA,EAAE,OAAO;CAC9D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CAC1D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CAChE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CACzE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CAC1D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CAC7E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7G,CAAC,CAAC,CAAC,SAAS,iFAAiF;AAE7F,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-expense.cjs","names":["z","action"],"sources":["../../src/actions/update-expense.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FinmeiUpdateExpenseInput = z.object({\n id: z.string().describe(\"Unique identifier of the expense to update. Must be a valid existing expense ID.\"),\n date: z.string().describe(\"Date of the expense in YYYY-MM-DD format. This field is required.\"),\n total: z.number().describe(\"Total amount of the expense. Must be non-negative. This field is required.\"),\n seller: z.string().describe(\"Name of the seller from invoice. This field is required.\"),\n currency: z.string().describe(\"Uppercase three letter currency code (ISO 4217 format). Example: USD, EUR, GBP. This field is required.\"),\n}).describe(\"Request model for updating an existing expense's fields\");\nexport const FinmeiUpdateExpenseOutput = z.object({\n id: z.string().describe(\"Unique identifier of the expense\").nullable(),\n date: z.string().describe(\"Date of the expense after the update\").nullable(),\n total: z.number().describe(\"Total amount of the expense after the update\").nullable(),\n seller: z.string().describe(\"Seller name after the update\").nullable(),\n currency: z.string().describe(\"Currency code of the expense after the update\").nullable(),\n created_at: z.string().describe(\"ISO8601 timestamp when the expense was originally created\").nullable().optional(),\n updated_at: z.string().describe(\"ISO8601 timestamp when the expense was last updated\").nullable().optional(),\n}).describe(\"Response model containing the updated expense details after a successful update\");\n\nexport const finmeiUpdateExpense = action(\"FINMEI_UPDATE_EXPENSE\", {\n slug: \"finmei-update-expense\",\n name: \"Update Expense\",\n description: \"Tool to update an existing expense's fields including date, total, currency, and seller. Use when you need to modify expense details. To update the invoice/bill file, use the Update Expense File endpoint instead.\",\n input: FinmeiUpdateExpenseInput,\n output: FinmeiUpdateExpenseOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF;CAC1G,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE;CAC7F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E;CACvG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;CACtF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG;AACzI,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACrE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC3E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACpF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACrE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACxF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7G,CAAC,CAAC,CAAC,SAAS,iFAAiF;AAE7F,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,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/update-expense.d.ts
4
- declare const FinmeiUpdateExpenseInput: z.ZodTypeAny;
5
- declare const FinmeiUpdateExpenseOutput: z.ZodTypeAny;
6
- declare const finmeiUpdateExpense: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const FinmeiUpdateExpenseInput: z.ZodObject<{
5
+ id: z.ZodString;
6
+ date: z.ZodString;
7
+ total: z.ZodNumber;
8
+ seller: z.ZodString;
9
+ currency: z.ZodString;
10
+ }, z.core.$strip>;
11
+ declare const FinmeiUpdateExpenseOutput: z.ZodObject<{
12
+ id: z.ZodNullable<z.ZodString>;
13
+ date: z.ZodNullable<z.ZodString>;
14
+ total: z.ZodNullable<z.ZodNumber>;
15
+ seller: z.ZodNullable<z.ZodString>;
16
+ currency: z.ZodNullable<z.ZodString>;
17
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ }, z.core.$strip>;
20
+ declare const finmeiUpdateExpense: import("@keystrokehq/action").WorkflowActionDefinition<{
21
+ id: string;
22
+ date: string;
23
+ total: number;
24
+ seller: string;
25
+ currency: string;
26
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
27
  //#endregion
8
28
  export { finmeiUpdateExpense };
9
29
  //# sourceMappingURL=update-expense.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-expense.d.cts","names":[],"sources":["../../src/actions/update-expense.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAM6B;AAAA,cACzD,yBAAA,EAA2B,CAAA,CAAE,UAQoD;AAAA,cAEjF,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"update-expense.d.cts","names":[],"sources":["../../src/actions/update-expense.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;cAOxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;cAUzB,mBAAA,gCAAmB,wBAAA"}
@@ -1,9 +1,29 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-expense.d.ts
4
- declare const FinmeiUpdateExpenseInput: z.ZodTypeAny;
5
- declare const FinmeiUpdateExpenseOutput: z.ZodTypeAny;
6
- declare const finmeiUpdateExpense: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const FinmeiUpdateExpenseInput: z.ZodObject<{
5
+ id: z.ZodString;
6
+ date: z.ZodString;
7
+ total: z.ZodNumber;
8
+ seller: z.ZodString;
9
+ currency: z.ZodString;
10
+ }, z.core.$strip>;
11
+ declare const FinmeiUpdateExpenseOutput: z.ZodObject<{
12
+ id: z.ZodNullable<z.ZodString>;
13
+ date: z.ZodNullable<z.ZodString>;
14
+ total: z.ZodNullable<z.ZodNumber>;
15
+ seller: z.ZodNullable<z.ZodString>;
16
+ currency: z.ZodNullable<z.ZodString>;
17
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ }, z.core.$strip>;
20
+ declare const finmeiUpdateExpense: import("@keystrokehq/action").WorkflowActionDefinition<{
21
+ id: string;
22
+ date: string;
23
+ total: number;
24
+ seller: string;
25
+ currency: string;
26
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
27
  //#endregion
8
28
  export { finmeiUpdateExpense };
9
29
  //# sourceMappingURL=update-expense.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-expense.d.mts","names":[],"sources":["../../src/actions/update-expense.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAM6B;AAAA,cACzD,yBAAA,EAA2B,CAAA,CAAE,UAQoD;AAAA,cAEjF,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"update-expense.d.mts","names":[],"sources":["../../src/actions/update-expense.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;cAOxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;cAUzB,mBAAA,gCAAmB,wBAAA"}
@@ -12,11 +12,11 @@ const finmeiUpdateExpense = action("FINMEI_UPDATE_EXPENSE", {
12
12
  currency: z.string().describe("Uppercase three letter currency code (ISO 4217 format). Example: USD, EUR, GBP. This field is required.")
13
13
  }).describe("Request model for updating an existing expense's fields"),
14
14
  output: z.object({
15
- id: z.string().describe("Unique identifier of the expense"),
16
- date: z.string().describe("Date of the expense after the update"),
17
- total: z.number().describe("Total amount of the expense after the update"),
18
- seller: z.string().describe("Seller name after the update"),
19
- currency: z.string().describe("Currency code of the expense after the update"),
15
+ id: z.string().describe("Unique identifier of the expense").nullable(),
16
+ date: z.string().describe("Date of the expense after the update").nullable(),
17
+ total: z.number().describe("Total amount of the expense after the update").nullable(),
18
+ seller: z.string().describe("Seller name after the update").nullable(),
19
+ currency: z.string().describe("Currency code of the expense after the update").nullable(),
20
20
  created_at: z.string().describe("ISO8601 timestamp when the expense was originally created").nullable().optional(),
21
21
  updated_at: z.string().describe("ISO8601 timestamp when the expense was last updated").nullable().optional()
22
22
  }).describe("Response model containing the updated expense details after a successful update")
@@ -1 +1 @@
1
- {"version":3,"file":"update-expense.mjs","names":[],"sources":["../../src/actions/update-expense.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FinmeiUpdateExpenseInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the expense to update. Must be a valid existing expense ID.\"),\n date: z.string().describe(\"Date of the expense in YYYY-MM-DD format. This field is required.\"),\n total: z.number().describe(\"Total amount of the expense. Must be non-negative. This field is required.\"),\n seller: z.string().describe(\"Name of the seller from invoice. This field is required.\"),\n currency: z.string().describe(\"Uppercase three letter currency code (ISO 4217 format). Example: USD, EUR, GBP. This field is required.\"),\n}).describe(\"Request model for updating an existing expense's fields\");\nexport const FinmeiUpdateExpenseOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the expense\"),\n date: z.string().describe(\"Date of the expense after the update\"),\n total: z.number().describe(\"Total amount of the expense after the update\"),\n seller: z.string().describe(\"Seller name after the update\"),\n currency: z.string().describe(\"Currency code of the expense after the update\"),\n created_at: z.string().describe(\"ISO8601 timestamp when the expense was originally created\").nullable().optional(),\n updated_at: z.string().describe(\"ISO8601 timestamp when the expense was last updated\").nullable().optional(),\n}).describe(\"Response model containing the updated expense details after a successful update\");\n\nexport const finmeiUpdateExpense = action(\"FINMEI_UPDATE_EXPENSE\", {\n slug: \"finmei-update-expense\",\n name: \"Update Expense\",\n description: \"Tool to update an existing expense's fields including date, total, currency, and seller. Use when you need to modify expense details. To update the invoice/bill file, use the Update Expense File endpoint instead.\",\n input: FinmeiUpdateExpenseInput,\n output: FinmeiUpdateExpenseOutput,\n});\n"],"mappings":";;AAqBA,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OArBoD,EAAE,OAAO;EAC7D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF;EAC1G,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE;EAC7F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E;EACvG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;EACtF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG;CACzI,CAAC,CAAC,CAAC,SAAS,yDAeH;CACP,QAfqD,EAAE,OAAO;EAC9D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;EAC1D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;EAChE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;EACzE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;EAC1D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;EAC7E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,CAAC,CAAC,CAAC,SAAS,iFAOF;AACV,CAAC"}
1
+ {"version":3,"file":"update-expense.mjs","names":[],"sources":["../../src/actions/update-expense.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FinmeiUpdateExpenseInput = z.object({\n id: z.string().describe(\"Unique identifier of the expense to update. Must be a valid existing expense ID.\"),\n date: z.string().describe(\"Date of the expense in YYYY-MM-DD format. This field is required.\"),\n total: z.number().describe(\"Total amount of the expense. Must be non-negative. This field is required.\"),\n seller: z.string().describe(\"Name of the seller from invoice. This field is required.\"),\n currency: z.string().describe(\"Uppercase three letter currency code (ISO 4217 format). Example: USD, EUR, GBP. This field is required.\"),\n}).describe(\"Request model for updating an existing expense's fields\");\nexport const FinmeiUpdateExpenseOutput = z.object({\n id: z.string().describe(\"Unique identifier of the expense\").nullable(),\n date: z.string().describe(\"Date of the expense after the update\").nullable(),\n total: z.number().describe(\"Total amount of the expense after the update\").nullable(),\n seller: z.string().describe(\"Seller name after the update\").nullable(),\n currency: z.string().describe(\"Currency code of the expense after the update\").nullable(),\n created_at: z.string().describe(\"ISO8601 timestamp when the expense was originally created\").nullable().optional(),\n updated_at: z.string().describe(\"ISO8601 timestamp when the expense was last updated\").nullable().optional(),\n}).describe(\"Response model containing the updated expense details after a successful update\");\n\nexport const finmeiUpdateExpense = action(\"FINMEI_UPDATE_EXPENSE\", {\n slug: \"finmei-update-expense\",\n name: \"Update Expense\",\n description: \"Tool to update an existing expense's fields including date, total, currency, and seller. Use when you need to modify expense details. To update the invoice/bill file, use the Update Expense File endpoint instead.\",\n input: FinmeiUpdateExpenseInput,\n output: FinmeiUpdateExpenseOutput,\n});\n"],"mappings":";;AAqBA,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OArBsC,EAAE,OAAO;EAC/C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF;EAC1G,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE;EAC7F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E;EACvG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;EACtF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG;CACzI,CAAC,CAAC,CAAC,SAAS,yDAeH;CACP,QAfuC,EAAE,OAAO;EAChD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EACrE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EAC3E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;EACpF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EACrE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EACxF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,CAAC,CAAC,CAAC,SAAS,iFAOF;AACV,CAAC"}