@sortipei/api-contracts 0.2.15 → 0.2.16
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.
|
@@ -20,6 +20,7 @@ export declare const OrganizerDTOSchema: z.ZodObject<{
|
|
|
20
20
|
imageUrl: z.ZodNullable<z.ZodString>;
|
|
21
21
|
isDuplicate: z.ZodBoolean;
|
|
22
22
|
name: z.ZodString;
|
|
23
|
+
phoneNumber: z.ZodNullable<z.ZodString>;
|
|
23
24
|
}, "strip", z.ZodTypeAny, {
|
|
24
25
|
id: string & z.BRAND<"OrganizerId">;
|
|
25
26
|
imageUrl: string | null;
|
|
@@ -28,6 +29,7 @@ export declare const OrganizerDTOSchema: z.ZodObject<{
|
|
|
28
29
|
email: string | null;
|
|
29
30
|
eventsIds: (string & z.BRAND<"EventId">)[];
|
|
30
31
|
isDuplicate: boolean;
|
|
32
|
+
phoneNumber: string | null;
|
|
31
33
|
}, {
|
|
32
34
|
id: string;
|
|
33
35
|
imageUrl: string | null;
|
|
@@ -36,6 +38,7 @@ export declare const OrganizerDTOSchema: z.ZodObject<{
|
|
|
36
38
|
email: string | null;
|
|
37
39
|
eventsIds: string[];
|
|
38
40
|
isDuplicate: boolean;
|
|
41
|
+
phoneNumber: string | null;
|
|
39
42
|
}>;
|
|
40
43
|
export declare const CreateOrganizerDTOSchema: z.ZodObject<{
|
|
41
44
|
canonicalOrganizerId: z.ZodNullable<z.ZodBranded<z.ZodString, "OrganizerId">>;
|
|
@@ -43,18 +46,21 @@ export declare const CreateOrganizerDTOSchema: z.ZodObject<{
|
|
|
43
46
|
id: z.ZodBranded<z.ZodString, "OrganizerId">;
|
|
44
47
|
imageUrl: z.ZodNullable<z.ZodString>;
|
|
45
48
|
name: z.ZodString;
|
|
49
|
+
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
46
50
|
}, "strip", z.ZodTypeAny, {
|
|
47
51
|
id: string & z.BRAND<"OrganizerId">;
|
|
48
52
|
imageUrl: string | null;
|
|
49
53
|
name: string;
|
|
50
54
|
canonicalOrganizerId: (string & z.BRAND<"OrganizerId">) | null;
|
|
51
55
|
email?: string | null | undefined;
|
|
56
|
+
phoneNumber?: string | null | undefined;
|
|
52
57
|
}, {
|
|
53
58
|
id: string;
|
|
54
59
|
imageUrl: string | null;
|
|
55
60
|
name: string;
|
|
56
61
|
canonicalOrganizerId: string | null;
|
|
57
62
|
email?: string | null | undefined;
|
|
63
|
+
phoneNumber?: string | null | undefined;
|
|
58
64
|
}>;
|
|
59
65
|
export declare const UpdateOrganizerDTOSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
60
66
|
canonicalOrganizerId: z.ZodNullable<z.ZodBranded<z.ZodString, "OrganizerId">>;
|
|
@@ -62,23 +68,27 @@ export declare const UpdateOrganizerDTOSchema: z.ZodObject<z.objectUtil.extendSh
|
|
|
62
68
|
id: z.ZodBranded<z.ZodString, "OrganizerId">;
|
|
63
69
|
imageUrl: z.ZodNullable<z.ZodString>;
|
|
64
70
|
name: z.ZodString;
|
|
71
|
+
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
65
72
|
}, "id">, {
|
|
66
73
|
canonicalOrganizerId: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "OrganizerId">>>;
|
|
67
74
|
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
68
75
|
imageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
69
76
|
isDuplicate: z.ZodOptional<z.ZodBoolean>;
|
|
77
|
+
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
70
78
|
}>, "strip", z.ZodTypeAny, {
|
|
71
79
|
name: string;
|
|
72
80
|
imageUrl?: string | null | undefined;
|
|
73
81
|
canonicalOrganizerId?: (string & z.BRAND<"OrganizerId">) | null | undefined;
|
|
74
82
|
email?: string | null | undefined;
|
|
75
83
|
isDuplicate?: boolean | undefined;
|
|
84
|
+
phoneNumber?: string | null | undefined;
|
|
76
85
|
}, {
|
|
77
86
|
name: string;
|
|
78
87
|
imageUrl?: string | null | undefined;
|
|
79
88
|
canonicalOrganizerId?: string | null | undefined;
|
|
80
89
|
email?: string | null | undefined;
|
|
81
90
|
isDuplicate?: boolean | undefined;
|
|
91
|
+
phoneNumber?: string | null | undefined;
|
|
82
92
|
}>;
|
|
83
93
|
export type CreateOrganizerDTO = z.infer<typeof CreateOrganizerDTOSchema>;
|
|
84
94
|
export type UpdateOrganizerDTO = z.infer<typeof UpdateOrganizerDTOSchema>;
|
|
@@ -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
|
|
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;;;;;;;;;;;;;;;;;;;;;;;;;;;EAS7B,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,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAC1E,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAC9D,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAE1E,eAAO,MAAM,WAAW;;;;;CAKvB,CAAC"}
|
package/dist/api-contracts.js
CHANGED
|
@@ -4386,20 +4386,23 @@ const OrganizerDTOSchema = z.object({
|
|
|
4386
4386
|
id: OrganizerIdSchema,
|
|
4387
4387
|
imageUrl: URLSchema.nullable(),
|
|
4388
4388
|
isDuplicate: z.boolean(),
|
|
4389
|
-
name: StringSchema
|
|
4389
|
+
name: StringSchema,
|
|
4390
|
+
phoneNumber: z.string().nullable()
|
|
4390
4391
|
});
|
|
4391
4392
|
const CreateOrganizerDTOSchema = z.object({
|
|
4392
4393
|
canonicalOrganizerId: OrganizerIdSchema.nullable(),
|
|
4393
4394
|
email: StringSchema.nullable().optional(),
|
|
4394
4395
|
id: OrganizerIdSchema,
|
|
4395
4396
|
imageUrl: URLSchema.nullable(),
|
|
4396
|
-
name: StringSchema
|
|
4397
|
+
name: StringSchema,
|
|
4398
|
+
phoneNumber: z.string().nullable().optional()
|
|
4397
4399
|
});
|
|
4398
4400
|
const UpdateOrganizerDTOSchema = CreateOrganizerDTOSchema.omit({ id: true }).extend({
|
|
4399
4401
|
canonicalOrganizerId: OrganizerIdSchema.nullable().optional(),
|
|
4400
4402
|
email: StringSchema.nullable().optional(),
|
|
4401
4403
|
imageUrl: URLSchema.nullable().optional(),
|
|
4402
|
-
isDuplicate: z.boolean().optional()
|
|
4404
|
+
isDuplicate: z.boolean().optional(),
|
|
4405
|
+
phoneNumber: z.string().nullable().optional()
|
|
4403
4406
|
});
|
|
4404
4407
|
const constraints$1 = {
|
|
4405
4408
|
name: {
|
package/dist/api-contracts.mjs
CHANGED
|
@@ -4384,20 +4384,23 @@ const OrganizerDTOSchema = z.object({
|
|
|
4384
4384
|
id: OrganizerIdSchema,
|
|
4385
4385
|
imageUrl: URLSchema.nullable(),
|
|
4386
4386
|
isDuplicate: z.boolean(),
|
|
4387
|
-
name: StringSchema
|
|
4387
|
+
name: StringSchema,
|
|
4388
|
+
phoneNumber: z.string().nullable()
|
|
4388
4389
|
});
|
|
4389
4390
|
const CreateOrganizerDTOSchema = z.object({
|
|
4390
4391
|
canonicalOrganizerId: OrganizerIdSchema.nullable(),
|
|
4391
4392
|
email: StringSchema.nullable().optional(),
|
|
4392
4393
|
id: OrganizerIdSchema,
|
|
4393
4394
|
imageUrl: URLSchema.nullable(),
|
|
4394
|
-
name: StringSchema
|
|
4395
|
+
name: StringSchema,
|
|
4396
|
+
phoneNumber: z.string().nullable().optional()
|
|
4395
4397
|
});
|
|
4396
4398
|
const UpdateOrganizerDTOSchema = CreateOrganizerDTOSchema.omit({ id: true }).extend({
|
|
4397
4399
|
canonicalOrganizerId: OrganizerIdSchema.nullable().optional(),
|
|
4398
4400
|
email: StringSchema.nullable().optional(),
|
|
4399
4401
|
imageUrl: URLSchema.nullable().optional(),
|
|
4400
|
-
isDuplicate: z.boolean().optional()
|
|
4402
|
+
isDuplicate: z.boolean().optional(),
|
|
4403
|
+
phoneNumber: z.string().nullable().optional()
|
|
4401
4404
|
});
|
|
4402
4405
|
const constraints$1 = {
|
|
4403
4406
|
name: {
|