@awell-health/awell-extensions 1.1.43 → 1.1.44
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/extensions/athenahealth/actions/index.d.ts +1 -1
- package/dist/extensions/athenahealth/settings.d.ts +2 -2
- package/dist/extensions/awell/v1/actions/updatePatient/config/fields.d.ts +2 -2
- package/dist/extensions/awell/v1/webhooks/index.d.ts +1 -1
- package/dist/extensions/awell/v1/webhooks/pathwayStart.d.ts +3 -1
- package/dist/extensions/awell/v1/webhooks/pathwayStart.js +13 -3
- package/dist/extensions/awell/v1/webhooks/pathwayStart.js.map +1 -1
- package/dist/extensions/calDotCom/actions/createBooking/config/fields.d.ts +12 -12
- package/dist/extensions/calDotCom/actions/updateBooking/config/fields.d.ts +6 -6
- package/dist/extensions/calDotCom/schema.d.ts +70 -70
- package/dist/extensions/calDotCom/webhooks/index.d.ts +1 -1
- package/dist/extensions/calendly/schema.d.ts +262 -262
- package/dist/extensions/calendly/webhooks/index.d.ts +1 -1
- package/dist/extensions/canvasMedical/v1/actions/createClaim/config/fields.d.ts +2 -2
- package/dist/extensions/canvasMedical/v1/actions/createCoverage/config/fields.d.ts +2 -2
- package/dist/extensions/canvasMedical/v1/actions/createQuestionnaireResponses/config/fields.d.ts +2 -2
- package/dist/extensions/canvasMedical/v1/actions/updateCoverage/config/fields.d.ts +4 -4
- package/dist/extensions/canvasMedical/v1/validation/address.zod.d.ts +4 -4
- package/dist/extensions/canvasMedical/v1/validation/appointment.zod.d.ts +48 -48
- package/dist/extensions/canvasMedical/v1/validation/claim.d.ts +6 -6
- package/dist/extensions/canvasMedical/v1/validation/coding.zod.d.ts +2 -2
- package/dist/extensions/canvasMedical/v1/validation/coverage.zod.d.ts +6 -6
- package/dist/extensions/canvasMedical/v1/validation/identifier.zod.d.ts +8 -8
- package/dist/extensions/canvasMedical/v1/validation/patient.zod.d.ts +148 -148
- package/dist/extensions/canvasMedical/v1/validation/questionnaireResponses.zod.d.ts +30 -30
- package/dist/extensions/canvasMedical/v1/validation/settings.zod.d.ts +4 -4
- package/dist/extensions/canvasMedical/v1/validation/task.zod.d.ts +12 -12
- package/dist/extensions/collectData/v1/actions/remoteSingleSelect/config/fields.d.ts +2 -2
- package/dist/extensions/dockHealth/api/schema/atoms/patientReference.schema.d.ts +2 -2
- package/dist/extensions/dockHealth/api/schema/atoms/taskGroup.schema.d.ts +2 -2
- package/dist/extensions/dockHealth/api/schema/atoms/taskListReference.schema.d.ts +2 -2
- package/dist/extensions/dockHealth/api/schema/atoms/taskReference.schema.d.ts +2 -2
- package/dist/extensions/dockHealth/api/schema/atoms/taskWorkflowStatusReference.schema.d.ts +2 -2
- package/dist/extensions/dockHealth/api/schema/atoms/userReference.schema.d.ts +2 -2
- package/dist/extensions/dockHealth/api/schema/patient.schema.d.ts +10 -10
- package/dist/extensions/dockHealth/api/schema/task.schema.d.ts +77 -77
- package/dist/extensions/dockHealth/lib/dock.types.d.ts +2 -2
- package/dist/extensions/elation/actions/index.d.ts +2 -2
- package/dist/extensions/elation/validation/appointment.zod.d.ts +18 -18
- package/dist/extensions/elation/validation/labOrder.zod.d.ts +2 -2
- package/dist/extensions/elation/validation/nonVisitNote.zod.d.ts +6 -6
- package/dist/extensions/elation/validation/patient.zod.d.ts +116 -116
- package/dist/extensions/elation/validation/physician.zod.d.ts +2 -2
- package/dist/extensions/elation/validation/settings.zod.d.ts +6 -6
- package/dist/extensions/elation/webhooks/index.d.ts +1 -1
- package/dist/extensions/formsort/settings.d.ts +3 -3
- package/dist/extensions/healthie/lib/helpers.d.ts +8 -0
- package/dist/extensions/healthie/lib/helpers.js +6 -1
- package/dist/extensions/healthie/lib/helpers.js.map +1 -1
- package/dist/extensions/healthie/lib/sdk/createSdk.d.ts +10 -0
- package/dist/extensions/healthie/lib/sdk/createSdk.js +17 -0
- package/dist/extensions/healthie/lib/sdk/createSdk.js.map +1 -0
- package/dist/extensions/healthie/lib/sdk/errors.d.ts +1 -0
- package/dist/extensions/healthie/lib/sdk/errors.js +46 -1
- package/dist/extensions/healthie/lib/sdk/errors.js.map +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.js.map +1 -1
- package/dist/extensions/healthie/lib/types.d.ts +2 -1
- package/dist/extensions/healthie/lib/types.js +2 -0
- package/dist/extensions/healthie/lib/types.js.map +1 -1
- package/dist/extensions/healthie/lib/validation/createTask.zod.d.ts +1 -1
- package/dist/extensions/healthie/lib/validation/sendFormCompletionRequest.zod.d.ts +4 -4
- package/dist/extensions/healthie/webhooks/appliedTagCreated.d.ts +2 -1
- package/dist/extensions/healthie/webhooks/appliedTagCreated.js +20 -7
- 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 +20 -7
- 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 +26 -6
- package/dist/extensions/healthie/webhooks/appointmentCreated.js.map +1 -1
- package/dist/extensions/healthie/webhooks/appointmentCreated.test.d.ts +1 -0
- package/dist/extensions/healthie/webhooks/appointmentCreated.test.js +61 -0
- package/dist/extensions/healthie/webhooks/appointmentCreated.test.js.map +1 -0
- package/dist/extensions/healthie/webhooks/appointmentDeleted.d.ts +2 -1
- package/dist/extensions/healthie/webhooks/appointmentDeleted.js +22 -6
- 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 +26 -6
- 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 +27 -7
- 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 +21 -6
- 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 +26 -6
- 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 +26 -6
- package/dist/extensions/healthie/webhooks/formAnswerGroupSigned.js.map +1 -1
- package/dist/extensions/healthie/webhooks/goalCreated.d.ts +3 -2
- package/dist/extensions/healthie/webhooks/goalCreated.js +22 -9
- package/dist/extensions/healthie/webhooks/goalCreated.js.map +1 -1
- package/dist/extensions/healthie/webhooks/goalCreated.test.d.ts +1 -0
- package/dist/extensions/healthie/webhooks/goalCreated.test.js +35 -0
- package/dist/extensions/healthie/webhooks/goalCreated.test.js.map +1 -0
- package/dist/extensions/healthie/webhooks/goalUpdated.d.ts +2 -1
- package/dist/extensions/healthie/webhooks/goalUpdated.js +21 -8
- package/dist/extensions/healthie/webhooks/goalUpdated.js.map +1 -1
- package/dist/extensions/healthie/webhooks/index.d.ts +316 -5
- package/dist/extensions/healthie/webhooks/index.js +0 -8
- package/dist/extensions/healthie/webhooks/index.js.map +1 -1
- package/dist/extensions/healthie/webhooks/labOrderCreated.d.ts +2 -1
- package/dist/extensions/healthie/webhooks/labOrderCreated.js +20 -7
- 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 +20 -7
- 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 +21 -7
- 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 +21 -7
- 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 +20 -7
- 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 +20 -7
- package/dist/extensions/healthie/webhooks/metricEntryUpdated.js.map +1 -1
- package/dist/extensions/healthie/webhooks/patientCreated.js +8 -1
- package/dist/extensions/healthie/webhooks/patientCreated.js.map +1 -1
- package/dist/extensions/healthie/webhooks/patientUpdated.js +8 -1
- 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 +20 -7
- 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 +20 -7
- 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 +20 -7
- 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 +21 -8
- package/dist/extensions/healthie/webhooks/taskUpdated.js.map +1 -1
- package/dist/extensions/hello-world/webhooks/index.d.ts +1 -1
- package/dist/extensions/infobip/v1/actions/sendEmail/config/fields.d.ts +2 -2
- package/dist/extensions/mailgun/settings.d.ts +1 -1
- package/dist/extensions/mailgun/v1/actions/sendEmailWithTemplate/config/fields.d.ts +2 -2
- package/dist/extensions/math/v1/actions/calculateDateDifference/config/fields.d.ts +2 -2
- package/dist/extensions/math/v1/actions/generateRandomNumber/config/fields.d.ts +2 -2
- package/dist/extensions/medplum/actions/createPatient/config/fields.d.ts +4 -4
- package/dist/extensions/medplum/actions/createServiceRequest/config/fields.d.ts +4 -4
- package/dist/extensions/medplum/actions/createTask/config/fields.d.ts +6 -6
- package/dist/extensions/medplum/fhir/schemas/atoms/PeriodSchema.d.ts +2 -2
- package/dist/extensions/medplum/fhir/schemas/resources/patient.schema.d.ts +4 -4
- package/dist/extensions/medplum/fhir/schemas/resources/serviceRequest.schema.d.ts +4 -4
- package/dist/extensions/medplum/fhir/schemas/resources/task.schema.d.ts +6 -6
- package/dist/extensions/metriport/actions/index.d.ts +1 -1
- package/dist/extensions/metriport/actions/patient/validation.d.ts +4 -4
- package/dist/extensions/stripe/actions/createCustomer/config/fields.d.ts +2 -2
- package/dist/extensions/stripe/actions/embeddedCheckout/config/fields.d.ts +2 -2
- package/dist/extensions/talkDesk/settings.d.ts +1 -1
- package/dist/extensions/textline/client/schema.d.ts +10 -10
- package/dist/extensions/westFax/actions/sendFax/sendFax.test.js +13 -3
- package/dist/extensions/westFax/actions/sendFax/sendFax.test.js.map +1 -1
- package/dist/extensions/westFax/settings.d.ts +2 -2
- package/dist/extensions/zendesk/v1/actions/createTask/config/fields.d.ts +2 -2
- package/dist/extensions/zusHealth/validation/settings.zod.d.ts +6 -6
- 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
- package/dist/extensions/healthie/webhooks/goalDeleted.d.ts +0 -11
- package/dist/extensions/healthie/webhooks/goalDeleted.js +0 -30
- package/dist/extensions/healthie/webhooks/goalDeleted.js.map +0 -1
- package/dist/extensions/healthie/webhooks/metricEntryDeleted.d.ts +0 -11
- package/dist/extensions/healthie/webhooks/metricEntryDeleted.js +0 -30
- package/dist/extensions/healthie/webhooks/metricEntryDeleted.js.map +0 -1
- package/dist/extensions/healthie/webhooks/requestedFormCompletionDeleted.d.ts +0 -11
- package/dist/extensions/healthie/webhooks/requestedFormCompletionDeleted.js +0 -30
- package/dist/extensions/healthie/webhooks/requestedFormCompletionDeleted.js.map +0 -1
- package/dist/extensions/healthie/webhooks/taskDeleted.d.ts +0 -11
- package/dist/extensions/healthie/webhooks/taskDeleted.js +0 -30
- package/dist/extensions/healthie/webhooks/taskDeleted.js.map +0 -1
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"taskUpdated.js","sourceRoot":"","sources":["../../../../extensions/healthie/webhooks/taskUpdated.ts"],"names":[],"mappings":";;;AAAA,mCAA8B;
|
1
|
+
{"version":3,"file":"taskUpdated.js","sourceRoot":"","sources":["../../../../extensions/healthie/webhooks/taskUpdated.ts"],"names":[],"mappings":";;;AAAA,mCAA8B;AAK9B,wCAA+E;AAE/E,oDAAgD;AAChD,8CAA+C;AAC/C,4CAAqD;AAErD,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,IAAI;YACF,MAAM,EAAE,GAAG,EAAE,GAAG,MAAM,IAAA,qBAAS,EAAC,EAAE,QAAQ,EAAE,CAAC,CAAA;YAE7C,MAAM,gBAAgB,GAAG,8BAAoB,CAAC,KAAK,CAAC,OAAO,CAAC,CAAA;YAC5D,MAAM,aAAa,GAAG,gBAAgB,CAAC,WAAW,CAAC,QAAQ,EAAE,CAAA;YAE7D,MAAM,QAAQ,GAAG,MAAM,GAAG,CAAC,OAAO,CAAC,EAAE,EAAE,EAAE,aAAa,EAAE,CAAC,CAAA;YACzD,MAAM,iBAAiB,GAAG,MAAA,MAAA,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,IAAI,0CAAE,IAAI,0CAAE,SAAS,CAAA;YACzD,MAAM,SAAS,CAAC;gBACd,WAAW,EAAE;oBACX,aAAa;iBACd;gBACD,GAAG,CAAC,CAAC,IAAA,cAAK,EAAC,iBAAiB,CAAC,IAAI;oBAC/B,kBAAkB,EAAE;wBAClB,MAAM,EAAE,2BAAmB;wBAC3B,KAAK,EAAE,iBAAiB;qBACzB;iBACF,CAAC;aACH,CAAC,CAAA;SACH;QAAC,OAAO,KAAK,EAAE;YACd,MAAM,OAAO,CAAC,IAAA,oBAAW,EAAC,KAAK,CAAC,CAAC,CAAA;SAClC;IACH,CAAC;CACF,CAAA"}
|
@@ -1 +1 @@
|
|
1
|
-
export declare const webhooks: import("@awell-health/extensions-core").Webhook<"hello" | "eventType", import("./demo").Payload
|
1
|
+
export declare const webhooks: import("@awell-health/extensions-core").Webhook<"hello" | "eventType", import("./demo").Payload, Record<string, import("@awell-health/extensions-core").Setting>>[];
|
@@ -36,13 +36,13 @@ export declare const FieldsValidationSchema: z.ZodObject<{
|
|
36
36
|
subject: z.ZodString;
|
37
37
|
content: z.ZodString;
|
38
38
|
}, "strip", z.ZodTypeAny, {
|
39
|
-
content: string;
|
40
39
|
subject: string;
|
40
|
+
content: string;
|
41
41
|
to: string;
|
42
42
|
from?: string | undefined;
|
43
43
|
}, {
|
44
|
-
content: string;
|
45
44
|
subject: string;
|
45
|
+
content: string;
|
46
46
|
to: string;
|
47
47
|
from?: string | undefined;
|
48
48
|
}>;
|
@@ -63,7 +63,7 @@ export declare const SettingsValidationSchema: z.ZodObject<{
|
|
63
63
|
fromName: string;
|
64
64
|
fromEmail: string;
|
65
65
|
domain: string;
|
66
|
-
region?: "US" | "EU" | "eu" | "us" | undefined;
|
67
66
|
testMode?: "Yes" | "No" | "yes" | "no" | undefined;
|
67
|
+
region?: "US" | "EU" | "eu" | "us" | undefined;
|
68
68
|
}>;
|
69
69
|
export declare const validateSettings: (settings: unknown) => z.infer<typeof SettingsValidationSchema>;
|
@@ -42,16 +42,16 @@ export declare const FieldsValidationSchema: z.ZodObject<{
|
|
42
42
|
[key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null;
|
43
43
|
} | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null, string | undefined>;
|
44
44
|
}, "strip", z.ZodTypeAny, {
|
45
|
-
template: string;
|
46
45
|
subject: string;
|
47
46
|
to: string;
|
47
|
+
template: string;
|
48
48
|
variables: string | number | boolean | {
|
49
49
|
[key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null;
|
50
50
|
} | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null;
|
51
51
|
}, {
|
52
|
-
template: string;
|
53
52
|
subject: string;
|
54
53
|
to: string;
|
54
|
+
template: string;
|
55
55
|
variables?: string | undefined;
|
56
56
|
}>;
|
57
57
|
export declare const validateActionFields: (fields: unknown) => z.infer<typeof FieldsValidationSchema>;
|
@@ -28,11 +28,11 @@ export declare const FieldsValidationSchema: z.ZodObject<{
|
|
28
28
|
dateRight: z.ZodDate;
|
29
29
|
unit: z.ZodEnum<["seconds", "minutes", "hours", "days", "weeks", "months", "years"]>;
|
30
30
|
}, "strip", z.ZodTypeAny, {
|
31
|
-
unit: "years" | "months" | "weeks" | "days" | "hours" | "minutes" | "seconds";
|
32
31
|
dateLeft: Date;
|
33
32
|
dateRight: Date;
|
33
|
+
unit: "seconds" | "minutes" | "hours" | "days" | "weeks" | "months" | "years";
|
34
34
|
}, {
|
35
|
-
unit: "years" | "months" | "weeks" | "days" | "hours" | "minutes" | "seconds";
|
36
35
|
dateLeft: Date;
|
37
36
|
dateRight: Date;
|
37
|
+
unit: "seconds" | "minutes" | "hours" | "days" | "weeks" | "months" | "years";
|
38
38
|
}>;
|
@@ -93,7 +93,6 @@ export declare const FieldsValidationSchema: ZodObject<{
|
|
93
93
|
country: import("zod").ZodOptional<import("zod").ZodString>;
|
94
94
|
postalCode: import("zod").ZodOptional<import("zod").ZodString>;
|
95
95
|
}, "strip", ZodTypeAny, {
|
96
|
-
state?: string | undefined;
|
97
96
|
address?: string | undefined;
|
98
97
|
email?: string | undefined;
|
99
98
|
firstName?: string | undefined;
|
@@ -102,10 +101,10 @@ export declare const FieldsValidationSchema: ZodObject<{
|
|
102
101
|
mobilePhone?: import("libphonenumber-js").E164Number | undefined;
|
103
102
|
city?: string | undefined;
|
104
103
|
country?: string | undefined;
|
104
|
+
state?: string | undefined;
|
105
105
|
postalCode?: string | undefined;
|
106
|
-
gender?: "unknown" | "
|
106
|
+
gender?: "unknown" | "male" | "female" | "other" | undefined;
|
107
107
|
}, {
|
108
|
-
state?: string | undefined;
|
109
108
|
address?: string | undefined;
|
110
109
|
email?: string | undefined;
|
111
110
|
firstName?: string | undefined;
|
@@ -114,6 +113,7 @@ export declare const FieldsValidationSchema: ZodObject<{
|
|
114
113
|
mobilePhone?: string | undefined;
|
115
114
|
city?: string | undefined;
|
116
115
|
country?: string | undefined;
|
116
|
+
state?: string | undefined;
|
117
117
|
postalCode?: string | undefined;
|
118
|
-
gender?: "unknown" | "
|
118
|
+
gender?: "unknown" | "male" | "female" | "other" | undefined;
|
119
119
|
}>;
|
@@ -36,13 +36,13 @@ export declare const FieldsValidationSchema: ZodObject<{
|
|
36
36
|
intent: import("zod").ZodUnion<[import("zod").ZodLiteral<"proposal">, import("zod").ZodLiteral<"plan">, import("zod").ZodLiteral<"directive">, import("zod").ZodLiteral<"order">, import("zod").ZodLiteral<"original-order">, import("zod").ZodLiteral<"reflex-order">, import("zod").ZodLiteral<"filler-order">, import("zod").ZodLiteral<"instance-order">, import("zod").ZodLiteral<"option">]>;
|
37
37
|
priority: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"routine">, import("zod").ZodLiteral<"urgent">, import("zod").ZodLiteral<"asap">, import("zod").ZodLiteral<"stat">]>>;
|
38
38
|
}, "strip", ZodTypeAny, {
|
39
|
-
status: "
|
39
|
+
status: "unknown" | "active" | "draft" | "on-hold" | "completed" | "entered-in-error" | "revoked";
|
40
40
|
patientId: string;
|
41
|
-
intent: "order" | "
|
41
|
+
intent: "order" | "plan" | "proposal" | "directive" | "original-order" | "reflex-order" | "filler-order" | "instance-order" | "option";
|
42
42
|
priority?: "routine" | "urgent" | "asap" | "stat" | undefined;
|
43
43
|
}, {
|
44
|
-
status: "
|
44
|
+
status: "unknown" | "active" | "draft" | "on-hold" | "completed" | "entered-in-error" | "revoked";
|
45
45
|
patientId: string;
|
46
|
-
intent: "order" | "
|
46
|
+
intent: "order" | "plan" | "proposal" | "directive" | "original-order" | "reflex-order" | "filler-order" | "instance-order" | "option";
|
47
47
|
priority?: "routine" | "urgent" | "asap" | "stat" | undefined;
|
48
48
|
}>;
|
@@ -68,21 +68,21 @@ export declare const FieldsValidationSchema: ZodObject<{
|
|
68
68
|
dueDate: import("zod").ZodUnion<[import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodDate, string, Date>>, import("zod").ZodEffects<import("zod").ZodLiteral<"">, undefined, "">]>;
|
69
69
|
performerType: import("zod").ZodOptional<import("zod").ZodString>;
|
70
70
|
}, "strip", ZodTypeAny, {
|
71
|
-
status: "
|
71
|
+
status: "received" | "accepted" | "draft" | "requested" | "rejected" | "ready" | "cancelled" | "in-progress" | "on-hold" | "failed" | "completed" | "entered-in-error";
|
72
72
|
patientId: string;
|
73
|
-
intent: "
|
73
|
+
intent: "unknown" | "order" | "plan" | "proposal" | "original-order" | "reflex-order" | "filler-order" | "instance-order" | "option";
|
74
74
|
taskTitle: string;
|
75
|
-
priority?: "routine" | "urgent" | "asap" | "stat" | undefined;
|
76
75
|
description?: string | undefined;
|
76
|
+
priority?: "routine" | "urgent" | "asap" | "stat" | undefined;
|
77
77
|
dueDate?: string | undefined;
|
78
78
|
performerType?: string | undefined;
|
79
79
|
}, {
|
80
|
-
status: "
|
80
|
+
status: "received" | "accepted" | "draft" | "requested" | "rejected" | "ready" | "cancelled" | "in-progress" | "on-hold" | "failed" | "completed" | "entered-in-error";
|
81
81
|
patientId: string;
|
82
|
-
intent: "
|
82
|
+
intent: "unknown" | "order" | "plan" | "proposal" | "original-order" | "reflex-order" | "filler-order" | "instance-order" | "option";
|
83
83
|
taskTitle: string;
|
84
|
-
priority?: "routine" | "urgent" | "asap" | "stat" | undefined;
|
85
84
|
description?: string | undefined;
|
85
|
+
priority?: "routine" | "urgent" | "asap" | "stat" | undefined;
|
86
86
|
dueDate?: "" | Date | undefined;
|
87
87
|
performerType?: string | undefined;
|
88
88
|
}>;
|
@@ -5,10 +5,10 @@ export declare const PeriodSchema: z.ZodObject<{
|
|
5
5
|
end: z.ZodOptional<z.ZodString>;
|
6
6
|
}, "strip", z.ZodTypeAny, {
|
7
7
|
id?: string | undefined;
|
8
|
-
end?: string | undefined;
|
9
8
|
start?: string | undefined;
|
9
|
+
end?: string | undefined;
|
10
10
|
}, {
|
11
11
|
id?: string | undefined;
|
12
|
-
end?: string | undefined;
|
13
12
|
start?: string | undefined;
|
13
|
+
end?: string | undefined;
|
14
14
|
}>;
|
@@ -12,7 +12,6 @@ export declare const PatientSchema: z.ZodObject<{
|
|
12
12
|
country: z.ZodOptional<z.ZodString>;
|
13
13
|
postalCode: z.ZodOptional<z.ZodString>;
|
14
14
|
}, "strip", z.ZodTypeAny, {
|
15
|
-
state?: string | undefined;
|
16
15
|
address?: string | undefined;
|
17
16
|
email?: string | undefined;
|
18
17
|
firstName?: string | undefined;
|
@@ -21,10 +20,10 @@ export declare const PatientSchema: z.ZodObject<{
|
|
21
20
|
mobilePhone?: import("libphonenumber-js").E164Number | undefined;
|
22
21
|
city?: string | undefined;
|
23
22
|
country?: string | undefined;
|
23
|
+
state?: string | undefined;
|
24
24
|
postalCode?: string | undefined;
|
25
|
-
gender?: "unknown" | "
|
25
|
+
gender?: "unknown" | "male" | "female" | "other" | undefined;
|
26
26
|
}, {
|
27
|
-
state?: string | undefined;
|
28
27
|
address?: string | undefined;
|
29
28
|
email?: string | undefined;
|
30
29
|
firstName?: string | undefined;
|
@@ -33,6 +32,7 @@ export declare const PatientSchema: z.ZodObject<{
|
|
33
32
|
mobilePhone?: string | undefined;
|
34
33
|
city?: string | undefined;
|
35
34
|
country?: string | undefined;
|
35
|
+
state?: string | undefined;
|
36
36
|
postalCode?: string | undefined;
|
37
|
-
gender?: "unknown" | "
|
37
|
+
gender?: "unknown" | "male" | "female" | "other" | undefined;
|
38
38
|
}>;
|
@@ -5,13 +5,13 @@ export declare const CreateServiceRequestSchema: z.ZodObject<{
|
|
5
5
|
intent: z.ZodUnion<[z.ZodLiteral<"proposal">, z.ZodLiteral<"plan">, z.ZodLiteral<"directive">, z.ZodLiteral<"order">, z.ZodLiteral<"original-order">, z.ZodLiteral<"reflex-order">, z.ZodLiteral<"filler-order">, z.ZodLiteral<"instance-order">, z.ZodLiteral<"option">]>;
|
6
6
|
priority: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"routine">, z.ZodLiteral<"urgent">, z.ZodLiteral<"asap">, z.ZodLiteral<"stat">]>>;
|
7
7
|
}, "strip", z.ZodTypeAny, {
|
8
|
-
status: "
|
8
|
+
status: "unknown" | "active" | "draft" | "on-hold" | "completed" | "entered-in-error" | "revoked";
|
9
9
|
patientId: string;
|
10
|
-
intent: "order" | "
|
10
|
+
intent: "order" | "plan" | "proposal" | "directive" | "original-order" | "reflex-order" | "filler-order" | "instance-order" | "option";
|
11
11
|
priority?: "routine" | "urgent" | "asap" | "stat" | undefined;
|
12
12
|
}, {
|
13
|
-
status: "
|
13
|
+
status: "unknown" | "active" | "draft" | "on-hold" | "completed" | "entered-in-error" | "revoked";
|
14
14
|
patientId: string;
|
15
|
-
intent: "order" | "
|
15
|
+
intent: "order" | "plan" | "proposal" | "directive" | "original-order" | "reflex-order" | "filler-order" | "instance-order" | "option";
|
16
16
|
priority?: "routine" | "urgent" | "asap" | "stat" | undefined;
|
17
17
|
}>;
|
@@ -9,21 +9,21 @@ export declare const CreateTaskSchema: z.ZodObject<{
|
|
9
9
|
dueDate: z.ZodUnion<[z.ZodOptional<z.ZodEffects<z.ZodDate, string, Date>>, z.ZodEffects<z.ZodLiteral<"">, undefined, "">]>;
|
10
10
|
performerType: z.ZodOptional<z.ZodString>;
|
11
11
|
}, "strip", z.ZodTypeAny, {
|
12
|
-
status: "
|
12
|
+
status: "received" | "accepted" | "draft" | "requested" | "rejected" | "ready" | "cancelled" | "in-progress" | "on-hold" | "failed" | "completed" | "entered-in-error";
|
13
13
|
patientId: string;
|
14
|
-
intent: "
|
14
|
+
intent: "unknown" | "order" | "plan" | "proposal" | "original-order" | "reflex-order" | "filler-order" | "instance-order" | "option";
|
15
15
|
taskTitle: string;
|
16
|
-
priority?: "routine" | "urgent" | "asap" | "stat" | undefined;
|
17
16
|
description?: string | undefined;
|
17
|
+
priority?: "routine" | "urgent" | "asap" | "stat" | undefined;
|
18
18
|
dueDate?: string | undefined;
|
19
19
|
performerType?: string | undefined;
|
20
20
|
}, {
|
21
|
-
status: "
|
21
|
+
status: "received" | "accepted" | "draft" | "requested" | "rejected" | "ready" | "cancelled" | "in-progress" | "on-hold" | "failed" | "completed" | "entered-in-error";
|
22
22
|
patientId: string;
|
23
|
-
intent: "
|
23
|
+
intent: "unknown" | "order" | "plan" | "proposal" | "original-order" | "reflex-order" | "filler-order" | "instance-order" | "option";
|
24
24
|
taskTitle: string;
|
25
|
-
priority?: "routine" | "urgent" | "asap" | "stat" | undefined;
|
26
25
|
description?: string | undefined;
|
26
|
+
priority?: "routine" | "urgent" | "asap" | "stat" | undefined;
|
27
27
|
dueDate?: "" | Date | undefined;
|
28
28
|
performerType?: string | undefined;
|
29
29
|
}>;
|
@@ -22,7 +22,7 @@ export declare const actions: {
|
|
22
22
|
description: string;
|
23
23
|
required: false;
|
24
24
|
};
|
25
|
-
}, "
|
25
|
+
}, "email" | "phone" | "firstName" | "lastName" | "city" | "country" | "state" | "zip" | "dob" | "addressLine1" | "addressLine2" | "genderAtBirth" | "driversLicenseValue" | "driversLicenseState">;
|
26
26
|
createPatient: import("@awell-health/extensions-core").Action<{
|
27
27
|
phone: {
|
28
28
|
id: string;
|
@@ -22,10 +22,10 @@ export declare const patientCreateSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
22
22
|
zip: string;
|
23
23
|
dob: string;
|
24
24
|
genderAtBirth: "M" | "F";
|
25
|
-
state?: string | undefined;
|
26
25
|
email?: string | undefined;
|
27
26
|
phone?: string | undefined;
|
28
27
|
city?: string | undefined;
|
28
|
+
state?: string | undefined;
|
29
29
|
addressLine1?: string | undefined;
|
30
30
|
addressLine2?: string | undefined;
|
31
31
|
driversLicenseValue?: string | undefined;
|
@@ -36,11 +36,11 @@ export declare const patientCreateSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
36
36
|
zip: string;
|
37
37
|
dob: string;
|
38
38
|
genderAtBirth: "M" | "F";
|
39
|
-
state?: string | undefined;
|
40
39
|
email?: string | undefined;
|
41
40
|
phone?: string | undefined;
|
42
41
|
city?: string | undefined;
|
43
42
|
country?: string | undefined;
|
43
|
+
state?: string | undefined;
|
44
44
|
addressLine1?: string | undefined;
|
45
45
|
addressLine2?: string | undefined;
|
46
46
|
driversLicenseValue?: string | undefined;
|
@@ -73,10 +73,10 @@ export declare const patientUpdateSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
73
73
|
zip: string;
|
74
74
|
dob: string;
|
75
75
|
genderAtBirth: "M" | "F";
|
76
|
-
state?: string | undefined;
|
77
76
|
email?: string | undefined;
|
78
77
|
phone?: string | undefined;
|
79
78
|
city?: string | undefined;
|
79
|
+
state?: string | undefined;
|
80
80
|
addressLine1?: string | undefined;
|
81
81
|
addressLine2?: string | undefined;
|
82
82
|
driversLicenseValue?: string | undefined;
|
@@ -88,11 +88,11 @@ export declare const patientUpdateSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
88
88
|
zip: string;
|
89
89
|
dob: string;
|
90
90
|
genderAtBirth: "M" | "F";
|
91
|
-
state?: string | undefined;
|
92
91
|
email?: string | undefined;
|
93
92
|
phone?: string | undefined;
|
94
93
|
city?: string | undefined;
|
95
94
|
country?: string | undefined;
|
95
|
+
state?: string | undefined;
|
96
96
|
addressLine1?: string | undefined;
|
97
97
|
addressLine2?: string | undefined;
|
98
98
|
driversLicenseValue?: string | undefined;
|
@@ -20,9 +20,9 @@ export declare const FieldsValidationSchema: z.ZodObject<{
|
|
20
20
|
email: z.ZodOptional<z.ZodString>;
|
21
21
|
name: z.ZodOptional<z.ZodString>;
|
22
22
|
}, "strip", z.ZodTypeAny, {
|
23
|
-
name?: string | undefined;
|
24
23
|
email?: string | undefined;
|
25
|
-
}, {
|
26
24
|
name?: string | undefined;
|
25
|
+
}, {
|
27
26
|
email?: string | undefined;
|
27
|
+
name?: string | undefined;
|
28
28
|
}>;
|
@@ -20,9 +20,9 @@ export declare const FieldsValidationSchema: z.ZodObject<{
|
|
20
20
|
mode: z.ZodPipeline<z.ZodString, z.ZodEnum<["payment", "setup", "subscription"]>>;
|
21
21
|
item: z.ZodString;
|
22
22
|
}, "strip", z.ZodTypeAny, {
|
23
|
+
mode: "payment" | "setup" | "subscription";
|
23
24
|
item: string;
|
24
|
-
mode: "setup" | "subscription" | "payment";
|
25
25
|
}, {
|
26
|
-
item: string;
|
27
26
|
mode: string;
|
27
|
+
item: string;
|
28
28
|
}>;
|
@@ -35,8 +35,8 @@ export declare const SettingsValidationSchema: z.ZodObject<{
|
|
35
35
|
clientId: z.ZodString;
|
36
36
|
clientSecret: z.ZodString;
|
37
37
|
}, "strip", z.ZodTypeAny, {
|
38
|
-
region: "US" | "EU" | "Canada";
|
39
38
|
clientId: string;
|
39
|
+
region: "US" | "EU" | "Canada";
|
40
40
|
talkDeskAccountName: string;
|
41
41
|
clientSecret: string;
|
42
42
|
}, {
|
@@ -19,7 +19,6 @@ declare const PostSchema: z.ZodObject<{
|
|
19
19
|
uuid: z.ZodString;
|
20
20
|
}, "strip", z.ZodTypeAny, {
|
21
21
|
body: string;
|
22
|
-
uuid: string;
|
23
22
|
created_at: number;
|
24
23
|
creator: {
|
25
24
|
type: string;
|
@@ -27,9 +26,9 @@ declare const PostSchema: z.ZodObject<{
|
|
27
26
|
phone_number?: string | undefined;
|
28
27
|
};
|
29
28
|
conversation_uuid: string;
|
29
|
+
uuid: string;
|
30
30
|
}, {
|
31
31
|
body: string;
|
32
|
-
uuid: string;
|
33
32
|
created_at: number;
|
34
33
|
creator: {
|
35
34
|
type: string;
|
@@ -37,6 +36,7 @@ declare const PostSchema: z.ZodObject<{
|
|
37
36
|
phone_number?: string | undefined;
|
38
37
|
};
|
39
38
|
conversation_uuid: string;
|
39
|
+
uuid: string;
|
40
40
|
}>;
|
41
41
|
export declare const GetMessagesSchema: z.ZodObject<{
|
42
42
|
posts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
@@ -59,7 +59,6 @@ export declare const GetMessagesSchema: z.ZodObject<{
|
|
59
59
|
uuid: z.ZodString;
|
60
60
|
}, "strip", z.ZodTypeAny, {
|
61
61
|
body: string;
|
62
|
-
uuid: string;
|
63
62
|
created_at: number;
|
64
63
|
creator: {
|
65
64
|
type: string;
|
@@ -67,9 +66,9 @@ export declare const GetMessagesSchema: z.ZodObject<{
|
|
67
66
|
phone_number?: string | undefined;
|
68
67
|
};
|
69
68
|
conversation_uuid: string;
|
69
|
+
uuid: string;
|
70
70
|
}, {
|
71
71
|
body: string;
|
72
|
-
uuid: string;
|
73
72
|
created_at: number;
|
74
73
|
creator: {
|
75
74
|
type: string;
|
@@ -77,11 +76,11 @@ export declare const GetMessagesSchema: z.ZodObject<{
|
|
77
76
|
phone_number?: string | undefined;
|
78
77
|
};
|
79
78
|
conversation_uuid: string;
|
79
|
+
uuid: string;
|
80
80
|
}>, "many">>;
|
81
81
|
}, "strip", z.ZodTypeAny, {
|
82
82
|
posts?: {
|
83
83
|
body: string;
|
84
|
-
uuid: string;
|
85
84
|
created_at: number;
|
86
85
|
creator: {
|
87
86
|
type: string;
|
@@ -89,11 +88,11 @@ export declare const GetMessagesSchema: z.ZodObject<{
|
|
89
88
|
phone_number?: string | undefined;
|
90
89
|
};
|
91
90
|
conversation_uuid: string;
|
91
|
+
uuid: string;
|
92
92
|
}[] | undefined;
|
93
93
|
}, {
|
94
94
|
posts?: {
|
95
95
|
body: string;
|
96
|
-
uuid: string;
|
97
96
|
created_at: number;
|
98
97
|
creator: {
|
99
98
|
type: string;
|
@@ -101,6 +100,7 @@ export declare const GetMessagesSchema: z.ZodObject<{
|
|
101
100
|
phone_number?: string | undefined;
|
102
101
|
};
|
103
102
|
conversation_uuid: string;
|
103
|
+
uuid: string;
|
104
104
|
}[] | undefined;
|
105
105
|
}>;
|
106
106
|
declare const SendMessageResponseSchema: z.ZodObject<{
|
@@ -124,7 +124,6 @@ declare const SendMessageResponseSchema: z.ZodObject<{
|
|
124
124
|
uuid: z.ZodString;
|
125
125
|
}, "strip", z.ZodTypeAny, {
|
126
126
|
body: string;
|
127
|
-
uuid: string;
|
128
127
|
created_at: number;
|
129
128
|
creator: {
|
130
129
|
type: string;
|
@@ -132,9 +131,9 @@ declare const SendMessageResponseSchema: z.ZodObject<{
|
|
132
131
|
phone_number?: string | undefined;
|
133
132
|
};
|
134
133
|
conversation_uuid: string;
|
134
|
+
uuid: string;
|
135
135
|
}, {
|
136
136
|
body: string;
|
137
|
-
uuid: string;
|
138
137
|
created_at: number;
|
139
138
|
creator: {
|
140
139
|
type: string;
|
@@ -142,11 +141,11 @@ declare const SendMessageResponseSchema: z.ZodObject<{
|
|
142
141
|
phone_number?: string | undefined;
|
143
142
|
};
|
144
143
|
conversation_uuid: string;
|
144
|
+
uuid: string;
|
145
145
|
}>;
|
146
146
|
}, "strip", z.ZodTypeAny, {
|
147
147
|
post: {
|
148
148
|
body: string;
|
149
|
-
uuid: string;
|
150
149
|
created_at: number;
|
151
150
|
creator: {
|
152
151
|
type: string;
|
@@ -154,11 +153,11 @@ declare const SendMessageResponseSchema: z.ZodObject<{
|
|
154
153
|
phone_number?: string | undefined;
|
155
154
|
};
|
156
155
|
conversation_uuid: string;
|
156
|
+
uuid: string;
|
157
157
|
};
|
158
158
|
}, {
|
159
159
|
post: {
|
160
160
|
body: string;
|
161
|
-
uuid: string;
|
162
161
|
created_at: number;
|
163
162
|
creator: {
|
164
163
|
type: string;
|
@@ -166,6 +165,7 @@ declare const SendMessageResponseSchema: z.ZodObject<{
|
|
166
165
|
phone_number?: string | undefined;
|
167
166
|
};
|
168
167
|
conversation_uuid: string;
|
168
|
+
uuid: string;
|
169
169
|
};
|
170
170
|
}>;
|
171
171
|
export type SendMessageResponse = z.infer<typeof SendMessageResponseSchema>;
|
@@ -1,11 +1,17 @@
|
|
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
|
const tests_1 = require("../../../../src/tests");
|
4
7
|
const sendFax_1 = require("./sendFax");
|
8
|
+
const jest_fetch_mock_1 = __importDefault(require("jest-fetch-mock"));
|
5
9
|
describe('send fax action', () => {
|
6
10
|
const onComplete = jest.fn();
|
7
11
|
const onError = jest.fn();
|
8
|
-
|
12
|
+
jest_fetch_mock_1.default.enableMocks();
|
13
|
+
jest_fetch_mock_1.default.mockResponseOnce(JSON.stringify({ Success: true, Result: 'asdf' }));
|
14
|
+
test('Mock send a fax - success', async () => {
|
9
15
|
await sendFax_1.sendFax.onActivityCreated((0, tests_1.generateTestPayload)({
|
10
16
|
fields: {
|
11
17
|
productId: 'wrongproductid',
|
@@ -22,8 +28,12 @@ describe('send fax action', () => {
|
|
22
28
|
faceSheetUrl: '',
|
23
29
|
},
|
24
30
|
}), onComplete, onError);
|
25
|
-
expect(onComplete).
|
26
|
-
|
31
|
+
expect(onComplete).toHaveBeenCalledWith({
|
32
|
+
data_points: {
|
33
|
+
faxId: 'asdf',
|
34
|
+
},
|
35
|
+
});
|
36
|
+
expect(onError).not.toHaveBeenCalled();
|
27
37
|
});
|
28
38
|
});
|
29
39
|
//# sourceMappingURL=sendFax.test.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"sendFax.test.js","sourceRoot":"","sources":["../../../../../extensions/westFax/actions/sendFax/sendFax.test.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"sendFax.test.js","sourceRoot":"","sources":["../../../../../extensions/westFax/actions/sendFax/sendFax.test.ts"],"names":[],"mappings":";;;;;AAAA,iDAA2D;AAC3D,uCAAmC;AACnC,sEAAuC;AAEvC,QAAQ,CAAC,iBAAiB,EAAE,GAAG,EAAE;IAC/B,MAAM,UAAU,GAAG,IAAI,CAAC,EAAE,EAAE,CAAA;IAC5B,MAAM,OAAO,GAAG,IAAI,CAAC,EAAE,EAAE,CAAA;IACzB,yBAAS,CAAC,WAAW,EAAE,CAAA;IAEvB,yBAAS,CAAC,gBAAgB,CAAC,IAAI,CAAC,SAAS,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC,CAAC,CAAA;IAC7E,IAAI,CAAC,2BAA2B,EAAE,KAAK,IAAI,EAAE;QAC3C,MAAM,iBAAO,CAAC,iBAAiB,CAC7B,IAAA,2BAAmB,EAAC;YAClB,MAAM,EAAE;gBACN,SAAS,EAAE,gBAAgB;gBAC3B,MAAM,EAAE,cAAc;gBACtB,OAAO,EAAE;;WAER;gBACD,aAAa,EAAE,SAAS;gBACxB,YAAY,EAAE,KAAK;aACpB;YACD,QAAQ,EAAE;gBACR,QAAQ,EAAE,KAAK;gBACf,QAAQ,EAAE,eAAe;gBACzB,YAAY,EAAE,EAAE;aACjB;SACF,CAAC,EACF,UAAU,EACV,OAAO,CACR,CAAA;QAED,MAAM,CAAC,UAAU,CAAC,CAAC,oBAAoB,CAAC;YACtC,WAAW,EAAE;gBACX,KAAK,EAAE,MAAM;aACd;SACF,CAAC,CAAA;QACF,MAAM,CAAC,OAAO,CAAC,CAAC,GAAG,CAAC,gBAAgB,EAAE,CAAA;IACxC,CAAC,CAAC,CAAA;AACJ,CAAC,CAAC,CAAA"}
|
@@ -27,11 +27,11 @@ export declare const SettingsValidationSchema: z.ZodObject<{
|
|
27
27
|
password: z.ZodString;
|
28
28
|
faceSheetUrl: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
|
29
29
|
}, "strip", z.ZodTypeAny, {
|
30
|
-
password: string;
|
31
30
|
username: string;
|
31
|
+
password: string;
|
32
32
|
faceSheetUrl?: string | undefined;
|
33
33
|
}, {
|
34
|
-
password: string;
|
35
34
|
username: string;
|
35
|
+
password: string;
|
36
36
|
faceSheetUrl?: string | undefined;
|
37
37
|
}>;
|
@@ -63,16 +63,16 @@ export declare const FieldsValidationSchema: z.ZodObject<{
|
|
63
63
|
remindAt: z.ZodUnion<[z.ZodOptional<z.ZodEffects<z.ZodDate, string, Date>>, z.ZodEffects<z.ZodLiteral<"">, undefined, "">]>;
|
64
64
|
}, "strip", z.ZodTypeAny, {
|
65
65
|
content: string;
|
66
|
-
completed?: boolean | undefined;
|
67
66
|
resourceType?: ResourceType | undefined;
|
67
|
+
completed?: boolean | undefined;
|
68
68
|
dueDate?: string | undefined;
|
69
69
|
ownerId?: number | undefined;
|
70
70
|
resourceId?: number | undefined;
|
71
71
|
remindAt?: string | undefined;
|
72
72
|
}, {
|
73
73
|
content: string;
|
74
|
-
completed?: boolean | undefined;
|
75
74
|
resourceType?: "" | ResourceType | undefined;
|
75
|
+
completed?: boolean | undefined;
|
76
76
|
dueDate?: "" | Date | undefined;
|
77
77
|
ownerId?: number | "" | undefined;
|
78
78
|
resourceId?: number | "" | undefined;
|
@@ -6,15 +6,15 @@ export declare const settingsSchema: z.ZodObject<{
|
|
6
6
|
client_secret: z.ZodString;
|
7
7
|
audience: z.ZodString;
|
8
8
|
}, "strip", z.ZodTypeAny, {
|
9
|
-
|
9
|
+
base_url: string;
|
10
|
+
client_secret: string;
|
10
11
|
audience: string;
|
12
|
+
auth_url: string;
|
11
13
|
client_id: string;
|
12
|
-
client_secret: string;
|
13
|
-
base_url: string;
|
14
14
|
}, {
|
15
|
-
|
15
|
+
base_url: string;
|
16
|
+
client_secret: string;
|
16
17
|
audience: string;
|
18
|
+
auth_url: string;
|
17
19
|
client_id: string;
|
18
|
-
client_secret: string;
|
19
|
-
base_url: string;
|
20
20
|
}>;
|
@@ -1,3 +1,39 @@
|
|
1
1
|
export type { PatientAdmitted } from './patientAdmitted';
|
2
2
|
export type { PatientDischarged } from './patientDischarged';
|
3
|
-
export declare const webhooks: import("@awell-health/extensions-core").Webhook<"eventType" | "ownerId" | "resourceId" | "UPID" | "encounterStatus" | "encounterStart" | "HL7EventType" | "HL7EventTypeDescription" | "HL7EventTypeFull", import("./types").AdtEventWebhookPayload
|
3
|
+
export declare const webhooks: import("@awell-health/extensions-core").Webhook<"eventType" | "ownerId" | "resourceId" | "UPID" | "encounterStatus" | "encounterStart" | "HL7EventType" | "HL7EventTypeDescription" | "HL7EventTypeFull", import("./types").AdtEventWebhookPayload, {
|
4
|
+
base_url: {
|
5
|
+
key: string;
|
6
|
+
label: string;
|
7
|
+
obfuscated: false;
|
8
|
+
description: string;
|
9
|
+
required: true;
|
10
|
+
};
|
11
|
+
auth_url: {
|
12
|
+
key: string;
|
13
|
+
label: string;
|
14
|
+
obfuscated: false;
|
15
|
+
description: string;
|
16
|
+
required: true;
|
17
|
+
};
|
18
|
+
client_id: {
|
19
|
+
key: string;
|
20
|
+
label: string;
|
21
|
+
obfuscated: false;
|
22
|
+
description: string;
|
23
|
+
required: true;
|
24
|
+
};
|
25
|
+
client_secret: {
|
26
|
+
key: string;
|
27
|
+
label: string;
|
28
|
+
obfuscated: false;
|
29
|
+
description: string;
|
30
|
+
required: true;
|
31
|
+
};
|
32
|
+
audience: {
|
33
|
+
key: string;
|
34
|
+
label: string;
|
35
|
+
obfuscated: false;
|
36
|
+
description: string;
|
37
|
+
required: true;
|
38
|
+
};
|
39
|
+
}>[];
|