@relevanceai/sdk 2.0.0 → 2.0.2
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.
- package/dist-cjs/generated/VecDBApi.js +1682 -0
- package/dist-cjs/generated/_VecDBApiSchemaTypes.js +3 -0
- package/dist-cjs/generated/index.js +17 -0
- package/dist-cjs/index.js +18 -0
- package/dist-cjs/services/discovery/Dataset.js +126 -0
- package/dist-cjs/services/discovery/index.js +159 -0
- package/dist-cjs/services/index.js +18 -0
- package/dist-cjs/services/vecdb/Dataset.js +137 -0
- package/dist-cjs/services/vecdb/index.js +137 -0
- package/dist-cjs/shared/BaseClient.js +35 -0
- package/dist-cjs/shared/generate.js +90 -0
- package/dist-cjs/shared/serviceConfigs.js +10 -0
- package/dist-es/generated/VecDBApi.js +2579 -0
- package/dist-es/generated/_VecDBApiSchemaTypes.js +2 -0
- package/dist-es/generated/index.js +1 -0
- package/dist-es/index.js +2 -0
- package/dist-es/services/discovery/Dataset.js +126 -0
- package/dist-es/services/discovery/index.js +159 -0
- package/dist-es/services/index.js +2 -0
- package/dist-es/services/vecdb/Dataset.js +356 -0
- package/dist-es/services/vecdb/index.js +184 -0
- package/dist-es/shared/BaseClient.js +82 -0
- package/dist-es/shared/generate.js +224 -0
- package/dist-es/shared/serviceConfigs.js +7 -0
- package/dist-types/generated/VecDBApi.d.ts +632 -0
- package/dist-types/generated/_VecDBApiSchemaTypes.d.ts +22299 -0
- package/dist-types/generated/index.d.ts +1 -0
- package/dist-types/index.d.ts +2 -0
- package/dist-types/services/discovery/Dataset.d.ts +0 -0
- package/dist-types/services/discovery/index.d.ts +0 -0
- package/dist-types/services/index.d.ts +1 -0
- package/dist-types/services/vecdb/Dataset.d.ts +52 -0
- package/dist-types/services/vecdb/index.d.ts +44 -0
- package/dist-types/shared/BaseClient.d.ts +28 -0
- package/dist-types/shared/generate.d.ts +1 -0
- package/dist-types/shared/serviceConfigs.d.ts +8 -0
- package/package.json +1 -1
|
@@ -0,0 +1,1682 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.VecDBApiClient = void 0;
|
|
4
|
+
const BaseClient_1 = require("../shared/BaseClient");
|
|
5
|
+
class VecDBApiClient extends BaseClient_1._GenericClient {
|
|
6
|
+
constructor(config) {
|
|
7
|
+
super({ ...config, service_name: 'VecDBApi' });
|
|
8
|
+
}
|
|
9
|
+
async CreateDeployable(input, options) {
|
|
10
|
+
return this.SendRequest({
|
|
11
|
+
input,
|
|
12
|
+
method: 'post',
|
|
13
|
+
path: '/deployables/create',
|
|
14
|
+
options
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
async GetDeployable(input, options) {
|
|
18
|
+
return this.SendRequest({
|
|
19
|
+
input,
|
|
20
|
+
method: 'get',
|
|
21
|
+
path: '/deployables/{deployable_id}/get',
|
|
22
|
+
options
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
async UpdateDeployable(input, options) {
|
|
26
|
+
return this.SendRequest({
|
|
27
|
+
input,
|
|
28
|
+
method: 'post',
|
|
29
|
+
path: '/deployables/{deployable_id}/update',
|
|
30
|
+
options
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
async DeleteDeployable(input, options) {
|
|
34
|
+
return this.SendRequest({
|
|
35
|
+
input,
|
|
36
|
+
method: 'post',
|
|
37
|
+
path: '/deployables/delete',
|
|
38
|
+
options
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
async CreateDeployableKey(input, options) {
|
|
42
|
+
return this.SendRequest({
|
|
43
|
+
input,
|
|
44
|
+
method: 'post',
|
|
45
|
+
path: '/deployables/{deployable_id}/share',
|
|
46
|
+
options
|
|
47
|
+
});
|
|
48
|
+
}
|
|
49
|
+
async CreateDeployableInvite(input, options) {
|
|
50
|
+
return this.SendRequest({
|
|
51
|
+
input,
|
|
52
|
+
method: 'post',
|
|
53
|
+
path: '/deployables/{deployable_id}/invite',
|
|
54
|
+
options
|
|
55
|
+
});
|
|
56
|
+
}
|
|
57
|
+
async UpdateUsersDeployablePermissions(input, options) {
|
|
58
|
+
return this.SendRequest({
|
|
59
|
+
input,
|
|
60
|
+
method: 'post',
|
|
61
|
+
path: '/deployables/{deployable_id}/users/{user_id}/update',
|
|
62
|
+
options
|
|
63
|
+
});
|
|
64
|
+
}
|
|
65
|
+
async DeleteDeployableKey(input, options) {
|
|
66
|
+
return this.SendRequest({
|
|
67
|
+
input,
|
|
68
|
+
method: 'post',
|
|
69
|
+
path: '/deployables/{deployable_id}/private',
|
|
70
|
+
options
|
|
71
|
+
});
|
|
72
|
+
}
|
|
73
|
+
async ListDeployables(input, options) {
|
|
74
|
+
return this.SendRequest({
|
|
75
|
+
input,
|
|
76
|
+
method: 'get',
|
|
77
|
+
path: '/deployables/list',
|
|
78
|
+
options
|
|
79
|
+
});
|
|
80
|
+
}
|
|
81
|
+
async DeleteDeployableGroup(input, options) {
|
|
82
|
+
return this.SendRequest({
|
|
83
|
+
input,
|
|
84
|
+
method: 'post',
|
|
85
|
+
path: '/deployablegroups/{deployablegroup_id}/delete',
|
|
86
|
+
options
|
|
87
|
+
});
|
|
88
|
+
}
|
|
89
|
+
async ListDeployableGroups(input, options) {
|
|
90
|
+
return this.SendRequest({
|
|
91
|
+
input,
|
|
92
|
+
method: 'post',
|
|
93
|
+
path: '/deployablegroups/list',
|
|
94
|
+
options
|
|
95
|
+
});
|
|
96
|
+
}
|
|
97
|
+
async CreateDeployableGroup(input, options) {
|
|
98
|
+
return this.SendRequest({
|
|
99
|
+
input,
|
|
100
|
+
method: 'post',
|
|
101
|
+
path: '/deployablegroups/create',
|
|
102
|
+
options
|
|
103
|
+
});
|
|
104
|
+
}
|
|
105
|
+
async GetDeployableGroup(input, options) {
|
|
106
|
+
return this.SendRequest({
|
|
107
|
+
input,
|
|
108
|
+
method: 'get',
|
|
109
|
+
path: '/deployablegroups/{deployablegroup_id}/get',
|
|
110
|
+
options
|
|
111
|
+
});
|
|
112
|
+
}
|
|
113
|
+
async UpdateDeployableGroup(input, options) {
|
|
114
|
+
return this.SendRequest({
|
|
115
|
+
input,
|
|
116
|
+
method: 'post',
|
|
117
|
+
path: '/deployablegroups/{deployablegroup_id}/update',
|
|
118
|
+
options
|
|
119
|
+
});
|
|
120
|
+
}
|
|
121
|
+
async CreateDeployableGroupKey(input, options) {
|
|
122
|
+
return this.SendRequest({
|
|
123
|
+
input,
|
|
124
|
+
method: 'post',
|
|
125
|
+
path: '/deployablegroups/{deployablegroup_id}/share',
|
|
126
|
+
options
|
|
127
|
+
});
|
|
128
|
+
}
|
|
129
|
+
async DeleteDeployableGroupKey(input, options) {
|
|
130
|
+
return this.SendRequest({
|
|
131
|
+
input,
|
|
132
|
+
method: 'post',
|
|
133
|
+
path: '/deployablegroups/{deployablegroup_id}/private',
|
|
134
|
+
options
|
|
135
|
+
});
|
|
136
|
+
}
|
|
137
|
+
async CreateProject(input, options) {
|
|
138
|
+
return this.SendRequest({
|
|
139
|
+
input,
|
|
140
|
+
method: 'post',
|
|
141
|
+
path: '/projects/create',
|
|
142
|
+
options
|
|
143
|
+
});
|
|
144
|
+
}
|
|
145
|
+
async UpdateProject(input, options) {
|
|
146
|
+
return this.SendRequest({
|
|
147
|
+
input,
|
|
148
|
+
method: 'post',
|
|
149
|
+
path: '/projects/update',
|
|
150
|
+
options
|
|
151
|
+
});
|
|
152
|
+
}
|
|
153
|
+
async TransferProjectToOrganization(input, options) {
|
|
154
|
+
return this.SendRequest({
|
|
155
|
+
input,
|
|
156
|
+
method: 'post',
|
|
157
|
+
path: '/projects/transfer_to_organization',
|
|
158
|
+
options
|
|
159
|
+
});
|
|
160
|
+
}
|
|
161
|
+
async ListProjects(input, options) {
|
|
162
|
+
return this.SendRequest({
|
|
163
|
+
input,
|
|
164
|
+
method: 'get',
|
|
165
|
+
path: '/projects/list',
|
|
166
|
+
options
|
|
167
|
+
});
|
|
168
|
+
}
|
|
169
|
+
async GetProjectsOrgInfo(input, options) {
|
|
170
|
+
return this.SendRequest({
|
|
171
|
+
input,
|
|
172
|
+
method: 'get',
|
|
173
|
+
path: '/projects/organization_info',
|
|
174
|
+
options
|
|
175
|
+
});
|
|
176
|
+
}
|
|
177
|
+
async ListProjectKeys(input, options) {
|
|
178
|
+
return this.SendRequest({
|
|
179
|
+
input,
|
|
180
|
+
method: 'get',
|
|
181
|
+
path: '/projects/keys/list',
|
|
182
|
+
options
|
|
183
|
+
});
|
|
184
|
+
}
|
|
185
|
+
async GetProjectKey(input, options) {
|
|
186
|
+
return this.SendRequest({
|
|
187
|
+
input,
|
|
188
|
+
method: 'post',
|
|
189
|
+
path: '/projects/keys/get',
|
|
190
|
+
options
|
|
191
|
+
});
|
|
192
|
+
}
|
|
193
|
+
async SetProjectKey(input, options) {
|
|
194
|
+
return this.SendRequest({
|
|
195
|
+
input,
|
|
196
|
+
method: 'post',
|
|
197
|
+
path: '/projects/keys/set',
|
|
198
|
+
options
|
|
199
|
+
});
|
|
200
|
+
}
|
|
201
|
+
async DeleteProjectKey(input, options) {
|
|
202
|
+
return this.SendRequest({
|
|
203
|
+
input,
|
|
204
|
+
method: 'post',
|
|
205
|
+
path: '/projects/keys/delete',
|
|
206
|
+
options
|
|
207
|
+
});
|
|
208
|
+
}
|
|
209
|
+
async CreateUser(input, options) {
|
|
210
|
+
return this.SendRequest({
|
|
211
|
+
input,
|
|
212
|
+
method: 'post',
|
|
213
|
+
path: '/auth/users/create',
|
|
214
|
+
options
|
|
215
|
+
});
|
|
216
|
+
}
|
|
217
|
+
async ListUsers(input, options) {
|
|
218
|
+
return this.SendRequest({
|
|
219
|
+
input,
|
|
220
|
+
method: 'post',
|
|
221
|
+
path: '/auth/users/list',
|
|
222
|
+
options
|
|
223
|
+
});
|
|
224
|
+
}
|
|
225
|
+
async IsUserAuthorized(input, options) {
|
|
226
|
+
return this.SendRequest({
|
|
227
|
+
input,
|
|
228
|
+
method: 'post',
|
|
229
|
+
path: '/auth/is_authorized',
|
|
230
|
+
options
|
|
231
|
+
});
|
|
232
|
+
}
|
|
233
|
+
async GetAuthHeaderInfo(input, options) {
|
|
234
|
+
return this.SendRequest({
|
|
235
|
+
input,
|
|
236
|
+
method: 'get',
|
|
237
|
+
path: '/auth/info',
|
|
238
|
+
options
|
|
239
|
+
});
|
|
240
|
+
}
|
|
241
|
+
async CreateProjectInvite(input, options) {
|
|
242
|
+
return this.SendRequest({
|
|
243
|
+
input,
|
|
244
|
+
method: 'post',
|
|
245
|
+
path: '/auth/invite/create',
|
|
246
|
+
options
|
|
247
|
+
});
|
|
248
|
+
}
|
|
249
|
+
async ListProjectInvites(input, options) {
|
|
250
|
+
return this.SendRequest({
|
|
251
|
+
input,
|
|
252
|
+
method: 'post',
|
|
253
|
+
path: '/auth/invite/list',
|
|
254
|
+
options
|
|
255
|
+
});
|
|
256
|
+
}
|
|
257
|
+
async AcceptProjectInvite(input, options) {
|
|
258
|
+
return this.SendRequest({
|
|
259
|
+
input,
|
|
260
|
+
method: 'post',
|
|
261
|
+
path: '/auth/invite/accept',
|
|
262
|
+
options
|
|
263
|
+
});
|
|
264
|
+
}
|
|
265
|
+
async DeleteProjectInvite(input, options) {
|
|
266
|
+
return this.SendRequest({
|
|
267
|
+
input,
|
|
268
|
+
method: 'post',
|
|
269
|
+
path: '/auth/invite/delete',
|
|
270
|
+
options
|
|
271
|
+
});
|
|
272
|
+
}
|
|
273
|
+
async ResendProjectInvite(input, options) {
|
|
274
|
+
return this.SendRequest({
|
|
275
|
+
input,
|
|
276
|
+
method: 'post',
|
|
277
|
+
path: '/auth/invite/resend',
|
|
278
|
+
options
|
|
279
|
+
});
|
|
280
|
+
}
|
|
281
|
+
async GetUser(input, options) {
|
|
282
|
+
return this.SendRequest({
|
|
283
|
+
input,
|
|
284
|
+
method: 'get',
|
|
285
|
+
path: '/auth/users/{user_id}',
|
|
286
|
+
options
|
|
287
|
+
});
|
|
288
|
+
}
|
|
289
|
+
async UpdateUser(input, options) {
|
|
290
|
+
return this.SendRequest({
|
|
291
|
+
input,
|
|
292
|
+
method: 'post',
|
|
293
|
+
path: '/auth/users/{user_id}/update',
|
|
294
|
+
options
|
|
295
|
+
});
|
|
296
|
+
}
|
|
297
|
+
async DeleteUser(input, options) {
|
|
298
|
+
return this.SendRequest({
|
|
299
|
+
input,
|
|
300
|
+
method: 'post',
|
|
301
|
+
path: '/auth/users/{user_id}/delete',
|
|
302
|
+
options
|
|
303
|
+
});
|
|
304
|
+
}
|
|
305
|
+
async CreateUserKey(input, options) {
|
|
306
|
+
return this.SendRequest({
|
|
307
|
+
input,
|
|
308
|
+
method: 'post',
|
|
309
|
+
path: '/auth/users/{user_id}/keys/create',
|
|
310
|
+
options
|
|
311
|
+
});
|
|
312
|
+
}
|
|
313
|
+
async ListUserKeys(input, options) {
|
|
314
|
+
return this.SendRequest({
|
|
315
|
+
input,
|
|
316
|
+
method: 'post',
|
|
317
|
+
path: '/auth/users/{user_id}/keys/list',
|
|
318
|
+
options
|
|
319
|
+
});
|
|
320
|
+
}
|
|
321
|
+
async DeleteUserKey(input, options) {
|
|
322
|
+
return this.SendRequest({
|
|
323
|
+
input,
|
|
324
|
+
method: 'post',
|
|
325
|
+
path: '/auth/users/{user_id}/keys/delete',
|
|
326
|
+
options
|
|
327
|
+
});
|
|
328
|
+
}
|
|
329
|
+
async InsertClusterCentroids(input, options) {
|
|
330
|
+
return this.SendRequest({
|
|
331
|
+
input,
|
|
332
|
+
method: 'post',
|
|
333
|
+
path: '/datasets/{dataset_id}/cluster/centroids/insert',
|
|
334
|
+
options
|
|
335
|
+
});
|
|
336
|
+
}
|
|
337
|
+
async UpdateClusterCentroids(input, options) {
|
|
338
|
+
return this.SendRequest({
|
|
339
|
+
input,
|
|
340
|
+
method: 'post',
|
|
341
|
+
path: '/datasets/{dataset_id}/cluster/centroids/update',
|
|
342
|
+
options
|
|
343
|
+
});
|
|
344
|
+
}
|
|
345
|
+
async CompareClusterCentroids(input, options) {
|
|
346
|
+
return this.SendRequest({
|
|
347
|
+
input,
|
|
348
|
+
method: 'post',
|
|
349
|
+
path: '/datasets/{dataset_id}/cluster/centroids/compare_centroids',
|
|
350
|
+
options
|
|
351
|
+
});
|
|
352
|
+
}
|
|
353
|
+
async Aggregate(input, options) {
|
|
354
|
+
return this.SendRequest({
|
|
355
|
+
input,
|
|
356
|
+
method: 'post',
|
|
357
|
+
path: '/datasets/{dataset_id}/aggregate',
|
|
358
|
+
options
|
|
359
|
+
});
|
|
360
|
+
}
|
|
361
|
+
async AggregateClusters(input, options) {
|
|
362
|
+
return this.SendRequest({
|
|
363
|
+
input,
|
|
364
|
+
method: 'post',
|
|
365
|
+
path: '/datasets/{dataset_id}/cluster/aggregate',
|
|
366
|
+
options
|
|
367
|
+
});
|
|
368
|
+
}
|
|
369
|
+
async ListClusterFacets(input, options) {
|
|
370
|
+
return this.SendRequest({
|
|
371
|
+
input,
|
|
372
|
+
method: 'post',
|
|
373
|
+
path: '/datasets/{dataset_id}/cluster/facets',
|
|
374
|
+
options
|
|
375
|
+
});
|
|
376
|
+
}
|
|
377
|
+
async ListClosestToCentroids(input, options) {
|
|
378
|
+
return this.SendRequest({
|
|
379
|
+
input,
|
|
380
|
+
method: 'post',
|
|
381
|
+
path: '/datasets/{dataset_id}/cluster/centroids/list_closest_to_center',
|
|
382
|
+
options
|
|
383
|
+
});
|
|
384
|
+
}
|
|
385
|
+
async ListFurthestFromCentroids(input, options) {
|
|
386
|
+
return this.SendRequest({
|
|
387
|
+
input,
|
|
388
|
+
method: 'post',
|
|
389
|
+
path: '/datasets/{dataset_id}/cluster/centroids/list_furthest_from_center',
|
|
390
|
+
options
|
|
391
|
+
});
|
|
392
|
+
}
|
|
393
|
+
async ListCentroids(input, options) {
|
|
394
|
+
return this.SendRequest({
|
|
395
|
+
input,
|
|
396
|
+
method: 'post',
|
|
397
|
+
path: '/datasets/{dataset_id}/cluster/centroids/documents',
|
|
398
|
+
options
|
|
399
|
+
});
|
|
400
|
+
}
|
|
401
|
+
async ListCentroidConfigs(input, options) {
|
|
402
|
+
return this.SendRequest({
|
|
403
|
+
input,
|
|
404
|
+
method: 'get',
|
|
405
|
+
path: '/datasets/{dataset_id}/cluster/centroids/configs/list',
|
|
406
|
+
options
|
|
407
|
+
});
|
|
408
|
+
}
|
|
409
|
+
async DeleteCentroid(input, options) {
|
|
410
|
+
return this.SendRequest({
|
|
411
|
+
input,
|
|
412
|
+
method: 'post',
|
|
413
|
+
path: '/datasets/{dataset_id}/cluster/centroids/{centroid_id}/delete',
|
|
414
|
+
options
|
|
415
|
+
});
|
|
416
|
+
}
|
|
417
|
+
async RealtimeClustering(input, options) {
|
|
418
|
+
return this.SendRequest({
|
|
419
|
+
input,
|
|
420
|
+
method: 'post',
|
|
421
|
+
path: '/datasets/{dataset_id}/cluster/realtime',
|
|
422
|
+
options
|
|
423
|
+
});
|
|
424
|
+
}
|
|
425
|
+
async MergeClusters(input, options) {
|
|
426
|
+
return this.SendRequest({
|
|
427
|
+
input,
|
|
428
|
+
method: 'post',
|
|
429
|
+
path: '/datasets/{dataset_id}/cluster/merge',
|
|
430
|
+
options
|
|
431
|
+
});
|
|
432
|
+
}
|
|
433
|
+
async CreateClusterSummaries(input, options) {
|
|
434
|
+
return this.SendRequest({
|
|
435
|
+
input,
|
|
436
|
+
method: 'post',
|
|
437
|
+
path: '/datasets/{dataset_id}/cluster/centroids/summaries/create',
|
|
438
|
+
options
|
|
439
|
+
});
|
|
440
|
+
}
|
|
441
|
+
async CreateClusterLabels(input, options) {
|
|
442
|
+
return this.SendRequest({
|
|
443
|
+
input,
|
|
444
|
+
method: 'post',
|
|
445
|
+
path: '/datasets/{dataset_id}/cluster/centroids/labels/create',
|
|
446
|
+
options
|
|
447
|
+
});
|
|
448
|
+
}
|
|
449
|
+
async ListClusterSummaries(input, options) {
|
|
450
|
+
return this.SendRequest({
|
|
451
|
+
input,
|
|
452
|
+
method: 'post',
|
|
453
|
+
path: '/datasets/{dataset_id}/cluster/centroids/summaries/list',
|
|
454
|
+
options
|
|
455
|
+
});
|
|
456
|
+
}
|
|
457
|
+
async CreateHierarchicalClusters(input, options) {
|
|
458
|
+
return this.SendRequest({
|
|
459
|
+
input,
|
|
460
|
+
method: 'post',
|
|
461
|
+
path: '/datasets/{dataset_id}/cluster/hierarchical/create',
|
|
462
|
+
options
|
|
463
|
+
});
|
|
464
|
+
}
|
|
465
|
+
async DeleteClusterSummaries(input, options) {
|
|
466
|
+
return this.SendRequest({
|
|
467
|
+
input,
|
|
468
|
+
method: 'post',
|
|
469
|
+
path: '/datasets/{dataset_id}/cluster/centroids/summaries/bulk_delete',
|
|
470
|
+
options
|
|
471
|
+
});
|
|
472
|
+
}
|
|
473
|
+
async EditOneToManyClusters(input, options) {
|
|
474
|
+
return this.SendRequest({
|
|
475
|
+
input,
|
|
476
|
+
method: 'post',
|
|
477
|
+
path: '/datasets/{dataset_id}/cluster/one_to_many/edit',
|
|
478
|
+
options
|
|
479
|
+
});
|
|
480
|
+
}
|
|
481
|
+
async EditListInDocuments(input, options) {
|
|
482
|
+
return this.SendRequest({
|
|
483
|
+
input,
|
|
484
|
+
method: 'post',
|
|
485
|
+
path: '/datasets/{dataset_id}/documents/edit_list',
|
|
486
|
+
options
|
|
487
|
+
});
|
|
488
|
+
}
|
|
489
|
+
async CreateOrganization(input, options) {
|
|
490
|
+
return this.SendRequest({
|
|
491
|
+
input,
|
|
492
|
+
method: 'post',
|
|
493
|
+
path: '/organizations/create',
|
|
494
|
+
options
|
|
495
|
+
});
|
|
496
|
+
}
|
|
497
|
+
async UpdateOrganization(input, options) {
|
|
498
|
+
return this.SendRequest({
|
|
499
|
+
input,
|
|
500
|
+
method: 'post',
|
|
501
|
+
path: '/organizations/{organization_id}/update',
|
|
502
|
+
options
|
|
503
|
+
});
|
|
504
|
+
}
|
|
505
|
+
async UpdateOrganizationAdmin(input, options) {
|
|
506
|
+
return this.SendRequest({
|
|
507
|
+
input,
|
|
508
|
+
method: 'post',
|
|
509
|
+
path: '/admin/organizations/{organization_id}/update',
|
|
510
|
+
options
|
|
511
|
+
});
|
|
512
|
+
}
|
|
513
|
+
async ListOrganizations(input, options) {
|
|
514
|
+
return this.SendRequest({
|
|
515
|
+
input,
|
|
516
|
+
method: 'get',
|
|
517
|
+
path: '/organizations/list',
|
|
518
|
+
options
|
|
519
|
+
});
|
|
520
|
+
}
|
|
521
|
+
async DeleteOrganization(input, options) {
|
|
522
|
+
return this.SendRequest({
|
|
523
|
+
input,
|
|
524
|
+
method: 'post',
|
|
525
|
+
path: '/organizations/{organization_id}/delete',
|
|
526
|
+
options
|
|
527
|
+
});
|
|
528
|
+
}
|
|
529
|
+
async GetOrganization(input, options) {
|
|
530
|
+
return this.SendRequest({
|
|
531
|
+
input,
|
|
532
|
+
method: 'get',
|
|
533
|
+
path: '/organizations/{organization_id}/get',
|
|
534
|
+
options
|
|
535
|
+
});
|
|
536
|
+
}
|
|
537
|
+
async GetOrganizationUsage(input, options) {
|
|
538
|
+
return this.SendRequest({
|
|
539
|
+
input,
|
|
540
|
+
method: 'get',
|
|
541
|
+
path: '/organizations/{organization_id}/usage/get',
|
|
542
|
+
options
|
|
543
|
+
});
|
|
544
|
+
}
|
|
545
|
+
async ListUsersInOrganization(input, options) {
|
|
546
|
+
return this.SendRequest({
|
|
547
|
+
input,
|
|
548
|
+
method: 'get',
|
|
549
|
+
path: '/organizations/{organization_id}/users/list',
|
|
550
|
+
options
|
|
551
|
+
});
|
|
552
|
+
}
|
|
553
|
+
async ListProjectsInOrganization(input, options) {
|
|
554
|
+
return this.SendRequest({
|
|
555
|
+
input,
|
|
556
|
+
method: 'get',
|
|
557
|
+
path: '/organizations/{organization_id}/projects/list',
|
|
558
|
+
options
|
|
559
|
+
});
|
|
560
|
+
}
|
|
561
|
+
async AggregateOrganizationMetrics(input, options) {
|
|
562
|
+
return this.SendRequest({
|
|
563
|
+
input,
|
|
564
|
+
method: 'post',
|
|
565
|
+
path: '/organizations/{organization_id}/metrics/aggregate',
|
|
566
|
+
options
|
|
567
|
+
});
|
|
568
|
+
}
|
|
569
|
+
async ListBillingEvents(input, options) {
|
|
570
|
+
return this.SendRequest({
|
|
571
|
+
input,
|
|
572
|
+
method: 'post',
|
|
573
|
+
path: '/organizations/{organization_id}/billing/events/list',
|
|
574
|
+
options
|
|
575
|
+
});
|
|
576
|
+
}
|
|
577
|
+
async CreateBillingEventAdmin(input, options) {
|
|
578
|
+
return this.SendRequest({
|
|
579
|
+
input,
|
|
580
|
+
method: 'post',
|
|
581
|
+
path: '/admin/organizations/{organization_id}/billing/events/create',
|
|
582
|
+
options
|
|
583
|
+
});
|
|
584
|
+
}
|
|
585
|
+
async GetBillingFrontendLink(input, options) {
|
|
586
|
+
return this.SendRequest({
|
|
587
|
+
input,
|
|
588
|
+
method: 'get',
|
|
589
|
+
path: '/organizations/{organization_id}/billing/get_billing_frontend_link',
|
|
590
|
+
options
|
|
591
|
+
});
|
|
592
|
+
}
|
|
593
|
+
async UpdateOrganizationBilling(input, options) {
|
|
594
|
+
return this.SendRequest({
|
|
595
|
+
input,
|
|
596
|
+
method: 'post',
|
|
597
|
+
path: '/organizations/{organization_id}/billing/update',
|
|
598
|
+
options
|
|
599
|
+
});
|
|
600
|
+
}
|
|
601
|
+
async CreateConnector(input, options) {
|
|
602
|
+
return this.SendRequest({
|
|
603
|
+
input,
|
|
604
|
+
method: 'post',
|
|
605
|
+
path: '/connectors/create',
|
|
606
|
+
options
|
|
607
|
+
});
|
|
608
|
+
}
|
|
609
|
+
async CheckConnection(input, options) {
|
|
610
|
+
return this.SendRequest({
|
|
611
|
+
input,
|
|
612
|
+
method: 'post',
|
|
613
|
+
path: '/connectors/check_connection',
|
|
614
|
+
options
|
|
615
|
+
});
|
|
616
|
+
}
|
|
617
|
+
async GetConnector(input, options) {
|
|
618
|
+
return this.SendRequest({
|
|
619
|
+
input,
|
|
620
|
+
method: 'get',
|
|
621
|
+
path: '/connectors/{connector_id}/get',
|
|
622
|
+
options
|
|
623
|
+
});
|
|
624
|
+
}
|
|
625
|
+
async UpdateConnector(input, options) {
|
|
626
|
+
return this.SendRequest({
|
|
627
|
+
input,
|
|
628
|
+
method: 'post',
|
|
629
|
+
path: '/connectors/{connector_id}/update',
|
|
630
|
+
options
|
|
631
|
+
});
|
|
632
|
+
}
|
|
633
|
+
async TriggerConnector(input, options) {
|
|
634
|
+
return this.SendRequest({
|
|
635
|
+
input,
|
|
636
|
+
method: 'post',
|
|
637
|
+
path: '/connectors/{connector_id}/trigger',
|
|
638
|
+
options
|
|
639
|
+
});
|
|
640
|
+
}
|
|
641
|
+
async DeleteConnector(input, options) {
|
|
642
|
+
return this.SendRequest({
|
|
643
|
+
input,
|
|
644
|
+
method: 'post',
|
|
645
|
+
path: '/connectors/{connector_id}/delete',
|
|
646
|
+
options
|
|
647
|
+
});
|
|
648
|
+
}
|
|
649
|
+
async ListConnectors(input, options) {
|
|
650
|
+
return this.SendRequest({
|
|
651
|
+
input,
|
|
652
|
+
method: 'get',
|
|
653
|
+
path: '/connectors/list',
|
|
654
|
+
options
|
|
655
|
+
});
|
|
656
|
+
}
|
|
657
|
+
async ListConnectorTypes(input, options) {
|
|
658
|
+
return this.SendRequest({
|
|
659
|
+
input,
|
|
660
|
+
method: 'get',
|
|
661
|
+
path: '/connectors/types/list',
|
|
662
|
+
options
|
|
663
|
+
});
|
|
664
|
+
}
|
|
665
|
+
async GetConnectorType(input, options) {
|
|
666
|
+
return this.SendRequest({
|
|
667
|
+
input,
|
|
668
|
+
method: 'get',
|
|
669
|
+
path: '/connectors/types/{connector_id}/get',
|
|
670
|
+
options
|
|
671
|
+
});
|
|
672
|
+
}
|
|
673
|
+
async ListConnectorJobs(input, options) {
|
|
674
|
+
return this.SendRequest({
|
|
675
|
+
input,
|
|
676
|
+
method: 'get',
|
|
677
|
+
path: '/connectors/{connector_id}/jobs/list',
|
|
678
|
+
options
|
|
679
|
+
});
|
|
680
|
+
}
|
|
681
|
+
async GetConnectorJob(input, options) {
|
|
682
|
+
return this.SendRequest({
|
|
683
|
+
input,
|
|
684
|
+
method: 'get',
|
|
685
|
+
path: '/connectors/{connector_id}/jobs/{job_id}/get',
|
|
686
|
+
options
|
|
687
|
+
});
|
|
688
|
+
}
|
|
689
|
+
async TriggerWorkflow(input, options) {
|
|
690
|
+
return this.SendRequest({
|
|
691
|
+
input,
|
|
692
|
+
method: 'post',
|
|
693
|
+
path: '/workflows/trigger',
|
|
694
|
+
options
|
|
695
|
+
});
|
|
696
|
+
}
|
|
697
|
+
async ListWorkflows(input, options) {
|
|
698
|
+
return this.SendRequest({
|
|
699
|
+
input,
|
|
700
|
+
method: 'get',
|
|
701
|
+
path: '/workflows/list',
|
|
702
|
+
options
|
|
703
|
+
});
|
|
704
|
+
}
|
|
705
|
+
async GetWorkflowStatus(input, options) {
|
|
706
|
+
return this.SendRequest({
|
|
707
|
+
input,
|
|
708
|
+
method: 'post',
|
|
709
|
+
path: '/workflows/{workflow_id}/get',
|
|
710
|
+
options
|
|
711
|
+
});
|
|
712
|
+
}
|
|
713
|
+
async GetWorkflowConfig(input, options) {
|
|
714
|
+
return this.SendRequest({
|
|
715
|
+
input,
|
|
716
|
+
method: 'post',
|
|
717
|
+
path: '/workflows/{workflow_id}/config',
|
|
718
|
+
options
|
|
719
|
+
});
|
|
720
|
+
}
|
|
721
|
+
async DeleteWorkflowStatus(input, options) {
|
|
722
|
+
return this.SendRequest({
|
|
723
|
+
input,
|
|
724
|
+
method: 'post',
|
|
725
|
+
path: '/workflows/{workflow_id}/delete',
|
|
726
|
+
options
|
|
727
|
+
});
|
|
728
|
+
}
|
|
729
|
+
async TerminateWorkflow(input, options) {
|
|
730
|
+
return this.SendRequest({
|
|
731
|
+
input,
|
|
732
|
+
method: 'post',
|
|
733
|
+
path: '/workflows/{workflow_id}/terminate',
|
|
734
|
+
options
|
|
735
|
+
});
|
|
736
|
+
}
|
|
737
|
+
async UpsertWorkflowMetadata(input, options) {
|
|
738
|
+
return this.SendRequest({
|
|
739
|
+
input,
|
|
740
|
+
method: 'post',
|
|
741
|
+
path: '/workflows/{workflow_id}/metadata',
|
|
742
|
+
options
|
|
743
|
+
});
|
|
744
|
+
}
|
|
745
|
+
async UpsertWorkflowProgress(input, options) {
|
|
746
|
+
return this.SendRequest({
|
|
747
|
+
input,
|
|
748
|
+
method: 'post',
|
|
749
|
+
path: '/workflows/{workflow_id}/progress',
|
|
750
|
+
options
|
|
751
|
+
});
|
|
752
|
+
}
|
|
753
|
+
async UpsertWorkflowStatus(input, options) {
|
|
754
|
+
return this.SendRequest({
|
|
755
|
+
input,
|
|
756
|
+
method: 'post',
|
|
757
|
+
path: '/workflows/{workflow_id}/status',
|
|
758
|
+
options
|
|
759
|
+
});
|
|
760
|
+
}
|
|
761
|
+
async ListWorkflowTypes(input, options) {
|
|
762
|
+
return this.SendRequest({
|
|
763
|
+
input,
|
|
764
|
+
method: 'get',
|
|
765
|
+
path: '/workflows/types/list',
|
|
766
|
+
options
|
|
767
|
+
});
|
|
768
|
+
}
|
|
769
|
+
async SearchWorkflowTypes(input, options) {
|
|
770
|
+
return this.SendRequest({
|
|
771
|
+
input,
|
|
772
|
+
method: 'post',
|
|
773
|
+
path: '/workflows/types/search',
|
|
774
|
+
options
|
|
775
|
+
});
|
|
776
|
+
}
|
|
777
|
+
async GetWorkflowTypesAsOpenAPI(input, options) {
|
|
778
|
+
return this.SendRequest({
|
|
779
|
+
input,
|
|
780
|
+
method: 'get',
|
|
781
|
+
path: '/workflows/types/openapi',
|
|
782
|
+
options
|
|
783
|
+
});
|
|
784
|
+
}
|
|
785
|
+
async AggregateWorkflowTypes(input, options) {
|
|
786
|
+
return this.SendRequest({
|
|
787
|
+
input,
|
|
788
|
+
method: 'post',
|
|
789
|
+
path: '/workflows/types/aggregate',
|
|
790
|
+
options
|
|
791
|
+
});
|
|
792
|
+
}
|
|
793
|
+
async BulkUpdateWorkflowTypesAdmin(input, options) {
|
|
794
|
+
return this.SendRequest({
|
|
795
|
+
input,
|
|
796
|
+
method: 'post',
|
|
797
|
+
path: '/workflows/types/bulk_update',
|
|
798
|
+
options
|
|
799
|
+
});
|
|
800
|
+
}
|
|
801
|
+
async UpdateWorkflowTypesVersionAliasesAdmin(input, options) {
|
|
802
|
+
return this.SendRequest({
|
|
803
|
+
input,
|
|
804
|
+
method: 'post',
|
|
805
|
+
path: '/workflows/types/version_aliases/update',
|
|
806
|
+
options
|
|
807
|
+
});
|
|
808
|
+
}
|
|
809
|
+
async GetWorkflowTypesVersionAliases(input, options) {
|
|
810
|
+
return this.SendRequest({
|
|
811
|
+
input,
|
|
812
|
+
method: 'post',
|
|
813
|
+
path: '/workflows/types/version_aliases/get',
|
|
814
|
+
options
|
|
815
|
+
});
|
|
816
|
+
}
|
|
817
|
+
async GetWorkflowType(input, options) {
|
|
818
|
+
return this.SendRequest({
|
|
819
|
+
input,
|
|
820
|
+
method: 'get',
|
|
821
|
+
path: '/workflows/types/{workflow_id}/get',
|
|
822
|
+
options
|
|
823
|
+
});
|
|
824
|
+
}
|
|
825
|
+
async ValidateWorkflowParams(input, options) {
|
|
826
|
+
return this.SendRequest({
|
|
827
|
+
input,
|
|
828
|
+
method: 'post',
|
|
829
|
+
path: '/workflows/types/{workflow_id}/validate',
|
|
830
|
+
options
|
|
831
|
+
});
|
|
832
|
+
}
|
|
833
|
+
async Insert(input, options) {
|
|
834
|
+
return this.SendRequest({
|
|
835
|
+
input,
|
|
836
|
+
method: 'post',
|
|
837
|
+
path: '/datasets/{dataset_id}/documents/insert',
|
|
838
|
+
options
|
|
839
|
+
});
|
|
840
|
+
}
|
|
841
|
+
async BulkInsert(input, options) {
|
|
842
|
+
return this.SendRequest({
|
|
843
|
+
input,
|
|
844
|
+
method: 'post',
|
|
845
|
+
path: '/datasets/{dataset_id}/documents/bulk_insert',
|
|
846
|
+
options
|
|
847
|
+
});
|
|
848
|
+
}
|
|
849
|
+
async GetFileUploadUrlsForDataset(input, options) {
|
|
850
|
+
return this.SendRequest({
|
|
851
|
+
input,
|
|
852
|
+
method: 'post',
|
|
853
|
+
path: '/datasets/{dataset_id}/get_file_upload_urls',
|
|
854
|
+
options
|
|
855
|
+
});
|
|
856
|
+
}
|
|
857
|
+
async GetTemporaryFileUploadUrl(input, options) {
|
|
858
|
+
return this.SendRequest({
|
|
859
|
+
input,
|
|
860
|
+
method: 'post',
|
|
861
|
+
path: '/services/get_temporary_file_upload_url',
|
|
862
|
+
options
|
|
863
|
+
});
|
|
864
|
+
}
|
|
865
|
+
async ListFileUploadsForDataset(input, options) {
|
|
866
|
+
return this.SendRequest({
|
|
867
|
+
input,
|
|
868
|
+
method: 'get',
|
|
869
|
+
path: '/datasets/{dataset_id}/list_file_uploads',
|
|
870
|
+
options
|
|
871
|
+
});
|
|
872
|
+
}
|
|
873
|
+
async ParseBlob(input, options) {
|
|
874
|
+
return this.SendRequest({
|
|
875
|
+
input,
|
|
876
|
+
method: 'post',
|
|
877
|
+
path: '/datasets/{dataset_id}/parse_blob',
|
|
878
|
+
options
|
|
879
|
+
});
|
|
880
|
+
}
|
|
881
|
+
async CopyForeignDataset(input, options) {
|
|
882
|
+
return this.SendRequest({
|
|
883
|
+
input,
|
|
884
|
+
method: 'post',
|
|
885
|
+
path: '/admin/copy_foreign_dataset',
|
|
886
|
+
options
|
|
887
|
+
});
|
|
888
|
+
}
|
|
889
|
+
async CreateProjectReadKey(input, options) {
|
|
890
|
+
return this.SendRequest({
|
|
891
|
+
input,
|
|
892
|
+
method: 'post',
|
|
893
|
+
path: '/admin/request_read_api_key',
|
|
894
|
+
options
|
|
895
|
+
});
|
|
896
|
+
}
|
|
897
|
+
async GenerateOnboarding(input, options) {
|
|
898
|
+
return this.SendRequest({
|
|
899
|
+
input,
|
|
900
|
+
method: 'post',
|
|
901
|
+
path: '/onboard/generate',
|
|
902
|
+
options
|
|
903
|
+
});
|
|
904
|
+
}
|
|
905
|
+
async DeleteDataset(input, options) {
|
|
906
|
+
return this.SendRequest({
|
|
907
|
+
input,
|
|
908
|
+
method: 'post',
|
|
909
|
+
path: '/datasets/{dataset_id}/delete',
|
|
910
|
+
options
|
|
911
|
+
});
|
|
912
|
+
}
|
|
913
|
+
async CreateDataset(input, options) {
|
|
914
|
+
return this.SendRequest({
|
|
915
|
+
input,
|
|
916
|
+
method: 'post',
|
|
917
|
+
path: '/datasets/create',
|
|
918
|
+
options
|
|
919
|
+
});
|
|
920
|
+
}
|
|
921
|
+
async GetSchema(input, options) {
|
|
922
|
+
return this.SendRequest({
|
|
923
|
+
input,
|
|
924
|
+
method: 'get',
|
|
925
|
+
path: '/datasets/{dataset_id}/schema',
|
|
926
|
+
options
|
|
927
|
+
});
|
|
928
|
+
}
|
|
929
|
+
async ListDatasets(input, options) {
|
|
930
|
+
return this.SendRequest({
|
|
931
|
+
input,
|
|
932
|
+
method: 'get',
|
|
933
|
+
path: '/datasets/list',
|
|
934
|
+
options
|
|
935
|
+
});
|
|
936
|
+
}
|
|
937
|
+
async CombineDatasets(input, options) {
|
|
938
|
+
return this.SendRequest({
|
|
939
|
+
input,
|
|
940
|
+
method: 'post',
|
|
941
|
+
path: '/datasets/combine',
|
|
942
|
+
options
|
|
943
|
+
});
|
|
944
|
+
}
|
|
945
|
+
async GetCombineJobStatus(input, options) {
|
|
946
|
+
return this.SendRequest({
|
|
947
|
+
input,
|
|
948
|
+
method: 'post',
|
|
949
|
+
path: '/datasets/combine/{job_id}/get',
|
|
950
|
+
options
|
|
951
|
+
});
|
|
952
|
+
}
|
|
953
|
+
async SearchDatasets(input, options) {
|
|
954
|
+
return this.SendRequest({
|
|
955
|
+
input,
|
|
956
|
+
method: 'get',
|
|
957
|
+
path: '/datasets/search',
|
|
958
|
+
options
|
|
959
|
+
});
|
|
960
|
+
}
|
|
961
|
+
async GetFieldHealth(input, options) {
|
|
962
|
+
return this.SendRequest({
|
|
963
|
+
input,
|
|
964
|
+
method: 'get',
|
|
965
|
+
path: '/datasets/{dataset_id}/monitor/health',
|
|
966
|
+
options
|
|
967
|
+
});
|
|
968
|
+
}
|
|
969
|
+
async GetDatasetStats(input, options) {
|
|
970
|
+
return this.SendRequest({
|
|
971
|
+
input,
|
|
972
|
+
method: 'get',
|
|
973
|
+
path: '/datasets/{dataset_id}/monitor/stats',
|
|
974
|
+
options
|
|
975
|
+
});
|
|
976
|
+
}
|
|
977
|
+
async GetVectorMappings(input, options) {
|
|
978
|
+
return this.SendRequest({
|
|
979
|
+
input,
|
|
980
|
+
method: 'get',
|
|
981
|
+
path: '/datasets/{dataset_id}/vector_mappings',
|
|
982
|
+
options
|
|
983
|
+
});
|
|
984
|
+
}
|
|
985
|
+
async GetDatasetDetails(input, options) {
|
|
986
|
+
return this.SendRequest({
|
|
987
|
+
input,
|
|
988
|
+
method: 'post',
|
|
989
|
+
path: '/datasets/{dataset_id}/details',
|
|
990
|
+
options
|
|
991
|
+
});
|
|
992
|
+
}
|
|
993
|
+
async GetDocument(input, options) {
|
|
994
|
+
return this.SendRequest({
|
|
995
|
+
input,
|
|
996
|
+
method: 'get',
|
|
997
|
+
path: '/datasets/{dataset_id}/documents/get',
|
|
998
|
+
options
|
|
999
|
+
});
|
|
1000
|
+
}
|
|
1001
|
+
async DeleteDocument(input, options) {
|
|
1002
|
+
return this.SendRequest({
|
|
1003
|
+
input,
|
|
1004
|
+
method: 'post',
|
|
1005
|
+
path: '/datasets/{dataset_id}/documents/delete',
|
|
1006
|
+
options
|
|
1007
|
+
});
|
|
1008
|
+
}
|
|
1009
|
+
async UpsertDatasetSettings(input, options) {
|
|
1010
|
+
return this.SendRequest({
|
|
1011
|
+
input,
|
|
1012
|
+
method: 'post',
|
|
1013
|
+
path: '/datasets/{dataset_id}/settings',
|
|
1014
|
+
options
|
|
1015
|
+
});
|
|
1016
|
+
}
|
|
1017
|
+
async GetDatasetSettings(input, options) {
|
|
1018
|
+
return this.SendRequest({
|
|
1019
|
+
input,
|
|
1020
|
+
method: 'get',
|
|
1021
|
+
path: '/datasets/{dataset_id}/settings',
|
|
1022
|
+
options
|
|
1023
|
+
});
|
|
1024
|
+
}
|
|
1025
|
+
async UpsertDatasetMetadata(input, options) {
|
|
1026
|
+
return this.SendRequest({
|
|
1027
|
+
input,
|
|
1028
|
+
method: 'post',
|
|
1029
|
+
path: '/datasets/{dataset_id}/metadata',
|
|
1030
|
+
options
|
|
1031
|
+
});
|
|
1032
|
+
}
|
|
1033
|
+
async GetDatasetMetadata(input, options) {
|
|
1034
|
+
return this.SendRequest({
|
|
1035
|
+
input,
|
|
1036
|
+
method: 'get',
|
|
1037
|
+
path: '/datasets/{dataset_id}/metadata',
|
|
1038
|
+
options
|
|
1039
|
+
});
|
|
1040
|
+
}
|
|
1041
|
+
async Update(input, options) {
|
|
1042
|
+
return this.SendRequest({
|
|
1043
|
+
input,
|
|
1044
|
+
method: 'post',
|
|
1045
|
+
path: '/datasets/{dataset_id}/documents/update',
|
|
1046
|
+
options
|
|
1047
|
+
});
|
|
1048
|
+
}
|
|
1049
|
+
async DeleteDocumentFields(input, options) {
|
|
1050
|
+
return this.SendRequest({
|
|
1051
|
+
input,
|
|
1052
|
+
method: 'post',
|
|
1053
|
+
path: '/datasets/{dataset_id}/documents/delete_fields',
|
|
1054
|
+
options
|
|
1055
|
+
});
|
|
1056
|
+
}
|
|
1057
|
+
async BulkUpdate(input, options) {
|
|
1058
|
+
return this.SendRequest({
|
|
1059
|
+
input,
|
|
1060
|
+
method: 'post',
|
|
1061
|
+
path: '/datasets/{dataset_id}/documents/bulk_update',
|
|
1062
|
+
options
|
|
1063
|
+
});
|
|
1064
|
+
}
|
|
1065
|
+
async UpdateWhere(input, options) {
|
|
1066
|
+
return this.SendRequest({
|
|
1067
|
+
input,
|
|
1068
|
+
method: 'post',
|
|
1069
|
+
path: '/datasets/{dataset_id}/documents/update_where',
|
|
1070
|
+
options
|
|
1071
|
+
});
|
|
1072
|
+
}
|
|
1073
|
+
async AppendTags(input, options) {
|
|
1074
|
+
return this.SendRequest({
|
|
1075
|
+
input,
|
|
1076
|
+
method: 'post',
|
|
1077
|
+
path: '/datasets/{dataset_id}/tags/append',
|
|
1078
|
+
options
|
|
1079
|
+
});
|
|
1080
|
+
}
|
|
1081
|
+
async DeleteTags(input, options) {
|
|
1082
|
+
return this.SendRequest({
|
|
1083
|
+
input,
|
|
1084
|
+
method: 'post',
|
|
1085
|
+
path: '/datasets/{dataset_id}/tags/delete',
|
|
1086
|
+
options
|
|
1087
|
+
});
|
|
1088
|
+
}
|
|
1089
|
+
async MergeTags(input, options) {
|
|
1090
|
+
return this.SendRequest({
|
|
1091
|
+
input,
|
|
1092
|
+
method: 'post',
|
|
1093
|
+
path: '/datasets/{dataset_id}/tags/merge',
|
|
1094
|
+
options
|
|
1095
|
+
});
|
|
1096
|
+
}
|
|
1097
|
+
async EditTags(input, options) {
|
|
1098
|
+
return this.SendRequest({
|
|
1099
|
+
input,
|
|
1100
|
+
method: 'post',
|
|
1101
|
+
path: '/datasets/{dataset_id}/tags/edit',
|
|
1102
|
+
options
|
|
1103
|
+
});
|
|
1104
|
+
}
|
|
1105
|
+
async ListFacets(input, options) {
|
|
1106
|
+
return this.SendRequest({
|
|
1107
|
+
input,
|
|
1108
|
+
method: 'post',
|
|
1109
|
+
path: '/datasets/{dataset_id}/facets',
|
|
1110
|
+
options
|
|
1111
|
+
});
|
|
1112
|
+
}
|
|
1113
|
+
async GetWhere(input, options) {
|
|
1114
|
+
return this.SendRequest({
|
|
1115
|
+
input,
|
|
1116
|
+
method: 'post',
|
|
1117
|
+
path: '/datasets/{dataset_id}/documents/get_where',
|
|
1118
|
+
options
|
|
1119
|
+
});
|
|
1120
|
+
}
|
|
1121
|
+
async PaginateDocuments(input, options) {
|
|
1122
|
+
return this.SendRequest({
|
|
1123
|
+
input,
|
|
1124
|
+
method: 'post',
|
|
1125
|
+
path: '/datasets/{dataset_id}/documents/paginate',
|
|
1126
|
+
options
|
|
1127
|
+
});
|
|
1128
|
+
}
|
|
1129
|
+
async CreateDatasetSummary(input, options) {
|
|
1130
|
+
return this.SendRequest({
|
|
1131
|
+
input,
|
|
1132
|
+
method: 'post',
|
|
1133
|
+
path: '/datasets/{dataset_id}/summaries/create',
|
|
1134
|
+
options
|
|
1135
|
+
});
|
|
1136
|
+
}
|
|
1137
|
+
async ListDatasetSummaryHistory(input, options) {
|
|
1138
|
+
return this.SendRequest({
|
|
1139
|
+
input,
|
|
1140
|
+
method: 'get',
|
|
1141
|
+
path: '/datasets/{dataset_id}/summaries/history/list',
|
|
1142
|
+
options
|
|
1143
|
+
});
|
|
1144
|
+
}
|
|
1145
|
+
async BulkGetDocuments(input, options) {
|
|
1146
|
+
return this.SendRequest({
|
|
1147
|
+
input,
|
|
1148
|
+
method: 'post',
|
|
1149
|
+
path: '/datasets/{dataset_id}/documents/bulk_get',
|
|
1150
|
+
options
|
|
1151
|
+
});
|
|
1152
|
+
}
|
|
1153
|
+
async BulkDeleteDocuments(input, options) {
|
|
1154
|
+
return this.SendRequest({
|
|
1155
|
+
input,
|
|
1156
|
+
method: 'post',
|
|
1157
|
+
path: '/datasets/{dataset_id}/documents/bulk_delete',
|
|
1158
|
+
options
|
|
1159
|
+
});
|
|
1160
|
+
}
|
|
1161
|
+
async ListDocuments(input, options) {
|
|
1162
|
+
return this.SendRequest({
|
|
1163
|
+
input,
|
|
1164
|
+
method: 'get',
|
|
1165
|
+
path: '/datasets/{dataset_id}/documents/list',
|
|
1166
|
+
options
|
|
1167
|
+
});
|
|
1168
|
+
}
|
|
1169
|
+
async DeleteWhere(input, options) {
|
|
1170
|
+
return this.SendRequest({
|
|
1171
|
+
input,
|
|
1172
|
+
method: 'post',
|
|
1173
|
+
path: '/datasets/{dataset_id}/documents/delete_where',
|
|
1174
|
+
options
|
|
1175
|
+
});
|
|
1176
|
+
}
|
|
1177
|
+
async SimpleSearchPost(input, options) {
|
|
1178
|
+
return this.SendRequest({
|
|
1179
|
+
input,
|
|
1180
|
+
method: 'post',
|
|
1181
|
+
path: '/datasets/{dataset_id}/simple_search',
|
|
1182
|
+
options
|
|
1183
|
+
});
|
|
1184
|
+
}
|
|
1185
|
+
async Search(input, options) {
|
|
1186
|
+
return this.SendRequest({
|
|
1187
|
+
input,
|
|
1188
|
+
method: 'post',
|
|
1189
|
+
path: '/datasets/{dataset_id}/search',
|
|
1190
|
+
options
|
|
1191
|
+
});
|
|
1192
|
+
}
|
|
1193
|
+
async Recommend(input, options) {
|
|
1194
|
+
return this.SendRequest({
|
|
1195
|
+
input,
|
|
1196
|
+
method: 'post',
|
|
1197
|
+
path: '/datasets/{dataset_id}/recommend',
|
|
1198
|
+
options
|
|
1199
|
+
});
|
|
1200
|
+
}
|
|
1201
|
+
async CloneDataset(input, options) {
|
|
1202
|
+
return this.SendRequest({
|
|
1203
|
+
input,
|
|
1204
|
+
method: 'post',
|
|
1205
|
+
path: '/datasets/{dataset_id}/clone',
|
|
1206
|
+
options
|
|
1207
|
+
});
|
|
1208
|
+
}
|
|
1209
|
+
async PredictKNNRegression(input, options) {
|
|
1210
|
+
return this.SendRequest({
|
|
1211
|
+
input,
|
|
1212
|
+
method: 'post',
|
|
1213
|
+
path: '/services/prediction/regression/knn',
|
|
1214
|
+
options
|
|
1215
|
+
});
|
|
1216
|
+
}
|
|
1217
|
+
async PredictKNNFromResults(input, options) {
|
|
1218
|
+
return this.SendRequest({
|
|
1219
|
+
input,
|
|
1220
|
+
method: 'post',
|
|
1221
|
+
path: '/services/prediction/knn_from_results',
|
|
1222
|
+
options
|
|
1223
|
+
});
|
|
1224
|
+
}
|
|
1225
|
+
async BiasEvaluation(input, options) {
|
|
1226
|
+
return this.SendRequest({
|
|
1227
|
+
input,
|
|
1228
|
+
method: 'post',
|
|
1229
|
+
path: '/services/evaluation/bias',
|
|
1230
|
+
options
|
|
1231
|
+
});
|
|
1232
|
+
}
|
|
1233
|
+
async Vectorize(input, options) {
|
|
1234
|
+
return this.SendRequest({
|
|
1235
|
+
input,
|
|
1236
|
+
method: 'post',
|
|
1237
|
+
path: '/services/vectorize',
|
|
1238
|
+
options
|
|
1239
|
+
});
|
|
1240
|
+
}
|
|
1241
|
+
async VectorizeAndInsert(input, options) {
|
|
1242
|
+
return this.SendRequest({
|
|
1243
|
+
input,
|
|
1244
|
+
method: 'post',
|
|
1245
|
+
path: '/services/vectorize/{dataset_id}/vectorize_and_insert',
|
|
1246
|
+
options
|
|
1247
|
+
});
|
|
1248
|
+
}
|
|
1249
|
+
async VectorizeField(input, options) {
|
|
1250
|
+
return this.SendRequest({
|
|
1251
|
+
input,
|
|
1252
|
+
method: 'post',
|
|
1253
|
+
path: '/services/vectorize/{dataset_id}',
|
|
1254
|
+
options
|
|
1255
|
+
});
|
|
1256
|
+
}
|
|
1257
|
+
async ListDatasetWorkflowsByFields(input, options) {
|
|
1258
|
+
return this.SendRequest({
|
|
1259
|
+
input,
|
|
1260
|
+
method: 'get',
|
|
1261
|
+
path: '/datasets/{dataset_id}/workflows_by_fields',
|
|
1262
|
+
options
|
|
1263
|
+
});
|
|
1264
|
+
}
|
|
1265
|
+
async GetAPIHealth(input, options) {
|
|
1266
|
+
return this.SendRequest({
|
|
1267
|
+
input,
|
|
1268
|
+
method: 'get',
|
|
1269
|
+
path: '/health',
|
|
1270
|
+
options
|
|
1271
|
+
});
|
|
1272
|
+
}
|
|
1273
|
+
async DeleteFieldChildren(input, options) {
|
|
1274
|
+
return this.SendRequest({
|
|
1275
|
+
input,
|
|
1276
|
+
method: 'post',
|
|
1277
|
+
path: '/datasets/{dataset_id}/field_children/{fieldchildren_id}/delete',
|
|
1278
|
+
options
|
|
1279
|
+
});
|
|
1280
|
+
}
|
|
1281
|
+
async ListFieldChildrens(input, options) {
|
|
1282
|
+
return this.SendRequest({
|
|
1283
|
+
input,
|
|
1284
|
+
method: 'post',
|
|
1285
|
+
path: '/datasets/{dataset_id}/field_children/list',
|
|
1286
|
+
options
|
|
1287
|
+
});
|
|
1288
|
+
}
|
|
1289
|
+
async UpdateFieldChildren(input, options) {
|
|
1290
|
+
return this.SendRequest({
|
|
1291
|
+
input,
|
|
1292
|
+
method: 'post',
|
|
1293
|
+
path: '/datasets/{dataset_id}/field_children/{fieldchildren_id}/update',
|
|
1294
|
+
options
|
|
1295
|
+
});
|
|
1296
|
+
}
|
|
1297
|
+
async DeleteFavouriteWorkflow(input, options) {
|
|
1298
|
+
return this.SendRequest({
|
|
1299
|
+
input,
|
|
1300
|
+
method: 'post',
|
|
1301
|
+
path: '/workflows/favourites/{favouriteworkflow_id}/delete',
|
|
1302
|
+
options
|
|
1303
|
+
});
|
|
1304
|
+
}
|
|
1305
|
+
async ListFavouriteWorkflows(input, options) {
|
|
1306
|
+
return this.SendRequest({
|
|
1307
|
+
input,
|
|
1308
|
+
method: 'post',
|
|
1309
|
+
path: '/workflows/favourites/list',
|
|
1310
|
+
options
|
|
1311
|
+
});
|
|
1312
|
+
}
|
|
1313
|
+
async UpdateFavouriteWorkflow(input, options) {
|
|
1314
|
+
return this.SendRequest({
|
|
1315
|
+
input,
|
|
1316
|
+
method: 'post',
|
|
1317
|
+
path: '/workflows/favourites/{favouriteworkflow_id}/update',
|
|
1318
|
+
options
|
|
1319
|
+
});
|
|
1320
|
+
}
|
|
1321
|
+
async DeleteSavedFilter(input, options) {
|
|
1322
|
+
return this.SendRequest({
|
|
1323
|
+
input,
|
|
1324
|
+
method: 'post',
|
|
1325
|
+
path: '/savedfilters/{savedfilter_id}/delete',
|
|
1326
|
+
options
|
|
1327
|
+
});
|
|
1328
|
+
}
|
|
1329
|
+
async ListSavedFilters(input, options) {
|
|
1330
|
+
return this.SendRequest({
|
|
1331
|
+
input,
|
|
1332
|
+
method: 'post',
|
|
1333
|
+
path: '/savedfilters/list',
|
|
1334
|
+
options
|
|
1335
|
+
});
|
|
1336
|
+
}
|
|
1337
|
+
async UpdateSavedFilter(input, options) {
|
|
1338
|
+
return this.SendRequest({
|
|
1339
|
+
input,
|
|
1340
|
+
method: 'post',
|
|
1341
|
+
path: '/savedfilters/{savedfilter_id}/update',
|
|
1342
|
+
options
|
|
1343
|
+
});
|
|
1344
|
+
}
|
|
1345
|
+
async GetSavedFilter(input, options) {
|
|
1346
|
+
return this.SendRequest({
|
|
1347
|
+
input,
|
|
1348
|
+
method: 'get',
|
|
1349
|
+
path: '/savedfilters/{savedfilter_id}/get',
|
|
1350
|
+
options
|
|
1351
|
+
});
|
|
1352
|
+
}
|
|
1353
|
+
async CreateSavedFilter(input, options) {
|
|
1354
|
+
return this.SendRequest({
|
|
1355
|
+
input,
|
|
1356
|
+
method: 'post',
|
|
1357
|
+
path: '/savedfilters/create',
|
|
1358
|
+
options
|
|
1359
|
+
});
|
|
1360
|
+
}
|
|
1361
|
+
async DeleteComponent(input, options) {
|
|
1362
|
+
return this.SendRequest({
|
|
1363
|
+
input,
|
|
1364
|
+
method: 'post',
|
|
1365
|
+
path: '/components/{component_id}/delete',
|
|
1366
|
+
options
|
|
1367
|
+
});
|
|
1368
|
+
}
|
|
1369
|
+
async ListComponents(input, options) {
|
|
1370
|
+
return this.SendRequest({
|
|
1371
|
+
input,
|
|
1372
|
+
method: 'post',
|
|
1373
|
+
path: '/components/list',
|
|
1374
|
+
options
|
|
1375
|
+
});
|
|
1376
|
+
}
|
|
1377
|
+
async UpdateComponent(input, options) {
|
|
1378
|
+
return this.SendRequest({
|
|
1379
|
+
input,
|
|
1380
|
+
method: 'post',
|
|
1381
|
+
path: '/components/{component_id}/update',
|
|
1382
|
+
options
|
|
1383
|
+
});
|
|
1384
|
+
}
|
|
1385
|
+
async GetComponent(input, options) {
|
|
1386
|
+
return this.SendRequest({
|
|
1387
|
+
input,
|
|
1388
|
+
method: 'get',
|
|
1389
|
+
path: '/components/{component_id}/get',
|
|
1390
|
+
options
|
|
1391
|
+
});
|
|
1392
|
+
}
|
|
1393
|
+
async CreateComponent(input, options) {
|
|
1394
|
+
return this.SendRequest({
|
|
1395
|
+
input,
|
|
1396
|
+
method: 'post',
|
|
1397
|
+
path: '/components/create',
|
|
1398
|
+
options
|
|
1399
|
+
});
|
|
1400
|
+
}
|
|
1401
|
+
async ListDatasetEditorHistorys(input, options) {
|
|
1402
|
+
return this.SendRequest({
|
|
1403
|
+
input,
|
|
1404
|
+
method: 'post',
|
|
1405
|
+
path: '/datasets/{dataset_id}/editor/history/list',
|
|
1406
|
+
options
|
|
1407
|
+
});
|
|
1408
|
+
}
|
|
1409
|
+
async CreateDatasetEditorHistory(input, options) {
|
|
1410
|
+
return this.SendRequest({
|
|
1411
|
+
input,
|
|
1412
|
+
method: 'post',
|
|
1413
|
+
path: '/datasets/{dataset_id}/editor/history/create',
|
|
1414
|
+
options
|
|
1415
|
+
});
|
|
1416
|
+
}
|
|
1417
|
+
async ListEditorConfigurations(input, options) {
|
|
1418
|
+
return this.SendRequest({
|
|
1419
|
+
input,
|
|
1420
|
+
method: 'post',
|
|
1421
|
+
path: '/editor/configuration/list',
|
|
1422
|
+
options
|
|
1423
|
+
});
|
|
1424
|
+
}
|
|
1425
|
+
async CreateEditorConfiguration(input, options) {
|
|
1426
|
+
return this.SendRequest({
|
|
1427
|
+
input,
|
|
1428
|
+
method: 'post',
|
|
1429
|
+
path: '/editor/configuration/create',
|
|
1430
|
+
options
|
|
1431
|
+
});
|
|
1432
|
+
}
|
|
1433
|
+
async UpdateEditorConfiguration(input, options) {
|
|
1434
|
+
return this.SendRequest({
|
|
1435
|
+
input,
|
|
1436
|
+
method: 'post',
|
|
1437
|
+
path: '/editor/configuration/{editorconfiguration_id}/update',
|
|
1438
|
+
options
|
|
1439
|
+
});
|
|
1440
|
+
}
|
|
1441
|
+
async DeleteEditorConfiguration(input, options) {
|
|
1442
|
+
return this.SendRequest({
|
|
1443
|
+
input,
|
|
1444
|
+
method: 'post',
|
|
1445
|
+
path: '/editor/configuration/{editorconfiguration_id}/delete',
|
|
1446
|
+
options
|
|
1447
|
+
});
|
|
1448
|
+
}
|
|
1449
|
+
async GetEditorConfiguration(input, options) {
|
|
1450
|
+
return this.SendRequest({
|
|
1451
|
+
input,
|
|
1452
|
+
method: 'get',
|
|
1453
|
+
path: '/editor/configuration/{editorconfiguration_id}/get',
|
|
1454
|
+
options
|
|
1455
|
+
});
|
|
1456
|
+
}
|
|
1457
|
+
async ListKeyphrases(input, options) {
|
|
1458
|
+
return this.SendRequest({
|
|
1459
|
+
input,
|
|
1460
|
+
method: 'post',
|
|
1461
|
+
path: '/datasets/{dataset_id}/fields/{field}/keyphrase/list',
|
|
1462
|
+
options
|
|
1463
|
+
});
|
|
1464
|
+
}
|
|
1465
|
+
async UpdateKeyphrase(input, options) {
|
|
1466
|
+
return this.SendRequest({
|
|
1467
|
+
input,
|
|
1468
|
+
method: 'post',
|
|
1469
|
+
path: '/datasets/{dataset_id}/fields/{field}/keyphrase/{keyphrase_id}/update',
|
|
1470
|
+
options
|
|
1471
|
+
});
|
|
1472
|
+
}
|
|
1473
|
+
async DeleteKeyphrase(input, options) {
|
|
1474
|
+
return this.SendRequest({
|
|
1475
|
+
input,
|
|
1476
|
+
method: 'post',
|
|
1477
|
+
path: '/datasets/{dataset_id}/fields/{field}/keyphrase/{keyphrase_id}/delete',
|
|
1478
|
+
options
|
|
1479
|
+
});
|
|
1480
|
+
}
|
|
1481
|
+
async GetKeyphrase(input, options) {
|
|
1482
|
+
return this.SendRequest({
|
|
1483
|
+
input,
|
|
1484
|
+
method: 'get',
|
|
1485
|
+
path: '/datasets/{dataset_id}/fields/{field}/keyphrase/{keyphrase_id}/get',
|
|
1486
|
+
options
|
|
1487
|
+
});
|
|
1488
|
+
}
|
|
1489
|
+
async BulkUpdateKeyphrases(input, options) {
|
|
1490
|
+
return this.SendRequest({
|
|
1491
|
+
input,
|
|
1492
|
+
method: 'post',
|
|
1493
|
+
path: '/datasets/{dataset_id}/fields/{field}/keyphrase/bulk_update',
|
|
1494
|
+
options
|
|
1495
|
+
});
|
|
1496
|
+
}
|
|
1497
|
+
async BulkDeleteKeyphrases(input, options) {
|
|
1498
|
+
return this.SendRequest({
|
|
1499
|
+
input,
|
|
1500
|
+
method: 'post',
|
|
1501
|
+
path: '/datasets/{dataset_id}/fields/{field}/keyphrase/bulk_delete',
|
|
1502
|
+
options
|
|
1503
|
+
});
|
|
1504
|
+
}
|
|
1505
|
+
async ListTaxonomys(input, options) {
|
|
1506
|
+
return this.SendRequest({
|
|
1507
|
+
input,
|
|
1508
|
+
method: 'post',
|
|
1509
|
+
path: '/taxonomys/list',
|
|
1510
|
+
options
|
|
1511
|
+
});
|
|
1512
|
+
}
|
|
1513
|
+
async UpdateTaxonomy(input, options) {
|
|
1514
|
+
return this.SendRequest({
|
|
1515
|
+
input,
|
|
1516
|
+
method: 'post',
|
|
1517
|
+
path: '/taxonomys/{taxonomy_id}/update',
|
|
1518
|
+
options
|
|
1519
|
+
});
|
|
1520
|
+
}
|
|
1521
|
+
async DeleteTaxonomy(input, options) {
|
|
1522
|
+
return this.SendRequest({
|
|
1523
|
+
input,
|
|
1524
|
+
method: 'post',
|
|
1525
|
+
path: '/taxonomys/{taxonomy_id}/delete',
|
|
1526
|
+
options
|
|
1527
|
+
});
|
|
1528
|
+
}
|
|
1529
|
+
async GetTaxonomy(input, options) {
|
|
1530
|
+
return this.SendRequest({
|
|
1531
|
+
input,
|
|
1532
|
+
method: 'get',
|
|
1533
|
+
path: '/taxonomys/{taxonomy_id}/get',
|
|
1534
|
+
options
|
|
1535
|
+
});
|
|
1536
|
+
}
|
|
1537
|
+
async CreateTaxonomy(input, options) {
|
|
1538
|
+
return this.SendRequest({
|
|
1539
|
+
input,
|
|
1540
|
+
method: 'post',
|
|
1541
|
+
path: '/taxonomys/create',
|
|
1542
|
+
options
|
|
1543
|
+
});
|
|
1544
|
+
}
|
|
1545
|
+
async DeleteFavouriteDataset(input, options) {
|
|
1546
|
+
return this.SendRequest({
|
|
1547
|
+
input,
|
|
1548
|
+
method: 'post',
|
|
1549
|
+
path: '/datasets/favourites/{favouritedataset_id}/delete',
|
|
1550
|
+
options
|
|
1551
|
+
});
|
|
1552
|
+
}
|
|
1553
|
+
async ListFavouriteDatasets(input, options) {
|
|
1554
|
+
return this.SendRequest({
|
|
1555
|
+
input,
|
|
1556
|
+
method: 'post',
|
|
1557
|
+
path: '/datasets/favourites/list',
|
|
1558
|
+
options
|
|
1559
|
+
});
|
|
1560
|
+
}
|
|
1561
|
+
async UpdateFavouriteDataset(input, options) {
|
|
1562
|
+
return this.SendRequest({
|
|
1563
|
+
input,
|
|
1564
|
+
method: 'post',
|
|
1565
|
+
path: '/datasets/favourites/{favouritedataset_id}/update',
|
|
1566
|
+
options
|
|
1567
|
+
});
|
|
1568
|
+
}
|
|
1569
|
+
async DeleteFavouriteDeployable(input, options) {
|
|
1570
|
+
return this.SendRequest({
|
|
1571
|
+
input,
|
|
1572
|
+
method: 'post',
|
|
1573
|
+
path: '/deployable/favourites/{favouritedeployable_id}/delete',
|
|
1574
|
+
options
|
|
1575
|
+
});
|
|
1576
|
+
}
|
|
1577
|
+
async ListFavouriteDeployables(input, options) {
|
|
1578
|
+
return this.SendRequest({
|
|
1579
|
+
input,
|
|
1580
|
+
method: 'post',
|
|
1581
|
+
path: '/deployable/favourites/list',
|
|
1582
|
+
options
|
|
1583
|
+
});
|
|
1584
|
+
}
|
|
1585
|
+
async UpdateFavouriteDeployable(input, options) {
|
|
1586
|
+
return this.SendRequest({
|
|
1587
|
+
input,
|
|
1588
|
+
method: 'post',
|
|
1589
|
+
path: '/deployable/favourites/{favouritedeployable_id}/update',
|
|
1590
|
+
options
|
|
1591
|
+
});
|
|
1592
|
+
}
|
|
1593
|
+
async DeleteUserOnboardingFlag(input, options) {
|
|
1594
|
+
return this.SendRequest({
|
|
1595
|
+
input,
|
|
1596
|
+
method: 'post',
|
|
1597
|
+
path: '/useronboardingflags/{useronboardingflag_id}/delete',
|
|
1598
|
+
options
|
|
1599
|
+
});
|
|
1600
|
+
}
|
|
1601
|
+
async ListUserOnboardingFlags(input, options) {
|
|
1602
|
+
return this.SendRequest({
|
|
1603
|
+
input,
|
|
1604
|
+
method: 'post',
|
|
1605
|
+
path: '/useronboardingflags/list',
|
|
1606
|
+
options
|
|
1607
|
+
});
|
|
1608
|
+
}
|
|
1609
|
+
async UpdateUserOnboardingFlag(input, options) {
|
|
1610
|
+
return this.SendRequest({
|
|
1611
|
+
input,
|
|
1612
|
+
method: 'post',
|
|
1613
|
+
path: '/useronboardingflags/{useronboardingflag_id}/update',
|
|
1614
|
+
options
|
|
1615
|
+
});
|
|
1616
|
+
}
|
|
1617
|
+
async GetTranscriptTagList(input, options) {
|
|
1618
|
+
return this.SendRequest({
|
|
1619
|
+
input,
|
|
1620
|
+
method: 'get',
|
|
1621
|
+
path: '/datasets/{dataset_id}/fields/{field}/transcript_tags/{transcripttaglist_id}/get',
|
|
1622
|
+
options
|
|
1623
|
+
});
|
|
1624
|
+
}
|
|
1625
|
+
async UpdateTranscriptTagList(input, options) {
|
|
1626
|
+
return this.SendRequest({
|
|
1627
|
+
input,
|
|
1628
|
+
method: 'post',
|
|
1629
|
+
path: '/datasets/{dataset_id}/fields/{field}/transcript_tags/{transcripttaglist_id}/update',
|
|
1630
|
+
options
|
|
1631
|
+
});
|
|
1632
|
+
}
|
|
1633
|
+
async ListTranscriptTagLists(input, options) {
|
|
1634
|
+
return this.SendRequest({
|
|
1635
|
+
input,
|
|
1636
|
+
method: 'post',
|
|
1637
|
+
path: '/datasets/{dataset_id}/fields/{field}/transcript_tags/list',
|
|
1638
|
+
options
|
|
1639
|
+
});
|
|
1640
|
+
}
|
|
1641
|
+
async ListTags(input, options) {
|
|
1642
|
+
return this.SendRequest({
|
|
1643
|
+
input,
|
|
1644
|
+
method: 'post',
|
|
1645
|
+
path: '/datasets/{dataset_id}/field/{tag_field}/tags/list',
|
|
1646
|
+
options
|
|
1647
|
+
});
|
|
1648
|
+
}
|
|
1649
|
+
async DeleteTag(input, options) {
|
|
1650
|
+
return this.SendRequest({
|
|
1651
|
+
input,
|
|
1652
|
+
method: 'post',
|
|
1653
|
+
path: '/datasets/{dataset_id}/field/{tag_field}/tags/{tag_id}/delete',
|
|
1654
|
+
options
|
|
1655
|
+
});
|
|
1656
|
+
}
|
|
1657
|
+
async GetTag(input, options) {
|
|
1658
|
+
return this.SendRequest({
|
|
1659
|
+
input,
|
|
1660
|
+
method: 'get',
|
|
1661
|
+
path: '/datasets/{dataset_id}/field/{tag_field}/tags/{tag_id}/get',
|
|
1662
|
+
options
|
|
1663
|
+
});
|
|
1664
|
+
}
|
|
1665
|
+
async BulkDeleteTags(input, options) {
|
|
1666
|
+
return this.SendRequest({
|
|
1667
|
+
input,
|
|
1668
|
+
method: 'post',
|
|
1669
|
+
path: '/datasets/{dataset_id}/field/{tag_field}/tags/bulk_delete',
|
|
1670
|
+
options
|
|
1671
|
+
});
|
|
1672
|
+
}
|
|
1673
|
+
async BulkUpdateTags(input, options) {
|
|
1674
|
+
return this.SendRequest({
|
|
1675
|
+
input,
|
|
1676
|
+
method: 'post',
|
|
1677
|
+
path: '/datasets/{dataset_id}/field/{tag_field}/tags/bulk_update',
|
|
1678
|
+
options
|
|
1679
|
+
});
|
|
1680
|
+
}
|
|
1681
|
+
}
|
|
1682
|
+
exports.VecDBApiClient = VecDBApiClient;
|