@spyglasshq/sdk 0.1.15 → 0.1.17

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.15",
47
- "User-Agent": "@spyglasshq/sdk/0.1.15",
46
+ "X-Fern-SDK-Version": "0.1.17",
47
+ "User-Agent": "@spyglasshq/sdk/0.1.17",
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);
@@ -200,7 +200,7 @@ export declare class Spyglass {
200
200
  * plan, and the current billing period. Granted credits count toward
201
201
  * `remainingCredits` and not `planCredits`.
202
202
  *
203
- * Limited to 120 requests per minute per user.
203
+ * Limited to 60 requests per minute per user.
204
204
  * This call is free and does not use credits. It still responds when
205
205
  * the team is out of credits.
206
206
  *
@@ -462,7 +462,7 @@ class Spyglass {
462
462
  * plan, and the current billing period. Granted credits count toward
463
463
  * `remainingCredits` and not `planCredits`.
464
464
  *
465
- * Limited to 120 requests per minute per user.
465
+ * Limited to 60 requests per minute per user.
466
466
  * This call is free and does not use credits. It still responds when
467
467
  * the team is out of credits.
468
468
  *
@@ -7,7 +7,7 @@ import type * as spyglass from "../../../../index.js";
7
7
  * }
8
8
  */
9
9
  export interface CampaignsAccountRequest {
10
- /** Brand id returned by POST /brands/search. */
10
+ /** Brand or creator id returned by POST /brands or POST /creators. */
11
11
  id: string;
12
12
  type: spyglass.CampaignsAccountRequestType;
13
13
  sortBy?: spyglass.CampaignsAccountRequestSortBy;
@@ -5,7 +5,7 @@
5
5
  * }
6
6
  */
7
7
  export interface CollabsAccountRequest {
8
- /** Brand id returned by POST /brands/search. */
8
+ /** Brand or creator id returned by POST /brands or POST /creators. */
9
9
  id: string;
10
10
  limit?: number;
11
11
  offset?: number;
@@ -7,6 +7,7 @@ export declare namespace GetAccountResponse {
7
7
  facebookAdLibraryId: string | null;
8
8
  name: string;
9
9
  summary: string | null;
10
+ bio: string | null;
10
11
  category: string | null;
11
12
  location: string | null;
12
13
  language: string | null;
@@ -26,6 +27,7 @@ export declare namespace GetAccountResponse {
26
27
  facebookAdLibraryId: string | null;
27
28
  name: string;
28
29
  summary: string | null;
30
+ bio: string | null;
29
31
  verified: boolean;
30
32
  igUsername: string | null;
31
33
  igFollowers: number | null;
@@ -12,6 +12,7 @@ export declare namespace SearchBrandsResponse {
12
12
  facebookAdLibraryId: string | null;
13
13
  name: string;
14
14
  summary: string | null;
15
+ bio: string | null;
15
16
  category: string | null;
16
17
  location: string | null;
17
18
  language: string | null;
@@ -12,6 +12,7 @@ export declare namespace SearchCreatorsResponse {
12
12
  facebookAdLibraryId: string | null;
13
13
  name: string;
14
14
  summary: string | null;
15
+ bio: string | null;
15
16
  verified: boolean;
16
17
  igUsername: string | null;
17
18
  igFollowers: number | null;
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.1.15";
1
+ export declare const SDK_VERSION = "0.1.17";
@@ -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.15";
4
+ exports.SDK_VERSION = "0.1.17";
@@ -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.15",
10
- "User-Agent": "@spyglasshq/sdk/0.1.15",
9
+ "X-Fern-SDK-Version": "0.1.17",
10
+ "User-Agent": "@spyglasshq/sdk/0.1.17",
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);
@@ -200,7 +200,7 @@ export declare class Spyglass {
200
200
  * plan, and the current billing period. Granted credits count toward
201
201
  * `remainingCredits` and not `planCredits`.
202
202
  *
203
- * Limited to 120 requests per minute per user.
203
+ * Limited to 60 requests per minute per user.
204
204
  * This call is free and does not use credits. It still responds when
205
205
  * the team is out of credits.
206
206
  *
@@ -426,7 +426,7 @@ export class Spyglass {
426
426
  * plan, and the current billing period. Granted credits count toward
427
427
  * `remainingCredits` and not `planCredits`.
428
428
  *
429
- * Limited to 120 requests per minute per user.
429
+ * Limited to 60 requests per minute per user.
430
430
  * This call is free and does not use credits. It still responds when
431
431
  * the team is out of credits.
432
432
  *
@@ -7,7 +7,7 @@ import type * as spyglass from "../../../../index.mjs";
7
7
  * }
8
8
  */
9
9
  export interface CampaignsAccountRequest {
10
- /** Brand id returned by POST /brands/search. */
10
+ /** Brand or creator id returned by POST /brands or POST /creators. */
11
11
  id: string;
12
12
  type: spyglass.CampaignsAccountRequestType;
13
13
  sortBy?: spyglass.CampaignsAccountRequestSortBy;
@@ -5,7 +5,7 @@
5
5
  * }
6
6
  */
7
7
  export interface CollabsAccountRequest {
8
- /** Brand id returned by POST /brands/search. */
8
+ /** Brand or creator id returned by POST /brands or POST /creators. */
9
9
  id: string;
10
10
  limit?: number;
11
11
  offset?: number;
@@ -7,6 +7,7 @@ export declare namespace GetAccountResponse {
7
7
  facebookAdLibraryId: string | null;
8
8
  name: string;
9
9
  summary: string | null;
10
+ bio: string | null;
10
11
  category: string | null;
11
12
  location: string | null;
12
13
  language: string | null;
@@ -26,6 +27,7 @@ export declare namespace GetAccountResponse {
26
27
  facebookAdLibraryId: string | null;
27
28
  name: string;
28
29
  summary: string | null;
30
+ bio: string | null;
29
31
  verified: boolean;
30
32
  igUsername: string | null;
31
33
  igFollowers: number | null;
@@ -12,6 +12,7 @@ export declare namespace SearchBrandsResponse {
12
12
  facebookAdLibraryId: string | null;
13
13
  name: string;
14
14
  summary: string | null;
15
+ bio: string | null;
15
16
  category: string | null;
16
17
  location: string | null;
17
18
  language: string | null;
@@ -12,6 +12,7 @@ export declare namespace SearchCreatorsResponse {
12
12
  facebookAdLibraryId: string | null;
13
13
  name: string;
14
14
  summary: string | null;
15
+ bio: string | null;
15
16
  verified: boolean;
16
17
  igUsername: string | null;
17
18
  igFollowers: number | null;
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.1.15";
1
+ export declare const SDK_VERSION = "0.1.17";
@@ -1 +1 @@
1
- export const SDK_VERSION = "0.1.15";
1
+ export const SDK_VERSION = "0.1.17";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spyglasshq/sdk",
3
- "version": "0.1.15",
3
+ "version": "0.1.17",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",
package/reference.md CHANGED
@@ -361,7 +361,7 @@ Credits left on the API key's team, the credits included in the
361
361
  plan, and the current billing period. Granted credits count toward
362
362
  `remainingCredits` and not `planCredits`.
363
363
 
364
- Limited to 120 requests per minute per user.
364
+ Limited to 60 requests per minute per user.
365
365
  This call is free and does not use credits. It still responds when
366
366
  the team is out of credits.
367
367
  </dd>