@airweave/sdk 0.6.63 → 0.6.65

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 (55) hide show
  1. package/dist/cjs/Client.js +2 -2
  2. package/dist/cjs/api/types/IntegrationType.d.ts +1 -2
  3. package/dist/cjs/api/types/IntegrationType.js +0 -1
  4. package/dist/cjs/api/types/Source.d.ts +2 -0
  5. package/dist/cjs/api/types/Sync.d.ts +0 -1
  6. package/dist/cjs/api/types/SyncCreate.d.ts +0 -1
  7. package/dist/cjs/api/types/SyncWithSourceConnection.d.ts +0 -1
  8. package/dist/cjs/api/types/index.d.ts +0 -8
  9. package/dist/cjs/api/types/index.js +0 -8
  10. package/dist/cjs/version.d.ts +1 -1
  11. package/dist/cjs/version.js +1 -1
  12. package/dist/esm/Client.mjs +2 -2
  13. package/dist/esm/api/types/IntegrationType.d.mts +1 -2
  14. package/dist/esm/api/types/IntegrationType.mjs +0 -1
  15. package/dist/esm/api/types/Source.d.mts +2 -0
  16. package/dist/esm/api/types/Sync.d.mts +0 -1
  17. package/dist/esm/api/types/SyncCreate.d.mts +0 -1
  18. package/dist/esm/api/types/SyncWithSourceConnection.d.mts +0 -1
  19. package/dist/esm/api/types/index.d.mts +0 -8
  20. package/dist/esm/api/types/index.mjs +0 -8
  21. package/dist/esm/version.d.mts +1 -1
  22. package/dist/esm/version.mjs +1 -1
  23. package/package.json +1 -1
  24. package/dist/cjs/api/types/DagEdge.d.ts +0 -15
  25. package/dist/cjs/api/types/DagEdge.js +0 -5
  26. package/dist/cjs/api/types/DagEdgeCreate.d.ts +0 -10
  27. package/dist/cjs/api/types/DagEdgeCreate.js +0 -5
  28. package/dist/cjs/api/types/DagNode.d.ts +0 -20
  29. package/dist/cjs/api/types/DagNode.js +0 -5
  30. package/dist/cjs/api/types/DagNodeCreate.d.ts +0 -17
  31. package/dist/cjs/api/types/DagNodeCreate.js +0 -5
  32. package/dist/cjs/api/types/NodeType.d.ts +0 -13
  33. package/dist/cjs/api/types/NodeType.js +0 -12
  34. package/dist/cjs/api/types/SyncDag.d.ts +0 -29
  35. package/dist/cjs/api/types/SyncDag.js +0 -5
  36. package/dist/cjs/api/types/SyncDagCreate.d.ts +0 -14
  37. package/dist/cjs/api/types/SyncDagCreate.js +0 -5
  38. package/dist/cjs/api/types/SyncDagUpdate.d.ts +0 -14
  39. package/dist/cjs/api/types/SyncDagUpdate.js +0 -5
  40. package/dist/esm/api/types/DagEdge.d.mts +0 -15
  41. package/dist/esm/api/types/DagEdge.mjs +0 -4
  42. package/dist/esm/api/types/DagEdgeCreate.d.mts +0 -10
  43. package/dist/esm/api/types/DagEdgeCreate.mjs +0 -4
  44. package/dist/esm/api/types/DagNode.d.mts +0 -20
  45. package/dist/esm/api/types/DagNode.mjs +0 -4
  46. package/dist/esm/api/types/DagNodeCreate.d.mts +0 -17
  47. package/dist/esm/api/types/DagNodeCreate.mjs +0 -4
  48. package/dist/esm/api/types/NodeType.d.mts +0 -13
  49. package/dist/esm/api/types/NodeType.mjs +0 -9
  50. package/dist/esm/api/types/SyncDag.d.mts +0 -29
  51. package/dist/esm/api/types/SyncDag.mjs +0 -4
  52. package/dist/esm/api/types/SyncDagCreate.d.mts +0 -14
  53. package/dist/esm/api/types/SyncDagCreate.mjs +0 -4
  54. package/dist/esm/api/types/SyncDagUpdate.d.mts +0 -14
  55. package/dist/esm/api/types/SyncDagUpdate.mjs +0 -4
@@ -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.6.63",
53
- "User-Agent": "@airweave/sdk/v0.6.63",
52
+ "X-Fern-SDK-Version": "v0.6.65",
53
+ "User-Agent": "@airweave/sdk/v0.6.65",
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) });
@@ -4,10 +4,9 @@
4
4
  /**
5
5
  * Integration type enum.
6
6
  */
7
- export type IntegrationType = "source" | "destination" | "embedding_model" | "auth_provider";
7
+ export type IntegrationType = "source" | "destination" | "auth_provider";
8
8
  export declare const IntegrationType: {
9
9
  readonly Source: "source";
10
10
  readonly Destination: "destination";
11
- readonly EmbeddingModel: "embedding_model";
12
11
  readonly AuthProvider: "auth_provider";
13
12
  };
@@ -7,6 +7,5 @@ exports.IntegrationType = void 0;
7
7
  exports.IntegrationType = {
8
8
  Source: "source",
9
9
  Destination: "destination",
10
- EmbeddingModel: "embedding_model",
11
10
  AuthProvider: "auth_provider",
12
11
  };
@@ -32,6 +32,8 @@ export interface Source {
32
32
  supports_continuous?: boolean;
33
33
  /** Whether this source uses federated search instead of traditional syncing. Federated search sources query data in real-time during searches rather than syncing and indexing all data beforehand. */
34
34
  federated_search?: boolean;
35
+ /** Whether this source's entities have timestamps that enable recency-based ranking. Sources without file-level timestamps (e.g., code repositories) cannot use temporal relevance for search result weighting. */
36
+ supports_temporal_relevance?: boolean;
35
37
  /** Unique system identifier for this source type. Generated automatically when the source is registered. */
36
38
  id: string;
37
39
  /** Timestamp when this source type was registered in the system (ISO 8601 format). */
@@ -8,7 +8,6 @@ import * as AirweaveSDK from "../index.js";
8
8
  export interface Sync {
9
9
  name: string;
10
10
  source_connection_id: string;
11
- embedding_model_connection_id?: string;
12
11
  destination_connection_ids: string[];
13
12
  description?: string;
14
13
  cron_schedule?: string;
@@ -8,7 +8,6 @@ import * as AirweaveSDK from "../index.js";
8
8
  export interface SyncCreate {
9
9
  name: string;
10
10
  source_connection_id: string;
11
- embedding_model_connection_id?: string;
12
11
  destination_connection_ids: string[];
13
12
  description?: string;
14
13
  cron_schedule?: string;
@@ -8,7 +8,6 @@ import * as AirweaveSDK from "../index.js";
8
8
  export interface SyncWithSourceConnection {
9
9
  name: string;
10
10
  source_connection_id: string;
11
- embedding_model_connection_id?: string;
12
11
  destination_connection_ids: string[];
13
12
  description?: string;
14
13
  cron_schedule?: string;
@@ -27,10 +27,6 @@ export * from "./Connection.js";
27
27
  export * from "./ConnectionStatus.js";
28
28
  export * from "./CustomerPortalRequest.js";
29
29
  export * from "./CustomerPortalResponse.js";
30
- export * from "./DagEdge.js";
31
- export * from "./DagEdgeCreate.js";
32
- export * from "./DagNode.js";
33
- export * from "./DagNodeCreate.js";
34
30
  export * from "./DatetimeRange.js";
35
31
  export * from "./Destination.js";
36
32
  export * from "./DestinationWithAuthenticationFields.js";
@@ -77,7 +73,6 @@ export * from "./MinShould.js";
77
73
  export * from "./MinuteLevelScheduleConfig.js";
78
74
  export * from "./Nested.js";
79
75
  export * from "./NestedCondition.js";
80
- export * from "./NodeType.js";
81
76
  export * from "./OAuthBrowserAuthentication.js";
82
77
  export * from "./OAuthTokenAuthentication.js";
83
78
  export * from "./OAuthType.js";
@@ -107,9 +102,6 @@ export * from "./SourceConnectionStatus.js";
107
102
  export * from "./SubscriptionInfo.js";
108
103
  export * from "./Sync.js";
109
104
  export * from "./SyncCreate.js";
110
- export * from "./SyncDag.js";
111
- export * from "./SyncDagCreate.js";
112
- export * from "./SyncDagUpdate.js";
113
105
  export * from "./SyncDetails.js";
114
106
  export * from "./SyncJob.js";
115
107
  export * from "./SyncJobDetails.js";
@@ -43,10 +43,6 @@ __exportStar(require("./Connection.js"), exports);
43
43
  __exportStar(require("./ConnectionStatus.js"), exports);
44
44
  __exportStar(require("./CustomerPortalRequest.js"), exports);
45
45
  __exportStar(require("./CustomerPortalResponse.js"), exports);
46
- __exportStar(require("./DagEdge.js"), exports);
47
- __exportStar(require("./DagEdgeCreate.js"), exports);
48
- __exportStar(require("./DagNode.js"), exports);
49
- __exportStar(require("./DagNodeCreate.js"), exports);
50
46
  __exportStar(require("./DatetimeRange.js"), exports);
51
47
  __exportStar(require("./Destination.js"), exports);
52
48
  __exportStar(require("./DestinationWithAuthenticationFields.js"), exports);
@@ -93,7 +89,6 @@ __exportStar(require("./MinShould.js"), exports);
93
89
  __exportStar(require("./MinuteLevelScheduleConfig.js"), exports);
94
90
  __exportStar(require("./Nested.js"), exports);
95
91
  __exportStar(require("./NestedCondition.js"), exports);
96
- __exportStar(require("./NodeType.js"), exports);
97
92
  __exportStar(require("./OAuthBrowserAuthentication.js"), exports);
98
93
  __exportStar(require("./OAuthTokenAuthentication.js"), exports);
99
94
  __exportStar(require("./OAuthType.js"), exports);
@@ -123,9 +118,6 @@ __exportStar(require("./SourceConnectionStatus.js"), exports);
123
118
  __exportStar(require("./SubscriptionInfo.js"), exports);
124
119
  __exportStar(require("./Sync.js"), exports);
125
120
  __exportStar(require("./SyncCreate.js"), exports);
126
- __exportStar(require("./SyncDag.js"), exports);
127
- __exportStar(require("./SyncDagCreate.js"), exports);
128
- __exportStar(require("./SyncDagUpdate.js"), exports);
129
121
  __exportStar(require("./SyncDetails.js"), exports);
130
122
  __exportStar(require("./SyncJob.js"), exports);
131
123
  __exportStar(require("./SyncJobDetails.js"), exports);
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "v0.6.63";
1
+ export declare const SDK_VERSION = "v0.6.65";
@@ -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.63";
4
+ exports.SDK_VERSION = "v0.6.65";
@@ -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.6.63",
17
- "User-Agent": "@airweave/sdk/v0.6.63",
16
+ "X-Fern-SDK-Version": "v0.6.65",
17
+ "User-Agent": "@airweave/sdk/v0.6.65",
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) });
@@ -4,10 +4,9 @@
4
4
  /**
5
5
  * Integration type enum.
6
6
  */
7
- export type IntegrationType = "source" | "destination" | "embedding_model" | "auth_provider";
7
+ export type IntegrationType = "source" | "destination" | "auth_provider";
8
8
  export declare const IntegrationType: {
9
9
  readonly Source: "source";
10
10
  readonly Destination: "destination";
11
- readonly EmbeddingModel: "embedding_model";
12
11
  readonly AuthProvider: "auth_provider";
13
12
  };
@@ -4,6 +4,5 @@
4
4
  export const IntegrationType = {
5
5
  Source: "source",
6
6
  Destination: "destination",
7
- EmbeddingModel: "embedding_model",
8
7
  AuthProvider: "auth_provider",
9
8
  };
@@ -32,6 +32,8 @@ export interface Source {
32
32
  supports_continuous?: boolean;
33
33
  /** Whether this source uses federated search instead of traditional syncing. Federated search sources query data in real-time during searches rather than syncing and indexing all data beforehand. */
34
34
  federated_search?: boolean;
35
+ /** Whether this source's entities have timestamps that enable recency-based ranking. Sources without file-level timestamps (e.g., code repositories) cannot use temporal relevance for search result weighting. */
36
+ supports_temporal_relevance?: boolean;
35
37
  /** Unique system identifier for this source type. Generated automatically when the source is registered. */
36
38
  id: string;
37
39
  /** Timestamp when this source type was registered in the system (ISO 8601 format). */
@@ -8,7 +8,6 @@ import * as AirweaveSDK from "../index.mjs";
8
8
  export interface Sync {
9
9
  name: string;
10
10
  source_connection_id: string;
11
- embedding_model_connection_id?: string;
12
11
  destination_connection_ids: string[];
13
12
  description?: string;
14
13
  cron_schedule?: string;
@@ -8,7 +8,6 @@ import * as AirweaveSDK from "../index.mjs";
8
8
  export interface SyncCreate {
9
9
  name: string;
10
10
  source_connection_id: string;
11
- embedding_model_connection_id?: string;
12
11
  destination_connection_ids: string[];
13
12
  description?: string;
14
13
  cron_schedule?: string;
@@ -8,7 +8,6 @@ import * as AirweaveSDK from "../index.mjs";
8
8
  export interface SyncWithSourceConnection {
9
9
  name: string;
10
10
  source_connection_id: string;
11
- embedding_model_connection_id?: string;
12
11
  destination_connection_ids: string[];
13
12
  description?: string;
14
13
  cron_schedule?: string;
@@ -27,10 +27,6 @@ export * from "./Connection.mjs";
27
27
  export * from "./ConnectionStatus.mjs";
28
28
  export * from "./CustomerPortalRequest.mjs";
29
29
  export * from "./CustomerPortalResponse.mjs";
30
- export * from "./DagEdge.mjs";
31
- export * from "./DagEdgeCreate.mjs";
32
- export * from "./DagNode.mjs";
33
- export * from "./DagNodeCreate.mjs";
34
30
  export * from "./DatetimeRange.mjs";
35
31
  export * from "./Destination.mjs";
36
32
  export * from "./DestinationWithAuthenticationFields.mjs";
@@ -77,7 +73,6 @@ export * from "./MinShould.mjs";
77
73
  export * from "./MinuteLevelScheduleConfig.mjs";
78
74
  export * from "./Nested.mjs";
79
75
  export * from "./NestedCondition.mjs";
80
- export * from "./NodeType.mjs";
81
76
  export * from "./OAuthBrowserAuthentication.mjs";
82
77
  export * from "./OAuthTokenAuthentication.mjs";
83
78
  export * from "./OAuthType.mjs";
@@ -107,9 +102,6 @@ export * from "./SourceConnectionStatus.mjs";
107
102
  export * from "./SubscriptionInfo.mjs";
108
103
  export * from "./Sync.mjs";
109
104
  export * from "./SyncCreate.mjs";
110
- export * from "./SyncDag.mjs";
111
- export * from "./SyncDagCreate.mjs";
112
- export * from "./SyncDagUpdate.mjs";
113
105
  export * from "./SyncDetails.mjs";
114
106
  export * from "./SyncJob.mjs";
115
107
  export * from "./SyncJobDetails.mjs";
@@ -27,10 +27,6 @@ export * from "./Connection.mjs";
27
27
  export * from "./ConnectionStatus.mjs";
28
28
  export * from "./CustomerPortalRequest.mjs";
29
29
  export * from "./CustomerPortalResponse.mjs";
30
- export * from "./DagEdge.mjs";
31
- export * from "./DagEdgeCreate.mjs";
32
- export * from "./DagNode.mjs";
33
- export * from "./DagNodeCreate.mjs";
34
30
  export * from "./DatetimeRange.mjs";
35
31
  export * from "./Destination.mjs";
36
32
  export * from "./DestinationWithAuthenticationFields.mjs";
@@ -77,7 +73,6 @@ export * from "./MinShould.mjs";
77
73
  export * from "./MinuteLevelScheduleConfig.mjs";
78
74
  export * from "./Nested.mjs";
79
75
  export * from "./NestedCondition.mjs";
80
- export * from "./NodeType.mjs";
81
76
  export * from "./OAuthBrowserAuthentication.mjs";
82
77
  export * from "./OAuthTokenAuthentication.mjs";
83
78
  export * from "./OAuthType.mjs";
@@ -107,9 +102,6 @@ export * from "./SourceConnectionStatus.mjs";
107
102
  export * from "./SubscriptionInfo.mjs";
108
103
  export * from "./Sync.mjs";
109
104
  export * from "./SyncCreate.mjs";
110
- export * from "./SyncDag.mjs";
111
- export * from "./SyncDagCreate.mjs";
112
- export * from "./SyncDagUpdate.mjs";
113
105
  export * from "./SyncDetails.mjs";
114
106
  export * from "./SyncJob.mjs";
115
107
  export * from "./SyncJobDetails.mjs";
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "v0.6.63";
1
+ export declare const SDK_VERSION = "v0.6.65";
@@ -1 +1 @@
1
- export const SDK_VERSION = "v0.6.63";
1
+ export const SDK_VERSION = "v0.6.65";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@airweave/sdk",
3
- "version": "v0.6.63",
3
+ "version": "v0.6.65",
4
4
  "private": false,
5
5
  "repository": "github:airweave-ai/typescript-sdk",
6
6
  "type": "commonjs",
@@ -1,15 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- /**
5
- * Schema for a DAG edge.
6
- */
7
- export interface DagEdge {
8
- from_node_id: string;
9
- to_node_id: string;
10
- id: string;
11
- dag_id: string;
12
- organization_id: string;
13
- created_by_email?: string;
14
- modified_by_email?: string;
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,10 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- /**
5
- * Schema for creating a DAG edge.
6
- */
7
- export interface DagEdgeCreate {
8
- from_node_id: string;
9
- to_node_id: string;
10
- }
@@ -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 a DAG node.
7
- */
8
- export interface DagNode {
9
- type: AirweaveSDK.NodeType;
10
- name: string;
11
- config?: Record<string, unknown>;
12
- connection_id?: string;
13
- entity_definition_id?: string;
14
- transformer_id?: string;
15
- id: string;
16
- dag_id: string;
17
- organization_id: string;
18
- created_by_email?: string;
19
- modified_by_email?: string;
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,17 +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 creating a DAG node.
7
- */
8
- export interface DagNodeCreate {
9
- type: AirweaveSDK.NodeType;
10
- name: string;
11
- config?: Record<string, unknown>;
12
- connection_id?: string;
13
- entity_definition_id?: string;
14
- transformer_id?: string;
15
- /** Optional pre-set ID for the node */
16
- id?: string;
17
- }
@@ -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,13 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- /**
5
- * Type of node.
6
- */
7
- export type NodeType = "source" | "destination" | "transformer" | "entity";
8
- export declare const NodeType: {
9
- readonly Source: "source";
10
- readonly Destination: "destination";
11
- readonly Transformer: "transformer";
12
- readonly Entity: "entity";
13
- };
@@ -1,12 +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.NodeType = void 0;
7
- exports.NodeType = {
8
- Source: "source",
9
- Destination: "destination",
10
- Transformer: "transformer",
11
- Entity: "entity",
12
- };
@@ -1,29 +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 a sync DAG definition.
7
- *
8
- * The DAG structure as the UI displays it.
9
- *
10
- * This means that for each entity, there is a node that is the producer and a node that is the
11
- * consumer. These are connected by an edge: producer -edge-> entity -edge-> consumer
12
- *
13
- * Sources, transformers, and destinations are also nodes, but they do not have an
14
- * entity_definition_id.
15
- *
16
- * Sources are producers by default, and destinations are consumers by default.
17
- * Transformers are both producers and consumers.
18
- */
19
- export interface SyncDag {
20
- name: string;
21
- description?: string;
22
- sync_id: string;
23
- id: string;
24
- organization_id: string;
25
- created_by_email?: string;
26
- modified_by_email?: string;
27
- nodes: AirweaveSDK.DagNode[];
28
- edges: AirweaveSDK.DagEdge[];
29
- }
@@ -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,14 +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 creating a sync DAG definition.
7
- */
8
- export interface SyncDagCreate {
9
- name: string;
10
- description?: string;
11
- sync_id: string;
12
- nodes: AirweaveSDK.DagNodeCreate[];
13
- edges: AirweaveSDK.DagEdgeCreate[];
14
- }
@@ -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,14 +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 updating a sync DAG definition.
7
- */
8
- export interface SyncDagUpdate {
9
- name: string;
10
- description?: string;
11
- sync_id: string;
12
- nodes?: AirweaveSDK.DagNodeCreate[];
13
- edges?: AirweaveSDK.DagEdgeCreate[];
14
- }
@@ -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 a DAG edge.
6
- */
7
- export interface DagEdge {
8
- from_node_id: string;
9
- to_node_id: string;
10
- id: string;
11
- dag_id: string;
12
- organization_id: string;
13
- created_by_email?: string;
14
- modified_by_email?: string;
15
- }
@@ -1,4 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- export {};
@@ -1,10 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- /**
5
- * Schema for creating a DAG edge.
6
- */
7
- export interface DagEdgeCreate {
8
- from_node_id: string;
9
- to_node_id: string;
10
- }
@@ -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 a DAG node.
7
- */
8
- export interface DagNode {
9
- type: AirweaveSDK.NodeType;
10
- name: string;
11
- config?: Record<string, unknown>;
12
- connection_id?: string;
13
- entity_definition_id?: string;
14
- transformer_id?: string;
15
- id: string;
16
- dag_id: string;
17
- organization_id: string;
18
- created_by_email?: string;
19
- modified_by_email?: string;
20
- }
@@ -1,4 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- export {};
@@ -1,17 +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 creating a DAG node.
7
- */
8
- export interface DagNodeCreate {
9
- type: AirweaveSDK.NodeType;
10
- name: string;
11
- config?: Record<string, unknown>;
12
- connection_id?: string;
13
- entity_definition_id?: string;
14
- transformer_id?: string;
15
- /** Optional pre-set ID for the node */
16
- id?: string;
17
- }
@@ -1,4 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- export {};
@@ -1,13 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- /**
5
- * Type of node.
6
- */
7
- export type NodeType = "source" | "destination" | "transformer" | "entity";
8
- export declare const NodeType: {
9
- readonly Source: "source";
10
- readonly Destination: "destination";
11
- readonly Transformer: "transformer";
12
- readonly Entity: "entity";
13
- };
@@ -1,9 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- export const NodeType = {
5
- Source: "source",
6
- Destination: "destination",
7
- Transformer: "transformer",
8
- Entity: "entity",
9
- };
@@ -1,29 +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 a sync DAG definition.
7
- *
8
- * The DAG structure as the UI displays it.
9
- *
10
- * This means that for each entity, there is a node that is the producer and a node that is the
11
- * consumer. These are connected by an edge: producer -edge-> entity -edge-> consumer
12
- *
13
- * Sources, transformers, and destinations are also nodes, but they do not have an
14
- * entity_definition_id.
15
- *
16
- * Sources are producers by default, and destinations are consumers by default.
17
- * Transformers are both producers and consumers.
18
- */
19
- export interface SyncDag {
20
- name: string;
21
- description?: string;
22
- sync_id: string;
23
- id: string;
24
- organization_id: string;
25
- created_by_email?: string;
26
- modified_by_email?: string;
27
- nodes: AirweaveSDK.DagNode[];
28
- edges: AirweaveSDK.DagEdge[];
29
- }
@@ -1,4 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- export {};
@@ -1,14 +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 creating a sync DAG definition.
7
- */
8
- export interface SyncDagCreate {
9
- name: string;
10
- description?: string;
11
- sync_id: string;
12
- nodes: AirweaveSDK.DagNodeCreate[];
13
- edges: AirweaveSDK.DagEdgeCreate[];
14
- }
@@ -1,4 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- export {};
@@ -1,14 +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 updating a sync DAG definition.
7
- */
8
- export interface SyncDagUpdate {
9
- name: string;
10
- description?: string;
11
- sync_id: string;
12
- nodes?: AirweaveSDK.DagNodeCreate[];
13
- edges?: AirweaveSDK.DagEdgeCreate[];
14
- }
@@ -1,4 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- export {};