c2-clinical 1.0.22 → 1.0.23

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,6 +1,7 @@
1
1
  import { Schema, Types } from "mongoose";
2
2
  import { ICity } from "./City";
3
3
  export interface IAddress {
4
+ description: string;
4
5
  zipCode: string;
5
6
  street: string;
6
7
  number: string;
@@ -13,6 +14,7 @@ export interface IAddress {
13
14
  export declare const AddressSchema: Schema<any, import("mongoose").Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
14
15
  _id: false;
15
16
  }, {
17
+ description: string;
16
18
  number?: string | null | undefined;
17
19
  zipCode?: string | null | undefined;
18
20
  street?: string | null | undefined;
@@ -22,6 +24,7 @@ export declare const AddressSchema: Schema<any, import("mongoose").Model<any, an
22
24
  typeStreet?: string | null | undefined;
23
25
  city?: any;
24
26
  }, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
27
+ description: string;
25
28
  number?: string | null | undefined;
26
29
  zipCode?: string | null | undefined;
27
30
  street?: string | null | undefined;
@@ -31,6 +34,7 @@ export declare const AddressSchema: Schema<any, import("mongoose").Model<any, an
31
34
  typeStreet?: string | null | undefined;
32
35
  city?: any;
33
36
  }>, {}> & import("mongoose").FlatRecord<{
37
+ description: string;
34
38
  number?: string | null | undefined;
35
39
  zipCode?: string | null | undefined;
36
40
  street?: string | null | undefined;
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.AddressSchema = void 0;
4
4
  const mongoose_1 = require("mongoose");
5
5
  exports.AddressSchema = new mongoose_1.Schema({
6
+ description: { type: String, default: "Principal" },
6
7
  zipCode: { type: String },
7
8
  street: { type: String },
8
9
  number: { type: String },
@@ -73,6 +73,7 @@ export declare const PatientSchema: Schema<any, import("mongoose").Model<any, an
73
73
  tags: string[];
74
74
  sendEmailAsWelcome: any;
75
75
  addresses: import("mongoose").Types.DocumentArray<{
76
+ description: string;
76
77
  number?: string | null | undefined;
77
78
  zipCode?: string | null | undefined;
78
79
  street?: string | null | undefined;
@@ -82,6 +83,7 @@ export declare const PatientSchema: Schema<any, import("mongoose").Model<any, an
82
83
  typeStreet?: string | null | undefined;
83
84
  city?: any;
84
85
  }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
86
+ description: string;
85
87
  number?: string | null | undefined;
86
88
  zipCode?: string | null | undefined;
87
89
  street?: string | null | undefined;
@@ -91,6 +93,7 @@ export declare const PatientSchema: Schema<any, import("mongoose").Model<any, an
91
93
  typeStreet?: string | null | undefined;
92
94
  city?: any;
93
95
  }> & {
96
+ description: string;
94
97
  number?: string | null | undefined;
95
98
  zipCode?: string | null | undefined;
96
99
  street?: string | null | undefined;
@@ -135,6 +138,7 @@ export declare const PatientSchema: Schema<any, import("mongoose").Model<any, an
135
138
  tags: string[];
136
139
  sendEmailAsWelcome: any;
137
140
  addresses: import("mongoose").Types.DocumentArray<{
141
+ description: string;
138
142
  number?: string | null | undefined;
139
143
  zipCode?: string | null | undefined;
140
144
  street?: string | null | undefined;
@@ -144,6 +148,7 @@ export declare const PatientSchema: Schema<any, import("mongoose").Model<any, an
144
148
  typeStreet?: string | null | undefined;
145
149
  city?: any;
146
150
  }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
151
+ description: string;
147
152
  number?: string | null | undefined;
148
153
  zipCode?: string | null | undefined;
149
154
  street?: string | null | undefined;
@@ -153,6 +158,7 @@ export declare const PatientSchema: Schema<any, import("mongoose").Model<any, an
153
158
  typeStreet?: string | null | undefined;
154
159
  city?: any;
155
160
  }> & {
161
+ description: string;
156
162
  number?: string | null | undefined;
157
163
  zipCode?: string | null | undefined;
158
164
  street?: string | null | undefined;
@@ -197,6 +203,7 @@ export declare const PatientSchema: Schema<any, import("mongoose").Model<any, an
197
203
  tags: string[];
198
204
  sendEmailAsWelcome: any;
199
205
  addresses: import("mongoose").Types.DocumentArray<{
206
+ description: string;
200
207
  number?: string | null | undefined;
201
208
  zipCode?: string | null | undefined;
202
209
  street?: string | null | undefined;
@@ -206,6 +213,7 @@ export declare const PatientSchema: Schema<any, import("mongoose").Model<any, an
206
213
  typeStreet?: string | null | undefined;
207
214
  city?: any;
208
215
  }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
216
+ description: string;
209
217
  number?: string | null | undefined;
210
218
  zipCode?: string | null | undefined;
211
219
  street?: string | null | undefined;
@@ -215,6 +223,7 @@ export declare const PatientSchema: Schema<any, import("mongoose").Model<any, an
215
223
  typeStreet?: string | null | undefined;
216
224
  city?: any;
217
225
  }> & {
226
+ description: string;
218
227
  number?: string | null | undefined;
219
228
  zipCode?: string | null | undefined;
220
229
  street?: string | null | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "c2-clinical",
3
- "version": "1.0.22",
3
+ "version": "1.0.23",
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>",