@airweave/sdk 0.8.87 → 0.8.88
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/Source.d.ts +4 -8
- 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/Source.d.mts +4 -8
- 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.8.
|
|
52
|
-
"User-Agent": "@airweave/sdk/v0.8.
|
|
51
|
+
"X-Fern-SDK-Version": "v0.8.88",
|
|
52
|
+
"User-Agent": "@airweave/sdk/v0.8.88",
|
|
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) });
|
|
@@ -4,6 +4,8 @@
|
|
|
4
4
|
import * as AirweaveSDK from "../index.js";
|
|
5
5
|
/**
|
|
6
6
|
* Complete source representation with authentication and configuration schemas.
|
|
7
|
+
*
|
|
8
|
+
* Served from the in-memory SourceRegistry — no database row needed.
|
|
7
9
|
*/
|
|
8
10
|
export interface Source {
|
|
9
11
|
/** Human-readable name of the data source connector (e.g., 'GitHub', 'Stripe', 'PostgreSQL'). */
|
|
@@ -24,8 +26,8 @@ export interface Source {
|
|
|
24
26
|
short_name: string;
|
|
25
27
|
/** Python class name of the source implementation that handles data extraction logic. */
|
|
26
28
|
class_name: string;
|
|
27
|
-
/** List of entity definition
|
|
28
|
-
|
|
29
|
+
/** List of entity definition short names that this source can produce (e.g., ['asana_task_entity', 'asana_project_entity']). */
|
|
30
|
+
output_entity_definitions?: string[];
|
|
29
31
|
/** Categorization tags to help users discover and filter sources by domain or use case. */
|
|
30
32
|
labels?: string[];
|
|
31
33
|
/** 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. */
|
|
@@ -40,12 +42,6 @@ export interface Source {
|
|
|
40
42
|
rate_limit_level?: string;
|
|
41
43
|
/** Feature flag required to access this source. If set, only organizations with this feature enabled can see/use this source. */
|
|
42
44
|
feature_flag?: string;
|
|
43
|
-
/** Unique system identifier for this source type. Generated automatically when the source is registered. */
|
|
44
|
-
id: string;
|
|
45
|
-
/** Timestamp when this source type was registered in the system (ISO 8601 format). */
|
|
46
|
-
created_at: string;
|
|
47
|
-
/** Timestamp when this source type was last updated (ISO 8601 format). */
|
|
48
|
-
modified_at: string;
|
|
49
45
|
/** Schema definition for authentication fields required to connect to this source. Only present for sources using DIRECT authentication. OAuth sources handle authentication through browser flows. */
|
|
50
46
|
auth_fields?: AirweaveSDK.Fields;
|
|
51
47
|
/** Schema definition for configuration fields required to customize this source. Describes field types, validation rules, and user interface hints. */
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "v0.8.
|
|
1
|
+
export declare const SDK_VERSION = "v0.8.88";
|
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.8.
|
|
16
|
-
"User-Agent": "@airweave/sdk/v0.8.
|
|
15
|
+
"X-Fern-SDK-Version": "v0.8.88",
|
|
16
|
+
"User-Agent": "@airweave/sdk/v0.8.88",
|
|
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) });
|
|
@@ -4,6 +4,8 @@
|
|
|
4
4
|
import * as AirweaveSDK from "../index.mjs";
|
|
5
5
|
/**
|
|
6
6
|
* Complete source representation with authentication and configuration schemas.
|
|
7
|
+
*
|
|
8
|
+
* Served from the in-memory SourceRegistry — no database row needed.
|
|
7
9
|
*/
|
|
8
10
|
export interface Source {
|
|
9
11
|
/** Human-readable name of the data source connector (e.g., 'GitHub', 'Stripe', 'PostgreSQL'). */
|
|
@@ -24,8 +26,8 @@ export interface Source {
|
|
|
24
26
|
short_name: string;
|
|
25
27
|
/** Python class name of the source implementation that handles data extraction logic. */
|
|
26
28
|
class_name: string;
|
|
27
|
-
/** List of entity definition
|
|
28
|
-
|
|
29
|
+
/** List of entity definition short names that this source can produce (e.g., ['asana_task_entity', 'asana_project_entity']). */
|
|
30
|
+
output_entity_definitions?: string[];
|
|
29
31
|
/** Categorization tags to help users discover and filter sources by domain or use case. */
|
|
30
32
|
labels?: string[];
|
|
31
33
|
/** 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. */
|
|
@@ -40,12 +42,6 @@ export interface Source {
|
|
|
40
42
|
rate_limit_level?: string;
|
|
41
43
|
/** Feature flag required to access this source. If set, only organizations with this feature enabled can see/use this source. */
|
|
42
44
|
feature_flag?: string;
|
|
43
|
-
/** Unique system identifier for this source type. Generated automatically when the source is registered. */
|
|
44
|
-
id: string;
|
|
45
|
-
/** Timestamp when this source type was registered in the system (ISO 8601 format). */
|
|
46
|
-
created_at: string;
|
|
47
|
-
/** Timestamp when this source type was last updated (ISO 8601 format). */
|
|
48
|
-
modified_at: string;
|
|
49
45
|
/** Schema definition for authentication fields required to connect to this source. Only present for sources using DIRECT authentication. OAuth sources handle authentication through browser flows. */
|
|
50
46
|
auth_fields?: AirweaveSDK.Fields;
|
|
51
47
|
/** Schema definition for configuration fields required to customize this source. Describes field types, validation rules, and user interface hints. */
|
package/dist/esm/version.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "v0.8.
|
|
1
|
+
export declare const SDK_VERSION = "v0.8.88";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "v0.8.
|
|
1
|
+
export const SDK_VERSION = "v0.8.88";
|