@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.
- package/LICENSE +201 -0
- package/README.md +240 -0
- package/firedrill/agent.target.json +17 -0
- package/firedrill/baseline.scenario.json +2338 -0
- package/firedrill/conformance.suite.json +22 -0
- package/firedrill/payment-response-lost.scenario.json +2344 -0
- package/firedrill/qbo-company-query.drill.json +143 -0
- package/firedrill/qbo-customers-items.drill.json +173 -0
- package/firedrill/qbo-default-identity.drill.json +53 -0
- package/firedrill/qbo-denied.drill.json +53 -0
- package/firedrill/qbo-escape-heavy-invoices.drill.json +160 -0
- package/firedrill/qbo-invalid-auth.drill.json +398 -0
- package/firedrill/qbo-invoice-lifecycle.drill.json +193 -0
- package/firedrill/qbo-large-invoice.drill.json +174 -0
- package/firedrill/qbo-mcp-shapes.drill.json +503 -0
- package/firedrill/qbo-payment-response-lost.drill.json +80 -0
- package/firedrill/qbo-payments.drill.json +110 -0
- package/firedrill/qbo-reports-only.drill.json +398 -0
- package/firedrill/qbo-roles.drill.json +143 -0
- package/firedrill/qbo-throttled.drill.json +398 -0
- package/firedrill/qbo-tight-limits.drill.json +368 -0
- package/firedrill/qbo-write-outage.drill.json +411 -0
- package/firedrill/throttled.scenario.json +2344 -0
- package/firedrill/tight-limits.scenario.json +2338 -0
- package/firedrill/tools/quickbooks/app/assets/ATTRIBUTION.md +33 -0
- package/firedrill/tools/quickbooks/app/assets/fonts/OFL.txt +93 -0
- package/firedrill/tools/quickbooks/app/assets/intuit-quickbooks.svg +1 -0
- package/firedrill/tools/quickbooks/app/assets/quickbooks.svg +1 -0
- package/firedrill/tools/quickbooks/app/site/app.js +157 -0
- package/firedrill/tools/quickbooks/app/site/assets/fonts/figtree-latin.woff2 +0 -0
- package/firedrill/tools/quickbooks/app/site/assets/intuit-quickbooks.svg +1 -0
- package/firedrill/tools/quickbooks/app/site/assets/quickbooks.svg +1 -0
- package/firedrill/tools/quickbooks/app/site/base.css +107 -0
- package/firedrill/tools/quickbooks/app/site/forms.css +85 -0
- package/firedrill/tools/quickbooks/app/site/icons.js +73 -0
- package/firedrill/tools/quickbooks/app/site/index.html +81 -0
- package/firedrill/tools/quickbooks/app/site/nav.css +99 -0
- package/firedrill/tools/quickbooks/app/site/store.js +85 -0
- package/firedrill/tools/quickbooks/app/site/tables.css +114 -0
- package/firedrill/tools/quickbooks/app/site/ui.js +189 -0
- package/firedrill/tools/quickbooks/app/site/views/accounts.js +59 -0
- package/firedrill/tools/quickbooks/app/site/views/batch-actions.js +116 -0
- package/firedrill/tools/quickbooks/app/site/views/batch.js +91 -0
- package/firedrill/tools/quickbooks/app/site/views/common.js +87 -0
- package/firedrill/tools/quickbooks/app/site/views/customer-detail.js +85 -0
- package/firedrill/tools/quickbooks/app/site/views/customer-drawer.js +71 -0
- package/firedrill/tools/quickbooks/app/site/views/customers.js +87 -0
- package/firedrill/tools/quickbooks/app/site/views/home.js +79 -0
- package/firedrill/tools/quickbooks/app/site/views/invoice-actions.js +109 -0
- package/firedrill/tools/quickbooks/app/site/views/invoice-editor.js +126 -0
- package/firedrill/tools/quickbooks/app/site/views/invoice-lines.js +92 -0
- package/firedrill/tools/quickbooks/app/site/views/invoices.js +118 -0
- package/firedrill/tools/quickbooks/app/site/views/items.js +105 -0
- package/firedrill/tools/quickbooks/app/site/views/payments.js +63 -0
- package/firedrill/tools/quickbooks/app/site/views/receive-payment.js +102 -0
- package/firedrill/tools/quickbooks/app/site/views/txn-frame.js +25 -0
- package/firedrill/tools/quickbooks/behavior.mjs +10 -0
- package/firedrill/tools/quickbooks/lib/access.mjs +167 -0
- package/firedrill/tools/quickbooks/lib/common.mjs +204 -0
- package/firedrill/tools/quickbooks/lib/criteria.mjs +107 -0
- package/firedrill/tools/quickbooks/lib/customers.mjs +140 -0
- package/firedrill/tools/quickbooks/lib/fields.mjs +157 -0
- package/firedrill/tools/quickbooks/lib/handlers-read.mjs +81 -0
- package/firedrill/tools/quickbooks/lib/handlers-write.mjs +95 -0
- package/firedrill/tools/quickbooks/lib/invoice-draft.mjs +165 -0
- package/firedrill/tools/quickbooks/lib/invoices.mjs +229 -0
- package/firedrill/tools/quickbooks/lib/items.mjs +117 -0
- package/firedrill/tools/quickbooks/lib/like.mjs +49 -0
- package/firedrill/tools/quickbooks/lib/payments.mjs +200 -0
- package/firedrill/tools/quickbooks/lib/pdf.mjs +96 -0
- package/firedrill/tools/quickbooks/lib/query-eval.mjs +178 -0
- package/firedrill/tools/quickbooks/lib/query-parse.mjs +229 -0
- package/firedrill/tools/quickbooks/lib/views.mjs +88 -0
- package/firedrill/tools/quickbooks/lib/wire.mjs +147 -0
- package/firedrill/tools/quickbooks/quickbooks.tool.json +11014 -0
- package/firedrill/world.json +559 -0
- package/firedrill/write-outage.scenario.json +2344 -0
- package/firedrill.json +5 -0
- package/package.json +52 -0
- package/starter.json +2337 -0
- package/test/conformance.mjs +674 -0
|
@@ -0,0 +1,368 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"id": "qbo-tight-limits",
|
|
4
|
+
"title": "Scans past the state bound fail instead of truncating",
|
|
5
|
+
"targetId": "conformance-agent",
|
|
6
|
+
"scenarioId": "tight-limits",
|
|
7
|
+
"actorId": "admin",
|
|
8
|
+
"task": {
|
|
9
|
+
"instruction": "Run the tight-limits conformance flow against the synthetic QuickBooks Online Tool and fail loudly on any unexpected status or body."
|
|
10
|
+
},
|
|
11
|
+
"assertions": [
|
|
12
|
+
{
|
|
13
|
+
"id": "query-run-tool_error",
|
|
14
|
+
"kind": "operation.count",
|
|
15
|
+
"operation": {
|
|
16
|
+
"packageId": "quickbooks",
|
|
17
|
+
"operationId": "query.run"
|
|
18
|
+
},
|
|
19
|
+
"outcomes": [
|
|
20
|
+
"tool_error"
|
|
21
|
+
],
|
|
22
|
+
"comparison": {
|
|
23
|
+
"operator": "greater_than_or_equal",
|
|
24
|
+
"value": 1
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"id": "customers-get-tool_error",
|
|
29
|
+
"kind": "operation.count",
|
|
30
|
+
"operation": {
|
|
31
|
+
"packageId": "quickbooks",
|
|
32
|
+
"operationId": "customers.get"
|
|
33
|
+
},
|
|
34
|
+
"outcomes": [
|
|
35
|
+
"tool_error"
|
|
36
|
+
],
|
|
37
|
+
"comparison": {
|
|
38
|
+
"operator": "greater_than_or_equal",
|
|
39
|
+
"value": 1
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"id": "customers-search-tool_error",
|
|
44
|
+
"kind": "operation.count",
|
|
45
|
+
"operation": {
|
|
46
|
+
"packageId": "quickbooks",
|
|
47
|
+
"operationId": "customers.search"
|
|
48
|
+
},
|
|
49
|
+
"outcomes": [
|
|
50
|
+
"tool_error"
|
|
51
|
+
],
|
|
52
|
+
"comparison": {
|
|
53
|
+
"operator": "greater_than_or_equal",
|
|
54
|
+
"value": 1
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"id": "customers-post-tool_error",
|
|
59
|
+
"kind": "operation.count",
|
|
60
|
+
"operation": {
|
|
61
|
+
"packageId": "quickbooks",
|
|
62
|
+
"operationId": "customers.post"
|
|
63
|
+
},
|
|
64
|
+
"outcomes": [
|
|
65
|
+
"tool_error"
|
|
66
|
+
],
|
|
67
|
+
"comparison": {
|
|
68
|
+
"operator": "greater_than_or_equal",
|
|
69
|
+
"value": 1
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"id": "customers-create-tool_error",
|
|
74
|
+
"kind": "operation.count",
|
|
75
|
+
"operation": {
|
|
76
|
+
"packageId": "quickbooks",
|
|
77
|
+
"operationId": "customers.create"
|
|
78
|
+
},
|
|
79
|
+
"outcomes": [
|
|
80
|
+
"tool_error"
|
|
81
|
+
],
|
|
82
|
+
"comparison": {
|
|
83
|
+
"operator": "greater_than_or_equal",
|
|
84
|
+
"value": 1
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"id": "customers-update-tool_error",
|
|
89
|
+
"kind": "operation.count",
|
|
90
|
+
"operation": {
|
|
91
|
+
"packageId": "quickbooks",
|
|
92
|
+
"operationId": "customers.update"
|
|
93
|
+
},
|
|
94
|
+
"outcomes": [
|
|
95
|
+
"tool_error"
|
|
96
|
+
],
|
|
97
|
+
"comparison": {
|
|
98
|
+
"operator": "greater_than_or_equal",
|
|
99
|
+
"value": 1
|
|
100
|
+
}
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"id": "customers-delete-tool_error",
|
|
104
|
+
"kind": "operation.count",
|
|
105
|
+
"operation": {
|
|
106
|
+
"packageId": "quickbooks",
|
|
107
|
+
"operationId": "customers.delete"
|
|
108
|
+
},
|
|
109
|
+
"outcomes": [
|
|
110
|
+
"tool_error"
|
|
111
|
+
],
|
|
112
|
+
"comparison": {
|
|
113
|
+
"operator": "greater_than_or_equal",
|
|
114
|
+
"value": 1
|
|
115
|
+
}
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"id": "items-search-tool_error",
|
|
119
|
+
"kind": "operation.count",
|
|
120
|
+
"operation": {
|
|
121
|
+
"packageId": "quickbooks",
|
|
122
|
+
"operationId": "items.search"
|
|
123
|
+
},
|
|
124
|
+
"outcomes": [
|
|
125
|
+
"tool_error"
|
|
126
|
+
],
|
|
127
|
+
"comparison": {
|
|
128
|
+
"operator": "greater_than_or_equal",
|
|
129
|
+
"value": 1
|
|
130
|
+
}
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"id": "items-post-tool_error",
|
|
134
|
+
"kind": "operation.count",
|
|
135
|
+
"operation": {
|
|
136
|
+
"packageId": "quickbooks",
|
|
137
|
+
"operationId": "items.post"
|
|
138
|
+
},
|
|
139
|
+
"outcomes": [
|
|
140
|
+
"tool_error"
|
|
141
|
+
],
|
|
142
|
+
"comparison": {
|
|
143
|
+
"operator": "greater_than_or_equal",
|
|
144
|
+
"value": 1
|
|
145
|
+
}
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
"id": "invoices-get-tool_error",
|
|
149
|
+
"kind": "operation.count",
|
|
150
|
+
"operation": {
|
|
151
|
+
"packageId": "quickbooks",
|
|
152
|
+
"operationId": "invoices.get"
|
|
153
|
+
},
|
|
154
|
+
"outcomes": [
|
|
155
|
+
"tool_error"
|
|
156
|
+
],
|
|
157
|
+
"comparison": {
|
|
158
|
+
"operator": "greater_than_or_equal",
|
|
159
|
+
"value": 1
|
|
160
|
+
}
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
"id": "invoices-search-tool_error",
|
|
164
|
+
"kind": "operation.count",
|
|
165
|
+
"operation": {
|
|
166
|
+
"packageId": "quickbooks",
|
|
167
|
+
"operationId": "invoices.search"
|
|
168
|
+
},
|
|
169
|
+
"outcomes": [
|
|
170
|
+
"tool_error"
|
|
171
|
+
],
|
|
172
|
+
"comparison": {
|
|
173
|
+
"operator": "greater_than_or_equal",
|
|
174
|
+
"value": 1
|
|
175
|
+
}
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
"id": "invoices-pdf-tool_error",
|
|
179
|
+
"kind": "operation.count",
|
|
180
|
+
"operation": {
|
|
181
|
+
"packageId": "quickbooks",
|
|
182
|
+
"operationId": "invoices.pdf"
|
|
183
|
+
},
|
|
184
|
+
"outcomes": [
|
|
185
|
+
"tool_error"
|
|
186
|
+
],
|
|
187
|
+
"comparison": {
|
|
188
|
+
"operator": "greater_than_or_equal",
|
|
189
|
+
"value": 1
|
|
190
|
+
}
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
"id": "invoices-post-tool_error",
|
|
194
|
+
"kind": "operation.count",
|
|
195
|
+
"operation": {
|
|
196
|
+
"packageId": "quickbooks",
|
|
197
|
+
"operationId": "invoices.post"
|
|
198
|
+
},
|
|
199
|
+
"outcomes": [
|
|
200
|
+
"tool_error"
|
|
201
|
+
],
|
|
202
|
+
"comparison": {
|
|
203
|
+
"operator": "greater_than_or_equal",
|
|
204
|
+
"value": 1
|
|
205
|
+
}
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
"id": "invoices-create-tool_error",
|
|
209
|
+
"kind": "operation.count",
|
|
210
|
+
"operation": {
|
|
211
|
+
"packageId": "quickbooks",
|
|
212
|
+
"operationId": "invoices.create"
|
|
213
|
+
},
|
|
214
|
+
"outcomes": [
|
|
215
|
+
"tool_error"
|
|
216
|
+
],
|
|
217
|
+
"comparison": {
|
|
218
|
+
"operator": "greater_than_or_equal",
|
|
219
|
+
"value": 1
|
|
220
|
+
}
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
"id": "invoices-update-tool_error",
|
|
224
|
+
"kind": "operation.count",
|
|
225
|
+
"operation": {
|
|
226
|
+
"packageId": "quickbooks",
|
|
227
|
+
"operationId": "invoices.update"
|
|
228
|
+
},
|
|
229
|
+
"outcomes": [
|
|
230
|
+
"tool_error"
|
|
231
|
+
],
|
|
232
|
+
"comparison": {
|
|
233
|
+
"operator": "greater_than_or_equal",
|
|
234
|
+
"value": 1
|
|
235
|
+
}
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
"id": "invoices-delete-tool_error",
|
|
239
|
+
"kind": "operation.count",
|
|
240
|
+
"operation": {
|
|
241
|
+
"packageId": "quickbooks",
|
|
242
|
+
"operationId": "invoices.delete"
|
|
243
|
+
},
|
|
244
|
+
"outcomes": [
|
|
245
|
+
"tool_error"
|
|
246
|
+
],
|
|
247
|
+
"comparison": {
|
|
248
|
+
"operator": "greater_than_or_equal",
|
|
249
|
+
"value": 1
|
|
250
|
+
}
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
"id": "invoices-send-tool_error",
|
|
254
|
+
"kind": "operation.count",
|
|
255
|
+
"operation": {
|
|
256
|
+
"packageId": "quickbooks",
|
|
257
|
+
"operationId": "invoices.send"
|
|
258
|
+
},
|
|
259
|
+
"outcomes": [
|
|
260
|
+
"tool_error"
|
|
261
|
+
],
|
|
262
|
+
"comparison": {
|
|
263
|
+
"operator": "greater_than_or_equal",
|
|
264
|
+
"value": 1
|
|
265
|
+
}
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
"id": "payments-search-tool_error",
|
|
269
|
+
"kind": "operation.count",
|
|
270
|
+
"operation": {
|
|
271
|
+
"packageId": "quickbooks",
|
|
272
|
+
"operationId": "payments.search"
|
|
273
|
+
},
|
|
274
|
+
"outcomes": [
|
|
275
|
+
"tool_error"
|
|
276
|
+
],
|
|
277
|
+
"comparison": {
|
|
278
|
+
"operator": "greater_than_or_equal",
|
|
279
|
+
"value": 1
|
|
280
|
+
}
|
|
281
|
+
},
|
|
282
|
+
{
|
|
283
|
+
"id": "accounts-get-tool_error",
|
|
284
|
+
"kind": "operation.count",
|
|
285
|
+
"operation": {
|
|
286
|
+
"packageId": "quickbooks",
|
|
287
|
+
"operationId": "accounts.get"
|
|
288
|
+
},
|
|
289
|
+
"outcomes": [
|
|
290
|
+
"tool_error"
|
|
291
|
+
],
|
|
292
|
+
"comparison": {
|
|
293
|
+
"operator": "greater_than_or_equal",
|
|
294
|
+
"value": 1
|
|
295
|
+
}
|
|
296
|
+
},
|
|
297
|
+
{
|
|
298
|
+
"id": "accounts-search-tool_error",
|
|
299
|
+
"kind": "operation.count",
|
|
300
|
+
"operation": {
|
|
301
|
+
"packageId": "quickbooks",
|
|
302
|
+
"operationId": "accounts.search"
|
|
303
|
+
},
|
|
304
|
+
"outcomes": [
|
|
305
|
+
"tool_error"
|
|
306
|
+
],
|
|
307
|
+
"comparison": {
|
|
308
|
+
"operator": "greater_than_or_equal",
|
|
309
|
+
"value": 1
|
|
310
|
+
}
|
|
311
|
+
},
|
|
312
|
+
{
|
|
313
|
+
"id": "company-info-get-ok",
|
|
314
|
+
"kind": "operation.count",
|
|
315
|
+
"operation": {
|
|
316
|
+
"packageId": "quickbooks",
|
|
317
|
+
"operationId": "company-info.get"
|
|
318
|
+
},
|
|
319
|
+
"outcomes": [
|
|
320
|
+
"ok"
|
|
321
|
+
],
|
|
322
|
+
"comparison": {
|
|
323
|
+
"operator": "greater_than_or_equal",
|
|
324
|
+
"value": 1
|
|
325
|
+
}
|
|
326
|
+
},
|
|
327
|
+
{
|
|
328
|
+
"id": "items-get-ok",
|
|
329
|
+
"kind": "operation.count",
|
|
330
|
+
"operation": {
|
|
331
|
+
"packageId": "quickbooks",
|
|
332
|
+
"operationId": "items.get"
|
|
333
|
+
},
|
|
334
|
+
"outcomes": [
|
|
335
|
+
"ok"
|
|
336
|
+
],
|
|
337
|
+
"comparison": {
|
|
338
|
+
"operator": "greater_than_or_equal",
|
|
339
|
+
"value": 1
|
|
340
|
+
}
|
|
341
|
+
},
|
|
342
|
+
{
|
|
343
|
+
"id": "payments-get-ok",
|
|
344
|
+
"kind": "operation.count",
|
|
345
|
+
"operation": {
|
|
346
|
+
"packageId": "quickbooks",
|
|
347
|
+
"operationId": "payments.get"
|
|
348
|
+
},
|
|
349
|
+
"outcomes": [
|
|
350
|
+
"ok"
|
|
351
|
+
],
|
|
352
|
+
"comparison": {
|
|
353
|
+
"operator": "greater_than_or_equal",
|
|
354
|
+
"value": 1
|
|
355
|
+
}
|
|
356
|
+
},
|
|
357
|
+
{
|
|
358
|
+
"id": "customers-count",
|
|
359
|
+
"kind": "state.count",
|
|
360
|
+
"packageId": "quickbooks",
|
|
361
|
+
"namespace": "customers",
|
|
362
|
+
"comparison": {
|
|
363
|
+
"operator": "equals",
|
|
364
|
+
"value": 14
|
|
365
|
+
}
|
|
366
|
+
}
|
|
367
|
+
]
|
|
368
|
+
}
|