@airweave/sdk 0.6.97 → 0.7.0
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/README.md +19 -1
- package/dist/cjs/Client.js +2 -2
- package/dist/cjs/api/types/OrganizationMetrics.d.ts +1 -1
- 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/OrganizationMetrics.d.mts +1 -1
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -5,6 +5,24 @@
|
|
|
5
5
|
|
|
6
6
|
The Airweave TypeScript library provides convenient access to the Airweave APIs from TypeScript.
|
|
7
7
|
|
|
8
|
+
## Table of Contents
|
|
9
|
+
|
|
10
|
+
- [Installation](#installation)
|
|
11
|
+
- [Reference](#reference)
|
|
12
|
+
- [Usage](#usage)
|
|
13
|
+
- [Framework Tracking](#framework-tracking)
|
|
14
|
+
- [Request and Response Types](#request-and-response-types)
|
|
15
|
+
- [Exception Handling](#exception-handling)
|
|
16
|
+
- [Advanced](#advanced)
|
|
17
|
+
- [Additional Headers](#additional-headers)
|
|
18
|
+
- [Additional Query String Parameters](#additional-query-string-parameters)
|
|
19
|
+
- [Retries](#retries)
|
|
20
|
+
- [Timeouts](#timeouts)
|
|
21
|
+
- [Aborting Requests](#aborting-requests)
|
|
22
|
+
- [Access Raw Response Data](#access-raw-response-data)
|
|
23
|
+
- [Runtime Compatibility](#runtime-compatibility)
|
|
24
|
+
- [Contributing](#contributing)
|
|
25
|
+
|
|
8
26
|
## Installation
|
|
9
27
|
|
|
10
28
|
```sh
|
|
@@ -49,7 +67,7 @@ const client = new AirweaveSDKClient({
|
|
|
49
67
|
|
|
50
68
|
The framework information is automatically sent with every request as headers (`X-Framework-Name` and `X-Framework-Version`), enabling better insights and troubleshooting.
|
|
51
69
|
|
|
52
|
-
## Request
|
|
70
|
+
## Request and Response Types
|
|
53
71
|
|
|
54
72
|
The SDK exports all request and response types as TypeScript interfaces. Simply import them with the
|
|
55
73
|
following namespace:
|
package/dist/cjs/Client.js
CHANGED
|
@@ -49,8 +49,8 @@ class AirweaveSDKClient {
|
|
|
49
49
|
"X-Framework-Version": _options === null || _options === void 0 ? void 0 : _options.frameworkVersion,
|
|
50
50
|
"X-Fern-Language": "JavaScript",
|
|
51
51
|
"X-Fern-SDK-Name": "@airweave/sdk",
|
|
52
|
-
"X-Fern-SDK-Version": "v0.
|
|
53
|
-
"User-Agent": "@airweave/sdk/v0.
|
|
52
|
+
"X-Fern-SDK-Version": "v0.7.0",
|
|
53
|
+
"User-Agent": "@airweave/sdk/v0.7.0",
|
|
54
54
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
55
55
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
56
56
|
}, _options === null || _options === void 0 ? void 0 : _options.headers) });
|
|
@@ -30,7 +30,7 @@ export interface OrganizationMetrics {
|
|
|
30
30
|
trial_ends_at?: string;
|
|
31
31
|
/** Number of users in organization */
|
|
32
32
|
user_count?: number;
|
|
33
|
-
/** Number of source connections (from
|
|
33
|
+
/** Number of source connections (computed from source_connection table) */
|
|
34
34
|
source_connection_count?: number;
|
|
35
35
|
/** Total number of entities (from Usage.entities) */
|
|
36
36
|
entity_count?: number;
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "v0.
|
|
1
|
+
export declare const SDK_VERSION = "v0.7.0";
|
package/dist/cjs/version.js
CHANGED
package/dist/esm/Client.mjs
CHANGED
|
@@ -13,8 +13,8 @@ export class AirweaveSDKClient {
|
|
|
13
13
|
"X-Framework-Version": _options === null || _options === void 0 ? void 0 : _options.frameworkVersion,
|
|
14
14
|
"X-Fern-Language": "JavaScript",
|
|
15
15
|
"X-Fern-SDK-Name": "@airweave/sdk",
|
|
16
|
-
"X-Fern-SDK-Version": "v0.
|
|
17
|
-
"User-Agent": "@airweave/sdk/v0.
|
|
16
|
+
"X-Fern-SDK-Version": "v0.7.0",
|
|
17
|
+
"User-Agent": "@airweave/sdk/v0.7.0",
|
|
18
18
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
19
19
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
20
20
|
}, _options === null || _options === void 0 ? void 0 : _options.headers) });
|
|
@@ -30,7 +30,7 @@ export interface OrganizationMetrics {
|
|
|
30
30
|
trial_ends_at?: string;
|
|
31
31
|
/** Number of users in organization */
|
|
32
32
|
user_count?: number;
|
|
33
|
-
/** Number of source connections (from
|
|
33
|
+
/** Number of source connections (computed from source_connection table) */
|
|
34
34
|
source_connection_count?: number;
|
|
35
35
|
/** Total number of entities (from Usage.entities) */
|
|
36
36
|
entity_count?: number;
|
package/dist/esm/version.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "v0.
|
|
1
|
+
export declare const SDK_VERSION = "v0.7.0";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "v0.
|
|
1
|
+
export const SDK_VERSION = "v0.7.0";
|