@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.
- package/LICENSE +201 -0
- package/README.md +433 -0
- package/firedrill/agent.target.json +17 -0
- package/firedrill/api-unavailable.scenario.json +11 -0
- package/firedrill/baseline.scenario.json +5 -0
- package/firedrill/conformance.suite.json +17 -0
- package/firedrill/rate-limited.scenario.json +11 -0
- package/firedrill/refund-committed-lost.scenario.json +11 -0
- package/firedrill/stripe-api-unavailable.drill.json +463 -0
- package/firedrill/stripe-denied.drill.json +74 -0
- package/firedrill/stripe-large-pages.drill.json +153 -0
- package/firedrill/stripe-live-mode.drill.json +136 -0
- package/firedrill/stripe-mcp-aliases.drill.json +406 -0
- package/firedrill/stripe-no-permissions.drill.json +1143 -0
- package/firedrill/stripe-rate-limited.drill.json +616 -0
- package/firedrill/stripe-refund-committed-lost.drill.json +139 -0
- package/firedrill/stripe-rest-flow.drill.json +1401 -0
- package/firedrill/stripe-restricted-key.drill.json +171 -0
- package/firedrill/tools/stripe/app/assets/ATTRIBUTION.md +36 -0
- package/firedrill/tools/stripe/app/assets/fonts/OFL.txt +93 -0
- package/firedrill/tools/stripe/app/assets/stripe-s.svg +1 -0
- package/firedrill/tools/stripe/app/assets/stripe.svg +1 -0
- package/firedrill/tools/stripe/app/site/app.js +456 -0
- package/firedrill/tools/stripe/app/site/assets/fonts/inter-latin.woff2 +0 -0
- package/firedrill/tools/stripe/app/site/assets/stripe-s.svg +1 -0
- package/firedrill/tools/stripe/app/site/assets/stripe.svg +1 -0
- package/firedrill/tools/stripe/app/site/icons.js +90 -0
- package/firedrill/tools/stripe/app/site/index.html +137 -0
- package/firedrill/tools/stripe/app/site/pages-billing.js +902 -0
- package/firedrill/tools/stripe/app/site/pages-catalog.js +314 -0
- package/firedrill/tools/stripe/app/site/pages-customers.js +416 -0
- package/firedrill/tools/stripe/app/site/pages-home.js +373 -0
- package/firedrill/tools/stripe/app/site/pages-payments.js +502 -0
- package/firedrill/tools/stripe/app/site/store.js +99 -0
- package/firedrill/tools/stripe/app/site/styles.css +2512 -0
- package/firedrill/tools/stripe/app/site/ui.js +767 -0
- package/firedrill/tools/stripe/app/site/widgets.js +707 -0
- package/firedrill/tools/stripe/behavior.mjs +148 -0
- package/firedrill/tools/stripe/lib/cards.mjs +53 -0
- package/firedrill/tools/stripe/lib/form.mjs +204 -0
- package/firedrill/tools/stripe/lib/ids.mjs +85 -0
- package/firedrill/tools/stripe/lib/money.mjs +35 -0
- package/firedrill/tools/stripe/lib/objects.mjs +229 -0
- package/firedrill/tools/stripe/lib/periods.mjs +41 -0
- package/firedrill/tools/stripe/lib/size.mjs +55 -0
- package/firedrill/tools/stripe/lib/state.mjs +230 -0
- package/firedrill/tools/stripe/lib/validate.mjs +184 -0
- package/firedrill/tools/stripe/lib/wire.mjs +98 -0
- package/firedrill/tools/stripe/ops/billing.mjs +914 -0
- package/firedrill/tools/stripe/ops/catalog.mjs +203 -0
- package/firedrill/tools/stripe/ops/customers.mjs +241 -0
- package/firedrill/tools/stripe/ops/dashboard.mjs +29 -0
- package/firedrill/tools/stripe/ops/payments.mjs +608 -0
- package/firedrill/tools/stripe/stripe.tool.json +28833 -0
- package/firedrill/world.json +8527 -0
- package/firedrill.json +5 -0
- package/package.json +64 -0
- package/starter.json +7999 -0
- package/test/conformance.mjs +1133 -0
|
@@ -0,0 +1,616 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"id": "stripe-rate-limited",
|
|
4
|
+
"title": "Every call answers HTTP 429 rate_limit and nothing is written",
|
|
5
|
+
"targetId": "conformance-agent",
|
|
6
|
+
"scenarioId": "rate-limited",
|
|
7
|
+
"actorId": "owner",
|
|
8
|
+
"task": {
|
|
9
|
+
"instruction": "Run the rate-limited 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": "customers-create-ok",
|
|
569
|
+
"kind": "operation.count",
|
|
570
|
+
"operation": {
|
|
571
|
+
"packageId": "stripe",
|
|
572
|
+
"operationId": "customers.create"
|
|
573
|
+
},
|
|
574
|
+
"outcomes": [
|
|
575
|
+
"ok"
|
|
576
|
+
],
|
|
577
|
+
"comparison": {
|
|
578
|
+
"operator": "equals",
|
|
579
|
+
"value": 0
|
|
580
|
+
}
|
|
581
|
+
},
|
|
582
|
+
{
|
|
583
|
+
"id": "customers-count",
|
|
584
|
+
"kind": "state.count",
|
|
585
|
+
"packageId": "stripe",
|
|
586
|
+
"namespace": "customers",
|
|
587
|
+
"comparison": {
|
|
588
|
+
"operator": "equals",
|
|
589
|
+
"value": 12
|
|
590
|
+
}
|
|
591
|
+
},
|
|
592
|
+
{
|
|
593
|
+
"id": "refunds-count",
|
|
594
|
+
"kind": "state.count",
|
|
595
|
+
"packageId": "stripe",
|
|
596
|
+
"namespace": "refunds",
|
|
597
|
+
"comparison": {
|
|
598
|
+
"operator": "equals",
|
|
599
|
+
"value": 4
|
|
600
|
+
}
|
|
601
|
+
},
|
|
602
|
+
{
|
|
603
|
+
"id": "payment_intent-succeeded-events",
|
|
604
|
+
"kind": "event.count",
|
|
605
|
+
"event": {
|
|
606
|
+
"packageId": "stripe",
|
|
607
|
+
"eventId": "payment_intent.succeeded"
|
|
608
|
+
},
|
|
609
|
+
"phase": "emitted",
|
|
610
|
+
"comparison": {
|
|
611
|
+
"operator": "equals",
|
|
612
|
+
"value": 0
|
|
613
|
+
}
|
|
614
|
+
}
|
|
615
|
+
]
|
|
616
|
+
}
|