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