@airweave/sdk 0.6.26 → 0.6.28
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/resources/sources/client/Client.d.ts +3 -3
- package/dist/cjs/api/resources/sources/client/Client.js +4 -4
- 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/resources/sources/client/Client.d.mts +3 -3
- package/dist/esm/api/resources/sources/client/Client.mjs +4 -4
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +2 -2
package/dist/cjs/Client.js
CHANGED
|
@@ -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.
|
|
51
|
-
"User-Agent": "@airweave/sdk/v0.6.
|
|
50
|
+
"X-Fern-SDK-Version": "v0.6.28",
|
|
51
|
+
"User-Agent": "@airweave/sdk/v0.6.28",
|
|
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) });
|
|
@@ -56,9 +56,9 @@ export declare class Sources {
|
|
|
56
56
|
* @throws {@link AirweaveSDK.UnprocessableEntityError}
|
|
57
57
|
*
|
|
58
58
|
* @example
|
|
59
|
-
* await client.sources.
|
|
59
|
+
* await client.sources.get("short_name")
|
|
60
60
|
*/
|
|
61
|
-
|
|
62
|
-
private
|
|
61
|
+
get(shortName: string, requestOptions?: Sources.RequestOptions): core.HttpResponsePromise<AirweaveSDK.Source>;
|
|
62
|
+
private __get;
|
|
63
63
|
protected _getCustomAuthorizationHeaders(): Promise<Record<string, string | undefined>>;
|
|
64
64
|
}
|
|
@@ -128,12 +128,12 @@ class Sources {
|
|
|
128
128
|
* @throws {@link AirweaveSDK.UnprocessableEntityError}
|
|
129
129
|
*
|
|
130
130
|
* @example
|
|
131
|
-
* await client.sources.
|
|
131
|
+
* await client.sources.get("short_name")
|
|
132
132
|
*/
|
|
133
|
-
|
|
134
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
133
|
+
get(shortName, requestOptions) {
|
|
134
|
+
return core.HttpResponsePromise.fromPromise(this.__get(shortName, requestOptions));
|
|
135
135
|
}
|
|
136
|
-
|
|
136
|
+
__get(shortName, requestOptions) {
|
|
137
137
|
return __awaiter(this, void 0, void 0, function* () {
|
|
138
138
|
var _a, _b, _c;
|
|
139
139
|
let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)(Object.assign({}, (yield this._getCustomAuthorizationHeaders()))), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "v0.6.
|
|
1
|
+
export declare const SDK_VERSION = "v0.6.28";
|
package/dist/cjs/version.js
CHANGED
package/dist/esm/Client.mjs
CHANGED
|
@@ -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.
|
|
15
|
-
"User-Agent": "@airweave/sdk/v0.6.
|
|
14
|
+
"X-Fern-SDK-Version": "v0.6.28",
|
|
15
|
+
"User-Agent": "@airweave/sdk/v0.6.28",
|
|
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) });
|
|
@@ -56,9 +56,9 @@ export declare class Sources {
|
|
|
56
56
|
* @throws {@link AirweaveSDK.UnprocessableEntityError}
|
|
57
57
|
*
|
|
58
58
|
* @example
|
|
59
|
-
* await client.sources.
|
|
59
|
+
* await client.sources.get("short_name")
|
|
60
60
|
*/
|
|
61
|
-
|
|
62
|
-
private
|
|
61
|
+
get(shortName: string, requestOptions?: Sources.RequestOptions): core.HttpResponsePromise<AirweaveSDK.Source>;
|
|
62
|
+
private __get;
|
|
63
63
|
protected _getCustomAuthorizationHeaders(): Promise<Record<string, string | undefined>>;
|
|
64
64
|
}
|
|
@@ -92,12 +92,12 @@ export class Sources {
|
|
|
92
92
|
* @throws {@link AirweaveSDK.UnprocessableEntityError}
|
|
93
93
|
*
|
|
94
94
|
* @example
|
|
95
|
-
* await client.sources.
|
|
95
|
+
* await client.sources.get("short_name")
|
|
96
96
|
*/
|
|
97
|
-
|
|
98
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
97
|
+
get(shortName, requestOptions) {
|
|
98
|
+
return core.HttpResponsePromise.fromPromise(this.__get(shortName, requestOptions));
|
|
99
99
|
}
|
|
100
|
-
|
|
100
|
+
__get(shortName, requestOptions) {
|
|
101
101
|
return __awaiter(this, void 0, void 0, function* () {
|
|
102
102
|
var _a, _b, _c;
|
|
103
103
|
let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders(Object.assign({}, (yield this._getCustomAuthorizationHeaders()))), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
package/dist/esm/version.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "v0.6.
|
|
1
|
+
export declare const SDK_VERSION = "v0.6.28";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "v0.6.
|
|
1
|
+
export const SDK_VERSION = "v0.6.28";
|
package/package.json
CHANGED
package/reference.md
CHANGED
|
@@ -60,7 +60,7 @@ await client.sources.list();
|
|
|
60
60
|
</dl>
|
|
61
61
|
</details>
|
|
62
62
|
|
|
63
|
-
<details><summary><code>client.sources.<a href="/src/api/resources/sources/client/Client.ts">
|
|
63
|
+
<details><summary><code>client.sources.<a href="/src/api/resources/sources/client/Client.ts">get</a>(shortName) -> AirweaveSDK.Source</code></summary>
|
|
64
64
|
<dl>
|
|
65
65
|
<dd>
|
|
66
66
|
|
|
@@ -88,7 +88,7 @@ Get detailed information about a specific data source connector.
|
|
|
88
88
|
<dd>
|
|
89
89
|
|
|
90
90
|
```typescript
|
|
91
|
-
await client.sources.
|
|
91
|
+
await client.sources.get("short_name");
|
|
92
92
|
```
|
|
93
93
|
|
|
94
94
|
</dd>
|