@energio/holded-mcp 1.0.0
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/LICENSE +21 -0
- package/README.md +1040 -0
- package/dist/constants.d.ts +60 -0
- package/dist/constants.d.ts.map +1 -0
- package/dist/constants.js +72 -0
- package/dist/constants.js.map +1 -0
- package/dist/index.d.ts +11 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +86 -0
- package/dist/index.js.map +1 -0
- package/dist/schemas/accounting/account-balances.d.ts +19 -0
- package/dist/schemas/accounting/account-balances.d.ts.map +1 -0
- package/dist/schemas/accounting/account-balances.js +28 -0
- package/dist/schemas/accounting/account-balances.js.map +1 -0
- package/dist/schemas/accounting/accounts.d.ts +49 -0
- package/dist/schemas/accounting/accounts.d.ts.map +1 -0
- package/dist/schemas/accounting/accounts.js +50 -0
- package/dist/schemas/accounting/accounts.js.map +1 -0
- package/dist/schemas/accounting/daily-ledger.d.ts +45 -0
- package/dist/schemas/accounting/daily-ledger.d.ts.map +1 -0
- package/dist/schemas/accounting/daily-ledger.js +57 -0
- package/dist/schemas/accounting/daily-ledger.js.map +1 -0
- package/dist/schemas/common.d.ts +118 -0
- package/dist/schemas/common.d.ts.map +1 -0
- package/dist/schemas/common.js +126 -0
- package/dist/schemas/common.js.map +1 -0
- package/dist/schemas/crm/bookings.d.ts +108 -0
- package/dist/schemas/crm/bookings.d.ts.map +1 -0
- package/dist/schemas/crm/bookings.js +96 -0
- package/dist/schemas/crm/bookings.js.map +1 -0
- package/dist/schemas/crm/events.d.ts +57 -0
- package/dist/schemas/crm/events.d.ts.map +1 -0
- package/dist/schemas/crm/events.js +53 -0
- package/dist/schemas/crm/events.js.map +1 -0
- package/dist/schemas/crm/funnels.d.ts +60 -0
- package/dist/schemas/crm/funnels.d.ts.map +1 -0
- package/dist/schemas/crm/funnels.js +48 -0
- package/dist/schemas/crm/funnels.js.map +1 -0
- package/dist/schemas/crm/leads.d.ts +146 -0
- package/dist/schemas/crm/leads.d.ts.map +1 -0
- package/dist/schemas/crm/leads.js +129 -0
- package/dist/schemas/crm/leads.js.map +1 -0
- package/dist/schemas/invoicing/contacts.d.ts +352 -0
- package/dist/schemas/invoicing/contacts.d.ts.map +1 -0
- package/dist/schemas/invoicing/contacts.js +187 -0
- package/dist/schemas/invoicing/contacts.js.map +1 -0
- package/dist/schemas/invoicing/documents.d.ts +424 -0
- package/dist/schemas/invoicing/documents.d.ts.map +1 -0
- package/dist/schemas/invoicing/documents.js +217 -0
- package/dist/schemas/invoicing/documents.js.map +1 -0
- package/dist/schemas/invoicing/expenses-accounts.d.ts +47 -0
- package/dist/schemas/invoicing/expenses-accounts.d.ts.map +1 -0
- package/dist/schemas/invoicing/expenses-accounts.js +43 -0
- package/dist/schemas/invoicing/expenses-accounts.js.map +1 -0
- package/dist/schemas/invoicing/numbering-series.d.ts +94 -0
- package/dist/schemas/invoicing/numbering-series.d.ts.map +1 -0
- package/dist/schemas/invoicing/numbering-series.js +43 -0
- package/dist/schemas/invoicing/numbering-series.js.map +1 -0
- package/dist/schemas/invoicing/payments.d.ts +50 -0
- package/dist/schemas/invoicing/payments.d.ts.map +1 -0
- package/dist/schemas/invoicing/payments.js +46 -0
- package/dist/schemas/invoicing/payments.js.map +1 -0
- package/dist/schemas/invoicing/products.d.ts +176 -0
- package/dist/schemas/invoicing/products.d.ts.map +1 -0
- package/dist/schemas/invoicing/products.js +149 -0
- package/dist/schemas/invoicing/products.js.map +1 -0
- package/dist/schemas/invoicing/remittances.d.ts +21 -0
- package/dist/schemas/invoicing/remittances.d.ts.map +1 -0
- package/dist/schemas/invoicing/remittances.js +20 -0
- package/dist/schemas/invoicing/remittances.js.map +1 -0
- package/dist/schemas/invoicing/sales-channels.d.ts +45 -0
- package/dist/schemas/invoicing/sales-channels.d.ts.map +1 -0
- package/dist/schemas/invoicing/sales-channels.js +41 -0
- package/dist/schemas/invoicing/sales-channels.js.map +1 -0
- package/dist/schemas/invoicing/services.d.ts +55 -0
- package/dist/schemas/invoicing/services.d.ts.map +1 -0
- package/dist/schemas/invoicing/services.js +51 -0
- package/dist/schemas/invoicing/services.js.map +1 -0
- package/dist/schemas/invoicing/taxes.d.ts +12 -0
- package/dist/schemas/invoicing/taxes.d.ts.map +1 -0
- package/dist/schemas/invoicing/taxes.js +12 -0
- package/dist/schemas/invoicing/taxes.js.map +1 -0
- package/dist/schemas/invoicing/treasury.d.ts +42 -0
- package/dist/schemas/invoicing/treasury.d.ts.map +1 -0
- package/dist/schemas/invoicing/treasury.js +39 -0
- package/dist/schemas/invoicing/treasury.js.map +1 -0
- package/dist/schemas/invoicing/warehouses.d.ts +61 -0
- package/dist/schemas/invoicing/warehouses.d.ts.map +1 -0
- package/dist/schemas/invoicing/warehouses.js +43 -0
- package/dist/schemas/invoicing/warehouses.js.map +1 -0
- package/dist/schemas/projects/projects.d.ts +60 -0
- package/dist/schemas/projects/projects.d.ts.map +1 -0
- package/dist/schemas/projects/projects.js +55 -0
- package/dist/schemas/projects/projects.js.map +1 -0
- package/dist/schemas/projects/tasks.d.ts +68 -0
- package/dist/schemas/projects/tasks.d.ts.map +1 -0
- package/dist/schemas/projects/tasks.js +64 -0
- package/dist/schemas/projects/tasks.js.map +1 -0
- package/dist/schemas/projects/time-tracking.d.ts +80 -0
- package/dist/schemas/projects/time-tracking.d.ts.map +1 -0
- package/dist/schemas/projects/time-tracking.js +75 -0
- package/dist/schemas/projects/time-tracking.js.map +1 -0
- package/dist/schemas/team/employees.d.ts +135 -0
- package/dist/schemas/team/employees.d.ts.map +1 -0
- package/dist/schemas/team/employees.js +144 -0
- package/dist/schemas/team/employees.js.map +1 -0
- package/dist/schemas/team/time-tracking.d.ts +98 -0
- package/dist/schemas/team/time-tracking.d.ts.map +1 -0
- package/dist/schemas/team/time-tracking.js +89 -0
- package/dist/schemas/team/time-tracking.js.map +1 -0
- package/dist/services/api.d.ts +118 -0
- package/dist/services/api.d.ts.map +1 -0
- package/dist/services/api.js +441 -0
- package/dist/services/api.js.map +1 -0
- package/dist/tools/accounting/account-balances.d.ts +44 -0
- package/dist/tools/accounting/account-balances.d.ts.map +1 -0
- package/dist/tools/accounting/account-balances.js +240 -0
- package/dist/tools/accounting/account-balances.js.map +1 -0
- package/dist/tools/accounting/accounts.d.ts +18 -0
- package/dist/tools/accounting/accounts.d.ts.map +1 -0
- package/dist/tools/accounting/accounts.js +131 -0
- package/dist/tools/accounting/accounts.js.map +1 -0
- package/dist/tools/accounting/daily-ledger.d.ts +9 -0
- package/dist/tools/accounting/daily-ledger.d.ts.map +1 -0
- package/dist/tools/accounting/daily-ledger.js +117 -0
- package/dist/tools/accounting/daily-ledger.js.map +1 -0
- package/dist/tools/accounting/index.d.ts +9 -0
- package/dist/tools/accounting/index.d.ts.map +1 -0
- package/dist/tools/accounting/index.js +15 -0
- package/dist/tools/accounting/index.js.map +1 -0
- package/dist/tools/crm/bookings.d.ts +18 -0
- package/dist/tools/crm/bookings.d.ts.map +1 -0
- package/dist/tools/crm/bookings.js +272 -0
- package/dist/tools/crm/bookings.js.map +1 -0
- package/dist/tools/crm/events.d.ts +18 -0
- package/dist/tools/crm/events.d.ts.map +1 -0
- package/dist/tools/crm/events.js +134 -0
- package/dist/tools/crm/events.js.map +1 -0
- package/dist/tools/crm/funnels.d.ts +18 -0
- package/dist/tools/crm/funnels.d.ts.map +1 -0
- package/dist/tools/crm/funnels.js +113 -0
- package/dist/tools/crm/funnels.js.map +1 -0
- package/dist/tools/crm/index.d.ts +9 -0
- package/dist/tools/crm/index.d.ts.map +1 -0
- package/dist/tools/crm/index.js +17 -0
- package/dist/tools/crm/index.js.map +1 -0
- package/dist/tools/crm/leads.d.ts +18 -0
- package/dist/tools/crm/leads.d.ts.map +1 -0
- package/dist/tools/crm/leads.js +519 -0
- package/dist/tools/crm/leads.js.map +1 -0
- package/dist/tools/factory.d.ts +55 -0
- package/dist/tools/factory.d.ts.map +1 -0
- package/dist/tools/factory.js +145 -0
- package/dist/tools/factory.js.map +1 -0
- package/dist/tools/invoicing/contacts.d.ts +26 -0
- package/dist/tools/invoicing/contacts.d.ts.map +1 -0
- package/dist/tools/invoicing/contacts.js +358 -0
- package/dist/tools/invoicing/contacts.js.map +1 -0
- package/dist/tools/invoicing/documents.d.ts +18 -0
- package/dist/tools/invoicing/documents.d.ts.map +1 -0
- package/dist/tools/invoicing/documents.js +578 -0
- package/dist/tools/invoicing/documents.js.map +1 -0
- package/dist/tools/invoicing/expenses-accounts.d.ts +25 -0
- package/dist/tools/invoicing/expenses-accounts.d.ts.map +1 -0
- package/dist/tools/invoicing/expenses-accounts.js +111 -0
- package/dist/tools/invoicing/expenses-accounts.js.map +1 -0
- package/dist/tools/invoicing/index.d.ts +9 -0
- package/dist/tools/invoicing/index.d.ts.map +1 -0
- package/dist/tools/invoicing/index.js +33 -0
- package/dist/tools/invoicing/index.js.map +1 -0
- package/dist/tools/invoicing/numbering-series.d.ts +9 -0
- package/dist/tools/invoicing/numbering-series.d.ts.map +1 -0
- package/dist/tools/invoicing/numbering-series.js +161 -0
- package/dist/tools/invoicing/numbering-series.js.map +1 -0
- package/dist/tools/invoicing/payments.d.ts +18 -0
- package/dist/tools/invoicing/payments.d.ts.map +1 -0
- package/dist/tools/invoicing/payments.js +175 -0
- package/dist/tools/invoicing/payments.js.map +1 -0
- package/dist/tools/invoicing/products.d.ts +18 -0
- package/dist/tools/invoicing/products.d.ts.map +1 -0
- package/dist/tools/invoicing/products.js +389 -0
- package/dist/tools/invoicing/products.js.map +1 -0
- package/dist/tools/invoicing/remittances.d.ts +17 -0
- package/dist/tools/invoicing/remittances.d.ts.map +1 -0
- package/dist/tools/invoicing/remittances.js +76 -0
- package/dist/tools/invoicing/remittances.js.map +1 -0
- package/dist/tools/invoicing/sales-channels.d.ts +24 -0
- package/dist/tools/invoicing/sales-channels.d.ts.map +1 -0
- package/dist/tools/invoicing/sales-channels.js +105 -0
- package/dist/tools/invoicing/sales-channels.js.map +1 -0
- package/dist/tools/invoicing/services.d.ts +29 -0
- package/dist/tools/invoicing/services.d.ts.map +1 -0
- package/dist/tools/invoicing/services.js +124 -0
- package/dist/tools/invoicing/services.js.map +1 -0
- package/dist/tools/invoicing/taxes.d.ts +18 -0
- package/dist/tools/invoicing/taxes.d.ts.map +1 -0
- package/dist/tools/invoicing/taxes.js +58 -0
- package/dist/tools/invoicing/taxes.js.map +1 -0
- package/dist/tools/invoicing/treasury.d.ts +9 -0
- package/dist/tools/invoicing/treasury.d.ts.map +1 -0
- package/dist/tools/invoicing/treasury.js +196 -0
- package/dist/tools/invoicing/treasury.js.map +1 -0
- package/dist/tools/invoicing/warehouses.d.ts +18 -0
- package/dist/tools/invoicing/warehouses.d.ts.map +1 -0
- package/dist/tools/invoicing/warehouses.js +133 -0
- package/dist/tools/invoicing/warehouses.js.map +1 -0
- package/dist/tools/projects/index.d.ts +9 -0
- package/dist/tools/projects/index.d.ts.map +1 -0
- package/dist/tools/projects/index.js +15 -0
- package/dist/tools/projects/index.js.map +1 -0
- package/dist/tools/projects/projects.d.ts +18 -0
- package/dist/tools/projects/projects.d.ts.map +1 -0
- package/dist/tools/projects/projects.js +203 -0
- package/dist/tools/projects/projects.js.map +1 -0
- package/dist/tools/projects/tasks.d.ts +18 -0
- package/dist/tools/projects/tasks.d.ts.map +1 -0
- package/dist/tools/projects/tasks.js +154 -0
- package/dist/tools/projects/tasks.js.map +1 -0
- package/dist/tools/projects/time-tracking.d.ts +14 -0
- package/dist/tools/projects/time-tracking.d.ts.map +1 -0
- package/dist/tools/projects/time-tracking.js +291 -0
- package/dist/tools/projects/time-tracking.js.map +1 -0
- package/dist/tools/team/employees.d.ts +18 -0
- package/dist/tools/team/employees.d.ts.map +1 -0
- package/dist/tools/team/employees.js +149 -0
- package/dist/tools/team/employees.js.map +1 -0
- package/dist/tools/team/index.d.ts +9 -0
- package/dist/tools/team/index.d.ts.map +1 -0
- package/dist/tools/team/index.js +13 -0
- package/dist/tools/team/index.js.map +1 -0
- package/dist/tools/team/time-tracking.d.ts +18 -0
- package/dist/tools/team/time-tracking.d.ts.map +1 -0
- package/dist/tools/team/time-tracking.js +398 -0
- package/dist/tools/team/time-tracking.js.map +1 -0
- package/dist/tools/utilities.d.ts +45 -0
- package/dist/tools/utilities.d.ts.map +1 -0
- package/dist/tools/utilities.js +55 -0
- package/dist/tools/utilities.js.map +1 -0
- package/dist/types.d.ts +640 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +29 -0
- package/dist/types.js.map +1 -0
- package/package.json +70 -0
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Common Zod schemas shared across all tools
|
|
3
|
+
*/
|
|
4
|
+
import { z } from "zod";
|
|
5
|
+
import { ResponseFormat, DOCUMENT_TYPES } from "../constants.js";
|
|
6
|
+
/**
|
|
7
|
+
* Response format schema
|
|
8
|
+
*/
|
|
9
|
+
export const ResponseFormatSchema = z
|
|
10
|
+
.nativeEnum(ResponseFormat)
|
|
11
|
+
.default(ResponseFormat.JSON)
|
|
12
|
+
.describe("Output format: 'json' for structured data or 'markdown' for human-readable");
|
|
13
|
+
/**
|
|
14
|
+
* Pagination schema
|
|
15
|
+
*/
|
|
16
|
+
export const PaginationSchema = z.strictObject({
|
|
17
|
+
page: z
|
|
18
|
+
.number()
|
|
19
|
+
.int()
|
|
20
|
+
.min(1)
|
|
21
|
+
.default(1)
|
|
22
|
+
.describe("Page number for pagination (starts at 1)"),
|
|
23
|
+
});
|
|
24
|
+
/**
|
|
25
|
+
* ID parameter schema
|
|
26
|
+
*/
|
|
27
|
+
export const IdSchema = z
|
|
28
|
+
.string()
|
|
29
|
+
.min(1, { message: "ID is required" })
|
|
30
|
+
.describe("The unique identifier");
|
|
31
|
+
/**
|
|
32
|
+
* Document type schema
|
|
33
|
+
*/
|
|
34
|
+
export const DocumentTypeSchema = z
|
|
35
|
+
.enum(DOCUMENT_TYPES)
|
|
36
|
+
.describe("Document type: invoice, salesreceipt, creditnote, receiptnote, estimate, salesorder, waybill, proform, purchase, purchaserefund, purchaseorder");
|
|
37
|
+
/**
|
|
38
|
+
* Optional string schema
|
|
39
|
+
*/
|
|
40
|
+
export const OptionalStringSchema = z.string().optional();
|
|
41
|
+
/**
|
|
42
|
+
* Optional number schema
|
|
43
|
+
*/
|
|
44
|
+
export const OptionalNumberSchema = z.number().optional();
|
|
45
|
+
/**
|
|
46
|
+
* Optional boolean schema
|
|
47
|
+
*/
|
|
48
|
+
export const OptionalBooleanSchema = z.boolean().optional();
|
|
49
|
+
/**
|
|
50
|
+
* Date as timestamp schema (Unix timestamp in seconds)
|
|
51
|
+
*/
|
|
52
|
+
export const TimestampSchema = z
|
|
53
|
+
.number()
|
|
54
|
+
.int()
|
|
55
|
+
.positive()
|
|
56
|
+
.optional()
|
|
57
|
+
.describe("Unix timestamp in seconds");
|
|
58
|
+
/**
|
|
59
|
+
* Currency code schema (ISO 4217)
|
|
60
|
+
*/
|
|
61
|
+
export const CurrencySchema = z
|
|
62
|
+
.string()
|
|
63
|
+
.length(3)
|
|
64
|
+
.toUpperCase()
|
|
65
|
+
.optional()
|
|
66
|
+
.describe("Currency code (ISO 4217, e.g., EUR, USD)");
|
|
67
|
+
/**
|
|
68
|
+
* Tags array schema
|
|
69
|
+
*/
|
|
70
|
+
export const TagsSchema = z
|
|
71
|
+
.array(z.string())
|
|
72
|
+
.optional()
|
|
73
|
+
.describe("Array of tags");
|
|
74
|
+
/**
|
|
75
|
+
* Address schema
|
|
76
|
+
*/
|
|
77
|
+
export const AddressSchema = z.strictObject({
|
|
78
|
+
address: z.string().optional().describe("Street address"),
|
|
79
|
+
city: z.string().optional().describe("City name"),
|
|
80
|
+
postalCode: z.string().optional().describe("Postal/ZIP code"),
|
|
81
|
+
province: z.string().optional().describe("Province/State"),
|
|
82
|
+
country: z.string().optional().describe("Country name"),
|
|
83
|
+
countryCode: z.string().optional().describe("Country code (ISO 3166-1 alpha-2)"),
|
|
84
|
+
});
|
|
85
|
+
/**
|
|
86
|
+
* Shipping address schema (extends AddressSchema with name and notes)
|
|
87
|
+
*/
|
|
88
|
+
export const ShippingAddressSchema = AddressSchema.extend({
|
|
89
|
+
name: z.string().optional().describe("Address label/name"),
|
|
90
|
+
notes: z.string().optional().describe("Public notes"),
|
|
91
|
+
privateNote: z.string().optional().describe("Private notes"),
|
|
92
|
+
});
|
|
93
|
+
/**
|
|
94
|
+
* Numbering series schema (per-document-type numbering series IDs)
|
|
95
|
+
*/
|
|
96
|
+
export const NumberingSeriesSchema = z.strictObject({
|
|
97
|
+
invoice: z.string().optional().describe("Numbering series ID for invoices"),
|
|
98
|
+
receipt: z.string().optional().describe("Numbering series ID for receipts"),
|
|
99
|
+
salesOrder: z.string().optional().describe("Numbering series ID for sales orders"),
|
|
100
|
+
purchasesOrder: z.string().optional().describe("Numbering series ID for purchase orders"),
|
|
101
|
+
proform: z.string().optional().describe("Numbering series ID for proforms"),
|
|
102
|
+
waybill: z.string().optional().describe("Numbering series ID for waybills"),
|
|
103
|
+
});
|
|
104
|
+
/**
|
|
105
|
+
* Contact person schema
|
|
106
|
+
*/
|
|
107
|
+
export const ContactPersonSchema = z.strictObject({
|
|
108
|
+
name: z.string().min(1).describe("Contact person name (required)"),
|
|
109
|
+
phone: z.string().optional().describe("Phone number"),
|
|
110
|
+
email: z.string().email().optional().describe("Email address"),
|
|
111
|
+
});
|
|
112
|
+
/**
|
|
113
|
+
* Custom field schema
|
|
114
|
+
*/
|
|
115
|
+
export const CustomFieldSchema = z.strictObject({
|
|
116
|
+
field: z.string().describe("Custom field name"),
|
|
117
|
+
value: z.string().describe("Custom field value"),
|
|
118
|
+
});
|
|
119
|
+
/**
|
|
120
|
+
* Custom fields array schema
|
|
121
|
+
*/
|
|
122
|
+
export const CustomFieldsSchema = z
|
|
123
|
+
.array(CustomFieldSchema)
|
|
124
|
+
.optional()
|
|
125
|
+
.describe("Array of custom fields");
|
|
126
|
+
//# sourceMappingURL=common.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"common.js","sourceRoot":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,MAAM,EAAE,CAAC,KAAK,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,eAAe,CAAC;CAC/D,CAAC,CAAC;AAEH;;GAEG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,CAAC,YAAY,CAAC;IAC9C,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,mBAAmB,CAAC;IAC/C,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,oBAAoB,CAAC;CACjD,CAAC,CAAC;AAEH;;GAEG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC;KAChC,KAAK,CAAC,iBAAiB,CAAC;KACxB,QAAQ,EAAE;KACV,QAAQ,CAAC,wBAAwB,CAAC,CAAC"}
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Zod schemas for Booking-related operations
|
|
3
|
+
*
|
|
4
|
+
* API Version: CRM API v1.0
|
|
5
|
+
* Documentation: https://developers.holded.com/reference
|
|
6
|
+
*/
|
|
7
|
+
import { z } from "zod";
|
|
8
|
+
/**
|
|
9
|
+
* List bookings input schema
|
|
10
|
+
*/
|
|
11
|
+
export declare const ListBookingsInputSchema: z.ZodObject<{
|
|
12
|
+
page: z.ZodDefault<z.ZodNumber>;
|
|
13
|
+
response_format: z.ZodDefault<z.ZodEnum<typeof import("../../constants.js").ResponseFormat>>;
|
|
14
|
+
}, z.core.$strict>;
|
|
15
|
+
export type ListBookingsInput = z.infer<typeof ListBookingsInputSchema>;
|
|
16
|
+
/**
|
|
17
|
+
* Custom field schema for bookings
|
|
18
|
+
*/
|
|
19
|
+
export declare const BookingCustomFieldSchema: z.ZodObject<{
|
|
20
|
+
key: z.ZodString;
|
|
21
|
+
value: z.ZodString;
|
|
22
|
+
}, z.core.$strict>;
|
|
23
|
+
/**
|
|
24
|
+
* Create booking input schema
|
|
25
|
+
*
|
|
26
|
+
* Per Holded CRM API v1.0 documentation:
|
|
27
|
+
* Required fields: locationId, serviceId, dateTime, timezone, language, customFields
|
|
28
|
+
*
|
|
29
|
+
* @see https://developers.holded.com/reference
|
|
30
|
+
* @apiVersion CRM API v1.0
|
|
31
|
+
* @required locationId, serviceId, dateTime, timezone, language, customFields
|
|
32
|
+
*
|
|
33
|
+
* @example
|
|
34
|
+
* ```typescript
|
|
35
|
+
* const input = {
|
|
36
|
+
* locationId: "6710e0b21ab397666906c6f4",
|
|
37
|
+
* serviceId: "66704f4a0ace9fc5e30078b5",
|
|
38
|
+
* dateTime: 1730109600, // Unix timestamp
|
|
39
|
+
* timezone: "Europe/Madrid",
|
|
40
|
+
* language: "es",
|
|
41
|
+
* customFields: [
|
|
42
|
+
* { key: "name", value: "John Doe" },
|
|
43
|
+
* { key: "email", value: "john@example.com" }
|
|
44
|
+
* ]
|
|
45
|
+
* };
|
|
46
|
+
* ```
|
|
47
|
+
*/
|
|
48
|
+
export declare const CreateBookingInputSchema: z.ZodObject<{
|
|
49
|
+
locationId: z.ZodString;
|
|
50
|
+
serviceId: z.ZodString;
|
|
51
|
+
dateTime: z.ZodNumber;
|
|
52
|
+
timezone: z.ZodString;
|
|
53
|
+
language: z.ZodString;
|
|
54
|
+
customFields: z.ZodArray<z.ZodObject<{
|
|
55
|
+
key: z.ZodString;
|
|
56
|
+
value: z.ZodString;
|
|
57
|
+
}, z.core.$strict>>;
|
|
58
|
+
}, z.core.$strict>;
|
|
59
|
+
export type CreateBookingInput = z.infer<typeof CreateBookingInputSchema>;
|
|
60
|
+
/**
|
|
61
|
+
* Update booking input schema
|
|
62
|
+
*/
|
|
63
|
+
export declare const UpdateBookingInputSchema: z.ZodObject<{
|
|
64
|
+
booking_id: z.ZodString;
|
|
65
|
+
dateTime: z.ZodOptional<z.ZodNumber>;
|
|
66
|
+
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
67
|
+
key: z.ZodString;
|
|
68
|
+
value: z.ZodString;
|
|
69
|
+
}, z.core.$strict>>>;
|
|
70
|
+
}, z.core.$strict>;
|
|
71
|
+
export type UpdateBookingInput = z.infer<typeof UpdateBookingInputSchema>;
|
|
72
|
+
/**
|
|
73
|
+
* List booking locations input schema
|
|
74
|
+
*/
|
|
75
|
+
export declare const ListBookingLocationsInputSchema: z.ZodObject<{
|
|
76
|
+
response_format: z.ZodDefault<z.ZodEnum<typeof import("../../constants.js").ResponseFormat>>;
|
|
77
|
+
}, z.core.$strict>;
|
|
78
|
+
export type ListBookingLocationsInput = z.infer<typeof ListBookingLocationsInputSchema>;
|
|
79
|
+
/**
|
|
80
|
+
* Get booking input schema
|
|
81
|
+
*/
|
|
82
|
+
export declare const GetBookingInputSchema: z.ZodObject<{
|
|
83
|
+
booking_id: z.ZodString;
|
|
84
|
+
response_format: z.ZodDefault<z.ZodEnum<typeof import("../../constants.js").ResponseFormat>>;
|
|
85
|
+
}, z.core.$strict>;
|
|
86
|
+
export type GetBookingInput = z.infer<typeof GetBookingInputSchema>;
|
|
87
|
+
/**
|
|
88
|
+
* Delete booking input schema
|
|
89
|
+
*/
|
|
90
|
+
export declare const DeleteBookingInputSchema: z.ZodObject<{
|
|
91
|
+
booking_id: z.ZodString;
|
|
92
|
+
}, z.core.$strict>;
|
|
93
|
+
export type DeleteBookingInput = z.infer<typeof DeleteBookingInputSchema>;
|
|
94
|
+
/**
|
|
95
|
+
* Get available slots input schema
|
|
96
|
+
*
|
|
97
|
+
* According to Holded API documentation, both serviceId and day are required:
|
|
98
|
+
* - serviceId (string): Specific service ID
|
|
99
|
+
* - day (string): Specific day in yyyy-mm-dd format
|
|
100
|
+
*/
|
|
101
|
+
export declare const GetAvailableSlotsInputSchema: z.ZodObject<{
|
|
102
|
+
location_id: z.ZodString;
|
|
103
|
+
serviceId: z.ZodString;
|
|
104
|
+
day: z.ZodString;
|
|
105
|
+
response_format: z.ZodDefault<z.ZodEnum<typeof import("../../constants.js").ResponseFormat>>;
|
|
106
|
+
}, z.core.$strict>;
|
|
107
|
+
export type GetAvailableSlotsInput = z.infer<typeof GetAvailableSlotsInputSchema>;
|
|
108
|
+
//# sourceMappingURL=bookings.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bookings.d.ts","sourceRoot":"","sources":["../../../src/schemas/crm/bookings.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB;;GAEG;AACH,eAAO,MAAM,uBAAuB;;;kBAGhC,CAAA;AAEJ,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAExE;;GAEG;AACH,eAAO,MAAM,wBAAwB;;;kBAGnC,CAAC;AAEH;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,eAAO,MAAM,wBAAwB;;;;;;;;;;kBAOjC,CAAA;AAEJ,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAE1E;;GAEG;AACH,eAAO,MAAM,wBAAwB;;;;;;;kBAIjC,CAAA;AAEJ,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAE1E;;GAEG;AACH,eAAO,MAAM,+BAA+B;;kBAExC,CAAA;AAEJ,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,+BAA+B,CAAC,CAAC;AAExF;;GAEG;AACH,eAAO,MAAM,qBAAqB;;;kBAG9B,CAAA;AAEJ,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAEpE;;GAEG;AACH,eAAO,MAAM,wBAAwB;;kBAEjC,CAAA;AAEJ,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAE1E;;;;;;GAMG;AACH,eAAO,MAAM,4BAA4B;;;;;kBAKrC,CAAA;AAEJ,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAC"}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Zod schemas for Booking-related operations
|
|
3
|
+
*
|
|
4
|
+
* API Version: CRM API v1.0
|
|
5
|
+
* Documentation: https://developers.holded.com/reference
|
|
6
|
+
*/
|
|
7
|
+
import { z } from "zod";
|
|
8
|
+
import { IdSchema, PaginationSchema, ResponseFormatSchema, } from "../common.js";
|
|
9
|
+
/**
|
|
10
|
+
* List bookings input schema
|
|
11
|
+
*/
|
|
12
|
+
export const ListBookingsInputSchema = z.strictObject({
|
|
13
|
+
page: PaginationSchema.shape.page,
|
|
14
|
+
response_format: ResponseFormatSchema,
|
|
15
|
+
});
|
|
16
|
+
/**
|
|
17
|
+
* Custom field schema for bookings
|
|
18
|
+
*/
|
|
19
|
+
export const BookingCustomFieldSchema = z.strictObject({
|
|
20
|
+
key: z.string().describe("Custom field key"),
|
|
21
|
+
value: z.string().describe("Custom field value"),
|
|
22
|
+
});
|
|
23
|
+
/**
|
|
24
|
+
* Create booking input schema
|
|
25
|
+
*
|
|
26
|
+
* Per Holded CRM API v1.0 documentation:
|
|
27
|
+
* Required fields: locationId, serviceId, dateTime, timezone, language, customFields
|
|
28
|
+
*
|
|
29
|
+
* @see https://developers.holded.com/reference
|
|
30
|
+
* @apiVersion CRM API v1.0
|
|
31
|
+
* @required locationId, serviceId, dateTime, timezone, language, customFields
|
|
32
|
+
*
|
|
33
|
+
* @example
|
|
34
|
+
* ```typescript
|
|
35
|
+
* const input = {
|
|
36
|
+
* locationId: "6710e0b21ab397666906c6f4",
|
|
37
|
+
* serviceId: "66704f4a0ace9fc5e30078b5",
|
|
38
|
+
* dateTime: 1730109600, // Unix timestamp
|
|
39
|
+
* timezone: "Europe/Madrid",
|
|
40
|
+
* language: "es",
|
|
41
|
+
* customFields: [
|
|
42
|
+
* { key: "name", value: "John Doe" },
|
|
43
|
+
* { key: "email", value: "john@example.com" }
|
|
44
|
+
* ]
|
|
45
|
+
* };
|
|
46
|
+
* ```
|
|
47
|
+
*/
|
|
48
|
+
export const CreateBookingInputSchema = z.strictObject({
|
|
49
|
+
locationId: z.string().min(1, { message: "Location ID is required" }).describe("Location ID for the booking (required)"),
|
|
50
|
+
serviceId: z.string().min(1, { message: "Service ID is required" }).describe("Service ID for the booking (required)"),
|
|
51
|
+
dateTime: z.number().int().positive({ message: "DateTime must be a positive integer" }).describe("Booking date and time as Unix timestamp (required)"),
|
|
52
|
+
timezone: z.string().min(1, { message: "Timezone is required" }).describe("Timezone (e.g., 'Europe/Luxembourg') (required)"),
|
|
53
|
+
language: z.string().min(1, { message: "Language is required" }).describe("Language code (e.g., 'es', 'en') (required)"),
|
|
54
|
+
customFields: z.array(BookingCustomFieldSchema).min(1, { message: "At least one custom field is required" }).describe("Array of custom fields with key-value pairs (required) - typically includes 'name' and 'email' fields"),
|
|
55
|
+
});
|
|
56
|
+
/**
|
|
57
|
+
* Update booking input schema
|
|
58
|
+
*/
|
|
59
|
+
export const UpdateBookingInputSchema = z.strictObject({
|
|
60
|
+
booking_id: IdSchema.describe("The booking ID to update"),
|
|
61
|
+
dateTime: z.number().int().positive().optional().describe("Booking date and time as Unix timestamp"),
|
|
62
|
+
customFields: z.array(BookingCustomFieldSchema).optional().describe("Array of custom fields with key-value pairs"),
|
|
63
|
+
});
|
|
64
|
+
/**
|
|
65
|
+
* List booking locations input schema
|
|
66
|
+
*/
|
|
67
|
+
export const ListBookingLocationsInputSchema = z.strictObject({
|
|
68
|
+
response_format: ResponseFormatSchema,
|
|
69
|
+
});
|
|
70
|
+
/**
|
|
71
|
+
* Get booking input schema
|
|
72
|
+
*/
|
|
73
|
+
export const GetBookingInputSchema = z.strictObject({
|
|
74
|
+
booking_id: IdSchema.describe("The booking ID to retrieve"),
|
|
75
|
+
response_format: ResponseFormatSchema,
|
|
76
|
+
});
|
|
77
|
+
/**
|
|
78
|
+
* Delete booking input schema
|
|
79
|
+
*/
|
|
80
|
+
export const DeleteBookingInputSchema = z.strictObject({
|
|
81
|
+
booking_id: IdSchema.describe("The booking ID to delete"),
|
|
82
|
+
});
|
|
83
|
+
/**
|
|
84
|
+
* Get available slots input schema
|
|
85
|
+
*
|
|
86
|
+
* According to Holded API documentation, both serviceId and day are required:
|
|
87
|
+
* - serviceId (string): Specific service ID
|
|
88
|
+
* - day (string): Specific day in yyyy-mm-dd format
|
|
89
|
+
*/
|
|
90
|
+
export const GetAvailableSlotsInputSchema = z.strictObject({
|
|
91
|
+
location_id: IdSchema.describe("The location ID (required)"),
|
|
92
|
+
serviceId: z.string().min(1, { message: "Service ID is required" }).describe("Service ID (required)"),
|
|
93
|
+
day: z.string().regex(/^\d{4}-\d{2}-\d{2}$/, { message: "Day must be in yyyy-mm-dd format" }).describe("Day in yyyy-mm-dd format (required)"),
|
|
94
|
+
response_format: ResponseFormatSchema,
|
|
95
|
+
});
|
|
96
|
+
//# sourceMappingURL=bookings.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bookings.js","sourceRoot":"","sources":["../../../src/schemas/crm/bookings.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EACL,QAAQ,EACR,gBAAgB,EAChB,oBAAoB,GACrB,MAAM,cAAc,CAAC;AAEtB;;GAEG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,CAAC,YAAY,CAAC;IAClD,IAAI,EAAE,gBAAgB,CAAC,KAAK,CAAC,IAAI;IACjC,eAAe,EAAE,oBAAoB;CACtC,CAAC,CAAA;AAIJ;;GAEG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,CAAC,YAAY,CAAC;IACrD,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,kBAAkB,CAAC;IAC5C,KAA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
|
+
/**
|
|
2
|
+
* Zod schemas for Event-related operations
|
|
3
|
+
*/
|
|
4
|
+
import { z } from "zod";
|
|
5
|
+
/**
|
|
6
|
+
* List events input schema
|
|
7
|
+
*/
|
|
8
|
+
export declare const ListEventsInputSchema: z.ZodObject<{
|
|
9
|
+
page: z.ZodDefault<z.ZodNumber>;
|
|
10
|
+
response_format: z.ZodDefault<z.ZodEnum<typeof import("../../constants.js").ResponseFormat>>;
|
|
11
|
+
}, z.core.$strict>;
|
|
12
|
+
export type ListEventsInput = z.infer<typeof ListEventsInputSchema>;
|
|
13
|
+
/**
|
|
14
|
+
* Get event input schema
|
|
15
|
+
*/
|
|
16
|
+
export declare const GetEventInputSchema: z.ZodObject<{
|
|
17
|
+
event_id: z.ZodString;
|
|
18
|
+
response_format: z.ZodDefault<z.ZodEnum<typeof import("../../constants.js").ResponseFormat>>;
|
|
19
|
+
}, z.core.$strict>;
|
|
20
|
+
export type GetEventInput = z.infer<typeof GetEventInputSchema>;
|
|
21
|
+
/**
|
|
22
|
+
* Create event input schema
|
|
23
|
+
*/
|
|
24
|
+
export declare const CreateEventInputSchema: z.ZodObject<{
|
|
25
|
+
name: z.ZodString;
|
|
26
|
+
start: z.ZodOptional<z.ZodNumber>;
|
|
27
|
+
end: z.ZodOptional<z.ZodNumber>;
|
|
28
|
+
allDay: z.ZodOptional<z.ZodBoolean>;
|
|
29
|
+
description: z.ZodOptional<z.ZodString>;
|
|
30
|
+
leadId: z.ZodOptional<z.ZodString>;
|
|
31
|
+
contactId: z.ZodOptional<z.ZodString>;
|
|
32
|
+
assignedTo: z.ZodOptional<z.ZodString>;
|
|
33
|
+
}, z.core.$strict>;
|
|
34
|
+
export type CreateEventInput = z.infer<typeof CreateEventInputSchema>;
|
|
35
|
+
/**
|
|
36
|
+
* Update event input schema
|
|
37
|
+
*/
|
|
38
|
+
export declare const UpdateEventInputSchema: z.ZodObject<{
|
|
39
|
+
event_id: z.ZodString;
|
|
40
|
+
name: z.ZodOptional<z.ZodString>;
|
|
41
|
+
start: z.ZodOptional<z.ZodNumber>;
|
|
42
|
+
end: z.ZodOptional<z.ZodNumber>;
|
|
43
|
+
allDay: z.ZodOptional<z.ZodBoolean>;
|
|
44
|
+
description: z.ZodOptional<z.ZodString>;
|
|
45
|
+
leadId: z.ZodOptional<z.ZodString>;
|
|
46
|
+
contactId: z.ZodOptional<z.ZodString>;
|
|
47
|
+
assignedTo: z.ZodOptional<z.ZodString>;
|
|
48
|
+
}, z.core.$strict>;
|
|
49
|
+
export type UpdateEventInput = z.infer<typeof UpdateEventInputSchema>;
|
|
50
|
+
/**
|
|
51
|
+
* Delete event input schema
|
|
52
|
+
*/
|
|
53
|
+
export declare const DeleteEventInputSchema: z.ZodObject<{
|
|
54
|
+
event_id: z.ZodString;
|
|
55
|
+
}, z.core.$strict>;
|
|
56
|
+
export type DeleteEventInput = z.infer<typeof DeleteEventInputSchema>;
|
|
57
|
+
//# sourceMappingURL=events.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../../src/schemas/crm/events.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAQxB;;GAEG;AACH,eAAO,MAAM,qBAAqB;;;kBAGhC,CAAA;AAEF,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAEpE;;GAEG;AACH,eAAO,MAAM,mBAAmB;;;kBAG9B,CAAA;AAEF,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAEhE;;GAEG;AACH,eAAO,MAAM,sBAAsB;;;;;;;;;kBASjC,CAAA;AAEF,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAEtE;;GAEG;AACH,eAAO,MAAM,sBAAsB;;;;;;;;;;kBAUjC,CAAA;AAEF,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAEtE;;GAEG;AACH,eAAO,MAAM,sBAAsB;;kBAEjC,CAAA;AAEF,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Zod schemas for Event-related operations
|
|
3
|
+
*/
|
|
4
|
+
import { z } from "zod";
|
|
5
|
+
import { IdSchema, PaginationSchema, ResponseFormatSchema, TimestampSchema, } from "../common.js";
|
|
6
|
+
/**
|
|
7
|
+
* List events input schema
|
|
8
|
+
*/
|
|
9
|
+
export const ListEventsInputSchema = z.strictObject({
|
|
10
|
+
page: PaginationSchema.shape.page,
|
|
11
|
+
response_format: ResponseFormatSchema,
|
|
12
|
+
});
|
|
13
|
+
/**
|
|
14
|
+
* Get event input schema
|
|
15
|
+
*/
|
|
16
|
+
export const GetEventInputSchema = z.strictObject({
|
|
17
|
+
event_id: IdSchema.describe("The event ID to retrieve"),
|
|
18
|
+
response_format: ResponseFormatSchema,
|
|
19
|
+
});
|
|
20
|
+
/**
|
|
21
|
+
* Create event input schema
|
|
22
|
+
*/
|
|
23
|
+
export const CreateEventInputSchema = z.strictObject({
|
|
24
|
+
name: z.string().min(1, { message: "Name is required" }).describe("Event name (required)"),
|
|
25
|
+
start: TimestampSchema.describe("Start time as Unix timestamp (required)"),
|
|
26
|
+
end: TimestampSchema.describe("End time as Unix timestamp"),
|
|
27
|
+
allDay: z.boolean().optional().describe("Whether the event is all-day"),
|
|
28
|
+
description: z.string().optional().describe("Event description"),
|
|
29
|
+
leadId: z.string().optional().describe("Associated lead ID"),
|
|
30
|
+
contactId: z.string().optional().describe("Associated contact ID"),
|
|
31
|
+
assignedTo: z.string().optional().describe("User ID to assign the event to"),
|
|
32
|
+
});
|
|
33
|
+
/**
|
|
34
|
+
* Update event input schema
|
|
35
|
+
*/
|
|
36
|
+
export const UpdateEventInputSchema = z.strictObject({
|
|
37
|
+
event_id: IdSchema.describe("The event ID to update"),
|
|
38
|
+
name: z.string().min(1).optional().describe("Event name"),
|
|
39
|
+
start: TimestampSchema.describe("Start time as Unix timestamp"),
|
|
40
|
+
end: TimestampSchema.describe("End time as Unix timestamp"),
|
|
41
|
+
allDay: z.boolean().optional().describe("Whether the event is all-day"),
|
|
42
|
+
description: z.string().optional().describe("Event description"),
|
|
43
|
+
leadId: z.string().optional().describe("Associated lead ID"),
|
|
44
|
+
contactId: z.string().optional().describe("Associated contact ID"),
|
|
45
|
+
assignedTo: z.string().optional().describe("User ID to assign the event to"),
|
|
46
|
+
});
|
|
47
|
+
/**
|
|
48
|
+
* Delete event input schema
|
|
49
|
+
*/
|
|
50
|
+
export const DeleteEventInputSchema = z.strictObject({
|
|
51
|
+
event_id: IdSchema.describe("The event ID to delete"),
|
|
52
|
+
});
|
|
53
|
+
//# sourceMappingURL=events.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"events.js","sourceRoot":"","sources":["../../../src/schemas/crm/events.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EACL,QAAQ,EACR,gBAAgB,EAChB,oBAAoB,EACpB,eAAe,GAChB,MAAM,cAAc,CAAC;AAEtB;;GAEG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,CAAC,YAAY,CAAC;IAClD,IAAI,EAAE,gBAAgB,CAAC,KAAK,CAAC,IAAI;IACjC,eAAe,EAAE,oBAAoB;CACtC,CAAC,CAAA;AAIF;;GAEG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,CAAC,YAAY,CAAC;IAChD,QAAQ,EAAE,QAAQ,CAAC,QAAQ,CAAC,0BAA0B,CAAC;IACvD,eAAe,EAAE,oBAAoB;CACtC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M,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,8BAA8B,CAAC;IACvE,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,mBAAmB,CAAC;IAChE,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,oBAAoB,CAAC;IAC5D,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,uBAAuB,CAAC;IAClE,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,gCAAgC,CAAC;CAC7E,CAAC,CAAA;AAIF;;GAEG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,CAAC,YAAY,CAAC;IACnD,QAAQ,EAAE,QAAQ,CAAC,QAAQ,CAAC,wBAAwB,CAAC;CACtD,CAAC,CAAA"}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Zod schemas for Funnel-related operations
|
|
3
|
+
*/
|
|
4
|
+
import { z } from "zod";
|
|
5
|
+
/**
|
|
6
|
+
* List funnels input schema
|
|
7
|
+
*/
|
|
8
|
+
export declare const ListFunnelsInputSchema: z.ZodObject<{
|
|
9
|
+
response_format: z.ZodDefault<z.ZodEnum<typeof import("../../constants.js").ResponseFormat>>;
|
|
10
|
+
}, z.core.$strict>;
|
|
11
|
+
export type ListFunnelsInput = z.infer<typeof ListFunnelsInputSchema>;
|
|
12
|
+
/**
|
|
13
|
+
* Funnel stage schema
|
|
14
|
+
*/
|
|
15
|
+
export declare const FunnelStageSchema: z.ZodObject<{
|
|
16
|
+
name: z.ZodString;
|
|
17
|
+
order: z.ZodOptional<z.ZodNumber>;
|
|
18
|
+
probability: z.ZodOptional<z.ZodNumber>;
|
|
19
|
+
}, z.core.$strict>;
|
|
20
|
+
/**
|
|
21
|
+
* Create funnel input schema
|
|
22
|
+
*/
|
|
23
|
+
export declare const CreateFunnelInputSchema: z.ZodObject<{
|
|
24
|
+
name: z.ZodString;
|
|
25
|
+
stages: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
26
|
+
name: z.ZodString;
|
|
27
|
+
order: z.ZodOptional<z.ZodNumber>;
|
|
28
|
+
probability: z.ZodOptional<z.ZodNumber>;
|
|
29
|
+
}, z.core.$strict>>>;
|
|
30
|
+
}, z.core.$strict>;
|
|
31
|
+
export type CreateFunnelInput = z.infer<typeof CreateFunnelInputSchema>;
|
|
32
|
+
/**
|
|
33
|
+
* Update funnel input schema
|
|
34
|
+
*/
|
|
35
|
+
export declare const UpdateFunnelInputSchema: z.ZodObject<{
|
|
36
|
+
funnel_id: z.ZodString;
|
|
37
|
+
name: z.ZodOptional<z.ZodString>;
|
|
38
|
+
stages: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
39
|
+
name: z.ZodString;
|
|
40
|
+
order: z.ZodOptional<z.ZodNumber>;
|
|
41
|
+
probability: z.ZodOptional<z.ZodNumber>;
|
|
42
|
+
}, z.core.$strict>>>;
|
|
43
|
+
}, z.core.$strict>;
|
|
44
|
+
export type UpdateFunnelInput = z.infer<typeof UpdateFunnelInputSchema>;
|
|
45
|
+
/**
|
|
46
|
+
* Get funnel input schema
|
|
47
|
+
*/
|
|
48
|
+
export declare const GetFunnelInputSchema: z.ZodObject<{
|
|
49
|
+
funnel_id: z.ZodString;
|
|
50
|
+
response_format: z.ZodDefault<z.ZodEnum<typeof import("../../constants.js").ResponseFormat>>;
|
|
51
|
+
}, z.core.$strict>;
|
|
52
|
+
export type GetFunnelInput = z.infer<typeof GetFunnelInputSchema>;
|
|
53
|
+
/**
|
|
54
|
+
* Delete funnel input schema
|
|
55
|
+
*/
|
|
56
|
+
export declare const DeleteFunnelInputSchema: z.ZodObject<{
|
|
57
|
+
funnel_id: z.ZodString;
|
|
58
|
+
}, z.core.$strict>;
|
|
59
|
+
export type DeleteFunnelInput = z.infer<typeof DeleteFunnelInputSchema>;
|
|
60
|
+
//# sourceMappingURL=funnels.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"funnels.d.ts","sourceRoot":"","sources":["../../../src/schemas/crm/funnels.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB;;GAEG;AACH,eAAO,MAAM,sBAAsB;;kBAEjC,CAAA;AAEF,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAEtE;;GAEG;AACH,eAAO,MAAM,iBAAiB;;;;kBAI5B,CAAA;AAEF;;GAEG;AACH,eAAO,MAAM,uBAAuB;;;;;;;kBAGlC,CAAA;AAEF,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAExE;;GAEG;AACH,eAAO,MAAM,uBAAuB;;;;;;;;kBAIlC,CAAA;AAEF,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAExE;;GAEG;AACH,eAAO,MAAM,oBAAoB;;;kBAG/B,CAAA;AAEF,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAElE;;GAEG;AACH,eAAO,MAAM,uBAAuB;;kBAElC,CAAA;AAEF,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Zod schemas for Funnel-related operations
|
|
3
|
+
*/
|
|
4
|
+
import { z } from "zod";
|
|
5
|
+
import { IdSchema, ResponseFormatSchema, } from "../common.js";
|
|
6
|
+
/**
|
|
7
|
+
* List funnels input schema
|
|
8
|
+
*/
|
|
9
|
+
export const ListFunnelsInputSchema = z.strictObject({
|
|
10
|
+
response_format: ResponseFormatSchema,
|
|
11
|
+
});
|
|
12
|
+
/**
|
|
13
|
+
* Funnel stage schema
|
|
14
|
+
*/
|
|
15
|
+
export const FunnelStageSchema = z.strictObject({
|
|
16
|
+
name: z.string().min(1).describe("Stage name (required)"),
|
|
17
|
+
order: z.number().int().min(0).optional().describe("Stage order/position"),
|
|
18
|
+
probability: z.number().min(0).max(100).optional().describe("Default probability (0-100%)"),
|
|
19
|
+
});
|
|
20
|
+
/**
|
|
21
|
+
* Create funnel input schema
|
|
22
|
+
*/
|
|
23
|
+
export const CreateFunnelInputSchema = z.strictObject({
|
|
24
|
+
name: z.string().min(1, { message: "Name is required" }).describe("Funnel name (required)"),
|
|
25
|
+
stages: z.array(FunnelStageSchema).optional().describe("Initial funnel stages"),
|
|
26
|
+
});
|
|
27
|
+
/**
|
|
28
|
+
* Update funnel input schema
|
|
29
|
+
*/
|
|
30
|
+
export const UpdateFunnelInputSchema = z.strictObject({
|
|
31
|
+
funnel_id: IdSchema.describe("The funnel ID to update"),
|
|
32
|
+
name: z.string().min(1).optional().describe("Funnel name"),
|
|
33
|
+
stages: z.array(FunnelStageSchema).optional().describe("Updated funnel stages"),
|
|
34
|
+
});
|
|
35
|
+
/**
|
|
36
|
+
* Get funnel input schema
|
|
37
|
+
*/
|
|
38
|
+
export const GetFunnelInputSchema = z.strictObject({
|
|
39
|
+
funnel_id: IdSchema.describe("The funnel ID to retrieve"),
|
|
40
|
+
response_format: ResponseFormatSchema,
|
|
41
|
+
});
|
|
42
|
+
/**
|
|
43
|
+
* Delete funnel input schema
|
|
44
|
+
*/
|
|
45
|
+
export const DeleteFunnelInputSchema = z.strictObject({
|
|
46
|
+
funnel_id: IdSchema.describe("The funnel ID to delete"),
|
|
47
|
+
});
|
|
48
|
+
//# sourceMappingURL=funnels.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fun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