@sortipei/api-contracts 0.4.0 → 0.5.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.
@@ -25,21 +25,25 @@ export declare const EventDTOSchema: z.ZodObject<{
25
25
  isPriceRange: z.ZodBoolean;
26
26
  isPromoted: z.ZodBoolean;
27
27
  link: z.ZodNullable<z.ZodString>;
28
+ organizers: z.ZodArray<z.ZodObject<{
29
+ id: z.core.$ZodBranded<z.ZodUUID, "OrganizerId", "out">;
30
+ imageUrl: z.ZodNullable<z.ZodString>;
31
+ name: z.ZodString;
32
+ }, z.core.$strip>>;
33
+ popularityScore: z.ZodFloat32;
28
34
  price: z.ZodNullable<z.ZodFloat32>;
29
35
  promotionEnd: z.ZodNullable<z.ZodISODateTime>;
30
36
  promotionStart: z.ZodNullable<z.ZodISODateTime>;
31
37
  regions: z.ZodArray<z.ZodEnum<typeof import('../../shared').Region>>;
32
- popularityScore: z.ZodFloat32;
33
38
  secondaryCategory: z.ZodNullable<z.ZodEnum<typeof import('../../shared').Category>>;
34
39
  startTime: z.ZodISODateTime;
40
+ tags: z.ZodArray<z.ZodObject<{
41
+ id: z.core.$ZodBranded<z.ZodUUID, "TagId", "out">;
42
+ label: z.ZodString;
43
+ }, z.core.$strip>>;
35
44
  thumbnailUrl: z.ZodNullable<z.ZodString>;
36
45
  ticketsUrl: z.ZodNullable<z.ZodString>;
37
46
  title: z.ZodString;
38
- organizers: z.ZodArray<z.ZodObject<{
39
- id: z.core.$ZodBranded<z.ZodUUID, "OrganizerId", "out">;
40
- name: z.ZodString;
41
- imageUrl: z.ZodNullable<z.ZodString>;
42
- }, z.core.$strip>>;
43
47
  }, z.core.$strip>;
44
48
  export declare const PublicEventDTOSchema: z.ZodObject<{
45
49
  regions: z.ZodArray<z.ZodEnum<typeof import('../../shared').Region>>;
@@ -66,15 +70,19 @@ export declare const PublicEventDTOSchema: z.ZodObject<{
66
70
  isOldTimes: z.ZodBoolean;
67
71
  isPriceRange: z.ZodBoolean;
68
72
  isPromoted: z.ZodBoolean;
69
- price: z.ZodNullable<z.ZodFloat32>;
70
- secondaryCategory: z.ZodNullable<z.ZodEnum<typeof import('../../shared').Category>>;
71
- thumbnailUrl: z.ZodNullable<z.ZodString>;
72
- ticketsUrl: z.ZodNullable<z.ZodString>;
73
73
  organizers: z.ZodArray<z.ZodObject<{
74
74
  id: z.core.$ZodBranded<z.ZodUUID, "OrganizerId", "out">;
75
- name: z.ZodString;
76
75
  imageUrl: z.ZodNullable<z.ZodString>;
76
+ name: z.ZodString;
77
77
  }, z.core.$strip>>;
78
+ price: z.ZodNullable<z.ZodFloat32>;
79
+ secondaryCategory: z.ZodNullable<z.ZodEnum<typeof import('../../shared').Category>>;
80
+ tags: z.ZodArray<z.ZodObject<{
81
+ id: z.core.$ZodBranded<z.ZodUUID, "TagId", "out">;
82
+ label: z.ZodString;
83
+ }, z.core.$strip>>;
84
+ thumbnailUrl: z.ZodNullable<z.ZodString>;
85
+ ticketsUrl: z.ZodNullable<z.ZodString>;
78
86
  }, z.core.$strip>;
79
87
  export declare const CreateEventDTOSchema: z.ZodObject<{
80
88
  adress: z.ZodString;
@@ -99,6 +107,7 @@ export declare const CreateEventDTOSchema: z.ZodObject<{
99
107
  regions: z.ZodArray<z.ZodEnum<typeof import('../../shared').Region>>;
100
108
  secondaryCategory: z.ZodNullable<z.ZodEnum<typeof import('../../shared').Category>>;
101
109
  startTime: z.ZodISODateTime;
110
+ tagIds: z.ZodArray<z.core.$ZodBranded<z.ZodUUID, "TagId", "out">>;
102
111
  thumbnailUrl: z.ZodNullable<z.ZodString>;
103
112
  ticketsUrl: z.ZodNullable<z.ZodString>;
104
113
  title: z.ZodString;
@@ -128,6 +137,7 @@ export declare const UpdateEventDTOSchema: z.ZodObject<{
128
137
  thumbnailUrl: z.ZodNullable<z.ZodString>;
129
138
  ticketsUrl: z.ZodNullable<z.ZodString>;
130
139
  organizersIds: z.ZodArray<z.core.$ZodBranded<z.ZodUUID, "OrganizerId", "out">>;
140
+ tagIds: z.ZodArray<z.core.$ZodBranded<z.ZodUUID, "TagId", "out">>;
131
141
  }, z.core.$strip>;
132
142
  export declare const DisplayEventDTOSchema: z.ZodObject<{
133
143
  isDisplayed: z.ZodBoolean;
@@ -176,21 +186,25 @@ export declare const ImportDTOSchema: z.ZodObject<{
176
186
  isPriceRange: z.ZodOptional<z.ZodBoolean>;
177
187
  isPromoted: z.ZodOptional<z.ZodBoolean>;
178
188
  link: z.ZodOptional<z.ZodNullable<z.ZodString>>;
189
+ organizers: z.ZodOptional<z.ZodArray<z.ZodObject<{
190
+ id: z.core.$ZodBranded<z.ZodUUID, "OrganizerId", "out">;
191
+ imageUrl: z.ZodNullable<z.ZodString>;
192
+ name: z.ZodString;
193
+ }, z.core.$strip>>>;
194
+ popularityScore: z.ZodOptional<z.ZodFloat32>;
179
195
  price: z.ZodOptional<z.ZodNullable<z.ZodFloat32>>;
180
196
  promotionEnd: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
181
197
  promotionStart: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
182
198
  regions: z.ZodOptional<z.ZodArray<z.ZodEnum<typeof import('../../shared').Region>>>;
183
- popularityScore: z.ZodOptional<z.ZodFloat32>;
184
199
  secondaryCategory: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof import('../../shared').Category>>>;
185
200
  startTime: z.ZodOptional<z.ZodISODateTime>;
201
+ tags: z.ZodOptional<z.ZodArray<z.ZodObject<{
202
+ id: z.core.$ZodBranded<z.ZodUUID, "TagId", "out">;
203
+ label: z.ZodString;
204
+ }, z.core.$strip>>>;
186
205
  thumbnailUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
187
206
  ticketsUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
188
207
  title: z.ZodOptional<z.ZodString>;
189
- organizers: z.ZodOptional<z.ZodArray<z.ZodObject<{
190
- id: z.core.$ZodBranded<z.ZodUUID, "OrganizerId", "out">;
191
- name: z.ZodString;
192
- imageUrl: z.ZodNullable<z.ZodString>;
193
- }, z.core.$strip>>>;
194
208
  }, z.core.$strip>;
195
209
  source: z.ZodString;
196
210
  userId: z.ZodString;
@@ -1 +1 @@
1
- {"version":3,"file":"event.d.ts","sourceRoot":"","sources":["../../../src/V1/api/event.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,oBAAoB;;;iBAG/B,CAAC;AAEH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAsCzB,CAAC;AAEH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAI/B,CAAC;AAEH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;iBA0B/B,CAAC;AAEH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;iBAE/B,CAAC;AAEH,eAAO,MAAM,qBAAqB;;iBAEhC,CAAC;AAEH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAClE,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AACpE,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAElE,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAEtD,eAAO,MAAM,WAAW;;;;;;;;;;;;;CAavB,CAAC;AAEF,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAO1B,CAAC;AAEH,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AAExD,eAAO,MAAM,wBAAwB;;;;;;;;;iBAG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,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAEtD,eAAO,MAAM,WAAW;;;;;;;;;;;;;CAavB,CAAC;AAEF,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAO1B,CAAC;AAEH,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AAExD,eAAO,MAAM,wBAAwB;;;;;;;;;iBAGnC,CAAC;AAEH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAE1E,eAAO,MAAM,sBAAsB;;iBAEjC,CAAC;AAEH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAEtE,eAAO,MAAM,uBAAuB;;;iBAGlC,CAAC;AAEH,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AACxE,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC"}
@@ -5,7 +5,9 @@ export * from './event';
5
5
  export * from './import-reminder';
6
6
  export * from './notification';
7
7
  export * from './organizer';
8
+ export * from './push-token';
8
9
  export * from './statistics';
10
+ export * from './tag';
9
11
  export declare const constraints: {
10
12
  events: {
11
13
  adress: {
@@ -27,5 +29,11 @@ export declare const constraints: {
27
29
  maxLength: number;
28
30
  };
29
31
  };
32
+ tags: {
33
+ label: {
34
+ maxLength: number;
35
+ minLength: number;
36
+ };
37
+ };
30
38
  };
31
39
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/V1/api/index.ts"],"names":[],"mappings":"AAAA,cAAc,MAAM,CAAC;AACrB,cAAc,qBAAqB,CAAC;AACpC,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,mBAAmB,CAAC;AAClC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAK7B,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;CAGvB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/V1/api/index.ts"],"names":[],"mappings":"AAAA,cAAc,MAAM,CAAC;AACrB,cAAc,qBAAqB,CAAC;AACpC,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,mBAAmB,CAAC;AAClC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,OAAO,CAAC;AAMtB,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIvB,CAAC"}
@@ -0,0 +1,15 @@
1
+ import { z } from 'zod';
2
+ export declare const PushTokenPlatformSchema: z.ZodEnum<{
3
+ android: "android";
4
+ ios: "ios";
5
+ }>;
6
+ export type PushTokenPlatform = z.infer<typeof PushTokenPlatformSchema>;
7
+ export declare const RegisterPushTokenDTOSchema: z.ZodObject<{
8
+ expoPushToken: z.ZodString;
9
+ platform: z.ZodEnum<{
10
+ android: "android";
11
+ ios: "ios";
12
+ }>;
13
+ }, z.core.$strip>;
14
+ export type RegisterPushTokenDTO = z.infer<typeof RegisterPushTokenDTOSchema>;
15
+ //# sourceMappingURL=push-token.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"push-token.d.ts","sourceRoot":"","sources":["../../../src/V1/api/push-token.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,uBAAuB;;;EAA6B,CAAC;AAClE,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAExE,eAAO,MAAM,0BAA0B;;;;;;iBAGrC,CAAC;AAEH,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC"}
@@ -0,0 +1,18 @@
1
+ import { z } from 'zod';
2
+ export declare const TagDTOSchema: z.ZodObject<{
3
+ id: z.core.$ZodBranded<z.ZodUUID, "TagId", "out">;
4
+ label: z.ZodString;
5
+ }, z.core.$strip>;
6
+ export declare const CreateTagDTOSchema: z.ZodObject<{
7
+ id: z.core.$ZodBranded<z.ZodUUID, "TagId", "out">;
8
+ label: z.ZodString;
9
+ }, z.core.$strip>;
10
+ export type CreateTagDTO = z.infer<typeof CreateTagDTOSchema>;
11
+ export type TagDTO = z.infer<typeof TagDTOSchema>;
12
+ export declare const constraints: {
13
+ label: {
14
+ maxLength: number;
15
+ minLength: number;
16
+ };
17
+ };
18
+ //# sourceMappingURL=tag.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tag.d.ts","sourceRoot":"","sources":["../../../src/V1/api/tag.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,YAAY;;;iBAGvB,CAAC;AAEH,eAAO,MAAM,kBAAkB;;;iBAG7B,CAAC;AAEH,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAC9D,MAAM,MAAM,MAAM,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAC;AAElD,eAAO,MAAM,WAAW;;;;;CAKvB,CAAC"}
@@ -22,21 +22,25 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
22
22
  isPriceRange: z.ZodOptional<z.ZodBoolean>;
23
23
  isPromoted: z.ZodOptional<z.ZodBoolean>;
24
24
  link: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
+ organizers: z.ZodOptional<z.ZodArray<z.ZodObject<{
26
+ id: z.core.$ZodBranded<z.ZodUUID, "OrganizerId", "out">;
27
+ imageUrl: z.ZodNullable<z.ZodString>;
28
+ name: z.ZodString;
29
+ }, z.core.$strip>>>;
30
+ popularityScore: z.ZodOptional<z.ZodFloat32>;
25
31
  price: z.ZodOptional<z.ZodNullable<z.ZodFloat32>>;
26
32
  promotionEnd: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
27
33
  promotionStart: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
28
34
  regions: z.ZodOptional<z.ZodArray<z.ZodEnum<typeof import('../../shared').Region>>>;
29
- popularityScore: z.ZodOptional<z.ZodFloat32>;
30
35
  secondaryCategory: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof import('../../shared').Category>>>;
31
36
  startTime: z.ZodOptional<z.ZodISODateTime>;
37
+ tags: z.ZodOptional<z.ZodArray<z.ZodObject<{
38
+ id: z.core.$ZodBranded<z.ZodUUID, "TagId", "out">;
39
+ label: z.ZodString;
40
+ }, z.core.$strip>>>;
32
41
  thumbnailUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
42
  ticketsUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
43
  title: z.ZodOptional<z.ZodString>;
35
- organizers: z.ZodOptional<z.ZodArray<z.ZodObject<{
36
- id: z.core.$ZodBranded<z.ZodUUID, "OrganizerId", "out">;
37
- name: z.ZodString;
38
- imageUrl: z.ZodNullable<z.ZodString>;
39
- }, z.core.$strip>>>;
40
44
  }, z.core.$strip>;
41
45
  token: z.ZodString;
42
46
  userId: z.ZodString;
@@ -1 +1 @@
1
- {"version":3,"file":"partial-imported-event.d.ts","sourceRoot":"","sources":["../../../src/V1/external/partial-imported-event.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,mCAAmC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAM9C,CAAC;AAEH,MAAM,MAAM,6BAA6B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mCAAmC,CAAC,CAAC"}
1
+ {"version":3,"file":"partial-imported-event.d.ts","sourceRoot":"","sources":["../../../src/V1/external/partial-imported-event.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,mCAAmC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAM9C,CAAC;AAEH,MAAM,MAAM,6BAA6B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mCAAmC,CAAC,CAAC"}
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  var ErrorCodes = /* @__PURE__ */ ((ErrorCodes2) => {
4
4
  ErrorCodes2["OrganizerHasEvents"] = "60001";
5
+ ErrorCodes2["TagLabelAlreadyExists"] = "60002";
5
6
  return ErrorCodes2;
6
7
  })(ErrorCodes || {});
7
8
  function $constructor(name, initializer2, params) {
@@ -4538,6 +4539,8 @@ const EventIdSchema = UUIDSchema.brand("EventId");
4538
4539
  const createEventId = (id = crypto.randomUUID()) => EventIdSchema.parse(id);
4539
4540
  const OrganizerIdSchema = UUIDSchema.brand("OrganizerId");
4540
4541
  const createOrganizerId = (id = crypto.randomUUID()) => OrganizerIdSchema.parse(id);
4542
+ const TagIdSchema = UUIDSchema.brand("TagId");
4543
+ const createTagId = (id = crypto.randomUUID()) => TagIdSchema.parse(id);
4541
4544
  const UserIdSchema = UUIDSchema.brand("UserId");
4542
4545
  const createUserId = (id = crypto.randomUUID()) => UserIdSchema.parse(id);
4543
4546
  const MainAdIdSchema = UUIDSchema.brand("MainAdId");
@@ -4548,6 +4551,8 @@ const ImportReminderIdSchema = UUIDSchema.brand("ImportReminderId");
4548
4551
  const createImportReminderId = (id = crypto.randomUUID()) => ImportReminderIdSchema.parse(id);
4549
4552
  const NotificationIdSchema = UUIDSchema.brand("NotificationId");
4550
4553
  const createNotificationId = (id = crypto.randomUUID()) => NotificationIdSchema.parse(id);
4554
+ const PushTokenIdSchema = UUIDSchema.brand("PushTokenId");
4555
+ const createPushTokenId = (id = crypto.randomUUID()) => PushTokenIdSchema.parse(id);
4551
4556
  const MainAdDTOSchema = object({
4552
4557
  createdAt: datetime(),
4553
4558
  endTime: StringSchema,
@@ -4589,6 +4594,20 @@ const FileUploadDTOSchema = object({
4589
4594
  publicUrl: URLSchema,
4590
4595
  uploadUrl: URLSchema
4591
4596
  });
4597
+ const TagDTOSchema = object({
4598
+ id: TagIdSchema,
4599
+ label: StringSchema
4600
+ });
4601
+ const CreateTagDTOSchema = object({
4602
+ id: TagIdSchema,
4603
+ label: StringSchema
4604
+ });
4605
+ const constraints$3 = {
4606
+ label: {
4607
+ maxLength: 80,
4608
+ minLength: 1
4609
+ }
4610
+ };
4592
4611
  const GPSCoordinatesSchema = object({
4593
4612
  latitude: number(),
4594
4613
  longitude: number()
@@ -4612,26 +4631,27 @@ const EventDTOSchema = object({
4612
4631
  isPriceRange: boolean(),
4613
4632
  isPromoted: boolean(),
4614
4633
  link: URLSchema.nullable(),
4634
+ organizers: object({
4635
+ id: OrganizerIdSchema,
4636
+ imageUrl: URLSchema.nullable(),
4637
+ name: StringSchema
4638
+ }).array().min(1),
4639
+ popularityScore: SafeNonNegativeFloatSchema,
4615
4640
  price: SafeNonNegativeFloatSchema.nullable(),
4616
4641
  promotionEnd: datetime().nullable(),
4617
4642
  promotionStart: datetime().nullable(),
4618
4643
  regions: RegionSchema.array(),
4619
- popularityScore: SafeNonNegativeFloatSchema,
4620
4644
  secondaryCategory: CategorySchema.nullable(),
4621
4645
  startTime: datetime(),
4646
+ tags: TagDTOSchema.array(),
4622
4647
  thumbnailUrl: URLSchema.nullable(),
4623
4648
  ticketsUrl: URLSchema.nullable(),
4624
- title: StringSchema,
4625
- organizers: object({
4626
- id: OrganizerIdSchema,
4627
- name: StringSchema,
4628
- imageUrl: URLSchema.nullable()
4629
- }).array().min(1)
4649
+ title: StringSchema
4630
4650
  });
4631
4651
  const PublicEventDTOSchema = EventDTOSchema.omit({
4652
+ externalSourceId: true,
4632
4653
  promotionEnd: true,
4633
- promotionStart: true,
4634
- externalSourceId: true
4654
+ promotionStart: true
4635
4655
  });
4636
4656
  const CreateEventDTOSchema = object({
4637
4657
  adress: StringSchema,
@@ -4656,6 +4676,7 @@ const CreateEventDTOSchema = object({
4656
4676
  regions: RegionSchema.array(),
4657
4677
  secondaryCategory: CategorySchema.nullable(),
4658
4678
  startTime: datetime(),
4679
+ tagIds: TagIdSchema.array(),
4659
4680
  thumbnailUrl: URLSchema.nullable(),
4660
4681
  ticketsUrl: URLSchema.nullable(),
4661
4682
  title: StringSchema
@@ -4769,6 +4790,11 @@ const constraints$1 = {
4769
4790
  maxLength: 100
4770
4791
  }
4771
4792
  };
4793
+ const PushTokenPlatformSchema = _enum(["android", "ios"]);
4794
+ const RegisterPushTokenDTOSchema = object({
4795
+ expoPushToken: string().regex(/^ExponentPushToken\[.+\]$/),
4796
+ platform: PushTokenPlatformSchema
4797
+ });
4772
4798
  const TopEventDTOSchema = object({
4773
4799
  count: number(),
4774
4800
  eventId: EventIdSchema,
@@ -4824,7 +4850,8 @@ const SaveStatisticDTOSchema = object({
4824
4850
  });
4825
4851
  const constraints = {
4826
4852
  events: constraints$2,
4827
- organizers: constraints$1
4853
+ organizers: constraints$1,
4854
+ tags: constraints$3
4828
4855
  };
4829
4856
  const index$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4830
4857
  __proto__: null,
@@ -4834,6 +4861,7 @@ const index$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePrope
4834
4861
  CreateImportReminderDTOSchema,
4835
4862
  CreateNotificationDTOSchema,
4836
4863
  CreateOrganizerDTOSchema,
4864
+ CreateTagDTOSchema,
4837
4865
  DisplayEventDTOSchema,
4838
4866
  EventDTOSchema,
4839
4867
  EventFileUploadDTOSchema,
@@ -4852,8 +4880,11 @@ const index$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePrope
4852
4880
  OrganizerDTOSchema,
4853
4881
  PublicEventDTOSchema,
4854
4882
  PublicOrganizerDTOSchema,
4883
+ PushTokenPlatformSchema,
4855
4884
  RegionalAdDTOSchema,
4885
+ RegisterPushTokenDTOSchema,
4856
4886
  SaveStatisticDTOSchema,
4887
+ TagDTOSchema,
4857
4888
  TemporalStatsDTOSchema,
4858
4889
  TemporalStatsWeekDTOSchema,
4859
4890
  TopEventDTOSchema,
@@ -4906,6 +4937,7 @@ exports.NotificationIdSchema = NotificationIdSchema;
4906
4937
  exports.OldTimesFilterAppliedStatisticSchema = OldTimesFilterAppliedStatisticSchema;
4907
4938
  exports.OrganizerDisplayedStatisticSchema = OrganizerDisplayedStatisticSchema;
4908
4939
  exports.OrganizerIdSchema = OrganizerIdSchema;
4940
+ exports.PushTokenIdSchema = PushTokenIdSchema;
4909
4941
  exports.Region = Region;
4910
4942
  exports.RegionFilterAppliedStatisticSchema = RegionFilterAppliedStatisticSchema;
4911
4943
  exports.RegionSchema = RegionSchema;
@@ -4914,6 +4946,7 @@ exports.SafeNonNegativeFloatSchema = SafeNonNegativeFloatSchema;
4914
4946
  exports.SafeNonNegativeIntegerSchema = SafeNonNegativeIntegerSchema;
4915
4947
  exports.StatisticSchema = StatisticSchema;
4916
4948
  exports.StringSchema = StringSchema;
4949
+ exports.TagIdSchema = TagIdSchema;
4917
4950
  exports.URLSchema = URLSchema;
4918
4951
  exports.UUIDSchema = UUIDSchema;
4919
4952
  exports.UserIdSchema = UserIdSchema;
@@ -4923,5 +4956,7 @@ exports.createImportReminderId = createImportReminderId;
4923
4956
  exports.createMainAdId = createMainAdId;
4924
4957
  exports.createNotificationId = createNotificationId;
4925
4958
  exports.createOrganizerId = createOrganizerId;
4959
+ exports.createPushTokenId = createPushTokenId;
4926
4960
  exports.createRegionalAdId = createRegionalAdId;
4961
+ exports.createTagId = createTagId;
4927
4962
  exports.createUserId = createUserId;
@@ -1,5 +1,6 @@
1
1
  var ErrorCodes = /* @__PURE__ */ ((ErrorCodes2) => {
2
2
  ErrorCodes2["OrganizerHasEvents"] = "60001";
3
+ ErrorCodes2["TagLabelAlreadyExists"] = "60002";
3
4
  return ErrorCodes2;
4
5
  })(ErrorCodes || {});
5
6
  function $constructor(name, initializer2, params) {
@@ -4536,6 +4537,8 @@ const EventIdSchema = UUIDSchema.brand("EventId");
4536
4537
  const createEventId = (id = crypto.randomUUID()) => EventIdSchema.parse(id);
4537
4538
  const OrganizerIdSchema = UUIDSchema.brand("OrganizerId");
4538
4539
  const createOrganizerId = (id = crypto.randomUUID()) => OrganizerIdSchema.parse(id);
4540
+ const TagIdSchema = UUIDSchema.brand("TagId");
4541
+ const createTagId = (id = crypto.randomUUID()) => TagIdSchema.parse(id);
4539
4542
  const UserIdSchema = UUIDSchema.brand("UserId");
4540
4543
  const createUserId = (id = crypto.randomUUID()) => UserIdSchema.parse(id);
4541
4544
  const MainAdIdSchema = UUIDSchema.brand("MainAdId");
@@ -4546,6 +4549,8 @@ const ImportReminderIdSchema = UUIDSchema.brand("ImportReminderId");
4546
4549
  const createImportReminderId = (id = crypto.randomUUID()) => ImportReminderIdSchema.parse(id);
4547
4550
  const NotificationIdSchema = UUIDSchema.brand("NotificationId");
4548
4551
  const createNotificationId = (id = crypto.randomUUID()) => NotificationIdSchema.parse(id);
4552
+ const PushTokenIdSchema = UUIDSchema.brand("PushTokenId");
4553
+ const createPushTokenId = (id = crypto.randomUUID()) => PushTokenIdSchema.parse(id);
4549
4554
  const MainAdDTOSchema = object({
4550
4555
  createdAt: datetime(),
4551
4556
  endTime: StringSchema,
@@ -4587,6 +4592,20 @@ const FileUploadDTOSchema = object({
4587
4592
  publicUrl: URLSchema,
4588
4593
  uploadUrl: URLSchema
4589
4594
  });
4595
+ const TagDTOSchema = object({
4596
+ id: TagIdSchema,
4597
+ label: StringSchema
4598
+ });
4599
+ const CreateTagDTOSchema = object({
4600
+ id: TagIdSchema,
4601
+ label: StringSchema
4602
+ });
4603
+ const constraints$3 = {
4604
+ label: {
4605
+ maxLength: 80,
4606
+ minLength: 1
4607
+ }
4608
+ };
4590
4609
  const GPSCoordinatesSchema = object({
4591
4610
  latitude: number(),
4592
4611
  longitude: number()
@@ -4610,26 +4629,27 @@ const EventDTOSchema = object({
4610
4629
  isPriceRange: boolean(),
4611
4630
  isPromoted: boolean(),
4612
4631
  link: URLSchema.nullable(),
4632
+ organizers: object({
4633
+ id: OrganizerIdSchema,
4634
+ imageUrl: URLSchema.nullable(),
4635
+ name: StringSchema
4636
+ }).array().min(1),
4637
+ popularityScore: SafeNonNegativeFloatSchema,
4613
4638
  price: SafeNonNegativeFloatSchema.nullable(),
4614
4639
  promotionEnd: datetime().nullable(),
4615
4640
  promotionStart: datetime().nullable(),
4616
4641
  regions: RegionSchema.array(),
4617
- popularityScore: SafeNonNegativeFloatSchema,
4618
4642
  secondaryCategory: CategorySchema.nullable(),
4619
4643
  startTime: datetime(),
4644
+ tags: TagDTOSchema.array(),
4620
4645
  thumbnailUrl: URLSchema.nullable(),
4621
4646
  ticketsUrl: URLSchema.nullable(),
4622
- title: StringSchema,
4623
- organizers: object({
4624
- id: OrganizerIdSchema,
4625
- name: StringSchema,
4626
- imageUrl: URLSchema.nullable()
4627
- }).array().min(1)
4647
+ title: StringSchema
4628
4648
  });
4629
4649
  const PublicEventDTOSchema = EventDTOSchema.omit({
4650
+ externalSourceId: true,
4630
4651
  promotionEnd: true,
4631
- promotionStart: true,
4632
- externalSourceId: true
4652
+ promotionStart: true
4633
4653
  });
4634
4654
  const CreateEventDTOSchema = object({
4635
4655
  adress: StringSchema,
@@ -4654,6 +4674,7 @@ const CreateEventDTOSchema = object({
4654
4674
  regions: RegionSchema.array(),
4655
4675
  secondaryCategory: CategorySchema.nullable(),
4656
4676
  startTime: datetime(),
4677
+ tagIds: TagIdSchema.array(),
4657
4678
  thumbnailUrl: URLSchema.nullable(),
4658
4679
  ticketsUrl: URLSchema.nullable(),
4659
4680
  title: StringSchema
@@ -4767,6 +4788,11 @@ const constraints$1 = {
4767
4788
  maxLength: 100
4768
4789
  }
4769
4790
  };
4791
+ const PushTokenPlatformSchema = _enum(["android", "ios"]);
4792
+ const RegisterPushTokenDTOSchema = object({
4793
+ expoPushToken: string().regex(/^ExponentPushToken\[.+\]$/),
4794
+ platform: PushTokenPlatformSchema
4795
+ });
4770
4796
  const TopEventDTOSchema = object({
4771
4797
  count: number(),
4772
4798
  eventId: EventIdSchema,
@@ -4822,7 +4848,8 @@ const SaveStatisticDTOSchema = object({
4822
4848
  });
4823
4849
  const constraints = {
4824
4850
  events: constraints$2,
4825
- organizers: constraints$1
4851
+ organizers: constraints$1,
4852
+ tags: constraints$3
4826
4853
  };
4827
4854
  const index$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4828
4855
  __proto__: null,
@@ -4832,6 +4859,7 @@ const index$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePrope
4832
4859
  CreateImportReminderDTOSchema,
4833
4860
  CreateNotificationDTOSchema,
4834
4861
  CreateOrganizerDTOSchema,
4862
+ CreateTagDTOSchema,
4835
4863
  DisplayEventDTOSchema,
4836
4864
  EventDTOSchema,
4837
4865
  EventFileUploadDTOSchema,
@@ -4850,8 +4878,11 @@ const index$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePrope
4850
4878
  OrganizerDTOSchema,
4851
4879
  PublicEventDTOSchema,
4852
4880
  PublicOrganizerDTOSchema,
4881
+ PushTokenPlatformSchema,
4853
4882
  RegionalAdDTOSchema,
4883
+ RegisterPushTokenDTOSchema,
4854
4884
  SaveStatisticDTOSchema,
4885
+ TagDTOSchema,
4855
4886
  TemporalStatsDTOSchema,
4856
4887
  TemporalStatsWeekDTOSchema,
4857
4888
  TopEventDTOSchema,
@@ -4905,6 +4936,7 @@ export {
4905
4936
  OldTimesFilterAppliedStatisticSchema,
4906
4937
  OrganizerDisplayedStatisticSchema,
4907
4938
  OrganizerIdSchema,
4939
+ PushTokenIdSchema,
4908
4940
  Region,
4909
4941
  RegionFilterAppliedStatisticSchema,
4910
4942
  RegionSchema,
@@ -4913,6 +4945,7 @@ export {
4913
4945
  SafeNonNegativeIntegerSchema,
4914
4946
  StatisticSchema,
4915
4947
  StringSchema,
4948
+ TagIdSchema,
4916
4949
  URLSchema,
4917
4950
  UUIDSchema,
4918
4951
  UserIdSchema,
@@ -4922,6 +4955,8 @@ export {
4922
4955
  createMainAdId,
4923
4956
  createNotificationId,
4924
4957
  createOrganizerId,
4958
+ createPushTokenId,
4925
4959
  createRegionalAdId,
4960
+ createTagId,
4926
4961
  createUserId
4927
4962
  };
package/dist/errors.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  export declare enum ErrorCodes {
2
- OrganizerHasEvents = "60001"
2
+ OrganizerHasEvents = "60001",
3
+ TagLabelAlreadyExists = "60002"
3
4
  }
4
5
  //# sourceMappingURL=errors.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../src/errors.ts"],"names":[],"mappings":"AAAA,oBAAY,UAAU;IACpB,kBAAkB,UAAU;CAC7B"}
1
+ {"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../src/errors.ts"],"names":[],"mappings":"AAAA,oBAAY,UAAU;IACpB,kBAAkB,UAAU;IAC5B,qBAAqB,UAAU;CAChC"}
package/dist/flavors.d.ts CHANGED
@@ -5,6 +5,9 @@ export declare const createEventId: (id?: string) => EventId;
5
5
  export declare const OrganizerIdSchema: z.core.$ZodBranded<z.ZodUUID, "OrganizerId", "out">;
6
6
  export type OrganizerId = z.infer<typeof OrganizerIdSchema>;
7
7
  export declare const createOrganizerId: (id?: string) => OrganizerId;
8
+ export declare const TagIdSchema: z.core.$ZodBranded<z.ZodUUID, "TagId", "out">;
9
+ export type TagId = z.infer<typeof TagIdSchema>;
10
+ export declare const createTagId: (id?: string) => TagId;
8
11
  export declare const UserIdSchema: z.core.$ZodBranded<z.ZodUUID, "UserId", "out">;
9
12
  export type UserId = z.infer<typeof UserIdSchema>;
10
13
  export declare const createUserId: (id?: string) => UserId;
@@ -20,4 +23,7 @@ export declare const createImportReminderId: (id?: string) => ImportReminderId;
20
23
  export declare const NotificationIdSchema: z.core.$ZodBranded<z.ZodUUID, "NotificationId", "out">;
21
24
  export type NotificationId = z.infer<typeof NotificationIdSchema>;
22
25
  export declare const createNotificationId: (id?: string) => NotificationId;
26
+ export declare const PushTokenIdSchema: z.core.$ZodBranded<z.ZodUUID, "PushTokenId", "out">;
27
+ export type PushTokenId = z.infer<typeof PushTokenIdSchema>;
28
+ export declare const createPushTokenId: (id?: string) => PushTokenId;
23
29
  //# sourceMappingURL=flavors.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"flavors.d.ts","sourceRoot":"","sources":["../src/flavors.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,aAAa,iDAA8B,CAAC;AACzD,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;AAEpD,eAAO,MAAM,aAAa,QAAQ,MAAM,KAAyB,OAAkC,CAAC;AAEpG,eAAO,MAAM,iBAAiB,qDAAkC,CAAC;AACjE,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAE5D,eAAO,MAAM,iBAAiB,QAAQ,MAAM,KAAyB,WAA0C,CAAC;AAEhH,eAAO,MAAM,YAAY,gDAA6B,CAAC;AACvD,MAAM,MAAM,MAAM,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAC;AAElD,eAAO,MAAM,YAAY,QAAQ,MAAM,KAAyB,MAAgC,CAAC;AAEjG,eAAO,MAAM,cAAc,kDAA+B,CAAC;AAC3D,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,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racts",
3
- "version": "0.4.0",
3
+ "version": "0.5.0",
4
4
  "license": "UNLICENCED",
5
5
  "main": "dist/api-contracts.js",
6
6
  "module": "dist/api-contracts.mjs",