@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.
- package/dist/cjs/Client.js +2 -2
- package/dist/cjs/api/resources/sourceConnections/client/requests/SourceConnectionCreate.d.ts +1 -1
- package/dist/cjs/api/resources/whiteLabels/client/Client.d.ts +3 -3
- package/dist/cjs/api/resources/whiteLabels/client/Client.js +4 -4
- package/dist/cjs/api/types/AuthProvider.d.ts +1 -1
- 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/sourceConnections/client/requests/SourceConnectionCreate.d.mts +1 -1
- package/dist/esm/api/resources/whiteLabels/client/Client.d.mts +3 -3
- package/dist/esm/api/resources/whiteLabels/client/Client.mjs +4 -4
- package/dist/esm/api/types/AuthProvider.d.mts +1 -1
- 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
|
@@ -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.
|
|
54
|
-
"User-Agent": "@airweave/sdk/v0.3.
|
|
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) });
|
package/dist/cjs/api/resources/sourceConnections/client/requests/SourceConnectionCreate.d.ts
CHANGED
|
@@ -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
|
|
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.
|
|
150
|
+
* await client.whiteLabels.getWhiteLabelOauth2AuthUrlWhiteLabelsWhiteLabelIdOauth2AuthUrlOptions("white_label_id")
|
|
151
151
|
*/
|
|
152
|
-
|
|
153
|
-
private
|
|
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.
|
|
412
|
+
* await client.whiteLabels.getWhiteLabelOauth2AuthUrlWhiteLabelsWhiteLabelIdOauth2AuthUrlOptions("white_label_id")
|
|
413
413
|
*/
|
|
414
|
-
|
|
415
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
414
|
+
getWhiteLabelOauth2AuthUrlWhiteLabelsWhiteLabelIdOauth2AuthUrlOptions(whiteLabelId, requestOptions) {
|
|
415
|
+
return core.HttpResponsePromise.fromPromise(this.__getWhiteLabelOauth2AuthUrlWhiteLabelsWhiteLabelIdOauth2AuthUrlOptions(whiteLabelId, requestOptions));
|
|
416
416
|
}
|
|
417
|
-
|
|
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.,
|
|
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
|
}
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "v0.3.
|
|
1
|
+
export declare const SDK_VERSION = "v0.3.50";
|
package/dist/cjs/version.js
CHANGED
package/dist/esm/Client.mjs
CHANGED
|
@@ -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.
|
|
18
|
-
"User-Agent": "@airweave/sdk/v0.3.
|
|
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) });
|
package/dist/esm/api/resources/sourceConnections/client/requests/SourceConnectionCreate.d.mts
CHANGED
|
@@ -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
|
|
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.
|
|
150
|
+
* await client.whiteLabels.getWhiteLabelOauth2AuthUrlWhiteLabelsWhiteLabelIdOauth2AuthUrlOptions("white_label_id")
|
|
151
151
|
*/
|
|
152
|
-
|
|
153
|
-
private
|
|
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.
|
|
376
|
+
* await client.whiteLabels.getWhiteLabelOauth2AuthUrlWhiteLabelsWhiteLabelIdOauth2AuthUrlOptions("white_label_id")
|
|
377
377
|
*/
|
|
378
|
-
|
|
379
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
378
|
+
getWhiteLabelOauth2AuthUrlWhiteLabelsWhiteLabelIdOauth2AuthUrlOptions(whiteLabelId, requestOptions) {
|
|
379
|
+
return core.HttpResponsePromise.fromPromise(this.__getWhiteLabelOauth2AuthUrlWhiteLabelsWhiteLabelIdOauth2AuthUrlOptions(whiteLabelId, requestOptions));
|
|
380
380
|
}
|
|
381
|
-
|
|
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.,
|
|
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
|
}
|
package/dist/esm/version.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "v0.3.
|
|
1
|
+
export declare const SDK_VERSION = "v0.3.50";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "v0.3.
|
|
1
|
+
export const SDK_VERSION = "v0.3.50";
|
package/package.json
CHANGED
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">
|
|
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.
|
|
1756
|
+
await client.whiteLabels.getWhiteLabelOauth2AuthUrlWhiteLabelsWhiteLabelIdOauth2AuthUrlOptions("white_label_id");
|
|
1757
1757
|
```
|
|
1758
1758
|
|
|
1759
1759
|
</dd>
|