@happyvertical/smrt-ads 0.44.1 → 0.45.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.
@@ -3,12 +3,12 @@
3
3
  "sensitiveFieldsExcluded": true,
4
4
  "generatedAt": "1970-01-01T00:00:00.000Z",
5
5
  "packageName": "@happyvertical/smrt-ads",
6
- "packageVersion": "0.44.1",
6
+ "packageVersion": "0.45.1",
7
7
  "sourceManifestPath": "dist/manifest.json",
8
8
  "agentDocPath": "AGENTS.md",
9
9
  "sourceHashes": {
10
- "manifest": "138cedee209dbabd318804f7218fddc10af8eb97cbfe6469b56345b51f3080da",
11
- "packageJson": "a6ec740e9d719ea3619212a099d63b409e2dec352aa92474095e21ab20864f40",
10
+ "manifest": "42545a1f9f983ba89aafb70cc4600409e64f1a2c698287c965dba7605f7c9e4c",
11
+ "packageJson": "fedd8456406aa6b2d44ece45aae65141bd316173e09b792ca598b9d08feb9ed8",
12
12
  "agents": "38d00ca384af711a76359907e4d9806733168d7b4b31f7610cd0c418fc72d566"
13
13
  },
14
14
  "exports": [
@@ -92,7 +92,128 @@
92
92
  "returns": "Promise<AdDeliveryTier | null>"
93
93
  }
94
94
  ],
95
- "surfaces": [],
95
+ "surfaces": [
96
+ {
97
+ "kind": "api",
98
+ "name": "addeliverytiers.findByPriority",
99
+ "operation": "findByPriority",
100
+ "objectName": "@happyvertical/smrt-ads:AdDeliveryTierCollection",
101
+ "path": "/addeliverytiers/findByPriority",
102
+ "method": "POST"
103
+ },
104
+ {
105
+ "kind": "api",
106
+ "name": "addeliverytiers.findByPricingModel",
107
+ "operation": "findByPricingModel",
108
+ "objectName": "@happyvertical/smrt-ads:AdDeliveryTierCollection",
109
+ "path": "/addeliverytiers/findByPricingModel",
110
+ "method": "POST"
111
+ },
112
+ {
113
+ "kind": "api",
114
+ "name": "addeliverytiers.getHighestPriority",
115
+ "operation": "getHighestPriority",
116
+ "objectName": "@happyvertical/smrt-ads:AdDeliveryTierCollection",
117
+ "path": "/addeliverytiers/getHighestPriority",
118
+ "method": "POST"
119
+ },
120
+ {
121
+ "kind": "api",
122
+ "name": "addeliverytiers.findFixedPricing",
123
+ "operation": "findFixedPricing",
124
+ "objectName": "@happyvertical/smrt-ads:AdDeliveryTierCollection",
125
+ "path": "/addeliverytiers/findFixedPricing",
126
+ "method": "POST"
127
+ },
128
+ {
129
+ "kind": "api",
130
+ "name": "addeliverytiers.findCPM",
131
+ "operation": "findCPM",
132
+ "objectName": "@happyvertical/smrt-ads:AdDeliveryTierCollection",
133
+ "path": "/addeliverytiers/findCPM",
134
+ "method": "POST"
135
+ },
136
+ {
137
+ "kind": "api",
138
+ "name": "addeliverytiers.findPerformanceBased",
139
+ "operation": "findPerformanceBased",
140
+ "objectName": "@happyvertical/smrt-ads:AdDeliveryTierCollection",
141
+ "path": "/addeliverytiers/findPerformanceBased",
142
+ "method": "POST"
143
+ },
144
+ {
145
+ "kind": "cli",
146
+ "name": "addeliverytiercollection_findByPriority",
147
+ "operation": "findByPriority",
148
+ "objectName": "@happyvertical/smrt-ads:AdDeliveryTierCollection"
149
+ },
150
+ {
151
+ "kind": "cli",
152
+ "name": "addeliverytiercollection_findByPricingModel",
153
+ "operation": "findByPricingModel",
154
+ "objectName": "@happyvertical/smrt-ads:AdDeliveryTierCollection"
155
+ },
156
+ {
157
+ "kind": "cli",
158
+ "name": "addeliverytiercollection_getHighestPriority",
159
+ "operation": "getHighestPriority",
160
+ "objectName": "@happyvertical/smrt-ads:AdDeliveryTierCollection"
161
+ },
162
+ {
163
+ "kind": "cli",
164
+ "name": "addeliverytiercollection_findFixedPricing",
165
+ "operation": "findFixedPricing",
166
+ "objectName": "@happyvertical/smrt-ads:AdDeliveryTierCollection"
167
+ },
168
+ {
169
+ "kind": "cli",
170
+ "name": "addeliverytiercollection_findCPM",
171
+ "operation": "findCPM",
172
+ "objectName": "@happyvertical/smrt-ads:AdDeliveryTierCollection"
173
+ },
174
+ {
175
+ "kind": "cli",
176
+ "name": "addeliverytiercollection_findPerformanceBased",
177
+ "operation": "findPerformanceBased",
178
+ "objectName": "@happyvertical/smrt-ads:AdDeliveryTierCollection"
179
+ },
180
+ {
181
+ "kind": "mcp",
182
+ "name": "addeliverytiercollection_findbypriority",
183
+ "operation": "findByPriority",
184
+ "objectName": "@happyvertical/smrt-ads:AdDeliveryTierCollection"
185
+ },
186
+ {
187
+ "kind": "mcp",
188
+ "name": "addeliverytiercollection_findbypricingmodel",
189
+ "operation": "findByPricingModel",
190
+ "objectName": "@happyvertical/smrt-ads:AdDeliveryTierCollection"
191
+ },
192
+ {
193
+ "kind": "mcp",
194
+ "name": "addeliverytiercollection_gethighestpriority",
195
+ "operation": "getHighestPriority",
196
+ "objectName": "@happyvertical/smrt-ads:AdDeliveryTierCollection"
197
+ },
198
+ {
199
+ "kind": "mcp",
200
+ "name": "addeliverytiercollection_findfixedpricing",
201
+ "operation": "findFixedPricing",
202
+ "objectName": "@happyvertical/smrt-ads:AdDeliveryTierCollection"
203
+ },
204
+ {
205
+ "kind": "mcp",
206
+ "name": "addeliverytiercollection_findcpm",
207
+ "operation": "findCPM",
208
+ "objectName": "@happyvertical/smrt-ads:AdDeliveryTierCollection"
209
+ },
210
+ {
211
+ "kind": "mcp",
212
+ "name": "addeliverytiercollection_findperformancebased",
213
+ "operation": "findPerformanceBased",
214
+ "objectName": "@happyvertical/smrt-ads:AdDeliveryTierCollection"
215
+ }
216
+ ],
96
217
  "relationshipFeatures": [
97
218
  "uuidColumns"
98
219
  ],
@@ -246,7 +367,328 @@
246
367
  "returns": "Promise<object>"
247
368
  }
248
369
  ],
249
- "surfaces": [],
370
+ "surfaces": [
371
+ {
372
+ "kind": "api",
373
+ "name": "adevents.findByVariation",
374
+ "operation": "findByVariation",
375
+ "objectName": "@happyvertical/smrt-ads:AdEventCollection",
376
+ "path": "/adevents/findByVariation",
377
+ "method": "POST"
378
+ },
379
+ {
380
+ "kind": "api",
381
+ "name": "adevents.findByZone",
382
+ "operation": "findByZone",
383
+ "objectName": "@happyvertical/smrt-ads:AdEventCollection",
384
+ "path": "/adevents/findByZone",
385
+ "method": "POST"
386
+ },
387
+ {
388
+ "kind": "api",
389
+ "name": "adevents.findBySite",
390
+ "operation": "findBySite",
391
+ "objectName": "@happyvertical/smrt-ads:AdEventCollection",
392
+ "path": "/adevents/findBySite",
393
+ "method": "POST"
394
+ },
395
+ {
396
+ "kind": "api",
397
+ "name": "adevents.findByDateRange",
398
+ "operation": "findByDateRange",
399
+ "objectName": "@happyvertical/smrt-ads:AdEventCollection",
400
+ "path": "/adevents/findByDateRange",
401
+ "method": "POST"
402
+ },
403
+ {
404
+ "kind": "api",
405
+ "name": "adevents.findByType",
406
+ "operation": "findByType",
407
+ "objectName": "@happyvertical/smrt-ads:AdEventCollection",
408
+ "path": "/adevents/findByType",
409
+ "method": "POST"
410
+ },
411
+ {
412
+ "kind": "api",
413
+ "name": "adevents.countByType",
414
+ "operation": "countByType",
415
+ "objectName": "@happyvertical/smrt-ads:AdEventCollection",
416
+ "path": "/adevents/countByType",
417
+ "method": "POST"
418
+ },
419
+ {
420
+ "kind": "api",
421
+ "name": "adevents.countImpressions",
422
+ "operation": "countImpressions",
423
+ "objectName": "@happyvertical/smrt-ads:AdEventCollection",
424
+ "path": "/adevents/countImpressions",
425
+ "method": "POST"
426
+ },
427
+ {
428
+ "kind": "api",
429
+ "name": "adevents.countClicks",
430
+ "operation": "countClicks",
431
+ "objectName": "@happyvertical/smrt-ads:AdEventCollection",
432
+ "path": "/adevents/countClicks",
433
+ "method": "POST"
434
+ },
435
+ {
436
+ "kind": "api",
437
+ "name": "adevents.countConversions",
438
+ "operation": "countConversions",
439
+ "objectName": "@happyvertical/smrt-ads:AdEventCollection",
440
+ "path": "/adevents/countConversions",
441
+ "method": "POST"
442
+ },
443
+ {
444
+ "kind": "api",
445
+ "name": "adevents.findImpressions",
446
+ "operation": "findImpressions",
447
+ "objectName": "@happyvertical/smrt-ads:AdEventCollection",
448
+ "path": "/adevents/findImpressions",
449
+ "method": "POST"
450
+ },
451
+ {
452
+ "kind": "api",
453
+ "name": "adevents.findClicks",
454
+ "operation": "findClicks",
455
+ "objectName": "@happyvertical/smrt-ads:AdEventCollection",
456
+ "path": "/adevents/findClicks",
457
+ "method": "POST"
458
+ },
459
+ {
460
+ "kind": "api",
461
+ "name": "adevents.findConversions",
462
+ "operation": "findConversions",
463
+ "objectName": "@happyvertical/smrt-ads:AdEventCollection",
464
+ "path": "/adevents/findConversions",
465
+ "method": "POST"
466
+ },
467
+ {
468
+ "kind": "api",
469
+ "name": "adevents.getVariationStats",
470
+ "operation": "getVariationStats",
471
+ "objectName": "@happyvertical/smrt-ads:AdEventCollection",
472
+ "path": "/adevents/getVariationStats",
473
+ "method": "POST"
474
+ },
475
+ {
476
+ "kind": "api",
477
+ "name": "adevents.findByTenant",
478
+ "operation": "findByTenant",
479
+ "objectName": "@happyvertical/smrt-ads:AdEventCollection",
480
+ "path": "/adevents/findByTenant",
481
+ "method": "POST"
482
+ },
483
+ {
484
+ "kind": "api",
485
+ "name": "adevents.findGlobal",
486
+ "operation": "findGlobal",
487
+ "objectName": "@happyvertical/smrt-ads:AdEventCollection",
488
+ "path": "/adevents/findGlobal",
489
+ "method": "POST"
490
+ },
491
+ {
492
+ "kind": "api",
493
+ "name": "adevents.findWithGlobals",
494
+ "operation": "findWithGlobals",
495
+ "objectName": "@happyvertical/smrt-ads:AdEventCollection",
496
+ "path": "/adevents/findWithGlobals",
497
+ "method": "POST"
498
+ },
499
+ {
500
+ "kind": "cli",
501
+ "name": "adeventcollection_findByVariation",
502
+ "operation": "findByVariation",
503
+ "objectName": "@happyvertical/smrt-ads:AdEventCollection"
504
+ },
505
+ {
506
+ "kind": "cli",
507
+ "name": "adeventcollection_findByZone",
508
+ "operation": "findByZone",
509
+ "objectName": "@happyvertical/smrt-ads:AdEventCollection"
510
+ },
511
+ {
512
+ "kind": "cli",
513
+ "name": "adeventcollection_findBySite",
514
+ "operation": "findBySite",
515
+ "objectName": "@happyvertical/smrt-ads:AdEventCollection"
516
+ },
517
+ {
518
+ "kind": "cli",
519
+ "name": "adeventcollection_findByDateRange",
520
+ "operation": "findByDateRange",
521
+ "objectName": "@happyvertical/smrt-ads:AdEventCollection"
522
+ },
523
+ {
524
+ "kind": "cli",
525
+ "name": "adeventcollection_findByType",
526
+ "operation": "findByType",
527
+ "objectName": "@happyvertical/smrt-ads:AdEventCollection"
528
+ },
529
+ {
530
+ "kind": "cli",
531
+ "name": "adeventcollection_countByType",
532
+ "operation": "countByType",
533
+ "objectName": "@happyvertical/smrt-ads:AdEventCollection"
534
+ },
535
+ {
536
+ "kind": "cli",
537
+ "name": "adeventcollection_countImpressions",
538
+ "operation": "countImpressions",
539
+ "objectName": "@happyvertical/smrt-ads:AdEventCollection"
540
+ },
541
+ {
542
+ "kind": "cli",
543
+ "name": "adeventcollection_countClicks",
544
+ "operation": "countClicks",
545
+ "objectName": "@happyvertical/smrt-ads:AdEventCollection"
546
+ },
547
+ {
548
+ "kind": "cli",
549
+ "name": "adeventcollection_countConversions",
550
+ "operation": "countConversions",
551
+ "objectName": "@happyvertical/smrt-ads:AdEventCollection"
552
+ },
553
+ {
554
+ "kind": "cli",
555
+ "name": "adeventcollection_findImpressions",
556
+ "operation": "findImpressions",
557
+ "objectName": "@happyvertical/smrt-ads:AdEventCollection"
558
+ },
559
+ {
560
+ "kind": "cli",
561
+ "name": "adeventcollection_findClicks",
562
+ "operation": "findClicks",
563
+ "objectName": "@happyvertical/smrt-ads:AdEventCollection"
564
+ },
565
+ {
566
+ "kind": "cli",
567
+ "name": "adeventcollection_findConversions",
568
+ "operation": "findConversions",
569
+ "objectName": "@happyvertical/smrt-ads:AdEventCollection"
570
+ },
571
+ {
572
+ "kind": "cli",
573
+ "name": "adeventcollection_getVariationStats",
574
+ "operation": "getVariationStats",
575
+ "objectName": "@happyvertical/smrt-ads:AdEventCollection"
576
+ },
577
+ {
578
+ "kind": "cli",
579
+ "name": "adeventcollection_findByTenant",
580
+ "operation": "findByTenant",
581
+ "objectName": "@happyvertical/smrt-ads:AdEventCollection"
582
+ },
583
+ {
584
+ "kind": "cli",
585
+ "name": "adeventcollection_findGlobal",
586
+ "operation": "findGlobal",
587
+ "objectName": "@happyvertical/smrt-ads:AdEventCollection"
588
+ },
589
+ {
590
+ "kind": "cli",
591
+ "name": "adeventcollection_findWithGlobals",
592
+ "operation": "findWithGlobals",
593
+ "objectName": "@happyvertical/smrt-ads:AdEventCollection"
594
+ },
595
+ {
596
+ "kind": "mcp",
597
+ "name": "adeventcollection_findbyvariation",
598
+ "operation": "findByVariation",
599
+ "objectName": "@happyvertical/smrt-ads:AdEventCollection"
600
+ },
601
+ {
602
+ "kind": "mcp",
603
+ "name": "adeventcollection_findbyzone",
604
+ "operation": "findByZone",
605
+ "objectName": "@happyvertical/smrt-ads:AdEventCollection"
606
+ },
607
+ {
608
+ "kind": "mcp",
609
+ "name": "adeventcollection_findbysite",
610
+ "operation": "findBySite",
611
+ "objectName": "@happyvertical/smrt-ads:AdEventCollection"
612
+ },
613
+ {
614
+ "kind": "mcp",
615
+ "name": "adeventcollection_findbydaterange",
616
+ "operation": "findByDateRange",
617
+ "objectName": "@happyvertical/smrt-ads:AdEventCollection"
618
+ },
619
+ {
620
+ "kind": "mcp",
621
+ "name": "adeventcollection_findbytype",
622
+ "operation": "findByType",
623
+ "objectName": "@happyvertical/smrt-ads:AdEventCollection"
624
+ },
625
+ {
626
+ "kind": "mcp",
627
+ "name": "adeventcollection_countbytype",
628
+ "operation": "countByType",
629
+ "objectName": "@happyvertical/smrt-ads:AdEventCollection"
630
+ },
631
+ {
632
+ "kind": "mcp",
633
+ "name": "adeventcollection_countimpressions",
634
+ "operation": "countImpressions",
635
+ "objectName": "@happyvertical/smrt-ads:AdEventCollection"
636
+ },
637
+ {
638
+ "kind": "mcp",
639
+ "name": "adeventcollection_countclicks",
640
+ "operation": "countClicks",
641
+ "objectName": "@happyvertical/smrt-ads:AdEventCollection"
642
+ },
643
+ {
644
+ "kind": "mcp",
645
+ "name": "adeventcollection_countconversions",
646
+ "operation": "countConversions",
647
+ "objectName": "@happyvertical/smrt-ads:AdEventCollection"
648
+ },
649
+ {
650
+ "kind": "mcp",
651
+ "name": "adeventcollection_findimpressions",
652
+ "operation": "findImpressions",
653
+ "objectName": "@happyvertical/smrt-ads:AdEventCollection"
654
+ },
655
+ {
656
+ "kind": "mcp",
657
+ "name": "adeventcollection_findclicks",
658
+ "operation": "findClicks",
659
+ "objectName": "@happyvertical/smrt-ads:AdEventCollection"
660
+ },
661
+ {
662
+ "kind": "mcp",
663
+ "name": "adeventcollection_findconversions",
664
+ "operation": "findConversions",
665
+ "objectName": "@happyvertical/smrt-ads:AdEventCollection"
666
+ },
667
+ {
668
+ "kind": "mcp",
669
+ "name": "adeventcollection_getvariationstats",
670
+ "operation": "getVariationStats",
671
+ "objectName": "@happyvertical/smrt-ads:AdEventCollection"
672
+ },
673
+ {
674
+ "kind": "mcp",
675
+ "name": "adeventcollection_findbytenant",
676
+ "operation": "findByTenant",
677
+ "objectName": "@happyvertical/smrt-ads:AdEventCollection"
678
+ },
679
+ {
680
+ "kind": "mcp",
681
+ "name": "adeventcollection_findglobal",
682
+ "operation": "findGlobal",
683
+ "objectName": "@happyvertical/smrt-ads:AdEventCollection"
684
+ },
685
+ {
686
+ "kind": "mcp",
687
+ "name": "adeventcollection_findwithglobals",
688
+ "operation": "findWithGlobals",
689
+ "objectName": "@happyvertical/smrt-ads:AdEventCollection"
690
+ }
691
+ ],
250
692
  "relationshipFeatures": [
251
693
  "uuidColumns"
252
694
  ],
@@ -303,38 +745,139 @@
303
745
  "returns": "Promise<AdFormat[]>"
304
746
  }
305
747
  ],
306
- "surfaces": [],
307
- "relationshipFeatures": [
308
- "uuidColumns"
309
- ],
310
- "tags": [],
311
- "risks": []
312
- },
313
- {
314
- "name": "AdGroupCollection",
315
- "qualifiedName": "@happyvertical/smrt-ads:AdGroupCollection",
316
- "collection": "adgroups",
317
- "tableName": "ad_group_collections",
318
- "packageName": "@happyvertical/smrt-ads",
319
- "extends": "SmrtCollection",
320
- "fields": [],
321
- "relationships": [],
322
- "methods": [
323
- "findActive",
324
- "findByContract",
325
- "findByStatus",
326
- "findByTenant",
327
- "findByTier",
328
- "findByVertical",
329
- "findByZone",
330
- "findCompleted",
331
- "findDrafts",
332
- "findEligibleForZone",
333
- "findGlobal",
334
- "findPaused",
335
- "findWithGlobals"
336
- ],
337
- "methodSignatures": [
748
+ "surfaces": [
749
+ {
750
+ "kind": "api",
751
+ "name": "adformats.findByDimensions",
752
+ "operation": "findByDimensions",
753
+ "objectName": "@happyvertical/smrt-ads:AdFormatCollection",
754
+ "path": "/adformats/findByDimensions",
755
+ "method": "POST"
756
+ },
757
+ {
758
+ "kind": "api",
759
+ "name": "adformats.findByType",
760
+ "operation": "findByType",
761
+ "objectName": "@happyvertical/smrt-ads:AdFormatCollection",
762
+ "path": "/adformats/findByType",
763
+ "method": "POST"
764
+ },
765
+ {
766
+ "kind": "api",
767
+ "name": "adformats.findBanners",
768
+ "operation": "findBanners",
769
+ "objectName": "@happyvertical/smrt-ads:AdFormatCollection",
770
+ "path": "/adformats/findBanners",
771
+ "method": "POST"
772
+ },
773
+ {
774
+ "kind": "api",
775
+ "name": "adformats.findNative",
776
+ "operation": "findNative",
777
+ "objectName": "@happyvertical/smrt-ads:AdFormatCollection",
778
+ "path": "/adformats/findNative",
779
+ "method": "POST"
780
+ },
781
+ {
782
+ "kind": "api",
783
+ "name": "adformats.findVideo",
784
+ "operation": "findVideo",
785
+ "objectName": "@happyvertical/smrt-ads:AdFormatCollection",
786
+ "path": "/adformats/findVideo",
787
+ "method": "POST"
788
+ },
789
+ {
790
+ "kind": "cli",
791
+ "name": "adformatcollection_findByDimensions",
792
+ "operation": "findByDimensions",
793
+ "objectName": "@happyvertical/smrt-ads:AdFormatCollection"
794
+ },
795
+ {
796
+ "kind": "cli",
797
+ "name": "adformatcollection_findByType",
798
+ "operation": "findByType",
799
+ "objectName": "@happyvertical/smrt-ads:AdFormatCollection"
800
+ },
801
+ {
802
+ "kind": "cli",
803
+ "name": "adformatcollection_findBanners",
804
+ "operation": "findBanners",
805
+ "objectName": "@happyvertical/smrt-ads:AdFormatCollection"
806
+ },
807
+ {
808
+ "kind": "cli",
809
+ "name": "adformatcollection_findNative",
810
+ "operation": "findNative",
811
+ "objectName": "@happyvertical/smrt-ads:AdFormatCollection"
812
+ },
813
+ {
814
+ "kind": "cli",
815
+ "name": "adformatcollection_findVideo",
816
+ "operation": "findVideo",
817
+ "objectName": "@happyvertical/smrt-ads:AdFormatCollection"
818
+ },
819
+ {
820
+ "kind": "mcp",
821
+ "name": "adformatcollection_findbydimensions",
822
+ "operation": "findByDimensions",
823
+ "objectName": "@happyvertical/smrt-ads:AdFormatCollection"
824
+ },
825
+ {
826
+ "kind": "mcp",
827
+ "name": "adformatcollection_findbytype",
828
+ "operation": "findByType",
829
+ "objectName": "@happyvertical/smrt-ads:AdFormatCollection"
830
+ },
831
+ {
832
+ "kind": "mcp",
833
+ "name": "adformatcollection_findbanners",
834
+ "operation": "findBanners",
835
+ "objectName": "@happyvertical/smrt-ads:AdFormatCollection"
836
+ },
837
+ {
838
+ "kind": "mcp",
839
+ "name": "adformatcollection_findnative",
840
+ "operation": "findNative",
841
+ "objectName": "@happyvertical/smrt-ads:AdFormatCollection"
842
+ },
843
+ {
844
+ "kind": "mcp",
845
+ "name": "adformatcollection_findvideo",
846
+ "operation": "findVideo",
847
+ "objectName": "@happyvertical/smrt-ads:AdFormatCollection"
848
+ }
849
+ ],
850
+ "relationshipFeatures": [
851
+ "uuidColumns"
852
+ ],
853
+ "tags": [],
854
+ "risks": []
855
+ },
856
+ {
857
+ "name": "AdGroupCollection",
858
+ "qualifiedName": "@happyvertical/smrt-ads:AdGroupCollection",
859
+ "collection": "adgroups",
860
+ "tableName": "ad_group_collections",
861
+ "packageName": "@happyvertical/smrt-ads",
862
+ "extends": "SmrtCollection",
863
+ "fields": [],
864
+ "relationships": [],
865
+ "methods": [
866
+ "findActive",
867
+ "findByContract",
868
+ "findByStatus",
869
+ "findByTenant",
870
+ "findByTier",
871
+ "findByVertical",
872
+ "findByZone",
873
+ "findCompleted",
874
+ "findDrafts",
875
+ "findEligibleForZone",
876
+ "findGlobal",
877
+ "findPaused",
878
+ "findWithGlobals"
879
+ ],
880
+ "methodSignatures": [
338
881
  {
339
882
  "name": "findActive",
340
883
  "async": true,
@@ -425,7 +968,268 @@
425
968
  "returns": "Promise<AdGroup[]>"
426
969
  }
427
970
  ],
428
- "surfaces": [],
971
+ "surfaces": [
972
+ {
973
+ "kind": "api",
974
+ "name": "adgroups.findByContract",
975
+ "operation": "findByContract",
976
+ "objectName": "@happyvertical/smrt-ads:AdGroupCollection",
977
+ "path": "/adgroups/findByContract",
978
+ "method": "POST"
979
+ },
980
+ {
981
+ "kind": "api",
982
+ "name": "adgroups.findByTier",
983
+ "operation": "findByTier",
984
+ "objectName": "@happyvertical/smrt-ads:AdGroupCollection",
985
+ "path": "/adgroups/findByTier",
986
+ "method": "POST"
987
+ },
988
+ {
989
+ "kind": "api",
990
+ "name": "adgroups.findByStatus",
991
+ "operation": "findByStatus",
992
+ "objectName": "@happyvertical/smrt-ads:AdGroupCollection",
993
+ "path": "/adgroups/findByStatus",
994
+ "method": "POST"
995
+ },
996
+ {
997
+ "kind": "api",
998
+ "name": "adgroups.findActive",
999
+ "operation": "findActive",
1000
+ "objectName": "@happyvertical/smrt-ads:AdGroupCollection",
1001
+ "path": "/adgroups/findActive",
1002
+ "method": "POST"
1003
+ },
1004
+ {
1005
+ "kind": "api",
1006
+ "name": "adgroups.findByVertical",
1007
+ "operation": "findByVertical",
1008
+ "objectName": "@happyvertical/smrt-ads:AdGroupCollection",
1009
+ "path": "/adgroups/findByVertical",
1010
+ "method": "POST"
1011
+ },
1012
+ {
1013
+ "kind": "api",
1014
+ "name": "adgroups.findByZone",
1015
+ "operation": "findByZone",
1016
+ "objectName": "@happyvertical/smrt-ads:AdGroupCollection",
1017
+ "path": "/adgroups/findByZone",
1018
+ "method": "POST"
1019
+ },
1020
+ {
1021
+ "kind": "api",
1022
+ "name": "adgroups.findEligibleForZone",
1023
+ "operation": "findEligibleForZone",
1024
+ "objectName": "@happyvertical/smrt-ads:AdGroupCollection",
1025
+ "path": "/adgroups/findEligibleForZone",
1026
+ "method": "POST"
1027
+ },
1028
+ {
1029
+ "kind": "api",
1030
+ "name": "adgroups.findDrafts",
1031
+ "operation": "findDrafts",
1032
+ "objectName": "@happyvertical/smrt-ads:AdGroupCollection",
1033
+ "path": "/adgroups/findDrafts",
1034
+ "method": "POST"
1035
+ },
1036
+ {
1037
+ "kind": "api",
1038
+ "name": "adgroups.findPaused",
1039
+ "operation": "findPaused",
1040
+ "objectName": "@happyvertical/smrt-ads:AdGroupCollection",
1041
+ "path": "/adgroups/findPaused",
1042
+ "method": "POST"
1043
+ },
1044
+ {
1045
+ "kind": "api",
1046
+ "name": "adgroups.findCompleted",
1047
+ "operation": "findCompleted",
1048
+ "objectName": "@happyvertical/smrt-ads:AdGroupCollection",
1049
+ "path": "/adgroups/findCompleted",
1050
+ "method": "POST"
1051
+ },
1052
+ {
1053
+ "kind": "api",
1054
+ "name": "adgroups.findByTenant",
1055
+ "operation": "findByTenant",
1056
+ "objectName": "@happyvertical/smrt-ads:AdGroupCollection",
1057
+ "path": "/adgroups/findByTenant",
1058
+ "method": "POST"
1059
+ },
1060
+ {
1061
+ "kind": "api",
1062
+ "name": "adgroups.findGlobal",
1063
+ "operation": "findGlobal",
1064
+ "objectName": "@happyvertical/smrt-ads:AdGroupCollection",
1065
+ "path": "/adgroups/findGlobal",
1066
+ "method": "POST"
1067
+ },
1068
+ {
1069
+ "kind": "api",
1070
+ "name": "adgroups.findWithGlobals",
1071
+ "operation": "findWithGlobals",
1072
+ "objectName": "@happyvertical/smrt-ads:AdGroupCollection",
1073
+ "path": "/adgroups/findWithGlobals",
1074
+ "method": "POST"
1075
+ },
1076
+ {
1077
+ "kind": "cli",
1078
+ "name": "adgroupcollection_findByContract",
1079
+ "operation": "findByContract",
1080
+ "objectName": "@happyvertical/smrt-ads:AdGroupCollection"
1081
+ },
1082
+ {
1083
+ "kind": "cli",
1084
+ "name": "adgroupcollection_findByTier",
1085
+ "operation": "findByTier",
1086
+ "objectName": "@happyvertical/smrt-ads:AdGroupCollection"
1087
+ },
1088
+ {
1089
+ "kind": "cli",
1090
+ "name": "adgroupcollection_findByStatus",
1091
+ "operation": "findByStatus",
1092
+ "objectName": "@happyvertical/smrt-ads:AdGroupCollection"
1093
+ },
1094
+ {
1095
+ "kind": "cli",
1096
+ "name": "adgroupcollection_findActive",
1097
+ "operation": "findActive",
1098
+ "objectName": "@happyvertical/smrt-ads:AdGroupCollection"
1099
+ },
1100
+ {
1101
+ "kind": "cli",
1102
+ "name": "adgroupcollection_findByVertical",
1103
+ "operation": "findByVertical",
1104
+ "objectName": "@happyvertical/smrt-ads:AdGroupCollection"
1105
+ },
1106
+ {
1107
+ "kind": "cli",
1108
+ "name": "adgroupcollection_findByZone",
1109
+ "operation": "findByZone",
1110
+ "objectName": "@happyvertical/smrt-ads:AdGroupCollection"
1111
+ },
1112
+ {
1113
+ "kind": "cli",
1114
+ "name": "adgroupcollection_findEligibleForZone",
1115
+ "operation": "findEligibleForZone",
1116
+ "objectName": "@happyvertical/smrt-ads:AdGroupCollection"
1117
+ },
1118
+ {
1119
+ "kind": "cli",
1120
+ "name": "adgroupcollection_findDrafts",
1121
+ "operation": "findDrafts",
1122
+ "objectName": "@happyvertical/smrt-ads:AdGroupCollection"
1123
+ },
1124
+ {
1125
+ "kind": "cli",
1126
+ "name": "adgroupcollection_findPaused",
1127
+ "operation": "findPaused",
1128
+ "objectName": "@happyvertical/smrt-ads:AdGroupCollection"
1129
+ },
1130
+ {
1131
+ "kind": "cli",
1132
+ "name": "adgroupcollection_findCompleted",
1133
+ "operation": "findCompleted",
1134
+ "objectName": "@happyvertical/smrt-ads:AdGroupCollection"
1135
+ },
1136
+ {
1137
+ "kind": "cli",
1138
+ "name": "adgroupcollection_findByTenant",
1139
+ "operation": "findByTenant",
1140
+ "objectName": "@happyvertical/smrt-ads:AdGroupCollection"
1141
+ },
1142
+ {
1143
+ "kind": "cli",
1144
+ "name": "adgroupcollection_findGlobal",
1145
+ "operation": "findGlobal",
1146
+ "objectName": "@happyvertical/smrt-ads:AdGroupCollection"
1147
+ },
1148
+ {
1149
+ "kind": "cli",
1150
+ "name": "adgroupcollection_findWithGlobals",
1151
+ "operation": "findWithGlobals",
1152
+ "objectName": "@happyvertical/smrt-ads:AdGroupCollection"
1153
+ },
1154
+ {
1155
+ "kind": "mcp",
1156
+ "name": "adgroupcollection_findbycontract",
1157
+ "operation": "findByContract",
1158
+ "objectName": "@happyvertical/smrt-ads:AdGroupCollection"
1159
+ },
1160
+ {
1161
+ "kind": "mcp",
1162
+ "name": "adgroupcollection_findbytier",
1163
+ "operation": "findByTier",
1164
+ "objectName": "@happyvertical/smrt-ads:AdGroupCollection"
1165
+ },
1166
+ {
1167
+ "kind": "mcp",
1168
+ "name": "adgroupcollection_findbystatus",
1169
+ "operation": "findByStatus",
1170
+ "objectName": "@happyvertical/smrt-ads:AdGroupCollection"
1171
+ },
1172
+ {
1173
+ "kind": "mcp",
1174
+ "name": "adgroupcollection_findactive",
1175
+ "operation": "findActive",
1176
+ "objectName": "@happyvertical/smrt-ads:AdGroupCollection"
1177
+ },
1178
+ {
1179
+ "kind": "mcp",
1180
+ "name": "adgroupcollection_findbyvertical",
1181
+ "operation": "findByVertical",
1182
+ "objectName": "@happyvertical/smrt-ads:AdGroupCollection"
1183
+ },
1184
+ {
1185
+ "kind": "mcp",
1186
+ "name": "adgroupcollection_findbyzone",
1187
+ "operation": "findByZone",
1188
+ "objectName": "@happyvertical/smrt-ads:AdGroupCollection"
1189
+ },
1190
+ {
1191
+ "kind": "mcp",
1192
+ "name": "adgroupcollection_findeligibleforzone",
1193
+ "operation": "findEligibleForZone",
1194
+ "objectName": "@happyvertical/smrt-ads:AdGroupCollection"
1195
+ },
1196
+ {
1197
+ "kind": "mcp",
1198
+ "name": "adgroupcollection_finddrafts",
1199
+ "operation": "findDrafts",
1200
+ "objectName": "@happyvertical/smrt-ads:AdGroupCollection"
1201
+ },
1202
+ {
1203
+ "kind": "mcp",
1204
+ "name": "adgroupcollection_findpaused",
1205
+ "operation": "findPaused",
1206
+ "objectName": "@happyvertical/smrt-ads:AdGroupCollection"
1207
+ },
1208
+ {
1209
+ "kind": "mcp",
1210
+ "name": "adgroupcollection_findcompleted",
1211
+ "operation": "findCompleted",
1212
+ "objectName": "@happyvertical/smrt-ads:AdGroupCollection"
1213
+ },
1214
+ {
1215
+ "kind": "mcp",
1216
+ "name": "adgroupcollection_findbytenant",
1217
+ "operation": "findByTenant",
1218
+ "objectName": "@happyvertical/smrt-ads:AdGroupCollection"
1219
+ },
1220
+ {
1221
+ "kind": "mcp",
1222
+ "name": "adgroupcollection_findglobal",
1223
+ "operation": "findGlobal",
1224
+ "objectName": "@happyvertical/smrt-ads:AdGroupCollection"
1225
+ },
1226
+ {
1227
+ "kind": "mcp",
1228
+ "name": "adgroupcollection_findwithglobals",
1229
+ "operation": "findWithGlobals",
1230
+ "objectName": "@happyvertical/smrt-ads:AdGroupCollection"
1231
+ }
1232
+ ],
429
1233
  "relationshipFeatures": [
430
1234
  "uuidColumns"
431
1235
  ],
@@ -541,49 +1345,290 @@
541
1345
  "returns": "Promise<AdVariation | null>"
542
1346
  }
543
1347
  ],
544
- "surfaces": [],
545
- "relationshipFeatures": [
546
- "uuidColumns"
547
- ],
548
- "tags": [],
549
- "risks": []
550
- },
551
- {
552
- "name": "AdDeliveryTier",
553
- "qualifiedName": "@happyvertical/smrt-ads:AdDeliveryTier",
554
- "collection": "addeliverytiers",
555
- "tableName": "ad_delivery_tiers",
556
- "packageName": "@happyvertical/smrt-ads",
557
- "extends": "SmrtObject",
558
- "fields": [
1348
+ "surfaces": [
559
1349
  {
560
- "name": "name",
561
- "type": "text",
562
- "required": false,
563
- "columnType": "TEXT",
564
- "default": ""
1350
+ "kind": "api",
1351
+ "name": "advariations.findByGroup",
1352
+ "operation": "findByGroup",
1353
+ "objectName": "@happyvertical/smrt-ads:AdVariationCollection",
1354
+ "path": "/advariations/findByGroup",
1355
+ "method": "POST"
565
1356
  },
566
1357
  {
567
- "name": "priority",
568
- "type": "integer",
569
- "required": false,
570
- "columnType": "INTEGER",
571
- "default": 0
1358
+ "kind": "api",
1359
+ "name": "advariations.findByFormat",
1360
+ "operation": "findByFormat",
1361
+ "objectName": "@happyvertical/smrt-ads:AdVariationCollection",
1362
+ "path": "/advariations/findByFormat",
1363
+ "method": "POST"
572
1364
  },
573
1365
  {
574
- "name": "pricingModel",
575
- "type": "text",
576
- "required": false,
577
- "columnType": "TEXT"
1366
+ "kind": "api",
1367
+ "name": "advariations.findActiveByGroup",
1368
+ "operation": "findActiveByGroup",
1369
+ "objectName": "@happyvertical/smrt-ads:AdVariationCollection",
1370
+ "path": "/advariations/findActiveByGroup",
1371
+ "method": "POST"
578
1372
  },
579
1373
  {
580
- "name": "description",
581
- "type": "text",
582
- "required": false,
583
- "columnType": "TEXT",
584
- "default": ""
585
- }
586
- ],
1374
+ "kind": "api",
1375
+ "name": "advariations.selectByWeight",
1376
+ "operation": "selectByWeight",
1377
+ "objectName": "@happyvertical/smrt-ads:AdVariationCollection",
1378
+ "path": "/advariations/selectByWeight",
1379
+ "method": "POST"
1380
+ },
1381
+ {
1382
+ "kind": "api",
1383
+ "name": "advariations.findByStatus",
1384
+ "operation": "findByStatus",
1385
+ "objectName": "@happyvertical/smrt-ads:AdVariationCollection",
1386
+ "path": "/advariations/findByStatus",
1387
+ "method": "POST"
1388
+ },
1389
+ {
1390
+ "kind": "api",
1391
+ "name": "advariations.findActive",
1392
+ "operation": "findActive",
1393
+ "objectName": "@happyvertical/smrt-ads:AdVariationCollection",
1394
+ "path": "/advariations/findActive",
1395
+ "method": "POST"
1396
+ },
1397
+ {
1398
+ "kind": "api",
1399
+ "name": "advariations.findDrafts",
1400
+ "operation": "findDrafts",
1401
+ "objectName": "@happyvertical/smrt-ads:AdVariationCollection",
1402
+ "path": "/advariations/findDrafts",
1403
+ "method": "POST"
1404
+ },
1405
+ {
1406
+ "kind": "api",
1407
+ "name": "advariations.findPaused",
1408
+ "operation": "findPaused",
1409
+ "objectName": "@happyvertical/smrt-ads:AdVariationCollection",
1410
+ "path": "/advariations/findPaused",
1411
+ "method": "POST"
1412
+ },
1413
+ {
1414
+ "kind": "api",
1415
+ "name": "advariations.findTopPerformers",
1416
+ "operation": "findTopPerformers",
1417
+ "objectName": "@happyvertical/smrt-ads:AdVariationCollection",
1418
+ "path": "/advariations/findTopPerformers",
1419
+ "method": "POST"
1420
+ },
1421
+ {
1422
+ "kind": "api",
1423
+ "name": "advariations.findByTenant",
1424
+ "operation": "findByTenant",
1425
+ "objectName": "@happyvertical/smrt-ads:AdVariationCollection",
1426
+ "path": "/advariations/findByTenant",
1427
+ "method": "POST"
1428
+ },
1429
+ {
1430
+ "kind": "api",
1431
+ "name": "advariations.findGlobal",
1432
+ "operation": "findGlobal",
1433
+ "objectName": "@happyvertical/smrt-ads:AdVariationCollection",
1434
+ "path": "/advariations/findGlobal",
1435
+ "method": "POST"
1436
+ },
1437
+ {
1438
+ "kind": "api",
1439
+ "name": "advariations.findWithGlobals",
1440
+ "operation": "findWithGlobals",
1441
+ "objectName": "@happyvertical/smrt-ads:AdVariationCollection",
1442
+ "path": "/advariations/findWithGlobals",
1443
+ "method": "POST"
1444
+ },
1445
+ {
1446
+ "kind": "cli",
1447
+ "name": "advariationcollection_findByGroup",
1448
+ "operation": "findByGroup",
1449
+ "objectName": "@happyvertical/smrt-ads:AdVariationCollection"
1450
+ },
1451
+ {
1452
+ "kind": "cli",
1453
+ "name": "advariationcollection_findByFormat",
1454
+ "operation": "findByFormat",
1455
+ "objectName": "@happyvertical/smrt-ads:AdVariationCollection"
1456
+ },
1457
+ {
1458
+ "kind": "cli",
1459
+ "name": "advariationcollection_findActiveByGroup",
1460
+ "operation": "findActiveByGroup",
1461
+ "objectName": "@happyvertical/smrt-ads:AdVariationCollection"
1462
+ },
1463
+ {
1464
+ "kind": "cli",
1465
+ "name": "advariationcollection_selectByWeight",
1466
+ "operation": "selectByWeight",
1467
+ "objectName": "@happyvertical/smrt-ads:AdVariationCollection"
1468
+ },
1469
+ {
1470
+ "kind": "cli",
1471
+ "name": "advariationcollection_findByStatus",
1472
+ "operation": "findByStatus",
1473
+ "objectName": "@happyvertical/smrt-ads:AdVariationCollection"
1474
+ },
1475
+ {
1476
+ "kind": "cli",
1477
+ "name": "advariationcollection_findActive",
1478
+ "operation": "findActive",
1479
+ "objectName": "@happyvertical/smrt-ads:AdVariationCollection"
1480
+ },
1481
+ {
1482
+ "kind": "cli",
1483
+ "name": "advariationcollection_findDrafts",
1484
+ "operation": "findDrafts",
1485
+ "objectName": "@happyvertical/smrt-ads:AdVariationCollection"
1486
+ },
1487
+ {
1488
+ "kind": "cli",
1489
+ "name": "advariationcollection_findPaused",
1490
+ "operation": "findPaused",
1491
+ "objectName": "@happyvertical/smrt-ads:AdVariationCollection"
1492
+ },
1493
+ {
1494
+ "kind": "cli",
1495
+ "name": "advariationcollection_findTopPerformers",
1496
+ "operation": "findTopPerformers",
1497
+ "objectName": "@happyvertical/smrt-ads:AdVariationCollection"
1498
+ },
1499
+ {
1500
+ "kind": "cli",
1501
+ "name": "advariationcollection_findByTenant",
1502
+ "operation": "findByTenant",
1503
+ "objectName": "@happyvertical/smrt-ads:AdVariationCollection"
1504
+ },
1505
+ {
1506
+ "kind": "cli",
1507
+ "name": "advariationcollection_findGlobal",
1508
+ "operation": "findGlobal",
1509
+ "objectName": "@happyvertical/smrt-ads:AdVariationCollection"
1510
+ },
1511
+ {
1512
+ "kind": "cli",
1513
+ "name": "advariationcollection_findWithGlobals",
1514
+ "operation": "findWithGlobals",
1515
+ "objectName": "@happyvertical/smrt-ads:AdVariationCollection"
1516
+ },
1517
+ {
1518
+ "kind": "mcp",
1519
+ "name": "advariationcollection_findbygroup",
1520
+ "operation": "findByGroup",
1521
+ "objectName": "@happyvertical/smrt-ads:AdVariationCollection"
1522
+ },
1523
+ {
1524
+ "kind": "mcp",
1525
+ "name": "advariationcollection_findbyformat",
1526
+ "operation": "findByFormat",
1527
+ "objectName": "@happyvertical/smrt-ads:AdVariationCollection"
1528
+ },
1529
+ {
1530
+ "kind": "mcp",
1531
+ "name": "advariationcollection_findactivebygroup",
1532
+ "operation": "findActiveByGroup",
1533
+ "objectName": "@happyvertical/smrt-ads:AdVariationCollection"
1534
+ },
1535
+ {
1536
+ "kind": "mcp",
1537
+ "name": "advariationcollection_selectbyweight",
1538
+ "operation": "selectByWeight",
1539
+ "objectName": "@happyvertical/smrt-ads:AdVariationCollection"
1540
+ },
1541
+ {
1542
+ "kind": "mcp",
1543
+ "name": "advariationcollection_findbystatus",
1544
+ "operation": "findByStatus",
1545
+ "objectName": "@happyvertical/smrt-ads:AdVariationCollection"
1546
+ },
1547
+ {
1548
+ "kind": "mcp",
1549
+ "name": "advariationcollection_findactive",
1550
+ "operation": "findActive",
1551
+ "objectName": "@happyvertical/smrt-ads:AdVariationCollection"
1552
+ },
1553
+ {
1554
+ "kind": "mcp",
1555
+ "name": "advariationcollection_finddrafts",
1556
+ "operation": "findDrafts",
1557
+ "objectName": "@happyvertical/smrt-ads:AdVariationCollection"
1558
+ },
1559
+ {
1560
+ "kind": "mcp",
1561
+ "name": "advariationcollection_findpaused",
1562
+ "operation": "findPaused",
1563
+ "objectName": "@happyvertical/smrt-ads:AdVariationCollection"
1564
+ },
1565
+ {
1566
+ "kind": "mcp",
1567
+ "name": "advariationcollection_findtopperformers",
1568
+ "operation": "findTopPerformers",
1569
+ "objectName": "@happyvertical/smrt-ads:AdVariationCollection"
1570
+ },
1571
+ {
1572
+ "kind": "mcp",
1573
+ "name": "advariationcollection_findbytenant",
1574
+ "operation": "findByTenant",
1575
+ "objectName": "@happyvertical/smrt-ads:AdVariationCollection"
1576
+ },
1577
+ {
1578
+ "kind": "mcp",
1579
+ "name": "advariationcollection_findglobal",
1580
+ "operation": "findGlobal",
1581
+ "objectName": "@happyvertical/smrt-ads:AdVariationCollection"
1582
+ },
1583
+ {
1584
+ "kind": "mcp",
1585
+ "name": "advariationcollection_findwithglobals",
1586
+ "operation": "findWithGlobals",
1587
+ "objectName": "@happyvertical/smrt-ads:AdVariationCollection"
1588
+ }
1589
+ ],
1590
+ "relationshipFeatures": [
1591
+ "uuidColumns"
1592
+ ],
1593
+ "tags": [],
1594
+ "risks": []
1595
+ },
1596
+ {
1597
+ "name": "AdDeliveryTier",
1598
+ "qualifiedName": "@happyvertical/smrt-ads:AdDeliveryTier",
1599
+ "collection": "addeliverytiers",
1600
+ "tableName": "ad_delivery_tiers",
1601
+ "packageName": "@happyvertical/smrt-ads",
1602
+ "extends": "SmrtObject",
1603
+ "fields": [
1604
+ {
1605
+ "name": "name",
1606
+ "type": "text",
1607
+ "required": false,
1608
+ "columnType": "TEXT",
1609
+ "default": ""
1610
+ },
1611
+ {
1612
+ "name": "priority",
1613
+ "type": "integer",
1614
+ "required": false,
1615
+ "columnType": "INTEGER",
1616
+ "default": 0
1617
+ },
1618
+ {
1619
+ "name": "pricingModel",
1620
+ "type": "text",
1621
+ "required": false,
1622
+ "columnType": "TEXT"
1623
+ },
1624
+ {
1625
+ "name": "description",
1626
+ "type": "text",
1627
+ "required": false,
1628
+ "columnType": "TEXT",
1629
+ "default": ""
1630
+ }
1631
+ ],
587
1632
  "relationships": [],
588
1633
  "methods": [
589
1634
  "isFixedPricing",
@@ -670,6 +1715,24 @@
670
1715
  "operation": "delete",
671
1716
  "objectName": "@happyvertical/smrt-ads:AdDeliveryTier"
672
1717
  },
1718
+ {
1719
+ "kind": "cli",
1720
+ "name": "addeliverytier_isHigherPriorityThan",
1721
+ "operation": "isHigherPriorityThan",
1722
+ "objectName": "@happyvertical/smrt-ads:AdDeliveryTier"
1723
+ },
1724
+ {
1725
+ "kind": "cli",
1726
+ "name": "addeliverytier_isFixedPricing",
1727
+ "operation": "isFixedPricing",
1728
+ "objectName": "@happyvertical/smrt-ads:AdDeliveryTier"
1729
+ },
1730
+ {
1731
+ "kind": "cli",
1732
+ "name": "addeliverytier_isPerformanceBased",
1733
+ "operation": "isPerformanceBased",
1734
+ "objectName": "@happyvertical/smrt-ads:AdDeliveryTier"
1735
+ },
673
1736
  {
674
1737
  "kind": "mcp",
675
1738
  "name": "addeliverytier_list",
@@ -773,441 +1836,102 @@
773
1836
  }
774
1837
  ],
775
1838
  "methods": [
776
- "_setLoadedRelationship",
777
- "claimRevision",
778
- "classifyConstraintError",
779
- "clearEmbeddings",
780
- "delete",
781
- "describe",
782
- "destroy",
783
- "do",
784
- "executeToolCall",
785
- "forget",
786
- "forgetScope",
787
- "generateEmbeddings",
788
- "getAiUsageSnapshot",
789
- "getAvailableTools",
790
- "getEmbedding",
791
- "getFields",
792
- "getId",
793
1839
  "getMetadata",
794
- "getRelated",
795
- "getSavedId",
796
- "getSlug",
797
- "hasStaleEmbeddings",
798
- "initialize",
799
- "is",
800
1840
  "isClick",
801
1841
  "isConversion",
802
1842
  "isImpression",
803
- "isRelatedLoaded",
804
- "isSaved",
805
- "listAiUsage",
806
- "loadDataFromDb",
807
- "loadFromId",
808
- "loadFromSlug",
809
- "loadRelated",
810
- "loadRelatedMany",
811
- "markAsPersisted",
812
- "recall",
813
- "recallAll",
814
- "remember",
815
- "requireInsertOnSave",
816
- "resetAiUsage",
817
- "save",
818
- "setMetadata",
819
- "summarizeAiUsage",
820
- "toJSON",
821
- "toPlainObject",
822
- "toPublicJSON",
823
- "withDatabase",
824
- "withTransaction"
1843
+ "setMetadata"
825
1844
  ],
826
1845
  "methodSignatures": [
827
1846
  {
828
- "name": "_setLoadedRelationship",
829
- "params": [
830
- "fieldName: string",
831
- "value: any"
832
- ],
833
- "returns": "void"
1847
+ "name": "getMetadata",
1848
+ "returns": "Record<string>"
834
1849
  },
835
1850
  {
836
- "name": "claimRevision",
837
- "async": true,
838
- "params": [
839
- "expectedUpdatedAt: Date | string"
840
- ],
841
- "returns": "Promise"
1851
+ "name": "isClick",
1852
+ "returns": "boolean"
842
1853
  },
843
1854
  {
844
- "name": "classifyConstraintError",
845
- "static": true,
846
- "params": [
847
- "message: string"
848
- ],
849
- "returns": "'unique' | 'not_null' | null"
1855
+ "name": "isConversion",
1856
+ "returns": "boolean"
850
1857
  },
851
1858
  {
852
- "name": "clearEmbeddings",
853
- "async": true,
854
- "returns": "Promise<void>"
1859
+ "name": "isImpression",
1860
+ "returns": "boolean"
855
1861
  },
856
1862
  {
857
- "name": "delete",
858
- "async": true,
1863
+ "name": "setMetadata",
859
1864
  "params": [
860
- "options?: SmrtDeleteOptions"
1865
+ "data: Record<string>"
861
1866
  ],
862
- "returns": "Promise<void>"
863
- },
1867
+ "returns": "void"
1868
+ }
1869
+ ],
1870
+ "tenant": {
1871
+ "scoped": true,
1872
+ "mode": "optional",
1873
+ "field": "tenantId"
1874
+ },
1875
+ "tableStrategy": "sti",
1876
+ "conflictColumns": [
1877
+ "tenant_id",
1878
+ "slug",
1879
+ "context",
1880
+ "_meta_type"
1881
+ ],
1882
+ "surfaces": [
864
1883
  {
865
- "name": "describe",
866
- "async": true,
867
- "params": [
868
- "options?: AiOperationOptions"
869
- ],
870
- "returns": "any"
1884
+ "kind": "api",
1885
+ "name": "adevents.list",
1886
+ "operation": "list",
1887
+ "objectName": "@happyvertical/smrt-ads:AdEvent",
1888
+ "path": "/adevents",
1889
+ "method": "GET"
871
1890
  },
872
1891
  {
873
- "name": "destroy",
874
- "returns": "void"
1892
+ "kind": "api",
1893
+ "name": "adevents.create",
1894
+ "operation": "create",
1895
+ "objectName": "@happyvertical/smrt-ads:AdEvent",
1896
+ "path": "/adevents",
1897
+ "method": "POST"
875
1898
  },
876
1899
  {
877
- "name": "do",
878
- "async": true,
879
- "params": [
880
- "instructions: string",
881
- "options?: AiOperationOptions"
882
- ],
883
- "returns": "any"
1900
+ "kind": "mcp",
1901
+ "name": "adevent_create",
1902
+ "operation": "create",
1903
+ "objectName": "@happyvertical/smrt-ads:AdEvent"
1904
+ }
1905
+ ],
1906
+ "relationshipFeatures": [
1907
+ "crossPackageRef",
1908
+ "foreignKey",
1909
+ "uuidColumns"
1910
+ ],
1911
+ "tags": [],
1912
+ "risks": []
1913
+ },
1914
+ {
1915
+ "name": "AdFormat",
1916
+ "qualifiedName": "@happyvertical/smrt-ads:AdFormat",
1917
+ "collection": "adformats",
1918
+ "tableName": "ad_formats",
1919
+ "packageName": "@happyvertical/smrt-ads",
1920
+ "extends": "SmrtObject",
1921
+ "fields": [
1922
+ {
1923
+ "name": "name",
1924
+ "type": "text",
1925
+ "required": false,
1926
+ "columnType": "TEXT",
1927
+ "default": ""
884
1928
  },
885
1929
  {
886
- "name": "executeToolCall",
887
- "async": true,
888
- "params": [
889
- "toolCall: ToolCall"
890
- ],
891
- "returns": "Promise<ToolCallResult>"
892
- },
893
- {
894
- "name": "forget",
895
- "async": true,
896
- "params": [
897
- "options: object"
898
- ],
899
- "returns": "Promise<void>"
900
- },
901
- {
902
- "name": "forgetScope",
903
- "async": true,
904
- "params": [
905
- "options: object"
906
- ],
907
- "returns": "Promise<number>"
908
- },
909
- {
910
- "name": "generateEmbeddings",
911
- "async": true,
912
- "params": [
913
- "options?: GenerateEmbeddingsOptions"
914
- ],
915
- "returns": "Promise<void>"
916
- },
917
- {
918
- "name": "getAiUsageSnapshot",
919
- "returns": "AiUsageSnapshot | undefined"
920
- },
921
- {
922
- "name": "getAvailableTools",
923
- "returns": "AITool[]"
924
- },
925
- {
926
- "name": "getEmbedding",
927
- "async": true,
928
- "params": [
929
- "fieldName: string",
930
- "model?: string"
931
- ],
932
- "returns": "Promise<number[] | null>"
933
- },
934
- {
935
- "name": "getFields",
936
- "async": true,
937
- "returns": "Promise<any>"
938
- },
939
- {
940
- "name": "getId",
941
- "async": true,
942
- "returns": "any"
943
- },
944
- {
945
- "name": "getMetadata",
946
- "returns": "Record<string>"
947
- },
948
- {
949
- "name": "getRelated",
950
- "async": true,
951
- "params": [
952
- "fieldName: string",
953
- "opts?: LoadRelatedOptions"
954
- ],
955
- "returns": "Promise<any>"
956
- },
957
- {
958
- "name": "getSavedId",
959
- "async": true,
960
- "returns": "any"
961
- },
962
- {
963
- "name": "getSlug",
964
- "async": true,
965
- "returns": "any"
966
- },
967
- {
968
- "name": "hasStaleEmbeddings",
969
- "async": true,
970
- "returns": "Promise<boolean>"
971
- },
972
- {
973
- "name": "initialize",
974
- "async": true,
975
- "returns": "Promise"
976
- },
977
- {
978
- "name": "is",
979
- "async": true,
980
- "params": [
981
- "criteria: string",
982
- "options?: AiOperationOptions"
983
- ],
984
- "returns": "any"
985
- },
986
- {
987
- "name": "isClick",
988
- "returns": "boolean"
989
- },
990
- {
991
- "name": "isConversion",
992
- "returns": "boolean"
993
- },
994
- {
995
- "name": "isImpression",
996
- "returns": "boolean"
997
- },
998
- {
999
- "name": "isRelatedLoaded",
1000
- "params": [
1001
- "fieldName: string"
1002
- ],
1003
- "returns": "boolean"
1004
- },
1005
- {
1006
- "name": "isSaved",
1007
- "async": true,
1008
- "returns": "any"
1009
- },
1010
- {
1011
- "name": "listAiUsage",
1012
- "async": true,
1013
- "params": [
1014
- "options?: AiUsageListOptions"
1015
- ],
1016
- "returns": "Promise<SmrtAiUsageRecord[]>"
1017
- },
1018
- {
1019
- "name": "loadDataFromDb",
1020
- "async": true,
1021
- "params": [
1022
- "data: Record<string>"
1023
- ],
1024
- "returns": "any"
1025
- },
1026
- {
1027
- "name": "loadFromId",
1028
- "async": true,
1029
- "returns": "any"
1030
- },
1031
- {
1032
- "name": "loadFromSlug",
1033
- "async": true,
1034
- "returns": "any"
1035
- },
1036
- {
1037
- "name": "loadRelated",
1038
- "async": true,
1039
- "params": [
1040
- "fieldName: string",
1041
- "opts?: LoadRelatedOptions"
1042
- ],
1043
- "returns": "Promise<any>"
1044
- },
1045
- {
1046
- "name": "loadRelatedMany",
1047
- "async": true,
1048
- "params": [
1049
- "fieldName: string",
1050
- "opts?: LoadRelatedOptions"
1051
- ],
1052
- "returns": "Promise<any[]>"
1053
- },
1054
- {
1055
- "name": "markAsPersisted",
1056
- "returns": "void"
1057
- },
1058
- {
1059
- "name": "recall",
1060
- "async": true,
1061
- "params": [
1062
- "options: object"
1063
- ],
1064
- "returns": "Promise"
1065
- },
1066
- {
1067
- "name": "recallAll",
1068
- "async": true,
1069
- "params": [
1070
- "options?: object"
1071
- ],
1072
- "returns": "Promise<Map<string>>"
1073
- },
1074
- {
1075
- "name": "remember",
1076
- "async": true,
1077
- "params": [
1078
- "options: object"
1079
- ],
1080
- "returns": "Promise<void>"
1081
- },
1082
- {
1083
- "name": "requireInsertOnSave",
1084
- "returns": "void"
1085
- },
1086
- {
1087
- "name": "resetAiUsage",
1088
- "returns": "void"
1089
- },
1090
- {
1091
- "name": "save",
1092
- "async": true,
1093
- "params": [
1094
- "options?: SmrtSaveOptions"
1095
- ],
1096
- "returns": "any"
1097
- },
1098
- {
1099
- "name": "setMetadata",
1100
- "params": [
1101
- "data: Record<string>"
1102
- ],
1103
- "returns": "void"
1104
- },
1105
- {
1106
- "name": "summarizeAiUsage",
1107
- "async": true,
1108
- "params": [
1109
- "options?: AiUsageSummaryOptions"
1110
- ],
1111
- "returns": "Promise<Record<string, AiUsageStats>>"
1112
- },
1113
- {
1114
- "name": "toJSON",
1115
- "returns": "any"
1116
- },
1117
- {
1118
- "name": "toPlainObject",
1119
- "returns": "Record<string>"
1120
- },
1121
- {
1122
- "name": "toPublicJSON",
1123
- "params": [
1124
- "options?: PublicJsonOptions"
1125
- ],
1126
- "returns": "Record<string>"
1127
- },
1128
- {
1129
- "name": "withDatabase",
1130
- "async": true,
1131
- "params": [
1132
- "db: DatabaseInterface",
1133
- "operation: Function"
1134
- ],
1135
- "returns": "Promise<T>"
1136
- },
1137
- {
1138
- "name": "withTransaction",
1139
- "async": true,
1140
- "params": [
1141
- "operation: Function"
1142
- ],
1143
- "returns": "Promise<T>"
1144
- }
1145
- ],
1146
- "tenant": {
1147
- "scoped": true,
1148
- "mode": "optional",
1149
- "field": "tenantId"
1150
- },
1151
- "tableStrategy": "sti",
1152
- "conflictColumns": [
1153
- "tenant_id",
1154
- "slug",
1155
- "context",
1156
- "_meta_type"
1157
- ],
1158
- "surfaces": [
1159
- {
1160
- "kind": "api",
1161
- "name": "adevents.create",
1162
- "operation": "create",
1163
- "objectName": "@happyvertical/smrt-ads:AdEvent",
1164
- "path": "/adevents",
1165
- "method": "POST"
1166
- },
1167
- {
1168
- "kind": "api",
1169
- "name": "adevents.list",
1170
- "operation": "list",
1171
- "objectName": "@happyvertical/smrt-ads:AdEvent",
1172
- "path": "/adevents",
1173
- "method": "GET"
1174
- },
1175
- {
1176
- "kind": "mcp",
1177
- "name": "adevent_create",
1178
- "operation": "create",
1179
- "objectName": "@happyvertical/smrt-ads:AdEvent"
1180
- }
1181
- ],
1182
- "relationshipFeatures": [
1183
- "crossPackageRef",
1184
- "foreignKey",
1185
- "uuidColumns"
1186
- ],
1187
- "tags": [],
1188
- "risks": []
1189
- },
1190
- {
1191
- "name": "AdFormat",
1192
- "qualifiedName": "@happyvertical/smrt-ads:AdFormat",
1193
- "collection": "adformats",
1194
- "tableName": "ad_formats",
1195
- "packageName": "@happyvertical/smrt-ads",
1196
- "extends": "SmrtObject",
1197
- "fields": [
1198
- {
1199
- "name": "name",
1200
- "type": "text",
1201
- "required": false,
1202
- "columnType": "TEXT",
1203
- "default": ""
1204
- },
1205
- {
1206
- "name": "width",
1207
- "type": "integer",
1208
- "required": false,
1209
- "columnType": "INTEGER",
1210
- "default": 0
1930
+ "name": "width",
1931
+ "type": "integer",
1932
+ "required": false,
1933
+ "columnType": "INTEGER",
1934
+ "default": 0
1211
1935
  },
1212
1936
  {
1213
1937
  "name": "height",
@@ -1312,6 +2036,18 @@
1312
2036
  "operation": "delete",
1313
2037
  "objectName": "@happyvertical/smrt-ads:AdFormat"
1314
2038
  },
2039
+ {
2040
+ "kind": "cli",
2041
+ "name": "adformat_getDimensions",
2042
+ "operation": "getDimensions",
2043
+ "objectName": "@happyvertical/smrt-ads:AdFormat"
2044
+ },
2045
+ {
2046
+ "kind": "cli",
2047
+ "name": "adformat_matchesDimensions",
2048
+ "operation": "matchesDimensions",
2049
+ "objectName": "@happyvertical/smrt-ads:AdFormat"
2050
+ },
1315
2051
  {
1316
2052
  "kind": "mcp",
1317
2053
  "name": "adformat_list",
@@ -1449,73 +2185,21 @@
1449
2185
  }
1450
2186
  ],
1451
2187
  "methods": [
1452
- "_setLoadedRelationship",
1453
2188
  "addZoneId",
1454
- "claimRevision",
1455
- "classifyConstraintError",
1456
- "clearEmbeddings",
1457
- "delete",
1458
- "describe",
1459
- "destroy",
1460
- "do",
1461
- "executeToolCall",
1462
- "forget",
1463
- "forgetScope",
1464
- "generateEmbeddings",
1465
- "getAiUsageSnapshot",
1466
- "getAvailableTools",
1467
- "getEmbedding",
1468
- "getFields",
1469
- "getId",
1470
- "getRelated",
1471
- "getSavedId",
1472
- "getSlug",
1473
2189
  "getTargeting",
1474
2190
  "getZoneIds",
1475
2191
  "hasEnded",
1476
- "hasStaleEmbeddings",
1477
2192
  "hasStarted",
1478
2193
  "hasZoneId",
1479
- "initialize",
1480
- "is",
1481
2194
  "isActive",
1482
2195
  "isCompleted",
1483
2196
  "isDraft",
1484
2197
  "isPaused",
1485
- "isRelatedLoaded",
1486
- "isSaved",
1487
- "listAiUsage",
1488
- "loadDataFromDb",
1489
- "loadFromId",
1490
- "loadFromSlug",
1491
- "loadRelated",
1492
- "loadRelatedMany",
1493
- "markAsPersisted",
1494
- "recall",
1495
- "recallAll",
1496
- "remember",
1497
2198
  "removeZoneId",
1498
- "requireInsertOnSave",
1499
- "resetAiUsage",
1500
- "save",
1501
2199
  "setTargeting",
1502
- "setZoneIds",
1503
- "summarizeAiUsage",
1504
- "toJSON",
1505
- "toPlainObject",
1506
- "toPublicJSON",
1507
- "withDatabase",
1508
- "withTransaction"
2200
+ "setZoneIds"
1509
2201
  ],
1510
2202
  "methodSignatures": [
1511
- {
1512
- "name": "_setLoadedRelationship",
1513
- "params": [
1514
- "fieldName: string",
1515
- "value: any"
1516
- ],
1517
- "returns": "void"
1518
- },
1519
2203
  {
1520
2204
  "name": "addZoneId",
1521
2205
  "params": [
@@ -1524,149 +2208,16 @@
1524
2208
  "returns": "void"
1525
2209
  },
1526
2210
  {
1527
- "name": "claimRevision",
1528
- "async": true,
1529
- "params": [
1530
- "expectedUpdatedAt: Date | string"
1531
- ],
1532
- "returns": "Promise"
2211
+ "name": "getTargeting",
2212
+ "returns": "Record<string>"
1533
2213
  },
1534
2214
  {
1535
- "name": "classifyConstraintError",
1536
- "static": true,
1537
- "params": [
1538
- "message: string"
1539
- ],
1540
- "returns": "'unique' | 'not_null' | null"
2215
+ "name": "getZoneIds",
2216
+ "returns": "string[]"
1541
2217
  },
1542
2218
  {
1543
- "name": "clearEmbeddings",
1544
- "async": true,
1545
- "returns": "Promise<void>"
1546
- },
1547
- {
1548
- "name": "delete",
1549
- "async": true,
1550
- "params": [
1551
- "options?: SmrtDeleteOptions"
1552
- ],
1553
- "returns": "Promise<void>"
1554
- },
1555
- {
1556
- "name": "describe",
1557
- "async": true,
1558
- "params": [
1559
- "options?: AiOperationOptions"
1560
- ],
1561
- "returns": "any"
1562
- },
1563
- {
1564
- "name": "destroy",
1565
- "returns": "void"
1566
- },
1567
- {
1568
- "name": "do",
1569
- "async": true,
1570
- "params": [
1571
- "instructions: string",
1572
- "options?: AiOperationOptions"
1573
- ],
1574
- "returns": "any"
1575
- },
1576
- {
1577
- "name": "executeToolCall",
1578
- "async": true,
1579
- "params": [
1580
- "toolCall: ToolCall"
1581
- ],
1582
- "returns": "Promise<ToolCallResult>"
1583
- },
1584
- {
1585
- "name": "forget",
1586
- "async": true,
1587
- "params": [
1588
- "options: object"
1589
- ],
1590
- "returns": "Promise<void>"
1591
- },
1592
- {
1593
- "name": "forgetScope",
1594
- "async": true,
1595
- "params": [
1596
- "options: object"
1597
- ],
1598
- "returns": "Promise<number>"
1599
- },
1600
- {
1601
- "name": "generateEmbeddings",
1602
- "async": true,
1603
- "params": [
1604
- "options?: GenerateEmbeddingsOptions"
1605
- ],
1606
- "returns": "Promise<void>"
1607
- },
1608
- {
1609
- "name": "getAiUsageSnapshot",
1610
- "returns": "AiUsageSnapshot | undefined"
1611
- },
1612
- {
1613
- "name": "getAvailableTools",
1614
- "returns": "AITool[]"
1615
- },
1616
- {
1617
- "name": "getEmbedding",
1618
- "async": true,
1619
- "params": [
1620
- "fieldName: string",
1621
- "model?: string"
1622
- ],
1623
- "returns": "Promise<number[] | null>"
1624
- },
1625
- {
1626
- "name": "getFields",
1627
- "async": true,
1628
- "returns": "Promise<any>"
1629
- },
1630
- {
1631
- "name": "getId",
1632
- "async": true,
1633
- "returns": "any"
1634
- },
1635
- {
1636
- "name": "getRelated",
1637
- "async": true,
1638
- "params": [
1639
- "fieldName: string",
1640
- "opts?: LoadRelatedOptions"
1641
- ],
1642
- "returns": "Promise<any>"
1643
- },
1644
- {
1645
- "name": "getSavedId",
1646
- "async": true,
1647
- "returns": "any"
1648
- },
1649
- {
1650
- "name": "getSlug",
1651
- "async": true,
1652
- "returns": "any"
1653
- },
1654
- {
1655
- "name": "getTargeting",
1656
- "returns": "Record<string>"
1657
- },
1658
- {
1659
- "name": "getZoneIds",
1660
- "returns": "string[]"
1661
- },
1662
- {
1663
- "name": "hasEnded",
1664
- "returns": "boolean"
1665
- },
1666
- {
1667
- "name": "hasStaleEmbeddings",
1668
- "async": true,
1669
- "returns": "Promise<boolean>"
2219
+ "name": "hasEnded",
2220
+ "returns": "boolean"
1670
2221
  },
1671
2222
  {
1672
2223
  "name": "hasStarted",
@@ -1679,20 +2230,6 @@
1679
2230
  ],
1680
2231
  "returns": "boolean"
1681
2232
  },
1682
- {
1683
- "name": "initialize",
1684
- "async": true,
1685
- "returns": "Promise"
1686
- },
1687
- {
1688
- "name": "is",
1689
- "async": true,
1690
- "params": [
1691
- "criteria: string",
1692
- "options?: AiOperationOptions"
1693
- ],
1694
- "returns": "any"
1695
- },
1696
2233
  {
1697
2234
  "name": "isActive",
1698
2235
  "returns": "boolean"
@@ -1709,90 +2246,6 @@
1709
2246
  "name": "isPaused",
1710
2247
  "returns": "boolean"
1711
2248
  },
1712
- {
1713
- "name": "isRelatedLoaded",
1714
- "params": [
1715
- "fieldName: string"
1716
- ],
1717
- "returns": "boolean"
1718
- },
1719
- {
1720
- "name": "isSaved",
1721
- "async": true,
1722
- "returns": "any"
1723
- },
1724
- {
1725
- "name": "listAiUsage",
1726
- "async": true,
1727
- "params": [
1728
- "options?: AiUsageListOptions"
1729
- ],
1730
- "returns": "Promise<SmrtAiUsageRecord[]>"
1731
- },
1732
- {
1733
- "name": "loadDataFromDb",
1734
- "async": true,
1735
- "params": [
1736
- "data: Record<string>"
1737
- ],
1738
- "returns": "any"
1739
- },
1740
- {
1741
- "name": "loadFromId",
1742
- "async": true,
1743
- "returns": "any"
1744
- },
1745
- {
1746
- "name": "loadFromSlug",
1747
- "async": true,
1748
- "returns": "any"
1749
- },
1750
- {
1751
- "name": "loadRelated",
1752
- "async": true,
1753
- "params": [
1754
- "fieldName: string",
1755
- "opts?: LoadRelatedOptions"
1756
- ],
1757
- "returns": "Promise<any>"
1758
- },
1759
- {
1760
- "name": "loadRelatedMany",
1761
- "async": true,
1762
- "params": [
1763
- "fieldName: string",
1764
- "opts?: LoadRelatedOptions"
1765
- ],
1766
- "returns": "Promise<any[]>"
1767
- },
1768
- {
1769
- "name": "markAsPersisted",
1770
- "returns": "void"
1771
- },
1772
- {
1773
- "name": "recall",
1774
- "async": true,
1775
- "params": [
1776
- "options: object"
1777
- ],
1778
- "returns": "Promise"
1779
- },
1780
- {
1781
- "name": "recallAll",
1782
- "async": true,
1783
- "params": [
1784
- "options?: object"
1785
- ],
1786
- "returns": "Promise<Map<string>>"
1787
- },
1788
- {
1789
- "name": "remember",
1790
- "async": true,
1791
- "params": [
1792
- "options: object"
1793
- ],
1794
- "returns": "Promise<void>"
1795
- },
1796
2249
  {
1797
2250
  "name": "removeZoneId",
1798
2251
  "params": [
@@ -1800,22 +2253,6 @@
1800
2253
  ],
1801
2254
  "returns": "void"
1802
2255
  },
1803
- {
1804
- "name": "requireInsertOnSave",
1805
- "returns": "void"
1806
- },
1807
- {
1808
- "name": "resetAiUsage",
1809
- "returns": "void"
1810
- },
1811
- {
1812
- "name": "save",
1813
- "async": true,
1814
- "params": [
1815
- "options?: SmrtSaveOptions"
1816
- ],
1817
- "returns": "any"
1818
- },
1819
2256
  {
1820
2257
  "name": "setTargeting",
1821
2258
  "params": [
@@ -1829,46 +2266,6 @@
1829
2266
  "ids: string[]"
1830
2267
  ],
1831
2268
  "returns": "void"
1832
- },
1833
- {
1834
- "name": "summarizeAiUsage",
1835
- "async": true,
1836
- "params": [
1837
- "options?: AiUsageSummaryOptions"
1838
- ],
1839
- "returns": "Promise<Record<string, AiUsageStats>>"
1840
- },
1841
- {
1842
- "name": "toJSON",
1843
- "returns": "any"
1844
- },
1845
- {
1846
- "name": "toPlainObject",
1847
- "returns": "Record<string>"
1848
- },
1849
- {
1850
- "name": "toPublicJSON",
1851
- "params": [
1852
- "options?: PublicJsonOptions"
1853
- ],
1854
- "returns": "Record<string>"
1855
- },
1856
- {
1857
- "name": "withDatabase",
1858
- "async": true,
1859
- "params": [
1860
- "db: DatabaseInterface",
1861
- "operation: Function"
1862
- ],
1863
- "returns": "Promise<T>"
1864
- },
1865
- {
1866
- "name": "withTransaction",
1867
- "async": true,
1868
- "params": [
1869
- "operation: Function"
1870
- ],
1871
- "returns": "Promise<T>"
1872
2269
  }
1873
2270
  ],
1874
2271
  "tenant": {
@@ -1946,6 +2343,84 @@
1946
2343
  "operation": "delete",
1947
2344
  "objectName": "@happyvertical/smrt-ads:AdGroup"
1948
2345
  },
2346
+ {
2347
+ "kind": "cli",
2348
+ "name": "adgroup_getZoneIds",
2349
+ "operation": "getZoneIds",
2350
+ "objectName": "@happyvertical/smrt-ads:AdGroup"
2351
+ },
2352
+ {
2353
+ "kind": "cli",
2354
+ "name": "adgroup_setZoneIds",
2355
+ "operation": "setZoneIds",
2356
+ "objectName": "@happyvertical/smrt-ads:AdGroup"
2357
+ },
2358
+ {
2359
+ "kind": "cli",
2360
+ "name": "adgroup_addZoneId",
2361
+ "operation": "addZoneId",
2362
+ "objectName": "@happyvertical/smrt-ads:AdGroup"
2363
+ },
2364
+ {
2365
+ "kind": "cli",
2366
+ "name": "adgroup_removeZoneId",
2367
+ "operation": "removeZoneId",
2368
+ "objectName": "@happyvertical/smrt-ads:AdGroup"
2369
+ },
2370
+ {
2371
+ "kind": "cli",
2372
+ "name": "adgroup_hasZoneId",
2373
+ "operation": "hasZoneId",
2374
+ "objectName": "@happyvertical/smrt-ads:AdGroup"
2375
+ },
2376
+ {
2377
+ "kind": "cli",
2378
+ "name": "adgroup_getTargeting",
2379
+ "operation": "getTargeting",
2380
+ "objectName": "@happyvertical/smrt-ads:AdGroup"
2381
+ },
2382
+ {
2383
+ "kind": "cli",
2384
+ "name": "adgroup_setTargeting",
2385
+ "operation": "setTargeting",
2386
+ "objectName": "@happyvertical/smrt-ads:AdGroup"
2387
+ },
2388
+ {
2389
+ "kind": "cli",
2390
+ "name": "adgroup_isActive",
2391
+ "operation": "isActive",
2392
+ "objectName": "@happyvertical/smrt-ads:AdGroup"
2393
+ },
2394
+ {
2395
+ "kind": "cli",
2396
+ "name": "adgroup_isDraft",
2397
+ "operation": "isDraft",
2398
+ "objectName": "@happyvertical/smrt-ads:AdGroup"
2399
+ },
2400
+ {
2401
+ "kind": "cli",
2402
+ "name": "adgroup_isPaused",
2403
+ "operation": "isPaused",
2404
+ "objectName": "@happyvertical/smrt-ads:AdGroup"
2405
+ },
2406
+ {
2407
+ "kind": "cli",
2408
+ "name": "adgroup_isCompleted",
2409
+ "operation": "isCompleted",
2410
+ "objectName": "@happyvertical/smrt-ads:AdGroup"
2411
+ },
2412
+ {
2413
+ "kind": "cli",
2414
+ "name": "adgroup_hasEnded",
2415
+ "operation": "hasEnded",
2416
+ "objectName": "@happyvertical/smrt-ads:AdGroup"
2417
+ },
2418
+ {
2419
+ "kind": "cli",
2420
+ "name": "adgroup_hasStarted",
2421
+ "operation": "hasStarted",
2422
+ "objectName": "@happyvertical/smrt-ads:AdGroup"
2423
+ },
1949
2424
  {
1950
2425
  "kind": "mcp",
1951
2426
  "name": "adgroup_list",
@@ -2093,376 +2568,37 @@
2093
2568
  }
2094
2569
  ],
2095
2570
  "methods": [
2096
- "_setLoadedRelationship",
2097
- "claimRevision",
2098
- "classifyConstraintError",
2099
- "clearEmbeddings",
2100
- "delete",
2101
- "describe",
2102
- "destroy",
2103
- "do",
2104
- "executeToolCall",
2105
- "forget",
2106
- "forgetScope",
2107
- "generateEmbeddings",
2108
- "getAiUsageSnapshot",
2109
- "getAvailableTools",
2110
2571
  "getCTR",
2111
- "getEmbedding",
2112
- "getFields",
2113
- "getId",
2114
- "getRelated",
2115
- "getSavedId",
2116
- "getSlug",
2117
- "hasStaleEmbeddings",
2118
- "initialize",
2119
- "is",
2120
2572
  "isActive",
2121
2573
  "isDraft",
2122
2574
  "isPaused",
2123
- "isRelatedLoaded",
2124
- "isSaved",
2125
- "listAiUsage",
2126
- "loadDataFromDb",
2127
- "loadFromId",
2128
- "loadFromSlug",
2129
- "loadRelated",
2130
- "loadRelatedMany",
2131
- "markAsPersisted",
2132
- "recall",
2133
- "recallAll",
2134
2575
  "recordClick",
2135
- "recordImpression",
2136
- "remember",
2137
- "requireInsertOnSave",
2138
- "resetAiUsage",
2139
- "save",
2140
- "summarizeAiUsage",
2141
- "toJSON",
2142
- "toPlainObject",
2143
- "toPublicJSON",
2144
- "withDatabase",
2145
- "withTransaction"
2576
+ "recordImpression"
2146
2577
  ],
2147
2578
  "methodSignatures": [
2148
2579
  {
2149
- "name": "_setLoadedRelationship",
2150
- "params": [
2151
- "fieldName: string",
2152
- "value: any"
2153
- ],
2154
- "returns": "void"
2155
- },
2156
- {
2157
- "name": "claimRevision",
2158
- "async": true,
2159
- "params": [
2160
- "expectedUpdatedAt: Date | string"
2161
- ],
2162
- "returns": "Promise"
2163
- },
2164
- {
2165
- "name": "classifyConstraintError",
2166
- "static": true,
2167
- "params": [
2168
- "message: string"
2169
- ],
2170
- "returns": "'unique' | 'not_null' | null"
2580
+ "name": "getCTR",
2581
+ "returns": "number"
2171
2582
  },
2172
2583
  {
2173
- "name": "clearEmbeddings",
2174
- "async": true,
2175
- "returns": "Promise<void>"
2584
+ "name": "isActive",
2585
+ "returns": "boolean"
2176
2586
  },
2177
2587
  {
2178
- "name": "delete",
2179
- "async": true,
2180
- "params": [
2181
- "options?: SmrtDeleteOptions"
2182
- ],
2183
- "returns": "Promise<void>"
2588
+ "name": "isDraft",
2589
+ "returns": "boolean"
2184
2590
  },
2185
2591
  {
2186
- "name": "describe",
2187
- "async": true,
2188
- "params": [
2189
- "options?: AiOperationOptions"
2190
- ],
2191
- "returns": "any"
2592
+ "name": "isPaused",
2593
+ "returns": "boolean"
2192
2594
  },
2193
2595
  {
2194
- "name": "destroy",
2195
- "returns": "void"
2196
- },
2197
- {
2198
- "name": "do",
2199
- "async": true,
2200
- "params": [
2201
- "instructions: string",
2202
- "options?: AiOperationOptions"
2203
- ],
2204
- "returns": "any"
2205
- },
2206
- {
2207
- "name": "executeToolCall",
2208
- "async": true,
2209
- "params": [
2210
- "toolCall: ToolCall"
2211
- ],
2212
- "returns": "Promise<ToolCallResult>"
2213
- },
2214
- {
2215
- "name": "forget",
2216
- "async": true,
2217
- "params": [
2218
- "options: object"
2219
- ],
2220
- "returns": "Promise<void>"
2221
- },
2222
- {
2223
- "name": "forgetScope",
2224
- "async": true,
2225
- "params": [
2226
- "options: object"
2227
- ],
2228
- "returns": "Promise<number>"
2229
- },
2230
- {
2231
- "name": "generateEmbeddings",
2232
- "async": true,
2233
- "params": [
2234
- "options?: GenerateEmbeddingsOptions"
2235
- ],
2236
- "returns": "Promise<void>"
2237
- },
2238
- {
2239
- "name": "getAiUsageSnapshot",
2240
- "returns": "AiUsageSnapshot | undefined"
2241
- },
2242
- {
2243
- "name": "getAvailableTools",
2244
- "returns": "AITool[]"
2245
- },
2246
- {
2247
- "name": "getCTR",
2248
- "returns": "number"
2249
- },
2250
- {
2251
- "name": "getEmbedding",
2252
- "async": true,
2253
- "params": [
2254
- "fieldName: string",
2255
- "model?: string"
2256
- ],
2257
- "returns": "Promise<number[] | null>"
2258
- },
2259
- {
2260
- "name": "getFields",
2261
- "async": true,
2262
- "returns": "Promise<any>"
2263
- },
2264
- {
2265
- "name": "getId",
2266
- "async": true,
2267
- "returns": "any"
2268
- },
2269
- {
2270
- "name": "getRelated",
2271
- "async": true,
2272
- "params": [
2273
- "fieldName: string",
2274
- "opts?: LoadRelatedOptions"
2275
- ],
2276
- "returns": "Promise<any>"
2277
- },
2278
- {
2279
- "name": "getSavedId",
2280
- "async": true,
2281
- "returns": "any"
2282
- },
2283
- {
2284
- "name": "getSlug",
2285
- "async": true,
2286
- "returns": "any"
2287
- },
2288
- {
2289
- "name": "hasStaleEmbeddings",
2290
- "async": true,
2291
- "returns": "Promise<boolean>"
2292
- },
2293
- {
2294
- "name": "initialize",
2295
- "async": true,
2296
- "returns": "Promise"
2297
- },
2298
- {
2299
- "name": "is",
2300
- "async": true,
2301
- "params": [
2302
- "criteria: string",
2303
- "options?: AiOperationOptions"
2304
- ],
2305
- "returns": "any"
2306
- },
2307
- {
2308
- "name": "isActive",
2309
- "returns": "boolean"
2310
- },
2311
- {
2312
- "name": "isDraft",
2313
- "returns": "boolean"
2314
- },
2315
- {
2316
- "name": "isPaused",
2317
- "returns": "boolean"
2318
- },
2319
- {
2320
- "name": "isRelatedLoaded",
2321
- "params": [
2322
- "fieldName: string"
2323
- ],
2324
- "returns": "boolean"
2325
- },
2326
- {
2327
- "name": "isSaved",
2328
- "async": true,
2329
- "returns": "any"
2330
- },
2331
- {
2332
- "name": "listAiUsage",
2333
- "async": true,
2334
- "params": [
2335
- "options?: AiUsageListOptions"
2336
- ],
2337
- "returns": "Promise<SmrtAiUsageRecord[]>"
2338
- },
2339
- {
2340
- "name": "loadDataFromDb",
2341
- "async": true,
2342
- "params": [
2343
- "data: Record<string>"
2344
- ],
2345
- "returns": "any"
2346
- },
2347
- {
2348
- "name": "loadFromId",
2349
- "async": true,
2350
- "returns": "any"
2351
- },
2352
- {
2353
- "name": "loadFromSlug",
2354
- "async": true,
2355
- "returns": "any"
2356
- },
2357
- {
2358
- "name": "loadRelated",
2359
- "async": true,
2360
- "params": [
2361
- "fieldName: string",
2362
- "opts?: LoadRelatedOptions"
2363
- ],
2364
- "returns": "Promise<any>"
2365
- },
2366
- {
2367
- "name": "loadRelatedMany",
2368
- "async": true,
2369
- "params": [
2370
- "fieldName: string",
2371
- "opts?: LoadRelatedOptions"
2372
- ],
2373
- "returns": "Promise<any[]>"
2374
- },
2375
- {
2376
- "name": "markAsPersisted",
2377
- "returns": "void"
2378
- },
2379
- {
2380
- "name": "recall",
2381
- "async": true,
2382
- "params": [
2383
- "options: object"
2384
- ],
2385
- "returns": "Promise"
2386
- },
2387
- {
2388
- "name": "recallAll",
2389
- "async": true,
2390
- "params": [
2391
- "options?: object"
2392
- ],
2393
- "returns": "Promise<Map<string>>"
2394
- },
2395
- {
2396
- "name": "recordClick",
2596
+ "name": "recordClick",
2397
2597
  "returns": "void"
2398
2598
  },
2399
2599
  {
2400
2600
  "name": "recordImpression",
2401
2601
  "returns": "void"
2402
- },
2403
- {
2404
- "name": "remember",
2405
- "async": true,
2406
- "params": [
2407
- "options: object"
2408
- ],
2409
- "returns": "Promise<void>"
2410
- },
2411
- {
2412
- "name": "requireInsertOnSave",
2413
- "returns": "void"
2414
- },
2415
- {
2416
- "name": "resetAiUsage",
2417
- "returns": "void"
2418
- },
2419
- {
2420
- "name": "save",
2421
- "async": true,
2422
- "params": [
2423
- "options?: SmrtSaveOptions"
2424
- ],
2425
- "returns": "any"
2426
- },
2427
- {
2428
- "name": "summarizeAiUsage",
2429
- "async": true,
2430
- "params": [
2431
- "options?: AiUsageSummaryOptions"
2432
- ],
2433
- "returns": "Promise<Record<string, AiUsageStats>>"
2434
- },
2435
- {
2436
- "name": "toJSON",
2437
- "returns": "any"
2438
- },
2439
- {
2440
- "name": "toPlainObject",
2441
- "returns": "Record<string>"
2442
- },
2443
- {
2444
- "name": "toPublicJSON",
2445
- "params": [
2446
- "options?: PublicJsonOptions"
2447
- ],
2448
- "returns": "Record<string>"
2449
- },
2450
- {
2451
- "name": "withDatabase",
2452
- "async": true,
2453
- "params": [
2454
- "db: DatabaseInterface",
2455
- "operation: Function"
2456
- ],
2457
- "returns": "Promise<T>"
2458
- },
2459
- {
2460
- "name": "withTransaction",
2461
- "async": true,
2462
- "params": [
2463
- "operation: Function"
2464
- ],
2465
- "returns": "Promise<T>"
2466
2602
  }
2467
2603
  ],
2468
2604
  "tenant": {
@@ -2540,6 +2676,42 @@
2540
2676
  "operation": "delete",
2541
2677
  "objectName": "@happyvertical/smrt-ads:AdVariation"
2542
2678
  },
2679
+ {
2680
+ "kind": "cli",
2681
+ "name": "advariation_isActive",
2682
+ "operation": "isActive",
2683
+ "objectName": "@happyvertical/smrt-ads:AdVariation"
2684
+ },
2685
+ {
2686
+ "kind": "cli",
2687
+ "name": "advariation_isDraft",
2688
+ "operation": "isDraft",
2689
+ "objectName": "@happyvertical/smrt-ads:AdVariation"
2690
+ },
2691
+ {
2692
+ "kind": "cli",
2693
+ "name": "advariation_isPaused",
2694
+ "operation": "isPaused",
2695
+ "objectName": "@happyvertical/smrt-ads:AdVariation"
2696
+ },
2697
+ {
2698
+ "kind": "cli",
2699
+ "name": "advariation_getCTR",
2700
+ "operation": "getCTR",
2701
+ "objectName": "@happyvertical/smrt-ads:AdVariation"
2702
+ },
2703
+ {
2704
+ "kind": "cli",
2705
+ "name": "advariation_recordImpression",
2706
+ "operation": "recordImpression",
2707
+ "objectName": "@happyvertical/smrt-ads:AdVariation"
2708
+ },
2709
+ {
2710
+ "kind": "cli",
2711
+ "name": "advariation_recordClick",
2712
+ "operation": "recordClick",
2713
+ "objectName": "@happyvertical/smrt-ads:AdVariation"
2714
+ },
2543
2715
  {
2544
2716
  "kind": "mcp",
2545
2717
  "name": "advariation_list",
@@ -2569,6 +2741,1046 @@
2569
2741
  }
2570
2742
  ],
2571
2743
  "surfaces": [
2744
+ {
2745
+ "kind": "api",
2746
+ "name": "addeliverytiers.findByPriority",
2747
+ "operation": "findByPriority",
2748
+ "objectName": "@happyvertical/smrt-ads:AdDeliveryTierCollection",
2749
+ "path": "/addeliverytiers/findByPriority",
2750
+ "method": "POST"
2751
+ },
2752
+ {
2753
+ "kind": "api",
2754
+ "name": "addeliverytiers.findByPricingModel",
2755
+ "operation": "findByPricingModel",
2756
+ "objectName": "@happyvertical/smrt-ads:AdDeliveryTierCollection",
2757
+ "path": "/addeliverytiers/findByPricingModel",
2758
+ "method": "POST"
2759
+ },
2760
+ {
2761
+ "kind": "api",
2762
+ "name": "addeliverytiers.getHighestPriority",
2763
+ "operation": "getHighestPriority",
2764
+ "objectName": "@happyvertical/smrt-ads:AdDeliveryTierCollection",
2765
+ "path": "/addeliverytiers/getHighestPriority",
2766
+ "method": "POST"
2767
+ },
2768
+ {
2769
+ "kind": "api",
2770
+ "name": "addeliverytiers.findFixedPricing",
2771
+ "operation": "findFixedPricing",
2772
+ "objectName": "@happyvertical/smrt-ads:AdDeliveryTierCollection",
2773
+ "path": "/addeliverytiers/findFixedPricing",
2774
+ "method": "POST"
2775
+ },
2776
+ {
2777
+ "kind": "api",
2778
+ "name": "addeliverytiers.findCPM",
2779
+ "operation": "findCPM",
2780
+ "objectName": "@happyvertical/smrt-ads:AdDeliveryTierCollection",
2781
+ "path": "/addeliverytiers/findCPM",
2782
+ "method": "POST"
2783
+ },
2784
+ {
2785
+ "kind": "api",
2786
+ "name": "addeliverytiers.findPerformanceBased",
2787
+ "operation": "findPerformanceBased",
2788
+ "objectName": "@happyvertical/smrt-ads:AdDeliveryTierCollection",
2789
+ "path": "/addeliverytiers/findPerformanceBased",
2790
+ "method": "POST"
2791
+ },
2792
+ {
2793
+ "kind": "cli",
2794
+ "name": "addeliverytiercollection_findByPriority",
2795
+ "operation": "findByPriority",
2796
+ "objectName": "@happyvertical/smrt-ads:AdDeliveryTierCollection"
2797
+ },
2798
+ {
2799
+ "kind": "cli",
2800
+ "name": "addeliverytiercollection_findByPricingModel",
2801
+ "operation": "findByPricingModel",
2802
+ "objectName": "@happyvertical/smrt-ads:AdDeliveryTierCollection"
2803
+ },
2804
+ {
2805
+ "kind": "cli",
2806
+ "name": "addeliverytiercollection_getHighestPriority",
2807
+ "operation": "getHighestPriority",
2808
+ "objectName": "@happyvertical/smrt-ads:AdDeliveryTierCollection"
2809
+ },
2810
+ {
2811
+ "kind": "cli",
2812
+ "name": "addeliverytiercollection_findFixedPricing",
2813
+ "operation": "findFixedPricing",
2814
+ "objectName": "@happyvertical/smrt-ads:AdDeliveryTierCollection"
2815
+ },
2816
+ {
2817
+ "kind": "cli",
2818
+ "name": "addeliverytiercollection_findCPM",
2819
+ "operation": "findCPM",
2820
+ "objectName": "@happyvertical/smrt-ads:AdDeliveryTierCollection"
2821
+ },
2822
+ {
2823
+ "kind": "cli",
2824
+ "name": "addeliverytiercollection_findPerformanceBased",
2825
+ "operation": "findPerformanceBased",
2826
+ "objectName": "@happyvertical/smrt-ads:AdDeliveryTierCollection"
2827
+ },
2828
+ {
2829
+ "kind": "mcp",
2830
+ "name": "addeliverytiercollection_findbypriority",
2831
+ "operation": "findByPriority",
2832
+ "objectName": "@happyvertical/smrt-ads:AdDeliveryTierCollection"
2833
+ },
2834
+ {
2835
+ "kind": "mcp",
2836
+ "name": "addeliverytiercollection_findbypricingmodel",
2837
+ "operation": "findByPricingModel",
2838
+ "objectName": "@happyvertical/smrt-ads:AdDeliveryTierCollection"
2839
+ },
2840
+ {
2841
+ "kind": "mcp",
2842
+ "name": "addeliverytiercollection_gethighestpriority",
2843
+ "operation": "getHighestPriority",
2844
+ "objectName": "@happyvertical/smrt-ads:AdDeliveryTierCollection"
2845
+ },
2846
+ {
2847
+ "kind": "mcp",
2848
+ "name": "addeliverytiercollection_findfixedpricing",
2849
+ "operation": "findFixedPricing",
2850
+ "objectName": "@happyvertical/smrt-ads:AdDeliveryTierCollection"
2851
+ },
2852
+ {
2853
+ "kind": "mcp",
2854
+ "name": "addeliverytiercollection_findcpm",
2855
+ "operation": "findCPM",
2856
+ "objectName": "@happyvertical/smrt-ads:AdDeliveryTierCollection"
2857
+ },
2858
+ {
2859
+ "kind": "mcp",
2860
+ "name": "addeliverytiercollection_findperformancebased",
2861
+ "operation": "findPerformanceBased",
2862
+ "objectName": "@happyvertical/smrt-ads:AdDeliveryTierCollection"
2863
+ },
2864
+ {
2865
+ "kind": "api",
2866
+ "name": "adevents.findByVariation",
2867
+ "operation": "findByVariation",
2868
+ "objectName": "@happyvertical/smrt-ads:AdEventCollection",
2869
+ "path": "/adevents/findByVariation",
2870
+ "method": "POST"
2871
+ },
2872
+ {
2873
+ "kind": "api",
2874
+ "name": "adevents.findByZone",
2875
+ "operation": "findByZone",
2876
+ "objectName": "@happyvertical/smrt-ads:AdEventCollection",
2877
+ "path": "/adevents/findByZone",
2878
+ "method": "POST"
2879
+ },
2880
+ {
2881
+ "kind": "api",
2882
+ "name": "adevents.findBySite",
2883
+ "operation": "findBySite",
2884
+ "objectName": "@happyvertical/smrt-ads:AdEventCollection",
2885
+ "path": "/adevents/findBySite",
2886
+ "method": "POST"
2887
+ },
2888
+ {
2889
+ "kind": "api",
2890
+ "name": "adevents.findByDateRange",
2891
+ "operation": "findByDateRange",
2892
+ "objectName": "@happyvertical/smrt-ads:AdEventCollection",
2893
+ "path": "/adevents/findByDateRange",
2894
+ "method": "POST"
2895
+ },
2896
+ {
2897
+ "kind": "api",
2898
+ "name": "adevents.findByType",
2899
+ "operation": "findByType",
2900
+ "objectName": "@happyvertical/smrt-ads:AdEventCollection",
2901
+ "path": "/adevents/findByType",
2902
+ "method": "POST"
2903
+ },
2904
+ {
2905
+ "kind": "api",
2906
+ "name": "adevents.countByType",
2907
+ "operation": "countByType",
2908
+ "objectName": "@happyvertical/smrt-ads:AdEventCollection",
2909
+ "path": "/adevents/countByType",
2910
+ "method": "POST"
2911
+ },
2912
+ {
2913
+ "kind": "api",
2914
+ "name": "adevents.countImpressions",
2915
+ "operation": "countImpressions",
2916
+ "objectName": "@happyvertical/smrt-ads:AdEventCollection",
2917
+ "path": "/adevents/countImpressions",
2918
+ "method": "POST"
2919
+ },
2920
+ {
2921
+ "kind": "api",
2922
+ "name": "adevents.countClicks",
2923
+ "operation": "countClicks",
2924
+ "objectName": "@happyvertical/smrt-ads:AdEventCollection",
2925
+ "path": "/adevents/countClicks",
2926
+ "method": "POST"
2927
+ },
2928
+ {
2929
+ "kind": "api",
2930
+ "name": "adevents.countConversions",
2931
+ "operation": "countConversions",
2932
+ "objectName": "@happyvertical/smrt-ads:AdEventCollection",
2933
+ "path": "/adevents/countConversions",
2934
+ "method": "POST"
2935
+ },
2936
+ {
2937
+ "kind": "api",
2938
+ "name": "adevents.findImpressions",
2939
+ "operation": "findImpressions",
2940
+ "objectName": "@happyvertical/smrt-ads:AdEventCollection",
2941
+ "path": "/adevents/findImpressions",
2942
+ "method": "POST"
2943
+ },
2944
+ {
2945
+ "kind": "api",
2946
+ "name": "adevents.findClicks",
2947
+ "operation": "findClicks",
2948
+ "objectName": "@happyvertical/smrt-ads:AdEventCollection",
2949
+ "path": "/adevents/findClicks",
2950
+ "method": "POST"
2951
+ },
2952
+ {
2953
+ "kind": "api",
2954
+ "name": "adevents.findConversions",
2955
+ "operation": "findConversions",
2956
+ "objectName": "@happyvertical/smrt-ads:AdEventCollection",
2957
+ "path": "/adevents/findConversions",
2958
+ "method": "POST"
2959
+ },
2960
+ {
2961
+ "kind": "api",
2962
+ "name": "adevents.getVariationStats",
2963
+ "operation": "getVariationStats",
2964
+ "objectName": "@happyvertical/smrt-ads:AdEventCollection",
2965
+ "path": "/adevents/getVariationStats",
2966
+ "method": "POST"
2967
+ },
2968
+ {
2969
+ "kind": "api",
2970
+ "name": "adevents.findByTenant",
2971
+ "operation": "findByTenant",
2972
+ "objectName": "@happyvertical/smrt-ads:AdEventCollection",
2973
+ "path": "/adevents/findByTenant",
2974
+ "method": "POST"
2975
+ },
2976
+ {
2977
+ "kind": "api",
2978
+ "name": "adevents.findGlobal",
2979
+ "operation": "findGlobal",
2980
+ "objectName": "@happyvertical/smrt-ads:AdEventCollection",
2981
+ "path": "/adevents/findGlobal",
2982
+ "method": "POST"
2983
+ },
2984
+ {
2985
+ "kind": "api",
2986
+ "name": "adevents.findWithGlobals",
2987
+ "operation": "findWithGlobals",
2988
+ "objectName": "@happyvertical/smrt-ads:AdEventCollection",
2989
+ "path": "/adevents/findWithGlobals",
2990
+ "method": "POST"
2991
+ },
2992
+ {
2993
+ "kind": "cli",
2994
+ "name": "adeventcollection_findByVariation",
2995
+ "operation": "findByVariation",
2996
+ "objectName": "@happyvertical/smrt-ads:AdEventCollection"
2997
+ },
2998
+ {
2999
+ "kind": "cli",
3000
+ "name": "adeventcollection_findByZone",
3001
+ "operation": "findByZone",
3002
+ "objectName": "@happyvertical/smrt-ads:AdEventCollection"
3003
+ },
3004
+ {
3005
+ "kind": "cli",
3006
+ "name": "adeventcollection_findBySite",
3007
+ "operation": "findBySite",
3008
+ "objectName": "@happyvertical/smrt-ads:AdEventCollection"
3009
+ },
3010
+ {
3011
+ "kind": "cli",
3012
+ "name": "adeventcollection_findByDateRange",
3013
+ "operation": "findByDateRange",
3014
+ "objectName": "@happyvertical/smrt-ads:AdEventCollection"
3015
+ },
3016
+ {
3017
+ "kind": "cli",
3018
+ "name": "adeventcollection_findByType",
3019
+ "operation": "findByType",
3020
+ "objectName": "@happyvertical/smrt-ads:AdEventCollection"
3021
+ },
3022
+ {
3023
+ "kind": "cli",
3024
+ "name": "adeventcollection_countByType",
3025
+ "operation": "countByType",
3026
+ "objectName": "@happyvertical/smrt-ads:AdEventCollection"
3027
+ },
3028
+ {
3029
+ "kind": "cli",
3030
+ "name": "adeventcollection_countImpressions",
3031
+ "operation": "countImpressions",
3032
+ "objectName": "@happyvertical/smrt-ads:AdEventCollection"
3033
+ },
3034
+ {
3035
+ "kind": "cli",
3036
+ "name": "adeventcollection_countClicks",
3037
+ "operation": "countClicks",
3038
+ "objectName": "@happyvertical/smrt-ads:AdEventCollection"
3039
+ },
3040
+ {
3041
+ "kind": "cli",
3042
+ "name": "adeventcollection_countConversions",
3043
+ "operation": "countConversions",
3044
+ "objectName": "@happyvertical/smrt-ads:AdEventCollection"
3045
+ },
3046
+ {
3047
+ "kind": "cli",
3048
+ "name": "adeventcollection_findImpressions",
3049
+ "operation": "findImpressions",
3050
+ "objectName": "@happyvertical/smrt-ads:AdEventCollection"
3051
+ },
3052
+ {
3053
+ "kind": "cli",
3054
+ "name": "adeventcollection_findClicks",
3055
+ "operation": "findClicks",
3056
+ "objectName": "@happyvertical/smrt-ads:AdEventCollection"
3057
+ },
3058
+ {
3059
+ "kind": "cli",
3060
+ "name": "adeventcollection_findConversions",
3061
+ "operation": "findConversions",
3062
+ "objectName": "@happyvertical/smrt-ads:AdEventCollection"
3063
+ },
3064
+ {
3065
+ "kind": "cli",
3066
+ "name": "adeventcollection_getVariationStats",
3067
+ "operation": "getVariationStats",
3068
+ "objectName": "@happyvertical/smrt-ads:AdEventCollection"
3069
+ },
3070
+ {
3071
+ "kind": "cli",
3072
+ "name": "adeventcollection_findByTenant",
3073
+ "operation": "findByTenant",
3074
+ "objectName": "@happyvertical/smrt-ads:AdEventCollection"
3075
+ },
3076
+ {
3077
+ "kind": "cli",
3078
+ "name": "adeventcollection_findGlobal",
3079
+ "operation": "findGlobal",
3080
+ "objectName": "@happyvertical/smrt-ads:AdEventCollection"
3081
+ },
3082
+ {
3083
+ "kind": "cli",
3084
+ "name": "adeventcollection_findWithGlobals",
3085
+ "operation": "findWithGlobals",
3086
+ "objectName": "@happyvertical/smrt-ads:AdEventCollection"
3087
+ },
3088
+ {
3089
+ "kind": "mcp",
3090
+ "name": "adeventcollection_findbyvariation",
3091
+ "operation": "findByVariation",
3092
+ "objectName": "@happyvertical/smrt-ads:AdEventCollection"
3093
+ },
3094
+ {
3095
+ "kind": "mcp",
3096
+ "name": "adeventcollection_findbyzone",
3097
+ "operation": "findByZone",
3098
+ "objectName": "@happyvertical/smrt-ads:AdEventCollection"
3099
+ },
3100
+ {
3101
+ "kind": "mcp",
3102
+ "name": "adeventcollection_findbysite",
3103
+ "operation": "findBySite",
3104
+ "objectName": "@happyvertical/smrt-ads:AdEventCollection"
3105
+ },
3106
+ {
3107
+ "kind": "mcp",
3108
+ "name": "adeventcollection_findbydaterange",
3109
+ "operation": "findByDateRange",
3110
+ "objectName": "@happyvertical/smrt-ads:AdEventCollection"
3111
+ },
3112
+ {
3113
+ "kind": "mcp",
3114
+ "name": "adeventcollection_findbytype",
3115
+ "operation": "findByType",
3116
+ "objectName": "@happyvertical/smrt-ads:AdEventCollection"
3117
+ },
3118
+ {
3119
+ "kind": "mcp",
3120
+ "name": "adeventcollection_countbytype",
3121
+ "operation": "countByType",
3122
+ "objectName": "@happyvertical/smrt-ads:AdEventCollection"
3123
+ },
3124
+ {
3125
+ "kind": "mcp",
3126
+ "name": "adeventcollection_countimpressions",
3127
+ "operation": "countImpressions",
3128
+ "objectName": "@happyvertical/smrt-ads:AdEventCollection"
3129
+ },
3130
+ {
3131
+ "kind": "mcp",
3132
+ "name": "adeventcollection_countclicks",
3133
+ "operation": "countClicks",
3134
+ "objectName": "@happyvertical/smrt-ads:AdEventCollection"
3135
+ },
3136
+ {
3137
+ "kind": "mcp",
3138
+ "name": "adeventcollection_countconversions",
3139
+ "operation": "countConversions",
3140
+ "objectName": "@happyvertical/smrt-ads:AdEventCollection"
3141
+ },
3142
+ {
3143
+ "kind": "mcp",
3144
+ "name": "adeventcollection_findimpressions",
3145
+ "operation": "findImpressions",
3146
+ "objectName": "@happyvertical/smrt-ads:AdEventCollection"
3147
+ },
3148
+ {
3149
+ "kind": "mcp",
3150
+ "name": "adeventcollection_findclicks",
3151
+ "operation": "findClicks",
3152
+ "objectName": "@happyvertical/smrt-ads:AdEventCollection"
3153
+ },
3154
+ {
3155
+ "kind": "mcp",
3156
+ "name": "adeventcollection_findconversions",
3157
+ "operation": "findConversions",
3158
+ "objectName": "@happyvertical/smrt-ads:AdEventCollection"
3159
+ },
3160
+ {
3161
+ "kind": "mcp",
3162
+ "name": "adeventcollection_getvariationstats",
3163
+ "operation": "getVariationStats",
3164
+ "objectName": "@happyvertical/smrt-ads:AdEventCollection"
3165
+ },
3166
+ {
3167
+ "kind": "mcp",
3168
+ "name": "adeventcollection_findbytenant",
3169
+ "operation": "findByTenant",
3170
+ "objectName": "@happyvertical/smrt-ads:AdEventCollection"
3171
+ },
3172
+ {
3173
+ "kind": "mcp",
3174
+ "name": "adeventcollection_findglobal",
3175
+ "operation": "findGlobal",
3176
+ "objectName": "@happyvertical/smrt-ads:AdEventCollection"
3177
+ },
3178
+ {
3179
+ "kind": "mcp",
3180
+ "name": "adeventcollection_findwithglobals",
3181
+ "operation": "findWithGlobals",
3182
+ "objectName": "@happyvertical/smrt-ads:AdEventCollection"
3183
+ },
3184
+ {
3185
+ "kind": "api",
3186
+ "name": "adformats.findByDimensions",
3187
+ "operation": "findByDimensions",
3188
+ "objectName": "@happyvertical/smrt-ads:AdFormatCollection",
3189
+ "path": "/adformats/findByDimensions",
3190
+ "method": "POST"
3191
+ },
3192
+ {
3193
+ "kind": "api",
3194
+ "name": "adformats.findByType",
3195
+ "operation": "findByType",
3196
+ "objectName": "@happyvertical/smrt-ads:AdFormatCollection",
3197
+ "path": "/adformats/findByType",
3198
+ "method": "POST"
3199
+ },
3200
+ {
3201
+ "kind": "api",
3202
+ "name": "adformats.findBanners",
3203
+ "operation": "findBanners",
3204
+ "objectName": "@happyvertical/smrt-ads:AdFormatCollection",
3205
+ "path": "/adformats/findBanners",
3206
+ "method": "POST"
3207
+ },
3208
+ {
3209
+ "kind": "api",
3210
+ "name": "adformats.findNative",
3211
+ "operation": "findNative",
3212
+ "objectName": "@happyvertical/smrt-ads:AdFormatCollection",
3213
+ "path": "/adformats/findNative",
3214
+ "method": "POST"
3215
+ },
3216
+ {
3217
+ "kind": "api",
3218
+ "name": "adformats.findVideo",
3219
+ "operation": "findVideo",
3220
+ "objectName": "@happyvertical/smrt-ads:AdFormatCollection",
3221
+ "path": "/adformats/findVideo",
3222
+ "method": "POST"
3223
+ },
3224
+ {
3225
+ "kind": "cli",
3226
+ "name": "adformatcollection_findByDimensions",
3227
+ "operation": "findByDimensions",
3228
+ "objectName": "@happyvertical/smrt-ads:AdFormatCollection"
3229
+ },
3230
+ {
3231
+ "kind": "cli",
3232
+ "name": "adformatcollection_findByType",
3233
+ "operation": "findByType",
3234
+ "objectName": "@happyvertical/smrt-ads:AdFormatCollection"
3235
+ },
3236
+ {
3237
+ "kind": "cli",
3238
+ "name": "adformatcollection_findBanners",
3239
+ "operation": "findBanners",
3240
+ "objectName": "@happyvertical/smrt-ads:AdFormatCollection"
3241
+ },
3242
+ {
3243
+ "kind": "cli",
3244
+ "name": "adformatcollection_findNative",
3245
+ "operation": "findNative",
3246
+ "objectName": "@happyvertical/smrt-ads:AdFormatCollection"
3247
+ },
3248
+ {
3249
+ "kind": "cli",
3250
+ "name": "adformatcollection_findVideo",
3251
+ "operation": "findVideo",
3252
+ "objectName": "@happyvertical/smrt-ads:AdFormatCollection"
3253
+ },
3254
+ {
3255
+ "kind": "mcp",
3256
+ "name": "adformatcollection_findbydimensions",
3257
+ "operation": "findByDimensions",
3258
+ "objectName": "@happyvertical/smrt-ads:AdFormatCollection"
3259
+ },
3260
+ {
3261
+ "kind": "mcp",
3262
+ "name": "adformatcollection_findbytype",
3263
+ "operation": "findByType",
3264
+ "objectName": "@happyvertical/smrt-ads:AdFormatCollection"
3265
+ },
3266
+ {
3267
+ "kind": "mcp",
3268
+ "name": "adformatcollection_findbanners",
3269
+ "operation": "findBanners",
3270
+ "objectName": "@happyvertical/smrt-ads:AdFormatCollection"
3271
+ },
3272
+ {
3273
+ "kind": "mcp",
3274
+ "name": "adformatcollection_findnative",
3275
+ "operation": "findNative",
3276
+ "objectName": "@happyvertical/smrt-ads:AdFormatCollection"
3277
+ },
3278
+ {
3279
+ "kind": "mcp",
3280
+ "name": "adformatcollection_findvideo",
3281
+ "operation": "findVideo",
3282
+ "objectName": "@happyvertical/smrt-ads:AdFormatCollection"
3283
+ },
3284
+ {
3285
+ "kind": "api",
3286
+ "name": "adgroups.findByContract",
3287
+ "operation": "findByContract",
3288
+ "objectName": "@happyvertical/smrt-ads:AdGroupCollection",
3289
+ "path": "/adgroups/findByContract",
3290
+ "method": "POST"
3291
+ },
3292
+ {
3293
+ "kind": "api",
3294
+ "name": "adgroups.findByTier",
3295
+ "operation": "findByTier",
3296
+ "objectName": "@happyvertical/smrt-ads:AdGroupCollection",
3297
+ "path": "/adgroups/findByTier",
3298
+ "method": "POST"
3299
+ },
3300
+ {
3301
+ "kind": "api",
3302
+ "name": "adgroups.findByStatus",
3303
+ "operation": "findByStatus",
3304
+ "objectName": "@happyvertical/smrt-ads:AdGroupCollection",
3305
+ "path": "/adgroups/findByStatus",
3306
+ "method": "POST"
3307
+ },
3308
+ {
3309
+ "kind": "api",
3310
+ "name": "adgroups.findActive",
3311
+ "operation": "findActive",
3312
+ "objectName": "@happyvertical/smrt-ads:AdGroupCollection",
3313
+ "path": "/adgroups/findActive",
3314
+ "method": "POST"
3315
+ },
3316
+ {
3317
+ "kind": "api",
3318
+ "name": "adgroups.findByVertical",
3319
+ "operation": "findByVertical",
3320
+ "objectName": "@happyvertical/smrt-ads:AdGroupCollection",
3321
+ "path": "/adgroups/findByVertical",
3322
+ "method": "POST"
3323
+ },
3324
+ {
3325
+ "kind": "api",
3326
+ "name": "adgroups.findByZone",
3327
+ "operation": "findByZone",
3328
+ "objectName": "@happyvertical/smrt-ads:AdGroupCollection",
3329
+ "path": "/adgroups/findByZone",
3330
+ "method": "POST"
3331
+ },
3332
+ {
3333
+ "kind": "api",
3334
+ "name": "adgroups.findEligibleForZone",
3335
+ "operation": "findEligibleForZone",
3336
+ "objectName": "@happyvertical/smrt-ads:AdGroupCollection",
3337
+ "path": "/adgroups/findEligibleForZone",
3338
+ "method": "POST"
3339
+ },
3340
+ {
3341
+ "kind": "api",
3342
+ "name": "adgroups.findDrafts",
3343
+ "operation": "findDrafts",
3344
+ "objectName": "@happyvertical/smrt-ads:AdGroupCollection",
3345
+ "path": "/adgroups/findDrafts",
3346
+ "method": "POST"
3347
+ },
3348
+ {
3349
+ "kind": "api",
3350
+ "name": "adgroups.findPaused",
3351
+ "operation": "findPaused",
3352
+ "objectName": "@happyvertical/smrt-ads:AdGroupCollection",
3353
+ "path": "/adgroups/findPaused",
3354
+ "method": "POST"
3355
+ },
3356
+ {
3357
+ "kind": "api",
3358
+ "name": "adgroups.findCompleted",
3359
+ "operation": "findCompleted",
3360
+ "objectName": "@happyvertical/smrt-ads:AdGroupCollection",
3361
+ "path": "/adgroups/findCompleted",
3362
+ "method": "POST"
3363
+ },
3364
+ {
3365
+ "kind": "api",
3366
+ "name": "adgroups.findByTenant",
3367
+ "operation": "findByTenant",
3368
+ "objectName": "@happyvertical/smrt-ads:AdGroupCollection",
3369
+ "path": "/adgroups/findByTenant",
3370
+ "method": "POST"
3371
+ },
3372
+ {
3373
+ "kind": "api",
3374
+ "name": "adgroups.findGlobal",
3375
+ "operation": "findGlobal",
3376
+ "objectName": "@happyvertical/smrt-ads:AdGroupCollection",
3377
+ "path": "/adgroups/findGlobal",
3378
+ "method": "POST"
3379
+ },
3380
+ {
3381
+ "kind": "api",
3382
+ "name": "adgroups.findWithGlobals",
3383
+ "operation": "findWithGlobals",
3384
+ "objectName": "@happyvertical/smrt-ads:AdGroupCollection",
3385
+ "path": "/adgroups/findWithGlobals",
3386
+ "method": "POST"
3387
+ },
3388
+ {
3389
+ "kind": "cli",
3390
+ "name": "adgroupcollection_findByContract",
3391
+ "operation": "findByContract",
3392
+ "objectName": "@happyvertical/smrt-ads:AdGroupCollection"
3393
+ },
3394
+ {
3395
+ "kind": "cli",
3396
+ "name": "adgroupcollection_findByTier",
3397
+ "operation": "findByTier",
3398
+ "objectName": "@happyvertical/smrt-ads:AdGroupCollection"
3399
+ },
3400
+ {
3401
+ "kind": "cli",
3402
+ "name": "adgroupcollection_findByStatus",
3403
+ "operation": "findByStatus",
3404
+ "objectName": "@happyvertical/smrt-ads:AdGroupCollection"
3405
+ },
3406
+ {
3407
+ "kind": "cli",
3408
+ "name": "adgroupcollection_findActive",
3409
+ "operation": "findActive",
3410
+ "objectName": "@happyvertical/smrt-ads:AdGroupCollection"
3411
+ },
3412
+ {
3413
+ "kind": "cli",
3414
+ "name": "adgroupcollection_findByVertical",
3415
+ "operation": "findByVertical",
3416
+ "objectName": "@happyvertical/smrt-ads:AdGroupCollection"
3417
+ },
3418
+ {
3419
+ "kind": "cli",
3420
+ "name": "adgroupcollection_findByZone",
3421
+ "operation": "findByZone",
3422
+ "objectName": "@happyvertical/smrt-ads:AdGroupCollection"
3423
+ },
3424
+ {
3425
+ "kind": "cli",
3426
+ "name": "adgroupcollection_findEligibleForZone",
3427
+ "operation": "findEligibleForZone",
3428
+ "objectName": "@happyvertical/smrt-ads:AdGroupCollection"
3429
+ },
3430
+ {
3431
+ "kind": "cli",
3432
+ "name": "adgroupcollection_findDrafts",
3433
+ "operation": "findDrafts",
3434
+ "objectName": "@happyvertical/smrt-ads:AdGroupCollection"
3435
+ },
3436
+ {
3437
+ "kind": "cli",
3438
+ "name": "adgroupcollection_findPaused",
3439
+ "operation": "findPaused",
3440
+ "objectName": "@happyvertical/smrt-ads:AdGroupCollection"
3441
+ },
3442
+ {
3443
+ "kind": "cli",
3444
+ "name": "adgroupcollection_findCompleted",
3445
+ "operation": "findCompleted",
3446
+ "objectName": "@happyvertical/smrt-ads:AdGroupCollection"
3447
+ },
3448
+ {
3449
+ "kind": "cli",
3450
+ "name": "adgroupcollection_findByTenant",
3451
+ "operation": "findByTenant",
3452
+ "objectName": "@happyvertical/smrt-ads:AdGroupCollection"
3453
+ },
3454
+ {
3455
+ "kind": "cli",
3456
+ "name": "adgroupcollection_findGlobal",
3457
+ "operation": "findGlobal",
3458
+ "objectName": "@happyvertical/smrt-ads:AdGroupCollection"
3459
+ },
3460
+ {
3461
+ "kind": "cli",
3462
+ "name": "adgroupcollection_findWithGlobals",
3463
+ "operation": "findWithGlobals",
3464
+ "objectName": "@happyvertical/smrt-ads:AdGroupCollection"
3465
+ },
3466
+ {
3467
+ "kind": "mcp",
3468
+ "name": "adgroupcollection_findbycontract",
3469
+ "operation": "findByContract",
3470
+ "objectName": "@happyvertical/smrt-ads:AdGroupCollection"
3471
+ },
3472
+ {
3473
+ "kind": "mcp",
3474
+ "name": "adgroupcollection_findbytier",
3475
+ "operation": "findByTier",
3476
+ "objectName": "@happyvertical/smrt-ads:AdGroupCollection"
3477
+ },
3478
+ {
3479
+ "kind": "mcp",
3480
+ "name": "adgroupcollection_findbystatus",
3481
+ "operation": "findByStatus",
3482
+ "objectName": "@happyvertical/smrt-ads:AdGroupCollection"
3483
+ },
3484
+ {
3485
+ "kind": "mcp",
3486
+ "name": "adgroupcollection_findactive",
3487
+ "operation": "findActive",
3488
+ "objectName": "@happyvertical/smrt-ads:AdGroupCollection"
3489
+ },
3490
+ {
3491
+ "kind": "mcp",
3492
+ "name": "adgroupcollection_findbyvertical",
3493
+ "operation": "findByVertical",
3494
+ "objectName": "@happyvertical/smrt-ads:AdGroupCollection"
3495
+ },
3496
+ {
3497
+ "kind": "mcp",
3498
+ "name": "adgroupcollection_findbyzone",
3499
+ "operation": "findByZone",
3500
+ "objectName": "@happyvertical/smrt-ads:AdGroupCollection"
3501
+ },
3502
+ {
3503
+ "kind": "mcp",
3504
+ "name": "adgroupcollection_findeligibleforzone",
3505
+ "operation": "findEligibleForZone",
3506
+ "objectName": "@happyvertical/smrt-ads:AdGroupCollection"
3507
+ },
3508
+ {
3509
+ "kind": "mcp",
3510
+ "name": "adgroupcollection_finddrafts",
3511
+ "operation": "findDrafts",
3512
+ "objectName": "@happyvertical/smrt-ads:AdGroupCollection"
3513
+ },
3514
+ {
3515
+ "kind": "mcp",
3516
+ "name": "adgroupcollection_findpaused",
3517
+ "operation": "findPaused",
3518
+ "objectName": "@happyvertical/smrt-ads:AdGroupCollection"
3519
+ },
3520
+ {
3521
+ "kind": "mcp",
3522
+ "name": "adgroupcollection_findcompleted",
3523
+ "operation": "findCompleted",
3524
+ "objectName": "@happyvertical/smrt-ads:AdGroupCollection"
3525
+ },
3526
+ {
3527
+ "kind": "mcp",
3528
+ "name": "adgroupcollection_findbytenant",
3529
+ "operation": "findByTenant",
3530
+ "objectName": "@happyvertical/smrt-ads:AdGroupCollection"
3531
+ },
3532
+ {
3533
+ "kind": "mcp",
3534
+ "name": "adgroupcollection_findglobal",
3535
+ "operation": "findGlobal",
3536
+ "objectName": "@happyvertical/smrt-ads:AdGroupCollection"
3537
+ },
3538
+ {
3539
+ "kind": "mcp",
3540
+ "name": "adgroupcollection_findwithglobals",
3541
+ "operation": "findWithGlobals",
3542
+ "objectName": "@happyvertical/smrt-ads:AdGroupCollection"
3543
+ },
3544
+ {
3545
+ "kind": "api",
3546
+ "name": "advariations.findByGroup",
3547
+ "operation": "findByGroup",
3548
+ "objectName": "@happyvertical/smrt-ads:AdVariationCollection",
3549
+ "path": "/advariations/findByGroup",
3550
+ "method": "POST"
3551
+ },
3552
+ {
3553
+ "kind": "api",
3554
+ "name": "advariations.findByFormat",
3555
+ "operation": "findByFormat",
3556
+ "objectName": "@happyvertical/smrt-ads:AdVariationCollection",
3557
+ "path": "/advariations/findByFormat",
3558
+ "method": "POST"
3559
+ },
3560
+ {
3561
+ "kind": "api",
3562
+ "name": "advariations.findActiveByGroup",
3563
+ "operation": "findActiveByGroup",
3564
+ "objectName": "@happyvertical/smrt-ads:AdVariationCollection",
3565
+ "path": "/advariations/findActiveByGroup",
3566
+ "method": "POST"
3567
+ },
3568
+ {
3569
+ "kind": "api",
3570
+ "name": "advariations.selectByWeight",
3571
+ "operation": "selectByWeight",
3572
+ "objectName": "@happyvertical/smrt-ads:AdVariationCollection",
3573
+ "path": "/advariations/selectByWeight",
3574
+ "method": "POST"
3575
+ },
3576
+ {
3577
+ "kind": "api",
3578
+ "name": "advariations.findByStatus",
3579
+ "operation": "findByStatus",
3580
+ "objectName": "@happyvertical/smrt-ads:AdVariationCollection",
3581
+ "path": "/advariations/findByStatus",
3582
+ "method": "POST"
3583
+ },
3584
+ {
3585
+ "kind": "api",
3586
+ "name": "advariations.findActive",
3587
+ "operation": "findActive",
3588
+ "objectName": "@happyvertical/smrt-ads:AdVariationCollection",
3589
+ "path": "/advariations/findActive",
3590
+ "method": "POST"
3591
+ },
3592
+ {
3593
+ "kind": "api",
3594
+ "name": "advariations.findDrafts",
3595
+ "operation": "findDrafts",
3596
+ "objectName": "@happyvertical/smrt-ads:AdVariationCollection",
3597
+ "path": "/advariations/findDrafts",
3598
+ "method": "POST"
3599
+ },
3600
+ {
3601
+ "kind": "api",
3602
+ "name": "advariations.findPaused",
3603
+ "operation": "findPaused",
3604
+ "objectName": "@happyvertical/smrt-ads:AdVariationCollection",
3605
+ "path": "/advariations/findPaused",
3606
+ "method": "POST"
3607
+ },
3608
+ {
3609
+ "kind": "api",
3610
+ "name": "advariations.findTopPerformers",
3611
+ "operation": "findTopPerformers",
3612
+ "objectName": "@happyvertical/smrt-ads:AdVariationCollection",
3613
+ "path": "/advariations/findTopPerformers",
3614
+ "method": "POST"
3615
+ },
3616
+ {
3617
+ "kind": "api",
3618
+ "name": "advariations.findByTenant",
3619
+ "operation": "findByTenant",
3620
+ "objectName": "@happyvertical/smrt-ads:AdVariationCollection",
3621
+ "path": "/advariations/findByTenant",
3622
+ "method": "POST"
3623
+ },
3624
+ {
3625
+ "kind": "api",
3626
+ "name": "advariations.findGlobal",
3627
+ "operation": "findGlobal",
3628
+ "objectName": "@happyvertical/smrt-ads:AdVariationCollection",
3629
+ "path": "/advariations/findGlobal",
3630
+ "method": "POST"
3631
+ },
3632
+ {
3633
+ "kind": "api",
3634
+ "name": "advariations.findWithGlobals",
3635
+ "operation": "findWithGlobals",
3636
+ "objectName": "@happyvertical/smrt-ads:AdVariationCollection",
3637
+ "path": "/advariations/findWithGlobals",
3638
+ "method": "POST"
3639
+ },
3640
+ {
3641
+ "kind": "cli",
3642
+ "name": "advariationcollection_findByGroup",
3643
+ "operation": "findByGroup",
3644
+ "objectName": "@happyvertical/smrt-ads:AdVariationCollection"
3645
+ },
3646
+ {
3647
+ "kind": "cli",
3648
+ "name": "advariationcollection_findByFormat",
3649
+ "operation": "findByFormat",
3650
+ "objectName": "@happyvertical/smrt-ads:AdVariationCollection"
3651
+ },
3652
+ {
3653
+ "kind": "cli",
3654
+ "name": "advariationcollection_findActiveByGroup",
3655
+ "operation": "findActiveByGroup",
3656
+ "objectName": "@happyvertical/smrt-ads:AdVariationCollection"
3657
+ },
3658
+ {
3659
+ "kind": "cli",
3660
+ "name": "advariationcollection_selectByWeight",
3661
+ "operation": "selectByWeight",
3662
+ "objectName": "@happyvertical/smrt-ads:AdVariationCollection"
3663
+ },
3664
+ {
3665
+ "kind": "cli",
3666
+ "name": "advariationcollection_findByStatus",
3667
+ "operation": "findByStatus",
3668
+ "objectName": "@happyvertical/smrt-ads:AdVariationCollection"
3669
+ },
3670
+ {
3671
+ "kind": "cli",
3672
+ "name": "advariationcollection_findActive",
3673
+ "operation": "findActive",
3674
+ "objectName": "@happyvertical/smrt-ads:AdVariationCollection"
3675
+ },
3676
+ {
3677
+ "kind": "cli",
3678
+ "name": "advariationcollection_findDrafts",
3679
+ "operation": "findDrafts",
3680
+ "objectName": "@happyvertical/smrt-ads:AdVariationCollection"
3681
+ },
3682
+ {
3683
+ "kind": "cli",
3684
+ "name": "advariationcollection_findPaused",
3685
+ "operation": "findPaused",
3686
+ "objectName": "@happyvertical/smrt-ads:AdVariationCollection"
3687
+ },
3688
+ {
3689
+ "kind": "cli",
3690
+ "name": "advariationcollection_findTopPerformers",
3691
+ "operation": "findTopPerformers",
3692
+ "objectName": "@happyvertical/smrt-ads:AdVariationCollection"
3693
+ },
3694
+ {
3695
+ "kind": "cli",
3696
+ "name": "advariationcollection_findByTenant",
3697
+ "operation": "findByTenant",
3698
+ "objectName": "@happyvertical/smrt-ads:AdVariationCollection"
3699
+ },
3700
+ {
3701
+ "kind": "cli",
3702
+ "name": "advariationcollection_findGlobal",
3703
+ "operation": "findGlobal",
3704
+ "objectName": "@happyvertical/smrt-ads:AdVariationCollection"
3705
+ },
3706
+ {
3707
+ "kind": "cli",
3708
+ "name": "advariationcollection_findWithGlobals",
3709
+ "operation": "findWithGlobals",
3710
+ "objectName": "@happyvertical/smrt-ads:AdVariationCollection"
3711
+ },
3712
+ {
3713
+ "kind": "mcp",
3714
+ "name": "advariationcollection_findbygroup",
3715
+ "operation": "findByGroup",
3716
+ "objectName": "@happyvertical/smrt-ads:AdVariationCollection"
3717
+ },
3718
+ {
3719
+ "kind": "mcp",
3720
+ "name": "advariationcollection_findbyformat",
3721
+ "operation": "findByFormat",
3722
+ "objectName": "@happyvertical/smrt-ads:AdVariationCollection"
3723
+ },
3724
+ {
3725
+ "kind": "mcp",
3726
+ "name": "advariationcollection_findactivebygroup",
3727
+ "operation": "findActiveByGroup",
3728
+ "objectName": "@happyvertical/smrt-ads:AdVariationCollection"
3729
+ },
3730
+ {
3731
+ "kind": "mcp",
3732
+ "name": "advariationcollection_selectbyweight",
3733
+ "operation": "selectByWeight",
3734
+ "objectName": "@happyvertical/smrt-ads:AdVariationCollection"
3735
+ },
3736
+ {
3737
+ "kind": "mcp",
3738
+ "name": "advariationcollection_findbystatus",
3739
+ "operation": "findByStatus",
3740
+ "objectName": "@happyvertical/smrt-ads:AdVariationCollection"
3741
+ },
3742
+ {
3743
+ "kind": "mcp",
3744
+ "name": "advariationcollection_findactive",
3745
+ "operation": "findActive",
3746
+ "objectName": "@happyvertical/smrt-ads:AdVariationCollection"
3747
+ },
3748
+ {
3749
+ "kind": "mcp",
3750
+ "name": "advariationcollection_finddrafts",
3751
+ "operation": "findDrafts",
3752
+ "objectName": "@happyvertical/smrt-ads:AdVariationCollection"
3753
+ },
3754
+ {
3755
+ "kind": "mcp",
3756
+ "name": "advariationcollection_findpaused",
3757
+ "operation": "findPaused",
3758
+ "objectName": "@happyvertical/smrt-ads:AdVariationCollection"
3759
+ },
3760
+ {
3761
+ "kind": "mcp",
3762
+ "name": "advariationcollection_findtopperformers",
3763
+ "operation": "findTopPerformers",
3764
+ "objectName": "@happyvertical/smrt-ads:AdVariationCollection"
3765
+ },
3766
+ {
3767
+ "kind": "mcp",
3768
+ "name": "advariationcollection_findbytenant",
3769
+ "operation": "findByTenant",
3770
+ "objectName": "@happyvertical/smrt-ads:AdVariationCollection"
3771
+ },
3772
+ {
3773
+ "kind": "mcp",
3774
+ "name": "advariationcollection_findglobal",
3775
+ "operation": "findGlobal",
3776
+ "objectName": "@happyvertical/smrt-ads:AdVariationCollection"
3777
+ },
3778
+ {
3779
+ "kind": "mcp",
3780
+ "name": "advariationcollection_findwithglobals",
3781
+ "operation": "findWithGlobals",
3782
+ "objectName": "@happyvertical/smrt-ads:AdVariationCollection"
3783
+ },
2572
3784
  {
2573
3785
  "kind": "api",
2574
3786
  "name": "addeliverytiers.list",
@@ -2631,6 +3843,24 @@
2631
3843
  "operation": "delete",
2632
3844
  "objectName": "@happyvertical/smrt-ads:AdDeliveryTier"
2633
3845
  },
3846
+ {
3847
+ "kind": "cli",
3848
+ "name": "addeliverytier_isHigherPriorityThan",
3849
+ "operation": "isHigherPriorityThan",
3850
+ "objectName": "@happyvertical/smrt-ads:AdDeliveryTier"
3851
+ },
3852
+ {
3853
+ "kind": "cli",
3854
+ "name": "addeliverytier_isFixedPricing",
3855
+ "operation": "isFixedPricing",
3856
+ "objectName": "@happyvertical/smrt-ads:AdDeliveryTier"
3857
+ },
3858
+ {
3859
+ "kind": "cli",
3860
+ "name": "addeliverytier_isPerformanceBased",
3861
+ "operation": "isPerformanceBased",
3862
+ "objectName": "@happyvertical/smrt-ads:AdDeliveryTier"
3863
+ },
2634
3864
  {
2635
3865
  "kind": "mcp",
2636
3866
  "name": "addeliverytier_list",
@@ -2645,19 +3875,19 @@
2645
3875
  },
2646
3876
  {
2647
3877
  "kind": "api",
2648
- "name": "adevents.create",
2649
- "operation": "create",
3878
+ "name": "adevents.list",
3879
+ "operation": "list",
2650
3880
  "objectName": "@happyvertical/smrt-ads:AdEvent",
2651
3881
  "path": "/adevents",
2652
- "method": "POST"
3882
+ "method": "GET"
2653
3883
  },
2654
3884
  {
2655
3885
  "kind": "api",
2656
- "name": "adevents.list",
2657
- "operation": "list",
3886
+ "name": "adevents.create",
3887
+ "operation": "create",
2658
3888
  "objectName": "@happyvertical/smrt-ads:AdEvent",
2659
3889
  "path": "/adevents",
2660
- "method": "GET"
3890
+ "method": "POST"
2661
3891
  },
2662
3892
  {
2663
3893
  "kind": "mcp",
@@ -2727,6 +3957,18 @@
2727
3957
  "operation": "delete",
2728
3958
  "objectName": "@happyvertical/smrt-ads:AdFormat"
2729
3959
  },
3960
+ {
3961
+ "kind": "cli",
3962
+ "name": "adformat_getDimensions",
3963
+ "operation": "getDimensions",
3964
+ "objectName": "@happyvertical/smrt-ads:AdFormat"
3965
+ },
3966
+ {
3967
+ "kind": "cli",
3968
+ "name": "adformat_matchesDimensions",
3969
+ "operation": "matchesDimensions",
3970
+ "objectName": "@happyvertical/smrt-ads:AdFormat"
3971
+ },
2730
3972
  {
2731
3973
  "kind": "mcp",
2732
3974
  "name": "adformat_list",
@@ -2801,6 +4043,84 @@
2801
4043
  "operation": "delete",
2802
4044
  "objectName": "@happyvertical/smrt-ads:AdGroup"
2803
4045
  },
4046
+ {
4047
+ "kind": "cli",
4048
+ "name": "adgroup_getZoneIds",
4049
+ "operation": "getZoneIds",
4050
+ "objectName": "@happyvertical/smrt-ads:AdGroup"
4051
+ },
4052
+ {
4053
+ "kind": "cli",
4054
+ "name": "adgroup_setZoneIds",
4055
+ "operation": "setZoneIds",
4056
+ "objectName": "@happyvertical/smrt-ads:AdGroup"
4057
+ },
4058
+ {
4059
+ "kind": "cli",
4060
+ "name": "adgroup_addZoneId",
4061
+ "operation": "addZoneId",
4062
+ "objectName": "@happyvertical/smrt-ads:AdGroup"
4063
+ },
4064
+ {
4065
+ "kind": "cli",
4066
+ "name": "adgroup_removeZoneId",
4067
+ "operation": "removeZoneId",
4068
+ "objectName": "@happyvertical/smrt-ads:AdGroup"
4069
+ },
4070
+ {
4071
+ "kind": "cli",
4072
+ "name": "adgroup_hasZoneId",
4073
+ "operation": "hasZoneId",
4074
+ "objectName": "@happyvertical/smrt-ads:AdGroup"
4075
+ },
4076
+ {
4077
+ "kind": "cli",
4078
+ "name": "adgroup_getTargeting",
4079
+ "operation": "getTargeting",
4080
+ "objectName": "@happyvertical/smrt-ads:AdGroup"
4081
+ },
4082
+ {
4083
+ "kind": "cli",
4084
+ "name": "adgroup_setTargeting",
4085
+ "operation": "setTargeting",
4086
+ "objectName": "@happyvertical/smrt-ads:AdGroup"
4087
+ },
4088
+ {
4089
+ "kind": "cli",
4090
+ "name": "adgroup_isActive",
4091
+ "operation": "isActive",
4092
+ "objectName": "@happyvertical/smrt-ads:AdGroup"
4093
+ },
4094
+ {
4095
+ "kind": "cli",
4096
+ "name": "adgroup_isDraft",
4097
+ "operation": "isDraft",
4098
+ "objectName": "@happyvertical/smrt-ads:AdGroup"
4099
+ },
4100
+ {
4101
+ "kind": "cli",
4102
+ "name": "adgroup_isPaused",
4103
+ "operation": "isPaused",
4104
+ "objectName": "@happyvertical/smrt-ads:AdGroup"
4105
+ },
4106
+ {
4107
+ "kind": "cli",
4108
+ "name": "adgroup_isCompleted",
4109
+ "operation": "isCompleted",
4110
+ "objectName": "@happyvertical/smrt-ads:AdGroup"
4111
+ },
4112
+ {
4113
+ "kind": "cli",
4114
+ "name": "adgroup_hasEnded",
4115
+ "operation": "hasEnded",
4116
+ "objectName": "@happyvertical/smrt-ads:AdGroup"
4117
+ },
4118
+ {
4119
+ "kind": "cli",
4120
+ "name": "adgroup_hasStarted",
4121
+ "operation": "hasStarted",
4122
+ "objectName": "@happyvertical/smrt-ads:AdGroup"
4123
+ },
2804
4124
  {
2805
4125
  "kind": "mcp",
2806
4126
  "name": "adgroup_list",
@@ -2881,6 +4201,42 @@
2881
4201
  "operation": "delete",
2882
4202
  "objectName": "@happyvertical/smrt-ads:AdVariation"
2883
4203
  },
4204
+ {
4205
+ "kind": "cli",
4206
+ "name": "advariation_isActive",
4207
+ "operation": "isActive",
4208
+ "objectName": "@happyvertical/smrt-ads:AdVariation"
4209
+ },
4210
+ {
4211
+ "kind": "cli",
4212
+ "name": "advariation_isDraft",
4213
+ "operation": "isDraft",
4214
+ "objectName": "@happyvertical/smrt-ads:AdVariation"
4215
+ },
4216
+ {
4217
+ "kind": "cli",
4218
+ "name": "advariation_isPaused",
4219
+ "operation": "isPaused",
4220
+ "objectName": "@happyvertical/smrt-ads:AdVariation"
4221
+ },
4222
+ {
4223
+ "kind": "cli",
4224
+ "name": "advariation_getCTR",
4225
+ "operation": "getCTR",
4226
+ "objectName": "@happyvertical/smrt-ads:AdVariation"
4227
+ },
4228
+ {
4229
+ "kind": "cli",
4230
+ "name": "advariation_recordImpression",
4231
+ "operation": "recordImpression",
4232
+ "objectName": "@happyvertical/smrt-ads:AdVariation"
4233
+ },
4234
+ {
4235
+ "kind": "cli",
4236
+ "name": "advariation_recordClick",
4237
+ "operation": "recordClick",
4238
+ "objectName": "@happyvertical/smrt-ads:AdVariation"
4239
+ },
2884
4240
  {
2885
4241
  "kind": "mcp",
2886
4242
  "name": "advariation_list",