@airweave/sdk 0.9.29 → 0.9.31

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.
@@ -48,8 +48,8 @@ class AirweaveSDKClient {
48
48
  this._options = Object.assign(Object.assign({}, _options), { headers: (0, headers_js_1.mergeHeaders)({
49
49
  "X-Fern-Language": "JavaScript",
50
50
  "X-Fern-SDK-Name": "@airweave/sdk",
51
- "X-Fern-SDK-Version": "v0.9.29",
52
- "User-Agent": "@airweave/sdk/v0.9.29",
51
+ "X-Fern-SDK-Version": "v0.9.31",
52
+ "User-Agent": "@airweave/sdk/v0.9.31",
53
53
  "X-Fern-Runtime": core.RUNTIME.type,
54
54
  "X-Fern-Runtime-Version": core.RUNTIME.version,
55
55
  }, _options === null || _options === void 0 ? void 0 : _options.headers) });
@@ -14,6 +14,8 @@ export interface AuthenticationDetails {
14
14
  auth_url?: string;
15
15
  auth_url_expires?: string;
16
16
  redirect_url?: string;
17
+ /** One-time token to verify OAuth flow ownership. Only returned when creating an OAuth browser connection. */
18
+ claim_token?: string;
17
19
  provider_readable_id?: string;
18
20
  provider_id?: string;
19
21
  }
@@ -36,4 +36,6 @@ export interface Collection {
36
36
  vector_size: number;
37
37
  /** Name of the embedding model used for this collection (derived from deployment metadata). */
38
38
  embedding_model_name: string;
39
+ /** Lightweight list of source connections attached to this collection. Contains only short_name and name, suitable for rendering icons in list views. */
40
+ source_connection_summaries?: AirweaveSDK.SourceConnectionSummary[];
39
41
  }
@@ -6,7 +6,7 @@
6
6
  *
7
7
  * Add new flags here to enable feature gating at the organization level.
8
8
  */
9
- export type FeatureFlag = "priority_support" | "source_rate_limiting" | "zephyr_scale" | "sharepoint_2019_v2" | "agentic_search" | "api_key_admin_sync";
9
+ export type FeatureFlag = "priority_support" | "source_rate_limiting" | "zephyr_scale" | "sharepoint_2019_v2" | "agentic_search" | "api_key_admin_sync" | "connect";
10
10
  export declare const FeatureFlag: {
11
11
  readonly PrioritySupport: "priority_support";
12
12
  readonly SourceRateLimiting: "source_rate_limiting";
@@ -14,4 +14,5 @@ export declare const FeatureFlag: {
14
14
  readonly Sharepoint2019V2: "sharepoint_2019_v2";
15
15
  readonly AgenticSearch: "agentic_search";
16
16
  readonly ApiKeyAdminSync: "api_key_admin_sync";
17
+ readonly Connect: "connect";
17
18
  };
@@ -11,4 +11,5 @@ exports.FeatureFlag = {
11
11
  Sharepoint2019V2: "sharepoint_2019_v2",
12
12
  AgenticSearch: "agentic_search",
13
13
  ApiKeyAdminSync: "api_key_admin_sync",
14
+ Connect: "connect",
14
15
  };
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * Lightweight summary of a source connection for collection list display.
6
+ */
7
+ export interface SourceConnectionSummary {
8
+ short_name: string;
9
+ name: 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,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * Request body for verifying OAuth flow ownership.
6
+ */
7
+ export interface VerifyOAuthRequest {
8
+ /** Claim token from create response */
9
+ claim_token: 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 });
@@ -99,6 +99,7 @@ export * from "./SourceConnection.js";
99
99
  export * from "./SourceConnectionJob.js";
100
100
  export * from "./SourceConnectionListItem.js";
101
101
  export * from "./SourceConnectionStatus.js";
102
+ export * from "./SourceConnectionSummary.js";
102
103
  export * from "./SourceRateLimit.js";
103
104
  export * from "./SourceRateLimitResponse.js";
104
105
  export * from "./SourceRateLimitUpdateRequest.js";
@@ -119,6 +120,7 @@ export * from "./UserOrganization.js";
119
120
  export * from "./ValidationError.js";
120
121
  export * from "./ValidationErrorDetail.js";
121
122
  export * from "./ValidationErrorResponse.js";
123
+ export * from "./VerifyOAuthRequest.js";
122
124
  export * from "./WebhookMessage.js";
123
125
  export * from "./WebhookMessageWithAttempts.js";
124
126
  export * from "./WebhookSubscription.js";
@@ -115,6 +115,7 @@ __exportStar(require("./SourceConnection.js"), exports);
115
115
  __exportStar(require("./SourceConnectionJob.js"), exports);
116
116
  __exportStar(require("./SourceConnectionListItem.js"), exports);
117
117
  __exportStar(require("./SourceConnectionStatus.js"), exports);
118
+ __exportStar(require("./SourceConnectionSummary.js"), exports);
118
119
  __exportStar(require("./SourceRateLimit.js"), exports);
119
120
  __exportStar(require("./SourceRateLimitResponse.js"), exports);
120
121
  __exportStar(require("./SourceRateLimitUpdateRequest.js"), exports);
@@ -135,6 +136,7 @@ __exportStar(require("./UserOrganization.js"), exports);
135
136
  __exportStar(require("./ValidationError.js"), exports);
136
137
  __exportStar(require("./ValidationErrorDetail.js"), exports);
137
138
  __exportStar(require("./ValidationErrorResponse.js"), exports);
139
+ __exportStar(require("./VerifyOAuthRequest.js"), exports);
138
140
  __exportStar(require("./WebhookMessage.js"), exports);
139
141
  __exportStar(require("./WebhookMessageWithAttempts.js"), exports);
140
142
  __exportStar(require("./WebhookSubscription.js"), exports);
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "v0.9.29";
1
+ export declare const SDK_VERSION = "v0.9.31";
@@ -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.9.29";
4
+ exports.SDK_VERSION = "v0.9.31";
@@ -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.9.29",
16
- "User-Agent": "@airweave/sdk/v0.9.29",
15
+ "X-Fern-SDK-Version": "v0.9.31",
16
+ "User-Agent": "@airweave/sdk/v0.9.31",
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) });
@@ -14,6 +14,8 @@ export interface AuthenticationDetails {
14
14
  auth_url?: string;
15
15
  auth_url_expires?: string;
16
16
  redirect_url?: string;
17
+ /** One-time token to verify OAuth flow ownership. Only returned when creating an OAuth browser connection. */
18
+ claim_token?: string;
17
19
  provider_readable_id?: string;
18
20
  provider_id?: string;
19
21
  }
@@ -36,4 +36,6 @@ export interface Collection {
36
36
  vector_size: number;
37
37
  /** Name of the embedding model used for this collection (derived from deployment metadata). */
38
38
  embedding_model_name: string;
39
+ /** Lightweight list of source connections attached to this collection. Contains only short_name and name, suitable for rendering icons in list views. */
40
+ source_connection_summaries?: AirweaveSDK.SourceConnectionSummary[];
39
41
  }
@@ -6,7 +6,7 @@
6
6
  *
7
7
  * Add new flags here to enable feature gating at the organization level.
8
8
  */
9
- export type FeatureFlag = "priority_support" | "source_rate_limiting" | "zephyr_scale" | "sharepoint_2019_v2" | "agentic_search" | "api_key_admin_sync";
9
+ export type FeatureFlag = "priority_support" | "source_rate_limiting" | "zephyr_scale" | "sharepoint_2019_v2" | "agentic_search" | "api_key_admin_sync" | "connect";
10
10
  export declare const FeatureFlag: {
11
11
  readonly PrioritySupport: "priority_support";
12
12
  readonly SourceRateLimiting: "source_rate_limiting";
@@ -14,4 +14,5 @@ export declare const FeatureFlag: {
14
14
  readonly Sharepoint2019V2: "sharepoint_2019_v2";
15
15
  readonly AgenticSearch: "agentic_search";
16
16
  readonly ApiKeyAdminSync: "api_key_admin_sync";
17
+ readonly Connect: "connect";
17
18
  };
@@ -8,4 +8,5 @@ export const FeatureFlag = {
8
8
  Sharepoint2019V2: "sharepoint_2019_v2",
9
9
  AgenticSearch: "agentic_search",
10
10
  ApiKeyAdminSync: "api_key_admin_sync",
11
+ Connect: "connect",
11
12
  };
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * Lightweight summary of a source connection for collection list display.
6
+ */
7
+ export interface SourceConnectionSummary {
8
+ short_name: string;
9
+ name: string;
10
+ }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export {};
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * Request body for verifying OAuth flow ownership.
6
+ */
7
+ export interface VerifyOAuthRequest {
8
+ /** Claim token from create response */
9
+ claim_token: string;
10
+ }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export {};
@@ -99,6 +99,7 @@ export * from "./SourceConnection.mjs";
99
99
  export * from "./SourceConnectionJob.mjs";
100
100
  export * from "./SourceConnectionListItem.mjs";
101
101
  export * from "./SourceConnectionStatus.mjs";
102
+ export * from "./SourceConnectionSummary.mjs";
102
103
  export * from "./SourceRateLimit.mjs";
103
104
  export * from "./SourceRateLimitResponse.mjs";
104
105
  export * from "./SourceRateLimitUpdateRequest.mjs";
@@ -119,6 +120,7 @@ export * from "./UserOrganization.mjs";
119
120
  export * from "./ValidationError.mjs";
120
121
  export * from "./ValidationErrorDetail.mjs";
121
122
  export * from "./ValidationErrorResponse.mjs";
123
+ export * from "./VerifyOAuthRequest.mjs";
122
124
  export * from "./WebhookMessage.mjs";
123
125
  export * from "./WebhookMessageWithAttempts.mjs";
124
126
  export * from "./WebhookSubscription.mjs";
@@ -99,6 +99,7 @@ export * from "./SourceConnection.mjs";
99
99
  export * from "./SourceConnectionJob.mjs";
100
100
  export * from "./SourceConnectionListItem.mjs";
101
101
  export * from "./SourceConnectionStatus.mjs";
102
+ export * from "./SourceConnectionSummary.mjs";
102
103
  export * from "./SourceRateLimit.mjs";
103
104
  export * from "./SourceRateLimitResponse.mjs";
104
105
  export * from "./SourceRateLimitUpdateRequest.mjs";
@@ -119,6 +120,7 @@ export * from "./UserOrganization.mjs";
119
120
  export * from "./ValidationError.mjs";
120
121
  export * from "./ValidationErrorDetail.mjs";
121
122
  export * from "./ValidationErrorResponse.mjs";
123
+ export * from "./VerifyOAuthRequest.mjs";
122
124
  export * from "./WebhookMessage.mjs";
123
125
  export * from "./WebhookMessageWithAttempts.mjs";
124
126
  export * from "./WebhookSubscription.mjs";
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "v0.9.29";
1
+ export declare const SDK_VERSION = "v0.9.31";
@@ -1 +1 @@
1
- export const SDK_VERSION = "v0.9.29";
1
+ export const SDK_VERSION = "v0.9.31";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@airweave/sdk",
3
- "version": "v0.9.29",
3
+ "version": "v0.9.31",
4
4
  "private": false,
5
5
  "repository": "github:airweave-ai/typescript-sdk",
6
6
  "type": "commonjs",