@awell-health/awell-extensions 2.0.228 → 2.0.230

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 (71) hide show
  1. package/dist/extensions/bland/actions/getCallDetails/config/dataPoints.d.ts +48 -0
  2. package/dist/extensions/bland/actions/getCallDetails/config/dataPoints.js +48 -0
  3. package/dist/extensions/bland/actions/getCallDetails/config/dataPoints.js.map +1 -1
  4. package/dist/extensions/bland/actions/getCallDetails/config/fields.js +1 -1
  5. package/dist/extensions/bland/actions/getCallDetails/config/fields.js.map +1 -1
  6. package/dist/extensions/bland/actions/getCallDetails/getCallDetails.js +24 -8
  7. package/dist/extensions/bland/actions/getCallDetails/getCallDetails.js.map +1 -1
  8. package/dist/extensions/bland/actions/index.d.ts +549 -1
  9. package/dist/extensions/bland/actions/sendCall/config/dataPoints.js +0 -2
  10. package/dist/extensions/bland/actions/sendCall/config/dataPoints.js.map +1 -1
  11. package/dist/extensions/bland/actions/sendCall/config/fields.d.ts +369 -2
  12. package/dist/extensions/bland/actions/sendCall/config/fields.js +299 -36
  13. package/dist/extensions/bland/actions/sendCall/config/fields.js.map +1 -1
  14. package/dist/extensions/bland/actions/sendCall/sendCall.js +23 -40
  15. package/dist/extensions/bland/actions/sendCall/sendCall.js.map +1 -1
  16. package/dist/extensions/bland/actions/sendCallWithPathway/config/dataPoints.js +0 -2
  17. package/dist/extensions/bland/actions/sendCallWithPathway/config/dataPoints.js.map +1 -1
  18. package/dist/extensions/bland/actions/sendCallWithPathway/config/fields.d.ts +369 -2
  19. package/dist/extensions/bland/actions/sendCallWithPathway/config/fields.js +300 -37
  20. package/dist/extensions/bland/actions/sendCallWithPathway/config/fields.js.map +1 -1
  21. package/dist/extensions/bland/actions/sendCallWithPathway/sendCallWithPathway.js +23 -40
  22. package/dist/extensions/bland/actions/sendCallWithPathway/sendCallWithPathway.js.map +1 -1
  23. package/dist/extensions/bland/api/schema/GetCallDetails.schema.d.ts +20 -29
  24. package/dist/extensions/bland/api/schema/GetCallDetails.schema.js +8 -9
  25. package/dist/extensions/bland/api/schema/GetCallDetails.schema.js.map +1 -1
  26. package/dist/extensions/bland/api/schema/SendCall.schema.d.ts +281 -34
  27. package/dist/extensions/bland/api/schema/SendCall.schema.js +53 -15
  28. package/dist/extensions/bland/api/schema/SendCall.schema.js.map +1 -1
  29. package/dist/extensions/bland/api/schema/atoms/BackgroundTrackSchema.d.ts +7 -0
  30. package/dist/extensions/bland/api/schema/atoms/BackgroundTrackSchema.js +21 -0
  31. package/dist/extensions/bland/api/schema/atoms/BackgroundTrackSchema.js.map +1 -0
  32. package/dist/extensions/bland/api/schema/atoms/ModelSchema.d.ts +2 -0
  33. package/dist/extensions/bland/api/schema/atoms/ModelSchema.js +6 -0
  34. package/dist/extensions/bland/api/schema/atoms/ModelSchema.js.map +1 -0
  35. package/dist/extensions/bland/api/schema/atoms/VoicemailActionSchema.d.ts +2 -0
  36. package/dist/extensions/bland/api/schema/atoms/VoicemailActionSchema.js +10 -0
  37. package/dist/extensions/bland/api/schema/atoms/VoicemailActionSchema.js.map +1 -0
  38. package/dist/extensions/bland/api/schema/atoms/WebhookEventsSchema.d.ts +2 -0
  39. package/dist/extensions/bland/api/schema/atoms/WebhookEventsSchema.js +6 -0
  40. package/dist/extensions/bland/api/schema/atoms/WebhookEventsSchema.js.map +1 -0
  41. package/dist/extensions/bland/api/schema/atoms/index.d.ts +4 -0
  42. package/dist/extensions/bland/api/schema/atoms/index.js +21 -0
  43. package/dist/extensions/bland/api/schema/atoms/index.js.map +1 -0
  44. package/dist/extensions/bland/index.js +2 -0
  45. package/dist/extensions/bland/index.js.map +1 -1
  46. package/dist/extensions/bland/lib/sharedActionFields.d.ts +8 -0
  47. package/dist/extensions/bland/lib/sharedActionFields.js +59 -0
  48. package/dist/extensions/bland/lib/sharedActionFields.js.map +1 -0
  49. package/dist/extensions/bland/webhooks/CallCompleted/__testdata__/callCompleted.mock.d.ts +68 -0
  50. package/dist/extensions/bland/webhooks/CallCompleted/__testdata__/callCompleted.mock.js +108 -0
  51. package/dist/extensions/bland/webhooks/CallCompleted/__testdata__/callCompleted.mock.js.map +1 -0
  52. package/dist/extensions/bland/webhooks/CallCompleted/callCompleted.d.ts +12 -0
  53. package/dist/extensions/bland/webhooks/CallCompleted/callCompleted.js +31 -0
  54. package/dist/extensions/bland/webhooks/CallCompleted/callCompleted.js.map +1 -0
  55. package/dist/extensions/bland/webhooks/CallCompleted/index.d.ts +1 -0
  56. package/dist/extensions/bland/webhooks/CallCompleted/index.js +18 -0
  57. package/dist/extensions/bland/webhooks/CallCompleted/index.js.map +1 -0
  58. package/dist/extensions/bland/webhooks/CallCompleted/types.d.ts +37 -0
  59. package/dist/extensions/bland/webhooks/CallCompleted/types.js +3 -0
  60. package/dist/extensions/bland/webhooks/CallCompleted/types.js.map +1 -0
  61. package/dist/extensions/bland/webhooks/index.d.ts +9 -0
  62. package/dist/extensions/bland/webhooks/index.js +6 -0
  63. package/dist/extensions/bland/webhooks/index.js.map +1 -0
  64. package/dist/extensions/elation/webhooks/appointmentCreatedOrUpdated.js +4 -3
  65. package/dist/extensions/elation/webhooks/appointmentCreatedOrUpdated.js.map +1 -1
  66. package/dist/extensions/elation/webhooks/patientCreatedOrUpdated.js +4 -3
  67. package/dist/extensions/elation/webhooks/patientCreatedOrUpdated.js.map +1 -1
  68. package/dist/extensions/markdown.json +1 -1
  69. package/dist/extensions/text-em-all/actions/createCallBroadcast/config.d.ts +20 -20
  70. package/dist/extensions/text-em-all/actions/types.d.ts +14 -14
  71. package/package.json +1 -1
@@ -15,6 +15,280 @@ export declare const actions: {
15
15
  type: import("@awell-health/extensions-core").FieldType.TEXT;
16
16
  required: true;
17
17
  };
18
+ pathwayVersion: {
19
+ id: string;
20
+ label: string;
21
+ description: string;
22
+ type: import("@awell-health/extensions-core").FieldType.NUMERIC;
23
+ required: false;
24
+ };
25
+ voice: {
26
+ id: string;
27
+ label: string;
28
+ description: string;
29
+ type: import("@awell-health/extensions-core").FieldType.STRING;
30
+ required: false;
31
+ };
32
+ background_track: {
33
+ id: string;
34
+ label: string;
35
+ description: string;
36
+ type: import("@awell-health/extensions-core").FieldType.STRING;
37
+ required: false;
38
+ options: {
39
+ dropdownOptions: {
40
+ value: string;
41
+ label: string;
42
+ }[];
43
+ };
44
+ };
45
+ first_sentence: {
46
+ id: string;
47
+ label: string;
48
+ description: string;
49
+ type: import("@awell-health/extensions-core").FieldType.STRING;
50
+ required: false;
51
+ };
52
+ wait_for_greeting: {
53
+ id: string;
54
+ label: string;
55
+ description: string;
56
+ type: import("@awell-health/extensions-core").FieldType.STRING;
57
+ required: false;
58
+ options: {
59
+ dropdownOptions: {
60
+ value: string;
61
+ label: string;
62
+ }[];
63
+ };
64
+ };
65
+ block_interruptions: {
66
+ id: string;
67
+ label: string;
68
+ description: string;
69
+ type: import("@awell-health/extensions-core").FieldType.STRING;
70
+ required: false;
71
+ options: {
72
+ dropdownOptions: {
73
+ value: string;
74
+ label: string;
75
+ }[];
76
+ };
77
+ };
78
+ interruption_threshold: {
79
+ id: string;
80
+ label: string;
81
+ description: string;
82
+ type: import("@awell-health/extensions-core").FieldType.NUMERIC;
83
+ required: false;
84
+ };
85
+ model: {
86
+ id: string;
87
+ label: string;
88
+ description: string;
89
+ type: import("@awell-health/extensions-core").FieldType.STRING;
90
+ required: false;
91
+ options: {
92
+ dropdownOptions: {
93
+ label: "base" | "turbo";
94
+ value: "base" | "turbo";
95
+ }[];
96
+ };
97
+ };
98
+ temperature: {
99
+ id: string;
100
+ label: string;
101
+ description: string;
102
+ type: import("@awell-health/extensions-core").FieldType.NUMERIC;
103
+ required: false;
104
+ };
105
+ dynamic_data: {
106
+ id: string;
107
+ label: string;
108
+ description: string;
109
+ type: import("@awell-health/extensions-core").FieldType.JSON;
110
+ required: false;
111
+ };
112
+ keywords: {
113
+ id: string;
114
+ label: string;
115
+ description: string;
116
+ type: import("@awell-health/extensions-core").FieldType.STRING;
117
+ required: false;
118
+ };
119
+ pronunciation_guide: {
120
+ id: string;
121
+ label: string;
122
+ description: string;
123
+ type: import("@awell-health/extensions-core").FieldType.JSON;
124
+ required: false;
125
+ };
126
+ language: {
127
+ id: string;
128
+ label: string;
129
+ description: string;
130
+ type: import("@awell-health/extensions-core").FieldType.STRING;
131
+ required: false;
132
+ };
133
+ local_dialing: {
134
+ id: string;
135
+ label: string;
136
+ description: string;
137
+ type: import("@awell-health/extensions-core").FieldType.STRING;
138
+ required: false;
139
+ options: {
140
+ dropdownOptions: {
141
+ value: string;
142
+ label: string;
143
+ }[];
144
+ };
145
+ };
146
+ voicemail_sms: {
147
+ id: string;
148
+ label: string;
149
+ description: string;
150
+ type: import("@awell-health/extensions-core").FieldType.JSON;
151
+ required: false;
152
+ };
153
+ dispatch_hours: {
154
+ id: string;
155
+ label: string;
156
+ description: string;
157
+ type: import("@awell-health/extensions-core").FieldType.JSON;
158
+ required: false;
159
+ };
160
+ sensitive_voicemail_detection: {
161
+ id: string;
162
+ label: string;
163
+ description: string;
164
+ type: import("@awell-health/extensions-core").FieldType.STRING;
165
+ required: false;
166
+ options: {
167
+ dropdownOptions: {
168
+ value: string;
169
+ label: string;
170
+ }[];
171
+ };
172
+ };
173
+ noise_cancellation: {
174
+ id: string;
175
+ label: string;
176
+ description: string;
177
+ type: import("@awell-health/extensions-core").FieldType.STRING;
178
+ required: false;
179
+ options: {
180
+ dropdownOptions: {
181
+ value: string;
182
+ label: string;
183
+ }[];
184
+ };
185
+ };
186
+ ignore_button_press: {
187
+ id: string;
188
+ label: string;
189
+ description: string;
190
+ type: import("@awell-health/extensions-core").FieldType.STRING;
191
+ required: false;
192
+ options: {
193
+ dropdownOptions: {
194
+ value: string;
195
+ label: string;
196
+ }[];
197
+ };
198
+ };
199
+ timezone: {
200
+ id: string;
201
+ label: string;
202
+ description: string;
203
+ type: import("@awell-health/extensions-core").FieldType.STRING;
204
+ required: false;
205
+ options: {
206
+ dropdownOptions: import("../../awell/v1/actions/updatePatient/config/getTimezones").OptionProps[];
207
+ };
208
+ };
209
+ tools: {
210
+ id: string;
211
+ label: string;
212
+ description: string;
213
+ type: import("@awell-health/extensions-core").FieldType.JSON;
214
+ required: false;
215
+ };
216
+ voicemail_message: {
217
+ id: string;
218
+ label: string;
219
+ description: string;
220
+ type: import("@awell-health/extensions-core").FieldType.STRING;
221
+ required: false;
222
+ };
223
+ voicemail_action: {
224
+ id: string;
225
+ label: string;
226
+ description: string;
227
+ type: import("@awell-health/extensions-core").FieldType.JSON;
228
+ required: false;
229
+ };
230
+ retry: {
231
+ id: string;
232
+ label: string;
233
+ description: string;
234
+ type: import("@awell-health/extensions-core").FieldType.JSON;
235
+ required: false;
236
+ };
237
+ max_duration: {
238
+ id: string;
239
+ label: string;
240
+ description: string;
241
+ type: import("@awell-health/extensions-core").FieldType.NUMERIC;
242
+ required: false;
243
+ };
244
+ record: {
245
+ id: string;
246
+ label: string;
247
+ description: string;
248
+ type: import("@awell-health/extensions-core").FieldType.STRING;
249
+ required: false;
250
+ options: {
251
+ dropdownOptions: {
252
+ value: string;
253
+ label: string;
254
+ }[];
255
+ };
256
+ };
257
+ metadata: {
258
+ id: string;
259
+ label: string;
260
+ description: string;
261
+ type: import("@awell-health/extensions-core").FieldType.JSON;
262
+ required: false;
263
+ };
264
+ analysis_preset: {
265
+ id: string;
266
+ label: string;
267
+ description: string;
268
+ type: import("@awell-health/extensions-core").FieldType.STRING;
269
+ required: false;
270
+ };
271
+ available_tags: {
272
+ id: string;
273
+ label: string;
274
+ description: string;
275
+ type: import("@awell-health/extensions-core").FieldType.STRING;
276
+ required: false;
277
+ };
278
+ geospatial_dialing: {
279
+ id: string;
280
+ label: string;
281
+ description: string;
282
+ type: import("@awell-health/extensions-core").FieldType.STRING;
283
+ required: false;
284
+ };
285
+ precall_dtmf_sequence: {
286
+ id: string;
287
+ label: string;
288
+ description: string;
289
+ type: import("@awell-health/extensions-core").FieldType.STRING;
290
+ required: false;
291
+ };
18
292
  requestData: {
19
293
  id: string;
20
294
  label: string;
@@ -54,6 +328,280 @@ export declare const actions: {
54
328
  type: import("@awell-health/extensions-core").FieldType.TEXT;
55
329
  required: true;
56
330
  };
331
+ pathwayVersion: {
332
+ id: string;
333
+ label: string;
334
+ description: string;
335
+ type: import("@awell-health/extensions-core").FieldType.NUMERIC;
336
+ required: false;
337
+ };
338
+ voice: {
339
+ id: string;
340
+ label: string;
341
+ description: string;
342
+ type: import("@awell-health/extensions-core").FieldType.STRING;
343
+ required: false;
344
+ };
345
+ background_track: {
346
+ id: string;
347
+ label: string;
348
+ description: string;
349
+ type: import("@awell-health/extensions-core").FieldType.STRING;
350
+ required: false;
351
+ options: {
352
+ dropdownOptions: {
353
+ value: string;
354
+ label: string;
355
+ }[];
356
+ };
357
+ };
358
+ first_sentence: {
359
+ id: string;
360
+ label: string;
361
+ description: string;
362
+ type: import("@awell-health/extensions-core").FieldType.STRING;
363
+ required: false;
364
+ };
365
+ wait_for_greeting: {
366
+ id: string;
367
+ label: string;
368
+ description: string;
369
+ type: import("@awell-health/extensions-core").FieldType.STRING;
370
+ required: false;
371
+ options: {
372
+ dropdownOptions: {
373
+ value: string;
374
+ label: string;
375
+ }[];
376
+ };
377
+ };
378
+ block_interruptions: {
379
+ id: string;
380
+ label: string;
381
+ description: string;
382
+ type: import("@awell-health/extensions-core").FieldType.STRING;
383
+ required: false;
384
+ options: {
385
+ dropdownOptions: {
386
+ value: string;
387
+ label: string;
388
+ }[];
389
+ };
390
+ };
391
+ interruption_threshold: {
392
+ id: string;
393
+ label: string;
394
+ description: string;
395
+ type: import("@awell-health/extensions-core").FieldType.NUMERIC;
396
+ required: false;
397
+ };
398
+ model: {
399
+ id: string;
400
+ label: string;
401
+ description: string;
402
+ type: import("@awell-health/extensions-core").FieldType.STRING;
403
+ required: false;
404
+ options: {
405
+ dropdownOptions: {
406
+ label: "base" | "turbo";
407
+ value: "base" | "turbo";
408
+ }[];
409
+ };
410
+ };
411
+ temperature: {
412
+ id: string;
413
+ label: string;
414
+ description: string;
415
+ type: import("@awell-health/extensions-core").FieldType.NUMERIC;
416
+ required: false;
417
+ };
418
+ dynamic_data: {
419
+ id: string;
420
+ label: string;
421
+ description: string;
422
+ type: import("@awell-health/extensions-core").FieldType.JSON;
423
+ required: false;
424
+ };
425
+ keywords: {
426
+ id: string;
427
+ label: string;
428
+ description: string;
429
+ type: import("@awell-health/extensions-core").FieldType.STRING;
430
+ required: false;
431
+ };
432
+ pronunciation_guide: {
433
+ id: string;
434
+ label: string;
435
+ description: string;
436
+ type: import("@awell-health/extensions-core").FieldType.JSON;
437
+ required: false;
438
+ };
439
+ language: {
440
+ id: string;
441
+ label: string;
442
+ description: string;
443
+ type: import("@awell-health/extensions-core").FieldType.STRING;
444
+ required: false;
445
+ };
446
+ local_dialing: {
447
+ id: string;
448
+ label: string;
449
+ description: string;
450
+ type: import("@awell-health/extensions-core").FieldType.STRING;
451
+ required: false;
452
+ options: {
453
+ dropdownOptions: {
454
+ value: string;
455
+ label: string;
456
+ }[];
457
+ };
458
+ };
459
+ voicemail_sms: {
460
+ id: string;
461
+ label: string;
462
+ description: string;
463
+ type: import("@awell-health/extensions-core").FieldType.JSON;
464
+ required: false;
465
+ };
466
+ dispatch_hours: {
467
+ id: string;
468
+ label: string;
469
+ description: string;
470
+ type: import("@awell-health/extensions-core").FieldType.JSON;
471
+ required: false;
472
+ };
473
+ sensitive_voicemail_detection: {
474
+ id: string;
475
+ label: string;
476
+ description: string;
477
+ type: import("@awell-health/extensions-core").FieldType.STRING;
478
+ required: false;
479
+ options: {
480
+ dropdownOptions: {
481
+ value: string;
482
+ label: string;
483
+ }[];
484
+ };
485
+ };
486
+ noise_cancellation: {
487
+ id: string;
488
+ label: string;
489
+ description: string;
490
+ type: import("@awell-health/extensions-core").FieldType.STRING;
491
+ required: false;
492
+ options: {
493
+ dropdownOptions: {
494
+ value: string;
495
+ label: string;
496
+ }[];
497
+ };
498
+ };
499
+ ignore_button_press: {
500
+ id: string;
501
+ label: string;
502
+ description: string;
503
+ type: import("@awell-health/extensions-core").FieldType.STRING;
504
+ required: false;
505
+ options: {
506
+ dropdownOptions: {
507
+ value: string;
508
+ label: string;
509
+ }[];
510
+ };
511
+ };
512
+ timezone: {
513
+ id: string;
514
+ label: string;
515
+ description: string;
516
+ type: import("@awell-health/extensions-core").FieldType.STRING;
517
+ required: false;
518
+ options: {
519
+ dropdownOptions: import("../../awell/v1/actions/updatePatient/config/getTimezones").OptionProps[];
520
+ };
521
+ };
522
+ tools: {
523
+ id: string;
524
+ label: string;
525
+ description: string;
526
+ type: import("@awell-health/extensions-core").FieldType.JSON;
527
+ required: false;
528
+ };
529
+ voicemail_message: {
530
+ id: string;
531
+ label: string;
532
+ description: string;
533
+ type: import("@awell-health/extensions-core").FieldType.STRING;
534
+ required: false;
535
+ };
536
+ voicemail_action: {
537
+ id: string;
538
+ label: string;
539
+ description: string;
540
+ type: import("@awell-health/extensions-core").FieldType.JSON;
541
+ required: false;
542
+ };
543
+ retry: {
544
+ id: string;
545
+ label: string;
546
+ description: string;
547
+ type: import("@awell-health/extensions-core").FieldType.JSON;
548
+ required: false;
549
+ };
550
+ max_duration: {
551
+ id: string;
552
+ label: string;
553
+ description: string;
554
+ type: import("@awell-health/extensions-core").FieldType.NUMERIC;
555
+ required: false;
556
+ };
557
+ record: {
558
+ id: string;
559
+ label: string;
560
+ description: string;
561
+ type: import("@awell-health/extensions-core").FieldType.STRING;
562
+ required: false;
563
+ options: {
564
+ dropdownOptions: {
565
+ value: string;
566
+ label: string;
567
+ }[];
568
+ };
569
+ };
570
+ metadata: {
571
+ id: string;
572
+ label: string;
573
+ description: string;
574
+ type: import("@awell-health/extensions-core").FieldType.JSON;
575
+ required: false;
576
+ };
577
+ analysis_preset: {
578
+ id: string;
579
+ label: string;
580
+ description: string;
581
+ type: import("@awell-health/extensions-core").FieldType.STRING;
582
+ required: false;
583
+ };
584
+ available_tags: {
585
+ id: string;
586
+ label: string;
587
+ description: string;
588
+ type: import("@awell-health/extensions-core").FieldType.STRING;
589
+ required: false;
590
+ };
591
+ geospatial_dialing: {
592
+ id: string;
593
+ label: string;
594
+ description: string;
595
+ type: import("@awell-health/extensions-core").FieldType.STRING;
596
+ required: false;
597
+ };
598
+ precall_dtmf_sequence: {
599
+ id: string;
600
+ label: string;
601
+ description: string;
602
+ type: import("@awell-health/extensions-core").FieldType.STRING;
603
+ required: false;
604
+ };
57
605
  requestData: {
58
606
  id: string;
59
607
  label: string;
@@ -93,5 +641,5 @@ export declare const actions: {
93
641
  description: string;
94
642
  required: true;
95
643
  };
96
- }, "callData">;
644
+ }, "completed" | "from" | "metadata" | "to" | "summary" | "analysis" | "transcripts" | "analysisSchema" | "callData" | "callLength" | "startedAt" | "endAt" | "concatenatedTranscript">;
97
645
  };
@@ -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/sendCall/config/dataPoints.ts"],"names":[],"mappings":";;;AAEa,QAAA,UAAU,GAAG;IACxB,OAAO,EAAE;QACP,+DAA+D;QAC/D,mEAAmE;QACnE,GAAG,EAAE,SAAS;QACd,SAAS,EAAE,QAAQ;KACpB;CAC4C,CAAA"}
1
+ {"version":3,"file":"dataPoints.js","sourceRoot":"","sources":["../../../../../../extensions/bland/actions/sendCall/config/dataPoints.ts"],"names":[],"mappings":";;;AAEa,QAAA,UAAU,GAAG;IACxB,OAAO,EAAE;QACP,GAAG,EAAE,SAAS;QACd,SAAS,EAAE,QAAQ;KACpB;CAC4C,CAAA"}