@awell-health/awell-extensions 2.1.133 → 2.1.135

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 (30) hide show
  1. package/dist/extensions/hubspot/actions/createOrUpdateContact/createOrUpdateContact.js +1 -0
  2. package/dist/extensions/hubspot/actions/createOrUpdateContact/createOrUpdateContact.js.map +1 -1
  3. package/dist/extensions/index.js +0 -2
  4. package/dist/extensions/index.js.map +1 -1
  5. package/dist/extensions/markdown.json +0 -4
  6. package/package.json +2 -2
  7. package/dist/extensions/hix/actions/createTask/config/dataPoints.d.ts +0 -10
  8. package/dist/extensions/hix/actions/createTask/config/dataPoints.js +0 -14
  9. package/dist/extensions/hix/actions/createTask/config/dataPoints.js.map +0 -1
  10. package/dist/extensions/hix/actions/createTask/config/fields.d.ts +0 -68
  11. package/dist/extensions/hix/actions/createTask/config/fields.js +0 -58
  12. package/dist/extensions/hix/actions/createTask/config/fields.js.map +0 -1
  13. package/dist/extensions/hix/actions/createTask/config/index.d.ts +0 -2
  14. package/dist/extensions/hix/actions/createTask/config/index.js +0 -9
  15. package/dist/extensions/hix/actions/createTask/config/index.js.map +0 -1
  16. package/dist/extensions/hix/actions/createTask/createTask.d.ts +0 -4
  17. package/dist/extensions/hix/actions/createTask/createTask.js +0 -72
  18. package/dist/extensions/hix/actions/createTask/createTask.js.map +0 -1
  19. package/dist/extensions/hix/actions/createTask/index.d.ts +0 -1
  20. package/dist/extensions/hix/actions/createTask/index.js +0 -6
  21. package/dist/extensions/hix/actions/createTask/index.js.map +0 -1
  22. package/dist/extensions/hix/actions/index.d.ts +0 -62
  23. package/dist/extensions/hix/actions/index.js +0 -8
  24. package/dist/extensions/hix/actions/index.js.map +0 -1
  25. package/dist/extensions/hix/index.d.ts +0 -2
  26. package/dist/extensions/hix/index.js +0 -22
  27. package/dist/extensions/hix/index.js.map +0 -1
  28. package/dist/extensions/hix/settings.d.ts +0 -27
  29. package/dist/extensions/hix/settings.js +0 -25
  30. package/dist/extensions/hix/settings.js.map +0 -1
@@ -14,6 +14,7 @@ exports.createOrUpdateContact = {
14
14
  description: 'Create or update a contact in HubSpot',
15
15
  fields: config_1.fields,
16
16
  previewable: true,
17
+ supports_automated_retries: true,
17
18
  dataPoints: config_1.dataPoints,
18
19
  onEvent: async ({ payload, onComplete, onError, helpers }) => {
19
20
  const eventLogs = [];
@@ -1 +1 @@
1
- {"version":3,"file":"createOrUpdateContact.js","sourceRoot":"","sources":["../../../../../extensions/hubspot/actions/createOrUpdateContact/createOrUpdateContact.ts"],"names":[],"mappings":";;;AAAA,mEAIsC;AACtC,mCAAwD;AAExD,qCAAqE;AACrE,mCAA8B;AAC9B,uEAA2E;AAE3E,uCAA4E;AAE/D,QAAA,qBAAqB,GAI9B;IACF,GAAG,EAAE,uBAAuB;IAC5B,QAAQ,EAAE,0BAAQ,CAAC,gBAAgB;IACnC,KAAK,EAAE,0BAA0B;IACjC,WAAW,EAAE,uCAAuC;IACpD,MAAM,EAAN,eAAM;IACN,WAAW,EAAE,IAAI;IACjB,UAAU,EAAV,mBAAU;IACV,OAAO,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,OAAO,EAAE,EAAiB,EAAE;QAC1E,MAAM,SAAS,GAAoB,EAAE,CAAA;QAErC,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,GAAG,MAAM,IAAA,kCAA4B,EAAC;YAChE,YAAY,EAAE,+BAAsB;YACpC,OAAO;SACR,CAAC,CAAA;QAEF,MAAM,wBAAwB,GAAG;YAC/B;;;eAGG;YACH,KAAK,EAAE,MAAM,CAAC,KAAK;YACnB,GAAG,CAAC,CAAC,IAAA,cAAK,EAAC,MAAM,CAAC,SAAS,CAAC,IAAI,EAAE,SAAS,EAAE,MAAM,CAAC,SAAS,EAAE,CAAC;YAChE,GAAG,CAAC,CAAC,IAAA,cAAK,EAAC,MAAM,CAAC,QAAQ,CAAC,IAAI,EAAE,QAAQ,EAAE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C;YAED,sCAAsC;YACtC,SAAS,CAAC,IAAI,CACZ,IAAA,iCAAmB,EAAC;gBAClB,OAAO,EAAE,mDAAmD,MAAM,CAAC,KAAK,GAAG;aAC5E,CAAC,CACH,CAAA;YAED,MAAM,UAAU,GAAG,MAAM,IAAA,uBAAa,EACpC,UAAU,EACV,wBAAwB,CACzB,CAAA;YAED,MAAM,UAAU,CAAC;gBACf,WAAW,EAAE;oBACX,gBAAgB,EAAE,UAAU,CAAC,EAAE;oBAC/B,eAAe,EAAE,IAAI,CAAC,SAAS,CAAC,UAAU,CAAC;iBAC5C;gBACD,MAAM,EAAE;oBACN,GAAG,SAAS;oBACZ,IAAA,iCAAmB,EAAC;wBAClB,OAAO,EAAE,yCAAyC,MAAM,CAAC,KAAK,iBAAiB,UAAU,CAAC,EAAE,EAAE;qBAC/F,CAAC;oBACF,IAAA,iCAAmB,EAAC;wBAClB,OAAO,EAAE,iBAAiB,IAAI,CAAC,SAAS,CAAC,UAAU,EAAE,IAAI,EAAE,CAAC,CAAC,EAAE;qBAChE,CAAC;iBACH;aACF,CAAC,CAAA;QACJ,CAAC;QAAC,OAAO,GAAG,EAAE,CAAC;YACb,MAAM,UAAU,GAAG,GAA4B,CAAA;YAC/C,MAAM,OAAO,CAAC;gBACZ,MAAM,EAAE;oBACN,GAAG,SAAS;oBACZ,IAAA,iCAAmB,EAAC;wBAClB,OAAO,EAAE,+BAA+B,UAAU,CAAC,IAAI,KAAK,UAAU,CAAC,OAAO,KAAK,IAAI,CAAC,SAAS,CAC/F,UAAU,CAAC,IAAI,EACf,IAAI,EACJ,CAAC,CACF,EAAE;qBACJ,CAAC;iBACH;aACF,CAAC,CAAA;QACJ,CAAC;IACH,CAAC;CACF,CAAA"}
1
+ {"version":3,"file":"createOrUpdateContact.js","sourceRoot":"","sources":["../../../../../extensions/hubspot/actions/createOrUpdateContact/createOrUpdateContact.ts"],"names":[],"mappings":";;;AAAA,mEAIsC;AACtC,mCAAwD;AAExD,qCAAqE;AACrE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,GAAG,SAAS;oBACZ,IAAA,iCAAmB,EAAC;wBAClB,OAAO,EAAE,yCAAyC,MAAM,CAAC,KAAK,iBAAiB,UAAU,CAAC,EAAE,EAAE;qBAC/F,CAAC;oBACF,IAAA,iCAAmB,EAAC;wBAClB,OAAO,EAAE,iBAAiB,IAAI,CAAC,SAAS,CAAC,UAAU,EAAE,IAAI,EAAE,CAAC,CAAC,EAAE;qBAChE,CAAC;iBACH;aACF,CAAC,CAAA;QACJ,CAAC;QAAC,OAAO,GAAG,EAAE,CAAC;YACb,MAAM,UAAU,GAAG,GAA4B,CAAA;YAC/C,MAAM,OAAO,CAAC;gBACZ,MAAM,EAAE;oBACN,GAAG,SAAS;oBACZ,IAAA,iCAAmB,EAAC;wBAClB,OAAO,EAAE,+BAA+B,UAAU,CAAC,IAAI,KAAK,UAAU,CAAC,OAAO,KAAK,IAAI,CAAC,SAAS,CAC/F,UAAU,CAAC,IAAI,EACf,IAAI,EACJ,CAAC,CACF,EAAE;qBACJ,CAAC;iBACH;aACF,CAAC,CAAA;QACJ,CAAC;IACH,CAAC;CACF,CAAA"}
@@ -63,7 +63,6 @@ const freshdesk_1 = require("./freshdesk");
63
63
  const freshsales_1 = require("./freshsales");
64
64
  const gridspace_1 = require("./gridspace");
65
65
  const healthie_1 = require("./healthie");
66
- const hix_1 = require("./hix");
67
66
  const hello_world_1 = require("./hello-world");
68
67
  const hubspot_1 = require("./hubspot");
69
68
  const identityVerification_1 = require("./identityVerification");
@@ -128,7 +127,6 @@ exports.extensions = [
128
127
  freshsales_1.freshsales,
129
128
  gridspace_1.Gridspace,
130
129
  healthie_1.Healthie,
131
- hix_1.hix,
132
130
  hello_world_1.HelloWorld,
133
131
  hubspot_1.hubspot,
134
132
  identityVerification_1.identityVerification,
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../extensions/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,iDAA6C;AAC7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O;IACP,WAAI;IACJ,2BAAY;IACZ,gCAAc;IACd,mBAAQ;IACR,qBAAS;IACT,uBAAU;IACV,qBAAS;IACT,mBAAQ;IACR,SAAG;IACH,wBAAU;IACV,iBAAO;IACP,2CAAoB;IACpB,iBAAO;IACP,mBAAQ;IACR,qBAAS;IACT,qBAAS;IACT,iBAAO;IACP,oBAAa;IACb,yBAAW;IACX,iBAAO;IACP,qBAAS;IACT,yBAAW;IACX,WAAI;IACJ,mBAAQ;IACR,6BAAQ;IACR,WAAI;IACJ,eAAM;IACN,aAAK;IACL,aAAK;IACL,eAAM;IACN,mBAAQ;IACR,mBAAQ;IACR,uBAAS;IACT,qBAAS;IACT,eAAM;IACN,iBAAO;IACP,mBAAQ;IACR,yBAAW;IACX,iBAAO;IACP,WAAI;IACJ,aAAK;CACN,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../extensions/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,iDAA6C;AAC7C,yCAAqC;AACrC,qCAAiC;AACjC,mCAA+B;AAC/B,6CAAyC;AACzC,mCAA+B;AAC/B,mCAA+B;AAC/B,2CAAuC;AACvC,yCAAqC;AACrC,mDAA+C;AAC/C,qCAAiC;AACjC,6CAAyC;AACzC,yCAAqC;AACrC,+CAA2C;AAC3C,6CAAyC;AACzC,+CAA2C;AAC3C,6CAAyC;AACzC,qCAAiC;AACjC,yCAAqC;AACrC,+CAA2C;AAC3C,uCAAmC;AACnC,iCAA6B;AAC7B,iDAA6C;AAC7C,uDAAkD;AAClD,yCAAqC;AACrC,2CAAuC;AACvC,6CAAyC;AACzC,2CAAuC;AACvC,yCAAqC;AACrC,+CAA0C;AAC1C,uCAAmC;AACnC,iEAA6D;AAC7D,uCAAmC;AACnC,yCAAqC;AACrC,2CAAuC;AACvC,2CAAuC;AACvC,uCAAmC;AACnC,iCAAsC;AACtC,uCAAmC;AACnC,+CAA2C;AAC3C,2CAAuC;AACvC,+CAA2C;AAC3C,iCAA6B;AAC7B,yCAAqC;AACrC,6DAA+C;AAC/C,iCAA6B;AAC7B,qCAAiC;AACjC,mCAA+B;AAC/B,mCAA+B;AAC/B,qCAAiC;AACjC,yCAAqC;AACrC,yCAAqC;AACrC,+CAAyC;AACzC,2CAAuC;AACvC,qCAAiC;AACjC,uCAAmC;AACnC,yCAAqC;AACrC,+CAA2C;AAC3C,uCAAmC;AACnC,iCAA6B;AAC7B,mCAA+B;AAE/B,sDAAuC;AAG1B,QAAA,QAAQ,GAAa,IAAI,CAAA;AAEzB,QAAA,UAAU,GAAG;IACxB,aAAK;IACL,aAAK;IACL,2BAAY;IACZ,mBAAQ;IACR,eAAM;IACN,aAAK;IACL,uBAAU;IACV,qBAAS;IACT,mBAAQ;IACR,6BAAa;IACb,eAAM;IACN,uBAAU;IACV,mBAAQ;IACR,yBAAW;IACX,uBAAU;IACV,yBAAW;IACX,uBAAU;IACV,mBAAQ;IACR,eAAM;IACN,yBAAW;IACX,iBAAO;IACP,WAAI;IACJ,2BAAY;IACZ,gCAAc;IACd,mBAAQ;IACR,qBAAS;IACT,uBAAU;IACV,qBAAS;IACT,mBAAQ;IACR,wBAAU;IACV,iBAAO;IACP,2CAAoB;IACpB,iBAAO;IACP,mBAAQ;IACR,qBAAS;IACT,qBAAS;IACT,iBAAO;IACP,oBAAa;IACb,yBAAW;IACX,iBAAO;IACP,qBAAS;IACT,yBAAW;IACX,WAAI;IACJ,mBAAQ;IACR,6BAAQ;IACR,WAAI;IACJ,eAAM;IACN,aAAK;IACL,aAAK;IACL,eAAM;IACN,mBAAQ;IACR,mBAAQ;IACR,uBAAS;IACT,qBAAS;IACT,eAAM;IACN,iBAAO;IACP,mBAAQ;IACR,yBAAW;IACX,iBAAO;IACP,WAAI;IACJ,aAAK;CACN,CAAA"}
@@ -119,10 +119,6 @@
119
119
  "readme": "---\ntitle: Hello world\ndescription: This is an example extension.\n---\n# Hello world extension",
120
120
  "changelog": "# Hello world changelog"
121
121
  },
122
- "hix": {
123
- "readme": "---\ntitle: Hix\ndescription: Integration with ChipSoft HiX — create tasks on the care provider's worklist.\n---\n\n# ChipSoft HiX\n\nIntegration with ChipSoft HiX. Allows Awell care flows to push tasks directly to the HiX worklist.\n\n## Extension settings\n\n| Setting | Required | Description |\n|---|---|---|\n| API URL | Yes | Full URL of the HiX task endpoint (e.g. the `incoming-task` endpoint) |\n| API key | No | Optional shared secret, sent as the `x-demo-key` header |\n\n## Actions\n\n### Create task\n\nPosts a task to the HiX worklist. The task appears on \"Mijn werklijst\" and can be launched directly from HiX.\n\n**Fields:** Patient ID, Patient name, Task title, Task description, Requester (defaults to `ZTOP`), Launch URL\n\n**Data points returned:** `taskId`, `statusCode`\n",
124
- "changelog": "# CHANGELOG\n"
125
- },
126
122
  "hubspot": {
127
123
  "readme": "---\ntitle: Hubspot\ndescription: HubSpot is a customer relationship management (CRM) platform that provides a suite of tools for marketing, sales, customer service, and content management.\n---\n\n## Hubspot\n\nHubSpot is a customer relationship management (CRM) platform that offers a comprehensive suite of tools for marketing, sales, customer service, and content management. It is widely recognized for its user-friendly interface and inbound marketing methodology, which focuses on attracting customers through valuable content and experiences instead of traditional advertising.\n\nHubSpot provides features like email marketing, social media management, lead generation, analytics, and automation to help businesses attract, engage, and delight customers.\n\n## Settings and Setup\n\nTo use the HubSpot extension, you need an access token to authenticate with the HubSpot API. We recommend creating a [private app](https://developers.hubspot.com/docs/api/private-apps) in your HubSpot account for Awell and using the provided access token. You should only provide the minimum scopes necessary for the actions you intend to use. The required scopes for each action are listed in the documentation below.\n\n### SMTP Authentication\n\nIf you plan to use the \"Send email with SMTP\" action, you will need to provide your username and password to authenticate requests to HubSpot's SMTP server.\n\n### Add-ons\n\nSending transactional emails via HubSpot requires you to add the [corresponding add-ons](https://knowledge.hubspot.com/marketing-email/how-to-use-transactional-email-in-hubspot) to your HubSpot account.\n\n## Actions\n\n### Create or update contact\n\nCreates or updates a contact in HubSpot using the provided information. The patient is matched based on their email address—if a match is found, the existing contact is updated (PATCH); otherwise, a new contact is created.\n\nScope: `crm.objects.contacts.write`\n\n### Get contact\n\nRetrieve the details of a contact based on the provided contact ID.\n\nScope: `crm.objects.contacts.read`\n\n### Send email with SMTP\n\nSend an email using HubSpot's SMTP server.\n\nSending emails via SMTP has some limitations. The most significant drawback is that you cannot use templates or apply styling when sending emails through SMTP. SMTP is generally more manual and less integrated with HubSpot's smart content and template features.\n\nScope: N/A\n\n### Send email with Single Send API\n\nThe Single Send API is the recommended method for sending transactional emails with HubSpot. You can create email templates in your HubSpot account and use this action to send emails to recipients. This method allows you to take advantage of features like smart content and personalization.\n\nScope: `transactional-email`\n",
128
124
  "changelog": "# Hubspot changelog"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@awell-health/awell-extensions",
3
- "version": "2.1.133",
3
+ "version": "2.1.135",
4
4
  "packageManager": "yarn@4.5.3",
5
5
  "main": "dist/src/index.js",
6
6
  "repository": {
@@ -106,7 +106,7 @@
106
106
  "@awell-health/healthie-sdk": "^0.1.1",
107
107
  "@calcom/embed-react": "^1.5.3",
108
108
  "@dropbox/sign": "^1.8.0",
109
- "@hubspot/api-client": "^11.2.0",
109
+ "@hubspot/api-client": "^13.5.0",
110
110
  "@langchain/core": "1.2.0",
111
111
  "@langchain/openai": "1.5.1",
112
112
  "@mailchimp/mailchimp_transactional": "^1.0.50",
@@ -1,10 +0,0 @@
1
- export declare const dataPoints: {
2
- taskId: {
3
- key: string;
4
- valueType: "string";
5
- };
6
- statusCode: {
7
- key: string;
8
- valueType: "number";
9
- };
10
- };
@@ -1,14 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.dataPoints = void 0;
4
- exports.dataPoints = {
5
- taskId: {
6
- key: 'taskId',
7
- valueType: 'string',
8
- },
9
- statusCode: {
10
- key: 'statusCode',
11
- valueType: 'number',
12
- },
13
- };
14
- //# sourceMappingURL=dataPoints.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"dataPoints.js","sourceRoot":"","sources":["../../../../../../extensions/hix/actions/createTask/config/dataPoints.ts"],"names":[],"mappings":";;;AAEa,QAAA,UAAU,GAAG;IACxB,MAAM,EAAE;QACN,GAAG,EAAE,QAAQ;QACb,SAAS,EAAE,QAAQ;KACpB;IACD,UAAU,EAAE;QACV,GAAG,EAAE,YAAY;QACjB,SAAS,EAAE,QAAQ;KACpB;CAC4C,CAAA"}
@@ -1,68 +0,0 @@
1
- import { z } from 'zod';
2
- import { FieldType } from '@awell-health/extensions-core';
3
- export declare const fields: {
4
- patientId: {
5
- id: string;
6
- label: string;
7
- description: string;
8
- type: FieldType.STRING;
9
- required: true;
10
- };
11
- patientName: {
12
- id: string;
13
- label: string;
14
- description: string;
15
- type: FieldType.STRING;
16
- required: true;
17
- };
18
- title: {
19
- id: string;
20
- label: string;
21
- description: string;
22
- type: FieldType.STRING;
23
- required: true;
24
- };
25
- description: {
26
- id: string;
27
- label: string;
28
- description: string;
29
- type: FieldType.TEXT;
30
- required: false;
31
- };
32
- requester: {
33
- id: string;
34
- label: string;
35
- description: string;
36
- type: FieldType.STRING;
37
- required: false;
38
- };
39
- launchUrl: {
40
- id: string;
41
- label: string;
42
- description: string;
43
- type: FieldType.STRING;
44
- required: false;
45
- };
46
- };
47
- export declare const FieldsValidationSchema: z.ZodObject<{
48
- patientId: z.ZodString;
49
- patientName: z.ZodString;
50
- title: z.ZodString;
51
- description: z.ZodOptional<z.ZodString>;
52
- requester: z.ZodOptional<z.ZodString>;
53
- launchUrl: z.ZodOptional<z.ZodString>;
54
- }, "strip", z.ZodTypeAny, {
55
- patientId: string;
56
- title: string;
57
- patientName: string;
58
- description?: string | undefined;
59
- requester?: string | undefined;
60
- launchUrl?: string | undefined;
61
- }, {
62
- patientId: string;
63
- title: string;
64
- patientName: string;
65
- description?: string | undefined;
66
- requester?: string | undefined;
67
- launchUrl?: string | undefined;
68
- }>;
@@ -1,58 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.FieldsValidationSchema = exports.fields = void 0;
4
- const zod_1 = require("zod");
5
- const extensions_core_1 = require("@awell-health/extensions-core");
6
- exports.fields = {
7
- patientId: {
8
- id: 'patientId',
9
- label: 'Patient ID',
10
- description: 'The HiX patient number of the patient the task is for.',
11
- type: extensions_core_1.FieldType.STRING,
12
- required: true,
13
- },
14
- patientName: {
15
- id: 'patientName',
16
- label: 'Patient name',
17
- description: 'The full name of the patient (e.g. "DE BACKER, Marc").',
18
- type: extensions_core_1.FieldType.STRING,
19
- required: true,
20
- },
21
- title: {
22
- id: 'title',
23
- label: 'Task title',
24
- description: 'The title of the task as it appears on the worklist.',
25
- type: extensions_core_1.FieldType.STRING,
26
- required: true,
27
- },
28
- description: {
29
- id: 'description',
30
- label: 'Task description',
31
- description: 'Optional description, shown in the detail pane of the worklist.',
32
- type: extensions_core_1.FieldType.TEXT,
33
- required: false,
34
- },
35
- requester: {
36
- id: 'requester',
37
- label: 'Requester',
38
- description: 'The system or person requesting the task. Defaults to ZTOP.',
39
- type: extensions_core_1.FieldType.STRING,
40
- required: false,
41
- },
42
- launchUrl: {
43
- id: 'launchUrl',
44
- label: 'Launch URL',
45
- description: 'Optional URL to launch when the task is opened in HiX (e.g. a panel URL with launch context). Supports {patientId} and {taskId} template variables.',
46
- type: extensions_core_1.FieldType.STRING,
47
- required: false,
48
- },
49
- };
50
- exports.FieldsValidationSchema = zod_1.z.object({
51
- patientId: zod_1.z.string().min(1),
52
- patientName: zod_1.z.string().min(1),
53
- title: zod_1.z.string().min(1),
54
- description: zod_1.z.string().optional(),
55
- requester: zod_1.z.string().optional(),
56
- launchUrl: zod_1.z.string().optional(),
57
- });
58
- //# sourceMappingURL=fields.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"fields.js","sourceRoot":"","sources":["../../../../../../extensions/hix/actions/createTask/config/fields.ts"],"names":[],"mappings":";;;AAAA,6BAAwC;AACxC,mEAAqE;AAExD,QAAA,MAAM,G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,CAAC;IACxB,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAClC,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAChC,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACiB,CAAC,CAAA"}
@@ -1,2 +0,0 @@
1
- export { fields, FieldsValidationSchema } from './fields';
2
- export { dataPoints } from './dataPoints';
@@ -1,9 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.dataPoints = exports.FieldsValidationSchema = exports.fields = void 0;
4
- var fields_1 = require("./fields");
5
- Object.defineProperty(exports, "fields", { enumerable: true, get: function () { return fields_1.fields; } });
6
- Object.defineProperty(exports, "FieldsValidationSchema", { enumerable: true, get: function () { return fields_1.FieldsValidationSchema; } });
7
- var dataPoints_1 = require("./dataPoints");
8
- Object.defineProperty(exports, "dataPoints", { enumerable: true, get: function () { return dataPoints_1.dataPoints; } });
9
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../extensions/hix/actions/createTask/config/index.ts"],"names":[],"mappings":";;;AAAA,mCAAyD;AAAhD,gGAAA,MAAM,OAAA;AAAE,gHAAA,sBAAsB,OAAA;AACvC,2CAAyC;AAAhC,wGAAA,UAAU,OAAA"}
@@ -1,4 +0,0 @@
1
- import { type Action } from '@awell-health/extensions-core';
2
- import { settings as settingsDefinition } from '../../settings';
3
- import { dataPoints, fields } from './config';
4
- export declare const createTask: Action<typeof fields, typeof settingsDefinition, keyof typeof dataPoints>;
@@ -1,72 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.createTask = void 0;
4
- const extensions_core_1 = require("@awell-health/extensions-core");
5
- const zod_1 = require("zod");
6
- const settings_1 = require("../../settings");
7
- const config_1 = require("./config");
8
- exports.createTask = {
9
- key: 'createTask',
10
- title: 'Creëer taak in HiX',
11
- description: 'Creëert een taak op de werklijst van de zorgverlener in HiX. De taak verschijnt op "Mijn werklijst" en kan vanuit HiX gelanceerd worden.',
12
- category: extensions_core_1.Category.EHR_INTEGRATIONS,
13
- fields: config_1.fields,
14
- dataPoints: config_1.dataPoints,
15
- previewable: true,
16
- onActivityCreated: async (payload, onComplete, onError) => {
17
- var _a, _b, _c;
18
- try {
19
- const { fields: { patientId, patientName, title, description, requester, launchUrl, }, settings: { apiUrl, tasksIngestToken }, } = (0, extensions_core_1.validate)({
20
- schema: zod_1.z.object({
21
- fields: config_1.FieldsValidationSchema,
22
- settings: settings_1.SettingsValidationSchema,
23
- }),
24
- payload,
25
- });
26
- const response = await fetch(apiUrl, {
27
- method: 'POST',
28
- headers: {
29
- 'Content-Type': 'application/json',
30
- Authorization: `Bearer ${tasksIngestToken}`,
31
- },
32
- body: JSON.stringify({
33
- patient_id: patientId,
34
- patient_name: patientName,
35
- title,
36
- description,
37
- requester: requester !== null && requester !== void 0 ? requester : 'ZTOP',
38
- launch_url: launchUrl,
39
- }),
40
- });
41
- if (!response.ok) {
42
- const responseText = await response.text();
43
- throw new Error(`HiX task endpoint returned ${response.status} ${response.statusText}: ${responseText}`);
44
- }
45
- const responseBody = (await response.json().catch(() => ({})));
46
- await onComplete({
47
- data_points: {
48
- taskId: (_a = responseBody.id) !== null && _a !== void 0 ? _a : '',
49
- statusCode: String(response.status),
50
- },
51
- });
52
- }
53
- catch (error) {
54
- const parsedError = error;
55
- await onError({
56
- events: [
57
- {
58
- date: new Date().toISOString(),
59
- text: {
60
- en: (_b = parsedError.message) !== null && _b !== void 0 ? _b : 'Unexpected error',
61
- },
62
- error: {
63
- category: 'SERVER_ERROR',
64
- message: (_c = parsedError.message) !== null && _c !== void 0 ? _c : 'Unexpected error',
65
- },
66
- },
67
- ],
68
- });
69
- }
70
- },
71
- };
72
- //# sourceMappingURL=createTask.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"createTask.js","sourceRoot":"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AQ,CAAC,IAAI,EAAE,CAAA;gBAC1C,MAAM,IAAI,KAAK,CACb,8BAA8B,QAAQ,CAAC,MAAM,IAAI,QAAQ,CAAC,UAAU,KAAK,YAAY,EAAE,CACxF,CAAA;YACH,CAAC;YAED,MAAM,YAAY,GAAG,CAAC,MAAM,QAAQ,CAAC,IAAI,EAAE,CAAC,KAAK,CAAC,GAAG,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC,CAE5D,CAAA;YAED,MAAM,UAAU,CAAC;gBACf,WAAW,EAAE;oBACX,MAAM,EAAE,MAAA,YAAY,CAAC,EAAE,mCAAI,EAAE;oBAC7B,UAAU,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC;iBACpC;aACF,CAAC,CAAA;QACJ,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,MAAM,WAAW,GAAG,KAAc,CAAA;YAClC,MAAM,OAAO,CAAC;gBACZ,MAAM,EAAE;oBACN;wBACE,IAAI,EAAE,IAAI,IAAI,EAAE,CAAC,WAAW,EAAE;wBAC9B,IAAI,EAAE;4BACJ,EAAE,EAAE,MAAA,WAAW,CAAC,OAAO,mCAAI,kBAAkB;yBAC9C;wBACD,KAAK,EAAE;4BACL,QAAQ,EAAE,cAAc;4BACxB,OAAO,EAAE,MAAA,WAAW,CAAC,OAAO,mCAAI,kBAAkB;yBACnD;qBACF;iBACF;aACF,CAAC,CAAA;QACJ,CAAC;IACH,CAAC;CACF,CAAA"}
@@ -1 +0,0 @@
1
- export { createTask } from './createTask';
@@ -1,6 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.createTask = void 0;
4
- var createTask_1 = require("./createTask");
5
- Object.defineProperty(exports, "createTask", { enumerable: true, get: function () { return createTask_1.createTask; } });
6
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../extensions/hix/actions/createTask/index.ts"],"names":[],"mappings":";;;AAAA,2CAAyC;AAAhC,wGAAA,UAAU,OAAA"}
@@ -1,62 +0,0 @@
1
- declare const actions: {
2
- createTask: import("@awell-health/extensions-core").Action<{
3
- patientId: {
4
- id: string;
5
- label: string;
6
- description: string;
7
- type: import("@awell-health/extensions-core").FieldType.STRING;
8
- required: true;
9
- };
10
- patientName: {
11
- id: string;
12
- label: string;
13
- description: string;
14
- type: import("@awell-health/extensions-core").FieldType.STRING;
15
- required: true;
16
- };
17
- title: {
18
- id: string;
19
- label: string;
20
- description: string;
21
- type: import("@awell-health/extensions-core").FieldType.STRING;
22
- required: true;
23
- };
24
- description: {
25
- id: string;
26
- label: string;
27
- description: string;
28
- type: import("@awell-health/extensions-core").FieldType.TEXT;
29
- required: false;
30
- };
31
- requester: {
32
- id: string;
33
- label: string;
34
- description: string;
35
- type: import("@awell-health/extensions-core").FieldType.STRING;
36
- required: false;
37
- };
38
- launchUrl: {
39
- id: string;
40
- label: string;
41
- description: string;
42
- type: import("@awell-health/extensions-core").FieldType.STRING;
43
- required: false;
44
- };
45
- }, {
46
- apiUrl: {
47
- label: string;
48
- key: string;
49
- obfuscated: false;
50
- required: true;
51
- description: string;
52
- };
53
- tasksIngestToken: {
54
- label: string;
55
- key: string;
56
- obfuscated: true;
57
- required: true;
58
- description: string;
59
- };
60
- }, "statusCode" | "taskId">;
61
- };
62
- export default actions;
@@ -1,8 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const createTask_1 = require("./createTask");
4
- const actions = {
5
- createTask: createTask_1.createTask,
6
- };
7
- exports.default = actions;
8
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../extensions/hix/actions/index.ts"],"names":[],"mappings":";;AAAA,6CAAyC;AAEzC,MAAM,OAAO,GAAG;IACd,UAAU,EAAV,uBAAU;CACX,CAAA;AAED,kBAAe,OAAO,CAAA"}
@@ -1,2 +0,0 @@
1
- import { type Extension } from '@awell-health/extensions-core';
2
- export declare const hix: Extension;
@@ -1,22 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.hix = void 0;
7
- const extensions_core_1 = require("@awell-health/extensions-core");
8
- const actions_1 = __importDefault(require("./actions"));
9
- const settings_1 = require("./settings");
10
- exports.hix = {
11
- key: 'hix',
12
- title: 'ChipSoft HiX',
13
- icon_url: 'https://res.cloudinary.com/da7x4rzl4/image/upload/v1678870116/Awell%20Extensions/Awell_Logo.png',
14
- description: 'Integratie met ChipSoft HiX: creëer taken op de werklijst van de zorgverlener.',
15
- category: extensions_core_1.Category.EHR_INTEGRATIONS,
16
- author: {
17
- authorType: extensions_core_1.AuthorType.AWELL,
18
- },
19
- actions: actions_1.default,
20
- settings: settings_1.settings,
21
- };
22
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../extensions/hix/index.ts"],"names":[],"mappings":";;;;;;AACA,mEAAoE;AACpE,wDAA+B;AAC/B,yCAAqC;AAExB,QAAA,GAAG,GAAc;IAC5B,GAAG,EAAE,KAAK;IACV,KAAK,EAAE,cAAc;IACrB,QAAQ,EACN,iGAAiG;IACnG,WAAW,EACT,gFAAgF;IAClF,QAAQ,EAAE,0BAAQ,CAAC,gBAAgB;IACnC,MAAM,EAAE;QACN,UAAU,EAAE,4BAAU,CAAC,KAAK;KAC7B;IACD,OAAO,EAAP,iBAAO;IACP,QAAQ,EAAR,mBAAQ;CACT,CAAA"}
@@ -1,27 +0,0 @@
1
- import { z } from 'zod';
2
- export declare const settings: {
3
- apiUrl: {
4
- label: string;
5
- key: string;
6
- obfuscated: false;
7
- required: true;
8
- description: string;
9
- };
10
- tasksIngestToken: {
11
- label: string;
12
- key: string;
13
- obfuscated: true;
14
- required: true;
15
- description: string;
16
- };
17
- };
18
- export declare const SettingsValidationSchema: z.ZodObject<{
19
- apiUrl: z.ZodString;
20
- tasksIngestToken: z.ZodString;
21
- }, "strip", z.ZodTypeAny, {
22
- apiUrl: string;
23
- tasksIngestToken: string;
24
- }, {
25
- apiUrl: string;
26
- tasksIngestToken: string;
27
- }>;
@@ -1,25 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SettingsValidationSchema = exports.settings = void 0;
4
- const zod_1 = require("zod");
5
- exports.settings = {
6
- apiUrl: {
7
- label: 'API URL',
8
- key: 'apiUrl',
9
- obfuscated: false,
10
- required: true,
11
- description: 'The full URL of the HiX task endpoint (e.g. the "incoming-task" endpoint of the demo environment).',
12
- },
13
- tasksIngestToken: {
14
- label: 'Tasks ingest token',
15
- key: 'tasksIngestToken',
16
- obfuscated: true,
17
- required: true,
18
- description: 'Bearer token sent as the "Authorization" header on every request. Must match the TASKS_INGEST_TOKEN secret configured on the endpoint.',
19
- },
20
- };
21
- exports.SettingsValidationSchema = zod_1.z.object({
22
- apiUrl: zod_1.z.string().url({ message: 'API URL must be a valid URL' }),
23
- tasksIngestToken: zod_1.z.string().min(1),
24
- });
25
- //# sourceMappingURL=settings.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"settings.js","sourceRoot":"","sources":["../../../extensions/hix/settings.ts"],"names":[],"mappings":";;;AACA,6BAAwC;AAE3B,QAAA,QAAQ,GAAG;IACtB,MAAM,EAAE;QACN,KAAK,EAAE,SAAS;QAChB,GAAG,EAAE,QAAQ;QACb,UAAU,EAAE,KAAK;QACjB,QAAQ,EAAE,IAAI;QACd,WAAW,EACT,oGAAoG;KACvG;IACD,gBAAgB,EAAE;QAChB,KAAK,EAAE,oBAAoB;QAC3B,GAAG,EAAE,kBAAkB;QACvB,UAAU,EAAE,IAAI;QAChB,QAAQ,EAAE,IAAI;QACd,WAAW,EACT,wIAAwI;KAC3I;CACgC,CAAA;AAEtB,QAAA,wBAAwB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC/C,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,EAAE,OAAO,EAAE,6BAA6B,EAAE,CAAC;IAClE,gBAAgB,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;CACgB,CAAC,CAAA"}