@keystrokehq/finmei 0.1.4 → 0.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (205) 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 +1 -0
  4. package/dist/actions/create-expense.cjs.map +1 -1
  5. package/dist/actions/create-expense.d.cts +3 -11
  6. package/dist/actions/create-expense.d.cts.map +1 -1
  7. package/dist/actions/create-expense.d.mts +3 -11
  8. package/dist/actions/create-expense.d.mts.map +1 -1
  9. package/dist/actions/create-expense.mjs +1 -0
  10. package/dist/actions/create-expense.mjs.map +1 -1
  11. package/dist/actions/create-invoice.cjs +1 -0
  12. package/dist/actions/create-invoice.cjs.map +1 -1
  13. package/dist/actions/create-invoice.d.cts +3 -45
  14. package/dist/actions/create-invoice.d.cts.map +1 -1
  15. package/dist/actions/create-invoice.d.mts +3 -45
  16. package/dist/actions/create-invoice.d.mts.map +1 -1
  17. package/dist/actions/create-invoice.mjs +1 -0
  18. package/dist/actions/create-invoice.mjs.map +1 -1
  19. package/dist/actions/delete-customer.cjs +1 -0
  20. package/dist/actions/delete-customer.cjs.map +1 -1
  21. package/dist/actions/delete-customer.d.cts +3 -3
  22. package/dist/actions/delete-customer.d.cts.map +1 -1
  23. package/dist/actions/delete-customer.d.mts +3 -3
  24. package/dist/actions/delete-customer.d.mts.map +1 -1
  25. package/dist/actions/delete-customer.mjs +1 -0
  26. package/dist/actions/delete-customer.mjs.map +1 -1
  27. package/dist/actions/delete-invoice.cjs +1 -0
  28. package/dist/actions/delete-invoice.cjs.map +1 -1
  29. package/dist/actions/delete-invoice.d.cts +3 -3
  30. package/dist/actions/delete-invoice.d.cts.map +1 -1
  31. package/dist/actions/delete-invoice.d.mts +3 -3
  32. package/dist/actions/delete-invoice.d.mts.map +1 -1
  33. package/dist/actions/delete-invoice.mjs +1 -0
  34. package/dist/actions/delete-invoice.mjs.map +1 -1
  35. package/dist/actions/delete-payment.cjs +1 -0
  36. package/dist/actions/delete-payment.cjs.map +1 -1
  37. package/dist/actions/delete-payment.d.cts +3 -3
  38. package/dist/actions/delete-payment.d.cts.map +1 -1
  39. package/dist/actions/delete-payment.d.mts +3 -3
  40. package/dist/actions/delete-payment.d.mts.map +1 -1
  41. package/dist/actions/delete-payment.mjs +1 -0
  42. package/dist/actions/delete-payment.mjs.map +1 -1
  43. package/dist/actions/delete-product.cjs +1 -0
  44. package/dist/actions/delete-product.cjs.map +1 -1
  45. package/dist/actions/delete-product.d.cts +3 -3
  46. package/dist/actions/delete-product.d.cts.map +1 -1
  47. package/dist/actions/delete-product.d.mts +3 -3
  48. package/dist/actions/delete-product.d.mts.map +1 -1
  49. package/dist/actions/delete-product.mjs +1 -0
  50. package/dist/actions/delete-product.mjs.map +1 -1
  51. package/dist/actions/download-expense-file.cjs +1 -0
  52. package/dist/actions/download-expense-file.cjs.map +1 -1
  53. package/dist/actions/download-expense-file.d.cts +3 -3
  54. package/dist/actions/download-expense-file.d.cts.map +1 -1
  55. package/dist/actions/download-expense-file.d.mts +3 -3
  56. package/dist/actions/download-expense-file.d.mts.map +1 -1
  57. package/dist/actions/download-expense-file.mjs +1 -0
  58. package/dist/actions/download-expense-file.mjs.map +1 -1
  59. package/dist/actions/download-invoice-pdf.cjs +1 -0
  60. package/dist/actions/download-invoice-pdf.cjs.map +1 -1
  61. package/dist/actions/download-invoice-pdf.d.cts +3 -3
  62. package/dist/actions/download-invoice-pdf.d.cts.map +1 -1
  63. package/dist/actions/download-invoice-pdf.d.mts +3 -3
  64. package/dist/actions/download-invoice-pdf.d.mts.map +1 -1
  65. package/dist/actions/download-invoice-pdf.mjs +1 -0
  66. package/dist/actions/download-invoice-pdf.mjs.map +1 -1
  67. package/dist/actions/get-expense.cjs +1 -0
  68. package/dist/actions/get-expense.cjs.map +1 -1
  69. package/dist/actions/get-expense.d.cts +3 -3
  70. package/dist/actions/get-expense.d.cts.map +1 -1
  71. package/dist/actions/get-expense.d.mts +3 -3
  72. package/dist/actions/get-expense.d.mts.map +1 -1
  73. package/dist/actions/get-expense.mjs +1 -0
  74. package/dist/actions/get-expense.mjs.map +1 -1
  75. package/dist/actions/get-invoice.cjs +1 -0
  76. package/dist/actions/get-invoice.cjs.map +1 -1
  77. package/dist/actions/get-invoice.d.cts +3 -3
  78. package/dist/actions/get-invoice.d.cts.map +1 -1
  79. package/dist/actions/get-invoice.d.mts +3 -3
  80. package/dist/actions/get-invoice.d.mts.map +1 -1
  81. package/dist/actions/get-invoice.mjs +1 -0
  82. package/dist/actions/get-invoice.mjs.map +1 -1
  83. package/dist/actions/get-payment.cjs +1 -0
  84. package/dist/actions/get-payment.cjs.map +1 -1
  85. package/dist/actions/get-payment.d.cts +3 -3
  86. package/dist/actions/get-payment.d.cts.map +1 -1
  87. package/dist/actions/get-payment.d.mts +3 -3
  88. package/dist/actions/get-payment.d.mts.map +1 -1
  89. package/dist/actions/get-payment.mjs +1 -0
  90. package/dist/actions/get-payment.mjs.map +1 -1
  91. package/dist/actions/get-product.cjs +1 -0
  92. package/dist/actions/get-product.cjs.map +1 -1
  93. package/dist/actions/get-product.d.cts +3 -3
  94. package/dist/actions/get-product.d.cts.map +1 -1
  95. package/dist/actions/get-product.d.mts +3 -3
  96. package/dist/actions/get-product.d.mts.map +1 -1
  97. package/dist/actions/get-product.mjs +1 -0
  98. package/dist/actions/get-product.mjs.map +1 -1
  99. package/dist/actions/get-profile.cjs +1 -0
  100. package/dist/actions/get-profile.cjs.map +1 -1
  101. package/dist/actions/get-profile.d.cts +3 -1
  102. package/dist/actions/get-profile.d.cts.map +1 -1
  103. package/dist/actions/get-profile.d.mts +3 -1
  104. package/dist/actions/get-profile.d.mts.map +1 -1
  105. package/dist/actions/get-profile.mjs +1 -0
  106. package/dist/actions/get-profile.mjs.map +1 -1
  107. package/dist/actions/list-currencies.cjs +1 -0
  108. package/dist/actions/list-currencies.cjs.map +1 -1
  109. package/dist/actions/list-currencies.d.cts +3 -1
  110. package/dist/actions/list-currencies.d.cts.map +1 -1
  111. package/dist/actions/list-currencies.d.mts +3 -1
  112. package/dist/actions/list-currencies.d.mts.map +1 -1
  113. package/dist/actions/list-currencies.mjs +1 -0
  114. package/dist/actions/list-currencies.mjs.map +1 -1
  115. package/dist/actions/list-customers.cjs +1 -0
  116. package/dist/actions/list-customers.cjs.map +1 -1
  117. package/dist/actions/list-customers.d.cts +3 -6
  118. package/dist/actions/list-customers.d.cts.map +1 -1
  119. package/dist/actions/list-customers.d.mts +3 -6
  120. package/dist/actions/list-customers.d.mts.map +1 -1
  121. package/dist/actions/list-customers.mjs +1 -0
  122. package/dist/actions/list-customers.mjs.map +1 -1
  123. package/dist/actions/list-expenses.cjs +1 -0
  124. package/dist/actions/list-expenses.cjs.map +1 -1
  125. package/dist/actions/list-expenses.d.cts +3 -4
  126. package/dist/actions/list-expenses.d.cts.map +1 -1
  127. package/dist/actions/list-expenses.d.mts +3 -4
  128. package/dist/actions/list-expenses.d.mts.map +1 -1
  129. package/dist/actions/list-expenses.mjs +1 -0
  130. package/dist/actions/list-expenses.mjs.map +1 -1
  131. package/dist/actions/list-invoices.cjs +1 -0
  132. package/dist/actions/list-invoices.cjs.map +1 -1
  133. package/dist/actions/list-invoices.d.cts +3 -4
  134. package/dist/actions/list-invoices.d.cts.map +1 -1
  135. package/dist/actions/list-invoices.d.mts +3 -4
  136. package/dist/actions/list-invoices.d.mts.map +1 -1
  137. package/dist/actions/list-invoices.mjs +1 -0
  138. package/dist/actions/list-invoices.mjs.map +1 -1
  139. package/dist/actions/list-payments.cjs +1 -0
  140. package/dist/actions/list-payments.cjs.map +1 -1
  141. package/dist/actions/list-payments.d.cts +3 -7
  142. package/dist/actions/list-payments.d.cts.map +1 -1
  143. package/dist/actions/list-payments.d.mts +3 -7
  144. package/dist/actions/list-payments.d.mts.map +1 -1
  145. package/dist/actions/list-payments.mjs +1 -0
  146. package/dist/actions/list-payments.mjs.map +1 -1
  147. package/dist/actions/list-products.cjs +1 -0
  148. package/dist/actions/list-products.cjs.map +1 -1
  149. package/dist/actions/list-products.d.cts +3 -6
  150. package/dist/actions/list-products.d.cts.map +1 -1
  151. package/dist/actions/list-products.d.mts +3 -6
  152. package/dist/actions/list-products.d.mts.map +1 -1
  153. package/dist/actions/list-products.mjs +1 -0
  154. package/dist/actions/list-products.mjs.map +1 -1
  155. package/dist/actions/update-customer.cjs +1 -0
  156. package/dist/actions/update-customer.cjs.map +1 -1
  157. package/dist/actions/update-customer.d.cts +3 -14
  158. package/dist/actions/update-customer.d.cts.map +1 -1
  159. package/dist/actions/update-customer.d.mts +3 -14
  160. package/dist/actions/update-customer.d.mts.map +1 -1
  161. package/dist/actions/update-customer.mjs +1 -0
  162. package/dist/actions/update-customer.mjs.map +1 -1
  163. package/dist/actions/update-expense-file.cjs +1 -0
  164. package/dist/actions/update-expense-file.cjs.map +1 -1
  165. package/dist/actions/update-expense-file.d.cts +3 -8
  166. package/dist/actions/update-expense-file.d.cts.map +1 -1
  167. package/dist/actions/update-expense-file.d.mts +3 -8
  168. package/dist/actions/update-expense-file.d.mts.map +1 -1
  169. package/dist/actions/update-expense-file.mjs +1 -0
  170. package/dist/actions/update-expense-file.mjs.map +1 -1
  171. package/dist/actions/update-expense.cjs +1 -0
  172. package/dist/actions/update-expense.cjs.map +1 -1
  173. package/dist/actions/update-expense.d.cts +3 -7
  174. package/dist/actions/update-expense.d.cts.map +1 -1
  175. package/dist/actions/update-expense.d.mts +3 -7
  176. package/dist/actions/update-expense.d.mts.map +1 -1
  177. package/dist/actions/update-expense.mjs +1 -0
  178. package/dist/actions/update-expense.mjs.map +1 -1
  179. package/dist/actions/update-invoice.cjs +1 -0
  180. package/dist/actions/update-invoice.cjs.map +1 -1
  181. package/dist/actions/update-invoice.d.cts +3 -41
  182. package/dist/actions/update-invoice.d.cts.map +1 -1
  183. package/dist/actions/update-invoice.d.mts +3 -41
  184. package/dist/actions/update-invoice.d.mts.map +1 -1
  185. package/dist/actions/update-invoice.mjs +1 -0
  186. package/dist/actions/update-invoice.mjs.map +1 -1
  187. package/dist/actions/update-product.cjs +1 -0
  188. package/dist/actions/update-product.cjs.map +1 -1
  189. package/dist/actions/update-product.d.cts +3 -7
  190. package/dist/actions/update-product.d.cts.map +1 -1
  191. package/dist/actions/update-product.d.mts +3 -7
  192. package/dist/actions/update-product.d.mts.map +1 -1
  193. package/dist/actions/update-product.mjs +1 -0
  194. package/dist/actions/update-product.mjs.map +1 -1
  195. package/dist/app.cjs +5 -2
  196. package/dist/app.cjs.map +1 -1
  197. package/dist/app.d.cts +7 -1
  198. package/dist/app.d.cts.map +1 -1
  199. package/dist/app.d.mts +7 -1
  200. package/dist/app.d.mts.map +1 -1
  201. package/dist/app.mjs +3 -2
  202. package/dist/app.mjs.map +1 -1
  203. package/dist/index.d.cts +1 -1
  204. package/dist/index.d.mts +1 -1
  205. package/package.json +2 -2
@@ -1,3 +1,5 @@
1
+ import { finmei } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/update-product.d.ts
@@ -17,13 +19,7 @@ declare const FinmeiUpdateProductOutput: z.ZodObject<{
17
19
  updated_at: z.ZodNullable<z.ZodString>;
18
20
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
21
  }, z.core.$loose>;
20
- declare const finmeiUpdateProduct: import("@keystrokehq/action").WorkflowActionDefinition<{
21
- product_id: string;
22
- name?: string | undefined;
23
- price?: number | undefined;
24
- currency?: string | undefined;
25
- description?: string | undefined;
26
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
22
+ declare const finmeiUpdateProduct: AppAction<typeof FinmeiUpdateProductInput, typeof FinmeiUpdateProductOutput, typeof finmei.credential>;
27
23
  //#endregion
28
24
  export { finmeiUpdateProduct };
29
25
  //# sourceMappingURL=update-product.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-product.d.mts","names":[],"sources":["../../src/actions/update-product.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;cAOxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;cAUzB,mBAAA,gCAAmB,wBAAA"}
1
+ {"version":3,"file":"update-product.d.mts","names":[],"sources":["../../src/actions/update-product.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;cAOxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;cAUzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,MAAA,CAAO,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const finmeiUpdateProduct = action("FINMEI_UPDATE_PRODUCT", {
@@ -1 +1 @@
1
- {"version":3,"file":"update-product.mjs","names":[],"sources":["../../src/actions/update-product.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FinmeiUpdateProductInput = z.object({\n name: z.string().describe(\"Updated name for the product. If provided, replaces the existing product name.\").optional(),\n price: z.number().describe(\"Updated price for the product in the specified currency. Must be non-negative. If provided, replaces the existing price.\").optional(),\n currency: z.string().describe(\"Updated currency code for the product price (ISO 4217 format, e.g., USD, EUR, GBP). If provided, replaces the existing currency.\").optional(),\n product_id: z.string().describe(\"Unique identifier of the product to update. Must be a valid existing product ID.\"),\n description: z.string().describe(\"Updated description for the product. If provided, replaces the existing description.\").optional(),\n}).describe(\"Request model for updating an existing product's details in the Finmei product catalog.\\nAt least one field (name, description, price, or currency) must be provided.\");\nexport const FinmeiUpdateProductOutput = z.object({\n id: z.string().describe(\"Unique identifier of the product\").nullable(),\n name: z.string().describe(\"Current name of the product after the update\").nullable(),\n price: z.number().describe(\"Current price of the product after the update\").nullable(),\n currency: z.string().describe(\"Current currency code of the product price after the update (e.g., USD, EUR)\").nullable(),\n created_at: z.string().describe(\"ISO8601 timestamp when the product was originally created\").nullable(),\n updated_at: z.string().describe(\"ISO8601 timestamp when the product was last updated\").nullable(),\n description: z.string().describe(\"Current description of the product after the update\").nullable().optional(),\n}).passthrough().describe(\"Response model containing the complete updated product details after a successful update.\\nAll fields reflect the current state of the product after applying the updates.\");\n\nexport const finmeiUpdateProduct = action(\"FINMEI_UPDATE_PRODUCT\", {\n slug: \"finmei-update-product\",\n name: \"Update Product\",\n description: \"Updates an existing product in the Finmei product catalog. Use this action when you need to modify product details such as name, description, price, or currency. You must provide the product ID and at least one field to update. The action returns the complete updated product details. Prerequisites: - The product must already exist in the system (obtain product_id from List Products action) - At least one update field (name, description, price, or currency) must be provided Note: This action will fail if the product doesn't exist or if the Finmei API instance doesn't support product management endpoints.\",\n input: FinmeiUpdateProductInput,\n output: FinmeiUpdateProductOutput,\n});\n"],"mappings":";;AAqBA,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OArBsC,EAAE,OAAO;EAC/C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;EACrH,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0HAA0H,CAAC,CAAC,SAAS;EAChK,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kIAAkI,CAAC,CAAC,SAAS;EAC3K,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF;EAClH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;CACpI,CAAC,CAAC,CAAC,SAAS,uKAeH;CACP,QAfuC,EAAE,OAAO;EAChD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EACrE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;EACnF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EACrF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;EACvH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;EACtG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;EAChG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4KAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"update-product.mjs","names":[],"sources":["../../src/actions/update-product.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { finmei } from \"../app\";\n\nexport const FinmeiUpdateProductInput = z.object({\n name: z.string().describe(\"Updated name for the product. If provided, replaces the existing product name.\").optional(),\n price: z.number().describe(\"Updated price for the product in the specified currency. Must be non-negative. If provided, replaces the existing price.\").optional(),\n currency: z.string().describe(\"Updated currency code for the product price (ISO 4217 format, e.g., USD, EUR, GBP). If provided, replaces the existing currency.\").optional(),\n product_id: z.string().describe(\"Unique identifier of the product to update. Must be a valid existing product ID.\"),\n description: z.string().describe(\"Updated description for the product. If provided, replaces the existing description.\").optional(),\n}).describe(\"Request model for updating an existing product's details in the Finmei product catalog.\\nAt least one field (name, description, price, or currency) must be provided.\");\nexport const FinmeiUpdateProductOutput = z.object({\n id: z.string().describe(\"Unique identifier of the product\").nullable(),\n name: z.string().describe(\"Current name of the product after the update\").nullable(),\n price: z.number().describe(\"Current price of the product after the update\").nullable(),\n currency: z.string().describe(\"Current currency code of the product price after the update (e.g., USD, EUR)\").nullable(),\n created_at: z.string().describe(\"ISO8601 timestamp when the product was originally created\").nullable(),\n updated_at: z.string().describe(\"ISO8601 timestamp when the product was last updated\").nullable(),\n description: z.string().describe(\"Current description of the product after the update\").nullable().optional(),\n}).passthrough().describe(\"Response model containing the complete updated product details after a successful update.\\nAll fields reflect the current state of the product after applying the updates.\");\n\nexport const finmeiUpdateProduct: AppAction<\n typeof FinmeiUpdateProductInput,\n typeof FinmeiUpdateProductOutput,\n typeof finmei.credential\n> = action(\"FINMEI_UPDATE_PRODUCT\", {\n slug: \"finmei-update-product\",\n name: \"Update Product\",\n description: \"Updates an existing product in the Finmei product catalog. Use this action when you need to modify product details such as name, description, price, or currency. You must provide the product ID and at least one field to update. The action returns the complete updated product details. Prerequisites: - The product must already exist in the system (obtain product_id from List Products action) - At least one update field (name, description, price, or currency) must be provided Note: This action will fail if the product doesn't exist or if the Finmei API instance doesn't support product management endpoints.\",\n input: FinmeiUpdateProductInput,\n output: FinmeiUpdateProductOutput,\n});\n"],"mappings":";;;AAuBA,MAAa,sBAIT,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAzBsC,EAAE,OAAO;EAC/C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;EACrH,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0HAA0H,CAAC,CAAC,SAAS;EAChK,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kIAAkI,CAAC,CAAC,SAAS;EAC3K,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF;EAClH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;CACpI,CAAC,CAAC,CAAC,SAAS,uKAmBH;CACP,QAnBuC,EAAE,OAAO;EAChD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EACrE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;EACnF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EACrF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;EACvH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;EACtG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;EAChG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4KAWhB;AACV,CAAC"}
package/dist/app.cjs CHANGED
@@ -1,7 +1,10 @@
1
+ let _keystrokehq_keystroke_app = require("@keystrokehq/keystroke/app");
1
2
  //#region src/app.ts
2
- const finmei = (0, require("@keystrokehq/keystroke/app").defineApp)({
3
+ const credential = { generic_api_key: require("zod").z.string() };
4
+ const finmei = (0, _keystrokehq_keystroke_app.defineApp)({
3
5
  slug: "finmei",
4
- auth: "keystroke"
6
+ auth: "keystroke",
7
+ credential
5
8
  });
6
9
  //#endregion
7
10
  exports.finmei = finmei;
package/dist/app.cjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"app.cjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const finmei = defineApp({\n slug: \"finmei\",\n auth: \"keystroke\",\n});\n"],"mappings":";AAEA,MAAa,UAAA,uCAAA,CAAA,CAAA,UAAA,CAAmB;CAC9B,MAAM;CACN,MAAM;AACR,CAAC"}
1
+ {"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n generic_api_key: z.string(),\n};\n\nexport const finmei: KeystrokeApp<\"finmei\", typeof credential> = defineApp({\n slug: \"finmei\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAGA,MAAM,aAAa,EACjB,8BAAiBA,CAAAA,CAAAA,EAAE,OAAO,EAC5B;AAEA,MAAa,UAAA,GAAA,2BAAA,UAAA,CAA8D;CACzE,MAAM;CACN,MAAM;CACN;AACF,CAAC"}
package/dist/app.d.cts CHANGED
@@ -1,5 +1,11 @@
1
+ import { KeystrokeApp } from "@keystrokehq/keystroke/app";
2
+ import { z } from "zod";
3
+
1
4
  //#region src/app.d.ts
2
- declare const finmei: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
5
+ declare const credential: {
6
+ generic_api_key: z.ZodString;
7
+ };
8
+ declare const finmei: KeystrokeApp<"finmei", typeof credential>;
3
9
  //#endregion
4
10
  export { finmei };
5
11
  //# sourceMappingURL=app.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,MAAA,6BAAM,GAAA,+BAAA,UAAA"}
1
+ {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;mBAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,MAAA,EAAQ,YAAY,kBAAkB,UAAA"}
package/dist/app.d.mts CHANGED
@@ -1,5 +1,11 @@
1
+ import { KeystrokeApp } from "@keystrokehq/keystroke/app";
2
+ import { z } from "zod";
3
+
1
4
  //#region src/app.d.ts
2
- declare const finmei: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
5
+ declare const credential: {
6
+ generic_api_key: z.ZodString;
7
+ };
8
+ declare const finmei: KeystrokeApp<"finmei", typeof credential>;
3
9
  //#endregion
4
10
  export { finmei };
5
11
  //# sourceMappingURL=app.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,MAAA,6BAAM,GAAA,+BAAA,UAAA"}
1
+ {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;mBAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,MAAA,EAAQ,YAAY,kBAAkB,UAAA"}
package/dist/app.mjs CHANGED
@@ -1,8 +1,9 @@
1
1
  import { defineApp } from "@keystrokehq/keystroke/app";
2
- //#region src/app.ts
2
+ import { z } from "zod";
3
3
  const finmei = defineApp({
4
4
  slug: "finmei",
5
- auth: "keystroke"
5
+ auth: "keystroke",
6
+ credential: { generic_api_key: z.string() }
6
7
  });
7
8
  //#endregion
8
9
  export { finmei };
package/dist/app.mjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const finmei = defineApp({\n slug: \"finmei\",\n auth: \"keystroke\",\n});\n"],"mappings":";;AAEA,MAAa,SAAS,UAAU;CAC9B,MAAM;CACN,MAAM;AACR,CAAC"}
1
+ {"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n generic_api_key: z.string(),\n};\n\nexport const finmei: KeystrokeApp<\"finmei\", typeof credential> = defineApp({\n slug: \"finmei\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAOA,MAAa,SAAoD,UAAU;CACzE,MAAM;CACN,MAAM;CACN,cANA,iBAAiB,EAAE,OAAO,EAM1B;AACF,CAAC"}
package/dist/index.d.cts CHANGED
@@ -1,3 +1,4 @@
1
+ import { finmei } from "./app.cjs";
1
2
  import { finmeiCreateExpense } from "./actions/create-expense.cjs";
2
3
  import { finmeiCreateInvoice } from "./actions/create-invoice.cjs";
3
4
  import { finmeiDeleteCustomer } from "./actions/delete-customer.cjs";
@@ -22,6 +23,5 @@ import { finmeiUpdateExpense } from "./actions/update-expense.cjs";
22
23
  import { finmeiUpdateExpenseFile } from "./actions/update-expense-file.cjs";
23
24
  import { finmeiUpdateInvoice } from "./actions/update-invoice.cjs";
24
25
  import { finmeiUpdateProduct } from "./actions/update-product.cjs";
25
- import { finmei } from "./app.cjs";
26
26
  import { finmeiCatalog } from "./catalog.cjs";
27
27
  export { finmei, finmeiCatalog, finmeiCreateExpense, finmeiCreateInvoice, finmeiDeleteCustomer, finmeiDeleteInvoice, finmeiDeletePayment, finmeiDeleteProduct, finmeiDownloadExpenseFile, finmeiDownloadInvoicePdf, finmeiGetExpense, finmeiGetInvoice, finmeiGetPayment, finmeiGetProduct, finmeiGetProfile, finmeiListCurrencies, finmeiListCustomers, finmeiListExpenses, finmeiListInvoices, finmeiListPayments, finmeiListProducts, finmeiUpdateCustomer, finmeiUpdateExpense, finmeiUpdateExpenseFile, finmeiUpdateInvoice, finmeiUpdateProduct };
package/dist/index.d.mts CHANGED
@@ -1,3 +1,4 @@
1
+ import { finmei } from "./app.mjs";
1
2
  import { finmeiCreateExpense } from "./actions/create-expense.mjs";
2
3
  import { finmeiCreateInvoice } from "./actions/create-invoice.mjs";
3
4
  import { finmeiDeleteCustomer } from "./actions/delete-customer.mjs";
@@ -22,6 +23,5 @@ import { finmeiUpdateExpense } from "./actions/update-expense.mjs";
22
23
  import { finmeiUpdateExpenseFile } from "./actions/update-expense-file.mjs";
23
24
  import { finmeiUpdateInvoice } from "./actions/update-invoice.mjs";
24
25
  import { finmeiUpdateProduct } from "./actions/update-product.mjs";
25
- import { finmei } from "./app.mjs";
26
26
  import { finmeiCatalog } from "./catalog.mjs";
27
27
  export { finmei, finmeiCatalog, finmeiCreateExpense, finmeiCreateInvoice, finmeiDeleteCustomer, finmeiDeleteInvoice, finmeiDeletePayment, finmeiDeleteProduct, finmeiDownloadExpenseFile, finmeiDownloadInvoicePdf, finmeiGetExpense, finmeiGetInvoice, finmeiGetPayment, finmeiGetProduct, finmeiGetProfile, finmeiListCurrencies, finmeiListCustomers, finmeiListExpenses, finmeiListInvoices, finmeiListPayments, finmeiListProducts, finmeiUpdateCustomer, finmeiUpdateExpense, finmeiUpdateExpenseFile, finmeiUpdateInvoice, finmeiUpdateProduct };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/finmei",
3
- "version": "0.1.4",
3
+ "version": "0.1.6",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"
@@ -31,7 +31,7 @@
31
31
  }
32
32
  },
33
33
  "peerDependencies": {
34
- "@keystrokehq/keystroke": ">=0.1.4",
34
+ "@keystrokehq/keystroke": ">=0.1.104",
35
35
  "zod": "^4.4.3"
36
36
  },
37
37
  "devDependencies": {