@airweave/sdk 0.1.46 → 0.1.49

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.
Files changed (134) hide show
  1. package/dist/cjs/Client.js +2 -2
  2. package/dist/cjs/api/resources/collections/client/Client.d.ts +54 -0
  3. package/dist/cjs/api/resources/collections/client/Client.js +114 -1
  4. package/dist/cjs/api/resources/collections/client/requests/SearchCollectionCollectionsReadableIdSearchGetRequest.d.ts +16 -0
  5. package/dist/cjs/api/resources/collections/client/requests/SearchRequest.d.ts +40 -0
  6. package/dist/cjs/api/resources/collections/client/requests/index.d.ts +1 -0
  7. package/dist/cjs/api/resources/sourceConnections/client/Client.d.ts +3 -0
  8. package/dist/cjs/api/resources/sourceConnections/client/Client.js +3 -0
  9. package/dist/cjs/api/resources/sources/client/Client.d.ts +3 -0
  10. package/dist/cjs/api/resources/sources/client/Client.js +3 -0
  11. package/dist/cjs/api/resources/whiteLabels/client/Client.d.ts +10 -7
  12. package/dist/cjs/api/resources/whiteLabels/client/Client.js +12 -9
  13. package/dist/cjs/api/resources/whiteLabels/client/requests/{BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodePost.d.ts → BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodeOptions.d.ts} +1 -1
  14. package/dist/cjs/api/resources/whiteLabels/client/requests/BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodeOptions.js +5 -0
  15. package/dist/cjs/api/resources/whiteLabels/client/requests/index.d.ts +1 -1
  16. package/dist/cjs/api/types/DatetimeRange.d.ts +34 -0
  17. package/dist/cjs/api/types/DatetimeRange.js +5 -0
  18. package/dist/cjs/api/types/FieldCondition.d.ts +33 -0
  19. package/dist/cjs/api/types/FieldCondition.js +5 -0
  20. package/dist/cjs/api/types/Filter.d.ts +28 -0
  21. package/dist/cjs/api/types/Filter.js +5 -0
  22. package/dist/cjs/api/types/GeoBoundingBox.d.ts +13 -0
  23. package/dist/cjs/api/types/GeoBoundingBox.js +5 -0
  24. package/dist/cjs/api/types/GeoLineString.d.ts +11 -0
  25. package/dist/cjs/api/types/GeoLineString.js +5 -0
  26. package/dist/cjs/api/types/GeoPoint.d.ts +12 -0
  27. package/dist/cjs/api/types/GeoPoint.js +5 -0
  28. package/dist/cjs/api/types/GeoPolygon.d.ts +13 -0
  29. package/dist/cjs/api/types/GeoPolygon.js +5 -0
  30. package/dist/cjs/api/types/GeoRadius.d.ts +13 -0
  31. package/dist/cjs/api/types/GeoRadius.js +5 -0
  32. package/dist/cjs/api/types/HasIdCondition.d.ts +16 -0
  33. package/dist/cjs/api/types/HasIdCondition.js +5 -0
  34. package/dist/cjs/api/types/HasVectorCondition.d.ts +10 -0
  35. package/dist/cjs/api/types/HasVectorCondition.js +5 -0
  36. package/dist/cjs/api/types/IsEmptyCondition.d.ts +11 -0
  37. package/dist/cjs/api/types/IsEmptyCondition.js +5 -0
  38. package/dist/cjs/api/types/IsNullCondition.d.ts +11 -0
  39. package/dist/cjs/api/types/IsNullCondition.js +5 -0
  40. package/dist/cjs/api/types/MatchAny.d.ts +16 -0
  41. package/dist/cjs/api/types/MatchAny.js +5 -0
  42. package/dist/cjs/api/types/MatchExcept.d.ts +16 -0
  43. package/dist/cjs/api/types/MatchExcept.js +5 -0
  44. package/dist/cjs/api/types/MatchText.d.ts +10 -0
  45. package/dist/cjs/api/types/MatchText.js +5 -0
  46. package/dist/cjs/api/types/MatchValue.d.ts +16 -0
  47. package/dist/cjs/api/types/MatchValue.js +5 -0
  48. package/dist/cjs/api/types/MinShould.d.ts +16 -0
  49. package/dist/cjs/api/types/MinShould.js +5 -0
  50. package/dist/cjs/api/types/Nested.d.ts +13 -0
  51. package/dist/cjs/api/types/Nested.js +5 -0
  52. package/dist/cjs/api/types/NestedCondition.d.ts +8 -0
  53. package/dist/cjs/api/types/NestedCondition.js +5 -0
  54. package/dist/cjs/api/types/PayloadField.d.ts +10 -0
  55. package/dist/cjs/api/types/PayloadField.js +5 -0
  56. package/dist/cjs/api/types/QueryExpansionStrategy.d.ts +12 -0
  57. package/dist/cjs/api/types/QueryExpansionStrategy.js +11 -0
  58. package/dist/cjs/api/types/Range.d.ts +16 -0
  59. package/dist/cjs/api/types/Range.js +5 -0
  60. package/dist/cjs/api/types/ValuesCount.d.ts +16 -0
  61. package/dist/cjs/api/types/ValuesCount.js +5 -0
  62. package/dist/cjs/api/types/index.d.ts +23 -0
  63. package/dist/cjs/api/types/index.js +23 -0
  64. package/dist/cjs/version.d.ts +1 -1
  65. package/dist/cjs/version.js +1 -1
  66. package/dist/esm/Client.mjs +2 -2
  67. package/dist/esm/api/resources/collections/client/Client.d.mts +54 -0
  68. package/dist/esm/api/resources/collections/client/Client.mjs +114 -1
  69. package/dist/esm/api/resources/collections/client/requests/SearchCollectionCollectionsReadableIdSearchGetRequest.d.mts +16 -0
  70. package/dist/esm/api/resources/collections/client/requests/SearchRequest.d.mts +40 -0
  71. package/dist/esm/api/resources/collections/client/requests/index.d.mts +1 -0
  72. package/dist/esm/api/resources/sourceConnections/client/Client.d.mts +3 -0
  73. package/dist/esm/api/resources/sourceConnections/client/Client.mjs +3 -0
  74. package/dist/esm/api/resources/sources/client/Client.d.mts +3 -0
  75. package/dist/esm/api/resources/sources/client/Client.mjs +3 -0
  76. package/dist/esm/api/resources/whiteLabels/client/Client.d.mts +10 -7
  77. package/dist/esm/api/resources/whiteLabels/client/Client.mjs +12 -9
  78. package/dist/esm/api/resources/whiteLabels/client/requests/{BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodePost.d.mts → BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodeOptions.d.mts} +1 -1
  79. package/dist/esm/api/resources/whiteLabels/client/requests/BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodeOptions.mjs +4 -0
  80. package/dist/esm/api/resources/whiteLabels/client/requests/index.d.mts +1 -1
  81. package/dist/esm/api/types/DatetimeRange.d.mts +34 -0
  82. package/dist/esm/api/types/DatetimeRange.mjs +4 -0
  83. package/dist/esm/api/types/FieldCondition.d.mts +33 -0
  84. package/dist/esm/api/types/FieldCondition.mjs +4 -0
  85. package/dist/esm/api/types/Filter.d.mts +28 -0
  86. package/dist/esm/api/types/Filter.mjs +4 -0
  87. package/dist/esm/api/types/GeoBoundingBox.d.mts +13 -0
  88. package/dist/esm/api/types/GeoBoundingBox.mjs +4 -0
  89. package/dist/esm/api/types/GeoLineString.d.mts +11 -0
  90. package/dist/esm/api/types/GeoLineString.mjs +4 -0
  91. package/dist/esm/api/types/GeoPoint.d.mts +12 -0
  92. package/dist/esm/api/types/GeoPoint.mjs +4 -0
  93. package/dist/esm/api/types/GeoPolygon.d.mts +13 -0
  94. package/dist/esm/api/types/GeoPolygon.mjs +4 -0
  95. package/dist/esm/api/types/GeoRadius.d.mts +13 -0
  96. package/dist/esm/api/types/GeoRadius.mjs +4 -0
  97. package/dist/esm/api/types/HasIdCondition.d.mts +16 -0
  98. package/dist/esm/api/types/HasIdCondition.mjs +4 -0
  99. package/dist/esm/api/types/HasVectorCondition.d.mts +10 -0
  100. package/dist/esm/api/types/HasVectorCondition.mjs +4 -0
  101. package/dist/esm/api/types/IsEmptyCondition.d.mts +11 -0
  102. package/dist/esm/api/types/IsEmptyCondition.mjs +4 -0
  103. package/dist/esm/api/types/IsNullCondition.d.mts +11 -0
  104. package/dist/esm/api/types/IsNullCondition.mjs +4 -0
  105. package/dist/esm/api/types/MatchAny.d.mts +16 -0
  106. package/dist/esm/api/types/MatchAny.mjs +4 -0
  107. package/dist/esm/api/types/MatchExcept.d.mts +16 -0
  108. package/dist/esm/api/types/MatchExcept.mjs +4 -0
  109. package/dist/esm/api/types/MatchText.d.mts +10 -0
  110. package/dist/esm/api/types/MatchText.mjs +4 -0
  111. package/dist/esm/api/types/MatchValue.d.mts +16 -0
  112. package/dist/esm/api/types/MatchValue.mjs +4 -0
  113. package/dist/esm/api/types/MinShould.d.mts +16 -0
  114. package/dist/esm/api/types/MinShould.mjs +4 -0
  115. package/dist/esm/api/types/Nested.d.mts +13 -0
  116. package/dist/esm/api/types/Nested.mjs +4 -0
  117. package/dist/esm/api/types/NestedCondition.d.mts +8 -0
  118. package/dist/esm/api/types/NestedCondition.mjs +4 -0
  119. package/dist/esm/api/types/PayloadField.d.mts +10 -0
  120. package/dist/esm/api/types/PayloadField.mjs +4 -0
  121. package/dist/esm/api/types/QueryExpansionStrategy.d.mts +12 -0
  122. package/dist/esm/api/types/QueryExpansionStrategy.mjs +8 -0
  123. package/dist/esm/api/types/Range.d.mts +16 -0
  124. package/dist/esm/api/types/Range.mjs +4 -0
  125. package/dist/esm/api/types/ValuesCount.d.mts +16 -0
  126. package/dist/esm/api/types/ValuesCount.mjs +4 -0
  127. package/dist/esm/api/types/index.d.mts +23 -0
  128. package/dist/esm/api/types/index.mjs +23 -0
  129. package/dist/esm/version.d.mts +1 -1
  130. package/dist/esm/version.mjs +1 -1
  131. package/package.json +1 -1
  132. package/reference.md +119 -9
  133. /package/dist/cjs/api/resources/{whiteLabels/client/requests/BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodePost.js → collections/client/requests/SearchRequest.js} +0 -0
  134. /package/dist/esm/api/resources/{whiteLabels/client/requests/BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodePost.mjs → collections/client/requests/SearchRequest.mjs} +0 -0
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as AirweaveSDK from "../index.js";
5
+ /**
6
+ * Geo filter request Matches coordinates inside the polygon, defined by `exterior` and `interiors`
7
+ */
8
+ export interface GeoPolygon {
9
+ /** Geo filter request Matches coordinates inside the polygon, defined by `exterior` and `interiors` */
10
+ exterior: AirweaveSDK.GeoLineString;
11
+ /** Interior lines (if present) bound holes within the surface each GeoLineString must consist of a minimum of 4 points, and the first and last points must be the same. */
12
+ interiors?: AirweaveSDK.GeoLineString[];
13
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as AirweaveSDK from "../index.js";
5
+ /**
6
+ * Geo filter request Matches coordinates inside the circle of `radius` and center with coordinates `center`
7
+ */
8
+ export interface GeoRadius {
9
+ /** Geo filter request Matches coordinates inside the circle of `radius` and center with coordinates `center` */
10
+ center: AirweaveSDK.GeoPoint;
11
+ /** Radius of the area in meters */
12
+ radius: number;
13
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,16 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * ID-based filtering condition
6
+ */
7
+ export interface HasIdCondition {
8
+ /** ID-based filtering condition */
9
+ has_id: HasIdCondition.HasId.Item[];
10
+ }
11
+ export declare namespace HasIdCondition {
12
+ type HasId = HasId.Item[];
13
+ namespace HasId {
14
+ type Item = number | string;
15
+ }
16
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * Filter points which have specific vector assigned
6
+ */
7
+ export interface HasVectorCondition {
8
+ /** Filter points which have specific vector assigned */
9
+ has_vector: string;
10
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,11 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as AirweaveSDK from "../index.js";
5
+ /**
6
+ * Select points with empty payload for a specified field
7
+ */
8
+ export interface IsEmptyCondition {
9
+ /** Select points with empty payload for a specified field */
10
+ is_empty: AirweaveSDK.PayloadField;
11
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,11 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as AirweaveSDK from "../index.js";
5
+ /**
6
+ * Select points with null payload for a specified field
7
+ */
8
+ export interface IsNullCondition {
9
+ /** Select points with null payload for a specified field */
10
+ is_null: AirweaveSDK.PayloadField;
11
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,16 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * Exact match on any of the given values
6
+ */
7
+ export interface MatchAny {
8
+ /** Exact match on any of the given values */
9
+ any: MatchAny.Any;
10
+ }
11
+ export declare namespace MatchAny {
12
+ /**
13
+ * Exact match on any of the given values
14
+ */
15
+ type Any = string[] | number[];
16
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,16 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * Should have at least one value not matching the any given values
6
+ */
7
+ export interface MatchExcept {
8
+ /** Should have at least one value not matching the any given values */
9
+ except: MatchExcept.Except;
10
+ }
11
+ export declare namespace MatchExcept {
12
+ /**
13
+ * Should have at least one value not matching the any given values
14
+ */
15
+ type Except = string[] | number[];
16
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * Full-text match of the strings.
6
+ */
7
+ export interface MatchText {
8
+ /** Full-text match of the strings. */
9
+ text: string;
10
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,16 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * Exact match of the given value
6
+ */
7
+ export interface MatchValue {
8
+ /** Exact match of the given value */
9
+ value: MatchValue.Value;
10
+ }
11
+ export declare namespace MatchValue {
12
+ /**
13
+ * Exact match of the given value
14
+ */
15
+ type Value = boolean | number | string;
16
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,16 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as AirweaveSDK from "../index.js";
5
+ export interface MinShould {
6
+ /** */
7
+ conditions: MinShould.Conditions.Item[];
8
+ /** */
9
+ min_count: number;
10
+ }
11
+ export declare namespace MinShould {
12
+ type Conditions = Conditions.Item[];
13
+ namespace Conditions {
14
+ type Item = AirweaveSDK.FieldCondition | AirweaveSDK.IsEmptyCondition | AirweaveSDK.IsNullCondition | AirweaveSDK.HasIdCondition | AirweaveSDK.HasVectorCondition | AirweaveSDK.NestedCondition | AirweaveSDK.Filter;
15
+ }
16
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as AirweaveSDK from "../index.js";
5
+ /**
6
+ * Select points with payload for a specified nested field
7
+ */
8
+ export interface Nested {
9
+ /** Select points with payload for a specified nested field */
10
+ key: string;
11
+ /** Select points with payload for a specified nested field */
12
+ filter: AirweaveSDK.Filter;
13
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as AirweaveSDK from "../index.js";
5
+ export interface NestedCondition {
6
+ /** */
7
+ nested: AirweaveSDK.Nested;
8
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * Payload field
6
+ */
7
+ export interface PayloadField {
8
+ /** Payload field name */
9
+ key: string;
10
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * Query expansion strategies for search.
6
+ */
7
+ export type QueryExpansionStrategy = "auto" | "llm" | "no_expansion";
8
+ export declare const QueryExpansionStrategy: {
9
+ readonly Auto: "auto";
10
+ readonly Llm: "llm";
11
+ readonly NoExpansion: "no_expansion";
12
+ };
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.QueryExpansionStrategy = void 0;
7
+ exports.QueryExpansionStrategy = {
8
+ Auto: "auto",
9
+ Llm: "llm",
10
+ NoExpansion: "no_expansion",
11
+ };
@@ -0,0 +1,16 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * Range filter request
6
+ */
7
+ export interface Range {
8
+ /** point.key < range.lt */
9
+ lt?: number;
10
+ /** point.key > range.gt */
11
+ gt?: number;
12
+ /** point.key >= range.gte */
13
+ gte?: number;
14
+ /** point.key <= range.lte */
15
+ lte?: number;
16
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,16 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * Values count filter request
6
+ */
7
+ export interface ValuesCount {
8
+ /** point.key.length() < values_count.lt */
9
+ lt?: number;
10
+ /** point.key.length() > values_count.gt */
11
+ gt?: number;
12
+ /** point.key.length() >= values_count.gte */
13
+ gte?: number;
14
+ /** point.key.length() <= values_count.lte */
15
+ lte?: number;
16
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -13,6 +13,7 @@ export * from "./DagEdge.js";
13
13
  export * from "./DagEdgeCreate.js";
14
14
  export * from "./DagNode.js";
15
15
  export * from "./DagNodeCreate.js";
16
+ export * from "./DatetimeRange.js";
16
17
  export * from "./Destination.js";
17
18
  export * from "./DestinationWithAuthenticationFields.js";
18
19
  export * from "./EmbeddingModel.js";
@@ -22,19 +23,40 @@ export * from "./EntityDefinition.js";
22
23
  export * from "./EntityDefinitionCreate.js";
23
24
  export * from "./EntityDefinitionUpdate.js";
24
25
  export * from "./EntityType.js";
26
+ export * from "./Range.js";
27
+ export * from "./FieldCondition.js";
25
28
  export * from "./Fields.js";
29
+ export * from "./Filter.js";
30
+ export * from "./GeoBoundingBox.js";
31
+ export * from "./GeoLineString.js";
32
+ export * from "./GeoPoint.js";
33
+ export * from "./GeoPolygon.js";
34
+ export * from "./GeoRadius.js";
26
35
  export * from "./HttpValidationError.js";
36
+ export * from "./HasIdCondition.js";
37
+ export * from "./HasVectorCondition.js";
27
38
  export * from "./IntegrationCredentialInDb.js";
28
39
  export * from "./IntegrationCredentialRawCreate.js";
29
40
  export * from "./IntegrationType.js";
30
41
  export * from "./InvitationCreate.js";
31
42
  export * from "./InvitationResponse.js";
43
+ export * from "./IsEmptyCondition.js";
44
+ export * from "./IsNullCondition.js";
45
+ export * from "./MatchAny.js";
46
+ export * from "./MatchExcept.js";
47
+ export * from "./MatchText.js";
48
+ export * from "./MatchValue.js";
32
49
  export * from "./MemberResponse.js";
50
+ export * from "./MinShould.js";
51
+ export * from "./Nested.js";
52
+ export * from "./NestedCondition.js";
33
53
  export * from "./NodeType.js";
34
54
  export * from "./OAuth2AuthUrl.js";
35
55
  export * from "./Organization.js";
36
56
  export * from "./OrganizationCreate.js";
37
57
  export * from "./OrganizationWithRole.js";
58
+ export * from "./PayloadField.js";
59
+ export * from "./QueryExpansionStrategy.js";
38
60
  export * from "./ResponseType.js";
39
61
  export * from "./SearchResponse.js";
40
62
  export * from "./SearchStatus.js";
@@ -62,4 +84,5 @@ export * from "./User.js";
62
84
  export * from "./UserCreate.js";
63
85
  export * from "./UserOrganization.js";
64
86
  export * from "./ValidationError.js";
87
+ export * from "./ValuesCount.js";
65
88
  export * from "./WhiteLabel.js";
@@ -29,6 +29,7 @@ __exportStar(require("./DagEdge.js"), exports);
29
29
  __exportStar(require("./DagEdgeCreate.js"), exports);
30
30
  __exportStar(require("./DagNode.js"), exports);
31
31
  __exportStar(require("./DagNodeCreate.js"), exports);
32
+ __exportStar(require("./DatetimeRange.js"), exports);
32
33
  __exportStar(require("./Destination.js"), exports);
33
34
  __exportStar(require("./DestinationWithAuthenticationFields.js"), exports);
34
35
  __exportStar(require("./EmbeddingModel.js"), exports);
@@ -38,19 +39,40 @@ __exportStar(require("./EntityDefinition.js"), exports);
38
39
  __exportStar(require("./EntityDefinitionCreate.js"), exports);
39
40
  __exportStar(require("./EntityDefinitionUpdate.js"), exports);
40
41
  __exportStar(require("./EntityType.js"), exports);
42
+ __exportStar(require("./Range.js"), exports);
43
+ __exportStar(require("./FieldCondition.js"), exports);
41
44
  __exportStar(require("./Fields.js"), exports);
45
+ __exportStar(require("./Filter.js"), exports);
46
+ __exportStar(require("./GeoBoundingBox.js"), exports);
47
+ __exportStar(require("./GeoLineString.js"), exports);
48
+ __exportStar(require("./GeoPoint.js"), exports);
49
+ __exportStar(require("./GeoPolygon.js"), exports);
50
+ __exportStar(require("./GeoRadius.js"), exports);
42
51
  __exportStar(require("./HttpValidationError.js"), exports);
52
+ __exportStar(require("./HasIdCondition.js"), exports);
53
+ __exportStar(require("./HasVectorCondition.js"), exports);
43
54
  __exportStar(require("./IntegrationCredentialInDb.js"), exports);
44
55
  __exportStar(require("./IntegrationCredentialRawCreate.js"), exports);
45
56
  __exportStar(require("./IntegrationType.js"), exports);
46
57
  __exportStar(require("./InvitationCreate.js"), exports);
47
58
  __exportStar(require("./InvitationResponse.js"), exports);
59
+ __exportStar(require("./IsEmptyCondition.js"), exports);
60
+ __exportStar(require("./IsNullCondition.js"), exports);
61
+ __exportStar(require("./MatchAny.js"), exports);
62
+ __exportStar(require("./MatchExcept.js"), exports);
63
+ __exportStar(require("./MatchText.js"), exports);
64
+ __exportStar(require("./MatchValue.js"), exports);
48
65
  __exportStar(require("./MemberResponse.js"), exports);
66
+ __exportStar(require("./MinShould.js"), exports);
67
+ __exportStar(require("./Nested.js"), exports);
68
+ __exportStar(require("./NestedCondition.js"), exports);
49
69
  __exportStar(require("./NodeType.js"), exports);
50
70
  __exportStar(require("./OAuth2AuthUrl.js"), exports);
51
71
  __exportStar(require("./Organization.js"), exports);
52
72
  __exportStar(require("./OrganizationCreate.js"), exports);
53
73
  __exportStar(require("./OrganizationWithRole.js"), exports);
74
+ __exportStar(require("./PayloadField.js"), exports);
75
+ __exportStar(require("./QueryExpansionStrategy.js"), exports);
54
76
  __exportStar(require("./ResponseType.js"), exports);
55
77
  __exportStar(require("./SearchResponse.js"), exports);
56
78
  __exportStar(require("./SearchStatus.js"), exports);
@@ -78,4 +100,5 @@ __exportStar(require("./User.js"), exports);
78
100
  __exportStar(require("./UserCreate.js"), exports);
79
101
  __exportStar(require("./UserOrganization.js"), exports);
80
102
  __exportStar(require("./ValidationError.js"), exports);
103
+ __exportStar(require("./ValuesCount.js"), exports);
81
104
  __exportStar(require("./WhiteLabel.js"), exports);
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "v0.1.46";
1
+ export declare const SDK_VERSION = "v0.1.49";
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "v0.1.46";
4
+ exports.SDK_VERSION = "v0.1.49";
@@ -12,8 +12,8 @@ export class AirweaveSDKClient {
12
12
  this._options = Object.assign(Object.assign({}, _options), { headers: mergeHeaders({
13
13
  "X-Fern-Language": "JavaScript",
14
14
  "X-Fern-SDK-Name": "@airweave/sdk",
15
- "X-Fern-SDK-Version": "v0.1.46",
16
- "User-Agent": "@airweave/sdk/v0.1.46",
15
+ "X-Fern-SDK-Version": "v0.1.49",
16
+ "User-Agent": "@airweave/sdk/v0.1.49",
17
17
  "X-Fern-Runtime": core.RUNTIME.type,
18
18
  "X-Fern-Runtime-Version": core.RUNTIME.version,
19
19
  }, _options === null || _options === void 0 ? void 0 : _options.headers) });
@@ -24,6 +24,9 @@ export declare namespace Collections {
24
24
  headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
25
25
  }
26
26
  }
27
+ /**
28
+ * API endpoints for managing collections - logical groups of data sources that provide unified search capabilities
29
+ */
27
30
  export declare class Collections {
28
31
  protected readonly _options: Collections.Options;
29
32
  constructor(_options: Collections.Options);
@@ -117,6 +120,9 @@ export declare class Collections {
117
120
  /**
118
121
  * Search across all data sources within the specified collection.
119
122
  *
123
+ * This GET endpoint provides basic search functionality. For advanced filtering
124
+ * and options, use the POST /search endpoint.
125
+ *
120
126
  * @param {string} readableId - The unique readable identifier of the collection to search
121
127
  * @param {AirweaveSDK.SearchCollectionCollectionsReadableIdSearchGetRequest} request
122
128
  * @param {Collections.RequestOptions} requestOptions - Request-specific configuration.
@@ -130,6 +136,54 @@ export declare class Collections {
130
136
  */
131
137
  searchCollection(readableId: string, request: AirweaveSDK.SearchCollectionCollectionsReadableIdSearchGetRequest, requestOptions?: Collections.RequestOptions): core.HttpResponsePromise<AirweaveSDK.SearchResponse>;
132
138
  private __searchCollection;
139
+ /**
140
+ * Advanced search with comprehensive filtering and options.
141
+ *
142
+ * This endpoint supports:
143
+ * - Metadata filtering using Qdrant's native filter syntax
144
+ * - Pagination with offset and limit
145
+ * - Score threshold filtering
146
+ * - Query expansion strategies
147
+ * - Result summarization
148
+ * - Control over included metadata and vectors
149
+ *
150
+ * Example request body:
151
+ * ```json
152
+ * {
153
+ * "query": "customer payment issues",
154
+ * "filter": {
155
+ * "must": [
156
+ * {"key": "source", "match": {"value": "stripe"}},
157
+ * {"key": "created_at", "range": {"gte": "2024-01-01T00:00:00Z"}}
158
+ * ]
159
+ * },
160
+ * "limit": 50,
161
+ * "score_threshold": 0.7,
162
+ * "response_type": "completion"
163
+ * }
164
+ * ```
165
+ *
166
+ * @param {string} readableId - The unique readable identifier of the collection to search
167
+ * @param {AirweaveSDK.SearchRequest} request
168
+ * @param {Collections.RequestOptions} requestOptions - Request-specific configuration.
169
+ *
170
+ * @throws {@link AirweaveSDK.UnprocessableEntityError}
171
+ *
172
+ * @example
173
+ * await client.collections.searchCollectionAdvanced("readable_id", {
174
+ * query: "customer payment issues",
175
+ * filter: {
176
+ * must: {
177
+ * key: "key"
178
+ * }
179
+ * },
180
+ * limit: 50,
181
+ * score_threshold: 0.7,
182
+ * response_type: "completion"
183
+ * })
184
+ */
185
+ searchCollectionAdvanced(readableId: string, request: AirweaveSDK.SearchRequest, requestOptions?: Collections.RequestOptions): core.HttpResponsePromise<AirweaveSDK.SearchResponse>;
186
+ private __searchCollectionAdvanced;
133
187
  /**
134
188
  * Trigger data synchronization for all source connections in the collection.
135
189
  *