@spyglasshq/sdk 0.1.1 → 0.1.2
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/api/resources/search/client/Client.d.ts +8 -4
- package/dist/cjs/api/resources/search/client/Client.js +8 -4
- 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/api/resources/search/client/Client.d.mts +8 -4
- package/dist/esm/api/resources/search/client/Client.mjs +8 -4
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +8 -4
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.2",
|
|
47
|
+
"User-Agent": "@spyglasshq/sdk/0.1.2",
|
|
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);
|
|
@@ -14,7 +14,10 @@ export declare class SearchClient {
|
|
|
14
14
|
protected readonly _options: NormalizedClientOptionsWithAuth<SearchClient.Options>;
|
|
15
15
|
constructor(options: SearchClient.Options);
|
|
16
16
|
/**
|
|
17
|
-
* Find brands
|
|
17
|
+
* Find brands.
|
|
18
|
+
* Search semantically with `query`, or look them up by name, id, or
|
|
19
|
+
* social handle. Either way, you can also narrow the results with
|
|
20
|
+
* filters such as product taxonomy, location, and follower count.
|
|
18
21
|
*
|
|
19
22
|
* Send one search field. Each field is its own mode:
|
|
20
23
|
*
|
|
@@ -71,9 +74,10 @@ export declare class SearchClient {
|
|
|
71
74
|
brands(request?: spyglass.SearchBrandsRequest, requestOptions?: SearchClient.RequestOptions): core.HttpResponsePromise<spyglass.SearchBrandsResponse>;
|
|
72
75
|
private __brands;
|
|
73
76
|
/**
|
|
74
|
-
* Find creators
|
|
75
|
-
*
|
|
76
|
-
*
|
|
77
|
+
* Find creators.
|
|
78
|
+
* Search semantically with `query`, or look them up by name, id, or
|
|
79
|
+
* social handle. Either way, you can also narrow the results with
|
|
80
|
+
* filters such as audience profile, location, and follower count.
|
|
77
81
|
*
|
|
78
82
|
* Send one search field. Each field is its own mode:
|
|
79
83
|
*
|
|
@@ -60,7 +60,10 @@ class SearchClient {
|
|
|
60
60
|
this._options = (0, BaseClient_js_1.normalizeClientOptionsWithAuth)(options);
|
|
61
61
|
}
|
|
62
62
|
/**
|
|
63
|
-
* Find brands
|
|
63
|
+
* Find brands.
|
|
64
|
+
* Search semantically with `query`, or look them up by name, id, or
|
|
65
|
+
* social handle. Either way, you can also narrow the results with
|
|
66
|
+
* filters such as product taxonomy, location, and follower count.
|
|
64
67
|
*
|
|
65
68
|
* Send one search field. Each field is its own mode:
|
|
66
69
|
*
|
|
@@ -169,9 +172,10 @@ class SearchClient {
|
|
|
169
172
|
});
|
|
170
173
|
}
|
|
171
174
|
/**
|
|
172
|
-
* Find creators
|
|
173
|
-
*
|
|
174
|
-
*
|
|
175
|
+
* Find creators.
|
|
176
|
+
* Search semantically with `query`, or look them up by name, id, or
|
|
177
|
+
* social handle. Either way, you can also narrow the results with
|
|
178
|
+
* filters such as audience profile, location, and follower count.
|
|
175
179
|
*
|
|
176
180
|
* Send one search field. Each field is its own mode:
|
|
177
181
|
*
|
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.2";
|
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.2",
|
|
10
|
+
"User-Agent": "@spyglasshq/sdk/0.1.2",
|
|
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);
|
|
@@ -14,7 +14,10 @@ export declare class SearchClient {
|
|
|
14
14
|
protected readonly _options: NormalizedClientOptionsWithAuth<SearchClient.Options>;
|
|
15
15
|
constructor(options: SearchClient.Options);
|
|
16
16
|
/**
|
|
17
|
-
* Find brands
|
|
17
|
+
* Find brands.
|
|
18
|
+
* Search semantically with `query`, or look them up by name, id, or
|
|
19
|
+
* social handle. Either way, you can also narrow the results with
|
|
20
|
+
* filters such as product taxonomy, location, and follower count.
|
|
18
21
|
*
|
|
19
22
|
* Send one search field. Each field is its own mode:
|
|
20
23
|
*
|
|
@@ -71,9 +74,10 @@ export declare class SearchClient {
|
|
|
71
74
|
brands(request?: spyglass.SearchBrandsRequest, requestOptions?: SearchClient.RequestOptions): core.HttpResponsePromise<spyglass.SearchBrandsResponse>;
|
|
72
75
|
private __brands;
|
|
73
76
|
/**
|
|
74
|
-
* Find creators
|
|
75
|
-
*
|
|
76
|
-
*
|
|
77
|
+
* Find creators.
|
|
78
|
+
* Search semantically with `query`, or look them up by name, id, or
|
|
79
|
+
* social handle. Either way, you can also narrow the results with
|
|
80
|
+
* filters such as audience profile, location, and follower count.
|
|
77
81
|
*
|
|
78
82
|
* Send one search field. Each field is its own mode:
|
|
79
83
|
*
|
|
@@ -24,7 +24,10 @@ export class SearchClient {
|
|
|
24
24
|
this._options = normalizeClientOptionsWithAuth(options);
|
|
25
25
|
}
|
|
26
26
|
/**
|
|
27
|
-
* Find brands
|
|
27
|
+
* Find brands.
|
|
28
|
+
* Search semantically with `query`, or look them up by name, id, or
|
|
29
|
+
* social handle. Either way, you can also narrow the results with
|
|
30
|
+
* filters such as product taxonomy, location, and follower count.
|
|
28
31
|
*
|
|
29
32
|
* Send one search field. Each field is its own mode:
|
|
30
33
|
*
|
|
@@ -133,9 +136,10 @@ export class SearchClient {
|
|
|
133
136
|
});
|
|
134
137
|
}
|
|
135
138
|
/**
|
|
136
|
-
* Find creators
|
|
137
|
-
*
|
|
138
|
-
*
|
|
139
|
+
* Find creators.
|
|
140
|
+
* Search semantically with `query`, or look them up by name, id, or
|
|
141
|
+
* social handle. Either way, you can also narrow the results with
|
|
142
|
+
* filters such as audience profile, location, and follower count.
|
|
139
143
|
*
|
|
140
144
|
* Send one search field. Each field is its own mode:
|
|
141
145
|
*
|
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.2";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "0.1.
|
|
1
|
+
export const SDK_VERSION = "0.1.2";
|
package/package.json
CHANGED
package/reference.md
CHANGED
|
@@ -12,7 +12,10 @@
|
|
|
12
12
|
<dl>
|
|
13
13
|
<dd>
|
|
14
14
|
|
|
15
|
-
Find brands
|
|
15
|
+
Find brands.
|
|
16
|
+
Search semantically with `query`, or look them up by name, id, or
|
|
17
|
+
social handle. Either way, you can also narrow the results with
|
|
18
|
+
filters such as product taxonomy, location, and follower count.
|
|
16
19
|
|
|
17
20
|
Send one search field. Each field is its own mode:
|
|
18
21
|
|
|
@@ -110,9 +113,10 @@ await client.search.brands({
|
|
|
110
113
|
<dl>
|
|
111
114
|
<dd>
|
|
112
115
|
|
|
113
|
-
Find creators
|
|
114
|
-
|
|
115
|
-
|
|
116
|
+
Find creators.
|
|
117
|
+
Search semantically with `query`, or look them up by name, id, or
|
|
118
|
+
social handle. Either way, you can also narrow the results with
|
|
119
|
+
filters such as audience profile, location, and follower count.
|
|
116
120
|
|
|
117
121
|
Send one search field. Each field is its own mode:
|
|
118
122
|
|