@airweave/sdk 0.3.42 → 0.3.44
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/Client.js +2 -2
- package/dist/cjs/api/resources/collections/client/Client.d.ts +33 -0
- package/dist/cjs/api/resources/collections/client/Client.js +96 -1
- package/dist/cjs/api/resources/collections/client/requests/SearchCollectionCollectionsReadableIdSearchGetRequest.d.ts +16 -0
- package/dist/cjs/api/resources/collections/client/requests/SearchRequest.d.ts +36 -0
- package/dist/cjs/api/resources/collections/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/whiteLabels/client/Client.d.ts +4 -4
- package/dist/cjs/api/resources/whiteLabels/client/Client.js +5 -5
- package/dist/cjs/api/resources/whiteLabels/client/requests/{BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodePost.d.ts → BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodeOptions.d.ts} +1 -1
- package/dist/cjs/api/resources/whiteLabels/client/requests/BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodeOptions.js +5 -0
- package/dist/cjs/api/resources/whiteLabels/client/requests/index.d.ts +1 -1
- package/dist/cjs/api/types/DatetimeRange.d.ts +34 -0
- package/dist/cjs/api/types/DatetimeRange.js +5 -0
- package/dist/cjs/api/types/FieldCondition.d.ts +33 -0
- package/dist/cjs/api/types/FieldCondition.js +5 -0
- package/dist/cjs/api/types/Filter.d.ts +28 -0
- package/dist/cjs/api/types/Filter.js +5 -0
- package/dist/cjs/api/types/GeoBoundingBox.d.ts +13 -0
- package/dist/cjs/api/types/GeoBoundingBox.js +5 -0
- package/dist/cjs/api/types/GeoLineString.d.ts +11 -0
- package/dist/cjs/api/types/GeoLineString.js +5 -0
- package/dist/cjs/api/types/GeoPoint.d.ts +12 -0
- package/dist/cjs/api/types/GeoPoint.js +5 -0
- package/dist/cjs/api/types/GeoPolygon.d.ts +13 -0
- package/dist/cjs/api/types/GeoPolygon.js +5 -0
- package/dist/cjs/api/types/GeoRadius.d.ts +13 -0
- package/dist/cjs/api/types/GeoRadius.js +5 -0
- package/dist/cjs/api/types/HasIdCondition.d.ts +16 -0
- package/dist/cjs/api/types/HasIdCondition.js +5 -0
- package/dist/cjs/api/types/HasVectorCondition.d.ts +10 -0
- package/dist/cjs/api/types/HasVectorCondition.js +5 -0
- package/dist/cjs/api/types/IsEmptyCondition.d.ts +11 -0
- package/dist/cjs/api/types/IsEmptyCondition.js +5 -0
- package/dist/cjs/api/types/IsNullCondition.d.ts +11 -0
- package/dist/cjs/api/types/IsNullCondition.js +5 -0
- package/dist/cjs/api/types/MatchAny.d.ts +16 -0
- package/dist/cjs/api/types/MatchAny.js +5 -0
- package/dist/cjs/api/types/MatchExcept.d.ts +16 -0
- package/dist/cjs/api/types/MatchExcept.js +5 -0
- package/dist/cjs/api/types/MatchText.d.ts +10 -0
- package/dist/cjs/api/types/MatchText.js +5 -0
- package/dist/cjs/api/types/MatchValue.d.ts +16 -0
- package/dist/cjs/api/types/MatchValue.js +5 -0
- package/dist/cjs/api/types/MinShould.d.ts +16 -0
- package/dist/cjs/api/types/MinShould.js +5 -0
- package/dist/cjs/api/types/Nested.d.ts +13 -0
- package/dist/cjs/api/types/Nested.js +5 -0
- package/dist/cjs/api/types/NestedCondition.d.ts +8 -0
- package/dist/cjs/api/types/NestedCondition.js +5 -0
- package/dist/cjs/api/types/PayloadField.d.ts +10 -0
- package/dist/cjs/api/types/PayloadField.js +5 -0
- package/dist/cjs/api/types/QueryExpansionStrategy.d.ts +12 -0
- package/dist/cjs/api/types/QueryExpansionStrategy.js +11 -0
- package/dist/cjs/api/types/Range.d.ts +16 -0
- package/dist/cjs/api/types/Range.js +5 -0
- package/dist/cjs/api/types/ValuesCount.d.ts +16 -0
- package/dist/cjs/api/types/ValuesCount.js +5 -0
- package/dist/cjs/api/types/index.d.ts +23 -0
- package/dist/cjs/api/types/index.js +23 -0
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/Client.mjs +2 -2
- package/dist/esm/api/resources/collections/client/Client.d.mts +33 -0
- package/dist/esm/api/resources/collections/client/Client.mjs +96 -1
- package/dist/esm/api/resources/collections/client/requests/SearchCollectionCollectionsReadableIdSearchGetRequest.d.mts +16 -0
- package/dist/esm/api/resources/collections/client/requests/SearchRequest.d.mts +36 -0
- package/dist/esm/api/resources/collections/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/whiteLabels/client/Client.d.mts +4 -4
- package/dist/esm/api/resources/whiteLabels/client/Client.mjs +5 -5
- package/dist/esm/api/resources/whiteLabels/client/requests/{BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodePost.d.mts → BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodeOptions.d.mts} +1 -1
- package/dist/esm/api/resources/whiteLabels/client/requests/BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodeOptions.mjs +4 -0
- package/dist/esm/api/resources/whiteLabels/client/requests/index.d.mts +1 -1
- package/dist/esm/api/types/DatetimeRange.d.mts +34 -0
- package/dist/esm/api/types/DatetimeRange.mjs +4 -0
- package/dist/esm/api/types/FieldCondition.d.mts +33 -0
- package/dist/esm/api/types/FieldCondition.mjs +4 -0
- package/dist/esm/api/types/Filter.d.mts +28 -0
- package/dist/esm/api/types/Filter.mjs +4 -0
- package/dist/esm/api/types/GeoBoundingBox.d.mts +13 -0
- package/dist/esm/api/types/GeoBoundingBox.mjs +4 -0
- package/dist/esm/api/types/GeoLineString.d.mts +11 -0
- package/dist/esm/api/types/GeoLineString.mjs +4 -0
- package/dist/esm/api/types/GeoPoint.d.mts +12 -0
- package/dist/esm/api/types/GeoPoint.mjs +4 -0
- package/dist/esm/api/types/GeoPolygon.d.mts +13 -0
- package/dist/esm/api/types/GeoPolygon.mjs +4 -0
- package/dist/esm/api/types/GeoRadius.d.mts +13 -0
- package/dist/esm/api/types/GeoRadius.mjs +4 -0
- package/dist/esm/api/types/HasIdCondition.d.mts +16 -0
- package/dist/esm/api/types/HasIdCondition.mjs +4 -0
- package/dist/esm/api/types/HasVectorCondition.d.mts +10 -0
- package/dist/esm/api/types/HasVectorCondition.mjs +4 -0
- package/dist/esm/api/types/IsEmptyCondition.d.mts +11 -0
- package/dist/esm/api/types/IsEmptyCondition.mjs +4 -0
- package/dist/esm/api/types/IsNullCondition.d.mts +11 -0
- package/dist/esm/api/types/IsNullCondition.mjs +4 -0
- package/dist/esm/api/types/MatchAny.d.mts +16 -0
- package/dist/esm/api/types/MatchAny.mjs +4 -0
- package/dist/esm/api/types/MatchExcept.d.mts +16 -0
- package/dist/esm/api/types/MatchExcept.mjs +4 -0
- package/dist/esm/api/types/MatchText.d.mts +10 -0
- package/dist/esm/api/types/MatchText.mjs +4 -0
- package/dist/esm/api/types/MatchValue.d.mts +16 -0
- package/dist/esm/api/types/MatchValue.mjs +4 -0
- package/dist/esm/api/types/MinShould.d.mts +16 -0
- package/dist/esm/api/types/MinShould.mjs +4 -0
- package/dist/esm/api/types/Nested.d.mts +13 -0
- package/dist/esm/api/types/Nested.mjs +4 -0
- package/dist/esm/api/types/NestedCondition.d.mts +8 -0
- package/dist/esm/api/types/NestedCondition.mjs +4 -0
- package/dist/esm/api/types/PayloadField.d.mts +10 -0
- package/dist/esm/api/types/PayloadField.mjs +4 -0
- package/dist/esm/api/types/QueryExpansionStrategy.d.mts +12 -0
- package/dist/esm/api/types/QueryExpansionStrategy.mjs +8 -0
- package/dist/esm/api/types/Range.d.mts +16 -0
- package/dist/esm/api/types/Range.mjs +4 -0
- package/dist/esm/api/types/ValuesCount.d.mts +16 -0
- package/dist/esm/api/types/ValuesCount.mjs +4 -0
- package/dist/esm/api/types/index.d.mts +23 -0
- package/dist/esm/api/types/index.mjs +23 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +93 -3
- /package/dist/cjs/api/resources/{whiteLabels/client/requests/BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodePost.js → collections/client/requests/SearchRequest.js} +0 -0
- /package/dist/esm/api/resources/{whiteLabels/client/requests/BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodePost.mjs → collections/client/requests/SearchRequest.mjs} +0 -0
|
@@ -13,6 +13,7 @@ export * from "./DagEdge.mjs";
|
|
|
13
13
|
export * from "./DagEdgeCreate.mjs";
|
|
14
14
|
export * from "./DagNode.mjs";
|
|
15
15
|
export * from "./DagNodeCreate.mjs";
|
|
16
|
+
export * from "./DatetimeRange.mjs";
|
|
16
17
|
export * from "./Destination.mjs";
|
|
17
18
|
export * from "./DestinationWithAuthenticationFields.mjs";
|
|
18
19
|
export * from "./EmbeddingModel.mjs";
|
|
@@ -22,19 +23,40 @@ export * from "./EntityDefinition.mjs";
|
|
|
22
23
|
export * from "./EntityDefinitionCreate.mjs";
|
|
23
24
|
export * from "./EntityDefinitionUpdate.mjs";
|
|
24
25
|
export * from "./EntityType.mjs";
|
|
26
|
+
export * from "./Range.mjs";
|
|
27
|
+
export * from "./FieldCondition.mjs";
|
|
25
28
|
export * from "./Fields.mjs";
|
|
29
|
+
export * from "./Filter.mjs";
|
|
30
|
+
export * from "./GeoBoundingBox.mjs";
|
|
31
|
+
export * from "./GeoLineString.mjs";
|
|
32
|
+
export * from "./GeoPoint.mjs";
|
|
33
|
+
export * from "./GeoPolygon.mjs";
|
|
34
|
+
export * from "./GeoRadius.mjs";
|
|
26
35
|
export * from "./HttpValidationError.mjs";
|
|
36
|
+
export * from "./HasIdCondition.mjs";
|
|
37
|
+
export * from "./HasVectorCondition.mjs";
|
|
27
38
|
export * from "./IntegrationCredentialInDb.mjs";
|
|
28
39
|
export * from "./IntegrationCredentialRawCreate.mjs";
|
|
29
40
|
export * from "./IntegrationType.mjs";
|
|
30
41
|
export * from "./InvitationCreate.mjs";
|
|
31
42
|
export * from "./InvitationResponse.mjs";
|
|
43
|
+
export * from "./IsEmptyCondition.mjs";
|
|
44
|
+
export * from "./IsNullCondition.mjs";
|
|
45
|
+
export * from "./MatchAny.mjs";
|
|
46
|
+
export * from "./MatchExcept.mjs";
|
|
47
|
+
export * from "./MatchText.mjs";
|
|
48
|
+
export * from "./MatchValue.mjs";
|
|
32
49
|
export * from "./MemberResponse.mjs";
|
|
50
|
+
export * from "./MinShould.mjs";
|
|
51
|
+
export * from "./Nested.mjs";
|
|
52
|
+
export * from "./NestedCondition.mjs";
|
|
33
53
|
export * from "./NodeType.mjs";
|
|
34
54
|
export * from "./OAuth2AuthUrl.mjs";
|
|
35
55
|
export * from "./Organization.mjs";
|
|
36
56
|
export * from "./OrganizationCreate.mjs";
|
|
37
57
|
export * from "./OrganizationWithRole.mjs";
|
|
58
|
+
export * from "./PayloadField.mjs";
|
|
59
|
+
export * from "./QueryExpansionStrategy.mjs";
|
|
38
60
|
export * from "./ResponseType.mjs";
|
|
39
61
|
export * from "./SearchResponse.mjs";
|
|
40
62
|
export * from "./SearchStatus.mjs";
|
|
@@ -62,4 +84,5 @@ export * from "./User.mjs";
|
|
|
62
84
|
export * from "./UserCreate.mjs";
|
|
63
85
|
export * from "./UserOrganization.mjs";
|
|
64
86
|
export * from "./ValidationError.mjs";
|
|
87
|
+
export * from "./ValuesCount.mjs";
|
|
65
88
|
export * from "./WhiteLabel.mjs";
|
package/dist/esm/version.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "v0.3.
|
|
1
|
+
export declare const SDK_VERSION = "v0.3.44";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "v0.3.
|
|
1
|
+
export const SDK_VERSION = "v0.3.44";
|
package/package.json
CHANGED
package/reference.md
CHANGED
|
@@ -490,6 +490,9 @@ await client.collections.deleteCollection("readable_id");
|
|
|
490
490
|
|
|
491
491
|
Search across all data sources within the specified collection.
|
|
492
492
|
|
|
493
|
+
This GET endpoint provides basic search functionality. For advanced filtering
|
|
494
|
+
and options, use the POST /search endpoint.
|
|
495
|
+
|
|
493
496
|
</dd>
|
|
494
497
|
</dl>
|
|
495
498
|
</dd>
|
|
@@ -549,6 +552,93 @@ await client.collections.searchCollection("readable_id", {
|
|
|
549
552
|
</dl>
|
|
550
553
|
</details>
|
|
551
554
|
|
|
555
|
+
<details><summary><code>client.collections.<a href="/src/api/resources/collections/client/Client.ts">searchCollectionAdvanced</a>(readableId, { ...params }) -> AirweaveSDK.SearchResponse</code></summary>
|
|
556
|
+
<dl>
|
|
557
|
+
<dd>
|
|
558
|
+
|
|
559
|
+
#### 📝 Description
|
|
560
|
+
|
|
561
|
+
<dl>
|
|
562
|
+
<dd>
|
|
563
|
+
|
|
564
|
+
<dl>
|
|
565
|
+
<dd>
|
|
566
|
+
|
|
567
|
+
Advanced search with comprehensive filtering and options.
|
|
568
|
+
|
|
569
|
+
This endpoint supports:
|
|
570
|
+
|
|
571
|
+
- Metadata filtering using Qdrant's native filter syntax
|
|
572
|
+
- Pagination with offset and limit
|
|
573
|
+
- Score threshold filtering
|
|
574
|
+
- Query expansion strategies
|
|
575
|
+
</dd>
|
|
576
|
+
</dl>
|
|
577
|
+
</dd>
|
|
578
|
+
</dl>
|
|
579
|
+
|
|
580
|
+
#### 🔌 Usage
|
|
581
|
+
|
|
582
|
+
<dl>
|
|
583
|
+
<dd>
|
|
584
|
+
|
|
585
|
+
<dl>
|
|
586
|
+
<dd>
|
|
587
|
+
|
|
588
|
+
```typescript
|
|
589
|
+
await client.collections.searchCollectionAdvanced("readable_id", {
|
|
590
|
+
query: "customer payment issues",
|
|
591
|
+
filter: {
|
|
592
|
+
must: {
|
|
593
|
+
key: "key",
|
|
594
|
+
},
|
|
595
|
+
},
|
|
596
|
+
limit: 50,
|
|
597
|
+
score_threshold: 0.7,
|
|
598
|
+
response_type: "completion",
|
|
599
|
+
});
|
|
600
|
+
```
|
|
601
|
+
|
|
602
|
+
</dd>
|
|
603
|
+
</dl>
|
|
604
|
+
</dd>
|
|
605
|
+
</dl>
|
|
606
|
+
|
|
607
|
+
#### ⚙️ Parameters
|
|
608
|
+
|
|
609
|
+
<dl>
|
|
610
|
+
<dd>
|
|
611
|
+
|
|
612
|
+
<dl>
|
|
613
|
+
<dd>
|
|
614
|
+
|
|
615
|
+
**readableId:** `string` — The unique readable identifier of the collection to search
|
|
616
|
+
|
|
617
|
+
</dd>
|
|
618
|
+
</dl>
|
|
619
|
+
|
|
620
|
+
<dl>
|
|
621
|
+
<dd>
|
|
622
|
+
|
|
623
|
+
**request:** `AirweaveSDK.SearchRequest`
|
|
624
|
+
|
|
625
|
+
</dd>
|
|
626
|
+
</dl>
|
|
627
|
+
|
|
628
|
+
<dl>
|
|
629
|
+
<dd>
|
|
630
|
+
|
|
631
|
+
**requestOptions:** `Collections.RequestOptions`
|
|
632
|
+
|
|
633
|
+
</dd>
|
|
634
|
+
</dl>
|
|
635
|
+
</dd>
|
|
636
|
+
</dl>
|
|
637
|
+
|
|
638
|
+
</dd>
|
|
639
|
+
</dl>
|
|
640
|
+
</details>
|
|
641
|
+
|
|
552
642
|
<details><summary><code>client.collections.<a href="/src/api/resources/collections/client/Client.ts">refreshAllSourceConnections</a>(readableId) -> AirweaveSDK.SourceConnectionJob[]</code></summary>
|
|
553
643
|
<dl>
|
|
554
644
|
<dd>
|
|
@@ -1764,7 +1854,7 @@ await client.whiteLabels.listWhiteLabelSourceConnections("white_label_id");
|
|
|
1764
1854
|
</dl>
|
|
1765
1855
|
</details>
|
|
1766
1856
|
|
|
1767
|
-
<details><summary><code>client.whiteLabels.<a href="/src/api/resources/whiteLabels/client/Client.ts">
|
|
1857
|
+
<details><summary><code>client.whiteLabels.<a href="/src/api/resources/whiteLabels/client/Client.ts">exchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodeOptions</a>(whiteLabelId, { ...params }) -> AirweaveSDK.SourceConnection</code></summary>
|
|
1768
1858
|
<dl>
|
|
1769
1859
|
<dd>
|
|
1770
1860
|
|
|
@@ -1799,7 +1889,7 @@ tracking and branding purposes.
|
|
|
1799
1889
|
<dd>
|
|
1800
1890
|
|
|
1801
1891
|
```typescript
|
|
1802
|
-
await client.whiteLabels.
|
|
1892
|
+
await client.whiteLabels.exchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodeOptions("white_label_id", {
|
|
1803
1893
|
code: "4/P7q7W91a-oMsCeLvIaQm6bTrgtp7",
|
|
1804
1894
|
});
|
|
1805
1895
|
```
|
|
@@ -1825,7 +1915,7 @@ await client.whiteLabels.exchangeWhiteLabelOauth2Code("white_label_id", {
|
|
|
1825
1915
|
<dl>
|
|
1826
1916
|
<dd>
|
|
1827
1917
|
|
|
1828
|
-
**request:** `AirweaveSDK.
|
|
1918
|
+
**request:** `AirweaveSDK.BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodeOptions`
|
|
1829
1919
|
|
|
1830
1920
|
</dd>
|
|
1831
1921
|
</dl>
|
|
File without changes
|