@relevanceai/sdk 2.0.1 → 3.0.0-alpha.0

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 (60) hide show
  1. package/esm/agent-task.d.ts +61 -0
  2. package/esm/agent-task.js +112 -0
  3. package/esm/agent.d.ts +17 -0
  4. package/esm/agent.js +52 -0
  5. package/esm/client.d.ts +36 -0
  6. package/esm/client.js +69 -0
  7. package/esm/events.d.ts +40 -0
  8. package/esm/events.js +39 -0
  9. package/esm/key.d.ts +86 -0
  10. package/esm/key.js +121 -0
  11. package/esm/message.d.ts +18 -0
  12. package/esm/message.js +18 -0
  13. package/esm/mod.d.ts +7 -0
  14. package/esm/mod.js +4 -0
  15. package/esm/package.json +3 -0
  16. package/esm/region.d.ts +5 -0
  17. package/esm/region.js +6 -0
  18. package/esm/task.d.ts +25 -0
  19. package/esm/task.js +96 -0
  20. package/esm/utils.d.ts +8 -0
  21. package/esm/utils.js +29 -0
  22. package/package.json +11 -36
  23. package/LICENSE +0 -21
  24. package/README.md +0 -121
  25. package/dist-cjs/generated/VecDBApi.js +0 -1682
  26. package/dist-cjs/generated/_VecDBApiSchemaTypes.js +0 -3
  27. package/dist-cjs/generated/index.js +0 -17
  28. package/dist-cjs/index.js +0 -18
  29. package/dist-cjs/services/discovery/Dataset.js +0 -126
  30. package/dist-cjs/services/discovery/index.js +0 -159
  31. package/dist-cjs/services/index.js +0 -18
  32. package/dist-cjs/services/vecdb/Dataset.js +0 -137
  33. package/dist-cjs/services/vecdb/index.js +0 -137
  34. package/dist-cjs/shared/BaseClient.js +0 -35
  35. package/dist-cjs/shared/generate.js +0 -90
  36. package/dist-cjs/shared/serviceConfigs.js +0 -10
  37. package/dist-es/generated/VecDBApi.js +0 -2579
  38. package/dist-es/generated/_VecDBApiSchemaTypes.js +0 -2
  39. package/dist-es/generated/index.js +0 -1
  40. package/dist-es/index.js +0 -2
  41. package/dist-es/services/discovery/Dataset.js +0 -126
  42. package/dist-es/services/discovery/index.js +0 -159
  43. package/dist-es/services/index.js +0 -2
  44. package/dist-es/services/vecdb/Dataset.js +0 -356
  45. package/dist-es/services/vecdb/index.js +0 -184
  46. package/dist-es/shared/BaseClient.js +0 -82
  47. package/dist-es/shared/generate.js +0 -224
  48. package/dist-es/shared/serviceConfigs.js +0 -7
  49. package/dist-types/generated/VecDBApi.d.ts +0 -632
  50. package/dist-types/generated/_VecDBApiSchemaTypes.d.ts +0 -22299
  51. package/dist-types/generated/index.d.ts +0 -1
  52. package/dist-types/index.d.ts +0 -2
  53. package/dist-types/services/discovery/Dataset.d.ts +0 -0
  54. package/dist-types/services/discovery/index.d.ts +0 -0
  55. package/dist-types/services/index.d.ts +0 -1
  56. package/dist-types/services/vecdb/Dataset.d.ts +0 -52
  57. package/dist-types/services/vecdb/index.d.ts +0 -44
  58. package/dist-types/shared/BaseClient.d.ts +0 -28
  59. package/dist-types/shared/generate.d.ts +0 -1
  60. package/dist-types/shared/serviceConfigs.d.ts +0 -8
@@ -1,2579 +0,0 @@
1
- var __extends = (this && this.__extends) || (function () {
2
- var extendStatics = function (d, b) {
3
- extendStatics = Object.setPrototypeOf ||
4
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
6
- return extendStatics(d, b);
7
- };
8
- return function (d, b) {
9
- if (typeof b !== "function" && b !== null)
10
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
11
- extendStatics(d, b);
12
- function __() { this.constructor = d; }
13
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
14
- };
15
- })();
16
- var __assign = (this && this.__assign) || function () {
17
- __assign = Object.assign || function(t) {
18
- for (var s, i = 1, n = arguments.length; i < n; i++) {
19
- s = arguments[i];
20
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
21
- t[p] = s[p];
22
- }
23
- return t;
24
- };
25
- return __assign.apply(this, arguments);
26
- };
27
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
28
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
29
- return new (P || (P = Promise))(function (resolve, reject) {
30
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
31
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
32
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
33
- step((generator = generator.apply(thisArg, _arguments || [])).next());
34
- });
35
- };
36
- var __generator = (this && this.__generator) || function (thisArg, body) {
37
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
38
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
39
- function verb(n) { return function (v) { return step([n, v]); }; }
40
- function step(op) {
41
- if (f) throw new TypeError("Generator is already executing.");
42
- while (_) try {
43
- if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
44
- if (y = 0, t) op = [op[0] & 2, t.value];
45
- switch (op[0]) {
46
- case 0: case 1: t = op; break;
47
- case 4: _.label++; return { value: op[1], done: false };
48
- case 5: _.label++; y = op[1]; op = [0]; continue;
49
- case 7: op = _.ops.pop(); _.trys.pop(); continue;
50
- default:
51
- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
52
- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
53
- if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
54
- if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
55
- if (t[2]) _.ops.pop();
56
- _.trys.pop(); continue;
57
- }
58
- op = body.call(thisArg, _);
59
- } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
60
- if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
61
- }
62
- };
63
- import { _GenericClient } from '../shared/BaseClient';
64
- var VecDBApiClient = /** @class */ (function (_super) {
65
- __extends(VecDBApiClient, _super);
66
- function VecDBApiClient(config) {
67
- return _super.call(this, __assign(__assign({}, config), { service_name: 'VecDBApi' })) || this;
68
- }
69
- VecDBApiClient.prototype.CreateDeployable = function (input, options) {
70
- return __awaiter(this, void 0, void 0, function () {
71
- return __generator(this, function (_a) {
72
- return [2 /*return*/, this.SendRequest({
73
- input: input,
74
- method: 'post',
75
- path: '/deployables/create',
76
- options: options
77
- })];
78
- });
79
- });
80
- };
81
- VecDBApiClient.prototype.GetDeployable = function (input, options) {
82
- return __awaiter(this, void 0, void 0, function () {
83
- return __generator(this, function (_a) {
84
- return [2 /*return*/, this.SendRequest({
85
- input: input,
86
- method: 'get',
87
- path: '/deployables/{deployable_id}/get',
88
- options: options
89
- })];
90
- });
91
- });
92
- };
93
- VecDBApiClient.prototype.UpdateDeployable = function (input, options) {
94
- return __awaiter(this, void 0, void 0, function () {
95
- return __generator(this, function (_a) {
96
- return [2 /*return*/, this.SendRequest({
97
- input: input,
98
- method: 'post',
99
- path: '/deployables/{deployable_id}/update',
100
- options: options
101
- })];
102
- });
103
- });
104
- };
105
- VecDBApiClient.prototype.DeleteDeployable = function (input, options) {
106
- return __awaiter(this, void 0, void 0, function () {
107
- return __generator(this, function (_a) {
108
- return [2 /*return*/, this.SendRequest({
109
- input: input,
110
- method: 'post',
111
- path: '/deployables/delete',
112
- options: options
113
- })];
114
- });
115
- });
116
- };
117
- VecDBApiClient.prototype.CreateDeployableKey = function (input, options) {
118
- return __awaiter(this, void 0, void 0, function () {
119
- return __generator(this, function (_a) {
120
- return [2 /*return*/, this.SendRequest({
121
- input: input,
122
- method: 'post',
123
- path: '/deployables/{deployable_id}/share',
124
- options: options
125
- })];
126
- });
127
- });
128
- };
129
- VecDBApiClient.prototype.CreateDeployableInvite = function (input, options) {
130
- return __awaiter(this, void 0, void 0, function () {
131
- return __generator(this, function (_a) {
132
- return [2 /*return*/, this.SendRequest({
133
- input: input,
134
- method: 'post',
135
- path: '/deployables/{deployable_id}/invite',
136
- options: options
137
- })];
138
- });
139
- });
140
- };
141
- VecDBApiClient.prototype.UpdateUsersDeployablePermissions = function (input, options) {
142
- return __awaiter(this, void 0, void 0, function () {
143
- return __generator(this, function (_a) {
144
- return [2 /*return*/, this.SendRequest({
145
- input: input,
146
- method: 'post',
147
- path: '/deployables/{deployable_id}/users/{user_id}/update',
148
- options: options
149
- })];
150
- });
151
- });
152
- };
153
- VecDBApiClient.prototype.DeleteDeployableKey = function (input, options) {
154
- return __awaiter(this, void 0, void 0, function () {
155
- return __generator(this, function (_a) {
156
- return [2 /*return*/, this.SendRequest({
157
- input: input,
158
- method: 'post',
159
- path: '/deployables/{deployable_id}/private',
160
- options: options
161
- })];
162
- });
163
- });
164
- };
165
- VecDBApiClient.prototype.ListDeployables = function (input, options) {
166
- return __awaiter(this, void 0, void 0, function () {
167
- return __generator(this, function (_a) {
168
- return [2 /*return*/, this.SendRequest({
169
- input: input,
170
- method: 'get',
171
- path: '/deployables/list',
172
- options: options
173
- })];
174
- });
175
- });
176
- };
177
- VecDBApiClient.prototype.DeleteDeployableGroup = function (input, options) {
178
- return __awaiter(this, void 0, void 0, function () {
179
- return __generator(this, function (_a) {
180
- return [2 /*return*/, this.SendRequest({
181
- input: input,
182
- method: 'post',
183
- path: '/deployablegroups/{deployablegroup_id}/delete',
184
- options: options
185
- })];
186
- });
187
- });
188
- };
189
- VecDBApiClient.prototype.ListDeployableGroups = function (input, options) {
190
- return __awaiter(this, void 0, void 0, function () {
191
- return __generator(this, function (_a) {
192
- return [2 /*return*/, this.SendRequest({
193
- input: input,
194
- method: 'post',
195
- path: '/deployablegroups/list',
196
- options: options
197
- })];
198
- });
199
- });
200
- };
201
- VecDBApiClient.prototype.CreateDeployableGroup = function (input, options) {
202
- return __awaiter(this, void 0, void 0, function () {
203
- return __generator(this, function (_a) {
204
- return [2 /*return*/, this.SendRequest({
205
- input: input,
206
- method: 'post',
207
- path: '/deployablegroups/create',
208
- options: options
209
- })];
210
- });
211
- });
212
- };
213
- VecDBApiClient.prototype.GetDeployableGroup = function (input, options) {
214
- return __awaiter(this, void 0, void 0, function () {
215
- return __generator(this, function (_a) {
216
- return [2 /*return*/, this.SendRequest({
217
- input: input,
218
- method: 'get',
219
- path: '/deployablegroups/{deployablegroup_id}/get',
220
- options: options
221
- })];
222
- });
223
- });
224
- };
225
- VecDBApiClient.prototype.UpdateDeployableGroup = function (input, options) {
226
- return __awaiter(this, void 0, void 0, function () {
227
- return __generator(this, function (_a) {
228
- return [2 /*return*/, this.SendRequest({
229
- input: input,
230
- method: 'post',
231
- path: '/deployablegroups/{deployablegroup_id}/update',
232
- options: options
233
- })];
234
- });
235
- });
236
- };
237
- VecDBApiClient.prototype.CreateDeployableGroupKey = function (input, options) {
238
- return __awaiter(this, void 0, void 0, function () {
239
- return __generator(this, function (_a) {
240
- return [2 /*return*/, this.SendRequest({
241
- input: input,
242
- method: 'post',
243
- path: '/deployablegroups/{deployablegroup_id}/share',
244
- options: options
245
- })];
246
- });
247
- });
248
- };
249
- VecDBApiClient.prototype.DeleteDeployableGroupKey = function (input, options) {
250
- return __awaiter(this, void 0, void 0, function () {
251
- return __generator(this, function (_a) {
252
- return [2 /*return*/, this.SendRequest({
253
- input: input,
254
- method: 'post',
255
- path: '/deployablegroups/{deployablegroup_id}/private',
256
- options: options
257
- })];
258
- });
259
- });
260
- };
261
- VecDBApiClient.prototype.CreateProject = function (input, options) {
262
- return __awaiter(this, void 0, void 0, function () {
263
- return __generator(this, function (_a) {
264
- return [2 /*return*/, this.SendRequest({
265
- input: input,
266
- method: 'post',
267
- path: '/projects/create',
268
- options: options
269
- })];
270
- });
271
- });
272
- };
273
- VecDBApiClient.prototype.UpdateProject = function (input, options) {
274
- return __awaiter(this, void 0, void 0, function () {
275
- return __generator(this, function (_a) {
276
- return [2 /*return*/, this.SendRequest({
277
- input: input,
278
- method: 'post',
279
- path: '/projects/update',
280
- options: options
281
- })];
282
- });
283
- });
284
- };
285
- VecDBApiClient.prototype.TransferProjectToOrganization = function (input, options) {
286
- return __awaiter(this, void 0, void 0, function () {
287
- return __generator(this, function (_a) {
288
- return [2 /*return*/, this.SendRequest({
289
- input: input,
290
- method: 'post',
291
- path: '/projects/transfer_to_organization',
292
- options: options
293
- })];
294
- });
295
- });
296
- };
297
- VecDBApiClient.prototype.ListProjects = function (input, options) {
298
- return __awaiter(this, void 0, void 0, function () {
299
- return __generator(this, function (_a) {
300
- return [2 /*return*/, this.SendRequest({
301
- input: input,
302
- method: 'get',
303
- path: '/projects/list',
304
- options: options
305
- })];
306
- });
307
- });
308
- };
309
- VecDBApiClient.prototype.GetProjectsOrgInfo = function (input, options) {
310
- return __awaiter(this, void 0, void 0, function () {
311
- return __generator(this, function (_a) {
312
- return [2 /*return*/, this.SendRequest({
313
- input: input,
314
- method: 'get',
315
- path: '/projects/organization_info',
316
- options: options
317
- })];
318
- });
319
- });
320
- };
321
- VecDBApiClient.prototype.ListProjectKeys = function (input, options) {
322
- return __awaiter(this, void 0, void 0, function () {
323
- return __generator(this, function (_a) {
324
- return [2 /*return*/, this.SendRequest({
325
- input: input,
326
- method: 'get',
327
- path: '/projects/keys/list',
328
- options: options
329
- })];
330
- });
331
- });
332
- };
333
- VecDBApiClient.prototype.GetProjectKey = function (input, options) {
334
- return __awaiter(this, void 0, void 0, function () {
335
- return __generator(this, function (_a) {
336
- return [2 /*return*/, this.SendRequest({
337
- input: input,
338
- method: 'post',
339
- path: '/projects/keys/get',
340
- options: options
341
- })];
342
- });
343
- });
344
- };
345
- VecDBApiClient.prototype.SetProjectKey = function (input, options) {
346
- return __awaiter(this, void 0, void 0, function () {
347
- return __generator(this, function (_a) {
348
- return [2 /*return*/, this.SendRequest({
349
- input: input,
350
- method: 'post',
351
- path: '/projects/keys/set',
352
- options: options
353
- })];
354
- });
355
- });
356
- };
357
- VecDBApiClient.prototype.DeleteProjectKey = function (input, options) {
358
- return __awaiter(this, void 0, void 0, function () {
359
- return __generator(this, function (_a) {
360
- return [2 /*return*/, this.SendRequest({
361
- input: input,
362
- method: 'post',
363
- path: '/projects/keys/delete',
364
- options: options
365
- })];
366
- });
367
- });
368
- };
369
- VecDBApiClient.prototype.CreateUser = function (input, options) {
370
- return __awaiter(this, void 0, void 0, function () {
371
- return __generator(this, function (_a) {
372
- return [2 /*return*/, this.SendRequest({
373
- input: input,
374
- method: 'post',
375
- path: '/auth/users/create',
376
- options: options
377
- })];
378
- });
379
- });
380
- };
381
- VecDBApiClient.prototype.ListUsers = function (input, options) {
382
- return __awaiter(this, void 0, void 0, function () {
383
- return __generator(this, function (_a) {
384
- return [2 /*return*/, this.SendRequest({
385
- input: input,
386
- method: 'post',
387
- path: '/auth/users/list',
388
- options: options
389
- })];
390
- });
391
- });
392
- };
393
- VecDBApiClient.prototype.IsUserAuthorized = function (input, options) {
394
- return __awaiter(this, void 0, void 0, function () {
395
- return __generator(this, function (_a) {
396
- return [2 /*return*/, this.SendRequest({
397
- input: input,
398
- method: 'post',
399
- path: '/auth/is_authorized',
400
- options: options
401
- })];
402
- });
403
- });
404
- };
405
- VecDBApiClient.prototype.GetAuthHeaderInfo = function (input, options) {
406
- return __awaiter(this, void 0, void 0, function () {
407
- return __generator(this, function (_a) {
408
- return [2 /*return*/, this.SendRequest({
409
- input: input,
410
- method: 'get',
411
- path: '/auth/info',
412
- options: options
413
- })];
414
- });
415
- });
416
- };
417
- VecDBApiClient.prototype.CreateProjectInvite = function (input, options) {
418
- return __awaiter(this, void 0, void 0, function () {
419
- return __generator(this, function (_a) {
420
- return [2 /*return*/, this.SendRequest({
421
- input: input,
422
- method: 'post',
423
- path: '/auth/invite/create',
424
- options: options
425
- })];
426
- });
427
- });
428
- };
429
- VecDBApiClient.prototype.ListProjectInvites = function (input, options) {
430
- return __awaiter(this, void 0, void 0, function () {
431
- return __generator(this, function (_a) {
432
- return [2 /*return*/, this.SendRequest({
433
- input: input,
434
- method: 'post',
435
- path: '/auth/invite/list',
436
- options: options
437
- })];
438
- });
439
- });
440
- };
441
- VecDBApiClient.prototype.AcceptProjectInvite = function (input, options) {
442
- return __awaiter(this, void 0, void 0, function () {
443
- return __generator(this, function (_a) {
444
- return [2 /*return*/, this.SendRequest({
445
- input: input,
446
- method: 'post',
447
- path: '/auth/invite/accept',
448
- options: options
449
- })];
450
- });
451
- });
452
- };
453
- VecDBApiClient.prototype.DeleteProjectInvite = function (input, options) {
454
- return __awaiter(this, void 0, void 0, function () {
455
- return __generator(this, function (_a) {
456
- return [2 /*return*/, this.SendRequest({
457
- input: input,
458
- method: 'post',
459
- path: '/auth/invite/delete',
460
- options: options
461
- })];
462
- });
463
- });
464
- };
465
- VecDBApiClient.prototype.ResendProjectInvite = function (input, options) {
466
- return __awaiter(this, void 0, void 0, function () {
467
- return __generator(this, function (_a) {
468
- return [2 /*return*/, this.SendRequest({
469
- input: input,
470
- method: 'post',
471
- path: '/auth/invite/resend',
472
- options: options
473
- })];
474
- });
475
- });
476
- };
477
- VecDBApiClient.prototype.GetUser = function (input, options) {
478
- return __awaiter(this, void 0, void 0, function () {
479
- return __generator(this, function (_a) {
480
- return [2 /*return*/, this.SendRequest({
481
- input: input,
482
- method: 'get',
483
- path: '/auth/users/{user_id}',
484
- options: options
485
- })];
486
- });
487
- });
488
- };
489
- VecDBApiClient.prototype.UpdateUser = function (input, options) {
490
- return __awaiter(this, void 0, void 0, function () {
491
- return __generator(this, function (_a) {
492
- return [2 /*return*/, this.SendRequest({
493
- input: input,
494
- method: 'post',
495
- path: '/auth/users/{user_id}/update',
496
- options: options
497
- })];
498
- });
499
- });
500
- };
501
- VecDBApiClient.prototype.DeleteUser = function (input, options) {
502
- return __awaiter(this, void 0, void 0, function () {
503
- return __generator(this, function (_a) {
504
- return [2 /*return*/, this.SendRequest({
505
- input: input,
506
- method: 'post',
507
- path: '/auth/users/{user_id}/delete',
508
- options: options
509
- })];
510
- });
511
- });
512
- };
513
- VecDBApiClient.prototype.CreateUserKey = function (input, options) {
514
- return __awaiter(this, void 0, void 0, function () {
515
- return __generator(this, function (_a) {
516
- return [2 /*return*/, this.SendRequest({
517
- input: input,
518
- method: 'post',
519
- path: '/auth/users/{user_id}/keys/create',
520
- options: options
521
- })];
522
- });
523
- });
524
- };
525
- VecDBApiClient.prototype.ListUserKeys = function (input, options) {
526
- return __awaiter(this, void 0, void 0, function () {
527
- return __generator(this, function (_a) {
528
- return [2 /*return*/, this.SendRequest({
529
- input: input,
530
- method: 'post',
531
- path: '/auth/users/{user_id}/keys/list',
532
- options: options
533
- })];
534
- });
535
- });
536
- };
537
- VecDBApiClient.prototype.DeleteUserKey = function (input, options) {
538
- return __awaiter(this, void 0, void 0, function () {
539
- return __generator(this, function (_a) {
540
- return [2 /*return*/, this.SendRequest({
541
- input: input,
542
- method: 'post',
543
- path: '/auth/users/{user_id}/keys/delete',
544
- options: options
545
- })];
546
- });
547
- });
548
- };
549
- VecDBApiClient.prototype.InsertClusterCentroids = function (input, options) {
550
- return __awaiter(this, void 0, void 0, function () {
551
- return __generator(this, function (_a) {
552
- return [2 /*return*/, this.SendRequest({
553
- input: input,
554
- method: 'post',
555
- path: '/datasets/{dataset_id}/cluster/centroids/insert',
556
- options: options
557
- })];
558
- });
559
- });
560
- };
561
- VecDBApiClient.prototype.UpdateClusterCentroids = function (input, options) {
562
- return __awaiter(this, void 0, void 0, function () {
563
- return __generator(this, function (_a) {
564
- return [2 /*return*/, this.SendRequest({
565
- input: input,
566
- method: 'post',
567
- path: '/datasets/{dataset_id}/cluster/centroids/update',
568
- options: options
569
- })];
570
- });
571
- });
572
- };
573
- VecDBApiClient.prototype.CompareClusterCentroids = function (input, options) {
574
- return __awaiter(this, void 0, void 0, function () {
575
- return __generator(this, function (_a) {
576
- return [2 /*return*/, this.SendRequest({
577
- input: input,
578
- method: 'post',
579
- path: '/datasets/{dataset_id}/cluster/centroids/compare_centroids',
580
- options: options
581
- })];
582
- });
583
- });
584
- };
585
- VecDBApiClient.prototype.Aggregate = function (input, options) {
586
- return __awaiter(this, void 0, void 0, function () {
587
- return __generator(this, function (_a) {
588
- return [2 /*return*/, this.SendRequest({
589
- input: input,
590
- method: 'post',
591
- path: '/datasets/{dataset_id}/aggregate',
592
- options: options
593
- })];
594
- });
595
- });
596
- };
597
- VecDBApiClient.prototype.AggregateClusters = function (input, options) {
598
- return __awaiter(this, void 0, void 0, function () {
599
- return __generator(this, function (_a) {
600
- return [2 /*return*/, this.SendRequest({
601
- input: input,
602
- method: 'post',
603
- path: '/datasets/{dataset_id}/cluster/aggregate',
604
- options: options
605
- })];
606
- });
607
- });
608
- };
609
- VecDBApiClient.prototype.ListClusterFacets = function (input, options) {
610
- return __awaiter(this, void 0, void 0, function () {
611
- return __generator(this, function (_a) {
612
- return [2 /*return*/, this.SendRequest({
613
- input: input,
614
- method: 'post',
615
- path: '/datasets/{dataset_id}/cluster/facets',
616
- options: options
617
- })];
618
- });
619
- });
620
- };
621
- VecDBApiClient.prototype.ListClosestToCentroids = function (input, options) {
622
- return __awaiter(this, void 0, void 0, function () {
623
- return __generator(this, function (_a) {
624
- return [2 /*return*/, this.SendRequest({
625
- input: input,
626
- method: 'post',
627
- path: '/datasets/{dataset_id}/cluster/centroids/list_closest_to_center',
628
- options: options
629
- })];
630
- });
631
- });
632
- };
633
- VecDBApiClient.prototype.ListFurthestFromCentroids = function (input, options) {
634
- return __awaiter(this, void 0, void 0, function () {
635
- return __generator(this, function (_a) {
636
- return [2 /*return*/, this.SendRequest({
637
- input: input,
638
- method: 'post',
639
- path: '/datasets/{dataset_id}/cluster/centroids/list_furthest_from_center',
640
- options: options
641
- })];
642
- });
643
- });
644
- };
645
- VecDBApiClient.prototype.ListCentroids = function (input, options) {
646
- return __awaiter(this, void 0, void 0, function () {
647
- return __generator(this, function (_a) {
648
- return [2 /*return*/, this.SendRequest({
649
- input: input,
650
- method: 'post',
651
- path: '/datasets/{dataset_id}/cluster/centroids/documents',
652
- options: options
653
- })];
654
- });
655
- });
656
- };
657
- VecDBApiClient.prototype.ListCentroidConfigs = function (input, options) {
658
- return __awaiter(this, void 0, void 0, function () {
659
- return __generator(this, function (_a) {
660
- return [2 /*return*/, this.SendRequest({
661
- input: input,
662
- method: 'get',
663
- path: '/datasets/{dataset_id}/cluster/centroids/configs/list',
664
- options: options
665
- })];
666
- });
667
- });
668
- };
669
- VecDBApiClient.prototype.DeleteCentroid = function (input, options) {
670
- return __awaiter(this, void 0, void 0, function () {
671
- return __generator(this, function (_a) {
672
- return [2 /*return*/, this.SendRequest({
673
- input: input,
674
- method: 'post',
675
- path: '/datasets/{dataset_id}/cluster/centroids/{centroid_id}/delete',
676
- options: options
677
- })];
678
- });
679
- });
680
- };
681
- VecDBApiClient.prototype.RealtimeClustering = function (input, options) {
682
- return __awaiter(this, void 0, void 0, function () {
683
- return __generator(this, function (_a) {
684
- return [2 /*return*/, this.SendRequest({
685
- input: input,
686
- method: 'post',
687
- path: '/datasets/{dataset_id}/cluster/realtime',
688
- options: options
689
- })];
690
- });
691
- });
692
- };
693
- VecDBApiClient.prototype.MergeClusters = function (input, options) {
694
- return __awaiter(this, void 0, void 0, function () {
695
- return __generator(this, function (_a) {
696
- return [2 /*return*/, this.SendRequest({
697
- input: input,
698
- method: 'post',
699
- path: '/datasets/{dataset_id}/cluster/merge',
700
- options: options
701
- })];
702
- });
703
- });
704
- };
705
- VecDBApiClient.prototype.CreateClusterSummaries = function (input, options) {
706
- return __awaiter(this, void 0, void 0, function () {
707
- return __generator(this, function (_a) {
708
- return [2 /*return*/, this.SendRequest({
709
- input: input,
710
- method: 'post',
711
- path: '/datasets/{dataset_id}/cluster/centroids/summaries/create',
712
- options: options
713
- })];
714
- });
715
- });
716
- };
717
- VecDBApiClient.prototype.CreateClusterLabels = function (input, options) {
718
- return __awaiter(this, void 0, void 0, function () {
719
- return __generator(this, function (_a) {
720
- return [2 /*return*/, this.SendRequest({
721
- input: input,
722
- method: 'post',
723
- path: '/datasets/{dataset_id}/cluster/centroids/labels/create',
724
- options: options
725
- })];
726
- });
727
- });
728
- };
729
- VecDBApiClient.prototype.ListClusterSummaries = function (input, options) {
730
- return __awaiter(this, void 0, void 0, function () {
731
- return __generator(this, function (_a) {
732
- return [2 /*return*/, this.SendRequest({
733
- input: input,
734
- method: 'post',
735
- path: '/datasets/{dataset_id}/cluster/centroids/summaries/list',
736
- options: options
737
- })];
738
- });
739
- });
740
- };
741
- VecDBApiClient.prototype.CreateHierarchicalClusters = function (input, options) {
742
- return __awaiter(this, void 0, void 0, function () {
743
- return __generator(this, function (_a) {
744
- return [2 /*return*/, this.SendRequest({
745
- input: input,
746
- method: 'post',
747
- path: '/datasets/{dataset_id}/cluster/hierarchical/create',
748
- options: options
749
- })];
750
- });
751
- });
752
- };
753
- VecDBApiClient.prototype.DeleteClusterSummaries = function (input, options) {
754
- return __awaiter(this, void 0, void 0, function () {
755
- return __generator(this, function (_a) {
756
- return [2 /*return*/, this.SendRequest({
757
- input: input,
758
- method: 'post',
759
- path: '/datasets/{dataset_id}/cluster/centroids/summaries/bulk_delete',
760
- options: options
761
- })];
762
- });
763
- });
764
- };
765
- VecDBApiClient.prototype.EditOneToManyClusters = function (input, options) {
766
- return __awaiter(this, void 0, void 0, function () {
767
- return __generator(this, function (_a) {
768
- return [2 /*return*/, this.SendRequest({
769
- input: input,
770
- method: 'post',
771
- path: '/datasets/{dataset_id}/cluster/one_to_many/edit',
772
- options: options
773
- })];
774
- });
775
- });
776
- };
777
- VecDBApiClient.prototype.EditListInDocuments = function (input, options) {
778
- return __awaiter(this, void 0, void 0, function () {
779
- return __generator(this, function (_a) {
780
- return [2 /*return*/, this.SendRequest({
781
- input: input,
782
- method: 'post',
783
- path: '/datasets/{dataset_id}/documents/edit_list',
784
- options: options
785
- })];
786
- });
787
- });
788
- };
789
- VecDBApiClient.prototype.CreateOrganization = function (input, options) {
790
- return __awaiter(this, void 0, void 0, function () {
791
- return __generator(this, function (_a) {
792
- return [2 /*return*/, this.SendRequest({
793
- input: input,
794
- method: 'post',
795
- path: '/organizations/create',
796
- options: options
797
- })];
798
- });
799
- });
800
- };
801
- VecDBApiClient.prototype.UpdateOrganization = function (input, options) {
802
- return __awaiter(this, void 0, void 0, function () {
803
- return __generator(this, function (_a) {
804
- return [2 /*return*/, this.SendRequest({
805
- input: input,
806
- method: 'post',
807
- path: '/organizations/{organization_id}/update',
808
- options: options
809
- })];
810
- });
811
- });
812
- };
813
- VecDBApiClient.prototype.UpdateOrganizationAdmin = function (input, options) {
814
- return __awaiter(this, void 0, void 0, function () {
815
- return __generator(this, function (_a) {
816
- return [2 /*return*/, this.SendRequest({
817
- input: input,
818
- method: 'post',
819
- path: '/admin/organizations/{organization_id}/update',
820
- options: options
821
- })];
822
- });
823
- });
824
- };
825
- VecDBApiClient.prototype.ListOrganizations = function (input, options) {
826
- return __awaiter(this, void 0, void 0, function () {
827
- return __generator(this, function (_a) {
828
- return [2 /*return*/, this.SendRequest({
829
- input: input,
830
- method: 'get',
831
- path: '/organizations/list',
832
- options: options
833
- })];
834
- });
835
- });
836
- };
837
- VecDBApiClient.prototype.DeleteOrganization = function (input, options) {
838
- return __awaiter(this, void 0, void 0, function () {
839
- return __generator(this, function (_a) {
840
- return [2 /*return*/, this.SendRequest({
841
- input: input,
842
- method: 'post',
843
- path: '/organizations/{organization_id}/delete',
844
- options: options
845
- })];
846
- });
847
- });
848
- };
849
- VecDBApiClient.prototype.GetOrganization = function (input, options) {
850
- return __awaiter(this, void 0, void 0, function () {
851
- return __generator(this, function (_a) {
852
- return [2 /*return*/, this.SendRequest({
853
- input: input,
854
- method: 'get',
855
- path: '/organizations/{organization_id}/get',
856
- options: options
857
- })];
858
- });
859
- });
860
- };
861
- VecDBApiClient.prototype.GetOrganizationUsage = function (input, options) {
862
- return __awaiter(this, void 0, void 0, function () {
863
- return __generator(this, function (_a) {
864
- return [2 /*return*/, this.SendRequest({
865
- input: input,
866
- method: 'get',
867
- path: '/organizations/{organization_id}/usage/get',
868
- options: options
869
- })];
870
- });
871
- });
872
- };
873
- VecDBApiClient.prototype.ListUsersInOrganization = function (input, options) {
874
- return __awaiter(this, void 0, void 0, function () {
875
- return __generator(this, function (_a) {
876
- return [2 /*return*/, this.SendRequest({
877
- input: input,
878
- method: 'get',
879
- path: '/organizations/{organization_id}/users/list',
880
- options: options
881
- })];
882
- });
883
- });
884
- };
885
- VecDBApiClient.prototype.ListProjectsInOrganization = function (input, options) {
886
- return __awaiter(this, void 0, void 0, function () {
887
- return __generator(this, function (_a) {
888
- return [2 /*return*/, this.SendRequest({
889
- input: input,
890
- method: 'get',
891
- path: '/organizations/{organization_id}/projects/list',
892
- options: options
893
- })];
894
- });
895
- });
896
- };
897
- VecDBApiClient.prototype.AggregateOrganizationMetrics = function (input, options) {
898
- return __awaiter(this, void 0, void 0, function () {
899
- return __generator(this, function (_a) {
900
- return [2 /*return*/, this.SendRequest({
901
- input: input,
902
- method: 'post',
903
- path: '/organizations/{organization_id}/metrics/aggregate',
904
- options: options
905
- })];
906
- });
907
- });
908
- };
909
- VecDBApiClient.prototype.ListBillingEvents = function (input, options) {
910
- return __awaiter(this, void 0, void 0, function () {
911
- return __generator(this, function (_a) {
912
- return [2 /*return*/, this.SendRequest({
913
- input: input,
914
- method: 'post',
915
- path: '/organizations/{organization_id}/billing/events/list',
916
- options: options
917
- })];
918
- });
919
- });
920
- };
921
- VecDBApiClient.prototype.CreateBillingEventAdmin = function (input, options) {
922
- return __awaiter(this, void 0, void 0, function () {
923
- return __generator(this, function (_a) {
924
- return [2 /*return*/, this.SendRequest({
925
- input: input,
926
- method: 'post',
927
- path: '/admin/organizations/{organization_id}/billing/events/create',
928
- options: options
929
- })];
930
- });
931
- });
932
- };
933
- VecDBApiClient.prototype.GetBillingFrontendLink = function (input, options) {
934
- return __awaiter(this, void 0, void 0, function () {
935
- return __generator(this, function (_a) {
936
- return [2 /*return*/, this.SendRequest({
937
- input: input,
938
- method: 'get',
939
- path: '/organizations/{organization_id}/billing/get_billing_frontend_link',
940
- options: options
941
- })];
942
- });
943
- });
944
- };
945
- VecDBApiClient.prototype.UpdateOrganizationBilling = function (input, options) {
946
- return __awaiter(this, void 0, void 0, function () {
947
- return __generator(this, function (_a) {
948
- return [2 /*return*/, this.SendRequest({
949
- input: input,
950
- method: 'post',
951
- path: '/organizations/{organization_id}/billing/update',
952
- options: options
953
- })];
954
- });
955
- });
956
- };
957
- VecDBApiClient.prototype.CreateConnector = function (input, options) {
958
- return __awaiter(this, void 0, void 0, function () {
959
- return __generator(this, function (_a) {
960
- return [2 /*return*/, this.SendRequest({
961
- input: input,
962
- method: 'post',
963
- path: '/connectors/create',
964
- options: options
965
- })];
966
- });
967
- });
968
- };
969
- VecDBApiClient.prototype.CheckConnection = function (input, options) {
970
- return __awaiter(this, void 0, void 0, function () {
971
- return __generator(this, function (_a) {
972
- return [2 /*return*/, this.SendRequest({
973
- input: input,
974
- method: 'post',
975
- path: '/connectors/check_connection',
976
- options: options
977
- })];
978
- });
979
- });
980
- };
981
- VecDBApiClient.prototype.GetConnector = function (input, options) {
982
- return __awaiter(this, void 0, void 0, function () {
983
- return __generator(this, function (_a) {
984
- return [2 /*return*/, this.SendRequest({
985
- input: input,
986
- method: 'get',
987
- path: '/connectors/{connector_id}/get',
988
- options: options
989
- })];
990
- });
991
- });
992
- };
993
- VecDBApiClient.prototype.UpdateConnector = function (input, options) {
994
- return __awaiter(this, void 0, void 0, function () {
995
- return __generator(this, function (_a) {
996
- return [2 /*return*/, this.SendRequest({
997
- input: input,
998
- method: 'post',
999
- path: '/connectors/{connector_id}/update',
1000
- options: options
1001
- })];
1002
- });
1003
- });
1004
- };
1005
- VecDBApiClient.prototype.TriggerConnector = function (input, options) {
1006
- return __awaiter(this, void 0, void 0, function () {
1007
- return __generator(this, function (_a) {
1008
- return [2 /*return*/, this.SendRequest({
1009
- input: input,
1010
- method: 'post',
1011
- path: '/connectors/{connector_id}/trigger',
1012
- options: options
1013
- })];
1014
- });
1015
- });
1016
- };
1017
- VecDBApiClient.prototype.DeleteConnector = function (input, options) {
1018
- return __awaiter(this, void 0, void 0, function () {
1019
- return __generator(this, function (_a) {
1020
- return [2 /*return*/, this.SendRequest({
1021
- input: input,
1022
- method: 'post',
1023
- path: '/connectors/{connector_id}/delete',
1024
- options: options
1025
- })];
1026
- });
1027
- });
1028
- };
1029
- VecDBApiClient.prototype.ListConnectors = function (input, options) {
1030
- return __awaiter(this, void 0, void 0, function () {
1031
- return __generator(this, function (_a) {
1032
- return [2 /*return*/, this.SendRequest({
1033
- input: input,
1034
- method: 'get',
1035
- path: '/connectors/list',
1036
- options: options
1037
- })];
1038
- });
1039
- });
1040
- };
1041
- VecDBApiClient.prototype.ListConnectorTypes = function (input, options) {
1042
- return __awaiter(this, void 0, void 0, function () {
1043
- return __generator(this, function (_a) {
1044
- return [2 /*return*/, this.SendRequest({
1045
- input: input,
1046
- method: 'get',
1047
- path: '/connectors/types/list',
1048
- options: options
1049
- })];
1050
- });
1051
- });
1052
- };
1053
- VecDBApiClient.prototype.GetConnectorType = function (input, options) {
1054
- return __awaiter(this, void 0, void 0, function () {
1055
- return __generator(this, function (_a) {
1056
- return [2 /*return*/, this.SendRequest({
1057
- input: input,
1058
- method: 'get',
1059
- path: '/connectors/types/{connector_id}/get',
1060
- options: options
1061
- })];
1062
- });
1063
- });
1064
- };
1065
- VecDBApiClient.prototype.ListConnectorJobs = function (input, options) {
1066
- return __awaiter(this, void 0, void 0, function () {
1067
- return __generator(this, function (_a) {
1068
- return [2 /*return*/, this.SendRequest({
1069
- input: input,
1070
- method: 'get',
1071
- path: '/connectors/{connector_id}/jobs/list',
1072
- options: options
1073
- })];
1074
- });
1075
- });
1076
- };
1077
- VecDBApiClient.prototype.GetConnectorJob = function (input, options) {
1078
- return __awaiter(this, void 0, void 0, function () {
1079
- return __generator(this, function (_a) {
1080
- return [2 /*return*/, this.SendRequest({
1081
- input: input,
1082
- method: 'get',
1083
- path: '/connectors/{connector_id}/jobs/{job_id}/get',
1084
- options: options
1085
- })];
1086
- });
1087
- });
1088
- };
1089
- VecDBApiClient.prototype.TriggerWorkflow = function (input, options) {
1090
- return __awaiter(this, void 0, void 0, function () {
1091
- return __generator(this, function (_a) {
1092
- return [2 /*return*/, this.SendRequest({
1093
- input: input,
1094
- method: 'post',
1095
- path: '/workflows/trigger',
1096
- options: options
1097
- })];
1098
- });
1099
- });
1100
- };
1101
- VecDBApiClient.prototype.ListWorkflows = function (input, options) {
1102
- return __awaiter(this, void 0, void 0, function () {
1103
- return __generator(this, function (_a) {
1104
- return [2 /*return*/, this.SendRequest({
1105
- input: input,
1106
- method: 'get',
1107
- path: '/workflows/list',
1108
- options: options
1109
- })];
1110
- });
1111
- });
1112
- };
1113
- VecDBApiClient.prototype.GetWorkflowStatus = function (input, options) {
1114
- return __awaiter(this, void 0, void 0, function () {
1115
- return __generator(this, function (_a) {
1116
- return [2 /*return*/, this.SendRequest({
1117
- input: input,
1118
- method: 'post',
1119
- path: '/workflows/{workflow_id}/get',
1120
- options: options
1121
- })];
1122
- });
1123
- });
1124
- };
1125
- VecDBApiClient.prototype.GetWorkflowConfig = function (input, options) {
1126
- return __awaiter(this, void 0, void 0, function () {
1127
- return __generator(this, function (_a) {
1128
- return [2 /*return*/, this.SendRequest({
1129
- input: input,
1130
- method: 'post',
1131
- path: '/workflows/{workflow_id}/config',
1132
- options: options
1133
- })];
1134
- });
1135
- });
1136
- };
1137
- VecDBApiClient.prototype.DeleteWorkflowStatus = function (input, options) {
1138
- return __awaiter(this, void 0, void 0, function () {
1139
- return __generator(this, function (_a) {
1140
- return [2 /*return*/, this.SendRequest({
1141
- input: input,
1142
- method: 'post',
1143
- path: '/workflows/{workflow_id}/delete',
1144
- options: options
1145
- })];
1146
- });
1147
- });
1148
- };
1149
- VecDBApiClient.prototype.TerminateWorkflow = function (input, options) {
1150
- return __awaiter(this, void 0, void 0, function () {
1151
- return __generator(this, function (_a) {
1152
- return [2 /*return*/, this.SendRequest({
1153
- input: input,
1154
- method: 'post',
1155
- path: '/workflows/{workflow_id}/terminate',
1156
- options: options
1157
- })];
1158
- });
1159
- });
1160
- };
1161
- VecDBApiClient.prototype.UpsertWorkflowMetadata = function (input, options) {
1162
- return __awaiter(this, void 0, void 0, function () {
1163
- return __generator(this, function (_a) {
1164
- return [2 /*return*/, this.SendRequest({
1165
- input: input,
1166
- method: 'post',
1167
- path: '/workflows/{workflow_id}/metadata',
1168
- options: options
1169
- })];
1170
- });
1171
- });
1172
- };
1173
- VecDBApiClient.prototype.UpsertWorkflowProgress = function (input, options) {
1174
- return __awaiter(this, void 0, void 0, function () {
1175
- return __generator(this, function (_a) {
1176
- return [2 /*return*/, this.SendRequest({
1177
- input: input,
1178
- method: 'post',
1179
- path: '/workflows/{workflow_id}/progress',
1180
- options: options
1181
- })];
1182
- });
1183
- });
1184
- };
1185
- VecDBApiClient.prototype.UpsertWorkflowStatus = function (input, options) {
1186
- return __awaiter(this, void 0, void 0, function () {
1187
- return __generator(this, function (_a) {
1188
- return [2 /*return*/, this.SendRequest({
1189
- input: input,
1190
- method: 'post',
1191
- path: '/workflows/{workflow_id}/status',
1192
- options: options
1193
- })];
1194
- });
1195
- });
1196
- };
1197
- VecDBApiClient.prototype.ListWorkflowTypes = function (input, options) {
1198
- return __awaiter(this, void 0, void 0, function () {
1199
- return __generator(this, function (_a) {
1200
- return [2 /*return*/, this.SendRequest({
1201
- input: input,
1202
- method: 'get',
1203
- path: '/workflows/types/list',
1204
- options: options
1205
- })];
1206
- });
1207
- });
1208
- };
1209
- VecDBApiClient.prototype.SearchWorkflowTypes = function (input, options) {
1210
- return __awaiter(this, void 0, void 0, function () {
1211
- return __generator(this, function (_a) {
1212
- return [2 /*return*/, this.SendRequest({
1213
- input: input,
1214
- method: 'post',
1215
- path: '/workflows/types/search',
1216
- options: options
1217
- })];
1218
- });
1219
- });
1220
- };
1221
- VecDBApiClient.prototype.GetWorkflowTypesAsOpenAPI = function (input, options) {
1222
- return __awaiter(this, void 0, void 0, function () {
1223
- return __generator(this, function (_a) {
1224
- return [2 /*return*/, this.SendRequest({
1225
- input: input,
1226
- method: 'get',
1227
- path: '/workflows/types/openapi',
1228
- options: options
1229
- })];
1230
- });
1231
- });
1232
- };
1233
- VecDBApiClient.prototype.AggregateWorkflowTypes = function (input, options) {
1234
- return __awaiter(this, void 0, void 0, function () {
1235
- return __generator(this, function (_a) {
1236
- return [2 /*return*/, this.SendRequest({
1237
- input: input,
1238
- method: 'post',
1239
- path: '/workflows/types/aggregate',
1240
- options: options
1241
- })];
1242
- });
1243
- });
1244
- };
1245
- VecDBApiClient.prototype.BulkUpdateWorkflowTypesAdmin = function (input, options) {
1246
- return __awaiter(this, void 0, void 0, function () {
1247
- return __generator(this, function (_a) {
1248
- return [2 /*return*/, this.SendRequest({
1249
- input: input,
1250
- method: 'post',
1251
- path: '/workflows/types/bulk_update',
1252
- options: options
1253
- })];
1254
- });
1255
- });
1256
- };
1257
- VecDBApiClient.prototype.UpdateWorkflowTypesVersionAliasesAdmin = function (input, options) {
1258
- return __awaiter(this, void 0, void 0, function () {
1259
- return __generator(this, function (_a) {
1260
- return [2 /*return*/, this.SendRequest({
1261
- input: input,
1262
- method: 'post',
1263
- path: '/workflows/types/version_aliases/update',
1264
- options: options
1265
- })];
1266
- });
1267
- });
1268
- };
1269
- VecDBApiClient.prototype.GetWorkflowTypesVersionAliases = function (input, options) {
1270
- return __awaiter(this, void 0, void 0, function () {
1271
- return __generator(this, function (_a) {
1272
- return [2 /*return*/, this.SendRequest({
1273
- input: input,
1274
- method: 'post',
1275
- path: '/workflows/types/version_aliases/get',
1276
- options: options
1277
- })];
1278
- });
1279
- });
1280
- };
1281
- VecDBApiClient.prototype.GetWorkflowType = function (input, options) {
1282
- return __awaiter(this, void 0, void 0, function () {
1283
- return __generator(this, function (_a) {
1284
- return [2 /*return*/, this.SendRequest({
1285
- input: input,
1286
- method: 'get',
1287
- path: '/workflows/types/{workflow_id}/get',
1288
- options: options
1289
- })];
1290
- });
1291
- });
1292
- };
1293
- VecDBApiClient.prototype.ValidateWorkflowParams = function (input, options) {
1294
- return __awaiter(this, void 0, void 0, function () {
1295
- return __generator(this, function (_a) {
1296
- return [2 /*return*/, this.SendRequest({
1297
- input: input,
1298
- method: 'post',
1299
- path: '/workflows/types/{workflow_id}/validate',
1300
- options: options
1301
- })];
1302
- });
1303
- });
1304
- };
1305
- VecDBApiClient.prototype.Insert = function (input, options) {
1306
- return __awaiter(this, void 0, void 0, function () {
1307
- return __generator(this, function (_a) {
1308
- return [2 /*return*/, this.SendRequest({
1309
- input: input,
1310
- method: 'post',
1311
- path: '/datasets/{dataset_id}/documents/insert',
1312
- options: options
1313
- })];
1314
- });
1315
- });
1316
- };
1317
- VecDBApiClient.prototype.BulkInsert = function (input, options) {
1318
- return __awaiter(this, void 0, void 0, function () {
1319
- return __generator(this, function (_a) {
1320
- return [2 /*return*/, this.SendRequest({
1321
- input: input,
1322
- method: 'post',
1323
- path: '/datasets/{dataset_id}/documents/bulk_insert',
1324
- options: options
1325
- })];
1326
- });
1327
- });
1328
- };
1329
- VecDBApiClient.prototype.GetFileUploadUrlsForDataset = function (input, options) {
1330
- return __awaiter(this, void 0, void 0, function () {
1331
- return __generator(this, function (_a) {
1332
- return [2 /*return*/, this.SendRequest({
1333
- input: input,
1334
- method: 'post',
1335
- path: '/datasets/{dataset_id}/get_file_upload_urls',
1336
- options: options
1337
- })];
1338
- });
1339
- });
1340
- };
1341
- VecDBApiClient.prototype.GetTemporaryFileUploadUrl = function (input, options) {
1342
- return __awaiter(this, void 0, void 0, function () {
1343
- return __generator(this, function (_a) {
1344
- return [2 /*return*/, this.SendRequest({
1345
- input: input,
1346
- method: 'post',
1347
- path: '/services/get_temporary_file_upload_url',
1348
- options: options
1349
- })];
1350
- });
1351
- });
1352
- };
1353
- VecDBApiClient.prototype.ListFileUploadsForDataset = function (input, options) {
1354
- return __awaiter(this, void 0, void 0, function () {
1355
- return __generator(this, function (_a) {
1356
- return [2 /*return*/, this.SendRequest({
1357
- input: input,
1358
- method: 'get',
1359
- path: '/datasets/{dataset_id}/list_file_uploads',
1360
- options: options
1361
- })];
1362
- });
1363
- });
1364
- };
1365
- VecDBApiClient.prototype.ParseBlob = function (input, options) {
1366
- return __awaiter(this, void 0, void 0, function () {
1367
- return __generator(this, function (_a) {
1368
- return [2 /*return*/, this.SendRequest({
1369
- input: input,
1370
- method: 'post',
1371
- path: '/datasets/{dataset_id}/parse_blob',
1372
- options: options
1373
- })];
1374
- });
1375
- });
1376
- };
1377
- VecDBApiClient.prototype.CopyForeignDataset = function (input, options) {
1378
- return __awaiter(this, void 0, void 0, function () {
1379
- return __generator(this, function (_a) {
1380
- return [2 /*return*/, this.SendRequest({
1381
- input: input,
1382
- method: 'post',
1383
- path: '/admin/copy_foreign_dataset',
1384
- options: options
1385
- })];
1386
- });
1387
- });
1388
- };
1389
- VecDBApiClient.prototype.CreateProjectReadKey = function (input, options) {
1390
- return __awaiter(this, void 0, void 0, function () {
1391
- return __generator(this, function (_a) {
1392
- return [2 /*return*/, this.SendRequest({
1393
- input: input,
1394
- method: 'post',
1395
- path: '/admin/request_read_api_key',
1396
- options: options
1397
- })];
1398
- });
1399
- });
1400
- };
1401
- VecDBApiClient.prototype.GenerateOnboarding = function (input, options) {
1402
- return __awaiter(this, void 0, void 0, function () {
1403
- return __generator(this, function (_a) {
1404
- return [2 /*return*/, this.SendRequest({
1405
- input: input,
1406
- method: 'post',
1407
- path: '/onboard/generate',
1408
- options: options
1409
- })];
1410
- });
1411
- });
1412
- };
1413
- VecDBApiClient.prototype.DeleteDataset = function (input, options) {
1414
- return __awaiter(this, void 0, void 0, function () {
1415
- return __generator(this, function (_a) {
1416
- return [2 /*return*/, this.SendRequest({
1417
- input: input,
1418
- method: 'post',
1419
- path: '/datasets/{dataset_id}/delete',
1420
- options: options
1421
- })];
1422
- });
1423
- });
1424
- };
1425
- VecDBApiClient.prototype.CreateDataset = function (input, options) {
1426
- return __awaiter(this, void 0, void 0, function () {
1427
- return __generator(this, function (_a) {
1428
- return [2 /*return*/, this.SendRequest({
1429
- input: input,
1430
- method: 'post',
1431
- path: '/datasets/create',
1432
- options: options
1433
- })];
1434
- });
1435
- });
1436
- };
1437
- VecDBApiClient.prototype.GetSchema = function (input, options) {
1438
- return __awaiter(this, void 0, void 0, function () {
1439
- return __generator(this, function (_a) {
1440
- return [2 /*return*/, this.SendRequest({
1441
- input: input,
1442
- method: 'get',
1443
- path: '/datasets/{dataset_id}/schema',
1444
- options: options
1445
- })];
1446
- });
1447
- });
1448
- };
1449
- VecDBApiClient.prototype.ListDatasets = function (input, options) {
1450
- return __awaiter(this, void 0, void 0, function () {
1451
- return __generator(this, function (_a) {
1452
- return [2 /*return*/, this.SendRequest({
1453
- input: input,
1454
- method: 'get',
1455
- path: '/datasets/list',
1456
- options: options
1457
- })];
1458
- });
1459
- });
1460
- };
1461
- VecDBApiClient.prototype.CombineDatasets = function (input, options) {
1462
- return __awaiter(this, void 0, void 0, function () {
1463
- return __generator(this, function (_a) {
1464
- return [2 /*return*/, this.SendRequest({
1465
- input: input,
1466
- method: 'post',
1467
- path: '/datasets/combine',
1468
- options: options
1469
- })];
1470
- });
1471
- });
1472
- };
1473
- VecDBApiClient.prototype.GetCombineJobStatus = function (input, options) {
1474
- return __awaiter(this, void 0, void 0, function () {
1475
- return __generator(this, function (_a) {
1476
- return [2 /*return*/, this.SendRequest({
1477
- input: input,
1478
- method: 'post',
1479
- path: '/datasets/combine/{job_id}/get',
1480
- options: options
1481
- })];
1482
- });
1483
- });
1484
- };
1485
- VecDBApiClient.prototype.SearchDatasets = function (input, options) {
1486
- return __awaiter(this, void 0, void 0, function () {
1487
- return __generator(this, function (_a) {
1488
- return [2 /*return*/, this.SendRequest({
1489
- input: input,
1490
- method: 'get',
1491
- path: '/datasets/search',
1492
- options: options
1493
- })];
1494
- });
1495
- });
1496
- };
1497
- VecDBApiClient.prototype.GetFieldHealth = function (input, options) {
1498
- return __awaiter(this, void 0, void 0, function () {
1499
- return __generator(this, function (_a) {
1500
- return [2 /*return*/, this.SendRequest({
1501
- input: input,
1502
- method: 'get',
1503
- path: '/datasets/{dataset_id}/monitor/health',
1504
- options: options
1505
- })];
1506
- });
1507
- });
1508
- };
1509
- VecDBApiClient.prototype.GetDatasetStats = function (input, options) {
1510
- return __awaiter(this, void 0, void 0, function () {
1511
- return __generator(this, function (_a) {
1512
- return [2 /*return*/, this.SendRequest({
1513
- input: input,
1514
- method: 'get',
1515
- path: '/datasets/{dataset_id}/monitor/stats',
1516
- options: options
1517
- })];
1518
- });
1519
- });
1520
- };
1521
- VecDBApiClient.prototype.GetVectorMappings = function (input, options) {
1522
- return __awaiter(this, void 0, void 0, function () {
1523
- return __generator(this, function (_a) {
1524
- return [2 /*return*/, this.SendRequest({
1525
- input: input,
1526
- method: 'get',
1527
- path: '/datasets/{dataset_id}/vector_mappings',
1528
- options: options
1529
- })];
1530
- });
1531
- });
1532
- };
1533
- VecDBApiClient.prototype.GetDatasetDetails = function (input, options) {
1534
- return __awaiter(this, void 0, void 0, function () {
1535
- return __generator(this, function (_a) {
1536
- return [2 /*return*/, this.SendRequest({
1537
- input: input,
1538
- method: 'post',
1539
- path: '/datasets/{dataset_id}/details',
1540
- options: options
1541
- })];
1542
- });
1543
- });
1544
- };
1545
- VecDBApiClient.prototype.GetDocument = function (input, options) {
1546
- return __awaiter(this, void 0, void 0, function () {
1547
- return __generator(this, function (_a) {
1548
- return [2 /*return*/, this.SendRequest({
1549
- input: input,
1550
- method: 'get',
1551
- path: '/datasets/{dataset_id}/documents/get',
1552
- options: options
1553
- })];
1554
- });
1555
- });
1556
- };
1557
- VecDBApiClient.prototype.DeleteDocument = function (input, options) {
1558
- return __awaiter(this, void 0, void 0, function () {
1559
- return __generator(this, function (_a) {
1560
- return [2 /*return*/, this.SendRequest({
1561
- input: input,
1562
- method: 'post',
1563
- path: '/datasets/{dataset_id}/documents/delete',
1564
- options: options
1565
- })];
1566
- });
1567
- });
1568
- };
1569
- VecDBApiClient.prototype.UpsertDatasetSettings = function (input, options) {
1570
- return __awaiter(this, void 0, void 0, function () {
1571
- return __generator(this, function (_a) {
1572
- return [2 /*return*/, this.SendRequest({
1573
- input: input,
1574
- method: 'post',
1575
- path: '/datasets/{dataset_id}/settings',
1576
- options: options
1577
- })];
1578
- });
1579
- });
1580
- };
1581
- VecDBApiClient.prototype.GetDatasetSettings = function (input, options) {
1582
- return __awaiter(this, void 0, void 0, function () {
1583
- return __generator(this, function (_a) {
1584
- return [2 /*return*/, this.SendRequest({
1585
- input: input,
1586
- method: 'get',
1587
- path: '/datasets/{dataset_id}/settings',
1588
- options: options
1589
- })];
1590
- });
1591
- });
1592
- };
1593
- VecDBApiClient.prototype.UpsertDatasetMetadata = function (input, options) {
1594
- return __awaiter(this, void 0, void 0, function () {
1595
- return __generator(this, function (_a) {
1596
- return [2 /*return*/, this.SendRequest({
1597
- input: input,
1598
- method: 'post',
1599
- path: '/datasets/{dataset_id}/metadata',
1600
- options: options
1601
- })];
1602
- });
1603
- });
1604
- };
1605
- VecDBApiClient.prototype.GetDatasetMetadata = function (input, options) {
1606
- return __awaiter(this, void 0, void 0, function () {
1607
- return __generator(this, function (_a) {
1608
- return [2 /*return*/, this.SendRequest({
1609
- input: input,
1610
- method: 'get',
1611
- path: '/datasets/{dataset_id}/metadata',
1612
- options: options
1613
- })];
1614
- });
1615
- });
1616
- };
1617
- VecDBApiClient.prototype.Update = function (input, options) {
1618
- return __awaiter(this, void 0, void 0, function () {
1619
- return __generator(this, function (_a) {
1620
- return [2 /*return*/, this.SendRequest({
1621
- input: input,
1622
- method: 'post',
1623
- path: '/datasets/{dataset_id}/documents/update',
1624
- options: options
1625
- })];
1626
- });
1627
- });
1628
- };
1629
- VecDBApiClient.prototype.DeleteDocumentFields = function (input, options) {
1630
- return __awaiter(this, void 0, void 0, function () {
1631
- return __generator(this, function (_a) {
1632
- return [2 /*return*/, this.SendRequest({
1633
- input: input,
1634
- method: 'post',
1635
- path: '/datasets/{dataset_id}/documents/delete_fields',
1636
- options: options
1637
- })];
1638
- });
1639
- });
1640
- };
1641
- VecDBApiClient.prototype.BulkUpdate = function (input, options) {
1642
- return __awaiter(this, void 0, void 0, function () {
1643
- return __generator(this, function (_a) {
1644
- return [2 /*return*/, this.SendRequest({
1645
- input: input,
1646
- method: 'post',
1647
- path: '/datasets/{dataset_id}/documents/bulk_update',
1648
- options: options
1649
- })];
1650
- });
1651
- });
1652
- };
1653
- VecDBApiClient.prototype.UpdateWhere = function (input, options) {
1654
- return __awaiter(this, void 0, void 0, function () {
1655
- return __generator(this, function (_a) {
1656
- return [2 /*return*/, this.SendRequest({
1657
- input: input,
1658
- method: 'post',
1659
- path: '/datasets/{dataset_id}/documents/update_where',
1660
- options: options
1661
- })];
1662
- });
1663
- });
1664
- };
1665
- VecDBApiClient.prototype.AppendTags = function (input, options) {
1666
- return __awaiter(this, void 0, void 0, function () {
1667
- return __generator(this, function (_a) {
1668
- return [2 /*return*/, this.SendRequest({
1669
- input: input,
1670
- method: 'post',
1671
- path: '/datasets/{dataset_id}/tags/append',
1672
- options: options
1673
- })];
1674
- });
1675
- });
1676
- };
1677
- VecDBApiClient.prototype.DeleteTags = function (input, options) {
1678
- return __awaiter(this, void 0, void 0, function () {
1679
- return __generator(this, function (_a) {
1680
- return [2 /*return*/, this.SendRequest({
1681
- input: input,
1682
- method: 'post',
1683
- path: '/datasets/{dataset_id}/tags/delete',
1684
- options: options
1685
- })];
1686
- });
1687
- });
1688
- };
1689
- VecDBApiClient.prototype.MergeTags = function (input, options) {
1690
- return __awaiter(this, void 0, void 0, function () {
1691
- return __generator(this, function (_a) {
1692
- return [2 /*return*/, this.SendRequest({
1693
- input: input,
1694
- method: 'post',
1695
- path: '/datasets/{dataset_id}/tags/merge',
1696
- options: options
1697
- })];
1698
- });
1699
- });
1700
- };
1701
- VecDBApiClient.prototype.EditTags = function (input, options) {
1702
- return __awaiter(this, void 0, void 0, function () {
1703
- return __generator(this, function (_a) {
1704
- return [2 /*return*/, this.SendRequest({
1705
- input: input,
1706
- method: 'post',
1707
- path: '/datasets/{dataset_id}/tags/edit',
1708
- options: options
1709
- })];
1710
- });
1711
- });
1712
- };
1713
- VecDBApiClient.prototype.ListFacets = function (input, options) {
1714
- return __awaiter(this, void 0, void 0, function () {
1715
- return __generator(this, function (_a) {
1716
- return [2 /*return*/, this.SendRequest({
1717
- input: input,
1718
- method: 'post',
1719
- path: '/datasets/{dataset_id}/facets',
1720
- options: options
1721
- })];
1722
- });
1723
- });
1724
- };
1725
- VecDBApiClient.prototype.GetWhere = function (input, options) {
1726
- return __awaiter(this, void 0, void 0, function () {
1727
- return __generator(this, function (_a) {
1728
- return [2 /*return*/, this.SendRequest({
1729
- input: input,
1730
- method: 'post',
1731
- path: '/datasets/{dataset_id}/documents/get_where',
1732
- options: options
1733
- })];
1734
- });
1735
- });
1736
- };
1737
- VecDBApiClient.prototype.PaginateDocuments = function (input, options) {
1738
- return __awaiter(this, void 0, void 0, function () {
1739
- return __generator(this, function (_a) {
1740
- return [2 /*return*/, this.SendRequest({
1741
- input: input,
1742
- method: 'post',
1743
- path: '/datasets/{dataset_id}/documents/paginate',
1744
- options: options
1745
- })];
1746
- });
1747
- });
1748
- };
1749
- VecDBApiClient.prototype.CreateDatasetSummary = function (input, options) {
1750
- return __awaiter(this, void 0, void 0, function () {
1751
- return __generator(this, function (_a) {
1752
- return [2 /*return*/, this.SendRequest({
1753
- input: input,
1754
- method: 'post',
1755
- path: '/datasets/{dataset_id}/summaries/create',
1756
- options: options
1757
- })];
1758
- });
1759
- });
1760
- };
1761
- VecDBApiClient.prototype.ListDatasetSummaryHistory = function (input, options) {
1762
- return __awaiter(this, void 0, void 0, function () {
1763
- return __generator(this, function (_a) {
1764
- return [2 /*return*/, this.SendRequest({
1765
- input: input,
1766
- method: 'get',
1767
- path: '/datasets/{dataset_id}/summaries/history/list',
1768
- options: options
1769
- })];
1770
- });
1771
- });
1772
- };
1773
- VecDBApiClient.prototype.BulkGetDocuments = function (input, options) {
1774
- return __awaiter(this, void 0, void 0, function () {
1775
- return __generator(this, function (_a) {
1776
- return [2 /*return*/, this.SendRequest({
1777
- input: input,
1778
- method: 'post',
1779
- path: '/datasets/{dataset_id}/documents/bulk_get',
1780
- options: options
1781
- })];
1782
- });
1783
- });
1784
- };
1785
- VecDBApiClient.prototype.BulkDeleteDocuments = function (input, options) {
1786
- return __awaiter(this, void 0, void 0, function () {
1787
- return __generator(this, function (_a) {
1788
- return [2 /*return*/, this.SendRequest({
1789
- input: input,
1790
- method: 'post',
1791
- path: '/datasets/{dataset_id}/documents/bulk_delete',
1792
- options: options
1793
- })];
1794
- });
1795
- });
1796
- };
1797
- VecDBApiClient.prototype.ListDocuments = function (input, options) {
1798
- return __awaiter(this, void 0, void 0, function () {
1799
- return __generator(this, function (_a) {
1800
- return [2 /*return*/, this.SendRequest({
1801
- input: input,
1802
- method: 'get',
1803
- path: '/datasets/{dataset_id}/documents/list',
1804
- options: options
1805
- })];
1806
- });
1807
- });
1808
- };
1809
- VecDBApiClient.prototype.DeleteWhere = function (input, options) {
1810
- return __awaiter(this, void 0, void 0, function () {
1811
- return __generator(this, function (_a) {
1812
- return [2 /*return*/, this.SendRequest({
1813
- input: input,
1814
- method: 'post',
1815
- path: '/datasets/{dataset_id}/documents/delete_where',
1816
- options: options
1817
- })];
1818
- });
1819
- });
1820
- };
1821
- VecDBApiClient.prototype.SimpleSearchPost = function (input, options) {
1822
- return __awaiter(this, void 0, void 0, function () {
1823
- return __generator(this, function (_a) {
1824
- return [2 /*return*/, this.SendRequest({
1825
- input: input,
1826
- method: 'post',
1827
- path: '/datasets/{dataset_id}/simple_search',
1828
- options: options
1829
- })];
1830
- });
1831
- });
1832
- };
1833
- VecDBApiClient.prototype.Search = function (input, options) {
1834
- return __awaiter(this, void 0, void 0, function () {
1835
- return __generator(this, function (_a) {
1836
- return [2 /*return*/, this.SendRequest({
1837
- input: input,
1838
- method: 'post',
1839
- path: '/datasets/{dataset_id}/search',
1840
- options: options
1841
- })];
1842
- });
1843
- });
1844
- };
1845
- VecDBApiClient.prototype.Recommend = function (input, options) {
1846
- return __awaiter(this, void 0, void 0, function () {
1847
- return __generator(this, function (_a) {
1848
- return [2 /*return*/, this.SendRequest({
1849
- input: input,
1850
- method: 'post',
1851
- path: '/datasets/{dataset_id}/recommend',
1852
- options: options
1853
- })];
1854
- });
1855
- });
1856
- };
1857
- VecDBApiClient.prototype.CloneDataset = function (input, options) {
1858
- return __awaiter(this, void 0, void 0, function () {
1859
- return __generator(this, function (_a) {
1860
- return [2 /*return*/, this.SendRequest({
1861
- input: input,
1862
- method: 'post',
1863
- path: '/datasets/{dataset_id}/clone',
1864
- options: options
1865
- })];
1866
- });
1867
- });
1868
- };
1869
- VecDBApiClient.prototype.PredictKNNRegression = function (input, options) {
1870
- return __awaiter(this, void 0, void 0, function () {
1871
- return __generator(this, function (_a) {
1872
- return [2 /*return*/, this.SendRequest({
1873
- input: input,
1874
- method: 'post',
1875
- path: '/services/prediction/regression/knn',
1876
- options: options
1877
- })];
1878
- });
1879
- });
1880
- };
1881
- VecDBApiClient.prototype.PredictKNNFromResults = function (input, options) {
1882
- return __awaiter(this, void 0, void 0, function () {
1883
- return __generator(this, function (_a) {
1884
- return [2 /*return*/, this.SendRequest({
1885
- input: input,
1886
- method: 'post',
1887
- path: '/services/prediction/knn_from_results',
1888
- options: options
1889
- })];
1890
- });
1891
- });
1892
- };
1893
- VecDBApiClient.prototype.BiasEvaluation = function (input, options) {
1894
- return __awaiter(this, void 0, void 0, function () {
1895
- return __generator(this, function (_a) {
1896
- return [2 /*return*/, this.SendRequest({
1897
- input: input,
1898
- method: 'post',
1899
- path: '/services/evaluation/bias',
1900
- options: options
1901
- })];
1902
- });
1903
- });
1904
- };
1905
- VecDBApiClient.prototype.Vectorize = function (input, options) {
1906
- return __awaiter(this, void 0, void 0, function () {
1907
- return __generator(this, function (_a) {
1908
- return [2 /*return*/, this.SendRequest({
1909
- input: input,
1910
- method: 'post',
1911
- path: '/services/vectorize',
1912
- options: options
1913
- })];
1914
- });
1915
- });
1916
- };
1917
- VecDBApiClient.prototype.VectorizeAndInsert = function (input, options) {
1918
- return __awaiter(this, void 0, void 0, function () {
1919
- return __generator(this, function (_a) {
1920
- return [2 /*return*/, this.SendRequest({
1921
- input: input,
1922
- method: 'post',
1923
- path: '/services/vectorize/{dataset_id}/vectorize_and_insert',
1924
- options: options
1925
- })];
1926
- });
1927
- });
1928
- };
1929
- VecDBApiClient.prototype.VectorizeField = function (input, options) {
1930
- return __awaiter(this, void 0, void 0, function () {
1931
- return __generator(this, function (_a) {
1932
- return [2 /*return*/, this.SendRequest({
1933
- input: input,
1934
- method: 'post',
1935
- path: '/services/vectorize/{dataset_id}',
1936
- options: options
1937
- })];
1938
- });
1939
- });
1940
- };
1941
- VecDBApiClient.prototype.ListDatasetWorkflowsByFields = function (input, options) {
1942
- return __awaiter(this, void 0, void 0, function () {
1943
- return __generator(this, function (_a) {
1944
- return [2 /*return*/, this.SendRequest({
1945
- input: input,
1946
- method: 'get',
1947
- path: '/datasets/{dataset_id}/workflows_by_fields',
1948
- options: options
1949
- })];
1950
- });
1951
- });
1952
- };
1953
- VecDBApiClient.prototype.GetAPIHealth = function (input, options) {
1954
- return __awaiter(this, void 0, void 0, function () {
1955
- return __generator(this, function (_a) {
1956
- return [2 /*return*/, this.SendRequest({
1957
- input: input,
1958
- method: 'get',
1959
- path: '/health',
1960
- options: options
1961
- })];
1962
- });
1963
- });
1964
- };
1965
- VecDBApiClient.prototype.DeleteFieldChildren = function (input, options) {
1966
- return __awaiter(this, void 0, void 0, function () {
1967
- return __generator(this, function (_a) {
1968
- return [2 /*return*/, this.SendRequest({
1969
- input: input,
1970
- method: 'post',
1971
- path: '/datasets/{dataset_id}/field_children/{fieldchildren_id}/delete',
1972
- options: options
1973
- })];
1974
- });
1975
- });
1976
- };
1977
- VecDBApiClient.prototype.ListFieldChildrens = function (input, options) {
1978
- return __awaiter(this, void 0, void 0, function () {
1979
- return __generator(this, function (_a) {
1980
- return [2 /*return*/, this.SendRequest({
1981
- input: input,
1982
- method: 'post',
1983
- path: '/datasets/{dataset_id}/field_children/list',
1984
- options: options
1985
- })];
1986
- });
1987
- });
1988
- };
1989
- VecDBApiClient.prototype.UpdateFieldChildren = function (input, options) {
1990
- return __awaiter(this, void 0, void 0, function () {
1991
- return __generator(this, function (_a) {
1992
- return [2 /*return*/, this.SendRequest({
1993
- input: input,
1994
- method: 'post',
1995
- path: '/datasets/{dataset_id}/field_children/{fieldchildren_id}/update',
1996
- options: options
1997
- })];
1998
- });
1999
- });
2000
- };
2001
- VecDBApiClient.prototype.DeleteFavouriteWorkflow = function (input, options) {
2002
- return __awaiter(this, void 0, void 0, function () {
2003
- return __generator(this, function (_a) {
2004
- return [2 /*return*/, this.SendRequest({
2005
- input: input,
2006
- method: 'post',
2007
- path: '/workflows/favourites/{favouriteworkflow_id}/delete',
2008
- options: options
2009
- })];
2010
- });
2011
- });
2012
- };
2013
- VecDBApiClient.prototype.ListFavouriteWorkflows = function (input, options) {
2014
- return __awaiter(this, void 0, void 0, function () {
2015
- return __generator(this, function (_a) {
2016
- return [2 /*return*/, this.SendRequest({
2017
- input: input,
2018
- method: 'post',
2019
- path: '/workflows/favourites/list',
2020
- options: options
2021
- })];
2022
- });
2023
- });
2024
- };
2025
- VecDBApiClient.prototype.UpdateFavouriteWorkflow = function (input, options) {
2026
- return __awaiter(this, void 0, void 0, function () {
2027
- return __generator(this, function (_a) {
2028
- return [2 /*return*/, this.SendRequest({
2029
- input: input,
2030
- method: 'post',
2031
- path: '/workflows/favourites/{favouriteworkflow_id}/update',
2032
- options: options
2033
- })];
2034
- });
2035
- });
2036
- };
2037
- VecDBApiClient.prototype.DeleteSavedFilter = function (input, options) {
2038
- return __awaiter(this, void 0, void 0, function () {
2039
- return __generator(this, function (_a) {
2040
- return [2 /*return*/, this.SendRequest({
2041
- input: input,
2042
- method: 'post',
2043
- path: '/savedfilters/{savedfilter_id}/delete',
2044
- options: options
2045
- })];
2046
- });
2047
- });
2048
- };
2049
- VecDBApiClient.prototype.ListSavedFilters = function (input, options) {
2050
- return __awaiter(this, void 0, void 0, function () {
2051
- return __generator(this, function (_a) {
2052
- return [2 /*return*/, this.SendRequest({
2053
- input: input,
2054
- method: 'post',
2055
- path: '/savedfilters/list',
2056
- options: options
2057
- })];
2058
- });
2059
- });
2060
- };
2061
- VecDBApiClient.prototype.UpdateSavedFilter = function (input, options) {
2062
- return __awaiter(this, void 0, void 0, function () {
2063
- return __generator(this, function (_a) {
2064
- return [2 /*return*/, this.SendRequest({
2065
- input: input,
2066
- method: 'post',
2067
- path: '/savedfilters/{savedfilter_id}/update',
2068
- options: options
2069
- })];
2070
- });
2071
- });
2072
- };
2073
- VecDBApiClient.prototype.GetSavedFilter = function (input, options) {
2074
- return __awaiter(this, void 0, void 0, function () {
2075
- return __generator(this, function (_a) {
2076
- return [2 /*return*/, this.SendRequest({
2077
- input: input,
2078
- method: 'get',
2079
- path: '/savedfilters/{savedfilter_id}/get',
2080
- options: options
2081
- })];
2082
- });
2083
- });
2084
- };
2085
- VecDBApiClient.prototype.CreateSavedFilter = function (input, options) {
2086
- return __awaiter(this, void 0, void 0, function () {
2087
- return __generator(this, function (_a) {
2088
- return [2 /*return*/, this.SendRequest({
2089
- input: input,
2090
- method: 'post',
2091
- path: '/savedfilters/create',
2092
- options: options
2093
- })];
2094
- });
2095
- });
2096
- };
2097
- VecDBApiClient.prototype.DeleteComponent = function (input, options) {
2098
- return __awaiter(this, void 0, void 0, function () {
2099
- return __generator(this, function (_a) {
2100
- return [2 /*return*/, this.SendRequest({
2101
- input: input,
2102
- method: 'post',
2103
- path: '/components/{component_id}/delete',
2104
- options: options
2105
- })];
2106
- });
2107
- });
2108
- };
2109
- VecDBApiClient.prototype.ListComponents = function (input, options) {
2110
- return __awaiter(this, void 0, void 0, function () {
2111
- return __generator(this, function (_a) {
2112
- return [2 /*return*/, this.SendRequest({
2113
- input: input,
2114
- method: 'post',
2115
- path: '/components/list',
2116
- options: options
2117
- })];
2118
- });
2119
- });
2120
- };
2121
- VecDBApiClient.prototype.UpdateComponent = function (input, options) {
2122
- return __awaiter(this, void 0, void 0, function () {
2123
- return __generator(this, function (_a) {
2124
- return [2 /*return*/, this.SendRequest({
2125
- input: input,
2126
- method: 'post',
2127
- path: '/components/{component_id}/update',
2128
- options: options
2129
- })];
2130
- });
2131
- });
2132
- };
2133
- VecDBApiClient.prototype.GetComponent = function (input, options) {
2134
- return __awaiter(this, void 0, void 0, function () {
2135
- return __generator(this, function (_a) {
2136
- return [2 /*return*/, this.SendRequest({
2137
- input: input,
2138
- method: 'get',
2139
- path: '/components/{component_id}/get',
2140
- options: options
2141
- })];
2142
- });
2143
- });
2144
- };
2145
- VecDBApiClient.prototype.CreateComponent = function (input, options) {
2146
- return __awaiter(this, void 0, void 0, function () {
2147
- return __generator(this, function (_a) {
2148
- return [2 /*return*/, this.SendRequest({
2149
- input: input,
2150
- method: 'post',
2151
- path: '/components/create',
2152
- options: options
2153
- })];
2154
- });
2155
- });
2156
- };
2157
- VecDBApiClient.prototype.ListDatasetEditorHistorys = function (input, options) {
2158
- return __awaiter(this, void 0, void 0, function () {
2159
- return __generator(this, function (_a) {
2160
- return [2 /*return*/, this.SendRequest({
2161
- input: input,
2162
- method: 'post',
2163
- path: '/datasets/{dataset_id}/editor/history/list',
2164
- options: options
2165
- })];
2166
- });
2167
- });
2168
- };
2169
- VecDBApiClient.prototype.CreateDatasetEditorHistory = function (input, options) {
2170
- return __awaiter(this, void 0, void 0, function () {
2171
- return __generator(this, function (_a) {
2172
- return [2 /*return*/, this.SendRequest({
2173
- input: input,
2174
- method: 'post',
2175
- path: '/datasets/{dataset_id}/editor/history/create',
2176
- options: options
2177
- })];
2178
- });
2179
- });
2180
- };
2181
- VecDBApiClient.prototype.ListEditorConfigurations = function (input, options) {
2182
- return __awaiter(this, void 0, void 0, function () {
2183
- return __generator(this, function (_a) {
2184
- return [2 /*return*/, this.SendRequest({
2185
- input: input,
2186
- method: 'post',
2187
- path: '/editor/configuration/list',
2188
- options: options
2189
- })];
2190
- });
2191
- });
2192
- };
2193
- VecDBApiClient.prototype.CreateEditorConfiguration = function (input, options) {
2194
- return __awaiter(this, void 0, void 0, function () {
2195
- return __generator(this, function (_a) {
2196
- return [2 /*return*/, this.SendRequest({
2197
- input: input,
2198
- method: 'post',
2199
- path: '/editor/configuration/create',
2200
- options: options
2201
- })];
2202
- });
2203
- });
2204
- };
2205
- VecDBApiClient.prototype.UpdateEditorConfiguration = function (input, options) {
2206
- return __awaiter(this, void 0, void 0, function () {
2207
- return __generator(this, function (_a) {
2208
- return [2 /*return*/, this.SendRequest({
2209
- input: input,
2210
- method: 'post',
2211
- path: '/editor/configuration/{editorconfiguration_id}/update',
2212
- options: options
2213
- })];
2214
- });
2215
- });
2216
- };
2217
- VecDBApiClient.prototype.DeleteEditorConfiguration = function (input, options) {
2218
- return __awaiter(this, void 0, void 0, function () {
2219
- return __generator(this, function (_a) {
2220
- return [2 /*return*/, this.SendRequest({
2221
- input: input,
2222
- method: 'post',
2223
- path: '/editor/configuration/{editorconfiguration_id}/delete',
2224
- options: options
2225
- })];
2226
- });
2227
- });
2228
- };
2229
- VecDBApiClient.prototype.GetEditorConfiguration = function (input, options) {
2230
- return __awaiter(this, void 0, void 0, function () {
2231
- return __generator(this, function (_a) {
2232
- return [2 /*return*/, this.SendRequest({
2233
- input: input,
2234
- method: 'get',
2235
- path: '/editor/configuration/{editorconfiguration_id}/get',
2236
- options: options
2237
- })];
2238
- });
2239
- });
2240
- };
2241
- VecDBApiClient.prototype.ListKeyphrases = function (input, options) {
2242
- return __awaiter(this, void 0, void 0, function () {
2243
- return __generator(this, function (_a) {
2244
- return [2 /*return*/, this.SendRequest({
2245
- input: input,
2246
- method: 'post',
2247
- path: '/datasets/{dataset_id}/fields/{field}/keyphrase/list',
2248
- options: options
2249
- })];
2250
- });
2251
- });
2252
- };
2253
- VecDBApiClient.prototype.UpdateKeyphrase = function (input, options) {
2254
- return __awaiter(this, void 0, void 0, function () {
2255
- return __generator(this, function (_a) {
2256
- return [2 /*return*/, this.SendRequest({
2257
- input: input,
2258
- method: 'post',
2259
- path: '/datasets/{dataset_id}/fields/{field}/keyphrase/{keyphrase_id}/update',
2260
- options: options
2261
- })];
2262
- });
2263
- });
2264
- };
2265
- VecDBApiClient.prototype.DeleteKeyphrase = function (input, options) {
2266
- return __awaiter(this, void 0, void 0, function () {
2267
- return __generator(this, function (_a) {
2268
- return [2 /*return*/, this.SendRequest({
2269
- input: input,
2270
- method: 'post',
2271
- path: '/datasets/{dataset_id}/fields/{field}/keyphrase/{keyphrase_id}/delete',
2272
- options: options
2273
- })];
2274
- });
2275
- });
2276
- };
2277
- VecDBApiClient.prototype.GetKeyphrase = function (input, options) {
2278
- return __awaiter(this, void 0, void 0, function () {
2279
- return __generator(this, function (_a) {
2280
- return [2 /*return*/, this.SendRequest({
2281
- input: input,
2282
- method: 'get',
2283
- path: '/datasets/{dataset_id}/fields/{field}/keyphrase/{keyphrase_id}/get',
2284
- options: options
2285
- })];
2286
- });
2287
- });
2288
- };
2289
- VecDBApiClient.prototype.BulkUpdateKeyphrases = function (input, options) {
2290
- return __awaiter(this, void 0, void 0, function () {
2291
- return __generator(this, function (_a) {
2292
- return [2 /*return*/, this.SendRequest({
2293
- input: input,
2294
- method: 'post',
2295
- path: '/datasets/{dataset_id}/fields/{field}/keyphrase/bulk_update',
2296
- options: options
2297
- })];
2298
- });
2299
- });
2300
- };
2301
- VecDBApiClient.prototype.BulkDeleteKeyphrases = function (input, options) {
2302
- return __awaiter(this, void 0, void 0, function () {
2303
- return __generator(this, function (_a) {
2304
- return [2 /*return*/, this.SendRequest({
2305
- input: input,
2306
- method: 'post',
2307
- path: '/datasets/{dataset_id}/fields/{field}/keyphrase/bulk_delete',
2308
- options: options
2309
- })];
2310
- });
2311
- });
2312
- };
2313
- VecDBApiClient.prototype.ListTaxonomys = function (input, options) {
2314
- return __awaiter(this, void 0, void 0, function () {
2315
- return __generator(this, function (_a) {
2316
- return [2 /*return*/, this.SendRequest({
2317
- input: input,
2318
- method: 'post',
2319
- path: '/taxonomys/list',
2320
- options: options
2321
- })];
2322
- });
2323
- });
2324
- };
2325
- VecDBApiClient.prototype.UpdateTaxonomy = function (input, options) {
2326
- return __awaiter(this, void 0, void 0, function () {
2327
- return __generator(this, function (_a) {
2328
- return [2 /*return*/, this.SendRequest({
2329
- input: input,
2330
- method: 'post',
2331
- path: '/taxonomys/{taxonomy_id}/update',
2332
- options: options
2333
- })];
2334
- });
2335
- });
2336
- };
2337
- VecDBApiClient.prototype.DeleteTaxonomy = function (input, options) {
2338
- return __awaiter(this, void 0, void 0, function () {
2339
- return __generator(this, function (_a) {
2340
- return [2 /*return*/, this.SendRequest({
2341
- input: input,
2342
- method: 'post',
2343
- path: '/taxonomys/{taxonomy_id}/delete',
2344
- options: options
2345
- })];
2346
- });
2347
- });
2348
- };
2349
- VecDBApiClient.prototype.GetTaxonomy = function (input, options) {
2350
- return __awaiter(this, void 0, void 0, function () {
2351
- return __generator(this, function (_a) {
2352
- return [2 /*return*/, this.SendRequest({
2353
- input: input,
2354
- method: 'get',
2355
- path: '/taxonomys/{taxonomy_id}/get',
2356
- options: options
2357
- })];
2358
- });
2359
- });
2360
- };
2361
- VecDBApiClient.prototype.CreateTaxonomy = function (input, options) {
2362
- return __awaiter(this, void 0, void 0, function () {
2363
- return __generator(this, function (_a) {
2364
- return [2 /*return*/, this.SendRequest({
2365
- input: input,
2366
- method: 'post',
2367
- path: '/taxonomys/create',
2368
- options: options
2369
- })];
2370
- });
2371
- });
2372
- };
2373
- VecDBApiClient.prototype.DeleteFavouriteDataset = function (input, options) {
2374
- return __awaiter(this, void 0, void 0, function () {
2375
- return __generator(this, function (_a) {
2376
- return [2 /*return*/, this.SendRequest({
2377
- input: input,
2378
- method: 'post',
2379
- path: '/datasets/favourites/{favouritedataset_id}/delete',
2380
- options: options
2381
- })];
2382
- });
2383
- });
2384
- };
2385
- VecDBApiClient.prototype.ListFavouriteDatasets = function (input, options) {
2386
- return __awaiter(this, void 0, void 0, function () {
2387
- return __generator(this, function (_a) {
2388
- return [2 /*return*/, this.SendRequest({
2389
- input: input,
2390
- method: 'post',
2391
- path: '/datasets/favourites/list',
2392
- options: options
2393
- })];
2394
- });
2395
- });
2396
- };
2397
- VecDBApiClient.prototype.UpdateFavouriteDataset = function (input, options) {
2398
- return __awaiter(this, void 0, void 0, function () {
2399
- return __generator(this, function (_a) {
2400
- return [2 /*return*/, this.SendRequest({
2401
- input: input,
2402
- method: 'post',
2403
- path: '/datasets/favourites/{favouritedataset_id}/update',
2404
- options: options
2405
- })];
2406
- });
2407
- });
2408
- };
2409
- VecDBApiClient.prototype.DeleteFavouriteDeployable = function (input, options) {
2410
- return __awaiter(this, void 0, void 0, function () {
2411
- return __generator(this, function (_a) {
2412
- return [2 /*return*/, this.SendRequest({
2413
- input: input,
2414
- method: 'post',
2415
- path: '/deployable/favourites/{favouritedeployable_id}/delete',
2416
- options: options
2417
- })];
2418
- });
2419
- });
2420
- };
2421
- VecDBApiClient.prototype.ListFavouriteDeployables = function (input, options) {
2422
- return __awaiter(this, void 0, void 0, function () {
2423
- return __generator(this, function (_a) {
2424
- return [2 /*return*/, this.SendRequest({
2425
- input: input,
2426
- method: 'post',
2427
- path: '/deployable/favourites/list',
2428
- options: options
2429
- })];
2430
- });
2431
- });
2432
- };
2433
- VecDBApiClient.prototype.UpdateFavouriteDeployable = function (input, options) {
2434
- return __awaiter(this, void 0, void 0, function () {
2435
- return __generator(this, function (_a) {
2436
- return [2 /*return*/, this.SendRequest({
2437
- input: input,
2438
- method: 'post',
2439
- path: '/deployable/favourites/{favouritedeployable_id}/update',
2440
- options: options
2441
- })];
2442
- });
2443
- });
2444
- };
2445
- VecDBApiClient.prototype.DeleteUserOnboardingFlag = function (input, options) {
2446
- return __awaiter(this, void 0, void 0, function () {
2447
- return __generator(this, function (_a) {
2448
- return [2 /*return*/, this.SendRequest({
2449
- input: input,
2450
- method: 'post',
2451
- path: '/useronboardingflags/{useronboardingflag_id}/delete',
2452
- options: options
2453
- })];
2454
- });
2455
- });
2456
- };
2457
- VecDBApiClient.prototype.ListUserOnboardingFlags = function (input, options) {
2458
- return __awaiter(this, void 0, void 0, function () {
2459
- return __generator(this, function (_a) {
2460
- return [2 /*return*/, this.SendRequest({
2461
- input: input,
2462
- method: 'post',
2463
- path: '/useronboardingflags/list',
2464
- options: options
2465
- })];
2466
- });
2467
- });
2468
- };
2469
- VecDBApiClient.prototype.UpdateUserOnboardingFlag = function (input, options) {
2470
- return __awaiter(this, void 0, void 0, function () {
2471
- return __generator(this, function (_a) {
2472
- return [2 /*return*/, this.SendRequest({
2473
- input: input,
2474
- method: 'post',
2475
- path: '/useronboardingflags/{useronboardingflag_id}/update',
2476
- options: options
2477
- })];
2478
- });
2479
- });
2480
- };
2481
- VecDBApiClient.prototype.GetTranscriptTagList = function (input, options) {
2482
- return __awaiter(this, void 0, void 0, function () {
2483
- return __generator(this, function (_a) {
2484
- return [2 /*return*/, this.SendRequest({
2485
- input: input,
2486
- method: 'get',
2487
- path: '/datasets/{dataset_id}/fields/{field}/transcript_tags/{transcripttaglist_id}/get',
2488
- options: options
2489
- })];
2490
- });
2491
- });
2492
- };
2493
- VecDBApiClient.prototype.UpdateTranscriptTagList = function (input, options) {
2494
- return __awaiter(this, void 0, void 0, function () {
2495
- return __generator(this, function (_a) {
2496
- return [2 /*return*/, this.SendRequest({
2497
- input: input,
2498
- method: 'post',
2499
- path: '/datasets/{dataset_id}/fields/{field}/transcript_tags/{transcripttaglist_id}/update',
2500
- options: options
2501
- })];
2502
- });
2503
- });
2504
- };
2505
- VecDBApiClient.prototype.ListTranscriptTagLists = function (input, options) {
2506
- return __awaiter(this, void 0, void 0, function () {
2507
- return __generator(this, function (_a) {
2508
- return [2 /*return*/, this.SendRequest({
2509
- input: input,
2510
- method: 'post',
2511
- path: '/datasets/{dataset_id}/fields/{field}/transcript_tags/list',
2512
- options: options
2513
- })];
2514
- });
2515
- });
2516
- };
2517
- VecDBApiClient.prototype.ListTags = function (input, options) {
2518
- return __awaiter(this, void 0, void 0, function () {
2519
- return __generator(this, function (_a) {
2520
- return [2 /*return*/, this.SendRequest({
2521
- input: input,
2522
- method: 'post',
2523
- path: '/datasets/{dataset_id}/field/{tag_field}/tags/list',
2524
- options: options
2525
- })];
2526
- });
2527
- });
2528
- };
2529
- VecDBApiClient.prototype.DeleteTag = function (input, options) {
2530
- return __awaiter(this, void 0, void 0, function () {
2531
- return __generator(this, function (_a) {
2532
- return [2 /*return*/, this.SendRequest({
2533
- input: input,
2534
- method: 'post',
2535
- path: '/datasets/{dataset_id}/field/{tag_field}/tags/{tag_id}/delete',
2536
- options: options
2537
- })];
2538
- });
2539
- });
2540
- };
2541
- VecDBApiClient.prototype.GetTag = function (input, options) {
2542
- return __awaiter(this, void 0, void 0, function () {
2543
- return __generator(this, function (_a) {
2544
- return [2 /*return*/, this.SendRequest({
2545
- input: input,
2546
- method: 'get',
2547
- path: '/datasets/{dataset_id}/field/{tag_field}/tags/{tag_id}/get',
2548
- options: options
2549
- })];
2550
- });
2551
- });
2552
- };
2553
- VecDBApiClient.prototype.BulkDeleteTags = function (input, options) {
2554
- return __awaiter(this, void 0, void 0, function () {
2555
- return __generator(this, function (_a) {
2556
- return [2 /*return*/, this.SendRequest({
2557
- input: input,
2558
- method: 'post',
2559
- path: '/datasets/{dataset_id}/field/{tag_field}/tags/bulk_delete',
2560
- options: options
2561
- })];
2562
- });
2563
- });
2564
- };
2565
- VecDBApiClient.prototype.BulkUpdateTags = function (input, options) {
2566
- return __awaiter(this, void 0, void 0, function () {
2567
- return __generator(this, function (_a) {
2568
- return [2 /*return*/, this.SendRequest({
2569
- input: input,
2570
- method: 'post',
2571
- path: '/datasets/{dataset_id}/field/{tag_field}/tags/bulk_update',
2572
- options: options
2573
- })];
2574
- });
2575
- });
2576
- };
2577
- return VecDBApiClient;
2578
- }(_GenericClient));
2579
- export { VecDBApiClient };