@relevanceai/sdk 1.133.0 → 1.135.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.
|
@@ -414,6 +414,14 @@ class DiscoveryApiClient extends BaseClient_1._GenericClient {
|
|
|
414
414
|
options
|
|
415
415
|
});
|
|
416
416
|
}
|
|
417
|
+
async CreateHierarchicalClusters(input, options) {
|
|
418
|
+
return this.SendRequest({
|
|
419
|
+
input,
|
|
420
|
+
method: 'post',
|
|
421
|
+
path: '/datasets/{dataset_id}/cluster/hierarchical/create',
|
|
422
|
+
options
|
|
423
|
+
});
|
|
424
|
+
}
|
|
417
425
|
async DeleteClusterSummaries(input, options) {
|
|
418
426
|
return this.SendRequest({
|
|
419
427
|
input,
|
|
@@ -1326,5 +1334,45 @@ class DiscoveryApiClient extends BaseClient_1._GenericClient {
|
|
|
1326
1334
|
options
|
|
1327
1335
|
});
|
|
1328
1336
|
}
|
|
1337
|
+
async ListTaxonomys(input, options) {
|
|
1338
|
+
return this.SendRequest({
|
|
1339
|
+
input,
|
|
1340
|
+
method: 'post',
|
|
1341
|
+
path: '/taxonomys/list',
|
|
1342
|
+
options
|
|
1343
|
+
});
|
|
1344
|
+
}
|
|
1345
|
+
async UpdateTaxonomy(input, options) {
|
|
1346
|
+
return this.SendRequest({
|
|
1347
|
+
input,
|
|
1348
|
+
method: 'post',
|
|
1349
|
+
path: '/taxonomys/{taxonomy_id}/update',
|
|
1350
|
+
options
|
|
1351
|
+
});
|
|
1352
|
+
}
|
|
1353
|
+
async DeleteTaxonomy(input, options) {
|
|
1354
|
+
return this.SendRequest({
|
|
1355
|
+
input,
|
|
1356
|
+
method: 'post',
|
|
1357
|
+
path: '/taxonomys/{taxonomy_id}/delete',
|
|
1358
|
+
options
|
|
1359
|
+
});
|
|
1360
|
+
}
|
|
1361
|
+
async GetTaxonomy(input, options) {
|
|
1362
|
+
return this.SendRequest({
|
|
1363
|
+
input,
|
|
1364
|
+
method: 'get',
|
|
1365
|
+
path: '/taxonomys/{taxonomy_id}/get',
|
|
1366
|
+
options
|
|
1367
|
+
});
|
|
1368
|
+
}
|
|
1369
|
+
async CreateTaxonomy(input, options) {
|
|
1370
|
+
return this.SendRequest({
|
|
1371
|
+
input,
|
|
1372
|
+
method: 'post',
|
|
1373
|
+
path: '/taxonomys/create',
|
|
1374
|
+
options
|
|
1375
|
+
});
|
|
1376
|
+
}
|
|
1329
1377
|
}
|
|
1330
1378
|
exports.DiscoveryApiClient = DiscoveryApiClient;
|
|
@@ -678,6 +678,18 @@ var DiscoveryApiClient = /** @class */ (function (_super) {
|
|
|
678
678
|
});
|
|
679
679
|
});
|
|
680
680
|
};
|
|
681
|
+
DiscoveryApiClient.prototype.CreateHierarchicalClusters = 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/hierarchical/create',
|
|
688
|
+
options: options
|
|
689
|
+
})];
|
|
690
|
+
});
|
|
691
|
+
});
|
|
692
|
+
};
|
|
681
693
|
DiscoveryApiClient.prototype.DeleteClusterSummaries = function (input, options) {
|
|
682
694
|
return __awaiter(this, void 0, void 0, function () {
|
|
683
695
|
return __generator(this, function (_a) {
|
|
@@ -2046,6 +2058,66 @@ var DiscoveryApiClient = /** @class */ (function (_super) {
|
|
|
2046
2058
|
});
|
|
2047
2059
|
});
|
|
2048
2060
|
};
|
|
2061
|
+
DiscoveryApiClient.prototype.ListTaxonomys = 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: '/taxonomys/list',
|
|
2068
|
+
options: options
|
|
2069
|
+
})];
|
|
2070
|
+
});
|
|
2071
|
+
});
|
|
2072
|
+
};
|
|
2073
|
+
DiscoveryApiClient.prototype.UpdateTaxonomy = 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: 'post',
|
|
2079
|
+
path: '/taxonomys/{taxonomy_id}/update',
|
|
2080
|
+
options: options
|
|
2081
|
+
})];
|
|
2082
|
+
});
|
|
2083
|
+
});
|
|
2084
|
+
};
|
|
2085
|
+
DiscoveryApiClient.prototype.DeleteTaxonomy = 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: '/taxonomys/{taxonomy_id}/delete',
|
|
2092
|
+
options: options
|
|
2093
|
+
})];
|
|
2094
|
+
});
|
|
2095
|
+
});
|
|
2096
|
+
};
|
|
2097
|
+
DiscoveryApiClient.prototype.GetTaxonomy = 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: 'get',
|
|
2103
|
+
path: '/taxonomys/{taxonomy_id}/get',
|
|
2104
|
+
options: options
|
|
2105
|
+
})];
|
|
2106
|
+
});
|
|
2107
|
+
});
|
|
2108
|
+
};
|
|
2109
|
+
DiscoveryApiClient.prototype.CreateTaxonomy = 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: '/taxonomys/create',
|
|
2116
|
+
options: options
|
|
2117
|
+
})];
|
|
2118
|
+
});
|
|
2119
|
+
});
|
|
2120
|
+
};
|
|
2049
2121
|
return DiscoveryApiClient;
|
|
2050
2122
|
}(_GenericClient));
|
|
2051
2123
|
export { DiscoveryApiClient };
|
|
@@ -102,6 +102,8 @@ export declare type CreateClusterLabelsInput = operations['CreateClusterLabels']
|
|
|
102
102
|
export declare type CreateClusterLabelsOutput = operations['CreateClusterLabels']['responses']['200']['content']['application/json'];
|
|
103
103
|
export declare type ListClusterSummariesInput = operations['ListClusterSummaries']['requestBody']['content']['application/json'];
|
|
104
104
|
export declare type ListClusterSummariesOutput = operations['ListClusterSummaries']['responses']['200']['content']['application/json'];
|
|
105
|
+
export declare type CreateHierarchicalClustersInput = operations['CreateHierarchicalClusters']['requestBody']['content']['application/json'];
|
|
106
|
+
export declare type CreateHierarchicalClustersOutput = operations['CreateHierarchicalClusters']['responses']['200']['content']['application/json'];
|
|
105
107
|
export declare type DeleteClusterSummariesInput = operations['DeleteClusterSummaries']['requestBody']['content']['application/json'];
|
|
106
108
|
export declare type DeleteClusterSummariesOutput = operations['DeleteClusterSummaries']['responses']['200']['content']['application/json'];
|
|
107
109
|
export declare type CreateOrganizationInput = operations['CreateOrganization']['requestBody']['content']['application/json'];
|
|
@@ -330,6 +332,16 @@ export declare type GetKeyphraseInput = {};
|
|
|
330
332
|
export declare type GetKeyphraseOutput = operations['GetKeyphrase']['responses']['200']['content']['application/json'];
|
|
331
333
|
export declare type BulkUpdateKeyphrasesInput = operations['BulkUpdateKeyphrases']['requestBody']['content']['application/json'];
|
|
332
334
|
export declare type BulkUpdateKeyphrasesOutput = operations['BulkUpdateKeyphrases']['responses']['200']['content']['application/json'];
|
|
335
|
+
export declare type ListTaxonomysInput = operations['ListTaxonomys']['requestBody']['content']['application/json'];
|
|
336
|
+
export declare type ListTaxonomysOutput = operations['ListTaxonomys']['responses']['200']['content']['application/json'];
|
|
337
|
+
export declare type UpdateTaxonomyInput = operations['UpdateTaxonomy']['requestBody']['content']['application/json'];
|
|
338
|
+
export declare type UpdateTaxonomyOutput = operations['UpdateTaxonomy']['responses']['200']['content']['application/json'];
|
|
339
|
+
export declare type DeleteTaxonomyInput = operations['DeleteTaxonomy']['requestBody']['content']['application/json'];
|
|
340
|
+
export declare type DeleteTaxonomyOutput = operations['DeleteTaxonomy']['responses']['200']['content']['application/json'];
|
|
341
|
+
export declare type GetTaxonomyInput = {};
|
|
342
|
+
export declare type GetTaxonomyOutput = operations['GetTaxonomy']['responses']['200']['content']['application/json'];
|
|
343
|
+
export declare type CreateTaxonomyInput = operations['CreateTaxonomy']['requestBody']['content']['application/json'];
|
|
344
|
+
export declare type CreateTaxonomyOutput = operations['CreateTaxonomy']['responses']['200']['content']['application/json'];
|
|
333
345
|
export declare class DiscoveryApiClient extends _GenericClient {
|
|
334
346
|
constructor(config: _ClientInput);
|
|
335
347
|
CreateDeployable(input: CommandInput<CreateDeployableInput>, options?: _GenericMethodOptions): Promise<CommandOutput<CreateDeployableOutput>>;
|
|
@@ -383,6 +395,7 @@ export declare class DiscoveryApiClient extends _GenericClient {
|
|
|
383
395
|
CreateClusterSummaries(input: CommandInput<CreateClusterSummariesInput>, options?: _GenericMethodOptions): Promise<CommandOutput<CreateClusterSummariesOutput>>;
|
|
384
396
|
CreateClusterLabels(input: CommandInput<CreateClusterLabelsInput>, options?: _GenericMethodOptions): Promise<CommandOutput<CreateClusterLabelsOutput>>;
|
|
385
397
|
ListClusterSummaries(input: CommandInput<ListClusterSummariesInput>, options?: _GenericMethodOptions): Promise<CommandOutput<ListClusterSummariesOutput>>;
|
|
398
|
+
CreateHierarchicalClusters(input: CommandInput<CreateHierarchicalClustersInput>, options?: _GenericMethodOptions): Promise<CommandOutput<CreateHierarchicalClustersOutput>>;
|
|
386
399
|
DeleteClusterSummaries(input: CommandInput<DeleteClusterSummariesInput>, options?: _GenericMethodOptions): Promise<CommandOutput<DeleteClusterSummariesOutput>>;
|
|
387
400
|
CreateOrganization(input: CommandInput<CreateOrganizationInput>, options?: _GenericMethodOptions): Promise<CommandOutput<CreateOrganizationOutput>>;
|
|
388
401
|
UpdateOrganization(input: CommandInput<UpdateOrganizationInput>, options?: _GenericMethodOptions): Promise<CommandOutput<UpdateOrganizationOutput>>;
|
|
@@ -497,4 +510,9 @@ export declare class DiscoveryApiClient extends _GenericClient {
|
|
|
497
510
|
DeleteKeyphrase(input: CommandInput<DeleteKeyphraseInput>, options?: _GenericMethodOptions): Promise<CommandOutput<DeleteKeyphraseOutput>>;
|
|
498
511
|
GetKeyphrase(input: CommandInput<GetKeyphraseInput>, options?: _GenericMethodOptions): Promise<CommandOutput<GetKeyphraseOutput>>;
|
|
499
512
|
BulkUpdateKeyphrases(input: CommandInput<BulkUpdateKeyphrasesInput>, options?: _GenericMethodOptions): Promise<CommandOutput<BulkUpdateKeyphrasesOutput>>;
|
|
513
|
+
ListTaxonomys(input: CommandInput<ListTaxonomysInput>, options?: _GenericMethodOptions): Promise<CommandOutput<ListTaxonomysOutput>>;
|
|
514
|
+
UpdateTaxonomy(input: CommandInput<UpdateTaxonomyInput>, options?: _GenericMethodOptions): Promise<CommandOutput<UpdateTaxonomyOutput>>;
|
|
515
|
+
DeleteTaxonomy(input: CommandInput<DeleteTaxonomyInput>, options?: _GenericMethodOptions): Promise<CommandOutput<DeleteTaxonomyOutput>>;
|
|
516
|
+
GetTaxonomy(input: CommandInput<GetTaxonomyInput>, options?: _GenericMethodOptions): Promise<CommandOutput<GetTaxonomyOutput>>;
|
|
517
|
+
CreateTaxonomy(input: CommandInput<CreateTaxonomyInput>, options?: _GenericMethodOptions): Promise<CommandOutput<CreateTaxonomyOutput>>;
|
|
500
518
|
}
|
|
@@ -902,6 +902,27 @@ export interface paths {
|
|
|
902
902
|
*/
|
|
903
903
|
post: operations["ListClusterSummaries"];
|
|
904
904
|
};
|
|
905
|
+
"/datasets/{dataset_id}/cluster/hierarchical/create": {
|
|
906
|
+
/**
|
|
907
|
+
* Endpoint for creating Hierarchical Clusters from a given dataset on top of existing clusters.
|
|
908
|
+
*
|
|
909
|
+
* ### Required permissions
|
|
910
|
+
* > [
|
|
911
|
+
* {
|
|
912
|
+
* "actions": [
|
|
913
|
+
* "datasets:read",
|
|
914
|
+
* "datasets:write"
|
|
915
|
+
* ],
|
|
916
|
+
* "datasets": [
|
|
917
|
+
* {
|
|
918
|
+
* "params": "dataset_id"
|
|
919
|
+
* }
|
|
920
|
+
* ]
|
|
921
|
+
* }
|
|
922
|
+
* ]
|
|
923
|
+
*/
|
|
924
|
+
post: operations["CreateHierarchicalClusters"];
|
|
925
|
+
};
|
|
905
926
|
"/datasets/{dataset_id}/cluster/centroids/summaries/bulk_delete": {
|
|
906
927
|
/**
|
|
907
928
|
* ### Required permissions
|
|
@@ -2654,6 +2675,41 @@ export interface paths {
|
|
|
2654
2675
|
*/
|
|
2655
2676
|
post: operations["BulkUpdateKeyphrases"];
|
|
2656
2677
|
};
|
|
2678
|
+
"/taxonomys/list": {
|
|
2679
|
+
/**
|
|
2680
|
+
* ### Required permissions
|
|
2681
|
+
* > []
|
|
2682
|
+
*/
|
|
2683
|
+
post: operations["ListTaxonomys"];
|
|
2684
|
+
};
|
|
2685
|
+
"/taxonomys/{taxonomy_id}/update": {
|
|
2686
|
+
/**
|
|
2687
|
+
* ### Required permissions
|
|
2688
|
+
* > []
|
|
2689
|
+
*/
|
|
2690
|
+
post: operations["UpdateTaxonomy"];
|
|
2691
|
+
};
|
|
2692
|
+
"/taxonomys/{taxonomy_id}/delete": {
|
|
2693
|
+
/**
|
|
2694
|
+
* ### Required permissions
|
|
2695
|
+
* > []
|
|
2696
|
+
*/
|
|
2697
|
+
post: operations["DeleteTaxonomy"];
|
|
2698
|
+
};
|
|
2699
|
+
"/taxonomys/{taxonomy_id}/get": {
|
|
2700
|
+
/**
|
|
2701
|
+
* ### Required permissions
|
|
2702
|
+
* > []
|
|
2703
|
+
*/
|
|
2704
|
+
get: operations["GetTaxonomy"];
|
|
2705
|
+
};
|
|
2706
|
+
"/taxonomys/create": {
|
|
2707
|
+
/**
|
|
2708
|
+
* ### Required permissions
|
|
2709
|
+
* > []
|
|
2710
|
+
*/
|
|
2711
|
+
post: operations["CreateTaxonomy"];
|
|
2712
|
+
};
|
|
2657
2713
|
}
|
|
2658
2714
|
export interface components {
|
|
2659
2715
|
schemas: {
|
|
@@ -6403,6 +6459,19 @@ export interface components {
|
|
|
6403
6459
|
};
|
|
6404
6460
|
};
|
|
6405
6461
|
};
|
|
6462
|
+
CreateHierarchicalClustersInput: {
|
|
6463
|
+
/** @description The vector fields that these centroids are associated with. */
|
|
6464
|
+
vector_fields?: string[];
|
|
6465
|
+
centroid_vector_fields?: string[];
|
|
6466
|
+
/** @description Alias is used to name a cluster. */
|
|
6467
|
+
alias?: string;
|
|
6468
|
+
dataset_id?: string;
|
|
6469
|
+
/** @default 10 */
|
|
6470
|
+
n_clusters?: number;
|
|
6471
|
+
};
|
|
6472
|
+
CreateHierarchicalClustersOutput: {
|
|
6473
|
+
alias: string;
|
|
6474
|
+
};
|
|
6406
6475
|
DeleteClusterSummariesInput: {
|
|
6407
6476
|
/** @description The vector fields that these centroids are associated with. */
|
|
6408
6477
|
vector_fields?: string[];
|
|
@@ -7624,9 +7693,9 @@ export interface components {
|
|
|
7624
7693
|
[key: string]: unknown;
|
|
7625
7694
|
};
|
|
7626
7695
|
workflow_id: string;
|
|
7627
|
-
dataset_id: string;
|
|
7628
7696
|
};
|
|
7629
7697
|
depends_on?: string[];
|
|
7698
|
+
if?: string;
|
|
7630
7699
|
};
|
|
7631
7700
|
};
|
|
7632
7701
|
};
|
|
@@ -7670,9 +7739,9 @@ export interface components {
|
|
|
7670
7739
|
[key: string]: unknown;
|
|
7671
7740
|
};
|
|
7672
7741
|
workflow_id: string;
|
|
7673
|
-
dataset_id: string;
|
|
7674
7742
|
};
|
|
7675
7743
|
depends_on?: string[];
|
|
7744
|
+
if?: string;
|
|
7676
7745
|
};
|
|
7677
7746
|
};
|
|
7678
7747
|
};
|
|
@@ -7729,9 +7798,9 @@ export interface components {
|
|
|
7729
7798
|
[key: string]: unknown;
|
|
7730
7799
|
};
|
|
7731
7800
|
workflow_id: string;
|
|
7732
|
-
dataset_id: string;
|
|
7733
7801
|
};
|
|
7734
7802
|
depends_on?: string[];
|
|
7803
|
+
if?: string;
|
|
7735
7804
|
};
|
|
7736
7805
|
};
|
|
7737
7806
|
};
|
|
@@ -7822,9 +7891,9 @@ export interface components {
|
|
|
7822
7891
|
[key: string]: unknown;
|
|
7823
7892
|
};
|
|
7824
7893
|
workflow_id: string;
|
|
7825
|
-
dataset_id: string;
|
|
7826
7894
|
};
|
|
7827
7895
|
depends_on?: string[];
|
|
7896
|
+
if?: string;
|
|
7828
7897
|
};
|
|
7829
7898
|
};
|
|
7830
7899
|
};
|
|
@@ -9212,6 +9281,14 @@ export interface components {
|
|
|
9212
9281
|
updates: {
|
|
9213
9282
|
[key: string]: unknown;
|
|
9214
9283
|
};
|
|
9284
|
+
/** @description Updates to apply conditionally based on a fields value. For example, if a field category exists, to add categoryUppercase use conditional_updates:[{field:"category",output_field:"categoryUppercase",condition_map:{"nonfiction":"NONFICTION"}}] */
|
|
9285
|
+
conditional_updates?: {
|
|
9286
|
+
field: string;
|
|
9287
|
+
output_field: string;
|
|
9288
|
+
condition_map: {
|
|
9289
|
+
[key: string]: unknown;
|
|
9290
|
+
};
|
|
9291
|
+
}[];
|
|
9215
9292
|
};
|
|
9216
9293
|
UpdateWhereOutput: {
|
|
9217
9294
|
/** @description Completion status. */
|
|
@@ -13282,12 +13359,22 @@ export interface components {
|
|
|
13282
13359
|
results: {
|
|
13283
13360
|
_id?: string;
|
|
13284
13361
|
keyphrase?: string;
|
|
13362
|
+
ancestors?: string[];
|
|
13363
|
+
parents?: string[];
|
|
13364
|
+
metadata?: {
|
|
13365
|
+
[key: string]: unknown;
|
|
13366
|
+
};
|
|
13285
13367
|
score?: number;
|
|
13286
13368
|
}[];
|
|
13287
13369
|
};
|
|
13288
13370
|
UpdateKeyphraseInput: {
|
|
13289
13371
|
_id?: string;
|
|
13290
13372
|
keyphrase?: string;
|
|
13373
|
+
ancestors?: string[];
|
|
13374
|
+
parents?: string[];
|
|
13375
|
+
metadata?: {
|
|
13376
|
+
[key: string]: unknown;
|
|
13377
|
+
};
|
|
13291
13378
|
score?: number;
|
|
13292
13379
|
};
|
|
13293
13380
|
UpdateKeyphraseOutput: unknown;
|
|
@@ -13297,16 +13384,79 @@ export interface components {
|
|
|
13297
13384
|
GetKeyphraseOutput: {
|
|
13298
13385
|
_id?: string;
|
|
13299
13386
|
keyphrase?: string;
|
|
13387
|
+
ancestors?: string[];
|
|
13388
|
+
parents?: string[];
|
|
13389
|
+
metadata?: {
|
|
13390
|
+
[key: string]: unknown;
|
|
13391
|
+
};
|
|
13300
13392
|
score?: number;
|
|
13301
13393
|
};
|
|
13302
13394
|
BulkUpdateKeyphrasesInput: {
|
|
13303
13395
|
updates?: {
|
|
13304
13396
|
_id?: string;
|
|
13305
13397
|
keyphrase?: string;
|
|
13398
|
+
ancestors?: string[];
|
|
13399
|
+
parents?: string[];
|
|
13400
|
+
metadata?: {
|
|
13401
|
+
[key: string]: unknown;
|
|
13402
|
+
};
|
|
13306
13403
|
score?: number;
|
|
13307
13404
|
}[];
|
|
13308
13405
|
};
|
|
13309
13406
|
BulkUpdateKeyphrasesOutput: unknown;
|
|
13407
|
+
ListTaxonomysInput: {
|
|
13408
|
+
page?: number;
|
|
13409
|
+
page_size?: number;
|
|
13410
|
+
/** @description Fields to sort by. For each field, sort by descending or ascending. If you are using descending by datetime, it will get the most recent ones. */
|
|
13411
|
+
sort?: (string | {
|
|
13412
|
+
[key: string]: "asc" | "desc";
|
|
13413
|
+
})[];
|
|
13414
|
+
};
|
|
13415
|
+
ListTaxonomysOutput: {
|
|
13416
|
+
results: {
|
|
13417
|
+
_id?: string;
|
|
13418
|
+
name?: string;
|
|
13419
|
+
taxonomy?: string[];
|
|
13420
|
+
description?: string;
|
|
13421
|
+
metadata?: {
|
|
13422
|
+
[key: string]: unknown;
|
|
13423
|
+
};
|
|
13424
|
+
}[];
|
|
13425
|
+
};
|
|
13426
|
+
UpdateTaxonomyInput: {
|
|
13427
|
+
_id?: string;
|
|
13428
|
+
name?: string;
|
|
13429
|
+
taxonomy?: string[];
|
|
13430
|
+
description?: string;
|
|
13431
|
+
metadata?: {
|
|
13432
|
+
[key: string]: unknown;
|
|
13433
|
+
};
|
|
13434
|
+
};
|
|
13435
|
+
UpdateTaxonomyOutput: unknown;
|
|
13436
|
+
DeleteTaxonomyInput: unknown;
|
|
13437
|
+
DeleteTaxonomyOutput: unknown;
|
|
13438
|
+
GetTaxonomyInput: unknown;
|
|
13439
|
+
GetTaxonomyOutput: {
|
|
13440
|
+
_id?: string;
|
|
13441
|
+
name?: string;
|
|
13442
|
+
taxonomy?: string[];
|
|
13443
|
+
description?: string;
|
|
13444
|
+
metadata?: {
|
|
13445
|
+
[key: string]: unknown;
|
|
13446
|
+
};
|
|
13447
|
+
};
|
|
13448
|
+
CreateTaxonomyInput: {
|
|
13449
|
+
_id?: string;
|
|
13450
|
+
name?: string;
|
|
13451
|
+
taxonomy?: string[];
|
|
13452
|
+
description?: string;
|
|
13453
|
+
metadata?: {
|
|
13454
|
+
[key: string]: unknown;
|
|
13455
|
+
};
|
|
13456
|
+
};
|
|
13457
|
+
CreateTaxonomyOutput: {
|
|
13458
|
+
id: string;
|
|
13459
|
+
};
|
|
13310
13460
|
};
|
|
13311
13461
|
}
|
|
13312
13462
|
export interface operations {
|
|
@@ -15286,6 +15436,45 @@ export interface operations {
|
|
|
15286
15436
|
};
|
|
15287
15437
|
};
|
|
15288
15438
|
};
|
|
15439
|
+
/**
|
|
15440
|
+
* Endpoint for creating Hierarchical Clusters from a given dataset on top of existing clusters.
|
|
15441
|
+
*
|
|
15442
|
+
* ### Required permissions
|
|
15443
|
+
* > [
|
|
15444
|
+
* {
|
|
15445
|
+
* "actions": [
|
|
15446
|
+
* "datasets:read",
|
|
15447
|
+
* "datasets:write"
|
|
15448
|
+
* ],
|
|
15449
|
+
* "datasets": [
|
|
15450
|
+
* {
|
|
15451
|
+
* "params": "dataset_id"
|
|
15452
|
+
* }
|
|
15453
|
+
* ]
|
|
15454
|
+
* }
|
|
15455
|
+
* ]
|
|
15456
|
+
*/
|
|
15457
|
+
CreateHierarchicalClusters: {
|
|
15458
|
+
parameters: {
|
|
15459
|
+
path: {
|
|
15460
|
+
/** ID of dataset */
|
|
15461
|
+
dataset_id: string;
|
|
15462
|
+
};
|
|
15463
|
+
};
|
|
15464
|
+
responses: {
|
|
15465
|
+
/** successful operation */
|
|
15466
|
+
200: {
|
|
15467
|
+
content: {
|
|
15468
|
+
"application/json": components["schemas"]["CreateHierarchicalClustersOutput"];
|
|
15469
|
+
};
|
|
15470
|
+
};
|
|
15471
|
+
};
|
|
15472
|
+
requestBody: {
|
|
15473
|
+
content: {
|
|
15474
|
+
"application/json": components["schemas"]["CreateHierarchicalClustersInput"];
|
|
15475
|
+
};
|
|
15476
|
+
};
|
|
15477
|
+
};
|
|
15289
15478
|
/**
|
|
15290
15479
|
* ### Required permissions
|
|
15291
15480
|
* > [
|
|
@@ -19696,6 +19885,116 @@ export interface operations {
|
|
|
19696
19885
|
};
|
|
19697
19886
|
};
|
|
19698
19887
|
};
|
|
19888
|
+
/**
|
|
19889
|
+
* ### Required permissions
|
|
19890
|
+
* > []
|
|
19891
|
+
*/
|
|
19892
|
+
ListTaxonomys: {
|
|
19893
|
+
parameters: {};
|
|
19894
|
+
responses: {
|
|
19895
|
+
/** successful operation */
|
|
19896
|
+
200: {
|
|
19897
|
+
content: {
|
|
19898
|
+
"application/json": components["schemas"]["ListTaxonomysOutput"];
|
|
19899
|
+
};
|
|
19900
|
+
};
|
|
19901
|
+
};
|
|
19902
|
+
requestBody: {
|
|
19903
|
+
content: {
|
|
19904
|
+
"application/json": components["schemas"]["ListTaxonomysInput"];
|
|
19905
|
+
};
|
|
19906
|
+
};
|
|
19907
|
+
};
|
|
19908
|
+
/**
|
|
19909
|
+
* ### Required permissions
|
|
19910
|
+
* > []
|
|
19911
|
+
*/
|
|
19912
|
+
UpdateTaxonomy: {
|
|
19913
|
+
parameters: {
|
|
19914
|
+
path: {
|
|
19915
|
+
/** ID of taxonomy */
|
|
19916
|
+
taxonomy_id: string;
|
|
19917
|
+
};
|
|
19918
|
+
};
|
|
19919
|
+
responses: {
|
|
19920
|
+
/** successful operation */
|
|
19921
|
+
200: {
|
|
19922
|
+
content: {
|
|
19923
|
+
"application/json": components["schemas"]["UpdateTaxonomyOutput"];
|
|
19924
|
+
};
|
|
19925
|
+
};
|
|
19926
|
+
};
|
|
19927
|
+
requestBody: {
|
|
19928
|
+
content: {
|
|
19929
|
+
"application/json": components["schemas"]["UpdateTaxonomyInput"];
|
|
19930
|
+
};
|
|
19931
|
+
};
|
|
19932
|
+
};
|
|
19933
|
+
/**
|
|
19934
|
+
* ### Required permissions
|
|
19935
|
+
* > []
|
|
19936
|
+
*/
|
|
19937
|
+
DeleteTaxonomy: {
|
|
19938
|
+
parameters: {
|
|
19939
|
+
path: {
|
|
19940
|
+
/** ID of taxonomy */
|
|
19941
|
+
taxonomy_id: string;
|
|
19942
|
+
};
|
|
19943
|
+
};
|
|
19944
|
+
responses: {
|
|
19945
|
+
/** successful operation */
|
|
19946
|
+
200: {
|
|
19947
|
+
content: {
|
|
19948
|
+
"application/json": components["schemas"]["DeleteTaxonomyOutput"];
|
|
19949
|
+
};
|
|
19950
|
+
};
|
|
19951
|
+
};
|
|
19952
|
+
requestBody: {
|
|
19953
|
+
content: {
|
|
19954
|
+
"application/json": components["schemas"]["DeleteTaxonomyInput"];
|
|
19955
|
+
};
|
|
19956
|
+
};
|
|
19957
|
+
};
|
|
19958
|
+
/**
|
|
19959
|
+
* ### Required permissions
|
|
19960
|
+
* > []
|
|
19961
|
+
*/
|
|
19962
|
+
GetTaxonomy: {
|
|
19963
|
+
parameters: {
|
|
19964
|
+
path: {
|
|
19965
|
+
/** ID of taxonomy */
|
|
19966
|
+
taxonomy_id: string;
|
|
19967
|
+
};
|
|
19968
|
+
};
|
|
19969
|
+
responses: {
|
|
19970
|
+
/** successful operation */
|
|
19971
|
+
200: {
|
|
19972
|
+
content: {
|
|
19973
|
+
"application/json": components["schemas"]["GetTaxonomyOutput"];
|
|
19974
|
+
};
|
|
19975
|
+
};
|
|
19976
|
+
};
|
|
19977
|
+
};
|
|
19978
|
+
/**
|
|
19979
|
+
* ### Required permissions
|
|
19980
|
+
* > []
|
|
19981
|
+
*/
|
|
19982
|
+
CreateTaxonomy: {
|
|
19983
|
+
parameters: {};
|
|
19984
|
+
responses: {
|
|
19985
|
+
/** successful operation */
|
|
19986
|
+
200: {
|
|
19987
|
+
content: {
|
|
19988
|
+
"application/json": components["schemas"]["CreateTaxonomyOutput"];
|
|
19989
|
+
};
|
|
19990
|
+
};
|
|
19991
|
+
};
|
|
19992
|
+
requestBody: {
|
|
19993
|
+
content: {
|
|
19994
|
+
"application/json": components["schemas"]["CreateTaxonomyInput"];
|
|
19995
|
+
};
|
|
19996
|
+
};
|
|
19997
|
+
};
|
|
19699
19998
|
}
|
|
19700
19999
|
export interface external {
|
|
19701
20000
|
}
|
package/package.json
CHANGED