@airweave/sdk 0.9.11 → 0.9.15

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.
Files changed (63) hide show
  1. package/dist/cjs/Client.js +2 -2
  2. package/dist/cjs/api/types/EntityCountWithDefinition.d.ts +4 -1
  3. package/dist/cjs/api/types/EntityDefinitionMetadata.d.ts +15 -0
  4. package/dist/cjs/api/types/FeatureFlag.d.ts +1 -2
  5. package/dist/cjs/api/types/FeatureFlag.js +0 -1
  6. package/dist/cjs/api/types/index.d.ts +1 -11
  7. package/dist/cjs/api/types/index.js +1 -11
  8. package/dist/cjs/version.d.ts +1 -1
  9. package/dist/cjs/version.js +1 -1
  10. package/dist/esm/Client.mjs +2 -2
  11. package/dist/esm/api/types/EntityCountWithDefinition.d.mts +4 -1
  12. package/dist/esm/api/types/EntityDefinitionMetadata.d.mts +15 -0
  13. package/dist/esm/api/types/FeatureFlag.d.mts +1 -2
  14. package/dist/esm/api/types/FeatureFlag.mjs +0 -1
  15. package/dist/esm/api/types/index.d.mts +1 -11
  16. package/dist/esm/api/types/index.mjs +1 -11
  17. package/dist/esm/version.d.mts +1 -1
  18. package/dist/esm/version.mjs +1 -1
  19. package/package.json +1 -1
  20. package/dist/cjs/api/types/Destination.d.ts +0 -20
  21. package/dist/cjs/api/types/DestinationWithAuthenticationFields.d.ts +0 -22
  22. package/dist/cjs/api/types/DestinationWithAuthenticationFields.js +0 -5
  23. package/dist/cjs/api/types/EmbeddingModel.d.ts +0 -18
  24. package/dist/cjs/api/types/EmbeddingModel.js +0 -5
  25. package/dist/cjs/api/types/EmbeddingModelWithAuthenticationFields.d.ts +0 -20
  26. package/dist/cjs/api/types/EmbeddingModelWithAuthenticationFields.js +0 -5
  27. package/dist/cjs/api/types/EntityDefinition.d.ts +0 -21
  28. package/dist/cjs/api/types/EntityDefinition.js +0 -5
  29. package/dist/cjs/api/types/EntityType.d.ts +0 -11
  30. package/dist/cjs/api/types/EntityType.js +0 -10
  31. package/dist/cjs/api/types/S3ConfigRequest.d.ts +0 -18
  32. package/dist/cjs/api/types/S3ConfigRequest.js +0 -5
  33. package/dist/cjs/api/types/S3ConfigResponse.d.ts +0 -11
  34. package/dist/cjs/api/types/S3ConfigResponse.js +0 -5
  35. package/dist/cjs/api/types/Transformer.d.ts +0 -19
  36. package/dist/cjs/api/types/Transformer.js +0 -5
  37. package/dist/cjs/api/types/TransformerCreate.d.ts +0 -15
  38. package/dist/cjs/api/types/TransformerCreate.js +0 -5
  39. package/dist/cjs/api/types/TransformerUpdate.d.ts +0 -15
  40. package/dist/cjs/api/types/TransformerUpdate.js +0 -5
  41. package/dist/esm/api/types/Destination.d.mts +0 -20
  42. package/dist/esm/api/types/DestinationWithAuthenticationFields.d.mts +0 -22
  43. package/dist/esm/api/types/DestinationWithAuthenticationFields.mjs +0 -4
  44. package/dist/esm/api/types/EmbeddingModel.d.mts +0 -18
  45. package/dist/esm/api/types/EmbeddingModel.mjs +0 -4
  46. package/dist/esm/api/types/EmbeddingModelWithAuthenticationFields.d.mts +0 -20
  47. package/dist/esm/api/types/EmbeddingModelWithAuthenticationFields.mjs +0 -4
  48. package/dist/esm/api/types/EntityDefinition.d.mts +0 -21
  49. package/dist/esm/api/types/EntityDefinition.mjs +0 -4
  50. package/dist/esm/api/types/EntityType.d.mts +0 -11
  51. package/dist/esm/api/types/EntityType.mjs +0 -7
  52. package/dist/esm/api/types/S3ConfigRequest.d.mts +0 -18
  53. package/dist/esm/api/types/S3ConfigRequest.mjs +0 -4
  54. package/dist/esm/api/types/S3ConfigResponse.d.mts +0 -11
  55. package/dist/esm/api/types/S3ConfigResponse.mjs +0 -4
  56. package/dist/esm/api/types/Transformer.d.mts +0 -19
  57. package/dist/esm/api/types/Transformer.mjs +0 -4
  58. package/dist/esm/api/types/TransformerCreate.d.mts +0 -15
  59. package/dist/esm/api/types/TransformerCreate.mjs +0 -4
  60. package/dist/esm/api/types/TransformerUpdate.d.mts +0 -15
  61. package/dist/esm/api/types/TransformerUpdate.mjs +0 -4
  62. /package/dist/cjs/api/types/{Destination.js → EntityDefinitionMetadata.js} +0 -0
  63. /package/dist/esm/api/types/{Destination.mjs → EntityDefinitionMetadata.mjs} +0 -0
@@ -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.9.11",
52
- "User-Agent": "@airweave/sdk/v0.9.11",
51
+ "X-Fern-SDK-Version": "v0.9.15",
52
+ "User-Agent": "@airweave/sdk/v0.9.15",
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) });
@@ -3,10 +3,13 @@
3
3
  */
4
4
  /**
5
5
  * Entity count with entity definition details.
6
+ *
7
+ * After the entity_definition table elimination, name/type/description
8
+ * are populated from the in-memory registry or derived from the short_name.
6
9
  */
7
10
  export interface EntityCountWithDefinition {
8
11
  count: number;
9
- entity_definition_id: string;
12
+ entity_definition_short_name: string;
10
13
  entity_definition_name: string;
11
14
  entity_definition_type: string;
12
15
  entity_definition_description?: string;
@@ -0,0 +1,15 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * API response model for entity definitions — excludes internal fields.
6
+ */
7
+ export interface EntityDefinitionMetadata {
8
+ short_name: string;
9
+ name: string;
10
+ description?: string;
11
+ class_name: string;
12
+ module_name: string;
13
+ entity_type: string;
14
+ entity_schema: Record<string, unknown>;
15
+ }
@@ -6,9 +6,8 @@
6
6
  *
7
7
  * Add new flags here to enable feature gating at the organization level.
8
8
  */
9
- export type FeatureFlag = "s3_destination" | "priority_support" | "source_rate_limiting" | "zephyr_scale" | "sharepoint_2019_v2" | "agentic_search" | "api_key_admin_sync";
9
+ export type FeatureFlag = "priority_support" | "source_rate_limiting" | "zephyr_scale" | "sharepoint_2019_v2" | "agentic_search" | "api_key_admin_sync";
10
10
  export declare const FeatureFlag: {
11
- readonly S3Destination: "s3_destination";
12
11
  readonly PrioritySupport: "priority_support";
13
12
  readonly SourceRateLimiting: "source_rate_limiting";
14
13
  readonly ZephyrScale: "zephyr_scale";
@@ -5,7 +5,6 @@
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.FeatureFlag = void 0;
7
7
  exports.FeatureFlag = {
8
- S3Destination: "s3_destination",
9
8
  PrioritySupport: "priority_support",
10
9
  SourceRateLimiting: "source_rate_limiting",
11
10
  ZephyrScale: "zephyr_scale",
@@ -45,16 +45,11 @@ export * from "./CustomerPortalRequest.js";
45
45
  export * from "./CustomerPortalResponse.js";
46
46
  export * from "./DeliveryAttempt.js";
47
47
  export * from "./DependencyCheck.js";
48
- export * from "./Destination.js";
49
48
  export * from "./DestinationConfig.js";
50
- export * from "./DestinationWithAuthenticationFields.js";
51
49
  export * from "./DirectAuthentication.js";
52
- export * from "./EmbeddingModel.js";
53
- export * from "./EmbeddingModelWithAuthenticationFields.js";
54
50
  export * from "./EntityCountWithDefinition.js";
55
- export * from "./EntityDefinition.js";
51
+ export * from "./EntityDefinitionMetadata.js";
56
52
  export * from "./EntitySummary.js";
57
- export * from "./EntityType.js";
58
53
  export * from "./EntityTypeStats.js";
59
54
  export * from "./EventType.js";
60
55
  export * from "./FeatureFlag.js";
@@ -84,8 +79,6 @@ export * from "./ReadinessResponse.js";
84
79
  export * from "./RecoveryTask.js";
85
80
  export * from "./ResponseType.js";
86
81
  export * from "./RetrievalStrategy.js";
87
- export * from "./S3ConfigRequest.js";
88
- export * from "./S3ConfigResponse.js";
89
82
  export * from "./ScheduleConfig.js";
90
83
  export * from "./ScheduleDetails.js";
91
84
  export * from "./ScheduleResponse.js";
@@ -111,9 +104,6 @@ export * from "./SyncJobDetails.js";
111
104
  export * from "./SyncJobStatus.js";
112
105
  export * from "./SyncStatus.js";
113
106
  export * from "./SyncUpdate.js";
114
- export * from "./Transformer.js";
115
- export * from "./TransformerCreate.js";
116
- export * from "./TransformerUpdate.js";
117
107
  export * from "./UpdatePlanRequest.js";
118
108
  export * from "./UsageDashboard.js";
119
109
  export * from "./UsageSnapshot.js";
@@ -61,16 +61,11 @@ __exportStar(require("./CustomerPortalRequest.js"), exports);
61
61
  __exportStar(require("./CustomerPortalResponse.js"), exports);
62
62
  __exportStar(require("./DeliveryAttempt.js"), exports);
63
63
  __exportStar(require("./DependencyCheck.js"), exports);
64
- __exportStar(require("./Destination.js"), exports);
65
64
  __exportStar(require("./DestinationConfig.js"), exports);
66
- __exportStar(require("./DestinationWithAuthenticationFields.js"), exports);
67
65
  __exportStar(require("./DirectAuthentication.js"), exports);
68
- __exportStar(require("./EmbeddingModel.js"), exports);
69
- __exportStar(require("./EmbeddingModelWithAuthenticationFields.js"), exports);
70
66
  __exportStar(require("./EntityCountWithDefinition.js"), exports);
71
- __exportStar(require("./EntityDefinition.js"), exports);
67
+ __exportStar(require("./EntityDefinitionMetadata.js"), exports);
72
68
  __exportStar(require("./EntitySummary.js"), exports);
73
- __exportStar(require("./EntityType.js"), exports);
74
69
  __exportStar(require("./EntityTypeStats.js"), exports);
75
70
  __exportStar(require("./EventType.js"), exports);
76
71
  __exportStar(require("./FeatureFlag.js"), exports);
@@ -100,8 +95,6 @@ __exportStar(require("./ReadinessResponse.js"), exports);
100
95
  __exportStar(require("./RecoveryTask.js"), exports);
101
96
  __exportStar(require("./ResponseType.js"), exports);
102
97
  __exportStar(require("./RetrievalStrategy.js"), exports);
103
- __exportStar(require("./S3ConfigRequest.js"), exports);
104
- __exportStar(require("./S3ConfigResponse.js"), exports);
105
98
  __exportStar(require("./ScheduleConfig.js"), exports);
106
99
  __exportStar(require("./ScheduleDetails.js"), exports);
107
100
  __exportStar(require("./ScheduleResponse.js"), exports);
@@ -127,9 +120,6 @@ __exportStar(require("./SyncJobDetails.js"), exports);
127
120
  __exportStar(require("./SyncJobStatus.js"), exports);
128
121
  __exportStar(require("./SyncStatus.js"), exports);
129
122
  __exportStar(require("./SyncUpdate.js"), exports);
130
- __exportStar(require("./Transformer.js"), exports);
131
- __exportStar(require("./TransformerCreate.js"), exports);
132
- __exportStar(require("./TransformerUpdate.js"), exports);
133
123
  __exportStar(require("./UpdatePlanRequest.js"), exports);
134
124
  __exportStar(require("./UsageDashboard.js"), exports);
135
125
  __exportStar(require("./UsageSnapshot.js"), exports);
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "v0.9.11";
1
+ export declare const SDK_VERSION = "v0.9.15";
@@ -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.9.11";
4
+ exports.SDK_VERSION = "v0.9.15";
@@ -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.9.11",
16
- "User-Agent": "@airweave/sdk/v0.9.11",
15
+ "X-Fern-SDK-Version": "v0.9.15",
16
+ "User-Agent": "@airweave/sdk/v0.9.15",
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) });
@@ -3,10 +3,13 @@
3
3
  */
4
4
  /**
5
5
  * Entity count with entity definition details.
6
+ *
7
+ * After the entity_definition table elimination, name/type/description
8
+ * are populated from the in-memory registry or derived from the short_name.
6
9
  */
7
10
  export interface EntityCountWithDefinition {
8
11
  count: number;
9
- entity_definition_id: string;
12
+ entity_definition_short_name: string;
10
13
  entity_definition_name: string;
11
14
  entity_definition_type: string;
12
15
  entity_definition_description?: string;
@@ -0,0 +1,15 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * API response model for entity definitions — excludes internal fields.
6
+ */
7
+ export interface EntityDefinitionMetadata {
8
+ short_name: string;
9
+ name: string;
10
+ description?: string;
11
+ class_name: string;
12
+ module_name: string;
13
+ entity_type: string;
14
+ entity_schema: Record<string, unknown>;
15
+ }
@@ -6,9 +6,8 @@
6
6
  *
7
7
  * Add new flags here to enable feature gating at the organization level.
8
8
  */
9
- export type FeatureFlag = "s3_destination" | "priority_support" | "source_rate_limiting" | "zephyr_scale" | "sharepoint_2019_v2" | "agentic_search" | "api_key_admin_sync";
9
+ export type FeatureFlag = "priority_support" | "source_rate_limiting" | "zephyr_scale" | "sharepoint_2019_v2" | "agentic_search" | "api_key_admin_sync";
10
10
  export declare const FeatureFlag: {
11
- readonly S3Destination: "s3_destination";
12
11
  readonly PrioritySupport: "priority_support";
13
12
  readonly SourceRateLimiting: "source_rate_limiting";
14
13
  readonly ZephyrScale: "zephyr_scale";
@@ -2,7 +2,6 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  export const FeatureFlag = {
5
- S3Destination: "s3_destination",
6
5
  PrioritySupport: "priority_support",
7
6
  SourceRateLimiting: "source_rate_limiting",
8
7
  ZephyrScale: "zephyr_scale",
@@ -45,16 +45,11 @@ export * from "./CustomerPortalRequest.mjs";
45
45
  export * from "./CustomerPortalResponse.mjs";
46
46
  export * from "./DeliveryAttempt.mjs";
47
47
  export * from "./DependencyCheck.mjs";
48
- export * from "./Destination.mjs";
49
48
  export * from "./DestinationConfig.mjs";
50
- export * from "./DestinationWithAuthenticationFields.mjs";
51
49
  export * from "./DirectAuthentication.mjs";
52
- export * from "./EmbeddingModel.mjs";
53
- export * from "./EmbeddingModelWithAuthenticationFields.mjs";
54
50
  export * from "./EntityCountWithDefinition.mjs";
55
- export * from "./EntityDefinition.mjs";
51
+ export * from "./EntityDefinitionMetadata.mjs";
56
52
  export * from "./EntitySummary.mjs";
57
- export * from "./EntityType.mjs";
58
53
  export * from "./EntityTypeStats.mjs";
59
54
  export * from "./EventType.mjs";
60
55
  export * from "./FeatureFlag.mjs";
@@ -84,8 +79,6 @@ export * from "./ReadinessResponse.mjs";
84
79
  export * from "./RecoveryTask.mjs";
85
80
  export * from "./ResponseType.mjs";
86
81
  export * from "./RetrievalStrategy.mjs";
87
- export * from "./S3ConfigRequest.mjs";
88
- export * from "./S3ConfigResponse.mjs";
89
82
  export * from "./ScheduleConfig.mjs";
90
83
  export * from "./ScheduleDetails.mjs";
91
84
  export * from "./ScheduleResponse.mjs";
@@ -111,9 +104,6 @@ export * from "./SyncJobDetails.mjs";
111
104
  export * from "./SyncJobStatus.mjs";
112
105
  export * from "./SyncStatus.mjs";
113
106
  export * from "./SyncUpdate.mjs";
114
- export * from "./Transformer.mjs";
115
- export * from "./TransformerCreate.mjs";
116
- export * from "./TransformerUpdate.mjs";
117
107
  export * from "./UpdatePlanRequest.mjs";
118
108
  export * from "./UsageDashboard.mjs";
119
109
  export * from "./UsageSnapshot.mjs";
@@ -45,16 +45,11 @@ export * from "./CustomerPortalRequest.mjs";
45
45
  export * from "./CustomerPortalResponse.mjs";
46
46
  export * from "./DeliveryAttempt.mjs";
47
47
  export * from "./DependencyCheck.mjs";
48
- export * from "./Destination.mjs";
49
48
  export * from "./DestinationConfig.mjs";
50
- export * from "./DestinationWithAuthenticationFields.mjs";
51
49
  export * from "./DirectAuthentication.mjs";
52
- export * from "./EmbeddingModel.mjs";
53
- export * from "./EmbeddingModelWithAuthenticationFields.mjs";
54
50
  export * from "./EntityCountWithDefinition.mjs";
55
- export * from "./EntityDefinition.mjs";
51
+ export * from "./EntityDefinitionMetadata.mjs";
56
52
  export * from "./EntitySummary.mjs";
57
- export * from "./EntityType.mjs";
58
53
  export * from "./EntityTypeStats.mjs";
59
54
  export * from "./EventType.mjs";
60
55
  export * from "./FeatureFlag.mjs";
@@ -84,8 +79,6 @@ export * from "./ReadinessResponse.mjs";
84
79
  export * from "./RecoveryTask.mjs";
85
80
  export * from "./ResponseType.mjs";
86
81
  export * from "./RetrievalStrategy.mjs";
87
- export * from "./S3ConfigRequest.mjs";
88
- export * from "./S3ConfigResponse.mjs";
89
82
  export * from "./ScheduleConfig.mjs";
90
83
  export * from "./ScheduleDetails.mjs";
91
84
  export * from "./ScheduleResponse.mjs";
@@ -111,9 +104,6 @@ export * from "./SyncJobDetails.mjs";
111
104
  export * from "./SyncJobStatus.mjs";
112
105
  export * from "./SyncStatus.mjs";
113
106
  export * from "./SyncUpdate.mjs";
114
- export * from "./Transformer.mjs";
115
- export * from "./TransformerCreate.mjs";
116
- export * from "./TransformerUpdate.mjs";
117
107
  export * from "./UpdatePlanRequest.mjs";
118
108
  export * from "./UsageDashboard.mjs";
119
109
  export * from "./UsageSnapshot.mjs";
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "v0.9.11";
1
+ export declare const SDK_VERSION = "v0.9.15";
@@ -1 +1 @@
1
- export const SDK_VERSION = "v0.9.11";
1
+ export const SDK_VERSION = "v0.9.15";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@airweave/sdk",
3
- "version": "v0.9.11",
3
+ "version": "v0.9.15",
4
4
  "private": false,
5
5
  "repository": "github:airweave-ai/typescript-sdk",
6
6
  "type": "commonjs",
@@ -1,20 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- /**
5
- * Schema for Destination.
6
- */
7
- export interface Destination {
8
- name: string;
9
- description?: string;
10
- short_name: string;
11
- class_name: string;
12
- auth_config_class?: string;
13
- input_entity_definition_ids?: string[];
14
- organization_id?: string;
15
- config_schema?: Record<string, unknown>;
16
- labels?: string[];
17
- id: string;
18
- created_at: string;
19
- modified_at: string;
20
- }
@@ -1,22 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as AirweaveSDK from "../index.js";
5
- /**
6
- * Schema for Destination with auth config.
7
- */
8
- export interface DestinationWithAuthenticationFields {
9
- name: string;
10
- description?: string;
11
- short_name: string;
12
- class_name: string;
13
- auth_config_class?: string;
14
- input_entity_definition_ids?: string[];
15
- organization_id?: string;
16
- config_schema?: Record<string, unknown>;
17
- labels?: string[];
18
- id: string;
19
- created_at: string;
20
- modified_at: string;
21
- auth_fields?: AirweaveSDK.Fields;
22
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,18 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- /**
5
- * Schema for EmbeddingModel.
6
- */
7
- export interface EmbeddingModel {
8
- name: string;
9
- short_name: string;
10
- description?: string;
11
- provider: string;
12
- model_name?: string;
13
- model_version?: string;
14
- auth_config_class?: string;
15
- id: string;
16
- created_at: string;
17
- modified_at: string;
18
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,20 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as AirweaveSDK from "../index.js";
5
- /**
6
- * Schema for EmbeddingModel with auth config.
7
- */
8
- export interface EmbeddingModelWithAuthenticationFields {
9
- name: string;
10
- short_name: string;
11
- description?: string;
12
- provider: string;
13
- model_name?: string;
14
- model_version?: string;
15
- auth_config_class?: string;
16
- id: string;
17
- created_at: string;
18
- modified_at: string;
19
- auth_fields?: AirweaveSDK.Fields;
20
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,21 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as AirweaveSDK from "../index.js";
5
- /**
6
- * Schema for an entity definition.
7
- */
8
- export interface EntityDefinition {
9
- name: string;
10
- description?: string;
11
- type: AirweaveSDK.EntityType;
12
- entity_schema: EntityDefinition.EntitySchema;
13
- parent_id?: string;
14
- module_name: string;
15
- class_name: string;
16
- id: string;
17
- organization_id?: string;
18
- }
19
- export declare namespace EntityDefinition {
20
- type EntitySchema = string[] | Record<string, unknown>;
21
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,11 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- /**
5
- * Type of entity.
6
- */
7
- export type EntityType = "file" | "json";
8
- export declare const EntityType: {
9
- readonly File: "file";
10
- readonly Json: "json";
11
- };
@@ -1,10 +0,0 @@
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.EntityType = void 0;
7
- exports.EntityType = {
8
- File: "file",
9
- Json: "json",
10
- };
@@ -1,18 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- /**
5
- * Request to configure S3 destination with IAM role.
6
- */
7
- export interface S3ConfigRequest {
8
- /** IAM Role ARN to assume (e.g., arn:aws:iam::123456789012:role/airweave-writer) */
9
- role_arn: string;
10
- /** External ID for secure cross-account trust policy */
11
- external_id: 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
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,11 +0,0 @@
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
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,19 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- /**
5
- * Schema for a transformer.
6
- */
7
- export interface Transformer {
8
- name: string;
9
- description?: string;
10
- method_name: string;
11
- module_name: string;
12
- input_entity_definition_ids: string[];
13
- output_entity_definition_ids: string[];
14
- config_schema?: Record<string, unknown>;
15
- id: string;
16
- organization_id: string;
17
- created_by_email: string;
18
- modified_by_email: string;
19
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,15 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- /**
5
- * Schema for creating a transformer.
6
- */
7
- export interface TransformerCreate {
8
- name: string;
9
- description?: string;
10
- method_name: string;
11
- module_name: string;
12
- input_entity_definition_ids: string[];
13
- output_entity_definition_ids: string[];
14
- config_schema?: Record<string, unknown>;
15
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,15 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- /**
5
- * Schema for updating a transformer.
6
- */
7
- export interface TransformerUpdate {
8
- name: string;
9
- description?: string;
10
- method_name: string;
11
- module_name: string;
12
- input_entity_definition_ids: string[];
13
- output_entity_definition_ids: string[];
14
- config_schema?: Record<string, unknown>;
15
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,20 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- /**
5
- * Schema for Destination.
6
- */
7
- export interface Destination {
8
- name: string;
9
- description?: string;
10
- short_name: string;
11
- class_name: string;
12
- auth_config_class?: string;
13
- input_entity_definition_ids?: string[];
14
- organization_id?: string;
15
- config_schema?: Record<string, unknown>;
16
- labels?: string[];
17
- id: string;
18
- created_at: string;
19
- modified_at: string;
20
- }
@@ -1,22 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as AirweaveSDK from "../index.mjs";
5
- /**
6
- * Schema for Destination with auth config.
7
- */
8
- export interface DestinationWithAuthenticationFields {
9
- name: string;
10
- description?: string;
11
- short_name: string;
12
- class_name: string;
13
- auth_config_class?: string;
14
- input_entity_definition_ids?: string[];
15
- organization_id?: string;
16
- config_schema?: Record<string, unknown>;
17
- labels?: string[];
18
- id: string;
19
- created_at: string;
20
- modified_at: string;
21
- auth_fields?: AirweaveSDK.Fields;
22
- }
@@ -1,4 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- export {};
@@ -1,18 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- /**
5
- * Schema for EmbeddingModel.
6
- */
7
- export interface EmbeddingModel {
8
- name: string;
9
- short_name: string;
10
- description?: string;
11
- provider: string;
12
- model_name?: string;
13
- model_version?: string;
14
- auth_config_class?: string;
15
- id: string;
16
- created_at: string;
17
- modified_at: string;
18
- }
@@ -1,4 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- export {};
@@ -1,20 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as AirweaveSDK from "../index.mjs";
5
- /**
6
- * Schema for EmbeddingModel with auth config.
7
- */
8
- export interface EmbeddingModelWithAuthenticationFields {
9
- name: string;
10
- short_name: string;
11
- description?: string;
12
- provider: string;
13
- model_name?: string;
14
- model_version?: string;
15
- auth_config_class?: string;
16
- id: string;
17
- created_at: string;
18
- modified_at: string;
19
- auth_fields?: AirweaveSDK.Fields;
20
- }
@@ -1,4 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- export {};
@@ -1,21 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as AirweaveSDK from "../index.mjs";
5
- /**
6
- * Schema for an entity definition.
7
- */
8
- export interface EntityDefinition {
9
- name: string;
10
- description?: string;
11
- type: AirweaveSDK.EntityType;
12
- entity_schema: EntityDefinition.EntitySchema;
13
- parent_id?: string;
14
- module_name: string;
15
- class_name: string;
16
- id: string;
17
- organization_id?: string;
18
- }
19
- export declare namespace EntityDefinition {
20
- type EntitySchema = string[] | Record<string, unknown>;
21
- }
@@ -1,4 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- export {};
@@ -1,11 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- /**
5
- * Type of entity.
6
- */
7
- export type EntityType = "file" | "json";
8
- export declare const EntityType: {
9
- readonly File: "file";
10
- readonly Json: "json";
11
- };
@@ -1,7 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- export const EntityType = {
5
- File: "file",
6
- Json: "json",
7
- };
@@ -1,18 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- /**
5
- * Request to configure S3 destination with IAM role.
6
- */
7
- export interface S3ConfigRequest {
8
- /** IAM Role ARN to assume (e.g., arn:aws:iam::123456789012:role/airweave-writer) */
9
- role_arn: string;
10
- /** External ID for secure cross-account trust policy */
11
- external_id: 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
- }
@@ -1,4 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- export {};
@@ -1,11 +0,0 @@
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
- }
@@ -1,4 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- export {};
@@ -1,19 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- /**
5
- * Schema for a transformer.
6
- */
7
- export interface Transformer {
8
- name: string;
9
- description?: string;
10
- method_name: string;
11
- module_name: string;
12
- input_entity_definition_ids: string[];
13
- output_entity_definition_ids: string[];
14
- config_schema?: Record<string, unknown>;
15
- id: string;
16
- organization_id: string;
17
- created_by_email: string;
18
- modified_by_email: string;
19
- }
@@ -1,4 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- export {};
@@ -1,15 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- /**
5
- * Schema for creating a transformer.
6
- */
7
- export interface TransformerCreate {
8
- name: string;
9
- description?: string;
10
- method_name: string;
11
- module_name: string;
12
- input_entity_definition_ids: string[];
13
- output_entity_definition_ids: string[];
14
- config_schema?: Record<string, unknown>;
15
- }
@@ -1,4 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- export {};
@@ -1,15 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- /**
5
- * Schema for updating a transformer.
6
- */
7
- export interface TransformerUpdate {
8
- name: string;
9
- description?: string;
10
- method_name: string;
11
- module_name: string;
12
- input_entity_definition_ids: string[];
13
- output_entity_definition_ids: string[];
14
- config_schema?: Record<string, unknown>;
15
- }
@@ -1,4 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- export {};