@metriport/api-sdk 7.6.0-alpha.0 → 7.6.0
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/metriport.d.ts +6 -6
- package/dist/medical/client/metriport.js +6 -6
- package/dist/medical/models/common/address.d.ts +3 -3
- package/dist/medical/models/common/address.js +1 -1
- package/dist/medical/models/common/address.js.map +1 -1
- package/dist/medical/models/demographics.d.ts +14 -14
- package/dist/medical/models/facility.d.ts +17 -17
- package/dist/medical/models/organization.d.ts +10 -10
- package/dist/medical/models/patient.d.ts +64 -64
- package/package.json +3 -3
|
@@ -236,8 +236,8 @@ export declare class MetriportMedicalApi {
|
|
|
236
236
|
/**
|
|
237
237
|
* @deprecated - Use createDocumentReference() instead.
|
|
238
238
|
* Returns a URL to upload a file to Metriport and make the document available to other HIEs.
|
|
239
|
-
* To upload your file contents, execute a PUT request using this
|
|
240
|
-
* Refer to Metriport
|
|
239
|
+
* To upload your file contents, execute a PUT request using this URL with the file contents as the request body.
|
|
240
|
+
* Refer to Metriport documentation for more details:
|
|
241
241
|
* https://docs.metriport.com/medical-api/api-reference/document/post-upload-url
|
|
242
242
|
*
|
|
243
243
|
* @param patientId - the ID of the patient.
|
|
@@ -264,10 +264,10 @@ export declare class MetriportMedicalApi {
|
|
|
264
264
|
* Verifies the signature of a webhook request.
|
|
265
265
|
* Refer to Metriport's documentation for more details: https://docs.metriport.com/medical-api/more-info/webhooks.
|
|
266
266
|
*
|
|
267
|
-
* @param wh_key - your webhook key
|
|
268
|
-
* @param cxId - your cxID
|
|
269
|
-
* @param req.body - the body of the webhook request
|
|
270
|
-
* @param signature - the signature obtained from the webhook request header
|
|
267
|
+
* @param wh_key - your webhook key.
|
|
268
|
+
* @param cxId - your cxID.
|
|
269
|
+
* @param req.body - the body of the webhook request.
|
|
270
|
+
* @param signature - the signature obtained from the webhook request header.
|
|
271
271
|
*
|
|
272
272
|
* @returns True if the signature is verified, false otherwise
|
|
273
273
|
*/
|
|
@@ -34,10 +34,10 @@ class MetriportMedicalApi {
|
|
|
34
34
|
* Verifies the signature of a webhook request.
|
|
35
35
|
* Refer to Metriport's documentation for more details: https://docs.metriport.com/medical-api/more-info/webhooks.
|
|
36
36
|
*
|
|
37
|
-
* @param wh_key - your webhook key
|
|
38
|
-
* @param cxId - your cxID
|
|
39
|
-
* @param req.body - the body of the webhook request
|
|
40
|
-
* @param signature - the signature obtained from the webhook request header
|
|
37
|
+
* @param wh_key - your webhook key.
|
|
38
|
+
* @param cxId - your cxID.
|
|
39
|
+
* @param req.body - the body of the webhook request.
|
|
40
|
+
* @param signature - the signature obtained from the webhook request header.
|
|
41
41
|
*
|
|
42
42
|
* @returns True if the signature is verified, false otherwise
|
|
43
43
|
*/
|
|
@@ -429,8 +429,8 @@ class MetriportMedicalApi {
|
|
|
429
429
|
/**
|
|
430
430
|
* @deprecated - Use createDocumentReference() instead.
|
|
431
431
|
* Returns a URL to upload a file to Metriport and make the document available to other HIEs.
|
|
432
|
-
* To upload your file contents, execute a PUT request using this
|
|
433
|
-
* Refer to Metriport
|
|
432
|
+
* To upload your file contents, execute a PUT request using this URL with the file contents as the request body.
|
|
433
|
+
* Refer to Metriport documentation for more details:
|
|
434
434
|
* https://docs.metriport.com/medical-api/api-reference/document/post-upload-url
|
|
435
435
|
*
|
|
436
436
|
* @param patientId - the ID of the patient.
|
|
@@ -3,20 +3,20 @@ export declare const addressSchema: z.ZodObject<{
|
|
|
3
3
|
addressLine1: z.ZodString;
|
|
4
4
|
addressLine2: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>;
|
|
5
5
|
city: z.ZodString;
|
|
6
|
-
state: z.
|
|
6
|
+
state: z.ZodNativeEnum<typeof import("./us-data").USState>;
|
|
7
7
|
zip: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
8
8
|
country: z.ZodDefault<z.ZodOptional<z.ZodLiteral<"USA">>>;
|
|
9
9
|
}, "strip", z.ZodTypeAny, {
|
|
10
10
|
addressLine1: string;
|
|
11
11
|
city: string;
|
|
12
|
-
state:
|
|
12
|
+
state: import("./us-data").USState;
|
|
13
13
|
zip: string;
|
|
14
14
|
country: "USA";
|
|
15
15
|
addressLine2?: string | undefined;
|
|
16
16
|
}, {
|
|
17
17
|
addressLine1: string;
|
|
18
18
|
city: string;
|
|
19
|
-
state:
|
|
19
|
+
state: import("./us-data").USState;
|
|
20
20
|
zip: string;
|
|
21
21
|
addressLine2?: string | undefined;
|
|
22
22
|
country?: "USA" | undefined;
|
|
@@ -9,7 +9,7 @@ exports.addressSchema = zod_1.z.object({
|
|
|
9
9
|
addressLine1: shared_1.defaultString.min(1, { message: "Address line must be specified." }),
|
|
10
10
|
addressLine2: shared_1.defaultOptionalString,
|
|
11
11
|
city: shared_1.defaultString.min(1, { message: "City must be specified." }),
|
|
12
|
-
state: us_data_1.usStateSchema
|
|
12
|
+
state: us_data_1.usStateSchema,
|
|
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,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,iCAAiC,EAAE,CAAC;IAClF,YAAY,EAAE,8BAAqB;IACnC,IAAI,EAAE,sBAAa,CAAC,GAAG,CAAC,CAAC,EAAE,EAAE,OAAO,EAAE,yBAAyB,EAAE,CAAC;IAClE,KAAK,EAAE,uBAAa
|
|
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,iCAAiC,EAAE,CAAC;IAClF,YAAY,EAAE,8BAAqB;IACnC,IAAI,EAAE,sBAAa,CAAC,GAAG,CAAC,CAAC,EAAE,EAAE,OAAO,EAAE,yBAAyB,EAAE,CAAC;IAClE,KAAK,EAAE,uBAAa;IACpB,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,WAAW;KACpE,CAAC;IACJ,OAAO,EAAE,OAAC,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,QAAQ,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC;CACpD,CAAC,CAAC"}
|
|
@@ -134,20 +134,20 @@ export declare const demographicsSchema: z.ZodObject<{
|
|
|
134
134
|
addressLine1: z.ZodString;
|
|
135
135
|
addressLine2: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>;
|
|
136
136
|
city: z.ZodString;
|
|
137
|
-
state: z.
|
|
137
|
+
state: z.ZodNativeEnum<typeof import("./common/us-data").USState>;
|
|
138
138
|
zip: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
139
139
|
country: z.ZodDefault<z.ZodOptional<z.ZodLiteral<"USA">>>;
|
|
140
140
|
}, "strip", z.ZodTypeAny, {
|
|
141
141
|
addressLine1: string;
|
|
142
142
|
city: string;
|
|
143
|
-
state:
|
|
143
|
+
state: import("./common/us-data").USState;
|
|
144
144
|
zip: string;
|
|
145
145
|
country: "USA";
|
|
146
146
|
addressLine2?: string | undefined;
|
|
147
147
|
}, {
|
|
148
148
|
addressLine1: string;
|
|
149
149
|
city: string;
|
|
150
|
-
state:
|
|
150
|
+
state: import("./common/us-data").USState;
|
|
151
151
|
zip: string;
|
|
152
152
|
addressLine2?: string | undefined;
|
|
153
153
|
country?: "USA" | undefined;
|
|
@@ -155,20 +155,20 @@ export declare const demographicsSchema: z.ZodObject<{
|
|
|
155
155
|
addressLine1: z.ZodString;
|
|
156
156
|
addressLine2: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>;
|
|
157
157
|
city: z.ZodString;
|
|
158
|
-
state: z.
|
|
158
|
+
state: z.ZodNativeEnum<typeof import("./common/us-data").USState>;
|
|
159
159
|
zip: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
160
160
|
country: z.ZodDefault<z.ZodOptional<z.ZodLiteral<"USA">>>;
|
|
161
161
|
}, "strip", z.ZodTypeAny, {
|
|
162
162
|
addressLine1: string;
|
|
163
163
|
city: string;
|
|
164
|
-
state:
|
|
164
|
+
state: import("./common/us-data").USState;
|
|
165
165
|
zip: string;
|
|
166
166
|
country: "USA";
|
|
167
167
|
addressLine2?: string | undefined;
|
|
168
168
|
}, {
|
|
169
169
|
addressLine1: string;
|
|
170
170
|
city: string;
|
|
171
|
-
state:
|
|
171
|
+
state: import("./common/us-data").USState;
|
|
172
172
|
zip: string;
|
|
173
173
|
addressLine2?: string | undefined;
|
|
174
174
|
country?: "USA" | undefined;
|
|
@@ -208,28 +208,28 @@ export declare const demographicsSchema: z.ZodObject<{
|
|
|
208
208
|
address: ({
|
|
209
209
|
addressLine1: string;
|
|
210
210
|
city: string;
|
|
211
|
-
state:
|
|
211
|
+
state: import("./common/us-data").USState;
|
|
212
212
|
zip: string;
|
|
213
213
|
country: "USA";
|
|
214
214
|
addressLine2?: string | undefined;
|
|
215
215
|
} | {
|
|
216
216
|
addressLine1: string;
|
|
217
217
|
city: string;
|
|
218
|
-
state:
|
|
218
|
+
state: import("./common/us-data").USState;
|
|
219
219
|
zip: string;
|
|
220
220
|
country: "USA";
|
|
221
221
|
addressLine2?: string | undefined;
|
|
222
222
|
}[]) & ({
|
|
223
223
|
addressLine1: string;
|
|
224
224
|
city: string;
|
|
225
|
-
state:
|
|
225
|
+
state: import("./common/us-data").USState;
|
|
226
226
|
zip: string;
|
|
227
227
|
country: "USA";
|
|
228
228
|
addressLine2?: string | undefined;
|
|
229
229
|
} | {
|
|
230
230
|
addressLine1: string;
|
|
231
231
|
city: string;
|
|
232
|
-
state:
|
|
232
|
+
state: import("./common/us-data").USState;
|
|
233
233
|
zip: string;
|
|
234
234
|
country: "USA";
|
|
235
235
|
addressLine2?: string | undefined;
|
|
@@ -262,28 +262,28 @@ export declare const demographicsSchema: z.ZodObject<{
|
|
|
262
262
|
address: ({
|
|
263
263
|
addressLine1: string;
|
|
264
264
|
city: string;
|
|
265
|
-
state:
|
|
265
|
+
state: import("./common/us-data").USState;
|
|
266
266
|
zip: string;
|
|
267
267
|
addressLine2?: string | undefined;
|
|
268
268
|
country?: "USA" | undefined;
|
|
269
269
|
} | {
|
|
270
270
|
addressLine1: string;
|
|
271
271
|
city: string;
|
|
272
|
-
state:
|
|
272
|
+
state: import("./common/us-data").USState;
|
|
273
273
|
zip: string;
|
|
274
274
|
addressLine2?: string | undefined;
|
|
275
275
|
country?: "USA" | undefined;
|
|
276
276
|
}[]) & ({
|
|
277
277
|
addressLine1: string;
|
|
278
278
|
city: string;
|
|
279
|
-
state:
|
|
279
|
+
state: import("./common/us-data").USState;
|
|
280
280
|
zip: string;
|
|
281
281
|
addressLine2?: string | undefined;
|
|
282
282
|
country?: "USA" | undefined;
|
|
283
283
|
} | {
|
|
284
284
|
addressLine1: string;
|
|
285
285
|
city: string;
|
|
286
|
-
state:
|
|
286
|
+
state: import("./common/us-data").USState;
|
|
287
287
|
zip: string;
|
|
288
288
|
addressLine2?: string | undefined;
|
|
289
289
|
country?: "USA" | undefined;
|
|
@@ -8,20 +8,20 @@ export declare const facilityCreateSchema: z.ZodObject<{
|
|
|
8
8
|
addressLine1: z.ZodString;
|
|
9
9
|
addressLine2: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>;
|
|
10
10
|
city: z.ZodString;
|
|
11
|
-
state: z.
|
|
11
|
+
state: z.ZodNativeEnum<typeof import("./common/us-data").USState>;
|
|
12
12
|
zip: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
13
13
|
country: z.ZodDefault<z.ZodOptional<z.ZodLiteral<"USA">>>;
|
|
14
14
|
}, "strip", z.ZodTypeAny, {
|
|
15
15
|
addressLine1: string;
|
|
16
16
|
city: string;
|
|
17
|
-
state:
|
|
17
|
+
state: import("./common/us-data").USState;
|
|
18
18
|
zip: string;
|
|
19
19
|
country: "USA";
|
|
20
20
|
addressLine2?: string | undefined;
|
|
21
21
|
}, {
|
|
22
22
|
addressLine1: string;
|
|
23
23
|
city: string;
|
|
24
|
-
state:
|
|
24
|
+
state: import("./common/us-data").USState;
|
|
25
25
|
zip: string;
|
|
26
26
|
addressLine2?: string | undefined;
|
|
27
27
|
country?: "USA" | undefined;
|
|
@@ -32,7 +32,7 @@ export declare const facilityCreateSchema: z.ZodObject<{
|
|
|
32
32
|
address: {
|
|
33
33
|
addressLine1: string;
|
|
34
34
|
city: string;
|
|
35
|
-
state:
|
|
35
|
+
state: import("./common/us-data").USState;
|
|
36
36
|
zip: string;
|
|
37
37
|
country: "USA";
|
|
38
38
|
addressLine2?: string | undefined;
|
|
@@ -45,7 +45,7 @@ export declare const facilityCreateSchema: z.ZodObject<{
|
|
|
45
45
|
address: {
|
|
46
46
|
addressLine1: string;
|
|
47
47
|
city: string;
|
|
48
|
-
state:
|
|
48
|
+
state: import("./common/us-data").USState;
|
|
49
49
|
zip: string;
|
|
50
50
|
addressLine2?: string | undefined;
|
|
51
51
|
country?: "USA" | undefined;
|
|
@@ -63,20 +63,20 @@ export declare const facilitySchema: z.ZodObject<{
|
|
|
63
63
|
addressLine1: z.ZodString;
|
|
64
64
|
addressLine2: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>;
|
|
65
65
|
city: z.ZodString;
|
|
66
|
-
state: z.
|
|
66
|
+
state: z.ZodNativeEnum<typeof import("./common/us-data").USState>;
|
|
67
67
|
zip: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
68
68
|
country: z.ZodDefault<z.ZodOptional<z.ZodLiteral<"USA">>>;
|
|
69
69
|
}, "strip", z.ZodTypeAny, {
|
|
70
70
|
addressLine1: string;
|
|
71
71
|
city: string;
|
|
72
|
-
state:
|
|
72
|
+
state: import("./common/us-data").USState;
|
|
73
73
|
zip: string;
|
|
74
74
|
country: "USA";
|
|
75
75
|
addressLine2?: string | undefined;
|
|
76
76
|
}, {
|
|
77
77
|
addressLine1: string;
|
|
78
78
|
city: string;
|
|
79
|
-
state:
|
|
79
|
+
state: import("./common/us-data").USState;
|
|
80
80
|
zip: string;
|
|
81
81
|
addressLine2?: string | undefined;
|
|
82
82
|
country?: "USA" | undefined;
|
|
@@ -90,7 +90,7 @@ export declare const facilitySchema: z.ZodObject<{
|
|
|
90
90
|
address: {
|
|
91
91
|
addressLine1: string;
|
|
92
92
|
city: string;
|
|
93
|
-
state:
|
|
93
|
+
state: import("./common/us-data").USState;
|
|
94
94
|
zip: string;
|
|
95
95
|
country: "USA";
|
|
96
96
|
addressLine2?: string | undefined;
|
|
@@ -105,7 +105,7 @@ export declare const facilitySchema: z.ZodObject<{
|
|
|
105
105
|
address: {
|
|
106
106
|
addressLine1: string;
|
|
107
107
|
city: string;
|
|
108
|
-
state:
|
|
108
|
+
state: import("./common/us-data").USState;
|
|
109
109
|
zip: string;
|
|
110
110
|
addressLine2?: string | undefined;
|
|
111
111
|
country?: "USA" | undefined;
|
|
@@ -125,20 +125,20 @@ export declare const facilityListSchema: z.ZodObject<{
|
|
|
125
125
|
addressLine1: z.ZodString;
|
|
126
126
|
addressLine2: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>;
|
|
127
127
|
city: z.ZodString;
|
|
128
|
-
state: z.
|
|
128
|
+
state: z.ZodNativeEnum<typeof import("./common/us-data").USState>;
|
|
129
129
|
zip: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
130
130
|
country: z.ZodDefault<z.ZodOptional<z.ZodLiteral<"USA">>>;
|
|
131
131
|
}, "strip", z.ZodTypeAny, {
|
|
132
132
|
addressLine1: string;
|
|
133
133
|
city: string;
|
|
134
|
-
state:
|
|
134
|
+
state: import("./common/us-data").USState;
|
|
135
135
|
zip: string;
|
|
136
136
|
country: "USA";
|
|
137
137
|
addressLine2?: string | undefined;
|
|
138
138
|
}, {
|
|
139
139
|
addressLine1: string;
|
|
140
140
|
city: string;
|
|
141
|
-
state:
|
|
141
|
+
state: import("./common/us-data").USState;
|
|
142
142
|
zip: string;
|
|
143
143
|
addressLine2?: string | undefined;
|
|
144
144
|
country?: "USA" | undefined;
|
|
@@ -152,7 +152,7 @@ export declare const facilityListSchema: z.ZodObject<{
|
|
|
152
152
|
address: {
|
|
153
153
|
addressLine1: string;
|
|
154
154
|
city: string;
|
|
155
|
-
state:
|
|
155
|
+
state: import("./common/us-data").USState;
|
|
156
156
|
zip: string;
|
|
157
157
|
country: "USA";
|
|
158
158
|
addressLine2?: string | undefined;
|
|
@@ -167,7 +167,7 @@ export declare const facilityListSchema: z.ZodObject<{
|
|
|
167
167
|
address: {
|
|
168
168
|
addressLine1: string;
|
|
169
169
|
city: string;
|
|
170
|
-
state:
|
|
170
|
+
state: import("./common/us-data").USState;
|
|
171
171
|
zip: string;
|
|
172
172
|
addressLine2?: string | undefined;
|
|
173
173
|
country?: "USA" | undefined;
|
|
@@ -184,7 +184,7 @@ export declare const facilityListSchema: z.ZodObject<{
|
|
|
184
184
|
address: {
|
|
185
185
|
addressLine1: string;
|
|
186
186
|
city: string;
|
|
187
|
-
state:
|
|
187
|
+
state: import("./common/us-data").USState;
|
|
188
188
|
zip: string;
|
|
189
189
|
country: "USA";
|
|
190
190
|
addressLine2?: string | undefined;
|
|
@@ -201,7 +201,7 @@ export declare const facilityListSchema: z.ZodObject<{
|
|
|
201
201
|
address: {
|
|
202
202
|
addressLine1: string;
|
|
203
203
|
city: string;
|
|
204
|
-
state:
|
|
204
|
+
state: import("./common/us-data").USState;
|
|
205
205
|
zip: string;
|
|
206
206
|
addressLine2?: string | undefined;
|
|
207
207
|
country?: "USA" | undefined;
|
|
@@ -15,20 +15,20 @@ export declare const organizationCreateSchema: z.ZodObject<{
|
|
|
15
15
|
addressLine1: z.ZodString;
|
|
16
16
|
addressLine2: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>;
|
|
17
17
|
city: z.ZodString;
|
|
18
|
-
state: z.
|
|
18
|
+
state: z.ZodNativeEnum<typeof import("./common/us-data").USState>;
|
|
19
19
|
zip: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
20
20
|
country: z.ZodDefault<z.ZodOptional<z.ZodLiteral<"USA">>>;
|
|
21
21
|
}, "strip", z.ZodTypeAny, {
|
|
22
22
|
addressLine1: string;
|
|
23
23
|
city: string;
|
|
24
|
-
state:
|
|
24
|
+
state: import("./common/us-data").USState;
|
|
25
25
|
zip: string;
|
|
26
26
|
country: "USA";
|
|
27
27
|
addressLine2?: string | undefined;
|
|
28
28
|
}, {
|
|
29
29
|
addressLine1: string;
|
|
30
30
|
city: string;
|
|
31
|
-
state:
|
|
31
|
+
state: import("./common/us-data").USState;
|
|
32
32
|
zip: string;
|
|
33
33
|
addressLine2?: string | undefined;
|
|
34
34
|
country?: "USA" | undefined;
|
|
@@ -39,7 +39,7 @@ export declare const organizationCreateSchema: z.ZodObject<{
|
|
|
39
39
|
location: {
|
|
40
40
|
addressLine1: string;
|
|
41
41
|
city: string;
|
|
42
|
-
state:
|
|
42
|
+
state: import("./common/us-data").USState;
|
|
43
43
|
zip: string;
|
|
44
44
|
country: "USA";
|
|
45
45
|
addressLine2?: string | undefined;
|
|
@@ -50,7 +50,7 @@ export declare const organizationCreateSchema: z.ZodObject<{
|
|
|
50
50
|
location: {
|
|
51
51
|
addressLine1: string;
|
|
52
52
|
city: string;
|
|
53
|
-
state:
|
|
53
|
+
state: import("./common/us-data").USState;
|
|
54
54
|
zip: string;
|
|
55
55
|
addressLine2?: string | undefined;
|
|
56
56
|
country?: "USA" | undefined;
|
|
@@ -64,20 +64,20 @@ export declare const organizationSchema: z.ZodObject<{
|
|
|
64
64
|
addressLine1: z.ZodString;
|
|
65
65
|
addressLine2: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>;
|
|
66
66
|
city: z.ZodString;
|
|
67
|
-
state: z.
|
|
67
|
+
state: z.ZodNativeEnum<typeof import("./common/us-data").USState>;
|
|
68
68
|
zip: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
69
69
|
country: z.ZodDefault<z.ZodOptional<z.ZodLiteral<"USA">>>;
|
|
70
70
|
}, "strip", z.ZodTypeAny, {
|
|
71
71
|
addressLine1: string;
|
|
72
72
|
city: string;
|
|
73
|
-
state:
|
|
73
|
+
state: import("./common/us-data").USState;
|
|
74
74
|
zip: string;
|
|
75
75
|
country: "USA";
|
|
76
76
|
addressLine2?: string | undefined;
|
|
77
77
|
}, {
|
|
78
78
|
addressLine1: string;
|
|
79
79
|
city: string;
|
|
80
|
-
state:
|
|
80
|
+
state: import("./common/us-data").USState;
|
|
81
81
|
zip: string;
|
|
82
82
|
addressLine2?: string | undefined;
|
|
83
83
|
country?: "USA" | undefined;
|
|
@@ -92,7 +92,7 @@ export declare const organizationSchema: z.ZodObject<{
|
|
|
92
92
|
location: {
|
|
93
93
|
addressLine1: string;
|
|
94
94
|
city: string;
|
|
95
|
-
state:
|
|
95
|
+
state: import("./common/us-data").USState;
|
|
96
96
|
zip: string;
|
|
97
97
|
country: "USA";
|
|
98
98
|
addressLine2?: string | undefined;
|
|
@@ -106,7 +106,7 @@ export declare const organizationSchema: z.ZodObject<{
|
|
|
106
106
|
location: {
|
|
107
107
|
addressLine1: string;
|
|
108
108
|
city: string;
|
|
109
|
-
state:
|
|
109
|
+
state: import("./common/us-data").USState;
|
|
110
110
|
zip: string;
|
|
111
111
|
addressLine2?: string | undefined;
|
|
112
112
|
country?: "USA" | undefined;
|
|
@@ -57,20 +57,20 @@ export declare const patientCreateSchema: z.ZodObject<{
|
|
|
57
57
|
addressLine1: z.ZodString;
|
|
58
58
|
addressLine2: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>;
|
|
59
59
|
city: z.ZodString;
|
|
60
|
-
state: z.
|
|
60
|
+
state: z.ZodNativeEnum<typeof import("./common/us-data").USState>;
|
|
61
61
|
zip: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
62
62
|
country: z.ZodDefault<z.ZodOptional<z.ZodLiteral<"USA">>>;
|
|
63
63
|
}, "strip", z.ZodTypeAny, {
|
|
64
64
|
addressLine1: string;
|
|
65
65
|
city: string;
|
|
66
|
-
state:
|
|
66
|
+
state: import("./common/us-data").USState;
|
|
67
67
|
zip: string;
|
|
68
68
|
country: "USA";
|
|
69
69
|
addressLine2?: string | undefined;
|
|
70
70
|
}, {
|
|
71
71
|
addressLine1: string;
|
|
72
72
|
city: string;
|
|
73
|
-
state:
|
|
73
|
+
state: import("./common/us-data").USState;
|
|
74
74
|
zip: string;
|
|
75
75
|
addressLine2?: string | undefined;
|
|
76
76
|
country?: "USA" | undefined;
|
|
@@ -78,20 +78,20 @@ export declare const patientCreateSchema: z.ZodObject<{
|
|
|
78
78
|
addressLine1: z.ZodString;
|
|
79
79
|
addressLine2: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>;
|
|
80
80
|
city: z.ZodString;
|
|
81
|
-
state: z.
|
|
81
|
+
state: z.ZodNativeEnum<typeof import("./common/us-data").USState>;
|
|
82
82
|
zip: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
83
83
|
country: z.ZodDefault<z.ZodOptional<z.ZodLiteral<"USA">>>;
|
|
84
84
|
}, "strip", z.ZodTypeAny, {
|
|
85
85
|
addressLine1: string;
|
|
86
86
|
city: string;
|
|
87
|
-
state:
|
|
87
|
+
state: import("./common/us-data").USState;
|
|
88
88
|
zip: string;
|
|
89
89
|
country: "USA";
|
|
90
90
|
addressLine2?: string | undefined;
|
|
91
91
|
}, {
|
|
92
92
|
addressLine1: string;
|
|
93
93
|
city: string;
|
|
94
|
-
state:
|
|
94
|
+
state: import("./common/us-data").USState;
|
|
95
95
|
zip: string;
|
|
96
96
|
addressLine2?: string | undefined;
|
|
97
97
|
country?: "USA" | undefined;
|
|
@@ -131,28 +131,28 @@ export declare const patientCreateSchema: z.ZodObject<{
|
|
|
131
131
|
address: ({
|
|
132
132
|
addressLine1: string;
|
|
133
133
|
city: string;
|
|
134
|
-
state:
|
|
134
|
+
state: import("./common/us-data").USState;
|
|
135
135
|
zip: string;
|
|
136
136
|
country: "USA";
|
|
137
137
|
addressLine2?: string | undefined;
|
|
138
138
|
} | {
|
|
139
139
|
addressLine1: string;
|
|
140
140
|
city: string;
|
|
141
|
-
state:
|
|
141
|
+
state: import("./common/us-data").USState;
|
|
142
142
|
zip: string;
|
|
143
143
|
country: "USA";
|
|
144
144
|
addressLine2?: string | undefined;
|
|
145
145
|
}[]) & ({
|
|
146
146
|
addressLine1: string;
|
|
147
147
|
city: string;
|
|
148
|
-
state:
|
|
148
|
+
state: import("./common/us-data").USState;
|
|
149
149
|
zip: string;
|
|
150
150
|
country: "USA";
|
|
151
151
|
addressLine2?: string | undefined;
|
|
152
152
|
} | {
|
|
153
153
|
addressLine1: string;
|
|
154
154
|
city: string;
|
|
155
|
-
state:
|
|
155
|
+
state: import("./common/us-data").USState;
|
|
156
156
|
zip: string;
|
|
157
157
|
country: "USA";
|
|
158
158
|
addressLine2?: string | undefined;
|
|
@@ -185,28 +185,28 @@ export declare const patientCreateSchema: z.ZodObject<{
|
|
|
185
185
|
address: ({
|
|
186
186
|
addressLine1: string;
|
|
187
187
|
city: string;
|
|
188
|
-
state:
|
|
188
|
+
state: import("./common/us-data").USState;
|
|
189
189
|
zip: string;
|
|
190
190
|
addressLine2?: string | undefined;
|
|
191
191
|
country?: "USA" | undefined;
|
|
192
192
|
} | {
|
|
193
193
|
addressLine1: string;
|
|
194
194
|
city: string;
|
|
195
|
-
state:
|
|
195
|
+
state: import("./common/us-data").USState;
|
|
196
196
|
zip: string;
|
|
197
197
|
addressLine2?: string | undefined;
|
|
198
198
|
country?: "USA" | undefined;
|
|
199
199
|
}[]) & ({
|
|
200
200
|
addressLine1: string;
|
|
201
201
|
city: string;
|
|
202
|
-
state:
|
|
202
|
+
state: import("./common/us-data").USState;
|
|
203
203
|
zip: string;
|
|
204
204
|
addressLine2?: string | undefined;
|
|
205
205
|
country?: "USA" | undefined;
|
|
206
206
|
} | {
|
|
207
207
|
addressLine1: string;
|
|
208
208
|
city: string;
|
|
209
|
-
state:
|
|
209
|
+
state: import("./common/us-data").USState;
|
|
210
210
|
zip: string;
|
|
211
211
|
addressLine2?: string | undefined;
|
|
212
212
|
country?: "USA" | undefined;
|
|
@@ -242,20 +242,20 @@ export declare const patientUpdateSchema: z.ZodObject<{
|
|
|
242
242
|
addressLine1: z.ZodString;
|
|
243
243
|
addressLine2: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>;
|
|
244
244
|
city: z.ZodString;
|
|
245
|
-
state: z.
|
|
245
|
+
state: z.ZodNativeEnum<typeof import("./common/us-data").USState>;
|
|
246
246
|
zip: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
247
247
|
country: z.ZodDefault<z.ZodOptional<z.ZodLiteral<"USA">>>;
|
|
248
248
|
}, "strip", z.ZodTypeAny, {
|
|
249
249
|
addressLine1: string;
|
|
250
250
|
city: string;
|
|
251
|
-
state:
|
|
251
|
+
state: import("./common/us-data").USState;
|
|
252
252
|
zip: string;
|
|
253
253
|
country: "USA";
|
|
254
254
|
addressLine2?: string | undefined;
|
|
255
255
|
}, {
|
|
256
256
|
addressLine1: string;
|
|
257
257
|
city: string;
|
|
258
|
-
state:
|
|
258
|
+
state: import("./common/us-data").USState;
|
|
259
259
|
zip: string;
|
|
260
260
|
addressLine2?: string | undefined;
|
|
261
261
|
country?: "USA" | undefined;
|
|
@@ -263,20 +263,20 @@ export declare const patientUpdateSchema: z.ZodObject<{
|
|
|
263
263
|
addressLine1: z.ZodString;
|
|
264
264
|
addressLine2: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>;
|
|
265
265
|
city: z.ZodString;
|
|
266
|
-
state: z.
|
|
266
|
+
state: z.ZodNativeEnum<typeof import("./common/us-data").USState>;
|
|
267
267
|
zip: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
268
268
|
country: z.ZodDefault<z.ZodOptional<z.ZodLiteral<"USA">>>;
|
|
269
269
|
}, "strip", z.ZodTypeAny, {
|
|
270
270
|
addressLine1: string;
|
|
271
271
|
city: string;
|
|
272
|
-
state:
|
|
272
|
+
state: import("./common/us-data").USState;
|
|
273
273
|
zip: string;
|
|
274
274
|
country: "USA";
|
|
275
275
|
addressLine2?: string | undefined;
|
|
276
276
|
}, {
|
|
277
277
|
addressLine1: string;
|
|
278
278
|
city: string;
|
|
279
|
-
state:
|
|
279
|
+
state: import("./common/us-data").USState;
|
|
280
280
|
zip: string;
|
|
281
281
|
addressLine2?: string | undefined;
|
|
282
282
|
country?: "USA" | undefined;
|
|
@@ -372,28 +372,28 @@ export declare const patientUpdateSchema: z.ZodObject<{
|
|
|
372
372
|
address: ({
|
|
373
373
|
addressLine1: string;
|
|
374
374
|
city: string;
|
|
375
|
-
state:
|
|
375
|
+
state: import("./common/us-data").USState;
|
|
376
376
|
zip: string;
|
|
377
377
|
country: "USA";
|
|
378
378
|
addressLine2?: string | undefined;
|
|
379
379
|
} | {
|
|
380
380
|
addressLine1: string;
|
|
381
381
|
city: string;
|
|
382
|
-
state:
|
|
382
|
+
state: import("./common/us-data").USState;
|
|
383
383
|
zip: string;
|
|
384
384
|
country: "USA";
|
|
385
385
|
addressLine2?: string | undefined;
|
|
386
386
|
}[]) & ({
|
|
387
387
|
addressLine1: string;
|
|
388
388
|
city: string;
|
|
389
|
-
state:
|
|
389
|
+
state: import("./common/us-data").USState;
|
|
390
390
|
zip: string;
|
|
391
391
|
country: "USA";
|
|
392
392
|
addressLine2?: string | undefined;
|
|
393
393
|
} | {
|
|
394
394
|
addressLine1: string;
|
|
395
395
|
city: string;
|
|
396
|
-
state:
|
|
396
|
+
state: import("./common/us-data").USState;
|
|
397
397
|
zip: string;
|
|
398
398
|
country: "USA";
|
|
399
399
|
addressLine2?: string | undefined;
|
|
@@ -428,28 +428,28 @@ export declare const patientUpdateSchema: z.ZodObject<{
|
|
|
428
428
|
address: ({
|
|
429
429
|
addressLine1: string;
|
|
430
430
|
city: string;
|
|
431
|
-
state:
|
|
431
|
+
state: import("./common/us-data").USState;
|
|
432
432
|
zip: string;
|
|
433
433
|
addressLine2?: string | undefined;
|
|
434
434
|
country?: "USA" | undefined;
|
|
435
435
|
} | {
|
|
436
436
|
addressLine1: string;
|
|
437
437
|
city: string;
|
|
438
|
-
state:
|
|
438
|
+
state: import("./common/us-data").USState;
|
|
439
439
|
zip: string;
|
|
440
440
|
addressLine2?: string | undefined;
|
|
441
441
|
country?: "USA" | undefined;
|
|
442
442
|
}[]) & ({
|
|
443
443
|
addressLine1: string;
|
|
444
444
|
city: string;
|
|
445
|
-
state:
|
|
445
|
+
state: import("./common/us-data").USState;
|
|
446
446
|
zip: string;
|
|
447
447
|
addressLine2?: string | undefined;
|
|
448
448
|
country?: "USA" | undefined;
|
|
449
449
|
} | {
|
|
450
450
|
addressLine1: string;
|
|
451
451
|
city: string;
|
|
452
|
-
state:
|
|
452
|
+
state: import("./common/us-data").USState;
|
|
453
453
|
zip: string;
|
|
454
454
|
addressLine2?: string | undefined;
|
|
455
455
|
country?: "USA" | undefined;
|
|
@@ -488,20 +488,20 @@ export declare const patientSchema: z.ZodObject<{
|
|
|
488
488
|
addressLine1: z.ZodString;
|
|
489
489
|
addressLine2: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>;
|
|
490
490
|
city: z.ZodString;
|
|
491
|
-
state: z.
|
|
491
|
+
state: z.ZodNativeEnum<typeof import("./common/us-data").USState>;
|
|
492
492
|
zip: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
493
493
|
country: z.ZodDefault<z.ZodOptional<z.ZodLiteral<"USA">>>;
|
|
494
494
|
}, "strip", z.ZodTypeAny, {
|
|
495
495
|
addressLine1: string;
|
|
496
496
|
city: string;
|
|
497
|
-
state:
|
|
497
|
+
state: import("./common/us-data").USState;
|
|
498
498
|
zip: string;
|
|
499
499
|
country: "USA";
|
|
500
500
|
addressLine2?: string | undefined;
|
|
501
501
|
}, {
|
|
502
502
|
addressLine1: string;
|
|
503
503
|
city: string;
|
|
504
|
-
state:
|
|
504
|
+
state: import("./common/us-data").USState;
|
|
505
505
|
zip: string;
|
|
506
506
|
addressLine2?: string | undefined;
|
|
507
507
|
country?: "USA" | undefined;
|
|
@@ -509,20 +509,20 @@ export declare const patientSchema: z.ZodObject<{
|
|
|
509
509
|
addressLine1: z.ZodString;
|
|
510
510
|
addressLine2: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>;
|
|
511
511
|
city: z.ZodString;
|
|
512
|
-
state: z.
|
|
512
|
+
state: z.ZodNativeEnum<typeof import("./common/us-data").USState>;
|
|
513
513
|
zip: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
514
514
|
country: z.ZodDefault<z.ZodOptional<z.ZodLiteral<"USA">>>;
|
|
515
515
|
}, "strip", z.ZodTypeAny, {
|
|
516
516
|
addressLine1: string;
|
|
517
517
|
city: string;
|
|
518
|
-
state:
|
|
518
|
+
state: import("./common/us-data").USState;
|
|
519
519
|
zip: string;
|
|
520
520
|
country: "USA";
|
|
521
521
|
addressLine2?: string | undefined;
|
|
522
522
|
}, {
|
|
523
523
|
addressLine1: string;
|
|
524
524
|
city: string;
|
|
525
|
-
state:
|
|
525
|
+
state: import("./common/us-data").USState;
|
|
526
526
|
zip: string;
|
|
527
527
|
addressLine2?: string | undefined;
|
|
528
528
|
country?: "USA" | undefined;
|
|
@@ -617,28 +617,28 @@ export declare const patientSchema: z.ZodObject<{
|
|
|
617
617
|
address: ({
|
|
618
618
|
addressLine1: string;
|
|
619
619
|
city: string;
|
|
620
|
-
state:
|
|
620
|
+
state: import("./common/us-data").USState;
|
|
621
621
|
zip: string;
|
|
622
622
|
country: "USA";
|
|
623
623
|
addressLine2?: string | undefined;
|
|
624
624
|
} | {
|
|
625
625
|
addressLine1: string;
|
|
626
626
|
city: string;
|
|
627
|
-
state:
|
|
627
|
+
state: import("./common/us-data").USState;
|
|
628
628
|
zip: string;
|
|
629
629
|
country: "USA";
|
|
630
630
|
addressLine2?: string | undefined;
|
|
631
631
|
}[]) & ({
|
|
632
632
|
addressLine1: string;
|
|
633
633
|
city: string;
|
|
634
|
-
state:
|
|
634
|
+
state: import("./common/us-data").USState;
|
|
635
635
|
zip: string;
|
|
636
636
|
country: "USA";
|
|
637
637
|
addressLine2?: string | undefined;
|
|
638
638
|
} | {
|
|
639
639
|
addressLine1: string;
|
|
640
640
|
city: string;
|
|
641
|
-
state:
|
|
641
|
+
state: import("./common/us-data").USState;
|
|
642
642
|
zip: string;
|
|
643
643
|
country: "USA";
|
|
644
644
|
addressLine2?: string | undefined;
|
|
@@ -674,28 +674,28 @@ export declare const patientSchema: z.ZodObject<{
|
|
|
674
674
|
address: ({
|
|
675
675
|
addressLine1: string;
|
|
676
676
|
city: string;
|
|
677
|
-
state:
|
|
677
|
+
state: import("./common/us-data").USState;
|
|
678
678
|
zip: string;
|
|
679
679
|
addressLine2?: string | undefined;
|
|
680
680
|
country?: "USA" | undefined;
|
|
681
681
|
} | {
|
|
682
682
|
addressLine1: string;
|
|
683
683
|
city: string;
|
|
684
|
-
state:
|
|
684
|
+
state: import("./common/us-data").USState;
|
|
685
685
|
zip: string;
|
|
686
686
|
addressLine2?: string | undefined;
|
|
687
687
|
country?: "USA" | undefined;
|
|
688
688
|
}[]) & ({
|
|
689
689
|
addressLine1: string;
|
|
690
690
|
city: string;
|
|
691
|
-
state:
|
|
691
|
+
state: import("./common/us-data").USState;
|
|
692
692
|
zip: string;
|
|
693
693
|
addressLine2?: string | undefined;
|
|
694
694
|
country?: "USA" | undefined;
|
|
695
695
|
} | {
|
|
696
696
|
addressLine1: string;
|
|
697
697
|
city: string;
|
|
698
|
-
state:
|
|
698
|
+
state: import("./common/us-data").USState;
|
|
699
699
|
zip: string;
|
|
700
700
|
addressLine2?: string | undefined;
|
|
701
701
|
country?: "USA" | undefined;
|
|
@@ -736,20 +736,20 @@ export declare const patientListSchema: z.ZodObject<{
|
|
|
736
736
|
addressLine1: z.ZodString;
|
|
737
737
|
addressLine2: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>;
|
|
738
738
|
city: z.ZodString;
|
|
739
|
-
state: z.
|
|
739
|
+
state: z.ZodNativeEnum<typeof import("./common/us-data").USState>;
|
|
740
740
|
zip: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
741
741
|
country: z.ZodDefault<z.ZodOptional<z.ZodLiteral<"USA">>>;
|
|
742
742
|
}, "strip", z.ZodTypeAny, {
|
|
743
743
|
addressLine1: string;
|
|
744
744
|
city: string;
|
|
745
|
-
state:
|
|
745
|
+
state: import("./common/us-data").USState;
|
|
746
746
|
zip: string;
|
|
747
747
|
country: "USA";
|
|
748
748
|
addressLine2?: string | undefined;
|
|
749
749
|
}, {
|
|
750
750
|
addressLine1: string;
|
|
751
751
|
city: string;
|
|
752
|
-
state:
|
|
752
|
+
state: import("./common/us-data").USState;
|
|
753
753
|
zip: string;
|
|
754
754
|
addressLine2?: string | undefined;
|
|
755
755
|
country?: "USA" | undefined;
|
|
@@ -757,20 +757,20 @@ export declare const patientListSchema: z.ZodObject<{
|
|
|
757
757
|
addressLine1: z.ZodString;
|
|
758
758
|
addressLine2: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>;
|
|
759
759
|
city: z.ZodString;
|
|
760
|
-
state: z.
|
|
760
|
+
state: z.ZodNativeEnum<typeof import("./common/us-data").USState>;
|
|
761
761
|
zip: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
762
762
|
country: z.ZodDefault<z.ZodOptional<z.ZodLiteral<"USA">>>;
|
|
763
763
|
}, "strip", z.ZodTypeAny, {
|
|
764
764
|
addressLine1: string;
|
|
765
765
|
city: string;
|
|
766
|
-
state:
|
|
766
|
+
state: import("./common/us-data").USState;
|
|
767
767
|
zip: string;
|
|
768
768
|
country: "USA";
|
|
769
769
|
addressLine2?: string | undefined;
|
|
770
770
|
}, {
|
|
771
771
|
addressLine1: string;
|
|
772
772
|
city: string;
|
|
773
|
-
state:
|
|
773
|
+
state: import("./common/us-data").USState;
|
|
774
774
|
zip: string;
|
|
775
775
|
addressLine2?: string | undefined;
|
|
776
776
|
country?: "USA" | undefined;
|
|
@@ -865,28 +865,28 @@ export declare const patientListSchema: z.ZodObject<{
|
|
|
865
865
|
address: ({
|
|
866
866
|
addressLine1: string;
|
|
867
867
|
city: string;
|
|
868
|
-
state:
|
|
868
|
+
state: import("./common/us-data").USState;
|
|
869
869
|
zip: string;
|
|
870
870
|
country: "USA";
|
|
871
871
|
addressLine2?: string | undefined;
|
|
872
872
|
} | {
|
|
873
873
|
addressLine1: string;
|
|
874
874
|
city: string;
|
|
875
|
-
state:
|
|
875
|
+
state: import("./common/us-data").USState;
|
|
876
876
|
zip: string;
|
|
877
877
|
country: "USA";
|
|
878
878
|
addressLine2?: string | undefined;
|
|
879
879
|
}[]) & ({
|
|
880
880
|
addressLine1: string;
|
|
881
881
|
city: string;
|
|
882
|
-
state:
|
|
882
|
+
state: import("./common/us-data").USState;
|
|
883
883
|
zip: string;
|
|
884
884
|
country: "USA";
|
|
885
885
|
addressLine2?: string | undefined;
|
|
886
886
|
} | {
|
|
887
887
|
addressLine1: string;
|
|
888
888
|
city: string;
|
|
889
|
-
state:
|
|
889
|
+
state: import("./common/us-data").USState;
|
|
890
890
|
zip: string;
|
|
891
891
|
country: "USA";
|
|
892
892
|
addressLine2?: string | undefined;
|
|
@@ -922,28 +922,28 @@ export declare const patientListSchema: z.ZodObject<{
|
|
|
922
922
|
address: ({
|
|
923
923
|
addressLine1: string;
|
|
924
924
|
city: string;
|
|
925
|
-
state:
|
|
925
|
+
state: import("./common/us-data").USState;
|
|
926
926
|
zip: string;
|
|
927
927
|
addressLine2?: string | undefined;
|
|
928
928
|
country?: "USA" | undefined;
|
|
929
929
|
} | {
|
|
930
930
|
addressLine1: string;
|
|
931
931
|
city: string;
|
|
932
|
-
state:
|
|
932
|
+
state: import("./common/us-data").USState;
|
|
933
933
|
zip: string;
|
|
934
934
|
addressLine2?: string | undefined;
|
|
935
935
|
country?: "USA" | undefined;
|
|
936
936
|
}[]) & ({
|
|
937
937
|
addressLine1: string;
|
|
938
938
|
city: string;
|
|
939
|
-
state:
|
|
939
|
+
state: import("./common/us-data").USState;
|
|
940
940
|
zip: string;
|
|
941
941
|
addressLine2?: string | undefined;
|
|
942
942
|
country?: "USA" | undefined;
|
|
943
943
|
} | {
|
|
944
944
|
addressLine1: string;
|
|
945
945
|
city: string;
|
|
946
|
-
state:
|
|
946
|
+
state: import("./common/us-data").USState;
|
|
947
947
|
zip: string;
|
|
948
948
|
addressLine2?: string | undefined;
|
|
949
949
|
country?: "USA" | undefined;
|
|
@@ -981,28 +981,28 @@ export declare const patientListSchema: z.ZodObject<{
|
|
|
981
981
|
address: ({
|
|
982
982
|
addressLine1: string;
|
|
983
983
|
city: string;
|
|
984
|
-
state:
|
|
984
|
+
state: import("./common/us-data").USState;
|
|
985
985
|
zip: string;
|
|
986
986
|
country: "USA";
|
|
987
987
|
addressLine2?: string | undefined;
|
|
988
988
|
} | {
|
|
989
989
|
addressLine1: string;
|
|
990
990
|
city: string;
|
|
991
|
-
state:
|
|
991
|
+
state: import("./common/us-data").USState;
|
|
992
992
|
zip: string;
|
|
993
993
|
country: "USA";
|
|
994
994
|
addressLine2?: string | undefined;
|
|
995
995
|
}[]) & ({
|
|
996
996
|
addressLine1: string;
|
|
997
997
|
city: string;
|
|
998
|
-
state:
|
|
998
|
+
state: import("./common/us-data").USState;
|
|
999
999
|
zip: string;
|
|
1000
1000
|
country: "USA";
|
|
1001
1001
|
addressLine2?: string | undefined;
|
|
1002
1002
|
} | {
|
|
1003
1003
|
addressLine1: string;
|
|
1004
1004
|
city: string;
|
|
1005
|
-
state:
|
|
1005
|
+
state: import("./common/us-data").USState;
|
|
1006
1006
|
zip: string;
|
|
1007
1007
|
country: "USA";
|
|
1008
1008
|
addressLine2?: string | undefined;
|
|
@@ -1040,28 +1040,28 @@ export declare const patientListSchema: z.ZodObject<{
|
|
|
1040
1040
|
address: ({
|
|
1041
1041
|
addressLine1: string;
|
|
1042
1042
|
city: string;
|
|
1043
|
-
state:
|
|
1043
|
+
state: import("./common/us-data").USState;
|
|
1044
1044
|
zip: string;
|
|
1045
1045
|
addressLine2?: string | undefined;
|
|
1046
1046
|
country?: "USA" | undefined;
|
|
1047
1047
|
} | {
|
|
1048
1048
|
addressLine1: string;
|
|
1049
1049
|
city: string;
|
|
1050
|
-
state:
|
|
1050
|
+
state: import("./common/us-data").USState;
|
|
1051
1051
|
zip: string;
|
|
1052
1052
|
addressLine2?: string | undefined;
|
|
1053
1053
|
country?: "USA" | undefined;
|
|
1054
1054
|
}[]) & ({
|
|
1055
1055
|
addressLine1: string;
|
|
1056
1056
|
city: string;
|
|
1057
|
-
state:
|
|
1057
|
+
state: import("./common/us-data").USState;
|
|
1058
1058
|
zip: string;
|
|
1059
1059
|
addressLine2?: string | undefined;
|
|
1060
1060
|
country?: "USA" | undefined;
|
|
1061
1061
|
} | {
|
|
1062
1062
|
addressLine1: string;
|
|
1063
1063
|
city: string;
|
|
1064
|
-
state:
|
|
1064
|
+
state: import("./common/us-data").USState;
|
|
1065
1065
|
zip: string;
|
|
1066
1066
|
addressLine2?: string | undefined;
|
|
1067
1067
|
country?: "USA" | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@metriport/api-sdk",
|
|
3
|
-
"version": "7.6.0
|
|
3
|
+
"version": "7.6.0",
|
|
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.9.0
|
|
59
|
+
"@metriport/commonwell-sdk": "^4.9.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": "e865c0dd13211336d0af1126220258a0687246ce"
|
|
78
78
|
}
|