@keystrokehq/finmei 0.1.1 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (163) 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 +2 -2
  4. package/dist/actions/create-expense.cjs.map +1 -1
  5. package/dist/actions/create-expense.d.cts +3 -13
  6. package/dist/actions/create-expense.d.mts +3 -13
  7. package/dist/actions/create-expense.mjs +2 -2
  8. package/dist/actions/create-expense.mjs.map +1 -1
  9. package/dist/actions/create-invoice.cjs +71 -71
  10. package/dist/actions/create-invoice.cjs.map +1 -1
  11. package/dist/actions/create-invoice.d.cts +74 -141
  12. package/dist/actions/create-invoice.d.cts.map +1 -1
  13. package/dist/actions/create-invoice.d.mts +74 -141
  14. package/dist/actions/create-invoice.d.mts.map +1 -1
  15. package/dist/actions/create-invoice.mjs +71 -71
  16. package/dist/actions/create-invoice.mjs.map +1 -1
  17. package/dist/actions/delete-customer.cjs +1 -1
  18. package/dist/actions/delete-customer.cjs.map +1 -1
  19. package/dist/actions/delete-customer.d.cts +2 -2
  20. package/dist/actions/delete-customer.d.cts.map +1 -1
  21. package/dist/actions/delete-customer.d.mts +2 -2
  22. package/dist/actions/delete-customer.d.mts.map +1 -1
  23. package/dist/actions/delete-customer.mjs +1 -1
  24. package/dist/actions/delete-customer.mjs.map +1 -1
  25. package/dist/actions/delete-invoice.cjs +2 -2
  26. package/dist/actions/delete-invoice.cjs.map +1 -1
  27. package/dist/actions/delete-invoice.d.cts +3 -6
  28. package/dist/actions/delete-invoice.d.mts +3 -6
  29. package/dist/actions/delete-invoice.mjs +2 -2
  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 +2 -4
  34. package/dist/actions/delete-payment.d.mts +2 -4
  35. package/dist/actions/delete-payment.mjs +1 -1
  36. package/dist/actions/delete-payment.mjs.map +1 -1
  37. package/dist/actions/delete-product.cjs +2 -2
  38. package/dist/actions/delete-product.cjs.map +1 -1
  39. package/dist/actions/delete-product.d.cts +3 -6
  40. package/dist/actions/delete-product.d.mts +3 -6
  41. package/dist/actions/delete-product.mjs +2 -2
  42. package/dist/actions/delete-product.mjs.map +1 -1
  43. package/dist/actions/download-expense-file.cjs +2 -2
  44. package/dist/actions/download-expense-file.cjs.map +1 -1
  45. package/dist/actions/download-expense-file.d.cts +3 -9
  46. package/dist/actions/download-expense-file.d.mts +3 -9
  47. package/dist/actions/download-expense-file.mjs +2 -2
  48. package/dist/actions/download-expense-file.mjs.map +1 -1
  49. package/dist/actions/download-invoice-pdf.cjs +2 -2
  50. package/dist/actions/download-invoice-pdf.cjs.map +1 -1
  51. package/dist/actions/download-invoice-pdf.d.cts +3 -9
  52. package/dist/actions/download-invoice-pdf.d.mts +3 -9
  53. package/dist/actions/download-invoice-pdf.mjs +2 -2
  54. package/dist/actions/download-invoice-pdf.mjs.map +1 -1
  55. package/dist/actions/get-expense.cjs +2 -2
  56. package/dist/actions/get-expense.cjs.map +1 -1
  57. package/dist/actions/get-expense.d.cts +3 -13
  58. package/dist/actions/get-expense.d.mts +3 -13
  59. package/dist/actions/get-expense.mjs +2 -2
  60. package/dist/actions/get-expense.mjs.map +1 -1
  61. package/dist/actions/get-invoice.cjs +29 -29
  62. package/dist/actions/get-invoice.cjs.map +1 -1
  63. package/dist/actions/get-invoice.d.cts +30 -81
  64. package/dist/actions/get-invoice.d.cts.map +1 -1
  65. package/dist/actions/get-invoice.d.mts +30 -81
  66. package/dist/actions/get-invoice.d.mts.map +1 -1
  67. package/dist/actions/get-invoice.mjs +29 -29
  68. package/dist/actions/get-invoice.mjs.map +1 -1
  69. package/dist/actions/get-payment.cjs +3 -3
  70. package/dist/actions/get-payment.cjs.map +1 -1
  71. package/dist/actions/get-payment.d.cts +4 -14
  72. package/dist/actions/get-payment.d.mts +4 -14
  73. package/dist/actions/get-payment.mjs +3 -3
  74. package/dist/actions/get-payment.mjs.map +1 -1
  75. package/dist/actions/get-product.cjs +2 -2
  76. package/dist/actions/get-product.cjs.map +1 -1
  77. package/dist/actions/get-product.d.cts +3 -11
  78. package/dist/actions/get-product.d.mts +3 -11
  79. package/dist/actions/get-product.mjs +2 -2
  80. package/dist/actions/get-product.mjs.map +1 -1
  81. package/dist/actions/get-profile.cjs +9 -9
  82. package/dist/actions/get-profile.cjs.map +1 -1
  83. package/dist/actions/get-profile.d.cts +10 -20
  84. package/dist/actions/get-profile.d.cts.map +1 -1
  85. package/dist/actions/get-profile.d.mts +10 -20
  86. package/dist/actions/get-profile.d.mts.map +1 -1
  87. package/dist/actions/get-profile.mjs +9 -9
  88. package/dist/actions/get-profile.mjs.map +1 -1
  89. package/dist/actions/list-currencies.cjs +3 -3
  90. package/dist/actions/list-currencies.cjs.map +1 -1
  91. package/dist/actions/list-currencies.d.cts +4 -10
  92. package/dist/actions/list-currencies.d.cts.map +1 -1
  93. package/dist/actions/list-currencies.d.mts +4 -10
  94. package/dist/actions/list-currencies.d.mts.map +1 -1
  95. package/dist/actions/list-currencies.mjs +3 -3
  96. package/dist/actions/list-currencies.mjs.map +1 -1
  97. package/dist/actions/list-customers.cjs +11 -11
  98. package/dist/actions/list-customers.cjs.map +1 -1
  99. package/dist/actions/list-customers.d.cts +12 -28
  100. package/dist/actions/list-customers.d.mts +12 -28
  101. package/dist/actions/list-customers.mjs +11 -11
  102. package/dist/actions/list-customers.mjs.map +1 -1
  103. package/dist/actions/list-expenses.cjs +14 -14
  104. package/dist/actions/list-expenses.cjs.map +1 -1
  105. package/dist/actions/list-expenses.d.cts +15 -34
  106. package/dist/actions/list-expenses.d.mts +15 -34
  107. package/dist/actions/list-expenses.mjs +14 -14
  108. package/dist/actions/list-expenses.mjs.map +1 -1
  109. package/dist/actions/list-invoices.cjs +35 -35
  110. package/dist/actions/list-invoices.cjs.map +1 -1
  111. package/dist/actions/list-invoices.d.cts +36 -98
  112. package/dist/actions/list-invoices.d.cts.map +1 -1
  113. package/dist/actions/list-invoices.d.mts +36 -98
  114. package/dist/actions/list-invoices.d.mts.map +1 -1
  115. package/dist/actions/list-invoices.mjs +35 -35
  116. package/dist/actions/list-invoices.mjs.map +1 -1
  117. package/dist/actions/list-payments.cjs +9 -9
  118. package/dist/actions/list-payments.cjs.map +1 -1
  119. package/dist/actions/list-payments.d.cts +10 -25
  120. package/dist/actions/list-payments.d.mts +10 -25
  121. package/dist/actions/list-payments.mjs +9 -9
  122. package/dist/actions/list-payments.mjs.map +1 -1
  123. package/dist/actions/list-products.cjs +6 -6
  124. package/dist/actions/list-products.cjs.map +1 -1
  125. package/dist/actions/list-products.d.cts +7 -23
  126. package/dist/actions/list-products.d.mts +7 -23
  127. package/dist/actions/list-products.mjs +6 -6
  128. package/dist/actions/list-products.mjs.map +1 -1
  129. package/dist/actions/update-customer.cjs +13 -13
  130. package/dist/actions/update-customer.cjs.map +1 -1
  131. package/dist/actions/update-customer.d.cts +14 -31
  132. package/dist/actions/update-customer.d.cts.map +1 -1
  133. package/dist/actions/update-customer.d.mts +14 -31
  134. package/dist/actions/update-customer.d.mts.map +1 -1
  135. package/dist/actions/update-customer.mjs +13 -13
  136. package/dist/actions/update-customer.mjs.map +1 -1
  137. package/dist/actions/update-expense-file.cjs +6 -6
  138. package/dist/actions/update-expense-file.cjs.map +1 -1
  139. package/dist/actions/update-expense-file.d.cts +7 -13
  140. package/dist/actions/update-expense-file.d.mts +7 -13
  141. package/dist/actions/update-expense-file.mjs +6 -6
  142. package/dist/actions/update-expense-file.mjs.map +1 -1
  143. package/dist/actions/update-expense.cjs +3 -3
  144. package/dist/actions/update-expense.cjs.map +1 -1
  145. package/dist/actions/update-expense.d.cts +4 -12
  146. package/dist/actions/update-expense.d.mts +4 -12
  147. package/dist/actions/update-expense.mjs +3 -3
  148. package/dist/actions/update-expense.mjs.map +1 -1
  149. package/dist/actions/update-invoice.cjs +57 -57
  150. package/dist/actions/update-invoice.cjs.map +1 -1
  151. package/dist/actions/update-invoice.d.cts +59 -114
  152. package/dist/actions/update-invoice.d.cts.map +1 -1
  153. package/dist/actions/update-invoice.d.mts +59 -114
  154. package/dist/actions/update-invoice.d.mts.map +1 -1
  155. package/dist/actions/update-invoice.mjs +57 -57
  156. package/dist/actions/update-invoice.mjs.map +1 -1
  157. package/dist/actions/update-product.cjs +2 -2
  158. package/dist/actions/update-product.cjs.map +1 -1
  159. package/dist/actions/update-product.d.cts +3 -11
  160. package/dist/actions/update-product.d.mts +3 -11
  161. package/dist/actions/update-product.mjs +2 -2
  162. package/dist/actions/update-product.mjs.map +1 -1
  163. package/package.json +1 -1
@@ -13,43 +13,28 @@ declare const FinmeiListPaymentsInput: z.ZodObject<{
13
13
  start_date: z.ZodOptional<z.ZodString>;
14
14
  }, z.core.$strip>;
15
15
  declare const FinmeiListPaymentsOutput: z.ZodObject<{
16
- limit: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
17
- total: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
18
- offset: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
19
- payments: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodObject<{
16
+ limit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
17
+ total: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
18
+ offset: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
19
+ payments: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
20
20
  id: z.ZodNullable<z.ZodString>;
21
21
  date: z.ZodNullable<z.ZodString>;
22
22
  mode: z.ZodNullable<z.ZodString>;
23
- notes: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
23
+ notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
24
  amount: z.ZodNullable<z.ZodNumber>;
25
- reference: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
25
+ reference: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
26
  created_at: z.ZodNullable<z.ZodString>;
27
- invoice_id: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
27
+ invoice_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
28
  updated_at: z.ZodNullable<z.ZodString>;
29
- }, z.core.$strip>>>>;
30
- }, z.core.$strip>;
29
+ }, z.core.$loose>>>>;
30
+ }, z.core.$loose>;
31
31
  declare const finmeiListPayments: import("@keystrokehq/action").WorkflowActionDefinition<{
32
32
  limit?: number | undefined;
33
33
  offset?: number | undefined;
34
34
  status?: "pending" | "completed" | "failed" | undefined;
35
35
  end_date?: string | undefined;
36
36
  start_date?: string | undefined;
37
- }, {
38
- limit?: number | undefined;
39
- total?: number | undefined;
40
- offset?: number | undefined;
41
- payments?: {
42
- id: string | null;
43
- date: string | null;
44
- mode: string | null;
45
- amount: number | null;
46
- created_at: string | null;
47
- updated_at: string | null;
48
- notes?: string | undefined;
49
- reference?: string | undefined;
50
- invoice_id?: string | undefined;
51
- }[] | undefined;
52
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
37
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
53
38
  //#endregion
54
39
  export { finmeiListPayments };
55
40
  //# sourceMappingURL=list-payments.d.cts.map
@@ -13,43 +13,28 @@ declare const FinmeiListPaymentsInput: z.ZodObject<{
13
13
  start_date: z.ZodOptional<z.ZodString>;
14
14
  }, z.core.$strip>;
15
15
  declare const FinmeiListPaymentsOutput: z.ZodObject<{
16
- limit: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
17
- total: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
18
- offset: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
19
- payments: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodObject<{
16
+ limit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
17
+ total: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
18
+ offset: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
19
+ payments: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
20
20
  id: z.ZodNullable<z.ZodString>;
21
21
  date: z.ZodNullable<z.ZodString>;
22
22
  mode: z.ZodNullable<z.ZodString>;
23
- notes: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
23
+ notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
24
  amount: z.ZodNullable<z.ZodNumber>;
25
- reference: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
25
+ reference: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
26
  created_at: z.ZodNullable<z.ZodString>;
27
- invoice_id: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
27
+ invoice_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
28
  updated_at: z.ZodNullable<z.ZodString>;
29
- }, z.core.$strip>>>>;
30
- }, z.core.$strip>;
29
+ }, z.core.$loose>>>>;
30
+ }, z.core.$loose>;
31
31
  declare const finmeiListPayments: import("@keystrokehq/action").WorkflowActionDefinition<{
32
32
  limit?: number | undefined;
33
33
  offset?: number | undefined;
34
34
  status?: "pending" | "completed" | "failed" | undefined;
35
35
  end_date?: string | undefined;
36
36
  start_date?: string | undefined;
37
- }, {
38
- limit?: number | undefined;
39
- total?: number | undefined;
40
- offset?: number | undefined;
41
- payments?: {
42
- id: string | null;
43
- date: string | null;
44
- mode: string | null;
45
- amount: number | null;
46
- created_at: string | null;
47
- updated_at: string | null;
48
- notes?: string | undefined;
49
- reference?: string | undefined;
50
- invoice_id?: string | undefined;
51
- }[] | undefined;
52
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
37
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
53
38
  //#endregion
54
39
  export { finmeiListPayments };
55
40
  //# sourceMappingURL=list-payments.d.mts.map
@@ -16,24 +16,24 @@ const FinmeiListPayments_PaymentItemSchema = z.object({
16
16
  id: z.string().describe("Unique identifier of the payment").nullable(),
17
17
  date: z.string().describe("Date of the payment in ISO 8601 format").nullable(),
18
18
  mode: z.string().describe("Mode of the payment, e.g., bank_transfer, cash").nullable(),
19
- notes: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Notes attached to the payment").optional()),
19
+ notes: z.string().describe("Notes attached to the payment").nullable().optional(),
20
20
  amount: z.number().describe("Amount of the payment").nullable(),
21
- reference: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Payment reference provided").optional()),
21
+ reference: z.string().describe("Payment reference provided").nullable().optional(),
22
22
  created_at: z.string().describe("Timestamp when the payment was created").nullable(),
23
- invoice_id: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("ID of the invoice associated with the payment").optional()),
23
+ invoice_id: z.string().describe("ID of the invoice associated with the payment").nullable().optional(),
24
24
  updated_at: z.string().describe("Timestamp when the payment was last updated").nullable()
25
- }).describe("Single payment object as returned in the list");
25
+ }).passthrough().describe("Single payment object as returned in the list");
26
26
  const finmeiListPayments = action("FINMEI_LIST_PAYMENTS", {
27
27
  slug: "finmei-list-payments",
28
28
  name: "List Payments",
29
29
  description: "Tool to retrieve a list of payments. Use when you need to view past payment records with optional filters and pagination.",
30
30
  input: FinmeiListPaymentsInput,
31
31
  output: z.object({
32
- limit: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("Number of payments requested per page").optional()),
33
- total: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("Total number of payments available").optional()),
34
- offset: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("Pagination offset used in the request").optional()),
35
- payments: z.preprocess((value) => value === null ? void 0 : value, z.array(FinmeiListPayments_PaymentItemSchema).describe("List of payment objects").optional())
36
- }).describe("Response model for listing payments, including pagination metadata.")
32
+ limit: z.number().int().describe("Number of payments requested per page").nullable().optional(),
33
+ total: z.number().int().describe("Total number of payments available").nullable().optional(),
34
+ offset: z.number().int().describe("Pagination offset used in the request").nullable().optional(),
35
+ payments: z.array(FinmeiListPayments_PaymentItemSchema).describe("List of payment objects").nullable().optional()
36
+ }).passthrough().describe("Response model for listing payments, including pagination metadata.")
37
37
  });
38
38
  //#endregion
39
39
  export { finmeiListPayments };
@@ -1 +1 @@
1
- {"version":3,"file":"list-payments.mjs","names":[],"sources":["../../src/actions/list-payments.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FinmeiListPaymentsInput = z.object({\n limit: z.number().int().default(20).describe(\"Number of payments to retrieve (default 20, max 100)\").optional(),\n offset: z.number().int().default(0).describe(\"Number of payments to skip for pagination\").optional(),\n status: z.enum([\"pending\", \"completed\", \"failed\"]).describe(\"Filter payments by status\").optional(),\n end_date: z.string().describe(\"Filter payments created on or before this date (ISO 8601 format)\").optional(),\n start_date: z.string().describe(\"Filter payments created on or after this date (ISO 8601 format)\").optional(),\n}).describe(\"Request model for listing payments with optional filters and pagination.\");\nconst FinmeiListPayments_PaymentItemSchema = z.object({\n id: z.string().describe(\"Unique identifier of the payment\").nullable(),\n date: z.string().describe(\"Date of the payment in ISO 8601 format\").nullable(),\n mode: z.string().describe(\"Mode of the payment, e.g., bank_transfer, cash\").nullable(),\n notes: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Notes attached to the payment\").optional()),\n amount: z.number().describe(\"Amount of the payment\").nullable(),\n reference: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Payment reference provided\").optional()),\n created_at: z.string().describe(\"Timestamp when the payment was created\").nullable(),\n invoice_id: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"ID of the invoice associated with the payment\").optional()),\n updated_at: z.string().describe(\"Timestamp when the payment was last updated\").nullable(),\n}).describe(\"Single payment object as returned in the list\");\nexport const FinmeiListPaymentsOutput = z.object({\n limit: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Number of payments requested per page\").optional()),\n total: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Total number of payments available\").optional()),\n offset: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Pagination offset used in the request\").optional()),\n payments: z.preprocess((value) => (value === null ? undefined : value), z.array(FinmeiListPayments_PaymentItemSchema).describe(\"List of payment objects\").optional()),\n}).describe(\"Response model for listing payments, including pagination metadata.\");\n\nexport const finmeiListPayments = action(\"FINMEI_LIST_PAYMENTS\", {\n slug: \"finmei-list-payments\",\n name: \"List Payments\",\n description: \"Tool to retrieve a list of payments. Use when you need to view past payment records with optional filters and pagination.\",\n input: FinmeiListPaymentsInput,\n output: FinmeiListPaymentsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO;CAC9C,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAC9G,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACnG,QAAQ,EAAE,KAAK;EAAC;EAAW;EAAa;CAAQ,CAAC,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAClG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAC3G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;AAC9G,CAAC,CAAC,CAAC,SAAS,0EAA0E;AACtF,MAAM,uCAAuC,EAAE,OAAO;CACpD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACrE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC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AAW,UAAU,OAAO,SAAY,OAAQ,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC;CACtK,CAAC,CAAC,CAAC,SAAS,qEAOF;AACV,CAAC"}
1
+ {"version":3,"file":"list-payments.mjs","names":[],"sources":["../../src/actions/list-payments.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FinmeiListPaymentsInput = z.object({\n limit: z.number().int().default(20).describe(\"Number of payments to retrieve (default 20, max 100)\").optional(),\n offset: z.number().int().default(0).describe(\"Number of payments to skip for pagination\").optional(),\n status: z.enum([\"pending\", \"completed\", \"failed\"]).describe(\"Filter payments by status\").optional(),\n end_date: z.string().describe(\"Filter payments created on or before this date (ISO 8601 format)\").optional(),\n start_date: z.string().describe(\"Filter payments created on or after this date (ISO 8601 format)\").optional(),\n}).describe(\"Request model for listing payments with optional filters and pagination.\");\nconst FinmeiListPayments_PaymentItemSchema = z.object({\n id: z.string().describe(\"Unique identifier of the payment\").nullable(),\n date: z.string().describe(\"Date of the payment in ISO 8601 format\").nullable(),\n mode: z.string().describe(\"Mode of the payment, e.g., bank_transfer, cash\").nullable(),\n notes: z.string().describe(\"Notes attached to the payment\").nullable().optional(),\n amount: z.number().describe(\"Amount of the payment\").nullable(),\n reference: z.string().describe(\"Payment reference provided\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the payment was created\").nullable(),\n invoice_id: z.string().describe(\"ID of the invoice associated with the payment\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the payment was last updated\").nullable(),\n}).passthrough().describe(\"Single payment object as returned in the list\");\nexport const FinmeiListPaymentsOutput = z.object({\n limit: z.number().int().describe(\"Number of payments requested per page\").nullable().optional(),\n total: z.number().int().describe(\"Total number of payments available\").nullable().optional(),\n offset: z.number().int().describe(\"Pagination offset used in the request\").nullable().optional(),\n payments: z.array(FinmeiListPayments_PaymentItemSchema).describe(\"List of payment objects\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing payments, including pagination metadata.\");\n\nexport const finmeiListPayments = action(\"FINMEI_LIST_PAYMENTS\", {\n slug: \"finmei-list-payments\",\n name: \"List Payments\",\n description: \"Tool to retrieve a list of payments. Use when you need to view past payment records with optional filters and pagination.\",\n input: FinmeiListPaymentsInput,\n output: FinmeiListPaymentsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO;CAC9C,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAC9G,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACnG,QAAQ,EAAE,KAAK;EAAC;EAAW;EAAa;CAAQ,CAAC,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAClG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAC3G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;AAC9G,CAAC,CAAC,CAAC,SAAS,0EAA0E;AACtF,MAAM,uCAAuC,EAAE,OAAO;CACpD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACrE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC7E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACrF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC9D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACnF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AAQzE,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZsC,EAAE,OAAO;EAC/C,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,UAAU,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qEAOhB;AACV,CAAC"}
@@ -12,20 +12,20 @@ const FinmeiListProducts_ProductSchema = zod.z.object({
12
12
  name: zod.z.string().describe("Name of the product").nullable(),
13
13
  price: zod.z.number().describe("Price of the product in the account's currency").nullable(),
14
14
  status: zod.z.enum(["active", "inactive"]).describe("Current status of the product").nullable(),
15
- created_at: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("ISO 8601 timestamp when the product was created").optional()),
16
- updated_at: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("ISO 8601 timestamp when the product was last updated").optional()),
17
- description: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Description of the product").optional())
18
- }).describe("Schema for a product object returned by the API");
15
+ created_at: zod.z.string().describe("ISO 8601 timestamp when the product was created").nullable().optional(),
16
+ updated_at: zod.z.string().describe("ISO 8601 timestamp when the product was last updated").nullable().optional(),
17
+ description: zod.z.string().describe("Description of the product").nullable().optional()
18
+ }).passthrough().describe("Schema for a product object returned by the API");
19
19
  const FinmeiListProducts_PaginationSchema = zod.z.object({
20
20
  page: zod.z.number().int().describe("Current page number").nullable(),
21
21
  per_page: zod.z.number().int().describe("Number of items per page").nullable(),
22
22
  total_items: zod.z.number().int().describe("Total number of items across all pages").nullable(),
23
23
  total_pages: zod.z.number().int().describe("Total number of pages available").nullable()
24
- }).describe("Pagination metadata for list endpoints");
24
+ }).passthrough().describe("Pagination metadata for list endpoints");
25
25
  const FinmeiListProductsOutput = zod.z.object({
26
26
  products: zod.z.array(FinmeiListProducts_ProductSchema).describe("List of products matching the query"),
27
27
  pagination: FinmeiListProducts_PaginationSchema.nullable()
28
- }).describe("Response schema when listing products");
28
+ }).passthrough().describe("Response schema when listing products");
29
29
  const finmeiListProducts = require_action.action("FINMEI_LIST_PRODUCTS", {
30
30
  slug: "finmei-list-products",
31
31
  name: "List Products",
@@ -1 +1 @@
1
- {"version":3,"file":"list-products.cjs","names":["z","action"],"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.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"ISO 8601 timestamp when the product was created\").optional()),\n updated_at: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"ISO 8601 timestamp when the product was last updated\").optional()),\n description: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Description of the product\").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,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACzE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC/F,QAAQA,IAAAA,EAAE,KAAK,CAAC,UAAU,UAAU,CAAC,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC7F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,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wCAAwC,CAAC,CAAC,SAAS;CAC1F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,UAAUA,IAAAA,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,qCAAqC;CAClG,YAAY,oCAAoC,SAAS;AAC3D,CAAC,CAAC,CAAC,SAAS,uCAAuC;AAEnD,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-products.cjs","names":["z","action"],"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}).passthrough().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}).passthrough().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}).passthrough().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,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACzE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC/F,QAAQA,IAAAA,EAAE,KAAK,CAAC,UAAU,UAAU,CAAC,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC7F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAM,mCAAmCA,IAAAA,EAAE,OAAO;CAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACrE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC1D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACtF,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-19,39 +19,23 @@ declare const FinmeiListProductsOutput: z.ZodObject<{
19
19
  active: "active";
20
20
  inactive: "inactive";
21
21
  }>>;
22
- created_at: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
23
- updated_at: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
24
- description: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
25
- }, z.core.$strip>>;
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.$loose>>;
26
26
  pagination: z.ZodNullable<z.ZodObject<{
27
27
  page: z.ZodNullable<z.ZodNumber>;
28
28
  per_page: z.ZodNullable<z.ZodNumber>;
29
29
  total_items: z.ZodNullable<z.ZodNumber>;
30
30
  total_pages: z.ZodNullable<z.ZodNumber>;
31
- }, z.core.$strip>>;
32
- }, z.core.$strip>;
31
+ }, z.core.$loose>>;
32
+ }, z.core.$loose>;
33
33
  declare const finmeiListProducts: import("@keystrokehq/action").WorkflowActionDefinition<{
34
34
  name?: string | undefined;
35
35
  page?: number | undefined;
36
36
  status?: "active" | "inactive" | undefined;
37
37
  per_page?: number | undefined;
38
- }, {
39
- products: {
40
- id: string | null;
41
- name: string | null;
42
- price: number | null;
43
- status: "active" | "inactive" | null;
44
- created_at?: string | undefined;
45
- updated_at?: string | undefined;
46
- description?: string | undefined;
47
- }[];
48
- pagination: {
49
- page: number | null;
50
- per_page: number | null;
51
- total_items: number | null;
52
- total_pages: number | null;
53
- } | null;
54
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
38
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
55
39
  //#endregion
56
40
  export { finmeiListProducts };
57
41
  //# sourceMappingURL=list-products.d.cts.map
@@ -19,39 +19,23 @@ declare const FinmeiListProductsOutput: z.ZodObject<{
19
19
  active: "active";
20
20
  inactive: "inactive";
21
21
  }>>;
22
- created_at: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
23
- updated_at: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
24
- description: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
25
- }, z.core.$strip>>;
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.$loose>>;
26
26
  pagination: z.ZodNullable<z.ZodObject<{
27
27
  page: z.ZodNullable<z.ZodNumber>;
28
28
  per_page: z.ZodNullable<z.ZodNumber>;
29
29
  total_items: z.ZodNullable<z.ZodNumber>;
30
30
  total_pages: z.ZodNullable<z.ZodNumber>;
31
- }, z.core.$strip>>;
32
- }, z.core.$strip>;
31
+ }, z.core.$loose>>;
32
+ }, z.core.$loose>;
33
33
  declare const finmeiListProducts: import("@keystrokehq/action").WorkflowActionDefinition<{
34
34
  name?: string | undefined;
35
35
  page?: number | undefined;
36
36
  status?: "active" | "inactive" | undefined;
37
37
  per_page?: number | undefined;
38
- }, {
39
- products: {
40
- id: string | null;
41
- name: string | null;
42
- price: number | null;
43
- status: "active" | "inactive" | null;
44
- created_at?: string | undefined;
45
- updated_at?: string | undefined;
46
- description?: string | undefined;
47
- }[];
48
- pagination: {
49
- page: number | null;
50
- per_page: number | null;
51
- total_items: number | null;
52
- total_pages: number | null;
53
- } | null;
54
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
38
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
55
39
  //#endregion
56
40
  export { finmeiListProducts };
57
41
  //# sourceMappingURL=list-products.d.mts.map
@@ -12,16 +12,16 @@ const FinmeiListProducts_ProductSchema = z.object({
12
12
  name: z.string().describe("Name of the product").nullable(),
13
13
  price: z.number().describe("Price of the product in the account's currency").nullable(),
14
14
  status: z.enum(["active", "inactive"]).describe("Current status of the product").nullable(),
15
- created_at: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("ISO 8601 timestamp when the product was created").optional()),
16
- updated_at: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("ISO 8601 timestamp when the product was last updated").optional()),
17
- description: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Description of the product").optional())
18
- }).describe("Schema for a product object returned by the API");
15
+ created_at: z.string().describe("ISO 8601 timestamp when the product was created").nullable().optional(),
16
+ updated_at: z.string().describe("ISO 8601 timestamp when the product was last updated").nullable().optional(),
17
+ description: z.string().describe("Description of the product").nullable().optional()
18
+ }).passthrough().describe("Schema for a product object returned by the API");
19
19
  const FinmeiListProducts_PaginationSchema = z.object({
20
20
  page: z.number().int().describe("Current page number").nullable(),
21
21
  per_page: z.number().int().describe("Number of items per page").nullable(),
22
22
  total_items: z.number().int().describe("Total number of items across all pages").nullable(),
23
23
  total_pages: z.number().int().describe("Total number of pages available").nullable()
24
- }).describe("Pagination metadata for list endpoints");
24
+ }).passthrough().describe("Pagination metadata for list endpoints");
25
25
  const finmeiListProducts = action("FINMEI_LIST_PRODUCTS", {
26
26
  slug: "finmei-list-products",
27
27
  name: "List Products",
@@ -30,7 +30,7 @@ const finmeiListProducts = action("FINMEI_LIST_PRODUCTS", {
30
30
  output: z.object({
31
31
  products: z.array(FinmeiListProducts_ProductSchema).describe("List of products matching the query"),
32
32
  pagination: FinmeiListProducts_PaginationSchema.nullable()
33
- }).describe("Response schema when listing products")
33
+ }).passthrough().describe("Response schema when listing products")
34
34
  });
35
35
  //#endregion
36
36
  export { finmeiListProducts };
@@ -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.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.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"ISO 8601 timestamp when the product was created\").optional()),\n updated_at: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"ISO 8601 timestamp when the product was last updated\").optional()),\n description: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Description of the product\").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,E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CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAChE,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACzE,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC1F,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,SAAS,wCAAwC;AAMpD,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,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"}
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}).passthrough().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}).passthrough().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}).passthrough().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,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAM,mCAAmC,EAAE,OAAO;CAChD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACrE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC1D,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customer_id: zod.z.string().describe("Unique identifier of the customer to update")
17
17
  }).describe("Request model for updating an existing customer");
18
18
  const FinmeiUpdateCustomer_AddressSchema = zod.z.object({
19
- city: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("City of the customer's address").optional()),
20
- state: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("State or province of the customer's address").optional()),
21
- street: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Street address of the customer").optional()),
22
- country: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Country code (ISO 3166-1 alpha-2)").optional()),
23
- postal_code: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Postal or ZIP code of the customer's address").optional())
24
- }).describe("Mailing address details");
19
+ city: zod.z.string().describe("City of the customer's address").nullable().optional(),
20
+ state: zod.z.string().describe("State or province of the customer's address").nullable().optional(),
21
+ street: zod.z.string().describe("Street address of the customer").nullable().optional(),
22
+ country: zod.z.string().describe("Country code (ISO 3166-1 alpha-2)").nullable().optional(),
23
+ postal_code: zod.z.string().describe("Postal or ZIP code of the customer's address").nullable().optional()
24
+ }).passthrough().describe("Mailing address details");
25
25
  const FinmeiUpdateCustomer_CustomerSchema = zod.z.object({
26
26
  id: zod.z.string().describe("Unique identifier of the customer").nullable(),
27
- name: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Full name of the customer").optional()),
28
- email: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Email address of the customer").optional()),
29
- phone: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Phone number of the customer").optional()),
30
- address: zod.z.preprocess((value) => value === null ? void 0 : value, FinmeiUpdateCustomer_AddressSchema.optional()),
31
- metadata: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.record(zod.z.string(), zod.z.unknown()).describe("Additional metadata associated with the customer").optional()),
27
+ name: zod.z.string().describe("Full name of the customer").nullable().optional(),
28
+ email: zod.z.string().describe("Email address of the customer").nullable().optional(),
29
+ phone: zod.z.string().describe("Phone number of the customer").nullable().optional(),
30
+ address: FinmeiUpdateCustomer_AddressSchema.nullable().optional(),
31
+ metadata: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Additional metadata associated with the customer").nullable().optional(),
32
32
  created_at: zod.z.string().describe("Timestamp when the customer was created").nullable(),
33
33
  updated_at: zod.z.string().describe("Timestamp when the customer was last updated").nullable()
34
- });
35
- const FinmeiUpdateCustomerOutput = zod.z.object({ customer: FinmeiUpdateCustomer_CustomerSchema.nullable() }).describe("Response model containing the updated customer record");
34
+ }).passthrough();
35
+ const FinmeiUpdateCustomerOutput = zod.z.object({ customer: FinmeiUpdateCustomer_CustomerSchema.nullable() }).passthrough().describe("Response model containing the updated customer record");
36
36
  const finmeiUpdateCustomer = require_action.action("FINMEI_UPDATE_CUSTOMER", {
37
37
  slug: "finmei-update-customer",
38
38
  name: "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.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.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"City of the customer's address\").optional()),\n state: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"State or province of the customer's address\").optional()),\n street: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Street address of the customer\").optional()),\n country: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Country code (ISO 3166-1 alpha-2)\").optional()),\n postal_code: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Postal or ZIP code of the customer's address\").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.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Full name of the customer\").optional()),\n email: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Email address of the customer\").optional()),\n phone: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Phone number of the customer\").optional()),\n address: z.preprocess((value) => (value === null ? undefined : value), FinmeiUpdateCustomer_AddressSchema.optional()),\n metadata: z.preprocess((value) => (value === null ? undefined : value), z.record(z.string(), z.unknown()).describe(\"Additional metadata associated with the customer\").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,CA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AE,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
+ {"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}).passthrough().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}).passthrough();\nexport const FinmeiUpdateCustomerOutput = z.object({\n customer: FinmeiUpdateCustomer_CustomerSchema.nullable(),\n}).passthrough().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,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AA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,SAAS,mCAAmC,SAAS,CAAC,CAAC,SAAS;CAChE,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,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,CAAC,CAAC,YAAY;AACf,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,UAAU,oCAAoC,SAAS,EACzD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAAuD;AAEjF,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -18,21 +18,21 @@ declare const FinmeiUpdateCustomerInput: z.ZodObject<{
18
18
  declare const FinmeiUpdateCustomerOutput: z.ZodObject<{
19
19
  customer: z.ZodNullable<z.ZodObject<{
20
20
  id: z.ZodNullable<z.ZodString>;
21
- name: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
22
- email: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
23
- phone: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
24
- address: z.ZodPreprocess<z.ZodOptional<z.ZodObject<{
25
- city: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
26
- state: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
27
- street: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
28
- country: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
29
- postal_code: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
30
- }, z.core.$strip>>>;
31
- metadata: z.ZodPreprocess<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
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.$loose>>>;
31
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
32
32
  created_at: z.ZodNullable<z.ZodString>;
33
33
  updated_at: z.ZodNullable<z.ZodString>;
34
- }, z.core.$strip>>;
35
- }, z.core.$strip>;
34
+ }, z.core.$loose>>;
35
+ }, z.core.$loose>;
36
36
  declare const finmeiUpdateCustomer: import("@keystrokehq/action").WorkflowActionDefinition<{
37
37
  customer_id: string;
38
38
  name?: string | undefined;
@@ -46,24 +46,7 @@ declare const finmeiUpdateCustomer: import("@keystrokehq/action").WorkflowAction
46
46
  postal_code?: string | undefined;
47
47
  } | undefined;
48
48
  metadata?: Record<string, unknown> | undefined;
49
- }, {
50
- customer: {
51
- id: string | null;
52
- created_at: string | null;
53
- updated_at: string | null;
54
- name?: string | undefined;
55
- email?: string | undefined;
56
- phone?: string | undefined;
57
- address?: {
58
- city?: string | undefined;
59
- state?: string | undefined;
60
- street?: string | undefined;
61
- country?: string | undefined;
62
- postal_code?: string | undefined;
63
- } | undefined;
64
- metadata?: Record<string, unknown> | undefined;
65
- } | null;
66
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
49
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
67
50
  //#endregion
68
51
  export { finmeiUpdateCustomer };
69
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,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cA+BzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAI1B,oBAAA,gCAAoB,wBAAA;;;;;;;;;;;;aAM/B,MAAA;AAAA;;;;;;;;;;;;;;;eAAA,MAAA;EAAA;AAAA"}
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"}
@@ -18,21 +18,21 @@ declare const FinmeiUpdateCustomerInput: z.ZodObject<{
18
18
  declare const FinmeiUpdateCustomerOutput: z.ZodObject<{
19
19
  customer: z.ZodNullable<z.ZodObject<{
20
20
  id: z.ZodNullable<z.ZodString>;
21
- name: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
22
- email: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
23
- phone: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
24
- address: z.ZodPreprocess<z.ZodOptional<z.ZodObject<{
25
- city: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
26
- state: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
27
- street: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
28
- country: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
29
- postal_code: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
30
- }, z.core.$strip>>>;
31
- metadata: z.ZodPreprocess<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
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.$loose>>>;
31
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
32
32
  created_at: z.ZodNullable<z.ZodString>;
33
33
  updated_at: z.ZodNullable<z.ZodString>;
34
- }, z.core.$strip>>;
35
- }, z.core.$strip>;
34
+ }, z.core.$loose>>;
35
+ }, z.core.$loose>;
36
36
  declare const finmeiUpdateCustomer: import("@keystrokehq/action").WorkflowActionDefinition<{
37
37
  customer_id: string;
38
38
  name?: string | undefined;
@@ -46,24 +46,7 @@ declare const finmeiUpdateCustomer: import("@keystrokehq/action").WorkflowAction
46
46
  postal_code?: string | undefined;
47
47
  } | undefined;
48
48
  metadata?: Record<string, unknown> | undefined;
49
- }, {
50
- customer: {
51
- id: string | null;
52
- created_at: string | null;
53
- updated_at: string | null;
54
- name?: string | undefined;
55
- email?: string | undefined;
56
- phone?: string | undefined;
57
- address?: {
58
- city?: string | undefined;
59
- state?: string | undefined;
60
- street?: string | undefined;
61
- country?: string | undefined;
62
- postal_code?: string | undefined;
63
- } | undefined;
64
- metadata?: Record<string, unknown> | undefined;
65
- } | null;
66
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
49
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
67
50
  //#endregion
68
51
  export { finmeiUpdateCustomer };
69
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,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cA+BzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAI1B,oBAAA,gCAAoB,wBAAA;;;;;;;;;;;;aAM/B,MAAA;AAAA;;;;;;;;;;;;;;;eAAA,MAAA;EAAA;AAAA"}
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"}