faceless-cli 1.1.12 → 1.1.13

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "faceless-cli",
3
- "version": "1.1.12",
3
+ "version": "1.1.13",
4
4
  "description": "CLI for Faceless.so: create AI faceless videos, run automated series and publish to YouTube, TikTok, Instagram and more.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "generatedFrom": "src/backend/api/v1/spec/registry.mjs",
3
- "version": "1.1.12",
3
+ "version": "1.1.13",
4
4
  "baseUrl": "https://faceless.so/api/v1",
5
5
  "operations": [
6
6
  {
@@ -29,19 +29,16 @@
29
29
  "success": true,
30
30
  "data": {
31
31
  "team": {
32
- "id": "665f1b2a9c31a2b3c4d5e601",
33
32
  "name": "My Channel",
34
33
  "credits": 340
35
34
  },
36
35
  "plan": "creator",
37
36
  "auth": {
38
37
  "via": "api_key",
39
- "keyPrefix": "fl_live_a1b2c3d4",
40
38
  "scopes": [
41
39
  "videos:read",
42
40
  "videos:write"
43
- ],
44
- "legacy": false
41
+ ]
45
42
  }
46
43
  }
47
44
  }
@@ -94,7 +91,6 @@
94
91
  "balance": 340,
95
92
  "history": [
96
93
  {
97
- "id": "665f1b2a9c31a2b3c4d5e701",
98
94
  "credits": -50,
99
95
  "type": "spending",
100
96
  "description": "Faceless video (motion_lite)",
@@ -1639,22 +1635,23 @@
1639
1635
  "data": {
1640
1636
  "youtube": [
1641
1637
  {
1642
- "id": "665f1b2a9c31a2b3c4d5ee01",
1643
- "channelName": "Deep Sea Facts"
1638
+ "authId": "665f1b2a9c31a2b3c4d5ee01",
1639
+ "label": "Deep Sea Facts",
1640
+ "isDefault": true
1644
1641
  }
1645
1642
  ],
1646
1643
  "tiktok": [
1647
1644
  {
1648
- "id": "665f1b2a9c31a2b3c4d5e901",
1649
- "username": "mychannel",
1650
- "status": "connected"
1645
+ "authId": "665f1b2a9c31a2b3c4d5e901",
1646
+ "label": "mychannel",
1647
+ "isDefault": true
1651
1648
  }
1652
1649
  ],
1653
1650
  "instagram": [
1654
1651
  {
1655
- "id": "665f1b2a9c31a2b3c4d5e902",
1656
- "username": "mychannel",
1657
- "status": "connected"
1652
+ "authId": "665f1b2a9c31a2b3c4d5e902",
1653
+ "label": "mychannel",
1654
+ "isDefault": false
1658
1655
  }
1659
1656
  ]
1660
1657
  }
@@ -1867,10 +1864,14 @@
1867
1864
  "description": "Filter to one connected account"
1868
1865
  },
1869
1866
  "range": {
1870
- "type": "integer",
1871
- "minimum": 1,
1872
- "maximum": 365,
1873
- "description": "Trailing window in days (default 30)"
1867
+ "type": "number",
1868
+ "enum": [
1869
+ 7,
1870
+ 28,
1871
+ 90
1872
+ ],
1873
+ "default": 28,
1874
+ "description": "Trailing analytics window: 7, 28, or 90 days (default 28)"
1874
1875
  }
1875
1876
  },
1876
1877
  "additionalProperties": false
@@ -1880,17 +1881,45 @@
1880
1881
  "responseExample": {
1881
1882
  "success": true,
1882
1883
  "data": {
1883
- "totals": {
1884
- "posts": 42,
1885
- "views": 128530,
1886
- "likes": 9210
1884
+ "rangeDays": 28,
1885
+ "rollup": {
1886
+ "rangeDays": 28,
1887
+ "viewsGained": 12500,
1888
+ "totalViews": 128530,
1889
+ "postsSynced": 42,
1890
+ "ready": true
1891
+ },
1892
+ "windows": {
1893
+ "d7": {
1894
+ "viewsGained": 3200,
1895
+ "ready": true
1896
+ },
1897
+ "d28": {
1898
+ "viewsGained": 12500,
1899
+ "ready": true
1900
+ }
1887
1901
  },
1888
- "platforms": {
1902
+ "byPlatform": {
1889
1903
  "youtube": {
1890
- "posts": 20,
1891
- "views": 88000
1904
+ "totalViews": 88000,
1905
+ "postsSynced": 20,
1906
+ "viewsGained28d": 9400
1892
1907
  }
1893
- }
1908
+ },
1909
+ "topPosts": [
1910
+ {
1911
+ "platform": "youtube",
1912
+ "title": "Deep sea rivers",
1913
+ "views": 42000,
1914
+ "postUrl": "https://youtube.com/shorts/example"
1915
+ }
1916
+ ],
1917
+ "totals": {
1918
+ "totalViews": 128530,
1919
+ "postsSynced": 42,
1920
+ "posts7d": 7
1921
+ },
1922
+ "timeseriesReady": true
1894
1923
  }
1895
1924
  }
1896
1925
  }