@goodsamsoftware/freshbooks-mcp 1.0.10 → 1.0.12

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 +3 -3
@@ -15,13 +15,7 @@ export declare const invoiceSingleTool: {
15
15
  inputSchema: z.ZodObject<{
16
16
  accountId: z.ZodString;
17
17
  invoiceId: z.ZodNumber;
18
- }, "strip", z.ZodTypeAny, {
19
- accountId: string;
20
- invoiceId: number;
21
- }, {
22
- accountId: string;
23
- invoiceId: number;
24
- }>;
18
+ }, z.core.$strip>;
25
19
  outputSchema: z.ZodObject<{
26
20
  id: z.ZodNumber;
27
21
  invoiceNumber: z.ZodString;
@@ -31,35 +25,33 @@ export declare const invoiceSingleTool: {
31
25
  amount: z.ZodObject<{
32
26
  amount: z.ZodString;
33
27
  code: z.ZodString;
34
- }, "strip", z.ZodTypeAny, {
35
- code: string;
36
- amount: string;
37
- }, {
38
- code: string;
39
- amount: string;
40
- }>;
28
+ }, z.core.$strip>;
41
29
  outstanding: z.ZodObject<{
42
30
  amount: z.ZodString;
43
31
  code: z.ZodString;
44
- }, "strip", z.ZodTypeAny, {
45
- code: string;
46
- amount: string;
47
- }, {
48
- code: string;
49
- amount: string;
50
- }>;
32
+ }, z.core.$strip>;
51
33
  paid: z.ZodObject<{
52
34
  amount: z.ZodString;
53
35
  code: z.ZodString;
54
- }, "strip", z.ZodTypeAny, {
55
- code: string;
56
- amount: string;
57
- }, {
58
- code: string;
59
- amount: string;
36
+ }, z.core.$strip>;
37
+ status: z.ZodEnum<{
38
+ partial: "partial";
39
+ draft: "draft";
40
+ sent: "sent";
41
+ viewed: "viewed";
42
+ paid: "paid";
43
+ auto_paid: "auto_paid";
44
+ retry: "retry";
45
+ failed: "failed";
46
+ overdue: "overdue";
47
+ disputed: "disputed";
48
+ }>;
49
+ paymentStatus: z.ZodEnum<{
50
+ partial: "partial";
51
+ paid: "paid";
52
+ auto_paid: "auto_paid";
53
+ unpaid: "unpaid";
60
54
  }>;
61
- status: z.ZodEnum<["draft", "sent", "viewed", "partial", "paid", "auto_paid", "retry", "failed", "overdue", "disputed"]>;
62
- paymentStatus: z.ZodEnum<["unpaid", "partial", "paid", "auto_paid"]>;
63
55
  currencyCode: z.ZodString;
64
56
  lines: z.ZodArray<z.ZodObject<{
65
57
  name: z.ZodString;
@@ -68,72 +60,18 @@ export declare const invoiceSingleTool: {
68
60
  amount: z.ZodObject<{
69
61
  amount: z.ZodString;
70
62
  code: z.ZodString;
71
- }, "strip", z.ZodTypeAny, {
72
- code: string;
73
- amount: string;
74
- }, {
75
- code: string;
76
- amount: string;
77
- }>;
63
+ }, z.core.$strip>;
78
64
  taxName1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
79
65
  taxAmount1: z.ZodOptional<z.ZodNullable<z.ZodObject<{
80
66
  amount: z.ZodString;
81
67
  code: z.ZodString;
82
- }, "strip", z.ZodTypeAny, {
83
- code: string;
84
- amount: string;
85
- }, {
86
- code: string;
87
- amount: string;
88
- }>>>;
68
+ }, z.core.$strip>>>;
89
69
  taxName2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
90
70
  taxAmount2: z.ZodOptional<z.ZodNullable<z.ZodObject<{
91
71
  amount: z.ZodString;
92
72
  code: z.ZodString;
93
- }, "strip", z.ZodTypeAny, {
94
- code: string;
95
- amount: string;
96
- }, {
97
- code: string;
98
- amount: string;
99
- }>>>;
100
- }, "strip", z.ZodTypeAny, {
101
- amount: {
102
- code: string;
103
- amount: string;
104
- };
105
- name: string;
106
- qty: number;
107
- description?: string | undefined;
108
- taxName1?: string | null | undefined;
109
- taxAmount1?: {
110
- code: string;
111
- amount: string;
112
- } | null | undefined;
113
- taxName2?: string | null | undefined;
114
- taxAmount2?: {
115
- code: string;
116
- amount: string;
117
- } | null | undefined;
118
- }, {
119
- amount: {
120
- code: string;
121
- amount: string;
122
- };
123
- name: string;
124
- qty: number;
125
- description?: string | undefined;
126
- taxName1?: string | null | undefined;
127
- taxAmount1?: {
128
- code: string;
129
- amount: string;
130
- } | null | undefined;
131
- taxName2?: string | null | undefined;
132
- taxAmount2?: {
133
- code: string;
134
- amount: string;
135
- } | null | undefined;
136
- }>, "many">;
73
+ }, z.core.$strip>>>;
74
+ }, z.core.$strip>>;
137
75
  notes: z.ZodOptional<z.ZodString>;
138
76
  terms: z.ZodOptional<z.ZodNullable<z.ZodString>>;
139
77
  organization: z.ZodOptional<z.ZodString>;
@@ -145,118 +83,10 @@ export declare const invoiceSingleTool: {
145
83
  province: z.ZodOptional<z.ZodString>;
146
84
  code: z.ZodOptional<z.ZodString>;
147
85
  country: z.ZodOptional<z.ZodString>;
148
- visState: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
86
+ visState: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
149
87
  createdAt: z.ZodOptional<z.ZodString>;
150
88
  updated: z.ZodOptional<z.ZodNullable<z.ZodString>>;
151
- }, "strip", z.ZodTypeAny, {
152
- status: "partial" | "draft" | "sent" | "viewed" | "paid" | "auto_paid" | "retry" | "failed" | "overdue" | "disputed";
153
- amount: {
154
- code: string;
155
- amount: string;
156
- };
157
- id: number;
158
- currencyCode: string;
159
- outstanding: {
160
- code: string;
161
- amount: string;
162
- };
163
- lines: {
164
- amount: {
165
- code: string;
166
- amount: string;
167
- };
168
- name: string;
169
- qty: number;
170
- description?: string | undefined;
171
- taxName1?: string | null | undefined;
172
- taxAmount1?: {
173
- code: string;
174
- amount: string;
175
- } | null | undefined;
176
- taxName2?: string | null | undefined;
177
- taxAmount2?: {
178
- code: string;
179
- amount: string;
180
- } | null | undefined;
181
- }[];
182
- paid: {
183
- code: string;
184
- amount: string;
185
- };
186
- invoiceNumber: string;
187
- customerId: number;
188
- createDate: string;
189
- paymentStatus: "partial" | "paid" | "auto_paid" | "unpaid";
190
- code?: string | undefined;
191
- createdAt?: string | undefined;
192
- dueDate?: string | null | undefined;
193
- visState?: 0 | 1 | 2 | undefined;
194
- updated?: string | null | undefined;
195
- organization?: string | undefined;
196
- email?: string | undefined;
197
- fName?: string | undefined;
198
- lName?: string | undefined;
199
- notes?: string | undefined;
200
- terms?: string | null | undefined;
201
- address?: string | undefined;
202
- city?: string | undefined;
203
- province?: string | undefined;
204
- country?: string | undefined;
205
- }, {
206
- status: "partial" | "draft" | "sent" | "viewed" | "paid" | "auto_paid" | "retry" | "failed" | "overdue" | "disputed";
207
- amount: {
208
- code: string;
209
- amount: string;
210
- };
211
- id: number;
212
- currencyCode: string;
213
- outstanding: {
214
- code: string;
215
- amount: string;
216
- };
217
- lines: {
218
- amount: {
219
- code: string;
220
- amount: string;
221
- };
222
- name: string;
223
- qty: number;
224
- description?: string | undefined;
225
- taxName1?: string | null | undefined;
226
- taxAmount1?: {
227
- code: string;
228
- amount: string;
229
- } | null | undefined;
230
- taxName2?: string | null | undefined;
231
- taxAmount2?: {
232
- code: string;
233
- amount: string;
234
- } | null | undefined;
235
- }[];
236
- paid: {
237
- code: string;
238
- amount: string;
239
- };
240
- invoiceNumber: string;
241
- customerId: number;
242
- createDate: string;
243
- paymentStatus: "partial" | "paid" | "auto_paid" | "unpaid";
244
- code?: string | undefined;
245
- createdAt?: string | undefined;
246
- dueDate?: string | null | undefined;
247
- visState?: 0 | 1 | 2 | undefined;
248
- updated?: string | null | undefined;
249
- organization?: string | undefined;
250
- email?: string | undefined;
251
- fName?: string | undefined;
252
- lName?: string | undefined;
253
- notes?: string | undefined;
254
- terms?: string | null | undefined;
255
- address?: string | undefined;
256
- city?: string | undefined;
257
- province?: string | undefined;
258
- country?: string | undefined;
259
- }>;
89
+ }, z.core.$strip>;
260
90
  /**
261
91
  * Execute the tool
262
92
  */
@@ -1 +1 @@
1
- {"version":3,"file":"invoice-single.d.ts","sourceRoot":"","sources":["../../../src/tools/invoice/invoice-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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA8B5B;;OAEG;mBAEM,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,UACvC,uBAAuB,GAC9B,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;CAyCtD,CAAC"}
1
+ {"version":3,"file":"invoice-single.d.ts","sourceRoot":"","sources":["../../../src/tools/invoice/invoice-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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA8B5B;;OAEG;mBAEM,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,UACvC,uBAAuB,GAC9B,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;CAyCtD,CAAC"}
@@ -26,110 +26,31 @@ export declare const invoiceUpdateTool: {
26
26
  unitCost: z.ZodObject<{
27
27
  amount: z.ZodString;
28
28
  code: z.ZodOptional<z.ZodString>;
29
- }, "strip", z.ZodTypeAny, {
30
- amount: string;
31
- code?: string | undefined;
32
- }, {
33
- amount: string;
34
- code?: string | undefined;
35
- }>;
29
+ }, z.core.$strip>;
36
30
  taxName1: z.ZodOptional<z.ZodString>;
37
31
  taxAmount1: z.ZodOptional<z.ZodString>;
38
32
  taxName2: z.ZodOptional<z.ZodString>;
39
33
  taxAmount2: z.ZodOptional<z.ZodString>;
40
- }, "strip", z.ZodTypeAny, {
41
- name: string;
42
- qty: number;
43
- unitCost: {
44
- amount: string;
45
- code?: string | undefined;
46
- };
47
- description?: string | undefined;
48
- taxName1?: string | undefined;
49
- taxAmount1?: string | undefined;
50
- taxName2?: string | undefined;
51
- taxAmount2?: string | undefined;
52
- }, {
53
- name: string;
54
- unitCost: {
55
- amount: string;
56
- code?: string | undefined;
57
- };
58
- description?: string | undefined;
59
- qty?: number | undefined;
60
- taxName1?: string | undefined;
61
- taxAmount1?: string | undefined;
62
- taxName2?: string | undefined;
63
- taxAmount2?: string | undefined;
64
- }>, "many">>;
34
+ }, z.core.$strip>>>;
65
35
  notes: z.ZodOptional<z.ZodString>;
66
36
  terms: z.ZodOptional<z.ZodString>;
67
- status: z.ZodOptional<z.ZodEnum<["draft", "sent", "viewed", "partial", "paid", "auto_paid", "retry", "failed", "overdue", "disputed"]>>;
37
+ status: z.ZodOptional<z.ZodEnum<{
38
+ partial: "partial";
39
+ draft: "draft";
40
+ sent: "sent";
41
+ viewed: "viewed";
42
+ paid: "paid";
43
+ auto_paid: "auto_paid";
44
+ retry: "retry";
45
+ failed: "failed";
46
+ overdue: "overdue";
47
+ disputed: "disputed";
48
+ }>>;
68
49
  discount: z.ZodOptional<z.ZodObject<{
69
50
  amount: z.ZodString;
70
51
  code: z.ZodOptional<z.ZodString>;
71
- }, "strip", z.ZodTypeAny, {
72
- amount: string;
73
- code?: string | undefined;
74
- }, {
75
- amount: string;
76
- code?: string | undefined;
77
- }>>;
78
- }, "strip", z.ZodTypeAny, {
79
- accountId: string;
80
- invoiceId: number;
81
- status?: "partial" | "draft" | "sent" | "viewed" | "paid" | "auto_paid" | "retry" | "failed" | "overdue" | "disputed" | undefined;
82
- dueDate?: string | undefined;
83
- currencyCode?: string | undefined;
84
- lines?: {
85
- name: string;
86
- qty: number;
87
- unitCost: {
88
- amount: string;
89
- code?: string | undefined;
90
- };
91
- description?: string | undefined;
92
- taxName1?: string | undefined;
93
- taxAmount1?: string | undefined;
94
- taxName2?: string | undefined;
95
- taxAmount2?: string | undefined;
96
- }[] | undefined;
97
- customerId?: number | undefined;
98
- createDate?: string | undefined;
99
- notes?: string | undefined;
100
- terms?: string | undefined;
101
- discount?: {
102
- amount: string;
103
- code?: string | undefined;
104
- } | undefined;
105
- }, {
106
- accountId: string;
107
- invoiceId: number;
108
- status?: "partial" | "draft" | "sent" | "viewed" | "paid" | "auto_paid" | "retry" | "failed" | "overdue" | "disputed" | undefined;
109
- dueDate?: string | undefined;
110
- currencyCode?: string | undefined;
111
- lines?: {
112
- name: string;
113
- unitCost: {
114
- amount: string;
115
- code?: string | undefined;
116
- };
117
- description?: string | undefined;
118
- qty?: number | undefined;
119
- taxName1?: string | undefined;
120
- taxAmount1?: string | undefined;
121
- taxName2?: string | undefined;
122
- taxAmount2?: string | undefined;
123
- }[] | undefined;
124
- customerId?: number | undefined;
125
- createDate?: string | undefined;
126
- notes?: string | undefined;
127
- terms?: string | undefined;
128
- discount?: {
129
- amount: string;
130
- code?: string | undefined;
131
- } | undefined;
132
- }>;
52
+ }, z.core.$strip>>;
53
+ }, z.core.$strip>;
133
54
  outputSchema: z.ZodObject<{
134
55
  id: z.ZodNumber;
135
56
  invoiceNumber: z.ZodString;
@@ -139,35 +60,33 @@ export declare const invoiceUpdateTool: {
139
60
  amount: z.ZodObject<{
140
61
  amount: z.ZodString;
141
62
  code: z.ZodString;
142
- }, "strip", z.ZodTypeAny, {
143
- code: string;
144
- amount: string;
145
- }, {
146
- code: string;
147
- amount: string;
148
- }>;
63
+ }, z.core.$strip>;
149
64
  outstanding: z.ZodObject<{
150
65
  amount: z.ZodString;
151
66
  code: z.ZodString;
152
- }, "strip", z.ZodTypeAny, {
153
- code: string;
154
- amount: string;
155
- }, {
156
- code: string;
157
- amount: string;
158
- }>;
67
+ }, z.core.$strip>;
159
68
  paid: z.ZodObject<{
160
69
  amount: z.ZodString;
161
70
  code: z.ZodString;
162
- }, "strip", z.ZodTypeAny, {
163
- code: string;
164
- amount: string;
165
- }, {
166
- code: string;
167
- amount: string;
71
+ }, z.core.$strip>;
72
+ status: z.ZodEnum<{
73
+ partial: "partial";
74
+ draft: "draft";
75
+ sent: "sent";
76
+ viewed: "viewed";
77
+ paid: "paid";
78
+ auto_paid: "auto_paid";
79
+ retry: "retry";
80
+ failed: "failed";
81
+ overdue: "overdue";
82
+ disputed: "disputed";
83
+ }>;
84
+ paymentStatus: z.ZodEnum<{
85
+ partial: "partial";
86
+ paid: "paid";
87
+ auto_paid: "auto_paid";
88
+ unpaid: "unpaid";
168
89
  }>;
169
- status: z.ZodEnum<["draft", "sent", "viewed", "partial", "paid", "auto_paid", "retry", "failed", "overdue", "disputed"]>;
170
- paymentStatus: z.ZodEnum<["unpaid", "partial", "paid", "auto_paid"]>;
171
90
  currencyCode: z.ZodString;
172
91
  lines: z.ZodArray<z.ZodObject<{
173
92
  name: z.ZodString;
@@ -176,72 +95,18 @@ export declare const invoiceUpdateTool: {
176
95
  amount: z.ZodObject<{
177
96
  amount: z.ZodString;
178
97
  code: z.ZodString;
179
- }, "strip", z.ZodTypeAny, {
180
- code: string;
181
- amount: string;
182
- }, {
183
- code: string;
184
- amount: string;
185
- }>;
98
+ }, z.core.$strip>;
186
99
  taxName1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
187
100
  taxAmount1: z.ZodOptional<z.ZodNullable<z.ZodObject<{
188
101
  amount: z.ZodString;
189
102
  code: z.ZodString;
190
- }, "strip", z.ZodTypeAny, {
191
- code: string;
192
- amount: string;
193
- }, {
194
- code: string;
195
- amount: string;
196
- }>>>;
103
+ }, z.core.$strip>>>;
197
104
  taxName2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
198
105
  taxAmount2: z.ZodOptional<z.ZodNullable<z.ZodObject<{
199
106
  amount: z.ZodString;
200
107
  code: z.ZodString;
201
- }, "strip", z.ZodTypeAny, {
202
- code: string;
203
- amount: string;
204
- }, {
205
- code: string;
206
- amount: string;
207
- }>>>;
208
- }, "strip", z.ZodTypeAny, {
209
- amount: {
210
- code: string;
211
- amount: string;
212
- };
213
- name: string;
214
- qty: number;
215
- description?: string | undefined;
216
- taxName1?: string | null | undefined;
217
- taxAmount1?: {
218
- code: string;
219
- amount: string;
220
- } | null | undefined;
221
- taxName2?: string | null | undefined;
222
- taxAmount2?: {
223
- code: string;
224
- amount: string;
225
- } | null | undefined;
226
- }, {
227
- amount: {
228
- code: string;
229
- amount: string;
230
- };
231
- name: string;
232
- qty: number;
233
- description?: string | undefined;
234
- taxName1?: string | null | undefined;
235
- taxAmount1?: {
236
- code: string;
237
- amount: string;
238
- } | null | undefined;
239
- taxName2?: string | null | undefined;
240
- taxAmount2?: {
241
- code: string;
242
- amount: string;
243
- } | null | undefined;
244
- }>, "many">;
108
+ }, z.core.$strip>>>;
109
+ }, z.core.$strip>>;
245
110
  notes: z.ZodOptional<z.ZodString>;
246
111
  terms: z.ZodOptional<z.ZodNullable<z.ZodString>>;
247
112
  organization: z.ZodOptional<z.ZodString>;
@@ -253,118 +118,10 @@ export declare const invoiceUpdateTool: {
253
118
  province: z.ZodOptional<z.ZodString>;
254
119
  code: z.ZodOptional<z.ZodString>;
255
120
  country: z.ZodOptional<z.ZodString>;
256
- visState: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
121
+ visState: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
257
122
  createdAt: z.ZodOptional<z.ZodString>;
258
123
  updated: z.ZodOptional<z.ZodNullable<z.ZodString>>;
259
- }, "strip", z.ZodTypeAny, {
260
- status: "partial" | "draft" | "sent" | "viewed" | "paid" | "auto_paid" | "retry" | "failed" | "overdue" | "disputed";
261
- amount: {
262
- code: string;
263
- amount: string;
264
- };
265
- id: number;
266
- currencyCode: string;
267
- outstanding: {
268
- code: string;
269
- amount: string;
270
- };
271
- lines: {
272
- amount: {
273
- code: string;
274
- amount: string;
275
- };
276
- name: string;
277
- qty: number;
278
- description?: string | undefined;
279
- taxName1?: string | null | undefined;
280
- taxAmount1?: {
281
- code: string;
282
- amount: string;
283
- } | null | undefined;
284
- taxName2?: string | null | undefined;
285
- taxAmount2?: {
286
- code: string;
287
- amount: string;
288
- } | null | undefined;
289
- }[];
290
- paid: {
291
- code: string;
292
- amount: string;
293
- };
294
- invoiceNumber: string;
295
- customerId: number;
296
- createDate: string;
297
- paymentStatus: "partial" | "paid" | "auto_paid" | "unpaid";
298
- code?: string | undefined;
299
- createdAt?: string | undefined;
300
- dueDate?: string | null | undefined;
301
- visState?: 0 | 1 | 2 | undefined;
302
- updated?: string | null | undefined;
303
- organization?: string | undefined;
304
- email?: string | undefined;
305
- fName?: string | undefined;
306
- lName?: string | undefined;
307
- notes?: string | undefined;
308
- terms?: string | null | undefined;
309
- address?: string | undefined;
310
- city?: string | undefined;
311
- province?: string | undefined;
312
- country?: string | undefined;
313
- }, {
314
- status: "partial" | "draft" | "sent" | "viewed" | "paid" | "auto_paid" | "retry" | "failed" | "overdue" | "disputed";
315
- amount: {
316
- code: string;
317
- amount: string;
318
- };
319
- id: number;
320
- currencyCode: string;
321
- outstanding: {
322
- code: string;
323
- amount: string;
324
- };
325
- lines: {
326
- amount: {
327
- code: string;
328
- amount: string;
329
- };
330
- name: string;
331
- qty: number;
332
- description?: string | undefined;
333
- taxName1?: string | null | undefined;
334
- taxAmount1?: {
335
- code: string;
336
- amount: string;
337
- } | null | undefined;
338
- taxName2?: string | null | undefined;
339
- taxAmount2?: {
340
- code: string;
341
- amount: string;
342
- } | null | undefined;
343
- }[];
344
- paid: {
345
- code: string;
346
- amount: string;
347
- };
348
- invoiceNumber: string;
349
- customerId: number;
350
- createDate: string;
351
- paymentStatus: "partial" | "paid" | "auto_paid" | "unpaid";
352
- code?: string | undefined;
353
- createdAt?: string | undefined;
354
- dueDate?: string | null | undefined;
355
- visState?: 0 | 1 | 2 | undefined;
356
- updated?: string | null | undefined;
357
- organization?: string | undefined;
358
- email?: string | undefined;
359
- fName?: string | undefined;
360
- lName?: string | undefined;
361
- notes?: string | undefined;
362
- terms?: string | null | undefined;
363
- address?: string | undefined;
364
- city?: string | undefined;
365
- province?: string | undefined;
366
- country?: string | undefined;
367
- }>;
124
+ }, z.core.$strip>;
368
125
  /**
369
126
  * Execute the tool
370
127
  */
@@ -1 +1 @@
1
- {"version":3,"file":"invoice-update.d.ts","sourceRoot":"","sources":["../../../src/tools/invoice/invoice-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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA0C5B;;OAEG;mBAEM,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,UACvC,uBAAuB,GAC9B,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;CAqFtD,CAAC"}
1
+ {"version":3,"file":"invoice-update.d.ts","sourceRoot":"","sources":["../../../src/tools/invoice/invoice-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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA0C5B;;OAEG;mBAEM,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,UACvC,uBAAuB,GAC9B,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;CAqFtD,CAAC"}