@airweave/sdk 0.6.31 → 0.6.33
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/Collection.d.ts +1 -1
- package/dist/cjs/api/types/CollectionStatus.d.ts +1 -2
- package/dist/cjs/api/types/CollectionStatus.js +0 -1
- package/dist/cjs/api/types/Source.d.ts +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/Collection.d.mts +1 -1
- package/dist/esm/api/types/CollectionStatus.d.mts +1 -2
- package/dist/esm/api/types/CollectionStatus.mjs +0 -1
- package/dist/esm/api/types/Source.d.mts +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
|
@@ -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.
|
|
51
|
-
"User-Agent": "@airweave/sdk/v0.6.
|
|
50
|
+
"X-Fern-SDK-Version": "v0.6.33",
|
|
51
|
+
"User-Agent": "@airweave/sdk/v0.6.33",
|
|
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) });
|
|
@@ -25,6 +25,6 @@ export interface Collection {
|
|
|
25
25
|
created_by_email?: string;
|
|
26
26
|
/** Email address of the user who last modified this collection. */
|
|
27
27
|
modified_by_email?: string;
|
|
28
|
-
/** Current operational status of the collection:<br/>• **NEEDS_SOURCE**: Collection
|
|
28
|
+
/** Current operational status of the collection:<br/>• **NEEDS_SOURCE**: Collection has no authenticated connections, or connections exist but haven't synced yet<br/>• **ACTIVE**: At least one connection has completed a sync or is currently syncing<br/>• **ERROR**: All connections have failed their last sync */
|
|
29
29
|
status?: AirweaveSDK.CollectionStatus;
|
|
30
30
|
}
|
|
@@ -4,10 +4,9 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* Collection status enum.
|
|
6
6
|
*/
|
|
7
|
-
export type CollectionStatus = "ACTIVE" | "
|
|
7
|
+
export type CollectionStatus = "ACTIVE" | "NEEDS SOURCE" | "ERROR";
|
|
8
8
|
export declare const CollectionStatus: {
|
|
9
9
|
readonly Active: "ACTIVE";
|
|
10
|
-
readonly PartialError: "PARTIAL ERROR";
|
|
11
10
|
readonly NeedsSource: "NEEDS SOURCE";
|
|
12
11
|
readonly Error: "ERROR";
|
|
13
12
|
};
|
|
@@ -40,4 +40,6 @@ export interface Source {
|
|
|
40
40
|
auth_fields?: AirweaveSDK.Fields;
|
|
41
41
|
/** Schema definition for configuration fields required to customize this source. Describes field types, validation rules, and user interface hints. */
|
|
42
42
|
config_fields: AirweaveSDK.Fields;
|
|
43
|
+
/** List of auth provider short names that support this source (e.g., ['composio', 'pipedream']). Computed dynamically for API responses. This field is not stored in the database. */
|
|
44
|
+
supported_auth_providers?: string[];
|
|
43
45
|
}
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "v0.6.
|
|
1
|
+
export declare const SDK_VERSION = "v0.6.33";
|
package/dist/cjs/version.js
CHANGED
package/dist/esm/Client.mjs
CHANGED
|
@@ -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.
|
|
15
|
-
"User-Agent": "@airweave/sdk/v0.6.
|
|
14
|
+
"X-Fern-SDK-Version": "v0.6.33",
|
|
15
|
+
"User-Agent": "@airweave/sdk/v0.6.33",
|
|
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) });
|
|
@@ -25,6 +25,6 @@ export interface Collection {
|
|
|
25
25
|
created_by_email?: string;
|
|
26
26
|
/** Email address of the user who last modified this collection. */
|
|
27
27
|
modified_by_email?: string;
|
|
28
|
-
/** Current operational status of the collection:<br/>• **NEEDS_SOURCE**: Collection
|
|
28
|
+
/** Current operational status of the collection:<br/>• **NEEDS_SOURCE**: Collection has no authenticated connections, or connections exist but haven't synced yet<br/>• **ACTIVE**: At least one connection has completed a sync or is currently syncing<br/>• **ERROR**: All connections have failed their last sync */
|
|
29
29
|
status?: AirweaveSDK.CollectionStatus;
|
|
30
30
|
}
|
|
@@ -4,10 +4,9 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* Collection status enum.
|
|
6
6
|
*/
|
|
7
|
-
export type CollectionStatus = "ACTIVE" | "
|
|
7
|
+
export type CollectionStatus = "ACTIVE" | "NEEDS SOURCE" | "ERROR";
|
|
8
8
|
export declare const CollectionStatus: {
|
|
9
9
|
readonly Active: "ACTIVE";
|
|
10
|
-
readonly PartialError: "PARTIAL ERROR";
|
|
11
10
|
readonly NeedsSource: "NEEDS SOURCE";
|
|
12
11
|
readonly Error: "ERROR";
|
|
13
12
|
};
|
|
@@ -40,4 +40,6 @@ export interface Source {
|
|
|
40
40
|
auth_fields?: AirweaveSDK.Fields;
|
|
41
41
|
/** Schema definition for configuration fields required to customize this source. Describes field types, validation rules, and user interface hints. */
|
|
42
42
|
config_fields: AirweaveSDK.Fields;
|
|
43
|
+
/** List of auth provider short names that support this source (e.g., ['composio', 'pipedream']). Computed dynamically for API responses. This field is not stored in the database. */
|
|
44
|
+
supported_auth_providers?: string[];
|
|
43
45
|
}
|
package/dist/esm/version.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "v0.6.
|
|
1
|
+
export declare const SDK_VERSION = "v0.6.33";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "v0.6.
|
|
1
|
+
export const SDK_VERSION = "v0.6.33";
|