@airweave/sdk 0.6.26 → 0.6.27

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.
@@ -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.26",
51
- "User-Agent": "@airweave/sdk/v0.6.26",
50
+ "X-Fern-SDK-Version": "v0.6.27",
51
+ "User-Agent": "@airweave/sdk/v0.6.27",
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.read("short_name")
59
+ * await client.sources.get("short_name")
60
60
  */
61
- read(shortName: string, requestOptions?: Sources.RequestOptions): core.HttpResponsePromise<AirweaveSDK.Source>;
62
- private __read;
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.read("short_name")
131
+ * await client.sources.get("short_name")
132
132
  */
133
- read(shortName, requestOptions) {
134
- return core.HttpResponsePromise.fromPromise(this.__read(shortName, requestOptions));
133
+ get(shortName, requestOptions) {
134
+ return core.HttpResponsePromise.fromPromise(this.__get(shortName, requestOptions));
135
135
  }
136
- __read(shortName, requestOptions) {
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);
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "v0.6.26";
1
+ export declare const SDK_VERSION = "v0.6.27";
@@ -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.26";
4
+ exports.SDK_VERSION = "v0.6.27";
@@ -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.26",
15
- "User-Agent": "@airweave/sdk/v0.6.26",
14
+ "X-Fern-SDK-Version": "v0.6.27",
15
+ "User-Agent": "@airweave/sdk/v0.6.27",
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.read("short_name")
59
+ * await client.sources.get("short_name")
60
60
  */
61
- read(shortName: string, requestOptions?: Sources.RequestOptions): core.HttpResponsePromise<AirweaveSDK.Source>;
62
- private __read;
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.read("short_name")
95
+ * await client.sources.get("short_name")
96
96
  */
97
- read(shortName, requestOptions) {
98
- return core.HttpResponsePromise.fromPromise(this.__read(shortName, requestOptions));
97
+ get(shortName, requestOptions) {
98
+ return core.HttpResponsePromise.fromPromise(this.__get(shortName, requestOptions));
99
99
  }
100
- __read(shortName, requestOptions) {
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);
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "v0.6.26";
1
+ export declare const SDK_VERSION = "v0.6.27";
@@ -1 +1 @@
1
- export const SDK_VERSION = "v0.6.26";
1
+ export const SDK_VERSION = "v0.6.27";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@airweave/sdk",
3
- "version": "v0.6.26",
3
+ "version": "v0.6.27",
4
4
  "private": false,
5
5
  "repository": "github:airweave-ai/typescript-sdk",
6
6
  "type": "commonjs",
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">read</a>(shortName) -> AirweaveSDK.Source</code></summary>
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.read("short_name");
91
+ await client.sources.get("short_name");
92
92
  ```
93
93
 
94
94
  </dd>