@awell-health/awell-extensions 2.0.229 → 2.0.231
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.
- package/dist/extensions/bland/actions/getCallDetails/config/dataPoints.d.ts +48 -0
- package/dist/extensions/bland/actions/getCallDetails/config/dataPoints.js +48 -0
- package/dist/extensions/bland/actions/getCallDetails/config/dataPoints.js.map +1 -1
- package/dist/extensions/bland/actions/getCallDetails/config/fields.js +1 -1
- package/dist/extensions/bland/actions/getCallDetails/config/fields.js.map +1 -1
- package/dist/extensions/bland/actions/getCallDetails/getCallDetails.js +24 -8
- package/dist/extensions/bland/actions/getCallDetails/getCallDetails.js.map +1 -1
- package/dist/extensions/bland/actions/index.d.ts +542 -1
- package/dist/extensions/bland/actions/sendCall/config/dataPoints.js +0 -2
- package/dist/extensions/bland/actions/sendCall/config/dataPoints.js.map +1 -1
- package/dist/extensions/bland/actions/sendCall/config/fields.d.ts +360 -2
- package/dist/extensions/bland/actions/sendCall/config/fields.js +291 -36
- package/dist/extensions/bland/actions/sendCall/config/fields.js.map +1 -1
- package/dist/extensions/bland/actions/sendCall/sendCall.js +23 -40
- package/dist/extensions/bland/actions/sendCall/sendCall.js.map +1 -1
- package/dist/extensions/bland/actions/sendCallWithPathway/config/dataPoints.js +0 -2
- package/dist/extensions/bland/actions/sendCallWithPathway/config/dataPoints.js.map +1 -1
- package/dist/extensions/bland/actions/sendCallWithPathway/config/fields.d.ts +370 -2
- package/dist/extensions/bland/actions/sendCallWithPathway/config/fields.js +300 -37
- package/dist/extensions/bland/actions/sendCallWithPathway/config/fields.js.map +1 -1
- package/dist/extensions/bland/actions/sendCallWithPathway/sendCallWithPathway.js +23 -40
- package/dist/extensions/bland/actions/sendCallWithPathway/sendCallWithPathway.js.map +1 -1
- package/dist/extensions/bland/api/schema/GetCallDetails.schema.d.ts +20 -29
- package/dist/extensions/bland/api/schema/GetCallDetails.schema.js +8 -9
- package/dist/extensions/bland/api/schema/GetCallDetails.schema.js.map +1 -1
- package/dist/extensions/bland/api/schema/SendCall.schema.d.ts +281 -34
- package/dist/extensions/bland/api/schema/SendCall.schema.js +53 -15
- package/dist/extensions/bland/api/schema/SendCall.schema.js.map +1 -1
- package/dist/extensions/bland/api/schema/atoms/BackgroundTrackSchema.d.ts +8 -0
- package/dist/extensions/bland/api/schema/atoms/BackgroundTrackSchema.js +26 -0
- package/dist/extensions/bland/api/schema/atoms/BackgroundTrackSchema.js.map +1 -0
- package/dist/extensions/bland/api/schema/atoms/ModelSchema.d.ts +2 -0
- package/dist/extensions/bland/api/schema/atoms/ModelSchema.js +6 -0
- package/dist/extensions/bland/api/schema/atoms/ModelSchema.js.map +1 -0
- package/dist/extensions/bland/api/schema/atoms/VoicemailActionSchema.d.ts +2 -0
- package/dist/extensions/bland/api/schema/atoms/VoicemailActionSchema.js +10 -0
- package/dist/extensions/bland/api/schema/atoms/VoicemailActionSchema.js.map +1 -0
- package/dist/extensions/bland/api/schema/atoms/WebhookEventsSchema.d.ts +2 -0
- package/dist/extensions/bland/api/schema/atoms/WebhookEventsSchema.js +6 -0
- package/dist/extensions/bland/api/schema/atoms/WebhookEventsSchema.js.map +1 -0
- package/dist/extensions/bland/api/schema/atoms/index.d.ts +4 -0
- package/dist/extensions/bland/api/schema/atoms/index.js +21 -0
- package/dist/extensions/bland/api/schema/atoms/index.js.map +1 -0
- package/dist/extensions/bland/index.js +2 -0
- package/dist/extensions/bland/index.js.map +1 -1
- package/dist/extensions/bland/lib/sharedActionFields.d.ts +8 -0
- package/dist/extensions/bland/lib/sharedActionFields.js +59 -0
- package/dist/extensions/bland/lib/sharedActionFields.js.map +1 -0
- package/dist/extensions/bland/webhooks/CallCompleted/__testdata__/callCompleted.mock.d.ts +68 -0
- package/dist/extensions/bland/webhooks/CallCompleted/__testdata__/callCompleted.mock.js +108 -0
- package/dist/extensions/bland/webhooks/CallCompleted/__testdata__/callCompleted.mock.js.map +1 -0
- package/dist/extensions/bland/webhooks/CallCompleted/callCompleted.d.ts +12 -0
- package/dist/extensions/bland/webhooks/CallCompleted/callCompleted.js +31 -0
- package/dist/extensions/bland/webhooks/CallCompleted/callCompleted.js.map +1 -0
- package/dist/extensions/bland/webhooks/CallCompleted/index.d.ts +1 -0
- package/dist/extensions/bland/webhooks/CallCompleted/index.js +18 -0
- package/dist/extensions/bland/webhooks/CallCompleted/index.js.map +1 -0
- package/dist/extensions/bland/webhooks/CallCompleted/types.d.ts +37 -0
- package/dist/extensions/bland/webhooks/CallCompleted/types.js +3 -0
- package/dist/extensions/bland/webhooks/CallCompleted/types.js.map +1 -0
- package/dist/extensions/bland/webhooks/index.d.ts +9 -0
- package/dist/extensions/bland/webhooks/index.js +6 -0
- package/dist/extensions/bland/webhooks/index.js.map +1 -0
- package/dist/extensions/markdown.json +1 -1
- package/dist/extensions/text-em-all/actions/createCallBroadcast/config.d.ts +20 -20
- package/dist/extensions/text-em-all/actions/types.d.ts +14 -14
- package/package.json +1 -1
@@ -5,13 +5,15 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
6
6
|
exports.FieldsValidationSchema = exports.fields = void 0;
|
7
7
|
const extensions_core_1 = require("@awell-health/extensions-core");
|
8
|
-
const
|
8
|
+
const atoms_1 = require("../../../api/schema/atoms");
|
9
9
|
const zod_1 = __importDefault(require("zod"));
|
10
|
+
const getTimezones_1 = require("../../../../awell/v1/actions/updatePatient/config/getTimezones");
|
11
|
+
const sharedActionFields_1 = require("../../../lib/sharedActionFields");
|
10
12
|
exports.fields = {
|
11
13
|
phoneNumber: {
|
12
14
|
id: 'phoneNumber',
|
13
15
|
label: 'Phone number',
|
14
|
-
description: '',
|
16
|
+
description: 'The phone number to call.',
|
15
17
|
type: extensions_core_1.FieldType.STRING,
|
16
18
|
stringType: extensions_core_1.StringType.PHONE,
|
17
19
|
required: true,
|
@@ -23,6 +25,249 @@ exports.fields = {
|
|
23
25
|
type: extensions_core_1.FieldType.TEXT,
|
24
26
|
required: true,
|
25
27
|
},
|
28
|
+
voice: {
|
29
|
+
id: 'voice',
|
30
|
+
label: 'Voice',
|
31
|
+
description: 'The voice of the AI agent to use. Accepts any form of voice ID, including custom voice clones and voice presets.',
|
32
|
+
type: extensions_core_1.FieldType.STRING,
|
33
|
+
required: false,
|
34
|
+
},
|
35
|
+
background_track: {
|
36
|
+
id: 'background_track',
|
37
|
+
label: 'Background track',
|
38
|
+
description: 'Select an audio track that you’d like to play in the background during the call. The audio will play continuously when the agent isn’t speaking, and is incorporated into it’s speech as well.',
|
39
|
+
type: extensions_core_1.FieldType.STRING,
|
40
|
+
required: false,
|
41
|
+
options: {
|
42
|
+
dropdownOptions: atoms_1.backgroundTrackOptions,
|
43
|
+
},
|
44
|
+
},
|
45
|
+
first_sentence: {
|
46
|
+
id: 'first_sentence',
|
47
|
+
label: 'First sentence',
|
48
|
+
description: 'Makes your agent say a specific phrase or sentence for it’s first response.',
|
49
|
+
type: extensions_core_1.FieldType.STRING,
|
50
|
+
required: false,
|
51
|
+
},
|
52
|
+
wait_for_greeting: {
|
53
|
+
id: 'wait_for_greeting',
|
54
|
+
label: 'Wait for greeting',
|
55
|
+
description: 'When enabled, the agent will wait for the call recipient to speak first before responding.',
|
56
|
+
type: extensions_core_1.FieldType.STRING,
|
57
|
+
required: false,
|
58
|
+
options: {
|
59
|
+
dropdownOptions: sharedActionFields_1.dropdownOptionsBoolean,
|
60
|
+
},
|
61
|
+
},
|
62
|
+
block_interruptions: {
|
63
|
+
id: 'block_interruptions',
|
64
|
+
label: 'Block interruptions',
|
65
|
+
description: 'When enabled, the AI will not respond or process interruptions from the user.',
|
66
|
+
type: extensions_core_1.FieldType.STRING,
|
67
|
+
required: false,
|
68
|
+
options: {
|
69
|
+
dropdownOptions: sharedActionFields_1.dropdownOptionsBoolean,
|
70
|
+
},
|
71
|
+
},
|
72
|
+
interruption_threshold: {
|
73
|
+
id: 'interruption_threshold',
|
74
|
+
label: 'Interruption threshold',
|
75
|
+
description: 'Adjusts how patient the AI is when waiting for the user to finish speaking. Lower values mean the AI will respond more quickly, while higher values mean the AI will wait longer before responding.',
|
76
|
+
type: extensions_core_1.FieldType.NUMERIC,
|
77
|
+
required: false,
|
78
|
+
},
|
79
|
+
model: {
|
80
|
+
id: 'model',
|
81
|
+
label: 'Model',
|
82
|
+
description: 'Select a model to use for your call.',
|
83
|
+
type: extensions_core_1.FieldType.STRING,
|
84
|
+
required: false,
|
85
|
+
options: {
|
86
|
+
dropdownOptions: Object.values(atoms_1.ModelSchema.enum).map((model) => ({
|
87
|
+
label: model,
|
88
|
+
value: model,
|
89
|
+
})),
|
90
|
+
},
|
91
|
+
},
|
92
|
+
temperature: {
|
93
|
+
id: 'temperature',
|
94
|
+
label: 'Temperature',
|
95
|
+
description: 'A value between 0 and 1 that controls the randomness of the LLM. 0 will cause more deterministic outputs while 1 will cause more random.',
|
96
|
+
type: extensions_core_1.FieldType.NUMERIC,
|
97
|
+
required: false,
|
98
|
+
},
|
99
|
+
dynamic_data: {
|
100
|
+
id: 'dynamic_data',
|
101
|
+
label: 'Dynamic data',
|
102
|
+
description: 'Integrate data from external APIs into your agent’s knowledge.',
|
103
|
+
type: extensions_core_1.FieldType.JSON,
|
104
|
+
required: false,
|
105
|
+
},
|
106
|
+
keywords: {
|
107
|
+
id: 'keywords',
|
108
|
+
label: 'Keywords',
|
109
|
+
description: 'Comma-separated list of keywords. These words will be boosted in the transcription engine - recommended for proper nouns or words that are frequently mis-transcribed.',
|
110
|
+
type: extensions_core_1.FieldType.STRING,
|
111
|
+
required: false,
|
112
|
+
},
|
113
|
+
pronunciation_guide: {
|
114
|
+
id: 'pronunciation_guide',
|
115
|
+
label: 'Pronunciation guide',
|
116
|
+
description: 'The pronunciation guide is an array of objects that guides the agent on how to say specific words. This is great for situations with complicated terms or names.',
|
117
|
+
type: extensions_core_1.FieldType.JSON,
|
118
|
+
required: false,
|
119
|
+
},
|
120
|
+
language: {
|
121
|
+
id: 'language',
|
122
|
+
label: 'Language',
|
123
|
+
description: 'Optimizes every part of our API for that language - transcription, speech, and other inner workings.',
|
124
|
+
type: extensions_core_1.FieldType.STRING,
|
125
|
+
required: false,
|
126
|
+
},
|
127
|
+
local_dialing: {
|
128
|
+
id: 'local_dialing',
|
129
|
+
label: 'Local dialing',
|
130
|
+
description: 'When true, automatically selects a “from” number that matches the callee’s area code for US-based calls. Must have purchased a local dialing add-on.',
|
131
|
+
type: extensions_core_1.FieldType.STRING,
|
132
|
+
required: false,
|
133
|
+
options: {
|
134
|
+
dropdownOptions: sharedActionFields_1.dropdownOptionsBoolean,
|
135
|
+
},
|
136
|
+
},
|
137
|
+
voicemail_sms: {
|
138
|
+
id: 'voicemail_sms',
|
139
|
+
label: 'Voicemail SMS',
|
140
|
+
description: 'Configure SMS settings for voicemail notifications.',
|
141
|
+
type: extensions_core_1.FieldType.JSON,
|
142
|
+
required: false,
|
143
|
+
},
|
144
|
+
dispatch_hours: {
|
145
|
+
id: 'dispatch_hours',
|
146
|
+
label: 'Dispatch hours',
|
147
|
+
description: 'Restricts calls to certain hours in your timezone.',
|
148
|
+
type: extensions_core_1.FieldType.JSON,
|
149
|
+
required: false,
|
150
|
+
},
|
151
|
+
sensitive_voicemail_detection: {
|
152
|
+
id: 'sensitive_voicemail_detection',
|
153
|
+
label: 'Sensitive voicemail detection',
|
154
|
+
description: 'When true, uses LLM-based analysis to detect frequent voicemails.',
|
155
|
+
type: extensions_core_1.FieldType.STRING,
|
156
|
+
required: false,
|
157
|
+
options: {
|
158
|
+
dropdownOptions: sharedActionFields_1.dropdownOptionsBoolean,
|
159
|
+
},
|
160
|
+
},
|
161
|
+
noise_cancellation: {
|
162
|
+
id: 'noise_cancellation',
|
163
|
+
label: 'Noise cancellation',
|
164
|
+
description: 'Toggles noise filtering or suppression in the audio stream to filter out background noise.',
|
165
|
+
type: extensions_core_1.FieldType.STRING,
|
166
|
+
required: false,
|
167
|
+
options: {
|
168
|
+
dropdownOptions: sharedActionFields_1.dropdownOptionsBoolean,
|
169
|
+
},
|
170
|
+
},
|
171
|
+
ignore_button_press: {
|
172
|
+
id: 'ignore_button_press',
|
173
|
+
label: 'Ignore button press',
|
174
|
+
description: 'When true, DTMF (digit) presses are ignored, disabling menu navigation or call transfers triggered by keypad input.',
|
175
|
+
type: extensions_core_1.FieldType.STRING,
|
176
|
+
required: false,
|
177
|
+
options: {
|
178
|
+
dropdownOptions: sharedActionFields_1.dropdownOptionsBoolean,
|
179
|
+
},
|
180
|
+
},
|
181
|
+
timezone: {
|
182
|
+
id: 'timezone',
|
183
|
+
label: 'Timezone',
|
184
|
+
description: 'Set the timezone for the call. Handled automatically for calls in the US.',
|
185
|
+
type: extensions_core_1.FieldType.STRING,
|
186
|
+
required: false,
|
187
|
+
options: {
|
188
|
+
dropdownOptions: (0, getTimezones_1.getTimezoneOptions)(),
|
189
|
+
},
|
190
|
+
},
|
191
|
+
tools: {
|
192
|
+
id: 'tools',
|
193
|
+
label: 'Tools',
|
194
|
+
description: 'Interact with the real world through API calls.',
|
195
|
+
type: extensions_core_1.FieldType.JSON,
|
196
|
+
required: false,
|
197
|
+
},
|
198
|
+
voicemail_message: {
|
199
|
+
id: 'voicemail_message',
|
200
|
+
label: 'Voicemail message',
|
201
|
+
description: 'When the AI encounters a voicemail, it will leave this message after the beep and then immediately end the call.',
|
202
|
+
type: extensions_core_1.FieldType.STRING,
|
203
|
+
required: false,
|
204
|
+
},
|
205
|
+
voicemail_action: {
|
206
|
+
id: 'voicemail_action',
|
207
|
+
label: 'Voicemail action',
|
208
|
+
description: 'This is processed separately from the AI’s decision making, and overrides it. If voicemail_message is set, then the AI will leave the message regardless of the voicemail_action.',
|
209
|
+
type: extensions_core_1.FieldType.JSON,
|
210
|
+
required: false,
|
211
|
+
},
|
212
|
+
retry: {
|
213
|
+
id: 'retry',
|
214
|
+
label: 'Retry',
|
215
|
+
description: 'If the call goes to voicemail, you can set up the call to retry, after a configurable delay.',
|
216
|
+
type: extensions_core_1.FieldType.JSON,
|
217
|
+
required: false,
|
218
|
+
},
|
219
|
+
max_duration: {
|
220
|
+
id: 'max_duration',
|
221
|
+
label: 'Max duration (minutes)',
|
222
|
+
description: 'When the call starts, a timer is set for the max_duration minutes. At the end of that timer, if the call is still active it will be automatically ended.',
|
223
|
+
type: extensions_core_1.FieldType.NUMERIC,
|
224
|
+
required: false,
|
225
|
+
},
|
226
|
+
record: {
|
227
|
+
id: 'record',
|
228
|
+
label: 'Record call',
|
229
|
+
description: 'When your call completes, you can access through the recording_url field in the call details or your webhook.',
|
230
|
+
type: extensions_core_1.FieldType.STRING,
|
231
|
+
required: false,
|
232
|
+
options: {
|
233
|
+
dropdownOptions: sharedActionFields_1.dropdownOptionsBoolean,
|
234
|
+
},
|
235
|
+
},
|
236
|
+
metadata: {
|
237
|
+
id: 'metadata',
|
238
|
+
label: 'Metadata',
|
239
|
+
description: 'Add any additional information you want to associate with the call. This data is accessible for all calls, regardless of if they are picked up or not. This can be used to track calls or add custom data to the call.',
|
240
|
+
type: extensions_core_1.FieldType.JSON,
|
241
|
+
required: false,
|
242
|
+
},
|
243
|
+
analysis_preset: {
|
244
|
+
id: 'analysis_preset',
|
245
|
+
label: 'Analysis preset',
|
246
|
+
description: 'The analysis preset UUID used to analyze the call, must be created on the analysis presets page.',
|
247
|
+
type: extensions_core_1.FieldType.STRING,
|
248
|
+
required: false,
|
249
|
+
},
|
250
|
+
available_tags: {
|
251
|
+
id: 'available_tags',
|
252
|
+
label: 'Available tags',
|
253
|
+
description: 'Comma-separated list of disposition tags. Upon call completion, the AI will evaluate the transcripts of the call and assign one of the tags to the “disposition_tag” field.',
|
254
|
+
type: extensions_core_1.FieldType.STRING,
|
255
|
+
required: false,
|
256
|
+
},
|
257
|
+
geospatial_dialing: {
|
258
|
+
id: 'geospatial_dialing',
|
259
|
+
label: 'Geospatial dialing',
|
260
|
+
description: 'The geospatial dialing pool UUID.',
|
261
|
+
type: extensions_core_1.FieldType.STRING,
|
262
|
+
required: false,
|
263
|
+
},
|
264
|
+
precall_dtmf_sequence: {
|
265
|
+
id: 'precall_dtmf_sequence',
|
266
|
+
label: 'Pre-call DTMF sequence',
|
267
|
+
description: 'A sequence of DTMF digits that will be played before the call starts.',
|
268
|
+
type: extensions_core_1.FieldType.STRING,
|
269
|
+
required: false,
|
270
|
+
},
|
26
271
|
requestData: {
|
27
272
|
id: 'requestData',
|
28
273
|
label: 'Request data',
|
@@ -41,39 +286,49 @@ exports.fields = {
|
|
41
286
|
exports.FieldsValidationSchema = zod_1.default.object({
|
42
287
|
phoneNumber: zod_1.default.string().min(1),
|
43
288
|
task: zod_1.default.string().min(1),
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
289
|
+
voice: zod_1.default.string().optional(),
|
290
|
+
background_track: atoms_1.BackgroundTrackEnum.optional(),
|
291
|
+
first_sentence: zod_1.default.string().optional(),
|
292
|
+
wait_for_greeting: sharedActionFields_1.dropdownOptionsBooleanSchema.optional(),
|
293
|
+
block_interruptions: sharedActionFields_1.dropdownOptionsBooleanSchema.optional(),
|
294
|
+
interruption_threshold: zod_1.default.number().optional(),
|
295
|
+
model: atoms_1.ModelSchema.optional(),
|
296
|
+
temperature: zod_1.default.number().optional(),
|
297
|
+
dynamic_data: sharedActionFields_1.JsonArraySchema.optional(),
|
298
|
+
keywords: zod_1.default
|
299
|
+
.string()
|
300
|
+
.transform((val) => val
|
301
|
+
.trim()
|
302
|
+
.split(',')
|
303
|
+
.map((keyword) => keyword.trim()))
|
304
|
+
.optional(),
|
305
|
+
pronunciation_guide: sharedActionFields_1.JsonArraySchema.optional(),
|
306
|
+
language: zod_1.default.string().optional(),
|
307
|
+
local_dialing: sharedActionFields_1.dropdownOptionsBooleanSchema.optional(),
|
308
|
+
voicemail_sms: sharedActionFields_1.JsonObjectSchema.optional(),
|
309
|
+
dispatch_hours: sharedActionFields_1.JsonObjectSchema.optional(),
|
310
|
+
sensitive_voicemail_detection: sharedActionFields_1.dropdownOptionsBooleanSchema.optional(),
|
311
|
+
noise_cancellation: sharedActionFields_1.dropdownOptionsBooleanSchema.optional(),
|
312
|
+
ignore_button_press: sharedActionFields_1.dropdownOptionsBooleanSchema.optional(),
|
313
|
+
timezone: zod_1.default.string().optional(),
|
314
|
+
tools: sharedActionFields_1.JsonArraySchema.optional(),
|
315
|
+
voicemail_message: zod_1.default.string().optional(),
|
316
|
+
voicemail_action: atoms_1.VoicemailActionSchema.optional(),
|
317
|
+
retry: sharedActionFields_1.JsonObjectSchema.optional(),
|
318
|
+
max_duration: zod_1.default.number().optional(),
|
319
|
+
record: sharedActionFields_1.dropdownOptionsBooleanSchema.optional(),
|
320
|
+
metadata: sharedActionFields_1.JsonObjectSchema.optional(),
|
321
|
+
analysis_preset: zod_1.default.string().optional(),
|
322
|
+
available_tags: zod_1.default
|
323
|
+
.string()
|
324
|
+
.transform((val) => val
|
325
|
+
.trim()
|
326
|
+
.split(',')
|
327
|
+
.map((tag) => tag.trim()))
|
328
|
+
.optional(),
|
329
|
+
geospatial_dialing: zod_1.default.string().optional(),
|
330
|
+
precall_dtmf_sequence: zod_1.default.string().optional(),
|
331
|
+
requestData: sharedActionFields_1.JsonObjectSchema.optional(),
|
332
|
+
analysisSchema: sharedActionFields_1.JsonObjectSchema.optional(),
|
78
333
|
});
|
79
334
|
//# sourceMappingURL=fields.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"fields.js","sourceRoot":"","sources":["../../../../../../extensions/bland/actions/sendCall/config/fields.ts"],"names":[],"mappings":";;;;;;AAAA,mEAIsC;AACtC,
|
1
|
+
{"version":3,"file":"fields.js","sourceRoot":"","sources":["../../../../../../extensions/bland/actions/sendCall/config/fields.ts"],"names":[],"mappings":";;;;;;AAAA,mEAIsC;AACtC,qDAKkC;AAClC,8CAAwC;AACxC,iGAAmG;AACnG,wEAKwC;AAE3B,QAAA,MAAM,GAAG;IACpB,WAAW,EAAE;QACX,EAAE,EAAE,aAAa;QACjB,KAAK,EAAE,cAAc;QACrB,WAAW,EAAE,2BAA2B;QACxC,IAAI,EAAE,2BAAS,CAAC,MAAM;QACtB,UAAU,EAAE,4BAAU,CAAC,KAAK;QAC5B,QAAQ,EAAE,IAAI;KACf;IACD,IAAI,EAAE;QACJ,EAAE,EAAE,MAAM;QACV,KAAK,EAAE,MAAM;QACb,WAAW,EACT,0FAA0F;QAC5F,IAAI,EAAE,2BAAS,CAAC,IAAI;QACpB,QAAQ,EAAE,IAAI;KACf;IACD,KAAK,EAAE;QACL,EAAE,EAAE,OAAO;QACX,KAAK,EAAE,OAAO;QACd,WAAW,EACT,kHAAkH;QACpH,IAAI,EAAE,2BAAS,CAAC,MAAM;QACtB,QAAQ,EAAE,KAAK;KAChB;IACD,gBAAgB,EAAE;QAChB,EAAE,EAAE,kBAAkB;QACtB,KAAK,EAAE,kBAAkB;QACzB,WAAW,EACT,gMAAgM;QAClM,IAAI,EAAE,2BAAS,CAAC,MAAM;QACtB,QAAQ,EAAE,KAAK;QACf,OAAO,EAAE;YACP,eAAe,EAAE,8BAAsB;SACxC;KACF;IACD,cAAc,EAAE;QACd,EAAE,EAAE,gBAAgB;QACpB,KAAK,EAAE,gBAAgB;QACvB,WAAW,EACT,6EAA6E;QAC/E,IAAI,EAAE,2BAAS,CAAC,MAAM;QACtB,QAAQ,EAAE,KAAK;KAChB;IACD,iBAAiB,EAAE;QACjB,EAAE,EAAE,mBAAmB;QACvB,KAAK,EAAE,mBAAmB;QAC1B,WAAW,EACT,4FAA4F;QAC9F,IAAI,EAAE,2BAAS,CAAC,MAAM;QACtB,QA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QAAQ,EAAE;IACxC,cAAc,EAAE,qCAAgB,CAAC,QAAQ,EAAE;CACM,CAAC,CAAA"}
|
@@ -2,9 +2,10 @@
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.sendCall = void 0;
|
4
4
|
const extensions_core_1 = require("@awell-health/extensions-core");
|
5
|
-
// import { addActivityEventLog } from '../../../../src/lib/awell/addEventLog'
|
6
5
|
const validatePayloadAndCreateSdk_1 = require("../../lib/validatePayloadAndCreateSdk");
|
7
6
|
const config_1 = require("./config");
|
7
|
+
const schema_1 = require("../../api/schema");
|
8
|
+
const addEventLog_1 = require("../../../../src/lib/awell/addEventLog");
|
8
9
|
exports.sendCall = {
|
9
10
|
key: 'sendCall',
|
10
11
|
category: extensions_core_1.Category.COMMUNICATION,
|
@@ -18,50 +19,32 @@ exports.sendCall = {
|
|
18
19
|
fieldsSchema: config_1.FieldsValidationSchema,
|
19
20
|
payload,
|
20
21
|
});
|
21
|
-
const
|
22
|
-
|
23
|
-
awell_care_flow_definition_id: payload.pathway.definition_id,
|
24
|
-
awell_care_flow_id: payload.pathway.id,
|
25
|
-
awell_activity_id: payload.activity.id,
|
26
|
-
};
|
27
|
-
const { data } = await blandSdk.sendCall({
|
22
|
+
const sendCallInput = schema_1.SendCallInputSchema.parse({
|
23
|
+
...fields,
|
28
24
|
phone_number: fields.phoneNumber,
|
29
|
-
task: fields.task,
|
30
|
-
/**
|
31
|
-
* A POST request will be made to this endpoint when the call ends
|
32
|
-
*
|
33
|
-
* [!!]
|
34
|
-
* Currently only works with the sandbox environment but that's good enough for Workit bootcamp.
|
35
|
-
* Todo: We need to ensure we grab the right base URL, depending on the environment.
|
36
|
-
*/
|
37
|
-
webhook: `https://workit-cloud-functions-105158578148.us-central1.run.app/?activity_id=${payload.activity.id}`,
|
38
25
|
request_data: fields.requestData,
|
39
|
-
metadata:
|
26
|
+
metadata: {
|
27
|
+
...fields.metadata,
|
28
|
+
awell_patient_id: payload.patient.id,
|
29
|
+
awell_care_flow_definition_id: payload.pathway.definition_id,
|
30
|
+
awell_care_flow_id: payload.pathway.id,
|
31
|
+
awell_activity_id: payload.activity.id,
|
32
|
+
},
|
40
33
|
analysis_schema: fields.analysisSchema,
|
41
34
|
});
|
42
|
-
|
43
|
-
|
44
|
-
|
35
|
+
const { data } = await blandSdk.sendCall({
|
36
|
+
...sendCallInput,
|
37
|
+
});
|
38
|
+
await onComplete({
|
39
|
+
data_points: {
|
40
|
+
call_id: data.call_id,
|
41
|
+
},
|
42
|
+
events: [
|
43
|
+
(0, addEventLog_1.addActivityEventLog)({
|
44
|
+
message: `Request for call sent to Bland.\nStatus: ${data.status}\nCall ID: ${data.call_id}\nMessage: ${data.message}`,
|
45
|
+
}),
|
46
|
+
],
|
45
47
|
});
|
46
|
-
/**
|
47
|
-
* Completion of the activity happens via a
|
48
|
-
* Webhook to the endpoint provided in the `webhook` field.
|
49
|
-
*
|
50
|
-
* In an ideal world, we have an additional method like `await onWait({events...})`
|
51
|
-
* that we can use to push some logs to the activity's timeline without completing or erroring the activity.
|
52
|
-
* We can use this to log the call status and call ID which we receive immediately from Bland when we make the request.
|
53
|
-
*/
|
54
|
-
// await onComplete({
|
55
|
-
// data_points: {
|
56
|
-
// callId: data.call_id,
|
57
|
-
// status: data.status,
|
58
|
-
// },
|
59
|
-
// events: [
|
60
|
-
// addActivityEventLog({
|
61
|
-
// message: `Call sent to Bland. Status: ${data.status}, Call ID: ${data.call_id}, Message: ${data.message}`,
|
62
|
-
// }),
|
63
|
-
// ],
|
64
|
-
// })
|
65
48
|
},
|
66
49
|
};
|
67
50
|
//# sourceMappingURL=sendCall.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"sendCall.js","sourceRoot":"","sources":["../../../../../extensions/bland/actions/sendCall/sendCall.ts"],"names":[],"mappings":";;;AACA,mEAAwD;AACxD,
|
1
|
+
{"version":3,"file":"sendCall.js","sourceRoot":"","sources":["../../../../../extensions/bland/actions/sendCall/sendCall.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CAAC,MAAM,cAAc,IAAI,CAAC,OAAO,cAAc,IAAI,CAAC,OAAO,EAAE;iBACvH,CAAC;aACH;SACF,CAAC,CAAA;IACJ,CAAC;CACF,CAAA"}
|
@@ -3,8 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.dataPoints = void 0;
|
4
4
|
exports.dataPoints = {
|
5
5
|
call_id: {
|
6
|
-
// This key cannot be changed as it will break the integration!
|
7
|
-
// Needs to match exactly with the key in the payload sent by Bland
|
8
6
|
key: 'call_id',
|
9
7
|
valueType: 'string',
|
10
8
|
},
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"dataPoints.js","sourceRoot":"","sources":["../../../../../../extensions/bland/actions/sendCallWithPathway/config/dataPoints.ts"],"names":[],"mappings":";;;AAEa,QAAA,UAAU,GAAG;IACxB,OAAO,EAAE;QACP
|
1
|
+
{"version":3,"file":"dataPoints.js","sourceRoot":"","sources":["../../../../../../extensions/bland/actions/sendCallWithPathway/config/dataPoints.ts"],"names":[],"mappings":";;;AAEa,QAAA,UAAU,GAAG;IACxB,OAAO,EAAE;QACP,GAAG,EAAE,SAAS;QACd,SAAS,EAAE,QAAQ;KACpB;CAC4C,CAAA"}
|