@airweave/sdk 0.6.39 → 0.6.40

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.
@@ -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.39",
51
- "User-Agent": "@airweave/sdk/v0.6.39",
50
+ "X-Fern-SDK-Version": "v0.6.40",
51
+ "User-Agent": "@airweave/sdk/v0.6.40",
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,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * Available feature flags in Airweave.
6
+ *
7
+ * Add new flags here to enable feature gating at the organization level.
8
+ */
9
+ export type FeatureFlag = "s3_destination" | "priority_support";
10
+ export declare const FeatureFlag: {
11
+ readonly S3Destination: "s3_destination";
12
+ readonly PrioritySupport: "priority_support";
13
+ };
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.FeatureFlag = void 0;
7
+ exports.FeatureFlag = {
8
+ S3Destination: "s3_destination",
9
+ PrioritySupport: "priority_support",
10
+ };
@@ -1,6 +1,7 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
+ import * as AirweaveSDK from "../index.js";
4
5
  /**
5
6
  * Organization schema.
6
7
  */
@@ -12,4 +13,6 @@ export interface Organization {
12
13
  created_at: string;
13
14
  modified_at: string;
14
15
  org_metadata?: Record<string, unknown>;
16
+ /** List of enabled feature flags for this organization */
17
+ enabled_features?: AirweaveSDK.FeatureFlag[];
15
18
  }
@@ -1,6 +1,7 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
+ import * as AirweaveSDK from "../index.js";
4
5
  /**
5
6
  * Comprehensive organization metrics for admin dashboard.
6
7
  *
@@ -39,4 +40,6 @@ export interface OrganizationMetrics {
39
40
  is_member?: boolean;
40
41
  /** Admin's role in this organization (if member) */
41
42
  member_role?: string;
43
+ /** List of enabled feature flags for this organization */
44
+ enabled_features?: AirweaveSDK.FeatureFlag[];
42
45
  }
@@ -1,6 +1,7 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
+ import * as AirweaveSDK from "../index.js";
4
5
  /**
5
6
  * Organization schema with user's role information.
6
7
  */
@@ -14,4 +15,6 @@ export interface OrganizationWithRole {
14
15
  is_primary: boolean;
15
16
  auth0_org_id?: string;
16
17
  org_metadata?: Record<string, unknown>;
18
+ /** List of enabled feature flags for this organization */
19
+ enabled_features?: AirweaveSDK.FeatureFlag[];
17
20
  }
@@ -39,6 +39,7 @@ export * from "./EntityDefinitionCreate.js";
39
39
  export * from "./EntitySummary.js";
40
40
  export * from "./EntityType.js";
41
41
  export * from "./EntityTypeStats.js";
42
+ export * from "./FeatureFlag.js";
42
43
  export * from "./Range.js";
43
44
  export * from "./FieldCondition.js";
44
45
  export * from "./Fields.js";
@@ -55,6 +55,7 @@ __exportStar(require("./EntityDefinitionCreate.js"), exports);
55
55
  __exportStar(require("./EntitySummary.js"), exports);
56
56
  __exportStar(require("./EntityType.js"), exports);
57
57
  __exportStar(require("./EntityTypeStats.js"), exports);
58
+ __exportStar(require("./FeatureFlag.js"), exports);
58
59
  __exportStar(require("./Range.js"), exports);
59
60
  __exportStar(require("./FieldCondition.js"), exports);
60
61
  __exportStar(require("./Fields.js"), exports);
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "v0.6.39";
1
+ export declare const SDK_VERSION = "v0.6.40";
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "v0.6.39";
4
+ exports.SDK_VERSION = "v0.6.40";
@@ -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.39",
15
- "User-Agent": "@airweave/sdk/v0.6.39",
14
+ "X-Fern-SDK-Version": "v0.6.40",
15
+ "User-Agent": "@airweave/sdk/v0.6.40",
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,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * Available feature flags in Airweave.
6
+ *
7
+ * Add new flags here to enable feature gating at the organization level.
8
+ */
9
+ export type FeatureFlag = "s3_destination" | "priority_support";
10
+ export declare const FeatureFlag: {
11
+ readonly S3Destination: "s3_destination";
12
+ readonly PrioritySupport: "priority_support";
13
+ };
@@ -0,0 +1,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export const FeatureFlag = {
5
+ S3Destination: "s3_destination",
6
+ PrioritySupport: "priority_support",
7
+ };
@@ -1,6 +1,7 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
+ import * as AirweaveSDK from "../index.mjs";
4
5
  /**
5
6
  * Organization schema.
6
7
  */
@@ -12,4 +13,6 @@ export interface Organization {
12
13
  created_at: string;
13
14
  modified_at: string;
14
15
  org_metadata?: Record<string, unknown>;
16
+ /** List of enabled feature flags for this organization */
17
+ enabled_features?: AirweaveSDK.FeatureFlag[];
15
18
  }
@@ -1,6 +1,7 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
+ import * as AirweaveSDK from "../index.mjs";
4
5
  /**
5
6
  * Comprehensive organization metrics for admin dashboard.
6
7
  *
@@ -39,4 +40,6 @@ export interface OrganizationMetrics {
39
40
  is_member?: boolean;
40
41
  /** Admin's role in this organization (if member) */
41
42
  member_role?: string;
43
+ /** List of enabled feature flags for this organization */
44
+ enabled_features?: AirweaveSDK.FeatureFlag[];
42
45
  }
@@ -1,6 +1,7 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
+ import * as AirweaveSDK from "../index.mjs";
4
5
  /**
5
6
  * Organization schema with user's role information.
6
7
  */
@@ -14,4 +15,6 @@ export interface OrganizationWithRole {
14
15
  is_primary: boolean;
15
16
  auth0_org_id?: string;
16
17
  org_metadata?: Record<string, unknown>;
18
+ /** List of enabled feature flags for this organization */
19
+ enabled_features?: AirweaveSDK.FeatureFlag[];
17
20
  }
@@ -39,6 +39,7 @@ export * from "./EntityDefinitionCreate.mjs";
39
39
  export * from "./EntitySummary.mjs";
40
40
  export * from "./EntityType.mjs";
41
41
  export * from "./EntityTypeStats.mjs";
42
+ export * from "./FeatureFlag.mjs";
42
43
  export * from "./Range.mjs";
43
44
  export * from "./FieldCondition.mjs";
44
45
  export * from "./Fields.mjs";
@@ -39,6 +39,7 @@ export * from "./EntityDefinitionCreate.mjs";
39
39
  export * from "./EntitySummary.mjs";
40
40
  export * from "./EntityType.mjs";
41
41
  export * from "./EntityTypeStats.mjs";
42
+ export * from "./FeatureFlag.mjs";
42
43
  export * from "./Range.mjs";
43
44
  export * from "./FieldCondition.mjs";
44
45
  export * from "./Fields.mjs";
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "v0.6.39";
1
+ export declare const SDK_VERSION = "v0.6.40";
@@ -1 +1 @@
1
- export const SDK_VERSION = "v0.6.39";
1
+ export const SDK_VERSION = "v0.6.40";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@airweave/sdk",
3
- "version": "v0.6.39",
3
+ "version": "v0.6.40",
4
4
  "private": false,
5
5
  "repository": "github:airweave-ai/typescript-sdk",
6
6
  "type": "commonjs",