@airweave/sdk 0.3.41 → 0.3.43

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.
Files changed (30) hide show
  1. package/dist/cjs/Client.js +2 -2
  2. package/dist/cjs/api/resources/collections/client/Client.d.ts +3 -0
  3. package/dist/cjs/api/resources/collections/client/Client.js +3 -0
  4. package/dist/cjs/api/resources/sourceConnections/client/Client.d.ts +3 -0
  5. package/dist/cjs/api/resources/sourceConnections/client/Client.js +3 -0
  6. package/dist/cjs/api/resources/sources/client/Client.d.ts +3 -0
  7. package/dist/cjs/api/resources/sources/client/Client.js +3 -0
  8. package/dist/cjs/api/resources/whiteLabels/client/Client.d.ts +7 -4
  9. package/dist/cjs/api/resources/whiteLabels/client/Client.js +8 -5
  10. package/dist/cjs/api/resources/whiteLabels/client/requests/{BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodeOptions.d.ts → BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodePost.d.ts} +1 -1
  11. package/dist/cjs/api/resources/whiteLabels/client/requests/index.d.ts +1 -1
  12. package/dist/cjs/version.d.ts +1 -1
  13. package/dist/cjs/version.js +1 -1
  14. package/dist/esm/Client.mjs +2 -2
  15. package/dist/esm/api/resources/collections/client/Client.d.mts +3 -0
  16. package/dist/esm/api/resources/collections/client/Client.mjs +3 -0
  17. package/dist/esm/api/resources/sourceConnections/client/Client.d.mts +3 -0
  18. package/dist/esm/api/resources/sourceConnections/client/Client.mjs +3 -0
  19. package/dist/esm/api/resources/sources/client/Client.d.mts +3 -0
  20. package/dist/esm/api/resources/sources/client/Client.mjs +3 -0
  21. package/dist/esm/api/resources/whiteLabels/client/Client.d.mts +7 -4
  22. package/dist/esm/api/resources/whiteLabels/client/Client.mjs +8 -5
  23. package/dist/esm/api/resources/whiteLabels/client/requests/{BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodeOptions.d.mts → BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodePost.d.mts} +1 -1
  24. package/dist/esm/api/resources/whiteLabels/client/requests/index.d.mts +1 -1
  25. package/dist/esm/version.d.mts +1 -1
  26. package/dist/esm/version.mjs +1 -1
  27. package/package.json +1 -1
  28. package/reference.md +7 -7
  29. /package/dist/cjs/api/resources/whiteLabels/client/requests/{BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodeOptions.js → BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodePost.js} +0 -0
  30. /package/dist/esm/api/resources/whiteLabels/client/requests/{BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodeOptions.mjs → BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodePost.mjs} +0 -0
@@ -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.41",
54
- "User-Agent": "@airweave/sdk/v0.3.41",
53
+ "X-Fern-SDK-Version": "v0.3.43",
54
+ "User-Agent": "@airweave/sdk/v0.3.43",
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) });
@@ -31,6 +31,9 @@ export declare namespace Collections {
31
31
  headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
32
32
  }
33
33
  }
34
+ /**
35
+ * API endpoints for managing collections - logical groups of data sources that provide unified search capabilities
36
+ */
34
37
  export declare class Collections {
35
38
  protected readonly _options: Collections.Options;
36
39
  constructor(_options?: Collections.Options);
@@ -51,6 +51,9 @@ const core = __importStar(require("../../../../core/index.js"));
51
51
  const AirweaveSDK = __importStar(require("../../../index.js"));
52
52
  const headers_js_1 = require("../../../../core/headers.js");
53
53
  const errors = __importStar(require("../../../../errors/index.js"));
54
+ /**
55
+ * API endpoints for managing collections - logical groups of data sources that provide unified search capabilities
56
+ */
54
57
  class Collections {
55
58
  constructor(_options = {}) {
56
59
  this._options = _options;
@@ -31,6 +31,9 @@ export declare namespace SourceConnections {
31
31
  headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
32
32
  }
33
33
  }
34
+ /**
35
+ * API endpoints for managing live connections to data sources. Source connections are the actual configured instances that Airweave uses to sync data from your apps and databases, transforming it into searchable, structured information within collections
36
+ */
34
37
  export declare class SourceConnections {
35
38
  protected readonly _options: SourceConnections.Options;
36
39
  constructor(_options?: SourceConnections.Options);
@@ -51,6 +51,9 @@ const core = __importStar(require("../../../../core/index.js"));
51
51
  const AirweaveSDK = __importStar(require("../../../index.js"));
52
52
  const headers_js_1 = require("../../../../core/headers.js");
53
53
  const errors = __importStar(require("../../../../errors/index.js"));
54
+ /**
55
+ * API endpoints for managing live connections to data sources. Source connections are the actual configured instances that Airweave uses to sync data from your apps and databases, transforming it into searchable, structured information within collections
56
+ */
54
57
  class SourceConnections {
55
58
  constructor(_options = {}) {
56
59
  this._options = _options;
@@ -31,6 +31,9 @@ export declare namespace Sources {
31
31
  headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
32
32
  }
33
33
  }
34
+ /**
35
+ * API endpoints for discovering available data source connectors and their configuration requirements
36
+ */
34
37
  export declare class Sources {
35
38
  protected readonly _options: Sources.Options;
36
39
  constructor(_options?: Sources.Options);
@@ -51,6 +51,9 @@ const core = __importStar(require("../../../../core/index.js"));
51
51
  const AirweaveSDK = __importStar(require("../../../index.js"));
52
52
  const headers_js_1 = require("../../../../core/headers.js");
53
53
  const errors = __importStar(require("../../../../errors/index.js"));
54
+ /**
55
+ * API endpoints for discovering available data source connectors and their configuration requirements
56
+ */
54
57
  class Sources {
55
58
  constructor(_options = {}) {
56
59
  this._options = _options;
@@ -31,6 +31,9 @@ export declare namespace WhiteLabels {
31
31
  headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
32
32
  }
33
33
  }
34
+ /**
35
+ * API endpoints for managing custom OAuth2 integrations with your own branding and credentials
36
+ */
34
37
  export declare class WhiteLabels {
35
38
  protected readonly _options: WhiteLabels.Options;
36
39
  constructor(_options?: WhiteLabels.Options);
@@ -175,16 +178,16 @@ export declare class WhiteLabels {
175
178
  * tracking and branding purposes.
176
179
  *
177
180
  * @param {string} whiteLabelId - The unique identifier of the white label integration
178
- * @param {AirweaveSDK.BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodeOptions} request
181
+ * @param {AirweaveSDK.BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodePost} request
179
182
  * @param {WhiteLabels.RequestOptions} requestOptions - Request-specific configuration.
180
183
  *
181
184
  * @throws {@link AirweaveSDK.UnprocessableEntityError}
182
185
  *
183
186
  * @example
184
- * await client.whiteLabels.exchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodeOptions("white_label_id", {
187
+ * await client.whiteLabels.exchangeWhiteLabelOauth2Code("white_label_id", {
185
188
  * code: "4/P7q7W91a-oMsCeLvIaQm6bTrgtp7"
186
189
  * })
187
190
  */
188
- exchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodeOptions(whiteLabelId: string, request: AirweaveSDK.BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodeOptions, requestOptions?: WhiteLabels.RequestOptions): core.HttpResponsePromise<AirweaveSDK.SourceConnection>;
189
- private __exchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodeOptions;
191
+ exchangeWhiteLabelOauth2Code(whiteLabelId: string, request: AirweaveSDK.BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodePost, requestOptions?: WhiteLabels.RequestOptions): core.HttpResponsePromise<AirweaveSDK.SourceConnection>;
192
+ private __exchangeWhiteLabelOauth2Code;
190
193
  }
@@ -51,6 +51,9 @@ const core = __importStar(require("../../../../core/index.js"));
51
51
  const AirweaveSDK = __importStar(require("../../../index.js"));
52
52
  const headers_js_1 = require("../../../../core/headers.js");
53
53
  const errors = __importStar(require("../../../../errors/index.js"));
54
+ /**
55
+ * API endpoints for managing custom OAuth2 integrations with your own branding and credentials
56
+ */
54
57
  class WhiteLabels {
55
58
  constructor(_options = {}) {
56
59
  this._options = _options;
@@ -534,20 +537,20 @@ class WhiteLabels {
534
537
  * tracking and branding purposes.
535
538
  *
536
539
  * @param {string} whiteLabelId - The unique identifier of the white label integration
537
- * @param {AirweaveSDK.BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodeOptions} request
540
+ * @param {AirweaveSDK.BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodePost} request
538
541
  * @param {WhiteLabels.RequestOptions} requestOptions - Request-specific configuration.
539
542
  *
540
543
  * @throws {@link AirweaveSDK.UnprocessableEntityError}
541
544
  *
542
545
  * @example
543
- * await client.whiteLabels.exchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodeOptions("white_label_id", {
546
+ * await client.whiteLabels.exchangeWhiteLabelOauth2Code("white_label_id", {
544
547
  * code: "4/P7q7W91a-oMsCeLvIaQm6bTrgtp7"
545
548
  * })
546
549
  */
547
- exchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodeOptions(whiteLabelId, request, requestOptions) {
548
- return core.HttpResponsePromise.fromPromise(this.__exchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodeOptions(whiteLabelId, request, requestOptions));
550
+ exchangeWhiteLabelOauth2Code(whiteLabelId, request, requestOptions) {
551
+ return core.HttpResponsePromise.fromPromise(this.__exchangeWhiteLabelOauth2Code(whiteLabelId, request, requestOptions));
549
552
  }
550
- __exchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodeOptions(whiteLabelId, request, requestOptions) {
553
+ __exchangeWhiteLabelOauth2Code(whiteLabelId, request, requestOptions) {
551
554
  return __awaiter(this, void 0, void 0, function* () {
552
555
  var _a, _b, _c;
553
556
  const _response = yield core.fetcher({
@@ -8,7 +8,7 @@ import * as AirweaveSDK from "../../../../index.js";
8
8
  * code: "4/P7q7W91a-oMsCeLvIaQm6bTrgtp7"
9
9
  * }
10
10
  */
11
- export interface BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodeOptions {
11
+ export interface BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodePost {
12
12
  /** The OAuth2 authorization code received from the OAuth callback after customer authentication */
13
13
  code: string;
14
14
  /** Optional configuration for the source connection. If not provided, a source connection will be created automatically with default settings. The white label integration is automatically linked to the source connection. */
@@ -1,3 +1,3 @@
1
1
  export { type WhiteLabelCreate } from "./WhiteLabelCreate.js";
2
2
  export { type WhiteLabelUpdate } from "./WhiteLabelUpdate.js";
3
- export { type BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodeOptions } from "./BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodeOptions.js";
3
+ export { type BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodePost } from "./BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodePost.js";
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "v0.3.41";
1
+ export declare const SDK_VERSION = "v0.3.43";
@@ -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.41";
4
+ exports.SDK_VERSION = "v0.3.43";
@@ -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.41",
18
- "User-Agent": "@airweave/sdk/v0.3.41",
17
+ "X-Fern-SDK-Version": "v0.3.43",
18
+ "User-Agent": "@airweave/sdk/v0.3.43",
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) });
@@ -31,6 +31,9 @@ export declare namespace Collections {
31
31
  headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
32
32
  }
33
33
  }
34
+ /**
35
+ * API endpoints for managing collections - logical groups of data sources that provide unified search capabilities
36
+ */
34
37
  export declare class Collections {
35
38
  protected readonly _options: Collections.Options;
36
39
  constructor(_options?: Collections.Options);
@@ -15,6 +15,9 @@ import * as core from "../../../../core/index.mjs";
15
15
  import * as AirweaveSDK from "../../../index.mjs";
16
16
  import { mergeHeaders, mergeOnlyDefinedHeaders } from "../../../../core/headers.mjs";
17
17
  import * as errors from "../../../../errors/index.mjs";
18
+ /**
19
+ * API endpoints for managing collections - logical groups of data sources that provide unified search capabilities
20
+ */
18
21
  export class Collections {
19
22
  constructor(_options = {}) {
20
23
  this._options = _options;
@@ -31,6 +31,9 @@ export declare namespace SourceConnections {
31
31
  headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
32
32
  }
33
33
  }
34
+ /**
35
+ * API endpoints for managing live connections to data sources. Source connections are the actual configured instances that Airweave uses to sync data from your apps and databases, transforming it into searchable, structured information within collections
36
+ */
34
37
  export declare class SourceConnections {
35
38
  protected readonly _options: SourceConnections.Options;
36
39
  constructor(_options?: SourceConnections.Options);
@@ -15,6 +15,9 @@ import * as core from "../../../../core/index.mjs";
15
15
  import * as AirweaveSDK from "../../../index.mjs";
16
16
  import { mergeHeaders, mergeOnlyDefinedHeaders } from "../../../../core/headers.mjs";
17
17
  import * as errors from "../../../../errors/index.mjs";
18
+ /**
19
+ * API endpoints for managing live connections to data sources. Source connections are the actual configured instances that Airweave uses to sync data from your apps and databases, transforming it into searchable, structured information within collections
20
+ */
18
21
  export class SourceConnections {
19
22
  constructor(_options = {}) {
20
23
  this._options = _options;
@@ -31,6 +31,9 @@ export declare namespace Sources {
31
31
  headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
32
32
  }
33
33
  }
34
+ /**
35
+ * API endpoints for discovering available data source connectors and their configuration requirements
36
+ */
34
37
  export declare class Sources {
35
38
  protected readonly _options: Sources.Options;
36
39
  constructor(_options?: Sources.Options);
@@ -15,6 +15,9 @@ import * as core from "../../../../core/index.mjs";
15
15
  import * as AirweaveSDK from "../../../index.mjs";
16
16
  import { mergeHeaders, mergeOnlyDefinedHeaders } from "../../../../core/headers.mjs";
17
17
  import * as errors from "../../../../errors/index.mjs";
18
+ /**
19
+ * API endpoints for discovering available data source connectors and their configuration requirements
20
+ */
18
21
  export class Sources {
19
22
  constructor(_options = {}) {
20
23
  this._options = _options;
@@ -31,6 +31,9 @@ export declare namespace WhiteLabels {
31
31
  headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
32
32
  }
33
33
  }
34
+ /**
35
+ * API endpoints for managing custom OAuth2 integrations with your own branding and credentials
36
+ */
34
37
  export declare class WhiteLabels {
35
38
  protected readonly _options: WhiteLabels.Options;
36
39
  constructor(_options?: WhiteLabels.Options);
@@ -175,16 +178,16 @@ export declare class WhiteLabels {
175
178
  * tracking and branding purposes.
176
179
  *
177
180
  * @param {string} whiteLabelId - The unique identifier of the white label integration
178
- * @param {AirweaveSDK.BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodeOptions} request
181
+ * @param {AirweaveSDK.BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodePost} request
179
182
  * @param {WhiteLabels.RequestOptions} requestOptions - Request-specific configuration.
180
183
  *
181
184
  * @throws {@link AirweaveSDK.UnprocessableEntityError}
182
185
  *
183
186
  * @example
184
- * await client.whiteLabels.exchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodeOptions("white_label_id", {
187
+ * await client.whiteLabels.exchangeWhiteLabelOauth2Code("white_label_id", {
185
188
  * code: "4/P7q7W91a-oMsCeLvIaQm6bTrgtp7"
186
189
  * })
187
190
  */
188
- exchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodeOptions(whiteLabelId: string, request: AirweaveSDK.BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodeOptions, requestOptions?: WhiteLabels.RequestOptions): core.HttpResponsePromise<AirweaveSDK.SourceConnection>;
189
- private __exchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodeOptions;
191
+ exchangeWhiteLabelOauth2Code(whiteLabelId: string, request: AirweaveSDK.BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodePost, requestOptions?: WhiteLabels.RequestOptions): core.HttpResponsePromise<AirweaveSDK.SourceConnection>;
192
+ private __exchangeWhiteLabelOauth2Code;
190
193
  }
@@ -15,6 +15,9 @@ import * as core from "../../../../core/index.mjs";
15
15
  import * as AirweaveSDK from "../../../index.mjs";
16
16
  import { mergeHeaders, mergeOnlyDefinedHeaders } from "../../../../core/headers.mjs";
17
17
  import * as errors from "../../../../errors/index.mjs";
18
+ /**
19
+ * API endpoints for managing custom OAuth2 integrations with your own branding and credentials
20
+ */
18
21
  export class WhiteLabels {
19
22
  constructor(_options = {}) {
20
23
  this._options = _options;
@@ -498,20 +501,20 @@ export class WhiteLabels {
498
501
  * tracking and branding purposes.
499
502
  *
500
503
  * @param {string} whiteLabelId - The unique identifier of the white label integration
501
- * @param {AirweaveSDK.BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodeOptions} request
504
+ * @param {AirweaveSDK.BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodePost} request
502
505
  * @param {WhiteLabels.RequestOptions} requestOptions - Request-specific configuration.
503
506
  *
504
507
  * @throws {@link AirweaveSDK.UnprocessableEntityError}
505
508
  *
506
509
  * @example
507
- * await client.whiteLabels.exchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodeOptions("white_label_id", {
510
+ * await client.whiteLabels.exchangeWhiteLabelOauth2Code("white_label_id", {
508
511
  * code: "4/P7q7W91a-oMsCeLvIaQm6bTrgtp7"
509
512
  * })
510
513
  */
511
- exchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodeOptions(whiteLabelId, request, requestOptions) {
512
- return core.HttpResponsePromise.fromPromise(this.__exchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodeOptions(whiteLabelId, request, requestOptions));
514
+ exchangeWhiteLabelOauth2Code(whiteLabelId, request, requestOptions) {
515
+ return core.HttpResponsePromise.fromPromise(this.__exchangeWhiteLabelOauth2Code(whiteLabelId, request, requestOptions));
513
516
  }
514
- __exchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodeOptions(whiteLabelId, request, requestOptions) {
517
+ __exchangeWhiteLabelOauth2Code(whiteLabelId, request, requestOptions) {
515
518
  return __awaiter(this, void 0, void 0, function* () {
516
519
  var _a, _b, _c;
517
520
  const _response = yield core.fetcher({
@@ -8,7 +8,7 @@ import * as AirweaveSDK from "../../../../index.mjs";
8
8
  * code: "4/P7q7W91a-oMsCeLvIaQm6bTrgtp7"
9
9
  * }
10
10
  */
11
- export interface BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodeOptions {
11
+ export interface BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodePost {
12
12
  /** The OAuth2 authorization code received from the OAuth callback after customer authentication */
13
13
  code: string;
14
14
  /** Optional configuration for the source connection. If not provided, a source connection will be created automatically with default settings. The white label integration is automatically linked to the source connection. */
@@ -1,3 +1,3 @@
1
1
  export { type WhiteLabelCreate } from "./WhiteLabelCreate.mjs";
2
2
  export { type WhiteLabelUpdate } from "./WhiteLabelUpdate.mjs";
3
- export { type BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodeOptions } from "./BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodeOptions.mjs";
3
+ export { type BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodePost } from "./BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodePost.mjs";
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "v0.3.41";
1
+ export declare const SDK_VERSION = "v0.3.43";
@@ -1 +1 @@
1
- export const SDK_VERSION = "v0.3.41";
1
+ export const SDK_VERSION = "v0.3.43";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@airweave/sdk",
3
- "version": "v0.3.41",
3
+ "version": "v0.3.43",
4
4
  "private": false,
5
5
  "repository": "https://github.com/airweave-ai/typescript-sdk",
6
6
  "type": "commonjs",
package/reference.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Reference
2
2
 
3
- ## Sources
3
+ ## sources
4
4
 
5
5
  <details><summary><code>client.sources.<a href="/src/api/resources/sources/client/Client.ts">readSource</a>(shortName) -> AirweaveSDK.Source</code></summary>
6
6
  <dl>
@@ -123,7 +123,7 @@ await client.sources.readSources();
123
123
  </dl>
124
124
  </details>
125
125
 
126
- ## Collections
126
+ ## collections
127
127
 
128
128
  <details><summary><code>client.collections.<a href="/src/api/resources/collections/client/Client.ts">listCollections</a>({ ...params }) -> AirweaveSDK.Collection[]</code></summary>
129
129
  <dl>
@@ -617,7 +617,7 @@ await client.collections.refreshAllSourceConnections("readable_id");
617
617
  </dl>
618
618
  </details>
619
619
 
620
- ## SourceConnections
620
+ ## source-connections
621
621
 
622
622
  <details><summary><code>client.sourceConnections.<a href="/src/api/resources/sourceConnections/client/Client.ts">listSourceConnections</a>({ ...params }) -> AirweaveSDK.SourceConnectionListItem[]</code></summary>
623
623
  <dl>
@@ -1282,7 +1282,7 @@ await client.sourceConnections.cancelSourceConnectionJob("source_connection_id",
1282
1282
  </dl>
1283
1283
  </details>
1284
1284
 
1285
- ## WhiteLabels
1285
+ ## white-labels
1286
1286
 
1287
1287
  <details><summary><code>client.whiteLabels.<a href="/src/api/resources/whiteLabels/client/Client.ts">listWhiteLabels</a>() -> AirweaveSDK.WhiteLabel[]</code></summary>
1288
1288
  <dl>
@@ -1764,7 +1764,7 @@ await client.whiteLabels.listWhiteLabelSourceConnections("white_label_id");
1764
1764
  </dl>
1765
1765
  </details>
1766
1766
 
1767
- <details><summary><code>client.whiteLabels.<a href="/src/api/resources/whiteLabels/client/Client.ts">exchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodeOptions</a>(whiteLabelId, { ...params }) -> AirweaveSDK.SourceConnection</code></summary>
1767
+ <details><summary><code>client.whiteLabels.<a href="/src/api/resources/whiteLabels/client/Client.ts">exchangeWhiteLabelOauth2Code</a>(whiteLabelId, { ...params }) -> AirweaveSDK.SourceConnection</code></summary>
1768
1768
  <dl>
1769
1769
  <dd>
1770
1770
 
@@ -1799,7 +1799,7 @@ tracking and branding purposes.
1799
1799
  <dd>
1800
1800
 
1801
1801
  ```typescript
1802
- await client.whiteLabels.exchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodeOptions("white_label_id", {
1802
+ await client.whiteLabels.exchangeWhiteLabelOauth2Code("white_label_id", {
1803
1803
  code: "4/P7q7W91a-oMsCeLvIaQm6bTrgtp7",
1804
1804
  });
1805
1805
  ```
@@ -1825,7 +1825,7 @@ await client.whiteLabels.exchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOaut
1825
1825
  <dl>
1826
1826
  <dd>
1827
1827
 
1828
- **request:** `AirweaveSDK.BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodeOptions`
1828
+ **request:** `AirweaveSDK.BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodePost`
1829
1829
 
1830
1830
  </dd>
1831
1831
  </dl>