@happyvertical/smrt-ads 0.60.9 → 0.60.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/manifest.json +81 -21
- package/dist/smrt-knowledge.json +3 -3
- package/dist/smrt-knowledge.okf.md +76 -0
- package/package.json +6 -6
package/dist/manifest.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"version": "1.0.0",
|
|
3
3
|
"timestamp": 0,
|
|
4
4
|
"packageName": "@happyvertical/smrt-ads",
|
|
5
|
-
"packageVersion": "0.60.
|
|
5
|
+
"packageVersion": "0.60.10",
|
|
6
6
|
"objects": {
|
|
7
7
|
"@happyvertical/smrt-ads:AdDeliveryTierCollection": {
|
|
8
8
|
"name": "addeliverytiercollection",
|
|
@@ -95,8 +95,14 @@
|
|
|
95
95
|
],
|
|
96
96
|
"schema": {
|
|
97
97
|
"tableName": "ad_delivery_tiers",
|
|
98
|
-
"ddl": "CREATE TABLE IF NOT EXISTS \"ad_delivery_tiers\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"name\" TEXT DEFAULT '',\n \"priority\" INTEGER DEFAULT 0,\n \"pricing_model\" TEXT,\n \"description\" TEXT DEFAULT ''\n);",
|
|
98
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"ad_delivery_tiers\" (\n \"_sync_origin_device_id\" TEXT,\n \"_sync_revision\" INTEGER,\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"name\" TEXT DEFAULT '',\n \"priority\" INTEGER DEFAULT 0,\n \"pricing_model\" TEXT,\n \"description\" TEXT DEFAULT ''\n);",
|
|
99
99
|
"columns": {
|
|
100
|
+
"_sync_origin_device_id": {
|
|
101
|
+
"type": "TEXT"
|
|
102
|
+
},
|
|
103
|
+
"_sync_revision": {
|
|
104
|
+
"type": "INTEGER"
|
|
105
|
+
},
|
|
100
106
|
"id": {
|
|
101
107
|
"type": "UUID",
|
|
102
108
|
"primaryKey": true,
|
|
@@ -162,7 +168,7 @@
|
|
|
162
168
|
]
|
|
163
169
|
}
|
|
164
170
|
],
|
|
165
|
-
"version": "
|
|
171
|
+
"version": "a62406e1"
|
|
166
172
|
},
|
|
167
173
|
"importPath": "@happyvertical/smrt-ads"
|
|
168
174
|
},
|
|
@@ -412,8 +418,14 @@
|
|
|
412
418
|
],
|
|
413
419
|
"schema": {
|
|
414
420
|
"tableName": "ad_events",
|
|
415
|
-
"ddl": "CREATE TABLE IF NOT EXISTS \"ad_events\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"_meta_type\" TEXT NOT NULL,\n \"_meta_data\" JSON,\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID,\n \"variation_id\" UUID,\n \"zone_id\" UUID,\n \"site_id\" TEXT DEFAULT '',\n \"event_type\" TEXT,\n \"timestamp\" TIMESTAMP,\n \"metadata\" TEXT DEFAULT ''\n);",
|
|
421
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"ad_events\" (\n \"_sync_origin_device_id\" TEXT,\n \"_sync_revision\" INTEGER,\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"_meta_type\" TEXT NOT NULL,\n \"_meta_data\" JSON,\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID,\n \"variation_id\" UUID,\n \"zone_id\" UUID,\n \"site_id\" TEXT DEFAULT '',\n \"event_type\" TEXT,\n \"timestamp\" TIMESTAMP,\n \"metadata\" TEXT DEFAULT ''\n);",
|
|
416
422
|
"columns": {
|
|
423
|
+
"_sync_origin_device_id": {
|
|
424
|
+
"type": "TEXT"
|
|
425
|
+
},
|
|
426
|
+
"_sync_revision": {
|
|
427
|
+
"type": "INTEGER"
|
|
428
|
+
},
|
|
417
429
|
"id": {
|
|
418
430
|
"type": "UUID",
|
|
419
431
|
"primaryKey": true,
|
|
@@ -525,7 +537,7 @@
|
|
|
525
537
|
]
|
|
526
538
|
}
|
|
527
539
|
],
|
|
528
|
-
"version": "
|
|
540
|
+
"version": "e3175352"
|
|
529
541
|
},
|
|
530
542
|
"importPath": "@happyvertical/smrt-ads"
|
|
531
543
|
},
|
|
@@ -623,8 +635,14 @@
|
|
|
623
635
|
],
|
|
624
636
|
"schema": {
|
|
625
637
|
"tableName": "ad_formats",
|
|
626
|
-
"ddl": "CREATE TABLE IF NOT EXISTS \"ad_formats\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"name\" TEXT DEFAULT '',\n \"width\" INTEGER DEFAULT 0,\n \"height\" INTEGER DEFAULT 0,\n \"format_type\" TEXT,\n \"description\" TEXT DEFAULT ''\n);",
|
|
638
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"ad_formats\" (\n \"_sync_origin_device_id\" TEXT,\n \"_sync_revision\" INTEGER,\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"name\" TEXT DEFAULT '',\n \"width\" INTEGER DEFAULT 0,\n \"height\" INTEGER DEFAULT 0,\n \"format_type\" TEXT,\n \"description\" TEXT DEFAULT ''\n);",
|
|
627
639
|
"columns": {
|
|
640
|
+
"_sync_origin_device_id": {
|
|
641
|
+
"type": "TEXT"
|
|
642
|
+
},
|
|
643
|
+
"_sync_revision": {
|
|
644
|
+
"type": "INTEGER"
|
|
645
|
+
},
|
|
628
646
|
"id": {
|
|
629
647
|
"type": "UUID",
|
|
630
648
|
"primaryKey": true,
|
|
@@ -696,7 +714,7 @@
|
|
|
696
714
|
]
|
|
697
715
|
}
|
|
698
716
|
],
|
|
699
|
-
"version": "
|
|
717
|
+
"version": "87e5a7c6"
|
|
700
718
|
},
|
|
701
719
|
"importPath": "@happyvertical/smrt-ads"
|
|
702
720
|
},
|
|
@@ -890,8 +908,14 @@
|
|
|
890
908
|
],
|
|
891
909
|
"schema": {
|
|
892
910
|
"tableName": "ad_groups",
|
|
893
|
-
"ddl": "CREATE TABLE IF NOT EXISTS \"ad_groups\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"_meta_type\" TEXT NOT NULL,\n \"_meta_data\" JSON,\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID,\n \"contract_id\" UUID,\n \"tier_id\" UUID,\n \"name\" TEXT DEFAULT '',\n \"vertical_slug\" TEXT DEFAULT '',\n \"targeting\" TEXT DEFAULT '',\n \"zone_ids\" TEXT DEFAULT '',\n \"start_date\" TIMESTAMP,\n \"end_date\" TIMESTAMP,\n \"daily_budget\" REAL DEFAULT 0,\n \"total_budget\" REAL DEFAULT 0,\n \"status\" TEXT\n);",
|
|
911
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"ad_groups\" (\n \"_sync_origin_device_id\" TEXT,\n \"_sync_revision\" INTEGER,\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"_meta_type\" TEXT NOT NULL,\n \"_meta_data\" JSON,\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID,\n \"contract_id\" UUID,\n \"tier_id\" UUID,\n \"name\" TEXT DEFAULT '',\n \"vertical_slug\" TEXT DEFAULT '',\n \"targeting\" TEXT DEFAULT '',\n \"zone_ids\" TEXT DEFAULT '',\n \"start_date\" TIMESTAMP,\n \"end_date\" TIMESTAMP,\n \"daily_budget\" REAL DEFAULT 0,\n \"total_budget\" REAL DEFAULT 0,\n \"status\" TEXT\n);",
|
|
894
912
|
"columns": {
|
|
913
|
+
"_sync_origin_device_id": {
|
|
914
|
+
"type": "TEXT"
|
|
915
|
+
},
|
|
916
|
+
"_sync_revision": {
|
|
917
|
+
"type": "INTEGER"
|
|
918
|
+
},
|
|
895
919
|
"id": {
|
|
896
920
|
"type": "UUID",
|
|
897
921
|
"primaryKey": true,
|
|
@@ -1027,7 +1051,7 @@
|
|
|
1027
1051
|
]
|
|
1028
1052
|
}
|
|
1029
1053
|
],
|
|
1030
|
-
"version": "
|
|
1054
|
+
"version": "7a0047b5"
|
|
1031
1055
|
},
|
|
1032
1056
|
"importPath": "@happyvertical/smrt-ads"
|
|
1033
1057
|
},
|
|
@@ -1213,8 +1237,14 @@
|
|
|
1213
1237
|
],
|
|
1214
1238
|
"schema": {
|
|
1215
1239
|
"tableName": "ad_variations",
|
|
1216
|
-
"ddl": "CREATE TABLE IF NOT EXISTS \"ad_variations\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"_meta_type\" TEXT NOT NULL,\n \"_meta_data\" JSON,\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID,\n \"group_id\" UUID,\n \"format_id\" UUID,\n \"asset_id\" UUID,\n \"name\" TEXT DEFAULT '',\n \"click_url\" TEXT DEFAULT '',\n \"alt_text\" TEXT DEFAULT '',\n \"weight\" INTEGER DEFAULT 1,\n \"status\" TEXT,\n \"impressions\" INTEGER DEFAULT 0,\n \"clicks\" INTEGER DEFAULT 0\n);",
|
|
1240
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"ad_variations\" (\n \"_sync_origin_device_id\" TEXT,\n \"_sync_revision\" INTEGER,\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"_meta_type\" TEXT NOT NULL,\n \"_meta_data\" JSON,\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID,\n \"group_id\" UUID,\n \"format_id\" UUID,\n \"asset_id\" UUID,\n \"name\" TEXT DEFAULT '',\n \"click_url\" TEXT DEFAULT '',\n \"alt_text\" TEXT DEFAULT '',\n \"weight\" INTEGER DEFAULT 1,\n \"status\" TEXT,\n \"impressions\" INTEGER DEFAULT 0,\n \"clicks\" INTEGER DEFAULT 0\n);",
|
|
1217
1241
|
"columns": {
|
|
1242
|
+
"_sync_origin_device_id": {
|
|
1243
|
+
"type": "TEXT"
|
|
1244
|
+
},
|
|
1245
|
+
"_sync_revision": {
|
|
1246
|
+
"type": "INTEGER"
|
|
1247
|
+
},
|
|
1218
1248
|
"id": {
|
|
1219
1249
|
"type": "UUID",
|
|
1220
1250
|
"primaryKey": true,
|
|
@@ -1359,7 +1389,7 @@
|
|
|
1359
1389
|
]
|
|
1360
1390
|
}
|
|
1361
1391
|
],
|
|
1362
|
-
"version": "
|
|
1392
|
+
"version": "bd697f86"
|
|
1363
1393
|
},
|
|
1364
1394
|
"importPath": "@happyvertical/smrt-ads"
|
|
1365
1395
|
},
|
|
@@ -1470,8 +1500,14 @@
|
|
|
1470
1500
|
"displayLabelField": "name",
|
|
1471
1501
|
"schema": {
|
|
1472
1502
|
"tableName": "ad_delivery_tiers",
|
|
1473
|
-
"ddl": "CREATE TABLE IF NOT EXISTS \"ad_delivery_tiers\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"name\" TEXT DEFAULT '',\n \"priority\" INTEGER DEFAULT 0,\n \"pricing_model\" TEXT,\n \"description\" TEXT DEFAULT ''\n);",
|
|
1503
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"ad_delivery_tiers\" (\n \"_sync_origin_device_id\" TEXT,\n \"_sync_revision\" INTEGER,\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"name\" TEXT DEFAULT '',\n \"priority\" INTEGER DEFAULT 0,\n \"pricing_model\" TEXT,\n \"description\" TEXT DEFAULT ''\n);",
|
|
1474
1504
|
"columns": {
|
|
1505
|
+
"_sync_origin_device_id": {
|
|
1506
|
+
"type": "TEXT"
|
|
1507
|
+
},
|
|
1508
|
+
"_sync_revision": {
|
|
1509
|
+
"type": "INTEGER"
|
|
1510
|
+
},
|
|
1475
1511
|
"id": {
|
|
1476
1512
|
"type": "UUID",
|
|
1477
1513
|
"primaryKey": true,
|
|
@@ -1537,7 +1573,7 @@
|
|
|
1537
1573
|
]
|
|
1538
1574
|
}
|
|
1539
1575
|
],
|
|
1540
|
-
"version": "
|
|
1576
|
+
"version": "a62406e1"
|
|
1541
1577
|
},
|
|
1542
1578
|
"importPath": "@happyvertical/smrt-ads"
|
|
1543
1579
|
},
|
|
@@ -1687,8 +1723,14 @@
|
|
|
1687
1723
|
"collectionExportName": "AdEventCollection",
|
|
1688
1724
|
"schema": {
|
|
1689
1725
|
"tableName": "ad_events",
|
|
1690
|
-
"ddl": "CREATE TABLE IF NOT EXISTS \"ad_events\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"_meta_type\" TEXT NOT NULL,\n \"_meta_data\" JSON,\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID,\n \"variation_id\" UUID,\n \"zone_id\" UUID,\n \"site_id\" TEXT DEFAULT '',\n \"event_type\" TEXT,\n \"timestamp\" TIMESTAMP,\n \"metadata\" TEXT DEFAULT ''\n);",
|
|
1726
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"ad_events\" (\n \"_sync_origin_device_id\" TEXT,\n \"_sync_revision\" INTEGER,\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"_meta_type\" TEXT NOT NULL,\n \"_meta_data\" JSON,\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID,\n \"variation_id\" UUID,\n \"zone_id\" UUID,\n \"site_id\" TEXT DEFAULT '',\n \"event_type\" TEXT,\n \"timestamp\" TIMESTAMP,\n \"metadata\" TEXT DEFAULT ''\n);",
|
|
1691
1727
|
"columns": {
|
|
1728
|
+
"_sync_origin_device_id": {
|
|
1729
|
+
"type": "TEXT"
|
|
1730
|
+
},
|
|
1731
|
+
"_sync_revision": {
|
|
1732
|
+
"type": "INTEGER"
|
|
1733
|
+
},
|
|
1692
1734
|
"id": {
|
|
1693
1735
|
"type": "UUID",
|
|
1694
1736
|
"primaryKey": true,
|
|
@@ -1800,7 +1842,7 @@
|
|
|
1800
1842
|
]
|
|
1801
1843
|
}
|
|
1802
1844
|
],
|
|
1803
|
-
"version": "
|
|
1845
|
+
"version": "e3175352"
|
|
1804
1846
|
},
|
|
1805
1847
|
"importPath": "@happyvertical/smrt-ads"
|
|
1806
1848
|
},
|
|
@@ -1916,8 +1958,14 @@
|
|
|
1916
1958
|
"displayLabelField": "name",
|
|
1917
1959
|
"schema": {
|
|
1918
1960
|
"tableName": "ad_formats",
|
|
1919
|
-
"ddl": "CREATE TABLE IF NOT EXISTS \"ad_formats\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"name\" TEXT DEFAULT '',\n \"width\" INTEGER DEFAULT 0,\n \"height\" INTEGER DEFAULT 0,\n \"format_type\" TEXT,\n \"description\" TEXT DEFAULT ''\n);",
|
|
1961
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"ad_formats\" (\n \"_sync_origin_device_id\" TEXT,\n \"_sync_revision\" INTEGER,\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"name\" TEXT DEFAULT '',\n \"width\" INTEGER DEFAULT 0,\n \"height\" INTEGER DEFAULT 0,\n \"format_type\" TEXT,\n \"description\" TEXT DEFAULT ''\n);",
|
|
1920
1962
|
"columns": {
|
|
1963
|
+
"_sync_origin_device_id": {
|
|
1964
|
+
"type": "TEXT"
|
|
1965
|
+
},
|
|
1966
|
+
"_sync_revision": {
|
|
1967
|
+
"type": "INTEGER"
|
|
1968
|
+
},
|
|
1921
1969
|
"id": {
|
|
1922
1970
|
"type": "UUID",
|
|
1923
1971
|
"primaryKey": true,
|
|
@@ -1989,7 +2037,7 @@
|
|
|
1989
2037
|
]
|
|
1990
2038
|
}
|
|
1991
2039
|
],
|
|
1992
|
-
"version": "
|
|
2040
|
+
"version": "87e5a7c6"
|
|
1993
2041
|
},
|
|
1994
2042
|
"importPath": "@happyvertical/smrt-ads"
|
|
1995
2043
|
},
|
|
@@ -2296,8 +2344,14 @@
|
|
|
2296
2344
|
"displayLabelField": "name",
|
|
2297
2345
|
"schema": {
|
|
2298
2346
|
"tableName": "ad_groups",
|
|
2299
|
-
"ddl": "CREATE TABLE IF NOT EXISTS \"ad_groups\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"_meta_type\" TEXT NOT NULL,\n \"_meta_data\" JSON,\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID,\n \"contract_id\" UUID,\n \"tier_id\" UUID,\n \"name\" TEXT DEFAULT '',\n \"vertical_slug\" TEXT DEFAULT '',\n \"targeting\" TEXT DEFAULT '',\n \"zone_ids\" TEXT DEFAULT '',\n \"start_date\" TIMESTAMP,\n \"end_date\" TIMESTAMP,\n \"daily_budget\" REAL DEFAULT 0,\n \"total_budget\" REAL DEFAULT 0,\n \"status\" TEXT\n);",
|
|
2347
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"ad_groups\" (\n \"_sync_origin_device_id\" TEXT,\n \"_sync_revision\" INTEGER,\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"_meta_type\" TEXT NOT NULL,\n \"_meta_data\" JSON,\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID,\n \"contract_id\" UUID,\n \"tier_id\" UUID,\n \"name\" TEXT DEFAULT '',\n \"vertical_slug\" TEXT DEFAULT '',\n \"targeting\" TEXT DEFAULT '',\n \"zone_ids\" TEXT DEFAULT '',\n \"start_date\" TIMESTAMP,\n \"end_date\" TIMESTAMP,\n \"daily_budget\" REAL DEFAULT 0,\n \"total_budget\" REAL DEFAULT 0,\n \"status\" TEXT\n);",
|
|
2300
2348
|
"columns": {
|
|
2349
|
+
"_sync_origin_device_id": {
|
|
2350
|
+
"type": "TEXT"
|
|
2351
|
+
},
|
|
2352
|
+
"_sync_revision": {
|
|
2353
|
+
"type": "INTEGER"
|
|
2354
|
+
},
|
|
2301
2355
|
"id": {
|
|
2302
2356
|
"type": "UUID",
|
|
2303
2357
|
"primaryKey": true,
|
|
@@ -2433,7 +2487,7 @@
|
|
|
2433
2487
|
]
|
|
2434
2488
|
}
|
|
2435
2489
|
],
|
|
2436
|
-
"version": "
|
|
2490
|
+
"version": "7a0047b5"
|
|
2437
2491
|
},
|
|
2438
2492
|
"importPath": "@happyvertical/smrt-ads"
|
|
2439
2493
|
},
|
|
@@ -2653,8 +2707,14 @@
|
|
|
2653
2707
|
"displayLabelField": "name",
|
|
2654
2708
|
"schema": {
|
|
2655
2709
|
"tableName": "ad_variations",
|
|
2656
|
-
"ddl": "CREATE TABLE IF NOT EXISTS \"ad_variations\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"_meta_type\" TEXT NOT NULL,\n \"_meta_data\" JSON,\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID,\n \"group_id\" UUID,\n \"format_id\" UUID,\n \"asset_id\" UUID,\n \"name\" TEXT DEFAULT '',\n \"click_url\" TEXT DEFAULT '',\n \"alt_text\" TEXT DEFAULT '',\n \"weight\" INTEGER DEFAULT 1,\n \"status\" TEXT,\n \"impressions\" INTEGER DEFAULT 0,\n \"clicks\" INTEGER DEFAULT 0\n);",
|
|
2710
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"ad_variations\" (\n \"_sync_origin_device_id\" TEXT,\n \"_sync_revision\" INTEGER,\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"_meta_type\" TEXT NOT NULL,\n \"_meta_data\" JSON,\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID,\n \"group_id\" UUID,\n \"format_id\" UUID,\n \"asset_id\" UUID,\n \"name\" TEXT DEFAULT '',\n \"click_url\" TEXT DEFAULT '',\n \"alt_text\" TEXT DEFAULT '',\n \"weight\" INTEGER DEFAULT 1,\n \"status\" TEXT,\n \"impressions\" INTEGER DEFAULT 0,\n \"clicks\" INTEGER DEFAULT 0\n);",
|
|
2657
2711
|
"columns": {
|
|
2712
|
+
"_sync_origin_device_id": {
|
|
2713
|
+
"type": "TEXT"
|
|
2714
|
+
},
|
|
2715
|
+
"_sync_revision": {
|
|
2716
|
+
"type": "INTEGER"
|
|
2717
|
+
},
|
|
2658
2718
|
"id": {
|
|
2659
2719
|
"type": "UUID",
|
|
2660
2720
|
"primaryKey": true,
|
|
@@ -2799,7 +2859,7 @@
|
|
|
2799
2859
|
]
|
|
2800
2860
|
}
|
|
2801
2861
|
],
|
|
2802
|
-
"version": "
|
|
2862
|
+
"version": "bd697f86"
|
|
2803
2863
|
},
|
|
2804
2864
|
"importPath": "@happyvertical/smrt-ads"
|
|
2805
2865
|
}
|
package/dist/smrt-knowledge.json
CHANGED
|
@@ -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.60.
|
|
6
|
+
"packageVersion": "0.60.10",
|
|
7
7
|
"sourceManifestPath": "dist/manifest.json",
|
|
8
8
|
"agentDocPath": "AGENTS.md",
|
|
9
9
|
"sourceHashes": {
|
|
10
|
-
"manifest": "
|
|
11
|
-
"packageJson": "
|
|
10
|
+
"manifest": "fcd8298b2eba66c80c57ada77d7fa40e9b7b13712670b14f3df13b704f9b2481",
|
|
11
|
+
"packageJson": "a048f9f0eece50f43de942562edc336f924505e68153f51d66ad7e8848f1e664",
|
|
12
12
|
"agents": "a74f5ff1aea757073496bcd3fe01802b5a4e2f59b39a04c1bb0d11b81343f660"
|
|
13
13
|
},
|
|
14
14
|
"exports": [
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
---
|
|
2
|
+
type: "Component"
|
|
3
|
+
title: "@happyvertical/smrt-ads"
|
|
4
|
+
description: "Advertising delivery and tracking models for SMRT framework"
|
|
5
|
+
status: "stable"
|
|
6
|
+
generated:
|
|
7
|
+
by: "smrt/scripts/generate-knowledge-okf.ts"
|
|
8
|
+
at: "2026-11-05T15:48:19Z"
|
|
9
|
+
audience: "internal"
|
|
10
|
+
evidence_level: "source-inspected"
|
|
11
|
+
source_revision: "sha256:c1c82207bb60c26f1be88ca25e8923ea7989d75cd8ab53acb2ddffd009854e28"
|
|
12
|
+
sources:
|
|
13
|
+
- id: "manifest"
|
|
14
|
+
resource: "https://github.com/happyvertical/smrt/blob/main/packages/ads/package.json"
|
|
15
|
+
title: "@happyvertical/smrt-ads package manifest"
|
|
16
|
+
- id: "agents"
|
|
17
|
+
resource: "https://github.com/happyvertical/smrt/blob/main/packages/ads/AGENTS.md"
|
|
18
|
+
title: "@happyvertical/smrt-ads packages/ads/AGENTS.md"
|
|
19
|
+
---
|
|
20
|
+
|
|
21
|
+
# @happyvertical/smrt-ads
|
|
22
|
+
|
|
23
|
+
## Package
|
|
24
|
+
|
|
25
|
+
- Directory: `packages/ads`
|
|
26
|
+
- Private: no
|
|
27
|
+
- Object source: `domain-artifact`
|
|
28
|
+
- Evidence level: `source-inspected`
|
|
29
|
+
|
|
30
|
+
## Documentation
|
|
31
|
+
|
|
32
|
+
- `packages/ads/AGENTS.md`
|
|
33
|
+
|
|
34
|
+
## Framework dependencies
|
|
35
|
+
|
|
36
|
+
- [smrt-commerce](/components/smrt-commerce.md)
|
|
37
|
+
- [smrt-core](/components/smrt-core.md)
|
|
38
|
+
- [smrt-tenancy](/components/smrt-tenancy.md)
|
|
39
|
+
- [smrt-vitest](/components/smrt-vitest.md)
|
|
40
|
+
|
|
41
|
+
## SDK dependencies
|
|
42
|
+
|
|
43
|
+
- `@happyvertical/sql`
|
|
44
|
+
|
|
45
|
+
## Exports
|
|
46
|
+
|
|
47
|
+
- `.`
|
|
48
|
+
- `./manifest`
|
|
49
|
+
- `./manifest.json`
|
|
50
|
+
|
|
51
|
+
## Models
|
|
52
|
+
|
|
53
|
+
- `AdDeliveryTier` (collection `addeliverytiers`, extends `SmrtObject`)
|
|
54
|
+
- `AdDeliveryTierCollection` (collection `addeliverytiers`, extends `SmrtCollection`)
|
|
55
|
+
- `AdEvent` (collection `adevents`, extends `SmrtObject`, STI table)
|
|
56
|
+
- `AdEventCollection` (collection `adevents`, extends `SmrtCollection`)
|
|
57
|
+
- `AdFormat` (collection `adformats`, extends `SmrtObject`)
|
|
58
|
+
- `AdFormatCollection` (collection `adformats`, extends `SmrtCollection`)
|
|
59
|
+
- `AdGroup` (collection `adgroups`, extends `SmrtObject`, STI table)
|
|
60
|
+
- `AdGroupCollection` (collection `adgroups`, extends `SmrtCollection`)
|
|
61
|
+
- `AdVariation` (collection `advariations`, extends `SmrtObject`, STI table)
|
|
62
|
+
- `AdVariationCollection` (collection `advariations`, extends `SmrtCollection`)
|
|
63
|
+
|
|
64
|
+
## MCP tools
|
|
65
|
+
|
|
66
|
+
- `addeliverytier_get`: get on `@happyvertical/smrt-ads:AdDeliveryTier`
|
|
67
|
+
- `addeliverytier_list`: list on `@happyvertical/smrt-ads:AdDeliveryTier`
|
|
68
|
+
- `adevent_create`: create on `@happyvertical/smrt-ads:AdEvent`
|
|
69
|
+
- `adformat_get`: get on `@happyvertical/smrt-ads:AdFormat`
|
|
70
|
+
- `adformat_list`: list on `@happyvertical/smrt-ads:AdFormat`
|
|
71
|
+
- `adgroup_create`: create on `@happyvertical/smrt-ads:AdGroup`
|
|
72
|
+
- `adgroup_get`: get on `@happyvertical/smrt-ads:AdGroup`
|
|
73
|
+
- `adgroup_list`: list on `@happyvertical/smrt-ads:AdGroup`
|
|
74
|
+
- `advariation_create`: create on `@happyvertical/smrt-ads:AdVariation`
|
|
75
|
+
- `advariation_get`: get on `@happyvertical/smrt-ads:AdVariation`
|
|
76
|
+
- `advariation_list`: list on `@happyvertical/smrt-ads:AdVariation`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@happyvertical/smrt-ads",
|
|
3
|
-
"version": "0.60.
|
|
3
|
+
"version": "0.60.10",
|
|
4
4
|
"description": "Advertising delivery and tracking models for SMRT framework",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -19,13 +19,13 @@
|
|
|
19
19
|
"./manifest.json": "./dist/manifest.json"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@happyvertical/smrt-core": "0.60.
|
|
23
|
-
"@happyvertical/smrt-tenancy": "0.60.
|
|
22
|
+
"@happyvertical/smrt-core": "0.60.10",
|
|
23
|
+
"@happyvertical/smrt-tenancy": "0.60.10"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@happyvertical/smrt-commerce": "0.60.
|
|
27
|
-
"@happyvertical/smrt-vitest": "0.60.
|
|
28
|
-
"@happyvertical/sql": "^0.111.
|
|
26
|
+
"@happyvertical/smrt-commerce": "0.60.10",
|
|
27
|
+
"@happyvertical/smrt-vitest": "0.60.10",
|
|
28
|
+
"@happyvertical/sql": "^0.111.5",
|
|
29
29
|
"@types/node": "24.13.6",
|
|
30
30
|
"typescript": "6.0.3",
|
|
31
31
|
"vite": "8.1.6",
|