@airweave/sdk 0.6.39 → 0.6.41

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.41",
51
+ "User-Agent": "@airweave/sdk/v0.6.41",
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
  }
@@ -0,0 +1,22 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * Request to configure S3 destination.
6
+ */
7
+ export interface S3ConfigRequest {
8
+ /** AWS access key ID */
9
+ aws_access_key_id: string;
10
+ /** AWS secret access key */
11
+ aws_secret_access_key: string;
12
+ /** S3 bucket name */
13
+ bucket_name: string;
14
+ /** Prefix for Airweave data */
15
+ bucket_prefix?: string;
16
+ /** AWS region */
17
+ aws_region?: string;
18
+ /** Custom S3 endpoint */
19
+ endpoint_url?: string;
20
+ /** Use SSL/TLS */
21
+ use_ssl?: boolean;
22
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,11 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * Response after configuring S3 destination.
6
+ */
7
+ export interface S3ConfigResponse {
8
+ connection_id: string;
9
+ status: string;
10
+ message: string;
11
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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";
@@ -83,6 +84,8 @@ export * from "./PayloadField.js";
83
84
  export * from "./QueryExpansionStrategy.js";
84
85
  export * from "./ResponseType.js";
85
86
  export * from "./RetrievalStrategy.js";
87
+ export * from "./S3ConfigRequest.js";
88
+ export * from "./S3ConfigResponse.js";
86
89
  export * from "./ScheduleConfig.js";
87
90
  export * from "./ScheduleDetails.js";
88
91
  export * from "./ScheduleResponse.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);
@@ -99,6 +100,8 @@ __exportStar(require("./PayloadField.js"), exports);
99
100
  __exportStar(require("./QueryExpansionStrategy.js"), exports);
100
101
  __exportStar(require("./ResponseType.js"), exports);
101
102
  __exportStar(require("./RetrievalStrategy.js"), exports);
103
+ __exportStar(require("./S3ConfigRequest.js"), exports);
104
+ __exportStar(require("./S3ConfigResponse.js"), exports);
102
105
  __exportStar(require("./ScheduleConfig.js"), exports);
103
106
  __exportStar(require("./ScheduleDetails.js"), exports);
104
107
  __exportStar(require("./ScheduleResponse.js"), exports);
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "v0.6.39";
1
+ export declare const SDK_VERSION = "v0.6.41";
@@ -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.41";
@@ -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.41",
15
+ "User-Agent": "@airweave/sdk/v0.6.41",
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
  }
@@ -0,0 +1,22 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * Request to configure S3 destination.
6
+ */
7
+ export interface S3ConfigRequest {
8
+ /** AWS access key ID */
9
+ aws_access_key_id: string;
10
+ /** AWS secret access key */
11
+ aws_secret_access_key: string;
12
+ /** S3 bucket name */
13
+ bucket_name: string;
14
+ /** Prefix for Airweave data */
15
+ bucket_prefix?: string;
16
+ /** AWS region */
17
+ aws_region?: string;
18
+ /** Custom S3 endpoint */
19
+ endpoint_url?: string;
20
+ /** Use SSL/TLS */
21
+ use_ssl?: boolean;
22
+ }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export {};
@@ -0,0 +1,11 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * Response after configuring S3 destination.
6
+ */
7
+ export interface S3ConfigResponse {
8
+ connection_id: string;
9
+ status: string;
10
+ message: string;
11
+ }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export {};
@@ -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";
@@ -83,6 +84,8 @@ export * from "./PayloadField.mjs";
83
84
  export * from "./QueryExpansionStrategy.mjs";
84
85
  export * from "./ResponseType.mjs";
85
86
  export * from "./RetrievalStrategy.mjs";
87
+ export * from "./S3ConfigRequest.mjs";
88
+ export * from "./S3ConfigResponse.mjs";
86
89
  export * from "./ScheduleConfig.mjs";
87
90
  export * from "./ScheduleDetails.mjs";
88
91
  export * from "./ScheduleResponse.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";
@@ -83,6 +84,8 @@ export * from "./PayloadField.mjs";
83
84
  export * from "./QueryExpansionStrategy.mjs";
84
85
  export * from "./ResponseType.mjs";
85
86
  export * from "./RetrievalStrategy.mjs";
87
+ export * from "./S3ConfigRequest.mjs";
88
+ export * from "./S3ConfigResponse.mjs";
86
89
  export * from "./ScheduleConfig.mjs";
87
90
  export * from "./ScheduleDetails.mjs";
88
91
  export * from "./ScheduleResponse.mjs";
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "v0.6.39";
1
+ export declare const SDK_VERSION = "v0.6.41";
@@ -1 +1 @@
1
- export const SDK_VERSION = "v0.6.39";
1
+ export const SDK_VERSION = "v0.6.41";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@airweave/sdk",
3
- "version": "v0.6.39",
3
+ "version": "v0.6.41",
4
4
  "private": false,
5
5
  "repository": "github:airweave-ai/typescript-sdk",
6
6
  "type": "commonjs",