@airweave/sdk 0.1.16 → 0.1.17

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 (96) 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 +71 -0
  9. package/api/resources/search/client/Client.js +231 -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/SearchSearchObjectsPostRequest.d.ts +16 -0
  13. package/api/resources/search/client/requests/SearchSearchObjectsPostRequest.js +5 -0
  14. package/api/resources/search/client/requests/SearchSummarySearchSummaryPostRequest.d.ts +16 -0
  15. package/api/resources/search/client/requests/SearchSummarySearchSummaryPostRequest.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/MetadataSearchFilter.d.ts +11 -0
  25. package/api/types/MetadataSearchFilter.js +5 -0
  26. package/api/types/SearchResult.d.ts +11 -0
  27. package/api/types/SearchResult.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 +71 -0
  38. package/dist/api/resources/search/client/Client.js +231 -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/SearchSearchObjectsPostRequest.d.ts +16 -0
  42. package/dist/api/resources/search/client/requests/SearchSearchObjectsPostRequest.js +5 -0
  43. package/dist/api/resources/search/client/requests/SearchSummarySearchSummaryPostRequest.d.ts +16 -0
  44. package/dist/api/resources/search/client/requests/SearchSummarySearchSummaryPostRequest.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/MetadataSearchFilter.d.ts +11 -0
  54. package/dist/api/types/MetadataSearchFilter.js +5 -0
  55. package/dist/api/types/SearchResult.d.ts +11 -0
  56. package/dist/api/types/SearchResult.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 +2 -0
  62. package/dist/serialization/resources/search/client/index.js +38 -0
  63. package/dist/serialization/resources/search/client/search.d.ts +16 -0
  64. package/dist/serialization/resources/search/client/search.js +44 -0
  65. package/dist/serialization/resources/search/client/searchSummary.d.ts +15 -0
  66. package/dist/serialization/resources/search/client/searchSummary.js +43 -0
  67. package/dist/serialization/resources/search/index.d.ts +1 -0
  68. package/dist/serialization/resources/search/index.js +17 -0
  69. package/dist/serialization/types/MetadataSearchFilter.d.ts +14 -0
  70. package/dist/serialization/types/MetadataSearchFilter.js +45 -0
  71. package/dist/serialization/types/SearchResult.d.ts +14 -0
  72. package/dist/serialization/types/SearchResult.js +45 -0
  73. package/dist/serialization/types/index.d.ts +2 -0
  74. package/dist/serialization/types/index.js +2 -0
  75. package/dist/version.d.ts +1 -1
  76. package/dist/version.js +1 -1
  77. package/package.json +1 -1
  78. package/reference.md +146 -0
  79. package/serialization/resources/index.d.ts +1 -0
  80. package/serialization/resources/index.js +2 -1
  81. package/serialization/resources/search/client/index.d.ts +2 -0
  82. package/serialization/resources/search/client/index.js +38 -0
  83. package/serialization/resources/search/client/search.d.ts +16 -0
  84. package/serialization/resources/search/client/search.js +44 -0
  85. package/serialization/resources/search/client/searchSummary.d.ts +15 -0
  86. package/serialization/resources/search/client/searchSummary.js +43 -0
  87. package/serialization/resources/search/index.d.ts +1 -0
  88. package/serialization/resources/search/index.js +17 -0
  89. package/serialization/types/MetadataSearchFilter.d.ts +14 -0
  90. package/serialization/types/MetadataSearchFilter.js +45 -0
  91. package/serialization/types/SearchResult.d.ts +14 -0
  92. package/serialization/types/SearchResult.js +45 -0
  93. package/serialization/types/index.d.ts +2 -0
  94. package/serialization/types/index.js +2 -0
  95. package/version.d.ts +1 -1
  96. package/version.js +1 -1
@@ -0,0 +1,43 @@
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();
@@ -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 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
+ }
@@ -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.MetadataSearchFilter = void 0;
40
+ const core = __importStar(require("../../core"));
41
+ exports.MetadataSearchFilter = core.serialization.object({
42
+ key: core.serialization.string(),
43
+ value: core.serialization.string(),
44
+ operator: 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 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
+ });
@@ -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 "./MetadataSearchFilter";
21
+ export * from "./SearchResult";
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("./MetadataSearchFilter"), exports);
37
+ __exportStar(require("./SearchResult"), exports);
36
38
  __exportStar(require("./Source"), exports);
37
39
  __exportStar(require("./SourceWithConfigFields"), exports);
38
40
  __exportStar(require("./Sync"), exports);
package/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.1.16";
1
+ export declare const SDK_VERSION = "0.1.17";
package/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.16";
4
+ exports.SDK_VERSION = "0.1.17";