@airweave/sdk 0.3.48 → 0.3.50

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.
@@ -50,8 +50,8 @@ class AirweaveSDKClient {
50
50
  "X-Organization-ID": _options === null || _options === void 0 ? void 0 : _options.organizationId,
51
51
  "X-Fern-Language": "JavaScript",
52
52
  "X-Fern-SDK-Name": "@airweave/sdk",
53
- "X-Fern-SDK-Version": "v0.3.48",
54
- "User-Agent": "@airweave/sdk/v0.3.48",
53
+ "X-Fern-SDK-Version": "v0.3.50",
54
+ "User-Agent": "@airweave/sdk/v0.3.50",
55
55
  "X-Fern-Runtime": core.RUNTIME.type,
56
56
  "X-Fern-Runtime-Version": core.RUNTIME.version,
57
57
  }, _options === null || _options === void 0 ? void 0 : _options.headers) });
@@ -26,7 +26,7 @@ export interface SourceConnectionCreate {
26
26
  auth_fields?: AirweaveSDK.ConfigValues;
27
27
  /** Unique readable ID of a connected auth provider to use for authentication instead of providing auth_fields directly. When specified, credentials for the source will be obtained and refreshed automatically by Airweave interaction with the auth provider. To see which auth providers are supported and learn more about how to use them, check [this page](https://docs.airweave.ai/docs/auth-providers). */
28
28
  auth_provider?: string;
29
- /** Configuration for the auth provider when using auth_provider field. Required fields vary by auth provider. For Composio, use integration_id and account_id to specify which integration and account from Composio you want to use to connect to the source. */
29
+ /** Configuration for the auth provider when using auth_provider field. Required fields vary by auth provider. For Composio, use auth_config_id and account_id to specify which integration and account from Composio you want to use to connect to the source. */
30
30
  auth_provider_config?: AirweaveSDK.ConfigValues;
31
31
  /** Whether to start an initial data synchronization immediately after creating the connection. */
32
32
  sync_immediately?: boolean;
@@ -147,10 +147,10 @@ export declare class WhiteLabels {
147
147
  * @throws {@link AirweaveSDK.UnprocessableEntityError}
148
148
  *
149
149
  * @example
150
- * await client.whiteLabels.getWhiteLabelOauth2AuthUrl("white_label_id")
150
+ * await client.whiteLabels.getWhiteLabelOauth2AuthUrlWhiteLabelsWhiteLabelIdOauth2AuthUrlOptions("white_label_id")
151
151
  */
152
- getWhiteLabelOauth2AuthUrl(whiteLabelId: string, requestOptions?: WhiteLabels.RequestOptions): core.HttpResponsePromise<string>;
153
- private __getWhiteLabelOauth2AuthUrl;
152
+ getWhiteLabelOauth2AuthUrlWhiteLabelsWhiteLabelIdOauth2AuthUrlOptions(whiteLabelId: string, requestOptions?: WhiteLabels.RequestOptions): core.HttpResponsePromise<string>;
153
+ private __getWhiteLabelOauth2AuthUrlWhiteLabelsWhiteLabelIdOauth2AuthUrlOptions;
154
154
  /**
155
155
  * List all source connections created through a specific white label integration.
156
156
  *
@@ -409,12 +409,12 @@ class WhiteLabels {
409
409
  * @throws {@link AirweaveSDK.UnprocessableEntityError}
410
410
  *
411
411
  * @example
412
- * await client.whiteLabels.getWhiteLabelOauth2AuthUrl("white_label_id")
412
+ * await client.whiteLabels.getWhiteLabelOauth2AuthUrlWhiteLabelsWhiteLabelIdOauth2AuthUrlOptions("white_label_id")
413
413
  */
414
- getWhiteLabelOauth2AuthUrl(whiteLabelId, requestOptions) {
415
- return core.HttpResponsePromise.fromPromise(this.__getWhiteLabelOauth2AuthUrl(whiteLabelId, requestOptions));
414
+ getWhiteLabelOauth2AuthUrlWhiteLabelsWhiteLabelIdOauth2AuthUrlOptions(whiteLabelId, requestOptions) {
415
+ return core.HttpResponsePromise.fromPromise(this.__getWhiteLabelOauth2AuthUrlWhiteLabelsWhiteLabelIdOauth2AuthUrlOptions(whiteLabelId, requestOptions));
416
416
  }
417
- __getWhiteLabelOauth2AuthUrl(whiteLabelId, requestOptions) {
417
+ __getWhiteLabelOauth2AuthUrlWhiteLabelsWhiteLabelIdOauth2AuthUrlOptions(whiteLabelId, requestOptions) {
418
418
  return __awaiter(this, void 0, void 0, function* () {
419
419
  var _a, _b, _c;
420
420
  const _response = yield core.fetcher({
@@ -27,6 +27,6 @@ export interface AuthProvider {
27
27
  modified_at: string;
28
28
  /** Dynamically populated field definitions for authentication configuration. These describe what credentials are required to connect to this auth provider. */
29
29
  auth_fields?: AirweaveSDK.Fields;
30
- /** Dynamically populated field definitions for auth provider-specific configuration. These describe what additional configuration is required when using this auth provider to connect to a source (e.g., integration_id and account_id for Composio). */
30
+ /** Dynamically populated field definitions for auth provider-specific configuration. These describe what additional configuration is required when using this auth provider to connect to a source (e.g., auth_config_id and account_id for Composio). */
31
31
  config_fields?: AirweaveSDK.Fields;
32
32
  }
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "v0.3.48";
1
+ export declare const SDK_VERSION = "v0.3.50";
@@ -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.3.48";
4
+ exports.SDK_VERSION = "v0.3.50";
@@ -14,8 +14,8 @@ export class AirweaveSDKClient {
14
14
  "X-Organization-ID": _options === null || _options === void 0 ? void 0 : _options.organizationId,
15
15
  "X-Fern-Language": "JavaScript",
16
16
  "X-Fern-SDK-Name": "@airweave/sdk",
17
- "X-Fern-SDK-Version": "v0.3.48",
18
- "User-Agent": "@airweave/sdk/v0.3.48",
17
+ "X-Fern-SDK-Version": "v0.3.50",
18
+ "User-Agent": "@airweave/sdk/v0.3.50",
19
19
  "X-Fern-Runtime": core.RUNTIME.type,
20
20
  "X-Fern-Runtime-Version": core.RUNTIME.version,
21
21
  }, _options === null || _options === void 0 ? void 0 : _options.headers) });
@@ -26,7 +26,7 @@ export interface SourceConnectionCreate {
26
26
  auth_fields?: AirweaveSDK.ConfigValues;
27
27
  /** Unique readable ID of a connected auth provider to use for authentication instead of providing auth_fields directly. When specified, credentials for the source will be obtained and refreshed automatically by Airweave interaction with the auth provider. To see which auth providers are supported and learn more about how to use them, check [this page](https://docs.airweave.ai/docs/auth-providers). */
28
28
  auth_provider?: string;
29
- /** Configuration for the auth provider when using auth_provider field. Required fields vary by auth provider. For Composio, use integration_id and account_id to specify which integration and account from Composio you want to use to connect to the source. */
29
+ /** Configuration for the auth provider when using auth_provider field. Required fields vary by auth provider. For Composio, use auth_config_id and account_id to specify which integration and account from Composio you want to use to connect to the source. */
30
30
  auth_provider_config?: AirweaveSDK.ConfigValues;
31
31
  /** Whether to start an initial data synchronization immediately after creating the connection. */
32
32
  sync_immediately?: boolean;
@@ -147,10 +147,10 @@ export declare class WhiteLabels {
147
147
  * @throws {@link AirweaveSDK.UnprocessableEntityError}
148
148
  *
149
149
  * @example
150
- * await client.whiteLabels.getWhiteLabelOauth2AuthUrl("white_label_id")
150
+ * await client.whiteLabels.getWhiteLabelOauth2AuthUrlWhiteLabelsWhiteLabelIdOauth2AuthUrlOptions("white_label_id")
151
151
  */
152
- getWhiteLabelOauth2AuthUrl(whiteLabelId: string, requestOptions?: WhiteLabels.RequestOptions): core.HttpResponsePromise<string>;
153
- private __getWhiteLabelOauth2AuthUrl;
152
+ getWhiteLabelOauth2AuthUrlWhiteLabelsWhiteLabelIdOauth2AuthUrlOptions(whiteLabelId: string, requestOptions?: WhiteLabels.RequestOptions): core.HttpResponsePromise<string>;
153
+ private __getWhiteLabelOauth2AuthUrlWhiteLabelsWhiteLabelIdOauth2AuthUrlOptions;
154
154
  /**
155
155
  * List all source connections created through a specific white label integration.
156
156
  *
@@ -373,12 +373,12 @@ export class WhiteLabels {
373
373
  * @throws {@link AirweaveSDK.UnprocessableEntityError}
374
374
  *
375
375
  * @example
376
- * await client.whiteLabels.getWhiteLabelOauth2AuthUrl("white_label_id")
376
+ * await client.whiteLabels.getWhiteLabelOauth2AuthUrlWhiteLabelsWhiteLabelIdOauth2AuthUrlOptions("white_label_id")
377
377
  */
378
- getWhiteLabelOauth2AuthUrl(whiteLabelId, requestOptions) {
379
- return core.HttpResponsePromise.fromPromise(this.__getWhiteLabelOauth2AuthUrl(whiteLabelId, requestOptions));
378
+ getWhiteLabelOauth2AuthUrlWhiteLabelsWhiteLabelIdOauth2AuthUrlOptions(whiteLabelId, requestOptions) {
379
+ return core.HttpResponsePromise.fromPromise(this.__getWhiteLabelOauth2AuthUrlWhiteLabelsWhiteLabelIdOauth2AuthUrlOptions(whiteLabelId, requestOptions));
380
380
  }
381
- __getWhiteLabelOauth2AuthUrl(whiteLabelId, requestOptions) {
381
+ __getWhiteLabelOauth2AuthUrlWhiteLabelsWhiteLabelIdOauth2AuthUrlOptions(whiteLabelId, requestOptions) {
382
382
  return __awaiter(this, void 0, void 0, function* () {
383
383
  var _a, _b, _c;
384
384
  const _response = yield core.fetcher({
@@ -27,6 +27,6 @@ export interface AuthProvider {
27
27
  modified_at: string;
28
28
  /** Dynamically populated field definitions for authentication configuration. These describe what credentials are required to connect to this auth provider. */
29
29
  auth_fields?: AirweaveSDK.Fields;
30
- /** Dynamically populated field definitions for auth provider-specific configuration. These describe what additional configuration is required when using this auth provider to connect to a source (e.g., integration_id and account_id for Composio). */
30
+ /** Dynamically populated field definitions for auth provider-specific configuration. These describe what additional configuration is required when using this auth provider to connect to a source (e.g., auth_config_id and account_id for Composio). */
31
31
  config_fields?: AirweaveSDK.Fields;
32
32
  }
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "v0.3.48";
1
+ export declare const SDK_VERSION = "v0.3.50";
@@ -1 +1 @@
1
- export const SDK_VERSION = "v0.3.48";
1
+ export const SDK_VERSION = "v0.3.50";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@airweave/sdk",
3
- "version": "v0.3.48",
3
+ "version": "v0.3.50",
4
4
  "private": false,
5
5
  "repository": "github:airweave-ai/typescript-sdk",
6
6
  "type": "commonjs",
package/reference.md CHANGED
@@ -1720,7 +1720,7 @@ await client.whiteLabels.deleteWhiteLabel("white_label_id");
1720
1720
  </dl>
1721
1721
  </details>
1722
1722
 
1723
- <details><summary><code>client.whiteLabels.<a href="/src/api/resources/whiteLabels/client/Client.ts">getWhiteLabelOauth2AuthUrl</a>(whiteLabelId) -> string</code></summary>
1723
+ <details><summary><code>client.whiteLabels.<a href="/src/api/resources/whiteLabels/client/Client.ts">getWhiteLabelOauth2AuthUrlWhiteLabelsWhiteLabelIdOauth2AuthUrlOptions</a>(whiteLabelId) -> string</code></summary>
1724
1724
  <dl>
1725
1725
  <dd>
1726
1726
 
@@ -1753,7 +1753,7 @@ branding instead of Airweave.
1753
1753
  <dd>
1754
1754
 
1755
1755
  ```typescript
1756
- await client.whiteLabels.getWhiteLabelOauth2AuthUrl("white_label_id");
1756
+ await client.whiteLabels.getWhiteLabelOauth2AuthUrlWhiteLabelsWhiteLabelIdOauth2AuthUrlOptions("white_label_id");
1757
1757
  ```
1758
1758
 
1759
1759
  </dd>