@airweave/sdk 0.6.40 → 0.6.42

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.
@@ -47,8 +47,8 @@ class AirweaveSDKClient {
47
47
  this._options = Object.assign(Object.assign({}, _options), { headers: (0, headers_js_1.mergeHeaders)({
48
48
  "X-Fern-Language": "JavaScript",
49
49
  "X-Fern-SDK-Name": "@airweave/sdk",
50
- "X-Fern-SDK-Version": "v0.6.40",
51
- "User-Agent": "@airweave/sdk/v0.6.40",
50
+ "X-Fern-SDK-Version": "v0.6.42",
51
+ "User-Agent": "@airweave/sdk/v0.6.42",
52
52
  "X-Fern-Runtime": core.RUNTIME.type,
53
53
  "X-Fern-Runtime-Version": core.RUNTIME.version,
54
54
  }, _options === null || _options === void 0 ? void 0 : _options.headers) });
@@ -0,0 +1,22 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * Request to configure S3 destination.
6
+ */
7
+ export interface S3ConfigRequest {
8
+ /** AWS access key ID */
9
+ aws_access_key_id: string;
10
+ /** AWS secret access key */
11
+ aws_secret_access_key: string;
12
+ /** S3 bucket name */
13
+ bucket_name: string;
14
+ /** Prefix for Airweave data */
15
+ bucket_prefix?: string;
16
+ /** AWS region */
17
+ aws_region?: string;
18
+ /** Custom S3 endpoint */
19
+ endpoint_url?: string;
20
+ /** Use SSL/TLS */
21
+ use_ssl?: boolean;
22
+ }
@@ -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
+ /**
5
+ * Response after configuring S3 destination.
6
+ */
7
+ export interface S3ConfigResponse {
8
+ connection_id: string;
9
+ status: string;
10
+ message: string;
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 });
@@ -30,6 +30,8 @@ export interface Source {
30
30
  labels?: string[];
31
31
  /** Whether this source supports cursor-based continuous syncing for incremental data extraction. Sources with this capability can track their sync position and resume from where they left off. */
32
32
  supports_continuous?: boolean;
33
+ /** Whether this source uses federated search instead of traditional syncing. Federated search sources query data in real-time during searches rather than syncing and indexing all data beforehand. */
34
+ federated_search?: boolean;
33
35
  /** Unique system identifier for this source type. Generated automatically when the source is registered. */
34
36
  id: string;
35
37
  /** Timestamp when this source type was registered in the system (ISO 8601 format). */
@@ -18,5 +18,9 @@ export interface SourceConnection {
18
18
  config?: Record<string, unknown>;
19
19
  schedule?: AirweaveSDK.ScheduleDetails;
20
20
  sync?: AirweaveSDK.SyncDetails;
21
+ /** ID of the associated sync */
22
+ sync_id?: string;
21
23
  entities?: AirweaveSDK.EntitySummary;
24
+ /** Whether this source uses federated search */
25
+ federated_search?: boolean;
22
26
  }
@@ -14,6 +14,8 @@ export interface SourceConnectionListItem {
14
14
  modified_at: string;
15
15
  is_authenticated: boolean;
16
16
  entity_count?: number;
17
+ /** Whether this source uses federated search */
18
+ federated_search?: boolean;
17
19
  /** Get authentication method from database value. */
18
20
  auth_method: AirweaveSDK.AuthenticationMethod;
19
21
  /** Compute connection status from current state. */
@@ -84,6 +84,8 @@ export * from "./PayloadField.js";
84
84
  export * from "./QueryExpansionStrategy.js";
85
85
  export * from "./ResponseType.js";
86
86
  export * from "./RetrievalStrategy.js";
87
+ export * from "./S3ConfigRequest.js";
88
+ export * from "./S3ConfigResponse.js";
87
89
  export * from "./ScheduleConfig.js";
88
90
  export * from "./ScheduleDetails.js";
89
91
  export * from "./ScheduleResponse.js";
@@ -100,6 +100,8 @@ __exportStar(require("./PayloadField.js"), exports);
100
100
  __exportStar(require("./QueryExpansionStrategy.js"), exports);
101
101
  __exportStar(require("./ResponseType.js"), exports);
102
102
  __exportStar(require("./RetrievalStrategy.js"), exports);
103
+ __exportStar(require("./S3ConfigRequest.js"), exports);
104
+ __exportStar(require("./S3ConfigResponse.js"), exports);
103
105
  __exportStar(require("./ScheduleConfig.js"), exports);
104
106
  __exportStar(require("./ScheduleDetails.js"), exports);
105
107
  __exportStar(require("./ScheduleResponse.js"), exports);
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "v0.6.40";
1
+ export declare const SDK_VERSION = "v0.6.42";
@@ -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.6.40";
4
+ exports.SDK_VERSION = "v0.6.42";
@@ -11,8 +11,8 @@ export class AirweaveSDKClient {
11
11
  this._options = Object.assign(Object.assign({}, _options), { headers: mergeHeaders({
12
12
  "X-Fern-Language": "JavaScript",
13
13
  "X-Fern-SDK-Name": "@airweave/sdk",
14
- "X-Fern-SDK-Version": "v0.6.40",
15
- "User-Agent": "@airweave/sdk/v0.6.40",
14
+ "X-Fern-SDK-Version": "v0.6.42",
15
+ "User-Agent": "@airweave/sdk/v0.6.42",
16
16
  "X-Fern-Runtime": core.RUNTIME.type,
17
17
  "X-Fern-Runtime-Version": core.RUNTIME.version,
18
18
  }, _options === null || _options === void 0 ? void 0 : _options.headers) });
@@ -0,0 +1,22 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * Request to configure S3 destination.
6
+ */
7
+ export interface S3ConfigRequest {
8
+ /** AWS access key ID */
9
+ aws_access_key_id: string;
10
+ /** AWS secret access key */
11
+ aws_secret_access_key: string;
12
+ /** S3 bucket name */
13
+ bucket_name: string;
14
+ /** Prefix for Airweave data */
15
+ bucket_prefix?: string;
16
+ /** AWS region */
17
+ aws_region?: string;
18
+ /** Custom S3 endpoint */
19
+ endpoint_url?: string;
20
+ /** Use SSL/TLS */
21
+ use_ssl?: boolean;
22
+ }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export {};
@@ -0,0 +1,11 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * Response after configuring S3 destination.
6
+ */
7
+ export interface S3ConfigResponse {
8
+ connection_id: string;
9
+ status: string;
10
+ message: string;
11
+ }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export {};
@@ -30,6 +30,8 @@ export interface Source {
30
30
  labels?: string[];
31
31
  /** Whether this source supports cursor-based continuous syncing for incremental data extraction. Sources with this capability can track their sync position and resume from where they left off. */
32
32
  supports_continuous?: boolean;
33
+ /** Whether this source uses federated search instead of traditional syncing. Federated search sources query data in real-time during searches rather than syncing and indexing all data beforehand. */
34
+ federated_search?: boolean;
33
35
  /** Unique system identifier for this source type. Generated automatically when the source is registered. */
34
36
  id: string;
35
37
  /** Timestamp when this source type was registered in the system (ISO 8601 format). */
@@ -18,5 +18,9 @@ export interface SourceConnection {
18
18
  config?: Record<string, unknown>;
19
19
  schedule?: AirweaveSDK.ScheduleDetails;
20
20
  sync?: AirweaveSDK.SyncDetails;
21
+ /** ID of the associated sync */
22
+ sync_id?: string;
21
23
  entities?: AirweaveSDK.EntitySummary;
24
+ /** Whether this source uses federated search */
25
+ federated_search?: boolean;
22
26
  }
@@ -14,6 +14,8 @@ export interface SourceConnectionListItem {
14
14
  modified_at: string;
15
15
  is_authenticated: boolean;
16
16
  entity_count?: number;
17
+ /** Whether this source uses federated search */
18
+ federated_search?: boolean;
17
19
  /** Get authentication method from database value. */
18
20
  auth_method: AirweaveSDK.AuthenticationMethod;
19
21
  /** Compute connection status from current state. */
@@ -84,6 +84,8 @@ export * from "./PayloadField.mjs";
84
84
  export * from "./QueryExpansionStrategy.mjs";
85
85
  export * from "./ResponseType.mjs";
86
86
  export * from "./RetrievalStrategy.mjs";
87
+ export * from "./S3ConfigRequest.mjs";
88
+ export * from "./S3ConfigResponse.mjs";
87
89
  export * from "./ScheduleConfig.mjs";
88
90
  export * from "./ScheduleDetails.mjs";
89
91
  export * from "./ScheduleResponse.mjs";
@@ -84,6 +84,8 @@ export * from "./PayloadField.mjs";
84
84
  export * from "./QueryExpansionStrategy.mjs";
85
85
  export * from "./ResponseType.mjs";
86
86
  export * from "./RetrievalStrategy.mjs";
87
+ export * from "./S3ConfigRequest.mjs";
88
+ export * from "./S3ConfigResponse.mjs";
87
89
  export * from "./ScheduleConfig.mjs";
88
90
  export * from "./ScheduleDetails.mjs";
89
91
  export * from "./ScheduleResponse.mjs";
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "v0.6.40";
1
+ export declare const SDK_VERSION = "v0.6.42";
@@ -1 +1 @@
1
- export const SDK_VERSION = "v0.6.40";
1
+ export const SDK_VERSION = "v0.6.42";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@airweave/sdk",
3
- "version": "v0.6.40",
3
+ "version": "v0.6.42",
4
4
  "private": false,
5
5
  "repository": "github:airweave-ai/typescript-sdk",
6
6
  "type": "commonjs",