@metriport/shared 0.23.1 → 0.23.2-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/common/retry.d.ts +1 -1
- package/dist/common/retry.d.ts.map +1 -1
- package/dist/domain/secrets.d.ts +1 -0
- package/dist/domain/secrets.d.ts.map +1 -1
- package/dist/domain/secrets.js +2 -1
- package/dist/domain/secrets.js.map +1 -1
- package/dist/error/metriport-error.d.ts +1 -0
- package/dist/error/metriport-error.d.ts.map +1 -1
- package/dist/error/metriport-error.js +5 -1
- package/dist/error/metriport-error.js.map +1 -1
- package/dist/interface/external/ehr/elation/index.d.ts +2 -0
- package/dist/interface/external/ehr/elation/index.d.ts.map +1 -1
- package/dist/interface/external/ehr/elation/index.js +2 -0
- package/dist/interface/external/ehr/elation/index.js.map +1 -1
- package/dist/interface/external/ehr/healthie/appointment.d.ts +221 -0
- package/dist/interface/external/ehr/healthie/appointment.d.ts.map +1 -0
- package/dist/interface/external/ehr/healthie/appointment.js +21 -0
- package/dist/interface/external/ehr/healthie/appointment.js.map +1 -0
- package/dist/interface/external/ehr/healthie/cx-mapping.d.ts +49 -0
- package/dist/interface/external/ehr/healthie/cx-mapping.d.ts.map +1 -0
- package/dist/interface/external/ehr/healthie/cx-mapping.js +21 -0
- package/dist/interface/external/ehr/healthie/cx-mapping.js.map +1 -0
- package/dist/interface/external/ehr/healthie/event.d.ts +30 -0
- package/dist/interface/external/ehr/healthie/event.d.ts.map +1 -0
- package/dist/interface/external/ehr/healthie/event.js +15 -0
- package/dist/interface/external/ehr/healthie/event.js.map +1 -0
- package/dist/interface/external/ehr/healthie/index.d.ts +7 -0
- package/dist/interface/external/ehr/healthie/index.d.ts.map +1 -0
- package/dist/interface/external/ehr/healthie/index.js +23 -0
- package/dist/interface/external/ehr/healthie/index.js.map +1 -0
- package/dist/interface/external/ehr/healthie/jwt-token.d.ts +18 -0
- package/dist/interface/external/ehr/healthie/jwt-token.d.ts.map +1 -0
- package/dist/interface/external/ehr/healthie/jwt-token.js +15 -0
- package/dist/interface/external/ehr/healthie/jwt-token.js.map +1 -0
- package/dist/interface/external/ehr/healthie/patient.d.ts +319 -0
- package/dist/interface/external/ehr/healthie/patient.d.ts.map +1 -0
- package/dist/interface/external/ehr/healthie/patient.js +44 -0
- package/dist/interface/external/ehr/healthie/patient.js.map +1 -0
- package/dist/interface/external/ehr/healthie/subscription.d.ts +317 -0
- package/dist/interface/external/ehr/healthie/subscription.d.ts.map +1 -0
- package/dist/interface/external/ehr/healthie/subscription.js +37 -0
- package/dist/interface/external/ehr/healthie/subscription.js.map +1 -0
- package/dist/interface/external/ehr/source.d.ts +2 -1
- package/dist/interface/external/ehr/source.d.ts.map +1 -1
- package/dist/interface/external/ehr/source.js +1 -0
- package/dist/interface/external/ehr/source.js.map +1 -1
- package/dist/net/retry.d.ts.map +1 -1
- package/dist/net/retry.js +4 -1
- package/dist/net/retry.js.map +1 -1
- package/package.json +4 -3
package/dist/common/retry.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ export type ExecuteWithRetriesOptions<T> = {
|
|
|
10
10
|
* Set to 0 to disable backoff.
|
|
11
11
|
*/
|
|
12
12
|
backoffMultiplier?: number;
|
|
13
|
-
/** The maximum number of retries. Defaults to
|
|
13
|
+
/** The maximum number of retries. Defaults to 5. */
|
|
14
14
|
maxAttempts?: number;
|
|
15
15
|
/** Function to determine if the error should be retried. Defaults to always retry. */
|
|
16
16
|
shouldRetry?: (result: T | undefined, error: unknown, attempt: number) => boolean | Promise<boolean>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retry.d.ts","sourceRoot":"","sources":["../../src/common/retry.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,cAAc,EAAE,QAAQ,CAAC,yBAAyB,CAAC,OAAO,CAAC,CAQvE,CAAC;AAEF,MAAM,MAAM,yBAAyB,CAAC,CAAC,IAAI;IACzC,4DAA4D;IAC5D,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,+DAA+D;IAC/D,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,
|
|
1
|
+
{"version":3,"file":"retry.d.ts","sourceRoot":"","sources":["../../src/common/retry.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,cAAc,EAAE,QAAQ,CAAC,yBAAyB,CAAC,OAAO,CAAC,CAQvE,CAAC;AAEF,MAAM,MAAM,yBAAyB,CAAC,CAAC,IAAI;IACzC,4DAA4D;IAC5D,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,+DAA+D;IAC/D,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,oDAAoD;IACpD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,sFAAsF;IACtF,WAAW,CAAC,EAAE,CACZ,MAAM,EAAE,CAAC,GAAG,SAAS,EACrB,KAAK,EAAE,OAAO,EACd,OAAO,EAAE,MAAM,KACZ,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;IAChC,uFAAuF;IACvF,8FAA8F;IAC9F,aAAa,CAAC,EAAE,CAAC,MAAM,EAAE,mBAAmB,KAAK,MAAM,CAAC;IACxD,kDAAkD;IAClD,GAAG,CAAC,EAAE,OAAO,OAAO,CAAC,GAAG,CAAC;CAC1B,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG;IAChC,YAAY,EAAE,MAAM,CAAC;IACrB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB,CAAC;AAEF;;;;;;;;;;;;;;;GAeG;AACH,wBAAsB,kBAAkB,CAAC,CAAC,EACxC,EAAE,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,OAAO,CAAC,CAAC,CAAC,EACnC,OAAO,GAAE,yBAAyB,CAAC,CAAC,CAAkB,GACrD,OAAO,CAAC,CAAC,CAAC,CAoDZ;AAED,wBAAgB,oBAAoB,CAAC,EACnC,YAAY,EACZ,iBAAiB,EACjB,OAAO,EACP,QAAQ,GACT,EAAE,mBAAmB,UAKrB;AAED;;;;;;;;;;;GAWG;AACH,wBAAsB,sBAAsB,CAAC,CAAC,EAC5C,EAAE,EAAE,MAAM,OAAO,CAAC,CAAC,CAAC,EACpB,OAAO,CAAC,EAAE,OAAO,CAAC,yBAAyB,CAAC,CAAC,CAAC,CAAC,GAC9C,OAAO,CAAC,CAAC,GAAG,SAAS,CAAC,CASxB"}
|
package/dist/domain/secrets.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"secrets.d.ts","sourceRoot":"","sources":["../../src/domain/secrets.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,mCAAmC,uCAAmC,CAAC"}
|
|
1
|
+
{"version":3,"file":"secrets.d.ts","sourceRoot":"","sources":["../../src/domain/secrets.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,mCAAmC,uCAAmC,CAAC;AACpF,eAAO,MAAM,uBAAuB,uCAAmC,CAAC"}
|
package/dist/domain/secrets.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.cxClientKeyAndSecretMapSecretSchema = void 0;
|
|
3
|
+
exports.cxApiKeyMapSecretSchema = exports.cxClientKeyAndSecretMapSecretSchema = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
exports.cxClientKeyAndSecretMapSecretSchema = zod_1.z.record(zod_1.z.string(), zod_1.z.string());
|
|
6
|
+
exports.cxApiKeyMapSecretSchema = zod_1.z.record(zod_1.z.string(), zod_1.z.string());
|
|
6
7
|
//# sourceMappingURL=secrets.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"secrets.js","sourceRoot":"","sources":["../../src/domain/secrets.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAEX,QAAA,mCAAmC,GAAG,OAAC,CAAC,MAAM,CAAC,OAAC,CAAC,MAAM,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"secrets.js","sourceRoot":"","sources":["../../src/domain/secrets.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAEX,QAAA,mCAAmC,GAAG,OAAC,CAAC,MAAM,CAAC,OAAC,CAAC,MAAM,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,CAAC;AACvE,QAAA,uBAAuB,GAAG,OAAC,CAAC,MAAM,CAAC,OAAC,CAAC,MAAM,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,CAAC"}
|
|
@@ -5,4 +5,5 @@ export declare class MetriportError extends Error {
|
|
|
5
5
|
status: number;
|
|
6
6
|
constructor(message: string, cause?: unknown, additionalInfo?: AdditionalInfo | undefined);
|
|
7
7
|
}
|
|
8
|
+
export declare function isMetriportError(err: unknown): err is MetriportError;
|
|
8
9
|
//# sourceMappingURL=metriport-error.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"metriport-error.d.ts","sourceRoot":"","sources":["../../src/error/metriport-error.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,cAAc,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,SAAS,GAAG,IAAI,CAAC,CAAC;AAE1F,qBAAa,cAAe,SAAQ,KAAK;IAEV,QAAQ,CAAC,KAAK,CAAC;IAAW,QAAQ,CAAC,cAAc,CAAC;IAD/E,MAAM,EAAE,MAAM,CAAgC;gBAClC,OAAO,EAAE,MAAM,EAAW,KAAK,CAAC,SAAS,EAAW,cAAc,CAAC,4BAAgB;CAIhG"}
|
|
1
|
+
{"version":3,"file":"metriport-error.d.ts","sourceRoot":"","sources":["../../src/error/metriport-error.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,cAAc,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,SAAS,GAAG,IAAI,CAAC,CAAC;AAE1F,qBAAa,cAAe,SAAQ,KAAK;IAEV,QAAQ,CAAC,KAAK,CAAC;IAAW,QAAQ,CAAC,cAAc,CAAC;IAD/E,MAAM,EAAE,MAAM,CAAgC;gBAClC,OAAO,EAAE,MAAM,EAAW,KAAK,CAAC,SAAS,EAAW,cAAc,CAAC,4BAAgB;CAIhG;AAED,wBAAgB,gBAAgB,CAAC,GAAG,EAAE,OAAO,GAAG,GAAG,IAAI,cAAc,CAEpE"}
|
|
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.MetriportError = void 0;
|
|
6
|
+
exports.isMetriportError = exports.MetriportError = void 0;
|
|
7
7
|
const http_status_1 = __importDefault(require("http-status"));
|
|
8
8
|
class MetriportError extends Error {
|
|
9
9
|
constructor(message, cause, additionalInfo) {
|
|
@@ -15,4 +15,8 @@ class MetriportError extends Error {
|
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
17
|
exports.MetriportError = MetriportError;
|
|
18
|
+
function isMetriportError(err) {
|
|
19
|
+
return err instanceof MetriportError;
|
|
20
|
+
}
|
|
21
|
+
exports.isMetriportError = isMetriportError;
|
|
18
22
|
//# sourceMappingURL=metriport-error.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"metriport-error.js","sourceRoot":"","sources":["../../src/error/metriport-error.ts"],"names":[],"mappings":";;;;;;AAAA,8DAAiC;AAIjC,MAAa,cAAe,SAAQ,KAAK;IAEvC,YAAY,OAAe,EAAW,KAAe,EAAW,cAA+B;QAC7F,KAAK,CAAC,OAAO,CAAC,CAAC;QADqB,UAAK,GAAL,KAAK,CAAU;QAAW,mBAAc,GAAd,cAAc,CAAiB;QAD/F,WAAM,GAAW,qBAAM,CAAC,qBAAqB,CAAC;QAG5C,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;IACrB,CAAC;CACF;AAND,wCAMC"}
|
|
1
|
+
{"version":3,"file":"metriport-error.js","sourceRoot":"","sources":["../../src/error/metriport-error.ts"],"names":[],"mappings":";;;;;;AAAA,8DAAiC;AAIjC,MAAa,cAAe,SAAQ,KAAK;IAEvC,YAAY,OAAe,EAAW,KAAe,EAAW,cAA+B;QAC7F,KAAK,CAAC,OAAO,CAAC,CAAC;QADqB,UAAK,GAAL,KAAK,CAAU;QAAW,mBAAc,GAAd,cAAc,CAAiB;QAD/F,WAAM,GAAW,qBAAM,CAAC,qBAAqB,CAAC;QAG5C,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;IACrB,CAAC;CACF;AAND,wCAMC;AAED,SAAgB,gBAAgB,CAAC,GAAY;IAC3C,OAAO,GAAG,YAAY,cAAc,CAAC;AACvC,CAAC;AAFD,4CAEC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/interface/external/ehr/elation/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC;AAC1B,cAAc,gBAAgB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/interface/external/ehr/elation/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC;AAC1B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC"}
|
|
@@ -19,4 +19,6 @@ __exportStar(require("./patient"), exports);
|
|
|
19
19
|
__exportStar(require("./jwt-token"), exports);
|
|
20
20
|
__exportStar(require("./problem"), exports);
|
|
21
21
|
__exportStar(require("./subscription"), exports);
|
|
22
|
+
__exportStar(require("./cx-mapping"), exports);
|
|
23
|
+
__exportStar(require("./event"), exports);
|
|
22
24
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/interface/external/ehr/elation/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA8B;AAC9B,4CAA0B;AAC1B,8CAA4B;AAC5B,4CAA0B;AAC1B,iDAA+B"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/interface/external/ehr/elation/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA8B;AAC9B,4CAA0B;AAC1B,8CAA4B;AAC5B,4CAA0B;AAC1B,iDAA+B;AAC/B,+CAA6B;AAC7B,0CAAwB"}
|
|
@@ -0,0 +1,221 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const appointmentSchema: z.ZodObject<{
|
|
3
|
+
id: z.ZodString;
|
|
4
|
+
attendees: z.ZodArray<z.ZodObject<{
|
|
5
|
+
id: z.ZodString;
|
|
6
|
+
}, "strip", z.ZodTypeAny, {
|
|
7
|
+
id: string;
|
|
8
|
+
}, {
|
|
9
|
+
id: string;
|
|
10
|
+
}>, "many">;
|
|
11
|
+
appointment_type: z.ZodNullable<z.ZodObject<{
|
|
12
|
+
id: z.ZodString;
|
|
13
|
+
}, "strip", z.ZodTypeAny, {
|
|
14
|
+
id: string;
|
|
15
|
+
}, {
|
|
16
|
+
id: string;
|
|
17
|
+
}>>;
|
|
18
|
+
cursor: z.ZodString;
|
|
19
|
+
}, "strip", z.ZodTypeAny, {
|
|
20
|
+
id: string;
|
|
21
|
+
attendees: {
|
|
22
|
+
id: string;
|
|
23
|
+
}[];
|
|
24
|
+
appointment_type: {
|
|
25
|
+
id: string;
|
|
26
|
+
} | null;
|
|
27
|
+
cursor: string;
|
|
28
|
+
}, {
|
|
29
|
+
id: string;
|
|
30
|
+
attendees: {
|
|
31
|
+
id: string;
|
|
32
|
+
}[];
|
|
33
|
+
appointment_type: {
|
|
34
|
+
id: string;
|
|
35
|
+
} | null;
|
|
36
|
+
cursor: string;
|
|
37
|
+
}>;
|
|
38
|
+
export type Appointment = z.infer<typeof appointmentSchema>;
|
|
39
|
+
export type AppointmentAttendee = Appointment["attendees"][number];
|
|
40
|
+
export type AppointmentWithAttendee = Appointment & {
|
|
41
|
+
attendees: [AppointmentAttendee, ...AppointmentAttendee[]];
|
|
42
|
+
};
|
|
43
|
+
export declare const appointmentGetResponseGraphqlSchema: z.ZodObject<{
|
|
44
|
+
data: z.ZodObject<{
|
|
45
|
+
appointment: z.ZodNullable<z.ZodObject<{
|
|
46
|
+
id: z.ZodString;
|
|
47
|
+
attendees: z.ZodArray<z.ZodObject<{
|
|
48
|
+
id: z.ZodString;
|
|
49
|
+
}, "strip", z.ZodTypeAny, {
|
|
50
|
+
id: string;
|
|
51
|
+
}, {
|
|
52
|
+
id: string;
|
|
53
|
+
}>, "many">;
|
|
54
|
+
appointment_type: z.ZodNullable<z.ZodObject<{
|
|
55
|
+
id: z.ZodString;
|
|
56
|
+
}, "strip", z.ZodTypeAny, {
|
|
57
|
+
id: string;
|
|
58
|
+
}, {
|
|
59
|
+
id: string;
|
|
60
|
+
}>>;
|
|
61
|
+
cursor: z.ZodString;
|
|
62
|
+
}, "strip", z.ZodTypeAny, {
|
|
63
|
+
id: string;
|
|
64
|
+
attendees: {
|
|
65
|
+
id: string;
|
|
66
|
+
}[];
|
|
67
|
+
appointment_type: {
|
|
68
|
+
id: string;
|
|
69
|
+
} | null;
|
|
70
|
+
cursor: string;
|
|
71
|
+
}, {
|
|
72
|
+
id: string;
|
|
73
|
+
attendees: {
|
|
74
|
+
id: string;
|
|
75
|
+
}[];
|
|
76
|
+
appointment_type: {
|
|
77
|
+
id: string;
|
|
78
|
+
} | null;
|
|
79
|
+
cursor: string;
|
|
80
|
+
}>>;
|
|
81
|
+
}, "strip", z.ZodTypeAny, {
|
|
82
|
+
appointment: {
|
|
83
|
+
id: string;
|
|
84
|
+
attendees: {
|
|
85
|
+
id: string;
|
|
86
|
+
}[];
|
|
87
|
+
appointment_type: {
|
|
88
|
+
id: string;
|
|
89
|
+
} | null;
|
|
90
|
+
cursor: string;
|
|
91
|
+
} | null;
|
|
92
|
+
}, {
|
|
93
|
+
appointment: {
|
|
94
|
+
id: string;
|
|
95
|
+
attendees: {
|
|
96
|
+
id: string;
|
|
97
|
+
}[];
|
|
98
|
+
appointment_type: {
|
|
99
|
+
id: string;
|
|
100
|
+
} | null;
|
|
101
|
+
cursor: string;
|
|
102
|
+
} | null;
|
|
103
|
+
}>;
|
|
104
|
+
}, "strip", z.ZodTypeAny, {
|
|
105
|
+
data: {
|
|
106
|
+
appointment: {
|
|
107
|
+
id: string;
|
|
108
|
+
attendees: {
|
|
109
|
+
id: string;
|
|
110
|
+
}[];
|
|
111
|
+
appointment_type: {
|
|
112
|
+
id: string;
|
|
113
|
+
} | null;
|
|
114
|
+
cursor: string;
|
|
115
|
+
} | null;
|
|
116
|
+
};
|
|
117
|
+
}, {
|
|
118
|
+
data: {
|
|
119
|
+
appointment: {
|
|
120
|
+
id: string;
|
|
121
|
+
attendees: {
|
|
122
|
+
id: string;
|
|
123
|
+
}[];
|
|
124
|
+
appointment_type: {
|
|
125
|
+
id: string;
|
|
126
|
+
} | null;
|
|
127
|
+
cursor: string;
|
|
128
|
+
} | null;
|
|
129
|
+
};
|
|
130
|
+
}>;
|
|
131
|
+
export type AppointmentGetResponseGraphql = z.infer<typeof appointmentGetResponseGraphqlSchema>;
|
|
132
|
+
export declare const appointmentListResponseGraphqlSchema: z.ZodObject<{
|
|
133
|
+
data: z.ZodObject<{
|
|
134
|
+
appointments: z.ZodArray<z.ZodObject<{
|
|
135
|
+
id: z.ZodString;
|
|
136
|
+
attendees: z.ZodArray<z.ZodObject<{
|
|
137
|
+
id: z.ZodString;
|
|
138
|
+
}, "strip", z.ZodTypeAny, {
|
|
139
|
+
id: string;
|
|
140
|
+
}, {
|
|
141
|
+
id: string;
|
|
142
|
+
}>, "many">;
|
|
143
|
+
appointment_type: z.ZodNullable<z.ZodObject<{
|
|
144
|
+
id: z.ZodString;
|
|
145
|
+
}, "strip", z.ZodTypeAny, {
|
|
146
|
+
id: string;
|
|
147
|
+
}, {
|
|
148
|
+
id: string;
|
|
149
|
+
}>>;
|
|
150
|
+
cursor: z.ZodString;
|
|
151
|
+
}, "strip", z.ZodTypeAny, {
|
|
152
|
+
id: string;
|
|
153
|
+
attendees: {
|
|
154
|
+
id: string;
|
|
155
|
+
}[];
|
|
156
|
+
appointment_type: {
|
|
157
|
+
id: string;
|
|
158
|
+
} | null;
|
|
159
|
+
cursor: string;
|
|
160
|
+
}, {
|
|
161
|
+
id: string;
|
|
162
|
+
attendees: {
|
|
163
|
+
id: string;
|
|
164
|
+
}[];
|
|
165
|
+
appointment_type: {
|
|
166
|
+
id: string;
|
|
167
|
+
} | null;
|
|
168
|
+
cursor: string;
|
|
169
|
+
}>, "many">;
|
|
170
|
+
}, "strip", z.ZodTypeAny, {
|
|
171
|
+
appointments: {
|
|
172
|
+
id: string;
|
|
173
|
+
attendees: {
|
|
174
|
+
id: string;
|
|
175
|
+
}[];
|
|
176
|
+
appointment_type: {
|
|
177
|
+
id: string;
|
|
178
|
+
} | null;
|
|
179
|
+
cursor: string;
|
|
180
|
+
}[];
|
|
181
|
+
}, {
|
|
182
|
+
appointments: {
|
|
183
|
+
id: string;
|
|
184
|
+
attendees: {
|
|
185
|
+
id: string;
|
|
186
|
+
}[];
|
|
187
|
+
appointment_type: {
|
|
188
|
+
id: string;
|
|
189
|
+
} | null;
|
|
190
|
+
cursor: string;
|
|
191
|
+
}[];
|
|
192
|
+
}>;
|
|
193
|
+
}, "strip", z.ZodTypeAny, {
|
|
194
|
+
data: {
|
|
195
|
+
appointments: {
|
|
196
|
+
id: string;
|
|
197
|
+
attendees: {
|
|
198
|
+
id: string;
|
|
199
|
+
}[];
|
|
200
|
+
appointment_type: {
|
|
201
|
+
id: string;
|
|
202
|
+
} | null;
|
|
203
|
+
cursor: string;
|
|
204
|
+
}[];
|
|
205
|
+
};
|
|
206
|
+
}, {
|
|
207
|
+
data: {
|
|
208
|
+
appointments: {
|
|
209
|
+
id: string;
|
|
210
|
+
attendees: {
|
|
211
|
+
id: string;
|
|
212
|
+
}[];
|
|
213
|
+
appointment_type: {
|
|
214
|
+
id: string;
|
|
215
|
+
} | null;
|
|
216
|
+
cursor: string;
|
|
217
|
+
}[];
|
|
218
|
+
};
|
|
219
|
+
}>;
|
|
220
|
+
export type AppointmentListResponseGraphql = z.infer<typeof appointmentListResponseGraphqlSchema>;
|
|
221
|
+
//# sourceMappingURL=appointment.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"appointment.d.ts","sourceRoot":"","sources":["../../../../../src/interface/external/ehr/healthie/appointment.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAK5B,CAAC;AACH,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAC5D,MAAM,MAAM,mBAAmB,GAAG,WAAW,CAAC,WAAW,CAAC,CAAC,MAAM,CAAC,CAAC;AACnE,MAAM,MAAM,uBAAuB,GAAG,WAAW,GAAG;IAClD,SAAS,EAAE,CAAC,mBAAmB,EAAE,GAAG,mBAAmB,EAAE,CAAC,CAAC;CAC5D,CAAC;AAEF,eAAO,MAAM,mCAAmC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAI9C,CAAC;AACH,MAAM,MAAM,6BAA6B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mCAAmC,CAAC,CAAC;AAEhG,eAAO,MAAM,oCAAoC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAI/C,CAAC;AACH,MAAM,MAAM,8BAA8B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oCAAoC,CAAC,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.appointmentListResponseGraphqlSchema = exports.appointmentGetResponseGraphqlSchema = exports.appointmentSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
exports.appointmentSchema = zod_1.z.object({
|
|
6
|
+
id: zod_1.z.string(),
|
|
7
|
+
attendees: zod_1.z.object({ id: zod_1.z.string() }).array(),
|
|
8
|
+
appointment_type: zod_1.z.object({ id: zod_1.z.string() }).nullable(),
|
|
9
|
+
cursor: zod_1.z.string(),
|
|
10
|
+
});
|
|
11
|
+
exports.appointmentGetResponseGraphqlSchema = zod_1.z.object({
|
|
12
|
+
data: zod_1.z.object({
|
|
13
|
+
appointment: exports.appointmentSchema.nullable(),
|
|
14
|
+
}),
|
|
15
|
+
});
|
|
16
|
+
exports.appointmentListResponseGraphqlSchema = zod_1.z.object({
|
|
17
|
+
data: zod_1.z.object({
|
|
18
|
+
appointments: exports.appointmentSchema.array(),
|
|
19
|
+
}),
|
|
20
|
+
});
|
|
21
|
+
//# sourceMappingURL=appointment.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"appointment.js","sourceRoot":"","sources":["../../../../../src/interface/external/ehr/healthie/appointment.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAEX,QAAA,iBAAiB,GAAG,OAAC,CAAC,MAAM,CAAC;IACxC,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE;IACd,SAAS,EAAE,OAAC,CAAC,MAAM,CAAC,EAAE,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,KAAK,EAAE;IAC/C,gBAAgB,EAAE,OAAC,CAAC,MAAM,CAAC,EAAE,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,QAAQ,EAAE;IACzD,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE;CACnB,CAAC,CAAC;AAOU,QAAA,mCAAmC,GAAG,OAAC,CAAC,MAAM,CAAC;IAC1D,IAAI,EAAE,OAAC,CAAC,MAAM,CAAC;QACb,WAAW,EAAE,yBAAiB,CAAC,QAAQ,EAAE;KAC1C,CAAC;CACH,CAAC,CAAC;AAGU,QAAA,oCAAoC,GAAG,OAAC,CAAC,MAAM,CAAC;IAC3D,IAAI,EAAE,OAAC,CAAC,MAAM,CAAC;QACb,YAAY,EAAE,yBAAiB,CAAC,KAAK,EAAE;KACxC,CAAC;CACH,CAAC,CAAC"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const healthieSecondaryMappingsSchema: z.ZodObject<{
|
|
3
|
+
webhooks: z.ZodOptional<z.ZodRecord<z.ZodEnum<["appointment.created", "patient.created"]>, z.ZodObject<{
|
|
4
|
+
url: z.ZodString;
|
|
5
|
+
secretKey: z.ZodString;
|
|
6
|
+
}, "strip", z.ZodTypeAny, {
|
|
7
|
+
url: string;
|
|
8
|
+
secretKey: string;
|
|
9
|
+
}, {
|
|
10
|
+
url: string;
|
|
11
|
+
secretKey: string;
|
|
12
|
+
}>>>;
|
|
13
|
+
webhookPatientPatientLinkingDisabled: z.ZodOptional<z.ZodBoolean>;
|
|
14
|
+
webhookPatientPatientProcessingEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
15
|
+
webhookAppointmentPatientLinkingDisabled: z.ZodOptional<z.ZodBoolean>;
|
|
16
|
+
webhookAppointmentPatientProcessingDisabled: z.ZodOptional<z.ZodBoolean>;
|
|
17
|
+
backgroundAppointmentsDisabled: z.ZodOptional<z.ZodBoolean>;
|
|
18
|
+
backgroundAppointmentPatientProcessingDisabled: z.ZodOptional<z.ZodBoolean>;
|
|
19
|
+
backgroundAppointments48hrEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
20
|
+
backgroundAppointment48hrPatientProcessingDisabled: z.ZodOptional<z.ZodBoolean>;
|
|
21
|
+
}, "strip", z.ZodTypeAny, {
|
|
22
|
+
backgroundAppointmentsDisabled?: boolean | undefined;
|
|
23
|
+
webhooks?: Partial<Record<"appointment.created" | "patient.created", {
|
|
24
|
+
url: string;
|
|
25
|
+
secretKey: string;
|
|
26
|
+
}>> | undefined;
|
|
27
|
+
webhookPatientPatientLinkingDisabled?: boolean | undefined;
|
|
28
|
+
webhookPatientPatientProcessingEnabled?: boolean | undefined;
|
|
29
|
+
webhookAppointmentPatientLinkingDisabled?: boolean | undefined;
|
|
30
|
+
webhookAppointmentPatientProcessingDisabled?: boolean | undefined;
|
|
31
|
+
backgroundAppointmentPatientProcessingDisabled?: boolean | undefined;
|
|
32
|
+
backgroundAppointments48hrEnabled?: boolean | undefined;
|
|
33
|
+
backgroundAppointment48hrPatientProcessingDisabled?: boolean | undefined;
|
|
34
|
+
}, {
|
|
35
|
+
backgroundAppointmentsDisabled?: boolean | undefined;
|
|
36
|
+
webhooks?: Partial<Record<"appointment.created" | "patient.created", {
|
|
37
|
+
url: string;
|
|
38
|
+
secretKey: string;
|
|
39
|
+
}>> | undefined;
|
|
40
|
+
webhookPatientPatientLinkingDisabled?: boolean | undefined;
|
|
41
|
+
webhookPatientPatientProcessingEnabled?: boolean | undefined;
|
|
42
|
+
webhookAppointmentPatientLinkingDisabled?: boolean | undefined;
|
|
43
|
+
webhookAppointmentPatientProcessingDisabled?: boolean | undefined;
|
|
44
|
+
backgroundAppointmentPatientProcessingDisabled?: boolean | undefined;
|
|
45
|
+
backgroundAppointments48hrEnabled?: boolean | undefined;
|
|
46
|
+
backgroundAppointment48hrPatientProcessingDisabled?: boolean | undefined;
|
|
47
|
+
}>;
|
|
48
|
+
export type HealthieSecondaryMappings = z.infer<typeof healthieSecondaryMappingsSchema>;
|
|
49
|
+
//# sourceMappingURL=cx-mapping.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cx-mapping.d.ts","sourceRoot":"","sources":["../../../../../src/interface/external/ehr/healthie/cx-mapping.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAQxB,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAU1C,CAAC;AACH,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,+BAA+B,CAAC,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.healthieSecondaryMappingsSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const subscription_1 = require("./subscription");
|
|
6
|
+
const webhookSchema = zod_1.z.object({
|
|
7
|
+
url: zod_1.z.string(),
|
|
8
|
+
secretKey: zod_1.z.string(),
|
|
9
|
+
});
|
|
10
|
+
exports.healthieSecondaryMappingsSchema = zod_1.z.object({
|
|
11
|
+
webhooks: zod_1.z.record(zod_1.z.enum(subscription_1.subscriptionResources), webhookSchema).optional(),
|
|
12
|
+
webhookPatientPatientLinkingDisabled: zod_1.z.boolean().optional(),
|
|
13
|
+
webhookPatientPatientProcessingEnabled: zod_1.z.boolean().optional(),
|
|
14
|
+
webhookAppointmentPatientLinkingDisabled: zod_1.z.boolean().optional(),
|
|
15
|
+
webhookAppointmentPatientProcessingDisabled: zod_1.z.boolean().optional(),
|
|
16
|
+
backgroundAppointmentsDisabled: zod_1.z.boolean().optional(),
|
|
17
|
+
backgroundAppointmentPatientProcessingDisabled: zod_1.z.boolean().optional(),
|
|
18
|
+
backgroundAppointments48hrEnabled: zod_1.z.boolean().optional(),
|
|
19
|
+
backgroundAppointment48hrPatientProcessingDisabled: zod_1.z.boolean().optional(),
|
|
20
|
+
});
|
|
21
|
+
//# sourceMappingURL=cx-mapping.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cx-mapping.js","sourceRoot":"","sources":["../../../../../src/interface/external/ehr/healthie/cx-mapping.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,iDAAuD;AAEvD,MAAM,aAAa,GAAG,OAAC,CAAC,MAAM,CAAC;IAC7B,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE;IACf,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE;CACtB,CAAC,CAAC;AAEU,QAAA,+BAA+B,GAAG,OAAC,CAAC,MAAM,CAAC;IACtD,QAAQ,EAAE,OAAC,CAAC,MAAM,CAAC,OAAC,CAAC,IAAI,CAAC,oCAAqB,CAAC,EAAE,aAAa,CAAC,CAAC,QAAQ,EAAE;IAC3E,oCAAoC,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IAC5D,sCAAsC,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IAC9D,wCAAwC,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IAChE,2CAA2C,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IACnE,8BAA8B,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IACtD,8CAA8C,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IACtE,iCAAiC,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IACzD,kDAAkD,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;CAC3E,CAAC,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const healthieAppointmentCreatedEventSchema: z.ZodObject<{
|
|
3
|
+
resource_id: z.ZodString;
|
|
4
|
+
resource_id_type: z.ZodString;
|
|
5
|
+
event_type: z.ZodLiteral<"appointment.created">;
|
|
6
|
+
}, "strip", z.ZodTypeAny, {
|
|
7
|
+
event_type: "appointment.created";
|
|
8
|
+
resource_id: string;
|
|
9
|
+
resource_id_type: string;
|
|
10
|
+
}, {
|
|
11
|
+
event_type: "appointment.created";
|
|
12
|
+
resource_id: string;
|
|
13
|
+
resource_id_type: string;
|
|
14
|
+
}>;
|
|
15
|
+
export type HealthieAppointmentCreatedEvent = z.infer<typeof healthieAppointmentCreatedEventSchema>;
|
|
16
|
+
export declare const healthiePatientCreatedEventSchema: z.ZodObject<{
|
|
17
|
+
resource_id: z.ZodString;
|
|
18
|
+
resource_id_type: z.ZodString;
|
|
19
|
+
event_type: z.ZodLiteral<"patient.created">;
|
|
20
|
+
}, "strip", z.ZodTypeAny, {
|
|
21
|
+
event_type: "patient.created";
|
|
22
|
+
resource_id: string;
|
|
23
|
+
resource_id_type: string;
|
|
24
|
+
}, {
|
|
25
|
+
event_type: "patient.created";
|
|
26
|
+
resource_id: string;
|
|
27
|
+
resource_id_type: string;
|
|
28
|
+
}>;
|
|
29
|
+
export type HealthiePatientCreatedEvent = z.infer<typeof healthiePatientCreatedEventSchema>;
|
|
30
|
+
//# sourceMappingURL=event.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"event.d.ts","sourceRoot":"","sources":["../../../../../src/interface/external/ehr/healthie/event.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,qCAAqC;;;;;;;;;;;;EAIhD,CAAC;AACH,MAAM,MAAM,+BAA+B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qCAAqC,CAAC,CAAC;AAEpG,eAAO,MAAM,iCAAiC;;;;;;;;;;;;EAI5C,CAAC;AACH,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iCAAiC,CAAC,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.healthiePatientCreatedEventSchema = exports.healthieAppointmentCreatedEventSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
exports.healthieAppointmentCreatedEventSchema = zod_1.z.object({
|
|
6
|
+
resource_id: zod_1.z.coerce.string(),
|
|
7
|
+
resource_id_type: zod_1.z.string(),
|
|
8
|
+
event_type: zod_1.z.literal("appointment.created"),
|
|
9
|
+
});
|
|
10
|
+
exports.healthiePatientCreatedEventSchema = zod_1.z.object({
|
|
11
|
+
resource_id: zod_1.z.coerce.string(),
|
|
12
|
+
resource_id_type: zod_1.z.string(),
|
|
13
|
+
event_type: zod_1.z.literal("patient.created"),
|
|
14
|
+
});
|
|
15
|
+
//# sourceMappingURL=event.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"event.js","sourceRoot":"","sources":["../../../../../src/interface/external/ehr/healthie/event.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAEX,QAAA,qCAAqC,GAAG,OAAC,CAAC,MAAM,CAAC;IAC5D,WAAW,EAAE,OAAC,CAAC,MAAM,CAAC,MAAM,EAAE;IAC9B,gBAAgB,EAAE,OAAC,CAAC,MAAM,EAAE;IAC5B,UAAU,EAAE,OAAC,CAAC,OAAO,CAAC,qBAAqB,CAAC;CAC7C,CAAC,CAAC;AAGU,QAAA,iCAAiC,GAAG,OAAC,CAAC,MAAM,CAAC;IACxD,WAAW,EAAE,OAAC,CAAC,MAAM,CAAC,MAAM,EAAE;IAC9B,gBAAgB,EAAE,OAAC,CAAC,MAAM,EAAE;IAC5B,UAAU,EAAE,OAAC,CAAC,OAAO,CAAC,iBAAiB,CAAC;CACzC,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/interface/external/ehr/healthie/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,cAAc,WAAW,CAAC;AAC1B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,SAAS,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./cx-mapping"), exports);
|
|
18
|
+
__exportStar(require("./jwt-token"), exports);
|
|
19
|
+
__exportStar(require("./appointment"), exports);
|
|
20
|
+
__exportStar(require("./patient"), exports);
|
|
21
|
+
__exportStar(require("./subscription"), exports);
|
|
22
|
+
__exportStar(require("./event"), exports);
|
|
23
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/interface/external/ehr/healthie/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,8CAA4B;AAC5B,gDAA8B;AAC9B,4CAA0B;AAC1B,iDAA+B;AAC/B,0CAAwB"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import z from "zod";
|
|
2
|
+
import { EhrSources } from "../source";
|
|
3
|
+
export declare const healthieDashSource: EhrSources.healthie;
|
|
4
|
+
export declare const healthieDashJwtTokenDataSchema: z.ZodObject<{
|
|
5
|
+
practiceId: z.ZodString;
|
|
6
|
+
patientId: z.ZodString;
|
|
7
|
+
source: z.ZodLiteral<"healthie">;
|
|
8
|
+
}, "strip", z.ZodTypeAny, {
|
|
9
|
+
patientId: string;
|
|
10
|
+
source: "healthie";
|
|
11
|
+
practiceId: string;
|
|
12
|
+
}, {
|
|
13
|
+
patientId: string;
|
|
14
|
+
source: "healthie";
|
|
15
|
+
practiceId: string;
|
|
16
|
+
}>;
|
|
17
|
+
export type HealthieDashJwtTokenData = z.infer<typeof healthieDashJwtTokenDataSchema>;
|
|
18
|
+
//# sourceMappingURL=jwt-token.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"jwt-token.d.ts","sourceRoot":"","sources":["../../../../../src/interface/external/ehr/healthie/jwt-token.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AACpB,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAEvC,eAAO,MAAM,kBAAkB,qBAA+B,CAAC;AAC/D,eAAO,MAAM,8BAA8B;;;;;;;;;;;;EAIzC,CAAC;AACH,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,8BAA8B,CAAC,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.healthieDashJwtTokenDataSchema = exports.healthieDashSource = void 0;
|
|
7
|
+
const zod_1 = __importDefault(require("zod"));
|
|
8
|
+
const source_1 = require("../source");
|
|
9
|
+
exports.healthieDashSource = source_1.EhrSources.healthie;
|
|
10
|
+
exports.healthieDashJwtTokenDataSchema = zod_1.default.object({
|
|
11
|
+
practiceId: zod_1.default.string(),
|
|
12
|
+
patientId: zod_1.default.string(),
|
|
13
|
+
source: zod_1.default.literal(`${exports.healthieDashSource}`),
|
|
14
|
+
});
|
|
15
|
+
//# sourceMappingURL=jwt-token.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"jwt-token.js","sourceRoot":"","sources":["../../../../../src/interface/external/ehr/healthie/jwt-token.ts"],"names":[],"mappings":";;;;;;AAAA,8CAAoB;AACpB,sCAAuC;AAE1B,QAAA,kBAAkB,GAAG,mBAAU,CAAC,QAAiB,CAAC;AAClD,QAAA,8BAA8B,GAAG,aAAC,CAAC,MAAM,CAAC;IACrD,UAAU,EAAE,aAAC,CAAC,MAAM,EAAE;IACtB,SAAS,EAAE,aAAC,CAAC,MAAM,EAAE;IACrB,MAAM,EAAE,aAAC,CAAC,OAAO,CAAC,GAAG,0BAAkB,EAAE,CAAC;CAC3C,CAAC,CAAC"}
|