@firedrill-tools/quickbooks 0.1.2

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 (81) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +240 -0
  3. package/firedrill/agent.target.json +17 -0
  4. package/firedrill/baseline.scenario.json +2338 -0
  5. package/firedrill/conformance.suite.json +22 -0
  6. package/firedrill/payment-response-lost.scenario.json +2344 -0
  7. package/firedrill/qbo-company-query.drill.json +143 -0
  8. package/firedrill/qbo-customers-items.drill.json +173 -0
  9. package/firedrill/qbo-default-identity.drill.json +53 -0
  10. package/firedrill/qbo-denied.drill.json +53 -0
  11. package/firedrill/qbo-escape-heavy-invoices.drill.json +160 -0
  12. package/firedrill/qbo-invalid-auth.drill.json +398 -0
  13. package/firedrill/qbo-invoice-lifecycle.drill.json +193 -0
  14. package/firedrill/qbo-large-invoice.drill.json +174 -0
  15. package/firedrill/qbo-mcp-shapes.drill.json +503 -0
  16. package/firedrill/qbo-payment-response-lost.drill.json +80 -0
  17. package/firedrill/qbo-payments.drill.json +110 -0
  18. package/firedrill/qbo-reports-only.drill.json +398 -0
  19. package/firedrill/qbo-roles.drill.json +143 -0
  20. package/firedrill/qbo-throttled.drill.json +398 -0
  21. package/firedrill/qbo-tight-limits.drill.json +368 -0
  22. package/firedrill/qbo-write-outage.drill.json +411 -0
  23. package/firedrill/throttled.scenario.json +2344 -0
  24. package/firedrill/tight-limits.scenario.json +2338 -0
  25. package/firedrill/tools/quickbooks/app/assets/ATTRIBUTION.md +33 -0
  26. package/firedrill/tools/quickbooks/app/assets/fonts/OFL.txt +93 -0
  27. package/firedrill/tools/quickbooks/app/assets/intuit-quickbooks.svg +1 -0
  28. package/firedrill/tools/quickbooks/app/assets/quickbooks.svg +1 -0
  29. package/firedrill/tools/quickbooks/app/site/app.js +157 -0
  30. package/firedrill/tools/quickbooks/app/site/assets/fonts/figtree-latin.woff2 +0 -0
  31. package/firedrill/tools/quickbooks/app/site/assets/intuit-quickbooks.svg +1 -0
  32. package/firedrill/tools/quickbooks/app/site/assets/quickbooks.svg +1 -0
  33. package/firedrill/tools/quickbooks/app/site/base.css +107 -0
  34. package/firedrill/tools/quickbooks/app/site/forms.css +85 -0
  35. package/firedrill/tools/quickbooks/app/site/icons.js +73 -0
  36. package/firedrill/tools/quickbooks/app/site/index.html +81 -0
  37. package/firedrill/tools/quickbooks/app/site/nav.css +99 -0
  38. package/firedrill/tools/quickbooks/app/site/store.js +85 -0
  39. package/firedrill/tools/quickbooks/app/site/tables.css +114 -0
  40. package/firedrill/tools/quickbooks/app/site/ui.js +189 -0
  41. package/firedrill/tools/quickbooks/app/site/views/accounts.js +59 -0
  42. package/firedrill/tools/quickbooks/app/site/views/batch-actions.js +116 -0
  43. package/firedrill/tools/quickbooks/app/site/views/batch.js +91 -0
  44. package/firedrill/tools/quickbooks/app/site/views/common.js +87 -0
  45. package/firedrill/tools/quickbooks/app/site/views/customer-detail.js +85 -0
  46. package/firedrill/tools/quickbooks/app/site/views/customer-drawer.js +71 -0
  47. package/firedrill/tools/quickbooks/app/site/views/customers.js +87 -0
  48. package/firedrill/tools/quickbooks/app/site/views/home.js +79 -0
  49. package/firedrill/tools/quickbooks/app/site/views/invoice-actions.js +109 -0
  50. package/firedrill/tools/quickbooks/app/site/views/invoice-editor.js +126 -0
  51. package/firedrill/tools/quickbooks/app/site/views/invoice-lines.js +92 -0
  52. package/firedrill/tools/quickbooks/app/site/views/invoices.js +118 -0
  53. package/firedrill/tools/quickbooks/app/site/views/items.js +105 -0
  54. package/firedrill/tools/quickbooks/app/site/views/payments.js +63 -0
  55. package/firedrill/tools/quickbooks/app/site/views/receive-payment.js +102 -0
  56. package/firedrill/tools/quickbooks/app/site/views/txn-frame.js +25 -0
  57. package/firedrill/tools/quickbooks/behavior.mjs +10 -0
  58. package/firedrill/tools/quickbooks/lib/access.mjs +167 -0
  59. package/firedrill/tools/quickbooks/lib/common.mjs +204 -0
  60. package/firedrill/tools/quickbooks/lib/criteria.mjs +107 -0
  61. package/firedrill/tools/quickbooks/lib/customers.mjs +140 -0
  62. package/firedrill/tools/quickbooks/lib/fields.mjs +157 -0
  63. package/firedrill/tools/quickbooks/lib/handlers-read.mjs +81 -0
  64. package/firedrill/tools/quickbooks/lib/handlers-write.mjs +95 -0
  65. package/firedrill/tools/quickbooks/lib/invoice-draft.mjs +165 -0
  66. package/firedrill/tools/quickbooks/lib/invoices.mjs +229 -0
  67. package/firedrill/tools/quickbooks/lib/items.mjs +117 -0
  68. package/firedrill/tools/quickbooks/lib/like.mjs +49 -0
  69. package/firedrill/tools/quickbooks/lib/payments.mjs +200 -0
  70. package/firedrill/tools/quickbooks/lib/pdf.mjs +96 -0
  71. package/firedrill/tools/quickbooks/lib/query-eval.mjs +178 -0
  72. package/firedrill/tools/quickbooks/lib/query-parse.mjs +229 -0
  73. package/firedrill/tools/quickbooks/lib/views.mjs +88 -0
  74. package/firedrill/tools/quickbooks/lib/wire.mjs +147 -0
  75. package/firedrill/tools/quickbooks/quickbooks.tool.json +11014 -0
  76. package/firedrill/world.json +559 -0
  77. package/firedrill/write-outage.scenario.json +2344 -0
  78. package/firedrill.json +5 -0
  79. package/package.json +52 -0
  80. package/starter.json +2337 -0
  81. package/test/conformance.mjs +674 -0
@@ -0,0 +1,174 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "id": "qbo-large-invoice",
4
+ "title": "A maximal invoice is readable by GET, PDF and its own query; pages split by bytes",
5
+ "targetId": "conformance-agent",
6
+ "scenarioId": "baseline",
7
+ "actorId": "admin",
8
+ "task": {
9
+ "instruction": "Run the large-invoice conformance flow against the synthetic QuickBooks Online Tool and fail loudly on any unexpected status or body."
10
+ },
11
+ "assertions": [
12
+ {
13
+ "id": "invoices-post-ok",
14
+ "kind": "operation.count",
15
+ "operation": {
16
+ "packageId": "quickbooks",
17
+ "operationId": "invoices.post"
18
+ },
19
+ "outcomes": [
20
+ "ok"
21
+ ],
22
+ "comparison": {
23
+ "operator": "greater_than_or_equal",
24
+ "value": 2
25
+ }
26
+ },
27
+ {
28
+ "id": "invoices-post-tool_error",
29
+ "kind": "operation.count",
30
+ "operation": {
31
+ "packageId": "quickbooks",
32
+ "operationId": "invoices.post"
33
+ },
34
+ "outcomes": [
35
+ "tool_error"
36
+ ],
37
+ "comparison": {
38
+ "operator": "greater_than_or_equal",
39
+ "value": 2
40
+ }
41
+ },
42
+ {
43
+ "id": "invoices-create-ok",
44
+ "kind": "operation.count",
45
+ "operation": {
46
+ "packageId": "quickbooks",
47
+ "operationId": "invoices.create"
48
+ },
49
+ "outcomes": [
50
+ "ok"
51
+ ],
52
+ "comparison": {
53
+ "operator": "greater_than_or_equal",
54
+ "value": 1
55
+ }
56
+ },
57
+ {
58
+ "id": "invoices-create-tool_error",
59
+ "kind": "operation.count",
60
+ "operation": {
61
+ "packageId": "quickbooks",
62
+ "operationId": "invoices.create"
63
+ },
64
+ "outcomes": [
65
+ "tool_error"
66
+ ],
67
+ "comparison": {
68
+ "operator": "greater_than_or_equal",
69
+ "value": 1
70
+ }
71
+ },
72
+ {
73
+ "id": "invoices-get-ok",
74
+ "kind": "operation.count",
75
+ "operation": {
76
+ "packageId": "quickbooks",
77
+ "operationId": "invoices.get"
78
+ },
79
+ "outcomes": [
80
+ "ok"
81
+ ],
82
+ "comparison": {
83
+ "operator": "greater_than_or_equal",
84
+ "value": 1
85
+ }
86
+ },
87
+ {
88
+ "id": "invoices-pdf-ok",
89
+ "kind": "operation.count",
90
+ "operation": {
91
+ "packageId": "quickbooks",
92
+ "operationId": "invoices.pdf"
93
+ },
94
+ "outcomes": [
95
+ "ok"
96
+ ],
97
+ "comparison": {
98
+ "operator": "greater_than_or_equal",
99
+ "value": 1
100
+ }
101
+ },
102
+ {
103
+ "id": "query-run-ok",
104
+ "kind": "operation.count",
105
+ "operation": {
106
+ "packageId": "quickbooks",
107
+ "operationId": "query.run"
108
+ },
109
+ "outcomes": [
110
+ "ok"
111
+ ],
112
+ "comparison": {
113
+ "operator": "greater_than_or_equal",
114
+ "value": 8
115
+ }
116
+ },
117
+ {
118
+ "id": "invoices-search-ok",
119
+ "kind": "operation.count",
120
+ "operation": {
121
+ "packageId": "quickbooks",
122
+ "operationId": "invoices.search"
123
+ },
124
+ "outcomes": [
125
+ "ok"
126
+ ],
127
+ "comparison": {
128
+ "operator": "greater_than_or_equal",
129
+ "value": 2
130
+ }
131
+ },
132
+ {
133
+ "id": "invoices-search-tool_error",
134
+ "kind": "operation.count",
135
+ "operation": {
136
+ "packageId": "quickbooks",
137
+ "operationId": "invoices.search"
138
+ },
139
+ "outcomes": [
140
+ "tool_error"
141
+ ],
142
+ "comparison": {
143
+ "operator": "greater_than_or_equal",
144
+ "value": 1
145
+ }
146
+ },
147
+ {
148
+ "id": "invoices-count",
149
+ "kind": "state.count",
150
+ "packageId": "quickbooks",
151
+ "namespace": "invoices",
152
+ "comparison": {
153
+ "operator": "equals",
154
+ "value": 17
155
+ }
156
+ },
157
+ {
158
+ "id": "invoice-1052-lines",
159
+ "kind": "state.value",
160
+ "packageId": "quickbooks",
161
+ "namespace": "invoices",
162
+ "rowId": "0000001052",
163
+ "path": [
164
+ "Line",
165
+ 249,
166
+ "LineNum"
167
+ ],
168
+ "comparison": {
169
+ "operator": "equals",
170
+ "value": 250
171
+ }
172
+ }
173
+ ]
174
+ }
@@ -0,0 +1,503 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "id": "qbo-mcp-shapes",
4
+ "title": "Every MCP tool-name alias with its argument shape and errors",
5
+ "targetId": "conformance-agent",
6
+ "scenarioId": "baseline",
7
+ "actorId": "admin",
8
+ "task": {
9
+ "instruction": "Run the mcp-shapes conformance flow against the synthetic QuickBooks Online Tool and fail loudly on any unexpected status or body."
10
+ },
11
+ "assertions": [
12
+ {
13
+ "id": "company-info-get-ok",
14
+ "kind": "operation.count",
15
+ "operation": {
16
+ "packageId": "quickbooks",
17
+ "operationId": "company-info.get"
18
+ },
19
+ "outcomes": [
20
+ "ok"
21
+ ],
22
+ "comparison": {
23
+ "operator": "greater_than_or_equal",
24
+ "value": 1
25
+ }
26
+ },
27
+ {
28
+ "id": "customers-get-ok",
29
+ "kind": "operation.count",
30
+ "operation": {
31
+ "packageId": "quickbooks",
32
+ "operationId": "customers.get"
33
+ },
34
+ "outcomes": [
35
+ "ok"
36
+ ],
37
+ "comparison": {
38
+ "operator": "greater_than_or_equal",
39
+ "value": 1
40
+ }
41
+ },
42
+ {
43
+ "id": "customers-search-ok",
44
+ "kind": "operation.count",
45
+ "operation": {
46
+ "packageId": "quickbooks",
47
+ "operationId": "customers.search"
48
+ },
49
+ "outcomes": [
50
+ "ok"
51
+ ],
52
+ "comparison": {
53
+ "operator": "greater_than_or_equal",
54
+ "value": 1
55
+ }
56
+ },
57
+ {
58
+ "id": "customers-create-ok",
59
+ "kind": "operation.count",
60
+ "operation": {
61
+ "packageId": "quickbooks",
62
+ "operationId": "customers.create"
63
+ },
64
+ "outcomes": [
65
+ "ok"
66
+ ],
67
+ "comparison": {
68
+ "operator": "greater_than_or_equal",
69
+ "value": 1
70
+ }
71
+ },
72
+ {
73
+ "id": "customers-update-ok",
74
+ "kind": "operation.count",
75
+ "operation": {
76
+ "packageId": "quickbooks",
77
+ "operationId": "customers.update"
78
+ },
79
+ "outcomes": [
80
+ "ok"
81
+ ],
82
+ "comparison": {
83
+ "operator": "greater_than_or_equal",
84
+ "value": 1
85
+ }
86
+ },
87
+ {
88
+ "id": "customers-delete-ok",
89
+ "kind": "operation.count",
90
+ "operation": {
91
+ "packageId": "quickbooks",
92
+ "operationId": "customers.delete"
93
+ },
94
+ "outcomes": [
95
+ "ok"
96
+ ],
97
+ "comparison": {
98
+ "operator": "greater_than_or_equal",
99
+ "value": 1
100
+ }
101
+ },
102
+ {
103
+ "id": "items-get-ok",
104
+ "kind": "operation.count",
105
+ "operation": {
106
+ "packageId": "quickbooks",
107
+ "operationId": "items.get"
108
+ },
109
+ "outcomes": [
110
+ "ok"
111
+ ],
112
+ "comparison": {
113
+ "operator": "greater_than_or_equal",
114
+ "value": 1
115
+ }
116
+ },
117
+ {
118
+ "id": "items-search-ok",
119
+ "kind": "operation.count",
120
+ "operation": {
121
+ "packageId": "quickbooks",
122
+ "operationId": "items.search"
123
+ },
124
+ "outcomes": [
125
+ "ok"
126
+ ],
127
+ "comparison": {
128
+ "operator": "greater_than_or_equal",
129
+ "value": 1
130
+ }
131
+ },
132
+ {
133
+ "id": "invoices-get-ok",
134
+ "kind": "operation.count",
135
+ "operation": {
136
+ "packageId": "quickbooks",
137
+ "operationId": "invoices.get"
138
+ },
139
+ "outcomes": [
140
+ "ok"
141
+ ],
142
+ "comparison": {
143
+ "operator": "greater_than_or_equal",
144
+ "value": 1
145
+ }
146
+ },
147
+ {
148
+ "id": "invoices-search-ok",
149
+ "kind": "operation.count",
150
+ "operation": {
151
+ "packageId": "quickbooks",
152
+ "operationId": "invoices.search"
153
+ },
154
+ "outcomes": [
155
+ "ok"
156
+ ],
157
+ "comparison": {
158
+ "operator": "greater_than_or_equal",
159
+ "value": 1
160
+ }
161
+ },
162
+ {
163
+ "id": "invoices-pdf-ok",
164
+ "kind": "operation.count",
165
+ "operation": {
166
+ "packageId": "quickbooks",
167
+ "operationId": "invoices.pdf"
168
+ },
169
+ "outcomes": [
170
+ "ok"
171
+ ],
172
+ "comparison": {
173
+ "operator": "greater_than_or_equal",
174
+ "value": 1
175
+ }
176
+ },
177
+ {
178
+ "id": "invoices-create-ok",
179
+ "kind": "operation.count",
180
+ "operation": {
181
+ "packageId": "quickbooks",
182
+ "operationId": "invoices.create"
183
+ },
184
+ "outcomes": [
185
+ "ok"
186
+ ],
187
+ "comparison": {
188
+ "operator": "greater_than_or_equal",
189
+ "value": 1
190
+ }
191
+ },
192
+ {
193
+ "id": "invoices-update-ok",
194
+ "kind": "operation.count",
195
+ "operation": {
196
+ "packageId": "quickbooks",
197
+ "operationId": "invoices.update"
198
+ },
199
+ "outcomes": [
200
+ "ok"
201
+ ],
202
+ "comparison": {
203
+ "operator": "greater_than_or_equal",
204
+ "value": 1
205
+ }
206
+ },
207
+ {
208
+ "id": "invoices-delete-ok",
209
+ "kind": "operation.count",
210
+ "operation": {
211
+ "packageId": "quickbooks",
212
+ "operationId": "invoices.delete"
213
+ },
214
+ "outcomes": [
215
+ "ok"
216
+ ],
217
+ "comparison": {
218
+ "operator": "greater_than_or_equal",
219
+ "value": 1
220
+ }
221
+ },
222
+ {
223
+ "id": "payments-get-ok",
224
+ "kind": "operation.count",
225
+ "operation": {
226
+ "packageId": "quickbooks",
227
+ "operationId": "payments.get"
228
+ },
229
+ "outcomes": [
230
+ "ok"
231
+ ],
232
+ "comparison": {
233
+ "operator": "greater_than_or_equal",
234
+ "value": 1
235
+ }
236
+ },
237
+ {
238
+ "id": "payments-search-ok",
239
+ "kind": "operation.count",
240
+ "operation": {
241
+ "packageId": "quickbooks",
242
+ "operationId": "payments.search"
243
+ },
244
+ "outcomes": [
245
+ "ok"
246
+ ],
247
+ "comparison": {
248
+ "operator": "greater_than_or_equal",
249
+ "value": 1
250
+ }
251
+ },
252
+ {
253
+ "id": "payments-create-ok",
254
+ "kind": "operation.count",
255
+ "operation": {
256
+ "packageId": "quickbooks",
257
+ "operationId": "payments.create"
258
+ },
259
+ "outcomes": [
260
+ "ok"
261
+ ],
262
+ "comparison": {
263
+ "operator": "greater_than_or_equal",
264
+ "value": 1
265
+ }
266
+ },
267
+ {
268
+ "id": "accounts-get-ok",
269
+ "kind": "operation.count",
270
+ "operation": {
271
+ "packageId": "quickbooks",
272
+ "operationId": "accounts.get"
273
+ },
274
+ "outcomes": [
275
+ "ok"
276
+ ],
277
+ "comparison": {
278
+ "operator": "greater_than_or_equal",
279
+ "value": 1
280
+ }
281
+ },
282
+ {
283
+ "id": "accounts-search-ok",
284
+ "kind": "operation.count",
285
+ "operation": {
286
+ "packageId": "quickbooks",
287
+ "operationId": "accounts.search"
288
+ },
289
+ "outcomes": [
290
+ "ok"
291
+ ],
292
+ "comparison": {
293
+ "operator": "greater_than_or_equal",
294
+ "value": 1
295
+ }
296
+ },
297
+ {
298
+ "id": "customers-search-tool_error",
299
+ "kind": "operation.count",
300
+ "operation": {
301
+ "packageId": "quickbooks",
302
+ "operationId": "customers.search"
303
+ },
304
+ "outcomes": [
305
+ "tool_error"
306
+ ],
307
+ "comparison": {
308
+ "operator": "greater_than_or_equal",
309
+ "value": 1
310
+ }
311
+ },
312
+ {
313
+ "id": "customers-create-tool_error",
314
+ "kind": "operation.count",
315
+ "operation": {
316
+ "packageId": "quickbooks",
317
+ "operationId": "customers.create"
318
+ },
319
+ "outcomes": [
320
+ "tool_error"
321
+ ],
322
+ "comparison": {
323
+ "operator": "greater_than_or_equal",
324
+ "value": 1
325
+ }
326
+ },
327
+ {
328
+ "id": "customers-update-tool_error",
329
+ "kind": "operation.count",
330
+ "operation": {
331
+ "packageId": "quickbooks",
332
+ "operationId": "customers.update"
333
+ },
334
+ "outcomes": [
335
+ "tool_error"
336
+ ],
337
+ "comparison": {
338
+ "operator": "greater_than_or_equal",
339
+ "value": 1
340
+ }
341
+ },
342
+ {
343
+ "id": "customers-delete-tool_error",
344
+ "kind": "operation.count",
345
+ "operation": {
346
+ "packageId": "quickbooks",
347
+ "operationId": "customers.delete"
348
+ },
349
+ "outcomes": [
350
+ "tool_error"
351
+ ],
352
+ "comparison": {
353
+ "operator": "greater_than_or_equal",
354
+ "value": 1
355
+ }
356
+ },
357
+ {
358
+ "id": "items-search-tool_error",
359
+ "kind": "operation.count",
360
+ "operation": {
361
+ "packageId": "quickbooks",
362
+ "operationId": "items.search"
363
+ },
364
+ "outcomes": [
365
+ "tool_error"
366
+ ],
367
+ "comparison": {
368
+ "operator": "greater_than_or_equal",
369
+ "value": 1
370
+ }
371
+ },
372
+ {
373
+ "id": "invoices-search-tool_error",
374
+ "kind": "operation.count",
375
+ "operation": {
376
+ "packageId": "quickbooks",
377
+ "operationId": "invoices.search"
378
+ },
379
+ "outcomes": [
380
+ "tool_error"
381
+ ],
382
+ "comparison": {
383
+ "operator": "greater_than_or_equal",
384
+ "value": 1
385
+ }
386
+ },
387
+ {
388
+ "id": "invoices-pdf-tool_error",
389
+ "kind": "operation.count",
390
+ "operation": {
391
+ "packageId": "quickbooks",
392
+ "operationId": "invoices.pdf"
393
+ },
394
+ "outcomes": [
395
+ "tool_error"
396
+ ],
397
+ "comparison": {
398
+ "operator": "greater_than_or_equal",
399
+ "value": 1
400
+ }
401
+ },
402
+ {
403
+ "id": "invoices-create-tool_error",
404
+ "kind": "operation.count",
405
+ "operation": {
406
+ "packageId": "quickbooks",
407
+ "operationId": "invoices.create"
408
+ },
409
+ "outcomes": [
410
+ "tool_error"
411
+ ],
412
+ "comparison": {
413
+ "operator": "greater_than_or_equal",
414
+ "value": 1
415
+ }
416
+ },
417
+ {
418
+ "id": "invoices-update-tool_error",
419
+ "kind": "operation.count",
420
+ "operation": {
421
+ "packageId": "quickbooks",
422
+ "operationId": "invoices.update"
423
+ },
424
+ "outcomes": [
425
+ "tool_error"
426
+ ],
427
+ "comparison": {
428
+ "operator": "greater_than_or_equal",
429
+ "value": 1
430
+ }
431
+ },
432
+ {
433
+ "id": "invoices-delete-tool_error",
434
+ "kind": "operation.count",
435
+ "operation": {
436
+ "packageId": "quickbooks",
437
+ "operationId": "invoices.delete"
438
+ },
439
+ "outcomes": [
440
+ "tool_error"
441
+ ],
442
+ "comparison": {
443
+ "operator": "greater_than_or_equal",
444
+ "value": 1
445
+ }
446
+ },
447
+ {
448
+ "id": "payments-search-tool_error",
449
+ "kind": "operation.count",
450
+ "operation": {
451
+ "packageId": "quickbooks",
452
+ "operationId": "payments.search"
453
+ },
454
+ "outcomes": [
455
+ "tool_error"
456
+ ],
457
+ "comparison": {
458
+ "operator": "greater_than_or_equal",
459
+ "value": 1
460
+ }
461
+ },
462
+ {
463
+ "id": "payments-create-tool_error",
464
+ "kind": "operation.count",
465
+ "operation": {
466
+ "packageId": "quickbooks",
467
+ "operationId": "payments.create"
468
+ },
469
+ "outcomes": [
470
+ "tool_error"
471
+ ],
472
+ "comparison": {
473
+ "operator": "greater_than_or_equal",
474
+ "value": 1
475
+ }
476
+ },
477
+ {
478
+ "id": "accounts-search-tool_error",
479
+ "kind": "operation.count",
480
+ "operation": {
481
+ "packageId": "quickbooks",
482
+ "operationId": "accounts.search"
483
+ },
484
+ "outcomes": [
485
+ "tool_error"
486
+ ],
487
+ "comparison": {
488
+ "operator": "greater_than_or_equal",
489
+ "value": 1
490
+ }
491
+ },
492
+ {
493
+ "id": "invoices-count",
494
+ "kind": "state.count",
495
+ "packageId": "quickbooks",
496
+ "namespace": "invoices",
497
+ "comparison": {
498
+ "operator": "equals",
499
+ "value": 14
500
+ }
501
+ }
502
+ ]
503
+ }