@airweave/sdk 0.0.81 → 0.0.82

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 (116) hide show
  1. package/Client.d.ts +0 -3
  2. package/Client.js +6 -11
  3. package/api/resources/connections/client/Client.js +12 -12
  4. package/api/resources/cursorDevelopment/client/Client.d.ts +0 -22
  5. package/api/resources/cursorDevelopment/client/Client.js +1 -76
  6. package/api/resources/destinations/client/Client.js +2 -2
  7. package/api/resources/embeddingModels/client/Client.js +2 -2
  8. package/api/resources/entities/client/Client.js +8 -8
  9. package/api/resources/index.d.ts +0 -2
  10. package/api/resources/index.js +1 -3
  11. package/api/resources/search/client/Client.js +1 -1
  12. package/api/resources/sources/client/Client.js +2 -2
  13. package/api/resources/sync/client/Client.js +11 -11
  14. package/api/resources/transformers/client/Client.js +3 -3
  15. package/api/resources/users/client/Client.js +1 -1
  16. package/api/resources/whiteLabels/client/Client.js +8 -8
  17. package/api/types/SyncDagCreate.d.ts +14 -0
  18. package/{dist/api/resources/dag/client/requests → api/types}/SyncDagUpdate.d.ts +3 -7
  19. package/api/types/index.d.ts +2 -0
  20. package/api/types/index.js +2 -0
  21. package/dist/Client.d.ts +0 -3
  22. package/dist/Client.js +6 -11
  23. package/dist/api/resources/connections/client/Client.js +12 -12
  24. package/dist/api/resources/cursorDevelopment/client/Client.d.ts +0 -22
  25. package/dist/api/resources/cursorDevelopment/client/Client.js +1 -76
  26. package/dist/api/resources/destinations/client/Client.js +2 -2
  27. package/dist/api/resources/embeddingModels/client/Client.js +2 -2
  28. package/dist/api/resources/entities/client/Client.js +8 -8
  29. package/dist/api/resources/index.d.ts +0 -2
  30. package/dist/api/resources/index.js +1 -3
  31. package/dist/api/resources/search/client/Client.js +1 -1
  32. package/dist/api/resources/sources/client/Client.js +2 -2
  33. package/dist/api/resources/sync/client/Client.js +11 -11
  34. package/dist/api/resources/transformers/client/Client.js +3 -3
  35. package/dist/api/resources/users/client/Client.js +1 -1
  36. package/dist/api/resources/whiteLabels/client/Client.js +8 -8
  37. package/dist/api/types/SyncDagCreate.d.ts +14 -0
  38. package/{api/resources/dag/client/requests → dist/api/types}/SyncDagUpdate.d.ts +3 -7
  39. package/dist/api/types/index.d.ts +2 -0
  40. package/dist/api/types/index.js +2 -0
  41. package/dist/serialization/resources/index.d.ts +0 -3
  42. package/dist/serialization/resources/index.js +1 -4
  43. package/dist/serialization/types/SyncDagCreate.d.ts +18 -0
  44. package/dist/serialization/{resources/dag/client/requests → types}/SyncDagCreate.js +4 -4
  45. package/dist/serialization/types/SyncDagUpdate.d.ts +18 -0
  46. package/dist/serialization/{resources/dag/client/requests → types}/SyncDagUpdate.js +4 -4
  47. package/dist/serialization/types/index.d.ts +2 -0
  48. package/dist/serialization/types/index.js +2 -0
  49. package/dist/version.d.ts +1 -1
  50. package/dist/version.js +1 -1
  51. package/package.json +1 -1
  52. package/reference.md +0 -363
  53. package/serialization/resources/index.d.ts +0 -3
  54. package/serialization/resources/index.js +1 -4
  55. package/serialization/types/SyncDagCreate.d.ts +18 -0
  56. package/serialization/{resources/dag/client/requests → types}/SyncDagCreate.js +4 -4
  57. package/serialization/types/SyncDagUpdate.d.ts +18 -0
  58. package/serialization/{resources/dag/client/requests → types}/SyncDagUpdate.js +4 -4
  59. package/serialization/types/index.d.ts +2 -0
  60. package/serialization/types/index.js +2 -0
  61. package/version.d.ts +1 -1
  62. package/version.js +1 -1
  63. package/api/resources/dag/client/Client.d.ts +0 -95
  64. package/api/resources/dag/client/Client.js +0 -347
  65. package/api/resources/dag/client/index.d.ts +0 -1
  66. package/api/resources/dag/client/index.js +0 -17
  67. package/api/resources/dag/client/requests/InitializeDagDagInitGetRequest.d.ts +0 -12
  68. package/api/resources/dag/client/requests/InitializeDagDagInitGetRequest.js +0 -5
  69. package/api/resources/dag/client/requests/SyncDagCreate.d.ts +0 -26
  70. package/api/resources/dag/client/requests/index.d.ts +0 -3
  71. package/api/resources/dag/client/requests/index.js +0 -2
  72. package/api/resources/dag/index.d.ts +0 -1
  73. package/api/resources/dag/index.js +0 -17
  74. package/dist/api/resources/dag/client/Client.d.ts +0 -95
  75. package/dist/api/resources/dag/client/Client.js +0 -347
  76. package/dist/api/resources/dag/client/index.d.ts +0 -1
  77. package/dist/api/resources/dag/client/index.js +0 -17
  78. package/dist/api/resources/dag/client/requests/InitializeDagDagInitGetRequest.d.ts +0 -12
  79. package/dist/api/resources/dag/client/requests/InitializeDagDagInitGetRequest.js +0 -5
  80. package/dist/api/resources/dag/client/requests/SyncDagCreate.d.ts +0 -26
  81. package/dist/api/resources/dag/client/requests/index.d.ts +0 -3
  82. package/dist/api/resources/dag/client/requests/index.js +0 -2
  83. package/dist/api/resources/dag/index.d.ts +0 -1
  84. package/dist/api/resources/dag/index.js +0 -17
  85. package/dist/serialization/resources/cursorDevelopment/client/checkConnectionStatus.d.ts +0 -11
  86. package/dist/serialization/resources/cursorDevelopment/client/checkConnectionStatus.js +0 -42
  87. package/dist/serialization/resources/cursorDevelopment/client/index.d.ts +0 -1
  88. package/dist/serialization/resources/cursorDevelopment/client/index.js +0 -37
  89. package/dist/serialization/resources/cursorDevelopment/index.d.ts +0 -1
  90. package/dist/serialization/resources/cursorDevelopment/index.js +0 -17
  91. package/dist/serialization/resources/dag/client/index.d.ts +0 -1
  92. package/dist/serialization/resources/dag/client/index.js +0 -17
  93. package/dist/serialization/resources/dag/client/requests/SyncDagCreate.d.ts +0 -18
  94. package/dist/serialization/resources/dag/client/requests/SyncDagUpdate.d.ts +0 -18
  95. package/dist/serialization/resources/dag/client/requests/index.d.ts +0 -2
  96. package/dist/serialization/resources/dag/client/requests/index.js +0 -7
  97. package/dist/serialization/resources/dag/index.d.ts +0 -1
  98. package/dist/serialization/resources/dag/index.js +0 -17
  99. package/serialization/resources/cursorDevelopment/client/checkConnectionStatus.d.ts +0 -11
  100. package/serialization/resources/cursorDevelopment/client/checkConnectionStatus.js +0 -42
  101. package/serialization/resources/cursorDevelopment/client/index.d.ts +0 -1
  102. package/serialization/resources/cursorDevelopment/client/index.js +0 -37
  103. package/serialization/resources/cursorDevelopment/index.d.ts +0 -1
  104. package/serialization/resources/cursorDevelopment/index.js +0 -17
  105. package/serialization/resources/dag/client/index.d.ts +0 -1
  106. package/serialization/resources/dag/client/index.js +0 -17
  107. package/serialization/resources/dag/client/requests/SyncDagCreate.d.ts +0 -18
  108. package/serialization/resources/dag/client/requests/SyncDagUpdate.d.ts +0 -18
  109. package/serialization/resources/dag/client/requests/index.d.ts +0 -2
  110. package/serialization/resources/dag/client/requests/index.js +0 -7
  111. package/serialization/resources/dag/index.d.ts +0 -1
  112. package/serialization/resources/dag/index.js +0 -17
  113. /package/api/{resources/dag/client/requests → types}/SyncDagCreate.js +0 -0
  114. /package/api/{resources/dag/client/requests → types}/SyncDagUpdate.js +0 -0
  115. /package/dist/api/{resources/dag/client/requests → types}/SyncDagCreate.js +0 -0
  116. /package/dist/api/{resources/dag/client/requests → types}/SyncDagUpdate.js +0 -0
package/Client.d.ts CHANGED
@@ -11,7 +11,6 @@ import { Connections } from "./api/resources/connections/client/Client";
11
11
  import { Sync } from "./api/resources/sync/client/Client";
12
12
  import { Search } from "./api/resources/search/client/Client";
13
13
  import { WhiteLabels } from "./api/resources/whiteLabels/client/Client";
14
- import { Dag } from "./api/resources/dag/client/Client";
15
14
  import { Entities } from "./api/resources/entities/client/Client";
16
15
  import { Transformers } from "./api/resources/transformers/client/Client";
17
16
  import { CursorDevelopment } from "./api/resources/cursorDevelopment/client/Client";
@@ -44,7 +43,6 @@ export declare class AirweaveSDKClient {
44
43
  protected _sync: Sync | undefined;
45
44
  protected _search: Search | undefined;
46
45
  protected _whiteLabels: WhiteLabels | undefined;
47
- protected _dag: Dag | undefined;
48
46
  protected _entities: Entities | undefined;
49
47
  protected _transformers: Transformers | undefined;
50
48
  protected _cursorDevelopment: CursorDevelopment | undefined;
@@ -57,7 +55,6 @@ export declare class AirweaveSDKClient {
57
55
  get sync(): Sync;
58
56
  get search(): Search;
59
57
  get whiteLabels(): WhiteLabels;
60
- get dag(): Dag;
61
58
  get entities(): Entities;
62
59
  get transformers(): Transformers;
63
60
  get cursorDevelopment(): CursorDevelopment;
package/Client.js CHANGED
@@ -12,10 +12,9 @@ const Client_5 = require("./api/resources/connections/client/Client");
12
12
  const Client_6 = require("./api/resources/sync/client/Client");
13
13
  const Client_7 = require("./api/resources/search/client/Client");
14
14
  const Client_8 = require("./api/resources/whiteLabels/client/Client");
15
- const Client_9 = require("./api/resources/dag/client/Client");
16
- const Client_10 = require("./api/resources/entities/client/Client");
17
- const Client_11 = require("./api/resources/transformers/client/Client");
18
- const Client_12 = require("./api/resources/cursorDevelopment/client/Client");
15
+ const Client_9 = require("./api/resources/entities/client/Client");
16
+ const Client_10 = require("./api/resources/transformers/client/Client");
17
+ const Client_11 = require("./api/resources/cursorDevelopment/client/Client");
19
18
  class AirweaveSDKClient {
20
19
  constructor(_options = {}) {
21
20
  this._options = _options;
@@ -52,21 +51,17 @@ class AirweaveSDKClient {
52
51
  var _a;
53
52
  return ((_a = this._whiteLabels) !== null && _a !== void 0 ? _a : (this._whiteLabels = new Client_8.WhiteLabels(this._options)));
54
53
  }
55
- get dag() {
56
- var _a;
57
- return ((_a = this._dag) !== null && _a !== void 0 ? _a : (this._dag = new Client_9.Dag(this._options)));
58
- }
59
54
  get entities() {
60
55
  var _a;
61
- return ((_a = this._entities) !== null && _a !== void 0 ? _a : (this._entities = new Client_10.Entities(this._options)));
56
+ return ((_a = this._entities) !== null && _a !== void 0 ? _a : (this._entities = new Client_9.Entities(this._options)));
62
57
  }
63
58
  get transformers() {
64
59
  var _a;
65
- return ((_a = this._transformers) !== null && _a !== void 0 ? _a : (this._transformers = new Client_11.Transformers(this._options)));
60
+ return ((_a = this._transformers) !== null && _a !== void 0 ? _a : (this._transformers = new Client_10.Transformers(this._options)));
66
61
  }
67
62
  get cursorDevelopment() {
68
63
  var _a;
69
- return ((_a = this._cursorDevelopment) !== null && _a !== void 0 ? _a : (this._cursorDevelopment = new Client_12.CursorDevelopment(this._options)));
64
+ return ((_a = this._cursorDevelopment) !== null && _a !== void 0 ? _a : (this._cursorDevelopment = new Client_11.CursorDevelopment(this._options)));
70
65
  }
71
66
  }
72
67
  exports.AirweaveSDKClient = AirweaveSDKClient;
@@ -88,7 +88,7 @@ class Connections {
88
88
  method: "GET",
89
89
  headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
90
90
  ? yield core.Supplier.get(this._options.apiKey)
91
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.0.81", "User-Agent": "@airweave/sdk/0.1.29", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
91
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.0.82", "User-Agent": "@airweave/sdk/0.0.82", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
92
92
  contentType: "application/json",
93
93
  requestType: "json",
94
94
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -161,7 +161,7 @@ class Connections {
161
161
  method: "GET",
162
162
  headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
163
163
  ? yield core.Supplier.get(this._options.apiKey)
164
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.0.81", "User-Agent": "@airweave/sdk/0.1.29", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
164
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.0.82", "User-Agent": "@airweave/sdk/0.0.82", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
165
165
  contentType: "application/json",
166
166
  requestType: "json",
167
167
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -236,7 +236,7 @@ class Connections {
236
236
  method: "GET",
237
237
  headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
238
238
  ? yield core.Supplier.get(this._options.apiKey)
239
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.0.81", "User-Agent": "@airweave/sdk/0.1.29", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
239
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.0.82", "User-Agent": "@airweave/sdk/0.0.82", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
240
240
  contentType: "application/json",
241
241
  requestType: "json",
242
242
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -328,7 +328,7 @@ class Connections {
328
328
  method: "POST",
329
329
  headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
330
330
  ? yield core.Supplier.get(this._options.apiKey)
331
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.0.81", "User-Agent": "@airweave/sdk/0.1.29", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
331
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.0.82", "User-Agent": "@airweave/sdk/0.0.82", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
332
332
  contentType: "application/json",
333
333
  requestType: "json",
334
334
  body: serializers.BodyConnectIntegrationConnectionsConnectIntegrationTypeShortNamePost.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -404,7 +404,7 @@ class Connections {
404
404
  method: "GET",
405
405
  headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
406
406
  ? yield core.Supplier.get(this._options.apiKey)
407
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.0.81", "User-Agent": "@airweave/sdk/0.1.29", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
407
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.0.82", "User-Agent": "@airweave/sdk/0.0.82", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
408
408
  contentType: "application/json",
409
409
  requestType: "json",
410
410
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -481,7 +481,7 @@ class Connections {
481
481
  method: "DELETE",
482
482
  headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
483
483
  ? yield core.Supplier.get(this._options.apiKey)
484
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.0.81", "User-Agent": "@airweave/sdk/0.1.29", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
484
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.0.82", "User-Agent": "@airweave/sdk/0.0.82", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
485
485
  contentType: "application/json",
486
486
  requestType: "json",
487
487
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -556,7 +556,7 @@ class Connections {
556
556
  method: "PUT",
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": "0.0.81", "User-Agent": "@airweave/sdk/0.1.29", "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": "0.0.82", "User-Agent": "@airweave/sdk/0.0.82", "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
  requestType: "json",
562
562
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -631,7 +631,7 @@ class Connections {
631
631
  method: "PUT",
632
632
  headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
633
633
  ? yield core.Supplier.get(this._options.apiKey)
634
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.0.81", "User-Agent": "@airweave/sdk/0.1.29", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
634
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.0.82", "User-Agent": "@airweave/sdk/0.0.82", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
635
635
  contentType: "application/json",
636
636
  requestType: "json",
637
637
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -707,7 +707,7 @@ class Connections {
707
707
  method: "GET",
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": "0.0.81", "User-Agent": "@airweave/sdk/0.1.29", "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": "0.0.82", "User-Agent": "@airweave/sdk/0.0.82", "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",
@@ -792,7 +792,7 @@ class Connections {
792
792
  method: "POST",
793
793
  headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
794
794
  ? yield core.Supplier.get(this._options.apiKey)
795
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.0.81", "User-Agent": "@airweave/sdk/0.1.29", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
795
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.0.82", "User-Agent": "@airweave/sdk/0.0.82", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
796
796
  contentType: "application/json",
797
797
  requestType: "json",
798
798
  body: serializers.BodySendOauth2CodeConnectionsOauth2SourceCodePost.jsonOrThrow(request, {
@@ -873,7 +873,7 @@ class Connections {
873
873
  method: "POST",
874
874
  headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
875
875
  ? yield core.Supplier.get(this._options.apiKey)
876
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.0.81", "User-Agent": "@airweave/sdk/0.1.29", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
876
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.0.82", "User-Agent": "@airweave/sdk/0.0.82", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
877
877
  contentType: "application/json",
878
878
  requestType: "json",
879
879
  body: serializers.connections.sendOauth2WhiteLabelCode.Request.jsonOrThrow(request, {
@@ -951,7 +951,7 @@ class Connections {
951
951
  method: "GET",
952
952
  headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
953
953
  ? yield core.Supplier.get(this._options.apiKey)
954
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.0.81", "User-Agent": "@airweave/sdk/0.1.29", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
954
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.0.82", "User-Agent": "@airweave/sdk/0.0.82", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
955
955
  contentType: "application/json",
956
956
  requestType: "json",
957
957
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -26,28 +26,6 @@ export declare namespace CursorDevelopment {
26
26
  export declare class CursorDevelopment {
27
27
  protected readonly _options: CursorDevelopment.Options;
28
28
  constructor(_options?: CursorDevelopment.Options);
29
- /**
30
- * Check if a source connection exists for the given short_name.
31
- *
32
- * Args:
33
- * -----
34
- * db: The database session
35
- * short_name: The short name of the source to check
36
- * user: The admin user
37
- *
38
- * Returns:
39
- * --------
40
- * List[schemas.Connection]: List of source connections for the given short_name
41
- *
42
- * @param {string} shortName
43
- * @param {CursorDevelopment.RequestOptions} requestOptions - Request-specific configuration.
44
- *
45
- * @throws {@link AirweaveSDK.UnprocessableEntityError}
46
- *
47
- * @example
48
- * await client.cursorDevelopment.checkConnectionStatus("short_name")
49
- */
50
- checkConnectionStatus(shortName: string, requestOptions?: CursorDevelopment.RequestOptions): Promise<AirweaveSDK.Connection[]>;
51
29
  /**
52
30
  * Run a sync for a specific source by short_name.
53
31
  *
@@ -59,81 +59,6 @@ class CursorDevelopment {
59
59
  constructor(_options = {}) {
60
60
  this._options = _options;
61
61
  }
62
- /**
63
- * Check if a source connection exists for the given short_name.
64
- *
65
- * Args:
66
- * -----
67
- * db: The database session
68
- * short_name: The short name of the source to check
69
- * user: The admin user
70
- *
71
- * Returns:
72
- * --------
73
- * List[schemas.Connection]: List of source connections for the given short_name
74
- *
75
- * @param {string} shortName
76
- * @param {CursorDevelopment.RequestOptions} requestOptions - Request-specific configuration.
77
- *
78
- * @throws {@link AirweaveSDK.UnprocessableEntityError}
79
- *
80
- * @example
81
- * await client.cursorDevelopment.checkConnectionStatus("short_name")
82
- */
83
- checkConnectionStatus(shortName, requestOptions) {
84
- return __awaiter(this, void 0, void 0, function* () {
85
- var _a;
86
- const _response = yield core.fetcher({
87
- url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.AirweaveSDKEnvironment.Production, `cursor-dev/connections/status/${encodeURIComponent(shortName)}`),
88
- method: "GET",
89
- headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
90
- ? yield core.Supplier.get(this._options.apiKey)
91
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.0.81", "User-Agent": "@airweave/sdk/0.1.29", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
92
- contentType: "application/json",
93
- requestType: "json",
94
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
95
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
96
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
97
- });
98
- if (_response.ok) {
99
- return serializers.cursorDevelopment.checkConnectionStatus.Response.parseOrThrow(_response.body, {
100
- unrecognizedObjectKeys: "passthrough",
101
- allowUnrecognizedUnionMembers: true,
102
- allowUnrecognizedEnumValues: true,
103
- breadcrumbsPrefix: ["response"],
104
- });
105
- }
106
- if (_response.error.reason === "status-code") {
107
- switch (_response.error.statusCode) {
108
- case 422:
109
- throw new AirweaveSDK.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
110
- unrecognizedObjectKeys: "passthrough",
111
- allowUnrecognizedUnionMembers: true,
112
- allowUnrecognizedEnumValues: true,
113
- breadcrumbsPrefix: ["response"],
114
- }));
115
- default:
116
- throw new errors.AirweaveSDKError({
117
- statusCode: _response.error.statusCode,
118
- body: _response.error.body,
119
- });
120
- }
121
- }
122
- switch (_response.error.reason) {
123
- case "non-json":
124
- throw new errors.AirweaveSDKError({
125
- statusCode: _response.error.statusCode,
126
- body: _response.error.rawBody,
127
- });
128
- case "timeout":
129
- throw new errors.AirweaveSDKTimeoutError("Timeout exceeded when calling GET /cursor-dev/connections/status/{short_name}.");
130
- case "unknown":
131
- throw new errors.AirweaveSDKError({
132
- message: _response.error.errorMessage,
133
- });
134
- }
135
- });
136
- }
137
62
  /**
138
63
  * Run a sync for a specific source by short_name.
139
64
  *
@@ -168,7 +93,7 @@ class CursorDevelopment {
168
93
  method: "POST",
169
94
  headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
170
95
  ? yield core.Supplier.get(this._options.apiKey)
171
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.0.81", "User-Agent": "@airweave/sdk/0.1.29", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
96
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.0.82", "User-Agent": "@airweave/sdk/0.0.82", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
172
97
  contentType: "application/json",
173
98
  requestType: "json",
174
99
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -86,7 +86,7 @@ class Destinations {
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": "0.0.81", "User-Agent": "@airweave/sdk/0.1.29", "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": "0.0.82", "User-Agent": "@airweave/sdk/0.0.82", "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
  requestType: "json",
92
92
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -161,7 +161,7 @@ class Destinations {
161
161
  method: "GET",
162
162
  headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
163
163
  ? yield core.Supplier.get(this._options.apiKey)
164
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.0.81", "User-Agent": "@airweave/sdk/0.1.29", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
164
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.0.82", "User-Agent": "@airweave/sdk/0.0.82", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
165
165
  contentType: "application/json",
166
166
  requestType: "json",
167
167
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -88,7 +88,7 @@ class EmbeddingModels {
88
88
  method: "GET",
89
89
  headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
90
90
  ? yield core.Supplier.get(this._options.apiKey)
91
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.0.81", "User-Agent": "@airweave/sdk/0.1.29", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
91
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.0.82", "User-Agent": "@airweave/sdk/0.0.82", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
92
92
  contentType: "application/json",
93
93
  requestType: "json",
94
94
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -161,7 +161,7 @@ class EmbeddingModels {
161
161
  method: "GET",
162
162
  headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
163
163
  ? yield core.Supplier.get(this._options.apiKey)
164
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.0.81", "User-Agent": "@airweave/sdk/0.1.29", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
164
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.0.82", "User-Agent": "@airweave/sdk/0.0.82", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
165
165
  contentType: "application/json",
166
166
  requestType: "json",
167
167
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -77,7 +77,7 @@ class Entities {
77
77
  method: "GET",
78
78
  headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
79
79
  ? yield core.Supplier.get(this._options.apiKey)
80
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.0.81", "User-Agent": "@airweave/sdk/0.1.29", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
80
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.0.82", "User-Agent": "@airweave/sdk/0.0.82", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
81
81
  contentType: "application/json",
82
82
  requestType: "json",
83
83
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -148,7 +148,7 @@ class Entities {
148
148
  method: "POST",
149
149
  headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
150
150
  ? yield core.Supplier.get(this._options.apiKey)
151
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.0.81", "User-Agent": "@airweave/sdk/0.1.29", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
151
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.0.82", "User-Agent": "@airweave/sdk/0.0.82", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
152
152
  contentType: "application/json",
153
153
  requestType: "json",
154
154
  body: serializers.EntityDefinitionCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -221,7 +221,7 @@ class Entities {
221
221
  method: "PUT",
222
222
  headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
223
223
  ? yield core.Supplier.get(this._options.apiKey)
224
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.0.81", "User-Agent": "@airweave/sdk/0.1.29", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
224
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.0.82", "User-Agent": "@airweave/sdk/0.0.82", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
225
225
  contentType: "application/json",
226
226
  requestType: "json",
227
227
  body: serializers.EntityDefinitionUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -286,7 +286,7 @@ class Entities {
286
286
  method: "GET",
287
287
  headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
288
288
  ? yield core.Supplier.get(this._options.apiKey)
289
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.0.81", "User-Agent": "@airweave/sdk/0.1.29", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
289
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.0.82", "User-Agent": "@airweave/sdk/0.0.82", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
290
290
  contentType: "application/json",
291
291
  requestType: "json",
292
292
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -355,7 +355,7 @@ class Entities {
355
355
  method: "POST",
356
356
  headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
357
357
  ? yield core.Supplier.get(this._options.apiKey)
358
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.0.81", "User-Agent": "@airweave/sdk/0.1.29", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
358
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.0.82", "User-Agent": "@airweave/sdk/0.0.82", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
359
359
  contentType: "application/json",
360
360
  requestType: "json",
361
361
  body: serializers.EntityRelationCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -426,7 +426,7 @@ class Entities {
426
426
  method: "PUT",
427
427
  headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
428
428
  ? yield core.Supplier.get(this._options.apiKey)
429
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.0.81", "User-Agent": "@airweave/sdk/0.1.29", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
429
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.0.82", "User-Agent": "@airweave/sdk/0.0.82", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
430
430
  contentType: "application/json",
431
431
  requestType: "json",
432
432
  body: serializers.EntityRelationUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -500,7 +500,7 @@ class Entities {
500
500
  method: "POST",
501
501
  headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
502
502
  ? yield core.Supplier.get(this._options.apiKey)
503
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.0.81", "User-Agent": "@airweave/sdk/0.1.29", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
503
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.0.82", "User-Agent": "@airweave/sdk/0.0.82", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
504
504
  contentType: "application/json",
505
505
  requestType: "json",
506
506
  body: serializers.entities.getEntityDefinitionsByIds.Request.jsonOrThrow(request, {
@@ -573,7 +573,7 @@ class Entities {
573
573
  method: "GET",
574
574
  headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
575
575
  ? yield core.Supplier.get(this._options.apiKey)
576
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.0.81", "User-Agent": "@airweave/sdk/0.1.29", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
576
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.0.82", "User-Agent": "@airweave/sdk/0.0.82", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
577
577
  contentType: "application/json",
578
578
  queryParameters: _queryParams,
579
579
  requestType: "json",
@@ -9,13 +9,11 @@ export * as embeddingModels from "./embeddingModels";
9
9
  export * as connections from "./connections";
10
10
  export * as search from "./search";
11
11
  export * as whiteLabels from "./whiteLabels";
12
- export * as dag from "./dag";
13
12
  export * as transformers from "./transformers";
14
13
  export * as cursorDevelopment from "./cursorDevelopment";
15
14
  export * from "./connections/client/requests";
16
15
  export * from "./sync/client/requests";
17
16
  export * from "./search/client/requests";
18
17
  export * from "./whiteLabels/client/requests";
19
- export * from "./dag/client/requests";
20
18
  export * from "./entities/client/requests";
21
19
  export * from "./transformers/client/requests";
@@ -36,7 +36,7 @@ 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.cursorDevelopment = exports.transformers = exports.dag = exports.whiteLabels = exports.search = exports.connections = exports.embeddingModels = exports.destinations = exports.sources = exports.users = exports.entities = exports.sync = void 0;
39
+ exports.cursorDevelopment = 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"));
@@ -48,13 +48,11 @@ exports.embeddingModels = __importStar(require("./embeddingModels"));
48
48
  exports.connections = __importStar(require("./connections"));
49
49
  exports.search = __importStar(require("./search"));
50
50
  exports.whiteLabels = __importStar(require("./whiteLabels"));
51
- exports.dag = __importStar(require("./dag"));
52
51
  exports.transformers = __importStar(require("./transformers"));
53
52
  exports.cursorDevelopment = __importStar(require("./cursorDevelopment"));
54
53
  __exportStar(require("./connections/client/requests"), exports);
55
54
  __exportStar(require("./sync/client/requests"), exports);
56
55
  __exportStar(require("./search/client/requests"), exports);
57
56
  __exportStar(require("./whiteLabels/client/requests"), exports);
58
- __exportStar(require("./dag/client/requests"), exports);
59
57
  __exportStar(require("./entities/client/requests"), exports);
60
58
  __exportStar(require("./transformers/client/requests"), exports);
@@ -96,7 +96,7 @@ class Search {
96
96
  method: "GET",
97
97
  headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
98
98
  ? yield core.Supplier.get(this._options.apiKey)
99
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.0.81", "User-Agent": "@airweave/sdk/0.1.29", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
99
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.0.82", "User-Agent": "@airweave/sdk/0.0.82", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
100
100
  contentType: "application/json",
101
101
  queryParameters: _queryParams,
102
102
  requestType: "json",
@@ -88,7 +88,7 @@ class Sources {
88
88
  method: "GET",
89
89
  headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
90
90
  ? yield core.Supplier.get(this._options.apiKey)
91
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.0.81", "User-Agent": "@airweave/sdk/0.1.29", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
91
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.0.82", "User-Agent": "@airweave/sdk/0.0.82", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
92
92
  contentType: "application/json",
93
93
  requestType: "json",
94
94
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -161,7 +161,7 @@ class Sources {
161
161
  method: "GET",
162
162
  headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
163
163
  ? yield core.Supplier.get(this._options.apiKey)
164
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.0.81", "User-Agent": "@airweave/sdk/0.1.29", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
164
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.0.82", "User-Agent": "@airweave/sdk/0.0.82", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
165
165
  contentType: "application/json",
166
166
  requestType: "json",
167
167
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,