@tapline/client 0.2.4 → 0.2.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -2
- package/dist/cjs/client.d.ts +4 -0
- package/dist/cjs/client.d.ts.map +1 -1
- package/dist/cjs/client.js +6 -0
- package/dist/cjs/client.js.map +1 -1
- package/dist/cjs/index.d.ts +4 -0
- package/dist/cjs/index.d.ts.map +1 -1
- package/dist/cjs/index.js +7 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/services/pinterest/client.d.ts +15 -0
- package/dist/cjs/services/pinterest/client.d.ts.map +1 -0
- package/dist/cjs/services/pinterest/client.js +28 -0
- package/dist/cjs/services/pinterest/client.js.map +1 -0
- package/dist/cjs/services/pinterest/index.d.ts +3 -0
- package/dist/cjs/services/pinterest/index.d.ts.map +1 -0
- package/dist/cjs/services/pinterest/index.js +22 -0
- package/dist/cjs/services/pinterest/index.js.map +1 -0
- package/dist/cjs/services/pinterest/types.d.ts +1522 -0
- package/dist/cjs/services/pinterest/types.d.ts.map +1 -0
- package/dist/cjs/services/pinterest/types.js +4 -0
- package/dist/cjs/services/pinterest/types.js.map +1 -0
- package/dist/cjs/services/twitter/client.d.ts +15 -0
- package/dist/cjs/services/twitter/client.d.ts.map +1 -0
- package/dist/cjs/services/twitter/client.js +32 -0
- package/dist/cjs/services/twitter/client.js.map +1 -0
- package/dist/cjs/services/twitter/index.d.ts +3 -0
- package/dist/cjs/services/twitter/index.d.ts.map +1 -0
- package/dist/cjs/services/twitter/index.js +22 -0
- package/dist/cjs/services/twitter/index.js.map +1 -0
- package/dist/cjs/services/twitter/types.d.ts +513 -0
- package/dist/cjs/services/twitter/types.d.ts.map +1 -0
- package/dist/cjs/services/twitter/types.js +4 -0
- package/dist/cjs/services/twitter/types.js.map +1 -0
- package/dist/client.d.ts +4 -0
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +6 -0
- package/dist/client.js.map +1 -1
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -1
- package/dist/services/pinterest/client.d.ts +15 -0
- package/dist/services/pinterest/client.d.ts.map +1 -0
- package/dist/services/pinterest/client.js +24 -0
- package/dist/services/pinterest/client.js.map +1 -0
- package/dist/services/pinterest/index.d.ts +3 -0
- package/dist/services/pinterest/index.d.ts.map +1 -0
- package/dist/services/pinterest/index.js +4 -0
- package/dist/services/pinterest/index.js.map +1 -0
- package/dist/services/pinterest/types.d.ts +1522 -0
- package/dist/services/pinterest/types.d.ts.map +1 -0
- package/dist/services/pinterest/types.js +3 -0
- package/dist/services/pinterest/types.js.map +1 -0
- package/dist/services/twitter/client.d.ts +15 -0
- package/dist/services/twitter/client.d.ts.map +1 -0
- package/dist/services/twitter/client.js +28 -0
- package/dist/services/twitter/client.js.map +1 -0
- package/dist/services/twitter/index.d.ts +3 -0
- package/dist/services/twitter/index.d.ts.map +1 -0
- package/dist/services/twitter/index.js +4 -0
- package/dist/services/twitter/index.js.map +1 -0
- package/dist/services/twitter/types.d.ts +513 -0
- package/dist/services/twitter/types.d.ts.map +1 -0
- package/dist/services/twitter/types.js +3 -0
- package/dist/services/twitter/types.js.map +1 -0
- package/package.json +4 -2
|
@@ -0,0 +1,1522 @@
|
|
|
1
|
+
export interface ErrorDetail {
|
|
2
|
+
ctx?: Record<string, unknown> | null;
|
|
3
|
+
input?: unknown | null;
|
|
4
|
+
loc?: (string | number)[] | null;
|
|
5
|
+
msg?: string | null;
|
|
6
|
+
type?: string | null;
|
|
7
|
+
}
|
|
8
|
+
export interface ErrorResponse {
|
|
9
|
+
code: PublicError;
|
|
10
|
+
details?: ErrorDetail[] | null;
|
|
11
|
+
domain?: string | null;
|
|
12
|
+
message: string;
|
|
13
|
+
request_id: string;
|
|
14
|
+
upgrade_url?: string | null;
|
|
15
|
+
}
|
|
16
|
+
export interface GetBoardParams {
|
|
17
|
+
/** The `cursor` from the previous page. Omit it, or send it empty, for the first page. */
|
|
18
|
+
cursor?: string | null;
|
|
19
|
+
/** Accepted for Scrape Creators compatibility. It has no effect: the answer is always the full body. */
|
|
20
|
+
trim?: boolean | null;
|
|
21
|
+
/** A Pinterest board URL: `https://www.pinterest.com/<username>/<board>/` on any Pinterest domain, or the relative `/<username>/<board>/` that `/user/boards` returns as `url`. */
|
|
22
|
+
url: string;
|
|
23
|
+
}
|
|
24
|
+
export interface GetPinParams {
|
|
25
|
+
/** Accepted for Scrape Creators compatibility. It has no effect: every request fetches a live answer and is charged. */
|
|
26
|
+
cache_max_age?: "1d" | "3d" | "7d" | "14d" | "30d" | null;
|
|
27
|
+
/** Accepted for Scrape Creators compatibility. It has no effect: the answer is always the full body. */
|
|
28
|
+
trim?: boolean | null;
|
|
29
|
+
/** A Pinterest pin URL: `https://www.pinterest.com/pin/<id>/` on any Pinterest domain, the long form with a title (`/pin/<title>--<id>/`), or a `https://pin.it/<code>` share link. */
|
|
30
|
+
url: string;
|
|
31
|
+
}
|
|
32
|
+
export interface GetUserBoardsParams {
|
|
33
|
+
/** The `cursor` from the previous page. Omit it, or send it empty, for the first page. */
|
|
34
|
+
cursor?: string | null;
|
|
35
|
+
/** The Pinterest username, with or without a leading @. */
|
|
36
|
+
handle: string;
|
|
37
|
+
/** Accepted for Scrape Creators compatibility. It has no effect: the answer is always the full body. */
|
|
38
|
+
trim?: boolean | null;
|
|
39
|
+
}
|
|
40
|
+
export interface PinterestAggregatedStats {
|
|
41
|
+
done?: number;
|
|
42
|
+
saves?: number;
|
|
43
|
+
}
|
|
44
|
+
export interface PinterestAudio {
|
|
45
|
+
artist_name?: string;
|
|
46
|
+
audio_url?: string;
|
|
47
|
+
description?: string;
|
|
48
|
+
duration?: number;
|
|
49
|
+
id?: string;
|
|
50
|
+
node_id?: string;
|
|
51
|
+
provider_recording_id?: string;
|
|
52
|
+
royalty_free?: boolean;
|
|
53
|
+
thumbnail_image_url?: string;
|
|
54
|
+
title?: string;
|
|
55
|
+
type?: string;
|
|
56
|
+
}
|
|
57
|
+
export interface PinterestBlockImage {
|
|
58
|
+
dominant_color?: string;
|
|
59
|
+
images?: Record<string, PinterestSearchStoryObjectImage>;
|
|
60
|
+
}
|
|
61
|
+
export interface PinterestBoardCoverImages {
|
|
62
|
+
"236x"?: PinterestBoardCoverImages236x;
|
|
63
|
+
}
|
|
64
|
+
export interface PinterestBoardCoverImages236x {
|
|
65
|
+
url?: string;
|
|
66
|
+
width?: number;
|
|
67
|
+
}
|
|
68
|
+
export interface PinterestBoardFeedPin {
|
|
69
|
+
access?: unknown[];
|
|
70
|
+
aggregated_pin_data?: PinterestBoardFeedPinAggregatedPinData;
|
|
71
|
+
alt_text?: string | null;
|
|
72
|
+
attribution?: unknown | null;
|
|
73
|
+
auto_alt_text?: string | null;
|
|
74
|
+
board?: PinterestBoardFeedPinBoard;
|
|
75
|
+
call_to_action_text?: unknown | null;
|
|
76
|
+
campaign_id?: unknown | null;
|
|
77
|
+
carousel_data?: unknown | null;
|
|
78
|
+
category?: string;
|
|
79
|
+
collection_pin?: unknown | null;
|
|
80
|
+
creator_analytics?: unknown | null;
|
|
81
|
+
description?: string;
|
|
82
|
+
digital_media_source_type?: number | null;
|
|
83
|
+
domain?: string;
|
|
84
|
+
dominant_color?: string;
|
|
85
|
+
done_by_me?: boolean;
|
|
86
|
+
embed?: unknown | null;
|
|
87
|
+
favorite_user_count?: number;
|
|
88
|
+
favorited_by_me?: boolean;
|
|
89
|
+
grid_affiliate_disclosure?: unknown | null;
|
|
90
|
+
grid_attribution?: PinterestBoardFeedPinGridAttribution | null;
|
|
91
|
+
grid_title?: string;
|
|
92
|
+
has_been_boost_promoted?: boolean;
|
|
93
|
+
id?: string;
|
|
94
|
+
image_crop?: PinterestSearchStoryObjectImageCrop;
|
|
95
|
+
image_signature?: string;
|
|
96
|
+
images?: Record<string, PinterestBoardFeedPinImage>;
|
|
97
|
+
insertion_id?: unknown | null;
|
|
98
|
+
is_downstream_promotion?: boolean;
|
|
99
|
+
is_eligible_for_pdp?: boolean;
|
|
100
|
+
is_eligible_for_pre_loved_goods_label?: boolean;
|
|
101
|
+
is_eligible_for_related_products?: boolean;
|
|
102
|
+
is_go_linkless?: boolean;
|
|
103
|
+
is_oos_product?: boolean;
|
|
104
|
+
is_promoted?: boolean;
|
|
105
|
+
is_quick_promotable?: boolean;
|
|
106
|
+
is_quick_promotable_by_pinner?: boolean;
|
|
107
|
+
is_repin?: boolean;
|
|
108
|
+
is_stale_product?: boolean;
|
|
109
|
+
is_video?: boolean;
|
|
110
|
+
link?: string | null;
|
|
111
|
+
link_domain?: PinterestLinkDomain | null;
|
|
112
|
+
link_utm_applicable_and_replaced?: number;
|
|
113
|
+
native_creator?: PinterestNativeCreator | null;
|
|
114
|
+
node_id?: string;
|
|
115
|
+
pinner?: PinterestBoardFeedPinPinner;
|
|
116
|
+
product_metadata?: PinterestProductMetadata | null;
|
|
117
|
+
product_pin_data?: unknown | null;
|
|
118
|
+
promoted_is_lead_ad?: boolean;
|
|
119
|
+
promoted_is_removable?: boolean;
|
|
120
|
+
promoted_lead_form?: unknown | null;
|
|
121
|
+
promoter?: unknown | null;
|
|
122
|
+
reaction_counts?: Record<string, number>;
|
|
123
|
+
repin_count?: number;
|
|
124
|
+
rich_summary?: PinterestBoardFeedPinRichSummary | null;
|
|
125
|
+
seo_alt_text?: string;
|
|
126
|
+
seo_url?: string;
|
|
127
|
+
shopping_flags?: number[];
|
|
128
|
+
should_open_in_stream?: boolean;
|
|
129
|
+
sponsorship?: unknown | null;
|
|
130
|
+
story_pin_data?: PinterestBoardFeedPinStoryPinData | null;
|
|
131
|
+
story_pin_data_id?: string | null;
|
|
132
|
+
title?: string;
|
|
133
|
+
tracking_params?: string;
|
|
134
|
+
type?: string;
|
|
135
|
+
unauth_on_page_description?: string;
|
|
136
|
+
unified_user_note?: string | null;
|
|
137
|
+
utm_link?: string | null;
|
|
138
|
+
video_status?: unknown | null;
|
|
139
|
+
video_status_message?: unknown | null;
|
|
140
|
+
videos?: unknown | null;
|
|
141
|
+
}
|
|
142
|
+
export interface PinterestBoardFeedPinAggregatedPinData {
|
|
143
|
+
aggregated_stats?: PinterestAggregatedStats;
|
|
144
|
+
creator_analytics?: unknown | null;
|
|
145
|
+
did_it_data?: PinterestDidItData;
|
|
146
|
+
id?: string;
|
|
147
|
+
is_shop_the_look?: boolean;
|
|
148
|
+
node_id?: string;
|
|
149
|
+
}
|
|
150
|
+
export interface PinterestBoardFeedPinBoard {
|
|
151
|
+
collaborated_by_me?: boolean;
|
|
152
|
+
followed_by_me?: boolean;
|
|
153
|
+
id?: string;
|
|
154
|
+
is_collaborative?: boolean;
|
|
155
|
+
layout?: string;
|
|
156
|
+
name?: string;
|
|
157
|
+
node_id?: string;
|
|
158
|
+
owner?: PinterestBoardFeedPinPinner;
|
|
159
|
+
privacy?: string;
|
|
160
|
+
type?: string;
|
|
161
|
+
url?: string;
|
|
162
|
+
}
|
|
163
|
+
export interface PinterestBoardFeedPinGridAttribution {
|
|
164
|
+
full_name?: string;
|
|
165
|
+
id?: string;
|
|
166
|
+
image_medium_url?: string | null;
|
|
167
|
+
image_small_url?: string | null;
|
|
168
|
+
is_primary_website_verified?: boolean;
|
|
169
|
+
is_verified_merchant?: boolean;
|
|
170
|
+
node_id?: string;
|
|
171
|
+
username?: string;
|
|
172
|
+
verified_identity?: PinterestVerifiedIdentity;
|
|
173
|
+
}
|
|
174
|
+
export interface PinterestBoardFeedPinImage {
|
|
175
|
+
height?: number;
|
|
176
|
+
url?: string;
|
|
177
|
+
width?: number;
|
|
178
|
+
}
|
|
179
|
+
export interface PinterestBoardFeedPinPinner {
|
|
180
|
+
full_name?: string;
|
|
181
|
+
id?: string;
|
|
182
|
+
image_medium_url?: string;
|
|
183
|
+
image_small_url?: string;
|
|
184
|
+
is_primary_website_verified?: boolean;
|
|
185
|
+
is_verified_merchant?: boolean;
|
|
186
|
+
node_id?: string;
|
|
187
|
+
username?: string;
|
|
188
|
+
verified_identity?: PinterestSearchStoryDynamicInsertionOption;
|
|
189
|
+
}
|
|
190
|
+
export interface PinterestBoardFeedPinRichSummary {
|
|
191
|
+
actions?: unknown[];
|
|
192
|
+
aggregate_rating?: PinterestBoardFeedPinRichSummaryAggregateRating;
|
|
193
|
+
apple_touch_icon_images?: unknown | null;
|
|
194
|
+
apple_touch_icon_link?: unknown | null;
|
|
195
|
+
display_description?: string;
|
|
196
|
+
display_name?: string;
|
|
197
|
+
favicon_images?: PinterestFaviconImages;
|
|
198
|
+
favicon_link?: string;
|
|
199
|
+
id?: string;
|
|
200
|
+
is_hard_404?: boolean;
|
|
201
|
+
is_soft_404?: boolean;
|
|
202
|
+
products?: PinterestBoardFeedPinRichSummaryProduct[];
|
|
203
|
+
site_name?: string | null;
|
|
204
|
+
type?: string;
|
|
205
|
+
type_name?: string;
|
|
206
|
+
url?: string;
|
|
207
|
+
}
|
|
208
|
+
export interface PinterestBoardFeedPinRichSummaryAggregateRating {
|
|
209
|
+
id?: string;
|
|
210
|
+
name?: unknown | null;
|
|
211
|
+
rating_count?: number;
|
|
212
|
+
rating_distribution?: unknown[];
|
|
213
|
+
rating_value?: string;
|
|
214
|
+
review_count?: number;
|
|
215
|
+
type?: string;
|
|
216
|
+
}
|
|
217
|
+
export interface PinterestBoardFeedPinRichSummaryProduct {
|
|
218
|
+
additional_images?: unknown | null;
|
|
219
|
+
additional_images_per_spec?: unknown | null;
|
|
220
|
+
has_multi_images?: boolean;
|
|
221
|
+
id?: string;
|
|
222
|
+
item_id?: string;
|
|
223
|
+
item_set_id?: string;
|
|
224
|
+
label_info?: PinterestSearchStoryDynamicInsertionOption;
|
|
225
|
+
name?: string;
|
|
226
|
+
offer_summary?: PinterestBoardFeedPinRichSummaryProductOfferSummary;
|
|
227
|
+
offers?: PinterestBoardFeedPinRichSummaryProductOffer[];
|
|
228
|
+
price_history_summary?: PinterestSearchStoryDynamicInsertionOption;
|
|
229
|
+
purchase_url?: unknown | null;
|
|
230
|
+
shipping_info?: PinterestShippingInfo;
|
|
231
|
+
type?: string;
|
|
232
|
+
variant_set?: unknown | null;
|
|
233
|
+
videos?: unknown[];
|
|
234
|
+
}
|
|
235
|
+
export interface PinterestBoardFeedPinRichSummaryProductOffer {
|
|
236
|
+
availability?: number;
|
|
237
|
+
condition?: number;
|
|
238
|
+
id?: string;
|
|
239
|
+
in_stock?: boolean;
|
|
240
|
+
min_ad_price?: unknown | null;
|
|
241
|
+
name?: unknown | null;
|
|
242
|
+
price_currency?: string;
|
|
243
|
+
price_value?: number;
|
|
244
|
+
type?: string;
|
|
245
|
+
}
|
|
246
|
+
export interface PinterestBoardFeedPinRichSummaryProductOfferSummary {
|
|
247
|
+
availability?: number;
|
|
248
|
+
condition?: number;
|
|
249
|
+
currency?: string;
|
|
250
|
+
in_stock?: boolean;
|
|
251
|
+
price?: string;
|
|
252
|
+
price_val?: number;
|
|
253
|
+
}
|
|
254
|
+
export interface PinterestBoardFeedPinStoryPinData {
|
|
255
|
+
has_affiliate_products?: boolean;
|
|
256
|
+
has_product_pins?: boolean;
|
|
257
|
+
id?: string;
|
|
258
|
+
is_deleted?: boolean;
|
|
259
|
+
metadata?: PinterestBoardFeedPinStoryPinDataMetadata;
|
|
260
|
+
node_id?: string;
|
|
261
|
+
page_count?: number;
|
|
262
|
+
pages?: PinterestBoardFeedPinStoryPinDataPage[];
|
|
263
|
+
static_page_count?: number;
|
|
264
|
+
total_video_duration?: number;
|
|
265
|
+
type?: string;
|
|
266
|
+
}
|
|
267
|
+
export interface PinterestBoardFeedPinStoryPinDataMetadata {
|
|
268
|
+
basics?: PinterestBoardFeedPinStoryPinDataMetadataBasic | null;
|
|
269
|
+
canvas_aspect_ratio?: number;
|
|
270
|
+
compatible_version?: string;
|
|
271
|
+
diy_data?: unknown | null;
|
|
272
|
+
is_compatible?: boolean;
|
|
273
|
+
is_editable?: boolean;
|
|
274
|
+
is_promotable?: boolean;
|
|
275
|
+
pin_image_signature?: string;
|
|
276
|
+
pin_title?: string;
|
|
277
|
+
recipe_data?: unknown | null;
|
|
278
|
+
root_pin_id?: string;
|
|
279
|
+
root_user_id?: string;
|
|
280
|
+
showreel_data?: unknown | null;
|
|
281
|
+
template_type?: unknown | null;
|
|
282
|
+
version?: string;
|
|
283
|
+
}
|
|
284
|
+
export interface PinterestBoardFeedPinStoryPinDataMetadataBasic {
|
|
285
|
+
key_value_blocks?: unknown[];
|
|
286
|
+
list_blocks?: unknown[];
|
|
287
|
+
}
|
|
288
|
+
export interface PinterestBoardFeedPinStoryPinDataPage {
|
|
289
|
+
blocks?: PinterestBoardFeedPinStoryPinDataPageBlock[];
|
|
290
|
+
}
|
|
291
|
+
export interface PinterestBoardFeedPinStoryPinDataPageBlock {
|
|
292
|
+
block_style?: PinterestBoardFeedPinStoryPinDataPageBlockBlockStyle;
|
|
293
|
+
block_type?: number;
|
|
294
|
+
image?: PinterestBlockImage;
|
|
295
|
+
image_signature?: string;
|
|
296
|
+
type?: string;
|
|
297
|
+
}
|
|
298
|
+
export interface PinterestBoardFeedPinStoryPinDataPageBlockBlockStyle {
|
|
299
|
+
corner_radius?: number;
|
|
300
|
+
height?: number;
|
|
301
|
+
rotation?: number;
|
|
302
|
+
width?: number;
|
|
303
|
+
x_coord?: number;
|
|
304
|
+
y_coord?: number;
|
|
305
|
+
}
|
|
306
|
+
export interface PinterestBoardFeedStorySubtitle {
|
|
307
|
+
args?: unknown[];
|
|
308
|
+
args_reformatted?: unknown[];
|
|
309
|
+
format?: string;
|
|
310
|
+
text?: unknown | null;
|
|
311
|
+
}
|
|
312
|
+
export interface PinterestBoardImage474x {
|
|
313
|
+
dominant_color?: string;
|
|
314
|
+
height?: number;
|
|
315
|
+
url?: string;
|
|
316
|
+
width?: number;
|
|
317
|
+
}
|
|
318
|
+
export interface PinterestBoardImages {
|
|
319
|
+
"236x"?: PinterestBoardImage474x[];
|
|
320
|
+
}
|
|
321
|
+
export interface PinterestBoardResponse {
|
|
322
|
+
credits_charged: number;
|
|
323
|
+
credits_remaining: number;
|
|
324
|
+
cursor: string | null;
|
|
325
|
+
pins: PinterestBoardFeedPin[];
|
|
326
|
+
success: boolean;
|
|
327
|
+
}
|
|
328
|
+
export interface PinterestBoardVase {
|
|
329
|
+
link?: string;
|
|
330
|
+
text?: string;
|
|
331
|
+
type?: string;
|
|
332
|
+
}
|
|
333
|
+
export interface PinterestCollaboratingUser {
|
|
334
|
+
follower_count?: number;
|
|
335
|
+
full_name?: string;
|
|
336
|
+
id?: string;
|
|
337
|
+
image_large_url?: string;
|
|
338
|
+
image_medium_url?: string;
|
|
339
|
+
image_small_url?: string;
|
|
340
|
+
is_ads_only_profile?: boolean;
|
|
341
|
+
is_verified_merchant?: boolean;
|
|
342
|
+
node_id?: string;
|
|
343
|
+
username?: string;
|
|
344
|
+
verified_identity?: PinterestSearchStoryDynamicInsertionOption;
|
|
345
|
+
}
|
|
346
|
+
export interface PinterestCollectionPin {
|
|
347
|
+
item_data?: PinterestItemData[];
|
|
348
|
+
}
|
|
349
|
+
export interface PinterestDidItData {
|
|
350
|
+
details_count?: number;
|
|
351
|
+
images_count?: number;
|
|
352
|
+
rating?: number;
|
|
353
|
+
recommend_scores?: PinterestRecommendScore[];
|
|
354
|
+
recommended_count?: number;
|
|
355
|
+
responses_count?: number;
|
|
356
|
+
tags?: unknown[];
|
|
357
|
+
type?: string;
|
|
358
|
+
user_count?: number;
|
|
359
|
+
videos_count?: number;
|
|
360
|
+
}
|
|
361
|
+
export interface PinterestFaviconImages {
|
|
362
|
+
orig?: string;
|
|
363
|
+
}
|
|
364
|
+
export interface PinterestGenAITopic {
|
|
365
|
+
interest_id?: number;
|
|
366
|
+
interest_id_str?: string;
|
|
367
|
+
name?: string;
|
|
368
|
+
}
|
|
369
|
+
export interface PinterestItemData {
|
|
370
|
+
active?: boolean;
|
|
371
|
+
dominant_color?: string;
|
|
372
|
+
image_signature?: string;
|
|
373
|
+
images?: Record<string, PinterestSearchStoryObjectImage>;
|
|
374
|
+
is_editable?: boolean;
|
|
375
|
+
item_id?: string;
|
|
376
|
+
link?: string;
|
|
377
|
+
pin_id?: string;
|
|
378
|
+
price_currency?: string;
|
|
379
|
+
price_value?: number;
|
|
380
|
+
rich_metadata?: PinterestRichMetadata;
|
|
381
|
+
rich_summary?: PinterestItemDataRichSummary;
|
|
382
|
+
showcase_features_count?: number;
|
|
383
|
+
source?: number;
|
|
384
|
+
title?: string;
|
|
385
|
+
type?: string;
|
|
386
|
+
}
|
|
387
|
+
export interface PinterestItemDataRichSummary {
|
|
388
|
+
actions?: unknown[];
|
|
389
|
+
aggregate_rating?: PinterestRichMetadataAggregateRating;
|
|
390
|
+
display_name?: string;
|
|
391
|
+
id?: string;
|
|
392
|
+
products?: PinterestItemDataRichSummaryProduct[];
|
|
393
|
+
site_name?: string;
|
|
394
|
+
type?: string;
|
|
395
|
+
type_name?: string;
|
|
396
|
+
}
|
|
397
|
+
export interface PinterestItemDataRichSummaryProduct {
|
|
398
|
+
id?: string;
|
|
399
|
+
item_id?: string;
|
|
400
|
+
item_set_id?: string;
|
|
401
|
+
name?: string;
|
|
402
|
+
offer_summary?: PinterestRichMetadataProductOfferSummary;
|
|
403
|
+
offers?: PinterestObjectRichSummaryProductOffer[];
|
|
404
|
+
type?: string;
|
|
405
|
+
videos?: unknown[];
|
|
406
|
+
}
|
|
407
|
+
export interface PinterestLinkDomain {
|
|
408
|
+
id?: string;
|
|
409
|
+
}
|
|
410
|
+
export interface PinterestLinkUserWebsite {
|
|
411
|
+
node_id?: string;
|
|
412
|
+
official_user?: PinterestPromoter;
|
|
413
|
+
}
|
|
414
|
+
export interface PinterestMusicAttribution {
|
|
415
|
+
artist?: string;
|
|
416
|
+
is_embedded?: boolean;
|
|
417
|
+
provider_recording_id?: string;
|
|
418
|
+
thumbnail_image_url?: string;
|
|
419
|
+
title?: string;
|
|
420
|
+
}
|
|
421
|
+
export interface PinterestNativeCreator {
|
|
422
|
+
full_name?: string;
|
|
423
|
+
id?: string;
|
|
424
|
+
image_medium_url?: string;
|
|
425
|
+
image_small_url?: string;
|
|
426
|
+
is_primary_website_verified?: boolean;
|
|
427
|
+
is_verified_merchant?: boolean;
|
|
428
|
+
node_id?: string;
|
|
429
|
+
username?: string;
|
|
430
|
+
verified_identity?: PinterestVerifiedIdentity;
|
|
431
|
+
}
|
|
432
|
+
export interface PinterestObjectRichSummaryProduct {
|
|
433
|
+
id?: string;
|
|
434
|
+
item_id?: string;
|
|
435
|
+
item_set_id?: string;
|
|
436
|
+
name?: string;
|
|
437
|
+
offer_summary?: PinterestObjectRichSummaryProductOfferSummary;
|
|
438
|
+
offers?: PinterestObjectRichSummaryProductOffer[];
|
|
439
|
+
type?: string;
|
|
440
|
+
videos?: unknown[];
|
|
441
|
+
}
|
|
442
|
+
export interface PinterestObjectRichSummaryProductOffer {
|
|
443
|
+
availability?: number;
|
|
444
|
+
condition?: number;
|
|
445
|
+
id?: string;
|
|
446
|
+
in_stock?: boolean;
|
|
447
|
+
price_currency?: string;
|
|
448
|
+
price_value?: number;
|
|
449
|
+
type?: string;
|
|
450
|
+
}
|
|
451
|
+
export interface PinterestObjectRichSummaryProductOfferSummary {
|
|
452
|
+
availability?: number;
|
|
453
|
+
condition?: number;
|
|
454
|
+
currency?: string;
|
|
455
|
+
in_stock?: boolean;
|
|
456
|
+
percentage_off?: string;
|
|
457
|
+
percentage_off_raw?: number;
|
|
458
|
+
price?: string;
|
|
459
|
+
price_val?: number;
|
|
460
|
+
standard_price?: string;
|
|
461
|
+
}
|
|
462
|
+
export interface PinterestPinAggregatedPinData {
|
|
463
|
+
aggregatedStats?: PinterestPinAggregatedStats;
|
|
464
|
+
commentCount?: number;
|
|
465
|
+
didItData?: PinterestPinDidItData;
|
|
466
|
+
entityId?: string;
|
|
467
|
+
id?: string;
|
|
468
|
+
isShopTheLook?: boolean;
|
|
469
|
+
}
|
|
470
|
+
export interface PinterestPinAggregatedStats {
|
|
471
|
+
saves?: number;
|
|
472
|
+
}
|
|
473
|
+
export interface PinterestPinAnnotationsWithLinksArray {
|
|
474
|
+
name?: string;
|
|
475
|
+
url?: string;
|
|
476
|
+
}
|
|
477
|
+
export interface PinterestPinBlockStyle {
|
|
478
|
+
height?: number;
|
|
479
|
+
width?: number;
|
|
480
|
+
xCoord?: number;
|
|
481
|
+
yCoord?: number;
|
|
482
|
+
}
|
|
483
|
+
export interface PinterestPinBoard {
|
|
484
|
+
boardOrderModifiedAt?: string;
|
|
485
|
+
collaboratedByMe?: boolean;
|
|
486
|
+
collaboratorPermissions?: unknown | null;
|
|
487
|
+
coverImageSpec_216x146?: PinterestPinImageSpec;
|
|
488
|
+
coverImageSpec_236x?: PinterestPinImageSpec;
|
|
489
|
+
coverImageSpec_400x300?: PinterestPinImageSpec;
|
|
490
|
+
entityId?: string;
|
|
491
|
+
followedByMe?: boolean;
|
|
492
|
+
id?: string;
|
|
493
|
+
imageCoverHdUrl?: string;
|
|
494
|
+
imageCoverUrl?: string;
|
|
495
|
+
imageThumbnailUrl?: string;
|
|
496
|
+
isCollaborative?: boolean;
|
|
497
|
+
layout?: string;
|
|
498
|
+
name?: string;
|
|
499
|
+
owner?: PinterestPinOwner;
|
|
500
|
+
pinCount?: number;
|
|
501
|
+
privacy?: string;
|
|
502
|
+
sectionCount?: number;
|
|
503
|
+
url?: string;
|
|
504
|
+
}
|
|
505
|
+
export interface PinterestPinCategorizedIngredient {
|
|
506
|
+
__typename?: string;
|
|
507
|
+
category?: string;
|
|
508
|
+
ingredients?: PinterestPinIngredient[];
|
|
509
|
+
}
|
|
510
|
+
export interface PinterestPinCloseupAttribution {
|
|
511
|
+
entityId?: string;
|
|
512
|
+
firstName?: string;
|
|
513
|
+
fullName?: string;
|
|
514
|
+
id?: string;
|
|
515
|
+
username?: string;
|
|
516
|
+
}
|
|
517
|
+
export interface PinterestPinCloseupDataStoryPinDataPageStyle {
|
|
518
|
+
backgroundColor?: string;
|
|
519
|
+
}
|
|
520
|
+
export interface PinterestPinCloseupUnifiedAttribution {
|
|
521
|
+
__typename?: string;
|
|
522
|
+
adsOnlyProfileSite?: unknown | null;
|
|
523
|
+
entityId?: string;
|
|
524
|
+
followedByMe?: boolean;
|
|
525
|
+
followerCount?: number;
|
|
526
|
+
fullName?: string;
|
|
527
|
+
id?: string;
|
|
528
|
+
imageMediumUrl?: string;
|
|
529
|
+
isAdsOnlyProfile?: boolean;
|
|
530
|
+
isVerifiedMerchant?: boolean;
|
|
531
|
+
username?: string;
|
|
532
|
+
verifiedIdentity?: PinterestPinCloseupUnifiedAttributionVerifiedIdentity;
|
|
533
|
+
}
|
|
534
|
+
export interface PinterestPinCloseupUnifiedAttributionVerifiedIdentity {
|
|
535
|
+
verified?: boolean | null;
|
|
536
|
+
}
|
|
537
|
+
export interface PinterestPinCook {
|
|
538
|
+
h?: unknown | null;
|
|
539
|
+
m?: number;
|
|
540
|
+
}
|
|
541
|
+
export interface PinterestPinCookTimes {
|
|
542
|
+
cook?: PinterestPinCook | null;
|
|
543
|
+
prep?: PinterestPinCook | null;
|
|
544
|
+
total?: unknown | null;
|
|
545
|
+
}
|
|
546
|
+
export interface PinterestPinDetailsDataRichMetadataRecipe {
|
|
547
|
+
__typename?: string;
|
|
548
|
+
aggregateRating?: PinterestPinRecipeAggregateRating;
|
|
549
|
+
categorizedIngredients?: PinterestPinCategorizedIngredient[];
|
|
550
|
+
cookTimes?: PinterestPinCookTimes;
|
|
551
|
+
diets?: unknown[];
|
|
552
|
+
displayCookTime?: number;
|
|
553
|
+
fromAggregatedData?: boolean;
|
|
554
|
+
name?: string;
|
|
555
|
+
servingsSummary?: PinterestPinServingsSummary;
|
|
556
|
+
}
|
|
557
|
+
export interface PinterestPinDetailsDataStoryPinDataPageBlockVideoDataV2VideoList720P {
|
|
558
|
+
v720P?: PinterestPinVideoVariant;
|
|
559
|
+
}
|
|
560
|
+
export interface PinterestPinDidItData {
|
|
561
|
+
imagesCount?: number;
|
|
562
|
+
}
|
|
563
|
+
export interface PinterestPinGenAITopic {
|
|
564
|
+
interestIdStr?: string;
|
|
565
|
+
name?: string;
|
|
566
|
+
}
|
|
567
|
+
export interface PinterestPinGridAttribution {
|
|
568
|
+
entityId?: string;
|
|
569
|
+
fullName?: string;
|
|
570
|
+
id?: string;
|
|
571
|
+
imageMediumUrl?: string;
|
|
572
|
+
imageSmallUrl?: string;
|
|
573
|
+
isVerifiedMerchant?: boolean;
|
|
574
|
+
username?: string;
|
|
575
|
+
verifiedIdentity?: PinterestPinCloseupUnifiedAttributionVerifiedIdentity;
|
|
576
|
+
}
|
|
577
|
+
export interface PinterestPinImageSpec {
|
|
578
|
+
url?: string;
|
|
579
|
+
}
|
|
580
|
+
export interface PinterestPinImageSpecOrig {
|
|
581
|
+
url?: string;
|
|
582
|
+
}
|
|
583
|
+
export interface PinterestPinImages {
|
|
584
|
+
height?: number;
|
|
585
|
+
url?: string;
|
|
586
|
+
width?: number;
|
|
587
|
+
}
|
|
588
|
+
export interface PinterestPinImages236X {
|
|
589
|
+
dominantColor?: unknown | null;
|
|
590
|
+
height?: number;
|
|
591
|
+
type?: unknown | null;
|
|
592
|
+
url?: string;
|
|
593
|
+
width?: number;
|
|
594
|
+
}
|
|
595
|
+
export interface PinterestPinImagesOrig {
|
|
596
|
+
__typename?: string;
|
|
597
|
+
height?: number;
|
|
598
|
+
url?: string;
|
|
599
|
+
width?: number;
|
|
600
|
+
}
|
|
601
|
+
export interface PinterestPinIngredient {
|
|
602
|
+
amt?: string;
|
|
603
|
+
name?: string;
|
|
604
|
+
}
|
|
605
|
+
export interface PinterestPinJoin {
|
|
606
|
+
visual_annotation?: string[];
|
|
607
|
+
}
|
|
608
|
+
export interface PinterestPinLinkDomain {
|
|
609
|
+
id?: string;
|
|
610
|
+
name?: string;
|
|
611
|
+
officialUser?: PinterestPinLinkDomainOfficialUser | null;
|
|
612
|
+
}
|
|
613
|
+
export interface PinterestPinLinkDomainOfficialUser {
|
|
614
|
+
__typename?: string;
|
|
615
|
+
blockedByMe?: boolean;
|
|
616
|
+
entityId?: string;
|
|
617
|
+
explicitlyFollowedByMe?: boolean;
|
|
618
|
+
firstName?: string;
|
|
619
|
+
followerCount?: number;
|
|
620
|
+
fullName?: string;
|
|
621
|
+
id?: string;
|
|
622
|
+
imageLargeUrl?: string;
|
|
623
|
+
imageMediumUrl?: string;
|
|
624
|
+
imageSmallUrl?: string;
|
|
625
|
+
isVerifiedMerchant?: boolean;
|
|
626
|
+
username?: string;
|
|
627
|
+
verifiedIdentity?: PinterestPinCloseupUnifiedAttributionVerifiedIdentity;
|
|
628
|
+
}
|
|
629
|
+
export interface PinterestPinMetadata {
|
|
630
|
+
basics?: unknown | null;
|
|
631
|
+
pinTitle?: string;
|
|
632
|
+
templateType?: unknown | null;
|
|
633
|
+
}
|
|
634
|
+
export interface PinterestPinNativeCreator {
|
|
635
|
+
__typename?: string;
|
|
636
|
+
blockedByMe?: boolean;
|
|
637
|
+
entityId?: string;
|
|
638
|
+
explicitlyFollowedByMe?: boolean;
|
|
639
|
+
firstName?: string;
|
|
640
|
+
followerCount?: number;
|
|
641
|
+
fullName?: string;
|
|
642
|
+
id?: string;
|
|
643
|
+
imageLargeUrl?: string;
|
|
644
|
+
imageMediumUrl?: string;
|
|
645
|
+
imageSmallUrl?: string;
|
|
646
|
+
isDirectToSiteAllowed?: boolean;
|
|
647
|
+
isPrimaryWebsiteVerified?: boolean;
|
|
648
|
+
isVerifiedMerchant?: boolean;
|
|
649
|
+
profileUrl?: string;
|
|
650
|
+
username?: string;
|
|
651
|
+
verifiedIdentity?: PinterestPinCloseupUnifiedAttributionVerifiedIdentity;
|
|
652
|
+
websiteUrl?: string | null;
|
|
653
|
+
}
|
|
654
|
+
export interface PinterestPinOriginPinner {
|
|
655
|
+
blockedByMe?: boolean;
|
|
656
|
+
entityId?: string;
|
|
657
|
+
explicitlyFollowedByMe?: boolean;
|
|
658
|
+
followerCount?: number;
|
|
659
|
+
fullName?: string;
|
|
660
|
+
id?: string;
|
|
661
|
+
imageLargeUrl?: string;
|
|
662
|
+
imageMediumUrl?: string;
|
|
663
|
+
imageSmallUrl?: string;
|
|
664
|
+
isVerifiedMerchant?: boolean;
|
|
665
|
+
username?: string;
|
|
666
|
+
verifiedIdentity?: PinterestPinCloseupUnifiedAttributionVerifiedIdentity;
|
|
667
|
+
}
|
|
668
|
+
export interface PinterestPinOwner {
|
|
669
|
+
entityId?: string;
|
|
670
|
+
id?: string;
|
|
671
|
+
}
|
|
672
|
+
export interface PinterestPinPinJoin {
|
|
673
|
+
annotationsWithLinksArray?: PinterestPinAnnotationsWithLinksArray[];
|
|
674
|
+
canonicalPin?: PinterestPinOwner | null;
|
|
675
|
+
interlinkEntries?: unknown | null;
|
|
676
|
+
seoBreadcrumbs?: PinterestPinSeoBreadcrumb[];
|
|
677
|
+
seoCanonicalDomain?: string;
|
|
678
|
+
seoCanonicalUrl?: string | null;
|
|
679
|
+
seoRelatedInterests?: PinterestPinAnnotationsWithLinksArray[] | null;
|
|
680
|
+
shoppingKlpUrls?: unknown | null;
|
|
681
|
+
visualAnnotation?: string[];
|
|
682
|
+
}
|
|
683
|
+
export interface PinterestPinPinner {
|
|
684
|
+
__typename?: string;
|
|
685
|
+
blockedByMe?: boolean;
|
|
686
|
+
connectionType?: string;
|
|
687
|
+
domainUrl?: string | null;
|
|
688
|
+
domainVerified?: boolean;
|
|
689
|
+
entityId?: string;
|
|
690
|
+
explicitlyFollowedByMe?: boolean;
|
|
691
|
+
followerCount?: number;
|
|
692
|
+
fullName?: string;
|
|
693
|
+
id?: string;
|
|
694
|
+
imageLargeUrl?: string;
|
|
695
|
+
imageMediumUrl?: string;
|
|
696
|
+
imageSmallUrl?: string;
|
|
697
|
+
isVerifiedMerchant?: boolean;
|
|
698
|
+
username?: string;
|
|
699
|
+
verifiedIdentity?: PinterestPinnerVerifiedIdentity;
|
|
700
|
+
}
|
|
701
|
+
export interface PinterestPinPromoter {
|
|
702
|
+
__typename?: string;
|
|
703
|
+
entityId?: string;
|
|
704
|
+
fullName?: string;
|
|
705
|
+
id?: string;
|
|
706
|
+
imageMediumUrl?: string;
|
|
707
|
+
imageSmallUrl?: string;
|
|
708
|
+
username?: string;
|
|
709
|
+
}
|
|
710
|
+
export interface PinterestPinReactionCountsData {
|
|
711
|
+
reactionCount?: number;
|
|
712
|
+
reactionType?: number;
|
|
713
|
+
}
|
|
714
|
+
export interface PinterestPinRecipeAggregateRating {
|
|
715
|
+
__typename?: string;
|
|
716
|
+
bestRating?: unknown | null;
|
|
717
|
+
ratingCount?: number | null;
|
|
718
|
+
ratingValue?: string;
|
|
719
|
+
reviewCount?: number;
|
|
720
|
+
}
|
|
721
|
+
export interface PinterestPinResponse {
|
|
722
|
+
__typename?: string;
|
|
723
|
+
adData?: unknown | null;
|
|
724
|
+
adMatchReason?: number;
|
|
725
|
+
adTargetingAttribution?: unknown | null;
|
|
726
|
+
adTargetingAttributionReasons?: unknown | null;
|
|
727
|
+
advertiserId?: string | null;
|
|
728
|
+
affiliateDisclosure?: string | null;
|
|
729
|
+
affiliateLink?: unknown | null;
|
|
730
|
+
aggregatedPinData?: PinterestPinAggregatedPinData;
|
|
731
|
+
attribution?: unknown | null;
|
|
732
|
+
board?: PinterestPinBoard;
|
|
733
|
+
boostAdsData?: unknown | null;
|
|
734
|
+
campaignId?: string | null;
|
|
735
|
+
canDeleteDidItAndComments?: boolean;
|
|
736
|
+
carouselData?: unknown | null;
|
|
737
|
+
category?: string;
|
|
738
|
+
closeupAttribution?: PinterestPinCloseupAttribution;
|
|
739
|
+
closeupUnifiedAttribution?: PinterestPinCloseupUnifiedAttribution;
|
|
740
|
+
closeupUnifiedDescription?: string;
|
|
741
|
+
closeupUnifiedTitle?: string;
|
|
742
|
+
collectionPin?: unknown | null;
|
|
743
|
+
commentsDisabled?: boolean;
|
|
744
|
+
createdAt?: string;
|
|
745
|
+
creativeOverlayImages?: unknown | null;
|
|
746
|
+
creatorClass?: unknown | null;
|
|
747
|
+
credits_charged: number;
|
|
748
|
+
credits_remaining: number;
|
|
749
|
+
description?: string;
|
|
750
|
+
descriptionHtml?: string;
|
|
751
|
+
descriptionLinks?: unknown[];
|
|
752
|
+
digitalMediaSourceType?: number | null;
|
|
753
|
+
domain?: string;
|
|
754
|
+
dominantColor?: string;
|
|
755
|
+
doneByMe?: boolean;
|
|
756
|
+
embed?: unknown | null;
|
|
757
|
+
entityId?: string;
|
|
758
|
+
genAiTopics?: PinterestPinGenAITopic[] | null;
|
|
759
|
+
gridAttribution?: PinterestPinGridAttribution | null;
|
|
760
|
+
gridDescription?: string;
|
|
761
|
+
gridTitle?: string;
|
|
762
|
+
hasActiveBoostAds?: boolean;
|
|
763
|
+
hasBeenBoostPromoted?: boolean;
|
|
764
|
+
hasHiddenInnerPin?: boolean;
|
|
765
|
+
id?: string;
|
|
766
|
+
imageLargeUrl?: string;
|
|
767
|
+
imageSignature?: string;
|
|
768
|
+
imageSpec_136x136?: PinterestPinImageSpec;
|
|
769
|
+
imageSpec_170x?: PinterestPinImageSpec;
|
|
770
|
+
imageSpec_236x?: PinterestPinImageSpec;
|
|
771
|
+
imageSpec_474x?: PinterestPinImageSpec;
|
|
772
|
+
imageSpec_564x?: PinterestPinImageSpec;
|
|
773
|
+
imageSpec_600x315?: PinterestPinImageSpec;
|
|
774
|
+
imageSpec_60x60?: PinterestPinImageSpec;
|
|
775
|
+
imageSpec_736x?: PinterestPinImageSpec;
|
|
776
|
+
imageSpec_orig?: PinterestPinImageSpecOrig;
|
|
777
|
+
images_136x136?: PinterestPinImages;
|
|
778
|
+
images_170x?: PinterestPinImages;
|
|
779
|
+
images_236x?: PinterestPinImages236X;
|
|
780
|
+
images_474x?: PinterestPinImages;
|
|
781
|
+
images_564x?: PinterestPinImages;
|
|
782
|
+
images_600x315?: PinterestPinImageSpec;
|
|
783
|
+
images_60x60?: PinterestPinImageSpec;
|
|
784
|
+
images_736x?: PinterestPinImages;
|
|
785
|
+
images_orig?: PinterestPinImagesOrig;
|
|
786
|
+
interestItemIdStr?: unknown | null;
|
|
787
|
+
isActiveAd?: boolean;
|
|
788
|
+
isDownstreamPromotion?: boolean;
|
|
789
|
+
isEligibleForAggregatedComments?: boolean;
|
|
790
|
+
isEligibleForImageDownload?: boolean;
|
|
791
|
+
isEligibleForPdp?: boolean;
|
|
792
|
+
isEligibleForPromotedPartnership?: boolean;
|
|
793
|
+
isGoLinkless?: boolean;
|
|
794
|
+
isHidden?: boolean;
|
|
795
|
+
isInstagramApi?: boolean;
|
|
796
|
+
isOosProduct?: boolean;
|
|
797
|
+
isPromoted?: boolean;
|
|
798
|
+
isQuickPromotableByPinner?: boolean;
|
|
799
|
+
isRepin?: boolean;
|
|
800
|
+
isStaleProduct?: boolean;
|
|
801
|
+
isThirdPartyAd?: boolean;
|
|
802
|
+
isUnsafe?: boolean;
|
|
803
|
+
isUnsafeForAd?: boolean;
|
|
804
|
+
isUnsafeForComments?: boolean;
|
|
805
|
+
isV1IdeaPin?: boolean | null;
|
|
806
|
+
isVideo?: boolean;
|
|
807
|
+
isViewedByOwnerOrEmployeeOrPartnerOfBusiness?: unknown | null;
|
|
808
|
+
isViewerRestricted?: boolean;
|
|
809
|
+
link?: string | null;
|
|
810
|
+
linkDomain?: PinterestPinLinkDomain | null;
|
|
811
|
+
linkId?: string | null;
|
|
812
|
+
linkUserWebsite?: unknown | null;
|
|
813
|
+
linkUtmApplicableAndReplaced?: number;
|
|
814
|
+
mediaAttribution?: unknown | null;
|
|
815
|
+
method?: string;
|
|
816
|
+
mobileLink?: unknown | null;
|
|
817
|
+
musicAttributions?: unknown[];
|
|
818
|
+
nativeCreator?: PinterestPinNativeCreator | null;
|
|
819
|
+
originPinner?: PinterestPinOriginPinner | null;
|
|
820
|
+
pinAdditionalNote?: unknown | null;
|
|
821
|
+
pinJoin?: PinterestPinPinJoin;
|
|
822
|
+
pinPromotionId?: string | null;
|
|
823
|
+
pinnabilityMultiScoresStringified?: unknown | null;
|
|
824
|
+
pinnedToBoard?: unknown | null;
|
|
825
|
+
pinner?: PinterestPinPinner;
|
|
826
|
+
priceCurrency?: string;
|
|
827
|
+
productPinData?: unknown | null;
|
|
828
|
+
promotedIsLeadAd?: boolean;
|
|
829
|
+
promotedIsPersonalized?: unknown | null;
|
|
830
|
+
promotedIsRemovable?: boolean;
|
|
831
|
+
promotedLeadForm?: unknown | null;
|
|
832
|
+
promotedPartnershipAdvertiserName?: unknown | null;
|
|
833
|
+
promotedPartnershipAttributionName?: unknown | null;
|
|
834
|
+
promoter?: PinterestPinPromoter | null;
|
|
835
|
+
reactionByMe?: number;
|
|
836
|
+
reactionCountsData?: PinterestPinReactionCountsData[];
|
|
837
|
+
recommendationReason?: unknown | null;
|
|
838
|
+
repinCount?: number;
|
|
839
|
+
richMetadata?: PinterestPinRichMetadata | null;
|
|
840
|
+
richSummary?: PinterestPinRichSummary | null;
|
|
841
|
+
section?: PinterestPinOwner | null;
|
|
842
|
+
seeMoreUserFeedback?: unknown | null;
|
|
843
|
+
seoAltText?: string;
|
|
844
|
+
seoDescription?: string;
|
|
845
|
+
seoNoindexReason?: string | null;
|
|
846
|
+
seoTitle?: string;
|
|
847
|
+
seoUrl?: string;
|
|
848
|
+
shareCount?: number;
|
|
849
|
+
shipsToUserCountry?: boolean;
|
|
850
|
+
shoppingFlags?: number[];
|
|
851
|
+
shouldMute?: boolean;
|
|
852
|
+
shouldOpenInStream?: boolean;
|
|
853
|
+
shuffle?: PinterestPinShuffle | null;
|
|
854
|
+
shuffleAsset?: unknown | null;
|
|
855
|
+
sourceInterest?: unknown | null;
|
|
856
|
+
sponsorship?: unknown | null;
|
|
857
|
+
storyPinData?: PinterestPinStoryPinData | null;
|
|
858
|
+
storyPinDataId?: string | null;
|
|
859
|
+
success: boolean;
|
|
860
|
+
thirdPartyPinOwner?: unknown | null;
|
|
861
|
+
title?: string;
|
|
862
|
+
topInterest?: number;
|
|
863
|
+
totalReactionCount?: number;
|
|
864
|
+
trackedLink?: string | null;
|
|
865
|
+
trackingParams?: string;
|
|
866
|
+
translations?: unknown | null;
|
|
867
|
+
unauthOnGridTitle?: string | null;
|
|
868
|
+
unauthOnPageDescription?: string;
|
|
869
|
+
unauthOnPageTitle?: string;
|
|
870
|
+
userInterestCluster?: unknown | null;
|
|
871
|
+
userMentionTags?: unknown | null;
|
|
872
|
+
utmLink?: string | null;
|
|
873
|
+
videoStatus?: unknown | null;
|
|
874
|
+
videos?: PinterestPinVideos | null;
|
|
875
|
+
visualObjects?: PinterestPinVisualObject[];
|
|
876
|
+
}
|
|
877
|
+
export interface PinterestPinRichMetadata {
|
|
878
|
+
__typename?: string;
|
|
879
|
+
aggregateRating?: PinterestPinRichMetadataAggregateRating | null;
|
|
880
|
+
article?: PinterestPinRichMetadataArticle | null;
|
|
881
|
+
description?: string;
|
|
882
|
+
products?: unknown | null;
|
|
883
|
+
recipe?: PinterestPinDetailsDataRichMetadataRecipe | null;
|
|
884
|
+
siteName?: string;
|
|
885
|
+
title?: string;
|
|
886
|
+
tutorial?: unknown | null;
|
|
887
|
+
url?: string;
|
|
888
|
+
}
|
|
889
|
+
export interface PinterestPinRichMetadataAggregateRating {
|
|
890
|
+
bestRating?: unknown | null;
|
|
891
|
+
ratingCount?: number | null;
|
|
892
|
+
ratingValue?: string;
|
|
893
|
+
reviewCount?: number;
|
|
894
|
+
}
|
|
895
|
+
export interface PinterestPinRichMetadataArticle {
|
|
896
|
+
__typename?: string;
|
|
897
|
+
datePublished?: string;
|
|
898
|
+
name?: string;
|
|
899
|
+
}
|
|
900
|
+
export interface PinterestPinRichSummary {
|
|
901
|
+
aggregateRating?: PinterestPinRichMetadataAggregateRating | null;
|
|
902
|
+
displayName?: string;
|
|
903
|
+
products?: unknown[];
|
|
904
|
+
typeName?: string;
|
|
905
|
+
}
|
|
906
|
+
export interface PinterestPinSeoBreadcrumb {
|
|
907
|
+
__typename?: string;
|
|
908
|
+
name?: string;
|
|
909
|
+
url?: string;
|
|
910
|
+
}
|
|
911
|
+
export interface PinterestPinServingsSummary {
|
|
912
|
+
__typename?: string;
|
|
913
|
+
serves?: string | null;
|
|
914
|
+
summary?: string | null;
|
|
915
|
+
}
|
|
916
|
+
export interface PinterestPinShuffle {
|
|
917
|
+
__typename?: string;
|
|
918
|
+
entityId?: string;
|
|
919
|
+
id?: string;
|
|
920
|
+
isRemixable?: boolean;
|
|
921
|
+
}
|
|
922
|
+
export interface PinterestPinStoryPinData {
|
|
923
|
+
__typename?: string;
|
|
924
|
+
entityId?: string;
|
|
925
|
+
hasAffiliateProducts?: boolean;
|
|
926
|
+
id?: string;
|
|
927
|
+
isDeleted?: boolean;
|
|
928
|
+
metadata?: PinterestPinMetadata;
|
|
929
|
+
pages?: PinterestPinStoryPinDataPage[];
|
|
930
|
+
totalVideoDuration?: number;
|
|
931
|
+
}
|
|
932
|
+
export interface PinterestPinStoryPinDataPage {
|
|
933
|
+
__typename?: string;
|
|
934
|
+
ad?: unknown | null;
|
|
935
|
+
blocks?: PinterestPinStoryPinDataPageBlock[];
|
|
936
|
+
imageAdjustedSpec_orig?: unknown | null;
|
|
937
|
+
images_originals?: unknown | null;
|
|
938
|
+
layout?: number;
|
|
939
|
+
musicAttributions?: unknown[];
|
|
940
|
+
pageId?: string;
|
|
941
|
+
shouldMute?: boolean;
|
|
942
|
+
storyPageId?: string;
|
|
943
|
+
style?: PinterestPinCloseupDataStoryPinDataPageStyle | null;
|
|
944
|
+
}
|
|
945
|
+
export interface PinterestPinStoryPinDataPageBlock {
|
|
946
|
+
__typename?: string;
|
|
947
|
+
blockStyle?: PinterestPinBlockStyle;
|
|
948
|
+
blockType?: number;
|
|
949
|
+
images_750x?: PinterestPinImages;
|
|
950
|
+
images_orig?: unknown | null;
|
|
951
|
+
text?: string;
|
|
952
|
+
videoDataV2?: PinterestPinStoryPinDataPageBlockVideoDataV2;
|
|
953
|
+
}
|
|
954
|
+
export interface PinterestPinStoryPinDataPageBlockVideoDataV2 {
|
|
955
|
+
seoViewCount?: string;
|
|
956
|
+
v_hlsv4_video_list?: PinterestPinVHlsv4VideoList;
|
|
957
|
+
videoList?: PinterestPinStoryPinDataPageBlockVideoDataV2VideoList;
|
|
958
|
+
videoList720P?: PinterestPinDetailsDataStoryPinDataPageBlockVideoDataV2VideoList720P;
|
|
959
|
+
videoListEXP3?: unknown | null;
|
|
960
|
+
videoListEXP4?: unknown | null;
|
|
961
|
+
videoListEXP5?: unknown | null;
|
|
962
|
+
videoListEXP6?: unknown | null;
|
|
963
|
+
videoListEXP7?: unknown | null;
|
|
964
|
+
videoListForCaptions?: PinterestPinVideoListForCaptions;
|
|
965
|
+
videoListMobile?: PinterestPinVideoList;
|
|
966
|
+
}
|
|
967
|
+
export interface PinterestPinStoryPinDataPageBlockVideoDataV2VideoList {
|
|
968
|
+
vHLSV3MOBILE?: PinterestPinVideoVariant;
|
|
969
|
+
}
|
|
970
|
+
export interface PinterestPinTagsChip {
|
|
971
|
+
dominant_color?: string;
|
|
972
|
+
id?: string;
|
|
973
|
+
image_signature?: string;
|
|
974
|
+
images?: Record<string, PinterestPinTagsChipImage>;
|
|
975
|
+
item_id?: string;
|
|
976
|
+
link?: string;
|
|
977
|
+
price_currency?: string;
|
|
978
|
+
price_value?: number;
|
|
979
|
+
title?: string;
|
|
980
|
+
}
|
|
981
|
+
export interface PinterestPinTagsChipImage {
|
|
982
|
+
height?: number;
|
|
983
|
+
url?: string;
|
|
984
|
+
width?: number;
|
|
985
|
+
}
|
|
986
|
+
export interface PinterestPinVHlsv4VideoList {
|
|
987
|
+
vHLSV4?: PinterestPinVideoVariant;
|
|
988
|
+
}
|
|
989
|
+
export interface PinterestPinVideoList {
|
|
990
|
+
vHLSV3MOBILE?: PinterestPinVideoVariant;
|
|
991
|
+
}
|
|
992
|
+
export interface PinterestPinVideoListForCaption {
|
|
993
|
+
captionsUrls?: Record<string, string> | null;
|
|
994
|
+
}
|
|
995
|
+
export interface PinterestPinVideoListForCaptions {
|
|
996
|
+
v720P?: PinterestPinVideoVariant;
|
|
997
|
+
}
|
|
998
|
+
export interface PinterestPinVideoVariant {
|
|
999
|
+
__typename?: string;
|
|
1000
|
+
captionsUrls?: Record<string, string> | null;
|
|
1001
|
+
duration?: number;
|
|
1002
|
+
height?: number;
|
|
1003
|
+
thumbnail?: string;
|
|
1004
|
+
url?: string;
|
|
1005
|
+
width?: number;
|
|
1006
|
+
}
|
|
1007
|
+
export interface PinterestPinVideos {
|
|
1008
|
+
duration?: number;
|
|
1009
|
+
entityId?: string;
|
|
1010
|
+
id?: string;
|
|
1011
|
+
seoViewCount?: string;
|
|
1012
|
+
signature?: string;
|
|
1013
|
+
videoList?: PinterestPinVideosVideoList;
|
|
1014
|
+
videoListForCaptions?: Record<string, PinterestPinVideoListForCaption>;
|
|
1015
|
+
videoUrls?: string[];
|
|
1016
|
+
}
|
|
1017
|
+
export interface PinterestPinVideosVideoList {
|
|
1018
|
+
__typename?: string;
|
|
1019
|
+
v720P?: PinterestPinVideoVariant;
|
|
1020
|
+
vHLSV3MOBILE?: PinterestPinVideoVariant;
|
|
1021
|
+
vHLSV4?: PinterestPinVideoVariant;
|
|
1022
|
+
}
|
|
1023
|
+
export interface PinterestPinVisualObject {
|
|
1024
|
+
h?: number;
|
|
1025
|
+
isStela?: unknown | null;
|
|
1026
|
+
w?: number;
|
|
1027
|
+
x?: number;
|
|
1028
|
+
y?: number;
|
|
1029
|
+
}
|
|
1030
|
+
export interface PinterestPinnerVerifiedIdentity {
|
|
1031
|
+
verified?: unknown | null;
|
|
1032
|
+
}
|
|
1033
|
+
export interface PinterestProductMetadata {
|
|
1034
|
+
id?: string;
|
|
1035
|
+
type?: string;
|
|
1036
|
+
}
|
|
1037
|
+
export interface PinterestPromoter {
|
|
1038
|
+
follower_count?: number;
|
|
1039
|
+
full_name?: string;
|
|
1040
|
+
id?: string;
|
|
1041
|
+
image_large_url?: string;
|
|
1042
|
+
image_medium_url?: string;
|
|
1043
|
+
image_small_url?: string;
|
|
1044
|
+
is_ads_only_profile?: boolean;
|
|
1045
|
+
is_verified_merchant?: boolean;
|
|
1046
|
+
node_id?: string;
|
|
1047
|
+
username?: string;
|
|
1048
|
+
verified_identity?: PinterestSearchStoryDynamicInsertionOption;
|
|
1049
|
+
}
|
|
1050
|
+
export interface PinterestRecommendScore {
|
|
1051
|
+
count?: number;
|
|
1052
|
+
score?: number;
|
|
1053
|
+
}
|
|
1054
|
+
export interface PinterestRichMetadata {
|
|
1055
|
+
aggregate_rating?: PinterestRichMetadataAggregateRating;
|
|
1056
|
+
amp_url?: string;
|
|
1057
|
+
amp_valid?: boolean;
|
|
1058
|
+
canonical_url?: string;
|
|
1059
|
+
description?: string;
|
|
1060
|
+
has_price_drop?: boolean;
|
|
1061
|
+
id?: string;
|
|
1062
|
+
link_status?: number;
|
|
1063
|
+
locale?: string;
|
|
1064
|
+
products?: PinterestRichMetadataProduct[];
|
|
1065
|
+
site_name?: string;
|
|
1066
|
+
title?: string;
|
|
1067
|
+
type?: string;
|
|
1068
|
+
}
|
|
1069
|
+
export interface PinterestRichMetadataAggregateRating {
|
|
1070
|
+
best_rating?: string;
|
|
1071
|
+
id?: string;
|
|
1072
|
+
rating_count?: number;
|
|
1073
|
+
rating_distribution?: unknown[];
|
|
1074
|
+
rating_value?: string;
|
|
1075
|
+
review_count?: number;
|
|
1076
|
+
type?: string;
|
|
1077
|
+
}
|
|
1078
|
+
export interface PinterestRichMetadataProduct {
|
|
1079
|
+
additional_images?: unknown[];
|
|
1080
|
+
id?: string;
|
|
1081
|
+
item_id?: string;
|
|
1082
|
+
item_set_id?: string;
|
|
1083
|
+
name?: string;
|
|
1084
|
+
offer_summary?: PinterestRichMetadataProductOfferSummary;
|
|
1085
|
+
offers?: PinterestObjectRichSummaryProductOffer[];
|
|
1086
|
+
type?: string;
|
|
1087
|
+
videos?: unknown[];
|
|
1088
|
+
}
|
|
1089
|
+
export interface PinterestRichMetadataProductOfferSummary {
|
|
1090
|
+
availability?: number;
|
|
1091
|
+
condition?: number;
|
|
1092
|
+
currency?: string;
|
|
1093
|
+
in_stock?: boolean;
|
|
1094
|
+
price?: string;
|
|
1095
|
+
price_val?: number;
|
|
1096
|
+
standard_price?: string;
|
|
1097
|
+
}
|
|
1098
|
+
export interface PinterestSearchPin {
|
|
1099
|
+
access?: unknown[];
|
|
1100
|
+
ad_match_reason?: number;
|
|
1101
|
+
advertiser_id?: string;
|
|
1102
|
+
aggregated_pin_data?: PinterestSearchResultAggregatedPinData;
|
|
1103
|
+
alt_text?: string;
|
|
1104
|
+
auto_alt_text?: string;
|
|
1105
|
+
board?: PinterestSearchResultBoard;
|
|
1106
|
+
campaign_id?: number;
|
|
1107
|
+
collection_pin?: PinterestCollectionPin;
|
|
1108
|
+
created_at?: string;
|
|
1109
|
+
description?: string;
|
|
1110
|
+
did_its?: unknown[];
|
|
1111
|
+
digital_media_source_type?: number;
|
|
1112
|
+
domain?: string;
|
|
1113
|
+
dominant_color?: string;
|
|
1114
|
+
gen_ai_topics?: PinterestGenAITopic[];
|
|
1115
|
+
grid_attribution?: PinterestSearchStoryObjectGridAttribution;
|
|
1116
|
+
grid_title?: string;
|
|
1117
|
+
id?: string;
|
|
1118
|
+
image_crop?: PinterestSearchResultImageCrop;
|
|
1119
|
+
image_signature?: string;
|
|
1120
|
+
images?: Record<string, PinterestSearchResultImage>;
|
|
1121
|
+
insertion_id?: string;
|
|
1122
|
+
is_downstream_promotion?: boolean;
|
|
1123
|
+
is_eligible_for_filters?: boolean;
|
|
1124
|
+
is_eligible_for_pdp?: boolean;
|
|
1125
|
+
is_eligible_for_pre_loved_goods_label?: boolean;
|
|
1126
|
+
is_eligible_for_related_products?: boolean;
|
|
1127
|
+
is_eligible_for_web_closeup?: boolean;
|
|
1128
|
+
is_go_linkless?: boolean;
|
|
1129
|
+
is_oos_product?: boolean;
|
|
1130
|
+
is_prefetch_enabled?: boolean;
|
|
1131
|
+
is_promoted?: boolean;
|
|
1132
|
+
is_stale_product?: boolean;
|
|
1133
|
+
link?: string;
|
|
1134
|
+
link_domain?: PinterestLinkDomain;
|
|
1135
|
+
link_user_website?: PinterestLinkUserWebsite;
|
|
1136
|
+
link_utm_applicable_and_replaced?: number;
|
|
1137
|
+
node_id?: string;
|
|
1138
|
+
pin_join?: PinterestPinJoin;
|
|
1139
|
+
pin_promotion_id?: number;
|
|
1140
|
+
pinner?: PinterestSearchResultPinner;
|
|
1141
|
+
product_metadata?: PinterestProductMetadata;
|
|
1142
|
+
promoted_is_lead_ad?: boolean;
|
|
1143
|
+
promoted_is_removable?: boolean;
|
|
1144
|
+
promoter?: PinterestPromoter;
|
|
1145
|
+
reaction_counts?: Record<string, number>;
|
|
1146
|
+
rich_summary?: PinterestSearchResultRichSummary;
|
|
1147
|
+
seo_alt_text?: string;
|
|
1148
|
+
shopping_flags?: number[];
|
|
1149
|
+
should_open_in_stream?: boolean;
|
|
1150
|
+
story_pin_data?: PinterestSearchResultStoryPinData;
|
|
1151
|
+
story_pin_data_id?: string;
|
|
1152
|
+
title?: string;
|
|
1153
|
+
tracking_params?: string;
|
|
1154
|
+
type?: string;
|
|
1155
|
+
url: string;
|
|
1156
|
+
utm_link?: string;
|
|
1157
|
+
videos?: PinterestVideos;
|
|
1158
|
+
}
|
|
1159
|
+
export interface PinterestSearchResponse {
|
|
1160
|
+
credits_charged: number;
|
|
1161
|
+
credits_remaining: number;
|
|
1162
|
+
cursor: string | null;
|
|
1163
|
+
pins: PinterestSearchPin[];
|
|
1164
|
+
success: boolean;
|
|
1165
|
+
}
|
|
1166
|
+
export interface PinterestSearchResultAggregatedPinData {
|
|
1167
|
+
node_id?: string;
|
|
1168
|
+
pin_tags_chips?: PinterestPinTagsChip[];
|
|
1169
|
+
}
|
|
1170
|
+
export interface PinterestSearchResultBoard {
|
|
1171
|
+
board_order_modified_at?: string;
|
|
1172
|
+
collaborating_users?: PinterestCollaboratingUser[];
|
|
1173
|
+
collaborator_count?: number;
|
|
1174
|
+
cover_images?: PinterestBoardCoverImages;
|
|
1175
|
+
id?: string;
|
|
1176
|
+
image_cover_hd_url?: string;
|
|
1177
|
+
image_cover_url?: string;
|
|
1178
|
+
images?: PinterestBoardImages;
|
|
1179
|
+
is_collaborative?: boolean;
|
|
1180
|
+
name?: string;
|
|
1181
|
+
node_id?: string;
|
|
1182
|
+
owner?: PinterestSearchResultPinner;
|
|
1183
|
+
pin_count?: number;
|
|
1184
|
+
pin_thumbnail_urls?: string[];
|
|
1185
|
+
section_count?: number;
|
|
1186
|
+
type?: string;
|
|
1187
|
+
url?: string;
|
|
1188
|
+
}
|
|
1189
|
+
export interface PinterestSearchResultImage {
|
|
1190
|
+
height?: number;
|
|
1191
|
+
url?: string;
|
|
1192
|
+
width?: number;
|
|
1193
|
+
}
|
|
1194
|
+
export interface PinterestSearchResultImageCrop {
|
|
1195
|
+
max_y?: number;
|
|
1196
|
+
min_y?: number;
|
|
1197
|
+
}
|
|
1198
|
+
export interface PinterestSearchResultPinner {
|
|
1199
|
+
ads_only_profile_site?: string;
|
|
1200
|
+
follower_count?: number;
|
|
1201
|
+
full_name?: string;
|
|
1202
|
+
id?: string;
|
|
1203
|
+
image_large_url?: string;
|
|
1204
|
+
image_medium_url?: string;
|
|
1205
|
+
image_small_url?: string;
|
|
1206
|
+
is_ads_only_profile?: boolean;
|
|
1207
|
+
is_verified_merchant?: boolean;
|
|
1208
|
+
node_id?: string;
|
|
1209
|
+
username?: string;
|
|
1210
|
+
verified_identity?: PinterestVerifiedIdentity;
|
|
1211
|
+
}
|
|
1212
|
+
export interface PinterestSearchResultRichSummary {
|
|
1213
|
+
actions?: unknown[];
|
|
1214
|
+
aggregate_rating?: PinterestRichMetadataAggregateRating;
|
|
1215
|
+
display_cook_time?: number;
|
|
1216
|
+
display_name?: string;
|
|
1217
|
+
id?: string;
|
|
1218
|
+
is_hard_404?: boolean;
|
|
1219
|
+
products?: PinterestObjectRichSummaryProduct[];
|
|
1220
|
+
site_name?: string;
|
|
1221
|
+
type?: string;
|
|
1222
|
+
type_name?: string;
|
|
1223
|
+
url?: string;
|
|
1224
|
+
}
|
|
1225
|
+
export interface PinterestSearchResultStoryPinData {
|
|
1226
|
+
has_affiliate_products?: boolean;
|
|
1227
|
+
has_product_pins?: boolean;
|
|
1228
|
+
id?: string;
|
|
1229
|
+
metadata?: PinterestSearchResultStoryPinDataMetadata;
|
|
1230
|
+
node_id?: string;
|
|
1231
|
+
page_count?: number;
|
|
1232
|
+
pages?: PinterestSearchResultStoryPinDataPage[];
|
|
1233
|
+
static_page_count?: number;
|
|
1234
|
+
total_video_duration?: number;
|
|
1235
|
+
type?: string;
|
|
1236
|
+
}
|
|
1237
|
+
export interface PinterestSearchResultStoryPinDataMetadata {
|
|
1238
|
+
canvas_aspect_ratio?: number;
|
|
1239
|
+
compatible_version?: string;
|
|
1240
|
+
is_compatible?: boolean;
|
|
1241
|
+
is_editable?: boolean;
|
|
1242
|
+
is_promotable?: boolean;
|
|
1243
|
+
pin_image_signature?: string;
|
|
1244
|
+
pin_title?: string;
|
|
1245
|
+
root_pin_id?: string;
|
|
1246
|
+
root_user_id?: string;
|
|
1247
|
+
version?: string;
|
|
1248
|
+
}
|
|
1249
|
+
export interface PinterestSearchResultStoryPinDataPage {
|
|
1250
|
+
blocks?: PinterestSearchResultStoryPinDataPageBlock[];
|
|
1251
|
+
id?: string;
|
|
1252
|
+
image_signature?: string;
|
|
1253
|
+
image_signature_adjusted?: string;
|
|
1254
|
+
layout?: number;
|
|
1255
|
+
music_attributions?: PinterestMusicAttribution[];
|
|
1256
|
+
should_mute?: boolean;
|
|
1257
|
+
style?: PinterestSearchResultStoryPinDataPageStyle;
|
|
1258
|
+
type?: string;
|
|
1259
|
+
video_signature?: string;
|
|
1260
|
+
}
|
|
1261
|
+
export interface PinterestSearchResultStoryPinDataPageBlock {
|
|
1262
|
+
audio?: PinterestAudio;
|
|
1263
|
+
block_style?: PinterestSearchResultStoryPinDataPageBlockBlockStyle;
|
|
1264
|
+
block_type?: number;
|
|
1265
|
+
image_signature?: string;
|
|
1266
|
+
is_removed?: boolean;
|
|
1267
|
+
pin?: PinterestLinkDomain;
|
|
1268
|
+
pin_id?: string;
|
|
1269
|
+
provider_recording_id?: string;
|
|
1270
|
+
style_type?: number;
|
|
1271
|
+
text?: string;
|
|
1272
|
+
tracking_id?: string;
|
|
1273
|
+
type?: string;
|
|
1274
|
+
video?: PinterestSearchResultStoryPinDataPageBlockVideo;
|
|
1275
|
+
}
|
|
1276
|
+
export interface PinterestSearchResultStoryPinDataPageBlockBlockStyle {
|
|
1277
|
+
corner_radius?: number;
|
|
1278
|
+
height?: number;
|
|
1279
|
+
rotation?: number;
|
|
1280
|
+
width?: number;
|
|
1281
|
+
x_coord?: number;
|
|
1282
|
+
y_coord?: number;
|
|
1283
|
+
}
|
|
1284
|
+
export interface PinterestSearchResultStoryPinDataPageBlockVideo {
|
|
1285
|
+
id?: string;
|
|
1286
|
+
video_list?: Record<string, PinterestVideoVariant>;
|
|
1287
|
+
}
|
|
1288
|
+
export interface PinterestSearchResultStoryPinDataPageStyle {
|
|
1289
|
+
background_color?: string;
|
|
1290
|
+
}
|
|
1291
|
+
export interface PinterestSearchStoryDynamicInsertionOption {
|
|
1292
|
+
}
|
|
1293
|
+
export interface PinterestSearchStoryObjectGridAttribution {
|
|
1294
|
+
follower_count?: number;
|
|
1295
|
+
full_name?: string;
|
|
1296
|
+
id?: string;
|
|
1297
|
+
image_large_url?: string;
|
|
1298
|
+
image_medium_url?: string;
|
|
1299
|
+
image_small_url?: string;
|
|
1300
|
+
is_ads_only_profile?: boolean;
|
|
1301
|
+
is_verified_merchant?: boolean;
|
|
1302
|
+
node_id?: string;
|
|
1303
|
+
username?: string;
|
|
1304
|
+
verified_identity?: PinterestVerifiedIdentity;
|
|
1305
|
+
}
|
|
1306
|
+
export interface PinterestSearchStoryObjectImage {
|
|
1307
|
+
height?: number;
|
|
1308
|
+
url?: string;
|
|
1309
|
+
width?: number;
|
|
1310
|
+
}
|
|
1311
|
+
export interface PinterestSearchStoryObjectImageCrop {
|
|
1312
|
+
max_y?: number;
|
|
1313
|
+
min_y?: number;
|
|
1314
|
+
}
|
|
1315
|
+
export interface PinterestShippingInfo {
|
|
1316
|
+
free_shipping_price?: string;
|
|
1317
|
+
free_shipping_value?: number;
|
|
1318
|
+
}
|
|
1319
|
+
export interface PinterestUserBoard {
|
|
1320
|
+
access?: unknown[];
|
|
1321
|
+
action?: PinterestUserBoardAction;
|
|
1322
|
+
allow_homefeed_recommendations?: boolean;
|
|
1323
|
+
archived_by_me_at?: unknown | null;
|
|
1324
|
+
aux_fields?: PinterestSearchStoryDynamicInsertionOption;
|
|
1325
|
+
background_colour?: unknown | null;
|
|
1326
|
+
board_order_modified_at?: string;
|
|
1327
|
+
board_vase?: PinterestBoardVase[] | null;
|
|
1328
|
+
bookmarks_for_objects?: unknown | null;
|
|
1329
|
+
button_text?: unknown | null;
|
|
1330
|
+
closeup_id?: unknown | null;
|
|
1331
|
+
collaborated_by_me?: boolean;
|
|
1332
|
+
collaborating_users?: PinterestCollaboratingUser[];
|
|
1333
|
+
collaborator_count?: number;
|
|
1334
|
+
collaborator_requests_enabled?: boolean;
|
|
1335
|
+
container_type?: number;
|
|
1336
|
+
content_ids?: string[];
|
|
1337
|
+
copy?: PinterestSearchStoryDynamicInsertionOption;
|
|
1338
|
+
cover_images?: PinterestUserBoardCoverImage;
|
|
1339
|
+
cover_pin?: PinterestUserBoardCoverPin;
|
|
1340
|
+
created_at?: string;
|
|
1341
|
+
custom_properties?: PinterestSearchStoryDynamicInsertionOption;
|
|
1342
|
+
description?: string | null;
|
|
1343
|
+
display_options?: PinterestUserBoardDisplayOption;
|
|
1344
|
+
dynamic_insertion_options?: PinterestSearchStoryDynamicInsertionOption;
|
|
1345
|
+
event_date?: unknown | null;
|
|
1346
|
+
event_start_date?: unknown | null;
|
|
1347
|
+
expanded_viewport_objects?: unknown[];
|
|
1348
|
+
experience?: unknown | null;
|
|
1349
|
+
experience_extra_context?: PinterestSearchStoryDynamicInsertionOption;
|
|
1350
|
+
followed_by_me?: boolean;
|
|
1351
|
+
follower_count?: number;
|
|
1352
|
+
has_custom_cover?: boolean;
|
|
1353
|
+
id?: string;
|
|
1354
|
+
image_cover_hd_url?: string;
|
|
1355
|
+
image_cover_url?: string;
|
|
1356
|
+
images?: PinterestBoardImages;
|
|
1357
|
+
is_ads_only?: boolean;
|
|
1358
|
+
is_collaborative?: boolean;
|
|
1359
|
+
item_actions?: unknown[];
|
|
1360
|
+
mapped_display_options?: PinterestSearchStoryDynamicInsertionOption;
|
|
1361
|
+
name?: string;
|
|
1362
|
+
node_id?: string;
|
|
1363
|
+
objects?: PinterestUserBoardObject[];
|
|
1364
|
+
owner?: PinterestUserBoardOwner;
|
|
1365
|
+
pin_count?: number;
|
|
1366
|
+
place_saves_count?: number;
|
|
1367
|
+
privacy?: string;
|
|
1368
|
+
referring_source?: unknown | null;
|
|
1369
|
+
relationships?: PinterestSearchStoryDynamicInsertionOption;
|
|
1370
|
+
section_count?: number;
|
|
1371
|
+
seo_board_module?: unknown | null;
|
|
1372
|
+
shop_source?: unknown | null;
|
|
1373
|
+
should_show_board_collaborators?: boolean;
|
|
1374
|
+
should_show_more_ideas?: boolean;
|
|
1375
|
+
should_show_shop_feed?: boolean;
|
|
1376
|
+
slot?: number;
|
|
1377
|
+
story_type?: string;
|
|
1378
|
+
subtitle?: unknown | null;
|
|
1379
|
+
thematic_deal_module?: unknown | null;
|
|
1380
|
+
title?: PinterestBoardFeedStorySubtitle;
|
|
1381
|
+
tracking_params?: string;
|
|
1382
|
+
type?: string;
|
|
1383
|
+
url?: string;
|
|
1384
|
+
user?: unknown | null;
|
|
1385
|
+
viewer_collaborator_join_requested?: boolean;
|
|
1386
|
+
}
|
|
1387
|
+
export interface PinterestUserBoardAction {
|
|
1388
|
+
url?: string;
|
|
1389
|
+
}
|
|
1390
|
+
export interface PinterestUserBoardCoverImage {
|
|
1391
|
+
"200x150"?: PinterestSearchStoryObjectImage;
|
|
1392
|
+
"236x"?: PinterestUserBoardCoverImage236x;
|
|
1393
|
+
}
|
|
1394
|
+
export interface PinterestUserBoardCoverImage236x {
|
|
1395
|
+
height?: unknown | null;
|
|
1396
|
+
url?: string;
|
|
1397
|
+
width?: number;
|
|
1398
|
+
}
|
|
1399
|
+
export interface PinterestUserBoardCoverPin {
|
|
1400
|
+
crop?: number[];
|
|
1401
|
+
custom_cover?: boolean;
|
|
1402
|
+
image_signature?: string;
|
|
1403
|
+
image_size?: (number | null)[];
|
|
1404
|
+
image_url?: string;
|
|
1405
|
+
pin_id?: string;
|
|
1406
|
+
scale?: number;
|
|
1407
|
+
size?: number[];
|
|
1408
|
+
timestamp?: number;
|
|
1409
|
+
}
|
|
1410
|
+
export interface PinterestUserBoardDisplayOption {
|
|
1411
|
+
action_button_location?: unknown | null;
|
|
1412
|
+
ai_fwd_presentation_options?: PinterestSearchStoryDynamicInsertionOption;
|
|
1413
|
+
align_image_bottom?: boolean;
|
|
1414
|
+
allow_pin_height_trimming?: unknown | null;
|
|
1415
|
+
background_colors?: unknown | null;
|
|
1416
|
+
background_image_url?: unknown | null;
|
|
1417
|
+
board_display_options?: unknown | null;
|
|
1418
|
+
board_view_type?: unknown | null;
|
|
1419
|
+
carousel_fade_ends?: unknown | null;
|
|
1420
|
+
carousel_item_spacing?: unknown | null;
|
|
1421
|
+
container_grid_span?: unknown | null;
|
|
1422
|
+
content_display?: unknown | null;
|
|
1423
|
+
corner_radius?: unknown | null;
|
|
1424
|
+
cover_image_url?: unknown | null;
|
|
1425
|
+
display_view_state?: unknown | null;
|
|
1426
|
+
explore_article_display_options?: unknown | null;
|
|
1427
|
+
extra_spacing_after?: number;
|
|
1428
|
+
extra_spacing_before?: number;
|
|
1429
|
+
footer_display?: unknown | null;
|
|
1430
|
+
has_condensed_header?: boolean;
|
|
1431
|
+
header_display?: unknown | null;
|
|
1432
|
+
header_font?: unknown | null;
|
|
1433
|
+
header_hidden?: boolean;
|
|
1434
|
+
hide_education_in_stream?: unknown | null;
|
|
1435
|
+
hide_search_guides_when_visible?: boolean;
|
|
1436
|
+
hide_ui_in_stream?: unknown | null;
|
|
1437
|
+
horizontal_full_bleed?: boolean;
|
|
1438
|
+
ideas_card_hide_when_offscreen?: boolean;
|
|
1439
|
+
identifier_icon_name?: unknown | null;
|
|
1440
|
+
image_only?: unknown | null;
|
|
1441
|
+
item_column_span?: number;
|
|
1442
|
+
item_view_rep_style?: unknown | null;
|
|
1443
|
+
module_header_alignment?: unknown | null;
|
|
1444
|
+
num_columns_requested?: number;
|
|
1445
|
+
pin_display_options?: unknown | null;
|
|
1446
|
+
pin_image_ratio?: unknown | null;
|
|
1447
|
+
scale_up?: unknown | null;
|
|
1448
|
+
shopping_grid_display?: unknown | null;
|
|
1449
|
+
show_bottom_divider?: boolean;
|
|
1450
|
+
show_content_follow_buttons?: unknown | null;
|
|
1451
|
+
show_dismiss_button?: unknown | null;
|
|
1452
|
+
show_follow_buttons?: unknown | null;
|
|
1453
|
+
show_product_indicator_overlay?: unknown | null;
|
|
1454
|
+
show_separator?: boolean;
|
|
1455
|
+
show_simplified_pin?: boolean;
|
|
1456
|
+
show_top_divider?: boolean;
|
|
1457
|
+
spacer_size?: unknown | null;
|
|
1458
|
+
stacked_card_cover_shade_colors?: unknown | null;
|
|
1459
|
+
subtitle_text_color?: unknown | null;
|
|
1460
|
+
tiles_grid_layout?: unknown | null;
|
|
1461
|
+
title_text_color?: unknown | null;
|
|
1462
|
+
use_plain_text_display_mode?: boolean;
|
|
1463
|
+
}
|
|
1464
|
+
export interface PinterestUserBoardObject {
|
|
1465
|
+
closeup_unified_description?: string;
|
|
1466
|
+
image_medium_url?: string;
|
|
1467
|
+
node_id?: string;
|
|
1468
|
+
}
|
|
1469
|
+
export interface PinterestUserBoardOwner {
|
|
1470
|
+
ads_only_profile_site?: unknown | null;
|
|
1471
|
+
domain_verified?: boolean;
|
|
1472
|
+
explicitly_followed_by_me?: boolean;
|
|
1473
|
+
follower_count?: number;
|
|
1474
|
+
full_name?: string;
|
|
1475
|
+
id?: string;
|
|
1476
|
+
image_medium_url?: string;
|
|
1477
|
+
is_ads_only_profile?: boolean;
|
|
1478
|
+
is_default_image?: boolean;
|
|
1479
|
+
is_partner?: boolean;
|
|
1480
|
+
is_private_profile?: boolean;
|
|
1481
|
+
is_verified_merchant?: boolean;
|
|
1482
|
+
node_id?: string;
|
|
1483
|
+
type?: string;
|
|
1484
|
+
username?: string;
|
|
1485
|
+
verified_identity?: PinterestSearchStoryDynamicInsertionOption;
|
|
1486
|
+
}
|
|
1487
|
+
export interface PinterestUserBoardsResponse {
|
|
1488
|
+
boards: PinterestUserBoard[];
|
|
1489
|
+
credits_charged: number;
|
|
1490
|
+
credits_remaining: number;
|
|
1491
|
+
cursor: string | null;
|
|
1492
|
+
success: boolean;
|
|
1493
|
+
}
|
|
1494
|
+
export interface PinterestVerifiedIdentity {
|
|
1495
|
+
name?: string;
|
|
1496
|
+
verified?: boolean;
|
|
1497
|
+
}
|
|
1498
|
+
export interface PinterestVideoVariant {
|
|
1499
|
+
best_captions_url?: string;
|
|
1500
|
+
block_id?: string;
|
|
1501
|
+
captions_urls?: Record<string, string>;
|
|
1502
|
+
duration?: number;
|
|
1503
|
+
height?: number;
|
|
1504
|
+
thumbnail?: string;
|
|
1505
|
+
url?: string;
|
|
1506
|
+
width?: number;
|
|
1507
|
+
}
|
|
1508
|
+
export interface PinterestVideos {
|
|
1509
|
+
id?: string;
|
|
1510
|
+
node_id?: string;
|
|
1511
|
+
video_list?: Record<string, PinterestVideoVariant>;
|
|
1512
|
+
}
|
|
1513
|
+
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";
|
|
1514
|
+
export interface SearchPinsParams {
|
|
1515
|
+
/** The `cursor` from the previous page. Omit it, or send it empty, for the first page. */
|
|
1516
|
+
cursor?: string | null;
|
|
1517
|
+
/** What to search Pinterest pins for. */
|
|
1518
|
+
query: string;
|
|
1519
|
+
/** Accepted for Scrape Creators compatibility. It has no effect: the answer is always the full body. */
|
|
1520
|
+
trim?: boolean | null;
|
|
1521
|
+
}
|
|
1522
|
+
//# sourceMappingURL=types.d.ts.map
|