@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.
- package/dist/cjs/Client.js +2 -2
- package/dist/cjs/api/types/AuthenticationDetails.d.ts +2 -0
- package/dist/cjs/api/types/Collection.d.ts +2 -0
- package/dist/cjs/api/types/FeatureFlag.d.ts +2 -1
- package/dist/cjs/api/types/FeatureFlag.js +1 -0
- package/dist/cjs/api/types/SourceConnectionSummary.d.ts +10 -0
- package/dist/cjs/api/types/SourceConnectionSummary.js +5 -0
- package/dist/cjs/api/types/VerifyOAuthRequest.d.ts +10 -0
- package/dist/cjs/api/types/VerifyOAuthRequest.js +5 -0
- package/dist/cjs/api/types/index.d.ts +2 -0
- package/dist/cjs/api/types/index.js +2 -0
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/Client.mjs +2 -2
- package/dist/esm/api/types/AuthenticationDetails.d.mts +2 -0
- package/dist/esm/api/types/Collection.d.mts +2 -0
- package/dist/esm/api/types/FeatureFlag.d.mts +2 -1
- package/dist/esm/api/types/FeatureFlag.mjs +1 -0
- package/dist/esm/api/types/SourceConnectionSummary.d.mts +10 -0
- package/dist/esm/api/types/SourceConnectionSummary.mjs +4 -0
- package/dist/esm/api/types/VerifyOAuthRequest.d.mts +10 -0
- package/dist/esm/api/types/VerifyOAuthRequest.mjs +4 -0
- package/dist/esm/api/types/index.d.mts +2 -0
- package/dist/esm/api/types/index.mjs +2 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
package/dist/cjs/Client.js
CHANGED
|
@@ -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.
|
|
52
|
-
"User-Agent": "@airweave/sdk/v0.9.
|
|
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
|
};
|
|
@@ -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);
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "v0.9.
|
|
1
|
+
export declare const SDK_VERSION = "v0.9.31";
|
package/dist/cjs/version.js
CHANGED
package/dist/esm/Client.mjs
CHANGED
|
@@ -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.
|
|
16
|
-
"User-Agent": "@airweave/sdk/v0.9.
|
|
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
|
};
|
|
@@ -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";
|
package/dist/esm/version.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "v0.9.
|
|
1
|
+
export declare const SDK_VERSION = "v0.9.31";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "v0.9.
|
|
1
|
+
export const SDK_VERSION = "v0.9.31";
|