@tapline/client 0.2.13 → 0.2.15

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 (278) hide show
  1. package/README.md +12 -2
  2. package/dist/cjs/client.d.ts +8 -0
  3. package/dist/cjs/client.d.ts.map +1 -1
  4. package/dist/cjs/client.js +32 -20
  5. package/dist/cjs/client.js.map +1 -1
  6. package/dist/cjs/index.d.ts +8 -0
  7. package/dist/cjs/index.d.ts.map +1 -1
  8. package/dist/cjs/index.js +33 -21
  9. package/dist/cjs/index.js.map +1 -1
  10. package/dist/cjs/services/airbnb/client.d.ts +6 -6
  11. package/dist/cjs/services/airbnb/client.d.ts.map +1 -1
  12. package/dist/cjs/services/airbnb/client.js +6 -6
  13. package/dist/cjs/services/airbnb/client.js.map +1 -1
  14. package/dist/cjs/services/birdeye/client.d.ts +10 -10
  15. package/dist/cjs/services/birdeye/client.d.ts.map +1 -1
  16. package/dist/cjs/services/birdeye/client.js +10 -10
  17. package/dist/cjs/services/birdeye/client.js.map +1 -1
  18. package/dist/cjs/services/brave_search/client.d.ts +1 -1
  19. package/dist/cjs/services/brave_search/client.d.ts.map +1 -1
  20. package/dist/cjs/services/brave_search/client.js +1 -1
  21. package/dist/cjs/services/brave_search/client.js.map +1 -1
  22. package/dist/cjs/services/brave_search/types.d.ts +1211 -1273
  23. package/dist/cjs/services/brave_search/types.d.ts.map +1 -1
  24. package/dist/cjs/services/facebook/client.d.ts +65 -0
  25. package/dist/cjs/services/facebook/client.d.ts.map +1 -0
  26. package/dist/cjs/services/facebook/client.js +151 -0
  27. package/dist/cjs/services/facebook/client.js.map +1 -0
  28. package/dist/cjs/services/facebook/index.d.ts +3 -0
  29. package/dist/cjs/services/facebook/index.d.ts.map +1 -0
  30. package/dist/cjs/services/facebook/index.js +22 -0
  31. package/dist/cjs/services/facebook/index.js.map +1 -0
  32. package/dist/cjs/services/facebook/types.d.ts +1021 -0
  33. package/dist/cjs/services/facebook/types.d.ts.map +1 -0
  34. package/dist/cjs/services/facebook/types.js +4 -0
  35. package/dist/cjs/services/facebook/types.js.map +1 -0
  36. package/dist/cjs/services/facebook_ad_library/client.d.ts +25 -0
  37. package/dist/cjs/services/facebook_ad_library/client.d.ts.map +1 -0
  38. package/dist/cjs/services/facebook_ad_library/client.js +53 -0
  39. package/dist/cjs/services/facebook_ad_library/client.js.map +1 -0
  40. package/dist/cjs/services/facebook_ad_library/index.d.ts +3 -0
  41. package/dist/cjs/services/facebook_ad_library/index.d.ts.map +1 -0
  42. package/dist/cjs/services/facebook_ad_library/index.js +22 -0
  43. package/dist/cjs/services/facebook_ad_library/index.js.map +1 -0
  44. package/dist/cjs/services/facebook_ad_library/types.d.ts +606 -0
  45. package/dist/cjs/services/facebook_ad_library/types.d.ts.map +1 -0
  46. package/dist/cjs/services/facebook_ad_library/types.js +4 -0
  47. package/dist/cjs/services/facebook_ad_library/types.js.map +1 -0
  48. package/dist/cjs/services/facebook_marketplace/client.d.ts +23 -0
  49. package/dist/cjs/services/facebook_marketplace/client.d.ts.map +1 -0
  50. package/dist/cjs/services/facebook_marketplace/client.js +47 -0
  51. package/dist/cjs/services/facebook_marketplace/client.js.map +1 -0
  52. package/dist/cjs/services/facebook_marketplace/index.d.ts +3 -0
  53. package/dist/cjs/services/facebook_marketplace/index.d.ts.map +1 -0
  54. package/dist/cjs/services/facebook_marketplace/index.js +22 -0
  55. package/dist/cjs/services/facebook_marketplace/index.js.map +1 -0
  56. package/dist/cjs/services/facebook_marketplace/types.d.ts +400 -0
  57. package/dist/cjs/services/facebook_marketplace/types.d.ts.map +1 -0
  58. package/dist/cjs/services/facebook_marketplace/types.js +4 -0
  59. package/dist/cjs/services/facebook_marketplace/types.js.map +1 -0
  60. package/dist/cjs/services/geckoterminal/client.d.ts +2 -2
  61. package/dist/cjs/services/geckoterminal/client.d.ts.map +1 -1
  62. package/dist/cjs/services/geckoterminal/client.js +2 -2
  63. package/dist/cjs/services/geckoterminal/client.js.map +1 -1
  64. package/dist/cjs/services/geckoterminal/types.d.ts +15 -4
  65. package/dist/cjs/services/geckoterminal/types.d.ts.map +1 -1
  66. package/dist/cjs/services/gmgn/client.d.ts +18 -18
  67. package/dist/cjs/services/gmgn/client.d.ts.map +1 -1
  68. package/dist/cjs/services/gmgn/client.js +18 -18
  69. package/dist/cjs/services/gmgn/client.js.map +1 -1
  70. package/dist/cjs/services/gmgn/types.d.ts +2 -2
  71. package/dist/cjs/services/gmgn/types.d.ts.map +1 -1
  72. package/dist/cjs/services/goplus/client.d.ts +3 -3
  73. package/dist/cjs/services/goplus/client.d.ts.map +1 -1
  74. package/dist/cjs/services/goplus/client.js +3 -3
  75. package/dist/cjs/services/goplus/client.js.map +1 -1
  76. package/dist/cjs/services/imovelweb/client.d.ts +6 -6
  77. package/dist/cjs/services/imovelweb/client.d.ts.map +1 -1
  78. package/dist/cjs/services/imovelweb/client.js +6 -6
  79. package/dist/cjs/services/imovelweb/client.js.map +1 -1
  80. package/dist/cjs/services/indeed/types.d.ts +233 -187
  81. package/dist/cjs/services/indeed/types.d.ts.map +1 -1
  82. package/dist/cjs/services/instagram/client.d.ts +12 -12
  83. package/dist/cjs/services/instagram/client.d.ts.map +1 -1
  84. package/dist/cjs/services/instagram/client.js +12 -12
  85. package/dist/cjs/services/instagram/client.js.map +1 -1
  86. package/dist/cjs/services/instagram/types.d.ts +399 -2284
  87. package/dist/cjs/services/instagram/types.d.ts.map +1 -1
  88. package/dist/cjs/services/linkedin/client.d.ts +7 -7
  89. package/dist/cjs/services/linkedin/client.d.ts.map +1 -1
  90. package/dist/cjs/services/linkedin/client.js +7 -7
  91. package/dist/cjs/services/linkedin/client.js.map +1 -1
  92. package/dist/cjs/services/pinterest/client.d.ts +4 -4
  93. package/dist/cjs/services/pinterest/client.d.ts.map +1 -1
  94. package/dist/cjs/services/pinterest/client.js +4 -4
  95. package/dist/cjs/services/pinterest/client.js.map +1 -1
  96. package/dist/cjs/services/pinterest/types.d.ts +740 -711
  97. package/dist/cjs/services/pinterest/types.d.ts.map +1 -1
  98. package/dist/cjs/services/pinterest_v2/client.d.ts +15 -0
  99. package/dist/cjs/services/pinterest_v2/client.d.ts.map +1 -0
  100. package/dist/cjs/services/pinterest_v2/client.js +28 -0
  101. package/dist/cjs/services/pinterest_v2/client.js.map +1 -0
  102. package/dist/cjs/services/pinterest_v2/index.d.ts +3 -0
  103. package/dist/cjs/services/pinterest_v2/index.d.ts.map +1 -0
  104. package/dist/cjs/services/pinterest_v2/index.js +22 -0
  105. package/dist/cjs/services/pinterest_v2/index.js.map +1 -0
  106. package/dist/cjs/services/pinterest_v2/types.d.ts +558 -0
  107. package/dist/cjs/services/pinterest_v2/types.d.ts.map +1 -0
  108. package/dist/cjs/services/pinterest_v2/types.js +4 -0
  109. package/dist/cjs/services/pinterest_v2/types.js.map +1 -0
  110. package/dist/cjs/services/ponsfamily/client.d.ts +8 -8
  111. package/dist/cjs/services/ponsfamily/client.d.ts.map +1 -1
  112. package/dist/cjs/services/ponsfamily/client.js +8 -8
  113. package/dist/cjs/services/ponsfamily/client.js.map +1 -1
  114. package/dist/cjs/services/ponsfamily/types.d.ts +83 -14
  115. package/dist/cjs/services/ponsfamily/types.d.ts.map +1 -1
  116. package/dist/cjs/services/pumpfun/client.d.ts +56 -56
  117. package/dist/cjs/services/pumpfun/client.d.ts.map +1 -1
  118. package/dist/cjs/services/pumpfun/client.js +56 -56
  119. package/dist/cjs/services/pumpfun/client.js.map +1 -1
  120. package/dist/cjs/services/pumpfun/types.d.ts +280 -101
  121. package/dist/cjs/services/pumpfun/types.d.ts.map +1 -1
  122. package/dist/cjs/services/twitter/client.d.ts +5 -5
  123. package/dist/cjs/services/twitter/client.d.ts.map +1 -1
  124. package/dist/cjs/services/twitter/client.js +5 -5
  125. package/dist/cjs/services/twitter/client.js.map +1 -1
  126. package/dist/cjs/services/twitter/types.d.ts +294 -403
  127. package/dist/cjs/services/twitter/types.d.ts.map +1 -1
  128. package/dist/cjs/services/youtube/client.d.ts +11 -11
  129. package/dist/cjs/services/youtube/client.d.ts.map +1 -1
  130. package/dist/cjs/services/youtube/client.js +11 -11
  131. package/dist/cjs/services/youtube/client.js.map +1 -1
  132. package/dist/cjs/services/youtube/types.d.ts +164 -158
  133. package/dist/cjs/services/youtube/types.d.ts.map +1 -1
  134. package/dist/cjs/services/zillow/client.d.ts +8 -6
  135. package/dist/cjs/services/zillow/client.d.ts.map +1 -1
  136. package/dist/cjs/services/zillow/client.js +10 -5
  137. package/dist/cjs/services/zillow/client.js.map +1 -1
  138. package/dist/cjs/services/zillow/types.d.ts +720 -886
  139. package/dist/cjs/services/zillow/types.d.ts.map +1 -1
  140. package/dist/client.d.ts +8 -0
  141. package/dist/client.d.ts.map +1 -1
  142. package/dist/client.js +12 -0
  143. package/dist/client.js.map +1 -1
  144. package/dist/index.d.ts +8 -0
  145. package/dist/index.d.ts.map +1 -1
  146. package/dist/index.js +8 -0
  147. package/dist/index.js.map +1 -1
  148. package/dist/services/airbnb/client.d.ts +6 -6
  149. package/dist/services/airbnb/client.d.ts.map +1 -1
  150. package/dist/services/airbnb/client.js +6 -6
  151. package/dist/services/airbnb/client.js.map +1 -1
  152. package/dist/services/birdeye/client.d.ts +10 -10
  153. package/dist/services/birdeye/client.d.ts.map +1 -1
  154. package/dist/services/birdeye/client.js +10 -10
  155. package/dist/services/birdeye/client.js.map +1 -1
  156. package/dist/services/brave_search/client.d.ts +1 -1
  157. package/dist/services/brave_search/client.d.ts.map +1 -1
  158. package/dist/services/brave_search/client.js +1 -1
  159. package/dist/services/brave_search/client.js.map +1 -1
  160. package/dist/services/brave_search/types.d.ts +1211 -1273
  161. package/dist/services/brave_search/types.d.ts.map +1 -1
  162. package/dist/services/facebook/client.d.ts +65 -0
  163. package/dist/services/facebook/client.d.ts.map +1 -0
  164. package/dist/services/facebook/client.js +147 -0
  165. package/dist/services/facebook/client.js.map +1 -0
  166. package/dist/services/facebook/index.d.ts +3 -0
  167. package/dist/services/facebook/index.d.ts.map +1 -0
  168. package/dist/services/facebook/index.js +4 -0
  169. package/dist/services/facebook/index.js.map +1 -0
  170. package/dist/services/facebook/types.d.ts +1021 -0
  171. package/dist/services/facebook/types.d.ts.map +1 -0
  172. package/dist/services/facebook/types.js +3 -0
  173. package/dist/services/facebook/types.js.map +1 -0
  174. package/dist/services/facebook_ad_library/client.d.ts +25 -0
  175. package/dist/services/facebook_ad_library/client.d.ts.map +1 -0
  176. package/dist/services/facebook_ad_library/client.js +49 -0
  177. package/dist/services/facebook_ad_library/client.js.map +1 -0
  178. package/dist/services/facebook_ad_library/index.d.ts +3 -0
  179. package/dist/services/facebook_ad_library/index.d.ts.map +1 -0
  180. package/dist/services/facebook_ad_library/index.js +4 -0
  181. package/dist/services/facebook_ad_library/index.js.map +1 -0
  182. package/dist/services/facebook_ad_library/types.d.ts +606 -0
  183. package/dist/services/facebook_ad_library/types.d.ts.map +1 -0
  184. package/dist/services/facebook_ad_library/types.js +3 -0
  185. package/dist/services/facebook_ad_library/types.js.map +1 -0
  186. package/dist/services/facebook_marketplace/client.d.ts +23 -0
  187. package/dist/services/facebook_marketplace/client.d.ts.map +1 -0
  188. package/dist/services/facebook_marketplace/client.js +43 -0
  189. package/dist/services/facebook_marketplace/client.js.map +1 -0
  190. package/dist/services/facebook_marketplace/index.d.ts +3 -0
  191. package/dist/services/facebook_marketplace/index.d.ts.map +1 -0
  192. package/dist/services/facebook_marketplace/index.js +4 -0
  193. package/dist/services/facebook_marketplace/index.js.map +1 -0
  194. package/dist/services/facebook_marketplace/types.d.ts +400 -0
  195. package/dist/services/facebook_marketplace/types.d.ts.map +1 -0
  196. package/dist/services/facebook_marketplace/types.js +3 -0
  197. package/dist/services/facebook_marketplace/types.js.map +1 -0
  198. package/dist/services/geckoterminal/client.d.ts +2 -2
  199. package/dist/services/geckoterminal/client.d.ts.map +1 -1
  200. package/dist/services/geckoterminal/client.js +2 -2
  201. package/dist/services/geckoterminal/client.js.map +1 -1
  202. package/dist/services/geckoterminal/types.d.ts +15 -4
  203. package/dist/services/geckoterminal/types.d.ts.map +1 -1
  204. package/dist/services/gmgn/client.d.ts +18 -18
  205. package/dist/services/gmgn/client.d.ts.map +1 -1
  206. package/dist/services/gmgn/client.js +18 -18
  207. package/dist/services/gmgn/client.js.map +1 -1
  208. package/dist/services/gmgn/types.d.ts +2 -2
  209. package/dist/services/gmgn/types.d.ts.map +1 -1
  210. package/dist/services/goplus/client.d.ts +3 -3
  211. package/dist/services/goplus/client.d.ts.map +1 -1
  212. package/dist/services/goplus/client.js +3 -3
  213. package/dist/services/goplus/client.js.map +1 -1
  214. package/dist/services/imovelweb/client.d.ts +6 -6
  215. package/dist/services/imovelweb/client.d.ts.map +1 -1
  216. package/dist/services/imovelweb/client.js +6 -6
  217. package/dist/services/imovelweb/client.js.map +1 -1
  218. package/dist/services/indeed/types.d.ts +233 -187
  219. package/dist/services/indeed/types.d.ts.map +1 -1
  220. package/dist/services/instagram/client.d.ts +12 -12
  221. package/dist/services/instagram/client.d.ts.map +1 -1
  222. package/dist/services/instagram/client.js +12 -12
  223. package/dist/services/instagram/client.js.map +1 -1
  224. package/dist/services/instagram/types.d.ts +399 -2284
  225. package/dist/services/instagram/types.d.ts.map +1 -1
  226. package/dist/services/linkedin/client.d.ts +7 -7
  227. package/dist/services/linkedin/client.d.ts.map +1 -1
  228. package/dist/services/linkedin/client.js +7 -7
  229. package/dist/services/linkedin/client.js.map +1 -1
  230. package/dist/services/pinterest/client.d.ts +4 -4
  231. package/dist/services/pinterest/client.d.ts.map +1 -1
  232. package/dist/services/pinterest/client.js +4 -4
  233. package/dist/services/pinterest/client.js.map +1 -1
  234. package/dist/services/pinterest/types.d.ts +740 -711
  235. package/dist/services/pinterest/types.d.ts.map +1 -1
  236. package/dist/services/pinterest_v2/client.d.ts +15 -0
  237. package/dist/services/pinterest_v2/client.d.ts.map +1 -0
  238. package/dist/services/pinterest_v2/client.js +24 -0
  239. package/dist/services/pinterest_v2/client.js.map +1 -0
  240. package/dist/services/pinterest_v2/index.d.ts +3 -0
  241. package/dist/services/pinterest_v2/index.d.ts.map +1 -0
  242. package/dist/services/pinterest_v2/index.js +4 -0
  243. package/dist/services/pinterest_v2/index.js.map +1 -0
  244. package/dist/services/pinterest_v2/types.d.ts +558 -0
  245. package/dist/services/pinterest_v2/types.d.ts.map +1 -0
  246. package/dist/services/pinterest_v2/types.js +3 -0
  247. package/dist/services/pinterest_v2/types.js.map +1 -0
  248. package/dist/services/ponsfamily/client.d.ts +8 -8
  249. package/dist/services/ponsfamily/client.d.ts.map +1 -1
  250. package/dist/services/ponsfamily/client.js +8 -8
  251. package/dist/services/ponsfamily/client.js.map +1 -1
  252. package/dist/services/ponsfamily/types.d.ts +83 -14
  253. package/dist/services/ponsfamily/types.d.ts.map +1 -1
  254. package/dist/services/pumpfun/client.d.ts +56 -56
  255. package/dist/services/pumpfun/client.d.ts.map +1 -1
  256. package/dist/services/pumpfun/client.js +56 -56
  257. package/dist/services/pumpfun/client.js.map +1 -1
  258. package/dist/services/pumpfun/types.d.ts +280 -101
  259. package/dist/services/pumpfun/types.d.ts.map +1 -1
  260. package/dist/services/twitter/client.d.ts +5 -5
  261. package/dist/services/twitter/client.d.ts.map +1 -1
  262. package/dist/services/twitter/client.js +5 -5
  263. package/dist/services/twitter/client.js.map +1 -1
  264. package/dist/services/twitter/types.d.ts +294 -403
  265. package/dist/services/twitter/types.d.ts.map +1 -1
  266. package/dist/services/youtube/client.d.ts +11 -11
  267. package/dist/services/youtube/client.d.ts.map +1 -1
  268. package/dist/services/youtube/client.js +11 -11
  269. package/dist/services/youtube/client.js.map +1 -1
  270. package/dist/services/youtube/types.d.ts +164 -158
  271. package/dist/services/youtube/types.d.ts.map +1 -1
  272. package/dist/services/zillow/client.d.ts +8 -6
  273. package/dist/services/zillow/client.d.ts.map +1 -1
  274. package/dist/services/zillow/client.js +10 -5
  275. package/dist/services/zillow/client.js.map +1 -1
  276. package/dist/services/zillow/types.d.ts +720 -886
  277. package/dist/services/zillow/types.d.ts.map +1 -1
  278. package/package.json +6 -2
@@ -0,0 +1,1021 @@
1
+ export type CommentSort = "relevant" | "newest" | "all";
2
+ export interface ErrorDetail {
3
+ type?: string | null;
4
+ loc?: (string | number)[] | null;
5
+ msg?: string | null;
6
+ input?: unknown | null;
7
+ ctx?: Record<string, unknown> | null;
8
+ }
9
+ export interface ErrorResponse {
10
+ code: PublicError;
11
+ message: string;
12
+ request_id: string;
13
+ domain?: string | null;
14
+ details?: ErrorDetail[] | null;
15
+ upgrade_url?: string | null;
16
+ }
17
+ export type EventDateRange = "today" | "tomorrow" | "this_week" | "this_weekend" | "next_week" | "next_weekend" | "next_month";
18
+ export interface FacebookAboutField {
19
+ text: string | null;
20
+ url: string | null;
21
+ decoded_url: string | null;
22
+ date: string | null;
23
+ type: string | null;
24
+ labels: string[];
25
+ }
26
+ export interface FacebookAboutFieldSection {
27
+ id: string | null;
28
+ title: string | null;
29
+ subtitle: string | null;
30
+ type: string | null;
31
+ fields: FacebookAboutField[];
32
+ }
33
+ export interface FacebookAiDisclosure {
34
+ was_detected_as_ai_generated: boolean | null;
35
+ was_self_disclosed_as_ai_generated: boolean | null;
36
+ transparency_type: FacebookCode;
37
+ }
38
+ export interface FacebookAttachment {
39
+ title: string | null;
40
+ subtitle: string | null;
41
+ url: string | null;
42
+ external_url: string | null;
43
+ target: FacebookAttachmentTarget;
44
+ items: (FacebookPhoto | FacebookVideo | FacebookOtherMedia)[];
45
+ source: string | null;
46
+ article_author: string | null;
47
+ kind: FacebookCode;
48
+ media: FacebookPhoto | FacebookVideo | FacebookOtherMedia | null;
49
+ }
50
+ export interface FacebookAttachmentTarget {
51
+ id: string | null;
52
+ type: string | null;
53
+ }
54
+ export interface FacebookCaption {
55
+ language: string | null;
56
+ url: string | null;
57
+ locale: string | null;
58
+ }
59
+ export interface FacebookCity {
60
+ city_id: string | null;
61
+ name: string | null;
62
+ description: string | null;
63
+ }
64
+ export interface FacebookCityEventsPage {
65
+ events: FacebookEventCard[];
66
+ city: FacebookCity | null;
67
+ pagination: FacebookCursorPagination;
68
+ }
69
+ export interface FacebookCode {
70
+ code: string | null;
71
+ label: string | null;
72
+ }
73
+ export interface FacebookCollectionAlbum {
74
+ collection_item_id: string | null;
75
+ id: string | null;
76
+ title: string | null;
77
+ url: string | null;
78
+ item_count: number | null;
79
+ item_count_text: string | null;
80
+ image_url: string | null;
81
+ }
82
+ export interface FacebookCollectionPerson {
83
+ collection_item_id: string | null;
84
+ subtitle: string | null;
85
+ person: FacebookProfileRef;
86
+ }
87
+ export interface FacebookCollectionSummary {
88
+ id: string | null;
89
+ name: string | null;
90
+ listed_count: number | null;
91
+ empty_message: string | null;
92
+ }
93
+ export interface FacebookComment {
94
+ id: string | null;
95
+ parent_comment_id: string | null;
96
+ feedback_id: string | null;
97
+ node_id: string | null;
98
+ text: string | null;
99
+ url: string | null;
100
+ status: FacebookCommentStatus;
101
+ created_at: string | null;
102
+ timestamp_in_video_seconds: number | null;
103
+ author: FacebookProfileRef | null;
104
+ post: FacebookCommentPost;
105
+ translation: FacebookTranslation;
106
+ attachments: FacebookAttachment[];
107
+ engagement: FacebookCommentEngagement;
108
+ replies_cursor: string | null;
109
+ depth: number | null;
110
+ legacy_token: string | null;
111
+ }
112
+ export interface FacebookCommentEngagement {
113
+ reaction_count: number | null;
114
+ reaction_count_text: string | null;
115
+ reply_count: number | null;
116
+ reply_total_count: number | null;
117
+ reactions: FacebookReaction[];
118
+ }
119
+ export interface FacebookCommentPost {
120
+ post_id: string | null;
121
+ story_id: string | null;
122
+ feedback_id: string | null;
123
+ owner: FacebookProfileRef | null;
124
+ }
125
+ export interface FacebookCommentSort {
126
+ title: string | null;
127
+ description: string | null;
128
+ sort: string | null;
129
+ intent_token: string | null;
130
+ }
131
+ export interface FacebookCommentStatus {
132
+ is_disabled: boolean | null;
133
+ is_live_video_comment: boolean | null;
134
+ is_subreply_parent_deleted: boolean | null;
135
+ is_self_disclosed_as_ai_generated: boolean | null;
136
+ has_only_low_quality_replies: boolean | null;
137
+ replies_hidden_notice: string | null;
138
+ written_while_video_was_live: boolean | null;
139
+ }
140
+ export interface FacebookCommentThread {
141
+ summary: FacebookCommentsSummary;
142
+ comments: FacebookComment[];
143
+ pagination: FacebookCursorPagination;
144
+ }
145
+ export interface FacebookCommentsPage {
146
+ feedback_id: string;
147
+ url: string | null;
148
+ summary: FacebookCommentsSummary;
149
+ comments: FacebookComment[];
150
+ pagination: FacebookCursorPagination;
151
+ }
152
+ export interface FacebookCommentsSummary {
153
+ total_count: number | null;
154
+ visible_count: number | null;
155
+ has_comments_disabled: boolean | null;
156
+ page_size: number | null;
157
+ sort: FacebookCommentSort | null;
158
+ sort_options: FacebookCommentSort[];
159
+ sort_note: string | null;
160
+ filtering_note: string | null;
161
+ comments_disabled_notice: string | null;
162
+ }
163
+ export interface FacebookContentTag {
164
+ id: string | null;
165
+ label: string | null;
166
+ }
167
+ export interface FacebookCoverPhoto {
168
+ id: string | null;
169
+ owner_id: string | null;
170
+ accessibility_caption: string | null;
171
+ url: string | null;
172
+ focus: FacebookFocus | null;
173
+ image: FacebookImage | null;
174
+ }
175
+ export interface FacebookCursorPagination {
176
+ next_cursor: string | null;
177
+ has_more: boolean | null;
178
+ }
179
+ export interface FacebookDashStream {
180
+ id: string | null;
181
+ url: string | null;
182
+ content_type: string | null;
183
+ mime_type: string | null;
184
+ codecs: string | null;
185
+ bandwidth: number | null;
186
+ width: number | null;
187
+ height: number | null;
188
+ frame_rate: number | null;
189
+ quality_label: string | null;
190
+ }
191
+ export interface FacebookEngagement {
192
+ reaction_count: number | null;
193
+ reaction_count_text: string | null;
194
+ comment_count: number | null;
195
+ share_count: number | null;
196
+ share_count_text: string | null;
197
+ view_count: number | null;
198
+ view_count_text: string | null;
199
+ play_count: number | null;
200
+ post_play_count: number | null;
201
+ reactions: FacebookReaction[];
202
+ }
203
+ export interface FacebookEvent {
204
+ id: string;
205
+ owner_page_id: string | null;
206
+ recurring_parent_event_id: string | null;
207
+ name: string | null;
208
+ day_time_text: string | null;
209
+ start_time_text: string | null;
210
+ url: string | null;
211
+ occurrence_count: number | null;
212
+ price_info: string | null;
213
+ is_canceled: boolean | null;
214
+ is_draft: boolean | null;
215
+ start_at: string | null;
216
+ next_occurrence_at: string | null;
217
+ place: FacebookPlace | null;
218
+ frequency: FacebookCode;
219
+ is_online: boolean | null;
220
+ is_past: boolean | null;
221
+ is_sale_event: boolean | null;
222
+ cover_photo: FacebookCoverPhoto | null;
223
+ }
224
+ export interface FacebookEventAbout {
225
+ id: string;
226
+ ticketing_title: string | null;
227
+ description: string | null;
228
+ duration_text: string | null;
229
+ host_text: string | null;
230
+ attendance_text: string | null;
231
+ ticket_url: string | null;
232
+ notable_source_count: number | null;
233
+ start_at: string | null;
234
+ end_at: string | null;
235
+ scheduled_publish_at: string | null;
236
+ place: FacebookPlace | null;
237
+ hosts: FacebookProfileRef[];
238
+ suggested_events: FacebookEventCard[];
239
+ categories: string[];
240
+ kind: FacebookCode;
241
+ duration_label: string | null;
242
+ timezone_abbreviation: string | null;
243
+ ticketing_subtitle: string | null;
244
+ ticket_provider: string | null;
245
+ lineups: string[];
246
+ flags: string[];
247
+ keywords: string[];
248
+ has_date_changed: boolean | null;
249
+ has_name_changed: boolean | null;
250
+ rsvp_style: FacebookCode;
251
+ is_online: boolean | null;
252
+ is_past: boolean | null;
253
+ }
254
+ export interface FacebookEventCard {
255
+ id: string | null;
256
+ recurring_parent_event_id: string | null;
257
+ live_video_ids: string[];
258
+ name: string | null;
259
+ day_time_text: string | null;
260
+ url: string | null;
261
+ price_range_text: string | null;
262
+ metrics: FacebookEventMetrics;
263
+ is_canceled: boolean | null;
264
+ start_at: string | null;
265
+ end_at: string | null;
266
+ place: FacebookPlace | null;
267
+ creator: FacebookProfileRef | null;
268
+ kind: FacebookCode;
269
+ social_context: string | null;
270
+ online_type: string | null;
271
+ is_online: boolean | null;
272
+ is_past: boolean | null;
273
+ is_happening_now: boolean | null;
274
+ cover_photo: FacebookCoverPhoto | null;
275
+ }
276
+ export interface FacebookEventMetrics {
277
+ interested_count: number | null;
278
+ going_count: number | null;
279
+ }
280
+ export interface FacebookEventSearchPage {
281
+ events: FacebookEventCard[];
282
+ filters: FacebookSearchFilter[];
283
+ pagination: FacebookCursorPagination;
284
+ }
285
+ export interface FacebookFocus {
286
+ x: number | null;
287
+ y: number | null;
288
+ }
289
+ export interface FacebookGroup {
290
+ id: string;
291
+ name: string | null;
292
+ url: string | null;
293
+ metrics: FacebookGroupMetrics;
294
+ join_restriction_reason: string | null;
295
+ work_official_status: string | null;
296
+ privacy: FacebookGroupPrivacy;
297
+ tabs: FacebookGroupTab[];
298
+ has_membership_questions: boolean | null;
299
+ is_multi_company_group: boolean | null;
300
+ type_name: string | null;
301
+ address: string | null;
302
+ cover_photo: FacebookCoverPhoto | null;
303
+ profile_picture_url: string | null;
304
+ }
305
+ export interface FacebookGroupAbout {
306
+ id: string;
307
+ description: string | null;
308
+ history_text: string | null;
309
+ new_members_text: string | null;
310
+ metrics: FacebookGroupAboutMetrics;
311
+ member_count_text: string | null;
312
+ total_members_text: string | null;
313
+ visibility: FacebookGroupPrivacy;
314
+ privacy: FacebookGroupPrivacy;
315
+ created_at: string | null;
316
+ admins: FacebookGroupMember[];
317
+ moderators: FacebookGroupMember[];
318
+ rules: FacebookGroupRule[];
319
+ admin_sentence: string | null;
320
+ info_items: string[];
321
+ }
322
+ export interface FacebookGroupAboutMetrics {
323
+ member_count: number | null;
324
+ member_count_approx: number | null;
325
+ new_member_count: number | null;
326
+ admin_count: number | null;
327
+ moderator_count: number | null;
328
+ posts_last_day: number | null;
329
+ posts_last_month: number | null;
330
+ }
331
+ export interface FacebookGroupEvents {
332
+ group_id: string;
333
+ group_cover_photo_id: string | null;
334
+ past: FacebookEventCard[];
335
+ upcoming: FacebookEventCard[];
336
+ upcoming_pagination: FacebookCursorPagination;
337
+ past_pagination: FacebookCursorPagination;
338
+ }
339
+ export interface FacebookGroupMember {
340
+ membership_id: string | null;
341
+ person: FacebookProfileRef;
342
+ has_member_feed: boolean | null;
343
+ }
344
+ export interface FacebookGroupMetrics {
345
+ member_count: number | null;
346
+ member_count_approx: number | null;
347
+ member_count_text: string | null;
348
+ }
349
+ export interface FacebookGroupPhotosPage {
350
+ group_id: string;
351
+ mediaset_id: string | null;
352
+ mediaset_token: string | null;
353
+ photos: FacebookPhoto[];
354
+ pagination: FacebookCursorPagination;
355
+ }
356
+ export interface FacebookGroupPrivacy {
357
+ description: string | null;
358
+ code: string | null;
359
+ label: string | null;
360
+ }
361
+ export interface FacebookGroupRule {
362
+ id: string | null;
363
+ title: string | null;
364
+ description: string | null;
365
+ }
366
+ export interface FacebookGroupTab {
367
+ tab_key: string | null;
368
+ name: string | null;
369
+ url: string | null;
370
+ }
371
+ export interface FacebookHashtagPosts {
372
+ posts: FacebookPost[];
373
+ hashtag: string;
374
+ pagination: FacebookCursorPagination;
375
+ }
376
+ export interface FacebookImage {
377
+ url: string | null;
378
+ width: number | null;
379
+ height: number | null;
380
+ }
381
+ export interface FacebookInstagramAccount {
382
+ username: string | null;
383
+ follower_count: number | null;
384
+ is_verified: boolean | null;
385
+ }
386
+ export interface FacebookIntroItem {
387
+ page_id: string | null;
388
+ text: string | null;
389
+ subtitle: string | null;
390
+ url: string | null;
391
+ decoded_url: string | null;
392
+ type: FacebookCode;
393
+ target_type: string | null;
394
+ }
395
+ export interface FacebookLiveSection {
396
+ title: string | null;
397
+ posts: FacebookPost[];
398
+ type: FacebookCode;
399
+ }
400
+ export interface FacebookLiveVideos {
401
+ sections: FacebookLiveSection[];
402
+ }
403
+ export interface FacebookMessageEntity {
404
+ id: string | null;
405
+ url: string | null;
406
+ external_url: string | null;
407
+ offset: number | null;
408
+ length: number | null;
409
+ type: string | null;
410
+ }
411
+ export interface FacebookOtherMedia {
412
+ id: string | null;
413
+ url: string | null;
414
+ type: string | null;
415
+ }
416
+ export interface FacebookPage {
417
+ page_id: string | null;
418
+ profile_id: string | null;
419
+ username?: string | null;
420
+ story_bucket_ids?: string[];
421
+ name: string | null;
422
+ url: string | null;
423
+ metrics: FacebookPageMetrics;
424
+ status: FacebookPageStatus;
425
+ instagram?: FacebookInstagramAccount | null;
426
+ tabs?: FacebookPageTab[];
427
+ category?: string | null;
428
+ entity_type?: FacebookCode;
429
+ verification?: FacebookCode;
430
+ alternate_name?: string | null;
431
+ gender?: FacebookCode;
432
+ profile_type_transition?: FacebookCode;
433
+ social_context?: FacebookSocialContextItem[];
434
+ legal?: FacebookPageLegal;
435
+ profile_picture_url?: string | null;
436
+ profile_photo?: FacebookPhoto;
437
+ profile_pictures?: FacebookImage[];
438
+ cover_photo?: FacebookCoverPhoto | null;
439
+ }
440
+ export interface FacebookPageAboutSection {
441
+ profile_id: string;
442
+ page_id: string | null;
443
+ section_id: string | null;
444
+ sections: FacebookAboutFieldSection[];
445
+ collection: FacebookPageCollectionLink;
446
+ collections: FacebookPageCollectionLink[];
447
+ section_name: string | null;
448
+ transparency: FacebookPageTransparency | null;
449
+ }
450
+ export interface FacebookPageCollectionLink {
451
+ collection_id: string | null;
452
+ tab_key: string | null;
453
+ name: string | null;
454
+ url: string | null;
455
+ }
456
+ export interface FacebookPageEventsPage {
457
+ profile_id: string;
458
+ events: FacebookEventCard[];
459
+ section: FacebookPageSectionSummary | null;
460
+ collection: FacebookCollectionSummary;
461
+ pagination: FacebookCursorPagination;
462
+ }
463
+ export interface FacebookPageIntro {
464
+ profile_id: string;
465
+ page_id: string | null;
466
+ bio_status_id: string | null;
467
+ bio: string | null;
468
+ hours_text: string | null;
469
+ websites: string[];
470
+ social_links: FacebookSocialLink[];
471
+ rating: FacebookPageRating | null;
472
+ price_range: string | null;
473
+ items: FacebookIntroItem[];
474
+ category: string | null;
475
+ confirmed_owner: string | null;
476
+ services: string[];
477
+ emails: string[];
478
+ phones: string[];
479
+ addresses: string[];
480
+ profile_type: string | null;
481
+ photos_mediaset_token: string | null;
482
+ featured_photos: FacebookPhoto[];
483
+ }
484
+ export interface FacebookPageLegal {
485
+ dsa_reporting_url: string | null;
486
+ dsa_report_entrypoint: string | null;
487
+ is_dsa_legal_reporting_enabled: boolean | null;
488
+ }
489
+ export interface FacebookPageMetrics {
490
+ like_count?: number | null;
491
+ follower_count?: number | null;
492
+ talking_about_count?: number | null;
493
+ follower_count_approx?: number | null;
494
+ following_count_approx?: number | null;
495
+ }
496
+ export interface FacebookPagePeople {
497
+ profile_id: string;
498
+ people: FacebookCollectionPerson[];
499
+ section: FacebookPageSectionSummary | null;
500
+ collection: FacebookCollectionSummary;
501
+ pagination: FacebookCursorPagination;
502
+ }
503
+ export interface FacebookPagePhotosPage {
504
+ profile_id: string;
505
+ albums: FacebookCollectionAlbum[];
506
+ section: FacebookPageSectionSummary | null;
507
+ collection: FacebookCollectionSummary;
508
+ photos: FacebookPhoto[];
509
+ pagination: FacebookCursorPagination;
510
+ }
511
+ export interface FacebookPageRating {
512
+ text: string;
513
+ review_count: number | null;
514
+ recommend_percent: number | null;
515
+ }
516
+ export interface FacebookPageSectionSummary {
517
+ id: string | null;
518
+ name: string | null;
519
+ url: string | null;
520
+ collections: FacebookPageCollectionLink[];
521
+ type: FacebookCode;
522
+ notice: string | null;
523
+ empty_message: string | null;
524
+ }
525
+ export interface FacebookPageStatus {
526
+ is_deleted?: boolean | null;
527
+ is_verified?: boolean | null;
528
+ is_memorialized?: boolean | null;
529
+ restriction_violation_status?: string | null;
530
+ is_currently_live?: boolean | null;
531
+ is_business_page_active?: boolean | null;
532
+ is_additional_profile_plus?: boolean | null;
533
+ profile_picture_is_silhouette?: boolean | null;
534
+ }
535
+ export interface FacebookPageSummary {
536
+ page: FacebookPage;
537
+ description: string | null;
538
+ open_graph_type: string | null;
539
+ locale: string | null;
540
+ }
541
+ export interface FacebookPageTab {
542
+ section_id: string | null;
543
+ tab_key: string | null;
544
+ name: string | null;
545
+ url: string | null;
546
+ displayable_count: number | null;
547
+ collections: FacebookPageCollectionLink[];
548
+ section_type: FacebookCode;
549
+ }
550
+ export interface FacebookPageTransparency {
551
+ created_on_text: string | null;
552
+ ad_status: string | null;
553
+ created_on: string | null;
554
+ is_running_ads: boolean | null;
555
+ confirmed_owner: string | null;
556
+ }
557
+ export interface FacebookPageVideoShow {
558
+ id: string | null;
559
+ title: string | null;
560
+ description: string | null;
561
+ video_count: number | null;
562
+ seasons: FacebookContentTag[];
563
+ videos: FacebookVideoCard[];
564
+ }
565
+ export interface FacebookPageVideosPage {
566
+ page_id: string;
567
+ show_count: number | null;
568
+ playlist_count: number | null;
569
+ is_currently_live: boolean | null;
570
+ popular: FacebookVideoCard | null;
571
+ shows: FacebookPageVideoShow[];
572
+ latest: FacebookVideoCard[];
573
+ videos: FacebookVideoCard[];
574
+ pagination: FacebookCursorPagination;
575
+ }
576
+ export interface FacebookPhoto {
577
+ collection_item_id?: string | null;
578
+ id: string | null;
579
+ owner_id: string | null;
580
+ feedback_id: string | null;
581
+ creation_story_id: string | null;
582
+ accessibility_caption: string | null;
583
+ url: string | null;
584
+ focus: FacebookFocus | null;
585
+ type: string;
586
+ is_playable: boolean | null;
587
+ image: FacebookImage | null;
588
+ thumbnail_url: string | null;
589
+ }
590
+ export interface FacebookPhotoDetail {
591
+ album_id: string | null;
592
+ page_id: string | null;
593
+ next_photo_ids: string[];
594
+ previous_photo_ids: string[];
595
+ text: string | null;
596
+ privacy: FacebookCode;
597
+ created_at: string | null;
598
+ owner: FacebookProfileRef | null;
599
+ comments: FacebookCommentThread;
600
+ engagement: FacebookEngagement;
601
+ business_content_type: FacebookCode;
602
+ photo: FacebookPhoto;
603
+ }
604
+ export interface FacebookPlace {
605
+ id: string | null;
606
+ city_id: string | null;
607
+ name: string | null;
608
+ url: string | null;
609
+ contextual_name: string | null;
610
+ type: FacebookCode;
611
+ address: string | null;
612
+ latitude: number | null;
613
+ longitude: number | null;
614
+ city_name: string | null;
615
+ is_user_specified: boolean | null;
616
+ }
617
+ export interface FacebookPost {
618
+ id: string | null;
619
+ story_id: string | null;
620
+ feedback_id: string | null;
621
+ group_id: string | null;
622
+ title: string | null;
623
+ text: string | null;
624
+ rich_text: FacebookRichTextBlock[];
625
+ url: string | null;
626
+ status: FacebookPostStatus;
627
+ created_at: string | null;
628
+ message_entities?: FacebookMessageEntity[] | null;
629
+ author: FacebookProfileRef | null;
630
+ actors: FacebookProfileRef[];
631
+ collaborators: FacebookProfileRef[];
632
+ owner: FacebookProfileRef | null;
633
+ top_comments: FacebookComment[];
634
+ music: FacebookPostMusic | null;
635
+ attached_post: FacebookPost | null;
636
+ engagement: FacebookEngagement;
637
+ attachments: FacebookAttachment[];
638
+ place_name: string | null;
639
+ ai_disclosure: FacebookAiDisclosure;
640
+ }
641
+ export interface FacebookPostDetail {
642
+ post: FacebookPost;
643
+ comments: FacebookCommentThread;
644
+ }
645
+ export interface FacebookPostMusic {
646
+ song_title: string | null;
647
+ artist_name: string | null;
648
+ }
649
+ export interface FacebookPostStatus {
650
+ has_comments_disabled: boolean | null;
651
+ publish_state: FacebookCode;
652
+ default_comment_order: string | null;
653
+ is_text_only: boolean | null;
654
+ }
655
+ export interface FacebookPostsPage {
656
+ posts: FacebookPost[];
657
+ pagination: FacebookCursorPagination;
658
+ }
659
+ export interface FacebookProfileRef {
660
+ id: string | null;
661
+ pfbid: string | null;
662
+ username: string | null;
663
+ name: string | null;
664
+ url: string | null;
665
+ is_verified: boolean | null;
666
+ short_name: string | null;
667
+ account_type: FacebookCode;
668
+ gender: string | null;
669
+ profile_picture_url: string | null;
670
+ }
671
+ export interface FacebookReaction {
672
+ reaction_id: string | null;
673
+ count: number | null;
674
+ count_text: string | null;
675
+ label: string | null;
676
+ }
677
+ export interface FacebookReel {
678
+ post_id: string | null;
679
+ creation_story_id: string | null;
680
+ seo_title: string | null;
681
+ text: string | null;
682
+ seo_summary: string | null;
683
+ shareable_url: string | null;
684
+ remix_status: FacebookCode;
685
+ privacy: FacebookCode;
686
+ created_at: string | null;
687
+ scheduled_publish_at: string | null;
688
+ message_entities?: FacebookMessageEntity[] | null;
689
+ owner: FacebookProfileRef | null;
690
+ owner_type: FacebookCode;
691
+ engagement: FacebookEngagement;
692
+ is_reshare: boolean | null;
693
+ is_embeddable: boolean | null;
694
+ is_made_with_meta_ai_app: boolean | null;
695
+ video: FacebookVideo;
696
+ audio: FacebookReelAudio;
697
+ }
698
+ export interface FacebookReelAudio {
699
+ track_title: string | null;
700
+ is_original_audio: boolean | null;
701
+ album_art_url: string | null;
702
+ }
703
+ export interface FacebookReelDetail {
704
+ reel: FacebookReel;
705
+ }
706
+ export interface FacebookRepliesPage {
707
+ comment_id: string;
708
+ feedback_id: string | null;
709
+ replies: FacebookComment[];
710
+ pagination: FacebookCursorPagination;
711
+ }
712
+ export interface FacebookResolvedIds {
713
+ profile_id: string | null;
714
+ username: string | null;
715
+ story_id: string | null;
716
+ author_profile_id: string | null;
717
+ group_id: string | null;
718
+ listing_id: string | null;
719
+ event_id: string | null;
720
+ video_id: string | null;
721
+ reel_id: string | null;
722
+ photo_id: string | null;
723
+ collection_id: string | null;
724
+ section_id: string | null;
725
+ hashtag: string | null;
726
+ raw_section_token: string | null;
727
+ }
728
+ export interface FacebookResolvedLocation {
729
+ city_id: string | null;
730
+ latitude: number | null;
731
+ longitude: number | null;
732
+ radius_km: number | null;
733
+ }
734
+ export interface FacebookResolvedUrl {
735
+ ids: FacebookResolvedIds;
736
+ title: string | null;
737
+ header_title: string | null;
738
+ url: string;
739
+ seo_url: string | null;
740
+ location: FacebookResolvedLocation | null;
741
+ kind: FacebookCode;
742
+ route_name: string | null;
743
+ group_sort: string | null;
744
+ }
745
+ export interface FacebookRichTextBlock {
746
+ text: string | null;
747
+ block_type: string | null;
748
+ depth: number | null;
749
+ media_alignment: string | null;
750
+ media_caption: string | null;
751
+ }
752
+ export interface FacebookScrubberPreview {
753
+ sprite_uris: string[];
754
+ thumbnail_width: number | null;
755
+ thumbnail_height: number | null;
756
+ max_number_of_images_per_sprite: number | null;
757
+ time_interval_between_image: number | null;
758
+ }
759
+ export interface FacebookSearchFilter {
760
+ name: string | null;
761
+ label: string | null;
762
+ options: FacebookSearchFilterOption[];
763
+ }
764
+ export interface FacebookSearchFilterOption {
765
+ label: string | null;
766
+ filter_name: string | null;
767
+ value: string | null;
768
+ param: string | null;
769
+ param_value: string | null;
770
+ }
771
+ export interface FacebookSocialContextItem {
772
+ text: string | null;
773
+ url: string | null;
774
+ count_approx: number | null;
775
+ }
776
+ export interface FacebookSocialLink {
777
+ username: string | null;
778
+ url: string;
779
+ network: string;
780
+ }
781
+ export interface FacebookTranslation {
782
+ is_available: boolean | null;
783
+ source_dialect: string | null;
784
+ translation_type: FacebookCode;
785
+ }
786
+ export interface FacebookVideo {
787
+ id: string | null;
788
+ title: string | null;
789
+ description: string | null;
790
+ url: string | null;
791
+ playable_url: string | null;
792
+ playable_url_hd: string | null;
793
+ live_status: FacebookCode;
794
+ broadcast_status: string | null;
795
+ is_live: boolean | null;
796
+ published_at: string | null;
797
+ owner: FacebookProfileRef | null;
798
+ duration_seconds: number | null;
799
+ width: number | null;
800
+ height: number | null;
801
+ player: FacebookVideoPlayer;
802
+ type: string;
803
+ thumbnail_url: string | null;
804
+ first_frame_url: string | null;
805
+ captions: FacebookCaption[];
806
+ }
807
+ export interface FacebookVideoCard {
808
+ post_id: string | null;
809
+ story_id: string | null;
810
+ feedback_id: string | null;
811
+ total_post_count: number | null;
812
+ content_tags: FacebookContentTag[];
813
+ top_comments: FacebookComment[];
814
+ engagement: FacebookEngagement;
815
+ video: FacebookVideo;
816
+ }
817
+ export interface FacebookVideoDetail {
818
+ video: FacebookVideo;
819
+ post: FacebookPost | null;
820
+ comments: FacebookCommentThread;
821
+ }
822
+ export interface FacebookVideoPlayer {
823
+ browser_native_sd_url: string | null;
824
+ browser_native_hd_url: string | null;
825
+ dash_manifest_url: string | null;
826
+ live_viewer_count: number | null;
827
+ scrubber_preview: FacebookScrubberPreview | null;
828
+ aspect_ratio: number | null;
829
+ original_rotation: string | null;
830
+ video_status_type: FacebookCode;
831
+ video_container_type: string | null;
832
+ is_spherical: boolean | null;
833
+ is_podcast_video: boolean | null;
834
+ is_gaming_video: boolean | null;
835
+ is_clip: boolean | null;
836
+ is_music_clip: boolean | null;
837
+ is_soundbites_video: boolean | null;
838
+ is_huddle: boolean | null;
839
+ is_premiere: boolean | null;
840
+ dash_streams: FacebookDashStream[];
841
+ audio_availability: FacebookCode;
842
+ }
843
+ export interface FacebookVideoSearchPage {
844
+ results: FacebookVideoSearchResult[];
845
+ filters: FacebookSearchFilter[];
846
+ query: string;
847
+ pagination: FacebookCursorPagination;
848
+ }
849
+ export interface FacebookVideoSearchReel {
850
+ description: string | null;
851
+ duration_text: string | null;
852
+ subtitle: string | null;
853
+ url: string | null;
854
+ view_count: number | null;
855
+ broadcast_status: string | null;
856
+ thumbnail_url: string | null;
857
+ }
858
+ export interface FacebookVideoSearchResult {
859
+ video_id: string | null;
860
+ post: FacebookPost | null;
861
+ reel: FacebookVideoSearchReel | null;
862
+ }
863
+ export interface GetEventAboutParams {
864
+ /** Numeric event id. */
865
+ event_id: string;
866
+ }
867
+ export interface GetEventParams {
868
+ /** Numeric event id. */
869
+ event_id: string;
870
+ }
871
+ export interface GetGroupAboutParams {
872
+ /** Numeric group id; `/resolve` turns a group URL into one. */
873
+ group_id: string;
874
+ }
875
+ export interface GetGroupParams {
876
+ /** Numeric group id; `/resolve` turns a group URL into one. */
877
+ group_id: string;
878
+ }
879
+ export interface GetPageAboutParams {
880
+ /** The page or profile's `profile_id`, such as `100044561550831`, from `/resolve` on its URL or `page.profile_id` in any answer. */
881
+ profile_id: string;
882
+ /** `collection_id` of the tab, from `/resolve` on the tab's URL or the page's `tabs[].collections`. */
883
+ collection_id: string;
884
+ }
885
+ export interface GetPageIntroParams {
886
+ /** The page or profile's `profile_id`, such as `100044561550831`, from `/resolve` on its URL or `page.profile_id` in any answer. */
887
+ profile_id: string;
888
+ }
889
+ export interface GetPageParams {
890
+ /** The page or profile's `profile_id`, such as `100044561550831`, from `/resolve` on its URL or `page.profile_id` in any answer. */
891
+ profile_id: string;
892
+ }
893
+ export interface GetPhotoParams {
894
+ /** Numeric photo id (`fbid`). */
895
+ photo_id: string;
896
+ }
897
+ export interface GetPostParams {
898
+ /** A post's `story_id`, from a posts list or `/resolve` on the post URL. */
899
+ story_id: string;
900
+ }
901
+ export interface GetReelParams {
902
+ /** Numeric reel id. */
903
+ reel_id: string;
904
+ }
905
+ export interface GetVideoParams {
906
+ /** Numeric video id. */
907
+ video_id: string;
908
+ }
909
+ export type GroupSort = "top" | "newest";
910
+ export interface ListCityEventsParams {
911
+ /** A city page id: `locations[].city_id` from `/marketplace/locations`. */
912
+ city_id: string;
913
+ /** `pagination.next_cursor` from the previous page; empty for the first page. */
914
+ cursor?: string;
915
+ }
916
+ export interface ListCommentRepliesParams {
917
+ /** The comment's `id`. */
918
+ comment_id: string;
919
+ /** The comment's `replies_cursor`, then `pagination.next_cursor`. */
920
+ cursor: string;
921
+ }
922
+ export interface ListCommentsParams {
923
+ /** `feedback_id` of a post, photo, video or reel. */
924
+ feedback_id: string;
925
+ /** Most relevant, newest first, or all comments. */
926
+ sort?: CommentSort;
927
+ /** `pagination.next_cursor` from the previous page; empty for the first page. */
928
+ cursor?: string;
929
+ }
930
+ export interface ListGroupEventsParams {
931
+ /** Numeric group id; `/resolve` turns a group URL into one. */
932
+ group_id: string;
933
+ }
934
+ export interface ListGroupPhotosParams {
935
+ /** Numeric group id; `/resolve` turns a group URL into one. */
936
+ group_id: string;
937
+ /** `pagination.next_cursor` from the previous page; empty for the first page. */
938
+ cursor?: string;
939
+ }
940
+ export interface ListGroupPostsParams {
941
+ /** Numeric group id; `/resolve` turns a group URL into one. */
942
+ group_id: string;
943
+ /** Top posts or newest first. */
944
+ sort?: GroupSort;
945
+ /** `pagination.next_cursor` from the previous page; empty for the first page. */
946
+ cursor?: string;
947
+ }
948
+ export interface ListHashtagPostsParams {
949
+ /** The hashtag without `#`. */
950
+ hashtag: string;
951
+ }
952
+ export interface ListPageEventsParams {
953
+ /** The page or profile's `profile_id`, such as `100044561550831`, from `/resolve` on its URL or `page.profile_id` in any answer. */
954
+ profile_id: string;
955
+ /** Another collection of the tab, from `/resolve` on its URL or the page's `tabs[].collections`; the tab's default when empty. */
956
+ collection_id?: string | null;
957
+ /** `pagination.next_cursor` from the previous page; empty for the first page. */
958
+ cursor?: string;
959
+ }
960
+ export interface ListPageFollowersParams {
961
+ /** The page or profile's `profile_id`, such as `100044561550831`, from `/resolve` on its URL or `page.profile_id` in any answer. */
962
+ profile_id: string;
963
+ }
964
+ export interface ListPageFollowingParams {
965
+ /** The page or profile's `profile_id`, such as `100044561550831`, from `/resolve` on its URL or `page.profile_id` in any answer. */
966
+ profile_id: string;
967
+ /** `collection_id` of the tab, from `/resolve` on the tab's URL or the page's `tabs[].collections`. */
968
+ collection_id: string;
969
+ }
970
+ export interface ListPagePhotosParams {
971
+ /** The page or profile's `profile_id`, such as `100044561550831`, from `/resolve` on its URL or `page.profile_id` in any answer. */
972
+ profile_id: string;
973
+ /** Another collection of the tab, from `/resolve` on its URL or the page's `tabs[].collections`; the tab's default when empty. */
974
+ collection_id?: string | null;
975
+ /** `pagination.next_cursor` from the previous page; empty for the first page. */
976
+ cursor?: string;
977
+ }
978
+ export interface ListPagePostsParams {
979
+ /** The page or profile's `profile_id`, such as `100044561550831`, from `/resolve` on its URL or `page.profile_id` in any answer. */
980
+ profile_id: string;
981
+ /** `pagination.next_cursor` from the previous page; empty for the first page. */
982
+ cursor?: string;
983
+ }
984
+ export interface ListPageVideosParams {
985
+ /** The page's `page_id`, such as `54971236771`, from `page_id` on `/pages/{profile_id}` or `page.page_id` in an Ad Library answer. */
986
+ page_id: string;
987
+ /** `pagination.next_cursor` from the previous page; empty for the first page. */
988
+ cursor?: string;
989
+ }
990
+ export interface LookUpPageParams {
991
+ /** The page's username, as in `facebook.com/NASA`. */
992
+ username: string;
993
+ }
994
+ export type PublicError = "blocked" | "concurrency_exceeded" | "timeout" | "extraction_failed" | "upstream_blocked" | "upstream_unavailable" | "upstream_response_invalid" | "invalid_url_scheme" | "invalid_url_host" | "unauthenticated" | "forbidden" | "resource_forbidden" | "not_found" | "rate_limited" | "invalid_request" | "invalid_cursor" | "insufficient_credits" | "internal_error";
995
+ export interface ResolveUrlParams {
996
+ /** A facebook.com URL or path, such as `https://www.facebook.com/NASA/posts/pfbid0...`. */
997
+ url: string;
998
+ }
999
+ export interface SearchEventsParams {
1000
+ /** `pagination.next_cursor` from the previous page; empty for the first page. */
1001
+ cursor?: string;
1002
+ /** Search text. */
1003
+ query: string;
1004
+ /** A day range counted from today, as in the `date` options of the answer's `filters[]`. Send this or `start_date` and `end_date`. */
1005
+ date?: EventDateRange | null;
1006
+ /** First day of a custom range. */
1007
+ start_date?: string | null;
1008
+ /** Last day of a custom range. */
1009
+ end_date?: string | null;
1010
+ /** An event category: `param_value` of a `category_id` option in the answer's `filters[]`. */
1011
+ category_id?: string | null;
1012
+ /** Only events in this city: `locations[].city_id` from `/marketplace/locations`. */
1013
+ city_id?: string | null;
1014
+ }
1015
+ export interface SearchVideosParams {
1016
+ /** Search text. */
1017
+ query: string;
1018
+ /** `pagination.next_cursor` from the previous page; empty for the first page. */
1019
+ cursor?: string;
1020
+ }
1021
+ //# sourceMappingURL=types.d.ts.map