semrush-api-client 0.1.17 → 0.1.18

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.
@@ -6,4 +6,4 @@ export declare function getBacklinksOverview(this: SemrushAPIClient, { target, t
6
6
  target_type?: BacklinksTargetType;
7
7
  export_columns?: BacklinkstExportColumns[];
8
8
  outputObj?: boolean;
9
- }): Promise<string | Record<string, string>[]>;
9
+ }): Promise<Record<string, string>[]>;
@@ -9,4 +9,4 @@ export declare function getAnchors(this: SemrushAPIClient, { target, target_type
9
9
  displaySort?: DisplaySort;
10
10
  outputObj?: boolean;
11
11
  display_limit?: number;
12
- }): Promise<string | Record<string, string>[]>;
12
+ }): Promise<Record<string, string>[]>;
@@ -9,4 +9,4 @@ export declare function getBacklinks(this: SemrushAPIClient, { target, target_ty
9
9
  displaySort?: DisplaySort;
10
10
  outputObj?: boolean;
11
11
  display_limit?: number;
12
- }): Promise<string | Record<string, string>[]>;
12
+ }): Promise<Record<string, string>[]>;
@@ -9,4 +9,4 @@ export declare function getIndexedPages(this: SemrushAPIClient, { target, target
9
9
  displaySort?: DisplaySort;
10
10
  outputObj?: boolean;
11
11
  display_limit?: number;
12
- }): Promise<string | Record<string, string>[]>;
12
+ }): Promise<Record<string, string>[]>;
@@ -9,4 +9,4 @@ export declare function getReferringDomains(this: SemrushAPIClient, { target, ta
9
9
  displaySort?: DisplaySort;
10
10
  outputObj?: boolean;
11
11
  display_limit?: number;
12
- }): Promise<string | Record<string, string>[]>;
12
+ }): Promise<Record<string, string>[]>;
@@ -7,5 +7,5 @@ export declare function getAdsCopies(this: SemrushAPIClient, { domain, export_co
7
7
  database?: Database;
8
8
  outputObj?: boolean;
9
9
  display_limit?: number;
10
- }): Promise<string | Record<string, string>[]>;
10
+ }): Promise<Record<string, string>[]>;
11
11
  export {};
@@ -11,5 +11,5 @@ export declare function getDomainOrganicSearchKeywords(this: SemrushAPIClient, {
11
11
  outputObj?: boolean;
12
12
  displayPositionsType?: displayPositionType;
13
13
  display_limit?: number;
14
- }): Promise<string | Record<string, string>[]>;
14
+ }): Promise<Record<string, string>[]>;
15
15
  export {};
@@ -8,4 +8,4 @@ export declare function getDomainOverview(this: SemrushAPIClient, { domain, expo
8
8
  display_limit?: number;
9
9
  outputObj?: boolean;
10
10
  displayDate?: string;
11
- }): Promise<string | Record<string, string>[]>;
11
+ }): Promise<Record<string, string>[]>;
@@ -9,5 +9,5 @@ export declare function getDomainPaidSearchKeywords(this: SemrushAPIClient, { do
9
9
  database?: Database;
10
10
  outputObj?: boolean;
11
11
  display_limit?: number;
12
- }): Promise<string | Record<string, string>[]>;
12
+ }): Promise<Record<string, string>[]>;
13
13
  export {};
@@ -9,4 +9,4 @@ export declare function getBroadMatchKeywords(this: SemrushAPIClient, { phrase,
9
9
  displaySort?: DisplaySort;
10
10
  outputObj?: boolean;
11
11
  display_limit?: number;
12
- }): Promise<string | Record<string, string>[]>;
12
+ }): Promise<Record<string, string>[]>;
@@ -6,5 +6,5 @@ export declare function getKeywordDifficulty(this: SemrushAPIClient, { phrases,
6
6
  export_columns?: ExportColumns[];
7
7
  database?: Database;
8
8
  outputObj?: boolean;
9
- }): Promise<string | Record<string, string>[]>;
9
+ }): Promise<Record<string, string>[]>;
10
10
  export {};
@@ -6,5 +6,5 @@ export declare function getKeywordOverview(this: SemrushAPIClient, { phrase, exp
6
6
  export_columns?: KeywordExportColumns[];
7
7
  database?: Database;
8
8
  outputObj?: boolean;
9
- }): Promise<string | Record<string, string>[]>;
9
+ }): Promise<Record<string, string>[]>;
10
10
  export {};
@@ -9,4 +9,4 @@ export declare function getPhraseQuestions(this: SemrushAPIClient, { phrase, exp
9
9
  displaySort?: DisplaySort;
10
10
  outputObj?: boolean;
11
11
  display_limit?: number;
12
- }): Promise<string | Record<string, string>[]>;
12
+ }): Promise<Record<string, string>[]>;
@@ -1,6 +1,5 @@
1
1
  import { SemrushAPIClient } from "../client";
2
2
  import { Database } from "../type/general/database";
3
- export type IndexedPagephraseType = "root_domain" | "domain" | "url";
4
3
  export type ExportColumns = "Ph" | "Nq" | "Cp" | "Co" | "Nr" | "Td" | "Rr" | "Fk" | "In" | "Kd";
5
4
  export type DisplaySort = "nq_asc" | "nq_desc" | "cp_asc" | "cp_desc" | "co_asc" | "co_desc" | "nr_asc" | "nr_desc" | "rr_asc" | "rr_desc" | "kd_asc" | "kd_desc";
6
5
  export declare function getRelatedKeywords(this: SemrushAPIClient, { phrase, export_columns, database, displaySort, display_limit, outputObj, }: {
@@ -10,4 +9,4 @@ export declare function getRelatedKeywords(this: SemrushAPIClient, { phrase, exp
10
9
  displaySort?: DisplaySort;
11
10
  outputObj?: boolean;
12
11
  display_limit?: number;
13
- }): Promise<string | Record<string, string>[]>;
12
+ }): Promise<Record<string, string>[]>;
@@ -7,5 +7,5 @@ export declare function getRankDifference(this: SemrushAPIClient, { domain, expo
7
7
  database?: Database;
8
8
  display_limit?: number;
9
9
  outputObj?: boolean;
10
- }): Promise<string | Record<string, string>[]>;
10
+ }): Promise<Record<string, string>[]>;
11
11
  export {};
@@ -6,5 +6,5 @@ export declare function getSemrushRank(this: SemrushAPIClient, { export_columns,
6
6
  database?: Database;
7
7
  display_limit?: number;
8
8
  outputObj?: boolean;
9
- }): Promise<string | Record<string, string>[]>;
9
+ }): Promise<Record<string, string>[]>;
10
10
  export {};
@@ -6,4 +6,4 @@ export declare function getTrafficSummary(this: SemrushAPIClient, { domains, exp
6
6
  export_columns?: ExportColumns[];
7
7
  country?: Country;
8
8
  outputObj?: boolean;
9
- }): Promise<string | Record<string, string>[]>;
9
+ }): Promise<Record<string, string>[]>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "semrush-api-client",
3
- "version": "0.1.17",
3
+ "version": "0.1.18",
4
4
  "description": "",
5
5
  "license": "Apache-2.0",
6
6
  "main": "dist/index.js",