@metriport/api-sdk 7.0.1-alpha.4 → 7.0.2-alpha.1
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/medical/client/__tests__/metriport.test.e2e.js +1 -0
- package/dist/medical/client/__tests__/metriport.test.e2e.js.map +1 -1
- package/dist/medical/models/common/address.d.ts +9 -9
- package/dist/medical/models/common/address.js +3 -3
- package/dist/medical/models/common/address.js.map +1 -1
- package/dist/medical/models/demographics.d.ts +42 -42
- package/dist/medical/models/facility.d.ts +51 -51
- package/dist/medical/models/organization.d.ts +30 -30
- package/dist/medical/models/patient.d.ts +192 -192
- package/package.json +3 -3
|
@@ -8,6 +8,7 @@ const dayjs_1 = __importDefault(require("dayjs"));
|
|
|
8
8
|
const uuid_1 = require("uuid");
|
|
9
9
|
const shared_1 = require("../../../shared");
|
|
10
10
|
const metriport_1 = require("../metriport");
|
|
11
|
+
jest.setTimeout(15000);
|
|
11
12
|
const METRIPORT = "METRIPORT";
|
|
12
13
|
const COMMONWELL = "COMMONWELL";
|
|
13
14
|
const apiKey = (0, shared_1.getEnvVarOrFail)("TEST_API_KEY");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"metriport.test.e2e.js","sourceRoot":"","sources":["../../../../src/medical/client/__tests__/metriport.test.e2e.ts"],"names":[],"mappings":";;;;;AAAA,yDAAyD;AACzD,kDAA0B;AAC1B,+BAAoC;AACpC,4CAAuE;AACvE,4CAAmD;AAEnD,MAAM,SAAS,GAAG,WAAW,CAAC;AAC9B,MAAM,UAAU,GAAG,YAAY,CAAC;AAEhC,MAAM,MAAM,GAAG,IAAA,wBAAe,EAAC,cAAc,CAAC,CAAC;AAC/C,MAAM,WAAW,GAAG,IAAA,wBAAe,EAAC,SAAS,CAAC,CAAC;AAC/C,MAAM,SAAS,GAAG,IAAA,kBAAS,EAAC,iBAAiB,CAAC,CAAC;AAE/C,MAAM,SAAS,GAAG,IAAI,+BAAmB,C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C;QAC9B,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,UAAU,EAAE,CAAC;QAChC,MAAM,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC,UAAU,EAAE,CAAC;QAClC,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,UAAU,EAAE,CAAC;IAChC,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const addressSchema: z.ZodObject<{
|
|
3
|
-
addressLine1: z.
|
|
3
|
+
addressLine1: z.ZodString;
|
|
4
4
|
addressLine2: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>;
|
|
5
|
-
city: z.
|
|
6
|
-
state: z.ZodUnion<[z.ZodNativeEnum<typeof import("./us-data").USState>, z.
|
|
5
|
+
city: z.ZodString;
|
|
6
|
+
state: z.ZodUnion<[z.ZodNativeEnum<typeof import("./us-data").USState>, z.ZodString]>;
|
|
7
7
|
zip: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
8
8
|
country: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>>;
|
|
9
9
|
}, "strip", z.ZodTypeAny, {
|
|
10
|
+
addressLine1: string;
|
|
11
|
+
city: string;
|
|
12
|
+
state: string;
|
|
10
13
|
zip: string;
|
|
11
14
|
country: string;
|
|
12
|
-
addressLine1?: string | undefined;
|
|
13
15
|
addressLine2?: string | undefined;
|
|
14
|
-
city?: string | undefined;
|
|
15
|
-
state?: string | undefined;
|
|
16
16
|
}, {
|
|
17
|
+
addressLine1: string;
|
|
18
|
+
city: string;
|
|
19
|
+
state: string;
|
|
17
20
|
zip: string;
|
|
18
|
-
addressLine1?: string | undefined;
|
|
19
21
|
addressLine2?: string | undefined;
|
|
20
|
-
city?: string | undefined;
|
|
21
|
-
state?: string | undefined;
|
|
22
22
|
country?: string | undefined;
|
|
23
23
|
}>;
|
|
24
24
|
export type Address = z.infer<typeof addressSchema>;
|
|
@@ -6,10 +6,10 @@ const us_data_1 = require("./us-data");
|
|
|
6
6
|
const shared_1 = require("../../../shared");
|
|
7
7
|
const zipLength = 5;
|
|
8
8
|
exports.addressSchema = zod_1.z.object({
|
|
9
|
-
addressLine1: shared_1.
|
|
9
|
+
addressLine1: shared_1.defaultString.min(1, { message: "Address line must be specified" }),
|
|
10
10
|
addressLine2: shared_1.defaultOptionalString,
|
|
11
|
-
city: shared_1.
|
|
12
|
-
state: us_data_1.usStateSchema.or(shared_1.
|
|
11
|
+
city: shared_1.defaultString.min(1, { message: "City must be specified" }),
|
|
12
|
+
state: us_data_1.usStateSchema.or(shared_1.defaultString),
|
|
13
13
|
zip: zod_1.z.coerce
|
|
14
14
|
.string()
|
|
15
15
|
.transform(zipStr => (0, shared_1.stripNonNumericChars)(zipStr))
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"address.js","sourceRoot":"","sources":["../../../../src/medical/models/common/address.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,uCAA0C;AAC1C,
|
|
1
|
+
{"version":3,"file":"address.js","sourceRoot":"","sources":["../../../../src/medical/models/common/address.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,uCAA0C;AAC1C,4CAA6F;AAE7F,MAAM,SAAS,GAAG,CAAC,CAAC;AACP,QAAA,aAAa,GAAG,OAAC,CAAC,MAAM,CAAC;IACpC,YAAY,EAAE,sBAAa,CAAC,GAAG,CAAC,CAAC,EAAE,EAAE,OAAO,EAAE,gCAAgC,EAAE,CAAC;IACjF,YAAY,EAAE,8BAAqB;IACnC,IAAI,EAAE,sBAAa,CAAC,GAAG,CAAC,CAAC,EAAE,EAAE,OAAO,EAAE,wBAAwB,EAAE,CAAC;IACjE,KAAK,EAAE,uBAAa,CAAC,EAAE,CAAC,sBAAa,CAAC;IACtC,GAAG,EAAE,OAAC,CAAC,MAAM;SACV,MAAM,EAAE;SACR,SAAS,CAAC,MAAM,CAAC,EAAE,CAAC,IAAA,6BAAoB,EAAC,MAAM,CAAC,CAAC;SACjD,MAAM,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,MAAM,KAAK,SAAS,EAAE;QACvC,OAAO,EAAE,sCAAsC,SAAS,UAAU;KACnE,CAAC;IACJ,OAAO,EAAE,8BAAqB,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,gFAAgF;CAChI,CAAC,CAAC"}
|
|
@@ -131,46 +131,46 @@ export declare const demographicsSchema: z.ZodObject<{
|
|
|
131
131
|
assigner?: string | undefined;
|
|
132
132
|
}>, "many">>;
|
|
133
133
|
address: z.ZodUnion<[z.ZodArray<z.ZodObject<{
|
|
134
|
-
addressLine1: z.
|
|
134
|
+
addressLine1: z.ZodString;
|
|
135
135
|
addressLine2: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>;
|
|
136
|
-
city: z.
|
|
137
|
-
state: z.ZodUnion<[z.ZodNativeEnum<typeof import("./common/us-data").USState>, z.
|
|
136
|
+
city: z.ZodString;
|
|
137
|
+
state: z.ZodUnion<[z.ZodNativeEnum<typeof import("./common/us-data").USState>, z.ZodString]>;
|
|
138
138
|
zip: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
139
139
|
country: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>>;
|
|
140
140
|
}, "strip", z.ZodTypeAny, {
|
|
141
|
+
addressLine1: string;
|
|
142
|
+
city: string;
|
|
143
|
+
state: string;
|
|
141
144
|
zip: string;
|
|
142
145
|
country: string;
|
|
143
|
-
addressLine1?: string | undefined;
|
|
144
146
|
addressLine2?: string | undefined;
|
|
145
|
-
city?: string | undefined;
|
|
146
|
-
state?: string | undefined;
|
|
147
147
|
}, {
|
|
148
|
+
addressLine1: string;
|
|
149
|
+
city: string;
|
|
150
|
+
state: string;
|
|
148
151
|
zip: string;
|
|
149
|
-
addressLine1?: string | undefined;
|
|
150
152
|
addressLine2?: string | undefined;
|
|
151
|
-
city?: string | undefined;
|
|
152
|
-
state?: string | undefined;
|
|
153
153
|
country?: string | undefined;
|
|
154
154
|
}>, "many">, z.ZodObject<{
|
|
155
|
-
addressLine1: z.
|
|
155
|
+
addressLine1: z.ZodString;
|
|
156
156
|
addressLine2: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>;
|
|
157
|
-
city: z.
|
|
158
|
-
state: z.ZodUnion<[z.ZodNativeEnum<typeof import("./common/us-data").USState>, z.
|
|
157
|
+
city: z.ZodString;
|
|
158
|
+
state: z.ZodUnion<[z.ZodNativeEnum<typeof import("./common/us-data").USState>, z.ZodString]>;
|
|
159
159
|
zip: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
160
160
|
country: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>>;
|
|
161
161
|
}, "strip", z.ZodTypeAny, {
|
|
162
|
+
addressLine1: string;
|
|
163
|
+
city: string;
|
|
164
|
+
state: string;
|
|
162
165
|
zip: string;
|
|
163
166
|
country: string;
|
|
164
|
-
addressLine1?: string | undefined;
|
|
165
167
|
addressLine2?: string | undefined;
|
|
166
|
-
city?: string | undefined;
|
|
167
|
-
state?: string | undefined;
|
|
168
168
|
}, {
|
|
169
|
+
addressLine1: string;
|
|
170
|
+
city: string;
|
|
171
|
+
state: string;
|
|
169
172
|
zip: string;
|
|
170
|
-
addressLine1?: string | undefined;
|
|
171
173
|
addressLine2?: string | undefined;
|
|
172
|
-
city?: string | undefined;
|
|
173
|
-
state?: string | undefined;
|
|
174
174
|
country?: string | undefined;
|
|
175
175
|
}>]>;
|
|
176
176
|
contact: z.ZodUnion<[z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
@@ -206,33 +206,33 @@ export declare const demographicsSchema: z.ZodObject<{
|
|
|
206
206
|
}>>]>;
|
|
207
207
|
}, "strip", z.ZodTypeAny, {
|
|
208
208
|
address: ({
|
|
209
|
+
addressLine1: string;
|
|
210
|
+
city: string;
|
|
211
|
+
state: string;
|
|
209
212
|
zip: string;
|
|
210
213
|
country: string;
|
|
211
|
-
addressLine1?: string | undefined;
|
|
212
214
|
addressLine2?: string | undefined;
|
|
213
|
-
city?: string | undefined;
|
|
214
|
-
state?: string | undefined;
|
|
215
215
|
} | {
|
|
216
|
+
addressLine1: string;
|
|
217
|
+
city: string;
|
|
218
|
+
state: string;
|
|
216
219
|
zip: string;
|
|
217
220
|
country: string;
|
|
218
|
-
addressLine1?: string | undefined;
|
|
219
221
|
addressLine2?: string | undefined;
|
|
220
|
-
city?: string | undefined;
|
|
221
|
-
state?: string | undefined;
|
|
222
222
|
}[]) & ({
|
|
223
|
+
addressLine1: string;
|
|
224
|
+
city: string;
|
|
225
|
+
state: string;
|
|
223
226
|
zip: string;
|
|
224
227
|
country: string;
|
|
225
|
-
addressLine1?: string | undefined;
|
|
226
228
|
addressLine2?: string | undefined;
|
|
227
|
-
city?: string | undefined;
|
|
228
|
-
state?: string | undefined;
|
|
229
229
|
} | {
|
|
230
|
+
addressLine1: string;
|
|
231
|
+
city: string;
|
|
232
|
+
state: string;
|
|
230
233
|
zip: string;
|
|
231
234
|
country: string;
|
|
232
|
-
addressLine1?: string | undefined;
|
|
233
235
|
addressLine2?: string | undefined;
|
|
234
|
-
city?: string | undefined;
|
|
235
|
-
state?: string | undefined;
|
|
236
236
|
}[] | undefined);
|
|
237
237
|
firstName: string;
|
|
238
238
|
lastName: string;
|
|
@@ -260,32 +260,32 @@ export declare const demographicsSchema: z.ZodObject<{
|
|
|
260
260
|
}[] | undefined;
|
|
261
261
|
}, {
|
|
262
262
|
address: ({
|
|
263
|
+
addressLine1: string;
|
|
264
|
+
city: string;
|
|
265
|
+
state: string;
|
|
263
266
|
zip: string;
|
|
264
|
-
addressLine1?: string | undefined;
|
|
265
267
|
addressLine2?: string | undefined;
|
|
266
|
-
city?: string | undefined;
|
|
267
|
-
state?: string | undefined;
|
|
268
268
|
country?: string | undefined;
|
|
269
269
|
} | {
|
|
270
|
+
addressLine1: string;
|
|
271
|
+
city: string;
|
|
272
|
+
state: string;
|
|
270
273
|
zip: string;
|
|
271
|
-
addressLine1?: string | undefined;
|
|
272
274
|
addressLine2?: string | undefined;
|
|
273
|
-
city?: string | undefined;
|
|
274
|
-
state?: string | undefined;
|
|
275
275
|
country?: string | undefined;
|
|
276
276
|
}[]) & ({
|
|
277
|
+
addressLine1: string;
|
|
278
|
+
city: string;
|
|
279
|
+
state: string;
|
|
277
280
|
zip: string;
|
|
278
|
-
addressLine1?: string | undefined;
|
|
279
281
|
addressLine2?: string | undefined;
|
|
280
|
-
city?: string | undefined;
|
|
281
|
-
state?: string | undefined;
|
|
282
282
|
country?: string | undefined;
|
|
283
283
|
} | {
|
|
284
|
+
addressLine1: string;
|
|
285
|
+
city: string;
|
|
286
|
+
state: string;
|
|
284
287
|
zip: string;
|
|
285
|
-
addressLine1?: string | undefined;
|
|
286
288
|
addressLine2?: string | undefined;
|
|
287
|
-
city?: string | undefined;
|
|
288
|
-
state?: string | undefined;
|
|
289
289
|
country?: string | undefined;
|
|
290
290
|
}[] | undefined);
|
|
291
291
|
firstName: string;
|
|
@@ -5,37 +5,37 @@ export declare const facilityCreateSchema: z.ZodObject<{
|
|
|
5
5
|
tin: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
6
6
|
active: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
7
7
|
address: z.ZodObject<{
|
|
8
|
-
addressLine1: z.
|
|
8
|
+
addressLine1: z.ZodString;
|
|
9
9
|
addressLine2: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>;
|
|
10
|
-
city: z.
|
|
11
|
-
state: z.ZodUnion<[z.ZodNativeEnum<typeof import("./common/us-data").USState>, z.
|
|
10
|
+
city: z.ZodString;
|
|
11
|
+
state: z.ZodUnion<[z.ZodNativeEnum<typeof import("./common/us-data").USState>, z.ZodString]>;
|
|
12
12
|
zip: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
13
13
|
country: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>>;
|
|
14
14
|
}, "strip", z.ZodTypeAny, {
|
|
15
|
+
addressLine1: string;
|
|
16
|
+
city: string;
|
|
17
|
+
state: string;
|
|
15
18
|
zip: string;
|
|
16
19
|
country: string;
|
|
17
|
-
addressLine1?: string | undefined;
|
|
18
20
|
addressLine2?: string | undefined;
|
|
19
|
-
city?: string | undefined;
|
|
20
|
-
state?: string | undefined;
|
|
21
21
|
}, {
|
|
22
|
+
addressLine1: string;
|
|
23
|
+
city: string;
|
|
24
|
+
state: string;
|
|
22
25
|
zip: string;
|
|
23
|
-
addressLine1?: string | undefined;
|
|
24
26
|
addressLine2?: string | undefined;
|
|
25
|
-
city?: string | undefined;
|
|
26
|
-
state?: string | undefined;
|
|
27
27
|
country?: string | undefined;
|
|
28
28
|
}>;
|
|
29
29
|
}, "strip", z.ZodTypeAny, {
|
|
30
30
|
name: string;
|
|
31
31
|
npi: string;
|
|
32
32
|
address: {
|
|
33
|
+
addressLine1: string;
|
|
34
|
+
city: string;
|
|
35
|
+
state: string;
|
|
33
36
|
zip: string;
|
|
34
37
|
country: string;
|
|
35
|
-
addressLine1?: string | undefined;
|
|
36
38
|
addressLine2?: string | undefined;
|
|
37
|
-
city?: string | undefined;
|
|
38
|
-
state?: string | undefined;
|
|
39
39
|
};
|
|
40
40
|
tin?: string | null | undefined;
|
|
41
41
|
active?: boolean | null | undefined;
|
|
@@ -43,11 +43,11 @@ export declare const facilityCreateSchema: z.ZodObject<{
|
|
|
43
43
|
name: string;
|
|
44
44
|
npi: string;
|
|
45
45
|
address: {
|
|
46
|
+
addressLine1: string;
|
|
47
|
+
city: string;
|
|
48
|
+
state: string;
|
|
46
49
|
zip: string;
|
|
47
|
-
addressLine1?: string | undefined;
|
|
48
50
|
addressLine2?: string | undefined;
|
|
49
|
-
city?: string | undefined;
|
|
50
|
-
state?: string | undefined;
|
|
51
51
|
country?: string | undefined;
|
|
52
52
|
};
|
|
53
53
|
tin?: string | null | undefined;
|
|
@@ -60,25 +60,25 @@ export declare const facilitySchema: z.ZodObject<{
|
|
|
60
60
|
tin: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
61
61
|
active: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
62
62
|
address: z.ZodObject<{
|
|
63
|
-
addressLine1: z.
|
|
63
|
+
addressLine1: z.ZodString;
|
|
64
64
|
addressLine2: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>;
|
|
65
|
-
city: z.
|
|
66
|
-
state: z.ZodUnion<[z.ZodNativeEnum<typeof import("./common/us-data").USState>, z.
|
|
65
|
+
city: z.ZodString;
|
|
66
|
+
state: z.ZodUnion<[z.ZodNativeEnum<typeof import("./common/us-data").USState>, z.ZodString]>;
|
|
67
67
|
zip: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
68
68
|
country: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>>;
|
|
69
69
|
}, "strip", z.ZodTypeAny, {
|
|
70
|
+
addressLine1: string;
|
|
71
|
+
city: string;
|
|
72
|
+
state: string;
|
|
70
73
|
zip: string;
|
|
71
74
|
country: string;
|
|
72
|
-
addressLine1?: string | undefined;
|
|
73
75
|
addressLine2?: string | undefined;
|
|
74
|
-
city?: string | undefined;
|
|
75
|
-
state?: string | undefined;
|
|
76
76
|
}, {
|
|
77
|
+
addressLine1: string;
|
|
78
|
+
city: string;
|
|
79
|
+
state: string;
|
|
77
80
|
zip: string;
|
|
78
|
-
addressLine1?: string | undefined;
|
|
79
81
|
addressLine2?: string | undefined;
|
|
80
|
-
city?: string | undefined;
|
|
81
|
-
state?: string | undefined;
|
|
82
82
|
country?: string | undefined;
|
|
83
83
|
}>;
|
|
84
84
|
id: z.ZodString;
|
|
@@ -88,12 +88,12 @@ export declare const facilitySchema: z.ZodObject<{
|
|
|
88
88
|
name: string;
|
|
89
89
|
npi: string;
|
|
90
90
|
address: {
|
|
91
|
+
addressLine1: string;
|
|
92
|
+
city: string;
|
|
93
|
+
state: string;
|
|
91
94
|
zip: string;
|
|
92
95
|
country: string;
|
|
93
|
-
addressLine1?: string | undefined;
|
|
94
96
|
addressLine2?: string | undefined;
|
|
95
|
-
city?: string | undefined;
|
|
96
|
-
state?: string | undefined;
|
|
97
97
|
};
|
|
98
98
|
tin?: string | null | undefined;
|
|
99
99
|
active?: boolean | null | undefined;
|
|
@@ -103,11 +103,11 @@ export declare const facilitySchema: z.ZodObject<{
|
|
|
103
103
|
name: string;
|
|
104
104
|
npi: string;
|
|
105
105
|
address: {
|
|
106
|
+
addressLine1: string;
|
|
107
|
+
city: string;
|
|
108
|
+
state: string;
|
|
106
109
|
zip: string;
|
|
107
|
-
addressLine1?: string | undefined;
|
|
108
110
|
addressLine2?: string | undefined;
|
|
109
|
-
city?: string | undefined;
|
|
110
|
-
state?: string | undefined;
|
|
111
111
|
country?: string | undefined;
|
|
112
112
|
};
|
|
113
113
|
tin?: string | null | undefined;
|
|
@@ -122,25 +122,25 @@ export declare const facilityListSchema: z.ZodObject<{
|
|
|
122
122
|
tin: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
123
123
|
active: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
124
124
|
address: z.ZodObject<{
|
|
125
|
-
addressLine1: z.
|
|
125
|
+
addressLine1: z.ZodString;
|
|
126
126
|
addressLine2: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>;
|
|
127
|
-
city: z.
|
|
128
|
-
state: z.ZodUnion<[z.ZodNativeEnum<typeof import("./common/us-data").USState>, z.
|
|
127
|
+
city: z.ZodString;
|
|
128
|
+
state: z.ZodUnion<[z.ZodNativeEnum<typeof import("./common/us-data").USState>, z.ZodString]>;
|
|
129
129
|
zip: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
130
130
|
country: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>>;
|
|
131
131
|
}, "strip", z.ZodTypeAny, {
|
|
132
|
+
addressLine1: string;
|
|
133
|
+
city: string;
|
|
134
|
+
state: string;
|
|
132
135
|
zip: string;
|
|
133
136
|
country: string;
|
|
134
|
-
addressLine1?: string | undefined;
|
|
135
137
|
addressLine2?: string | undefined;
|
|
136
|
-
city?: string | undefined;
|
|
137
|
-
state?: string | undefined;
|
|
138
138
|
}, {
|
|
139
|
+
addressLine1: string;
|
|
140
|
+
city: string;
|
|
141
|
+
state: string;
|
|
139
142
|
zip: string;
|
|
140
|
-
addressLine1?: string | undefined;
|
|
141
143
|
addressLine2?: string | undefined;
|
|
142
|
-
city?: string | undefined;
|
|
143
|
-
state?: string | undefined;
|
|
144
144
|
country?: string | undefined;
|
|
145
145
|
}>;
|
|
146
146
|
id: z.ZodString;
|
|
@@ -150,12 +150,12 @@ export declare const facilityListSchema: z.ZodObject<{
|
|
|
150
150
|
name: string;
|
|
151
151
|
npi: string;
|
|
152
152
|
address: {
|
|
153
|
+
addressLine1: string;
|
|
154
|
+
city: string;
|
|
155
|
+
state: string;
|
|
153
156
|
zip: string;
|
|
154
157
|
country: string;
|
|
155
|
-
addressLine1?: string | undefined;
|
|
156
158
|
addressLine2?: string | undefined;
|
|
157
|
-
city?: string | undefined;
|
|
158
|
-
state?: string | undefined;
|
|
159
159
|
};
|
|
160
160
|
tin?: string | null | undefined;
|
|
161
161
|
active?: boolean | null | undefined;
|
|
@@ -165,11 +165,11 @@ export declare const facilityListSchema: z.ZodObject<{
|
|
|
165
165
|
name: string;
|
|
166
166
|
npi: string;
|
|
167
167
|
address: {
|
|
168
|
+
addressLine1: string;
|
|
169
|
+
city: string;
|
|
170
|
+
state: string;
|
|
168
171
|
zip: string;
|
|
169
|
-
addressLine1?: string | undefined;
|
|
170
172
|
addressLine2?: string | undefined;
|
|
171
|
-
city?: string | undefined;
|
|
172
|
-
state?: string | undefined;
|
|
173
173
|
country?: string | undefined;
|
|
174
174
|
};
|
|
175
175
|
tin?: string | null | undefined;
|
|
@@ -182,12 +182,12 @@ export declare const facilityListSchema: z.ZodObject<{
|
|
|
182
182
|
name: string;
|
|
183
183
|
npi: string;
|
|
184
184
|
address: {
|
|
185
|
+
addressLine1: string;
|
|
186
|
+
city: string;
|
|
187
|
+
state: string;
|
|
185
188
|
zip: string;
|
|
186
189
|
country: string;
|
|
187
|
-
addressLine1?: string | undefined;
|
|
188
190
|
addressLine2?: string | undefined;
|
|
189
|
-
city?: string | undefined;
|
|
190
|
-
state?: string | undefined;
|
|
191
191
|
};
|
|
192
192
|
tin?: string | null | undefined;
|
|
193
193
|
active?: boolean | null | undefined;
|
|
@@ -199,11 +199,11 @@ export declare const facilityListSchema: z.ZodObject<{
|
|
|
199
199
|
name: string;
|
|
200
200
|
npi: string;
|
|
201
201
|
address: {
|
|
202
|
+
addressLine1: string;
|
|
203
|
+
city: string;
|
|
204
|
+
state: string;
|
|
202
205
|
zip: string;
|
|
203
|
-
addressLine1?: string | undefined;
|
|
204
206
|
addressLine2?: string | undefined;
|
|
205
|
-
city?: string | undefined;
|
|
206
|
-
state?: string | undefined;
|
|
207
207
|
country?: string | undefined;
|
|
208
208
|
};
|
|
209
209
|
tin?: string | null | undefined;
|
|
@@ -12,47 +12,47 @@ export declare const organizationCreateSchema: z.ZodObject<{
|
|
|
12
12
|
name: z.ZodString;
|
|
13
13
|
type: z.ZodNativeEnum<typeof OrgType>;
|
|
14
14
|
location: z.ZodObject<{
|
|
15
|
-
addressLine1: z.
|
|
15
|
+
addressLine1: z.ZodString;
|
|
16
16
|
addressLine2: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>;
|
|
17
|
-
city: z.
|
|
18
|
-
state: z.ZodUnion<[z.ZodNativeEnum<typeof import("./common/us-data").USState>, z.
|
|
17
|
+
city: z.ZodString;
|
|
18
|
+
state: z.ZodUnion<[z.ZodNativeEnum<typeof import("./common/us-data").USState>, z.ZodString]>;
|
|
19
19
|
zip: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
20
20
|
country: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>>;
|
|
21
21
|
}, "strip", z.ZodTypeAny, {
|
|
22
|
+
addressLine1: string;
|
|
23
|
+
city: string;
|
|
24
|
+
state: string;
|
|
22
25
|
zip: string;
|
|
23
26
|
country: string;
|
|
24
|
-
addressLine1?: string | undefined;
|
|
25
27
|
addressLine2?: string | undefined;
|
|
26
|
-
city?: string | undefined;
|
|
27
|
-
state?: string | undefined;
|
|
28
28
|
}, {
|
|
29
|
+
addressLine1: string;
|
|
30
|
+
city: string;
|
|
31
|
+
state: string;
|
|
29
32
|
zip: string;
|
|
30
|
-
addressLine1?: string | undefined;
|
|
31
33
|
addressLine2?: string | undefined;
|
|
32
|
-
city?: string | undefined;
|
|
33
|
-
state?: string | undefined;
|
|
34
34
|
country?: string | undefined;
|
|
35
35
|
}>;
|
|
36
36
|
}, "strip", z.ZodTypeAny, {
|
|
37
37
|
type: OrgType;
|
|
38
38
|
name: string;
|
|
39
39
|
location: {
|
|
40
|
+
addressLine1: string;
|
|
41
|
+
city: string;
|
|
42
|
+
state: string;
|
|
40
43
|
zip: string;
|
|
41
44
|
country: string;
|
|
42
|
-
addressLine1?: string | undefined;
|
|
43
45
|
addressLine2?: string | undefined;
|
|
44
|
-
city?: string | undefined;
|
|
45
|
-
state?: string | undefined;
|
|
46
46
|
};
|
|
47
47
|
}, {
|
|
48
48
|
type: OrgType;
|
|
49
49
|
name: string;
|
|
50
50
|
location: {
|
|
51
|
+
addressLine1: string;
|
|
52
|
+
city: string;
|
|
53
|
+
state: string;
|
|
51
54
|
zip: string;
|
|
52
|
-
addressLine1?: string | undefined;
|
|
53
55
|
addressLine2?: string | undefined;
|
|
54
|
-
city?: string | undefined;
|
|
55
|
-
state?: string | undefined;
|
|
56
56
|
country?: string | undefined;
|
|
57
57
|
};
|
|
58
58
|
}>;
|
|
@@ -61,25 +61,25 @@ export declare const organizationSchema: z.ZodObject<{
|
|
|
61
61
|
type: z.ZodNativeEnum<typeof OrgType>;
|
|
62
62
|
name: z.ZodString;
|
|
63
63
|
location: z.ZodObject<{
|
|
64
|
-
addressLine1: z.
|
|
64
|
+
addressLine1: z.ZodString;
|
|
65
65
|
addressLine2: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>;
|
|
66
|
-
city: z.
|
|
67
|
-
state: z.ZodUnion<[z.ZodNativeEnum<typeof import("./common/us-data").USState>, z.
|
|
66
|
+
city: z.ZodString;
|
|
67
|
+
state: z.ZodUnion<[z.ZodNativeEnum<typeof import("./common/us-data").USState>, z.ZodString]>;
|
|
68
68
|
zip: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
69
69
|
country: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>>;
|
|
70
70
|
}, "strip", z.ZodTypeAny, {
|
|
71
|
+
addressLine1: string;
|
|
72
|
+
city: string;
|
|
73
|
+
state: string;
|
|
71
74
|
zip: string;
|
|
72
75
|
country: string;
|
|
73
|
-
addressLine1?: string | undefined;
|
|
74
76
|
addressLine2?: string | undefined;
|
|
75
|
-
city?: string | undefined;
|
|
76
|
-
state?: string | undefined;
|
|
77
77
|
}, {
|
|
78
|
+
addressLine1: string;
|
|
79
|
+
city: string;
|
|
80
|
+
state: string;
|
|
78
81
|
zip: string;
|
|
79
|
-
addressLine1?: string | undefined;
|
|
80
82
|
addressLine2?: string | undefined;
|
|
81
|
-
city?: string | undefined;
|
|
82
|
-
state?: string | undefined;
|
|
83
83
|
country?: string | undefined;
|
|
84
84
|
}>;
|
|
85
85
|
oid: z.ZodString;
|
|
@@ -90,12 +90,12 @@ export declare const organizationSchema: z.ZodObject<{
|
|
|
90
90
|
id: string;
|
|
91
91
|
name: string;
|
|
92
92
|
location: {
|
|
93
|
+
addressLine1: string;
|
|
94
|
+
city: string;
|
|
95
|
+
state: string;
|
|
93
96
|
zip: string;
|
|
94
97
|
country: string;
|
|
95
|
-
addressLine1?: string | undefined;
|
|
96
98
|
addressLine2?: string | undefined;
|
|
97
|
-
city?: string | undefined;
|
|
98
|
-
state?: string | undefined;
|
|
99
99
|
};
|
|
100
100
|
oid: string;
|
|
101
101
|
eTag?: string | undefined;
|
|
@@ -104,11 +104,11 @@ export declare const organizationSchema: z.ZodObject<{
|
|
|
104
104
|
id: string;
|
|
105
105
|
name: string;
|
|
106
106
|
location: {
|
|
107
|
+
addressLine1: string;
|
|
108
|
+
city: string;
|
|
109
|
+
state: string;
|
|
107
110
|
zip: string;
|
|
108
|
-
addressLine1?: string | undefined;
|
|
109
111
|
addressLine2?: string | undefined;
|
|
110
|
-
city?: string | undefined;
|
|
111
|
-
state?: string | undefined;
|
|
112
112
|
country?: string | undefined;
|
|
113
113
|
};
|
|
114
114
|
oid: string;
|
|
@@ -54,46 +54,46 @@ export declare const patientCreateSchema: z.ZodObject<{
|
|
|
54
54
|
assigner?: string | undefined;
|
|
55
55
|
}>, "many">>;
|
|
56
56
|
address: z.ZodUnion<[z.ZodArray<z.ZodObject<{
|
|
57
|
-
addressLine1: z.
|
|
57
|
+
addressLine1: z.ZodString;
|
|
58
58
|
addressLine2: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>;
|
|
59
|
-
city: z.
|
|
60
|
-
state: z.ZodUnion<[z.ZodNativeEnum<typeof import("./common/us-data").USState>, z.
|
|
59
|
+
city: z.ZodString;
|
|
60
|
+
state: z.ZodUnion<[z.ZodNativeEnum<typeof import("./common/us-data").USState>, z.ZodString]>;
|
|
61
61
|
zip: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
62
62
|
country: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>>;
|
|
63
63
|
}, "strip", z.ZodTypeAny, {
|
|
64
|
+
addressLine1: string;
|
|
65
|
+
city: string;
|
|
66
|
+
state: string;
|
|
64
67
|
zip: string;
|
|
65
68
|
country: string;
|
|
66
|
-
addressLine1?: string | undefined;
|
|
67
69
|
addressLine2?: string | undefined;
|
|
68
|
-
city?: string | undefined;
|
|
69
|
-
state?: string | undefined;
|
|
70
70
|
}, {
|
|
71
|
+
addressLine1: string;
|
|
72
|
+
city: string;
|
|
73
|
+
state: string;
|
|
71
74
|
zip: string;
|
|
72
|
-
addressLine1?: string | undefined;
|
|
73
75
|
addressLine2?: string | undefined;
|
|
74
|
-
city?: string | undefined;
|
|
75
|
-
state?: string | undefined;
|
|
76
76
|
country?: string | undefined;
|
|
77
77
|
}>, "many">, z.ZodObject<{
|
|
78
|
-
addressLine1: z.
|
|
78
|
+
addressLine1: z.ZodString;
|
|
79
79
|
addressLine2: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>;
|
|
80
|
-
city: z.
|
|
81
|
-
state: z.ZodUnion<[z.ZodNativeEnum<typeof import("./common/us-data").USState>, z.
|
|
80
|
+
city: z.ZodString;
|
|
81
|
+
state: z.ZodUnion<[z.ZodNativeEnum<typeof import("./common/us-data").USState>, z.ZodString]>;
|
|
82
82
|
zip: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
83
83
|
country: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>>;
|
|
84
84
|
}, "strip", z.ZodTypeAny, {
|
|
85
|
+
addressLine1: string;
|
|
86
|
+
city: string;
|
|
87
|
+
state: string;
|
|
85
88
|
zip: string;
|
|
86
89
|
country: string;
|
|
87
|
-
addressLine1?: string | undefined;
|
|
88
90
|
addressLine2?: string | undefined;
|
|
89
|
-
city?: string | undefined;
|
|
90
|
-
state?: string | undefined;
|
|
91
91
|
}, {
|
|
92
|
+
addressLine1: string;
|
|
93
|
+
city: string;
|
|
94
|
+
state: string;
|
|
92
95
|
zip: string;
|
|
93
|
-
addressLine1?: string | undefined;
|
|
94
96
|
addressLine2?: string | undefined;
|
|
95
|
-
city?: string | undefined;
|
|
96
|
-
state?: string | undefined;
|
|
97
97
|
country?: string | undefined;
|
|
98
98
|
}>]>;
|
|
99
99
|
contact: z.ZodUnion<[z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
@@ -129,33 +129,33 @@ export declare const patientCreateSchema: z.ZodObject<{
|
|
|
129
129
|
}>>]>;
|
|
130
130
|
}, "strip", z.ZodTypeAny, {
|
|
131
131
|
address: ({
|
|
132
|
+
addressLine1: string;
|
|
133
|
+
city: string;
|
|
134
|
+
state: string;
|
|
132
135
|
zip: string;
|
|
133
136
|
country: string;
|
|
134
|
-
addressLine1?: string | undefined;
|
|
135
137
|
addressLine2?: string | undefined;
|
|
136
|
-
city?: string | undefined;
|
|
137
|
-
state?: string | undefined;
|
|
138
138
|
} | {
|
|
139
|
+
addressLine1: string;
|
|
140
|
+
city: string;
|
|
141
|
+
state: string;
|
|
139
142
|
zip: string;
|
|
140
143
|
country: string;
|
|
141
|
-
addressLine1?: string | undefined;
|
|
142
144
|
addressLine2?: string | undefined;
|
|
143
|
-
city?: string | undefined;
|
|
144
|
-
state?: string | undefined;
|
|
145
145
|
}[]) & ({
|
|
146
|
+
addressLine1: string;
|
|
147
|
+
city: string;
|
|
148
|
+
state: string;
|
|
146
149
|
zip: string;
|
|
147
150
|
country: string;
|
|
148
|
-
addressLine1?: string | undefined;
|
|
149
151
|
addressLine2?: string | undefined;
|
|
150
|
-
city?: string | undefined;
|
|
151
|
-
state?: string | undefined;
|
|
152
152
|
} | {
|
|
153
|
+
addressLine1: string;
|
|
154
|
+
city: string;
|
|
155
|
+
state: string;
|
|
153
156
|
zip: string;
|
|
154
157
|
country: string;
|
|
155
|
-
addressLine1?: string | undefined;
|
|
156
158
|
addressLine2?: string | undefined;
|
|
157
|
-
city?: string | undefined;
|
|
158
|
-
state?: string | undefined;
|
|
159
159
|
}[] | undefined);
|
|
160
160
|
firstName: string;
|
|
161
161
|
lastName: string;
|
|
@@ -183,32 +183,32 @@ export declare const patientCreateSchema: z.ZodObject<{
|
|
|
183
183
|
}[] | undefined;
|
|
184
184
|
}, {
|
|
185
185
|
address: ({
|
|
186
|
+
addressLine1: string;
|
|
187
|
+
city: string;
|
|
188
|
+
state: string;
|
|
186
189
|
zip: string;
|
|
187
|
-
addressLine1?: string | undefined;
|
|
188
190
|
addressLine2?: string | undefined;
|
|
189
|
-
city?: string | undefined;
|
|
190
|
-
state?: string | undefined;
|
|
191
191
|
country?: string | undefined;
|
|
192
192
|
} | {
|
|
193
|
+
addressLine1: string;
|
|
194
|
+
city: string;
|
|
195
|
+
state: string;
|
|
193
196
|
zip: string;
|
|
194
|
-
addressLine1?: string | undefined;
|
|
195
197
|
addressLine2?: string | undefined;
|
|
196
|
-
city?: string | undefined;
|
|
197
|
-
state?: string | undefined;
|
|
198
198
|
country?: string | undefined;
|
|
199
199
|
}[]) & ({
|
|
200
|
+
addressLine1: string;
|
|
201
|
+
city: string;
|
|
202
|
+
state: string;
|
|
200
203
|
zip: string;
|
|
201
|
-
addressLine1?: string | undefined;
|
|
202
204
|
addressLine2?: string | undefined;
|
|
203
|
-
city?: string | undefined;
|
|
204
|
-
state?: string | undefined;
|
|
205
205
|
country?: string | undefined;
|
|
206
206
|
} | {
|
|
207
|
+
addressLine1: string;
|
|
208
|
+
city: string;
|
|
209
|
+
state: string;
|
|
207
210
|
zip: string;
|
|
208
|
-
addressLine1?: string | undefined;
|
|
209
211
|
addressLine2?: string | undefined;
|
|
210
|
-
city?: string | undefined;
|
|
211
|
-
state?: string | undefined;
|
|
212
212
|
country?: string | undefined;
|
|
213
213
|
}[] | undefined);
|
|
214
214
|
firstName: string;
|
|
@@ -239,46 +239,46 @@ export declare const patientCreateSchema: z.ZodObject<{
|
|
|
239
239
|
export type PatientCreate = z.infer<typeof patientCreateSchema>;
|
|
240
240
|
export declare const patientUpdateSchema: z.ZodObject<{
|
|
241
241
|
address: z.ZodUnion<[z.ZodArray<z.ZodObject<{
|
|
242
|
-
addressLine1: z.
|
|
242
|
+
addressLine1: z.ZodString;
|
|
243
243
|
addressLine2: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>;
|
|
244
|
-
city: z.
|
|
245
|
-
state: z.ZodUnion<[z.ZodNativeEnum<typeof import("./common/us-data").USState>, z.
|
|
244
|
+
city: z.ZodString;
|
|
245
|
+
state: z.ZodUnion<[z.ZodNativeEnum<typeof import("./common/us-data").USState>, z.ZodString]>;
|
|
246
246
|
zip: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
247
247
|
country: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>>;
|
|
248
248
|
}, "strip", z.ZodTypeAny, {
|
|
249
|
+
addressLine1: string;
|
|
250
|
+
city: string;
|
|
251
|
+
state: string;
|
|
249
252
|
zip: string;
|
|
250
253
|
country: string;
|
|
251
|
-
addressLine1?: string | undefined;
|
|
252
254
|
addressLine2?: string | undefined;
|
|
253
|
-
city?: string | undefined;
|
|
254
|
-
state?: string | undefined;
|
|
255
255
|
}, {
|
|
256
|
+
addressLine1: string;
|
|
257
|
+
city: string;
|
|
258
|
+
state: string;
|
|
256
259
|
zip: string;
|
|
257
|
-
addressLine1?: string | undefined;
|
|
258
260
|
addressLine2?: string | undefined;
|
|
259
|
-
city?: string | undefined;
|
|
260
|
-
state?: string | undefined;
|
|
261
261
|
country?: string | undefined;
|
|
262
262
|
}>, "many">, z.ZodObject<{
|
|
263
|
-
addressLine1: z.
|
|
263
|
+
addressLine1: z.ZodString;
|
|
264
264
|
addressLine2: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>;
|
|
265
|
-
city: z.
|
|
266
|
-
state: z.ZodUnion<[z.ZodNativeEnum<typeof import("./common/us-data").USState>, z.
|
|
265
|
+
city: z.ZodString;
|
|
266
|
+
state: z.ZodUnion<[z.ZodNativeEnum<typeof import("./common/us-data").USState>, z.ZodString]>;
|
|
267
267
|
zip: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
268
268
|
country: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>>;
|
|
269
269
|
}, "strip", z.ZodTypeAny, {
|
|
270
|
+
addressLine1: string;
|
|
271
|
+
city: string;
|
|
272
|
+
state: string;
|
|
270
273
|
zip: string;
|
|
271
274
|
country: string;
|
|
272
|
-
addressLine1?: string | undefined;
|
|
273
275
|
addressLine2?: string | undefined;
|
|
274
|
-
city?: string | undefined;
|
|
275
|
-
state?: string | undefined;
|
|
276
276
|
}, {
|
|
277
|
+
addressLine1: string;
|
|
278
|
+
city: string;
|
|
279
|
+
state: string;
|
|
277
280
|
zip: string;
|
|
278
|
-
addressLine1?: string | undefined;
|
|
279
281
|
addressLine2?: string | undefined;
|
|
280
|
-
city?: string | undefined;
|
|
281
|
-
state?: string | undefined;
|
|
282
282
|
country?: string | undefined;
|
|
283
283
|
}>]>;
|
|
284
284
|
firstName: z.ZodString;
|
|
@@ -370,33 +370,33 @@ export declare const patientUpdateSchema: z.ZodObject<{
|
|
|
370
370
|
}, "strip", z.ZodTypeAny, {
|
|
371
371
|
id: string;
|
|
372
372
|
address: ({
|
|
373
|
+
addressLine1: string;
|
|
374
|
+
city: string;
|
|
375
|
+
state: string;
|
|
373
376
|
zip: string;
|
|
374
377
|
country: string;
|
|
375
|
-
addressLine1?: string | undefined;
|
|
376
378
|
addressLine2?: string | undefined;
|
|
377
|
-
city?: string | undefined;
|
|
378
|
-
state?: string | undefined;
|
|
379
379
|
} | {
|
|
380
|
+
addressLine1: string;
|
|
381
|
+
city: string;
|
|
382
|
+
state: string;
|
|
380
383
|
zip: string;
|
|
381
384
|
country: string;
|
|
382
|
-
addressLine1?: string | undefined;
|
|
383
385
|
addressLine2?: string | undefined;
|
|
384
|
-
city?: string | undefined;
|
|
385
|
-
state?: string | undefined;
|
|
386
386
|
}[]) & ({
|
|
387
|
+
addressLine1: string;
|
|
388
|
+
city: string;
|
|
389
|
+
state: string;
|
|
387
390
|
zip: string;
|
|
388
391
|
country: string;
|
|
389
|
-
addressLine1?: string | undefined;
|
|
390
392
|
addressLine2?: string | undefined;
|
|
391
|
-
city?: string | undefined;
|
|
392
|
-
state?: string | undefined;
|
|
393
393
|
} | {
|
|
394
|
+
addressLine1: string;
|
|
395
|
+
city: string;
|
|
396
|
+
state: string;
|
|
394
397
|
zip: string;
|
|
395
398
|
country: string;
|
|
396
|
-
addressLine1?: string | undefined;
|
|
397
399
|
addressLine2?: string | undefined;
|
|
398
|
-
city?: string | undefined;
|
|
399
|
-
state?: string | undefined;
|
|
400
400
|
}[] | undefined);
|
|
401
401
|
firstName: string;
|
|
402
402
|
lastName: string;
|
|
@@ -426,32 +426,32 @@ export declare const patientUpdateSchema: z.ZodObject<{
|
|
|
426
426
|
}, {
|
|
427
427
|
id: string;
|
|
428
428
|
address: ({
|
|
429
|
+
addressLine1: string;
|
|
430
|
+
city: string;
|
|
431
|
+
state: string;
|
|
429
432
|
zip: string;
|
|
430
|
-
addressLine1?: string | undefined;
|
|
431
433
|
addressLine2?: string | undefined;
|
|
432
|
-
city?: string | undefined;
|
|
433
|
-
state?: string | undefined;
|
|
434
434
|
country?: string | undefined;
|
|
435
435
|
} | {
|
|
436
|
+
addressLine1: string;
|
|
437
|
+
city: string;
|
|
438
|
+
state: string;
|
|
436
439
|
zip: string;
|
|
437
|
-
addressLine1?: string | undefined;
|
|
438
440
|
addressLine2?: string | undefined;
|
|
439
|
-
city?: string | undefined;
|
|
440
|
-
state?: string | undefined;
|
|
441
441
|
country?: string | undefined;
|
|
442
442
|
}[]) & ({
|
|
443
|
+
addressLine1: string;
|
|
444
|
+
city: string;
|
|
445
|
+
state: string;
|
|
443
446
|
zip: string;
|
|
444
|
-
addressLine1?: string | undefined;
|
|
445
447
|
addressLine2?: string | undefined;
|
|
446
|
-
city?: string | undefined;
|
|
447
|
-
state?: string | undefined;
|
|
448
448
|
country?: string | undefined;
|
|
449
449
|
} | {
|
|
450
|
+
addressLine1: string;
|
|
451
|
+
city: string;
|
|
452
|
+
state: string;
|
|
450
453
|
zip: string;
|
|
451
|
-
addressLine1?: string | undefined;
|
|
452
454
|
addressLine2?: string | undefined;
|
|
453
|
-
city?: string | undefined;
|
|
454
|
-
state?: string | undefined;
|
|
455
455
|
country?: string | undefined;
|
|
456
456
|
}[] | undefined);
|
|
457
457
|
firstName: string;
|
|
@@ -485,46 +485,46 @@ export declare const patientSchema: z.ZodObject<{
|
|
|
485
485
|
id: z.ZodString;
|
|
486
486
|
eTag: z.ZodOptional<z.ZodString>;
|
|
487
487
|
address: z.ZodUnion<[z.ZodArray<z.ZodObject<{
|
|
488
|
-
addressLine1: z.
|
|
488
|
+
addressLine1: z.ZodString;
|
|
489
489
|
addressLine2: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>;
|
|
490
|
-
city: z.
|
|
491
|
-
state: z.ZodUnion<[z.ZodNativeEnum<typeof import("./common/us-data").USState>, z.
|
|
490
|
+
city: z.ZodString;
|
|
491
|
+
state: z.ZodUnion<[z.ZodNativeEnum<typeof import("./common/us-data").USState>, z.ZodString]>;
|
|
492
492
|
zip: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
493
493
|
country: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>>;
|
|
494
494
|
}, "strip", z.ZodTypeAny, {
|
|
495
|
+
addressLine1: string;
|
|
496
|
+
city: string;
|
|
497
|
+
state: string;
|
|
495
498
|
zip: string;
|
|
496
499
|
country: string;
|
|
497
|
-
addressLine1?: string | undefined;
|
|
498
500
|
addressLine2?: string | undefined;
|
|
499
|
-
city?: string | undefined;
|
|
500
|
-
state?: string | undefined;
|
|
501
501
|
}, {
|
|
502
|
+
addressLine1: string;
|
|
503
|
+
city: string;
|
|
504
|
+
state: string;
|
|
502
505
|
zip: string;
|
|
503
|
-
addressLine1?: string | undefined;
|
|
504
506
|
addressLine2?: string | undefined;
|
|
505
|
-
city?: string | undefined;
|
|
506
|
-
state?: string | undefined;
|
|
507
507
|
country?: string | undefined;
|
|
508
508
|
}>, "many">, z.ZodObject<{
|
|
509
|
-
addressLine1: z.
|
|
509
|
+
addressLine1: z.ZodString;
|
|
510
510
|
addressLine2: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>;
|
|
511
|
-
city: z.
|
|
512
|
-
state: z.ZodUnion<[z.ZodNativeEnum<typeof import("./common/us-data").USState>, z.
|
|
511
|
+
city: z.ZodString;
|
|
512
|
+
state: z.ZodUnion<[z.ZodNativeEnum<typeof import("./common/us-data").USState>, z.ZodString]>;
|
|
513
513
|
zip: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
514
514
|
country: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>>;
|
|
515
515
|
}, "strip", z.ZodTypeAny, {
|
|
516
|
+
addressLine1: string;
|
|
517
|
+
city: string;
|
|
518
|
+
state: string;
|
|
516
519
|
zip: string;
|
|
517
520
|
country: string;
|
|
518
|
-
addressLine1?: string | undefined;
|
|
519
521
|
addressLine2?: string | undefined;
|
|
520
|
-
city?: string | undefined;
|
|
521
|
-
state?: string | undefined;
|
|
522
522
|
}, {
|
|
523
|
+
addressLine1: string;
|
|
524
|
+
city: string;
|
|
525
|
+
state: string;
|
|
523
526
|
zip: string;
|
|
524
|
-
addressLine1?: string | undefined;
|
|
525
527
|
addressLine2?: string | undefined;
|
|
526
|
-
city?: string | undefined;
|
|
527
|
-
state?: string | undefined;
|
|
528
528
|
country?: string | undefined;
|
|
529
529
|
}>]>;
|
|
530
530
|
firstName: z.ZodString;
|
|
@@ -615,33 +615,33 @@ export declare const patientSchema: z.ZodObject<{
|
|
|
615
615
|
}, "strip", z.ZodTypeAny, {
|
|
616
616
|
id: string;
|
|
617
617
|
address: ({
|
|
618
|
+
addressLine1: string;
|
|
619
|
+
city: string;
|
|
620
|
+
state: string;
|
|
618
621
|
zip: string;
|
|
619
622
|
country: string;
|
|
620
|
-
addressLine1?: string | undefined;
|
|
621
623
|
addressLine2?: string | undefined;
|
|
622
|
-
city?: string | undefined;
|
|
623
|
-
state?: string | undefined;
|
|
624
624
|
} | {
|
|
625
|
+
addressLine1: string;
|
|
626
|
+
city: string;
|
|
627
|
+
state: string;
|
|
625
628
|
zip: string;
|
|
626
629
|
country: string;
|
|
627
|
-
addressLine1?: string | undefined;
|
|
628
630
|
addressLine2?: string | undefined;
|
|
629
|
-
city?: string | undefined;
|
|
630
|
-
state?: string | undefined;
|
|
631
631
|
}[]) & ({
|
|
632
|
+
addressLine1: string;
|
|
633
|
+
city: string;
|
|
634
|
+
state: string;
|
|
632
635
|
zip: string;
|
|
633
636
|
country: string;
|
|
634
|
-
addressLine1?: string | undefined;
|
|
635
637
|
addressLine2?: string | undefined;
|
|
636
|
-
city?: string | undefined;
|
|
637
|
-
state?: string | undefined;
|
|
638
638
|
} | {
|
|
639
|
+
addressLine1: string;
|
|
640
|
+
city: string;
|
|
641
|
+
state: string;
|
|
639
642
|
zip: string;
|
|
640
643
|
country: string;
|
|
641
|
-
addressLine1?: string | undefined;
|
|
642
644
|
addressLine2?: string | undefined;
|
|
643
|
-
city?: string | undefined;
|
|
644
|
-
state?: string | undefined;
|
|
645
645
|
}[] | undefined);
|
|
646
646
|
firstName: string;
|
|
647
647
|
lastName: string;
|
|
@@ -672,32 +672,32 @@ export declare const patientSchema: z.ZodObject<{
|
|
|
672
672
|
}, {
|
|
673
673
|
id: string;
|
|
674
674
|
address: ({
|
|
675
|
+
addressLine1: string;
|
|
676
|
+
city: string;
|
|
677
|
+
state: string;
|
|
675
678
|
zip: string;
|
|
676
|
-
addressLine1?: string | undefined;
|
|
677
679
|
addressLine2?: string | undefined;
|
|
678
|
-
city?: string | undefined;
|
|
679
|
-
state?: string | undefined;
|
|
680
680
|
country?: string | undefined;
|
|
681
681
|
} | {
|
|
682
|
+
addressLine1: string;
|
|
683
|
+
city: string;
|
|
684
|
+
state: string;
|
|
682
685
|
zip: string;
|
|
683
|
-
addressLine1?: string | undefined;
|
|
684
686
|
addressLine2?: string | undefined;
|
|
685
|
-
city?: string | undefined;
|
|
686
|
-
state?: string | undefined;
|
|
687
687
|
country?: string | undefined;
|
|
688
688
|
}[]) & ({
|
|
689
|
+
addressLine1: string;
|
|
690
|
+
city: string;
|
|
691
|
+
state: string;
|
|
689
692
|
zip: string;
|
|
690
|
-
addressLine1?: string | undefined;
|
|
691
693
|
addressLine2?: string | undefined;
|
|
692
|
-
city?: string | undefined;
|
|
693
|
-
state?: string | undefined;
|
|
694
694
|
country?: string | undefined;
|
|
695
695
|
} | {
|
|
696
|
+
addressLine1: string;
|
|
697
|
+
city: string;
|
|
698
|
+
state: string;
|
|
696
699
|
zip: string;
|
|
697
|
-
addressLine1?: string | undefined;
|
|
698
700
|
addressLine2?: string | undefined;
|
|
699
|
-
city?: string | undefined;
|
|
700
|
-
state?: string | undefined;
|
|
701
701
|
country?: string | undefined;
|
|
702
702
|
}[] | undefined);
|
|
703
703
|
firstName: string;
|
|
@@ -733,46 +733,46 @@ export declare const patientListSchema: z.ZodObject<{
|
|
|
733
733
|
id: z.ZodString;
|
|
734
734
|
eTag: z.ZodOptional<z.ZodString>;
|
|
735
735
|
address: z.ZodUnion<[z.ZodArray<z.ZodObject<{
|
|
736
|
-
addressLine1: z.
|
|
736
|
+
addressLine1: z.ZodString;
|
|
737
737
|
addressLine2: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>;
|
|
738
|
-
city: z.
|
|
739
|
-
state: z.ZodUnion<[z.ZodNativeEnum<typeof import("./common/us-data").USState>, z.
|
|
738
|
+
city: z.ZodString;
|
|
739
|
+
state: z.ZodUnion<[z.ZodNativeEnum<typeof import("./common/us-data").USState>, z.ZodString]>;
|
|
740
740
|
zip: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
741
741
|
country: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>>;
|
|
742
742
|
}, "strip", z.ZodTypeAny, {
|
|
743
|
+
addressLine1: string;
|
|
744
|
+
city: string;
|
|
745
|
+
state: string;
|
|
743
746
|
zip: string;
|
|
744
747
|
country: string;
|
|
745
|
-
addressLine1?: string | undefined;
|
|
746
748
|
addressLine2?: string | undefined;
|
|
747
|
-
city?: string | undefined;
|
|
748
|
-
state?: string | undefined;
|
|
749
749
|
}, {
|
|
750
|
+
addressLine1: string;
|
|
751
|
+
city: string;
|
|
752
|
+
state: string;
|
|
750
753
|
zip: string;
|
|
751
|
-
addressLine1?: string | undefined;
|
|
752
754
|
addressLine2?: string | undefined;
|
|
753
|
-
city?: string | undefined;
|
|
754
|
-
state?: string | undefined;
|
|
755
755
|
country?: string | undefined;
|
|
756
756
|
}>, "many">, z.ZodObject<{
|
|
757
|
-
addressLine1: z.
|
|
757
|
+
addressLine1: z.ZodString;
|
|
758
758
|
addressLine2: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>;
|
|
759
|
-
city: z.
|
|
760
|
-
state: z.ZodUnion<[z.ZodNativeEnum<typeof import("./common/us-data").USState>, z.
|
|
759
|
+
city: z.ZodString;
|
|
760
|
+
state: z.ZodUnion<[z.ZodNativeEnum<typeof import("./common/us-data").USState>, z.ZodString]>;
|
|
761
761
|
zip: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
762
762
|
country: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>>;
|
|
763
763
|
}, "strip", z.ZodTypeAny, {
|
|
764
|
+
addressLine1: string;
|
|
765
|
+
city: string;
|
|
766
|
+
state: string;
|
|
764
767
|
zip: string;
|
|
765
768
|
country: string;
|
|
766
|
-
addressLine1?: string | undefined;
|
|
767
769
|
addressLine2?: string | undefined;
|
|
768
|
-
city?: string | undefined;
|
|
769
|
-
state?: string | undefined;
|
|
770
770
|
}, {
|
|
771
|
+
addressLine1: string;
|
|
772
|
+
city: string;
|
|
773
|
+
state: string;
|
|
771
774
|
zip: string;
|
|
772
|
-
addressLine1?: string | undefined;
|
|
773
775
|
addressLine2?: string | undefined;
|
|
774
|
-
city?: string | undefined;
|
|
775
|
-
state?: string | undefined;
|
|
776
776
|
country?: string | undefined;
|
|
777
777
|
}>]>;
|
|
778
778
|
firstName: z.ZodString;
|
|
@@ -863,33 +863,33 @@ export declare const patientListSchema: z.ZodObject<{
|
|
|
863
863
|
}, "strip", z.ZodTypeAny, {
|
|
864
864
|
id: string;
|
|
865
865
|
address: ({
|
|
866
|
+
addressLine1: string;
|
|
867
|
+
city: string;
|
|
868
|
+
state: string;
|
|
866
869
|
zip: string;
|
|
867
870
|
country: string;
|
|
868
|
-
addressLine1?: string | undefined;
|
|
869
871
|
addressLine2?: string | undefined;
|
|
870
|
-
city?: string | undefined;
|
|
871
|
-
state?: string | undefined;
|
|
872
872
|
} | {
|
|
873
|
+
addressLine1: string;
|
|
874
|
+
city: string;
|
|
875
|
+
state: string;
|
|
873
876
|
zip: string;
|
|
874
877
|
country: string;
|
|
875
|
-
addressLine1?: string | undefined;
|
|
876
878
|
addressLine2?: string | undefined;
|
|
877
|
-
city?: string | undefined;
|
|
878
|
-
state?: string | undefined;
|
|
879
879
|
}[]) & ({
|
|
880
|
+
addressLine1: string;
|
|
881
|
+
city: string;
|
|
882
|
+
state: string;
|
|
880
883
|
zip: string;
|
|
881
884
|
country: string;
|
|
882
|
-
addressLine1?: string | undefined;
|
|
883
885
|
addressLine2?: string | undefined;
|
|
884
|
-
city?: string | undefined;
|
|
885
|
-
state?: string | undefined;
|
|
886
886
|
} | {
|
|
887
|
+
addressLine1: string;
|
|
888
|
+
city: string;
|
|
889
|
+
state: string;
|
|
887
890
|
zip: string;
|
|
888
891
|
country: string;
|
|
889
|
-
addressLine1?: string | undefined;
|
|
890
892
|
addressLine2?: string | undefined;
|
|
891
|
-
city?: string | undefined;
|
|
892
|
-
state?: string | undefined;
|
|
893
893
|
}[] | undefined);
|
|
894
894
|
firstName: string;
|
|
895
895
|
lastName: string;
|
|
@@ -920,32 +920,32 @@ export declare const patientListSchema: z.ZodObject<{
|
|
|
920
920
|
}, {
|
|
921
921
|
id: string;
|
|
922
922
|
address: ({
|
|
923
|
+
addressLine1: string;
|
|
924
|
+
city: string;
|
|
925
|
+
state: string;
|
|
923
926
|
zip: string;
|
|
924
|
-
addressLine1?: string | undefined;
|
|
925
927
|
addressLine2?: string | undefined;
|
|
926
|
-
city?: string | undefined;
|
|
927
|
-
state?: string | undefined;
|
|
928
928
|
country?: string | undefined;
|
|
929
929
|
} | {
|
|
930
|
+
addressLine1: string;
|
|
931
|
+
city: string;
|
|
932
|
+
state: string;
|
|
930
933
|
zip: string;
|
|
931
|
-
addressLine1?: string | undefined;
|
|
932
934
|
addressLine2?: string | undefined;
|
|
933
|
-
city?: string | undefined;
|
|
934
|
-
state?: string | undefined;
|
|
935
935
|
country?: string | undefined;
|
|
936
936
|
}[]) & ({
|
|
937
|
+
addressLine1: string;
|
|
938
|
+
city: string;
|
|
939
|
+
state: string;
|
|
937
940
|
zip: string;
|
|
938
|
-
addressLine1?: string | undefined;
|
|
939
941
|
addressLine2?: string | undefined;
|
|
940
|
-
city?: string | undefined;
|
|
941
|
-
state?: string | undefined;
|
|
942
942
|
country?: string | undefined;
|
|
943
943
|
} | {
|
|
944
|
+
addressLine1: string;
|
|
945
|
+
city: string;
|
|
946
|
+
state: string;
|
|
944
947
|
zip: string;
|
|
945
|
-
addressLine1?: string | undefined;
|
|
946
948
|
addressLine2?: string | undefined;
|
|
947
|
-
city?: string | undefined;
|
|
948
|
-
state?: string | undefined;
|
|
949
949
|
country?: string | undefined;
|
|
950
950
|
}[] | undefined);
|
|
951
951
|
firstName: string;
|
|
@@ -979,33 +979,33 @@ export declare const patientListSchema: z.ZodObject<{
|
|
|
979
979
|
patients: {
|
|
980
980
|
id: string;
|
|
981
981
|
address: ({
|
|
982
|
+
addressLine1: string;
|
|
983
|
+
city: string;
|
|
984
|
+
state: string;
|
|
982
985
|
zip: string;
|
|
983
986
|
country: string;
|
|
984
|
-
addressLine1?: string | undefined;
|
|
985
987
|
addressLine2?: string | undefined;
|
|
986
|
-
city?: string | undefined;
|
|
987
|
-
state?: string | undefined;
|
|
988
988
|
} | {
|
|
989
|
+
addressLine1: string;
|
|
990
|
+
city: string;
|
|
991
|
+
state: string;
|
|
989
992
|
zip: string;
|
|
990
993
|
country: string;
|
|
991
|
-
addressLine1?: string | undefined;
|
|
992
994
|
addressLine2?: string | undefined;
|
|
993
|
-
city?: string | undefined;
|
|
994
|
-
state?: string | undefined;
|
|
995
995
|
}[]) & ({
|
|
996
|
+
addressLine1: string;
|
|
997
|
+
city: string;
|
|
998
|
+
state: string;
|
|
996
999
|
zip: string;
|
|
997
1000
|
country: string;
|
|
998
|
-
addressLine1?: string | undefined;
|
|
999
1001
|
addressLine2?: string | undefined;
|
|
1000
|
-
city?: string | undefined;
|
|
1001
|
-
state?: string | undefined;
|
|
1002
1002
|
} | {
|
|
1003
|
+
addressLine1: string;
|
|
1004
|
+
city: string;
|
|
1005
|
+
state: string;
|
|
1003
1006
|
zip: string;
|
|
1004
1007
|
country: string;
|
|
1005
|
-
addressLine1?: string | undefined;
|
|
1006
1008
|
addressLine2?: string | undefined;
|
|
1007
|
-
city?: string | undefined;
|
|
1008
|
-
state?: string | undefined;
|
|
1009
1009
|
}[] | undefined);
|
|
1010
1010
|
firstName: string;
|
|
1011
1011
|
lastName: string;
|
|
@@ -1038,32 +1038,32 @@ export declare const patientListSchema: z.ZodObject<{
|
|
|
1038
1038
|
patients: {
|
|
1039
1039
|
id: string;
|
|
1040
1040
|
address: ({
|
|
1041
|
+
addressLine1: string;
|
|
1042
|
+
city: string;
|
|
1043
|
+
state: string;
|
|
1041
1044
|
zip: string;
|
|
1042
|
-
addressLine1?: string | undefined;
|
|
1043
1045
|
addressLine2?: string | undefined;
|
|
1044
|
-
city?: string | undefined;
|
|
1045
|
-
state?: string | undefined;
|
|
1046
1046
|
country?: string | undefined;
|
|
1047
1047
|
} | {
|
|
1048
|
+
addressLine1: string;
|
|
1049
|
+
city: string;
|
|
1050
|
+
state: string;
|
|
1048
1051
|
zip: string;
|
|
1049
|
-
addressLine1?: string | undefined;
|
|
1050
1052
|
addressLine2?: string | undefined;
|
|
1051
|
-
city?: string | undefined;
|
|
1052
|
-
state?: string | undefined;
|
|
1053
1053
|
country?: string | undefined;
|
|
1054
1054
|
}[]) & ({
|
|
1055
|
+
addressLine1: string;
|
|
1056
|
+
city: string;
|
|
1057
|
+
state: string;
|
|
1055
1058
|
zip: string;
|
|
1056
|
-
addressLine1?: string | undefined;
|
|
1057
1059
|
addressLine2?: string | undefined;
|
|
1058
|
-
city?: string | undefined;
|
|
1059
|
-
state?: string | undefined;
|
|
1060
1060
|
country?: string | undefined;
|
|
1061
1061
|
} | {
|
|
1062
|
+
addressLine1: string;
|
|
1063
|
+
city: string;
|
|
1064
|
+
state: string;
|
|
1062
1065
|
zip: string;
|
|
1063
|
-
addressLine1?: string | undefined;
|
|
1064
1066
|
addressLine2?: string | undefined;
|
|
1065
|
-
city?: string | undefined;
|
|
1066
|
-
state?: string | undefined;
|
|
1067
1067
|
country?: string | undefined;
|
|
1068
1068
|
}[] | undefined);
|
|
1069
1069
|
firstName: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@metriport/api-sdk",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.2-alpha.1",
|
|
4
4
|
"description": "Metriport helps you access and manage health and medical data, through a single open source API.",
|
|
5
5
|
"author": "Metriport Inc. <contact@metriport.com>",
|
|
6
6
|
"homepage": "https://metriport.com/",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"url": "https://github.com/metriport/metriport/issues"
|
|
57
57
|
},
|
|
58
58
|
"dependencies": {
|
|
59
|
-
"@metriport/commonwell-sdk": "^4.8.
|
|
59
|
+
"@metriport/commonwell-sdk": "^4.8.1-alpha.0",
|
|
60
60
|
"axios": "^1.3.4",
|
|
61
61
|
"dayjs": "^1.11.7",
|
|
62
62
|
"dotenv": "^16.3.1",
|
|
@@ -74,5 +74,5 @@
|
|
|
74
74
|
"ts-jest": "29.1.1",
|
|
75
75
|
"typescript": "^4.9.5"
|
|
76
76
|
},
|
|
77
|
-
"gitHead": "
|
|
77
|
+
"gitHead": "2b969b5347b2e0b5b5414a2869f4665a21e67bb8"
|
|
78
78
|
}
|