@roxyapi/sdk 1.2.22 → 1.2.24

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.
@@ -27210,7 +27210,7 @@ export type GetLocationCountriesData = {
27210
27210
  path?: never;
27211
27211
  query?: {
27212
27212
  /**
27213
- * Maximum items to return per page. Range: 1-50, default 50.
27213
+ * Maximum items to return per page. Range: 1-250, default 50.
27214
27214
  */
27215
27215
  limit?: number;
27216
27216
  /**
@@ -27324,7 +27324,7 @@ export type GetLocationCountriesErrors = {
27324
27324
  export type GetLocationCountriesError = GetLocationCountriesErrors[keyof GetLocationCountriesErrors];
27325
27325
  export type GetLocationCountriesResponses = {
27326
27326
  /**
27327
- * Alphabetically sorted list of all 227 countries with ISO codes and city counts
27327
+ * Alphabetically sorted list of all countries with ISO codes and city counts
27328
27328
  */
27329
27329
  200: {
27330
27330
  /**
@@ -27373,7 +27373,7 @@ export type GetLocationCountriesByIso2Data = {
27373
27373
  };
27374
27374
  query?: {
27375
27375
  /**
27376
- * Maximum items to return per page. Range: 1-200, default 50.
27376
+ * Maximum items to return per page. Range: 1-100, default 20.
27377
27377
  */
27378
27378
  limit?: number;
27379
27379
  /**
@@ -27675,4 +27675,137 @@ export type GetUsageResponses = {
27675
27675
  };
27676
27676
  };
27677
27677
  export type GetUsageResponse = GetUsageResponses[keyof GetUsageResponses];
27678
+ export type GetLanguagesData = {
27679
+ body?: never;
27680
+ path?: never;
27681
+ query?: never;
27682
+ url: '/languages';
27683
+ };
27684
+ export type GetLanguagesErrors = {
27685
+ /**
27686
+ * Validation error. `issues[]` lists every failed field.
27687
+ */
27688
+ 400: {
27689
+ /**
27690
+ * First issue summary.
27691
+ */
27692
+ error: string;
27693
+ code: 'validation_error';
27694
+ /**
27695
+ * Every validation failure. Use this to rebuild a valid request.
27696
+ */
27697
+ issues: Array<{
27698
+ /**
27699
+ * Dot-separated field path, or "(root)" for top-level.
27700
+ */
27701
+ path: string;
27702
+ message: string;
27703
+ /**
27704
+ * Zod issue code (invalid_type, too_small, too_big, invalid_string, ...).
27705
+ */
27706
+ code?: string;
27707
+ /**
27708
+ * Expected type for invalid_type.
27709
+ */
27710
+ expected?: string;
27711
+ /**
27712
+ * Minimum bound for too_small issues.
27713
+ */
27714
+ minimum?: number | string;
27715
+ /**
27716
+ * Maximum bound for too_big issues.
27717
+ */
27718
+ maximum?: number | string;
27719
+ inclusive?: boolean;
27720
+ /**
27721
+ * Format name for string issues (regex, email, url, uuid).
27722
+ */
27723
+ format?: string;
27724
+ /**
27725
+ * Regex pattern when format is regex.
27726
+ */
27727
+ pattern?: string;
27728
+ }>;
27729
+ };
27730
+ /**
27731
+ * Invalid or missing API key
27732
+ */
27733
+ 401: {
27734
+ /**
27735
+ * Human-readable error message. May change wording.
27736
+ */
27737
+ error: string;
27738
+ /**
27739
+ * Machine-readable error code. Stable identifier.
27740
+ */
27741
+ code: string;
27742
+ };
27743
+ /**
27744
+ * Method not allowed. The path exists but only responds to the methods listed in `allow[]` and the `Allow` response header.
27745
+ */
27746
+ 405: {
27747
+ error: string;
27748
+ code: 'method_not_allowed';
27749
+ /**
27750
+ * Allowed HTTP methods for this path. Mirrors the Allow response header.
27751
+ */
27752
+ allow: Array<string>;
27753
+ /**
27754
+ * Link to the product page for this domain.
27755
+ */
27756
+ docs?: string;
27757
+ };
27758
+ /**
27759
+ * Monthly rate limit exceeded
27760
+ */
27761
+ 429: {
27762
+ /**
27763
+ * Human-readable error message. May change wording.
27764
+ */
27765
+ error: string;
27766
+ /**
27767
+ * Machine-readable error code. Stable identifier.
27768
+ */
27769
+ code: string;
27770
+ };
27771
+ /**
27772
+ * Internal server error
27773
+ */
27774
+ 500: {
27775
+ /**
27776
+ * Human-readable error message. May change wording.
27777
+ */
27778
+ error: string;
27779
+ /**
27780
+ * Machine-readable error code. Stable identifier.
27781
+ */
27782
+ code: string;
27783
+ };
27784
+ };
27785
+ export type GetLanguagesError = GetLanguagesErrors[keyof GetLanguagesErrors];
27786
+ export type GetLanguagesResponses = {
27787
+ /**
27788
+ * Supported languages
27789
+ */
27790
+ 200: {
27791
+ /**
27792
+ * All language codes accepted by the `lang` query parameter.
27793
+ */
27794
+ languages: Array<{
27795
+ /**
27796
+ * ISO 639-1 language code. Pass this value as the `lang` query parameter.
27797
+ */
27798
+ code: 'en' | 'tr' | 'de' | 'es' | 'hi' | 'pt' | 'fr' | 'ru';
27799
+ /**
27800
+ * Language name in English.
27801
+ */
27802
+ name: string;
27803
+ /**
27804
+ * Language name written in the language itself.
27805
+ */
27806
+ nativeName: string;
27807
+ }>;
27808
+ };
27809
+ };
27810
+ export type GetLanguagesResponse = GetLanguagesResponses[keyof GetLanguagesResponses];
27678
27811
  //# sourceMappingURL=types.gen.d.ts.map