@sortipei/api-contracts 0.2.19 → 0.3.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.
@@ -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;;;;;;;;;EAG/B,CAAC;AAEH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmCzB,CAAC;AAEH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAwB/B,CAAC;AAEH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAE/B,CAAC;AAEH,eAAO,MAAM,qBAAqB;;;;;;EAEhC,CAAC;AAEH,eAAO,MAAM,qBAAqB;;;;;;EAEhC,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,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,M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').ImportReminderFrequency>;
4
- id: z.ZodBranded<z.ZodString, "ImportReminderId">;
3
+ frequency: z.ZodEnum<typeof import('../../shared').ImportReminderFrequency>;
4
+ id: z.core.$ZodBranded<z.ZodUUID, "ImportReminderId", "out">;
5
5
  title: z.ZodString;
6
6
  url: z.ZodString;
7
- }, "strip", z.ZodTypeAny, {
8
- id: string & z.BRAND<"ImportReminderId">;
9
- title: string;
10
- url: string;
11
- frequency: import('../../shared').ImportReminderFrequency;
12
- }, {
13
- id: string;
14
- title: string;
15
- url: string;
16
- frequency: import('../../shared').ImportReminderFrequency;
17
- }>;
7
+ }, z.core.$strip>;
18
8
  export declare const CreateImportReminderDTOSchema: z.ZodObject<{
19
- frequency: z.ZodNativeEnum<typeof import('../../shared').ImportReminderFrequency>;
20
- id: z.ZodBranded<z.ZodString, "ImportReminderId">;
9
+ frequency: z.ZodEnum<typeof import('../../shared').ImportReminderFrequency>;
10
+ id: z.core.$ZodBranded<z.ZodUUID, "ImportReminderId", "out">;
21
11
  title: z.ZodString;
22
12
  url: z.ZodString;
23
- }, "strip", z.ZodTypeAny, {
24
- id: string & z.BRAND<"ImportReminderId">;
25
- title: string;
26
- url: string;
27
- frequency: import('../../shared').ImportReminderFrequency;
28
- }, {
29
- id: string;
30
- title: string;
31
- url: string;
32
- frequency: import('../../shared').ImportReminderFrequency;
33
- }>;
13
+ }, z.core.$strip>;
34
14
  export declare const UpdateImportReminderDTOSchema: z.ZodObject<{
35
- title: z.ZodOptional<z.ZodString>;
36
15
  url: z.ZodOptional<z.ZodString>;
37
- frequency: z.ZodOptional<z.ZodNativeEnum<typeof import('../../shared').ImportReminderFrequency>>;
38
- }, "strip", z.ZodTypeAny, {
39
- title?: string | undefined;
40
- url?: string | undefined;
41
- frequency?: import('../../shared').ImportReminderFrequency | undefined;
42
- }, {
43
- title?: string | undefined;
44
- url?: string | undefined;
45
- frequency?: import('../../shared').ImportReminderFrequency | undefined;
46
- }>;
16
+ title: z.ZodOptional<z.ZodString>;
17
+ frequency: z.ZodOptional<z.ZodEnum<typeof import('../../shared').ImportReminderFrequency>>;
18
+ }, z.core.$strip>;
47
19
  export type ImportReminderDTO = z.infer<typeof ImportReminderDTOSchema>;
48
20
  export type CreateImportReminderDTO = z.infer<typeof CreateImportReminderDTOSchema>;
49
21
  export type UpdateImportReminderDTO = z.infer<typeof UpdateImportReminderDTOSchema>;
@@ -1 +1 @@
1
- {"version":3,"file":"import-reminder.d.ts","sourceRoot":"","sources":["../../../src/V1/api/import-reminder.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;EAKlC,CAAC;AAEH,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;EAA0B,CAAC;AAErE,eAAO,MAAM,6BAA6B;;;;;;;;;;;;EAAuD,CAAC;AAElG,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AACxE,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAC;AACpF,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAC"}
1
+ {"version":3,"file":"import-reminder.d.ts","sourceRoot":"","sources":["../../../src/V1/api/import-reminder.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,uBAAuB;;;;;iBAKlC,CAAC;AAEH,eAAO,MAAM,6BAA6B;;;;;iBAA0B,CAAC;AAErE,eAAO,MAAM,6BAA6B;;;;iBAAuD,CAAC;AAElG,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AACxE,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAC;AACpF,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAC"}
@@ -1,98 +1,36 @@
1
1
  import { z } from 'zod';
2
2
  export declare const PublicOrganizerDTOSchema: z.ZodObject<{
3
- id: z.ZodBranded<z.ZodString, "OrganizerId">;
3
+ id: z.core.$ZodBranded<z.ZodUUID, "OrganizerId", "out">;
4
4
  imageUrl: z.ZodNullable<z.ZodString>;
5
5
  name: z.ZodString;
6
- }, "strip", z.ZodTypeAny, {
7
- id: string & z.BRAND<"OrganizerId">;
8
- imageUrl: string | null;
9
- name: string;
10
- }, {
11
- id: string;
12
- imageUrl: string | null;
13
- name: string;
14
- }>;
6
+ }, z.core.$strip>;
15
7
  export declare const OrganizerDTOSchema: z.ZodObject<{
16
- canonicalOrganizerId: z.ZodNullable<z.ZodBranded<z.ZodString, "OrganizerId">>;
8
+ canonicalOrganizerId: z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "OrganizerId", "out">>;
17
9
  email: z.ZodNullable<z.ZodString>;
18
- eventsIds: z.ZodArray<z.ZodBranded<z.ZodString, "EventId">, "many">;
19
- id: z.ZodBranded<z.ZodString, "OrganizerId">;
10
+ eventsIds: z.ZodArray<z.core.$ZodBranded<z.ZodUUID, "EventId", "out">>;
11
+ id: z.core.$ZodBranded<z.ZodUUID, "OrganizerId", "out">;
20
12
  imageUrl: z.ZodNullable<z.ZodString>;
21
13
  isCanonical: z.ZodBoolean;
22
14
  isDuplicate: z.ZodBoolean;
23
15
  name: z.ZodString;
24
16
  phoneNumber: z.ZodNullable<z.ZodString>;
25
- }, "strip", z.ZodTypeAny, {
26
- id: string & z.BRAND<"OrganizerId">;
27
- imageUrl: string | null;
28
- name: string;
29
- canonicalOrganizerId: (string & z.BRAND<"OrganizerId">) | null;
30
- email: string | null;
31
- eventsIds: (string & z.BRAND<"EventId">)[];
32
- isCanonical: boolean;
33
- isDuplicate: boolean;
34
- phoneNumber: string | null;
35
- }, {
36
- id: string;
37
- imageUrl: string | null;
38
- name: string;
39
- canonicalOrganizerId: string | null;
40
- email: string | null;
41
- eventsIds: string[];
42
- isCanonical: boolean;
43
- isDuplicate: boolean;
44
- phoneNumber: string | null;
45
- }>;
17
+ }, z.core.$strip>;
46
18
  export declare const CreateOrganizerDTOSchema: z.ZodObject<{
47
- canonicalOrganizerId: z.ZodNullable<z.ZodBranded<z.ZodString, "OrganizerId">>;
19
+ canonicalOrganizerId: z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "OrganizerId", "out">>;
48
20
  email: z.ZodNullable<z.ZodString>;
49
- id: z.ZodBranded<z.ZodString, "OrganizerId">;
21
+ id: z.core.$ZodBranded<z.ZodUUID, "OrganizerId", "out">;
50
22
  imageUrl: z.ZodNullable<z.ZodString>;
51
23
  name: z.ZodString;
52
24
  phoneNumber: z.ZodNullable<z.ZodString>;
53
- }, "strip", z.ZodTypeAny, {
54
- id: string & z.BRAND<"OrganizerId">;
55
- imageUrl: string | null;
56
- name: string;
57
- canonicalOrganizerId: (string & z.BRAND<"OrganizerId">) | null;
58
- email: string | null;
59
- phoneNumber: string | null;
60
- }, {
61
- id: string;
62
- imageUrl: string | null;
63
- name: string;
64
- canonicalOrganizerId: string | null;
65
- email: string | null;
66
- phoneNumber: string | null;
67
- }>;
68
- export declare const UpdateOrganizerDTOSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
69
- canonicalOrganizerId: z.ZodNullable<z.ZodBranded<z.ZodString, "OrganizerId">>;
70
- email: z.ZodNullable<z.ZodString>;
71
- id: z.ZodBranded<z.ZodString, "OrganizerId">;
72
- imageUrl: z.ZodNullable<z.ZodString>;
25
+ }, z.core.$strip>;
26
+ export declare const UpdateOrganizerDTOSchema: z.ZodObject<{
73
27
  name: z.ZodString;
74
- phoneNumber: z.ZodNullable<z.ZodString>;
75
- }, "id">, {
76
- canonicalOrganizerId: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "OrganizerId">>>;
28
+ canonicalOrganizerId: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "OrganizerId", "out">>>;
77
29
  email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
78
30
  imageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
79
31
  isDuplicate: z.ZodOptional<z.ZodBoolean>;
80
32
  phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
81
- }>, "strip", z.ZodTypeAny, {
82
- name: string;
83
- imageUrl?: string | null | undefined;
84
- canonicalOrganizerId?: (string & z.BRAND<"OrganizerId">) | null | undefined;
85
- email?: string | null | undefined;
86
- isDuplicate?: boolean | undefined;
87
- phoneNumber?: string | null | undefined;
88
- }, {
89
- name: string;
90
- imageUrl?: string | null | undefined;
91
- canonicalOrganizerId?: string | null | undefined;
92
- email?: string | null | undefined;
93
- isDuplicate?: boolean | undefined;
94
- phoneNumber?: string | null | undefined;
95
- }>;
33
+ }, z.core.$strip>;
96
34
  export type CreateOrganizerDTO = z.infer<typeof CreateOrganizerDTOSchema>;
97
35
  export type UpdateOrganizerDTO = z.infer<typeof UpdateOrganizerDTOSchema>;
98
36
  export type OrganizerDTO = z.infer<typeof OrganizerDTOSchema>;
@@ -1 +1 @@
1
- {"version":3,"file":"organizer.d.ts","sourceRoot":"","sources":["../../../src/V1/api/organizer.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,wBAAwB;;;;;;;;;;;;EAInC,CAAC;AAEH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAU7B,CAAC;AAEH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;EAOnC,CAAC;AAEH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;EAMnC,CAAC;AAEH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAC1E,M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