@metriport/commonwell-sdk 3.1.1 → 3.1.2

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.
@@ -26,25 +26,25 @@ export declare const addressSchema: z.ZodObject<{
26
26
  }>>>;
27
27
  }, "strip", z.ZodTypeAny, {
28
28
  use?: string;
29
- period?: {
30
- start?: string;
31
- end?: string;
32
- };
33
29
  line?: string[];
34
30
  city?: string;
35
31
  state?: string;
36
32
  zip?: string;
37
33
  country?: string;
38
- }, {
39
- use?: string;
40
34
  period?: {
41
35
  start?: string;
42
36
  end?: string;
43
37
  };
38
+ }, {
39
+ use?: string;
44
40
  line?: string[];
45
41
  city?: string;
46
42
  state?: string;
47
43
  zip?: string;
48
44
  country?: string;
45
+ period?: {
46
+ start?: string;
47
+ end?: string;
48
+ };
49
49
  }>;
50
50
  export type Address = z.infer<typeof addressSchema>;
@@ -99,35 +99,28 @@ export declare const certificateRespSchema: z.ZodObject<{
99
99
  templated: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
100
100
  type: z.ZodNullable<z.ZodOptional<z.ZodString>>;
101
101
  }, "strip", z.ZodTypeAny, {
102
- type?: string;
103
102
  href?: string;
104
103
  templated?: boolean;
105
- }, {
106
104
  type?: string;
105
+ }, {
107
106
  href?: string;
108
107
  templated?: boolean;
108
+ type?: string;
109
109
  }>>>;
110
110
  }, "strip", z.ZodTypeAny, {
111
111
  self?: {
112
- type?: string;
113
112
  href?: string;
114
113
  templated?: boolean;
114
+ type?: string;
115
115
  };
116
116
  }, {
117
117
  self?: {
118
- type?: string;
119
118
  href?: string;
120
119
  templated?: boolean;
120
+ type?: string;
121
121
  };
122
122
  }>;
123
123
  }, "strip", z.ZodTypeAny, {
124
- _links?: {
125
- self?: {
126
- type?: string;
127
- href?: string;
128
- templated?: boolean;
129
- };
130
- };
131
124
  certificates?: {
132
125
  startDate?: string;
133
126
  endDate?: string;
@@ -136,14 +129,14 @@ export declare const certificateRespSchema: z.ZodObject<{
136
129
  content?: string;
137
130
  purpose?: string;
138
131
  }[];
139
- }, {
140
132
  _links?: {
141
133
  self?: {
142
- type?: string;
143
134
  href?: string;
144
135
  templated?: boolean;
136
+ type?: string;
145
137
  };
146
138
  };
139
+ }, {
147
140
  certificates?: {
148
141
  startDate?: string;
149
142
  endDate?: string;
@@ -152,5 +145,12 @@ export declare const certificateRespSchema: z.ZodObject<{
152
145
  content?: string;
153
146
  purpose?: string;
154
147
  }[];
148
+ _links?: {
149
+ self?: {
150
+ href?: string;
151
+ templated?: boolean;
152
+ type?: string;
153
+ };
154
+ };
155
155
  }>;
156
156
  export type CertificateResp = z.infer<typeof certificateRespSchema>;
@@ -31,17 +31,17 @@ export declare const contactSchema: z.ZodObject<{
31
31
  end?: string;
32
32
  }>>>;
33
33
  }, "strip", z.ZodTypeAny, {
34
- value?: string;
35
- system?: string;
36
34
  use?: string;
35
+ system?: string;
36
+ value?: string;
37
37
  period?: {
38
38
  start?: string;
39
39
  end?: string;
40
40
  };
41
41
  }, {
42
- value?: string;
43
- system?: string;
44
42
  use?: string;
43
+ system?: string;
44
+ value?: string;
45
45
  period?: {
46
46
  start?: string;
47
47
  end?: string;
@@ -11,19 +11,18 @@ export declare const genderSchema: z.ZodObject<{
11
11
  system: z.ZodNullable<z.ZodOptional<z.ZodString>>;
12
12
  }, "strip", z.ZodTypeAny, {
13
13
  code?: string;
14
- system?: string;
15
14
  display?: string;
15
+ system?: string;
16
16
  }, {
17
17
  code?: string;
18
- system?: string;
19
18
  display?: string;
19
+ system?: string;
20
20
  }>;
21
21
  export type Gender = z.infer<typeof genderSchema>;
22
22
  export declare const demographicsSchema: z.ZodObject<{
23
- identifier: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<z.extendShape<{
23
+ identifier: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
24
24
  system: z.ZodString;
25
25
  key: z.ZodString;
26
- }, {
27
26
  use: z.ZodNullable<z.ZodOptional<z.ZodEnum<[string, ...string[]]>>>;
28
27
  label: z.ZodNullable<z.ZodOptional<z.ZodString>>;
29
28
  period: z.ZodNullable<z.ZodOptional<z.ZodObject<{
@@ -37,7 +36,7 @@ export declare const demographicsSchema: z.ZodObject<{
37
36
  end?: string;
38
37
  }>>>;
39
38
  assigner: z.ZodNullable<z.ZodOptional<z.ZodString>>;
40
- }>, "strip", z.ZodTypeAny, {
39
+ }, "strip", z.ZodTypeAny, {
41
40
  system?: string;
42
41
  key?: string;
43
42
  use?: string;
@@ -76,27 +75,27 @@ export declare const demographicsSchema: z.ZodObject<{
76
75
  end?: string;
77
76
  }>>>;
78
77
  }, "strip", z.ZodTypeAny, {
79
- text?: string;
80
78
  use?: string;
81
- period?: {
82
- start?: string;
83
- end?: string;
84
- };
79
+ text?: string;
85
80
  family?: string[];
86
81
  given?: string[];
87
82
  prefix?: string;
88
83
  suffix?: string;
89
- }, {
90
- text?: string;
91
- use?: string;
92
84
  period?: {
93
85
  start?: string;
94
86
  end?: string;
95
87
  };
88
+ }, {
89
+ use?: string;
90
+ text?: string;
96
91
  family?: string[];
97
92
  given?: string[];
98
93
  prefix?: string;
99
94
  suffix?: string;
95
+ period?: {
96
+ start?: string;
97
+ end?: string;
98
+ };
100
99
  }>, "many">;
101
100
  telecom: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
102
101
  use: z.ZodNullable<z.ZodOptional<z.ZodEnum<[string, ...string[]]>>>;
@@ -113,17 +112,17 @@ export declare const demographicsSchema: z.ZodObject<{
113
112
  end?: string;
114
113
  }>>>;
115
114
  }, "strip", z.ZodTypeAny, {
116
- value?: string;
117
- system?: string;
118
115
  use?: string;
116
+ system?: string;
117
+ value?: string;
119
118
  period?: {
120
119
  start?: string;
121
120
  end?: string;
122
121
  };
123
122
  }, {
124
- value?: string;
125
- system?: string;
126
123
  use?: string;
124
+ system?: string;
125
+ value?: string;
127
126
  period?: {
128
127
  start?: string;
129
128
  end?: string;
@@ -135,12 +134,12 @@ export declare const demographicsSchema: z.ZodObject<{
135
134
  system: z.ZodNullable<z.ZodOptional<z.ZodString>>;
136
135
  }, "strip", z.ZodTypeAny, {
137
136
  code?: string;
138
- system?: string;
139
137
  display?: string;
138
+ system?: string;
140
139
  }, {
141
140
  code?: string;
142
- system?: string;
143
141
  display?: string;
142
+ system?: string;
144
143
  }>;
145
144
  birthDate: z.ZodUnion<[z.ZodString, z.ZodString]>;
146
145
  address: z.ZodArray<z.ZodObject<{
@@ -162,26 +161,26 @@ export declare const demographicsSchema: z.ZodObject<{
162
161
  }>>>;
163
162
  }, "strip", z.ZodTypeAny, {
164
163
  use?: string;
165
- period?: {
166
- start?: string;
167
- end?: string;
168
- };
169
164
  line?: string[];
170
165
  city?: string;
171
166
  state?: string;
172
167
  zip?: string;
173
168
  country?: string;
174
- }, {
175
- use?: string;
176
169
  period?: {
177
170
  start?: string;
178
171
  end?: string;
179
172
  };
173
+ }, {
174
+ use?: string;
180
175
  line?: string[];
181
176
  city?: string;
182
177
  state?: string;
183
178
  zip?: string;
184
179
  country?: string;
180
+ period?: {
181
+ start?: string;
182
+ end?: string;
183
+ };
185
184
  }>, "many">;
186
185
  picture: z.ZodNullable<z.ZodOptional<z.ZodAny>>;
187
186
  }, "strip", z.ZodTypeAny, {
@@ -197,21 +196,21 @@ export declare const demographicsSchema: z.ZodObject<{
197
196
  assigner?: string;
198
197
  }[];
199
198
  name?: {
200
- text?: string;
201
199
  use?: string;
202
- period?: {
203
- start?: string;
204
- end?: string;
205
- };
200
+ text?: string;
206
201
  family?: string[];
207
202
  given?: string[];
208
203
  prefix?: string;
209
204
  suffix?: string;
205
+ period?: {
206
+ start?: string;
207
+ end?: string;
208
+ };
210
209
  }[];
211
210
  telecom?: {
212
- value?: string;
213
- system?: string;
214
211
  use?: string;
212
+ system?: string;
213
+ value?: string;
215
214
  period?: {
216
215
  start?: string;
217
216
  end?: string;
@@ -219,21 +218,21 @@ export declare const demographicsSchema: z.ZodObject<{
219
218
  }[];
220
219
  gender?: {
221
220
  code?: string;
222
- system?: string;
223
221
  display?: string;
222
+ system?: string;
224
223
  };
225
224
  birthDate?: string;
226
225
  address?: {
227
226
  use?: string;
228
- period?: {
229
- start?: string;
230
- end?: string;
231
- };
232
227
  line?: string[];
233
228
  city?: string;
234
229
  state?: string;
235
230
  zip?: string;
236
231
  country?: string;
232
+ period?: {
233
+ start?: string;
234
+ end?: string;
235
+ };
237
236
  }[];
238
237
  picture?: any;
239
238
  }, {
@@ -249,21 +248,21 @@ export declare const demographicsSchema: z.ZodObject<{
249
248
  assigner?: string;
250
249
  }[];
251
250
  name?: {
252
- text?: string;
253
251
  use?: string;
254
- period?: {
255
- start?: string;
256
- end?: string;
257
- };
252
+ text?: string;
258
253
  family?: string[];
259
254
  given?: string[];
260
255
  prefix?: string;
261
256
  suffix?: string;
257
+ period?: {
258
+ start?: string;
259
+ end?: string;
260
+ };
262
261
  }[];
263
262
  telecom?: {
264
- value?: string;
265
- system?: string;
266
263
  use?: string;
264
+ system?: string;
265
+ value?: string;
267
266
  period?: {
268
267
  start?: string;
269
268
  end?: string;
@@ -271,21 +270,21 @@ export declare const demographicsSchema: z.ZodObject<{
271
270
  }[];
272
271
  gender?: {
273
272
  code?: string;
274
- system?: string;
275
273
  display?: string;
274
+ system?: string;
276
275
  };
277
276
  birthDate?: string;
278
277
  address?: {
279
278
  use?: string;
280
- period?: {
281
- start?: string;
282
- end?: string;
283
- };
284
279
  line?: string[];
285
280
  city?: string;
286
281
  state?: string;
287
282
  zip?: string;
288
283
  country?: string;
284
+ period?: {
285
+ start?: string;
286
+ end?: string;
287
+ };
289
288
  }[];
290
289
  picture?: any;
291
290
  }>;