@airweave/sdk 0.9.17 → 0.9.18
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/index.d.ts +0 -5
- package/dist/cjs/api/types/index.js +0 -5
- 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/index.d.mts +0 -5
- package/dist/esm/api/types/index.mjs +0 -5
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/dist/cjs/api/types/MinuteLevelScheduleConfig.d.ts +0 -10
- package/dist/cjs/api/types/MinuteLevelScheduleConfig.js +0 -5
- package/dist/cjs/api/types/ScheduleResponse.d.ts +0 -11
- package/dist/cjs/api/types/ScheduleResponse.js +0 -5
- package/dist/cjs/api/types/Sync.d.ts +0 -26
- package/dist/cjs/api/types/Sync.js +0 -5
- package/dist/cjs/api/types/SyncCreate.d.ts +0 -21
- package/dist/cjs/api/types/SyncCreate.js +0 -5
- package/dist/cjs/api/types/SyncUpdate.d.ts +0 -17
- package/dist/cjs/api/types/SyncUpdate.js +0 -5
- package/dist/esm/api/types/MinuteLevelScheduleConfig.d.mts +0 -10
- package/dist/esm/api/types/MinuteLevelScheduleConfig.mjs +0 -4
- package/dist/esm/api/types/ScheduleResponse.d.mts +0 -11
- package/dist/esm/api/types/ScheduleResponse.mjs +0 -4
- package/dist/esm/api/types/Sync.d.mts +0 -26
- package/dist/esm/api/types/Sync.mjs +0 -4
- package/dist/esm/api/types/SyncCreate.d.mts +0 -21
- package/dist/esm/api/types/SyncCreate.mjs +0 -4
- package/dist/esm/api/types/SyncUpdate.d.mts +0 -17
- package/dist/esm/api/types/SyncUpdate.mjs +0 -4
package/dist/cjs/Client.js
CHANGED
|
@@ -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.
|
|
52
|
-
"User-Agent": "@airweave/sdk/v0.9.
|
|
51
|
+
"X-Fern-SDK-Version": "v0.9.18",
|
|
52
|
+
"User-Agent": "@airweave/sdk/v0.9.18",
|
|
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) });
|
|
@@ -65,7 +65,6 @@ export * from "./LegacySearchResponse.js";
|
|
|
65
65
|
export * from "./LivenessResponse.js";
|
|
66
66
|
export * from "./MemberResponse.js";
|
|
67
67
|
export * from "./MessageResponse.js";
|
|
68
|
-
export * from "./MinuteLevelScheduleConfig.js";
|
|
69
68
|
export * from "./NotFoundErrorResponse.js";
|
|
70
69
|
export * from "./OAuthBrowserAuthentication.js";
|
|
71
70
|
export * from "./OAuthTokenAuthentication.js";
|
|
@@ -82,7 +81,6 @@ export * from "./ResponseType.js";
|
|
|
82
81
|
export * from "./RetrievalStrategy.js";
|
|
83
82
|
export * from "./ScheduleConfig.js";
|
|
84
83
|
export * from "./ScheduleDetails.js";
|
|
85
|
-
export * from "./ScheduleResponse.js";
|
|
86
84
|
export * from "./SearchRequest.js";
|
|
87
85
|
export * from "./SearchResponse.js";
|
|
88
86
|
export * from "./SearchStatus.js";
|
|
@@ -96,15 +94,12 @@ export * from "./SourceRateLimit.js";
|
|
|
96
94
|
export * from "./SourceRateLimitResponse.js";
|
|
97
95
|
export * from "./SourceRateLimitUpdateRequest.js";
|
|
98
96
|
export * from "./SubscriptionInfo.js";
|
|
99
|
-
export * from "./Sync.js";
|
|
100
97
|
export * from "./SyncConfig.js";
|
|
101
|
-
export * from "./SyncCreate.js";
|
|
102
98
|
export * from "./SyncDetails.js";
|
|
103
99
|
export * from "./SyncJob.js";
|
|
104
100
|
export * from "./SyncJobDetails.js";
|
|
105
101
|
export * from "./SyncJobStatus.js";
|
|
106
102
|
export * from "./SyncStatus.js";
|
|
107
|
-
export * from "./SyncUpdate.js";
|
|
108
103
|
export * from "./UpdatePlanRequest.js";
|
|
109
104
|
export * from "./UsageDashboard.js";
|
|
110
105
|
export * from "./UsageSnapshot.js";
|
|
@@ -81,7 +81,6 @@ __exportStar(require("./LegacySearchResponse.js"), exports);
|
|
|
81
81
|
__exportStar(require("./LivenessResponse.js"), exports);
|
|
82
82
|
__exportStar(require("./MemberResponse.js"), exports);
|
|
83
83
|
__exportStar(require("./MessageResponse.js"), exports);
|
|
84
|
-
__exportStar(require("./MinuteLevelScheduleConfig.js"), exports);
|
|
85
84
|
__exportStar(require("./NotFoundErrorResponse.js"), exports);
|
|
86
85
|
__exportStar(require("./OAuthBrowserAuthentication.js"), exports);
|
|
87
86
|
__exportStar(require("./OAuthTokenAuthentication.js"), exports);
|
|
@@ -98,7 +97,6 @@ __exportStar(require("./ResponseType.js"), exports);
|
|
|
98
97
|
__exportStar(require("./RetrievalStrategy.js"), exports);
|
|
99
98
|
__exportStar(require("./ScheduleConfig.js"), exports);
|
|
100
99
|
__exportStar(require("./ScheduleDetails.js"), exports);
|
|
101
|
-
__exportStar(require("./ScheduleResponse.js"), exports);
|
|
102
100
|
__exportStar(require("./SearchRequest.js"), exports);
|
|
103
101
|
__exportStar(require("./SearchResponse.js"), exports);
|
|
104
102
|
__exportStar(require("./SearchStatus.js"), exports);
|
|
@@ -112,15 +110,12 @@ __exportStar(require("./SourceRateLimit.js"), exports);
|
|
|
112
110
|
__exportStar(require("./SourceRateLimitResponse.js"), exports);
|
|
113
111
|
__exportStar(require("./SourceRateLimitUpdateRequest.js"), exports);
|
|
114
112
|
__exportStar(require("./SubscriptionInfo.js"), exports);
|
|
115
|
-
__exportStar(require("./Sync.js"), exports);
|
|
116
113
|
__exportStar(require("./SyncConfig.js"), exports);
|
|
117
|
-
__exportStar(require("./SyncCreate.js"), exports);
|
|
118
114
|
__exportStar(require("./SyncDetails.js"), exports);
|
|
119
115
|
__exportStar(require("./SyncJob.js"), exports);
|
|
120
116
|
__exportStar(require("./SyncJobDetails.js"), exports);
|
|
121
117
|
__exportStar(require("./SyncJobStatus.js"), exports);
|
|
122
118
|
__exportStar(require("./SyncStatus.js"), exports);
|
|
123
|
-
__exportStar(require("./SyncUpdate.js"), exports);
|
|
124
119
|
__exportStar(require("./UpdatePlanRequest.js"), exports);
|
|
125
120
|
__exportStar(require("./UsageDashboard.js"), exports);
|
|
126
121
|
__exportStar(require("./UsageSnapshot.js"), exports);
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "v0.9.
|
|
1
|
+
export declare const SDK_VERSION = "v0.9.18";
|
package/dist/cjs/version.js
CHANGED
package/dist/esm/Client.mjs
CHANGED
|
@@ -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.
|
|
16
|
-
"User-Agent": "@airweave/sdk/v0.9.
|
|
15
|
+
"X-Fern-SDK-Version": "v0.9.18",
|
|
16
|
+
"User-Agent": "@airweave/sdk/v0.9.18",
|
|
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) });
|
|
@@ -65,7 +65,6 @@ export * from "./LegacySearchResponse.mjs";
|
|
|
65
65
|
export * from "./LivenessResponse.mjs";
|
|
66
66
|
export * from "./MemberResponse.mjs";
|
|
67
67
|
export * from "./MessageResponse.mjs";
|
|
68
|
-
export * from "./MinuteLevelScheduleConfig.mjs";
|
|
69
68
|
export * from "./NotFoundErrorResponse.mjs";
|
|
70
69
|
export * from "./OAuthBrowserAuthentication.mjs";
|
|
71
70
|
export * from "./OAuthTokenAuthentication.mjs";
|
|
@@ -82,7 +81,6 @@ export * from "./ResponseType.mjs";
|
|
|
82
81
|
export * from "./RetrievalStrategy.mjs";
|
|
83
82
|
export * from "./ScheduleConfig.mjs";
|
|
84
83
|
export * from "./ScheduleDetails.mjs";
|
|
85
|
-
export * from "./ScheduleResponse.mjs";
|
|
86
84
|
export * from "./SearchRequest.mjs";
|
|
87
85
|
export * from "./SearchResponse.mjs";
|
|
88
86
|
export * from "./SearchStatus.mjs";
|
|
@@ -96,15 +94,12 @@ export * from "./SourceRateLimit.mjs";
|
|
|
96
94
|
export * from "./SourceRateLimitResponse.mjs";
|
|
97
95
|
export * from "./SourceRateLimitUpdateRequest.mjs";
|
|
98
96
|
export * from "./SubscriptionInfo.mjs";
|
|
99
|
-
export * from "./Sync.mjs";
|
|
100
97
|
export * from "./SyncConfig.mjs";
|
|
101
|
-
export * from "./SyncCreate.mjs";
|
|
102
98
|
export * from "./SyncDetails.mjs";
|
|
103
99
|
export * from "./SyncJob.mjs";
|
|
104
100
|
export * from "./SyncJobDetails.mjs";
|
|
105
101
|
export * from "./SyncJobStatus.mjs";
|
|
106
102
|
export * from "./SyncStatus.mjs";
|
|
107
|
-
export * from "./SyncUpdate.mjs";
|
|
108
103
|
export * from "./UpdatePlanRequest.mjs";
|
|
109
104
|
export * from "./UsageDashboard.mjs";
|
|
110
105
|
export * from "./UsageSnapshot.mjs";
|
|
@@ -65,7 +65,6 @@ export * from "./LegacySearchResponse.mjs";
|
|
|
65
65
|
export * from "./LivenessResponse.mjs";
|
|
66
66
|
export * from "./MemberResponse.mjs";
|
|
67
67
|
export * from "./MessageResponse.mjs";
|
|
68
|
-
export * from "./MinuteLevelScheduleConfig.mjs";
|
|
69
68
|
export * from "./NotFoundErrorResponse.mjs";
|
|
70
69
|
export * from "./OAuthBrowserAuthentication.mjs";
|
|
71
70
|
export * from "./OAuthTokenAuthentication.mjs";
|
|
@@ -82,7 +81,6 @@ export * from "./ResponseType.mjs";
|
|
|
82
81
|
export * from "./RetrievalStrategy.mjs";
|
|
83
82
|
export * from "./ScheduleConfig.mjs";
|
|
84
83
|
export * from "./ScheduleDetails.mjs";
|
|
85
|
-
export * from "./ScheduleResponse.mjs";
|
|
86
84
|
export * from "./SearchRequest.mjs";
|
|
87
85
|
export * from "./SearchResponse.mjs";
|
|
88
86
|
export * from "./SearchStatus.mjs";
|
|
@@ -96,15 +94,12 @@ export * from "./SourceRateLimit.mjs";
|
|
|
96
94
|
export * from "./SourceRateLimitResponse.mjs";
|
|
97
95
|
export * from "./SourceRateLimitUpdateRequest.mjs";
|
|
98
96
|
export * from "./SubscriptionInfo.mjs";
|
|
99
|
-
export * from "./Sync.mjs";
|
|
100
97
|
export * from "./SyncConfig.mjs";
|
|
101
|
-
export * from "./SyncCreate.mjs";
|
|
102
98
|
export * from "./SyncDetails.mjs";
|
|
103
99
|
export * from "./SyncJob.mjs";
|
|
104
100
|
export * from "./SyncJobDetails.mjs";
|
|
105
101
|
export * from "./SyncJobStatus.mjs";
|
|
106
102
|
export * from "./SyncStatus.mjs";
|
|
107
|
-
export * from "./SyncUpdate.mjs";
|
|
108
103
|
export * from "./UpdatePlanRequest.mjs";
|
|
109
104
|
export * from "./UsageDashboard.mjs";
|
|
110
105
|
export * from "./UsageSnapshot.mjs";
|
package/dist/esm/version.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "v0.9.
|
|
1
|
+
export declare const SDK_VERSION = "v0.9.18";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "v0.9.
|
|
1
|
+
export const SDK_VERSION = "v0.9.18";
|
package/package.json
CHANGED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
* Configuration for minute-level incremental sync schedules.
|
|
6
|
-
*/
|
|
7
|
-
export interface MinuteLevelScheduleConfig {
|
|
8
|
-
/** Minute-level cron expression for incremental sync (default: every minute) */
|
|
9
|
-
cron_expression?: string;
|
|
10
|
-
}
|
|
@@ -1,26 +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 Sync.
|
|
7
|
-
*/
|
|
8
|
-
export interface Sync {
|
|
9
|
-
name: string;
|
|
10
|
-
source_connection_id: string;
|
|
11
|
-
destination_connection_ids: string[];
|
|
12
|
-
description?: string;
|
|
13
|
-
cron_schedule?: string;
|
|
14
|
-
next_scheduled_run?: string;
|
|
15
|
-
temporal_schedule_id?: string;
|
|
16
|
-
sync_type?: string;
|
|
17
|
-
sync_metadata?: Record<string, unknown>;
|
|
18
|
-
sync_config?: AirweaveSDK.SyncConfig;
|
|
19
|
-
status: AirweaveSDK.SyncStatus;
|
|
20
|
-
id: string;
|
|
21
|
-
organization_id: string;
|
|
22
|
-
created_at: string;
|
|
23
|
-
modified_at: string;
|
|
24
|
-
created_by_email?: string;
|
|
25
|
-
modified_by_email?: string;
|
|
26
|
-
}
|
|
@@ -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 creating a Sync object.
|
|
7
|
-
*/
|
|
8
|
-
export interface SyncCreate {
|
|
9
|
-
name: string;
|
|
10
|
-
source_connection_id: string;
|
|
11
|
-
destination_connection_ids: string[];
|
|
12
|
-
description?: string;
|
|
13
|
-
cron_schedule?: string;
|
|
14
|
-
next_scheduled_run?: string;
|
|
15
|
-
temporal_schedule_id?: string;
|
|
16
|
-
sync_type?: string;
|
|
17
|
-
sync_metadata?: Record<string, unknown>;
|
|
18
|
-
sync_config?: AirweaveSDK.SyncConfig;
|
|
19
|
-
status?: AirweaveSDK.SyncStatus;
|
|
20
|
-
run_immediately?: boolean;
|
|
21
|
-
}
|
|
@@ -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 updating a Sync object.
|
|
7
|
-
*/
|
|
8
|
-
export interface SyncUpdate {
|
|
9
|
-
name?: string;
|
|
10
|
-
cron_schedule?: string;
|
|
11
|
-
next_scheduled_run?: string;
|
|
12
|
-
sync_metadata?: Record<string, unknown>;
|
|
13
|
-
sync_config?: AirweaveSDK.SyncConfig;
|
|
14
|
-
status?: AirweaveSDK.SyncStatus;
|
|
15
|
-
temporal_schedule_id?: string;
|
|
16
|
-
sync_type?: string;
|
|
17
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
* Configuration for minute-level incremental sync schedules.
|
|
6
|
-
*/
|
|
7
|
-
export interface MinuteLevelScheduleConfig {
|
|
8
|
-
/** Minute-level cron expression for incremental sync (default: every minute) */
|
|
9
|
-
cron_expression?: string;
|
|
10
|
-
}
|
|
@@ -1,26 +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 Sync.
|
|
7
|
-
*/
|
|
8
|
-
export interface Sync {
|
|
9
|
-
name: string;
|
|
10
|
-
source_connection_id: string;
|
|
11
|
-
destination_connection_ids: string[];
|
|
12
|
-
description?: string;
|
|
13
|
-
cron_schedule?: string;
|
|
14
|
-
next_scheduled_run?: string;
|
|
15
|
-
temporal_schedule_id?: string;
|
|
16
|
-
sync_type?: string;
|
|
17
|
-
sync_metadata?: Record<string, unknown>;
|
|
18
|
-
sync_config?: AirweaveSDK.SyncConfig;
|
|
19
|
-
status: AirweaveSDK.SyncStatus;
|
|
20
|
-
id: string;
|
|
21
|
-
organization_id: string;
|
|
22
|
-
created_at: string;
|
|
23
|
-
modified_at: string;
|
|
24
|
-
created_by_email?: string;
|
|
25
|
-
modified_by_email?: string;
|
|
26
|
-
}
|
|
@@ -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 creating a Sync object.
|
|
7
|
-
*/
|
|
8
|
-
export interface SyncCreate {
|
|
9
|
-
name: string;
|
|
10
|
-
source_connection_id: string;
|
|
11
|
-
destination_connection_ids: string[];
|
|
12
|
-
description?: string;
|
|
13
|
-
cron_schedule?: string;
|
|
14
|
-
next_scheduled_run?: string;
|
|
15
|
-
temporal_schedule_id?: string;
|
|
16
|
-
sync_type?: string;
|
|
17
|
-
sync_metadata?: Record<string, unknown>;
|
|
18
|
-
sync_config?: AirweaveSDK.SyncConfig;
|
|
19
|
-
status?: AirweaveSDK.SyncStatus;
|
|
20
|
-
run_immediately?: boolean;
|
|
21
|
-
}
|
|
@@ -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 updating a Sync object.
|
|
7
|
-
*/
|
|
8
|
-
export interface SyncUpdate {
|
|
9
|
-
name?: string;
|
|
10
|
-
cron_schedule?: string;
|
|
11
|
-
next_scheduled_run?: string;
|
|
12
|
-
sync_metadata?: Record<string, unknown>;
|
|
13
|
-
sync_config?: AirweaveSDK.SyncConfig;
|
|
14
|
-
status?: AirweaveSDK.SyncStatus;
|
|
15
|
-
temporal_schedule_id?: string;
|
|
16
|
-
sync_type?: string;
|
|
17
|
-
}
|