@happyvertical/smrt-ads 0.61.3 → 0.61.4

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,14 +2,14 @@
2
2
  "version": "1.0.0",
3
3
  "timestamp": 0,
4
4
  "packageName": "@happyvertical/smrt-ads",
5
- "packageVersion": "0.61.3",
5
+ "packageVersion": "0.61.4",
6
6
  "objects": {
7
7
  "@happyvertical/smrt-ads:AdDeliveryTierCollection": {
8
8
  "name": "addeliverytiercollection",
9
9
  "className": "AdDeliveryTierCollection",
10
10
  "qualifiedName": "@happyvertical/smrt-ads:AdDeliveryTierCollection",
11
11
  "collection": "addeliverytiers",
12
- "filePath": "/home/runner/work/smrt/smrt/packages/ads/src/collections/AdDeliveryTierCollection.ts",
12
+ "filePath": "src/collections/AdDeliveryTierCollection.ts",
13
13
  "packageName": "@happyvertical/smrt-ads",
14
14
  "fields": {},
15
15
  "methods": {
@@ -177,7 +177,7 @@
177
177
  "className": "AdEventCollection",
178
178
  "qualifiedName": "@happyvertical/smrt-ads:AdEventCollection",
179
179
  "collection": "adevents",
180
- "filePath": "/home/runner/work/smrt/smrt/packages/ads/src/collections/AdEventCollection.ts",
180
+ "filePath": "src/collections/AdEventCollection.ts",
181
181
  "packageName": "@happyvertical/smrt-ads",
182
182
  "fields": {},
183
183
  "methods": {
@@ -546,7 +546,7 @@
546
546
  "className": "AdFormatCollection",
547
547
  "qualifiedName": "@happyvertical/smrt-ads:AdFormatCollection",
548
548
  "collection": "adformats",
549
- "filePath": "/home/runner/work/smrt/smrt/packages/ads/src/collections/AdFormatCollection.ts",
549
+ "filePath": "src/collections/AdFormatCollection.ts",
550
550
  "packageName": "@happyvertical/smrt-ads",
551
551
  "fields": {},
552
552
  "methods": {
@@ -723,7 +723,7 @@
723
723
  "className": "AdGroupCollection",
724
724
  "qualifiedName": "@happyvertical/smrt-ads:AdGroupCollection",
725
725
  "collection": "adgroups",
726
- "filePath": "/home/runner/work/smrt/smrt/packages/ads/src/collections/AdGroupCollection.ts",
726
+ "filePath": "src/collections/AdGroupCollection.ts",
727
727
  "packageName": "@happyvertical/smrt-ads",
728
728
  "fields": {},
729
729
  "methods": {
@@ -1060,7 +1060,7 @@
1060
1060
  "className": "AdVariationCollection",
1061
1061
  "qualifiedName": "@happyvertical/smrt-ads:AdVariationCollection",
1062
1062
  "collection": "advariations",
1063
- "filePath": "/home/runner/work/smrt/smrt/packages/ads/src/collections/AdVariationCollection.ts",
1063
+ "filePath": "src/collections/AdVariationCollection.ts",
1064
1064
  "packageName": "@happyvertical/smrt-ads",
1065
1065
  "fields": {},
1066
1066
  "methods": {
@@ -1398,34 +1398,46 @@
1398
1398
  "className": "AdDeliveryTier",
1399
1399
  "qualifiedName": "@happyvertical/smrt-ads:AdDeliveryTier",
1400
1400
  "collection": "addeliverytiers",
1401
- "filePath": "/home/runner/work/smrt/smrt/packages/ads/src/models/AdDeliveryTier.ts",
1401
+ "filePath": "src/models/AdDeliveryTier.ts",
1402
1402
  "packageName": "@happyvertical/smrt-ads",
1403
1403
  "fields": {
1404
1404
  "name": {
1405
1405
  "type": "text",
1406
- "required": false,
1407
- "default": "",
1408
- "description": "What the tier is called, for example Sponsorship, Standard or House.",
1409
1406
  "_meta": {
1407
+ "__statedOptions": [
1408
+ "description",
1409
+ "default"
1410
+ ],
1410
1411
  "description": "What the tier is called, for example Sponsorship, Standard or House."
1411
- }
1412
+ },
1413
+ "required": false,
1414
+ "default": "",
1415
+ "description": "What the tier is called, for example Sponsorship, Standard or House."
1412
1416
  },
1413
1417
  "priority": {
1414
1418
  "type": "integer",
1415
- "required": false,
1416
- "default": 0,
1417
- "description": "The order tiers are tried in: 1 is tried first, then 2, and so on.",
1418
1419
  "_meta": {
1420
+ "__statedOptions": [
1421
+ "description",
1422
+ "default"
1423
+ ],
1419
1424
  "description": "The order tiers are tried in: 1 is tried first, then 2, and so on."
1420
- }
1425
+ },
1426
+ "required": false,
1427
+ "default": 0,
1428
+ "description": "The order tiers are tried in: 1 is tried first, then 2, and so on."
1421
1429
  },
1422
1430
  "pricingModel": {
1423
1431
  "type": "text",
1424
- "required": false,
1425
- "description": "How ads in this tier are charged: a fixed price, per thousand showings, per click, or per sale.",
1426
1432
  "_meta": {
1433
+ "__statedOptions": [
1434
+ "description",
1435
+ "enum"
1436
+ ],
1427
1437
  "description": "How ads in this tier are charged: a fixed price, per thousand showings, per click, or per sale."
1428
1438
  },
1439
+ "required": false,
1440
+ "description": "How ads in this tier are charged: a fixed price, per thousand showings, per click, or per sale.",
1429
1441
  "enum": [
1430
1442
  "fixed",
1431
1443
  "cpm",
@@ -1435,12 +1447,16 @@
1435
1447
  },
1436
1448
  "description": {
1437
1449
  "type": "text",
1438
- "required": false,
1439
- "default": "",
1440
- "description": "A note about what this tier is for.",
1441
1450
  "_meta": {
1451
+ "__statedOptions": [
1452
+ "description",
1453
+ "default"
1454
+ ],
1442
1455
  "description": "A note about what this tier is for."
1443
- }
1456
+ },
1457
+ "required": false,
1458
+ "default": "",
1459
+ "description": "A note about what this tier is for."
1444
1460
  }
1445
1461
  },
1446
1462
  "methods": {
@@ -1583,23 +1599,26 @@
1583
1599
  "qualifiedName": "@happyvertical/smrt-ads:AdEvent",
1584
1600
  "collection": "adevents",
1585
1601
  "description": "AdEvent tracks ad impressions, clicks, and conversions. Events are immutable (append-only, no update/delete).",
1586
- "filePath": "/home/runner/work/smrt/smrt/packages/ads/src/models/AdEvent.ts",
1602
+ "filePath": "src/models/AdEvent.ts",
1587
1603
  "packageName": "@happyvertical/smrt-ads",
1588
1604
  "fields": {
1589
1605
  "created_at": {
1590
1606
  "type": "datetime",
1607
+ "_meta": {
1608
+ "__statedOptions": []
1609
+ },
1591
1610
  "required": false
1592
1611
  },
1593
1612
  "updated_at": {
1594
1613
  "type": "datetime",
1614
+ "_meta": {
1615
+ "__statedOptions": []
1616
+ },
1595
1617
  "required": false
1596
1618
  },
1597
1619
  "tenantId": {
1598
1620
  "type": "text",
1599
- "required": false,
1600
1621
  "_meta": {
1601
- "sqlType": "UUID",
1602
- "nullable": true,
1603
1622
  "__tenancy": {
1604
1623
  "isTenantIdField": true,
1605
1624
  "autoFilter": true,
@@ -1609,26 +1628,56 @@
1609
1628
  "mode": "optional",
1610
1629
  "field": "tenantId",
1611
1630
  "allowSuperAdminBypass": false
1612
- }
1613
- }
1631
+ },
1632
+ "__statedOptions": [
1633
+ "sqlType",
1634
+ "nullable",
1635
+ "__tenancy",
1636
+ "required"
1637
+ ],
1638
+ "sqlType": "UUID",
1639
+ "nullable": true,
1640
+ "required": false
1641
+ },
1642
+ "required": false
1614
1643
  },
1615
1644
  "variationId": {
1616
1645
  "type": "foreignKey",
1646
+ "_meta": {
1647
+ "__statedOptions": [
1648
+ "related"
1649
+ ]
1650
+ },
1617
1651
  "required": false,
1618
1652
  "related": "AdVariation"
1619
1653
  },
1620
1654
  "zoneId": {
1621
1655
  "type": "crossPackageRef",
1656
+ "_meta": {
1657
+ "__statedOptions": [
1658
+ "related"
1659
+ ]
1660
+ },
1622
1661
  "required": false,
1623
1662
  "related": "@happyvertical/smrt-properties:Zone"
1624
1663
  },
1625
1664
  "siteId": {
1626
1665
  "type": "text",
1666
+ "_meta": {
1667
+ "__statedOptions": [
1668
+ "default"
1669
+ ]
1670
+ },
1627
1671
  "required": false,
1628
1672
  "default": ""
1629
1673
  },
1630
1674
  "eventType": {
1631
1675
  "type": "text",
1676
+ "_meta": {
1677
+ "__statedOptions": [
1678
+ "enum"
1679
+ ]
1680
+ },
1632
1681
  "required": false,
1633
1682
  "enum": [
1634
1683
  "impression",
@@ -1638,10 +1687,18 @@
1638
1687
  },
1639
1688
  "timestamp": {
1640
1689
  "type": "datetime",
1690
+ "_meta": {
1691
+ "__statedOptions": []
1692
+ },
1641
1693
  "required": false
1642
1694
  },
1643
1695
  "metadata": {
1644
1696
  "type": "text",
1697
+ "_meta": {
1698
+ "__statedOptions": [
1699
+ "default"
1700
+ ]
1701
+ },
1645
1702
  "required": false,
1646
1703
  "default": ""
1647
1704
  }
@@ -1851,43 +1908,59 @@
1851
1908
  "className": "AdFormat",
1852
1909
  "qualifiedName": "@happyvertical/smrt-ads:AdFormat",
1853
1910
  "collection": "adformats",
1854
- "filePath": "/home/runner/work/smrt/smrt/packages/ads/src/models/AdFormat.ts",
1911
+ "filePath": "src/models/AdFormat.ts",
1855
1912
  "packageName": "@happyvertical/smrt-ads",
1856
1913
  "fields": {
1857
1914
  "name": {
1858
1915
  "type": "text",
1859
- "required": false,
1860
- "default": "",
1861
- "description": "What the size is called, for example Leaderboard.",
1862
1916
  "_meta": {
1917
+ "__statedOptions": [
1918
+ "description",
1919
+ "default"
1920
+ ],
1863
1921
  "description": "What the size is called, for example Leaderboard."
1864
- }
1922
+ },
1923
+ "required": false,
1924
+ "default": "",
1925
+ "description": "What the size is called, for example Leaderboard."
1865
1926
  },
1866
1927
  "width": {
1867
1928
  "type": "integer",
1868
- "required": false,
1869
- "default": 0,
1870
- "description": "How wide the ad is, in pixels.",
1871
1929
  "_meta": {
1930
+ "__statedOptions": [
1931
+ "description",
1932
+ "default"
1933
+ ],
1872
1934
  "description": "How wide the ad is, in pixels."
1873
- }
1935
+ },
1936
+ "required": false,
1937
+ "default": 0,
1938
+ "description": "How wide the ad is, in pixels."
1874
1939
  },
1875
1940
  "height": {
1876
1941
  "type": "integer",
1877
- "required": false,
1878
- "default": 0,
1879
- "description": "How tall the ad is, in pixels.",
1880
1942
  "_meta": {
1943
+ "__statedOptions": [
1944
+ "description",
1945
+ "default"
1946
+ ],
1881
1947
  "description": "How tall the ad is, in pixels."
1882
- }
1948
+ },
1949
+ "required": false,
1950
+ "default": 0,
1951
+ "description": "How tall the ad is, in pixels."
1883
1952
  },
1884
1953
  "formatType": {
1885
1954
  "type": "text",
1886
- "required": false,
1887
- "description": "What kind of ad fits this size: a picture, a piece written to look like your own content, or a video.",
1888
1955
  "_meta": {
1956
+ "__statedOptions": [
1957
+ "description",
1958
+ "enum"
1959
+ ],
1889
1960
  "description": "What kind of ad fits this size: a picture, a piece written to look like your own content, or a video."
1890
1961
  },
1962
+ "required": false,
1963
+ "description": "What kind of ad fits this size: a picture, a piece written to look like your own content, or a video.",
1891
1964
  "enum": [
1892
1965
  "banner",
1893
1966
  "native",
@@ -1896,12 +1969,16 @@
1896
1969
  },
1897
1970
  "description": {
1898
1971
  "type": "text",
1899
- "required": false,
1900
- "default": "",
1901
- "description": "A note about where this size is usually used.",
1902
1972
  "_meta": {
1973
+ "__statedOptions": [
1974
+ "description",
1975
+ "default"
1976
+ ],
1903
1977
  "description": "A note about where this size is usually used."
1904
- }
1978
+ },
1979
+ "required": false,
1980
+ "default": "",
1981
+ "description": "A note about where this size is usually used."
1905
1982
  }
1906
1983
  },
1907
1984
  "methods": {
@@ -2047,23 +2124,26 @@
2047
2124
  "qualifiedName": "@happyvertical/smrt-ads:AdGroup",
2048
2125
  "collection": "adgroups",
2049
2126
  "description": "AdGroup organizes ad creatives with targeting and budget controls.",
2050
- "filePath": "/home/runner/work/smrt/smrt/packages/ads/src/models/AdGroup.ts",
2127
+ "filePath": "src/models/AdGroup.ts",
2051
2128
  "packageName": "@happyvertical/smrt-ads",
2052
2129
  "fields": {
2053
2130
  "created_at": {
2054
2131
  "type": "datetime",
2132
+ "_meta": {
2133
+ "__statedOptions": []
2134
+ },
2055
2135
  "required": false
2056
2136
  },
2057
2137
  "updated_at": {
2058
2138
  "type": "datetime",
2139
+ "_meta": {
2140
+ "__statedOptions": []
2141
+ },
2059
2142
  "required": false
2060
2143
  },
2061
2144
  "tenantId": {
2062
2145
  "type": "text",
2063
- "required": false,
2064
2146
  "_meta": {
2065
- "sqlType": "UUID",
2066
- "nullable": true,
2067
2147
  "__tenancy": {
2068
2148
  "isTenantIdField": true,
2069
2149
  "autoFilter": true,
@@ -2073,97 +2153,152 @@
2073
2153
  "mode": "optional",
2074
2154
  "field": "tenantId",
2075
2155
  "allowSuperAdminBypass": false
2076
- }
2077
- }
2156
+ },
2157
+ "__statedOptions": [
2158
+ "sqlType",
2159
+ "nullable",
2160
+ "__tenancy",
2161
+ "required"
2162
+ ],
2163
+ "sqlType": "UUID",
2164
+ "nullable": true,
2165
+ "required": false
2166
+ },
2167
+ "required": false
2078
2168
  },
2079
2169
  "contractId": {
2080
2170
  "type": "crossPackageRef",
2081
- "required": false,
2082
- "related": "@happyvertical/smrt-commerce:SalesContract",
2083
- "description": "The sales contract this campaign is sold under, if there is one.",
2084
2171
  "_meta": {
2172
+ "__statedOptions": [
2173
+ "validateSubtype",
2174
+ "description",
2175
+ "related"
2176
+ ],
2085
2177
  "description": "The sales contract this campaign is sold under, if there is one.",
2086
2178
  "validateSubtype": true
2087
- }
2179
+ },
2180
+ "required": false,
2181
+ "related": "@happyvertical/smrt-commerce:SalesContract",
2182
+ "description": "The sales contract this campaign is sold under, if there is one."
2088
2183
  },
2089
2184
  "tierId": {
2090
2185
  "type": "foreignKey",
2091
- "required": false,
2092
- "related": "AdDeliveryTier",
2093
- "description": "The priority tier the campaign runs in. Tiers are tried in order when more than one campaign could show.",
2094
2186
  "_meta": {
2187
+ "__statedOptions": [
2188
+ "description",
2189
+ "related"
2190
+ ],
2095
2191
  "description": "The priority tier the campaign runs in. Tiers are tried in order when more than one campaign could show."
2096
- }
2192
+ },
2193
+ "required": false,
2194
+ "related": "AdDeliveryTier",
2195
+ "description": "The priority tier the campaign runs in. Tiers are tried in order when more than one campaign could show."
2097
2196
  },
2098
2197
  "name": {
2099
2198
  "type": "text",
2100
- "required": false,
2101
- "default": "",
2102
- "description": "What you call the campaign, for example Summer sale.",
2103
2199
  "_meta": {
2200
+ "__statedOptions": [
2201
+ "description",
2202
+ "default"
2203
+ ],
2104
2204
  "description": "What you call the campaign, for example Summer sale."
2105
- }
2205
+ },
2206
+ "required": false,
2207
+ "default": "",
2208
+ "description": "What you call the campaign, for example Summer sale."
2106
2209
  },
2107
2210
  "verticalSlug": {
2108
2211
  "type": "text",
2109
- "required": false,
2110
- "default": "",
2111
- "description": "The category the campaign belongs to, such as retail.",
2112
2212
  "_meta": {
2213
+ "__statedOptions": [
2214
+ "description",
2215
+ "default"
2216
+ ],
2113
2217
  "description": "The category the campaign belongs to, such as retail."
2114
- }
2218
+ },
2219
+ "required": false,
2220
+ "default": "",
2221
+ "description": "The category the campaign belongs to, such as retail."
2115
2222
  },
2116
2223
  "targeting": {
2117
2224
  "type": "text",
2225
+ "_meta": {
2226
+ "__statedOptions": [
2227
+ "default"
2228
+ ]
2229
+ },
2118
2230
  "required": false,
2119
2231
  "default": ""
2120
2232
  },
2121
2233
  "zoneIds": {
2122
2234
  "type": "text",
2235
+ "_meta": {
2236
+ "__statedOptions": [
2237
+ "default"
2238
+ ]
2239
+ },
2123
2240
  "required": false,
2124
2241
  "default": ""
2125
2242
  },
2126
2243
  "startDate": {
2127
2244
  "type": "datetime",
2128
- "required": false,
2129
- "description": "The first day the campaign can show.",
2130
2245
  "_meta": {
2246
+ "__statedOptions": [
2247
+ "description"
2248
+ ],
2131
2249
  "description": "The first day the campaign can show."
2132
- }
2250
+ },
2251
+ "required": false,
2252
+ "description": "The first day the campaign can show."
2133
2253
  },
2134
2254
  "endDate": {
2135
2255
  "type": "datetime",
2136
- "required": false,
2137
- "description": "The last day the campaign can show.",
2138
2256
  "_meta": {
2257
+ "__statedOptions": [
2258
+ "description"
2259
+ ],
2139
2260
  "description": "The last day the campaign can show."
2140
- }
2261
+ },
2262
+ "required": false,
2263
+ "description": "The last day the campaign can show."
2141
2264
  },
2142
2265
  "dailyBudget": {
2143
2266
  "type": "decimal",
2144
- "required": false,
2145
- "default": 0,
2146
- "description": "The most to spend in one day. The app shows this but does not stop the campaign by itself.",
2147
2267
  "_meta": {
2268
+ "__statedOptions": [
2269
+ "description",
2270
+ "default"
2271
+ ],
2148
2272
  "description": "The most to spend in one day. The app shows this but does not stop the campaign by itself."
2149
- }
2273
+ },
2274
+ "required": false,
2275
+ "default": 0,
2276
+ "description": "The most to spend in one day. The app shows this but does not stop the campaign by itself."
2150
2277
  },
2151
2278
  "totalBudget": {
2152
2279
  "type": "decimal",
2153
- "required": false,
2154
- "default": 0,
2155
- "description": "The most to spend over the whole campaign.",
2156
2280
  "_meta": {
2281
+ "__statedOptions": [
2282
+ "description",
2283
+ "default"
2284
+ ],
2157
2285
  "description": "The most to spend over the whole campaign."
2158
- }
2286
+ },
2287
+ "required": false,
2288
+ "default": 0,
2289
+ "description": "The most to spend over the whole campaign."
2159
2290
  },
2160
2291
  "status": {
2161
2292
  "type": "text",
2162
- "required": false,
2163
- "description": "Where the campaign stands: draft, active, paused or completed. Only active campaigns show ads.",
2164
2293
  "_meta": {
2294
+ "__statedOptions": [
2295
+ "description",
2296
+ "enum"
2297
+ ],
2165
2298
  "description": "Where the campaign stands: draft, active, paused or completed. Only active campaigns show ads."
2166
2299
  },
2300
+ "required": false,
2301
+ "description": "Where the campaign stands: draft, active, paused or completed. Only active campaigns show ads.",
2167
2302
  "enum": [
2168
2303
  "draft",
2169
2304
  "active",
@@ -2497,23 +2632,26 @@
2497
2632
  "qualifiedName": "@happyvertical/smrt-ads:AdVariation",
2498
2633
  "collection": "advariations",
2499
2634
  "description": "AdVariation represents a creative asset within an ad group. Supports A/B testing via weighted selection.",
2500
- "filePath": "/home/runner/work/smrt/smrt/packages/ads/src/models/AdVariation.ts",
2635
+ "filePath": "src/models/AdVariation.ts",
2501
2636
  "packageName": "@happyvertical/smrt-ads",
2502
2637
  "fields": {
2503
2638
  "created_at": {
2504
2639
  "type": "datetime",
2640
+ "_meta": {
2641
+ "__statedOptions": []
2642
+ },
2505
2643
  "required": false
2506
2644
  },
2507
2645
  "updated_at": {
2508
2646
  "type": "datetime",
2647
+ "_meta": {
2648
+ "__statedOptions": []
2649
+ },
2509
2650
  "required": false
2510
2651
  },
2511
2652
  "tenantId": {
2512
2653
  "type": "text",
2513
- "required": false,
2514
2654
  "_meta": {
2515
- "sqlType": "UUID",
2516
- "nullable": true,
2517
2655
  "__tenancy": {
2518
2656
  "isTenantIdField": true,
2519
2657
  "autoFilter": true,
@@ -2523,79 +2661,121 @@
2523
2661
  "mode": "optional",
2524
2662
  "field": "tenantId",
2525
2663
  "allowSuperAdminBypass": false
2526
- }
2527
- }
2664
+ },
2665
+ "__statedOptions": [
2666
+ "sqlType",
2667
+ "nullable",
2668
+ "__tenancy",
2669
+ "required"
2670
+ ],
2671
+ "sqlType": "UUID",
2672
+ "nullable": true,
2673
+ "required": false
2674
+ },
2675
+ "required": false
2528
2676
  },
2529
2677
  "groupId": {
2530
2678
  "type": "foreignKey",
2531
- "required": false,
2532
- "related": "AdGroup",
2533
- "description": "The campaign this ad belongs to.",
2534
2679
  "_meta": {
2680
+ "__statedOptions": [
2681
+ "description",
2682
+ "related"
2683
+ ],
2535
2684
  "description": "The campaign this ad belongs to."
2536
- }
2685
+ },
2686
+ "required": false,
2687
+ "related": "AdGroup",
2688
+ "description": "The campaign this ad belongs to."
2537
2689
  },
2538
2690
  "formatId": {
2539
2691
  "type": "foreignKey",
2540
- "required": false,
2541
- "related": "AdFormat",
2542
- "description": "The ad size this ad is made for.",
2543
2692
  "_meta": {
2693
+ "__statedOptions": [
2694
+ "description",
2695
+ "related"
2696
+ ],
2544
2697
  "description": "The ad size this ad is made for."
2545
- }
2698
+ },
2699
+ "required": false,
2700
+ "related": "AdFormat",
2701
+ "description": "The ad size this ad is made for."
2546
2702
  },
2547
2703
  "assetId": {
2548
2704
  "type": "crossPackageRef",
2549
- "required": false,
2550
- "related": "@happyvertical/smrt-assets:Asset",
2551
- "description": "The picture people see.",
2552
2705
  "_meta": {
2706
+ "__statedOptions": [
2707
+ "description",
2708
+ "related"
2709
+ ],
2553
2710
  "description": "The picture people see."
2554
- }
2711
+ },
2712
+ "required": false,
2713
+ "related": "@happyvertical/smrt-assets:Asset",
2714
+ "description": "The picture people see."
2555
2715
  },
2556
2716
  "name": {
2557
2717
  "type": "text",
2558
- "required": false,
2559
- "default": "",
2560
- "description": "What you call this ad, for example Version A, blue button.",
2561
2718
  "_meta": {
2719
+ "__statedOptions": [
2720
+ "description",
2721
+ "default"
2722
+ ],
2562
2723
  "description": "What you call this ad, for example Version A, blue button."
2563
- }
2724
+ },
2725
+ "required": false,
2726
+ "default": "",
2727
+ "description": "What you call this ad, for example Version A, blue button."
2564
2728
  },
2565
2729
  "clickUrl": {
2566
2730
  "type": "text",
2567
- "required": false,
2568
- "default": "",
2569
- "description": "The web address people go to when they tap the ad.",
2570
2731
  "_meta": {
2732
+ "__statedOptions": [
2733
+ "description",
2734
+ "default"
2735
+ ],
2571
2736
  "description": "The web address people go to when they tap the ad."
2572
- }
2737
+ },
2738
+ "required": false,
2739
+ "default": "",
2740
+ "description": "The web address people go to when they tap the ad."
2573
2741
  },
2574
2742
  "altText": {
2575
2743
  "type": "text",
2576
- "required": false,
2577
- "default": "",
2578
- "description": "A few words that describe the picture for people who cannot see it.",
2579
2744
  "_meta": {
2745
+ "__statedOptions": [
2746
+ "description",
2747
+ "default"
2748
+ ],
2580
2749
  "description": "A few words that describe the picture for people who cannot see it."
2581
- }
2750
+ },
2751
+ "required": false,
2752
+ "default": "",
2753
+ "description": "A few words that describe the picture for people who cannot see it."
2582
2754
  },
2583
2755
  "weight": {
2584
2756
  "type": "integer",
2585
- "required": false,
2586
- "default": 1,
2587
- "description": "How often this ad shows compared with the others in its campaign: an ad with weight 2 shows twice as often as one with weight 1.",
2588
2757
  "_meta": {
2758
+ "__statedOptions": [
2759
+ "description",
2760
+ "default"
2761
+ ],
2589
2762
  "description": "How often this ad shows compared with the others in its campaign: an ad with weight 2 shows twice as often as one with weight 1."
2590
- }
2763
+ },
2764
+ "required": false,
2765
+ "default": 1,
2766
+ "description": "How often this ad shows compared with the others in its campaign: an ad with weight 2 shows twice as often as one with weight 1."
2591
2767
  },
2592
2768
  "status": {
2593
2769
  "type": "text",
2594
- "required": false,
2595
- "description": "Where the ad stands: draft, active or paused. Only active ads show.",
2596
2770
  "_meta": {
2771
+ "__statedOptions": [
2772
+ "description",
2773
+ "enum"
2774
+ ],
2597
2775
  "description": "Where the ad stands: draft, active or paused. Only active ads show."
2598
2776
  },
2777
+ "required": false,
2778
+ "description": "Where the ad stands: draft, active or paused. Only active ads show.",
2599
2779
  "enum": [
2600
2780
  "draft",
2601
2781
  "active",
@@ -2604,21 +2784,29 @@
2604
2784
  },
2605
2785
  "impressions": {
2606
2786
  "type": "integer",
2607
- "required": false,
2608
- "default": 0,
2609
- "description": "How many times the ad has been shown. The app counts this as it serves ads and refreshes it a little later.",
2610
2787
  "_meta": {
2788
+ "__statedOptions": [
2789
+ "description",
2790
+ "default"
2791
+ ],
2611
2792
  "description": "How many times the ad has been shown. The app counts this as it serves ads and refreshes it a little later."
2612
- }
2793
+ },
2794
+ "required": false,
2795
+ "default": 0,
2796
+ "description": "How many times the ad has been shown. The app counts this as it serves ads and refreshes it a little later."
2613
2797
  },
2614
2798
  "clicks": {
2615
2799
  "type": "integer",
2616
- "required": false,
2617
- "default": 0,
2618
- "description": "How many times the ad has been tapped. The app counts this as it serves ads and refreshes it a little later.",
2619
2800
  "_meta": {
2801
+ "__statedOptions": [
2802
+ "description",
2803
+ "default"
2804
+ ],
2620
2805
  "description": "How many times the ad has been tapped. The app counts this as it serves ads and refreshes it a little later."
2621
- }
2806
+ },
2807
+ "required": false,
2808
+ "default": 0,
2809
+ "description": "How many times the ad has been tapped. The app counts this as it serves ads and refreshes it a little later."
2622
2810
  }
2623
2811
  },
2624
2812
  "methods": {
@@ -3104,5 +3292,6 @@
3104
3292
  "@happyvertical/smrt-tenancy"
3105
3293
  ]
3106
3294
  },
3295
+ "schemaFingerprint": "869d249b80fe2e624f98916eb77a909e4604805267562def7301df6529d0ff9f",
3107
3296
  "stampsConstructors": true
3108
3297
  }