@awell-health/awell-extensions 2.0.37 → 2.0.38

Sign up to get free protection for your applications and to get access to all the features.
@@ -71,6 +71,51 @@ declare const actions: {
71
71
  description: string;
72
72
  };
73
73
  }, "category" | "explanation">;
74
+ generateMessage: import("@awell-health/extensions-core").Action<{
75
+ communicationObjective: {
76
+ id: string;
77
+ label: string;
78
+ description: string;
79
+ type: import("@awell-health/extensions-core").FieldType.STRING;
80
+ required: true;
81
+ };
82
+ personalizationInput: {
83
+ id: string;
84
+ label: string;
85
+ description: string;
86
+ type: import("@awell-health/extensions-core").FieldType.STRING;
87
+ required: false;
88
+ };
89
+ additionalInstructions: {
90
+ id: string;
91
+ label: string;
92
+ description: string;
93
+ type: import("@awell-health/extensions-core").FieldType.STRING;
94
+ required: false;
95
+ };
96
+ stakeholder: {
97
+ id: string;
98
+ label: string;
99
+ description: string;
100
+ type: import("@awell-health/extensions-core").FieldType.STRING;
101
+ required: false;
102
+ };
103
+ language: {
104
+ id: string;
105
+ label: string;
106
+ description: string;
107
+ type: import("@awell-health/extensions-core").FieldType.STRING;
108
+ required: false;
109
+ };
110
+ }, {
111
+ openAiApiKey: {
112
+ key: string;
113
+ label: string;
114
+ obfuscated: true;
115
+ required: true;
116
+ description: string;
117
+ };
118
+ }, "message" | "subject">;
74
119
  medicationFromImage: import("@awell-health/extensions-core").Action<{
75
120
  imageUrl: {
76
121
  id: string;
@@ -5,10 +5,12 @@ const categorizeMessage_1 = require("./categorizeMessage");
5
5
  const summarizeCareFlow_1 = require("./summarizeCareFlow");
6
6
  const medicationFromImage_1 = require("./medicationFromImage");
7
7
  const reviewMedicationExtraction_1 = require("./reviewMedicationExtraction");
8
+ const generateMessage_1 = require("./generateMessage");
8
9
  const actions = {
9
10
  summarizeForm: summarizeForm_1.summarizeForm,
10
11
  summarizeCareFlow: summarizeCareFlow_1.summarizeCareFlow,
11
12
  categorizeMessage: categorizeMessage_1.categorizeMessage,
13
+ generateMessage: generateMessage_1.generateMessage,
12
14
  medicationFromImage: medicationFromImage_1.medicationFromImage,
13
15
  reviewMedicationExtraction: reviewMedicationExtraction_1.reviewMedicationExtraction,
14
16
  };
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../extensions/shelly/actions/index.ts"],"names":[],"mappings":";;AAAA,mDAA+C;AAC/C,2DAAuD;AACvD,2DAAuD;AACvD,+DAA2D;AAC3D,6EAAyE;AAEzE,MAAM,OAAO,GAAG;IACd,aAAa,EAAb,6BAAa;IACb,iBAAiB,EAAjB,qCAAiB;IACjB,iBAAiB,EAAjB,qCAAiB;IACjB,mBAAmB,EAAnB,yCAAmB;IACnB,0BAA0B,EAA1B,uDAA0B;CAC3B,CAAA;AAED,kBAAe,OAAO,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../extensions/shelly/actions/index.ts"],"names":[],"mappings":";;AAAA,mDAA+C;AAC/C,2DAAuD;AACvD,2DAAuD;AACvD,+DAA2D;AAC3D,6EAAyE;AACzE,uDAAmD;AAEnD,MAAM,OAAO,GAAG;IACd,aAAa,EAAb,6BAAa;IACb,iBAAiB,EAAjB,qCAAiB;IACjB,iBAAiB,EAAjB,qCAAiB;IACjB,eAAe,EAAf,iCAAe;IACf,mBAAmB,EAAnB,yCAAmB;IACnB,0BAA0B,EAA1B,uDAA0B;CAC3B,CAAA;AAED,kBAAe,OAAO,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@awell-health/awell-extensions",
3
- "version": "2.0.37",
3
+ "version": "2.0.38",
4
4
  "packageManager": "yarn@3.4.1",
5
5
  "main": "dist/src/index.js",
6
6
  "repository": {