@firedrill-tools/hubspot 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 (36) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +263 -0
  3. package/firedrill/agent.target.json +17 -0
  4. package/firedrill/baseline.scenario.json +5 -0
  5. package/firedrill/conformance.suite.json +20 -0
  6. package/firedrill/hubspot-deactivated-user.drill.json +53 -0
  7. package/firedrill/hubspot-denied.drill.json +74 -0
  8. package/firedrill/hubspot-fresh-actor.drill.json +128 -0
  9. package/firedrill/hubspot-invalid-auth.drill.json +433 -0
  10. package/firedrill/hubspot-mcp-aliases.drill.json +265 -0
  11. package/firedrill/hubspot-no-scopes.drill.json +433 -0
  12. package/firedrill/hubspot-owned-visibility.drill.json +113 -0
  13. package/firedrill/hubspot-rate-limited.drill.json +446 -0
  14. package/firedrill/hubspot-rest-flow.drill.json +963 -0
  15. package/firedrill/hubspot-scopes.drill.json +166 -0
  16. package/firedrill/hubspot-size-bounds.drill.json +156 -0
  17. package/firedrill/hubspot-write-committed-lost.drill.json +166 -0
  18. package/firedrill/hubspot-write-unavailable.drill.json +292 -0
  19. package/firedrill/rate-limited.scenario.json +11 -0
  20. package/firedrill/tools/hubspot/behavior.mjs +1318 -0
  21. package/firedrill/tools/hubspot/hubspot.tool.json +5524 -0
  22. package/firedrill/tools/hubspot/lib/bytes.mjs +32 -0
  23. package/firedrill/tools/hubspot/lib/json-depth.mjs +17 -0
  24. package/firedrill/tools/hubspot/lib/object-types.mjs +47 -0
  25. package/firedrill/tools/hubspot/lib/properties.mjs +275 -0
  26. package/firedrill/tools/hubspot/lib/search-matchers.mjs +85 -0
  27. package/firedrill/tools/hubspot/lib/search.mjs +301 -0
  28. package/firedrill/tools/hubspot/lib/state.mjs +248 -0
  29. package/firedrill/tools/hubspot/lib/wire.mjs +125 -0
  30. package/firedrill/world.json +3128 -0
  31. package/firedrill/write-committed-lost.scenario.json +11 -0
  32. package/firedrill/write-unavailable.scenario.json +11 -0
  33. package/firedrill.json +5 -0
  34. package/package.json +64 -0
  35. package/starter.json +2540 -0
  36. package/test/conformance.mjs +1007 -0
@@ -0,0 +1,963 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "id": "hubspot-rest-flow",
4
+ "title": "HubSpot REST routes: every operation, error path and edge case over the provider-shaped API",
5
+ "targetId": "conformance-agent",
6
+ "scenarioId": "baseline",
7
+ "actorId": "rep",
8
+ "task": {
9
+ "instruction": "Run the rest-flow conformance flow against the synthetic HubSpot Tool and fail loudly on any unexpected status, header or body."
10
+ },
11
+ "assertions": [
12
+ {
13
+ "id": "account-get-details-ok",
14
+ "kind": "operation.count",
15
+ "operation": {
16
+ "packageId": "hubspot",
17
+ "operationId": "account.get-details"
18
+ },
19
+ "outcomes": [
20
+ "ok"
21
+ ],
22
+ "comparison": {
23
+ "operator": "greater_than_or_equal",
24
+ "value": 1
25
+ }
26
+ },
27
+ {
28
+ "id": "objects-list-ok",
29
+ "kind": "operation.count",
30
+ "operation": {
31
+ "packageId": "hubspot",
32
+ "operationId": "objects.list"
33
+ },
34
+ "outcomes": [
35
+ "ok"
36
+ ],
37
+ "comparison": {
38
+ "operator": "greater_than_or_equal",
39
+ "value": 1
40
+ }
41
+ },
42
+ {
43
+ "id": "objects-get-ok",
44
+ "kind": "operation.count",
45
+ "operation": {
46
+ "packageId": "hubspot",
47
+ "operationId": "objects.get"
48
+ },
49
+ "outcomes": [
50
+ "ok"
51
+ ],
52
+ "comparison": {
53
+ "operator": "greater_than_or_equal",
54
+ "value": 1
55
+ }
56
+ },
57
+ {
58
+ "id": "objects-create-ok",
59
+ "kind": "operation.count",
60
+ "operation": {
61
+ "packageId": "hubspot",
62
+ "operationId": "objects.create"
63
+ },
64
+ "outcomes": [
65
+ "ok"
66
+ ],
67
+ "comparison": {
68
+ "operator": "greater_than_or_equal",
69
+ "value": 1
70
+ }
71
+ },
72
+ {
73
+ "id": "objects-update-ok",
74
+ "kind": "operation.count",
75
+ "operation": {
76
+ "packageId": "hubspot",
77
+ "operationId": "objects.update"
78
+ },
79
+ "outcomes": [
80
+ "ok"
81
+ ],
82
+ "comparison": {
83
+ "operator": "greater_than_or_equal",
84
+ "value": 1
85
+ }
86
+ },
87
+ {
88
+ "id": "objects-archive-ok",
89
+ "kind": "operation.count",
90
+ "operation": {
91
+ "packageId": "hubspot",
92
+ "operationId": "objects.archive"
93
+ },
94
+ "outcomes": [
95
+ "ok"
96
+ ],
97
+ "comparison": {
98
+ "operator": "greater_than_or_equal",
99
+ "value": 1
100
+ }
101
+ },
102
+ {
103
+ "id": "objects-batch-read-ok",
104
+ "kind": "operation.count",
105
+ "operation": {
106
+ "packageId": "hubspot",
107
+ "operationId": "objects.batch-read"
108
+ },
109
+ "outcomes": [
110
+ "ok"
111
+ ],
112
+ "comparison": {
113
+ "operator": "greater_than_or_equal",
114
+ "value": 1
115
+ }
116
+ },
117
+ {
118
+ "id": "objects-batch-create-ok",
119
+ "kind": "operation.count",
120
+ "operation": {
121
+ "packageId": "hubspot",
122
+ "operationId": "objects.batch-create"
123
+ },
124
+ "outcomes": [
125
+ "ok"
126
+ ],
127
+ "comparison": {
128
+ "operator": "greater_than_or_equal",
129
+ "value": 1
130
+ }
131
+ },
132
+ {
133
+ "id": "objects-batch-update-ok",
134
+ "kind": "operation.count",
135
+ "operation": {
136
+ "packageId": "hubspot",
137
+ "operationId": "objects.batch-update"
138
+ },
139
+ "outcomes": [
140
+ "ok"
141
+ ],
142
+ "comparison": {
143
+ "operator": "greater_than_or_equal",
144
+ "value": 1
145
+ }
146
+ },
147
+ {
148
+ "id": "objects-search-ok",
149
+ "kind": "operation.count",
150
+ "operation": {
151
+ "packageId": "hubspot",
152
+ "operationId": "objects.search"
153
+ },
154
+ "outcomes": [
155
+ "ok"
156
+ ],
157
+ "comparison": {
158
+ "operator": "greater_than_or_equal",
159
+ "value": 1
160
+ }
161
+ },
162
+ {
163
+ "id": "associations-list-ok",
164
+ "kind": "operation.count",
165
+ "operation": {
166
+ "packageId": "hubspot",
167
+ "operationId": "associations.list"
168
+ },
169
+ "outcomes": [
170
+ "ok"
171
+ ],
172
+ "comparison": {
173
+ "operator": "greater_than_or_equal",
174
+ "value": 1
175
+ }
176
+ },
177
+ {
178
+ "id": "associations-create-default-ok",
179
+ "kind": "operation.count",
180
+ "operation": {
181
+ "packageId": "hubspot",
182
+ "operationId": "associations.create-default"
183
+ },
184
+ "outcomes": [
185
+ "ok"
186
+ ],
187
+ "comparison": {
188
+ "operator": "greater_than_or_equal",
189
+ "value": 1
190
+ }
191
+ },
192
+ {
193
+ "id": "associations-create-ok",
194
+ "kind": "operation.count",
195
+ "operation": {
196
+ "packageId": "hubspot",
197
+ "operationId": "associations.create"
198
+ },
199
+ "outcomes": [
200
+ "ok"
201
+ ],
202
+ "comparison": {
203
+ "operator": "greater_than_or_equal",
204
+ "value": 1
205
+ }
206
+ },
207
+ {
208
+ "id": "associations-batch-create-ok",
209
+ "kind": "operation.count",
210
+ "operation": {
211
+ "packageId": "hubspot",
212
+ "operationId": "associations.batch-create"
213
+ },
214
+ "outcomes": [
215
+ "ok"
216
+ ],
217
+ "comparison": {
218
+ "operator": "greater_than_or_equal",
219
+ "value": 1
220
+ }
221
+ },
222
+ {
223
+ "id": "associations-archive-ok",
224
+ "kind": "operation.count",
225
+ "operation": {
226
+ "packageId": "hubspot",
227
+ "operationId": "associations.archive"
228
+ },
229
+ "outcomes": [
230
+ "ok"
231
+ ],
232
+ "comparison": {
233
+ "operator": "greater_than_or_equal",
234
+ "value": 1
235
+ }
236
+ },
237
+ {
238
+ "id": "associations-batch-read-ok",
239
+ "kind": "operation.count",
240
+ "operation": {
241
+ "packageId": "hubspot",
242
+ "operationId": "associations.batch-read"
243
+ },
244
+ "outcomes": [
245
+ "ok"
246
+ ],
247
+ "comparison": {
248
+ "operator": "greater_than_or_equal",
249
+ "value": 1
250
+ }
251
+ },
252
+ {
253
+ "id": "associations-list-labels-ok",
254
+ "kind": "operation.count",
255
+ "operation": {
256
+ "packageId": "hubspot",
257
+ "operationId": "associations.list-labels"
258
+ },
259
+ "outcomes": [
260
+ "ok"
261
+ ],
262
+ "comparison": {
263
+ "operator": "greater_than_or_equal",
264
+ "value": 1
265
+ }
266
+ },
267
+ {
268
+ "id": "owners-list-ok",
269
+ "kind": "operation.count",
270
+ "operation": {
271
+ "packageId": "hubspot",
272
+ "operationId": "owners.list"
273
+ },
274
+ "outcomes": [
275
+ "ok"
276
+ ],
277
+ "comparison": {
278
+ "operator": "greater_than_or_equal",
279
+ "value": 1
280
+ }
281
+ },
282
+ {
283
+ "id": "owners-get-ok",
284
+ "kind": "operation.count",
285
+ "operation": {
286
+ "packageId": "hubspot",
287
+ "operationId": "owners.get"
288
+ },
289
+ "outcomes": [
290
+ "ok"
291
+ ],
292
+ "comparison": {
293
+ "operator": "greater_than_or_equal",
294
+ "value": 1
295
+ }
296
+ },
297
+ {
298
+ "id": "pipelines-list-ok",
299
+ "kind": "operation.count",
300
+ "operation": {
301
+ "packageId": "hubspot",
302
+ "operationId": "pipelines.list"
303
+ },
304
+ "outcomes": [
305
+ "ok"
306
+ ],
307
+ "comparison": {
308
+ "operator": "greater_than_or_equal",
309
+ "value": 1
310
+ }
311
+ },
312
+ {
313
+ "id": "pipelines-get-ok",
314
+ "kind": "operation.count",
315
+ "operation": {
316
+ "packageId": "hubspot",
317
+ "operationId": "pipelines.get"
318
+ },
319
+ "outcomes": [
320
+ "ok"
321
+ ],
322
+ "comparison": {
323
+ "operator": "greater_than_or_equal",
324
+ "value": 1
325
+ }
326
+ },
327
+ {
328
+ "id": "pipelines-list-stages-ok",
329
+ "kind": "operation.count",
330
+ "operation": {
331
+ "packageId": "hubspot",
332
+ "operationId": "pipelines.list-stages"
333
+ },
334
+ "outcomes": [
335
+ "ok"
336
+ ],
337
+ "comparison": {
338
+ "operator": "greater_than_or_equal",
339
+ "value": 1
340
+ }
341
+ },
342
+ {
343
+ "id": "properties-list-ok",
344
+ "kind": "operation.count",
345
+ "operation": {
346
+ "packageId": "hubspot",
347
+ "operationId": "properties.list"
348
+ },
349
+ "outcomes": [
350
+ "ok"
351
+ ],
352
+ "comparison": {
353
+ "operator": "greater_than_or_equal",
354
+ "value": 1
355
+ }
356
+ },
357
+ {
358
+ "id": "properties-get-ok",
359
+ "kind": "operation.count",
360
+ "operation": {
361
+ "packageId": "hubspot",
362
+ "operationId": "properties.get"
363
+ },
364
+ "outcomes": [
365
+ "ok"
366
+ ],
367
+ "comparison": {
368
+ "operator": "greater_than_or_equal",
369
+ "value": 1
370
+ }
371
+ },
372
+ {
373
+ "id": "objects-list-error",
374
+ "kind": "operation.count",
375
+ "operation": {
376
+ "packageId": "hubspot",
377
+ "operationId": "objects.list"
378
+ },
379
+ "outcomes": [
380
+ "tool_error"
381
+ ],
382
+ "comparison": {
383
+ "operator": "greater_than_or_equal",
384
+ "value": 1
385
+ }
386
+ },
387
+ {
388
+ "id": "objects-get-error",
389
+ "kind": "operation.count",
390
+ "operation": {
391
+ "packageId": "hubspot",
392
+ "operationId": "objects.get"
393
+ },
394
+ "outcomes": [
395
+ "tool_error"
396
+ ],
397
+ "comparison": {
398
+ "operator": "greater_than_or_equal",
399
+ "value": 1
400
+ }
401
+ },
402
+ {
403
+ "id": "objects-create-error",
404
+ "kind": "operation.count",
405
+ "operation": {
406
+ "packageId": "hubspot",
407
+ "operationId": "objects.create"
408
+ },
409
+ "outcomes": [
410
+ "tool_error"
411
+ ],
412
+ "comparison": {
413
+ "operator": "greater_than_or_equal",
414
+ "value": 1
415
+ }
416
+ },
417
+ {
418
+ "id": "objects-update-error",
419
+ "kind": "operation.count",
420
+ "operation": {
421
+ "packageId": "hubspot",
422
+ "operationId": "objects.update"
423
+ },
424
+ "outcomes": [
425
+ "tool_error"
426
+ ],
427
+ "comparison": {
428
+ "operator": "greater_than_or_equal",
429
+ "value": 1
430
+ }
431
+ },
432
+ {
433
+ "id": "objects-archive-error",
434
+ "kind": "operation.count",
435
+ "operation": {
436
+ "packageId": "hubspot",
437
+ "operationId": "objects.archive"
438
+ },
439
+ "outcomes": [
440
+ "tool_error"
441
+ ],
442
+ "comparison": {
443
+ "operator": "greater_than_or_equal",
444
+ "value": 1
445
+ }
446
+ },
447
+ {
448
+ "id": "objects-batch-read-error",
449
+ "kind": "operation.count",
450
+ "operation": {
451
+ "packageId": "hubspot",
452
+ "operationId": "objects.batch-read"
453
+ },
454
+ "outcomes": [
455
+ "tool_error"
456
+ ],
457
+ "comparison": {
458
+ "operator": "greater_than_or_equal",
459
+ "value": 1
460
+ }
461
+ },
462
+ {
463
+ "id": "objects-batch-create-error",
464
+ "kind": "operation.count",
465
+ "operation": {
466
+ "packageId": "hubspot",
467
+ "operationId": "objects.batch-create"
468
+ },
469
+ "outcomes": [
470
+ "tool_error"
471
+ ],
472
+ "comparison": {
473
+ "operator": "greater_than_or_equal",
474
+ "value": 1
475
+ }
476
+ },
477
+ {
478
+ "id": "objects-batch-update-error",
479
+ "kind": "operation.count",
480
+ "operation": {
481
+ "packageId": "hubspot",
482
+ "operationId": "objects.batch-update"
483
+ },
484
+ "outcomes": [
485
+ "tool_error"
486
+ ],
487
+ "comparison": {
488
+ "operator": "greater_than_or_equal",
489
+ "value": 1
490
+ }
491
+ },
492
+ {
493
+ "id": "objects-search-error",
494
+ "kind": "operation.count",
495
+ "operation": {
496
+ "packageId": "hubspot",
497
+ "operationId": "objects.search"
498
+ },
499
+ "outcomes": [
500
+ "tool_error"
501
+ ],
502
+ "comparison": {
503
+ "operator": "greater_than_or_equal",
504
+ "value": 1
505
+ }
506
+ },
507
+ {
508
+ "id": "associations-list-error",
509
+ "kind": "operation.count",
510
+ "operation": {
511
+ "packageId": "hubspot",
512
+ "operationId": "associations.list"
513
+ },
514
+ "outcomes": [
515
+ "tool_error"
516
+ ],
517
+ "comparison": {
518
+ "operator": "greater_than_or_equal",
519
+ "value": 1
520
+ }
521
+ },
522
+ {
523
+ "id": "associations-create-default-error",
524
+ "kind": "operation.count",
525
+ "operation": {
526
+ "packageId": "hubspot",
527
+ "operationId": "associations.create-default"
528
+ },
529
+ "outcomes": [
530
+ "tool_error"
531
+ ],
532
+ "comparison": {
533
+ "operator": "greater_than_or_equal",
534
+ "value": 1
535
+ }
536
+ },
537
+ {
538
+ "id": "associations-create-error",
539
+ "kind": "operation.count",
540
+ "operation": {
541
+ "packageId": "hubspot",
542
+ "operationId": "associations.create"
543
+ },
544
+ "outcomes": [
545
+ "tool_error"
546
+ ],
547
+ "comparison": {
548
+ "operator": "greater_than_or_equal",
549
+ "value": 1
550
+ }
551
+ },
552
+ {
553
+ "id": "associations-batch-create-error",
554
+ "kind": "operation.count",
555
+ "operation": {
556
+ "packageId": "hubspot",
557
+ "operationId": "associations.batch-create"
558
+ },
559
+ "outcomes": [
560
+ "tool_error"
561
+ ],
562
+ "comparison": {
563
+ "operator": "greater_than_or_equal",
564
+ "value": 1
565
+ }
566
+ },
567
+ {
568
+ "id": "associations-batch-read-error",
569
+ "kind": "operation.count",
570
+ "operation": {
571
+ "packageId": "hubspot",
572
+ "operationId": "associations.batch-read"
573
+ },
574
+ "outcomes": [
575
+ "tool_error"
576
+ ],
577
+ "comparison": {
578
+ "operator": "greater_than_or_equal",
579
+ "value": 1
580
+ }
581
+ },
582
+ {
583
+ "id": "associations-list-labels-error",
584
+ "kind": "operation.count",
585
+ "operation": {
586
+ "packageId": "hubspot",
587
+ "operationId": "associations.list-labels"
588
+ },
589
+ "outcomes": [
590
+ "tool_error"
591
+ ],
592
+ "comparison": {
593
+ "operator": "greater_than_or_equal",
594
+ "value": 1
595
+ }
596
+ },
597
+ {
598
+ "id": "owners-list-error",
599
+ "kind": "operation.count",
600
+ "operation": {
601
+ "packageId": "hubspot",
602
+ "operationId": "owners.list"
603
+ },
604
+ "outcomes": [
605
+ "tool_error"
606
+ ],
607
+ "comparison": {
608
+ "operator": "greater_than_or_equal",
609
+ "value": 1
610
+ }
611
+ },
612
+ {
613
+ "id": "owners-get-error",
614
+ "kind": "operation.count",
615
+ "operation": {
616
+ "packageId": "hubspot",
617
+ "operationId": "owners.get"
618
+ },
619
+ "outcomes": [
620
+ "tool_error"
621
+ ],
622
+ "comparison": {
623
+ "operator": "greater_than_or_equal",
624
+ "value": 1
625
+ }
626
+ },
627
+ {
628
+ "id": "pipelines-list-error",
629
+ "kind": "operation.count",
630
+ "operation": {
631
+ "packageId": "hubspot",
632
+ "operationId": "pipelines.list"
633
+ },
634
+ "outcomes": [
635
+ "tool_error"
636
+ ],
637
+ "comparison": {
638
+ "operator": "greater_than_or_equal",
639
+ "value": 1
640
+ }
641
+ },
642
+ {
643
+ "id": "pipelines-get-error",
644
+ "kind": "operation.count",
645
+ "operation": {
646
+ "packageId": "hubspot",
647
+ "operationId": "pipelines.get"
648
+ },
649
+ "outcomes": [
650
+ "tool_error"
651
+ ],
652
+ "comparison": {
653
+ "operator": "greater_than_or_equal",
654
+ "value": 1
655
+ }
656
+ },
657
+ {
658
+ "id": "pipelines-list-stages-error",
659
+ "kind": "operation.count",
660
+ "operation": {
661
+ "packageId": "hubspot",
662
+ "operationId": "pipelines.list-stages"
663
+ },
664
+ "outcomes": [
665
+ "tool_error"
666
+ ],
667
+ "comparison": {
668
+ "operator": "greater_than_or_equal",
669
+ "value": 1
670
+ }
671
+ },
672
+ {
673
+ "id": "properties-list-error",
674
+ "kind": "operation.count",
675
+ "operation": {
676
+ "packageId": "hubspot",
677
+ "operationId": "properties.list"
678
+ },
679
+ "outcomes": [
680
+ "tool_error"
681
+ ],
682
+ "comparison": {
683
+ "operator": "greater_than_or_equal",
684
+ "value": 1
685
+ }
686
+ },
687
+ {
688
+ "id": "properties-get-error",
689
+ "kind": "operation.count",
690
+ "operation": {
691
+ "packageId": "hubspot",
692
+ "operationId": "properties.get"
693
+ },
694
+ "outcomes": [
695
+ "tool_error"
696
+ ],
697
+ "comparison": {
698
+ "operator": "greater_than_or_equal",
699
+ "value": 1
700
+ }
701
+ },
702
+ {
703
+ "id": "object-created-events",
704
+ "kind": "event.count",
705
+ "event": {
706
+ "packageId": "hubspot",
707
+ "eventId": "object.created"
708
+ },
709
+ "phase": "emitted",
710
+ "comparison": {
711
+ "operator": "greater_than_or_equal",
712
+ "value": 6
713
+ }
714
+ },
715
+ {
716
+ "id": "object-property-changed-events",
717
+ "kind": "event.count",
718
+ "event": {
719
+ "packageId": "hubspot",
720
+ "eventId": "object.property-changed"
721
+ },
722
+ "phase": "emitted",
723
+ "comparison": {
724
+ "operator": "greater_than_or_equal",
725
+ "value": 6
726
+ }
727
+ },
728
+ {
729
+ "id": "association-changed-events",
730
+ "kind": "event.count",
731
+ "event": {
732
+ "packageId": "hubspot",
733
+ "eventId": "association.changed"
734
+ },
735
+ "phase": "emitted",
736
+ "comparison": {
737
+ "operator": "greater_than_or_equal",
738
+ "value": 8
739
+ }
740
+ },
741
+ {
742
+ "id": "new-contact-archived",
743
+ "kind": "state.value",
744
+ "packageId": "hubspot",
745
+ "namespace": "contacts",
746
+ "rowId": "0000001001",
747
+ "path": [
748
+ "archived"
749
+ ],
750
+ "comparison": {
751
+ "operator": "equals",
752
+ "value": true
753
+ }
754
+ },
755
+ {
756
+ "id": "deal-301-amount",
757
+ "kind": "state.value",
758
+ "packageId": "hubspot",
759
+ "namespace": "deals",
760
+ "rowId": "0000000301",
761
+ "path": [
762
+ "properties",
763
+ "amount"
764
+ ],
765
+ "comparison": {
766
+ "operator": "equals",
767
+ "value": "12000"
768
+ }
769
+ },
770
+ {
771
+ "id": "deal-renewed-closed-won",
772
+ "kind": "state.value",
773
+ "packageId": "hubspot",
774
+ "namespace": "deals",
775
+ "rowId": "0000001004",
776
+ "path": [
777
+ "properties",
778
+ "hs_is_closed_won"
779
+ ],
780
+ "comparison": {
781
+ "operator": "equals",
782
+ "value": "true"
783
+ }
784
+ },
785
+ {
786
+ "id": "primary-removed-from-201",
787
+ "kind": "state.value",
788
+ "packageId": "hubspot",
789
+ "namespace": "associations",
790
+ "rowId": "0-1/0000000101/0-2/0000000201",
791
+ "path": [
792
+ "typeIds"
793
+ ],
794
+ "comparison": {
795
+ "operator": "equals",
796
+ "value": [
797
+ 279
798
+ ]
799
+ }
800
+ },
801
+ {
802
+ "id": "primary-removed-from-201-inverse",
803
+ "kind": "state.value",
804
+ "packageId": "hubspot",
805
+ "namespace": "associations",
806
+ "rowId": "0-2/0000000201/0-1/0000000101",
807
+ "path": [
808
+ "typeIds"
809
+ ],
810
+ "comparison": {
811
+ "operator": "equals",
812
+ "value": [
813
+ 280
814
+ ]
815
+ }
816
+ },
817
+ {
818
+ "id": "contacts-count",
819
+ "kind": "state.count",
820
+ "packageId": "hubspot",
821
+ "namespace": "contacts",
822
+ "comparison": {
823
+ "operator": "equals",
824
+ "value": 16
825
+ }
826
+ },
827
+ {
828
+ "id": "companies-count",
829
+ "kind": "state.count",
830
+ "packageId": "hubspot",
831
+ "namespace": "companies",
832
+ "comparison": {
833
+ "operator": "equals",
834
+ "value": 8
835
+ }
836
+ },
837
+ {
838
+ "id": "deals-count",
839
+ "kind": "state.count",
840
+ "packageId": "hubspot",
841
+ "namespace": "deals",
842
+ "comparison": {
843
+ "operator": "equals",
844
+ "value": 9
845
+ }
846
+ },
847
+ {
848
+ "id": "notes-count",
849
+ "kind": "state.count",
850
+ "packageId": "hubspot",
851
+ "namespace": "notes",
852
+ "comparison": {
853
+ "operator": "equals",
854
+ "value": 5
855
+ }
856
+ },
857
+ {
858
+ "id": "tasks-count",
859
+ "kind": "state.count",
860
+ "packageId": "hubspot",
861
+ "namespace": "tasks",
862
+ "comparison": {
863
+ "operator": "equals",
864
+ "value": 5
865
+ }
866
+ },
867
+ {
868
+ "id": "associations-count",
869
+ "kind": "state.count",
870
+ "packageId": "hubspot",
871
+ "namespace": "associations",
872
+ "comparison": {
873
+ "operator": "equals",
874
+ "value": 54
875
+ }
876
+ },
877
+ {
878
+ "id": "order",
879
+ "kind": "operation.order",
880
+ "sequence": [
881
+ {
882
+ "anyOf": [
883
+ {
884
+ "packageId": "hubspot",
885
+ "operationId": "account.get-details"
886
+ }
887
+ ]
888
+ },
889
+ {
890
+ "anyOf": [
891
+ {
892
+ "packageId": "hubspot",
893
+ "operationId": "objects.list"
894
+ }
895
+ ]
896
+ },
897
+ {
898
+ "anyOf": [
899
+ {
900
+ "packageId": "hubspot",
901
+ "operationId": "objects.create"
902
+ }
903
+ ]
904
+ },
905
+ {
906
+ "anyOf": [
907
+ {
908
+ "packageId": "hubspot",
909
+ "operationId": "objects.update"
910
+ }
911
+ ]
912
+ },
913
+ {
914
+ "anyOf": [
915
+ {
916
+ "packageId": "hubspot",
917
+ "operationId": "objects.archive"
918
+ }
919
+ ]
920
+ },
921
+ {
922
+ "anyOf": [
923
+ {
924
+ "packageId": "hubspot",
925
+ "operationId": "objects.search"
926
+ }
927
+ ]
928
+ },
929
+ {
930
+ "anyOf": [
931
+ {
932
+ "packageId": "hubspot",
933
+ "operationId": "associations.create"
934
+ }
935
+ ]
936
+ },
937
+ {
938
+ "anyOf": [
939
+ {
940
+ "packageId": "hubspot",
941
+ "operationId": "associations.archive"
942
+ }
943
+ ]
944
+ }
945
+ ]
946
+ },
947
+ {
948
+ "id": "task-1006-timestamp-utc",
949
+ "kind": "state.value",
950
+ "packageId": "hubspot",
951
+ "namespace": "tasks",
952
+ "rowId": "0000001006",
953
+ "path": [
954
+ "properties",
955
+ "hs_timestamp"
956
+ ],
957
+ "comparison": {
958
+ "operator": "equals",
959
+ "value": "2026-09-20T09:00:00.000Z"
960
+ }
961
+ }
962
+ ]
963
+ }