@metriport/ihe-gateway-sdk 0.4.2 → 0.4.3-alpha.4
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/models/document-query.d.ts +4 -4
- package/dist/models/document-retrieval.d.ts +4 -4
- package/dist/models/patient-discovery/patient-discovery-requests.d.ts +5 -5
- package/dist/models/patient-discovery/patient-discovery-responses.d.ts +10 -10
- package/dist/models/patient-discovery.d.ts +10 -10
- package/dist/models/shared.d.ts +3 -3
- package/dist/models/shared.js +1 -1
- package/dist/models/shared.js.map +1 -1
- package/dist/models/xcpd-request.d.ts +23 -0
- package/dist/models/xcpd-request.d.ts.map +1 -0
- package/dist/models/xcpd-request.js +10 -0
- package/dist/models/xcpd-request.js.map +1 -0
- package/package.json +3 -3
- package/dist/models/incoming/document-query.d.ts +0 -461
- package/dist/models/incoming/document-query.d.ts.map +0 -1
- package/dist/models/incoming/document-query.js +0 -54
- package/dist/models/incoming/document-query.js.map +0 -1
- package/dist/models/incoming/document-retrieval.d.ts +0 -640
- package/dist/models/incoming/document-retrieval.d.ts.map +0 -1
- package/dist/models/incoming/document-retrieval.js +0 -49
- package/dist/models/incoming/document-retrieval.js.map +0 -1
- package/dist/models/outgoing/document-query.d.ts +0 -461
- package/dist/models/outgoing/document-query.d.ts.map +0 -1
- package/dist/models/outgoing/document-query.js +0 -54
- package/dist/models/outgoing/document-query.js.map +0 -1
- package/dist/models/outgoing/document-retrieval.d.ts +0 -642
- package/dist/models/outgoing/document-retrieval.d.ts.map +0 -1
- package/dist/models/outgoing/document-retrieval.js +0 -49
- package/dist/models/outgoing/document-retrieval.js.map +0 -1
- package/dist/models/patient-discovery/incoming-patient-discovery.d.ts +0 -244
- package/dist/models/patient-discovery/incoming-patient-discovery.d.ts.map +0 -1
- package/dist/models/patient-discovery/incoming-patient-discovery.js +0 -43
- package/dist/models/patient-discovery/incoming-patient-discovery.js.map +0 -1
- package/dist/models/patient-discovery/outgoing-patient-discovery.d.ts +0 -536
- package/dist/models/patient-discovery/outgoing-patient-discovery.d.ts.map +0 -1
- package/dist/models/patient-discovery/outgoing-patient-discovery.js +0 -85
- package/dist/models/patient-discovery/outgoing-patient-discovery.js.map +0 -1
- package/dist/models/patient-discovery/shared.d.ts +0 -17
- package/dist/models/patient-discovery/shared.d.ts.map +0 -1
- package/dist/models/patient-discovery/shared.js +0 -33
- package/dist/models/patient-discovery/shared.js.map +0 -1
|
@@ -100,16 +100,16 @@ export declare const documentQueryResponseIncomingSchema: z.ZodUnion<[z.ZodInter
|
|
|
100
100
|
homeCommunityId: z.ZodString;
|
|
101
101
|
url: z.ZodString;
|
|
102
102
|
}, "strip", z.ZodTypeAny, {
|
|
103
|
-
homeCommunityId: string;
|
|
104
103
|
url: string;
|
|
105
|
-
}, {
|
|
106
104
|
homeCommunityId: string;
|
|
105
|
+
}, {
|
|
107
106
|
url: string;
|
|
107
|
+
homeCommunityId: string;
|
|
108
108
|
}>;
|
|
109
109
|
}, "strip", z.ZodTypeAny, {
|
|
110
110
|
gateway: {
|
|
111
|
-
homeCommunityId: string;
|
|
112
111
|
url: string;
|
|
112
|
+
homeCommunityId: string;
|
|
113
113
|
};
|
|
114
114
|
documentReference: {
|
|
115
115
|
homeCommunityId: string;
|
|
@@ -127,8 +127,8 @@ export declare const documentQueryResponseIncomingSchema: z.ZodUnion<[z.ZodInter
|
|
|
127
127
|
}[];
|
|
128
128
|
}, {
|
|
129
129
|
gateway: {
|
|
130
|
-
homeCommunityId: string;
|
|
131
130
|
url: string;
|
|
131
|
+
homeCommunityId: string;
|
|
132
132
|
};
|
|
133
133
|
documentReference: {
|
|
134
134
|
homeCommunityId: string;
|
|
@@ -84,16 +84,16 @@ export declare const documentRetrievalResponseIncomingSchema: z.ZodUnion<[z.ZodI
|
|
|
84
84
|
homeCommunityId: z.ZodString;
|
|
85
85
|
url: z.ZodString;
|
|
86
86
|
}, "strip", z.ZodTypeAny, {
|
|
87
|
-
homeCommunityId: string;
|
|
88
87
|
url: string;
|
|
89
|
-
}, {
|
|
90
88
|
homeCommunityId: string;
|
|
89
|
+
}, {
|
|
91
90
|
url: string;
|
|
91
|
+
homeCommunityId: string;
|
|
92
92
|
}>;
|
|
93
93
|
}, "strip", z.ZodTypeAny, {
|
|
94
94
|
gateway: {
|
|
95
|
-
homeCommunityId: string;
|
|
96
95
|
url: string;
|
|
96
|
+
homeCommunityId: string;
|
|
97
97
|
};
|
|
98
98
|
documentReference: {
|
|
99
99
|
homeCommunityId: string;
|
|
@@ -111,8 +111,8 @@ export declare const documentRetrievalResponseIncomingSchema: z.ZodUnion<[z.ZodI
|
|
|
111
111
|
}[];
|
|
112
112
|
}, {
|
|
113
113
|
gateway: {
|
|
114
|
-
homeCommunityId: string;
|
|
115
114
|
url: string;
|
|
115
|
+
homeCommunityId: string;
|
|
116
116
|
};
|
|
117
117
|
documentReference: {
|
|
118
118
|
homeCommunityId: string;
|
|
@@ -44,15 +44,15 @@ export declare const patientDiscoveryReqToExternalGWSchema: z.ZodObject<{
|
|
|
44
44
|
patientResource: z.ZodEffects<z.ZodAny, any, any>;
|
|
45
45
|
gateways: z.ZodArray<z.ZodObject<{
|
|
46
46
|
oid: z.ZodString;
|
|
47
|
-
url: z.ZodString
|
|
47
|
+
url: z.ZodOptional<z.ZodString>;
|
|
48
48
|
id: z.ZodOptional<z.ZodString>;
|
|
49
49
|
}, "strip", z.ZodTypeAny, {
|
|
50
|
-
url: string;
|
|
51
50
|
oid: string;
|
|
51
|
+
url?: string | undefined;
|
|
52
52
|
id?: string | undefined;
|
|
53
53
|
}, {
|
|
54
|
-
url: string;
|
|
55
54
|
oid: string;
|
|
55
|
+
url?: string | undefined;
|
|
56
56
|
id?: string | undefined;
|
|
57
57
|
}>, "many">;
|
|
58
58
|
principalCareProviderIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -71,8 +71,8 @@ export declare const patientDiscoveryReqToExternalGWSchema: z.ZodObject<{
|
|
|
71
71
|
purposeOfUse: string;
|
|
72
72
|
};
|
|
73
73
|
gateways: {
|
|
74
|
-
url: string;
|
|
75
74
|
oid: string;
|
|
75
|
+
url?: string | undefined;
|
|
76
76
|
id?: string | undefined;
|
|
77
77
|
}[];
|
|
78
78
|
cxId?: string | undefined;
|
|
@@ -94,8 +94,8 @@ export declare const patientDiscoveryReqToExternalGWSchema: z.ZodObject<{
|
|
|
94
94
|
purposeOfUse: string;
|
|
95
95
|
};
|
|
96
96
|
gateways: {
|
|
97
|
-
url: string;
|
|
98
97
|
oid: string;
|
|
98
|
+
url?: string | undefined;
|
|
99
99
|
id?: string | undefined;
|
|
100
100
|
}[];
|
|
101
101
|
cxId?: string | undefined;
|
|
@@ -622,15 +622,15 @@ export type PatientDiscoveryRespToExternalGW = z.infer<typeof patientDiscoveryRe
|
|
|
622
622
|
export declare const patientDiscoveryRespFromExternalGWSchema: z.ZodUnion<[z.ZodObject<{
|
|
623
623
|
gateway: z.ZodObject<{
|
|
624
624
|
oid: z.ZodString;
|
|
625
|
-
url: z.ZodString
|
|
625
|
+
url: z.ZodOptional<z.ZodString>;
|
|
626
626
|
id: z.ZodOptional<z.ZodString>;
|
|
627
627
|
}, "strip", z.ZodTypeAny, {
|
|
628
|
-
url: string;
|
|
629
628
|
oid: string;
|
|
629
|
+
url?: string | undefined;
|
|
630
630
|
id?: string | undefined;
|
|
631
631
|
}, {
|
|
632
|
-
url: string;
|
|
633
632
|
oid: string;
|
|
633
|
+
url?: string | undefined;
|
|
634
634
|
id?: string | undefined;
|
|
635
635
|
}>;
|
|
636
636
|
patientResourceId: z.ZodString;
|
|
@@ -774,8 +774,8 @@ export declare const patientDiscoveryRespFromExternalGWSchema: z.ZodUnion<[z.Zod
|
|
|
774
774
|
responseTimestamp: string;
|
|
775
775
|
patientResource: {};
|
|
776
776
|
gateway: {
|
|
777
|
-
url: string;
|
|
778
777
|
oid: string;
|
|
778
|
+
url?: string | undefined;
|
|
779
779
|
id?: string | undefined;
|
|
780
780
|
};
|
|
781
781
|
patientMatch: true;
|
|
@@ -816,8 +816,8 @@ export declare const patientDiscoveryRespFromExternalGWSchema: z.ZodUnion<[z.Zod
|
|
|
816
816
|
responseTimestamp: string;
|
|
817
817
|
patientResource: {};
|
|
818
818
|
gateway: {
|
|
819
|
-
url: string;
|
|
820
819
|
oid: string;
|
|
820
|
+
url?: string | undefined;
|
|
821
821
|
id?: string | undefined;
|
|
822
822
|
};
|
|
823
823
|
patientMatch: true;
|
|
@@ -986,15 +986,15 @@ export declare const patientDiscoveryRespFromExternalGWSchema: z.ZodUnion<[z.Zod
|
|
|
986
986
|
}>>;
|
|
987
987
|
gateway: z.ZodObject<{
|
|
988
988
|
oid: z.ZodString;
|
|
989
|
-
url: z.ZodString
|
|
989
|
+
url: z.ZodOptional<z.ZodString>;
|
|
990
990
|
id: z.ZodOptional<z.ZodString>;
|
|
991
991
|
}, "strip", z.ZodTypeAny, {
|
|
992
|
-
url: string;
|
|
993
992
|
oid: string;
|
|
993
|
+
url?: string | undefined;
|
|
994
994
|
id?: string | undefined;
|
|
995
995
|
}, {
|
|
996
|
-
url: string;
|
|
997
996
|
oid: string;
|
|
997
|
+
url?: string | undefined;
|
|
998
998
|
id?: string | undefined;
|
|
999
999
|
}>;
|
|
1000
1000
|
patientResourceId: z.ZodString;
|
|
@@ -1004,8 +1004,8 @@ export declare const patientDiscoveryRespFromExternalGWSchema: z.ZodUnion<[z.Zod
|
|
|
1004
1004
|
timestamp: string;
|
|
1005
1005
|
responseTimestamp: string;
|
|
1006
1006
|
gateway: {
|
|
1007
|
-
url: string;
|
|
1008
1007
|
oid: string;
|
|
1008
|
+
url?: string | undefined;
|
|
1009
1009
|
id?: string | undefined;
|
|
1010
1010
|
};
|
|
1011
1011
|
patientMatch: false | null;
|
|
@@ -1044,8 +1044,8 @@ export declare const patientDiscoveryRespFromExternalGWSchema: z.ZodUnion<[z.Zod
|
|
|
1044
1044
|
timestamp: string;
|
|
1045
1045
|
responseTimestamp: string;
|
|
1046
1046
|
gateway: {
|
|
1047
|
-
url: string;
|
|
1048
1047
|
oid: string;
|
|
1048
|
+
url?: string | undefined;
|
|
1049
1049
|
id?: string | undefined;
|
|
1050
1050
|
};
|
|
1051
1051
|
patientMatch: false | null;
|
|
@@ -6,12 +6,12 @@ declare const XCPDGatewaySchema: z.ZodObject<{
|
|
|
6
6
|
url: z.ZodString;
|
|
7
7
|
id: z.ZodOptional<z.ZodString>;
|
|
8
8
|
}, "strip", z.ZodTypeAny, {
|
|
9
|
-
url: string;
|
|
10
9
|
oid: string;
|
|
10
|
+
url: string;
|
|
11
11
|
id?: string | undefined;
|
|
12
12
|
}, {
|
|
13
|
-
url: string;
|
|
14
13
|
oid: string;
|
|
14
|
+
url: string;
|
|
15
15
|
id?: string | undefined;
|
|
16
16
|
}>;
|
|
17
17
|
export type XCPDGateway = z.infer<typeof XCPDGatewaySchema>;
|
|
@@ -62,28 +62,28 @@ export declare const patientDiscoveryResponseIncomingSchema: z.ZodUnion<[z.ZodIn
|
|
|
62
62
|
url: z.ZodString;
|
|
63
63
|
id: z.ZodOptional<z.ZodString>;
|
|
64
64
|
}, "strip", z.ZodTypeAny, {
|
|
65
|
-
url: string;
|
|
66
65
|
oid: string;
|
|
66
|
+
url: string;
|
|
67
67
|
id?: string | undefined;
|
|
68
68
|
}, {
|
|
69
|
-
url: string;
|
|
70
69
|
oid: string;
|
|
70
|
+
url: string;
|
|
71
71
|
id?: string | undefined;
|
|
72
72
|
}>;
|
|
73
73
|
gatewayHomeCommunityId: z.ZodOptional<z.ZodString>;
|
|
74
74
|
}, "strip", z.ZodTypeAny, {
|
|
75
75
|
patientMatch: boolean;
|
|
76
76
|
gateway: {
|
|
77
|
-
url: string;
|
|
78
77
|
oid: string;
|
|
78
|
+
url: string;
|
|
79
79
|
id?: string | undefined;
|
|
80
80
|
};
|
|
81
81
|
gatewayHomeCommunityId?: string | undefined;
|
|
82
82
|
}, {
|
|
83
83
|
patientMatch: boolean;
|
|
84
84
|
gateway: {
|
|
85
|
-
url: string;
|
|
86
85
|
oid: string;
|
|
86
|
+
url: string;
|
|
87
87
|
id?: string | undefined;
|
|
88
88
|
};
|
|
89
89
|
gatewayHomeCommunityId?: string | undefined;
|
|
@@ -292,28 +292,28 @@ export declare const patientDiscoveryResponseIncomingSchema: z.ZodUnion<[z.ZodIn
|
|
|
292
292
|
url: z.ZodString;
|
|
293
293
|
id: z.ZodOptional<z.ZodString>;
|
|
294
294
|
}, "strip", z.ZodTypeAny, {
|
|
295
|
-
url: string;
|
|
296
295
|
oid: string;
|
|
296
|
+
url: string;
|
|
297
297
|
id?: string | undefined;
|
|
298
298
|
}, {
|
|
299
|
-
url: string;
|
|
300
299
|
oid: string;
|
|
300
|
+
url: string;
|
|
301
301
|
id?: string | undefined;
|
|
302
302
|
}>;
|
|
303
303
|
gatewayHomeCommunityId: z.ZodOptional<z.ZodString>;
|
|
304
304
|
}, "strip", z.ZodTypeAny, {
|
|
305
305
|
patientMatch: boolean;
|
|
306
306
|
gateway: {
|
|
307
|
-
url: string;
|
|
308
307
|
oid: string;
|
|
308
|
+
url: string;
|
|
309
309
|
id?: string | undefined;
|
|
310
310
|
};
|
|
311
311
|
gatewayHomeCommunityId?: string | undefined;
|
|
312
312
|
}, {
|
|
313
313
|
patientMatch: boolean;
|
|
314
314
|
gateway: {
|
|
315
|
-
url: string;
|
|
316
315
|
oid: string;
|
|
316
|
+
url: string;
|
|
317
317
|
id?: string | undefined;
|
|
318
318
|
};
|
|
319
319
|
gatewayHomeCommunityId?: string | undefined;
|
package/dist/models/shared.d.ts
CHANGED
|
@@ -768,15 +768,15 @@ export declare const xcaGatewaySchema: z.ZodObject<{
|
|
|
768
768
|
export type XCAGateway = z.infer<typeof xcaGatewaySchema>;
|
|
769
769
|
export declare const XCPDGatewaySchema: z.ZodObject<{
|
|
770
770
|
oid: z.ZodString;
|
|
771
|
-
url: z.ZodString
|
|
771
|
+
url: z.ZodOptional<z.ZodString>;
|
|
772
772
|
id: z.ZodOptional<z.ZodString>;
|
|
773
773
|
}, "strip", z.ZodTypeAny, {
|
|
774
|
-
url: string;
|
|
775
774
|
oid: string;
|
|
775
|
+
url?: string | undefined;
|
|
776
776
|
id?: string | undefined;
|
|
777
777
|
}, {
|
|
778
|
-
url: string;
|
|
779
778
|
oid: string;
|
|
779
|
+
url?: string | undefined;
|
|
780
780
|
id?: string | undefined;
|
|
781
781
|
}>;
|
|
782
782
|
export type XCPDGateway = z.infer<typeof XCPDGatewaySchema>;
|
package/dist/models/shared.js
CHANGED
|
@@ -74,7 +74,7 @@ exports.xcaGatewaySchema = zod_1.z.object({
|
|
|
74
74
|
});
|
|
75
75
|
exports.XCPDGatewaySchema = zod_1.z.object({
|
|
76
76
|
oid: zod_1.z.string(),
|
|
77
|
-
url: zod_1.z.string(),
|
|
77
|
+
url: zod_1.z.string().optional(),
|
|
78
78
|
id: zod_1.z.string().optional(),
|
|
79
79
|
});
|
|
80
80
|
exports.documentReferenceSchema = zod_1.z.object({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shared.js","sourceRoot":"","sources":["../../src/models/shared.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,8CAA8D;AAEjD,QAAA,eAAe,GAAG,OAAC;KAC7B,MAAM,EAAE;KACR,MAAM,CAAC,EAAE,CAAC;KACV,MAAM,CAAC,GAAG,CAAC,EAAE,CAAC,IAAA,oBAAW,EAAC,GAAG,CAAC,EAAE,EAAE,OAAO,EAAE,kBAAkB,EAAE,CAAC,CAAC;AAIvD,QAAA,oBAAoB,GAAG,OAAC,CAAC,KAAK,CAAC,uBAAe,CAAC,CAAC;AAIhD,QAAA,eAAe,GAAG,OAAC;KAC7B,MAAM,EAAE;KACR,MAAM,CAAC,GAAG,CAAC,EAAE,CAAC,IAAA,qBAAY,EAAC,GAAG,CAAC,EAAE,EAAE,OAAO,EAAE,kBAAkB,EAAE,CAAC,CAAC;AAExD,QAAA,oBAAoB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC3C,SAAS,EA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AAC,MAAM,EAAE,CAAC,OAAO,EAAE;IAChC,KAAK,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,OAAO,EAAE;IAC5B,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;IAC1B,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;IACzB,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;IACjC,qBAAqB,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;IAC3C,mBAAmB,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;IACzC,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;IACjC,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;IAC9B,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;IACzB,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;IACzB,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;IAC9B,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;CAC5B,CAAC,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { Patient } from "@medplum/fhirtypes";
|
|
2
|
+
import { NPIStringArray } from "./shared";
|
|
3
|
+
import { z } from "zod";
|
|
4
|
+
export declare const xcpdGatewaysSchema: z.ZodArray<z.ZodObject<{
|
|
5
|
+
oid: z.ZodEffects<z.ZodString, string, string>;
|
|
6
|
+
url: z.ZodString;
|
|
7
|
+
}, "strip", z.ZodTypeAny, {
|
|
8
|
+
oid: string;
|
|
9
|
+
url: string;
|
|
10
|
+
}, {
|
|
11
|
+
oid: string;
|
|
12
|
+
url: string;
|
|
13
|
+
}>, "many">;
|
|
14
|
+
export type XCPDGateways = z.infer<typeof xcpdGatewaysSchema>;
|
|
15
|
+
export type XCPDRequest = {
|
|
16
|
+
id: string;
|
|
17
|
+
cxId: string;
|
|
18
|
+
xcpdGateways: XCPDGateways;
|
|
19
|
+
timestamp: string;
|
|
20
|
+
principalCareProviderNPIs?: NPIStringArray;
|
|
21
|
+
patientResource: Patient;
|
|
22
|
+
};
|
|
23
|
+
//# sourceMappingURL=xcpd-request.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"xcpd-request.d.ts","sourceRoot":"","sources":["../../src/models/xcpd-request.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAC7C,OAAO,EAAE,cAAc,EAAmB,MAAM,UAAU,CAAC;AAC3D,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,kBAAkB;;;;;;;;;WAK9B,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAE9D,MAAM,MAAM,WAAW,GAAG;IACxB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,EAAE,YAAY,CAAC;IAC3B,SAAS,EAAE,MAAM,CAAC;IAClB,yBAAyB,CAAC,EAAE,cAAc,CAAC;IAC3C,eAAe,EAAE,OAAO,CAAC;CAC1B,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.xcpdGatewaysSchema = void 0;
|
|
4
|
+
const shared_1 = require("./shared");
|
|
5
|
+
const zod_1 = require("zod");
|
|
6
|
+
exports.xcpdGatewaysSchema = zod_1.z.array(zod_1.z.object({
|
|
7
|
+
oid: shared_1.oidStringSchema,
|
|
8
|
+
url: zod_1.z.string(),
|
|
9
|
+
}));
|
|
10
|
+
//# sourceMappingURL=xcpd-request.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"xcpd-request.js","sourceRoot":"","sources":["../../src/models/xcpd-request.ts"],"names":[],"mappings":";;;AACA,qCAA2D;AAC3D,6BAAwB;AAEX,QAAA,kBAAkB,GAAG,OAAC,CAAC,KAAK,CACvC,OAAC,CAAC,MAAM,CAAC;IACP,GAAG,EAAE,wBAAe;IACpB,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE;CAChB,CAAC,CACH,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@metriport/ihe-gateway-sdk",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.3-alpha.4",
|
|
4
4
|
"description": "SDK to interact with other IHE Gateways - by Metriport Inc.",
|
|
5
5
|
"author": "Metriport Inc. <contact@metriport.com>",
|
|
6
6
|
"homepage": "https://metriport.com/",
|
|
@@ -55,9 +55,9 @@
|
|
|
55
55
|
"url": "https://github.com/metriport/metriport/issues"
|
|
56
56
|
},
|
|
57
57
|
"dependencies": {
|
|
58
|
-
"@metriport/shared": "^0.4.
|
|
58
|
+
"@metriport/shared": "^0.4.3-alpha.0",
|
|
59
59
|
"axios": "^1.6.0",
|
|
60
60
|
"zod": "^3.22.1"
|
|
61
61
|
},
|
|
62
|
-
"gitHead": "
|
|
62
|
+
"gitHead": "de5c05c3020b42b43f004a44f1422696c4873b2b"
|
|
63
63
|
}
|