@airweave/sdk 0.8.91 → 0.8.93
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/CheckStatus.d.ts +12 -0
- package/dist/cjs/api/types/CheckStatus.js +11 -0
- package/dist/cjs/api/types/DependencyCheck.d.ts +12 -0
- package/dist/cjs/api/types/DependencyCheck.js +5 -0
- package/dist/cjs/api/types/LivenessResponse.d.ts +9 -0
- package/dist/cjs/api/types/LivenessResponse.js +5 -0
- package/dist/cjs/api/types/ReadinessResponse.d.ts +18 -0
- package/dist/cjs/api/types/ReadinessResponse.js +13 -0
- package/dist/cjs/api/types/index.d.ts +4 -0
- package/dist/cjs/api/types/index.js +4 -0
- 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/CheckStatus.d.mts +12 -0
- package/dist/esm/api/types/CheckStatus.mjs +8 -0
- package/dist/esm/api/types/DependencyCheck.d.mts +12 -0
- package/dist/esm/api/types/DependencyCheck.mjs +4 -0
- package/dist/esm/api/types/LivenessResponse.d.mts +9 -0
- package/dist/esm/api/types/LivenessResponse.mjs +4 -0
- package/dist/esm/api/types/ReadinessResponse.d.mts +18 -0
- package/dist/esm/api/types/ReadinessResponse.mjs +10 -0
- package/dist/esm/api/types/index.d.mts +4 -0
- package/dist/esm/api/types/index.mjs +4 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
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.8.
|
|
52
|
-
"User-Agent": "@airweave/sdk/v0.8.
|
|
51
|
+
"X-Fern-SDK-Version": "v0.8.93",
|
|
52
|
+
"User-Agent": "@airweave/sdk/v0.8.93",
|
|
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) });
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Status of an individual dependency check.
|
|
6
|
+
*/
|
|
7
|
+
export type CheckStatus = "up" | "down" | "skipped";
|
|
8
|
+
export declare const CheckStatus: {
|
|
9
|
+
readonly Up: "up";
|
|
10
|
+
readonly Down: "down";
|
|
11
|
+
readonly Skipped: "skipped";
|
|
12
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
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.CheckStatus = void 0;
|
|
7
|
+
exports.CheckStatus = {
|
|
8
|
+
Up: "up",
|
|
9
|
+
Down: "down",
|
|
10
|
+
Skipped: "skipped",
|
|
11
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as AirweaveSDK from "../index.js";
|
|
5
|
+
/**
|
|
6
|
+
* Result of a single dependency health check.
|
|
7
|
+
*/
|
|
8
|
+
export interface DependencyCheck {
|
|
9
|
+
status: AirweaveSDK.CheckStatus;
|
|
10
|
+
latency_ms?: number;
|
|
11
|
+
error?: string;
|
|
12
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as AirweaveSDK from "../index.js";
|
|
5
|
+
/**
|
|
6
|
+
* Response from the readiness probe.
|
|
7
|
+
*/
|
|
8
|
+
export interface ReadinessResponse {
|
|
9
|
+
status: ReadinessResponse.Status;
|
|
10
|
+
checks: Record<string, AirweaveSDK.DependencyCheck>;
|
|
11
|
+
}
|
|
12
|
+
export declare namespace ReadinessResponse {
|
|
13
|
+
type Status = "ready" | "not_ready";
|
|
14
|
+
const Status: {
|
|
15
|
+
readonly Ready: "ready";
|
|
16
|
+
readonly NotReady: "not_ready";
|
|
17
|
+
};
|
|
18
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
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.ReadinessResponse = void 0;
|
|
7
|
+
var ReadinessResponse;
|
|
8
|
+
(function (ReadinessResponse) {
|
|
9
|
+
ReadinessResponse.Status = {
|
|
10
|
+
Ready: "ready",
|
|
11
|
+
NotReady: "not_ready",
|
|
12
|
+
};
|
|
13
|
+
})(ReadinessResponse || (exports.ReadinessResponse = ReadinessResponse = {}));
|
|
@@ -33,6 +33,7 @@ export * from "./BillingStatus.js";
|
|
|
33
33
|
export * from "./BillingTransition.js";
|
|
34
34
|
export * from "./BodyConnectSlackWithTokenConnectionsDirectTokenSlackPost.js";
|
|
35
35
|
export * from "./BodyResyncWithExecutionConfigAdminResyncSyncIdPost.js";
|
|
36
|
+
export * from "./CheckStatus.js";
|
|
36
37
|
export * from "./CheckoutSessionRequest.js";
|
|
37
38
|
export * from "./CheckoutSessionResponse.js";
|
|
38
39
|
export * from "./Collection.js";
|
|
@@ -46,6 +47,7 @@ export * from "./CursorConfig.js";
|
|
|
46
47
|
export * from "./CustomerPortalRequest.js";
|
|
47
48
|
export * from "./CustomerPortalResponse.js";
|
|
48
49
|
export * from "./DeliveryAttempt.js";
|
|
50
|
+
export * from "./DependencyCheck.js";
|
|
49
51
|
export * from "./Destination.js";
|
|
50
52
|
export * from "./DestinationConfig.js";
|
|
51
53
|
export * from "./DestinationWithAuthenticationFields.js";
|
|
@@ -72,6 +74,7 @@ export * from "./InvitationCreate.js";
|
|
|
72
74
|
export * from "./InvitationResponse.js";
|
|
73
75
|
export * from "./LegacySearchRequest.js";
|
|
74
76
|
export * from "./LegacySearchResponse.js";
|
|
77
|
+
export * from "./LivenessResponse.js";
|
|
75
78
|
export * from "./MemberResponse.js";
|
|
76
79
|
export * from "./MessageResponse.js";
|
|
77
80
|
export * from "./MinuteLevelScheduleConfig.js";
|
|
@@ -86,6 +89,7 @@ export * from "./OrganizationMetrics.js";
|
|
|
86
89
|
export * from "./OrganizationWithRole.js";
|
|
87
90
|
export * from "./QueryExpansionStrategy.js";
|
|
88
91
|
export * from "./RateLimitErrorResponse.js";
|
|
92
|
+
export * from "./ReadinessResponse.js";
|
|
89
93
|
export * from "./RecoveryTask.js";
|
|
90
94
|
export * from "./ResponseType.js";
|
|
91
95
|
export * from "./RetrievalStrategy.js";
|
|
@@ -49,6 +49,7 @@ __exportStar(require("./BillingStatus.js"), exports);
|
|
|
49
49
|
__exportStar(require("./BillingTransition.js"), exports);
|
|
50
50
|
__exportStar(require("./BodyConnectSlackWithTokenConnectionsDirectTokenSlackPost.js"), exports);
|
|
51
51
|
__exportStar(require("./BodyResyncWithExecutionConfigAdminResyncSyncIdPost.js"), exports);
|
|
52
|
+
__exportStar(require("./CheckStatus.js"), exports);
|
|
52
53
|
__exportStar(require("./CheckoutSessionRequest.js"), exports);
|
|
53
54
|
__exportStar(require("./CheckoutSessionResponse.js"), exports);
|
|
54
55
|
__exportStar(require("./Collection.js"), exports);
|
|
@@ -62,6 +63,7 @@ __exportStar(require("./CursorConfig.js"), exports);
|
|
|
62
63
|
__exportStar(require("./CustomerPortalRequest.js"), exports);
|
|
63
64
|
__exportStar(require("./CustomerPortalResponse.js"), exports);
|
|
64
65
|
__exportStar(require("./DeliveryAttempt.js"), exports);
|
|
66
|
+
__exportStar(require("./DependencyCheck.js"), exports);
|
|
65
67
|
__exportStar(require("./Destination.js"), exports);
|
|
66
68
|
__exportStar(require("./DestinationConfig.js"), exports);
|
|
67
69
|
__exportStar(require("./DestinationWithAuthenticationFields.js"), exports);
|
|
@@ -88,6 +90,7 @@ __exportStar(require("./InvitationCreate.js"), exports);
|
|
|
88
90
|
__exportStar(require("./InvitationResponse.js"), exports);
|
|
89
91
|
__exportStar(require("./LegacySearchRequest.js"), exports);
|
|
90
92
|
__exportStar(require("./LegacySearchResponse.js"), exports);
|
|
93
|
+
__exportStar(require("./LivenessResponse.js"), exports);
|
|
91
94
|
__exportStar(require("./MemberResponse.js"), exports);
|
|
92
95
|
__exportStar(require("./MessageResponse.js"), exports);
|
|
93
96
|
__exportStar(require("./MinuteLevelScheduleConfig.js"), exports);
|
|
@@ -102,6 +105,7 @@ __exportStar(require("./OrganizationMetrics.js"), exports);
|
|
|
102
105
|
__exportStar(require("./OrganizationWithRole.js"), exports);
|
|
103
106
|
__exportStar(require("./QueryExpansionStrategy.js"), exports);
|
|
104
107
|
__exportStar(require("./RateLimitErrorResponse.js"), exports);
|
|
108
|
+
__exportStar(require("./ReadinessResponse.js"), exports);
|
|
105
109
|
__exportStar(require("./RecoveryTask.js"), exports);
|
|
106
110
|
__exportStar(require("./ResponseType.js"), exports);
|
|
107
111
|
__exportStar(require("./RetrievalStrategy.js"), exports);
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "v0.8.
|
|
1
|
+
export declare const SDK_VERSION = "v0.8.93";
|
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.8.
|
|
16
|
-
"User-Agent": "@airweave/sdk/v0.8.
|
|
15
|
+
"X-Fern-SDK-Version": "v0.8.93",
|
|
16
|
+
"User-Agent": "@airweave/sdk/v0.8.93",
|
|
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) });
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Status of an individual dependency check.
|
|
6
|
+
*/
|
|
7
|
+
export type CheckStatus = "up" | "down" | "skipped";
|
|
8
|
+
export declare const CheckStatus: {
|
|
9
|
+
readonly Up: "up";
|
|
10
|
+
readonly Down: "down";
|
|
11
|
+
readonly Skipped: "skipped";
|
|
12
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as AirweaveSDK from "../index.mjs";
|
|
5
|
+
/**
|
|
6
|
+
* Result of a single dependency health check.
|
|
7
|
+
*/
|
|
8
|
+
export interface DependencyCheck {
|
|
9
|
+
status: AirweaveSDK.CheckStatus;
|
|
10
|
+
latency_ms?: number;
|
|
11
|
+
error?: string;
|
|
12
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as AirweaveSDK from "../index.mjs";
|
|
5
|
+
/**
|
|
6
|
+
* Response from the readiness probe.
|
|
7
|
+
*/
|
|
8
|
+
export interface ReadinessResponse {
|
|
9
|
+
status: ReadinessResponse.Status;
|
|
10
|
+
checks: Record<string, AirweaveSDK.DependencyCheck>;
|
|
11
|
+
}
|
|
12
|
+
export declare namespace ReadinessResponse {
|
|
13
|
+
type Status = "ready" | "not_ready";
|
|
14
|
+
const Status: {
|
|
15
|
+
readonly Ready: "ready";
|
|
16
|
+
readonly NotReady: "not_ready";
|
|
17
|
+
};
|
|
18
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export var ReadinessResponse;
|
|
5
|
+
(function (ReadinessResponse) {
|
|
6
|
+
ReadinessResponse.Status = {
|
|
7
|
+
Ready: "ready",
|
|
8
|
+
NotReady: "not_ready",
|
|
9
|
+
};
|
|
10
|
+
})(ReadinessResponse || (ReadinessResponse = {}));
|
|
@@ -33,6 +33,7 @@ export * from "./BillingStatus.mjs";
|
|
|
33
33
|
export * from "./BillingTransition.mjs";
|
|
34
34
|
export * from "./BodyConnectSlackWithTokenConnectionsDirectTokenSlackPost.mjs";
|
|
35
35
|
export * from "./BodyResyncWithExecutionConfigAdminResyncSyncIdPost.mjs";
|
|
36
|
+
export * from "./CheckStatus.mjs";
|
|
36
37
|
export * from "./CheckoutSessionRequest.mjs";
|
|
37
38
|
export * from "./CheckoutSessionResponse.mjs";
|
|
38
39
|
export * from "./Collection.mjs";
|
|
@@ -46,6 +47,7 @@ export * from "./CursorConfig.mjs";
|
|
|
46
47
|
export * from "./CustomerPortalRequest.mjs";
|
|
47
48
|
export * from "./CustomerPortalResponse.mjs";
|
|
48
49
|
export * from "./DeliveryAttempt.mjs";
|
|
50
|
+
export * from "./DependencyCheck.mjs";
|
|
49
51
|
export * from "./Destination.mjs";
|
|
50
52
|
export * from "./DestinationConfig.mjs";
|
|
51
53
|
export * from "./DestinationWithAuthenticationFields.mjs";
|
|
@@ -72,6 +74,7 @@ export * from "./InvitationCreate.mjs";
|
|
|
72
74
|
export * from "./InvitationResponse.mjs";
|
|
73
75
|
export * from "./LegacySearchRequest.mjs";
|
|
74
76
|
export * from "./LegacySearchResponse.mjs";
|
|
77
|
+
export * from "./LivenessResponse.mjs";
|
|
75
78
|
export * from "./MemberResponse.mjs";
|
|
76
79
|
export * from "./MessageResponse.mjs";
|
|
77
80
|
export * from "./MinuteLevelScheduleConfig.mjs";
|
|
@@ -86,6 +89,7 @@ export * from "./OrganizationMetrics.mjs";
|
|
|
86
89
|
export * from "./OrganizationWithRole.mjs";
|
|
87
90
|
export * from "./QueryExpansionStrategy.mjs";
|
|
88
91
|
export * from "./RateLimitErrorResponse.mjs";
|
|
92
|
+
export * from "./ReadinessResponse.mjs";
|
|
89
93
|
export * from "./RecoveryTask.mjs";
|
|
90
94
|
export * from "./ResponseType.mjs";
|
|
91
95
|
export * from "./RetrievalStrategy.mjs";
|
|
@@ -33,6 +33,7 @@ export * from "./BillingStatus.mjs";
|
|
|
33
33
|
export * from "./BillingTransition.mjs";
|
|
34
34
|
export * from "./BodyConnectSlackWithTokenConnectionsDirectTokenSlackPost.mjs";
|
|
35
35
|
export * from "./BodyResyncWithExecutionConfigAdminResyncSyncIdPost.mjs";
|
|
36
|
+
export * from "./CheckStatus.mjs";
|
|
36
37
|
export * from "./CheckoutSessionRequest.mjs";
|
|
37
38
|
export * from "./CheckoutSessionResponse.mjs";
|
|
38
39
|
export * from "./Collection.mjs";
|
|
@@ -46,6 +47,7 @@ export * from "./CursorConfig.mjs";
|
|
|
46
47
|
export * from "./CustomerPortalRequest.mjs";
|
|
47
48
|
export * from "./CustomerPortalResponse.mjs";
|
|
48
49
|
export * from "./DeliveryAttempt.mjs";
|
|
50
|
+
export * from "./DependencyCheck.mjs";
|
|
49
51
|
export * from "./Destination.mjs";
|
|
50
52
|
export * from "./DestinationConfig.mjs";
|
|
51
53
|
export * from "./DestinationWithAuthenticationFields.mjs";
|
|
@@ -72,6 +74,7 @@ export * from "./InvitationCreate.mjs";
|
|
|
72
74
|
export * from "./InvitationResponse.mjs";
|
|
73
75
|
export * from "./LegacySearchRequest.mjs";
|
|
74
76
|
export * from "./LegacySearchResponse.mjs";
|
|
77
|
+
export * from "./LivenessResponse.mjs";
|
|
75
78
|
export * from "./MemberResponse.mjs";
|
|
76
79
|
export * from "./MessageResponse.mjs";
|
|
77
80
|
export * from "./MinuteLevelScheduleConfig.mjs";
|
|
@@ -86,6 +89,7 @@ export * from "./OrganizationMetrics.mjs";
|
|
|
86
89
|
export * from "./OrganizationWithRole.mjs";
|
|
87
90
|
export * from "./QueryExpansionStrategy.mjs";
|
|
88
91
|
export * from "./RateLimitErrorResponse.mjs";
|
|
92
|
+
export * from "./ReadinessResponse.mjs";
|
|
89
93
|
export * from "./RecoveryTask.mjs";
|
|
90
94
|
export * from "./ResponseType.mjs";
|
|
91
95
|
export * from "./RetrievalStrategy.mjs";
|
package/dist/esm/version.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "v0.8.
|
|
1
|
+
export declare const SDK_VERSION = "v0.8.93";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "v0.8.
|
|
1
|
+
export const SDK_VERSION = "v0.8.93";
|