@relevanceai/sdk 1.106.0 → 1.108.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.
|
@@ -942,6 +942,22 @@ class DiscoveryApiClient extends BaseClient_1._GenericClient {
|
|
|
942
942
|
options
|
|
943
943
|
});
|
|
944
944
|
}
|
|
945
|
+
async CreateDatasetSummary(input, options) {
|
|
946
|
+
return this.SendRequest({
|
|
947
|
+
input,
|
|
948
|
+
method: 'post',
|
|
949
|
+
path: '/datasets/{dataset_id}/summaries/create',
|
|
950
|
+
options
|
|
951
|
+
});
|
|
952
|
+
}
|
|
953
|
+
async ListDatasetSummaryHistory(input, options) {
|
|
954
|
+
return this.SendRequest({
|
|
955
|
+
input,
|
|
956
|
+
method: 'get',
|
|
957
|
+
path: '/datasets/{dataset_id}/summaries/history/list',
|
|
958
|
+
options
|
|
959
|
+
});
|
|
960
|
+
}
|
|
945
961
|
async BulkGetDocuments(input, options) {
|
|
946
962
|
return this.SendRequest({
|
|
947
963
|
input,
|
|
@@ -1150,5 +1166,45 @@ class DiscoveryApiClient extends BaseClient_1._GenericClient {
|
|
|
1150
1166
|
options
|
|
1151
1167
|
});
|
|
1152
1168
|
}
|
|
1169
|
+
async DeleteComponent(input, options) {
|
|
1170
|
+
return this.SendRequest({
|
|
1171
|
+
input,
|
|
1172
|
+
method: 'post',
|
|
1173
|
+
path: '/components/{component_id}/delete',
|
|
1174
|
+
options
|
|
1175
|
+
});
|
|
1176
|
+
}
|
|
1177
|
+
async ListComponents(input, options) {
|
|
1178
|
+
return this.SendRequest({
|
|
1179
|
+
input,
|
|
1180
|
+
method: 'post',
|
|
1181
|
+
path: '/components/list',
|
|
1182
|
+
options
|
|
1183
|
+
});
|
|
1184
|
+
}
|
|
1185
|
+
async UpdateComponent(input, options) {
|
|
1186
|
+
return this.SendRequest({
|
|
1187
|
+
input,
|
|
1188
|
+
method: 'post',
|
|
1189
|
+
path: '/components/{component_id}/update',
|
|
1190
|
+
options
|
|
1191
|
+
});
|
|
1192
|
+
}
|
|
1193
|
+
async GetComponent(input, options) {
|
|
1194
|
+
return this.SendRequest({
|
|
1195
|
+
input,
|
|
1196
|
+
method: 'get',
|
|
1197
|
+
path: '/components/{component_id}/get',
|
|
1198
|
+
options
|
|
1199
|
+
});
|
|
1200
|
+
}
|
|
1201
|
+
async CreateComponent(input, options) {
|
|
1202
|
+
return this.SendRequest({
|
|
1203
|
+
input,
|
|
1204
|
+
method: 'post',
|
|
1205
|
+
path: '/components/create',
|
|
1206
|
+
options
|
|
1207
|
+
});
|
|
1208
|
+
}
|
|
1153
1209
|
}
|
|
1154
1210
|
exports.DiscoveryApiClient = DiscoveryApiClient;
|
|
@@ -1470,6 +1470,30 @@ var DiscoveryApiClient = /** @class */ (function (_super) {
|
|
|
1470
1470
|
});
|
|
1471
1471
|
});
|
|
1472
1472
|
};
|
|
1473
|
+
DiscoveryApiClient.prototype.CreateDatasetSummary = 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/{dataset_id}/summaries/create',
|
|
1480
|
+
options: options
|
|
1481
|
+
})];
|
|
1482
|
+
});
|
|
1483
|
+
});
|
|
1484
|
+
};
|
|
1485
|
+
DiscoveryApiClient.prototype.ListDatasetSummaryHistory = 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/{dataset_id}/summaries/history/list',
|
|
1492
|
+
options: options
|
|
1493
|
+
})];
|
|
1494
|
+
});
|
|
1495
|
+
});
|
|
1496
|
+
};
|
|
1473
1497
|
DiscoveryApiClient.prototype.BulkGetDocuments = function (input, options) {
|
|
1474
1498
|
return __awaiter(this, void 0, void 0, function () {
|
|
1475
1499
|
return __generator(this, function (_a) {
|
|
@@ -1782,6 +1806,66 @@ var DiscoveryApiClient = /** @class */ (function (_super) {
|
|
|
1782
1806
|
});
|
|
1783
1807
|
});
|
|
1784
1808
|
};
|
|
1809
|
+
DiscoveryApiClient.prototype.DeleteComponent = 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: '/components/{component_id}/delete',
|
|
1816
|
+
options: options
|
|
1817
|
+
})];
|
|
1818
|
+
});
|
|
1819
|
+
});
|
|
1820
|
+
};
|
|
1821
|
+
DiscoveryApiClient.prototype.ListComponents = 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: '/components/list',
|
|
1828
|
+
options: options
|
|
1829
|
+
})];
|
|
1830
|
+
});
|
|
1831
|
+
});
|
|
1832
|
+
};
|
|
1833
|
+
DiscoveryApiClient.prototype.UpdateComponent = 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: '/components/{component_id}/update',
|
|
1840
|
+
options: options
|
|
1841
|
+
})];
|
|
1842
|
+
});
|
|
1843
|
+
});
|
|
1844
|
+
};
|
|
1845
|
+
DiscoveryApiClient.prototype.GetComponent = 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: 'get',
|
|
1851
|
+
path: '/components/{component_id}/get',
|
|
1852
|
+
options: options
|
|
1853
|
+
})];
|
|
1854
|
+
});
|
|
1855
|
+
});
|
|
1856
|
+
};
|
|
1857
|
+
DiscoveryApiClient.prototype.CreateComponent = 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: '/components/create',
|
|
1864
|
+
options: options
|
|
1865
|
+
})];
|
|
1866
|
+
});
|
|
1867
|
+
});
|
|
1868
|
+
};
|
|
1785
1869
|
return DiscoveryApiClient;
|
|
1786
1870
|
}(_GenericClient));
|
|
1787
1871
|
export { DiscoveryApiClient };
|
|
@@ -234,6 +234,10 @@ export declare type GetWhereInput = operations['GetWhere']['requestBody']['conte
|
|
|
234
234
|
export declare type GetWhereOutput = operations['GetWhere']['responses']['200']['content']['application/json'];
|
|
235
235
|
export declare type PaginateDocumentsInput = operations['PaginateDocuments']['requestBody']['content']['application/json'];
|
|
236
236
|
export declare type PaginateDocumentsOutput = operations['PaginateDocuments']['responses']['200']['content']['application/json'];
|
|
237
|
+
export declare type CreateDatasetSummaryInput = operations['CreateDatasetSummary']['requestBody']['content']['application/json'];
|
|
238
|
+
export declare type CreateDatasetSummaryOutput = operations['CreateDatasetSummary']['responses']['200']['content']['application/json'];
|
|
239
|
+
export declare type ListDatasetSummaryHistoryInput = {};
|
|
240
|
+
export declare type ListDatasetSummaryHistoryOutput = operations['ListDatasetSummaryHistory']['responses']['200']['content']['application/json'];
|
|
237
241
|
export declare type BulkGetDocumentsInput = operations['BulkGetDocuments']['requestBody']['content']['application/json'];
|
|
238
242
|
export declare type BulkGetDocumentsOutput = operations['BulkGetDocuments']['responses']['200']['content']['application/json'];
|
|
239
243
|
export declare type BulkDeleteDocumentsInput = operations['BulkDeleteDocuments']['requestBody']['content']['application/json'];
|
|
@@ -286,6 +290,16 @@ export declare type GetSavedFilterInput = {};
|
|
|
286
290
|
export declare type GetSavedFilterOutput = operations['GetSavedFilter']['responses']['200']['content']['application/json'];
|
|
287
291
|
export declare type CreateSavedFilterInput = operations['CreateSavedFilter']['requestBody']['content']['application/json'];
|
|
288
292
|
export declare type CreateSavedFilterOutput = operations['CreateSavedFilter']['responses']['200']['content']['application/json'];
|
|
293
|
+
export declare type DeleteComponentInput = operations['DeleteComponent']['requestBody']['content']['application/json'];
|
|
294
|
+
export declare type DeleteComponentOutput = operations['DeleteComponent']['responses']['200']['content']['application/json'];
|
|
295
|
+
export declare type ListComponentsInput = operations['ListComponents']['requestBody']['content']['application/json'];
|
|
296
|
+
export declare type ListComponentsOutput = operations['ListComponents']['responses']['200']['content']['application/json'];
|
|
297
|
+
export declare type UpdateComponentInput = operations['UpdateComponent']['requestBody']['content']['application/json'];
|
|
298
|
+
export declare type UpdateComponentOutput = operations['UpdateComponent']['responses']['200']['content']['application/json'];
|
|
299
|
+
export declare type GetComponentInput = {};
|
|
300
|
+
export declare type GetComponentOutput = operations['GetComponent']['responses']['200']['content']['application/json'];
|
|
301
|
+
export declare type CreateComponentInput = operations['CreateComponent']['requestBody']['content']['application/json'];
|
|
302
|
+
export declare type CreateComponentOutput = operations['CreateComponent']['responses']['200']['content']['application/json'];
|
|
289
303
|
export declare class DiscoveryApiClient extends _GenericClient {
|
|
290
304
|
constructor(config: _ClientInput);
|
|
291
305
|
CreateDeployable(input: CommandInput<CreateDeployableInput>, options?: _GenericMethodOptions): Promise<CommandOutput<CreateDeployableOutput>>;
|
|
@@ -405,6 +419,8 @@ export declare class DiscoveryApiClient extends _GenericClient {
|
|
|
405
419
|
ListFacets(input: CommandInput<ListFacetsInput>, options?: _GenericMethodOptions): Promise<CommandOutput<ListFacetsOutput>>;
|
|
406
420
|
GetWhere(input: CommandInput<GetWhereInput>, options?: _GenericMethodOptions): Promise<CommandOutput<GetWhereOutput>>;
|
|
407
421
|
PaginateDocuments(input: CommandInput<PaginateDocumentsInput>, options?: _GenericMethodOptions): Promise<CommandOutput<PaginateDocumentsOutput>>;
|
|
422
|
+
CreateDatasetSummary(input: CommandInput<CreateDatasetSummaryInput>, options?: _GenericMethodOptions): Promise<CommandOutput<CreateDatasetSummaryOutput>>;
|
|
423
|
+
ListDatasetSummaryHistory(input: CommandInput<ListDatasetSummaryHistoryInput>, options?: _GenericMethodOptions): Promise<CommandOutput<ListDatasetSummaryHistoryOutput>>;
|
|
408
424
|
BulkGetDocuments(input: CommandInput<BulkGetDocumentsInput>, options?: _GenericMethodOptions): Promise<CommandOutput<BulkGetDocumentsOutput>>;
|
|
409
425
|
BulkDeleteDocuments(input: CommandInput<BulkDeleteDocumentsInput>, options?: _GenericMethodOptions): Promise<CommandOutput<BulkDeleteDocumentsOutput>>;
|
|
410
426
|
ListDocuments(input: CommandInput<ListDocumentsInput>, options?: _GenericMethodOptions): Promise<CommandOutput<ListDocumentsOutput>>;
|
|
@@ -431,4 +447,9 @@ export declare class DiscoveryApiClient extends _GenericClient {
|
|
|
431
447
|
UpdateSavedFilter(input: CommandInput<UpdateSavedFilterInput>, options?: _GenericMethodOptions): Promise<CommandOutput<UpdateSavedFilterOutput>>;
|
|
432
448
|
GetSavedFilter(input: CommandInput<GetSavedFilterInput>, options?: _GenericMethodOptions): Promise<CommandOutput<GetSavedFilterOutput>>;
|
|
433
449
|
CreateSavedFilter(input: CommandInput<CreateSavedFilterInput>, options?: _GenericMethodOptions): Promise<CommandOutput<CreateSavedFilterOutput>>;
|
|
450
|
+
DeleteComponent(input: CommandInput<DeleteComponentInput>, options?: _GenericMethodOptions): Promise<CommandOutput<DeleteComponentOutput>>;
|
|
451
|
+
ListComponents(input: CommandInput<ListComponentsInput>, options?: _GenericMethodOptions): Promise<CommandOutput<ListComponentsOutput>>;
|
|
452
|
+
UpdateComponent(input: CommandInput<UpdateComponentInput>, options?: _GenericMethodOptions): Promise<CommandOutput<UpdateComponentOutput>>;
|
|
453
|
+
GetComponent(input: CommandInput<GetComponentInput>, options?: _GenericMethodOptions): Promise<CommandOutput<GetComponentOutput>>;
|
|
454
|
+
CreateComponent(input: CommandInput<CreateComponentInput>, options?: _GenericMethodOptions): Promise<CommandOutput<CreateComponentOutput>>;
|
|
434
455
|
}
|