@metriport/api-sdk 7.8.1 → 7.8.3-alpha.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/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- MIT License Copyright (c) 2022 Metriport Inc.
1
+ MIT License Copyright (c) 2023-present Metriport Inc.
2
2
 
3
3
  Permission is hereby granted, free of
4
4
  charge, to any person obtaining a copy of this software and associated
@@ -18,4 +18,4 @@ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO
18
18
  EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
19
19
  OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
20
20
  FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
- THE SOFTWARE.
21
+ THE SOFTWARE.
@@ -3,7 +3,7 @@ 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.ZodNativeEnum<typeof import("./us-data").USState>;
6
+ state: z.ZodEffects<z.ZodNativeEnum<typeof import("./us-data").USState>, import("./us-data").USState, unknown>;
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, {
@@ -16,9 +16,9 @@ export declare const addressSchema: z.ZodObject<{
16
16
  }, {
17
17
  addressLine1: string;
18
18
  city: string;
19
- state: import("./us-data").USState;
20
19
  zip: string;
21
20
  addressLine2?: string | undefined;
21
+ state?: unknown;
22
22
  country?: "USA" | undefined;
23
23
  }>;
24
24
  export type Address = z.infer<typeof addressSchema>;
@@ -52,5 +52,5 @@ export declare enum USState {
52
52
  WI = "WI",
53
53
  WY = "WY"
54
54
  }
55
- export declare const usStateSchema: z.ZodNativeEnum<typeof USState>;
55
+ export declare const usStateSchema: z.ZodEffects<z.ZodNativeEnum<typeof USState>, USState, unknown>;
56
56
  //# sourceMappingURL=us-data.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"us-data.d.ts","sourceRoot":"","sources":["../../../../src/medical/models/common/us-data.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,oBAAY,OAAO;IACjB,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;CACV;AACD,eAAO,MAAM,aAAa,iCAAwB,CAAC"}
1
+ {"version":3,"file":"us-data.d.ts","sourceRoot":"","sources":["../../../../src/medical/models/common/us-data.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,oBAAY,OAAO;IACjB,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;CACV;AAED,eAAO,MAAM,aAAa,iEAGzB,CAAC"}
@@ -56,5 +56,5 @@ var USState;
56
56
  USState["WI"] = "WI";
57
57
  USState["WY"] = "WY";
58
58
  })(USState = exports.USState || (exports.USState = {}));
59
- exports.usStateSchema = zod_1.z.nativeEnum(USState);
59
+ exports.usStateSchema = zod_1.z.preprocess(val => (typeof val === "string" ? val.toUpperCase() : val), zod_1.z.nativeEnum(USState));
60
60
  //# sourceMappingURL=us-data.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"us-data.js","sourceRoot":"","sources":["../../../../src/medical/models/common/us-data.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,IAAY,OAoDX;AApDD,WAAY,OAAO;IACjB,oBAAS,CAAA;IACT,oBAAS,CAAA;IACT,oBAAS,CAAA;IACT,oBAAS,CAAA;IACT,oBAAS,CAAA;IACT,oBAAS,CAAA;IACT,oBAAS,CAAA;IACT,oBAAS,CAAA;IACT,oBAAS,CAAA;IACT,oBAAS,CAAA;IACT,oBAAS,CAAA;IACT,oBAAS,CAAA;IACT,oBAAS,CAAA;IACT,oBAAS,CAAA;IACT,oBAAS,CAAA;IACT,oBAAS,CAAA;IACT,oBAAS,CAAA;IACT,oBAAS,CAAA;IACT,oBAAS,CAAA;IACT,oBAAS,CAAA;IACT,oBAAS,CAAA;IACT,oBAAS,CAAA;IACT,oBAAS,CAAA;IACT,oBAAS,CAAA;IACT,oBAAS,CAAA;IACT,oBAAS,CAAA;IACT,oBAAS,CAAA;IACT,oBAAS,CAAA;IACT,oBAAS,CAAA;IACT,oBAAS,CAAA;IACT,oBAAS,CAAA;IACT,oBAAS,CAAA;IACT,oBAAS,CAAA;IACT,oBAAS,CAAA;IACT,oBAAS,CAAA;IACT,oBAAS,CAAA;IACT,oBAAS,CAAA;IACT,oBAAS,CAAA;IACT,oBAAS,CAAA;IACT,oBAAS,CAAA;IACT,oBAAS,CAAA;IACT,oBAAS,CAAA;IACT,oBAAS,CAAA;IACT,oBAAS,CAAA;IACT,oBAAS,CAAA;IACT,oBAAS,CAAA;IACT,oBAAS,CAAA;IACT,oBAAS,CAAA;IACT,oBAAS,CAAA;IACT,oBAAS,CAAA;IACT,oBAAS,CAAA;AACX,CAAC,EApDW,OAAO,GAAP,eAAO,KAAP,eAAO,QAoDlB;AACY,QAAA,aAAa,GAAG,OAAC,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC"}
1
+ {"version":3,"file":"us-data.js","sourceRoot":"","sources":["../../../../src/medical/models/common/us-data.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,IAAY,OAoDX;AApDD,WAAY,OAAO;IACjB,oBAAS,CAAA;IACT,oBAAS,CAAA;IACT,oBAAS,CAAA;IACT,oBAAS,CAAA;IACT,oBAAS,CAAA;IACT,oBAAS,CAAA;IACT,oBAAS,CAAA;IACT,oBAAS,CAAA;IACT,oBAAS,CAAA;IACT,oBAAS,CAAA;IACT,oBAAS,CAAA;IACT,oBAAS,CAAA;IACT,oBAAS,CAAA;IACT,oBAAS,CAAA;IACT,oBAAS,CAAA;IACT,oBAAS,CAAA;IACT,oBAAS,CAAA;IACT,oBAAS,CAAA;IACT,oBAAS,CAAA;IACT,oBAAS,CAAA;IACT,oBAAS,CAAA;IACT,oBAAS,CAAA;IACT,oBAAS,CAAA;IACT,oBAAS,CAAA;IACT,oBAAS,CAAA;IACT,oBAAS,CAAA;IACT,oBAAS,CAAA;IACT,oBAAS,CAAA;IACT,oBAAS,CAAA;IACT,oBAAS,CAAA;IACT,oBAAS,CAAA;IACT,oBAAS,CAAA;IACT,oBAAS,CAAA;IACT,oBAAS,CAAA;IACT,oBAAS,CAAA;IACT,oBAAS,CAAA;IACT,oBAAS,CAAA;IACT,oBAAS,CAAA;IACT,oBAAS,CAAA;IACT,oBAAS,CAAA;IACT,oBAAS,CAAA;IACT,oBAAS,CAAA;IACT,oBAAS,CAAA;IACT,oBAAS,CAAA;IACT,oBAAS,CAAA;IACT,oBAAS,CAAA;IACT,oBAAS,CAAA;IACT,oBAAS,CAAA;IACT,oBAAS,CAAA;IACT,oBAAS,CAAA;IACT,oBAAS,CAAA;AACX,CAAC,EApDW,OAAO,GAAP,eAAO,KAAP,eAAO,QAoDlB;AAEY,QAAA,aAAa,GAAG,OAAC,CAAC,UAAU,CACvC,GAAG,CAAC,EAAE,CAAC,CAAC,OAAO,GAAG,KAAK,QAAQ,CAAC,CAAC,CAAC,GAAG,CAAC,WAAW,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,EAC1D,OAAC,CAAC,UAAU,CAAC,OAAO,CAAC,CACtB,CAAC"}
@@ -1,13 +1,13 @@
1
1
  import { z } from "zod";
2
2
  export declare const driverLicenseIdentifierSchema: z.ZodObject<{
3
3
  type: z.ZodLiteral<"driversLicense">;
4
- state: z.ZodNativeEnum<typeof import("./common/us-data").USState>;
4
+ state: z.ZodEffects<z.ZodNativeEnum<typeof import("./common/us-data").USState>, import("./common/us-data").USState, unknown>;
5
5
  }, "strip", z.ZodTypeAny, {
6
6
  type: "driversLicense";
7
7
  state: import("./common/us-data").USState;
8
8
  }, {
9
9
  type: "driversLicense";
10
- state: import("./common/us-data").USState;
10
+ state?: unknown;
11
11
  }>;
12
12
  export declare const personalIdentifierSchema: z.ZodObject<{
13
13
  value: z.ZodString;
@@ -32,7 +32,7 @@ export declare const personalIdentifierSchema: z.ZodObject<{
32
32
  }>]>>;
33
33
  assigner: z.ZodOptional<z.ZodString>;
34
34
  type: z.ZodLiteral<"driversLicense">;
35
- state: z.ZodNativeEnum<typeof import("./common/us-data").USState>;
35
+ state: z.ZodEffects<z.ZodNativeEnum<typeof import("./common/us-data").USState>, import("./common/us-data").USState, unknown>;
36
36
  }, "strip", z.ZodTypeAny, {
37
37
  type: "driversLicense";
38
38
  value: string;
@@ -48,7 +48,6 @@ export declare const personalIdentifierSchema: z.ZodObject<{
48
48
  }, {
49
49
  type: "driversLicense";
50
50
  value: string;
51
- state: import("./common/us-data").USState;
52
51
  period?: {
53
52
  start: string;
54
53
  end?: string | undefined;
@@ -57,6 +56,7 @@ export declare const personalIdentifierSchema: z.ZodObject<{
57
56
  start?: string | undefined;
58
57
  } | undefined;
59
58
  assigner?: string | undefined;
59
+ state?: unknown;
60
60
  }>;
61
61
  export type PersonalIdentifier = z.infer<typeof personalIdentifierSchema>;
62
62
  export declare const genderAtBirthSchema: z.ZodEnum<["F", "M"]>;
@@ -104,7 +104,7 @@ export declare const demographicsSchema: z.ZodObject<{
104
104
  }>]>>;
105
105
  assigner: z.ZodOptional<z.ZodString>;
106
106
  type: z.ZodLiteral<"driversLicense">;
107
- state: z.ZodNativeEnum<typeof import("./common/us-data").USState>;
107
+ state: z.ZodEffects<z.ZodNativeEnum<typeof import("./common/us-data").USState>, import("./common/us-data").USState, unknown>;
108
108
  }, "strip", z.ZodTypeAny, {
109
109
  type: "driversLicense";
110
110
  value: string;
@@ -120,7 +120,6 @@ export declare const demographicsSchema: z.ZodObject<{
120
120
  }, {
121
121
  type: "driversLicense";
122
122
  value: string;
123
- state: import("./common/us-data").USState;
124
123
  period?: {
125
124
  start: string;
126
125
  end?: string | undefined;
@@ -129,12 +128,13 @@ export declare const demographicsSchema: z.ZodObject<{
129
128
  start?: string | undefined;
130
129
  } | undefined;
131
130
  assigner?: string | undefined;
131
+ state?: unknown;
132
132
  }>, "many">>;
133
133
  address: z.ZodUnion<[z.ZodArray<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.ZodNativeEnum<typeof import("./common/us-data").USState>;
137
+ state: z.ZodEffects<z.ZodNativeEnum<typeof import("./common/us-data").USState>, import("./common/us-data").USState, unknown>;
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, {
@@ -147,15 +147,15 @@ export declare const demographicsSchema: z.ZodObject<{
147
147
  }, {
148
148
  addressLine1: string;
149
149
  city: string;
150
- state: import("./common/us-data").USState;
151
150
  zip: string;
152
151
  addressLine2?: string | undefined;
152
+ state?: unknown;
153
153
  country?: "USA" | undefined;
154
154
  }>, "many">, 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.ZodNativeEnum<typeof import("./common/us-data").USState>;
158
+ state: z.ZodEffects<z.ZodNativeEnum<typeof import("./common/us-data").USState>, import("./common/us-data").USState, unknown>;
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, {
@@ -168,9 +168,9 @@ export declare const demographicsSchema: z.ZodObject<{
168
168
  }, {
169
169
  addressLine1: string;
170
170
  city: string;
171
- state: import("./common/us-data").USState;
172
171
  zip: string;
173
172
  addressLine2?: string | undefined;
173
+ state?: unknown;
174
174
  country?: "USA" | undefined;
175
175
  }>]>;
176
176
  contact: z.ZodUnion<[z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
@@ -262,30 +262,30 @@ export declare const demographicsSchema: z.ZodObject<{
262
262
  address: ({
263
263
  addressLine1: string;
264
264
  city: string;
265
- state: import("./common/us-data").USState;
266
265
  zip: string;
267
266
  addressLine2?: string | undefined;
267
+ state?: unknown;
268
268
  country?: "USA" | undefined;
269
269
  } | {
270
270
  addressLine1: string;
271
271
  city: string;
272
- state: import("./common/us-data").USState;
273
272
  zip: string;
274
273
  addressLine2?: string | undefined;
274
+ state?: unknown;
275
275
  country?: "USA" | undefined;
276
276
  }[]) & ({
277
277
  addressLine1: string;
278
278
  city: string;
279
- state: import("./common/us-data").USState;
280
279
  zip: string;
281
280
  addressLine2?: string | undefined;
281
+ state?: unknown;
282
282
  country?: "USA" | undefined;
283
283
  } | {
284
284
  addressLine1: string;
285
285
  city: string;
286
- state: import("./common/us-data").USState;
287
286
  zip: string;
288
287
  addressLine2?: string | undefined;
288
+ state?: unknown;
289
289
  country?: "USA" | undefined;
290
290
  }[] | undefined);
291
291
  firstName: string;
@@ -295,7 +295,6 @@ export declare const demographicsSchema: z.ZodObject<{
295
295
  personalIdentifiers?: {
296
296
  type: "driversLicense";
297
297
  value: string;
298
- state: import("./common/us-data").USState;
299
298
  period?: {
300
299
  start: string;
301
300
  end?: string | undefined;
@@ -304,6 +303,7 @@ export declare const demographicsSchema: z.ZodObject<{
304
303
  start?: string | undefined;
305
304
  } | undefined;
306
305
  assigner?: string | undefined;
306
+ state?: unknown;
307
307
  }[] | undefined;
308
308
  contact?: {
309
309
  phone?: string | undefined;
@@ -8,7 +8,7 @@ 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.ZodNativeEnum<typeof import("./common/us-data").USState>;
11
+ state: z.ZodEffects<z.ZodNativeEnum<typeof import("./common/us-data").USState>, import("./common/us-data").USState, unknown>;
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, {
@@ -21,9 +21,9 @@ export declare const facilityCreateSchema: z.ZodObject<{
21
21
  }, {
22
22
  addressLine1: string;
23
23
  city: string;
24
- state: import("./common/us-data").USState;
25
24
  zip: string;
26
25
  addressLine2?: string | undefined;
26
+ state?: unknown;
27
27
  country?: "USA" | undefined;
28
28
  }>;
29
29
  }, "strip", z.ZodTypeAny, {
@@ -45,9 +45,9 @@ export declare const facilityCreateSchema: z.ZodObject<{
45
45
  address: {
46
46
  addressLine1: string;
47
47
  city: string;
48
- state: import("./common/us-data").USState;
49
48
  zip: string;
50
49
  addressLine2?: string | undefined;
50
+ state?: unknown;
51
51
  country?: "USA" | undefined;
52
52
  };
53
53
  tin?: string | null | undefined;
@@ -63,7 +63,7 @@ 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.ZodNativeEnum<typeof import("./common/us-data").USState>;
66
+ state: z.ZodEffects<z.ZodNativeEnum<typeof import("./common/us-data").USState>, import("./common/us-data").USState, unknown>;
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, {
@@ -76,9 +76,9 @@ export declare const facilitySchema: z.ZodObject<{
76
76
  }, {
77
77
  addressLine1: string;
78
78
  city: string;
79
- state: import("./common/us-data").USState;
80
79
  zip: string;
81
80
  addressLine2?: string | undefined;
81
+ state?: unknown;
82
82
  country?: "USA" | undefined;
83
83
  }>;
84
84
  id: z.ZodString;
@@ -105,9 +105,9 @@ export declare const facilitySchema: z.ZodObject<{
105
105
  address: {
106
106
  addressLine1: string;
107
107
  city: string;
108
- state: import("./common/us-data").USState;
109
108
  zip: string;
110
109
  addressLine2?: string | undefined;
110
+ state?: unknown;
111
111
  country?: "USA" | undefined;
112
112
  };
113
113
  tin?: string | null | undefined;
@@ -125,7 +125,7 @@ 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.ZodNativeEnum<typeof import("./common/us-data").USState>;
128
+ state: z.ZodEffects<z.ZodNativeEnum<typeof import("./common/us-data").USState>, import("./common/us-data").USState, unknown>;
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, {
@@ -138,9 +138,9 @@ export declare const facilityListSchema: z.ZodObject<{
138
138
  }, {
139
139
  addressLine1: string;
140
140
  city: string;
141
- state: import("./common/us-data").USState;
142
141
  zip: string;
143
142
  addressLine2?: string | undefined;
143
+ state?: unknown;
144
144
  country?: "USA" | undefined;
145
145
  }>;
146
146
  id: z.ZodString;
@@ -167,9 +167,9 @@ export declare const facilityListSchema: z.ZodObject<{
167
167
  address: {
168
168
  addressLine1: string;
169
169
  city: string;
170
- state: import("./common/us-data").USState;
171
170
  zip: string;
172
171
  addressLine2?: string | undefined;
172
+ state?: unknown;
173
173
  country?: "USA" | undefined;
174
174
  };
175
175
  tin?: string | null | undefined;
@@ -201,9 +201,9 @@ export declare const facilityListSchema: z.ZodObject<{
201
201
  address: {
202
202
  addressLine1: string;
203
203
  city: string;
204
- state: import("./common/us-data").USState;
205
204
  zip: string;
206
205
  addressLine2?: string | undefined;
206
+ state?: unknown;
207
207
  country?: "USA" | undefined;
208
208
  };
209
209
  tin?: string | null | undefined;
@@ -15,7 +15,7 @@ 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.ZodNativeEnum<typeof import("./common/us-data").USState>;
18
+ state: z.ZodEffects<z.ZodNativeEnum<typeof import("./common/us-data").USState>, import("./common/us-data").USState, unknown>;
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, {
@@ -28,9 +28,9 @@ export declare const organizationCreateSchema: z.ZodObject<{
28
28
  }, {
29
29
  addressLine1: string;
30
30
  city: string;
31
- state: import("./common/us-data").USState;
32
31
  zip: string;
33
32
  addressLine2?: string | undefined;
33
+ state?: unknown;
34
34
  country?: "USA" | undefined;
35
35
  }>;
36
36
  }, "strip", z.ZodTypeAny, {
@@ -50,9 +50,9 @@ export declare const organizationCreateSchema: z.ZodObject<{
50
50
  location: {
51
51
  addressLine1: string;
52
52
  city: string;
53
- state: import("./common/us-data").USState;
54
53
  zip: string;
55
54
  addressLine2?: string | undefined;
55
+ state?: unknown;
56
56
  country?: "USA" | undefined;
57
57
  };
58
58
  }>;
@@ -64,7 +64,7 @@ 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.ZodNativeEnum<typeof import("./common/us-data").USState>;
67
+ state: z.ZodEffects<z.ZodNativeEnum<typeof import("./common/us-data").USState>, import("./common/us-data").USState, unknown>;
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, {
@@ -77,9 +77,9 @@ export declare const organizationSchema: z.ZodObject<{
77
77
  }, {
78
78
  addressLine1: string;
79
79
  city: string;
80
- state: import("./common/us-data").USState;
81
80
  zip: string;
82
81
  addressLine2?: string | undefined;
82
+ state?: unknown;
83
83
  country?: "USA" | undefined;
84
84
  }>;
85
85
  oid: z.ZodString;
@@ -106,9 +106,9 @@ export declare const organizationSchema: z.ZodObject<{
106
106
  location: {
107
107
  addressLine1: string;
108
108
  city: string;
109
- state: import("./common/us-data").USState;
110
109
  zip: string;
111
110
  addressLine2?: string | undefined;
111
+ state?: unknown;
112
112
  country?: "USA" | undefined;
113
113
  };
114
114
  oid: string;
@@ -4,7 +4,7 @@ export declare const patientCreateSchema: z.ZodObject<{
4
4
  addressLine1: z.ZodString;
5
5
  addressLine2: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>;
6
6
  city: z.ZodString;
7
- state: z.ZodNativeEnum<typeof import("./common/us-data").USState>;
7
+ state: z.ZodEffects<z.ZodNativeEnum<typeof import("./common/us-data").USState>, import("./common/us-data").USState, unknown>;
8
8
  zip: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
9
9
  country: z.ZodDefault<z.ZodOptional<z.ZodLiteral<"USA">>>;
10
10
  }, "strip", z.ZodTypeAny, {
@@ -17,15 +17,15 @@ export declare const patientCreateSchema: z.ZodObject<{
17
17
  }, {
18
18
  addressLine1: string;
19
19
  city: string;
20
- state: import("./common/us-data").USState;
21
20
  zip: string;
22
21
  addressLine2?: string | undefined;
22
+ state?: unknown;
23
23
  country?: "USA" | undefined;
24
24
  }>, "many">, z.ZodObject<{
25
25
  addressLine1: z.ZodString;
26
26
  addressLine2: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>;
27
27
  city: z.ZodString;
28
- state: z.ZodNativeEnum<typeof import("./common/us-data").USState>;
28
+ state: z.ZodEffects<z.ZodNativeEnum<typeof import("./common/us-data").USState>, import("./common/us-data").USState, unknown>;
29
29
  zip: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
30
30
  country: z.ZodDefault<z.ZodOptional<z.ZodLiteral<"USA">>>;
31
31
  }, "strip", z.ZodTypeAny, {
@@ -38,9 +38,9 @@ export declare const patientCreateSchema: z.ZodObject<{
38
38
  }, {
39
39
  addressLine1: string;
40
40
  city: string;
41
- state: import("./common/us-data").USState;
42
41
  zip: string;
43
42
  addressLine2?: string | undefined;
43
+ state?: unknown;
44
44
  country?: "USA" | undefined;
45
45
  }>]>;
46
46
  firstName: z.ZodString;
@@ -70,7 +70,7 @@ export declare const patientCreateSchema: z.ZodObject<{
70
70
  }>]>>;
71
71
  assigner: z.ZodOptional<z.ZodString>;
72
72
  type: z.ZodLiteral<"driversLicense">;
73
- state: z.ZodNativeEnum<typeof import("./common/us-data").USState>;
73
+ state: z.ZodEffects<z.ZodNativeEnum<typeof import("./common/us-data").USState>, import("./common/us-data").USState, unknown>;
74
74
  }, "strip", z.ZodTypeAny, {
75
75
  type: "driversLicense";
76
76
  value: string;
@@ -86,7 +86,6 @@ export declare const patientCreateSchema: z.ZodObject<{
86
86
  }, {
87
87
  type: "driversLicense";
88
88
  value: string;
89
- state: import("./common/us-data").USState;
90
89
  period?: {
91
90
  start: string;
92
91
  end?: string | undefined;
@@ -95,6 +94,7 @@ export declare const patientCreateSchema: z.ZodObject<{
95
94
  start?: string | undefined;
96
95
  } | undefined;
97
96
  assigner?: string | undefined;
97
+ state?: unknown;
98
98
  }>, "many">>;
99
99
  contact: z.ZodUnion<[z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
100
100
  phone: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>]>;
@@ -187,30 +187,30 @@ export declare const patientCreateSchema: z.ZodObject<{
187
187
  address: ({
188
188
  addressLine1: string;
189
189
  city: string;
190
- state: import("./common/us-data").USState;
191
190
  zip: string;
192
191
  addressLine2?: string | undefined;
192
+ state?: unknown;
193
193
  country?: "USA" | undefined;
194
194
  } | {
195
195
  addressLine1: string;
196
196
  city: string;
197
- state: import("./common/us-data").USState;
198
197
  zip: string;
199
198
  addressLine2?: string | undefined;
199
+ state?: unknown;
200
200
  country?: "USA" | undefined;
201
201
  }[]) & ({
202
202
  addressLine1: string;
203
203
  city: string;
204
- state: import("./common/us-data").USState;
205
204
  zip: string;
206
205
  addressLine2?: string | undefined;
206
+ state?: unknown;
207
207
  country?: "USA" | undefined;
208
208
  } | {
209
209
  addressLine1: string;
210
210
  city: string;
211
- state: import("./common/us-data").USState;
212
211
  zip: string;
213
212
  addressLine2?: string | undefined;
213
+ state?: unknown;
214
214
  country?: "USA" | undefined;
215
215
  }[] | undefined);
216
216
  firstName: string;
@@ -220,7 +220,6 @@ export declare const patientCreateSchema: z.ZodObject<{
220
220
  personalIdentifiers?: {
221
221
  type: "driversLicense";
222
222
  value: string;
223
- state: import("./common/us-data").USState;
224
223
  period?: {
225
224
  start: string;
226
225
  end?: string | undefined;
@@ -229,6 +228,7 @@ export declare const patientCreateSchema: z.ZodObject<{
229
228
  start?: string | undefined;
230
229
  } | undefined;
231
230
  assigner?: string | undefined;
231
+ state?: unknown;
232
232
  }[] | undefined;
233
233
  contact?: {
234
234
  phone?: string | undefined;
@@ -245,7 +245,7 @@ export declare const patientUpdateSchema: z.ZodObject<{
245
245
  addressLine1: z.ZodString;
246
246
  addressLine2: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>;
247
247
  city: z.ZodString;
248
- state: z.ZodNativeEnum<typeof import("./common/us-data").USState>;
248
+ state: z.ZodEffects<z.ZodNativeEnum<typeof import("./common/us-data").USState>, import("./common/us-data").USState, unknown>;
249
249
  zip: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
250
250
  country: z.ZodDefault<z.ZodOptional<z.ZodLiteral<"USA">>>;
251
251
  }, "strip", z.ZodTypeAny, {
@@ -258,15 +258,15 @@ export declare const patientUpdateSchema: z.ZodObject<{
258
258
  }, {
259
259
  addressLine1: string;
260
260
  city: string;
261
- state: import("./common/us-data").USState;
262
261
  zip: string;
263
262
  addressLine2?: string | undefined;
263
+ state?: unknown;
264
264
  country?: "USA" | undefined;
265
265
  }>, "many">, z.ZodObject<{
266
266
  addressLine1: z.ZodString;
267
267
  addressLine2: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>;
268
268
  city: z.ZodString;
269
- state: z.ZodNativeEnum<typeof import("./common/us-data").USState>;
269
+ state: z.ZodEffects<z.ZodNativeEnum<typeof import("./common/us-data").USState>, import("./common/us-data").USState, unknown>;
270
270
  zip: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
271
271
  country: z.ZodDefault<z.ZodOptional<z.ZodLiteral<"USA">>>;
272
272
  }, "strip", z.ZodTypeAny, {
@@ -279,9 +279,9 @@ export declare const patientUpdateSchema: z.ZodObject<{
279
279
  }, {
280
280
  addressLine1: string;
281
281
  city: string;
282
- state: import("./common/us-data").USState;
283
282
  zip: string;
284
283
  addressLine2?: string | undefined;
284
+ state?: unknown;
285
285
  country?: "USA" | undefined;
286
286
  }>]>;
287
287
  firstName: z.ZodString;
@@ -311,7 +311,7 @@ export declare const patientUpdateSchema: z.ZodObject<{
311
311
  }>]>>;
312
312
  assigner: z.ZodOptional<z.ZodString>;
313
313
  type: z.ZodLiteral<"driversLicense">;
314
- state: z.ZodNativeEnum<typeof import("./common/us-data").USState>;
314
+ state: z.ZodEffects<z.ZodNativeEnum<typeof import("./common/us-data").USState>, import("./common/us-data").USState, unknown>;
315
315
  }, "strip", z.ZodTypeAny, {
316
316
  type: "driversLicense";
317
317
  value: string;
@@ -327,7 +327,6 @@ export declare const patientUpdateSchema: z.ZodObject<{
327
327
  }, {
328
328
  type: "driversLicense";
329
329
  value: string;
330
- state: import("./common/us-data").USState;
331
330
  period?: {
332
331
  start: string;
333
332
  end?: string | undefined;
@@ -336,6 +335,7 @@ export declare const patientUpdateSchema: z.ZodObject<{
336
335
  start?: string | undefined;
337
336
  } | undefined;
338
337
  assigner?: string | undefined;
338
+ state?: unknown;
339
339
  }>, "many">>;
340
340
  contact: z.ZodUnion<[z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
341
341
  phone: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>]>;
@@ -433,30 +433,30 @@ export declare const patientUpdateSchema: z.ZodObject<{
433
433
  address: ({
434
434
  addressLine1: string;
435
435
  city: string;
436
- state: import("./common/us-data").USState;
437
436
  zip: string;
438
437
  addressLine2?: string | undefined;
438
+ state?: unknown;
439
439
  country?: "USA" | undefined;
440
440
  } | {
441
441
  addressLine1: string;
442
442
  city: string;
443
- state: import("./common/us-data").USState;
444
443
  zip: string;
445
444
  addressLine2?: string | undefined;
445
+ state?: unknown;
446
446
  country?: "USA" | undefined;
447
447
  }[]) & ({
448
448
  addressLine1: string;
449
449
  city: string;
450
- state: import("./common/us-data").USState;
451
450
  zip: string;
452
451
  addressLine2?: string | undefined;
452
+ state?: unknown;
453
453
  country?: "USA" | undefined;
454
454
  } | {
455
455
  addressLine1: string;
456
456
  city: string;
457
- state: import("./common/us-data").USState;
458
457
  zip: string;
459
458
  addressLine2?: string | undefined;
459
+ state?: unknown;
460
460
  country?: "USA" | undefined;
461
461
  }[] | undefined);
462
462
  firstName: string;
@@ -466,7 +466,6 @@ export declare const patientUpdateSchema: z.ZodObject<{
466
466
  personalIdentifiers?: {
467
467
  type: "driversLicense";
468
468
  value: string;
469
- state: import("./common/us-data").USState;
470
469
  period?: {
471
470
  start: string;
472
471
  end?: string | undefined;
@@ -475,6 +474,7 @@ export declare const patientUpdateSchema: z.ZodObject<{
475
474
  start?: string | undefined;
476
475
  } | undefined;
477
476
  assigner?: string | undefined;
477
+ state?: unknown;
478
478
  }[] | undefined;
479
479
  contact?: {
480
480
  phone?: string | undefined;
@@ -494,7 +494,7 @@ export declare const patientSchema: z.ZodObject<{
494
494
  addressLine1: z.ZodString;
495
495
  addressLine2: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>;
496
496
  city: z.ZodString;
497
- state: z.ZodNativeEnum<typeof import("./common/us-data").USState>;
497
+ state: z.ZodEffects<z.ZodNativeEnum<typeof import("./common/us-data").USState>, import("./common/us-data").USState, unknown>;
498
498
  zip: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
499
499
  country: z.ZodDefault<z.ZodOptional<z.ZodLiteral<"USA">>>;
500
500
  }, "strip", z.ZodTypeAny, {
@@ -507,15 +507,15 @@ export declare const patientSchema: z.ZodObject<{
507
507
  }, {
508
508
  addressLine1: string;
509
509
  city: string;
510
- state: import("./common/us-data").USState;
511
510
  zip: string;
512
511
  addressLine2?: string | undefined;
512
+ state?: unknown;
513
513
  country?: "USA" | undefined;
514
514
  }>, "many">, z.ZodObject<{
515
515
  addressLine1: z.ZodString;
516
516
  addressLine2: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>;
517
517
  city: z.ZodString;
518
- state: z.ZodNativeEnum<typeof import("./common/us-data").USState>;
518
+ state: z.ZodEffects<z.ZodNativeEnum<typeof import("./common/us-data").USState>, import("./common/us-data").USState, unknown>;
519
519
  zip: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
520
520
  country: z.ZodDefault<z.ZodOptional<z.ZodLiteral<"USA">>>;
521
521
  }, "strip", z.ZodTypeAny, {
@@ -528,9 +528,9 @@ export declare const patientSchema: z.ZodObject<{
528
528
  }, {
529
529
  addressLine1: string;
530
530
  city: string;
531
- state: import("./common/us-data").USState;
532
531
  zip: string;
533
532
  addressLine2?: string | undefined;
533
+ state?: unknown;
534
534
  country?: "USA" | undefined;
535
535
  }>]>;
536
536
  firstName: z.ZodString;
@@ -560,7 +560,7 @@ export declare const patientSchema: z.ZodObject<{
560
560
  }>]>>;
561
561
  assigner: z.ZodOptional<z.ZodString>;
562
562
  type: z.ZodLiteral<"driversLicense">;
563
- state: z.ZodNativeEnum<typeof import("./common/us-data").USState>;
563
+ state: z.ZodEffects<z.ZodNativeEnum<typeof import("./common/us-data").USState>, import("./common/us-data").USState, unknown>;
564
564
  }, "strip", z.ZodTypeAny, {
565
565
  type: "driversLicense";
566
566
  value: string;
@@ -576,7 +576,6 @@ export declare const patientSchema: z.ZodObject<{
576
576
  }, {
577
577
  type: "driversLicense";
578
578
  value: string;
579
- state: import("./common/us-data").USState;
580
579
  period?: {
581
580
  start: string;
582
581
  end?: string | undefined;
@@ -585,6 +584,7 @@ export declare const patientSchema: z.ZodObject<{
585
584
  start?: string | undefined;
586
585
  } | undefined;
587
586
  assigner?: string | undefined;
587
+ state?: unknown;
588
588
  }>, "many">>;
589
589
  contact: z.ZodUnion<[z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
590
590
  phone: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>]>;
@@ -682,30 +682,30 @@ export declare const patientSchema: z.ZodObject<{
682
682
  address: ({
683
683
  addressLine1: string;
684
684
  city: string;
685
- state: import("./common/us-data").USState;
686
685
  zip: string;
687
686
  addressLine2?: string | undefined;
687
+ state?: unknown;
688
688
  country?: "USA" | undefined;
689
689
  } | {
690
690
  addressLine1: string;
691
691
  city: string;
692
- state: import("./common/us-data").USState;
693
692
  zip: string;
694
693
  addressLine2?: string | undefined;
694
+ state?: unknown;
695
695
  country?: "USA" | undefined;
696
696
  }[]) & ({
697
697
  addressLine1: string;
698
698
  city: string;
699
- state: import("./common/us-data").USState;
700
699
  zip: string;
701
700
  addressLine2?: string | undefined;
701
+ state?: unknown;
702
702
  country?: "USA" | undefined;
703
703
  } | {
704
704
  addressLine1: string;
705
705
  city: string;
706
- state: import("./common/us-data").USState;
707
706
  zip: string;
708
707
  addressLine2?: string | undefined;
708
+ state?: unknown;
709
709
  country?: "USA" | undefined;
710
710
  }[] | undefined);
711
711
  firstName: string;
@@ -717,7 +717,6 @@ export declare const patientSchema: z.ZodObject<{
717
717
  personalIdentifiers?: {
718
718
  type: "driversLicense";
719
719
  value: string;
720
- state: import("./common/us-data").USState;
721
720
  period?: {
722
721
  start: string;
723
722
  end?: string | undefined;
@@ -726,6 +725,7 @@ export declare const patientSchema: z.ZodObject<{
726
725
  start?: string | undefined;
727
726
  } | undefined;
728
727
  assigner?: string | undefined;
728
+ state?: unknown;
729
729
  }[] | undefined;
730
730
  contact?: {
731
731
  phone?: string | undefined;
@@ -745,7 +745,7 @@ export declare const patientListSchema: z.ZodObject<{
745
745
  addressLine1: z.ZodString;
746
746
  addressLine2: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>;
747
747
  city: z.ZodString;
748
- state: z.ZodNativeEnum<typeof import("./common/us-data").USState>;
748
+ state: z.ZodEffects<z.ZodNativeEnum<typeof import("./common/us-data").USState>, import("./common/us-data").USState, unknown>;
749
749
  zip: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
750
750
  country: z.ZodDefault<z.ZodOptional<z.ZodLiteral<"USA">>>;
751
751
  }, "strip", z.ZodTypeAny, {
@@ -758,15 +758,15 @@ export declare const patientListSchema: z.ZodObject<{
758
758
  }, {
759
759
  addressLine1: string;
760
760
  city: string;
761
- state: import("./common/us-data").USState;
762
761
  zip: string;
763
762
  addressLine2?: string | undefined;
763
+ state?: unknown;
764
764
  country?: "USA" | undefined;
765
765
  }>, "many">, z.ZodObject<{
766
766
  addressLine1: z.ZodString;
767
767
  addressLine2: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>;
768
768
  city: z.ZodString;
769
- state: z.ZodNativeEnum<typeof import("./common/us-data").USState>;
769
+ state: z.ZodEffects<z.ZodNativeEnum<typeof import("./common/us-data").USState>, import("./common/us-data").USState, unknown>;
770
770
  zip: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
771
771
  country: z.ZodDefault<z.ZodOptional<z.ZodLiteral<"USA">>>;
772
772
  }, "strip", z.ZodTypeAny, {
@@ -779,9 +779,9 @@ export declare const patientListSchema: z.ZodObject<{
779
779
  }, {
780
780
  addressLine1: string;
781
781
  city: string;
782
- state: import("./common/us-data").USState;
783
782
  zip: string;
784
783
  addressLine2?: string | undefined;
784
+ state?: unknown;
785
785
  country?: "USA" | undefined;
786
786
  }>]>;
787
787
  firstName: z.ZodString;
@@ -811,7 +811,7 @@ export declare const patientListSchema: z.ZodObject<{
811
811
  }>]>>;
812
812
  assigner: z.ZodOptional<z.ZodString>;
813
813
  type: z.ZodLiteral<"driversLicense">;
814
- state: z.ZodNativeEnum<typeof import("./common/us-data").USState>;
814
+ state: z.ZodEffects<z.ZodNativeEnum<typeof import("./common/us-data").USState>, import("./common/us-data").USState, unknown>;
815
815
  }, "strip", z.ZodTypeAny, {
816
816
  type: "driversLicense";
817
817
  value: string;
@@ -827,7 +827,6 @@ export declare const patientListSchema: z.ZodObject<{
827
827
  }, {
828
828
  type: "driversLicense";
829
829
  value: string;
830
- state: import("./common/us-data").USState;
831
830
  period?: {
832
831
  start: string;
833
832
  end?: string | undefined;
@@ -836,6 +835,7 @@ export declare const patientListSchema: z.ZodObject<{
836
835
  start?: string | undefined;
837
836
  } | undefined;
838
837
  assigner?: string | undefined;
838
+ state?: unknown;
839
839
  }>, "many">>;
840
840
  contact: z.ZodUnion<[z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
841
841
  phone: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>]>;
@@ -933,30 +933,30 @@ export declare const patientListSchema: z.ZodObject<{
933
933
  address: ({
934
934
  addressLine1: string;
935
935
  city: string;
936
- state: import("./common/us-data").USState;
937
936
  zip: string;
938
937
  addressLine2?: string | undefined;
938
+ state?: unknown;
939
939
  country?: "USA" | undefined;
940
940
  } | {
941
941
  addressLine1: string;
942
942
  city: string;
943
- state: import("./common/us-data").USState;
944
943
  zip: string;
945
944
  addressLine2?: string | undefined;
945
+ state?: unknown;
946
946
  country?: "USA" | undefined;
947
947
  }[]) & ({
948
948
  addressLine1: string;
949
949
  city: string;
950
- state: import("./common/us-data").USState;
951
950
  zip: string;
952
951
  addressLine2?: string | undefined;
952
+ state?: unknown;
953
953
  country?: "USA" | undefined;
954
954
  } | {
955
955
  addressLine1: string;
956
956
  city: string;
957
- state: import("./common/us-data").USState;
958
957
  zip: string;
959
958
  addressLine2?: string | undefined;
959
+ state?: unknown;
960
960
  country?: "USA" | undefined;
961
961
  }[] | undefined);
962
962
  firstName: string;
@@ -968,7 +968,6 @@ export declare const patientListSchema: z.ZodObject<{
968
968
  personalIdentifiers?: {
969
969
  type: "driversLicense";
970
970
  value: string;
971
- state: import("./common/us-data").USState;
972
971
  period?: {
973
972
  start: string;
974
973
  end?: string | undefined;
@@ -977,6 +976,7 @@ export declare const patientListSchema: z.ZodObject<{
977
976
  start?: string | undefined;
978
977
  } | undefined;
979
978
  assigner?: string | undefined;
979
+ state?: unknown;
980
980
  }[] | undefined;
981
981
  contact?: {
982
982
  phone?: string | undefined;
@@ -1053,30 +1053,30 @@ export declare const patientListSchema: z.ZodObject<{
1053
1053
  address: ({
1054
1054
  addressLine1: string;
1055
1055
  city: string;
1056
- state: import("./common/us-data").USState;
1057
1056
  zip: string;
1058
1057
  addressLine2?: string | undefined;
1058
+ state?: unknown;
1059
1059
  country?: "USA" | undefined;
1060
1060
  } | {
1061
1061
  addressLine1: string;
1062
1062
  city: string;
1063
- state: import("./common/us-data").USState;
1064
1063
  zip: string;
1065
1064
  addressLine2?: string | undefined;
1065
+ state?: unknown;
1066
1066
  country?: "USA" | undefined;
1067
1067
  }[]) & ({
1068
1068
  addressLine1: string;
1069
1069
  city: string;
1070
- state: import("./common/us-data").USState;
1071
1070
  zip: string;
1072
1071
  addressLine2?: string | undefined;
1072
+ state?: unknown;
1073
1073
  country?: "USA" | undefined;
1074
1074
  } | {
1075
1075
  addressLine1: string;
1076
1076
  city: string;
1077
- state: import("./common/us-data").USState;
1078
1077
  zip: string;
1079
1078
  addressLine2?: string | undefined;
1079
+ state?: unknown;
1080
1080
  country?: "USA" | undefined;
1081
1081
  }[] | undefined);
1082
1082
  firstName: string;
@@ -1088,7 +1088,6 @@ export declare const patientListSchema: z.ZodObject<{
1088
1088
  personalIdentifiers?: {
1089
1089
  type: "driversLicense";
1090
1090
  value: string;
1091
- state: import("./common/us-data").USState;
1092
1091
  period?: {
1093
1092
  start: string;
1094
1093
  end?: string | undefined;
@@ -1097,6 +1096,7 @@ export declare const patientListSchema: z.ZodObject<{
1097
1096
  start?: string | undefined;
1098
1097
  } | undefined;
1099
1098
  assigner?: string | undefined;
1099
+ state?: unknown;
1100
1100
  }[] | undefined;
1101
1101
  contact?: {
1102
1102
  phone?: string | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@metriport/api-sdk",
3
- "version": "7.8.1",
3
+ "version": "7.8.3-alpha.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,8 +56,8 @@
56
56
  "url": "https://github.com/metriport/metriport/issues"
57
57
  },
58
58
  "dependencies": {
59
- "@metriport/commonwell-sdk": "^4.9.6-alpha.0",
60
- "@metriport/shared": "^0.1.6-alpha.0",
59
+ "@metriport/commonwell-sdk": "^4.9.7-alpha.0",
60
+ "@metriport/shared": "^0.1.7-alpha.0",
61
61
  "axios": "^1.3.4",
62
62
  "dayjs": "^1.11.7",
63
63
  "dotenv": "^16.3.1",
@@ -75,5 +75,5 @@
75
75
  "ts-jest": "29.1.1",
76
76
  "typescript": "^4.9.5"
77
77
  },
78
- "gitHead": "a18e6cae0c67e0e3398584e9ec24760322d19e41"
78
+ "gitHead": "016d7b58ff83d1851e388ce3a153f0cc6e2cb164"
79
79
  }