@awell-health/awell-extensions 1.1.50 → 1.1.51

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,707 @@
1
+ export declare const testCases: ({
2
+ webhook: import("@awell-health/extensions-core").Webhook<"createdAppliedTagId", import("../../lib/types").HealthieWebhookPayload, {
3
+ apiUrl: {
4
+ key: string;
5
+ label: string;
6
+ obfuscated: false;
7
+ required: true;
8
+ description: string;
9
+ };
10
+ apiKey: {
11
+ key: string;
12
+ label: string;
13
+ obfuscated: true;
14
+ required: true;
15
+ description: string;
16
+ };
17
+ }>;
18
+ payload: {
19
+ resource_id: number;
20
+ resource_id_type: string;
21
+ event_type: string;
22
+ };
23
+ sdkMocks: {
24
+ method: string;
25
+ response: {
26
+ data: {
27
+ appliedTag: {
28
+ user_id: string;
29
+ };
30
+ };
31
+ };
32
+ }[];
33
+ dataPoints: {
34
+ key: string;
35
+ type: string;
36
+ }[];
37
+ } | {
38
+ webhook: import("@awell-health/extensions-core").Webhook<"deletedAppliedTagId", import("../../lib/types").HealthieWebhookPayload, {
39
+ apiUrl: {
40
+ key: string;
41
+ label: string;
42
+ obfuscated: false;
43
+ required: true;
44
+ description: string;
45
+ };
46
+ apiKey: {
47
+ key: string;
48
+ label: string;
49
+ obfuscated: true;
50
+ required: true;
51
+ description: string;
52
+ };
53
+ }>;
54
+ payload: {
55
+ resource_id: number;
56
+ resource_id_type: string;
57
+ event_type: string;
58
+ };
59
+ sdkMocks: {
60
+ method: string;
61
+ response: {
62
+ data: {
63
+ appliedTag: {
64
+ user_id: string;
65
+ };
66
+ };
67
+ };
68
+ }[];
69
+ dataPoints: {
70
+ key: string;
71
+ type: string;
72
+ }[];
73
+ } | {
74
+ webhook: import("@awell-health/extensions-core").Webhook<"appointmentId" | "appointment", import("../../lib/types").HealthieWebhookPayload, {
75
+ apiUrl: {
76
+ key: string;
77
+ label: string;
78
+ obfuscated: false;
79
+ required: true;
80
+ description: string;
81
+ };
82
+ apiKey: {
83
+ key: string;
84
+ label: string;
85
+ obfuscated: true;
86
+ required: true;
87
+ description: string;
88
+ };
89
+ }>;
90
+ payload: {
91
+ resource_id: number;
92
+ resource_id_type: string;
93
+ event_type: string;
94
+ };
95
+ sdkMocks: {
96
+ method: string;
97
+ response: {
98
+ data: {
99
+ appointment: {
100
+ user: {
101
+ id: string;
102
+ };
103
+ };
104
+ };
105
+ };
106
+ }[];
107
+ dataPoints: {
108
+ key: string;
109
+ type: string;
110
+ }[];
111
+ } | {
112
+ webhook: import("@awell-health/extensions-core").Webhook<"deletedAppointmentId", import("../../lib/types").HealthieWebhookPayload, {
113
+ apiUrl: {
114
+ key: string;
115
+ label: string;
116
+ obfuscated: false;
117
+ required: true;
118
+ description: string;
119
+ };
120
+ apiKey: {
121
+ key: string;
122
+ label: string;
123
+ obfuscated: true;
124
+ required: true;
125
+ description: string;
126
+ };
127
+ }>;
128
+ payload: {
129
+ resource_id: number;
130
+ resource_id_type: string;
131
+ event_type: string;
132
+ };
133
+ sdkMocks: {
134
+ method: string;
135
+ response: {
136
+ data: {
137
+ appointment: {
138
+ user: {
139
+ id: string;
140
+ };
141
+ };
142
+ };
143
+ };
144
+ }[];
145
+ dataPoints: {
146
+ key: string;
147
+ type: string;
148
+ }[];
149
+ } | {
150
+ webhook: import("@awell-health/extensions-core").Webhook<"appointment" | "updatedAppointmentId", import("../../lib/types").HealthieWebhookPayload, {
151
+ apiUrl: {
152
+ key: string;
153
+ label: string;
154
+ obfuscated: false;
155
+ required: true;
156
+ description: string;
157
+ };
158
+ apiKey: {
159
+ key: string;
160
+ label: string;
161
+ obfuscated: true;
162
+ required: true;
163
+ description: string;
164
+ };
165
+ }>;
166
+ payload: {
167
+ resource_id: number;
168
+ resource_id_type: string;
169
+ event_type: string;
170
+ };
171
+ sdkMocks: {
172
+ method: string;
173
+ response: {
174
+ data: {
175
+ appointment: {
176
+ user: {
177
+ id: string;
178
+ };
179
+ };
180
+ };
181
+ };
182
+ }[];
183
+ dataPoints: {
184
+ key: string;
185
+ type: string;
186
+ }[];
187
+ } | {
188
+ webhook: import("@awell-health/extensions-core").Webhook<"createdFormAnswerGroupId" | "createdFormAnswerGroup", import("../../lib/types").HealthieWebhookPayload, {
189
+ apiUrl: {
190
+ key: string;
191
+ label: string;
192
+ obfuscated: false;
193
+ required: true;
194
+ description: string;
195
+ };
196
+ apiKey: {
197
+ key: string;
198
+ label: string;
199
+ obfuscated: true;
200
+ required: true;
201
+ description: string;
202
+ };
203
+ }>;
204
+ payload: {
205
+ resource_id: number;
206
+ resource_id_type: string;
207
+ event_type: string;
208
+ };
209
+ sdkMocks: {
210
+ method: string;
211
+ response: {
212
+ data: {
213
+ formAnswerGroup: {
214
+ user: {
215
+ id: string;
216
+ };
217
+ };
218
+ };
219
+ };
220
+ }[];
221
+ dataPoints: {
222
+ key: string;
223
+ type: string;
224
+ }[];
225
+ } | {
226
+ webhook: import("@awell-health/extensions-core").Webhook<"deletedFormAnswerGroupId", import("../../lib/types").HealthieWebhookPayload, {
227
+ apiUrl: {
228
+ key: string;
229
+ label: string;
230
+ obfuscated: false;
231
+ required: true;
232
+ description: string;
233
+ };
234
+ apiKey: {
235
+ key: string;
236
+ label: string;
237
+ obfuscated: true;
238
+ required: true;
239
+ description: string;
240
+ };
241
+ }>;
242
+ payload: {
243
+ resource_id: number;
244
+ resource_id_type: string;
245
+ event_type: string;
246
+ };
247
+ sdkMocks: {
248
+ method: string;
249
+ response: {
250
+ data: {
251
+ formAnswerGroup: {
252
+ user: {
253
+ id: string;
254
+ };
255
+ };
256
+ };
257
+ };
258
+ }[];
259
+ dataPoints: {
260
+ key: string;
261
+ type: string;
262
+ }[];
263
+ } | {
264
+ webhook: import("@awell-health/extensions-core").Webhook<"lockedFormAnswerGroupId" | "lockedFormAnswerGroup", import("../../lib/types").HealthieWebhookPayload, {
265
+ apiUrl: {
266
+ key: string;
267
+ label: string;
268
+ obfuscated: false;
269
+ required: true;
270
+ description: string;
271
+ };
272
+ apiKey: {
273
+ key: string;
274
+ label: string;
275
+ obfuscated: true;
276
+ required: true;
277
+ description: string;
278
+ };
279
+ }>;
280
+ payload: {
281
+ resource_id: number;
282
+ resource_id_type: string;
283
+ event_type: string;
284
+ };
285
+ sdkMocks: {
286
+ method: string;
287
+ response: {
288
+ data: {
289
+ formAnswerGroup: {
290
+ user: {
291
+ id: string;
292
+ };
293
+ };
294
+ };
295
+ };
296
+ }[];
297
+ dataPoints: {
298
+ key: string;
299
+ type: string;
300
+ }[];
301
+ } | {
302
+ webhook: import("@awell-health/extensions-core").Webhook<"signedFormAnswerGroupId" | "signedFormAnswerGroup", import("../../lib/types").HealthieWebhookPayload, {
303
+ apiUrl: {
304
+ key: string;
305
+ label: string;
306
+ obfuscated: false;
307
+ required: true;
308
+ description: string;
309
+ };
310
+ apiKey: {
311
+ key: string;
312
+ label: string;
313
+ obfuscated: true;
314
+ required: true;
315
+ description: string;
316
+ };
317
+ }>;
318
+ payload: {
319
+ resource_id: number;
320
+ resource_id_type: string;
321
+ event_type: string;
322
+ };
323
+ sdkMocks: {
324
+ method: string;
325
+ response: {
326
+ data: {
327
+ formAnswerGroup: {
328
+ user: {
329
+ id: string;
330
+ };
331
+ };
332
+ };
333
+ };
334
+ }[];
335
+ dataPoints: {
336
+ key: string;
337
+ type: string;
338
+ }[];
339
+ } | {
340
+ webhook: import("@awell-health/extensions-core").Webhook<"createdGoalId", import("../../lib/types").HealthieWebhookPayload, {
341
+ apiUrl: {
342
+ key: string;
343
+ label: string;
344
+ obfuscated: false;
345
+ required: true;
346
+ description: string;
347
+ };
348
+ apiKey: {
349
+ key: string;
350
+ label: string;
351
+ obfuscated: true;
352
+ required: true;
353
+ description: string;
354
+ };
355
+ }>;
356
+ payload: {
357
+ resource_id: number;
358
+ resource_id_type: string;
359
+ event_type: string;
360
+ };
361
+ sdkMocks: {
362
+ method: string;
363
+ response: {
364
+ data: {
365
+ goal: {
366
+ user_id: string;
367
+ };
368
+ };
369
+ };
370
+ }[];
371
+ dataPoints: {
372
+ key: string;
373
+ type: string;
374
+ }[];
375
+ } | {
376
+ webhook: import("@awell-health/extensions-core").Webhook<"updatedGoalId", import("../../lib/types").HealthieWebhookPayload, {
377
+ apiUrl: {
378
+ key: string;
379
+ label: string;
380
+ obfuscated: false;
381
+ required: true;
382
+ description: string;
383
+ };
384
+ apiKey: {
385
+ key: string;
386
+ label: string;
387
+ obfuscated: true;
388
+ required: true;
389
+ description: string;
390
+ };
391
+ }>;
392
+ payload: {
393
+ resource_id: number;
394
+ resource_id_type: string;
395
+ event_type: string;
396
+ };
397
+ sdkMocks: {
398
+ method: string;
399
+ response: {
400
+ data: {
401
+ goal: {
402
+ user_id: string;
403
+ };
404
+ };
405
+ };
406
+ }[];
407
+ dataPoints: {
408
+ key: string;
409
+ type: string;
410
+ }[];
411
+ } | {
412
+ webhook: import("@awell-health/extensions-core").Webhook<"createdLabOrderId", import("../../lib/types").HealthieWebhookPayload, {
413
+ apiUrl: {
414
+ key: string;
415
+ label: string;
416
+ obfuscated: false;
417
+ required: true;
418
+ description: string;
419
+ };
420
+ apiKey: {
421
+ key: string;
422
+ label: string;
423
+ obfuscated: true;
424
+ required: true;
425
+ description: string;
426
+ };
427
+ }>;
428
+ payload: {
429
+ resource_id: number;
430
+ resource_id_type: string;
431
+ event_type: string;
432
+ };
433
+ sdkMocks: {
434
+ method: string;
435
+ response: {
436
+ data: {
437
+ labOrder: {
438
+ patient: {
439
+ id: string;
440
+ };
441
+ };
442
+ };
443
+ };
444
+ }[];
445
+ dataPoints: {
446
+ key: string;
447
+ type: string;
448
+ }[];
449
+ } | {
450
+ webhook: import("@awell-health/extensions-core").Webhook<"updatedLabOrderId", import("../../lib/types").HealthieWebhookPayload, {
451
+ apiUrl: {
452
+ key: string;
453
+ label: string;
454
+ obfuscated: false;
455
+ required: true;
456
+ description: string;
457
+ };
458
+ apiKey: {
459
+ key: string;
460
+ label: string;
461
+ obfuscated: true;
462
+ required: true;
463
+ description: string;
464
+ };
465
+ }>;
466
+ payload: {
467
+ resource_id: number;
468
+ resource_id_type: string;
469
+ event_type: string;
470
+ };
471
+ sdkMocks: {
472
+ method: string;
473
+ response: {
474
+ data: {
475
+ labOrder: {
476
+ patient: {
477
+ id: string;
478
+ };
479
+ };
480
+ };
481
+ };
482
+ }[];
483
+ dataPoints: {
484
+ key: string;
485
+ type: string;
486
+ }[];
487
+ } | {
488
+ webhook: import("@awell-health/extensions-core").Webhook<"createdMetricId", import("../../lib/types").HealthieWebhookPayload, {
489
+ apiUrl: {
490
+ key: string;
491
+ label: string;
492
+ obfuscated: false;
493
+ required: true;
494
+ description: string;
495
+ };
496
+ apiKey: {
497
+ key: string;
498
+ label: string;
499
+ obfuscated: true;
500
+ required: true;
501
+ description: string;
502
+ };
503
+ }>;
504
+ payload: {
505
+ resource_id: number;
506
+ resource_id_type: string;
507
+ event_type: string;
508
+ };
509
+ sdkMocks: {
510
+ method: string;
511
+ response: {
512
+ data: {
513
+ entry: {
514
+ poster: {
515
+ id: string;
516
+ };
517
+ };
518
+ };
519
+ };
520
+ }[];
521
+ dataPoints: {
522
+ key: string;
523
+ type: string;
524
+ }[];
525
+ } | {
526
+ webhook: import("@awell-health/extensions-core").Webhook<"updatedMetricId", import("../../lib/types").HealthieWebhookPayload, {
527
+ apiUrl: {
528
+ key: string;
529
+ label: string;
530
+ obfuscated: false;
531
+ required: true;
532
+ description: string;
533
+ };
534
+ apiKey: {
535
+ key: string;
536
+ label: string;
537
+ obfuscated: true;
538
+ required: true;
539
+ description: string;
540
+ };
541
+ }>;
542
+ payload: {
543
+ resource_id: number;
544
+ resource_id_type: string;
545
+ event_type: string;
546
+ };
547
+ sdkMocks: {
548
+ method: string;
549
+ response: {
550
+ data: {
551
+ entry: {
552
+ poster: {
553
+ id: string;
554
+ };
555
+ };
556
+ };
557
+ };
558
+ }[];
559
+ dataPoints: {
560
+ key: string;
561
+ type: string;
562
+ }[];
563
+ } | {
564
+ webhook: import("@awell-health/extensions-core").Webhook<"createdFormCompletionId", import("../../lib/types").HealthieWebhookPayload, {
565
+ apiUrl: {
566
+ key: string;
567
+ label: string;
568
+ obfuscated: false;
569
+ required: true;
570
+ description: string;
571
+ };
572
+ apiKey: {
573
+ key: string;
574
+ label: string;
575
+ obfuscated: true;
576
+ required: true;
577
+ description: string;
578
+ };
579
+ }>;
580
+ payload: {
581
+ resource_id: number;
582
+ resource_id_type: string;
583
+ event_type: string;
584
+ };
585
+ sdkMocks: {
586
+ method: string;
587
+ response: {
588
+ data: {
589
+ requestedFormCompletion: {
590
+ recipient_id: string;
591
+ };
592
+ };
593
+ };
594
+ }[];
595
+ dataPoints: {
596
+ key: string;
597
+ type: string;
598
+ }[];
599
+ } | {
600
+ webhook: import("@awell-health/extensions-core").Webhook<"updatedFormCompletionId", import("../../lib/types").HealthieWebhookPayload, {
601
+ apiUrl: {
602
+ key: string;
603
+ label: string;
604
+ obfuscated: false;
605
+ required: true;
606
+ description: string;
607
+ };
608
+ apiKey: {
609
+ key: string;
610
+ label: string;
611
+ obfuscated: true;
612
+ required: true;
613
+ description: string;
614
+ };
615
+ }>;
616
+ payload: {
617
+ resource_id: number;
618
+ resource_id_type: string;
619
+ event_type: string;
620
+ };
621
+ sdkMocks: {
622
+ method: string;
623
+ response: {
624
+ data: {
625
+ requestedFormCompletion: {
626
+ recipient_id: string;
627
+ };
628
+ };
629
+ };
630
+ }[];
631
+ dataPoints: {
632
+ key: string;
633
+ type: string;
634
+ }[];
635
+ } | {
636
+ webhook: import("@awell-health/extensions-core").Webhook<"createdTaskId", import("../../lib/types").HealthieWebhookPayload, {
637
+ apiUrl: {
638
+ key: string;
639
+ label: string;
640
+ obfuscated: false;
641
+ required: true;
642
+ description: string;
643
+ };
644
+ apiKey: {
645
+ key: string;
646
+ label: string;
647
+ obfuscated: true;
648
+ required: true;
649
+ description: string;
650
+ };
651
+ }>;
652
+ payload: {
653
+ resource_id: number;
654
+ resource_id_type: string;
655
+ event_type: string;
656
+ };
657
+ sdkMocks: {
658
+ method: string;
659
+ response: {
660
+ data: {
661
+ task: {
662
+ client_id: string;
663
+ };
664
+ };
665
+ };
666
+ }[];
667
+ dataPoints: {
668
+ key: string;
669
+ type: string;
670
+ }[];
671
+ } | {
672
+ webhook: import("@awell-health/extensions-core").Webhook<"updatedTaskId", import("../../lib/types").HealthieWebhookPayload, {
673
+ apiUrl: {
674
+ key: string;
675
+ label: string;
676
+ obfuscated: false;
677
+ required: true;
678
+ description: string;
679
+ };
680
+ apiKey: {
681
+ key: string;
682
+ label: string;
683
+ obfuscated: true;
684
+ required: true;
685
+ description: string;
686
+ };
687
+ }>;
688
+ payload: {
689
+ resource_id: number;
690
+ resource_id_type: string;
691
+ event_type: string;
692
+ };
693
+ sdkMocks: {
694
+ method: string;
695
+ response: {
696
+ data: {
697
+ task: {
698
+ client_id: string;
699
+ };
700
+ };
701
+ };
702
+ }[];
703
+ dataPoints: {
704
+ key: string;
705
+ type: string;
706
+ }[];
707
+ })[];