@goodsamsoftware/freshbooks-mcp 1.0.9 → 1.0.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/tools/base-tool.d.ts +20 -54
- package/dist/tools/base-tool.d.ts.map +1 -1
- package/dist/tools/bill/bill-archive.d.ts +2 -14
- package/dist/tools/bill/bill-archive.d.ts.map +1 -1
- package/dist/tools/bill/bill-create.d.ts +16 -125
- package/dist/tools/bill/bill-create.d.ts.map +1 -1
- package/dist/tools/bill/bill-delete.d.ts +2 -18
- package/dist/tools/bill/bill-delete.d.ts.map +1 -1
- package/dist/tools/bill/bill-list.d.ts +22 -194
- package/dist/tools/bill/bill-list.d.ts.map +1 -1
- package/dist/tools/bill/bill-single.d.ts +14 -97
- package/dist/tools/bill/bill-single.d.ts.map +1 -1
- package/dist/tools/bill/schemas.d.ts +63 -460
- package/dist/tools/bill/schemas.d.ts.map +1 -1
- package/dist/tools/bill-payment/billpayment-create.d.ts +18 -62
- package/dist/tools/bill-payment/billpayment-create.d.ts.map +1 -1
- package/dist/tools/bill-payment/billpayment-delete.d.ts +2 -18
- package/dist/tools/bill-payment/billpayment-delete.d.ts.map +1 -1
- package/dist/tools/bill-payment/billpayment-list.d.ts +12 -103
- package/dist/tools/bill-payment/billpayment-list.d.ts.map +1 -1
- package/dist/tools/bill-payment/billpayment-single.d.ts +10 -41
- package/dist/tools/bill-payment/billpayment-single.d.ts.map +1 -1
- package/dist/tools/bill-payment/billpayment-update.d.ts +18 -62
- package/dist/tools/bill-payment/billpayment-update.d.ts.map +1 -1
- package/dist/tools/bill-payment/schemas.d.ts +60 -264
- package/dist/tools/bill-payment/schemas.d.ts.map +1 -1
- package/dist/tools/bill-vendor/billvendor-create.d.ts +3 -81
- package/dist/tools/bill-vendor/billvendor-create.d.ts.map +1 -1
- package/dist/tools/bill-vendor/billvendor-delete.d.ts +2 -18
- package/dist/tools/bill-vendor/billvendor-delete.d.ts.map +1 -1
- package/dist/tools/bill-vendor/billvendor-list.d.ts +5 -127
- package/dist/tools/bill-vendor/billvendor-list.d.ts.map +1 -1
- package/dist/tools/bill-vendor/billvendor-single.d.ts +3 -51
- package/dist/tools/bill-vendor/billvendor-single.d.ts.map +1 -1
- package/dist/tools/bill-vendor/billvendor-update.d.ts +3 -83
- package/dist/tools/bill-vendor/billvendor-update.d.ts.map +1 -1
- package/dist/tools/bill-vendor/schemas.d.ts +15 -327
- package/dist/tools/bill-vendor/schemas.d.ts.map +1 -1
- package/dist/tools/callback/callback-create.d.ts +2 -24
- package/dist/tools/callback/callback-create.d.ts.map +1 -1
- package/dist/tools/callback/callback-delete.d.ts +2 -18
- package/dist/tools/callback/callback-delete.d.ts.map +1 -1
- package/dist/tools/callback/callback-list.d.ts +4 -66
- package/dist/tools/callback/callback-list.d.ts.map +1 -1
- package/dist/tools/callback/callback-resend-verification.d.ts +2 -22
- package/dist/tools/callback/callback-resend-verification.d.ts.map +1 -1
- package/dist/tools/callback/callback-single.d.ts +2 -22
- package/dist/tools/callback/callback-single.d.ts.map +1 -1
- package/dist/tools/callback/callback-update.d.ts +2 -26
- package/dist/tools/callback/callback-update.d.ts.map +1 -1
- package/dist/tools/callback/callback-verify.d.ts +2 -18
- package/dist/tools/callback/callback-verify.d.ts.map +1 -1
- package/dist/tools/callback/schemas.d.ts +15 -177
- package/dist/tools/callback/schemas.d.ts.map +1 -1
- package/dist/tools/client/client-create.d.ts +3 -129
- package/dist/tools/client/client-create.d.ts.map +1 -1
- package/dist/tools/client/client-delete.d.ts +2 -18
- package/dist/tools/client/client-delete.d.ts.map +1 -1
- package/dist/tools/client/client-list.d.ts +21 -197
- package/dist/tools/client/client-list.d.ts.map +1 -1
- package/dist/tools/client/client-single.d.ts +3 -77
- package/dist/tools/client/client-single.d.ts.map +1 -1
- package/dist/tools/client/client-update.d.ts +4 -134
- package/dist/tools/client/client-update.d.ts.map +1 -1
- package/dist/tools/client/schemas.d.ts +50 -512
- package/dist/tools/client/schemas.d.ts.map +1 -1
- package/dist/tools/credit-note/creditnote-create.d.ts +18 -367
- package/dist/tools/credit-note/creditnote-create.d.ts.map +1 -1
- package/dist/tools/credit-note/creditnote-delete.d.ts +2 -18
- package/dist/tools/credit-note/creditnote-delete.d.ts.map +1 -1
- package/dist/tools/credit-note/creditnote-list.d.ts +24 -552
- package/dist/tools/credit-note/creditnote-list.d.ts.map +1 -1
- package/dist/tools/credit-note/creditnote-single.d.ts +14 -291
- package/dist/tools/credit-note/creditnote-single.d.ts.map +1 -1
- package/dist/tools/credit-note/creditnote-update.d.ts +18 -363
- package/dist/tools/credit-note/creditnote-update.d.ts.map +1 -1
- package/dist/tools/credit-note/schemas.d.ts +72 -1355
- package/dist/tools/credit-note/schemas.d.ts.map +1 -1
- package/dist/tools/expense/expense-create.d.ts +13 -132
- package/dist/tools/expense/expense-create.d.ts.map +1 -1
- package/dist/tools/expense/expense-delete.d.ts +2 -18
- package/dist/tools/expense/expense-delete.d.ts.map +1 -1
- package/dist/tools/expense/expense-list.d.ts +20 -202
- package/dist/tools/expense/expense-list.d.ts.map +1 -1
- package/dist/tools/expense/expense-single.d.ts +12 -95
- package/dist/tools/expense/expense-single.d.ts.map +1 -1
- package/dist/tools/expense/expense-update.d.ts +14 -135
- package/dist/tools/expense/expense-update.d.ts.map +1 -1
- package/dist/tools/expense/schemas.d.ts +56 -495
- package/dist/tools/expense/schemas.d.ts.map +1 -1
- package/dist/tools/expense-category/expensecategory-list.d.ts +5 -75
- package/dist/tools/expense-category/expensecategory-list.d.ts.map +1 -1
- package/dist/tools/expense-category/expensecategory-single.d.ts +3 -27
- package/dist/tools/expense-category/expensecategory-single.d.ts.map +1 -1
- package/dist/tools/expense-category/schemas.d.ts +10 -122
- package/dist/tools/expense-category/schemas.d.ts.map +1 -1
- package/dist/tools/invoice/invoice-create.d.ts +30 -280
- package/dist/tools/invoice/invoice-create.d.ts.map +1 -1
- package/dist/tools/invoice/invoice-delete.d.ts +2 -18
- package/dist/tools/invoice/invoice-delete.d.ts.map +1 -1
- package/dist/tools/invoice/invoice-list.d.ts +62 -360
- package/dist/tools/invoice/invoice-list.d.ts.map +1 -1
- package/dist/tools/invoice/invoice-share-link.d.ts +2 -14
- package/dist/tools/invoice/invoice-share-link.d.ts.map +1 -1
- package/dist/tools/invoice/invoice-single.d.ts +27 -197
- package/dist/tools/invoice/invoice-single.d.ts.map +1 -1
- package/dist/tools/invoice/invoice-update.d.ts +42 -285
- package/dist/tools/invoice/invoice-update.d.ts.map +1 -1
- package/dist/tools/invoice/schemas.d.ts +183 -1090
- package/dist/tools/invoice/schemas.d.ts.map +1 -1
- package/dist/tools/item/item-create.d.ts +15 -87
- package/dist/tools/item/item-create.d.ts.map +1 -1
- package/dist/tools/item/item-list.d.ts +16 -130
- package/dist/tools/item/item-list.d.ts.map +1 -1
- package/dist/tools/item/item-single.d.ts +9 -55
- package/dist/tools/item/item-single.d.ts.map +1 -1
- package/dist/tools/item/item-update.d.ts +15 -89
- package/dist/tools/item/item-update.d.ts.map +1 -1
- package/dist/tools/item/schemas.d.ts +53 -325
- package/dist/tools/item/schemas.d.ts.map +1 -1
- package/dist/tools/journal-entry/journalentry-create.d.ts +4 -74
- package/dist/tools/journal-entry/journalentry-create.d.ts.map +1 -1
- package/dist/tools/journal-entry/schemas.d.ts +7 -123
- package/dist/tools/journal-entry/schemas.d.ts.map +1 -1
- package/dist/tools/journal-entry-account/journalentryaccount-list.d.ts +13 -147
- package/dist/tools/journal-entry-account/journalentryaccount-list.d.ts.map +1 -1
- package/dist/tools/journal-entry-account/schemas.d.ts +19 -263
- package/dist/tools/journal-entry-account/schemas.d.ts.map +1 -1
- package/dist/tools/other-income/otherincome-create.d.ts +43 -107
- package/dist/tools/other-income/otherincome-create.d.ts.map +1 -1
- package/dist/tools/other-income/otherincome-delete.d.ts +2 -18
- package/dist/tools/other-income/otherincome-delete.d.ts.map +1 -1
- package/dist/tools/other-income/otherincome-list.d.ts +25 -140
- package/dist/tools/other-income/otherincome-list.d.ts.map +1 -1
- package/dist/tools/other-income/otherincome-single.d.ts +23 -64
- package/dist/tools/other-income/otherincome-single.d.ts.map +1 -1
- package/dist/tools/other-income/otherincome-update.d.ts +43 -109
- package/dist/tools/other-income/otherincome-update.d.ts.map +1 -1
- package/dist/tools/other-income/schemas.d.ts +132 -382
- package/dist/tools/other-income/schemas.d.ts.map +1 -1
- package/dist/tools/payment/payment-create.d.ts +33 -81
- package/dist/tools/payment/payment-create.d.ts.map +1 -1
- package/dist/tools/payment/payment-delete.d.ts +2 -18
- package/dist/tools/payment/payment-delete.d.ts.map +1 -1
- package/dist/tools/payment/payment-list.d.ts +20 -135
- package/dist/tools/payment/payment-list.d.ts.map +1 -1
- package/dist/tools/payment/payment-single.d.ts +18 -57
- package/dist/tools/payment/payment-single.d.ts.map +1 -1
- package/dist/tools/payment/payment-update.d.ts +33 -79
- package/dist/tools/payment/payment-update.d.ts.map +1 -1
- package/dist/tools/payment/schemas.d.ts +103 -321
- package/dist/tools/payment/schemas.d.ts.map +1 -1
- package/dist/tools/payment-options/paymentoptions-create.d.ts +11 -55
- package/dist/tools/payment-options/paymentoptions-create.d.ts.map +1 -1
- package/dist/tools/payment-options/paymentoptions-default.d.ts +2 -18
- package/dist/tools/payment-options/paymentoptions-default.d.ts.map +1 -1
- package/dist/tools/payment-options/paymentoptions-single.d.ts +11 -45
- package/dist/tools/payment-options/paymentoptions-single.d.ts.map +1 -1
- package/dist/tools/payment-options/schemas.d.ts +25 -125
- package/dist/tools/payment-options/schemas.d.ts.map +1 -1
- package/dist/tools/project/project-create.d.ts +28 -86
- package/dist/tools/project/project-create.d.ts.map +1 -1
- package/dist/tools/project/project-delete.d.ts +2 -18
- package/dist/tools/project/project-delete.d.ts.map +1 -1
- package/dist/tools/project/project-list.d.ts +34 -167
- package/dist/tools/project/project-list.d.ts.map +1 -1
- package/dist/tools/project/project-single.d.ts +23 -67
- package/dist/tools/project/project-single.d.ts.map +1 -1
- package/dist/tools/project/project-update.d.ts +28 -92
- package/dist/tools/project/project-update.d.ts.map +1 -1
- package/dist/tools/project/schemas.d.ts +130 -402
- package/dist/tools/project/schemas.d.ts.map +1 -1
- package/dist/tools/report/report-payments-collected.d.ts +5 -82
- package/dist/tools/report/report-payments-collected.d.ts.map +1 -1
- package/dist/tools/report/report-profit-loss.d.ts +8 -101
- package/dist/tools/report/report-profit-loss.d.ts.map +1 -1
- package/dist/tools/report/report-tax-summary.d.ts +7 -116
- package/dist/tools/report/report-tax-summary.d.ts.map +1 -1
- package/dist/tools/report/schemas.d.ts +47 -678
- package/dist/tools/report/schemas.d.ts.map +1 -1
- package/dist/tools/service/schemas.d.ts +10 -102
- package/dist/tools/service/schemas.d.ts.map +1 -1
- package/dist/tools/service/service-create.d.ts +2 -18
- package/dist/tools/service/service-create.d.ts.map +1 -1
- package/dist/tools/service/service-list.d.ts +8 -76
- package/dist/tools/service/service-list.d.ts.map +1 -1
- package/dist/tools/service/service-rate-get.d.ts +4 -28
- package/dist/tools/service/service-rate-get.d.ts.map +1 -1
- package/dist/tools/service/service-rate-set.d.ts +4 -36
- package/dist/tools/service/service-rate-set.d.ts.map +1 -1
- package/dist/tools/service/service-single.d.ts +2 -14
- package/dist/tools/service/service-single.d.ts.map +1 -1
- package/dist/tools/task/schemas.d.ts +16 -216
- package/dist/tools/task/schemas.d.ts.map +1 -1
- package/dist/tools/task/task-create.d.ts +5 -64
- package/dist/tools/task/task-create.d.ts.map +1 -1
- package/dist/tools/task/task-delete.d.ts +2 -19
- package/dist/tools/task/task-delete.d.ts.map +1 -1
- package/dist/tools/task/task-list.d.ts +7 -113
- package/dist/tools/task/task-list.d.ts.map +1 -1
- package/dist/tools/task/task-single.d.ts +4 -45
- package/dist/tools/task/task-single.d.ts.map +1 -1
- package/dist/tools/task/task-update.d.ts +6 -69
- package/dist/tools/task/task-update.d.ts.map +1 -1
- package/dist/tools/time-entry/schemas.d.ts +50 -404
- package/dist/tools/time-entry/schemas.d.ts.map +1 -1
- package/dist/tools/time-entry/timeentry-create.d.ts +3 -85
- package/dist/tools/time-entry/timeentry-create.d.ts.map +1 -1
- package/dist/tools/time-entry/timeentry-delete.d.ts +2 -20
- package/dist/tools/time-entry/timeentry-delete.d.ts.map +1 -1
- package/dist/tools/time-entry/timeentry-list.d.ts +22 -172
- package/dist/tools/time-entry/timeentry-list.d.ts.map +1 -1
- package/dist/tools/time-entry/timeentry-single.d.ts +3 -63
- package/dist/tools/time-entry/timeentry-single.d.ts.map +1 -1
- package/dist/tools/time-entry/timeentry-update.d.ts +3 -87
- package/dist/tools/time-entry/timeentry-update.d.ts.map +1 -1
- package/dist/tools/timer/schemas.d.ts +16 -351
- package/dist/tools/timer/schemas.d.ts.map +1 -1
- package/dist/tools/timer/timer-current.d.ts +4 -116
- package/dist/tools/timer/timer-current.d.ts.map +1 -1
- package/dist/tools/timer/timer-discard.d.ts +2 -23
- package/dist/tools/timer/timer-discard.d.ts.map +1 -1
- package/dist/tools/timer/timer-start.d.ts +3 -76
- package/dist/tools/timer/timer-start.d.ts.map +1 -1
- package/dist/tools/timer/timer-stop.d.ts +3 -68
- package/dist/tools/timer/timer-stop.d.ts.map +1 -1
- package/dist/tools/user/schemas.d.ts +12 -190
- package/dist/tools/user/schemas.d.ts.map +1 -1
- package/dist/tools/user/user-me.d.ts +6 -90
- package/dist/tools/user/user-me.d.ts.map +1 -1
- package/dist/utils/pagination.d.ts +1 -7
- package/dist/utils/pagination.d.ts.map +1 -1
- package/package.json +4 -4
|
@@ -24,37 +24,50 @@ export declare const PROJECT_INCLUDE_DESCRIPTIONS: Record<typeof PROJECT_INCLUDE
|
|
|
24
24
|
* Project sort schema
|
|
25
25
|
*/
|
|
26
26
|
export declare const ProjectSortSchema: z.ZodObject<{
|
|
27
|
-
sortBy: z.ZodOptional<z.ZodEnum<
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
}
|
|
27
|
+
sortBy: z.ZodOptional<z.ZodEnum<{
|
|
28
|
+
created_at: "created_at";
|
|
29
|
+
title: "title";
|
|
30
|
+
due_date: "due_date";
|
|
31
|
+
}>>;
|
|
32
|
+
sortOrder: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
33
|
+
asc: "asc";
|
|
34
|
+
desc: "desc";
|
|
35
|
+
}>>>;
|
|
36
|
+
}, z.core.$strip>;
|
|
36
37
|
/**
|
|
37
38
|
* Project includes schema
|
|
38
39
|
*/
|
|
39
40
|
export declare const ProjectIncludesSchema: z.ZodObject<{
|
|
40
|
-
include: z.ZodOptional<z.ZodArray<z.ZodEnum<
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
}>;
|
|
41
|
+
include: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
42
|
+
client: "client";
|
|
43
|
+
services: "services";
|
|
44
|
+
group: "group";
|
|
45
|
+
}>>>;
|
|
46
|
+
}, z.core.$strip>;
|
|
46
47
|
/**
|
|
47
48
|
* Billing method enum - how the project is billed
|
|
48
49
|
*/
|
|
49
|
-
export declare const BillingMethodEnum: z.ZodEnum<
|
|
50
|
+
export declare const BillingMethodEnum: z.ZodEnum<{
|
|
51
|
+
project_rate: "project_rate";
|
|
52
|
+
service_rate: "service_rate";
|
|
53
|
+
flat_rate: "flat_rate";
|
|
54
|
+
team_member_rate: "team_member_rate";
|
|
55
|
+
}>;
|
|
50
56
|
/**
|
|
51
57
|
* Project type enum
|
|
52
58
|
*/
|
|
53
|
-
export declare const ProjectTypeEnum: z.ZodEnum<
|
|
59
|
+
export declare const ProjectTypeEnum: z.ZodEnum<{
|
|
60
|
+
fixed_price: "fixed_price";
|
|
61
|
+
hourly_rate: "hourly_rate";
|
|
62
|
+
}>;
|
|
54
63
|
/**
|
|
55
64
|
* Billed status enum
|
|
56
65
|
*/
|
|
57
|
-
export declare const BilledStatusEnum: z.ZodEnum<
|
|
66
|
+
export declare const BilledStatusEnum: z.ZodEnum<{
|
|
67
|
+
unbilled: "unbilled";
|
|
68
|
+
partial: "partial";
|
|
69
|
+
billed: "billed";
|
|
70
|
+
}>;
|
|
58
71
|
/**
|
|
59
72
|
* Full Project schema with all properties
|
|
60
73
|
*/
|
|
@@ -68,8 +81,16 @@ export declare const ProjectSchema: z.ZodObject<{
|
|
|
68
81
|
budget: z.ZodNullable<z.ZodString>;
|
|
69
82
|
fixedPrice: z.ZodNullable<z.ZodString>;
|
|
70
83
|
rate: z.ZodNullable<z.ZodString>;
|
|
71
|
-
billingMethod: z.ZodNullable<z.ZodEnum<
|
|
72
|
-
|
|
84
|
+
billingMethod: z.ZodNullable<z.ZodEnum<{
|
|
85
|
+
project_rate: "project_rate";
|
|
86
|
+
service_rate: "service_rate";
|
|
87
|
+
flat_rate: "flat_rate";
|
|
88
|
+
team_member_rate: "team_member_rate";
|
|
89
|
+
}>>;
|
|
90
|
+
projectType: z.ZodEnum<{
|
|
91
|
+
fixed_price: "fixed_price";
|
|
92
|
+
hourly_rate: "hourly_rate";
|
|
93
|
+
}>;
|
|
73
94
|
projectManagerId: z.ZodNullable<z.ZodString>;
|
|
74
95
|
active: z.ZodBoolean;
|
|
75
96
|
complete: z.ZodBoolean;
|
|
@@ -77,66 +98,18 @@ export declare const ProjectSchema: z.ZodObject<{
|
|
|
77
98
|
createdAt: z.ZodString;
|
|
78
99
|
updatedAt: z.ZodString;
|
|
79
100
|
loggedDuration: z.ZodNullable<z.ZodNumber>;
|
|
80
|
-
services: z.ZodNullable<z.ZodArray<z.ZodAny
|
|
101
|
+
services: z.ZodNullable<z.ZodArray<z.ZodAny>>;
|
|
81
102
|
billedAmount: z.ZodNumber;
|
|
82
|
-
billedStatus: z.ZodEnum<
|
|
103
|
+
billedStatus: z.ZodEnum<{
|
|
104
|
+
unbilled: "unbilled";
|
|
105
|
+
partial: "partial";
|
|
106
|
+
billed: "billed";
|
|
107
|
+
}>;
|
|
83
108
|
retainerId: z.ZodNullable<z.ZodString>;
|
|
84
109
|
expenseMarkup: z.ZodNumber;
|
|
85
110
|
groupId: z.ZodNullable<z.ZodString>;
|
|
86
111
|
group: z.ZodNullable<z.ZodAny>;
|
|
87
|
-
},
|
|
88
|
-
id: number;
|
|
89
|
-
createdAt: string;
|
|
90
|
-
clientId: string | null;
|
|
91
|
-
active: boolean;
|
|
92
|
-
internal: boolean;
|
|
93
|
-
retainerId: string | null;
|
|
94
|
-
title: string;
|
|
95
|
-
services: any[] | null;
|
|
96
|
-
description: string | null;
|
|
97
|
-
dueDate: string | null;
|
|
98
|
-
budget: string | null;
|
|
99
|
-
fixedPrice: string | null;
|
|
100
|
-
rate: string | null;
|
|
101
|
-
billingMethod: "project_rate" | "service_rate" | "flat_rate" | "team_member_rate" | null;
|
|
102
|
-
projectType: "fixed_price" | "hourly_rate";
|
|
103
|
-
projectManagerId: string | null;
|
|
104
|
-
complete: boolean;
|
|
105
|
-
sample: boolean;
|
|
106
|
-
updatedAt: string;
|
|
107
|
-
loggedDuration: number | null;
|
|
108
|
-
billedAmount: number;
|
|
109
|
-
billedStatus: "unbilled" | "partial" | "billed";
|
|
110
|
-
expenseMarkup: number;
|
|
111
|
-
groupId: string | null;
|
|
112
|
-
group?: any;
|
|
113
|
-
}, {
|
|
114
|
-
id: number;
|
|
115
|
-
createdAt: string;
|
|
116
|
-
clientId: string | null;
|
|
117
|
-
active: boolean;
|
|
118
|
-
internal: boolean;
|
|
119
|
-
retainerId: string | null;
|
|
120
|
-
title: string;
|
|
121
|
-
services: any[] | null;
|
|
122
|
-
description: string | null;
|
|
123
|
-
dueDate: string | null;
|
|
124
|
-
budget: string | null;
|
|
125
|
-
fixedPrice: string | null;
|
|
126
|
-
rate: string | null;
|
|
127
|
-
billingMethod: "project_rate" | "service_rate" | "flat_rate" | "team_member_rate" | null;
|
|
128
|
-
projectType: "fixed_price" | "hourly_rate";
|
|
129
|
-
projectManagerId: string | null;
|
|
130
|
-
complete: boolean;
|
|
131
|
-
sample: boolean;
|
|
132
|
-
updatedAt: string;
|
|
133
|
-
loggedDuration: number | null;
|
|
134
|
-
billedAmount: number;
|
|
135
|
-
billedStatus: "unbilled" | "partial" | "billed";
|
|
136
|
-
expenseMarkup: number;
|
|
137
|
-
groupId: string | null;
|
|
138
|
-
group?: any;
|
|
139
|
-
}>;
|
|
112
|
+
}, z.core.$strip>;
|
|
140
113
|
/**
|
|
141
114
|
* Input schema for creating a project
|
|
142
115
|
*/
|
|
@@ -149,37 +122,19 @@ export declare const ProjectCreateInputSchema: z.ZodObject<{
|
|
|
149
122
|
budget: z.ZodOptional<z.ZodString>;
|
|
150
123
|
fixedPrice: z.ZodOptional<z.ZodString>;
|
|
151
124
|
rate: z.ZodOptional<z.ZodString>;
|
|
152
|
-
billingMethod: z.ZodOptional<z.ZodEnum<
|
|
153
|
-
|
|
125
|
+
billingMethod: z.ZodOptional<z.ZodEnum<{
|
|
126
|
+
project_rate: "project_rate";
|
|
127
|
+
service_rate: "service_rate";
|
|
128
|
+
flat_rate: "flat_rate";
|
|
129
|
+
team_member_rate: "team_member_rate";
|
|
130
|
+
}>>;
|
|
131
|
+
projectType: z.ZodOptional<z.ZodEnum<{
|
|
132
|
+
fixed_price: "fixed_price";
|
|
133
|
+
hourly_rate: "hourly_rate";
|
|
134
|
+
}>>;
|
|
154
135
|
internal: z.ZodOptional<z.ZodBoolean>;
|
|
155
136
|
projectManagerId: z.ZodOptional<z.ZodString>;
|
|
156
|
-
},
|
|
157
|
-
businessId: number;
|
|
158
|
-
title: string;
|
|
159
|
-
clientId?: string | undefined;
|
|
160
|
-
internal?: boolean | undefined;
|
|
161
|
-
description?: string | undefined;
|
|
162
|
-
dueDate?: string | undefined;
|
|
163
|
-
budget?: string | undefined;
|
|
164
|
-
fixedPrice?: string | undefined;
|
|
165
|
-
rate?: string | undefined;
|
|
166
|
-
billingMethod?: "project_rate" | "service_rate" | "flat_rate" | "team_member_rate" | undefined;
|
|
167
|
-
projectType?: "fixed_price" | "hourly_rate" | undefined;
|
|
168
|
-
projectManagerId?: string | undefined;
|
|
169
|
-
}, {
|
|
170
|
-
businessId: number;
|
|
171
|
-
title: string;
|
|
172
|
-
clientId?: string | undefined;
|
|
173
|
-
internal?: boolean | undefined;
|
|
174
|
-
description?: string | undefined;
|
|
175
|
-
dueDate?: string | undefined;
|
|
176
|
-
budget?: string | undefined;
|
|
177
|
-
fixedPrice?: string | undefined;
|
|
178
|
-
rate?: string | undefined;
|
|
179
|
-
billingMethod?: "project_rate" | "service_rate" | "flat_rate" | "team_member_rate" | undefined;
|
|
180
|
-
projectType?: "fixed_price" | "hourly_rate" | undefined;
|
|
181
|
-
projectManagerId?: string | undefined;
|
|
182
|
-
}>;
|
|
137
|
+
}, z.core.$strip>;
|
|
183
138
|
/**
|
|
184
139
|
* Input schema for updating a project
|
|
185
140
|
*/
|
|
@@ -193,45 +148,21 @@ export declare const ProjectUpdateInputSchema: z.ZodObject<{
|
|
|
193
148
|
budget: z.ZodOptional<z.ZodString>;
|
|
194
149
|
fixedPrice: z.ZodOptional<z.ZodString>;
|
|
195
150
|
rate: z.ZodOptional<z.ZodString>;
|
|
196
|
-
billingMethod: z.ZodOptional<z.ZodEnum<
|
|
197
|
-
|
|
151
|
+
billingMethod: z.ZodOptional<z.ZodEnum<{
|
|
152
|
+
project_rate: "project_rate";
|
|
153
|
+
service_rate: "service_rate";
|
|
154
|
+
flat_rate: "flat_rate";
|
|
155
|
+
team_member_rate: "team_member_rate";
|
|
156
|
+
}>>;
|
|
157
|
+
projectType: z.ZodOptional<z.ZodEnum<{
|
|
158
|
+
fixed_price: "fixed_price";
|
|
159
|
+
hourly_rate: "hourly_rate";
|
|
160
|
+
}>>;
|
|
198
161
|
internal: z.ZodOptional<z.ZodBoolean>;
|
|
199
162
|
projectManagerId: z.ZodOptional<z.ZodString>;
|
|
200
163
|
active: z.ZodOptional<z.ZodBoolean>;
|
|
201
164
|
complete: z.ZodOptional<z.ZodBoolean>;
|
|
202
|
-
},
|
|
203
|
-
businessId: number;
|
|
204
|
-
projectId: number;
|
|
205
|
-
clientId?: string | undefined;
|
|
206
|
-
active?: boolean | undefined;
|
|
207
|
-
internal?: boolean | undefined;
|
|
208
|
-
title?: string | undefined;
|
|
209
|
-
description?: string | undefined;
|
|
210
|
-
dueDate?: string | undefined;
|
|
211
|
-
budget?: string | undefined;
|
|
212
|
-
fixedPrice?: string | undefined;
|
|
213
|
-
rate?: string | undefined;
|
|
214
|
-
billingMethod?: "project_rate" | "service_rate" | "flat_rate" | "team_member_rate" | undefined;
|
|
215
|
-
projectType?: "fixed_price" | "hourly_rate" | undefined;
|
|
216
|
-
projectManagerId?: string | undefined;
|
|
217
|
-
complete?: boolean | undefined;
|
|
218
|
-
}, {
|
|
219
|
-
businessId: number;
|
|
220
|
-
projectId: number;
|
|
221
|
-
clientId?: string | undefined;
|
|
222
|
-
active?: boolean | undefined;
|
|
223
|
-
internal?: boolean | undefined;
|
|
224
|
-
title?: string | undefined;
|
|
225
|
-
description?: string | undefined;
|
|
226
|
-
dueDate?: string | undefined;
|
|
227
|
-
budget?: string | undefined;
|
|
228
|
-
fixedPrice?: string | undefined;
|
|
229
|
-
rate?: string | undefined;
|
|
230
|
-
billingMethod?: "project_rate" | "service_rate" | "flat_rate" | "team_member_rate" | undefined;
|
|
231
|
-
projectType?: "fixed_price" | "hourly_rate" | undefined;
|
|
232
|
-
projectManagerId?: string | undefined;
|
|
233
|
-
complete?: boolean | undefined;
|
|
234
|
-
}>;
|
|
165
|
+
}, z.core.$strip>;
|
|
235
166
|
/**
|
|
236
167
|
* Input schema for listing projects
|
|
237
168
|
*/
|
|
@@ -244,52 +175,33 @@ export declare const ProjectListInputSchema: z.ZodObject<{
|
|
|
244
175
|
complete: z.ZodOptional<z.ZodBoolean>;
|
|
245
176
|
internal: z.ZodOptional<z.ZodBoolean>;
|
|
246
177
|
title: z.ZodOptional<z.ZodString>;
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
title?: string | undefined;
|
|
263
|
-
complete?: boolean | undefined;
|
|
264
|
-
}, {
|
|
265
|
-
businessId: number;
|
|
266
|
-
page?: number | undefined;
|
|
267
|
-
perPage?: number | undefined;
|
|
268
|
-
sortBy?: "created_at" | "title" | "due_date" | undefined;
|
|
269
|
-
sortOrder?: "asc" | "desc" | undefined;
|
|
270
|
-
include?: ("client" | "services" | "group")[] | undefined;
|
|
271
|
-
clientId?: string | undefined;
|
|
272
|
-
active?: boolean | undefined;
|
|
273
|
-
internal?: boolean | undefined;
|
|
274
|
-
title?: string | undefined;
|
|
275
|
-
complete?: boolean | undefined;
|
|
276
|
-
}>;
|
|
178
|
+
sortBy: z.ZodOptional<z.ZodEnum<{
|
|
179
|
+
created_at: "created_at";
|
|
180
|
+
title: "title";
|
|
181
|
+
due_date: "due_date";
|
|
182
|
+
}>>;
|
|
183
|
+
sortOrder: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
184
|
+
asc: "asc";
|
|
185
|
+
desc: "desc";
|
|
186
|
+
}>>>;
|
|
187
|
+
include: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
188
|
+
client: "client";
|
|
189
|
+
services: "services";
|
|
190
|
+
group: "group";
|
|
191
|
+
}>>>;
|
|
192
|
+
}, z.core.$strip>;
|
|
277
193
|
/**
|
|
278
194
|
* Input schema for getting a single project
|
|
279
195
|
*/
|
|
280
196
|
export declare const ProjectSingleInputSchema: z.ZodObject<{
|
|
281
197
|
businessId: z.ZodNumber;
|
|
282
198
|
projectId: z.ZodNumber;
|
|
283
|
-
includes: z.ZodOptional<z.ZodArray<z.ZodEnum<
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
},
|
|
289
|
-
businessId: number;
|
|
290
|
-
projectId: number;
|
|
291
|
-
includes?: ("client" | "services" | "group")[] | undefined;
|
|
292
|
-
}>;
|
|
199
|
+
includes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
200
|
+
client: "client";
|
|
201
|
+
services: "services";
|
|
202
|
+
group: "group";
|
|
203
|
+
}>>>;
|
|
204
|
+
}, z.core.$strip>;
|
|
293
205
|
/**
|
|
294
206
|
* Input schema for deleting a project
|
|
295
207
|
*/
|
|
@@ -298,17 +210,7 @@ export declare const ProjectDeleteInputSchema: z.ZodObject<{
|
|
|
298
210
|
projectId: z.ZodNumber;
|
|
299
211
|
confirmed: z.ZodOptional<z.ZodBoolean>;
|
|
300
212
|
confirmationId: z.ZodOptional<z.ZodString>;
|
|
301
|
-
},
|
|
302
|
-
businessId: number;
|
|
303
|
-
projectId: number;
|
|
304
|
-
confirmed?: boolean | undefined;
|
|
305
|
-
confirmationId?: string | undefined;
|
|
306
|
-
}, {
|
|
307
|
-
businessId: number;
|
|
308
|
-
projectId: number;
|
|
309
|
-
confirmed?: boolean | undefined;
|
|
310
|
-
confirmationId?: string | undefined;
|
|
311
|
-
}>;
|
|
213
|
+
}, z.core.$strip>;
|
|
312
214
|
/**
|
|
313
215
|
* Pagination metadata schema
|
|
314
216
|
*/
|
|
@@ -317,17 +219,7 @@ export declare const PaginationMetadataSchema: z.ZodObject<{
|
|
|
317
219
|
pages: z.ZodNumber;
|
|
318
220
|
perPage: z.ZodNumber;
|
|
319
221
|
total: z.ZodNumber;
|
|
320
|
-
},
|
|
321
|
-
page: number;
|
|
322
|
-
perPage: number;
|
|
323
|
-
pages: number;
|
|
324
|
-
total: number;
|
|
325
|
-
}, {
|
|
326
|
-
page: number;
|
|
327
|
-
perPage: number;
|
|
328
|
-
pages: number;
|
|
329
|
-
total: number;
|
|
330
|
-
}>;
|
|
222
|
+
}, z.core.$strip>;
|
|
331
223
|
/**
|
|
332
224
|
* Output schema for project list
|
|
333
225
|
*/
|
|
@@ -342,8 +234,16 @@ export declare const ProjectListOutputSchema: z.ZodObject<{
|
|
|
342
234
|
budget: z.ZodNullable<z.ZodString>;
|
|
343
235
|
fixedPrice: z.ZodNullable<z.ZodString>;
|
|
344
236
|
rate: z.ZodNullable<z.ZodString>;
|
|
345
|
-
billingMethod: z.ZodNullable<z.ZodEnum<
|
|
346
|
-
|
|
237
|
+
billingMethod: z.ZodNullable<z.ZodEnum<{
|
|
238
|
+
project_rate: "project_rate";
|
|
239
|
+
service_rate: "service_rate";
|
|
240
|
+
flat_rate: "flat_rate";
|
|
241
|
+
team_member_rate: "team_member_rate";
|
|
242
|
+
}>>;
|
|
243
|
+
projectType: z.ZodEnum<{
|
|
244
|
+
fixed_price: "fixed_price";
|
|
245
|
+
hourly_rate: "hourly_rate";
|
|
246
|
+
}>;
|
|
347
247
|
projectManagerId: z.ZodNullable<z.ZodString>;
|
|
348
248
|
active: z.ZodBoolean;
|
|
349
249
|
complete: z.ZodBoolean;
|
|
@@ -351,151 +251,25 @@ export declare const ProjectListOutputSchema: z.ZodObject<{
|
|
|
351
251
|
createdAt: z.ZodString;
|
|
352
252
|
updatedAt: z.ZodString;
|
|
353
253
|
loggedDuration: z.ZodNullable<z.ZodNumber>;
|
|
354
|
-
services: z.ZodNullable<z.ZodArray<z.ZodAny
|
|
254
|
+
services: z.ZodNullable<z.ZodArray<z.ZodAny>>;
|
|
355
255
|
billedAmount: z.ZodNumber;
|
|
356
|
-
billedStatus: z.ZodEnum<
|
|
256
|
+
billedStatus: z.ZodEnum<{
|
|
257
|
+
unbilled: "unbilled";
|
|
258
|
+
partial: "partial";
|
|
259
|
+
billed: "billed";
|
|
260
|
+
}>;
|
|
357
261
|
retainerId: z.ZodNullable<z.ZodString>;
|
|
358
262
|
expenseMarkup: z.ZodNumber;
|
|
359
263
|
groupId: z.ZodNullable<z.ZodString>;
|
|
360
264
|
group: z.ZodNullable<z.ZodAny>;
|
|
361
|
-
},
|
|
362
|
-
id: number;
|
|
363
|
-
createdAt: string;
|
|
364
|
-
clientId: string | null;
|
|
365
|
-
active: boolean;
|
|
366
|
-
internal: boolean;
|
|
367
|
-
retainerId: string | null;
|
|
368
|
-
title: string;
|
|
369
|
-
services: any[] | null;
|
|
370
|
-
description: string | null;
|
|
371
|
-
dueDate: string | null;
|
|
372
|
-
budget: string | null;
|
|
373
|
-
fixedPrice: string | null;
|
|
374
|
-
rate: string | null;
|
|
375
|
-
billingMethod: "project_rate" | "service_rate" | "flat_rate" | "team_member_rate" | null;
|
|
376
|
-
projectType: "fixed_price" | "hourly_rate";
|
|
377
|
-
projectManagerId: string | null;
|
|
378
|
-
complete: boolean;
|
|
379
|
-
sample: boolean;
|
|
380
|
-
updatedAt: string;
|
|
381
|
-
loggedDuration: number | null;
|
|
382
|
-
billedAmount: number;
|
|
383
|
-
billedStatus: "unbilled" | "partial" | "billed";
|
|
384
|
-
expenseMarkup: number;
|
|
385
|
-
groupId: string | null;
|
|
386
|
-
group?: any;
|
|
387
|
-
}, {
|
|
388
|
-
id: number;
|
|
389
|
-
createdAt: string;
|
|
390
|
-
clientId: string | null;
|
|
391
|
-
active: boolean;
|
|
392
|
-
internal: boolean;
|
|
393
|
-
retainerId: string | null;
|
|
394
|
-
title: string;
|
|
395
|
-
services: any[] | null;
|
|
396
|
-
description: string | null;
|
|
397
|
-
dueDate: string | null;
|
|
398
|
-
budget: string | null;
|
|
399
|
-
fixedPrice: string | null;
|
|
400
|
-
rate: string | null;
|
|
401
|
-
billingMethod: "project_rate" | "service_rate" | "flat_rate" | "team_member_rate" | null;
|
|
402
|
-
projectType: "fixed_price" | "hourly_rate";
|
|
403
|
-
projectManagerId: string | null;
|
|
404
|
-
complete: boolean;
|
|
405
|
-
sample: boolean;
|
|
406
|
-
updatedAt: string;
|
|
407
|
-
loggedDuration: number | null;
|
|
408
|
-
billedAmount: number;
|
|
409
|
-
billedStatus: "unbilled" | "partial" | "billed";
|
|
410
|
-
expenseMarkup: number;
|
|
411
|
-
groupId: string | null;
|
|
412
|
-
group?: any;
|
|
413
|
-
}>, "many">;
|
|
265
|
+
}, z.core.$strip>>;
|
|
414
266
|
pagination: z.ZodObject<{
|
|
415
267
|
page: z.ZodNumber;
|
|
416
268
|
pages: z.ZodNumber;
|
|
417
269
|
perPage: z.ZodNumber;
|
|
418
270
|
total: z.ZodNumber;
|
|
419
|
-
},
|
|
420
|
-
|
|
421
|
-
perPage: number;
|
|
422
|
-
pages: number;
|
|
423
|
-
total: number;
|
|
424
|
-
}, {
|
|
425
|
-
page: number;
|
|
426
|
-
perPage: number;
|
|
427
|
-
pages: number;
|
|
428
|
-
total: number;
|
|
429
|
-
}>;
|
|
430
|
-
}, "strip", z.ZodTypeAny, {
|
|
431
|
-
pagination: {
|
|
432
|
-
page: number;
|
|
433
|
-
perPage: number;
|
|
434
|
-
pages: number;
|
|
435
|
-
total: number;
|
|
436
|
-
};
|
|
437
|
-
projects: {
|
|
438
|
-
id: number;
|
|
439
|
-
createdAt: string;
|
|
440
|
-
clientId: string | null;
|
|
441
|
-
active: boolean;
|
|
442
|
-
internal: boolean;
|
|
443
|
-
retainerId: string | null;
|
|
444
|
-
title: string;
|
|
445
|
-
services: any[] | null;
|
|
446
|
-
description: string | null;
|
|
447
|
-
dueDate: string | null;
|
|
448
|
-
budget: string | null;
|
|
449
|
-
fixedPrice: string | null;
|
|
450
|
-
rate: string | null;
|
|
451
|
-
billingMethod: "project_rate" | "service_rate" | "flat_rate" | "team_member_rate" | null;
|
|
452
|
-
projectType: "fixed_price" | "hourly_rate";
|
|
453
|
-
projectManagerId: string | null;
|
|
454
|
-
complete: boolean;
|
|
455
|
-
sample: boolean;
|
|
456
|
-
updatedAt: string;
|
|
457
|
-
loggedDuration: number | null;
|
|
458
|
-
billedAmount: number;
|
|
459
|
-
billedStatus: "unbilled" | "partial" | "billed";
|
|
460
|
-
expenseMarkup: number;
|
|
461
|
-
groupId: string | null;
|
|
462
|
-
group?: any;
|
|
463
|
-
}[];
|
|
464
|
-
}, {
|
|
465
|
-
pagination: {
|
|
466
|
-
page: number;
|
|
467
|
-
perPage: number;
|
|
468
|
-
pages: number;
|
|
469
|
-
total: number;
|
|
470
|
-
};
|
|
471
|
-
projects: {
|
|
472
|
-
id: number;
|
|
473
|
-
createdAt: string;
|
|
474
|
-
clientId: string | null;
|
|
475
|
-
active: boolean;
|
|
476
|
-
internal: boolean;
|
|
477
|
-
retainerId: string | null;
|
|
478
|
-
title: string;
|
|
479
|
-
services: any[] | null;
|
|
480
|
-
description: string | null;
|
|
481
|
-
dueDate: string | null;
|
|
482
|
-
budget: string | null;
|
|
483
|
-
fixedPrice: string | null;
|
|
484
|
-
rate: string | null;
|
|
485
|
-
billingMethod: "project_rate" | "service_rate" | "flat_rate" | "team_member_rate" | null;
|
|
486
|
-
projectType: "fixed_price" | "hourly_rate";
|
|
487
|
-
projectManagerId: string | null;
|
|
488
|
-
complete: boolean;
|
|
489
|
-
sample: boolean;
|
|
490
|
-
updatedAt: string;
|
|
491
|
-
loggedDuration: number | null;
|
|
492
|
-
billedAmount: number;
|
|
493
|
-
billedStatus: "unbilled" | "partial" | "billed";
|
|
494
|
-
expenseMarkup: number;
|
|
495
|
-
groupId: string | null;
|
|
496
|
-
group?: any;
|
|
497
|
-
}[];
|
|
498
|
-
}>;
|
|
271
|
+
}, z.core.$strip>;
|
|
272
|
+
}, z.core.$strip>;
|
|
499
273
|
/**
|
|
500
274
|
* Output schema for single project operations
|
|
501
275
|
*/
|
|
@@ -509,8 +283,16 @@ export declare const ProjectSingleOutputSchema: z.ZodObject<{
|
|
|
509
283
|
budget: z.ZodNullable<z.ZodString>;
|
|
510
284
|
fixedPrice: z.ZodNullable<z.ZodString>;
|
|
511
285
|
rate: z.ZodNullable<z.ZodString>;
|
|
512
|
-
billingMethod: z.ZodNullable<z.ZodEnum<
|
|
513
|
-
|
|
286
|
+
billingMethod: z.ZodNullable<z.ZodEnum<{
|
|
287
|
+
project_rate: "project_rate";
|
|
288
|
+
service_rate: "service_rate";
|
|
289
|
+
flat_rate: "flat_rate";
|
|
290
|
+
team_member_rate: "team_member_rate";
|
|
291
|
+
}>>;
|
|
292
|
+
projectType: z.ZodEnum<{
|
|
293
|
+
fixed_price: "fixed_price";
|
|
294
|
+
hourly_rate: "hourly_rate";
|
|
295
|
+
}>;
|
|
514
296
|
projectManagerId: z.ZodNullable<z.ZodString>;
|
|
515
297
|
active: z.ZodBoolean;
|
|
516
298
|
complete: z.ZodBoolean;
|
|
@@ -518,77 +300,23 @@ export declare const ProjectSingleOutputSchema: z.ZodObject<{
|
|
|
518
300
|
createdAt: z.ZodString;
|
|
519
301
|
updatedAt: z.ZodString;
|
|
520
302
|
loggedDuration: z.ZodNullable<z.ZodNumber>;
|
|
521
|
-
services: z.ZodNullable<z.ZodArray<z.ZodAny
|
|
303
|
+
services: z.ZodNullable<z.ZodArray<z.ZodAny>>;
|
|
522
304
|
billedAmount: z.ZodNumber;
|
|
523
|
-
billedStatus: z.ZodEnum<
|
|
305
|
+
billedStatus: z.ZodEnum<{
|
|
306
|
+
unbilled: "unbilled";
|
|
307
|
+
partial: "partial";
|
|
308
|
+
billed: "billed";
|
|
309
|
+
}>;
|
|
524
310
|
retainerId: z.ZodNullable<z.ZodString>;
|
|
525
311
|
expenseMarkup: z.ZodNumber;
|
|
526
312
|
groupId: z.ZodNullable<z.ZodString>;
|
|
527
313
|
group: z.ZodNullable<z.ZodAny>;
|
|
528
|
-
},
|
|
529
|
-
id: number;
|
|
530
|
-
createdAt: string;
|
|
531
|
-
clientId: string | null;
|
|
532
|
-
active: boolean;
|
|
533
|
-
internal: boolean;
|
|
534
|
-
retainerId: string | null;
|
|
535
|
-
title: string;
|
|
536
|
-
services: any[] | null;
|
|
537
|
-
description: string | null;
|
|
538
|
-
dueDate: string | null;
|
|
539
|
-
budget: string | null;
|
|
540
|
-
fixedPrice: string | null;
|
|
541
|
-
rate: string | null;
|
|
542
|
-
billingMethod: "project_rate" | "service_rate" | "flat_rate" | "team_member_rate" | null;
|
|
543
|
-
projectType: "fixed_price" | "hourly_rate";
|
|
544
|
-
projectManagerId: string | null;
|
|
545
|
-
complete: boolean;
|
|
546
|
-
sample: boolean;
|
|
547
|
-
updatedAt: string;
|
|
548
|
-
loggedDuration: number | null;
|
|
549
|
-
billedAmount: number;
|
|
550
|
-
billedStatus: "unbilled" | "partial" | "billed";
|
|
551
|
-
expenseMarkup: number;
|
|
552
|
-
groupId: string | null;
|
|
553
|
-
group?: any;
|
|
554
|
-
}, {
|
|
555
|
-
id: number;
|
|
556
|
-
createdAt: string;
|
|
557
|
-
clientId: string | null;
|
|
558
|
-
active: boolean;
|
|
559
|
-
internal: boolean;
|
|
560
|
-
retainerId: string | null;
|
|
561
|
-
title: string;
|
|
562
|
-
services: any[] | null;
|
|
563
|
-
description: string | null;
|
|
564
|
-
dueDate: string | null;
|
|
565
|
-
budget: string | null;
|
|
566
|
-
fixedPrice: string | null;
|
|
567
|
-
rate: string | null;
|
|
568
|
-
billingMethod: "project_rate" | "service_rate" | "flat_rate" | "team_member_rate" | null;
|
|
569
|
-
projectType: "fixed_price" | "hourly_rate";
|
|
570
|
-
projectManagerId: string | null;
|
|
571
|
-
complete: boolean;
|
|
572
|
-
sample: boolean;
|
|
573
|
-
updatedAt: string;
|
|
574
|
-
loggedDuration: number | null;
|
|
575
|
-
billedAmount: number;
|
|
576
|
-
billedStatus: "unbilled" | "partial" | "billed";
|
|
577
|
-
expenseMarkup: number;
|
|
578
|
-
groupId: string | null;
|
|
579
|
-
group?: any;
|
|
580
|
-
}>;
|
|
314
|
+
}, z.core.$strip>;
|
|
581
315
|
/**
|
|
582
316
|
* Output schema for project deletion
|
|
583
317
|
*/
|
|
584
318
|
export declare const ProjectDeleteOutputSchema: z.ZodObject<{
|
|
585
319
|
success: z.ZodBoolean;
|
|
586
320
|
projectId: z.ZodNumber;
|
|
587
|
-
},
|
|
588
|
-
projectId: number;
|
|
589
|
-
success: boolean;
|
|
590
|
-
}, {
|
|
591
|
-
projectId: number;
|
|
592
|
-
success: boolean;
|
|
593
|
-
}>;
|
|
321
|
+
}, z.core.$strip>;
|
|
594
322
|
//# sourceMappingURL=schemas.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../../../src/tools/project/schemas.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB;;GAEG;AACH,eAAO,MAAM,uBAAuB,8CAI1B,CAAC;AAEX;;GAEG;AACH,eAAO,MAAM,+BAA+B,EAAE,MAAM,CAAC,OAAO,uBAAuB,CAAC,MAAM,CAAC,EAAE,MAAM,CAIlG,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,uBAAuB,0CAI1B,CAAC;AAEX;;GAEG;AACH,eAAO,MAAM,4BAA4B,EAAE,MAAM,CAAC,OAAO,uBAAuB,CAAC,MAAM,CAAC,EAAE,MAAM,CAI/F,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,iBAAiB
|
|
1
|
+
{"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../../../src/tools/project/schemas.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB;;GAEG;AACH,eAAO,MAAM,uBAAuB,8CAI1B,CAAC;AAEX;;GAEG;AACH,eAAO,MAAM,+BAA+B,EAAE,MAAM,CAAC,OAAO,uBAAuB,CAAC,MAAM,CAAC,EAAE,MAAM,CAIlG,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,uBAAuB,0CAI1B,CAAC;AAEX;;GAEG;AACH,eAAO,MAAM,4BAA4B,EAAE,MAAM,CAAC,OAAO,uBAAuB,CAAC,MAAM,CAAC,EAAE,MAAM,CAI/F,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;iBAG7B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,qBAAqB;;;;;;iBAGjC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,iBAAiB;;;;;EAK5B,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,eAAe;;;EAAyC,CAAC;AAEtE;;GAEG;AACH,eAAO,MAAM,gBAAgB;;;;EAA4C,CAAC;AAE1E;;GAEG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA0BxB,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;iBAanC,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;iBAgBnC,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;iBAkBJ,CAAC;AAEhC;;GAEG;AACH,eAAO,MAAM,wBAAwB;;;;;;;;iBAInC,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,wBAAwB;;;;;iBAKnC,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,wBAAwB;;;;;iBAKnC,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAGlC,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAAgB,CAAC;AAEvD;;GAEG;AACH,eAAO,MAAM,yBAAyB;;;iBAGpC,CAAC"}
|