@airweave/sdk 0.0.81 → 0.0.83

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 (124) hide show
  1. package/Client.d.ts +0 -6
  2. package/Client.js +4 -14
  3. package/api/resources/connections/client/Client.js +12 -12
  4. package/api/resources/destinations/client/Client.js +2 -2
  5. package/api/resources/embeddingModels/client/Client.js +2 -2
  6. package/api/resources/entities/client/Client.js +8 -8
  7. package/api/resources/index.d.ts +0 -3
  8. package/api/resources/index.js +1 -4
  9. package/api/resources/search/client/Client.js +1 -1
  10. package/api/resources/sources/client/Client.js +2 -2
  11. package/api/resources/sync/client/Client.js +11 -11
  12. package/api/resources/transformers/client/Client.js +3 -3
  13. package/api/resources/users/client/Client.js +1 -1
  14. package/api/resources/whiteLabels/client/Client.js +8 -8
  15. package/api/types/SyncDagCreate.d.ts +14 -0
  16. package/{dist/api/resources/dag/client/requests → api/types}/SyncDagUpdate.d.ts +3 -7
  17. package/api/types/index.d.ts +2 -0
  18. package/api/types/index.js +2 -0
  19. package/dist/Client.d.ts +0 -6
  20. package/dist/Client.js +4 -14
  21. package/dist/api/resources/connections/client/Client.js +12 -12
  22. package/dist/api/resources/destinations/client/Client.js +2 -2
  23. package/dist/api/resources/embeddingModels/client/Client.js +2 -2
  24. package/dist/api/resources/entities/client/Client.js +8 -8
  25. package/dist/api/resources/index.d.ts +0 -3
  26. package/dist/api/resources/index.js +1 -4
  27. package/dist/api/resources/search/client/Client.js +1 -1
  28. package/dist/api/resources/sources/client/Client.js +2 -2
  29. package/dist/api/resources/sync/client/Client.js +11 -11
  30. package/dist/api/resources/transformers/client/Client.js +3 -3
  31. package/dist/api/resources/users/client/Client.js +1 -1
  32. package/dist/api/resources/whiteLabels/client/Client.js +8 -8
  33. package/dist/api/types/SyncDagCreate.d.ts +14 -0
  34. package/{api/resources/dag/client/requests → dist/api/types}/SyncDagUpdate.d.ts +3 -7
  35. package/dist/api/types/index.d.ts +2 -0
  36. package/dist/api/types/index.js +2 -0
  37. package/dist/serialization/resources/index.d.ts +0 -3
  38. package/dist/serialization/resources/index.js +1 -4
  39. package/dist/serialization/types/SyncDagCreate.d.ts +18 -0
  40. package/dist/serialization/{resources/dag/client/requests → types}/SyncDagCreate.js +4 -4
  41. package/dist/serialization/types/SyncDagUpdate.d.ts +18 -0
  42. package/{serialization/resources/dag/client/requests → dist/serialization/types}/SyncDagUpdate.js +4 -4
  43. package/dist/serialization/types/index.d.ts +2 -0
  44. package/dist/serialization/types/index.js +2 -0
  45. package/dist/version.d.ts +1 -1
  46. package/dist/version.js +1 -1
  47. package/package.json +1 -1
  48. package/reference.md +0 -443
  49. package/serialization/resources/index.d.ts +0 -3
  50. package/serialization/resources/index.js +1 -4
  51. package/serialization/types/SyncDagCreate.d.ts +18 -0
  52. package/serialization/{resources/dag/client/requests → types}/SyncDagCreate.js +4 -4
  53. package/serialization/types/SyncDagUpdate.d.ts +18 -0
  54. package/{dist/serialization/resources/dag/client/requests → serialization/types}/SyncDagUpdate.js +4 -4
  55. package/serialization/types/index.d.ts +2 -0
  56. package/serialization/types/index.js +2 -0
  57. package/version.d.ts +1 -1
  58. package/version.js +1 -1
  59. package/api/resources/cursorDevelopment/client/Client.d.ts +0 -78
  60. package/api/resources/cursorDevelopment/client/Client.js +0 -218
  61. package/api/resources/cursorDevelopment/client/index.d.ts +0 -1
  62. package/api/resources/cursorDevelopment/client/index.js +0 -2
  63. package/api/resources/cursorDevelopment/index.d.ts +0 -1
  64. package/api/resources/cursorDevelopment/index.js +0 -17
  65. package/api/resources/dag/client/Client.d.ts +0 -95
  66. package/api/resources/dag/client/Client.js +0 -347
  67. package/api/resources/dag/client/index.d.ts +0 -1
  68. package/api/resources/dag/client/index.js +0 -17
  69. package/api/resources/dag/client/requests/InitializeDagDagInitGetRequest.d.ts +0 -12
  70. package/api/resources/dag/client/requests/InitializeDagDagInitGetRequest.js +0 -5
  71. package/api/resources/dag/client/requests/SyncDagCreate.d.ts +0 -26
  72. package/api/resources/dag/client/requests/index.d.ts +0 -3
  73. package/api/resources/dag/client/requests/index.js +0 -2
  74. package/api/resources/dag/index.d.ts +0 -1
  75. package/api/resources/dag/index.js +0 -17
  76. package/dist/api/resources/cursorDevelopment/client/Client.d.ts +0 -78
  77. package/dist/api/resources/cursorDevelopment/client/Client.js +0 -218
  78. package/dist/api/resources/cursorDevelopment/client/index.d.ts +0 -1
  79. package/dist/api/resources/cursorDevelopment/client/index.js +0 -2
  80. package/dist/api/resources/cursorDevelopment/index.d.ts +0 -1
  81. package/dist/api/resources/cursorDevelopment/index.js +0 -17
  82. package/dist/api/resources/dag/client/Client.d.ts +0 -95
  83. package/dist/api/resources/dag/client/Client.js +0 -347
  84. package/dist/api/resources/dag/client/index.d.ts +0 -1
  85. package/dist/api/resources/dag/client/index.js +0 -17
  86. package/dist/api/resources/dag/client/requests/InitializeDagDagInitGetRequest.d.ts +0 -12
  87. package/dist/api/resources/dag/client/requests/InitializeDagDagInitGetRequest.js +0 -5
  88. package/dist/api/resources/dag/client/requests/SyncDagCreate.d.ts +0 -26
  89. package/dist/api/resources/dag/client/requests/index.d.ts +0 -3
  90. package/dist/api/resources/dag/client/requests/index.js +0 -2
  91. package/dist/api/resources/dag/index.d.ts +0 -1
  92. package/dist/api/resources/dag/index.js +0 -17
  93. package/dist/serialization/resources/cursorDevelopment/client/checkConnectionStatus.d.ts +0 -11
  94. package/dist/serialization/resources/cursorDevelopment/client/checkConnectionStatus.js +0 -42
  95. package/dist/serialization/resources/cursorDevelopment/client/index.d.ts +0 -1
  96. package/dist/serialization/resources/cursorDevelopment/client/index.js +0 -37
  97. package/dist/serialization/resources/cursorDevelopment/index.d.ts +0 -1
  98. package/dist/serialization/resources/cursorDevelopment/index.js +0 -17
  99. package/dist/serialization/resources/dag/client/index.d.ts +0 -1
  100. package/dist/serialization/resources/dag/client/index.js +0 -17
  101. package/dist/serialization/resources/dag/client/requests/SyncDagCreate.d.ts +0 -18
  102. package/dist/serialization/resources/dag/client/requests/SyncDagUpdate.d.ts +0 -18
  103. package/dist/serialization/resources/dag/client/requests/index.d.ts +0 -2
  104. package/dist/serialization/resources/dag/client/requests/index.js +0 -7
  105. package/dist/serialization/resources/dag/index.d.ts +0 -1
  106. package/dist/serialization/resources/dag/index.js +0 -17
  107. package/serialization/resources/cursorDevelopment/client/checkConnectionStatus.d.ts +0 -11
  108. package/serialization/resources/cursorDevelopment/client/checkConnectionStatus.js +0 -42
  109. package/serialization/resources/cursorDevelopment/client/index.d.ts +0 -1
  110. package/serialization/resources/cursorDevelopment/client/index.js +0 -37
  111. package/serialization/resources/cursorDevelopment/index.d.ts +0 -1
  112. package/serialization/resources/cursorDevelopment/index.js +0 -17
  113. package/serialization/resources/dag/client/index.d.ts +0 -1
  114. package/serialization/resources/dag/client/index.js +0 -17
  115. package/serialization/resources/dag/client/requests/SyncDagCreate.d.ts +0 -18
  116. package/serialization/resources/dag/client/requests/SyncDagUpdate.d.ts +0 -18
  117. package/serialization/resources/dag/client/requests/index.d.ts +0 -2
  118. package/serialization/resources/dag/client/requests/index.js +0 -7
  119. package/serialization/resources/dag/index.d.ts +0 -1
  120. package/serialization/resources/dag/index.js +0 -17
  121. /package/api/{resources/dag/client/requests → types}/SyncDagCreate.js +0 -0
  122. /package/api/{resources/dag/client/requests → types}/SyncDagUpdate.js +0 -0
  123. /package/dist/api/{resources/dag/client/requests → types}/SyncDagCreate.js +0 -0
  124. /package/dist/api/{resources/dag/client/requests → types}/SyncDagUpdate.js +0 -0
@@ -1,218 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
- desc = { enumerable: true, get: function() { return m[k]; } };
10
- }
11
- Object.defineProperty(o, k2, desc);
12
- }) : (function(o, m, k, k2) {
13
- if (k2 === undefined) k2 = k;
14
- o[k2] = m[k];
15
- }));
16
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
- Object.defineProperty(o, "default", { enumerable: true, value: v });
18
- }) : function(o, v) {
19
- o["default"] = v;
20
- });
21
- var __importStar = (this && this.__importStar) || (function () {
22
- var ownKeys = function(o) {
23
- ownKeys = Object.getOwnPropertyNames || function (o) {
24
- var ar = [];
25
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
- return ar;
27
- };
28
- return ownKeys(o);
29
- };
30
- return function (mod) {
31
- if (mod && mod.__esModule) return mod;
32
- var result = {};
33
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
- __setModuleDefault(result, mod);
35
- return result;
36
- };
37
- })();
38
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
39
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
40
- return new (P || (P = Promise))(function (resolve, reject) {
41
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
42
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
43
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
44
- step((generator = generator.apply(thisArg, _arguments || [])).next());
45
- });
46
- };
47
- var __importDefault = (this && this.__importDefault) || function (mod) {
48
- return (mod && mod.__esModule) ? mod : { "default": mod };
49
- };
50
- Object.defineProperty(exports, "__esModule", { value: true });
51
- exports.CursorDevelopment = void 0;
52
- const environments = __importStar(require("../../../../environments"));
53
- const core = __importStar(require("../../../../core"));
54
- const AirweaveSDK = __importStar(require("../../../index"));
55
- const url_join_1 = __importDefault(require("url-join"));
56
- const serializers = __importStar(require("../../../../serialization/index"));
57
- const errors = __importStar(require("../../../../errors/index"));
58
- class CursorDevelopment {
59
- constructor(_options = {}) {
60
- this._options = _options;
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
- /**
138
- * Run a sync for a specific source by short_name.
139
- *
140
- * This endpoint is used for testing source integrations during development.
141
- * It finds the first available source connection for the given short_name and
142
- * runs a sync on it.
143
- *
144
- * Args:
145
- * -----
146
- * db: The database session
147
- * short_name: The short name of the source to sync
148
- * background_tasks: The background tasks
149
- * user: The admin user
150
- *
151
- * Returns:
152
- * --------
153
- * schemas.SyncJob: The created sync job
154
- *
155
- * @param {string} shortName
156
- * @param {CursorDevelopment.RequestOptions} requestOptions - Request-specific configuration.
157
- *
158
- * @throws {@link AirweaveSDK.UnprocessableEntityError}
159
- *
160
- * @example
161
- * await client.cursorDevelopment.testSync("short_name")
162
- */
163
- testSync(shortName, requestOptions) {
164
- return __awaiter(this, void 0, void 0, function* () {
165
- var _a;
166
- const _response = yield core.fetcher({
167
- url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.AirweaveSDKEnvironment.Production, `cursor-dev/test-sync/${encodeURIComponent(shortName)}`),
168
- method: "POST",
169
- headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
170
- ? 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),
172
- contentType: "application/json",
173
- requestType: "json",
174
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
175
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
176
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
177
- });
178
- if (_response.ok) {
179
- return serializers.SyncJob.parseOrThrow(_response.body, {
180
- unrecognizedObjectKeys: "passthrough",
181
- allowUnrecognizedUnionMembers: true,
182
- allowUnrecognizedEnumValues: true,
183
- breadcrumbsPrefix: ["response"],
184
- });
185
- }
186
- if (_response.error.reason === "status-code") {
187
- switch (_response.error.statusCode) {
188
- case 422:
189
- throw new AirweaveSDK.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
190
- unrecognizedObjectKeys: "passthrough",
191
- allowUnrecognizedUnionMembers: true,
192
- allowUnrecognizedEnumValues: true,
193
- breadcrumbsPrefix: ["response"],
194
- }));
195
- default:
196
- throw new errors.AirweaveSDKError({
197
- statusCode: _response.error.statusCode,
198
- body: _response.error.body,
199
- });
200
- }
201
- }
202
- switch (_response.error.reason) {
203
- case "non-json":
204
- throw new errors.AirweaveSDKError({
205
- statusCode: _response.error.statusCode,
206
- body: _response.error.rawBody,
207
- });
208
- case "timeout":
209
- throw new errors.AirweaveSDKTimeoutError("Timeout exceeded when calling POST /cursor-dev/test-sync/{short_name}.");
210
- case "unknown":
211
- throw new errors.AirweaveSDKError({
212
- message: _response.error.errorMessage,
213
- });
214
- }
215
- });
216
- }
217
- }
218
- exports.CursorDevelopment = CursorDevelopment;
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1 +0,0 @@
1
- export * from "./client";
@@ -1,17 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./client"), exports);
@@ -1,95 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as environments from "../../../../environments";
5
- import * as core from "../../../../core";
6
- import * as AirweaveSDK from "../../../index";
7
- export declare namespace Dag {
8
- interface Options {
9
- environment?: core.Supplier<environments.AirweaveSDKEnvironment | string>;
10
- /** Override the x-api-key header */
11
- apiKey?: core.Supplier<string | undefined>;
12
- }
13
- interface RequestOptions {
14
- /** The maximum time to wait for a response in seconds. */
15
- timeoutInSeconds?: number;
16
- /** The number of times to retry the request. Defaults to 2. */
17
- maxRetries?: number;
18
- /** A hook to abort the request. */
19
- abortSignal?: AbortSignal;
20
- /** Override the x-api-key header */
21
- apiKey?: string | undefined;
22
- /** Additional headers to include in the request. */
23
- headers?: Record<string, string>;
24
- }
25
- }
26
- export declare class Dag {
27
- protected readonly _options: Dag.Options;
28
- constructor(_options?: Dag.Options);
29
- /**
30
- * Get the DAG definition for a sync.
31
- *
32
- * @param {string} syncId
33
- * @param {Dag.RequestOptions} requestOptions - Request-specific configuration.
34
- *
35
- * @throws {@link AirweaveSDK.UnprocessableEntityError}
36
- *
37
- * @example
38
- * await client.dag.getSyncDag("sync_id")
39
- */
40
- getSyncDag(syncId: string, requestOptions?: Dag.RequestOptions): Promise<AirweaveSDK.SyncDag>;
41
- /**
42
- * Create a new DAG definition for a sync.
43
- *
44
- * @param {string} syncId
45
- * @param {AirweaveSDK.SyncDagCreate} request
46
- * @param {Dag.RequestOptions} requestOptions - Request-specific configuration.
47
- *
48
- * @throws {@link AirweaveSDK.UnprocessableEntityError}
49
- *
50
- * @example
51
- * await client.dag.createSyncDag("sync_id", {
52
- * name: "name",
53
- * syncDagCreateSyncId: "sync_id",
54
- * nodes: [{
55
- * type: "source",
56
- * name: "name"
57
- * }],
58
- * edges: [{
59
- * fromNodeId: "from_node_id",
60
- * toNodeId: "to_node_id"
61
- * }]
62
- * })
63
- */
64
- createSyncDag(syncId: string, request: AirweaveSDK.SyncDagCreate, requestOptions?: Dag.RequestOptions): Promise<AirweaveSDK.SyncDag>;
65
- /**
66
- * Update a DAG definition for a sync.
67
- *
68
- * @param {string} syncId
69
- * @param {AirweaveSDK.SyncDagUpdate} request
70
- * @param {Dag.RequestOptions} requestOptions - Request-specific configuration.
71
- *
72
- * @throws {@link AirweaveSDK.UnprocessableEntityError}
73
- *
74
- * @example
75
- * await client.dag.updateSyncDag("sync_id", {
76
- * name: "name",
77
- * syncDagUpdateSyncId: "sync_id"
78
- * })
79
- */
80
- updateSyncDag(syncId: string, request: AirweaveSDK.SyncDagUpdate, requestOptions?: Dag.RequestOptions): Promise<AirweaveSDK.SyncDag>;
81
- /**
82
- * Initialize a new DAG with source, entities, and destination.
83
- *
84
- * @param {AirweaveSDK.InitializeDagDagInitGetRequest} request
85
- * @param {Dag.RequestOptions} requestOptions - Request-specific configuration.
86
- *
87
- * @throws {@link AirweaveSDK.UnprocessableEntityError}
88
- *
89
- * @example
90
- * await client.dag.initializeDag({
91
- * syncId: "sync_id"
92
- * })
93
- */
94
- initializeDag(request: AirweaveSDK.InitializeDagDagInitGetRequest, requestOptions?: Dag.RequestOptions): Promise<AirweaveSDK.SyncDag>;
95
- }