@airweave/sdk 0.6.36 → 0.6.37
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/OrganizationMetrics.d.ts +42 -0
- package/dist/cjs/api/types/OrganizationMetrics.js +5 -0
- package/dist/cjs/api/types/User.d.ts +1 -0
- package/dist/cjs/api/types/index.d.ts +1 -0
- package/dist/cjs/api/types/index.js +1 -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/OrganizationMetrics.d.mts +42 -0
- package/dist/esm/api/types/OrganizationMetrics.mjs +4 -0
- package/dist/esm/api/types/User.d.mts +1 -0
- package/dist/esm/api/types/index.d.mts +1 -0
- package/dist/esm/api/types/index.mjs +1 -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.37",
|
|
51
|
+
"User-Agent": "@airweave/sdk/v0.6.37",
|
|
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) });
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Comprehensive organization metrics for admin dashboard.
|
|
6
|
+
*
|
|
7
|
+
* Combines organization info with billing and usage metrics from the Usage model.
|
|
8
|
+
*/
|
|
9
|
+
export interface OrganizationMetrics {
|
|
10
|
+
/** Organization ID */
|
|
11
|
+
id: string;
|
|
12
|
+
/** Organization name */
|
|
13
|
+
name: string;
|
|
14
|
+
/** Organization description */
|
|
15
|
+
description?: string;
|
|
16
|
+
/** When organization was created */
|
|
17
|
+
created_at: string;
|
|
18
|
+
/** Last modification time */
|
|
19
|
+
modified_at: string;
|
|
20
|
+
/** Auth0 organization ID */
|
|
21
|
+
auth0_org_id?: string;
|
|
22
|
+
/** Current billing plan (trial, starter, pro, enterprise) */
|
|
23
|
+
billing_plan?: string;
|
|
24
|
+
/** Billing status (active, cancelled, past_due, etc.) */
|
|
25
|
+
billing_status?: string;
|
|
26
|
+
/** Stripe customer ID */
|
|
27
|
+
stripe_customer_id?: string;
|
|
28
|
+
/** When trial ends */
|
|
29
|
+
trial_ends_at?: string;
|
|
30
|
+
/** Number of users in organization */
|
|
31
|
+
user_count?: number;
|
|
32
|
+
/** Number of source connections (from Usage.source_connections) */
|
|
33
|
+
source_connection_count?: number;
|
|
34
|
+
/** Total number of entities (from Usage.entities) */
|
|
35
|
+
entity_count?: number;
|
|
36
|
+
/** Total number of queries (from Usage.queries) */
|
|
37
|
+
query_count?: number;
|
|
38
|
+
/** Whether the current admin user is already a member */
|
|
39
|
+
is_member?: boolean;
|
|
40
|
+
/** Admin's role in this organization (if member) */
|
|
41
|
+
member_role?: string;
|
|
42
|
+
}
|
|
@@ -75,6 +75,7 @@ export * from "./OAuthTokenAuthentication.js";
|
|
|
75
75
|
export * from "./OAuthType.js";
|
|
76
76
|
export * from "./Organization.js";
|
|
77
77
|
export * from "./OrganizationCreate.js";
|
|
78
|
+
export * from "./OrganizationMetrics.js";
|
|
78
79
|
export * from "./OrganizationWithRole.js";
|
|
79
80
|
export * from "./PayloadField.js";
|
|
80
81
|
export * from "./QueryExpansionStrategy.js";
|
|
@@ -91,6 +91,7 @@ __exportStar(require("./OAuthTokenAuthentication.js"), exports);
|
|
|
91
91
|
__exportStar(require("./OAuthType.js"), exports);
|
|
92
92
|
__exportStar(require("./Organization.js"), exports);
|
|
93
93
|
__exportStar(require("./OrganizationCreate.js"), exports);
|
|
94
|
+
__exportStar(require("./OrganizationMetrics.js"), exports);
|
|
94
95
|
__exportStar(require("./OrganizationWithRole.js"), exports);
|
|
95
96
|
__exportStar(require("./PayloadField.js"), exports);
|
|
96
97
|
__exportStar(require("./QueryExpansionStrategy.js"), exports);
|
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.37";
|
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.37",
|
|
15
|
+
"User-Agent": "@airweave/sdk/v0.6.37",
|
|
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) });
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Comprehensive organization metrics for admin dashboard.
|
|
6
|
+
*
|
|
7
|
+
* Combines organization info with billing and usage metrics from the Usage model.
|
|
8
|
+
*/
|
|
9
|
+
export interface OrganizationMetrics {
|
|
10
|
+
/** Organization ID */
|
|
11
|
+
id: string;
|
|
12
|
+
/** Organization name */
|
|
13
|
+
name: string;
|
|
14
|
+
/** Organization description */
|
|
15
|
+
description?: string;
|
|
16
|
+
/** When organization was created */
|
|
17
|
+
created_at: string;
|
|
18
|
+
/** Last modification time */
|
|
19
|
+
modified_at: string;
|
|
20
|
+
/** Auth0 organization ID */
|
|
21
|
+
auth0_org_id?: string;
|
|
22
|
+
/** Current billing plan (trial, starter, pro, enterprise) */
|
|
23
|
+
billing_plan?: string;
|
|
24
|
+
/** Billing status (active, cancelled, past_due, etc.) */
|
|
25
|
+
billing_status?: string;
|
|
26
|
+
/** Stripe customer ID */
|
|
27
|
+
stripe_customer_id?: string;
|
|
28
|
+
/** When trial ends */
|
|
29
|
+
trial_ends_at?: string;
|
|
30
|
+
/** Number of users in organization */
|
|
31
|
+
user_count?: number;
|
|
32
|
+
/** Number of source connections (from Usage.source_connections) */
|
|
33
|
+
source_connection_count?: number;
|
|
34
|
+
/** Total number of entities (from Usage.entities) */
|
|
35
|
+
entity_count?: number;
|
|
36
|
+
/** Total number of queries (from Usage.queries) */
|
|
37
|
+
query_count?: number;
|
|
38
|
+
/** Whether the current admin user is already a member */
|
|
39
|
+
is_member?: boolean;
|
|
40
|
+
/** Admin's role in this organization (if member) */
|
|
41
|
+
member_role?: string;
|
|
42
|
+
}
|
|
@@ -75,6 +75,7 @@ export * from "./OAuthTokenAuthentication.mjs";
|
|
|
75
75
|
export * from "./OAuthType.mjs";
|
|
76
76
|
export * from "./Organization.mjs";
|
|
77
77
|
export * from "./OrganizationCreate.mjs";
|
|
78
|
+
export * from "./OrganizationMetrics.mjs";
|
|
78
79
|
export * from "./OrganizationWithRole.mjs";
|
|
79
80
|
export * from "./PayloadField.mjs";
|
|
80
81
|
export * from "./QueryExpansionStrategy.mjs";
|
|
@@ -75,6 +75,7 @@ export * from "./OAuthTokenAuthentication.mjs";
|
|
|
75
75
|
export * from "./OAuthType.mjs";
|
|
76
76
|
export * from "./Organization.mjs";
|
|
77
77
|
export * from "./OrganizationCreate.mjs";
|
|
78
|
+
export * from "./OrganizationMetrics.mjs";
|
|
78
79
|
export * from "./OrganizationWithRole.mjs";
|
|
79
80
|
export * from "./PayloadField.mjs";
|
|
80
81
|
export * from "./QueryExpansionStrategy.mjs";
|
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.37";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "v0.6.
|
|
1
|
+
export const SDK_VERSION = "v0.6.37";
|