@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.
- package/dist/auth/confirmation-store.d.ts +94 -0
- package/dist/auth/confirmation-store.d.ts.map +1 -0
- package/dist/auth/confirmation-store.js +126 -0
- package/dist/auth/confirmation-store.js.map +1 -0
- package/dist/auth/state-store.d.ts +96 -0
- package/dist/auth/state-store.d.ts.map +1 -0
- package/dist/auth/state-store.js +122 -0
- package/dist/auth/state-store.js.map +1 -0
- package/dist/auth/types.d.ts +1 -1
- package/dist/auth/types.d.ts.map +1 -1
- package/dist/auth/types.js.map +1 -1
- package/dist/config/environment.d.ts +25 -0
- package/dist/config/environment.d.ts.map +1 -0
- package/dist/config/environment.js +39 -0
- package/dist/config/environment.js.map +1 -0
- package/dist/errors/error-handler.d.ts.map +1 -1
- package/dist/errors/error-handler.js +18 -5
- package/dist/errors/error-handler.js.map +1 -1
- package/dist/errors/response-formatter.d.ts +3 -2
- package/dist/errors/response-formatter.d.ts.map +1 -1
- package/dist/errors/response-formatter.js +19 -2
- package/dist/errors/response-formatter.js.map +1 -1
- package/dist/server.js +85 -11
- package/dist/server.js.map +1 -1
- package/dist/tools/base-tool.d.ts +2 -2
- package/dist/tools/bill/bill-create.d.ts +4 -4
- package/dist/tools/bill/bill-delete.d.ts +6 -0
- package/dist/tools/bill/bill-delete.d.ts.map +1 -1
- package/dist/tools/bill/bill-list.d.ts +12 -12
- package/dist/tools/bill/bill-single.d.ts +4 -4
- package/dist/tools/bill/schemas.d.ts +28 -22
- package/dist/tools/bill/schemas.d.ts.map +1 -1
- package/dist/tools/bill/schemas.js +2 -0
- package/dist/tools/bill/schemas.js.map +1 -1
- package/dist/tools/bill-payment/billpayment-create.d.ts +4 -4
- package/dist/tools/bill-payment/billpayment-delete.d.ts +6 -0
- package/dist/tools/bill-payment/billpayment-delete.d.ts.map +1 -1
- package/dist/tools/bill-payment/billpayment-list.d.ts +12 -12
- package/dist/tools/bill-payment/billpayment-single.d.ts +4 -4
- package/dist/tools/bill-payment/billpayment-update.d.ts +4 -4
- package/dist/tools/bill-payment/schemas.d.ts +28 -22
- package/dist/tools/bill-payment/schemas.d.ts.map +1 -1
- package/dist/tools/bill-payment/schemas.js +2 -0
- package/dist/tools/bill-payment/schemas.js.map +1 -1
- package/dist/tools/bill-vendor/billvendor-create.d.ts +6 -6
- package/dist/tools/bill-vendor/billvendor-delete.d.ts +6 -0
- package/dist/tools/bill-vendor/billvendor-delete.d.ts.map +1 -1
- package/dist/tools/bill-vendor/billvendor-list.d.ts +14 -14
- package/dist/tools/bill-vendor/billvendor-single.d.ts +4 -4
- package/dist/tools/bill-vendor/billvendor-update.d.ts +6 -6
- package/dist/tools/bill-vendor/schemas.d.ts +34 -28
- package/dist/tools/bill-vendor/schemas.d.ts.map +1 -1
- package/dist/tools/bill-vendor/schemas.js +2 -0
- package/dist/tools/bill-vendor/schemas.js.map +1 -1
- package/dist/tools/callback/callback-create.d.ts +6 -6
- package/dist/tools/callback/callback-delete.d.ts +6 -0
- package/dist/tools/callback/callback-delete.d.ts.map +1 -1
- package/dist/tools/callback/callback-list.d.ts +12 -12
- package/dist/tools/callback/callback-resend-verification.d.ts +4 -4
- package/dist/tools/callback/callback-single.d.ts +4 -4
- package/dist/tools/callback/callback-update.d.ts +6 -6
- package/dist/tools/callback/schemas.d.ts +32 -26
- package/dist/tools/callback/schemas.d.ts.map +1 -1
- package/dist/tools/callback/schemas.js +2 -0
- package/dist/tools/callback/schemas.js.map +1 -1
- package/dist/tools/client/client-create.d.ts +2 -2
- package/dist/tools/client/client-delete.d.ts +8 -2
- package/dist/tools/client/client-delete.d.ts.map +1 -1
- package/dist/tools/client/client-list.d.ts +9 -9
- package/dist/tools/client/client-update.d.ts +2 -2
- package/dist/tools/client/schemas.d.ts +26 -20
- package/dist/tools/client/schemas.d.ts.map +1 -1
- package/dist/tools/client/schemas.js +2 -0
- package/dist/tools/client/schemas.js.map +1 -1
- package/dist/tools/credit-note/creditnote-create.d.ts +10 -10
- package/dist/tools/credit-note/creditnote-delete.d.ts +6 -0
- package/dist/tools/credit-note/creditnote-delete.d.ts.map +1 -1
- package/dist/tools/credit-note/creditnote-list.d.ts +14 -14
- package/dist/tools/credit-note/creditnote-single.d.ts +6 -6
- package/dist/tools/credit-note/creditnote-update.d.ts +10 -10
- package/dist/tools/credit-note/schemas.d.ts +42 -36
- package/dist/tools/credit-note/schemas.d.ts.map +1 -1
- package/dist/tools/credit-note/schemas.js +2 -0
- package/dist/tools/credit-note/schemas.js.map +1 -1
- package/dist/tools/expense/expense-create.d.ts +2 -2
- package/dist/tools/expense/expense-delete.d.ts +6 -0
- package/dist/tools/expense/expense-delete.d.ts.map +1 -1
- package/dist/tools/expense/expense-list.d.ts +8 -8
- package/dist/tools/expense/expense-single.d.ts +2 -2
- package/dist/tools/expense/expense-update.d.ts +2 -2
- package/dist/tools/expense/expense-update.d.ts.map +1 -1
- package/dist/tools/expense/expense-update.js +73 -30
- package/dist/tools/expense/expense-update.js.map +1 -1
- package/dist/tools/expense/schemas.d.ts +18 -12
- package/dist/tools/expense/schemas.d.ts.map +1 -1
- package/dist/tools/expense/schemas.js +2 -0
- package/dist/tools/expense/schemas.js.map +1 -1
- package/dist/tools/expense-category/expensecategory-list.d.ts +4 -4
- package/dist/tools/expense-category/schemas.d.ts +4 -4
- package/dist/tools/invoice/invoice-create.d.ts +10 -10
- package/dist/tools/invoice/invoice-delete.d.ts +6 -0
- package/dist/tools/invoice/invoice-delete.d.ts.map +1 -1
- package/dist/tools/invoice/invoice-list.d.ts +24 -24
- package/dist/tools/invoice/invoice-single.d.ts +10 -10
- package/dist/tools/invoice/invoice-update.d.ts +12 -12
- package/dist/tools/invoice/schemas.d.ts +56 -50
- package/dist/tools/invoice/schemas.d.ts.map +1 -1
- package/dist/tools/invoice/schemas.js +2 -0
- package/dist/tools/invoice/schemas.js.map +1 -1
- package/dist/tools/item/item-create.d.ts +8 -8
- package/dist/tools/item/item-list.d.ts +18 -18
- package/dist/tools/item/item-single.d.ts +6 -6
- package/dist/tools/item/item-update.d.ts +10 -10
- package/dist/tools/item/schemas.d.ts +38 -38
- package/dist/tools/journal-entry/journalentry-create.d.ts +4 -4
- package/dist/tools/journal-entry/schemas.d.ts +8 -8
- package/dist/tools/journal-entry-account/journalentryaccount-list.d.ts +14 -14
- package/dist/tools/journal-entry-account/schemas.d.ts +24 -24
- package/dist/tools/metadata.d.ts +13 -1
- package/dist/tools/metadata.d.ts.map +1 -1
- package/dist/tools/metadata.js +68 -1
- package/dist/tools/metadata.js.map +1 -1
- package/dist/tools/other-income/otherincome-create.d.ts +10 -10
- package/dist/tools/other-income/otherincome-delete.d.ts +6 -0
- package/dist/tools/other-income/otherincome-delete.d.ts.map +1 -1
- package/dist/tools/other-income/otherincome-list.d.ts +14 -14
- package/dist/tools/other-income/otherincome-single.d.ts +6 -6
- package/dist/tools/other-income/otherincome-update.d.ts +10 -10
- package/dist/tools/other-income/schemas.d.ts +40 -34
- package/dist/tools/other-income/schemas.d.ts.map +1 -1
- package/dist/tools/other-income/schemas.js +2 -0
- package/dist/tools/other-income/schemas.js.map +1 -1
- package/dist/tools/payment/payment-create.d.ts +2 -2
- package/dist/tools/payment/payment-delete.d.ts +6 -0
- package/dist/tools/payment/payment-delete.d.ts.map +1 -1
- package/dist/tools/payment/payment-list.d.ts +8 -8
- package/dist/tools/payment/payment-single.d.ts +2 -2
- package/dist/tools/payment/payment-update.d.ts +2 -2
- package/dist/tools/payment/schemas.d.ts +18 -12
- package/dist/tools/payment/schemas.d.ts.map +1 -1
- package/dist/tools/payment/schemas.js +3 -1
- package/dist/tools/payment/schemas.js.map +1 -1
- package/dist/tools/project/project-create.d.ts +8 -8
- package/dist/tools/project/project-delete.d.ts +8 -2
- package/dist/tools/project/project-delete.d.ts.map +1 -1
- package/dist/tools/project/project-list.d.ts +21 -21
- package/dist/tools/project/project-single.d.ts +6 -6
- package/dist/tools/project/project-update.d.ts +10 -10
- package/dist/tools/project/schemas.d.ts +52 -46
- package/dist/tools/project/schemas.d.ts.map +1 -1
- package/dist/tools/project/schemas.js +2 -0
- package/dist/tools/project/schemas.js.map +1 -1
- package/dist/tools/service/schemas.d.ts +11 -11
- package/dist/tools/service/service-create.d.ts +2 -2
- package/dist/tools/service/service-list.d.ts +8 -8
- package/dist/tools/task/schemas.d.ts +34 -28
- package/dist/tools/task/schemas.d.ts.map +1 -1
- package/dist/tools/task/schemas.js +2 -0
- package/dist/tools/task/schemas.js.map +1 -1
- package/dist/tools/task/task-create.d.ts +6 -6
- package/dist/tools/task/task-delete.d.ts +6 -0
- package/dist/tools/task/task-delete.d.ts.map +1 -1
- package/dist/tools/task/task-list.d.ts +18 -18
- package/dist/tools/task/task-single.d.ts +4 -4
- package/dist/tools/task/task-update.d.ts +8 -8
- package/dist/tools/time-entry/schemas.d.ts +42 -36
- package/dist/tools/time-entry/schemas.d.ts.map +1 -1
- package/dist/tools/time-entry/schemas.js +2 -0
- package/dist/tools/time-entry/schemas.js.map +1 -1
- package/dist/tools/time-entry/timeentry-create.d.ts +6 -6
- package/dist/tools/time-entry/timeentry-delete.d.ts +8 -2
- package/dist/tools/time-entry/timeentry-delete.d.ts.map +1 -1
- package/dist/tools/time-entry/timeentry-list.d.ts +17 -17
- package/dist/tools/time-entry/timeentry-single.d.ts +4 -4
- package/dist/tools/time-entry/timeentry-update.d.ts +6 -6
- package/dist/tools/timer/schemas.d.ts +30 -24
- package/dist/tools/timer/schemas.d.ts.map +1 -1
- package/dist/tools/timer/schemas.js +2 -0
- package/dist/tools/timer/schemas.js.map +1 -1
- package/dist/tools/timer/timer-current.d.ts +8 -8
- package/dist/tools/timer/timer-discard.d.ts +8 -2
- package/dist/tools/timer/timer-discard.d.ts.map +1 -1
- package/dist/tools/timer/timer-start.d.ts +6 -6
- package/dist/tools/timer/timer-stop.d.ts +4 -4
- package/dist/tools/types.d.ts +16 -0
- package/dist/tools/types.d.ts.map +1 -1
- package/dist/tools/types.js.map +1 -1
- package/dist/tools/user/schemas.d.ts +14 -14
- package/dist/tools/user/user-me.d.ts +6 -6
- package/dist/utils/logger.d.ts +9 -0
- package/dist/utils/logger.d.ts.map +1 -1
- package/dist/utils/logger.js +114 -20
- package/dist/utils/logger.js.map +1 -1
- package/dist/utils/sanitizer.d.ts +49 -0
- package/dist/utils/sanitizer.d.ts.map +1 -0
- package/dist/utils/sanitizer.js +163 -0
- package/dist/utils/sanitizer.js.map +1 -0
- 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" | "
|
|
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" | "
|
|
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" | "
|
|
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" | "
|
|
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" | "
|
|
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" | "
|
|
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" | "
|
|
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" | "
|
|
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" | "
|
|
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" | "
|
|
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" | "
|
|
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" | "
|
|
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;
|