@airweave/sdk 0.1.20 → 0.1.21

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 (92) hide show
  1. package/Client.d.ts +3 -0
  2. package/Client.js +5 -0
  3. package/api/resources/connections/client/Client.js +12 -12
  4. package/api/resources/destinations/client/Client.js +2 -2
  5. package/api/resources/embeddingModels/client/Client.js +2 -2
  6. package/api/resources/index.d.ts +2 -0
  7. package/api/resources/index.js +3 -1
  8. package/api/resources/search/client/Client.d.ts +69 -0
  9. package/api/resources/search/client/Client.js +245 -0
  10. package/api/resources/search/client/index.d.ts +1 -0
  11. package/api/resources/search/client/index.js +17 -0
  12. package/api/resources/search/client/requests/SearchSearchObjectsGetRequest.d.ts +23 -0
  13. package/api/resources/search/client/requests/SearchSearchObjectsGetRequest.js +5 -0
  14. package/api/resources/search/client/requests/SearchSummarySearchSummaryGetRequest.d.ts +31 -0
  15. package/api/resources/search/client/requests/SearchSummarySearchSummaryGetRequest.js +5 -0
  16. package/api/resources/search/client/requests/index.d.ts +2 -0
  17. package/api/resources/search/client/requests/index.js +2 -0
  18. package/api/resources/search/index.d.ts +1 -0
  19. package/api/resources/search/index.js +17 -0
  20. package/api/resources/sources/client/Client.js +2 -2
  21. package/api/resources/sync/client/Client.js +8 -8
  22. package/api/resources/users/client/Client.js +1 -1
  23. package/api/resources/whiteLabels/client/Client.js +8 -8
  24. package/api/types/SearchResult.d.ts +11 -0
  25. package/api/types/SearchResult.js +5 -0
  26. package/api/types/SearchSummary.d.ts +11 -0
  27. package/api/types/SearchSummary.js +5 -0
  28. package/api/types/index.d.ts +2 -0
  29. package/api/types/index.js +2 -0
  30. package/dist/Client.d.ts +3 -0
  31. package/dist/Client.js +5 -0
  32. package/dist/api/resources/connections/client/Client.js +12 -12
  33. package/dist/api/resources/destinations/client/Client.js +2 -2
  34. package/dist/api/resources/embeddingModels/client/Client.js +2 -2
  35. package/dist/api/resources/index.d.ts +2 -0
  36. package/dist/api/resources/index.js +3 -1
  37. package/dist/api/resources/search/client/Client.d.ts +69 -0
  38. package/dist/api/resources/search/client/Client.js +245 -0
  39. package/dist/api/resources/search/client/index.d.ts +1 -0
  40. package/dist/api/resources/search/client/index.js +17 -0
  41. package/dist/api/resources/search/client/requests/SearchSearchObjectsGetRequest.d.ts +23 -0
  42. package/dist/api/resources/search/client/requests/SearchSearchObjectsGetRequest.js +5 -0
  43. package/dist/api/resources/search/client/requests/SearchSummarySearchSummaryGetRequest.d.ts +31 -0
  44. package/dist/api/resources/search/client/requests/SearchSummarySearchSummaryGetRequest.js +5 -0
  45. package/dist/api/resources/search/client/requests/index.d.ts +2 -0
  46. package/dist/api/resources/search/client/requests/index.js +2 -0
  47. package/dist/api/resources/search/index.d.ts +1 -0
  48. package/dist/api/resources/search/index.js +17 -0
  49. package/dist/api/resources/sources/client/Client.js +2 -2
  50. package/dist/api/resources/sync/client/Client.js +8 -8
  51. package/dist/api/resources/users/client/Client.js +1 -1
  52. package/dist/api/resources/whiteLabels/client/Client.js +8 -8
  53. package/dist/api/types/SearchResult.d.ts +11 -0
  54. package/dist/api/types/SearchResult.js +5 -0
  55. package/dist/api/types/SearchSummary.d.ts +11 -0
  56. package/dist/api/types/SearchSummary.js +5 -0
  57. package/dist/api/types/index.d.ts +2 -0
  58. package/dist/api/types/index.js +2 -0
  59. package/dist/serialization/resources/index.d.ts +1 -0
  60. package/dist/serialization/resources/index.js +2 -1
  61. package/dist/serialization/resources/search/client/index.d.ts +1 -0
  62. package/dist/serialization/resources/search/client/index.js +37 -0
  63. package/dist/serialization/resources/search/client/search.d.ts +11 -0
  64. package/dist/serialization/resources/search/client/search.js +42 -0
  65. package/dist/serialization/resources/search/index.d.ts +1 -0
  66. package/dist/serialization/resources/search/index.js +17 -0
  67. package/dist/serialization/types/SearchResult.d.ts +14 -0
  68. package/dist/serialization/types/SearchResult.js +45 -0
  69. package/dist/serialization/types/SearchSummary.d.ts +14 -0
  70. package/dist/serialization/types/SearchSummary.js +45 -0
  71. package/dist/serialization/types/index.d.ts +2 -0
  72. package/dist/serialization/types/index.js +2 -0
  73. package/dist/version.d.ts +1 -1
  74. package/dist/version.js +1 -1
  75. package/package.json +1 -1
  76. package/reference.md +144 -0
  77. package/serialization/resources/index.d.ts +1 -0
  78. package/serialization/resources/index.js +2 -1
  79. package/serialization/resources/search/client/index.d.ts +1 -0
  80. package/serialization/resources/search/client/index.js +37 -0
  81. package/serialization/resources/search/client/search.d.ts +11 -0
  82. package/serialization/resources/search/client/search.js +42 -0
  83. package/serialization/resources/search/index.d.ts +1 -0
  84. package/serialization/resources/search/index.js +17 -0
  85. package/serialization/types/SearchResult.d.ts +14 -0
  86. package/serialization/types/SearchResult.js +45 -0
  87. package/serialization/types/SearchSummary.d.ts +14 -0
  88. package/serialization/types/SearchSummary.js +45 -0
  89. package/serialization/types/index.d.ts +2 -0
  90. package/serialization/types/index.js +2 -0
  91. package/version.d.ts +1 -1
  92. package/version.js +1 -1
@@ -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.whiteLabels = exports.connections = exports.embeddingModels = exports.destinations = exports.sources = exports.sync = void 0;
39
+ exports.search = exports.whiteLabels = exports.connections = exports.embeddingModels = exports.destinations = exports.sources = exports.sync = void 0;
40
40
  exports.sync = __importStar(require("./sync"));
41
41
  __exportStar(require("./sync/types"), exports);
42
42
  exports.sources = __importStar(require("./sources"));
@@ -44,6 +44,7 @@ exports.destinations = __importStar(require("./destinations"));
44
44
  exports.embeddingModels = __importStar(require("./embeddingModels"));
45
45
  exports.connections = __importStar(require("./connections"));
46
46
  exports.whiteLabels = __importStar(require("./whiteLabels"));
47
+ exports.search = __importStar(require("./search"));
47
48
  __exportStar(require("./connections/client/requests"), exports);
48
49
  __exportStar(require("./sync/client/requests"), exports);
49
50
  __exportStar(require("./whiteLabels/client/requests"), exports);
@@ -0,0 +1 @@
1
+ export * as search from "./search";
@@ -0,0 +1,37 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.search = void 0;
37
+ exports.search = __importStar(require("./search"));
@@ -0,0 +1,11 @@
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 { SearchResult } from "../../../types/SearchResult";
8
+ export declare const Response: core.serialization.Schema<serializers.search.search.Response.Raw, AirweaveSDK.SearchResult[]>;
9
+ export declare namespace Response {
10
+ type Raw = SearchResult.Raw[];
11
+ }
@@ -0,0 +1,42 @@
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 = void 0;
40
+ const core = __importStar(require("../../../../core"));
41
+ const SearchResult_1 = require("../../../types/SearchResult");
42
+ exports.Response = core.serialization.list(SearchResult_1.SearchResult);
@@ -0,0 +1 @@
1
+ export * from "./client";
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./client"), exports);
@@ -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 SearchResult: core.serialization.ObjectSchema<serializers.SearchResult.Raw, AirweaveSDK.SearchResult>;
8
+ export declare namespace SearchResult {
9
+ interface Raw {
10
+ id: string;
11
+ title: string;
12
+ description: string;
13
+ }
14
+ }
@@ -0,0 +1,45 @@
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.SearchResult = void 0;
40
+ const core = __importStar(require("../../core"));
41
+ exports.SearchResult = core.serialization.object({
42
+ id: core.serialization.string(),
43
+ title: core.serialization.string(),
44
+ description: core.serialization.string(),
45
+ });
@@ -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
+ }
@@ -0,0 +1,45 @@
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.SearchSummary = void 0;
40
+ const core = __importStar(require("../../core"));
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
+ });
@@ -17,6 +17,8 @@ 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";
20
22
  export * from "./Source";
21
23
  export * from "./SourceWithConfigFields";
22
24
  export * from "./Sync";
@@ -33,6 +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("./SearchResult"), exports);
37
+ __exportStar(require("./SearchSummary"), exports);
36
38
  __exportStar(require("./Source"), exports);
37
39
  __exportStar(require("./SourceWithConfigFields"), exports);
38
40
  __exportStar(require("./Sync"), exports);
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.1.20";
1
+ export declare const SDK_VERSION = "0.1.21";
package/dist/version.js CHANGED
@@ -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 = "0.1.20";
4
+ exports.SDK_VERSION = "0.1.21";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@airweave/sdk",
3
- "version": "0.1.20",
3
+ "version": "0.1.21",
4
4
  "private": false,
5
5
  "repository": "https://github.com/airweave-ai/typescript-sdk",
6
6
  "main": "./index.js",
package/reference.md CHANGED
@@ -2615,3 +2615,147 @@ await client.whiteLabels.listWhiteLabelSyncs("white_label_id");
2615
2615
  </dd>
2616
2616
  </dl>
2617
2617
  </details>
2618
+
2619
+ ## Search
2620
+
2621
+ <details><summary><code>client.search.<a href="/src/api/resources/search/client/Client.ts">searchSummary</a>({ ...params }) -> AirweaveSDK.SearchSummary</code></summary>
2622
+ <dl>
2623
+ <dd>
2624
+
2625
+ #### 📝 Description
2626
+
2627
+ <dl>
2628
+ <dd>
2629
+
2630
+ <dl>
2631
+ <dd>
2632
+
2633
+ Search for summarized information.
2634
+
2635
+ </dd>
2636
+ </dl>
2637
+ </dd>
2638
+ </dl>
2639
+
2640
+ #### 🔌 Usage
2641
+
2642
+ <dl>
2643
+ <dd>
2644
+
2645
+ <dl>
2646
+ <dd>
2647
+
2648
+ ```typescript
2649
+ await client.search.searchSummary({
2650
+ query: "query",
2651
+ });
2652
+ ```
2653
+
2654
+ </dd>
2655
+ </dl>
2656
+ </dd>
2657
+ </dl>
2658
+
2659
+ #### ⚙️ Parameters
2660
+
2661
+ <dl>
2662
+ <dd>
2663
+
2664
+ <dl>
2665
+ <dd>
2666
+
2667
+ **request:** `AirweaveSDK.SearchSummarySearchSummaryGetRequest`
2668
+
2669
+ </dd>
2670
+ </dl>
2671
+
2672
+ <dl>
2673
+ <dd>
2674
+
2675
+ **requestOptions:** `Search.RequestOptions`
2676
+
2677
+ </dd>
2678
+ </dl>
2679
+ </dd>
2680
+ </dl>
2681
+
2682
+ </dd>
2683
+ </dl>
2684
+ </details>
2685
+
2686
+ <details><summary><code>client.search.<a href="/src/api/resources/search/client/Client.ts">search</a>({ ...params }) -> AirweaveSDK.SearchResult[]</code></summary>
2687
+ <dl>
2688
+ <dd>
2689
+
2690
+ #### 📝 Description
2691
+
2692
+ <dl>
2693
+ <dd>
2694
+
2695
+ <dl>
2696
+ <dd>
2697
+
2698
+ Search for a specific item.
2699
+
2700
+ ## Args:
2701
+
2702
+ db (AsyncSession): The database session.
2703
+ query (str): The query to search for.
2704
+ sync_id (Optional[UUID]): The sync ID to search for.
2705
+ metadata_filter (Optional[list[MetadataSearchFilter]]): The filter to search for.
2706
+ user (schemas.User): The user to search for.
2707
+
2708
+ ## Returns:
2709
+
2710
+ list[SearchResult]: The search results.
2711
+
2712
+ </dd>
2713
+ </dl>
2714
+ </dd>
2715
+ </dl>
2716
+
2717
+ #### 🔌 Usage
2718
+
2719
+ <dl>
2720
+ <dd>
2721
+
2722
+ <dl>
2723
+ <dd>
2724
+
2725
+ ```typescript
2726
+ await client.search.search({
2727
+ query: "query",
2728
+ });
2729
+ ```
2730
+
2731
+ </dd>
2732
+ </dl>
2733
+ </dd>
2734
+ </dl>
2735
+
2736
+ #### ⚙️ Parameters
2737
+
2738
+ <dl>
2739
+ <dd>
2740
+
2741
+ <dl>
2742
+ <dd>
2743
+
2744
+ **request:** `AirweaveSDK.SearchSearchObjectsGetRequest`
2745
+
2746
+ </dd>
2747
+ </dl>
2748
+
2749
+ <dl>
2750
+ <dd>
2751
+
2752
+ **requestOptions:** `Search.RequestOptions`
2753
+
2754
+ </dd>
2755
+ </dl>
2756
+ </dd>
2757
+ </dl>
2758
+
2759
+ </dd>
2760
+ </dl>
2761
+ </details>
@@ -5,6 +5,7 @@ export * as destinations from "./destinations";
5
5
  export * as embeddingModels from "./embeddingModels";
6
6
  export * as connections from "./connections";
7
7
  export * as whiteLabels from "./whiteLabels";
8
+ export * as search from "./search";
8
9
  export * from "./connections/client/requests";
9
10
  export * from "./sync/client/requests";
10
11
  export * from "./whiteLabels/client/requests";
@@ -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.whiteLabels = exports.connections = exports.embeddingModels = exports.destinations = exports.sources = exports.sync = void 0;
39
+ exports.search = exports.whiteLabels = exports.connections = exports.embeddingModels = exports.destinations = exports.sources = exports.sync = void 0;
40
40
  exports.sync = __importStar(require("./sync"));
41
41
  __exportStar(require("./sync/types"), exports);
42
42
  exports.sources = __importStar(require("./sources"));
@@ -44,6 +44,7 @@ exports.destinations = __importStar(require("./destinations"));
44
44
  exports.embeddingModels = __importStar(require("./embeddingModels"));
45
45
  exports.connections = __importStar(require("./connections"));
46
46
  exports.whiteLabels = __importStar(require("./whiteLabels"));
47
+ exports.search = __importStar(require("./search"));
47
48
  __exportStar(require("./connections/client/requests"), exports);
48
49
  __exportStar(require("./sync/client/requests"), exports);
49
50
  __exportStar(require("./whiteLabels/client/requests"), exports);
@@ -0,0 +1 @@
1
+ export * as search from "./search";
@@ -0,0 +1,37 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.search = void 0;
37
+ exports.search = __importStar(require("./search"));
@@ -0,0 +1,11 @@
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 { SearchResult } from "../../../types/SearchResult";
8
+ export declare const Response: core.serialization.Schema<serializers.search.search.Response.Raw, AirweaveSDK.SearchResult[]>;
9
+ export declare namespace Response {
10
+ type Raw = SearchResult.Raw[];
11
+ }
@@ -0,0 +1,42 @@
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 = void 0;
40
+ const core = __importStar(require("../../../../core"));
41
+ const SearchResult_1 = require("../../../types/SearchResult");
42
+ exports.Response = core.serialization.list(SearchResult_1.SearchResult);
@@ -0,0 +1 @@
1
+ export * from "./client";
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./client"), exports);
@@ -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 SearchResult: core.serialization.ObjectSchema<serializers.SearchResult.Raw, AirweaveSDK.SearchResult>;
8
+ export declare namespace SearchResult {
9
+ interface Raw {
10
+ id: string;
11
+ title: string;
12
+ description: string;
13
+ }
14
+ }
@@ -0,0 +1,45 @@
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.SearchResult = void 0;
40
+ const core = __importStar(require("../../core"));
41
+ exports.SearchResult = core.serialization.object({
42
+ id: core.serialization.string(),
43
+ title: core.serialization.string(),
44
+ description: core.serialization.string(),
45
+ });