@blackcode_sa/metaestetics-api 1.7.40 → 1.7.41

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.
package/dist/index.d.mts CHANGED
@@ -11010,6 +11010,7 @@ declare const createPatientLocationInfoSchema: z.ZodObject<{
11010
11010
  declare const patientSensitiveInfoSchema: z.ZodObject<{
11011
11011
  patientId: z.ZodString;
11012
11012
  userRef: z.ZodString;
11013
+ photoUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11013
11014
  firstName: z.ZodString;
11014
11015
  lastName: z.ZodString;
11015
11016
  dateOfBirth: z.ZodNullable<z.ZodType<Timestamp, z.ZodTypeDef, Timestamp>>;
@@ -11060,6 +11061,7 @@ declare const patientSensitiveInfoSchema: z.ZodObject<{
11060
11061
  lastName: string;
11061
11062
  dateOfBirth: Timestamp | null;
11062
11063
  gender: Gender;
11064
+ photoUrl?: string | null | undefined;
11063
11065
  email?: string | undefined;
11064
11066
  phoneNumber?: string | undefined;
11065
11067
  alternativePhoneNumber?: string | undefined;
@@ -11084,6 +11086,7 @@ declare const patientSensitiveInfoSchema: z.ZodObject<{
11084
11086
  lastName: string;
11085
11087
  dateOfBirth: Timestamp | null;
11086
11088
  gender: Gender;
11089
+ photoUrl?: string | null | undefined;
11087
11090
  email?: string | undefined;
11088
11091
  phoneNumber?: string | undefined;
11089
11092
  alternativePhoneNumber?: string | undefined;
package/dist/index.d.ts CHANGED
@@ -11010,6 +11010,7 @@ declare const createPatientLocationInfoSchema: z.ZodObject<{
11010
11010
  declare const patientSensitiveInfoSchema: z.ZodObject<{
11011
11011
  patientId: z.ZodString;
11012
11012
  userRef: z.ZodString;
11013
+ photoUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11013
11014
  firstName: z.ZodString;
11014
11015
  lastName: z.ZodString;
11015
11016
  dateOfBirth: z.ZodNullable<z.ZodType<Timestamp, z.ZodTypeDef, Timestamp>>;
@@ -11060,6 +11061,7 @@ declare const patientSensitiveInfoSchema: z.ZodObject<{
11060
11061
  lastName: string;
11061
11062
  dateOfBirth: Timestamp | null;
11062
11063
  gender: Gender;
11064
+ photoUrl?: string | null | undefined;
11063
11065
  email?: string | undefined;
11064
11066
  phoneNumber?: string | undefined;
11065
11067
  alternativePhoneNumber?: string | undefined;
@@ -11084,6 +11086,7 @@ declare const patientSensitiveInfoSchema: z.ZodObject<{
11084
11086
  lastName: string;
11085
11087
  dateOfBirth: Timestamp | null;
11086
11088
  gender: Gender;
11089
+ photoUrl?: string | null | undefined;
11087
11090
  email?: string | undefined;
11088
11091
  phoneNumber?: string | undefined;
11089
11092
  alternativePhoneNumber?: string | undefined;
package/dist/index.js CHANGED
@@ -1832,6 +1832,7 @@ var createPatientLocationInfoSchema = import_zod7.z.object({
1832
1832
  var patientSensitiveInfoSchema = import_zod7.z.object({
1833
1833
  patientId: import_zod7.z.string(),
1834
1834
  userRef: import_zod7.z.string(),
1835
+ photoUrl: import_zod7.z.string().nullable().optional(),
1835
1836
  firstName: import_zod7.z.string().min(2),
1836
1837
  lastName: import_zod7.z.string().min(2),
1837
1838
  dateOfBirth: import_zod7.z.instanceof(import_firestore5.Timestamp).nullable(),
package/dist/index.mjs CHANGED
@@ -1658,6 +1658,7 @@ var createPatientLocationInfoSchema = z7.object({
1658
1658
  var patientSensitiveInfoSchema = z7.object({
1659
1659
  patientId: z7.string(),
1660
1660
  userRef: z7.string(),
1661
+ photoUrl: z7.string().nullable().optional(),
1661
1662
  firstName: z7.string().min(2),
1662
1663
  lastName: z7.string().min(2),
1663
1664
  dateOfBirth: z7.instanceof(Timestamp3).nullable(),
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@blackcode_sa/metaestetics-api",
3
3
  "private": false,
4
- "version": "1.7.40",
4
+ "version": "1.7.41",
5
5
  "description": "Firebase authentication service with anonymous upgrade support",
6
6
  "main": "./dist/index.js",
7
7
  "module": "./dist/index.mjs",
@@ -1,4 +1,4 @@
1
- import { z } from "zod";
1
+ import { string, z } from "zod";
2
2
  import { Timestamp } from "firebase/firestore";
3
3
  import { Gender } from "../types/patient";
4
4
  import { mediaResourceSchema } from "./media.schema";
@@ -66,6 +66,7 @@ export const createPatientLocationInfoSchema = z.object({
66
66
  export const patientSensitiveInfoSchema = z.object({
67
67
  patientId: z.string(),
68
68
  userRef: z.string(),
69
+ photoUrl: z.string().nullable().optional(),
69
70
  firstName: z.string().min(2),
70
71
  lastName: z.string().min(2),
71
72
  dateOfBirth: z.instanceof(Timestamp).nullable(),