@airweave/sdk 0.1.17 → 0.1.19
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/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/search/client/Client.d.ts +6 -8
- package/api/resources/search/client/Client.js +36 -22
- package/api/resources/search/client/requests/SearchSearchObjectsGetRequest.d.ts +23 -0
- package/api/resources/search/client/requests/SearchSummarySearchSummaryGetRequest.d.ts +31 -0
- package/api/resources/search/client/requests/index.d.ts +2 -2
- 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/SearchSummary.d.ts +11 -0
- package/api/types/index.d.ts +1 -1
- package/api/types/index.js +1 -1
- 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/search/client/Client.d.ts +6 -8
- package/dist/api/resources/search/client/Client.js +36 -22
- package/dist/api/resources/search/client/requests/SearchSearchObjectsGetRequest.d.ts +23 -0
- package/dist/api/resources/search/client/requests/SearchSummarySearchSummaryGetRequest.d.ts +31 -0
- package/dist/api/resources/search/client/requests/index.d.ts +2 -2
- 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/SearchSummary.d.ts +11 -0
- package/dist/api/types/index.d.ts +1 -1
- package/dist/api/types/index.js +1 -1
- package/dist/serialization/resources/search/client/index.d.ts +0 -1
- package/dist/serialization/resources/search/client/index.js +1 -2
- package/dist/serialization/resources/search/client/search.d.ts +0 -5
- package/dist/serialization/resources/search/client/search.js +1 -3
- package/dist/serialization/types/SearchSummary.d.ts +14 -0
- package/dist/serialization/types/{MetadataSearchFilter.js → SearchSummary.js} +5 -5
- package/dist/serialization/types/index.d.ts +1 -1
- package/dist/serialization/types/index.js +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +3 -5
- package/serialization/resources/search/client/index.d.ts +0 -1
- package/serialization/resources/search/client/index.js +1 -2
- package/serialization/resources/search/client/search.d.ts +0 -5
- package/serialization/resources/search/client/search.js +1 -3
- package/serialization/types/SearchSummary.d.ts +14 -0
- package/serialization/types/{MetadataSearchFilter.js → SearchSummary.js} +5 -5
- package/serialization/types/index.d.ts +1 -1
- package/serialization/types/index.js +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/resources/search/client/requests/SearchSearchObjectsPostRequest.d.ts +0 -16
- package/api/resources/search/client/requests/SearchSummarySearchSummaryPostRequest.d.ts +0 -16
- package/api/types/MetadataSearchFilter.d.ts +0 -11
- package/dist/api/resources/search/client/requests/SearchSearchObjectsPostRequest.d.ts +0 -16
- package/dist/api/resources/search/client/requests/SearchSummarySearchSummaryPostRequest.d.ts +0 -16
- package/dist/api/types/MetadataSearchFilter.d.ts +0 -11
- package/dist/serialization/resources/search/client/searchSummary.d.ts +0 -15
- package/dist/serialization/resources/search/client/searchSummary.js +0 -43
- package/dist/serialization/types/MetadataSearchFilter.d.ts +0 -14
- package/serialization/resources/search/client/searchSummary.d.ts +0 -15
- package/serialization/resources/search/client/searchSummary.js +0 -43
- package/serialization/types/MetadataSearchFilter.d.ts +0 -14
- /package/api/resources/search/client/requests/{SearchSearchObjectsPostRequest.js → SearchSearchObjectsGetRequest.js} +0 -0
- /package/api/resources/search/client/requests/{SearchSummarySearchSummaryPostRequest.js → SearchSummarySearchSummaryGetRequest.js} +0 -0
- /package/api/types/{MetadataSearchFilter.js → SearchSummary.js} +0 -0
- /package/dist/api/resources/search/client/requests/{SearchSearchObjectsPostRequest.js → SearchSearchObjectsGetRequest.js} +0 -0
- /package/dist/api/resources/search/client/requests/{SearchSummarySearchSummaryPostRequest.js → SearchSummarySearchSummaryGetRequest.js} +0 -0
- /package/dist/api/types/{MetadataSearchFilter.js → SearchSummary.js} +0 -0
|
@@ -77,7 +77,7 @@ class WhiteLabels {
|
|
|
77
77
|
method: "GET",
|
|
78
78
|
headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
|
|
79
79
|
? yield core.Supplier.get(this._options.apiKey)
|
|
80
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.1.
|
|
80
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.1.19", "User-Agent": "@airweave/sdk/0.1.19", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
81
81
|
contentType: "application/json",
|
|
82
82
|
requestType: "json",
|
|
83
83
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -148,7 +148,7 @@ class WhiteLabels {
|
|
|
148
148
|
method: "POST",
|
|
149
149
|
headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
|
|
150
150
|
? yield core.Supplier.get(this._options.apiKey)
|
|
151
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.1.
|
|
151
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.1.19", "User-Agent": "@airweave/sdk/0.1.19", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
152
152
|
contentType: "application/json",
|
|
153
153
|
requestType: "json",
|
|
154
154
|
body: serializers.WhiteLabelCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -214,7 +214,7 @@ class WhiteLabels {
|
|
|
214
214
|
method: "GET",
|
|
215
215
|
headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
|
|
216
216
|
? yield core.Supplier.get(this._options.apiKey)
|
|
217
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.1.
|
|
217
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.1.19", "User-Agent": "@airweave/sdk/0.1.19", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
218
218
|
contentType: "application/json",
|
|
219
219
|
requestType: "json",
|
|
220
220
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -280,7 +280,7 @@ class WhiteLabels {
|
|
|
280
280
|
method: "PUT",
|
|
281
281
|
headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
|
|
282
282
|
? yield core.Supplier.get(this._options.apiKey)
|
|
283
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.1.
|
|
283
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.1.19", "User-Agent": "@airweave/sdk/0.1.19", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
284
284
|
contentType: "application/json",
|
|
285
285
|
requestType: "json",
|
|
286
286
|
body: serializers.WhiteLabelUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -346,7 +346,7 @@ class WhiteLabels {
|
|
|
346
346
|
method: "DELETE",
|
|
347
347
|
headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
|
|
348
348
|
? yield core.Supplier.get(this._options.apiKey)
|
|
349
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.1.
|
|
349
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.1.19", "User-Agent": "@airweave/sdk/0.1.19", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
350
350
|
contentType: "application/json",
|
|
351
351
|
requestType: "json",
|
|
352
352
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -411,7 +411,7 @@ class WhiteLabels {
|
|
|
411
411
|
method: "GET",
|
|
412
412
|
headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
|
|
413
413
|
? yield core.Supplier.get(this._options.apiKey)
|
|
414
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.1.
|
|
414
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.1.19", "User-Agent": "@airweave/sdk/0.1.19", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
415
415
|
contentType: "application/json",
|
|
416
416
|
requestType: "json",
|
|
417
417
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -477,7 +477,7 @@ class WhiteLabels {
|
|
|
477
477
|
method: "POST",
|
|
478
478
|
headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
|
|
479
479
|
? yield core.Supplier.get(this._options.apiKey)
|
|
480
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.1.
|
|
480
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.1.19", "User-Agent": "@airweave/sdk/0.1.19", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
481
481
|
contentType: "application/json",
|
|
482
482
|
requestType: "json",
|
|
483
483
|
body: serializers.whiteLabels.exchangeWhiteLabelOauth2Code.Request.jsonOrThrow(request, {
|
|
@@ -545,7 +545,7 @@ class WhiteLabels {
|
|
|
545
545
|
method: "GET",
|
|
546
546
|
headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
|
|
547
547
|
? yield core.Supplier.get(this._options.apiKey)
|
|
548
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.1.
|
|
548
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.1.19", "User-Agent": "@airweave/sdk/0.1.19", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
549
549
|
contentType: "application/json",
|
|
550
550
|
requestType: "json",
|
|
551
551
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -17,8 +17,8 @@ export * from "./EmbeddingModelWithConfigFields";
|
|
|
17
17
|
export * from "./Fields";
|
|
18
18
|
export * from "./HttpValidationError";
|
|
19
19
|
export * from "./IntegrationType";
|
|
20
|
-
export * from "./MetadataSearchFilter";
|
|
21
20
|
export * from "./SearchResult";
|
|
21
|
+
export * from "./SearchSummary";
|
|
22
22
|
export * from "./Source";
|
|
23
23
|
export * from "./SourceWithConfigFields";
|
|
24
24
|
export * from "./Sync";
|
package/dist/api/types/index.js
CHANGED
|
@@ -33,8 +33,8 @@ __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("./MetadataSearchFilter"), exports);
|
|
37
36
|
__exportStar(require("./SearchResult"), exports);
|
|
37
|
+
__exportStar(require("./SearchSummary"), exports);
|
|
38
38
|
__exportStar(require("./Source"), exports);
|
|
39
39
|
__exportStar(require("./SourceWithConfigFields"), exports);
|
|
40
40
|
__exportStar(require("./Sync"), exports);
|
|
@@ -33,6 +33,5 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
33
33
|
};
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
exports.search =
|
|
37
|
-
exports.searchSummary = __importStar(require("./searchSummary"));
|
|
36
|
+
exports.search = void 0;
|
|
38
37
|
exports.search = __importStar(require("./search"));
|
|
@@ -4,12 +4,7 @@
|
|
|
4
4
|
import * as serializers from "../../../index";
|
|
5
5
|
import * as AirweaveSDK from "../../../../api/index";
|
|
6
6
|
import * as core from "../../../../core";
|
|
7
|
-
import { MetadataSearchFilter } from "../../../types/MetadataSearchFilter";
|
|
8
7
|
import { SearchResult } from "../../../types/SearchResult";
|
|
9
|
-
export declare const Request: core.serialization.Schema<serializers.search.search.Request.Raw, AirweaveSDK.MetadataSearchFilter[] | undefined>;
|
|
10
|
-
export declare namespace Request {
|
|
11
|
-
type Raw = MetadataSearchFilter.Raw[] | null | undefined;
|
|
12
|
-
}
|
|
13
8
|
export declare const Response: core.serialization.Schema<serializers.search.search.Response.Raw, AirweaveSDK.SearchResult[]>;
|
|
14
9
|
export declare namespace Response {
|
|
15
10
|
type Raw = SearchResult.Raw[];
|
|
@@ -36,9 +36,7 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.Response =
|
|
39
|
+
exports.Response = void 0;
|
|
40
40
|
const core = __importStar(require("../../../../core"));
|
|
41
|
-
const MetadataSearchFilter_1 = require("../../../types/MetadataSearchFilter");
|
|
42
41
|
const SearchResult_1 = require("../../../types/SearchResult");
|
|
43
|
-
exports.Request = core.serialization.list(MetadataSearchFilter_1.MetadataSearchFilter).optional();
|
|
44
42
|
exports.Response = core.serialization.list(SearchResult_1.SearchResult);
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as AirweaveSDK from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const SearchSummary: core.serialization.ObjectSchema<serializers.SearchSummary.Raw, AirweaveSDK.SearchSummary>;
|
|
8
|
+
export declare namespace SearchSummary {
|
|
9
|
+
interface Raw {
|
|
10
|
+
summary: string;
|
|
11
|
+
found_entity_ids: string[];
|
|
12
|
+
search_metadata: Record<string, unknown>;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -36,10 +36,10 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
39
|
+
exports.SearchSummary = void 0;
|
|
40
40
|
const core = __importStar(require("../../core"));
|
|
41
|
-
exports.
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
41
|
+
exports.SearchSummary = core.serialization.object({
|
|
42
|
+
summary: core.serialization.string(),
|
|
43
|
+
foundEntityIds: core.serialization.property("found_entity_ids", core.serialization.list(core.serialization.string())),
|
|
44
|
+
searchMetadata: core.serialization.property("search_metadata", core.serialization.record(core.serialization.string(), core.serialization.unknown())),
|
|
45
45
|
});
|
|
@@ -17,8 +17,8 @@ export * from "./EmbeddingModelWithConfigFields";
|
|
|
17
17
|
export * from "./Fields";
|
|
18
18
|
export * from "./HttpValidationError";
|
|
19
19
|
export * from "./IntegrationType";
|
|
20
|
-
export * from "./MetadataSearchFilter";
|
|
21
20
|
export * from "./SearchResult";
|
|
21
|
+
export * from "./SearchSummary";
|
|
22
22
|
export * from "./Source";
|
|
23
23
|
export * from "./SourceWithConfigFields";
|
|
24
24
|
export * from "./Sync";
|
|
@@ -33,8 +33,8 @@ __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("./MetadataSearchFilter"), exports);
|
|
37
36
|
__exportStar(require("./SearchResult"), exports);
|
|
37
|
+
__exportStar(require("./SearchSummary"), exports);
|
|
38
38
|
__exportStar(require("./Source"), exports);
|
|
39
39
|
__exportStar(require("./SourceWithConfigFields"), exports);
|
|
40
40
|
__exportStar(require("./Sync"), exports);
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.1.
|
|
1
|
+
export declare const SDK_VERSION = "0.1.19";
|
package/dist/version.js
CHANGED
package/package.json
CHANGED
package/reference.md
CHANGED
|
@@ -2346,7 +2346,7 @@ await client.whiteLabels.listWhiteLabelSyncs("white_label_id");
|
|
|
2346
2346
|
|
|
2347
2347
|
## Search
|
|
2348
2348
|
|
|
2349
|
-
<details><summary><code>client.search.<a href="/src/api/resources/search/client/Client.ts">searchSummary</a>({ ...params }) ->
|
|
2349
|
+
<details><summary><code>client.search.<a href="/src/api/resources/search/client/Client.ts">searchSummary</a>({ ...params }) -> AirweaveSDK.SearchSummary</code></summary>
|
|
2350
2350
|
<dl>
|
|
2351
2351
|
<dd>
|
|
2352
2352
|
|
|
@@ -2376,7 +2376,6 @@ Search for summarized information.
|
|
|
2376
2376
|
```typescript
|
|
2377
2377
|
await client.search.searchSummary({
|
|
2378
2378
|
query: "query",
|
|
2379
|
-
body: undefined,
|
|
2380
2379
|
});
|
|
2381
2380
|
```
|
|
2382
2381
|
|
|
@@ -2393,7 +2392,7 @@ await client.search.searchSummary({
|
|
|
2393
2392
|
<dl>
|
|
2394
2393
|
<dd>
|
|
2395
2394
|
|
|
2396
|
-
**request:** `AirweaveSDK.
|
|
2395
|
+
**request:** `AirweaveSDK.SearchSummarySearchSummaryGetRequest`
|
|
2397
2396
|
|
|
2398
2397
|
</dd>
|
|
2399
2398
|
</dl>
|
|
@@ -2454,7 +2453,6 @@ Search for a specific item.
|
|
|
2454
2453
|
```typescript
|
|
2455
2454
|
await client.search.search({
|
|
2456
2455
|
query: "query",
|
|
2457
|
-
body: undefined,
|
|
2458
2456
|
});
|
|
2459
2457
|
```
|
|
2460
2458
|
|
|
@@ -2471,7 +2469,7 @@ await client.search.search({
|
|
|
2471
2469
|
<dl>
|
|
2472
2470
|
<dd>
|
|
2473
2471
|
|
|
2474
|
-
**request:** `AirweaveSDK.
|
|
2472
|
+
**request:** `AirweaveSDK.SearchSearchObjectsGetRequest`
|
|
2475
2473
|
|
|
2476
2474
|
</dd>
|
|
2477
2475
|
</dl>
|
|
@@ -33,6 +33,5 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
33
33
|
};
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
exports.search =
|
|
37
|
-
exports.searchSummary = __importStar(require("./searchSummary"));
|
|
36
|
+
exports.search = void 0;
|
|
38
37
|
exports.search = __importStar(require("./search"));
|
|
@@ -4,12 +4,7 @@
|
|
|
4
4
|
import * as serializers from "../../../index";
|
|
5
5
|
import * as AirweaveSDK from "../../../../api/index";
|
|
6
6
|
import * as core from "../../../../core";
|
|
7
|
-
import { MetadataSearchFilter } from "../../../types/MetadataSearchFilter";
|
|
8
7
|
import { SearchResult } from "../../../types/SearchResult";
|
|
9
|
-
export declare const Request: core.serialization.Schema<serializers.search.search.Request.Raw, AirweaveSDK.MetadataSearchFilter[] | undefined>;
|
|
10
|
-
export declare namespace Request {
|
|
11
|
-
type Raw = MetadataSearchFilter.Raw[] | null | undefined;
|
|
12
|
-
}
|
|
13
8
|
export declare const Response: core.serialization.Schema<serializers.search.search.Response.Raw, AirweaveSDK.SearchResult[]>;
|
|
14
9
|
export declare namespace Response {
|
|
15
10
|
type Raw = SearchResult.Raw[];
|
|
@@ -36,9 +36,7 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.Response =
|
|
39
|
+
exports.Response = void 0;
|
|
40
40
|
const core = __importStar(require("../../../../core"));
|
|
41
|
-
const MetadataSearchFilter_1 = require("../../../types/MetadataSearchFilter");
|
|
42
41
|
const SearchResult_1 = require("../../../types/SearchResult");
|
|
43
|
-
exports.Request = core.serialization.list(MetadataSearchFilter_1.MetadataSearchFilter).optional();
|
|
44
42
|
exports.Response = core.serialization.list(SearchResult_1.SearchResult);
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as AirweaveSDK from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const SearchSummary: core.serialization.ObjectSchema<serializers.SearchSummary.Raw, AirweaveSDK.SearchSummary>;
|
|
8
|
+
export declare namespace SearchSummary {
|
|
9
|
+
interface Raw {
|
|
10
|
+
summary: string;
|
|
11
|
+
found_entity_ids: string[];
|
|
12
|
+
search_metadata: Record<string, unknown>;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -36,10 +36,10 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
39
|
+
exports.SearchSummary = void 0;
|
|
40
40
|
const core = __importStar(require("../../core"));
|
|
41
|
-
exports.
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
41
|
+
exports.SearchSummary = core.serialization.object({
|
|
42
|
+
summary: core.serialization.string(),
|
|
43
|
+
foundEntityIds: core.serialization.property("found_entity_ids", core.serialization.list(core.serialization.string())),
|
|
44
|
+
searchMetadata: core.serialization.property("search_metadata", core.serialization.record(core.serialization.string(), core.serialization.unknown())),
|
|
45
45
|
});
|
|
@@ -17,8 +17,8 @@ export * from "./EmbeddingModelWithConfigFields";
|
|
|
17
17
|
export * from "./Fields";
|
|
18
18
|
export * from "./HttpValidationError";
|
|
19
19
|
export * from "./IntegrationType";
|
|
20
|
-
export * from "./MetadataSearchFilter";
|
|
21
20
|
export * from "./SearchResult";
|
|
21
|
+
export * from "./SearchSummary";
|
|
22
22
|
export * from "./Source";
|
|
23
23
|
export * from "./SourceWithConfigFields";
|
|
24
24
|
export * from "./Sync";
|
|
@@ -33,8 +33,8 @@ __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("./MetadataSearchFilter"), exports);
|
|
37
36
|
__exportStar(require("./SearchResult"), exports);
|
|
37
|
+
__exportStar(require("./SearchSummary"), exports);
|
|
38
38
|
__exportStar(require("./Source"), exports);
|
|
39
39
|
__exportStar(require("./SourceWithConfigFields"), exports);
|
|
40
40
|
__exportStar(require("./Sync"), exports);
|
package/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.1.
|
|
1
|
+
export declare const SDK_VERSION = "0.1.19";
|
package/version.js
CHANGED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as AirweaveSDK from "../../../../index";
|
|
5
|
-
/**
|
|
6
|
-
* @example
|
|
7
|
-
* {
|
|
8
|
-
* query: "query",
|
|
9
|
-
* body: undefined
|
|
10
|
-
* }
|
|
11
|
-
*/
|
|
12
|
-
export interface SearchSearchObjectsPostRequest {
|
|
13
|
-
query: string;
|
|
14
|
-
syncId?: string;
|
|
15
|
-
body?: AirweaveSDK.MetadataSearchFilter[];
|
|
16
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as AirweaveSDK from "../../../../index";
|
|
5
|
-
/**
|
|
6
|
-
* @example
|
|
7
|
-
* {
|
|
8
|
-
* query: "query",
|
|
9
|
-
* body: undefined
|
|
10
|
-
* }
|
|
11
|
-
*/
|
|
12
|
-
export interface SearchSummarySearchSummaryPostRequest {
|
|
13
|
-
query: string;
|
|
14
|
-
syncId?: string;
|
|
15
|
-
body?: AirweaveSDK.MetadataSearchFilter[];
|
|
16
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as AirweaveSDK from "../../../../index";
|
|
5
|
-
/**
|
|
6
|
-
* @example
|
|
7
|
-
* {
|
|
8
|
-
* query: "query",
|
|
9
|
-
* body: undefined
|
|
10
|
-
* }
|
|
11
|
-
*/
|
|
12
|
-
export interface SearchSearchObjectsPostRequest {
|
|
13
|
-
query: string;
|
|
14
|
-
syncId?: string;
|
|
15
|
-
body?: AirweaveSDK.MetadataSearchFilter[];
|
|
16
|
-
}
|
package/dist/api/resources/search/client/requests/SearchSummarySearchSummaryPostRequest.d.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as AirweaveSDK from "../../../../index";
|
|
5
|
-
/**
|
|
6
|
-
* @example
|
|
7
|
-
* {
|
|
8
|
-
* query: "query",
|
|
9
|
-
* body: undefined
|
|
10
|
-
* }
|
|
11
|
-
*/
|
|
12
|
-
export interface SearchSummarySearchSummaryPostRequest {
|
|
13
|
-
query: string;
|
|
14
|
-
syncId?: string;
|
|
15
|
-
body?: AirweaveSDK.MetadataSearchFilter[];
|
|
16
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as serializers from "../../../index";
|
|
5
|
-
import * as AirweaveSDK from "../../../../api/index";
|
|
6
|
-
import * as core from "../../../../core";
|
|
7
|
-
import { MetadataSearchFilter } from "../../../types/MetadataSearchFilter";
|
|
8
|
-
export declare const Request: core.serialization.Schema<serializers.search.searchSummary.Request.Raw, AirweaveSDK.MetadataSearchFilter[] | undefined>;
|
|
9
|
-
export declare namespace Request {
|
|
10
|
-
type Raw = MetadataSearchFilter.Raw[] | null | undefined;
|
|
11
|
-
}
|
|
12
|
-
export declare const Response: core.serialization.Schema<serializers.search.searchSummary.Response.Raw, string>;
|
|
13
|
-
export declare namespace Response {
|
|
14
|
-
type Raw = string;
|
|
15
|
-
}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
-
*/
|
|
5
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
-
if (k2 === undefined) k2 = k;
|
|
7
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
-
}
|
|
11
|
-
Object.defineProperty(o, k2, desc);
|
|
12
|
-
}) : (function(o, m, k, k2) {
|
|
13
|
-
if (k2 === undefined) k2 = k;
|
|
14
|
-
o[k2] = m[k];
|
|
15
|
-
}));
|
|
16
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
-
}) : function(o, v) {
|
|
19
|
-
o["default"] = v;
|
|
20
|
-
});
|
|
21
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
-
var ownKeys = function(o) {
|
|
23
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
-
var ar = [];
|
|
25
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
-
return ar;
|
|
27
|
-
};
|
|
28
|
-
return ownKeys(o);
|
|
29
|
-
};
|
|
30
|
-
return function (mod) {
|
|
31
|
-
if (mod && mod.__esModule) return mod;
|
|
32
|
-
var result = {};
|
|
33
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
-
__setModuleDefault(result, mod);
|
|
35
|
-
return result;
|
|
36
|
-
};
|
|
37
|
-
})();
|
|
38
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.Response = exports.Request = void 0;
|
|
40
|
-
const core = __importStar(require("../../../../core"));
|
|
41
|
-
const MetadataSearchFilter_1 = require("../../../types/MetadataSearchFilter");
|
|
42
|
-
exports.Request = core.serialization.list(MetadataSearchFilter_1.MetadataSearchFilter).optional();
|
|
43
|
-
exports.Response = core.serialization.string();
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as serializers from "../index";
|
|
5
|
-
import * as AirweaveSDK from "../../api/index";
|
|
6
|
-
import * as core from "../../core";
|
|
7
|
-
export declare const MetadataSearchFilter: core.serialization.ObjectSchema<serializers.MetadataSearchFilter.Raw, AirweaveSDK.MetadataSearchFilter>;
|
|
8
|
-
export declare namespace MetadataSearchFilter {
|
|
9
|
-
interface Raw {
|
|
10
|
-
key: string;
|
|
11
|
-
value: string;
|
|
12
|
-
operator: string;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as serializers from "../../../index";
|
|
5
|
-
import * as AirweaveSDK from "../../../../api/index";
|
|
6
|
-
import * as core from "../../../../core";
|
|
7
|
-
import { MetadataSearchFilter } from "../../../types/MetadataSearchFilter";
|
|
8
|
-
export declare const Request: core.serialization.Schema<serializers.search.searchSummary.Request.Raw, AirweaveSDK.MetadataSearchFilter[] | undefined>;
|
|
9
|
-
export declare namespace Request {
|
|
10
|
-
type Raw = MetadataSearchFilter.Raw[] | null | undefined;
|
|
11
|
-
}
|
|
12
|
-
export declare const Response: core.serialization.Schema<serializers.search.searchSummary.Response.Raw, string>;
|
|
13
|
-
export declare namespace Response {
|
|
14
|
-
type Raw = string;
|
|
15
|
-
}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
-
*/
|
|
5
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
-
if (k2 === undefined) k2 = k;
|
|
7
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
-
}
|
|
11
|
-
Object.defineProperty(o, k2, desc);
|
|
12
|
-
}) : (function(o, m, k, k2) {
|
|
13
|
-
if (k2 === undefined) k2 = k;
|
|
14
|
-
o[k2] = m[k];
|
|
15
|
-
}));
|
|
16
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
-
}) : function(o, v) {
|
|
19
|
-
o["default"] = v;
|
|
20
|
-
});
|
|
21
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
-
var ownKeys = function(o) {
|
|
23
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
-
var ar = [];
|
|
25
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
-
return ar;
|
|
27
|
-
};
|
|
28
|
-
return ownKeys(o);
|
|
29
|
-
};
|
|
30
|
-
return function (mod) {
|
|
31
|
-
if (mod && mod.__esModule) return mod;
|
|
32
|
-
var result = {};
|
|
33
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
-
__setModuleDefault(result, mod);
|
|
35
|
-
return result;
|
|
36
|
-
};
|
|
37
|
-
})();
|
|
38
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.Response = exports.Request = void 0;
|
|
40
|
-
const core = __importStar(require("../../../../core"));
|
|
41
|
-
const MetadataSearchFilter_1 = require("../../../types/MetadataSearchFilter");
|
|
42
|
-
exports.Request = core.serialization.list(MetadataSearchFilter_1.MetadataSearchFilter).optional();
|
|
43
|
-
exports.Response = core.serialization.string();
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as serializers from "../index";
|
|
5
|
-
import * as AirweaveSDK from "../../api/index";
|
|
6
|
-
import * as core from "../../core";
|
|
7
|
-
export declare const MetadataSearchFilter: core.serialization.ObjectSchema<serializers.MetadataSearchFilter.Raw, AirweaveSDK.MetadataSearchFilter>;
|
|
8
|
-
export declare namespace MetadataSearchFilter {
|
|
9
|
-
interface Raw {
|
|
10
|
-
key: string;
|
|
11
|
-
value: string;
|
|
12
|
-
operator: string;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
File without changes
|