@happyvertical/smrt-ads 0.57.45 → 0.57.47

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.
@@ -2,7 +2,7 @@
2
2
  "version": "1.0.0",
3
3
  "timestamp": 0,
4
4
  "packageName": "@happyvertical/smrt-ads",
5
- "packageVersion": "0.57.45",
5
+ "packageVersion": "0.57.47",
6
6
  "objects": {
7
7
  "@happyvertical/smrt-ads:AdDeliveryTierCollection": {
8
8
  "name": "addeliverytiercollection",
@@ -88,6 +88,11 @@
88
88
  "extendsTypeArg": "AdDeliveryTier",
89
89
  "exportName": "AdDeliveryTierCollection",
90
90
  "collectionExportName": "AdDeliveryTierCollectionCollection",
91
+ "collectionOf": "@happyvertical/smrt-ads:AdDeliveryTier",
92
+ "inheritedExposure": [
93
+ "api",
94
+ "mcp"
95
+ ],
91
96
  "schema": {
92
97
  "tableName": "ad_delivery_tiers",
93
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);",
@@ -399,6 +404,12 @@
399
404
  "extendsTypeArg": "AdEvent",
400
405
  "exportName": "AdEventCollection",
401
406
  "collectionExportName": "AdEventCollectionCollection",
407
+ "collectionOf": "@happyvertical/smrt-ads:AdEvent",
408
+ "inheritedExposure": [
409
+ "api",
410
+ "mcp",
411
+ "cli"
412
+ ],
402
413
  "schema": {
403
414
  "tableName": "ad_events",
404
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);",
@@ -605,6 +616,11 @@
605
616
  "extendsTypeArg": "AdFormat",
606
617
  "exportName": "AdFormatCollection",
607
618
  "collectionExportName": "AdFormatCollectionCollection",
619
+ "collectionOf": "@happyvertical/smrt-ads:AdFormat",
620
+ "inheritedExposure": [
621
+ "api",
622
+ "mcp"
623
+ ],
608
624
  "schema": {
609
625
  "tableName": "ad_formats",
610
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);",
@@ -867,6 +883,11 @@
867
883
  "extendsTypeArg": "AdGroup",
868
884
  "exportName": "AdGroupCollection",
869
885
  "collectionExportName": "AdGroupCollectionCollection",
886
+ "collectionOf": "@happyvertical/smrt-ads:AdGroup",
887
+ "inheritedExposure": [
888
+ "api",
889
+ "mcp"
890
+ ],
870
891
  "schema": {
871
892
  "tableName": "ad_groups",
872
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);",
@@ -1185,6 +1206,11 @@
1185
1206
  "extendsTypeArg": "AdVariation",
1186
1207
  "exportName": "AdVariationCollection",
1187
1208
  "collectionExportName": "AdVariationCollectionCollection",
1209
+ "collectionOf": "@happyvertical/smrt-ads:AdVariation",
1210
+ "inheritedExposure": [
1211
+ "api",
1212
+ "mcp"
1213
+ ],
1188
1214
  "schema": {
1189
1215
  "tableName": "ad_variations",
1190
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);",
@@ -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.57.45",
6
+ "packageVersion": "0.57.47",
7
7
  "sourceManifestPath": "dist/manifest.json",
8
8
  "agentDocPath": "AGENTS.md",
9
9
  "sourceHashes": {
10
- "manifest": "c13b7aa15ff58b618031e8a7ab92b733b139e87723043fadb4c0e75f375c692b",
11
- "packageJson": "bec402efa469eba377d859b31839bbcc6785bcbae683aeacdaba40f02291c971",
10
+ "manifest": "687b5fa3915d0bf4cbd722a8be1cf5a314d29f4fd8c1014619abb058aad744e2",
11
+ "packageJson": "6cbf62b7d092b51466051d5cbca6afcdb6d4bf68885b52ff71bfb4597bb4c561",
12
12
  "agents": "a74f5ff1aea757073496bcd3fe01802b5a4e2f59b39a04c1bb0d11b81343f660"
13
13
  },
14
14
  "exports": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@happyvertical/smrt-ads",
3
- "version": "0.57.45",
3
+ "version": "0.57.47",
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.57.45",
23
- "@happyvertical/smrt-tenancy": "0.57.45"
22
+ "@happyvertical/smrt-core": "0.57.47",
23
+ "@happyvertical/smrt-tenancy": "0.57.47"
24
24
  },
25
25
  "devDependencies": {
26
- "@happyvertical/smrt-commerce": "0.57.45",
27
- "@happyvertical/smrt-vitest": "0.57.45",
28
- "@happyvertical/sql": "^0.111.0",
26
+ "@happyvertical/smrt-commerce": "0.57.47",
27
+ "@happyvertical/smrt-vitest": "0.57.47",
28
+ "@happyvertical/sql": "^0.111.3",
29
29
  "@types/node": "24.13.6",
30
30
  "typescript": "6.0.3",
31
31
  "vite": "8.1.6",