@wevion/cli 1.0.3763 → 1.0.3765

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/openapi.json +74 -2
  2. package/package.json +1 -1
package/openapi.json CHANGED
@@ -11478,7 +11478,7 @@
11478
11478
  "tags": [
11479
11479
  "analytics"
11480
11480
  ],
11481
- "description": "Returns raw ADV metric SUMS (spend, impressions, clicks, inline_link_clicks, add_to_cart, purchases, purchase_value, leads, reach, frequency) for the Analytics v2 page: aggregate totals + per-account rows + optional previous-period totals. Ratios (CPM/CTR/ROAS/CPA/CVR…) are derived client-side via weighted aggregation (Σnumerator / Σdenominator).",
11481
+ "description": "Returns raw ADV metric SUMS (spend, impressions, clicks, inline_link_clicks, add_to_cart, purchases, purchase_value, leads, reach, frequency) for the Analytics v2 page: aggregate totals + per-account rows + optional previous-period totals. Ratios (CPM/CTR/ROAS/CPA/CVR…) are derived client-side via weighted aggregation (Σnumerator / Σdenominator). `campaign_filters` narrows which campaigns of a platform/account are summed.",
11482
11482
  "parameters": [
11483
11483
  {
11484
11484
  "schema": {
@@ -11550,6 +11550,16 @@
11550
11550
  "in": "query",
11551
11551
  "name": "compare_to_date",
11552
11552
  "required": false
11553
+ },
11554
+ {
11555
+ "schema": {
11556
+ "maxLength": 8000,
11557
+ "type": "string"
11558
+ },
11559
+ "in": "query",
11560
+ "name": "campaign_filters",
11561
+ "required": false,
11562
+ "description": "JSON array of campaign filter groups, e.g. [{\"platform\":\"google\",\"mode\":\"exclude\",\"match\":\"all\",\"rules\":[{\"type\":\"text\",\"field\":\"campaign_name\",\"operator\":\"contains\",\"value\":\"[:V]\"}]}]. Each group targets one platform (optionally a subset of its ad_account_ids) and decides which of its campaigns enter the aggregation. Text rules match campaign_name / campaign_status / objective / bid_strategy / campaign_id; number rules match a metric aggregated PER CAMPAIGN over the requested range. Groups leave other platforms untouched."
11553
11563
  }
11554
11564
  ],
11555
11565
  "security": [
@@ -11764,6 +11774,32 @@
11764
11774
  }
11765
11775
  }
11766
11776
  },
11777
+ "400": {
11778
+ "description": "Invalid request - schema validation failed",
11779
+ "content": {
11780
+ "application/json": {
11781
+ "schema": {
11782
+ "type": "object",
11783
+ "required": [
11784
+ "statusCode",
11785
+ "error",
11786
+ "message"
11787
+ ],
11788
+ "properties": {
11789
+ "statusCode": {
11790
+ "type": "number"
11791
+ },
11792
+ "error": {
11793
+ "type": "string"
11794
+ },
11795
+ "message": {
11796
+ "type": "string"
11797
+ }
11798
+ }
11799
+ }
11800
+ }
11801
+ }
11802
+ },
11767
11803
  "401": {
11768
11804
  "description": "Unauthorized - missing or invalid bearer token",
11769
11805
  "content": {
@@ -11810,7 +11846,7 @@
11810
11846
  "tags": [
11811
11847
  "analytics"
11812
11848
  ],
11813
- "description": "Returns per-day, per-platform raw ADV metric SUMS (spend, impressions, clicks, inline_link_clicks, add_to_cart, purchases, purchase_value, leads, reach) from campaign_daily_insight for time-series charts. Ratios (CPM/CTR/ROAS/CPA/CVR…) and frequency are derived client-side.",
11849
+ "description": "Returns per-day, per-platform raw ADV metric SUMS (spend, impressions, clicks, inline_link_clicks, add_to_cart, purchases, purchase_value, leads, reach) from campaign_daily_insight for time-series charts. Ratios (CPM/CTR/ROAS/CPA/CVR…) and frequency are derived client-side. `campaign_filters` narrows which campaigns of a platform/account are summed, exactly as on /analytics/ad-metrics.",
11814
11850
  "parameters": [
11815
11851
  {
11816
11852
  "schema": {
@@ -11882,6 +11918,16 @@
11882
11918
  "in": "query",
11883
11919
  "name": "compare_to_date",
11884
11920
  "required": false
11921
+ },
11922
+ {
11923
+ "schema": {
11924
+ "maxLength": 8000,
11925
+ "type": "string"
11926
+ },
11927
+ "in": "query",
11928
+ "name": "campaign_filters",
11929
+ "required": false,
11930
+ "description": "JSON array of campaign filter groups, e.g. [{\"platform\":\"google\",\"mode\":\"exclude\",\"match\":\"all\",\"rules\":[{\"type\":\"text\",\"field\":\"campaign_name\",\"operator\":\"contains\",\"value\":\"[:V]\"}]}]. Each group targets one platform (optionally a subset of its ad_account_ids) and decides which of its campaigns enter the aggregation. Text rules match campaign_name / campaign_status / objective / bid_strategy / campaign_id; number rules match a metric aggregated PER CAMPAIGN over the requested range. Groups leave other platforms untouched."
11885
11931
  }
11886
11932
  ],
11887
11933
  "security": [
@@ -11966,6 +12012,32 @@
11966
12012
  }
11967
12013
  }
11968
12014
  },
12015
+ "400": {
12016
+ "description": "Invalid request - schema validation failed",
12017
+ "content": {
12018
+ "application/json": {
12019
+ "schema": {
12020
+ "type": "object",
12021
+ "required": [
12022
+ "statusCode",
12023
+ "error",
12024
+ "message"
12025
+ ],
12026
+ "properties": {
12027
+ "statusCode": {
12028
+ "type": "number"
12029
+ },
12030
+ "error": {
12031
+ "type": "string"
12032
+ },
12033
+ "message": {
12034
+ "type": "string"
12035
+ }
12036
+ }
12037
+ }
12038
+ }
12039
+ }
12040
+ },
11969
12041
  "401": {
11970
12042
  "description": "Unauthorized - missing or invalid bearer token",
11971
12043
  "content": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wevion/cli",
3
- "version": "1.0.3763",
3
+ "version": "1.0.3765",
4
4
  "description": "Wevion API command-line interface — generated from the public OpenAPI spec",
5
5
  "type": "module",
6
6
  "bin": {