@airweave/sdk 0.2.52 → 0.2.53

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 (27) hide show
  1. package/api/resources/collections/client/Client.js +6 -6
  2. package/api/resources/sourceConnections/client/Client.js +7 -7
  3. package/api/resources/sources/client/Client.js +2 -2
  4. package/api/types/{BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodeOptions.d.ts → BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodePost.d.ts} +1 -1
  5. package/api/types/index.d.ts +1 -1
  6. package/api/types/index.js +1 -1
  7. package/dist/api/resources/collections/client/Client.js +6 -6
  8. package/dist/api/resources/sourceConnections/client/Client.js +7 -7
  9. package/dist/api/resources/sources/client/Client.js +2 -2
  10. package/dist/api/types/{BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodeOptions.d.ts → BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodePost.d.ts} +1 -1
  11. package/dist/api/types/index.d.ts +1 -1
  12. package/dist/api/types/index.js +1 -1
  13. package/dist/serialization/types/{BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodeOptions.d.ts → BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodePost.d.ts} +2 -2
  14. package/dist/serialization/types/{BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodeOptions.js → BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodePost.js} +2 -2
  15. package/dist/serialization/types/index.d.ts +1 -1
  16. package/dist/serialization/types/index.js +1 -1
  17. package/dist/version.d.ts +1 -1
  18. package/dist/version.js +1 -1
  19. package/package.json +1 -1
  20. package/serialization/types/{BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodeOptions.d.ts → BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodePost.d.ts} +2 -2
  21. package/serialization/types/{BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodeOptions.js → BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodePost.js} +2 -2
  22. package/serialization/types/index.d.ts +1 -1
  23. package/serialization/types/index.js +1 -1
  24. package/version.d.ts +1 -1
  25. package/version.js +1 -1
  26. /package/api/types/{BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodeOptions.js → BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodePost.js} +0 -0
  27. /package/dist/api/types/{BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodeOptions.js → BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodePost.js} +0 -0
@@ -86,7 +86,7 @@ class Collections {
86
86
  method: "GET",
87
87
  headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
88
88
  ? yield core.Supplier.get(this._options.apiKey)
89
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.52", "User-Agent": "@airweave/sdk/v0.2.52", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
89
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.53", "User-Agent": "@airweave/sdk/v0.2.53", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
90
90
  contentType: "application/json",
91
91
  queryParameters: _queryParams,
92
92
  requestType: "json",
@@ -154,7 +154,7 @@ class Collections {
154
154
  method: "POST",
155
155
  headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
156
156
  ? yield core.Supplier.get(this._options.apiKey)
157
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.52", "User-Agent": "@airweave/sdk/v0.2.52", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
157
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.53", "User-Agent": "@airweave/sdk/v0.2.53", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
158
158
  contentType: "application/json",
159
159
  requestType: "json",
160
160
  body: serializers.CollectionCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -220,7 +220,7 @@ class Collections {
220
220
  method: "GET",
221
221
  headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
222
222
  ? yield core.Supplier.get(this._options.apiKey)
223
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.52", "User-Agent": "@airweave/sdk/v0.2.52", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
223
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.53", "User-Agent": "@airweave/sdk/v0.2.53", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
224
224
  contentType: "application/json",
225
225
  requestType: "json",
226
226
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -300,7 +300,7 @@ class Collections {
300
300
  method: "DELETE",
301
301
  headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
302
302
  ? yield core.Supplier.get(this._options.apiKey)
303
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.52", "User-Agent": "@airweave/sdk/v0.2.52", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
303
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.53", "User-Agent": "@airweave/sdk/v0.2.53", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
304
304
  contentType: "application/json",
305
305
  queryParameters: _queryParams,
306
306
  requestType: "json",
@@ -385,7 +385,7 @@ class Collections {
385
385
  method: "GET",
386
386
  headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
387
387
  ? yield core.Supplier.get(this._options.apiKey)
388
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.52", "User-Agent": "@airweave/sdk/v0.2.52", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
388
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.53", "User-Agent": "@airweave/sdk/v0.2.53", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
389
389
  contentType: "application/json",
390
390
  queryParameters: _queryParams,
391
391
  requestType: "json",
@@ -460,7 +460,7 @@ class Collections {
460
460
  method: "POST",
461
461
  headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
462
462
  ? yield core.Supplier.get(this._options.apiKey)
463
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.52", "User-Agent": "@airweave/sdk/v0.2.52", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
463
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.53", "User-Agent": "@airweave/sdk/v0.2.53", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
464
464
  contentType: "application/json",
465
465
  requestType: "json",
466
466
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -99,7 +99,7 @@ class SourceConnections {
99
99
  method: "GET",
100
100
  headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
101
101
  ? yield core.Supplier.get(this._options.apiKey)
102
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.52", "User-Agent": "@airweave/sdk/v0.2.52", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
102
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.53", "User-Agent": "@airweave/sdk/v0.2.53", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
103
103
  contentType: "application/json",
104
104
  queryParameters: _queryParams,
105
105
  requestType: "json",
@@ -184,7 +184,7 @@ class SourceConnections {
184
184
  method: "POST",
185
185
  headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
186
186
  ? yield core.Supplier.get(this._options.apiKey)
187
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.52", "User-Agent": "@airweave/sdk/v0.2.52", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
187
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.53", "User-Agent": "@airweave/sdk/v0.2.53", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
188
188
  contentType: "application/json",
189
189
  requestType: "json",
190
190
  body: serializers.SourceConnectionCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -265,7 +265,7 @@ class SourceConnections {
265
265
  method: "GET",
266
266
  headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
267
267
  ? yield core.Supplier.get(this._options.apiKey)
268
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.52", "User-Agent": "@airweave/sdk/v0.2.52", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
268
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.53", "User-Agent": "@airweave/sdk/v0.2.53", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
269
269
  contentType: "application/json",
270
270
  queryParameters: _queryParams,
271
271
  requestType: "json",
@@ -341,7 +341,7 @@ class SourceConnections {
341
341
  method: "PUT",
342
342
  headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
343
343
  ? yield core.Supplier.get(this._options.apiKey)
344
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.52", "User-Agent": "@airweave/sdk/v0.2.52", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
344
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.53", "User-Agent": "@airweave/sdk/v0.2.53", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
345
345
  contentType: "application/json",
346
346
  requestType: "json",
347
347
  body: serializers.SourceConnectionUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -422,7 +422,7 @@ class SourceConnections {
422
422
  method: "DELETE",
423
423
  headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
424
424
  ? yield core.Supplier.get(this._options.apiKey)
425
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.52", "User-Agent": "@airweave/sdk/v0.2.52", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
425
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.53", "User-Agent": "@airweave/sdk/v0.2.53", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
426
426
  contentType: "application/json",
427
427
  queryParameters: _queryParams,
428
428
  requestType: "json",
@@ -499,7 +499,7 @@ class SourceConnections {
499
499
  method: "POST",
500
500
  headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
501
501
  ? yield core.Supplier.get(this._options.apiKey)
502
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.52", "User-Agent": "@airweave/sdk/v0.2.52", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
502
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.53", "User-Agent": "@airweave/sdk/v0.2.53", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
503
503
  contentType: "application/json",
504
504
  requestType: "json",
505
505
  body: serializers.BodyRunSourceConnectionSourceConnectionsSourceConnectionIdRunPost.jsonOrThrow(request, {
@@ -575,7 +575,7 @@ class SourceConnections {
575
575
  method: "GET",
576
576
  headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
577
577
  ? yield core.Supplier.get(this._options.apiKey)
578
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.52", "User-Agent": "@airweave/sdk/v0.2.52", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
578
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.53", "User-Agent": "@airweave/sdk/v0.2.53", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
579
579
  contentType: "application/json",
580
580
  requestType: "json",
581
581
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -94,7 +94,7 @@ class Sources {
94
94
  method: "GET",
95
95
  headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
96
96
  ? yield core.Supplier.get(this._options.apiKey)
97
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.52", "User-Agent": "@airweave/sdk/v0.2.52", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
97
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.53", "User-Agent": "@airweave/sdk/v0.2.53", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
98
98
  contentType: "application/json",
99
99
  requestType: "json",
100
100
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -158,7 +158,7 @@ class Sources {
158
158
  method: "GET",
159
159
  headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
160
160
  ? yield core.Supplier.get(this._options.apiKey)
161
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.52", "User-Agent": "@airweave/sdk/v0.2.52", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
161
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.53", "User-Agent": "@airweave/sdk/v0.2.53", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
162
162
  contentType: "application/json",
163
163
  requestType: "json",
164
164
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -2,7 +2,7 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  import * as AirweaveSDK from "../index";
5
- export interface BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodeOptions {
5
+ export interface BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodePost {
6
6
  code: string;
7
7
  sourceConnectionIn?: AirweaveSDK.SourceConnectionCreate;
8
8
  }
@@ -3,7 +3,7 @@ export * from "./ApiKeyCreate";
3
3
  export * from "./AuthType";
4
4
  export * from "./BodyConnectSlackWithTokenConnectionsDirectTokenSlackPost";
5
5
  export * from "./BodyCreateCredentialsFromAuthorizationCodeSourceConnectionsSourceShortNameCodeToTokenCredentialsPost";
6
- export * from "./BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodeOptions";
6
+ export * from "./BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodePost";
7
7
  export * from "./Chat";
8
8
  export * from "./ChatCreate";
9
9
  export * from "./ChatMessage";
@@ -19,7 +19,7 @@ __exportStar(require("./ApiKeyCreate"), exports);
19
19
  __exportStar(require("./AuthType"), exports);
20
20
  __exportStar(require("./BodyConnectSlackWithTokenConnectionsDirectTokenSlackPost"), exports);
21
21
  __exportStar(require("./BodyCreateCredentialsFromAuthorizationCodeSourceConnectionsSourceShortNameCodeToTokenCredentialsPost"), exports);
22
- __exportStar(require("./BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodeOptions"), exports);
22
+ __exportStar(require("./BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodePost"), exports);
23
23
  __exportStar(require("./Chat"), exports);
24
24
  __exportStar(require("./ChatCreate"), exports);
25
25
  __exportStar(require("./ChatMessage"), exports);
@@ -86,7 +86,7 @@ class Collections {
86
86
  method: "GET",
87
87
  headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
88
88
  ? yield core.Supplier.get(this._options.apiKey)
89
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.52", "User-Agent": "@airweave/sdk/v0.2.52", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
89
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.53", "User-Agent": "@airweave/sdk/v0.2.53", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
90
90
  contentType: "application/json",
91
91
  queryParameters: _queryParams,
92
92
  requestType: "json",
@@ -154,7 +154,7 @@ class Collections {
154
154
  method: "POST",
155
155
  headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
156
156
  ? yield core.Supplier.get(this._options.apiKey)
157
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.52", "User-Agent": "@airweave/sdk/v0.2.52", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
157
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.53", "User-Agent": "@airweave/sdk/v0.2.53", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
158
158
  contentType: "application/json",
159
159
  requestType: "json",
160
160
  body: serializers.CollectionCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -220,7 +220,7 @@ class Collections {
220
220
  method: "GET",
221
221
  headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
222
222
  ? yield core.Supplier.get(this._options.apiKey)
223
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.52", "User-Agent": "@airweave/sdk/v0.2.52", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
223
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.53", "User-Agent": "@airweave/sdk/v0.2.53", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
224
224
  contentType: "application/json",
225
225
  requestType: "json",
226
226
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -300,7 +300,7 @@ class Collections {
300
300
  method: "DELETE",
301
301
  headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
302
302
  ? yield core.Supplier.get(this._options.apiKey)
303
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.52", "User-Agent": "@airweave/sdk/v0.2.52", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
303
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.53", "User-Agent": "@airweave/sdk/v0.2.53", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
304
304
  contentType: "application/json",
305
305
  queryParameters: _queryParams,
306
306
  requestType: "json",
@@ -385,7 +385,7 @@ class Collections {
385
385
  method: "GET",
386
386
  headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
387
387
  ? yield core.Supplier.get(this._options.apiKey)
388
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.52", "User-Agent": "@airweave/sdk/v0.2.52", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
388
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.53", "User-Agent": "@airweave/sdk/v0.2.53", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
389
389
  contentType: "application/json",
390
390
  queryParameters: _queryParams,
391
391
  requestType: "json",
@@ -460,7 +460,7 @@ class Collections {
460
460
  method: "POST",
461
461
  headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
462
462
  ? yield core.Supplier.get(this._options.apiKey)
463
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.52", "User-Agent": "@airweave/sdk/v0.2.52", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
463
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.53", "User-Agent": "@airweave/sdk/v0.2.53", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
464
464
  contentType: "application/json",
465
465
  requestType: "json",
466
466
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -99,7 +99,7 @@ class SourceConnections {
99
99
  method: "GET",
100
100
  headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
101
101
  ? yield core.Supplier.get(this._options.apiKey)
102
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.52", "User-Agent": "@airweave/sdk/v0.2.52", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
102
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.53", "User-Agent": "@airweave/sdk/v0.2.53", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
103
103
  contentType: "application/json",
104
104
  queryParameters: _queryParams,
105
105
  requestType: "json",
@@ -184,7 +184,7 @@ class SourceConnections {
184
184
  method: "POST",
185
185
  headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
186
186
  ? yield core.Supplier.get(this._options.apiKey)
187
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.52", "User-Agent": "@airweave/sdk/v0.2.52", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
187
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.53", "User-Agent": "@airweave/sdk/v0.2.53", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
188
188
  contentType: "application/json",
189
189
  requestType: "json",
190
190
  body: serializers.SourceConnectionCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -265,7 +265,7 @@ class SourceConnections {
265
265
  method: "GET",
266
266
  headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
267
267
  ? yield core.Supplier.get(this._options.apiKey)
268
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.52", "User-Agent": "@airweave/sdk/v0.2.52", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
268
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.53", "User-Agent": "@airweave/sdk/v0.2.53", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
269
269
  contentType: "application/json",
270
270
  queryParameters: _queryParams,
271
271
  requestType: "json",
@@ -341,7 +341,7 @@ class SourceConnections {
341
341
  method: "PUT",
342
342
  headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
343
343
  ? yield core.Supplier.get(this._options.apiKey)
344
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.52", "User-Agent": "@airweave/sdk/v0.2.52", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
344
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.53", "User-Agent": "@airweave/sdk/v0.2.53", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
345
345
  contentType: "application/json",
346
346
  requestType: "json",
347
347
  body: serializers.SourceConnectionUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -422,7 +422,7 @@ class SourceConnections {
422
422
  method: "DELETE",
423
423
  headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
424
424
  ? yield core.Supplier.get(this._options.apiKey)
425
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.52", "User-Agent": "@airweave/sdk/v0.2.52", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
425
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.53", "User-Agent": "@airweave/sdk/v0.2.53", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
426
426
  contentType: "application/json",
427
427
  queryParameters: _queryParams,
428
428
  requestType: "json",
@@ -499,7 +499,7 @@ class SourceConnections {
499
499
  method: "POST",
500
500
  headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
501
501
  ? yield core.Supplier.get(this._options.apiKey)
502
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.52", "User-Agent": "@airweave/sdk/v0.2.52", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
502
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.53", "User-Agent": "@airweave/sdk/v0.2.53", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
503
503
  contentType: "application/json",
504
504
  requestType: "json",
505
505
  body: serializers.BodyRunSourceConnectionSourceConnectionsSourceConnectionIdRunPost.jsonOrThrow(request, {
@@ -575,7 +575,7 @@ class SourceConnections {
575
575
  method: "GET",
576
576
  headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
577
577
  ? yield core.Supplier.get(this._options.apiKey)
578
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.52", "User-Agent": "@airweave/sdk/v0.2.52", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
578
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.53", "User-Agent": "@airweave/sdk/v0.2.53", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
579
579
  contentType: "application/json",
580
580
  requestType: "json",
581
581
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -94,7 +94,7 @@ class Sources {
94
94
  method: "GET",
95
95
  headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
96
96
  ? yield core.Supplier.get(this._options.apiKey)
97
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.52", "User-Agent": "@airweave/sdk/v0.2.52", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
97
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.53", "User-Agent": "@airweave/sdk/v0.2.53", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
98
98
  contentType: "application/json",
99
99
  requestType: "json",
100
100
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -158,7 +158,7 @@ class Sources {
158
158
  method: "GET",
159
159
  headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
160
160
  ? yield core.Supplier.get(this._options.apiKey)
161
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.52", "User-Agent": "@airweave/sdk/v0.2.52", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
161
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.53", "User-Agent": "@airweave/sdk/v0.2.53", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
162
162
  contentType: "application/json",
163
163
  requestType: "json",
164
164
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -2,7 +2,7 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  import * as AirweaveSDK from "../index";
5
- export interface BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodeOptions {
5
+ export interface BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodePost {
6
6
  code: string;
7
7
  sourceConnectionIn?: AirweaveSDK.SourceConnectionCreate;
8
8
  }
@@ -3,7 +3,7 @@ export * from "./ApiKeyCreate";
3
3
  export * from "./AuthType";
4
4
  export * from "./BodyConnectSlackWithTokenConnectionsDirectTokenSlackPost";
5
5
  export * from "./BodyCreateCredentialsFromAuthorizationCodeSourceConnectionsSourceShortNameCodeToTokenCredentialsPost";
6
- export * from "./BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodeOptions";
6
+ export * from "./BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodePost";
7
7
  export * from "./Chat";
8
8
  export * from "./ChatCreate";
9
9
  export * from "./ChatMessage";
@@ -19,7 +19,7 @@ __exportStar(require("./ApiKeyCreate"), exports);
19
19
  __exportStar(require("./AuthType"), exports);
20
20
  __exportStar(require("./BodyConnectSlackWithTokenConnectionsDirectTokenSlackPost"), exports);
21
21
  __exportStar(require("./BodyCreateCredentialsFromAuthorizationCodeSourceConnectionsSourceShortNameCodeToTokenCredentialsPost"), exports);
22
- __exportStar(require("./BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodeOptions"), exports);
22
+ __exportStar(require("./BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodePost"), exports);
23
23
  __exportStar(require("./Chat"), exports);
24
24
  __exportStar(require("./ChatCreate"), exports);
25
25
  __exportStar(require("./ChatMessage"), exports);
@@ -5,8 +5,8 @@ import * as serializers from "../index";
5
5
  import * as AirweaveSDK from "../../api/index";
6
6
  import * as core from "../../core";
7
7
  import { SourceConnectionCreate } from "./SourceConnectionCreate";
8
- export declare const BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodeOptions: core.serialization.ObjectSchema<serializers.BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodeOptions.Raw, AirweaveSDK.BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodeOptions>;
9
- export declare namespace BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodeOptions {
8
+ export declare const BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodePost: core.serialization.ObjectSchema<serializers.BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodePost.Raw, AirweaveSDK.BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodePost>;
9
+ export declare namespace BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodePost {
10
10
  interface Raw {
11
11
  code: string;
12
12
  source_connection_in?: SourceConnectionCreate.Raw | null;
@@ -36,10 +36,10 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  };
37
37
  })();
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodeOptions = void 0;
39
+ exports.BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodePost = void 0;
40
40
  const core = __importStar(require("../../core"));
41
41
  const SourceConnectionCreate_1 = require("./SourceConnectionCreate");
42
- exports.BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodeOptions = core.serialization.object({
42
+ exports.BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodePost = core.serialization.object({
43
43
  code: core.serialization.string(),
44
44
  sourceConnectionIn: core.serialization.property("source_connection_in", SourceConnectionCreate_1.SourceConnectionCreate.optional()),
45
45
  });
@@ -3,7 +3,7 @@ export * from "./ApiKeyCreate";
3
3
  export * from "./AuthType";
4
4
  export * from "./BodyConnectSlackWithTokenConnectionsDirectTokenSlackPost";
5
5
  export * from "./BodyCreateCredentialsFromAuthorizationCodeSourceConnectionsSourceShortNameCodeToTokenCredentialsPost";
6
- export * from "./BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodeOptions";
6
+ export * from "./BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodePost";
7
7
  export * from "./Chat";
8
8
  export * from "./ChatCreate";
9
9
  export * from "./ChatMessage";
@@ -19,7 +19,7 @@ __exportStar(require("./ApiKeyCreate"), exports);
19
19
  __exportStar(require("./AuthType"), exports);
20
20
  __exportStar(require("./BodyConnectSlackWithTokenConnectionsDirectTokenSlackPost"), exports);
21
21
  __exportStar(require("./BodyCreateCredentialsFromAuthorizationCodeSourceConnectionsSourceShortNameCodeToTokenCredentialsPost"), exports);
22
- __exportStar(require("./BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodeOptions"), exports);
22
+ __exportStar(require("./BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodePost"), exports);
23
23
  __exportStar(require("./Chat"), exports);
24
24
  __exportStar(require("./ChatCreate"), exports);
25
25
  __exportStar(require("./ChatMessage"), exports);
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "v0.2.52";
1
+ export declare const SDK_VERSION = "v0.2.53";
package/dist/version.js CHANGED
@@ -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.2.52";
4
+ exports.SDK_VERSION = "v0.2.53";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@airweave/sdk",
3
- "version": "v0.2.52",
3
+ "version": "v0.2.53",
4
4
  "private": false,
5
5
  "repository": "https://github.com/airweave-ai/typescript-sdk",
6
6
  "main": "./index.js",
@@ -5,8 +5,8 @@ import * as serializers from "../index";
5
5
  import * as AirweaveSDK from "../../api/index";
6
6
  import * as core from "../../core";
7
7
  import { SourceConnectionCreate } from "./SourceConnectionCreate";
8
- export declare const BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodeOptions: core.serialization.ObjectSchema<serializers.BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodeOptions.Raw, AirweaveSDK.BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodeOptions>;
9
- export declare namespace BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodeOptions {
8
+ export declare const BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodePost: core.serialization.ObjectSchema<serializers.BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodePost.Raw, AirweaveSDK.BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodePost>;
9
+ export declare namespace BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodePost {
10
10
  interface Raw {
11
11
  code: string;
12
12
  source_connection_in?: SourceConnectionCreate.Raw | null;
@@ -36,10 +36,10 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  };
37
37
  })();
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodeOptions = void 0;
39
+ exports.BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodePost = void 0;
40
40
  const core = __importStar(require("../../core"));
41
41
  const SourceConnectionCreate_1 = require("./SourceConnectionCreate");
42
- exports.BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodeOptions = core.serialization.object({
42
+ exports.BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodePost = core.serialization.object({
43
43
  code: core.serialization.string(),
44
44
  sourceConnectionIn: core.serialization.property("source_connection_in", SourceConnectionCreate_1.SourceConnectionCreate.optional()),
45
45
  });
@@ -3,7 +3,7 @@ export * from "./ApiKeyCreate";
3
3
  export * from "./AuthType";
4
4
  export * from "./BodyConnectSlackWithTokenConnectionsDirectTokenSlackPost";
5
5
  export * from "./BodyCreateCredentialsFromAuthorizationCodeSourceConnectionsSourceShortNameCodeToTokenCredentialsPost";
6
- export * from "./BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodeOptions";
6
+ export * from "./BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodePost";
7
7
  export * from "./Chat";
8
8
  export * from "./ChatCreate";
9
9
  export * from "./ChatMessage";
@@ -19,7 +19,7 @@ __exportStar(require("./ApiKeyCreate"), exports);
19
19
  __exportStar(require("./AuthType"), exports);
20
20
  __exportStar(require("./BodyConnectSlackWithTokenConnectionsDirectTokenSlackPost"), exports);
21
21
  __exportStar(require("./BodyCreateCredentialsFromAuthorizationCodeSourceConnectionsSourceShortNameCodeToTokenCredentialsPost"), exports);
22
- __exportStar(require("./BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodeOptions"), exports);
22
+ __exportStar(require("./BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodePost"), exports);
23
23
  __exportStar(require("./Chat"), exports);
24
24
  __exportStar(require("./ChatCreate"), exports);
25
25
  __exportStar(require("./ChatMessage"), exports);
package/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "v0.2.52";
1
+ export declare const SDK_VERSION = "v0.2.53";
package/version.js CHANGED
@@ -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.2.52";
4
+ exports.SDK_VERSION = "v0.2.53";