@spyglasshq/sdk 0.1.0 → 0.1.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.
Files changed (77) hide show
  1. package/README.md +248 -66
  2. package/dist/cjs/BaseClient.js +3 -3
  3. package/dist/cjs/Client.d.ts +4 -4
  4. package/dist/cjs/Client.js +3 -3
  5. package/dist/cjs/api/errors/BadRequestError.d.ts +3 -3
  6. package/dist/cjs/api/errors/ContentTooLargeError.d.ts +3 -3
  7. package/dist/cjs/api/errors/ForbiddenError.d.ts +3 -3
  8. package/dist/cjs/api/errors/InternalServerError.d.ts +3 -3
  9. package/dist/cjs/api/errors/MethodNotAllowedError.d.ts +3 -3
  10. package/dist/cjs/api/errors/NotFoundError.d.ts +3 -3
  11. package/dist/cjs/api/errors/PaymentRequiredError.d.ts +3 -3
  12. package/dist/cjs/api/errors/TooManyRequestsError.d.ts +3 -3
  13. package/dist/cjs/api/errors/UnauthorizedError.d.ts +3 -3
  14. package/dist/cjs/api/resources/account/client/Client.d.ts +9 -9
  15. package/dist/cjs/api/resources/account/client/Client.js +15 -15
  16. package/dist/cjs/api/resources/indexing/client/Client.d.ts +19 -19
  17. package/dist/cjs/api/resources/indexing/client/Client.js +31 -31
  18. package/dist/cjs/api/resources/search/client/Client.d.ts +85 -85
  19. package/dist/cjs/api/resources/search/client/Client.js +145 -145
  20. package/dist/cjs/api/resources/search/client/requests/GetBrandLandingPagesRequest.d.ts +2 -2
  21. package/dist/cjs/api/resources/search/client/requests/GetBrandMediaInsightsRequest.d.ts +2 -2
  22. package/dist/cjs/api/resources/search/client/requests/{GetMediaV2Request.d.ts → GetMediaRequest.d.ts} +13 -13
  23. package/dist/cjs/api/resources/search/client/requests/{GetMediaV2Request.js → GetMediaRequest.js} +14 -14
  24. package/dist/{esm/api/resources/search/client/requests/SearchBrandsV2Request.d.mts → cjs/api/resources/search/client/requests/SearchBrandsRequest.d.ts} +4 -4
  25. package/dist/cjs/api/resources/search/client/requests/{SearchBrandsV2Request.js → SearchBrandsRequest.js} +5 -5
  26. package/dist/cjs/api/resources/search/client/requests/index.d.ts +2 -2
  27. package/dist/cjs/api/resources/search/client/requests/index.js +5 -5
  28. package/dist/cjs/api/resources/search/types/GetAccountResponse.d.ts +2 -2
  29. package/dist/cjs/api/resources/search/types/{GetMediaV2Response.d.ts → GetMediaResponse.d.ts} +3 -3
  30. package/dist/cjs/api/resources/search/types/{GetMediaV2Response.js → GetMediaResponse.js} +5 -5
  31. package/dist/{esm/api/resources/search/types/SearchBrandsV2Response.d.mts → cjs/api/resources/search/types/SearchBrandsResponse.d.ts} +3 -3
  32. package/dist/cjs/api/resources/search/types/{SearchBrandsV2Response.js → SearchBrandsResponse.js} +5 -5
  33. package/dist/cjs/api/resources/search/types/index.d.ts +2 -2
  34. package/dist/cjs/api/resources/search/types/index.js +2 -2
  35. package/dist/cjs/index.d.ts +2 -2
  36. package/dist/cjs/index.js +3 -3
  37. package/dist/cjs/version.d.ts +1 -1
  38. package/dist/cjs/version.js +1 -1
  39. package/dist/esm/BaseClient.mjs +3 -3
  40. package/dist/esm/Client.d.mts +4 -4
  41. package/dist/esm/Client.mjs +1 -1
  42. package/dist/esm/api/errors/BadRequestError.d.mts +3 -3
  43. package/dist/esm/api/errors/ContentTooLargeError.d.mts +3 -3
  44. package/dist/esm/api/errors/ForbiddenError.d.mts +3 -3
  45. package/dist/esm/api/errors/InternalServerError.d.mts +3 -3
  46. package/dist/esm/api/errors/MethodNotAllowedError.d.mts +3 -3
  47. package/dist/esm/api/errors/NotFoundError.d.mts +3 -3
  48. package/dist/esm/api/errors/PaymentRequiredError.d.mts +3 -3
  49. package/dist/esm/api/errors/TooManyRequestsError.d.mts +3 -3
  50. package/dist/esm/api/errors/UnauthorizedError.d.mts +3 -3
  51. package/dist/esm/api/resources/account/client/Client.d.mts +9 -9
  52. package/dist/esm/api/resources/account/client/Client.mjs +15 -15
  53. package/dist/esm/api/resources/indexing/client/Client.d.mts +19 -19
  54. package/dist/esm/api/resources/indexing/client/Client.mjs +31 -31
  55. package/dist/esm/api/resources/search/client/Client.d.mts +85 -85
  56. package/dist/esm/api/resources/search/client/Client.mjs +145 -145
  57. package/dist/esm/api/resources/search/client/requests/GetBrandLandingPagesRequest.d.mts +2 -2
  58. package/dist/esm/api/resources/search/client/requests/GetBrandMediaInsightsRequest.d.mts +2 -2
  59. package/dist/esm/api/resources/search/client/requests/{GetMediaV2Request.d.mts → GetMediaRequest.d.mts} +13 -13
  60. package/dist/esm/api/resources/search/client/requests/{GetMediaV2Request.mjs → GetMediaRequest.mjs} +13 -13
  61. package/dist/{cjs/api/resources/search/client/requests/SearchBrandsV2Request.d.ts → esm/api/resources/search/client/requests/SearchBrandsRequest.d.mts} +4 -4
  62. package/dist/esm/api/resources/search/client/requests/{SearchBrandsV2Request.mjs → SearchBrandsRequest.mjs} +4 -4
  63. package/dist/esm/api/resources/search/client/requests/index.d.mts +2 -2
  64. package/dist/esm/api/resources/search/client/requests/index.mjs +2 -2
  65. package/dist/esm/api/resources/search/types/GetAccountResponse.d.mts +2 -2
  66. package/dist/esm/api/resources/search/types/{GetMediaV2Response.d.mts → GetMediaResponse.d.mts} +3 -3
  67. package/dist/esm/api/resources/search/types/{GetMediaV2Response.mjs → GetMediaResponse.mjs} +4 -4
  68. package/dist/{cjs/api/resources/search/types/SearchBrandsV2Response.d.ts → esm/api/resources/search/types/SearchBrandsResponse.d.mts} +3 -3
  69. package/dist/esm/api/resources/search/types/{SearchBrandsV2Response.mjs → SearchBrandsResponse.mjs} +4 -4
  70. package/dist/esm/api/resources/search/types/index.d.mts +2 -2
  71. package/dist/esm/api/resources/search/types/index.mjs +2 -2
  72. package/dist/esm/index.d.mts +2 -2
  73. package/dist/esm/index.mjs +2 -2
  74. package/dist/esm/version.d.mts +1 -1
  75. package/dist/esm/version.mjs +1 -1
  76. package/package.json +17 -2
  77. package/reference.md +23 -23
@@ -1,6 +1,6 @@
1
1
  // This file was auto-generated by Fern from our API Definition.
2
- export var GetMediaV2Request;
3
- (function (GetMediaV2Request) {
2
+ export var GetMediaRequest;
3
+ (function (GetMediaRequest) {
4
4
  let Channel;
5
5
  (function (Channel) {
6
6
  Channel.Item = {
@@ -8,7 +8,7 @@ export var GetMediaV2Request;
8
8
  Instagram: "INSTAGRAM",
9
9
  Tiktok: "TIKTOK",
10
10
  };
11
- })(Channel = GetMediaV2Request.Channel || (GetMediaV2Request.Channel = {}));
11
+ })(Channel = GetMediaRequest.Channel || (GetMediaRequest.Channel = {}));
12
12
  let Format;
13
13
  (function (Format) {
14
14
  Format.Item = {
@@ -18,7 +18,7 @@ export var GetMediaV2Request;
18
18
  Image: "IMAGE",
19
19
  Dco: "DCO",
20
20
  };
21
- })(Format = GetMediaV2Request.Format || (GetMediaV2Request.Format = {}));
21
+ })(Format = GetMediaRequest.Format || (GetMediaRequest.Format = {}));
22
22
  let Duration;
23
23
  (function (Duration) {
24
24
  Duration.Item = {
@@ -27,8 +27,8 @@ export var GetMediaV2Request;
27
27
  Thirty60: "30-60",
28
28
  Sixty: "60+",
29
29
  };
30
- })(Duration = GetMediaV2Request.Duration || (GetMediaV2Request.Duration = {}));
31
- GetMediaV2Request.Status = {
30
+ })(Duration = GetMediaRequest.Duration || (GetMediaRequest.Duration = {}));
31
+ GetMediaRequest.Status = {
32
32
  Active: "ACTIVE",
33
33
  Inactive: "INACTIVE",
34
34
  All: "ALL",
@@ -64,7 +64,7 @@ export var GetMediaV2Request;
64
64
  TextOverlay: "Text Overlay",
65
65
  Greenscreen: "Greenscreen",
66
66
  };
67
- })(Categories = GetMediaV2Request.Categories || (GetMediaV2Request.Categories = {}));
67
+ })(Categories = GetMediaRequest.Categories || (GetMediaRequest.Categories = {}));
68
68
  let FunnelStage;
69
69
  (function (FunnelStage) {
70
70
  FunnelStage.Item = {
@@ -74,7 +74,7 @@ export var GetMediaV2Request;
74
74
  ProductAware: "PRODUCT_AWARE",
75
75
  MostAware: "MOST_AWARE",
76
76
  };
77
- })(FunnelStage = GetMediaV2Request.FunnelStage || (GetMediaV2Request.FunnelStage = {}));
77
+ })(FunnelStage = GetMediaRequest.FunnelStage || (GetMediaRequest.FunnelStage = {}));
78
78
  let Language;
79
79
  (function (Language) {
80
80
  Language.Item = {
@@ -230,8 +230,8 @@ export var GetMediaV2Request;
230
230
  Xhosa: "Xhosa",
231
231
  Khasi: "Khasi",
232
232
  };
233
- })(Language = GetMediaV2Request.Language || (GetMediaV2Request.Language = {}));
234
- GetMediaV2Request.DatePreset = {
233
+ })(Language = GetMediaRequest.Language || (GetMediaRequest.Language = {}));
234
+ GetMediaRequest.DatePreset = {
235
235
  Today: "today",
236
236
  Yesterday: "yesterday",
237
237
  Last3Days: "last-3-days",
@@ -247,11 +247,11 @@ export var GetMediaV2Request;
247
247
  YearToDate: "year-to-date",
248
248
  LastYear: "last-year",
249
249
  };
250
- GetMediaV2Request.LandingPageMatch = {
250
+ GetMediaRequest.LandingPageMatch = {
251
251
  Contains: "contains",
252
252
  Equals: "equals",
253
253
  };
254
- GetMediaV2Request.SortBy = {
254
+ GetMediaRequest.SortBy = {
255
255
  MostRecent: "MOST_RECENT",
256
256
  Oldest: "OLDEST",
257
257
  LongestRun: "LONGEST_RUN",
@@ -262,4 +262,4 @@ export var GetMediaV2Request;
262
262
  HighestEngagement: "HIGHEST_ENGAGEMENT",
263
263
  HighestOutlier: "HIGHEST_OUTLIER",
264
264
  };
265
- })(GetMediaV2Request || (GetMediaV2Request = {}));
265
+ })(GetMediaRequest || (GetMediaRequest = {}));
@@ -5,8 +5,8 @@
5
5
  * limit: 3
6
6
  * }
7
7
  */
8
- export interface SearchBrandsV2Request {
9
- brandIds?: SearchBrandsV2Request.BrandIds.Item[];
8
+ export interface SearchBrandsRequest {
9
+ brandIds?: SearchBrandsRequest.BrandIds.Item[];
10
10
  names?: string[];
11
11
  igUsername?: string;
12
12
  tiktokUsername?: string;
@@ -14,12 +14,12 @@ export interface SearchBrandsV2Request {
14
14
  location?: string;
15
15
  minFollowers?: number;
16
16
  maxFollowers?: number;
17
- sortBy?: SearchBrandsV2Request.SortBy;
17
+ sortBy?: SearchBrandsRequest.SortBy;
18
18
  offset?: number;
19
19
  limit?: number;
20
20
  taxonomy?: string[];
21
21
  }
22
- export declare namespace SearchBrandsV2Request {
22
+ export declare namespace SearchBrandsRequest {
23
23
  type BrandIds = BrandIds.Item[];
24
24
  namespace BrandIds {
25
25
  /**
@@ -1,7 +1,7 @@
1
1
  // This file was auto-generated by Fern from our API Definition.
2
- export var SearchBrandsV2Request;
3
- (function (SearchBrandsV2Request) {
4
- SearchBrandsV2Request.SortBy = {
2
+ export var SearchBrandsRequest;
3
+ (function (SearchBrandsRequest) {
4
+ SearchBrandsRequest.SortBy = {
5
5
  Name: "NAME",
6
6
  MostFollowers: "MOST_FOLLOWERS",
7
7
  LeastFollowers: "LEAST_FOLLOWERS",
@@ -9,4 +9,4 @@ export var SearchBrandsV2Request;
9
9
  HighestEngagement: "HIGHEST_ENGAGEMENT",
10
10
  MostActiveAds: "MOST_ACTIVE_ADS",
11
11
  };
12
- })(SearchBrandsV2Request || (SearchBrandsV2Request = {}));
12
+ })(SearchBrandsRequest || (SearchBrandsRequest = {}));
@@ -2,7 +2,7 @@ export type { GetAccountRequest } from "./GetAccountRequest.mjs";
2
2
  export type { GetBrandLandingPagesRequest } from "./GetBrandLandingPagesRequest.mjs";
3
3
  export type { GetBrandMediaInsightsRequest } from "./GetBrandMediaInsightsRequest.mjs";
4
4
  export type { GetCommentsRequest } from "./GetCommentsRequest.mjs";
5
- export { GetMediaV2Request } from "./GetMediaV2Request.mjs";
6
- export { SearchBrandsV2Request } from "./SearchBrandsV2Request.mjs";
5
+ export { GetMediaRequest } from "./GetMediaRequest.mjs";
6
+ export { SearchBrandsRequest } from "./SearchBrandsRequest.mjs";
7
7
  export { SearchCreatorsRequest } from "./SearchCreatorsRequest.mjs";
8
8
  export type { SearchTaxonomiesRequest } from "./SearchTaxonomiesRequest.mjs";
@@ -1,3 +1,3 @@
1
- export { GetMediaV2Request } from "./GetMediaV2Request.mjs";
2
- export { SearchBrandsV2Request } from "./SearchBrandsV2Request.mjs";
1
+ export { GetMediaRequest } from "./GetMediaRequest.mjs";
2
+ export { SearchBrandsRequest } from "./SearchBrandsRequest.mjs";
3
3
  export { SearchCreatorsRequest } from "./SearchCreatorsRequest.mjs";
@@ -1,5 +1,5 @@
1
- import type * as Spyglass from "../../../index.mjs";
2
- export type GetAccountResponse = Spyglass.GetAccountResponse.Brand | Spyglass.GetAccountResponse.Creator;
1
+ import type * as spyglass from "../../../index.mjs";
2
+ export type GetAccountResponse = spyglass.GetAccountResponse.Brand | spyglass.GetAccountResponse.Creator;
3
3
  export declare namespace GetAccountResponse {
4
4
  interface Brand {
5
5
  type: "BRAND";
@@ -1,8 +1,8 @@
1
- export interface GetMediaV2Response {
1
+ export interface GetMediaResponse {
2
2
  count: number;
3
- media: GetMediaV2Response.Media.Item[];
3
+ media: GetMediaResponse.Media.Item[];
4
4
  }
5
- export declare namespace GetMediaV2Response {
5
+ export declare namespace GetMediaResponse {
6
6
  type Media = Media.Item[];
7
7
  namespace Media {
8
8
  interface Item {
@@ -1,6 +1,6 @@
1
1
  // This file was auto-generated by Fern from our API Definition.
2
- export var GetMediaV2Response;
3
- (function (GetMediaV2Response) {
2
+ export var GetMediaResponse;
3
+ (function (GetMediaResponse) {
4
4
  let Media;
5
5
  (function (Media) {
6
6
  let Item;
@@ -50,5 +50,5 @@ export var GetMediaV2Response;
50
50
  };
51
51
  })(UgcCharacter = Item.UgcCharacter || (Item.UgcCharacter = {}));
52
52
  })(Item = Media.Item || (Media.Item = {}));
53
- })(Media = GetMediaV2Response.Media || (GetMediaV2Response.Media = {}));
54
- })(GetMediaV2Response || (GetMediaV2Response = {}));
53
+ })(Media = GetMediaResponse.Media || (GetMediaResponse.Media = {}));
54
+ })(GetMediaResponse || (GetMediaResponse = {}));
@@ -1,9 +1,9 @@
1
- export interface SearchBrandsV2Response {
1
+ export interface SearchBrandsResponse {
2
2
  count: number;
3
- brands: SearchBrandsV2Response.Brands.Item[];
3
+ brands: SearchBrandsResponse.Brands.Item[];
4
4
  unmatchedIds?: string[] | undefined;
5
5
  }
6
- export declare namespace SearchBrandsV2Response {
6
+ export declare namespace SearchBrandsResponse {
7
7
  type Brands = Brands.Item[];
8
8
  namespace Brands {
9
9
  interface Item {
@@ -1,6 +1,6 @@
1
1
  // This file was auto-generated by Fern from our API Definition.
2
- export var SearchBrandsV2Response;
3
- (function (SearchBrandsV2Response) {
2
+ export var SearchBrandsResponse;
3
+ (function (SearchBrandsResponse) {
4
4
  let Brands;
5
5
  (function (Brands) {
6
6
  let Item;
@@ -9,5 +9,5 @@ export var SearchBrandsV2Response;
9
9
  Brand: "BRAND",
10
10
  };
11
11
  })(Item = Brands.Item || (Brands.Item = {}));
12
- })(Brands = SearchBrandsV2Response.Brands || (SearchBrandsV2Response.Brands = {}));
13
- })(SearchBrandsV2Response || (SearchBrandsV2Response = {}));
12
+ })(Brands = SearchBrandsResponse.Brands || (SearchBrandsResponse.Brands = {}));
13
+ })(SearchBrandsResponse || (SearchBrandsResponse = {}));
@@ -4,7 +4,7 @@ export * from "./GetBrandLandingPagesResponse.mjs";
4
4
  export * from "./GetBrandMediaInsightsRequestType.mjs";
5
5
  export * from "./GetBrandMediaInsightsResponse.mjs";
6
6
  export * from "./GetCommentsResponse.mjs";
7
- export * from "./GetMediaV2Response.mjs";
8
- export * from "./SearchBrandsV2Response.mjs";
7
+ export * from "./GetMediaResponse.mjs";
8
+ export * from "./SearchBrandsResponse.mjs";
9
9
  export * from "./SearchCreatorsResponse.mjs";
10
10
  export * from "./SearchTaxonomiesResponse.mjs";
@@ -4,7 +4,7 @@ export * from "./GetBrandLandingPagesResponse.mjs";
4
4
  export * from "./GetBrandMediaInsightsRequestType.mjs";
5
5
  export * from "./GetBrandMediaInsightsResponse.mjs";
6
6
  export * from "./GetCommentsResponse.mjs";
7
- export * from "./GetMediaV2Response.mjs";
8
- export * from "./SearchBrandsV2Response.mjs";
7
+ export * from "./GetMediaResponse.mjs";
8
+ export * from "./SearchBrandsResponse.mjs";
9
9
  export * from "./SearchCreatorsResponse.mjs";
10
10
  export * from "./SearchTaxonomiesResponse.mjs";
@@ -1,6 +1,6 @@
1
- export * as Spyglass from "./api/index.mjs";
1
+ export * as spyglass from "./api/index.mjs";
2
2
  export type { BaseClientOptions, BaseRequestOptions } from "./BaseClient.mjs";
3
- export { SpyglassClient } from "./Client.mjs";
3
+ export { Spyglass } from "./Client.mjs";
4
4
  export { SpyglassEnvironment } from "./environments.mjs";
5
5
  export { SpyglassError, SpyglassTimeoutError } from "./errors/index.mjs";
6
6
  export * from "./exports.mjs";
@@ -1,5 +1,5 @@
1
- export * as Spyglass from "./api/index.mjs";
2
- export { SpyglassClient } from "./Client.mjs";
1
+ export * as spyglass from "./api/index.mjs";
2
+ export { Spyglass } from "./Client.mjs";
3
3
  export { SpyglassEnvironment } from "./environments.mjs";
4
4
  export { SpyglassError, SpyglassTimeoutError } from "./errors/index.mjs";
5
5
  export * from "./exports.mjs";
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.1.0";
1
+ export declare const SDK_VERSION = "0.1.1";
@@ -1 +1 @@
1
- export const SDK_VERSION = "0.1.0";
1
+ export const SDK_VERSION = "0.1.1";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spyglasshq/sdk",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",
@@ -98,5 +98,20 @@
98
98
  "engines": {
99
99
  "node": ">=18.0.0"
100
100
  },
101
- "sideEffects": false
101
+ "sideEffects": false,
102
+ "description": "Official TypeScript & Node.js SDK for the Spyglass API — search brands, creators, and the ads they run.",
103
+ "license": "MIT",
104
+ "homepage": "https://docs.spyglass.so",
105
+ "keywords": [
106
+ "spyglass",
107
+ "ads",
108
+ "ad-intelligence",
109
+ "social-media",
110
+ "creators",
111
+ "brands",
112
+ "marketing",
113
+ "tiktok",
114
+ "instagram",
115
+ "meta-ads"
116
+ ]
102
117
  }
package/reference.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Reference
2
2
  ## Search
3
- <details><summary><code>client.search.<a href="/src/api/resources/search/client/Client.ts">searchBrandsV2</a>({ ...params }) -> Spyglass.SearchBrandsV2Response</code></summary>
3
+ <details><summary><code>client.search.<a href="/src/api/resources/search/client/Client.ts">brands</a>({ ...params }) -> spyglass.SearchBrandsResponse</code></summary>
4
4
  <dl>
5
5
  <dd>
6
6
 
@@ -59,7 +59,7 @@ row even when nothing matches.
59
59
  <dd>
60
60
 
61
61
  ```typescript
62
- await client.search.searchBrandsV2({
62
+ await client.search.brands({
63
63
  names: ["Nike"],
64
64
  limit: 3
65
65
  });
@@ -78,7 +78,7 @@ await client.search.searchBrandsV2({
78
78
  <dl>
79
79
  <dd>
80
80
 
81
- **request:** `Spyglass.SearchBrandsV2Request`
81
+ **request:** `spyglass.SearchBrandsRequest`
82
82
 
83
83
  </dd>
84
84
  </dl>
@@ -98,7 +98,7 @@ await client.search.searchBrandsV2({
98
98
  </dl>
99
99
  </details>
100
100
 
101
- <details><summary><code>client.search.<a href="/src/api/resources/search/client/Client.ts">creators</a>({ ...params }) -> Spyglass.SearchCreatorsResponse</code></summary>
101
+ <details><summary><code>client.search.<a href="/src/api/resources/search/client/Client.ts">creators</a>({ ...params }) -> spyglass.SearchCreatorsResponse</code></summary>
102
102
  <dl>
103
103
  <dd>
104
104
 
@@ -179,7 +179,7 @@ await client.search.creators({
179
179
  <dl>
180
180
  <dd>
181
181
 
182
- **request:** `Spyglass.SearchCreatorsRequest`
182
+ **request:** `spyglass.SearchCreatorsRequest`
183
183
 
184
184
  </dd>
185
185
  </dl>
@@ -199,7 +199,7 @@ await client.search.creators({
199
199
  </dl>
200
200
  </details>
201
201
 
202
- <details><summary><code>client.search.<a href="/src/api/resources/search/client/Client.ts">getAccount</a>({ ...params }) -> Spyglass.GetAccountResponse</code></summary>
202
+ <details><summary><code>client.search.<a href="/src/api/resources/search/client/Client.ts">getAccount</a>({ ...params }) -> spyglass.GetAccountResponse</code></summary>
203
203
  <dl>
204
204
  <dd>
205
205
 
@@ -250,7 +250,7 @@ await client.search.getAccount({
250
250
  <dl>
251
251
  <dd>
252
252
 
253
- **request:** `Spyglass.GetAccountRequest`
253
+ **request:** `spyglass.GetAccountRequest`
254
254
 
255
255
  </dd>
256
256
  </dl>
@@ -270,7 +270,7 @@ await client.search.getAccount({
270
270
  </dl>
271
271
  </details>
272
272
 
273
- <details><summary><code>client.search.<a href="/src/api/resources/search/client/Client.ts">taxonomies</a>({ ...params }) -> Spyglass.SearchTaxonomiesResponse</code></summary>
273
+ <details><summary><code>client.search.<a href="/src/api/resources/search/client/Client.ts">taxonomies</a>({ ...params }) -> spyglass.SearchTaxonomiesResponse</code></summary>
274
274
  <dl>
275
275
  <dd>
276
276
 
@@ -320,7 +320,7 @@ await client.search.taxonomies({
320
320
  <dl>
321
321
  <dd>
322
322
 
323
- **request:** `Spyglass.SearchTaxonomiesRequest`
323
+ **request:** `spyglass.SearchTaxonomiesRequest`
324
324
 
325
325
  </dd>
326
326
  </dl>
@@ -340,7 +340,7 @@ await client.search.taxonomies({
340
340
  </dl>
341
341
  </details>
342
342
 
343
- <details><summary><code>client.search.<a href="/src/api/resources/search/client/Client.ts">getMediaV2</a>({ ...params }) -> Spyglass.GetMediaV2Response</code></summary>
343
+ <details><summary><code>client.search.<a href="/src/api/resources/search/client/Client.ts">getMedia</a>({ ...params }) -> spyglass.GetMediaResponse</code></summary>
344
344
  <dl>
345
345
  <dd>
346
346
 
@@ -374,7 +374,7 @@ case `count` is 0 but you are charged for one row.
374
374
  <dd>
375
375
 
376
376
  ```typescript
377
- await client.search.getMediaV2({
377
+ await client.search.getMedia({
378
378
  query: "comfort-focused video ads",
379
379
  limit: 20
380
380
  });
@@ -393,7 +393,7 @@ await client.search.getMediaV2({
393
393
  <dl>
394
394
  <dd>
395
395
 
396
- **request:** `Spyglass.GetMediaV2Request`
396
+ **request:** `spyglass.GetMediaRequest`
397
397
 
398
398
  </dd>
399
399
  </dl>
@@ -413,7 +413,7 @@ await client.search.getMediaV2({
413
413
  </dl>
414
414
  </details>
415
415
 
416
- <details><summary><code>client.search.<a href="/src/api/resources/search/client/Client.ts">getBrandMediaInsights</a>({ ...params }) -> Spyglass.GetBrandMediaInsightsResponse</code></summary>
416
+ <details><summary><code>client.search.<a href="/src/api/resources/search/client/Client.ts">getBrandMediaInsights</a>({ ...params }) -> spyglass.GetBrandMediaInsightsResponse</code></summary>
417
417
  <dl>
418
418
  <dd>
419
419
 
@@ -467,7 +467,7 @@ await client.search.getBrandMediaInsights({
467
467
  <dl>
468
468
  <dd>
469
469
 
470
- **request:** `Spyglass.GetBrandMediaInsightsRequest`
470
+ **request:** `spyglass.GetBrandMediaInsightsRequest`
471
471
 
472
472
  </dd>
473
473
  </dl>
@@ -487,7 +487,7 @@ await client.search.getBrandMediaInsights({
487
487
  </dl>
488
488
  </details>
489
489
 
490
- <details><summary><code>client.search.<a href="/src/api/resources/search/client/Client.ts">getBrandLandingPages</a>({ ...params }) -> Spyglass.GetBrandLandingPagesResponse</code></summary>
490
+ <details><summary><code>client.search.<a href="/src/api/resources/search/client/Client.ts">getBrandLandingPages</a>({ ...params }) -> spyglass.GetBrandLandingPagesResponse</code></summary>
491
491
  <dl>
492
492
  <dd>
493
493
 
@@ -536,7 +536,7 @@ await client.search.getBrandLandingPages({
536
536
  <dl>
537
537
  <dd>
538
538
 
539
- **request:** `Spyglass.GetBrandLandingPagesRequest`
539
+ **request:** `spyglass.GetBrandLandingPagesRequest`
540
540
 
541
541
  </dd>
542
542
  </dl>
@@ -556,7 +556,7 @@ await client.search.getBrandLandingPages({
556
556
  </dl>
557
557
  </details>
558
558
 
559
- <details><summary><code>client.search.<a href="/src/api/resources/search/client/Client.ts">getComments</a>({ ...params }) -> Spyglass.GetCommentsResponse</code></summary>
559
+ <details><summary><code>client.search.<a href="/src/api/resources/search/client/Client.ts">getComments</a>({ ...params }) -> spyglass.GetCommentsResponse</code></summary>
560
560
  <dl>
561
561
  <dd>
562
562
 
@@ -625,7 +625,7 @@ await client.search.getComments({
625
625
  <dl>
626
626
  <dd>
627
627
 
628
- **request:** `Spyglass.GetCommentsRequest`
628
+ **request:** `spyglass.GetCommentsRequest`
629
629
 
630
630
  </dd>
631
631
  </dl>
@@ -646,7 +646,7 @@ await client.search.getComments({
646
646
  </details>
647
647
 
648
648
  ## Account
649
- <details><summary><code>client.account.<a href="/src/api/resources/account/client/Client.ts">getCreditUsage</a>() -> Spyglass.GetCreditUsageResponse</code></summary>
649
+ <details><summary><code>client.account.<a href="/src/api/resources/account/client/Client.ts">getCreditUsage</a>() -> spyglass.GetCreditUsageResponse</code></summary>
650
650
  <dl>
651
651
  <dd>
652
652
 
@@ -708,7 +708,7 @@ await client.account.getCreditUsage();
708
708
  </details>
709
709
 
710
710
  ## Indexing
711
- <details><summary><code>client.indexing.<a href="/src/api/resources/indexing/client/Client.ts">indexBrand</a>({ ...params }) -> Spyglass.IndexBrandResponse</code></summary>
711
+ <details><summary><code>client.indexing.<a href="/src/api/resources/indexing/client/Client.ts">indexBrand</a>({ ...params }) -> spyglass.IndexBrandResponse</code></summary>
712
712
  <dl>
713
713
  <dd>
714
714
 
@@ -762,7 +762,7 @@ await client.indexing.indexBrand({
762
762
  <dl>
763
763
  <dd>
764
764
 
765
- **request:** `Spyglass.IndexBrandRequest`
765
+ **request:** `spyglass.IndexBrandRequest`
766
766
 
767
767
  </dd>
768
768
  </dl>
@@ -782,7 +782,7 @@ await client.indexing.indexBrand({
782
782
  </dl>
783
783
  </details>
784
784
 
785
- <details><summary><code>client.indexing.<a href="/src/api/resources/indexing/client/Client.ts">indexBrandStatus</a>({ ...params }) -> Spyglass.IndexBrandStatusResponse</code></summary>
785
+ <details><summary><code>client.indexing.<a href="/src/api/resources/indexing/client/Client.ts">indexBrandStatus</a>({ ...params }) -> spyglass.IndexBrandStatusResponse</code></summary>
786
786
  <dl>
787
787
  <dd>
788
788
 
@@ -830,7 +830,7 @@ await client.indexing.indexBrandStatus({
830
830
  <dl>
831
831
  <dd>
832
832
 
833
- **request:** `Spyglass.IndexBrandStatusRequest`
833
+ **request:** `spyglass.IndexBrandStatusRequest`
834
834
 
835
835
  </dd>
836
836
  </dl>