@awell-health/awell-extensions 1.0.116 → 1.0.117

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.
Files changed (27) hide show
  1. package/dist/extensions/docuSign/settings.d.ts +2 -2
  2. package/dist/extensions/healthie/actions/createMetricEntry/config/fields.d.ts +38 -0
  3. package/dist/extensions/healthie/actions/createMetricEntry/config/fields.js +34 -0
  4. package/dist/extensions/healthie/actions/createMetricEntry/config/fields.js.map +1 -0
  5. package/dist/extensions/healthie/actions/createMetricEntry/config/index.d.ts +1 -0
  6. package/dist/extensions/healthie/actions/createMetricEntry/config/index.js +7 -0
  7. package/dist/extensions/healthie/actions/createMetricEntry/config/index.js.map +1 -0
  8. package/dist/extensions/healthie/actions/createMetricEntry/createMetricEntry.d.ts +4 -0
  9. package/dist/extensions/healthie/actions/createMetricEntry/createMetricEntry.js +81 -0
  10. package/dist/extensions/healthie/actions/createMetricEntry/createMetricEntry.js.map +1 -0
  11. package/dist/extensions/healthie/actions/createMetricEntry/createMetricEntry.test.d.ts +1 -0
  12. package/dist/extensions/healthie/actions/createMetricEntry/createMetricEntry.test.js +35 -0
  13. package/dist/extensions/healthie/actions/createMetricEntry/createMetricEntry.test.js.map +1 -0
  14. package/dist/extensions/healthie/actions/createMetricEntry/index.d.ts +1 -0
  15. package/dist/extensions/healthie/actions/createMetricEntry/index.js +6 -0
  16. package/dist/extensions/healthie/actions/createMetricEntry/index.js.map +1 -0
  17. package/dist/extensions/healthie/actions/index.d.ts +43 -9
  18. package/dist/extensions/healthie/actions/index.js +2 -0
  19. package/dist/extensions/healthie/actions/index.js.map +1 -1
  20. package/dist/extensions/healthie/gql/sdk.d.ts +5564 -1707
  21. package/dist/extensions/healthie/gql/sdk.js +26 -1
  22. package/dist/extensions/healthie/gql/sdk.js.map +1 -1
  23. package/dist/extensions/healthie/settings.d.ts +11 -0
  24. package/dist/extensions/healthie/settings.js +10 -1
  25. package/dist/extensions/healthie/settings.js.map +1 -1
  26. package/dist/extensions/markdown.json +2 -2
  27. package/package.json +1 -1
@@ -3,9 +3,15 @@ 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.getSdk = exports.UpdateTaskDocument = exports.UpdatePatientDocument = exports.UpdateConversationDocument = exports.UpdateAppointmentDocument = exports.SendChatMessageDocument = exports.RemoveTagFromUserDocument = exports.GetUserDocument = exports.GetFormTemplateDocument = exports.GetConversationListDocument = exports.GetAppointmentDocument = exports.DeleteTaskDocument = exports.DeleteAppointmentDocument = exports.CreateTaskDocument = exports.CreatePatientDocument = exports.CreateLocationDocument = exports.CreateJournalEntryDocument = exports.CreateFormCompletionRequestDocument = exports.CreateFormAnswerGroupDocument = exports.CreateConversationDocument = exports.CreateAppointmentDocument = exports.ApplyTagsToUserDocument = void 0;
6
+ exports.getSdk = exports.UpdateTaskDocument = exports.UpdatePatientDocument = exports.UpdateConversationDocument = exports.UpdateAppointmentDocument = exports.SendChatMessageDocument = exports.RemoveTagFromUserDocument = exports.GetUserDocument = exports.GetFormTemplateDocument = exports.GetConversationListDocument = exports.GetAppointmentDocument = exports.DeleteTaskDocument = exports.DeleteAppointmentDocument = exports.CreateTaskDocument = exports.CreatePatientDocument = exports.CreateLocationDocument = exports.CreateJournalEntryDocument = exports.CreateFormCompletionRequestDocument = exports.CreateFormAnswerGroupDocument = exports.CreateEntryDocument = exports.CreateConversationDocument = exports.CreateAppointmentDocument = exports.ApplyTagsToUserDocument = exports.IndividualClientNoteSorting = void 0;
7
7
  const graphql_1 = require("graphql");
8
8
  const graphql_tag_1 = __importDefault(require("graphql-tag"));
9
+ /** Individual client note sorting enum */
10
+ var IndividualClientNoteSorting;
11
+ (function (IndividualClientNoteSorting) {
12
+ IndividualClientNoteSorting["AttendedDesc"] = "ATTENDED_DESC";
13
+ IndividualClientNoteSorting["CreatedAtDesc"] = "CREATED_AT_DESC";
14
+ })(IndividualClientNoteSorting = exports.IndividualClientNoteSorting || (exports.IndividualClientNoteSorting = {}));
9
15
  exports.ApplyTagsToUserDocument = (0, graphql_tag_1.default) `
10
16
  mutation applyTagsToUser($ids: [ID], $taggable_user_id: ID) {
11
17
  bulkApply(input: {ids: $ids, taggable_user_id: $taggable_user_id}) {
@@ -50,6 +56,21 @@ exports.CreateConversationDocument = (0, graphql_tag_1.default) `
50
56
  }
51
57
  }
52
58
  `;
59
+ exports.CreateEntryDocument = (0, graphql_tag_1.default) `
60
+ mutation createEntry($metric_stat: String, $category: String, $type: String, $user_id: String, $created_at: String) {
61
+ createEntry(
62
+ input: {category: $category, type: $type, metric_stat: $metric_stat, user_id: $user_id, created_at: $created_at}
63
+ ) {
64
+ entry {
65
+ id
66
+ }
67
+ messages {
68
+ field
69
+ message
70
+ }
71
+ }
72
+ }
73
+ `;
53
74
  exports.CreateFormAnswerGroupDocument = (0, graphql_tag_1.default) `
54
75
  mutation createFormAnswerGroup($input: createFormAnswerGroupInput!) {
55
76
  createFormAnswerGroup(input: $input) {
@@ -349,6 +370,7 @@ const defaultWrapper = (action, _operationName, _operationType) => action();
349
370
  const ApplyTagsToUserDocumentString = (0, graphql_1.print)(exports.ApplyTagsToUserDocument);
350
371
  const CreateAppointmentDocumentString = (0, graphql_1.print)(exports.CreateAppointmentDocument);
351
372
  const CreateConversationDocumentString = (0, graphql_1.print)(exports.CreateConversationDocument);
373
+ const CreateEntryDocumentString = (0, graphql_1.print)(exports.CreateEntryDocument);
352
374
  const CreateFormAnswerGroupDocumentString = (0, graphql_1.print)(exports.CreateFormAnswerGroupDocument);
353
375
  const CreateFormCompletionRequestDocumentString = (0, graphql_1.print)(exports.CreateFormCompletionRequestDocument);
354
376
  const CreateJournalEntryDocumentString = (0, graphql_1.print)(exports.CreateJournalEntryDocument);
@@ -378,6 +400,9 @@ function getSdk(client, withWrapper = defaultWrapper) {
378
400
  createConversation(variables, requestHeaders) {
379
401
  return withWrapper((wrappedRequestHeaders) => client.rawRequest(CreateConversationDocumentString, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'createConversation', 'mutation');
380
402
  },
403
+ createEntry(variables, requestHeaders) {
404
+ return withWrapper((wrappedRequestHeaders) => client.rawRequest(CreateEntryDocumentString, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'createEntry', 'mutation');
405
+ },
381
406
  createFormAnswerGroup(variables, requestHeaders) {
382
407
  return withWrapper((wrappedRequestHeaders) => client.rawRequest(CreateFormAnswerGroupDocumentString, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'createFormAnswerGroup', 'mutation');
383
408
  },
@@ -1 +1 @@
1
- {"version":3,"file":"sdk.js","sourceRoot":"","sources":["../../../../extensions/healthie/gql/sdk.ts"],"names":[],"mappings":";;;;;;AAEA,qCAA+B;AAC/B,8DAA8B;AAu9oBjB,QAAA,uBAAuB,GAAG,IAAA,qBAAG,EAAA;;;;;;;;;;;;;KAarC,CAAC;AACO,QAAA,yBAAyB,GAAG,IAAA,qBAAG,EAAA;;;;;;;;;;;;;;KAcvC,CAAC;AACO,QAAA,0BAA0B,GAAG,IAAA,qBAAG,EAAA;;;;;;;;;;;;;;KAcxC,CAAC;AACO,QAAA,6BAA6B,GAAG,IAAA,qBAAG,EAAA;;;;;;;;;;;;KAY3C,CAAC;AACO,QAAA,mCAAmC,GAAG,IAAA,qBAAG,EAAA;;;;;;;;;;;;KAYjD,CAAC;AACO,QAAA,0BAA0B,GAAG,IAAA,qBAAG,EAAA;;;;;;;;;;;;KAYxC,CAAC;AACO,QAAA,sBAAsB,GAAG,IAAA,qBAAG,EAAA;;;;;;;;;;;;;;;KAepC,CAAC;AACO,QAAA,qBAAqB,GAAG,IAAA,qBAAG,EAAA;;;;;;;;;;;;KAYnC,CAAC;AACO,QAAA,kBAAkB,GAAG,IAAA,qBAAG,EAAA;;;;;;;;;;;;;;KAchC,CAAC;AACO,QAAA,yBAAyB,GAAG,IAAA,qBAAG,EAAA;;;;;;;;;;;;K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AgC,EAAE,SAAS,EAAE,EAAC,GAAG,cAAc,EAAE,GAAG,qBAAqB,EAAC,CAAC,EAAE,oBAAoB,EAAE,UAAU,CAAC,CAAC;QAC/N,CAAC;QACD,aAAa,CAAC,SAAyC,EAAE,cAA2C;YAChG,OAAO,WAAW,CAAC,CAAC,qBAAqB,EAAE,EAAE,CAAC,MAAM,CAAC,UAAU,CAAwB,2BAA2B,EAAE,SAAS,EAAE,EAAC,GAAG,cAAc,EAAE,GAAG,qBAAqB,EAAC,CAAC,EAAE,eAAe,EAAE,UAAU,CAAC,CAAC;QAChN,CAAC;QACD,UAAU,CAAC,SAAsC,EAAE,cAA2C;YAC1F,OAAO,WAAW,CAAC,CAAC,qBAAqB,EAAE,EAAE,CAAC,MAAM,CAAC,UAAU,CAAqB,wBAAwB,EAAE,SAAS,EAAE,EAAC,GAAG,cAAc,EAAE,GAAG,qBAAqB,EAAC,CAAC,EAAE,YAAY,EAAE,UAAU,CAAC,CAAC;QACvM,CAAC;KACF,CAAC;AACJ,CAAC;AArED,wBAqEC"}
@@ -1,3 +1,4 @@
1
+ import { z } from 'zod';
1
2
  export declare const settings: {
2
3
  apiUrl: {
3
4
  key: string;
@@ -14,3 +15,13 @@ export declare const settings: {
14
15
  description: string;
15
16
  };
16
17
  };
18
+ export declare const settingsValidationSchema: z.ZodObject<{
19
+ apiUrl: z.ZodString;
20
+ apiKey: z.ZodString;
21
+ }, "strip", z.ZodTypeAny, {
22
+ apiUrl: string;
23
+ apiKey: string;
24
+ }, {
25
+ apiUrl: string;
26
+ apiKey: string;
27
+ }>;
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.settings = void 0;
3
+ exports.settingsValidationSchema = exports.settings = void 0;
4
+ const zod_1 = require("zod");
4
5
  exports.settings = {
5
6
  apiUrl: {
6
7
  key: 'apiUrl',
@@ -17,4 +18,12 @@ exports.settings = {
17
18
  description: 'Your Healthie API key.',
18
19
  },
19
20
  };
21
+ exports.settingsValidationSchema = zod_1.z.object({
22
+ apiUrl: zod_1.z.string().nonempty({
23
+ message: 'Missing "API URL in the extension settings."',
24
+ }),
25
+ apiKey: zod_1.z.string().nonempty({
26
+ message: 'Missing "API key in the extension settings."',
27
+ }),
28
+ });
20
29
  //# sourceMappingURL=settings.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"settings.js","sourceRoot":"","sources":["../../../extensions/healthie/settings.ts"],"names":[],"mappings":";;;AAEa,QAAA,QAAQ,GAAG;IACtB,MAAM,EAAE;QACN,GAAG,EAAE,QAAQ;QACb,KAAK,EAAE,SAAS;QAChB,UAAU,EAAE,KAAK;QACjB,QAAQ,EAAE,IAAI;QACd,WAAW,EAAE,mCAAmC;KACjD;IACD,MAAM,EAAE;QACN,GAAG,EAAE,QAAQ;QACb,KAAK,EAAE,SAAS;QAChB,UAAU,EAAE,IAAI;QAChB,QAAQ,EAAE,IAAI;QACd,WAAW,EAAE,wBAAwB;KACtC;CACgC,CAAA"}
1
+ {"version":3,"file":"settings.js","sourceRoot":"","sources":["../../../extensions/healthie/settings.ts"],"names":[],"mappings":";;;AACA,6BAAwC;AAE3B,QAAA,QAAQ,GAAG;IACtB,MAAM,EAAE;QACN,GAAG,EAAE,QAAQ;QACb,KAAK,EAAE,SAAS;QAChB,UAAU,EAAE,KAAK;QACjB,QAAQ,EAAE,IAAI;QACd,WAAW,EAAE,mCAAmC;KACjD;IACD,MAAM,EAAE;QACN,GAAG,EAAE,QAAQ;QACb,KAAK,EAAE,SAAS;QAChB,UAAU,EAAE,IAAI;QAChB,QAAQ,EAAE,IAAI;QACd,WAAW,EAAE,wBAAwB;KACtC;CACgC,CAAA;AAEtB,QAAA,wBAAwB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC/C,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC;QAC1B,OAAO,EAAE,8CAA8C;KACxD,CAAC;IACF,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC;QAC1B,OAAO,EAAE,8CAA8C;KACxD,CAAC;CACiD,CAAC,CAAA"}
@@ -40,8 +40,8 @@
40
40
  "changelog": "# Formsort changelog"
41
41
  },
42
42
  "healthie": {
43
- "readme": "---\ntitle: Healthie\ndescription: Healthie offers infrastructure for next generation digital health organizations that provide virtual-first care.\n---\n# What is Healthie?\n\nHealthie offers infrastructure for next generation digital health organizations that provide virtual-first care. Healthie’s API-first and fully brandable suite of solutions (Scheduling, EMR, Client Engagement) enables healthcare builders to launch and scale best-in-class experiences for their members. Healthie also offers a built-in marketplace of business and clinical integrations used by our organizations.\n\nTo learn more, visit [www.gethealthie.com](www.gethealthie.com).\n\n## Healthie x Awell\n\nWith this extension, organizations are able to build clinical workflows in Awell’s low-code platform and easily integrate them into Healthie. By doing so, Healthie’s customers can automate routine clinical tasks, synchronize data between systems and drive seamless coordination between care team and patients.\n\nBy combining Healthie’s web and mobile platform with our clinical workflows, clinicians will be able to provide the right care, at the right time for the right patient.\n\n# Extension settings\n\nIn order to set up this extension, **you will need to provide a Healthie API key and Api url**. You can obtain an API key via the Healthie portal (`Settings > Developer > API keys`). You can obtain API url in the [DOCUMENTATION](https://docs.gethealthie.com/docs/#environments) in `Environments` section.\n\nPlease note that the extension automatically prefixes the API key with `Basic ` so please provide your raw API key without `Basic ` in front.\n\n# Custom Actions\n\n## Send chat message action\n\nSends a chat message to a patient in name of the provided provider ID. Will create a new conversation if no active conversation between patient and provider exists or sends a message in an existing conversation if there is an active conversation between the two.\n\n## Create patient\n\nCreates a new patient according to the passed fields. After completion the `healthiePatientId` will be exposed as a data point in the care flow.\n\n## Update patient\n\nUpdates a specific patient (defined by the provided `id`) according to the passed fields.\n\n## Apply tag to patient\n\nAdds a tag (existing one, identified by an `id`) to a patient. Although the Healthie API call allows assigning multiple tags per API call, for simplicity of the logic this action can only take one tag as input. Assigning multiple tags is possible by adding multiple actions.\n\n## Remove tag from patient\n\nRemoves a tag (identified by an `id`) from a patient.\n\n## Create charting note\n\nCreates a charting note with the provided `note_content`.\n\n**Prerequisites and set-up:**\n1. The form specified by the `form_id` exists in Healthie.\n2. The form specified by the `form_id` is a charting form (click \"Convert to charting form\" in the form options).\n3. The form contains at least one question of type `textarea` (long text answer). The action will write the content of the charting note in the first question of that type it finds in the form.\n\n## Send form completion request\n\nSend a form completion request to the patient. You will need the Healthie patient ID and the ID of the form you would like the patient to complete.\n\nAlthough the Healthie API call allows sending form completion requests to multiple users per API call (see recipient_ids in their docs), we decided that every action only sends one form completion request. This heavily simplifies the logic and better fits our domain model (1-to-1 relationship between patient and pathway). If a user would like to send multiple form completion requests, they you can just add multiple actions.\n\n## Archive patient\n\nArchives a patient with a given `id`.\n\n## Create location\n\nCreates a location. ID of the created location is stored as `locationId` data point.\n\n## Close chat conversation\n\nCloses chat conversation with a given `id` as a provider with the given `provider_id`.\n\n## Delete appointment\n\nDeletes an appointment with a given `id`.\n\n## Cancel appointment\n\nCancels an appointment with a given `id`.\n",
44
- "changelog": "# Healthie changelog\n\n## September 5, 2023\n\n- add Healthie gender to Sex in iso format mapper in `getPatient`\n\n## May 2023\n\n- New webhooks added: `appliedTagCreated`, `appliedTagDeleted`, `appointmentDeleted`, `appointmentUpdated`, `formAnswerGroupCreated`, `formAnswerGroupDeleted`, `formAnswerGroupLocked`, `formAnswerGroupSigned`, `labOrderCreated`, `labOrderUpdated`, `messageCreated`, `messageDeleted`, `metricEntryCreated`, `metricEntryDeleted`, `metricEntryUpdated`, `patientUpdated`, `requestFormCompletionCreated`, `requestFormCompletionDeleted`, `requestFormCompletionUpdated`, `taskCreated`, `taskDeleted`, `taskUpdated`\n\n## April 2023\n\n- Create task action: now also adds support for reminders.\n"
43
+ "readme": "---\ntitle: Healthie\ndescription: Healthie offers infrastructure for next generation digital health organizations that provide virtual-first care.\n---\n\n# What is Healthie?\n\nHealthie offers infrastructure for next generation digital health organizations that provide virtual-first care. Healthie’s API-first and fully brandable suite of solutions (Scheduling, EMR, Client Engagement) enables healthcare builders to launch and scale best-in-class experiences for their members. Healthie also offers a built-in marketplace of business and clinical integrations used by our organizations.\n\nTo learn more, visit [www.gethealthie.com](www.gethealthie.com).\n\n## Healthie x Awell\n\nWith this extension, organizations are able to build clinical workflows in Awell’s low-code platform and easily integrate them into Healthie. By doing so, Healthie’s customers can automate routine clinical tasks, synchronize data between systems and drive seamless coordination between care team and patients.\n\nBy combining Healthie’s web and mobile platform with our clinical workflows, clinicians will be able to provide the right care, at the right time for the right patient.\n\n# Extension settings\n\nIn order to set up this extension, **you will need to provide a Healthie API key and Api url**. You can obtain an API key via the Healthie portal (`Settings > Developer > API keys`). You can obtain API url in the [DOCUMENTATION](https://docs.gethealthie.com/docs/#environments) in `Environments` section.\n\nPlease note that the extension automatically prefixes the API key with `Basic ` so please provide your raw API key without `Basic ` in front.\n\n# Custom Actions\n\n## Send chat message action\n\nSends a chat message to a patient in name of the provided provider ID. Will create a new conversation if no active conversation between patient and provider exists or sends a message in an existing conversation if there is an active conversation between the two.\n\n## Create patient\n\nCreates a new patient according to the passed fields. After completion the `healthiePatientId` will be exposed as a data point in the care flow.\n\n## Update patient\n\nUpdates a specific patient (defined by the provided `id`) according to the passed fields.\n\n## Apply tag to patient\n\nAdds a tag (existing one, identified by an `id`) to a patient. Although the Healthie API call allows assigning multiple tags per API call, for simplicity of the logic this action can only take one tag as input. Assigning multiple tags is possible by adding multiple actions.\n\n## Remove tag from patient\n\nRemoves a tag (identified by an `id`) from a patient.\n\n## Create charting note\n\nCreates a charting note with the provided `note_content`.\n\n**Prerequisites and set-up:**\n\n1. The form specified by the `form_id` exists in Healthie.\n2. The form specified by the `form_id` is a charting form (click \"Convert to charting form\" in the form options).\n3. The form contains at least one question of type `textarea` (long text answer). The action will write the content of the charting note in the first question of that type it finds in the form.\n\n## Send form completion request\n\nSend a form completion request to the patient. You will need the Healthie patient ID and the ID of the form you would like the patient to complete.\n\nAlthough the Healthie API call allows sending form completion requests to multiple users per API call (see recipient_ids in their docs), we decided that every action only sends one form completion request. This heavily simplifies the logic and better fits our domain model (1-to-1 relationship between patient and pathway). If a user would like to send multiple form completion requests, they you can just add multiple actions.\n\n## Archive patient\n\nArchives a patient with a given `id`.\n\n## Create location\n\nCreates a location. ID of the created location is stored as `locationId` data point.\n\n## Close chat conversation\n\nCloses chat conversation with a given `id` as a provider with the given `provider_id`.\n\n## Delete appointment\n\nDeletes an appointment with a given `id`.\n\n## Cancel appointment\n\nCancels an appointment with a given `id`.\n\n## Create metric entry\n\nCreate a metric entry for a patient in Healthie.\n",
44
+ "changelog": "# Healthie changelog\n\n## October 2023\n\n- Create metric entry action.\n\n## September 5, 2023\n\n- add Healthie gender to Sex in iso format mapper in `getPatient`\n\n## May 2023\n\n- New webhooks added: `appliedTagCreated`, `appliedTagDeleted`, `appointmentDeleted`, `appointmentUpdated`, `formAnswerGroupCreated`, `formAnswerGroupDeleted`, `formAnswerGroupLocked`, `formAnswerGroupSigned`, `labOrderCreated`, `labOrderUpdated`, `messageCreated`, `messageDeleted`, `metricEntryCreated`, `metricEntryDeleted`, `metricEntryUpdated`, `patientUpdated`, `requestFormCompletionCreated`, `requestFormCompletionDeleted`, `requestFormCompletionUpdated`, `taskCreated`, `taskDeleted`, `taskUpdated`\n\n## April 2023\n\n- Create task action: now also adds support for reminders.\n"
45
45
  },
46
46
  "hello-world": {
47
47
  "readme": "---\ntitle: Hello world\ndescription: This is an example extension.\n---\n# Hello world extension",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@awell-health/awell-extensions",
3
- "version": "1.0.116",
3
+ "version": "1.0.117",
4
4
  "packageManager": "yarn@3.4.1",
5
5
  "main": "dist/src/index.js",
6
6
  "repository": {