@firedrill-tools/stripe 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 (59) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +433 -0
  3. package/firedrill/agent.target.json +17 -0
  4. package/firedrill/api-unavailable.scenario.json +11 -0
  5. package/firedrill/baseline.scenario.json +5 -0
  6. package/firedrill/conformance.suite.json +17 -0
  7. package/firedrill/rate-limited.scenario.json +11 -0
  8. package/firedrill/refund-committed-lost.scenario.json +11 -0
  9. package/firedrill/stripe-api-unavailable.drill.json +463 -0
  10. package/firedrill/stripe-denied.drill.json +74 -0
  11. package/firedrill/stripe-large-pages.drill.json +153 -0
  12. package/firedrill/stripe-live-mode.drill.json +136 -0
  13. package/firedrill/stripe-mcp-aliases.drill.json +406 -0
  14. package/firedrill/stripe-no-permissions.drill.json +1143 -0
  15. package/firedrill/stripe-rate-limited.drill.json +616 -0
  16. package/firedrill/stripe-refund-committed-lost.drill.json +139 -0
  17. package/firedrill/stripe-rest-flow.drill.json +1401 -0
  18. package/firedrill/stripe-restricted-key.drill.json +171 -0
  19. package/firedrill/tools/stripe/app/assets/ATTRIBUTION.md +36 -0
  20. package/firedrill/tools/stripe/app/assets/fonts/OFL.txt +93 -0
  21. package/firedrill/tools/stripe/app/assets/stripe-s.svg +1 -0
  22. package/firedrill/tools/stripe/app/assets/stripe.svg +1 -0
  23. package/firedrill/tools/stripe/app/site/app.js +456 -0
  24. package/firedrill/tools/stripe/app/site/assets/fonts/inter-latin.woff2 +0 -0
  25. package/firedrill/tools/stripe/app/site/assets/stripe-s.svg +1 -0
  26. package/firedrill/tools/stripe/app/site/assets/stripe.svg +1 -0
  27. package/firedrill/tools/stripe/app/site/icons.js +90 -0
  28. package/firedrill/tools/stripe/app/site/index.html +137 -0
  29. package/firedrill/tools/stripe/app/site/pages-billing.js +902 -0
  30. package/firedrill/tools/stripe/app/site/pages-catalog.js +314 -0
  31. package/firedrill/tools/stripe/app/site/pages-customers.js +416 -0
  32. package/firedrill/tools/stripe/app/site/pages-home.js +373 -0
  33. package/firedrill/tools/stripe/app/site/pages-payments.js +502 -0
  34. package/firedrill/tools/stripe/app/site/store.js +99 -0
  35. package/firedrill/tools/stripe/app/site/styles.css +2512 -0
  36. package/firedrill/tools/stripe/app/site/ui.js +767 -0
  37. package/firedrill/tools/stripe/app/site/widgets.js +707 -0
  38. package/firedrill/tools/stripe/behavior.mjs +148 -0
  39. package/firedrill/tools/stripe/lib/cards.mjs +53 -0
  40. package/firedrill/tools/stripe/lib/form.mjs +204 -0
  41. package/firedrill/tools/stripe/lib/ids.mjs +85 -0
  42. package/firedrill/tools/stripe/lib/money.mjs +35 -0
  43. package/firedrill/tools/stripe/lib/objects.mjs +229 -0
  44. package/firedrill/tools/stripe/lib/periods.mjs +41 -0
  45. package/firedrill/tools/stripe/lib/size.mjs +55 -0
  46. package/firedrill/tools/stripe/lib/state.mjs +230 -0
  47. package/firedrill/tools/stripe/lib/validate.mjs +184 -0
  48. package/firedrill/tools/stripe/lib/wire.mjs +98 -0
  49. package/firedrill/tools/stripe/ops/billing.mjs +914 -0
  50. package/firedrill/tools/stripe/ops/catalog.mjs +203 -0
  51. package/firedrill/tools/stripe/ops/customers.mjs +241 -0
  52. package/firedrill/tools/stripe/ops/dashboard.mjs +29 -0
  53. package/firedrill/tools/stripe/ops/payments.mjs +608 -0
  54. package/firedrill/tools/stripe/stripe.tool.json +28833 -0
  55. package/firedrill/world.json +8527 -0
  56. package/firedrill.json +5 -0
  57. package/package.json +64 -0
  58. package/starter.json +7999 -0
  59. package/test/conformance.mjs +1133 -0
@@ -0,0 +1,1143 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "id": "stripe-no-permissions",
4
+ "title": "A restricted key without any permission: every operation fails PERMISSION_DENIED (403) inside the Tool",
5
+ "targetId": "conformance-agent",
6
+ "scenarioId": "baseline",
7
+ "actorId": "noperm-key",
8
+ "task": {
9
+ "instruction": "Run the no-permissions conformance flow against the synthetic Stripe Tool and fail loudly on any unexpected status, header or body."
10
+ },
11
+ "assertions": [
12
+ {
13
+ "id": "balance-retrieve-error",
14
+ "kind": "operation.count",
15
+ "operation": {
16
+ "packageId": "stripe",
17
+ "operationId": "balance.retrieve"
18
+ },
19
+ "outcomes": [
20
+ "tool_error"
21
+ ],
22
+ "comparison": {
23
+ "operator": "greater_than_or_equal",
24
+ "value": 1
25
+ }
26
+ },
27
+ {
28
+ "id": "charges-list-error",
29
+ "kind": "operation.count",
30
+ "operation": {
31
+ "packageId": "stripe",
32
+ "operationId": "charges.list"
33
+ },
34
+ "outcomes": [
35
+ "tool_error"
36
+ ],
37
+ "comparison": {
38
+ "operator": "greater_than_or_equal",
39
+ "value": 1
40
+ }
41
+ },
42
+ {
43
+ "id": "charges-retrieve-error",
44
+ "kind": "operation.count",
45
+ "operation": {
46
+ "packageId": "stripe",
47
+ "operationId": "charges.retrieve"
48
+ },
49
+ "outcomes": [
50
+ "tool_error"
51
+ ],
52
+ "comparison": {
53
+ "operator": "greater_than_or_equal",
54
+ "value": 1
55
+ }
56
+ },
57
+ {
58
+ "id": "customers-create-error",
59
+ "kind": "operation.count",
60
+ "operation": {
61
+ "packageId": "stripe",
62
+ "operationId": "customers.create"
63
+ },
64
+ "outcomes": [
65
+ "tool_error"
66
+ ],
67
+ "comparison": {
68
+ "operator": "greater_than_or_equal",
69
+ "value": 1
70
+ }
71
+ },
72
+ {
73
+ "id": "customers-list-error",
74
+ "kind": "operation.count",
75
+ "operation": {
76
+ "packageId": "stripe",
77
+ "operationId": "customers.list"
78
+ },
79
+ "outcomes": [
80
+ "tool_error"
81
+ ],
82
+ "comparison": {
83
+ "operator": "greater_than_or_equal",
84
+ "value": 1
85
+ }
86
+ },
87
+ {
88
+ "id": "customers-retrieve-error",
89
+ "kind": "operation.count",
90
+ "operation": {
91
+ "packageId": "stripe",
92
+ "operationId": "customers.retrieve"
93
+ },
94
+ "outcomes": [
95
+ "tool_error"
96
+ ],
97
+ "comparison": {
98
+ "operator": "greater_than_or_equal",
99
+ "value": 1
100
+ }
101
+ },
102
+ {
103
+ "id": "customers-update-error",
104
+ "kind": "operation.count",
105
+ "operation": {
106
+ "packageId": "stripe",
107
+ "operationId": "customers.update"
108
+ },
109
+ "outcomes": [
110
+ "tool_error"
111
+ ],
112
+ "comparison": {
113
+ "operator": "greater_than_or_equal",
114
+ "value": 1
115
+ }
116
+ },
117
+ {
118
+ "id": "invoice-items-create-error",
119
+ "kind": "operation.count",
120
+ "operation": {
121
+ "packageId": "stripe",
122
+ "operationId": "invoice_items.create"
123
+ },
124
+ "outcomes": [
125
+ "tool_error"
126
+ ],
127
+ "comparison": {
128
+ "operator": "greater_than_or_equal",
129
+ "value": 1
130
+ }
131
+ },
132
+ {
133
+ "id": "invoices-create-error",
134
+ "kind": "operation.count",
135
+ "operation": {
136
+ "packageId": "stripe",
137
+ "operationId": "invoices.create"
138
+ },
139
+ "outcomes": [
140
+ "tool_error"
141
+ ],
142
+ "comparison": {
143
+ "operator": "greater_than_or_equal",
144
+ "value": 1
145
+ }
146
+ },
147
+ {
148
+ "id": "invoices-finalize-error",
149
+ "kind": "operation.count",
150
+ "operation": {
151
+ "packageId": "stripe",
152
+ "operationId": "invoices.finalize"
153
+ },
154
+ "outcomes": [
155
+ "tool_error"
156
+ ],
157
+ "comparison": {
158
+ "operator": "greater_than_or_equal",
159
+ "value": 1
160
+ }
161
+ },
162
+ {
163
+ "id": "invoices-list-error",
164
+ "kind": "operation.count",
165
+ "operation": {
166
+ "packageId": "stripe",
167
+ "operationId": "invoices.list"
168
+ },
169
+ "outcomes": [
170
+ "tool_error"
171
+ ],
172
+ "comparison": {
173
+ "operator": "greater_than_or_equal",
174
+ "value": 1
175
+ }
176
+ },
177
+ {
178
+ "id": "invoices-pay-error",
179
+ "kind": "operation.count",
180
+ "operation": {
181
+ "packageId": "stripe",
182
+ "operationId": "invoices.pay"
183
+ },
184
+ "outcomes": [
185
+ "tool_error"
186
+ ],
187
+ "comparison": {
188
+ "operator": "greater_than_or_equal",
189
+ "value": 1
190
+ }
191
+ },
192
+ {
193
+ "id": "invoices-retrieve-error",
194
+ "kind": "operation.count",
195
+ "operation": {
196
+ "packageId": "stripe",
197
+ "operationId": "invoices.retrieve"
198
+ },
199
+ "outcomes": [
200
+ "tool_error"
201
+ ],
202
+ "comparison": {
203
+ "operator": "greater_than_or_equal",
204
+ "value": 1
205
+ }
206
+ },
207
+ {
208
+ "id": "invoices-void-error",
209
+ "kind": "operation.count",
210
+ "operation": {
211
+ "packageId": "stripe",
212
+ "operationId": "invoices.void"
213
+ },
214
+ "outcomes": [
215
+ "tool_error"
216
+ ],
217
+ "comparison": {
218
+ "operator": "greater_than_or_equal",
219
+ "value": 1
220
+ }
221
+ },
222
+ {
223
+ "id": "payment-intents-cancel-error",
224
+ "kind": "operation.count",
225
+ "operation": {
226
+ "packageId": "stripe",
227
+ "operationId": "payment_intents.cancel"
228
+ },
229
+ "outcomes": [
230
+ "tool_error"
231
+ ],
232
+ "comparison": {
233
+ "operator": "greater_than_or_equal",
234
+ "value": 1
235
+ }
236
+ },
237
+ {
238
+ "id": "payment-intents-capture-error",
239
+ "kind": "operation.count",
240
+ "operation": {
241
+ "packageId": "stripe",
242
+ "operationId": "payment_intents.capture"
243
+ },
244
+ "outcomes": [
245
+ "tool_error"
246
+ ],
247
+ "comparison": {
248
+ "operator": "greater_than_or_equal",
249
+ "value": 1
250
+ }
251
+ },
252
+ {
253
+ "id": "payment-intents-confirm-error",
254
+ "kind": "operation.count",
255
+ "operation": {
256
+ "packageId": "stripe",
257
+ "operationId": "payment_intents.confirm"
258
+ },
259
+ "outcomes": [
260
+ "tool_error"
261
+ ],
262
+ "comparison": {
263
+ "operator": "greater_than_or_equal",
264
+ "value": 1
265
+ }
266
+ },
267
+ {
268
+ "id": "payment-intents-create-error",
269
+ "kind": "operation.count",
270
+ "operation": {
271
+ "packageId": "stripe",
272
+ "operationId": "payment_intents.create"
273
+ },
274
+ "outcomes": [
275
+ "tool_error"
276
+ ],
277
+ "comparison": {
278
+ "operator": "greater_than_or_equal",
279
+ "value": 1
280
+ }
281
+ },
282
+ {
283
+ "id": "payment-intents-list-error",
284
+ "kind": "operation.count",
285
+ "operation": {
286
+ "packageId": "stripe",
287
+ "operationId": "payment_intents.list"
288
+ },
289
+ "outcomes": [
290
+ "tool_error"
291
+ ],
292
+ "comparison": {
293
+ "operator": "greater_than_or_equal",
294
+ "value": 1
295
+ }
296
+ },
297
+ {
298
+ "id": "payment-intents-retrieve-error",
299
+ "kind": "operation.count",
300
+ "operation": {
301
+ "packageId": "stripe",
302
+ "operationId": "payment_intents.retrieve"
303
+ },
304
+ "outcomes": [
305
+ "tool_error"
306
+ ],
307
+ "comparison": {
308
+ "operator": "greater_than_or_equal",
309
+ "value": 1
310
+ }
311
+ },
312
+ {
313
+ "id": "payment-methods-attach-error",
314
+ "kind": "operation.count",
315
+ "operation": {
316
+ "packageId": "stripe",
317
+ "operationId": "payment_methods.attach"
318
+ },
319
+ "outcomes": [
320
+ "tool_error"
321
+ ],
322
+ "comparison": {
323
+ "operator": "greater_than_or_equal",
324
+ "value": 1
325
+ }
326
+ },
327
+ {
328
+ "id": "payment-methods-detach-error",
329
+ "kind": "operation.count",
330
+ "operation": {
331
+ "packageId": "stripe",
332
+ "operationId": "payment_methods.detach"
333
+ },
334
+ "outcomes": [
335
+ "tool_error"
336
+ ],
337
+ "comparison": {
338
+ "operator": "greater_than_or_equal",
339
+ "value": 1
340
+ }
341
+ },
342
+ {
343
+ "id": "payment-methods-list-error",
344
+ "kind": "operation.count",
345
+ "operation": {
346
+ "packageId": "stripe",
347
+ "operationId": "payment_methods.list"
348
+ },
349
+ "outcomes": [
350
+ "tool_error"
351
+ ],
352
+ "comparison": {
353
+ "operator": "greater_than_or_equal",
354
+ "value": 1
355
+ }
356
+ },
357
+ {
358
+ "id": "prices-create-error",
359
+ "kind": "operation.count",
360
+ "operation": {
361
+ "packageId": "stripe",
362
+ "operationId": "prices.create"
363
+ },
364
+ "outcomes": [
365
+ "tool_error"
366
+ ],
367
+ "comparison": {
368
+ "operator": "greater_than_or_equal",
369
+ "value": 1
370
+ }
371
+ },
372
+ {
373
+ "id": "prices-list-error",
374
+ "kind": "operation.count",
375
+ "operation": {
376
+ "packageId": "stripe",
377
+ "operationId": "prices.list"
378
+ },
379
+ "outcomes": [
380
+ "tool_error"
381
+ ],
382
+ "comparison": {
383
+ "operator": "greater_than_or_equal",
384
+ "value": 1
385
+ }
386
+ },
387
+ {
388
+ "id": "prices-retrieve-error",
389
+ "kind": "operation.count",
390
+ "operation": {
391
+ "packageId": "stripe",
392
+ "operationId": "prices.retrieve"
393
+ },
394
+ "outcomes": [
395
+ "tool_error"
396
+ ],
397
+ "comparison": {
398
+ "operator": "greater_than_or_equal",
399
+ "value": 1
400
+ }
401
+ },
402
+ {
403
+ "id": "products-create-error",
404
+ "kind": "operation.count",
405
+ "operation": {
406
+ "packageId": "stripe",
407
+ "operationId": "products.create"
408
+ },
409
+ "outcomes": [
410
+ "tool_error"
411
+ ],
412
+ "comparison": {
413
+ "operator": "greater_than_or_equal",
414
+ "value": 1
415
+ }
416
+ },
417
+ {
418
+ "id": "products-list-error",
419
+ "kind": "operation.count",
420
+ "operation": {
421
+ "packageId": "stripe",
422
+ "operationId": "products.list"
423
+ },
424
+ "outcomes": [
425
+ "tool_error"
426
+ ],
427
+ "comparison": {
428
+ "operator": "greater_than_or_equal",
429
+ "value": 1
430
+ }
431
+ },
432
+ {
433
+ "id": "products-retrieve-error",
434
+ "kind": "operation.count",
435
+ "operation": {
436
+ "packageId": "stripe",
437
+ "operationId": "products.retrieve"
438
+ },
439
+ "outcomes": [
440
+ "tool_error"
441
+ ],
442
+ "comparison": {
443
+ "operator": "greater_than_or_equal",
444
+ "value": 1
445
+ }
446
+ },
447
+ {
448
+ "id": "products-update-error",
449
+ "kind": "operation.count",
450
+ "operation": {
451
+ "packageId": "stripe",
452
+ "operationId": "products.update"
453
+ },
454
+ "outcomes": [
455
+ "tool_error"
456
+ ],
457
+ "comparison": {
458
+ "operator": "greater_than_or_equal",
459
+ "value": 1
460
+ }
461
+ },
462
+ {
463
+ "id": "refunds-create-error",
464
+ "kind": "operation.count",
465
+ "operation": {
466
+ "packageId": "stripe",
467
+ "operationId": "refunds.create"
468
+ },
469
+ "outcomes": [
470
+ "tool_error"
471
+ ],
472
+ "comparison": {
473
+ "operator": "greater_than_or_equal",
474
+ "value": 1
475
+ }
476
+ },
477
+ {
478
+ "id": "refunds-list-error",
479
+ "kind": "operation.count",
480
+ "operation": {
481
+ "packageId": "stripe",
482
+ "operationId": "refunds.list"
483
+ },
484
+ "outcomes": [
485
+ "tool_error"
486
+ ],
487
+ "comparison": {
488
+ "operator": "greater_than_or_equal",
489
+ "value": 1
490
+ }
491
+ },
492
+ {
493
+ "id": "subscriptions-cancel-error",
494
+ "kind": "operation.count",
495
+ "operation": {
496
+ "packageId": "stripe",
497
+ "operationId": "subscriptions.cancel"
498
+ },
499
+ "outcomes": [
500
+ "tool_error"
501
+ ],
502
+ "comparison": {
503
+ "operator": "greater_than_or_equal",
504
+ "value": 1
505
+ }
506
+ },
507
+ {
508
+ "id": "subscriptions-create-error",
509
+ "kind": "operation.count",
510
+ "operation": {
511
+ "packageId": "stripe",
512
+ "operationId": "subscriptions.create"
513
+ },
514
+ "outcomes": [
515
+ "tool_error"
516
+ ],
517
+ "comparison": {
518
+ "operator": "greater_than_or_equal",
519
+ "value": 1
520
+ }
521
+ },
522
+ {
523
+ "id": "subscriptions-list-error",
524
+ "kind": "operation.count",
525
+ "operation": {
526
+ "packageId": "stripe",
527
+ "operationId": "subscriptions.list"
528
+ },
529
+ "outcomes": [
530
+ "tool_error"
531
+ ],
532
+ "comparison": {
533
+ "operator": "greater_than_or_equal",
534
+ "value": 1
535
+ }
536
+ },
537
+ {
538
+ "id": "subscriptions-retrieve-error",
539
+ "kind": "operation.count",
540
+ "operation": {
541
+ "packageId": "stripe",
542
+ "operationId": "subscriptions.retrieve"
543
+ },
544
+ "outcomes": [
545
+ "tool_error"
546
+ ],
547
+ "comparison": {
548
+ "operator": "greater_than_or_equal",
549
+ "value": 1
550
+ }
551
+ },
552
+ {
553
+ "id": "subscriptions-update-error",
554
+ "kind": "operation.count",
555
+ "operation": {
556
+ "packageId": "stripe",
557
+ "operationId": "subscriptions.update"
558
+ },
559
+ "outcomes": [
560
+ "tool_error"
561
+ ],
562
+ "comparison": {
563
+ "operator": "greater_than_or_equal",
564
+ "value": 1
565
+ }
566
+ },
567
+ {
568
+ "id": "balance-retrieve-ok",
569
+ "kind": "operation.count",
570
+ "operation": {
571
+ "packageId": "stripe",
572
+ "operationId": "balance.retrieve"
573
+ },
574
+ "outcomes": [
575
+ "ok"
576
+ ],
577
+ "comparison": {
578
+ "operator": "equals",
579
+ "value": 0
580
+ }
581
+ },
582
+ {
583
+ "id": "charges-list-ok",
584
+ "kind": "operation.count",
585
+ "operation": {
586
+ "packageId": "stripe",
587
+ "operationId": "charges.list"
588
+ },
589
+ "outcomes": [
590
+ "ok"
591
+ ],
592
+ "comparison": {
593
+ "operator": "equals",
594
+ "value": 0
595
+ }
596
+ },
597
+ {
598
+ "id": "charges-retrieve-ok",
599
+ "kind": "operation.count",
600
+ "operation": {
601
+ "packageId": "stripe",
602
+ "operationId": "charges.retrieve"
603
+ },
604
+ "outcomes": [
605
+ "ok"
606
+ ],
607
+ "comparison": {
608
+ "operator": "equals",
609
+ "value": 0
610
+ }
611
+ },
612
+ {
613
+ "id": "customers-create-ok",
614
+ "kind": "operation.count",
615
+ "operation": {
616
+ "packageId": "stripe",
617
+ "operationId": "customers.create"
618
+ },
619
+ "outcomes": [
620
+ "ok"
621
+ ],
622
+ "comparison": {
623
+ "operator": "equals",
624
+ "value": 0
625
+ }
626
+ },
627
+ {
628
+ "id": "customers-list-ok",
629
+ "kind": "operation.count",
630
+ "operation": {
631
+ "packageId": "stripe",
632
+ "operationId": "customers.list"
633
+ },
634
+ "outcomes": [
635
+ "ok"
636
+ ],
637
+ "comparison": {
638
+ "operator": "equals",
639
+ "value": 0
640
+ }
641
+ },
642
+ {
643
+ "id": "customers-retrieve-ok",
644
+ "kind": "operation.count",
645
+ "operation": {
646
+ "packageId": "stripe",
647
+ "operationId": "customers.retrieve"
648
+ },
649
+ "outcomes": [
650
+ "ok"
651
+ ],
652
+ "comparison": {
653
+ "operator": "equals",
654
+ "value": 0
655
+ }
656
+ },
657
+ {
658
+ "id": "customers-update-ok",
659
+ "kind": "operation.count",
660
+ "operation": {
661
+ "packageId": "stripe",
662
+ "operationId": "customers.update"
663
+ },
664
+ "outcomes": [
665
+ "ok"
666
+ ],
667
+ "comparison": {
668
+ "operator": "equals",
669
+ "value": 0
670
+ }
671
+ },
672
+ {
673
+ "id": "invoice-items-create-ok",
674
+ "kind": "operation.count",
675
+ "operation": {
676
+ "packageId": "stripe",
677
+ "operationId": "invoice_items.create"
678
+ },
679
+ "outcomes": [
680
+ "ok"
681
+ ],
682
+ "comparison": {
683
+ "operator": "equals",
684
+ "value": 0
685
+ }
686
+ },
687
+ {
688
+ "id": "invoices-create-ok",
689
+ "kind": "operation.count",
690
+ "operation": {
691
+ "packageId": "stripe",
692
+ "operationId": "invoices.create"
693
+ },
694
+ "outcomes": [
695
+ "ok"
696
+ ],
697
+ "comparison": {
698
+ "operator": "equals",
699
+ "value": 0
700
+ }
701
+ },
702
+ {
703
+ "id": "invoices-finalize-ok",
704
+ "kind": "operation.count",
705
+ "operation": {
706
+ "packageId": "stripe",
707
+ "operationId": "invoices.finalize"
708
+ },
709
+ "outcomes": [
710
+ "ok"
711
+ ],
712
+ "comparison": {
713
+ "operator": "equals",
714
+ "value": 0
715
+ }
716
+ },
717
+ {
718
+ "id": "invoices-list-ok",
719
+ "kind": "operation.count",
720
+ "operation": {
721
+ "packageId": "stripe",
722
+ "operationId": "invoices.list"
723
+ },
724
+ "outcomes": [
725
+ "ok"
726
+ ],
727
+ "comparison": {
728
+ "operator": "equals",
729
+ "value": 0
730
+ }
731
+ },
732
+ {
733
+ "id": "invoices-pay-ok",
734
+ "kind": "operation.count",
735
+ "operation": {
736
+ "packageId": "stripe",
737
+ "operationId": "invoices.pay"
738
+ },
739
+ "outcomes": [
740
+ "ok"
741
+ ],
742
+ "comparison": {
743
+ "operator": "equals",
744
+ "value": 0
745
+ }
746
+ },
747
+ {
748
+ "id": "invoices-retrieve-ok",
749
+ "kind": "operation.count",
750
+ "operation": {
751
+ "packageId": "stripe",
752
+ "operationId": "invoices.retrieve"
753
+ },
754
+ "outcomes": [
755
+ "ok"
756
+ ],
757
+ "comparison": {
758
+ "operator": "equals",
759
+ "value": 0
760
+ }
761
+ },
762
+ {
763
+ "id": "invoices-void-ok",
764
+ "kind": "operation.count",
765
+ "operation": {
766
+ "packageId": "stripe",
767
+ "operationId": "invoices.void"
768
+ },
769
+ "outcomes": [
770
+ "ok"
771
+ ],
772
+ "comparison": {
773
+ "operator": "equals",
774
+ "value": 0
775
+ }
776
+ },
777
+ {
778
+ "id": "payment-intents-cancel-ok",
779
+ "kind": "operation.count",
780
+ "operation": {
781
+ "packageId": "stripe",
782
+ "operationId": "payment_intents.cancel"
783
+ },
784
+ "outcomes": [
785
+ "ok"
786
+ ],
787
+ "comparison": {
788
+ "operator": "equals",
789
+ "value": 0
790
+ }
791
+ },
792
+ {
793
+ "id": "payment-intents-capture-ok",
794
+ "kind": "operation.count",
795
+ "operation": {
796
+ "packageId": "stripe",
797
+ "operationId": "payment_intents.capture"
798
+ },
799
+ "outcomes": [
800
+ "ok"
801
+ ],
802
+ "comparison": {
803
+ "operator": "equals",
804
+ "value": 0
805
+ }
806
+ },
807
+ {
808
+ "id": "payment-intents-confirm-ok",
809
+ "kind": "operation.count",
810
+ "operation": {
811
+ "packageId": "stripe",
812
+ "operationId": "payment_intents.confirm"
813
+ },
814
+ "outcomes": [
815
+ "ok"
816
+ ],
817
+ "comparison": {
818
+ "operator": "equals",
819
+ "value": 0
820
+ }
821
+ },
822
+ {
823
+ "id": "payment-intents-create-ok",
824
+ "kind": "operation.count",
825
+ "operation": {
826
+ "packageId": "stripe",
827
+ "operationId": "payment_intents.create"
828
+ },
829
+ "outcomes": [
830
+ "ok"
831
+ ],
832
+ "comparison": {
833
+ "operator": "equals",
834
+ "value": 0
835
+ }
836
+ },
837
+ {
838
+ "id": "payment-intents-list-ok",
839
+ "kind": "operation.count",
840
+ "operation": {
841
+ "packageId": "stripe",
842
+ "operationId": "payment_intents.list"
843
+ },
844
+ "outcomes": [
845
+ "ok"
846
+ ],
847
+ "comparison": {
848
+ "operator": "equals",
849
+ "value": 0
850
+ }
851
+ },
852
+ {
853
+ "id": "payment-intents-retrieve-ok",
854
+ "kind": "operation.count",
855
+ "operation": {
856
+ "packageId": "stripe",
857
+ "operationId": "payment_intents.retrieve"
858
+ },
859
+ "outcomes": [
860
+ "ok"
861
+ ],
862
+ "comparison": {
863
+ "operator": "equals",
864
+ "value": 0
865
+ }
866
+ },
867
+ {
868
+ "id": "payment-methods-attach-ok",
869
+ "kind": "operation.count",
870
+ "operation": {
871
+ "packageId": "stripe",
872
+ "operationId": "payment_methods.attach"
873
+ },
874
+ "outcomes": [
875
+ "ok"
876
+ ],
877
+ "comparison": {
878
+ "operator": "equals",
879
+ "value": 0
880
+ }
881
+ },
882
+ {
883
+ "id": "payment-methods-detach-ok",
884
+ "kind": "operation.count",
885
+ "operation": {
886
+ "packageId": "stripe",
887
+ "operationId": "payment_methods.detach"
888
+ },
889
+ "outcomes": [
890
+ "ok"
891
+ ],
892
+ "comparison": {
893
+ "operator": "equals",
894
+ "value": 0
895
+ }
896
+ },
897
+ {
898
+ "id": "payment-methods-list-ok",
899
+ "kind": "operation.count",
900
+ "operation": {
901
+ "packageId": "stripe",
902
+ "operationId": "payment_methods.list"
903
+ },
904
+ "outcomes": [
905
+ "ok"
906
+ ],
907
+ "comparison": {
908
+ "operator": "equals",
909
+ "value": 0
910
+ }
911
+ },
912
+ {
913
+ "id": "prices-create-ok",
914
+ "kind": "operation.count",
915
+ "operation": {
916
+ "packageId": "stripe",
917
+ "operationId": "prices.create"
918
+ },
919
+ "outcomes": [
920
+ "ok"
921
+ ],
922
+ "comparison": {
923
+ "operator": "equals",
924
+ "value": 0
925
+ }
926
+ },
927
+ {
928
+ "id": "prices-list-ok",
929
+ "kind": "operation.count",
930
+ "operation": {
931
+ "packageId": "stripe",
932
+ "operationId": "prices.list"
933
+ },
934
+ "outcomes": [
935
+ "ok"
936
+ ],
937
+ "comparison": {
938
+ "operator": "equals",
939
+ "value": 0
940
+ }
941
+ },
942
+ {
943
+ "id": "prices-retrieve-ok",
944
+ "kind": "operation.count",
945
+ "operation": {
946
+ "packageId": "stripe",
947
+ "operationId": "prices.retrieve"
948
+ },
949
+ "outcomes": [
950
+ "ok"
951
+ ],
952
+ "comparison": {
953
+ "operator": "equals",
954
+ "value": 0
955
+ }
956
+ },
957
+ {
958
+ "id": "products-create-ok",
959
+ "kind": "operation.count",
960
+ "operation": {
961
+ "packageId": "stripe",
962
+ "operationId": "products.create"
963
+ },
964
+ "outcomes": [
965
+ "ok"
966
+ ],
967
+ "comparison": {
968
+ "operator": "equals",
969
+ "value": 0
970
+ }
971
+ },
972
+ {
973
+ "id": "products-list-ok",
974
+ "kind": "operation.count",
975
+ "operation": {
976
+ "packageId": "stripe",
977
+ "operationId": "products.list"
978
+ },
979
+ "outcomes": [
980
+ "ok"
981
+ ],
982
+ "comparison": {
983
+ "operator": "equals",
984
+ "value": 0
985
+ }
986
+ },
987
+ {
988
+ "id": "products-retrieve-ok",
989
+ "kind": "operation.count",
990
+ "operation": {
991
+ "packageId": "stripe",
992
+ "operationId": "products.retrieve"
993
+ },
994
+ "outcomes": [
995
+ "ok"
996
+ ],
997
+ "comparison": {
998
+ "operator": "equals",
999
+ "value": 0
1000
+ }
1001
+ },
1002
+ {
1003
+ "id": "products-update-ok",
1004
+ "kind": "operation.count",
1005
+ "operation": {
1006
+ "packageId": "stripe",
1007
+ "operationId": "products.update"
1008
+ },
1009
+ "outcomes": [
1010
+ "ok"
1011
+ ],
1012
+ "comparison": {
1013
+ "operator": "equals",
1014
+ "value": 0
1015
+ }
1016
+ },
1017
+ {
1018
+ "id": "refunds-create-ok",
1019
+ "kind": "operation.count",
1020
+ "operation": {
1021
+ "packageId": "stripe",
1022
+ "operationId": "refunds.create"
1023
+ },
1024
+ "outcomes": [
1025
+ "ok"
1026
+ ],
1027
+ "comparison": {
1028
+ "operator": "equals",
1029
+ "value": 0
1030
+ }
1031
+ },
1032
+ {
1033
+ "id": "refunds-list-ok",
1034
+ "kind": "operation.count",
1035
+ "operation": {
1036
+ "packageId": "stripe",
1037
+ "operationId": "refunds.list"
1038
+ },
1039
+ "outcomes": [
1040
+ "ok"
1041
+ ],
1042
+ "comparison": {
1043
+ "operator": "equals",
1044
+ "value": 0
1045
+ }
1046
+ },
1047
+ {
1048
+ "id": "subscriptions-cancel-ok",
1049
+ "kind": "operation.count",
1050
+ "operation": {
1051
+ "packageId": "stripe",
1052
+ "operationId": "subscriptions.cancel"
1053
+ },
1054
+ "outcomes": [
1055
+ "ok"
1056
+ ],
1057
+ "comparison": {
1058
+ "operator": "equals",
1059
+ "value": 0
1060
+ }
1061
+ },
1062
+ {
1063
+ "id": "subscriptions-create-ok",
1064
+ "kind": "operation.count",
1065
+ "operation": {
1066
+ "packageId": "stripe",
1067
+ "operationId": "subscriptions.create"
1068
+ },
1069
+ "outcomes": [
1070
+ "ok"
1071
+ ],
1072
+ "comparison": {
1073
+ "operator": "equals",
1074
+ "value": 0
1075
+ }
1076
+ },
1077
+ {
1078
+ "id": "subscriptions-list-ok",
1079
+ "kind": "operation.count",
1080
+ "operation": {
1081
+ "packageId": "stripe",
1082
+ "operationId": "subscriptions.list"
1083
+ },
1084
+ "outcomes": [
1085
+ "ok"
1086
+ ],
1087
+ "comparison": {
1088
+ "operator": "equals",
1089
+ "value": 0
1090
+ }
1091
+ },
1092
+ {
1093
+ "id": "subscriptions-retrieve-ok",
1094
+ "kind": "operation.count",
1095
+ "operation": {
1096
+ "packageId": "stripe",
1097
+ "operationId": "subscriptions.retrieve"
1098
+ },
1099
+ "outcomes": [
1100
+ "ok"
1101
+ ],
1102
+ "comparison": {
1103
+ "operator": "equals",
1104
+ "value": 0
1105
+ }
1106
+ },
1107
+ {
1108
+ "id": "subscriptions-update-ok",
1109
+ "kind": "operation.count",
1110
+ "operation": {
1111
+ "packageId": "stripe",
1112
+ "operationId": "subscriptions.update"
1113
+ },
1114
+ "outcomes": [
1115
+ "ok"
1116
+ ],
1117
+ "comparison": {
1118
+ "operator": "equals",
1119
+ "value": 0
1120
+ }
1121
+ },
1122
+ {
1123
+ "id": "customers-count",
1124
+ "kind": "state.count",
1125
+ "packageId": "stripe",
1126
+ "namespace": "customers",
1127
+ "comparison": {
1128
+ "operator": "equals",
1129
+ "value": 12
1130
+ }
1131
+ },
1132
+ {
1133
+ "id": "payment_intents-count",
1134
+ "kind": "state.count",
1135
+ "packageId": "stripe",
1136
+ "namespace": "payment_intents",
1137
+ "comparison": {
1138
+ "operator": "equals",
1139
+ "value": 21
1140
+ }
1141
+ }
1142
+ ]
1143
+ }