@spyglasshq/sdk 0.1.4 → 0.1.6

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.
@@ -43,8 +43,8 @@ function normalizeClientOptions(options) {
43
43
  const headers = (0, headers_js_1.mergeHeaders)({
44
44
  "X-Fern-Language": "JavaScript",
45
45
  "X-Fern-SDK-Name": "@spyglasshq/sdk",
46
- "X-Fern-SDK-Version": "0.1.3",
47
- "User-Agent": "@spyglasshq/sdk/0.1.3",
46
+ "X-Fern-SDK-Version": "0.1.6",
47
+ "User-Agent": "@spyglasshq/sdk/0.1.6",
48
48
  "X-Fern-Runtime": core.RUNTIME.type,
49
49
  "X-Fern-Runtime-Version": core.RUNTIME.version,
50
50
  }, options === null || options === void 0 ? void 0 : options.headers);
@@ -163,8 +163,8 @@ export declare class Spyglass {
163
163
  searchTaxonomies(request: spyglass.SearchTaxonomiesRequest, requestOptions?: Spyglass.RequestOptions): core.HttpResponsePromise<spyglass.SearchTaxonomiesResponse>;
164
164
  private __searchTaxonomies;
165
165
  /**
166
- * Return creatives. Pass `brandId` to scope to one brand or creator,
167
- * or omit it to search the whole corpus. Without `brandId`,
166
+ * Return creatives. Pass `accountId` to scope to one brand or creator,
167
+ * or omit it to search the whole corpus. Without `accountId`,
168
168
  * `query` is required.
169
169
  *
170
170
  * Limited to 120 requests per minute per user.
@@ -371,8 +371,8 @@ class Spyglass {
371
371
  });
372
372
  }
373
373
  /**
374
- * Return creatives. Pass `brandId` to scope to one brand or creator,
375
- * or omit it to search the whole corpus. Without `brandId`,
374
+ * Return creatives. Pass `accountId` to scope to one brand or creator,
375
+ * or omit it to search the whole corpus. Without `accountId`,
376
376
  * `query` is required.
377
377
  *
378
378
  * Limited to 120 requests per minute per user.
@@ -7,7 +7,7 @@
7
7
  */
8
8
  export interface SearchMediaRequest {
9
9
  /** Brand id given as a platform string or uuid */
10
- brandId?: SearchMediaRequest.BrandId;
10
+ accountId?: SearchMediaRequest.AccountId;
11
11
  query?: string;
12
12
  channel?: SearchMediaRequest.Channel.Item[];
13
13
  format?: SearchMediaRequest.Format.Item[];
@@ -38,7 +38,7 @@ export declare namespace SearchMediaRequest {
38
38
  /**
39
39
  * Brand id given as a platform string or uuid
40
40
  */
41
- type BrandId = string | number;
41
+ type AccountId = string | number;
42
42
  type Channel = Channel.Item[];
43
43
  namespace Channel {
44
44
  const Item: {
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.1.4";
1
+ export declare const SDK_VERSION = "0.1.6";
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "0.1.4";
4
+ exports.SDK_VERSION = "0.1.6";
@@ -6,8 +6,8 @@ export function normalizeClientOptions(options) {
6
6
  const headers = mergeHeaders({
7
7
  "X-Fern-Language": "JavaScript",
8
8
  "X-Fern-SDK-Name": "@spyglasshq/sdk",
9
- "X-Fern-SDK-Version": "0.1.3",
10
- "User-Agent": "@spyglasshq/sdk/0.1.3",
9
+ "X-Fern-SDK-Version": "0.1.6",
10
+ "User-Agent": "@spyglasshq/sdk/0.1.6",
11
11
  "X-Fern-Runtime": core.RUNTIME.type,
12
12
  "X-Fern-Runtime-Version": core.RUNTIME.version,
13
13
  }, options === null || options === void 0 ? void 0 : options.headers);
@@ -163,8 +163,8 @@ export declare class Spyglass {
163
163
  searchTaxonomies(request: spyglass.SearchTaxonomiesRequest, requestOptions?: Spyglass.RequestOptions): core.HttpResponsePromise<spyglass.SearchTaxonomiesResponse>;
164
164
  private __searchTaxonomies;
165
165
  /**
166
- * Return creatives. Pass `brandId` to scope to one brand or creator,
167
- * or omit it to search the whole corpus. Without `brandId`,
166
+ * Return creatives. Pass `accountId` to scope to one brand or creator,
167
+ * or omit it to search the whole corpus. Without `accountId`,
168
168
  * `query` is required.
169
169
  *
170
170
  * Limited to 120 requests per minute per user.
@@ -335,8 +335,8 @@ export class Spyglass {
335
335
  });
336
336
  }
337
337
  /**
338
- * Return creatives. Pass `brandId` to scope to one brand or creator,
339
- * or omit it to search the whole corpus. Without `brandId`,
338
+ * Return creatives. Pass `accountId` to scope to one brand or creator,
339
+ * or omit it to search the whole corpus. Without `accountId`,
340
340
  * `query` is required.
341
341
  *
342
342
  * Limited to 120 requests per minute per user.
@@ -7,7 +7,7 @@
7
7
  */
8
8
  export interface SearchMediaRequest {
9
9
  /** Brand id given as a platform string or uuid */
10
- brandId?: SearchMediaRequest.BrandId;
10
+ accountId?: SearchMediaRequest.AccountId;
11
11
  query?: string;
12
12
  channel?: SearchMediaRequest.Channel.Item[];
13
13
  format?: SearchMediaRequest.Format.Item[];
@@ -38,7 +38,7 @@ export declare namespace SearchMediaRequest {
38
38
  /**
39
39
  * Brand id given as a platform string or uuid
40
40
  */
41
- type BrandId = string | number;
41
+ type AccountId = string | number;
42
42
  type Channel = Channel.Item[];
43
43
  namespace Channel {
44
44
  const Item: {
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.1.4";
1
+ export declare const SDK_VERSION = "0.1.6";
@@ -1 +1 @@
1
- export const SDK_VERSION = "0.1.4";
1
+ export const SDK_VERSION = "0.1.6";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spyglasshq/sdk",
3
- "version": "0.1.4",
3
+ "version": "0.1.6",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",
package/reference.md CHANGED
@@ -284,8 +284,8 @@ await client.searchTaxonomies({
284
284
  <dl>
285
285
  <dd>
286
286
 
287
- Return creatives. Pass `brandId` to scope to one brand or creator,
288
- or omit it to search the whole corpus. Without `brandId`,
287
+ Return creatives. Pass `accountId` to scope to one brand or creator,
288
+ or omit it to search the whole corpus. Without `accountId`,
289
289
  `query` is required.
290
290
 
291
291
  Limited to 120 requests per minute per user.