@roxyapi/sdk 1.2.21 → 1.2.23

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.
@@ -27028,7 +27028,7 @@ export type GetLocationSearchData = {
27028
27028
  path?: never;
27029
27029
  query: {
27030
27030
  /**
27031
- * City name to search for. Matches against city name, province/state, or combined "city country" queries. Case-insensitive with partial matching (e.g. "ber" matches Berlin, Bern, Bergen).
27031
+ * City name to search for. Accepts bare city ("berlin"), city plus country ("berlin germany"), or comma-qualified ("berlin, germany", "springfield, illinois") for disambiguation. Matches against city name, province/state, or combined "city country" queries. Case-insensitive with partial matching (e.g. "ber" matches Berlin, Bern, Bergen).
27032
27032
  */
27033
27033
  q: string;
27034
27034
  /**
@@ -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