@goodsamsoftware/freshbooks-mcp 1.0.1 → 1.0.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 (198) hide show
  1. package/dist/auth/confirmation-store.d.ts +94 -0
  2. package/dist/auth/confirmation-store.d.ts.map +1 -0
  3. package/dist/auth/confirmation-store.js +126 -0
  4. package/dist/auth/confirmation-store.js.map +1 -0
  5. package/dist/auth/state-store.d.ts +96 -0
  6. package/dist/auth/state-store.d.ts.map +1 -0
  7. package/dist/auth/state-store.js +122 -0
  8. package/dist/auth/state-store.js.map +1 -0
  9. package/dist/auth/types.d.ts +1 -1
  10. package/dist/auth/types.d.ts.map +1 -1
  11. package/dist/auth/types.js.map +1 -1
  12. package/dist/config/environment.d.ts +25 -0
  13. package/dist/config/environment.d.ts.map +1 -0
  14. package/dist/config/environment.js +39 -0
  15. package/dist/config/environment.js.map +1 -0
  16. package/dist/errors/error-handler.d.ts.map +1 -1
  17. package/dist/errors/error-handler.js +18 -5
  18. package/dist/errors/error-handler.js.map +1 -1
  19. package/dist/errors/response-formatter.d.ts +3 -2
  20. package/dist/errors/response-formatter.d.ts.map +1 -1
  21. package/dist/errors/response-formatter.js +19 -2
  22. package/dist/errors/response-formatter.js.map +1 -1
  23. package/dist/server.js +85 -11
  24. package/dist/server.js.map +1 -1
  25. package/dist/tools/base-tool.d.ts +2 -2
  26. package/dist/tools/bill/bill-create.d.ts +4 -4
  27. package/dist/tools/bill/bill-delete.d.ts +6 -0
  28. package/dist/tools/bill/bill-delete.d.ts.map +1 -1
  29. package/dist/tools/bill/bill-list.d.ts +12 -12
  30. package/dist/tools/bill/bill-single.d.ts +4 -4
  31. package/dist/tools/bill/schemas.d.ts +28 -22
  32. package/dist/tools/bill/schemas.d.ts.map +1 -1
  33. package/dist/tools/bill/schemas.js +2 -0
  34. package/dist/tools/bill/schemas.js.map +1 -1
  35. package/dist/tools/bill-payment/billpayment-create.d.ts +4 -4
  36. package/dist/tools/bill-payment/billpayment-delete.d.ts +6 -0
  37. package/dist/tools/bill-payment/billpayment-delete.d.ts.map +1 -1
  38. package/dist/tools/bill-payment/billpayment-list.d.ts +12 -12
  39. package/dist/tools/bill-payment/billpayment-single.d.ts +4 -4
  40. package/dist/tools/bill-payment/billpayment-update.d.ts +4 -4
  41. package/dist/tools/bill-payment/schemas.d.ts +28 -22
  42. package/dist/tools/bill-payment/schemas.d.ts.map +1 -1
  43. package/dist/tools/bill-payment/schemas.js +2 -0
  44. package/dist/tools/bill-payment/schemas.js.map +1 -1
  45. package/dist/tools/bill-vendor/billvendor-create.d.ts +6 -6
  46. package/dist/tools/bill-vendor/billvendor-delete.d.ts +6 -0
  47. package/dist/tools/bill-vendor/billvendor-delete.d.ts.map +1 -1
  48. package/dist/tools/bill-vendor/billvendor-list.d.ts +14 -14
  49. package/dist/tools/bill-vendor/billvendor-single.d.ts +4 -4
  50. package/dist/tools/bill-vendor/billvendor-update.d.ts +6 -6
  51. package/dist/tools/bill-vendor/schemas.d.ts +34 -28
  52. package/dist/tools/bill-vendor/schemas.d.ts.map +1 -1
  53. package/dist/tools/bill-vendor/schemas.js +2 -0
  54. package/dist/tools/bill-vendor/schemas.js.map +1 -1
  55. package/dist/tools/callback/callback-create.d.ts +6 -6
  56. package/dist/tools/callback/callback-delete.d.ts +6 -0
  57. package/dist/tools/callback/callback-delete.d.ts.map +1 -1
  58. package/dist/tools/callback/callback-list.d.ts +12 -12
  59. package/dist/tools/callback/callback-resend-verification.d.ts +4 -4
  60. package/dist/tools/callback/callback-single.d.ts +4 -4
  61. package/dist/tools/callback/callback-update.d.ts +6 -6
  62. package/dist/tools/callback/schemas.d.ts +32 -26
  63. package/dist/tools/callback/schemas.d.ts.map +1 -1
  64. package/dist/tools/callback/schemas.js +2 -0
  65. package/dist/tools/callback/schemas.js.map +1 -1
  66. package/dist/tools/client/client-create.d.ts +2 -2
  67. package/dist/tools/client/client-delete.d.ts +8 -2
  68. package/dist/tools/client/client-delete.d.ts.map +1 -1
  69. package/dist/tools/client/client-list.d.ts +9 -9
  70. package/dist/tools/client/client-update.d.ts +2 -2
  71. package/dist/tools/client/schemas.d.ts +26 -20
  72. package/dist/tools/client/schemas.d.ts.map +1 -1
  73. package/dist/tools/client/schemas.js +2 -0
  74. package/dist/tools/client/schemas.js.map +1 -1
  75. package/dist/tools/credit-note/creditnote-create.d.ts +10 -10
  76. package/dist/tools/credit-note/creditnote-delete.d.ts +6 -0
  77. package/dist/tools/credit-note/creditnote-delete.d.ts.map +1 -1
  78. package/dist/tools/credit-note/creditnote-list.d.ts +14 -14
  79. package/dist/tools/credit-note/creditnote-single.d.ts +6 -6
  80. package/dist/tools/credit-note/creditnote-update.d.ts +10 -10
  81. package/dist/tools/credit-note/schemas.d.ts +42 -36
  82. package/dist/tools/credit-note/schemas.d.ts.map +1 -1
  83. package/dist/tools/credit-note/schemas.js +2 -0
  84. package/dist/tools/credit-note/schemas.js.map +1 -1
  85. package/dist/tools/expense/expense-create.d.ts +2 -2
  86. package/dist/tools/expense/expense-delete.d.ts +6 -0
  87. package/dist/tools/expense/expense-delete.d.ts.map +1 -1
  88. package/dist/tools/expense/expense-list.d.ts +8 -8
  89. package/dist/tools/expense/expense-single.d.ts +2 -2
  90. package/dist/tools/expense/expense-update.d.ts +2 -2
  91. package/dist/tools/expense/expense-update.d.ts.map +1 -1
  92. package/dist/tools/expense/expense-update.js +73 -30
  93. package/dist/tools/expense/expense-update.js.map +1 -1
  94. package/dist/tools/expense/schemas.d.ts +18 -12
  95. package/dist/tools/expense/schemas.d.ts.map +1 -1
  96. package/dist/tools/expense/schemas.js +2 -0
  97. package/dist/tools/expense/schemas.js.map +1 -1
  98. package/dist/tools/expense-category/expensecategory-list.d.ts +4 -4
  99. package/dist/tools/expense-category/schemas.d.ts +4 -4
  100. package/dist/tools/invoice/invoice-create.d.ts +10 -10
  101. package/dist/tools/invoice/invoice-delete.d.ts +6 -0
  102. package/dist/tools/invoice/invoice-delete.d.ts.map +1 -1
  103. package/dist/tools/invoice/invoice-list.d.ts +24 -24
  104. package/dist/tools/invoice/invoice-single.d.ts +10 -10
  105. package/dist/tools/invoice/invoice-update.d.ts +12 -12
  106. package/dist/tools/invoice/schemas.d.ts +56 -50
  107. package/dist/tools/invoice/schemas.d.ts.map +1 -1
  108. package/dist/tools/invoice/schemas.js +2 -0
  109. package/dist/tools/invoice/schemas.js.map +1 -1
  110. package/dist/tools/item/item-create.d.ts +8 -8
  111. package/dist/tools/item/item-list.d.ts +18 -18
  112. package/dist/tools/item/item-single.d.ts +6 -6
  113. package/dist/tools/item/item-update.d.ts +10 -10
  114. package/dist/tools/item/schemas.d.ts +38 -38
  115. package/dist/tools/journal-entry/journalentry-create.d.ts +4 -4
  116. package/dist/tools/journal-entry/schemas.d.ts +8 -8
  117. package/dist/tools/journal-entry-account/journalentryaccount-list.d.ts +14 -14
  118. package/dist/tools/journal-entry-account/schemas.d.ts +24 -24
  119. package/dist/tools/metadata.d.ts +13 -1
  120. package/dist/tools/metadata.d.ts.map +1 -1
  121. package/dist/tools/metadata.js +68 -1
  122. package/dist/tools/metadata.js.map +1 -1
  123. package/dist/tools/other-income/otherincome-create.d.ts +10 -10
  124. package/dist/tools/other-income/otherincome-delete.d.ts +6 -0
  125. package/dist/tools/other-income/otherincome-delete.d.ts.map +1 -1
  126. package/dist/tools/other-income/otherincome-list.d.ts +14 -14
  127. package/dist/tools/other-income/otherincome-single.d.ts +6 -6
  128. package/dist/tools/other-income/otherincome-update.d.ts +10 -10
  129. package/dist/tools/other-income/schemas.d.ts +40 -34
  130. package/dist/tools/other-income/schemas.d.ts.map +1 -1
  131. package/dist/tools/other-income/schemas.js +2 -0
  132. package/dist/tools/other-income/schemas.js.map +1 -1
  133. package/dist/tools/payment/payment-create.d.ts +2 -2
  134. package/dist/tools/payment/payment-delete.d.ts +6 -0
  135. package/dist/tools/payment/payment-delete.d.ts.map +1 -1
  136. package/dist/tools/payment/payment-list.d.ts +8 -8
  137. package/dist/tools/payment/payment-single.d.ts +2 -2
  138. package/dist/tools/payment/payment-update.d.ts +2 -2
  139. package/dist/tools/payment/schemas.d.ts +18 -12
  140. package/dist/tools/payment/schemas.d.ts.map +1 -1
  141. package/dist/tools/payment/schemas.js +3 -1
  142. package/dist/tools/payment/schemas.js.map +1 -1
  143. package/dist/tools/project/project-create.d.ts +8 -8
  144. package/dist/tools/project/project-delete.d.ts +8 -2
  145. package/dist/tools/project/project-delete.d.ts.map +1 -1
  146. package/dist/tools/project/project-list.d.ts +21 -21
  147. package/dist/tools/project/project-single.d.ts +6 -6
  148. package/dist/tools/project/project-update.d.ts +10 -10
  149. package/dist/tools/project/schemas.d.ts +52 -46
  150. package/dist/tools/project/schemas.d.ts.map +1 -1
  151. package/dist/tools/project/schemas.js +2 -0
  152. package/dist/tools/project/schemas.js.map +1 -1
  153. package/dist/tools/service/schemas.d.ts +11 -11
  154. package/dist/tools/service/service-create.d.ts +2 -2
  155. package/dist/tools/service/service-list.d.ts +8 -8
  156. package/dist/tools/task/schemas.d.ts +34 -28
  157. package/dist/tools/task/schemas.d.ts.map +1 -1
  158. package/dist/tools/task/schemas.js +2 -0
  159. package/dist/tools/task/schemas.js.map +1 -1
  160. package/dist/tools/task/task-create.d.ts +6 -6
  161. package/dist/tools/task/task-delete.d.ts +6 -0
  162. package/dist/tools/task/task-delete.d.ts.map +1 -1
  163. package/dist/tools/task/task-list.d.ts +18 -18
  164. package/dist/tools/task/task-single.d.ts +4 -4
  165. package/dist/tools/task/task-update.d.ts +8 -8
  166. package/dist/tools/time-entry/schemas.d.ts +42 -36
  167. package/dist/tools/time-entry/schemas.d.ts.map +1 -1
  168. package/dist/tools/time-entry/schemas.js +2 -0
  169. package/dist/tools/time-entry/schemas.js.map +1 -1
  170. package/dist/tools/time-entry/timeentry-create.d.ts +6 -6
  171. package/dist/tools/time-entry/timeentry-delete.d.ts +8 -2
  172. package/dist/tools/time-entry/timeentry-delete.d.ts.map +1 -1
  173. package/dist/tools/time-entry/timeentry-list.d.ts +17 -17
  174. package/dist/tools/time-entry/timeentry-single.d.ts +4 -4
  175. package/dist/tools/time-entry/timeentry-update.d.ts +6 -6
  176. package/dist/tools/timer/schemas.d.ts +30 -24
  177. package/dist/tools/timer/schemas.d.ts.map +1 -1
  178. package/dist/tools/timer/schemas.js +2 -0
  179. package/dist/tools/timer/schemas.js.map +1 -1
  180. package/dist/tools/timer/timer-current.d.ts +8 -8
  181. package/dist/tools/timer/timer-discard.d.ts +8 -2
  182. package/dist/tools/timer/timer-discard.d.ts.map +1 -1
  183. package/dist/tools/timer/timer-start.d.ts +6 -6
  184. package/dist/tools/timer/timer-stop.d.ts +4 -4
  185. package/dist/tools/types.d.ts +16 -0
  186. package/dist/tools/types.d.ts.map +1 -1
  187. package/dist/tools/types.js.map +1 -1
  188. package/dist/tools/user/schemas.d.ts +14 -14
  189. package/dist/tools/user/user-me.d.ts +6 -6
  190. package/dist/utils/logger.d.ts +9 -0
  191. package/dist/utils/logger.d.ts.map +1 -1
  192. package/dist/utils/logger.js +114 -20
  193. package/dist/utils/logger.js.map +1 -1
  194. package/dist/utils/sanitizer.d.ts +49 -0
  195. package/dist/utils/sanitizer.d.ts.map +1 -0
  196. package/dist/utils/sanitizer.js +163 -0
  197. package/dist/utils/sanitizer.js.map +1 -0
  198. package/package.json +1 -1
@@ -29,7 +29,7 @@ export declare const invoiceListTool: {
29
29
  include: z.ZodOptional<z.ZodArray<z.ZodEnum<["lines" | "presentation", ...("lines" | "presentation")[]]>, "many">>;
30
30
  }, "strip", z.ZodTypeAny, {
31
31
  accountId: string;
32
- status?: "partial" | "failed" | "draft" | "sent" | "viewed" | "paid" | "auto_paid" | "retry" | "overdue" | "disputed" | undefined;
32
+ status?: "partial" | "draft" | "sent" | "viewed" | "paid" | "auto_paid" | "retry" | "failed" | "overdue" | "disputed" | undefined;
33
33
  page?: number | undefined;
34
34
  perPage?: number | undefined;
35
35
  sortBy?: "amount" | "due_date" | "updated" | "create_date" | "outstanding" | undefined;
@@ -42,7 +42,7 @@ export declare const invoiceListTool: {
42
42
  updatedSince?: string | undefined;
43
43
  }, {
44
44
  accountId: string;
45
- status?: "partial" | "failed" | "draft" | "sent" | "viewed" | "paid" | "auto_paid" | "retry" | "overdue" | "disputed" | undefined;
45
+ status?: "partial" | "draft" | "sent" | "viewed" | "paid" | "auto_paid" | "retry" | "failed" | "overdue" | "disputed" | undefined;
46
46
  page?: number | undefined;
47
47
  perPage?: number | undefined;
48
48
  sortBy?: "amount" | "due_date" | "updated" | "create_date" | "outstanding" | undefined;
@@ -131,11 +131,11 @@ export declare const invoiceListTool: {
131
131
  amount: string;
132
132
  }>>>;
133
133
  }, "strip", z.ZodTypeAny, {
134
- name: string;
135
134
  amount: {
136
135
  code: string;
137
136
  amount: string;
138
137
  };
138
+ name: string;
139
139
  qty: number;
140
140
  description?: string | undefined;
141
141
  taxName1?: string | null | undefined;
@@ -149,11 +149,11 @@ export declare const invoiceListTool: {
149
149
  amount: string;
150
150
  } | null | undefined;
151
151
  }, {
152
- name: string;
153
152
  amount: {
154
153
  code: string;
155
154
  amount: string;
156
155
  };
156
+ name: string;
157
157
  qty: number;
158
158
  description?: string | undefined;
159
159
  taxName1?: string | null | undefined;
@@ -182,23 +182,23 @@ export declare const invoiceListTool: {
182
182
  createdAt: z.ZodOptional<z.ZodString>;
183
183
  updated: z.ZodOptional<z.ZodNullable<z.ZodString>>;
184
184
  }, "strip", z.ZodTypeAny, {
185
- status: "partial" | "failed" | "draft" | "sent" | "viewed" | "paid" | "auto_paid" | "retry" | "overdue" | "disputed";
186
- id: number;
185
+ status: "partial" | "draft" | "sent" | "viewed" | "paid" | "auto_paid" | "retry" | "failed" | "overdue" | "disputed";
187
186
  amount: {
188
187
  code: string;
189
188
  amount: string;
190
189
  };
190
+ id: number;
191
191
  currencyCode: string;
192
192
  outstanding: {
193
193
  code: string;
194
194
  amount: string;
195
195
  };
196
196
  lines: {
197
- name: string;
198
197
  amount: {
199
198
  code: string;
200
199
  amount: string;
201
200
  };
201
+ name: string;
202
202
  qty: number;
203
203
  description?: string | undefined;
204
204
  taxName1?: string | null | undefined;
@@ -221,12 +221,12 @@ export declare const invoiceListTool: {
221
221
  createDate: string;
222
222
  paymentStatus: "partial" | "paid" | "auto_paid" | "unpaid";
223
223
  code?: string | undefined;
224
- email?: string | undefined;
225
224
  createdAt?: string | undefined;
226
225
  dueDate?: string | null | undefined;
227
226
  visState?: 0 | 1 | 2 | undefined;
228
227
  updated?: string | null | undefined;
229
228
  organization?: string | undefined;
229
+ email?: string | undefined;
230
230
  fName?: string | undefined;
231
231
  lName?: string | undefined;
232
232
  notes?: string | undefined;
@@ -236,23 +236,23 @@ export declare const invoiceListTool: {
236
236
  province?: string | undefined;
237
237
  country?: string | undefined;
238
238
  }, {
239
- status: "partial" | "failed" | "draft" | "sent" | "viewed" | "paid" | "auto_paid" | "retry" | "overdue" | "disputed";
240
- id: number;
239
+ status: "partial" | "draft" | "sent" | "viewed" | "paid" | "auto_paid" | "retry" | "failed" | "overdue" | "disputed";
241
240
  amount: {
242
241
  code: string;
243
242
  amount: string;
244
243
  };
244
+ id: number;
245
245
  currencyCode: string;
246
246
  outstanding: {
247
247
  code: string;
248
248
  amount: string;
249
249
  };
250
250
  lines: {
251
- name: string;
252
251
  amount: {
253
252
  code: string;
254
253
  amount: string;
255
254
  };
255
+ name: string;
256
256
  qty: number;
257
257
  description?: string | undefined;
258
258
  taxName1?: string | null | undefined;
@@ -275,12 +275,12 @@ export declare const invoiceListTool: {
275
275
  createDate: string;
276
276
  paymentStatus: "partial" | "paid" | "auto_paid" | "unpaid";
277
277
  code?: string | undefined;
278
- email?: string | undefined;
279
278
  createdAt?: string | undefined;
280
279
  dueDate?: string | null | undefined;
281
280
  visState?: 0 | 1 | 2 | undefined;
282
281
  updated?: string | null | undefined;
283
282
  organization?: string | undefined;
283
+ email?: string | undefined;
284
284
  fName?: string | undefined;
285
285
  lName?: string | undefined;
286
286
  notes?: string | undefined;
@@ -296,41 +296,41 @@ export declare const invoiceListTool: {
296
296
  perPage: z.ZodNumber;
297
297
  total: z.ZodNumber;
298
298
  }, "strip", z.ZodTypeAny, {
299
- total: number;
300
299
  page: number;
301
300
  perPage: number;
302
301
  pages: number;
303
- }, {
304
302
  total: number;
303
+ }, {
305
304
  page: number;
306
305
  perPage: number;
307
306
  pages: number;
307
+ total: number;
308
308
  }>;
309
309
  }, "strip", z.ZodTypeAny, {
310
310
  pagination: {
311
- total: number;
312
311
  page: number;
313
312
  perPage: number;
314
313
  pages: number;
314
+ total: number;
315
315
  };
316
316
  invoices: {
317
- status: "partial" | "failed" | "draft" | "sent" | "viewed" | "paid" | "auto_paid" | "retry" | "overdue" | "disputed";
318
- id: number;
317
+ status: "partial" | "draft" | "sent" | "viewed" | "paid" | "auto_paid" | "retry" | "failed" | "overdue" | "disputed";
319
318
  amount: {
320
319
  code: string;
321
320
  amount: string;
322
321
  };
322
+ id: number;
323
323
  currencyCode: string;
324
324
  outstanding: {
325
325
  code: string;
326
326
  amount: string;
327
327
  };
328
328
  lines: {
329
- name: string;
330
329
  amount: {
331
330
  code: string;
332
331
  amount: string;
333
332
  };
333
+ name: string;
334
334
  qty: number;
335
335
  description?: string | undefined;
336
336
  taxName1?: string | null | undefined;
@@ -353,12 +353,12 @@ export declare const invoiceListTool: {
353
353
  createDate: string;
354
354
  paymentStatus: "partial" | "paid" | "auto_paid" | "unpaid";
355
355
  code?: string | undefined;
356
- email?: string | undefined;
357
356
  createdAt?: string | undefined;
358
357
  dueDate?: string | null | undefined;
359
358
  visState?: 0 | 1 | 2 | undefined;
360
359
  updated?: string | null | undefined;
361
360
  organization?: string | undefined;
361
+ email?: string | undefined;
362
362
  fName?: string | undefined;
363
363
  lName?: string | undefined;
364
364
  notes?: string | undefined;
@@ -370,29 +370,29 @@ export declare const invoiceListTool: {
370
370
  }[];
371
371
  }, {
372
372
  pagination: {
373
- total: number;
374
373
  page: number;
375
374
  perPage: number;
376
375
  pages: number;
376
+ total: number;
377
377
  };
378
378
  invoices: {
379
- status: "partial" | "failed" | "draft" | "sent" | "viewed" | "paid" | "auto_paid" | "retry" | "overdue" | "disputed";
380
- id: number;
379
+ status: "partial" | "draft" | "sent" | "viewed" | "paid" | "auto_paid" | "retry" | "failed" | "overdue" | "disputed";
381
380
  amount: {
382
381
  code: string;
383
382
  amount: string;
384
383
  };
384
+ id: number;
385
385
  currencyCode: string;
386
386
  outstanding: {
387
387
  code: string;
388
388
  amount: string;
389
389
  };
390
390
  lines: {
391
- name: string;
392
391
  amount: {
393
392
  code: string;
394
393
  amount: string;
395
394
  };
395
+ name: string;
396
396
  qty: number;
397
397
  description?: string | undefined;
398
398
  taxName1?: string | null | undefined;
@@ -415,12 +415,12 @@ export declare const invoiceListTool: {
415
415
  createDate: string;
416
416
  paymentStatus: "partial" | "paid" | "auto_paid" | "unpaid";
417
417
  code?: string | undefined;
418
- email?: string | undefined;
419
418
  createdAt?: string | undefined;
420
419
  dueDate?: string | null | undefined;
421
420
  visState?: 0 | 1 | 2 | undefined;
422
421
  updated?: string | null | undefined;
423
422
  organization?: string | undefined;
423
+ email?: string | undefined;
424
424
  fName?: string | undefined;
425
425
  lName?: string | undefined;
426
426
  notes?: string | undefined;
@@ -98,11 +98,11 @@ export declare const invoiceSingleTool: {
98
98
  amount: string;
99
99
  }>>>;
100
100
  }, "strip", z.ZodTypeAny, {
101
- name: string;
102
101
  amount: {
103
102
  code: string;
104
103
  amount: string;
105
104
  };
105
+ name: string;
106
106
  qty: number;
107
107
  description?: string | undefined;
108
108
  taxName1?: string | null | undefined;
@@ -116,11 +116,11 @@ export declare const invoiceSingleTool: {
116
116
  amount: string;
117
117
  } | null | undefined;
118
118
  }, {
119
- name: string;
120
119
  amount: {
121
120
  code: string;
122
121
  amount: string;
123
122
  };
123
+ name: string;
124
124
  qty: number;
125
125
  description?: string | undefined;
126
126
  taxName1?: string | null | undefined;
@@ -149,23 +149,23 @@ export declare const invoiceSingleTool: {
149
149
  createdAt: z.ZodOptional<z.ZodString>;
150
150
  updated: z.ZodOptional<z.ZodNullable<z.ZodString>>;
151
151
  }, "strip", z.ZodTypeAny, {
152
- status: "partial" | "failed" | "draft" | "sent" | "viewed" | "paid" | "auto_paid" | "retry" | "overdue" | "disputed";
153
- id: number;
152
+ status: "partial" | "draft" | "sent" | "viewed" | "paid" | "auto_paid" | "retry" | "failed" | "overdue" | "disputed";
154
153
  amount: {
155
154
  code: string;
156
155
  amount: string;
157
156
  };
157
+ id: number;
158
158
  currencyCode: string;
159
159
  outstanding: {
160
160
  code: string;
161
161
  amount: string;
162
162
  };
163
163
  lines: {
164
- name: string;
165
164
  amount: {
166
165
  code: string;
167
166
  amount: string;
168
167
  };
168
+ name: string;
169
169
  qty: number;
170
170
  description?: string | undefined;
171
171
  taxName1?: string | null | undefined;
@@ -188,12 +188,12 @@ export declare const invoiceSingleTool: {
188
188
  createDate: string;
189
189
  paymentStatus: "partial" | "paid" | "auto_paid" | "unpaid";
190
190
  code?: string | undefined;
191
- email?: string | undefined;
192
191
  createdAt?: string | undefined;
193
192
  dueDate?: string | null | undefined;
194
193
  visState?: 0 | 1 | 2 | undefined;
195
194
  updated?: string | null | undefined;
196
195
  organization?: string | undefined;
196
+ email?: string | undefined;
197
197
  fName?: string | undefined;
198
198
  lName?: string | undefined;
199
199
  notes?: string | undefined;
@@ -203,23 +203,23 @@ export declare const invoiceSingleTool: {
203
203
  province?: string | undefined;
204
204
  country?: string | undefined;
205
205
  }, {
206
- status: "partial" | "failed" | "draft" | "sent" | "viewed" | "paid" | "auto_paid" | "retry" | "overdue" | "disputed";
207
- id: number;
206
+ status: "partial" | "draft" | "sent" | "viewed" | "paid" | "auto_paid" | "retry" | "failed" | "overdue" | "disputed";
208
207
  amount: {
209
208
  code: string;
210
209
  amount: string;
211
210
  };
211
+ id: number;
212
212
  currencyCode: string;
213
213
  outstanding: {
214
214
  code: string;
215
215
  amount: string;
216
216
  };
217
217
  lines: {
218
- name: string;
219
218
  amount: {
220
219
  code: string;
221
220
  amount: string;
222
221
  };
222
+ name: string;
223
223
  qty: number;
224
224
  description?: string | undefined;
225
225
  taxName1?: string | null | undefined;
@@ -242,12 +242,12 @@ export declare const invoiceSingleTool: {
242
242
  createDate: string;
243
243
  paymentStatus: "partial" | "paid" | "auto_paid" | "unpaid";
244
244
  code?: string | undefined;
245
- email?: string | undefined;
246
245
  createdAt?: string | undefined;
247
246
  dueDate?: string | null | undefined;
248
247
  visState?: 0 | 1 | 2 | undefined;
249
248
  updated?: string | null | undefined;
250
249
  organization?: string | undefined;
250
+ email?: string | undefined;
251
251
  fName?: string | undefined;
252
252
  lName?: string | undefined;
253
253
  notes?: string | undefined;
@@ -78,7 +78,7 @@ export declare const invoiceUpdateTool: {
78
78
  }, "strip", z.ZodTypeAny, {
79
79
  accountId: string;
80
80
  invoiceId: number;
81
- status?: "partial" | "failed" | "draft" | "sent" | "viewed" | "paid" | "auto_paid" | "retry" | "overdue" | "disputed" | undefined;
81
+ status?: "partial" | "draft" | "sent" | "viewed" | "paid" | "auto_paid" | "retry" | "failed" | "overdue" | "disputed" | undefined;
82
82
  dueDate?: string | undefined;
83
83
  currencyCode?: string | undefined;
84
84
  lines?: {
@@ -105,7 +105,7 @@ export declare const invoiceUpdateTool: {
105
105
  }, {
106
106
  accountId: string;
107
107
  invoiceId: number;
108
- status?: "partial" | "failed" | "draft" | "sent" | "viewed" | "paid" | "auto_paid" | "retry" | "overdue" | "disputed" | undefined;
108
+ status?: "partial" | "draft" | "sent" | "viewed" | "paid" | "auto_paid" | "retry" | "failed" | "overdue" | "disputed" | undefined;
109
109
  dueDate?: string | undefined;
110
110
  currencyCode?: string | undefined;
111
111
  lines?: {
@@ -206,11 +206,11 @@ export declare const invoiceUpdateTool: {
206
206
  amount: string;
207
207
  }>>>;
208
208
  }, "strip", z.ZodTypeAny, {
209
- name: string;
210
209
  amount: {
211
210
  code: string;
212
211
  amount: string;
213
212
  };
213
+ name: string;
214
214
  qty: number;
215
215
  description?: string | undefined;
216
216
  taxName1?: string | null | undefined;
@@ -224,11 +224,11 @@ export declare const invoiceUpdateTool: {
224
224
  amount: string;
225
225
  } | null | undefined;
226
226
  }, {
227
- name: string;
228
227
  amount: {
229
228
  code: string;
230
229
  amount: string;
231
230
  };
231
+ name: string;
232
232
  qty: number;
233
233
  description?: string | undefined;
234
234
  taxName1?: string | null | undefined;
@@ -257,23 +257,23 @@ export declare const invoiceUpdateTool: {
257
257
  createdAt: z.ZodOptional<z.ZodString>;
258
258
  updated: z.ZodOptional<z.ZodNullable<z.ZodString>>;
259
259
  }, "strip", z.ZodTypeAny, {
260
- status: "partial" | "failed" | "draft" | "sent" | "viewed" | "paid" | "auto_paid" | "retry" | "overdue" | "disputed";
261
- id: number;
260
+ status: "partial" | "draft" | "sent" | "viewed" | "paid" | "auto_paid" | "retry" | "failed" | "overdue" | "disputed";
262
261
  amount: {
263
262
  code: string;
264
263
  amount: string;
265
264
  };
265
+ id: number;
266
266
  currencyCode: string;
267
267
  outstanding: {
268
268
  code: string;
269
269
  amount: string;
270
270
  };
271
271
  lines: {
272
- name: string;
273
272
  amount: {
274
273
  code: string;
275
274
  amount: string;
276
275
  };
276
+ name: string;
277
277
  qty: number;
278
278
  description?: string | undefined;
279
279
  taxName1?: string | null | undefined;
@@ -296,12 +296,12 @@ export declare const invoiceUpdateTool: {
296
296
  createDate: string;
297
297
  paymentStatus: "partial" | "paid" | "auto_paid" | "unpaid";
298
298
  code?: string | undefined;
299
- email?: string | undefined;
300
299
  createdAt?: string | undefined;
301
300
  dueDate?: string | null | undefined;
302
301
  visState?: 0 | 1 | 2 | undefined;
303
302
  updated?: string | null | undefined;
304
303
  organization?: string | undefined;
304
+ email?: string | undefined;
305
305
  fName?: string | undefined;
306
306
  lName?: string | undefined;
307
307
  notes?: string | undefined;
@@ -311,23 +311,23 @@ export declare const invoiceUpdateTool: {
311
311
  province?: string | undefined;
312
312
  country?: string | undefined;
313
313
  }, {
314
- status: "partial" | "failed" | "draft" | "sent" | "viewed" | "paid" | "auto_paid" | "retry" | "overdue" | "disputed";
315
- id: number;
314
+ status: "partial" | "draft" | "sent" | "viewed" | "paid" | "auto_paid" | "retry" | "failed" | "overdue" | "disputed";
316
315
  amount: {
317
316
  code: string;
318
317
  amount: string;
319
318
  };
319
+ id: number;
320
320
  currencyCode: string;
321
321
  outstanding: {
322
322
  code: string;
323
323
  amount: string;
324
324
  };
325
325
  lines: {
326
- name: string;
327
326
  amount: {
328
327
  code: string;
329
328
  amount: string;
330
329
  };
330
+ name: string;
331
331
  qty: number;
332
332
  description?: string | undefined;
333
333
  taxName1?: string | null | undefined;
@@ -350,12 +350,12 @@ export declare const invoiceUpdateTool: {
350
350
  createDate: string;
351
351
  paymentStatus: "partial" | "paid" | "auto_paid" | "unpaid";
352
352
  code?: string | undefined;
353
- email?: string | undefined;
354
353
  createdAt?: string | undefined;
355
354
  dueDate?: string | null | undefined;
356
355
  visState?: 0 | 1 | 2 | undefined;
357
356
  updated?: string | null | undefined;
358
357
  organization?: string | undefined;
358
+ email?: string | undefined;
359
359
  fName?: string | undefined;
360
360
  lName?: string | undefined;
361
361
  notes?: string | undefined;