@goodsamsoftware/freshbooks-mcp 1.0.10 → 1.0.11

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 (233) hide show
  1. package/dist/tools/base-tool.d.ts +20 -54
  2. package/dist/tools/base-tool.d.ts.map +1 -1
  3. package/dist/tools/bill/bill-archive.d.ts +2 -14
  4. package/dist/tools/bill/bill-archive.d.ts.map +1 -1
  5. package/dist/tools/bill/bill-create.d.ts +16 -125
  6. package/dist/tools/bill/bill-create.d.ts.map +1 -1
  7. package/dist/tools/bill/bill-delete.d.ts +2 -18
  8. package/dist/tools/bill/bill-delete.d.ts.map +1 -1
  9. package/dist/tools/bill/bill-list.d.ts +22 -194
  10. package/dist/tools/bill/bill-list.d.ts.map +1 -1
  11. package/dist/tools/bill/bill-single.d.ts +14 -97
  12. package/dist/tools/bill/bill-single.d.ts.map +1 -1
  13. package/dist/tools/bill/schemas.d.ts +63 -460
  14. package/dist/tools/bill/schemas.d.ts.map +1 -1
  15. package/dist/tools/bill-payment/billpayment-create.d.ts +18 -62
  16. package/dist/tools/bill-payment/billpayment-create.d.ts.map +1 -1
  17. package/dist/tools/bill-payment/billpayment-delete.d.ts +2 -18
  18. package/dist/tools/bill-payment/billpayment-delete.d.ts.map +1 -1
  19. package/dist/tools/bill-payment/billpayment-list.d.ts +12 -103
  20. package/dist/tools/bill-payment/billpayment-list.d.ts.map +1 -1
  21. package/dist/tools/bill-payment/billpayment-single.d.ts +10 -41
  22. package/dist/tools/bill-payment/billpayment-single.d.ts.map +1 -1
  23. package/dist/tools/bill-payment/billpayment-update.d.ts +18 -62
  24. package/dist/tools/bill-payment/billpayment-update.d.ts.map +1 -1
  25. package/dist/tools/bill-payment/schemas.d.ts +60 -264
  26. package/dist/tools/bill-payment/schemas.d.ts.map +1 -1
  27. package/dist/tools/bill-vendor/billvendor-create.d.ts +3 -81
  28. package/dist/tools/bill-vendor/billvendor-create.d.ts.map +1 -1
  29. package/dist/tools/bill-vendor/billvendor-delete.d.ts +2 -18
  30. package/dist/tools/bill-vendor/billvendor-delete.d.ts.map +1 -1
  31. package/dist/tools/bill-vendor/billvendor-list.d.ts +5 -127
  32. package/dist/tools/bill-vendor/billvendor-list.d.ts.map +1 -1
  33. package/dist/tools/bill-vendor/billvendor-single.d.ts +3 -51
  34. package/dist/tools/bill-vendor/billvendor-single.d.ts.map +1 -1
  35. package/dist/tools/bill-vendor/billvendor-update.d.ts +3 -83
  36. package/dist/tools/bill-vendor/billvendor-update.d.ts.map +1 -1
  37. package/dist/tools/bill-vendor/schemas.d.ts +15 -327
  38. package/dist/tools/bill-vendor/schemas.d.ts.map +1 -1
  39. package/dist/tools/callback/callback-create.d.ts +2 -24
  40. package/dist/tools/callback/callback-create.d.ts.map +1 -1
  41. package/dist/tools/callback/callback-delete.d.ts +2 -18
  42. package/dist/tools/callback/callback-delete.d.ts.map +1 -1
  43. package/dist/tools/callback/callback-list.d.ts +4 -66
  44. package/dist/tools/callback/callback-list.d.ts.map +1 -1
  45. package/dist/tools/callback/callback-resend-verification.d.ts +2 -22
  46. package/dist/tools/callback/callback-resend-verification.d.ts.map +1 -1
  47. package/dist/tools/callback/callback-single.d.ts +2 -22
  48. package/dist/tools/callback/callback-single.d.ts.map +1 -1
  49. package/dist/tools/callback/callback-update.d.ts +2 -26
  50. package/dist/tools/callback/callback-update.d.ts.map +1 -1
  51. package/dist/tools/callback/callback-verify.d.ts +2 -18
  52. package/dist/tools/callback/callback-verify.d.ts.map +1 -1
  53. package/dist/tools/callback/schemas.d.ts +15 -177
  54. package/dist/tools/callback/schemas.d.ts.map +1 -1
  55. package/dist/tools/client/client-create.d.ts +3 -129
  56. package/dist/tools/client/client-create.d.ts.map +1 -1
  57. package/dist/tools/client/client-delete.d.ts +2 -18
  58. package/dist/tools/client/client-delete.d.ts.map +1 -1
  59. package/dist/tools/client/client-list.d.ts +21 -197
  60. package/dist/tools/client/client-list.d.ts.map +1 -1
  61. package/dist/tools/client/client-single.d.ts +3 -77
  62. package/dist/tools/client/client-single.d.ts.map +1 -1
  63. package/dist/tools/client/client-update.d.ts +4 -134
  64. package/dist/tools/client/client-update.d.ts.map +1 -1
  65. package/dist/tools/client/schemas.d.ts +50 -512
  66. package/dist/tools/client/schemas.d.ts.map +1 -1
  67. package/dist/tools/credit-note/creditnote-create.d.ts +18 -367
  68. package/dist/tools/credit-note/creditnote-create.d.ts.map +1 -1
  69. package/dist/tools/credit-note/creditnote-delete.d.ts +2 -18
  70. package/dist/tools/credit-note/creditnote-delete.d.ts.map +1 -1
  71. package/dist/tools/credit-note/creditnote-list.d.ts +24 -552
  72. package/dist/tools/credit-note/creditnote-list.d.ts.map +1 -1
  73. package/dist/tools/credit-note/creditnote-single.d.ts +14 -291
  74. package/dist/tools/credit-note/creditnote-single.d.ts.map +1 -1
  75. package/dist/tools/credit-note/creditnote-update.d.ts +18 -363
  76. package/dist/tools/credit-note/creditnote-update.d.ts.map +1 -1
  77. package/dist/tools/credit-note/schemas.d.ts +72 -1355
  78. package/dist/tools/credit-note/schemas.d.ts.map +1 -1
  79. package/dist/tools/expense/expense-create.d.ts +13 -132
  80. package/dist/tools/expense/expense-create.d.ts.map +1 -1
  81. package/dist/tools/expense/expense-delete.d.ts +2 -18
  82. package/dist/tools/expense/expense-delete.d.ts.map +1 -1
  83. package/dist/tools/expense/expense-list.d.ts +20 -202
  84. package/dist/tools/expense/expense-list.d.ts.map +1 -1
  85. package/dist/tools/expense/expense-single.d.ts +12 -95
  86. package/dist/tools/expense/expense-single.d.ts.map +1 -1
  87. package/dist/tools/expense/expense-update.d.ts +14 -135
  88. package/dist/tools/expense/expense-update.d.ts.map +1 -1
  89. package/dist/tools/expense/schemas.d.ts +56 -495
  90. package/dist/tools/expense/schemas.d.ts.map +1 -1
  91. package/dist/tools/expense-category/expensecategory-list.d.ts +5 -75
  92. package/dist/tools/expense-category/expensecategory-list.d.ts.map +1 -1
  93. package/dist/tools/expense-category/expensecategory-single.d.ts +3 -27
  94. package/dist/tools/expense-category/expensecategory-single.d.ts.map +1 -1
  95. package/dist/tools/expense-category/schemas.d.ts +10 -122
  96. package/dist/tools/expense-category/schemas.d.ts.map +1 -1
  97. package/dist/tools/invoice/invoice-create.d.ts +30 -280
  98. package/dist/tools/invoice/invoice-create.d.ts.map +1 -1
  99. package/dist/tools/invoice/invoice-delete.d.ts +2 -18
  100. package/dist/tools/invoice/invoice-delete.d.ts.map +1 -1
  101. package/dist/tools/invoice/invoice-list.d.ts +62 -360
  102. package/dist/tools/invoice/invoice-list.d.ts.map +1 -1
  103. package/dist/tools/invoice/invoice-share-link.d.ts +2 -14
  104. package/dist/tools/invoice/invoice-share-link.d.ts.map +1 -1
  105. package/dist/tools/invoice/invoice-single.d.ts +27 -197
  106. package/dist/tools/invoice/invoice-single.d.ts.map +1 -1
  107. package/dist/tools/invoice/invoice-update.d.ts +42 -285
  108. package/dist/tools/invoice/invoice-update.d.ts.map +1 -1
  109. package/dist/tools/invoice/schemas.d.ts +183 -1090
  110. package/dist/tools/invoice/schemas.d.ts.map +1 -1
  111. package/dist/tools/item/item-create.d.ts +15 -87
  112. package/dist/tools/item/item-create.d.ts.map +1 -1
  113. package/dist/tools/item/item-list.d.ts +16 -130
  114. package/dist/tools/item/item-list.d.ts.map +1 -1
  115. package/dist/tools/item/item-single.d.ts +9 -55
  116. package/dist/tools/item/item-single.d.ts.map +1 -1
  117. package/dist/tools/item/item-update.d.ts +15 -89
  118. package/dist/tools/item/item-update.d.ts.map +1 -1
  119. package/dist/tools/item/schemas.d.ts +53 -325
  120. package/dist/tools/item/schemas.d.ts.map +1 -1
  121. package/dist/tools/journal-entry/journalentry-create.d.ts +4 -74
  122. package/dist/tools/journal-entry/journalentry-create.d.ts.map +1 -1
  123. package/dist/tools/journal-entry/schemas.d.ts +7 -123
  124. package/dist/tools/journal-entry/schemas.d.ts.map +1 -1
  125. package/dist/tools/journal-entry-account/journalentryaccount-list.d.ts +13 -147
  126. package/dist/tools/journal-entry-account/journalentryaccount-list.d.ts.map +1 -1
  127. package/dist/tools/journal-entry-account/schemas.d.ts +19 -263
  128. package/dist/tools/journal-entry-account/schemas.d.ts.map +1 -1
  129. package/dist/tools/other-income/otherincome-create.d.ts +43 -107
  130. package/dist/tools/other-income/otherincome-create.d.ts.map +1 -1
  131. package/dist/tools/other-income/otherincome-delete.d.ts +2 -18
  132. package/dist/tools/other-income/otherincome-delete.d.ts.map +1 -1
  133. package/dist/tools/other-income/otherincome-list.d.ts +25 -140
  134. package/dist/tools/other-income/otherincome-list.d.ts.map +1 -1
  135. package/dist/tools/other-income/otherincome-single.d.ts +23 -64
  136. package/dist/tools/other-income/otherincome-single.d.ts.map +1 -1
  137. package/dist/tools/other-income/otherincome-update.d.ts +43 -109
  138. package/dist/tools/other-income/otherincome-update.d.ts.map +1 -1
  139. package/dist/tools/other-income/schemas.d.ts +132 -382
  140. package/dist/tools/other-income/schemas.d.ts.map +1 -1
  141. package/dist/tools/payment/payment-create.d.ts +33 -81
  142. package/dist/tools/payment/payment-create.d.ts.map +1 -1
  143. package/dist/tools/payment/payment-delete.d.ts +2 -18
  144. package/dist/tools/payment/payment-delete.d.ts.map +1 -1
  145. package/dist/tools/payment/payment-list.d.ts +20 -135
  146. package/dist/tools/payment/payment-list.d.ts.map +1 -1
  147. package/dist/tools/payment/payment-single.d.ts +18 -57
  148. package/dist/tools/payment/payment-single.d.ts.map +1 -1
  149. package/dist/tools/payment/payment-update.d.ts +33 -79
  150. package/dist/tools/payment/payment-update.d.ts.map +1 -1
  151. package/dist/tools/payment/schemas.d.ts +103 -321
  152. package/dist/tools/payment/schemas.d.ts.map +1 -1
  153. package/dist/tools/payment-options/paymentoptions-create.d.ts +11 -55
  154. package/dist/tools/payment-options/paymentoptions-create.d.ts.map +1 -1
  155. package/dist/tools/payment-options/paymentoptions-default.d.ts +2 -18
  156. package/dist/tools/payment-options/paymentoptions-default.d.ts.map +1 -1
  157. package/dist/tools/payment-options/paymentoptions-single.d.ts +11 -45
  158. package/dist/tools/payment-options/paymentoptions-single.d.ts.map +1 -1
  159. package/dist/tools/payment-options/schemas.d.ts +25 -125
  160. package/dist/tools/payment-options/schemas.d.ts.map +1 -1
  161. package/dist/tools/project/project-create.d.ts +28 -86
  162. package/dist/tools/project/project-create.d.ts.map +1 -1
  163. package/dist/tools/project/project-delete.d.ts +2 -18
  164. package/dist/tools/project/project-delete.d.ts.map +1 -1
  165. package/dist/tools/project/project-list.d.ts +34 -167
  166. package/dist/tools/project/project-list.d.ts.map +1 -1
  167. package/dist/tools/project/project-single.d.ts +23 -67
  168. package/dist/tools/project/project-single.d.ts.map +1 -1
  169. package/dist/tools/project/project-update.d.ts +28 -92
  170. package/dist/tools/project/project-update.d.ts.map +1 -1
  171. package/dist/tools/project/schemas.d.ts +130 -402
  172. package/dist/tools/project/schemas.d.ts.map +1 -1
  173. package/dist/tools/report/report-payments-collected.d.ts +5 -82
  174. package/dist/tools/report/report-payments-collected.d.ts.map +1 -1
  175. package/dist/tools/report/report-profit-loss.d.ts +8 -101
  176. package/dist/tools/report/report-profit-loss.d.ts.map +1 -1
  177. package/dist/tools/report/report-tax-summary.d.ts +7 -116
  178. package/dist/tools/report/report-tax-summary.d.ts.map +1 -1
  179. package/dist/tools/report/schemas.d.ts +47 -678
  180. package/dist/tools/report/schemas.d.ts.map +1 -1
  181. package/dist/tools/service/schemas.d.ts +10 -102
  182. package/dist/tools/service/schemas.d.ts.map +1 -1
  183. package/dist/tools/service/service-create.d.ts +2 -18
  184. package/dist/tools/service/service-create.d.ts.map +1 -1
  185. package/dist/tools/service/service-list.d.ts +8 -76
  186. package/dist/tools/service/service-list.d.ts.map +1 -1
  187. package/dist/tools/service/service-rate-get.d.ts +4 -28
  188. package/dist/tools/service/service-rate-get.d.ts.map +1 -1
  189. package/dist/tools/service/service-rate-set.d.ts +4 -36
  190. package/dist/tools/service/service-rate-set.d.ts.map +1 -1
  191. package/dist/tools/service/service-single.d.ts +2 -14
  192. package/dist/tools/service/service-single.d.ts.map +1 -1
  193. package/dist/tools/task/schemas.d.ts +16 -216
  194. package/dist/tools/task/schemas.d.ts.map +1 -1
  195. package/dist/tools/task/task-create.d.ts +5 -64
  196. package/dist/tools/task/task-create.d.ts.map +1 -1
  197. package/dist/tools/task/task-delete.d.ts +2 -19
  198. package/dist/tools/task/task-delete.d.ts.map +1 -1
  199. package/dist/tools/task/task-list.d.ts +7 -113
  200. package/dist/tools/task/task-list.d.ts.map +1 -1
  201. package/dist/tools/task/task-single.d.ts +4 -45
  202. package/dist/tools/task/task-single.d.ts.map +1 -1
  203. package/dist/tools/task/task-update.d.ts +6 -69
  204. package/dist/tools/task/task-update.d.ts.map +1 -1
  205. package/dist/tools/time-entry/schemas.d.ts +50 -404
  206. package/dist/tools/time-entry/schemas.d.ts.map +1 -1
  207. package/dist/tools/time-entry/timeentry-create.d.ts +3 -85
  208. package/dist/tools/time-entry/timeentry-create.d.ts.map +1 -1
  209. package/dist/tools/time-entry/timeentry-delete.d.ts +2 -20
  210. package/dist/tools/time-entry/timeentry-delete.d.ts.map +1 -1
  211. package/dist/tools/time-entry/timeentry-list.d.ts +22 -172
  212. package/dist/tools/time-entry/timeentry-list.d.ts.map +1 -1
  213. package/dist/tools/time-entry/timeentry-single.d.ts +3 -63
  214. package/dist/tools/time-entry/timeentry-single.d.ts.map +1 -1
  215. package/dist/tools/time-entry/timeentry-update.d.ts +3 -87
  216. package/dist/tools/time-entry/timeentry-update.d.ts.map +1 -1
  217. package/dist/tools/timer/schemas.d.ts +16 -351
  218. package/dist/tools/timer/schemas.d.ts.map +1 -1
  219. package/dist/tools/timer/timer-current.d.ts +4 -116
  220. package/dist/tools/timer/timer-current.d.ts.map +1 -1
  221. package/dist/tools/timer/timer-discard.d.ts +2 -23
  222. package/dist/tools/timer/timer-discard.d.ts.map +1 -1
  223. package/dist/tools/timer/timer-start.d.ts +3 -76
  224. package/dist/tools/timer/timer-start.d.ts.map +1 -1
  225. package/dist/tools/timer/timer-stop.d.ts +3 -68
  226. package/dist/tools/timer/timer-stop.d.ts.map +1 -1
  227. package/dist/tools/user/schemas.d.ts +12 -190
  228. package/dist/tools/user/schemas.d.ts.map +1 -1
  229. package/dist/tools/user/user-me.d.ts +6 -90
  230. package/dist/tools/user/user-me.d.ts.map +1 -1
  231. package/dist/utils/pagination.d.ts +1 -7
  232. package/dist/utils/pagination.d.ts.map +1 -1
  233. package/package.json +2 -2
@@ -18,40 +18,25 @@ export declare const paymentCreateTool: {
18
18
  amount: z.ZodObject<{
19
19
  amount: z.ZodString;
20
20
  code: z.ZodDefault<z.ZodString>;
21
- }, "strip", z.ZodTypeAny, {
22
- code: string;
23
- amount: string;
24
- }, {
25
- amount: string;
26
- code?: string | undefined;
27
- }>;
21
+ }, z.core.$strip>;
28
22
  date: z.ZodString;
29
- type: z.ZodDefault<z.ZodEnum<["Check", "Credit", "Cash", "Bank Transfer", "Debit", "PayPal", "Credit Card", "Other", "2Checkout", "Stripe", "ACH", "Wire Transfer"]>>;
23
+ type: z.ZodDefault<z.ZodEnum<{
24
+ Check: "Check";
25
+ Credit: "Credit";
26
+ Cash: "Cash";
27
+ "Bank Transfer": "Bank Transfer";
28
+ Debit: "Debit";
29
+ PayPal: "PayPal";
30
+ "Credit Card": "Credit Card";
31
+ Other: "Other";
32
+ "2Checkout": "2Checkout";
33
+ Stripe: "Stripe";
34
+ ACH: "ACH";
35
+ "Wire Transfer": "Wire Transfer";
36
+ }>>;
30
37
  note: z.ZodOptional<z.ZodString>;
31
38
  sendEmailReceipt: z.ZodOptional<z.ZodBoolean>;
32
- }, "strip", z.ZodTypeAny, {
33
- accountId: string;
34
- date: string;
35
- type: "Check" | "Credit" | "Cash" | "Bank Transfer" | "Debit" | "PayPal" | "Credit Card" | "Other" | "2Checkout" | "Stripe" | "ACH" | "Wire Transfer";
36
- amount: {
37
- code: string;
38
- amount: string;
39
- };
40
- invoiceId: number;
41
- note?: string | undefined;
42
- sendEmailReceipt?: boolean | undefined;
43
- }, {
44
- accountId: string;
45
- date: string;
46
- amount: {
47
- amount: string;
48
- code?: string | undefined;
49
- };
50
- invoiceId: number;
51
- type?: "Check" | "Credit" | "Cash" | "Bank Transfer" | "Debit" | "PayPal" | "Credit Card" | "Other" | "2Checkout" | "Stripe" | "ACH" | "Wire Transfer" | undefined;
52
- note?: string | undefined;
53
- sendEmailReceipt?: boolean | undefined;
54
- }>;
39
+ }, z.core.$strip>;
55
40
  outputSchema: z.ZodObject<{
56
41
  id: z.ZodNumber;
57
42
  invoiceId: z.ZodNumber;
@@ -59,18 +44,25 @@ export declare const paymentCreateTool: {
59
44
  amount: z.ZodObject<{
60
45
  amount: z.ZodString;
61
46
  code: z.ZodString;
62
- }, "strip", z.ZodTypeAny, {
63
- code: string;
64
- amount: string;
65
- }, {
66
- code: string;
67
- amount: string;
68
- }>;
47
+ }, z.core.$strip>;
69
48
  date: z.ZodString;
70
- type: z.ZodEnum<["Check", "Credit", "Cash", "Bank Transfer", "Debit", "PayPal", "Credit Card", "Other", "2Checkout", "Stripe", "ACH", "Wire Transfer"]>;
49
+ type: z.ZodEnum<{
50
+ Check: "Check";
51
+ Credit: "Credit";
52
+ Cash: "Cash";
53
+ "Bank Transfer": "Bank Transfer";
54
+ Debit: "Debit";
55
+ PayPal: "PayPal";
56
+ "Credit Card": "Credit Card";
57
+ Other: "Other";
58
+ "2Checkout": "2Checkout";
59
+ Stripe: "Stripe";
60
+ ACH: "ACH";
61
+ "Wire Transfer": "Wire Transfer";
62
+ }>;
71
63
  note: z.ZodNullable<z.ZodString>;
72
64
  clientId: z.ZodNumber;
73
- visState: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
65
+ visState: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
74
66
  logId: z.ZodOptional<z.ZodNumber>;
75
67
  updated: z.ZodOptional<z.ZodString>;
76
68
  creditId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -78,47 +70,7 @@ export declare const paymentCreateTool: {
78
70
  gateway: z.ZodOptional<z.ZodNullable<z.ZodString>>;
79
71
  fromCredit: z.ZodOptional<z.ZodBoolean>;
80
72
  sendEmailReceipt: z.ZodOptional<z.ZodBoolean>;
81
- }, "strip", z.ZodTypeAny, {
82
- accountId: string;
83
- date: string;
84
- type: "Check" | "Credit" | "Cash" | "Bank Transfer" | "Debit" | "PayPal" | "Credit Card" | "Other" | "2Checkout" | "Stripe" | "ACH" | "Wire Transfer";
85
- amount: {
86
- code: string;
87
- amount: string;
88
- };
89
- id: number;
90
- clientId: number;
91
- note: string | null;
92
- invoiceId: number;
93
- visState?: 0 | 1 | 2 | undefined;
94
- updated?: string | undefined;
95
- logId?: number | undefined;
96
- creditId?: number | null | undefined;
97
- overpaymentId?: number | null | undefined;
98
- gateway?: string | null | undefined;
99
- fromCredit?: boolean | undefined;
100
- sendEmailReceipt?: boolean | undefined;
101
- }, {
102
- accountId: string;
103
- date: string;
104
- type: "Check" | "Credit" | "Cash" | "Bank Transfer" | "Debit" | "PayPal" | "Credit Card" | "Other" | "2Checkout" | "Stripe" | "ACH" | "Wire Transfer";
105
- amount: {
106
- code: string;
107
- amount: string;
108
- };
109
- id: number;
110
- clientId: number;
111
- note: string | null;
112
- invoiceId: number;
113
- visState?: 0 | 1 | 2 | undefined;
114
- updated?: string | undefined;
115
- logId?: number | undefined;
116
- creditId?: number | null | undefined;
117
- overpaymentId?: number | null | undefined;
118
- gateway?: string | null | undefined;
119
- fromCredit?: boolean | undefined;
120
- sendEmailReceipt?: boolean | undefined;
121
- }>;
73
+ }, z.core.$strip>;
122
74
  /**
123
75
  * Execute the tool
124
76
  */
@@ -1 +1 @@
1
- {"version":3,"file":"payment-create.d.ts","sourceRoot":"","sources":["../../../src/tools/payment/payment-create.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,wBAAwB,EAAE,yBAAyB,EAAE,MAAM,cAAc,CAAC;AACnF,OAAO,EAAE,uBAAuB,EAAE,MAAM,uBAAuB,CAAC;AAKhE;;GAEG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAkC5B;;OAEG;mBAEM,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,UACvC,uBAAuB,GAC9B,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;CAsDtD,CAAC"}
1
+ {"version":3,"file":"payment-create.d.ts","sourceRoot":"","sources":["../../../src/tools/payment/payment-create.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,wBAAwB,EAAE,yBAAyB,EAAE,MAAM,cAAc,CAAC;AACnF,OAAO,EAAE,uBAAuB,EAAE,MAAM,uBAAuB,CAAC;AAKhE;;GAEG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAkC5B;;OAEG;mBAEM,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,UACvC,uBAAuB,GAC9B,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;CAsDtD,CAAC"}
@@ -17,27 +17,11 @@ export declare const paymentDeleteTool: {
17
17
  paymentId: z.ZodNumber;
18
18
  confirmed: z.ZodOptional<z.ZodBoolean>;
19
19
  confirmationId: z.ZodOptional<z.ZodString>;
20
- }, "strip", z.ZodTypeAny, {
21
- accountId: string;
22
- paymentId: number;
23
- confirmed?: boolean | undefined;
24
- confirmationId?: string | undefined;
25
- }, {
26
- accountId: string;
27
- paymentId: number;
28
- confirmed?: boolean | undefined;
29
- confirmationId?: string | undefined;
30
- }>;
20
+ }, z.core.$strip>;
31
21
  outputSchema: z.ZodObject<{
32
22
  success: z.ZodBoolean;
33
23
  paymentId: z.ZodNumber;
34
- }, "strip", z.ZodTypeAny, {
35
- success: boolean;
36
- paymentId: number;
37
- }, {
38
- success: boolean;
39
- paymentId: number;
40
- }>;
24
+ }, z.core.$strip>;
41
25
  /**
42
26
  * Execute the tool
43
27
  */
@@ -1 +1 @@
1
- {"version":3,"file":"payment-delete.d.ts","sourceRoot":"","sources":["../../../src/tools/payment/payment-delete.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,wBAAwB,EAAE,yBAAyB,EAAE,MAAM,cAAc,CAAC;AACnF,OAAO,EAAE,uBAAuB,EAAE,MAAM,uBAAuB,CAAC;AAKhE;;GAEG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA6B5B;;OAEG;mBAEM,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,UACvC,uBAAuB,GAC9B,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;CAwCtD,CAAC"}
1
+ {"version":3,"file":"payment-delete.d.ts","sourceRoot":"","sources":["../../../src/tools/payment/payment-delete.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,wBAAwB,EAAE,yBAAyB,EAAE,MAAM,cAAc,CAAC;AACnF,OAAO,EAAE,uBAAuB,EAAE,MAAM,uBAAuB,CAAC;AAKhE;;GAEG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;IA6B5B;;OAEG;mBAEM,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,UACvC,uBAAuB,GAC9B,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;CAwCtD,CAAC"}
@@ -20,23 +20,7 @@ export declare const paymentListTool: {
20
20
  clientId: z.ZodOptional<z.ZodNumber>;
21
21
  dateFrom: z.ZodOptional<z.ZodString>;
22
22
  dateTo: z.ZodOptional<z.ZodString>;
23
- }, "strip", z.ZodTypeAny, {
24
- accountId: string;
25
- page?: number | undefined;
26
- perPage?: number | undefined;
27
- clientId?: number | undefined;
28
- invoiceId?: number | undefined;
29
- dateFrom?: string | undefined;
30
- dateTo?: string | undefined;
31
- }, {
32
- accountId: string;
33
- page?: number | undefined;
34
- perPage?: number | undefined;
35
- clientId?: number | undefined;
36
- invoiceId?: number | undefined;
37
- dateFrom?: string | undefined;
38
- dateTo?: string | undefined;
39
- }>;
23
+ }, z.core.$strip>;
40
24
  outputSchema: z.ZodObject<{
41
25
  payments: z.ZodArray<z.ZodObject<{
42
26
  id: z.ZodNumber;
@@ -45,18 +29,25 @@ export declare const paymentListTool: {
45
29
  amount: z.ZodObject<{
46
30
  amount: z.ZodString;
47
31
  code: z.ZodString;
48
- }, "strip", z.ZodTypeAny, {
49
- code: string;
50
- amount: string;
51
- }, {
52
- code: string;
53
- amount: string;
54
- }>;
32
+ }, z.core.$strip>;
55
33
  date: z.ZodString;
56
- type: z.ZodEnum<["Check", "Credit", "Cash", "Bank Transfer", "Debit", "PayPal", "Credit Card", "Other", "2Checkout", "Stripe", "ACH", "Wire Transfer"]>;
34
+ type: z.ZodEnum<{
35
+ Check: "Check";
36
+ Credit: "Credit";
37
+ Cash: "Cash";
38
+ "Bank Transfer": "Bank Transfer";
39
+ Debit: "Debit";
40
+ PayPal: "PayPal";
41
+ "Credit Card": "Credit Card";
42
+ Other: "Other";
43
+ "2Checkout": "2Checkout";
44
+ Stripe: "Stripe";
45
+ ACH: "ACH";
46
+ "Wire Transfer": "Wire Transfer";
47
+ }>;
57
48
  note: z.ZodNullable<z.ZodString>;
58
49
  clientId: z.ZodNumber;
59
- visState: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
50
+ visState: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
60
51
  logId: z.ZodOptional<z.ZodNumber>;
61
52
  updated: z.ZodOptional<z.ZodString>;
62
53
  creditId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -64,120 +55,14 @@ export declare const paymentListTool: {
64
55
  gateway: z.ZodOptional<z.ZodNullable<z.ZodString>>;
65
56
  fromCredit: z.ZodOptional<z.ZodBoolean>;
66
57
  sendEmailReceipt: z.ZodOptional<z.ZodBoolean>;
67
- }, "strip", z.ZodTypeAny, {
68
- accountId: string;
69
- date: string;
70
- type: "Check" | "Credit" | "Cash" | "Bank Transfer" | "Debit" | "PayPal" | "Credit Card" | "Other" | "2Checkout" | "Stripe" | "ACH" | "Wire Transfer";
71
- amount: {
72
- code: string;
73
- amount: string;
74
- };
75
- id: number;
76
- clientId: number;
77
- note: string | null;
78
- invoiceId: number;
79
- visState?: 0 | 1 | 2 | undefined;
80
- updated?: string | undefined;
81
- logId?: number | undefined;
82
- creditId?: number | null | undefined;
83
- overpaymentId?: number | null | undefined;
84
- gateway?: string | null | undefined;
85
- fromCredit?: boolean | undefined;
86
- sendEmailReceipt?: boolean | undefined;
87
- }, {
88
- accountId: string;
89
- date: string;
90
- type: "Check" | "Credit" | "Cash" | "Bank Transfer" | "Debit" | "PayPal" | "Credit Card" | "Other" | "2Checkout" | "Stripe" | "ACH" | "Wire Transfer";
91
- amount: {
92
- code: string;
93
- amount: string;
94
- };
95
- id: number;
96
- clientId: number;
97
- note: string | null;
98
- invoiceId: number;
99
- visState?: 0 | 1 | 2 | undefined;
100
- updated?: string | undefined;
101
- logId?: number | undefined;
102
- creditId?: number | null | undefined;
103
- overpaymentId?: number | null | undefined;
104
- gateway?: string | null | undefined;
105
- fromCredit?: boolean | undefined;
106
- sendEmailReceipt?: boolean | undefined;
107
- }>, "many">;
58
+ }, z.core.$strip>>;
108
59
  pagination: z.ZodObject<{
109
60
  page: z.ZodNumber;
110
61
  pages: z.ZodNumber;
111
62
  perPage: z.ZodNumber;
112
63
  total: z.ZodNumber;
113
- }, "strip", z.ZodTypeAny, {
114
- page: number;
115
- perPage: number;
116
- pages: number;
117
- total: number;
118
- }, {
119
- page: number;
120
- perPage: number;
121
- pages: number;
122
- total: number;
123
- }>;
124
- }, "strip", z.ZodTypeAny, {
125
- pagination: {
126
- page: number;
127
- perPage: number;
128
- pages: number;
129
- total: number;
130
- };
131
- payments: {
132
- accountId: string;
133
- date: string;
134
- type: "Check" | "Credit" | "Cash" | "Bank Transfer" | "Debit" | "PayPal" | "Credit Card" | "Other" | "2Checkout" | "Stripe" | "ACH" | "Wire Transfer";
135
- amount: {
136
- code: string;
137
- amount: string;
138
- };
139
- id: number;
140
- clientId: number;
141
- note: string | null;
142
- invoiceId: number;
143
- visState?: 0 | 1 | 2 | undefined;
144
- updated?: string | undefined;
145
- logId?: number | undefined;
146
- creditId?: number | null | undefined;
147
- overpaymentId?: number | null | undefined;
148
- gateway?: string | null | undefined;
149
- fromCredit?: boolean | undefined;
150
- sendEmailReceipt?: boolean | undefined;
151
- }[];
152
- }, {
153
- pagination: {
154
- page: number;
155
- perPage: number;
156
- pages: number;
157
- total: number;
158
- };
159
- payments: {
160
- accountId: string;
161
- date: string;
162
- type: "Check" | "Credit" | "Cash" | "Bank Transfer" | "Debit" | "PayPal" | "Credit Card" | "Other" | "2Checkout" | "Stripe" | "ACH" | "Wire Transfer";
163
- amount: {
164
- code: string;
165
- amount: string;
166
- };
167
- id: number;
168
- clientId: number;
169
- note: string | null;
170
- invoiceId: number;
171
- visState?: 0 | 1 | 2 | undefined;
172
- updated?: string | undefined;
173
- logId?: number | undefined;
174
- creditId?: number | null | undefined;
175
- overpaymentId?: number | null | undefined;
176
- gateway?: string | null | undefined;
177
- fromCredit?: boolean | undefined;
178
- sendEmailReceipt?: boolean | undefined;
179
- }[];
180
- }>;
64
+ }, z.core.$strip>;
65
+ }, z.core.$strip>;
181
66
  /**
182
67
  * Execute the tool
183
68
  */
@@ -1 +1 @@
1
- {"version":3,"file":"payment-list.d.ts","sourceRoot":"","sources":["../../../src/tools/payment/payment-list.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,sBAAsB,EAAE,uBAAuB,EAAE,MAAM,cAAc,CAAC;AAC/E,OAAO,EAAE,uBAAuB,EAAE,MAAM,uBAAuB,CAAC;AAKhE;;GAEG;AACH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAkC1B;;OAEG;mBAEM,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,UACrC,uBAAuB,GAC9B,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;CA6FpD,CAAC"}
1
+ {"version":3,"file":"payment-list.d.ts","sourceRoot":"","sources":["../../../src/tools/payment/payment-list.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,sBAAsB,EAAE,uBAAuB,EAAE,MAAM,cAAc,CAAC;AAC/E,OAAO,EAAE,uBAAuB,EAAE,MAAM,uBAAuB,CAAC;AAKhE;;GAEG;AACH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAkC1B;;OAEG;mBAEM,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,UACrC,uBAAuB,GAC9B,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;CA6FpD,CAAC"}
@@ -15,13 +15,7 @@ export declare const paymentSingleTool: {
15
15
  inputSchema: z.ZodObject<{
16
16
  accountId: z.ZodString;
17
17
  paymentId: z.ZodNumber;
18
- }, "strip", z.ZodTypeAny, {
19
- accountId: string;
20
- paymentId: number;
21
- }, {
22
- accountId: string;
23
- paymentId: number;
24
- }>;
18
+ }, z.core.$strip>;
25
19
  outputSchema: z.ZodObject<{
26
20
  id: z.ZodNumber;
27
21
  invoiceId: z.ZodNumber;
@@ -29,18 +23,25 @@ export declare const paymentSingleTool: {
29
23
  amount: z.ZodObject<{
30
24
  amount: z.ZodString;
31
25
  code: z.ZodString;
32
- }, "strip", z.ZodTypeAny, {
33
- code: string;
34
- amount: string;
35
- }, {
36
- code: string;
37
- amount: string;
38
- }>;
26
+ }, z.core.$strip>;
39
27
  date: z.ZodString;
40
- type: z.ZodEnum<["Check", "Credit", "Cash", "Bank Transfer", "Debit", "PayPal", "Credit Card", "Other", "2Checkout", "Stripe", "ACH", "Wire Transfer"]>;
28
+ type: z.ZodEnum<{
29
+ Check: "Check";
30
+ Credit: "Credit";
31
+ Cash: "Cash";
32
+ "Bank Transfer": "Bank Transfer";
33
+ Debit: "Debit";
34
+ PayPal: "PayPal";
35
+ "Credit Card": "Credit Card";
36
+ Other: "Other";
37
+ "2Checkout": "2Checkout";
38
+ Stripe: "Stripe";
39
+ ACH: "ACH";
40
+ "Wire Transfer": "Wire Transfer";
41
+ }>;
41
42
  note: z.ZodNullable<z.ZodString>;
42
43
  clientId: z.ZodNumber;
43
- visState: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
44
+ visState: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
44
45
  logId: z.ZodOptional<z.ZodNumber>;
45
46
  updated: z.ZodOptional<z.ZodString>;
46
47
  creditId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -48,47 +49,7 @@ export declare const paymentSingleTool: {
48
49
  gateway: z.ZodOptional<z.ZodNullable<z.ZodString>>;
49
50
  fromCredit: z.ZodOptional<z.ZodBoolean>;
50
51
  sendEmailReceipt: z.ZodOptional<z.ZodBoolean>;
51
- }, "strip", z.ZodTypeAny, {
52
- accountId: string;
53
- date: string;
54
- type: "Check" | "Credit" | "Cash" | "Bank Transfer" | "Debit" | "PayPal" | "Credit Card" | "Other" | "2Checkout" | "Stripe" | "ACH" | "Wire Transfer";
55
- amount: {
56
- code: string;
57
- amount: string;
58
- };
59
- id: number;
60
- clientId: number;
61
- note: string | null;
62
- invoiceId: number;
63
- visState?: 0 | 1 | 2 | undefined;
64
- updated?: string | undefined;
65
- logId?: number | undefined;
66
- creditId?: number | null | undefined;
67
- overpaymentId?: number | null | undefined;
68
- gateway?: string | null | undefined;
69
- fromCredit?: boolean | undefined;
70
- sendEmailReceipt?: boolean | undefined;
71
- }, {
72
- accountId: string;
73
- date: string;
74
- type: "Check" | "Credit" | "Cash" | "Bank Transfer" | "Debit" | "PayPal" | "Credit Card" | "Other" | "2Checkout" | "Stripe" | "ACH" | "Wire Transfer";
75
- amount: {
76
- code: string;
77
- amount: string;
78
- };
79
- id: number;
80
- clientId: number;
81
- note: string | null;
82
- invoiceId: number;
83
- visState?: 0 | 1 | 2 | undefined;
84
- updated?: string | undefined;
85
- logId?: number | undefined;
86
- creditId?: number | null | undefined;
87
- overpaymentId?: number | null | undefined;
88
- gateway?: string | null | undefined;
89
- fromCredit?: boolean | undefined;
90
- sendEmailReceipt?: boolean | undefined;
91
- }>;
52
+ }, z.core.$strip>;
92
53
  /**
93
54
  * Execute the tool
94
55
  */
@@ -1 +1 @@
1
- {"version":3,"file":"payment-single.d.ts","sourceRoot":"","sources":["../../../src/tools/payment/payment-single.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,wBAAwB,EAAE,yBAAyB,EAAE,MAAM,cAAc,CAAC;AACnF,OAAO,EAAE,uBAAuB,EAAE,MAAM,uBAAuB,CAAC;AAKhE;;GAEG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAyB5B;;OAEG;mBAEM,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,UACvC,uBAAuB,GAC9B,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;CAwCtD,CAAC"}
1
+ {"version":3,"file":"payment-single.d.ts","sourceRoot":"","sources":["../../../src/tools/payment/payment-single.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,wBAAwB,EAAE,yBAAyB,EAAE,MAAM,cAAc,CAAC;AACnF,OAAO,EAAE,uBAAuB,EAAE,MAAM,uBAAuB,CAAC;AAKhE;;GAEG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAyB5B;;OAEG;mBAEM,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,UACvC,uBAAuB,GAC9B,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;CAwCtD,CAAC"}
@@ -18,37 +18,24 @@ export declare const paymentUpdateTool: {
18
18
  amount: z.ZodOptional<z.ZodObject<{
19
19
  amount: z.ZodString;
20
20
  code: z.ZodString;
21
- }, "strip", z.ZodTypeAny, {
22
- code: string;
23
- amount: string;
24
- }, {
25
- code: string;
26
- amount: string;
27
- }>>;
21
+ }, z.core.$strip>>;
28
22
  date: z.ZodOptional<z.ZodString>;
29
- type: z.ZodOptional<z.ZodEnum<["Check", "Credit", "Cash", "Bank Transfer", "Debit", "PayPal", "Credit Card", "Other", "2Checkout", "Stripe", "ACH", "Wire Transfer"]>>;
23
+ type: z.ZodOptional<z.ZodEnum<{
24
+ Check: "Check";
25
+ Credit: "Credit";
26
+ Cash: "Cash";
27
+ "Bank Transfer": "Bank Transfer";
28
+ Debit: "Debit";
29
+ PayPal: "PayPal";
30
+ "Credit Card": "Credit Card";
31
+ Other: "Other";
32
+ "2Checkout": "2Checkout";
33
+ Stripe: "Stripe";
34
+ ACH: "ACH";
35
+ "Wire Transfer": "Wire Transfer";
36
+ }>>;
30
37
  note: z.ZodOptional<z.ZodString>;
31
- }, "strip", z.ZodTypeAny, {
32
- accountId: string;
33
- paymentId: number;
34
- date?: string | undefined;
35
- type?: "Check" | "Credit" | "Cash" | "Bank Transfer" | "Debit" | "PayPal" | "Credit Card" | "Other" | "2Checkout" | "Stripe" | "ACH" | "Wire Transfer" | undefined;
36
- amount?: {
37
- code: string;
38
- amount: string;
39
- } | undefined;
40
- note?: string | undefined;
41
- }, {
42
- accountId: string;
43
- paymentId: number;
44
- date?: string | undefined;
45
- type?: "Check" | "Credit" | "Cash" | "Bank Transfer" | "Debit" | "PayPal" | "Credit Card" | "Other" | "2Checkout" | "Stripe" | "ACH" | "Wire Transfer" | undefined;
46
- amount?: {
47
- code: string;
48
- amount: string;
49
- } | undefined;
50
- note?: string | undefined;
51
- }>;
38
+ }, z.core.$strip>;
52
39
  outputSchema: z.ZodObject<{
53
40
  id: z.ZodNumber;
54
41
  invoiceId: z.ZodNumber;
@@ -56,18 +43,25 @@ export declare const paymentUpdateTool: {
56
43
  amount: z.ZodObject<{
57
44
  amount: z.ZodString;
58
45
  code: z.ZodString;
59
- }, "strip", z.ZodTypeAny, {
60
- code: string;
61
- amount: string;
62
- }, {
63
- code: string;
64
- amount: string;
65
- }>;
46
+ }, z.core.$strip>;
66
47
  date: z.ZodString;
67
- type: z.ZodEnum<["Check", "Credit", "Cash", "Bank Transfer", "Debit", "PayPal", "Credit Card", "Other", "2Checkout", "Stripe", "ACH", "Wire Transfer"]>;
48
+ type: z.ZodEnum<{
49
+ Check: "Check";
50
+ Credit: "Credit";
51
+ Cash: "Cash";
52
+ "Bank Transfer": "Bank Transfer";
53
+ Debit: "Debit";
54
+ PayPal: "PayPal";
55
+ "Credit Card": "Credit Card";
56
+ Other: "Other";
57
+ "2Checkout": "2Checkout";
58
+ Stripe: "Stripe";
59
+ ACH: "ACH";
60
+ "Wire Transfer": "Wire Transfer";
61
+ }>;
68
62
  note: z.ZodNullable<z.ZodString>;
69
63
  clientId: z.ZodNumber;
70
- visState: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
64
+ visState: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
71
65
  logId: z.ZodOptional<z.ZodNumber>;
72
66
  updated: z.ZodOptional<z.ZodString>;
73
67
  creditId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -75,47 +69,7 @@ export declare const paymentUpdateTool: {
75
69
  gateway: z.ZodOptional<z.ZodNullable<z.ZodString>>;
76
70
  fromCredit: z.ZodOptional<z.ZodBoolean>;
77
71
  sendEmailReceipt: z.ZodOptional<z.ZodBoolean>;
78
- }, "strip", z.ZodTypeAny, {
79
- accountId: string;
80
- date: string;
81
- type: "Check" | "Credit" | "Cash" | "Bank Transfer" | "Debit" | "PayPal" | "Credit Card" | "Other" | "2Checkout" | "Stripe" | "ACH" | "Wire Transfer";
82
- amount: {
83
- code: string;
84
- amount: string;
85
- };
86
- id: number;
87
- clientId: number;
88
- note: string | null;
89
- invoiceId: number;
90
- visState?: 0 | 1 | 2 | undefined;
91
- updated?: string | undefined;
92
- logId?: number | undefined;
93
- creditId?: number | null | undefined;
94
- overpaymentId?: number | null | undefined;
95
- gateway?: string | null | undefined;
96
- fromCredit?: boolean | undefined;
97
- sendEmailReceipt?: boolean | undefined;
98
- }, {
99
- accountId: string;
100
- date: string;
101
- type: "Check" | "Credit" | "Cash" | "Bank Transfer" | "Debit" | "PayPal" | "Credit Card" | "Other" | "2Checkout" | "Stripe" | "ACH" | "Wire Transfer";
102
- amount: {
103
- code: string;
104
- amount: string;
105
- };
106
- id: number;
107
- clientId: number;
108
- note: string | null;
109
- invoiceId: number;
110
- visState?: 0 | 1 | 2 | undefined;
111
- updated?: string | undefined;
112
- logId?: number | undefined;
113
- creditId?: number | null | undefined;
114
- overpaymentId?: number | null | undefined;
115
- gateway?: string | null | undefined;
116
- fromCredit?: boolean | undefined;
117
- sendEmailReceipt?: boolean | undefined;
118
- }>;
72
+ }, z.core.$strip>;
119
73
  /**
120
74
  * Execute the tool
121
75
  */
@@ -1 +1 @@
1
- {"version":3,"file":"payment-update.d.ts","sourceRoot":"","sources":["../../../src/tools/payment/payment-update.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,wBAAwB,EAAE,yBAAyB,EAAE,MAAM,cAAc,CAAC;AACnF,OAAO,EAAE,uBAAuB,EAAE,MAAM,uBAAuB,CAAC;AAKhE;;GAEG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA+B5B;;OAEG;mBAEM,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,UACvC,uBAAuB,GAC9B,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;CAiDtD,CAAC"}
1
+ {"version":3,"file":"payment-update.d.ts","sourceRoot":"","sources":["../../../src/tools/payment/payment-update.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,wBAAwB,EAAE,yBAAyB,EAAE,MAAM,cAAc,CAAC;AACnF,OAAO,EAAE,uBAAuB,EAAE,MAAM,uBAAuB,CAAC;AAKhE;;GAEG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA+B5B;;OAEG;mBAEM,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,UACvC,uBAAuB,GAC9B,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;CAiDtD,CAAC"}