@firedrill-tools/resend 0.1.1

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 (65) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +198 -0
  3. package/firedrill/agent.target.json +16 -0
  4. package/firedrill/baseline.scenario.json +1687 -0
  5. package/firedrill/conformance.suite.json +19 -0
  6. package/firedrill/contacts-outage.scenario.json +11 -0
  7. package/firedrill/quota-exhausted.scenario.json +17 -0
  8. package/firedrill/rate-limited.scenario.json +11 -0
  9. package/firedrill/resend-audience.drill.json +407 -0
  10. package/firedrill/resend-contacts-outage.drill.json +63 -0
  11. package/firedrill/resend-denied.drill.json +68 -0
  12. package/firedrill/resend-domains-and-keys.drill.json +307 -0
  13. package/firedrill/resend-email-flow.drill.json +286 -0
  14. package/firedrill/resend-fresh-install.drill.json +73 -0
  15. package/firedrill/resend-invalid-key.drill.json +803 -0
  16. package/firedrill/resend-large-page.drill.json +53 -0
  17. package/firedrill/resend-quota-exhausted.drill.json +82 -0
  18. package/firedrill/resend-rate-limited.drill.json +81 -0
  19. package/firedrill/resend-restricted-key.drill.json +441 -0
  20. package/firedrill/resend-tight-limits.drill.json +163 -0
  21. package/firedrill/tight-limits.scenario.json +16 -0
  22. package/firedrill/tools/resend/app/assets/ATTRIBUTION.md +30 -0
  23. package/firedrill/tools/resend/app/assets/fonts/Inter-OFL.txt +93 -0
  24. package/firedrill/tools/resend/app/assets/fonts/JetBrainsMono-OFL.txt +93 -0
  25. package/firedrill/tools/resend/app/assets/fonts/inter-latin-wght-normal.woff2 +0 -0
  26. package/firedrill/tools/resend/app/assets/fonts/jetbrains-mono-latin-400-normal.woff2 +0 -0
  27. package/firedrill/tools/resend/app/assets/resend-icon-white.svg +3 -0
  28. package/firedrill/tools/resend/app/assets/resend-wordmark-white.svg +3 -0
  29. package/firedrill/tools/resend/app/assets/resend.svg +3 -0
  30. package/firedrill/tools/resend/app/site/app.js +90 -0
  31. package/firedrill/tools/resend/app/site/assets/fonts/inter-latin-wght-normal.woff2 +0 -0
  32. package/firedrill/tools/resend/app/site/assets/fonts/jetbrains-mono-latin-400-normal.woff2 +0 -0
  33. package/firedrill/tools/resend/app/site/assets/resend-icon-white.svg +3 -0
  34. package/firedrill/tools/resend/app/site/assets/resend-wordmark-white.svg +3 -0
  35. package/firedrill/tools/resend/app/site/assets/resend.svg +3 -0
  36. package/firedrill/tools/resend/app/site/contact-panel.js +86 -0
  37. package/firedrill/tools/resend/app/site/icons.js +70 -0
  38. package/firedrill/tools/resend/app/site/index.html +56 -0
  39. package/firedrill/tools/resend/app/site/list.js +41 -0
  40. package/firedrill/tools/resend/app/site/styles.css +67 -0
  41. package/firedrill/tools/resend/app/site/ui.js +259 -0
  42. package/firedrill/tools/resend/app/site/view-audience.js +160 -0
  43. package/firedrill/tools/resend/app/site/view-domains.js +106 -0
  44. package/firedrill/tools/resend/app/site/view-email-detail.js +126 -0
  45. package/firedrill/tools/resend/app/site/view-emails.js +83 -0
  46. package/firedrill/tools/resend/app/site/view-keys.js +91 -0
  47. package/firedrill/tools/resend/app/site/views.css +141 -0
  48. package/firedrill/tools/resend/behavior.mjs +114 -0
  49. package/firedrill/tools/resend/lib/check.mjs +75 -0
  50. package/firedrill/tools/resend/lib/core.mjs +112 -0
  51. package/firedrill/tools/resend/lib/json-depth.mjs +45 -0
  52. package/firedrill/tools/resend/lib/page.mjs +66 -0
  53. package/firedrill/tools/resend/lib/time.mjs +60 -0
  54. package/firedrill/tools/resend/lib/wire.mjs +98 -0
  55. package/firedrill/tools/resend/ops/contacts.mjs +199 -0
  56. package/firedrill/tools/resend/ops/domains.mjs +125 -0
  57. package/firedrill/tools/resend/ops/email-model.mjs +100 -0
  58. package/firedrill/tools/resend/ops/emails.mjs +139 -0
  59. package/firedrill/tools/resend/ops/keys-segments.mjs +97 -0
  60. package/firedrill/tools/resend/resend.tool.json +4804 -0
  61. package/firedrill/world.json +2148 -0
  62. package/firedrill.json +5 -0
  63. package/package.json +62 -0
  64. package/starter.json +1686 -0
  65. package/test/conformance.mjs +480 -0
@@ -0,0 +1,803 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "id": "resend-invalid-key",
4
+ "title": "An unknown API key id fails invalid_api_key on every operation",
5
+ "targetId": "conformance-agent",
6
+ "scenarioId": "baseline",
7
+ "actorId": "revoked",
8
+ "task": {
9
+ "instruction": "Run the invalid-key flow against the synthetic Resend Tool and fail loudly on any unexpected status, header or body."
10
+ },
11
+ "assertions": [
12
+ {
13
+ "id": "emails-send-tool-error",
14
+ "kind": "operation.count",
15
+ "operation": {
16
+ "packageId": "resend",
17
+ "operationId": "emails.send"
18
+ },
19
+ "outcomes": [
20
+ "tool_error"
21
+ ],
22
+ "comparison": {
23
+ "operator": "equals",
24
+ "value": 1
25
+ }
26
+ },
27
+ {
28
+ "id": "emails-send-batch-tool-error",
29
+ "kind": "operation.count",
30
+ "operation": {
31
+ "packageId": "resend",
32
+ "operationId": "emails.send_batch"
33
+ },
34
+ "outcomes": [
35
+ "tool_error"
36
+ ],
37
+ "comparison": {
38
+ "operator": "equals",
39
+ "value": 1
40
+ }
41
+ },
42
+ {
43
+ "id": "emails-list-tool-error",
44
+ "kind": "operation.count",
45
+ "operation": {
46
+ "packageId": "resend",
47
+ "operationId": "emails.list"
48
+ },
49
+ "outcomes": [
50
+ "tool_error"
51
+ ],
52
+ "comparison": {
53
+ "operator": "equals",
54
+ "value": 1
55
+ }
56
+ },
57
+ {
58
+ "id": "emails-get-tool-error",
59
+ "kind": "operation.count",
60
+ "operation": {
61
+ "packageId": "resend",
62
+ "operationId": "emails.get"
63
+ },
64
+ "outcomes": [
65
+ "tool_error"
66
+ ],
67
+ "comparison": {
68
+ "operator": "equals",
69
+ "value": 1
70
+ }
71
+ },
72
+ {
73
+ "id": "emails-update-tool-error",
74
+ "kind": "operation.count",
75
+ "operation": {
76
+ "packageId": "resend",
77
+ "operationId": "emails.update"
78
+ },
79
+ "outcomes": [
80
+ "tool_error"
81
+ ],
82
+ "comparison": {
83
+ "operator": "equals",
84
+ "value": 1
85
+ }
86
+ },
87
+ {
88
+ "id": "emails-cancel-tool-error",
89
+ "kind": "operation.count",
90
+ "operation": {
91
+ "packageId": "resend",
92
+ "operationId": "emails.cancel"
93
+ },
94
+ "outcomes": [
95
+ "tool_error"
96
+ ],
97
+ "comparison": {
98
+ "operator": "equals",
99
+ "value": 1
100
+ }
101
+ },
102
+ {
103
+ "id": "domains-create-tool-error",
104
+ "kind": "operation.count",
105
+ "operation": {
106
+ "packageId": "resend",
107
+ "operationId": "domains.create"
108
+ },
109
+ "outcomes": [
110
+ "tool_error"
111
+ ],
112
+ "comparison": {
113
+ "operator": "equals",
114
+ "value": 1
115
+ }
116
+ },
117
+ {
118
+ "id": "domains-list-tool-error",
119
+ "kind": "operation.count",
120
+ "operation": {
121
+ "packageId": "resend",
122
+ "operationId": "domains.list"
123
+ },
124
+ "outcomes": [
125
+ "tool_error"
126
+ ],
127
+ "comparison": {
128
+ "operator": "equals",
129
+ "value": 1
130
+ }
131
+ },
132
+ {
133
+ "id": "domains-get-tool-error",
134
+ "kind": "operation.count",
135
+ "operation": {
136
+ "packageId": "resend",
137
+ "operationId": "domains.get"
138
+ },
139
+ "outcomes": [
140
+ "tool_error"
141
+ ],
142
+ "comparison": {
143
+ "operator": "equals",
144
+ "value": 1
145
+ }
146
+ },
147
+ {
148
+ "id": "domains-verify-tool-error",
149
+ "kind": "operation.count",
150
+ "operation": {
151
+ "packageId": "resend",
152
+ "operationId": "domains.verify"
153
+ },
154
+ "outcomes": [
155
+ "tool_error"
156
+ ],
157
+ "comparison": {
158
+ "operator": "equals",
159
+ "value": 1
160
+ }
161
+ },
162
+ {
163
+ "id": "domains-remove-tool-error",
164
+ "kind": "operation.count",
165
+ "operation": {
166
+ "packageId": "resend",
167
+ "operationId": "domains.remove"
168
+ },
169
+ "outcomes": [
170
+ "tool_error"
171
+ ],
172
+ "comparison": {
173
+ "operator": "equals",
174
+ "value": 1
175
+ }
176
+ },
177
+ {
178
+ "id": "api-keys-create-tool-error",
179
+ "kind": "operation.count",
180
+ "operation": {
181
+ "packageId": "resend",
182
+ "operationId": "api_keys.create"
183
+ },
184
+ "outcomes": [
185
+ "tool_error"
186
+ ],
187
+ "comparison": {
188
+ "operator": "equals",
189
+ "value": 1
190
+ }
191
+ },
192
+ {
193
+ "id": "api-keys-list-tool-error",
194
+ "kind": "operation.count",
195
+ "operation": {
196
+ "packageId": "resend",
197
+ "operationId": "api_keys.list"
198
+ },
199
+ "outcomes": [
200
+ "tool_error"
201
+ ],
202
+ "comparison": {
203
+ "operator": "equals",
204
+ "value": 1
205
+ }
206
+ },
207
+ {
208
+ "id": "api-keys-remove-tool-error",
209
+ "kind": "operation.count",
210
+ "operation": {
211
+ "packageId": "resend",
212
+ "operationId": "api_keys.remove"
213
+ },
214
+ "outcomes": [
215
+ "tool_error"
216
+ ],
217
+ "comparison": {
218
+ "operator": "equals",
219
+ "value": 1
220
+ }
221
+ },
222
+ {
223
+ "id": "segments-create-tool-error",
224
+ "kind": "operation.count",
225
+ "operation": {
226
+ "packageId": "resend",
227
+ "operationId": "segments.create"
228
+ },
229
+ "outcomes": [
230
+ "tool_error"
231
+ ],
232
+ "comparison": {
233
+ "operator": "equals",
234
+ "value": 1
235
+ }
236
+ },
237
+ {
238
+ "id": "segments-list-tool-error",
239
+ "kind": "operation.count",
240
+ "operation": {
241
+ "packageId": "resend",
242
+ "operationId": "segments.list"
243
+ },
244
+ "outcomes": [
245
+ "tool_error"
246
+ ],
247
+ "comparison": {
248
+ "operator": "equals",
249
+ "value": 1
250
+ }
251
+ },
252
+ {
253
+ "id": "segments-remove-tool-error",
254
+ "kind": "operation.count",
255
+ "operation": {
256
+ "packageId": "resend",
257
+ "operationId": "segments.remove"
258
+ },
259
+ "outcomes": [
260
+ "tool_error"
261
+ ],
262
+ "comparison": {
263
+ "operator": "equals",
264
+ "value": 1
265
+ }
266
+ },
267
+ {
268
+ "id": "contacts-create-tool-error",
269
+ "kind": "operation.count",
270
+ "operation": {
271
+ "packageId": "resend",
272
+ "operationId": "contacts.create"
273
+ },
274
+ "outcomes": [
275
+ "tool_error"
276
+ ],
277
+ "comparison": {
278
+ "operator": "equals",
279
+ "value": 1
280
+ }
281
+ },
282
+ {
283
+ "id": "contacts-list-tool-error",
284
+ "kind": "operation.count",
285
+ "operation": {
286
+ "packageId": "resend",
287
+ "operationId": "contacts.list"
288
+ },
289
+ "outcomes": [
290
+ "tool_error"
291
+ ],
292
+ "comparison": {
293
+ "operator": "equals",
294
+ "value": 1
295
+ }
296
+ },
297
+ {
298
+ "id": "contacts-get-tool-error",
299
+ "kind": "operation.count",
300
+ "operation": {
301
+ "packageId": "resend",
302
+ "operationId": "contacts.get"
303
+ },
304
+ "outcomes": [
305
+ "tool_error"
306
+ ],
307
+ "comparison": {
308
+ "operator": "equals",
309
+ "value": 1
310
+ }
311
+ },
312
+ {
313
+ "id": "contacts-update-tool-error",
314
+ "kind": "operation.count",
315
+ "operation": {
316
+ "packageId": "resend",
317
+ "operationId": "contacts.update"
318
+ },
319
+ "outcomes": [
320
+ "tool_error"
321
+ ],
322
+ "comparison": {
323
+ "operator": "equals",
324
+ "value": 1
325
+ }
326
+ },
327
+ {
328
+ "id": "contacts-remove-tool-error",
329
+ "kind": "operation.count",
330
+ "operation": {
331
+ "packageId": "resend",
332
+ "operationId": "contacts.remove"
333
+ },
334
+ "outcomes": [
335
+ "tool_error"
336
+ ],
337
+ "comparison": {
338
+ "operator": "equals",
339
+ "value": 1
340
+ }
341
+ },
342
+ {
343
+ "id": "contacts-add-segment-tool-error",
344
+ "kind": "operation.count",
345
+ "operation": {
346
+ "packageId": "resend",
347
+ "operationId": "contacts.add_segment"
348
+ },
349
+ "outcomes": [
350
+ "tool_error"
351
+ ],
352
+ "comparison": {
353
+ "operator": "equals",
354
+ "value": 1
355
+ }
356
+ },
357
+ {
358
+ "id": "contacts-remove-segment-tool-error",
359
+ "kind": "operation.count",
360
+ "operation": {
361
+ "packageId": "resend",
362
+ "operationId": "contacts.remove_segment"
363
+ },
364
+ "outcomes": [
365
+ "tool_error"
366
+ ],
367
+ "comparison": {
368
+ "operator": "equals",
369
+ "value": 1
370
+ }
371
+ },
372
+ {
373
+ "id": "contacts-list-segments-tool-error",
374
+ "kind": "operation.count",
375
+ "operation": {
376
+ "packageId": "resend",
377
+ "operationId": "contacts.list_segments"
378
+ },
379
+ "outcomes": [
380
+ "tool_error"
381
+ ],
382
+ "comparison": {
383
+ "operator": "equals",
384
+ "value": 1
385
+ }
386
+ },
387
+ {
388
+ "id": "workspace-context-tool-error",
389
+ "kind": "operation.count",
390
+ "operation": {
391
+ "packageId": "resend",
392
+ "operationId": "workspace.context"
393
+ },
394
+ "outcomes": [
395
+ "tool_error"
396
+ ],
397
+ "comparison": {
398
+ "operator": "equals",
399
+ "value": 1
400
+ }
401
+ },
402
+ {
403
+ "id": "emails-send-ok",
404
+ "kind": "operation.count",
405
+ "operation": {
406
+ "packageId": "resend",
407
+ "operationId": "emails.send"
408
+ },
409
+ "outcomes": [
410
+ "ok"
411
+ ],
412
+ "comparison": {
413
+ "operator": "equals",
414
+ "value": 0
415
+ }
416
+ },
417
+ {
418
+ "id": "emails-send-batch-ok",
419
+ "kind": "operation.count",
420
+ "operation": {
421
+ "packageId": "resend",
422
+ "operationId": "emails.send_batch"
423
+ },
424
+ "outcomes": [
425
+ "ok"
426
+ ],
427
+ "comparison": {
428
+ "operator": "equals",
429
+ "value": 0
430
+ }
431
+ },
432
+ {
433
+ "id": "emails-list-ok",
434
+ "kind": "operation.count",
435
+ "operation": {
436
+ "packageId": "resend",
437
+ "operationId": "emails.list"
438
+ },
439
+ "outcomes": [
440
+ "ok"
441
+ ],
442
+ "comparison": {
443
+ "operator": "equals",
444
+ "value": 0
445
+ }
446
+ },
447
+ {
448
+ "id": "emails-get-ok",
449
+ "kind": "operation.count",
450
+ "operation": {
451
+ "packageId": "resend",
452
+ "operationId": "emails.get"
453
+ },
454
+ "outcomes": [
455
+ "ok"
456
+ ],
457
+ "comparison": {
458
+ "operator": "equals",
459
+ "value": 0
460
+ }
461
+ },
462
+ {
463
+ "id": "emails-update-ok",
464
+ "kind": "operation.count",
465
+ "operation": {
466
+ "packageId": "resend",
467
+ "operationId": "emails.update"
468
+ },
469
+ "outcomes": [
470
+ "ok"
471
+ ],
472
+ "comparison": {
473
+ "operator": "equals",
474
+ "value": 0
475
+ }
476
+ },
477
+ {
478
+ "id": "emails-cancel-ok",
479
+ "kind": "operation.count",
480
+ "operation": {
481
+ "packageId": "resend",
482
+ "operationId": "emails.cancel"
483
+ },
484
+ "outcomes": [
485
+ "ok"
486
+ ],
487
+ "comparison": {
488
+ "operator": "equals",
489
+ "value": 0
490
+ }
491
+ },
492
+ {
493
+ "id": "domains-create-ok",
494
+ "kind": "operation.count",
495
+ "operation": {
496
+ "packageId": "resend",
497
+ "operationId": "domains.create"
498
+ },
499
+ "outcomes": [
500
+ "ok"
501
+ ],
502
+ "comparison": {
503
+ "operator": "equals",
504
+ "value": 0
505
+ }
506
+ },
507
+ {
508
+ "id": "domains-list-ok",
509
+ "kind": "operation.count",
510
+ "operation": {
511
+ "packageId": "resend",
512
+ "operationId": "domains.list"
513
+ },
514
+ "outcomes": [
515
+ "ok"
516
+ ],
517
+ "comparison": {
518
+ "operator": "equals",
519
+ "value": 0
520
+ }
521
+ },
522
+ {
523
+ "id": "domains-get-ok",
524
+ "kind": "operation.count",
525
+ "operation": {
526
+ "packageId": "resend",
527
+ "operationId": "domains.get"
528
+ },
529
+ "outcomes": [
530
+ "ok"
531
+ ],
532
+ "comparison": {
533
+ "operator": "equals",
534
+ "value": 0
535
+ }
536
+ },
537
+ {
538
+ "id": "domains-verify-ok",
539
+ "kind": "operation.count",
540
+ "operation": {
541
+ "packageId": "resend",
542
+ "operationId": "domains.verify"
543
+ },
544
+ "outcomes": [
545
+ "ok"
546
+ ],
547
+ "comparison": {
548
+ "operator": "equals",
549
+ "value": 0
550
+ }
551
+ },
552
+ {
553
+ "id": "domains-remove-ok",
554
+ "kind": "operation.count",
555
+ "operation": {
556
+ "packageId": "resend",
557
+ "operationId": "domains.remove"
558
+ },
559
+ "outcomes": [
560
+ "ok"
561
+ ],
562
+ "comparison": {
563
+ "operator": "equals",
564
+ "value": 0
565
+ }
566
+ },
567
+ {
568
+ "id": "api-keys-create-ok",
569
+ "kind": "operation.count",
570
+ "operation": {
571
+ "packageId": "resend",
572
+ "operationId": "api_keys.create"
573
+ },
574
+ "outcomes": [
575
+ "ok"
576
+ ],
577
+ "comparison": {
578
+ "operator": "equals",
579
+ "value": 0
580
+ }
581
+ },
582
+ {
583
+ "id": "api-keys-list-ok",
584
+ "kind": "operation.count",
585
+ "operation": {
586
+ "packageId": "resend",
587
+ "operationId": "api_keys.list"
588
+ },
589
+ "outcomes": [
590
+ "ok"
591
+ ],
592
+ "comparison": {
593
+ "operator": "equals",
594
+ "value": 0
595
+ }
596
+ },
597
+ {
598
+ "id": "api-keys-remove-ok",
599
+ "kind": "operation.count",
600
+ "operation": {
601
+ "packageId": "resend",
602
+ "operationId": "api_keys.remove"
603
+ },
604
+ "outcomes": [
605
+ "ok"
606
+ ],
607
+ "comparison": {
608
+ "operator": "equals",
609
+ "value": 0
610
+ }
611
+ },
612
+ {
613
+ "id": "segments-create-ok",
614
+ "kind": "operation.count",
615
+ "operation": {
616
+ "packageId": "resend",
617
+ "operationId": "segments.create"
618
+ },
619
+ "outcomes": [
620
+ "ok"
621
+ ],
622
+ "comparison": {
623
+ "operator": "equals",
624
+ "value": 0
625
+ }
626
+ },
627
+ {
628
+ "id": "segments-list-ok",
629
+ "kind": "operation.count",
630
+ "operation": {
631
+ "packageId": "resend",
632
+ "operationId": "segments.list"
633
+ },
634
+ "outcomes": [
635
+ "ok"
636
+ ],
637
+ "comparison": {
638
+ "operator": "equals",
639
+ "value": 0
640
+ }
641
+ },
642
+ {
643
+ "id": "segments-remove-ok",
644
+ "kind": "operation.count",
645
+ "operation": {
646
+ "packageId": "resend",
647
+ "operationId": "segments.remove"
648
+ },
649
+ "outcomes": [
650
+ "ok"
651
+ ],
652
+ "comparison": {
653
+ "operator": "equals",
654
+ "value": 0
655
+ }
656
+ },
657
+ {
658
+ "id": "contacts-create-ok",
659
+ "kind": "operation.count",
660
+ "operation": {
661
+ "packageId": "resend",
662
+ "operationId": "contacts.create"
663
+ },
664
+ "outcomes": [
665
+ "ok"
666
+ ],
667
+ "comparison": {
668
+ "operator": "equals",
669
+ "value": 0
670
+ }
671
+ },
672
+ {
673
+ "id": "contacts-list-ok",
674
+ "kind": "operation.count",
675
+ "operation": {
676
+ "packageId": "resend",
677
+ "operationId": "contacts.list"
678
+ },
679
+ "outcomes": [
680
+ "ok"
681
+ ],
682
+ "comparison": {
683
+ "operator": "equals",
684
+ "value": 0
685
+ }
686
+ },
687
+ {
688
+ "id": "contacts-get-ok",
689
+ "kind": "operation.count",
690
+ "operation": {
691
+ "packageId": "resend",
692
+ "operationId": "contacts.get"
693
+ },
694
+ "outcomes": [
695
+ "ok"
696
+ ],
697
+ "comparison": {
698
+ "operator": "equals",
699
+ "value": 0
700
+ }
701
+ },
702
+ {
703
+ "id": "contacts-update-ok",
704
+ "kind": "operation.count",
705
+ "operation": {
706
+ "packageId": "resend",
707
+ "operationId": "contacts.update"
708
+ },
709
+ "outcomes": [
710
+ "ok"
711
+ ],
712
+ "comparison": {
713
+ "operator": "equals",
714
+ "value": 0
715
+ }
716
+ },
717
+ {
718
+ "id": "contacts-remove-ok",
719
+ "kind": "operation.count",
720
+ "operation": {
721
+ "packageId": "resend",
722
+ "operationId": "contacts.remove"
723
+ },
724
+ "outcomes": [
725
+ "ok"
726
+ ],
727
+ "comparison": {
728
+ "operator": "equals",
729
+ "value": 0
730
+ }
731
+ },
732
+ {
733
+ "id": "contacts-add-segment-ok",
734
+ "kind": "operation.count",
735
+ "operation": {
736
+ "packageId": "resend",
737
+ "operationId": "contacts.add_segment"
738
+ },
739
+ "outcomes": [
740
+ "ok"
741
+ ],
742
+ "comparison": {
743
+ "operator": "equals",
744
+ "value": 0
745
+ }
746
+ },
747
+ {
748
+ "id": "contacts-remove-segment-ok",
749
+ "kind": "operation.count",
750
+ "operation": {
751
+ "packageId": "resend",
752
+ "operationId": "contacts.remove_segment"
753
+ },
754
+ "outcomes": [
755
+ "ok"
756
+ ],
757
+ "comparison": {
758
+ "operator": "equals",
759
+ "value": 0
760
+ }
761
+ },
762
+ {
763
+ "id": "contacts-list-segments-ok",
764
+ "kind": "operation.count",
765
+ "operation": {
766
+ "packageId": "resend",
767
+ "operationId": "contacts.list_segments"
768
+ },
769
+ "outcomes": [
770
+ "ok"
771
+ ],
772
+ "comparison": {
773
+ "operator": "equals",
774
+ "value": 0
775
+ }
776
+ },
777
+ {
778
+ "id": "workspace-context-ok",
779
+ "kind": "operation.count",
780
+ "operation": {
781
+ "packageId": "resend",
782
+ "operationId": "workspace.context"
783
+ },
784
+ "outcomes": [
785
+ "ok"
786
+ ],
787
+ "comparison": {
788
+ "operator": "equals",
789
+ "value": 0
790
+ }
791
+ },
792
+ {
793
+ "id": "emails-count",
794
+ "kind": "state.count",
795
+ "packageId": "resend",
796
+ "namespace": "emails",
797
+ "comparison": {
798
+ "operator": "equals",
799
+ "value": 23
800
+ }
801
+ }
802
+ ]
803
+ }