stophy 1.0.4 → 1.0.5

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/dist/index.d.ts CHANGED
@@ -84,7 +84,14 @@ type EndpointCatalog = {
84
84
  bestWhen: string | null;
85
85
  method: "POST";
86
86
  path: string;
87
+ /**
88
+ * What one call costs, or the lowest it can cost when pricing is set.
89
+ */
87
90
  credits: number;
91
+ /**
92
+ * How the price changes with the answer. Null when every call costs the same.
93
+ */
94
+ pricing?: string | null;
88
95
  keyless: boolean;
89
96
  cacheTtlSeconds: number;
90
97
  /**
@@ -333,6 +340,7 @@ type TranscriptResponses = {
333
340
  language?: string;
334
341
  isAutoGenerated: boolean;
335
342
  durationSeconds?: number;
343
+ transcribedSeconds?: number;
336
344
  text?: string;
337
345
  segments?: Array<{
338
346
  startSeconds: number;
@@ -2436,20 +2444,26 @@ type UpworkJobResponses = {
2436
2444
  };
2437
2445
  };
2438
2446
  type UpworkJobResponse = UpworkJobResponses[keyof UpworkJobResponses];
2439
- type GoogletravelFlightsData = {
2447
+ type IndeedSearchData = {
2440
2448
  body: {
2449
+ query?: string;
2441
2450
  /**
2442
- * IATA airport code, e.g. JFK. Any case is accepted.
2451
+ * City, region or postal code, e.g. Kansas City, MO. Only jobs within about 5 miles are returned, so a city on a state line stays in its own state.
2443
2452
  */
2444
- origin: string;
2453
+ location?: string;
2445
2454
  /**
2446
- * IATA airport code, e.g. JFK. Any case is accepted.
2455
+ * ISO 3166-1 alpha-2 country code, e.g. us. Any case is accepted.
2447
2456
  */
2448
- destination: string;
2449
- departDate: string;
2450
- returnDate?: string;
2451
- adults?: number;
2452
- cabin?: "economy" | "premiumEconomy" | "business" | "first";
2457
+ country?: "us" | "gb" | "ca" | "au" | "nz" | "ie" | "in" | "sg" | "my" | "ph" | "za" | "ng" | "ae" | "sa" | "qa" | "kw" | "bh" | "om" | "pk" | "hk" | "jp" | "kr" | "tw" | "cn" | "id" | "th" | "vn" | "de" | "at" | "ch" | "fr" | "be" | "nl" | "lu" | "es" | "pt" | "it" | "gr" | "mt" | "cy" | "pl" | "cz" | "sk" | "hu" | "ro" | "bg" | "hr" | "si" | "ee" | "lv" | "lt" | "fi" | "se" | "no" | "dk" | "ua" | "tr" | "il" | "eg" | "ma" | "mx" | "br" | "ar" | "cl" | "co" | "pe" | "ec" | "uy" | "ve" | "cr" | "pa";
2458
+ remote?: boolean;
2459
+ /**
2460
+ * Jobs Indeed listed or relisted in this window. A relisted job keeps its first publishedAt and shows the new date in indexedAt.
2461
+ */
2462
+ within?: "day" | "week" | "month";
2463
+ /**
2464
+ * The cursor from the previous response. Send it as is.
2465
+ */
2466
+ cursor?: string;
2453
2467
  /**
2454
2468
  * Return at most this many results (1-100).
2455
2469
  */
@@ -2457,9 +2471,9 @@ type GoogletravelFlightsData = {
2457
2471
  };
2458
2472
  path?: never;
2459
2473
  query?: never;
2460
- url: "/v1/googletravel/flights";
2474
+ url: "/v1/indeed/search";
2461
2475
  };
2462
- type GoogletravelFlightsErrors = {
2476
+ type IndeedSearchErrors = {
2463
2477
  /**
2464
2478
  * The request failed. retryable says whether trying again can help.
2465
2479
  */
@@ -2469,93 +2483,132 @@ type GoogletravelFlightsErrors = {
2469
2483
  */
2470
2484
  "5XX": _Error;
2471
2485
  };
2472
- type GoogletravelFlightsError = GoogletravelFlightsErrors[keyof GoogletravelFlightsErrors];
2473
- type GoogletravelFlightsResponses = {
2486
+ type IndeedSearchError = IndeedSearchErrors[keyof IndeedSearchErrors];
2487
+ type IndeedSearchResponses = {
2474
2488
  /**
2475
2489
  * The data, and the credits this call used.
2476
2490
  */
2477
2491
  200: {
2478
2492
  success: true;
2479
2493
  data: {
2480
- cabin: "economy" | "premiumEconomy" | "business" | "first";
2481
- tripType: "oneWay" | "roundTrip";
2482
- adults: number;
2483
- /**
2484
- * Outbound flight options. With returnDate, each price is the round-trip total for that outbound choice.
2485
- */
2486
2494
  results: Array<{
2487
- isBest: boolean;
2488
- /**
2489
- * Total fare in USD for all adults together. For a round trip it covers both directions.
2490
- */
2491
- price?: number;
2492
- priceCurrency?: "USD";
2493
- airlines?: Array<string>;
2494
- stops: number;
2495
- durationSeconds?: number;
2496
- /**
2497
- * Local time at the airport, YYYY-MM-DDTHH:mm, no time zone.
2498
- */
2499
- departureLocalTime?: string;
2500
- /**
2501
- * Local time at the airport, YYYY-MM-DDTHH:mm, no time zone.
2502
- */
2503
- arrivalLocalTime?: string;
2504
- /**
2505
- * The outbound journey only, including a return search.
2506
- */
2507
- legs?: Array<{
2508
- flightNumber?: string;
2509
- airline?: string;
2510
- originCode?: string;
2511
- originName?: string;
2512
- destinationCode?: string;
2513
- destinationName?: string;
2514
- /**
2515
- * Local time at the airport, YYYY-MM-DDTHH:mm, no time zone.
2516
- */
2517
- departureLocalTime?: string;
2518
- /**
2519
- * Local time at the airport, YYYY-MM-DDTHH:mm, no time zone.
2520
- */
2521
- arrivalLocalTime?: string;
2522
- durationSeconds?: number;
2523
- aircraft?: string;
2524
- legroom?: string;
2525
- }>;
2526
- layovers?: Array<{
2527
- airport?: string;
2528
- name?: string;
2529
- city?: string;
2530
- durationSeconds?: number;
2531
- }>;
2532
- emissionsGrams?: number;
2533
- typicalEmissionsGrams?: number;
2495
+ jobId?: string;
2496
+ jobUrl: string;
2497
+ title?: string;
2498
+ companyName?: string;
2499
+ companyUrl?: string;
2500
+ companyAvatarUrl?: string;
2501
+ companyWebsite?: string;
2502
+ companyIndustry?: string;
2503
+ companyEmployeesText?: string;
2504
+ companyRevenueText?: string;
2505
+ companyDescription?: string;
2506
+ addressFull?: string;
2507
+ addressCity?: string;
2508
+ addressRegion?: string;
2509
+ addressPostalCode?: string;
2510
+ addressCountry?: string;
2511
+ latitude?: number;
2512
+ longitude?: number;
2513
+ salaryMin?: number;
2514
+ salaryMax?: number;
2515
+ salaryPeriod?: "hour" | "day" | "week" | "month" | "year";
2516
+ salaryCurrency?: string;
2517
+ salaryIsEstimate: boolean;
2518
+ jobTypes?: Array<"fullTime" | "partTime" | "contract" | "internship">;
2519
+ isRemote: boolean;
2520
+ attributes?: Array<string>;
2521
+ publishedAt?: string;
2522
+ indexedAt?: string;
2523
+ applyUrl?: string;
2524
+ isEasyApply: boolean;
2525
+ isUrgent: boolean;
2526
+ source?: string;
2527
+ description?: string;
2534
2528
  }>;
2529
+ cursor?: string;
2535
2530
  };
2536
2531
  creditsUsed: number;
2537
2532
  requestId: string;
2538
2533
  };
2539
2534
  };
2540
- type GoogletravelFlightsResponse = GoogletravelFlightsResponses[keyof GoogletravelFlightsResponses];
2541
- type AirbnbSearchData = {
2535
+ type IndeedSearchResponse = IndeedSearchResponses[keyof IndeedSearchResponses];
2536
+ type IndeedJobData = {
2542
2537
  body: {
2543
- location: string;
2544
- checkIn?: string;
2545
- checkOut?: string;
2546
- adults?: number;
2547
- /**
2548
- * Lowest average nightly rate in USD, before taxes and fees. Compare with pricePerNight, which includes them.
2549
- */
2550
- minPrice?: number;
2551
- /**
2552
- * Highest average nightly rate in USD, before taxes and fees. Compare with pricePerNight, which includes them.
2553
- */
2554
- maxPrice?: number;
2538
+ job: string;
2555
2539
  /**
2556
- * The cursor from the previous response. Send it as is.
2540
+ * ISO 3166-1 alpha-2 country code, e.g. us. Any case is accepted.
2557
2541
  */
2558
- cursor?: string;
2542
+ country?: "us" | "gb" | "ca" | "au" | "nz" | "ie" | "in" | "sg" | "my" | "ph" | "za" | "ng" | "ae" | "sa" | "qa" | "kw" | "bh" | "om" | "pk" | "hk" | "jp" | "kr" | "tw" | "cn" | "id" | "th" | "vn" | "de" | "at" | "ch" | "fr" | "be" | "nl" | "lu" | "es" | "pt" | "it" | "gr" | "mt" | "cy" | "pl" | "cz" | "sk" | "hu" | "ro" | "bg" | "hr" | "si" | "ee" | "lv" | "lt" | "fi" | "se" | "no" | "dk" | "ua" | "tr" | "il" | "eg" | "ma" | "mx" | "br" | "ar" | "cl" | "co" | "pe" | "ec" | "uy" | "ve" | "cr" | "pa";
2543
+ };
2544
+ path?: never;
2545
+ query?: never;
2546
+ url: "/v1/indeed/job";
2547
+ };
2548
+ type IndeedJobErrors = {
2549
+ /**
2550
+ * The request failed. retryable says whether trying again can help.
2551
+ */
2552
+ "4XX": _Error;
2553
+ /**
2554
+ * The request failed. retryable says whether trying again can help.
2555
+ */
2556
+ "5XX": _Error;
2557
+ };
2558
+ type IndeedJobError = IndeedJobErrors[keyof IndeedJobErrors];
2559
+ type IndeedJobResponses = {
2560
+ /**
2561
+ * The data, and the credits this call used.
2562
+ */
2563
+ 200: {
2564
+ success: true;
2565
+ data: {
2566
+ jobId?: string;
2567
+ jobUrl: string;
2568
+ title?: string;
2569
+ companyName?: string;
2570
+ companyUrl?: string;
2571
+ companyAvatarUrl?: string;
2572
+ companyWebsite?: string;
2573
+ companyIndustry?: string;
2574
+ companyEmployeesText?: string;
2575
+ companyRevenueText?: string;
2576
+ companyDescription?: string;
2577
+ addressFull?: string;
2578
+ addressCity?: string;
2579
+ addressRegion?: string;
2580
+ addressPostalCode?: string;
2581
+ addressCountry?: string;
2582
+ latitude?: number;
2583
+ longitude?: number;
2584
+ salaryMin?: number;
2585
+ salaryMax?: number;
2586
+ salaryPeriod?: "hour" | "day" | "week" | "month" | "year";
2587
+ salaryCurrency?: string;
2588
+ salaryIsEstimate: boolean;
2589
+ jobTypes: Array<"fullTime" | "partTime" | "contract" | "internship">;
2590
+ isRemote: boolean;
2591
+ attributes: Array<string>;
2592
+ publishedAt?: string;
2593
+ indexedAt?: string;
2594
+ applyUrl?: string;
2595
+ isEasyApply: boolean;
2596
+ isUrgent: boolean;
2597
+ source?: string;
2598
+ description?: string;
2599
+ descriptionHtml?: string;
2600
+ isExpired: boolean;
2601
+ language?: string;
2602
+ };
2603
+ creditsUsed: number;
2604
+ requestId: string;
2605
+ };
2606
+ };
2607
+ type IndeedJobResponse = IndeedJobResponses[keyof IndeedJobResponses];
2608
+ type TripadvisorSearchData = {
2609
+ body: {
2610
+ query: string;
2611
+ type?: "all" | "hotels" | "restaurants" | "attractions" | "geos";
2559
2612
  /**
2560
2613
  * Return at most this many results (1-100).
2561
2614
  */
@@ -2563,9 +2616,9 @@ type AirbnbSearchData = {
2563
2616
  };
2564
2617
  path?: never;
2565
2618
  query?: never;
2566
- url: "/v1/airbnb/search";
2619
+ url: "/v1/tripadvisor/search";
2567
2620
  };
2568
- type AirbnbSearchErrors = {
2621
+ type TripadvisorSearchErrors = {
2569
2622
  /**
2570
2623
  * The request failed. retryable says whether trying again can help.
2571
2624
  */
@@ -2575,8 +2628,8 @@ type AirbnbSearchErrors = {
2575
2628
  */
2576
2629
  "5XX": _Error;
2577
2630
  };
2578
- type AirbnbSearchError = AirbnbSearchErrors[keyof AirbnbSearchErrors];
2579
- type AirbnbSearchResponses = {
2631
+ type TripadvisorSearchError = TripadvisorSearchErrors[keyof TripadvisorSearchErrors];
2632
+ type TripadvisorSearchResponses = {
2580
2633
  /**
2581
2634
  * The data, and the credits this call used.
2582
2635
  */
@@ -2584,58 +2637,31 @@ type AirbnbSearchResponses = {
2584
2637
  success: true;
2585
2638
  data: {
2586
2639
  results: Array<{
2587
- listingId?: string;
2588
- listingUrl: string;
2640
+ placeId?: string;
2641
+ placeUrl?: string;
2589
2642
  name?: string;
2590
- title?: string;
2591
- subtitle?: string;
2592
- /**
2593
- * Total for the whole stay in USD, taxes and fees included.
2594
- */
2595
- price?: number;
2596
- /**
2597
- * Total for the whole stay before a discount, in USD.
2598
- */
2599
- originalPrice?: number;
2600
- /**
2601
- * Number of nights the price covers. A search without dates is priced for a default 5-night stay.
2602
- */
2603
- nights?: number;
2604
- /**
2605
- * price divided by nights, in USD, taxes and fees included.
2606
- */
2607
- pricePerNight?: number;
2608
- /**
2609
- * ISO 4217 currency code, e.g. USD.
2610
- */
2611
- priceCurrency?: string;
2612
- priceText?: string;
2613
- rating?: number;
2614
- reviews?: number;
2615
- bedrooms?: number;
2616
- beds?: number;
2617
- bathrooms?: number;
2643
+ type?: string;
2644
+ address?: string;
2645
+ parent?: string;
2618
2646
  latitude?: number;
2619
2647
  longitude?: number;
2620
- badges?: Array<string>;
2621
- imageUrls?: Array<string>;
2648
+ imageUrl?: string;
2622
2649
  }>;
2623
- cursor?: string;
2624
2650
  };
2625
2651
  creditsUsed: number;
2626
2652
  requestId: string;
2627
2653
  };
2628
2654
  };
2629
- type AirbnbSearchResponse = AirbnbSearchResponses[keyof AirbnbSearchResponses];
2630
- type AirbnbListingData = {
2655
+ type TripadvisorSearchResponse = TripadvisorSearchResponses[keyof TripadvisorSearchResponses];
2656
+ type TripadvisorPlaceData = {
2631
2657
  body: {
2632
- listing: string;
2658
+ place: string;
2633
2659
  };
2634
2660
  path?: never;
2635
2661
  query?: never;
2636
- url: "/v1/airbnb/listing";
2662
+ url: "/v1/tripadvisor/place";
2637
2663
  };
2638
- type AirbnbListingErrors = {
2664
+ type TripadvisorPlaceErrors = {
2639
2665
  /**
2640
2666
  * The request failed. retryable says whether trying again can help.
2641
2667
  */
@@ -2645,76 +2671,69 @@ type AirbnbListingErrors = {
2645
2671
  */
2646
2672
  "5XX": _Error;
2647
2673
  };
2648
- type AirbnbListingError = AirbnbListingErrors[keyof AirbnbListingErrors];
2649
- type AirbnbListingResponses = {
2674
+ type TripadvisorPlaceError = TripadvisorPlaceErrors[keyof TripadvisorPlaceErrors];
2675
+ type TripadvisorPlaceResponses = {
2650
2676
  /**
2651
2677
  * The data, and the credits this call used.
2652
2678
  */
2653
2679
  200: {
2654
2680
  success: true;
2655
2681
  data: {
2656
- listingId?: string;
2657
- listingUrl: string;
2682
+ placeId?: string;
2683
+ placeUrl?: string;
2658
2684
  name?: string;
2659
- headline?: string;
2660
- description?: string;
2661
- propertyType?: string;
2662
- roomType?: string;
2663
- guests?: number;
2664
- bedrooms?: number;
2665
- beds?: number;
2666
- bathrooms?: number;
2667
- isPetFriendly?: boolean;
2668
- isGuestFavorite: boolean;
2685
+ type?: string;
2686
+ subtypes: Array<string>;
2669
2687
  rating?: number;
2670
2688
  reviews?: number;
2671
- ratingCategories: Array<{
2672
- category?: string;
2673
- rating: number;
2689
+ rankingText?: string;
2690
+ rankingPosition?: number;
2691
+ rankingOf?: number;
2692
+ rankingGeo?: string;
2693
+ priceLevel?: string;
2694
+ priceRangeText?: string;
2695
+ hotelClass?: number;
2696
+ description?: string;
2697
+ addressFull?: string;
2698
+ addressStreet?: string;
2699
+ addressCity?: string;
2700
+ addressRegion?: string;
2701
+ addressCountry?: string;
2702
+ addressPostalCode?: string;
2703
+ latitude?: number;
2704
+ longitude?: number;
2705
+ phone?: string;
2706
+ website?: string;
2707
+ email?: string;
2708
+ neighborhoods: Array<string>;
2709
+ parents: Array<{
2710
+ placeId?: string;
2711
+ name?: string;
2674
2712
  }>;
2675
- ratingDistribution: Array<{
2676
- stars?: string;
2677
- percent: number;
2713
+ cuisines: Array<string>;
2714
+ hours: Array<{
2715
+ days?: string;
2716
+ times?: Array<string>;
2678
2717
  }>;
2679
- hostId?: string;
2680
- hostName?: string;
2681
- hostIsSuperhost: boolean;
2682
- hostIsVerified: boolean;
2683
- hostRating?: number;
2684
- hostReviews?: number;
2685
- hostYearsHosting?: number;
2686
- hostBio?: string;
2687
- hostResponsePercent?: number;
2688
- hostResponseTime?: string;
2689
- hostHighlights: Array<string>;
2690
- hostAvatarUrl?: string;
2691
- highlights: Array<{
2692
- title?: string;
2693
- description?: string;
2694
- }>;
2695
- amenities: Array<{
2696
- group?: string;
2697
- name?: string;
2698
- isAvailable: boolean;
2699
- }>;
2700
- houseRules: Array<string>;
2701
- safety: Array<string>;
2702
- latitude?: number;
2703
- longitude?: number;
2704
- isLocationExact: boolean;
2705
- area?: string;
2706
- neighborhood?: string;
2707
- imageUrls: Array<string>;
2718
+ tags: Array<string>;
2719
+ imageUrl?: string;
2720
+ timezone?: string;
2721
+ isClosed: boolean;
2708
2722
  };
2709
2723
  creditsUsed: number;
2710
2724
  requestId: string;
2711
2725
  };
2712
2726
  };
2713
- type AirbnbListingResponse = AirbnbListingResponses[keyof AirbnbListingResponses];
2714
- type AirbnbCalendarData = {
2727
+ type TripadvisorPlaceResponse = TripadvisorPlaceResponses[keyof TripadvisorPlaceResponses];
2728
+ type TripadvisorReviewsData = {
2715
2729
  body: {
2716
- listing: string;
2717
- month?: string;
2730
+ place: string;
2731
+ language?: string;
2732
+ ratings?: Array<number>;
2733
+ /**
2734
+ * The cursor from the previous response. Send it as is.
2735
+ */
2736
+ cursor?: string;
2718
2737
  /**
2719
2738
  * Return at most this many results (1-100).
2720
2739
  */
@@ -2722,9 +2741,9 @@ type AirbnbCalendarData = {
2722
2741
  };
2723
2742
  path?: never;
2724
2743
  query?: never;
2725
- url: "/v1/airbnb/calendar";
2744
+ url: "/v1/tripadvisor/reviews";
2726
2745
  };
2727
- type AirbnbCalendarErrors = {
2746
+ type TripadvisorReviewsErrors = {
2728
2747
  /**
2729
2748
  * The request failed. retryable says whether trying again can help.
2730
2749
  */
@@ -2734,37 +2753,65 @@ type AirbnbCalendarErrors = {
2734
2753
  */
2735
2754
  "5XX": _Error;
2736
2755
  };
2737
- type AirbnbCalendarError = AirbnbCalendarErrors[keyof AirbnbCalendarErrors];
2738
- type AirbnbCalendarResponses = {
2756
+ type TripadvisorReviewsError = TripadvisorReviewsErrors[keyof TripadvisorReviewsErrors];
2757
+ type TripadvisorReviewsResponses = {
2739
2758
  /**
2740
2759
  * The data, and the credits this call used.
2741
2760
  */
2742
2761
  200: {
2743
2762
  success: true;
2744
2763
  data: {
2764
+ placeId?: string;
2765
+ placeName?: string;
2766
+ placeType?: string;
2767
+ placeUrl?: string;
2768
+ total?: number;
2745
2769
  results: Array<{
2746
- date: string;
2747
- isAvailable: boolean;
2748
- isBookable: boolean;
2749
- isCheckInDay: boolean;
2750
- isCheckOutDay: boolean;
2751
- minNights?: number;
2752
- maxNights?: number;
2770
+ reviewId?: string;
2771
+ reviewUrl?: string;
2772
+ rating?: number;
2773
+ title?: string;
2774
+ text?: string;
2775
+ language?: string;
2776
+ createdDate?: string;
2777
+ publishedDate?: string;
2778
+ stayDate?: string;
2779
+ tripType?: string;
2780
+ helpful: number;
2781
+ subRatings?: Array<{
2782
+ name?: string;
2783
+ rating: number;
2784
+ }>;
2785
+ authorName?: string;
2786
+ authorUsername?: string;
2787
+ authorUrl?: string;
2788
+ authorAddress?: string;
2789
+ authorContributions?: number;
2790
+ ownerReplyText?: string;
2791
+ ownerReplyDate?: string;
2792
+ ownerReplyAuthor?: string;
2753
2793
  }>;
2794
+ cursor?: string;
2754
2795
  };
2755
2796
  creditsUsed: number;
2756
2797
  requestId: string;
2757
2798
  };
2758
2799
  };
2759
- type AirbnbCalendarResponse = AirbnbCalendarResponses[keyof AirbnbCalendarResponses];
2760
- type AirbnbReviewsData = {
2800
+ type TripadvisorReviewsResponse = TripadvisorReviewsResponses[keyof TripadvisorReviewsResponses];
2801
+ type GoogletravelFlightsData = {
2761
2802
  body: {
2762
- listing: string;
2763
- sort?: "relevance" | "newest" | "highest" | "lowest";
2764
2803
  /**
2765
- * The cursor from the previous response. Send it as is.
2804
+ * IATA airport code, e.g. JFK. Any case is accepted.
2766
2805
  */
2767
- cursor?: string;
2806
+ origin: string;
2807
+ /**
2808
+ * IATA airport code, e.g. JFK. Any case is accepted.
2809
+ */
2810
+ destination: string;
2811
+ departDate: string;
2812
+ returnDate?: string;
2813
+ adults?: number;
2814
+ cabin?: "economy" | "premiumEconomy" | "business" | "first";
2768
2815
  /**
2769
2816
  * Return at most this many results (1-100).
2770
2817
  */
@@ -2772,9 +2819,9 @@ type AirbnbReviewsData = {
2772
2819
  };
2773
2820
  path?: never;
2774
2821
  query?: never;
2775
- url: "/v1/airbnb/reviews";
2822
+ url: "/v1/googletravel/flights";
2776
2823
  };
2777
- type AirbnbReviewsErrors = {
2824
+ type GoogletravelFlightsErrors = {
2778
2825
  /**
2779
2826
  * The request failed. retryable says whether trying again can help.
2780
2827
  */
@@ -2784,44 +2831,81 @@ type AirbnbReviewsErrors = {
2784
2831
  */
2785
2832
  "5XX": _Error;
2786
2833
  };
2787
- type AirbnbReviewsError = AirbnbReviewsErrors[keyof AirbnbReviewsErrors];
2788
- type AirbnbReviewsResponses = {
2834
+ type GoogletravelFlightsError = GoogletravelFlightsErrors[keyof GoogletravelFlightsErrors];
2835
+ type GoogletravelFlightsResponses = {
2789
2836
  /**
2790
2837
  * The data, and the credits this call used.
2791
2838
  */
2792
2839
  200: {
2793
2840
  success: true;
2794
2841
  data: {
2842
+ cabin: "economy" | "premiumEconomy" | "business" | "first";
2843
+ tripType: "oneWay" | "roundTrip";
2844
+ adults: number;
2845
+ /**
2846
+ * Outbound flight options. With returnDate, each price is the round-trip total for that outbound choice.
2847
+ */
2795
2848
  results: Array<{
2796
- reviewId?: string;
2797
- text?: string;
2798
- rating?: number;
2799
- publishedAt?: string;
2800
- language?: string;
2801
- stayLength?: string;
2802
- authorId?: string;
2803
- authorName?: string;
2804
- authorAvatarUrl?: string;
2805
- authorAddress?: string;
2806
- ownerReplyText?: string;
2849
+ isBest: boolean;
2850
+ /**
2851
+ * Total fare in USD for all adults together. For a round trip it covers both directions.
2852
+ */
2853
+ price?: number;
2854
+ priceCurrency?: "USD";
2855
+ airlines?: Array<string>;
2856
+ stops: number;
2857
+ durationSeconds?: number;
2858
+ /**
2859
+ * Local time at the airport, YYYY-MM-DDTHH:mm, no time zone.
2860
+ */
2861
+ departureLocalTime?: string;
2862
+ /**
2863
+ * Local time at the airport, YYYY-MM-DDTHH:mm, no time zone.
2864
+ */
2865
+ arrivalLocalTime?: string;
2866
+ /**
2867
+ * The outbound journey only, including a return search.
2868
+ */
2869
+ legs?: Array<{
2870
+ flightNumber?: string;
2871
+ airline?: string;
2872
+ originCode?: string;
2873
+ originName?: string;
2874
+ destinationCode?: string;
2875
+ destinationName?: string;
2876
+ /**
2877
+ * Local time at the airport, YYYY-MM-DDTHH:mm, no time zone.
2878
+ */
2879
+ departureLocalTime?: string;
2880
+ /**
2881
+ * Local time at the airport, YYYY-MM-DDTHH:mm, no time zone.
2882
+ */
2883
+ arrivalLocalTime?: string;
2884
+ durationSeconds?: number;
2885
+ aircraft?: string;
2886
+ legroom?: string;
2887
+ }>;
2888
+ layovers?: Array<{
2889
+ airport?: string;
2890
+ name?: string;
2891
+ city?: string;
2892
+ durationSeconds?: number;
2893
+ }>;
2894
+ emissionsGrams?: number;
2895
+ typicalEmissionsGrams?: number;
2807
2896
  }>;
2808
- total?: number;
2809
- cursor?: string;
2810
2897
  };
2811
2898
  creditsUsed: number;
2812
2899
  requestId: string;
2813
2900
  };
2814
2901
  };
2815
- type AirbnbReviewsResponse = AirbnbReviewsResponses[keyof AirbnbReviewsResponses];
2816
- type RightmoveSearchData = {
2902
+ type GoogletravelFlightsResponse = GoogletravelFlightsResponses[keyof GoogletravelFlightsResponses];
2903
+ type WalmartSearchData = {
2817
2904
  body: {
2818
- location: string;
2819
- status?: "forSale" | "forRent";
2905
+ query: string;
2906
+ sort?: "relevance" | "priceLow" | "priceHigh" | "bestSelling" | "highest" | "newest";
2820
2907
  minPrice?: number;
2821
2908
  maxPrice?: number;
2822
- minBedrooms?: number;
2823
- maxBedrooms?: number;
2824
- sort?: "newest" | "oldest" | "priceHigh" | "priceLow";
2825
2909
  /**
2826
2910
  * The cursor from the previous response. Send it as is.
2827
2911
  */
@@ -2833,9 +2917,9 @@ type RightmoveSearchData = {
2833
2917
  };
2834
2918
  path?: never;
2835
2919
  query?: never;
2836
- url: "/v1/rightmove/search";
2920
+ url: "/v1/walmart/search";
2837
2921
  };
2838
- type RightmoveSearchErrors = {
2922
+ type WalmartSearchErrors = {
2839
2923
  /**
2840
2924
  * The request failed. retryable says whether trying again can help.
2841
2925
  */
@@ -2845,8 +2929,8 @@ type RightmoveSearchErrors = {
2845
2929
  */
2846
2930
  "5XX": _Error;
2847
2931
  };
2848
- type RightmoveSearchError = RightmoveSearchErrors[keyof RightmoveSearchErrors];
2849
- type RightmoveSearchResponses = {
2932
+ type WalmartSearchError = WalmartSearchErrors[keyof WalmartSearchErrors];
2933
+ type WalmartSearchResponses = {
2850
2934
  /**
2851
2935
  * The data, and the credits this call used.
2852
2936
  */
@@ -2854,39 +2938,21 @@ type RightmoveSearchResponses = {
2854
2938
  success: true;
2855
2939
  data: {
2856
2940
  results: Array<{
2857
- propertyId?: string;
2858
- propertyUrl: string;
2859
- addressFull?: string;
2860
- summary?: string;
2941
+ productId?: string;
2942
+ productUrl: string;
2943
+ title?: string;
2944
+ imageUrl?: string;
2861
2945
  price?: number;
2862
- /**
2863
- * True when the agent shows no price (POA); price is then null.
2864
- */
2865
- isPriceOnApplication: boolean;
2866
- priceText?: string;
2867
- priceQualifier?: string;
2868
- priceFrequency?: string;
2946
+ originalPrice?: number;
2869
2947
  /**
2870
2948
  * ISO 4217 currency code, e.g. USD.
2871
2949
  */
2872
2950
  priceCurrency?: string;
2873
- bedrooms?: number;
2874
- bathrooms?: number;
2875
- propertyType?: string;
2876
- sizeText?: string;
2877
- tenureType?: string;
2878
- firstListedAt?: string;
2879
- updateReason?: string;
2880
- updatedAt?: string;
2881
- isFeatured: boolean;
2882
- isAuction: boolean;
2883
- latitude?: number;
2884
- longitude?: number;
2885
- agentName?: string;
2886
- agentBranchId?: string;
2887
- agentPhone?: string;
2888
- keyFeatures?: Array<string>;
2889
- imageUrls?: Array<string>;
2951
+ rating?: number;
2952
+ reviews?: number;
2953
+ sellerName?: string;
2954
+ availability?: string;
2955
+ isSponsored: boolean;
2890
2956
  }>;
2891
2957
  total?: number;
2892
2958
  cursor?: string;
@@ -2895,16 +2961,16 @@ type RightmoveSearchResponses = {
2895
2961
  requestId: string;
2896
2962
  };
2897
2963
  };
2898
- type RightmoveSearchResponse = RightmoveSearchResponses[keyof RightmoveSearchResponses];
2899
- type RightmovePropertyData = {
2964
+ type WalmartSearchResponse = WalmartSearchResponses[keyof WalmartSearchResponses];
2965
+ type WalmartProductData = {
2900
2966
  body: {
2901
- property: string;
2967
+ product: string;
2902
2968
  };
2903
2969
  path?: never;
2904
2970
  query?: never;
2905
- url: "/v1/rightmove/property";
2971
+ url: "/v1/walmart/product";
2906
2972
  };
2907
- type RightmovePropertyErrors = {
2973
+ type WalmartProductErrors = {
2908
2974
  /**
2909
2975
  * The request failed. retryable says whether trying again can help.
2910
2976
  */
@@ -2914,90 +2980,71 @@ type RightmovePropertyErrors = {
2914
2980
  */
2915
2981
  "5XX": _Error;
2916
2982
  };
2917
- type RightmovePropertyError = RightmovePropertyErrors[keyof RightmovePropertyErrors];
2918
- type RightmovePropertyResponses = {
2983
+ type WalmartProductError = WalmartProductErrors[keyof WalmartProductErrors];
2984
+ type WalmartProductResponses = {
2919
2985
  /**
2920
2986
  * The data, and the credits this call used.
2921
2987
  */
2922
2988
  200: {
2923
2989
  success: true;
2924
2990
  data: {
2925
- propertyId?: string;
2926
- propertyUrl: string;
2927
- addressFull?: string;
2928
- addressPostalCode?: string;
2929
- addressCountry?: string;
2930
- description?: string;
2991
+ productId?: string;
2992
+ productUrl: string;
2993
+ title?: string;
2994
+ brand?: string;
2931
2995
  price?: number;
2932
- /**
2933
- * True when the agent shows no price (POA); price is then null.
2934
- */
2935
- isPriceOnApplication: boolean;
2996
+ originalPrice?: number;
2936
2997
  /**
2937
2998
  * ISO 4217 currency code, e.g. USD.
2938
2999
  */
2939
3000
  priceCurrency?: string;
2940
- priceText?: string;
2941
- priceQualifier?: string;
2942
- pricePerSqft?: number;
2943
- channel?: string;
2944
- bedrooms?: number;
2945
- bathrooms?: number;
2946
- propertyType?: string;
2947
- tenureType?: string;
2948
- tenureYearsRemaining?: number;
2949
- sizes: Array<{
2950
- value: number;
2951
- unit?: string;
2952
- }>;
2953
- councilTaxBand?: string;
2954
- annualServiceCharge?: number;
2955
- annualGroundRent?: number;
2956
- updateReason?: string;
2957
- tags: Array<string>;
2958
- keyFeatures: Array<string>;
3001
+ availability?: string;
3002
+ rating?: number;
3003
+ reviews?: number;
3004
+ sellerName?: string;
3005
+ sellerId?: string;
3006
+ categories: Array<string>;
2959
3007
  imageUrls: Array<string>;
2960
- floorplanUrls: Array<string>;
2961
- latitude?: number;
2962
- longitude?: number;
2963
- nearestStations: Array<{
3008
+ description?: string;
3009
+ highlights?: string;
3010
+ specs: Array<{
2964
3011
  name?: string;
2965
- types?: Array<string>;
2966
- distanceMiles?: number;
3012
+ value?: string;
2967
3013
  }>;
2968
- agentName?: string;
2969
- agentBranchId?: string;
2970
- agentPhone?: string;
2971
- agentCompany?: string;
2972
- agentAddress?: string;
2973
- };
2974
- creditsUsed: number;
2975
- requestId: string;
2976
- };
2977
- };
2978
- type RightmovePropertyResponse = RightmovePropertyResponses[keyof RightmovePropertyResponses];
2979
- type ImmoscoutSearchData = {
3014
+ variants: Array<{
3015
+ name?: string;
3016
+ values?: Array<string>;
3017
+ }>;
3018
+ upc?: string;
3019
+ model?: string;
3020
+ topReviews: Array<{
3021
+ reviewId?: string;
3022
+ authorName?: string;
3023
+ rating?: number;
3024
+ title?: string;
3025
+ text?: string;
3026
+ publishedAt?: string;
3027
+ helpful?: number;
3028
+ }>;
3029
+ };
3030
+ creditsUsed: number;
3031
+ requestId: string;
3032
+ };
3033
+ };
3034
+ type WalmartProductResponse = WalmartProductResponses[keyof WalmartProductResponses];
3035
+ type AppstoreAppData = {
2980
3036
  body: {
2981
- location: string;
2982
- type?: "apartmentRent" | "apartmentBuy" | "houseRent" | "houseBuy" | "land" | "flatShare" | "shortTerm";
2983
- minPrice?: number;
2984
- maxPrice?: number;
2985
- minRooms?: number;
2986
- sort?: "newest" | "priceLow" | "priceHigh" | "largest";
2987
- /**
2988
- * The cursor from the previous response. Send it as is.
2989
- */
2990
- cursor?: string;
3037
+ app: string;
2991
3038
  /**
2992
- * Return at most this many results (1-100).
3039
+ * ISO 3166-1 alpha-2 country code, e.g. us. Any case is accepted.
2993
3040
  */
2994
- limit?: number;
3041
+ country?: string;
2995
3042
  };
2996
3043
  path?: never;
2997
3044
  query?: never;
2998
- url: "/v1/immoscout/search";
3045
+ url: "/v1/appstore/app";
2999
3046
  };
3000
- type ImmoscoutSearchErrors = {
3047
+ type AppstoreAppErrors = {
3001
3048
  /**
3002
3049
  * The request failed. retryable says whether trying again can help.
3003
3050
  */
@@ -3007,54 +3054,77 @@ type ImmoscoutSearchErrors = {
3007
3054
  */
3008
3055
  "5XX": _Error;
3009
3056
  };
3010
- type ImmoscoutSearchError = ImmoscoutSearchErrors[keyof ImmoscoutSearchErrors];
3011
- type ImmoscoutSearchResponses = {
3057
+ type AppstoreAppError = AppstoreAppErrors[keyof AppstoreAppErrors];
3058
+ type AppstoreAppResponses = {
3012
3059
  /**
3013
3060
  * The data, and the credits this call used.
3014
3061
  */
3015
3062
  200: {
3016
3063
  success: true;
3017
3064
  data: {
3018
- results: Array<{
3019
- listingId?: string;
3020
- listingUrl: string;
3021
- title?: string;
3022
- type?: string;
3023
- addressFull?: string;
3024
- addressPostalCode?: string;
3025
- addressCountry?: string;
3026
- price?: number;
3027
- /**
3028
- * ISO 4217 currency code, e.g. USD.
3029
- */
3030
- priceCurrency?: string;
3031
- priceText?: string;
3032
- livingSpace?: number;
3033
- rooms?: number;
3034
- energyClass?: string;
3035
- publishedAt?: string;
3036
- isPrivate: boolean;
3037
- isProject: boolean;
3038
- isNew: boolean;
3039
- imageUrl?: string;
3040
- }>;
3041
- total?: number;
3042
- cursor?: string;
3065
+ appId?: string;
3066
+ appUrl: string;
3067
+ bundleId?: string;
3068
+ name?: string;
3069
+ subtitle?: string;
3070
+ developerId?: string;
3071
+ developerName?: string;
3072
+ developerUrl?: string;
3073
+ seller?: string;
3074
+ website?: string;
3075
+ price?: number;
3076
+ priceCurrency?: string;
3077
+ priceText?: string;
3078
+ hasInAppPurchases?: boolean;
3079
+ genres: Array<string>;
3080
+ primaryGenreId?: string;
3081
+ primaryGenre?: string;
3082
+ contentRating?: string;
3083
+ description?: string;
3084
+ releaseNotes?: string;
3085
+ version?: string;
3086
+ releasedAt?: string;
3087
+ updatedAt?: string;
3088
+ minimumOsVersion?: string;
3089
+ sizeBytes?: number;
3090
+ languages: Array<string>;
3091
+ rating?: number;
3092
+ ratings?: number;
3093
+ ratingsOne?: number;
3094
+ ratingsTwo?: number;
3095
+ ratingsThree?: number;
3096
+ ratingsFour?: number;
3097
+ ratingsFive?: number;
3098
+ chartName?: string;
3099
+ chartGenre?: string;
3100
+ chartPosition?: number;
3101
+ iconUrl?: string;
3102
+ screenshotUrls: Array<string>;
3103
+ ipadScreenshotUrls: Array<string>;
3043
3104
  };
3044
3105
  creditsUsed: number;
3045
3106
  requestId: string;
3046
3107
  };
3047
3108
  };
3048
- type ImmoscoutSearchResponse = ImmoscoutSearchResponses[keyof ImmoscoutSearchResponses];
3049
- type ImmoscoutListingData = {
3109
+ type AppstoreAppResponse = AppstoreAppResponses[keyof AppstoreAppResponses];
3110
+ type AppstoreSearchData = {
3050
3111
  body: {
3051
- listing: string;
3112
+ query: string;
3113
+ /**
3114
+ * ISO 3166-1 alpha-2 country code, e.g. us. Any case is accepted.
3115
+ */
3116
+ country?: string;
3117
+ device?: "iphone" | "ipad" | "mac";
3118
+ /**
3119
+ * Return at most this many results (1-100).
3120
+ */
3121
+ limit?: number;
3052
3122
  };
3053
3123
  path?: never;
3054
3124
  query?: never;
3055
- url: "/v1/immoscout/listing";
3125
+ url: "/v1/appstore/search";
3056
3126
  };
3057
- type ImmoscoutListingErrors = {
3127
+ type AppstoreSearchErrors = {
3058
3128
  /**
3059
3129
  * The request failed. retryable says whether trying again can help.
3060
3130
  */
@@ -3064,62 +3134,59 @@ type ImmoscoutListingErrors = {
3064
3134
  */
3065
3135
  "5XX": _Error;
3066
3136
  };
3067
- type ImmoscoutListingError = ImmoscoutListingErrors[keyof ImmoscoutListingErrors];
3068
- type ImmoscoutListingResponses = {
3137
+ type AppstoreSearchError = AppstoreSearchErrors[keyof AppstoreSearchErrors];
3138
+ type AppstoreSearchResponses = {
3069
3139
  /**
3070
3140
  * The data, and the credits this call used.
3071
3141
  */
3072
3142
  200: {
3073
3143
  success: true;
3074
3144
  data: {
3075
- listingId?: string;
3076
- listingUrl: string;
3077
- title?: string;
3078
- type?: string;
3079
- status?: string;
3080
- addressFull?: string;
3081
- addressPostalCode?: string;
3082
- addressCity?: string;
3083
- addressDistrict?: string;
3084
- addressCountry?: string;
3085
- /**
3086
- * ISO 4217 currency code, e.g. USD.
3087
- */
3088
- priceCurrency?: string;
3089
- baseRent?: number;
3090
- totalRent?: number;
3091
- serviceCharge?: number;
3092
- price?: number;
3093
- livingSpace?: number;
3094
- rooms?: number;
3095
- yearBuilt?: number;
3096
- energyClass?: string;
3097
- attributes: Array<{
3098
- group?: string;
3099
- label?: string;
3100
- value?: string;
3101
- }>;
3102
- texts: Array<{
3103
- title?: string;
3104
- text?: string;
3145
+ results: Array<{
3146
+ appId?: string;
3147
+ appUrl: string;
3148
+ bundleId?: string;
3149
+ name?: string;
3150
+ developerId?: string;
3151
+ developerName?: string;
3152
+ developerUrl?: string;
3153
+ seller?: string;
3154
+ website?: string;
3155
+ price?: number;
3156
+ priceCurrency?: string;
3157
+ priceText?: string;
3158
+ genres?: Array<string>;
3159
+ primaryGenreId?: string;
3160
+ primaryGenre?: string;
3161
+ contentRating?: string;
3162
+ description?: string;
3163
+ releaseNotes?: string;
3164
+ version?: string;
3165
+ releasedAt?: string;
3166
+ updatedAt?: string;
3167
+ minimumOsVersion?: string;
3168
+ sizeBytes?: number;
3169
+ languages?: Array<string>;
3170
+ rating?: number;
3171
+ ratings?: number;
3172
+ iconUrl?: string;
3173
+ screenshotUrls?: Array<string>;
3174
+ ipadScreenshotUrls?: Array<string>;
3105
3175
  }>;
3106
- imageUrls: Array<string>;
3107
- agentName?: string;
3108
- agentCompany?: string;
3109
- agentPhone?: string;
3110
- agentRating?: number;
3111
- agentUrl?: string;
3112
- agentAddress?: string;
3113
3176
  };
3114
3177
  creditsUsed: number;
3115
3178
  requestId: string;
3116
3179
  };
3117
3180
  };
3118
- type ImmoscoutListingResponse = ImmoscoutListingResponses[keyof ImmoscoutListingResponses];
3119
- type PinterestSearchData = {
3181
+ type AppstoreSearchResponse = AppstoreSearchResponses[keyof AppstoreSearchResponses];
3182
+ type AppstoreReviewsData = {
3120
3183
  body: {
3121
- query: string;
3122
- type?: "pins" | "videos";
3184
+ app: string;
3185
+ /**
3186
+ * ISO 3166-1 alpha-2 country code, e.g. us. Any case is accepted.
3187
+ */
3188
+ country?: string;
3189
+ sort?: "newest" | "helpful" | "highest" | "lowest";
3123
3190
  /**
3124
3191
  * The cursor from the previous response. Send it as is.
3125
3192
  */
@@ -3131,9 +3198,9 @@ type PinterestSearchData = {
3131
3198
  };
3132
3199
  path?: never;
3133
3200
  query?: never;
3134
- url: "/v1/pinterest/search";
3201
+ url: "/v1/appstore/reviews";
3135
3202
  };
3136
- type PinterestSearchErrors = {
3203
+ type AppstoreReviewsErrors = {
3137
3204
  /**
3138
3205
  * The request failed. retryable says whether trying again can help.
3139
3206
  */
@@ -3143,8 +3210,8 @@ type PinterestSearchErrors = {
3143
3210
  */
3144
3211
  "5XX": _Error;
3145
3212
  };
3146
- type PinterestSearchError = PinterestSearchErrors[keyof PinterestSearchErrors];
3147
- type PinterestSearchResponses = {
3213
+ type AppstoreReviewsError = AppstoreReviewsErrors[keyof AppstoreReviewsErrors];
3214
+ type AppstoreReviewsResponses = {
3148
3215
  /**
3149
3216
  * The data, and the credits this call used.
3150
3217
  */
@@ -3152,31 +3219,13 @@ type PinterestSearchResponses = {
3152
3219
  success: true;
3153
3220
  data: {
3154
3221
  results: Array<{
3155
- pinId?: string;
3156
- pinUrl: string;
3222
+ reviewId?: string;
3223
+ rating: number;
3157
3224
  title?: string;
3158
3225
  text?: string;
3159
- altText?: string;
3160
- linkUrl?: string;
3161
- domain?: string;
3162
- publishedAt?: string;
3163
- imageUrl?: string;
3164
- videoUrl?: string;
3165
- videoDurationSeconds?: number;
3166
- saves?: number;
3167
- reposts?: number;
3168
- comments?: number;
3169
- reactions?: number;
3170
- isPromoted: boolean;
3171
- authorId?: string;
3172
- authorUsername?: string;
3173
3226
  authorName?: string;
3174
- authorUrl?: string;
3175
- authorAvatarUrl?: string;
3176
- authorIsVerified?: boolean;
3177
- boardId?: string;
3178
- boardName?: string;
3179
- boardUrl?: string;
3227
+ publishedAt?: string;
3228
+ isEdited: boolean;
3180
3229
  }>;
3181
3230
  cursor?: string;
3182
3231
  };
@@ -3184,16 +3233,26 @@ type PinterestSearchResponses = {
3184
3233
  requestId: string;
3185
3234
  };
3186
3235
  };
3187
- type PinterestSearchResponse = PinterestSearchResponses[keyof PinterestSearchResponses];
3188
- type PinterestPinData = {
3236
+ type AppstoreReviewsResponse = AppstoreReviewsResponses[keyof AppstoreReviewsResponses];
3237
+ type AppstoreTopData = {
3189
3238
  body: {
3190
- pin: string;
3239
+ chart?: "free" | "paid" | "grossing";
3240
+ device?: "iphone" | "ipad" | "mac";
3241
+ genre?: "business" | "weather" | "utilities" | "travel" | "sports" | "socialNetworking" | "reference" | "productivity" | "photoVideo" | "news" | "navigation" | "music" | "lifestyle" | "healthFitness" | "games" | "finance" | "entertainment" | "education" | "books" | "medical" | "foodDrink" | "shopping" | "developerTools" | "graphicsDesign";
3242
+ /**
3243
+ * ISO 3166-1 alpha-2 country code, e.g. us. Any case is accepted.
3244
+ */
3245
+ country?: string;
3246
+ /**
3247
+ * Return at most this many results (1-100).
3248
+ */
3249
+ limit?: number;
3191
3250
  };
3192
3251
  path?: never;
3193
3252
  query?: never;
3194
- url: "/v1/pinterest/pin";
3253
+ url: "/v1/appstore/top";
3195
3254
  };
3196
- type PinterestPinErrors = {
3255
+ type AppstoreTopErrors = {
3197
3256
  /**
3198
3257
  * The request failed. retryable says whether trying again can help.
3199
3258
  */
@@ -3203,62 +3262,54 @@ type PinterestPinErrors = {
3203
3262
  */
3204
3263
  "5XX": _Error;
3205
3264
  };
3206
- type PinterestPinError = PinterestPinErrors[keyof PinterestPinErrors];
3207
- type PinterestPinResponses = {
3265
+ type AppstoreTopError = AppstoreTopErrors[keyof AppstoreTopErrors];
3266
+ type AppstoreTopResponses = {
3208
3267
  /**
3209
3268
  * The data, and the credits this call used.
3210
3269
  */
3211
3270
  200: {
3212
3271
  success: true;
3213
3272
  data: {
3214
- pinId?: string;
3215
- pinUrl: string;
3216
- title?: string;
3217
- text?: string;
3218
- altText?: string;
3219
- linkUrl?: string;
3220
- domain?: string;
3221
- publishedAt?: string;
3222
- imageUrl?: string;
3223
- videoUrl?: string;
3224
- videoDurationSeconds?: number;
3225
- saves?: number;
3226
- reposts?: number;
3227
- comments?: number;
3228
- reactions?: number;
3229
- isPromoted: boolean;
3230
- authorId?: string;
3231
- authorUsername?: string;
3232
- authorName?: string;
3233
- authorUrl?: string;
3234
- authorAvatarUrl?: string;
3235
- authorIsVerified?: boolean;
3236
- boardId?: string;
3237
- boardName?: string;
3238
- boardUrl?: string;
3273
+ results: Array<{
3274
+ rank: number;
3275
+ appId?: string;
3276
+ appUrl: string;
3277
+ bundleId?: string;
3278
+ name?: string;
3279
+ developerId?: string;
3280
+ developerName?: string;
3281
+ developerUrl?: string;
3282
+ price?: number;
3283
+ priceCurrency?: string;
3284
+ genreId?: string;
3285
+ genre?: string;
3286
+ releasedAt?: string;
3287
+ summary?: string;
3288
+ iconUrl?: string;
3289
+ }>;
3239
3290
  };
3240
3291
  creditsUsed: number;
3241
3292
  requestId: string;
3242
3293
  };
3243
3294
  };
3244
- type PinterestPinResponse = PinterestPinResponses[keyof PinterestPinResponses];
3245
- type PinterestBoardData = {
3295
+ type AppstoreTopResponse = AppstoreTopResponses[keyof AppstoreTopResponses];
3296
+ type GoogleplayAppData = {
3246
3297
  body: {
3247
- board: string;
3298
+ app: string;
3248
3299
  /**
3249
- * The cursor from the previous response. Send it as is.
3300
+ * ISO 3166-1 alpha-2 country code, e.g. us. Any case is accepted.
3250
3301
  */
3251
- cursor?: string;
3302
+ country?: string;
3252
3303
  /**
3253
- * Return at most this many results (1-100).
3304
+ * BCP 47 language tag, e.g. en or pt-BR. Any case is accepted.
3254
3305
  */
3255
- limit?: number;
3306
+ language?: string;
3256
3307
  };
3257
3308
  path?: never;
3258
3309
  query?: never;
3259
- url: "/v1/pinterest/board";
3310
+ url: "/v1/googleplay/app";
3260
3311
  };
3261
- type PinterestBoardErrors = {
3312
+ type GoogleplayAppErrors = {
3262
3313
  /**
3263
3314
  * The request failed. retryable says whether trying again can help.
3264
3315
  */
@@ -3268,70 +3319,68 @@ type PinterestBoardErrors = {
3268
3319
  */
3269
3320
  "5XX": _Error;
3270
3321
  };
3271
- type PinterestBoardError = PinterestBoardErrors[keyof PinterestBoardErrors];
3272
- type PinterestBoardResponses = {
3322
+ type GoogleplayAppError = GoogleplayAppErrors[keyof GoogleplayAppErrors];
3323
+ type GoogleplayAppResponses = {
3273
3324
  /**
3274
3325
  * The data, and the credits this call used.
3275
3326
  */
3276
3327
  200: {
3277
3328
  success: true;
3278
3329
  data: {
3279
- boardId?: string;
3280
- boardUrl: string;
3330
+ appId?: string;
3331
+ appUrl: string;
3281
3332
  name?: string;
3333
+ summary?: string;
3282
3334
  description?: string;
3283
- category?: string;
3284
- pins?: number;
3285
- followers?: number;
3286
- sections?: number;
3287
- thumbnailUrl?: string;
3288
- authorId?: string;
3289
- authorUsername?: string;
3290
- authorName?: string;
3291
- authorUrl?: string;
3292
- authorAvatarUrl?: string;
3293
- authorIsVerified?: boolean;
3294
- results: Array<{
3295
- pinId?: string;
3296
- pinUrl: string;
3297
- title?: string;
3298
- text?: string;
3299
- altText?: string;
3300
- linkUrl?: string;
3301
- domain?: string;
3302
- publishedAt?: string;
3303
- imageUrl?: string;
3304
- videoUrl?: string;
3305
- videoDurationSeconds?: number;
3306
- saves?: number;
3307
- reposts?: number;
3308
- comments?: number;
3309
- reactions?: number;
3310
- isPromoted: boolean;
3311
- authorId?: string;
3312
- authorUsername?: string;
3313
- authorName?: string;
3314
- authorUrl?: string;
3315
- authorAvatarUrl?: string;
3316
- authorIsVerified?: boolean;
3317
- boardId?: string;
3318
- boardName?: string;
3319
- boardUrl?: string;
3320
- }>;
3321
- cursor?: string;
3335
+ developerId?: string;
3336
+ developerName?: string;
3337
+ developerEmail?: string;
3338
+ developerWebsite?: string;
3339
+ developerAddress?: string;
3340
+ privacyPolicyUrl?: string;
3341
+ genreId?: string;
3342
+ genre?: string;
3343
+ contentRating?: string;
3344
+ installsText?: string;
3345
+ installsMin?: number;
3346
+ installsExact?: number;
3347
+ rating?: number;
3348
+ ratings?: number;
3349
+ reviews?: number;
3350
+ ratingsOne?: number;
3351
+ ratingsTwo?: number;
3352
+ ratingsThree?: number;
3353
+ ratingsFour?: number;
3354
+ ratingsFive?: number;
3355
+ price?: number;
3356
+ priceCurrency?: string;
3357
+ hasInAppPurchases: boolean;
3358
+ inAppPriceText?: string;
3359
+ hasAds: boolean;
3360
+ version?: string;
3361
+ recentChanges?: string;
3362
+ releasedAt?: string;
3363
+ updatedAt?: string;
3364
+ iconUrl?: string;
3365
+ bannerUrl?: string;
3366
+ screenshotUrls: Array<string>;
3322
3367
  };
3323
3368
  creditsUsed: number;
3324
3369
  requestId: string;
3325
3370
  };
3326
3371
  };
3327
- type PinterestBoardResponse = PinterestBoardResponses[keyof PinterestBoardResponses];
3328
- type PinterestUserData = {
3372
+ type GoogleplayAppResponse = GoogleplayAppResponses[keyof GoogleplayAppResponses];
3373
+ type GoogleplaySearchData = {
3329
3374
  body: {
3330
- profile: string;
3375
+ query: string;
3331
3376
  /**
3332
- * The cursor from the previous response. Send it as is.
3377
+ * ISO 3166-1 alpha-2 country code, e.g. us. Any case is accepted.
3333
3378
  */
3334
- cursor?: string;
3379
+ country?: string;
3380
+ /**
3381
+ * BCP 47 language tag, e.g. en or pt-BR. Any case is accepted.
3382
+ */
3383
+ language?: string;
3335
3384
  /**
3336
3385
  * Return at most this many results (1-100).
3337
3386
  */
@@ -3339,9 +3388,9 @@ type PinterestUserData = {
3339
3388
  };
3340
3389
  path?: never;
3341
3390
  query?: never;
3342
- url: "/v1/pinterest/user";
3391
+ url: "/v1/googleplay/search";
3343
3392
  };
3344
- type PinterestUserErrors = {
3393
+ type GoogleplaySearchErrors = {
3345
3394
  /**
3346
3395
  * The request failed. retryable says whether trying again can help.
3347
3396
  */
@@ -3351,171 +3400,116 @@ type PinterestUserErrors = {
3351
3400
  */
3352
3401
  "5XX": _Error;
3353
3402
  };
3354
- type PinterestUserError = PinterestUserErrors[keyof PinterestUserErrors];
3355
- type PinterestUserResponses = {
3403
+ type GoogleplaySearchError = GoogleplaySearchErrors[keyof GoogleplaySearchErrors];
3404
+ type GoogleplaySearchResponses = {
3356
3405
  /**
3357
3406
  * The data, and the credits this call used.
3358
3407
  */
3359
3408
  200: {
3360
3409
  success: true;
3361
3410
  data: {
3362
- userId?: string;
3363
- username?: string;
3364
- userUrl: string;
3365
- name?: string;
3366
- avatarUrl?: string;
3367
- followers?: number;
3368
- bio?: string;
3369
- website?: string;
3370
- following?: number;
3371
- pins?: number;
3372
- boards?: number;
3373
- isVerified: boolean;
3374
- isPrivate: boolean;
3375
- createdAt?: string;
3376
3411
  results: Array<{
3377
- pinId?: string;
3378
- pinUrl: string;
3379
- title?: string;
3380
- text?: string;
3381
- altText?: string;
3382
- linkUrl?: string;
3383
- domain?: string;
3384
- publishedAt?: string;
3385
- imageUrl?: string;
3386
- videoUrl?: string;
3387
- videoDurationSeconds?: number;
3388
- saves?: number;
3389
- reposts?: number;
3390
- comments?: number;
3391
- reactions?: number;
3392
- isPromoted: boolean;
3393
- authorId?: string;
3394
- authorUsername?: string;
3395
- authorName?: string;
3396
- authorUrl?: string;
3397
- authorAvatarUrl?: string;
3398
- authorIsVerified?: boolean;
3399
- boardId?: string;
3400
- boardName?: string;
3401
- boardUrl?: string;
3412
+ appId?: string;
3413
+ appUrl: string;
3414
+ name?: string;
3415
+ developerName?: string;
3416
+ summary?: string;
3417
+ genre?: string;
3418
+ installsText?: string;
3419
+ installsMin?: number;
3420
+ rating?: number;
3421
+ price?: number;
3422
+ priceCurrency?: string;
3423
+ iconUrl?: string;
3402
3424
  }>;
3403
- cursor?: string;
3404
3425
  };
3405
3426
  creditsUsed: number;
3406
3427
  requestId: string;
3407
3428
  };
3408
3429
  };
3409
- type PinterestUserResponse = PinterestUserResponses[keyof PinterestUserResponses];
3410
- type AdsSearchData = {
3430
+ type GoogleplaySearchResponse = GoogleplaySearchResponses[keyof GoogleplaySearchResponses];
3431
+ type GoogleplayReviewsData = {
3411
3432
  body: {
3412
- query: string;
3413
- /**
3414
- * ISO 3166-1 alpha-2 country code, or all. Any case is accepted.
3415
- */
3416
- country?: string;
3417
- status?: "active" | "inactive" | "all";
3418
- /**
3419
- * Only ads with this creative: image, video, or text (no image or video).
3420
- */
3421
- mediaType?: "image" | "video" | "text";
3422
- /**
3423
- * The cursor from the previous response. Send it as is.
3424
- */
3425
- cursor?: string;
3426
- network: "meta";
3427
- /**
3428
- * Return at most this many results (1-100).
3429
- */
3430
- limit?: number;
3431
- } | {
3432
- /**
3433
- * A domain like nike.com. Google's library finds ads by domain or advertiser, not by keyword.
3434
- */
3435
- query?: string;
3436
- advertiser?: string;
3437
- domain?: string;
3438
- /**
3439
- * Country code like de. Only ads shown in this country are returned. Any case is accepted.
3440
- */
3441
- country?: string;
3442
- mediaType?: "text" | "image" | "video";
3443
- /**
3444
- * The cursor from the previous response. Send it as is.
3445
- */
3446
- cursor?: string;
3447
- network: "google";
3448
- /**
3449
- * Return at most this many results (1-100).
3450
- */
3451
- limit?: number;
3452
- } | {
3453
- query?: string;
3454
- advertiser?: string;
3455
- /**
3456
- * European country code like de. TikTok publishes ads for these countries only. Any case is accepted.
3457
- */
3458
- country?: string;
3459
- /**
3460
- * The cursor from the previous response. Send it as is.
3461
- */
3462
- cursor?: string;
3463
- network: "tiktok";
3464
- /**
3465
- * Return at most this many results (1-100).
3466
- */
3467
- limit?: number;
3468
- } | {
3469
- query?: string;
3470
- advertiser?: string;
3433
+ app: string;
3471
3434
  /**
3472
3435
  * ISO 3166-1 alpha-2 country code, e.g. us. Any case is accepted.
3473
3436
  */
3474
3437
  country?: string;
3475
- within?: "month" | "year" | "all";
3476
- /**
3477
- * The cursor from the previous response. Send it as is.
3478
- */
3479
- cursor?: string;
3480
- network: "linkedin";
3481
3438
  /**
3482
- * Return at most this many results (1-100).
3483
- */
3484
- limit?: number;
3485
- } | {
3486
- query?: string;
3487
- advertiser?: string;
3488
- /**
3489
- * EU/EEA country code like de. Microsoft publishes ads for these countries only. Any case is accepted.
3439
+ * BCP 47 language tag, e.g. en or pt-BR. Any case is accepted.
3490
3440
  */
3491
- country?: string;
3441
+ language?: string;
3442
+ sort?: "newest" | "relevance" | "highest";
3443
+ rating?: number;
3492
3444
  /**
3493
3445
  * The cursor from the previous response. Send it as is.
3494
3446
  */
3495
3447
  cursor?: string;
3496
- network: "microsoft";
3497
3448
  /**
3498
3449
  * Return at most this many results (1-100).
3499
3450
  */
3500
3451
  limit?: number;
3501
- } | {
3502
- /**
3503
- * Not supported. Pinterest's ads library has no keyword search. Use advertiser to filter by advertiser name.
3504
- */
3505
- query?: string;
3452
+ };
3453
+ path?: never;
3454
+ query?: never;
3455
+ url: "/v1/googleplay/reviews";
3456
+ };
3457
+ type GoogleplayReviewsErrors = {
3458
+ /**
3459
+ * The request failed. retryable says whether trying again can help.
3460
+ */
3461
+ "4XX": _Error;
3462
+ /**
3463
+ * The request failed. retryable says whether trying again can help.
3464
+ */
3465
+ "5XX": _Error;
3466
+ };
3467
+ type GoogleplayReviewsError = GoogleplayReviewsErrors[keyof GoogleplayReviewsErrors];
3468
+ type GoogleplayReviewsResponses = {
3469
+ /**
3470
+ * The data, and the credits this call used.
3471
+ */
3472
+ 200: {
3473
+ success: true;
3474
+ data: {
3475
+ results: Array<{
3476
+ reviewId?: string;
3477
+ reviewUrl: string;
3478
+ rating: number;
3479
+ text?: string;
3480
+ authorName?: string;
3481
+ authorAvatarUrl?: string;
3482
+ publishedAt?: string;
3483
+ likes: number;
3484
+ appVersion?: string;
3485
+ ownerReplyText?: string;
3486
+ ownerReplyAt?: string;
3487
+ }>;
3488
+ cursor?: string;
3489
+ };
3490
+ creditsUsed: number;
3491
+ requestId: string;
3492
+ };
3493
+ };
3494
+ type GoogleplayReviewsResponse = GoogleplayReviewsResponses[keyof GoogleplayReviewsResponses];
3495
+ type AirbnbSearchData = {
3496
+ body: {
3497
+ location: string;
3498
+ checkIn?: string;
3499
+ checkOut?: string;
3500
+ adults?: number;
3506
3501
  /**
3507
- * EU country code like fr, or br or tr. Pinterest publishes ads for these countries only. Any case is accepted.
3502
+ * Lowest average nightly rate in USD, before taxes and fees. Compare with pricePerNight, which includes them.
3508
3503
  */
3509
- country: string;
3504
+ minPrice?: number;
3510
3505
  /**
3511
- * Advertiser name to filter by. Pinterest does not publish advertiser names on the ads themselves, so results carry no advertiser.
3506
+ * Highest average nightly rate in USD, before taxes and fees. Compare with pricePerNight, which includes them.
3512
3507
  */
3513
- advertiser?: string;
3508
+ maxPrice?: number;
3514
3509
  /**
3515
3510
  * The cursor from the previous response. Send it as is.
3516
3511
  */
3517
3512
  cursor?: string;
3518
- network: "pinterest";
3519
3513
  /**
3520
3514
  * Return at most this many results (1-100).
3521
3515
  */
@@ -3523,9 +3517,9 @@ type AdsSearchData = {
3523
3517
  };
3524
3518
  path?: never;
3525
3519
  query?: never;
3526
- url: "/v1/ads/search";
3520
+ url: "/v1/airbnb/search";
3527
3521
  };
3528
- type AdsSearchErrors = {
3522
+ type AirbnbSearchErrors = {
3529
3523
  /**
3530
3524
  * The request failed. retryable says whether trying again can help.
3531
3525
  */
@@ -3535,45 +3529,1005 @@ type AdsSearchErrors = {
3535
3529
  */
3536
3530
  "5XX": _Error;
3537
3531
  };
3538
- type AdsSearchError = AdsSearchErrors[keyof AdsSearchErrors];
3539
- type AdsSearchResponses = {
3532
+ type AirbnbSearchError = AirbnbSearchErrors[keyof AirbnbSearchErrors];
3533
+ type AirbnbSearchResponses = {
3540
3534
  /**
3541
3535
  * The data, and the credits this call used.
3542
3536
  */
3543
3537
  200: {
3544
3538
  success: true;
3545
3539
  data: {
3546
- results?: Array<{
3547
- adId?: string;
3548
- adUrl: string;
3540
+ results: Array<{
3541
+ listingId?: string;
3542
+ listingUrl: string;
3543
+ name?: string;
3544
+ title?: string;
3545
+ subtitle?: string;
3549
3546
  /**
3550
- * Same as pageId. Present so this ad has the same keys as other ad networks.
3547
+ * Total for the whole stay in USD, taxes and fees included.
3551
3548
  */
3552
- advertiserId?: string;
3549
+ price?: number;
3553
3550
  /**
3554
- * Same as pageName. Present so this ad has the same keys as other ad networks.
3551
+ * Total for the whole stay before a discount, in USD.
3555
3552
  */
3556
- advertiserName?: string;
3553
+ originalPrice?: number;
3557
3554
  /**
3558
- * Same as pageUrl. Present so this ad has the same keys as other ad networks.
3555
+ * Number of nights the price covers. A search without dates is priced for a default 5-night stay.
3559
3556
  */
3560
- advertiserUrl?: string;
3557
+ nights?: number;
3561
3558
  /**
3562
- * Same as pageAvatarUrl. Present so this ad has the same keys as other ad networks.
3559
+ * price divided by nights, in USD, taxes and fees included.
3563
3560
  */
3564
- advertiserAvatarUrl?: string;
3565
- pageId?: string;
3566
- pageName?: string;
3567
- pageUrl?: string;
3568
- pageAvatarUrl?: string;
3569
- pageCategories?: Array<string>;
3570
- pageLikes?: number;
3571
- isActive: boolean;
3572
- firstShownAt?: string;
3573
- lastShownAt?: string;
3574
- platforms?: Array<string>;
3575
- format?: string;
3576
- text?: string;
3561
+ pricePerNight?: number;
3562
+ /**
3563
+ * ISO 4217 currency code, e.g. USD.
3564
+ */
3565
+ priceCurrency?: string;
3566
+ priceText?: string;
3567
+ rating?: number;
3568
+ reviews?: number;
3569
+ bedrooms?: number;
3570
+ beds?: number;
3571
+ bathrooms?: number;
3572
+ latitude?: number;
3573
+ longitude?: number;
3574
+ badges?: Array<string>;
3575
+ imageUrls?: Array<string>;
3576
+ }>;
3577
+ cursor?: string;
3578
+ };
3579
+ creditsUsed: number;
3580
+ requestId: string;
3581
+ };
3582
+ };
3583
+ type AirbnbSearchResponse = AirbnbSearchResponses[keyof AirbnbSearchResponses];
3584
+ type AirbnbListingData = {
3585
+ body: {
3586
+ listing: string;
3587
+ };
3588
+ path?: never;
3589
+ query?: never;
3590
+ url: "/v1/airbnb/listing";
3591
+ };
3592
+ type AirbnbListingErrors = {
3593
+ /**
3594
+ * The request failed. retryable says whether trying again can help.
3595
+ */
3596
+ "4XX": _Error;
3597
+ /**
3598
+ * The request failed. retryable says whether trying again can help.
3599
+ */
3600
+ "5XX": _Error;
3601
+ };
3602
+ type AirbnbListingError = AirbnbListingErrors[keyof AirbnbListingErrors];
3603
+ type AirbnbListingResponses = {
3604
+ /**
3605
+ * The data, and the credits this call used.
3606
+ */
3607
+ 200: {
3608
+ success: true;
3609
+ data: {
3610
+ listingId?: string;
3611
+ listingUrl: string;
3612
+ name?: string;
3613
+ headline?: string;
3614
+ description?: string;
3615
+ propertyType?: string;
3616
+ roomType?: string;
3617
+ guests?: number;
3618
+ bedrooms?: number;
3619
+ beds?: number;
3620
+ bathrooms?: number;
3621
+ isPetFriendly?: boolean;
3622
+ isGuestFavorite: boolean;
3623
+ rating?: number;
3624
+ reviews?: number;
3625
+ ratingCategories: Array<{
3626
+ category?: string;
3627
+ rating: number;
3628
+ }>;
3629
+ ratingDistribution: Array<{
3630
+ stars?: string;
3631
+ percent: number;
3632
+ }>;
3633
+ hostId?: string;
3634
+ hostName?: string;
3635
+ hostIsSuperhost: boolean;
3636
+ hostIsVerified: boolean;
3637
+ hostRating?: number;
3638
+ hostReviews?: number;
3639
+ hostYearsHosting?: number;
3640
+ hostBio?: string;
3641
+ hostResponsePercent?: number;
3642
+ hostResponseTime?: string;
3643
+ hostHighlights: Array<string>;
3644
+ hostAvatarUrl?: string;
3645
+ highlights: Array<{
3646
+ title?: string;
3647
+ description?: string;
3648
+ }>;
3649
+ amenities: Array<{
3650
+ group?: string;
3651
+ name?: string;
3652
+ isAvailable: boolean;
3653
+ }>;
3654
+ houseRules: Array<string>;
3655
+ safety: Array<string>;
3656
+ latitude?: number;
3657
+ longitude?: number;
3658
+ isLocationExact: boolean;
3659
+ area?: string;
3660
+ neighborhood?: string;
3661
+ imageUrls: Array<string>;
3662
+ };
3663
+ creditsUsed: number;
3664
+ requestId: string;
3665
+ };
3666
+ };
3667
+ type AirbnbListingResponse = AirbnbListingResponses[keyof AirbnbListingResponses];
3668
+ type AirbnbCalendarData = {
3669
+ body: {
3670
+ listing: string;
3671
+ month?: string;
3672
+ /**
3673
+ * Return at most this many results (1-100).
3674
+ */
3675
+ limit?: number;
3676
+ };
3677
+ path?: never;
3678
+ query?: never;
3679
+ url: "/v1/airbnb/calendar";
3680
+ };
3681
+ type AirbnbCalendarErrors = {
3682
+ /**
3683
+ * The request failed. retryable says whether trying again can help.
3684
+ */
3685
+ "4XX": _Error;
3686
+ /**
3687
+ * The request failed. retryable says whether trying again can help.
3688
+ */
3689
+ "5XX": _Error;
3690
+ };
3691
+ type AirbnbCalendarError = AirbnbCalendarErrors[keyof AirbnbCalendarErrors];
3692
+ type AirbnbCalendarResponses = {
3693
+ /**
3694
+ * The data, and the credits this call used.
3695
+ */
3696
+ 200: {
3697
+ success: true;
3698
+ data: {
3699
+ results: Array<{
3700
+ date: string;
3701
+ isAvailable: boolean;
3702
+ isBookable: boolean;
3703
+ isCheckInDay: boolean;
3704
+ isCheckOutDay: boolean;
3705
+ minNights?: number;
3706
+ maxNights?: number;
3707
+ }>;
3708
+ };
3709
+ creditsUsed: number;
3710
+ requestId: string;
3711
+ };
3712
+ };
3713
+ type AirbnbCalendarResponse = AirbnbCalendarResponses[keyof AirbnbCalendarResponses];
3714
+ type AirbnbReviewsData = {
3715
+ body: {
3716
+ listing: string;
3717
+ sort?: "relevance" | "newest" | "highest" | "lowest";
3718
+ /**
3719
+ * The cursor from the previous response. Send it as is.
3720
+ */
3721
+ cursor?: string;
3722
+ /**
3723
+ * Return at most this many results (1-100).
3724
+ */
3725
+ limit?: number;
3726
+ };
3727
+ path?: never;
3728
+ query?: never;
3729
+ url: "/v1/airbnb/reviews";
3730
+ };
3731
+ type AirbnbReviewsErrors = {
3732
+ /**
3733
+ * The request failed. retryable says whether trying again can help.
3734
+ */
3735
+ "4XX": _Error;
3736
+ /**
3737
+ * The request failed. retryable says whether trying again can help.
3738
+ */
3739
+ "5XX": _Error;
3740
+ };
3741
+ type AirbnbReviewsError = AirbnbReviewsErrors[keyof AirbnbReviewsErrors];
3742
+ type AirbnbReviewsResponses = {
3743
+ /**
3744
+ * The data, and the credits this call used.
3745
+ */
3746
+ 200: {
3747
+ success: true;
3748
+ data: {
3749
+ results: Array<{
3750
+ reviewId?: string;
3751
+ text?: string;
3752
+ rating?: number;
3753
+ publishedAt?: string;
3754
+ language?: string;
3755
+ stayLength?: string;
3756
+ authorId?: string;
3757
+ authorName?: string;
3758
+ authorAvatarUrl?: string;
3759
+ authorAddress?: string;
3760
+ ownerReplyText?: string;
3761
+ }>;
3762
+ total?: number;
3763
+ cursor?: string;
3764
+ };
3765
+ creditsUsed: number;
3766
+ requestId: string;
3767
+ };
3768
+ };
3769
+ type AirbnbReviewsResponse = AirbnbReviewsResponses[keyof AirbnbReviewsResponses];
3770
+ type RightmoveSearchData = {
3771
+ body: {
3772
+ location: string;
3773
+ status?: "forSale" | "forRent";
3774
+ minPrice?: number;
3775
+ maxPrice?: number;
3776
+ minBedrooms?: number;
3777
+ maxBedrooms?: number;
3778
+ sort?: "newest" | "oldest" | "priceHigh" | "priceLow";
3779
+ /**
3780
+ * The cursor from the previous response. Send it as is.
3781
+ */
3782
+ cursor?: string;
3783
+ /**
3784
+ * Return at most this many results (1-100).
3785
+ */
3786
+ limit?: number;
3787
+ };
3788
+ path?: never;
3789
+ query?: never;
3790
+ url: "/v1/rightmove/search";
3791
+ };
3792
+ type RightmoveSearchErrors = {
3793
+ /**
3794
+ * The request failed. retryable says whether trying again can help.
3795
+ */
3796
+ "4XX": _Error;
3797
+ /**
3798
+ * The request failed. retryable says whether trying again can help.
3799
+ */
3800
+ "5XX": _Error;
3801
+ };
3802
+ type RightmoveSearchError = RightmoveSearchErrors[keyof RightmoveSearchErrors];
3803
+ type RightmoveSearchResponses = {
3804
+ /**
3805
+ * The data, and the credits this call used.
3806
+ */
3807
+ 200: {
3808
+ success: true;
3809
+ data: {
3810
+ results: Array<{
3811
+ propertyId?: string;
3812
+ propertyUrl: string;
3813
+ addressFull?: string;
3814
+ summary?: string;
3815
+ price?: number;
3816
+ /**
3817
+ * True when the agent shows no price (POA); price is then null.
3818
+ */
3819
+ isPriceOnApplication: boolean;
3820
+ priceText?: string;
3821
+ priceQualifier?: string;
3822
+ priceFrequency?: string;
3823
+ /**
3824
+ * ISO 4217 currency code, e.g. USD.
3825
+ */
3826
+ priceCurrency?: string;
3827
+ bedrooms?: number;
3828
+ bathrooms?: number;
3829
+ propertyType?: string;
3830
+ sizeText?: string;
3831
+ tenureType?: string;
3832
+ firstListedAt?: string;
3833
+ updateReason?: string;
3834
+ updatedAt?: string;
3835
+ isFeatured: boolean;
3836
+ isAuction: boolean;
3837
+ latitude?: number;
3838
+ longitude?: number;
3839
+ agentName?: string;
3840
+ agentBranchId?: string;
3841
+ agentPhone?: string;
3842
+ keyFeatures?: Array<string>;
3843
+ imageUrls?: Array<string>;
3844
+ }>;
3845
+ total?: number;
3846
+ cursor?: string;
3847
+ };
3848
+ creditsUsed: number;
3849
+ requestId: string;
3850
+ };
3851
+ };
3852
+ type RightmoveSearchResponse = RightmoveSearchResponses[keyof RightmoveSearchResponses];
3853
+ type RightmovePropertyData = {
3854
+ body: {
3855
+ property: string;
3856
+ };
3857
+ path?: never;
3858
+ query?: never;
3859
+ url: "/v1/rightmove/property";
3860
+ };
3861
+ type RightmovePropertyErrors = {
3862
+ /**
3863
+ * The request failed. retryable says whether trying again can help.
3864
+ */
3865
+ "4XX": _Error;
3866
+ /**
3867
+ * The request failed. retryable says whether trying again can help.
3868
+ */
3869
+ "5XX": _Error;
3870
+ };
3871
+ type RightmovePropertyError = RightmovePropertyErrors[keyof RightmovePropertyErrors];
3872
+ type RightmovePropertyResponses = {
3873
+ /**
3874
+ * The data, and the credits this call used.
3875
+ */
3876
+ 200: {
3877
+ success: true;
3878
+ data: {
3879
+ propertyId?: string;
3880
+ propertyUrl: string;
3881
+ addressFull?: string;
3882
+ addressPostalCode?: string;
3883
+ addressCountry?: string;
3884
+ description?: string;
3885
+ price?: number;
3886
+ /**
3887
+ * True when the agent shows no price (POA); price is then null.
3888
+ */
3889
+ isPriceOnApplication: boolean;
3890
+ /**
3891
+ * ISO 4217 currency code, e.g. USD.
3892
+ */
3893
+ priceCurrency?: string;
3894
+ priceText?: string;
3895
+ priceQualifier?: string;
3896
+ pricePerSqft?: number;
3897
+ channel?: string;
3898
+ bedrooms?: number;
3899
+ bathrooms?: number;
3900
+ propertyType?: string;
3901
+ tenureType?: string;
3902
+ tenureYearsRemaining?: number;
3903
+ sizes: Array<{
3904
+ value: number;
3905
+ unit?: string;
3906
+ }>;
3907
+ councilTaxBand?: string;
3908
+ annualServiceCharge?: number;
3909
+ annualGroundRent?: number;
3910
+ updateReason?: string;
3911
+ tags: Array<string>;
3912
+ keyFeatures: Array<string>;
3913
+ imageUrls: Array<string>;
3914
+ floorplanUrls: Array<string>;
3915
+ latitude?: number;
3916
+ longitude?: number;
3917
+ nearestStations: Array<{
3918
+ name?: string;
3919
+ types?: Array<string>;
3920
+ distanceMiles?: number;
3921
+ }>;
3922
+ agentName?: string;
3923
+ agentBranchId?: string;
3924
+ agentPhone?: string;
3925
+ agentCompany?: string;
3926
+ agentAddress?: string;
3927
+ };
3928
+ creditsUsed: number;
3929
+ requestId: string;
3930
+ };
3931
+ };
3932
+ type RightmovePropertyResponse = RightmovePropertyResponses[keyof RightmovePropertyResponses];
3933
+ type ImmoscoutSearchData = {
3934
+ body: {
3935
+ location: string;
3936
+ type?: "apartmentRent" | "apartmentBuy" | "houseRent" | "houseBuy" | "land" | "flatShare" | "shortTerm";
3937
+ minPrice?: number;
3938
+ maxPrice?: number;
3939
+ minRooms?: number;
3940
+ sort?: "newest" | "priceLow" | "priceHigh" | "largest";
3941
+ /**
3942
+ * The cursor from the previous response. Send it as is.
3943
+ */
3944
+ cursor?: string;
3945
+ /**
3946
+ * Return at most this many results (1-100).
3947
+ */
3948
+ limit?: number;
3949
+ };
3950
+ path?: never;
3951
+ query?: never;
3952
+ url: "/v1/immoscout/search";
3953
+ };
3954
+ type ImmoscoutSearchErrors = {
3955
+ /**
3956
+ * The request failed. retryable says whether trying again can help.
3957
+ */
3958
+ "4XX": _Error;
3959
+ /**
3960
+ * The request failed. retryable says whether trying again can help.
3961
+ */
3962
+ "5XX": _Error;
3963
+ };
3964
+ type ImmoscoutSearchError = ImmoscoutSearchErrors[keyof ImmoscoutSearchErrors];
3965
+ type ImmoscoutSearchResponses = {
3966
+ /**
3967
+ * The data, and the credits this call used.
3968
+ */
3969
+ 200: {
3970
+ success: true;
3971
+ data: {
3972
+ results: Array<{
3973
+ listingId?: string;
3974
+ listingUrl: string;
3975
+ title?: string;
3976
+ type?: string;
3977
+ addressFull?: string;
3978
+ addressPostalCode?: string;
3979
+ addressCountry?: string;
3980
+ price?: number;
3981
+ /**
3982
+ * ISO 4217 currency code, e.g. USD.
3983
+ */
3984
+ priceCurrency?: string;
3985
+ priceText?: string;
3986
+ livingSpace?: number;
3987
+ rooms?: number;
3988
+ energyClass?: string;
3989
+ publishedAt?: string;
3990
+ isPrivate: boolean;
3991
+ isProject: boolean;
3992
+ isNew: boolean;
3993
+ imageUrl?: string;
3994
+ }>;
3995
+ total?: number;
3996
+ cursor?: string;
3997
+ };
3998
+ creditsUsed: number;
3999
+ requestId: string;
4000
+ };
4001
+ };
4002
+ type ImmoscoutSearchResponse = ImmoscoutSearchResponses[keyof ImmoscoutSearchResponses];
4003
+ type ImmoscoutListingData = {
4004
+ body: {
4005
+ listing: string;
4006
+ };
4007
+ path?: never;
4008
+ query?: never;
4009
+ url: "/v1/immoscout/listing";
4010
+ };
4011
+ type ImmoscoutListingErrors = {
4012
+ /**
4013
+ * The request failed. retryable says whether trying again can help.
4014
+ */
4015
+ "4XX": _Error;
4016
+ /**
4017
+ * The request failed. retryable says whether trying again can help.
4018
+ */
4019
+ "5XX": _Error;
4020
+ };
4021
+ type ImmoscoutListingError = ImmoscoutListingErrors[keyof ImmoscoutListingErrors];
4022
+ type ImmoscoutListingResponses = {
4023
+ /**
4024
+ * The data, and the credits this call used.
4025
+ */
4026
+ 200: {
4027
+ success: true;
4028
+ data: {
4029
+ listingId?: string;
4030
+ listingUrl: string;
4031
+ title?: string;
4032
+ type?: string;
4033
+ status?: string;
4034
+ addressFull?: string;
4035
+ addressPostalCode?: string;
4036
+ addressCity?: string;
4037
+ addressDistrict?: string;
4038
+ addressCountry?: string;
4039
+ /**
4040
+ * ISO 4217 currency code, e.g. USD.
4041
+ */
4042
+ priceCurrency?: string;
4043
+ baseRent?: number;
4044
+ totalRent?: number;
4045
+ serviceCharge?: number;
4046
+ price?: number;
4047
+ livingSpace?: number;
4048
+ rooms?: number;
4049
+ yearBuilt?: number;
4050
+ energyClass?: string;
4051
+ attributes: Array<{
4052
+ group?: string;
4053
+ label?: string;
4054
+ value?: string;
4055
+ }>;
4056
+ texts: Array<{
4057
+ title?: string;
4058
+ text?: string;
4059
+ }>;
4060
+ imageUrls: Array<string>;
4061
+ agentName?: string;
4062
+ agentCompany?: string;
4063
+ agentPhone?: string;
4064
+ agentRating?: number;
4065
+ agentUrl?: string;
4066
+ agentAddress?: string;
4067
+ };
4068
+ creditsUsed: number;
4069
+ requestId: string;
4070
+ };
4071
+ };
4072
+ type ImmoscoutListingResponse = ImmoscoutListingResponses[keyof ImmoscoutListingResponses];
4073
+ type PinterestSearchData = {
4074
+ body: {
4075
+ query: string;
4076
+ type?: "pins" | "videos";
4077
+ /**
4078
+ * The cursor from the previous response. Send it as is.
4079
+ */
4080
+ cursor?: string;
4081
+ /**
4082
+ * Return at most this many results (1-100).
4083
+ */
4084
+ limit?: number;
4085
+ };
4086
+ path?: never;
4087
+ query?: never;
4088
+ url: "/v1/pinterest/search";
4089
+ };
4090
+ type PinterestSearchErrors = {
4091
+ /**
4092
+ * The request failed. retryable says whether trying again can help.
4093
+ */
4094
+ "4XX": _Error;
4095
+ /**
4096
+ * The request failed. retryable says whether trying again can help.
4097
+ */
4098
+ "5XX": _Error;
4099
+ };
4100
+ type PinterestSearchError = PinterestSearchErrors[keyof PinterestSearchErrors];
4101
+ type PinterestSearchResponses = {
4102
+ /**
4103
+ * The data, and the credits this call used.
4104
+ */
4105
+ 200: {
4106
+ success: true;
4107
+ data: {
4108
+ results: Array<{
4109
+ pinId?: string;
4110
+ pinUrl: string;
4111
+ title?: string;
4112
+ text?: string;
4113
+ altText?: string;
4114
+ linkUrl?: string;
4115
+ domain?: string;
4116
+ publishedAt?: string;
4117
+ imageUrl?: string;
4118
+ videoUrl?: string;
4119
+ videoDurationSeconds?: number;
4120
+ saves?: number;
4121
+ reposts?: number;
4122
+ comments?: number;
4123
+ reactions?: number;
4124
+ isPromoted: boolean;
4125
+ authorId?: string;
4126
+ authorUsername?: string;
4127
+ authorName?: string;
4128
+ authorUrl?: string;
4129
+ authorAvatarUrl?: string;
4130
+ authorIsVerified?: boolean;
4131
+ boardId?: string;
4132
+ boardName?: string;
4133
+ boardUrl?: string;
4134
+ }>;
4135
+ cursor?: string;
4136
+ };
4137
+ creditsUsed: number;
4138
+ requestId: string;
4139
+ };
4140
+ };
4141
+ type PinterestSearchResponse = PinterestSearchResponses[keyof PinterestSearchResponses];
4142
+ type PinterestPinData = {
4143
+ body: {
4144
+ pin: string;
4145
+ };
4146
+ path?: never;
4147
+ query?: never;
4148
+ url: "/v1/pinterest/pin";
4149
+ };
4150
+ type PinterestPinErrors = {
4151
+ /**
4152
+ * The request failed. retryable says whether trying again can help.
4153
+ */
4154
+ "4XX": _Error;
4155
+ /**
4156
+ * The request failed. retryable says whether trying again can help.
4157
+ */
4158
+ "5XX": _Error;
4159
+ };
4160
+ type PinterestPinError = PinterestPinErrors[keyof PinterestPinErrors];
4161
+ type PinterestPinResponses = {
4162
+ /**
4163
+ * The data, and the credits this call used.
4164
+ */
4165
+ 200: {
4166
+ success: true;
4167
+ data: {
4168
+ pinId?: string;
4169
+ pinUrl: string;
4170
+ title?: string;
4171
+ text?: string;
4172
+ altText?: string;
4173
+ linkUrl?: string;
4174
+ domain?: string;
4175
+ publishedAt?: string;
4176
+ imageUrl?: string;
4177
+ videoUrl?: string;
4178
+ videoDurationSeconds?: number;
4179
+ saves?: number;
4180
+ reposts?: number;
4181
+ comments?: number;
4182
+ reactions?: number;
4183
+ isPromoted: boolean;
4184
+ authorId?: string;
4185
+ authorUsername?: string;
4186
+ authorName?: string;
4187
+ authorUrl?: string;
4188
+ authorAvatarUrl?: string;
4189
+ authorIsVerified?: boolean;
4190
+ boardId?: string;
4191
+ boardName?: string;
4192
+ boardUrl?: string;
4193
+ };
4194
+ creditsUsed: number;
4195
+ requestId: string;
4196
+ };
4197
+ };
4198
+ type PinterestPinResponse = PinterestPinResponses[keyof PinterestPinResponses];
4199
+ type PinterestBoardData = {
4200
+ body: {
4201
+ board: string;
4202
+ /**
4203
+ * The cursor from the previous response. Send it as is.
4204
+ */
4205
+ cursor?: string;
4206
+ /**
4207
+ * Return at most this many results (1-100).
4208
+ */
4209
+ limit?: number;
4210
+ };
4211
+ path?: never;
4212
+ query?: never;
4213
+ url: "/v1/pinterest/board";
4214
+ };
4215
+ type PinterestBoardErrors = {
4216
+ /**
4217
+ * The request failed. retryable says whether trying again can help.
4218
+ */
4219
+ "4XX": _Error;
4220
+ /**
4221
+ * The request failed. retryable says whether trying again can help.
4222
+ */
4223
+ "5XX": _Error;
4224
+ };
4225
+ type PinterestBoardError = PinterestBoardErrors[keyof PinterestBoardErrors];
4226
+ type PinterestBoardResponses = {
4227
+ /**
4228
+ * The data, and the credits this call used.
4229
+ */
4230
+ 200: {
4231
+ success: true;
4232
+ data: {
4233
+ boardId?: string;
4234
+ boardUrl: string;
4235
+ name?: string;
4236
+ description?: string;
4237
+ category?: string;
4238
+ pins?: number;
4239
+ followers?: number;
4240
+ sections?: number;
4241
+ thumbnailUrl?: string;
4242
+ authorId?: string;
4243
+ authorUsername?: string;
4244
+ authorName?: string;
4245
+ authorUrl?: string;
4246
+ authorAvatarUrl?: string;
4247
+ authorIsVerified?: boolean;
4248
+ results: Array<{
4249
+ pinId?: string;
4250
+ pinUrl: string;
4251
+ title?: string;
4252
+ text?: string;
4253
+ altText?: string;
4254
+ linkUrl?: string;
4255
+ domain?: string;
4256
+ publishedAt?: string;
4257
+ imageUrl?: string;
4258
+ videoUrl?: string;
4259
+ videoDurationSeconds?: number;
4260
+ saves?: number;
4261
+ reposts?: number;
4262
+ comments?: number;
4263
+ reactions?: number;
4264
+ isPromoted: boolean;
4265
+ authorId?: string;
4266
+ authorUsername?: string;
4267
+ authorName?: string;
4268
+ authorUrl?: string;
4269
+ authorAvatarUrl?: string;
4270
+ authorIsVerified?: boolean;
4271
+ boardId?: string;
4272
+ boardName?: string;
4273
+ boardUrl?: string;
4274
+ }>;
4275
+ cursor?: string;
4276
+ };
4277
+ creditsUsed: number;
4278
+ requestId: string;
4279
+ };
4280
+ };
4281
+ type PinterestBoardResponse = PinterestBoardResponses[keyof PinterestBoardResponses];
4282
+ type PinterestUserData = {
4283
+ body: {
4284
+ profile: string;
4285
+ /**
4286
+ * The cursor from the previous response. Send it as is.
4287
+ */
4288
+ cursor?: string;
4289
+ /**
4290
+ * Return at most this many results (1-100).
4291
+ */
4292
+ limit?: number;
4293
+ };
4294
+ path?: never;
4295
+ query?: never;
4296
+ url: "/v1/pinterest/user";
4297
+ };
4298
+ type PinterestUserErrors = {
4299
+ /**
4300
+ * The request failed. retryable says whether trying again can help.
4301
+ */
4302
+ "4XX": _Error;
4303
+ /**
4304
+ * The request failed. retryable says whether trying again can help.
4305
+ */
4306
+ "5XX": _Error;
4307
+ };
4308
+ type PinterestUserError = PinterestUserErrors[keyof PinterestUserErrors];
4309
+ type PinterestUserResponses = {
4310
+ /**
4311
+ * The data, and the credits this call used.
4312
+ */
4313
+ 200: {
4314
+ success: true;
4315
+ data: {
4316
+ userId?: string;
4317
+ username?: string;
4318
+ userUrl: string;
4319
+ name?: string;
4320
+ avatarUrl?: string;
4321
+ followers?: number;
4322
+ bio?: string;
4323
+ website?: string;
4324
+ following?: number;
4325
+ pins?: number;
4326
+ boards?: number;
4327
+ isVerified: boolean;
4328
+ isPrivate: boolean;
4329
+ createdAt?: string;
4330
+ results: Array<{
4331
+ pinId?: string;
4332
+ pinUrl: string;
4333
+ title?: string;
4334
+ text?: string;
4335
+ altText?: string;
4336
+ linkUrl?: string;
4337
+ domain?: string;
4338
+ publishedAt?: string;
4339
+ imageUrl?: string;
4340
+ videoUrl?: string;
4341
+ videoDurationSeconds?: number;
4342
+ saves?: number;
4343
+ reposts?: number;
4344
+ comments?: number;
4345
+ reactions?: number;
4346
+ isPromoted: boolean;
4347
+ authorId?: string;
4348
+ authorUsername?: string;
4349
+ authorName?: string;
4350
+ authorUrl?: string;
4351
+ authorAvatarUrl?: string;
4352
+ authorIsVerified?: boolean;
4353
+ boardId?: string;
4354
+ boardName?: string;
4355
+ boardUrl?: string;
4356
+ }>;
4357
+ cursor?: string;
4358
+ };
4359
+ creditsUsed: number;
4360
+ requestId: string;
4361
+ };
4362
+ };
4363
+ type PinterestUserResponse = PinterestUserResponses[keyof PinterestUserResponses];
4364
+ type AdsSearchData = {
4365
+ body: {
4366
+ query: string;
4367
+ /**
4368
+ * ISO 3166-1 alpha-2 country code, or all. Any case is accepted.
4369
+ */
4370
+ country?: string;
4371
+ status?: "active" | "inactive" | "all";
4372
+ /**
4373
+ * Only ads with this creative: image, video, or text (no image or video).
4374
+ */
4375
+ mediaType?: "image" | "video" | "text";
4376
+ /**
4377
+ * The cursor from the previous response. Send it as is.
4378
+ */
4379
+ cursor?: string;
4380
+ network: "meta";
4381
+ /**
4382
+ * Return at most this many results (1-100).
4383
+ */
4384
+ limit?: number;
4385
+ } | {
4386
+ /**
4387
+ * A domain like nike.com. Google's library finds ads by domain or advertiser, not by keyword.
4388
+ */
4389
+ query?: string;
4390
+ advertiser?: string;
4391
+ domain?: string;
4392
+ /**
4393
+ * Country code like de. Only ads shown in this country are returned. Any case is accepted.
4394
+ */
4395
+ country?: string;
4396
+ mediaType?: "text" | "image" | "video";
4397
+ /**
4398
+ * The cursor from the previous response. Send it as is.
4399
+ */
4400
+ cursor?: string;
4401
+ network: "google";
4402
+ /**
4403
+ * Return at most this many results (1-100).
4404
+ */
4405
+ limit?: number;
4406
+ } | {
4407
+ query?: string;
4408
+ advertiser?: string;
4409
+ /**
4410
+ * European country code like de. TikTok publishes ads for these countries only. Any case is accepted.
4411
+ */
4412
+ country?: string;
4413
+ /**
4414
+ * The cursor from the previous response. Send it as is.
4415
+ */
4416
+ cursor?: string;
4417
+ network: "tiktok";
4418
+ /**
4419
+ * Return at most this many results (1-100).
4420
+ */
4421
+ limit?: number;
4422
+ } | {
4423
+ query?: string;
4424
+ advertiser?: string;
4425
+ /**
4426
+ * ISO 3166-1 alpha-2 country code, e.g. us. Any case is accepted.
4427
+ */
4428
+ country?: string;
4429
+ within?: "month" | "year" | "all";
4430
+ /**
4431
+ * The cursor from the previous response. Send it as is.
4432
+ */
4433
+ cursor?: string;
4434
+ network: "linkedin";
4435
+ /**
4436
+ * Return at most this many results (1-100).
4437
+ */
4438
+ limit?: number;
4439
+ } | {
4440
+ query?: string;
4441
+ advertiser?: string;
4442
+ /**
4443
+ * EU/EEA country code like de. Microsoft publishes ads for these countries only. Any case is accepted.
4444
+ */
4445
+ country?: string;
4446
+ /**
4447
+ * The cursor from the previous response. Send it as is.
4448
+ */
4449
+ cursor?: string;
4450
+ network: "microsoft";
4451
+ /**
4452
+ * Return at most this many results (1-100).
4453
+ */
4454
+ limit?: number;
4455
+ } | {
4456
+ /**
4457
+ * Not supported. Pinterest's ads library has no keyword search. Use advertiser to filter by advertiser name.
4458
+ */
4459
+ query?: string;
4460
+ /**
4461
+ * EU country code like fr, or br or tr. Pinterest publishes ads for these countries only. Any case is accepted.
4462
+ */
4463
+ country: string;
4464
+ /**
4465
+ * Advertiser name to filter by. Pinterest does not publish advertiser names on the ads themselves, so results carry no advertiser.
4466
+ */
4467
+ advertiser?: string;
4468
+ /**
4469
+ * The cursor from the previous response. Send it as is.
4470
+ */
4471
+ cursor?: string;
4472
+ network: "pinterest";
4473
+ /**
4474
+ * Return at most this many results (1-100).
4475
+ */
4476
+ limit?: number;
4477
+ };
4478
+ path?: never;
4479
+ query?: never;
4480
+ url: "/v1/ads/search";
4481
+ };
4482
+ type AdsSearchErrors = {
4483
+ /**
4484
+ * The request failed. retryable says whether trying again can help.
4485
+ */
4486
+ "4XX": _Error;
4487
+ /**
4488
+ * The request failed. retryable says whether trying again can help.
4489
+ */
4490
+ "5XX": _Error;
4491
+ };
4492
+ type AdsSearchError = AdsSearchErrors[keyof AdsSearchErrors];
4493
+ type AdsSearchResponses = {
4494
+ /**
4495
+ * The data, and the credits this call used.
4496
+ */
4497
+ 200: {
4498
+ success: true;
4499
+ data: {
4500
+ results?: Array<{
4501
+ adId?: string;
4502
+ adUrl: string;
4503
+ /**
4504
+ * Same as pageId. Present so this ad has the same keys as other ad networks.
4505
+ */
4506
+ advertiserId?: string;
4507
+ /**
4508
+ * Same as pageName. Present so this ad has the same keys as other ad networks.
4509
+ */
4510
+ advertiserName?: string;
4511
+ /**
4512
+ * Same as pageUrl. Present so this ad has the same keys as other ad networks.
4513
+ */
4514
+ advertiserUrl?: string;
4515
+ /**
4516
+ * Same as pageAvatarUrl. Present so this ad has the same keys as other ad networks.
4517
+ */
4518
+ advertiserAvatarUrl?: string;
4519
+ pageId?: string;
4520
+ pageName?: string;
4521
+ pageUrl?: string;
4522
+ pageAvatarUrl?: string;
4523
+ pageCategories?: Array<string>;
4524
+ pageLikes?: number;
4525
+ isActive: boolean;
4526
+ firstShownAt?: string;
4527
+ lastShownAt?: string;
4528
+ platforms?: Array<string>;
4529
+ format?: string;
4530
+ text?: string;
3577
4531
  linkUrl?: string;
3578
4532
  linkTitle?: string;
3579
4533
  linkDescription?: string;
@@ -4304,6 +5258,7 @@ declare function bindSurface(call: Caller): {
4304
5258
  language?: string;
4305
5259
  isAutoGenerated: boolean;
4306
5260
  durationSeconds?: number;
5261
+ transcribedSeconds?: number;
4307
5262
  text?: string;
4308
5263
  segments?: Array<{
4309
5264
  startSeconds: number;
@@ -5413,50 +6368,266 @@ declare function bindSurface(call: Caller): {
5413
6368
  creditsUsed: number;
5414
6369
  requestId: string;
5415
6370
  }>;
5416
- job: (body: {
5417
- job: string;
6371
+ job: (body: {
6372
+ job: string;
6373
+ }, options?: RequestOptions) => Promise<{
6374
+ success: true;
6375
+ data: {
6376
+ jobId?: string;
6377
+ jobUrl: string;
6378
+ title?: string;
6379
+ description?: string;
6380
+ skills: Array<string>;
6381
+ type?: "hourly" | "fixed";
6382
+ experience?: "entry" | "intermediate" | "expert";
6383
+ hourlyRateMin?: number;
6384
+ hourlyRateMax?: number;
6385
+ fixedBudget?: number;
6386
+ budgetCurrency?: string;
6387
+ durationWeeks?: number;
6388
+ publishedAt?: string;
6389
+ createdAt?: string;
6390
+ status?: string;
6391
+ category?: string;
6392
+ categoryGroup?: string;
6393
+ durationText?: string;
6394
+ applicants?: number;
6395
+ hired?: number;
6396
+ interviewing?: number;
6397
+ invitesSent?: number;
6398
+ unansweredInvites?: number;
6399
+ positions?: number;
6400
+ lastClientActivityAt?: string;
6401
+ clientCity?: string;
6402
+ clientCountry?: string;
6403
+ clientTimezone?: string;
6404
+ clientTotalSpent?: number;
6405
+ clientHires?: number;
6406
+ clientJobsWithHires?: number;
6407
+ clientActiveContracts?: number;
6408
+ clientReviews?: number;
6409
+ clientRating?: number;
6410
+ clientOpenJobs?: number;
6411
+ clientPostedJobs?: number;
6412
+ clientJoinedAt?: string;
6413
+ clientIndustry?: string;
6414
+ clientCompanySize?: string;
6415
+ };
6416
+ creditsUsed: number;
6417
+ requestId: string;
6418
+ }>;
6419
+ };
6420
+ indeed: {
6421
+ search: (body?: {
6422
+ query?: string;
6423
+ location?: string;
6424
+ country?: "us" | "gb" | "ca" | "au" | "nz" | "ie" | "in" | "sg" | "my" | "ph" | "za" | "ng" | "ae" | "sa" | "qa" | "kw" | "bh" | "om" | "pk" | "hk" | "jp" | "kr" | "tw" | "cn" | "id" | "th" | "vn" | "de" | "at" | "ch" | "fr" | "be" | "nl" | "lu" | "es" | "pt" | "it" | "gr" | "mt" | "cy" | "pl" | "cz" | "sk" | "hu" | "ro" | "bg" | "hr" | "si" | "ee" | "lv" | "lt" | "fi" | "se" | "no" | "dk" | "ua" | "tr" | "il" | "eg" | "ma" | "mx" | "br" | "ar" | "cl" | "co" | "pe" | "ec" | "uy" | "ve" | "cr" | "pa";
6425
+ remote?: boolean;
6426
+ within?: "day" | "week" | "month";
6427
+ cursor?: string;
6428
+ limit?: number;
6429
+ } | undefined, options?: RequestOptions) => Promise<{
6430
+ success: true;
6431
+ data: {
6432
+ results: Array<{
6433
+ jobId?: string;
6434
+ jobUrl: string;
6435
+ title?: string;
6436
+ companyName?: string;
6437
+ companyUrl?: string;
6438
+ companyAvatarUrl?: string;
6439
+ companyWebsite?: string;
6440
+ companyIndustry?: string;
6441
+ companyEmployeesText?: string;
6442
+ companyRevenueText?: string;
6443
+ companyDescription?: string;
6444
+ addressFull?: string;
6445
+ addressCity?: string;
6446
+ addressRegion?: string;
6447
+ addressPostalCode?: string;
6448
+ addressCountry?: string;
6449
+ latitude?: number;
6450
+ longitude?: number;
6451
+ salaryMin?: number;
6452
+ salaryMax?: number;
6453
+ salaryPeriod?: "hour" | "day" | "week" | "month" | "year";
6454
+ salaryCurrency?: string;
6455
+ salaryIsEstimate: boolean;
6456
+ jobTypes?: Array<"fullTime" | "partTime" | "contract" | "internship">;
6457
+ isRemote: boolean;
6458
+ attributes?: Array<string>;
6459
+ publishedAt?: string;
6460
+ indexedAt?: string;
6461
+ applyUrl?: string;
6462
+ isEasyApply: boolean;
6463
+ isUrgent: boolean;
6464
+ source?: string;
6465
+ description?: string;
6466
+ }>;
6467
+ cursor?: string;
6468
+ };
6469
+ creditsUsed: number;
6470
+ requestId: string;
6471
+ }>;
6472
+ job: (body: {
6473
+ job: string;
6474
+ country?: "us" | "gb" | "ca" | "au" | "nz" | "ie" | "in" | "sg" | "my" | "ph" | "za" | "ng" | "ae" | "sa" | "qa" | "kw" | "bh" | "om" | "pk" | "hk" | "jp" | "kr" | "tw" | "cn" | "id" | "th" | "vn" | "de" | "at" | "ch" | "fr" | "be" | "nl" | "lu" | "es" | "pt" | "it" | "gr" | "mt" | "cy" | "pl" | "cz" | "sk" | "hu" | "ro" | "bg" | "hr" | "si" | "ee" | "lv" | "lt" | "fi" | "se" | "no" | "dk" | "ua" | "tr" | "il" | "eg" | "ma" | "mx" | "br" | "ar" | "cl" | "co" | "pe" | "ec" | "uy" | "ve" | "cr" | "pa";
6475
+ }, options?: RequestOptions) => Promise<{
6476
+ success: true;
6477
+ data: {
6478
+ jobId?: string;
6479
+ jobUrl: string;
6480
+ title?: string;
6481
+ companyName?: string;
6482
+ companyUrl?: string;
6483
+ companyAvatarUrl?: string;
6484
+ companyWebsite?: string;
6485
+ companyIndustry?: string;
6486
+ companyEmployeesText?: string;
6487
+ companyRevenueText?: string;
6488
+ companyDescription?: string;
6489
+ addressFull?: string;
6490
+ addressCity?: string;
6491
+ addressRegion?: string;
6492
+ addressPostalCode?: string;
6493
+ addressCountry?: string;
6494
+ latitude?: number;
6495
+ longitude?: number;
6496
+ salaryMin?: number;
6497
+ salaryMax?: number;
6498
+ salaryPeriod?: "hour" | "day" | "week" | "month" | "year";
6499
+ salaryCurrency?: string;
6500
+ salaryIsEstimate: boolean;
6501
+ jobTypes: Array<"fullTime" | "partTime" | "contract" | "internship">;
6502
+ isRemote: boolean;
6503
+ attributes: Array<string>;
6504
+ publishedAt?: string;
6505
+ indexedAt?: string;
6506
+ applyUrl?: string;
6507
+ isEasyApply: boolean;
6508
+ isUrgent: boolean;
6509
+ source?: string;
6510
+ description?: string;
6511
+ descriptionHtml?: string;
6512
+ isExpired: boolean;
6513
+ language?: string;
6514
+ };
6515
+ creditsUsed: number;
6516
+ requestId: string;
6517
+ }>;
6518
+ };
6519
+ tripadvisor: {
6520
+ search: (body: {
6521
+ query: string;
6522
+ type?: "all" | "hotels" | "restaurants" | "attractions" | "geos";
6523
+ limit?: number;
6524
+ }, options?: RequestOptions) => Promise<{
6525
+ success: true;
6526
+ data: {
6527
+ results: Array<{
6528
+ placeId?: string;
6529
+ placeUrl?: string;
6530
+ name?: string;
6531
+ type?: string;
6532
+ address?: string;
6533
+ parent?: string;
6534
+ latitude?: number;
6535
+ longitude?: number;
6536
+ imageUrl?: string;
6537
+ }>;
6538
+ };
6539
+ creditsUsed: number;
6540
+ requestId: string;
6541
+ }>;
6542
+ place: (body: {
6543
+ place: string;
6544
+ }, options?: RequestOptions) => Promise<{
6545
+ success: true;
6546
+ data: {
6547
+ placeId?: string;
6548
+ placeUrl?: string;
6549
+ name?: string;
6550
+ type?: string;
6551
+ subtypes: Array<string>;
6552
+ rating?: number;
6553
+ reviews?: number;
6554
+ rankingText?: string;
6555
+ rankingPosition?: number;
6556
+ rankingOf?: number;
6557
+ rankingGeo?: string;
6558
+ priceLevel?: string;
6559
+ priceRangeText?: string;
6560
+ hotelClass?: number;
6561
+ description?: string;
6562
+ addressFull?: string;
6563
+ addressStreet?: string;
6564
+ addressCity?: string;
6565
+ addressRegion?: string;
6566
+ addressCountry?: string;
6567
+ addressPostalCode?: string;
6568
+ latitude?: number;
6569
+ longitude?: number;
6570
+ phone?: string;
6571
+ website?: string;
6572
+ email?: string;
6573
+ neighborhoods: Array<string>;
6574
+ parents: Array<{
6575
+ placeId?: string;
6576
+ name?: string;
6577
+ }>;
6578
+ cuisines: Array<string>;
6579
+ hours: Array<{
6580
+ days?: string;
6581
+ times?: Array<string>;
6582
+ }>;
6583
+ tags: Array<string>;
6584
+ imageUrl?: string;
6585
+ timezone?: string;
6586
+ isClosed: boolean;
6587
+ };
6588
+ creditsUsed: number;
6589
+ requestId: string;
6590
+ }>;
6591
+ reviews: (body: {
6592
+ place: string;
6593
+ language?: string;
6594
+ ratings?: Array<number>;
6595
+ cursor?: string;
6596
+ limit?: number;
5418
6597
  }, options?: RequestOptions) => Promise<{
5419
6598
  success: true;
5420
6599
  data: {
5421
- jobId?: string;
5422
- jobUrl: string;
5423
- title?: string;
5424
- description?: string;
5425
- skills: Array<string>;
5426
- type?: "hourly" | "fixed";
5427
- experience?: "entry" | "intermediate" | "expert";
5428
- hourlyRateMin?: number;
5429
- hourlyRateMax?: number;
5430
- fixedBudget?: number;
5431
- budgetCurrency?: string;
5432
- durationWeeks?: number;
5433
- publishedAt?: string;
5434
- createdAt?: string;
5435
- status?: string;
5436
- category?: string;
5437
- categoryGroup?: string;
5438
- durationText?: string;
5439
- applicants?: number;
5440
- hired?: number;
5441
- interviewing?: number;
5442
- invitesSent?: number;
5443
- unansweredInvites?: number;
5444
- positions?: number;
5445
- lastClientActivityAt?: string;
5446
- clientCity?: string;
5447
- clientCountry?: string;
5448
- clientTimezone?: string;
5449
- clientTotalSpent?: number;
5450
- clientHires?: number;
5451
- clientJobsWithHires?: number;
5452
- clientActiveContracts?: number;
5453
- clientReviews?: number;
5454
- clientRating?: number;
5455
- clientOpenJobs?: number;
5456
- clientPostedJobs?: number;
5457
- clientJoinedAt?: string;
5458
- clientIndustry?: string;
5459
- clientCompanySize?: string;
6600
+ placeId?: string;
6601
+ placeName?: string;
6602
+ placeType?: string;
6603
+ placeUrl?: string;
6604
+ total?: number;
6605
+ results: Array<{
6606
+ reviewId?: string;
6607
+ reviewUrl?: string;
6608
+ rating?: number;
6609
+ title?: string;
6610
+ text?: string;
6611
+ language?: string;
6612
+ createdDate?: string;
6613
+ publishedDate?: string;
6614
+ stayDate?: string;
6615
+ tripType?: string;
6616
+ helpful: number;
6617
+ subRatings?: Array<{
6618
+ name?: string;
6619
+ rating: number;
6620
+ }>;
6621
+ authorName?: string;
6622
+ authorUsername?: string;
6623
+ authorUrl?: string;
6624
+ authorAddress?: string;
6625
+ authorContributions?: number;
6626
+ ownerReplyText?: string;
6627
+ ownerReplyDate?: string;
6628
+ ownerReplyAuthor?: string;
6629
+ }>;
6630
+ cursor?: string;
5460
6631
  };
5461
6632
  creditsUsed: number;
5462
6633
  requestId: string;
@@ -5513,6 +6684,334 @@ declare function bindSurface(call: Caller): {
5513
6684
  requestId: string;
5514
6685
  }>;
5515
6686
  };
6687
+ walmart: {
6688
+ search: (body: {
6689
+ query: string;
6690
+ sort?: "relevance" | "priceLow" | "priceHigh" | "bestSelling" | "highest" | "newest";
6691
+ minPrice?: number;
6692
+ maxPrice?: number;
6693
+ cursor?: string;
6694
+ limit?: number;
6695
+ }, options?: RequestOptions) => Promise<{
6696
+ success: true;
6697
+ data: {
6698
+ results: Array<{
6699
+ productId?: string;
6700
+ productUrl: string;
6701
+ title?: string;
6702
+ imageUrl?: string;
6703
+ price?: number;
6704
+ originalPrice?: number;
6705
+ priceCurrency?: string;
6706
+ rating?: number;
6707
+ reviews?: number;
6708
+ sellerName?: string;
6709
+ availability?: string;
6710
+ isSponsored: boolean;
6711
+ }>;
6712
+ total?: number;
6713
+ cursor?: string;
6714
+ };
6715
+ creditsUsed: number;
6716
+ requestId: string;
6717
+ }>;
6718
+ product: (body: {
6719
+ product: string;
6720
+ }, options?: RequestOptions) => Promise<{
6721
+ success: true;
6722
+ data: {
6723
+ productId?: string;
6724
+ productUrl: string;
6725
+ title?: string;
6726
+ brand?: string;
6727
+ price?: number;
6728
+ originalPrice?: number;
6729
+ priceCurrency?: string;
6730
+ availability?: string;
6731
+ rating?: number;
6732
+ reviews?: number;
6733
+ sellerName?: string;
6734
+ sellerId?: string;
6735
+ categories: Array<string>;
6736
+ imageUrls: Array<string>;
6737
+ description?: string;
6738
+ highlights?: string;
6739
+ specs: Array<{
6740
+ name?: string;
6741
+ value?: string;
6742
+ }>;
6743
+ variants: Array<{
6744
+ name?: string;
6745
+ values?: Array<string>;
6746
+ }>;
6747
+ upc?: string;
6748
+ model?: string;
6749
+ topReviews: Array<{
6750
+ reviewId?: string;
6751
+ authorName?: string;
6752
+ rating?: number;
6753
+ title?: string;
6754
+ text?: string;
6755
+ publishedAt?: string;
6756
+ helpful?: number;
6757
+ }>;
6758
+ };
6759
+ creditsUsed: number;
6760
+ requestId: string;
6761
+ }>;
6762
+ };
6763
+ appstore: {
6764
+ app: (body: {
6765
+ app: string;
6766
+ country?: string;
6767
+ }, options?: RequestOptions) => Promise<{
6768
+ success: true;
6769
+ data: {
6770
+ appId?: string;
6771
+ appUrl: string;
6772
+ bundleId?: string;
6773
+ name?: string;
6774
+ subtitle?: string;
6775
+ developerId?: string;
6776
+ developerName?: string;
6777
+ developerUrl?: string;
6778
+ seller?: string;
6779
+ website?: string;
6780
+ price?: number;
6781
+ priceCurrency?: string;
6782
+ priceText?: string;
6783
+ hasInAppPurchases?: boolean;
6784
+ genres: Array<string>;
6785
+ primaryGenreId?: string;
6786
+ primaryGenre?: string;
6787
+ contentRating?: string;
6788
+ description?: string;
6789
+ releaseNotes?: string;
6790
+ version?: string;
6791
+ releasedAt?: string;
6792
+ updatedAt?: string;
6793
+ minimumOsVersion?: string;
6794
+ sizeBytes?: number;
6795
+ languages: Array<string>;
6796
+ rating?: number;
6797
+ ratings?: number;
6798
+ ratingsOne?: number;
6799
+ ratingsTwo?: number;
6800
+ ratingsThree?: number;
6801
+ ratingsFour?: number;
6802
+ ratingsFive?: number;
6803
+ chartName?: string;
6804
+ chartGenre?: string;
6805
+ chartPosition?: number;
6806
+ iconUrl?: string;
6807
+ screenshotUrls: Array<string>;
6808
+ ipadScreenshotUrls: Array<string>;
6809
+ };
6810
+ creditsUsed: number;
6811
+ requestId: string;
6812
+ }>;
6813
+ search: (body: {
6814
+ query: string;
6815
+ country?: string;
6816
+ device?: "iphone" | "ipad" | "mac";
6817
+ limit?: number;
6818
+ }, options?: RequestOptions) => Promise<{
6819
+ success: true;
6820
+ data: {
6821
+ results: Array<{
6822
+ appId?: string;
6823
+ appUrl: string;
6824
+ bundleId?: string;
6825
+ name?: string;
6826
+ developerId?: string;
6827
+ developerName?: string;
6828
+ developerUrl?: string;
6829
+ seller?: string;
6830
+ website?: string;
6831
+ price?: number;
6832
+ priceCurrency?: string;
6833
+ priceText?: string;
6834
+ genres?: Array<string>;
6835
+ primaryGenreId?: string;
6836
+ primaryGenre?: string;
6837
+ contentRating?: string;
6838
+ description?: string;
6839
+ releaseNotes?: string;
6840
+ version?: string;
6841
+ releasedAt?: string;
6842
+ updatedAt?: string;
6843
+ minimumOsVersion?: string;
6844
+ sizeBytes?: number;
6845
+ languages?: Array<string>;
6846
+ rating?: number;
6847
+ ratings?: number;
6848
+ iconUrl?: string;
6849
+ screenshotUrls?: Array<string>;
6850
+ ipadScreenshotUrls?: Array<string>;
6851
+ }>;
6852
+ };
6853
+ creditsUsed: number;
6854
+ requestId: string;
6855
+ }>;
6856
+ reviews: (body: {
6857
+ app: string;
6858
+ country?: string;
6859
+ sort?: "newest" | "helpful" | "highest" | "lowest";
6860
+ cursor?: string;
6861
+ limit?: number;
6862
+ }, options?: RequestOptions) => Promise<{
6863
+ success: true;
6864
+ data: {
6865
+ results: Array<{
6866
+ reviewId?: string;
6867
+ rating: number;
6868
+ title?: string;
6869
+ text?: string;
6870
+ authorName?: string;
6871
+ publishedAt?: string;
6872
+ isEdited: boolean;
6873
+ }>;
6874
+ cursor?: string;
6875
+ };
6876
+ creditsUsed: number;
6877
+ requestId: string;
6878
+ }>;
6879
+ top: (body?: {
6880
+ chart?: "free" | "paid" | "grossing";
6881
+ device?: "iphone" | "ipad" | "mac";
6882
+ genre?: "business" | "weather" | "utilities" | "travel" | "sports" | "socialNetworking" | "reference" | "productivity" | "photoVideo" | "news" | "navigation" | "music" | "lifestyle" | "healthFitness" | "games" | "finance" | "entertainment" | "education" | "books" | "medical" | "foodDrink" | "shopping" | "developerTools" | "graphicsDesign";
6883
+ country?: string;
6884
+ limit?: number;
6885
+ } | undefined, options?: RequestOptions) => Promise<{
6886
+ success: true;
6887
+ data: {
6888
+ results: Array<{
6889
+ rank: number;
6890
+ appId?: string;
6891
+ appUrl: string;
6892
+ bundleId?: string;
6893
+ name?: string;
6894
+ developerId?: string;
6895
+ developerName?: string;
6896
+ developerUrl?: string;
6897
+ price?: number;
6898
+ priceCurrency?: string;
6899
+ genreId?: string;
6900
+ genre?: string;
6901
+ releasedAt?: string;
6902
+ summary?: string;
6903
+ iconUrl?: string;
6904
+ }>;
6905
+ };
6906
+ creditsUsed: number;
6907
+ requestId: string;
6908
+ }>;
6909
+ };
6910
+ googleplay: {
6911
+ app: (body: {
6912
+ app: string;
6913
+ country?: string;
6914
+ language?: string;
6915
+ }, options?: RequestOptions) => Promise<{
6916
+ success: true;
6917
+ data: {
6918
+ appId?: string;
6919
+ appUrl: string;
6920
+ name?: string;
6921
+ summary?: string;
6922
+ description?: string;
6923
+ developerId?: string;
6924
+ developerName?: string;
6925
+ developerEmail?: string;
6926
+ developerWebsite?: string;
6927
+ developerAddress?: string;
6928
+ privacyPolicyUrl?: string;
6929
+ genreId?: string;
6930
+ genre?: string;
6931
+ contentRating?: string;
6932
+ installsText?: string;
6933
+ installsMin?: number;
6934
+ installsExact?: number;
6935
+ rating?: number;
6936
+ ratings?: number;
6937
+ reviews?: number;
6938
+ ratingsOne?: number;
6939
+ ratingsTwo?: number;
6940
+ ratingsThree?: number;
6941
+ ratingsFour?: number;
6942
+ ratingsFive?: number;
6943
+ price?: number;
6944
+ priceCurrency?: string;
6945
+ hasInAppPurchases: boolean;
6946
+ inAppPriceText?: string;
6947
+ hasAds: boolean;
6948
+ version?: string;
6949
+ recentChanges?: string;
6950
+ releasedAt?: string;
6951
+ updatedAt?: string;
6952
+ iconUrl?: string;
6953
+ bannerUrl?: string;
6954
+ screenshotUrls: Array<string>;
6955
+ };
6956
+ creditsUsed: number;
6957
+ requestId: string;
6958
+ }>;
6959
+ search: (body: {
6960
+ query: string;
6961
+ country?: string;
6962
+ language?: string;
6963
+ limit?: number;
6964
+ }, options?: RequestOptions) => Promise<{
6965
+ success: true;
6966
+ data: {
6967
+ results: Array<{
6968
+ appId?: string;
6969
+ appUrl: string;
6970
+ name?: string;
6971
+ developerName?: string;
6972
+ summary?: string;
6973
+ genre?: string;
6974
+ installsText?: string;
6975
+ installsMin?: number;
6976
+ rating?: number;
6977
+ price?: number;
6978
+ priceCurrency?: string;
6979
+ iconUrl?: string;
6980
+ }>;
6981
+ };
6982
+ creditsUsed: number;
6983
+ requestId: string;
6984
+ }>;
6985
+ reviews: (body: {
6986
+ app: string;
6987
+ country?: string;
6988
+ language?: string;
6989
+ sort?: "newest" | "relevance" | "highest";
6990
+ rating?: number;
6991
+ cursor?: string;
6992
+ limit?: number;
6993
+ }, options?: RequestOptions) => Promise<{
6994
+ success: true;
6995
+ data: {
6996
+ results: Array<{
6997
+ reviewId?: string;
6998
+ reviewUrl: string;
6999
+ rating: number;
7000
+ text?: string;
7001
+ authorName?: string;
7002
+ authorAvatarUrl?: string;
7003
+ publishedAt?: string;
7004
+ likes: number;
7005
+ appVersion?: string;
7006
+ ownerReplyText?: string;
7007
+ ownerReplyAt?: string;
7008
+ }>;
7009
+ cursor?: string;
7010
+ };
7011
+ creditsUsed: number;
7012
+ requestId: string;
7013
+ }>;
7014
+ };
5516
7015
  airbnb: {
5517
7016
  search: (body: {
5518
7017
  location: string;
@@ -6542,4 +8041,4 @@ declare class StophyError extends Error {
6542
8041
  });
6543
8042
  }
6544
8043
 
6545
- export { type AdsAdData, type AdsAdError, type AdsAdErrors, type AdsAdResponse, type AdsAdResponses, type AdsAdvertisersData, type AdsAdvertisersError, type AdsAdvertisersErrors, type AdsAdvertisersResponse, type AdsAdvertisersResponses, type AdsSearchData, type AdsSearchError, type AdsSearchErrors, type AdsSearchResponse, type AdsSearchResponses, type AirbnbCalendarData, type AirbnbCalendarError, type AirbnbCalendarErrors, type AirbnbCalendarResponse, type AirbnbCalendarResponses, type AirbnbListingData, type AirbnbListingError, type AirbnbListingErrors, type AirbnbListingResponse, type AirbnbListingResponses, type AirbnbReviewsData, type AirbnbReviewsError, type AirbnbReviewsErrors, type AirbnbReviewsResponse, type AirbnbReviewsResponses, type AirbnbSearchData, type AirbnbSearchError, type AirbnbSearchErrors, type AirbnbSearchResponse, type AirbnbSearchResponses, type CallOptions, type ClientOptions, type EndpointCatalog, type FetchLike, type GoogletravelFlightsData, type GoogletravelFlightsError, type GoogletravelFlightsErrors, type GoogletravelFlightsResponse, type GoogletravelFlightsResponses, type ImmoscoutListingData, type ImmoscoutListingError, type ImmoscoutListingErrors, type ImmoscoutListingResponse, type ImmoscoutListingResponses, type ImmoscoutSearchData, type ImmoscoutSearchError, type ImmoscoutSearchErrors, type ImmoscoutSearchResponse, type ImmoscoutSearchResponses, type InstagramCommentsData, type InstagramCommentsError, type InstagramCommentsErrors, type InstagramCommentsResponse, type InstagramCommentsResponses, type InstagramPostData, type InstagramPostError, type InstagramPostErrors, type InstagramPostResponse, type InstagramPostResponses, type InstagramProfileData, type InstagramProfileError, type InstagramProfileErrors, type InstagramProfileResponse, type InstagramProfileResponses, type LinkedinCompanyData, type LinkedinCompanyError, type LinkedinCompanyErrors, type LinkedinCompanyResponse, type LinkedinCompanyResponses, type LinkedinJobsJobData, type LinkedinJobsJobError, type LinkedinJobsJobErrors, type LinkedinJobsJobResponse, type LinkedinJobsJobResponses, type LinkedinJobsSearchData, type LinkedinJobsSearchError, type LinkedinJobsSearchErrors, type LinkedinJobsSearchResponse, type LinkedinJobsSearchResponses, type LinkedinPostsData, type LinkedinPostsError, type LinkedinPostsErrors, type LinkedinPostsResponse, type LinkedinPostsResponses, type LinkedinProfileData, type LinkedinProfileError, type LinkedinProfileErrors, type LinkedinProfileResponse, type LinkedinProfileResponses, type ListEndpointsData, type ListEndpointsResponse, type ListEndpointsResponses, type LogEntry, type Logs, type LogsQuery, type MapsPlaceData, type MapsPlaceError, type MapsPlaceErrors, type MapsPlaceResponse, type MapsPlaceResponses, type MapsReviewsData, type MapsReviewsError, type MapsReviewsErrors, type MapsReviewsResponse, type MapsReviewsResponses, type MapsSearchData, type MapsSearchError, type MapsSearchErrors, type MapsSearchResponse, type MapsSearchResponses, type MetaAdsPageData, type MetaAdsPageError, type MetaAdsPageErrors, type MetaAdsPageResponse, type MetaAdsPageResponses, type PinterestBoardData, type PinterestBoardError, type PinterestBoardErrors, type PinterestBoardResponse, type PinterestBoardResponses, type PinterestPinData, type PinterestPinError, type PinterestPinErrors, type PinterestPinResponse, type PinterestPinResponses, type PinterestSearchData, type PinterestSearchError, type PinterestSearchErrors, type PinterestSearchResponse, type PinterestSearchResponses, type PinterestUserData, type PinterestUserError, type PinterestUserErrors, type PinterestUserResponse, type PinterestUserResponses, type RedditDomainData, type RedditDomainError, type RedditDomainErrors, type RedditDomainResponse, type RedditDomainResponses, type RedditPostData, type RedditPostError, type RedditPostErrors, type RedditPostResponse, type RedditPostResponses, type RedditSearchData, type RedditSearchError, type RedditSearchErrors, type RedditSearchResponse, type RedditSearchResponses, type RedditSubredditData, type RedditSubredditError, type RedditSubredditErrors, type RedditSubredditResponse, type RedditSubredditResponses, type RedditUserData, type RedditUserError, type RedditUserErrors, type RedditUserResponse, type RedditUserResponses, type RightmovePropertyData, type RightmovePropertyError, type RightmovePropertyErrors, type RightmovePropertyResponse, type RightmovePropertyResponses, type RightmoveSearchData, type RightmoveSearchError, type RightmoveSearchErrors, type RightmoveSearchResponse, type RightmoveSearchResponses, Stophy, type StophyClientInput, StophyError, type StophyErrorCode, type StophyOptions, type Surface, type TiktokCommentsData, type TiktokCommentsError, type TiktokCommentsErrors, type TiktokCommentsResponse, type TiktokCommentsResponses, type TiktokHashtagData, type TiktokHashtagError, type TiktokHashtagErrors, type TiktokHashtagResponse, type TiktokHashtagResponses, type TiktokProfileData, type TiktokProfileError, type TiktokProfileErrors, type TiktokProfileResponse, type TiktokProfileResponses, type TiktokSearchData, type TiktokSearchError, type TiktokSearchErrors, type TiktokSearchResponse, type TiktokSearchResponses, type TiktokVideoData, type TiktokVideoError, type TiktokVideoErrors, type TiktokVideoResponse, type TiktokVideoResponses, type TranscriptData, type TranscriptError, type TranscriptErrors, type TranscriptResponse, type TranscriptResponses, type UpworkJobData, type UpworkJobError, type UpworkJobErrors, type UpworkJobResponse, type UpworkJobResponses, type UpworkSearchData, type UpworkSearchError, type UpworkSearchErrors, type UpworkSearchResponse, type UpworkSearchResponses, type Usage, type WebSearchData, type WebSearchError, type WebSearchErrors, type WebSearchResponse, type WebSearchResponses, type YoutubeChannelData, type YoutubeChannelError, type YoutubeChannelErrors, type YoutubeChannelResponse, type YoutubeChannelResponses, type YoutubeCommentsData, type YoutubeCommentsError, type YoutubeCommentsErrors, type YoutubeCommentsResponse, type YoutubeCommentsResponses, type YoutubePlaylistData, type YoutubePlaylistError, type YoutubePlaylistErrors, type YoutubePlaylistResponse, type YoutubePlaylistResponses, type YoutubeSearchData, type YoutubeSearchError, type YoutubeSearchErrors, type YoutubeSearchResponse, type YoutubeSearchResponses, type YoutubeVideoData, type YoutubeVideoError, type YoutubeVideoErrors, type YoutubeVideoResponse, type YoutubeVideoResponses, type ZillowPropertyData, type ZillowPropertyError, type ZillowPropertyErrors, type ZillowPropertyResponse, type ZillowPropertyResponses, type ZillowSearchData, type ZillowSearchError, type ZillowSearchErrors, type ZillowSearchResponse, type ZillowSearchResponses, type _Error, Stophy as default };
8044
+ export { type AdsAdData, type AdsAdError, type AdsAdErrors, type AdsAdResponse, type AdsAdResponses, type AdsAdvertisersData, type AdsAdvertisersError, type AdsAdvertisersErrors, type AdsAdvertisersResponse, type AdsAdvertisersResponses, type AdsSearchData, type AdsSearchError, type AdsSearchErrors, type AdsSearchResponse, type AdsSearchResponses, type AirbnbCalendarData, type AirbnbCalendarError, type AirbnbCalendarErrors, type AirbnbCalendarResponse, type AirbnbCalendarResponses, type AirbnbListingData, type AirbnbListingError, type AirbnbListingErrors, type AirbnbListingResponse, type AirbnbListingResponses, type AirbnbReviewsData, type AirbnbReviewsError, type AirbnbReviewsErrors, type AirbnbReviewsResponse, type AirbnbReviewsResponses, type AirbnbSearchData, type AirbnbSearchError, type AirbnbSearchErrors, type AirbnbSearchResponse, type AirbnbSearchResponses, type AppstoreAppData, type AppstoreAppError, type AppstoreAppErrors, type AppstoreAppResponse, type AppstoreAppResponses, type AppstoreReviewsData, type AppstoreReviewsError, type AppstoreReviewsErrors, type AppstoreReviewsResponse, type AppstoreReviewsResponses, type AppstoreSearchData, type AppstoreSearchError, type AppstoreSearchErrors, type AppstoreSearchResponse, type AppstoreSearchResponses, type AppstoreTopData, type AppstoreTopError, type AppstoreTopErrors, type AppstoreTopResponse, type AppstoreTopResponses, type CallOptions, type ClientOptions, type EndpointCatalog, type FetchLike, type GoogleplayAppData, type GoogleplayAppError, type GoogleplayAppErrors, type GoogleplayAppResponse, type GoogleplayAppResponses, type GoogleplayReviewsData, type GoogleplayReviewsError, type GoogleplayReviewsErrors, type GoogleplayReviewsResponse, type GoogleplayReviewsResponses, type GoogleplaySearchData, type GoogleplaySearchError, type GoogleplaySearchErrors, type GoogleplaySearchResponse, type GoogleplaySearchResponses, type GoogletravelFlightsData, type GoogletravelFlightsError, type GoogletravelFlightsErrors, type GoogletravelFlightsResponse, type GoogletravelFlightsResponses, type ImmoscoutListingData, type ImmoscoutListingError, type ImmoscoutListingErrors, type ImmoscoutListingResponse, type ImmoscoutListingResponses, type ImmoscoutSearchData, type ImmoscoutSearchError, type ImmoscoutSearchErrors, type ImmoscoutSearchResponse, type ImmoscoutSearchResponses, type IndeedJobData, type IndeedJobError, type IndeedJobErrors, type IndeedJobResponse, type IndeedJobResponses, type IndeedSearchData, type IndeedSearchError, type IndeedSearchErrors, type IndeedSearchResponse, type IndeedSearchResponses, type InstagramCommentsData, type InstagramCommentsError, type InstagramCommentsErrors, type InstagramCommentsResponse, type InstagramCommentsResponses, type InstagramPostData, type InstagramPostError, type InstagramPostErrors, type InstagramPostResponse, type InstagramPostResponses, type InstagramProfileData, type InstagramProfileError, type InstagramProfileErrors, type InstagramProfileResponse, type InstagramProfileResponses, type LinkedinCompanyData, type LinkedinCompanyError, type LinkedinCompanyErrors, type LinkedinCompanyResponse, type LinkedinCompanyResponses, type LinkedinJobsJobData, type LinkedinJobsJobError, type LinkedinJobsJobErrors, type LinkedinJobsJobResponse, type LinkedinJobsJobResponses, type LinkedinJobsSearchData, type LinkedinJobsSearchError, type LinkedinJobsSearchErrors, type LinkedinJobsSearchResponse, type LinkedinJobsSearchResponses, type LinkedinPostsData, type LinkedinPostsError, type LinkedinPostsErrors, type LinkedinPostsResponse, type LinkedinPostsResponses, type LinkedinProfileData, type LinkedinProfileError, type LinkedinProfileErrors, type LinkedinProfileResponse, type LinkedinProfileResponses, type ListEndpointsData, type ListEndpointsResponse, type ListEndpointsResponses, type LogEntry, type Logs, type LogsQuery, type MapsPlaceData, type MapsPlaceError, type MapsPlaceErrors, type MapsPlaceResponse, type MapsPlaceResponses, type MapsReviewsData, type MapsReviewsError, type MapsReviewsErrors, type MapsReviewsResponse, type MapsReviewsResponses, type MapsSearchData, type MapsSearchError, type MapsSearchErrors, type MapsSearchResponse, type MapsSearchResponses, type MetaAdsPageData, type MetaAdsPageError, type MetaAdsPageErrors, type MetaAdsPageResponse, type MetaAdsPageResponses, type PinterestBoardData, type PinterestBoardError, type PinterestBoardErrors, type PinterestBoardResponse, type PinterestBoardResponses, type PinterestPinData, type PinterestPinError, type PinterestPinErrors, type PinterestPinResponse, type PinterestPinResponses, type PinterestSearchData, type PinterestSearchError, type PinterestSearchErrors, type PinterestSearchResponse, type PinterestSearchResponses, type PinterestUserData, type PinterestUserError, type PinterestUserErrors, type PinterestUserResponse, type PinterestUserResponses, type RedditDomainData, type RedditDomainError, type RedditDomainErrors, type RedditDomainResponse, type RedditDomainResponses, type RedditPostData, type RedditPostError, type RedditPostErrors, type RedditPostResponse, type RedditPostResponses, type RedditSearchData, type RedditSearchError, type RedditSearchErrors, type RedditSearchResponse, type RedditSearchResponses, type RedditSubredditData, type RedditSubredditError, type RedditSubredditErrors, type RedditSubredditResponse, type RedditSubredditResponses, type RedditUserData, type RedditUserError, type RedditUserErrors, type RedditUserResponse, type RedditUserResponses, type RightmovePropertyData, type RightmovePropertyError, type RightmovePropertyErrors, type RightmovePropertyResponse, type RightmovePropertyResponses, type RightmoveSearchData, type RightmoveSearchError, type RightmoveSearchErrors, type RightmoveSearchResponse, type RightmoveSearchResponses, Stophy, type StophyClientInput, StophyError, type StophyErrorCode, type StophyOptions, type Surface, type TiktokCommentsData, type TiktokCommentsError, type TiktokCommentsErrors, type TiktokCommentsResponse, type TiktokCommentsResponses, type TiktokHashtagData, type TiktokHashtagError, type TiktokHashtagErrors, type TiktokHashtagResponse, type TiktokHashtagResponses, type TiktokProfileData, type TiktokProfileError, type TiktokProfileErrors, type TiktokProfileResponse, type TiktokProfileResponses, type TiktokSearchData, type TiktokSearchError, type TiktokSearchErrors, type TiktokSearchResponse, type TiktokSearchResponses, type TiktokVideoData, type TiktokVideoError, type TiktokVideoErrors, type TiktokVideoResponse, type TiktokVideoResponses, type TranscriptData, type TranscriptError, type TranscriptErrors, type TranscriptResponse, type TranscriptResponses, type TripadvisorPlaceData, type TripadvisorPlaceError, type TripadvisorPlaceErrors, type TripadvisorPlaceResponse, type TripadvisorPlaceResponses, type TripadvisorReviewsData, type TripadvisorReviewsError, type TripadvisorReviewsErrors, type TripadvisorReviewsResponse, type TripadvisorReviewsResponses, type TripadvisorSearchData, type TripadvisorSearchError, type TripadvisorSearchErrors, type TripadvisorSearchResponse, type TripadvisorSearchResponses, type UpworkJobData, type UpworkJobError, type UpworkJobErrors, type UpworkJobResponse, type UpworkJobResponses, type UpworkSearchData, type UpworkSearchError, type UpworkSearchErrors, type UpworkSearchResponse, type UpworkSearchResponses, type Usage, type WalmartProductData, type WalmartProductError, type WalmartProductErrors, type WalmartProductResponse, type WalmartProductResponses, type WalmartSearchData, type WalmartSearchError, type WalmartSearchErrors, type WalmartSearchResponse, type WalmartSearchResponses, type WebSearchData, type WebSearchError, type WebSearchErrors, type WebSearchResponse, type WebSearchResponses, type YoutubeChannelData, type YoutubeChannelError, type YoutubeChannelErrors, type YoutubeChannelResponse, type YoutubeChannelResponses, type YoutubeCommentsData, type YoutubeCommentsError, type YoutubeCommentsErrors, type YoutubeCommentsResponse, type YoutubeCommentsResponses, type YoutubePlaylistData, type YoutubePlaylistError, type YoutubePlaylistErrors, type YoutubePlaylistResponse, type YoutubePlaylistResponses, type YoutubeSearchData, type YoutubeSearchError, type YoutubeSearchErrors, type YoutubeSearchResponse, type YoutubeSearchResponses, type YoutubeVideoData, type YoutubeVideoError, type YoutubeVideoErrors, type YoutubeVideoResponse, type YoutubeVideoResponses, type ZillowPropertyData, type ZillowPropertyError, type ZillowPropertyErrors, type ZillowPropertyResponse, type ZillowPropertyResponses, type ZillowSearchData, type ZillowSearchError, type ZillowSearchErrors, type ZillowSearchResponse, type ZillowSearchResponses, type _Error, Stophy as default };