@ndrs92/contracts 0.0.0-stage → 0.2.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/dist/cjs/business/business.owner.schema.d.ts +605 -0
- package/dist/cjs/business/business.owner.schema.js +68 -0
- package/dist/cjs/business/business.owner.schema.js.map +1 -0
- package/dist/cjs/business/business.owner.types.d.ts +5 -0
- package/dist/cjs/business/business.owner.types.js +3 -0
- package/dist/cjs/business/business.owner.types.js.map +1 -0
- package/dist/cjs/business/business.request.schema.d.ts +322 -0
- package/dist/cjs/business/business.request.schema.js +111 -0
- package/dist/cjs/business/business.request.schema.js.map +1 -0
- package/dist/cjs/business/business.request.types.d.ts +6 -0
- package/dist/cjs/business/business.request.types.js +3 -0
- package/dist/cjs/business/business.request.types.js.map +1 -0
- package/dist/cjs/business/business.schema.d.ts +427 -0
- package/dist/cjs/business/business.schema.js +211 -0
- package/dist/cjs/business/business.schema.js.map +1 -0
- package/dist/cjs/business/business.types.d.ts +3 -0
- package/dist/cjs/business/business.types.js +3 -0
- package/dist/cjs/business/business.types.js.map +1 -0
- package/dist/cjs/event/event.schema.d.ts +101 -0
- package/dist/cjs/event/event.schema.js +58 -0
- package/dist/cjs/event/event.schema.js.map +1 -0
- package/dist/cjs/event/event.types.d.ts +4 -0
- package/dist/cjs/event/event.types.js +3 -0
- package/dist/cjs/event/event.types.js.map +1 -0
- package/dist/cjs/index.d.ts +8 -0
- package/dist/cjs/index.js +30 -0
- package/dist/cjs/index.js.map +1 -0
- package/dist/cjs/package.json +3 -0
- package/dist/esm/business/business.owner.schema.d.ts +605 -0
- package/dist/esm/business/business.owner.schema.js +65 -0
- package/dist/esm/business/business.owner.schema.js.map +1 -0
- package/dist/esm/business/business.owner.types.d.ts +5 -0
- package/dist/esm/business/business.owner.types.js +2 -0
- package/dist/esm/business/business.owner.types.js.map +1 -0
- package/dist/esm/business/business.request.schema.d.ts +322 -0
- package/dist/esm/business/business.request.schema.js +108 -0
- package/dist/esm/business/business.request.schema.js.map +1 -0
- package/dist/esm/business/business.request.types.d.ts +6 -0
- package/dist/esm/business/business.request.types.js +2 -0
- package/dist/esm/business/business.request.types.js.map +1 -0
- package/dist/esm/business/business.schema.d.ts +427 -0
- package/dist/esm/business/business.schema.js +208 -0
- package/dist/esm/business/business.schema.js.map +1 -0
- package/dist/esm/business/business.types.d.ts +3 -0
- package/dist/esm/business/business.types.js +2 -0
- package/dist/esm/business/business.types.js.map +1 -0
- package/dist/esm/event/event.schema.d.ts +101 -0
- package/dist/esm/event/event.schema.js +55 -0
- package/dist/esm/event/event.schema.js.map +1 -0
- package/dist/esm/event/event.types.d.ts +4 -0
- package/dist/esm/event/event.types.js +2 -0
- package/dist/esm/event/event.types.js.map +1 -0
- package/dist/esm/index.d.ts +8 -0
- package/dist/esm/index.js +5 -0
- package/dist/esm/index.js.map +1 -0
- package/package.json +33 -6
- package/README.md +0 -3
|
@@ -0,0 +1,427 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const BusinessProviderTypeSchema: z.ZodEnum<{
|
|
3
|
+
community: "community";
|
|
4
|
+
business: "business";
|
|
5
|
+
}>;
|
|
6
|
+
export declare const BusinessCategorySchema: z.ZodEnum<{
|
|
7
|
+
food: "food";
|
|
8
|
+
entertainment: "entertainment";
|
|
9
|
+
services: "services";
|
|
10
|
+
shopping: "shopping";
|
|
11
|
+
education: "education";
|
|
12
|
+
health: "health";
|
|
13
|
+
}>;
|
|
14
|
+
export declare const BusinessSubCategorySchema: z.ZodEnum<{
|
|
15
|
+
restaurant: "restaurant";
|
|
16
|
+
cafe: "cafe";
|
|
17
|
+
bar: "bar";
|
|
18
|
+
bakery: "bakery";
|
|
19
|
+
catering: "catering";
|
|
20
|
+
club: "club";
|
|
21
|
+
event_venue: "event_venue";
|
|
22
|
+
event_organizer: "event_organizer";
|
|
23
|
+
cultural_center: "cultural_center";
|
|
24
|
+
dance_school: "dance_school";
|
|
25
|
+
beauty_salon: "beauty_salon";
|
|
26
|
+
barbershop: "barbershop";
|
|
27
|
+
repair: "repair";
|
|
28
|
+
agency: "agency";
|
|
29
|
+
translator: "translator";
|
|
30
|
+
photographer: "photographer";
|
|
31
|
+
freelancer: "freelancer";
|
|
32
|
+
latin_store: "latin_store";
|
|
33
|
+
supermarket: "supermarket";
|
|
34
|
+
clothing: "clothing";
|
|
35
|
+
product_seller: "product_seller";
|
|
36
|
+
language_school: "language_school";
|
|
37
|
+
academy: "academy";
|
|
38
|
+
private_teacher: "private_teacher";
|
|
39
|
+
clinic: "clinic";
|
|
40
|
+
gym: "gym";
|
|
41
|
+
}>;
|
|
42
|
+
export declare const BusinessAvailabilityTypeSchema: z.ZodEnum<{
|
|
43
|
+
appointment: "appointment";
|
|
44
|
+
walk_in: "walk_in";
|
|
45
|
+
online: "online";
|
|
46
|
+
flexible: "flexible";
|
|
47
|
+
}>;
|
|
48
|
+
export declare const BusinessPricingTypeSchema: z.ZodEnum<{
|
|
49
|
+
fixed: "fixed";
|
|
50
|
+
hourly: "hourly";
|
|
51
|
+
starting_at: "starting_at";
|
|
52
|
+
range: "range";
|
|
53
|
+
}>;
|
|
54
|
+
export declare const BusinessDocumentTypeSchema: z.ZodEnum<{
|
|
55
|
+
menu: "menu";
|
|
56
|
+
catalog: "catalog";
|
|
57
|
+
portfolio: "portfolio";
|
|
58
|
+
brochure: "brochure";
|
|
59
|
+
}>;
|
|
60
|
+
export declare const BusinessVerificationStatusSchema: z.ZodEnum<{
|
|
61
|
+
unverified: "unverified";
|
|
62
|
+
pending: "pending";
|
|
63
|
+
verified: "verified";
|
|
64
|
+
rejected: "rejected";
|
|
65
|
+
}>;
|
|
66
|
+
export declare const OpeningHoursSchema: z.ZodObject<{
|
|
67
|
+
monday: z.ZodObject<{
|
|
68
|
+
isOpen: z.ZodBoolean;
|
|
69
|
+
intervals: z.ZodArray<z.ZodObject<{
|
|
70
|
+
open: z.ZodString;
|
|
71
|
+
close: z.ZodString;
|
|
72
|
+
}, z.core.$strict>>;
|
|
73
|
+
}, z.core.$strict>;
|
|
74
|
+
tuesday: z.ZodObject<{
|
|
75
|
+
isOpen: z.ZodBoolean;
|
|
76
|
+
intervals: z.ZodArray<z.ZodObject<{
|
|
77
|
+
open: z.ZodString;
|
|
78
|
+
close: z.ZodString;
|
|
79
|
+
}, z.core.$strict>>;
|
|
80
|
+
}, z.core.$strict>;
|
|
81
|
+
wednesday: z.ZodObject<{
|
|
82
|
+
isOpen: z.ZodBoolean;
|
|
83
|
+
intervals: z.ZodArray<z.ZodObject<{
|
|
84
|
+
open: z.ZodString;
|
|
85
|
+
close: z.ZodString;
|
|
86
|
+
}, z.core.$strict>>;
|
|
87
|
+
}, z.core.$strict>;
|
|
88
|
+
thursday: z.ZodObject<{
|
|
89
|
+
isOpen: z.ZodBoolean;
|
|
90
|
+
intervals: z.ZodArray<z.ZodObject<{
|
|
91
|
+
open: z.ZodString;
|
|
92
|
+
close: z.ZodString;
|
|
93
|
+
}, z.core.$strict>>;
|
|
94
|
+
}, z.core.$strict>;
|
|
95
|
+
friday: z.ZodObject<{
|
|
96
|
+
isOpen: z.ZodBoolean;
|
|
97
|
+
intervals: z.ZodArray<z.ZodObject<{
|
|
98
|
+
open: z.ZodString;
|
|
99
|
+
close: z.ZodString;
|
|
100
|
+
}, z.core.$strict>>;
|
|
101
|
+
}, z.core.$strict>;
|
|
102
|
+
saturday: z.ZodObject<{
|
|
103
|
+
isOpen: z.ZodBoolean;
|
|
104
|
+
intervals: z.ZodArray<z.ZodObject<{
|
|
105
|
+
open: z.ZodString;
|
|
106
|
+
close: z.ZodString;
|
|
107
|
+
}, z.core.$strict>>;
|
|
108
|
+
}, z.core.$strict>;
|
|
109
|
+
sunday: z.ZodObject<{
|
|
110
|
+
isOpen: z.ZodBoolean;
|
|
111
|
+
intervals: z.ZodArray<z.ZodObject<{
|
|
112
|
+
open: z.ZodString;
|
|
113
|
+
close: z.ZodString;
|
|
114
|
+
}, z.core.$strict>>;
|
|
115
|
+
}, z.core.$strict>;
|
|
116
|
+
}, z.core.$strict>;
|
|
117
|
+
export declare const PublicBusinessProfileSchema: z.ZodObject<{
|
|
118
|
+
headline: z.ZodOptional<z.ZodString>;
|
|
119
|
+
services: z.ZodArray<z.ZodString>;
|
|
120
|
+
specialties: z.ZodArray<z.ZodString>;
|
|
121
|
+
languages: z.ZodArray<z.ZodString>;
|
|
122
|
+
serviceArea: z.ZodArray<z.ZodString>;
|
|
123
|
+
availability: z.ZodOptional<z.ZodObject<{
|
|
124
|
+
type: z.ZodEnum<{
|
|
125
|
+
appointment: "appointment";
|
|
126
|
+
walk_in: "walk_in";
|
|
127
|
+
online: "online";
|
|
128
|
+
flexible: "flexible";
|
|
129
|
+
}>;
|
|
130
|
+
description: z.ZodOptional<z.ZodString>;
|
|
131
|
+
}, z.core.$strict>>;
|
|
132
|
+
openingHours: z.ZodOptional<z.ZodObject<{
|
|
133
|
+
monday: z.ZodObject<{
|
|
134
|
+
isOpen: z.ZodBoolean;
|
|
135
|
+
intervals: z.ZodArray<z.ZodObject<{
|
|
136
|
+
open: z.ZodString;
|
|
137
|
+
close: z.ZodString;
|
|
138
|
+
}, z.core.$strict>>;
|
|
139
|
+
}, z.core.$strict>;
|
|
140
|
+
tuesday: z.ZodObject<{
|
|
141
|
+
isOpen: z.ZodBoolean;
|
|
142
|
+
intervals: z.ZodArray<z.ZodObject<{
|
|
143
|
+
open: z.ZodString;
|
|
144
|
+
close: z.ZodString;
|
|
145
|
+
}, z.core.$strict>>;
|
|
146
|
+
}, z.core.$strict>;
|
|
147
|
+
wednesday: z.ZodObject<{
|
|
148
|
+
isOpen: z.ZodBoolean;
|
|
149
|
+
intervals: z.ZodArray<z.ZodObject<{
|
|
150
|
+
open: z.ZodString;
|
|
151
|
+
close: z.ZodString;
|
|
152
|
+
}, z.core.$strict>>;
|
|
153
|
+
}, z.core.$strict>;
|
|
154
|
+
thursday: z.ZodObject<{
|
|
155
|
+
isOpen: z.ZodBoolean;
|
|
156
|
+
intervals: z.ZodArray<z.ZodObject<{
|
|
157
|
+
open: z.ZodString;
|
|
158
|
+
close: z.ZodString;
|
|
159
|
+
}, z.core.$strict>>;
|
|
160
|
+
}, z.core.$strict>;
|
|
161
|
+
friday: z.ZodObject<{
|
|
162
|
+
isOpen: z.ZodBoolean;
|
|
163
|
+
intervals: z.ZodArray<z.ZodObject<{
|
|
164
|
+
open: z.ZodString;
|
|
165
|
+
close: z.ZodString;
|
|
166
|
+
}, z.core.$strict>>;
|
|
167
|
+
}, z.core.$strict>;
|
|
168
|
+
saturday: z.ZodObject<{
|
|
169
|
+
isOpen: z.ZodBoolean;
|
|
170
|
+
intervals: z.ZodArray<z.ZodObject<{
|
|
171
|
+
open: z.ZodString;
|
|
172
|
+
close: z.ZodString;
|
|
173
|
+
}, z.core.$strict>>;
|
|
174
|
+
}, z.core.$strict>;
|
|
175
|
+
sunday: z.ZodObject<{
|
|
176
|
+
isOpen: z.ZodBoolean;
|
|
177
|
+
intervals: z.ZodArray<z.ZodObject<{
|
|
178
|
+
open: z.ZodString;
|
|
179
|
+
close: z.ZodString;
|
|
180
|
+
}, z.core.$strict>>;
|
|
181
|
+
}, z.core.$strict>;
|
|
182
|
+
}, z.core.$strict>>;
|
|
183
|
+
pricing: z.ZodOptional<z.ZodObject<{
|
|
184
|
+
type: z.ZodEnum<{
|
|
185
|
+
fixed: "fixed";
|
|
186
|
+
hourly: "hourly";
|
|
187
|
+
starting_at: "starting_at";
|
|
188
|
+
range: "range";
|
|
189
|
+
}>;
|
|
190
|
+
currency: z.ZodLiteral<"EUR">;
|
|
191
|
+
amount: z.ZodOptional<z.ZodNumber>;
|
|
192
|
+
minAmount: z.ZodOptional<z.ZodNumber>;
|
|
193
|
+
maxAmount: z.ZodOptional<z.ZodNumber>;
|
|
194
|
+
description: z.ZodOptional<z.ZodString>;
|
|
195
|
+
}, z.core.$strict>>;
|
|
196
|
+
}, z.core.$strict>;
|
|
197
|
+
export declare const PublicBusinessContactSchema: z.ZodObject<{
|
|
198
|
+
email: z.ZodOptional<z.ZodString>;
|
|
199
|
+
phone: z.ZodOptional<z.ZodString>;
|
|
200
|
+
website: z.ZodOptional<z.ZodString>;
|
|
201
|
+
instagram: z.ZodOptional<z.ZodString>;
|
|
202
|
+
whatsapp: z.ZodOptional<z.ZodString>;
|
|
203
|
+
}, z.core.$strict>;
|
|
204
|
+
export declare const PublicBusinessCommunitySchema: z.ZodObject<{
|
|
205
|
+
isLatinoOwned: z.ZodBoolean;
|
|
206
|
+
countryOfOrigin: z.ZodOptional<z.ZodString>;
|
|
207
|
+
}, z.core.$strict>;
|
|
208
|
+
export declare const PublicBusinessRatingSchema: z.ZodObject<{
|
|
209
|
+
average: z.ZodNumber;
|
|
210
|
+
count: z.ZodNumber;
|
|
211
|
+
}, z.core.$strict>;
|
|
212
|
+
export declare const PublicBusinessVerificationSchema: z.ZodObject<{
|
|
213
|
+
status: z.ZodEnum<{
|
|
214
|
+
unverified: "unverified";
|
|
215
|
+
pending: "pending";
|
|
216
|
+
verified: "verified";
|
|
217
|
+
rejected: "rejected";
|
|
218
|
+
}>;
|
|
219
|
+
checks: z.ZodObject<{
|
|
220
|
+
identity: z.ZodBoolean;
|
|
221
|
+
contact: z.ZodBoolean;
|
|
222
|
+
activity: z.ZodBoolean;
|
|
223
|
+
}, z.core.$strict>;
|
|
224
|
+
}, z.core.$strict>;
|
|
225
|
+
export declare const PublicBusinessSchema: z.ZodObject<{
|
|
226
|
+
id: z.ZodString;
|
|
227
|
+
slug: z.ZodString;
|
|
228
|
+
name: z.ZodString;
|
|
229
|
+
description: z.ZodOptional<z.ZodString>;
|
|
230
|
+
providerType: z.ZodEnum<{
|
|
231
|
+
community: "community";
|
|
232
|
+
business: "business";
|
|
233
|
+
}>;
|
|
234
|
+
category: z.ZodEnum<{
|
|
235
|
+
food: "food";
|
|
236
|
+
entertainment: "entertainment";
|
|
237
|
+
services: "services";
|
|
238
|
+
shopping: "shopping";
|
|
239
|
+
education: "education";
|
|
240
|
+
health: "health";
|
|
241
|
+
}>;
|
|
242
|
+
subCategory: z.ZodOptional<z.ZodEnum<{
|
|
243
|
+
restaurant: "restaurant";
|
|
244
|
+
cafe: "cafe";
|
|
245
|
+
bar: "bar";
|
|
246
|
+
bakery: "bakery";
|
|
247
|
+
catering: "catering";
|
|
248
|
+
club: "club";
|
|
249
|
+
event_venue: "event_venue";
|
|
250
|
+
event_organizer: "event_organizer";
|
|
251
|
+
cultural_center: "cultural_center";
|
|
252
|
+
dance_school: "dance_school";
|
|
253
|
+
beauty_salon: "beauty_salon";
|
|
254
|
+
barbershop: "barbershop";
|
|
255
|
+
repair: "repair";
|
|
256
|
+
agency: "agency";
|
|
257
|
+
translator: "translator";
|
|
258
|
+
photographer: "photographer";
|
|
259
|
+
freelancer: "freelancer";
|
|
260
|
+
latin_store: "latin_store";
|
|
261
|
+
supermarket: "supermarket";
|
|
262
|
+
clothing: "clothing";
|
|
263
|
+
product_seller: "product_seller";
|
|
264
|
+
language_school: "language_school";
|
|
265
|
+
academy: "academy";
|
|
266
|
+
private_teacher: "private_teacher";
|
|
267
|
+
clinic: "clinic";
|
|
268
|
+
gym: "gym";
|
|
269
|
+
}>>;
|
|
270
|
+
cityId: z.ZodString;
|
|
271
|
+
country: z.ZodOptional<z.ZodString>;
|
|
272
|
+
address: z.ZodOptional<z.ZodString>;
|
|
273
|
+
coordinates: z.ZodOptional<z.ZodObject<{
|
|
274
|
+
lat: z.ZodNumber;
|
|
275
|
+
lng: z.ZodNumber;
|
|
276
|
+
}, z.core.$strict>>;
|
|
277
|
+
image: z.ZodOptional<z.ZodString>;
|
|
278
|
+
coverImage: z.ZodOptional<z.ZodString>;
|
|
279
|
+
gallery: z.ZodArray<z.ZodString>;
|
|
280
|
+
website: z.ZodOptional<z.ZodString>;
|
|
281
|
+
instagram: z.ZodOptional<z.ZodString>;
|
|
282
|
+
whatsapp: z.ZodOptional<z.ZodString>;
|
|
283
|
+
contact: z.ZodObject<{
|
|
284
|
+
email: z.ZodOptional<z.ZodString>;
|
|
285
|
+
phone: z.ZodOptional<z.ZodString>;
|
|
286
|
+
website: z.ZodOptional<z.ZodString>;
|
|
287
|
+
instagram: z.ZodOptional<z.ZodString>;
|
|
288
|
+
whatsapp: z.ZodOptional<z.ZodString>;
|
|
289
|
+
}, z.core.$strict>;
|
|
290
|
+
community: z.ZodObject<{
|
|
291
|
+
isLatinoOwned: z.ZodBoolean;
|
|
292
|
+
countryOfOrigin: z.ZodOptional<z.ZodString>;
|
|
293
|
+
}, z.core.$strict>;
|
|
294
|
+
profile: z.ZodObject<{
|
|
295
|
+
headline: z.ZodOptional<z.ZodString>;
|
|
296
|
+
services: z.ZodArray<z.ZodString>;
|
|
297
|
+
specialties: z.ZodArray<z.ZodString>;
|
|
298
|
+
languages: z.ZodArray<z.ZodString>;
|
|
299
|
+
serviceArea: z.ZodArray<z.ZodString>;
|
|
300
|
+
availability: z.ZodOptional<z.ZodObject<{
|
|
301
|
+
type: z.ZodEnum<{
|
|
302
|
+
appointment: "appointment";
|
|
303
|
+
walk_in: "walk_in";
|
|
304
|
+
online: "online";
|
|
305
|
+
flexible: "flexible";
|
|
306
|
+
}>;
|
|
307
|
+
description: z.ZodOptional<z.ZodString>;
|
|
308
|
+
}, z.core.$strict>>;
|
|
309
|
+
openingHours: z.ZodOptional<z.ZodObject<{
|
|
310
|
+
monday: z.ZodObject<{
|
|
311
|
+
isOpen: z.ZodBoolean;
|
|
312
|
+
intervals: z.ZodArray<z.ZodObject<{
|
|
313
|
+
open: z.ZodString;
|
|
314
|
+
close: z.ZodString;
|
|
315
|
+
}, z.core.$strict>>;
|
|
316
|
+
}, z.core.$strict>;
|
|
317
|
+
tuesday: z.ZodObject<{
|
|
318
|
+
isOpen: z.ZodBoolean;
|
|
319
|
+
intervals: z.ZodArray<z.ZodObject<{
|
|
320
|
+
open: z.ZodString;
|
|
321
|
+
close: z.ZodString;
|
|
322
|
+
}, z.core.$strict>>;
|
|
323
|
+
}, z.core.$strict>;
|
|
324
|
+
wednesday: z.ZodObject<{
|
|
325
|
+
isOpen: z.ZodBoolean;
|
|
326
|
+
intervals: z.ZodArray<z.ZodObject<{
|
|
327
|
+
open: z.ZodString;
|
|
328
|
+
close: z.ZodString;
|
|
329
|
+
}, z.core.$strict>>;
|
|
330
|
+
}, z.core.$strict>;
|
|
331
|
+
thursday: z.ZodObject<{
|
|
332
|
+
isOpen: z.ZodBoolean;
|
|
333
|
+
intervals: z.ZodArray<z.ZodObject<{
|
|
334
|
+
open: z.ZodString;
|
|
335
|
+
close: z.ZodString;
|
|
336
|
+
}, z.core.$strict>>;
|
|
337
|
+
}, z.core.$strict>;
|
|
338
|
+
friday: z.ZodObject<{
|
|
339
|
+
isOpen: z.ZodBoolean;
|
|
340
|
+
intervals: z.ZodArray<z.ZodObject<{
|
|
341
|
+
open: z.ZodString;
|
|
342
|
+
close: z.ZodString;
|
|
343
|
+
}, z.core.$strict>>;
|
|
344
|
+
}, z.core.$strict>;
|
|
345
|
+
saturday: z.ZodObject<{
|
|
346
|
+
isOpen: z.ZodBoolean;
|
|
347
|
+
intervals: z.ZodArray<z.ZodObject<{
|
|
348
|
+
open: z.ZodString;
|
|
349
|
+
close: z.ZodString;
|
|
350
|
+
}, z.core.$strict>>;
|
|
351
|
+
}, z.core.$strict>;
|
|
352
|
+
sunday: z.ZodObject<{
|
|
353
|
+
isOpen: z.ZodBoolean;
|
|
354
|
+
intervals: z.ZodArray<z.ZodObject<{
|
|
355
|
+
open: z.ZodString;
|
|
356
|
+
close: z.ZodString;
|
|
357
|
+
}, z.core.$strict>>;
|
|
358
|
+
}, z.core.$strict>;
|
|
359
|
+
}, z.core.$strict>>;
|
|
360
|
+
pricing: z.ZodOptional<z.ZodObject<{
|
|
361
|
+
type: z.ZodEnum<{
|
|
362
|
+
fixed: "fixed";
|
|
363
|
+
hourly: "hourly";
|
|
364
|
+
starting_at: "starting_at";
|
|
365
|
+
range: "range";
|
|
366
|
+
}>;
|
|
367
|
+
currency: z.ZodLiteral<"EUR">;
|
|
368
|
+
amount: z.ZodOptional<z.ZodNumber>;
|
|
369
|
+
minAmount: z.ZodOptional<z.ZodNumber>;
|
|
370
|
+
maxAmount: z.ZodOptional<z.ZodNumber>;
|
|
371
|
+
description: z.ZodOptional<z.ZodString>;
|
|
372
|
+
}, z.core.$strict>>;
|
|
373
|
+
}, z.core.$strict>;
|
|
374
|
+
documents: z.ZodArray<z.ZodObject<{
|
|
375
|
+
type: z.ZodEnum<{
|
|
376
|
+
menu: "menu";
|
|
377
|
+
catalog: "catalog";
|
|
378
|
+
portfolio: "portfolio";
|
|
379
|
+
brochure: "brochure";
|
|
380
|
+
}>;
|
|
381
|
+
url: z.ZodString;
|
|
382
|
+
name: z.ZodOptional<z.ZodString>;
|
|
383
|
+
}, z.core.$strict>>;
|
|
384
|
+
menu: z.ZodOptional<z.ZodString>;
|
|
385
|
+
priceRange: z.ZodOptional<z.ZodEnum<{
|
|
386
|
+
$: "$";
|
|
387
|
+
$$: "$$";
|
|
388
|
+
$$$: "$$$";
|
|
389
|
+
}>>;
|
|
390
|
+
tags: z.ZodArray<z.ZodString>;
|
|
391
|
+
languages: z.ZodArray<z.ZodString>;
|
|
392
|
+
isLatinoOwned: z.ZodBoolean;
|
|
393
|
+
countryOfOrigin: z.ZodOptional<z.ZodString>;
|
|
394
|
+
rating: z.ZodObject<{
|
|
395
|
+
average: z.ZodNumber;
|
|
396
|
+
count: z.ZodNumber;
|
|
397
|
+
}, z.core.$strict>;
|
|
398
|
+
likesCount: z.ZodNumber;
|
|
399
|
+
followersCount: z.ZodNumber;
|
|
400
|
+
eventsCount: z.ZodNumber;
|
|
401
|
+
verification: z.ZodObject<{
|
|
402
|
+
status: z.ZodEnum<{
|
|
403
|
+
unverified: "unverified";
|
|
404
|
+
pending: "pending";
|
|
405
|
+
verified: "verified";
|
|
406
|
+
rejected: "rejected";
|
|
407
|
+
}>;
|
|
408
|
+
checks: z.ZodObject<{
|
|
409
|
+
identity: z.ZodBoolean;
|
|
410
|
+
contact: z.ZodBoolean;
|
|
411
|
+
activity: z.ZodBoolean;
|
|
412
|
+
}, z.core.$strict>;
|
|
413
|
+
}, z.core.$strict>;
|
|
414
|
+
verificationStatus: z.ZodEnum<{
|
|
415
|
+
unverified: "unverified";
|
|
416
|
+
pending: "pending";
|
|
417
|
+
verified: "verified";
|
|
418
|
+
rejected: "rejected";
|
|
419
|
+
}>;
|
|
420
|
+
isFeatured: z.ZodBoolean;
|
|
421
|
+
status: z.ZodEnum<{
|
|
422
|
+
active: "active";
|
|
423
|
+
blocked: "blocked";
|
|
424
|
+
}>;
|
|
425
|
+
createdAt: z.ZodISODateTime;
|
|
426
|
+
updatedAt: z.ZodISODateTime;
|
|
427
|
+
}, z.core.$strict>;
|
|
@@ -0,0 +1,211 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PublicBusinessSchema = exports.PublicBusinessVerificationSchema = exports.PublicBusinessRatingSchema = exports.PublicBusinessCommunitySchema = exports.PublicBusinessContactSchema = exports.PublicBusinessProfileSchema = exports.OpeningHoursSchema = exports.BusinessVerificationStatusSchema = exports.BusinessDocumentTypeSchema = exports.BusinessPricingTypeSchema = exports.BusinessAvailabilityTypeSchema = exports.BusinessSubCategorySchema = exports.BusinessCategorySchema = exports.BusinessProviderTypeSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
// ======================================================
|
|
6
|
+
// ENUMS
|
|
7
|
+
// ======================================================
|
|
8
|
+
exports.BusinessProviderTypeSchema = zod_1.z.enum([
|
|
9
|
+
"business",
|
|
10
|
+
"community",
|
|
11
|
+
]);
|
|
12
|
+
exports.BusinessCategorySchema = zod_1.z.enum([
|
|
13
|
+
"food",
|
|
14
|
+
"entertainment",
|
|
15
|
+
"services",
|
|
16
|
+
"shopping",
|
|
17
|
+
"education",
|
|
18
|
+
"health",
|
|
19
|
+
]);
|
|
20
|
+
exports.BusinessSubCategorySchema = zod_1.z.enum([
|
|
21
|
+
"restaurant",
|
|
22
|
+
"cafe",
|
|
23
|
+
"bar",
|
|
24
|
+
"bakery",
|
|
25
|
+
"catering",
|
|
26
|
+
"club",
|
|
27
|
+
"event_venue",
|
|
28
|
+
"event_organizer",
|
|
29
|
+
"cultural_center",
|
|
30
|
+
"dance_school",
|
|
31
|
+
"beauty_salon",
|
|
32
|
+
"barbershop",
|
|
33
|
+
"repair",
|
|
34
|
+
"agency",
|
|
35
|
+
"translator",
|
|
36
|
+
"photographer",
|
|
37
|
+
"freelancer",
|
|
38
|
+
"latin_store",
|
|
39
|
+
"supermarket",
|
|
40
|
+
"clothing",
|
|
41
|
+
"product_seller",
|
|
42
|
+
"language_school",
|
|
43
|
+
"academy",
|
|
44
|
+
"private_teacher",
|
|
45
|
+
"clinic",
|
|
46
|
+
"gym",
|
|
47
|
+
]);
|
|
48
|
+
exports.BusinessAvailabilityTypeSchema = zod_1.z.enum([
|
|
49
|
+
"appointment",
|
|
50
|
+
"walk_in",
|
|
51
|
+
"online",
|
|
52
|
+
"flexible",
|
|
53
|
+
]);
|
|
54
|
+
exports.BusinessPricingTypeSchema = zod_1.z.enum([
|
|
55
|
+
"fixed",
|
|
56
|
+
"hourly",
|
|
57
|
+
"starting_at",
|
|
58
|
+
"range",
|
|
59
|
+
]);
|
|
60
|
+
exports.BusinessDocumentTypeSchema = zod_1.z.enum([
|
|
61
|
+
"menu",
|
|
62
|
+
"catalog",
|
|
63
|
+
"portfolio",
|
|
64
|
+
"brochure",
|
|
65
|
+
]);
|
|
66
|
+
exports.BusinessVerificationStatusSchema = zod_1.z.enum([
|
|
67
|
+
"unverified",
|
|
68
|
+
"pending",
|
|
69
|
+
"verified",
|
|
70
|
+
"rejected",
|
|
71
|
+
]);
|
|
72
|
+
// ======================================================
|
|
73
|
+
// PROFILE
|
|
74
|
+
// ======================================================
|
|
75
|
+
const OpeningHoursIntervalSchema = zod_1.z.object({
|
|
76
|
+
open: zod_1.z.string(),
|
|
77
|
+
close: zod_1.z.string(),
|
|
78
|
+
}).strict();
|
|
79
|
+
const OpeningHoursDaySchema = zod_1.z.object({
|
|
80
|
+
isOpen: zod_1.z.boolean(),
|
|
81
|
+
intervals: zod_1.z.array(OpeningHoursIntervalSchema),
|
|
82
|
+
}).strict();
|
|
83
|
+
exports.OpeningHoursSchema = zod_1.z.object({
|
|
84
|
+
monday: OpeningHoursDaySchema,
|
|
85
|
+
tuesday: OpeningHoursDaySchema,
|
|
86
|
+
wednesday: OpeningHoursDaySchema,
|
|
87
|
+
thursday: OpeningHoursDaySchema,
|
|
88
|
+
friday: OpeningHoursDaySchema,
|
|
89
|
+
saturday: OpeningHoursDaySchema,
|
|
90
|
+
sunday: OpeningHoursDaySchema,
|
|
91
|
+
}).strict();
|
|
92
|
+
const BusinessAvailabilitySchema = zod_1.z.object({
|
|
93
|
+
type: exports.BusinessAvailabilityTypeSchema,
|
|
94
|
+
description: zod_1.z.string().optional(),
|
|
95
|
+
}).strict();
|
|
96
|
+
const BusinessPricingSchema = zod_1.z.object({
|
|
97
|
+
type: exports.BusinessPricingTypeSchema,
|
|
98
|
+
currency: zod_1.z.literal("EUR"),
|
|
99
|
+
amount: zod_1.z.number().optional(),
|
|
100
|
+
minAmount: zod_1.z.number().optional(),
|
|
101
|
+
maxAmount: zod_1.z.number().optional(),
|
|
102
|
+
description: zod_1.z.string().optional(),
|
|
103
|
+
}).strict();
|
|
104
|
+
exports.PublicBusinessProfileSchema = zod_1.z.object({
|
|
105
|
+
headline: zod_1.z.string().optional(),
|
|
106
|
+
services: zod_1.z.array(zod_1.z.string()),
|
|
107
|
+
specialties: zod_1.z.array(zod_1.z.string()),
|
|
108
|
+
languages: zod_1.z.array(zod_1.z.string()),
|
|
109
|
+
serviceArea: zod_1.z.array(zod_1.z.string()),
|
|
110
|
+
availability: BusinessAvailabilitySchema.optional(),
|
|
111
|
+
openingHours: exports.OpeningHoursSchema.optional(),
|
|
112
|
+
pricing: BusinessPricingSchema.optional(),
|
|
113
|
+
}).strict();
|
|
114
|
+
// ======================================================
|
|
115
|
+
// CONTACT / COMMUNITY
|
|
116
|
+
// ======================================================
|
|
117
|
+
exports.PublicBusinessContactSchema = zod_1.z.object({
|
|
118
|
+
email: zod_1.z.string().optional(),
|
|
119
|
+
phone: zod_1.z.string().optional(),
|
|
120
|
+
website: zod_1.z.string().optional(),
|
|
121
|
+
instagram: zod_1.z.string().optional(),
|
|
122
|
+
whatsapp: zod_1.z.string().optional(),
|
|
123
|
+
}).strict();
|
|
124
|
+
exports.PublicBusinessCommunitySchema = zod_1.z.object({
|
|
125
|
+
isLatinoOwned: zod_1.z.boolean(),
|
|
126
|
+
countryOfOrigin: zod_1.z.string().optional(),
|
|
127
|
+
}).strict();
|
|
128
|
+
// ======================================================
|
|
129
|
+
// DOCUMENTS / IMAGES / LOCATION
|
|
130
|
+
// ======================================================
|
|
131
|
+
const PublicBusinessDocumentSchema = zod_1.z.object({
|
|
132
|
+
type: exports.BusinessDocumentTypeSchema,
|
|
133
|
+
url: zod_1.z.string(),
|
|
134
|
+
name: zod_1.z.string().optional(),
|
|
135
|
+
}).strict();
|
|
136
|
+
const PublicBusinessCoordinatesSchema = zod_1.z.object({
|
|
137
|
+
lat: zod_1.z.number(),
|
|
138
|
+
lng: zod_1.z.number(),
|
|
139
|
+
}).strict();
|
|
140
|
+
// ======================================================
|
|
141
|
+
// RATING / ENGAGEMENT / VERIFICATION
|
|
142
|
+
// ======================================================
|
|
143
|
+
exports.PublicBusinessRatingSchema = zod_1.z.object({
|
|
144
|
+
average: zod_1.z.number(),
|
|
145
|
+
count: zod_1.z.number(),
|
|
146
|
+
}).strict();
|
|
147
|
+
exports.PublicBusinessVerificationSchema = zod_1.z.object({
|
|
148
|
+
status: exports.BusinessVerificationStatusSchema,
|
|
149
|
+
checks: zod_1.z.object({
|
|
150
|
+
identity: zod_1.z.boolean(),
|
|
151
|
+
contact: zod_1.z.boolean(),
|
|
152
|
+
activity: zod_1.z.boolean(),
|
|
153
|
+
}).strict(),
|
|
154
|
+
}).strict();
|
|
155
|
+
// ======================================================
|
|
156
|
+
// PUBLIC BUSINESS
|
|
157
|
+
// ======================================================
|
|
158
|
+
exports.PublicBusinessSchema = zod_1.z.object({
|
|
159
|
+
// Identity
|
|
160
|
+
id: zod_1.z.string(),
|
|
161
|
+
slug: zod_1.z.string(),
|
|
162
|
+
name: zod_1.z.string(),
|
|
163
|
+
description: zod_1.z.string().optional(),
|
|
164
|
+
// Classification
|
|
165
|
+
providerType: exports.BusinessProviderTypeSchema,
|
|
166
|
+
category: exports.BusinessCategorySchema,
|
|
167
|
+
subCategory: exports.BusinessSubCategorySchema.optional(),
|
|
168
|
+
// Location
|
|
169
|
+
cityId: zod_1.z.string(),
|
|
170
|
+
country: zod_1.z.string().optional(),
|
|
171
|
+
address: zod_1.z.string().optional(),
|
|
172
|
+
coordinates: PublicBusinessCoordinatesSchema.optional(),
|
|
173
|
+
// Images
|
|
174
|
+
image: zod_1.z.string().optional(),
|
|
175
|
+
coverImage: zod_1.z.string().optional(),
|
|
176
|
+
gallery: zod_1.z.array(zod_1.z.string()),
|
|
177
|
+
// Existing root-level contact fields (backward compatibility)
|
|
178
|
+
website: zod_1.z.string().optional(),
|
|
179
|
+
instagram: zod_1.z.string().optional(),
|
|
180
|
+
whatsapp: zod_1.z.string().optional(),
|
|
181
|
+
// New structured contact
|
|
182
|
+
contact: exports.PublicBusinessContactSchema,
|
|
183
|
+
// New structured community information
|
|
184
|
+
community: exports.PublicBusinessCommunitySchema,
|
|
185
|
+
// Existing profile
|
|
186
|
+
profile: exports.PublicBusinessProfileSchema,
|
|
187
|
+
// Documents and legacy fields
|
|
188
|
+
documents: zod_1.z.array(PublicBusinessDocumentSchema),
|
|
189
|
+
menu: zod_1.z.string().optional(),
|
|
190
|
+
priceRange: zod_1.z.enum(["$", "$$", "$$$"]).optional(),
|
|
191
|
+
// Existing legacy community fields
|
|
192
|
+
tags: zod_1.z.array(zod_1.z.string()),
|
|
193
|
+
languages: zod_1.z.array(zod_1.z.string()),
|
|
194
|
+
isLatinoOwned: zod_1.z.boolean(),
|
|
195
|
+
countryOfOrigin: zod_1.z.string().optional(),
|
|
196
|
+
// Rating and engagement
|
|
197
|
+
rating: exports.PublicBusinessRatingSchema,
|
|
198
|
+
likesCount: zod_1.z.number(),
|
|
199
|
+
followersCount: zod_1.z.number(),
|
|
200
|
+
eventsCount: zod_1.z.number(),
|
|
201
|
+
// Verification
|
|
202
|
+
verification: exports.PublicBusinessVerificationSchema,
|
|
203
|
+
verificationStatus: exports.BusinessVerificationStatusSchema,
|
|
204
|
+
// Discovery and status
|
|
205
|
+
isFeatured: zod_1.z.boolean(),
|
|
206
|
+
status: zod_1.z.enum(["active", "blocked"]),
|
|
207
|
+
// Timestamps (serialized JSON dates)
|
|
208
|
+
createdAt: zod_1.z.iso.datetime(),
|
|
209
|
+
updatedAt: zod_1.z.iso.datetime(),
|
|
210
|
+
}).strict();
|
|
211
|
+
//# sourceMappingURL=business.schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"business.schema.js","sourceRoot":"","sources":["../../../src/business/business.schema.ts"],"names":[],"mappings":";;;AACA,6BAAwB;AAExB,yDAAyD;AACzD,QAAQ;AACR,yDAAyD;AAE5C,QAAA,0BAA0B,GAAG,OAAC,CAAC,IAAI,CAAC;IAC/C,UAAU;IACV,WAAW;CACZ,CAAC,CAAC;AAEU,QAAA,sBAAsB,GAAG,OAAC,CAAC,IAAI,CAAC;IAC3C,MAAM;IACN,eAAe;IACf,UAAU;IACV,UAAU;IACV,WAAW;IACX,QAAQ;CACT,CAAC,CAAC;AAEU,QAAA,yBAAyB,GAAG,OAAC,CAAC,IAAI,CAAC;IAC9C,YAAY;IACZ,MAAM;IACN,KAAK;IACL,QAAQ;IACR,UAAU;IACV,MAAM;IACN,aAAa;IACb,iBAAiB;IACjB,iBAAiB;IACjB,cAAc;IACd,cAAc;IACd,YAAY;IACZ,QAAQ;IACR,QAAQ;IACR,YAAY;IACZ,cAAc;IACd,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