@ndrs92/contracts 0.0.0-stage → 0.1.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.
Files changed (35) hide show
  1. package/dist/cjs/business/business.schema.d.ts +427 -0
  2. package/dist/cjs/business/business.schema.js +211 -0
  3. package/dist/cjs/business/business.schema.js.map +1 -0
  4. package/dist/cjs/business/business.types.d.ts +3 -0
  5. package/dist/cjs/business/business.types.js +3 -0
  6. package/dist/cjs/business/business.types.js.map +1 -0
  7. package/dist/cjs/event/event.schema.d.ts +101 -0
  8. package/dist/cjs/event/event.schema.js +58 -0
  9. package/dist/cjs/event/event.schema.js.map +1 -0
  10. package/dist/cjs/event/event.types.d.ts +4 -0
  11. package/dist/cjs/event/event.types.js +3 -0
  12. package/dist/cjs/event/event.types.js.map +1 -0
  13. package/dist/cjs/index.d.ts +4 -0
  14. package/dist/cjs/index.js +23 -0
  15. package/dist/cjs/index.js.map +1 -0
  16. package/dist/cjs/package.json +3 -0
  17. package/dist/esm/business/business.schema.d.ts +427 -0
  18. package/dist/esm/business/business.schema.js +208 -0
  19. package/dist/esm/business/business.schema.js.map +1 -0
  20. package/dist/esm/business/business.types.d.ts +3 -0
  21. package/dist/esm/business/business.types.js +2 -0
  22. package/dist/esm/business/business.types.js.map +1 -0
  23. package/dist/esm/event/event.schema.d.ts +101 -0
  24. package/dist/esm/event/event.schema.js +55 -0
  25. package/dist/esm/event/event.schema.js.map +1 -0
  26. package/dist/esm/event/event.types.d.ts +4 -0
  27. package/dist/esm/event/event.types.js +2 -0
  28. package/dist/esm/event/event.types.js.map +1 -0
  29. package/dist/esm/index.d.ts +4 -0
  30. package/dist/esm/index.js +3 -0
  31. package/dist/esm/index.js.map +1 -0
  32. package/dist/tsconfig.cjs.tsbuildinfo +1 -0
  33. package/dist/tsconfig.esm.tsbuildinfo +1 -0
  34. package/package.json +33 -6
  35. package/README.md +0 -3
@@ -0,0 +1,101 @@
1
+ import { z } from "zod";
2
+ export declare const PublicEventSchema: z.ZodObject<{
3
+ id: z.ZodString;
4
+ slug: z.ZodString;
5
+ title: z.ZodString;
6
+ description: z.ZodOptional<z.ZodString>;
7
+ category: z.ZodEnum<{
8
+ party: "party";
9
+ food: "food";
10
+ culture: "culture";
11
+ sports: "sports";
12
+ meetup: "meetup";
13
+ concert: "concert";
14
+ }>;
15
+ eventType: z.ZodEnum<{
16
+ official: "official";
17
+ community: "community";
18
+ }>;
19
+ cityId: z.ZodString;
20
+ address: z.ZodString;
21
+ dateStart: z.ZodISODateTime;
22
+ dateEnd: z.ZodOptional<z.ZodISODateTime>;
23
+ images: z.ZodArray<z.ZodString>;
24
+ location: z.ZodOptional<z.ZodObject<{
25
+ type: z.ZodLiteral<"Point">;
26
+ coordinates: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
27
+ }, z.core.$strict>>;
28
+ price: z.ZodOptional<z.ZodObject<{
29
+ type: z.ZodEnum<{
30
+ free: "free";
31
+ paid: "paid";
32
+ }>;
33
+ amount: z.ZodOptional<z.ZodNumber>;
34
+ currency: z.ZodLiteral<"EUR">;
35
+ }, z.core.$strict>>;
36
+ links: z.ZodArray<z.ZodObject<{
37
+ label: z.ZodString;
38
+ url: z.ZodString;
39
+ }, z.core.$strict>>;
40
+ goodToKnow: z.ZodArray<z.ZodString>;
41
+ attachment: z.ZodOptional<z.ZodObject<{
42
+ url: z.ZodString;
43
+ name: z.ZodString;
44
+ size: z.ZodNumber;
45
+ }, z.core.$strict>>;
46
+ }, z.core.$strict>;
47
+ export declare const PublicEventCreatorSchema: z.ZodObject<{
48
+ id: z.ZodString;
49
+ name: z.ZodString;
50
+ profileImage: z.ZodOptional<z.ZodString>;
51
+ }, z.core.$strict>;
52
+ export declare const PublicEventWithCreatorSchema: z.ZodObject<{
53
+ id: z.ZodString;
54
+ slug: z.ZodString;
55
+ title: z.ZodString;
56
+ description: z.ZodOptional<z.ZodString>;
57
+ category: z.ZodEnum<{
58
+ party: "party";
59
+ food: "food";
60
+ culture: "culture";
61
+ sports: "sports";
62
+ meetup: "meetup";
63
+ concert: "concert";
64
+ }>;
65
+ eventType: z.ZodEnum<{
66
+ official: "official";
67
+ community: "community";
68
+ }>;
69
+ cityId: z.ZodString;
70
+ address: z.ZodString;
71
+ dateStart: z.ZodISODateTime;
72
+ dateEnd: z.ZodOptional<z.ZodISODateTime>;
73
+ images: z.ZodArray<z.ZodString>;
74
+ location: z.ZodOptional<z.ZodObject<{
75
+ type: z.ZodLiteral<"Point">;
76
+ coordinates: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
77
+ }, z.core.$strict>>;
78
+ price: z.ZodOptional<z.ZodObject<{
79
+ type: z.ZodEnum<{
80
+ free: "free";
81
+ paid: "paid";
82
+ }>;
83
+ amount: z.ZodOptional<z.ZodNumber>;
84
+ currency: z.ZodLiteral<"EUR">;
85
+ }, z.core.$strict>>;
86
+ links: z.ZodArray<z.ZodObject<{
87
+ label: z.ZodString;
88
+ url: z.ZodString;
89
+ }, z.core.$strict>>;
90
+ goodToKnow: z.ZodArray<z.ZodString>;
91
+ attachment: z.ZodOptional<z.ZodObject<{
92
+ url: z.ZodString;
93
+ name: z.ZodString;
94
+ size: z.ZodNumber;
95
+ }, z.core.$strict>>;
96
+ createdBy: z.ZodObject<{
97
+ id: z.ZodString;
98
+ name: z.ZodString;
99
+ profileImage: z.ZodOptional<z.ZodString>;
100
+ }, z.core.$strict>;
101
+ }, z.core.$strict>;
@@ -0,0 +1,58 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PublicEventWithCreatorSchema = exports.PublicEventCreatorSchema = exports.PublicEventSchema = void 0;
4
+ const zod_1 = require("zod");
5
+ exports.PublicEventSchema = zod_1.z.object({
6
+ id: zod_1.z.string(),
7
+ slug: zod_1.z.string(),
8
+ title: zod_1.z.string(),
9
+ description: zod_1.z.string().optional(),
10
+ category: zod_1.z.enum([
11
+ "party",
12
+ "food",
13
+ "culture",
14
+ "sports",
15
+ "meetup",
16
+ "concert",
17
+ ]),
18
+ eventType: zod_1.z.enum([
19
+ "official",
20
+ "community",
21
+ ]),
22
+ cityId: zod_1.z.string(),
23
+ address: zod_1.z.string(),
24
+ dateStart: zod_1.z.iso.datetime(),
25
+ dateEnd: zod_1.z.iso.datetime().optional(),
26
+ images: zod_1.z.array(zod_1.z.string()),
27
+ location: zod_1.z.object({
28
+ type: zod_1.z.literal("Point"),
29
+ coordinates: zod_1.z.tuple([
30
+ zod_1.z.number(),
31
+ zod_1.z.number(),
32
+ ]),
33
+ }).strict().optional(),
34
+ price: zod_1.z.object({
35
+ type: zod_1.z.enum(["free", "paid"]),
36
+ amount: zod_1.z.number().optional(),
37
+ currency: zod_1.z.literal("EUR"),
38
+ }).strict().optional(),
39
+ links: zod_1.z.array(zod_1.z.object({
40
+ label: zod_1.z.string(),
41
+ url: zod_1.z.string(),
42
+ }).strict()),
43
+ goodToKnow: zod_1.z.array(zod_1.z.string()),
44
+ attachment: zod_1.z.object({
45
+ url: zod_1.z.string(),
46
+ name: zod_1.z.string(),
47
+ size: zod_1.z.number(),
48
+ }).strict().optional(),
49
+ }).strict();
50
+ exports.PublicEventCreatorSchema = zod_1.z.object({
51
+ id: zod_1.z.string(),
52
+ name: zod_1.z.string(),
53
+ profileImage: zod_1.z.string().optional(),
54
+ }).strict();
55
+ exports.PublicEventWithCreatorSchema = exports.PublicEventSchema.extend({
56
+ createdBy: exports.PublicEventCreatorSchema,
57
+ });
58
+ //# sourceMappingURL=event.schema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"event.schema.js","sourceRoot":"","sources":["../../../src/event/event.schema.ts"],"names":[],"mappings":";;;AACA,6BAAwB;AAEX,QAAA,iBAAiB,GAAG,OAAC,CAAC,MAAM,CAAC;IACxC,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE;IACd,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE;IAChB,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE;IACjB,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAClC,QAAQ,EAAE,OAAC,CAAC,IAAI,CAAC;QACf,OAAO;QACP,MAAM;QACN,SAAS;QACT,QAAQ;QACR,QAAQ;QACR,SAAS;KACV,CAAC;IACF,SAAS,EAAE,OAAC,CAAC,IAAI,CAAC;QAChB,UAAU;QACV,WAAW;KACZ,CAAC;IACF,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE;IAClB,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE;IACnB,SAAS,EAAE,OAAC,CAAC,GAAG,CAAC,QAAQ,EAAE;IAC3B,OAAO,EAAE,OAAC,CAAC,GAAG,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IACpC,MAAM,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC;IAC3B,QAAQ,EAAE,OAAC,CAAC,MAAM,CAAC;QACjB,IAAI,EAAE,OAAC,CAAC,OAAO,CAAC,OAAO,CAAC;QACxB,WAAW,EAAE,OAAC,CAAC,KAAK,CAAC;YACnB,OAAC,CAAC,MAAM,EAAE;YACV,OAAC,CAAC,MAAM,EAAE;SACX,CAAC;KACH,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACtB,KAAK,EAAE,OAAC,CAAC,MAAM,CAAC;QACd,IAAI,EAAE,OAAC,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;QAC9B,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAC7B,QAAQ,EAAE,OAAC,CAAC,OAAO,CAAC,KAAK,CAAC;KAC3B,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACtB,KAAK,EAAE,OAAC,CAAC,KAAK,CACZ,OAAC,CAAC,MAAM,CAAC;QACP,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE;QACjB,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE;KAChB,CAAC,CAAC,MAAM,EAAE,CACZ;IACD,UAAU,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC;IAC/B,UAAU,EAAE,OAAC,CAAC,MAAM,CAAC;QACnB,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE;QACf,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE;QAChB,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE;KACjB,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACvB,CAAC,CAAC,MAAM,EAAE,CAAC;AAEC,QAAA,wBAAwB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC/C,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE;IACd,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE;IAChB,YAAY,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACpC,CAAC,CAAC,MAAM,EAAE,CAAC;AAEC,QAAA,4BAA4B,GACvC,yBAAiB,CAAC,MAAM,CAAC;IACvB,SAAS,EAAE,gCAAwB;CACpC,CAAC,CAAC"}
@@ -0,0 +1,4 @@
1
+ import type { z } from "zod";
2
+ import { PublicEventSchema, PublicEventWithCreatorSchema } from "./event.schema.js";
3
+ export type PublicEvent = z.infer<typeof PublicEventSchema>;
4
+ export type PublicEventWithCreator = z.infer<typeof PublicEventWithCreatorSchema>;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=event.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"event.types.js","sourceRoot":"","sources":["../../../src/event/event.types.ts"],"names":[],"mappings":""}
@@ -0,0 +1,4 @@
1
+ export { PublicEventSchema, PublicEventCreatorSchema, PublicEventWithCreatorSchema, } from "./event/event.schema.js";
2
+ export type { PublicEvent, PublicEventWithCreator, } from "./event/event.types.js";
3
+ export { BusinessProviderTypeSchema, BusinessCategorySchema, BusinessSubCategorySchema, BusinessAvailabilityTypeSchema, BusinessPricingTypeSchema, BusinessDocumentTypeSchema, BusinessVerificationStatusSchema, OpeningHoursSchema, PublicBusinessProfileSchema, PublicBusinessContactSchema, PublicBusinessCommunitySchema, PublicBusinessRatingSchema, PublicBusinessVerificationSchema, PublicBusinessSchema, } from "./business/business.schema.js";
4
+ export type { PublicBusiness, } from "./business/business.types.js";
@@ -0,0 +1,23 @@
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 = exports.PublicEventWithCreatorSchema = exports.PublicEventCreatorSchema = exports.PublicEventSchema = void 0;
4
+ var event_schema_js_1 = require("./event/event.schema.js");
5
+ Object.defineProperty(exports, "PublicEventSchema", { enumerable: true, get: function () { return event_schema_js_1.PublicEventSchema; } });
6
+ Object.defineProperty(exports, "PublicEventCreatorSchema", { enumerable: true, get: function () { return event_schema_js_1.PublicEventCreatorSchema; } });
7
+ Object.defineProperty(exports, "PublicEventWithCreatorSchema", { enumerable: true, get: function () { return event_schema_js_1.PublicEventWithCreatorSchema; } });
8
+ var business_schema_js_1 = require("./business/business.schema.js");
9
+ Object.defineProperty(exports, "BusinessProviderTypeSchema", { enumerable: true, get: function () { return business_schema_js_1.BusinessProviderTypeSchema; } });
10
+ Object.defineProperty(exports, "BusinessCategorySchema", { enumerable: true, get: function () { return business_schema_js_1.BusinessCategorySchema; } });
11
+ Object.defineProperty(exports, "BusinessSubCategorySchema", { enumerable: true, get: function () { return business_schema_js_1.BusinessSubCategorySchema; } });
12
+ Object.defineProperty(exports, "BusinessAvailabilityTypeSchema", { enumerable: true, get: function () { return business_schema_js_1.BusinessAvailabilityTypeSchema; } });
13
+ Object.defineProperty(exports, "BusinessPricingTypeSchema", { enumerable: true, get: function () { return business_schema_js_1.BusinessPricingTypeSchema; } });
14
+ Object.defineProperty(exports, "BusinessDocumentTypeSchema", { enumerable: true, get: function () { return business_schema_js_1.BusinessDocumentTypeSchema; } });
15
+ Object.defineProperty(exports, "BusinessVerificationStatusSchema", { enumerable: true, get: function () { return business_schema_js_1.BusinessVerificationStatusSchema; } });
16
+ Object.defineProperty(exports, "OpeningHoursSchema", { enumerable: true, get: function () { return business_schema_js_1.OpeningHoursSchema; } });
17
+ Object.defineProperty(exports, "PublicBusinessProfileSchema", { enumerable: true, get: function () { return business_schema_js_1.PublicBusinessProfileSchema; } });
18
+ Object.defineProperty(exports, "PublicBusinessContactSchema", { enumerable: true, get: function () { return business_schema_js_1.PublicBusinessContactSchema; } });
19
+ Object.defineProperty(exports, "PublicBusinessCommunitySchema", { enumerable: true, get: function () { return business_schema_js_1.PublicBusinessCommunitySchema; } });
20
+ Object.defineProperty(exports, "PublicBusinessRatingSchema", { enumerable: true, get: function () { return business_schema_js_1.PublicBusinessRatingSchema; } });
21
+ Object.defineProperty(exports, "PublicBusinessVerificationSchema", { enumerable: true, get: function () { return business_schema_js_1.PublicBusinessVerificationSchema; } });
22
+ Object.defineProperty(exports, "PublicBusinessSchema", { enumerable: true, get: function () { return business_schema_js_1.PublicBusinessSchema; } });
23
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;AACA,2DAIiC;AAH/B,oHAAA,iBAAiB,OAAA;AACjB,2HAAA,wBAAwB,OAAA;AACxB,+HAAA,4BAA4B,OAAA;AAQ9B,oEAeuC;AAdnC,gIAAA,0BAA0B,OAAA;AAC1B,4HAAA,sBAAsB,OAAA;AACtB,+HAAA,yBAAyB,OAAA;AACzB,oIAAA,8BAA8B,OAAA;AAC9B,+HAAA,yBAAyB,OAAA;AACzB,gIAAA,0BAA0B,OAAA;AAC1B,sIAAA,gCAAgC,OAAA;AAChC,wHAAA,kBAAkB,OAAA;AAClB,iIAAA,2BAA2B,OAAA;AAC3B,iIAAA,2BAA2B,OAAA;AAC3B,mIAAA,6BAA6B,OAAA;AAC7B,gIAAA,0BAA0B,OAAA;AAC1B,sIAAA,gCAAgC,OAAA;AAChC,0HAAA,oBAAoB,OAAA"}
@@ -0,0 +1,3 @@
1
+ {
2
+ "type": "commonjs"
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>;