@decodo/sdk-ts 2.7.0 → 3.0.0
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 +25 -25
- package/build/cjs/index.cjs +4 -564
- package/build/cjs/index.d.cts +138 -155
- package/build/esm/generated/data-api.d.ts +156 -0
- package/build/esm/generated/parameters.js +3 -13
- package/build/esm/generated/request-schemas.d.ts +0 -427
- package/build/esm/generated/request-schemas.js +0 -478
- package/build/esm/generated/targets.d.ts +1 -144
- package/build/esm/generated/targets.js +1 -73
- package/package.json +17 -13
package/build/cjs/index.cjs
CHANGED
|
@@ -183,35 +183,26 @@ var z = __toESM(require("zod"), 1);
|
|
|
183
183
|
|
|
184
184
|
// src/generated/targets.ts
|
|
185
185
|
var Target = /* @__PURE__ */ ((_Target) => {
|
|
186
|
-
_Target["UniversalEcommerce"] = "universal_ecommerce";
|
|
187
186
|
_Target["GoogleSearch"] = "google_search";
|
|
188
187
|
_Target["GoogleTravelHotels"] = "google_travel_hotels";
|
|
189
|
-
_Target["GoogleTrendsExplore"] = "google_trends_explore";
|
|
190
|
-
_Target["GoogleShoppingSearch"] = "google_shopping_search";
|
|
191
|
-
_Target["GoogleShoppingProduct"] = "google_shopping_product";
|
|
192
188
|
_Target["Google"] = "google";
|
|
193
|
-
_Target["GoogleSuggest"] = "google_suggest";
|
|
194
|
-
_Target["GoogleMaps"] = "google_maps";
|
|
195
189
|
_Target["GoogleAiMode"] = "google_ai_mode";
|
|
196
190
|
_Target["GoogleAds"] = "google_ads";
|
|
197
191
|
_Target["GoogleLens"] = "google_lens";
|
|
198
192
|
_Target["BingSearch"] = "bing_search";
|
|
199
193
|
_Target["Bing"] = "bing";
|
|
200
|
-
_Target["YoutubeTranscript"] = "youtube_transcript";
|
|
201
194
|
_Target["AmazonProduct"] = "amazon_product";
|
|
202
195
|
_Target["AmazonPricing"] = "amazon_pricing";
|
|
203
196
|
_Target["AmazonSearch"] = "amazon_search";
|
|
204
197
|
_Target["AmazonSellers"] = "amazon_sellers";
|
|
205
198
|
_Target["AmazonBestsellers"] = "amazon_bestsellers";
|
|
206
199
|
_Target["Amazon"] = "amazon";
|
|
207
|
-
_Target["Ecommerce"] = "ecommerce";
|
|
208
200
|
_Target["WalmartProduct"] = "walmart_product";
|
|
209
201
|
_Target["WalmartSearch"] = "walmart_search";
|
|
210
202
|
_Target["Walmart"] = "walmart";
|
|
211
203
|
_Target["TargetProduct"] = "target_product";
|
|
212
204
|
_Target["TargetSearch"] = "target_search";
|
|
213
205
|
_Target["Target"] = "target";
|
|
214
|
-
_Target["LowesSearch"] = "lowes_search";
|
|
215
206
|
_Target["Universal"] = "universal";
|
|
216
207
|
_Target["Chatgpt"] = "chatgpt";
|
|
217
208
|
_Target["Perplexity"] = "perplexity";
|
|
@@ -221,7 +212,6 @@ var Target = /* @__PURE__ */ ((_Target) => {
|
|
|
221
212
|
_Target["Mobile"] = "mobile";
|
|
222
213
|
_Target["Airbnb"] = "airbnb";
|
|
223
214
|
_Target["AppleAppStore"] = "apple_app_store";
|
|
224
|
-
_Target["InstagramGraphqlProfile"] = "instagram_graphql_profile";
|
|
225
215
|
_Target["TiktokPost"] = "tiktok_post";
|
|
226
216
|
_Target["TiktokShopSearch"] = "tiktok_shop_search";
|
|
227
217
|
_Target["TiktokShopProduct"] = "tiktok_shop_product";
|
|
@@ -229,21 +219,14 @@ var Target = /* @__PURE__ */ ((_Target) => {
|
|
|
229
219
|
_Target["RedditPost"] = "reddit_post";
|
|
230
220
|
_Target["RedditSubreddit"] = "reddit_subreddit";
|
|
231
221
|
_Target["RedditUser"] = "reddit_user";
|
|
232
|
-
_Target["YoutubeVideo"] = "youtube_video";
|
|
233
222
|
_Target["YoutubeMetadata"] = "youtube_metadata";
|
|
234
223
|
_Target["YoutubeSearch"] = "youtube_search";
|
|
235
|
-
_Target["YoutubeSearchMax"] = "youtube_search_max";
|
|
236
224
|
_Target["YoutubeSubtitles"] = "youtube_subtitles";
|
|
237
225
|
_Target["YoutubeChannel"] = "youtube_channel";
|
|
238
226
|
return _Target;
|
|
239
227
|
})(Target || {});
|
|
240
|
-
var targets = ["
|
|
228
|
+
var targets = ["google_search" /* GoogleSearch */, "google_travel_hotels" /* GoogleTravelHotels */, "google" /* Google */, "google_ai_mode" /* GoogleAiMode */, "google_ads" /* GoogleAds */, "google_lens" /* GoogleLens */, "bing_search" /* BingSearch */, "bing" /* Bing */, "amazon_product" /* AmazonProduct */, "amazon_pricing" /* AmazonPricing */, "amazon_search" /* AmazonSearch */, "amazon_sellers" /* AmazonSellers */, "amazon_bestsellers" /* AmazonBestsellers */, "amazon" /* Amazon */, "walmart_product" /* WalmartProduct */, "walmart_search" /* WalmartSearch */, "walmart" /* Walmart */, "target_product" /* TargetProduct */, "target_search" /* TargetSearch */, "target" /* Target */, "universal" /* Universal */, "chatgpt" /* Chatgpt */, "perplexity" /* Perplexity */, "gemini" /* Gemini */, "bbb" /* Bbb */, "autotrader" /* Autotrader */, "mobile" /* Mobile */, "airbnb" /* Airbnb */, "apple_app_store" /* AppleAppStore */, "tiktok_post" /* TiktokPost */, "tiktok_shop_search" /* TiktokShopSearch */, "tiktok_shop_product" /* TiktokShopProduct */, "tiktok" /* Tiktok */, "reddit_post" /* RedditPost */, "reddit_subreddit" /* RedditSubreddit */, "reddit_user" /* RedditUser */, "youtube_metadata" /* YoutubeMetadata */, "youtube_search" /* YoutubeSearch */, "youtube_subtitles" /* YoutubeSubtitles */, "youtube_channel" /* YoutubeChannel */];
|
|
241
229
|
var targetMeta = {
|
|
242
|
-
["universal_ecommerce" /* UniversalEcommerce */]: {
|
|
243
|
-
group: "None",
|
|
244
|
-
response_format: "html",
|
|
245
|
-
parameters: ["callback_url"]
|
|
246
|
-
},
|
|
247
230
|
["google_search" /* GoogleSearch */]: {
|
|
248
231
|
group: "Google",
|
|
249
232
|
response_format: "json",
|
|
@@ -254,36 +237,11 @@ var targetMeta = {
|
|
|
254
237
|
response_format: "html",
|
|
255
238
|
parameters: ["query", "headless", "locale", "device_type", "page_from", "date_range", "stars", "adults", "children", "session_id", "markdown", "callback_url"]
|
|
256
239
|
},
|
|
257
|
-
["google_trends_explore" /* GoogleTrendsExplore */]: {
|
|
258
|
-
group: "Google",
|
|
259
|
-
response_format: "json",
|
|
260
|
-
parameters: ["query", "geo", "device_type", "search_type", "date_start", "date_end", "callback_url"]
|
|
261
|
-
},
|
|
262
|
-
["google_shopping_search" /* GoogleShoppingSearch */]: {
|
|
263
|
-
group: "Google",
|
|
264
|
-
response_format: "json",
|
|
265
|
-
parameters: ["query", "headless", "locale", "geo", "device_type", "page_from", "google_tbs", "parse", "session_id", "google_results_language", "markdown", "callback_url"]
|
|
266
|
-
},
|
|
267
|
-
["google_shopping_product" /* GoogleShoppingProduct */]: {
|
|
268
|
-
group: "Google",
|
|
269
|
-
response_format: "json",
|
|
270
|
-
parameters: ["query", "headless", "locale", "geo", "device_type", "page_from", "parse", "session_id", "google_results_language", "markdown", "xhr", "callback_url"]
|
|
271
|
-
},
|
|
272
240
|
["google" /* Google */]: {
|
|
273
241
|
group: "Google",
|
|
274
242
|
response_format: "json",
|
|
275
243
|
parameters: ["url", "headless", "locale", "device_type", "parse", "session_id", "markdown", "xhr", "page_count", "callback_url"]
|
|
276
244
|
},
|
|
277
|
-
["google_suggest" /* GoogleSuggest */]: {
|
|
278
|
-
group: "Google",
|
|
279
|
-
response_format: "json",
|
|
280
|
-
parameters: ["query", "device_type", "geo", "locale", "session_id", "callback_url"]
|
|
281
|
-
},
|
|
282
|
-
["google_maps" /* GoogleMaps */]: {
|
|
283
|
-
group: "Google",
|
|
284
|
-
response_format: "html",
|
|
285
|
-
parameters: ["query", "headless", "geo", "locale", "page_from", "device_type", "session_id", "google_results_language", "google_nfpr", "hotel_occupancy", "date_range", "markdown", "callback_url"]
|
|
286
|
-
},
|
|
287
245
|
["google_ai_mode" /* GoogleAiMode */]: {
|
|
288
246
|
group: "AI Tools",
|
|
289
247
|
response_format: "json",
|
|
@@ -309,11 +267,6 @@ var targetMeta = {
|
|
|
309
267
|
response_format: "json",
|
|
310
268
|
parameters: ["url", "headless", "locale", "geo", "device_type", "page_from", "parse", "session_id", "markdown", "xhr", "callback_url"]
|
|
311
269
|
},
|
|
312
|
-
["youtube_transcript" /* YoutubeTranscript */]: {
|
|
313
|
-
group: "YouTube",
|
|
314
|
-
response_format: "json",
|
|
315
|
-
parameters: ["query", "language_code", "transcript_origin", "callback_url"]
|
|
316
|
-
},
|
|
317
270
|
["amazon_product" /* AmazonProduct */]: {
|
|
318
271
|
group: "Amazon",
|
|
319
272
|
response_format: "json",
|
|
@@ -344,11 +297,6 @@ var targetMeta = {
|
|
|
344
297
|
response_format: "json",
|
|
345
298
|
parameters: ["url", "headless", "device_type", "parse", "geo", "session_id", "markdown", "xhr", "callback_url"]
|
|
346
299
|
},
|
|
347
|
-
["ecommerce" /* Ecommerce */]: {
|
|
348
|
-
group: "Other eCommerce",
|
|
349
|
-
response_format: "json",
|
|
350
|
-
parameters: ["url", "headless", "locale", "geo", "device_type", "parse", "parser_type", "callback_url"]
|
|
351
|
-
},
|
|
352
300
|
["walmart_product" /* WalmartProduct */]: {
|
|
353
301
|
group: "Walmart",
|
|
354
302
|
response_format: "html",
|
|
@@ -379,11 +327,6 @@ var targetMeta = {
|
|
|
379
327
|
response_format: "html",
|
|
380
328
|
parameters: ["url", "headless", "device_type", "xhr", "delivery_zip", "target_store_id", "callback_url"]
|
|
381
329
|
},
|
|
382
|
-
["lowes_search" /* LowesSearch */]: {
|
|
383
|
-
group: "Lowe's",
|
|
384
|
-
response_format: "json",
|
|
385
|
-
parameters: ["query", "lowes_store_id", "headless", "delivery_zip", "user_agent_type", "free_delivery", "pickup_today", "delivery_today_tomorrow", "callback_url"]
|
|
386
|
-
},
|
|
387
330
|
["universal" /* Universal */]: {
|
|
388
331
|
group: "Universal",
|
|
389
332
|
response_format: "html",
|
|
@@ -429,11 +372,6 @@ var targetMeta = {
|
|
|
429
372
|
response_format: "html",
|
|
430
373
|
parameters: ["url", "headless", "geo", "device_type", "markdown", "xhr", "callback_url"]
|
|
431
374
|
},
|
|
432
|
-
["instagram_graphql_profile" /* InstagramGraphqlProfile */]: {
|
|
433
|
-
group: "Instagram",
|
|
434
|
-
response_format: "json",
|
|
435
|
-
parameters: ["query", "callback_url"]
|
|
436
|
-
},
|
|
437
375
|
["tiktok_post" /* TiktokPost */]: {
|
|
438
376
|
group: "TikTok",
|
|
439
377
|
response_format: "html",
|
|
@@ -469,11 +407,6 @@ var targetMeta = {
|
|
|
469
407
|
response_format: "json",
|
|
470
408
|
parameters: ["url", "locale", "geo", "sort", "callback_url"]
|
|
471
409
|
},
|
|
472
|
-
["youtube_video" /* YoutubeVideo */]: {
|
|
473
|
-
group: "None",
|
|
474
|
-
response_format: "json",
|
|
475
|
-
parameters: ["query", "geo", "callback_url"]
|
|
476
|
-
},
|
|
477
410
|
["youtube_metadata" /* YoutubeMetadata */]: {
|
|
478
411
|
group: "YouTube",
|
|
479
412
|
response_format: "json",
|
|
@@ -484,11 +417,6 @@ var targetMeta = {
|
|
|
484
417
|
response_format: "json",
|
|
485
418
|
parameters: ["360", "query", "upload_date", "type", "duration", "video_sort_by", "3d", "4k", "creative_commons", "hd", "hdr", "vr180", "live", "location", "purchased", "subtitles", "callback_url"]
|
|
486
419
|
},
|
|
487
|
-
["youtube_search_max" /* YoutubeSearchMax */]: {
|
|
488
|
-
group: "YouTube",
|
|
489
|
-
response_format: "json",
|
|
490
|
-
parameters: ["360", "query", "upload_date", "type", "duration", "video_sort_by", "3d", "4k", "creative_commons", "hd", "hdr", "vr180", "live", "location", "purchased", "subtitles", "markdown", "callback_url"]
|
|
491
|
-
},
|
|
492
420
|
["youtube_subtitles" /* YoutubeSubtitles */]: {
|
|
493
421
|
group: "YouTube",
|
|
494
422
|
response_format: "json",
|
|
@@ -503,21 +431,6 @@ var targetMeta = {
|
|
|
503
431
|
|
|
504
432
|
// src/generated/request-schemas.ts
|
|
505
433
|
var requestJsonSchemas = {
|
|
506
|
-
["universal_ecommerce" /* UniversalEcommerce */]: {
|
|
507
|
-
"type": "object",
|
|
508
|
-
"properties": {
|
|
509
|
-
"target": {
|
|
510
|
-
"const": "universal_ecommerce"
|
|
511
|
-
},
|
|
512
|
-
"callback_url": {
|
|
513
|
-
"type": "string"
|
|
514
|
-
}
|
|
515
|
-
},
|
|
516
|
-
"required": [
|
|
517
|
-
"target"
|
|
518
|
-
],
|
|
519
|
-
"additionalProperties": false
|
|
520
|
-
},
|
|
521
434
|
["google_search" /* GoogleSearch */]: {
|
|
522
435
|
"type": "object",
|
|
523
436
|
"properties": {
|
|
@@ -649,150 +562,6 @@ var requestJsonSchemas = {
|
|
|
649
562
|
],
|
|
650
563
|
"additionalProperties": false
|
|
651
564
|
},
|
|
652
|
-
["google_trends_explore" /* GoogleTrendsExplore */]: {
|
|
653
|
-
"type": "object",
|
|
654
|
-
"properties": {
|
|
655
|
-
"target": {
|
|
656
|
-
"const": "google_trends_explore"
|
|
657
|
-
},
|
|
658
|
-
"query": {
|
|
659
|
-
"type": "string",
|
|
660
|
-
"maxLength": 2048
|
|
661
|
-
},
|
|
662
|
-
"geo": {
|
|
663
|
-
"type": "string"
|
|
664
|
-
},
|
|
665
|
-
"device_type": {
|
|
666
|
-
"type": "string"
|
|
667
|
-
},
|
|
668
|
-
"search_type": {
|
|
669
|
-
"type": "string"
|
|
670
|
-
},
|
|
671
|
-
"date_start": {
|
|
672
|
-
"type": "string"
|
|
673
|
-
},
|
|
674
|
-
"date_end": {
|
|
675
|
-
"type": "string"
|
|
676
|
-
},
|
|
677
|
-
"callback_url": {
|
|
678
|
-
"type": "string"
|
|
679
|
-
}
|
|
680
|
-
},
|
|
681
|
-
"required": [
|
|
682
|
-
"target"
|
|
683
|
-
],
|
|
684
|
-
"additionalProperties": false
|
|
685
|
-
},
|
|
686
|
-
["google_shopping_search" /* GoogleShoppingSearch */]: {
|
|
687
|
-
"type": "object",
|
|
688
|
-
"properties": {
|
|
689
|
-
"target": {
|
|
690
|
-
"const": "google_shopping_search"
|
|
691
|
-
},
|
|
692
|
-
"query": {
|
|
693
|
-
"type": "string",
|
|
694
|
-
"maxLength": 2048
|
|
695
|
-
},
|
|
696
|
-
"headless": {
|
|
697
|
-
"type": "string",
|
|
698
|
-
"enum": [
|
|
699
|
-
"html",
|
|
700
|
-
"png"
|
|
701
|
-
]
|
|
702
|
-
},
|
|
703
|
-
"locale": {
|
|
704
|
-
"type": "string"
|
|
705
|
-
},
|
|
706
|
-
"geo": {
|
|
707
|
-
"type": "string"
|
|
708
|
-
},
|
|
709
|
-
"device_type": {
|
|
710
|
-
"type": "string"
|
|
711
|
-
},
|
|
712
|
-
"page_from": {
|
|
713
|
-
"type": "number",
|
|
714
|
-
"minimum": 0,
|
|
715
|
-
"maximum": 100
|
|
716
|
-
},
|
|
717
|
-
"google_tbs": {
|
|
718
|
-
"type": "string"
|
|
719
|
-
},
|
|
720
|
-
"parse": {
|
|
721
|
-
"type": "boolean"
|
|
722
|
-
},
|
|
723
|
-
"session_id": {
|
|
724
|
-
"type": "string"
|
|
725
|
-
},
|
|
726
|
-
"google_results_language": {
|
|
727
|
-
"type": "string"
|
|
728
|
-
},
|
|
729
|
-
"markdown": {
|
|
730
|
-
"type": "boolean"
|
|
731
|
-
},
|
|
732
|
-
"callback_url": {
|
|
733
|
-
"type": "string"
|
|
734
|
-
}
|
|
735
|
-
},
|
|
736
|
-
"required": [
|
|
737
|
-
"target"
|
|
738
|
-
],
|
|
739
|
-
"additionalProperties": false
|
|
740
|
-
},
|
|
741
|
-
["google_shopping_product" /* GoogleShoppingProduct */]: {
|
|
742
|
-
"type": "object",
|
|
743
|
-
"properties": {
|
|
744
|
-
"target": {
|
|
745
|
-
"const": "google_shopping_product"
|
|
746
|
-
},
|
|
747
|
-
"query": {
|
|
748
|
-
"type": "string",
|
|
749
|
-
"maxLength": 2048
|
|
750
|
-
},
|
|
751
|
-
"headless": {
|
|
752
|
-
"type": "string",
|
|
753
|
-
"enum": [
|
|
754
|
-
"html",
|
|
755
|
-
"png"
|
|
756
|
-
]
|
|
757
|
-
},
|
|
758
|
-
"locale": {
|
|
759
|
-
"type": "string"
|
|
760
|
-
},
|
|
761
|
-
"geo": {
|
|
762
|
-
"type": "string"
|
|
763
|
-
},
|
|
764
|
-
"device_type": {
|
|
765
|
-
"type": "string"
|
|
766
|
-
},
|
|
767
|
-
"page_from": {
|
|
768
|
-
"type": "number",
|
|
769
|
-
"minimum": 0,
|
|
770
|
-
"maximum": 100
|
|
771
|
-
},
|
|
772
|
-
"parse": {
|
|
773
|
-
"type": "boolean"
|
|
774
|
-
},
|
|
775
|
-
"session_id": {
|
|
776
|
-
"type": "string"
|
|
777
|
-
},
|
|
778
|
-
"google_results_language": {
|
|
779
|
-
"type": "string"
|
|
780
|
-
},
|
|
781
|
-
"markdown": {
|
|
782
|
-
"type": "boolean"
|
|
783
|
-
},
|
|
784
|
-
"xhr": {
|
|
785
|
-
"type": "boolean"
|
|
786
|
-
},
|
|
787
|
-
"callback_url": {
|
|
788
|
-
"type": "string"
|
|
789
|
-
}
|
|
790
|
-
},
|
|
791
|
-
"required": [
|
|
792
|
-
"target"
|
|
793
|
-
],
|
|
794
|
-
"additionalProperties": false
|
|
795
|
-
},
|
|
796
565
|
["google" /* Google */]: {
|
|
797
566
|
"type": "object",
|
|
798
567
|
"properties": {
|
|
@@ -842,95 +611,6 @@ var requestJsonSchemas = {
|
|
|
842
611
|
],
|
|
843
612
|
"additionalProperties": false
|
|
844
613
|
},
|
|
845
|
-
["google_suggest" /* GoogleSuggest */]: {
|
|
846
|
-
"type": "object",
|
|
847
|
-
"properties": {
|
|
848
|
-
"target": {
|
|
849
|
-
"const": "google_suggest"
|
|
850
|
-
},
|
|
851
|
-
"query": {
|
|
852
|
-
"type": "string",
|
|
853
|
-
"maxLength": 2048
|
|
854
|
-
},
|
|
855
|
-
"device_type": {
|
|
856
|
-
"type": "string"
|
|
857
|
-
},
|
|
858
|
-
"geo": {
|
|
859
|
-
"type": "string"
|
|
860
|
-
},
|
|
861
|
-
"locale": {
|
|
862
|
-
"type": "string"
|
|
863
|
-
},
|
|
864
|
-
"session_id": {
|
|
865
|
-
"type": "string"
|
|
866
|
-
},
|
|
867
|
-
"callback_url": {
|
|
868
|
-
"type": "string"
|
|
869
|
-
}
|
|
870
|
-
},
|
|
871
|
-
"required": [
|
|
872
|
-
"target"
|
|
873
|
-
],
|
|
874
|
-
"additionalProperties": false
|
|
875
|
-
},
|
|
876
|
-
["google_maps" /* GoogleMaps */]: {
|
|
877
|
-
"type": "object",
|
|
878
|
-
"properties": {
|
|
879
|
-
"target": {
|
|
880
|
-
"const": "google_maps"
|
|
881
|
-
},
|
|
882
|
-
"query": {
|
|
883
|
-
"type": "string",
|
|
884
|
-
"maxLength": 2048
|
|
885
|
-
},
|
|
886
|
-
"headless": {
|
|
887
|
-
"type": "string",
|
|
888
|
-
"enum": [
|
|
889
|
-
"html",
|
|
890
|
-
"png"
|
|
891
|
-
]
|
|
892
|
-
},
|
|
893
|
-
"geo": {
|
|
894
|
-
"type": "string"
|
|
895
|
-
},
|
|
896
|
-
"locale": {
|
|
897
|
-
"type": "string"
|
|
898
|
-
},
|
|
899
|
-
"page_from": {
|
|
900
|
-
"type": "number",
|
|
901
|
-
"minimum": 0,
|
|
902
|
-
"maximum": 100
|
|
903
|
-
},
|
|
904
|
-
"device_type": {
|
|
905
|
-
"type": "string"
|
|
906
|
-
},
|
|
907
|
-
"session_id": {
|
|
908
|
-
"type": "string"
|
|
909
|
-
},
|
|
910
|
-
"google_results_language": {
|
|
911
|
-
"type": "string"
|
|
912
|
-
},
|
|
913
|
-
"google_nfpr": {
|
|
914
|
-
"type": "boolean"
|
|
915
|
-
},
|
|
916
|
-
"hotel_occupancy": {
|
|
917
|
-
"type": "string"
|
|
918
|
-
},
|
|
919
|
-
"date_range": {
|
|
920
|
-
"type": "string"
|
|
921
|
-
},
|
|
922
|
-
"markdown": {
|
|
923
|
-
"type": "boolean"
|
|
924
|
-
},
|
|
925
|
-
"callback_url": {
|
|
926
|
-
"type": "string"
|
|
927
|
-
}
|
|
928
|
-
},
|
|
929
|
-
"required": [
|
|
930
|
-
"target"
|
|
931
|
-
],
|
|
932
|
-
"additionalProperties": false
|
|
933
|
-
},
|
|
934
614
|
["google_ai_mode" /* GoogleAiMode */]: {
|
|
935
615
|
"type": "object",
|
|
936
616
|
"properties": {
|
|
@@ -1184,31 +864,6 @@ var requestJsonSchemas = {
|
|
|
1184
864
|
],
|
|
1185
865
|
"additionalProperties": false
|
|
1186
866
|
},
|
|
1187
|
-
["youtube_transcript" /* YoutubeTranscript */]: {
|
|
1188
|
-
"type": "object",
|
|
1189
|
-
"properties": {
|
|
1190
|
-
"target": {
|
|
1191
|
-
"const": "youtube_transcript"
|
|
1192
|
-
},
|
|
1193
|
-
"query": {
|
|
1194
|
-
"type": "string",
|
|
1195
|
-
"maxLength": 2048
|
|
1196
|
-
},
|
|
1197
|
-
"language_code": {
|
|
1198
|
-
"type": "string"
|
|
1199
|
-
},
|
|
1200
|
-
"transcript_origin": {
|
|
1201
|
-
"type": "string"
|
|
1202
|
-
},
|
|
1203
|
-
"callback_url": {
|
|
1204
|
-
"type": "string"
|
|
1205
|
-
}
|
|
1206
|
-
},
|
|
1207
|
-
"required": [
|
|
1208
|
-
"target"
|
|
1209
|
-
],
|
|
1210
|
-
"additionalProperties": false
|
|
1211
|
-
},
|
|
1212
867
|
["amazon_product" /* AmazonProduct */]: {
|
|
1213
868
|
"type": "object",
|
|
1214
869
|
"properties": {
|
|
@@ -1523,47 +1178,6 @@ var requestJsonSchemas = {
|
|
|
1523
1178
|
],
|
|
1524
1179
|
"additionalProperties": false
|
|
1525
1180
|
},
|
|
1526
|
-
["ecommerce" /* Ecommerce */]: {
|
|
1527
|
-
"type": "object",
|
|
1528
|
-
"properties": {
|
|
1529
|
-
"target": {
|
|
1530
|
-
"const": "ecommerce"
|
|
1531
|
-
},
|
|
1532
|
-
"url": {
|
|
1533
|
-
"type": "string",
|
|
1534
|
-
"maxLength": 2056
|
|
1535
|
-
},
|
|
1536
|
-
"headless": {
|
|
1537
|
-
"type": "string",
|
|
1538
|
-
"enum": [
|
|
1539
|
-
"html",
|
|
1540
|
-
"png"
|
|
1541
|
-
]
|
|
1542
|
-
},
|
|
1543
|
-
"locale": {
|
|
1544
|
-
"type": "string"
|
|
1545
|
-
},
|
|
1546
|
-
"geo": {
|
|
1547
|
-
"type": "string"
|
|
1548
|
-
},
|
|
1549
|
-
"device_type": {
|
|
1550
|
-
"type": "string"
|
|
1551
|
-
},
|
|
1552
|
-
"parse": {
|
|
1553
|
-
"type": "boolean"
|
|
1554
|
-
},
|
|
1555
|
-
"parser_type": {
|
|
1556
|
-
"type": "string"
|
|
1557
|
-
},
|
|
1558
|
-
"callback_url": {
|
|
1559
|
-
"type": "string"
|
|
1560
|
-
}
|
|
1561
|
-
},
|
|
1562
|
-
"required": [
|
|
1563
|
-
"target"
|
|
1564
|
-
],
|
|
1565
|
-
"additionalProperties": false
|
|
1566
|
-
},
|
|
1567
1181
|
["walmart_product" /* WalmartProduct */]: {
|
|
1568
1182
|
"type": "object",
|
|
1569
1183
|
"properties": {
|
|
@@ -1823,50 +1437,6 @@ var requestJsonSchemas = {
|
|
|
1823
1437
|
],
|
|
1824
1438
|
"additionalProperties": false
|
|
1825
1439
|
},
|
|
1826
|
-
["lowes_search" /* LowesSearch */]: {
|
|
1827
|
-
"type": "object",
|
|
1828
|
-
"properties": {
|
|
1829
|
-
"target": {
|
|
1830
|
-
"const": "lowes_search"
|
|
1831
|
-
},
|
|
1832
|
-
"query": {
|
|
1833
|
-
"type": "string",
|
|
1834
|
-
"maxLength": 2048
|
|
1835
|
-
},
|
|
1836
|
-
"lowes_store_id": {
|
|
1837
|
-
"type": "string"
|
|
1838
|
-
},
|
|
1839
|
-
"headless": {
|
|
1840
|
-
"type": "string",
|
|
1841
|
-
"enum": [
|
|
1842
|
-
"html",
|
|
1843
|
-
"png"
|
|
1844
|
-
]
|
|
1845
|
-
},
|
|
1846
|
-
"delivery_zip": {
|
|
1847
|
-
"type": "string"
|
|
1848
|
-
},
|
|
1849
|
-
"user_agent_type": {
|
|
1850
|
-
"type": "string"
|
|
1851
|
-
},
|
|
1852
|
-
"free_delivery": {
|
|
1853
|
-
"type": "boolean"
|
|
1854
|
-
},
|
|
1855
|
-
"pickup_today": {
|
|
1856
|
-
"type": "boolean"
|
|
1857
|
-
},
|
|
1858
|
-
"delivery_today_tomorrow": {
|
|
1859
|
-
"type": "boolean"
|
|
1860
|
-
},
|
|
1861
|
-
"callback_url": {
|
|
1862
|
-
"type": "string"
|
|
1863
|
-
}
|
|
1864
|
-
},
|
|
1865
|
-
"required": [
|
|
1866
|
-
"target"
|
|
1867
|
-
],
|
|
1868
|
-
"additionalProperties": false
|
|
1869
|
-
},
|
|
1870
1440
|
["universal" /* Universal */]: {
|
|
1871
1441
|
"type": "object",
|
|
1872
1442
|
"properties": {
|
|
@@ -2231,25 +1801,6 @@ var requestJsonSchemas = {
|
|
|
2231
1801
|
],
|
|
2232
1802
|
"additionalProperties": false
|
|
2233
1803
|
},
|
|
2234
|
-
["instagram_graphql_profile" /* InstagramGraphqlProfile */]: {
|
|
2235
|
-
"type": "object",
|
|
2236
|
-
"properties": {
|
|
2237
|
-
"target": {
|
|
2238
|
-
"const": "instagram_graphql_profile"
|
|
2239
|
-
},
|
|
2240
|
-
"query": {
|
|
2241
|
-
"type": "string",
|
|
2242
|
-
"maxLength": 2048
|
|
2243
|
-
},
|
|
2244
|
-
"callback_url": {
|
|
2245
|
-
"type": "string"
|
|
2246
|
-
}
|
|
2247
|
-
},
|
|
2248
|
-
"required": [
|
|
2249
|
-
"target"
|
|
2250
|
-
],
|
|
2251
|
-
"additionalProperties": false
|
|
2252
|
-
},
|
|
2253
1804
|
["tiktok_post" /* TiktokPost */]: {
|
|
2254
1805
|
"type": "object",
|
|
2255
1806
|
"properties": {
|
|
@@ -2451,28 +2002,6 @@ var requestJsonSchemas = {
|
|
|
2451
2002
|
],
|
|
2452
2003
|
"additionalProperties": false
|
|
2453
2004
|
},
|
|
2454
|
-
["youtube_video" /* YoutubeVideo */]: {
|
|
2455
|
-
"type": "object",
|
|
2456
|
-
"properties": {
|
|
2457
|
-
"target": {
|
|
2458
|
-
"const": "youtube_video"
|
|
2459
|
-
},
|
|
2460
|
-
"query": {
|
|
2461
|
-
"type": "string",
|
|
2462
|
-
"maxLength": 2048
|
|
2463
|
-
},
|
|
2464
|
-
"geo": {
|
|
2465
|
-
"type": "string"
|
|
2466
|
-
},
|
|
2467
|
-
"callback_url": {
|
|
2468
|
-
"type": "string"
|
|
2469
|
-
}
|
|
2470
|
-
},
|
|
2471
|
-
"required": [
|
|
2472
|
-
"target"
|
|
2473
|
-
],
|
|
2474
|
-
"additionalProperties": false
|
|
2475
|
-
},
|
|
2476
2005
|
["youtube_metadata" /* YoutubeMetadata */]: {
|
|
2477
2006
|
"type": "object",
|
|
2478
2007
|
"properties": {
|
|
@@ -2556,73 +2085,6 @@ var requestJsonSchemas = {
|
|
|
2556
2085
|
],
|
|
2557
2086
|
"additionalProperties": false
|
|
2558
2087
|
},
|
|
2559
|
-
["youtube_search_max" /* YoutubeSearchMax */]: {
|
|
2560
|
-
"type": "object",
|
|
2561
|
-
"properties": {
|
|
2562
|
-
"360": {
|
|
2563
|
-
"type": "boolean"
|
|
2564
|
-
},
|
|
2565
|
-
"target": {
|
|
2566
|
-
"const": "youtube_search_max"
|
|
2567
|
-
},
|
|
2568
|
-
"query": {
|
|
2569
|
-
"type": "string",
|
|
2570
|
-
"maxLength": 2048
|
|
2571
|
-
},
|
|
2572
|
-
"upload_date": {
|
|
2573
|
-
"type": "string"
|
|
2574
|
-
},
|
|
2575
|
-
"type": {
|
|
2576
|
-
"type": "string"
|
|
2577
|
-
},
|
|
2578
|
-
"duration": {
|
|
2579
|
-
"type": "string"
|
|
2580
|
-
},
|
|
2581
|
-
"video_sort_by": {
|
|
2582
|
-
"type": "string"
|
|
2583
|
-
},
|
|
2584
|
-
"3d": {
|
|
2585
|
-
"type": "boolean"
|
|
2586
|
-
},
|
|
2587
|
-
"4k": {
|
|
2588
|
-
"type": "boolean"
|
|
2589
|
-
},
|
|
2590
|
-
"creative_commons": {
|
|
2591
|
-
"type": "boolean"
|
|
2592
|
-
},
|
|
2593
|
-
"hd": {
|
|
2594
|
-
"type": "boolean"
|
|
2595
|
-
},
|
|
2596
|
-
"hdr": {
|
|
2597
|
-
"type": "boolean"
|
|
2598
|
-
},
|
|
2599
|
-
"vr180": {
|
|
2600
|
-
"type": "boolean"
|
|
2601
|
-
},
|
|
2602
|
-
"live": {
|
|
2603
|
-
"type": "boolean"
|
|
2604
|
-
},
|
|
2605
|
-
"location": {
|
|
2606
|
-
"type": "boolean"
|
|
2607
|
-
},
|
|
2608
|
-
"purchased": {
|
|
2609
|
-
"type": "boolean"
|
|
2610
|
-
},
|
|
2611
|
-
"subtitles": {
|
|
2612
|
-
"type": "boolean"
|
|
2613
|
-
},
|
|
2614
|
-
"markdown": {
|
|
2615
|
-
"type": "boolean"
|
|
2616
|
-
},
|
|
2617
|
-
"callback_url": {
|
|
2618
|
-
"type": "string"
|
|
2619
|
-
}
|
|
2620
|
-
},
|
|
2621
|
-
"required": [
|
|
2622
|
-
"target"
|
|
2623
|
-
],
|
|
2624
|
-
"additionalProperties": false
|
|
2625
|
-
},
|
|
2626
2088
|
["youtube_subtitles" /* YoutubeSubtitles */]: {
|
|
2627
2089
|
"type": "object",
|
|
2628
2090
|
"properties": {
|
|
@@ -2680,35 +2142,26 @@ var requestJsonSchemas = {
|
|
|
2680
2142
|
}
|
|
2681
2143
|
};
|
|
2682
2144
|
var requestSchemas = {
|
|
2683
|
-
["universal_ecommerce" /* UniversalEcommerce */]: z.fromJSONSchema(requestJsonSchemas["universal_ecommerce" /* UniversalEcommerce */]),
|
|
2684
2145
|
["google_search" /* GoogleSearch */]: z.fromJSONSchema(requestJsonSchemas["google_search" /* GoogleSearch */]),
|
|
2685
2146
|
["google_travel_hotels" /* GoogleTravelHotels */]: z.fromJSONSchema(requestJsonSchemas["google_travel_hotels" /* GoogleTravelHotels */]),
|
|
2686
|
-
["google_trends_explore" /* GoogleTrendsExplore */]: z.fromJSONSchema(requestJsonSchemas["google_trends_explore" /* GoogleTrendsExplore */]),
|
|
2687
|
-
["google_shopping_search" /* GoogleShoppingSearch */]: z.fromJSONSchema(requestJsonSchemas["google_shopping_search" /* GoogleShoppingSearch */]),
|
|
2688
|
-
["google_shopping_product" /* GoogleShoppingProduct */]: z.fromJSONSchema(requestJsonSchemas["google_shopping_product" /* GoogleShoppingProduct */]),
|
|
2689
2147
|
["google" /* Google */]: z.fromJSONSchema(requestJsonSchemas["google" /* Google */]),
|
|
2690
|
-
["google_suggest" /* GoogleSuggest */]: z.fromJSONSchema(requestJsonSchemas["google_suggest" /* GoogleSuggest */]),
|
|
2691
|
-
["google_maps" /* GoogleMaps */]: z.fromJSONSchema(requestJsonSchemas["google_maps" /* GoogleMaps */]),
|
|
2692
2148
|
["google_ai_mode" /* GoogleAiMode */]: z.fromJSONSchema(requestJsonSchemas["google_ai_mode" /* GoogleAiMode */]),
|
|
2693
2149
|
["google_ads" /* GoogleAds */]: z.fromJSONSchema(requestJsonSchemas["google_ads" /* GoogleAds */]),
|
|
2694
2150
|
["google_lens" /* GoogleLens */]: z.fromJSONSchema(requestJsonSchemas["google_lens" /* GoogleLens */]),
|
|
2695
2151
|
["bing_search" /* BingSearch */]: z.fromJSONSchema(requestJsonSchemas["bing_search" /* BingSearch */]),
|
|
2696
2152
|
["bing" /* Bing */]: z.fromJSONSchema(requestJsonSchemas["bing" /* Bing */]),
|
|
2697
|
-
["youtube_transcript" /* YoutubeTranscript */]: z.fromJSONSchema(requestJsonSchemas["youtube_transcript" /* YoutubeTranscript */]),
|
|
2698
2153
|
["amazon_product" /* AmazonProduct */]: z.fromJSONSchema(requestJsonSchemas["amazon_product" /* AmazonProduct */]),
|
|
2699
2154
|
["amazon_pricing" /* AmazonPricing */]: z.fromJSONSchema(requestJsonSchemas["amazon_pricing" /* AmazonPricing */]),
|
|
2700
2155
|
["amazon_search" /* AmazonSearch */]: z.fromJSONSchema(requestJsonSchemas["amazon_search" /* AmazonSearch */]),
|
|
2701
2156
|
["amazon_sellers" /* AmazonSellers */]: z.fromJSONSchema(requestJsonSchemas["amazon_sellers" /* AmazonSellers */]),
|
|
2702
2157
|
["amazon_bestsellers" /* AmazonBestsellers */]: z.fromJSONSchema(requestJsonSchemas["amazon_bestsellers" /* AmazonBestsellers */]),
|
|
2703
2158
|
["amazon" /* Amazon */]: z.fromJSONSchema(requestJsonSchemas["amazon" /* Amazon */]),
|
|
2704
|
-
["ecommerce" /* Ecommerce */]: z.fromJSONSchema(requestJsonSchemas["ecommerce" /* Ecommerce */]),
|
|
2705
2159
|
["walmart_product" /* WalmartProduct */]: z.fromJSONSchema(requestJsonSchemas["walmart_product" /* WalmartProduct */]),
|
|
2706
2160
|
["walmart_search" /* WalmartSearch */]: z.fromJSONSchema(requestJsonSchemas["walmart_search" /* WalmartSearch */]),
|
|
2707
2161
|
["walmart" /* Walmart */]: z.fromJSONSchema(requestJsonSchemas["walmart" /* Walmart */]),
|
|
2708
2162
|
["target_product" /* TargetProduct */]: z.fromJSONSchema(requestJsonSchemas["target_product" /* TargetProduct */]),
|
|
2709
2163
|
["target_search" /* TargetSearch */]: z.fromJSONSchema(requestJsonSchemas["target_search" /* TargetSearch */]),
|
|
2710
2164
|
["target" /* Target */]: z.fromJSONSchema(requestJsonSchemas["target" /* Target */]),
|
|
2711
|
-
["lowes_search" /* LowesSearch */]: z.fromJSONSchema(requestJsonSchemas["lowes_search" /* LowesSearch */]),
|
|
2712
2165
|
["universal" /* Universal */]: z.fromJSONSchema(requestJsonSchemas["universal" /* Universal */]),
|
|
2713
2166
|
["chatgpt" /* Chatgpt */]: z.fromJSONSchema(requestJsonSchemas["chatgpt" /* Chatgpt */]),
|
|
2714
2167
|
["perplexity" /* Perplexity */]: z.fromJSONSchema(requestJsonSchemas["perplexity" /* Perplexity */]),
|
|
@@ -2718,7 +2171,6 @@ var requestSchemas = {
|
|
|
2718
2171
|
["mobile" /* Mobile */]: z.fromJSONSchema(requestJsonSchemas["mobile" /* Mobile */]),
|
|
2719
2172
|
["airbnb" /* Airbnb */]: z.fromJSONSchema(requestJsonSchemas["airbnb" /* Airbnb */]),
|
|
2720
2173
|
["apple_app_store" /* AppleAppStore */]: z.fromJSONSchema(requestJsonSchemas["apple_app_store" /* AppleAppStore */]),
|
|
2721
|
-
["instagram_graphql_profile" /* InstagramGraphqlProfile */]: z.fromJSONSchema(requestJsonSchemas["instagram_graphql_profile" /* InstagramGraphqlProfile */]),
|
|
2722
2174
|
["tiktok_post" /* TiktokPost */]: z.fromJSONSchema(requestJsonSchemas["tiktok_post" /* TiktokPost */]),
|
|
2723
2175
|
["tiktok_shop_search" /* TiktokShopSearch */]: z.fromJSONSchema(requestJsonSchemas["tiktok_shop_search" /* TiktokShopSearch */]),
|
|
2724
2176
|
["tiktok_shop_product" /* TiktokShopProduct */]: z.fromJSONSchema(requestJsonSchemas["tiktok_shop_product" /* TiktokShopProduct */]),
|
|
@@ -2726,10 +2178,8 @@ var requestSchemas = {
|
|
|
2726
2178
|
["reddit_post" /* RedditPost */]: z.fromJSONSchema(requestJsonSchemas["reddit_post" /* RedditPost */]),
|
|
2727
2179
|
["reddit_subreddit" /* RedditSubreddit */]: z.fromJSONSchema(requestJsonSchemas["reddit_subreddit" /* RedditSubreddit */]),
|
|
2728
2180
|
["reddit_user" /* RedditUser */]: z.fromJSONSchema(requestJsonSchemas["reddit_user" /* RedditUser */]),
|
|
2729
|
-
["youtube_video" /* YoutubeVideo */]: z.fromJSONSchema(requestJsonSchemas["youtube_video" /* YoutubeVideo */]),
|
|
2730
2181
|
["youtube_metadata" /* YoutubeMetadata */]: z.fromJSONSchema(requestJsonSchemas["youtube_metadata" /* YoutubeMetadata */]),
|
|
2731
2182
|
["youtube_search" /* YoutubeSearch */]: z.fromJSONSchema(requestJsonSchemas["youtube_search" /* YoutubeSearch */]),
|
|
2732
|
-
["youtube_search_max" /* YoutubeSearchMax */]: z.fromJSONSchema(requestJsonSchemas["youtube_search_max" /* YoutubeSearchMax */]),
|
|
2733
2183
|
["youtube_subtitles" /* YoutubeSubtitles */]: z.fromJSONSchema(requestJsonSchemas["youtube_subtitles" /* YoutubeSubtitles */]),
|
|
2734
2184
|
["youtube_channel" /* YoutubeChannel */]: z.fromJSONSchema(requestJsonSchemas["youtube_channel" /* YoutubeChannel */])
|
|
2735
2185
|
};
|
|
@@ -3215,7 +2665,6 @@ var RemoteSchema = class _RemoteSchema {
|
|
|
3215
2665
|
// src/generated/parameters.ts
|
|
3216
2666
|
var parameterMeta = {
|
|
3217
2667
|
"360": { type: "boolean" },
|
|
3218
|
-
callback_url: { type: "string" },
|
|
3219
2668
|
query: { type: "string", maxLength: 2048 },
|
|
3220
2669
|
headless: { type: "string", enum: ["html", "png"] },
|
|
3221
2670
|
locale: { type: "string" },
|
|
@@ -3232,24 +2681,18 @@ var parameterMeta = {
|
|
|
3232
2681
|
xhr: { type: "boolean" },
|
|
3233
2682
|
markdown: { type: "boolean" },
|
|
3234
2683
|
page_count: { type: "number", minimum: 1, maximum: 10 },
|
|
2684
|
+
callback_url: { type: "string" },
|
|
3235
2685
|
date_range: { type: "string" },
|
|
3236
2686
|
stars: { type: "number" },
|
|
3237
2687
|
adults: { type: "number", minimum: 1, maximum: 3 },
|
|
3238
2688
|
children: { type: "number", minimum: 1, maximum: 3 },
|
|
3239
|
-
search_type: { type: "string" },
|
|
3240
|
-
date_start: { type: "string" },
|
|
3241
|
-
date_end: { type: "string" },
|
|
3242
2689
|
url: { type: "string", maxLength: 2056 },
|
|
3243
|
-
hotel_occupancy: { type: "string" },
|
|
3244
2690
|
domain: { type: "string" },
|
|
3245
|
-
language_code: { type: "string" },
|
|
3246
|
-
transcript_origin: { type: "string" },
|
|
3247
2691
|
autoselect_variant: { type: "boolean" },
|
|
3248
2692
|
currency: { type: "string" },
|
|
3249
2693
|
category: { type: "string" },
|
|
3250
2694
|
merchant: { type: "string" },
|
|
3251
2695
|
sort_by: { type: "string" },
|
|
3252
|
-
parser_type: { type: "string" },
|
|
3253
2696
|
product_id: { type: "string" },
|
|
3254
2697
|
fulfillment_type: { type: "string" },
|
|
3255
2698
|
walmart_store_id: { type: "string" },
|
|
@@ -3257,11 +2700,6 @@ var parameterMeta = {
|
|
|
3257
2700
|
store_id: { type: "string" },
|
|
3258
2701
|
delivery_type: { type: "string" },
|
|
3259
2702
|
target_store_id: { type: "string" },
|
|
3260
|
-
lowes_store_id: { type: "string" },
|
|
3261
|
-
user_agent_type: { type: "string" },
|
|
3262
|
-
free_delivery: { type: "boolean" },
|
|
3263
|
-
pickup_today: { type: "boolean" },
|
|
3264
|
-
delivery_today_tomorrow: { type: "boolean" },
|
|
3265
2703
|
payload: { type: "string" },
|
|
3266
2704
|
proxy_pool: { type: "string", enum: ["standard", "premium"] },
|
|
3267
2705
|
http_method: { type: "string" },
|
|
@@ -3273,6 +2711,7 @@ var parameterMeta = {
|
|
|
3273
2711
|
prompt: { type: "string", maxLength: 8192 },
|
|
3274
2712
|
search: { type: "boolean" },
|
|
3275
2713
|
country: { type: "string" },
|
|
2714
|
+
user_agent_type: { type: "string" },
|
|
3276
2715
|
sort: { type: "string" },
|
|
3277
2716
|
upload_date: { type: "string" },
|
|
3278
2717
|
type: { type: "string" },
|
|
@@ -3288,6 +2727,7 @@ var parameterMeta = {
|
|
|
3288
2727
|
location: { type: "boolean" },
|
|
3289
2728
|
purchased: { type: "boolean" },
|
|
3290
2729
|
subtitles: { type: "boolean" },
|
|
2730
|
+
language_code: { type: "string" },
|
|
3291
2731
|
subtitle_origin: { type: "string" },
|
|
3292
2732
|
limit: { type: "number", minimum: 0, maximum: 100 }
|
|
3293
2733
|
};
|