@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.
- package/dist/cjs/BaseClient.js +2 -2
- package/dist/cjs/Client.d.ts +1 -1
- package/dist/cjs/Client.js +1 -1
- package/dist/cjs/api/resources/account/client/requests/CampaignsAccountRequest.d.ts +1 -1
- package/dist/cjs/api/resources/account/client/requests/CollabsAccountRequest.d.ts +1 -1
- package/dist/cjs/api/resources/account/types/GetAccountResponse.d.ts +2 -0
- package/dist/cjs/api/types/SearchBrandsResponse.d.ts +1 -0
- package/dist/cjs/api/types/SearchCreatorsResponse.d.ts +1 -0
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/BaseClient.mjs +2 -2
- package/dist/esm/Client.d.mts +1 -1
- package/dist/esm/Client.mjs +1 -1
- package/dist/esm/api/resources/account/client/requests/CampaignsAccountRequest.d.mts +1 -1
- package/dist/esm/api/resources/account/client/requests/CollabsAccountRequest.d.mts +1 -1
- package/dist/esm/api/resources/account/types/GetAccountResponse.d.mts +2 -0
- package/dist/esm/api/types/SearchBrandsResponse.d.mts +1 -0
- package/dist/esm/api/types/SearchCreatorsResponse.d.mts +1 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +1 -1
package/dist/cjs/BaseClient.js
CHANGED
|
@@ -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.
|
|
47
|
-
"User-Agent": "@spyglasshq/sdk/0.1.
|
|
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);
|
package/dist/cjs/Client.d.ts
CHANGED
|
@@ -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
|
|
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
|
*
|
package/dist/cjs/Client.js
CHANGED
|
@@ -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
|
|
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/
|
|
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;
|
|
@@ -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;
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.1.
|
|
1
|
+
export declare const SDK_VERSION = "0.1.17";
|
package/dist/cjs/version.js
CHANGED
package/dist/esm/BaseClient.mjs
CHANGED
|
@@ -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.
|
|
10
|
-
"User-Agent": "@spyglasshq/sdk/0.1.
|
|
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);
|
package/dist/esm/Client.d.mts
CHANGED
|
@@ -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
|
|
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
|
*
|
package/dist/esm/Client.mjs
CHANGED
|
@@ -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
|
|
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/
|
|
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;
|
|
@@ -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;
|
package/dist/esm/version.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.1.
|
|
1
|
+
export declare const SDK_VERSION = "0.1.17";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "0.1.
|
|
1
|
+
export const SDK_VERSION = "0.1.17";
|
package/package.json
CHANGED
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
|
|
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>
|