@awell-health/awell-extensions 1.1.41 → 1.1.42-beta15
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/extensions/awell/v1/webhooks/index.d.ts +1 -1
- package/dist/extensions/awell/v1/webhooks/pathwayStart.js +12 -3
- package/dist/extensions/awell/v1/webhooks/pathwayStart.js.map +1 -1
- package/dist/extensions/calDotCom/webhooks/index.d.ts +1 -1
- package/dist/extensions/calendly/webhooks/index.d.ts +1 -1
- package/dist/extensions/collectData/v1/actions/collectMedication/config/datapoints.d.ts +4 -0
- package/dist/extensions/collectData/v1/actions/collectMedication/config/datapoints.js +4 -0
- package/dist/extensions/collectData/v1/actions/collectMedication/config/datapoints.js.map +1 -1
- package/dist/extensions/elation/actions/updatePatient.js +1 -0
- package/dist/extensions/elation/actions/updatePatient.js.map +1 -1
- package/dist/extensions/elation/webhooks/index.d.ts +1 -1
- package/dist/extensions/healthie/lib/sdk/generated/sdk.d.ts +373 -9
- package/dist/extensions/healthie/lib/sdk/generated/sdk.js +110 -3
- package/dist/extensions/healthie/lib/sdk/generated/sdk.js.map +1 -1
- package/dist/extensions/healthie/lib/sdk/validatePayloadAndCreateSdk.d.ts +11 -1
- package/dist/extensions/healthie/lib/sdk/validatePayloadAndCreateSdk.js +15 -1
- package/dist/extensions/healthie/lib/sdk/validatePayloadAndCreateSdk.js.map +1 -1
- package/dist/extensions/healthie/lib/types.d.ts +1 -0
- package/dist/extensions/healthie/lib/types.js +2 -0
- package/dist/extensions/healthie/lib/types.js.map +1 -1
- package/dist/extensions/healthie/webhooks/appliedTagCreated.d.ts +2 -1
- package/dist/extensions/healthie/webhooks/appliedTagCreated.js +33 -12
- package/dist/extensions/healthie/webhooks/appliedTagCreated.js.map +1 -1
- package/dist/extensions/healthie/webhooks/appliedTagDeleted.d.ts +2 -1
- package/dist/extensions/healthie/webhooks/appliedTagDeleted.js +33 -12
- package/dist/extensions/healthie/webhooks/appliedTagDeleted.js.map +1 -1
- package/dist/extensions/healthie/webhooks/appointmentCreated.d.ts +6 -1
- package/dist/extensions/healthie/webhooks/appointmentCreated.js +40 -12
- package/dist/extensions/healthie/webhooks/appointmentCreated.js.map +1 -1
- package/dist/extensions/healthie/webhooks/appointmentDeleted.d.ts +2 -1
- package/dist/extensions/healthie/webhooks/appointmentDeleted.js +36 -12
- package/dist/extensions/healthie/webhooks/appointmentDeleted.js.map +1 -1
- package/dist/extensions/healthie/webhooks/appointmentUpdated.d.ts +6 -1
- package/dist/extensions/healthie/webhooks/appointmentUpdated.js +40 -12
- package/dist/extensions/healthie/webhooks/appointmentUpdated.js.map +1 -1
- package/dist/extensions/healthie/webhooks/formAnswerGroupCreated.d.ts +6 -1
- package/dist/extensions/healthie/webhooks/formAnswerGroupCreated.js +40 -12
- package/dist/extensions/healthie/webhooks/formAnswerGroupCreated.js.map +1 -1
- package/dist/extensions/healthie/webhooks/formAnswerGroupDeleted.d.ts +2 -1
- package/dist/extensions/healthie/webhooks/formAnswerGroupDeleted.js +35 -12
- package/dist/extensions/healthie/webhooks/formAnswerGroupDeleted.js.map +1 -1
- package/dist/extensions/healthie/webhooks/formAnswerGroupLocked.d.ts +6 -1
- package/dist/extensions/healthie/webhooks/formAnswerGroupLocked.js +40 -12
- package/dist/extensions/healthie/webhooks/formAnswerGroupLocked.js.map +1 -1
- package/dist/extensions/healthie/webhooks/formAnswerGroupSigned.d.ts +6 -1
- package/dist/extensions/healthie/webhooks/formAnswerGroupSigned.js +40 -12
- package/dist/extensions/healthie/webhooks/formAnswerGroupSigned.js.map +1 -1
- package/dist/extensions/healthie/webhooks/goalCreated.d.ts +2 -1
- package/dist/extensions/healthie/webhooks/goalCreated.js +34 -13
- package/dist/extensions/healthie/webhooks/goalCreated.js.map +1 -1
- package/dist/extensions/healthie/webhooks/goalUpdated.d.ts +2 -1
- package/dist/extensions/healthie/webhooks/goalUpdated.js +34 -13
- package/dist/extensions/healthie/webhooks/goalUpdated.js.map +1 -1
- package/dist/extensions/healthie/webhooks/index.d.ts +316 -1
- package/dist/extensions/healthie/webhooks/labOrderCreated.d.ts +2 -1
- package/dist/extensions/healthie/webhooks/labOrderCreated.js +33 -12
- package/dist/extensions/healthie/webhooks/labOrderCreated.js.map +1 -1
- package/dist/extensions/healthie/webhooks/labOrderUpdated.d.ts +2 -1
- package/dist/extensions/healthie/webhooks/labOrderUpdated.js +33 -12
- package/dist/extensions/healthie/webhooks/labOrderUpdated.js.map +1 -1
- package/dist/extensions/healthie/webhooks/messageCreated.d.ts +2 -1
- package/dist/extensions/healthie/webhooks/messageCreated.js +35 -13
- package/dist/extensions/healthie/webhooks/messageCreated.js.map +1 -1
- package/dist/extensions/healthie/webhooks/messageDeleted.d.ts +2 -1
- package/dist/extensions/healthie/webhooks/messageDeleted.js +35 -13
- package/dist/extensions/healthie/webhooks/messageDeleted.js.map +1 -1
- package/dist/extensions/healthie/webhooks/metricEntryCreated.d.ts +2 -1
- package/dist/extensions/healthie/webhooks/metricEntryCreated.js +33 -12
- package/dist/extensions/healthie/webhooks/metricEntryCreated.js.map +1 -1
- package/dist/extensions/healthie/webhooks/metricEntryUpdated.d.ts +2 -1
- package/dist/extensions/healthie/webhooks/metricEntryUpdated.js +33 -12
- package/dist/extensions/healthie/webhooks/metricEntryUpdated.js.map +1 -1
- package/dist/extensions/healthie/webhooks/patientCreated.js +5 -0
- package/dist/extensions/healthie/webhooks/patientCreated.js.map +1 -1
- package/dist/extensions/healthie/webhooks/patientUpdated.js +5 -0
- package/dist/extensions/healthie/webhooks/patientUpdated.js.map +1 -1
- package/dist/extensions/healthie/webhooks/requestedFormCompletionCreated.d.ts +2 -1
- package/dist/extensions/healthie/webhooks/requestedFormCompletionCreated.js +33 -12
- package/dist/extensions/healthie/webhooks/requestedFormCompletionCreated.js.map +1 -1
- package/dist/extensions/healthie/webhooks/requestedFormCompletionUpdated.d.ts +2 -1
- package/dist/extensions/healthie/webhooks/requestedFormCompletionUpdated.js +33 -12
- package/dist/extensions/healthie/webhooks/requestedFormCompletionUpdated.js.map +1 -1
- package/dist/extensions/healthie/webhooks/taskCreated.d.ts +2 -1
- package/dist/extensions/healthie/webhooks/taskCreated.js +33 -12
- package/dist/extensions/healthie/webhooks/taskCreated.js.map +1 -1
- package/dist/extensions/healthie/webhooks/taskUpdated.d.ts +2 -1
- package/dist/extensions/healthie/webhooks/taskUpdated.js +33 -12
- package/dist/extensions/healthie/webhooks/taskUpdated.js.map +1 -1
- package/dist/extensions/hello-world/webhooks/index.d.ts +1 -1
- package/dist/extensions/zusHealth/webhooks/index.d.ts +37 -1
- package/dist/extensions/zusHealth/webhooks/patientAdmitted.d.ts +2 -1
- package/dist/extensions/zusHealth/webhooks/patientAdmitted.js.map +1 -1
- package/dist/extensions/zusHealth/webhooks/patientDischarged.d.ts +2 -1
- package/dist/extensions/zusHealth/webhooks/patientDischarged.js.map +1 -1
- package/dist/src/test-server.js +4 -0
- package/dist/src/test-server.js.map +1 -1
- package/package.json +4 -3
@@ -1,7 +1,22 @@
|
|
1
1
|
"use strict";
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
4
|
+
};
|
2
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
6
|
exports.goalCreated = void 0;
|
4
7
|
const lodash_1 = require("lodash");
|
8
|
+
const types_1 = require("../lib/types");
|
9
|
+
const zod_1 = __importDefault(require("zod"));
|
10
|
+
const validatePayloadAndCreateSdk_1 = require("../lib/sdk/validatePayloadAndCreateSdk");
|
11
|
+
const payloadSchema = zod_1.default
|
12
|
+
.object({
|
13
|
+
resource_id: zod_1.default.string(),
|
14
|
+
})
|
15
|
+
.transform((data) => {
|
16
|
+
return {
|
17
|
+
createdGoalId: data.resource_id,
|
18
|
+
};
|
19
|
+
});
|
5
20
|
const dataPoints = {
|
6
21
|
createdGoalId: {
|
7
22
|
key: 'createdGoalId',
|
@@ -12,19 +27,25 @@ exports.goalCreated = {
|
|
12
27
|
key: 'goalCreated',
|
13
28
|
dataPoints,
|
14
29
|
onWebhookReceived: async ({ payload, settings }, onSuccess, onError) => {
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
}
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
30
|
+
var _a, _b;
|
31
|
+
const { validatedPayload: { createdGoalId }, sdk, } = await (0, validatePayloadAndCreateSdk_1.validateWebhookPayloadAndCreateSdk)({
|
32
|
+
payloadSchema,
|
33
|
+
payload,
|
34
|
+
settings,
|
35
|
+
});
|
36
|
+
const response = await sdk.getGoal({ id: createdGoalId });
|
37
|
+
const healthiePatientId = (_b = (_a = response === null || response === void 0 ? void 0 : response.data) === null || _a === void 0 ? void 0 : _a.goal) === null || _b === void 0 ? void 0 : _b.user_id;
|
38
|
+
await onSuccess({
|
39
|
+
data_points: {
|
40
|
+
createdGoalId,
|
41
|
+
},
|
42
|
+
...(!(0, lodash_1.isNil)(healthiePatientId) && {
|
43
|
+
patient_identifier: {
|
44
|
+
system: types_1.HEALTHIE_IDENTIFIER,
|
45
|
+
value: healthiePatientId,
|
25
46
|
},
|
26
|
-
})
|
27
|
-
}
|
28
|
-
}
|
47
|
+
}),
|
48
|
+
});
|
49
|
+
}
|
29
50
|
};
|
30
51
|
//# sourceMappingURL=goalCreated.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"goalCreated.js","sourceRoot":"","sources":["../../../../extensions/healthie/webhooks/goalCreated.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"goalCreated.js","sourceRoot":"","sources":["../../../../extensions/healthie/webhooks/goalCreated.ts"],"names":[],"mappings":";;;;;;AAAA,mCAA8B;AAK9B,wCAA+E;AAC/E,8CAAmB;AACnB,wFAA2F;AAG3F,MAAM,aAAa,GAAG,aAAC;KACpB,MAAM,CAAC;IACN,WAAW,EAAE,aAAC,CAAC,MAAM,EAAE;CACxB,CAAC;KACD,SAAS,CAAC,CAAC,IAAI,EAAE,EAAE;IAClB,OAAO;QACL,aAAa,EAAE,IAAI,CAAC,WAAW;KAChC,CAAA;AACH,CAAC,CAAC,CAAA;AAEJ,MAAM,UAAU,GAAG;IACjB,aAAa,EAAE;QACb,GAAG,EAAE,eAAe;QACpB,SAAS,EAAE,QAAQ;KACpB;CAC4C,CAAA;AAElC,QAAA,WAAW,GAIpB;IACF,GAAG,EAAE,aAAa;IAClB,UAAU;IACV,iBAAiB,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,SAAS,EAAE,OAAO,EAAE,EAAE;;QACrE,MAAM,EACJ,gBAAgB,EAAE,EAAE,aAAa,EAAE,EACnC,GAAG,GACJ,GAAG,MAAM,IAAA,gEAAkC,EAAC;YAC3C,aAAa;YACb,OAAO;YACP,QAAQ;SACT,CAAC,CAAA;QACF,MAAM,QAAQ,GAAG,MAAM,GAAG,CAAC,OAAO,CAAC,EAAE,EAAE,EAAE,aAAa,EAAE,CAAC,CAAA;QACzD,MAAM,iBAAiB,GAAG,MAAA,MAAA,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,IAAI,0CAAE,IAAI,0CAAE,OAAO,CAAA;QAEvD,MAAM,SAAS,CAAC;YACd,WAAW,EAAE;gBACX,aAAa;aACd;YACD,GAAG,CAAC,CAAC,IAAA,cAAK,EAAC,iBAAiB,CAAC,IAAI;gBAC/B,kBAAkB,EAAE;oBAClB,MAAM,EAAE,2BAAmB;oBAC3B,KAAK,EAAE,iBAAiB;iBACzB;aACF,CAAC;SACH,CAAC,CAAA;IACJ,CAAC;CACF,CAAA"}
|
@@ -1,11 +1,12 @@
|
|
1
1
|
import { type Webhook } from '@awell-health/extensions-core';
|
2
2
|
import { type HealthieWebhookPayload } from '../lib/types';
|
3
|
+
import { type settings } from '../settings';
|
3
4
|
declare const dataPoints: {
|
4
5
|
updatedGoalId: {
|
5
6
|
key: string;
|
6
7
|
valueType: "string";
|
7
8
|
};
|
8
9
|
};
|
9
|
-
export declare const goalUpdated: Webhook<keyof typeof dataPoints, HealthieWebhookPayload>;
|
10
|
+
export declare const goalUpdated: Webhook<keyof typeof dataPoints, HealthieWebhookPayload, typeof settings>;
|
10
11
|
export type GoalUpdated = typeof goalUpdated;
|
11
12
|
export {};
|
@@ -1,7 +1,22 @@
|
|
1
1
|
"use strict";
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
4
|
+
};
|
2
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
6
|
exports.goalUpdated = void 0;
|
4
7
|
const lodash_1 = require("lodash");
|
8
|
+
const types_1 = require("../lib/types");
|
9
|
+
const zod_1 = __importDefault(require("zod"));
|
10
|
+
const validatePayloadAndCreateSdk_1 = require("../lib/sdk/validatePayloadAndCreateSdk");
|
11
|
+
const payloadSchema = zod_1.default
|
12
|
+
.object({
|
13
|
+
resource_id: zod_1.default.string(),
|
14
|
+
})
|
15
|
+
.transform((data) => {
|
16
|
+
return {
|
17
|
+
updatedGoalId: data.resource_id,
|
18
|
+
};
|
19
|
+
});
|
5
20
|
const dataPoints = {
|
6
21
|
updatedGoalId: {
|
7
22
|
key: 'updatedGoalId',
|
@@ -12,19 +27,25 @@ exports.goalUpdated = {
|
|
12
27
|
key: 'goalUpdated',
|
13
28
|
dataPoints,
|
14
29
|
onWebhookReceived: async ({ payload, settings }, onSuccess, onError) => {
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
}
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
30
|
+
var _a, _b;
|
31
|
+
const { validatedPayload: { updatedGoalId }, sdk, } = await (0, validatePayloadAndCreateSdk_1.validateWebhookPayloadAndCreateSdk)({
|
32
|
+
payloadSchema,
|
33
|
+
payload,
|
34
|
+
settings,
|
35
|
+
});
|
36
|
+
const response = await sdk.getGoal({ id: updatedGoalId });
|
37
|
+
const healthiePatientId = (_b = (_a = response === null || response === void 0 ? void 0 : response.data) === null || _a === void 0 ? void 0 : _a.goal) === null || _b === void 0 ? void 0 : _b.user_id;
|
38
|
+
await onSuccess({
|
39
|
+
data_points: {
|
40
|
+
updatedGoalId,
|
41
|
+
},
|
42
|
+
...(!(0, lodash_1.isNil)(healthiePatientId) && {
|
43
|
+
patient_identifier: {
|
44
|
+
system: types_1.HEALTHIE_IDENTIFIER,
|
45
|
+
value: healthiePatientId,
|
25
46
|
},
|
26
|
-
})
|
27
|
-
}
|
28
|
-
}
|
47
|
+
}),
|
48
|
+
});
|
49
|
+
}
|
29
50
|
};
|
30
51
|
//# sourceMappingURL=goalUpdated.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"goalUpdated.js","sourceRoot":"","sources":["../../../../extensions/healthie/webhooks/goalUpdated.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"goalUpdated.js","sourceRoot":"","sources":["../../../../extensions/healthie/webhooks/goalUpdated.ts"],"names":[],"mappings":";;;;;;AAAA,mCAA8B;AAK9B,wCAA+E;AAC/E,8CAAmB;AACnB,wFAA2F;AAG3F,MAAM,aAAa,GAAG,aAAC;KACpB,MAAM,CAAC;IACN,WAAW,EAAE,aAAC,CAAC,MAAM,EAAE;CACxB,CAAC;KACD,SAAS,CAAC,CAAC,IAAI,EAAE,EAAE;IAClB,OAAO;QACL,aAAa,EAAE,IAAI,CAAC,WAAW;KAChC,CAAA;AACH,CAAC,CAAC,CAAA;AAEJ,MAAM,UAAU,GAAG;IACjB,aAAa,EAAE;QACb,GAAG,EAAE,eAAe;QACpB,SAAS,EAAE,QAAQ;KACpB;CAC4C,CAAA;AAElC,QAAA,WAAW,GAIpB;IACF,GAAG,EAAE,aAAa;IAClB,UAAU;IACV,iBAAiB,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,SAAS,EAAE,OAAO,EAAE,EAAE;;QACrE,MAAM,EACJ,gBAAgB,EAAE,EAAE,aAAa,EAAE,EACnC,GAAG,GACJ,GAAG,MAAM,IAAA,gEAAkC,EAAC;YAC3C,aAAa;YACb,OAAO;YACP,QAAQ;SACT,CAAC,CAAA;QAEF,MAAM,QAAQ,GAAG,MAAM,GAAG,CAAC,OAAO,CAAC,EAAE,EAAE,EAAE,aAAa,EAAE,CAAC,CAAA;QACzD,MAAM,iBAAiB,GAAG,MAAA,MAAA,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,IAAI,0CAAE,IAAI,0CAAE,OAAO,CAAA;QACvD,MAAM,SAAS,CAAC;YACd,WAAW,EAAE;gBACX,aAAa;aACd;YACD,GAAG,CAAC,CAAC,IAAA,cAAK,EAAC,iBAAiB,CAAC,IAAI;gBAC/B,kBAAkB,EAAE;oBAClB,MAAM,EAAE,2BAAmB;oBAC3B,KAAK,EAAE,iBAAiB;iBACzB;aACF,CAAC;SACH,CAAC,CAAA;IACJ,CAAC;CACF,CAAA"}
|
@@ -25,4 +25,319 @@ export type { TaskUpdated } from './taskUpdated';
|
|
25
25
|
export type { GoalCreated } from './goalCreated';
|
26
26
|
export type { GoalUpdated } from './goalUpdated';
|
27
27
|
export type { GoalDeleted } from './goalDeleted';
|
28
|
-
export declare const webhooks: (import("@awell-health/extensions-core").Webhook<"appointmentId"
|
28
|
+
export declare const webhooks: (import("@awell-health/extensions-core").Webhook<"appointmentId" | "appointment", import("../lib/types").HealthieWebhookPayload, {
|
29
|
+
apiUrl: {
|
30
|
+
key: string;
|
31
|
+
label: string;
|
32
|
+
obfuscated: false;
|
33
|
+
required: true;
|
34
|
+
description: string;
|
35
|
+
};
|
36
|
+
apiKey: {
|
37
|
+
key: string;
|
38
|
+
label: string;
|
39
|
+
obfuscated: true;
|
40
|
+
required: true;
|
41
|
+
description: string;
|
42
|
+
};
|
43
|
+
}> | import("@awell-health/extensions-core").Webhook<"patientId", import("../lib/types").HealthieWebhookPayload, Record<string, import("@awell-health/extensions-core").Setting>> | import("@awell-health/extensions-core").Webhook<"createdAppliedTagId", import("../lib/types").HealthieWebhookPayload, {
|
44
|
+
apiUrl: {
|
45
|
+
key: string;
|
46
|
+
label: string;
|
47
|
+
obfuscated: false;
|
48
|
+
required: true;
|
49
|
+
description: string;
|
50
|
+
};
|
51
|
+
apiKey: {
|
52
|
+
key: string;
|
53
|
+
label: string;
|
54
|
+
obfuscated: true;
|
55
|
+
required: true;
|
56
|
+
description: string;
|
57
|
+
};
|
58
|
+
}> | import("@awell-health/extensions-core").Webhook<"deletedAppliedTagId", import("../lib/types").HealthieWebhookPayload, {
|
59
|
+
apiUrl: {
|
60
|
+
key: string;
|
61
|
+
label: string;
|
62
|
+
obfuscated: false;
|
63
|
+
required: true;
|
64
|
+
description: string;
|
65
|
+
};
|
66
|
+
apiKey: {
|
67
|
+
key: string;
|
68
|
+
label: string;
|
69
|
+
obfuscated: true;
|
70
|
+
required: true;
|
71
|
+
description: string;
|
72
|
+
};
|
73
|
+
}> | import("@awell-health/extensions-core").Webhook<"deletedAppointmentId", import("../lib/types").HealthieWebhookPayload, {
|
74
|
+
apiUrl: {
|
75
|
+
key: string;
|
76
|
+
label: string;
|
77
|
+
obfuscated: false;
|
78
|
+
required: true;
|
79
|
+
description: string;
|
80
|
+
};
|
81
|
+
apiKey: {
|
82
|
+
key: string;
|
83
|
+
label: string;
|
84
|
+
obfuscated: true;
|
85
|
+
required: true;
|
86
|
+
description: string;
|
87
|
+
};
|
88
|
+
}> | import("@awell-health/extensions-core").Webhook<"appointment" | "updatedAppointmentId", import("../lib/types").HealthieWebhookPayload, {
|
89
|
+
apiUrl: {
|
90
|
+
key: string;
|
91
|
+
label: string;
|
92
|
+
obfuscated: false;
|
93
|
+
required: true;
|
94
|
+
description: string;
|
95
|
+
};
|
96
|
+
apiKey: {
|
97
|
+
key: string;
|
98
|
+
label: string;
|
99
|
+
obfuscated: true;
|
100
|
+
required: true;
|
101
|
+
description: string;
|
102
|
+
};
|
103
|
+
}> | import("@awell-health/extensions-core").Webhook<"createdFormAnswerGroupId" | "createdFormAnswerGroup", import("../lib/types").HealthieWebhookPayload, {
|
104
|
+
apiUrl: {
|
105
|
+
key: string;
|
106
|
+
label: string;
|
107
|
+
obfuscated: false;
|
108
|
+
required: true;
|
109
|
+
description: string;
|
110
|
+
};
|
111
|
+
apiKey: {
|
112
|
+
key: string;
|
113
|
+
label: string;
|
114
|
+
obfuscated: true;
|
115
|
+
required: true;
|
116
|
+
description: string;
|
117
|
+
};
|
118
|
+
}> | import("@awell-health/extensions-core").Webhook<"deletedFormAnswerGroupId", import("../lib/types").HealthieWebhookPayload, {
|
119
|
+
apiUrl: {
|
120
|
+
key: string;
|
121
|
+
label: string;
|
122
|
+
obfuscated: false;
|
123
|
+
required: true;
|
124
|
+
description: string;
|
125
|
+
};
|
126
|
+
apiKey: {
|
127
|
+
key: string;
|
128
|
+
label: string;
|
129
|
+
obfuscated: true;
|
130
|
+
required: true;
|
131
|
+
description: string;
|
132
|
+
};
|
133
|
+
}> | import("@awell-health/extensions-core").Webhook<"lockedFormAnswerGroupId" | "lockedFormAnswerGroup", import("../lib/types").HealthieWebhookPayload, {
|
134
|
+
apiUrl: {
|
135
|
+
key: string;
|
136
|
+
label: string;
|
137
|
+
obfuscated: false;
|
138
|
+
required: true;
|
139
|
+
description: string;
|
140
|
+
};
|
141
|
+
apiKey: {
|
142
|
+
key: string;
|
143
|
+
label: string;
|
144
|
+
obfuscated: true;
|
145
|
+
required: true;
|
146
|
+
description: string;
|
147
|
+
};
|
148
|
+
}> | import("@awell-health/extensions-core").Webhook<"signedFormAnswerGroupId" | "signedFormAnswerGroup", import("../lib/types").HealthieWebhookPayload, {
|
149
|
+
apiUrl: {
|
150
|
+
key: string;
|
151
|
+
label: string;
|
152
|
+
obfuscated: false;
|
153
|
+
required: true;
|
154
|
+
description: string;
|
155
|
+
};
|
156
|
+
apiKey: {
|
157
|
+
key: string;
|
158
|
+
label: string;
|
159
|
+
obfuscated: true;
|
160
|
+
required: true;
|
161
|
+
description: string;
|
162
|
+
};
|
163
|
+
}> | import("@awell-health/extensions-core").Webhook<"createdLabOrderId", import("../lib/types").HealthieWebhookPayload, {
|
164
|
+
apiUrl: {
|
165
|
+
key: string;
|
166
|
+
label: string;
|
167
|
+
obfuscated: false;
|
168
|
+
required: true;
|
169
|
+
description: string;
|
170
|
+
};
|
171
|
+
apiKey: {
|
172
|
+
key: string;
|
173
|
+
label: string;
|
174
|
+
obfuscated: true;
|
175
|
+
required: true;
|
176
|
+
description: string;
|
177
|
+
};
|
178
|
+
}> | import("@awell-health/extensions-core").Webhook<"updatedLabOrderId", import("../lib/types").HealthieWebhookPayload, {
|
179
|
+
apiUrl: {
|
180
|
+
key: string;
|
181
|
+
label: string;
|
182
|
+
obfuscated: false;
|
183
|
+
required: true;
|
184
|
+
description: string;
|
185
|
+
};
|
186
|
+
apiKey: {
|
187
|
+
key: string;
|
188
|
+
label: string;
|
189
|
+
obfuscated: true;
|
190
|
+
required: true;
|
191
|
+
description: string;
|
192
|
+
};
|
193
|
+
}> | import("@awell-health/extensions-core").Webhook<"createdMessageId", import("../lib/types").HealthieWebhookPayload, {
|
194
|
+
apiUrl: {
|
195
|
+
key: string;
|
196
|
+
label: string;
|
197
|
+
obfuscated: false;
|
198
|
+
required: true;
|
199
|
+
description: string;
|
200
|
+
};
|
201
|
+
apiKey: {
|
202
|
+
key: string;
|
203
|
+
label: string;
|
204
|
+
obfuscated: true;
|
205
|
+
required: true;
|
206
|
+
description: string;
|
207
|
+
};
|
208
|
+
}> | import("@awell-health/extensions-core").Webhook<"deletedMessageId", import("../lib/types").HealthieWebhookPayload, {
|
209
|
+
apiUrl: {
|
210
|
+
key: string;
|
211
|
+
label: string;
|
212
|
+
obfuscated: false;
|
213
|
+
required: true;
|
214
|
+
description: string;
|
215
|
+
};
|
216
|
+
apiKey: {
|
217
|
+
key: string;
|
218
|
+
label: string;
|
219
|
+
obfuscated: true;
|
220
|
+
required: true;
|
221
|
+
description: string;
|
222
|
+
};
|
223
|
+
}> | import("@awell-health/extensions-core").Webhook<"createdMetricId", import("../lib/types").HealthieWebhookPayload, {
|
224
|
+
apiUrl: {
|
225
|
+
key: string;
|
226
|
+
label: string;
|
227
|
+
obfuscated: false;
|
228
|
+
required: true;
|
229
|
+
description: string;
|
230
|
+
};
|
231
|
+
apiKey: {
|
232
|
+
key: string;
|
233
|
+
label: string;
|
234
|
+
obfuscated: true;
|
235
|
+
required: true;
|
236
|
+
description: string;
|
237
|
+
};
|
238
|
+
}> | import("@awell-health/extensions-core").Webhook<"deletedMetricId", import("../lib/types").HealthieWebhookPayload, Record<string, import("@awell-health/extensions-core").Setting>> | import("@awell-health/extensions-core").Webhook<"updatedMetricId", import("../lib/types").HealthieWebhookPayload, {
|
239
|
+
apiUrl: {
|
240
|
+
key: string;
|
241
|
+
label: string;
|
242
|
+
obfuscated: false;
|
243
|
+
required: true;
|
244
|
+
description: string;
|
245
|
+
};
|
246
|
+
apiKey: {
|
247
|
+
key: string;
|
248
|
+
label: string;
|
249
|
+
obfuscated: true;
|
250
|
+
required: true;
|
251
|
+
description: string;
|
252
|
+
};
|
253
|
+
}> | import("@awell-health/extensions-core").Webhook<"updatedPatientId", import("../lib/types").HealthieWebhookPayload, Record<string, import("@awell-health/extensions-core").Setting>> | import("@awell-health/extensions-core").Webhook<"createdFormCompletionId", import("../lib/types").HealthieWebhookPayload, {
|
254
|
+
apiUrl: {
|
255
|
+
key: string;
|
256
|
+
label: string;
|
257
|
+
obfuscated: false;
|
258
|
+
required: true;
|
259
|
+
description: string;
|
260
|
+
};
|
261
|
+
apiKey: {
|
262
|
+
key: string;
|
263
|
+
label: string;
|
264
|
+
obfuscated: true;
|
265
|
+
required: true;
|
266
|
+
description: string;
|
267
|
+
};
|
268
|
+
}> | import("@awell-health/extensions-core").Webhook<"deletedFormCompletionId", import("../lib/types").HealthieWebhookPayload, Record<string, import("@awell-health/extensions-core").Setting>> | import("@awell-health/extensions-core").Webhook<"updatedFormCompletionId", import("../lib/types").HealthieWebhookPayload, {
|
269
|
+
apiUrl: {
|
270
|
+
key: string;
|
271
|
+
label: string;
|
272
|
+
obfuscated: false;
|
273
|
+
required: true;
|
274
|
+
description: string;
|
275
|
+
};
|
276
|
+
apiKey: {
|
277
|
+
key: string;
|
278
|
+
label: string;
|
279
|
+
obfuscated: true;
|
280
|
+
required: true;
|
281
|
+
description: string;
|
282
|
+
};
|
283
|
+
}> | import("@awell-health/extensions-core").Webhook<"createdTaskId", import("../lib/types").HealthieWebhookPayload, {
|
284
|
+
apiUrl: {
|
285
|
+
key: string;
|
286
|
+
label: string;
|
287
|
+
obfuscated: false;
|
288
|
+
required: true;
|
289
|
+
description: string;
|
290
|
+
};
|
291
|
+
apiKey: {
|
292
|
+
key: string;
|
293
|
+
label: string;
|
294
|
+
obfuscated: true;
|
295
|
+
required: true;
|
296
|
+
description: string;
|
297
|
+
};
|
298
|
+
}> | import("@awell-health/extensions-core").Webhook<"deletedTaskId", import("../lib/types").HealthieWebhookPayload, Record<string, import("@awell-health/extensions-core").Setting>> | import("@awell-health/extensions-core").Webhook<"updatedTaskId", import("../lib/types").HealthieWebhookPayload, {
|
299
|
+
apiUrl: {
|
300
|
+
key: string;
|
301
|
+
label: string;
|
302
|
+
obfuscated: false;
|
303
|
+
required: true;
|
304
|
+
description: string;
|
305
|
+
};
|
306
|
+
apiKey: {
|
307
|
+
key: string;
|
308
|
+
label: string;
|
309
|
+
obfuscated: true;
|
310
|
+
required: true;
|
311
|
+
description: string;
|
312
|
+
};
|
313
|
+
}> | import("@awell-health/extensions-core").Webhook<"createdGoalId", import("../lib/types").HealthieWebhookPayload, {
|
314
|
+
apiUrl: {
|
315
|
+
key: string;
|
316
|
+
label: string;
|
317
|
+
obfuscated: false;
|
318
|
+
required: true;
|
319
|
+
description: string;
|
320
|
+
};
|
321
|
+
apiKey: {
|
322
|
+
key: string;
|
323
|
+
label: string;
|
324
|
+
obfuscated: true;
|
325
|
+
required: true;
|
326
|
+
description: string;
|
327
|
+
};
|
328
|
+
}> | import("@awell-health/extensions-core").Webhook<"updatedGoalId", import("../lib/types").HealthieWebhookPayload, {
|
329
|
+
apiUrl: {
|
330
|
+
key: string;
|
331
|
+
label: string;
|
332
|
+
obfuscated: false;
|
333
|
+
required: true;
|
334
|
+
description: string;
|
335
|
+
};
|
336
|
+
apiKey: {
|
337
|
+
key: string;
|
338
|
+
label: string;
|
339
|
+
obfuscated: true;
|
340
|
+
required: true;
|
341
|
+
description: string;
|
342
|
+
};
|
343
|
+
}> | import("@awell-health/extensions-core").Webhook<"deletedGoalId", import("../lib/types").HealthieWebhookPayload, Record<string, import("@awell-health/extensions-core").Setting>>)[];
|
@@ -1,11 +1,12 @@
|
|
1
1
|
import { type Webhook } from '@awell-health/extensions-core';
|
2
2
|
import { type HealthieWebhookPayload } from '../lib/types';
|
3
|
+
import { type settings } from '../settings';
|
3
4
|
declare const dataPoints: {
|
4
5
|
createdLabOrderId: {
|
5
6
|
key: string;
|
6
7
|
valueType: "string";
|
7
8
|
};
|
8
9
|
};
|
9
|
-
export declare const labOrderCreated: Webhook<keyof typeof dataPoints, HealthieWebhookPayload>;
|
10
|
+
export declare const labOrderCreated: Webhook<keyof typeof dataPoints, HealthieWebhookPayload, typeof settings>;
|
10
11
|
export type LabOrderCreated = typeof labOrderCreated;
|
11
12
|
export {};
|
@@ -1,7 +1,22 @@
|
|
1
1
|
"use strict";
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
4
|
+
};
|
2
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
6
|
exports.labOrderCreated = void 0;
|
4
7
|
const lodash_1 = require("lodash");
|
8
|
+
const types_1 = require("../lib/types");
|
9
|
+
const zod_1 = __importDefault(require("zod"));
|
10
|
+
const validatePayloadAndCreateSdk_1 = require("../lib/sdk/validatePayloadAndCreateSdk");
|
11
|
+
const payloadSchema = zod_1.default
|
12
|
+
.object({
|
13
|
+
resource_id: zod_1.default.string(),
|
14
|
+
})
|
15
|
+
.transform((data) => {
|
16
|
+
return {
|
17
|
+
createdLabOrderId: data.resource_id,
|
18
|
+
};
|
19
|
+
});
|
5
20
|
const dataPoints = {
|
6
21
|
createdLabOrderId: {
|
7
22
|
key: 'createdLabOrderId',
|
@@ -12,19 +27,25 @@ exports.labOrderCreated = {
|
|
12
27
|
key: 'labOrderCreated',
|
13
28
|
dataPoints,
|
14
29
|
onWebhookReceived: async ({ payload, settings }, onSuccess, onError) => {
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
}
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
30
|
+
var _a, _b, _c;
|
31
|
+
const { validatedPayload: { createdLabOrderId }, sdk, } = await (0, validatePayloadAndCreateSdk_1.validateWebhookPayloadAndCreateSdk)({
|
32
|
+
payloadSchema,
|
33
|
+
payload,
|
34
|
+
settings,
|
35
|
+
});
|
36
|
+
const response = await sdk.getLabOrder({ id: createdLabOrderId });
|
37
|
+
const healthiePatientId = (_c = (_b = (_a = response === null || response === void 0 ? void 0 : response.data) === null || _a === void 0 ? void 0 : _a.labOrder) === null || _b === void 0 ? void 0 : _b.patient) === null || _c === void 0 ? void 0 : _c.id;
|
38
|
+
await onSuccess({
|
39
|
+
data_points: {
|
40
|
+
createdLabOrderId,
|
41
|
+
},
|
42
|
+
...(!(0, lodash_1.isNil)(healthiePatientId) && {
|
43
|
+
patient_identifier: {
|
44
|
+
system: types_1.HEALTHIE_IDENTIFIER,
|
45
|
+
value: healthiePatientId,
|
25
46
|
},
|
26
|
-
})
|
27
|
-
}
|
47
|
+
}),
|
48
|
+
});
|
28
49
|
},
|
29
50
|
};
|
30
51
|
//# sourceMappingURL=labOrderCreated.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"labOrderCreated.js","sourceRoot":"","sources":["../../../../extensions/healthie/webhooks/labOrderCreated.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"labOrderCreated.js","sourceRoot":"","sources":["../../../../extensions/healthie/webhooks/labOrderCreated.ts"],"names":[],"mappings":";;;;;;AAAA,mCAA8B;AAK9B,wCAA+E;AAC/E,8CAAmB;AACnB,wFAA2F;AAG3F,MAAM,aAAa,GAAG,aAAC;KACpB,MAAM,CAAC;IACN,WAAW,EAAE,aAAC,CAAC,MAAM,EAAE;CACxB,CAAC;KACD,SAAS,CAAC,CAAC,IAAI,EAAE,EAAE;IAClB,OAAO;QACL,iBAAiB,EAAE,IAAI,CAAC,WAAW;KACpC,CAAA;AACH,CAAC,CAAC,CAAA;AAEJ,MAAM,UAAU,GAAG;IACjB,iBAAiB,EAAE;QACjB,GAAG,EAAE,mBAAmB;QACxB,SAAS,EAAE,QAAQ;KACpB;CAC4C,CAAA;AAElC,QAAA,eAAe,GAIxB;IACF,GAAG,EAAE,iBAAiB;IACtB,UAAU;IACV,iBAAiB,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,SAAS,EAAE,OAAO,EAAE,EAAE;;QACrE,MAAM,EACJ,gBAAgB,EAAE,EAAE,iBAAiB,EAAE,EACvC,GAAG,GACJ,GAAG,MAAM,IAAA,gEAAkC,EAAC;YAC3C,aAAa;YACb,OAAO;YACP,QAAQ;SACT,CAAC,CAAA;QACF,MAAM,QAAQ,GAAG,MAAM,GAAG,CAAC,WAAW,CAAC,EAAE,EAAE,EAAE,iBAAiB,EAAE,CAAC,CAAA;QACjE,MAAM,iBAAiB,GAAG,MAAA,MAAA,MAAA,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,IAAI,0CAAE,QAAQ,0CAAE,OAAO,0CAAE,EAAE,CAAA;QAC/D,MAAM,SAAS,CAAC;YACd,WAAW,EAAE;gBACX,iBAAiB;aAClB;YACD,GAAG,CAAC,CAAC,IAAA,cAAK,EAAC,iBAAiB,CAAC,IAAI;gBAC/B,kBAAkB,EAAE;oBAClB,MAAM,EAAE,2BAAmB;oBAC3B,KAAK,EAAE,iBAAiB;iBACzB;aACF,CAAC;SACH,CAAC,CAAA;IACJ,CAAC;CACF,CAAA"}
|
@@ -1,11 +1,12 @@
|
|
1
1
|
import { type Webhook } from '@awell-health/extensions-core';
|
2
2
|
import { type HealthieWebhookPayload } from '../lib/types';
|
3
|
+
import { type settings } from '../settings';
|
3
4
|
declare const dataPoints: {
|
4
5
|
updatedLabOrderId: {
|
5
6
|
key: string;
|
6
7
|
valueType: "string";
|
7
8
|
};
|
8
9
|
};
|
9
|
-
export declare const labOrderUpdated: Webhook<keyof typeof dataPoints, HealthieWebhookPayload>;
|
10
|
+
export declare const labOrderUpdated: Webhook<keyof typeof dataPoints, HealthieWebhookPayload, typeof settings>;
|
10
11
|
export type LabOrderUpdated = typeof labOrderUpdated;
|
11
12
|
export {};
|
@@ -1,7 +1,22 @@
|
|
1
1
|
"use strict";
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
4
|
+
};
|
2
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
6
|
exports.labOrderUpdated = void 0;
|
4
7
|
const lodash_1 = require("lodash");
|
8
|
+
const types_1 = require("../lib/types");
|
9
|
+
const zod_1 = __importDefault(require("zod"));
|
10
|
+
const validatePayloadAndCreateSdk_1 = require("../lib/sdk/validatePayloadAndCreateSdk");
|
11
|
+
const payloadSchema = zod_1.default
|
12
|
+
.object({
|
13
|
+
resource_id: zod_1.default.string(),
|
14
|
+
})
|
15
|
+
.transform((data) => {
|
16
|
+
return {
|
17
|
+
updatedLabOrderId: data.resource_id,
|
18
|
+
};
|
19
|
+
});
|
5
20
|
const dataPoints = {
|
6
21
|
updatedLabOrderId: {
|
7
22
|
key: 'updatedLabOrderId',
|
@@ -12,19 +27,25 @@ exports.labOrderUpdated = {
|
|
12
27
|
key: 'labOrderUpdated',
|
13
28
|
dataPoints,
|
14
29
|
onWebhookReceived: async ({ payload, settings }, onSuccess, onError) => {
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
}
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
30
|
+
var _a, _b, _c;
|
31
|
+
const { validatedPayload: { updatedLabOrderId }, sdk, } = await (0, validatePayloadAndCreateSdk_1.validateWebhookPayloadAndCreateSdk)({
|
32
|
+
payloadSchema,
|
33
|
+
payload,
|
34
|
+
settings,
|
35
|
+
});
|
36
|
+
const response = await sdk.getLabOrder({ id: updatedLabOrderId });
|
37
|
+
const healthiePatientId = (_c = (_b = (_a = response === null || response === void 0 ? void 0 : response.data) === null || _a === void 0 ? void 0 : _a.labOrder) === null || _b === void 0 ? void 0 : _b.patient) === null || _c === void 0 ? void 0 : _c.id;
|
38
|
+
await onSuccess({
|
39
|
+
data_points: {
|
40
|
+
updatedLabOrderId,
|
41
|
+
},
|
42
|
+
...(!(0, lodash_1.isNil)(healthiePatientId) && {
|
43
|
+
patient_identifier: {
|
44
|
+
system: types_1.HEALTHIE_IDENTIFIER,
|
45
|
+
value: healthiePatientId,
|
25
46
|
},
|
26
|
-
})
|
27
|
-
}
|
47
|
+
}),
|
48
|
+
});
|
28
49
|
},
|
29
50
|
};
|
30
51
|
//# sourceMappingURL=labOrderUpdated.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"labOrderUpdated.js","sourceRoot":"","sources":["../../../../extensions/healthie/webhooks/labOrderUpdated.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"labOrderUpdated.js","sourceRoot":"","sources":["../../../../extensions/healthie/webhooks/labOrderUpdated.ts"],"names":[],"mappings":";;;;;;AAAA,mCAA8B;AAK9B,wCAA+E;AAC/E,8CAAmB;AACnB,wFAA2F;AAG3F,MAAM,aAAa,GAAG,aAAC;KACpB,MAAM,CAAC;IACN,WAAW,EAAE,aAAC,CAAC,MAAM,EAAE;CACxB,CAAC;KACD,SAAS,CAAC,CAAC,IAAI,EAAE,EAAE;IAClB,OAAO;QACL,iBAAiB,EAAE,IAAI,CAAC,WAAW;KACpC,CAAA;AACH,CAAC,CAAC,CAAA;AAEJ,MAAM,UAAU,GAAG;IACjB,iBAAiB,EAAE;QACjB,GAAG,EAAE,mBAAmB;QACxB,SAAS,EAAE,QAAQ;KACpB;CAC4C,CAAA;AAElC,QAAA,eAAe,GAIxB;IACF,GAAG,EAAE,iBAAiB;IACtB,UAAU;IACV,iBAAiB,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,SAAS,EAAE,OAAO,EAAE,EAAE;;QACrE,MAAM,EACJ,gBAAgB,EAAE,EAAE,iBAAiB,EAAE,EACvC,GAAG,GACJ,GAAG,MAAM,IAAA,gEAAkC,EAAC;YAC3C,aAAa;YACb,OAAO;YACP,QAAQ;SACT,CAAC,CAAA;QACF,MAAM,QAAQ,GAAG,MAAM,GAAG,CAAC,WAAW,CAAC,EAAE,EAAE,EAAE,iBAAiB,EAAE,CAAC,CAAA;QACjE,MAAM,iBAAiB,GAAG,MAAA,MAAA,MAAA,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,IAAI,0CAAE,QAAQ,0CAAE,OAAO,0CAAE,EAAE,CAAA;QAC/D,MAAM,SAAS,CAAC;YACd,WAAW,EAAE;gBACV,iBAAiB;aAClB;YACF,GAAG,CAAC,CAAC,IAAA,cAAK,EAAC,iBAAiB,CAAC,IAAI;gBAC/B,kBAAkB,EAAE;oBAClB,MAAM,EAAE,2BAAmB;oBAC3B,KAAK,EAAE,iBAAiB;iBACzB;aACF,CAAC;SACH,CAAC,CAAA;IACJ,CAAC;CACF,CAAA"}
|
@@ -1,11 +1,12 @@
|
|
1
1
|
import { type Webhook } from '@awell-health/extensions-core';
|
2
2
|
import { type HealthieWebhookPayload } from '../lib/types';
|
3
|
+
import { type settings } from '../settings';
|
3
4
|
declare const dataPoints: {
|
4
5
|
createdMessageId: {
|
5
6
|
key: string;
|
6
7
|
valueType: "string";
|
7
8
|
};
|
8
9
|
};
|
9
|
-
export declare const messageCreated: Webhook<keyof typeof dataPoints, HealthieWebhookPayload>;
|
10
|
+
export declare const messageCreated: Webhook<keyof typeof dataPoints, HealthieWebhookPayload, typeof settings>;
|
10
11
|
export type MessageCreated = typeof messageCreated;
|
11
12
|
export {};
|