@metriport/api-sdk 17.2.1 → 17.3.0-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/dist/medical/models/common/address.d.ts +2 -2
- package/dist/medical/models/common/address.d.ts.map +1 -1
- package/dist/medical/models/common/address.js +1 -7
- package/dist/medical/models/common/address.js.map +1 -1
- package/dist/medical/models/common/us-data.d.ts +1 -0
- package/dist/medical/models/common/us-data.d.ts.map +1 -1
- package/dist/medical/models/common/us-data.js +2 -1
- package/dist/medical/models/common/us-data.js.map +1 -1
- package/dist/medical/models/demographics.d.ts +7 -7
- package/dist/medical/models/facility.d.ts +10 -10
- package/dist/medical/models/organization.d.ts +6 -6
- package/dist/medical/models/patient.d.ts +31 -31
- package/package.json +4 -4
- package/dist/medical/models/cohort.d.ts +0 -320
- package/dist/medical/models/cohort.d.ts.map +0 -1
- package/dist/medical/models/cohort.js +0 -41
- package/dist/medical/models/cohort.js.map +0 -1
- package/dist/medical/models/patient-settings.d.ts +0 -28
- package/dist/medical/models/patient-settings.d.ts.map +0 -1
- package/dist/medical/models/patient-settings.js +0 -11
- package/dist/medical/models/patient-settings.js.map +0 -1
|
@@ -119,7 +119,7 @@ export declare const addressSchema: z.ZodObject<{
|
|
|
119
119
|
WI: import("@metriport/shared").USState.WI;
|
|
120
120
|
WY: import("@metriport/shared").USState.WY;
|
|
121
121
|
}>, import("@metriport/shared").USState, unknown>, z.ZodEffects<z.ZodNativeEnum<typeof import("@metriport/shared").USTerritory>, import("@metriport/shared").USTerritory, unknown>]>;
|
|
122
|
-
zip: z.ZodEffects<z.
|
|
122
|
+
zip: z.ZodEffects<z.ZodString, string, unknown>;
|
|
123
123
|
coordinates: z.ZodOptional<z.ZodObject<{
|
|
124
124
|
lat: z.ZodNumber;
|
|
125
125
|
lon: z.ZodNumber;
|
|
@@ -145,9 +145,9 @@ export declare const addressSchema: z.ZodObject<{
|
|
|
145
145
|
}, {
|
|
146
146
|
addressLine1: string;
|
|
147
147
|
city: string;
|
|
148
|
-
zip: string;
|
|
149
148
|
addressLine2?: string | undefined;
|
|
150
149
|
state?: unknown;
|
|
150
|
+
zip?: unknown;
|
|
151
151
|
coordinates?: {
|
|
152
152
|
lat: number;
|
|
153
153
|
lon: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"address.d.ts","sourceRoot":"","sources":["../../../../src/medical/models/common/address.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"address.d.ts","sourceRoot":"","sources":["../../../../src/medical/models/common/address.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,mBAAmB;;;;;;;;;EAG9B,CAAC;AAEH,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oLAAsC,CAAC;AAE3E,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAQxB,CAAC;AAEH,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC"}
|
|
@@ -4,7 +4,6 @@ exports.addressSchema = exports.usStateForAddressSchema = exports.geoCoordinateS
|
|
|
4
4
|
const shared_1 = require("@metriport/shared");
|
|
5
5
|
const zod_1 = require("zod");
|
|
6
6
|
const us_data_1 = require("./us-data");
|
|
7
|
-
const zipLength = 5;
|
|
8
7
|
exports.geoCoordinateSchema = zod_1.z.object({
|
|
9
8
|
lat: zod_1.z.number(),
|
|
10
9
|
lon: zod_1.z.number(),
|
|
@@ -15,12 +14,7 @@ exports.addressSchema = zod_1.z.object({
|
|
|
15
14
|
addressLine2: shared_1.defaultOptionalStringSchema,
|
|
16
15
|
city: shared_1.defaultStringSchema.min(1, { message: "City must be specified." }),
|
|
17
16
|
state: exports.usStateForAddressSchema,
|
|
18
|
-
zip:
|
|
19
|
-
.string()
|
|
20
|
-
.transform(zipStr => (0, shared_1.stripNonNumericChars)(zipStr))
|
|
21
|
-
.refine(zip => zip.length === zipLength, {
|
|
22
|
-
message: `Zip must be a string consisting of ${zipLength} numbers.`,
|
|
23
|
-
}),
|
|
17
|
+
zip: us_data_1.usZipSchema,
|
|
24
18
|
coordinates: exports.geoCoordinateSchema.optional(),
|
|
25
19
|
country: zod_1.z.literal("USA").optional().default("USA"),
|
|
26
20
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"address.js","sourceRoot":"","sources":["../../../../src/medical/models/common/address.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"address.js","sourceRoot":"","sources":["../../../../src/medical/models/common/address.ts"],"names":[],"mappings":";;;AAAA,8CAAqF;AACrF,6BAAwB;AACxB,uCAA0E;AAE7D,QAAA,mBAAmB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC1C,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE;IACf,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE;CAChB,CAAC,CAAC;AAEU,QAAA,uBAAuB,GAAG,uBAAa,CAAC,EAAE,CAAC,2BAAiB,CAAC,CAAC;AAE9D,QAAA,aAAa,GAAG,OAAC,CAAC,MAAM,CAAC;IACpC,YAAY,EAAE,4BAAmB,CAAC,GAAG,CAAC,CAAC,EAAE,EAAE,OAAO,EAAE,iCAAiC,EAAE,CAAC;IACxF,YAAY,EAAE,oCAA2B;IACzC,IAAI,EAAE,4BAAmB,CAAC,GAAG,CAAC,CAAC,EAAE,EAAE,OAAO,EAAE,yBAAyB,EAAE,CAAC;IACxE,KAAK,EAAE,+BAAuB;IAC9B,GAAG,EAAE,qBAAW;IAChB,WAAW,EAAE,2BAAmB,CAAC,QAAQ,EAAE;IAC3C,OAAO,EAAE,OAAC,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,QAAQ,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC;CACpD,CAAC,CAAC"}
|
|
@@ -108,4 +108,5 @@ export declare const usStateSchema: z.ZodEffects<z.ZodNativeEnum<{
|
|
|
108
108
|
}>, USStateShared, unknown>;
|
|
109
109
|
export declare const USTerritory: typeof USTerritoryShared;
|
|
110
110
|
export declare const usTerritorySchema: z.ZodEffects<z.ZodNativeEnum<typeof USTerritoryShared>, USTerritoryShared, unknown>;
|
|
111
|
+
export declare const usZipSchema: z.ZodEffects<z.ZodString, string, unknown>;
|
|
111
112
|
//# 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,
|
|
1
|
+
{"version":3,"file":"us-data.d.ts","sourceRoot":"","sources":["../../../../src/medical/models/common/us-data.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,OAAO,IAAI,aAAa,EACxB,WAAW,IAAI,iBAAiB,EACjC,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAEnB,CAAC;AAEF,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAGzB,CAAC;AAEF,eAAO,MAAM,WAAW,0BAAoB,CAAC;AAE7C,eAAO,MAAM,iBAAiB,qFAG7B,CAAC;AAEF,eAAO,MAAM,WAAW,4CAGvB,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.usTerritorySchema = exports.USTerritory = exports.usStateSchema = exports.USState = void 0;
|
|
3
|
+
exports.usZipSchema = exports.usTerritorySchema = exports.USTerritory = exports.usStateSchema = exports.USState = void 0;
|
|
4
4
|
const shared_1 = require("@metriport/shared");
|
|
5
5
|
const zod_1 = require("zod");
|
|
6
6
|
exports.USState = {
|
|
@@ -9,4 +9,5 @@ exports.USState = {
|
|
|
9
9
|
exports.usStateSchema = zod_1.z.preprocess(val => (typeof val === "string" ? val.toUpperCase().trim() : val), zod_1.z.nativeEnum(exports.USState));
|
|
10
10
|
exports.USTerritory = shared_1.USTerritory;
|
|
11
11
|
exports.usTerritorySchema = zod_1.z.preprocess(val => (typeof val === "string" ? val.toUpperCase().trim() : val), zod_1.z.nativeEnum(exports.USTerritory));
|
|
12
|
+
exports.usZipSchema = zod_1.z.preprocess(val => (typeof val === "string" ? (0, shared_1.normalizeZipCodeNew)(val) : val), zod_1.z.string());
|
|
12
13
|
//# 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,
|
|
1
|
+
{"version":3,"file":"us-data.js","sourceRoot":"","sources":["../../../../src/medical/models/common/us-data.ts"],"names":[],"mappings":";;;AAAA,8CAI2B;AAC3B,6BAAwB;AAEX,QAAA,OAAO,GAAG;IACrB,GAAG,gBAAa;CACjB,CAAC;AAEW,QAAA,aAAa,GAAG,OAAC,CAAC,UAAU,CACvC,GAAG,CAAC,EAAE,CAAC,CAAC,OAAO,GAAG,KAAK,QAAQ,CAAC,CAAC,CAAC,GAAG,CAAC,WAAW,EAAE,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,EACjE,OAAC,CAAC,UAAU,CAAC,eAAO,CAAC,CACtB,CAAC;AAEW,QAAA,WAAW,GAAG,oBAAiB,CAAC;AAEhC,QAAA,iBAAiB,GAAG,OAAC,CAAC,UAAU,CAC3C,GAAG,CAAC,EAAE,CAAC,CAAC,OAAO,GAAG,KAAK,QAAQ,CAAC,CAAC,CAAC,GAAG,CAAC,WAAW,EAAE,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,EACjE,OAAC,CAAC,UAAU,CAAC,mBAAW,CAAC,CAC1B,CAAC;AAEW,QAAA,WAAW,GAAG,OAAC,CAAC,UAAU,CACrC,GAAG,CAAC,EAAE,CAAC,CAAC,OAAO,GAAG,KAAK,QAAQ,CAAC,CAAC,CAAC,IAAA,4BAAmB,EAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,EACjE,OAAC,CAAC,MAAM,EAAE,CACX,CAAC"}
|
|
@@ -601,7 +601,7 @@ export declare const demographicsSchema: z.ZodObject<{
|
|
|
601
601
|
WI: import("@metriport/shared").USState.WI;
|
|
602
602
|
WY: import("@metriport/shared").USState.WY;
|
|
603
603
|
}>, import("@metriport/shared").USState, unknown>, z.ZodEffects<z.ZodNativeEnum<typeof import("@metriport/shared").USTerritory>, import("@metriport/shared").USTerritory, unknown>]>;
|
|
604
|
-
zip: z.ZodEffects<z.
|
|
604
|
+
zip: z.ZodEffects<z.ZodString, string, unknown>;
|
|
605
605
|
coordinates: z.ZodOptional<z.ZodObject<{
|
|
606
606
|
lat: z.ZodNumber;
|
|
607
607
|
lon: z.ZodNumber;
|
|
@@ -627,9 +627,9 @@ export declare const demographicsSchema: z.ZodObject<{
|
|
|
627
627
|
}, {
|
|
628
628
|
addressLine1: string;
|
|
629
629
|
city: string;
|
|
630
|
-
zip: string;
|
|
631
630
|
addressLine2?: string | undefined;
|
|
632
631
|
state?: unknown;
|
|
632
|
+
zip?: unknown;
|
|
633
633
|
coordinates?: {
|
|
634
634
|
lat: number;
|
|
635
635
|
lon: number;
|
|
@@ -692,7 +692,7 @@ export declare const demographicsSchema: z.ZodObject<{
|
|
|
692
692
|
WI: import("@metriport/shared").USState.WI;
|
|
693
693
|
WY: import("@metriport/shared").USState.WY;
|
|
694
694
|
}>, import("@metriport/shared").USState, unknown>, z.ZodEffects<z.ZodNativeEnum<typeof import("@metriport/shared").USTerritory>, import("@metriport/shared").USTerritory, unknown>]>;
|
|
695
|
-
zip: z.ZodEffects<z.
|
|
695
|
+
zip: z.ZodEffects<z.ZodString, string, unknown>;
|
|
696
696
|
coordinates: z.ZodOptional<z.ZodObject<{
|
|
697
697
|
lat: z.ZodNumber;
|
|
698
698
|
lon: z.ZodNumber;
|
|
@@ -718,9 +718,9 @@ export declare const demographicsSchema: z.ZodObject<{
|
|
|
718
718
|
}, {
|
|
719
719
|
addressLine1: string;
|
|
720
720
|
city: string;
|
|
721
|
-
zip: string;
|
|
722
721
|
addressLine2?: string | undefined;
|
|
723
722
|
state?: unknown;
|
|
723
|
+
zip?: unknown;
|
|
724
724
|
coordinates?: {
|
|
725
725
|
lat: number;
|
|
726
726
|
lon: number;
|
|
@@ -836,9 +836,9 @@ export declare const demographicsSchema: z.ZodObject<{
|
|
|
836
836
|
address: {
|
|
837
837
|
addressLine1: string;
|
|
838
838
|
city: string;
|
|
839
|
-
zip: string;
|
|
840
839
|
addressLine2?: string | undefined;
|
|
841
840
|
state?: unknown;
|
|
841
|
+
zip?: unknown;
|
|
842
842
|
coordinates?: {
|
|
843
843
|
lat: number;
|
|
844
844
|
lon: number;
|
|
@@ -847,9 +847,9 @@ export declare const demographicsSchema: z.ZodObject<{
|
|
|
847
847
|
} | [{
|
|
848
848
|
addressLine1: string;
|
|
849
849
|
city: string;
|
|
850
|
-
zip: string;
|
|
851
850
|
addressLine2?: string | undefined;
|
|
852
851
|
state?: unknown;
|
|
852
|
+
zip?: unknown;
|
|
853
853
|
coordinates?: {
|
|
854
854
|
lat: number;
|
|
855
855
|
lon: number;
|
|
@@ -858,9 +858,9 @@ export declare const demographicsSchema: z.ZodObject<{
|
|
|
858
858
|
}, ...{
|
|
859
859
|
addressLine1: string;
|
|
860
860
|
city: string;
|
|
861
|
-
zip: string;
|
|
862
861
|
addressLine2?: string | undefined;
|
|
863
862
|
state?: unknown;
|
|
863
|
+
zip?: unknown;
|
|
864
864
|
coordinates?: {
|
|
865
865
|
lat: number;
|
|
866
866
|
lon: number;
|
|
@@ -61,7 +61,7 @@ export declare const facilityCreateSchema: z.ZodObject<{
|
|
|
61
61
|
WI: import("@metriport/shared").USState.WI;
|
|
62
62
|
WY: import("@metriport/shared").USState.WY;
|
|
63
63
|
}>, import("@metriport/shared").USState, unknown>, z.ZodEffects<z.ZodNativeEnum<typeof import("@metriport/shared").USTerritory>, import("@metriport/shared").USTerritory, unknown>]>;
|
|
64
|
-
zip: z.ZodEffects<z.
|
|
64
|
+
zip: z.ZodEffects<z.ZodString, string, unknown>;
|
|
65
65
|
coordinates: z.ZodOptional<z.ZodObject<{
|
|
66
66
|
lat: z.ZodNumber;
|
|
67
67
|
lon: z.ZodNumber;
|
|
@@ -87,9 +87,9 @@ export declare const facilityCreateSchema: z.ZodObject<{
|
|
|
87
87
|
}, {
|
|
88
88
|
addressLine1: string;
|
|
89
89
|
city: string;
|
|
90
|
-
zip: string;
|
|
91
90
|
addressLine2?: string | undefined;
|
|
92
91
|
state?: unknown;
|
|
92
|
+
zip?: unknown;
|
|
93
93
|
coordinates?: {
|
|
94
94
|
lat: number;
|
|
95
95
|
lon: number;
|
|
@@ -117,9 +117,9 @@ export declare const facilityCreateSchema: z.ZodObject<{
|
|
|
117
117
|
address: {
|
|
118
118
|
addressLine1: string;
|
|
119
119
|
city: string;
|
|
120
|
-
zip: string;
|
|
121
120
|
addressLine2?: string | undefined;
|
|
122
121
|
state?: unknown;
|
|
122
|
+
zip?: unknown;
|
|
123
123
|
coordinates?: {
|
|
124
124
|
lat: number;
|
|
125
125
|
lon: number;
|
|
@@ -194,7 +194,7 @@ export declare const facilitySchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
194
194
|
WI: import("@metriport/shared").USState.WI;
|
|
195
195
|
WY: import("@metriport/shared").USState.WY;
|
|
196
196
|
}>, import("@metriport/shared").USState, unknown>, z.ZodEffects<z.ZodNativeEnum<typeof import("@metriport/shared").USTerritory>, import("@metriport/shared").USTerritory, unknown>]>;
|
|
197
|
-
zip: z.ZodEffects<z.
|
|
197
|
+
zip: z.ZodEffects<z.ZodString, string, unknown>;
|
|
198
198
|
coordinates: z.ZodOptional<z.ZodObject<{
|
|
199
199
|
lat: z.ZodNumber;
|
|
200
200
|
lon: z.ZodNumber;
|
|
@@ -220,9 +220,9 @@ export declare const facilitySchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
220
220
|
}, {
|
|
221
221
|
addressLine1: string;
|
|
222
222
|
city: string;
|
|
223
|
-
zip: string;
|
|
224
223
|
addressLine2?: string | undefined;
|
|
225
224
|
state?: unknown;
|
|
225
|
+
zip?: unknown;
|
|
226
226
|
coordinates?: {
|
|
227
227
|
lat: number;
|
|
228
228
|
lon: number;
|
|
@@ -256,9 +256,9 @@ export declare const facilitySchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
256
256
|
address: {
|
|
257
257
|
addressLine1: string;
|
|
258
258
|
city: string;
|
|
259
|
-
zip: string;
|
|
260
259
|
addressLine2?: string | undefined;
|
|
261
260
|
state?: unknown;
|
|
261
|
+
zip?: unknown;
|
|
262
262
|
coordinates?: {
|
|
263
263
|
lat: number;
|
|
264
264
|
lon: number;
|
|
@@ -335,7 +335,7 @@ export declare const facilityListSchema: z.ZodObject<{
|
|
|
335
335
|
WI: import("@metriport/shared").USState.WI;
|
|
336
336
|
WY: import("@metriport/shared").USState.WY;
|
|
337
337
|
}>, import("@metriport/shared").USState, unknown>, z.ZodEffects<z.ZodNativeEnum<typeof import("@metriport/shared").USTerritory>, import("@metriport/shared").USTerritory, unknown>]>;
|
|
338
|
-
zip: z.ZodEffects<z.
|
|
338
|
+
zip: z.ZodEffects<z.ZodString, string, unknown>;
|
|
339
339
|
coordinates: z.ZodOptional<z.ZodObject<{
|
|
340
340
|
lat: z.ZodNumber;
|
|
341
341
|
lon: z.ZodNumber;
|
|
@@ -361,9 +361,9 @@ export declare const facilityListSchema: z.ZodObject<{
|
|
|
361
361
|
}, {
|
|
362
362
|
addressLine1: string;
|
|
363
363
|
city: string;
|
|
364
|
-
zip: string;
|
|
365
364
|
addressLine2?: string | undefined;
|
|
366
365
|
state?: unknown;
|
|
366
|
+
zip?: unknown;
|
|
367
367
|
coordinates?: {
|
|
368
368
|
lat: number;
|
|
369
369
|
lon: number;
|
|
@@ -397,9 +397,9 @@ export declare const facilityListSchema: z.ZodObject<{
|
|
|
397
397
|
address: {
|
|
398
398
|
addressLine1: string;
|
|
399
399
|
city: string;
|
|
400
|
-
zip: string;
|
|
401
400
|
addressLine2?: string | undefined;
|
|
402
401
|
state?: unknown;
|
|
402
|
+
zip?: unknown;
|
|
403
403
|
coordinates?: {
|
|
404
404
|
lat: number;
|
|
405
405
|
lon: number;
|
|
@@ -439,9 +439,9 @@ export declare const facilityListSchema: z.ZodObject<{
|
|
|
439
439
|
address: {
|
|
440
440
|
addressLine1: string;
|
|
441
441
|
city: string;
|
|
442
|
-
zip: string;
|
|
443
442
|
addressLine2?: string | undefined;
|
|
444
443
|
state?: unknown;
|
|
444
|
+
zip?: unknown;
|
|
445
445
|
coordinates?: {
|
|
446
446
|
lat: number;
|
|
447
447
|
lon: number;
|
|
@@ -68,7 +68,7 @@ export declare const organizationCreateSchema: z.ZodObject<{
|
|
|
68
68
|
WI: import("@metriport/shared/domain/address/state").USState.WI;
|
|
69
69
|
WY: import("@metriport/shared/domain/address/state").USState.WY;
|
|
70
70
|
}>, import("@metriport/shared/domain/address/state").USState, unknown>, z.ZodEffects<z.ZodNativeEnum<typeof import("@metriport/shared/domain/address/territory").USTerritory>, import("@metriport/shared/domain/address/territory").USTerritory, unknown>]>;
|
|
71
|
-
zip: z.ZodEffects<z.
|
|
71
|
+
zip: z.ZodEffects<z.ZodString, string, unknown>;
|
|
72
72
|
coordinates: z.ZodOptional<z.ZodObject<{
|
|
73
73
|
lat: z.ZodNumber;
|
|
74
74
|
lon: z.ZodNumber;
|
|
@@ -94,9 +94,9 @@ export declare const organizationCreateSchema: z.ZodObject<{
|
|
|
94
94
|
}, {
|
|
95
95
|
addressLine1: string;
|
|
96
96
|
city: string;
|
|
97
|
-
zip: string;
|
|
98
97
|
addressLine2?: string | undefined;
|
|
99
98
|
state?: unknown;
|
|
99
|
+
zip?: unknown;
|
|
100
100
|
coordinates?: {
|
|
101
101
|
lat: number;
|
|
102
102
|
lon: number;
|
|
@@ -124,9 +124,9 @@ export declare const organizationCreateSchema: z.ZodObject<{
|
|
|
124
124
|
location: {
|
|
125
125
|
addressLine1: string;
|
|
126
126
|
city: string;
|
|
127
|
-
zip: string;
|
|
128
127
|
addressLine2?: string | undefined;
|
|
129
128
|
state?: unknown;
|
|
129
|
+
zip?: unknown;
|
|
130
130
|
coordinates?: {
|
|
131
131
|
lat: number;
|
|
132
132
|
lon: number;
|
|
@@ -197,7 +197,7 @@ export declare const organizationSchema: z.ZodObject<z.objectUtil.extendShape<z.
|
|
|
197
197
|
WI: import("@metriport/shared/domain/address/state").USState.WI;
|
|
198
198
|
WY: import("@metriport/shared/domain/address/state").USState.WY;
|
|
199
199
|
}>, import("@metriport/shared/domain/address/state").USState, unknown>, z.ZodEffects<z.ZodNativeEnum<typeof import("@metriport/shared/domain/address/territory").USTerritory>, import("@metriport/shared/domain/address/territory").USTerritory, unknown>]>;
|
|
200
|
-
zip: z.ZodEffects<z.
|
|
200
|
+
zip: z.ZodEffects<z.ZodString, string, unknown>;
|
|
201
201
|
coordinates: z.ZodOptional<z.ZodObject<{
|
|
202
202
|
lat: z.ZodNumber;
|
|
203
203
|
lon: z.ZodNumber;
|
|
@@ -223,9 +223,9 @@ export declare const organizationSchema: z.ZodObject<z.objectUtil.extendShape<z.
|
|
|
223
223
|
}, {
|
|
224
224
|
addressLine1: string;
|
|
225
225
|
city: string;
|
|
226
|
-
zip: string;
|
|
227
226
|
addressLine2?: string | undefined;
|
|
228
227
|
state?: unknown;
|
|
228
|
+
zip?: unknown;
|
|
229
229
|
coordinates?: {
|
|
230
230
|
lat: number;
|
|
231
231
|
lon: number;
|
|
@@ -260,9 +260,9 @@ export declare const organizationSchema: z.ZodObject<z.objectUtil.extendShape<z.
|
|
|
260
260
|
location: {
|
|
261
261
|
addressLine1: string;
|
|
262
262
|
city: string;
|
|
263
|
-
zip: string;
|
|
264
263
|
addressLine2?: string | undefined;
|
|
265
264
|
state?: unknown;
|
|
265
|
+
zip?: unknown;
|
|
266
266
|
coordinates?: {
|
|
267
267
|
lat: number;
|
|
268
268
|
lon: number;
|
|
@@ -210,7 +210,7 @@ export declare const patientCreateSchema: z.ZodObject<z.objectUtil.extendShape<z
|
|
|
210
210
|
WI: import("@metriport/shared").USState.WI;
|
|
211
211
|
WY: import("@metriport/shared").USState.WY;
|
|
212
212
|
}>, import("@metriport/shared").USState, unknown>, z.ZodEffects<z.ZodNativeEnum<typeof import("@metriport/shared").USTerritory>, import("@metriport/shared").USTerritory, unknown>]>;
|
|
213
|
-
zip: z.ZodEffects<z.
|
|
213
|
+
zip: z.ZodEffects<z.ZodString, string, unknown>;
|
|
214
214
|
coordinates: z.ZodOptional<z.ZodObject<{
|
|
215
215
|
lat: z.ZodNumber;
|
|
216
216
|
lon: z.ZodNumber;
|
|
@@ -236,9 +236,9 @@ export declare const patientCreateSchema: z.ZodObject<z.objectUtil.extendShape<z
|
|
|
236
236
|
}, {
|
|
237
237
|
addressLine1: string;
|
|
238
238
|
city: string;
|
|
239
|
-
zip: string;
|
|
240
239
|
addressLine2?: string | undefined;
|
|
241
240
|
state?: unknown;
|
|
241
|
+
zip?: unknown;
|
|
242
242
|
coordinates?: {
|
|
243
243
|
lat: number;
|
|
244
244
|
lon: number;
|
|
@@ -301,7 +301,7 @@ export declare const patientCreateSchema: z.ZodObject<z.objectUtil.extendShape<z
|
|
|
301
301
|
WI: import("@metriport/shared").USState.WI;
|
|
302
302
|
WY: import("@metriport/shared").USState.WY;
|
|
303
303
|
}>, import("@metriport/shared").USState, unknown>, z.ZodEffects<z.ZodNativeEnum<typeof import("@metriport/shared").USTerritory>, import("@metriport/shared").USTerritory, unknown>]>;
|
|
304
|
-
zip: z.ZodEffects<z.
|
|
304
|
+
zip: z.ZodEffects<z.ZodString, string, unknown>;
|
|
305
305
|
coordinates: z.ZodOptional<z.ZodObject<{
|
|
306
306
|
lat: z.ZodNumber;
|
|
307
307
|
lon: z.ZodNumber;
|
|
@@ -327,9 +327,9 @@ export declare const patientCreateSchema: z.ZodObject<z.objectUtil.extendShape<z
|
|
|
327
327
|
}, {
|
|
328
328
|
addressLine1: string;
|
|
329
329
|
city: string;
|
|
330
|
-
zip: string;
|
|
331
330
|
addressLine2?: string | undefined;
|
|
332
331
|
state?: unknown;
|
|
332
|
+
zip?: unknown;
|
|
333
333
|
coordinates?: {
|
|
334
334
|
lat: number;
|
|
335
335
|
lon: number;
|
|
@@ -471,9 +471,9 @@ export declare const patientCreateSchema: z.ZodObject<z.objectUtil.extendShape<z
|
|
|
471
471
|
address: {
|
|
472
472
|
addressLine1: string;
|
|
473
473
|
city: string;
|
|
474
|
-
zip: string;
|
|
475
474
|
addressLine2?: string | undefined;
|
|
476
475
|
state?: unknown;
|
|
476
|
+
zip?: unknown;
|
|
477
477
|
coordinates?: {
|
|
478
478
|
lat: number;
|
|
479
479
|
lon: number;
|
|
@@ -482,9 +482,9 @@ export declare const patientCreateSchema: z.ZodObject<z.objectUtil.extendShape<z
|
|
|
482
482
|
} | [{
|
|
483
483
|
addressLine1: string;
|
|
484
484
|
city: string;
|
|
485
|
-
zip: string;
|
|
486
485
|
addressLine2?: string | undefined;
|
|
487
486
|
state?: unknown;
|
|
487
|
+
zip?: unknown;
|
|
488
488
|
coordinates?: {
|
|
489
489
|
lat: number;
|
|
490
490
|
lon: number;
|
|
@@ -493,9 +493,9 @@ export declare const patientCreateSchema: z.ZodObject<z.objectUtil.extendShape<z
|
|
|
493
493
|
}, ...{
|
|
494
494
|
addressLine1: string;
|
|
495
495
|
city: string;
|
|
496
|
-
zip: string;
|
|
497
496
|
addressLine2?: string | undefined;
|
|
498
497
|
state?: unknown;
|
|
498
|
+
zip?: unknown;
|
|
499
499
|
coordinates?: {
|
|
500
500
|
lat: number;
|
|
501
501
|
lon: number;
|
|
@@ -751,7 +751,7 @@ export declare const patientUpdateSchema: z.ZodObject<z.objectUtil.extendShape<z
|
|
|
751
751
|
WI: import("@metriport/shared").USState.WI;
|
|
752
752
|
WY: import("@metriport/shared").USState.WY;
|
|
753
753
|
}>, import("@metriport/shared").USState, unknown>, z.ZodEffects<z.ZodNativeEnum<typeof import("@metriport/shared").USTerritory>, import("@metriport/shared").USTerritory, unknown>]>;
|
|
754
|
-
zip: z.ZodEffects<z.
|
|
754
|
+
zip: z.ZodEffects<z.ZodString, string, unknown>;
|
|
755
755
|
coordinates: z.ZodOptional<z.ZodObject<{
|
|
756
756
|
lat: z.ZodNumber;
|
|
757
757
|
lon: z.ZodNumber;
|
|
@@ -777,9 +777,9 @@ export declare const patientUpdateSchema: z.ZodObject<z.objectUtil.extendShape<z
|
|
|
777
777
|
}, {
|
|
778
778
|
addressLine1: string;
|
|
779
779
|
city: string;
|
|
780
|
-
zip: string;
|
|
781
780
|
addressLine2?: string | undefined;
|
|
782
781
|
state?: unknown;
|
|
782
|
+
zip?: unknown;
|
|
783
783
|
coordinates?: {
|
|
784
784
|
lat: number;
|
|
785
785
|
lon: number;
|
|
@@ -842,7 +842,7 @@ export declare const patientUpdateSchema: z.ZodObject<z.objectUtil.extendShape<z
|
|
|
842
842
|
WI: import("@metriport/shared").USState.WI;
|
|
843
843
|
WY: import("@metriport/shared").USState.WY;
|
|
844
844
|
}>, import("@metriport/shared").USState, unknown>, z.ZodEffects<z.ZodNativeEnum<typeof import("@metriport/shared").USTerritory>, import("@metriport/shared").USTerritory, unknown>]>;
|
|
845
|
-
zip: z.ZodEffects<z.
|
|
845
|
+
zip: z.ZodEffects<z.ZodString, string, unknown>;
|
|
846
846
|
coordinates: z.ZodOptional<z.ZodObject<{
|
|
847
847
|
lat: z.ZodNumber;
|
|
848
848
|
lon: z.ZodNumber;
|
|
@@ -868,9 +868,9 @@ export declare const patientUpdateSchema: z.ZodObject<z.objectUtil.extendShape<z
|
|
|
868
868
|
}, {
|
|
869
869
|
addressLine1: string;
|
|
870
870
|
city: string;
|
|
871
|
-
zip: string;
|
|
872
871
|
addressLine2?: string | undefined;
|
|
873
872
|
state?: unknown;
|
|
873
|
+
zip?: unknown;
|
|
874
874
|
coordinates?: {
|
|
875
875
|
lat: number;
|
|
876
876
|
lon: number;
|
|
@@ -1018,9 +1018,9 @@ export declare const patientUpdateSchema: z.ZodObject<z.objectUtil.extendShape<z
|
|
|
1018
1018
|
address: {
|
|
1019
1019
|
addressLine1: string;
|
|
1020
1020
|
city: string;
|
|
1021
|
-
zip: string;
|
|
1022
1021
|
addressLine2?: string | undefined;
|
|
1023
1022
|
state?: unknown;
|
|
1023
|
+
zip?: unknown;
|
|
1024
1024
|
coordinates?: {
|
|
1025
1025
|
lat: number;
|
|
1026
1026
|
lon: number;
|
|
@@ -1029,9 +1029,9 @@ export declare const patientUpdateSchema: z.ZodObject<z.objectUtil.extendShape<z
|
|
|
1029
1029
|
} | [{
|
|
1030
1030
|
addressLine1: string;
|
|
1031
1031
|
city: string;
|
|
1032
|
-
zip: string;
|
|
1033
1032
|
addressLine2?: string | undefined;
|
|
1034
1033
|
state?: unknown;
|
|
1034
|
+
zip?: unknown;
|
|
1035
1035
|
coordinates?: {
|
|
1036
1036
|
lat: number;
|
|
1037
1037
|
lon: number;
|
|
@@ -1040,9 +1040,9 @@ export declare const patientUpdateSchema: z.ZodObject<z.objectUtil.extendShape<z
|
|
|
1040
1040
|
}, ...{
|
|
1041
1041
|
addressLine1: string;
|
|
1042
1042
|
city: string;
|
|
1043
|
-
zip: string;
|
|
1044
1043
|
addressLine2?: string | undefined;
|
|
1045
1044
|
state?: unknown;
|
|
1045
|
+
zip?: unknown;
|
|
1046
1046
|
coordinates?: {
|
|
1047
1047
|
lat: number;
|
|
1048
1048
|
lon: number;
|
|
@@ -1299,7 +1299,7 @@ export declare const patientSchema: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
1299
1299
|
WI: import("@metriport/shared").USState.WI;
|
|
1300
1300
|
WY: import("@metriport/shared").USState.WY;
|
|
1301
1301
|
}>, import("@metriport/shared").USState, unknown>, z.ZodEffects<z.ZodNativeEnum<typeof import("@metriport/shared").USTerritory>, import("@metriport/shared").USTerritory, unknown>]>;
|
|
1302
|
-
zip: z.ZodEffects<z.
|
|
1302
|
+
zip: z.ZodEffects<z.ZodString, string, unknown>;
|
|
1303
1303
|
coordinates: z.ZodOptional<z.ZodObject<{
|
|
1304
1304
|
lat: z.ZodNumber;
|
|
1305
1305
|
lon: z.ZodNumber;
|
|
@@ -1325,9 +1325,9 @@ export declare const patientSchema: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
1325
1325
|
}, {
|
|
1326
1326
|
addressLine1: string;
|
|
1327
1327
|
city: string;
|
|
1328
|
-
zip: string;
|
|
1329
1328
|
addressLine2?: string | undefined;
|
|
1330
1329
|
state?: unknown;
|
|
1330
|
+
zip?: unknown;
|
|
1331
1331
|
coordinates?: {
|
|
1332
1332
|
lat: number;
|
|
1333
1333
|
lon: number;
|
|
@@ -1390,7 +1390,7 @@ export declare const patientSchema: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
1390
1390
|
WI: import("@metriport/shared").USState.WI;
|
|
1391
1391
|
WY: import("@metriport/shared").USState.WY;
|
|
1392
1392
|
}>, import("@metriport/shared").USState, unknown>, z.ZodEffects<z.ZodNativeEnum<typeof import("@metriport/shared").USTerritory>, import("@metriport/shared").USTerritory, unknown>]>;
|
|
1393
|
-
zip: z.ZodEffects<z.
|
|
1393
|
+
zip: z.ZodEffects<z.ZodString, string, unknown>;
|
|
1394
1394
|
coordinates: z.ZodOptional<z.ZodObject<{
|
|
1395
1395
|
lat: z.ZodNumber;
|
|
1396
1396
|
lon: z.ZodNumber;
|
|
@@ -1416,9 +1416,9 @@ export declare const patientSchema: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
1416
1416
|
}, {
|
|
1417
1417
|
addressLine1: string;
|
|
1418
1418
|
city: string;
|
|
1419
|
-
zip: string;
|
|
1420
1419
|
addressLine2?: string | undefined;
|
|
1421
1420
|
state?: unknown;
|
|
1421
|
+
zip?: unknown;
|
|
1422
1422
|
coordinates?: {
|
|
1423
1423
|
lat: number;
|
|
1424
1424
|
lon: number;
|
|
@@ -1569,9 +1569,9 @@ export declare const patientSchema: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
1569
1569
|
address: {
|
|
1570
1570
|
addressLine1: string;
|
|
1571
1571
|
city: string;
|
|
1572
|
-
zip: string;
|
|
1573
1572
|
addressLine2?: string | undefined;
|
|
1574
1573
|
state?: unknown;
|
|
1574
|
+
zip?: unknown;
|
|
1575
1575
|
coordinates?: {
|
|
1576
1576
|
lat: number;
|
|
1577
1577
|
lon: number;
|
|
@@ -1580,9 +1580,9 @@ export declare const patientSchema: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
1580
1580
|
} | [{
|
|
1581
1581
|
addressLine1: string;
|
|
1582
1582
|
city: string;
|
|
1583
|
-
zip: string;
|
|
1584
1583
|
addressLine2?: string | undefined;
|
|
1585
1584
|
state?: unknown;
|
|
1585
|
+
zip?: unknown;
|
|
1586
1586
|
coordinates?: {
|
|
1587
1587
|
lat: number;
|
|
1588
1588
|
lon: number;
|
|
@@ -1591,9 +1591,9 @@ export declare const patientSchema: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
1591
1591
|
}, ...{
|
|
1592
1592
|
addressLine1: string;
|
|
1593
1593
|
city: string;
|
|
1594
|
-
zip: string;
|
|
1595
1594
|
addressLine2?: string | undefined;
|
|
1596
1595
|
state?: unknown;
|
|
1596
|
+
zip?: unknown;
|
|
1597
1597
|
coordinates?: {
|
|
1598
1598
|
lat: number;
|
|
1599
1599
|
lon: number;
|
|
@@ -1852,7 +1852,7 @@ export declare const patientListSchema: z.ZodObject<{
|
|
|
1852
1852
|
WI: import("@metriport/shared").USState.WI;
|
|
1853
1853
|
WY: import("@metriport/shared").USState.WY;
|
|
1854
1854
|
}>, import("@metriport/shared").USState, unknown>, z.ZodEffects<z.ZodNativeEnum<typeof import("@metriport/shared").USTerritory>, import("@metriport/shared").USTerritory, unknown>]>;
|
|
1855
|
-
zip: z.ZodEffects<z.
|
|
1855
|
+
zip: z.ZodEffects<z.ZodString, string, unknown>;
|
|
1856
1856
|
coordinates: z.ZodOptional<z.ZodObject<{
|
|
1857
1857
|
lat: z.ZodNumber;
|
|
1858
1858
|
lon: z.ZodNumber;
|
|
@@ -1878,9 +1878,9 @@ export declare const patientListSchema: z.ZodObject<{
|
|
|
1878
1878
|
}, {
|
|
1879
1879
|
addressLine1: string;
|
|
1880
1880
|
city: string;
|
|
1881
|
-
zip: string;
|
|
1882
1881
|
addressLine2?: string | undefined;
|
|
1883
1882
|
state?: unknown;
|
|
1883
|
+
zip?: unknown;
|
|
1884
1884
|
coordinates?: {
|
|
1885
1885
|
lat: number;
|
|
1886
1886
|
lon: number;
|
|
@@ -1943,7 +1943,7 @@ export declare const patientListSchema: z.ZodObject<{
|
|
|
1943
1943
|
WI: import("@metriport/shared").USState.WI;
|
|
1944
1944
|
WY: import("@metriport/shared").USState.WY;
|
|
1945
1945
|
}>, import("@metriport/shared").USState, unknown>, z.ZodEffects<z.ZodNativeEnum<typeof import("@metriport/shared").USTerritory>, import("@metriport/shared").USTerritory, unknown>]>;
|
|
1946
|
-
zip: z.ZodEffects<z.
|
|
1946
|
+
zip: z.ZodEffects<z.ZodString, string, unknown>;
|
|
1947
1947
|
coordinates: z.ZodOptional<z.ZodObject<{
|
|
1948
1948
|
lat: z.ZodNumber;
|
|
1949
1949
|
lon: z.ZodNumber;
|
|
@@ -1969,9 +1969,9 @@ export declare const patientListSchema: z.ZodObject<{
|
|
|
1969
1969
|
}, {
|
|
1970
1970
|
addressLine1: string;
|
|
1971
1971
|
city: string;
|
|
1972
|
-
zip: string;
|
|
1973
1972
|
addressLine2?: string | undefined;
|
|
1974
1973
|
state?: unknown;
|
|
1974
|
+
zip?: unknown;
|
|
1975
1975
|
coordinates?: {
|
|
1976
1976
|
lat: number;
|
|
1977
1977
|
lon: number;
|
|
@@ -2122,9 +2122,9 @@ export declare const patientListSchema: z.ZodObject<{
|
|
|
2122
2122
|
address: {
|
|
2123
2123
|
addressLine1: string;
|
|
2124
2124
|
city: string;
|
|
2125
|
-
zip: string;
|
|
2126
2125
|
addressLine2?: string | undefined;
|
|
2127
2126
|
state?: unknown;
|
|
2127
|
+
zip?: unknown;
|
|
2128
2128
|
coordinates?: {
|
|
2129
2129
|
lat: number;
|
|
2130
2130
|
lon: number;
|
|
@@ -2133,9 +2133,9 @@ export declare const patientListSchema: z.ZodObject<{
|
|
|
2133
2133
|
} | [{
|
|
2134
2134
|
addressLine1: string;
|
|
2135
2135
|
city: string;
|
|
2136
|
-
zip: string;
|
|
2137
2136
|
addressLine2?: string | undefined;
|
|
2138
2137
|
state?: unknown;
|
|
2138
|
+
zip?: unknown;
|
|
2139
2139
|
coordinates?: {
|
|
2140
2140
|
lat: number;
|
|
2141
2141
|
lon: number;
|
|
@@ -2144,9 +2144,9 @@ export declare const patientListSchema: z.ZodObject<{
|
|
|
2144
2144
|
}, ...{
|
|
2145
2145
|
addressLine1: string;
|
|
2146
2146
|
city: string;
|
|
2147
|
-
zip: string;
|
|
2148
2147
|
addressLine2?: string | undefined;
|
|
2149
2148
|
state?: unknown;
|
|
2149
|
+
zip?: unknown;
|
|
2150
2150
|
coordinates?: {
|
|
2151
2151
|
lat: number;
|
|
2152
2152
|
lon: number;
|
|
@@ -2284,9 +2284,9 @@ export declare const patientListSchema: z.ZodObject<{
|
|
|
2284
2284
|
address: {
|
|
2285
2285
|
addressLine1: string;
|
|
2286
2286
|
city: string;
|
|
2287
|
-
zip: string;
|
|
2288
2287
|
addressLine2?: string | undefined;
|
|
2289
2288
|
state?: unknown;
|
|
2289
|
+
zip?: unknown;
|
|
2290
2290
|
coordinates?: {
|
|
2291
2291
|
lat: number;
|
|
2292
2292
|
lon: number;
|
|
@@ -2295,9 +2295,9 @@ export declare const patientListSchema: z.ZodObject<{
|
|
|
2295
2295
|
} | [{
|
|
2296
2296
|
addressLine1: string;
|
|
2297
2297
|
city: string;
|
|
2298
|
-
zip: string;
|
|
2299
2298
|
addressLine2?: string | undefined;
|
|
2300
2299
|
state?: unknown;
|
|
2300
|
+
zip?: unknown;
|
|
2301
2301
|
coordinates?: {
|
|
2302
2302
|
lat: number;
|
|
2303
2303
|
lon: number;
|
|
@@ -2306,9 +2306,9 @@ export declare const patientListSchema: z.ZodObject<{
|
|
|
2306
2306
|
}, ...{
|
|
2307
2307
|
addressLine1: string;
|
|
2308
2308
|
city: string;
|
|
2309
|
-
zip: string;
|
|
2310
2309
|
addressLine2?: string | undefined;
|
|
2311
2310
|
state?: unknown;
|
|
2311
|
+
zip?: unknown;
|
|
2312
2312
|
coordinates?: {
|
|
2313
2313
|
lat: number;
|
|
2314
2314
|
lon: number;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@metriport/api-sdk",
|
|
3
|
-
"version": "17.
|
|
3
|
+
"version": "17.3.0-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/",
|
|
@@ -58,8 +58,8 @@
|
|
|
58
58
|
},
|
|
59
59
|
"dependencies": {
|
|
60
60
|
"@medplum/fhirtypes": "^2.0.32",
|
|
61
|
-
"@metriport/commonwell-sdk": "^5.9.
|
|
62
|
-
"@metriport/shared": "^0.
|
|
61
|
+
"@metriport/commonwell-sdk": "^5.9.21-alpha.0",
|
|
62
|
+
"@metriport/shared": "^0.25.0-alpha.0",
|
|
63
63
|
"axios": "^1.8.2",
|
|
64
64
|
"dayjs": "^1.11.7",
|
|
65
65
|
"dotenv": "^16.3.1",
|
|
@@ -78,5 +78,5 @@
|
|
|
78
78
|
"ts-jest": "29.1.1",
|
|
79
79
|
"typescript": "^4.9.5"
|
|
80
80
|
},
|
|
81
|
-
"gitHead": "
|
|
81
|
+
"gitHead": "5ad92dd4b589da27a065dfbb8dc3396cc8e14acf"
|
|
82
82
|
}
|
|
@@ -1,320 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
export declare const cohortMonitoringSchema: z.ZodObject<{
|
|
3
|
-
adt: z.ZodBoolean;
|
|
4
|
-
}, "strip", z.ZodTypeAny, {
|
|
5
|
-
adt: boolean;
|
|
6
|
-
}, {
|
|
7
|
-
adt: boolean;
|
|
8
|
-
}>;
|
|
9
|
-
export declare const cohortCreateSchema: z.ZodObject<{
|
|
10
|
-
name: z.ZodString;
|
|
11
|
-
monitoring: z.ZodObject<{
|
|
12
|
-
adt: z.ZodBoolean;
|
|
13
|
-
}, "strip", z.ZodTypeAny, {
|
|
14
|
-
adt: boolean;
|
|
15
|
-
}, {
|
|
16
|
-
adt: boolean;
|
|
17
|
-
}>;
|
|
18
|
-
}, "strip", z.ZodTypeAny, {
|
|
19
|
-
name: string;
|
|
20
|
-
monitoring: {
|
|
21
|
-
adt: boolean;
|
|
22
|
-
};
|
|
23
|
-
}, {
|
|
24
|
-
name: string;
|
|
25
|
-
monitoring: {
|
|
26
|
-
adt: boolean;
|
|
27
|
-
};
|
|
28
|
-
}>;
|
|
29
|
-
export declare const cohortUpdateSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
30
|
-
name: z.ZodString;
|
|
31
|
-
monitoring: z.ZodOptional<z.ZodObject<{
|
|
32
|
-
adt: z.ZodBoolean;
|
|
33
|
-
}, "strip", z.ZodTypeAny, {
|
|
34
|
-
adt: boolean;
|
|
35
|
-
}, {
|
|
36
|
-
adt: boolean;
|
|
37
|
-
}>>;
|
|
38
|
-
}, {
|
|
39
|
-
id: z.ZodString;
|
|
40
|
-
eTag: z.ZodOptional<z.ZodString>;
|
|
41
|
-
}>, "strip", z.ZodTypeAny, {
|
|
42
|
-
name: string;
|
|
43
|
-
id: string;
|
|
44
|
-
monitoring?: {
|
|
45
|
-
adt: boolean;
|
|
46
|
-
} | undefined;
|
|
47
|
-
eTag?: string | undefined;
|
|
48
|
-
}, {
|
|
49
|
-
name: string;
|
|
50
|
-
id: string;
|
|
51
|
-
monitoring?: {
|
|
52
|
-
adt: boolean;
|
|
53
|
-
} | undefined;
|
|
54
|
-
eTag?: string | undefined;
|
|
55
|
-
}>;
|
|
56
|
-
export declare const cohortDTOSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
57
|
-
name: z.ZodString;
|
|
58
|
-
monitoring: z.ZodObject<{
|
|
59
|
-
adt: z.ZodBoolean;
|
|
60
|
-
}, "strip", z.ZodTypeAny, {
|
|
61
|
-
adt: boolean;
|
|
62
|
-
}, {
|
|
63
|
-
adt: boolean;
|
|
64
|
-
}>;
|
|
65
|
-
}, {
|
|
66
|
-
id: z.ZodString;
|
|
67
|
-
dateCreated: z.ZodOptional<z.ZodString>;
|
|
68
|
-
}>, "strip", z.ZodTypeAny, {
|
|
69
|
-
name: string;
|
|
70
|
-
monitoring: {
|
|
71
|
-
adt: boolean;
|
|
72
|
-
};
|
|
73
|
-
id: string;
|
|
74
|
-
dateCreated?: string | undefined;
|
|
75
|
-
}, {
|
|
76
|
-
name: string;
|
|
77
|
-
monitoring: {
|
|
78
|
-
adt: boolean;
|
|
79
|
-
};
|
|
80
|
-
id: string;
|
|
81
|
-
dateCreated?: string | undefined;
|
|
82
|
-
}>;
|
|
83
|
-
export declare const cohortWithCountDTOSchema: z.ZodObject<{
|
|
84
|
-
cohort: z.ZodObject<z.objectUtil.extendShape<{
|
|
85
|
-
name: z.ZodString;
|
|
86
|
-
monitoring: z.ZodObject<{
|
|
87
|
-
adt: z.ZodBoolean;
|
|
88
|
-
}, "strip", z.ZodTypeAny, {
|
|
89
|
-
adt: boolean;
|
|
90
|
-
}, {
|
|
91
|
-
adt: boolean;
|
|
92
|
-
}>;
|
|
93
|
-
}, {
|
|
94
|
-
id: z.ZodString;
|
|
95
|
-
dateCreated: z.ZodOptional<z.ZodString>;
|
|
96
|
-
}>, "strip", z.ZodTypeAny, {
|
|
97
|
-
name: string;
|
|
98
|
-
monitoring: {
|
|
99
|
-
adt: boolean;
|
|
100
|
-
};
|
|
101
|
-
id: string;
|
|
102
|
-
dateCreated?: string | undefined;
|
|
103
|
-
}, {
|
|
104
|
-
name: string;
|
|
105
|
-
monitoring: {
|
|
106
|
-
adt: boolean;
|
|
107
|
-
};
|
|
108
|
-
id: string;
|
|
109
|
-
dateCreated?: string | undefined;
|
|
110
|
-
}>;
|
|
111
|
-
patientCount: z.ZodNumber;
|
|
112
|
-
}, "strip", z.ZodTypeAny, {
|
|
113
|
-
cohort: {
|
|
114
|
-
name: string;
|
|
115
|
-
monitoring: {
|
|
116
|
-
adt: boolean;
|
|
117
|
-
};
|
|
118
|
-
id: string;
|
|
119
|
-
dateCreated?: string | undefined;
|
|
120
|
-
};
|
|
121
|
-
patientCount: number;
|
|
122
|
-
}, {
|
|
123
|
-
cohort: {
|
|
124
|
-
name: string;
|
|
125
|
-
monitoring: {
|
|
126
|
-
adt: boolean;
|
|
127
|
-
};
|
|
128
|
-
id: string;
|
|
129
|
-
dateCreated?: string | undefined;
|
|
130
|
-
};
|
|
131
|
-
patientCount: number;
|
|
132
|
-
}>;
|
|
133
|
-
export declare const cohortWithPatientIdsAndCountDTOSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
134
|
-
cohort: z.ZodObject<z.objectUtil.extendShape<{
|
|
135
|
-
name: z.ZodString;
|
|
136
|
-
monitoring: z.ZodObject<{
|
|
137
|
-
adt: z.ZodBoolean;
|
|
138
|
-
}, "strip", z.ZodTypeAny, {
|
|
139
|
-
adt: boolean;
|
|
140
|
-
}, {
|
|
141
|
-
adt: boolean;
|
|
142
|
-
}>;
|
|
143
|
-
}, {
|
|
144
|
-
id: z.ZodString;
|
|
145
|
-
dateCreated: z.ZodOptional<z.ZodString>;
|
|
146
|
-
}>, "strip", z.ZodTypeAny, {
|
|
147
|
-
name: string;
|
|
148
|
-
monitoring: {
|
|
149
|
-
adt: boolean;
|
|
150
|
-
};
|
|
151
|
-
id: string;
|
|
152
|
-
dateCreated?: string | undefined;
|
|
153
|
-
}, {
|
|
154
|
-
name: string;
|
|
155
|
-
monitoring: {
|
|
156
|
-
adt: boolean;
|
|
157
|
-
};
|
|
158
|
-
id: string;
|
|
159
|
-
dateCreated?: string | undefined;
|
|
160
|
-
}>;
|
|
161
|
-
patientCount: z.ZodNumber;
|
|
162
|
-
}, {
|
|
163
|
-
patientIds: z.ZodArray<z.ZodString, "many">;
|
|
164
|
-
}>, "strip", z.ZodTypeAny, {
|
|
165
|
-
cohort: {
|
|
166
|
-
name: string;
|
|
167
|
-
monitoring: {
|
|
168
|
-
adt: boolean;
|
|
169
|
-
};
|
|
170
|
-
id: string;
|
|
171
|
-
dateCreated?: string | undefined;
|
|
172
|
-
};
|
|
173
|
-
patientCount: number;
|
|
174
|
-
patientIds: string[];
|
|
175
|
-
}, {
|
|
176
|
-
cohort: {
|
|
177
|
-
name: string;
|
|
178
|
-
monitoring: {
|
|
179
|
-
adt: boolean;
|
|
180
|
-
};
|
|
181
|
-
id: string;
|
|
182
|
-
dateCreated?: string | undefined;
|
|
183
|
-
};
|
|
184
|
-
patientCount: number;
|
|
185
|
-
patientIds: string[];
|
|
186
|
-
}>;
|
|
187
|
-
export declare const cohortListResponseSchema: z.ZodObject<{
|
|
188
|
-
cohorts: z.ZodArray<z.ZodObject<{
|
|
189
|
-
cohort: z.ZodObject<z.objectUtil.extendShape<{
|
|
190
|
-
name: z.ZodString;
|
|
191
|
-
monitoring: z.ZodObject<{
|
|
192
|
-
adt: z.ZodBoolean;
|
|
193
|
-
}, "strip", z.ZodTypeAny, {
|
|
194
|
-
adt: boolean;
|
|
195
|
-
}, {
|
|
196
|
-
adt: boolean;
|
|
197
|
-
}>;
|
|
198
|
-
}, {
|
|
199
|
-
id: z.ZodString;
|
|
200
|
-
dateCreated: z.ZodOptional<z.ZodString>;
|
|
201
|
-
}>, "strip", z.ZodTypeAny, {
|
|
202
|
-
name: string;
|
|
203
|
-
monitoring: {
|
|
204
|
-
adt: boolean;
|
|
205
|
-
};
|
|
206
|
-
id: string;
|
|
207
|
-
dateCreated?: string | undefined;
|
|
208
|
-
}, {
|
|
209
|
-
name: string;
|
|
210
|
-
monitoring: {
|
|
211
|
-
adt: boolean;
|
|
212
|
-
};
|
|
213
|
-
id: string;
|
|
214
|
-
dateCreated?: string | undefined;
|
|
215
|
-
}>;
|
|
216
|
-
patientCount: z.ZodNumber;
|
|
217
|
-
}, "strip", z.ZodTypeAny, {
|
|
218
|
-
cohort: {
|
|
219
|
-
name: string;
|
|
220
|
-
monitoring: {
|
|
221
|
-
adt: boolean;
|
|
222
|
-
};
|
|
223
|
-
id: string;
|
|
224
|
-
dateCreated?: string | undefined;
|
|
225
|
-
};
|
|
226
|
-
patientCount: number;
|
|
227
|
-
}, {
|
|
228
|
-
cohort: {
|
|
229
|
-
name: string;
|
|
230
|
-
monitoring: {
|
|
231
|
-
adt: boolean;
|
|
232
|
-
};
|
|
233
|
-
id: string;
|
|
234
|
-
dateCreated?: string | undefined;
|
|
235
|
-
};
|
|
236
|
-
patientCount: number;
|
|
237
|
-
}>, "many">;
|
|
238
|
-
}, "strip", z.ZodTypeAny, {
|
|
239
|
-
cohorts: {
|
|
240
|
-
cohort: {
|
|
241
|
-
name: string;
|
|
242
|
-
monitoring: {
|
|
243
|
-
adt: boolean;
|
|
244
|
-
};
|
|
245
|
-
id: string;
|
|
246
|
-
dateCreated?: string | undefined;
|
|
247
|
-
};
|
|
248
|
-
patientCount: number;
|
|
249
|
-
}[];
|
|
250
|
-
}, {
|
|
251
|
-
cohorts: {
|
|
252
|
-
cohort: {
|
|
253
|
-
name: string;
|
|
254
|
-
monitoring: {
|
|
255
|
-
adt: boolean;
|
|
256
|
-
};
|
|
257
|
-
id: string;
|
|
258
|
-
dateCreated?: string | undefined;
|
|
259
|
-
};
|
|
260
|
-
patientCount: number;
|
|
261
|
-
}[];
|
|
262
|
-
}>;
|
|
263
|
-
export declare const patientUnassignmentResponseSchema: z.ZodObject<{
|
|
264
|
-
message: z.ZodString;
|
|
265
|
-
unassignedCount: z.ZodNumber;
|
|
266
|
-
}, "strip", z.ZodTypeAny, {
|
|
267
|
-
message: string;
|
|
268
|
-
unassignedCount: number;
|
|
269
|
-
}, {
|
|
270
|
-
message: string;
|
|
271
|
-
unassignedCount: number;
|
|
272
|
-
}>;
|
|
273
|
-
export declare const cohortSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
274
|
-
name: z.ZodString;
|
|
275
|
-
monitoring: z.ZodObject<{
|
|
276
|
-
adt: z.ZodBoolean;
|
|
277
|
-
}, "strip", z.ZodTypeAny, {
|
|
278
|
-
adt: boolean;
|
|
279
|
-
}, {
|
|
280
|
-
adt: boolean;
|
|
281
|
-
}>;
|
|
282
|
-
}, {
|
|
283
|
-
id: z.ZodString;
|
|
284
|
-
eTag: z.ZodOptional<z.ZodString>;
|
|
285
|
-
}>, "strip", z.ZodTypeAny, {
|
|
286
|
-
name: string;
|
|
287
|
-
monitoring: {
|
|
288
|
-
adt: boolean;
|
|
289
|
-
};
|
|
290
|
-
id: string;
|
|
291
|
-
eTag?: string | undefined;
|
|
292
|
-
}, {
|
|
293
|
-
name: string;
|
|
294
|
-
monitoring: {
|
|
295
|
-
adt: boolean;
|
|
296
|
-
};
|
|
297
|
-
id: string;
|
|
298
|
-
eTag?: string | undefined;
|
|
299
|
-
}>;
|
|
300
|
-
export declare const cohortPatientIdsSchema: z.ZodObject<{
|
|
301
|
-
patientIds: z.ZodArray<z.ZodString, "many">;
|
|
302
|
-
}, "strip", z.ZodTypeAny, {
|
|
303
|
-
patientIds: string[];
|
|
304
|
-
}, {
|
|
305
|
-
patientIds: string[];
|
|
306
|
-
}>;
|
|
307
|
-
export type CohortCreate = z.infer<typeof cohortCreateSchema>;
|
|
308
|
-
export type Cohort = z.infer<typeof cohortSchema>;
|
|
309
|
-
export type CohortUpdate = z.infer<typeof cohortUpdateSchema>;
|
|
310
|
-
export type CohortDTO = z.infer<typeof cohortDTOSchema>;
|
|
311
|
-
export type CohortWithCountDTO = z.infer<typeof cohortWithCountDTOSchema>;
|
|
312
|
-
export type CohortWithPatientIdsAndCountDTO = z.infer<typeof cohortWithPatientIdsAndCountDTOSchema>;
|
|
313
|
-
export type CohortListResponse = z.infer<typeof cohortListResponseSchema>;
|
|
314
|
-
export type CohortPatientIds = z.infer<typeof cohortPatientIdsSchema>;
|
|
315
|
-
export type PatientAssignmentRequest = {
|
|
316
|
-
patientIds?: string[];
|
|
317
|
-
all?: boolean;
|
|
318
|
-
};
|
|
319
|
-
export type PatientUnassignmentResponse = z.infer<typeof patientUnassignmentResponseSchema>;
|
|
320
|
-
//# sourceMappingURL=cohort.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"cohort.d.ts","sourceRoot":"","sources":["../../../src/medical/models/cohort.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,sBAAsB;;;;;;EAEjC,CAAC;AAEH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;EAG7B,CAAC;AAEH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;EAKL,CAAC;AAE3B,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;EAK3B,CAAC;AAEF,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAGnC,CAAC;AAEH,eAAO,MAAM,qCAAqC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAIjD,CAAC;AAEF,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAEnC,CAAC;AAEH,eAAO,MAAM,iCAAiC;;;;;;;;;EAG5C,CAAC;AAEH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;EAA6C,CAAC;AAEvE,eAAO,MAAM,sBAAsB;;;;;;EAEjC,CAAC;AAEH,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAC9D,MAAM,MAAM,MAAM,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAC;AAClD,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAC9D,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AACxD,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAC1E,MAAM,MAAM,+BAA+B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qCAAqC,CAAC,CAAC;AACpG,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAC1E,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AACtE,MAAM,MAAM,wBAAwB,GAAG;IACrC,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;IACtB,GAAG,CAAC,EAAE,OAAO,CAAC;CACf,CAAC;AAEF,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iCAAiC,CAAC,CAAC"}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.cohortPatientIdsSchema = exports.cohortSchema = exports.patientUnassignmentResponseSchema = exports.cohortListResponseSchema = exports.cohortWithPatientIdsAndCountDTOSchema = exports.cohortWithCountDTOSchema = exports.cohortDTOSchema = exports.cohortUpdateSchema = exports.cohortCreateSchema = exports.cohortMonitoringSchema = void 0;
|
|
4
|
-
const zod_1 = require("zod");
|
|
5
|
-
const base_update_1 = require("./common/base-update");
|
|
6
|
-
exports.cohortMonitoringSchema = zod_1.z.object({
|
|
7
|
-
adt: zod_1.z.boolean(),
|
|
8
|
-
});
|
|
9
|
-
exports.cohortCreateSchema = zod_1.z.object({
|
|
10
|
-
name: zod_1.z.string(),
|
|
11
|
-
monitoring: exports.cohortMonitoringSchema,
|
|
12
|
-
});
|
|
13
|
-
exports.cohortUpdateSchema = zod_1.z
|
|
14
|
-
.object({
|
|
15
|
-
name: zod_1.z.string(),
|
|
16
|
-
monitoring: exports.cohortMonitoringSchema.optional(),
|
|
17
|
-
})
|
|
18
|
-
.merge(base_update_1.baseUpdateSchema);
|
|
19
|
-
exports.cohortDTOSchema = exports.cohortCreateSchema.merge(zod_1.z.object({
|
|
20
|
-
id: zod_1.z.string().uuid(),
|
|
21
|
-
dateCreated: zod_1.z.string().datetime().optional(),
|
|
22
|
-
}));
|
|
23
|
-
exports.cohortWithCountDTOSchema = zod_1.z.object({
|
|
24
|
-
cohort: exports.cohortDTOSchema,
|
|
25
|
-
patientCount: zod_1.z.number(),
|
|
26
|
-
});
|
|
27
|
-
exports.cohortWithPatientIdsAndCountDTOSchema = exports.cohortWithCountDTOSchema.merge(zod_1.z.object({
|
|
28
|
-
patientIds: zod_1.z.array(zod_1.z.string()),
|
|
29
|
-
}));
|
|
30
|
-
exports.cohortListResponseSchema = zod_1.z.object({
|
|
31
|
-
cohorts: zod_1.z.array(exports.cohortWithCountDTOSchema),
|
|
32
|
-
});
|
|
33
|
-
exports.patientUnassignmentResponseSchema = zod_1.z.object({
|
|
34
|
-
message: zod_1.z.string(),
|
|
35
|
-
unassignedCount: zod_1.z.number(),
|
|
36
|
-
});
|
|
37
|
-
exports.cohortSchema = exports.cohortCreateSchema.merge(base_update_1.baseUpdateSchema);
|
|
38
|
-
exports.cohortPatientIdsSchema = zod_1.z.object({
|
|
39
|
-
patientIds: zod_1.z.array(zod_1.z.string()),
|
|
40
|
-
});
|
|
41
|
-
//# sourceMappingURL=cohort.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"cohort.js","sourceRoot":"","sources":["../../../src/medical/models/cohort.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,sDAAwD;AAE3C,QAAA,sBAAsB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC7C,GAAG,EAAE,OAAC,CAAC,OAAO,EAAE;CACjB,CAAC,CAAC;AAEU,QAAA,kBAAkB,GAAG,OAAC,CAAC,MAAM,CAAC;IACzC,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE;IAChB,UAAU,EAAE,8BAAsB;CACnC,CAAC,CAAC;AAEU,QAAA,kBAAkB,GAAG,OAAC;KAChC,MAAM,CAAC;IACN,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE;IAChB,UAAU,EAAE,8BAAsB,CAAC,QAAQ,EAAE;CAC9C,CAAC;KACD,KAAK,CAAC,8BAAgB,CAAC,CAAC;AAEd,QAAA,eAAe,GAAG,0BAAkB,CAAC,KAAK,CACrD,OAAC,CAAC,MAAM,CAAC;IACP,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IACrB,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;CAC9C,CAAC,CACH,CAAC;AAEW,QAAA,wBAAwB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC/C,MAAM,EAAE,uBAAe;IACvB,YAAY,EAAE,OAAC,CAAC,MAAM,EAAE;CACzB,CAAC,CAAC;AAEU,QAAA,qCAAqC,GAAG,gCAAwB,CAAC,KAAK,CACjF,OAAC,CAAC,MAAM,CAAC;IACP,UAAU,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC;CAChC,CAAC,CACH,CAAC;AAEW,QAAA,wBAAwB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC/C,OAAO,EAAE,OAAC,CAAC,KAAK,CAAC,gCAAwB,CAAC;CAC3C,CAAC,CAAC;AAEU,QAAA,iCAAiC,GAAG,OAAC,CAAC,MAAM,CAAC;IACxD,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE;IACnB,eAAe,EAAE,OAAC,CAAC,MAAM,EAAE;CAC5B,CAAC,CAAC;AAEU,QAAA,YAAY,GAAG,0BAAkB,CAAC,KAAK,CAAC,8BAAgB,CAAC,CAAC;AAE1D,QAAA,sBAAsB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC7C,UAAU,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC;CAChC,CAAC,CAAC"}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
declare const subscriptionsSchema: z.ZodObject<{
|
|
3
|
-
adt: z.ZodOptional<z.ZodBoolean>;
|
|
4
|
-
}, "strip", z.ZodTypeAny, {
|
|
5
|
-
adt?: boolean | undefined;
|
|
6
|
-
}, {
|
|
7
|
-
adt?: boolean | undefined;
|
|
8
|
-
}>;
|
|
9
|
-
export type PatientSubscriptions = z.infer<typeof subscriptionsSchema>;
|
|
10
|
-
export declare const patientSettingsSchema: z.ZodObject<{
|
|
11
|
-
subscriptions: z.ZodOptional<z.ZodObject<{
|
|
12
|
-
adt: z.ZodOptional<z.ZodBoolean>;
|
|
13
|
-
}, "strip", z.ZodTypeAny, {
|
|
14
|
-
adt?: boolean | undefined;
|
|
15
|
-
}, {
|
|
16
|
-
adt?: boolean | undefined;
|
|
17
|
-
}>>;
|
|
18
|
-
}, "strip", z.ZodTypeAny, {
|
|
19
|
-
subscriptions?: {
|
|
20
|
-
adt?: boolean | undefined;
|
|
21
|
-
} | undefined;
|
|
22
|
-
}, {
|
|
23
|
-
subscriptions?: {
|
|
24
|
-
adt?: boolean | undefined;
|
|
25
|
-
} | undefined;
|
|
26
|
-
}>;
|
|
27
|
-
export {};
|
|
28
|
-
//# sourceMappingURL=patient-settings.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"patient-settings.d.ts","sourceRoot":"","sources":["../../../src/medical/models/patient-settings.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,QAAA,MAAM,mBAAmB;;;;;;EAEvB,CAAC;AAEH,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAEvE,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;EAEhC,CAAC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.patientSettingsSchema = void 0;
|
|
4
|
-
const zod_1 = require("zod");
|
|
5
|
-
const subscriptionsSchema = zod_1.z.object({
|
|
6
|
-
adt: zod_1.z.boolean().optional(),
|
|
7
|
-
});
|
|
8
|
-
exports.patientSettingsSchema = zod_1.z.object({
|
|
9
|
-
subscriptions: subscriptionsSchema.optional(),
|
|
10
|
-
});
|
|
11
|
-
//# sourceMappingURL=patient-settings.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"patient-settings.js","sourceRoot":"","sources":["../../../src/medical/models/patient-settings.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,MAAM,mBAAmB,GAAG,OAAC,CAAC,MAAM,CAAC;IACnC,GAAG,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;CAC5B,CAAC,CAAC;AAIU,QAAA,qBAAqB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC5C,aAAa,EAAE,mBAAmB,CAAC,QAAQ,EAAE;CAC9C,CAAC,CAAC"}
|