@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
@@ -12,17 +12,7 @@ export declare const JournalEntryDetailSchema: z.ZodObject<{
12
12
  debit: z.ZodOptional<z.ZodString>;
13
13
  credit: z.ZodOptional<z.ZodString>;
14
14
  description: z.ZodOptional<z.ZodString>;
15
- }, "strip", z.ZodTypeAny, {
16
- subAccountId: number;
17
- description?: string | undefined;
18
- credit?: string | undefined;
19
- debit?: string | undefined;
20
- }, {
21
- subAccountId: number;
22
- description?: string | undefined;
23
- credit?: string | undefined;
24
- debit?: string | undefined;
25
- }>;
15
+ }, z.core.$strip>;
26
16
  /**
27
17
  * Full JournalEntry schema with all properties
28
18
  */
@@ -36,46 +26,10 @@ export declare const JournalEntrySchema: z.ZodObject<{
36
26
  debit: z.ZodOptional<z.ZodString>;
37
27
  credit: z.ZodOptional<z.ZodString>;
38
28
  description: z.ZodOptional<z.ZodString>;
39
- }, "strip", z.ZodTypeAny, {
40
- subAccountId: number;
41
- description?: string | undefined;
42
- credit?: string | undefined;
43
- debit?: string | undefined;
44
- }, {
45
- subAccountId: number;
46
- description?: string | undefined;
47
- credit?: string | undefined;
48
- debit?: string | undefined;
49
- }>, "many">;
29
+ }, z.core.$strip>>;
50
30
  currencyCode: z.ZodOptional<z.ZodString>;
51
31
  createdAt: z.ZodOptional<z.ZodString>;
52
- }, "strip", z.ZodTypeAny, {
53
- date: string;
54
- name: string;
55
- details: {
56
- subAccountId: number;
57
- description?: string | undefined;
58
- credit?: string | undefined;
59
- debit?: string | undefined;
60
- }[];
61
- id?: number | undefined;
62
- createdAt?: string | undefined;
63
- description?: string | undefined;
64
- currencyCode?: string | undefined;
65
- }, {
66
- date: string;
67
- name: string;
68
- details: {
69
- subAccountId: number;
70
- description?: string | undefined;
71
- credit?: string | undefined;
72
- debit?: string | undefined;
73
- }[];
74
- id?: number | undefined;
75
- createdAt?: string | undefined;
76
- description?: string | undefined;
77
- currencyCode?: string | undefined;
78
- }>;
32
+ }, z.core.$strip>;
79
33
  /**
80
34
  * Input schema for creating a journal entry
81
35
  */
@@ -90,42 +44,8 @@ export declare const JournalEntryCreateInputSchema: z.ZodObject<{
90
44
  debit: z.ZodOptional<z.ZodString>;
91
45
  credit: z.ZodOptional<z.ZodString>;
92
46
  description: z.ZodOptional<z.ZodString>;
93
- }, "strip", z.ZodTypeAny, {
94
- subAccountId: number;
95
- description?: string | undefined;
96
- credit?: string | undefined;
97
- debit?: string | undefined;
98
- }, {
99
- subAccountId: number;
100
- description?: string | undefined;
101
- credit?: string | undefined;
102
- debit?: string | undefined;
103
- }>, "many">;
104
- }, "strip", z.ZodTypeAny, {
105
- accountId: string;
106
- date: string;
107
- name: string;
108
- details: {
109
- subAccountId: number;
110
- description?: string | undefined;
111
- credit?: string | undefined;
112
- debit?: string | undefined;
113
- }[];
114
- description?: string | undefined;
115
- currencyCode?: string | undefined;
116
- }, {
117
- accountId: string;
118
- date: string;
119
- name: string;
120
- details: {
121
- subAccountId: number;
122
- description?: string | undefined;
123
- credit?: string | undefined;
124
- debit?: string | undefined;
125
- }[];
126
- description?: string | undefined;
127
- currencyCode?: string | undefined;
128
- }>;
47
+ }, z.core.$strip>>;
48
+ }, z.core.$strip>;
129
49
  /**
130
50
  * Output schema for journal entry creation
131
51
  */
@@ -139,44 +59,8 @@ export declare const JournalEntryCreateOutputSchema: z.ZodObject<{
139
59
  debit: z.ZodOptional<z.ZodString>;
140
60
  credit: z.ZodOptional<z.ZodString>;
141
61
  description: z.ZodOptional<z.ZodString>;
142
- }, "strip", z.ZodTypeAny, {
143
- subAccountId: number;
144
- description?: string | undefined;
145
- credit?: string | undefined;
146
- debit?: string | undefined;
147
- }, {
148
- subAccountId: number;
149
- description?: string | undefined;
150
- credit?: string | undefined;
151
- debit?: string | undefined;
152
- }>, "many">;
62
+ }, z.core.$strip>>;
153
63
  currencyCode: z.ZodOptional<z.ZodString>;
154
64
  createdAt: z.ZodOptional<z.ZodString>;
155
- }, "strip", z.ZodTypeAny, {
156
- date: string;
157
- name: string;
158
- details: {
159
- subAccountId: number;
160
- description?: string | undefined;
161
- credit?: string | undefined;
162
- debit?: string | undefined;
163
- }[];
164
- id?: number | undefined;
165
- createdAt?: string | undefined;
166
- description?: string | undefined;
167
- currencyCode?: string | undefined;
168
- }, {
169
- date: string;
170
- name: string;
171
- details: {
172
- subAccountId: number;
173
- description?: string | undefined;
174
- credit?: string | undefined;
175
- debit?: string | undefined;
176
- }[];
177
- id?: number | undefined;
178
- createdAt?: string | undefined;
179
- description?: string | undefined;
180
- currencyCode?: string | undefined;
181
- }>;
65
+ }, z.core.$strip>;
182
66
  //# sourceMappingURL=schemas.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../../../src/tools/journal-entry/schemas.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;GAEG;AACH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;EAKnC,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAQ7B,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAOxC,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAqB,CAAC"}
1
+ {"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../../../src/tools/journal-entry/schemas.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;GAEG;AACH,eAAO,MAAM,wBAAwB;;;;;iBAKnC,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;iBAQ7B,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,6BAA6B;;;;;;;;;;;;iBAOxC,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;iBAAqB,CAAC"}
@@ -16,18 +16,14 @@ export declare const journalEntryAccountListTool: {
16
16
  accountId: z.ZodString;
17
17
  page: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
18
18
  perPage: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
19
- accountType: z.ZodOptional<z.ZodEnum<["asset", "liability", "equity", "revenue", "expense"]>>;
20
- }, "strip", z.ZodTypeAny, {
21
- accountId: string;
22
- page?: number | undefined;
23
- perPage?: number | undefined;
24
- accountType?: "asset" | "liability" | "equity" | "revenue" | "expense" | undefined;
25
- }, {
26
- accountId: string;
27
- page?: number | undefined;
28
- perPage?: number | undefined;
29
- accountType?: "asset" | "liability" | "equity" | "revenue" | "expense" | undefined;
30
- }>;
19
+ accountType: z.ZodOptional<z.ZodEnum<{
20
+ asset: "asset";
21
+ liability: "liability";
22
+ equity: "equity";
23
+ revenue: "revenue";
24
+ expense: "expense";
25
+ }>>;
26
+ }, z.core.$strip>;
31
27
  outputSchema: z.ZodObject<{
32
28
  accounts: z.ZodArray<z.ZodObject<{
33
29
  id: z.ZodNumber;
@@ -43,148 +39,18 @@ export declare const journalEntryAccountListTool: {
43
39
  balance: z.ZodOptional<z.ZodObject<{
44
40
  amount: z.ZodString;
45
41
  code: z.ZodString;
46
- }, "strip", z.ZodTypeAny, {
47
- code: string;
48
- amount: string;
49
- }, {
50
- code: string;
51
- amount: string;
52
- }>>;
42
+ }, z.core.$strip>>;
53
43
  customName: z.ZodOptional<z.ZodString>;
54
44
  subName: z.ZodOptional<z.ZodString>;
55
- }, "strip", z.ZodTypeAny, {
56
- accountId: number;
57
- id: number;
58
- name: string;
59
- accountType: string;
60
- description?: string | undefined;
61
- accountNumber?: string | undefined;
62
- balance?: {
63
- code: string;
64
- amount: string;
65
- } | undefined;
66
- customName?: string | undefined;
67
- subName?: string | undefined;
68
- }, {
69
- accountId: number;
70
- id: number;
71
- name: string;
72
- accountType: string;
73
- description?: string | undefined;
74
- accountNumber?: string | undefined;
75
- balance?: {
76
- code: string;
77
- amount: string;
78
- } | undefined;
79
- customName?: string | undefined;
80
- subName?: string | undefined;
81
- }>, "many">;
82
- }, "strip", z.ZodTypeAny, {
83
- id: number;
84
- name: string;
85
- accountType: string;
86
- subAccounts: {
87
- accountId: number;
88
- id: number;
89
- name: string;
90
- accountType: string;
91
- description?: string | undefined;
92
- accountNumber?: string | undefined;
93
- balance?: {
94
- code: string;
95
- amount: string;
96
- } | undefined;
97
- customName?: string | undefined;
98
- subName?: string | undefined;
99
- }[];
100
- }, {
101
- id: number;
102
- name: string;
103
- accountType: string;
104
- subAccounts: {
105
- accountId: number;
106
- id: number;
107
- name: string;
108
- accountType: string;
109
- description?: string | undefined;
110
- accountNumber?: string | undefined;
111
- balance?: {
112
- code: string;
113
- amount: string;
114
- } | undefined;
115
- customName?: string | undefined;
116
- subName?: string | undefined;
117
- }[];
118
- }>, "many">;
45
+ }, z.core.$strip>>;
46
+ }, z.core.$strip>>;
119
47
  pagination: z.ZodObject<{
120
48
  page: z.ZodNumber;
121
49
  pages: z.ZodNumber;
122
50
  perPage: z.ZodNumber;
123
51
  total: z.ZodNumber;
124
- }, "strip", z.ZodTypeAny, {
125
- page: number;
126
- perPage: number;
127
- pages: number;
128
- total: number;
129
- }, {
130
- page: number;
131
- perPage: number;
132
- pages: number;
133
- total: number;
134
- }>;
135
- }, "strip", z.ZodTypeAny, {
136
- pagination: {
137
- page: number;
138
- perPage: number;
139
- pages: number;
140
- total: number;
141
- };
142
- accounts: {
143
- id: number;
144
- name: string;
145
- accountType: string;
146
- subAccounts: {
147
- accountId: number;
148
- id: number;
149
- name: string;
150
- accountType: string;
151
- description?: string | undefined;
152
- accountNumber?: string | undefined;
153
- balance?: {
154
- code: string;
155
- amount: string;
156
- } | undefined;
157
- customName?: string | undefined;
158
- subName?: string | undefined;
159
- }[];
160
- }[];
161
- }, {
162
- pagination: {
163
- page: number;
164
- perPage: number;
165
- pages: number;
166
- total: number;
167
- };
168
- accounts: {
169
- id: number;
170
- name: string;
171
- accountType: string;
172
- subAccounts: {
173
- accountId: number;
174
- id: number;
175
- name: string;
176
- accountType: string;
177
- description?: string | undefined;
178
- accountNumber?: string | undefined;
179
- balance?: {
180
- code: string;
181
- amount: string;
182
- } | undefined;
183
- customName?: string | undefined;
184
- subName?: string | undefined;
185
- }[];
186
- }[];
187
- }>;
52
+ }, z.core.$strip>;
53
+ }, z.core.$strip>;
188
54
  execute(input: z.infer<typeof JournalEntryAccountListInputSchema>, client: FreshBooksClientWrapper): Promise<z.infer<typeof JournalEntryAccountListOutputSchema>>;
189
55
  };
190
56
  //# sourceMappingURL=journalentryaccount-list.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"journalentryaccount-list.d.ts","sourceRoot":"","sources":["../../../src/tools/journal-entry-account/journalentryaccount-list.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,kCAAkC,EAAE,mCAAmC,EAAE,MAAM,cAAc,CAAC;AAGvG,OAAO,EAAE,uBAAuB,EAAE,MAAM,uBAAuB,CAAC;AAEhE;;GAEG;AACH,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBA6C7B,CAAC,CAAC,KAAK,CAAC,OAAO,kCAAkC,CAAC,UACjD,uBAAuB,GAC9B,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,mCAAmC,CAAC,CAAC;CA6DhE,CAAC"}
1
+ {"version":3,"file":"journalentryaccount-list.d.ts","sourceRoot":"","sources":["../../../src/tools/journal-entry-account/journalentryaccount-list.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,kCAAkC,EAAE,mCAAmC,EAAE,MAAM,cAAc,CAAC;AAGvG,OAAO,EAAE,uBAAuB,EAAE,MAAM,uBAAuB,CAAC;AAEhE;;GAEG;AACH,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBA6C7B,CAAC,CAAC,KAAK,CAAC,OAAO,kCAAkC,CAAC,UACjD,uBAAuB,GAC9B,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,mCAAmC,CAAC,CAAC;CA6DhE,CAAC"}
@@ -17,42 +17,10 @@ export declare const SubAccountSchema: z.ZodObject<{
17
17
  balance: z.ZodOptional<z.ZodObject<{
18
18
  amount: z.ZodString;
19
19
  code: z.ZodString;
20
- }, "strip", z.ZodTypeAny, {
21
- code: string;
22
- amount: string;
23
- }, {
24
- code: string;
25
- amount: string;
26
- }>>;
20
+ }, z.core.$strip>>;
27
21
  customName: z.ZodOptional<z.ZodString>;
28
22
  subName: z.ZodOptional<z.ZodString>;
29
- }, "strip", z.ZodTypeAny, {
30
- accountId: number;
31
- id: number;
32
- name: string;
33
- accountType: string;
34
- description?: string | undefined;
35
- accountNumber?: string | undefined;
36
- balance?: {
37
- code: string;
38
- amount: string;
39
- } | undefined;
40
- customName?: string | undefined;
41
- subName?: string | undefined;
42
- }, {
43
- accountId: number;
44
- id: number;
45
- name: string;
46
- accountType: string;
47
- description?: string | undefined;
48
- accountNumber?: string | undefined;
49
- balance?: {
50
- code: string;
51
- amount: string;
52
- } | undefined;
53
- customName?: string | undefined;
54
- subName?: string | undefined;
55
- }>;
23
+ }, z.core.$strip>;
56
24
  /**
57
25
  * Full JournalEntryAccount (chart of accounts) schema
58
26
  */
@@ -70,79 +38,11 @@ export declare const JournalEntryAccountSchema: z.ZodObject<{
70
38
  balance: z.ZodOptional<z.ZodObject<{
71
39
  amount: z.ZodString;
72
40
  code: z.ZodString;
73
- }, "strip", z.ZodTypeAny, {
74
- code: string;
75
- amount: string;
76
- }, {
77
- code: string;
78
- amount: string;
79
- }>>;
41
+ }, z.core.$strip>>;
80
42
  customName: z.ZodOptional<z.ZodString>;
81
43
  subName: z.ZodOptional<z.ZodString>;
82
- }, "strip", z.ZodTypeAny, {
83
- accountId: number;
84
- id: number;
85
- name: string;
86
- accountType: string;
87
- description?: string | undefined;
88
- accountNumber?: string | undefined;
89
- balance?: {
90
- code: string;
91
- amount: string;
92
- } | undefined;
93
- customName?: string | undefined;
94
- subName?: string | undefined;
95
- }, {
96
- accountId: number;
97
- id: number;
98
- name: string;
99
- accountType: string;
100
- description?: string | undefined;
101
- accountNumber?: string | undefined;
102
- balance?: {
103
- code: string;
104
- amount: string;
105
- } | undefined;
106
- customName?: string | undefined;
107
- subName?: string | undefined;
108
- }>, "many">;
109
- }, "strip", z.ZodTypeAny, {
110
- id: number;
111
- name: string;
112
- accountType: string;
113
- subAccounts: {
114
- accountId: number;
115
- id: number;
116
- name: string;
117
- accountType: string;
118
- description?: string | undefined;
119
- accountNumber?: string | undefined;
120
- balance?: {
121
- code: string;
122
- amount: string;
123
- } | undefined;
124
- customName?: string | undefined;
125
- subName?: string | undefined;
126
- }[];
127
- }, {
128
- id: number;
129
- name: string;
130
- accountType: string;
131
- subAccounts: {
132
- accountId: number;
133
- id: number;
134
- name: string;
135
- accountType: string;
136
- description?: string | undefined;
137
- accountNumber?: string | undefined;
138
- balance?: {
139
- code: string;
140
- amount: string;
141
- } | undefined;
142
- customName?: string | undefined;
143
- subName?: string | undefined;
144
- }[];
145
- }>;
44
+ }, z.core.$strip>>;
45
+ }, z.core.$strip>;
146
46
  /**
147
47
  * Input schema for listing journal entry accounts
148
48
  */
@@ -150,18 +50,14 @@ export declare const JournalEntryAccountListInputSchema: z.ZodObject<{
150
50
  accountId: z.ZodString;
151
51
  page: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
152
52
  perPage: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
153
- accountType: z.ZodOptional<z.ZodEnum<["asset", "liability", "equity", "revenue", "expense"]>>;
154
- }, "strip", z.ZodTypeAny, {
155
- accountId: string;
156
- page?: number | undefined;
157
- perPage?: number | undefined;
158
- accountType?: "asset" | "liability" | "equity" | "revenue" | "expense" | undefined;
159
- }, {
160
- accountId: string;
161
- page?: number | undefined;
162
- perPage?: number | undefined;
163
- accountType?: "asset" | "liability" | "equity" | "revenue" | "expense" | undefined;
164
- }>;
53
+ accountType: z.ZodOptional<z.ZodEnum<{
54
+ asset: "asset";
55
+ liability: "liability";
56
+ equity: "equity";
57
+ revenue: "revenue";
58
+ expense: "expense";
59
+ }>>;
60
+ }, z.core.$strip>;
165
61
  /**
166
62
  * Pagination metadata schema
167
63
  */
@@ -170,17 +66,7 @@ export declare const PaginationMetadataSchema: z.ZodObject<{
170
66
  pages: z.ZodNumber;
171
67
  perPage: z.ZodNumber;
172
68
  total: z.ZodNumber;
173
- }, "strip", z.ZodTypeAny, {
174
- page: number;
175
- perPage: number;
176
- pages: number;
177
- total: number;
178
- }, {
179
- page: number;
180
- perPage: number;
181
- pages: number;
182
- total: number;
183
- }>;
69
+ }, z.core.$strip>;
184
70
  /**
185
71
  * Output schema for journal entry account list
186
72
  */
@@ -199,146 +85,16 @@ export declare const JournalEntryAccountListOutputSchema: z.ZodObject<{
199
85
  balance: z.ZodOptional<z.ZodObject<{
200
86
  amount: z.ZodString;
201
87
  code: z.ZodString;
202
- }, "strip", z.ZodTypeAny, {
203
- code: string;
204
- amount: string;
205
- }, {
206
- code: string;
207
- amount: string;
208
- }>>;
88
+ }, z.core.$strip>>;
209
89
  customName: z.ZodOptional<z.ZodString>;
210
90
  subName: z.ZodOptional<z.ZodString>;
211
- }, "strip", z.ZodTypeAny, {
212
- accountId: number;
213
- id: number;
214
- name: string;
215
- accountType: string;
216
- description?: string | undefined;
217
- accountNumber?: string | undefined;
218
- balance?: {
219
- code: string;
220
- amount: string;
221
- } | undefined;
222
- customName?: string | undefined;
223
- subName?: string | undefined;
224
- }, {
225
- accountId: number;
226
- id: number;
227
- name: string;
228
- accountType: string;
229
- description?: string | undefined;
230
- accountNumber?: string | undefined;
231
- balance?: {
232
- code: string;
233
- amount: string;
234
- } | undefined;
235
- customName?: string | undefined;
236
- subName?: string | undefined;
237
- }>, "many">;
238
- }, "strip", z.ZodTypeAny, {
239
- id: number;
240
- name: string;
241
- accountType: string;
242
- subAccounts: {
243
- accountId: number;
244
- id: number;
245
- name: string;
246
- accountType: string;
247
- description?: string | undefined;
248
- accountNumber?: string | undefined;
249
- balance?: {
250
- code: string;
251
- amount: string;
252
- } | undefined;
253
- customName?: string | undefined;
254
- subName?: string | undefined;
255
- }[];
256
- }, {
257
- id: number;
258
- name: string;
259
- accountType: string;
260
- subAccounts: {
261
- accountId: number;
262
- id: number;
263
- name: string;
264
- accountType: string;
265
- description?: string | undefined;
266
- accountNumber?: string | undefined;
267
- balance?: {
268
- code: string;
269
- amount: string;
270
- } | undefined;
271
- customName?: string | undefined;
272
- subName?: string | undefined;
273
- }[];
274
- }>, "many">;
91
+ }, z.core.$strip>>;
92
+ }, z.core.$strip>>;
275
93
  pagination: z.ZodObject<{
276
94
  page: z.ZodNumber;
277
95
  pages: z.ZodNumber;
278
96
  perPage: z.ZodNumber;
279
97
  total: z.ZodNumber;
280
- }, "strip", z.ZodTypeAny, {
281
- page: number;
282
- perPage: number;
283
- pages: number;
284
- total: number;
285
- }, {
286
- page: number;
287
- perPage: number;
288
- pages: number;
289
- total: number;
290
- }>;
291
- }, "strip", z.ZodTypeAny, {
292
- pagination: {
293
- page: number;
294
- perPage: number;
295
- pages: number;
296
- total: number;
297
- };
298
- accounts: {
299
- id: number;
300
- name: string;
301
- accountType: string;
302
- subAccounts: {
303
- accountId: number;
304
- id: number;
305
- name: string;
306
- accountType: string;
307
- description?: string | undefined;
308
- accountNumber?: string | undefined;
309
- balance?: {
310
- code: string;
311
- amount: string;
312
- } | undefined;
313
- customName?: string | undefined;
314
- subName?: string | undefined;
315
- }[];
316
- }[];
317
- }, {
318
- pagination: {
319
- page: number;
320
- perPage: number;
321
- pages: number;
322
- total: number;
323
- };
324
- accounts: {
325
- id: number;
326
- name: string;
327
- accountType: string;
328
- subAccounts: {
329
- accountId: number;
330
- id: number;
331
- name: string;
332
- accountType: string;
333
- description?: string | undefined;
334
- accountNumber?: string | undefined;
335
- balance?: {
336
- code: string;
337
- amount: string;
338
- } | undefined;
339
- customName?: string | undefined;
340
- subName?: string | undefined;
341
- }[];
342
- }[];
343
- }>;
98
+ }, z.core.$strip>;
99
+ }, z.core.$strip>;
344
100
  //# sourceMappingURL=schemas.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../../../src/tools/journal-entry-account/schemas.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;GAEG;AACH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAa3B,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAKpC,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;;EAY7C,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;EAKnC,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,mCAAmC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAG9C,CAAC"}
1
+ {"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../../../src/tools/journal-entry-account/schemas.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;GAEG;AACH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;iBAa3B,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;iBAKpC,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,kCAAkC;;;;;;;;;;;iBAY7C,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,wBAAwB;;;;;iBAKnC,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,mCAAmC;;;;;;;;;;;;;;;;;;;;;;;;;;iBAG9C,CAAC"}