@airweave/sdk 0.2.16 → 0.2.17

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 (107) hide show
  1. package/Client.d.ts +0 -3
  2. package/Client.js +20 -25
  3. package/README.md +10 -8
  4. package/api/resources/connections/client/Client.js +10 -10
  5. package/api/resources/destinations/client/Client.js +2 -2
  6. package/api/resources/embeddingModels/client/Client.js +2 -2
  7. package/api/resources/entities/client/Client.js +8 -8
  8. package/api/resources/index.d.ts +0 -2
  9. package/api/resources/index.js +1 -3
  10. package/api/resources/search/client/Client.js +1 -1
  11. package/api/resources/sources/client/Client.js +2 -2
  12. package/api/resources/sync/client/Client.js +11 -11
  13. package/api/resources/transformers/client/Client.js +3 -3
  14. package/api/resources/users/client/Client.d.ts +0 -2
  15. package/api/resources/users/client/Client.js +2 -4
  16. package/api/resources/whiteLabels/client/Client.js +8 -8
  17. package/api/{resources/apiKeys/client/requests → types}/ApiKeyCreate.d.ts +1 -6
  18. package/api/types/index.d.ts +1 -0
  19. package/api/types/index.js +1 -0
  20. package/dist/Client.d.ts +0 -3
  21. package/dist/Client.js +20 -25
  22. package/dist/api/resources/connections/client/Client.js +10 -10
  23. package/dist/api/resources/destinations/client/Client.js +2 -2
  24. package/dist/api/resources/embeddingModels/client/Client.js +2 -2
  25. package/dist/api/resources/entities/client/Client.js +8 -8
  26. package/dist/api/resources/index.d.ts +0 -2
  27. package/dist/api/resources/index.js +1 -3
  28. package/dist/api/resources/search/client/Client.js +1 -1
  29. package/dist/api/resources/sources/client/Client.js +2 -2
  30. package/dist/api/resources/sync/client/Client.js +11 -11
  31. package/dist/api/resources/transformers/client/Client.js +3 -3
  32. package/dist/api/resources/users/client/Client.d.ts +0 -2
  33. package/dist/api/resources/users/client/Client.js +2 -4
  34. package/dist/api/resources/whiteLabels/client/Client.js +8 -8
  35. package/dist/api/{resources/apiKeys/client/requests → types}/ApiKeyCreate.d.ts +1 -6
  36. package/dist/api/types/index.d.ts +1 -0
  37. package/dist/api/types/index.js +1 -0
  38. package/dist/environments.d.ts +2 -2
  39. package/dist/environments.js +1 -1
  40. package/dist/serialization/resources/index.d.ts +0 -2
  41. package/dist/serialization/resources/index.js +1 -3
  42. package/dist/serialization/types/ApiKeyCreate.d.ts +12 -0
  43. package/dist/serialization/{resources/apiKeys/client/requests → types}/ApiKeyCreate.js +1 -1
  44. package/dist/serialization/types/index.d.ts +1 -0
  45. package/dist/serialization/types/index.js +1 -0
  46. package/dist/version.d.ts +1 -1
  47. package/dist/version.js +1 -1
  48. package/environments.d.ts +2 -2
  49. package/environments.js +1 -1
  50. package/package.json +1 -1
  51. package/reference.md +0 -326
  52. package/serialization/resources/index.d.ts +0 -2
  53. package/serialization/resources/index.js +1 -3
  54. package/serialization/types/ApiKeyCreate.d.ts +12 -0
  55. package/serialization/{resources/apiKeys/client/requests → types}/ApiKeyCreate.js +1 -1
  56. package/serialization/types/index.d.ts +1 -0
  57. package/serialization/types/index.js +1 -0
  58. package/version.d.ts +1 -1
  59. package/version.js +1 -1
  60. package/api/resources/apiKeys/client/Client.d.ts +0 -140
  61. package/api/resources/apiKeys/client/Client.js +0 -421
  62. package/api/resources/apiKeys/client/index.d.ts +0 -1
  63. package/api/resources/apiKeys/client/index.js +0 -17
  64. package/api/resources/apiKeys/client/requests/DeleteApiKeyApiKeysDeleteRequest.d.ts +0 -14
  65. package/api/resources/apiKeys/client/requests/DeleteApiKeyApiKeysDeleteRequest.js +0 -5
  66. package/api/resources/apiKeys/client/requests/ReadApiKeyApiKeysIdGetRequest.d.ts +0 -12
  67. package/api/resources/apiKeys/client/requests/ReadApiKeyApiKeysIdGetRequest.js +0 -5
  68. package/api/resources/apiKeys/client/requests/ReadApiKeysApiKeysGetRequest.d.ts +0 -14
  69. package/api/resources/apiKeys/client/requests/ReadApiKeysApiKeysGetRequest.js +0 -5
  70. package/api/resources/apiKeys/client/requests/index.d.ts +0 -4
  71. package/api/resources/apiKeys/client/requests/index.js +0 -2
  72. package/api/resources/apiKeys/index.d.ts +0 -1
  73. package/api/resources/apiKeys/index.js +0 -17
  74. package/dist/api/resources/apiKeys/client/Client.d.ts +0 -140
  75. package/dist/api/resources/apiKeys/client/Client.js +0 -421
  76. package/dist/api/resources/apiKeys/client/index.d.ts +0 -1
  77. package/dist/api/resources/apiKeys/client/index.js +0 -17
  78. package/dist/api/resources/apiKeys/client/requests/DeleteApiKeyApiKeysDeleteRequest.d.ts +0 -14
  79. package/dist/api/resources/apiKeys/client/requests/DeleteApiKeyApiKeysDeleteRequest.js +0 -5
  80. package/dist/api/resources/apiKeys/client/requests/ReadApiKeyApiKeysIdGetRequest.d.ts +0 -12
  81. package/dist/api/resources/apiKeys/client/requests/ReadApiKeyApiKeysIdGetRequest.js +0 -5
  82. package/dist/api/resources/apiKeys/client/requests/ReadApiKeysApiKeysGetRequest.d.ts +0 -14
  83. package/dist/api/resources/apiKeys/client/requests/ReadApiKeysApiKeysGetRequest.js +0 -5
  84. package/dist/api/resources/apiKeys/client/requests/index.d.ts +0 -4
  85. package/dist/api/resources/apiKeys/client/requests/index.js +0 -2
  86. package/dist/api/resources/apiKeys/index.d.ts +0 -1
  87. package/dist/api/resources/apiKeys/index.js +0 -17
  88. package/dist/serialization/resources/apiKeys/client/index.d.ts +0 -2
  89. package/dist/serialization/resources/apiKeys/client/index.js +0 -41
  90. package/dist/serialization/resources/apiKeys/client/readApiKeys.d.ts +0 -11
  91. package/dist/serialization/resources/apiKeys/client/readApiKeys.js +0 -42
  92. package/dist/serialization/resources/apiKeys/client/requests/ApiKeyCreate.d.ts +0 -12
  93. package/dist/serialization/resources/apiKeys/client/requests/index.d.ts +0 -1
  94. package/dist/serialization/resources/apiKeys/client/requests/index.js +0 -5
  95. package/dist/serialization/resources/apiKeys/index.d.ts +0 -1
  96. package/dist/serialization/resources/apiKeys/index.js +0 -17
  97. package/serialization/resources/apiKeys/client/index.d.ts +0 -2
  98. package/serialization/resources/apiKeys/client/index.js +0 -41
  99. package/serialization/resources/apiKeys/client/readApiKeys.d.ts +0 -11
  100. package/serialization/resources/apiKeys/client/readApiKeys.js +0 -42
  101. package/serialization/resources/apiKeys/client/requests/ApiKeyCreate.d.ts +0 -12
  102. package/serialization/resources/apiKeys/client/requests/index.d.ts +0 -1
  103. package/serialization/resources/apiKeys/client/requests/index.js +0 -5
  104. package/serialization/resources/apiKeys/index.d.ts +0 -1
  105. package/serialization/resources/apiKeys/index.js +0 -17
  106. /package/api/{resources/apiKeys/client/requests → types}/ApiKeyCreate.js +0 -0
  107. /package/dist/api/{resources/apiKeys/client/requests → types}/ApiKeyCreate.js +0 -0
package/Client.d.ts CHANGED
@@ -3,7 +3,6 @@
3
3
  */
4
4
  import * as environments from "./environments";
5
5
  import * as core from "./core";
6
- import { ApiKeys } from "./api/resources/apiKeys/client/Client";
7
6
  import { Users } from "./api/resources/users/client/Client";
8
7
  import { Sources } from "./api/resources/sources/client/Client";
9
8
  import { Destinations } from "./api/resources/destinations/client/Client";
@@ -35,7 +34,6 @@ export declare namespace AirweaveSDKClient {
35
34
  }
36
35
  export declare class AirweaveSDKClient {
37
36
  protected readonly _options: AirweaveSDKClient.Options;
38
- protected _apiKeys: ApiKeys | undefined;
39
37
  protected _users: Users | undefined;
40
38
  protected _sources: Sources | undefined;
41
39
  protected _destinations: Destinations | undefined;
@@ -47,7 +45,6 @@ export declare class AirweaveSDKClient {
47
45
  protected _entities: Entities | undefined;
48
46
  protected _transformers: Transformers | undefined;
49
47
  constructor(_options?: AirweaveSDKClient.Options);
50
- get apiKeys(): ApiKeys;
51
48
  get users(): Users;
52
49
  get sources(): Sources;
53
50
  get destinations(): Destinations;
package/Client.js CHANGED
@@ -4,64 +4,59 @@
4
4
  */
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.AirweaveSDKClient = void 0;
7
- const Client_1 = require("./api/resources/apiKeys/client/Client");
8
- const Client_2 = require("./api/resources/users/client/Client");
9
- const Client_3 = require("./api/resources/sources/client/Client");
10
- const Client_4 = require("./api/resources/destinations/client/Client");
11
- const Client_5 = require("./api/resources/embeddingModels/client/Client");
12
- const Client_6 = require("./api/resources/connections/client/Client");
13
- const Client_7 = require("./api/resources/sync/client/Client");
14
- const Client_8 = require("./api/resources/search/client/Client");
15
- const Client_9 = require("./api/resources/whiteLabels/client/Client");
16
- const Client_10 = require("./api/resources/entities/client/Client");
17
- const Client_11 = require("./api/resources/transformers/client/Client");
7
+ const Client_1 = require("./api/resources/users/client/Client");
8
+ const Client_2 = require("./api/resources/sources/client/Client");
9
+ const Client_3 = require("./api/resources/destinations/client/Client");
10
+ const Client_4 = require("./api/resources/embeddingModels/client/Client");
11
+ const Client_5 = require("./api/resources/connections/client/Client");
12
+ const Client_6 = require("./api/resources/sync/client/Client");
13
+ const Client_7 = require("./api/resources/search/client/Client");
14
+ const Client_8 = require("./api/resources/whiteLabels/client/Client");
15
+ const Client_9 = require("./api/resources/entities/client/Client");
16
+ const Client_10 = require("./api/resources/transformers/client/Client");
18
17
  class AirweaveSDKClient {
19
18
  constructor(_options = {}) {
20
19
  this._options = _options;
21
20
  }
22
- get apiKeys() {
23
- var _a;
24
- return ((_a = this._apiKeys) !== null && _a !== void 0 ? _a : (this._apiKeys = new Client_1.ApiKeys(this._options)));
25
- }
26
21
  get users() {
27
22
  var _a;
28
- return ((_a = this._users) !== null && _a !== void 0 ? _a : (this._users = new Client_2.Users(this._options)));
23
+ return ((_a = this._users) !== null && _a !== void 0 ? _a : (this._users = new Client_1.Users(this._options)));
29
24
  }
30
25
  get sources() {
31
26
  var _a;
32
- return ((_a = this._sources) !== null && _a !== void 0 ? _a : (this._sources = new Client_3.Sources(this._options)));
27
+ return ((_a = this._sources) !== null && _a !== void 0 ? _a : (this._sources = new Client_2.Sources(this._options)));
33
28
  }
34
29
  get destinations() {
35
30
  var _a;
36
- return ((_a = this._destinations) !== null && _a !== void 0 ? _a : (this._destinations = new Client_4.Destinations(this._options)));
31
+ return ((_a = this._destinations) !== null && _a !== void 0 ? _a : (this._destinations = new Client_3.Destinations(this._options)));
37
32
  }
38
33
  get embeddingModels() {
39
34
  var _a;
40
- return ((_a = this._embeddingModels) !== null && _a !== void 0 ? _a : (this._embeddingModels = new Client_5.EmbeddingModels(this._options)));
35
+ return ((_a = this._embeddingModels) !== null && _a !== void 0 ? _a : (this._embeddingModels = new Client_4.EmbeddingModels(this._options)));
41
36
  }
42
37
  get connections() {
43
38
  var _a;
44
- return ((_a = this._connections) !== null && _a !== void 0 ? _a : (this._connections = new Client_6.Connections(this._options)));
39
+ return ((_a = this._connections) !== null && _a !== void 0 ? _a : (this._connections = new Client_5.Connections(this._options)));
45
40
  }
46
41
  get sync() {
47
42
  var _a;
48
- return ((_a = this._sync) !== null && _a !== void 0 ? _a : (this._sync = new Client_7.Sync(this._options)));
43
+ return ((_a = this._sync) !== null && _a !== void 0 ? _a : (this._sync = new Client_6.Sync(this._options)));
49
44
  }
50
45
  get search() {
51
46
  var _a;
52
- return ((_a = this._search) !== null && _a !== void 0 ? _a : (this._search = new Client_8.Search(this._options)));
47
+ return ((_a = this._search) !== null && _a !== void 0 ? _a : (this._search = new Client_7.Search(this._options)));
53
48
  }
54
49
  get whiteLabels() {
55
50
  var _a;
56
- return ((_a = this._whiteLabels) !== null && _a !== void 0 ? _a : (this._whiteLabels = new Client_9.WhiteLabels(this._options)));
51
+ return ((_a = this._whiteLabels) !== null && _a !== void 0 ? _a : (this._whiteLabels = new Client_8.WhiteLabels(this._options)));
57
52
  }
58
53
  get entities() {
59
54
  var _a;
60
- return ((_a = this._entities) !== null && _a !== void 0 ? _a : (this._entities = new Client_10.Entities(this._options)));
55
+ return ((_a = this._entities) !== null && _a !== void 0 ? _a : (this._entities = new Client_9.Entities(this._options)));
61
56
  }
62
57
  get transformers() {
63
58
  var _a;
64
- return ((_a = this._transformers) !== null && _a !== void 0 ? _a : (this._transformers = new Client_11.Transformers(this._options)));
59
+ return ((_a = this._transformers) !== null && _a !== void 0 ? _a : (this._transformers = new Client_10.Transformers(this._options)));
65
60
  }
66
61
  }
67
62
  exports.AirweaveSDKClient = AirweaveSDKClient;
package/README.md CHANGED
@@ -23,9 +23,11 @@ Instantiate and use the client with the following:
23
23
  import { AirweaveSDKClient } from "@airweave/sdk";
24
24
 
25
25
  const client = new AirweaveSDKClient({ apiKey: "YOUR_API_KEY" });
26
- await client.apiKeys.createApiKey({
26
+ await client.users.createOrUpdateUser({
27
27
  creds: "creds",
28
- expirationDate: undefined,
28
+ email: "email",
29
+ fullName: undefined,
30
+ organizationId: undefined,
29
31
  });
30
32
  ```
31
33
 
@@ -37,7 +39,7 @@ following namespace:
37
39
  ```typescript
38
40
  import { AirweaveSDK } from "@airweave/sdk";
39
41
 
40
- const request: AirweaveSDK.ReadApiKeysApiKeysGetRequest = {
42
+ const request: AirweaveSDK.ReadUserUsersGetRequest = {
41
43
  ...
42
44
  };
43
45
  ```
@@ -51,7 +53,7 @@ will be thrown.
51
53
  import { AirweaveSDKError } from "@airweave/sdk";
52
54
 
53
55
  try {
54
- await client.apiKeys.createApiKey(...);
56
+ await client.users.createOrUpdateUser(...);
55
57
  } catch (err) {
56
58
  if (err instanceof AirweaveSDKError) {
57
59
  console.log(err.statusCode);
@@ -68,7 +70,7 @@ try {
68
70
  If you would like to send additional headers as part of the request, use the `headers` request option.
69
71
 
70
72
  ```typescript
71
- const response = await client.apiKeys.createApiKey(..., {
73
+ const response = await client.users.createOrUpdateUser(..., {
72
74
  headers: {
73
75
  'X-Custom-Header': 'custom value'
74
76
  }
@@ -90,7 +92,7 @@ A request is deemed retriable when any of the following HTTP status codes is ret
90
92
  Use the `maxRetries` request option to configure this behavior.
91
93
 
92
94
  ```typescript
93
- const response = await client.apiKeys.createApiKey(..., {
95
+ const response = await client.users.createOrUpdateUser(..., {
94
96
  maxRetries: 0 // override maxRetries at the request level
95
97
  });
96
98
  ```
@@ -100,7 +102,7 @@ const response = await client.apiKeys.createApiKey(..., {
100
102
  The SDK defaults to a 60 second timeout. Use the `timeoutInSeconds` option to configure this behavior.
101
103
 
102
104
  ```typescript
103
- const response = await client.apiKeys.createApiKey(..., {
105
+ const response = await client.users.createOrUpdateUser(..., {
104
106
  timeoutInSeconds: 30 // override timeout to 30s
105
107
  });
106
108
  ```
@@ -111,7 +113,7 @@ The SDK allows users to abort requests at any point by passing in an abort signa
111
113
 
112
114
  ```typescript
113
115
  const controller = new AbortController();
114
- const response = await client.apiKeys.createApiKey(..., {
116
+ const response = await client.users.createOrUpdateUser(..., {
115
117
  abortSignal: controller.signal
116
118
  });
117
119
  controller.abort(); // aborts the request
@@ -105,7 +105,7 @@ class Connections {
105
105
  method: "GET",
106
106
  headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
107
107
  ? yield core.Supplier.get(this._options.apiKey)
108
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.16", "User-Agent": "@airweave/sdk/v0.2.16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
108
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.17", "User-Agent": "@airweave/sdk/v0.2.17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
109
109
  contentType: "application/json",
110
110
  queryParameters: _queryParams,
111
111
  requestType: "json",
@@ -185,7 +185,7 @@ class Connections {
185
185
  method: "GET",
186
186
  headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
187
187
  ? yield core.Supplier.get(this._options.apiKey)
188
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.16", "User-Agent": "@airweave/sdk/v0.2.16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
188
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.17", "User-Agent": "@airweave/sdk/v0.2.17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
189
189
  contentType: "application/json",
190
190
  queryParameters: _queryParams,
191
191
  requestType: "json",
@@ -267,7 +267,7 @@ class Connections {
267
267
  method: "GET",
268
268
  headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
269
269
  ? yield core.Supplier.get(this._options.apiKey)
270
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.16", "User-Agent": "@airweave/sdk/v0.2.16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
270
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.17", "User-Agent": "@airweave/sdk/v0.2.17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
271
271
  contentType: "application/json",
272
272
  queryParameters: _queryParams,
273
273
  requestType: "json",
@@ -367,7 +367,7 @@ class Connections {
367
367
  method: "POST",
368
368
  headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
369
369
  ? yield core.Supplier.get(this._options.apiKey)
370
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.16", "User-Agent": "@airweave/sdk/v0.2.16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
370
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.17", "User-Agent": "@airweave/sdk/v0.2.17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
371
371
  contentType: "application/json",
372
372
  queryParameters: _queryParams,
373
373
  requestType: "json",
@@ -452,7 +452,7 @@ class Connections {
452
452
  method: "GET",
453
453
  headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
454
454
  ? yield core.Supplier.get(this._options.apiKey)
455
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.16", "User-Agent": "@airweave/sdk/v0.2.16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
455
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.17", "User-Agent": "@airweave/sdk/v0.2.17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
456
456
  contentType: "application/json",
457
457
  queryParameters: _queryParams,
458
458
  requestType: "json",
@@ -536,7 +536,7 @@ class Connections {
536
536
  method: "DELETE",
537
537
  headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
538
538
  ? yield core.Supplier.get(this._options.apiKey)
539
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.16", "User-Agent": "@airweave/sdk/v0.2.16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
539
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.17", "User-Agent": "@airweave/sdk/v0.2.17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
540
540
  contentType: "application/json",
541
541
  queryParameters: _queryParams,
542
542
  requestType: "json",
@@ -618,7 +618,7 @@ class Connections {
618
618
  method: "PUT",
619
619
  headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
620
620
  ? yield core.Supplier.get(this._options.apiKey)
621
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.16", "User-Agent": "@airweave/sdk/v0.2.16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
621
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.17", "User-Agent": "@airweave/sdk/v0.2.17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
622
622
  contentType: "application/json",
623
623
  queryParameters: _queryParams,
624
624
  requestType: "json",
@@ -707,7 +707,7 @@ class Connections {
707
707
  method: "POST",
708
708
  headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
709
709
  ? yield core.Supplier.get(this._options.apiKey)
710
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.16", "User-Agent": "@airweave/sdk/v0.2.16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
710
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.17", "User-Agent": "@airweave/sdk/v0.2.17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
711
711
  contentType: "application/json",
712
712
  queryParameters: _queryParams,
713
713
  requestType: "json",
@@ -795,7 +795,7 @@ class Connections {
795
795
  method: "POST",
796
796
  headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
797
797
  ? yield core.Supplier.get(this._options.apiKey)
798
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.16", "User-Agent": "@airweave/sdk/v0.2.16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
798
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.17", "User-Agent": "@airweave/sdk/v0.2.17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
799
799
  contentType: "application/json",
800
800
  queryParameters: _queryParams,
801
801
  requestType: "json",
@@ -880,7 +880,7 @@ class Connections {
880
880
  method: "GET",
881
881
  headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
882
882
  ? yield core.Supplier.get(this._options.apiKey)
883
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.16", "User-Agent": "@airweave/sdk/v0.2.16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
883
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.17", "User-Agent": "@airweave/sdk/v0.2.17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
884
884
  contentType: "application/json",
885
885
  queryParameters: _queryParams,
886
886
  requestType: "json",
@@ -92,7 +92,7 @@ class Destinations {
92
92
  method: "GET",
93
93
  headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
94
94
  ? yield core.Supplier.get(this._options.apiKey)
95
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.16", "User-Agent": "@airweave/sdk/v0.2.16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
95
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.17", "User-Agent": "@airweave/sdk/v0.2.17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
96
96
  contentType: "application/json",
97
97
  queryParameters: _queryParams,
98
98
  requestType: "json",
@@ -174,7 +174,7 @@ class Destinations {
174
174
  method: "GET",
175
175
  headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
176
176
  ? yield core.Supplier.get(this._options.apiKey)
177
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.16", "User-Agent": "@airweave/sdk/v0.2.16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
177
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.17", "User-Agent": "@airweave/sdk/v0.2.17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
178
178
  contentType: "application/json",
179
179
  queryParameters: _queryParams,
180
180
  requestType: "json",
@@ -94,7 +94,7 @@ class EmbeddingModels {
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.16", "User-Agent": "@airweave/sdk/v0.2.16", "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.17", "User-Agent": "@airweave/sdk/v0.2.17", "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
  queryParameters: _queryParams,
100
100
  requestType: "json",
@@ -174,7 +174,7 @@ class EmbeddingModels {
174
174
  method: "GET",
175
175
  headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
176
176
  ? yield core.Supplier.get(this._options.apiKey)
177
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.16", "User-Agent": "@airweave/sdk/v0.2.16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
177
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.17", "User-Agent": "@airweave/sdk/v0.2.17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
178
178
  contentType: "application/json",
179
179
  queryParameters: _queryParams,
180
180
  requestType: "json",
@@ -94,7 +94,7 @@ class Entities {
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.16", "User-Agent": "@airweave/sdk/v0.2.16", "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.17", "User-Agent": "@airweave/sdk/v0.2.17", "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
  queryParameters: _queryParams,
100
100
  requestType: "json",
@@ -172,7 +172,7 @@ class Entities {
172
172
  method: "POST",
173
173
  headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
174
174
  ? yield core.Supplier.get(this._options.apiKey)
175
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.16", "User-Agent": "@airweave/sdk/v0.2.16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
175
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.17", "User-Agent": "@airweave/sdk/v0.2.17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
176
176
  contentType: "application/json",
177
177
  queryParameters: _queryParams,
178
178
  requestType: "json",
@@ -252,7 +252,7 @@ class Entities {
252
252
  method: "PUT",
253
253
  headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
254
254
  ? yield core.Supplier.get(this._options.apiKey)
255
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.16", "User-Agent": "@airweave/sdk/v0.2.16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
255
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.17", "User-Agent": "@airweave/sdk/v0.2.17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
256
256
  contentType: "application/json",
257
257
  queryParameters: _queryParams,
258
258
  requestType: "json",
@@ -324,7 +324,7 @@ class Entities {
324
324
  method: "GET",
325
325
  headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
326
326
  ? yield core.Supplier.get(this._options.apiKey)
327
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.16", "User-Agent": "@airweave/sdk/v0.2.16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
327
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.17", "User-Agent": "@airweave/sdk/v0.2.17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
328
328
  contentType: "application/json",
329
329
  queryParameters: _queryParams,
330
330
  requestType: "json",
@@ -399,7 +399,7 @@ class Entities {
399
399
  method: "POST",
400
400
  headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
401
401
  ? yield core.Supplier.get(this._options.apiKey)
402
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.16", "User-Agent": "@airweave/sdk/v0.2.16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
402
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.17", "User-Agent": "@airweave/sdk/v0.2.17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
403
403
  contentType: "application/json",
404
404
  queryParameters: _queryParams,
405
405
  requestType: "json",
@@ -476,7 +476,7 @@ class Entities {
476
476
  method: "PUT",
477
477
  headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
478
478
  ? yield core.Supplier.get(this._options.apiKey)
479
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.16", "User-Agent": "@airweave/sdk/v0.2.16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
479
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.17", "User-Agent": "@airweave/sdk/v0.2.17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
480
480
  contentType: "application/json",
481
481
  queryParameters: _queryParams,
482
482
  requestType: "json",
@@ -557,7 +557,7 @@ class Entities {
557
557
  method: "POST",
558
558
  headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
559
559
  ? yield core.Supplier.get(this._options.apiKey)
560
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.16", "User-Agent": "@airweave/sdk/v0.2.16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
560
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.17", "User-Agent": "@airweave/sdk/v0.2.17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
561
561
  contentType: "application/json",
562
562
  queryParameters: _queryParams,
563
563
  requestType: "json",
@@ -633,7 +633,7 @@ class Entities {
633
633
  method: "GET",
634
634
  headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
635
635
  ? yield core.Supplier.get(this._options.apiKey)
636
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.16", "User-Agent": "@airweave/sdk/v0.2.16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
636
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.17", "User-Agent": "@airweave/sdk/v0.2.17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
637
637
  contentType: "application/json",
638
638
  queryParameters: _queryParams,
639
639
  requestType: "json",
@@ -2,7 +2,6 @@ export * as sync from "./sync";
2
2
  export * from "./sync/types";
3
3
  export * as entities from "./entities";
4
4
  export * from "./entities/types";
5
- export * as apiKeys from "./apiKeys";
6
5
  export * as users from "./users";
7
6
  export * as sources from "./sources";
8
7
  export * as destinations from "./destinations";
@@ -11,7 +10,6 @@ export * as connections from "./connections";
11
10
  export * as search from "./search";
12
11
  export * as whiteLabels from "./whiteLabels";
13
12
  export * as transformers from "./transformers";
14
- export * from "./apiKeys/client/requests";
15
13
  export * from "./users/client/requests";
16
14
  export * from "./sources/client/requests";
17
15
  export * from "./destinations/client/requests";
@@ -36,12 +36,11 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
36
36
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
37
37
  };
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.transformers = exports.whiteLabels = exports.search = exports.connections = exports.embeddingModels = exports.destinations = exports.sources = exports.users = exports.apiKeys = exports.entities = exports.sync = void 0;
39
+ exports.transformers = exports.whiteLabels = exports.search = exports.connections = exports.embeddingModels = exports.destinations = exports.sources = exports.users = exports.entities = exports.sync = void 0;
40
40
  exports.sync = __importStar(require("./sync"));
41
41
  __exportStar(require("./sync/types"), exports);
42
42
  exports.entities = __importStar(require("./entities"));
43
43
  __exportStar(require("./entities/types"), exports);
44
- exports.apiKeys = __importStar(require("./apiKeys"));
45
44
  exports.users = __importStar(require("./users"));
46
45
  exports.sources = __importStar(require("./sources"));
47
46
  exports.destinations = __importStar(require("./destinations"));
@@ -50,7 +49,6 @@ exports.connections = __importStar(require("./connections"));
50
49
  exports.search = __importStar(require("./search"));
51
50
  exports.whiteLabels = __importStar(require("./whiteLabels"));
52
51
  exports.transformers = __importStar(require("./transformers"));
53
- __exportStar(require("./apiKeys/client/requests"), exports);
54
52
  __exportStar(require("./users/client/requests"), exports);
55
53
  __exportStar(require("./sources/client/requests"), exports);
56
54
  __exportStar(require("./destinations/client/requests"), exports);
@@ -102,7 +102,7 @@ class Search {
102
102
  method: "GET",
103
103
  headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
104
104
  ? yield core.Supplier.get(this._options.apiKey)
105
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.16", "User-Agent": "@airweave/sdk/v0.2.16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
105
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.17", "User-Agent": "@airweave/sdk/v0.2.17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
106
106
  contentType: "application/json",
107
107
  queryParameters: _queryParams,
108
108
  requestType: "json",
@@ -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.16", "User-Agent": "@airweave/sdk/v0.2.16", "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.17", "User-Agent": "@airweave/sdk/v0.2.17", "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
  queryParameters: _queryParams,
100
100
  requestType: "json",
@@ -174,7 +174,7 @@ class Sources {
174
174
  method: "GET",
175
175
  headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
176
176
  ? yield core.Supplier.get(this._options.apiKey)
177
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.16", "User-Agent": "@airweave/sdk/v0.2.16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
177
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.17", "User-Agent": "@airweave/sdk/v0.2.17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
178
178
  contentType: "application/json",
179
179
  queryParameters: _queryParams,
180
180
  requestType: "json",
@@ -115,7 +115,7 @@ class Sync {
115
115
  method: "GET",
116
116
  headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
117
117
  ? yield core.Supplier.get(this._options.apiKey)
118
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.16", "User-Agent": "@airweave/sdk/v0.2.16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
118
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.17", "User-Agent": "@airweave/sdk/v0.2.17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
119
119
  contentType: "application/json",
120
120
  queryParameters: _queryParams,
121
121
  requestType: "json",
@@ -209,7 +209,7 @@ class Sync {
209
209
  method: "POST",
210
210
  headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
211
211
  ? yield core.Supplier.get(this._options.apiKey)
212
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.16", "User-Agent": "@airweave/sdk/v0.2.16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
212
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.17", "User-Agent": "@airweave/sdk/v0.2.17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
213
213
  contentType: "application/json",
214
214
  queryParameters: _queryParams,
215
215
  requestType: "json",
@@ -298,7 +298,7 @@ class Sync {
298
298
  method: "GET",
299
299
  headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
300
300
  ? yield core.Supplier.get(this._options.apiKey)
301
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.16", "User-Agent": "@airweave/sdk/v0.2.16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
301
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.17", "User-Agent": "@airweave/sdk/v0.2.17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
302
302
  contentType: "application/json",
303
303
  queryParameters: _queryParams,
304
304
  requestType: "json",
@@ -380,7 +380,7 @@ class Sync {
380
380
  method: "GET",
381
381
  headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
382
382
  ? yield core.Supplier.get(this._options.apiKey)
383
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.16", "User-Agent": "@airweave/sdk/v0.2.16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
383
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.17", "User-Agent": "@airweave/sdk/v0.2.17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
384
384
  contentType: "application/json",
385
385
  queryParameters: _queryParams,
386
386
  requestType: "json",
@@ -466,7 +466,7 @@ class Sync {
466
466
  method: "DELETE",
467
467
  headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
468
468
  ? yield core.Supplier.get(this._options.apiKey)
469
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.16", "User-Agent": "@airweave/sdk/v0.2.16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
469
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.17", "User-Agent": "@airweave/sdk/v0.2.17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
470
470
  contentType: "application/json",
471
471
  queryParameters: _queryParams,
472
472
  requestType: "json",
@@ -556,7 +556,7 @@ class Sync {
556
556
  method: "PATCH",
557
557
  headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
558
558
  ? yield core.Supplier.get(this._options.apiKey)
559
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.16", "User-Agent": "@airweave/sdk/v0.2.16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
559
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.17", "User-Agent": "@airweave/sdk/v0.2.17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
560
560
  contentType: "application/json",
561
561
  queryParameters: _queryParams,
562
562
  requestType: "json",
@@ -640,7 +640,7 @@ class Sync {
640
640
  method: "POST",
641
641
  headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
642
642
  ? yield core.Supplier.get(this._options.apiKey)
643
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.16", "User-Agent": "@airweave/sdk/v0.2.16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
643
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.17", "User-Agent": "@airweave/sdk/v0.2.17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
644
644
  contentType: "application/json",
645
645
  queryParameters: _queryParams,
646
646
  requestType: "json",
@@ -722,7 +722,7 @@ class Sync {
722
722
  method: "GET",
723
723
  headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
724
724
  ? yield core.Supplier.get(this._options.apiKey)
725
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.16", "User-Agent": "@airweave/sdk/v0.2.16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
725
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.17", "User-Agent": "@airweave/sdk/v0.2.17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
726
726
  contentType: "application/json",
727
727
  queryParameters: _queryParams,
728
728
  requestType: "json",
@@ -806,7 +806,7 @@ class Sync {
806
806
  method: "GET",
807
807
  headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
808
808
  ? yield core.Supplier.get(this._options.apiKey)
809
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.16", "User-Agent": "@airweave/sdk/v0.2.16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
809
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.17", "User-Agent": "@airweave/sdk/v0.2.17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
810
810
  contentType: "application/json",
811
811
  queryParameters: _queryParams,
812
812
  requestType: "json",
@@ -882,7 +882,7 @@ class Sync {
882
882
  method: "GET",
883
883
  headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
884
884
  ? yield core.Supplier.get(this._options.apiKey)
885
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.16", "User-Agent": "@airweave/sdk/v0.2.16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
885
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.17", "User-Agent": "@airweave/sdk/v0.2.17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
886
886
  contentType: "application/json",
887
887
  requestType: "json",
888
888
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -948,7 +948,7 @@ class Sync {
948
948
  method: "GET",
949
949
  headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
950
950
  ? yield core.Supplier.get(this._options.apiKey)
951
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.16", "User-Agent": "@airweave/sdk/v0.2.16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
951
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.17", "User-Agent": "@airweave/sdk/v0.2.17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
952
952
  contentType: "application/json",
953
953
  queryParameters: _queryParams,
954
954
  requestType: "json",