@crawlora-org/sdk 1.42.0-sdk.2 → 1.43.0-sdk.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crawlora-org/sdk",
3
- "version": "1.42.0-sdk.2",
3
+ "version": "1.43.0-sdk.1",
4
4
  "description": "JavaScript and TypeScript SDK for the public Crawlora API.",
5
5
  "keywords": [
6
6
  "crawlora",
package/src/client.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { operations, groups } from "./operations.js";
2
2
 
3
3
  const DEFAULT_BASE_URL = "https://api.crawlora.net/api/v1";
4
- export const VERSION = "1.42.0-sdk.2";
4
+ export const VERSION = "1.43.0-sdk.1";
5
5
  const DEFAULT_USER_AGENT = `crawlora-js-sdk/${VERSION}`;
6
6
 
7
7
  export class CrawloraError extends Error {
package/src/operations.js CHANGED
@@ -83664,6 +83664,37 @@ export const operations = {
83664
83664
  "ApiKeyAuth"
83665
83665
  ]
83666
83666
  },
83667
+ "rottentomatoes-browse-filters": {
83668
+ "bodyParam": null,
83669
+ "bodyRequired": false,
83670
+ "consumes": [
83671
+ "application/json"
83672
+ ],
83673
+ "formParams": [],
83674
+ "id": "rottentomatoes-browse-filters",
83675
+ "method": "GET",
83676
+ "path": "/rottentomatoes/browse/filters",
83677
+ "pathParams": [],
83678
+ "produces": [
83679
+ "application/json"
83680
+ ],
83681
+ "queryParams": [
83682
+ {
83683
+ "enum": [
83684
+ "movies_in_theaters",
83685
+ "movies_at_home",
83686
+ "movies_coming_soon",
83687
+ "tv_series_browse"
83688
+ ],
83689
+ "in": "query",
83690
+ "name": "list",
83691
+ "type": "string"
83692
+ }
83693
+ ],
83694
+ "security": [
83695
+ "ApiKeyAuth"
83696
+ ]
83697
+ },
83667
83698
  "rottentomatoes-browse-movies": {
83668
83699
  "bodyParam": null,
83669
83700
  "bodyRequired": false,
@@ -83693,12 +83724,121 @@ export const operations = {
83693
83724
  "enum": [
83694
83725
  "popular",
83695
83726
  "newest",
83696
- "top_box_office"
83727
+ "top_box_office",
83728
+ "a_z",
83729
+ "critic_highest",
83730
+ "critic_lowest",
83731
+ "audience_highest",
83732
+ "audience_lowest"
83697
83733
  ],
83698
83734
  "in": "query",
83699
83735
  "name": "sort",
83700
83736
  "type": "string"
83701
83737
  },
83738
+ {
83739
+ "enum": [
83740
+ "action",
83741
+ "adventure",
83742
+ "animation",
83743
+ "anime",
83744
+ "biography",
83745
+ "comedy",
83746
+ "crime",
83747
+ "documentary",
83748
+ "drama",
83749
+ "entertainment",
83750
+ "faith_and_spirituality",
83751
+ "fantasy",
83752
+ "game_show",
83753
+ "lgbtq",
83754
+ "health_and_wellness",
83755
+ "history",
83756
+ "holiday",
83757
+ "horror",
83758
+ "house_and_garden",
83759
+ "kids_and_family",
83760
+ "music",
83761
+ "musical",
83762
+ "mystery_and_thriller",
83763
+ "nature",
83764
+ "news",
83765
+ "reality",
83766
+ "romance",
83767
+ "sci_fi",
83768
+ "short",
83769
+ "soap",
83770
+ "special_interest",
83771
+ "sports",
83772
+ "stand_up",
83773
+ "talk_show",
83774
+ "travel",
83775
+ "variety",
83776
+ "war",
83777
+ "western"
83778
+ ],
83779
+ "in": "query",
83780
+ "name": "genres",
83781
+ "type": "string"
83782
+ },
83783
+ {
83784
+ "enum": [
83785
+ "g",
83786
+ "pg",
83787
+ "pg_13",
83788
+ "r",
83789
+ "nc_17",
83790
+ "nr",
83791
+ "ur"
83792
+ ],
83793
+ "in": "query",
83794
+ "name": "ratings",
83795
+ "type": "string"
83796
+ },
83797
+ {
83798
+ "enum": [
83799
+ "verified_hot",
83800
+ "upright",
83801
+ "spilled"
83802
+ ],
83803
+ "in": "query",
83804
+ "name": "audience",
83805
+ "type": "string"
83806
+ },
83807
+ {
83808
+ "enum": [
83809
+ "certified_fresh",
83810
+ "fresh",
83811
+ "rotten"
83812
+ ],
83813
+ "in": "query",
83814
+ "name": "critics",
83815
+ "type": "string"
83816
+ },
83817
+ {
83818
+ "enum": [
83819
+ "theaters",
83820
+ "fandango",
83821
+ "apple-tv-plus",
83822
+ "netflix",
83823
+ "prime-video",
83824
+ "disney-plus",
83825
+ "max",
83826
+ "peacock",
83827
+ "hulu",
83828
+ "paramount-plus",
83829
+ "amc-plus",
83830
+ "acorn-tv",
83831
+ "apple-tv"
83832
+ ],
83833
+ "in": "query",
83834
+ "name": "affiliates",
83835
+ "type": "string"
83836
+ },
83837
+ {
83838
+ "in": "query",
83839
+ "name": "after",
83840
+ "type": "string"
83841
+ },
83702
83842
  {
83703
83843
  "in": "query",
83704
83844
  "name": "limit",
@@ -83735,12 +83875,234 @@ export const operations = {
83735
83875
  {
83736
83876
  "enum": [
83737
83877
  "popular",
83738
- "newest"
83878
+ "newest",
83879
+ "a_z",
83880
+ "critic_highest",
83881
+ "critic_lowest",
83882
+ "audience_highest",
83883
+ "audience_lowest"
83739
83884
  ],
83740
83885
  "in": "query",
83741
83886
  "name": "sort",
83742
83887
  "type": "string"
83743
83888
  },
83889
+ {
83890
+ "enum": [
83891
+ "action",
83892
+ "adventure",
83893
+ "animation",
83894
+ "anime",
83895
+ "biography",
83896
+ "comedy",
83897
+ "crime",
83898
+ "documentary",
83899
+ "drama",
83900
+ "entertainment",
83901
+ "faith_and_spirituality",
83902
+ "fantasy",
83903
+ "game_show",
83904
+ "lgbtq",
83905
+ "health_and_wellness",
83906
+ "history",
83907
+ "holiday",
83908
+ "horror",
83909
+ "house_and_garden",
83910
+ "kids_and_family",
83911
+ "music",
83912
+ "musical",
83913
+ "mystery_and_thriller",
83914
+ "nature",
83915
+ "news",
83916
+ "reality",
83917
+ "romance",
83918
+ "sci_fi",
83919
+ "short",
83920
+ "soap",
83921
+ "special_interest",
83922
+ "sports",
83923
+ "stand_up",
83924
+ "talk_show",
83925
+ "travel",
83926
+ "variety",
83927
+ "war",
83928
+ "western"
83929
+ ],
83930
+ "in": "query",
83931
+ "name": "genres",
83932
+ "type": "string"
83933
+ },
83934
+ {
83935
+ "enum": [
83936
+ "tvy",
83937
+ "tvy7",
83938
+ "tvg",
83939
+ "tvpg",
83940
+ "tv14",
83941
+ "tvma"
83942
+ ],
83943
+ "in": "query",
83944
+ "name": "ratings",
83945
+ "type": "string"
83946
+ },
83947
+ {
83948
+ "enum": [
83949
+ "upright",
83950
+ "spilled"
83951
+ ],
83952
+ "in": "query",
83953
+ "name": "audience",
83954
+ "type": "string"
83955
+ },
83956
+ {
83957
+ "enum": [
83958
+ "fresh",
83959
+ "rotten"
83960
+ ],
83961
+ "in": "query",
83962
+ "name": "critics",
83963
+ "type": "string"
83964
+ },
83965
+ {
83966
+ "enum": [
83967
+ "theaters",
83968
+ "fandango",
83969
+ "apple-tv-plus",
83970
+ "netflix",
83971
+ "prime-video",
83972
+ "disney-plus",
83973
+ "max",
83974
+ "peacock",
83975
+ "hulu",
83976
+ "paramount-plus",
83977
+ "amc-plus",
83978
+ "acorn-tv",
83979
+ "apple-tv"
83980
+ ],
83981
+ "in": "query",
83982
+ "name": "affiliates",
83983
+ "type": "string"
83984
+ },
83985
+ {
83986
+ "in": "query",
83987
+ "name": "after",
83988
+ "type": "string"
83989
+ },
83990
+ {
83991
+ "in": "query",
83992
+ "name": "limit",
83993
+ "type": "integer"
83994
+ }
83995
+ ],
83996
+ "security": [
83997
+ "ApiKeyAuth"
83998
+ ]
83999
+ },
84000
+ "rottentomatoes-critics-authors": {
84001
+ "bodyParam": null,
84002
+ "bodyRequired": false,
84003
+ "consumes": [
84004
+ "application/json"
84005
+ ],
84006
+ "formParams": [],
84007
+ "id": "rottentomatoes-critics-authors",
84008
+ "method": "GET",
84009
+ "path": "/rottentomatoes/critics/authors",
84010
+ "pathParams": [],
84011
+ "produces": [
84012
+ "application/json"
84013
+ ],
84014
+ "queryParams": [
84015
+ {
84016
+ "enum": [
84017
+ "#",
84018
+ "a",
84019
+ "b",
84020
+ "c",
84021
+ "d",
84022
+ "e",
84023
+ "f",
84024
+ "g",
84025
+ "h",
84026
+ "i",
84027
+ "j",
84028
+ "k",
84029
+ "l",
84030
+ "m",
84031
+ "n",
84032
+ "o",
84033
+ "p",
84034
+ "q",
84035
+ "r",
84036
+ "s",
84037
+ "t",
84038
+ "u",
84039
+ "v",
84040
+ "w",
84041
+ "x",
84042
+ "y",
84043
+ "z"
84044
+ ],
84045
+ "in": "query",
84046
+ "name": "letter",
84047
+ "type": "string"
84048
+ },
84049
+ {
84050
+ "in": "query",
84051
+ "name": "search",
84052
+ "type": "string"
84053
+ },
84054
+ {
84055
+ "in": "query",
84056
+ "name": "inactive",
84057
+ "type": "boolean"
84058
+ },
84059
+ {
84060
+ "in": "query",
84061
+ "name": "after",
84062
+ "type": "string"
84063
+ },
84064
+ {
84065
+ "in": "query",
84066
+ "name": "before",
84067
+ "type": "string"
84068
+ },
84069
+ {
84070
+ "in": "query",
84071
+ "name": "limit",
84072
+ "type": "integer"
84073
+ }
84074
+ ],
84075
+ "security": [
84076
+ "ApiKeyAuth"
84077
+ ]
84078
+ },
84079
+ "rottentomatoes-editorial-search": {
84080
+ "bodyParam": null,
84081
+ "bodyRequired": false,
84082
+ "consumes": [
84083
+ "application/json"
84084
+ ],
84085
+ "formParams": [],
84086
+ "id": "rottentomatoes-editorial-search",
84087
+ "method": "GET",
84088
+ "paginatable": true,
84089
+ "path": "/rottentomatoes/editorial/search",
84090
+ "pathParams": [],
84091
+ "produces": [
84092
+ "application/json"
84093
+ ],
84094
+ "queryParams": [
84095
+ {
84096
+ "in": "query",
84097
+ "name": "query",
84098
+ "required": true,
84099
+ "type": "string"
84100
+ },
84101
+ {
84102
+ "in": "query",
84103
+ "name": "page",
84104
+ "type": "integer"
84105
+ },
83744
84106
  {
83745
84107
  "in": "query",
83746
84108
  "name": "limit",
@@ -83983,6 +84345,62 @@ export const operations = {
83983
84345
  "ApiKeyAuth"
83984
84346
  ]
83985
84347
  },
84348
+ "rottentomatoes-sitemap-urls": {
84349
+ "bodyParam": null,
84350
+ "bodyRequired": false,
84351
+ "consumes": [
84352
+ "application/json"
84353
+ ],
84354
+ "formParams": [],
84355
+ "id": "rottentomatoes-sitemap-urls",
84356
+ "method": "GET",
84357
+ "paginatable": true,
84358
+ "path": "/rottentomatoes/sitemap/urls",
84359
+ "pathParams": [],
84360
+ "produces": [
84361
+ "application/json"
84362
+ ],
84363
+ "queryParams": [
84364
+ {
84365
+ "in": "query",
84366
+ "name": "name",
84367
+ "required": true,
84368
+ "type": "string"
84369
+ },
84370
+ {
84371
+ "in": "query",
84372
+ "name": "offset",
84373
+ "type": "integer"
84374
+ },
84375
+ {
84376
+ "in": "query",
84377
+ "name": "limit",
84378
+ "type": "integer"
84379
+ }
84380
+ ],
84381
+ "security": [
84382
+ "ApiKeyAuth"
84383
+ ]
84384
+ },
84385
+ "rottentomatoes-sitemaps": {
84386
+ "bodyParam": null,
84387
+ "bodyRequired": false,
84388
+ "consumes": [
84389
+ "application/json"
84390
+ ],
84391
+ "formParams": [],
84392
+ "id": "rottentomatoes-sitemaps",
84393
+ "method": "GET",
84394
+ "path": "/rottentomatoes/sitemaps",
84395
+ "pathParams": [],
84396
+ "produces": [
84397
+ "application/json"
84398
+ ],
84399
+ "queryParams": [],
84400
+ "security": [
84401
+ "ApiKeyAuth"
84402
+ ]
84403
+ },
83986
84404
  "rover-sitter-profile": {
83987
84405
  "bodyParam": null,
83988
84406
  "bodyRequired": false,
@@ -116871,15 +117289,20 @@ export const groups = {
116871
117289
  "rothysStore": "rothys-store"
116872
117290
  },
116873
117291
  "rottenTomatoes": {
117292
+ "rottentomatoesBrowseFilters": "rottentomatoes-browse-filters",
116874
117293
  "rottentomatoesBrowseMovies": "rottentomatoes-browse-movies",
116875
117294
  "rottentomatoesBrowseTv": "rottentomatoes-browse-tv",
117295
+ "rottentomatoesCriticsAuthors": "rottentomatoes-critics-authors",
117296
+ "rottentomatoesEditorialSearch": "rottentomatoes-editorial-search",
116876
117297
  "rottentomatoesEpisode": "rottentomatoes-episode",
116877
117298
  "rottentomatoesMovie": "rottentomatoes-movie",
116878
117299
  "rottentomatoesMovieReviews": "rottentomatoes-movie-reviews",
116879
117300
  "rottentomatoesPerson": "rottentomatoes-person",
116880
117301
  "rottentomatoesSearch": "rottentomatoes-search",
116881
117302
  "rottentomatoesSeason": "rottentomatoes-season",
116882
- "rottentomatoesSeries": "rottentomatoes-series"
117303
+ "rottentomatoesSeries": "rottentomatoes-series",
117304
+ "rottentomatoesSitemapUrls": "rottentomatoes-sitemap-urls",
117305
+ "rottentomatoesSitemaps": "rottentomatoes-sitemaps"
116883
117306
  },
116884
117307
  "rover": {
116885
117308
  "sitterProfile": "rover-sitter-profile",
@@ -118082,7 +118505,7 @@ export const groups = {
118082
118505
  }
118083
118506
  };
118084
118507
 
118085
- export const operationCount = 3160;
118508
+ export const operationCount = 3165;
118086
118509
 
118087
118510
  // PascalCase aliases for every operation id, for discoverable, typo-safe
118088
118511
  // dynamic calls: client.request(OperationIds.BingSearch, { q: "coffee" }).
@@ -120313,8 +120736,11 @@ export const OperationIds = Object.freeze({
120313
120736
  "RothySRothysSitemapUrls": "rothys-sitemap-urls",
120314
120737
  "RothySRothysSitemaps": "rothys-sitemaps",
120315
120738
  "RothySRothysStore": "rothys-store",
120739
+ "RottenTomatoesRottentomatoesBrowseFilters": "rottentomatoes-browse-filters",
120316
120740
  "RottenTomatoesRottentomatoesBrowseMovies": "rottentomatoes-browse-movies",
120317
120741
  "RottenTomatoesRottentomatoesBrowseTv": "rottentomatoes-browse-tv",
120742
+ "RottenTomatoesRottentomatoesCriticsAuthors": "rottentomatoes-critics-authors",
120743
+ "RottenTomatoesRottentomatoesEditorialSearch": "rottentomatoes-editorial-search",
120318
120744
  "RottenTomatoesRottentomatoesEpisode": "rottentomatoes-episode",
120319
120745
  "RottenTomatoesRottentomatoesMovie": "rottentomatoes-movie",
120320
120746
  "RottenTomatoesRottentomatoesMovieReviews": "rottentomatoes-movie-reviews",
@@ -120322,6 +120748,8 @@ export const OperationIds = Object.freeze({
120322
120748
  "RottenTomatoesRottentomatoesSearch": "rottentomatoes-search",
120323
120749
  "RottenTomatoesRottentomatoesSeason": "rottentomatoes-season",
120324
120750
  "RottenTomatoesRottentomatoesSeries": "rottentomatoes-series",
120751
+ "RottenTomatoesRottentomatoesSitemapUrls": "rottentomatoes-sitemap-urls",
120752
+ "RottenTomatoesRottentomatoesSitemaps": "rottentomatoes-sitemaps",
120325
120753
  "RoverSitterProfile": "rover-sitter-profile",
120326
120754
  "RoverSitterSearch": "rover-sitter-search",
120327
120755
  "RoverTrainerProfile": "rover-trainer-profile",