c2-clinical 1.0.19 → 1.0.20

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.
@@ -67,11 +67,11 @@ export declare const PatientSchema: Schema<any, import("mongoose").Model<any, an
67
67
  number?: string | null | undefined;
68
68
  description?: string | null | undefined;
69
69
  }>;
70
+ socialId: string;
70
71
  tags: string[];
71
72
  sendEmailAsWelcome: any;
72
73
  email?: string | null | undefined;
73
74
  genre?: string | null | undefined;
74
- socialId?: string | null | undefined;
75
75
  appConfig?: {
76
76
  accessEnable?: any;
77
77
  accessCode?: string | null | undefined;
@@ -101,11 +101,11 @@ export declare const PatientSchema: Schema<any, import("mongoose").Model<any, an
101
101
  number?: string | null | undefined;
102
102
  description?: string | null | undefined;
103
103
  }>;
104
+ socialId: string;
104
105
  tags: string[];
105
106
  sendEmailAsWelcome: any;
106
107
  email?: string | null | undefined;
107
108
  genre?: string | null | undefined;
108
- socialId?: string | null | undefined;
109
109
  appConfig?: {
110
110
  accessEnable?: any;
111
111
  accessCode?: string | null | undefined;
@@ -135,11 +135,11 @@ export declare const PatientSchema: Schema<any, import("mongoose").Model<any, an
135
135
  number?: string | null | undefined;
136
136
  description?: string | null | undefined;
137
137
  }>;
138
+ socialId: string;
138
139
  tags: string[];
139
140
  sendEmailAsWelcome: any;
140
141
  email?: string | null | undefined;
141
142
  genre?: string | null | undefined;
142
- socialId?: string | null | undefined;
143
143
  appConfig?: {
144
144
  accessEnable?: any;
145
145
  accessCode?: string | null | undefined;
@@ -17,7 +17,7 @@ exports.PatientSchema = new mongoose_1.Schema({
17
17
  fullName: { type: String, required: true },
18
18
  bornDate: { type: Date, required: true },
19
19
  phones: { type: [Phone_1.PhoneSchema] },
20
- socialId: { type: String },
20
+ socialId: { type: String, required: true },
21
21
  email: { type: String },
22
22
  tags: { type: [String] },
23
23
  active: { type: Boolean, default: true },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "c2-clinical",
3
- "version": "1.0.19",
3
+ "version": "1.0.20",
4
4
  "description": "Biblioteca Typescript para API NodeJS",
5
5
  "repository": "https://github.com/cabralsilva/c2-clinical.git",
6
6
  "author": "Daniel Cabral <cabralconsultoriaemsoftware@gmail.com>",