@sortipei/api-contracts 0.2.16 → 0.2.17

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.
@@ -42,33 +42,33 @@ export declare const OrganizerDTOSchema: z.ZodObject<{
42
42
  }>;
43
43
  export declare const CreateOrganizerDTOSchema: z.ZodObject<{
44
44
  canonicalOrganizerId: z.ZodNullable<z.ZodBranded<z.ZodString, "OrganizerId">>;
45
- email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
45
+ email: z.ZodNullable<z.ZodString>;
46
46
  id: z.ZodBranded<z.ZodString, "OrganizerId">;
47
47
  imageUrl: z.ZodNullable<z.ZodString>;
48
48
  name: z.ZodString;
49
- phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
49
+ phoneNumber: z.ZodNullable<z.ZodString>;
50
50
  }, "strip", z.ZodTypeAny, {
51
51
  id: string & z.BRAND<"OrganizerId">;
52
52
  imageUrl: string | null;
53
53
  name: string;
54
54
  canonicalOrganizerId: (string & z.BRAND<"OrganizerId">) | null;
55
- email?: string | null | undefined;
56
- phoneNumber?: string | null | undefined;
55
+ email: string | null;
56
+ phoneNumber: string | null;
57
57
  }, {
58
58
  id: string;
59
59
  imageUrl: string | null;
60
60
  name: string;
61
61
  canonicalOrganizerId: string | null;
62
- email?: string | null | undefined;
63
- phoneNumber?: string | null | undefined;
62
+ email: string | null;
63
+ phoneNumber: string | null;
64
64
  }>;
65
65
  export declare const UpdateOrganizerDTOSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
66
66
  canonicalOrganizerId: z.ZodNullable<z.ZodBranded<z.ZodString, "OrganizerId">>;
67
- email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
67
+ email: z.ZodNullable<z.ZodString>;
68
68
  id: z.ZodBranded<z.ZodString, "OrganizerId">;
69
69
  imageUrl: z.ZodNullable<z.ZodString>;
70
70
  name: z.ZodString;
71
- phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
71
+ phoneNumber: z.ZodNullable<z.ZodString>;
72
72
  }, "id">, {
73
73
  canonicalOrganizerId: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "OrganizerId">>>;
74
74
  email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -4391,11 +4391,11 @@ const OrganizerDTOSchema = z.object({
4391
4391
  });
4392
4392
  const CreateOrganizerDTOSchema = z.object({
4393
4393
  canonicalOrganizerId: OrganizerIdSchema.nullable(),
4394
- email: StringSchema.nullable().optional(),
4394
+ email: StringSchema.nullable(),
4395
4395
  id: OrganizerIdSchema,
4396
4396
  imageUrl: URLSchema.nullable(),
4397
4397
  name: StringSchema,
4398
- phoneNumber: z.string().nullable().optional()
4398
+ phoneNumber: z.string().nullable()
4399
4399
  });
4400
4400
  const UpdateOrganizerDTOSchema = CreateOrganizerDTOSchema.omit({ id: true }).extend({
4401
4401
  canonicalOrganizerId: OrganizerIdSchema.nullable().optional(),
@@ -4389,11 +4389,11 @@ const OrganizerDTOSchema = z.object({
4389
4389
  });
4390
4390
  const CreateOrganizerDTOSchema = z.object({
4391
4391
  canonicalOrganizerId: OrganizerIdSchema.nullable(),
4392
- email: StringSchema.nullable().optional(),
4392
+ email: StringSchema.nullable(),
4393
4393
  id: OrganizerIdSchema,
4394
4394
  imageUrl: URLSchema.nullable(),
4395
4395
  name: StringSchema,
4396
- phoneNumber: z.string().nullable().optional()
4396
+ phoneNumber: z.string().nullable()
4397
4397
  });
4398
4398
  const UpdateOrganizerDTOSchema = CreateOrganizerDTOSchema.omit({ id: true }).extend({
4399
4399
  canonicalOrganizerId: OrganizerIdSchema.nullable().optional(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sortipei/api-contracts",
3
- "version": "0.2.16",
3
+ "version": "0.2.17",
4
4
  "license": "UNLICENCED",
5
5
  "main": "dist/api-contracts.js",
6
6
  "module": "dist/api-contracts.mjs",