@wevion/cli 1.0.3362 → 1.0.3372
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/openapi.json +164 -17
- package/package.json +1 -1
package/openapi.json
CHANGED
|
@@ -291316,7 +291316,34 @@
|
|
|
291316
291316
|
}
|
|
291317
291317
|
},
|
|
291318
291318
|
"call_to_action": {
|
|
291319
|
-
"
|
|
291319
|
+
"enum": [
|
|
291320
|
+
"",
|
|
291321
|
+
"LEARN_MORE",
|
|
291322
|
+
"SHOP_NOW",
|
|
291323
|
+
"SIGN_UP",
|
|
291324
|
+
"BOOK_NOW",
|
|
291325
|
+
"DOWNLOAD",
|
|
291326
|
+
"CONTACT_US",
|
|
291327
|
+
"SUBSCRIBE",
|
|
291328
|
+
"APPLY_NOW",
|
|
291329
|
+
"GET_OFFER",
|
|
291330
|
+
"SEND_MESSAGE",
|
|
291331
|
+
"WATCH_MORE",
|
|
291332
|
+
"GET_QUOTE",
|
|
291333
|
+
"INSTALL_APP",
|
|
291334
|
+
"NO_BUTTON",
|
|
291335
|
+
"SHOP_WITH_AI",
|
|
291336
|
+
"TRY_ON_WITH_AI",
|
|
291337
|
+
"CHAT_NOW",
|
|
291338
|
+
"MAKE_AN_APPOINTMENT",
|
|
291339
|
+
"ORDER_NOW",
|
|
291340
|
+
"VISIT_PROFILE",
|
|
291341
|
+
"INSTALL_MOBILE_APP",
|
|
291342
|
+
"USE_APP",
|
|
291343
|
+
"LISTEN_NOW",
|
|
291344
|
+
"SEE_MENU"
|
|
291345
|
+
],
|
|
291346
|
+
"description": "Call to action type. One of: LEARN_MORE, SHOP_NOW, SIGN_UP, BOOK_NOW, DOWNLOAD, CONTACT_US, SUBSCRIBE, APPLY_NOW, GET_OFFER, SEND_MESSAGE, WATCH_MORE, GET_QUOTE, INSTALL_APP, NO_BUTTON, SHOP_WITH_AI, TRY_ON_WITH_AI, CHAT_NOW, MAKE_AN_APPOINTMENT, ORDER_NOW, VISIT_PROFILE, INSTALL_MOBILE_APP, USE_APP, LISTEN_NOW, SEE_MENU. Empty string means \"worker default\".",
|
|
291320
291347
|
"type": "string"
|
|
291321
291348
|
},
|
|
291322
291349
|
"target_language": {
|
|
@@ -291514,44 +291541,83 @@
|
|
|
291514
291541
|
"type": "string"
|
|
291515
291542
|
},
|
|
291516
291543
|
"publisher_platforms": {
|
|
291517
|
-
"description": "Manual publisher platforms: facebook, instagram, audience_network, messenger, threads",
|
|
291544
|
+
"description": "Manual publisher platforms: facebook, instagram, audience_network, messenger, threads.",
|
|
291518
291545
|
"type": "array",
|
|
291519
291546
|
"items": {
|
|
291547
|
+
"enum": [
|
|
291548
|
+
"facebook",
|
|
291549
|
+
"instagram",
|
|
291550
|
+
"audience_network",
|
|
291551
|
+
"messenger",
|
|
291552
|
+
"threads"
|
|
291553
|
+
],
|
|
291520
291554
|
"type": "string"
|
|
291521
291555
|
}
|
|
291522
291556
|
},
|
|
291523
291557
|
"facebook_positions": {
|
|
291524
|
-
"description": "Facebook positions: feed, right_hand_column, marketplace, story, search, instream_video, facebook_reels, facebook_reels_overlay, profile_feed, notification",
|
|
291558
|
+
"description": "Facebook positions: feed, right_hand_column, marketplace, story, search, instream_video, facebook_reels, facebook_reels_overlay, profile_feed, notification. Rejected (retired by Meta): instant_article, video_feeds.",
|
|
291525
291559
|
"type": "array",
|
|
291526
291560
|
"items": {
|
|
291561
|
+
"enum": [
|
|
291562
|
+
"feed",
|
|
291563
|
+
"right_hand_column",
|
|
291564
|
+
"marketplace",
|
|
291565
|
+
"story",
|
|
291566
|
+
"search",
|
|
291567
|
+
"instream_video",
|
|
291568
|
+
"facebook_reels",
|
|
291569
|
+
"facebook_reels_overlay",
|
|
291570
|
+
"profile_feed",
|
|
291571
|
+
"notification"
|
|
291572
|
+
],
|
|
291527
291573
|
"type": "string"
|
|
291528
291574
|
}
|
|
291529
291575
|
},
|
|
291530
291576
|
"instagram_positions": {
|
|
291531
|
-
"description": "Instagram positions: stream, story, explore, explore_home, reels, profile_feed, ig_search, profile_reels",
|
|
291577
|
+
"description": "Instagram positions: stream, story, explore, explore_home, reels, profile_feed, ig_search, profile_reels. Rejected (retired by Meta): shop. Removed by Meta on 2026-10-27, still accepted today: explore, explore_home.",
|
|
291532
291578
|
"type": "array",
|
|
291533
291579
|
"items": {
|
|
291580
|
+
"enum": [
|
|
291581
|
+
"stream",
|
|
291582
|
+
"story",
|
|
291583
|
+
"explore",
|
|
291584
|
+
"explore_home",
|
|
291585
|
+
"reels",
|
|
291586
|
+
"profile_feed",
|
|
291587
|
+
"ig_search",
|
|
291588
|
+
"profile_reels"
|
|
291589
|
+
],
|
|
291534
291590
|
"type": "string"
|
|
291535
291591
|
}
|
|
291536
291592
|
},
|
|
291537
291593
|
"audience_network_positions": {
|
|
291538
|
-
"description": "Audience Network positions: classic, rewarded_video",
|
|
291594
|
+
"description": "Audience Network positions: classic, rewarded_video.",
|
|
291539
291595
|
"type": "array",
|
|
291540
291596
|
"items": {
|
|
291597
|
+
"enum": [
|
|
291598
|
+
"classic",
|
|
291599
|
+
"rewarded_video"
|
|
291600
|
+
],
|
|
291541
291601
|
"type": "string"
|
|
291542
291602
|
}
|
|
291543
291603
|
},
|
|
291544
291604
|
"messenger_positions": {
|
|
291545
|
-
"description": "Messenger positions: messenger_home, story",
|
|
291605
|
+
"description": "Messenger positions: story. Rejected (retired by Meta): messenger_home, sponsored_messages. Removed by Meta on 2026-10-27, still accepted today: story.",
|
|
291546
291606
|
"type": "array",
|
|
291547
291607
|
"items": {
|
|
291608
|
+
"enum": [
|
|
291609
|
+
"story"
|
|
291610
|
+
],
|
|
291548
291611
|
"type": "string"
|
|
291549
291612
|
}
|
|
291550
291613
|
},
|
|
291551
291614
|
"threads_positions": {
|
|
291552
|
-
"description": "Threads positions: threads_stream",
|
|
291615
|
+
"description": "Threads positions: threads_stream.",
|
|
291553
291616
|
"type": "array",
|
|
291554
291617
|
"items": {
|
|
291618
|
+
"enum": [
|
|
291619
|
+
"threads_stream"
|
|
291620
|
+
],
|
|
291555
291621
|
"type": "string"
|
|
291556
291622
|
}
|
|
291557
291623
|
},
|
|
@@ -293019,44 +293085,83 @@
|
|
|
293019
293085
|
"type": "string"
|
|
293020
293086
|
},
|
|
293021
293087
|
"publisher_platforms": {
|
|
293022
|
-
"description": "Manual publisher platforms: facebook, instagram, audience_network, messenger, threads",
|
|
293088
|
+
"description": "Manual publisher platforms: facebook, instagram, audience_network, messenger, threads.",
|
|
293023
293089
|
"type": "array",
|
|
293024
293090
|
"items": {
|
|
293091
|
+
"enum": [
|
|
293092
|
+
"facebook",
|
|
293093
|
+
"instagram",
|
|
293094
|
+
"audience_network",
|
|
293095
|
+
"messenger",
|
|
293096
|
+
"threads"
|
|
293097
|
+
],
|
|
293025
293098
|
"type": "string"
|
|
293026
293099
|
}
|
|
293027
293100
|
},
|
|
293028
293101
|
"facebook_positions": {
|
|
293029
|
-
"description": "Facebook positions: feed, right_hand_column, marketplace, story, search, instream_video, facebook_reels, facebook_reels_overlay, profile_feed, notification",
|
|
293102
|
+
"description": "Facebook positions: feed, right_hand_column, marketplace, story, search, instream_video, facebook_reels, facebook_reels_overlay, profile_feed, notification. Rejected (retired by Meta): instant_article, video_feeds.",
|
|
293030
293103
|
"type": "array",
|
|
293031
293104
|
"items": {
|
|
293105
|
+
"enum": [
|
|
293106
|
+
"feed",
|
|
293107
|
+
"right_hand_column",
|
|
293108
|
+
"marketplace",
|
|
293109
|
+
"story",
|
|
293110
|
+
"search",
|
|
293111
|
+
"instream_video",
|
|
293112
|
+
"facebook_reels",
|
|
293113
|
+
"facebook_reels_overlay",
|
|
293114
|
+
"profile_feed",
|
|
293115
|
+
"notification"
|
|
293116
|
+
],
|
|
293032
293117
|
"type": "string"
|
|
293033
293118
|
}
|
|
293034
293119
|
},
|
|
293035
293120
|
"instagram_positions": {
|
|
293036
|
-
"description": "Instagram positions: stream, story, explore, explore_home, reels, profile_feed, ig_search, profile_reels",
|
|
293121
|
+
"description": "Instagram positions: stream, story, explore, explore_home, reels, profile_feed, ig_search, profile_reels. Rejected (retired by Meta): shop. Removed by Meta on 2026-10-27, still accepted today: explore, explore_home.",
|
|
293037
293122
|
"type": "array",
|
|
293038
293123
|
"items": {
|
|
293124
|
+
"enum": [
|
|
293125
|
+
"stream",
|
|
293126
|
+
"story",
|
|
293127
|
+
"explore",
|
|
293128
|
+
"explore_home",
|
|
293129
|
+
"reels",
|
|
293130
|
+
"profile_feed",
|
|
293131
|
+
"ig_search",
|
|
293132
|
+
"profile_reels"
|
|
293133
|
+
],
|
|
293039
293134
|
"type": "string"
|
|
293040
293135
|
}
|
|
293041
293136
|
},
|
|
293042
293137
|
"audience_network_positions": {
|
|
293043
|
-
"description": "Audience Network positions: classic, rewarded_video",
|
|
293138
|
+
"description": "Audience Network positions: classic, rewarded_video.",
|
|
293044
293139
|
"type": "array",
|
|
293045
293140
|
"items": {
|
|
293141
|
+
"enum": [
|
|
293142
|
+
"classic",
|
|
293143
|
+
"rewarded_video"
|
|
293144
|
+
],
|
|
293046
293145
|
"type": "string"
|
|
293047
293146
|
}
|
|
293048
293147
|
},
|
|
293049
293148
|
"messenger_positions": {
|
|
293050
|
-
"description": "Messenger positions: messenger_home, story",
|
|
293149
|
+
"description": "Messenger positions: story. Rejected (retired by Meta): messenger_home, sponsored_messages. Removed by Meta on 2026-10-27, still accepted today: story.",
|
|
293051
293150
|
"type": "array",
|
|
293052
293151
|
"items": {
|
|
293152
|
+
"enum": [
|
|
293153
|
+
"story"
|
|
293154
|
+
],
|
|
293053
293155
|
"type": "string"
|
|
293054
293156
|
}
|
|
293055
293157
|
},
|
|
293056
293158
|
"threads_positions": {
|
|
293057
|
-
"description": "Threads positions: threads_stream",
|
|
293159
|
+
"description": "Threads positions: threads_stream.",
|
|
293058
293160
|
"type": "array",
|
|
293059
293161
|
"items": {
|
|
293162
|
+
"enum": [
|
|
293163
|
+
"threads_stream"
|
|
293164
|
+
],
|
|
293060
293165
|
"type": "string"
|
|
293061
293166
|
}
|
|
293062
293167
|
},
|
|
@@ -293159,7 +293264,7 @@
|
|
|
293159
293264
|
"type": "string"
|
|
293160
293265
|
},
|
|
293161
293266
|
"cta": {
|
|
293162
|
-
"description": "Call to action type (e.g. LEARN_MORE)",
|
|
293267
|
+
"description": "Call to action type. Meta values come from the canonical CallToAction enum (e.g. LEARN_MORE); other platforms send their own native CTA. Empty string means \"worker default\".",
|
|
293163
293268
|
"type": "string"
|
|
293164
293269
|
},
|
|
293165
293270
|
"video_url": {
|
|
@@ -303510,7 +303615,7 @@
|
|
|
303510
303615
|
"tags": [
|
|
303511
303616
|
"tiktok"
|
|
303512
303617
|
],
|
|
303513
|
-
"description": "Triggers an insights backfill for the last N days (default 30, max 365)
|
|
303618
|
+
"description": "Triggers an insights backfill either for the last N days (`days`, default 30, max 365) or for an explicit `from_date`/`to_date` window (max 365 days back, not in the future). The two forms are mutually exclusive and anything that cannot be honored is rejected with 400 instead of being clamped. The range is split into 7-day chunks distributed via SQS workers. An explicit window is honored exactly. A window reaching back before an incident is deliberately allowed - that is how the data is rebuilt - and the dispatched window plus chunk count are logged. Mirrors `/api/v1/insights/backfill` (Meta). 5-minute per-session debounce (`status: \"skipped\"`).",
|
|
303514
303619
|
"requestBody": {
|
|
303515
303620
|
"required": true,
|
|
303516
303621
|
"content": {
|
|
@@ -303522,9 +303627,18 @@
|
|
|
303522
303627
|
"days": {
|
|
303523
303628
|
"minimum": 1,
|
|
303524
303629
|
"maximum": 365,
|
|
303525
|
-
"
|
|
303526
|
-
"description": "Lookback window in days (default 30, max 365).",
|
|
303630
|
+
"description": "Lookback window in days, ending today (default 30, max 365). Mutually exclusive with from_date/to_date.",
|
|
303527
303631
|
"type": "number"
|
|
303632
|
+
},
|
|
303633
|
+
"from_date": {
|
|
303634
|
+
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
|
|
303635
|
+
"description": "First day of the requested window (YYYY-MM-DD, UTC). Must be sent together with to_date, cannot be more than 365 days in the past, and is mutually exclusive with days.",
|
|
303636
|
+
"type": "string"
|
|
303637
|
+
},
|
|
303638
|
+
"to_date": {
|
|
303639
|
+
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
|
|
303640
|
+
"description": "Last day of the requested window (YYYY-MM-DD, UTC). Must be sent together with from_date and cannot be in the future.",
|
|
303641
|
+
"type": "string"
|
|
303528
303642
|
}
|
|
303529
303643
|
}
|
|
303530
303644
|
}
|
|
@@ -303553,25 +303667,58 @@
|
|
|
303553
303667
|
],
|
|
303554
303668
|
"properties": {
|
|
303555
303669
|
"status": {
|
|
303670
|
+
"description": "`processing` when chunks were dispatched, `skipped` when debounced.",
|
|
303556
303671
|
"type": "string"
|
|
303557
303672
|
},
|
|
303558
303673
|
"worker_run_id": {
|
|
303559
303674
|
"type": "string"
|
|
303560
303675
|
},
|
|
303561
303676
|
"days": {
|
|
303677
|
+
"description": "Effective lookback in days actually dispatched.",
|
|
303562
303678
|
"type": "number"
|
|
303563
303679
|
},
|
|
303564
303680
|
"chunks": {
|
|
303565
303681
|
"type": "number"
|
|
303566
303682
|
},
|
|
303567
303683
|
"from_date": {
|
|
303684
|
+
"description": "First day of the EFFECTIVE dispatched window.",
|
|
303568
303685
|
"type": "string"
|
|
303569
303686
|
},
|
|
303570
303687
|
"to_date": {
|
|
303688
|
+
"description": "Last day of the EFFECTIVE dispatched window.",
|
|
303689
|
+
"type": "string"
|
|
303690
|
+
},
|
|
303691
|
+
"message": {
|
|
303692
|
+
"type": "string"
|
|
303693
|
+
}
|
|
303694
|
+
}
|
|
303695
|
+
}
|
|
303696
|
+
}
|
|
303697
|
+
}
|
|
303698
|
+
},
|
|
303699
|
+
"400": {
|
|
303700
|
+
"description": "Rejected request: the window could not be honored as asked.",
|
|
303701
|
+
"content": {
|
|
303702
|
+
"application/json": {
|
|
303703
|
+
"schema": {
|
|
303704
|
+
"additionalProperties": true,
|
|
303705
|
+
"description": "Rejected request: the window could not be honored as asked.",
|
|
303706
|
+
"type": "object",
|
|
303707
|
+
"required": [
|
|
303708
|
+
"error"
|
|
303709
|
+
],
|
|
303710
|
+
"properties": {
|
|
303711
|
+
"error": {
|
|
303571
303712
|
"type": "string"
|
|
303572
303713
|
},
|
|
303573
303714
|
"message": {
|
|
303574
303715
|
"type": "string"
|
|
303716
|
+
},
|
|
303717
|
+
"statusCode": {
|
|
303718
|
+
"type": "number"
|
|
303719
|
+
},
|
|
303720
|
+
"code": {
|
|
303721
|
+
"type": "string"
|
|
303575
303722
|
}
|
|
303576
303723
|
}
|
|
303577
303724
|
}
|