@airweave/sdk 0.1.21 → 0.1.23
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/Client.d.ts +0 -3
- package/Client.js +0 -5
- package/api/resources/connections/client/Client.js +12 -12
- package/api/resources/destinations/client/Client.js +2 -2
- package/api/resources/embeddingModels/client/Client.js +2 -2
- package/api/resources/index.d.ts +0 -2
- package/api/resources/index.js +1 -3
- package/api/resources/sources/client/Client.js +2 -2
- package/api/resources/sync/client/Client.js +8 -8
- package/api/resources/users/client/Client.js +1 -1
- package/api/resources/whiteLabels/client/Client.js +8 -8
- package/api/types/index.d.ts +0 -2
- package/api/types/index.js +0 -2
- package/dist/Client.d.ts +0 -3
- package/dist/Client.js +0 -5
- package/dist/api/resources/connections/client/Client.js +12 -12
- package/dist/api/resources/destinations/client/Client.js +2 -2
- package/dist/api/resources/embeddingModels/client/Client.js +2 -2
- package/dist/api/resources/index.d.ts +0 -2
- package/dist/api/resources/index.js +1 -3
- package/dist/api/resources/sources/client/Client.js +2 -2
- package/dist/api/resources/sync/client/Client.js +8 -8
- package/dist/api/resources/users/client/Client.js +1 -1
- package/dist/api/resources/whiteLabels/client/Client.js +8 -8
- package/dist/api/types/index.d.ts +0 -2
- package/dist/api/types/index.js +0 -2
- package/dist/serialization/resources/index.d.ts +0 -1
- package/dist/serialization/resources/index.js +1 -2
- package/dist/serialization/types/index.d.ts +0 -2
- package/dist/serialization/types/index.js +0 -2
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +0 -144
- package/serialization/resources/index.d.ts +0 -1
- package/serialization/resources/index.js +1 -2
- package/serialization/types/index.d.ts +0 -2
- package/serialization/types/index.js +0 -2
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/resources/search/client/Client.d.ts +0 -69
- package/api/resources/search/client/Client.js +0 -245
- package/api/resources/search/client/index.d.ts +0 -1
- package/api/resources/search/client/index.js +0 -17
- package/api/resources/search/client/requests/SearchSearchObjectsGetRequest.d.ts +0 -23
- package/api/resources/search/client/requests/SearchSearchObjectsGetRequest.js +0 -5
- package/api/resources/search/client/requests/SearchSummarySearchSummaryGetRequest.d.ts +0 -31
- package/api/resources/search/client/requests/SearchSummarySearchSummaryGetRequest.js +0 -5
- package/api/resources/search/client/requests/index.d.ts +0 -2
- package/api/resources/search/client/requests/index.js +0 -2
- package/api/resources/search/index.d.ts +0 -1
- package/api/resources/search/index.js +0 -17
- package/api/types/SearchResult.d.ts +0 -11
- package/api/types/SearchResult.js +0 -5
- package/api/types/SearchSummary.d.ts +0 -11
- package/api/types/SearchSummary.js +0 -5
- package/dist/api/resources/search/client/Client.d.ts +0 -69
- package/dist/api/resources/search/client/Client.js +0 -245
- package/dist/api/resources/search/client/index.d.ts +0 -1
- package/dist/api/resources/search/client/index.js +0 -17
- package/dist/api/resources/search/client/requests/SearchSearchObjectsGetRequest.d.ts +0 -23
- package/dist/api/resources/search/client/requests/SearchSearchObjectsGetRequest.js +0 -5
- package/dist/api/resources/search/client/requests/SearchSummarySearchSummaryGetRequest.d.ts +0 -31
- package/dist/api/resources/search/client/requests/SearchSummarySearchSummaryGetRequest.js +0 -5
- package/dist/api/resources/search/client/requests/index.d.ts +0 -2
- package/dist/api/resources/search/client/requests/index.js +0 -2
- package/dist/api/resources/search/index.d.ts +0 -1
- package/dist/api/resources/search/index.js +0 -17
- package/dist/api/types/SearchResult.d.ts +0 -11
- package/dist/api/types/SearchResult.js +0 -5
- package/dist/api/types/SearchSummary.d.ts +0 -11
- package/dist/api/types/SearchSummary.js +0 -5
- package/dist/serialization/resources/search/client/index.d.ts +0 -1
- package/dist/serialization/resources/search/client/index.js +0 -37
- package/dist/serialization/resources/search/client/search.d.ts +0 -11
- package/dist/serialization/resources/search/client/search.js +0 -42
- package/dist/serialization/resources/search/index.d.ts +0 -1
- package/dist/serialization/resources/search/index.js +0 -17
- package/dist/serialization/types/SearchResult.d.ts +0 -14
- package/dist/serialization/types/SearchResult.js +0 -45
- package/dist/serialization/types/SearchSummary.d.ts +0 -14
- package/dist/serialization/types/SearchSummary.js +0 -45
- package/serialization/resources/search/client/index.d.ts +0 -1
- package/serialization/resources/search/client/index.js +0 -37
- package/serialization/resources/search/client/search.d.ts +0 -11
- package/serialization/resources/search/client/search.js +0 -42
- package/serialization/resources/search/index.d.ts +0 -1
- package/serialization/resources/search/index.js +0 -17
- package/serialization/types/SearchResult.d.ts +0 -14
- package/serialization/types/SearchResult.js +0 -45
- package/serialization/types/SearchSummary.d.ts +0 -14
- package/serialization/types/SearchSummary.js +0 -45
package/Client.d.ts
CHANGED
|
@@ -10,7 +10,6 @@ import { EmbeddingModels } from "./api/resources/embeddingModels/client/Client";
|
|
|
10
10
|
import { Connections } from "./api/resources/connections/client/Client";
|
|
11
11
|
import { Sync } from "./api/resources/sync/client/Client";
|
|
12
12
|
import { WhiteLabels } from "./api/resources/whiteLabels/client/Client";
|
|
13
|
-
import { Search } from "./api/resources/search/client/Client";
|
|
14
13
|
export declare namespace AirweaveSDKClient {
|
|
15
14
|
interface Options {
|
|
16
15
|
environment?: core.Supplier<environments.AirweaveSDKEnvironment | string>;
|
|
@@ -39,7 +38,6 @@ export declare class AirweaveSDKClient {
|
|
|
39
38
|
protected _connections: Connections | undefined;
|
|
40
39
|
protected _sync: Sync | undefined;
|
|
41
40
|
protected _whiteLabels: WhiteLabels | undefined;
|
|
42
|
-
protected _search: Search | undefined;
|
|
43
41
|
constructor(_options?: AirweaveSDKClient.Options);
|
|
44
42
|
get users(): Users;
|
|
45
43
|
get sources(): Sources;
|
|
@@ -48,5 +46,4 @@ export declare class AirweaveSDKClient {
|
|
|
48
46
|
get connections(): Connections;
|
|
49
47
|
get sync(): Sync;
|
|
50
48
|
get whiteLabels(): WhiteLabels;
|
|
51
|
-
get search(): Search;
|
|
52
49
|
}
|
package/Client.js
CHANGED
|
@@ -11,7 +11,6 @@ const Client_4 = require("./api/resources/embeddingModels/client/Client");
|
|
|
11
11
|
const Client_5 = require("./api/resources/connections/client/Client");
|
|
12
12
|
const Client_6 = require("./api/resources/sync/client/Client");
|
|
13
13
|
const Client_7 = require("./api/resources/whiteLabels/client/Client");
|
|
14
|
-
const Client_8 = require("./api/resources/search/client/Client");
|
|
15
14
|
class AirweaveSDKClient {
|
|
16
15
|
constructor(_options = {}) {
|
|
17
16
|
this._options = _options;
|
|
@@ -44,9 +43,5 @@ class AirweaveSDKClient {
|
|
|
44
43
|
var _a;
|
|
45
44
|
return ((_a = this._whiteLabels) !== null && _a !== void 0 ? _a : (this._whiteLabels = new Client_7.WhiteLabels(this._options)));
|
|
46
45
|
}
|
|
47
|
-
get search() {
|
|
48
|
-
var _a;
|
|
49
|
-
return ((_a = this._search) !== null && _a !== void 0 ? _a : (this._search = new Client_8.Search(this._options)));
|
|
50
|
-
}
|
|
51
46
|
}
|
|
52
47
|
exports.AirweaveSDKClient = AirweaveSDKClient;
|
|
@@ -88,7 +88,7 @@ class Connections {
|
|
|
88
88
|
method: "GET",
|
|
89
89
|
headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
|
|
90
90
|
? yield core.Supplier.get(this._options.apiKey)
|
|
91
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.1.
|
|
91
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.1.23", "User-Agent": "@airweave/sdk/0.1.23", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
92
92
|
contentType: "application/json",
|
|
93
93
|
requestType: "json",
|
|
94
94
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -161,7 +161,7 @@ class Connections {
|
|
|
161
161
|
method: "GET",
|
|
162
162
|
headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
|
|
163
163
|
? yield core.Supplier.get(this._options.apiKey)
|
|
164
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.1.
|
|
164
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.1.23", "User-Agent": "@airweave/sdk/0.1.23", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
165
165
|
contentType: "application/json",
|
|
166
166
|
requestType: "json",
|
|
167
167
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -236,7 +236,7 @@ class Connections {
|
|
|
236
236
|
method: "GET",
|
|
237
237
|
headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
|
|
238
238
|
? yield core.Supplier.get(this._options.apiKey)
|
|
239
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.1.
|
|
239
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.1.23", "User-Agent": "@airweave/sdk/0.1.23", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
240
240
|
contentType: "application/json",
|
|
241
241
|
requestType: "json",
|
|
242
242
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -328,7 +328,7 @@ class Connections {
|
|
|
328
328
|
method: "POST",
|
|
329
329
|
headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
|
|
330
330
|
? yield core.Supplier.get(this._options.apiKey)
|
|
331
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.1.
|
|
331
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.1.23", "User-Agent": "@airweave/sdk/0.1.23", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
332
332
|
contentType: "application/json",
|
|
333
333
|
requestType: "json",
|
|
334
334
|
body: serializers.BodyConnectIntegrationConnectionsConnectIntegrationTypeShortNamePost.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -404,7 +404,7 @@ class Connections {
|
|
|
404
404
|
method: "GET",
|
|
405
405
|
headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
|
|
406
406
|
? yield core.Supplier.get(this._options.apiKey)
|
|
407
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.1.
|
|
407
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.1.23", "User-Agent": "@airweave/sdk/0.1.23", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
408
408
|
contentType: "application/json",
|
|
409
409
|
requestType: "json",
|
|
410
410
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -481,7 +481,7 @@ class Connections {
|
|
|
481
481
|
method: "DELETE",
|
|
482
482
|
headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
|
|
483
483
|
? yield core.Supplier.get(this._options.apiKey)
|
|
484
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.1.
|
|
484
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.1.23", "User-Agent": "@airweave/sdk/0.1.23", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
485
485
|
contentType: "application/json",
|
|
486
486
|
requestType: "json",
|
|
487
487
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -556,7 +556,7 @@ class Connections {
|
|
|
556
556
|
method: "PUT",
|
|
557
557
|
headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
|
|
558
558
|
? yield core.Supplier.get(this._options.apiKey)
|
|
559
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.1.
|
|
559
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.1.23", "User-Agent": "@airweave/sdk/0.1.23", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
560
560
|
contentType: "application/json",
|
|
561
561
|
requestType: "json",
|
|
562
562
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -631,7 +631,7 @@ class Connections {
|
|
|
631
631
|
method: "PUT",
|
|
632
632
|
headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
|
|
633
633
|
? yield core.Supplier.get(this._options.apiKey)
|
|
634
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.1.
|
|
634
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.1.23", "User-Agent": "@airweave/sdk/0.1.23", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
635
635
|
contentType: "application/json",
|
|
636
636
|
requestType: "json",
|
|
637
637
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -707,7 +707,7 @@ class Connections {
|
|
|
707
707
|
method: "GET",
|
|
708
708
|
headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
|
|
709
709
|
? yield core.Supplier.get(this._options.apiKey)
|
|
710
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.1.
|
|
710
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.1.23", "User-Agent": "@airweave/sdk/0.1.23", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
711
711
|
contentType: "application/json",
|
|
712
712
|
queryParameters: _queryParams,
|
|
713
713
|
requestType: "json",
|
|
@@ -792,7 +792,7 @@ class Connections {
|
|
|
792
792
|
method: "POST",
|
|
793
793
|
headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
|
|
794
794
|
? yield core.Supplier.get(this._options.apiKey)
|
|
795
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.1.
|
|
795
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.1.23", "User-Agent": "@airweave/sdk/0.1.23", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
796
796
|
contentType: "application/json",
|
|
797
797
|
requestType: "json",
|
|
798
798
|
body: serializers.BodySendOauth2CodeConnectionsOauth2SourceCodePost.jsonOrThrow(request, {
|
|
@@ -873,7 +873,7 @@ class Connections {
|
|
|
873
873
|
method: "POST",
|
|
874
874
|
headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
|
|
875
875
|
? yield core.Supplier.get(this._options.apiKey)
|
|
876
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.1.
|
|
876
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.1.23", "User-Agent": "@airweave/sdk/0.1.23", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
877
877
|
contentType: "application/json",
|
|
878
878
|
requestType: "json",
|
|
879
879
|
body: serializers.connections.sendOauth2WhiteLabelCode.Request.jsonOrThrow(request, {
|
|
@@ -951,7 +951,7 @@ class Connections {
|
|
|
951
951
|
method: "GET",
|
|
952
952
|
headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
|
|
953
953
|
? yield core.Supplier.get(this._options.apiKey)
|
|
954
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.1.
|
|
954
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.1.23", "User-Agent": "@airweave/sdk/0.1.23", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
955
955
|
contentType: "application/json",
|
|
956
956
|
requestType: "json",
|
|
957
957
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -86,7 +86,7 @@ class Destinations {
|
|
|
86
86
|
method: "GET",
|
|
87
87
|
headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
|
|
88
88
|
? yield core.Supplier.get(this._options.apiKey)
|
|
89
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.1.
|
|
89
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.1.23", "User-Agent": "@airweave/sdk/0.1.23", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
90
90
|
contentType: "application/json",
|
|
91
91
|
requestType: "json",
|
|
92
92
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -161,7 +161,7 @@ class Destinations {
|
|
|
161
161
|
method: "GET",
|
|
162
162
|
headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
|
|
163
163
|
? yield core.Supplier.get(this._options.apiKey)
|
|
164
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.1.
|
|
164
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.1.23", "User-Agent": "@airweave/sdk/0.1.23", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
165
165
|
contentType: "application/json",
|
|
166
166
|
requestType: "json",
|
|
167
167
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -88,7 +88,7 @@ class EmbeddingModels {
|
|
|
88
88
|
method: "GET",
|
|
89
89
|
headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
|
|
90
90
|
? yield core.Supplier.get(this._options.apiKey)
|
|
91
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.1.
|
|
91
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.1.23", "User-Agent": "@airweave/sdk/0.1.23", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
92
92
|
contentType: "application/json",
|
|
93
93
|
requestType: "json",
|
|
94
94
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -161,7 +161,7 @@ class EmbeddingModels {
|
|
|
161
161
|
method: "GET",
|
|
162
162
|
headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
|
|
163
163
|
? yield core.Supplier.get(this._options.apiKey)
|
|
164
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.1.
|
|
164
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.1.23", "User-Agent": "@airweave/sdk/0.1.23", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
165
165
|
contentType: "application/json",
|
|
166
166
|
requestType: "json",
|
|
167
167
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
package/api/resources/index.d.ts
CHANGED
|
@@ -6,8 +6,6 @@ export * as destinations from "./destinations";
|
|
|
6
6
|
export * as embeddingModels from "./embeddingModels";
|
|
7
7
|
export * as connections from "./connections";
|
|
8
8
|
export * as whiteLabels from "./whiteLabels";
|
|
9
|
-
export * as search from "./search";
|
|
10
9
|
export * from "./connections/client/requests";
|
|
11
10
|
export * from "./sync/client/requests";
|
|
12
11
|
export * from "./whiteLabels/client/requests";
|
|
13
|
-
export * from "./search/client/requests";
|
package/api/resources/index.js
CHANGED
|
@@ -36,7 +36,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
36
36
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
37
37
|
};
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
39
|
+
exports.whiteLabels = exports.connections = exports.embeddingModels = exports.destinations = exports.sources = exports.users = exports.sync = void 0;
|
|
40
40
|
exports.sync = __importStar(require("./sync"));
|
|
41
41
|
__exportStar(require("./sync/types"), exports);
|
|
42
42
|
exports.users = __importStar(require("./users"));
|
|
@@ -45,8 +45,6 @@ exports.destinations = __importStar(require("./destinations"));
|
|
|
45
45
|
exports.embeddingModels = __importStar(require("./embeddingModels"));
|
|
46
46
|
exports.connections = __importStar(require("./connections"));
|
|
47
47
|
exports.whiteLabels = __importStar(require("./whiteLabels"));
|
|
48
|
-
exports.search = __importStar(require("./search"));
|
|
49
48
|
__exportStar(require("./connections/client/requests"), exports);
|
|
50
49
|
__exportStar(require("./sync/client/requests"), exports);
|
|
51
50
|
__exportStar(require("./whiteLabels/client/requests"), exports);
|
|
52
|
-
__exportStar(require("./search/client/requests"), exports);
|
|
@@ -88,7 +88,7 @@ class Sources {
|
|
|
88
88
|
method: "GET",
|
|
89
89
|
headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
|
|
90
90
|
? yield core.Supplier.get(this._options.apiKey)
|
|
91
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.1.
|
|
91
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.1.23", "User-Agent": "@airweave/sdk/0.1.23", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
92
92
|
contentType: "application/json",
|
|
93
93
|
requestType: "json",
|
|
94
94
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -161,7 +161,7 @@ class Sources {
|
|
|
161
161
|
method: "GET",
|
|
162
162
|
headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
|
|
163
163
|
? yield core.Supplier.get(this._options.apiKey)
|
|
164
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.1.
|
|
164
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.1.23", "User-Agent": "@airweave/sdk/0.1.23", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
165
165
|
contentType: "application/json",
|
|
166
166
|
requestType: "json",
|
|
167
167
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -101,7 +101,7 @@ class Sync {
|
|
|
101
101
|
method: "GET",
|
|
102
102
|
headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
|
|
103
103
|
? yield core.Supplier.get(this._options.apiKey)
|
|
104
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.1.
|
|
104
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.1.23", "User-Agent": "@airweave/sdk/0.1.23", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
105
105
|
contentType: "application/json",
|
|
106
106
|
queryParameters: _queryParams,
|
|
107
107
|
requestType: "json",
|
|
@@ -181,7 +181,7 @@ class Sync {
|
|
|
181
181
|
method: "POST",
|
|
182
182
|
headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
|
|
183
183
|
? yield core.Supplier.get(this._options.apiKey)
|
|
184
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.1.
|
|
184
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.1.23", "User-Agent": "@airweave/sdk/0.1.23", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
185
185
|
contentType: "application/json",
|
|
186
186
|
requestType: "json",
|
|
187
187
|
body: serializers.SyncCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -257,7 +257,7 @@ class Sync {
|
|
|
257
257
|
method: "GET",
|
|
258
258
|
headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
|
|
259
259
|
? yield core.Supplier.get(this._options.apiKey)
|
|
260
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.1.
|
|
260
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.1.23", "User-Agent": "@airweave/sdk/0.1.23", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
261
261
|
contentType: "application/json",
|
|
262
262
|
requestType: "json",
|
|
263
263
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -339,7 +339,7 @@ class Sync {
|
|
|
339
339
|
method: "DELETE",
|
|
340
340
|
headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
|
|
341
341
|
? yield core.Supplier.get(this._options.apiKey)
|
|
342
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.1.
|
|
342
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.1.23", "User-Agent": "@airweave/sdk/0.1.23", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
343
343
|
contentType: "application/json",
|
|
344
344
|
queryParameters: _queryParams,
|
|
345
345
|
requestType: "json",
|
|
@@ -416,7 +416,7 @@ class Sync {
|
|
|
416
416
|
method: "POST",
|
|
417
417
|
headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
|
|
418
418
|
? yield core.Supplier.get(this._options.apiKey)
|
|
419
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.1.
|
|
419
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.1.23", "User-Agent": "@airweave/sdk/0.1.23", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
420
420
|
contentType: "application/json",
|
|
421
421
|
requestType: "json",
|
|
422
422
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -491,7 +491,7 @@ class Sync {
|
|
|
491
491
|
method: "GET",
|
|
492
492
|
headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
|
|
493
493
|
? yield core.Supplier.get(this._options.apiKey)
|
|
494
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.1.
|
|
494
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.1.23", "User-Agent": "@airweave/sdk/0.1.23", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
495
495
|
contentType: "application/json",
|
|
496
496
|
requestType: "json",
|
|
497
497
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -573,7 +573,7 @@ class Sync {
|
|
|
573
573
|
method: "GET",
|
|
574
574
|
headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
|
|
575
575
|
? yield core.Supplier.get(this._options.apiKey)
|
|
576
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.1.
|
|
576
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.1.23", "User-Agent": "@airweave/sdk/0.1.23", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
577
577
|
contentType: "application/json",
|
|
578
578
|
queryParameters: _queryParams,
|
|
579
579
|
requestType: "json",
|
|
@@ -648,7 +648,7 @@ class Sync {
|
|
|
648
648
|
method: "GET",
|
|
649
649
|
headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
|
|
650
650
|
? yield core.Supplier.get(this._options.apiKey)
|
|
651
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.1.
|
|
651
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.1.23", "User-Agent": "@airweave/sdk/0.1.23", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
652
652
|
contentType: "application/json",
|
|
653
653
|
requestType: "json",
|
|
654
654
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -85,7 +85,7 @@ class Users {
|
|
|
85
85
|
method: "GET",
|
|
86
86
|
headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
|
|
87
87
|
? yield core.Supplier.get(this._options.apiKey)
|
|
88
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.1.
|
|
88
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.1.23", "User-Agent": "@airweave/sdk/0.1.23", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
89
89
|
contentType: "application/json",
|
|
90
90
|
requestType: "json",
|
|
91
91
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -86,7 +86,7 @@ class WhiteLabels {
|
|
|
86
86
|
method: "GET",
|
|
87
87
|
headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
|
|
88
88
|
? yield core.Supplier.get(this._options.apiKey)
|
|
89
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.1.
|
|
89
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.1.23", "User-Agent": "@airweave/sdk/0.1.23", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
90
90
|
contentType: "application/json",
|
|
91
91
|
requestType: "json",
|
|
92
92
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -167,7 +167,7 @@ class WhiteLabels {
|
|
|
167
167
|
method: "POST",
|
|
168
168
|
headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
|
|
169
169
|
? yield core.Supplier.get(this._options.apiKey)
|
|
170
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.1.
|
|
170
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.1.23", "User-Agent": "@airweave/sdk/0.1.23", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
171
171
|
contentType: "application/json",
|
|
172
172
|
requestType: "json",
|
|
173
173
|
body: serializers.WhiteLabelCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -243,7 +243,7 @@ class WhiteLabels {
|
|
|
243
243
|
method: "GET",
|
|
244
244
|
headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
|
|
245
245
|
? yield core.Supplier.get(this._options.apiKey)
|
|
246
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.1.
|
|
246
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.1.23", "User-Agent": "@airweave/sdk/0.1.23", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
247
247
|
contentType: "application/json",
|
|
248
248
|
requestType: "json",
|
|
249
249
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -320,7 +320,7 @@ class WhiteLabels {
|
|
|
320
320
|
method: "PUT",
|
|
321
321
|
headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
|
|
322
322
|
? yield core.Supplier.get(this._options.apiKey)
|
|
323
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.1.
|
|
323
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.1.23", "User-Agent": "@airweave/sdk/0.1.23", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
324
324
|
contentType: "application/json",
|
|
325
325
|
requestType: "json",
|
|
326
326
|
body: serializers.WhiteLabelUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -396,7 +396,7 @@ class WhiteLabels {
|
|
|
396
396
|
method: "DELETE",
|
|
397
397
|
headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
|
|
398
398
|
? yield core.Supplier.get(this._options.apiKey)
|
|
399
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.1.
|
|
399
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.1.23", "User-Agent": "@airweave/sdk/0.1.23", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
400
400
|
contentType: "application/json",
|
|
401
401
|
requestType: "json",
|
|
402
402
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -471,7 +471,7 @@ class WhiteLabels {
|
|
|
471
471
|
method: "GET",
|
|
472
472
|
headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
|
|
473
473
|
? yield core.Supplier.get(this._options.apiKey)
|
|
474
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.1.
|
|
474
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.1.23", "User-Agent": "@airweave/sdk/0.1.23", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
475
475
|
contentType: "application/json",
|
|
476
476
|
requestType: "json",
|
|
477
477
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -548,7 +548,7 @@ class WhiteLabels {
|
|
|
548
548
|
method: "POST",
|
|
549
549
|
headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
|
|
550
550
|
? yield core.Supplier.get(this._options.apiKey)
|
|
551
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.1.
|
|
551
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.1.23", "User-Agent": "@airweave/sdk/0.1.23", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
552
552
|
contentType: "application/json",
|
|
553
553
|
requestType: "json",
|
|
554
554
|
body: serializers.whiteLabels.exchangeWhiteLabelOauth2Code.Request.jsonOrThrow(request, {
|
|
@@ -626,7 +626,7 @@ class WhiteLabels {
|
|
|
626
626
|
method: "GET",
|
|
627
627
|
headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
|
|
628
628
|
? yield core.Supplier.get(this._options.apiKey)
|
|
629
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.1.
|
|
629
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.1.23", "User-Agent": "@airweave/sdk/0.1.23", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
630
630
|
contentType: "application/json",
|
|
631
631
|
requestType: "json",
|
|
632
632
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
package/api/types/index.d.ts
CHANGED
|
@@ -17,8 +17,6 @@ export * from "./EmbeddingModelWithConfigFields";
|
|
|
17
17
|
export * from "./Fields";
|
|
18
18
|
export * from "./HttpValidationError";
|
|
19
19
|
export * from "./IntegrationType";
|
|
20
|
-
export * from "./SearchResult";
|
|
21
|
-
export * from "./SearchSummary";
|
|
22
20
|
export * from "./Source";
|
|
23
21
|
export * from "./SourceWithConfigFields";
|
|
24
22
|
export * from "./Sync";
|
package/api/types/index.js
CHANGED
|
@@ -33,8 +33,6 @@ __exportStar(require("./EmbeddingModelWithConfigFields"), exports);
|
|
|
33
33
|
__exportStar(require("./Fields"), exports);
|
|
34
34
|
__exportStar(require("./HttpValidationError"), exports);
|
|
35
35
|
__exportStar(require("./IntegrationType"), exports);
|
|
36
|
-
__exportStar(require("./SearchResult"), exports);
|
|
37
|
-
__exportStar(require("./SearchSummary"), exports);
|
|
38
36
|
__exportStar(require("./Source"), exports);
|
|
39
37
|
__exportStar(require("./SourceWithConfigFields"), exports);
|
|
40
38
|
__exportStar(require("./Sync"), exports);
|
package/dist/Client.d.ts
CHANGED
|
@@ -10,7 +10,6 @@ import { EmbeddingModels } from "./api/resources/embeddingModels/client/Client";
|
|
|
10
10
|
import { Connections } from "./api/resources/connections/client/Client";
|
|
11
11
|
import { Sync } from "./api/resources/sync/client/Client";
|
|
12
12
|
import { WhiteLabels } from "./api/resources/whiteLabels/client/Client";
|
|
13
|
-
import { Search } from "./api/resources/search/client/Client";
|
|
14
13
|
export declare namespace AirweaveSDKClient {
|
|
15
14
|
interface Options {
|
|
16
15
|
environment?: core.Supplier<environments.AirweaveSDKEnvironment | string>;
|
|
@@ -39,7 +38,6 @@ export declare class AirweaveSDKClient {
|
|
|
39
38
|
protected _connections: Connections | undefined;
|
|
40
39
|
protected _sync: Sync | undefined;
|
|
41
40
|
protected _whiteLabels: WhiteLabels | undefined;
|
|
42
|
-
protected _search: Search | undefined;
|
|
43
41
|
constructor(_options?: AirweaveSDKClient.Options);
|
|
44
42
|
get users(): Users;
|
|
45
43
|
get sources(): Sources;
|
|
@@ -48,5 +46,4 @@ export declare class AirweaveSDKClient {
|
|
|
48
46
|
get connections(): Connections;
|
|
49
47
|
get sync(): Sync;
|
|
50
48
|
get whiteLabels(): WhiteLabels;
|
|
51
|
-
get search(): Search;
|
|
52
49
|
}
|
package/dist/Client.js
CHANGED
|
@@ -11,7 +11,6 @@ const Client_4 = require("./api/resources/embeddingModels/client/Client");
|
|
|
11
11
|
const Client_5 = require("./api/resources/connections/client/Client");
|
|
12
12
|
const Client_6 = require("./api/resources/sync/client/Client");
|
|
13
13
|
const Client_7 = require("./api/resources/whiteLabels/client/Client");
|
|
14
|
-
const Client_8 = require("./api/resources/search/client/Client");
|
|
15
14
|
class AirweaveSDKClient {
|
|
16
15
|
constructor(_options = {}) {
|
|
17
16
|
this._options = _options;
|
|
@@ -44,9 +43,5 @@ class AirweaveSDKClient {
|
|
|
44
43
|
var _a;
|
|
45
44
|
return ((_a = this._whiteLabels) !== null && _a !== void 0 ? _a : (this._whiteLabels = new Client_7.WhiteLabels(this._options)));
|
|
46
45
|
}
|
|
47
|
-
get search() {
|
|
48
|
-
var _a;
|
|
49
|
-
return ((_a = this._search) !== null && _a !== void 0 ? _a : (this._search = new Client_8.Search(this._options)));
|
|
50
|
-
}
|
|
51
46
|
}
|
|
52
47
|
exports.AirweaveSDKClient = AirweaveSDKClient;
|